{"version":3,"sources":["webpack:///./src/components/certificate/CardHexagon.vue?a367","webpack:///./src/components/certificate/CardHexagon.vue","webpack:///./node_modules/vue3-carousel/dist/carousel.es.js","webpack:///./src/views/crafted/profile/User.vue?f07e","webpack:///./src/views/crafted/profile/User.vue","webpack:///./src/views/crafted/profile/User.vue?df2a","webpack:///./src/components/certificate/CardHexagon.vue?da19"],"names":["_hoisted_1","key","_hoisted_2","_hoisted_3","style","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","props","certificate","type","Object","setup","__props","checkIfImageExists","url","img","Image","src","complete","onload","onerror","_ctx","_cache","_component_router_link","has_certificate","to","name","query","id","validation_id","target","default","alt","class","full_name","_","__exports__","defaultConfigs","itemsToShow","itemsToScroll","modelValue","transition","autoplay","snapAlign","wrapAround","throttle","pauseAutoplayOnHover","mouseDrag","touchDrag","dir","breakpoints","undefined","i18n","ariaNextSlide","ariaPreviousSlide","ariaNavigateToSlide","ariaGallery","itemXofY","iconArrowUp","iconArrowDown","iconArrowRight","iconArrowLeft","carouselProps","Number","Boolean","value","includes","settings","getMaxSlideIndex","config","slidesCount","Math","max","output","ceil","getMinSlideIndex","floor","getNumberInRange","val","min","getSlidesToScroll","currentSlide","getSlidesVNodes","vNode","reduce","acc","node","_a","children","mapNumberToRange","fn","limit","inThrottle","args","self","this","apply","setTimeout","debounce","delay","timerId","clearTimeout","i18nFormatter","string","values","entries","replace","String","IconName","ARIAComponent","assign","Carousel","slots","emit","expose","root","slides","slideWidth","__defaultConfig","currentSlideIndex","prevSlideIndex","middleSlideIndex","maxSlideIndex","minSlideIndex","autoplayTimer","transitionTimer","initDefaultConfigs","bindConfigs","updateBreakpointsConfigs","keys","length","breakpointsArray","map","sort","a","b","newConfig","some","breakpoint","isMatched","window","matchMedia","matches","forEach","handleWindowResize","updateSlideWidth","rect","getBoundingClientRect","width","updateSlidesData","initAutoplay","addEventListener","passive","clearInterval","removeEventListener","isTouch","startPosition","x","y","endPosition","dragged","isHover","isDragging","handleMouseEnter","handleMouseLeave","handleDragStart","event","tagName","preventDefault","button","isSliding","touches","clientX","clientY","document","handleDragging","handleDragEnd","deltaX","deltaY","direction","tolerance","sign","draggedSlides","round","captureClick","e","stopPropagation","slideTo","setInterval","next","resetAutoplay","slideIndex","currentVal","slidingToIndex","mappedNumber","prev","nav","slidesToScroll","trackStyle","xScroll","transform","margin","restartCarousel","prop","data","maxSlide","minSlide","middleSlide","slotSlides","slotAddons","addons","slotsProps","slidesElements","addonsElements","el","index","slidesBefore","isClone","slidesAfter","trackEl","onMousedownCapture","onTouchstartPassiveCapture","viewPortEl","ref","carousel","tabindex","onMouseenter","onMouseleave","icons","arrowUp","arrowDown","arrowRight","arrowLeft","isIconName","candidate","Icon","iconName","iconI18n","charAt","toUpperCase","slice","path","pathEl","d","iconTitle","title","titleEl","viewBox","role","Navigation","attrs","slotNext","slotPrev","isRTL","prevButton","onClick","nextButton","Slide","isActive","isPrev","isNext","isVisible","carousel__slide","call","n","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","href","_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_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","_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_66","_hoisted_67","_hoisted_68","_hoisted_69","_hoisted_70","_hoisted_71","_hoisted_72","_hoisted_73","_hoisted_74","_hoisted_75","_hoisted_76","_hoisted_77","_hoisted_78","_hoisted_79","_hoisted_80","_hoisted_81","_hoisted_82","_hoisted_83","_hoisted_84","_hoisted_85","_hoisted_86","_hoisted_87","_hoisted_88","_hoisted_89","_hoisted_90","_hoisted_91","_hoisted_92","_hoisted_93","_hoisted_94","_hoisted_95","_hoisted_96","_hoisted_97","_hoisted_98","_hoisted_99","_hoisted_100","_hoisted_101","_hoisted_102","_hoisted_103","_hoisted_104","_hoisted_105","_hoisted_106","_hoisted_107","_hoisted_108","_hoisted_109","_hoisted_110","_hoisted_111","_hoisted_112","_hoisted_113","_hoisted_114","_hoisted_115","_hoisted_116","_hoisted_117","_hoisted_118","_hoisted_119","_hoisted_120","_hoisted_121","_hoisted_122","_hoisted_123","_hoisted_124","_hoisted_125","_hoisted_126","_hoisted_127","_hoisted_128","_hoisted_129","_hoisted_130","_hoisted_131","_hoisted_132","_hoisted_133","_hoisted_134","_hoisted_135","_hoisted_136","_hoisted_137","_hoisted_138","_hoisted_139","_hoisted_140","_hoisted_141","_hoisted_142","_hoisted_143","_hoisted_144","_hoisted_145","_hoisted_146","_hoisted_147","_hoisted_148","_hoisted_149","_hoisted_150","_hoisted_151","_hoisted_152","_hoisted_153","_hoisted_154","_hoisted_155","_hoisted_156","_hoisted_157","_hoisted_158","_hoisted_159","_hoisted_160","_hoisted_161","_hoisted_162","_hoisted_163","_hoisted_164","_hoisted_165","_hoisted_166","_hoisted_167","interval","t","store","$route","showAllOwnedTags","currentLanguage","getters","getCurrentLanguage","localStorage","getItem","userPublic","publicUser","tags_owned","tag","owned","total","allPatents","itemCount","currentIndex","intervalTime","idIndex","certificates","loading","newIndex","oldIndex","generateAllPatentsData","language","icon","point_range","Infinity","reverse","updateAllPatents","userPatent","patent","score","patents","range","foundPatent","find","totalMachines","ApiService","get","then","res","count","totalChallenges","dispatch","GET_PUBLIC_USER","params","console","log","getTypeTitle","getTypeDesc","getTypeIcon","formatDate","date","format","newLanguage","_component_inline_svg","$t","avatar","bio","github_url","linkedin_url","CardHexagon","scoreboard_position","total_first_bloods","Date","getTime","machines_completed","challenges_completed","$event","timeline","line","i","item_name","points","created_at"],"mappings":"sOAIMA,EAAa,CAAEC,IAAK,GACpBC,EAAa,CAAC,MAAO,OACrBC,EAAa,CACjBF,IAAK,EACLG,MAAO,CAAC,SAAW,WAAW,QAAU,OAAO,kBAAkB,SAAS,cAAc,WAEpFC,EAAa,CAAC,MAAO,OACrBC,EAAa,CAAEF,MAAO,CAAC,SAAW,WAAW,YAAY,OAAO,MAAQ,UAAU,QAAU,cAC5FG,EAAa,CAAEN,IAAK,GACpBO,EAAa,CAAC,MAAO,OACrBC,EAAa,CACjBR,IAAK,EACLG,MAAO,CAAC,SAAW,WAAW,QAAU,OAAO,kBAAkB,SAAS,cAAc,WAEpFM,EAAa,CAAC,MAAO,OACrBC,EAAc,CAAEP,MAAO,CAAC,SAAW,WAAW,YAAY,OAAO,MAAQ,OAAO,QAAU,cAKpE,+BAAiB,CAC3CQ,MAAO,CACPC,YAAc,CACZC,KAAMC,SAGRC,MAAA,SAAMC,GAER,IAAML,EAAQK,EAIRC,EAAqB,SAACC,GACxB,IAAMC,EAAM,IAAIC,MAGhB,GAFAD,EAAIE,IAAMH,EAENC,EAAIG,SACN,OAAO,EAEPH,EAAII,OAAS,WACX,OAAO,GAGTJ,EAAIK,QAAU,WACZ,OAAO,IAKf,OAAO,SAACC,EAAUC,G,kBACVC,EAAyB,8BAAkB,eAEjD,OAA8C,IAArB,QAAjB,EAAAhB,EAAMC,mBAAW,eAAEgB,kBACtB,yBAAc,gCAAoB,MAAO7B,EAAY,CACpD,yBAAa4B,EAAwB,CACnCE,GAAI,CAACC,KAAM,cAAeC,MAAO,CAAEC,GAAqB,QAAnB,EAAErB,EAAMC,mBAAW,eAAEqB,gBAC1DC,OAAQ,UACP,CACDC,QAAS,sBAAS,W,QAAM,OACrBlB,EAAmB,sBAAsBN,EAAMC,YAAYkB,KAAI,SAC3D,yB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a,UAAW,eAAE7a,OAAQ8a,EAAO9a,MAC/B,yBAAc,gCAAoB,IAAKsY,GAAc,MAAQ,6BAAiB3Y,EAAK6c,GAAM,mBAAOtD,GAAgB,mCAAoC,IACrJ,gCAAoB,IAAI,KAE9B,gCAAoB,OAAQX,GAAc,6BAAiB5Y,EAAK6c,GAAM,mBAAOtD,GAAgB,gCAAkC,KAAO,6BAAiB4B,EAAOL,YAAY,IAAM,MAAQ,6BAAiBK,EAAOL,YAAY,IAAK,SAIvOjC,QAEA,mB,UC5iClB,MAAM,GAA2B,IAAgB,GAAQ,CAAC,CAAC,YAAY,qBAExD,iB,kCCRf,W,2DCAA,W","file":"js/chunk-29343a85.8b8e6e50.js","sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-02f57db4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = [\"src\", \"alt\"]\nconst _hoisted_3 = {\n key: 1,\n style: {\"position\":\"relative\",\"display\":\"flex\",\"justify-content\":\"center\",\"align-items\":\"center\"}\n}\nconst _hoisted_4 = [\"src\", \"alt\"]\nconst _hoisted_5 = { style: {\"position\":\"absolute\",\"font-size\":\"18px\",\"color\":\"#eaeaea\",\"padding\":\"15px 25px\"} }\nconst _hoisted_6 = { key: 1 }\nconst _hoisted_7 = [\"src\", \"alt\"]\nconst _hoisted_8 = {\n key: 1,\n style: {\"position\":\"relative\",\"display\":\"flex\",\"justify-content\":\"center\",\"align-items\":\"center\"}\n}\nconst _hoisted_9 = [\"src\", \"alt\"]\nconst _hoisted_10 = { style: {\"position\":\"absolute\",\"font-size\":\"18px\",\"color\":\"#666\",\"padding\":\"15px 25px\"} }\n\nimport type {CertificateType} from \"@/types/CertificateType\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n certificate: {\n type: Object as () => CertificateType,\n }\n},\n setup(__props) {\n\nconst props = __props\n\n\n\nconst checkIfImageExists = (url)=>{\n const img = new Image();\n img.src = url;\n\n if (img.complete) {\n return true\n } else {\n img.onload = () => {\n return true\n };\n \n img.onerror = () => {\n return false\n };\n }\n }\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (props.certificate?.has_certificate == 1)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_router_link, {\n to: {name: 'certificate', query: { id: props.certificate?.validation_id }},\n target: \"_blank\"\n }, {\n default: _withCtx(() => [\n (checkIfImageExists(`/media/certificate/${props.certificate.name}.png`))\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: `/media/certificate/${props.certificate.name}.png`,\n alt: props.certificate.name,\n class: \"w-110\"\n }, null, 8, _hoisted_2))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"img\", {\n src: `/media/certificate/common.png`,\n alt: props?.certificate?.name,\n class: \"w-110\"\n }, null, 8, _hoisted_4),\n _createElementVNode(\"div\", _hoisted_5, _toDisplayString(props?.certificate?.full_name), 1)\n ]))\n ]),\n _: 1\n }, 8, [\"to\"])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n (checkIfImageExists(`/media/certificate/${props?.certificate?.name}-out.png`))\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: `/media/certificate/${props.certificate?.name}-out.png`,\n alt: props.certificate?.name,\n class: \"w-110\"\n }, null, 8, _hoisted_7))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createElementVNode(\"img\", {\n src: `/media/certificate/common-out.png`,\n alt: props?.certificate?.name,\n class: \"w-110\"\n }, null, 8, _hoisted_9),\n _createElementVNode(\"div\", _hoisted_10, _toDisplayString(props?.certificate?.full_name), 1)\n ]))\n ]))\n}\n}\n\n})","import script from \"./CardHexagon.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CardHexagon.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./CardHexagon.vue?vue&type=style&index=0&id=02f57db4&scoped=true&lang=scss\"\n\nimport exportComponent from \"/codebuild/output/src791094775/src/hackingclub-spa/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-02f57db4\"]])\n\nexport default __exports__","/**\n * Vue 3 Carousel 0.3.1\n * (c) 2023\n * @license MIT\n */\nimport { Fragment, defineComponent, inject, reactive, ref, h, provide, onMounted, nextTick, onUnmounted, computed, watch, cloneVNode } from 'vue';\n\nconst defaultConfigs = {\r\n itemsToShow: 1,\r\n itemsToScroll: 1,\r\n modelValue: 0,\r\n transition: 300,\r\n autoplay: 0,\r\n snapAlign: 'center',\r\n wrapAround: false,\r\n throttle: 16,\r\n pauseAutoplayOnHover: false,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n dir: 'ltr',\r\n breakpoints: undefined,\r\n i18n: {\r\n ariaNextSlide: 'Navigate to next slide',\r\n ariaPreviousSlide: 'Navigate to previous slide',\r\n ariaNavigateToSlide: 'Navigate to slide {slideNumber}',\r\n ariaGallery: 'Gallery',\r\n itemXofY: 'Item {currentSlide} of {slidesCount}',\r\n iconArrowUp: 'Arrow pointing upwards',\r\n iconArrowDown: 'Arrow pointing downwards',\r\n iconArrowRight: 'Arrow pointing to the right',\r\n iconArrowLeft: 'Arrow pointing to the left',\r\n },\r\n};\n\nconst carouselProps = {\r\n // count of items to showed per view\r\n itemsToShow: {\r\n default: defaultConfigs.itemsToShow,\r\n type: Number,\r\n },\r\n // count of items to be scrolled\r\n itemsToScroll: {\r\n default: defaultConfigs.itemsToScroll,\r\n type: Number,\r\n },\r\n // control infinite scrolling mode\r\n wrapAround: {\r\n default: defaultConfigs.wrapAround,\r\n type: Boolean,\r\n },\r\n // control max drag\r\n throttle: {\r\n default: defaultConfigs.throttle,\r\n type: Number,\r\n },\r\n // control snap position alignment\r\n snapAlign: {\r\n default: defaultConfigs.snapAlign,\r\n validator(value) {\r\n // The value must match one of these strings\r\n return ['start', 'end', 'center', 'center-even', 'center-odd'].includes(value);\r\n },\r\n },\r\n // sliding transition time in ms\r\n transition: {\r\n default: defaultConfigs.transition,\r\n type: Number,\r\n },\r\n // an object to store breakpoints\r\n breakpoints: {\r\n default: defaultConfigs.breakpoints,\r\n type: Object,\r\n },\r\n // time to auto advance slides in ms\r\n autoplay: {\r\n default: defaultConfigs.autoplay,\r\n type: Number,\r\n },\r\n // pause autoplay when mouse hover over the carousel\r\n pauseAutoplayOnHover: {\r\n default: defaultConfigs.pauseAutoplayOnHover,\r\n type: Boolean,\r\n },\r\n // slide number number of initial slide\r\n modelValue: {\r\n default: undefined,\r\n type: Number,\r\n },\r\n // toggle mouse dragging.\r\n mouseDrag: {\r\n default: defaultConfigs.mouseDrag,\r\n type: Boolean,\r\n },\r\n // toggle mouse dragging.\r\n touchDrag: {\r\n default: defaultConfigs.touchDrag,\r\n type: Boolean,\r\n },\r\n // control snap position alignment\r\n dir: {\r\n default: defaultConfigs.dir,\r\n validator(value) {\r\n // The value must match one of these strings\r\n return ['rtl', 'ltr'].includes(value);\r\n },\r\n },\r\n // aria-labels and additional text labels\r\n i18n: {\r\n default: defaultConfigs.i18n,\r\n type: Object,\r\n },\r\n // an object to pass all settings\r\n settings: {\r\n default() {\r\n return {};\r\n },\r\n type: Object,\r\n },\r\n};\n\nfunction getMaxSlideIndex({ config, slidesCount }) {\r\n const { snapAlign, wrapAround, itemsToShow = 1 } = config;\r\n if (wrapAround) {\r\n return Math.max(slidesCount - 1, 0);\r\n }\r\n let output;\r\n switch (snapAlign) {\r\n case 'start':\r\n output = slidesCount - itemsToShow;\r\n break;\r\n case 'end':\r\n output = slidesCount - 1;\r\n break;\r\n case 'center':\r\n case 'center-odd':\r\n output = slidesCount - Math.ceil((itemsToShow - 0.5) / 2);\r\n break;\r\n case 'center-even':\r\n output = slidesCount - Math.ceil(itemsToShow / 2);\r\n break;\r\n default:\r\n output = 0;\r\n break;\r\n }\r\n return Math.max(output, 0);\r\n}\n\nfunction getMinSlideIndex({ config, slidesCount }) {\r\n const { wrapAround, snapAlign, itemsToShow = 1 } = config;\r\n let output = 0;\r\n if (wrapAround || itemsToShow > slidesCount) {\r\n return output;\r\n }\r\n switch (snapAlign) {\r\n case 'start':\r\n output = 0;\r\n break;\r\n case 'end':\r\n output = itemsToShow - 1;\r\n break;\r\n case 'center':\r\n case 'center-odd':\r\n output = Math.floor((itemsToShow - 1) / 2);\r\n break;\r\n case 'center-even':\r\n output = Math.floor((itemsToShow - 2) / 2);\r\n break;\r\n default:\r\n output = 0;\r\n break;\r\n }\r\n return output;\r\n}\n\nfunction getNumberInRange({ val, max, min }) {\r\n if (max < min) {\r\n return val;\r\n }\r\n return Math.min(Math.max(val, min), max);\r\n}\n\nfunction getSlidesToScroll({ config, currentSlide, slidesCount }) {\r\n const { snapAlign, wrapAround, itemsToShow = 1 } = config;\r\n let output = currentSlide;\r\n switch (snapAlign) {\r\n case 'center':\r\n case 'center-odd':\r\n output -= (itemsToShow - 1) / 2;\r\n break;\r\n case 'center-even':\r\n output -= (itemsToShow - 2) / 2;\r\n break;\r\n case 'end':\r\n output -= itemsToShow - 1;\r\n break;\r\n }\r\n if (wrapAround) {\r\n return output;\r\n }\r\n return getNumberInRange({\r\n val: output,\r\n max: slidesCount - itemsToShow,\r\n min: 0,\r\n });\r\n}\n\nfunction getSlidesVNodes(vNode) {\r\n if (!vNode)\r\n return [];\r\n return vNode.reduce((acc, node) => {\r\n var _a;\r\n if (node.type === Fragment) {\r\n return [...acc, ...getSlidesVNodes(node.children)];\r\n }\r\n if (((_a = node.type) === null || _a === void 0 ? void 0 : _a.name) === 'CarouselSlide') {\r\n return [...acc, node];\r\n }\r\n return acc;\r\n }, []);\r\n}\n\nfunction mapNumberToRange({ val, max, min = 0 }) {\r\n if (val > max) {\r\n return mapNumberToRange({ val: val - (max + 1), max, min });\r\n }\r\n if (val < min) {\r\n return mapNumberToRange({ val: val + (max + 1), max, min });\r\n }\r\n return val;\r\n}\n\n/**\r\n * return a throttle version of the function\r\n * Throttling\r\n *\r\n */\r\n// eslint-disable-next-line no-unused-vars\r\nfunction throttle(fn, limit) {\r\n let inThrottle;\r\n if (!limit) {\r\n return fn;\r\n }\r\n return function (...args) {\r\n const self = this;\r\n if (!inThrottle) {\r\n fn.apply(self, args);\r\n inThrottle = true;\r\n setTimeout(() => (inThrottle = false), limit);\r\n }\r\n };\r\n}\n\n/**\r\n * return a debounced version of the function\r\n * @param fn\r\n * @param delay\r\n */\r\n// eslint-disable-next-line no-unused-vars\r\nfunction debounce(fn, delay) {\r\n let timerId;\r\n return function (...args) {\r\n if (timerId) {\r\n clearTimeout(timerId);\r\n }\r\n timerId = setTimeout(() => {\r\n fn(...args);\r\n timerId = null;\r\n }, delay);\r\n };\r\n}\n\nfunction i18nFormatter(string = '', values = {}) {\r\n return Object.entries(values).reduce((acc, [key, value]) => acc.replace(`{${key}}`, String(value)), string);\r\n}\n\nvar ARIAComponent = defineComponent({\r\n name: 'ARIA',\r\n setup() {\r\n const config = inject('config', reactive(Object.assign({}, defaultConfigs)));\r\n const currentSlide = inject('currentSlide', ref(0));\r\n const slidesCount = inject('slidesCount', ref(0));\r\n return () => h('div', {\r\n class: ['carousel__liveregion', 'carousel__sr-only'],\r\n 'aria-live': 'polite',\r\n 'aria-atomic': 'true',\r\n }, i18nFormatter(config.i18n['itemXofY'], {\r\n currentSlide: currentSlide.value + 1,\r\n slidesCount: slidesCount.value,\r\n }));\r\n },\r\n});\n\nvar Carousel = defineComponent({\r\n name: 'Carousel',\r\n props: carouselProps,\r\n setup(props, { slots, emit, expose }) {\r\n var _a;\r\n const root = ref(null);\r\n const slides = ref([]);\r\n const slideWidth = ref(0);\r\n const slidesCount = ref(0);\r\n // current config\r\n const config = reactive(Object.assign({}, defaultConfigs));\r\n // default carousel configs\r\n let __defaultConfig = Object.assign({}, defaultConfigs);\r\n // breakpoints configs\r\n let breakpoints;\r\n // slides\r\n const currentSlideIndex = ref((_a = props.modelValue) !== null && _a !== void 0 ? _a : 0);\r\n const prevSlideIndex = ref(0);\r\n const middleSlideIndex = ref(0);\r\n const maxSlideIndex = ref(0);\r\n const minSlideIndex = ref(0);\r\n let autoplayTimer;\r\n let transitionTimer;\r\n provide('config', config);\r\n provide('slidesCount', slidesCount);\r\n provide('currentSlide', currentSlideIndex);\r\n provide('maxSlide', maxSlideIndex);\r\n provide('minSlide', minSlideIndex);\r\n provide('slideWidth', slideWidth);\r\n /**\r\n * Configs\r\n */\r\n function initDefaultConfigs() {\r\n breakpoints = Object.assign({}, props.breakpoints);\r\n __defaultConfig = Object.assign(Object.assign(Object.assign({}, __defaultConfig), props), { i18n: Object.assign(Object.assign({}, __defaultConfig.i18n), props.i18n), breakpoints: undefined });\r\n bindConfigs(__defaultConfig);\r\n }\r\n function updateBreakpointsConfigs() {\r\n if (!breakpoints || !Object.keys(breakpoints).length)\r\n return;\r\n const breakpointsArray = Object.keys(breakpoints)\r\n .map((key) => Number(key))\r\n .sort((a, b) => +b - +a);\r\n let newConfig = Object.assign({}, __defaultConfig);\r\n breakpointsArray.some((breakpoint) => {\r\n const isMatched = window.matchMedia(`(min-width: ${breakpoint}px)`).matches;\r\n if (isMatched) {\r\n newConfig = Object.assign(Object.assign({}, newConfig), breakpoints[breakpoint]);\r\n }\r\n return isMatched;\r\n });\r\n bindConfigs(newConfig);\r\n }\r\n function bindConfigs(newConfig) {\r\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\r\n //@ts-ignore\r\n Object.entries(newConfig).forEach(([key, val]) => (config[key] = val));\r\n }\r\n const handleWindowResize = debounce(() => {\r\n updateBreakpointsConfigs();\r\n updateSlideWidth();\r\n }, 16);\r\n /**\r\n * Setup functions\r\n */\r\n function updateSlideWidth() {\r\n if (!root.value)\r\n return;\r\n const rect = root.value.getBoundingClientRect();\r\n slideWidth.value = rect.width / config.itemsToShow;\r\n }\r\n function updateSlidesData() {\r\n if (slidesCount.value <= 0)\r\n return;\r\n middleSlideIndex.value = Math.ceil((slidesCount.value - 1) / 2);\r\n maxSlideIndex.value = getMaxSlideIndex({ config, slidesCount: slidesCount.value });\r\n minSlideIndex.value = getMinSlideIndex({ config, slidesCount: slidesCount.value });\r\n if (!config.wrapAround) {\r\n currentSlideIndex.value = getNumberInRange({\r\n val: currentSlideIndex.value,\r\n max: maxSlideIndex.value,\r\n min: minSlideIndex.value,\r\n });\r\n }\r\n }\r\n onMounted(() => {\r\n nextTick(() => updateSlideWidth());\r\n // Overcome some edge cases\r\n setTimeout(() => updateSlideWidth(), 1000);\r\n updateBreakpointsConfigs();\r\n initAutoplay();\r\n window.addEventListener('resize', handleWindowResize, { passive: true });\r\n emit('init');\r\n });\r\n onUnmounted(() => {\r\n if (transitionTimer) {\r\n clearTimeout(transitionTimer);\r\n }\r\n if (autoplayTimer) {\r\n clearInterval(autoplayTimer);\r\n }\r\n window.removeEventListener('resize', handleWindowResize, {\r\n passive: true,\r\n });\r\n });\r\n /**\r\n * Carousel Event listeners\r\n */\r\n let isTouch = false;\r\n const startPosition = { x: 0, y: 0 };\r\n const endPosition = { x: 0, y: 0 };\r\n const dragged = reactive({ x: 0, y: 0 });\r\n const isHover = ref(false);\r\n const isDragging = ref(false);\r\n const handleMouseEnter = () => {\r\n isHover.value = true;\r\n };\r\n const handleMouseLeave = () => {\r\n isHover.value = false;\r\n };\r\n function handleDragStart(event) {\r\n if (['INPUT', 'TEXTAREA', 'SELECT'].includes(event.target.tagName)) {\r\n return;\r\n }\r\n isTouch = event.type === 'touchstart';\r\n if (!isTouch) {\r\n event.preventDefault();\r\n }\r\n if ((!isTouch && event.button !== 0) || isSliding.value) {\r\n return;\r\n }\r\n startPosition.x = isTouch ? event.touches[0].clientX : event.clientX;\r\n startPosition.y = isTouch ? event.touches[0].clientY : event.clientY;\r\n document.addEventListener(isTouch ? 'touchmove' : 'mousemove', handleDragging, true);\r\n document.addEventListener(isTouch ? 'touchend' : 'mouseup', handleDragEnd, true);\r\n }\r\n const handleDragging = throttle((event) => {\r\n isDragging.value = true;\r\n endPosition.x = isTouch ? event.touches[0].clientX : event.clientX;\r\n endPosition.y = isTouch ? event.touches[0].clientY : event.clientY;\r\n const deltaX = endPosition.x - startPosition.x;\r\n const deltaY = endPosition.y - startPosition.y;\r\n dragged.y = deltaY;\r\n dragged.x = deltaX;\r\n }, config.throttle);\r\n function handleDragEnd() {\r\n const direction = config.dir === 'rtl' ? -1 : 1;\r\n const tolerance = Math.sign(dragged.x) * 0.4;\r\n const draggedSlides = Math.round(dragged.x / slideWidth.value + tolerance) * direction;\r\n // Prevent clicking if there is clicked slides\r\n if (draggedSlides && !isTouch) {\r\n const captureClick = (e) => {\r\n e.stopPropagation();\r\n window.removeEventListener('click', captureClick, true);\r\n };\r\n window.addEventListener('click', captureClick, true);\r\n }\r\n slideTo(currentSlideIndex.value - draggedSlides);\r\n dragged.x = 0;\r\n dragged.y = 0;\r\n isDragging.value = false;\r\n document.removeEventListener(isTouch ? 'touchmove' : 'mousemove', handleDragging, true);\r\n document.removeEventListener(isTouch ? 'touchend' : 'mouseup', handleDragEnd, true);\r\n }\r\n /**\r\n * Autoplay\r\n */\r\n function initAutoplay() {\r\n if (!config.autoplay || config.autoplay <= 0) {\r\n return;\r\n }\r\n autoplayTimer = setInterval(() => {\r\n if (config.pauseAutoplayOnHover && isHover.value) {\r\n return;\r\n }\r\n next();\r\n }, config.autoplay);\r\n }\r\n function resetAutoplay() {\r\n if (autoplayTimer) {\r\n clearInterval(autoplayTimer);\r\n autoplayTimer = null;\r\n }\r\n initAutoplay();\r\n }\r\n /**\r\n * Navigation function\r\n */\r\n const isSliding = ref(false);\r\n function slideTo(slideIndex) {\r\n const currentVal = config.wrapAround\r\n ? slideIndex\r\n : getNumberInRange({\r\n val: slideIndex,\r\n max: maxSlideIndex.value,\r\n min: minSlideIndex.value,\r\n });\r\n if (currentSlideIndex.value === currentVal || isSliding.value) {\r\n return;\r\n }\r\n emit('slide-start', {\r\n slidingToIndex: slideIndex,\r\n currentSlideIndex: currentSlideIndex.value,\r\n prevSlideIndex: prevSlideIndex.value,\r\n slidesCount: slidesCount.value,\r\n });\r\n isSliding.value = true;\r\n prevSlideIndex.value = currentSlideIndex.value;\r\n currentSlideIndex.value = currentVal;\r\n transitionTimer = setTimeout(() => {\r\n if (config.wrapAround) {\r\n const mappedNumber = mapNumberToRange({\r\n val: currentVal,\r\n max: maxSlideIndex.value,\r\n min: 0,\r\n });\r\n if (mappedNumber !== currentSlideIndex.value) {\r\n currentSlideIndex.value = mappedNumber;\r\n emit('loop', {\r\n currentSlideIndex: currentSlideIndex.value,\r\n slidingToIndex: slideIndex,\r\n });\r\n }\r\n }\r\n emit('update:modelValue', currentSlideIndex.value);\r\n emit('slide-end', {\r\n currentSlideIndex: currentSlideIndex.value,\r\n prevSlideIndex: prevSlideIndex.value,\r\n slidesCount: slidesCount.value,\r\n });\r\n isSliding.value = false;\r\n resetAutoplay();\r\n }, config.transition);\r\n }\r\n function next() {\r\n slideTo(currentSlideIndex.value + config.itemsToScroll);\r\n }\r\n function prev() {\r\n slideTo(currentSlideIndex.value - config.itemsToScroll);\r\n }\r\n const nav = { slideTo, next, prev };\r\n provide('nav', nav);\r\n provide('isSliding', isSliding);\r\n /**\r\n * Track style\r\n */\r\n const slidesToScroll = computed(() => getSlidesToScroll({\r\n config,\r\n currentSlide: currentSlideIndex.value,\r\n slidesCount: slidesCount.value,\r\n }));\r\n provide('slidesToScroll', slidesToScroll);\r\n const trackStyle = computed(() => {\r\n const direction = config.dir === 'rtl' ? -1 : 1;\r\n const xScroll = slidesToScroll.value * slideWidth.value * direction;\r\n return {\r\n transform: `translateX(${dragged.x - xScroll}px)`,\r\n transition: `${isSliding.value ? config.transition : 0}ms`,\r\n margin: config.wrapAround ? `0 -${slidesCount.value * slideWidth.value}px` : '',\r\n width: `100%`,\r\n };\r\n });\r\n function restartCarousel() {\r\n initDefaultConfigs();\r\n updateBreakpointsConfigs();\r\n updateSlidesData();\r\n updateSlideWidth();\r\n resetAutoplay();\r\n }\r\n // Update the carousel on props change\r\n Object.keys(carouselProps).forEach((prop) => {\r\n if (['modelValue'].includes(prop))\r\n return;\r\n watch(() => props[prop], restartCarousel);\r\n });\r\n // Handle changing v-model value\r\n watch(() => props['modelValue'], (val) => {\r\n if (val === currentSlideIndex.value) {\r\n return;\r\n }\r\n slideTo(Number(val));\r\n });\r\n // Handel when slides added/removed\r\n watch(slidesCount, updateSlidesData);\r\n // Init carousel\r\n emit('before-init');\r\n initDefaultConfigs();\r\n const data = {\r\n config,\r\n slidesCount,\r\n slideWidth,\r\n next,\r\n prev,\r\n slideTo,\r\n currentSlide: currentSlideIndex,\r\n maxSlide: maxSlideIndex,\r\n minSlide: minSlideIndex,\r\n middleSlide: middleSlideIndex,\r\n };\r\n expose({\r\n updateBreakpointsConfigs,\r\n updateSlidesData,\r\n updateSlideWidth,\r\n initDefaultConfigs,\r\n restartCarousel,\r\n slideTo,\r\n next,\r\n prev,\r\n nav,\r\n data,\r\n });\r\n const slotSlides = slots.default || slots.slides;\r\n const slotAddons = slots.addons;\r\n const slotsProps = reactive(data);\r\n return () => {\r\n const slidesElements = getSlidesVNodes(slotSlides === null || slotSlides === void 0 ? void 0 : slotSlides(slotsProps));\r\n const addonsElements = (slotAddons === null || slotAddons === void 0 ? void 0 : slotAddons(slotsProps)) || [];\r\n slidesElements.forEach((el, index) => (el.props.index = index));\r\n let output = slidesElements;\r\n if (config.wrapAround) {\r\n const slidesBefore = slidesElements.map((el, index) => cloneVNode(el, {\r\n index: -slidesElements.length + index,\r\n isClone: true,\r\n key: `clone-before-${index}`,\r\n }));\r\n const slidesAfter = slidesElements.map((el, index) => cloneVNode(el, {\r\n index: slidesElements.length + index,\r\n isClone: true,\r\n key: `clone-after-${index}`,\r\n }));\r\n output = [...slidesBefore, ...slidesElements, ...slidesAfter];\r\n }\r\n slides.value = slidesElements;\r\n slidesCount.value = Math.max(slidesElements.length, 1);\r\n const trackEl = h('ol', {\r\n class: 'carousel__track',\r\n style: trackStyle.value,\r\n onMousedownCapture: config.mouseDrag ? handleDragStart : null,\r\n onTouchstartPassiveCapture: config.touchDrag ? handleDragStart : null,\r\n }, output);\r\n const viewPortEl = h('div', { class: 'carousel__viewport' }, trackEl);\r\n return h('section', {\r\n ref: root,\r\n class: {\r\n carousel: true,\r\n 'is-sliding': isSliding.value,\r\n 'is-dragging': isDragging.value,\r\n 'is-hover': isHover.value,\r\n 'carousel--rtl': config.dir === 'rtl',\r\n },\r\n dir: config.dir,\r\n 'aria-label': config.i18n['ariaGallery'],\r\n tabindex: '0',\r\n onMouseenter: handleMouseEnter,\r\n onMouseleave: handleMouseLeave,\r\n }, [viewPortEl, addonsElements, h(ARIAComponent)]);\r\n };\r\n },\r\n});\n\nvar IconName;\r\n(function (IconName) {\r\n IconName[\"arrowUp\"] = \"arrowUp\";\r\n IconName[\"arrowDown\"] = \"arrowDown\";\r\n IconName[\"arrowRight\"] = \"arrowRight\";\r\n IconName[\"arrowLeft\"] = \"arrowLeft\";\r\n})(IconName || (IconName = {}));\r\nconst icons = {\r\n arrowUp: 'M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z',\r\n arrowDown: 'M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z',\r\n arrowRight: 'M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z',\r\n arrowLeft: 'M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z',\r\n};\n\nfunction isIconName(candidate) {\r\n return candidate in IconName;\r\n}\r\nconst Icon = (props) => {\r\n const config = inject('config', reactive(Object.assign({}, defaultConfigs)));\r\n const iconName = String(props.name);\r\n const iconI18n = `icon${iconName.charAt(0).toUpperCase() + iconName.slice(1)}`;\r\n if (!iconName || typeof iconName !== 'string' || !isIconName(iconName)) {\r\n return;\r\n }\r\n const path = icons[iconName];\r\n const pathEl = h('path', { d: path });\r\n const iconTitle = config.i18n[iconI18n] || props.title || iconName;\r\n const titleEl = h('title', iconTitle);\r\n return h('svg', {\r\n class: 'carousel__icon',\r\n viewBox: '0 0 24 24',\r\n role: 'img',\r\n 'aria-label': iconTitle,\r\n }, [titleEl, pathEl]);\r\n};\r\nIcon.props = { name: String, title: String };\n\nconst Navigation = (props, { slots, attrs }) => {\r\n const { next: slotNext, prev: slotPrev } = slots || {};\r\n const config = inject('config', reactive(Object.assign({}, defaultConfigs)));\r\n const maxSlide = inject('maxSlide', ref(1));\r\n const minSlide = inject('minSlide', ref(1));\r\n const currentSlide = inject('currentSlide', ref(1));\r\n const nav = inject('nav', {});\r\n const { dir, wrapAround, i18n } = config;\r\n const isRTL = dir === 'rtl';\r\n const prevButton = h('button', {\r\n type: 'button',\r\n class: [\r\n 'carousel__prev',\r\n !wrapAround && currentSlide.value <= minSlide.value && 'carousel__prev--disabled',\r\n attrs === null || attrs === void 0 ? void 0 : attrs.class,\r\n ],\r\n 'aria-label': i18n['ariaPreviousSlide'],\r\n onClick: nav.prev,\r\n }, (slotPrev === null || slotPrev === void 0 ? void 0 : slotPrev()) || h(Icon, { name: isRTL ? 'arrowRight' : 'arrowLeft' }));\r\n const nextButton = h('button', {\r\n type: 'button',\r\n class: [\r\n 'carousel__next',\r\n !wrapAround && currentSlide.value >= maxSlide.value && 'carousel__next--disabled',\r\n attrs === null || attrs === void 0 ? void 0 : attrs.class,\r\n ],\r\n 'aria-label': i18n['ariaNextSlide'],\r\n onClick: nav.next,\r\n }, (slotNext === null || slotNext === void 0 ? void 0 : slotNext()) || h(Icon, { name: isRTL ? 'arrowLeft' : 'arrowRight' }));\r\n return [prevButton, nextButton];\r\n};\n\nconst Pagination = () => {\r\n const config = inject('config', reactive(Object.assign({}, defaultConfigs)));\r\n const maxSlide = inject('maxSlide', ref(1));\r\n const minSlide = inject('minSlide', ref(1));\r\n const currentSlide = inject('currentSlide', ref(1));\r\n const nav = inject('nav', {});\r\n const isActive = (slide) => mapNumberToRange({\r\n val: currentSlide.value,\r\n max: maxSlide.value,\r\n min: 0,\r\n }) === slide;\r\n const children = [];\r\n for (let slide = minSlide.value; slide < maxSlide.value + 1; slide++) {\r\n const button = h('button', {\r\n type: 'button',\r\n class: {\r\n 'carousel__pagination-button': true,\r\n 'carousel__pagination-button--active': isActive(slide),\r\n },\r\n 'aria-label': i18nFormatter(config.i18n['ariaNavigateToSlide'], {\r\n slideNumber: slide + 1,\r\n }),\r\n onClick: () => nav.slideTo(slide),\r\n });\r\n const item = h('li', { class: 'carousel__pagination-item', key: slide }, button);\r\n children.push(item);\r\n }\r\n return h('ol', { class: 'carousel__pagination' }, children);\r\n};\n\nvar Slide = defineComponent({\r\n name: 'CarouselSlide',\r\n props: {\r\n index: {\r\n type: Number,\r\n default: 1,\r\n },\r\n isClone: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n },\r\n setup(props, { slots }) {\r\n const config = inject('config', reactive(Object.assign({}, defaultConfigs)));\r\n const currentSlide = inject('currentSlide', ref(0));\r\n const slidesToScroll = inject('slidesToScroll', ref(0));\r\n const isSliding = inject('isSliding', ref(false));\r\n const isActive = () => props.index === currentSlide.value;\r\n const isPrev = () => props.index === currentSlide.value - 1;\r\n const isNext = () => props.index === currentSlide.value + 1;\r\n const isVisible = () => {\r\n const min = Math.floor(slidesToScroll.value);\r\n const max = Math.ceil(slidesToScroll.value + config.itemsToShow - 1);\r\n return props.index >= min && props.index <= max;\r\n };\r\n return () => {\r\n var _a;\r\n return h('li', {\r\n style: { width: `${100 / config.itemsToShow}%` },\r\n class: {\r\n carousel__slide: true,\r\n 'carousel__slide--clone': props.isClone,\r\n 'carousel__slide--visible': isVisible(),\r\n 'carousel__slide--active': isActive(),\r\n 'carousel__slide--prev': isPrev(),\r\n 'carousel__slide--next': isNext(),\r\n 'carousel__slide--sliding': isSliding.value,\r\n },\r\n 'aria-hidden': !isVisible(),\r\n }, (_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots));\r\n };\r\n },\r\n});\n\nexport { Carousel, Icon, Navigation, Pagination, Slide };\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, renderList as _renderList, Fragment as _Fragment, withCtx as _withCtx, createBlock as _createBlock, normalizeStyle as _normalizeStyle, isRef as _isRef, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-8f7482f8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"d-flex w-full\"\n}\nconst _hoisted_2 = { class: \"flex-grow-1\" }\nconst _hoisted_3 = { class: \"card bg-gray-100 mb-5 mt-5\" }\nconst _hoisted_4 = { class: \"d-flex flex-row card-body pt-9 pb-0 d-flex justify-content-between\" }\nconst _hoisted_5 = { class: \"d-flex flex-wrap flex-sm-nowrap mb-3 col-md-8\" }\nconst _hoisted_6 = { class: \"me-5 mb-4\" }\nconst _hoisted_7 = { class: \"w-80px flex-shrink-0 me-1\" }\nconst _hoisted_8 = { class: \"symbol symbol-70px symbol-circle me-5\" }\nconst _hoisted_9 = { class: \"symbol-label\" }\nconst _hoisted_10 = [\"src\"]\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"position-absolute translate-middle bottom-0 mb-6 bg-success rounded-circle border border-1 border-white h-10px w-10px\",\n style: {\"margin-left\":\"62px\",\"top\":\"15px\"}\n}, null, -1))\nconst _hoisted_12 = { class: \"flex-grow-1 d-flex justify-content-between align-items-start\" }\nconst _hoisted_13 = { class: \"d-flex justify-content-between align-items-start flex-wrap mb-2\" }\nconst _hoisted_14 = { class: \"d-flex flex-column\" }\nconst _hoisted_15 = { class: \"d-flex align-items-center mb-2\" }\nconst _hoisted_16 = {\n href: \"#\",\n class: \"text-gray-800 text-hover-primary fs-2 fw-bolder me-1\"\n}\nconst _hoisted_17 = {\n key: 0,\n href: \"#\",\n title: \"Membro ativo do Hacking Club!\"\n}\nconst _hoisted_18 = { class: \"svg-icon svg-icon-1 svg-icon-primary\" }\nconst _hoisted_19 = { class: \"d-flex flex-column fw-bold fs-6 mb-4 pe-2 mb-2 me-5\" }\nconst _hoisted_20 = { class: \"d-flex text-gray-500 me-5 mb-2\" }\nconst _hoisted_21 = { class: \"d-flex justify-content-center justify-content-lg-between align-items-start flex-wrap\" }\nconst _hoisted_22 = { class: \"d-flex justify-content-center justify-lg-content-end align-items-end flex-wrap\" }\nconst _hoisted_23 = {\n key: 0,\n class: \"d-flex align-items-end mb-6 cursor-pointer\"\n}\nconst _hoisted_24 = { class: \"w-50px flex-shrink-0 me-1\" }\nconst _hoisted_25 = [\"href\"]\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"symbol symbol-50px symbol-circle me-5\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"symbol-label\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"fs-1 bi bi-github\" })\n ])\n], -1))\nconst _hoisted_27 = [\n _hoisted_26\n]\nconst _hoisted_28 = {\n key: 1,\n class: \"d-flex align-items-end mb-6 cursor-pointer\"\n}\nconst _hoisted_29 = { class: \"w-50px flex-shrink-0 me-1\" }\nconst _hoisted_30 = [\"href\"]\nconst _hoisted_31 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"symbol symbol-50px symbol-circle me-5\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"symbol-label\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"fs-1 bi bi-linkedin\" })\n ])\n], -1))\nconst _hoisted_32 = [\n _hoisted_31\n]\nconst _hoisted_33 = { class: \"d-flex align-items-end mb-2\" }\nconst _hoisted_34 = { class: \"min-w-100px px-2 mb-3\" }\nconst _hoisted_35 = { class: \"text-gray-500\" }\nconst _hoisted_36 = { class: \"fw-bold text-gray-600 text-center\" }\nconst _hoisted_37 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"small\", null, [\n /*#__PURE__*/_createElementVNode(\"i\", {\n class: \"bi bi-info-circle-fill text-info fs-6\",\n title: \"The patent is based on the points you have, the more points you have, the higher your patent.\"\n })\n], -1))\nconst _hoisted_38 = { class: \"fs-6 text-gray-800 fw-bolder d-flex align-items-center flex-column mt-2\" }\nconst _hoisted_39 = [\"src\"]\nconst _hoisted_40 = { class: \"mt-1\" }\nconst _hoisted_41 = { class: \"mb-5\" }\nconst _hoisted_42 = { class: \"d-flex flex-wrap flex-sm-nowrap mr-2\" }\nconst _hoisted_43 = { class: \"col-12\" }\nconst _hoisted_44 = {\n id: \"kt_sliders_widget_1_slider\",\n class: \"card card-flush carousel carousel-custom carousel-stretch slide h-xl-100\",\n \"data-bs-ride\": \"carousel\",\n \"data-bs-interval\": \"10\"\n}\nconst _hoisted_45 = { class: \"px-7 pt-5 pb-1 d-row border-bottom\" }\nconst _hoisted_46 = { class: \"card-title d-flex align-items-start flex-column\" }\nconst _hoisted_47 = { class: \"card-label fw-bolder text-gray-800\" }\nconst _hoisted_48 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-gray-400 mt-1 fw-bolder fs-7\" }, null, -1))\nconst _hoisted_49 = { class: \"carousel__item\" }\nconst _hoisted_50 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"arrow-left control\",\n \"aria-label\": \"Previous image\"\n}, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"circle-left\" }, \"⚪\")\n], -1))\nconst _hoisted_51 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"arrow-right control\",\n \"aria-label\": \"Next Image\"\n}, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"circle-right\" }, \"⚪\")\n], -1))\nconst _hoisted_52 = { class: \"mb-5\" }\nconst _hoisted_53 = { class: \"d-flex flex-wrap col-12 justify-content-between\" }\nconst _hoisted_54 = { class: \"col-12 col-lg-3\" }\nconst _hoisted_55 = { class: \"card bg-gray-100 mt-3 mt-xl-0 p-10 rounded px-7 me-4\" }\nconst _hoisted_56 = { class: \"d-flex align-items-center mb-5\" }\nconst _hoisted_57 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"w-70px flex-shrink-0 me-2\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"symbol symbol-70px symbol-circle me-5 border\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"symbol-label\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"fs-1 bi bi-trophy text-success\" })\n ])\n ])\n], -1))\nconst _hoisted_58 = { class: \"mt-5 justify-content-center\" }\nconst _hoisted_59 = { class: \"fs-2 fw-bolder text-gray-700 mb-3 ms-1\" }\nconst _hoisted_60 = { class: \"mb-1 text-center border-top pt-4\" }\nconst _hoisted_61 = { class: \"fw-normal text-gray-600 mb-3\" }\nconst _hoisted_62 = { class: \"text-gray-400 fs-6\" }\nconst _hoisted_63 = { class: \"col-12 col-lg-3\" }\nconst _hoisted_64 = { class: \"card bg-gray-100 mt-3 mt-xl-0 p-10 rounded px-7 me-4\" }\nconst _hoisted_65 = { class: \"d-flex align-items-center mb-5\" }\nconst _hoisted_66 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"w-70px flex-shrink-0 me-2\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"symbol symbol-70px symbol-circle me-5 border\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"symbol-label\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"fs-1 bi bi-droplet text-danger\" })\n ])\n ])\n], -1))\nconst _hoisted_67 = { class: \"mt-5 justify-content-center\" }\nconst _hoisted_68 = { class: \"fs-2 fw-bolder text-gray-700 mb-3 ms-1\" }\nconst _hoisted_69 = { class: \"mb-1 text-center border-top pt-4\" }\nconst _hoisted_70 = { class: \"fw-normal text-gray-600 mb-3\" }\nconst _hoisted_71 = /*#__PURE__*/_createTextVNode(\" FIRST BLOOD \")\nconst _hoisted_72 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"br\", null, null, -1))\nconst _hoisted_73 = { class: \"text-gray-400 fs-6\" }\nconst _hoisted_74 = { class: \"col-12 col-lg-3\" }\nconst _hoisted_75 = { class: \"card bg-gray-100 mt-3 mt-xl-0 py-2 px-2 rounded me-4\" }\nconst _hoisted_76 = { class: \"d-flex justify-content-center flex-column align-items-center mb-5\" }\nconst _hoisted_77 = { class: \"flex-shrink-0\" }\nconst _hoisted_78 = { class: \"symbol symbol-100px symbol-circle\" }\nconst _hoisted_79 = { class: \"symbol-label\" }\nconst _hoisted_80 = [\"src\"]\nconst _hoisted_81 = { class: \"mt-5 justify-content-center\" }\nconst _hoisted_82 = { class: \"fs-1 fw-bolder text-gray-700 my-3\" }\nconst _hoisted_83 = { class: \"text-center border-top\" }\nconst _hoisted_84 = { class: \"fw-normal text-gray-700 my-3\" }\nconst _hoisted_85 = { class: \"col-12 col-lg-3\" }\nconst _hoisted_86 = { class: \"card bg-gray-100 mt-3 mt-xl-0 py-2 px-2 rounded\" }\nconst _hoisted_87 = { class: \"d-flex justify-content-center flex-column align-items-center mb-5\" }\nconst _hoisted_88 = { class: \"flex-shrink-0\" }\nconst _hoisted_89 = { class: \"symbol symbol-100px symbol-circle\" }\nconst _hoisted_90 = { class: \"symbol-label\" }\nconst _hoisted_91 = [\"src\"]\nconst _hoisted_92 = { class: \"mt-5 justify-content-center\" }\nconst _hoisted_93 = { class: \"fs-1 fw-bolder text-gray-700 my-3\" }\nconst _hoisted_94 = { class: \"text-center border-top\" }\nconst _hoisted_95 = { class: \"fw-normal text-gray-700 my-3\" }\nconst _hoisted_96 = { class: \"mb-5\" }\nconst _hoisted_97 = { class: \"d-flex flex-wrap col-12 justify-content-between\" }\nconst _hoisted_98 = { class: \"col-12 col-lg-12\" }\nconst _hoisted_99 = { class: \"card bg-gray-100 mt-3 mt-xl-0 py-5 px-5 pb-3 rounded\" }\nconst _hoisted_100 = { class: \"px-2 py-2 text-center d-flex items-center justify-content-center\" }\nconst _hoisted_101 = { class: \"fw-normal text-gray-700 my-3 fs-2\" }\nconst _hoisted_102 = { class: \"d-flex justify-content-center flex-column align-items-center mb-5\" }\nconst _hoisted_103 = { class: \"d-flex align-items-center justify-content-between w-100 flex-column mt-3\" }\nconst _hoisted_104 = { class: \"d-flex justify-content-between w-100 mt-auto mb-1\" }\nconst _hoisted_105 = { class: \"fw-semibold fs-6 text-gray-500\" }\nconst _hoisted_106 = {\n key: 0,\n class: \"badge badge-light-warning fw-bold me-auto px-3 py-2 mb-2\"\n}\nconst _hoisted_107 = {\n key: 1,\n class: \"badge badge-light-primary fw-bold me-auto px-3 py-2 mb-2\"\n}\nconst _hoisted_108 = {\n key: 2,\n class: \"badge badge-light-success fw-bold me-auto px-3 py-2 mb-2\"\n}\nconst _hoisted_109 = { class: \"fw-bold fs-7 mt-1 text-white ms-2\" }\nconst _hoisted_110 = {\n key: 0,\n class: \"fw-bold fs-6\"\n}\nconst _hoisted_111 = {\n key: 1,\n class: \"fw-bold fs-6\"\n}\nconst _hoisted_112 = {\n key: 2,\n class: \"fw-bold fs-6\"\n}\nconst _hoisted_113 = { class: \"h-5px mx-3 w-100 bg-light mb-1\" }\nconst _hoisted_114 = { class: \"d-flex justify-content-center flex-column align-items-center mb-5\" }\nconst _hoisted_115 = { class: \"d-flex align-items-center justify-content-between w-100 flex-column mt-3\" }\nconst _hoisted_116 = { class: \"d-flex justify-content-between w-100 mt-auto mb-1\" }\nconst _hoisted_117 = { class: \"fw-semibold fs-6 text-gray-500\" }\nconst _hoisted_118 = {\n key: 0,\n class: \"badge badge-light-warning fw-bold me-auto px-3 py-2 mb-2\"\n}\nconst _hoisted_119 = {\n key: 1,\n class: \"badge badge-light-primary fw-bold me-auto px-3 py-2 mb-2\"\n}\nconst _hoisted_120 = {\n key: 2,\n class: \"badge badge-light-success fw-bold me-auto px-3 py-2 mb-2\"\n}\nconst _hoisted_121 = { class: \"fw-bold fs-7 mt-1 text-white ms-2\" }\nconst _hoisted_122 = {\n key: 0,\n class: \"fw-bold fs-6\"\n}\nconst _hoisted_123 = {\n key: 1,\n class: \"fw-bold fs-6\"\n}\nconst _hoisted_124 = {\n key: 2,\n class: \"fw-bold fs-6\"\n}\nconst _hoisted_125 = { class: \"h-5px mx-3 w-100 bg-light mb-1\" }\nconst _hoisted_126 = { class: \"d-flex items-center justify-content-start text-center\" }\nconst _hoisted_127 = { class: \"justify-content-center\" }\nconst _hoisted_128 = { class: \"row d-flex justify-content-center\" }\nconst _hoisted_129 = { class: \"col-md-12\" }\nconst _hoisted_130 = {\n key: 0,\n class: \"main-card mb-3 bg-gray-100 card px-6\"\n}\nconst _hoisted_131 = { class: \"card-body-time\" }\nconst _hoisted_132 = { class: \"card-title my-4 pb-4 text-gray-600 border-bottom\" }\nconst _hoisted_133 = {\n class: \"vertical-timeline vertical-timeline--animate vertical-timeline--one-column text-gray-700 overflow-auto\",\n style: {\"height\":\"375px\"}\n}\nconst _hoisted_134 = { class: \"px-4 py-5\" }\nconst _hoisted_135 = { class: \"vertical-timeline-element-icon bounce-in\" }\nconst _hoisted_136 = { class: \"symbol symbol-40px symbol-circle mt-2\" }\nconst _hoisted_137 = { class: \"symbol-label-user bg-gray-100\" }\nconst _hoisted_138 = { class: \"vertical-timeline-element-content bounce-in\" }\nconst _hoisted_139 = { class: \"timeline-title text-gray-800 ms-6\" }\nconst _hoisted_140 = { class: \"vertical-timeline-p ms-6\" }\nconst _hoisted_141 = { class: \"text-gray-800 fw-bold\" }\nconst _hoisted_142 = { key: 0 }\nconst _hoisted_143 = { class: \"vertical-timeline-element-date mt-1 text-gray-700\" }\nconst _hoisted_144 = { key: 1 }\nconst _hoisted_145 = { class: \"d-flex justify-content-center items-center text-center\" }\nconst _hoisted_146 = { class: \"fs-4 text-gray-700 mt-10\" }\nconst _hoisted_147 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"br\", null, null, -1))\nconst _hoisted_148 = { class: \"mt-5 mt-5 px-5\" }\nconst _hoisted_149 = {\n class: \"d-lg-flex flex-column flex-lg-row-auto w-lg-325px\",\n \"data-kt-drawer\": \"true\",\n \"data-kt-drawer-name\": \"end-sidebar\",\n \"data-kt-drawer-activate\": \"{default: true, lg: false}\",\n \"data-kt-drawer-overlay\": \"true\",\n \"data-kt-drawer-width\": \"{default:'200px', '250px': '300px'}\",\n \"data-kt-drawer-direction\": \"end\",\n \"data-kt-drawer-toggle\": \"#kt_social_end_sidebar_toggle\"\n}\nconst _hoisted_150 = { class: \"card mb-5 mb-xl-8\" }\nconst _hoisted_151 = { class: \"card-header border-0 pt-5\" }\nconst _hoisted_152 = { class: \"card-title align-items-start flex-column\" }\nconst _hoisted_153 = { class: \"card-label fw-bold text-dark\" }\nconst _hoisted_154 = { class: \"text-muted mt-1 fw-semibold fs-7\" }\nconst _hoisted_155 = { class: \"d-flex flex-stack\" }\nconst _hoisted_156 = { class: \"symbol symbol-40px me-5\" }\nconst _hoisted_157 = [\"src\"]\nconst _hoisted_158 = { class: \"d-flex align-items-center flex-row-fluid flex-wrap\" }\nconst _hoisted_159 = { class: \"flex-grow-1 me-2\" }\nconst _hoisted_160 = { class: \"text-gray-800 text-hover-primary fs-6 fw-bold\" }\nconst _hoisted_161 = {\n key: 0,\n class: \"text-gray-400\"\n}\nconst _hoisted_162 = { class: \"text-muted fw-semibold d-block fs-7\" }\nconst _hoisted_163 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"separator separator-dashed my-1\" }, null, -1))\nconst _hoisted_164 = { key: 1 }\nconst _hoisted_165 = {\n class: \"d-flex justify-content-center\",\n style: {\"height\":\"1024px\"}\n}\nconst _hoisted_166 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"spinner spinner-primary spinner-lg mr-15\" }, null, -1))\nconst _hoisted_167 = { class: \"fs-4 text-gray-700 mt-10\" }\n\nimport {Actions} from \"@/store/enums/StoreEnums\";\nimport {useStore} from \"vuex\";\nimport {computed, ref, onBeforeMount, watch, onMounted, onBeforeUnmount} from \"vue\";\nimport VueApexCharts from \"vue3-apexcharts\";\nimport {useRoute} from \"vue-router\";\nimport moment from \"moment\";\nimport ApiService from \"@/core/services/ApiService\";\nimport { useI18n } from 'vue-i18n';\nimport CardHexagon from \"@/components/certificate/CardHexagon.vue\";\nimport CardHexagonOut from \"@/components/certificate/CardHexagonOut.vue\";\nimport 'vue3-carousel/dist/carousel.css'\nimport { Carousel, Navigation, Slide } from 'vue3-carousel'\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\n\nconst { t } = useI18n();\nconst store = useStore();\nconst $route = useRoute();\nvar showAllOwnedTags = ref(false); // false;\nconst currentLanguage = computed(() => store.getters.getCurrentLanguage || localStorage.getItem('currentLanguage'));\n// const user = computed(() => store.getters.currentUser);\nconst userPublic = computed(() => { \n\n if(store.getters.publicUser.tags_owned){\n store.getters.publicUser.tags_owned.forEach((tag, index) => {\n \n // check if owned is greater than total, if true, set total to owned\n if(tag.owned > tag.total){\n store.getters.publicUser.tags_owned[index].owned = tag.total\n }\n // console.log(tag)\n\n });\n }\n\n return store.getters.publicUser\n} );\n\nvar show_patents = false;\nconst allPatents = ref([]);\nconst itemCount = 2;\nconst currentIndex = ref(1);\nconst intervalTime = 5000;\nlet interval;\nconst idIndex = ref(1);\nconst certificates = computed(() => userPublic.value.certificates);\nconst loading = ref(false);\n\nonMounted(async () => {\n interval = setInterval(() => {\n currentIndex.value = currentIndex.value % itemCount + 1;\n }, intervalTime);\n\n});\nconst setCurrentIndex = (index) => {\n currentIndex.value = index;\n clearInterval(interval);\n interval = setInterval(() => {\n currentIndex.value = currentIndex.value % itemCount + 1;\n }, intervalTime);\n};\n\nwatch(currentIndex, (newIndex, oldIndex) => {\n idIndex.value = newIndex;\n});\n\nconst generateAllPatentsData = (language: string) => {\n return [\n {\n id: 0,\n name: t(`${language}.patents.recruit`),\n icon: 'recruta.png',\n point_range: [0, 1999]\n },\n {\n id: 1,\n name: t(`${language}.patents.soldier`),\n icon: 'soldado.png',\n point_range: [2000, 3999]\n },\n {\n id: 2,\n name: t(`${language}.patents.cable`),\n icon: 'cabo.png',\n point_range: [4000, 5999]\n },\n {\n id: 3,\n name: t(`${language}.patents.3rd_sergeant`),\n icon: '3-sargento.png',\n point_range: [6000, 7999]\n },\n {\n id: 4,\n name: t(`${language}.patents.2rd_sergeant`),\n icon: '2-sargento.png',\n point_range: [8000, 9999]\n },\n {\n id: 5,\n name: t(`${language}.patents.1rd_sergeant`),\n icon: '1-sargento.png',\n point_range: [10000, 11999]\n },\n {\n id: 6,\n name: t(`${language}.patents.warrant_officer`),\n icon: 'subtenente.png',\n point_range: [12000, 13999]\n },\n {\n id: 7,\n name: t(`${language}.patents.aspirant`),\n icon: 'aspirante.png',\n point_range: [14000, 15999]\n },\n {\n id: 8,\n name: t(`${language}.patents.2nd_lieutenant`),\n icon: '2-tenente.png',\n point_range: [16000, 17999]\n },\n {\n id: 9,\n name: t(`${language}.patents.1nd_lieutenant`),\n icon: '1-tenente.png',\n point_range: [18000, 19999]\n },\n {\n id: 10,\n name: t(`${language}.patents.captain`),\n icon: 'capitao.png',\n point_range: [20000, 21999]\n },\n {\n id: 11,\n name: t(`${language}.patents.major`),\n icon: 'major.png',\n point_range: [22000, 23999]\n },\n {\n id: 12,\n name: t(`${language}.patents.lieutenant_colonel`),\n icon: 'tenente-coronel.png',\n point_range: [24000, 25999]\n },\n {\n id: 13,\n name: t(`${language}.patents.colonel`),\n icon: 'coronel.png',\n point_range: [26000, 27999]\n },\n {\n id: 14,\n name: t(`${language}.patents.attack_general`),\n icon: 'general-de-ataque.png',\n point_range: [28000, 29999]\n },\n {\n id: 15,\n name: t(`${language}.patents.stealth_general`),\n icon: 'general-de-furtividade.png',\n point_range: [30000, 31999]\n },\n {\n id: 16,\n name: t(`${language}.patents.general_of_intelligence`),\n icon: 'general-de-inteligencia.png',\n point_range: [32000, 33999]\n },\n {\n id: 17,\n name: t(`${language}.patents.marshal`),\n icon: 'marechal.png',\n point_range: [34000, 39999]\n },\n {\n id: 18,\n name: t(`${language}.patents.supreme_commander`),\n icon: 'supremo-comandante.png',\n point_range: [40000, 49999]\n },\n {\n id: 19,\n name: t(`${language}.patents.grand_marshal`),\n icon: 'grao-marechal.png',\n point_range: [50000, 59999]\n },\n {\n id: 20,\n name: t(`${language}.patents.warlord`),\n icon: 'senhor-da-guerra.png',\n point_range: [60000, 69999]\n },\n {\n id: 21,\n name: t(`${language}.patents.arconte`),\n icon: 'arconte.png',\n point_range: [70000, 79999]\n },\n {\n id: 22,\n name: t(`${language}.patents.supreme_leader`),\n icon: 'lider-supremo.png',\n point_range: [80000, 89999]\n },\n {\n id: 23,\n name: t(`${language}.patents.primordial`),\n icon: 'primordial.png',\n point_range: [90000, 99999]\n },\n {\n id: 24,\n name: t(`${language}.patents.hakai`),\n icon: 'hakai.png',\n point_range: [100000, Infinity]\n }\n ].reverse();\n};\n\nconst updateAllPatents = (language: string) => {\n //@ts-ignore\n allPatents.value = generateAllPatentsData(language);\n};\nupdateAllPatents(currentLanguage.value);\nconst userPatent = computed(() => {\n const patent = {\n name: '',\n icon: ''\n };\n\n if (store.getters.publicUser?.score) {\n const current_value = store.getters.publicUser.score.value;\n\n const patents = [\n { range: [0, 1999], name: 'recruit', icon: 'recruta.png' },\n { range: [2000, 3999], name: 'soldier', icon: 'soldado.png' },\n { range: [4000, 5999], name: 'cable', icon: 'cabo.png' },\n { range: [6000, 7999], name: '3rd_sergeant', icon: '3-sargento.png' },\n { range: [8000, 9999], name: '2rd_sergeant', icon: '2-sargento.png' },\n { range: [10000, 11999], name: '1rd_sergeant', icon: '1-sargento.png' },\n { range: [12000, 13999], name: 'warrant_officer', icon: 'subtenente.png' },\n { range: [14000, 15999], name: 'aspirant', icon: 'aspirante.png' },\n { range: [16000, 17999], name: '2nd_lieutenant', icon: '2-tenente.png' },\n { range: [18000, 19999], name: '1nd_lieutenant', icon: '1-tenente.png' },\n { range: [20000, 21999], name: 'captain', icon: 'capitao.png' },\n { range: [22000, 23999], name: 'major', icon: 'major.png' },\n { range: [24000, 25999], name: 'lieutenant_colonel', icon: 'tenente-coronel.png' },\n { range: [26000, 27999], name: 'colonel', icon: 'coronel.png' },\n { range: [28000, 29999], name: 'attack_general', icon: 'general-de-ataque.png' },\n { range: [30000, 31999], name: 'stealth_general', icon: 'general-de-furtividade.png' },\n { range: [32000, 33999], name: 'general_of_intelligence', icon: 'general-de-inteligencia.png' },\n { range: [34000, 39999], name: 'marshal', icon: 'marechal.png' },\n { range: [40000, 49999], name: 'supreme_commander', icon: 'supremo-comandante.png' },\n { range: [50000, 59999], name: 'grand_marshal', icon: 'grao-marechal.png' },\n { range: [60000, 69999], name: 'warlord', icon: 'senhor-da-guerra.png' },\n { range: [70000, 79999], name: 'arconte', icon: 'arconte.png' },\n { range: [80000, 89999], name: 'supreme_leader', icon: 'lider-supremo.png' },\n { range: [90000, 99999], name: 'primordial', icon: 'primordial.png' },\n { range: [100000, Infinity], name: 'hakai', icon: 'hakai.png' }\n ];\n\n const foundPatent = patents.find(\n ({ range }) => current_value >= range[0] && current_value <= range[1]\n );\n\n if (foundPatent) {\n patent.name = t(`${currentLanguage.value}.patents.${foundPatent.name}`);\n patent.icon = foundPatent.icon;\n } else {\n patent.name = t(`${currentLanguage.value}.patents.recruit`);\n patent.icon = 'recruta.png';\n }\n }\n\n return patent;\n});\n\nconst totalMachines = ref(0);\nApiService.get('labs/count').then((res) => {\n if(res.data){\n totalMachines.value = res.data.count;\n }\n});\n\nconst totalChallenges = ref(0);\nApiService.get('academy/challenges/count').then((res) => {\n if(res.data){\n totalChallenges.value = res.data.data;\n }\n});\n\nonBeforeMount( async () =>{\n clearInterval(interval);\n try{\n loading.value = true;\n await store.dispatch(Actions.GET_PUBLIC_USER, {id: $route.params.id});\n }catch (e) {\n console.log(e);\n }finally{\n loading.value = false;\n }\n});\n\nconst getTypeTitle = (type: string) => {\n return `${type === 'finished_lesson' ? t(`${currentLanguage.value}.profile_public.finished_lesson`)\n : type === 'ownned_challenge' ? t(`${currentLanguage.value}.profile_public.finished_challenge`)\n : t(`${currentLanguage.value}.profile_public.finished_machine`)}`\n};\n\nconst getTypeDesc = (type: string) => {\n return `${type === 'finished_lesson' ? t(`${currentLanguage.value}.profile_public.completed_a_lesson`)\n : type === 'ownned_challenge' ? t(`${currentLanguage.value}.profile_public.completed_a_challenge`)\n : t(`${currentLanguage.value}.profile_public.completed_a_machine`) }`\n};\n\nconst getTypeIcon = (type: string) => {\n return `${type === 'finished_lesson' ? 'bi bi-play-circle-fill text-success' : type === 'ownned_challenge' ? 'bi bi-play-circle-fill text-primary' : 'bi bi-cpu text-danger'}`\n};\nconst formatDate = (date: string) =>{\n return moment(date).format('DD/MM/YY');\n}\n\nwatch(() => currentLanguage.value, (newLanguage) => {\n updateAllPatents(newLanguage);\n});\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_inline_svg = _resolveComponent(\"inline-svg\")!\n\n return (!loading.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"span\", _hoisted_9, [\n _createElementVNode(\"img\", {\n src: _unref(userPublic).avatar,\n class: \"h-75 align-self-center\",\n alt: \"\"\n }, null, 8, _hoisted_10)\n ]),\n _hoisted_11\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"a\", _hoisted_16, _toDisplayString(_unref(userPublic).name), 1),\n (_unref(userPublic).is_premium)\n ? (_openBlock(), _createElementBlock(\"a\", _hoisted_17, [\n _createElementVNode(\"span\", _hoisted_18, [\n _createVNode(_component_inline_svg, { src: \"/media/icons/duotune/general/gen026.svg\" })\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _createElementVNode(\"b\", _hoisted_20, _toDisplayString(_unref(userPublic).bio), 1)\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"div\", _hoisted_22, [\n (_unref(userPublic)?.github_url)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_23, [\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"a\", {\n href: 'https://github.com/'+_unref(userPublic)?.github_url,\n target: \"_blank\"\n }, _hoisted_27, 8, _hoisted_25)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(userPublic)?.linkedin_url)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_28, [\n _createElementVNode(\"div\", _hoisted_29, [\n _createElementVNode(\"a\", {\n href: 'https://www.linkedin.com/in/'+_unref(userPublic)?.linkedin_url,\n target: \"_blank\"\n }, _hoisted_32, 8, _hoisted_30)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_33, [\n _createElementVNode(\"div\", _hoisted_34, [\n _createElementVNode(\"div\", _hoisted_35, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.total_points`)) + \" \" + _toDisplayString(_unref(userPublic)?.score?.value), 1),\n _createElementVNode(\"div\", _hoisted_36, [\n _createTextVNode(_toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.patent`)) + \" / \" + _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.common.level_caps`)) + \" \", 1),\n _hoisted_37\n ]),\n _createElementVNode(\"div\", _hoisted_38, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"img\", {\n src: '/media/logos/badges/'+_unref(userPatent)?.icon,\n class: \"h-45px align-self-center\",\n alt: \"\"\n }, null, 8, _hoisted_39)\n ]),\n _createElementVNode(\"div\", _hoisted_40, _toDisplayString(_unref(userPatent)?.name), 1)\n ])\n ])\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_41, [\n _createElementVNode(\"div\", _hoisted_42, [\n _createElementVNode(\"div\", _hoisted_43, [\n _createElementVNode(\"div\", _hoisted_44, [\n _createElementVNode(\"div\", _hoisted_45, [\n _createElementVNode(\"h4\", _hoisted_46, [\n _createElementVNode(\"span\", _hoisted_47, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.common.certificates`)), 1),\n _hoisted_48\n ])\n ]),\n _createVNode(_unref(Carousel), {\n class: \"py-2\",\n autoplay: 5000,\n \"items-to-show\": 3.4,\n \"wrap-around\": true\n }, {\n addons: _withCtx(() => [\n _hoisted_50,\n _hoisted_51,\n _createVNode(_unref(Navigation))\n ]),\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(certificates), (certificate, name) => {\n return (_openBlock(), _createBlock(_unref(Slide), { key: name }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_49, [\n _createVNode(CardHexagon, { certificate: certificate }, null, 8, [\"certificate\"])\n ])\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"items-to-show\"])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_52, [\n _createElementVNode(\"div\", _hoisted_53, [\n _createElementVNode(\"div\", _hoisted_54, [\n _createElementVNode(\"div\", _hoisted_55, [\n _createElementVNode(\"div\", _hoisted_56, [\n _hoisted_57,\n _createElementVNode(\"div\", _hoisted_58, [\n _createElementVNode(\"h4\", _hoisted_59, \"# \" + _toDisplayString(_unref(userPublic).scoreboard_position), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_60, [\n _createElementVNode(\"h4\", _hoisted_61, [\n _createTextVNode(_toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.COMPETITIVE_RANK`)) + \" \", 1),\n _createElementVNode(\"small\", _hoisted_62, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.this_the_position_championship`)), 1)\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_63, [\n _createElementVNode(\"div\", _hoisted_64, [\n _createElementVNode(\"div\", _hoisted_65, [\n _hoisted_66,\n _createElementVNode(\"div\", _hoisted_67, [\n _createElementVNode(\"h4\", _hoisted_68, \"# \" + _toDisplayString(_unref(userPublic).total_first_bloods), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_69, [\n _createElementVNode(\"h4\", _hoisted_70, [\n _hoisted_71,\n _hoisted_72,\n _createElementVNode(\"small\", _hoisted_73, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.how_many_times_has_this_user_finished_first`)), 1)\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_74, [\n _createElementVNode(\"div\", _hoisted_75, [\n _createElementVNode(\"div\", _hoisted_76, [\n _createElementVNode(\"div\", _hoisted_77, [\n _createElementVNode(\"div\", _hoisted_78, [\n _createElementVNode(\"span\", _hoisted_79, [\n _createElementVNode(\"img\", {\n src: '/media/logos/machines/Rabbit.png?t=' + new Date().getTime(),\n class: \"h-100 align-self-center\",\n alt: \"\"\n }, null, 8, _hoisted_80)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_81, [\n _createElementVNode(\"h4\", _hoisted_82, _toDisplayString(_unref(userPublic).machines_completed) + \"/\" + _toDisplayString(totalMachines.value), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_83, [\n _createElementVNode(\"h4\", _hoisted_84, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.MACHINE_PROGRESS`)), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_85, [\n _createElementVNode(\"div\", _hoisted_86, [\n _createElementVNode(\"div\", _hoisted_87, [\n _createElementVNode(\"div\", _hoisted_88, [\n _createElementVNode(\"div\", _hoisted_89, [\n _createElementVNode(\"span\", _hoisted_90, [\n _createElementVNode(\"img\", {\n src: '/media/logos/machines/challs.png?t=' + new Date().getTime(),\n class: \"h-100 align-self-center\",\n alt: \"\"\n }, null, 8, _hoisted_91)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_92, [\n _createElementVNode(\"h4\", _hoisted_93, _toDisplayString(_unref(userPublic).challenges_completed) + \"/\" + _toDisplayString(totalChallenges.value), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_94, [\n _createElementVNode(\"h4\", _hoisted_95, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.CHALLENGE_PROGRESS`)), 1)\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_96, [\n _createElementVNode(\"div\", _hoisted_97, [\n _createElementVNode(\"div\", _hoisted_98, [\n _createElementVNode(\"div\", _hoisted_99, [\n _createElementVNode(\"div\", _hoisted_100, [\n _createElementVNode(\"h4\", _hoisted_101, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.knowledge_level`)), 1)\n ]),\n (_unref(userPublic).tags_owned.length > 0)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(_unref(userPublic).tags_owned.slice(0,5), (owned) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_102, [\n _createElementVNode(\"div\", _hoisted_103, [\n _createElementVNode(\"div\", _hoisted_104, [\n _createElementVNode(\"span\", _hoisted_105, [\n ((owned.owned /owned.total)*100 <= 33)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_106, _toDisplayString(owned.name), 1))\n : _createCommentVNode(\"\", true),\n ((owned.owned /owned.total)*100 > 33 && (owned.owned /owned.total)*100 <= 66)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_107, _toDisplayString(owned.name), 1))\n : _createCommentVNode(\"\", true),\n ((owned.owned /owned.total)*100 > 66)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_108, _toDisplayString(owned.name), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", _hoisted_109, _toDisplayString(owned.owned + '/' + owned.total), 1)\n ]),\n ((owned.owned /owned.total)*100 <= 33)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_110, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.beginner`)), 1))\n : _createCommentVNode(\"\", true),\n ((owned.owned /owned.total)*100 > 33 && (owned.owned /owned.total)*100 <= 66)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_111, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.mid_level`)), 1))\n : _createCommentVNode(\"\", true),\n ((owned.owned /owned.total)*100 > 66)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_112, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.expert`)), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_113, [\n ((owned.owned /owned.total)*100 <= 33)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"bg-warning rounded h-5px\",\n role: \"progressbar\",\n style: _normalizeStyle('width: ' + (owned.owned ? (owned.owned / owned.total)*100 + '%' : '0%')),\n \"aria-valuenow\": \"50\",\n \"aria-valuemin\": \"0\",\n \"aria-valuemax\": \"100\"\n }, null, 4))\n : _createCommentVNode(\"\", true),\n ((owned.owned /owned.total)*100 > 33 && (owned.owned /owned.total)*100 <= 66)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: \"bg-primary rounded h-5px\",\n role: \"progressbar\",\n style: _normalizeStyle('width: ' + (owned.owned ? (owned.owned / owned.total)*100 + '%' : '0%')),\n \"aria-valuenow\": \"50\",\n \"aria-valuemin\": \"0\",\n \"aria-valuemax\": \"100\"\n }, null, 4))\n : _createCommentVNode(\"\", true),\n ((owned.owned /owned.total)*100 > 66)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 2,\n class: \"bg-success rounded h-5px\",\n role: \"progressbar\",\n style: _normalizeStyle('width: ' + (owned.owned ? (owned.owned / owned.total)*100 + '%' : '0%')),\n \"aria-valuenow\": \"50\",\n \"aria-valuemin\": \"0\",\n \"aria-valuemax\": \"100\"\n }, null, 4))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n }), 256))\n : _createCommentVNode(\"\", true),\n (_unref(userPublic).tags_owned.length > 0 && _unref(showAllOwnedTags))\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 1 }, _renderList(_unref(userPublic).tags_owned.slice(5), (owned) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_114, [\n _createElementVNode(\"div\", _hoisted_115, [\n _createElementVNode(\"div\", _hoisted_116, [\n _createElementVNode(\"span\", _hoisted_117, [\n ((owned.owned /owned.total)*100 <= 33)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_118, _toDisplayString(owned.name), 1))\n : _createCommentVNode(\"\", true),\n ((owned.owned /owned.total)*100 > 33 && (owned.owned /owned.total)*100 <= 66)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_119, _toDisplayString(owned.name), 1))\n : _createCommentVNode(\"\", true),\n ((owned.owned /owned.total)*100 > 66)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_120, _toDisplayString(owned.name), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", _hoisted_121, _toDisplayString(owned.owned + '/' + owned.total), 1)\n ]),\n ((owned.owned /owned.total)*100 <= 33)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_122, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.beginner`)), 1))\n : _createCommentVNode(\"\", true),\n ((owned.owned /owned.total)*100 > 33 && (owned.owned /owned.total)*100 <= 66)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_123, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.mid_level`)), 1))\n : _createCommentVNode(\"\", true),\n ((owned.owned /owned.total)*100 > 66)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_124, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.expert`)), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_125, [\n ((owned.owned /owned.total)*100 <= 33)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"bg-warning rounded h-5px\",\n role: \"progressbar\",\n style: _normalizeStyle('width: ' + (owned.owned ? (owned.owned / owned.total)*100 + '%' : '0%')),\n \"aria-valuenow\": \"50\",\n \"aria-valuemin\": \"0\",\n \"aria-valuemax\": \"100\"\n }, null, 4))\n : _createCommentVNode(\"\", true),\n ((owned.owned /owned.total)*100 > 33 && (owned.owned /owned.total)*100 <= 66)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: \"bg-primary rounded h-5px\",\n role: \"progressbar\",\n style: _normalizeStyle('width: ' + (owned.owned ? (owned.owned / owned.total)*100 + '%' : '0%')),\n \"aria-valuenow\": \"50\",\n \"aria-valuemin\": \"0\",\n \"aria-valuemax\": \"100\"\n }, null, 4))\n : _createCommentVNode(\"\", true),\n ((owned.owned /owned.total)*100 > 66)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 2,\n class: \"bg-success rounded h-5px\",\n role: \"progressbar\",\n style: _normalizeStyle('width: ' + (owned.owned ? (owned.owned / owned.total)*100 + '%' : '0%')),\n \"aria-valuenow\": \"50\",\n \"aria-valuemin\": \"0\",\n \"aria-valuemax\": \"100\"\n }, null, 4))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n }), 256))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_126, [\n _createElementVNode(\"button\", {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_isRef(showAllOwnedTags) //@ts-ignore\n ? showAllOwnedTags.value = !_unref(showAllOwnedTags) : showAllOwnedTags = !_unref(showAllOwnedTags))),\n class: \"col-md-2 btn btn-secondary\"\n }, _toDisplayString(_unref(showAllOwnedTags) ? 'Show only 5' : 'Show all tags'), 1)\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_127, [\n _createElementVNode(\"div\", _hoisted_128, [\n _createElementVNode(\"div\", _hoisted_129, [\n (_unref(userPublic).timeline.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_130, [\n _createElementVNode(\"div\", _hoisted_131, [\n _createElementVNode(\"h5\", _hoisted_132, _toDisplayString(_unref(userPublic).name) + \" - Timeline\", 1),\n _createElementVNode(\"div\", _hoisted_133, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(userPublic).timeline, (line, i) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: i,\n class: \"vertical-timeline-item vertical-timeline-element rounded my-3 bg-hover-lighten\"\n }, [\n _createElementVNode(\"div\", _hoisted_134, [\n _createElementVNode(\"span\", _hoisted_135, [\n _createElementVNode(\"span\", _hoisted_136, [\n _createElementVNode(\"span\", _hoisted_137, [\n _createElementVNode(\"i\", {\n class: _normalizeClass([getTypeIcon(line.type), \"fs-2 mt-1\"])\n }, null, 2)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_138, [\n _createElementVNode(\"h4\", _hoisted_139, _toDisplayString(getTypeTitle(line.type)), 1),\n _createElementVNode(\"p\", _hoisted_140, [\n _createTextVNode(_toDisplayString(_unref(userPublic).name) + \" \", 1),\n _createElementVNode(\"span\", _hoisted_141, _toDisplayString(getTypeDesc(line.type)) + \" \" + _toDisplayString(line.item_name ? line.item_name : line.title), 1),\n (line.item_name)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_142, \" and won \" + _toDisplayString(line.points) + \" points\", 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"span\", _hoisted_143, _toDisplayString(formatDate(line.created_at)), 1)\n ])\n ])\n ]))\n }), 128))\n ])\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_144, [\n _createElementVNode(\"div\", _hoisted_145, [\n _createElementVNode(\"div\", _hoisted_146, [\n _createElementVNode(\"h4\", null, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.not_found_recent_activity_this_user`)), 1),\n _hoisted_147,\n _createElementVNode(\"small\", null, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.this_user_never_solved_challenge_finished_machine_finished_lesson`)), 1)\n ])\n ])\n ]))\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_148, [\n _createElementVNode(\"div\", _hoisted_149, [\n _createElementVNode(\"div\", _hoisted_150, [\n _createElementVNode(\"div\", _hoisted_151, [\n _createElementVNode(\"h3\", _hoisted_152, [\n _createElementVNode(\"span\", _hoisted_153, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.all_available_patents`)), 1),\n _createElementVNode(\"span\", _hoisted_154, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.18_patents_desc`)), 1)\n ])\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(allPatents.value, (patent) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"px-1 py-1 mx-5 mb-1\",\n key: patent.name\n }, [\n _createElementVNode(\"div\", _hoisted_155, [\n _createElementVNode(\"div\", _hoisted_156, [\n _createElementVNode(\"img\", {\n src: '/media/logos/badges/'+patent?.icon,\n class: \"h-50 align-self-center\",\n alt: \"\"\n }, null, 8, _hoisted_157)\n ]),\n _createElementVNode(\"div\", _hoisted_158, [\n _createElementVNode(\"div\", _hoisted_159, [\n _createElementVNode(\"b\", _hoisted_160, [\n _createTextVNode(_toDisplayString(patent.name) + \" \", 1),\n (_unref(userPatent)?.name == patent.name)\n ? (_openBlock(), _createElementBlock(\"b\", _hoisted_161, \" - \" + _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.current_patent`)), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"span\", _hoisted_162, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.profile_public.point_range`)) + \": \" + _toDisplayString(patent.point_range[0]) + \" - \" + _toDisplayString(patent.point_range[1]), 1)\n ])\n ])\n ]),\n _hoisted_163\n ]))\n }), 128))\n ])\n ])\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_164, [\n _createElementVNode(\"div\", _hoisted_165, [\n _hoisted_166,\n _createElementVNode(\"div\", _hoisted_167, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.common.loading`)) + \"...\", 1)\n ])\n ]))\n}\n}\n\n})","import script from \"./User.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./User.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./User.vue?vue&type=style&index=0&id=8f7482f8&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src791094775/src/hackingclub-spa/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-8f7482f8\"]])\n\nexport default __exports__","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./User.vue?vue&type=style&index=0&id=8f7482f8&scoped=true&lang=css\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./CardHexagon.vue?vue&type=style&index=0&id=02f57db4&scoped=true&lang=scss\""],"sourceRoot":""}