@ozdao/prometheus-framework 0.2.41 → 0.2.42

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. package/dist/events.server.js +9 -0
  2. package/dist/events.server.mjs +9 -0
  3. package/dist/files.server.js +4 -1
  4. package/dist/files.server.mjs +4 -1
  5. package/dist/main.css +1 -1
  6. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  7. package/dist/prometheus-framework/src/components/Button/Button.vue.js +2 -225
  8. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  9. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +225 -2
  10. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  11. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +2 -61
  12. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
  13. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +61 -2
  14. package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs +1 -1
  15. package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js +26 -28
  16. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
  17. package/dist/prometheus-framework/src/components/Field/Field.vue.js +2 -76
  18. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  19. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +76 -2
  20. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  21. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -70
  22. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  23. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +70 -2
  24. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  25. package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -95
  26. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  27. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +95 -2
  28. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
  29. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +2 -44
  30. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  31. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +44 -2
  32. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  33. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +3 -3
  34. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  35. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  36. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  37. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +3 -3
  38. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  39. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +3 -3
  40. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  41. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
  42. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  43. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +3 -3
  44. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  45. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +3 -3
  46. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  47. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +3 -3
  48. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +24 -23
  50. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  52. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
  53. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -65
  54. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  55. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +65 -2
  56. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +2 -2
  58. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  60. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  62. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  63. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +125 -81
  64. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +3 -3
  65. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +65 -56
  66. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  67. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
  68. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
  69. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +67 -53
  70. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +2 -2
  71. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +48 -37
  72. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +1 -1
  73. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +71 -57
  74. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  75. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  76. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  77. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +3 -3
  78. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  79. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  80. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  81. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
  82. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
  83. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +1 -1
  84. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  85. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
  86. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
  87. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +2 -2
  88. package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +1 -1
  89. package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +20 -11
  90. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  91. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +2 -2
  92. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  93. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  94. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  95. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +6 -6
  96. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  97. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  98. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  99. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +5 -5
  100. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  101. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  102. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  103. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
  104. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  105. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +1 -1
  106. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  107. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
  108. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
  109. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +1 -1
  110. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  111. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +5 -5
  112. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  113. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  114. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  115. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  116. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  117. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  118. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  119. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  120. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  121. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +22 -19
  122. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  123. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +6 -6
  124. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
  125. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +1 -1
  126. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  128. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  129. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  130. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  131. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +31 -28
  132. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
  134. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
  136. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  137. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  138. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
  140. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  141. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  142. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  143. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +78 -80
  144. package/dist/prometheus-framework.cjs.js +19 -19
  145. package/dist/prometheus-framework.es.js +515 -501
  146. package/dist/style.css +1 -1
  147. package/package.json +1 -1
  148. package/src/modules/wallet/components/pages/Wallet.vue +3 -3
@@ -1,6 +1,6 @@
1
1
  import { ref as f, watch as b, openBlock as a, createElementBlock as l, createElementVNode as p, unref as s, createCommentVNode as o, createVNode as v, createBlock as m } from "vue";
2
2
  import { useRoute as y, useRouter as h } from "vue-router";
3
- import k from "../../../../components/Tab/Tab.vue.js";
3
+ import k from "../../../../components/Tab/Tab.vue2.js";
4
4
  import d from "../../../events/components/sections/Feed.vue.js";
5
5
  import { state as n } from "../../../auth/store/auth.js";
6
6
  const g = { class: "pd-thin" }, w = { class: "mn-b-medium flex-v-center flex-nowrap flex" }, q = /* @__PURE__ */ p("h2", { class: "mn-r-medium" }, " Events ", -1), V = {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../../store/wallet.cjs"),s=require("../../../../../../node_modules/web3/lib/esm/web3.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_config.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_request_manager.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_subscriptions.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_context.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_batch_request.cjs");require("../../../../../../node_modules/web3-types/lib/esm/data_format_types.cjs");require("../../../../../../node_modules/web3-types/lib/esm/eth_types.cjs");require("../../../../../../node_modules/web3-types/lib/esm/web3_base_provider.cjs");require("../../../../../../node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../../../node_modules/web3-eth-iban/lib/esm/iban.cjs");require("../../../../../../node_modules/web3-validator/lib/esm/formats.cjs");require("../../../../../../node_modules/web3-validator/lib/esm/default_validator.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_promi_event.cjs");require("../../../../../../node_modules/setimmediate/setImmediate.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/web3_eth.cjs");require("../../../../../../node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/schemas.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/constants.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs");require("../../../../../../node_modules/web3-eth-contract/lib/esm/contract.cjs");require("../../../../../../node_modules/web3-eth-personal/lib/esm/personal.cjs");require("../../../../../../node_modules/web3-net/lib/esm/net.cjs");require("../../../../../../node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs");require("../../../../../../node_modules/web3-providers-http/lib/esm/index.cjs");require("../../../../../../node_modules/isomorphic-ws/browser.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/wallet.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/account.cjs");require("../../../../../../node_modules/crc-32/crc32.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/common/types.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../../../../node_modules/@ethereumjs/rlp/dist/index.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/types.cjs");require("../../../../../../node_modules/web3-eth-ens/lib/esm/ens.cjs");require("../../../../../../node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../../../../node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../../../../node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");require("vue-router");require("vue-i18n");require("../../../../components/Popup/Popup.vue2.cjs");require("../../../../components/Button/Button.vue2.cjs");require("../../../../components/Select/Select.vue2.cjs");require("../../../reports/store/reports.cjs");require("../../../../components/Dropdown/Dropdown.vue2.cjs");require("../../../auth/store/auth.cjs");require("../../../organizations/store/memberships.cjs");require("../../../community/store/reactions.cjs");require("../../../../components/Chips/Chips.vue2.cjs");const a={class:"pd-big"},i=e.createElementVNode("h1",{class:"mn-b-small"},"Your Wallet",-1),l=e.createElementVNode("p",{class:"mn-b-semi p-big"}," Earn Weeder Token Crypto with buying our weed, use it as money when buying our products or withdraw and trade ",-1),c={class:"mn-b-semi cols-2 gap-thin"},u={key:0,class:"w-100 pd-medium radius-medium t-center bg-grey"},d=e.createElementVNode("h3",{class:"mn-b-small"},"Make first order and start earning Weeder Token",-1),m=e.createElementVNode("button",{class:"mn-l-auto mn-r-auto bg-main button"},"Explore marketplace",-1),p=[d,m],_={key:1,class:"w-100 pd-medium radius-medium bg-grey"},h=e.createElementVNode("p",{class:"h4 mn-b-thin"},"You own:",-1),b={class:"mn-b-small"},q=e.createElementVNode("button",{class:"w-100 bg-main button"},"Get More",-1),g={class:"w-100 bg-black radius-semi pd-medium t-white"},k=e.createElementVNode("p",{class:"h4 mn-b-thin"},"Your Metamask",-1),w={key:0,class:"mn-b-small pd-small br-solid br-1px br-white-transp-10 radius-small"},E={key:1,class:"p-medium t-transp mn-b-small"},y={key:0,class:"w-100 pd-medium radius-medium bg-grey"},N=e.createElementVNode("p",{class:"h4 mn-b-thin"},"You earn:",-1),V={class:"mn-b-small"},f={key:1,class:"mn-b-small"},B={class:"cols-3 gap-thin"},C={class:"radius-medium bg-grey"},W={class:"pd-medium"},v={class:"w-max mn-b-small d-block pd-t-nano pd-b-nano pd-l-thin pd-r-thin bg-main radius-extra t-semi p-small"},x={class:"mn-b-thin"},D={class:"mn-b-small p-small"},S={class:"bg-black t-white radius-extra pd-thin flex-center flex-nowrap flex"},M={class:"t-semi"},R={class:"radius-medium bg-grey"},T={class:"flex-nowrap bg-white flex pd-medium"},Y={class:"t-semi mn-r-auto"},L={class:"pd-t-nano pd-b-nano pd-l-thin pd-r-thin bg-main flex flex-center radius-extra t-semi p-small"},F={class:"pd-medium"},j={class:"mn-b-thin"},G={class:"p-small"},O={__name:"Wallet",setup(P){return window.ethereum.on("accountsChanged",o=>{o.length<1&&(t.state.account=null)}),t.state.web3=new s.Web3(window.ethereum||"http://localhost:8080"),e.onMounted(()=>{t.actions.listRewards(),t.actions.tryReconnectWallet()}),(o,n)=>(e.openBlock(),e.createElementBlock("section",a,[i,l,e.createElementVNode("div",c,[e.unref(t.state).account?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",u,p)),e.unref(t.state).account?(e.openBlock(),e.createElementBlock("div",_,[h,e.createElementVNode("h3",b,e.toDisplayString(e.unref(t.state).share)+"% of Weeder",1),q])):e.createCommentVNode("",!0),e.createElementVNode("div",g,[k,e.unref(t.state).account?(e.openBlock(),e.createElementBlock("div",w,e.toDisplayString(e.unref(t.state).account),1)):e.createCommentVNode("",!0),e.unref(t.state).account?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",E," Connect Metamask to withdrawal your earnings. ")),e.unref(t.state).account?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:2,onClick:n[0]||(n[0]=(...r)=>e.unref(t.actions).connectWallet&&e.unref(t.actions).connectWallet(...r)),class:"w-100 br-solid br-2px br-white t-white button"}," Connect Wallet ")),e.unref(t.state).account?(e.openBlock(),e.createElementBlock("button",{key:3,onClick:n[1]||(n[1]=(...r)=>e.unref(t.actions).disconnectWallet&&e.unref(t.actions).disconnectWallet(...r)),class:"w-100 bg-red button"}," Disconnect Wallet ")):e.createCommentVNode("",!0)])]),e.unref(t.state).account?(e.openBlock(),e.createElementBlock("div",y,[N,e.createElementVNode("h3",V,e.toDisplayString(e.unref(t.state).tokenBalance)+" WDT",1),e.createElementVNode("button",{class:"w-100 bg-main button",onClick:n[2]||(n[2]=(...r)=>e.unref(t.actions).collectRewards&&e.unref(t.actions).collectRewards(...r))},"Withdraw")])):e.createCommentVNode("",!0),e.unref(t.state).rewards.length>0?(e.openBlock(),e.createElementBlock("h3",f,"Latest Rewards ")):e.createCommentVNode("",!0),e.createElementVNode("section",B,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t.state).rewards,r=>(e.openBlock(),e.createElementBlock("div",C,[e.createElementVNode("div",W,[e.createElementVNode("span",v,e.toDisplayString(r.type==="blogpost"?"Community Reward":r.type),1),e.createElementVNode("h4",x,e.toDisplayString(r.name),1),e.createElementVNode("p",D,e.toDisplayString(r.content[0].content),1),e.createElementVNode("div",S,[e.createElementVNode("p",M,e.toDisplayString(r.amount)+" WDT",1)])])]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t.state).rewards,r=>(e.openBlock(),e.createElementBlock("div",R,[e.createElementVNode("div",T,[e.createElementVNode("p",Y,e.toDisplayString(r.amount)+" WDT",1),e.createElementVNode("span",L,e.toDisplayString(r.type==="blogpost"?"Community Reward":r.type),1)]),e.createElementVNode("div",F,[e.createElementVNode("h4",j,e.toDisplayString(r.name),1),e.createElementVNode("p",G,e.toDisplayString(r.content[0].content),1)])]))),256))])]))}};exports.default=O;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../../store/wallet.cjs"),s=require("../../../../../../node_modules/web3/lib/esm/web3.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_config.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_request_manager.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_subscriptions.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_context.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_batch_request.cjs");require("../../../../../../node_modules/web3-types/lib/esm/data_format_types.cjs");require("../../../../../../node_modules/web3-types/lib/esm/eth_types.cjs");require("../../../../../../node_modules/web3-types/lib/esm/web3_base_provider.cjs");require("../../../../../../node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../../../node_modules/web3-eth-iban/lib/esm/iban.cjs");require("../../../../../../node_modules/web3-validator/lib/esm/formats.cjs");require("../../../../../../node_modules/web3-validator/lib/esm/default_validator.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_promi_event.cjs");require("../../../../../../node_modules/setimmediate/setImmediate.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/web3_eth.cjs");require("../../../../../../node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/schemas.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/constants.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs");require("../../../../../../node_modules/web3-eth-contract/lib/esm/contract.cjs");require("../../../../../../node_modules/web3-eth-personal/lib/esm/personal.cjs");require("../../../../../../node_modules/web3-net/lib/esm/net.cjs");require("../../../../../../node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs");require("../../../../../../node_modules/web3-providers-http/lib/esm/index.cjs");require("../../../../../../node_modules/isomorphic-ws/browser.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/wallet.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/account.cjs");require("../../../../../../node_modules/crc-32/crc32.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/common/types.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../../../../node_modules/@ethereumjs/rlp/dist/index.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/types.cjs");require("../../../../../../node_modules/web3-eth-ens/lib/esm/ens.cjs");require("../../../../../../node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../../../../node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../../../../node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");require("vue-router");require("vue-i18n");require("../../../../components/Popup/Popup.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../../components/Select/Select.vue.cjs");require("../../../reports/store/reports.cjs");require("../../../../components/Dropdown/Dropdown.vue2.cjs");require("../../../auth/store/auth.cjs");require("../../../organizations/store/memberships.cjs");require("../../../community/store/reactions.cjs");require("../../../../components/Chips/Chips.vue2.cjs");const a={class:"pd-thin"},l={class:"bg-black t-white mn-b-thin radius-big pd-big"},c=e.createElementVNode("h1",{class:"mn-b-medium"},"Your Wallet",-1),i=e.createElementVNode("p",{class:"mn-b-semi t-transp p-big"}," Earn Weeder Tokens by purchasing our weed or contributing to the community. ",-1),u={key:0,class:"gap-thin flex-nowrap bg-black radius-extra t-white br-solid br-white-transp-10 br-1px flex-v-center flex pd-medium"},d={class:"flex-v-center flex-nowrap flex mn-r-auto"},m=e.createElementVNode("button",{class:"w-max bg-main t-medium button"},"Get More",-1),p={key:0,class:"mn-b-semi cols-2 gap-thin"},b=e.createElementVNode("div",{class:"w-100 pd-medium radius-medium t-center bg-grey"},[e.createElementVNode("h3",{class:"mn-b-small"},"Make first order and start earning Weeder Token"),e.createElementVNode("button",{class:"mn-l-auto mn-r-auto bg-main button"},"Explore marketplace")],-1),_={class:"w-100 pd-medium flex-center flex flex-column radius-medium t-center bg-grey"},h={key:0,class:"mn-b-small"},q={key:1,class:"w-100 mn-b-semi flex-column flex pd-big radius-big bg-main t-black"},k=e.createElementVNode("p",{class:"t-transp t-medium mn-b-thin"},"You own:",-1),f={class:"h1 mn-b-small"},g=e.createElementVNode("p",{class:"t-white p-big t-medium mn-b-semi"},"of all shares",-1),E={class:"flex-v-center mn-b-small flex-nowrap flex pd-small bg-black-transp-5 radius-extra"},w={key:0,class:"t-transp t-medium"},N=e.createElementVNode("span",{class:"uppercase p-small t-medium t-transp"},"Connected Metamask",-1),V=e.createElementVNode("br",null,null,-1),x={key:2,class:"mn-b-small"},y={class:"cols-3 gap-thin"},B={class:"radius-medium bg-grey"},v={class:"flex-nowrap br-b br-black-transp-10 br-solid flex pd-medium"},C={class:"t-semi mn-r-auto"},W={class:"pd-t-nano pd-b-nano pd-l-thin pd-r-thin bg-main flex flex-center radius-extra t-semi p-small"},D={class:"pd-medium"},S={class:"t-regular mn-b-thin"},M={__name:"Wallet",setup(R){return window.ethereum.on("accountsChanged",o=>{o.length<1&&(t.state.account=null)}),t.state.web3=new s.Web3(window.ethereum||"http://localhost:8080"),e.onMounted(()=>{t.actions.listRewards(),t.actions.tryReconnectWallet()}),(o,n)=>(e.openBlock(),e.createElementBlock("section",a,[e.createElementVNode("section",l,[c,i,e.unref(t.state).account?(e.openBlock(),e.createElementBlock("div",u,[e.createElementVNode("div",d,[e.createElementVNode("h2",null,e.toDisplayString(e.unref(t.state).tokenBalance)+" WDT",1)]),m,e.createElementVNode("button",{class:"w-max bg-white t-black t-medium button",onClick:n[0]||(n[0]=(...r)=>e.unref(t.actions).collectRewards&&e.unref(t.actions).collectRewards(...r))},"Withdraw")])):e.createCommentVNode("",!0)]),e.unref(t.state).account?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",p,[b,e.createElementVNode("div",_,[e.unref(t.state).account?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("h3",h," Connect Metamask to withdrawal your earnings. ")),e.unref(t.state).account?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[1]||(n[1]=(...r)=>e.unref(t.actions).connectWallet&&e.unref(t.actions).connectWallet(...r)),class:"br-solid br-2px br-black-transp-10 t-black button"}," Connect Wallet "))])])),e.unref(t.state).account?(e.openBlock(),e.createElementBlock("div",q,[k,e.createElementVNode("p",f,e.toDisplayString(e.unref(t.state).share)+"%",1),g,e.createElementVNode("div",E,[e.unref(t.state).account?(e.openBlock(),e.createElementBlock("p",w,[N,V,e.createElementVNode("span",null,e.toDisplayString(e.unref(t.state).account),1)])):e.createCommentVNode("",!0),e.unref(t.state).account?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[2]||(n[2]=(...r)=>e.unref(t.actions).disconnectWallet&&e.unref(t.actions).disconnectWallet(...r)),class:"mn-l-auto bg-red button"}," Disconnect Wallet ")):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),e.unref(t.state).rewards.length>0?(e.openBlock(),e.createElementBlock("h2",x,"Latest Rewards ")):e.createCommentVNode("",!0),e.createElementVNode("section",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t.state).rewards,r=>(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("div",v,[e.createElementVNode("p",C,e.toDisplayString(r.amount)+" WDT",1),e.createElementVNode("span",W,e.toDisplayString(r.type==="blogpost"?"Community Reward":r.type),1)]),e.createElementVNode("div",D,[e.createElementVNode("h4",S,e.toDisplayString(r.name),1)])]))),256))])]))}};exports.default=M;
@@ -1,6 +1,6 @@
1
- import { onMounted as u, openBlock as i, createElementBlock as n, createElementVNode as t, unref as o, createCommentVNode as a, toDisplayString as r, Fragment as c, renderList as p } from "vue";
2
- import { state as e, actions as m } from "../../store/wallet.js";
3
- import { Web3 as _ } from "../../../../../../node_modules/web3/lib/esm/web3.js";
1
+ import { onMounted as p, openBlock as s, createElementBlock as n, createElementVNode as t, unref as e, toDisplayString as l, createCommentVNode as r, Fragment as d, renderList as u } from "vue";
2
+ import { state as o, actions as a } from "../../store/wallet.js";
3
+ import { Web3 as b } from "../../../../../../node_modules/web3/lib/esm/web3.js";
4
4
  import "../../../../../../node_modules/web3-core/lib/esm/web3_config.js";
5
5
  import "../../../../../../node_modules/web3-core/lib/esm/web3_request_manager.js";
6
6
  import "../../../../../../node_modules/web3-core/lib/esm/web3_subscription_manager.js";
@@ -45,97 +45,95 @@ import "../../../../../../node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.
45
45
  import "../../../../../../node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js";
46
46
  import "vue-router";
47
47
  import "vue-i18n";
48
- import "../../../../components/Popup/Popup.vue2.js";
49
- import "../../../../components/Button/Button.vue2.js";
50
- import "../../../../components/Select/Select.vue2.js";
48
+ import "../../../../components/Popup/Popup.vue.js";
49
+ import "../../../../components/Button/Button.vue.js";
50
+ import "../../../../components/Select/Select.vue.js";
51
51
  import "../../../reports/store/reports.js";
52
52
  import "../../../../components/Dropdown/Dropdown.vue2.js";
53
53
  import "../../../auth/store/auth.js";
54
54
  import "../../../organizations/store/memberships.js";
55
55
  import "../../../community/store/reactions.js";
56
56
  import "../../../../components/Chips/Chips.vue2.js";
57
- const h = { class: "pd-big" }, b = /* @__PURE__ */ t("h1", { class: "mn-b-small" }, "Your Wallet", -1), w = /* @__PURE__ */ t("p", { class: "mn-b-semi p-big" }, " Earn Weeder Token Crypto with buying our weed, use it as money when buying our products or withdraw and trade ", -1), g = { class: "mn-b-semi cols-2 gap-thin" }, y = {
57
+ const h = { class: "pd-thin" }, _ = { class: "bg-black t-white mn-b-thin radius-big pd-big" }, g = /* @__PURE__ */ t("h1", { class: "mn-b-medium" }, "Your Wallet", -1), w = /* @__PURE__ */ t("p", { class: "mn-b-semi t-transp p-big" }, " Earn Weeder Tokens by purchasing our weed or contributing to the community. ", -1), k = {
58
58
  key: 0,
59
- class: "w-100 pd-medium radius-medium t-center bg-grey"
60
- }, k = /* @__PURE__ */ t("h3", { class: "mn-b-small" }, "Make first order and start earning Weeder Token", -1), W = /* @__PURE__ */ t("button", { class: "mn-l-auto mn-r-auto bg-main button" }, "Explore marketplace", -1), f = [
61
- k,
62
- W
63
- ], x = {
64
- key: 1,
65
- class: "w-100 pd-medium radius-medium bg-grey"
66
- }, v = /* @__PURE__ */ t("p", { class: "h4 mn-b-thin" }, "You own:", -1), C = { class: "mn-b-small" }, R = /* @__PURE__ */ t("button", { class: "w-100 bg-main button" }, "Get More", -1), D = { class: "w-100 bg-black radius-semi pd-medium t-white" }, M = /* @__PURE__ */ t("p", { class: "h4 mn-b-thin" }, "Your Metamask", -1), T = {
59
+ class: "gap-thin flex-nowrap bg-black radius-extra t-white br-solid br-white-transp-10 br-1px flex-v-center flex pd-medium"
60
+ }, x = { class: "flex-v-center flex-nowrap flex mn-r-auto" }, f = /* @__PURE__ */ t("button", { class: "w-max bg-main t-medium button" }, "Get More", -1), y = {
67
61
  key: 0,
68
- class: "mn-b-small pd-small br-solid br-1px br-white-transp-10 radius-small"
69
- }, E = {
70
- key: 1,
71
- class: "p-medium t-transp mn-b-small"
72
- }, Y = {
62
+ class: "mn-b-semi cols-2 gap-thin"
63
+ }, W = /* @__PURE__ */ t("div", { class: "w-100 pd-medium radius-medium t-center bg-grey" }, [
64
+ /* @__PURE__ */ t("h3", { class: "mn-b-small" }, "Make first order and start earning Weeder Token"),
65
+ /* @__PURE__ */ t("button", { class: "mn-l-auto mn-r-auto bg-main button" }, "Explore marketplace")
66
+ ], -1), v = { class: "w-100 pd-medium flex-center flex flex-column radius-medium t-center bg-grey" }, C = {
73
67
  key: 0,
74
- class: "w-100 pd-medium radius-medium bg-grey"
75
- }, B = /* @__PURE__ */ t("p", { class: "h4 mn-b-thin" }, "You earn:", -1), L = { class: "mn-b-small" }, N = {
68
+ class: "mn-b-small"
69
+ }, R = {
76
70
  key: 1,
71
+ class: "w-100 mn-b-semi flex-column flex pd-big radius-big bg-main t-black"
72
+ }, M = /* @__PURE__ */ t("p", { class: "t-transp t-medium mn-b-thin" }, "You own:", -1), D = { class: "h1 mn-b-small" }, E = /* @__PURE__ */ t("p", { class: "t-white p-big t-medium mn-b-semi" }, "of all shares", -1), T = { class: "flex-v-center mn-b-small flex-nowrap flex pd-small bg-black-transp-5 radius-extra" }, B = {
73
+ key: 0,
74
+ class: "t-transp t-medium"
75
+ }, L = /* @__PURE__ */ t("span", { class: "uppercase p-small t-medium t-transp" }, "Connected Metamask", -1), N = /* @__PURE__ */ t("br", null, null, -1), V = {
76
+ key: 2,
77
77
  class: "mn-b-small"
78
- }, V = { class: "cols-3 gap-thin" }, F = { class: "radius-medium bg-grey" }, G = { class: "pd-medium" }, S = { class: "w-max mn-b-small d-block pd-t-nano pd-b-nano pd-l-thin pd-r-thin bg-main radius-extra t-semi p-small" }, j = { class: "mn-b-thin" }, q = { class: "mn-b-small p-small" }, z = { class: "bg-black t-white radius-extra pd-thin flex-center flex-nowrap flex" }, A = { class: "t-semi" }, H = { class: "radius-medium bg-grey" }, I = { class: "flex-nowrap bg-white flex pd-medium" }, J = { class: "t-semi mn-r-auto" }, K = { class: "pd-t-nano pd-b-nano pd-l-thin pd-r-thin bg-main flex flex-center radius-extra t-semi p-small" }, O = { class: "pd-medium" }, P = { class: "mn-b-thin" }, Q = { class: "p-small" }, $t = {
78
+ }, Y = { class: "cols-3 gap-thin" }, F = { class: "radius-medium bg-grey" }, G = { class: "flex-nowrap br-b br-black-transp-10 br-solid flex pd-medium" }, S = { class: "t-semi mn-r-auto" }, j = { class: "pd-t-nano pd-b-nano pd-l-thin pd-r-thin bg-main flex flex-center radius-extra t-semi p-small" }, q = { class: "pd-medium" }, z = { class: "t-regular mn-b-thin" }, Jt = {
79
79
  __name: "Wallet",
80
- setup(U) {
81
- return window.ethereum.on("accountsChanged", (d) => {
82
- d.length < 1 && (e.account = null);
83
- }), e.web3 = new _(window.ethereum || "http://localhost:8080"), u(() => {
84
- m.listRewards(), m.tryReconnectWallet();
85
- }), (d, l) => (i(), n("section", h, [
86
- b,
87
- w,
88
- t("div", g, [
89
- o(e).account ? a("", !0) : (i(), n("div", y, f)),
90
- o(e).account ? (i(), n("div", x, [
91
- v,
92
- t("h3", C, r(o(e).share) + "% of Weeder", 1),
93
- R
94
- ])) : a("", !0),
95
- t("div", D, [
96
- M,
97
- o(e).account ? (i(), n("div", T, r(o(e).account), 1)) : a("", !0),
98
- o(e).account ? a("", !0) : (i(), n("p", E, " Connect Metamask to withdrawal your earnings. ")),
99
- o(e).account ? a("", !0) : (i(), n("button", {
100
- key: 2,
101
- onClick: l[0] || (l[0] = (...s) => o(m).connectWallet && o(m).connectWallet(...s)),
102
- class: "w-100 br-solid br-2px br-white t-white button"
103
- }, " Connect Wallet ")),
104
- o(e).account ? (i(), n("button", {
105
- key: 3,
106
- onClick: l[1] || (l[1] = (...s) => o(m).disconnectWallet && o(m).disconnectWallet(...s)),
107
- class: "w-100 bg-red button"
108
- }, " Disconnect Wallet ")) : a("", !0)
109
- ])
80
+ setup(A) {
81
+ return window.ethereum.on("accountsChanged", (c) => {
82
+ c.length < 1 && (o.account = null);
83
+ }), o.web3 = new b(window.ethereum || "http://localhost:8080"), p(() => {
84
+ a.listRewards(), a.tryReconnectWallet();
85
+ }), (c, m) => (s(), n("section", h, [
86
+ t("section", _, [
87
+ g,
88
+ w,
89
+ e(o).account ? (s(), n("div", k, [
90
+ t("div", x, [
91
+ t("h2", null, l(e(o).tokenBalance) + " WDT", 1)
92
+ ]),
93
+ f,
94
+ t("button", {
95
+ class: "w-max bg-white t-black t-medium button",
96
+ onClick: m[0] || (m[0] = (...i) => e(a).collectRewards && e(a).collectRewards(...i))
97
+ }, "Withdraw")
98
+ ])) : r("", !0)
110
99
  ]),
111
- o(e).account ? (i(), n("div", Y, [
112
- B,
113
- t("h3", L, r(o(e).tokenBalance) + " WDT", 1),
114
- t("button", {
115
- class: "w-100 bg-main button",
116
- onClick: l[2] || (l[2] = (...s) => o(m).collectRewards && o(m).collectRewards(...s))
117
- }, "Withdraw")
118
- ])) : a("", !0),
119
- o(e).rewards.length > 0 ? (i(), n("h3", N, "Latest Rewards ")) : a("", !0),
120
- t("section", V, [
121
- (i(!0), n(c, null, p(o(e).rewards, (s) => (i(), n("div", F, [
100
+ e(o).account ? r("", !0) : (s(), n("div", y, [
101
+ W,
102
+ t("div", v, [
103
+ e(o).account ? r("", !0) : (s(), n("h3", C, " Connect Metamask to withdrawal your earnings. ")),
104
+ e(o).account ? r("", !0) : (s(), n("button", {
105
+ key: 1,
106
+ onClick: m[1] || (m[1] = (...i) => e(a).connectWallet && e(a).connectWallet(...i)),
107
+ class: "br-solid br-2px br-black-transp-10 t-black button"
108
+ }, " Connect Wallet "))
109
+ ])
110
+ ])),
111
+ e(o).account ? (s(), n("div", R, [
112
+ M,
113
+ t("p", D, l(e(o).share) + "%", 1),
114
+ E,
115
+ t("div", T, [
116
+ e(o).account ? (s(), n("p", B, [
117
+ L,
118
+ N,
119
+ t("span", null, l(e(o).account), 1)
120
+ ])) : r("", !0),
121
+ e(o).account ? (s(), n("button", {
122
+ key: 1,
123
+ onClick: m[2] || (m[2] = (...i) => e(a).disconnectWallet && e(a).disconnectWallet(...i)),
124
+ class: "mn-l-auto bg-red button"
125
+ }, " Disconnect Wallet ")) : r("", !0)
126
+ ])
127
+ ])) : r("", !0),
128
+ e(o).rewards.length > 0 ? (s(), n("h2", V, "Latest Rewards ")) : r("", !0),
129
+ t("section", Y, [
130
+ (s(!0), n(d, null, u(e(o).rewards, (i) => (s(), n("div", F, [
122
131
  t("div", G, [
123
- t("span", S, r(s.type === "blogpost" ? "Community Reward" : s.type), 1),
124
- t("h4", j, r(s.name), 1),
125
- t("p", q, r(s.content[0].content), 1),
126
- t("div", z, [
127
- t("p", A, r(s.amount) + " WDT", 1)
128
- ])
129
- ])
130
- ]))), 256)),
131
- (i(!0), n(c, null, p(o(e).rewards, (s) => (i(), n("div", H, [
132
- t("div", I, [
133
- t("p", J, r(s.amount) + " WDT", 1),
134
- t("span", K, r(s.type === "blogpost" ? "Community Reward" : s.type), 1)
132
+ t("p", S, l(i.amount) + " WDT", 1),
133
+ t("span", j, l(i.type === "blogpost" ? "Community Reward" : i.type), 1)
135
134
  ]),
136
- t("div", O, [
137
- t("h4", P, r(s.name), 1),
138
- t("p", Q, r(s.content[0].content), 1)
135
+ t("div", q, [
136
+ t("h4", z, l(i.name), 1)
139
137
  ])
140
138
  ]))), 256))
141
139
  ])
@@ -143,5 +141,5 @@ const h = { class: "pd-big" }, b = /* @__PURE__ */ t("h1", { class: "mn-b-small"
143
141
  }
144
142
  };
145
143
  export {
146
- $t as default
144
+ Jt as default
147
145
  };