From 9bf6a09be27baa21d7336655b63c867be112d2d0 Mon Sep 17 00:00:00 2001 From: davi Date: Thu, 13 Feb 2025 05:02:53 -0300 Subject: [PATCH 1/4] =?UTF-8?q?Fix(pop=20up):=20Corrigindo=20o=20pop=20up?= =?UTF-8?q?=20de=20dele=C3=A7=C3=A3o=20de=20itens?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- API/AcheiUnB/static/dist/.vite/manifest.json | 13 ++-- .../dist/assets/default-avatar-BpcudYYH.png | Bin 0 -> 29266 bytes .../assets/found-and-lost-box-BB3OpleO.jpg | Bin 12549 -> 0 bytes .../assets/found-and-lost-box-BIV9dkbR.jpg | Bin 0 -> 14443 bytes .../static/dist/assets/index-C9VhPuY6.css | 1 - .../static/dist/assets/index-CZ44oVY3.css | 1 + .../static/dist/assets/index-Dslx85AU.css | 1 - API/AcheiUnB/static/dist/index.html | 4 +- API/AcheiUnB/static/dist/js/index-BB4p2H0C.js | 26 ------- API/AcheiUnB/static/dist/js/index-BnoWY_TY.js | 26 ------- API/AcheiUnB/static/dist/js/index-ojFJwcWh.js | 26 +++++++ API/celerybeat-schedule | Bin 16384 -> 16384 bytes web/src/assets/icons/found-and-lost-box.jpg | Bin 12549 -> 14443 bytes web/src/components/Empty-State.vue | 35 +++++++-- web/src/components/Item-Card.vue | 68 ++++++++++++------ web/src/views/Found.vue | 2 +- web/src/views/Lost.vue | 2 +- 17 files changed, 115 insertions(+), 90 deletions(-) create mode 100644 API/AcheiUnB/static/dist/assets/default-avatar-BpcudYYH.png delete mode 100644 API/AcheiUnB/static/dist/assets/found-and-lost-box-BB3OpleO.jpg create mode 100644 API/AcheiUnB/static/dist/assets/found-and-lost-box-BIV9dkbR.jpg delete mode 100644 API/AcheiUnB/static/dist/assets/index-C9VhPuY6.css create mode 100644 API/AcheiUnB/static/dist/assets/index-CZ44oVY3.css delete mode 100644 API/AcheiUnB/static/dist/assets/index-Dslx85AU.css delete mode 100644 API/AcheiUnB/static/dist/js/index-BB4p2H0C.js delete mode 100644 API/AcheiUnB/static/dist/js/index-BnoWY_TY.js create mode 100644 API/AcheiUnB/static/dist/js/index-ojFJwcWh.js diff --git a/API/AcheiUnB/static/dist/.vite/manifest.json b/API/AcheiUnB/static/dist/.vite/manifest.json index a3421f77..8d2be910 100644 --- a/API/AcheiUnB/static/dist/.vite/manifest.json +++ b/API/AcheiUnB/static/dist/.vite/manifest.json @@ -1,15 +1,16 @@ { "index.html": { - "file": "js/index-BnoWY_TY.js", + "file": "js/index-ojFJwcWh.js", "name": "index", "src": "index.html", "isEntry": true, "css": [ - "assets/index-C9VhPuY6.css" + "assets/index-CZ44oVY3.css" ], "assets": [ "assets/Favicon-DZaE_dAz.png", - "assets/found-and-lost-box-BB3OpleO.jpg" + "assets/found-and-lost-box-BIV9dkbR.jpg", + "assets/default-avatar-BpcudYYH.png" ] }, "src/assets/icons/Favicon.png": { @@ -17,7 +18,11 @@ "src": "src/assets/icons/Favicon.png" }, "src/assets/icons/found-and-lost-box.jpg": { - "file": "assets/found-and-lost-box-BB3OpleO.jpg", + "file": "assets/found-and-lost-box-BIV9dkbR.jpg", "src": "src/assets/icons/found-and-lost-box.jpg" + }, + "src/assets/images/default-avatar.png": { + "file": "assets/default-avatar-BpcudYYH.png", + "src": "src/assets/images/default-avatar.png" } } \ No newline at end of file diff --git a/API/AcheiUnB/static/dist/assets/default-avatar-BpcudYYH.png b/API/AcheiUnB/static/dist/assets/default-avatar-BpcudYYH.png new file mode 100644 index 0000000000000000000000000000000000000000..40d1718c74676bf67b17200233cac34f86053c79 GIT binary patch literal 29266 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

04TgyPSyU4UO3J)81 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 A(*OVf literal 0 HcmV?d00001 diff --git a/API/AcheiUnB/static/dist/assets/index-C9VhPuY6.css b/API/AcheiUnB/static/dist/assets/index-C9VhPuY6.css deleted file mode 100644 index 0a1a928f..00000000 --- a/API/AcheiUnB/static/dist/assets/index-C9VhPuY6.css +++ /dev/null @@ -1 +0,0 @@ -body{font-family:Inter,sans-serif}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.bottom-2{bottom:.5rem}.bottom-28{bottom:7rem}.bottom-32{bottom:8rem}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.left-3{left:.75rem}.right-0{right:0}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-4{top:1rem}.top-6{top:1.5rem}.z-0{z-index:0}.z-10{z-index:10}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.z-\[-1\]{z-index:-1}.z-\[1\]{z-index:1}.col-span-2{grid-column:span 2 / span 2}.col-span-3{grid-column:span 3 / span 3}.col-span-4{grid-column:span 4 / span 4}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-4{margin-bottom:1rem}.mb-7{margin-bottom:1.75rem}.ml-24{margin-left:6rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.ml-8{margin-left:2rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-8{margin-right:2rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.mt-52{margin-top:13rem}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.size-10{width:2.5rem;height:2.5rem}.size-6{width:1.5rem;height:1.5rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-24{height:6rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-\[100px\]{height:100px}.h-\[120px\]{height:120px}.h-\[15px\]{height:15px}.h-\[230px\]{height:230px}.h-\[2px\]{height:2px}.h-\[30px\]{height:30px}.h-full{height:100%}.max-h-full{max-height:100%}.min-h-screen{min-height:100vh}.w-1\/4{width:25%}.w-10{width:2.5rem}.w-12{width:3rem}.w-2{width:.5rem}.w-24{width:6rem}.w-40{width:10rem}.w-5{width:1.25rem}.w-60{width:15rem}.w-64{width:16rem}.w-\[100px\]{width:100px}.w-\[15px\]{width:15px}.w-\[170px\]{width:170px}.w-\[30px\]{width:30px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-72{max-width:18rem}.max-w-full{max-width:100%}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness: mandatory}.snap-start{scroll-snap-align:start}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\[repeat\(auto-fit\,_minmax\(180px\,_1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-x-9{-moz-column-gap:2.25rem;column-gap:2.25rem}.gap-y-3{row-gap:.75rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b-xl{border-bottom-right-radius:.75rem;border-bottom-left-radius:.75rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-r-4{border-right-width:4px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity, 1))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity, 1))}.border-laranja{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.bg-azul{--tw-bg-opacity: 1;background-color:rgb(19 62 120 / var(--tw-bg-opacity, 1))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-cinza1{--tw-bg-opacity: 1;background-color:rgb(234 234 234 / var(--tw-bg-opacity, 1))}.bg-cinza2{--tw-bg-opacity: 1;background-color:rgb(217 217 217 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity, 1))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity, 1))}.bg-laranja{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity, 1))}.bg-verde{--tw-bg-opacity: 1;background-color:rgb(0 137 64 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\/30{background-color:#ffffff4d}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.bg-cover{background-size:cover}.bg-center{background-position:center}.bg-no-repeat{background-repeat:no-repeat}.fill-current{fill:currentColor}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\[120px\]{padding-top:120px;padding-bottom:120px}.pb-10{padding-bottom:2.5rem}.pb-24{padding-bottom:6rem}.pb-8{padding-bottom:2rem}.pb-\[140px\]{padding-bottom:140px}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.pt-10{padding-top:2.5rem}.pt-24{padding-top:6rem}.pt-8{padding-top:2rem}.pt-\[120px\]{padding-top:120px}.pt-\[30px\]{padding-top:30px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-tight{line-height:1.25}.text-azul{--tw-text-opacity: 1;color:rgb(19 62 120 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-cinza3{--tw-text-opacity: 1;color:rgb(136 153 168 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-laranja{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.no-underline{text-decoration-line:none}.placeholder-gray-500::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-500::placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.opacity-10{opacity:.1}.opacity-50{opacity:.5}.shadow-complete{--tw-shadow: 0 0 3px 1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 0 3px 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-gray-500\/10{--tw-ring-color: rgb(107 114 128 / .1)}.\!filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:bg-laranja:hover{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\:text-laranja:hover{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.focus\:border-laranja:focus{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.focus\:border-transparent:focus{border-color:transparent}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.active\:border-laranja:active{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.active\:bg-laranja:active{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.group:hover .group-hover\:w-full{width:100%}.group:hover .group-hover\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (min-width: 640px){.sm\:w-\[190px\]{width:190px}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-\[repeat\(auto-fit\,_minmax\(200px\,_1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.sm\:justify-center{justify-content:center}.sm\:px-0{padding-left:0;padding-right:0}}@media (min-width: 768px){.md\:mb-52{margin-bottom:13rem}.md\:mr-8{margin-right:2rem}.md\:mt-0{margin-top:0}.md\:flex{display:flex}.md\:grid{display:grid}.md\:hidden{display:none}.md\:w-1\/2{width:50%}.md\:w-\[70\%\]{width:70%}.md\:w-auto{width:auto}.md\:max-w-2xl{max-width:42rem}.md\:max-w-4xl{max-width:56rem}.md\:max-w-none{max-width:none}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:justify-center{justify-content:center}.md\:gap-8{gap:2rem}.md\:p-6{padding:1.5rem}.md\:pr-4{padding-right:1rem}.md\:text-center{text-align:center}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-6xl{font-size:3.75rem;line-height:1}.md\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 1024px){.lg\:mt-6{margin-top:1.5rem}.lg\:h-24{height:6rem}.lg\:h-32{height:8rem}.lg\:w-32{width:8rem}.lg\:w-\[40\%\]{width:40%}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.lg\:px-3{padding-left:.75rem;padding-right:.75rem}.lg\:pt-16{padding-top:4rem}.lg\:pt-\[50px\]{padding-top:50px}.lg\:text-3xl{font-size:1.875rem;line-height:2.25rem}.lg\:text-lg{font-size:1.125rem;line-height:1.75rem}.lg\:text-xl{font-size:1.25rem;line-height:1.75rem}}.fade-out[data-v-cdb7a9e0]{animation:fadeOut-cdb7a9e0 1s forwards}@keyframes fadeOut-cdb7a9e0{0%{opacity:1}to{opacity:0}}.fade-in[data-v-cdb7a9e0]{animation:fadeIn-cdb7a9e0 1s forwards}@keyframes fadeIn-cdb7a9e0{0%{opacity:0}to{opacity:1}} diff --git a/API/AcheiUnB/static/dist/assets/index-CZ44oVY3.css b/API/AcheiUnB/static/dist/assets/index-CZ44oVY3.css new file mode 100644 index 00000000..d2b42255 --- /dev/null +++ b/API/AcheiUnB/static/dist/assets/index-CZ44oVY3.css @@ -0,0 +1 @@ +body{font-family:Inter,sans-serif}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.bottom-2{bottom:.5rem}.bottom-28{bottom:7rem}.bottom-32{bottom:8rem}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.left-3{left:.75rem}.right-0{right:0}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-4{top:1rem}.top-6{top:1.5rem}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.z-\[-1\]{z-index:-1}.z-\[1\]{z-index:1}.col-span-2{grid-column:span 2 / span 2}.col-span-3{grid-column:span 3 / span 3}.col-span-4{grid-column:span 4 / span 4}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-4{margin-bottom:1rem}.mb-7{margin-bottom:1.75rem}.ml-2{margin-left:.5rem}.ml-24{margin-left:6rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.ml-6{margin-left:1.5rem}.ml-8{margin-left:2rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-8{margin-right:2rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.mt-52{margin-top:13rem}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.size-10{width:2.5rem;height:2.5rem}.size-6{width:1.5rem;height:1.5rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-24{height:6rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-96{height:24rem}.h-\[100px\]{height:100px}.h-\[120px\]{height:120px}.h-\[15px\]{height:15px}.h-\[230px\]{height:230px}.h-\[2px\]{height:2px}.h-\[30px\]{height:30px}.h-\[60px\]{height:60px}.h-\[90px\]{height:90px}.h-full{height:100%}.h-screen{height:100vh}.max-h-full{max-height:100%}.min-h-screen{min-height:100vh}.w-1\/4{width:25%}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-24{width:6rem}.w-40{width:10rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-\[100px\]{width:100px}.w-\[15px\]{width:15px}.w-\[170px\]{width:170px}.w-\[30px\]{width:30px}.w-\[60px\]{width:60px}.w-\[90px\]{width:90px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-72{max-width:18rem}.max-w-\[120px\]{max-width:120px}.max-w-\[70\%\]{max-width:70%}.max-w-full{max-width:100%}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness: mandatory}.snap-start{scroll-snap-align:start}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\[repeat\(auto-fit\,_minmax\(180px\,_1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-x-9{-moz-column-gap:2.25rem;column-gap:2.25rem}.gap-y-3{row-gap:.75rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b-xl{border-bottom-right-radius:.75rem;border-bottom-left-radius:.75rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-r-4{border-right-width:4px}.border-t{border-top-width:1px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity, 1))}.border-laranja{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.bg-azul{--tw-bg-opacity: 1;background-color:rgb(19 62 120 / var(--tw-bg-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-cinza1{--tw-bg-opacity: 1;background-color:rgb(234 234 234 / var(--tw-bg-opacity, 1))}.bg-cinza2{--tw-bg-opacity: 1;background-color:rgb(217 217 217 / var(--tw-bg-opacity, 1))}.bg-cinza3{--tw-bg-opacity: 1;background-color:rgb(136 153 168 / var(--tw-bg-opacity, 1))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity, 1))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity, 1))}.bg-laranja{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-verde{--tw-bg-opacity: 1;background-color:rgb(0 137 64 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\/30{background-color:#ffffff4d}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.bg-opacity-50{--tw-bg-opacity: .5}.bg-cover{background-size:cover}.bg-center{background-position:center}.bg-no-repeat{background-repeat:no-repeat}.fill-current{fill:currentColor}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-\[120px\]{padding-top:120px;padding-bottom:120px}.pb-10{padding-bottom:2.5rem}.pb-24{padding-bottom:6rem}.pb-8{padding-bottom:2rem}.pb-\[140px\]{padding-bottom:140px}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.pt-10{padding-top:2.5rem}.pt-24{padding-top:6rem}.pt-32{padding-top:8rem}.pt-8{padding-top:2rem}.pt-\[120px\]{padding-top:120px}.pt-\[30px\]{padding-top:30px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-tight{line-height:1.25}.text-azul{--tw-text-opacity: 1;color:rgb(19 62 120 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-cinza3{--tw-text-opacity: 1;color:rgb(136 153 168 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-laranja{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.no-underline{text-decoration-line:none}.placeholder-gray-500::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-500::placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.opacity-10{opacity:.1}.opacity-20{opacity:.2}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.shadow-complete{--tw-shadow: 0 0 3px 1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 0 3px 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-gray-500\/10{--tw-ring-color: rgb(107 114 128 / .1)}.\!filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:bg-cinza1:hover{--tw-bg-opacity: 1;background-color:rgb(234 234 234 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.hover\:bg-laranja:hover{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\:text-laranja:hover{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.focus\:border-laranja:focus{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.focus\:border-transparent:focus{border-color:transparent}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.active\:border-laranja:active{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.active\:bg-laranja:active{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:w-full{width:100%}.group:hover .group-hover\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (min-width: 640px){.sm\:h-\[80px\]{height:80px}.sm\:w-\[190px\]{width:190px}.sm\:w-\[80px\]{width:80px}.sm\:w-auto{width:auto}.sm\:max-w-md{max-width:28rem}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-\[repeat\(auto-fit\,_minmax\(200px\,_1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.sm\:flex-row{flex-direction:row}.sm\:justify-center{justify-content:center}.sm\:px-0{padding-left:0;padding-right:0}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 768px){.md\:absolute{position:absolute}.md\:left-1\/2{left:50%}.md\:mb-52{margin-bottom:13rem}.md\:mr-8{margin-right:2rem}.md\:mt-0{margin-top:0}.md\:flex{display:flex}.md\:grid{display:grid}.md\:hidden{display:none}.md\:h-12{height:3rem}.md\:h-20{height:5rem}.md\:h-8{height:2rem}.md\:w-1\/2{width:50%}.md\:w-12{width:3rem}.md\:w-20{width:5rem}.md\:w-64{width:16rem}.md\:w-8{width:2rem}.md\:w-\[70\%\]{width:70%}.md\:w-auto{width:auto}.md\:max-w-2xl{max-width:42rem}.md\:max-w-4xl{max-width:56rem}.md\:max-w-\[200px\]{max-width:200px}.md\:max-w-none{max-width:none}.md\:-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\:transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:justify-center{justify-content:center}.md\:gap-8{gap:2rem}.md\:p-6{padding:1.5rem}.md\:pr-4{padding-right:1rem}.md\:text-center{text-align:center}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-6xl{font-size:3.75rem;line-height:1}.md\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 1024px){.lg\:mt-6{margin-top:1.5rem}.lg\:h-24{height:6rem}.lg\:h-32{height:8rem}.lg\:w-32{width:8rem}.lg\:w-80{width:20rem}.lg\:w-\[40\%\]{width:40%}.lg\:max-w-lg{max-width:32rem}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.lg\:px-3{padding-left:.75rem;padding-right:.75rem}.lg\:pt-16{padding-top:4rem}.lg\:pt-\[50px\]{padding-top:50px}.lg\:text-3xl{font-size:1.875rem;line-height:2.25rem}.lg\:text-lg{font-size:1.125rem;line-height:1.75rem}.lg\:text-xl{font-size:1.25rem;line-height:1.75rem}}.fade-out[data-v-cdb7a9e0]{animation:fadeOut-cdb7a9e0 1s forwards}@keyframes fadeOut-cdb7a9e0{0%{opacity:1}to{opacity:0}}.fade-in[data-v-cdb7a9e0]{animation:fadeIn-cdb7a9e0 1s forwards}@keyframes fadeIn-cdb7a9e0{0%{opacity:0}to{opacity:1}}@keyframes pulse-73de17b8{0%{opacity:1}50%{opacity:.4}to{opacity:1}}.animate-pulse[data-v-73de17b8]{animation:pulse-73de17b8 1.5s infinite} diff --git a/API/AcheiUnB/static/dist/assets/index-Dslx85AU.css b/API/AcheiUnB/static/dist/assets/index-Dslx85AU.css deleted file mode 100644 index 5a40d9a4..00000000 --- a/API/AcheiUnB/static/dist/assets/index-Dslx85AU.css +++ /dev/null @@ -1 +0,0 @@ -body{font-family:Inter,sans-serif}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.bottom-2{bottom:.5rem}.bottom-28{bottom:7rem}.bottom-32{bottom:8rem}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.left-3{left:.75rem}.right-0{right:0}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-4{top:1rem}.top-6{top:1.5rem}.z-0{z-index:0}.z-10{z-index:10}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.z-\[-1\]{z-index:-1}.z-\[1\]{z-index:1}.col-span-2{grid-column:span 2 / span 2}.col-span-3{grid-column:span 3 / span 3}.col-span-4{grid-column:span 4 / span 4}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-4{margin-bottom:1rem}.mb-7{margin-bottom:1.75rem}.ml-24{margin-left:6rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.ml-8{margin-left:2rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-8{margin-right:2rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.mt-52{margin-top:13rem}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.size-10{width:2.5rem;height:2.5rem}.size-6{width:1.5rem;height:1.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-24{height:6rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-\[100px\]{height:100px}.h-\[120px\]{height:120px}.h-\[15px\]{height:15px}.h-\[230px\]{height:230px}.h-\[2px\]{height:2px}.h-\[30px\]{height:30px}.h-full{height:100%}.max-h-full{max-height:100%}.min-h-screen{min-height:100vh}.w-1\/4{width:25%}.w-10{width:2.5rem}.w-12{width:3rem}.w-2{width:.5rem}.w-24{width:6rem}.w-5{width:1.25rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-\[100px\]{width:100px}.w-\[15px\]{width:15px}.w-\[170px\]{width:170px}.w-\[30px\]{width:30px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-72{max-width:18rem}.max-w-full{max-width:100%}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness: mandatory}.snap-start{scroll-snap-align:start}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\[repeat\(auto-fit\,_minmax\(180px\,_1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-x-9{-moz-column-gap:2.25rem;column-gap:2.25rem}.gap-y-3{row-gap:.75rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b-xl{border-bottom-right-radius:.75rem;border-bottom-left-radius:.75rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-r-4{border-right-width:4px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity, 1))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity, 1))}.border-laranja{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.bg-azul{--tw-bg-opacity: 1;background-color:rgb(19 62 120 / var(--tw-bg-opacity, 1))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-cinza1{--tw-bg-opacity: 1;background-color:rgb(234 234 234 / var(--tw-bg-opacity, 1))}.bg-cinza2{--tw-bg-opacity: 1;background-color:rgb(217 217 217 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity, 1))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity, 1))}.bg-laranja{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-verde{--tw-bg-opacity: 1;background-color:rgb(0 137 64 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\/30{background-color:#ffffff4d}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.bg-cover{background-size:cover}.bg-center{background-position:center}.bg-no-repeat{background-repeat:no-repeat}.fill-current{fill:currentColor}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\[120px\]{padding-top:120px;padding-bottom:120px}.pb-10{padding-bottom:2.5rem}.pb-24{padding-bottom:6rem}.pb-8{padding-bottom:2rem}.pb-\[140px\]{padding-bottom:140px}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.pt-10{padding-top:2.5rem}.pt-24{padding-top:6rem}.pt-8{padding-top:2rem}.pt-\[120px\]{padding-top:120px}.pt-\[30px\]{padding-top:30px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-tight{line-height:1.25}.text-azul{--tw-text-opacity: 1;color:rgb(19 62 120 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-cinza3{--tw-text-opacity: 1;color:rgb(136 153 168 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-laranja{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.no-underline{text-decoration-line:none}.placeholder-gray-500::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-500::placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.opacity-10{opacity:.1}.opacity-50{opacity:.5}.shadow-complete{--tw-shadow: 0 0 3px 1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 0 3px 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-gray-500\/10{--tw-ring-color: rgb(107 114 128 / .1)}.\!filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.hover\:bg-laranja:hover{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\:text-laranja:hover{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.focus\:border-laranja:focus{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.focus\:border-transparent:focus{border-color:transparent}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.active\:border-laranja:active{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.active\:bg-laranja:active{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.group:hover .group-hover\:w-full{width:100%}.group:hover .group-hover\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (min-width: 640px){.sm\:w-\[190px\]{width:190px}.sm\:w-auto{width:auto}.sm\:max-w-md{max-width:28rem}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-\[repeat\(auto-fit\,_minmax\(200px\,_1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.sm\:flex-row{flex-direction:row}.sm\:justify-center{justify-content:center}.sm\:px-0{padding-left:0;padding-right:0}}@media (min-width: 768px){.md\:mb-52{margin-bottom:13rem}.md\:mr-8{margin-right:2rem}.md\:mt-0{margin-top:0}.md\:flex{display:flex}.md\:grid{display:grid}.md\:hidden{display:none}.md\:w-1\/2{width:50%}.md\:w-\[70\%\]{width:70%}.md\:w-auto{width:auto}.md\:max-w-2xl{max-width:42rem}.md\:max-w-4xl{max-width:56rem}.md\:max-w-none{max-width:none}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:justify-center{justify-content:center}.md\:gap-8{gap:2rem}.md\:p-6{padding:1.5rem}.md\:pr-4{padding-right:1rem}.md\:text-center{text-align:center}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-6xl{font-size:3.75rem;line-height:1}.md\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 1024px){.lg\:mt-6{margin-top:1.5rem}.lg\:h-24{height:6rem}.lg\:h-32{height:8rem}.lg\:w-32{width:8rem}.lg\:w-\[40\%\]{width:40%}.lg\:max-w-lg{max-width:32rem}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.lg\:px-3{padding-left:.75rem;padding-right:.75rem}.lg\:pt-16{padding-top:4rem}.lg\:pt-\[50px\]{padding-top:50px}.lg\:text-3xl{font-size:1.875rem;line-height:2.25rem}.lg\:text-lg{font-size:1.125rem;line-height:1.75rem}.lg\:text-xl{font-size:1.25rem;line-height:1.75rem}}.fade-out[data-v-cdb7a9e0]{animation:fadeOut-cdb7a9e0 1s forwards}@keyframes fadeOut-cdb7a9e0{0%{opacity:1}to{opacity:0}}.fade-in[data-v-cdb7a9e0]{animation:fadeIn-cdb7a9e0 1s forwards}@keyframes fadeIn-cdb7a9e0{0%{opacity:0}to{opacity:1}} diff --git a/API/AcheiUnB/static/dist/index.html b/API/AcheiUnB/static/dist/index.html index cccd7517..60a1fc6a 100644 --- a/API/AcheiUnB/static/dist/index.html +++ b/API/AcheiUnB/static/dist/index.html @@ -5,8 +5,8 @@ AcheiUnB - - + +

diff --git a/API/AcheiUnB/static/dist/js/index-BB4p2H0C.js b/API/AcheiUnB/static/dist/js/index-BB4p2H0C.js deleted file mode 100644 index fd2c8a3d..00000000 --- a/API/AcheiUnB/static/dist/js/index-BB4p2H0C.js +++ /dev/null @@ -1,26 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** -* @vue/shared v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function wr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ce={},tn=[],ft=()=>{},sa=()=>!1,ms=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Er=e=>e.startsWith("onUpdate:"),Ce=Object.assign,Sr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ra=Object.prototype.hasOwnProperty,se=(e,t)=>ra.call(e,t),H=Array.isArray,nn=e=>Dn(e)==="[object Map]",gs=e=>Dn(e)==="[object Set]",Jr=e=>Dn(e)==="[object Date]",K=e=>typeof e=="function",ve=e=>typeof e=="string",dt=e=>typeof e=="symbol",de=e=>e!==null&&typeof e=="object",ai=e=>(de(e)||K(e))&&K(e.then)&&K(e.catch),ci=Object.prototype.toString,Dn=e=>ci.call(e),oa=e=>Dn(e).slice(8,-1),ui=e=>Dn(e)==="[object Object]",Cr=e=>ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,vn=wr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),bs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ia=/-(\w)/g,Qe=bs(e=>e.replace(ia,(t,n)=>n?n.toUpperCase():"")),la=/\B([A-Z])/g,Qt=bs(e=>e.replace(la,"-$1").toLowerCase()),xs=bs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Fs=bs(e=>e?`on${xs(e)}`:""),It=(e,t)=>!Object.is(e,t),Jn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ss=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Zr;const ys=()=>Zr||(Zr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function $n(e){if(H(e)){const t={};for(let n=0;n{if(n){const s=n.split(ca);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Z(e){let t="";if(ve(e))t=e;else if(H(e))for(let n=0;nvs(n,t))}const pi=e=>!!(e&&e.__v_isRef===!0),ee=e=>ve(e)?e:e==null?"":H(e)||de(e)&&(e.toString===ci||!K(e.toString))?pi(e)?ee(e.value):JSON.stringify(e,hi,2):String(e),hi=(e,t)=>pi(t)?hi(e,t.value):nn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Bs(s,o)+" =>"]=r,n),{})}:gs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Bs(n))}:dt(t)?Bs(t):de(t)&&!H(t)&&!ui(t)?String(t):t,Bs=(e,t="")=>{var n;return dt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let ze;class ga{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ze,!t&&ze&&(this.index=(ze.scopes||(ze.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(wn){let t=wn;for(wn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;_n;){let t=_n;for(_n=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function xi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function yi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),kr(s),xa(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function nr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(vi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function vi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===kn))return;e.globalVersion=kn;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!nr(e)){e.flags&=-3;return}const n=fe,s=Ye;fe=e,Ye=!0;try{xi(e);const r=e.fn(e._value);(t.version===0||It(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{fe=n,Ye=s,yi(e),e.flags&=-3}}function kr(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)kr(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function xa(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ye=!0;const _i=[];function Mt(){_i.push(Ye),Ye=!1}function Lt(){const e=_i.pop();Ye=e===void 0?!0:e}function Xr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=fe;fe=void 0;try{t()}finally{fe=n}}}let kn=0;class ya{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Tr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!fe||!Ye||fe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==fe)n=this.activeLink=new ya(fe,this),fe.deps?(n.prevDep=fe.depsTail,fe.depsTail.nextDep=n,fe.depsTail=n):fe.deps=fe.depsTail=n,wi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=fe.depsTail,n.nextDep=void 0,fe.depsTail.nextDep=n,fe.depsTail=n,fe.deps===n&&(fe.deps=s)}return n}trigger(t){this.version++,kn++,this.notify(t)}notify(t){Ar();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Rr()}}}function wi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)wi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const sr=new WeakMap,zt=Symbol(""),rr=Symbol(""),Tn=Symbol("");function ke(e,t,n){if(Ye&&fe){let s=sr.get(e);s||sr.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Tr),r.map=s,r.key=n),r.track()}}function xt(e,t,n,s,r,o){const i=sr.get(e);if(!i){kn++;return}const l=c=>{c&&c.trigger()};if(Ar(),t==="clear")i.forEach(l);else{const c=H(e),a=c&&Cr(n);if(c&&n==="length"){const u=Number(s);i.forEach((d,g)=>{(g==="length"||g===Tn||!dt(g)&&g>=u)&&l(d)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),a&&l(i.get(Tn)),t){case"add":c?a&&l(i.get("length")):(l(i.get(zt)),nn(e)&&l(i.get(rr)));break;case"delete":c||(l(i.get(zt)),nn(e)&&l(i.get(rr)));break;case"set":nn(e)&&l(i.get(zt));break}}Rr()}function Xt(e){const t=ne(e);return t===e?t:(ke(t,"iterate",Tn),We(e)?t:t.map(Te))}function _s(e){return ke(e=ne(e),"iterate",Tn),e}const va={__proto__:null,[Symbol.iterator](){return Us(this,Symbol.iterator,Te)},concat(...e){return Xt(this).concat(...e.map(t=>H(t)?Xt(t):t))},entries(){return Us(this,"entries",e=>(e[1]=Te(e[1]),e))},every(e,t){return mt(this,"every",e,t,void 0,arguments)},filter(e,t){return mt(this,"filter",e,t,n=>n.map(Te),arguments)},find(e,t){return mt(this,"find",e,t,Te,arguments)},findIndex(e,t){return mt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return mt(this,"findLast",e,t,Te,arguments)},findLastIndex(e,t){return mt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return mt(this,"forEach",e,t,void 0,arguments)},includes(...e){return zs(this,"includes",e)},indexOf(...e){return zs(this,"indexOf",e)},join(e){return Xt(this).join(e)},lastIndexOf(...e){return zs(this,"lastIndexOf",e)},map(e,t){return mt(this,"map",e,t,void 0,arguments)},pop(){return mn(this,"pop")},push(...e){return mn(this,"push",e)},reduce(e,...t){return Yr(this,"reduce",e,t)},reduceRight(e,...t){return Yr(this,"reduceRight",e,t)},shift(){return mn(this,"shift")},some(e,t){return mt(this,"some",e,t,void 0,arguments)},splice(...e){return mn(this,"splice",e)},toReversed(){return Xt(this).toReversed()},toSorted(e){return Xt(this).toSorted(e)},toSpliced(...e){return Xt(this).toSpliced(...e)},unshift(...e){return mn(this,"unshift",e)},values(){return Us(this,"values",Te)}};function Us(e,t,n){const s=_s(e),r=s[t]();return s!==e&&!We(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const _a=Array.prototype;function mt(e,t,n,s,r,o){const i=_s(e),l=i!==e&&!We(e),c=i[t];if(c!==_a[t]){const d=c.apply(e,o);return l?Te(d):d}let a=n;i!==e&&(l?a=function(d,g){return n.call(this,Te(d),g,e)}:n.length>2&&(a=function(d,g){return n.call(this,d,g,e)}));const u=c.call(i,a,s);return l&&r?r(u):u}function Yr(e,t,n,s){const r=_s(e);let o=n;return r!==e&&(We(e)?n.length>3&&(o=function(i,l,c){return n.call(this,i,l,c,e)}):o=function(i,l,c){return n.call(this,i,Te(l),c,e)}),r[t](o,...s)}function zs(e,t,n){const s=ne(e);ke(s,"iterate",Tn);const r=s[t](...n);return(r===-1||r===!1)&&Ir(n[0])?(n[0]=ne(n[0]),s[t](...n)):r}function mn(e,t,n=[]){Mt(),Ar();const s=ne(e)[t].apply(e,n);return Rr(),Lt(),s}const wa=wr("__proto__,__v_isRef,__isVue"),Ei=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(dt));function Ea(e){dt(e)||(e=String(e));const t=ne(this);return ke(t,"has",e),t.hasOwnProperty(e)}class Si{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Ma:ki:o?Ri:Ai).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=H(t);if(!r){let c;if(i&&(c=va[n]))return c;if(n==="hasOwnProperty")return Ea}const l=Reflect.get(t,n,Ie(t)?t:s);return(dt(n)?Ei.has(n):wa(n))||(r||ke(t,"get",n),o)?l:Ie(l)?i&&Cr(n)?l:l.value:de(l)?r?Oi(l):Fn(l):l}}class Ci extends Si{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=Vt(o);if(!We(s)&&!Vt(s)&&(o=ne(o),s=ne(s)),!H(t)&&Ie(o)&&!Ie(s))return c?!1:(o.value=s,!0)}const i=H(t)&&Cr(n)?Number(n)e,Wn=e=>Reflect.getPrototypeOf(e);function ka(e,t,n){return function(...s){const r=this.__v_raw,o=ne(r),i=nn(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=r[e](...s),u=n?or:t?ir:Te;return!t&&ke(o,"iterate",c?rr:zt),{next(){const{value:d,done:g}=a.next();return g?{value:d,done:g}:{value:l?[u(d[0]),u(d[1])]:u(d),done:g}},[Symbol.iterator](){return this}}}}function Qn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ta(e,t){const n={get(r){const o=this.__v_raw,i=ne(o),l=ne(r);e||(It(r,l)&&ke(i,"get",r),ke(i,"get",l));const{has:c}=Wn(i),a=t?or:e?ir:Te;if(c.call(i,r))return a(o.get(r));if(c.call(i,l))return a(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&ke(ne(r),"iterate",zt),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,i=ne(o),l=ne(r);return e||(It(r,l)&&ke(i,"has",r),ke(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=ne(l),a=t?or:e?ir:Te;return!e&&ke(c,"iterate",zt),l.forEach((u,d)=>r.call(o,a(u),a(d),i))}};return Ce(n,e?{add:Qn("add"),set:Qn("set"),delete:Qn("delete"),clear:Qn("clear")}:{add(r){!t&&!We(r)&&!Vt(r)&&(r=ne(r));const o=ne(this);return Wn(o).has.call(o,r)||(o.add(r),xt(o,"add",r,r)),this},set(r,o){!t&&!We(o)&&!Vt(o)&&(o=ne(o));const i=ne(this),{has:l,get:c}=Wn(i);let a=l.call(i,r);a||(r=ne(r),a=l.call(i,r));const u=c.call(i,r);return i.set(r,o),a?It(o,u)&&xt(i,"set",r,o):xt(i,"add",r,o),this},delete(r){const o=ne(this),{has:i,get:l}=Wn(o);let c=i.call(o,r);c||(r=ne(r),c=i.call(o,r)),l&&l.call(o,r);const a=o.delete(r);return c&&xt(o,"delete",r,void 0),a},clear(){const r=ne(this),o=r.size!==0,i=r.clear();return o&&xt(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=ka(r,e,t)}),n}function Or(e,t){const n=Ta(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(se(n,r)&&r in s?n:s,r,o)}const Oa={get:Or(!1,!1)},Pa={get:Or(!1,!0)},Ia={get:Or(!0,!1)};const Ai=new WeakMap,Ri=new WeakMap,ki=new WeakMap,Ma=new WeakMap;function La(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ja(e){return e.__v_skip||!Object.isExtensible(e)?0:La(oa(e))}function Fn(e){return Vt(e)?e:Pr(e,!1,Ca,Oa,Ai)}function Ti(e){return Pr(e,!1,Ra,Pa,Ri)}function Oi(e){return Pr(e,!0,Aa,Ia,ki)}function Pr(e,t,n,s,r){if(!de(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=ja(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function sn(e){return Vt(e)?sn(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function We(e){return!!(e&&e.__v_isShallow)}function Ir(e){return e?!!e.__v_raw:!1}function ne(e){const t=e&&e.__v_raw;return t?ne(t):e}function Da(e){return!se(e,"__v_skip")&&Object.isExtensible(e)&&fi(e,"__v_skip",!0),e}const Te=e=>de(e)?Fn(e):e,ir=e=>de(e)?Oi(e):e;function Ie(e){return e?e.__v_isRef===!0:!1}function X(e){return Pi(e,!1)}function $a(e){return Pi(e,!0)}function Pi(e,t){return Ie(e)?e:new Fa(e,t)}class Fa{constructor(t,n){this.dep=new Tr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ne(t),this._value=n?t:Te(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||We(t)||Vt(t);t=s?t:ne(t),It(t,n)&&(this._rawValue=t,this._value=s?t:Te(t),this.dep.trigger())}}function Me(e){return Ie(e)?e.value:e}const Ba={get:(e,t,n)=>t==="__v_raw"?e:Me(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Ie(r)&&!Ie(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Ii(e){return sn(e)?e:new Proxy(e,Ba)}class Na{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Tr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=kn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&fe!==this)return bi(this,!0),!0}get value(){const t=this.dep.track();return vi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ua(e,t,n=!1){let s,r;return K(e)?s=e:(s=e.get,r=e.set),new Na(s,r,n)}const Gn={},rs=new WeakMap;let Bt;function za(e,t=!1,n=Bt){if(n){let s=rs.get(n);s||rs.set(n,s=[]),s.push(e)}}function Ha(e,t,n=ce){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,a=L=>r?L:We(L)||r===!1||r===0?yt(L,1):yt(L);let u,d,g,m,y=!1,E=!1;if(Ie(e)?(d=()=>e.value,y=We(e)):sn(e)?(d=()=>a(e),y=!0):H(e)?(E=!0,y=e.some(L=>sn(L)||We(L)),d=()=>e.map(L=>{if(Ie(L))return L.value;if(sn(L))return a(L);if(K(L))return c?c(L,2):L()})):K(e)?t?d=c?()=>c(e,2):e:d=()=>{if(g){Mt();try{g()}finally{Lt()}}const L=Bt;Bt=u;try{return c?c(e,3,[m]):e(m)}finally{Bt=L}}:d=ft,t&&r){const L=d,V=r===!0?1/0:r;d=()=>yt(L(),V)}const w=ba(),I=()=>{u.stop(),w&&w.active&&Sr(w.effects,u)};if(o&&t){const L=t;t=(...V)=>{L(...V),I()}}let T=E?new Array(e.length).fill(Gn):Gn;const O=L=>{if(!(!(u.flags&1)||!u.dirty&&!L))if(t){const V=u.run();if(r||y||(E?V.some((Y,G)=>It(Y,T[G])):It(V,T))){g&&g();const Y=Bt;Bt=u;try{const G=[V,T===Gn?void 0:E&&T[0]===Gn?[]:T,m];c?c(t,3,G):t(...G),T=V}finally{Bt=Y}}}else u.run()};return l&&l(O),u=new mi(d),u.scheduler=i?()=>i(O,!1):O,m=L=>za(L,!1,u),g=u.onStop=()=>{const L=rs.get(u);if(L){if(c)c(L,4);else for(const V of L)V();rs.delete(u)}},t?s?O(!0):T=u.run():i?i(O.bind(null,!0),!0):u.run(),I.pause=u.pause.bind(u),I.resume=u.resume.bind(u),I.stop=I,I}function yt(e,t=1/0,n){if(t<=0||!de(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ie(e))yt(e.value,t,n);else if(H(e))for(let s=0;s{yt(s,t,n)});else if(ui(e)){for(const s in e)yt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&yt(e[s],t,n)}return e}/** -* @vue/runtime-core v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function Bn(e,t,n,s){try{return s?e(...s):e()}catch(r){ws(r,t,n)}}function pt(e,t,n,s){if(K(e)){const r=Bn(e,t,n,s);return r&&ai(r)&&r.catch(o=>{ws(o,t,n)}),r}if(H(e)){const r=[];for(let o=0;o>>1,r=je[s],o=On(r);o=On(n)?je.push(e):je.splice(Va(t),0,e),e.flags|=1,Li()}}function Li(){os||(os=Mi.then(Di))}function Ka(e){H(e)?rn.push(...e):Rt&&e.id===-1?Rt.splice(Yt+1,0,e):e.flags&1||(rn.push(e),e.flags|=1),Li()}function eo(e,t,n=ct+1){for(;nOn(n)-On(s));if(rn.length=0,Rt){Rt.push(...t);return}for(Rt=t,Yt=0;Yte.id==null?e.flags&2?-1:1/0:e.id;function Di(e){try{for(ct=0;ct{s._d&&co(-1);const o=is(t);let i;try{i=e(...r)}finally{is(o),s._d&&co(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Ae(e,t){if(He===null)return e;const n=As(He),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport;function jr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,jr(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function Fi(e,t){return K(e)?Ce({name:e.name},t,{setup:e}):e}function Bi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ls(e,t,n,s,r=!1){if(H(e)){e.forEach((y,E)=>ls(y,t&&(H(t)?t[E]:t),n,s,r));return}if(En(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&ls(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?As(s.component):s.el,i=r?null:o,{i:l,r:c}=e,a=t&&t.r,u=l.refs===ce?l.refs={}:l.refs,d=l.setupState,g=ne(d),m=d===ce?()=>!1:y=>se(g,y);if(a!=null&&a!==c&&(ve(a)?(u[a]=null,m(a)&&(d[a]=null)):Ie(a)&&(a.value=null)),K(c))Bn(c,l,12,[i,u]);else{const y=ve(c),E=Ie(c);if(y||E){const w=()=>{if(e.f){const I=y?m(c)?d[c]:u[c]:c.value;r?H(I)&&Sr(I,o):H(I)?I.includes(o)||I.push(o):y?(u[c]=[o],m(c)&&(d[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else y?(u[c]=i,m(c)&&(d[c]=i)):E&&(c.value=i,e.k&&(u[e.k]=i))};i?(w.id=-1,Ue(w,n)):w()}}}ys().requestIdleCallback;ys().cancelIdleCallback;const En=e=>!!e.type.__asyncLoader,Ni=e=>e.type.__isKeepAlive;function Ga(e,t){Ui(e,"a",t)}function Ja(e,t){Ui(e,"da",t)}function Ui(e,t,n=Oe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Es(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Ni(r.parent.vnode)&&Za(s,t,n,r),r=r.parent}}function Za(e,t,n,s){const r=Es(t,e,s,!0);Hi(()=>{Sr(s[t],r)},n)}function Es(e,t,n=Oe,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Mt();const l=Nn(n),c=pt(t,n,e,i);return l(),Lt(),c});return s?r.unshift(o):r.push(o),o}}const wt=e=>(t,n=Oe)=>{(!In||e==="sp")&&Es(e,(...s)=>t(...s),n)},Xa=wt("bm"),jt=wt("m"),Ya=wt("bu"),ec=wt("u"),zi=wt("bum"),Hi=wt("um"),tc=wt("sp"),nc=wt("rtg"),sc=wt("rtc");function rc(e,t=Oe){Es("ec",e,t)}const oc="components";function he(e,t){return lc(oc,e,!0,t)||e}const ic=Symbol.for("v-ndc");function lc(e,t,n=!0,s=!1){const r=He||Oe;if(r){const o=r.type;{const l=Wc(o,!1);if(l&&(l===t||l===Qe(t)||l===xs(Qe(t))))return o}const i=to(r[e]||o[e],t)||to(r.appContext[e],t);return!i&&s?o:i}}function to(e,t){return e&&(e[t]||e[Qe(t)]||e[xs(Qe(t))])}function xe(e,t,n,s){let r;const o=n,i=H(e);if(i||ve(e)){const l=i&&sn(e);let c=!1;l&&(c=!We(e),e=_s(e)),r=new Array(e.length);for(let a=0,u=e.length;at(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,a=l.length;ce?cl(e)?As(e):lr(e.parent):null,Sn=Ce(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>lr(e.parent),$root:e=>lr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Dr(e),$forceUpdate:e=>e.f||(e.f=()=>{Lr(e.update)}),$nextTick:e=>e.n||(e.n=Mr.bind(e.proxy)),$watch:e=>kc.bind(e)}),Hs=(e,t)=>e!==ce&&!e.__isScriptSetup&&se(e,t),ac={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Hs(s,t))return i[t]=1,s[t];if(r!==ce&&se(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&se(a,t))return i[t]=3,o[t];if(n!==ce&&se(n,t))return i[t]=4,n[t];ar&&(i[t]=0)}}const u=Sn[t];let d,g;if(u)return t==="$attrs"&&ke(e.attrs,"get",""),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==ce&&se(n,t))return i[t]=4,n[t];if(g=c.config.globalProperties,se(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Hs(r,t)?(r[t]=n,!0):s!==ce&&se(s,t)?(s[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==ce&&se(e,i)||Hs(t,i)||(l=o[0])&&se(l,i)||se(s,i)||se(Sn,i)||se(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function no(e){return H(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ar=!0;function cc(e){const t=Dr(e),n=e.proxy,s=e.ctx;ar=!1,t.beforeCreate&&so(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:a,created:u,beforeMount:d,mounted:g,beforeUpdate:m,updated:y,activated:E,deactivated:w,beforeDestroy:I,beforeUnmount:T,destroyed:O,unmounted:L,render:V,renderTracked:Y,renderTriggered:G,errorCaptured:_e,serverPrefetch:Je,expose:st,inheritAttrs:St,components:Dt,directives:rt,filters:pn}=t;if(a&&uc(a,s,null),i)for(const le in i){const te=i[le];K(te)&&(s[le]=te.bind(n))}if(r){const le=r.call(n,n);de(le)&&(e.data=Fn(le))}if(ar=!0,o)for(const le in o){const te=o[le],ht=K(te)?te.bind(n,n):K(te.get)?te.get.bind(n,n):ft,Ct=!K(te)&&K(te.set)?te.set.bind(n):ft,ot=Xe({get:ht,set:Ct});Object.defineProperty(s,le,{enumerable:!0,configurable:!0,get:()=>ot.value,set:De=>ot.value=De})}if(l)for(const le in l)qi(l[le],s,n,le);if(c){const le=K(c)?c.call(n):c;Reflect.ownKeys(le).forEach(te=>{Zn(te,le[te])})}u&&so(u,e,"c");function Ee(le,te){H(te)?te.forEach(ht=>le(ht.bind(n))):te&&le(te.bind(n))}if(Ee(Xa,d),Ee(jt,g),Ee(Ya,m),Ee(ec,y),Ee(Ga,E),Ee(Ja,w),Ee(rc,_e),Ee(sc,Y),Ee(nc,G),Ee(zi,T),Ee(Hi,L),Ee(tc,Je),H(st))if(st.length){const le=e.exposed||(e.exposed={});st.forEach(te=>{Object.defineProperty(le,te,{get:()=>n[te],set:ht=>n[te]=ht})})}else e.exposed||(e.exposed={});V&&e.render===ft&&(e.render=V),St!=null&&(e.inheritAttrs=St),Dt&&(e.components=Dt),rt&&(e.directives=rt),Je&&Bi(e)}function uc(e,t,n=ft){H(e)&&(e=cr(e));for(const s in e){const r=e[s];let o;de(r)?"default"in r?o=et(r.from||s,r.default,!0):o=et(r.from||s):o=et(r),Ie(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function so(e,t,n){pt(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function qi(e,t,n,s){let r=s.includes(".")?rl(n,s):()=>n[s];if(ve(e)){const o=t[e];K(o)&&Ht(r,o)}else if(K(e))Ht(r,e.bind(n));else if(de(e))if(H(e))e.forEach(o=>qi(o,t,n,s));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&Ht(r,o,e)}}function Dr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>as(c,a,i,!0)),as(c,t,i)),de(t)&&o.set(t,c),c}function as(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&as(e,o,n,!0),r&&r.forEach(i=>as(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=fc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const fc={data:ro,props:oo,emits:oo,methods:yn,computed:yn,beforeCreate:Le,created:Le,beforeMount:Le,mounted:Le,beforeUpdate:Le,updated:Le,beforeDestroy:Le,beforeUnmount:Le,destroyed:Le,unmounted:Le,activated:Le,deactivated:Le,errorCaptured:Le,serverPrefetch:Le,components:yn,directives:yn,watch:pc,provide:ro,inject:dc};function ro(e,t){return t?e?function(){return Ce(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function dc(e,t){return yn(cr(e),cr(t))}function cr(e){if(H(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(s&&s.proxy):t}}const Ki={},Wi=()=>Object.create(Ki),Qi=e=>Object.getPrototypeOf(e)===Ki;function gc(e,t,n,s=!1){const r={},o=Wi();e.propsDefaults=Object.create(null),Gi(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Ti(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function bc(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=ne(r),[c]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d{c=!0;const[g,m]=Ji(d,t,!0);Ce(i,g),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return de(e)&&s.set(e,tn),tn;if(H(o))for(let u=0;ue[0]==="_"||e==="$stable",$r=e=>H(e)?e.map(ut):[ut(e)],yc=(e,t,n)=>{if(t._n)return t;const s=ge((...r)=>$r(t(...r)),n);return s._c=!1,s},Xi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Zi(r))continue;const o=e[r];if(K(o))t[r]=yc(r,o,s);else if(o!=null){const i=$r(o);t[r]=()=>i}}},Yi=(e,t)=>{const n=$r(t);e.slots.default=()=>n},el=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},vc=(e,t,n)=>{const s=e.slots=Wi();if(e.vnode.shapeFlag&32){const r=t._;r?(el(s,t,n),n&&fi(s,"_",r,!0)):Xi(t,s)}else t&&Yi(e,t)},_c=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ce;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:el(r,t,n):(o=!t.$stable,Xi(t,r)),i=t}else t&&(Yi(e,t),i={default:1});if(o)for(const l in r)!Zi(l)&&i[l]==null&&delete r[l]},Ue=jc;function wc(e){return Ec(e)}function Ec(e,t){const n=ys();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:d,nextSibling:g,setScopeId:m=ft,insertStaticContent:y}=e,E=(p,h,b,C=null,v=null,A=null,j=void 0,M=null,P=!!h.dynamicChildren)=>{if(p===h)return;p&&!gn(p,h)&&(C=_(p),De(p,v,A,!0),p=null),h.patchFlag===-2&&(P=!1,h.dynamicChildren=null);const{type:R,ref:z,shapeFlag:$}=h;switch(R){case Cs:w(p,h,b,C);break;case Kt:I(p,h,b,C);break;case Ks:p==null&&T(h,b,C,j);break;case Q:Dt(p,h,b,C,v,A,j,M,P);break;default:$&1?V(p,h,b,C,v,A,j,M,P):$&6?rt(p,h,b,C,v,A,j,M,P):($&64||$&128)&&R.process(p,h,b,C,v,A,j,M,P,N)}z!=null&&v&&ls(z,p&&p.ref,A,h||p,!h)},w=(p,h,b,C)=>{if(p==null)s(h.el=l(h.children),b,C);else{const v=h.el=p.el;h.children!==p.children&&a(v,h.children)}},I=(p,h,b,C)=>{p==null?s(h.el=c(h.children||""),b,C):h.el=p.el},T=(p,h,b,C)=>{[p.el,p.anchor]=y(p.children,h,b,C,p.el,p.anchor)},O=({el:p,anchor:h},b,C)=>{let v;for(;p&&p!==h;)v=g(p),s(p,b,C),p=v;s(h,b,C)},L=({el:p,anchor:h})=>{let b;for(;p&&p!==h;)b=g(p),r(p),p=b;r(h)},V=(p,h,b,C,v,A,j,M,P)=>{h.type==="svg"?j="svg":h.type==="math"&&(j="mathml"),p==null?Y(h,b,C,v,A,j,M,P):Je(p,h,v,A,j,M,P)},Y=(p,h,b,C,v,A,j,M)=>{let P,R;const{props:z,shapeFlag:$,transition:U,dirs:q}=p;if(P=p.el=i(p.type,A,z&&z.is,z),$&8?u(P,p.children):$&16&&_e(p.children,P,null,C,v,qs(p,A),j,M),q&&$t(p,null,C,"created"),G(P,p,p.scopeId,j,C),z){for(const ue in z)ue!=="value"&&!vn(ue)&&o(P,ue,null,z[ue],A,C);"value"in z&&o(P,"value",null,z.value,A),(R=z.onVnodeBeforeMount)&<(R,C,p)}q&&$t(p,null,C,"beforeMount");const J=Sc(v,U);J&&U.beforeEnter(P),s(P,h,b),((R=z&&z.onVnodeMounted)||J||q)&&Ue(()=>{R&<(R,C,p),J&&U.enter(P),q&&$t(p,null,C,"mounted")},v)},G=(p,h,b,C,v)=>{if(b&&m(p,b),C)for(let A=0;A{for(let R=P;R{const M=h.el=p.el;let{patchFlag:P,dynamicChildren:R,dirs:z}=h;P|=p.patchFlag&16;const $=p.props||ce,U=h.props||ce;let q;if(b&&Ft(b,!1),(q=U.onVnodeBeforeUpdate)&<(q,b,h,p),z&&$t(h,p,b,"beforeUpdate"),b&&Ft(b,!0),($.innerHTML&&U.innerHTML==null||$.textContent&&U.textContent==null)&&u(M,""),R?st(p.dynamicChildren,R,M,b,C,qs(h,v),A):j||te(p,h,M,null,b,C,qs(h,v),A,!1),P>0){if(P&16)St(M,$,U,b,v);else if(P&2&&$.class!==U.class&&o(M,"class",null,U.class,v),P&4&&o(M,"style",$.style,U.style,v),P&8){const J=h.dynamicProps;for(let ue=0;ue{q&<(q,b,h,p),z&&$t(h,p,b,"updated")},C)},st=(p,h,b,C,v,A,j)=>{for(let M=0;M{if(h!==b){if(h!==ce)for(const A in h)!vn(A)&&!(A in b)&&o(p,A,h[A],null,v,C);for(const A in b){if(vn(A))continue;const j=b[A],M=h[A];j!==M&&A!=="value"&&o(p,A,M,j,v,C)}"value"in b&&o(p,"value",h.value,b.value,v)}},Dt=(p,h,b,C,v,A,j,M,P)=>{const R=h.el=p?p.el:l(""),z=h.anchor=p?p.anchor:l("");let{patchFlag:$,dynamicChildren:U,slotScopeIds:q}=h;q&&(M=M?M.concat(q):q),p==null?(s(R,b,C),s(z,b,C),_e(h.children||[],b,z,v,A,j,M,P)):$>0&&$&64&&U&&p.dynamicChildren?(st(p.dynamicChildren,U,b,v,A,j,M),(h.key!=null||v&&h===v.subTree)&&tl(p,h,!0)):te(p,h,b,z,v,A,j,M,P)},rt=(p,h,b,C,v,A,j,M,P)=>{h.slotScopeIds=M,p==null?h.shapeFlag&512?v.ctx.activate(h,b,C,j,P):pn(h,b,C,v,A,j,P):Gt(p,h,P)},pn=(p,h,b,C,v,A,j)=>{const M=p.component=zc(p,C,v);if(Ni(p)&&(M.ctx.renderer=N),Hc(M,!1,j),M.asyncDep){if(v&&v.registerDep(M,Ee,j),!p.el){const P=M.subTree=F(Kt);I(null,P,h,b)}}else Ee(M,p,h,b,v,A,j)},Gt=(p,h,b)=>{const C=h.component=p.component;if(Mc(p,h,b))if(C.asyncDep&&!C.asyncResolved){le(C,h,b);return}else C.next=h,C.update();else h.el=p.el,C.vnode=h},Ee=(p,h,b,C,v,A,j)=>{const M=()=>{if(p.isMounted){let{next:$,bu:U,u:q,parent:J,vnode:ue}=p;{const Be=nl(p);if(Be){$&&($.el=ue.el,le(p,$,j)),Be.asyncDep.then(()=>{p.isUnmounted||M()});return}}let oe=$,Fe;Ft(p,!1),$?($.el=ue.el,le(p,$,j)):$=ue,U&&Jn(U),(Fe=$.props&&$.props.onVnodeBeforeUpdate)&<(Fe,J,$,ue),Ft(p,!0);const Re=Vs(p),Ze=p.subTree;p.subTree=Re,E(Ze,Re,d(Ze.el),_(Ze),p,v,A),$.el=Re.el,oe===null&&Lc(p,Re.el),q&&Ue(q,v),(Fe=$.props&&$.props.onVnodeUpdated)&&Ue(()=>lt(Fe,J,$,ue),v)}else{let $;const{el:U,props:q}=h,{bm:J,m:ue,parent:oe,root:Fe,type:Re}=p,Ze=En(h);if(Ft(p,!1),J&&Jn(J),!Ze&&($=q&&q.onVnodeBeforeMount)&<($,oe,h),Ft(p,!0),U&&me){const Be=()=>{p.subTree=Vs(p),me(U,p.subTree,p,v,null)};Ze&&Re.__asyncHydrate?Re.__asyncHydrate(U,p,Be):Be()}else{Fe.ce&&Fe.ce._injectChildStyle(Re);const Be=p.subTree=Vs(p);E(null,Be,b,C,p,v,A),h.el=Be.el}if(ue&&Ue(ue,v),!Ze&&($=q&&q.onVnodeMounted)){const Be=h;Ue(()=>lt($,oe,Be),v)}(h.shapeFlag&256||oe&&En(oe.vnode)&&oe.vnode.shapeFlag&256)&&p.a&&Ue(p.a,v),p.isMounted=!0,h=b=C=null}};p.scope.on();const P=p.effect=new mi(M);p.scope.off();const R=p.update=P.run.bind(P),z=p.job=P.runIfDirty.bind(P);z.i=p,z.id=p.uid,P.scheduler=()=>Lr(z),Ft(p,!0),R()},le=(p,h,b)=>{h.component=p;const C=p.vnode.props;p.vnode=h,p.next=null,bc(p,h.props,C,b),_c(p,h.children,b),Mt(),eo(p),Lt()},te=(p,h,b,C,v,A,j,M,P=!1)=>{const R=p&&p.children,z=p?p.shapeFlag:0,$=h.children,{patchFlag:U,shapeFlag:q}=h;if(U>0){if(U&128){Ct(R,$,b,C,v,A,j,M,P);return}else if(U&256){ht(R,$,b,C,v,A,j,M,P);return}}q&8?(z&16&&Ke(R,v,A),$!==R&&u(b,$)):z&16?q&16?Ct(R,$,b,C,v,A,j,M,P):Ke(R,v,A,!0):(z&8&&u(b,""),q&16&&_e($,b,C,v,A,j,M,P))},ht=(p,h,b,C,v,A,j,M,P)=>{p=p||tn,h=h||tn;const R=p.length,z=h.length,$=Math.min(R,z);let U;for(U=0;U<$;U++){const q=h[U]=P?kt(h[U]):ut(h[U]);E(p[U],q,b,null,v,A,j,M,P)}R>z?Ke(p,v,A,!0,!1,$):_e(h,b,C,v,A,j,M,P,$)},Ct=(p,h,b,C,v,A,j,M,P)=>{let R=0;const z=h.length;let $=p.length-1,U=z-1;for(;R<=$&&R<=U;){const q=p[R],J=h[R]=P?kt(h[R]):ut(h[R]);if(gn(q,J))E(q,J,b,null,v,A,j,M,P);else break;R++}for(;R<=$&&R<=U;){const q=p[$],J=h[U]=P?kt(h[U]):ut(h[U]);if(gn(q,J))E(q,J,b,null,v,A,j,M,P);else break;$--,U--}if(R>$){if(R<=U){const q=U+1,J=qU)for(;R<=$;)De(p[R],v,A,!0),R++;else{const q=R,J=R,ue=new Map;for(R=J;R<=U;R++){const Ne=h[R]=P?kt(h[R]):ut(h[R]);Ne.key!=null&&ue.set(Ne.key,R)}let oe,Fe=0;const Re=U-J+1;let Ze=!1,Be=0;const hn=new Array(Re);for(R=0;R=Re){De(Ne,v,A,!0);continue}let it;if(Ne.key!=null)it=ue.get(Ne.key);else for(oe=J;oe<=U;oe++)if(hn[oe-J]===0&&gn(Ne,h[oe])){it=oe;break}it===void 0?De(Ne,v,A,!0):(hn[it-J]=R+1,it>=Be?Be=it:Ze=!0,E(Ne,h[it],b,null,v,A,j,M,P),Fe++)}const Qr=Ze?Cc(hn):tn;for(oe=Qr.length-1,R=Re-1;R>=0;R--){const Ne=J+R,it=h[Ne],Gr=Ne+1{const{el:A,type:j,transition:M,children:P,shapeFlag:R}=p;if(R&6){ot(p.component.subTree,h,b,C);return}if(R&128){p.suspense.move(h,b,C);return}if(R&64){j.move(p,h,b,N);return}if(j===Q){s(A,h,b);for(let $=0;$M.enter(A),v);else{const{leave:$,delayLeave:U,afterLeave:q}=M,J=()=>s(A,h,b),ue=()=>{$(A,()=>{J(),q&&q()})};U?U(A,J,ue):ue()}else s(A,h,b)},De=(p,h,b,C=!1,v=!1)=>{const{type:A,props:j,ref:M,children:P,dynamicChildren:R,shapeFlag:z,patchFlag:$,dirs:U,cacheIndex:q}=p;if($===-2&&(v=!1),M!=null&&ls(M,null,b,p,!0),q!=null&&(h.renderCache[q]=void 0),z&256){h.ctx.deactivate(p);return}const J=z&1&&U,ue=!En(p);let oe;if(ue&&(oe=j&&j.onVnodeBeforeUnmount)&<(oe,h,p),z&6)Kn(p.component,b,C);else{if(z&128){p.suspense.unmount(b,C);return}J&&$t(p,null,h,"beforeUnmount"),z&64?p.type.remove(p,h,b,N,C):R&&!R.hasOnce&&(A!==Q||$>0&&$&64)?Ke(R,h,b,!1,!0):(A===Q&&$&384||!v&&z&16)&&Ke(P,h,b),C&&Jt(p)}(ue&&(oe=j&&j.onVnodeUnmounted)||J)&&Ue(()=>{oe&<(oe,h,p),J&&$t(p,null,h,"unmounted")},b)},Jt=p=>{const{type:h,el:b,anchor:C,transition:v}=p;if(h===Q){Zt(b,C);return}if(h===Ks){L(p);return}const A=()=>{r(b),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(p.shapeFlag&1&&v&&!v.persisted){const{leave:j,delayLeave:M}=v,P=()=>j(b,A);M?M(p.el,A,P):P()}else A()},Zt=(p,h)=>{let b;for(;p!==h;)b=g(p),r(p),p=b;r(h)},Kn=(p,h,b)=>{const{bum:C,scope:v,job:A,subTree:j,um:M,m:P,a:R}=p;lo(P),lo(R),C&&Jn(C),v.stop(),A&&(A.flags|=8,De(j,p,h,b)),M&&Ue(M,h),Ue(()=>{p.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},Ke=(p,h,b,C=!1,v=!1,A=0)=>{for(let j=A;j{if(p.shapeFlag&6)return _(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const h=g(p.anchor||p.el),b=h&&h[Wa];return b?g(b):h};let B=!1;const D=(p,h,b)=>{p==null?h._vnode&&De(h._vnode,null,null,!0):E(h._vnode||null,p,h,null,null,null,b),h._vnode=p,B||(B=!0,eo(),ji(),B=!1)},N={p:E,um:De,m:ot,r:Jt,mt:pn,mc:_e,pc:te,pbc:st,n:_,o:e};let re,me;return{render:D,hydrate:re,createApp:mc(D,re)}}function qs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ft({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Sc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function tl(e,t,n=!1){const s=e.children,r=t.children;if(H(s)&&H(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function nl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:nl(t)}function lo(e){if(e)for(let t=0;tet(Ac);function Ht(e,t,n){return sl(e,t,n)}function sl(e,t,n=ce){const{immediate:s,deep:r,flush:o,once:i}=n,l=Ce({},n),c=t&&s||!t&&o!=="post";let a;if(In){if(o==="sync"){const m=Rc();a=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=ft,m.resume=ft,m.pause=ft,m}}const u=Oe;l.call=(m,y,E)=>pt(m,u,y,E);let d=!1;o==="post"?l.scheduler=m=>{Ue(m,u&&u.suspense)}:o!=="sync"&&(d=!0,l.scheduler=(m,y)=>{y?m():Lr(m)}),l.augmentJob=m=>{t&&(m.flags|=4),d&&(m.flags|=2,u&&(m.id=u.uid,m.i=u))};const g=Ha(e,t,l);return In&&(a?a.push(g):c&&g()),g}function kc(e,t,n){const s=this.proxy,r=ve(e)?e.includes(".")?rl(s,e):()=>s[e]:e.bind(s,s);let o;K(t)?o=t:(o=t.handler,n=t);const i=Nn(this),l=sl(r,o.bind(s),n);return i(),l}function rl(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Qe(t)}Modifiers`]||e[`${Qt(t)}Modifiers`];function Oc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ce;let r=n;const o=t.startsWith("update:"),i=o&&Tc(s,t.slice(7));i&&(i.trim&&(r=n.map(u=>ve(u)?u.trim():u)),i.number&&(r=n.map(ss)));let l,c=s[l=Fs(t)]||s[l=Fs(Qe(t))];!c&&o&&(c=s[l=Fs(Qt(t))]),c&&pt(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,pt(a,e,6,r)}}function ol(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!K(e)){const c=a=>{const u=ol(a,t,!0);u&&(l=!0,Ce(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(de(e)&&s.set(e,null),null):(H(o)?o.forEach(c=>i[c]=null):Ce(i,o),de(e)&&s.set(e,i),i)}function Ss(e,t){return!e||!ms(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,Qt(t))||se(e,t))}function Vs(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:a,renderCache:u,props:d,data:g,setupState:m,ctx:y,inheritAttrs:E}=e,w=is(e);let I,T;try{if(n.shapeFlag&4){const L=r||s,V=L;I=ut(a.call(V,L,u,d,m,g,y)),T=l}else{const L=t;I=ut(L.length>1?L(d,{attrs:l,slots:i,emit:c}):L(d,null)),T=t.props?l:Pc(l)}}catch(L){Cn.length=0,ws(L,e,1),I=F(Kt)}let O=I;if(T&&E!==!1){const L=Object.keys(T),{shapeFlag:V}=O;L.length&&V&7&&(o&&L.some(Er)&&(T=Ic(T,o)),O=an(O,T,!1,!0))}return n.dirs&&(O=an(O,null,!1,!0),O.dirs=O.dirs?O.dirs.concat(n.dirs):n.dirs),n.transition&&jr(O,n.transition),I=O,is(w),I}const Pc=e=>{let t;for(const n in e)(n==="class"||n==="style"||ms(n))&&((t||(t={}))[n]=e[n]);return t},Ic=(e,t)=>{const n={};for(const s in e)(!Er(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Mc(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?ao(s,i,a):!!i;if(c&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function jc(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):Ka(e)}const Q=Symbol.for("v-fgt"),Cs=Symbol.for("v-txt"),Kt=Symbol.for("v-cmt"),Ks=Symbol.for("v-stc"),Cn=[];let qe=null;function S(e=!1){Cn.push(qe=e?null:[])}function Dc(){Cn.pop(),qe=Cn[Cn.length-1]||null}let Pn=1;function co(e,t=!1){Pn+=e,e<0&&qe&&t&&(qe.hasOnce=!0)}function ll(e){return e.dynamicChildren=Pn>0?qe||tn:null,Dc(),Pn>0&&qe&&qe.push(e),e}function k(e,t,n,s,r,o){return ll(f(e,t,n,s,r,o,!0))}function Ge(e,t,n,s,r){return ll(F(e,t,n,s,r,!0))}function cs(e){return e?e.__v_isVNode===!0:!1}function gn(e,t){return e.type===t.type&&e.key===t.key}const al=({key:e})=>e??null,Xn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ve(e)||Ie(e)||K(e)?{i:He,r:e,k:t,f:!!n}:e:null);function f(e,t=null,n=null,s=0,r=null,o=e===Q?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&al(t),ref:t&&Xn(t),scopeId:$i,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:He};return l?(Fr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ve(n)?8:16),Pn>0&&!i&&qe&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&qe.push(c),c}const F=$c;function $c(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===ic)&&(e=Kt),cs(e)){const l=an(e,t,!0);return n&&Fr(l,n),Pn>0&&!o&&qe&&(l.shapeFlag&6?qe[qe.indexOf(e)]=l:qe.push(l)),l.patchFlag=-2,l}if(Qc(e)&&(e=e.__vccOpts),t){t=Fc(t);let{class:l,style:c}=t;l&&!ve(l)&&(t.class=Z(l)),de(c)&&(Ir(c)&&!H(c)&&(c=Ce({},c)),t.style=$n(c))}const i=ve(e)?1:il(e)?128:Qa(e)?64:de(e)?4:K(e)?2:0;return f(e,t,n,s,r,i,o,!0)}function Fc(e){return e?Ir(e)||Qi(e)?Ce({},e):e:null}function an(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,a=t?Bc(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&al(a),ref:t&&t.ref?n&&o?H(o)?o.concat(Xn(t)):[o,Xn(t)]:Xn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Q?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&an(e.ssContent),ssFallback:e.ssFallback&&an(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&jr(u,c.clone(u)),u}function Se(e=" ",t=0){return F(Cs,null,e,t)}function be(e="",t=!1){return t?(S(),Ge(Kt,null,e)):F(Kt,null,e)}function ut(e){return e==null||typeof e=="boolean"?F(Kt):H(e)?F(Q,null,e.slice()):cs(e)?kt(e):F(Cs,null,String(e))}function kt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:an(e)}function Fr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Fr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Qi(t)?t._ctx=He:r===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:He},n=32):(t=String(t),s&64?(n=16,t=[Se(t)]):n=8);e.children=t,e.shapeFlag|=n}function Bc(...e){const t={};for(let n=0;n{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};us=t("__VUE_INSTANCE_SETTERS__",n=>Oe=n),fr=t("__VUE_SSR_SETTERS__",n=>In=n)}const Nn=e=>{const t=Oe;return us(e),e.scope.on(),()=>{e.scope.off(),us(t)}},uo=()=>{Oe&&Oe.scope.off(),us(null)};function cl(e){return e.vnode.shapeFlag&4}let In=!1;function Hc(e,t=!1,n=!1){t&&fr(t);const{props:s,children:r}=e.vnode,o=cl(e);gc(e,s,o,t),vc(e,r,n);const i=o?qc(e,t):void 0;return t&&fr(!1),i}function qc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ac);const{setup:s}=n;if(s){Mt();const r=e.setupContext=s.length>1?Kc(e):null,o=Nn(e),i=Bn(s,e,0,[e.props,r]),l=ai(i);if(Lt(),o(),(l||e.sp)&&!En(e)&&Bi(e),l){if(i.then(uo,uo),t)return i.then(c=>{fo(e,c,t)}).catch(c=>{ws(c,e,0)});e.asyncDep=i}else fo(e,i,t)}else ul(e,t)}function fo(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:de(t)&&(e.setupState=Ii(t)),ul(e,n)}let po;function ul(e,t,n){const s=e.type;if(!e.render){if(!t&&po&&!s.render){const r=s.template||Dr(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=Ce(Ce({isCustomElement:o,delimiters:l},i),c);s.render=po(r,a)}}e.render=s.render||ft}{const r=Nn(e);Mt();try{cc(e)}finally{Lt(),r()}}}const Vc={get(e,t){return ke(e,"get",""),e[t]}};function Kc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Vc),slots:e.slots,emit:e.emit,expose:t}}function As(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ii(Da(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Sn)return Sn[n](e)},has(t,n){return n in t||n in Sn}})):e.proxy}function Wc(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function Qc(e){return K(e)&&"__vccOpts"in e}const Xe=(e,t)=>Ua(e,t,In);function fl(e,t,n){const s=arguments.length;return s===2?de(t)&&!H(t)?cs(t)?F(e,null,[t]):F(e,t):F(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&cs(n)&&(n=[n]),F(e,t,n))}const Gc="3.5.13";/** -* @vue/runtime-dom v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let dr;const ho=typeof window<"u"&&window.trustedTypes;if(ho)try{dr=ho.createPolicy("vue",{createHTML:e=>e})}catch{}const dl=dr?e=>dr.createHTML(e):e=>e,Jc="http://www.w3.org/2000/svg",Zc="http://www.w3.org/1998/Math/MathML",bt=typeof document<"u"?document:null,mo=bt&&bt.createElement("template"),Xc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?bt.createElementNS(Jc,e):t==="mathml"?bt.createElementNS(Zc,e):n?bt.createElement(e,{is:n}):bt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>bt.createTextNode(e),createComment:e=>bt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>bt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{mo.innerHTML=dl(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=mo.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Yc=Symbol("_vtc");function eu(e,t,n){const s=e[Yc];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const go=Symbol("_vod"),tu=Symbol("_vsh"),nu=Symbol(""),su=/(^|;)\s*display\s*:/;function ru(e,t,n){const s=e.style,r=ve(n);let o=!1;if(n&&!r){if(t)if(ve(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Yn(s,l,"")}else for(const i in t)n[i]==null&&Yn(s,i,"");for(const i in n)i==="display"&&(o=!0),Yn(s,i,n[i])}else if(r){if(t!==n){const i=s[nu];i&&(n+=";"+i),s.cssText=n,o=su.test(n)}}else t&&e.removeAttribute("style");go in e&&(e[go]=o?s.display:"",e[tu]&&(s.display="none"))}const bo=/\s*!important$/;function Yn(e,t,n){if(H(n))n.forEach(s=>Yn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ou(e,t);bo.test(n)?e.setProperty(Qt(s),n.replace(bo,""),"important"):e[s]=n}}const xo=["Webkit","Moz","ms"],Ws={};function ou(e,t){const n=Ws[t];if(n)return n;let s=Qe(t);if(s!=="filter"&&s in e)return Ws[t]=s;s=xs(s);for(let r=0;rQs||(cu.then(()=>Qs=0),Qs=Date.now());function fu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;pt(du(s,n.value),t,5,[s])};return n.value=e,n.attached=uu(),n}function du(e,t){if(H(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const So=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,pu=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?eu(e,s,i):t==="style"?ru(e,n,s):ms(t)?Er(t)||lu(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):hu(e,t,s,i))?(_o(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&vo(e,t,s,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ve(s))?_o(e,Qe(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),vo(e,t,s,i))};function hu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&So(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return So(t)&&ve(n)?!1:t in e}const fs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>Jn(t,n):t};function mu(e){e.target.composing=!0}function Co(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ln=Symbol("_assign"),vt={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ln]=fs(r);const o=s||r.props&&r.props.type==="number";Nt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=ss(l)),e[ln](l)}),n&&Nt(e,"change",()=>{e.value=e.value.trim()}),t||(Nt(e,"compositionstart",mu),Nt(e,"compositionend",Co),Nt(e,"change",Co))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[ln]=fs(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?ss(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},Ot={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=gs(t);Nt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?ss(ds(i)):ds(i));e[ln](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,Mr(()=>{e._assigning=!1})}),e[ln]=fs(s)},mounted(e,{value:t}){Ao(e,t)},beforeUpdate(e,t,n){e[ln]=fs(n)},updated(e,{value:t}){e._assigning||Ao(e,t)}};function Ao(e,t){const n=e.multiple,s=H(t);if(!(n&&!s&&!gs(t))){for(let r=0,o=e.options.length;rString(a)===String(l)):i.selected=ma(t,l)>-1}else i.selected=t.has(l);else if(vs(ds(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ds(e){return"_value"in e?e._value:e.value}const gu=["ctrl","shift","alt","meta"],bu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>gu.some(n=>e[`${n}Key`]&&!t.includes(n))},Ro=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const t=yu().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=wu(s);if(!r)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,_u(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function _u(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function wu(e){return ve(e)?document.querySelector(e):e}/*! - * vue-router v4.4.5 - * (c) 2024 Eduardo San Martin Morote - * @license MIT - */const en=typeof document<"u";function pl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Eu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&pl(e.default)}const ie=Object.assign;function Gs(e,t){const n={};for(const s in t){const r=t[s];n[s]=tt(r)?r.map(e):e(r)}return n}const An=()=>{},tt=Array.isArray,hl=/#/g,Su=/&/g,Cu=/\//g,Au=/=/g,Ru=/\?/g,ml=/\+/g,ku=/%5B/g,Tu=/%5D/g,gl=/%5E/g,Ou=/%60/g,bl=/%7B/g,Pu=/%7C/g,xl=/%7D/g,Iu=/%20/g;function Br(e){return encodeURI(""+e).replace(Pu,"|").replace(ku,"[").replace(Tu,"]")}function Mu(e){return Br(e).replace(bl,"{").replace(xl,"}").replace(gl,"^")}function pr(e){return Br(e).replace(ml,"%2B").replace(Iu,"+").replace(hl,"%23").replace(Su,"%26").replace(Ou,"`").replace(bl,"{").replace(xl,"}").replace(gl,"^")}function Lu(e){return pr(e).replace(Au,"%3D")}function ju(e){return Br(e).replace(hl,"%23").replace(Ru,"%3F")}function Du(e){return e==null?"":ju(e).replace(Cu,"%2F")}function Mn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const $u=/\/$/,Fu=e=>e.replace($u,"");function Js(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=zu(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:Mn(i)}}function Bu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function To(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Nu(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&cn(t.matched[s],n.matched[r])&&yl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function cn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function yl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Uu(e[n],t[n]))return!1;return!0}function Uu(e,t){return tt(e)?Oo(e,t):tt(t)?Oo(t,e):e===t}function Oo(e,t){return tt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function zu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const At={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ln;(function(e){e.pop="pop",e.push="push"})(Ln||(Ln={}));var Rn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Rn||(Rn={}));function Hu(e){if(!e)if(en){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Fu(e)}const qu=/^[^#]+#/;function Vu(e,t){return e.replace(qu,"#")+t}function Ku(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Rs=()=>({left:window.scrollX,top:window.scrollY});function Wu(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Ku(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Po(e,t){return(history.state?history.state.position-t:-1)+e}const hr=new Map;function Qu(e,t){hr.set(e,t)}function Gu(e){const t=hr.get(e);return hr.delete(e),t}let Ju=()=>location.protocol+"//"+location.host;function vl(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),To(c,"")}return To(n,e)+s+r}function Zu(e,t,n,s){let r=[],o=[],i=null;const l=({state:g})=>{const m=vl(e,location),y=n.value,E=t.value;let w=0;if(g){if(n.value=m,t.value=g,i&&i===y){i=null;return}w=E?g.position-E.position:0}else s(m);r.forEach(I=>{I(n.value,y,{delta:w,type:Ln.pop,direction:w?w>0?Rn.forward:Rn.back:Rn.unknown})})};function c(){i=n.value}function a(g){r.push(g);const m=()=>{const y=r.indexOf(g);y>-1&&r.splice(y,1)};return o.push(m),m}function u(){const{history:g}=window;g.state&&g.replaceState(ie({},g.state,{scroll:Rs()}),"")}function d(){for(const g of o)g();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:a,destroy:d}}function Io(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Rs():null}}function Xu(e){const{history:t,location:n}=window,s={value:vl(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,a,u){const d=e.indexOf("#"),g=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+c:Ju()+e+c;try{t[u?"replaceState":"pushState"](a,"",g),r.value=a}catch(m){console.error(m),n[u?"replace":"assign"](g)}}function i(c,a){const u=ie({},t.state,Io(r.value.back,c,r.value.forward,!0),a,{position:r.value.position});o(c,u,!0),s.value=c}function l(c,a){const u=ie({},r.value,t.state,{forward:c,scroll:Rs()});o(u.current,u,!0);const d=ie({},Io(s.value,c,null),{position:u.position+1},a);o(c,d,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function Yu(e){e=Hu(e);const t=Xu(e),n=Zu(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ie({location:"",base:e,go:s,createHref:Vu.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function ef(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Yu(e)}function tf(e){return typeof e=="string"||e&&typeof e=="object"}function _l(e){return typeof e=="string"||typeof e=="symbol"}const wl=Symbol("");var Mo;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Mo||(Mo={}));function un(e,t){return ie(new Error,{type:e,[wl]:!0},t)}function gt(e,t){return e instanceof Error&&wl in e&&(t==null||!!(e.type&t))}const Lo="[^/]+?",nf={sensitive:!1,strict:!1,start:!0,end:!0},sf=/[.+*?^${}()[\]/\\]/g;function rf(e,t){const n=ie({},nf,t),s=[];let r=n.start?"^":"";const o=[];for(const a of e){const u=a.length?[]:[90];n.strict&&!a.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function El(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const lf={type:0,value:""},af=/[a-zA-Z0-9_]/;function cf(e){if(!e)return[[]];if(e==="/")return[[lf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${a}": ${m}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,a="",u="";function d(){a&&(n===0?o.push({type:0,value:a}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:a,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function g(){a+=c}for(;l{i(O)}:An}function i(d){if(_l(d)){const g=s.get(d);g&&(s.delete(d),n.splice(n.indexOf(g),1),g.children.forEach(i),g.alias.forEach(i))}else{const g=n.indexOf(d);g>-1&&(n.splice(g,1),d.record.name&&s.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function l(){return n}function c(d){const g=hf(d,n);n.splice(g,0,d),d.record.name&&!Fo(d)&&s.set(d.record.name,d)}function a(d,g){let m,y={},E,w;if("name"in d&&d.name){if(m=s.get(d.name),!m)throw un(1,{location:d});w=m.record.name,y=ie(Do(g.params,m.keys.filter(O=>!O.optional).concat(m.parent?m.parent.keys.filter(O=>O.optional):[]).map(O=>O.name)),d.params&&Do(d.params,m.keys.map(O=>O.name))),E=m.stringify(y)}else if(d.path!=null)E=d.path,m=n.find(O=>O.re.test(E)),m&&(y=m.parse(E),w=m.record.name);else{if(m=g.name?s.get(g.name):n.find(O=>O.re.test(g.path)),!m)throw un(1,{location:d,currentLocation:g});w=m.record.name,y=ie({},g.params,d.params),E=m.stringify(y)}const I=[];let T=m;for(;T;)I.unshift(T.record),T=T.parent;return{name:w,path:E,params:y,matched:I,meta:pf(I)}}e.forEach(d=>o(d));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:a,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function Do(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function $o(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:df(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function df(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Fo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function pf(e){return e.reduce((t,n)=>ie(t,n.meta),{})}function Bo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function hf(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;El(e,t[o])<0?s=o:n=o+1}const r=mf(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function mf(e){let t=e;for(;t=t.parent;)if(Sl(t)&&El(e,t)===0)return t}function Sl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function gf(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&pr(o)):[s&&pr(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function bf(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=tt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const xf=Symbol(""),Uo=Symbol(""),ks=Symbol(""),Nr=Symbol(""),mr=Symbol("");function bn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Tt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const a=g=>{g===!1?c(un(4,{from:n,to:t})):g instanceof Error?c(g):tf(g)?c(un(2,{from:t,to:g})):(i&&s.enterCallbacks[r]===i&&typeof g=="function"&&i.push(g),l())},u=o(()=>e.call(s&&s.instances[r],t,n,a));let d=Promise.resolve(u);e.length<3&&(d=d.then(a)),d.catch(g=>c(g))})}function Zs(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(pl(c)){const u=(c.__vccOpts||c)[t];u&&o.push(Tt(u,n,s,i,l,r))}else{let a=c();o.push(()=>a.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const d=Eu(u)?u.default:u;i.mods[l]=u,i.components[l]=d;const m=(d.__vccOpts||d)[t];return m&&Tt(m,n,s,i,l,r)()}))}}return o}function zo(e){const t=et(ks),n=et(Nr),s=Xe(()=>{const c=Me(e.to);return t.resolve(c)}),r=Xe(()=>{const{matched:c}=s.value,{length:a}=c,u=c[a-1],d=n.matched;if(!u||!d.length)return-1;const g=d.findIndex(cn.bind(null,u));if(g>-1)return g;const m=Ho(c[a-2]);return a>1&&Ho(u)===m&&d[d.length-1].path!==m?d.findIndex(cn.bind(null,c[a-2])):g}),o=Xe(()=>r.value>-1&&wf(n.params,s.value.params)),i=Xe(()=>r.value>-1&&r.value===n.matched.length-1&&yl(n.params,s.value.params));function l(c={}){return _f(c)?t[Me(e.replace)?"replace":"push"](Me(e.to)).catch(An):Promise.resolve()}return{route:s,href:Xe(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const yf=Fi({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:zo,setup(e,{slots:t}){const n=Fn(zo(e)),{options:s}=et(ks),r=Xe(()=>({[qo(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[qo(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:fl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),vf=yf;function _f(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function wf(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!tt(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function Ho(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const qo=(e,t,n)=>e??t??n,Ef=Fi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=et(mr),r=Xe(()=>e.route||s.value),o=et(Uo,0),i=Xe(()=>{let a=Me(o);const{matched:u}=r.value;let d;for(;(d=u[a])&&!d.components;)a++;return a}),l=Xe(()=>r.value.matched[i.value]);Zn(Uo,Xe(()=>i.value+1)),Zn(xf,l),Zn(mr,r);const c=X();return Ht(()=>[c.value,l.value,e.name],([a,u,d],[g,m,y])=>{u&&(u.instances[d]=a,m&&m!==u&&a&&a===g&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),a&&u&&(!m||!cn(u,m)||!g)&&(u.enterCallbacks[d]||[]).forEach(E=>E(a))},{flush:"post"}),()=>{const a=r.value,u=e.name,d=l.value,g=d&&d.components[u];if(!g)return Vo(n.default,{Component:g,route:a});const m=d.props[u],y=m?m===!0?a.params:typeof m=="function"?m(a):m:null,w=fl(g,ie({},y,t,{onVnodeUnmounted:I=>{I.component.isUnmounted&&(d.instances[u]=null)},ref:c}));return Vo(n.default,{Component:w,route:a})||w}}});function Vo(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Cl=Ef;function Sf(e){const t=ff(e.routes,e),n=e.parseQuery||gf,s=e.stringifyQuery||No,r=e.history,o=bn(),i=bn(),l=bn(),c=$a(At);let a=At;en&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Gs.bind(null,_=>""+_),d=Gs.bind(null,Du),g=Gs.bind(null,Mn);function m(_,B){let D,N;return _l(_)?(D=t.getRecordMatcher(_),N=B):N=_,t.addRoute(N,D)}function y(_){const B=t.getRecordMatcher(_);B&&t.removeRoute(B)}function E(){return t.getRoutes().map(_=>_.record)}function w(_){return!!t.getRecordMatcher(_)}function I(_,B){if(B=ie({},B||c.value),typeof _=="string"){const h=Js(n,_,B.path),b=t.resolve({path:h.path},B),C=r.createHref(h.fullPath);return ie(h,b,{params:g(b.params),hash:Mn(h.hash),redirectedFrom:void 0,href:C})}let D;if(_.path!=null)D=ie({},_,{path:Js(n,_.path,B.path).path});else{const h=ie({},_.params);for(const b in h)h[b]==null&&delete h[b];D=ie({},_,{params:d(h)}),B.params=d(B.params)}const N=t.resolve(D,B),re=_.hash||"";N.params=u(g(N.params));const me=Bu(s,ie({},_,{hash:Mu(re),path:N.path})),p=r.createHref(me);return ie({fullPath:me,hash:re,query:s===No?bf(_.query):_.query||{}},N,{redirectedFrom:void 0,href:p})}function T(_){return typeof _=="string"?Js(n,_,c.value.path):ie({},_)}function O(_,B){if(a!==_)return un(8,{from:B,to:_})}function L(_){return G(_)}function V(_){return L(ie(T(_),{replace:!0}))}function Y(_){const B=_.matched[_.matched.length-1];if(B&&B.redirect){const{redirect:D}=B;let N=typeof D=="function"?D(_):D;return typeof N=="string"&&(N=N.includes("?")||N.includes("#")?N=T(N):{path:N},N.params={}),ie({query:_.query,hash:_.hash,params:N.path!=null?{}:_.params},N)}}function G(_,B){const D=a=I(_),N=c.value,re=_.state,me=_.force,p=_.replace===!0,h=Y(D);if(h)return G(ie(T(h),{state:typeof h=="object"?ie({},re,h.state):re,force:me,replace:p}),B||D);const b=D;b.redirectedFrom=B;let C;return!me&&Nu(s,N,D)&&(C=un(16,{to:b,from:N}),ot(N,N,!0,!1)),(C?Promise.resolve(C):st(b,N)).catch(v=>gt(v)?gt(v,2)?v:Ct(v):te(v,b,N)).then(v=>{if(v){if(gt(v,2))return G(ie({replace:p},T(v.to),{state:typeof v.to=="object"?ie({},re,v.to.state):re,force:me}),B||b)}else v=Dt(b,N,!0,p,re);return St(b,N,v),v})}function _e(_,B){const D=O(_,B);return D?Promise.reject(D):Promise.resolve()}function Je(_){const B=Zt.values().next().value;return B&&typeof B.runWithContext=="function"?B.runWithContext(_):_()}function st(_,B){let D;const[N,re,me]=Cf(_,B);D=Zs(N.reverse(),"beforeRouteLeave",_,B);for(const h of N)h.leaveGuards.forEach(b=>{D.push(Tt(b,_,B))});const p=_e.bind(null,_,B);return D.push(p),Ke(D).then(()=>{D=[];for(const h of o.list())D.push(Tt(h,_,B));return D.push(p),Ke(D)}).then(()=>{D=Zs(re,"beforeRouteUpdate",_,B);for(const h of re)h.updateGuards.forEach(b=>{D.push(Tt(b,_,B))});return D.push(p),Ke(D)}).then(()=>{D=[];for(const h of me)if(h.beforeEnter)if(tt(h.beforeEnter))for(const b of h.beforeEnter)D.push(Tt(b,_,B));else D.push(Tt(h.beforeEnter,_,B));return D.push(p),Ke(D)}).then(()=>(_.matched.forEach(h=>h.enterCallbacks={}),D=Zs(me,"beforeRouteEnter",_,B,Je),D.push(p),Ke(D))).then(()=>{D=[];for(const h of i.list())D.push(Tt(h,_,B));return D.push(p),Ke(D)}).catch(h=>gt(h,8)?h:Promise.reject(h))}function St(_,B,D){l.list().forEach(N=>Je(()=>N(_,B,D)))}function Dt(_,B,D,N,re){const me=O(_,B);if(me)return me;const p=B===At,h=en?history.state:{};D&&(N||p?r.replace(_.fullPath,ie({scroll:p&&h&&h.scroll},re)):r.push(_.fullPath,re)),c.value=_,ot(_,B,D,p),Ct()}let rt;function pn(){rt||(rt=r.listen((_,B,D)=>{if(!Kn.listening)return;const N=I(_),re=Y(N);if(re){G(ie(re,{replace:!0}),N).catch(An);return}a=N;const me=c.value;en&&Qu(Po(me.fullPath,D.delta),Rs()),st(N,me).catch(p=>gt(p,12)?p:gt(p,2)?(G(p.to,N).then(h=>{gt(h,20)&&!D.delta&&D.type===Ln.pop&&r.go(-1,!1)}).catch(An),Promise.reject()):(D.delta&&r.go(-D.delta,!1),te(p,N,me))).then(p=>{p=p||Dt(N,me,!1),p&&(D.delta&&!gt(p,8)?r.go(-D.delta,!1):D.type===Ln.pop&>(p,20)&&r.go(-1,!1)),St(N,me,p)}).catch(An)}))}let Gt=bn(),Ee=bn(),le;function te(_,B,D){Ct(_);const N=Ee.list();return N.length?N.forEach(re=>re(_,B,D)):console.error(_),Promise.reject(_)}function ht(){return le&&c.value!==At?Promise.resolve():new Promise((_,B)=>{Gt.add([_,B])})}function Ct(_){return le||(le=!_,pn(),Gt.list().forEach(([B,D])=>_?D(_):B()),Gt.reset()),_}function ot(_,B,D,N){const{scrollBehavior:re}=e;if(!en||!re)return Promise.resolve();const me=!D&&Gu(Po(_.fullPath,0))||(N||!D)&&history.state&&history.state.scroll||null;return Mr().then(()=>re(_,B,me)).then(p=>p&&Wu(p)).catch(p=>te(p,_,B))}const De=_=>r.go(_);let Jt;const Zt=new Set,Kn={currentRoute:c,listening:!0,addRoute:m,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:w,getRoutes:E,resolve:I,options:e,push:L,replace:V,go:De,back:()=>De(-1),forward:()=>De(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:Ee.add,isReady:ht,install(_){const B=this;_.component("RouterLink",vf),_.component("RouterView",Cl),_.config.globalProperties.$router=B,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>Me(c)}),en&&!Jt&&c.value===At&&(Jt=!0,L(r.location).catch(re=>{}));const D={};for(const re in At)Object.defineProperty(D,re,{get:()=>c.value[re],enumerable:!0});_.provide(ks,B),_.provide(Nr,Ti(D)),_.provide(mr,c);const N=_.unmount;Zt.add(_),_.unmount=function(){Zt.delete(_),Zt.size<1&&(a=At,rt&&rt(),rt=null,c.value=At,Jt=!1,le=!1),N()}}};function Ke(_){return _.reduce((B,D)=>B.then(()=>Je(D)),Promise.resolve())}return Kn}function Cf(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;icn(a,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(a=>cn(a,c))||r.push(c))}return[n,s,r]}function Ur(){return et(ks)}function Al(e){return et(Nr)}const Af={__name:"App",setup(e){return(t,n)=>(S(),Ge(Me(Cl)))}},Rf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2023%2023'%3e%3cpath%20fill='%23f3f3f3'%20d='M0%200h23v23H0z'/%3e%3cpath%20fill='%23f35325'%20d='M1%201h10v10H1z'/%3e%3cpath%20fill='%2381bc06'%20d='M12%201h10v10H12z'/%3e%3cpath%20fill='%2305a6f0'%20d='M1%2012h10v10H1z'/%3e%3cpath%20fill='%23ffba08'%20d='M12%2012h10v10H12z'/%3e%3c/svg%3e",we=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},kf={props:{customClass:{type:String},sizeClass:{type:String,default:"text-5xl"}}},Tf={class:"flex space-x-1"};function Of(e,t,n,s,r,o){return S(),k("div",Tf,[f("h1",{class:Z([n.customClass||"text-light"])},[f("span",{class:Z(["italic",n.sizeClass])},"Achei",2)],2),f("h1",{class:Z([n.customClass||"text-light"])},[f("span",{class:Z(["font-bold",n.sizeClass])},"UnB",2)],2)])}const _t=we(kf,[["render",Of]]),Pf={id:"transition-screen",class:"fixed inset-0 flex items-center justify-center z-50"},If={class:"fixed inset-0 flex items-center justify-center z-50"},Mf={id:"main-content",class:"telaInteira bg-azul text-white p-4 min-h-screen hidden"},Lf={class:"titulo flex space-x-1 mt-20 mb-20 ml-8 md:flex md:justify-center md:mb-52"},jf={__name:"Login",setup(e){window.addEventListener("load",()=>{const n=document.getElementById("transition-screen"),s=document.getElementById("main-content");setTimeout(()=>{n.classList.add("fade-out")},500),n.addEventListener("animationend",()=>{n.classList.add("hidden"),s.classList.remove("hidden"),s.classList.add("fade-in")})});function t(){window.location.href="https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=f1b79927-10ff-4601-a361-f9cab58fb250&scope=User.Read&response_type=code&state=Zay5NfY4tSn7JgvO&domain=alunos.unb.br"}return(n,s)=>(S(),k(Q,null,[f("div",Pf,[f("div",If,[F(_t,{customClass:"text-azul"})])]),f("div",Mf,[f("div",Lf,[F(_t)]),s[1]||(s[1]=f("div",{class:"slogan max-w-72 ml-8 md:mr-8 md:max-w-none md:w-auto md:text-center"},[f("p",{class:"text-5xl font-bold mb-4 md:text-6xl"},"Perdeu algo no campus?"),f("p",{class:"text-5xl italic font-light mb-4 md:text-6xl"},"A gente te ajuda!")],-1)),f("div",{class:"flex justify-center mt-52"},[f("button",{onClick:t,class:"flex items-center rounded-full bg-gray-50 px-5 py-3 text-md font-medium text-azul ring-1 ring-inset ring-gray-500/10"},s[0]||(s[0]=[f("img",{src:Rf,alt:"Logo Microsoft",class:"h-6 w-auto mr-2"},null,-1),Se(" Entre com a conta da Microsoft ")]))])])],64))}},Ko=we(jf,[["__scopeId","data-v-cdb7a9e0"]]),Df={name:"AboutHeader",props:{text:String}},$f={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-center text-white p-6"},Ff={class:"font-inter font-semibold text-2xl"};function Bf(e,t,n,s,r,o){return S(),k("div",$f,[f("div",null,[f("span",Ff,ee(n.text?n.text:"Sobre o projeto"),1)])])}const Nf=we(Df,[["render",Bf]]),Uf={name:"MainMenu",props:{activeIcon:String}},zf={class:"h-full bg-azul shadow-md rounded-t-xl flex items-center justify-center text-white gap-x-9 p-8"};function Hf(e,t,n,s,r,o){const i=he("router-link");return S(),k("div",zf,[F(i,{to:"/found",class:"no-underline"},{default:ge(()=>[(S(),k("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:Z(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="search"}])},t[0]||(t[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"},null,-1)]),2))]),_:1}),F(i,{to:"/user",class:"no-underline"},{default:ge(()=>[(S(),k("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:Z(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="user"}])},t[1]||(t[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"},null,-1)]),2))]),_:1}),F(i,{to:"/about",class:"no-underline"},{default:ge(()=>[(S(),k("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:Z(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="info"}])},t[2]||(t[2]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"},null,-1)]),2))]),_:1}),F(i,{to:"/chats",class:"no-underline"},{default:ge(()=>[(S(),k("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:Z(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="chat"}])},t[3]||(t[3]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 0 1-2.555-.337A5.972 5.972 0 0 1 5.41 20.97a5.969 5.969 0 0 1-.474-.065 4.48 4.48 0 0 0 .978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25Z"},null,-1)]),2))]),_:1})])}const Et=we(Uf,[["render",Hf]]),qf="/static/dist/assets/Favicon-DZaE_dAz.png",Vf={class:"relative min-h-screen"},Kf={class:"fixed w-full top-0",style:{"z-index":"1"}},Wf={class:"pt-[120px] flex justify-center my-6 text-azul"},Qf={class:"max-w-4xl mx-auto mt-10 p-5 pb-[140px]"},Gf={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6"},Jf=["href"],Zf=["src","alt"],Xf={class:"text-center mt-2"},Yf={class:"font-inter font-medium"},ed={class:"fixed bottom-0 w-full"},td={__name:"About",setup(e){const t=X(qf),n=[{name:"Ana Elisa Ramos",github:"https://github.com/anaelisaramos",image:"https://github.com/anaelisaramos.png"},{name:"Davi Camilo",github:"https://github.com/DaviCamilo23",image:"https://github.com/DaviCamilo23.png"},{name:"Euller Júlio da Silva",github:"https://github.com/potatoyz908",image:"https://github.com/potatoyz908.png"},{name:"Leonardo Ramiro",github:"https://github.com/leoramiroo",image:"https://github.com/leoramiroo.png"},{name:"Pedro Everton",github:"https://github.com/pedroeverton217",image:"https://github.com/pedroeverton217.png"},{name:"Pedro Martins Silva",github:"https://github.com/314dro",image:"https://github.com/314dro.png"},{name:"Tiago Balieiro",github:"https://github.com/TiagoBalieiro",image:"https://github.com/TiagoBalieiro.png"}];return(s,r)=>{const o=he("ButtonAdd");return S(),k("div",Vf,[f("div",{class:"absolute inset-0 bg-no-repeat bg-cover bg-center opacity-10 z-[-1]",style:$n({backgroundImage:`url(${t.value})`,backgroundSize:s.isLargeScreen?"50%":"contain",backgroundAttachment:"fixed"})},null,4),f("div",Kf,[F(Nf)]),f("div",Wf,[F(_t)]),r[2]||(r[2]=f("span",{class:"font-inter text-azul text-center flex justify-center items-center mx-auto max-w-3xl sm:px-0 px-4 md:max-w-2xl mt-7"},[Se(" Somos um grupo da disciplina Métodos de Desenvolvimento de Software da Universidade de Brasília."),f("br"),Se(" Temos como objetivo solucionar um dos problemas da faculdade, que é a falta de ferramentas para organizar itens achados e perdidos pelos estudantes."),f("br"),Se(" Com o AcheiUnB você consegue de forma simples e intuitiva procurar pelo seu item perdido ou cadastrar um item que você encontrou. ")],-1)),r[3]||(r[3]=f("div",{class:"flex justify-center mt-6"},[f("a",{href:"https://unb-mds.github.io/2024-2-AcheiUnB/CONTRIBUTING/",target:"_blank",class:"bg-laranja text-white font-semibold px-8 py-3 text-lg lg:text-xl rounded-full hover:bg-azulEscuro transition hover:text-white duration-300 shadow-md hover:scale-110 transition-transform"}," Como Contribuir? ")],-1)),f("div",Qf,[r[1]||(r[1]=f("div",{class:"text-azul text-lg text-center font-semibold mb-7"},"Criado por:",-1)),f("div",Gf,[(S(),k(Q,null,xe(n,i=>f("div",{key:i.name,class:"flex flex-col items-center"},[f("a",{href:i.github,target:"_blank"},[f("img",{src:i.image,alt:i.name,class:"w-[100px] rounded-full hover:scale-110 transition-transform"},null,8,Zf)],8,Jf),f("div",Xf,[f("p",Yf,ee(i.name),1),r[0]||(r[0]=f("p",{class:"text-sm text-cinza3"},"Engenharia de Software",-1))])])),64))])]),F(o),f("div",ed,[F(Et,{activeIcon:"info"})])])}}},zr="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%238899a8'%20class='size-6'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m14.74%209-.346%209m-4.788%200L9.26%209m9.968-3.21c.342.052.682.107%201.022.166m-1.022-.165L18.16%2019.673a2.25%202.25%200%200%201-2.244%202.077H8.084a2.25%202.25%200%200%201-2.244-2.077L4.772%205.79m14.456%200a48.108%2048.108%200%200%200-3.478-.397m-12%20.562c.34-.059.68-.114%201.022-.165m0%200a48.11%2048.11%200%200%201%203.478-.397m7.5%200v-.916c0-1.18-.91-2.164-2.09-2.201a51.964%2051.964%200%200%200-3.32%200c-1.18.037-2.09%201.022-2.09%202.201v.916m7.5%200a48.667%2048.667%200%200%200-7.5%200'%20/%3e%3c/svg%3e",nd="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%23133E78'%20%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M15%2010.5a3%203%200%201%201-6%200%203%203%200%200%201%206%200Z'%20/%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M19.5%2010.5c0%207.142-7.5%2011.25-7.5%2011.25S4.5%2017.642%204.5%2010.5a7.5%207.5%200%201%201%2015%200Z'%20/%3e%3c/svg%3e",sd={class:"w-full h-[120px] bg-cinza2 rounded-sm flex justify-center items-start"},rd=["src"],od={key:1,class:"fixed inset-0 flex items-center justify-center"},id={class:"flex flex-col sm:flex-row justify-center mt-4 gap-4"},ld={class:"text-azul font-bold font-inter mt-1 truncate"},ad={class:"flex items-start"},cd={class:"text-azul font-inter text-sm"},ud={class:"text-right font-inter font-bold text-xs text-cinza3 p-1 flex justify-end items-center"},Ts={__name:"Item-Card",props:{id:Number,image:String,name:String,time:String,location:String,isMyItem:{type:Boolean,default:!1}},emits:["delete"],setup(e,{emit:t}){const n=e,s=t,r=Ur(),o=X(!1),i=()=>{o.value||r.push({name:"ListItem",query:{idItem:n.id}})},l=()=>{s("delete",n.id),o.value=!1};return(c,a)=>(S(),k("div",{class:"w-[170px] sm:w-[190px] h-[230px] bg-cinza1 rounded-sm shadow-complete p-2 flex flex-col relative z-0",onClick:a[3]||(a[3]=u=>i())},[f("div",sd,[f("img",{src:e.image,class:"rounded-sm w-full h-full max-w-full max-h-full object-cover"},null,8,rd)]),e.isMyItem?(S(),k("button",{key:0,class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-7 h-7 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:a[0]||(a[0]=Ro(u=>o.value=!0,["stop"]))},a[4]||(a[4]=[f("img",{src:zr,alt:"Excluir"},null,-1)]))):be("",!0),o.value?(S(),k("div",od,[f("div",{class:"bg-azul p-6 rounded-lg shadow-lg w-full max-w-sm sm:max-w-md lg:max-w-lg text-center",onClick:a[2]||(a[2]=Ro(()=>{},["stop"]))},[a[5]||(a[5]=f("p",{class:"text-white font-inter text-lg"}," Você realmente deseja excluir este item do AcheiUnB? ",-1)),f("div",id,[f("button",{class:"bg-red-500 text-white font-inter px-4 py-2 rounded-md hover:bg-red-600 transition w-full sm:w-auto",onClick:l}," Excluir "),f("button",{class:"bg-white font-inter px-4 py-2 rounded-md hover:bg-gray-200 transition w-full sm:w-auto",onClick:a[1]||(a[1]=u=>o.value=!1)}," Cancelar ")])])])):be("",!0),a[7]||(a[7]=f("div",{class:"h-[2px] w-1/4 bg-laranja mt-4"},null,-1)),f("div",ld,ee(e.name),1),f("div",ad,[a[6]||(a[6]=f("img",{src:nd,alt:"",class:"w-[15px] h-[15px] mr-1"},null,-1)),f("div",cd,ee(e.location),1)]),f("span",ud,[e.isMyItem?be("",!0):(S(),k(Q,{key:0},[Se(ee(e.time),1)],64))])]))}},Rl="data:image/svg+xml,%3csvg%20class='svg%20w-8'%20fill='none'%20height='24'%20stroke='%23133E78'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20viewBox='0%200%2024%2024'%20width='24'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cline%20x1='12'%20x2='12'%20y1='5'%20y2='19'%3e%3c/line%3e%3cline%20x1='5'%20x2='19'%20y1='12'%20y2='12'%3e%3c/line%3e%3c/svg%3e",fd={props:{customClass:{name:"ButtonAdd",type:String}}};function dd(e,t,n,s,r,o){const i=he("router-link");return S(),Ge(i,{to:"/register-lost"},{default:ge(()=>t[0]||(t[0]=[f("button",{class:"fixed right-0 bottom-28 rounded-l-lg w-60 h-12 cursor-pointer flex items-center border border-laranja bg-laranja group hover:bg-laranja active:bg-laranja active:border-laranja"},[f("span",{class:"text-azul font-inter font-medium ml-6 transform group-hover:translate-x-0"},"Adicionar item perdido"),f("span",{class:"absolute right-0 h-full w-10 rounded-lg bg-laranja flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300"},[f("img",{src:Rl,alt:""})])],-1)])),_:1})}const pd=we(fd,[["render",dd]]),ae=Fn({searchQuery:"",activeCategory:null,activeLocation:null}),hd=e=>{ae.searchQuery=e},md=e=>{ae.activeCategory==e?ae.activeCategory=null:ae.activeCategory=e},gd=e=>{ae.activeLocation==e?ae.activeLocation=null:ae.activeLocation=e},bd={name:"SearchBar",setup(){return{filtersState:ae,setSearchQuery:hd,setActiveCategory:md,setActiveLocation:gd}},data(){return{showFilters:!1,isActive:!1,categories:[{label:"Animais",active:!1},{label:"Eletrônicos",active:!1},{label:"Mochilas e Bolsas",active:!1},{label:"Chaves",active:!1},{label:"Livros e Materiais Acadêmicos",active:!1},{label:"Documentos e Cartões",active:!1},{label:"Equipamentos Esportivos",active:!1},{label:"Roupas e Acessórios",active:!1},{label:"Itens Pessoais",active:!1},{label:"Outros",active:!1}],locations:[{label:"RU",active:!1},{label:"Biblioteca",active:!1},{label:"UED",active:!1},{label:"UAC",active:!1},{label:"LTDEA",active:!1},{label:"Centro Acadêmico",active:!1}]}},computed:{isMediumOrLarger(){return window.innerWidth>=768},searchQueryWithoutAccents(){return this.searchQuery?this.searchQuery.normalize("NFD").replace(/[\u0300-\u036f]/g,""):""}},methods:{toggleActive(){this.isActive=!this.isActive},toggleFilters(){this.showFilters=!this.showFilters},toggleFilter(e,t){e==="category"?this.categories.forEach((n,s)=>{s===t?n.active=!n.active:n.active=!1}):e==="location"&&this.locations.forEach((n,s)=>{s===t?n.active=!n.active:n.active=!1})}}},xd={class:"flex gap-2 flex-wrap mt-4"},yd=["onClick"],vd={class:"flex gap-2 flex-wrap mt-4"},_d=["onClick"];function wd(e,t,n,s,r,o){return S(),k("form",{class:Z(["absolute flex items-center",{"fixed w-full top-6 pr-8 z-50":r.isActive&&!o.isMediumOrLarger,"relative w-auto":!r.isActive||o.isMediumOrLarger}])},[f("button",{onClick:t[0]||(t[0]=i=>{o.toggleFilters(),o.toggleActive()}),class:"absolute left-3 text-gray-500 hover:text-gray-700 transition-colors z-50",type:"button"},t[5]||(t[5]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-6"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"})],-1)])),Ae(f("input",{"onUpdate:modelValue":t[1]||(t[1]=i=>s.filtersState.searchQuery=i),class:"input bg-gray-200 rounded-full px-10 py-2 my-1 border-2 border-transparent focus:outline-none focus:border-laranja placeholder-gray-500 text-gray-700 transition-all duration-300 shadow-md pr-10 w-full z-40",placeholder:"Pesquise seu item",type:"text",onInput:t[2]||(t[2]=i=>s.setSearchQuery(s.filtersState.searchQuery)),onFocus:t[3]||(t[3]=i=>r.isActive=!0),onBlur:t[4]||(t[4]=i=>{r.isActive=!1,r.showFilters=!1})},null,544),[[vt,s.filtersState.searchQuery]]),f("button",{class:Z(["absolute right-4 top-1/2 -translate-y-1/2 p-1 text-gray-400 hover:text-gray-600 transition-colors duration-200 z-50",{"pr-8":r.isActive&&!o.isMediumOrLarger}]),type:"submit"},t[6]||(t[6]=[f("svg",{width:"17",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-labelledby":"search",class:"w-5 h-5"},[f("path",{d:"M7.667 12.667A5.333 5.333 0 107.667 2a5.333 5.333 0 000 10.667zM14.334 14l-2.9-2.9",stroke:"currentColor","stroke-width":"1.333","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]),2),r.showFilters?(S(),k("div",{key:0,class:Z(["absolute left-0 bg-gray-200 shadow-lg rounded-xl p-4 z-30",{"w-fit mr-8":r.isActive&&!o.isMediumOrLarger,"w-full":o.isMediumOrLarger}]),style:{top:"calc(50% - 4px)"}},[f("div",xd,[t[7]||(t[7]=f("span",{class:"w-full text-azul text-2xl font-bold"},"Categoria ",-1)),(S(!0),k(Q,null,xe(r.categories,(i,l)=>(S(),k("button",{key:l,onClick:c=>(o.toggleFilter("category",l),s.setActiveCategory(i.label)),class:Z(["px-4 py-2 rounded-full border text-sm",i.active?"bg-laranja text-azul border-black":"bg-gray-200 text-azul border-black"])},ee(i.label),11,yd))),128))]),t[9]||(t[9]=f("div",{class:"h-[2px] w-full bg-laranja mt-4"},null,-1)),f("div",vd,[t[8]||(t[8]=f("span",{class:"w-full text-azul text-2xl font-bold"},"Local ",-1)),(S(!0),k(Q,null,xe(r.locations,(i,l)=>(S(),k("button",{key:l,onClick:c=>(o.toggleFilter("location",l),s.setActiveLocation(i.label)),class:Z(["px-4 py-2 rounded-full border text-sm",i.active?"bg-laranja text-azul border-black":"bg-gray-200 text-azul border-black"])},ee(i.label),11,_d))),128))])],2)):be("",!0)],2)}const Ed=we(bd,[["render",wd]]),Sd={name:"SearchHeader",components:{SearchBar:Ed,Logo:_t}},Cd={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between text-white gap-x-9 p-4"},Ad={class:"flex-1"};function Rd(e,t,n,s,r,o){const i=he("SearchBar"),l=he("Logo"),c=he("router-link");return S(),k("div",Cd,[f("div",Ad,[F(i)]),f("button",null,[F(c,{to:"/about",class:"no-underline text-white"},{default:ge(()=>[F(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const Hr=we(Sd,[["render",Rd]]),kd={name:"SubMenu"},Td={class:"flex pt-8 space-x-8 justify-center"};function Od(e,t,n,s,r,o){const i=he("router-link");return S(),k("div",Td,[F(i,{to:"/found",class:"no-underline font-inter font-bold text-cinza3"},{default:ge(()=>t[0]||(t[0]=[Se(" Achados ")])),_:1}),t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Perdidos"),f("div",{class:"h-[2px] bg-laranja"})],-1))])}const Pd=we(kd,[["render",Od]]);function kl(e,t){return function(){return e.apply(t,arguments)}}const{toString:Id}=Object.prototype,{getPrototypeOf:qr}=Object,Os=(e=>t=>{const n=Id.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),nt=e=>(e=e.toLowerCase(),t=>Os(t)===e),Ps=e=>t=>typeof t===e,{isArray:fn}=Array,jn=Ps("undefined");function Md(e){return e!==null&&!jn(e)&&e.constructor!==null&&!jn(e.constructor)&&Ve(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Tl=nt("ArrayBuffer");function Ld(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Tl(e.buffer),t}const jd=Ps("string"),Ve=Ps("function"),Ol=Ps("number"),Is=e=>e!==null&&typeof e=="object",Dd=e=>e===!0||e===!1,es=e=>{if(Os(e)!=="object")return!1;const t=qr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},$d=nt("Date"),Fd=nt("File"),Bd=nt("Blob"),Nd=nt("FileList"),Ud=e=>Is(e)&&Ve(e.pipe),zd=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ve(e.append)&&((t=Os(e))==="formdata"||t==="object"&&Ve(e.toString)&&e.toString()==="[object FormData]"))},Hd=nt("URLSearchParams"),[qd,Vd,Kd,Wd]=["ReadableStream","Request","Response","Headers"].map(nt),Qd=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Un(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),fn(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const Ut=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Il=e=>!jn(e)&&e!==Ut;function gr(){const{caseless:e}=Il(this)&&this||{},t={},n=(s,r)=>{const o=e&&Pl(t,r)||r;es(t[o])&&es(s)?t[o]=gr(t[o],s):es(s)?t[o]=gr({},s):fn(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s(Un(t,(r,o)=>{n&&Ve(r)?e[o]=kl(r,n):e[o]=r},{allOwnKeys:s}),e),Jd=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Zd=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Xd=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&qr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Yd=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},ep=e=>{if(!e)return null;if(fn(e))return e;let t=e.length;if(!Ol(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},tp=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&qr(Uint8Array)),np=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},sp=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},rp=nt("HTMLFormElement"),op=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),Wo=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ip=nt("RegExp"),Ml=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Un(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},lp=e=>{Ml(e,(t,n)=>{if(Ve(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Ve(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ap=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return fn(e)?s(e):s(String(e).split(t)),n},cp=()=>{},up=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Xs="abcdefghijklmnopqrstuvwxyz",Qo="0123456789",Ll={DIGIT:Qo,ALPHA:Xs,ALPHA_DIGIT:Xs+Xs.toUpperCase()+Qo},fp=(e=16,t=Ll.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function dp(e){return!!(e&&Ve(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const pp=e=>{const t=new Array(10),n=(s,r)=>{if(Is(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=fn(s)?[]:{};return Un(s,(i,l)=>{const c=n(i,r+1);!jn(c)&&(o[l]=c)}),t[r]=void 0,o}}return s};return n(e,0)},hp=nt("AsyncFunction"),mp=e=>e&&(Is(e)||Ve(e))&&Ve(e.then)&&Ve(e.catch),jl=((e,t)=>e?setImmediate:t?((n,s)=>(Ut.addEventListener("message",({source:r,data:o})=>{r===Ut&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),Ut.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ve(Ut.postMessage)),gp=typeof queueMicrotask<"u"?queueMicrotask.bind(Ut):typeof process<"u"&&process.nextTick||jl,x={isArray:fn,isArrayBuffer:Tl,isBuffer:Md,isFormData:zd,isArrayBufferView:Ld,isString:jd,isNumber:Ol,isBoolean:Dd,isObject:Is,isPlainObject:es,isReadableStream:qd,isRequest:Vd,isResponse:Kd,isHeaders:Wd,isUndefined:jn,isDate:$d,isFile:Fd,isBlob:Bd,isRegExp:ip,isFunction:Ve,isStream:Ud,isURLSearchParams:Hd,isTypedArray:tp,isFileList:Nd,forEach:Un,merge:gr,extend:Gd,trim:Qd,stripBOM:Jd,inherits:Zd,toFlatObject:Xd,kindOf:Os,kindOfTest:nt,endsWith:Yd,toArray:ep,forEachEntry:np,matchAll:sp,isHTMLForm:rp,hasOwnProperty:Wo,hasOwnProp:Wo,reduceDescriptors:Ml,freezeMethods:lp,toObjectSet:ap,toCamelCase:op,noop:cp,toFiniteNumber:up,findKey:Pl,global:Ut,isContextDefined:Il,ALPHABET:Ll,generateString:fp,isSpecCompliantForm:dp,toJSONObject:pp,isAsyncFn:hp,isThenable:mp,setImmediate:jl,asap:gp};function W(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}x.inherits(W,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:x.toJSONObject(this.config),code:this.code,status:this.status}}});const Dl=W.prototype,$l={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{$l[e]={value:e}});Object.defineProperties(W,$l);Object.defineProperty(Dl,"isAxiosError",{value:!0});W.from=(e,t,n,s,r,o)=>{const i=Object.create(Dl);return x.toFlatObject(e,i,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),W.call(i,e.message,t,n,s,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const bp=null;function br(e){return x.isPlainObject(e)||x.isArray(e)}function Fl(e){return x.endsWith(e,"[]")?e.slice(0,-2):e}function Go(e,t,n){return e?e.concat(t).map(function(r,o){return r=Fl(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function xp(e){return x.isArray(e)&&!e.some(br)}const yp=x.toFlatObject(x,{},null,function(t){return/^is[A-Z]/.test(t)});function Ms(e,t,n){if(!x.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=x.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,w){return!x.isUndefined(w[E])});const s=n.metaTokens,r=n.visitor||u,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&x.isSpecCompliantForm(t);if(!x.isFunction(r))throw new TypeError("visitor must be a function");function a(y){if(y===null)return"";if(x.isDate(y))return y.toISOString();if(!c&&x.isBlob(y))throw new W("Blob is not supported. Use a Buffer instead.");return x.isArrayBuffer(y)||x.isTypedArray(y)?c&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function u(y,E,w){let I=y;if(y&&!w&&typeof y=="object"){if(x.endsWith(E,"{}"))E=s?E:E.slice(0,-2),y=JSON.stringify(y);else if(x.isArray(y)&&xp(y)||(x.isFileList(y)||x.endsWith(E,"[]"))&&(I=x.toArray(y)))return E=Fl(E),I.forEach(function(O,L){!(x.isUndefined(O)||O===null)&&t.append(i===!0?Go([E],L,o):i===null?E:E+"[]",a(O))}),!1}return br(y)?!0:(t.append(Go(w,E,o),a(y)),!1)}const d=[],g=Object.assign(yp,{defaultVisitor:u,convertValue:a,isVisitable:br});function m(y,E){if(!x.isUndefined(y)){if(d.indexOf(y)!==-1)throw Error("Circular reference detected in "+E.join("."));d.push(y),x.forEach(y,function(I,T){(!(x.isUndefined(I)||I===null)&&r.call(t,I,x.isString(T)?T.trim():T,E,g))===!0&&m(I,E?E.concat(T):[T])}),d.pop()}}if(!x.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Jo(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Vr(e,t){this._pairs=[],e&&Ms(e,this,t)}const Bl=Vr.prototype;Bl.append=function(t,n){this._pairs.push([t,n])};Bl.toString=function(t){const n=t?function(s){return t.call(this,s,Jo)}:Jo;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function vp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Nl(e,t,n){if(!t)return e;const s=n&&n.encode||vp;x.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(r?o=r(t,n):o=x.isURLSearchParams(t)?t.toString():new Vr(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Zo{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){x.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Ul={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},_p=typeof URLSearchParams<"u"?URLSearchParams:Vr,wp=typeof FormData<"u"?FormData:null,Ep=typeof Blob<"u"?Blob:null,Sp={isBrowser:!0,classes:{URLSearchParams:_p,FormData:wp,Blob:Ep},protocols:["http","https","file","blob","url","data"]},Kr=typeof window<"u"&&typeof document<"u",xr=typeof navigator=="object"&&navigator||void 0,Cp=Kr&&(!xr||["ReactNative","NativeScript","NS"].indexOf(xr.product)<0),Ap=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Rp=Kr&&window.location.href||"http://localhost",kp=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Kr,hasStandardBrowserEnv:Cp,hasStandardBrowserWebWorkerEnv:Ap,navigator:xr,origin:Rp},Symbol.toStringTag,{value:"Module"})),Pe={...kp,...Sp};function Tp(e,t){return Ms(e,new Pe.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return Pe.isNode&&x.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Op(e){return x.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Pp(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s=n.length;return i=!i&&x.isArray(r)?r.length:i,c?(x.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!l):((!r[i]||!x.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&x.isArray(r[i])&&(r[i]=Pp(r[i])),!l)}if(x.isFormData(e)&&x.isFunction(e.entries)){const n={};return x.forEachEntry(e,(s,r)=>{t(Op(s),r,n,0)}),n}return null}function Ip(e,t,n){if(x.isString(e))try{return(t||JSON.parse)(e),x.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(0,JSON.stringify)(e)}const zn={transitional:Ul,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=x.isObject(t);if(o&&x.isHTMLForm(t)&&(t=new FormData(t)),x.isFormData(t))return r?JSON.stringify(zl(t)):t;if(x.isArrayBuffer(t)||x.isBuffer(t)||x.isStream(t)||x.isFile(t)||x.isBlob(t)||x.isReadableStream(t))return t;if(x.isArrayBufferView(t))return t.buffer;if(x.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Tp(t,this.formSerializer).toString();if((l=x.isFileList(t))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Ms(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),Ip(t)):t}],transformResponse:[function(t){const n=this.transitional||zn.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(x.isResponse(t)||x.isReadableStream(t))return t;if(t&&x.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?W.from(l,W.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Pe.classes.FormData,Blob:Pe.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};x.forEach(["delete","get","head","post","put","patch"],e=>{zn.headers[e]={}});const Mp=x.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Lp=e=>{const t={};let n,s,r;return e&&e.split(` -`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&Mp[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},Xo=Symbol("internals");function xn(e){return e&&String(e).trim().toLowerCase()}function ts(e){return e===!1||e==null?e:x.isArray(e)?e.map(ts):String(e)}function jp(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const Dp=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ys(e,t,n,s,r){if(x.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!x.isString(t)){if(x.isString(s))return t.indexOf(s)!==-1;if(x.isRegExp(s))return s.test(t)}}function $p(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Fp(e,t){const n=x.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}class $e{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,c,a){const u=xn(c);if(!u)throw new Error("header name must be a non-empty string");const d=x.findKey(r,u);(!d||r[d]===void 0||a===!0||a===void 0&&r[d]!==!1)&&(r[d||c]=ts(l))}const i=(l,c)=>x.forEach(l,(a,u)=>o(a,u,c));if(x.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(x.isString(t)&&(t=t.trim())&&!Dp(t))i(Lp(t),n);else if(x.isHeaders(t))for(const[l,c]of t.entries())o(c,l,s);else t!=null&&o(n,t,s);return this}get(t,n){if(t=xn(t),t){const s=x.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return jp(r);if(x.isFunction(n))return n.call(this,r,s);if(x.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=xn(t),t){const s=x.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||Ys(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=xn(i),i){const l=x.findKey(s,i);l&&(!n||Ys(s,s[l],l,n))&&(delete s[l],r=!0)}}return x.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||Ys(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return x.forEach(this,(r,o)=>{const i=x.findKey(s,o);if(i){n[i]=ts(r),delete n[o];return}const l=t?$p(o):String(o).trim();l!==o&&delete n[o],n[l]=ts(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return x.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&x.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[Xo]=this[Xo]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=xn(i);s[l]||(Fp(r,i),s[l]=!0)}return x.isArray(t)?t.forEach(o):o(t),this}}$e.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);x.reduceDescriptors($e.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});x.freezeMethods($e);function er(e,t){const n=this||zn,s=t||n,r=$e.from(s.headers);let o=s.data;return x.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Hl(e){return!!(e&&e.__CANCEL__)}function dn(e,t,n){W.call(this,e??"canceled",W.ERR_CANCELED,t,n),this.name="CanceledError"}x.inherits(dn,W,{__CANCEL__:!0});function ql(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new W("Request failed with status code "+n.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Bp(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Np(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const a=Date.now(),u=s[o];i||(i=a),n[r]=c,s[r]=a;let d=o,g=0;for(;d!==r;)g+=n[d++],d=d%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),a-i{n=u,r=null,o&&(clearTimeout(o),o=null),e.apply(null,a)};return[(...a)=>{const u=Date.now(),d=u-n;d>=s?i(a,u):(r=a,o||(o=setTimeout(()=>{o=null,i(r)},s-d)))},()=>r&&i(r)]}const ps=(e,t,n=3)=>{let s=0;const r=Np(50,250);return Up(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,c=i-s,a=r(c),u=i<=l;s=i;const d={loaded:i,total:l,progress:l?i/l:void 0,bytes:c,rate:a||void 0,estimated:a&&l&&u?(l-i)/a:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(d)},n)},Yo=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},ei=e=>(...t)=>x.asap(()=>e(...t)),zp=Pe.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Pe.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Pe.origin),Pe.navigator&&/(msie|trident)/i.test(Pe.navigator.userAgent)):()=>!0,Hp=Pe.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const i=[e+"="+encodeURIComponent(t)];x.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),x.isString(s)&&i.push("path="+s),x.isString(r)&&i.push("domain="+r),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function qp(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Vp(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Vl(e,t){return e&&!qp(t)?Vp(e,t):t}const ti=e=>e instanceof $e?{...e}:e;function Wt(e,t){t=t||{};const n={};function s(a,u,d,g){return x.isPlainObject(a)&&x.isPlainObject(u)?x.merge.call({caseless:g},a,u):x.isPlainObject(u)?x.merge({},u):x.isArray(u)?u.slice():u}function r(a,u,d,g){if(x.isUndefined(u)){if(!x.isUndefined(a))return s(void 0,a,d,g)}else return s(a,u,d,g)}function o(a,u){if(!x.isUndefined(u))return s(void 0,u)}function i(a,u){if(x.isUndefined(u)){if(!x.isUndefined(a))return s(void 0,a)}else return s(void 0,u)}function l(a,u,d){if(d in t)return s(a,u);if(d in e)return s(void 0,a)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(a,u,d)=>r(ti(a),ti(u),d,!0)};return x.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=c[u]||r,g=d(e[u],t[u],u);x.isUndefined(g)&&d!==l||(n[u]=g)}),n}const Kl=e=>{const t=Wt({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:i,auth:l}=t;t.headers=i=$e.from(i),t.url=Nl(Vl(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(x.isFormData(n)){if(Pe.hasStandardBrowserEnv||Pe.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((c=i.getContentType())!==!1){const[a,...u]=c?c.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([a||"multipart/form-data",...u].join("; "))}}if(Pe.hasStandardBrowserEnv&&(s&&x.isFunction(s)&&(s=s(t)),s||s!==!1&&zp(t.url))){const a=r&&o&&Hp.read(o);a&&i.set(r,a)}return t},Kp=typeof XMLHttpRequest<"u",Wp=Kp&&function(e){return new Promise(function(n,s){const r=Kl(e);let o=r.data;const i=$e.from(r.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:a}=r,u,d,g,m,y;function E(){m&&m(),y&&y(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let w=new XMLHttpRequest;w.open(r.method.toUpperCase(),r.url,!0),w.timeout=r.timeout;function I(){if(!w)return;const O=$e.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),V={data:!l||l==="text"||l==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:O,config:e,request:w};ql(function(G){n(G),E()},function(G){s(G),E()},V),w=null}"onloadend"in w?w.onloadend=I:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(I)},w.onabort=function(){w&&(s(new W("Request aborted",W.ECONNABORTED,e,w)),w=null)},w.onerror=function(){s(new W("Network Error",W.ERR_NETWORK,e,w)),w=null},w.ontimeout=function(){let L=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const V=r.transitional||Ul;r.timeoutErrorMessage&&(L=r.timeoutErrorMessage),s(new W(L,V.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,w)),w=null},o===void 0&&i.setContentType(null),"setRequestHeader"in w&&x.forEach(i.toJSON(),function(L,V){w.setRequestHeader(V,L)}),x.isUndefined(r.withCredentials)||(w.withCredentials=!!r.withCredentials),l&&l!=="json"&&(w.responseType=r.responseType),a&&([g,y]=ps(a,!0),w.addEventListener("progress",g)),c&&w.upload&&([d,m]=ps(c),w.upload.addEventListener("progress",d),w.upload.addEventListener("loadend",m)),(r.cancelToken||r.signal)&&(u=O=>{w&&(s(!O||O.type?new dn(null,e,w):O),w.abort(),w=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const T=Bp(r.url);if(T&&Pe.protocols.indexOf(T)===-1){s(new W("Unsupported protocol "+T+":",W.ERR_BAD_REQUEST,e));return}w.send(o||null)})},Qp=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(a){if(!r){r=!0,l();const u=a instanceof Error?a:this.reason;s.abort(u instanceof W?u:new dn(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,o(new W(`timeout ${t} of ms exceeded`,W.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(a=>{a.unsubscribe?a.unsubscribe(o):a.removeEventListener("abort",o)}),e=null)};e.forEach(a=>a.addEventListener("abort",o));const{signal:c}=s;return c.unsubscribe=()=>x.asap(l),c}},Gp=function*(e,t){let n=e.byteLength;if(n{const r=Jp(e,t);let o=0,i,l=c=>{i||(i=!0,s&&s(c))};return new ReadableStream({async pull(c){try{const{done:a,value:u}=await r.next();if(a){l(),c.close();return}let d=u.byteLength;if(n){let g=o+=d;n(g)}c.enqueue(new Uint8Array(u))}catch(a){throw l(a),a}},cancel(c){return l(c),r.return()}},{highWaterMark:2})},Ls=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Wl=Ls&&typeof ReadableStream=="function",Xp=Ls&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ql=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Yp=Wl&&Ql(()=>{let e=!1;const t=new Request(Pe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),si=64*1024,yr=Wl&&Ql(()=>x.isReadableStream(new Response("").body)),hs={stream:yr&&(e=>e.body)};Ls&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!hs[t]&&(hs[t]=x.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new W(`Response type '${t}' is not supported`,W.ERR_NOT_SUPPORT,s)})})})(new Response);const eh=async e=>{if(e==null)return 0;if(x.isBlob(e))return e.size;if(x.isSpecCompliantForm(e))return(await new Request(Pe.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(x.isArrayBufferView(e)||x.isArrayBuffer(e))return e.byteLength;if(x.isURLSearchParams(e)&&(e=e+""),x.isString(e))return(await Xp(e)).byteLength},th=async(e,t)=>{const n=x.toFiniteNumber(e.getContentLength());return n??eh(t)},nh=Ls&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:o,timeout:i,onDownloadProgress:l,onUploadProgress:c,responseType:a,headers:u,withCredentials:d="same-origin",fetchOptions:g}=Kl(e);a=a?(a+"").toLowerCase():"text";let m=Qp([r,o&&o.toAbortSignal()],i),y;const E=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let w;try{if(c&&Yp&&n!=="get"&&n!=="head"&&(w=await th(u,s))!==0){let V=new Request(t,{method:"POST",body:s,duplex:"half"}),Y;if(x.isFormData(s)&&(Y=V.headers.get("content-type"))&&u.setContentType(Y),V.body){const[G,_e]=Yo(w,ps(ei(c)));s=ni(V.body,si,G,_e)}}x.isString(d)||(d=d?"include":"omit");const I="credentials"in Request.prototype;y=new Request(t,{...g,signal:m,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:I?d:void 0});let T=await fetch(y);const O=yr&&(a==="stream"||a==="response");if(yr&&(l||O&&E)){const V={};["status","statusText","headers"].forEach(Je=>{V[Je]=T[Je]});const Y=x.toFiniteNumber(T.headers.get("content-length")),[G,_e]=l&&Yo(Y,ps(ei(l),!0))||[];T=new Response(ni(T.body,si,G,()=>{_e&&_e(),E&&E()}),V)}a=a||"text";let L=await hs[x.findKey(hs,a)||"text"](T,e);return!O&&E&&E(),await new Promise((V,Y)=>{ql(V,Y,{data:L,headers:$e.from(T.headers),status:T.status,statusText:T.statusText,config:e,request:y})})}catch(I){throw E&&E(),I&&I.name==="TypeError"&&/fetch/i.test(I.message)?Object.assign(new W("Network Error",W.ERR_NETWORK,e,y),{cause:I.cause||I}):W.from(I,I&&I.code,e,y)}}),vr={http:bp,xhr:Wp,fetch:nh};x.forEach(vr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ri=e=>`- ${e}`,sh=e=>x.isFunction(e)||e===null||e===!1,Gl={getAdapter:e=>{e=x.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : -`+o.map(ri).join(` -`):" "+ri(o[0]):"as no adapter specified";throw new W("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:vr};function tr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new dn(null,e)}function oi(e){return tr(e),e.headers=$e.from(e.headers),e.data=er.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Gl.getAdapter(e.adapter||zn.adapter)(e).then(function(s){return tr(e),s.data=er.call(e,e.transformResponse,s),s.headers=$e.from(s.headers),s},function(s){return Hl(s)||(tr(e),s&&s.response&&(s.response.data=er.call(e,e.transformResponse,s.response),s.response.headers=$e.from(s.response.headers))),Promise.reject(s)})}const Jl="1.7.8",js={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{js[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const ii={};js.transitional=function(t,n,s){function r(o,i){return"[Axios v"+Jl+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new W(r(i," has been removed"+(n?" in "+n:"")),W.ERR_DEPRECATED);return n&&!ii[i]&&(ii[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};js.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function rh(e,t,n){if(typeof e!="object")throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new W("option "+o+" must be "+c,W.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new W("Unknown option "+o,W.ERR_BAD_OPTION)}}const ns={assertOptions:rh,validators:js},at=ns.validators;class qt{constructor(t){this.defaults=t,this.interceptors={request:new Zo,response:new Zo}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=` -`+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Wt(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&ns.assertOptions(s,{silentJSONParsing:at.transitional(at.boolean),forcedJSONParsing:at.transitional(at.boolean),clarifyTimeoutError:at.transitional(at.boolean)},!1),r!=null&&(x.isFunction(r)?n.paramsSerializer={serialize:r}:ns.assertOptions(r,{encode:at.function,serialize:at.function},!0)),ns.assertOptions(n,{baseUrl:at.spelling("baseURL"),withXsrfToken:at.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&x.merge(o.common,o[n.method]);o&&x.forEach(["delete","get","head","post","put","patch","common"],y=>{delete o[y]}),n.headers=$e.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(n)===!1||(c=c&&E.synchronous,l.unshift(E.fulfilled,E.rejected))});const a=[];this.interceptors.response.forEach(function(E){a.push(E.fulfilled,E.rejected)});let u,d=0,g;if(!c){const y=[oi.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,a),g=y.length,u=Promise.resolve(n);d{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new dn(o,i,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Wr(function(r){t=r}),cancel:t}}}function oh(e){return function(n){return e.apply(null,n)}}function ih(e){return x.isObject(e)&&e.isAxiosError===!0}const _r={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(_r).forEach(([e,t])=>{_r[t]=e});function Zl(e){const t=new qt(e),n=kl(qt.prototype.request,t);return x.extend(n,qt.prototype,t,{allOwnKeys:!0}),x.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Zl(Wt(e,r))},n}const pe=Zl(zn);pe.Axios=qt;pe.CanceledError=dn;pe.CancelToken=Wr;pe.isCancel=Hl;pe.VERSION=Jl;pe.toFormData=Ms;pe.AxiosError=W;pe.Cancel=pe.CanceledError;pe.all=function(t){return Promise.all(t)};pe.spread=oh;pe.isAxiosError=ih;pe.mergeConfig=Wt;pe.AxiosHeaders=$e;pe.formToJSON=e=>zl(x.isHTMLForm(e)?new FormData(e):e);pe.getAdapter=Gl.getAdapter;pe.HttpStatusCode=_r;pe.default=pe;const Hn="http://localhost:8000/api/items",lh=async({page:e=1,search:t="",category_name:n="",location_name:s=""})=>{const r={page:e,...ae.searchQuery&&{search:ae.searchQuery},...ae.activeCategory&&{category_name:ae.activeCategory},...ae.activeLocation&&{location_name:ae.activeLocation}};return(await pe.get(`${Hn}/lost/`,{params:r})).data},ah=async({page:e=1,search:t="",category_name:n="",location_name:s=""})=>{const r={page:e,...ae.searchQuery&&{search:ae.searchQuery},...ae.activeCategory&&{category_name:ae.activeCategory},...ae.activeLocation&&{location_name:ae.activeLocation}};return(await pe.get(`${Hn}/found/`,{params:r})).data},ch=async()=>{try{return(await pe.get(`${Hn}/found/my-items/`)).data}catch(e){throw console.error("Erro ao buscar itens encontrados:",e),e}},uh=async()=>{try{return(await pe.get(`${Hn}/lost/my-items/`)).data}catch(e){throw console.error("Erro ao buscar itens encontrados:",e),e}},Xl=async e=>{try{await pe.delete(`${Hn}/${e}/`)}catch(t){throw console.error("Erro ao deletar o item:",t),t}},Ds=e=>{const t=new Date,n=new Date(e),s=Math.floor((t-n)/1e3);if(s<60)return"Agora a pouco";if(s<3600){const r=Math.floor(s/60);return`Há ${r} minuto${r>1?"s":""}`}else if(s<86400){const r=Math.floor(s/3600);return`Há ${r} hora${r>1?"s":""}`}else{const r=Math.floor(s/86400);return`Há ${r} dia${r>1?"s":""}`}},qn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM0AAACLCAYAAADCvR0YAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAASASURBVHhe7dxrT9RoHMbhinjCs0g8YyDE7/91MCoqalBjIB5BRTf/pjWsy+7OndhOX1xX0kynM74x/PL0edrOic3NzZ8NMLOF7hWYkWggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooHQic3NzZ/dPgNYWFhoLl++3L4O5cePH82HDx+a79+/d0cYkmgGdOrUqeb+/fuDBtM7PDxsXr161Xz58qU7wlBEM6C7d+82S0tL7Ujw8ePH7uifdfLkyeb06dNtoBXO48ePu08YimgG9ODBg/b13bt37TaUOv27ceNGu//kyROnaQOzEAAh0UBINBO3uLjYnDt3rt2YBtFMVE3sayFhfX29uXfvXrutra01ly5d6r7BvIhmgvpgauXtqDp+8+bN5sqVK90R5kE0E7S8vNwGUkvVL168aB4+fNg8f/68+fbt26/Px7j2w/H8z0/QhQsX2te6yv/58+d2f39/v9nZ2Wn369rM2bNn233GJ5oJq5HmqN/fMx+imaAaVUpN+vtRp07H+guYdZrWf4fxiWaCXr9+3Y4qdRp2+/bt9s6CjY2NX6dku7u7Rp05Es0E1Ujy7Nmzf9x8WaG8fPmy2dvb644wD6KZqApne3u72draalfQ6vXRo0fNp0+fum8wL6IZWc1Nzpw5M/MV/oqnVtD65WbmTzQjqljq+Zra+iv8dZvMLGpRoOY3tZ0/f747yjyIZiQXL15sQ+kvWpbar2P/F8HKykp7J0CtpNV2586d5tq1a92njE00I6hR4tatW+2pWZ1mPX36tJ3o136F828R9MvMV69ebd/XqtnBwUG7f/369WZ1dXXmkYo/RzQjqDBKrYZVLPWQWP3x1wS/n6tUBDWi9CqYuv+sHjAr9RDb27dv23/fP9BWS9CzjFT8WaIZSY0StRp29PpKBVMR9I9C14hSo0ctEtS8p78u8+bNm789+Vn79XsA/UjVXwBlHKIZQQVTo8RxKqIK4PfRo5/71P1mx12XqdCOjlSMRzQj6Och/6WiqUD6kahea2R6//59+/44FUxdv6koGY9oJqQCqdO1iqAWC2aJrXz9+rXbYwyimZgaPepUzi/KTJdoICSaAfXzk37JeSi1PM14/FjggI4+5z/kKlcfZb8wwLBEM6D6Y65whh5pSgVTq23mQsMTzQhqtBkynAqmnuTsTwcZlmggZAYJIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAORpvkL2ph89ykfsE8AAAAASUVORK5CYII=",fh={class:"min-h-screen"},dh={class:"fixed w-full top-0 z-10"},ph={class:"pt-24 pb-8"},hh={class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-10"},mh={class:"flex w-full justify-start sm:justify-center"},gh={class:"ml-24 transform -translate-x-1/2 flex gap-4 z-10"},bh={class:"fixed bottom-0 w-full"},xh={__name:"Lost",setup(e){const t=X([]),n=X(1),s=X(1),r=async(l=1)=>{const{searchQuery:c,activeCategory:a,activeLocation:u}=ae,d=await lh({page:l,search:c,category_name:a,location_name:u});t.value=d.results,s.value=Math.ceil(d.count/27)},o=()=>{n.value>1&&(n.value-=1,r(n.value))},i=()=>{n.value[ae.searchQuery,ae.activeCategory,ae.activeLocation],()=>{n.value=1,r()}),jt(()=>r(n.value)),(l,c)=>(S(),k("div",fh,[f("div",dh,[F(Hr)]),f("div",ph,[F(Pd)]),f("div",hh,[(S(!0),k(Q,null,xe(t.value,a=>(S(),Ge(Ts,{key:a.id,name:a.name,location:a.location_name,time:Me(Ds)(a.created_at),image:a.image_urls[0]||Me(qn),id:a.id},null,8,["name","location","time","image","id"]))),128))]),f("div",mh,[f("div",gh,[(S(),k("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:o},c[0]||(c[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)]))),(S(),k("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:i},c[1]||(c[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)])))])]),F(pd),f("div",bh,[F(Et,{activeIcon:"search"})])]))}},yh={props:{customClass:{name:"ButtonAdd",type:String}}};function vh(e,t,n,s,r,o){const i=he("router-link");return S(),Ge(i,{to:"/register-found"},{default:ge(()=>t[0]||(t[0]=[f("button",{class:"fixed right-0 bottom-28 rounded-l-lg w-60 h-12 cursor-pointer flex items-center border border-laranja bg-laranja group hover:bg-laranja active:bg-laranja active:border-laranja"},[f("span",{class:"text-azul font-inter font-medium ml-6 transform group-hover:translate-x-0"},"Adicionar item achado"),f("span",{class:"absolute right-0 h-full w-10 rounded-lg bg-laranja flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300"},[f("img",{src:Rl,alt:""})])],-1)])),_:1})}const _h=we(yh,[["render",vh]]),wh={name:"SubMenu"},Eh={class:"flex pt-8 space-x-8 justify-center"};function Sh(e,t,n,s,r,o){const i=he("router-link");return S(),k("div",Eh,[t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Achados"),f("div",{class:"h-[2px] bg-laranja"})],-1)),F(i,{to:"/lost",class:"no-underline font-inter font-bold text-cinza3"},{default:ge(()=>t[0]||(t[0]=[Se(" Perdidos ")])),_:1})])}const Ch=we(wh,[["render",Sh]]),Ah={class:"min-h-screen"},Rh={class:"fixed w-full top-0 z-10"},kh={class:"pt-24 pb-8"},Th={class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-10"},Oh={class:"flex w-full justify-start sm:justify-center"},Ph={class:"bottom-32 ml-24 transform -translate-x-1/2 flex gap-4 z-10"},Ih={class:"fixed bottom-0 w-full"},Mh={__name:"Found",setup(e){const t=X([]),n=X(1),s=X(1),r=async(l=1)=>{const{searchQuery:c,activeCategory:a,activeLocation:u}=ae,d=await ah({page:l,search:c,category_name:a,location_name:u});t.value=d.results,s.value=Math.ceil(d.count/27)},o=()=>{n.value>1&&(n.value-=1,r(n.value))},i=()=>{n.value[ae.searchQuery,ae.activeCategory,ae.activeLocation],()=>{n.value=1,r()}),jt(()=>r(n.value)),(l,c)=>(S(),k("div",Ah,[f("div",Rh,[F(Hr)]),f("div",kh,[F(Ch)]),f("div",Th,[(S(!0),k(Q,null,xe(t.value,a=>(S(),Ge(Ts,{key:a.id,name:a.name,location:a.location_name,time:Me(Ds)(a.created_at),image:a.image_urls[0]||Me(qn),id:a.id},null,8,["name","location","time","image","id"]))),128))]),f("div",Oh,[f("div",Ph,[(S(),k("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:o},c[0]||(c[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)]))),(S(),k("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:i},c[1]||(c[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)])))])]),F(_h),f("div",Ih,[F(Et,{activeIcon:"search"})])]))}};class Yl{constructor(t){this.entity=t}validate(){for(const t of this.entity.requiredFields){const n=this.entity[t];if(!n||n==="")return!1}return!0}toFormData(){const t=new FormData;for(const[n,s]of Object.entries(this.entity))n!=="requiredFields"&&s!==void 0&&s!==null&&(Array.isArray(s)?s.forEach((r,o)=>{t.append(`${n}[${o}]`,r)}):t.append(n,s??null));return t}setFieldValue(t,n){this.entity[t]=n}}class ea{constructor(t=null,n="",s="",r="",o="",i="",l="",c=null,a=null,u="",d="",g=["name","category","location"]){this.user=t,this.name=n,this.category=s,this.location=r,this.color=o,this.brand=l,this.description=c,this.images=a,this.status=u,this.found_lost_date=i,this.barcode=d,this.requiredFields=g}}const Lh={props:{type:{type:String,default:"info",validator:e=>["success","error","info","warning"].includes(e)},message:{type:String,required:!0},duration:{type:Number,default:3e3}},data(){return{visible:!0}},computed:{alertClasses(){return{success:"bg-green-200 border-r-4 border-green-600 text-green-600",error:"bg-red-200 border-r-4 border-red-600 text-red-600",info:"bg-blue-500",warning:"bg-yellow-500 text-black"}},alertClassesText(){return{success:"text-green-600",error:"text-red-600",info:"text-blue-600",warning:"text-black-600"}}},mounted(){this.duration>0&&setTimeout(()=>{this.closeAlert()},this.duration)},methods:{closeAlert(){this.visible=!1,this.$emit("closed")}}};function jh(e,t,n,s,r,o){return r.visible?(S(),k("div",{key:0,class:Z(["fixed top-4 right-4 z-50 px-4 py-3 rounded flex items-center justify-between font-inter",o.alertClasses[n.type]]),role:"alert"},[f("p",null,ee(n.message),1),f("button",{onClick:t[0]||(t[0]=(...i)=>o.closeAlert&&o.closeAlert(...i)),class:Z(["ml-4 font-bold focus:outline-none",o.alertClassesText[n.type]])}," ✕ ",2)],2)):be("",!0)}const Dh=we(Lh,[["render",jh]]),ye=pe.create({baseURL:"http://localhost:8000/api",withCredentials:!0});ye.interceptors.response.use(e=>e,e=>(e.response.status===401&&na.push({name:"Login"}),Promise.reject(e)));const Pt="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='currentColor'%20class='size-6%20stroke-white'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m19.5%208.25-7.5%207.5-7.5-7.5'%20/%3e%3c/svg%3e",ta="data:image/svg+xml,%3csvg%20class='svg%20w-8'%20fill='none'%20height='24'%20stroke='%23FFFFFF'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20viewBox='0%200%2024%2024'%20width='24'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cline%20x1='12'%20x2='12'%20y1='5'%20y2='19'%3e%3c/line%3e%3cline%20x1='5'%20x2='19'%20y1='12'%20y2='12'%3e%3c/line%3e%3c/svg%3e",$h={name:"FormComponent",data(){return{item:new ea,foundTime:"",previews:[],submitError:!1,formSubmitted:!1,alertMessage:"",categories:[],locations:[],colors:[],brands:[]}},mounted(){this.initializeData()},methods:{initializeData(){this.initializeCategories(),this.initializeLocations(),this.initializeColors(),this.initializeBrands()},async initializeCategories(){try{const e=await ye.get("/categories/");this.categories=e.data.results}catch{console.log("Erro ao carregar categorias")}},async initializeLocations(){try{const e=await ye.get("/locations/");this.locations=e.data.results}catch{console.log("Erro ao carregar locais")}},async initializeColors(){try{const e=await ye.get("/colors/");this.colors=e.data.results}catch{console.log("Erro ao carregar cores")}},async initializeBrands(){try{const e=await ye.get("/brands/");this.brands=e.data.results}catch{console.log("Erro ao carregar marcas")}},async save(){this.item.status="lost";const e=new Yl(this.item);if(!e.validate()){this.alertMessage="Verifique os campos marcados com *.",this.submitError=!0;return}e.foundLostDate&&this.setFoundLostDate();const t=e.toFormData();try{await ye.post("/items/",t),this.formSubmitted=!0,setTimeout(()=>{window.location.replace("http://localhost:8000/#/lost")},1e3)}catch{this.alertMessage="Erro ao publicar item.",this.submitError=!0}},onFileChange(e){this.item.images||(this.item.images=[]);const t=Array.from(e.target.files);this.item.images.push(...t),t.forEach(n=>{const s=new FileReader;s.onload=r=>{this.previews.push(r.target.result)},s.readAsDataURL(n)})},setFoundLostDate(){const[e,t,n]=this.item.foundLostDate.split("-").map(Number),[s,r]=this.lostTime.split(":").map(Number);this.item.foundLostDate=new Date(n,t-1,e,s??0,r??0)},removeImage(e){this.previews.splice(e,1),this.item.images.splice(e,1)},handleSelectChange(e){const t=e.target;t.value=="clear"&&(this.item[`${t.id}`]="")}}},Fh={class:"grid md:grid-cols-4 gap-4"},Bh={class:"mb-4 col-span-2"},Nh={class:"block relative mb-4 col-span-2"},Uh=["value"],zh={class:"block relative mb-4 col-span-2"},Hh=["value"],qh={class:"block relative mb-4 col-span-2"},Vh=["value"],Kh={class:"block relative mb-4 col-span-2"},Wh=["value"],Qh={class:"mb-4 col-span-2"},Gh={class:"mb-4 col-span-2"},Jh={class:"mb-4 col-span-2"},Zh=["disabled"],Xh={class:"flex flex-wrap gap-4 col-span-3"},Yh=["src"],em=["onClick"],tm={class:"col-span-4"};function nm(e,t,n,s,r,o){var l,c;const i=he("Alert");return S(),k(Q,null,[f("form",{id:"app",onSubmit:t[14]||(t[14]=(...a)=>o.save&&o.save(...a))},[f("div",Fh,[f("div",Bh,[t[17]||(t[17]=f("label",{for:"name",class:"font-inter block text-azul text-sm font-bold mb-2"},[Se("Item "),f("span",{class:"text-red-500"},"*")],-1)),Ae(f("input",{id:"name",class:"appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline","onUpdate:modelValue":t[0]||(t[0]=a=>r.item.name=a),type:"text",name:"name",placeholder:"Escreva o nome do item"},null,512),[[vt,r.item.name]])]),f("div",Nh,[t[20]||(t[20]=f("label",{for:"category",class:"font-inter block text-azul text-sm font-bold mb-2"},[Se("Categoria "),f("span",{class:"text-red-500"},"*")],-1)),Ae(f("select",{id:"category",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.category===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[1]||(t[1]=a=>r.item.category=a),onChange:t[2]||(t[2]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"category"},[t[18]||(t[18]=f("option",{disabled:"",value:""},"Selecione",-1)),t[19]||(t[19]=f("option",{value:"clear"},"Limpar seleção",-1)),(S(!0),k(Q,null,xe(r.categories,a=>(S(),k("option",{key:a.id,value:a.id,class:"block text-gray-700"},ee(a.name),9,Uh))),128))],34),[[Ot,r.item.category]]),t[21]||(t[21]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",zh,[t[24]||(t[24]=f("label",{for:"location",class:"font-inter block text-azul text-sm font-bold mb-2"},[Se("Local "),f("span",{class:"text-red-500"},"*")],-1)),Ae(f("select",{id:"location",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.location===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[3]||(t[3]=a=>r.item.location=a),onChange:t[4]||(t[4]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"location"},[t[22]||(t[22]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[23]||(t[23]=f("option",{value:"clear"},"Limpar seleção",-1)),(S(!0),k(Q,null,xe(r.locations,a=>(S(),k("option",{key:a.id,value:a.id,class:"block text-gray-700"},ee(a.name),9,Hh))),128))],34),[[Ot,r.item.location]]),t[25]||(t[25]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",qh,[t[28]||(t[28]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Cor",-1)),Ae(f("select",{id:"color",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.color===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[5]||(t[5]=a=>r.item.color=a),onChange:t[6]||(t[6]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[26]||(t[26]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[27]||(t[27]=f("option",{value:"clear"},"Limpar seleção",-1)),(S(!0),k(Q,null,xe(r.colors,a=>(S(),k("option",{key:a.id,value:a.id,class:"block text-gray-700"},ee(a.name),9,Vh))),128))],34),[[Ot,r.item.color]]),t[29]||(t[29]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",Kh,[t[32]||(t[32]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Marca",-1)),Ae(f("select",{id:"brand",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.brand===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[7]||(t[7]=a=>r.item.brand=a),onChange:t[8]||(t[8]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[30]||(t[30]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[31]||(t[31]=f("option",{value:"clear"},"Limpar seleção",-1)),(S(!0),k(Q,null,xe(r.brands,a=>(S(),k("option",{key:a.id,value:a.id,class:"block text-gray-700"},ee(a.name),9,Wh))),128))],34),[[Ot,r.item.brand]]),t[33]||(t[33]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",Qh,[t[34]||(t[34]=f("label",{for:"foundLostDate",class:"font-inter block text-azul text-sm font-bold mb-2"},"Data em que foi perdido",-1)),Ae(f("input",{id:"foundLostDate",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.foundLostDate===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[9]||(t[9]=a=>r.item.foundLostDate=a),type:"date",name:"foundLostDate"},null,2),[[vt,r.item.foundLostDate]])]),f("div",Gh,[t[35]||(t[35]=f("label",{for:"foundTime",class:"font-inter block text-azul text-sm font-bold mb-2"},"Horário em que foi perdido",-1)),Ae(f("input",{id:"foundTime",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.foundTime===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[10]||(t[10]=a=>r.foundTime=a),type:"time",name:"foundTime"},null,2),[[vt,r.foundTime]])]),f("div",Jh,[t[36]||(t[36]=f("label",{for:"description",class:"font-inter block text-azul text-sm font-bold mb-2"}," Descrição ",-1)),Ae(f("textarea",{id:"description","onUpdate:modelValue":t[11]||(t[11]=a=>r.item.description=a),name:"description",rows:"4",placeholder:"Descreva detalhadamente o item",class:"w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,512),[[vt,r.item.description]])]),f("div",null,[f("label",{for:"images",class:Z(["flex bg-azul text-white text-base px-5 py-3 outline-none rounded cursor-pointer font-inter",((l=r.item.images)==null?void 0:l.length)>1?"opacity-50 cursor-not-allowed":""])},[t[37]||(t[37]=f("img",{src:ta,alt:"",class:"mr-2"},null,-1)),t[38]||(t[38]=Se(" Adicionar imagens ")),f("input",{type:"file",id:"images",class:"hidden",onChange:t[12]||(t[12]=(...a)=>o.onFileChange&&o.onFileChange(...a)),disabled:((c=r.item.images)==null?void 0:c.length)>1},null,40,Zh)],2)]),f("div",Xh,[(S(!0),k(Q,null,xe(r.previews,(a,u)=>(S(),k("div",{key:u,class:"w-64 h-64 border rounded relative"},[f("img",{src:a,alt:"Preview",class:"w-full h-full object-cover rounded"},null,8,Yh),f("div",{class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-12 h-12 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:d=>o.removeImage(u)},t[39]||(t[39]=[f("img",{src:zr,alt:""},null,-1)]),8,em)]))),128))]),f("div",tm,[f("button",{type:"button",onClick:t[13]||(t[13]=(...a)=>o.save&&o.save(...a)),class:"inline-block text-center rounded-full bg-laranja px-5 py-3 text-md text-white w-full"}," Enviar ")])])],32),r.submitError?(S(),Ge(i,{key:0,type:"error",message:r.alertMessage,onClosed:t[15]||(t[15]=a=>r.submitError=!1)},null,8,["message"])):be("",!0),r.formSubmitted?(S(),Ge(i,{key:1,type:"success",message:"Item publicado com sucesso",onClosed:t[16]||(t[16]=a=>r.formSubmitted=!1)})):be("",!0)],64)}const sm=we($h,[["render",nm]]),Vn="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%23FFFFFF'%20class='size-6'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m11.25%209-3%203m0%200%203%203m-3-3h7.5M21%2012a9%209%200%201%201-18%200%209%209%200%200%201%2018%200Z'%20/%3e%3c/svg%3e",rm={name:"LostHeader",components:{Logo:_t},props:{text:String}},om={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-start text-white gap-x-9 p-6"},im={class:"font-inter font-semibold text-2xl"},lm={class:"ml-auto"};function am(e,t,n,s,r,o){const i=he("router-link"),l=he("Logo");return S(),k("div",om,[F(i,{to:"/lost",class:"inline-block"},{default:ge(()=>t[0]||(t[0]=[f("img",{src:Vn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),f("div",null,[f("span",im,ee(n.text??"Cadastro de item perdido"),1)]),f("button",lm,[F(i,{to:"/about",class:"no-underline text-white"},{default:ge(()=>[F(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const cm=we(rm,[["render",am]]),um={class:"fixed w-full top-0",style:{"z-index":"1"}},fm={class:"px-6 py-[120px]",style:{"z-index":"2"}},dm={class:"fixed bottom-0 w-full"},pm={__name:"Register-Lost",setup(e){return(t,n)=>(S(),k(Q,null,[f("div",um,[F(cm)]),f("div",fm,[F(sm)]),f("div",dm,[F(Et,{activeIcon:"search"})])],64))}},hm={name:"FormComponent",data(){return{item:new ea,foundTime:"",foundDate:"",previews:[],submitError:!1,formSubmitted:!1,alertMessage:"",categories:[],locations:[],colors:[],brands:[]}},mounted(){this.initializeData()},methods:{initializeData(){this.initializeCategories(),this.initializeLocations(),this.initializeColors(),this.initializeBrands()},async initializeCategories(){try{const e=await ye.get("/categories/");this.categories=e.data.results}catch{console.log("Erro ao carregar categorias")}},async initializeLocations(){try{const e=await ye.get("/locations/");this.locations=e.data.results}catch{console.log("Erro ao carregar locais")}},async initializeColors(){try{const e=await ye.get("/colors/");this.colors=e.data.results}catch{console.log("Erro ao carregar cores")}},async initializeBrands(){try{const e=await ye.get("/brands/");this.brands=e.data.results}catch{console.log("Erro ao carregar marcas")}},async save(){this.item.status="found";const e=new Yl(this.item);if(!e.validate()){this.alertMessage="Verifique os campos marcados com *.",this.submitError=!0;return}if(this.item.foundDate){const n=this.formatFoundLostDate();e.setFieldValue("found_lost_date",n)}const t=e.toFormData();try{await ye.post("/items/",t),this.formSubmitted=!0,setTimeout(()=>{window.location.replace("http://localhost:8000/#/found")},1e3)}catch{this.alertMessage="Erro ao publicar item.",this.submitError=!0}},onFileChange(e){this.item.images||(this.item.images=[]);const t=Array.from(e.target.files);this.item.images.push(...t),t.forEach(n=>{const s=new FileReader;s.onload=r=>{this.previews.push(r.target.result)},s.readAsDataURL(n)})},formatFoundLostDate(){var d;const[e,t,n]=this.item.foundDate.split("-").map(Number),[s,r]=(d=this.foundTime)==null?void 0:d.split(":").map(Number),o=new Date(e,t-1,n,s??0,r??0),i=o.getTimezoneOffset(),l=i>0?"-":"+",c=Math.abs(i),a=String(Math.floor(c/60)).padStart(2,"0"),u=String(c%60).padStart(2,"0");return`${o.getFullYear()}-${String(o.getMonth()+1).padStart(2,"0")}-${String(o.getDate()).padStart(2,"0")}T${String(o.getHours()).padStart(2,"0")}:${String(o.getMinutes()).padStart(2,"0")}:${String(o.getSeconds()).padStart(2,"0")}${l}${a}${u}`},removeImage(e){this.previews.splice(e,1),this.item.images.splice(e,1)},handleSelectChange(e){const t=e.target;t.value=="clear"&&(this.item[`${t.id}`]="")}}},mm={class:"grid md:grid-cols-4 gap-4"},gm={class:"mb-4 col-span-2"},bm={class:"block relative mb-4 col-span-2"},xm=["value"],ym={class:"block relative mb-4 col-span-2"},vm=["value"],_m={class:"block relative mb-4 col-span-2"},wm=["value"],Em={class:"block relative mb-4 col-span-2"},Sm=["value"],Cm={class:"mb-4 col-span-2"},Am={class:"mb-4 col-span-2"},Rm={class:"mb-4 col-span-2"},km=["disabled"],Tm={class:"flex flex-wrap gap-4 col-span-3"},Om=["src"],Pm=["onClick"],Im={class:"col-span-4"};function Mm(e,t,n,s,r,o){var l,c;const i=he("Alert");return S(),k(Q,null,[f("form",{id:"app",onSubmit:t[14]||(t[14]=(...a)=>o.save&&o.save(...a))},[f("div",mm,[f("div",gm,[t[17]||(t[17]=f("label",{for:"name",class:"font-inter block text-azul text-sm font-bold mb-2"},[Se("Item "),f("span",{class:"text-red-500"},"*")],-1)),Ae(f("input",{id:"name",class:"appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline","onUpdate:modelValue":t[0]||(t[0]=a=>r.item.name=a),type:"text",name:"name",placeholder:"Escreva o nome do item"},null,512),[[vt,r.item.name]])]),f("div",bm,[t[20]||(t[20]=f("label",{for:"category",class:"font-inter block text-azul text-sm font-bold mb-2"},[Se("Categoria "),f("span",{class:"text-red-500"},"*")],-1)),Ae(f("select",{id:"category",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.category===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[1]||(t[1]=a=>r.item.category=a),onChange:t[2]||(t[2]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"category"},[t[18]||(t[18]=f("option",{disabled:"",value:""},"Selecione",-1)),t[19]||(t[19]=f("option",{value:"clear"},"Limpar seleção",-1)),(S(!0),k(Q,null,xe(r.categories,a=>(S(),k("option",{key:a.id,value:a.id,class:"block text-gray-700"},ee(a.name),9,xm))),128))],34),[[Ot,r.item.category]]),t[21]||(t[21]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",ym,[t[24]||(t[24]=f("label",{for:"location",class:"font-inter block text-azul text-sm font-bold mb-2"},[Se("Local "),f("span",{class:"text-red-500"},"*")],-1)),Ae(f("select",{id:"location",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.location===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[3]||(t[3]=a=>r.item.location=a),onChange:t[4]||(t[4]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"location"},[t[22]||(t[22]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[23]||(t[23]=f("option",{value:"clear"},"Limpar seleção",-1)),(S(!0),k(Q,null,xe(r.locations,a=>(S(),k("option",{key:a.id,value:a.id,class:"block text-gray-700"},ee(a.name),9,vm))),128))],34),[[Ot,r.item.location]]),t[25]||(t[25]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",_m,[t[28]||(t[28]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Cor",-1)),Ae(f("select",{id:"color",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.color===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[5]||(t[5]=a=>r.item.color=a),onChange:t[6]||(t[6]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[26]||(t[26]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[27]||(t[27]=f("option",{value:"clear"},"Limpar seleção",-1)),(S(!0),k(Q,null,xe(r.colors,a=>(S(),k("option",{key:a.id,value:a.id,class:"block text-gray-700"},ee(a.name),9,wm))),128))],34),[[Ot,r.item.color]]),t[29]||(t[29]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",Em,[t[32]||(t[32]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Marca",-1)),Ae(f("select",{id:"brand",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.brand===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[7]||(t[7]=a=>r.item.brand=a),onChange:t[8]||(t[8]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[30]||(t[30]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[31]||(t[31]=f("option",{value:"clear"},"Limpar seleção",-1)),(S(!0),k(Q,null,xe(r.brands,a=>(S(),k("option",{key:a.id,value:a.id,class:"block text-gray-700"},ee(a.name),9,Sm))),128))],34),[[Ot,r.item.brand]]),t[33]||(t[33]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",Cm,[t[34]||(t[34]=f("label",{for:"foundDate",class:"font-inter block text-azul text-sm font-bold mb-2"},"Data em que foi achado",-1)),Ae(f("input",{id:"foundDate",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.foundDate===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[9]||(t[9]=a=>r.item.foundDate=a),type:"date",name:"foundDate"},null,2),[[vt,r.item.foundDate]])]),f("div",Am,[t[35]||(t[35]=f("label",{for:"foundTime",class:"font-inter block text-azul text-sm font-bold mb-2"},"Horário em que foi achado",-1)),Ae(f("input",{id:"foundTime",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.foundTime===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[10]||(t[10]=a=>r.foundTime=a),type:"time",name:"foundTime"},null,2),[[vt,r.foundTime]])]),f("div",Rm,[t[36]||(t[36]=f("label",{for:"description",class:"font-inter block text-azul text-sm font-bold mb-2"}," Descrição ",-1)),Ae(f("textarea",{id:"description","onUpdate:modelValue":t[11]||(t[11]=a=>r.item.description=a),name:"description",rows:"4",placeholder:"Descreva detalhadamente o item",class:"w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,512),[[vt,r.item.description]])]),f("div",null,[f("label",{for:"images",class:Z(["flex bg-azul text-white text-base px-5 py-3 outline-none rounded cursor-pointer font-inter",((l=r.item.images)==null?void 0:l.length)>1?"opacity-50 cursor-not-allowed":""])},[t[37]||(t[37]=f("img",{src:ta,alt:"",class:"mr-2"},null,-1)),t[38]||(t[38]=Se(" Adicionar imagens ")),f("input",{type:"file",id:"images",class:"hidden",onChange:t[12]||(t[12]=(...a)=>o.onFileChange&&o.onFileChange(...a)),disabled:((c=r.item.images)==null?void 0:c.length)>1},null,40,km)],2)]),f("div",Tm,[(S(!0),k(Q,null,xe(r.previews,(a,u)=>(S(),k("div",{key:u,class:"w-64 h-64 border rounded relative"},[f("img",{src:a,alt:"Preview",class:"w-full h-full object-cover rounded"},null,8,Om),f("div",{class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-12 h-12 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:d=>o.removeImage(u)},t[39]||(t[39]=[f("img",{src:zr,alt:""},null,-1)]),8,Pm)]))),128))]),f("div",Im,[f("button",{type:"button",onClick:t[13]||(t[13]=(...a)=>o.save&&o.save(...a)),class:"inline-block text-center rounded-full bg-laranja px-5 py-3 text-md text-white w-full"}," Enviar ")])])],32),r.submitError?(S(),Ge(i,{key:0,type:"error",message:r.alertMessage,onClosed:t[15]||(t[15]=a=>r.submitError=!1)},null,8,["message"])):be("",!0),r.formSubmitted?(S(),Ge(i,{key:1,type:"success",message:"Item publicado com sucesso",onClosed:t[16]||(t[16]=a=>r.formSubmitted=!1)})):be("",!0)],64)}const Lm=we(hm,[["render",Mm]]),jm={name:"FoundHeader",components:{Logo:_t},props:{text:String}},Dm={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-start text-white gap-x-9 p-6"},$m={class:"font-inter font-semibold text-2xl"},Fm={class:"ml-auto"};function Bm(e,t,n,s,r,o){const i=he("router-link"),l=he("Logo");return S(),k("div",Dm,[F(i,{to:"/found",class:"inline-block"},{default:ge(()=>t[0]||(t[0]=[f("img",{src:Vn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),f("div",null,[f("span",$m,ee(n.text??"Cadastro de item achado"),1)]),f("button",Fm,[F(i,{to:"/about",class:"no-underline text-white"},{default:ge(()=>[F(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const Nm=we(jm,[["render",Bm]]),Um={class:"fixed w-full top-0",style:{"z-index":"1"}},zm={class:"px-6 py-[120px]",style:{"z-index":"2"}},Hm={class:"fixed bottom-0 w-full"},qm={__name:"Register-Found",setup(e){return(t,n)=>(S(),k(Q,null,[f("div",Um,[F(Nm)]),f("div",zm,[F(Lm)]),f("div",Hm,[F(Et,{activeIcon:"search"})])],64))}},Vm={class:"flex flex-col items-center px-6 pt-10 lg:pt-16"},Km={class:"w-24 h-24 lg:w-32 lg:h-32 rounded-full flex items-center justify-center border-4 border-laranja overflow-hidden"},Wm=["src"],Qm={key:1,class:"w-full h-full bg-cinza2 flex items-center justify-center text-cinza3 text-sm lg:text-lg"},Gm={class:"text-xl lg:text-3xl font-bold text-azul mt-4 lg:mt-6"},Jm={class:"text-sm lg:text-lg text-cinza3"},Zm={key:0,class:"text-sm lg:text-lg text-cinza3"},Xm={class:"pt-[30px] lg:pt-[50px] flex flex-col items-center w-full mt-6 space-y-4 lg:space-y-6"},Ym={class:"fixed bottom-0 w-full"},eg={__name:"User",setup(e){const t=X({foto:"",first_name:"",last_name:"",email:"",username:"",matricula:null});async function n(){try{console.log("Buscando dados do usuário logado...");const s=await ye.get("/auth/user/");console.log("Dados do usuário recebidos:",s.data),t.value={foto:s.data.foto||null,first_name:s.data.first_name,last_name:s.data.last_name,email:s.data.email,username:s.data.username,matricula:s.data.matricula}}catch(s){console.error("Erro ao carregar dados do usuário:",s)}}return jt(n),(s,r)=>{const o=he("router-link");return S(),k("div",Vm,[f("div",Km,[t.value.foto?(S(),k("img",{key:0,src:t.value.foto,alt:"Foto do Usuário",class:"w-full h-full object-cover"},null,8,Wm)):(S(),k("div",Qm," Foto Padrão "))]),f("h1",Gm,ee(t.value.first_name||t.value.last_name?t.value.first_name+" "+t.value.last_name:t.value.username),1),f("p",Jm,ee(t.value.email||"Email não disponível"),1),t.value.matricula?(S(),k("p",Zm," Matrícula: "+ee(t.value.matricula),1)):be("",!0),f("div",Xm,[F(o,{to:"/user-items-lost",class:"w-full flex justify-center"},{default:ge(()=>r[0]||(r[0]=[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Meus itens ativos ",-1)])),_:1}),r[2]||(r[2]=f("a",{href:"mailto:acheiunb2024@gmail.com",class:"w-full flex justify-center"},[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Reportar um problema ")],-1)),F(o,{to:"/",class:"w-full flex justify-center"},{default:ge(()=>r[1]||(r[1]=[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Sair da Conta ",-1)])),_:1})]),r[3]||(r[3]=f("div",{class:"h-16 lg:h-24"},null,-1)),f("div",Ym,[F(Et,{activeIcon:"user"})])])}}},tg={};function ng(e,t){return"chats"}const sg=we(tg,[["render",ng]]),rg={name:"ItemHeader",components:{Logo:_t},props:{title:{type:String,required:!0}},methods:{goBack(){this.$router.back()}}},og={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center text-white p-4 md:p-6"},ig={class:"flex items-center w-1/4"},lg={class:"flex-grow flex justify-center"},ag={class:"font-inter font-semibold text-lg md:text-2xl text-center break-words"},cg={class:"flex items-center w-1/4 justify-end"};function ug(e,t,n,s,r,o){const i=he("Logo"),l=he("router-link");return S(),k("div",og,[f("div",ig,[f("img",{onClick:t[0]||(t[0]=(...c)=>o.goBack&&o.goBack(...c)),src:Vn,alt:"Voltar",class:"w-[30px] h-[30px] text-white cursor-pointer"})]),f("div",lg,[f("span",ag,ee(n.title),1)]),f("div",cg,[F(l,{to:"/about",class:"no-underline text-white"},{default:ge(()=>[F(i,{class:"pr-2 md:pr-4",sizeClass:"text-xl md:text-2xl"})]),_:1})])])}const fg=we(rg,[["render",ug]]),dg={key:0,class:"fixed w-full top-0 z-[1]"},pg={key:1,class:"px-6 py-[120px] flex flex-col items-center gap-6"},hg={class:"w-full md:flex md:gap-8 md:max-w-4xl"},mg={class:"w-full max-w-md md:max-w-none md:w-1/2 relative"},gg={key:0,class:"w-full h-64"},bg=["src"],xg=["src","alt"],yg={key:2,class:"md:hidden overflow-hidden relative"},vg=["src","alt"],_g={key:0,class:"absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2"},wg={class:"w-full md:w-1/2 mt-6 md:mt-0"},Eg={class:"text-lg md:text-2xl font-bold text-left"},Sg={class:"text-sm md:text-base text-gray-500 text-left mt-2"},Cg={key:0,class:"text-sm md:text-base text-gray-500 text-left mt-1"},Ag={key:1,class:"text-sm md:text-base text-gray-500 text-left mt-1"},Rg={class:"flex flex-wrap gap-2 justify-start mt-4"},kg={key:0,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-blue-500"},Tg={key:1,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-laranja"},Og={key:2,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-gray-500"},Pg={class:"text-sm md:text-base text-gray-700 text-left mt-4"},Ig={class:"fixed bottom-0 w-full"},Mg={__name:"ListItem",setup(e){const t=Al(),n=Ur(),s=X(null),r=X(""),o=X(null),i=X(0),l=X(window.innerWidth<768),c=X(!1),a=w=>{const I=new Date(w);return`${I.toLocaleDateString("pt-BR",{timeZone:"America/Sao_Paulo"})} às ${I.toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit",timeZone:"America/Sao_Paulo"})}`},u=()=>{i.value=(i.value+1)%s.value.image_urls.length},d=()=>{i.value=(i.value-1+s.value.image_urls.length)%s.value.image_urls.length},g=()=>{l.value=window.innerWidth<768};async function m(){try{const w=await ye.get(`/items/${t.query.idItem}/`);s.value=w.data,r.value=s.value.status,c.value=!0,console.log("Item carregado:",s.value)}catch(w){console.error("Erro ao carregar item:",w)}}async function y(){try{const w=await ye.get("/auth/user/");o.value=w.data,console.log("Usuário atual:",o.value)}catch(w){console.error("Erro ao buscar usuário:",w)}}const E=async()=>{var w,I,T,O;try{if(!s.value||!s.value.id){console.error("Item inválido ou não carregado:",s.value);return}if(!((w=o.value)!=null&&w.id)||!((I=s.value)!=null&&I.user_id)){console.error("IDs de usuário inválidos:",{currentUser:o.value,item:s.value});return}console.log("Item atual (ID):",s.value.id),console.log("Dono do item (user_id):",s.value.user_id),console.log("Usuário atual (ID):",o.value.id);const L={participant_1:o.value.id,participant_2:s.value.user_id,item_id:s.value.id};console.log("Parâmetros para busca de chat:",L);const Y=(await ye.get("/chat/chatrooms/",{params:L})).data;if(console.log("Chats encontrados:",Y),Y&&Y.length>0){n.push(`/chat/${Y[0].id}?itemId=${s.value.id}`);return}const G={participant_1:o.value.id,participant_2:s.value.user_id,item_id:s.value.id};console.log("Dados para criação de chat:",G);const _e=await ye.post("/chat/chatrooms/",G);if(console.log("Resposta da criação de chat:",_e.data),(T=_e.data)!=null&&T.id)n.push(`/chat/${_e.data.id}?itemId=${s.value.id}`);else throw new Error("Resposta inválida ao criar chatroom")}catch(L){console.error("Erro ao criar/aceder chat:",((O=L.response)==null?void 0:O.data)||L.message),alert("Ocorreu um erro ao iniciar o chat. Por favor, tente novamente.")}};return jt(async()=>{await y(),await m(),window.addEventListener("resize",g)}),zi(()=>{window.removeEventListener("resize",g)}),(w,I)=>(S(),k(Q,null,[c.value?(S(),k("div",dg,[F(fg,{title:r.value==="found"?"Item Achado":"Item Perdido"},null,8,["title"])])):be("",!0),s.value?(S(),k("div",pg,[f("div",hg,[f("div",mg,[!s.value.image_urls||s.value.image_urls.length===0?(S(),k("div",gg,[f("img",{src:Me(qn),alt:"Imagem não disponível",class:"w-full h-full object-contain"},null,8,bg)])):(S(),k("div",{key:1,class:Z(["hidden md:grid",s.value.image_urls.length===1?"grid-cols-1":"grid-cols-2 gap-4"])},[(S(!0),k(Q,null,xe(s.value.image_urls.slice(0,2),(T,O)=>(S(),k("img",{key:O,src:T,alt:`Imagem ${O+1} do item`,class:"h-64 w-full object-cover rounded-lg"},null,8,xg))),128))],2)),s.value.image_urls&&s.value.image_urls.length>0?(S(),k("div",yg,[f("div",{class:"flex transition-transform duration-300 ease-out snap-x snap-mandatory",style:$n({transform:`translateX(-${i.value*100}%)`})},[(S(!0),k(Q,null,xe(s.value.image_urls,(T,O)=>(S(),k("div",{key:O,class:"w-full flex-shrink-0 relative snap-start"},[f("img",{src:T,alt:`Imagem ${O+1} do item`,class:"w-full h-64 object-cover rounded-lg"},null,8,vg)]))),128))],4),s.value.image_urls.length>1?(S(),k("div",_g,[(S(!0),k(Q,null,xe(s.value.image_urls,(T,O)=>(S(),k("div",{key:O,class:Z(["w-2 h-2 rounded-full transition-colors duration-300",i.value===O?"bg-white":"bg-gray-300"])},null,2))),128))])):be("",!0),s.value.image_urls.length>1?(S(),k("button",{key:1,onClick:d,class:"absolute left-2 top-1/2 transform -translate-y-1/2 bg-white/30 rounded-full p-2 backdrop-blur-sm"}," ← ")):be("",!0),s.value.image_urls.length>1?(S(),k("button",{key:2,onClick:u,class:"absolute right-2 top-1/2 transform -translate-y-1/2 bg-white/30 rounded-full p-2 backdrop-blur-sm"}," → ")):be("",!0)])):be("",!0)]),f("div",wg,[f("h1",Eg,ee(s.value.name),1),f("p",Sg," Achado em: "+ee(s.value.location_name||"Não especificado"),1),s.value.found_lost_date&&r.value==="found"?(S(),k("p",Cg," Data do achado: "+ee(a(s.value.found_lost_date)),1)):s.value.found_lost_date&&r.value==="lost"?(S(),k("p",Ag," Data da perda: "+ee(a(s.value.found_lost_date)),1)):be("",!0),f("div",Rg,[s.value.category_name?(S(),k("span",kg," Categoria: "+ee(s.value.category_name),1)):be("",!0),s.value.brand_name?(S(),k("span",Tg," Marca: "+ee(s.value.brand_name),1)):be("",!0),s.value.color_name?(S(),k("span",Og," Cor: "+ee(s.value.color_name),1)):be("",!0)]),f("p",Pg,ee(s.value.description),1)])]),f("button",{class:"bg-laranja text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl",onClick:E}," É meu item ")])):be("",!0),f("div",Ig,[F(Et,{activeIcon:r.value==="found"?"found":"lost"},null,8,["activeIcon"])])],64))}},Lg={name:"SubMenu"},jg={class:"flex pt-8 space-x-8 justify-center"};function Dg(e,t,n,s,r,o){const i=he("router-link");return S(),k("div",jg,[F(i,{to:"/user-items-found",class:"no-underline font-inter font-bold text-cinza3"},{default:ge(()=>t[0]||(t[0]=[Se(" Achados ")])),_:1}),t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Perdidos"),f("div",{class:"h-[2px] bg-laranja"})],-1))])}const $g=we(Lg,[["render",Dg]]),Fg={class:"fixed w-full top-0 h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between px-6 text-white z-10"},Bg={class:"pb-8 pt-24"},Ng={class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-24"},Ug={class:"fixed bottom-0 w-full"},zg={__name:"UserItems-Lost",setup(e){const t=X([]),n=X(!1);X(!1);const s=X(""),r=async()=>{try{const i=await uh();t.value=i}catch{s.value="Erro ao carregar itens perdidos.",n.value=!0}},o=async i=>{try{await Xl(i),myItemsFound.value=myItemsFound.value.filter(l=>l.id!==i)}catch(l){console.error("Erro ao excluir item:",l)}};return jt(()=>r()),(i,l)=>{const c=he("router-link"),a=he("ButtonAdd");return S(),k(Q,null,[f("div",Fg,[F(c,{to:"/user",class:"inline-block"},{default:ge(()=>l[0]||(l[0]=[f("img",{src:Vn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),l[1]||(l[1]=f("h1",{class:"text-2xl font-bold absolute left-1/2 transform -translate-x-1/2"}," Meus Itens ",-1)),f("button",null,[F(c,{to:"/about",class:"no-underline text-white"},{default:ge(()=>[F(_t,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])]),f("div",Bg,[F($g)]),f("div",Ng,[(S(!0),k(Q,null,xe(t.value,u=>(S(),Ge(Ts,{key:u.id,id:u.id,name:u.name,location:u.location_name,time:Me(Ds)(u.created_at),image:u.image_urls[0]||Me(qn),isMyItem:!0,onDelete:o},null,8,["id","name","location","time","image"]))),128))]),F(a),f("div",Ug,[F(Et,{activeIcon:"search"})])],64)}}},Hg={name:"SubMenu"},qg={class:"flex pt-8 space-x-8 justify-center"};function Vg(e,t,n,s,r,o){const i=he("router-link");return S(),k("div",qg,[t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Achados"),f("div",{class:"h-[2px] bg-laranja"})],-1)),F(i,{to:"/user-items-lost",class:"no-underline font-inter font-bold text-cinza3"},{default:ge(()=>t[0]||(t[0]=[Se(" Perdidos ")])),_:1})])}const Kg=we(Hg,[["render",Vg]]),Wg={class:"fixed w-full top-0 h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between px-6 text-white z-10"},Qg={class:"pb-8 pt-24"},Gg={class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-24"},Jg={class:"fixed bottom-0 w-full"},Zg={__name:"UserItems-Found",setup(e){const t=X([]),n=X(!1);X(!1);const s=X(""),r=async()=>{try{const i=await ch();t.value=i}catch{s.value="Erro ao carregar itens encontrados.",n.value=!0}},o=async i=>{try{await Xl(i),t.value=t.value.filter(l=>l.id!==i)}catch(l){console.error("Erro ao excluir item:",l)}};return jt(()=>r()),(i,l)=>{const c=he("router-link"),a=he("ButtonAdd");return S(),k(Q,null,[f("div",Wg,[F(c,{to:"/user",class:"inline-block"},{default:ge(()=>l[0]||(l[0]=[f("img",{src:Vn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),l[1]||(l[1]=f("h1",{class:"text-2xl font-bold absolute left-1/2 transform -translate-x-1/2"}," Meus Itens ",-1)),f("button",null,[F(c,{to:"/about",class:"no-underline text-white"},{default:ge(()=>[F(_t,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])]),f("div",Qg,[F(Kg)]),f("div",Gg,[(S(!0),k(Q,null,xe(t.value,u=>(S(),Ge(Ts,{key:u.id,id:u.id,name:u.name,location:u.location_name,time:Me(Ds)(u.created_at),image:u.image_urls[0]||Me(qn),isMyItem:!0,onDelete:o},null,8,["id","name","location","time","image"]))),128))]),F(a),f("div",Jg,[F(Et,{activeIcon:"search"})])],64)}}},li={__name:"Message",setup(e){const t=Ur(),n=Al(),s=X(n.params.chatroomId),r=X({name:"Carregando...",profile_picture:""}),o=X({}),i=X([]);X(""),X(["Ainda está com o item?","Posso te entregar na faculdade?"]);const l=X(n.query.participant_2),c=X(n.query.item_id);Ht(()=>n.params.chatroomId,m=>{s.value=m,d()});const a=async()=>{try{const m=await ye.get("/api/users/me/");o.value={id:m.data.id,name:m.data.nome,profile_picture:m.data.foto||"https://via.placeholder.com/40"}}catch(m){console.error("Erro ao buscar usuário logado:",m)}},u=async m=>{try{const y=await ye.get(`/api/users/${m}/`);return{id:y.data.id,name:y.data.nome,profile_picture:y.data.foto||"https://via.placeholder.com/40"}}catch(y){return console.error("Erro ao buscar usuário do chat:",y),{name:"Usuário desconhecido",profile_picture:"https://via.placeholder.com/40"}}},d=async()=>{if(!s.value){console.log("❌ Nenhum chatroomId na URL. Criando novo chat..."),await g();return}try{console.log(`🔍 Buscando chatroom com ID: ${s.value}`);const m=await ye.get(`/chat/chatrooms/${s.value}/`);console.log("✅ Dados do chat recebidos:",m.data);const y=m.data.participant_1===o.value.id?m.data.participant_2:m.data.participant_1;r.value=await u(y),i.value=m.data.messages}catch(m){console.error("Erro ao buscar chat:",m)}},g=async()=>{if(!l.value||!c.value){console.error("⚠️ Erro: participant_2 ou item_id não foram passados na URL.");return}try{console.log("🔨 Criando novo chatroom...");const m=await ye.post("/chat/chatrooms/",{participant_1:o.value.id,participant_2:l.value,item_id:c.value});s.value=m.data.id,t.replace(`/chat/${s.value}`),console.log("✅ Novo chatroom criado:",m.data),await d()}catch(m){console.error("Erro ao criar chatroom:",m)}};return jt(async()=>{await a(),await d()}),()=>{}}},Xg=[{path:"/",name:"Login",component:Ko},{path:"/about",name:"About",component:td,meta:{requiresAuth:!0}},{path:"/lost",name:"Lost",component:xh,meta:{requiresAuth:!0}},{path:"/found",name:"Found",component:Mh,meta:{requiresAuth:!0}},{path:"/register-lost",name:"RegisterLost",component:pm,meta:{requiresAuth:!0}},{path:"/register-found",name:"RegisterFound",component:qm,meta:{requiresAuth:!0}},{path:"/user",name:"User",component:eg,meta:{requiresAuth:!0}},{path:"/chats",name:"Chats",component:sg,meta:{requiresAuth:!0}},{path:"/list-item",name:"ListItem",component:Mg,meta:{requiresAuth:!0}},{path:"/user-items-lost",name:"UserItemsLost",component:zg},{path:"/user-items-found",name:"UserItemsFound",component:Zg},{path:"/chat/new",name:"NewChat",component:li,meta:{requiresAuth:!0}},{path:"/chat/:chatroomId",name:"Chat",component:li,meta:{requiresAuth:!0},props:!0},{path:"/:catchAll(.*)",name:"NotFound",component:Ko}],na=Sf({history:ef(),routes:Xg}),$s=vu(Af);$s.use(na);$s.component("Header",Hr);$s.component("Alert",Dh);$s.mount("#app"); diff --git a/API/AcheiUnB/static/dist/js/index-BnoWY_TY.js b/API/AcheiUnB/static/dist/js/index-BnoWY_TY.js deleted file mode 100644 index 7f7c9271..00000000 --- a/API/AcheiUnB/static/dist/js/index-BnoWY_TY.js +++ /dev/null @@ -1,26 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** -* @vue/shared v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Er(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ce={},tn=[],ft=()=>{},ia=()=>!1,gs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Sr=e=>e.startsWith("onUpdate:"),Re=Object.assign,Cr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},la=Object.prototype.hasOwnProperty,se=(e,t)=>la.call(e,t),H=Array.isArray,nn=e=>Dn(e)==="[object Map]",bs=e=>Dn(e)==="[object Set]",Jr=e=>Dn(e)==="[object Date]",K=e=>typeof e=="function",we=e=>typeof e=="string",dt=e=>typeof e=="symbol",de=e=>e!==null&&typeof e=="object",li=e=>(de(e)||K(e))&&K(e.then)&&K(e.catch),ai=Object.prototype.toString,Dn=e=>ai.call(e),aa=e=>Dn(e).slice(8,-1),ci=e=>Dn(e)==="[object Object]",Ar=e=>we(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,vn=Er(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ys=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ca=/-(\w)/g,Ge=ys(e=>e.replace(ca,(t,n)=>n?n.toUpperCase():"")),ua=/\B([A-Z])/g,Qt=ys(e=>e.replace(ua,"-$1").toLowerCase()),xs=ys(e=>e.charAt(0).toUpperCase()+e.slice(1)),Bs=ys(e=>e?`on${xs(e)}`:""),It=(e,t)=>!Object.is(e,t),Zn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},rs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Zr;const vs=()=>Zr||(Zr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fn(e){if(H(e)){const t={};for(let n=0;n{if(n){const s=n.split(da);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function X(e){let t="";if(we(e))t=e;else if(H(e))for(let n=0;n_s(n,t))}const di=e=>!!(e&&e.__v_isRef===!0),Z=e=>we(e)?e:e==null?"":H(e)||de(e)&&(e.toString===ai||!K(e.toString))?di(e)?Z(e.value):JSON.stringify(e,pi,2):String(e),pi=(e,t)=>di(t)?pi(e,t.value):nn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Ns(s,o)+" =>"]=r,n),{})}:bs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ns(n))}:dt(t)?Ns(t):de(t)&&!H(t)&&!ci(t)?String(t):t,Ns=(e,t="")=>{var n;return dt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let He;class xa{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=He,!t&&He&&(this.index=(He.scopes||(He.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(wn){let t=wn;for(wn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;_n;){let t=_n;for(_n=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function bi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function yi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Tr(s),_a(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function sr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(xi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function xi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===kn))return;e.globalVersion=kn;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!sr(e)){e.flags&=-3;return}const n=fe,s=Ye;fe=e,Ye=!0;try{bi(e);const r=e.fn(e._value);(t.version===0||It(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{fe=n,Ye=s,yi(e),e.flags&=-3}}function Tr(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Tr(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function _a(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ye=!0;const vi=[];function Mt(){vi.push(Ye),Ye=!1}function jt(){const e=vi.pop();Ye=e===void 0?!0:e}function Xr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=fe;fe=void 0;try{t()}finally{fe=n}}}let kn=0;class wa{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Or{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!fe||!Ye||fe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==fe)n=this.activeLink=new wa(fe,this),fe.deps?(n.prevDep=fe.depsTail,fe.depsTail.nextDep=n,fe.depsTail=n):fe.deps=fe.depsTail=n,_i(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=fe.depsTail,n.nextDep=void 0,fe.depsTail.nextDep=n,fe.depsTail=n,fe.deps===n&&(fe.deps=s)}return n}trigger(t){this.version++,kn++,this.notify(t)}notify(t){Rr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{kr()}}}function _i(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)_i(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const rr=new WeakMap,zt=Symbol(""),or=Symbol(""),Tn=Symbol("");function Oe(e,t,n){if(Ye&&fe){let s=rr.get(e);s||rr.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Or),r.map=s,r.key=n),r.track()}}function yt(e,t,n,s,r,o){const i=rr.get(e);if(!i){kn++;return}const l=c=>{c&&c.trigger()};if(Rr(),t==="clear")i.forEach(l);else{const c=H(e),a=c&&Ar(n);if(c&&n==="length"){const u=Number(s);i.forEach((f,m)=>{(m==="length"||m===Tn||!dt(m)&&m>=u)&&l(f)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),a&&l(i.get(Tn)),t){case"add":c?a&&l(i.get("length")):(l(i.get(zt)),nn(e)&&l(i.get(or)));break;case"delete":c||(l(i.get(zt)),nn(e)&&l(i.get(or)));break;case"set":nn(e)&&l(i.get(zt));break}}kr()}function Xt(e){const t=ne(e);return t===e?t:(Oe(t,"iterate",Tn),Qe(e)?t:t.map(Pe))}function ws(e){return Oe(e=ne(e),"iterate",Tn),e}const Ea={__proto__:null,[Symbol.iterator](){return zs(this,Symbol.iterator,Pe)},concat(...e){return Xt(this).concat(...e.map(t=>H(t)?Xt(t):t))},entries(){return zs(this,"entries",e=>(e[1]=Pe(e[1]),e))},every(e,t){return mt(this,"every",e,t,void 0,arguments)},filter(e,t){return mt(this,"filter",e,t,n=>n.map(Pe),arguments)},find(e,t){return mt(this,"find",e,t,Pe,arguments)},findIndex(e,t){return mt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return mt(this,"findLast",e,t,Pe,arguments)},findLastIndex(e,t){return mt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return mt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Hs(this,"includes",e)},indexOf(...e){return Hs(this,"indexOf",e)},join(e){return Xt(this).join(e)},lastIndexOf(...e){return Hs(this,"lastIndexOf",e)},map(e,t){return mt(this,"map",e,t,void 0,arguments)},pop(){return mn(this,"pop")},push(...e){return mn(this,"push",e)},reduce(e,...t){return Yr(this,"reduce",e,t)},reduceRight(e,...t){return Yr(this,"reduceRight",e,t)},shift(){return mn(this,"shift")},some(e,t){return mt(this,"some",e,t,void 0,arguments)},splice(...e){return mn(this,"splice",e)},toReversed(){return Xt(this).toReversed()},toSorted(e){return Xt(this).toSorted(e)},toSpliced(...e){return Xt(this).toSpliced(...e)},unshift(...e){return mn(this,"unshift",e)},values(){return zs(this,"values",Pe)}};function zs(e,t,n){const s=ws(e),r=s[t]();return s!==e&&!Qe(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const Sa=Array.prototype;function mt(e,t,n,s,r,o){const i=ws(e),l=i!==e&&!Qe(e),c=i[t];if(c!==Sa[t]){const f=c.apply(e,o);return l?Pe(f):f}let a=n;i!==e&&(l?a=function(f,m){return n.call(this,Pe(f),m,e)}:n.length>2&&(a=function(f,m){return n.call(this,f,m,e)}));const u=c.call(i,a,s);return l&&r?r(u):u}function Yr(e,t,n,s){const r=ws(e);let o=n;return r!==e&&(Qe(e)?n.length>3&&(o=function(i,l,c){return n.call(this,i,l,c,e)}):o=function(i,l,c){return n.call(this,i,Pe(l),c,e)}),r[t](o,...s)}function Hs(e,t,n){const s=ne(e);Oe(s,"iterate",Tn);const r=s[t](...n);return(r===-1||r===!1)&&Mr(n[0])?(n[0]=ne(n[0]),s[t](...n)):r}function mn(e,t,n=[]){Mt(),Rr();const s=ne(e)[t].apply(e,n);return kr(),jt(),s}const Ca=Er("__proto__,__v_isRef,__isVue"),wi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(dt));function Aa(e){dt(e)||(e=String(e));const t=ne(this);return Oe(t,"has",e),t.hasOwnProperty(e)}class Ei{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?$a:Ri:o?Ai:Ci).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=H(t);if(!r){let c;if(i&&(c=Ea[n]))return c;if(n==="hasOwnProperty")return Aa}const l=Reflect.get(t,n,je(t)?t:s);return(dt(n)?wi.has(n):Ca(n))||(r||Oe(t,"get",n),o)?l:je(l)?i&&Ar(n)?l:l.value:de(l)?r?Ti(l):Bn(l):l}}class Si extends Ei{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=Vt(o);if(!Qe(s)&&!Vt(s)&&(o=ne(o),s=ne(s)),!H(t)&&je(o)&&!je(s))return c?!1:(o.value=s,!0)}const i=H(t)&&Ar(n)?Number(n)e,Qn=e=>Reflect.getPrototypeOf(e);function Pa(e,t,n){return function(...s){const r=this.__v_raw,o=ne(r),i=nn(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=r[e](...s),u=n?ir:t?lr:Pe;return!t&&Oe(o,"iterate",c?or:zt),{next(){const{value:f,done:m}=a.next();return m?{value:f,done:m}:{value:l?[u(f[0]),u(f[1])]:u(f),done:m}},[Symbol.iterator](){return this}}}}function Gn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ia(e,t){const n={get(r){const o=this.__v_raw,i=ne(o),l=ne(r);e||(It(r,l)&&Oe(i,"get",r),Oe(i,"get",l));const{has:c}=Qn(i),a=t?ir:e?lr:Pe;if(c.call(i,r))return a(o.get(r));if(c.call(i,l))return a(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&Oe(ne(r),"iterate",zt),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,i=ne(o),l=ne(r);return e||(It(r,l)&&Oe(i,"has",r),Oe(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=ne(l),a=t?ir:e?lr:Pe;return!e&&Oe(c,"iterate",zt),l.forEach((u,f)=>r.call(o,a(u),a(f),i))}};return Re(n,e?{add:Gn("add"),set:Gn("set"),delete:Gn("delete"),clear:Gn("clear")}:{add(r){!t&&!Qe(r)&&!Vt(r)&&(r=ne(r));const o=ne(this);return Qn(o).has.call(o,r)||(o.add(r),yt(o,"add",r,r)),this},set(r,o){!t&&!Qe(o)&&!Vt(o)&&(o=ne(o));const i=ne(this),{has:l,get:c}=Qn(i);let a=l.call(i,r);a||(r=ne(r),a=l.call(i,r));const u=c.call(i,r);return i.set(r,o),a?It(o,u)&&yt(i,"set",r,o):yt(i,"add",r,o),this},delete(r){const o=ne(this),{has:i,get:l}=Qn(o);let c=i.call(o,r);c||(r=ne(r),c=i.call(o,r)),l&&l.call(o,r);const a=o.delete(r);return c&&yt(o,"delete",r,void 0),a},clear(){const r=ne(this),o=r.size!==0,i=r.clear();return o&&yt(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Pa(r,e,t)}),n}function Pr(e,t){const n=Ia(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(se(n,r)&&r in s?n:s,r,o)}const Ma={get:Pr(!1,!1)},ja={get:Pr(!1,!0)},La={get:Pr(!0,!1)};const Ci=new WeakMap,Ai=new WeakMap,Ri=new WeakMap,$a=new WeakMap;function Da(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fa(e){return e.__v_skip||!Object.isExtensible(e)?0:Da(aa(e))}function Bn(e){return Vt(e)?e:Ir(e,!1,ka,Ma,Ci)}function ki(e){return Ir(e,!1,Oa,ja,Ai)}function Ti(e){return Ir(e,!0,Ta,La,Ri)}function Ir(e,t,n,s,r){if(!de(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Fa(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function sn(e){return Vt(e)?sn(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function Qe(e){return!!(e&&e.__v_isShallow)}function Mr(e){return e?!!e.__v_raw:!1}function ne(e){const t=e&&e.__v_raw;return t?ne(t):e}function Ba(e){return!se(e,"__v_skip")&&Object.isExtensible(e)&&ui(e,"__v_skip",!0),e}const Pe=e=>de(e)?Bn(e):e,lr=e=>de(e)?Ti(e):e;function je(e){return e?e.__v_isRef===!0:!1}function ee(e){return Oi(e,!1)}function Na(e){return Oi(e,!0)}function Oi(e,t){return je(e)?e:new Ua(e,t)}class Ua{constructor(t,n){this.dep=new Or,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ne(t),this._value=n?t:Pe(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Qe(t)||Vt(t);t=s?t:ne(t),It(t,n)&&(this._rawValue=t,this._value=s?t:Pe(t),this.dep.trigger())}}function Ae(e){return je(e)?e.value:e}const za={get:(e,t,n)=>t==="__v_raw"?e:Ae(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return je(r)&&!je(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Pi(e){return sn(e)?e:new Proxy(e,za)}class Ha{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Or(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=kn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&fe!==this)return gi(this,!0),!0}get value(){const t=this.dep.track();return xi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function qa(e,t,n=!1){let s,r;return K(e)?s=e:(s=e.get,r=e.set),new Ha(s,r,n)}const Jn={},os=new WeakMap;let Bt;function Va(e,t=!1,n=Bt){if(n){let s=os.get(n);s||os.set(n,s=[]),s.push(e)}}function Ka(e,t,n=ce){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,a=j=>r?j:Qe(j)||r===!1||r===0?xt(j,1):xt(j);let u,f,m,g,x=!1,S=!1;if(je(e)?(f=()=>e.value,x=Qe(e)):sn(e)?(f=()=>a(e),x=!0):H(e)?(S=!0,x=e.some(j=>sn(j)||Qe(j)),f=()=>e.map(j=>{if(je(j))return j.value;if(sn(j))return a(j);if(K(j))return c?c(j,2):j()})):K(e)?t?f=c?()=>c(e,2):e:f=()=>{if(m){Mt();try{m()}finally{jt()}}const j=Bt;Bt=u;try{return c?c(e,3,[g]):e(g)}finally{Bt=j}}:f=ft,t&&r){const j=f,V=r===!0?1/0:r;f=()=>xt(j(),V)}const E=va(),I=()=>{u.stop(),E&&E.active&&Cr(E.effects,u)};if(o&&t){const j=t;t=(...V)=>{j(...V),I()}}let T=S?new Array(e.length).fill(Jn):Jn;const O=j=>{if(!(!(u.flags&1)||!u.dirty&&!j))if(t){const V=u.run();if(r||x||(S?V.some((Y,G)=>It(Y,T[G])):It(V,T))){m&&m();const Y=Bt;Bt=u;try{const G=[V,T===Jn?void 0:S&&T[0]===Jn?[]:T,g];c?c(t,3,G):t(...G),T=V}finally{Bt=Y}}}else u.run()};return l&&l(O),u=new hi(f),u.scheduler=i?()=>i(O,!1):O,g=j=>Va(j,!1,u),m=u.onStop=()=>{const j=os.get(u);if(j){if(c)c(j,4);else for(const V of j)V();os.delete(u)}},t?s?O(!0):T=u.run():i?i(O.bind(null,!0),!0):u.run(),I.pause=u.pause.bind(u),I.resume=u.resume.bind(u),I.stop=I,I}function xt(e,t=1/0,n){if(t<=0||!de(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,je(e))xt(e.value,t,n);else if(H(e))for(let s=0;s{xt(s,t,n)});else if(ci(e)){for(const s in e)xt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&xt(e[s],t,n)}return e}/** -* @vue/runtime-core v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function Nn(e,t,n,s){try{return s?e(...s):e()}catch(r){Es(r,t,n)}}function pt(e,t,n,s){if(K(e)){const r=Nn(e,t,n,s);return r&&li(r)&&r.catch(o=>{Es(o,t,n)}),r}if(H(e)){const r=[];for(let o=0;o>>1,r=$e[s],o=On(r);o=On(n)?$e.push(e):$e.splice(Qa(t),0,e),e.flags|=1,Mi()}}function Mi(){is||(is=Ii.then(Li))}function Ga(e){H(e)?rn.push(...e):Rt&&e.id===-1?Rt.splice(Yt+1,0,e):e.flags&1||(rn.push(e),e.flags|=1),Mi()}function eo(e,t,n=ct+1){for(;n<$e.length;n++){const s=$e[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;$e.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function ji(e){if(rn.length){const t=[...new Set(rn)].sort((n,s)=>On(n)-On(s));if(rn.length=0,Rt){Rt.push(...t);return}for(Rt=t,Yt=0;Yte.id==null?e.flags&2?-1:1/0:e.id;function Li(e){try{for(ct=0;ct<$e.length;ct++){const t=$e[ct];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Nn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ct<$e.length;ct++){const t=$e[ct];t&&(t.flags&=-2)}ct=-1,$e.length=0,ji(),is=null,($e.length||rn.length)&&Li()}}let qe=null,$i=null;function ls(e){const t=qe;return qe=e,$i=e&&e.type.__scopeId||null,t}function be(e,t=qe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&co(-1);const o=ls(t);let i;try{i=e(...r)}finally{ls(o),s._d&&co(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function ke(e,t){if(qe===null)return e;const n=Rs(qe),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport;function $r(e,t){e.shapeFlag&6&&e.component?(e.transition=t,$r(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function Di(e,t){return K(e)?Re({name:e.name},t,{setup:e}):e}function Fi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function as(e,t,n,s,r=!1){if(H(e)){e.forEach((x,S)=>as(x,t&&(H(t)?t[S]:t),n,s,r));return}if(En(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&as(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Rs(s.component):s.el,i=r?null:o,{i:l,r:c}=e,a=t&&t.r,u=l.refs===ce?l.refs={}:l.refs,f=l.setupState,m=ne(f),g=f===ce?()=>!1:x=>se(m,x);if(a!=null&&a!==c&&(we(a)?(u[a]=null,g(a)&&(f[a]=null)):je(a)&&(a.value=null)),K(c))Nn(c,l,12,[i,u]);else{const x=we(c),S=je(c);if(x||S){const E=()=>{if(e.f){const I=x?g(c)?f[c]:u[c]:c.value;r?H(I)&&Cr(I,o):H(I)?I.includes(o)||I.push(o):x?(u[c]=[o],g(c)&&(f[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else x?(u[c]=i,g(c)&&(f[c]=i)):S&&(c.value=i,e.k&&(u[e.k]=i))};i?(E.id=-1,ze(E,n)):E()}}}vs().requestIdleCallback;vs().cancelIdleCallback;const En=e=>!!e.type.__asyncLoader,Bi=e=>e.type.__isKeepAlive;function Xa(e,t){Ni(e,"a",t)}function Ya(e,t){Ni(e,"da",t)}function Ni(e,t,n=Ie){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ss(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Bi(r.parent.vnode)&&ec(s,t,n,r),r=r.parent}}function ec(e,t,n,s){const r=Ss(t,e,s,!0);zi(()=>{Cr(s[t],r)},n)}function Ss(e,t,n=Ie,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Mt();const l=Un(n),c=pt(t,n,e,i);return l(),jt(),c});return s?r.unshift(o):r.push(o),o}}const wt=e=>(t,n=Ie)=>{(!In||e==="sp")&&Ss(e,(...s)=>t(...s),n)},tc=wt("bm"),Lt=wt("m"),nc=wt("bu"),sc=wt("u"),Ui=wt("bum"),zi=wt("um"),rc=wt("sp"),oc=wt("rtg"),ic=wt("rtc");function lc(e,t=Ie){Ss("ec",e,t)}const ac="components";function he(e,t){return uc(ac,e,!0,t)||e}const cc=Symbol.for("v-ndc");function uc(e,t,n=!0,s=!1){const r=qe||Ie;if(r){const o=r.type;{const l=Jc(o,!1);if(l&&(l===t||l===Ge(t)||l===xs(Ge(t))))return o}const i=to(r[e]||o[e],t)||to(r.appContext[e],t);return!i&&s?o:i}}function to(e,t){return e&&(e[t]||e[Ge(t)]||e[xs(Ge(t))])}function xe(e,t,n,s){let r;const o=n,i=H(e);if(i||we(e)){const l=i&&sn(e);let c=!1;l&&(c=!Qe(e),e=ws(e)),r=new Array(e.length);for(let a=0,u=e.length;at(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,a=l.length;ce?al(e)?Rs(e):ar(e.parent):null,Sn=Re(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ar(e.parent),$root:e=>ar(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Dr(e),$forceUpdate:e=>e.f||(e.f=()=>{Lr(e.update)}),$nextTick:e=>e.n||(e.n=jr.bind(e.proxy)),$watch:e=>Pc.bind(e)}),qs=(e,t)=>e!==ce&&!e.__isScriptSetup&&se(e,t),fc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(qs(s,t))return i[t]=1,s[t];if(r!==ce&&se(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&se(a,t))return i[t]=3,o[t];if(n!==ce&&se(n,t))return i[t]=4,n[t];cr&&(i[t]=0)}}const u=Sn[t];let f,m;if(u)return t==="$attrs"&&Oe(e.attrs,"get",""),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ce&&se(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,se(m,t))return m[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return qs(r,t)?(r[t]=n,!0):s!==ce&&se(s,t)?(s[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==ce&&se(e,i)||qs(t,i)||(l=o[0])&&se(l,i)||se(s,i)||se(Sn,i)||se(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function no(e){return H(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let cr=!0;function dc(e){const t=Dr(e),n=e.proxy,s=e.ctx;cr=!1,t.beforeCreate&&so(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:a,created:u,beforeMount:f,mounted:m,beforeUpdate:g,updated:x,activated:S,deactivated:E,beforeDestroy:I,beforeUnmount:T,destroyed:O,unmounted:j,render:V,renderTracked:Y,renderTriggered:G,errorCaptured:Se,serverPrefetch:Je,expose:st,inheritAttrs:St,components:$t,directives:rt,filters:pn}=t;if(a&&pc(a,s,null),i)for(const le in i){const te=i[le];K(te)&&(s[le]=te.bind(n))}if(r){const le=r.call(n,n);de(le)&&(e.data=Bn(le))}if(cr=!0,o)for(const le in o){const te=o[le],ht=K(te)?te.bind(n,n):K(te.get)?te.get.bind(n,n):ft,Ct=!K(te)&&K(te.set)?te.set.bind(n):ft,ot=Xe({get:ht,set:Ct});Object.defineProperty(s,le,{enumerable:!0,configurable:!0,get:()=>ot.value,set:De=>ot.value=De})}if(l)for(const le in l)Hi(l[le],s,n,le);if(c){const le=K(c)?c.call(n):c;Reflect.ownKeys(le).forEach(te=>{Xn(te,le[te])})}u&&so(u,e,"c");function Ce(le,te){H(te)?te.forEach(ht=>le(ht.bind(n))):te&&le(te.bind(n))}if(Ce(tc,f),Ce(Lt,m),Ce(nc,g),Ce(sc,x),Ce(Xa,S),Ce(Ya,E),Ce(lc,Se),Ce(ic,Y),Ce(oc,G),Ce(Ui,T),Ce(zi,j),Ce(rc,Je),H(st))if(st.length){const le=e.exposed||(e.exposed={});st.forEach(te=>{Object.defineProperty(le,te,{get:()=>n[te],set:ht=>n[te]=ht})})}else e.exposed||(e.exposed={});V&&e.render===ft&&(e.render=V),St!=null&&(e.inheritAttrs=St),$t&&(e.components=$t),rt&&(e.directives=rt),Je&&Fi(e)}function pc(e,t,n=ft){H(e)&&(e=ur(e));for(const s in e){const r=e[s];let o;de(r)?"default"in r?o=et(r.from||s,r.default,!0):o=et(r.from||s):o=et(r),je(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function so(e,t,n){pt(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Hi(e,t,n,s){let r=s.includes(".")?sl(n,s):()=>n[s];if(we(e)){const o=t[e];K(o)&&Ht(r,o)}else if(K(e))Ht(r,e.bind(n));else if(de(e))if(H(e))e.forEach(o=>Hi(o,t,n,s));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&Ht(r,o,e)}}function Dr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>cs(c,a,i,!0)),cs(c,t,i)),de(t)&&o.set(t,c),c}function cs(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&cs(e,o,n,!0),r&&r.forEach(i=>cs(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=hc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const hc={data:ro,props:oo,emits:oo,methods:xn,computed:xn,beforeCreate:Le,created:Le,beforeMount:Le,mounted:Le,beforeUpdate:Le,updated:Le,beforeDestroy:Le,beforeUnmount:Le,destroyed:Le,unmounted:Le,activated:Le,deactivated:Le,errorCaptured:Le,serverPrefetch:Le,components:xn,directives:xn,watch:gc,provide:ro,inject:mc};function ro(e,t){return t?e?function(){return Re(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function mc(e,t){return xn(ur(e),ur(t))}function ur(e){if(H(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(s&&s.proxy):t}}const Vi={},Ki=()=>Object.create(Vi),Wi=e=>Object.getPrototypeOf(e)===Vi;function xc(e,t,n,s=!1){const r={},o=Ki();e.propsDefaults=Object.create(null),Qi(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:ki(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function vc(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=ne(r),[c]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{c=!0;const[m,g]=Gi(f,t,!0);Re(i,m),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return de(e)&&s.set(e,tn),tn;if(H(o))for(let u=0;ue[0]==="_"||e==="$stable",Fr=e=>H(e)?e.map(ut):[ut(e)],wc=(e,t,n)=>{if(t._n)return t;const s=be((...r)=>Fr(t(...r)),n);return s._c=!1,s},Zi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Ji(r))continue;const o=e[r];if(K(o))t[r]=wc(r,o,s);else if(o!=null){const i=Fr(o);t[r]=()=>i}}},Xi=(e,t)=>{const n=Fr(t);e.slots.default=()=>n},Yi=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Ec=(e,t,n)=>{const s=e.slots=Ki();if(e.vnode.shapeFlag&32){const r=t._;r?(Yi(s,t,n),n&&ui(s,"_",r,!0)):Zi(t,s)}else t&&Xi(e,t)},Sc=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ce;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Yi(r,t,n):(o=!t.$stable,Zi(t,r)),i=t}else t&&(Xi(e,t),i={default:1});if(o)for(const l in r)!Ji(l)&&i[l]==null&&delete r[l]},ze=Fc;function Cc(e){return Ac(e)}function Ac(e,t){const n=vs();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:f,nextSibling:m,setScopeId:g=ft,insertStaticContent:x}=e,S=(p,h,b,C=null,v=null,A=null,L=void 0,M=null,P=!!h.dynamicChildren)=>{if(p===h)return;p&&!gn(p,h)&&(C=w(p),De(p,v,A,!0),p=null),h.patchFlag===-2&&(P=!1,h.dynamicChildren=null);const{type:k,ref:z,shapeFlag:D}=h;switch(k){case As:E(p,h,b,C);break;case Kt:I(p,h,b,C);break;case Ws:p==null&&T(h,b,C,L);break;case Q:$t(p,h,b,C,v,A,L,M,P);break;default:D&1?V(p,h,b,C,v,A,L,M,P):D&6?rt(p,h,b,C,v,A,L,M,P):(D&64||D&128)&&k.process(p,h,b,C,v,A,L,M,P,N)}z!=null&&v&&as(z,p&&p.ref,A,h||p,!h)},E=(p,h,b,C)=>{if(p==null)s(h.el=l(h.children),b,C);else{const v=h.el=p.el;h.children!==p.children&&a(v,h.children)}},I=(p,h,b,C)=>{p==null?s(h.el=c(h.children||""),b,C):h.el=p.el},T=(p,h,b,C)=>{[p.el,p.anchor]=x(p.children,h,b,C,p.el,p.anchor)},O=({el:p,anchor:h},b,C)=>{let v;for(;p&&p!==h;)v=m(p),s(p,b,C),p=v;s(h,b,C)},j=({el:p,anchor:h})=>{let b;for(;p&&p!==h;)b=m(p),r(p),p=b;r(h)},V=(p,h,b,C,v,A,L,M,P)=>{h.type==="svg"?L="svg":h.type==="math"&&(L="mathml"),p==null?Y(h,b,C,v,A,L,M,P):Je(p,h,v,A,L,M,P)},Y=(p,h,b,C,v,A,L,M)=>{let P,k;const{props:z,shapeFlag:D,transition:U,dirs:q}=p;if(P=p.el=i(p.type,A,z&&z.is,z),D&8?u(P,p.children):D&16&&Se(p.children,P,null,C,v,Vs(p,A),L,M),q&&Dt(p,null,C,"created"),G(P,p,p.scopeId,L,C),z){for(const ue in z)ue!=="value"&&!vn(ue)&&o(P,ue,null,z[ue],A,C);"value"in z&&o(P,"value",null,z.value,A),(k=z.onVnodeBeforeMount)&<(k,C,p)}q&&Dt(p,null,C,"beforeMount");const J=Rc(v,U);J&&U.beforeEnter(P),s(P,h,b),((k=z&&z.onVnodeMounted)||J||q)&&ze(()=>{k&<(k,C,p),J&&U.enter(P),q&&Dt(p,null,C,"mounted")},v)},G=(p,h,b,C,v)=>{if(b&&g(p,b),C)for(let A=0;A{for(let k=P;k{const M=h.el=p.el;let{patchFlag:P,dynamicChildren:k,dirs:z}=h;P|=p.patchFlag&16;const D=p.props||ce,U=h.props||ce;let q;if(b&&Ft(b,!1),(q=U.onVnodeBeforeUpdate)&<(q,b,h,p),z&&Dt(h,p,b,"beforeUpdate"),b&&Ft(b,!0),(D.innerHTML&&U.innerHTML==null||D.textContent&&U.textContent==null)&&u(M,""),k?st(p.dynamicChildren,k,M,b,C,Vs(h,v),A):L||te(p,h,M,null,b,C,Vs(h,v),A,!1),P>0){if(P&16)St(M,D,U,b,v);else if(P&2&&D.class!==U.class&&o(M,"class",null,U.class,v),P&4&&o(M,"style",D.style,U.style,v),P&8){const J=h.dynamicProps;for(let ue=0;ue{q&<(q,b,h,p),z&&Dt(h,p,b,"updated")},C)},st=(p,h,b,C,v,A,L)=>{for(let M=0;M{if(h!==b){if(h!==ce)for(const A in h)!vn(A)&&!(A in b)&&o(p,A,h[A],null,v,C);for(const A in b){if(vn(A))continue;const L=b[A],M=h[A];L!==M&&A!=="value"&&o(p,A,M,L,v,C)}"value"in b&&o(p,"value",h.value,b.value,v)}},$t=(p,h,b,C,v,A,L,M,P)=>{const k=h.el=p?p.el:l(""),z=h.anchor=p?p.anchor:l("");let{patchFlag:D,dynamicChildren:U,slotScopeIds:q}=h;q&&(M=M?M.concat(q):q),p==null?(s(k,b,C),s(z,b,C),Se(h.children||[],b,z,v,A,L,M,P)):D>0&&D&64&&U&&p.dynamicChildren?(st(p.dynamicChildren,U,b,v,A,L,M),(h.key!=null||v&&h===v.subTree)&&el(p,h,!0)):te(p,h,b,z,v,A,L,M,P)},rt=(p,h,b,C,v,A,L,M,P)=>{h.slotScopeIds=M,p==null?h.shapeFlag&512?v.ctx.activate(h,b,C,L,P):pn(h,b,C,v,A,L,P):Gt(p,h,P)},pn=(p,h,b,C,v,A,L)=>{const M=p.component=Vc(p,C,v);if(Bi(p)&&(M.ctx.renderer=N),Kc(M,!1,L),M.asyncDep){if(v&&v.registerDep(M,Ce,L),!p.el){const P=M.subTree=F(Kt);I(null,P,h,b)}}else Ce(M,p,h,b,v,A,L)},Gt=(p,h,b)=>{const C=h.component=p.component;if($c(p,h,b))if(C.asyncDep&&!C.asyncResolved){le(C,h,b);return}else C.next=h,C.update();else h.el=p.el,C.vnode=h},Ce=(p,h,b,C,v,A,L)=>{const M=()=>{if(p.isMounted){let{next:D,bu:U,u:q,parent:J,vnode:ue}=p;{const Ne=tl(p);if(Ne){D&&(D.el=ue.el,le(p,D,L)),Ne.asyncDep.then(()=>{p.isUnmounted||M()});return}}let oe=D,Be;Ft(p,!1),D?(D.el=ue.el,le(p,D,L)):D=ue,U&&Zn(U),(Be=D.props&&D.props.onVnodeBeforeUpdate)&<(Be,J,D,ue),Ft(p,!0);const Te=Ks(p),Ze=p.subTree;p.subTree=Te,S(Ze,Te,f(Ze.el),w(Ze),p,v,A),D.el=Te.el,oe===null&&Dc(p,Te.el),q&&ze(q,v),(Be=D.props&&D.props.onVnodeUpdated)&&ze(()=>lt(Be,J,D,ue),v)}else{let D;const{el:U,props:q}=h,{bm:J,m:ue,parent:oe,root:Be,type:Te}=p,Ze=En(h);if(Ft(p,!1),J&&Zn(J),!Ze&&(D=q&&q.onVnodeBeforeMount)&<(D,oe,h),Ft(p,!0),U&&me){const Ne=()=>{p.subTree=Ks(p),me(U,p.subTree,p,v,null)};Ze&&Te.__asyncHydrate?Te.__asyncHydrate(U,p,Ne):Ne()}else{Be.ce&&Be.ce._injectChildStyle(Te);const Ne=p.subTree=Ks(p);S(null,Ne,b,C,p,v,A),h.el=Ne.el}if(ue&&ze(ue,v),!Ze&&(D=q&&q.onVnodeMounted)){const Ne=h;ze(()=>lt(D,oe,Ne),v)}(h.shapeFlag&256||oe&&En(oe.vnode)&&oe.vnode.shapeFlag&256)&&p.a&&ze(p.a,v),p.isMounted=!0,h=b=C=null}};p.scope.on();const P=p.effect=new hi(M);p.scope.off();const k=p.update=P.run.bind(P),z=p.job=P.runIfDirty.bind(P);z.i=p,z.id=p.uid,P.scheduler=()=>Lr(z),Ft(p,!0),k()},le=(p,h,b)=>{h.component=p;const C=p.vnode.props;p.vnode=h,p.next=null,vc(p,h.props,C,b),Sc(p,h.children,b),Mt(),eo(p),jt()},te=(p,h,b,C,v,A,L,M,P=!1)=>{const k=p&&p.children,z=p?p.shapeFlag:0,D=h.children,{patchFlag:U,shapeFlag:q}=h;if(U>0){if(U&128){Ct(k,D,b,C,v,A,L,M,P);return}else if(U&256){ht(k,D,b,C,v,A,L,M,P);return}}q&8?(z&16&&We(k,v,A),D!==k&&u(b,D)):z&16?q&16?Ct(k,D,b,C,v,A,L,M,P):We(k,v,A,!0):(z&8&&u(b,""),q&16&&Se(D,b,C,v,A,L,M,P))},ht=(p,h,b,C,v,A,L,M,P)=>{p=p||tn,h=h||tn;const k=p.length,z=h.length,D=Math.min(k,z);let U;for(U=0;Uz?We(p,v,A,!0,!1,D):Se(h,b,C,v,A,L,M,P,D)},Ct=(p,h,b,C,v,A,L,M,P)=>{let k=0;const z=h.length;let D=p.length-1,U=z-1;for(;k<=D&&k<=U;){const q=p[k],J=h[k]=P?kt(h[k]):ut(h[k]);if(gn(q,J))S(q,J,b,null,v,A,L,M,P);else break;k++}for(;k<=D&&k<=U;){const q=p[D],J=h[U]=P?kt(h[U]):ut(h[U]);if(gn(q,J))S(q,J,b,null,v,A,L,M,P);else break;D--,U--}if(k>D){if(k<=U){const q=U+1,J=qU)for(;k<=D;)De(p[k],v,A,!0),k++;else{const q=k,J=k,ue=new Map;for(k=J;k<=U;k++){const Ue=h[k]=P?kt(h[k]):ut(h[k]);Ue.key!=null&&ue.set(Ue.key,k)}let oe,Be=0;const Te=U-J+1;let Ze=!1,Ne=0;const hn=new Array(Te);for(k=0;k=Te){De(Ue,v,A,!0);continue}let it;if(Ue.key!=null)it=ue.get(Ue.key);else for(oe=J;oe<=U;oe++)if(hn[oe-J]===0&&gn(Ue,h[oe])){it=oe;break}it===void 0?De(Ue,v,A,!0):(hn[it-J]=k+1,it>=Ne?Ne=it:Ze=!0,S(Ue,h[it],b,null,v,A,L,M,P),Be++)}const Qr=Ze?kc(hn):tn;for(oe=Qr.length-1,k=Te-1;k>=0;k--){const Ue=J+k,it=h[Ue],Gr=Ue+1{const{el:A,type:L,transition:M,children:P,shapeFlag:k}=p;if(k&6){ot(p.component.subTree,h,b,C);return}if(k&128){p.suspense.move(h,b,C);return}if(k&64){L.move(p,h,b,N);return}if(L===Q){s(A,h,b);for(let D=0;DM.enter(A),v);else{const{leave:D,delayLeave:U,afterLeave:q}=M,J=()=>s(A,h,b),ue=()=>{D(A,()=>{J(),q&&q()})};U?U(A,J,ue):ue()}else s(A,h,b)},De=(p,h,b,C=!1,v=!1)=>{const{type:A,props:L,ref:M,children:P,dynamicChildren:k,shapeFlag:z,patchFlag:D,dirs:U,cacheIndex:q}=p;if(D===-2&&(v=!1),M!=null&&as(M,null,b,p,!0),q!=null&&(h.renderCache[q]=void 0),z&256){h.ctx.deactivate(p);return}const J=z&1&&U,ue=!En(p);let oe;if(ue&&(oe=L&&L.onVnodeBeforeUnmount)&<(oe,h,p),z&6)Wn(p.component,b,C);else{if(z&128){p.suspense.unmount(b,C);return}J&&Dt(p,null,h,"beforeUnmount"),z&64?p.type.remove(p,h,b,N,C):k&&!k.hasOnce&&(A!==Q||D>0&&D&64)?We(k,h,b,!1,!0):(A===Q&&D&384||!v&&z&16)&&We(P,h,b),C&&Jt(p)}(ue&&(oe=L&&L.onVnodeUnmounted)||J)&&ze(()=>{oe&<(oe,h,p),J&&Dt(p,null,h,"unmounted")},b)},Jt=p=>{const{type:h,el:b,anchor:C,transition:v}=p;if(h===Q){Zt(b,C);return}if(h===Ws){j(p);return}const A=()=>{r(b),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(p.shapeFlag&1&&v&&!v.persisted){const{leave:L,delayLeave:M}=v,P=()=>L(b,A);M?M(p.el,A,P):P()}else A()},Zt=(p,h)=>{let b;for(;p!==h;)b=m(p),r(p),p=b;r(h)},Wn=(p,h,b)=>{const{bum:C,scope:v,job:A,subTree:L,um:M,m:P,a:k}=p;lo(P),lo(k),C&&Zn(C),v.stop(),A&&(A.flags|=8,De(L,p,h,b)),M&&ze(M,h),ze(()=>{p.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},We=(p,h,b,C=!1,v=!1,A=0)=>{for(let L=A;L{if(p.shapeFlag&6)return w(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const h=m(p.anchor||p.el),b=h&&h[Ja];return b?m(b):h};let B=!1;const $=(p,h,b)=>{p==null?h._vnode&&De(h._vnode,null,null,!0):S(h._vnode||null,p,h,null,null,null,b),h._vnode=p,B||(B=!0,eo(),ji(),B=!1)},N={p:S,um:De,m:ot,r:Jt,mt:pn,mc:Se,pc:te,pbc:st,n:w,o:e};let re,me;return{render:$,hydrate:re,createApp:yc($,re)}}function Vs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ft({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Rc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function el(e,t,n=!1){const s=e.children,r=t.children;if(H(s)&&H(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function tl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:tl(t)}function lo(e){if(e)for(let t=0;tet(Tc);function Ht(e,t,n){return nl(e,t,n)}function nl(e,t,n=ce){const{immediate:s,deep:r,flush:o,once:i}=n,l=Re({},n),c=t&&s||!t&&o!=="post";let a;if(In){if(o==="sync"){const g=Oc();a=g.__watcherHandles||(g.__watcherHandles=[])}else if(!c){const g=()=>{};return g.stop=ft,g.resume=ft,g.pause=ft,g}}const u=Ie;l.call=(g,x,S)=>pt(g,u,x,S);let f=!1;o==="post"?l.scheduler=g=>{ze(g,u&&u.suspense)}:o!=="sync"&&(f=!0,l.scheduler=(g,x)=>{x?g():Lr(g)}),l.augmentJob=g=>{t&&(g.flags|=4),f&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const m=Ka(e,t,l);return In&&(a?a.push(m):c&&m()),m}function Pc(e,t,n){const s=this.proxy,r=we(e)?e.includes(".")?sl(s,e):()=>s[e]:e.bind(s,s);let o;K(t)?o=t:(o=t.handler,n=t);const i=Un(this),l=nl(r,o.bind(s),n);return i(),l}function sl(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ge(t)}Modifiers`]||e[`${Qt(t)}Modifiers`];function Mc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ce;let r=n;const o=t.startsWith("update:"),i=o&&Ic(s,t.slice(7));i&&(i.trim&&(r=n.map(u=>we(u)?u.trim():u)),i.number&&(r=n.map(rs)));let l,c=s[l=Bs(t)]||s[l=Bs(Ge(t))];!c&&o&&(c=s[l=Bs(Qt(t))]),c&&pt(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,pt(a,e,6,r)}}function rl(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!K(e)){const c=a=>{const u=rl(a,t,!0);u&&(l=!0,Re(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(de(e)&&s.set(e,null),null):(H(o)?o.forEach(c=>i[c]=null):Re(i,o),de(e)&&s.set(e,i),i)}function Cs(e,t){return!e||!gs(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,Qt(t))||se(e,t))}function Ks(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:a,renderCache:u,props:f,data:m,setupState:g,ctx:x,inheritAttrs:S}=e,E=ls(e);let I,T;try{if(n.shapeFlag&4){const j=r||s,V=j;I=ut(a.call(V,j,u,f,g,m,x)),T=l}else{const j=t;I=ut(j.length>1?j(f,{attrs:l,slots:i,emit:c}):j(f,null)),T=t.props?l:jc(l)}}catch(j){Cn.length=0,Es(j,e,1),I=F(Kt)}let O=I;if(T&&S!==!1){const j=Object.keys(T),{shapeFlag:V}=O;j.length&&V&7&&(o&&j.some(Sr)&&(T=Lc(T,o)),O=an(O,T,!1,!0))}return n.dirs&&(O=an(O,null,!1,!0),O.dirs=O.dirs?O.dirs.concat(n.dirs):n.dirs),n.transition&&$r(O,n.transition),I=O,ls(E),I}const jc=e=>{let t;for(const n in e)(n==="class"||n==="style"||gs(n))&&((t||(t={}))[n]=e[n]);return t},Lc=(e,t)=>{const n={};for(const s in e)(!Sr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function $c(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?ao(s,i,a):!!i;if(c&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function Fc(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):Ga(e)}const Q=Symbol.for("v-fgt"),As=Symbol.for("v-txt"),Kt=Symbol.for("v-cmt"),Ws=Symbol.for("v-stc"),Cn=[];let Ve=null;function _(e=!1){Cn.push(Ve=e?null:[])}function Bc(){Cn.pop(),Ve=Cn[Cn.length-1]||null}let Pn=1;function co(e,t=!1){Pn+=e,e<0&&Ve&&t&&(Ve.hasOnce=!0)}function il(e){return e.dynamicChildren=Pn>0?Ve||tn:null,Bc(),Pn>0&&Ve&&Ve.push(e),e}function R(e,t,n,s,r,o){return il(d(e,t,n,s,r,o,!0))}function _e(e,t,n,s,r){return il(F(e,t,n,s,r,!0))}function us(e){return e?e.__v_isVNode===!0:!1}function gn(e,t){return e.type===t.type&&e.key===t.key}const ll=({key:e})=>e??null,Yn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?we(e)||je(e)||K(e)?{i:qe,r:e,k:t,f:!!n}:e:null);function d(e,t=null,n=null,s=0,r=null,o=e===Q?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ll(t),ref:t&&Yn(t),scopeId:$i,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:qe};return l?(Br(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=we(n)?8:16),Pn>0&&!i&&Ve&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ve.push(c),c}const F=Nc;function Nc(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===cc)&&(e=Kt),us(e)){const l=an(e,t,!0);return n&&Br(l,n),Pn>0&&!o&&Ve&&(l.shapeFlag&6?Ve[Ve.indexOf(e)]=l:Ve.push(l)),l.patchFlag=-2,l}if(Zc(e)&&(e=e.__vccOpts),t){t=Uc(t);let{class:l,style:c}=t;l&&!we(l)&&(t.class=X(l)),de(c)&&(Mr(c)&&!H(c)&&(c=Re({},c)),t.style=Fn(c))}const i=we(e)?1:ol(e)?128:Za(e)?64:de(e)?4:K(e)?2:0;return d(e,t,n,s,r,i,o,!0)}function Uc(e){return e?Mr(e)||Wi(e)?Re({},e):e:null}function an(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,a=t?zc(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&ll(a),ref:t&&t.ref?n&&o?H(o)?o.concat(Yn(t)):[o,Yn(t)]:Yn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Q?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&an(e.ssContent),ssFallback:e.ssFallback&&an(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&$r(u,c.clone(u)),u}function ye(e=" ",t=0){return F(As,null,e,t)}function ge(e="",t=!1){return t?(_(),_e(Kt,null,e)):F(Kt,null,e)}function ut(e){return e==null||typeof e=="boolean"?F(Kt):H(e)?F(Q,null,e.slice()):us(e)?kt(e):F(As,null,String(e))}function kt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:an(e)}function Br(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Br(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Wi(t)?t._ctx=qe:r===3&&qe&&(qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:qe},n=32):(t=String(t),s&64?(n=16,t=[ye(t)]):n=8);e.children=t,e.shapeFlag|=n}function zc(...e){const t={};for(let n=0;n{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};fs=t("__VUE_INSTANCE_SETTERS__",n=>Ie=n),dr=t("__VUE_SSR_SETTERS__",n=>In=n)}const Un=e=>{const t=Ie;return fs(e),e.scope.on(),()=>{e.scope.off(),fs(t)}},uo=()=>{Ie&&Ie.scope.off(),fs(null)};function al(e){return e.vnode.shapeFlag&4}let In=!1;function Kc(e,t=!1,n=!1){t&&dr(t);const{props:s,children:r}=e.vnode,o=al(e);xc(e,s,o,t),Ec(e,r,n);const i=o?Wc(e,t):void 0;return t&&dr(!1),i}function Wc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,fc);const{setup:s}=n;if(s){Mt();const r=e.setupContext=s.length>1?Gc(e):null,o=Un(e),i=Nn(s,e,0,[e.props,r]),l=li(i);if(jt(),o(),(l||e.sp)&&!En(e)&&Fi(e),l){if(i.then(uo,uo),t)return i.then(c=>{fo(e,c,t)}).catch(c=>{Es(c,e,0)});e.asyncDep=i}else fo(e,i,t)}else cl(e,t)}function fo(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:de(t)&&(e.setupState=Pi(t)),cl(e,n)}let po;function cl(e,t,n){const s=e.type;if(!e.render){if(!t&&po&&!s.render){const r=s.template||Dr(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=Re(Re({isCustomElement:o,delimiters:l},i),c);s.render=po(r,a)}}e.render=s.render||ft}{const r=Un(e);Mt();try{dc(e)}finally{jt(),r()}}}const Qc={get(e,t){return Oe(e,"get",""),e[t]}};function Gc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Qc),slots:e.slots,emit:e.emit,expose:t}}function Rs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Pi(Ba(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Sn)return Sn[n](e)},has(t,n){return n in t||n in Sn}})):e.proxy}function Jc(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function Zc(e){return K(e)&&"__vccOpts"in e}const Xe=(e,t)=>qa(e,t,In);function ul(e,t,n){const s=arguments.length;return s===2?de(t)&&!H(t)?us(t)?F(e,null,[t]):F(e,t):F(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&us(n)&&(n=[n]),F(e,t,n))}const Xc="3.5.13";/** -* @vue/runtime-dom v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let pr;const ho=typeof window<"u"&&window.trustedTypes;if(ho)try{pr=ho.createPolicy("vue",{createHTML:e=>e})}catch{}const fl=pr?e=>pr.createHTML(e):e=>e,Yc="http://www.w3.org/2000/svg",eu="http://www.w3.org/1998/Math/MathML",bt=typeof document<"u"?document:null,mo=bt&&bt.createElement("template"),tu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?bt.createElementNS(Yc,e):t==="mathml"?bt.createElementNS(eu,e):n?bt.createElement(e,{is:n}):bt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>bt.createTextNode(e),createComment:e=>bt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>bt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{mo.innerHTML=fl(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=mo.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},nu=Symbol("_vtc");function su(e,t,n){const s=e[nu];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const go=Symbol("_vod"),ru=Symbol("_vsh"),ou=Symbol(""),iu=/(^|;)\s*display\s*:/;function lu(e,t,n){const s=e.style,r=we(n);let o=!1;if(n&&!r){if(t)if(we(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&es(s,l,"")}else for(const i in t)n[i]==null&&es(s,i,"");for(const i in n)i==="display"&&(o=!0),es(s,i,n[i])}else if(r){if(t!==n){const i=s[ou];i&&(n+=";"+i),s.cssText=n,o=iu.test(n)}}else t&&e.removeAttribute("style");go in e&&(e[go]=o?s.display:"",e[ru]&&(s.display="none"))}const bo=/\s*!important$/;function es(e,t,n){if(H(n))n.forEach(s=>es(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=au(e,t);bo.test(n)?e.setProperty(Qt(s),n.replace(bo,""),"important"):e[s]=n}}const yo=["Webkit","Moz","ms"],Qs={};function au(e,t){const n=Qs[t];if(n)return n;let s=Ge(t);if(s!=="filter"&&s in e)return Qs[t]=s;s=xs(s);for(let r=0;rGs||(du.then(()=>Gs=0),Gs=Date.now());function hu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;pt(mu(s,n.value),t,5,[s])};return n.value=e,n.attached=pu(),n}function mu(e,t){if(H(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const So=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,gu=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?su(e,s,i):t==="style"?lu(e,n,s):gs(t)?Sr(t)||uu(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):bu(e,t,s,i))?(_o(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&vo(e,t,s,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!we(s))?_o(e,Ge(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),vo(e,t,s,i))};function bu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&So(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return So(t)&&we(n)?!1:t in e}const ds=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>Zn(t,n):t};function yu(e){e.target.composing=!0}function Co(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ln=Symbol("_assign"),vt={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ln]=ds(r);const o=s||r.props&&r.props.type==="number";Nt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=rs(l)),e[ln](l)}),n&&Nt(e,"change",()=>{e.value=e.value.trim()}),t||(Nt(e,"compositionstart",yu),Nt(e,"compositionend",Co),Nt(e,"change",Co))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[ln]=ds(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?rs(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},Ot={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=bs(t);Nt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?rs(ps(i)):ps(i));e[ln](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,jr(()=>{e._assigning=!1})}),e[ln]=ds(s)},mounted(e,{value:t}){Ao(e,t)},beforeUpdate(e,t,n){e[ln]=ds(n)},updated(e,{value:t}){e._assigning||Ao(e,t)}};function Ao(e,t){const n=e.multiple,s=H(t);if(!(n&&!s&&!bs(t))){for(let r=0,o=e.options.length;rString(a)===String(l)):i.selected=ya(t,l)>-1}else i.selected=t.has(l);else if(_s(ps(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ps(e){return"_value"in e?e._value:e.value}const xu=["ctrl","shift","alt","meta"],vu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>xu.some(n=>e[`${n}Key`]&&!t.includes(n))},_u=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const t=Eu().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Au(s);if(!r)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,Cu(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Cu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Au(e){return we(e)?document.querySelector(e):e}/*! - * vue-router v4.4.5 - * (c) 2024 Eduardo San Martin Morote - * @license MIT - */const en=typeof document<"u";function dl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ru(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&dl(e.default)}const ie=Object.assign;function Js(e,t){const n={};for(const s in t){const r=t[s];n[s]=tt(r)?r.map(e):e(r)}return n}const An=()=>{},tt=Array.isArray,pl=/#/g,ku=/&/g,Tu=/\//g,Ou=/=/g,Pu=/\?/g,hl=/\+/g,Iu=/%5B/g,Mu=/%5D/g,ml=/%5E/g,ju=/%60/g,gl=/%7B/g,Lu=/%7C/g,bl=/%7D/g,$u=/%20/g;function Nr(e){return encodeURI(""+e).replace(Lu,"|").replace(Iu,"[").replace(Mu,"]")}function Du(e){return Nr(e).replace(gl,"{").replace(bl,"}").replace(ml,"^")}function hr(e){return Nr(e).replace(hl,"%2B").replace($u,"+").replace(pl,"%23").replace(ku,"%26").replace(ju,"`").replace(gl,"{").replace(bl,"}").replace(ml,"^")}function Fu(e){return hr(e).replace(Ou,"%3D")}function Bu(e){return Nr(e).replace(pl,"%23").replace(Pu,"%3F")}function Nu(e){return e==null?"":Bu(e).replace(Tu,"%2F")}function Mn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Uu=/\/$/,zu=e=>e.replace(Uu,"");function Zs(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Ku(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:Mn(i)}}function Hu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ko(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function qu(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&cn(t.matched[s],n.matched[r])&&yl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function cn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function yl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Vu(e[n],t[n]))return!1;return!0}function Vu(e,t){return tt(e)?To(e,t):tt(t)?To(t,e):e===t}function To(e,t){return tt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Ku(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const At={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var jn;(function(e){e.pop="pop",e.push="push"})(jn||(jn={}));var Rn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Rn||(Rn={}));function Wu(e){if(!e)if(en){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),zu(e)}const Qu=/^[^#]+#/;function Gu(e,t){return e.replace(Qu,"#")+t}function Ju(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ks=()=>({left:window.scrollX,top:window.scrollY});function Zu(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Ju(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Oo(e,t){return(history.state?history.state.position-t:-1)+e}const mr=new Map;function Xu(e,t){mr.set(e,t)}function Yu(e){const t=mr.get(e);return mr.delete(e),t}let ef=()=>location.protocol+"//"+location.host;function xl(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),ko(c,"")}return ko(n,e)+s+r}function tf(e,t,n,s){let r=[],o=[],i=null;const l=({state:m})=>{const g=xl(e,location),x=n.value,S=t.value;let E=0;if(m){if(n.value=g,t.value=m,i&&i===x){i=null;return}E=S?m.position-S.position:0}else s(g);r.forEach(I=>{I(n.value,x,{delta:E,type:jn.pop,direction:E?E>0?Rn.forward:Rn.back:Rn.unknown})})};function c(){i=n.value}function a(m){r.push(m);const g=()=>{const x=r.indexOf(m);x>-1&&r.splice(x,1)};return o.push(g),g}function u(){const{history:m}=window;m.state&&m.replaceState(ie({},m.state,{scroll:ks()}),"")}function f(){for(const m of o)m();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:a,destroy:f}}function Po(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?ks():null}}function nf(e){const{history:t,location:n}=window,s={value:xl(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,a,u){const f=e.indexOf("#"),m=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:ef()+e+c;try{t[u?"replaceState":"pushState"](a,"",m),r.value=a}catch(g){console.error(g),n[u?"replace":"assign"](m)}}function i(c,a){const u=ie({},t.state,Po(r.value.back,c,r.value.forward,!0),a,{position:r.value.position});o(c,u,!0),s.value=c}function l(c,a){const u=ie({},r.value,t.state,{forward:c,scroll:ks()});o(u.current,u,!0);const f=ie({},Po(s.value,c,null),{position:u.position+1},a);o(c,f,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function sf(e){e=Wu(e);const t=nf(e),n=tf(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ie({location:"",base:e,go:s,createHref:Gu.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function rf(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),sf(e)}function of(e){return typeof e=="string"||e&&typeof e=="object"}function vl(e){return typeof e=="string"||typeof e=="symbol"}const _l=Symbol("");var Io;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Io||(Io={}));function un(e,t){return ie(new Error,{type:e,[_l]:!0},t)}function gt(e,t){return e instanceof Error&&_l in e&&(t==null||!!(e.type&t))}const Mo="[^/]+?",lf={sensitive:!1,strict:!1,start:!0,end:!0},af=/[.+*?^${}()[\]/\\]/g;function cf(e,t){const n=ie({},lf,t),s=[];let r=n.start?"^":"";const o=[];for(const a of e){const u=a.length?[]:[90];n.strict&&!a.length&&(r+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function wl(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const ff={type:0,value:""},df=/[a-zA-Z0-9_]/;function pf(e){if(!e)return[[]];if(e==="/")return[[ff]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${a}": ${g}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,a="",u="";function f(){a&&(n===0?o.push({type:0,value:a}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:a,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function m(){a+=c}for(;l{i(O)}:An}function i(f){if(vl(f)){const m=s.get(f);m&&(s.delete(f),n.splice(n.indexOf(m),1),m.children.forEach(i),m.alias.forEach(i))}else{const m=n.indexOf(f);m>-1&&(n.splice(m,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function c(f){const m=yf(f,n);n.splice(m,0,f),f.record.name&&!Do(f)&&s.set(f.record.name,f)}function a(f,m){let g,x={},S,E;if("name"in f&&f.name){if(g=s.get(f.name),!g)throw un(1,{location:f});E=g.record.name,x=ie(Lo(m.params,g.keys.filter(O=>!O.optional).concat(g.parent?g.parent.keys.filter(O=>O.optional):[]).map(O=>O.name)),f.params&&Lo(f.params,g.keys.map(O=>O.name))),S=g.stringify(x)}else if(f.path!=null)S=f.path,g=n.find(O=>O.re.test(S)),g&&(x=g.parse(S),E=g.record.name);else{if(g=m.name?s.get(m.name):n.find(O=>O.re.test(m.path)),!g)throw un(1,{location:f,currentLocation:m});E=g.record.name,x=ie({},m.params,f.params),S=g.stringify(x)}const I=[];let T=g;for(;T;)I.unshift(T.record),T=T.parent;return{name:E,path:S,params:x,matched:I,meta:bf(I)}}e.forEach(f=>o(f));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:a,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function Lo(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function $o(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:gf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function gf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Do(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function bf(e){return e.reduce((t,n)=>ie(t,n.meta),{})}function Fo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function yf(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;wl(e,t[o])<0?s=o:n=o+1}const r=xf(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function xf(e){let t=e;for(;t=t.parent;)if(El(t)&&wl(e,t)===0)return t}function El({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function vf(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&hr(o)):[s&&hr(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function _f(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=tt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const wf=Symbol(""),No=Symbol(""),Ts=Symbol(""),Ur=Symbol(""),gr=Symbol("");function bn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Tt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const a=m=>{m===!1?c(un(4,{from:n,to:t})):m instanceof Error?c(m):of(m)?c(un(2,{from:t,to:m})):(i&&s.enterCallbacks[r]===i&&typeof m=="function"&&i.push(m),l())},u=o(()=>e.call(s&&s.instances[r],t,n,a));let f=Promise.resolve(u);e.length<3&&(f=f.then(a)),f.catch(m=>c(m))})}function Xs(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(dl(c)){const u=(c.__vccOpts||c)[t];u&&o.push(Tt(u,n,s,i,l,r))}else{let a=c();o.push(()=>a.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=Ru(u)?u.default:u;i.mods[l]=u,i.components[l]=f;const g=(f.__vccOpts||f)[t];return g&&Tt(g,n,s,i,l,r)()}))}}return o}function Uo(e){const t=et(Ts),n=et(Ur),s=Xe(()=>{const c=Ae(e.to);return t.resolve(c)}),r=Xe(()=>{const{matched:c}=s.value,{length:a}=c,u=c[a-1],f=n.matched;if(!u||!f.length)return-1;const m=f.findIndex(cn.bind(null,u));if(m>-1)return m;const g=zo(c[a-2]);return a>1&&zo(u)===g&&f[f.length-1].path!==g?f.findIndex(cn.bind(null,c[a-2])):m}),o=Xe(()=>r.value>-1&&Af(n.params,s.value.params)),i=Xe(()=>r.value>-1&&r.value===n.matched.length-1&&yl(n.params,s.value.params));function l(c={}){return Cf(c)?t[Ae(e.replace)?"replace":"push"](Ae(e.to)).catch(An):Promise.resolve()}return{route:s,href:Xe(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const Ef=Di({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Uo,setup(e,{slots:t}){const n=Bn(Uo(e)),{options:s}=et(Ts),r=Xe(()=>({[Ho(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Ho(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:ul("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Sf=Ef;function Cf(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Af(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!tt(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function zo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ho=(e,t,n)=>e??t??n,Rf=Di({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=et(gr),r=Xe(()=>e.route||s.value),o=et(No,0),i=Xe(()=>{let a=Ae(o);const{matched:u}=r.value;let f;for(;(f=u[a])&&!f.components;)a++;return a}),l=Xe(()=>r.value.matched[i.value]);Xn(No,Xe(()=>i.value+1)),Xn(wf,l),Xn(gr,r);const c=ee();return Ht(()=>[c.value,l.value,e.name],([a,u,f],[m,g,x])=>{u&&(u.instances[f]=a,g&&g!==u&&a&&a===m&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),a&&u&&(!g||!cn(u,g)||!m)&&(u.enterCallbacks[f]||[]).forEach(S=>S(a))},{flush:"post"}),()=>{const a=r.value,u=e.name,f=l.value,m=f&&f.components[u];if(!m)return qo(n.default,{Component:m,route:a});const g=f.props[u],x=g?g===!0?a.params:typeof g=="function"?g(a):g:null,E=ul(m,ie({},x,t,{onVnodeUnmounted:I=>{I.component.isUnmounted&&(f.instances[u]=null)},ref:c}));return qo(n.default,{Component:E,route:a})||E}}});function qo(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Sl=Rf;function kf(e){const t=mf(e.routes,e),n=e.parseQuery||vf,s=e.stringifyQuery||Bo,r=e.history,o=bn(),i=bn(),l=bn(),c=Na(At);let a=At;en&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Js.bind(null,w=>""+w),f=Js.bind(null,Nu),m=Js.bind(null,Mn);function g(w,B){let $,N;return vl(w)?($=t.getRecordMatcher(w),N=B):N=w,t.addRoute(N,$)}function x(w){const B=t.getRecordMatcher(w);B&&t.removeRoute(B)}function S(){return t.getRoutes().map(w=>w.record)}function E(w){return!!t.getRecordMatcher(w)}function I(w,B){if(B=ie({},B||c.value),typeof w=="string"){const h=Zs(n,w,B.path),b=t.resolve({path:h.path},B),C=r.createHref(h.fullPath);return ie(h,b,{params:m(b.params),hash:Mn(h.hash),redirectedFrom:void 0,href:C})}let $;if(w.path!=null)$=ie({},w,{path:Zs(n,w.path,B.path).path});else{const h=ie({},w.params);for(const b in h)h[b]==null&&delete h[b];$=ie({},w,{params:f(h)}),B.params=f(B.params)}const N=t.resolve($,B),re=w.hash||"";N.params=u(m(N.params));const me=Hu(s,ie({},w,{hash:Du(re),path:N.path})),p=r.createHref(me);return ie({fullPath:me,hash:re,query:s===Bo?_f(w.query):w.query||{}},N,{redirectedFrom:void 0,href:p})}function T(w){return typeof w=="string"?Zs(n,w,c.value.path):ie({},w)}function O(w,B){if(a!==w)return un(8,{from:B,to:w})}function j(w){return G(w)}function V(w){return j(ie(T(w),{replace:!0}))}function Y(w){const B=w.matched[w.matched.length-1];if(B&&B.redirect){const{redirect:$}=B;let N=typeof $=="function"?$(w):$;return typeof N=="string"&&(N=N.includes("?")||N.includes("#")?N=T(N):{path:N},N.params={}),ie({query:w.query,hash:w.hash,params:N.path!=null?{}:w.params},N)}}function G(w,B){const $=a=I(w),N=c.value,re=w.state,me=w.force,p=w.replace===!0,h=Y($);if(h)return G(ie(T(h),{state:typeof h=="object"?ie({},re,h.state):re,force:me,replace:p}),B||$);const b=$;b.redirectedFrom=B;let C;return!me&&qu(s,N,$)&&(C=un(16,{to:b,from:N}),ot(N,N,!0,!1)),(C?Promise.resolve(C):st(b,N)).catch(v=>gt(v)?gt(v,2)?v:Ct(v):te(v,b,N)).then(v=>{if(v){if(gt(v,2))return G(ie({replace:p},T(v.to),{state:typeof v.to=="object"?ie({},re,v.to.state):re,force:me}),B||b)}else v=$t(b,N,!0,p,re);return St(b,N,v),v})}function Se(w,B){const $=O(w,B);return $?Promise.reject($):Promise.resolve()}function Je(w){const B=Zt.values().next().value;return B&&typeof B.runWithContext=="function"?B.runWithContext(w):w()}function st(w,B){let $;const[N,re,me]=Tf(w,B);$=Xs(N.reverse(),"beforeRouteLeave",w,B);for(const h of N)h.leaveGuards.forEach(b=>{$.push(Tt(b,w,B))});const p=Se.bind(null,w,B);return $.push(p),We($).then(()=>{$=[];for(const h of o.list())$.push(Tt(h,w,B));return $.push(p),We($)}).then(()=>{$=Xs(re,"beforeRouteUpdate",w,B);for(const h of re)h.updateGuards.forEach(b=>{$.push(Tt(b,w,B))});return $.push(p),We($)}).then(()=>{$=[];for(const h of me)if(h.beforeEnter)if(tt(h.beforeEnter))for(const b of h.beforeEnter)$.push(Tt(b,w,B));else $.push(Tt(h.beforeEnter,w,B));return $.push(p),We($)}).then(()=>(w.matched.forEach(h=>h.enterCallbacks={}),$=Xs(me,"beforeRouteEnter",w,B,Je),$.push(p),We($))).then(()=>{$=[];for(const h of i.list())$.push(Tt(h,w,B));return $.push(p),We($)}).catch(h=>gt(h,8)?h:Promise.reject(h))}function St(w,B,$){l.list().forEach(N=>Je(()=>N(w,B,$)))}function $t(w,B,$,N,re){const me=O(w,B);if(me)return me;const p=B===At,h=en?history.state:{};$&&(N||p?r.replace(w.fullPath,ie({scroll:p&&h&&h.scroll},re)):r.push(w.fullPath,re)),c.value=w,ot(w,B,$,p),Ct()}let rt;function pn(){rt||(rt=r.listen((w,B,$)=>{if(!Wn.listening)return;const N=I(w),re=Y(N);if(re){G(ie(re,{replace:!0}),N).catch(An);return}a=N;const me=c.value;en&&Xu(Oo(me.fullPath,$.delta),ks()),st(N,me).catch(p=>gt(p,12)?p:gt(p,2)?(G(p.to,N).then(h=>{gt(h,20)&&!$.delta&&$.type===jn.pop&&r.go(-1,!1)}).catch(An),Promise.reject()):($.delta&&r.go(-$.delta,!1),te(p,N,me))).then(p=>{p=p||$t(N,me,!1),p&&($.delta&&!gt(p,8)?r.go(-$.delta,!1):$.type===jn.pop&>(p,20)&&r.go(-1,!1)),St(N,me,p)}).catch(An)}))}let Gt=bn(),Ce=bn(),le;function te(w,B,$){Ct(w);const N=Ce.list();return N.length?N.forEach(re=>re(w,B,$)):console.error(w),Promise.reject(w)}function ht(){return le&&c.value!==At?Promise.resolve():new Promise((w,B)=>{Gt.add([w,B])})}function Ct(w){return le||(le=!w,pn(),Gt.list().forEach(([B,$])=>w?$(w):B()),Gt.reset()),w}function ot(w,B,$,N){const{scrollBehavior:re}=e;if(!en||!re)return Promise.resolve();const me=!$&&Yu(Oo(w.fullPath,0))||(N||!$)&&history.state&&history.state.scroll||null;return jr().then(()=>re(w,B,me)).then(p=>p&&Zu(p)).catch(p=>te(p,w,B))}const De=w=>r.go(w);let Jt;const Zt=new Set,Wn={currentRoute:c,listening:!0,addRoute:g,removeRoute:x,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:S,resolve:I,options:e,push:j,replace:V,go:De,back:()=>De(-1),forward:()=>De(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:Ce.add,isReady:ht,install(w){const B=this;w.component("RouterLink",Sf),w.component("RouterView",Sl),w.config.globalProperties.$router=B,Object.defineProperty(w.config.globalProperties,"$route",{enumerable:!0,get:()=>Ae(c)}),en&&!Jt&&c.value===At&&(Jt=!0,j(r.location).catch(re=>{}));const $={};for(const re in At)Object.defineProperty($,re,{get:()=>c.value[re],enumerable:!0});w.provide(Ts,B),w.provide(Ur,ki($)),w.provide(gr,c);const N=w.unmount;Zt.add(w),w.unmount=function(){Zt.delete(w),Zt.size<1&&(a=At,rt&&rt(),rt=null,c.value=At,Jt=!1,le=!1),N()}}};function We(w){return w.reduce((B,$)=>B.then(()=>Je($)),Promise.resolve())}return Wn}function Tf(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;icn(a,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(a=>cn(a,c))||r.push(c))}return[n,s,r]}function Cl(){return et(Ts)}function Al(e){return et(Ur)}const Of={__name:"App",setup(e){return(t,n)=>(_(),_e(Ae(Sl)))}},Pf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2023%2023'%3e%3cpath%20fill='%23f3f3f3'%20d='M0%200h23v23H0z'/%3e%3cpath%20fill='%23f35325'%20d='M1%201h10v10H1z'/%3e%3cpath%20fill='%2381bc06'%20d='M12%201h10v10H12z'/%3e%3cpath%20fill='%2305a6f0'%20d='M1%2012h10v10H1z'/%3e%3cpath%20fill='%23ffba08'%20d='M12%2012h10v10H12z'/%3e%3c/svg%3e",Ee=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},If={props:{customClass:{type:String},sizeClass:{type:String,default:"text-5xl"}}},Mf={class:"flex space-x-1"};function jf(e,t,n,s,r,o){return _(),R("div",Mf,[d("h1",{class:X([n.customClass||"text-light"])},[d("span",{class:X(["italic",n.sizeClass])},"Achei",2)],2),d("h1",{class:X([n.customClass||"text-light"])},[d("span",{class:X(["font-bold",n.sizeClass])},"UnB",2)],2)])}const _t=Ee(If,[["render",jf]]),Lf={id:"transition-screen",class:"fixed inset-0 flex items-center justify-center z-50"},$f={class:"fixed inset-0 flex items-center justify-center z-50"},Df={id:"main-content",class:"telaInteira bg-azul text-white p-4 min-h-screen hidden"},Ff={class:"titulo flex space-x-1 mt-20 mb-20 ml-8 md:flex md:justify-center md:mb-52"},Bf={__name:"Login",setup(e){window.addEventListener("load",()=>{const n=document.getElementById("transition-screen"),s=document.getElementById("main-content");setTimeout(()=>{n.classList.add("fade-out")},500),n.addEventListener("animationend",()=>{n.classList.add("hidden"),s.classList.remove("hidden"),s.classList.add("fade-in")})});function t(){window.location.href="https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=f1b79927-10ff-4601-a361-f9cab58fb250&scope=User.Read&response_type=code&state=Zay5NfY4tSn7JgvO&domain=alunos.unb.br"}return(n,s)=>(_(),R(Q,null,[d("div",Lf,[d("div",$f,[F(_t,{customClass:"text-azul"})])]),d("div",Df,[d("div",Ff,[F(_t)]),s[1]||(s[1]=d("div",{class:"slogan max-w-72 ml-8 md:mr-8 md:max-w-none md:w-auto md:text-center"},[d("p",{class:"text-5xl font-bold mb-4 md:text-6xl"},"Perdeu algo no campus?"),d("p",{class:"text-5xl italic font-light mb-4 md:text-6xl"},"A gente te ajuda!")],-1)),d("div",{class:"flex justify-center mt-52"},[d("button",{onClick:t,class:"flex items-center rounded-full bg-gray-50 px-5 py-3 text-md font-medium text-azul ring-1 ring-inset ring-gray-500/10"},s[0]||(s[0]=[d("img",{src:Pf,alt:"Logo Microsoft",class:"h-6 w-auto mr-2"},null,-1),ye(" Entre com a conta da Microsoft ")]))])])],64))}},Vo=Ee(Bf,[["__scopeId","data-v-cdb7a9e0"]]),Nf={name:"AboutHeader",props:{text:String}},Uf={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-center text-white p-6"},zf={class:"font-inter font-semibold text-2xl"};function Hf(e,t,n,s,r,o){return _(),R("div",Uf,[d("div",null,[d("span",zf,Z(n.text?n.text:"Sobre o projeto"),1)])])}const qf=Ee(Nf,[["render",Hf]]),Vf={name:"MainMenu",props:{activeIcon:String}},Kf={class:"h-full bg-azul shadow-md rounded-t-xl flex items-center justify-center text-white gap-x-9 p-8"};function Wf(e,t,n,s,r,o){const i=he("router-link");return _(),R("div",Kf,[F(i,{to:"/found",class:"no-underline"},{default:be(()=>[(_(),R("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:X(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="search"}])},t[0]||(t[0]=[d("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"},null,-1)]),2))]),_:1}),F(i,{to:"/user",class:"no-underline"},{default:be(()=>[(_(),R("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:X(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="user"}])},t[1]||(t[1]=[d("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"},null,-1)]),2))]),_:1}),F(i,{to:"/about",class:"no-underline"},{default:be(()=>[(_(),R("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:X(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="info"}])},t[2]||(t[2]=[d("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"},null,-1)]),2))]),_:1}),F(i,{to:"/chats",class:"no-underline"},{default:be(()=>[(_(),R("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:X(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="chat"}])},t[3]||(t[3]=[d("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 0 1-2.555-.337A5.972 5.972 0 0 1 5.41 20.97a5.969 5.969 0 0 1-.474-.065 4.48 4.48 0 0 0 .978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25Z"},null,-1)]),2))]),_:1})])}const Et=Ee(Vf,[["render",Wf]]),Qf="/static/dist/assets/Favicon-DZaE_dAz.png",Gf={class:"relative min-h-screen"},Jf={class:"fixed w-full top-0",style:{"z-index":"1"}},Zf={class:"pt-[120px] flex justify-center my-6 text-azul"},Xf={class:"max-w-4xl mx-auto mt-10 p-5 pb-[140px]"},Yf={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6"},ed=["href"],td=["src","alt"],nd={class:"text-center mt-2"},sd={class:"font-inter font-medium"},rd={class:"fixed bottom-0 w-full"},od={__name:"About",setup(e){const t=ee(Qf),n=[{name:"Ana Elisa Ramos",github:"https://github.com/anaelisaramos",image:"https://github.com/anaelisaramos.png"},{name:"Davi Camilo",github:"https://github.com/DaviCamilo23",image:"https://github.com/DaviCamilo23.png"},{name:"Euller Júlio da Silva",github:"https://github.com/potatoyz908",image:"https://github.com/potatoyz908.png"},{name:"Leonardo Ramiro",github:"https://github.com/leoramiroo",image:"https://github.com/leoramiroo.png"},{name:"Pedro Everton",github:"https://github.com/pedroeverton217",image:"https://github.com/pedroeverton217.png"},{name:"Pedro Martins Silva",github:"https://github.com/314dro",image:"https://github.com/314dro.png"},{name:"Tiago Balieiro",github:"https://github.com/TiagoBalieiro",image:"https://github.com/TiagoBalieiro.png"}];return(s,r)=>{const o=he("ButtonAdd");return _(),R("div",Gf,[d("div",{class:"absolute inset-0 bg-no-repeat bg-cover bg-center opacity-10 z-[-1]",style:Fn({backgroundImage:`url(${t.value})`,backgroundSize:s.isLargeScreen?"50%":"contain",backgroundAttachment:"fixed"})},null,4),d("div",Jf,[F(qf)]),d("div",Zf,[F(_t)]),r[2]||(r[2]=d("span",{class:"font-inter text-azul text-center flex justify-center items-center mx-auto max-w-3xl sm:px-0 px-4 md:max-w-2xl mt-7"},[ye(" Somos um grupo da disciplina Métodos de Desenvolvimento de Software da Universidade de Brasília."),d("br"),ye(" Temos como objetivo solucionar um dos problemas da faculdade, que é a falta de ferramentas para organizar itens achados e perdidos pelos estudantes."),d("br"),ye(" Com o AcheiUnB você consegue de forma simples e intuitiva procurar pelo seu item perdido ou cadastrar um item que você encontrou. ")],-1)),r[3]||(r[3]=d("div",{class:"flex justify-center mt-6"},[d("a",{href:"https://unb-mds.github.io/2024-2-AcheiUnB/CONTRIBUTING/",target:"_blank",class:"bg-laranja text-white font-semibold px-8 py-3 text-lg lg:text-xl rounded-full hover:bg-azulEscuro transition hover:text-white duration-300 shadow-md hover:scale-110 transition-transform"}," Como Contribuir? ")],-1)),d("div",Xf,[r[1]||(r[1]=d("div",{class:"text-azul text-lg text-center font-semibold mb-7"},"Criado por:",-1)),d("div",Yf,[(_(),R(Q,null,xe(n,i=>d("div",{key:i.name,class:"flex flex-col items-center"},[d("a",{href:i.github,target:"_blank"},[d("img",{src:i.image,alt:i.name,class:"w-[100px] rounded-full hover:scale-110 transition-transform"},null,8,td)],8,ed),d("div",nd,[d("p",sd,Z(i.name),1),r[0]||(r[0]=d("p",{class:"text-sm text-cinza3"},"Engenharia de Software",-1))])])),64))])]),F(o),d("div",rd,[F(Et,{activeIcon:"info"})])])}}},zr="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%238899a8'%20class='size-6'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m14.74%209-.346%209m-4.788%200L9.26%209m9.968-3.21c.342.052.682.107%201.022.166m-1.022-.165L18.16%2019.673a2.25%202.25%200%200%201-2.244%202.077H8.084a2.25%202.25%200%200%201-2.244-2.077L4.772%205.79m14.456%200a48.108%2048.108%200%200%200-3.478-.397m-12%20.562c.34-.059.68-.114%201.022-.165m0%200a48.11%2048.11%200%200%201%203.478-.397m7.5%200v-.916c0-1.18-.91-2.164-2.09-2.201a51.964%2051.964%200%200%200-3.32%200c-1.18.037-2.09%201.022-2.09%202.201v.916m7.5%200a48.667%2048.667%200%200%200-7.5%200'%20/%3e%3c/svg%3e",id="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%23133E78'%20%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M15%2010.5a3%203%200%201%201-6%200%203%203%200%200%201%206%200Z'%20/%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M19.5%2010.5c0%207.142-7.5%2011.25-7.5%2011.25S4.5%2017.642%204.5%2010.5a7.5%207.5%200%201%201%2015%200Z'%20/%3e%3c/svg%3e",ld={name:"ItemCard",props:{id:Number,image:String,name:String,time:String,location:String,isMyItem:{type:Boolean,default:!1}},methods:{viewItemDetails(){this.$router.push({name:"ListItem",query:{idItem:this.id}})}},methods:{viewItemDetails(){this.$router.push({name:"ListItem",query:{idItem:this.id}})}}},ad={class:"w-full h-[120px] bg-cinza2 rounded-sm flex justify-center items-start"},cd=["src"],ud={class:"text-azul font-bold font-inter mt-1 truncate"},fd={class:"flex items-start"},dd={class:"text-azul font-inter text-sm"},pd={class:"text-right font-inter font-bold text-xs text-cinza3 p-1 flex justify-end items-center"};function hd(e,t,n,s,r,o){return _(),R("div",{class:"w-[170px] sm:w-[190px] h-[230px] bg-cinza1 rounded-sm shadow-complete p-2 flex flex-col relative z-0",onClick:t[1]||(t[1]=i=>o.viewItemDetails())},[d("div",ad,[d("img",{src:n.image,class:"rounded-sm w-full h-full max-w-full max-h-full object-cover"},null,8,cd)]),n.isMyItem?(_(),R("button",{key:0,class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-10 h-10 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:t[0]||(t[0]=_u(i=>e.$emit("delete",n.id),["stop"]))},t[2]||(t[2]=[d("img",{src:zr,alt:"Excluir"},null,-1)]))):ge("",!0),t[4]||(t[4]=d("div",{class:"h-[2px] w-1/4 bg-laranja mt-4"},null,-1)),d("div",ud,Z(n.name),1),d("div",fd,[t[3]||(t[3]=d("img",{src:id,alt:"",class:"w-[15px] h-[15px] mr-1"},null,-1)),d("div",dd,Z(n.location),1)]),d("span",pd,[n.isMyItem?ge("",!0):(_(),R(Q,{key:0},[ye(Z(n.time),1)],64))])])}const Os=Ee(ld,[["render",hd]]),Rl="data:image/svg+xml,%3csvg%20class='svg%20w-8'%20fill='none'%20height='24'%20stroke='%23133E78'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20viewBox='0%200%2024%2024'%20width='24'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cline%20x1='12'%20x2='12'%20y1='5'%20y2='19'%3e%3c/line%3e%3cline%20x1='5'%20x2='19'%20y1='12'%20y2='12'%3e%3c/line%3e%3c/svg%3e",md={props:{customClass:{name:"ButtonAdd",type:String}}};function gd(e,t,n,s,r,o){const i=he("router-link");return _(),_e(i,{to:"/register-lost"},{default:be(()=>t[0]||(t[0]=[d("button",{class:"fixed right-0 bottom-28 rounded-l-lg w-60 h-12 cursor-pointer flex items-center border border-laranja bg-laranja group hover:bg-laranja active:bg-laranja active:border-laranja"},[d("span",{class:"text-azul font-inter font-medium ml-6 transform group-hover:translate-x-0"},"Adicionar item perdido"),d("span",{class:"absolute right-0 h-full w-10 rounded-lg bg-laranja flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300"},[d("img",{src:Rl,alt:""})])],-1)])),_:1})}const bd=Ee(md,[["render",gd]]),ae=Bn({searchQuery:"",activeCategory:null,activeLocation:null}),yd=e=>{ae.searchQuery=e},xd=e=>{ae.activeCategory==e?ae.activeCategory=null:ae.activeCategory=e},vd=e=>{ae.activeLocation==e?ae.activeLocation=null:ae.activeLocation=e},_d={name:"SearchBar",setup(){return{filtersState:ae,setSearchQuery:yd,setActiveCategory:xd,setActiveLocation:vd}},data(){return{showFilters:!1,isActive:!1,categories:[{label:"Animais",active:!1},{label:"Eletrônicos",active:!1},{label:"Mochilas e Bolsas",active:!1},{label:"Chaves",active:!1},{label:"Livros e Materiais Acadêmicos",active:!1},{label:"Documentos e Cartões",active:!1},{label:"Equipamentos Esportivos",active:!1},{label:"Roupas e Acessórios",active:!1},{label:"Itens Pessoais",active:!1},{label:"Outros",active:!1}],locations:[{label:"RU",active:!1},{label:"Biblioteca",active:!1},{label:"UED",active:!1},{label:"UAC",active:!1},{label:"LTDEA",active:!1},{label:"Centro Acadêmico",active:!1}]}},computed:{isMediumOrLarger(){return window.innerWidth>=768},searchQueryWithoutAccents(){return this.searchQuery?this.searchQuery.normalize("NFD").replace(/[\u0300-\u036f]/g,""):""}},methods:{toggleActive(){this.isActive=!this.isActive},toggleFilters(){this.showFilters=!this.showFilters},toggleFilter(e,t){e==="category"?this.categories.forEach((n,s)=>{s===t?n.active=!n.active:n.active=!1}):e==="location"&&this.locations.forEach((n,s)=>{s===t?n.active=!n.active:n.active=!1})}}},wd={class:"flex gap-2 flex-wrap mt-4"},Ed=["onClick"],Sd={class:"flex gap-2 flex-wrap mt-4"},Cd=["onClick"];function Ad(e,t,n,s,r,o){return _(),R("form",{class:X(["absolute flex items-center",{"fixed w-full top-6 pr-8 z-50":r.isActive&&!o.isMediumOrLarger,"relative w-auto":!r.isActive||o.isMediumOrLarger}])},[d("button",{onClick:t[0]||(t[0]=i=>{o.toggleFilters(),o.toggleActive()}),class:"absolute left-3 text-gray-500 hover:text-gray-700 transition-colors z-50",type:"button"},t[5]||(t[5]=[d("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-6"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"})],-1)])),ke(d("input",{"onUpdate:modelValue":t[1]||(t[1]=i=>s.filtersState.searchQuery=i),class:"input bg-gray-200 rounded-full px-10 py-2 my-1 border-2 border-transparent focus:outline-none focus:border-laranja placeholder-gray-500 text-gray-700 transition-all duration-300 shadow-md pr-10 w-full z-40",placeholder:"Pesquise seu item",type:"text",onInput:t[2]||(t[2]=i=>s.setSearchQuery(s.filtersState.searchQuery)),onFocus:t[3]||(t[3]=i=>r.isActive=!0),onBlur:t[4]||(t[4]=i=>{r.isActive=!1,r.showFilters=!1})},null,544),[[vt,s.filtersState.searchQuery]]),d("button",{class:X(["absolute right-4 top-1/2 -translate-y-1/2 p-1 text-gray-400 hover:text-gray-600 transition-colors duration-200 z-50",{"pr-8":r.isActive&&!o.isMediumOrLarger}]),type:"submit"},t[6]||(t[6]=[d("svg",{width:"17",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-labelledby":"search",class:"w-5 h-5"},[d("path",{d:"M7.667 12.667A5.333 5.333 0 107.667 2a5.333 5.333 0 000 10.667zM14.334 14l-2.9-2.9",stroke:"currentColor","stroke-width":"1.333","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]),2),r.showFilters?(_(),R("div",{key:0,class:X(["absolute left-0 bg-gray-200 shadow-lg rounded-xl p-4 z-30",{"w-fit mr-8":r.isActive&&!o.isMediumOrLarger,"w-full":o.isMediumOrLarger}]),style:{top:"calc(50% - 4px)"}},[d("div",wd,[t[7]||(t[7]=d("span",{class:"w-full text-azul text-2xl font-bold"},"Categoria ",-1)),(_(!0),R(Q,null,xe(r.categories,(i,l)=>(_(),R("button",{key:l,onClick:c=>(o.toggleFilter("category",l),s.setActiveCategory(i.label)),class:X(["px-4 py-2 rounded-full border text-sm",i.active?"bg-laranja text-azul border-black":"bg-gray-200 text-azul border-black"])},Z(i.label),11,Ed))),128))]),t[9]||(t[9]=d("div",{class:"h-[2px] w-full bg-laranja mt-4"},null,-1)),d("div",Sd,[t[8]||(t[8]=d("span",{class:"w-full text-azul text-2xl font-bold"},"Local ",-1)),(_(!0),R(Q,null,xe(r.locations,(i,l)=>(_(),R("button",{key:l,onClick:c=>(o.toggleFilter("location",l),s.setActiveLocation(i.label)),class:X(["px-4 py-2 rounded-full border text-sm",i.active?"bg-laranja text-azul border-black":"bg-gray-200 text-azul border-black"])},Z(i.label),11,Cd))),128))])],2)):ge("",!0)],2)}const Rd=Ee(_d,[["render",Ad]]),kd={name:"SearchHeader",components:{SearchBar:Rd,Logo:_t}},Td={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between text-white gap-x-9 p-4"},Od={class:"flex-1"};function Pd(e,t,n,s,r,o){const i=he("SearchBar"),l=he("Logo"),c=he("router-link");return _(),R("div",Td,[d("div",Od,[F(i)]),d("button",null,[F(c,{to:"/about",class:"no-underline text-white"},{default:be(()=>[F(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const Hr=Ee(kd,[["render",Pd]]),Id={name:"SubMenu"},Md={class:"flex pt-8 space-x-8 justify-center"};function jd(e,t,n,s,r,o){const i=he("router-link");return _(),R("div",Md,[F(i,{to:"/found",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[ye(" Achados ")])),_:1}),t[1]||(t[1]=d("div",{class:"flex-col space-y-1"},[d("span",{class:"font-inter font-bold text-laranja"},"Perdidos"),d("div",{class:"h-[2px] bg-laranja"})],-1))])}const Ld=Ee(Id,[["render",jd]]);function kl(e,t){return function(){return e.apply(t,arguments)}}const{toString:$d}=Object.prototype,{getPrototypeOf:qr}=Object,Ps=(e=>t=>{const n=$d.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),nt=e=>(e=e.toLowerCase(),t=>Ps(t)===e),Is=e=>t=>typeof t===e,{isArray:fn}=Array,Ln=Is("undefined");function Dd(e){return e!==null&&!Ln(e)&&e.constructor!==null&&!Ln(e.constructor)&&Ke(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Tl=nt("ArrayBuffer");function Fd(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Tl(e.buffer),t}const Bd=Is("string"),Ke=Is("function"),Ol=Is("number"),Ms=e=>e!==null&&typeof e=="object",Nd=e=>e===!0||e===!1,ts=e=>{if(Ps(e)!=="object")return!1;const t=qr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ud=nt("Date"),zd=nt("File"),Hd=nt("Blob"),qd=nt("FileList"),Vd=e=>Ms(e)&&Ke(e.pipe),Kd=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ke(e.append)&&((t=Ps(e))==="formdata"||t==="object"&&Ke(e.toString)&&e.toString()==="[object FormData]"))},Wd=nt("URLSearchParams"),[Qd,Gd,Jd,Zd]=["ReadableStream","Request","Response","Headers"].map(nt),Xd=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function zn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),fn(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const Ut=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Il=e=>!Ln(e)&&e!==Ut;function br(){const{caseless:e}=Il(this)&&this||{},t={},n=(s,r)=>{const o=e&&Pl(t,r)||r;ts(t[o])&&ts(s)?t[o]=br(t[o],s):ts(s)?t[o]=br({},s):fn(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s(zn(t,(r,o)=>{n&&Ke(r)?e[o]=kl(r,n):e[o]=r},{allOwnKeys:s}),e),ep=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),tp=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},np=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&qr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},sp=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},rp=e=>{if(!e)return null;if(fn(e))return e;let t=e.length;if(!Ol(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},op=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&qr(Uint8Array)),ip=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},lp=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},ap=nt("HTMLFormElement"),cp=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),Ko=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),up=nt("RegExp"),Ml=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};zn(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},fp=e=>{Ml(e,(t,n)=>{if(Ke(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Ke(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},dp=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return fn(e)?s(e):s(String(e).split(t)),n},pp=()=>{},hp=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Ys="abcdefghijklmnopqrstuvwxyz",Wo="0123456789",jl={DIGIT:Wo,ALPHA:Ys,ALPHA_DIGIT:Ys+Ys.toUpperCase()+Wo},mp=(e=16,t=jl.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function gp(e){return!!(e&&Ke(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const bp=e=>{const t=new Array(10),n=(s,r)=>{if(Ms(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=fn(s)?[]:{};return zn(s,(i,l)=>{const c=n(i,r+1);!Ln(c)&&(o[l]=c)}),t[r]=void 0,o}}return s};return n(e,0)},yp=nt("AsyncFunction"),xp=e=>e&&(Ms(e)||Ke(e))&&Ke(e.then)&&Ke(e.catch),Ll=((e,t)=>e?setImmediate:t?((n,s)=>(Ut.addEventListener("message",({source:r,data:o})=>{r===Ut&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),Ut.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ke(Ut.postMessage)),vp=typeof queueMicrotask<"u"?queueMicrotask.bind(Ut):typeof process<"u"&&process.nextTick||Ll,y={isArray:fn,isArrayBuffer:Tl,isBuffer:Dd,isFormData:Kd,isArrayBufferView:Fd,isString:Bd,isNumber:Ol,isBoolean:Nd,isObject:Ms,isPlainObject:ts,isReadableStream:Qd,isRequest:Gd,isResponse:Jd,isHeaders:Zd,isUndefined:Ln,isDate:Ud,isFile:zd,isBlob:Hd,isRegExp:up,isFunction:Ke,isStream:Vd,isURLSearchParams:Wd,isTypedArray:op,isFileList:qd,forEach:zn,merge:br,extend:Yd,trim:Xd,stripBOM:ep,inherits:tp,toFlatObject:np,kindOf:Ps,kindOfTest:nt,endsWith:sp,toArray:rp,forEachEntry:ip,matchAll:lp,isHTMLForm:ap,hasOwnProperty:Ko,hasOwnProp:Ko,reduceDescriptors:Ml,freezeMethods:fp,toObjectSet:dp,toCamelCase:cp,noop:pp,toFiniteNumber:hp,findKey:Pl,global:Ut,isContextDefined:Il,ALPHABET:jl,generateString:mp,isSpecCompliantForm:gp,toJSONObject:bp,isAsyncFn:yp,isThenable:xp,setImmediate:Ll,asap:vp};function W(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}y.inherits(W,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:y.toJSONObject(this.config),code:this.code,status:this.status}}});const $l=W.prototype,Dl={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Dl[e]={value:e}});Object.defineProperties(W,Dl);Object.defineProperty($l,"isAxiosError",{value:!0});W.from=(e,t,n,s,r,o)=>{const i=Object.create($l);return y.toFlatObject(e,i,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),W.call(i,e.message,t,n,s,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const _p=null;function yr(e){return y.isPlainObject(e)||y.isArray(e)}function Fl(e){return y.endsWith(e,"[]")?e.slice(0,-2):e}function Qo(e,t,n){return e?e.concat(t).map(function(r,o){return r=Fl(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function wp(e){return y.isArray(e)&&!e.some(yr)}const Ep=y.toFlatObject(y,{},null,function(t){return/^is[A-Z]/.test(t)});function js(e,t,n){if(!y.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=y.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,E){return!y.isUndefined(E[S])});const s=n.metaTokens,r=n.visitor||u,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&y.isSpecCompliantForm(t);if(!y.isFunction(r))throw new TypeError("visitor must be a function");function a(x){if(x===null)return"";if(y.isDate(x))return x.toISOString();if(!c&&y.isBlob(x))throw new W("Blob is not supported. Use a Buffer instead.");return y.isArrayBuffer(x)||y.isTypedArray(x)?c&&typeof Blob=="function"?new Blob([x]):Buffer.from(x):x}function u(x,S,E){let I=x;if(x&&!E&&typeof x=="object"){if(y.endsWith(S,"{}"))S=s?S:S.slice(0,-2),x=JSON.stringify(x);else if(y.isArray(x)&&wp(x)||(y.isFileList(x)||y.endsWith(S,"[]"))&&(I=y.toArray(x)))return S=Fl(S),I.forEach(function(O,j){!(y.isUndefined(O)||O===null)&&t.append(i===!0?Qo([S],j,o):i===null?S:S+"[]",a(O))}),!1}return yr(x)?!0:(t.append(Qo(E,S,o),a(x)),!1)}const f=[],m=Object.assign(Ep,{defaultVisitor:u,convertValue:a,isVisitable:yr});function g(x,S){if(!y.isUndefined(x)){if(f.indexOf(x)!==-1)throw Error("Circular reference detected in "+S.join("."));f.push(x),y.forEach(x,function(I,T){(!(y.isUndefined(I)||I===null)&&r.call(t,I,y.isString(T)?T.trim():T,S,m))===!0&&g(I,S?S.concat(T):[T])}),f.pop()}}if(!y.isObject(e))throw new TypeError("data must be an object");return g(e),t}function Go(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Vr(e,t){this._pairs=[],e&&js(e,this,t)}const Bl=Vr.prototype;Bl.append=function(t,n){this._pairs.push([t,n])};Bl.toString=function(t){const n=t?function(s){return t.call(this,s,Go)}:Go;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Sp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Nl(e,t,n){if(!t)return e;const s=n&&n.encode||Sp;y.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(r?o=r(t,n):o=y.isURLSearchParams(t)?t.toString():new Vr(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Jo{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){y.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Ul={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Cp=typeof URLSearchParams<"u"?URLSearchParams:Vr,Ap=typeof FormData<"u"?FormData:null,Rp=typeof Blob<"u"?Blob:null,kp={isBrowser:!0,classes:{URLSearchParams:Cp,FormData:Ap,Blob:Rp},protocols:["http","https","file","blob","url","data"]},Kr=typeof window<"u"&&typeof document<"u",xr=typeof navigator=="object"&&navigator||void 0,Tp=Kr&&(!xr||["ReactNative","NativeScript","NS"].indexOf(xr.product)<0),Op=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Pp=Kr&&window.location.href||"http://localhost",Ip=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Kr,hasStandardBrowserEnv:Tp,hasStandardBrowserWebWorkerEnv:Op,navigator:xr,origin:Pp},Symbol.toStringTag,{value:"Module"})),Me={...Ip,...kp};function Mp(e,t){return js(e,new Me.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return Me.isNode&&y.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function jp(e){return y.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Lp(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s=n.length;return i=!i&&y.isArray(r)?r.length:i,c?(y.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!l):((!r[i]||!y.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&y.isArray(r[i])&&(r[i]=Lp(r[i])),!l)}if(y.isFormData(e)&&y.isFunction(e.entries)){const n={};return y.forEachEntry(e,(s,r)=>{t(jp(s),r,n,0)}),n}return null}function $p(e,t,n){if(y.isString(e))try{return(t||JSON.parse)(e),y.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(0,JSON.stringify)(e)}const Hn={transitional:Ul,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=y.isObject(t);if(o&&y.isHTMLForm(t)&&(t=new FormData(t)),y.isFormData(t))return r?JSON.stringify(zl(t)):t;if(y.isArrayBuffer(t)||y.isBuffer(t)||y.isStream(t)||y.isFile(t)||y.isBlob(t)||y.isReadableStream(t))return t;if(y.isArrayBufferView(t))return t.buffer;if(y.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Mp(t,this.formSerializer).toString();if((l=y.isFileList(t))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return js(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),$p(t)):t}],transformResponse:[function(t){const n=this.transitional||Hn.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(y.isResponse(t)||y.isReadableStream(t))return t;if(t&&y.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?W.from(l,W.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Me.classes.FormData,Blob:Me.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};y.forEach(["delete","get","head","post","put","patch"],e=>{Hn.headers[e]={}});const Dp=y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Fp=e=>{const t={};let n,s,r;return e&&e.split(` -`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&Dp[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},Zo=Symbol("internals");function yn(e){return e&&String(e).trim().toLowerCase()}function ns(e){return e===!1||e==null?e:y.isArray(e)?e.map(ns):String(e)}function Bp(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const Np=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function er(e,t,n,s,r){if(y.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!y.isString(t)){if(y.isString(s))return t.indexOf(s)!==-1;if(y.isRegExp(s))return s.test(t)}}function Up(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function zp(e,t){const n=y.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}class Fe{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,c,a){const u=yn(c);if(!u)throw new Error("header name must be a non-empty string");const f=y.findKey(r,u);(!f||r[f]===void 0||a===!0||a===void 0&&r[f]!==!1)&&(r[f||c]=ns(l))}const i=(l,c)=>y.forEach(l,(a,u)=>o(a,u,c));if(y.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(y.isString(t)&&(t=t.trim())&&!Np(t))i(Fp(t),n);else if(y.isHeaders(t))for(const[l,c]of t.entries())o(c,l,s);else t!=null&&o(n,t,s);return this}get(t,n){if(t=yn(t),t){const s=y.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return Bp(r);if(y.isFunction(n))return n.call(this,r,s);if(y.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=yn(t),t){const s=y.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||er(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=yn(i),i){const l=y.findKey(s,i);l&&(!n||er(s,s[l],l,n))&&(delete s[l],r=!0)}}return y.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||er(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return y.forEach(this,(r,o)=>{const i=y.findKey(s,o);if(i){n[i]=ns(r),delete n[o];return}const l=t?Up(o):String(o).trim();l!==o&&delete n[o],n[l]=ns(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return y.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&y.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[Zo]=this[Zo]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=yn(i);s[l]||(zp(r,i),s[l]=!0)}return y.isArray(t)?t.forEach(o):o(t),this}}Fe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);y.reduceDescriptors(Fe.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});y.freezeMethods(Fe);function tr(e,t){const n=this||Hn,s=t||n,r=Fe.from(s.headers);let o=s.data;return y.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Hl(e){return!!(e&&e.__CANCEL__)}function dn(e,t,n){W.call(this,e??"canceled",W.ERR_CANCELED,t,n),this.name="CanceledError"}y.inherits(dn,W,{__CANCEL__:!0});function ql(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new W("Request failed with status code "+n.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Hp(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function qp(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const a=Date.now(),u=s[o];i||(i=a),n[r]=c,s[r]=a;let f=o,m=0;for(;f!==r;)m+=n[f++],f=f%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),a-i{n=u,r=null,o&&(clearTimeout(o),o=null),e.apply(null,a)};return[(...a)=>{const u=Date.now(),f=u-n;f>=s?i(a,u):(r=a,o||(o=setTimeout(()=>{o=null,i(r)},s-f)))},()=>r&&i(r)]}const hs=(e,t,n=3)=>{let s=0;const r=qp(50,250);return Vp(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,c=i-s,a=r(c),u=i<=l;s=i;const f={loaded:i,total:l,progress:l?i/l:void 0,bytes:c,rate:a||void 0,estimated:a&&l&&u?(l-i)/a:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(f)},n)},Xo=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},Yo=e=>(...t)=>y.asap(()=>e(...t)),Kp=Me.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Me.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Me.origin),Me.navigator&&/(msie|trident)/i.test(Me.navigator.userAgent)):()=>!0,Wp=Me.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const i=[e+"="+encodeURIComponent(t)];y.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),y.isString(s)&&i.push("path="+s),y.isString(r)&&i.push("domain="+r),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Qp(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Gp(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Vl(e,t){return e&&!Qp(t)?Gp(e,t):t}const ei=e=>e instanceof Fe?{...e}:e;function Wt(e,t){t=t||{};const n={};function s(a,u,f,m){return y.isPlainObject(a)&&y.isPlainObject(u)?y.merge.call({caseless:m},a,u):y.isPlainObject(u)?y.merge({},u):y.isArray(u)?u.slice():u}function r(a,u,f,m){if(y.isUndefined(u)){if(!y.isUndefined(a))return s(void 0,a,f,m)}else return s(a,u,f,m)}function o(a,u){if(!y.isUndefined(u))return s(void 0,u)}function i(a,u){if(y.isUndefined(u)){if(!y.isUndefined(a))return s(void 0,a)}else return s(void 0,u)}function l(a,u,f){if(f in t)return s(a,u);if(f in e)return s(void 0,a)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(a,u,f)=>r(ei(a),ei(u),f,!0)};return y.forEach(Object.keys(Object.assign({},e,t)),function(u){const f=c[u]||r,m=f(e[u],t[u],u);y.isUndefined(m)&&f!==l||(n[u]=m)}),n}const Kl=e=>{const t=Wt({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:i,auth:l}=t;t.headers=i=Fe.from(i),t.url=Nl(Vl(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(y.isFormData(n)){if(Me.hasStandardBrowserEnv||Me.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((c=i.getContentType())!==!1){const[a,...u]=c?c.split(";").map(f=>f.trim()).filter(Boolean):[];i.setContentType([a||"multipart/form-data",...u].join("; "))}}if(Me.hasStandardBrowserEnv&&(s&&y.isFunction(s)&&(s=s(t)),s||s!==!1&&Kp(t.url))){const a=r&&o&&Wp.read(o);a&&i.set(r,a)}return t},Jp=typeof XMLHttpRequest<"u",Zp=Jp&&function(e){return new Promise(function(n,s){const r=Kl(e);let o=r.data;const i=Fe.from(r.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:a}=r,u,f,m,g,x;function S(){g&&g(),x&&x(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let E=new XMLHttpRequest;E.open(r.method.toUpperCase(),r.url,!0),E.timeout=r.timeout;function I(){if(!E)return;const O=Fe.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),V={data:!l||l==="text"||l==="json"?E.responseText:E.response,status:E.status,statusText:E.statusText,headers:O,config:e,request:E};ql(function(G){n(G),S()},function(G){s(G),S()},V),E=null}"onloadend"in E?E.onloadend=I:E.onreadystatechange=function(){!E||E.readyState!==4||E.status===0&&!(E.responseURL&&E.responseURL.indexOf("file:")===0)||setTimeout(I)},E.onabort=function(){E&&(s(new W("Request aborted",W.ECONNABORTED,e,E)),E=null)},E.onerror=function(){s(new W("Network Error",W.ERR_NETWORK,e,E)),E=null},E.ontimeout=function(){let j=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const V=r.transitional||Ul;r.timeoutErrorMessage&&(j=r.timeoutErrorMessage),s(new W(j,V.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,E)),E=null},o===void 0&&i.setContentType(null),"setRequestHeader"in E&&y.forEach(i.toJSON(),function(j,V){E.setRequestHeader(V,j)}),y.isUndefined(r.withCredentials)||(E.withCredentials=!!r.withCredentials),l&&l!=="json"&&(E.responseType=r.responseType),a&&([m,x]=hs(a,!0),E.addEventListener("progress",m)),c&&E.upload&&([f,g]=hs(c),E.upload.addEventListener("progress",f),E.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(u=O=>{E&&(s(!O||O.type?new dn(null,e,E):O),E.abort(),E=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const T=Hp(r.url);if(T&&Me.protocols.indexOf(T)===-1){s(new W("Unsupported protocol "+T+":",W.ERR_BAD_REQUEST,e));return}E.send(o||null)})},Xp=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(a){if(!r){r=!0,l();const u=a instanceof Error?a:this.reason;s.abort(u instanceof W?u:new dn(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,o(new W(`timeout ${t} of ms exceeded`,W.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(a=>{a.unsubscribe?a.unsubscribe(o):a.removeEventListener("abort",o)}),e=null)};e.forEach(a=>a.addEventListener("abort",o));const{signal:c}=s;return c.unsubscribe=()=>y.asap(l),c}},Yp=function*(e,t){let n=e.byteLength;if(n{const r=eh(e,t);let o=0,i,l=c=>{i||(i=!0,s&&s(c))};return new ReadableStream({async pull(c){try{const{done:a,value:u}=await r.next();if(a){l(),c.close();return}let f=u.byteLength;if(n){let m=o+=f;n(m)}c.enqueue(new Uint8Array(u))}catch(a){throw l(a),a}},cancel(c){return l(c),r.return()}},{highWaterMark:2})},Ls=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Wl=Ls&&typeof ReadableStream=="function",nh=Ls&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ql=(e,...t)=>{try{return!!e(...t)}catch{return!1}},sh=Wl&&Ql(()=>{let e=!1;const t=new Request(Me.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),ni=64*1024,vr=Wl&&Ql(()=>y.isReadableStream(new Response("").body)),ms={stream:vr&&(e=>e.body)};Ls&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!ms[t]&&(ms[t]=y.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new W(`Response type '${t}' is not supported`,W.ERR_NOT_SUPPORT,s)})})})(new Response);const rh=async e=>{if(e==null)return 0;if(y.isBlob(e))return e.size;if(y.isSpecCompliantForm(e))return(await new Request(Me.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(y.isArrayBufferView(e)||y.isArrayBuffer(e))return e.byteLength;if(y.isURLSearchParams(e)&&(e=e+""),y.isString(e))return(await nh(e)).byteLength},oh=async(e,t)=>{const n=y.toFiniteNumber(e.getContentLength());return n??rh(t)},ih=Ls&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:o,timeout:i,onDownloadProgress:l,onUploadProgress:c,responseType:a,headers:u,withCredentials:f="same-origin",fetchOptions:m}=Kl(e);a=a?(a+"").toLowerCase():"text";let g=Xp([r,o&&o.toAbortSignal()],i),x;const S=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let E;try{if(c&&sh&&n!=="get"&&n!=="head"&&(E=await oh(u,s))!==0){let V=new Request(t,{method:"POST",body:s,duplex:"half"}),Y;if(y.isFormData(s)&&(Y=V.headers.get("content-type"))&&u.setContentType(Y),V.body){const[G,Se]=Xo(E,hs(Yo(c)));s=ti(V.body,ni,G,Se)}}y.isString(f)||(f=f?"include":"omit");const I="credentials"in Request.prototype;x=new Request(t,{...m,signal:g,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:I?f:void 0});let T=await fetch(x);const O=vr&&(a==="stream"||a==="response");if(vr&&(l||O&&S)){const V={};["status","statusText","headers"].forEach(Je=>{V[Je]=T[Je]});const Y=y.toFiniteNumber(T.headers.get("content-length")),[G,Se]=l&&Xo(Y,hs(Yo(l),!0))||[];T=new Response(ti(T.body,ni,G,()=>{Se&&Se(),S&&S()}),V)}a=a||"text";let j=await ms[y.findKey(ms,a)||"text"](T,e);return!O&&S&&S(),await new Promise((V,Y)=>{ql(V,Y,{data:j,headers:Fe.from(T.headers),status:T.status,statusText:T.statusText,config:e,request:x})})}catch(I){throw S&&S(),I&&I.name==="TypeError"&&/fetch/i.test(I.message)?Object.assign(new W("Network Error",W.ERR_NETWORK,e,x),{cause:I.cause||I}):W.from(I,I&&I.code,e,x)}}),_r={http:_p,xhr:Zp,fetch:ih};y.forEach(_r,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const si=e=>`- ${e}`,lh=e=>y.isFunction(e)||e===null||e===!1,Gl={getAdapter:e=>{e=y.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : -`+o.map(si).join(` -`):" "+si(o[0]):"as no adapter specified";throw new W("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:_r};function nr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new dn(null,e)}function ri(e){return nr(e),e.headers=Fe.from(e.headers),e.data=tr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Gl.getAdapter(e.adapter||Hn.adapter)(e).then(function(s){return nr(e),s.data=tr.call(e,e.transformResponse,s),s.headers=Fe.from(s.headers),s},function(s){return Hl(s)||(nr(e),s&&s.response&&(s.response.data=tr.call(e,e.transformResponse,s.response),s.response.headers=Fe.from(s.response.headers))),Promise.reject(s)})}const Jl="1.7.8",$s={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{$s[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const oi={};$s.transitional=function(t,n,s){function r(o,i){return"[Axios v"+Jl+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new W(r(i," has been removed"+(n?" in "+n:"")),W.ERR_DEPRECATED);return n&&!oi[i]&&(oi[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};$s.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function ah(e,t,n){if(typeof e!="object")throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new W("option "+o+" must be "+c,W.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new W("Unknown option "+o,W.ERR_BAD_OPTION)}}const ss={assertOptions:ah,validators:$s},at=ss.validators;class qt{constructor(t){this.defaults=t,this.interceptors={request:new Jo,response:new Jo}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=` -`+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Wt(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&ss.assertOptions(s,{silentJSONParsing:at.transitional(at.boolean),forcedJSONParsing:at.transitional(at.boolean),clarifyTimeoutError:at.transitional(at.boolean)},!1),r!=null&&(y.isFunction(r)?n.paramsSerializer={serialize:r}:ss.assertOptions(r,{encode:at.function,serialize:at.function},!0)),ss.assertOptions(n,{baseUrl:at.spelling("baseURL"),withXsrfToken:at.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&y.merge(o.common,o[n.method]);o&&y.forEach(["delete","get","head","post","put","patch","common"],x=>{delete o[x]}),n.headers=Fe.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen=="function"&&S.runWhen(n)===!1||(c=c&&S.synchronous,l.unshift(S.fulfilled,S.rejected))});const a=[];this.interceptors.response.forEach(function(S){a.push(S.fulfilled,S.rejected)});let u,f=0,m;if(!c){const x=[ri.bind(this),void 0];for(x.unshift.apply(x,l),x.push.apply(x,a),m=x.length,u=Promise.resolve(n);f{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new dn(o,i,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Wr(function(r){t=r}),cancel:t}}}function ch(e){return function(n){return e.apply(null,n)}}function uh(e){return y.isObject(e)&&e.isAxiosError===!0}const wr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(wr).forEach(([e,t])=>{wr[t]=e});function Zl(e){const t=new qt(e),n=kl(qt.prototype.request,t);return y.extend(n,qt.prototype,t,{allOwnKeys:!0}),y.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Zl(Wt(e,r))},n}const pe=Zl(Hn);pe.Axios=qt;pe.CanceledError=dn;pe.CancelToken=Wr;pe.isCancel=Hl;pe.VERSION=Jl;pe.toFormData=js;pe.AxiosError=W;pe.Cancel=pe.CanceledError;pe.all=function(t){return Promise.all(t)};pe.spread=ch;pe.isAxiosError=uh;pe.mergeConfig=Wt;pe.AxiosHeaders=Fe;pe.formToJSON=e=>zl(y.isHTMLForm(e)?new FormData(e):e);pe.getAdapter=Gl.getAdapter;pe.HttpStatusCode=wr;pe.default=pe;const qn="http://localhost:8000/api/items",fh=async({page:e=1,search:t="",category_name:n="",location_name:s=""})=>{const r={page:e,...ae.searchQuery&&{search:ae.searchQuery},...ae.activeCategory&&{category_name:ae.activeCategory},...ae.activeLocation&&{location_name:ae.activeLocation}};return(await pe.get(`${qn}/lost/`,{params:r})).data},dh=async({page:e=1,search:t="",category_name:n="",location_name:s=""})=>{const r={page:e,...ae.searchQuery&&{search:ae.searchQuery},...ae.activeCategory&&{category_name:ae.activeCategory},...ae.activeLocation&&{location_name:ae.activeLocation}};return(await pe.get(`${qn}/found/`,{params:r})).data},ph=async()=>{try{return(await pe.get(`${qn}/found/my-items/`)).data}catch(e){throw console.error("Erro ao buscar itens encontrados:",e),e}},hh=async()=>{try{return(await pe.get(`${qn}/lost/my-items/`)).data}catch(e){throw console.error("Erro ao buscar itens encontrados:",e),e}},Xl=async e=>{try{await pe.delete(`${qn}/${e}/`)}catch(t){throw console.error("Erro ao deletar o item:",t),t}},Ds=e=>{const t=new Date,n=new Date(e),s=Math.floor((t-n)/1e3);if(s<60)return"Agora a pouco";if(s<3600){const r=Math.floor(s/60);return`Há ${r} minuto${r>1?"s":""}`}else if(s<86400){const r=Math.floor(s/3600);return`Há ${r} hora${r>1?"s":""}`}else{const r=Math.floor(s/86400);return`Há ${r} dia${r>1?"s":""}`}},Vn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM0AAACLCAYAAADCvR0YAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAASASURBVHhe7dxrT9RoHMbhinjCs0g8YyDE7/91MCoqalBjIB5BRTf/pjWsy+7OndhOX1xX0kynM74x/PL0edrOic3NzZ8NMLOF7hWYkWggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooHQic3NzZ/dPgNYWFhoLl++3L4O5cePH82HDx+a79+/d0cYkmgGdOrUqeb+/fuDBtM7PDxsXr161Xz58qU7wlBEM6C7d+82S0tL7Ujw8ePH7uifdfLkyeb06dNtoBXO48ePu08YimgG9ODBg/b13bt37TaUOv27ceNGu//kyROnaQOzEAAh0UBINBO3uLjYnDt3rt2YBtFMVE3sayFhfX29uXfvXrutra01ly5d6r7BvIhmgvpgauXtqDp+8+bN5sqVK90R5kE0E7S8vNwGUkvVL168aB4+fNg8f/68+fbt26/Px7j2w/H8z0/QhQsX2te6yv/58+d2f39/v9nZ2Wn369rM2bNn233GJ5oJq5HmqN/fMx+imaAaVUpN+vtRp07H+guYdZrWf4fxiWaCXr9+3Y4qdRp2+/bt9s6CjY2NX6dku7u7Rp05Es0E1Ujy7Nmzf9x8WaG8fPmy2dvb644wD6KZqApne3u72draalfQ6vXRo0fNp0+fum8wL6IZWc1Nzpw5M/MV/oqnVtD65WbmTzQjqljq+Zra+iv8dZvMLGpRoOY3tZ0/f747yjyIZiQXL15sQ+kvWpbar2P/F8HKykp7J0CtpNV2586d5tq1a92njE00I6hR4tatW+2pWZ1mPX36tJ3o136F828R9MvMV69ebd/XqtnBwUG7f/369WZ1dXXmkYo/RzQjqDBKrYZVLPWQWP3x1wS/n6tUBDWi9CqYuv+sHjAr9RDb27dv23/fP9BWS9CzjFT8WaIZSY0StRp29PpKBVMR9I9C14hSo0ctEtS8p78u8+bNm789+Vn79XsA/UjVXwBlHKIZQQVTo8RxKqIK4PfRo5/71P1mx12XqdCOjlSMRzQj6Och/6WiqUD6kahea2R6//59+/44FUxdv6koGY9oJqQCqdO1iqAWC2aJrXz9+rXbYwyimZgaPepUzi/KTJdoICSaAfXzk37JeSi1PM14/FjggI4+5z/kKlcfZb8wwLBEM6D6Y65whh5pSgVTq23mQsMTzQhqtBkynAqmnuTsTwcZlmggZAYJIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAORpvkL2ph89ykfsE8AAAAASUVORK5CYII=",Yl="/static/dist/assets/found-and-lost-box-BB3OpleO.jpg",mh={class:"flex flex-col items-center justify-center h-64 text-center"},gh=["src"],bh={class:"text-cinza3 font-inter text-lg"},ea={__name:"Empty-State",props:{message:String},setup(e){return(t,n)=>(_(),R("div",mh,[d("img",{src:Ae(Yl),class:"w-40 h-40 mb-4"},null,8,gh),d("p",bh,[n[0]||(n[0]=ye(" Parece que o ")),n[1]||(n[1]=d("span",{class:"text-azul font-bold"},"AcheiUnB",-1)),ye(" "+Z(e.message),1)])]))}},yh={class:"min-h-screen"},xh={class:"fixed w-full top-0 z-10"},vh={class:"pt-24 pb-8"},_h={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-10"},wh={class:"flex w-full justify-start sm:justify-center"},Eh={class:"ml-24 transform -translate-x-1/2 flex gap-4 z-10"},Sh={class:"fixed bottom-0 w-full"},Ch={__name:"Lost",setup(e){const t=ee([]),n=ee(1),s=ee(1),r=async(l=1)=>{const{searchQuery:c,activeCategory:a,activeLocation:u}=ae,f=await fh({page:l,search:c,category_name:a,location_name:u});t.value=f.results,s.value=Math.ceil(f.count/27)},o=()=>{n.value>1&&(n.value-=1,r(n.value))},i=()=>{n.value[ae.searchQuery,ae.activeCategory,ae.activeLocation],()=>{n.value=1,r()}),Lt(()=>r(n.value)),(l,c)=>(_(),R("div",yh,[d("div",xh,[F(Hr)]),d("div",vh,[F(Ld)]),t.value.length===0?(_(),_e(ea,{key:0,message:"está sem itens perdidos... Você pode adicionar um!"})):(_(),R("div",_h,[(_(!0),R(Q,null,xe(t.value,a=>(_(),_e(Os,{key:a.id,name:a.name,location:a.location_name,time:Ae(Ds)(a.created_at),image:a.image_urls[0]||Ae(Vn),id:a.id},null,8,["name","location","time","image","id"]))),128))])),d("div",wh,[d("div",Eh,[(_(),R("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:o},c[0]||(c[0]=[d("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)]))),(_(),R("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:i},c[1]||(c[1]=[d("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)])))])]),F(bd),d("div",Sh,[F(Et,{activeIcon:"search"})])]))}},Ah={props:{customClass:{name:"ButtonAdd",type:String}}};function Rh(e,t,n,s,r,o){const i=he("router-link");return _(),_e(i,{to:"/register-found"},{default:be(()=>t[0]||(t[0]=[d("button",{class:"fixed right-0 bottom-28 rounded-l-lg w-60 h-12 cursor-pointer flex items-center border border-laranja bg-laranja group hover:bg-laranja active:bg-laranja active:border-laranja"},[d("span",{class:"text-azul font-inter font-medium ml-6 transform group-hover:translate-x-0"},"Adicionar item achado"),d("span",{class:"absolute right-0 h-full w-10 rounded-lg bg-laranja flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300"},[d("img",{src:Rl,alt:""})])],-1)])),_:1})}const kh=Ee(Ah,[["render",Rh]]),Th={name:"SubMenu"},Oh={class:"flex pt-8 space-x-8 justify-center"};function Ph(e,t,n,s,r,o){const i=he("router-link");return _(),R("div",Oh,[t[1]||(t[1]=d("div",{class:"flex-col space-y-1"},[d("span",{class:"font-inter font-bold text-laranja"},"Achados"),d("div",{class:"h-[2px] bg-laranja"})],-1)),F(i,{to:"/lost",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[ye(" Perdidos ")])),_:1})])}const Ih=Ee(Th,[["render",Ph]]),Mh={class:"min-h-screen"},jh={class:"fixed w-full top-0 z-10"},Lh={class:"pt-24 pb-8"},$h={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-10"},Dh={class:"flex w-full justify-start sm:justify-center"},Fh={class:"bottom-32 ml-24 transform -translate-x-1/2 flex gap-4 z-10"},Bh={class:"fixed bottom-0 w-full"},Nh={__name:"Found",setup(e){const t=ee([]),n=ee(1),s=ee(1),r=async(l=1)=>{const{searchQuery:c,activeCategory:a,activeLocation:u}=ae,f=await dh({page:l,search:c,category_name:a,location_name:u});t.value=f.results,s.value=Math.ceil(f.count/27)},o=()=>{n.value>1&&(n.value-=1,r(n.value))},i=()=>{n.value[ae.searchQuery,ae.activeCategory,ae.activeLocation],()=>{n.value=1,r()}),Lt(()=>r(n.value)),(l,c)=>(_(),R("div",Mh,[d("div",jh,[F(Hr)]),d("div",Lh,[F(Ih)]),t.value.length===0?(_(),_e(ea,{key:0,message:"está sem itens achados... Você pode adicionar um!"})):(_(),R("div",$h,[(_(!0),R(Q,null,xe(t.value,a=>(_(),_e(Os,{key:a.id,name:a.name,location:a.location_name,time:Ae(Ds)(a.created_at),image:a.image_urls[0]||Ae(Vn),id:a.id},null,8,["name","location","time","image","id"]))),128))])),d("div",Dh,[d("div",Fh,[(_(),R("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:o},c[0]||(c[0]=[d("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)]))),(_(),R("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:i},c[1]||(c[1]=[d("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)])))])]),F(kh),d("div",Bh,[F(Et,{activeIcon:"search"})])]))}};class ta{constructor(t){this.entity=t}validate(){for(const t of this.entity.requiredFields){const n=this.entity[t];if(!n||n==="")return!1}return!0}toFormData(){const t=new FormData;for(const[n,s]of Object.entries(this.entity))n!=="requiredFields"&&s!==void 0&&s!==null&&(Array.isArray(s)?s.forEach((r,o)=>{t.append(`${n}[${o}]`,r)}):t.append(n,s??null));return t}setFieldValue(t,n){this.entity[t]=n}}class na{constructor(t=null,n="",s="",r="",o="",i="",l="",c=null,a=null,u="",f="",m=["name","category","location"]){this.user=t,this.name=n,this.category=s,this.location=r,this.color=o,this.brand=l,this.description=c,this.images=a,this.status=u,this.found_lost_date=i,this.barcode=f,this.requiredFields=m}}const Uh={props:{type:{type:String,default:"info",validator:e=>["success","error","info","warning"].includes(e)},message:{type:String,required:!0},duration:{type:Number,default:3e3}},data(){return{visible:!0}},computed:{alertClasses(){return{success:"bg-green-200 border-r-4 border-green-600 text-green-600",error:"bg-red-200 border-r-4 border-red-600 text-red-600",info:"bg-blue-500",warning:"bg-yellow-500 text-black"}},alertClassesText(){return{success:"text-green-600",error:"text-red-600",info:"text-blue-600",warning:"text-black-600"}}},mounted(){this.duration>0&&setTimeout(()=>{this.closeAlert()},this.duration)},methods:{closeAlert(){this.visible=!1,this.$emit("closed")}}};function zh(e,t,n,s,r,o){return r.visible?(_(),R("div",{key:0,class:X(["fixed top-4 right-4 z-50 px-4 py-3 rounded flex items-center justify-between font-inter",o.alertClasses[n.type]]),role:"alert"},[d("p",null,Z(n.message),1),d("button",{onClick:t[0]||(t[0]=(...i)=>o.closeAlert&&o.closeAlert(...i)),class:X(["ml-4 font-bold focus:outline-none",o.alertClassesText[n.type]])}," ✕ ",2)],2)):ge("",!0)}const $n=Ee(Uh,[["render",zh]]),ve=pe.create({baseURL:"http://localhost:8000/api",withCredentials:!0});ve.interceptors.response.use(e=>e,e=>(e.response.status===401&&oa.push({name:"Login"}),Promise.reject(e)));const Pt="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='currentColor'%20class='size-6%20stroke-white'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m19.5%208.25-7.5%207.5-7.5-7.5'%20/%3e%3c/svg%3e",sa="data:image/svg+xml,%3csvg%20class='svg%20w-8'%20fill='none'%20height='24'%20stroke='%23FFFFFF'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20viewBox='0%200%2024%2024'%20width='24'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cline%20x1='12'%20x2='12'%20y1='5'%20y2='19'%3e%3c/line%3e%3cline%20x1='5'%20x2='19'%20y1='12'%20y2='12'%3e%3c/line%3e%3c/svg%3e",Hh={name:"FormComponent",data(){return{item:new na,foundTime:"",previews:[],submitError:!1,formSubmitted:!1,alertMessage:"",categories:[],locations:[],colors:[],brands:[]}},mounted(){this.initializeData()},methods:{initializeData(){this.initializeCategories(),this.initializeLocations(),this.initializeColors(),this.initializeBrands()},async initializeCategories(){try{const e=await ve.get("/categories/");this.categories=e.data.results}catch{console.log("Erro ao carregar categorias")}},async initializeLocations(){try{const e=await ve.get("/locations/");this.locations=e.data.results}catch{console.log("Erro ao carregar locais")}},async initializeColors(){try{const e=await ve.get("/colors/");this.colors=e.data.results}catch{console.log("Erro ao carregar cores")}},async initializeBrands(){try{const e=await ve.get("/brands/");this.brands=e.data.results}catch{console.log("Erro ao carregar marcas")}},async save(){this.item.status="lost";const e=new ta(this.item);if(!e.validate()){this.alertMessage="Verifique os campos marcados com *.",this.submitError=!0;return}e.foundLostDate&&this.setFoundLostDate();const t=e.toFormData();try{await ve.post("/items/",t),this.formSubmitted=!0,setTimeout(()=>{window.location.replace("http://localhost:8000/#/lost")},1e3)}catch{this.alertMessage="Erro ao publicar item.",this.submitError=!0}},onFileChange(e){this.item.images||(this.item.images=[]);const t=Array.from(e.target.files);this.item.images.push(...t),t.forEach(n=>{const s=new FileReader;s.onload=r=>{this.previews.push(r.target.result)},s.readAsDataURL(n)})},setFoundLostDate(){const[e,t,n]=this.item.foundLostDate.split("-").map(Number),[s,r]=this.lostTime.split(":").map(Number);this.item.foundLostDate=new Date(n,t-1,e,s??0,r??0)},removeImage(e){this.previews.splice(e,1),this.item.images.splice(e,1)},handleSelectChange(e){const t=e.target;t.value=="clear"&&(this.item[`${t.id}`]="")}}},qh={class:"grid md:grid-cols-4 gap-4"},Vh={class:"mb-4 col-span-2"},Kh={class:"block relative mb-4 col-span-2"},Wh=["value"],Qh={class:"block relative mb-4 col-span-2"},Gh=["value"],Jh={class:"block relative mb-4 col-span-2"},Zh=["value"],Xh={class:"block relative mb-4 col-span-2"},Yh=["value"],em={class:"mb-4 col-span-2"},tm={class:"mb-4 col-span-2"},nm={class:"mb-4 col-span-2"},sm=["disabled"],rm={class:"flex flex-wrap gap-4 col-span-3"},om=["src"],im=["onClick"],lm={class:"col-span-4"};function am(e,t,n,s,r,o){var l,c;const i=he("Alert");return _(),R(Q,null,[d("form",{id:"app",onSubmit:t[14]||(t[14]=(...a)=>o.save&&o.save(...a))},[d("div",qh,[d("div",Vh,[t[17]||(t[17]=d("label",{for:"name",class:"font-inter block text-azul text-sm font-bold mb-2"},[ye("Item "),d("span",{class:"text-red-500"},"*")],-1)),ke(d("input",{id:"name",class:"appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline","onUpdate:modelValue":t[0]||(t[0]=a=>r.item.name=a),type:"text",name:"name",placeholder:"Escreva o nome do item"},null,512),[[vt,r.item.name]])]),d("div",Kh,[t[20]||(t[20]=d("label",{for:"category",class:"font-inter block text-azul text-sm font-bold mb-2"},[ye("Categoria "),d("span",{class:"text-red-500"},"*")],-1)),ke(d("select",{id:"category",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.category===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[1]||(t[1]=a=>r.item.category=a),onChange:t[2]||(t[2]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"category"},[t[18]||(t[18]=d("option",{disabled:"",value:""},"Selecione",-1)),t[19]||(t[19]=d("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),R(Q,null,xe(r.categories,a=>(_(),R("option",{key:a.id,value:a.id,class:"block text-gray-700"},Z(a.name),9,Wh))),128))],34),[[Ot,r.item.category]]),t[21]||(t[21]=d("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[d("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),d("div",Qh,[t[24]||(t[24]=d("label",{for:"location",class:"font-inter block text-azul text-sm font-bold mb-2"},[ye("Local "),d("span",{class:"text-red-500"},"*")],-1)),ke(d("select",{id:"location",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.location===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[3]||(t[3]=a=>r.item.location=a),onChange:t[4]||(t[4]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"location"},[t[22]||(t[22]=d("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[23]||(t[23]=d("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),R(Q,null,xe(r.locations,a=>(_(),R("option",{key:a.id,value:a.id,class:"block text-gray-700"},Z(a.name),9,Gh))),128))],34),[[Ot,r.item.location]]),t[25]||(t[25]=d("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[d("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),d("div",Jh,[t[28]||(t[28]=d("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Cor",-1)),ke(d("select",{id:"color",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.color===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[5]||(t[5]=a=>r.item.color=a),onChange:t[6]||(t[6]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[26]||(t[26]=d("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[27]||(t[27]=d("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),R(Q,null,xe(r.colors,a=>(_(),R("option",{key:a.id,value:a.id,class:"block text-gray-700"},Z(a.name),9,Zh))),128))],34),[[Ot,r.item.color]]),t[29]||(t[29]=d("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[d("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),d("div",Xh,[t[32]||(t[32]=d("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Marca",-1)),ke(d("select",{id:"brand",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.brand===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[7]||(t[7]=a=>r.item.brand=a),onChange:t[8]||(t[8]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[30]||(t[30]=d("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[31]||(t[31]=d("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),R(Q,null,xe(r.brands,a=>(_(),R("option",{key:a.id,value:a.id,class:"block text-gray-700"},Z(a.name),9,Yh))),128))],34),[[Ot,r.item.brand]]),t[33]||(t[33]=d("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[d("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),d("div",em,[t[34]||(t[34]=d("label",{for:"foundLostDate",class:"font-inter block text-azul text-sm font-bold mb-2"},"Data em que foi perdido",-1)),ke(d("input",{id:"foundLostDate",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.foundLostDate===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[9]||(t[9]=a=>r.item.foundLostDate=a),type:"date",name:"foundLostDate"},null,2),[[vt,r.item.foundLostDate]])]),d("div",tm,[t[35]||(t[35]=d("label",{for:"foundTime",class:"font-inter block text-azul text-sm font-bold mb-2"},"Horário em que foi perdido",-1)),ke(d("input",{id:"foundTime",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.foundTime===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[10]||(t[10]=a=>r.foundTime=a),type:"time",name:"foundTime"},null,2),[[vt,r.foundTime]])]),d("div",nm,[t[36]||(t[36]=d("label",{for:"description",class:"font-inter block text-azul text-sm font-bold mb-2"}," Descrição ",-1)),ke(d("textarea",{id:"description","onUpdate:modelValue":t[11]||(t[11]=a=>r.item.description=a),name:"description",rows:"4",placeholder:"Descreva detalhadamente o item",class:"w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,512),[[vt,r.item.description]])]),d("div",null,[d("label",{for:"images",class:X(["flex bg-azul text-white text-base px-5 py-3 outline-none rounded cursor-pointer font-inter",((l=r.item.images)==null?void 0:l.length)>1?"opacity-50 cursor-not-allowed":""])},[t[37]||(t[37]=d("img",{src:sa,alt:"",class:"mr-2"},null,-1)),t[38]||(t[38]=ye(" Adicionar imagens ")),d("input",{type:"file",id:"images",class:"hidden",onChange:t[12]||(t[12]=(...a)=>o.onFileChange&&o.onFileChange(...a)),disabled:((c=r.item.images)==null?void 0:c.length)>1},null,40,sm)],2)]),d("div",rm,[(_(!0),R(Q,null,xe(r.previews,(a,u)=>(_(),R("div",{key:u,class:"w-64 h-64 border rounded relative"},[d("img",{src:a,alt:"Preview",class:"w-full h-full object-cover rounded"},null,8,om),d("div",{class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-12 h-12 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:f=>o.removeImage(u)},t[39]||(t[39]=[d("img",{src:zr,alt:""},null,-1)]),8,im)]))),128))]),d("div",lm,[d("button",{type:"button",onClick:t[13]||(t[13]=(...a)=>o.save&&o.save(...a)),class:"inline-block text-center rounded-full bg-laranja px-5 py-3 text-md text-white w-full"}," Enviar ")])])],32),r.submitError?(_(),_e(i,{key:0,type:"error",message:r.alertMessage,onClosed:t[15]||(t[15]=a=>r.submitError=!1)},null,8,["message"])):ge("",!0),r.formSubmitted?(_(),_e(i,{key:1,type:"success",message:"Item publicado com sucesso",onClosed:t[16]||(t[16]=a=>r.formSubmitted=!1)})):ge("",!0)],64)}const cm=Ee(Hh,[["render",am]]),Kn="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%23FFFFFF'%20class='size-6'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m11.25%209-3%203m0%200%203%203m-3-3h7.5M21%2012a9%209%200%201%201-18%200%209%209%200%200%201%2018%200Z'%20/%3e%3c/svg%3e",um={name:"LostHeader",components:{Logo:_t},props:{text:String}},fm={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-start text-white gap-x-9 p-6"},dm={class:"font-inter font-semibold text-2xl"},pm={class:"ml-auto"};function hm(e,t,n,s,r,o){const i=he("router-link"),l=he("Logo");return _(),R("div",fm,[F(i,{to:"/lost",class:"inline-block"},{default:be(()=>t[0]||(t[0]=[d("img",{src:Kn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),d("div",null,[d("span",dm,Z(n.text??"Cadastro de item perdido"),1)]),d("button",pm,[F(i,{to:"/about",class:"no-underline text-white"},{default:be(()=>[F(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const mm=Ee(um,[["render",hm]]),gm={class:"fixed w-full top-0",style:{"z-index":"1"}},bm={class:"px-6 py-[120px]",style:{"z-index":"2"}},ym={class:"fixed bottom-0 w-full"},xm={__name:"Register-Lost",setup(e){return(t,n)=>(_(),R(Q,null,[d("div",gm,[F(mm)]),d("div",bm,[F(cm)]),d("div",ym,[F(Et,{activeIcon:"search"})])],64))}},vm={name:"FormComponent",data(){return{item:new na,foundTime:"",foundDate:"",previews:[],submitError:!1,formSubmitted:!1,alertMessage:"",categories:[],locations:[],colors:[],brands:[]}},mounted(){this.initializeData()},methods:{initializeData(){this.initializeCategories(),this.initializeLocations(),this.initializeColors(),this.initializeBrands()},async initializeCategories(){try{const e=await ve.get("/categories/");this.categories=e.data.results}catch{console.log("Erro ao carregar categorias")}},async initializeLocations(){try{const e=await ve.get("/locations/");this.locations=e.data.results}catch{console.log("Erro ao carregar locais")}},async initializeColors(){try{const e=await ve.get("/colors/");this.colors=e.data.results}catch{console.log("Erro ao carregar cores")}},async initializeBrands(){try{const e=await ve.get("/brands/");this.brands=e.data.results}catch{console.log("Erro ao carregar marcas")}},async save(){this.item.status="found";const e=new ta(this.item);if(!e.validate()){this.alertMessage="Verifique os campos marcados com *.",this.submitError=!0;return}if(this.item.foundDate){const n=this.formatFoundLostDate();e.setFieldValue("found_lost_date",n)}const t=e.toFormData();try{await ve.post("/items/",t),this.formSubmitted=!0,setTimeout(()=>{window.location.replace("http://localhost:8000/#/found")},1e3)}catch{this.alertMessage="Erro ao publicar item.",this.submitError=!0}},onFileChange(e){this.item.images||(this.item.images=[]);const t=Array.from(e.target.files);this.item.images.push(...t),t.forEach(n=>{const s=new FileReader;s.onload=r=>{this.previews.push(r.target.result)},s.readAsDataURL(n)})},formatFoundLostDate(){var f;const[e,t,n]=this.item.foundDate.split("-").map(Number),[s,r]=(f=this.foundTime)==null?void 0:f.split(":").map(Number),o=new Date(e,t-1,n,s??0,r??0),i=o.getTimezoneOffset(),l=i>0?"-":"+",c=Math.abs(i),a=String(Math.floor(c/60)).padStart(2,"0"),u=String(c%60).padStart(2,"0");return`${o.getFullYear()}-${String(o.getMonth()+1).padStart(2,"0")}-${String(o.getDate()).padStart(2,"0")}T${String(o.getHours()).padStart(2,"0")}:${String(o.getMinutes()).padStart(2,"0")}:${String(o.getSeconds()).padStart(2,"0")}${l}${a}${u}`},removeImage(e){this.previews.splice(e,1),this.item.images.splice(e,1)},handleSelectChange(e){const t=e.target;t.value=="clear"&&(this.item[`${t.id}`]="")}}},_m={class:"grid md:grid-cols-4 gap-4"},wm={class:"mb-4 col-span-2"},Em={class:"block relative mb-4 col-span-2"},Sm=["value"],Cm={class:"block relative mb-4 col-span-2"},Am=["value"],Rm={class:"block relative mb-4 col-span-2"},km=["value"],Tm={class:"block relative mb-4 col-span-2"},Om=["value"],Pm={class:"mb-4 col-span-2"},Im={class:"mb-4 col-span-2"},Mm={class:"mb-4 col-span-2"},jm=["disabled"],Lm={class:"flex flex-wrap gap-4 col-span-3"},$m=["src"],Dm=["onClick"],Fm={class:"col-span-4"};function Bm(e,t,n,s,r,o){var l,c;const i=he("Alert");return _(),R(Q,null,[d("form",{id:"app",onSubmit:t[14]||(t[14]=(...a)=>o.save&&o.save(...a))},[d("div",_m,[d("div",wm,[t[17]||(t[17]=d("label",{for:"name",class:"font-inter block text-azul text-sm font-bold mb-2"},[ye("Item "),d("span",{class:"text-red-500"},"*")],-1)),ke(d("input",{id:"name",class:"appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline","onUpdate:modelValue":t[0]||(t[0]=a=>r.item.name=a),type:"text",name:"name",placeholder:"Escreva o nome do item"},null,512),[[vt,r.item.name]])]),d("div",Em,[t[20]||(t[20]=d("label",{for:"category",class:"font-inter block text-azul text-sm font-bold mb-2"},[ye("Categoria "),d("span",{class:"text-red-500"},"*")],-1)),ke(d("select",{id:"category",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.category===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[1]||(t[1]=a=>r.item.category=a),onChange:t[2]||(t[2]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"category"},[t[18]||(t[18]=d("option",{disabled:"",value:""},"Selecione",-1)),t[19]||(t[19]=d("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),R(Q,null,xe(r.categories,a=>(_(),R("option",{key:a.id,value:a.id,class:"block text-gray-700"},Z(a.name),9,Sm))),128))],34),[[Ot,r.item.category]]),t[21]||(t[21]=d("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[d("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),d("div",Cm,[t[24]||(t[24]=d("label",{for:"location",class:"font-inter block text-azul text-sm font-bold mb-2"},[ye("Local "),d("span",{class:"text-red-500"},"*")],-1)),ke(d("select",{id:"location",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.location===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[3]||(t[3]=a=>r.item.location=a),onChange:t[4]||(t[4]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"location"},[t[22]||(t[22]=d("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[23]||(t[23]=d("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),R(Q,null,xe(r.locations,a=>(_(),R("option",{key:a.id,value:a.id,class:"block text-gray-700"},Z(a.name),9,Am))),128))],34),[[Ot,r.item.location]]),t[25]||(t[25]=d("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[d("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),d("div",Rm,[t[28]||(t[28]=d("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Cor",-1)),ke(d("select",{id:"color",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.color===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[5]||(t[5]=a=>r.item.color=a),onChange:t[6]||(t[6]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[26]||(t[26]=d("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[27]||(t[27]=d("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),R(Q,null,xe(r.colors,a=>(_(),R("option",{key:a.id,value:a.id,class:"block text-gray-700"},Z(a.name),9,km))),128))],34),[[Ot,r.item.color]]),t[29]||(t[29]=d("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[d("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),d("div",Tm,[t[32]||(t[32]=d("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Marca",-1)),ke(d("select",{id:"brand",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.brand===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[7]||(t[7]=a=>r.item.brand=a),onChange:t[8]||(t[8]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[30]||(t[30]=d("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[31]||(t[31]=d("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),R(Q,null,xe(r.brands,a=>(_(),R("option",{key:a.id,value:a.id,class:"block text-gray-700"},Z(a.name),9,Om))),128))],34),[[Ot,r.item.brand]]),t[33]||(t[33]=d("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[d("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),d("div",Pm,[t[34]||(t[34]=d("label",{for:"foundDate",class:"font-inter block text-azul text-sm font-bold mb-2"},"Data em que foi achado",-1)),ke(d("input",{id:"foundDate",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.foundDate===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[9]||(t[9]=a=>r.item.foundDate=a),type:"date",name:"foundDate"},null,2),[[vt,r.item.foundDate]])]),d("div",Im,[t[35]||(t[35]=d("label",{for:"foundTime",class:"font-inter block text-azul text-sm font-bold mb-2"},"Horário em que foi achado",-1)),ke(d("input",{id:"foundTime",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.foundTime===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[10]||(t[10]=a=>r.foundTime=a),type:"time",name:"foundTime"},null,2),[[vt,r.foundTime]])]),d("div",Mm,[t[36]||(t[36]=d("label",{for:"description",class:"font-inter block text-azul text-sm font-bold mb-2"}," Descrição ",-1)),ke(d("textarea",{id:"description","onUpdate:modelValue":t[11]||(t[11]=a=>r.item.description=a),name:"description",rows:"4",placeholder:"Descreva detalhadamente o item",class:"w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,512),[[vt,r.item.description]])]),d("div",null,[d("label",{for:"images",class:X(["flex bg-azul text-white text-base px-5 py-3 outline-none rounded cursor-pointer font-inter",((l=r.item.images)==null?void 0:l.length)>1?"opacity-50 cursor-not-allowed":""])},[t[37]||(t[37]=d("img",{src:sa,alt:"",class:"mr-2"},null,-1)),t[38]||(t[38]=ye(" Adicionar imagens ")),d("input",{type:"file",id:"images",class:"hidden",onChange:t[12]||(t[12]=(...a)=>o.onFileChange&&o.onFileChange(...a)),disabled:((c=r.item.images)==null?void 0:c.length)>1},null,40,jm)],2)]),d("div",Lm,[(_(!0),R(Q,null,xe(r.previews,(a,u)=>(_(),R("div",{key:u,class:"w-64 h-64 border rounded relative"},[d("img",{src:a,alt:"Preview",class:"w-full h-full object-cover rounded"},null,8,$m),d("div",{class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-12 h-12 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:f=>o.removeImage(u)},t[39]||(t[39]=[d("img",{src:zr,alt:""},null,-1)]),8,Dm)]))),128))]),d("div",Fm,[d("button",{type:"button",onClick:t[13]||(t[13]=(...a)=>o.save&&o.save(...a)),class:"inline-block text-center rounded-full bg-laranja px-5 py-3 text-md text-white w-full"}," Enviar ")])])],32),r.submitError?(_(),_e(i,{key:0,type:"error",message:r.alertMessage,onClosed:t[15]||(t[15]=a=>r.submitError=!1)},null,8,["message"])):ge("",!0),r.formSubmitted?(_(),_e(i,{key:1,type:"success",message:"Item publicado com sucesso",onClosed:t[16]||(t[16]=a=>r.formSubmitted=!1)})):ge("",!0)],64)}const Nm=Ee(vm,[["render",Bm]]),Um={name:"FoundHeader",components:{Logo:_t},props:{text:String}},zm={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-start text-white gap-x-9 p-6"},Hm={class:"font-inter font-semibold text-2xl"},qm={class:"ml-auto"};function Vm(e,t,n,s,r,o){const i=he("router-link"),l=he("Logo");return _(),R("div",zm,[F(i,{to:"/found",class:"inline-block"},{default:be(()=>t[0]||(t[0]=[d("img",{src:Kn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),d("div",null,[d("span",Hm,Z(n.text??"Cadastro de item achado"),1)]),d("button",qm,[F(i,{to:"/about",class:"no-underline text-white"},{default:be(()=>[F(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const Km=Ee(Um,[["render",Vm]]),Wm={class:"fixed w-full top-0",style:{"z-index":"1"}},Qm={class:"px-6 py-[120px]",style:{"z-index":"2"}},Gm={class:"fixed bottom-0 w-full"},Jm={__name:"Register-Found",setup(e){return(t,n)=>(_(),R(Q,null,[d("div",Wm,[F(Km)]),d("div",Qm,[F(Nm)]),d("div",Gm,[F(Et,{activeIcon:"search"})])],64))}},Zm={class:"flex flex-col items-center px-6 pt-10 lg:pt-16"},Xm={class:"w-24 h-24 lg:w-32 lg:h-32 rounded-full flex items-center justify-center border-4 border-laranja overflow-hidden"},Ym=["src"],eg={key:1,class:"w-full h-full bg-cinza2 flex items-center justify-center text-cinza3 text-sm lg:text-lg"},tg={class:"text-xl lg:text-3xl font-bold text-azul mt-4 lg:mt-6"},ng={class:"text-sm lg:text-lg text-cinza3"},sg={key:0,class:"text-sm lg:text-lg text-cinza3"},rg={class:"pt-[30px] lg:pt-[50px] flex flex-col items-center w-full mt-6 space-y-4 lg:space-y-6"},og={class:"fixed bottom-0 w-full"},ig={__name:"User",setup(e){const t=ee({foto:"",first_name:"",last_name:"",email:"",username:"",matricula:null});async function n(){try{console.log("Buscando dados do usuário logado...");const s=await ve.get("/auth/user/");console.log("Dados do usuário recebidos:",s.data),t.value={foto:s.data.foto||null,first_name:s.data.first_name,last_name:s.data.last_name,email:s.data.email,username:s.data.username,matricula:s.data.matricula}}catch(s){console.error("Erro ao carregar dados do usuário:",s)}}return Lt(n),(s,r)=>{const o=he("router-link");return _(),R("div",Zm,[d("div",Xm,[t.value.foto?(_(),R("img",{key:0,src:t.value.foto,alt:"Foto do Usuário",class:"w-full h-full object-cover"},null,8,Ym)):(_(),R("div",eg," Foto Padrão "))]),d("h1",tg,Z(t.value.first_name||t.value.last_name?t.value.first_name+" "+t.value.last_name:t.value.username),1),d("p",ng,Z(t.value.email||"Email não disponível"),1),t.value.matricula?(_(),R("p",sg," Matrícula: "+Z(t.value.matricula),1)):ge("",!0),d("div",rg,[F(o,{to:"/user-items-lost",class:"w-full flex justify-center"},{default:be(()=>r[0]||(r[0]=[d("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Meus itens ativos ",-1)])),_:1}),r[2]||(r[2]=d("a",{href:"mailto:acheiunb2024@gmail.com",class:"w-full flex justify-center"},[d("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Reportar um problema ")],-1)),F(o,{to:"/",class:"w-full flex justify-center"},{default:be(()=>r[1]||(r[1]=[d("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Sair da Conta ",-1)])),_:1})]),r[3]||(r[3]=d("div",{class:"h-16 lg:h-24"},null,-1)),d("div",og,[F(Et,{activeIcon:"user"})])])}}},lg={};function ag(e,t){return"chats"}const cg=Ee(lg,[["render",ag]]),ug={name:"ItemHeader",components:{Logo:_t},props:{title:{type:String,required:!0}},methods:{goBack(){this.$router.back()}}},fg={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center text-white p-4 md:p-6"},dg={class:"flex items-center w-1/4"},pg={class:"flex-grow flex justify-center"},hg={class:"font-inter font-semibold text-lg md:text-2xl text-center break-words"},mg={class:"flex items-center w-1/4 justify-end"};function gg(e,t,n,s,r,o){const i=he("Logo"),l=he("router-link");return _(),R("div",fg,[d("div",dg,[d("img",{onClick:t[0]||(t[0]=(...c)=>o.goBack&&o.goBack(...c)),src:Kn,alt:"Voltar",class:"w-[30px] h-[30px] text-white cursor-pointer"})]),d("div",pg,[d("span",hg,Z(n.title),1)]),d("div",mg,[F(l,{to:"/about",class:"no-underline text-white"},{default:be(()=>[F(i,{class:"pr-2 md:pr-4",sizeClass:"text-xl md:text-2xl"})]),_:1})])])}const bg=Ee(ug,[["render",gg]]),yg={key:0,class:"fixed w-full top-0 z-[1]"},xg={key:1,class:"px-6 py-[120px] flex flex-col items-center gap-6"},vg={class:"w-full md:flex md:gap-8 md:max-w-4xl"},_g={class:"w-full max-w-md md:max-w-none md:w-1/2 relative"},wg={key:0,class:"w-full h-64"},Eg=["src"],Sg=["src","alt"],Cg={key:2,class:"md:hidden overflow-hidden relative"},Ag=["src","alt"],Rg={key:0,class:"absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2"},kg={class:"w-full md:w-1/2 mt-6 md:mt-0"},Tg={class:"text-lg md:text-2xl font-bold text-left"},Og={class:"text-sm md:text-base text-gray-500 text-left mt-2"},Pg={key:0,class:"text-sm md:text-base text-gray-500 text-left mt-1"},Ig={key:1,class:"text-sm md:text-base text-gray-500 text-left mt-1"},Mg={class:"flex flex-wrap gap-2 justify-start mt-4"},jg={key:0,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-blue-500"},Lg={key:1,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-laranja"},$g={key:2,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-gray-500"},Dg={class:"text-sm md:text-base text-gray-700 text-left mt-4"},Fg={class:"fixed bottom-0 w-full"},Bg={__name:"ListItem",setup(e){const t=Al(),n=Cl(),s=ee(null),r=ee(""),o=ee(null),i=ee(0),l=ee(window.innerWidth<768),c=ee(!1),a=E=>{const I=new Date(E);return`${I.toLocaleDateString("pt-BR",{timeZone:"America/Sao_Paulo"})} às ${I.toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit",timeZone:"America/Sao_Paulo"})}`},u=()=>{i.value=(i.value+1)%s.value.image_urls.length},f=()=>{i.value=(i.value-1+s.value.image_urls.length)%s.value.image_urls.length},m=()=>{l.value=window.innerWidth<768};async function g(){try{const E=await ve.get(`/items/${t.query.idItem}/`);s.value=E.data,r.value=s.value.status,c.value=!0,console.log("Item carregado:",s.value)}catch(E){console.error("Erro ao carregar item:",E)}}async function x(){try{const E=await ve.get("/auth/user/");o.value=E.data,console.log("Usuário atual:",o.value)}catch(E){console.error("Erro ao buscar usuário:",E)}}const S=async()=>{var E,I,T,O;try{if(!s.value||!s.value.id){console.error("Item inválido ou não carregado:",s.value);return}if(!((E=o.value)!=null&&E.id)||!((I=s.value)!=null&&I.user_id)){console.error("IDs de usuário inválidos:",{currentUser:o.value,item:s.value});return}console.log("Item atual (ID):",s.value.id),console.log("Dono do item (user_id):",s.value.user_id),console.log("Usuário atual (ID):",o.value.id);const j={participant_1:o.value.id,participant_2:s.value.user_id,item_id:s.value.id};console.log("Parâmetros para busca de chat:",j);const Y=(await ve.get("/chat/chatrooms/",{params:j})).data;if(console.log("Chats encontrados:",Y),Y&&Y.length>0){n.push(`/chat/${Y[0].id}?itemId=${s.value.id}`);return}const G={participant_1:o.value.id,participant_2:s.value.user_id,item_id:s.value.id};console.log("Dados para criação de chat:",G);const Se=await ve.post("/chat/chatrooms/",G);if(console.log("Resposta da criação de chat:",Se.data),(T=Se.data)!=null&&T.id)n.push(`/chat/${Se.data.id}?itemId=${s.value.id}`);else throw new Error("Resposta inválida ao criar chatroom")}catch(j){console.error("Erro ao criar/aceder chat:",((O=j.response)==null?void 0:O.data)||j.message),alert("Ocorreu um erro ao iniciar o chat. Por favor, tente novamente.")}};return Lt(async()=>{await x(),await g(),window.addEventListener("resize",m)}),Ui(()=>{window.removeEventListener("resize",m)}),(E,I)=>(_(),R(Q,null,[c.value?(_(),R("div",yg,[F(bg,{title:r.value==="found"?"Item Achado":"Item Perdido"},null,8,["title"])])):ge("",!0),s.value?(_(),R("div",xg,[d("div",vg,[d("div",_g,[!s.value.image_urls||s.value.image_urls.length===0?(_(),R("div",wg,[d("img",{src:Ae(Vn),alt:"Imagem não disponível",class:"w-full h-full object-contain"},null,8,Eg)])):(_(),R("div",{key:1,class:X(["hidden md:grid",s.value.image_urls.length===1?"grid-cols-1":"grid-cols-2 gap-4"])},[(_(!0),R(Q,null,xe(s.value.image_urls.slice(0,2),(T,O)=>(_(),R("img",{key:O,src:T,alt:`Imagem ${O+1} do item`,class:"h-64 w-full object-cover rounded-lg"},null,8,Sg))),128))],2)),s.value.image_urls&&s.value.image_urls.length>0?(_(),R("div",Cg,[d("div",{class:"flex transition-transform duration-300 ease-out snap-x snap-mandatory",style:Fn({transform:`translateX(-${i.value*100}%)`})},[(_(!0),R(Q,null,xe(s.value.image_urls,(T,O)=>(_(),R("div",{key:O,class:"w-full flex-shrink-0 relative snap-start"},[d("img",{src:T,alt:`Imagem ${O+1} do item`,class:"w-full h-64 object-cover rounded-lg"},null,8,Ag)]))),128))],4),s.value.image_urls.length>1?(_(),R("div",Rg,[(_(!0),R(Q,null,xe(s.value.image_urls,(T,O)=>(_(),R("div",{key:O,class:X(["w-2 h-2 rounded-full transition-colors duration-300",i.value===O?"bg-white":"bg-gray-300"])},null,2))),128))])):ge("",!0),s.value.image_urls.length>1?(_(),R("button",{key:1,onClick:f,class:"absolute left-2 top-1/2 transform -translate-y-1/2 bg-white/30 rounded-full p-2 backdrop-blur-sm"}," ← ")):ge("",!0),s.value.image_urls.length>1?(_(),R("button",{key:2,onClick:u,class:"absolute right-2 top-1/2 transform -translate-y-1/2 bg-white/30 rounded-full p-2 backdrop-blur-sm"}," → ")):ge("",!0)])):ge("",!0)]),d("div",kg,[d("h1",Tg,Z(s.value.name),1),d("p",Og," Achado em: "+Z(s.value.location_name||"Não especificado"),1),s.value.found_lost_date&&r.value==="found"?(_(),R("p",Pg," Data do achado: "+Z(a(s.value.found_lost_date)),1)):s.value.found_lost_date&&r.value==="lost"?(_(),R("p",Ig," Data da perda: "+Z(a(s.value.found_lost_date)),1)):ge("",!0),d("div",Mg,[s.value.category_name?(_(),R("span",jg," Categoria: "+Z(s.value.category_name),1)):ge("",!0),s.value.brand_name?(_(),R("span",Lg," Marca: "+Z(s.value.brand_name),1)):ge("",!0),s.value.color_name?(_(),R("span",$g," Cor: "+Z(s.value.color_name),1)):ge("",!0)]),d("p",Dg,Z(s.value.description),1)])]),d("button",{class:"bg-laranja text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl",onClick:S}," É meu item ")])):ge("",!0),d("div",Fg,[F(Et,{activeIcon:r.value==="found"?"found":"lost"},null,8,["activeIcon"])])],64))}},Ng={name:"SubMenu"},Ug={class:"flex pt-8 space-x-8 justify-center"};function zg(e,t,n,s,r,o){const i=he("router-link");return _(),R("div",Ug,[F(i,{to:"/user-items-found",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[ye(" Achados ")])),_:1}),t[1]||(t[1]=d("div",{class:"flex-col space-y-1"},[d("span",{class:"font-inter font-bold text-laranja"},"Perdidos"),d("div",{class:"h-[2px] bg-laranja"})],-1))])}const Hg=Ee(Ng,[["render",zg]]),qg={class:"flex flex-col items-center justify-center h-64 text-center"},Vg=["src"],Kg={class:"text-cinza3 font-inter text-lg"},Wg={class:"text-azul font-bold"},ra={__name:"Empty-State-User",props:{message:String,highlightText:String},setup(e){return(t,n)=>(_(),R("div",qg,[d("img",{src:Ae(Yl),class:"w-40 h-40 mb-4"},null,8,Vg),d("p",Kg,[ye(" Parece que você não tem itens "+Z(e.message)+" ",1),d("span",Wg,Z(e.highlightText),1)])]))}},Qg={class:"fixed w-full top-0 h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between px-6 text-white z-10"},Gg={class:"pb-8 pt-24"},Jg={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-24"},Zg={class:"fixed bottom-0 w-full"},Xg={__name:"UserItems-Lost",setup(e){const t=ee([]),n=ee(!1),s=ee(!1),r=ee(""),o=async()=>{try{const c=await hh();t.value=c}catch{r.value="Erro ao carregar itens perdidos.",n.value=!0}},i=c=>{confirm("Você tem certeza que deseja deletar este item?")&&l(c)},l=async c=>{try{await Xl(c),t.value=t.value.filter(a=>a.id!==c),r.value="Item deletado com sucesso.",s.value=!0}catch{r.value="Erro ao deletar o item.",n.value=!0}};return Lt(()=>o()),(c,a)=>{const u=he("router-link"),f=he("ButtonAdd");return _(),R("div",null,[d("div",Qg,[F(u,{to:"/user",class:"inline-block"},{default:be(()=>a[2]||(a[2]=[d("img",{src:Kn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),a[3]||(a[3]=d("h1",{class:"text-2xl font-bold text-center flex-1"},"Meus Itens",-1)),d("button",null,[F(u,{to:"/about",class:"no-underline text-white"},{default:be(()=>[F(_t,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])]),d("div",Gg,[F(Hg)]),t.value.length===0?(_(),_e(ra,{key:0,message:"perdidos registrados... Você pode adicionar um no",highlightText:"AcheiUnB"})):(_(),R("div",Jg,[(_(!0),R(Q,null,xe(t.value,m=>(_(),_e(Os,{key:m.id,id:m.id,name:m.name,location:m.location_name,time:Ae(Ds)(m.created_at),image:m.image_urls[0]||Ae(Vn),isMyItem:!0,onDelete:i},null,8,["id","name","location","time","image"]))),128))])),F(f),d("div",Zg,[F(Et,{activeIcon:"search"})]),n.value?(_(),_e($n,{key:2,type:"error",message:r.value,onClosed:a[0]||(a[0]=m=>n.value=!1)},null,8,["message"])):ge("",!0),s.value?(_(),_e($n,{key:3,type:"success",message:"Item deletado com sucesso.",onClosed:a[1]||(a[1]=m=>s.value=!1)})):ge("",!0)])}}},Yg={name:"SubMenu"},e0={class:"flex pt-8 space-x-8 justify-center"};function t0(e,t,n,s,r,o){const i=he("router-link");return _(),R("div",e0,[t[1]||(t[1]=d("div",{class:"flex-col space-y-1"},[d("span",{class:"font-inter font-bold text-laranja"},"Achados"),d("div",{class:"h-[2px] bg-laranja"})],-1)),F(i,{to:"/user-items-lost",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[ye(" Perdidos ")])),_:1})])}const n0=Ee(Yg,[["render",t0]]),s0={class:"fixed w-full top-0 h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between px-6 text-white z-10"},r0={class:"pb-8 pt-24"},o0={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-24"},i0={class:"fixed bottom-0 w-full"},l0={__name:"UserItems-Found",setup(e){const t=ee([]),n=ee(!1),s=ee(!1),r=ee(""),o=async()=>{try{const c=await ph();t.value=c}catch{r.value="Erro ao carregar itens encontrados.",n.value=!0}},i=c=>{confirm("Você tem certeza que deseja deletar este item?")&&l(c)},l=async c=>{try{await Xl(c),t.value=t.value.filter(a=>a.id!==c),r.value="Item deletado com sucesso.",s.value=!0}catch{r.value="Erro ao deletar o item.",n.value=!0}};return Lt(()=>o()),(c,a)=>{const u=he("router-link"),f=he("ButtonAdd");return _(),R(Q,null,[d("div",s0,[F(u,{to:"/user",class:"inline-block"},{default:be(()=>a[2]||(a[2]=[d("img",{src:Kn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),a[3]||(a[3]=d("h1",{class:"text-2xl font-bold text-center flex-1"},"Meus Itens",-1)),d("button",null,[F(u,{to:"/about",class:"no-underline text-white"},{default:be(()=>[F(_t,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])]),d("div",r0,[F(n0)]),t.value.length===0?(_(),_e(ra,{key:0,message:"achados registrados... Você pode adicionar um no",highlightText:"AcheiUnB"})):(_(),R("div",o0,[(_(!0),R(Q,null,xe(t.value,m=>(_(),_e(Os,{key:m.id,id:m.id,name:m.name,location:m.location_name,time:Ae(Ds)(m.created_at),image:m.image_urls[0]||Ae(Vn),isMyItem:!0,onDelete:i},null,8,["id","name","location","time","image"]))),128))])),F(f),d("div",i0,[F(Et,{activeIcon:"search"})]),n.value?(_(),_e($n,{key:2,type:"error",message:r.value,onClosed:a[0]||(a[0]=m=>n.value=!1)},null,8,["message"])):ge("",!0),s.value?(_(),_e($n,{key:3,type:"success",message:"Item deletado com sucesso.",onClosed:a[1]||(a[1]=m=>s.value=!1)})):ge("",!0)],64)}}},ii={__name:"Message",setup(e){const t=Cl(),n=Al(),s=ee(n.params.chatroomId),r=ee({name:"Carregando...",profile_picture:""}),o=ee({}),i=ee([]);ee(""),ee(["Ainda está com o item?","Posso te entregar na faculdade?"]);const l=ee(n.query.participant_2),c=ee(n.query.item_id);Ht(()=>n.params.chatroomId,g=>{s.value=g,f()});const a=async()=>{try{const g=await ve.get("/api/users/me/");o.value={id:g.data.id,name:g.data.nome,profile_picture:g.data.foto||"https://via.placeholder.com/40"}}catch(g){console.error("Erro ao buscar usuário logado:",g)}},u=async g=>{try{const x=await ve.get(`/api/users/${g}/`);return{id:x.data.id,name:x.data.nome,profile_picture:x.data.foto||"https://via.placeholder.com/40"}}catch(x){return console.error("Erro ao buscar usuário do chat:",x),{name:"Usuário desconhecido",profile_picture:"https://via.placeholder.com/40"}}},f=async()=>{if(!s.value){console.log("❌ Nenhum chatroomId na URL. Criando novo chat..."),await m();return}try{console.log(`🔍 Buscando chatroom com ID: ${s.value}`);const g=await ve.get(`/chat/chatrooms/${s.value}/`);console.log("✅ Dados do chat recebidos:",g.data);const x=g.data.participant_1===o.value.id?g.data.participant_2:g.data.participant_1;r.value=await u(x),i.value=g.data.messages}catch(g){console.error("Erro ao buscar chat:",g)}},m=async()=>{if(!l.value||!c.value){console.error("⚠️ Erro: participant_2 ou item_id não foram passados na URL.");return}try{console.log("🔨 Criando novo chatroom...");const g=await ve.post("/chat/chatrooms/",{participant_1:o.value.id,participant_2:l.value,item_id:c.value});s.value=g.data.id,t.replace(`/chat/${s.value}`),console.log("✅ Novo chatroom criado:",g.data),await f()}catch(g){console.error("Erro ao criar chatroom:",g)}};return Lt(async()=>{await a(),await f()}),()=>{}}},a0=[{path:"/",name:"Login",component:Vo},{path:"/about",name:"About",component:od,meta:{requiresAuth:!0}},{path:"/lost",name:"Lost",component:Ch,meta:{requiresAuth:!0}},{path:"/found",name:"Found",component:Nh,meta:{requiresAuth:!0}},{path:"/register-lost",name:"RegisterLost",component:xm,meta:{requiresAuth:!0}},{path:"/register-found",name:"RegisterFound",component:Jm,meta:{requiresAuth:!0}},{path:"/user",name:"User",component:ig,meta:{requiresAuth:!0}},{path:"/chats",name:"Chats",component:cg,meta:{requiresAuth:!0}},{path:"/list-item",name:"ListItem",component:Bg,meta:{requiresAuth:!0}},{path:"/user-items-lost",name:"UserItemsLost",component:Xg},{path:"/user-items-found",name:"UserItemsFound",component:l0},{path:"/chat/new",name:"NewChat",component:ii,meta:{requiresAuth:!0}},{path:"/chat/:chatroomId",name:"Chat",component:ii,meta:{requiresAuth:!0},props:!0},{path:"/:catchAll(.*)",name:"NotFound",component:Vo}],oa=kf({history:rf(),routes:a0}),Fs=Su(Of);Fs.use(oa);Fs.component("Header",Hr);Fs.component("Alert",$n);Fs.mount("#app"); diff --git a/API/AcheiUnB/static/dist/js/index-ojFJwcWh.js b/API/AcheiUnB/static/dist/js/index-ojFJwcWh.js new file mode 100644 index 00000000..4b5abd60 --- /dev/null +++ b/API/AcheiUnB/static/dist/js/index-ojFJwcWh.js @@ -0,0 +1,26 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** +* @vue/shared v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function kr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const fe={},tn=[],pt=()=>{},ya=()=>!1,ys=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Tr=e=>e.startsWith("onUpdate:"),ke=Object.assign,Or=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},xa=Object.prototype.hasOwnProperty,re=(e,t)=>xa.call(e,t),q=Array.isArray,nn=e=>Bn(e)==="[object Map]",xs=e=>Bn(e)==="[object Set]",ro=e=>Bn(e)==="[object Date]",K=e=>typeof e=="function",Ee=e=>typeof e=="string",ht=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",yi=e=>(he(e)||K(e))&&K(e.then)&&K(e.catch),xi=Object.prototype.toString,Bn=e=>xi.call(e),va=e=>Bn(e).slice(8,-1),vi=e=>Bn(e)==="[object Object]",Ir=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,wn=kr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},_a=/-(\w)/g,Ye=vs(e=>e.replace(_a,(t,n)=>n?n.toUpperCase():"")),wa=/\B([A-Z])/g,Mt=vs(e=>e.replace(wa,"-$1").toLowerCase()),_s=vs(e=>e.charAt(0).toUpperCase()+e.slice(1)),zs=vs(e=>e?`on${_s(e)}`:""),$t=(e,t)=>!Object.is(e,t),Yn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},is=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let oo;const ws=()=>oo||(oo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Nn(e){if(q(e)){const t={};for(let n=0;n{if(n){const s=n.split(Sa);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ee(e){let t="";if(Ee(e))t=e;else if(q(e))for(let n=0;nEs(n,t))}const Ei=e=>!!(e&&e.__v_isRef===!0),J=e=>Ee(e)?e:e==null?"":q(e)||he(e)&&(e.toString===xi||!K(e.toString))?Ei(e)?J(e.value):JSON.stringify(e,Si,2):String(e),Si=(e,t)=>Ei(t)?Si(e,t.value):nn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Hs(s,o)+" =>"]=r,n),{})}:xs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Hs(n))}:ht(t)?Hs(t):he(t)&&!q(t)&&!vi(t)?String(t):t,Hs=(e,t="")=>{var n;return ht(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Ve;class Ia{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ve,!t&&Ve&&(this.index=(Ve.scopes||(Ve.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Sn){let t=Sn;for(Sn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;En;){let t=En;for(En=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function ki(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ti(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Mr(s),$a(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ir(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Oi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Oi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===In))return;e.globalVersion=In;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!ir(e)){e.flags&=-3;return}const n=pe,s=tt;pe=e,tt=!0;try{ki(e);const r=e.fn(e._value);(t.version===0||$t(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{pe=n,tt=s,Ti(e),e.flags&=-3}}function Mr(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Mr(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function $a(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let tt=!0;const Ii=[];function jt(){Ii.push(tt),tt=!1}function Lt(){const e=Ii.pop();tt=e===void 0?!0:e}function io(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=pe;pe=void 0;try{t()}finally{pe=n}}}let In=0;class Ma{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class jr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!pe||!tt||pe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==pe)n=this.activeLink=new Ma(pe,this),pe.deps?(n.prevDep=pe.depsTail,pe.depsTail.nextDep=n,pe.depsTail=n):pe.deps=pe.depsTail=n,Pi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=pe.depsTail,n.nextDep=void 0,pe.depsTail.nextDep=n,pe.depsTail=n,pe.deps===n&&(pe.deps=s)}return n}trigger(t){this.version++,In++,this.notify(t)}notify(t){Pr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{$r()}}}function Pi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Pi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const lr=new WeakMap,Ht=Symbol(""),ar=Symbol(""),Pn=Symbol("");function Pe(e,t,n){if(tt&&pe){let s=lr.get(e);s||lr.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new jr),r.map=s,r.key=n),r.track()}}function Et(e,t,n,s,r,o){const i=lr.get(e);if(!i){In++;return}const l=c=>{c&&c.trigger()};if(Pr(),t==="clear")i.forEach(l);else{const c=q(e),a=c&&Ir(n);if(c&&n==="length"){const u=Number(s);i.forEach((d,m)=>{(m==="length"||m===Pn||!ht(m)&&m>=u)&&l(d)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),a&&l(i.get(Pn)),t){case"add":c?a&&l(i.get("length")):(l(i.get(Ht)),nn(e)&&l(i.get(ar)));break;case"delete":c||(l(i.get(Ht)),nn(e)&&l(i.get(ar)));break;case"set":nn(e)&&l(i.get(Ht));break}}$r()}function Yt(e){const t=se(e);return t===e?t:(Pe(t,"iterate",Pn),Ze(e)?t:t.map($e))}function Ss(e){return Pe(e=se(e),"iterate",Pn),e}const ja={__proto__:null,[Symbol.iterator](){return Vs(this,Symbol.iterator,$e)},concat(...e){return Yt(this).concat(...e.map(t=>q(t)?Yt(t):t))},entries(){return Vs(this,"entries",e=>(e[1]=$e(e[1]),e))},every(e,t){return vt(this,"every",e,t,void 0,arguments)},filter(e,t){return vt(this,"filter",e,t,n=>n.map($e),arguments)},find(e,t){return vt(this,"find",e,t,$e,arguments)},findIndex(e,t){return vt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return vt(this,"findLast",e,t,$e,arguments)},findLastIndex(e,t){return vt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return vt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ks(this,"includes",e)},indexOf(...e){return Ks(this,"indexOf",e)},join(e){return Yt(this).join(e)},lastIndexOf(...e){return Ks(this,"lastIndexOf",e)},map(e,t){return vt(this,"map",e,t,void 0,arguments)},pop(){return bn(this,"pop")},push(...e){return bn(this,"push",e)},reduce(e,...t){return lo(this,"reduce",e,t)},reduceRight(e,...t){return lo(this,"reduceRight",e,t)},shift(){return bn(this,"shift")},some(e,t){return vt(this,"some",e,t,void 0,arguments)},splice(...e){return bn(this,"splice",e)},toReversed(){return Yt(this).toReversed()},toSorted(e){return Yt(this).toSorted(e)},toSpliced(...e){return Yt(this).toSpliced(...e)},unshift(...e){return bn(this,"unshift",e)},values(){return Vs(this,"values",$e)}};function Vs(e,t,n){const s=Ss(e),r=s[t]();return s!==e&&!Ze(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const La=Array.prototype;function vt(e,t,n,s,r,o){const i=Ss(e),l=i!==e&&!Ze(e),c=i[t];if(c!==La[t]){const d=c.apply(e,o);return l?$e(d):d}let a=n;i!==e&&(l?a=function(d,m){return n.call(this,$e(d),m,e)}:n.length>2&&(a=function(d,m){return n.call(this,d,m,e)}));const u=c.call(i,a,s);return l&&r?r(u):u}function lo(e,t,n,s){const r=Ss(e);let o=n;return r!==e&&(Ze(e)?n.length>3&&(o=function(i,l,c){return n.call(this,i,l,c,e)}):o=function(i,l,c){return n.call(this,i,$e(l),c,e)}),r[t](o,...s)}function Ks(e,t,n){const s=se(e);Pe(s,"iterate",Pn);const r=s[t](...n);return(r===-1||r===!1)&&Fr(n[0])?(n[0]=se(n[0]),s[t](...n)):r}function bn(e,t,n=[]){jt(),Pr();const s=se(e)[t].apply(e,n);return $r(),Lt(),s}const Da=kr("__proto__,__v_isRef,__isVue"),$i=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ht));function Fa(e){ht(e)||(e=String(e));const t=se(this);return Pe(t,"has",e),t.hasOwnProperty(e)}class Mi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Qa:Fi:o?Di:Li).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=q(t);if(!r){let c;if(i&&(c=ja[n]))return c;if(n==="hasOwnProperty")return Fa}const l=Reflect.get(t,n,Le(t)?t:s);return(ht(n)?$i.has(n):Da(n))||(r||Pe(t,"get",n),o)?l:Le(l)?i&&Ir(n)?l:l.value:he(l)?r?Ni(l):Un(l):l}}class ji extends Mi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=Vt(o);if(!Ze(s)&&!Vt(s)&&(o=se(o),s=se(s)),!q(t)&&Le(o)&&!Le(s))return c?!1:(o.value=s,!0)}const i=q(t)&&Ir(n)?Number(n)e,Qn=e=>Reflect.getPrototypeOf(e);function Ha(e,t,n){return function(...s){const r=this.__v_raw,o=se(r),i=nn(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=r[e](...s),u=n?cr:t?ur:$e;return!t&&Pe(o,"iterate",c?ar:Ht),{next(){const{value:d,done:m}=a.next();return m?{value:d,done:m}:{value:l?[u(d[0]),u(d[1])]:u(d),done:m}},[Symbol.iterator](){return this}}}}function Gn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function qa(e,t){const n={get(r){const o=this.__v_raw,i=se(o),l=se(r);e||($t(r,l)&&Pe(i,"get",r),Pe(i,"get",l));const{has:c}=Qn(i),a=t?cr:e?ur:$e;if(c.call(i,r))return a(o.get(r));if(c.call(i,l))return a(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&Pe(se(r),"iterate",Ht),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,i=se(o),l=se(r);return e||($t(r,l)&&Pe(i,"has",r),Pe(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=se(l),a=t?cr:e?ur:$e;return!e&&Pe(c,"iterate",Ht),l.forEach((u,d)=>r.call(o,a(u),a(d),i))}};return ke(n,e?{add:Gn("add"),set:Gn("set"),delete:Gn("delete"),clear:Gn("clear")}:{add(r){!t&&!Ze(r)&&!Vt(r)&&(r=se(r));const o=se(this);return Qn(o).has.call(o,r)||(o.add(r),Et(o,"add",r,r)),this},set(r,o){!t&&!Ze(o)&&!Vt(o)&&(o=se(o));const i=se(this),{has:l,get:c}=Qn(i);let a=l.call(i,r);a||(r=se(r),a=l.call(i,r));const u=c.call(i,r);return i.set(r,o),a?$t(o,u)&&Et(i,"set",r,o):Et(i,"add",r,o),this},delete(r){const o=se(this),{has:i,get:l}=Qn(o);let c=i.call(o,r);c||(r=se(r),c=i.call(o,r)),l&&l.call(o,r);const a=o.delete(r);return c&&Et(o,"delete",r,void 0),a},clear(){const r=se(this),o=r.size!==0,i=r.clear();return o&&Et(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Ha(r,e,t)}),n}function Lr(e,t){const n=qa(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(re(n,r)&&r in s?n:s,r,o)}const Va={get:Lr(!1,!1)},Ka={get:Lr(!1,!0)},Wa={get:Lr(!0,!1)};const Li=new WeakMap,Di=new WeakMap,Fi=new WeakMap,Qa=new WeakMap;function Ga(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ja(e){return e.__v_skip||!Object.isExtensible(e)?0:Ga(va(e))}function Un(e){return Vt(e)?e:Dr(e,!1,Na,Va,Li)}function Bi(e){return Dr(e,!1,za,Ka,Di)}function Ni(e){return Dr(e,!0,Ua,Wa,Fi)}function Dr(e,t,n,s,r){if(!he(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Ja(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function sn(e){return Vt(e)?sn(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function Ze(e){return!!(e&&e.__v_isShallow)}function Fr(e){return e?!!e.__v_raw:!1}function se(e){const t=e&&e.__v_raw;return t?se(t):e}function Za(e){return!re(e,"__v_skip")&&Object.isExtensible(e)&&_i(e,"__v_skip",!0),e}const $e=e=>he(e)?Un(e):e,ur=e=>he(e)?Ni(e):e;function Le(e){return e?e.__v_isRef===!0:!1}function Q(e){return Ui(e,!1)}function Ya(e){return Ui(e,!0)}function Ui(e,t){return Le(e)?e:new Xa(e,t)}class Xa{constructor(t,n){this.dep=new jr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:se(t),this._value=n?t:$e(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ze(t)||Vt(t);t=s?t:se(t),$t(t,n)&&(this._rawValue=t,this._value=s?t:$e(t),this.dep.trigger())}}function Se(e){return Le(e)?e.value:e}const ec={get:(e,t,n)=>t==="__v_raw"?e:Se(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Le(r)&&!Le(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function zi(e){return sn(e)?e:new Proxy(e,ec)}class tc{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new jr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=In-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&pe!==this)return Ri(this,!0),!0}get value(){const t=this.dep.track();return Oi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function nc(e,t,n=!1){let s,r;return K(e)?s=e:(s=e.get,r=e.set),new tc(s,r,n)}const Jn={},ls=new WeakMap;let Nt;function sc(e,t=!1,n=Nt){if(n){let s=ls.get(n);s||ls.set(n,s=[]),s.push(e)}}function rc(e,t,n=fe){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,a=M=>r?M:Ze(M)||r===!1||r===0?St(M,1):St(M);let u,d,m,g,y=!1,x=!1;if(Le(e)?(d=()=>e.value,y=Ze(e)):sn(e)?(d=()=>a(e),y=!0):q(e)?(x=!0,y=e.some(M=>sn(M)||Ze(M)),d=()=>e.map(M=>{if(Le(M))return M.value;if(sn(M))return a(M);if(K(M))return c?c(M,2):M()})):K(e)?t?d=c?()=>c(e,2):e:d=()=>{if(m){jt();try{m()}finally{Lt()}}const M=Nt;Nt=u;try{return c?c(e,3,[g]):e(g)}finally{Nt=M}}:d=pt,t&&r){const M=d,H=r===!0?1/0:r;d=()=>St(M(),H)}const v=Pa(),A=()=>{u.stop(),v&&v.active&&Or(v.effects,u)};if(o&&t){const M=t;t=(...H)=>{M(...H),A()}}let T=x?new Array(e.length).fill(Jn):Jn;const I=M=>{if(!(!(u.flags&1)||!u.dirty&&!M))if(t){const H=u.run();if(r||y||(x?H.some((Y,Z)=>$t(Y,T[Z])):$t(H,T))){m&&m();const Y=Nt;Nt=u;try{const Z=[H,T===Jn?void 0:x&&T[0]===Jn?[]:T,g];c?c(t,3,Z):t(...Z),T=H}finally{Nt=Y}}}else u.run()};return l&&l(I),u=new Ci(d),u.scheduler=i?()=>i(I,!1):I,g=M=>sc(M,!1,u),m=u.onStop=()=>{const M=ls.get(u);if(M){if(c)c(M,4);else for(const H of M)H();ls.delete(u)}},t?s?I(!0):T=u.run():i?i(I.bind(null,!0),!0):u.run(),A.pause=u.pause.bind(u),A.resume=u.resume.bind(u),A.stop=A,A}function St(e,t=1/0,n){if(t<=0||!he(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Le(e))St(e.value,t,n);else if(q(e))for(let s=0;s{St(s,t,n)});else if(vi(e)){for(const s in e)St(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&St(e[s],t,n)}return e}/** +* @vue/runtime-core v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function zn(e,t,n,s){try{return s?e(...s):e()}catch(r){Cs(r,t,n)}}function mt(e,t,n,s){if(K(e)){const r=zn(e,t,n,s);return r&&yi(r)&&r.catch(o=>{Cs(o,t,n)}),r}if(q(e)){const r=[];for(let o=0;o>>1,r=Be[s],o=$n(r);o=$n(n)?Be.push(e):Be.splice(ic(t),0,e),e.flags|=1,qi()}}function qi(){as||(as=Hi.then(Ki))}function lc(e){q(e)?rn.push(...e):kt&&e.id===-1?kt.splice(Xt+1,0,e):e.flags&1||(rn.push(e),e.flags|=1),qi()}function ao(e,t,n=ut+1){for(;n$n(n)-$n(s));if(rn.length=0,kt){kt.push(...t);return}for(kt=t,Xt=0;Xte.id==null?e.flags&2?-1:1/0:e.id;function Ki(e){try{for(ut=0;ut{s._d&&_o(-1);const o=cs(t);let i;try{i=e(...r)}finally{cs(o),s._d&&_o(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Re(e,t){if(Ke===null)return e;const n=Ts(Ke),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,Cn=e=>e&&(e.disabled||e.disabled===""),co=e=>e&&(e.defer||e.defer===""),uo=e=>typeof SVGElement<"u"&&e instanceof SVGElement,fo=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,fr=(e,t)=>{const n=e&&e.to;return Ee(n)?t?t(n):null:n},Gi={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,l,c,a){const{mc:u,pc:d,pbc:m,o:{insert:g,querySelector:y,createText:x,createComment:v}}=a,A=Cn(t.props);let{shapeFlag:T,children:I,dynamicChildren:M}=t;if(e==null){const H=t.el=x(""),Y=t.anchor=x("");g(H,n,s),g(Y,n,s);const Z=(ye,Oe)=>{T&16&&(r&&r.isCE&&(r.ce._teleportTarget=ye),u(I,ye,Oe,r,o,i,l,c))},ue=()=>{const ye=t.target=fr(t.props,y),Oe=Ji(ye,t,x,g);ye&&(i!=="svg"&&uo(ye)?i="svg":i!=="mathml"&&fo(ye)&&(i="mathml"),A||(Z(ye,Oe),Xn(t,!1)))};A&&(Z(n,Y),Xn(t,!0)),co(t.props)?Fe(()=>{ue(),t.el.__isMounted=!0},o):ue()}else{if(co(t.props)&&!e.el.__isMounted){Fe(()=>{Gi.process(e,t,n,s,r,o,i,l,c,a),delete e.el.__isMounted},o);return}t.el=e.el,t.targetStart=e.targetStart;const H=t.anchor=e.anchor,Y=t.target=e.target,Z=t.targetAnchor=e.targetAnchor,ue=Cn(e.props),ye=ue?n:Y,Oe=ue?H:Z;if(i==="svg"||uo(Y)?i="svg":(i==="mathml"||fo(Y))&&(i="mathml"),M?(m(e.dynamicChildren,M,ye,r,o,i,l),qr(e,t,!0)):c||d(e,t,ye,Oe,r,o,i,l,!1),A)ue?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Zn(t,n,H,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Xe=t.target=fr(t.props,y);Xe&&Zn(t,Xe,null,a,0)}else ue&&Zn(t,Y,Z,a,1);Xn(t,A)}},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:l,anchor:c,targetStart:a,targetAnchor:u,target:d,props:m}=e;if(d&&(r(a),r(u)),o&&r(c),i&16){const g=o||!Cn(m);for(let y=0;yus(y,t&&(q(t)?t[x]:t),n,s,r));return}if(An(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&us(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Ts(s.component):s.el,i=r?null:o,{i:l,r:c}=e,a=t&&t.r,u=l.refs===fe?l.refs={}:l.refs,d=l.setupState,m=se(d),g=d===fe?()=>!1:y=>re(m,y);if(a!=null&&a!==c&&(Ee(a)?(u[a]=null,g(a)&&(d[a]=null)):Le(a)&&(a.value=null)),K(c))zn(c,l,12,[i,u]);else{const y=Ee(c),x=Le(c);if(y||x){const v=()=>{if(e.f){const A=y?g(c)?d[c]:u[c]:c.value;r?q(A)&&Or(A,o):q(A)?A.includes(o)||A.push(o):y?(u[c]=[o],g(c)&&(d[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else y?(u[c]=i,g(c)&&(d[c]=i)):x&&(c.value=i,e.k&&(u[e.k]=i))};i?(v.id=-1,Fe(v,n)):v()}}}ws().requestIdleCallback;ws().cancelIdleCallback;const An=e=>!!e.type.__asyncLoader,Xi=e=>e.type.__isKeepAlive;function fc(e,t){el(e,"a",t)}function dc(e,t){el(e,"da",t)}function el(e,t,n=Me){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(As(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Xi(r.parent.vnode)&&pc(s,t,n,r),r=r.parent}}function pc(e,t,n,s){const r=As(t,e,s,!0);nl(()=>{Or(s[t],r)},n)}function As(e,t,n=Me,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{jt();const l=Hn(n),c=mt(t,n,e,i);return l(),Lt(),c});return s?r.unshift(o):r.push(o),o}}const Ct=e=>(t,n=Me)=>{(!jn||e==="sp")&&As(e,(...s)=>t(...s),n)},hc=Ct("bm"),bt=Ct("m"),mc=Ct("bu"),gc=Ct("u"),tl=Ct("bum"),nl=Ct("um"),bc=Ct("sp"),yc=Ct("rtg"),xc=Ct("rtc");function vc(e,t=Me){As("ec",e,t)}const _c="components";function me(e,t){return Ec(_c,e,!0,t)||e}const wc=Symbol.for("v-ndc");function Ec(e,t,n=!0,s=!1){const r=Ke||Me;if(r){const o=r.type;{const l=uu(o,!1);if(l&&(l===t||l===Ye(t)||l===_s(Ye(t))))return o}const i=po(r[e]||o[e],t)||po(r.appContext[e],t);return!i&&s?o:i}}function po(e,t){return e&&(e[t]||e[Ye(t)]||e[_s(Ye(t))])}function ve(e,t,n,s){let r;const o=n,i=q(e);if(i||Ee(e)){const l=i&&sn(e);let c=!1;l&&(c=!Ze(e),e=Ss(e)),r=new Array(e.length);for(let a=0,u=e.length;at(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,a=l.length;ce?vl(e)?Ts(e):dr(e.parent):null,Rn=ke(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>dr(e.parent),$root:e=>dr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>zr(e),$forceUpdate:e=>e.f||(e.f=()=>{Nr(e.update)}),$nextTick:e=>e.n||(e.n=Br.bind(e.proxy)),$watch:e=>Vc.bind(e)}),Ws=(e,t)=>e!==fe&&!e.__isScriptSetup&&re(e,t),Sc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Ws(s,t))return i[t]=1,s[t];if(r!==fe&&re(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&re(a,t))return i[t]=3,o[t];if(n!==fe&&re(n,t))return i[t]=4,n[t];pr&&(i[t]=0)}}const u=Rn[t];let d,m;if(u)return t==="$attrs"&&Pe(e.attrs,"get",""),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==fe&&re(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,re(m,t))return m[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Ws(r,t)?(r[t]=n,!0):s!==fe&&re(s,t)?(s[t]=n,!0):re(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==fe&&re(e,i)||Ws(t,i)||(l=o[0])&&re(l,i)||re(s,i)||re(Rn,i)||re(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:re(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ho(e){return q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let pr=!0;function Cc(e){const t=zr(e),n=e.proxy,s=e.ctx;pr=!1,t.beforeCreate&&mo(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:a,created:u,beforeMount:d,mounted:m,beforeUpdate:g,updated:y,activated:x,deactivated:v,beforeDestroy:A,beforeUnmount:T,destroyed:I,unmounted:M,render:H,renderTracked:Y,renderTriggered:Z,errorCaptured:ue,serverPrefetch:ye,expose:Oe,inheritAttrs:Xe,components:Dt,directives:ot,filters:mn}=t;if(a&&Ac(a,s,null),i)for(const ce in i){const ne=i[ce];K(ne)&&(s[ce]=ne.bind(n))}if(r){const ce=r.call(n,n);he(ce)&&(e.data=Un(ce))}if(pr=!0,o)for(const ce in o){const ne=o[ce],xt=K(ne)?ne.bind(n,n):K(ne.get)?ne.get.bind(n,n):pt,At=!K(ne)&&K(ne.set)?ne.set.bind(n):pt,it=Je({get:xt,set:At});Object.defineProperty(s,ce,{enumerable:!0,configurable:!0,get:()=>it.value,set:Ne=>it.value=Ne})}if(l)for(const ce in l)sl(l[ce],s,n,ce);if(c){const ce=K(c)?c.call(n):c;Reflect.ownKeys(ce).forEach(ne=>{es(ne,ce[ne])})}u&&mo(u,e,"c");function Ae(ce,ne){q(ne)?ne.forEach(xt=>ce(xt.bind(n))):ne&&ce(ne.bind(n))}if(Ae(hc,d),Ae(bt,m),Ae(mc,g),Ae(gc,y),Ae(fc,x),Ae(dc,v),Ae(vc,ue),Ae(xc,Y),Ae(yc,Z),Ae(tl,T),Ae(nl,M),Ae(bc,ye),q(Oe))if(Oe.length){const ce=e.exposed||(e.exposed={});Oe.forEach(ne=>{Object.defineProperty(ce,ne,{get:()=>n[ne],set:xt=>n[ne]=xt})})}else e.exposed||(e.exposed={});H&&e.render===pt&&(e.render=H),Xe!=null&&(e.inheritAttrs=Xe),Dt&&(e.components=Dt),ot&&(e.directives=ot),ye&&Yi(e)}function Ac(e,t,n=pt){q(e)&&(e=hr(e));for(const s in e){const r=e[s];let o;he(r)?"default"in r?o=nt(r.from||s,r.default,!0):o=nt(r.from||s):o=nt(r),Le(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function mo(e,t,n){mt(q(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function sl(e,t,n,s){let r=s.includes(".")?ml(n,s):()=>n[s];if(Ee(e)){const o=t[e];K(o)&&ln(r,o)}else if(K(e))ln(r,e.bind(n));else if(he(e))if(q(e))e.forEach(o=>sl(o,t,n,s));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&ln(r,o,e)}}function zr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>fs(c,a,i,!0)),fs(c,t,i)),he(t)&&o.set(t,c),c}function fs(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&fs(e,o,n,!0),r&&r.forEach(i=>fs(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Rc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Rc={data:go,props:bo,emits:bo,methods:_n,computed:_n,beforeCreate:De,created:De,beforeMount:De,mounted:De,beforeUpdate:De,updated:De,beforeDestroy:De,beforeUnmount:De,destroyed:De,unmounted:De,activated:De,deactivated:De,errorCaptured:De,serverPrefetch:De,components:_n,directives:_n,watch:Tc,provide:go,inject:kc};function go(e,t){return t?e?function(){return ke(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function kc(e,t){return _n(hr(e),hr(t))}function hr(e){if(q(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(s&&s.proxy):t}}const ol={},il=()=>Object.create(ol),ll=e=>Object.getPrototypeOf(e)===ol;function Pc(e,t,n,s=!1){const r={},o=il();e.propsDefaults=Object.create(null),al(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Bi(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function $c(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=se(r),[c]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d{c=!0;const[m,g]=cl(d,t,!0);ke(i,m),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return he(e)&&s.set(e,tn),tn;if(q(o))for(let u=0;ue[0]==="_"||e==="$stable",Hr=e=>q(e)?e.map(ft):[ft(e)],jc=(e,t,n)=>{if(t._n)return t;const s=be((...r)=>Hr(t(...r)),n);return s._c=!1,s},fl=(e,t,n)=>{const s=e._ctx;for(const r in e){if(ul(r))continue;const o=e[r];if(K(o))t[r]=jc(r,o,s);else if(o!=null){const i=Hr(o);t[r]=()=>i}}},dl=(e,t)=>{const n=Hr(t);e.slots.default=()=>n},pl=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Lc=(e,t,n)=>{const s=e.slots=il();if(e.vnode.shapeFlag&32){const r=t._;r?(pl(s,t,n),n&&_i(s,"_",r,!0)):fl(t,s)}else t&&dl(e,t)},Dc=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=fe;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:pl(r,t,n):(o=!t.$stable,fl(t,r)),i=t}else t&&(dl(e,t),i={default:1});if(o)for(const l in r)!ul(l)&&i[l]==null&&delete r[l]},Fe=Yc;function Fc(e){return Bc(e)}function Bc(e,t){const n=ws();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:d,nextSibling:m,setScopeId:g=pt,insertStaticContent:y}=e,x=(p,h,b,R=null,E=null,k=null,j=void 0,$=null,P=!!h.dynamicChildren)=>{if(p===h)return;p&&!yn(p,h)&&(R=S(p),Ne(p,E,k,!0),p=null),h.patchFlag===-2&&(P=!1,h.dynamicChildren=null);const{type:O,ref:z,shapeFlag:F}=h;switch(O){case ks:v(p,h,b,R);break;case Kt:A(p,h,b,R);break;case Js:p==null&&T(h,b,R,j);break;case G:Dt(p,h,b,R,E,k,j,$,P);break;default:F&1?H(p,h,b,R,E,k,j,$,P):F&6?ot(p,h,b,R,E,k,j,$,P):(F&64||F&128)&&O.process(p,h,b,R,E,k,j,$,P,N)}z!=null&&E&&us(z,p&&p.ref,k,h||p,!h)},v=(p,h,b,R)=>{if(p==null)s(h.el=l(h.children),b,R);else{const E=h.el=p.el;h.children!==p.children&&a(E,h.children)}},A=(p,h,b,R)=>{p==null?s(h.el=c(h.children||""),b,R):h.el=p.el},T=(p,h,b,R)=>{[p.el,p.anchor]=y(p.children,h,b,R,p.el,p.anchor)},I=({el:p,anchor:h},b,R)=>{let E;for(;p&&p!==h;)E=m(p),s(p,b,R),p=E;s(h,b,R)},M=({el:p,anchor:h})=>{let b;for(;p&&p!==h;)b=m(p),r(p),p=b;r(h)},H=(p,h,b,R,E,k,j,$,P)=>{h.type==="svg"?j="svg":h.type==="math"&&(j="mathml"),p==null?Y(h,b,R,E,k,j,$,P):ye(p,h,E,k,j,$,P)},Y=(p,h,b,R,E,k,j,$)=>{let P,O;const{props:z,shapeFlag:F,transition:U,dirs:V}=p;if(P=p.el=i(p.type,k,z&&z.is,z),F&8?u(P,p.children):F&16&&ue(p.children,P,null,R,E,Qs(p,k),j,$),V&&Ft(p,null,R,"created"),Z(P,p,p.scopeId,j,R),z){for(const de in z)de!=="value"&&!wn(de)&&o(P,de,null,z[de],k,R);"value"in z&&o(P,"value",null,z.value,k),(O=z.onVnodeBeforeMount)&&at(O,R,p)}V&&Ft(p,null,R,"beforeMount");const X=Nc(E,U);X&&U.beforeEnter(P),s(P,h,b),((O=z&&z.onVnodeMounted)||X||V)&&Fe(()=>{O&&at(O,R,p),X&&U.enter(P),V&&Ft(p,null,R,"mounted")},E)},Z=(p,h,b,R,E)=>{if(b&&g(p,b),R)for(let k=0;k{for(let O=P;O{const $=h.el=p.el;let{patchFlag:P,dynamicChildren:O,dirs:z}=h;P|=p.patchFlag&16;const F=p.props||fe,U=h.props||fe;let V;if(b&&Bt(b,!1),(V=U.onVnodeBeforeUpdate)&&at(V,b,h,p),z&&Ft(h,p,b,"beforeUpdate"),b&&Bt(b,!0),(F.innerHTML&&U.innerHTML==null||F.textContent&&U.textContent==null)&&u($,""),O?Oe(p.dynamicChildren,O,$,b,R,Qs(h,E),k):j||ne(p,h,$,null,b,R,Qs(h,E),k,!1),P>0){if(P&16)Xe($,F,U,b,E);else if(P&2&&F.class!==U.class&&o($,"class",null,U.class,E),P&4&&o($,"style",F.style,U.style,E),P&8){const X=h.dynamicProps;for(let de=0;de{V&&at(V,b,h,p),z&&Ft(h,p,b,"updated")},R)},Oe=(p,h,b,R,E,k,j)=>{for(let $=0;${if(h!==b){if(h!==fe)for(const k in h)!wn(k)&&!(k in b)&&o(p,k,h[k],null,E,R);for(const k in b){if(wn(k))continue;const j=b[k],$=h[k];j!==$&&k!=="value"&&o(p,k,$,j,E,R)}"value"in b&&o(p,"value",h.value,b.value,E)}},Dt=(p,h,b,R,E,k,j,$,P)=>{const O=h.el=p?p.el:l(""),z=h.anchor=p?p.anchor:l("");let{patchFlag:F,dynamicChildren:U,slotScopeIds:V}=h;V&&($=$?$.concat(V):V),p==null?(s(O,b,R),s(z,b,R),ue(h.children||[],b,z,E,k,j,$,P)):F>0&&F&64&&U&&p.dynamicChildren?(Oe(p.dynamicChildren,U,b,E,k,j,$),(h.key!=null||E&&h===E.subTree)&&qr(p,h,!0)):ne(p,h,b,z,E,k,j,$,P)},ot=(p,h,b,R,E,k,j,$,P)=>{h.slotScopeIds=$,p==null?h.shapeFlag&512?E.ctx.activate(h,b,R,j,P):mn(h,b,R,E,k,j,P):Gt(p,h,P)},mn=(p,h,b,R,E,k,j)=>{const $=p.component=ou(p,R,E);if(Xi(p)&&($.ctx.renderer=N),iu($,!1,j),$.asyncDep){if(E&&E.registerDep($,Ae,j),!p.el){const P=$.subTree=L(Kt);A(null,P,h,b)}}else Ae($,p,h,b,E,k,j)},Gt=(p,h,b)=>{const R=h.component=p.component;if(Jc(p,h,b))if(R.asyncDep&&!R.asyncResolved){ce(R,h,b);return}else R.next=h,R.update();else h.el=p.el,R.vnode=h},Ae=(p,h,b,R,E,k,j)=>{const $=()=>{if(p.isMounted){let{next:F,bu:U,u:V,parent:X,vnode:de}=p;{const He=hl(p);if(He){F&&(F.el=de.el,ce(p,F,j)),He.asyncDep.then(()=>{p.isUnmounted||$()});return}}let ie=F,ze;Bt(p,!1),F?(F.el=de.el,ce(p,F,j)):F=de,U&&Yn(U),(ze=F.props&&F.props.onVnodeBeforeUpdate)&&at(ze,X,F,de),Bt(p,!0);const Ie=Gs(p),et=p.subTree;p.subTree=Ie,x(et,Ie,d(et.el),S(et),p,E,k),F.el=Ie.el,ie===null&&Zc(p,Ie.el),V&&Fe(V,E),(ze=F.props&&F.props.onVnodeUpdated)&&Fe(()=>at(ze,X,F,de),E)}else{let F;const{el:U,props:V}=h,{bm:X,m:de,parent:ie,root:ze,type:Ie}=p,et=An(h);if(Bt(p,!1),X&&Yn(X),!et&&(F=V&&V.onVnodeBeforeMount)&&at(F,ie,h),Bt(p,!0),U&&xe){const He=()=>{p.subTree=Gs(p),xe(U,p.subTree,p,E,null)};et&&Ie.__asyncHydrate?Ie.__asyncHydrate(U,p,He):He()}else{ze.ce&&ze.ce._injectChildStyle(Ie);const He=p.subTree=Gs(p);x(null,He,b,R,p,E,k),h.el=He.el}if(de&&Fe(de,E),!et&&(F=V&&V.onVnodeMounted)){const He=h;Fe(()=>at(F,ie,He),E)}(h.shapeFlag&256||ie&&An(ie.vnode)&&ie.vnode.shapeFlag&256)&&p.a&&Fe(p.a,E),p.isMounted=!0,h=b=R=null}};p.scope.on();const P=p.effect=new Ci($);p.scope.off();const O=p.update=P.run.bind(P),z=p.job=P.runIfDirty.bind(P);z.i=p,z.id=p.uid,P.scheduler=()=>Nr(z),Bt(p,!0),O()},ce=(p,h,b)=>{h.component=p;const R=p.vnode.props;p.vnode=h,p.next=null,$c(p,h.props,R,b),Dc(p,h.children,b),jt(),ao(p),Lt()},ne=(p,h,b,R,E,k,j,$,P=!1)=>{const O=p&&p.children,z=p?p.shapeFlag:0,F=h.children,{patchFlag:U,shapeFlag:V}=h;if(U>0){if(U&128){At(O,F,b,R,E,k,j,$,P);return}else if(U&256){xt(O,F,b,R,E,k,j,$,P);return}}V&8?(z&16&&Ge(O,E,k),F!==O&&u(b,F)):z&16?V&16?At(O,F,b,R,E,k,j,$,P):Ge(O,E,k,!0):(z&8&&u(b,""),V&16&&ue(F,b,R,E,k,j,$,P))},xt=(p,h,b,R,E,k,j,$,P)=>{p=p||tn,h=h||tn;const O=p.length,z=h.length,F=Math.min(O,z);let U;for(U=0;Uz?Ge(p,E,k,!0,!1,F):ue(h,b,R,E,k,j,$,P,F)},At=(p,h,b,R,E,k,j,$,P)=>{let O=0;const z=h.length;let F=p.length-1,U=z-1;for(;O<=F&&O<=U;){const V=p[O],X=h[O]=P?Tt(h[O]):ft(h[O]);if(yn(V,X))x(V,X,b,null,E,k,j,$,P);else break;O++}for(;O<=F&&O<=U;){const V=p[F],X=h[U]=P?Tt(h[U]):ft(h[U]);if(yn(V,X))x(V,X,b,null,E,k,j,$,P);else break;F--,U--}if(O>F){if(O<=U){const V=U+1,X=VU)for(;O<=F;)Ne(p[O],E,k,!0),O++;else{const V=O,X=O,de=new Map;for(O=X;O<=U;O++){const qe=h[O]=P?Tt(h[O]):ft(h[O]);qe.key!=null&&de.set(qe.key,O)}let ie,ze=0;const Ie=U-X+1;let et=!1,He=0;const gn=new Array(Ie);for(O=0;O=Ie){Ne(qe,E,k,!0);continue}let lt;if(qe.key!=null)lt=de.get(qe.key);else for(ie=X;ie<=U;ie++)if(gn[ie-X]===0&&yn(qe,h[ie])){lt=ie;break}lt===void 0?Ne(qe,E,k,!0):(gn[lt-X]=O+1,lt>=He?He=lt:et=!0,x(qe,h[lt],b,null,E,k,j,$,P),ze++)}const no=et?Uc(gn):tn;for(ie=no.length-1,O=Ie-1;O>=0;O--){const qe=X+O,lt=h[qe],so=qe+1{const{el:k,type:j,transition:$,children:P,shapeFlag:O}=p;if(O&6){it(p.component.subTree,h,b,R);return}if(O&128){p.suspense.move(h,b,R);return}if(O&64){j.move(p,h,b,N);return}if(j===G){s(k,h,b);for(let F=0;F$.enter(k),E);else{const{leave:F,delayLeave:U,afterLeave:V}=$,X=()=>s(k,h,b),de=()=>{F(k,()=>{X(),V&&V()})};U?U(k,X,de):de()}else s(k,h,b)},Ne=(p,h,b,R=!1,E=!1)=>{const{type:k,props:j,ref:$,children:P,dynamicChildren:O,shapeFlag:z,patchFlag:F,dirs:U,cacheIndex:V}=p;if(F===-2&&(E=!1),$!=null&&us($,null,b,p,!0),V!=null&&(h.renderCache[V]=void 0),z&256){h.ctx.deactivate(p);return}const X=z&1&&U,de=!An(p);let ie;if(de&&(ie=j&&j.onVnodeBeforeUnmount)&&at(ie,h,p),z&6)Wn(p.component,b,R);else{if(z&128){p.suspense.unmount(b,R);return}X&&Ft(p,null,h,"beforeUnmount"),z&64?p.type.remove(p,h,b,N,R):O&&!O.hasOnce&&(k!==G||F>0&&F&64)?Ge(O,h,b,!1,!0):(k===G&&F&384||!E&&z&16)&&Ge(P,h,b),R&&Jt(p)}(de&&(ie=j&&j.onVnodeUnmounted)||X)&&Fe(()=>{ie&&at(ie,h,p),X&&Ft(p,null,h,"unmounted")},b)},Jt=p=>{const{type:h,el:b,anchor:R,transition:E}=p;if(h===G){Zt(b,R);return}if(h===Js){M(p);return}const k=()=>{r(b),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(p.shapeFlag&1&&E&&!E.persisted){const{leave:j,delayLeave:$}=E,P=()=>j(b,k);$?$(p.el,k,P):P()}else k()},Zt=(p,h)=>{let b;for(;p!==h;)b=m(p),r(p),p=b;r(h)},Wn=(p,h,b)=>{const{bum:R,scope:E,job:k,subTree:j,um:$,m:P,a:O}=p;xo(P),xo(O),R&&Yn(R),E.stop(),k&&(k.flags|=8,Ne(j,p,h,b)),$&&Fe($,h),Fe(()=>{p.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},Ge=(p,h,b,R=!1,E=!1,k=0)=>{for(let j=k;j{if(p.shapeFlag&6)return S(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const h=m(p.anchor||p.el),b=h&&h[Qi];return b?m(b):h};let B=!1;const D=(p,h,b)=>{p==null?h._vnode&&Ne(h._vnode,null,null,!0):x(h._vnode||null,p,h,null,null,null,b),h._vnode=p,B||(B=!0,ao(),Vi(),B=!1)},N={p:x,um:Ne,m:it,r:Jt,mt:mn,mc:ue,pc:ne,pbc:Oe,n:S,o:e};let oe,xe;return{render:D,hydrate:oe,createApp:Ic(D,oe)}}function Qs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Bt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Nc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qr(e,t,n=!1){const s=e.children,r=t.children;if(q(s)&&q(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function hl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:hl(t)}function xo(e){if(e)for(let t=0;tnt(zc);function qc(e,t){return Vr(e,null,t)}function ln(e,t,n){return Vr(e,t,n)}function Vr(e,t,n=fe){const{immediate:s,deep:r,flush:o,once:i}=n,l=ke({},n),c=t&&s||!t&&o!=="post";let a;if(jn){if(o==="sync"){const g=Hc();a=g.__watcherHandles||(g.__watcherHandles=[])}else if(!c){const g=()=>{};return g.stop=pt,g.resume=pt,g.pause=pt,g}}const u=Me;l.call=(g,y,x)=>mt(g,u,y,x);let d=!1;o==="post"?l.scheduler=g=>{Fe(g,u&&u.suspense)}:o!=="sync"&&(d=!0,l.scheduler=(g,y)=>{y?g():Nr(g)}),l.augmentJob=g=>{t&&(g.flags|=4),d&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const m=rc(e,t,l);return jn&&(a?a.push(m):c&&m()),m}function Vc(e,t,n){const s=this.proxy,r=Ee(e)?e.includes(".")?ml(s,e):()=>s[e]:e.bind(s,s);let o;K(t)?o=t:(o=t.handler,n=t);const i=Hn(this),l=Vr(r,o.bind(s),n);return i(),l}function ml(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ye(t)}Modifiers`]||e[`${Mt(t)}Modifiers`];function Wc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||fe;let r=n;const o=t.startsWith("update:"),i=o&&Kc(s,t.slice(7));i&&(i.trim&&(r=n.map(u=>Ee(u)?u.trim():u)),i.number&&(r=n.map(is)));let l,c=s[l=zs(t)]||s[l=zs(Ye(t))];!c&&o&&(c=s[l=zs(Mt(t))]),c&&mt(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,mt(a,e,6,r)}}function gl(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!K(e)){const c=a=>{const u=gl(a,t,!0);u&&(l=!0,ke(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(he(e)&&s.set(e,null),null):(q(o)?o.forEach(c=>i[c]=null):ke(i,o),he(e)&&s.set(e,i),i)}function Rs(e,t){return!e||!ys(t)?!1:(t=t.slice(2).replace(/Once$/,""),re(e,t[0].toLowerCase()+t.slice(1))||re(e,Mt(t))||re(e,t))}function Gs(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:a,renderCache:u,props:d,data:m,setupState:g,ctx:y,inheritAttrs:x}=e,v=cs(e);let A,T;try{if(n.shapeFlag&4){const M=r||s,H=M;A=ft(a.call(H,M,u,d,g,m,y)),T=l}else{const M=t;A=ft(M.length>1?M(d,{attrs:l,slots:i,emit:c}):M(d,null)),T=t.props?l:Qc(l)}}catch(M){kn.length=0,Cs(M,e,1),A=L(Kt)}let I=A;if(T&&x!==!1){const M=Object.keys(T),{shapeFlag:H}=I;M.length&&H&7&&(o&&M.some(Tr)&&(T=Gc(T,o)),I=cn(I,T,!1,!0))}return n.dirs&&(I=cn(I,null,!1,!0),I.dirs=I.dirs?I.dirs.concat(n.dirs):n.dirs),n.transition&&Ur(I,n.transition),A=I,cs(v),A}const Qc=e=>{let t;for(const n in e)(n==="class"||n==="style"||ys(n))&&((t||(t={}))[n]=e[n]);return t},Gc=(e,t)=>{const n={};for(const s in e)(!Tr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Jc(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?vo(s,i,a):!!i;if(c&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function Yc(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):lc(e)}const G=Symbol.for("v-fgt"),ks=Symbol.for("v-txt"),Kt=Symbol.for("v-cmt"),Js=Symbol.for("v-stc"),kn=[];let We=null;function w(e=!1){kn.push(We=e?null:[])}function Xc(){kn.pop(),We=kn[kn.length-1]||null}let Mn=1;function _o(e,t=!1){Mn+=e,e<0&&We&&t&&(We.hasOnce=!0)}function yl(e){return e.dynamicChildren=Mn>0?We||tn:null,Xc(),Mn>0&&We&&We.push(e),e}function C(e,t,n,s,r,o){return yl(f(e,t,n,s,r,o,!0))}function Te(e,t,n,s,r){return yl(L(e,t,n,s,r,!0))}function ds(e){return e?e.__v_isVNode===!0:!1}function yn(e,t){return e.type===t.type&&e.key===t.key}const xl=({key:e})=>e??null,ts=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ee(e)||Le(e)||K(e)?{i:Ke,r:e,k:t,f:!!n}:e:null);function f(e,t=null,n=null,s=0,r=null,o=e===G?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&xl(t),ref:t&&ts(t),scopeId:Wi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ke};return l?(Kr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=Ee(n)?8:16),Mn>0&&!i&&We&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&We.push(c),c}const L=eu;function eu(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===wc)&&(e=Kt),ds(e)){const l=cn(e,t,!0);return n&&Kr(l,n),Mn>0&&!o&&We&&(l.shapeFlag&6?We[We.indexOf(e)]=l:We.push(l)),l.patchFlag=-2,l}if(fu(e)&&(e=e.__vccOpts),t){t=tu(t);let{class:l,style:c}=t;l&&!Ee(l)&&(t.class=ee(l)),he(c)&&(Fr(c)&&!q(c)&&(c=ke({},c)),t.style=Nn(c))}const i=Ee(e)?1:bl(e)?128:ac(e)?64:he(e)?4:K(e)?2:0;return f(e,t,n,s,r,i,o,!0)}function tu(e){return e?Fr(e)||ll(e)?ke({},e):e:null}function cn(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,a=t?nu(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&xl(a),ref:t&&t.ref?n&&o?q(o)?o.concat(ts(t)):[o,ts(t)]:ts(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==G?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cn(e.ssContent),ssFallback:e.ssFallback&&cn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Ur(u,c.clone(u)),u}function we(e=" ",t=0){return L(ks,null,e,t)}function _e(e="",t=!1){return t?(w(),Te(Kt,null,e)):L(Kt,null,e)}function ft(e){return e==null||typeof e=="boolean"?L(Kt):q(e)?L(G,null,e.slice()):ds(e)?Tt(e):L(ks,null,String(e))}function Tt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cn(e)}function Kr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(q(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Kr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!ll(t)?t._ctx=Ke:r===3&&Ke&&(Ke.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:Ke},n=32):(t=String(t),s&64?(n=16,t=[we(t)]):n=8);e.children=t,e.shapeFlag|=n}function nu(...e){const t={};for(let n=0;n{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};ps=t("__VUE_INSTANCE_SETTERS__",n=>Me=n),gr=t("__VUE_SSR_SETTERS__",n=>jn=n)}const Hn=e=>{const t=Me;return ps(e),e.scope.on(),()=>{e.scope.off(),ps(t)}},wo=()=>{Me&&Me.scope.off(),ps(null)};function vl(e){return e.vnode.shapeFlag&4}let jn=!1;function iu(e,t=!1,n=!1){t&&gr(t);const{props:s,children:r}=e.vnode,o=vl(e);Pc(e,s,o,t),Lc(e,r,n);const i=o?lu(e,t):void 0;return t&&gr(!1),i}function lu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Sc);const{setup:s}=n;if(s){jt();const r=e.setupContext=s.length>1?cu(e):null,o=Hn(e),i=zn(s,e,0,[e.props,r]),l=yi(i);if(Lt(),o(),(l||e.sp)&&!An(e)&&Yi(e),l){if(i.then(wo,wo),t)return i.then(c=>{Eo(e,c,t)}).catch(c=>{Cs(c,e,0)});e.asyncDep=i}else Eo(e,i,t)}else _l(e,t)}function Eo(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:he(t)&&(e.setupState=zi(t)),_l(e,n)}let So;function _l(e,t,n){const s=e.type;if(!e.render){if(!t&&So&&!s.render){const r=s.template||zr(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=ke(ke({isCustomElement:o,delimiters:l},i),c);s.render=So(r,a)}}e.render=s.render||pt}{const r=Hn(e);jt();try{Cc(e)}finally{Lt(),r()}}}const au={get(e,t){return Pe(e,"get",""),e[t]}};function cu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,au),slots:e.slots,emit:e.emit,expose:t}}function Ts(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(zi(Za(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Rn)return Rn[n](e)},has(t,n){return n in t||n in Rn}})):e.proxy}function uu(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function fu(e){return K(e)&&"__vccOpts"in e}const Je=(e,t)=>nc(e,t,jn);function wl(e,t,n){const s=arguments.length;return s===2?he(t)&&!q(t)?ds(t)?L(e,null,[t]):L(e,t):L(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ds(n)&&(n=[n]),L(e,t,n))}const du="3.5.13";/** +* @vue/runtime-dom v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let br;const Co=typeof window<"u"&&window.trustedTypes;if(Co)try{br=Co.createPolicy("vue",{createHTML:e=>e})}catch{}const El=br?e=>br.createHTML(e):e=>e,pu="http://www.w3.org/2000/svg",hu="http://www.w3.org/1998/Math/MathML",wt=typeof document<"u"?document:null,Ao=wt&&wt.createElement("template"),mu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?wt.createElementNS(pu,e):t==="mathml"?wt.createElementNS(hu,e):n?wt.createElement(e,{is:n}):wt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>wt.createTextNode(e),createComment:e=>wt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>wt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Ao.innerHTML=El(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Ao.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},gu=Symbol("_vtc");function bu(e,t,n){const s=e[gu];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ro=Symbol("_vod"),yu=Symbol("_vsh"),xu=Symbol(""),vu=/(^|;)\s*display\s*:/;function _u(e,t,n){const s=e.style,r=Ee(n);let o=!1;if(n&&!r){if(t)if(Ee(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&ns(s,l,"")}else for(const i in t)n[i]==null&&ns(s,i,"");for(const i in n)i==="display"&&(o=!0),ns(s,i,n[i])}else if(r){if(t!==n){const i=s[xu];i&&(n+=";"+i),s.cssText=n,o=vu.test(n)}}else t&&e.removeAttribute("style");Ro in e&&(e[Ro]=o?s.display:"",e[yu]&&(s.display="none"))}const ko=/\s*!important$/;function ns(e,t,n){if(q(n))n.forEach(s=>ns(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=wu(e,t);ko.test(n)?e.setProperty(Mt(s),n.replace(ko,""),"important"):e[s]=n}}const To=["Webkit","Moz","ms"],Zs={};function wu(e,t){const n=Zs[t];if(n)return n;let s=Ye(t);if(s!=="filter"&&s in e)return Zs[t]=s;s=_s(s);for(let r=0;rYs||(Au.then(()=>Ys=0),Ys=Date.now());function ku(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;mt(Tu(s,n.value),t,5,[s])};return n.value=e,n.attached=Ru(),n}function Tu(e,t){if(q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const jo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ou=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?bu(e,s,i):t==="style"?_u(e,n,s):ys(t)?Tr(t)||Su(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Iu(e,t,s,i))?(Po(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Io(e,t,s,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ee(s))?Po(e,Ye(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Io(e,t,s,i))};function Iu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&jo(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return jo(t)&&Ee(n)?!1:t in e}const hs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return q(t)?n=>Yn(t,n):t};function Pu(e){e.target.composing=!0}function Lo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const an=Symbol("_assign"),dt={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[an]=hs(r);const o=s||r.props&&r.props.type==="number";Ut(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=is(l)),e[an](l)}),n&&Ut(e,"change",()=>{e.value=e.value.trim()}),t||(Ut(e,"compositionstart",Pu),Ut(e,"compositionend",Lo),Ut(e,"change",Lo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[an]=hs(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?is(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},It={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=xs(t);Ut(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?is(ms(i)):ms(i));e[an](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,Br(()=>{e._assigning=!1})}),e[an]=hs(s)},mounted(e,{value:t}){Do(e,t)},beforeUpdate(e,t,n){e[an]=hs(n)},updated(e,{value:t}){e._assigning||Do(e,t)}};function Do(e,t){const n=e.multiple,s=q(t);if(!(n&&!s&&!xs(t))){for(let r=0,o=e.options.length;rString(a)===String(l)):i.selected=Oa(t,l)>-1}else i.selected=t.has(l);else if(Es(ms(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ms(e){return"_value"in e?e._value:e.value}const $u=["ctrl","shift","alt","meta"],Mu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>$u.some(n=>e[`${n}Key`]&&!t.includes(n))},Fo=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=Mt(r.key);if(t.some(i=>i===o||ju[i]===o))return e(r)})},Du=ke({patchProp:Ou},mu);let Bo;function Fu(){return Bo||(Bo=Fc(Du))}const Bu=(...e)=>{const t=Fu().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Uu(s);if(!r)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,Nu(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Nu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Uu(e){return Ee(e)?document.querySelector(e):e}/*! + * vue-router v4.4.5 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const en=typeof document<"u";function Sl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function zu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Sl(e.default)}const le=Object.assign;function Xs(e,t){const n={};for(const s in t){const r=t[s];n[s]=st(r)?r.map(e):e(r)}return n}const Tn=()=>{},st=Array.isArray,Cl=/#/g,Hu=/&/g,qu=/\//g,Vu=/=/g,Ku=/\?/g,Al=/\+/g,Wu=/%5B/g,Qu=/%5D/g,Rl=/%5E/g,Gu=/%60/g,kl=/%7B/g,Ju=/%7C/g,Tl=/%7D/g,Zu=/%20/g;function Wr(e){return encodeURI(""+e).replace(Ju,"|").replace(Wu,"[").replace(Qu,"]")}function Yu(e){return Wr(e).replace(kl,"{").replace(Tl,"}").replace(Rl,"^")}function yr(e){return Wr(e).replace(Al,"%2B").replace(Zu,"+").replace(Cl,"%23").replace(Hu,"%26").replace(Gu,"`").replace(kl,"{").replace(Tl,"}").replace(Rl,"^")}function Xu(e){return yr(e).replace(Vu,"%3D")}function ef(e){return Wr(e).replace(Cl,"%23").replace(Ku,"%3F")}function tf(e){return e==null?"":ef(e).replace(qu,"%2F")}function Ln(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const nf=/\/$/,sf=e=>e.replace(nf,"");function er(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=af(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:Ln(i)}}function rf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function No(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function of(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&un(t.matched[s],n.matched[r])&&Ol(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function un(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ol(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!lf(e[n],t[n]))return!1;return!0}function lf(e,t){return st(e)?Uo(e,t):st(t)?Uo(t,e):e===t}function Uo(e,t){return st(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function af(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const Rt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Dn;(function(e){e.pop="pop",e.push="push"})(Dn||(Dn={}));var On;(function(e){e.back="back",e.forward="forward",e.unknown=""})(On||(On={}));function cf(e){if(!e)if(en){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),sf(e)}const uf=/^[^#]+#/;function ff(e,t){return e.replace(uf,"#")+t}function df(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Os=()=>({left:window.scrollX,top:window.scrollY});function pf(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=df(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function zo(e,t){return(history.state?history.state.position-t:-1)+e}const xr=new Map;function hf(e,t){xr.set(e,t)}function mf(e){const t=xr.get(e);return xr.delete(e),t}let gf=()=>location.protocol+"//"+location.host;function Il(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),No(c,"")}return No(n,e)+s+r}function bf(e,t,n,s){let r=[],o=[],i=null;const l=({state:m})=>{const g=Il(e,location),y=n.value,x=t.value;let v=0;if(m){if(n.value=g,t.value=m,i&&i===y){i=null;return}v=x?m.position-x.position:0}else s(g);r.forEach(A=>{A(n.value,y,{delta:v,type:Dn.pop,direction:v?v>0?On.forward:On.back:On.unknown})})};function c(){i=n.value}function a(m){r.push(m);const g=()=>{const y=r.indexOf(m);y>-1&&r.splice(y,1)};return o.push(g),g}function u(){const{history:m}=window;m.state&&m.replaceState(le({},m.state,{scroll:Os()}),"")}function d(){for(const m of o)m();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:a,destroy:d}}function Ho(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Os():null}}function yf(e){const{history:t,location:n}=window,s={value:Il(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,a,u){const d=e.indexOf("#"),m=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+c:gf()+e+c;try{t[u?"replaceState":"pushState"](a,"",m),r.value=a}catch(g){console.error(g),n[u?"replace":"assign"](m)}}function i(c,a){const u=le({},t.state,Ho(r.value.back,c,r.value.forward,!0),a,{position:r.value.position});o(c,u,!0),s.value=c}function l(c,a){const u=le({},r.value,t.state,{forward:c,scroll:Os()});o(u.current,u,!0);const d=le({},Ho(s.value,c,null),{position:u.position+1},a);o(c,d,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function xf(e){e=cf(e);const t=yf(e),n=bf(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=le({location:"",base:e,go:s,createHref:ff.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function vf(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),xf(e)}function _f(e){return typeof e=="string"||e&&typeof e=="object"}function Pl(e){return typeof e=="string"||typeof e=="symbol"}const $l=Symbol("");var qo;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(qo||(qo={}));function fn(e,t){return le(new Error,{type:e,[$l]:!0},t)}function _t(e,t){return e instanceof Error&&$l in e&&(t==null||!!(e.type&t))}const Vo="[^/]+?",wf={sensitive:!1,strict:!1,start:!0,end:!0},Ef=/[.+*?^${}()[\]/\\]/g;function Sf(e,t){const n=le({},wf,t),s=[];let r=n.start?"^":"";const o=[];for(const a of e){const u=a.length?[]:[90];n.strict&&!a.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function Ml(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Af={type:0,value:""},Rf=/[a-zA-Z0-9_]/;function kf(e){if(!e)return[[]];if(e==="/")return[[Af]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${a}": ${g}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,a="",u="";function d(){a&&(n===0?o.push({type:0,value:a}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:a,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function m(){a+=c}for(;l{i(I)}:Tn}function i(d){if(Pl(d)){const m=s.get(d);m&&(s.delete(d),n.splice(n.indexOf(m),1),m.children.forEach(i),m.alias.forEach(i))}else{const m=n.indexOf(d);m>-1&&(n.splice(m,1),d.record.name&&s.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function l(){return n}function c(d){const m=$f(d,n);n.splice(m,0,d),d.record.name&&!Go(d)&&s.set(d.record.name,d)}function a(d,m){let g,y={},x,v;if("name"in d&&d.name){if(g=s.get(d.name),!g)throw fn(1,{location:d});v=g.record.name,y=le(Wo(m.params,g.keys.filter(I=>!I.optional).concat(g.parent?g.parent.keys.filter(I=>I.optional):[]).map(I=>I.name)),d.params&&Wo(d.params,g.keys.map(I=>I.name))),x=g.stringify(y)}else if(d.path!=null)x=d.path,g=n.find(I=>I.re.test(x)),g&&(y=g.parse(x),v=g.record.name);else{if(g=m.name?s.get(m.name):n.find(I=>I.re.test(m.path)),!g)throw fn(1,{location:d,currentLocation:m});v=g.record.name,y=le({},m.params,d.params),x=g.stringify(y)}const A=[];let T=g;for(;T;)A.unshift(T.record),T=T.parent;return{name:v,path:x,params:y,matched:A,meta:Pf(A)}}e.forEach(d=>o(d));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:a,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function Wo(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Qo(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:If(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function If(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Go(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Pf(e){return e.reduce((t,n)=>le(t,n.meta),{})}function Jo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function $f(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Ml(e,t[o])<0?s=o:n=o+1}const r=Mf(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Mf(e){let t=e;for(;t=t.parent;)if(jl(t)&&Ml(e,t)===0)return t}function jl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function jf(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&yr(o)):[s&&yr(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Lf(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=st(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Df=Symbol(""),Yo=Symbol(""),Is=Symbol(""),Qr=Symbol(""),vr=Symbol("");function xn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ot(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const a=m=>{m===!1?c(fn(4,{from:n,to:t})):m instanceof Error?c(m):_f(m)?c(fn(2,{from:t,to:m})):(i&&s.enterCallbacks[r]===i&&typeof m=="function"&&i.push(m),l())},u=o(()=>e.call(s&&s.instances[r],t,n,a));let d=Promise.resolve(u);e.length<3&&(d=d.then(a)),d.catch(m=>c(m))})}function tr(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Sl(c)){const u=(c.__vccOpts||c)[t];u&&o.push(Ot(u,n,s,i,l,r))}else{let a=c();o.push(()=>a.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const d=zu(u)?u.default:u;i.mods[l]=u,i.components[l]=d;const g=(d.__vccOpts||d)[t];return g&&Ot(g,n,s,i,l,r)()}))}}return o}function Xo(e){const t=nt(Is),n=nt(Qr),s=Je(()=>{const c=Se(e.to);return t.resolve(c)}),r=Je(()=>{const{matched:c}=s.value,{length:a}=c,u=c[a-1],d=n.matched;if(!u||!d.length)return-1;const m=d.findIndex(un.bind(null,u));if(m>-1)return m;const g=ei(c[a-2]);return a>1&&ei(u)===g&&d[d.length-1].path!==g?d.findIndex(un.bind(null,c[a-2])):m}),o=Je(()=>r.value>-1&&Uf(n.params,s.value.params)),i=Je(()=>r.value>-1&&r.value===n.matched.length-1&&Ol(n.params,s.value.params));function l(c={}){return Nf(c)?t[Se(e.replace)?"replace":"push"](Se(e.to)).catch(Tn):Promise.resolve()}return{route:s,href:Je(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const Ff=Zi({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Xo,setup(e,{slots:t}){const n=Un(Xo(e)),{options:s}=nt(Is),r=Je(()=>({[ti(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ti(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:wl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Bf=Ff;function Nf(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Uf(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!st(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function ei(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ti=(e,t,n)=>e??t??n,zf=Zi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=nt(vr),r=Je(()=>e.route||s.value),o=nt(Yo,0),i=Je(()=>{let a=Se(o);const{matched:u}=r.value;let d;for(;(d=u[a])&&!d.components;)a++;return a}),l=Je(()=>r.value.matched[i.value]);es(Yo,Je(()=>i.value+1)),es(Df,l),es(vr,r);const c=Q();return ln(()=>[c.value,l.value,e.name],([a,u,d],[m,g,y])=>{u&&(u.instances[d]=a,g&&g!==u&&a&&a===m&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),a&&u&&(!g||!un(u,g)||!m)&&(u.enterCallbacks[d]||[]).forEach(x=>x(a))},{flush:"post"}),()=>{const a=r.value,u=e.name,d=l.value,m=d&&d.components[u];if(!m)return ni(n.default,{Component:m,route:a});const g=d.props[u],y=g?g===!0?a.params:typeof g=="function"?g(a):g:null,v=wl(m,le({},y,t,{onVnodeUnmounted:A=>{A.component.isUnmounted&&(d.instances[u]=null)},ref:c}));return ni(n.default,{Component:v,route:a})||v}}});function ni(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ll=zf;function Hf(e){const t=Of(e.routes,e),n=e.parseQuery||jf,s=e.stringifyQuery||Zo,r=e.history,o=xn(),i=xn(),l=xn(),c=Ya(Rt);let a=Rt;en&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Xs.bind(null,S=>""+S),d=Xs.bind(null,tf),m=Xs.bind(null,Ln);function g(S,B){let D,N;return Pl(S)?(D=t.getRecordMatcher(S),N=B):N=S,t.addRoute(N,D)}function y(S){const B=t.getRecordMatcher(S);B&&t.removeRoute(B)}function x(){return t.getRoutes().map(S=>S.record)}function v(S){return!!t.getRecordMatcher(S)}function A(S,B){if(B=le({},B||c.value),typeof S=="string"){const h=er(n,S,B.path),b=t.resolve({path:h.path},B),R=r.createHref(h.fullPath);return le(h,b,{params:m(b.params),hash:Ln(h.hash),redirectedFrom:void 0,href:R})}let D;if(S.path!=null)D=le({},S,{path:er(n,S.path,B.path).path});else{const h=le({},S.params);for(const b in h)h[b]==null&&delete h[b];D=le({},S,{params:d(h)}),B.params=d(B.params)}const N=t.resolve(D,B),oe=S.hash||"";N.params=u(m(N.params));const xe=rf(s,le({},S,{hash:Yu(oe),path:N.path})),p=r.createHref(xe);return le({fullPath:xe,hash:oe,query:s===Zo?Lf(S.query):S.query||{}},N,{redirectedFrom:void 0,href:p})}function T(S){return typeof S=="string"?er(n,S,c.value.path):le({},S)}function I(S,B){if(a!==S)return fn(8,{from:B,to:S})}function M(S){return Z(S)}function H(S){return M(le(T(S),{replace:!0}))}function Y(S){const B=S.matched[S.matched.length-1];if(B&&B.redirect){const{redirect:D}=B;let N=typeof D=="function"?D(S):D;return typeof N=="string"&&(N=N.includes("?")||N.includes("#")?N=T(N):{path:N},N.params={}),le({query:S.query,hash:S.hash,params:N.path!=null?{}:S.params},N)}}function Z(S,B){const D=a=A(S),N=c.value,oe=S.state,xe=S.force,p=S.replace===!0,h=Y(D);if(h)return Z(le(T(h),{state:typeof h=="object"?le({},oe,h.state):oe,force:xe,replace:p}),B||D);const b=D;b.redirectedFrom=B;let R;return!xe&&of(s,N,D)&&(R=fn(16,{to:b,from:N}),it(N,N,!0,!1)),(R?Promise.resolve(R):Oe(b,N)).catch(E=>_t(E)?_t(E,2)?E:At(E):ne(E,b,N)).then(E=>{if(E){if(_t(E,2))return Z(le({replace:p},T(E.to),{state:typeof E.to=="object"?le({},oe,E.to.state):oe,force:xe}),B||b)}else E=Dt(b,N,!0,p,oe);return Xe(b,N,E),E})}function ue(S,B){const D=I(S,B);return D?Promise.reject(D):Promise.resolve()}function ye(S){const B=Zt.values().next().value;return B&&typeof B.runWithContext=="function"?B.runWithContext(S):S()}function Oe(S,B){let D;const[N,oe,xe]=qf(S,B);D=tr(N.reverse(),"beforeRouteLeave",S,B);for(const h of N)h.leaveGuards.forEach(b=>{D.push(Ot(b,S,B))});const p=ue.bind(null,S,B);return D.push(p),Ge(D).then(()=>{D=[];for(const h of o.list())D.push(Ot(h,S,B));return D.push(p),Ge(D)}).then(()=>{D=tr(oe,"beforeRouteUpdate",S,B);for(const h of oe)h.updateGuards.forEach(b=>{D.push(Ot(b,S,B))});return D.push(p),Ge(D)}).then(()=>{D=[];for(const h of xe)if(h.beforeEnter)if(st(h.beforeEnter))for(const b of h.beforeEnter)D.push(Ot(b,S,B));else D.push(Ot(h.beforeEnter,S,B));return D.push(p),Ge(D)}).then(()=>(S.matched.forEach(h=>h.enterCallbacks={}),D=tr(xe,"beforeRouteEnter",S,B,ye),D.push(p),Ge(D))).then(()=>{D=[];for(const h of i.list())D.push(Ot(h,S,B));return D.push(p),Ge(D)}).catch(h=>_t(h,8)?h:Promise.reject(h))}function Xe(S,B,D){l.list().forEach(N=>ye(()=>N(S,B,D)))}function Dt(S,B,D,N,oe){const xe=I(S,B);if(xe)return xe;const p=B===Rt,h=en?history.state:{};D&&(N||p?r.replace(S.fullPath,le({scroll:p&&h&&h.scroll},oe)):r.push(S.fullPath,oe)),c.value=S,it(S,B,D,p),At()}let ot;function mn(){ot||(ot=r.listen((S,B,D)=>{if(!Wn.listening)return;const N=A(S),oe=Y(N);if(oe){Z(le(oe,{replace:!0}),N).catch(Tn);return}a=N;const xe=c.value;en&&hf(zo(xe.fullPath,D.delta),Os()),Oe(N,xe).catch(p=>_t(p,12)?p:_t(p,2)?(Z(p.to,N).then(h=>{_t(h,20)&&!D.delta&&D.type===Dn.pop&&r.go(-1,!1)}).catch(Tn),Promise.reject()):(D.delta&&r.go(-D.delta,!1),ne(p,N,xe))).then(p=>{p=p||Dt(N,xe,!1),p&&(D.delta&&!_t(p,8)?r.go(-D.delta,!1):D.type===Dn.pop&&_t(p,20)&&r.go(-1,!1)),Xe(N,xe,p)}).catch(Tn)}))}let Gt=xn(),Ae=xn(),ce;function ne(S,B,D){At(S);const N=Ae.list();return N.length?N.forEach(oe=>oe(S,B,D)):console.error(S),Promise.reject(S)}function xt(){return ce&&c.value!==Rt?Promise.resolve():new Promise((S,B)=>{Gt.add([S,B])})}function At(S){return ce||(ce=!S,mn(),Gt.list().forEach(([B,D])=>S?D(S):B()),Gt.reset()),S}function it(S,B,D,N){const{scrollBehavior:oe}=e;if(!en||!oe)return Promise.resolve();const xe=!D&&mf(zo(S.fullPath,0))||(N||!D)&&history.state&&history.state.scroll||null;return Br().then(()=>oe(S,B,xe)).then(p=>p&&pf(p)).catch(p=>ne(p,S,B))}const Ne=S=>r.go(S);let Jt;const Zt=new Set,Wn={currentRoute:c,listening:!0,addRoute:g,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:x,resolve:A,options:e,push:M,replace:H,go:Ne,back:()=>Ne(-1),forward:()=>Ne(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:Ae.add,isReady:xt,install(S){const B=this;S.component("RouterLink",Bf),S.component("RouterView",Ll),S.config.globalProperties.$router=B,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>Se(c)}),en&&!Jt&&c.value===Rt&&(Jt=!0,M(r.location).catch(oe=>{}));const D={};for(const oe in Rt)Object.defineProperty(D,oe,{get:()=>c.value[oe],enumerable:!0});S.provide(Is,B),S.provide(Qr,Bi(D)),S.provide(vr,c);const N=S.unmount;Zt.add(S),S.unmount=function(){Zt.delete(S),Zt.size<1&&(a=Rt,ot&&ot(),ot=null,c.value=Rt,Jt=!1,ce=!1),N()}}};function Ge(S){return S.reduce((B,D)=>B.then(()=>ye(D)),Promise.resolve())}return Wn}function qf(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iun(a,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(a=>un(a,c))||r.push(c))}return[n,s,r]}function Ps(){return nt(Is)}function Gr(e){return nt(Qr)}const Vf={__name:"App",setup(e){return(t,n)=>(w(),Te(Se(Ll)))}},Kf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2023%2023'%3e%3cpath%20fill='%23f3f3f3'%20d='M0%200h23v23H0z'/%3e%3cpath%20fill='%23f35325'%20d='M1%201h10v10H1z'/%3e%3cpath%20fill='%2381bc06'%20d='M12%201h10v10H12z'/%3e%3cpath%20fill='%2305a6f0'%20d='M1%2012h10v10H1z'/%3e%3cpath%20fill='%23ffba08'%20d='M12%2012h10v10H12z'/%3e%3c/svg%3e",Ce=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Wf={props:{customClass:{type:String},sizeClass:{type:String,default:"text-5xl"}}},Qf={class:"flex space-x-1"};function Gf(e,t,n,s,r,o){return w(),C("div",Qf,[f("h1",{class:ee([n.customClass||"text-light"])},[f("span",{class:ee(["italic",n.sizeClass])},"Achei",2)],2),f("h1",{class:ee([n.customClass||"text-light"])},[f("span",{class:ee(["font-bold",n.sizeClass])},"UnB",2)],2)])}const gt=Ce(Wf,[["render",Gf]]),Jf={id:"transition-screen",class:"fixed inset-0 flex items-center justify-center z-50"},Zf={class:"fixed inset-0 flex items-center justify-center z-50"},Yf={id:"main-content",class:"telaInteira bg-azul text-white p-4 min-h-screen hidden"},Xf={class:"titulo flex space-x-1 mt-20 mb-20 ml-8 md:flex md:justify-center md:mb-52"},ed={__name:"Login",setup(e){window.addEventListener("load",()=>{const n=document.getElementById("transition-screen"),s=document.getElementById("main-content");setTimeout(()=>{n.classList.add("fade-out")},500),n.addEventListener("animationend",()=>{n.classList.add("hidden"),s.classList.remove("hidden"),s.classList.add("fade-in")})});function t(){window.location.href="https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=f1b79927-10ff-4601-a361-f9cab58fb250&scope=User.Read&response_type=code&state=Zay5NfY4tSn7JgvO&domain=alunos.unb.br"}return(n,s)=>(w(),C(G,null,[f("div",Jf,[f("div",Zf,[L(gt,{customClass:"text-azul"})])]),f("div",Yf,[f("div",Xf,[L(gt)]),s[1]||(s[1]=f("div",{class:"slogan max-w-72 ml-8 md:mr-8 md:max-w-none md:w-auto md:text-center"},[f("p",{class:"text-5xl font-bold mb-4 md:text-6xl"},"Perdeu algo no campus?"),f("p",{class:"text-5xl italic font-light mb-4 md:text-6xl"},"A gente te ajuda!")],-1)),f("div",{class:"flex justify-center mt-52"},[f("button",{onClick:t,class:"flex items-center rounded-full bg-gray-50 px-5 py-3 text-md font-medium text-azul ring-1 ring-inset ring-gray-500/10"},s[0]||(s[0]=[f("img",{src:Kf,alt:"Logo Microsoft",class:"h-6 w-auto mr-2"},null,-1),we(" Entre com a conta da Microsoft ")]))])])],64))}},td=Ce(ed,[["__scopeId","data-v-cdb7a9e0"]]),nd={name:"AboutHeader",props:{text:String}},sd={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-center text-white p-6"},rd={class:"font-inter font-semibold text-2xl"};function od(e,t,n,s,r,o){return w(),C("div",sd,[f("div",null,[f("span",rd,J(n.text?n.text:"Sobre o projeto"),1)])])}const id=Ce(nd,[["render",od]]),ld={name:"MainMenu",props:{activeIcon:String}},ad={class:"h-full bg-azul shadow-md rounded-t-xl flex items-center justify-center text-white gap-x-9 p-8"};function cd(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",ad,[L(i,{to:"/found",class:"no-underline"},{default:be(()=>[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:ee(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="search"}])},t[0]||(t[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"},null,-1)]),2))]),_:1}),L(i,{to:"/user",class:"no-underline"},{default:be(()=>[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:ee(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="user"}])},t[1]||(t[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"},null,-1)]),2))]),_:1}),L(i,{to:"/about",class:"no-underline"},{default:be(()=>[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:ee(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="info"}])},t[2]||(t[2]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"},null,-1)]),2))]),_:1}),L(i,{to:"/chats",class:"no-underline"},{default:be(()=>[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:ee(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="chat"}])},t[3]||(t[3]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 0 1-2.555-.337A5.972 5.972 0 0 1 5.41 20.97a5.969 5.969 0 0 1-.474-.065 4.48 4.48 0 0 0 .978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25Z"},null,-1)]),2))]),_:1})])}const yt=Ce(ld,[["render",cd]]),Dl="/static/dist/assets/Favicon-DZaE_dAz.png",ud={class:"relative min-h-screen"},fd={class:"fixed w-full top-0",style:{"z-index":"1"}},dd={class:"pt-[120px] flex justify-center my-6 text-azul"},pd={class:"max-w-4xl mx-auto mt-10 p-5 pb-[140px]"},hd={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6"},md=["href"],gd=["src","alt"],bd={class:"text-center mt-2"},yd={class:"font-inter font-medium"},xd={class:"fixed bottom-0 w-full"},vd={__name:"About",setup(e){const t=Q(Dl),n=[{name:"Ana Elisa Ramos",github:"https://github.com/anaelisaramos",image:"https://github.com/anaelisaramos.png"},{name:"Davi Camilo",github:"https://github.com/DaviCamilo23",image:"https://github.com/DaviCamilo23.png"},{name:"Euller Júlio da Silva",github:"https://github.com/potatoyz908",image:"https://github.com/potatoyz908.png"},{name:"Leonardo Ramiro",github:"https://github.com/leoramiroo",image:"https://github.com/leoramiroo.png"},{name:"Pedro Everton",github:"https://github.com/pedroeverton217",image:"https://github.com/pedroeverton217.png"},{name:"Pedro Martins Silva",github:"https://github.com/314dro",image:"https://github.com/314dro.png"},{name:"Tiago Balieiro",github:"https://github.com/TiagoBalieiro",image:"https://github.com/TiagoBalieiro.png"}];return(s,r)=>{const o=me("ButtonAdd");return w(),C("div",ud,[f("div",{class:"absolute inset-0 bg-no-repeat bg-cover bg-center opacity-10 z-[-1]",style:Nn({backgroundImage:`url(${t.value})`,backgroundSize:s.isLargeScreen?"50%":"contain",backgroundAttachment:"fixed"})},null,4),f("div",fd,[L(id)]),f("div",dd,[L(gt)]),r[2]||(r[2]=f("span",{class:"font-inter text-azul text-center flex justify-center items-center mx-auto max-w-3xl sm:px-0 px-4 md:max-w-2xl mt-7"},[we(" Somos um grupo da disciplina Métodos de Desenvolvimento de Software da Universidade de Brasília."),f("br"),we(" Temos como objetivo solucionar um dos problemas da faculdade, que é a falta de ferramentas para organizar itens achados e perdidos pelos estudantes."),f("br"),we(" Com o AcheiUnB você consegue de forma simples e intuitiva procurar pelo seu item perdido ou cadastrar um item que você encontrou. ")],-1)),r[3]||(r[3]=f("div",{class:"flex justify-center mt-6"},[f("a",{href:"https://unb-mds.github.io/2024-2-AcheiUnB/CONTRIBUTING/",target:"_blank",class:"bg-laranja text-white font-semibold px-8 py-3 text-lg lg:text-xl rounded-full hover:bg-azulEscuro transition hover:text-white duration-300 shadow-md hover:scale-110 transition-transform"}," Como Contribuir? ")],-1)),f("div",pd,[r[1]||(r[1]=f("div",{class:"text-azul text-lg text-center font-semibold mb-7"},"Criado por:",-1)),f("div",hd,[(w(),C(G,null,ve(n,i=>f("div",{key:i.name,class:"flex flex-col items-center"},[f("a",{href:i.github,target:"_blank"},[f("img",{src:i.image,alt:i.name,class:"w-[100px] rounded-full hover:scale-110 transition-transform"},null,8,gd)],8,md),f("div",bd,[f("p",yd,J(i.name),1),r[0]||(r[0]=f("p",{class:"text-sm text-cinza3"},"Engenharia de Software",-1))])])),64))])]),L(o),f("div",xd,[L(yt,{activeIcon:"info"})])])}}},Jr="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%238899a8'%20class='size-6'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m14.74%209-.346%209m-4.788%200L9.26%209m9.968-3.21c.342.052.682.107%201.022.166m-1.022-.165L18.16%2019.673a2.25%202.25%200%200%201-2.244%202.077H8.084a2.25%202.25%200%200%201-2.244-2.077L4.772%205.79m14.456%200a48.108%2048.108%200%200%200-3.478-.397m-12%20.562c.34-.059.68-.114%201.022-.165m0%200a48.11%2048.11%200%200%201%203.478-.397m7.5%200v-.916c0-1.18-.91-2.164-2.09-2.201a51.964%2051.964%200%200%200-3.32%200c-1.18.037-2.09%201.022-2.09%202.201v.916m7.5%200a48.667%2048.667%200%200%200-7.5%200'%20/%3e%3c/svg%3e",_d="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%23133E78'%20%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M15%2010.5a3%203%200%201%201-6%200%203%203%200%200%201%206%200Z'%20/%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M19.5%2010.5c0%207.142-7.5%2011.25-7.5%2011.25S4.5%2017.642%204.5%2010.5a7.5%207.5%200%201%201%2015%200Z'%20/%3e%3c/svg%3e",wd={class:"w-full h-[120px] bg-cinza2 rounded-sm flex justify-center items-start"},Ed=["src"],Sd={key:0,class:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50"},Cd={class:"text-azul font-bold font-inter mt-1 truncate"},Ad={class:"flex items-start"},Rd={class:"text-azul font-inter text-sm"},kd={class:"text-right font-inter font-bold text-xs text-cinza3 p-1 flex justify-end items-center"},$s={__name:"Item-Card",props:{id:Number,image:String,name:String,time:String,location:String,isMyItem:{type:Boolean,default:!1}},emits:["delete"],setup(e,{emit:t}){const n=e,s=t,r=Ps(),o=Q(!1),i=Q(null),l=()=>{o.value||r.push({name:"ListItem",query:{idItem:n.id}})},c=()=>{o.value=!1,i.value=null,document.body.style.overflow=""},a=()=>{s("delete",n.id),o.value=!1};return(u,d)=>(w(),C("div",{class:"w-[170px] sm:w-[190px] h-[230px] bg-cinza1 rounded-sm shadow-complete p-2 flex flex-col relative z-0",onClick:d[2]||(d[2]=m=>l())},[f("div",wd,[f("img",{src:e.image,class:"rounded-sm w-full h-full max-w-full max-h-full object-cover"},null,8,Ed)]),e.isMyItem?(w(),C("button",{key:0,class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-7 h-7 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:d[0]||(d[0]=Fo(m=>o.value=!0,["stop"]))},d[3]||(d[3]=[f("img",{src:Jr,alt:"Excluir"},null,-1)]))):_e("",!0),(w(),Te(uc,{to:"body"},[o.value?(w(),C("div",Sd,[f("div",{class:"bg-azul p-6 rounded-lg shadow-lg w-full max-w-sm sm:max-w-md lg:max-w-lg text-center relative",onClick:d[1]||(d[1]=Fo(()=>{},["stop"]))},[d[4]||(d[4]=f("p",{class:"text-white font-inter text-lg"}," Você realmente deseja excluir este item do AcheiUnB? ",-1)),f("div",{class:"flex flex-col sm:flex-row justify-center mt-4 gap-4"},[f("button",{class:"bg-red-500 text-white font-inter px-4 py-2 rounded-md hover:bg-red-600 transition w-full sm:w-auto",onClick:a}," Excluir "),f("button",{class:"bg-white font-inter px-4 py-2 rounded-md hover:bg-gray-200 transition w-full sm:w-auto",onClick:c}," Cancelar ")])])])):_e("",!0)])),d[6]||(d[6]=f("div",{class:"h-[2px] w-1/4 bg-laranja mt-4"},null,-1)),f("div",Cd,J(e.name),1),f("div",Ad,[d[5]||(d[5]=f("img",{src:_d,alt:"",class:"w-[15px] h-[15px] mr-1"},null,-1)),f("div",Rd,J(e.location),1)]),f("span",kd,[e.isMyItem?_e("",!0):(w(),C(G,{key:0},[we(J(e.time),1)],64))])]))}},Fl="data:image/svg+xml,%3csvg%20class='svg%20w-8'%20fill='none'%20height='24'%20stroke='%23133E78'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20viewBox='0%200%2024%2024'%20width='24'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cline%20x1='12'%20x2='12'%20y1='5'%20y2='19'%3e%3c/line%3e%3cline%20x1='5'%20x2='19'%20y1='12'%20y2='12'%3e%3c/line%3e%3c/svg%3e",Td={props:{customClass:{name:"ButtonAdd",type:String}}};function Od(e,t,n,s,r,o){const i=me("router-link");return w(),Te(i,{to:"/register-lost"},{default:be(()=>t[0]||(t[0]=[f("button",{class:"fixed right-0 bottom-28 rounded-l-lg w-60 h-12 cursor-pointer flex items-center border border-laranja bg-laranja group hover:bg-laranja active:bg-laranja active:border-laranja"},[f("span",{class:"text-azul font-inter font-medium ml-6 transform group-hover:translate-x-0"},"Adicionar item perdido"),f("span",{class:"absolute right-0 h-full w-10 rounded-lg bg-laranja flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300"},[f("img",{src:Fl,alt:""})])],-1)])),_:1})}const Id=Ce(Td,[["render",Od]]),te=Un({searchQuery:"",activeCategory:null,activeLocation:null}),Pd=e=>{te.searchQuery=e},$d=e=>{te.activeCategory==e?te.activeCategory=null:te.activeCategory=e},Md=e=>{te.activeLocation==e?te.activeLocation=null:te.activeLocation=e},jd={name:"SearchBar",setup(){return{filtersState:te,setSearchQuery:Pd,setActiveCategory:$d,setActiveLocation:Md}},data(){return{showFilters:!1,isActive:!1,categories:[{label:"Animais",active:!1},{label:"Eletrônicos",active:!1},{label:"Mochilas e Bolsas",active:!1},{label:"Chaves",active:!1},{label:"Livros e Materiais Acadêmicos",active:!1},{label:"Documentos e Cartões",active:!1},{label:"Equipamentos Esportivos",active:!1},{label:"Roupas e Acessórios",active:!1},{label:"Itens Pessoais",active:!1},{label:"Outros",active:!1}],locations:[{label:"RU",active:!1},{label:"Biblioteca",active:!1},{label:"UED",active:!1},{label:"UAC",active:!1},{label:"LTDEA",active:!1},{label:"Centro Acadêmico",active:!1}]}},computed:{isMediumOrLarger(){return window.innerWidth>=768},searchQueryWithoutAccents(){return this.searchQuery?this.searchQuery.normalize("NFD").replace(/[\u0300-\u036f]/g,""):""}},methods:{toggleActive(){this.isActive=!this.isActive},toggleFilters(){this.showFilters=!this.showFilters},toggleFilter(e,t){e==="category"?this.categories.forEach((n,s)=>{s===t?n.active=!n.active:n.active=!1}):e==="location"&&this.locations.forEach((n,s)=>{s===t?n.active=!n.active:n.active=!1})}}},Ld={class:"flex gap-2 flex-wrap mt-4"},Dd=["onClick"],Fd={class:"flex gap-2 flex-wrap mt-4"},Bd=["onClick"];function Nd(e,t,n,s,r,o){return w(),C("form",{class:ee(["absolute flex items-center",{"fixed w-full top-6 pr-8 z-50":r.isActive&&!o.isMediumOrLarger,"relative w-auto":!r.isActive||o.isMediumOrLarger}])},[f("button",{onClick:t[0]||(t[0]=i=>{o.toggleFilters(),o.toggleActive()}),class:"absolute left-3 text-gray-500 hover:text-gray-700 transition-colors z-50",type:"button"},t[5]||(t[5]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-6"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"})],-1)])),Re(f("input",{"onUpdate:modelValue":t[1]||(t[1]=i=>s.filtersState.searchQuery=i),class:"input bg-gray-200 rounded-full px-10 py-2 my-1 border-2 border-transparent focus:outline-none focus:border-laranja placeholder-gray-500 text-gray-700 transition-all duration-300 shadow-md pr-10 w-full z-40",placeholder:"Pesquise seu item",type:"text",onInput:t[2]||(t[2]=i=>s.setSearchQuery(s.filtersState.searchQuery)),onFocus:t[3]||(t[3]=i=>r.isActive=!0),onBlur:t[4]||(t[4]=i=>{r.isActive=!1,r.showFilters=!1})},null,544),[[dt,s.filtersState.searchQuery]]),f("button",{class:ee(["absolute right-4 top-1/2 -translate-y-1/2 p-1 text-gray-400 hover:text-gray-600 transition-colors duration-200 z-50",{"pr-8":r.isActive&&!o.isMediumOrLarger}]),type:"submit"},t[6]||(t[6]=[f("svg",{width:"17",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-labelledby":"search",class:"w-5 h-5"},[f("path",{d:"M7.667 12.667A5.333 5.333 0 107.667 2a5.333 5.333 0 000 10.667zM14.334 14l-2.9-2.9",stroke:"currentColor","stroke-width":"1.333","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]),2),r.showFilters?(w(),C("div",{key:0,class:ee(["absolute left-0 bg-gray-200 shadow-lg rounded-xl p-4 z-30",{"w-fit mr-8":r.isActive&&!o.isMediumOrLarger,"w-full":o.isMediumOrLarger}]),style:{top:"calc(50% - 4px)"}},[f("div",Ld,[t[7]||(t[7]=f("span",{class:"w-full text-azul text-2xl font-bold"},"Categoria ",-1)),(w(!0),C(G,null,ve(r.categories,(i,l)=>(w(),C("button",{key:l,onClick:c=>(o.toggleFilter("category",l),s.setActiveCategory(i.label)),class:ee(["px-4 py-2 rounded-full border text-sm",i.active?"bg-laranja text-azul border-black":"bg-gray-200 text-azul border-black"])},J(i.label),11,Dd))),128))]),t[9]||(t[9]=f("div",{class:"h-[2px] w-full bg-laranja mt-4"},null,-1)),f("div",Fd,[t[8]||(t[8]=f("span",{class:"w-full text-azul text-2xl font-bold"},"Local ",-1)),(w(!0),C(G,null,ve(r.locations,(i,l)=>(w(),C("button",{key:l,onClick:c=>(o.toggleFilter("location",l),s.setActiveLocation(i.label)),class:ee(["px-4 py-2 rounded-full border text-sm",i.active?"bg-laranja text-azul border-black":"bg-gray-200 text-azul border-black"])},J(i.label),11,Bd))),128))])],2)):_e("",!0)],2)}const Ud=Ce(jd,[["render",Nd]]),zd={name:"SearchHeader",components:{SearchBar:Ud,Logo:gt}},Hd={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between text-white gap-x-9 p-4"},qd={class:"flex-1"};function Vd(e,t,n,s,r,o){const i=me("SearchBar"),l=me("Logo"),c=me("router-link");return w(),C("div",Hd,[f("div",qd,[L(i)]),f("button",null,[L(c,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const Zr=Ce(zd,[["render",Vd]]),Kd={name:"SubMenu"},Wd={class:"flex pt-8 space-x-8 justify-center"};function Qd(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",Wd,[L(i,{to:"/found",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[we(" Achados ")])),_:1}),t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Perdidos"),f("div",{class:"h-[2px] bg-laranja"})],-1))])}const Gd=Ce(Kd,[["render",Qd]]);function Bl(e,t){return function(){return e.apply(t,arguments)}}const{toString:Jd}=Object.prototype,{getPrototypeOf:Yr}=Object,Ms=(e=>t=>{const n=Jd.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),rt=e=>(e=e.toLowerCase(),t=>Ms(t)===e),js=e=>t=>typeof t===e,{isArray:dn}=Array,Fn=js("undefined");function Zd(e){return e!==null&&!Fn(e)&&e.constructor!==null&&!Fn(e.constructor)&&Qe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Nl=rt("ArrayBuffer");function Yd(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Nl(e.buffer),t}const Xd=js("string"),Qe=js("function"),Ul=js("number"),Ls=e=>e!==null&&typeof e=="object",ep=e=>e===!0||e===!1,ss=e=>{if(Ms(e)!=="object")return!1;const t=Yr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},tp=rt("Date"),np=rt("File"),sp=rt("Blob"),rp=rt("FileList"),op=e=>Ls(e)&&Qe(e.pipe),ip=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Qe(e.append)&&((t=Ms(e))==="formdata"||t==="object"&&Qe(e.toString)&&e.toString()==="[object FormData]"))},lp=rt("URLSearchParams"),[ap,cp,up,fp]=["ReadableStream","Request","Response","Headers"].map(rt),dp=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function qn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),dn(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const zt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Hl=e=>!Fn(e)&&e!==zt;function _r(){const{caseless:e}=Hl(this)&&this||{},t={},n=(s,r)=>{const o=e&&zl(t,r)||r;ss(t[o])&&ss(s)?t[o]=_r(t[o],s):ss(s)?t[o]=_r({},s):dn(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s(qn(t,(r,o)=>{n&&Qe(r)?e[o]=Bl(r,n):e[o]=r},{allOwnKeys:s}),e),hp=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),mp=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},gp=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&Yr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},bp=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},yp=e=>{if(!e)return null;if(dn(e))return e;let t=e.length;if(!Ul(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},xp=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Yr(Uint8Array)),vp=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},_p=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},wp=rt("HTMLFormElement"),Ep=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),si=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Sp=rt("RegExp"),ql=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};qn(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},Cp=e=>{ql(e,(t,n)=>{if(Qe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Qe(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Ap=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return dn(e)?s(e):s(String(e).split(t)),n},Rp=()=>{},kp=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,nr="abcdefghijklmnopqrstuvwxyz",ri="0123456789",Vl={DIGIT:ri,ALPHA:nr,ALPHA_DIGIT:nr+nr.toUpperCase()+ri},Tp=(e=16,t=Vl.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function Op(e){return!!(e&&Qe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Ip=e=>{const t=new Array(10),n=(s,r)=>{if(Ls(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=dn(s)?[]:{};return qn(s,(i,l)=>{const c=n(i,r+1);!Fn(c)&&(o[l]=c)}),t[r]=void 0,o}}return s};return n(e,0)},Pp=rt("AsyncFunction"),$p=e=>e&&(Ls(e)||Qe(e))&&Qe(e.then)&&Qe(e.catch),Kl=((e,t)=>e?setImmediate:t?((n,s)=>(zt.addEventListener("message",({source:r,data:o})=>{r===zt&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),zt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Qe(zt.postMessage)),Mp=typeof queueMicrotask<"u"?queueMicrotask.bind(zt):typeof process<"u"&&process.nextTick||Kl,_={isArray:dn,isArrayBuffer:Nl,isBuffer:Zd,isFormData:ip,isArrayBufferView:Yd,isString:Xd,isNumber:Ul,isBoolean:ep,isObject:Ls,isPlainObject:ss,isReadableStream:ap,isRequest:cp,isResponse:up,isHeaders:fp,isUndefined:Fn,isDate:tp,isFile:np,isBlob:sp,isRegExp:Sp,isFunction:Qe,isStream:op,isURLSearchParams:lp,isTypedArray:xp,isFileList:rp,forEach:qn,merge:_r,extend:pp,trim:dp,stripBOM:hp,inherits:mp,toFlatObject:gp,kindOf:Ms,kindOfTest:rt,endsWith:bp,toArray:yp,forEachEntry:vp,matchAll:_p,isHTMLForm:wp,hasOwnProperty:si,hasOwnProp:si,reduceDescriptors:ql,freezeMethods:Cp,toObjectSet:Ap,toCamelCase:Ep,noop:Rp,toFiniteNumber:kp,findKey:zl,global:zt,isContextDefined:Hl,ALPHABET:Vl,generateString:Tp,isSpecCompliantForm:Op,toJSONObject:Ip,isAsyncFn:Pp,isThenable:$p,setImmediate:Kl,asap:Mp};function W(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}_.inherits(W,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:_.toJSONObject(this.config),code:this.code,status:this.status}}});const Wl=W.prototype,Ql={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ql[e]={value:e}});Object.defineProperties(W,Ql);Object.defineProperty(Wl,"isAxiosError",{value:!0});W.from=(e,t,n,s,r,o)=>{const i=Object.create(Wl);return _.toFlatObject(e,i,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),W.call(i,e.message,t,n,s,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const jp=null;function wr(e){return _.isPlainObject(e)||_.isArray(e)}function Gl(e){return _.endsWith(e,"[]")?e.slice(0,-2):e}function oi(e,t,n){return e?e.concat(t).map(function(r,o){return r=Gl(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Lp(e){return _.isArray(e)&&!e.some(wr)}const Dp=_.toFlatObject(_,{},null,function(t){return/^is[A-Z]/.test(t)});function Ds(e,t,n){if(!_.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=_.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,v){return!_.isUndefined(v[x])});const s=n.metaTokens,r=n.visitor||u,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&_.isSpecCompliantForm(t);if(!_.isFunction(r))throw new TypeError("visitor must be a function");function a(y){if(y===null)return"";if(_.isDate(y))return y.toISOString();if(!c&&_.isBlob(y))throw new W("Blob is not supported. Use a Buffer instead.");return _.isArrayBuffer(y)||_.isTypedArray(y)?c&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function u(y,x,v){let A=y;if(y&&!v&&typeof y=="object"){if(_.endsWith(x,"{}"))x=s?x:x.slice(0,-2),y=JSON.stringify(y);else if(_.isArray(y)&&Lp(y)||(_.isFileList(y)||_.endsWith(x,"[]"))&&(A=_.toArray(y)))return x=Gl(x),A.forEach(function(I,M){!(_.isUndefined(I)||I===null)&&t.append(i===!0?oi([x],M,o):i===null?x:x+"[]",a(I))}),!1}return wr(y)?!0:(t.append(oi(v,x,o),a(y)),!1)}const d=[],m=Object.assign(Dp,{defaultVisitor:u,convertValue:a,isVisitable:wr});function g(y,x){if(!_.isUndefined(y)){if(d.indexOf(y)!==-1)throw Error("Circular reference detected in "+x.join("."));d.push(y),_.forEach(y,function(A,T){(!(_.isUndefined(A)||A===null)&&r.call(t,A,_.isString(T)?T.trim():T,x,m))===!0&&g(A,x?x.concat(T):[T])}),d.pop()}}if(!_.isObject(e))throw new TypeError("data must be an object");return g(e),t}function ii(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Xr(e,t){this._pairs=[],e&&Ds(e,this,t)}const Jl=Xr.prototype;Jl.append=function(t,n){this._pairs.push([t,n])};Jl.toString=function(t){const n=t?function(s){return t.call(this,s,ii)}:ii;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Fp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Zl(e,t,n){if(!t)return e;const s=n&&n.encode||Fp;_.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(r?o=r(t,n):o=_.isURLSearchParams(t)?t.toString():new Xr(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class li{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){_.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Yl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Bp=typeof URLSearchParams<"u"?URLSearchParams:Xr,Np=typeof FormData<"u"?FormData:null,Up=typeof Blob<"u"?Blob:null,zp={isBrowser:!0,classes:{URLSearchParams:Bp,FormData:Np,Blob:Up},protocols:["http","https","file","blob","url","data"]},eo=typeof window<"u"&&typeof document<"u",Er=typeof navigator=="object"&&navigator||void 0,Hp=eo&&(!Er||["ReactNative","NativeScript","NS"].indexOf(Er.product)<0),qp=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Vp=eo&&window.location.href||"http://localhost",Kp=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:eo,hasStandardBrowserEnv:Hp,hasStandardBrowserWebWorkerEnv:qp,navigator:Er,origin:Vp},Symbol.toStringTag,{value:"Module"})),je={...Kp,...zp};function Wp(e,t){return Ds(e,new je.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return je.isNode&&_.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Qp(e){return _.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Gp(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s=n.length;return i=!i&&_.isArray(r)?r.length:i,c?(_.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!l):((!r[i]||!_.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&_.isArray(r[i])&&(r[i]=Gp(r[i])),!l)}if(_.isFormData(e)&&_.isFunction(e.entries)){const n={};return _.forEachEntry(e,(s,r)=>{t(Qp(s),r,n,0)}),n}return null}function Jp(e,t,n){if(_.isString(e))try{return(t||JSON.parse)(e),_.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(0,JSON.stringify)(e)}const Vn={transitional:Yl,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=_.isObject(t);if(o&&_.isHTMLForm(t)&&(t=new FormData(t)),_.isFormData(t))return r?JSON.stringify(Xl(t)):t;if(_.isArrayBuffer(t)||_.isBuffer(t)||_.isStream(t)||_.isFile(t)||_.isBlob(t)||_.isReadableStream(t))return t;if(_.isArrayBufferView(t))return t.buffer;if(_.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Wp(t,this.formSerializer).toString();if((l=_.isFileList(t))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Ds(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),Jp(t)):t}],transformResponse:[function(t){const n=this.transitional||Vn.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(_.isResponse(t)||_.isReadableStream(t))return t;if(t&&_.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?W.from(l,W.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:je.classes.FormData,Blob:je.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};_.forEach(["delete","get","head","post","put","patch"],e=>{Vn.headers[e]={}});const Zp=_.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Yp=e=>{const t={};let n,s,r;return e&&e.split(` +`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&Zp[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},ai=Symbol("internals");function vn(e){return e&&String(e).trim().toLowerCase()}function rs(e){return e===!1||e==null?e:_.isArray(e)?e.map(rs):String(e)}function Xp(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const eh=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function sr(e,t,n,s,r){if(_.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!_.isString(t)){if(_.isString(s))return t.indexOf(s)!==-1;if(_.isRegExp(s))return s.test(t)}}function th(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function nh(e,t){const n=_.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}class Ue{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,c,a){const u=vn(c);if(!u)throw new Error("header name must be a non-empty string");const d=_.findKey(r,u);(!d||r[d]===void 0||a===!0||a===void 0&&r[d]!==!1)&&(r[d||c]=rs(l))}const i=(l,c)=>_.forEach(l,(a,u)=>o(a,u,c));if(_.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(_.isString(t)&&(t=t.trim())&&!eh(t))i(Yp(t),n);else if(_.isHeaders(t))for(const[l,c]of t.entries())o(c,l,s);else t!=null&&o(n,t,s);return this}get(t,n){if(t=vn(t),t){const s=_.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return Xp(r);if(_.isFunction(n))return n.call(this,r,s);if(_.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=vn(t),t){const s=_.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||sr(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=vn(i),i){const l=_.findKey(s,i);l&&(!n||sr(s,s[l],l,n))&&(delete s[l],r=!0)}}return _.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||sr(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return _.forEach(this,(r,o)=>{const i=_.findKey(s,o);if(i){n[i]=rs(r),delete n[o];return}const l=t?th(o):String(o).trim();l!==o&&delete n[o],n[l]=rs(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return _.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&_.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[ai]=this[ai]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=vn(i);s[l]||(nh(r,i),s[l]=!0)}return _.isArray(t)?t.forEach(o):o(t),this}}Ue.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);_.reduceDescriptors(Ue.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});_.freezeMethods(Ue);function rr(e,t){const n=this||Vn,s=t||n,r=Ue.from(s.headers);let o=s.data;return _.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function ea(e){return!!(e&&e.__CANCEL__)}function pn(e,t,n){W.call(this,e??"canceled",W.ERR_CANCELED,t,n),this.name="CanceledError"}_.inherits(pn,W,{__CANCEL__:!0});function ta(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new W("Request failed with status code "+n.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function sh(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function rh(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const a=Date.now(),u=s[o];i||(i=a),n[r]=c,s[r]=a;let d=o,m=0;for(;d!==r;)m+=n[d++],d=d%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),a-i{n=u,r=null,o&&(clearTimeout(o),o=null),e.apply(null,a)};return[(...a)=>{const u=Date.now(),d=u-n;d>=s?i(a,u):(r=a,o||(o=setTimeout(()=>{o=null,i(r)},s-d)))},()=>r&&i(r)]}const gs=(e,t,n=3)=>{let s=0;const r=rh(50,250);return oh(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,c=i-s,a=r(c),u=i<=l;s=i;const d={loaded:i,total:l,progress:l?i/l:void 0,bytes:c,rate:a||void 0,estimated:a&&l&&u?(l-i)/a:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(d)},n)},ci=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},ui=e=>(...t)=>_.asap(()=>e(...t)),ih=je.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,je.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(je.origin),je.navigator&&/(msie|trident)/i.test(je.navigator.userAgent)):()=>!0,lh=je.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const i=[e+"="+encodeURIComponent(t)];_.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),_.isString(s)&&i.push("path="+s),_.isString(r)&&i.push("domain="+r),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ah(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ch(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function na(e,t){return e&&!ah(t)?ch(e,t):t}const fi=e=>e instanceof Ue?{...e}:e;function Wt(e,t){t=t||{};const n={};function s(a,u,d,m){return _.isPlainObject(a)&&_.isPlainObject(u)?_.merge.call({caseless:m},a,u):_.isPlainObject(u)?_.merge({},u):_.isArray(u)?u.slice():u}function r(a,u,d,m){if(_.isUndefined(u)){if(!_.isUndefined(a))return s(void 0,a,d,m)}else return s(a,u,d,m)}function o(a,u){if(!_.isUndefined(u))return s(void 0,u)}function i(a,u){if(_.isUndefined(u)){if(!_.isUndefined(a))return s(void 0,a)}else return s(void 0,u)}function l(a,u,d){if(d in t)return s(a,u);if(d in e)return s(void 0,a)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(a,u,d)=>r(fi(a),fi(u),d,!0)};return _.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=c[u]||r,m=d(e[u],t[u],u);_.isUndefined(m)&&d!==l||(n[u]=m)}),n}const sa=e=>{const t=Wt({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:i,auth:l}=t;t.headers=i=Ue.from(i),t.url=Zl(na(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(_.isFormData(n)){if(je.hasStandardBrowserEnv||je.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((c=i.getContentType())!==!1){const[a,...u]=c?c.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([a||"multipart/form-data",...u].join("; "))}}if(je.hasStandardBrowserEnv&&(s&&_.isFunction(s)&&(s=s(t)),s||s!==!1&&ih(t.url))){const a=r&&o&&lh.read(o);a&&i.set(r,a)}return t},uh=typeof XMLHttpRequest<"u",fh=uh&&function(e){return new Promise(function(n,s){const r=sa(e);let o=r.data;const i=Ue.from(r.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:a}=r,u,d,m,g,y;function x(){g&&g(),y&&y(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let v=new XMLHttpRequest;v.open(r.method.toUpperCase(),r.url,!0),v.timeout=r.timeout;function A(){if(!v)return;const I=Ue.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),H={data:!l||l==="text"||l==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:I,config:e,request:v};ta(function(Z){n(Z),x()},function(Z){s(Z),x()},H),v=null}"onloadend"in v?v.onloadend=A:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(A)},v.onabort=function(){v&&(s(new W("Request aborted",W.ECONNABORTED,e,v)),v=null)},v.onerror=function(){s(new W("Network Error",W.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let M=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const H=r.transitional||Yl;r.timeoutErrorMessage&&(M=r.timeoutErrorMessage),s(new W(M,H.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,v)),v=null},o===void 0&&i.setContentType(null),"setRequestHeader"in v&&_.forEach(i.toJSON(),function(M,H){v.setRequestHeader(H,M)}),_.isUndefined(r.withCredentials)||(v.withCredentials=!!r.withCredentials),l&&l!=="json"&&(v.responseType=r.responseType),a&&([m,y]=gs(a,!0),v.addEventListener("progress",m)),c&&v.upload&&([d,g]=gs(c),v.upload.addEventListener("progress",d),v.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(u=I=>{v&&(s(!I||I.type?new pn(null,e,v):I),v.abort(),v=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const T=sh(r.url);if(T&&je.protocols.indexOf(T)===-1){s(new W("Unsupported protocol "+T+":",W.ERR_BAD_REQUEST,e));return}v.send(o||null)})},dh=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(a){if(!r){r=!0,l();const u=a instanceof Error?a:this.reason;s.abort(u instanceof W?u:new pn(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,o(new W(`timeout ${t} of ms exceeded`,W.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(a=>{a.unsubscribe?a.unsubscribe(o):a.removeEventListener("abort",o)}),e=null)};e.forEach(a=>a.addEventListener("abort",o));const{signal:c}=s;return c.unsubscribe=()=>_.asap(l),c}},ph=function*(e,t){let n=e.byteLength;if(n{const r=hh(e,t);let o=0,i,l=c=>{i||(i=!0,s&&s(c))};return new ReadableStream({async pull(c){try{const{done:a,value:u}=await r.next();if(a){l(),c.close();return}let d=u.byteLength;if(n){let m=o+=d;n(m)}c.enqueue(new Uint8Array(u))}catch(a){throw l(a),a}},cancel(c){return l(c),r.return()}},{highWaterMark:2})},Fs=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ra=Fs&&typeof ReadableStream=="function",gh=Fs&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),oa=(e,...t)=>{try{return!!e(...t)}catch{return!1}},bh=ra&&oa(()=>{let e=!1;const t=new Request(je.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),pi=64*1024,Sr=ra&&oa(()=>_.isReadableStream(new Response("").body)),bs={stream:Sr&&(e=>e.body)};Fs&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!bs[t]&&(bs[t]=_.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new W(`Response type '${t}' is not supported`,W.ERR_NOT_SUPPORT,s)})})})(new Response);const yh=async e=>{if(e==null)return 0;if(_.isBlob(e))return e.size;if(_.isSpecCompliantForm(e))return(await new Request(je.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(_.isArrayBufferView(e)||_.isArrayBuffer(e))return e.byteLength;if(_.isURLSearchParams(e)&&(e=e+""),_.isString(e))return(await gh(e)).byteLength},xh=async(e,t)=>{const n=_.toFiniteNumber(e.getContentLength());return n??yh(t)},vh=Fs&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:o,timeout:i,onDownloadProgress:l,onUploadProgress:c,responseType:a,headers:u,withCredentials:d="same-origin",fetchOptions:m}=sa(e);a=a?(a+"").toLowerCase():"text";let g=dh([r,o&&o.toAbortSignal()],i),y;const x=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let v;try{if(c&&bh&&n!=="get"&&n!=="head"&&(v=await xh(u,s))!==0){let H=new Request(t,{method:"POST",body:s,duplex:"half"}),Y;if(_.isFormData(s)&&(Y=H.headers.get("content-type"))&&u.setContentType(Y),H.body){const[Z,ue]=ci(v,gs(ui(c)));s=di(H.body,pi,Z,ue)}}_.isString(d)||(d=d?"include":"omit");const A="credentials"in Request.prototype;y=new Request(t,{...m,signal:g,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:A?d:void 0});let T=await fetch(y);const I=Sr&&(a==="stream"||a==="response");if(Sr&&(l||I&&x)){const H={};["status","statusText","headers"].forEach(ye=>{H[ye]=T[ye]});const Y=_.toFiniteNumber(T.headers.get("content-length")),[Z,ue]=l&&ci(Y,gs(ui(l),!0))||[];T=new Response(di(T.body,pi,Z,()=>{ue&&ue(),x&&x()}),H)}a=a||"text";let M=await bs[_.findKey(bs,a)||"text"](T,e);return!I&&x&&x(),await new Promise((H,Y)=>{ta(H,Y,{data:M,headers:Ue.from(T.headers),status:T.status,statusText:T.statusText,config:e,request:y})})}catch(A){throw x&&x(),A&&A.name==="TypeError"&&/fetch/i.test(A.message)?Object.assign(new W("Network Error",W.ERR_NETWORK,e,y),{cause:A.cause||A}):W.from(A,A&&A.code,e,y)}}),Cr={http:jp,xhr:fh,fetch:vh};_.forEach(Cr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const hi=e=>`- ${e}`,_h=e=>_.isFunction(e)||e===null||e===!1,ia={getAdapter:e=>{e=_.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : +`+o.map(hi).join(` +`):" "+hi(o[0]):"as no adapter specified";throw new W("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:Cr};function or(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new pn(null,e)}function mi(e){return or(e),e.headers=Ue.from(e.headers),e.data=rr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ia.getAdapter(e.adapter||Vn.adapter)(e).then(function(s){return or(e),s.data=rr.call(e,e.transformResponse,s),s.headers=Ue.from(s.headers),s},function(s){return ea(s)||(or(e),s&&s.response&&(s.response.data=rr.call(e,e.transformResponse,s.response),s.response.headers=Ue.from(s.response.headers))),Promise.reject(s)})}const la="1.7.8",Bs={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Bs[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const gi={};Bs.transitional=function(t,n,s){function r(o,i){return"[Axios v"+la+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new W(r(i," has been removed"+(n?" in "+n:"")),W.ERR_DEPRECATED);return n&&!gi[i]&&(gi[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};Bs.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function wh(e,t,n){if(typeof e!="object")throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new W("option "+o+" must be "+c,W.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new W("Unknown option "+o,W.ERR_BAD_OPTION)}}const os={assertOptions:wh,validators:Bs},ct=os.validators;class qt{constructor(t){this.defaults=t,this.interceptors={request:new li,response:new li}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=` +`+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Wt(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&os.assertOptions(s,{silentJSONParsing:ct.transitional(ct.boolean),forcedJSONParsing:ct.transitional(ct.boolean),clarifyTimeoutError:ct.transitional(ct.boolean)},!1),r!=null&&(_.isFunction(r)?n.paramsSerializer={serialize:r}:os.assertOptions(r,{encode:ct.function,serialize:ct.function},!0)),os.assertOptions(n,{baseUrl:ct.spelling("baseURL"),withXsrfToken:ct.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&_.merge(o.common,o[n.method]);o&&_.forEach(["delete","get","head","post","put","patch","common"],y=>{delete o[y]}),n.headers=Ue.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(n)===!1||(c=c&&x.synchronous,l.unshift(x.fulfilled,x.rejected))});const a=[];this.interceptors.response.forEach(function(x){a.push(x.fulfilled,x.rejected)});let u,d=0,m;if(!c){const y=[mi.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,a),m=y.length,u=Promise.resolve(n);d{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new pn(o,i,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new to(function(r){t=r}),cancel:t}}}function Eh(e){return function(n){return e.apply(null,n)}}function Sh(e){return _.isObject(e)&&e.isAxiosError===!0}const Ar={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ar).forEach(([e,t])=>{Ar[t]=e});function aa(e){const t=new qt(e),n=Bl(qt.prototype.request,t);return _.extend(n,qt.prototype,t,{allOwnKeys:!0}),_.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return aa(Wt(e,r))},n}const ge=aa(Vn);ge.Axios=qt;ge.CanceledError=pn;ge.CancelToken=to;ge.isCancel=ea;ge.VERSION=la;ge.toFormData=Ds;ge.AxiosError=W;ge.Cancel=ge.CanceledError;ge.all=function(t){return Promise.all(t)};ge.spread=Eh;ge.isAxiosError=Sh;ge.mergeConfig=Wt;ge.AxiosHeaders=Ue;ge.formToJSON=e=>Xl(_.isHTMLForm(e)?new FormData(e):e);ge.getAdapter=ia.getAdapter;ge.HttpStatusCode=Ar;ge.default=ge;const Kn="http://localhost:8000/api/items",Ch=async({page:e=1,search:t="",category_name:n="",location_name:s=""})=>{const r={page:e,...te.searchQuery&&{search:te.searchQuery},...te.activeCategory&&{category_name:te.activeCategory},...te.activeLocation&&{location_name:te.activeLocation}};return(await ge.get(`${Kn}/lost/`,{params:r})).data},Ah=async({page:e=1,search:t="",category_name:n="",location_name:s=""})=>{const r={page:e,...te.searchQuery&&{search:te.searchQuery},...te.activeCategory&&{category_name:te.activeCategory},...te.activeLocation&&{location_name:te.activeLocation}};return(await ge.get(`${Kn}/found/`,{params:r})).data},Rh=async()=>{try{return(await ge.get(`${Kn}/found/my-items/`)).data}catch(e){throw console.error("Erro ao buscar itens encontrados:",e),e}},kh=async()=>{try{return(await ge.get(`${Kn}/lost/my-items/`)).data}catch(e){throw console.error("Erro ao buscar itens encontrados:",e),e}},ca=async e=>{try{await ge.delete(`${Kn}/${e}/`)}catch(t){throw console.error("Erro ao deletar o item:",t),t}},Ns=e=>{const t=new Date,n=new Date(e),s=Math.floor((t-n)/1e3);if(s<60)return"Agora a pouco";if(s<3600){const r=Math.floor(s/60);return`Há ${r} minuto${r>1?"s":""}`}else if(s<86400){const r=Math.floor(s/3600);return`Há ${r} hora${r>1?"s":""}`}else{const r=Math.floor(s/86400);return`Há ${r} dia${r>1?"s":""}`}},Qt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM0AAACLCAYAAADCvR0YAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAASASURBVHhe7dxrT9RoHMbhinjCs0g8YyDE7/91MCoqalBjIB5BRTf/pjWsy+7OndhOX1xX0kynM74x/PL0edrOic3NzZ8NMLOF7hWYkWggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooHQic3NzZ/dPgNYWFhoLl++3L4O5cePH82HDx+a79+/d0cYkmgGdOrUqeb+/fuDBtM7PDxsXr161Xz58qU7wlBEM6C7d+82S0tL7Ujw8ePH7uifdfLkyeb06dNtoBXO48ePu08YimgG9ODBg/b13bt37TaUOv27ceNGu//kyROnaQOzEAAh0UBINBO3uLjYnDt3rt2YBtFMVE3sayFhfX29uXfvXrutra01ly5d6r7BvIhmgvpgauXtqDp+8+bN5sqVK90R5kE0E7S8vNwGUkvVL168aB4+fNg8f/68+fbt26/Px7j2w/H8z0/QhQsX2te6yv/58+d2f39/v9nZ2Wn369rM2bNn233GJ5oJq5HmqN/fMx+imaAaVUpN+vtRp07H+guYdZrWf4fxiWaCXr9+3Y4qdRp2+/bt9s6CjY2NX6dku7u7Rp05Es0E1Ujy7Nmzf9x8WaG8fPmy2dvb644wD6KZqApne3u72draalfQ6vXRo0fNp0+fum8wL6IZWc1Nzpw5M/MV/oqnVtD65WbmTzQjqljq+Zra+iv8dZvMLGpRoOY3tZ0/f747yjyIZiQXL15sQ+kvWpbar2P/F8HKykp7J0CtpNV2586d5tq1a92njE00I6hR4tatW+2pWZ1mPX36tJ3o136F828R9MvMV69ebd/XqtnBwUG7f/369WZ1dXXmkYo/RzQjqDBKrYZVLPWQWP3x1wS/n6tUBDWi9CqYuv+sHjAr9RDb27dv23/fP9BWS9CzjFT8WaIZSY0StRp29PpKBVMR9I9C14hSo0ctEtS8p78u8+bNm789+Vn79XsA/UjVXwBlHKIZQQVTo8RxKqIK4PfRo5/71P1mx12XqdCOjlSMRzQj6Och/6WiqUD6kahea2R6//59+/44FUxdv6koGY9oJqQCqdO1iqAWC2aJrXz9+rXbYwyimZgaPepUzi/KTJdoICSaAfXzk37JeSi1PM14/FjggI4+5z/kKlcfZb8wwLBEM6D6Y65whh5pSgVTq23mQsMTzQhqtBkynAqmnuTsTwcZlmggZAYJIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAORpvkL2ph89ykfsE8AAAAASUVORK5CYII=",ua="/static/dist/assets/found-and-lost-box-BIV9dkbR.jpg",Th={class:"flex flex-col items-center justify-center h-64 text-center"},Oh=["src"],Ih={class:"text-cinza3 font-inter text-lg"},fa={__name:"Empty-State",props:{type:{type:String,required:!0}},setup(e){const t=e,n=Je(()=>{const s=t.type==="achado"?"achado":"perdido";return te.searchQuery.value?`não encontrou resultados para "${te.searchQuery.value}" nos itens ${s}s.`:te.activeCategory.value?`não encontrou itens ${s}s da categoria "${te.activeCategory.value}".`:te.activeLocation.value?`não encontrou itens ${s}s no local "${te.activeLocation.value}".`:`está sem itens ${s}s... Você pode adicionar um!`});return(s,r)=>(w(),C("div",Th,[f("img",{src:Se(ua),class:"w-40 h-40 mb-4"},null,8,Oh),f("p",Ih,[r[0]||(r[0]=we(" Parece que o ")),r[1]||(r[1]=f("span",{class:"text-azul font-bold"},"AcheiUnB",-1)),we(" "+J(n.value),1)])]))}},Ph={class:"min-h-screen"},$h={class:"fixed w-full top-0 z-10"},Mh={class:"pt-24 pb-8"},jh={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-10"},Lh={class:"flex w-full justify-start sm:justify-center"},Dh={class:"ml-24 transform -translate-x-1/2 flex gap-4 z-10"},Fh={class:"fixed bottom-0 w-full"},Bh={__name:"Lost",setup(e){const t=Q([]),n=Q(1),s=Q(1),r=async(l=1)=>{const{searchQuery:c,activeCategory:a,activeLocation:u}=te,d=await Ch({page:l,search:c,category_name:a,location_name:u});t.value=d.results,s.value=Math.ceil(d.count/27)},o=()=>{n.value>1&&(n.value-=1,r(n.value))},i=()=>{n.value[te.searchQuery,te.activeCategory,te.activeLocation],()=>{n.value=1,r()}),bt(()=>r(n.value)),(l,c)=>(w(),C("div",Ph,[f("div",$h,[L(Zr)]),f("div",Mh,[L(Gd)]),t.value.length===0?(w(),Te(fa,{key:0,type:"perdido"})):(w(),C("div",jh,[(w(!0),C(G,null,ve(t.value,a=>(w(),Te($s,{key:a.id,name:a.name,location:a.location_name,time:Se(Ns)(a.created_at),image:a.image_urls[0]||Se(Qt),id:a.id},null,8,["name","location","time","image","id"]))),128))])),f("div",Lh,[f("div",Dh,[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:o},c[0]||(c[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)]))),(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:i},c[1]||(c[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)])))])]),L(Id),f("div",Fh,[L(yt,{activeIcon:"search"})])]))}},Nh={props:{customClass:{name:"ButtonAdd",type:String}}};function Uh(e,t,n,s,r,o){const i=me("router-link");return w(),Te(i,{to:"/register-found"},{default:be(()=>t[0]||(t[0]=[f("button",{class:"fixed right-0 bottom-28 rounded-l-lg w-60 h-12 cursor-pointer flex items-center border border-laranja bg-laranja group hover:bg-laranja active:bg-laranja active:border-laranja"},[f("span",{class:"text-azul font-inter font-medium ml-6 transform group-hover:translate-x-0"},"Adicionar item achado"),f("span",{class:"absolute right-0 h-full w-10 rounded-lg bg-laranja flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300"},[f("img",{src:Fl,alt:""})])],-1)])),_:1})}const zh=Ce(Nh,[["render",Uh]]),Hh={name:"SubMenu"},qh={class:"flex pt-8 space-x-8 justify-center"};function Vh(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",qh,[t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Achados"),f("div",{class:"h-[2px] bg-laranja"})],-1)),L(i,{to:"/lost",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[we(" Perdidos ")])),_:1})])}const Kh=Ce(Hh,[["render",Vh]]),Wh={class:"min-h-screen"},Qh={class:"fixed w-full top-0 z-10"},Gh={class:"pt-24 pb-8"},Jh={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-10"},Zh={class:"flex w-full justify-start sm:justify-center"},Yh={class:"bottom-32 ml-24 transform -translate-x-1/2 flex gap-4 z-10"},Xh={class:"fixed bottom-0 w-full"},em={__name:"Found",setup(e){const t=Q([]),n=Q(1),s=Q(1),r=async(l=1)=>{const{searchQuery:c,activeCategory:a,activeLocation:u}=te,d=await Ah({page:l,search:c,category_name:a,location_name:u});t.value=d.results,s.value=Math.ceil(d.count/27)},o=()=>{n.value>1&&(n.value-=1,r(n.value))},i=()=>{n.value[te.searchQuery,te.activeCategory,te.activeLocation],()=>{n.value=1,r()}),bt(()=>r(n.value)),(l,c)=>(w(),C("div",Wh,[f("div",Qh,[L(Zr)]),f("div",Gh,[L(Kh)]),t.value.length===0?(w(),Te(fa,{key:0,type:"achado"})):(w(),C("div",Jh,[(w(!0),C(G,null,ve(t.value,a=>(w(),Te($s,{key:a.id,name:a.name,location:a.location_name,time:Se(Ns)(a.created_at),image:a.image_urls[0]||Se(Qt),id:a.id},null,8,["name","location","time","image","id"]))),128))])),f("div",Zh,[f("div",Yh,[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:o},c[0]||(c[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)]))),(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:i},c[1]||(c[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)])))])]),L(zh),f("div",Xh,[L(yt,{activeIcon:"search"})])]))}};class da{constructor(t){this.entity=t}validate(){for(const t of this.entity.requiredFields){const n=this.entity[t];if(!n||n==="")return!1}return!0}toFormData(){const t=new FormData;for(const[n,s]of Object.entries(this.entity))n!=="requiredFields"&&s!==void 0&&s!==null&&(Array.isArray(s)?s.forEach((r,o)=>{t.append(`${n}[${o}]`,r)}):t.append(n,s??null));return t}setFieldValue(t,n){this.entity[t]=n}}class pa{constructor(t=null,n="",s="",r="",o="",i="",l="",c=null,a=null,u="",d="",m=["name","category","location"]){this.user=t,this.name=n,this.category=s,this.location=r,this.color=o,this.brand=l,this.description=c,this.images=a,this.status=u,this.found_lost_date=i,this.barcode=d,this.requiredFields=m}}const tm={props:{type:{type:String,default:"info",validator:e=>["success","error","info","warning"].includes(e)},message:{type:String,required:!0},duration:{type:Number,default:3e3}},data(){return{visible:!0}},computed:{alertClasses(){return{success:"bg-green-200 border-r-4 border-green-600 text-green-600",error:"bg-red-200 border-r-4 border-red-600 text-red-600",info:"bg-blue-500",warning:"bg-yellow-500 text-black"}},alertClassesText(){return{success:"text-green-600",error:"text-red-600",info:"text-blue-600",warning:"text-black-600"}}},mounted(){this.duration>0&&setTimeout(()=>{this.closeAlert()},this.duration)},methods:{closeAlert(){this.visible=!1,this.$emit("closed")}}};function nm(e,t,n,s,r,o){return r.visible?(w(),C("div",{key:0,class:ee(["fixed top-4 right-4 z-50 px-4 py-3 rounded flex items-center justify-between font-inter",o.alertClasses[n.type]]),role:"alert"},[f("p",null,J(n.message),1),f("button",{onClick:t[0]||(t[0]=(...i)=>o.closeAlert&&o.closeAlert(...i)),class:ee(["ml-4 font-bold focus:outline-none",o.alertClassesText[n.type]])}," ✕ ",2)],2)):_e("",!0)}const sm=Ce(tm,[["render",nm]]),ae=ge.create({baseURL:"http://localhost:8000/api",withCredentials:!0});ae.interceptors.response.use(e=>e,e=>(e.response.status===401&&ba.push({name:"Login"}),Promise.reject(e)));const Pt="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='currentColor'%20class='size-6%20stroke-white'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m19.5%208.25-7.5%207.5-7.5-7.5'%20/%3e%3c/svg%3e",ha="data:image/svg+xml,%3csvg%20class='svg%20w-8'%20fill='none'%20height='24'%20stroke='%23FFFFFF'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20viewBox='0%200%2024%2024'%20width='24'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cline%20x1='12'%20x2='12'%20y1='5'%20y2='19'%3e%3c/line%3e%3cline%20x1='5'%20x2='19'%20y1='12'%20y2='12'%3e%3c/line%3e%3c/svg%3e",rm={name:"FormComponent",data(){return{item:new pa,foundTime:"",previews:[],submitError:!1,formSubmitted:!1,alertMessage:"",categories:[],locations:[],colors:[],brands:[]}},mounted(){this.initializeData()},methods:{initializeData(){this.initializeCategories(),this.initializeLocations(),this.initializeColors(),this.initializeBrands()},async initializeCategories(){try{const e=await ae.get("/categories/");this.categories=e.data.results}catch{console.log("Erro ao carregar categorias")}},async initializeLocations(){try{const e=await ae.get("/locations/");this.locations=e.data.results}catch{console.log("Erro ao carregar locais")}},async initializeColors(){try{const e=await ae.get("/colors/");this.colors=e.data.results}catch{console.log("Erro ao carregar cores")}},async initializeBrands(){try{const e=await ae.get("/brands/");this.brands=e.data.results}catch{console.log("Erro ao carregar marcas")}},async save(){this.item.status="lost";const e=new da(this.item);if(!e.validate()){this.alertMessage="Verifique os campos marcados com *.",this.submitError=!0;return}e.foundLostDate&&this.setFoundLostDate();const t=e.toFormData();try{await ae.post("/items/",t),this.formSubmitted=!0,setTimeout(()=>{window.location.replace("http://localhost:8000/#/lost")},1e3)}catch{this.alertMessage="Erro ao publicar item.",this.submitError=!0}},onFileChange(e){this.item.images||(this.item.images=[]);const t=Array.from(e.target.files);this.item.images.push(...t),t.forEach(n=>{const s=new FileReader;s.onload=r=>{this.previews.push(r.target.result)},s.readAsDataURL(n)})},setFoundLostDate(){const[e,t,n]=this.item.foundLostDate.split("-").map(Number),[s,r]=this.lostTime.split(":").map(Number);this.item.foundLostDate=new Date(n,t-1,e,s??0,r??0)},removeImage(e){this.previews.splice(e,1),this.item.images.splice(e,1)},handleSelectChange(e){const t=e.target;t.value=="clear"&&(this.item[`${t.id}`]="")}}},om={class:"grid md:grid-cols-4 gap-4"},im={class:"mb-4 col-span-2"},lm={class:"block relative mb-4 col-span-2"},am=["value"],cm={class:"block relative mb-4 col-span-2"},um=["value"],fm={class:"block relative mb-4 col-span-2"},dm=["value"],pm={class:"block relative mb-4 col-span-2"},hm=["value"],mm={class:"mb-4 col-span-2"},gm={class:"mb-4 col-span-2"},bm={class:"mb-4 col-span-2"},ym=["disabled"],xm={class:"flex flex-wrap gap-4 col-span-3"},vm=["src"],_m=["onClick"],wm={class:"col-span-4"};function Em(e,t,n,s,r,o){var l,c;const i=me("Alert");return w(),C(G,null,[f("form",{id:"app",onSubmit:t[14]||(t[14]=(...a)=>o.save&&o.save(...a))},[f("div",om,[f("div",im,[t[17]||(t[17]=f("label",{for:"name",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Item "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("input",{id:"name",class:"appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline","onUpdate:modelValue":t[0]||(t[0]=a=>r.item.name=a),type:"text",name:"name",placeholder:"Escreva o nome do item"},null,512),[[dt,r.item.name]])]),f("div",lm,[t[20]||(t[20]=f("label",{for:"category",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Categoria "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("select",{id:"category",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.category===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[1]||(t[1]=a=>r.item.category=a),onChange:t[2]||(t[2]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"category"},[t[18]||(t[18]=f("option",{disabled:"",value:""},"Selecione",-1)),t[19]||(t[19]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.categories,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,am))),128))],34),[[It,r.item.category]]),t[21]||(t[21]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",cm,[t[24]||(t[24]=f("label",{for:"location",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Local "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("select",{id:"location",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.location===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[3]||(t[3]=a=>r.item.location=a),onChange:t[4]||(t[4]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"location"},[t[22]||(t[22]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[23]||(t[23]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.locations,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,um))),128))],34),[[It,r.item.location]]),t[25]||(t[25]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",fm,[t[28]||(t[28]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Cor",-1)),Re(f("select",{id:"color",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.color===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[5]||(t[5]=a=>r.item.color=a),onChange:t[6]||(t[6]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[26]||(t[26]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[27]||(t[27]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.colors,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,dm))),128))],34),[[It,r.item.color]]),t[29]||(t[29]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",pm,[t[32]||(t[32]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Marca",-1)),Re(f("select",{id:"brand",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.brand===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[7]||(t[7]=a=>r.item.brand=a),onChange:t[8]||(t[8]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[30]||(t[30]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[31]||(t[31]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.brands,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,hm))),128))],34),[[It,r.item.brand]]),t[33]||(t[33]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",mm,[t[34]||(t[34]=f("label",{for:"foundLostDate",class:"font-inter block text-azul text-sm font-bold mb-2"},"Data em que foi perdido",-1)),Re(f("input",{id:"foundLostDate",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.foundLostDate===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[9]||(t[9]=a=>r.item.foundLostDate=a),type:"date",name:"foundLostDate"},null,2),[[dt,r.item.foundLostDate]])]),f("div",gm,[t[35]||(t[35]=f("label",{for:"foundTime",class:"font-inter block text-azul text-sm font-bold mb-2"},"Horário em que foi perdido",-1)),Re(f("input",{id:"foundTime",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.foundTime===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[10]||(t[10]=a=>r.foundTime=a),type:"time",name:"foundTime"},null,2),[[dt,r.foundTime]])]),f("div",bm,[t[36]||(t[36]=f("label",{for:"description",class:"font-inter block text-azul text-sm font-bold mb-2"}," Descrição ",-1)),Re(f("textarea",{id:"description","onUpdate:modelValue":t[11]||(t[11]=a=>r.item.description=a),name:"description",rows:"4",placeholder:"Descreva detalhadamente o item",class:"w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,512),[[dt,r.item.description]])]),f("div",null,[f("label",{for:"images",class:ee(["flex bg-azul text-white text-base px-5 py-3 outline-none rounded cursor-pointer font-inter",((l=r.item.images)==null?void 0:l.length)>1?"opacity-50 cursor-not-allowed":""])},[t[37]||(t[37]=f("img",{src:ha,alt:"",class:"mr-2"},null,-1)),t[38]||(t[38]=we(" Adicionar imagens ")),f("input",{type:"file",id:"images",class:"hidden",onChange:t[12]||(t[12]=(...a)=>o.onFileChange&&o.onFileChange(...a)),disabled:((c=r.item.images)==null?void 0:c.length)>1},null,40,ym)],2)]),f("div",xm,[(w(!0),C(G,null,ve(r.previews,(a,u)=>(w(),C("div",{key:u,class:"w-64 h-64 border rounded relative"},[f("img",{src:a,alt:"Preview",class:"w-full h-full object-cover rounded"},null,8,vm),f("div",{class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-12 h-12 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:d=>o.removeImage(u)},t[39]||(t[39]=[f("img",{src:Jr,alt:""},null,-1)]),8,_m)]))),128))]),f("div",wm,[f("button",{type:"button",onClick:t[13]||(t[13]=(...a)=>o.save&&o.save(...a)),class:"inline-block text-center rounded-full bg-laranja px-5 py-3 text-md text-white w-full"}," Enviar ")])])],32),r.submitError?(w(),Te(i,{key:0,type:"error",message:r.alertMessage,onClosed:t[15]||(t[15]=a=>r.submitError=!1)},null,8,["message"])):_e("",!0),r.formSubmitted?(w(),Te(i,{key:1,type:"success",message:"Item publicado com sucesso",onClosed:t[16]||(t[16]=a=>r.formSubmitted=!1)})):_e("",!0)],64)}const Sm=Ce(rm,[["render",Em]]),hn="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%23FFFFFF'%20class='size-6'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m11.25%209-3%203m0%200%203%203m-3-3h7.5M21%2012a9%209%200%201%201-18%200%209%209%200%200%201%2018%200Z'%20/%3e%3c/svg%3e",Cm={name:"LostHeader",components:{Logo:gt},props:{text:String}},Am={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-start text-white gap-x-9 p-6"},Rm={class:"font-inter font-semibold text-2xl"},km={class:"ml-auto"};function Tm(e,t,n,s,r,o){const i=me("router-link"),l=me("Logo");return w(),C("div",Am,[L(i,{to:"/lost",class:"inline-block"},{default:be(()=>t[0]||(t[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),f("div",null,[f("span",Rm,J(n.text??"Cadastro de item perdido"),1)]),f("button",km,[L(i,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const Om=Ce(Cm,[["render",Tm]]),Im={class:"fixed w-full top-0",style:{"z-index":"1"}},Pm={class:"px-6 py-[120px]",style:{"z-index":"2"}},$m={class:"fixed bottom-0 w-full"},Mm={__name:"Register-Lost",setup(e){return(t,n)=>(w(),C(G,null,[f("div",Im,[L(Om)]),f("div",Pm,[L(Sm)]),f("div",$m,[L(yt,{activeIcon:"search"})])],64))}},jm={name:"FormComponent",data(){return{item:new pa,foundTime:"",foundDate:"",previews:[],submitError:!1,formSubmitted:!1,alertMessage:"",categories:[],locations:[],colors:[],brands:[]}},mounted(){this.initializeData()},methods:{initializeData(){this.initializeCategories(),this.initializeLocations(),this.initializeColors(),this.initializeBrands()},async initializeCategories(){try{const e=await ae.get("/categories/");this.categories=e.data.results}catch{console.log("Erro ao carregar categorias")}},async initializeLocations(){try{const e=await ae.get("/locations/");this.locations=e.data.results}catch{console.log("Erro ao carregar locais")}},async initializeColors(){try{const e=await ae.get("/colors/");this.colors=e.data.results}catch{console.log("Erro ao carregar cores")}},async initializeBrands(){try{const e=await ae.get("/brands/");this.brands=e.data.results}catch{console.log("Erro ao carregar marcas")}},async save(){this.item.status="found";const e=new da(this.item);if(!e.validate()){this.alertMessage="Verifique os campos marcados com *.",this.submitError=!0;return}if(this.item.foundDate){const n=this.formatFoundLostDate();e.setFieldValue("found_lost_date",n)}const t=e.toFormData();try{await ae.post("/items/",t),this.formSubmitted=!0,setTimeout(()=>{window.location.replace("http://localhost:8000/#/found")},1e3)}catch{this.alertMessage="Erro ao publicar item.",this.submitError=!0}},onFileChange(e){this.item.images||(this.item.images=[]);const t=Array.from(e.target.files);this.item.images.push(...t),t.forEach(n=>{const s=new FileReader;s.onload=r=>{this.previews.push(r.target.result)},s.readAsDataURL(n)})},formatFoundLostDate(){var d;const[e,t,n]=this.item.foundDate.split("-").map(Number),[s,r]=(d=this.foundTime)==null?void 0:d.split(":").map(Number),o=new Date(e,t-1,n,s??0,r??0),i=o.getTimezoneOffset(),l=i>0?"-":"+",c=Math.abs(i),a=String(Math.floor(c/60)).padStart(2,"0"),u=String(c%60).padStart(2,"0");return`${o.getFullYear()}-${String(o.getMonth()+1).padStart(2,"0")}-${String(o.getDate()).padStart(2,"0")}T${String(o.getHours()).padStart(2,"0")}:${String(o.getMinutes()).padStart(2,"0")}:${String(o.getSeconds()).padStart(2,"0")}${l}${a}${u}`},removeImage(e){this.previews.splice(e,1),this.item.images.splice(e,1)},handleSelectChange(e){const t=e.target;t.value=="clear"&&(this.item[`${t.id}`]="")}}},Lm={class:"grid md:grid-cols-4 gap-4"},Dm={class:"mb-4 col-span-2"},Fm={class:"block relative mb-4 col-span-2"},Bm=["value"],Nm={class:"block relative mb-4 col-span-2"},Um=["value"],zm={class:"block relative mb-4 col-span-2"},Hm=["value"],qm={class:"block relative mb-4 col-span-2"},Vm=["value"],Km={class:"mb-4 col-span-2"},Wm={class:"mb-4 col-span-2"},Qm={class:"mb-4 col-span-2"},Gm=["disabled"],Jm={class:"flex flex-wrap gap-4 col-span-3"},Zm=["src"],Ym=["onClick"],Xm={class:"col-span-4"};function eg(e,t,n,s,r,o){var l,c;const i=me("Alert");return w(),C(G,null,[f("form",{id:"app",onSubmit:t[14]||(t[14]=(...a)=>o.save&&o.save(...a))},[f("div",Lm,[f("div",Dm,[t[17]||(t[17]=f("label",{for:"name",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Item "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("input",{id:"name",class:"appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline","onUpdate:modelValue":t[0]||(t[0]=a=>r.item.name=a),type:"text",name:"name",placeholder:"Escreva o nome do item"},null,512),[[dt,r.item.name]])]),f("div",Fm,[t[20]||(t[20]=f("label",{for:"category",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Categoria "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("select",{id:"category",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.category===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[1]||(t[1]=a=>r.item.category=a),onChange:t[2]||(t[2]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"category"},[t[18]||(t[18]=f("option",{disabled:"",value:""},"Selecione",-1)),t[19]||(t[19]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.categories,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,Bm))),128))],34),[[It,r.item.category]]),t[21]||(t[21]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",Nm,[t[24]||(t[24]=f("label",{for:"location",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Local "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("select",{id:"location",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.location===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[3]||(t[3]=a=>r.item.location=a),onChange:t[4]||(t[4]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"location"},[t[22]||(t[22]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[23]||(t[23]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.locations,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,Um))),128))],34),[[It,r.item.location]]),t[25]||(t[25]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",zm,[t[28]||(t[28]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Cor",-1)),Re(f("select",{id:"color",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.color===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[5]||(t[5]=a=>r.item.color=a),onChange:t[6]||(t[6]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[26]||(t[26]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[27]||(t[27]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.colors,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,Hm))),128))],34),[[It,r.item.color]]),t[29]||(t[29]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",qm,[t[32]||(t[32]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Marca",-1)),Re(f("select",{id:"brand",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.brand===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[7]||(t[7]=a=>r.item.brand=a),onChange:t[8]||(t[8]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[30]||(t[30]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[31]||(t[31]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.brands,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,Vm))),128))],34),[[It,r.item.brand]]),t[33]||(t[33]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",Km,[t[34]||(t[34]=f("label",{for:"foundDate",class:"font-inter block text-azul text-sm font-bold mb-2"},"Data em que foi achado",-1)),Re(f("input",{id:"foundDate",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.foundDate===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[9]||(t[9]=a=>r.item.foundDate=a),type:"date",name:"foundDate"},null,2),[[dt,r.item.foundDate]])]),f("div",Wm,[t[35]||(t[35]=f("label",{for:"foundTime",class:"font-inter block text-azul text-sm font-bold mb-2"},"Horário em que foi achado",-1)),Re(f("input",{id:"foundTime",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.foundTime===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[10]||(t[10]=a=>r.foundTime=a),type:"time",name:"foundTime"},null,2),[[dt,r.foundTime]])]),f("div",Qm,[t[36]||(t[36]=f("label",{for:"description",class:"font-inter block text-azul text-sm font-bold mb-2"}," Descrição ",-1)),Re(f("textarea",{id:"description","onUpdate:modelValue":t[11]||(t[11]=a=>r.item.description=a),name:"description",rows:"4",placeholder:"Descreva detalhadamente o item",class:"w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,512),[[dt,r.item.description]])]),f("div",null,[f("label",{for:"images",class:ee(["flex bg-azul text-white text-base px-5 py-3 outline-none rounded cursor-pointer font-inter",((l=r.item.images)==null?void 0:l.length)>1?"opacity-50 cursor-not-allowed":""])},[t[37]||(t[37]=f("img",{src:ha,alt:"",class:"mr-2"},null,-1)),t[38]||(t[38]=we(" Adicionar imagens ")),f("input",{type:"file",id:"images",class:"hidden",onChange:t[12]||(t[12]=(...a)=>o.onFileChange&&o.onFileChange(...a)),disabled:((c=r.item.images)==null?void 0:c.length)>1},null,40,Gm)],2)]),f("div",Jm,[(w(!0),C(G,null,ve(r.previews,(a,u)=>(w(),C("div",{key:u,class:"w-64 h-64 border rounded relative"},[f("img",{src:a,alt:"Preview",class:"w-full h-full object-cover rounded"},null,8,Zm),f("div",{class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-12 h-12 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:d=>o.removeImage(u)},t[39]||(t[39]=[f("img",{src:Jr,alt:""},null,-1)]),8,Ym)]))),128))]),f("div",Xm,[f("button",{type:"button",onClick:t[13]||(t[13]=(...a)=>o.save&&o.save(...a)),class:"inline-block text-center rounded-full bg-laranja px-5 py-3 text-md text-white w-full"}," Enviar ")])])],32),r.submitError?(w(),Te(i,{key:0,type:"error",message:r.alertMessage,onClosed:t[15]||(t[15]=a=>r.submitError=!1)},null,8,["message"])):_e("",!0),r.formSubmitted?(w(),Te(i,{key:1,type:"success",message:"Item publicado com sucesso",onClosed:t[16]||(t[16]=a=>r.formSubmitted=!1)})):_e("",!0)],64)}const tg=Ce(jm,[["render",eg]]),ng={name:"FoundHeader",components:{Logo:gt},props:{text:String}},sg={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-start text-white gap-x-9 p-6"},rg={class:"font-inter font-semibold text-2xl"},og={class:"ml-auto"};function ig(e,t,n,s,r,o){const i=me("router-link"),l=me("Logo");return w(),C("div",sg,[L(i,{to:"/found",class:"inline-block"},{default:be(()=>t[0]||(t[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),f("div",null,[f("span",rg,J(n.text??"Cadastro de item achado"),1)]),f("button",og,[L(i,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const lg=Ce(ng,[["render",ig]]),ag={class:"fixed w-full top-0",style:{"z-index":"1"}},cg={class:"px-6 py-[120px]",style:{"z-index":"2"}},ug={class:"fixed bottom-0 w-full"},fg={__name:"Register-Found",setup(e){return(t,n)=>(w(),C(G,null,[f("div",ag,[L(lg)]),f("div",cg,[L(tg)]),f("div",ug,[L(yt,{activeIcon:"search"})])],64))}},dg={class:"flex flex-col items-center px-6 pt-10 lg:pt-16"},pg={class:"w-24 h-24 lg:w-32 lg:h-32 rounded-full flex items-center justify-center border-4 border-laranja overflow-hidden"},hg=["src"],mg={key:1,class:"w-full h-full bg-cinza2 flex items-center justify-center text-cinza3 text-sm lg:text-lg"},gg={class:"text-xl lg:text-3xl font-bold text-azul mt-4 lg:mt-6"},bg={class:"text-sm lg:text-lg text-cinza3"},yg={key:0,class:"text-sm lg:text-lg text-cinza3"},xg={class:"pt-[30px] lg:pt-[50px] flex flex-col items-center w-full mt-6 space-y-4 lg:space-y-6"},vg={class:"fixed bottom-0 w-full"},_g={__name:"User",setup(e){const t=Q({foto:"",first_name:"",last_name:"",email:"",username:"",matricula:null});async function n(){try{console.log("Buscando dados do usuário logado...");const s=await ae.get("/auth/user/");console.log("Dados do usuário recebidos:",s.data),t.value={foto:s.data.foto||null,first_name:s.data.first_name,last_name:s.data.last_name,email:s.data.email,username:s.data.username,matricula:s.data.matricula}}catch(s){console.error("Erro ao carregar dados do usuário:",s)}}return bt(n),(s,r)=>{const o=me("router-link");return w(),C("div",dg,[f("div",pg,[t.value.foto?(w(),C("img",{key:0,src:t.value.foto,alt:"Foto do Usuário",class:"w-full h-full object-cover"},null,8,hg)):(w(),C("div",mg,r[0]||(r[0]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"white",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"#FFFFFF",class:"w-10 h-10"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})],-1)])))]),f("h1",gg,J(t.value.first_name||t.value.last_name?t.value.first_name+" "+t.value.last_name:t.value.username),1),f("p",bg,J(t.value.email||"Email não disponível"),1),t.value.matricula?(w(),C("p",yg," Matrícula: "+J(t.value.matricula),1)):_e("",!0),f("div",xg,[L(o,{to:"/user-items-lost",class:"w-full flex justify-center"},{default:be(()=>r[1]||(r[1]=[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Meus itens ativos ",-1)])),_:1}),r[3]||(r[3]=f("a",{href:"mailto:acheiunb2024@gmail.com",class:"w-full flex justify-center"},[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Reportar um problema ")],-1)),L(o,{to:"/",class:"w-full flex justify-center"},{default:be(()=>r[2]||(r[2]=[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Sair da Conta ",-1)])),_:1})]),r[4]||(r[4]=f("div",{class:"h-16 lg:h-24"},null,-1)),f("div",vg,[L(yt,{activeIcon:"user"})])])}}},wg={name:"ItemHeader",components:{Logo:gt},props:{title:{type:String,required:!0}},methods:{goBack(){this.$router.back()}}},Eg={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center text-white p-4 md:p-6"},Sg={class:"flex items-center w-1/4"},Cg={class:"flex-grow flex justify-center"},Ag={class:"font-inter font-semibold text-lg md:text-2xl text-center break-words"},Rg={class:"flex items-center w-1/4 justify-end"};function kg(e,t,n,s,r,o){const i=me("Logo"),l=me("router-link");return w(),C("div",Eg,[f("div",Sg,[f("img",{onClick:t[0]||(t[0]=(...c)=>o.goBack&&o.goBack(...c)),src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white cursor-pointer"})]),f("div",Cg,[f("span",Ag,J(n.title),1)]),f("div",Rg,[L(l,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(i,{class:"pr-2 md:pr-4",sizeClass:"text-xl md:text-2xl"})]),_:1})])])}const ma=Ce(wg,[["render",kg]]),Rr="/static/dist/assets/default-avatar-BpcudYYH.png",Tg={class:"fixed w-full top-0 z-[1]"},Og={key:0,class:"pt-32 pb-24 space-y-4"},Ig={key:1,class:"pt-32 pb-24"},Pg=["onClick"],$g=["src"],Mg={class:"ml-5"},jg={class:"text-xl font-semibold text-gray-800"},Lg={class:"text-md text-gray-500"},Dg={key:2,class:"flex flex-col items-center justify-center h-96"},Fg={class:"fixed bottom-0 w-full bg-white shadow-md"},Bg={__name:"Chats",setup(e){const t=Ps(),n=Q(null),s=Q([]),r=Q(!0),o=c=>{!c.id||!c.recipient||!c.item_id||t.push({path:`/chat/${c.id}`,query:{userId:c.recipient.id,itemId:c.item_id}})};async function i(){try{const c=await ae.get("/auth/user/");n.value=c.data,await l()}catch(c){console.error("Erro ao buscar usuário:",c)}}async function l(){var c;if((c=n.value)!=null&&c.id)try{const a=await ae.get("/chat/chatrooms/");let u=[];for(const d of a.data.results)if(d.participant_1===n.value.id||d.participant_2===n.value.id){let m,g,y;d.participant_1===n.value.id?(m=d.participant_2,g=d.participant_2_username):(m=d.participant_1,g=d.participant_1_username);const x=await ae.get(`/users/${m}/`);y=x.data.foto?x.data.foto:Rr,u.push({...d,recipient:{id:m,name:g,foto:y}})}s.value=u}catch(a){console.error("Erro ao buscar conversas:",a)}finally{r.value=!1}}return bt(()=>{i()}),(c,a)=>(w(),C(G,null,[f("div",Tg,[L(ma,{title:"Mensagens"})]),r.value?(w(),C("div",Og,[(w(),C(G,null,ve(3,u=>f("div",{key:u,class:"flex items-center px-6"},a[0]||(a[0]=[f("div",{class:"w-[90px] h-[90px] rounded-full bg-cinza2 animate-pulse"},null,-1),f("div",{class:"flex-1 px-4 space-y-2"},[f("div",{class:"h-7 bg-cinza2 rounded-md animate-pulse"}),f("div",{class:"h-5 bg-cinza2 rounded-md animate-pulse"})],-1)]))),64))])):s.value.length?(w(),C("div",Ig,[(w(!0),C(G,null,ve(s.value,u=>(w(),C("div",{key:u.id,class:"flex items-center px-6 py-5 cursor-pointer transition-all duration-200 hover:bg-gray-200",onClick:d=>o(u)},[f("img",{src:u.recipient.foto,alt:"Foto do usuário",class:"w-16 h-16 md:w-20 md:h-20 rounded-full object-cover border-2 border-white"},null,8,$g),f("div",Mg,[f("p",jg,J(u.recipient.name),1),f("p",Lg,"Sobre o item: "+J(u.item_name),1)])],8,Pg))),128))])):(w(),C("div",Dg,a[1]||(a[1]=[f("p",{class:"text-xl text-cinza4"},"Nenhuma conversa encontrada.",-1)]))),f("div",Fg,[L(yt,{activeIcon:"chat"})])],64))}},Ng=Ce(Bg,[["__scopeId","data-v-73de17b8"]]),Ug={key:0,class:"fixed w-full top-0 z-[1]"},zg={key:1,class:"px-6 py-[120px] flex flex-col items-center gap-6"},Hg={class:"w-full md:flex md:gap-8 md:max-w-4xl"},qg={class:"w-full max-w-md md:max-w-none md:w-1/2 relative"},Vg={key:0,class:"w-full h-64"},Kg=["src"],Wg=["src","alt"],Qg={key:2,class:"md:hidden overflow-hidden relative"},Gg=["src","alt"],Jg={key:0,class:"absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2"},Zg={class:"w-full md:w-1/2 mt-6 md:mt-0"},Yg={class:"text-lg md:text-2xl font-bold text-left"},Xg={class:"text-sm md:text-base text-gray-500 text-left mt-2"},e0={key:0,class:"text-sm md:text-base text-gray-500 text-left mt-1"},t0={key:1,class:"text-sm md:text-base text-gray-500 text-left mt-1"},n0={class:"flex flex-wrap gap-2 justify-start mt-4"},s0={key:0,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-blue-500"},r0={key:1,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-laranja"},o0={key:2,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-gray-500"},i0={class:"text-sm md:text-base text-gray-700 text-left mt-4"},l0={class:"fixed bottom-0 w-full"},a0={__name:"ListItem",setup(e){const t=Gr(),n=Ps(),s=Q(null),r=Q(""),o=Q(null),i=Q(0),l=Q(window.innerWidth<768),c=Q(!1),a=v=>{const A=new Date(v);return`${A.toLocaleDateString("pt-BR",{timeZone:"America/Sao_Paulo"})} às ${A.toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit",timeZone:"America/Sao_Paulo"})}`},u=()=>{i.value=(i.value+1)%s.value.image_urls.length},d=()=>{i.value=(i.value-1+s.value.image_urls.length)%s.value.image_urls.length},m=()=>{l.value=window.innerWidth<768};async function g(){try{const v=await ae.get(`/items/${t.query.idItem}/`);s.value=v.data,r.value=s.value.status,c.value=!0,console.log("Item carregado:",s.value)}catch(v){console.error("Erro ao carregar item:",v)}}async function y(){try{const v=await ae.get("/auth/user/");o.value=v.data,console.log("Usuário atual:",o.value)}catch(v){console.error("Erro ao buscar usuário:",v)}}const x=async()=>{var v,A,T,I;try{if(!s.value||!s.value.id){console.error("Item inválido ou não carregado:",s.value);return}if(!((v=o.value)!=null&&v.id)||!((A=s.value)!=null&&A.user_id)){console.error("IDs de usuário inválidos:",{currentUser:o.value,item:s.value});return}console.log("Item atual (ID):",s.value.id),console.log("Dono do item (user_id):",s.value.user_id),console.log("Usuário atual (ID):",o.value.id);const M={participant_1:o.value.id,participant_2:s.value.user_id,item_id:s.value.id};console.log("Parâmetros para busca de chat:",M);const Y=(await ae.get("/chat/chatrooms/",{params:M})).data;if(console.log("Chats encontrados:",Y),Y&&Y.length>0){n.push(`/chat/${Y[0].id}?itemId=${s.value.id}`);return}const Z={participant_1:o.value.id,participant_2:s.value.user_id,item_id:s.value.id};console.log("Dados para criação de chat:",Z);const ue=await ae.post("/chat/chatrooms/",Z);if(console.log("Resposta da criação de chat:",ue.data),(T=ue.data)!=null&&T.id)n.push(`/chat/${ue.data.id}?itemId=${s.value.id}`);else throw new Error("Resposta inválida ao criar chatroom")}catch(M){console.error("Erro ao criar/aceder chat:",((I=M.response)==null?void 0:I.data)||M.message),alert("Ocorreu um erro ao iniciar o chat. Por favor, tente novamente.")}};return bt(async()=>{await y(),await g(),window.addEventListener("resize",m)}),tl(()=>{window.removeEventListener("resize",m)}),(v,A)=>(w(),C(G,null,[c.value?(w(),C("div",Ug,[L(ma,{title:r.value==="found"?"Item Achado":"Item Perdido"},null,8,["title"])])):_e("",!0),s.value?(w(),C("div",zg,[f("div",Hg,[f("div",qg,[!s.value.image_urls||s.value.image_urls.length===0?(w(),C("div",Vg,[f("img",{src:Se(Qt),alt:"Imagem não disponível",class:"w-full h-full object-contain"},null,8,Kg)])):(w(),C("div",{key:1,class:ee(["hidden md:grid",s.value.image_urls.length===1?"grid-cols-1":"grid-cols-2 gap-4"])},[(w(!0),C(G,null,ve(s.value.image_urls.slice(0,2),(T,I)=>(w(),C("img",{key:I,src:T,alt:`Imagem ${I+1} do item`,class:"h-64 w-full object-cover rounded-lg"},null,8,Wg))),128))],2)),s.value.image_urls&&s.value.image_urls.length>0?(w(),C("div",Qg,[f("div",{class:"flex transition-transform duration-300 ease-out snap-x snap-mandatory",style:Nn({transform:`translateX(-${i.value*100}%)`})},[(w(!0),C(G,null,ve(s.value.image_urls,(T,I)=>(w(),C("div",{key:I,class:"w-full flex-shrink-0 relative snap-start"},[f("img",{src:T,alt:`Imagem ${I+1} do item`,class:"w-full h-64 object-cover rounded-lg"},null,8,Gg)]))),128))],4),s.value.image_urls.length>1?(w(),C("div",Jg,[(w(!0),C(G,null,ve(s.value.image_urls,(T,I)=>(w(),C("div",{key:I,class:ee(["w-2 h-2 rounded-full transition-colors duration-300",i.value===I?"bg-white":"bg-gray-300"])},null,2))),128))])):_e("",!0),s.value.image_urls.length>1?(w(),C("button",{key:1,onClick:d,class:"absolute left-2 top-1/2 transform -translate-y-1/2 bg-white/30 rounded-full p-2 backdrop-blur-sm"}," ← ")):_e("",!0),s.value.image_urls.length>1?(w(),C("button",{key:2,onClick:u,class:"absolute right-2 top-1/2 transform -translate-y-1/2 bg-white/30 rounded-full p-2 backdrop-blur-sm"}," → ")):_e("",!0)])):_e("",!0)]),f("div",Zg,[f("h1",Yg,J(s.value.name),1),f("p",Xg," Achado em: "+J(s.value.location_name||"Não especificado"),1),s.value.found_lost_date&&r.value==="found"?(w(),C("p",e0," Data do achado: "+J(a(s.value.found_lost_date)),1)):s.value.found_lost_date&&r.value==="lost"?(w(),C("p",t0," Data da perda: "+J(a(s.value.found_lost_date)),1)):_e("",!0),f("div",n0,[s.value.category_name?(w(),C("span",s0," Categoria: "+J(s.value.category_name),1)):_e("",!0),s.value.brand_name?(w(),C("span",r0," Marca: "+J(s.value.brand_name),1)):_e("",!0),s.value.color_name?(w(),C("span",o0," Cor: "+J(s.value.color_name),1)):_e("",!0)]),f("p",i0,J(s.value.description),1)])]),f("button",{class:"bg-laranja text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl",onClick:x}," É meu item ")])):_e("",!0),f("div",l0,[L(yt,{activeIcon:r.value==="found"?"found":"lost"},null,8,["activeIcon"])])],64))}},c0={name:"SubMenu"},u0={class:"flex pt-8 space-x-8 justify-center"};function f0(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",u0,[L(i,{to:"/user-items-found",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[we(" Achados ")])),_:1}),t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Perdidos"),f("div",{class:"h-[2px] bg-laranja"})],-1))])}const d0=Ce(c0,[["render",f0]]),p0={class:"flex flex-col items-center justify-center h-64 text-center"},h0=["src"],m0={class:"text-cinza3 font-inter text-lg"},g0={class:"text-azul font-bold"},ga={__name:"Empty-State-User",props:{message:String,highlightText:String},setup(e){return(t,n)=>(w(),C("div",p0,[f("img",{src:Se(ua),class:"w-40 h-40 mb-4"},null,8,h0),f("p",m0,[we(" Parece que você não tem itens "+J(e.message)+" ",1),f("span",g0,J(e.highlightText),1)])]))}},b0={class:"fixed w-full top-0 h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between px-6 text-white z-10"},y0={class:"pb-8 pt-24"},x0={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-24"},v0={class:"fixed bottom-0 w-full"},_0={__name:"UserItems-Lost",setup(e){const t=Q([]),n=Q(!1);Q(!1);const s=Q(""),r=async()=>{try{const i=await kh();t.value=i}catch{s.value="Erro ao carregar itens perdidos.",n.value=!0}},o=async i=>{try{await ca(i),myItemsFound.value=myItemsFound.value.filter(l=>l.id!==i)}catch(l){console.error("Erro ao excluir item:",l)}};return bt(()=>r()),(i,l)=>{const c=me("router-link"),a=me("ButtonAdd");return w(),C(G,null,[f("div",b0,[L(c,{to:"/user",class:"inline-block"},{default:be(()=>l[0]||(l[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),l[1]||(l[1]=f("h1",{class:"text-2xl font-bold absolute left-1/2 transform -translate-x-1/2"}," Meus Itens ",-1)),f("button",null,[L(c,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(gt,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])]),f("div",y0,[L(d0)]),t.value.length===0?(w(),Te(ga,{key:0,message:"perdidos registrados... Você pode adicionar um no",highlightText:"AcheiUnB"})):(w(),C("div",x0,[(w(!0),C(G,null,ve(t.value,u=>(w(),Te($s,{key:u.id,id:u.id,name:u.name,location:u.location_name,time:Se(Ns)(u.created_at),image:u.image_urls[0]||Se(Qt),isMyItem:!0,onDelete:o},null,8,["id","name","location","time","image"]))),128))])),L(a),f("div",v0,[L(yt,{activeIcon:"search"})])],64)}}},w0={name:"SubMenu"},E0={class:"flex pt-8 space-x-8 justify-center"};function S0(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",E0,[t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Achados"),f("div",{class:"h-[2px] bg-laranja"})],-1)),L(i,{to:"/user-items-lost",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[we(" Perdidos ")])),_:1})])}const C0=Ce(w0,[["render",S0]]),A0={class:"fixed w-full top-0 h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between px-6 text-white z-10"},R0={class:"pb-8 pt-24"},k0={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-24"},T0={class:"fixed bottom-0 w-full"},O0={__name:"UserItems-Found",setup(e){const t=Q([]),n=Q(!1);Q(!1);const s=Q(""),r=async()=>{try{const i=await Rh();t.value=i}catch{s.value="Erro ao carregar itens encontrados.",n.value=!0}},o=async i=>{try{await ca(i),t.value=t.value.filter(l=>l.id!==i)}catch(l){console.error("Erro ao excluir item:",l)}};return bt(()=>r()),(i,l)=>{const c=me("router-link"),a=me("ButtonAdd");return w(),C(G,null,[f("div",A0,[L(c,{to:"/user",class:"inline-block"},{default:be(()=>l[0]||(l[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),l[1]||(l[1]=f("h1",{class:"text-2xl font-bold absolute left-1/2 transform -translate-x-1/2"}," Meus Itens ",-1)),f("button",null,[L(c,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(gt,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])]),f("div",R0,[L(C0)]),t.value.length===0?(w(),Te(ga,{key:0,message:"achados registrados... Você pode adicionar um no",highlightText:"AcheiUnB"})):(w(),C("div",k0,[(w(!0),C(G,null,ve(t.value,u=>(w(),Te($s,{key:u.id,id:u.id,name:u.name,location:u.location_name,time:Se(Ns)(u.created_at),image:u.image_urls[0]||Se(Qt),isMyItem:!0,onDelete:o},null,8,["id","name","location","time","image"]))),128))])),L(a),f("div",T0,[L(yt,{activeIcon:"search"})])],64)}}},I0={class:"fixed top-0 left-0 w-full bg-verde shadow-md py-3 px-4 flex items-center z-10"},P0=["src"],$0={class:"flex items-center space-x-4 ml-2"},M0=["src"],j0={class:"text-white font-semibold text-sm md:text-base truncate max-w-[120px] md:max-w-[200px]"},L0=["src"],D0={class:"ml-auto md:absolute md:left-1/2 md:transform md:-translate-x-1/2"},F0={__name:"Header-Message",setup(e){const t=Gr(),n=Ps(),s=Q(t.params.chatroomId||t.query.chatroomId),r=Q("Usuário"),o=Q(Rr),i=Q(Qt),l=Q(null),c=Q(null),a=Q(null),u=async()=>{try{const x=await ae.get("/auth/user/");a.value=x.data}catch{}},d=async()=>{var x;if(!(!s.value||!((x=a.value)!=null&&x.id)))try{const A=(await ae.get(`/chat/chatrooms/${s.value}/`)).data;l.value=A.participant_1===a.value.id?A.participant_2:A.participant_1,c.value=A.item_id,m(),g()}catch{}},m=async()=>{if(l.value)try{const x=await ae.get(`/users/${l.value}/`);r.value=x.data.first_name||"Usuário",o.value=x.data.foto||Rr}catch{}},g=async()=>{var x;if(c.value)try{const v=await ae.get(`/items/${c.value}`);i.value=((x=v.data.image_urls)==null?void 0:x[0])||Qt}catch{}},y=()=>{n.back()};return qc(()=>{a.value?d():u()}),bt(()=>{u()}),(x,v)=>{const A=me("router-link");return w(),C("div",I0,[f("img",{onClick:y,src:Se(hn),alt:"Voltar",class:"w-6 h-6 md:w-8 md:h-8 cursor-pointer"},null,8,P0),f("div",$0,[f("img",{src:o.value,alt:"Foto do usuário",class:"w-10 h-10 md:w-12 md:h-12 rounded-full object-cover border-2 border-white"},null,8,M0),f("span",j0,J(r.value||"Usuário"),1),f("img",{src:i.value,alt:"Imagem do item",class:"w-10 h-10 md:w-12 md:h-12 rounded-lg object-cover border-2 border-white"},null,8,L0)]),f("div",D0,[L(A,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(gt,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}}},B0={class:"relative flex flex-col h-screen bg-gray-100"},N0={ref:"messagesContainer",class:"relative flex-1 pt-32 pb-24 px-4 overflow-y-auto z-10"},U0={key:0,class:"flex w-full justify-end"},z0={class:"bg-laranja text-white p-3 rounded-2xl max-w-[70%] break-words shadow-md"},H0={class:"text-sm"},q0={class:"text-xs opacity-75 mt-1 block text-right"},V0={key:1,class:"flex w-full justify-start"},K0={class:"bg-gray-300 text-gray-800 p-3 rounded-2xl max-w-[70%] break-words shadow-md"},W0={class:"text-sm"},Q0={class:"text-xs opacity-75 mt-1 block text-left"},G0={class:"fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 p-4 z-20"},J0={class:"flex"},Z0=["disabled"],bi={__name:"Message",setup(e){const t=Gr(),n=Q([]),s=Q(""),r=Q(null),o=Q(null),i=Q(null),l=Q(t.params.chatroomId||t.query.chatroomId),c=Q(t.params.itemId||t.query.itemId);l.value?console.log("chatroomId:",l.value):console.error("ID do chat não encontrado na rota");const a=async()=>{var v;if(!l.value){console.error("ID do chat não encontrado, não é possível enviar mensagem");return}if(!s.value.trim()){console.warn("Mensagem vazia, nada a enviar");return}try{console.log("Enviando mensagem para room:",l.value,"Conteúdo:",s.value),await ae.post("/chat/messages/",{room:l.value,content:s.value}),s.value="",await u()}catch(A){console.error("Erro ao enviar mensagem:",((v=A.response)==null?void 0:v.data)||A.message)}},u=async()=>{if(l.value)try{const v=await ae.get("/chat/messages/",{params:{room:l.value}});n.value=v.data.results||v.data}catch(v){console.error("Erro ao buscar mensagens:",v)}},d=async()=>{try{const v=await ae.get("/auth/user/");r.value=v.data}catch(v){console.error("Erro ao buscar usuário:",v)}},m=async()=>{if(c.value)try{const v=await ae.get(`/items/${c.value}`);o.value=v.data}catch(v){console.error("Erro ao buscar item:",v)}},g=async()=>{if(c.value)try{const v=await ae.get(`/items/${c.value}`);i.value=v.data.user_id}catch(v){console.error("Erro ao buscar dono do item:",v)}},y=v=>new Date(v).toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit"}),x=async()=>{if(l.value)try{await ae.get(`/chat/chatrooms/${l.value}/`)}catch(v){console.error("Erro ao buscar dados do chatroom:",v)}};return bt(async()=>{await d(),await m(),await g(),await x(),await u()}),(v,A)=>(w(),C("div",B0,[A[1]||(A[1]=f("div",{class:"flex absolute inset-0 justify-center items-center pointer-events-none z-0"},[f("img",{src:Dl,alt:"Watermark",class:"w-48 md:w-64 lg:w-80 opacity-20"})],-1)),i.value&&c.value?(w(),Te(F0,{key:0,itemId:String(c.value),userId:String(i.value),class:"fixed top-0 left-0 w-full z-20"},null,8,["itemId","userId"])):_e("",!0),f("div",N0,[(w(!0),C(G,null,ve(n.value,T=>{var I;return w(),C("div",{key:T.id,class:"mb-2 flex"},[T.sender===((I=r.value)==null?void 0:I.id)?(w(),C("div",U0,[f("div",z0,[f("p",H0,J(T.content),1),f("span",q0,J(y(T.timestamp)),1)])])):(w(),C("div",V0,[f("div",K0,[f("p",W0,J(T.content),1),f("span",Q0,J(y(T.timestamp)),1)])]))])}),128))],512),f("div",G0,[f("div",J0,[Re(f("input",{"onUpdate:modelValue":A[0]||(A[0]=T=>s.value=T),onKeyup:Lu(a,["enter"]),type:"text",maxlength:"80",placeholder:"Digite uma mensagem (máx. 80 caracteres)...",class:"flex-1 border border-gray-300 rounded-full px-4 py-2 focus:outline-none focus:border-laranja"},null,544),[[dt,s.value]]),f("button",{onClick:a,disabled:!s.value.trim(),class:"ml-2 bg-laranja text-white px-4 py-2 rounded-full hover:bg-laranja-dark disabled:opacity-50 disabled:cursor-not-allowed transition-colors"}," Enviar ",8,Z0)])])]))}},Y0=[{path:"/",name:"Login",component:td},{path:"/about",name:"About",component:vd,meta:{requiresAuth:!0}},{path:"/lost",name:"Lost",component:Bh,meta:{requiresAuth:!0}},{path:"/found",name:"Found",component:em,meta:{requiresAuth:!0}},{path:"/register-lost",name:"RegisterLost",component:Mm,meta:{requiresAuth:!0}},{path:"/register-found",name:"RegisterFound",component:fg,meta:{requiresAuth:!0}},{path:"/user",name:"User",component:_g,meta:{requiresAuth:!0}},{path:"/chats",name:"Chats",component:Ng,meta:{requiresAuth:!0}},{path:"/list-item",name:"ListItem",component:a0,meta:{requiresAuth:!0}},{path:"/user-items-lost",name:"UserItemsLost",component:_0},{path:"/user-items-found",name:"UserItemsFound",component:O0},{path:"/chat/new",name:"NewChat",component:bi,meta:{requiresAuth:!0}},{path:"/chat/:chatroomId",name:"Chat",component:bi,meta:{requiresAuth:!0},props:e=>({chatroomId:e.params.chatroomId||e.query.chatroomId,itemId:e.params.itemId||e.query.itemId})}],ba=Hf({history:vf(),routes:Y0}),Us=Bu(Vf);Us.use(ba);Us.component("Header",Zr);Us.component("Alert",sm);Us.mount("#app"); diff --git a/API/celerybeat-schedule b/API/celerybeat-schedule index 428d1d5d52a6dba8e7fdab2faf06f04af6cdaafd..daeee0d4a86416ea9cd5f7bbbbfad3e50cdcc06f 100644 GIT binary patch delta 32 ncmZo@U~Fh$+)!-H&dY3Q!o4VZvVu`OBj;pCL(R?1CV#mBnvMxe delta 32 ocmZo@U~Fh$+)!-H&dJOy$n;>tWCf#mMvlpjhMJq1P5yEN0G!7Oe*gdg diff --git a/web/src/assets/icons/found-and-lost-box.jpg b/web/src/assets/icons/found-and-lost-box.jpg index db5a72507e91cbbe738e614435e7e9963e8e08eb..c31590a5eb34c80fe37e33aec0b63c89b36567db 100644 GIT binary patch literal 14443 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

04TgyPSyU4UO3J)81 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 A(*OVf literal 12549 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

- Parece que o AcheiUnB {{ message }} + Parece que o AcheiUnB {{ computedMessage }}

\ No newline at end of file + +// Computed Property para modificar a mensagem dinamicamente +const computedMessage = computed(() => { + // Define a palavra correta com base no tipo de item + const itemType = props.type === "achado" ? "achado" : "perdido"; + + // Verifica os filtros e retorna a mensagem correspondente + if (filtersState.searchQuery.value) { + return `não encontrou resultados para "${filtersState.searchQuery.value}" nos itens ${itemType}s.`; + } + if (filtersState.activeCategory.value) { + return `não encontrou itens ${itemType}s da categoria "${filtersState.activeCategory.value}".`; + } + if (filtersState.activeLocation.value) { + return `não encontrou itens ${itemType}s no local "${filtersState.activeLocation.value}".`; + } + + return `está sem itens ${itemType}s... Você pode adicionar um!`; +}); + diff --git a/web/src/components/Item-Card.vue b/web/src/components/Item-Card.vue index 6db0408c..f6a7dc08 100644 --- a/web/src/components/Item-Card.vue +++ b/web/src/components/Item-Card.vue @@ -17,32 +17,37 @@ Excluir - -
+ +
-

- Você realmente deseja excluir este item do AcheiUnB? -

- -
- - +
+

+ Você realmente deseja excluir este item do AcheiUnB? +

+ +
+ + +
-
+
@@ -66,7 +71,7 @@ + diff --git a/API/AcheiUnB/static/dist/js/index-DagMRiY7.js b/API/AcheiUnB/static/dist/js/index-DagMRiY7.js new file mode 100644 index 00000000..3f1a6a05 --- /dev/null +++ b/API/AcheiUnB/static/dist/js/index-DagMRiY7.js @@ -0,0 +1,26 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** +* @vue/shared v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function kr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const fe={},tn=[],pt=()=>{},ya=()=>!1,xs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Tr=e=>e.startsWith("onUpdate:"),ke=Object.assign,Or=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},xa=Object.prototype.hasOwnProperty,se=(e,t)=>xa.call(e,t),H=Array.isArray,nn=e=>Bn(e)==="[object Map]",vs=e=>Bn(e)==="[object Set]",ro=e=>Bn(e)==="[object Date]",K=e=>typeof e=="function",Ee=e=>typeof e=="string",ht=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",yi=e=>(he(e)||K(e))&&K(e.then)&&K(e.catch),xi=Object.prototype.toString,Bn=e=>xi.call(e),va=e=>Bn(e).slice(8,-1),vi=e=>Bn(e)==="[object Object]",Ir=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,wn=kr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_s=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},_a=/-(\w)/g,Ye=_s(e=>e.replace(_a,(t,n)=>n?n.toUpperCase():"")),wa=/\B([A-Z])/g,Mt=_s(e=>e.replace(wa,"-$1").toLowerCase()),ws=_s(e=>e.charAt(0).toUpperCase()+e.slice(1)),Hs=_s(e=>e?`on${ws(e)}`:""),$t=(e,t)=>!Object.is(e,t),Yn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},is=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let oo;const Es=()=>oo||(oo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Nn(e){if(H(e)){const t={};for(let n=0;n{if(n){const s=n.split(Sa);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ee(e){let t="";if(Ee(e))t=e;else if(H(e))for(let n=0;nSs(n,t))}const Ei=e=>!!(e&&e.__v_isRef===!0),J=e=>Ee(e)?e:e==null?"":H(e)||he(e)&&(e.toString===xi||!K(e.toString))?Ei(e)?J(e.value):JSON.stringify(e,Si,2):String(e),Si=(e,t)=>Ei(t)?Si(e,t.value):nn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[qs(s,o)+" =>"]=r,n),{})}:vs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>qs(n))}:ht(t)?qs(t):he(t)&&!H(t)&&!vi(t)?String(t):t,qs=(e,t="")=>{var n;return ht(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Ve;class Ia{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ve,!t&&Ve&&(this.index=(Ve.scopes||(Ve.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Sn){let t=Sn;for(Sn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;En;){let t=En;for(En=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function ki(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ti(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Mr(s),$a(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function lr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Oi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Oi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===In))return;e.globalVersion=In;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!lr(e)){e.flags&=-3;return}const n=pe,s=tt;pe=e,tt=!0;try{ki(e);const r=e.fn(e._value);(t.version===0||$t(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{pe=n,tt=s,Ti(e),e.flags&=-3}}function Mr(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Mr(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function $a(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let tt=!0;const Ii=[];function jt(){Ii.push(tt),tt=!1}function Lt(){const e=Ii.pop();tt=e===void 0?!0:e}function io(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=pe;pe=void 0;try{t()}finally{pe=n}}}let In=0;class Ma{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class jr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!pe||!tt||pe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==pe)n=this.activeLink=new Ma(pe,this),pe.deps?(n.prevDep=pe.depsTail,pe.depsTail.nextDep=n,pe.depsTail=n):pe.deps=pe.depsTail=n,Pi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=pe.depsTail,n.nextDep=void 0,pe.depsTail.nextDep=n,pe.depsTail=n,pe.deps===n&&(pe.deps=s)}return n}trigger(t){this.version++,In++,this.notify(t)}notify(t){Pr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{$r()}}}function Pi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Pi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ls=new WeakMap,Ht=Symbol(""),ar=Symbol(""),Pn=Symbol("");function $e(e,t,n){if(tt&&pe){let s=ls.get(e);s||ls.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new jr),r.map=s,r.key=n),r.track()}}function Et(e,t,n,s,r,o){const i=ls.get(e);if(!i){In++;return}const l=c=>{c&&c.trigger()};if(Pr(),t==="clear")i.forEach(l);else{const c=H(e),a=c&&Ir(n);if(c&&n==="length"){const u=Number(s);i.forEach((d,m)=>{(m==="length"||m===Pn||!ht(m)&&m>=u)&&l(d)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),a&&l(i.get(Pn)),t){case"add":c?a&&l(i.get("length")):(l(i.get(Ht)),nn(e)&&l(i.get(ar)));break;case"delete":c||(l(i.get(Ht)),nn(e)&&l(i.get(ar)));break;case"set":nn(e)&&l(i.get(Ht));break}}$r()}function ja(e,t){const n=ls.get(e);return n&&n.get(t)}function Yt(e){const t=te(e);return t===e?t:($e(t,"iterate",Pn),Ze(e)?t:t.map(Me))}function Cs(e){return $e(e=te(e),"iterate",Pn),e}const La={__proto__:null,[Symbol.iterator](){return Ks(this,Symbol.iterator,Me)},concat(...e){return Yt(this).concat(...e.map(t=>H(t)?Yt(t):t))},entries(){return Ks(this,"entries",e=>(e[1]=Me(e[1]),e))},every(e,t){return vt(this,"every",e,t,void 0,arguments)},filter(e,t){return vt(this,"filter",e,t,n=>n.map(Me),arguments)},find(e,t){return vt(this,"find",e,t,Me,arguments)},findIndex(e,t){return vt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return vt(this,"findLast",e,t,Me,arguments)},findLastIndex(e,t){return vt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return vt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ws(this,"includes",e)},indexOf(...e){return Ws(this,"indexOf",e)},join(e){return Yt(this).join(e)},lastIndexOf(...e){return Ws(this,"lastIndexOf",e)},map(e,t){return vt(this,"map",e,t,void 0,arguments)},pop(){return bn(this,"pop")},push(...e){return bn(this,"push",e)},reduce(e,...t){return lo(this,"reduce",e,t)},reduceRight(e,...t){return lo(this,"reduceRight",e,t)},shift(){return bn(this,"shift")},some(e,t){return vt(this,"some",e,t,void 0,arguments)},splice(...e){return bn(this,"splice",e)},toReversed(){return Yt(this).toReversed()},toSorted(e){return Yt(this).toSorted(e)},toSpliced(...e){return Yt(this).toSpliced(...e)},unshift(...e){return bn(this,"unshift",e)},values(){return Ks(this,"values",Me)}};function Ks(e,t,n){const s=Cs(e),r=s[t]();return s!==e&&!Ze(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const Da=Array.prototype;function vt(e,t,n,s,r,o){const i=Cs(e),l=i!==e&&!Ze(e),c=i[t];if(c!==Da[t]){const d=c.apply(e,o);return l?Me(d):d}let a=n;i!==e&&(l?a=function(d,m){return n.call(this,Me(d),m,e)}:n.length>2&&(a=function(d,m){return n.call(this,d,m,e)}));const u=c.call(i,a,s);return l&&r?r(u):u}function lo(e,t,n,s){const r=Cs(e);let o=n;return r!==e&&(Ze(e)?n.length>3&&(o=function(i,l,c){return n.call(this,i,l,c,e)}):o=function(i,l,c){return n.call(this,i,Me(l),c,e)}),r[t](o,...s)}function Ws(e,t,n){const s=te(e);$e(s,"iterate",Pn);const r=s[t](...n);return(r===-1||r===!1)&&Fr(n[0])?(n[0]=te(n[0]),s[t](...n)):r}function bn(e,t,n=[]){jt(),Pr();const s=te(e)[t].apply(e,n);return $r(),Lt(),s}const Fa=kr("__proto__,__v_isRef,__isVue"),$i=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ht));function Ba(e){ht(e)||(e=String(e));const t=te(this);return $e(t,"has",e),t.hasOwnProperty(e)}class Mi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Ga:Fi:o?Di:Li).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=H(t);if(!r){let c;if(i&&(c=La[n]))return c;if(n==="hasOwnProperty")return Ba}const l=Reflect.get(t,n,Oe(t)?t:s);return(ht(n)?$i.has(n):Fa(n))||(r||$e(t,"get",n),o)?l:Oe(l)?i&&Ir(n)?l:l.value:he(l)?r?Ni(l):Un(l):l}}class ji extends Mi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=Vt(o);if(!Ze(s)&&!Vt(s)&&(o=te(o),s=te(s)),!H(t)&&Oe(o)&&!Oe(s))return c?!1:(o.value=s,!0)}const i=H(t)&&Ir(n)?Number(n)e,Qn=e=>Reflect.getPrototypeOf(e);function qa(e,t,n){return function(...s){const r=this.__v_raw,o=te(r),i=nn(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=r[e](...s),u=n?cr:t?ur:Me;return!t&&$e(o,"iterate",c?ar:Ht),{next(){const{value:d,done:m}=a.next();return m?{value:d,done:m}:{value:l?[u(d[0]),u(d[1])]:u(d),done:m}},[Symbol.iterator](){return this}}}}function Gn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Va(e,t){const n={get(r){const o=this.__v_raw,i=te(o),l=te(r);e||($t(r,l)&&$e(i,"get",r),$e(i,"get",l));const{has:c}=Qn(i),a=t?cr:e?ur:Me;if(c.call(i,r))return a(o.get(r));if(c.call(i,l))return a(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&$e(te(r),"iterate",Ht),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,i=te(o),l=te(r);return e||($t(r,l)&&$e(i,"has",r),$e(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=te(l),a=t?cr:e?ur:Me;return!e&&$e(c,"iterate",Ht),l.forEach((u,d)=>r.call(o,a(u),a(d),i))}};return ke(n,e?{add:Gn("add"),set:Gn("set"),delete:Gn("delete"),clear:Gn("clear")}:{add(r){!t&&!Ze(r)&&!Vt(r)&&(r=te(r));const o=te(this);return Qn(o).has.call(o,r)||(o.add(r),Et(o,"add",r,r)),this},set(r,o){!t&&!Ze(o)&&!Vt(o)&&(o=te(o));const i=te(this),{has:l,get:c}=Qn(i);let a=l.call(i,r);a||(r=te(r),a=l.call(i,r));const u=c.call(i,r);return i.set(r,o),a?$t(o,u)&&Et(i,"set",r,o):Et(i,"add",r,o),this},delete(r){const o=te(this),{has:i,get:l}=Qn(o);let c=i.call(o,r);c||(r=te(r),c=i.call(o,r)),l&&l.call(o,r);const a=o.delete(r);return c&&Et(o,"delete",r,void 0),a},clear(){const r=te(this),o=r.size!==0,i=r.clear();return o&&Et(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=qa(r,e,t)}),n}function Lr(e,t){const n=Va(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(se(n,r)&&r in s?n:s,r,o)}const Ka={get:Lr(!1,!1)},Wa={get:Lr(!1,!0)},Qa={get:Lr(!0,!1)};const Li=new WeakMap,Di=new WeakMap,Fi=new WeakMap,Ga=new WeakMap;function Ja(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Za(e){return e.__v_skip||!Object.isExtensible(e)?0:Ja(va(e))}function Un(e){return Vt(e)?e:Dr(e,!1,Ua,Ka,Li)}function Bi(e){return Dr(e,!1,Ha,Wa,Di)}function Ni(e){return Dr(e,!0,za,Qa,Fi)}function Dr(e,t,n,s,r){if(!he(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Za(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function sn(e){return Vt(e)?sn(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function Ze(e){return!!(e&&e.__v_isShallow)}function Fr(e){return e?!!e.__v_raw:!1}function te(e){const t=e&&e.__v_raw;return t?te(t):e}function Ya(e){return!se(e,"__v_skip")&&Object.isExtensible(e)&&_i(e,"__v_skip",!0),e}const Me=e=>he(e)?Un(e):e,ur=e=>he(e)?Ni(e):e;function Oe(e){return e?e.__v_isRef===!0:!1}function Q(e){return Ui(e,!1)}function Xa(e){return Ui(e,!0)}function Ui(e,t){return Oe(e)?e:new ec(e,t)}class ec{constructor(t,n){this.dep=new jr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:te(t),this._value=n?t:Me(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ze(t)||Vt(t);t=s?t:te(t),$t(t,n)&&(this._rawValue=t,this._value=s?t:Me(t),this.dep.trigger())}}function Se(e){return Oe(e)?e.value:e}const tc={get:(e,t,n)=>t==="__v_raw"?e:Se(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Oe(r)&&!Oe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function zi(e){return sn(e)?e:new Proxy(e,tc)}function nc(e){const t=H(e)?new Array(e.length):{};for(const n in e)t[n]=rc(e,n);return t}class sc{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return ja(te(this._object),this._key)}}function rc(e,t,n){const s=e[t];return Oe(s)?s:new sc(e,t,n)}class oc{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new jr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=In-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&pe!==this)return Ri(this,!0),!0}get value(){const t=this.dep.track();return Oi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ic(e,t,n=!1){let s,r;return K(e)?s=e:(s=e.get,r=e.set),new oc(s,r,n)}const Jn={},as=new WeakMap;let Nt;function lc(e,t=!1,n=Nt){if(n){let s=as.get(n);s||as.set(n,s=[]),s.push(e)}}function ac(e,t,n=fe){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,a=M=>r?M:Ze(M)||r===!1||r===0?St(M,1):St(M);let u,d,m,g,y=!1,x=!1;if(Oe(e)?(d=()=>e.value,y=Ze(e)):sn(e)?(d=()=>a(e),y=!0):H(e)?(x=!0,y=e.some(M=>sn(M)||Ze(M)),d=()=>e.map(M=>{if(Oe(M))return M.value;if(sn(M))return a(M);if(K(M))return c?c(M,2):M()})):K(e)?t?d=c?()=>c(e,2):e:d=()=>{if(m){jt();try{m()}finally{Lt()}}const M=Nt;Nt=u;try{return c?c(e,3,[g]):e(g)}finally{Nt=M}}:d=pt,t&&r){const M=d,q=r===!0?1/0:r;d=()=>St(M(),q)}const v=Pa(),A=()=>{u.stop(),v&&v.active&&Or(v.effects,u)};if(o&&t){const M=t;t=(...q)=>{M(...q),A()}}let T=x?new Array(e.length).fill(Jn):Jn;const I=M=>{if(!(!(u.flags&1)||!u.dirty&&!M))if(t){const q=u.run();if(r||y||(x?q.some((Y,Z)=>$t(Y,T[Z])):$t(q,T))){m&&m();const Y=Nt;Nt=u;try{const Z=[q,T===Jn?void 0:x&&T[0]===Jn?[]:T,g];c?c(t,3,Z):t(...Z),T=q}finally{Nt=Y}}}else u.run()};return l&&l(I),u=new Ci(d),u.scheduler=i?()=>i(I,!1):I,g=M=>lc(M,!1,u),m=u.onStop=()=>{const M=as.get(u);if(M){if(c)c(M,4);else for(const q of M)q();as.delete(u)}},t?s?I(!0):T=u.run():i?i(I.bind(null,!0),!0):u.run(),A.pause=u.pause.bind(u),A.resume=u.resume.bind(u),A.stop=A,A}function St(e,t=1/0,n){if(t<=0||!he(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Oe(e))St(e.value,t,n);else if(H(e))for(let s=0;s{St(s,t,n)});else if(vi(e)){for(const s in e)St(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&St(e[s],t,n)}return e}/** +* @vue/runtime-core v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function zn(e,t,n,s){try{return s?e(...s):e()}catch(r){As(r,t,n)}}function mt(e,t,n,s){if(K(e)){const r=zn(e,t,n,s);return r&&yi(r)&&r.catch(o=>{As(o,t,n)}),r}if(H(e)){const r=[];for(let o=0;o>>1,r=Be[s],o=$n(r);o=$n(n)?Be.push(e):Be.splice(uc(t),0,e),e.flags|=1,qi()}}function qi(){cs||(cs=Hi.then(Ki))}function fc(e){H(e)?rn.push(...e):kt&&e.id===-1?kt.splice(Xt+1,0,e):e.flags&1||(rn.push(e),e.flags|=1),qi()}function ao(e,t,n=ut+1){for(;n$n(n)-$n(s));if(rn.length=0,kt){kt.push(...t);return}for(kt=t,Xt=0;Xte.id==null?e.flags&2?-1:1/0:e.id;function Ki(e){try{for(ut=0;ut{s._d&&_o(-1);const o=us(t);let i;try{i=e(...r)}finally{us(o),s._d&&_o(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Re(e,t){if(Ke===null)return e;const n=Os(Ke),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,Cn=e=>e&&(e.disabled||e.disabled===""),co=e=>e&&(e.defer||e.defer===""),uo=e=>typeof SVGElement<"u"&&e instanceof SVGElement,fo=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,fr=(e,t)=>{const n=e&&e.to;return Ee(n)?t?t(n):null:n},Gi={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,l,c,a){const{mc:u,pc:d,pbc:m,o:{insert:g,querySelector:y,createText:x,createComment:v}}=a,A=Cn(t.props);let{shapeFlag:T,children:I,dynamicChildren:M}=t;if(e==null){const q=t.el=x(""),Y=t.anchor=x("");g(q,n,s),g(Y,n,s);const Z=(ye,Ie)=>{T&16&&(r&&r.isCE&&(r.ce._teleportTarget=ye),u(I,ye,Ie,r,o,i,l,c))},ue=()=>{const ye=t.target=fr(t.props,y),Ie=Ji(ye,t,x,g);ye&&(i!=="svg"&&uo(ye)?i="svg":i!=="mathml"&&fo(ye)&&(i="mathml"),A||(Z(ye,Ie),Xn(t,!1)))};A&&(Z(n,Y),Xn(t,!0)),co(t.props)?Fe(()=>{ue(),t.el.__isMounted=!0},o):ue()}else{if(co(t.props)&&!e.el.__isMounted){Fe(()=>{Gi.process(e,t,n,s,r,o,i,l,c,a),delete e.el.__isMounted},o);return}t.el=e.el,t.targetStart=e.targetStart;const q=t.anchor=e.anchor,Y=t.target=e.target,Z=t.targetAnchor=e.targetAnchor,ue=Cn(e.props),ye=ue?n:Y,Ie=ue?q:Z;if(i==="svg"||uo(Y)?i="svg":(i==="mathml"||fo(Y))&&(i="mathml"),M?(m(e.dynamicChildren,M,ye,r,o,i,l),qr(e,t,!0)):c||d(e,t,ye,Ie,r,o,i,l,!1),A)ue?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Zn(t,n,q,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Xe=t.target=fr(t.props,y);Xe&&Zn(t,Xe,null,a,0)}else ue&&Zn(t,Y,Z,a,1);Xn(t,A)}},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:l,anchor:c,targetStart:a,targetAnchor:u,target:d,props:m}=e;if(d&&(r(a),r(u)),o&&r(c),i&16){const g=o||!Cn(m);for(let y=0;yfs(y,t&&(H(t)?t[x]:t),n,s,r));return}if(An(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&fs(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Os(s.component):s.el,i=r?null:o,{i:l,r:c}=e,a=t&&t.r,u=l.refs===fe?l.refs={}:l.refs,d=l.setupState,m=te(d),g=d===fe?()=>!1:y=>se(m,y);if(a!=null&&a!==c&&(Ee(a)?(u[a]=null,g(a)&&(d[a]=null)):Oe(a)&&(a.value=null)),K(c))zn(c,l,12,[i,u]);else{const y=Ee(c),x=Oe(c);if(y||x){const v=()=>{if(e.f){const A=y?g(c)?d[c]:u[c]:c.value;r?H(A)&&Or(A,o):H(A)?A.includes(o)||A.push(o):y?(u[c]=[o],g(c)&&(d[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else y?(u[c]=i,g(c)&&(d[c]=i)):x&&(c.value=i,e.k&&(u[e.k]=i))};i?(v.id=-1,Fe(v,n)):v()}}}Es().requestIdleCallback;Es().cancelIdleCallback;const An=e=>!!e.type.__asyncLoader,Xi=e=>e.type.__isKeepAlive;function mc(e,t){el(e,"a",t)}function gc(e,t){el(e,"da",t)}function el(e,t,n=je){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Rs(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Xi(r.parent.vnode)&&bc(s,t,n,r),r=r.parent}}function bc(e,t,n,s){const r=Rs(t,e,s,!0);nl(()=>{Or(s[t],r)},n)}function Rs(e,t,n=je,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{jt();const l=Hn(n),c=mt(t,n,e,i);return l(),Lt(),c});return s?r.unshift(o):r.push(o),o}}const Ct=e=>(t,n=je)=>{(!jn||e==="sp")&&Rs(e,(...s)=>t(...s),n)},yc=Ct("bm"),bt=Ct("m"),xc=Ct("bu"),vc=Ct("u"),tl=Ct("bum"),nl=Ct("um"),_c=Ct("sp"),wc=Ct("rtg"),Ec=Ct("rtc");function Sc(e,t=je){Rs("ec",e,t)}const Cc="components";function me(e,t){return Rc(Cc,e,!0,t)||e}const Ac=Symbol.for("v-ndc");function Rc(e,t,n=!0,s=!1){const r=Ke||je;if(r){const o=r.type;{const l=hu(o,!1);if(l&&(l===t||l===Ye(t)||l===ws(Ye(t))))return o}const i=po(r[e]||o[e],t)||po(r.appContext[e],t);return!i&&s?o:i}}function po(e,t){return e&&(e[t]||e[Ye(t)]||e[ws(Ye(t))])}function ve(e,t,n,s){let r;const o=n,i=H(e);if(i||Ee(e)){const l=i&&sn(e);let c=!1;l&&(c=!Ze(e),e=Cs(e)),r=new Array(e.length);for(let a=0,u=e.length;at(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,a=l.length;ce?vl(e)?Os(e):dr(e.parent):null,Rn=ke(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>dr(e.parent),$root:e=>dr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>zr(e),$forceUpdate:e=>e.f||(e.f=()=>{Nr(e.update)}),$nextTick:e=>e.n||(e.n=Br.bind(e.proxy)),$watch:e=>Gc.bind(e)}),Qs=(e,t)=>e!==fe&&!e.__isScriptSetup&&se(e,t),kc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Qs(s,t))return i[t]=1,s[t];if(r!==fe&&se(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&se(a,t))return i[t]=3,o[t];if(n!==fe&&se(n,t))return i[t]=4,n[t];pr&&(i[t]=0)}}const u=Rn[t];let d,m;if(u)return t==="$attrs"&&$e(e.attrs,"get",""),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==fe&&se(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,se(m,t))return m[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Qs(r,t)?(r[t]=n,!0):s!==fe&&se(s,t)?(s[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==fe&&se(e,i)||Qs(t,i)||(l=o[0])&&se(l,i)||se(s,i)||se(Rn,i)||se(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ho(e){return H(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let pr=!0;function Tc(e){const t=zr(e),n=e.proxy,s=e.ctx;pr=!1,t.beforeCreate&&mo(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:a,created:u,beforeMount:d,mounted:m,beforeUpdate:g,updated:y,activated:x,deactivated:v,beforeDestroy:A,beforeUnmount:T,destroyed:I,unmounted:M,render:q,renderTracked:Y,renderTriggered:Z,errorCaptured:ue,serverPrefetch:ye,expose:Ie,inheritAttrs:Xe,components:Dt,directives:ot,filters:mn}=t;if(a&&Oc(a,s,null),i)for(const ce in i){const ne=i[ce];K(ne)&&(s[ce]=ne.bind(n))}if(r){const ce=r.call(n,n);he(ce)&&(e.data=Un(ce))}if(pr=!0,o)for(const ce in o){const ne=o[ce],xt=K(ne)?ne.bind(n,n):K(ne.get)?ne.get.bind(n,n):pt,At=!K(ne)&&K(ne.set)?ne.set.bind(n):pt,it=Je({get:xt,set:At});Object.defineProperty(s,ce,{enumerable:!0,configurable:!0,get:()=>it.value,set:Ne=>it.value=Ne})}if(l)for(const ce in l)sl(l[ce],s,n,ce);if(c){const ce=K(c)?c.call(n):c;Reflect.ownKeys(ce).forEach(ne=>{es(ne,ce[ne])})}u&&mo(u,e,"c");function Ae(ce,ne){H(ne)?ne.forEach(xt=>ce(xt.bind(n))):ne&&ce(ne.bind(n))}if(Ae(yc,d),Ae(bt,m),Ae(xc,g),Ae(vc,y),Ae(mc,x),Ae(gc,v),Ae(Sc,ue),Ae(Ec,Y),Ae(wc,Z),Ae(tl,T),Ae(nl,M),Ae(_c,ye),H(Ie))if(Ie.length){const ce=e.exposed||(e.exposed={});Ie.forEach(ne=>{Object.defineProperty(ce,ne,{get:()=>n[ne],set:xt=>n[ne]=xt})})}else e.exposed||(e.exposed={});q&&e.render===pt&&(e.render=q),Xe!=null&&(e.inheritAttrs=Xe),Dt&&(e.components=Dt),ot&&(e.directives=ot),ye&&Yi(e)}function Oc(e,t,n=pt){H(e)&&(e=hr(e));for(const s in e){const r=e[s];let o;he(r)?"default"in r?o=nt(r.from||s,r.default,!0):o=nt(r.from||s):o=nt(r),Oe(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function mo(e,t,n){mt(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function sl(e,t,n,s){let r=s.includes(".")?ml(n,s):()=>n[s];if(Ee(e)){const o=t[e];K(o)&&ln(r,o)}else if(K(e))ln(r,e.bind(n));else if(he(e))if(H(e))e.forEach(o=>sl(o,t,n,s));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&ln(r,o,e)}}function zr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>ds(c,a,i,!0)),ds(c,t,i)),he(t)&&o.set(t,c),c}function ds(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&ds(e,o,n,!0),r&&r.forEach(i=>ds(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Ic[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Ic={data:go,props:bo,emits:bo,methods:_n,computed:_n,beforeCreate:De,created:De,beforeMount:De,mounted:De,beforeUpdate:De,updated:De,beforeDestroy:De,beforeUnmount:De,destroyed:De,unmounted:De,activated:De,deactivated:De,errorCaptured:De,serverPrefetch:De,components:_n,directives:_n,watch:$c,provide:go,inject:Pc};function go(e,t){return t?e?function(){return ke(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function Pc(e,t){return _n(hr(e),hr(t))}function hr(e){if(H(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(s&&s.proxy):t}}const ol={},il=()=>Object.create(ol),ll=e=>Object.getPrototypeOf(e)===ol;function Lc(e,t,n,s=!1){const r={},o=il();e.propsDefaults=Object.create(null),al(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Bi(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function Dc(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=te(r),[c]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d{c=!0;const[m,g]=cl(d,t,!0);ke(i,m),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return he(e)&&s.set(e,tn),tn;if(H(o))for(let u=0;ue[0]==="_"||e==="$stable",Hr=e=>H(e)?e.map(ft):[ft(e)],Bc=(e,t,n)=>{if(t._n)return t;const s=be((...r)=>Hr(t(...r)),n);return s._c=!1,s},fl=(e,t,n)=>{const s=e._ctx;for(const r in e){if(ul(r))continue;const o=e[r];if(K(o))t[r]=Bc(r,o,s);else if(o!=null){const i=Hr(o);t[r]=()=>i}}},dl=(e,t)=>{const n=Hr(t);e.slots.default=()=>n},pl=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Nc=(e,t,n)=>{const s=e.slots=il();if(e.vnode.shapeFlag&32){const r=t._;r?(pl(s,t,n),n&&_i(s,"_",r,!0)):fl(t,s)}else t&&dl(e,t)},Uc=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=fe;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:pl(r,t,n):(o=!t.$stable,fl(t,r)),i=t}else t&&(dl(e,t),i={default:1});if(o)for(const l in r)!ul(l)&&i[l]==null&&delete r[l]},Fe=nu;function zc(e){return Hc(e)}function Hc(e,t){const n=Es();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:d,nextSibling:m,setScopeId:g=pt,insertStaticContent:y}=e,x=(p,h,b,R=null,E=null,k=null,j=void 0,$=null,P=!!h.dynamicChildren)=>{if(p===h)return;p&&!yn(p,h)&&(R=S(p),Ne(p,E,k,!0),p=null),h.patchFlag===-2&&(P=!1,h.dynamicChildren=null);const{type:O,ref:z,shapeFlag:F}=h;switch(O){case Ts:v(p,h,b,R);break;case Kt:A(p,h,b,R);break;case Zs:p==null&&T(h,b,R,j);break;case G:Dt(p,h,b,R,E,k,j,$,P);break;default:F&1?q(p,h,b,R,E,k,j,$,P):F&6?ot(p,h,b,R,E,k,j,$,P):(F&64||F&128)&&O.process(p,h,b,R,E,k,j,$,P,N)}z!=null&&E&&fs(z,p&&p.ref,k,h||p,!h)},v=(p,h,b,R)=>{if(p==null)s(h.el=l(h.children),b,R);else{const E=h.el=p.el;h.children!==p.children&&a(E,h.children)}},A=(p,h,b,R)=>{p==null?s(h.el=c(h.children||""),b,R):h.el=p.el},T=(p,h,b,R)=>{[p.el,p.anchor]=y(p.children,h,b,R,p.el,p.anchor)},I=({el:p,anchor:h},b,R)=>{let E;for(;p&&p!==h;)E=m(p),s(p,b,R),p=E;s(h,b,R)},M=({el:p,anchor:h})=>{let b;for(;p&&p!==h;)b=m(p),r(p),p=b;r(h)},q=(p,h,b,R,E,k,j,$,P)=>{h.type==="svg"?j="svg":h.type==="math"&&(j="mathml"),p==null?Y(h,b,R,E,k,j,$,P):ye(p,h,E,k,j,$,P)},Y=(p,h,b,R,E,k,j,$)=>{let P,O;const{props:z,shapeFlag:F,transition:U,dirs:V}=p;if(P=p.el=i(p.type,k,z&&z.is,z),F&8?u(P,p.children):F&16&&ue(p.children,P,null,R,E,Gs(p,k),j,$),V&&Ft(p,null,R,"created"),Z(P,p,p.scopeId,j,R),z){for(const de in z)de!=="value"&&!wn(de)&&o(P,de,null,z[de],k,R);"value"in z&&o(P,"value",null,z.value,k),(O=z.onVnodeBeforeMount)&&at(O,R,p)}V&&Ft(p,null,R,"beforeMount");const X=qc(E,U);X&&U.beforeEnter(P),s(P,h,b),((O=z&&z.onVnodeMounted)||X||V)&&Fe(()=>{O&&at(O,R,p),X&&U.enter(P),V&&Ft(p,null,R,"mounted")},E)},Z=(p,h,b,R,E)=>{if(b&&g(p,b),R)for(let k=0;k{for(let O=P;O{const $=h.el=p.el;let{patchFlag:P,dynamicChildren:O,dirs:z}=h;P|=p.patchFlag&16;const F=p.props||fe,U=h.props||fe;let V;if(b&&Bt(b,!1),(V=U.onVnodeBeforeUpdate)&&at(V,b,h,p),z&&Ft(h,p,b,"beforeUpdate"),b&&Bt(b,!0),(F.innerHTML&&U.innerHTML==null||F.textContent&&U.textContent==null)&&u($,""),O?Ie(p.dynamicChildren,O,$,b,R,Gs(h,E),k):j||ne(p,h,$,null,b,R,Gs(h,E),k,!1),P>0){if(P&16)Xe($,F,U,b,E);else if(P&2&&F.class!==U.class&&o($,"class",null,U.class,E),P&4&&o($,"style",F.style,U.style,E),P&8){const X=h.dynamicProps;for(let de=0;de{V&&at(V,b,h,p),z&&Ft(h,p,b,"updated")},R)},Ie=(p,h,b,R,E,k,j)=>{for(let $=0;${if(h!==b){if(h!==fe)for(const k in h)!wn(k)&&!(k in b)&&o(p,k,h[k],null,E,R);for(const k in b){if(wn(k))continue;const j=b[k],$=h[k];j!==$&&k!=="value"&&o(p,k,$,j,E,R)}"value"in b&&o(p,"value",h.value,b.value,E)}},Dt=(p,h,b,R,E,k,j,$,P)=>{const O=h.el=p?p.el:l(""),z=h.anchor=p?p.anchor:l("");let{patchFlag:F,dynamicChildren:U,slotScopeIds:V}=h;V&&($=$?$.concat(V):V),p==null?(s(O,b,R),s(z,b,R),ue(h.children||[],b,z,E,k,j,$,P)):F>0&&F&64&&U&&p.dynamicChildren?(Ie(p.dynamicChildren,U,b,E,k,j,$),(h.key!=null||E&&h===E.subTree)&&qr(p,h,!0)):ne(p,h,b,z,E,k,j,$,P)},ot=(p,h,b,R,E,k,j,$,P)=>{h.slotScopeIds=$,p==null?h.shapeFlag&512?E.ctx.activate(h,b,R,j,P):mn(h,b,R,E,k,j,P):Gt(p,h,P)},mn=(p,h,b,R,E,k,j)=>{const $=p.component=cu(p,R,E);if(Xi(p)&&($.ctx.renderer=N),uu($,!1,j),$.asyncDep){if(E&&E.registerDep($,Ae,j),!p.el){const P=$.subTree=L(Kt);A(null,P,h,b)}}else Ae($,p,h,b,E,k,j)},Gt=(p,h,b)=>{const R=h.component=p.component;if(eu(p,h,b))if(R.asyncDep&&!R.asyncResolved){ce(R,h,b);return}else R.next=h,R.update();else h.el=p.el,R.vnode=h},Ae=(p,h,b,R,E,k,j)=>{const $=()=>{if(p.isMounted){let{next:F,bu:U,u:V,parent:X,vnode:de}=p;{const He=hl(p);if(He){F&&(F.el=de.el,ce(p,F,j)),He.asyncDep.then(()=>{p.isUnmounted||$()});return}}let oe=F,ze;Bt(p,!1),F?(F.el=de.el,ce(p,F,j)):F=de,U&&Yn(U),(ze=F.props&&F.props.onVnodeBeforeUpdate)&&at(ze,X,F,de),Bt(p,!0);const Pe=Js(p),et=p.subTree;p.subTree=Pe,x(et,Pe,d(et.el),S(et),p,E,k),F.el=Pe.el,oe===null&&tu(p,Pe.el),V&&Fe(V,E),(ze=F.props&&F.props.onVnodeUpdated)&&Fe(()=>at(ze,X,F,de),E)}else{let F;const{el:U,props:V}=h,{bm:X,m:de,parent:oe,root:ze,type:Pe}=p,et=An(h);if(Bt(p,!1),X&&Yn(X),!et&&(F=V&&V.onVnodeBeforeMount)&&at(F,oe,h),Bt(p,!0),U&&xe){const He=()=>{p.subTree=Js(p),xe(U,p.subTree,p,E,null)};et&&Pe.__asyncHydrate?Pe.__asyncHydrate(U,p,He):He()}else{ze.ce&&ze.ce._injectChildStyle(Pe);const He=p.subTree=Js(p);x(null,He,b,R,p,E,k),h.el=He.el}if(de&&Fe(de,E),!et&&(F=V&&V.onVnodeMounted)){const He=h;Fe(()=>at(F,oe,He),E)}(h.shapeFlag&256||oe&&An(oe.vnode)&&oe.vnode.shapeFlag&256)&&p.a&&Fe(p.a,E),p.isMounted=!0,h=b=R=null}};p.scope.on();const P=p.effect=new Ci($);p.scope.off();const O=p.update=P.run.bind(P),z=p.job=P.runIfDirty.bind(P);z.i=p,z.id=p.uid,P.scheduler=()=>Nr(z),Bt(p,!0),O()},ce=(p,h,b)=>{h.component=p;const R=p.vnode.props;p.vnode=h,p.next=null,Dc(p,h.props,R,b),Uc(p,h.children,b),jt(),ao(p),Lt()},ne=(p,h,b,R,E,k,j,$,P=!1)=>{const O=p&&p.children,z=p?p.shapeFlag:0,F=h.children,{patchFlag:U,shapeFlag:V}=h;if(U>0){if(U&128){At(O,F,b,R,E,k,j,$,P);return}else if(U&256){xt(O,F,b,R,E,k,j,$,P);return}}V&8?(z&16&&Ge(O,E,k),F!==O&&u(b,F)):z&16?V&16?At(O,F,b,R,E,k,j,$,P):Ge(O,E,k,!0):(z&8&&u(b,""),V&16&&ue(F,b,R,E,k,j,$,P))},xt=(p,h,b,R,E,k,j,$,P)=>{p=p||tn,h=h||tn;const O=p.length,z=h.length,F=Math.min(O,z);let U;for(U=0;Uz?Ge(p,E,k,!0,!1,F):ue(h,b,R,E,k,j,$,P,F)},At=(p,h,b,R,E,k,j,$,P)=>{let O=0;const z=h.length;let F=p.length-1,U=z-1;for(;O<=F&&O<=U;){const V=p[O],X=h[O]=P?Tt(h[O]):ft(h[O]);if(yn(V,X))x(V,X,b,null,E,k,j,$,P);else break;O++}for(;O<=F&&O<=U;){const V=p[F],X=h[U]=P?Tt(h[U]):ft(h[U]);if(yn(V,X))x(V,X,b,null,E,k,j,$,P);else break;F--,U--}if(O>F){if(O<=U){const V=U+1,X=VU)for(;O<=F;)Ne(p[O],E,k,!0),O++;else{const V=O,X=O,de=new Map;for(O=X;O<=U;O++){const qe=h[O]=P?Tt(h[O]):ft(h[O]);qe.key!=null&&de.set(qe.key,O)}let oe,ze=0;const Pe=U-X+1;let et=!1,He=0;const gn=new Array(Pe);for(O=0;O=Pe){Ne(qe,E,k,!0);continue}let lt;if(qe.key!=null)lt=de.get(qe.key);else for(oe=X;oe<=U;oe++)if(gn[oe-X]===0&&yn(qe,h[oe])){lt=oe;break}lt===void 0?Ne(qe,E,k,!0):(gn[lt-X]=O+1,lt>=He?He=lt:et=!0,x(qe,h[lt],b,null,E,k,j,$,P),ze++)}const no=et?Vc(gn):tn;for(oe=no.length-1,O=Pe-1;O>=0;O--){const qe=X+O,lt=h[qe],so=qe+1{const{el:k,type:j,transition:$,children:P,shapeFlag:O}=p;if(O&6){it(p.component.subTree,h,b,R);return}if(O&128){p.suspense.move(h,b,R);return}if(O&64){j.move(p,h,b,N);return}if(j===G){s(k,h,b);for(let F=0;F$.enter(k),E);else{const{leave:F,delayLeave:U,afterLeave:V}=$,X=()=>s(k,h,b),de=()=>{F(k,()=>{X(),V&&V()})};U?U(k,X,de):de()}else s(k,h,b)},Ne=(p,h,b,R=!1,E=!1)=>{const{type:k,props:j,ref:$,children:P,dynamicChildren:O,shapeFlag:z,patchFlag:F,dirs:U,cacheIndex:V}=p;if(F===-2&&(E=!1),$!=null&&fs($,null,b,p,!0),V!=null&&(h.renderCache[V]=void 0),z&256){h.ctx.deactivate(p);return}const X=z&1&&U,de=!An(p);let oe;if(de&&(oe=j&&j.onVnodeBeforeUnmount)&&at(oe,h,p),z&6)Wn(p.component,b,R);else{if(z&128){p.suspense.unmount(b,R);return}X&&Ft(p,null,h,"beforeUnmount"),z&64?p.type.remove(p,h,b,N,R):O&&!O.hasOnce&&(k!==G||F>0&&F&64)?Ge(O,h,b,!1,!0):(k===G&&F&384||!E&&z&16)&&Ge(P,h,b),R&&Jt(p)}(de&&(oe=j&&j.onVnodeUnmounted)||X)&&Fe(()=>{oe&&at(oe,h,p),X&&Ft(p,null,h,"unmounted")},b)},Jt=p=>{const{type:h,el:b,anchor:R,transition:E}=p;if(h===G){Zt(b,R);return}if(h===Zs){M(p);return}const k=()=>{r(b),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(p.shapeFlag&1&&E&&!E.persisted){const{leave:j,delayLeave:$}=E,P=()=>j(b,k);$?$(p.el,k,P):P()}else k()},Zt=(p,h)=>{let b;for(;p!==h;)b=m(p),r(p),p=b;r(h)},Wn=(p,h,b)=>{const{bum:R,scope:E,job:k,subTree:j,um:$,m:P,a:O}=p;xo(P),xo(O),R&&Yn(R),E.stop(),k&&(k.flags|=8,Ne(j,p,h,b)),$&&Fe($,h),Fe(()=>{p.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},Ge=(p,h,b,R=!1,E=!1,k=0)=>{for(let j=k;j{if(p.shapeFlag&6)return S(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const h=m(p.anchor||p.el),b=h&&h[Qi];return b?m(b):h};let B=!1;const D=(p,h,b)=>{p==null?h._vnode&&Ne(h._vnode,null,null,!0):x(h._vnode||null,p,h,null,null,null,b),h._vnode=p,B||(B=!0,ao(),Vi(),B=!1)},N={p:x,um:Ne,m:it,r:Jt,mt:mn,mc:ue,pc:ne,pbc:Ie,n:S,o:e};let re,xe;return{render:D,hydrate:re,createApp:jc(D,re)}}function Gs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Bt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function qc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qr(e,t,n=!1){const s=e.children,r=t.children;if(H(s)&&H(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function hl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:hl(t)}function xo(e){if(e)for(let t=0;tnt(Kc);function Qc(e,t){return Vr(e,null,t)}function ln(e,t,n){return Vr(e,t,n)}function Vr(e,t,n=fe){const{immediate:s,deep:r,flush:o,once:i}=n,l=ke({},n),c=t&&s||!t&&o!=="post";let a;if(jn){if(o==="sync"){const g=Wc();a=g.__watcherHandles||(g.__watcherHandles=[])}else if(!c){const g=()=>{};return g.stop=pt,g.resume=pt,g.pause=pt,g}}const u=je;l.call=(g,y,x)=>mt(g,u,y,x);let d=!1;o==="post"?l.scheduler=g=>{Fe(g,u&&u.suspense)}:o!=="sync"&&(d=!0,l.scheduler=(g,y)=>{y?g():Nr(g)}),l.augmentJob=g=>{t&&(g.flags|=4),d&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const m=ac(e,t,l);return jn&&(a?a.push(m):c&&m()),m}function Gc(e,t,n){const s=this.proxy,r=Ee(e)?e.includes(".")?ml(s,e):()=>s[e]:e.bind(s,s);let o;K(t)?o=t:(o=t.handler,n=t);const i=Hn(this),l=Vr(r,o.bind(s),n);return i(),l}function ml(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ye(t)}Modifiers`]||e[`${Mt(t)}Modifiers`];function Zc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||fe;let r=n;const o=t.startsWith("update:"),i=o&&Jc(s,t.slice(7));i&&(i.trim&&(r=n.map(u=>Ee(u)?u.trim():u)),i.number&&(r=n.map(is)));let l,c=s[l=Hs(t)]||s[l=Hs(Ye(t))];!c&&o&&(c=s[l=Hs(Mt(t))]),c&&mt(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,mt(a,e,6,r)}}function gl(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!K(e)){const c=a=>{const u=gl(a,t,!0);u&&(l=!0,ke(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(he(e)&&s.set(e,null),null):(H(o)?o.forEach(c=>i[c]=null):ke(i,o),he(e)&&s.set(e,i),i)}function ks(e,t){return!e||!xs(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,Mt(t))||se(e,t))}function Js(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:a,renderCache:u,props:d,data:m,setupState:g,ctx:y,inheritAttrs:x}=e,v=us(e);let A,T;try{if(n.shapeFlag&4){const M=r||s,q=M;A=ft(a.call(q,M,u,d,g,m,y)),T=l}else{const M=t;A=ft(M.length>1?M(d,{attrs:l,slots:i,emit:c}):M(d,null)),T=t.props?l:Yc(l)}}catch(M){kn.length=0,As(M,e,1),A=L(Kt)}let I=A;if(T&&x!==!1){const M=Object.keys(T),{shapeFlag:q}=I;M.length&&q&7&&(o&&M.some(Tr)&&(T=Xc(T,o)),I=cn(I,T,!1,!0))}return n.dirs&&(I=cn(I,null,!1,!0),I.dirs=I.dirs?I.dirs.concat(n.dirs):n.dirs),n.transition&&Ur(I,n.transition),A=I,us(v),A}const Yc=e=>{let t;for(const n in e)(n==="class"||n==="style"||xs(n))&&((t||(t={}))[n]=e[n]);return t},Xc=(e,t)=>{const n={};for(const s in e)(!Tr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function eu(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?vo(s,i,a):!!i;if(c&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function nu(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):fc(e)}const G=Symbol.for("v-fgt"),Ts=Symbol.for("v-txt"),Kt=Symbol.for("v-cmt"),Zs=Symbol.for("v-stc"),kn=[];let We=null;function w(e=!1){kn.push(We=e?null:[])}function su(){kn.pop(),We=kn[kn.length-1]||null}let Mn=1;function _o(e,t=!1){Mn+=e,e<0&&We&&t&&(We.hasOnce=!0)}function yl(e){return e.dynamicChildren=Mn>0?We||tn:null,su(),Mn>0&&We&&We.push(e),e}function C(e,t,n,s,r,o){return yl(f(e,t,n,s,r,o,!0))}function Te(e,t,n,s,r){return yl(L(e,t,n,s,r,!0))}function ps(e){return e?e.__v_isVNode===!0:!1}function yn(e,t){return e.type===t.type&&e.key===t.key}const xl=({key:e})=>e??null,ts=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ee(e)||Oe(e)||K(e)?{i:Ke,r:e,k:t,f:!!n}:e:null);function f(e,t=null,n=null,s=0,r=null,o=e===G?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&xl(t),ref:t&&ts(t),scopeId:Wi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ke};return l?(Kr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=Ee(n)?8:16),Mn>0&&!i&&We&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&We.push(c),c}const L=ru;function ru(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Ac)&&(e=Kt),ps(e)){const l=cn(e,t,!0);return n&&Kr(l,n),Mn>0&&!o&&We&&(l.shapeFlag&6?We[We.indexOf(e)]=l:We.push(l)),l.patchFlag=-2,l}if(mu(e)&&(e=e.__vccOpts),t){t=ou(t);let{class:l,style:c}=t;l&&!Ee(l)&&(t.class=ee(l)),he(c)&&(Fr(c)&&!H(c)&&(c=ke({},c)),t.style=Nn(c))}const i=Ee(e)?1:bl(e)?128:dc(e)?64:he(e)?4:K(e)?2:0;return f(e,t,n,s,r,i,o,!0)}function ou(e){return e?Fr(e)||ll(e)?ke({},e):e:null}function cn(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,a=t?iu(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&xl(a),ref:t&&t.ref?n&&o?H(o)?o.concat(ts(t)):[o,ts(t)]:ts(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==G?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cn(e.ssContent),ssFallback:e.ssFallback&&cn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Ur(u,c.clone(u)),u}function we(e=" ",t=0){return L(Ts,null,e,t)}function _e(e="",t=!1){return t?(w(),Te(Kt,null,e)):L(Kt,null,e)}function ft(e){return e==null||typeof e=="boolean"?L(Kt):H(e)?L(G,null,e.slice()):ps(e)?Tt(e):L(Ts,null,String(e))}function Tt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cn(e)}function Kr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Kr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!ll(t)?t._ctx=Ke:r===3&&Ke&&(Ke.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:Ke},n=32):(t=String(t),s&64?(n=16,t=[we(t)]):n=8);e.children=t,e.shapeFlag|=n}function iu(...e){const t={};for(let n=0;n{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};hs=t("__VUE_INSTANCE_SETTERS__",n=>je=n),gr=t("__VUE_SSR_SETTERS__",n=>jn=n)}const Hn=e=>{const t=je;return hs(e),e.scope.on(),()=>{e.scope.off(),hs(t)}},wo=()=>{je&&je.scope.off(),hs(null)};function vl(e){return e.vnode.shapeFlag&4}let jn=!1;function uu(e,t=!1,n=!1){t&&gr(t);const{props:s,children:r}=e.vnode,o=vl(e);Lc(e,s,o,t),Nc(e,r,n);const i=o?fu(e,t):void 0;return t&&gr(!1),i}function fu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,kc);const{setup:s}=n;if(s){jt();const r=e.setupContext=s.length>1?pu(e):null,o=Hn(e),i=zn(s,e,0,[e.props,r]),l=yi(i);if(Lt(),o(),(l||e.sp)&&!An(e)&&Yi(e),l){if(i.then(wo,wo),t)return i.then(c=>{Eo(e,c,t)}).catch(c=>{As(c,e,0)});e.asyncDep=i}else Eo(e,i,t)}else _l(e,t)}function Eo(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:he(t)&&(e.setupState=zi(t)),_l(e,n)}let So;function _l(e,t,n){const s=e.type;if(!e.render){if(!t&&So&&!s.render){const r=s.template||zr(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=ke(ke({isCustomElement:o,delimiters:l},i),c);s.render=So(r,a)}}e.render=s.render||pt}{const r=Hn(e);jt();try{Tc(e)}finally{Lt(),r()}}}const du={get(e,t){return $e(e,"get",""),e[t]}};function pu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,du),slots:e.slots,emit:e.emit,expose:t}}function Os(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(zi(Ya(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Rn)return Rn[n](e)},has(t,n){return n in t||n in Rn}})):e.proxy}function hu(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function mu(e){return K(e)&&"__vccOpts"in e}const Je=(e,t)=>ic(e,t,jn);function wl(e,t,n){const s=arguments.length;return s===2?he(t)&&!H(t)?ps(t)?L(e,null,[t]):L(e,t):L(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ps(n)&&(n=[n]),L(e,t,n))}const gu="3.5.13";/** +* @vue/runtime-dom v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let br;const Co=typeof window<"u"&&window.trustedTypes;if(Co)try{br=Co.createPolicy("vue",{createHTML:e=>e})}catch{}const El=br?e=>br.createHTML(e):e=>e,bu="http://www.w3.org/2000/svg",yu="http://www.w3.org/1998/Math/MathML",wt=typeof document<"u"?document:null,Ao=wt&&wt.createElement("template"),xu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?wt.createElementNS(bu,e):t==="mathml"?wt.createElementNS(yu,e):n?wt.createElement(e,{is:n}):wt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>wt.createTextNode(e),createComment:e=>wt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>wt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Ao.innerHTML=El(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Ao.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},vu=Symbol("_vtc");function _u(e,t,n){const s=e[vu];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ro=Symbol("_vod"),wu=Symbol("_vsh"),Eu=Symbol(""),Su=/(^|;)\s*display\s*:/;function Cu(e,t,n){const s=e.style,r=Ee(n);let o=!1;if(n&&!r){if(t)if(Ee(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&ns(s,l,"")}else for(const i in t)n[i]==null&&ns(s,i,"");for(const i in n)i==="display"&&(o=!0),ns(s,i,n[i])}else if(r){if(t!==n){const i=s[Eu];i&&(n+=";"+i),s.cssText=n,o=Su.test(n)}}else t&&e.removeAttribute("style");Ro in e&&(e[Ro]=o?s.display:"",e[wu]&&(s.display="none"))}const ko=/\s*!important$/;function ns(e,t,n){if(H(n))n.forEach(s=>ns(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Au(e,t);ko.test(n)?e.setProperty(Mt(s),n.replace(ko,""),"important"):e[s]=n}}const To=["Webkit","Moz","ms"],Ys={};function Au(e,t){const n=Ys[t];if(n)return n;let s=Ye(t);if(s!=="filter"&&s in e)return Ys[t]=s;s=ws(s);for(let r=0;rXs||(Ou.then(()=>Xs=0),Xs=Date.now());function Pu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;mt($u(s,n.value),t,5,[s])};return n.value=e,n.attached=Iu(),n}function $u(e,t){if(H(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const jo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Mu=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?_u(e,s,i):t==="style"?Cu(e,n,s):xs(t)?Tr(t)||ku(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ju(e,t,s,i))?(Po(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Io(e,t,s,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ee(s))?Po(e,Ye(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Io(e,t,s,i))};function ju(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&jo(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return jo(t)&&Ee(n)?!1:t in e}const ms=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>Yn(t,n):t};function Lu(e){e.target.composing=!0}function Lo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const an=Symbol("_assign"),dt={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[an]=ms(r);const o=s||r.props&&r.props.type==="number";Ut(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=is(l)),e[an](l)}),n&&Ut(e,"change",()=>{e.value=e.value.trim()}),t||(Ut(e,"compositionstart",Lu),Ut(e,"compositionend",Lo),Ut(e,"change",Lo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[an]=ms(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?is(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},It={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=vs(t);Ut(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?is(gs(i)):gs(i));e[an](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,Br(()=>{e._assigning=!1})}),e[an]=ms(s)},mounted(e,{value:t}){Do(e,t)},beforeUpdate(e,t,n){e[an]=ms(n)},updated(e,{value:t}){e._assigning||Do(e,t)}};function Do(e,t){const n=e.multiple,s=H(t);if(!(n&&!s&&!vs(t))){for(let r=0,o=e.options.length;rString(a)===String(l)):i.selected=Oa(t,l)>-1}else i.selected=t.has(l);else if(Ss(gs(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function gs(e){return"_value"in e?e._value:e.value}const Du=["ctrl","shift","alt","meta"],Fu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Du.some(n=>e[`${n}Key`]&&!t.includes(n))},Fo=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=Mt(r.key);if(t.some(i=>i===o||Bu[i]===o))return e(r)})},Uu=ke({patchProp:Mu},xu);let Bo;function zu(){return Bo||(Bo=zc(Uu))}const Hu=(...e)=>{const t=zu().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Vu(s);if(!r)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,qu(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function qu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Vu(e){return Ee(e)?document.querySelector(e):e}/*! + * vue-router v4.4.5 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const en=typeof document<"u";function Sl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ku(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Sl(e.default)}const ie=Object.assign;function er(e,t){const n={};for(const s in t){const r=t[s];n[s]=st(r)?r.map(e):e(r)}return n}const Tn=()=>{},st=Array.isArray,Cl=/#/g,Wu=/&/g,Qu=/\//g,Gu=/=/g,Ju=/\?/g,Al=/\+/g,Zu=/%5B/g,Yu=/%5D/g,Rl=/%5E/g,Xu=/%60/g,kl=/%7B/g,ef=/%7C/g,Tl=/%7D/g,tf=/%20/g;function Wr(e){return encodeURI(""+e).replace(ef,"|").replace(Zu,"[").replace(Yu,"]")}function nf(e){return Wr(e).replace(kl,"{").replace(Tl,"}").replace(Rl,"^")}function yr(e){return Wr(e).replace(Al,"%2B").replace(tf,"+").replace(Cl,"%23").replace(Wu,"%26").replace(Xu,"`").replace(kl,"{").replace(Tl,"}").replace(Rl,"^")}function sf(e){return yr(e).replace(Gu,"%3D")}function rf(e){return Wr(e).replace(Cl,"%23").replace(Ju,"%3F")}function of(e){return e==null?"":rf(e).replace(Qu,"%2F")}function Ln(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const lf=/\/$/,af=e=>e.replace(lf,"");function tr(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=df(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:Ln(i)}}function cf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function No(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function uf(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&un(t.matched[s],n.matched[r])&&Ol(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function un(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ol(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ff(e[n],t[n]))return!1;return!0}function ff(e,t){return st(e)?Uo(e,t):st(t)?Uo(t,e):e===t}function Uo(e,t){return st(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function df(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const Rt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Dn;(function(e){e.pop="pop",e.push="push"})(Dn||(Dn={}));var On;(function(e){e.back="back",e.forward="forward",e.unknown=""})(On||(On={}));function pf(e){if(!e)if(en){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),af(e)}const hf=/^[^#]+#/;function mf(e,t){return e.replace(hf,"#")+t}function gf(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Is=()=>({left:window.scrollX,top:window.scrollY});function bf(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=gf(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function zo(e,t){return(history.state?history.state.position-t:-1)+e}const xr=new Map;function yf(e,t){xr.set(e,t)}function xf(e){const t=xr.get(e);return xr.delete(e),t}let vf=()=>location.protocol+"//"+location.host;function Il(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),No(c,"")}return No(n,e)+s+r}function _f(e,t,n,s){let r=[],o=[],i=null;const l=({state:m})=>{const g=Il(e,location),y=n.value,x=t.value;let v=0;if(m){if(n.value=g,t.value=m,i&&i===y){i=null;return}v=x?m.position-x.position:0}else s(g);r.forEach(A=>{A(n.value,y,{delta:v,type:Dn.pop,direction:v?v>0?On.forward:On.back:On.unknown})})};function c(){i=n.value}function a(m){r.push(m);const g=()=>{const y=r.indexOf(m);y>-1&&r.splice(y,1)};return o.push(g),g}function u(){const{history:m}=window;m.state&&m.replaceState(ie({},m.state,{scroll:Is()}),"")}function d(){for(const m of o)m();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:a,destroy:d}}function Ho(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Is():null}}function wf(e){const{history:t,location:n}=window,s={value:Il(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,a,u){const d=e.indexOf("#"),m=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+c:vf()+e+c;try{t[u?"replaceState":"pushState"](a,"",m),r.value=a}catch(g){console.error(g),n[u?"replace":"assign"](m)}}function i(c,a){const u=ie({},t.state,Ho(r.value.back,c,r.value.forward,!0),a,{position:r.value.position});o(c,u,!0),s.value=c}function l(c,a){const u=ie({},r.value,t.state,{forward:c,scroll:Is()});o(u.current,u,!0);const d=ie({},Ho(s.value,c,null),{position:u.position+1},a);o(c,d,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function Ef(e){e=pf(e);const t=wf(e),n=_f(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ie({location:"",base:e,go:s,createHref:mf.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Sf(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Ef(e)}function Cf(e){return typeof e=="string"||e&&typeof e=="object"}function Pl(e){return typeof e=="string"||typeof e=="symbol"}const $l=Symbol("");var qo;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(qo||(qo={}));function fn(e,t){return ie(new Error,{type:e,[$l]:!0},t)}function _t(e,t){return e instanceof Error&&$l in e&&(t==null||!!(e.type&t))}const Vo="[^/]+?",Af={sensitive:!1,strict:!1,start:!0,end:!0},Rf=/[.+*?^${}()[\]/\\]/g;function kf(e,t){const n=ie({},Af,t),s=[];let r=n.start?"^":"";const o=[];for(const a of e){const u=a.length?[]:[90];n.strict&&!a.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function Ml(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Of={type:0,value:""},If=/[a-zA-Z0-9_]/;function Pf(e){if(!e)return[[]];if(e==="/")return[[Of]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${a}": ${g}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,a="",u="";function d(){a&&(n===0?o.push({type:0,value:a}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:a,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function m(){a+=c}for(;l{i(I)}:Tn}function i(d){if(Pl(d)){const m=s.get(d);m&&(s.delete(d),n.splice(n.indexOf(m),1),m.children.forEach(i),m.alias.forEach(i))}else{const m=n.indexOf(d);m>-1&&(n.splice(m,1),d.record.name&&s.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function l(){return n}function c(d){const m=Df(d,n);n.splice(m,0,d),d.record.name&&!Go(d)&&s.set(d.record.name,d)}function a(d,m){let g,y={},x,v;if("name"in d&&d.name){if(g=s.get(d.name),!g)throw fn(1,{location:d});v=g.record.name,y=ie(Wo(m.params,g.keys.filter(I=>!I.optional).concat(g.parent?g.parent.keys.filter(I=>I.optional):[]).map(I=>I.name)),d.params&&Wo(d.params,g.keys.map(I=>I.name))),x=g.stringify(y)}else if(d.path!=null)x=d.path,g=n.find(I=>I.re.test(x)),g&&(y=g.parse(x),v=g.record.name);else{if(g=m.name?s.get(m.name):n.find(I=>I.re.test(m.path)),!g)throw fn(1,{location:d,currentLocation:m});v=g.record.name,y=ie({},m.params,d.params),x=g.stringify(y)}const A=[];let T=g;for(;T;)A.unshift(T.record),T=T.parent;return{name:v,path:x,params:y,matched:A,meta:Lf(A)}}e.forEach(d=>o(d));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:a,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function Wo(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Qo(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:jf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function jf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Go(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Lf(e){return e.reduce((t,n)=>ie(t,n.meta),{})}function Jo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Df(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Ml(e,t[o])<0?s=o:n=o+1}const r=Ff(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Ff(e){let t=e;for(;t=t.parent;)if(jl(t)&&Ml(e,t)===0)return t}function jl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Bf(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&yr(o)):[s&&yr(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Nf(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=st(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Uf=Symbol(""),Yo=Symbol(""),Ps=Symbol(""),Qr=Symbol(""),vr=Symbol("");function xn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ot(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const a=m=>{m===!1?c(fn(4,{from:n,to:t})):m instanceof Error?c(m):Cf(m)?c(fn(2,{from:t,to:m})):(i&&s.enterCallbacks[r]===i&&typeof m=="function"&&i.push(m),l())},u=o(()=>e.call(s&&s.instances[r],t,n,a));let d=Promise.resolve(u);e.length<3&&(d=d.then(a)),d.catch(m=>c(m))})}function nr(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Sl(c)){const u=(c.__vccOpts||c)[t];u&&o.push(Ot(u,n,s,i,l,r))}else{let a=c();o.push(()=>a.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const d=Ku(u)?u.default:u;i.mods[l]=u,i.components[l]=d;const g=(d.__vccOpts||d)[t];return g&&Ot(g,n,s,i,l,r)()}))}}return o}function Xo(e){const t=nt(Ps),n=nt(Qr),s=Je(()=>{const c=Se(e.to);return t.resolve(c)}),r=Je(()=>{const{matched:c}=s.value,{length:a}=c,u=c[a-1],d=n.matched;if(!u||!d.length)return-1;const m=d.findIndex(un.bind(null,u));if(m>-1)return m;const g=ei(c[a-2]);return a>1&&ei(u)===g&&d[d.length-1].path!==g?d.findIndex(un.bind(null,c[a-2])):m}),o=Je(()=>r.value>-1&&Vf(n.params,s.value.params)),i=Je(()=>r.value>-1&&r.value===n.matched.length-1&&Ol(n.params,s.value.params));function l(c={}){return qf(c)?t[Se(e.replace)?"replace":"push"](Se(e.to)).catch(Tn):Promise.resolve()}return{route:s,href:Je(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const zf=Zi({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Xo,setup(e,{slots:t}){const n=Un(Xo(e)),{options:s}=nt(Ps),r=Je(()=>({[ti(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ti(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:wl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Hf=zf;function qf(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Vf(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!st(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function ei(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ti=(e,t,n)=>e??t??n,Kf=Zi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=nt(vr),r=Je(()=>e.route||s.value),o=nt(Yo,0),i=Je(()=>{let a=Se(o);const{matched:u}=r.value;let d;for(;(d=u[a])&&!d.components;)a++;return a}),l=Je(()=>r.value.matched[i.value]);es(Yo,Je(()=>i.value+1)),es(Uf,l),es(vr,r);const c=Q();return ln(()=>[c.value,l.value,e.name],([a,u,d],[m,g,y])=>{u&&(u.instances[d]=a,g&&g!==u&&a&&a===m&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),a&&u&&(!g||!un(u,g)||!m)&&(u.enterCallbacks[d]||[]).forEach(x=>x(a))},{flush:"post"}),()=>{const a=r.value,u=e.name,d=l.value,m=d&&d.components[u];if(!m)return ni(n.default,{Component:m,route:a});const g=d.props[u],y=g?g===!0?a.params:typeof g=="function"?g(a):g:null,v=wl(m,ie({},y,t,{onVnodeUnmounted:A=>{A.component.isUnmounted&&(d.instances[u]=null)},ref:c}));return ni(n.default,{Component:v,route:a})||v}}});function ni(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ll=Kf;function Wf(e){const t=Mf(e.routes,e),n=e.parseQuery||Bf,s=e.stringifyQuery||Zo,r=e.history,o=xn(),i=xn(),l=xn(),c=Xa(Rt);let a=Rt;en&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=er.bind(null,S=>""+S),d=er.bind(null,of),m=er.bind(null,Ln);function g(S,B){let D,N;return Pl(S)?(D=t.getRecordMatcher(S),N=B):N=S,t.addRoute(N,D)}function y(S){const B=t.getRecordMatcher(S);B&&t.removeRoute(B)}function x(){return t.getRoutes().map(S=>S.record)}function v(S){return!!t.getRecordMatcher(S)}function A(S,B){if(B=ie({},B||c.value),typeof S=="string"){const h=tr(n,S,B.path),b=t.resolve({path:h.path},B),R=r.createHref(h.fullPath);return ie(h,b,{params:m(b.params),hash:Ln(h.hash),redirectedFrom:void 0,href:R})}let D;if(S.path!=null)D=ie({},S,{path:tr(n,S.path,B.path).path});else{const h=ie({},S.params);for(const b in h)h[b]==null&&delete h[b];D=ie({},S,{params:d(h)}),B.params=d(B.params)}const N=t.resolve(D,B),re=S.hash||"";N.params=u(m(N.params));const xe=cf(s,ie({},S,{hash:nf(re),path:N.path})),p=r.createHref(xe);return ie({fullPath:xe,hash:re,query:s===Zo?Nf(S.query):S.query||{}},N,{redirectedFrom:void 0,href:p})}function T(S){return typeof S=="string"?tr(n,S,c.value.path):ie({},S)}function I(S,B){if(a!==S)return fn(8,{from:B,to:S})}function M(S){return Z(S)}function q(S){return M(ie(T(S),{replace:!0}))}function Y(S){const B=S.matched[S.matched.length-1];if(B&&B.redirect){const{redirect:D}=B;let N=typeof D=="function"?D(S):D;return typeof N=="string"&&(N=N.includes("?")||N.includes("#")?N=T(N):{path:N},N.params={}),ie({query:S.query,hash:S.hash,params:N.path!=null?{}:S.params},N)}}function Z(S,B){const D=a=A(S),N=c.value,re=S.state,xe=S.force,p=S.replace===!0,h=Y(D);if(h)return Z(ie(T(h),{state:typeof h=="object"?ie({},re,h.state):re,force:xe,replace:p}),B||D);const b=D;b.redirectedFrom=B;let R;return!xe&&uf(s,N,D)&&(R=fn(16,{to:b,from:N}),it(N,N,!0,!1)),(R?Promise.resolve(R):Ie(b,N)).catch(E=>_t(E)?_t(E,2)?E:At(E):ne(E,b,N)).then(E=>{if(E){if(_t(E,2))return Z(ie({replace:p},T(E.to),{state:typeof E.to=="object"?ie({},re,E.to.state):re,force:xe}),B||b)}else E=Dt(b,N,!0,p,re);return Xe(b,N,E),E})}function ue(S,B){const D=I(S,B);return D?Promise.reject(D):Promise.resolve()}function ye(S){const B=Zt.values().next().value;return B&&typeof B.runWithContext=="function"?B.runWithContext(S):S()}function Ie(S,B){let D;const[N,re,xe]=Qf(S,B);D=nr(N.reverse(),"beforeRouteLeave",S,B);for(const h of N)h.leaveGuards.forEach(b=>{D.push(Ot(b,S,B))});const p=ue.bind(null,S,B);return D.push(p),Ge(D).then(()=>{D=[];for(const h of o.list())D.push(Ot(h,S,B));return D.push(p),Ge(D)}).then(()=>{D=nr(re,"beforeRouteUpdate",S,B);for(const h of re)h.updateGuards.forEach(b=>{D.push(Ot(b,S,B))});return D.push(p),Ge(D)}).then(()=>{D=[];for(const h of xe)if(h.beforeEnter)if(st(h.beforeEnter))for(const b of h.beforeEnter)D.push(Ot(b,S,B));else D.push(Ot(h.beforeEnter,S,B));return D.push(p),Ge(D)}).then(()=>(S.matched.forEach(h=>h.enterCallbacks={}),D=nr(xe,"beforeRouteEnter",S,B,ye),D.push(p),Ge(D))).then(()=>{D=[];for(const h of i.list())D.push(Ot(h,S,B));return D.push(p),Ge(D)}).catch(h=>_t(h,8)?h:Promise.reject(h))}function Xe(S,B,D){l.list().forEach(N=>ye(()=>N(S,B,D)))}function Dt(S,B,D,N,re){const xe=I(S,B);if(xe)return xe;const p=B===Rt,h=en?history.state:{};D&&(N||p?r.replace(S.fullPath,ie({scroll:p&&h&&h.scroll},re)):r.push(S.fullPath,re)),c.value=S,it(S,B,D,p),At()}let ot;function mn(){ot||(ot=r.listen((S,B,D)=>{if(!Wn.listening)return;const N=A(S),re=Y(N);if(re){Z(ie(re,{replace:!0}),N).catch(Tn);return}a=N;const xe=c.value;en&&yf(zo(xe.fullPath,D.delta),Is()),Ie(N,xe).catch(p=>_t(p,12)?p:_t(p,2)?(Z(p.to,N).then(h=>{_t(h,20)&&!D.delta&&D.type===Dn.pop&&r.go(-1,!1)}).catch(Tn),Promise.reject()):(D.delta&&r.go(-D.delta,!1),ne(p,N,xe))).then(p=>{p=p||Dt(N,xe,!1),p&&(D.delta&&!_t(p,8)?r.go(-D.delta,!1):D.type===Dn.pop&&_t(p,20)&&r.go(-1,!1)),Xe(N,xe,p)}).catch(Tn)}))}let Gt=xn(),Ae=xn(),ce;function ne(S,B,D){At(S);const N=Ae.list();return N.length?N.forEach(re=>re(S,B,D)):console.error(S),Promise.reject(S)}function xt(){return ce&&c.value!==Rt?Promise.resolve():new Promise((S,B)=>{Gt.add([S,B])})}function At(S){return ce||(ce=!S,mn(),Gt.list().forEach(([B,D])=>S?D(S):B()),Gt.reset()),S}function it(S,B,D,N){const{scrollBehavior:re}=e;if(!en||!re)return Promise.resolve();const xe=!D&&xf(zo(S.fullPath,0))||(N||!D)&&history.state&&history.state.scroll||null;return Br().then(()=>re(S,B,xe)).then(p=>p&&bf(p)).catch(p=>ne(p,S,B))}const Ne=S=>r.go(S);let Jt;const Zt=new Set,Wn={currentRoute:c,listening:!0,addRoute:g,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:x,resolve:A,options:e,push:M,replace:q,go:Ne,back:()=>Ne(-1),forward:()=>Ne(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:Ae.add,isReady:xt,install(S){const B=this;S.component("RouterLink",Hf),S.component("RouterView",Ll),S.config.globalProperties.$router=B,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>Se(c)}),en&&!Jt&&c.value===Rt&&(Jt=!0,M(r.location).catch(re=>{}));const D={};for(const re in Rt)Object.defineProperty(D,re,{get:()=>c.value[re],enumerable:!0});S.provide(Ps,B),S.provide(Qr,Bi(D)),S.provide(vr,c);const N=S.unmount;Zt.add(S),S.unmount=function(){Zt.delete(S),Zt.size<1&&(a=Rt,ot&&ot(),ot=null,c.value=Rt,Jt=!1,ce=!1),N()}}};function Ge(S){return S.reduce((B,D)=>B.then(()=>ye(D)),Promise.resolve())}return Wn}function Qf(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iun(a,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(a=>un(a,c))||r.push(c))}return[n,s,r]}function $s(){return nt(Ps)}function Gr(e){return nt(Qr)}const Gf={__name:"App",setup(e){return(t,n)=>(w(),Te(Se(Ll)))}},Jf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2023%2023'%3e%3cpath%20fill='%23f3f3f3'%20d='M0%200h23v23H0z'/%3e%3cpath%20fill='%23f35325'%20d='M1%201h10v10H1z'/%3e%3cpath%20fill='%2381bc06'%20d='M12%201h10v10H12z'/%3e%3cpath%20fill='%2305a6f0'%20d='M1%2012h10v10H1z'/%3e%3cpath%20fill='%23ffba08'%20d='M12%2012h10v10H12z'/%3e%3c/svg%3e",Ce=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Zf={props:{customClass:{type:String},sizeClass:{type:String,default:"text-5xl"}}},Yf={class:"flex space-x-1"};function Xf(e,t,n,s,r,o){return w(),C("div",Yf,[f("h1",{class:ee([n.customClass||"text-light"])},[f("span",{class:ee(["italic",n.sizeClass])},"Achei",2)],2),f("h1",{class:ee([n.customClass||"text-light"])},[f("span",{class:ee(["font-bold",n.sizeClass])},"UnB",2)],2)])}const gt=Ce(Zf,[["render",Xf]]),ed={id:"transition-screen",class:"fixed inset-0 flex items-center justify-center z-50"},td={class:"fixed inset-0 flex items-center justify-center z-50"},nd={id:"main-content",class:"telaInteira bg-azul text-white p-4 min-h-screen hidden"},sd={class:"titulo flex space-x-1 mt-20 mb-20 ml-8 md:flex md:justify-center md:mb-52"},rd={__name:"Login",setup(e){window.addEventListener("load",()=>{const n=document.getElementById("transition-screen"),s=document.getElementById("main-content");setTimeout(()=>{n.classList.add("fade-out")},500),n.addEventListener("animationend",()=>{n.classList.add("hidden"),s.classList.remove("hidden"),s.classList.add("fade-in")})});function t(){window.location.href="https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=f1b79927-10ff-4601-a361-f9cab58fb250&scope=User.Read&response_type=code&state=Zay5NfY4tSn7JgvO&domain=alunos.unb.br"}return(n,s)=>(w(),C(G,null,[f("div",ed,[f("div",td,[L(gt,{customClass:"text-azul"})])]),f("div",nd,[f("div",sd,[L(gt)]),s[1]||(s[1]=f("div",{class:"slogan max-w-72 ml-8 md:mr-8 md:max-w-none md:w-auto md:text-center"},[f("p",{class:"text-5xl font-bold mb-4 md:text-6xl"},"Perdeu algo no campus?"),f("p",{class:"text-5xl italic font-light mb-4 md:text-6xl"},"A gente te ajuda!")],-1)),f("div",{class:"flex justify-center mt-52"},[f("button",{onClick:t,class:"flex items-center rounded-full bg-gray-50 px-5 py-3 text-md font-medium text-azul ring-1 ring-inset ring-gray-500/10"},s[0]||(s[0]=[f("img",{src:Jf,alt:"Logo Microsoft",class:"h-6 w-auto mr-2"},null,-1),we(" Entre com a conta da Microsoft ")]))])])],64))}},od=Ce(rd,[["__scopeId","data-v-cdb7a9e0"]]),id={name:"AboutHeader",props:{text:String}},ld={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-center text-white p-6"},ad={class:"font-inter font-semibold text-2xl"};function cd(e,t,n,s,r,o){return w(),C("div",ld,[f("div",null,[f("span",ad,J(n.text?n.text:"Sobre o projeto"),1)])])}const ud=Ce(id,[["render",cd]]),fd={name:"MainMenu",props:{activeIcon:String}},dd={class:"h-full bg-azul shadow-md rounded-t-xl flex items-center justify-center text-white gap-x-9 p-8"};function pd(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",dd,[L(i,{to:"/found",class:"no-underline"},{default:be(()=>[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:ee(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="search"}])},t[0]||(t[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"},null,-1)]),2))]),_:1}),L(i,{to:"/user",class:"no-underline"},{default:be(()=>[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:ee(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="user"}])},t[1]||(t[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"},null,-1)]),2))]),_:1}),L(i,{to:"/about",class:"no-underline"},{default:be(()=>[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:ee(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="info"}])},t[2]||(t[2]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"},null,-1)]),2))]),_:1}),L(i,{to:"/chats",class:"no-underline"},{default:be(()=>[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:ee(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="chat"}])},t[3]||(t[3]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 0 1-2.555-.337A5.972 5.972 0 0 1 5.41 20.97a5.969 5.969 0 0 1-.474-.065 4.48 4.48 0 0 0 .978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25Z"},null,-1)]),2))]),_:1})])}const yt=Ce(fd,[["render",pd]]),Dl="/static/dist/assets/Favicon-DZaE_dAz.png",hd={class:"relative min-h-screen"},md={class:"fixed w-full top-0",style:{"z-index":"1"}},gd={class:"pt-[120px] flex justify-center my-6 text-azul"},bd={class:"max-w-4xl mx-auto mt-10 p-5 pb-[140px]"},yd={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6"},xd=["href"],vd=["src","alt"],_d={class:"text-center mt-2"},wd={class:"font-inter font-medium"},Ed={class:"fixed bottom-0 w-full"},Sd={__name:"About",setup(e){const t=Q(Dl),n=[{name:"Ana Elisa Ramos",github:"https://github.com/anaelisaramos",image:"https://github.com/anaelisaramos.png"},{name:"Davi Camilo",github:"https://github.com/DaviCamilo23",image:"https://github.com/DaviCamilo23.png"},{name:"Euller Júlio da Silva",github:"https://github.com/potatoyz908",image:"https://github.com/potatoyz908.png"},{name:"Leonardo Ramiro",github:"https://github.com/leoramiroo",image:"https://github.com/leoramiroo.png"},{name:"Pedro Everton",github:"https://github.com/pedroeverton217",image:"https://github.com/pedroeverton217.png"},{name:"Pedro Martins Silva",github:"https://github.com/314dro",image:"https://github.com/314dro.png"},{name:"Tiago Balieiro",github:"https://github.com/TiagoBalieiro",image:"https://github.com/TiagoBalieiro.png"}];return(s,r)=>{const o=me("ButtonAdd");return w(),C("div",hd,[f("div",{class:"absolute inset-0 bg-no-repeat bg-cover bg-center opacity-10 z-[-1]",style:Nn({backgroundImage:`url(${t.value})`,backgroundSize:s.isLargeScreen?"50%":"contain",backgroundAttachment:"fixed"})},null,4),f("div",md,[L(ud)]),f("div",gd,[L(gt)]),r[2]||(r[2]=f("span",{class:"font-inter text-azul text-center flex justify-center items-center mx-auto max-w-3xl sm:px-0 px-4 md:max-w-2xl mt-7"},[we(" Somos um grupo da disciplina Métodos de Desenvolvimento de Software da Universidade de Brasília."),f("br"),we(" Temos como objetivo solucionar um dos problemas da faculdade, que é a falta de ferramentas para organizar itens achados e perdidos pelos estudantes."),f("br"),we(" Com o AcheiUnB você consegue de forma simples e intuitiva procurar pelo seu item perdido ou cadastrar um item que você encontrou. ")],-1)),r[3]||(r[3]=f("div",{class:"flex justify-center mt-6"},[f("a",{href:"https://unb-mds.github.io/2024-2-AcheiUnB/CONTRIBUTING/",target:"_blank",class:"bg-laranja text-white font-semibold px-8 py-3 text-lg lg:text-xl rounded-full hover:bg-azulEscuro transition hover:text-white duration-300 shadow-md hover:scale-110 transition-transform"}," Como Contribuir? ")],-1)),f("div",bd,[r[1]||(r[1]=f("div",{class:"text-azul text-lg text-center font-semibold mb-7"},"Criado por:",-1)),f("div",yd,[(w(),C(G,null,ve(n,i=>f("div",{key:i.name,class:"flex flex-col items-center"},[f("a",{href:i.github,target:"_blank"},[f("img",{src:i.image,alt:i.name,class:"w-[100px] rounded-full hover:scale-110 transition-transform"},null,8,vd)],8,xd),f("div",_d,[f("p",wd,J(i.name),1),r[0]||(r[0]=f("p",{class:"text-sm text-cinza3"},"Engenharia de Software",-1))])])),64))])]),L(o),f("div",Ed,[L(yt,{activeIcon:"info"})])])}}},Jr="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%238899a8'%20class='size-6'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m14.74%209-.346%209m-4.788%200L9.26%209m9.968-3.21c.342.052.682.107%201.022.166m-1.022-.165L18.16%2019.673a2.25%202.25%200%200%201-2.244%202.077H8.084a2.25%202.25%200%200%201-2.244-2.077L4.772%205.79m14.456%200a48.108%2048.108%200%200%200-3.478-.397m-12%20.562c.34-.059.68-.114%201.022-.165m0%200a48.11%2048.11%200%200%201%203.478-.397m7.5%200v-.916c0-1.18-.91-2.164-2.09-2.201a51.964%2051.964%200%200%200-3.32%200c-1.18.037-2.09%201.022-2.09%202.201v.916m7.5%200a48.667%2048.667%200%200%200-7.5%200'%20/%3e%3c/svg%3e",Cd="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%23133E78'%20%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M15%2010.5a3%203%200%201%201-6%200%203%203%200%200%201%206%200Z'%20/%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M19.5%2010.5c0%207.142-7.5%2011.25-7.5%2011.25S4.5%2017.642%204.5%2010.5a7.5%207.5%200%201%201%2015%200Z'%20/%3e%3c/svg%3e",Ad={class:"w-full h-[120px] bg-cinza2 rounded-sm flex justify-center items-start"},Rd=["src"],kd={key:0,class:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50"},Td={class:"text-azul font-bold font-inter mt-1 truncate"},Od={class:"flex items-start"},Id={class:"text-azul font-inter text-sm"},Pd={class:"text-right font-inter font-bold text-xs text-cinza3 p-1 flex justify-end items-center"},Ms={__name:"Item-Card",props:{id:Number,image:String,name:String,time:String,location:String,isMyItem:{type:Boolean,default:!1}},emits:["delete"],setup(e,{emit:t}){const n=e,s=t,r=$s(),o=Q(!1),i=Q(null),l=()=>{o.value||r.push({name:"ListItem",query:{idItem:n.id}})},c=()=>{o.value=!1,i.value=null,document.body.style.overflow=""},a=()=>{s("delete",n.id),o.value=!1};return(u,d)=>(w(),C("div",{class:"w-[170px] sm:w-[190px] h-[230px] bg-cinza1 rounded-sm shadow-complete p-2 flex flex-col relative z-0",onClick:d[2]||(d[2]=m=>l())},[f("div",Ad,[f("img",{src:e.image,class:"rounded-sm w-full h-full max-w-full max-h-full object-cover"},null,8,Rd)]),e.isMyItem?(w(),C("button",{key:0,class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-7 h-7 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:d[0]||(d[0]=Fo(m=>o.value=!0,["stop"]))},d[3]||(d[3]=[f("img",{src:Jr,alt:"Excluir"},null,-1)]))):_e("",!0),(w(),Te(hc,{to:"body"},[o.value?(w(),C("div",kd,[f("div",{class:"bg-azul p-6 rounded-lg shadow-lg w-full max-w-sm sm:max-w-md lg:max-w-lg text-center relative",onClick:d[1]||(d[1]=Fo(()=>{},["stop"]))},[d[4]||(d[4]=f("p",{class:"text-white font-inter text-lg"}," Você realmente deseja excluir este item do AcheiUnB? ",-1)),f("div",{class:"flex flex-col sm:flex-row justify-center mt-4 gap-4"},[f("button",{class:"bg-red-500 text-white font-inter px-4 py-2 rounded-md hover:bg-red-600 transition w-full sm:w-auto",onClick:a}," Excluir "),f("button",{class:"bg-white font-inter px-4 py-2 rounded-md hover:bg-gray-200 transition w-full sm:w-auto",onClick:c}," Cancelar ")])])])):_e("",!0)])),d[6]||(d[6]=f("div",{class:"h-[2px] w-1/4 bg-laranja mt-4"},null,-1)),f("div",Td,J(e.name),1),f("div",Od,[d[5]||(d[5]=f("img",{src:Cd,alt:"",class:"w-[15px] h-[15px] mr-1"},null,-1)),f("div",Id,J(e.location),1)]),f("span",Pd,[e.isMyItem?_e("",!0):(w(),C(G,{key:0},[we(J(e.time),1)],64))])]))}},Fl="data:image/svg+xml,%3csvg%20class='svg%20w-8'%20fill='none'%20height='24'%20stroke='%23133E78'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20viewBox='0%200%2024%2024'%20width='24'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cline%20x1='12'%20x2='12'%20y1='5'%20y2='19'%3e%3c/line%3e%3cline%20x1='5'%20x2='19'%20y1='12'%20y2='12'%3e%3c/line%3e%3c/svg%3e",$d={props:{customClass:{name:"ButtonAdd",type:String}}};function Md(e,t,n,s,r,o){const i=me("router-link");return w(),Te(i,{to:"/register-lost"},{default:be(()=>t[0]||(t[0]=[f("button",{class:"fixed right-0 bottom-28 rounded-l-lg w-60 h-12 cursor-pointer flex items-center border border-laranja bg-laranja group hover:bg-laranja active:bg-laranja active:border-laranja"},[f("span",{class:"text-azul font-inter font-medium ml-6 transform group-hover:translate-x-0"},"Adicionar item perdido"),f("span",{class:"absolute right-0 h-full w-10 rounded-lg bg-laranja flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300"},[f("img",{src:Fl,alt:""})])],-1)])),_:1})}const jd=Ce($d,[["render",Md]]),le=Un({searchQuery:"",activeCategory:null,activeLocation:null}),Ld=e=>{le.searchQuery=e},Dd=e=>{le.activeCategory==e?le.activeCategory=null:le.activeCategory=e},Fd=e=>{le.activeLocation==e?le.activeLocation=null:le.activeLocation=e},Bd={name:"SearchBar",setup(){return{filtersState:le,setSearchQuery:Ld,setActiveCategory:Dd,setActiveLocation:Fd}},data(){return{showFilters:!1,isActive:!1,categories:[{label:"Animais",active:!1},{label:"Eletrônicos",active:!1},{label:"Mochilas e Bolsas",active:!1},{label:"Chaves",active:!1},{label:"Livros e Materiais Acadêmicos",active:!1},{label:"Documentos e Cartões",active:!1},{label:"Equipamentos Esportivos",active:!1},{label:"Roupas e Acessórios",active:!1},{label:"Itens Pessoais",active:!1},{label:"Outros",active:!1}],locations:[{label:"RU",active:!1},{label:"Biblioteca",active:!1},{label:"UED",active:!1},{label:"UAC",active:!1},{label:"LTDEA",active:!1},{label:"Centro Acadêmico",active:!1}]}},computed:{isMediumOrLarger(){return window.innerWidth>=768},searchQueryWithoutAccents(){return this.searchQuery?this.searchQuery.normalize("NFD").replace(/[\u0300-\u036f]/g,""):""}},methods:{toggleActive(){this.isActive=!this.isActive},toggleFilters(){this.showFilters=!this.showFilters},toggleFilter(e,t){e==="category"?this.categories.forEach((n,s)=>{s===t?n.active=!n.active:n.active=!1}):e==="location"&&this.locations.forEach((n,s)=>{s===t?n.active=!n.active:n.active=!1})}}},Nd={class:"flex gap-2 flex-wrap mt-4"},Ud=["onClick"],zd={class:"flex gap-2 flex-wrap mt-4"},Hd=["onClick"];function qd(e,t,n,s,r,o){return w(),C("form",{class:ee(["absolute flex items-center",{"fixed w-full top-6 pr-8 z-50":r.isActive&&!o.isMediumOrLarger,"relative w-auto":!r.isActive||o.isMediumOrLarger}])},[f("button",{onClick:t[0]||(t[0]=i=>{o.toggleFilters(),o.toggleActive()}),class:"absolute left-3 text-gray-500 hover:text-gray-700 transition-colors z-50",type:"button"},t[5]||(t[5]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-6"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"})],-1)])),Re(f("input",{"onUpdate:modelValue":t[1]||(t[1]=i=>s.filtersState.searchQuery=i),class:"input bg-gray-200 rounded-full px-10 py-2 my-1 border-2 border-transparent focus:outline-none focus:border-laranja placeholder-gray-500 text-gray-700 transition-all duration-300 shadow-md pr-10 w-full z-40",placeholder:"Pesquise seu item",type:"text",onInput:t[2]||(t[2]=i=>s.setSearchQuery(s.filtersState.searchQuery)),onFocus:t[3]||(t[3]=i=>r.isActive=!0),onBlur:t[4]||(t[4]=i=>{r.isActive=!1,r.showFilters=!1})},null,544),[[dt,s.filtersState.searchQuery]]),f("button",{class:ee(["absolute right-4 top-1/2 -translate-y-1/2 p-1 text-gray-400 hover:text-gray-600 transition-colors duration-200 z-50",{"pr-8":r.isActive&&!o.isMediumOrLarger}]),type:"submit"},t[6]||(t[6]=[f("svg",{width:"17",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-labelledby":"search",class:"w-5 h-5"},[f("path",{d:"M7.667 12.667A5.333 5.333 0 107.667 2a5.333 5.333 0 000 10.667zM14.334 14l-2.9-2.9",stroke:"currentColor","stroke-width":"1.333","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]),2),r.showFilters?(w(),C("div",{key:0,class:ee(["absolute left-0 bg-gray-200 shadow-lg rounded-xl p-4 z-30",{"w-fit mr-8":r.isActive&&!o.isMediumOrLarger,"w-full":o.isMediumOrLarger}]),style:{top:"calc(50% - 4px)"}},[f("div",Nd,[t[7]||(t[7]=f("span",{class:"w-full text-azul text-2xl font-bold"},"Categoria ",-1)),(w(!0),C(G,null,ve(r.categories,(i,l)=>(w(),C("button",{key:l,onClick:c=>(o.toggleFilter("category",l),s.setActiveCategory(i.label)),class:ee(["px-4 py-2 rounded-full border text-sm",i.active?"bg-laranja text-azul border-black":"bg-gray-200 text-azul border-black"])},J(i.label),11,Ud))),128))]),t[9]||(t[9]=f("div",{class:"h-[2px] w-full bg-laranja mt-4"},null,-1)),f("div",zd,[t[8]||(t[8]=f("span",{class:"w-full text-azul text-2xl font-bold"},"Local ",-1)),(w(!0),C(G,null,ve(r.locations,(i,l)=>(w(),C("button",{key:l,onClick:c=>(o.toggleFilter("location",l),s.setActiveLocation(i.label)),class:ee(["px-4 py-2 rounded-full border text-sm",i.active?"bg-laranja text-azul border-black":"bg-gray-200 text-azul border-black"])},J(i.label),11,Hd))),128))])],2)):_e("",!0)],2)}const Vd=Ce(Bd,[["render",qd]]),Kd={name:"SearchHeader",components:{SearchBar:Vd,Logo:gt}},Wd={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between text-white gap-x-9 p-4"},Qd={class:"flex-1"};function Gd(e,t,n,s,r,o){const i=me("SearchBar"),l=me("Logo"),c=me("router-link");return w(),C("div",Wd,[f("div",Qd,[L(i)]),f("button",null,[L(c,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const Zr=Ce(Kd,[["render",Gd]]),Jd={name:"SubMenu"},Zd={class:"flex pt-8 space-x-8 justify-center"};function Yd(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",Zd,[L(i,{to:"/found",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[we(" Achados ")])),_:1}),t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Perdidos"),f("div",{class:"h-[2px] bg-laranja"})],-1))])}const Xd=Ce(Jd,[["render",Yd]]);function Bl(e,t){return function(){return e.apply(t,arguments)}}const{toString:ep}=Object.prototype,{getPrototypeOf:Yr}=Object,js=(e=>t=>{const n=ep.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),rt=e=>(e=e.toLowerCase(),t=>js(t)===e),Ls=e=>t=>typeof t===e,{isArray:dn}=Array,Fn=Ls("undefined");function tp(e){return e!==null&&!Fn(e)&&e.constructor!==null&&!Fn(e.constructor)&&Qe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Nl=rt("ArrayBuffer");function np(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Nl(e.buffer),t}const sp=Ls("string"),Qe=Ls("function"),Ul=Ls("number"),Ds=e=>e!==null&&typeof e=="object",rp=e=>e===!0||e===!1,ss=e=>{if(js(e)!=="object")return!1;const t=Yr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},op=rt("Date"),ip=rt("File"),lp=rt("Blob"),ap=rt("FileList"),cp=e=>Ds(e)&&Qe(e.pipe),up=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Qe(e.append)&&((t=js(e))==="formdata"||t==="object"&&Qe(e.toString)&&e.toString()==="[object FormData]"))},fp=rt("URLSearchParams"),[dp,pp,hp,mp]=["ReadableStream","Request","Response","Headers"].map(rt),gp=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function qn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),dn(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const zt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Hl=e=>!Fn(e)&&e!==zt;function _r(){const{caseless:e}=Hl(this)&&this||{},t={},n=(s,r)=>{const o=e&&zl(t,r)||r;ss(t[o])&&ss(s)?t[o]=_r(t[o],s):ss(s)?t[o]=_r({},s):dn(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s(qn(t,(r,o)=>{n&&Qe(r)?e[o]=Bl(r,n):e[o]=r},{allOwnKeys:s}),e),yp=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),xp=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},vp=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&Yr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},_p=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},wp=e=>{if(!e)return null;if(dn(e))return e;let t=e.length;if(!Ul(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Ep=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Yr(Uint8Array)),Sp=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},Cp=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Ap=rt("HTMLFormElement"),Rp=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),si=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),kp=rt("RegExp"),ql=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};qn(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},Tp=e=>{ql(e,(t,n)=>{if(Qe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Qe(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Op=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return dn(e)?s(e):s(String(e).split(t)),n},Ip=()=>{},Pp=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,sr="abcdefghijklmnopqrstuvwxyz",ri="0123456789",Vl={DIGIT:ri,ALPHA:sr,ALPHA_DIGIT:sr+sr.toUpperCase()+ri},$p=(e=16,t=Vl.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function Mp(e){return!!(e&&Qe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const jp=e=>{const t=new Array(10),n=(s,r)=>{if(Ds(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=dn(s)?[]:{};return qn(s,(i,l)=>{const c=n(i,r+1);!Fn(c)&&(o[l]=c)}),t[r]=void 0,o}}return s};return n(e,0)},Lp=rt("AsyncFunction"),Dp=e=>e&&(Ds(e)||Qe(e))&&Qe(e.then)&&Qe(e.catch),Kl=((e,t)=>e?setImmediate:t?((n,s)=>(zt.addEventListener("message",({source:r,data:o})=>{r===zt&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),zt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Qe(zt.postMessage)),Fp=typeof queueMicrotask<"u"?queueMicrotask.bind(zt):typeof process<"u"&&process.nextTick||Kl,_={isArray:dn,isArrayBuffer:Nl,isBuffer:tp,isFormData:up,isArrayBufferView:np,isString:sp,isNumber:Ul,isBoolean:rp,isObject:Ds,isPlainObject:ss,isReadableStream:dp,isRequest:pp,isResponse:hp,isHeaders:mp,isUndefined:Fn,isDate:op,isFile:ip,isBlob:lp,isRegExp:kp,isFunction:Qe,isStream:cp,isURLSearchParams:fp,isTypedArray:Ep,isFileList:ap,forEach:qn,merge:_r,extend:bp,trim:gp,stripBOM:yp,inherits:xp,toFlatObject:vp,kindOf:js,kindOfTest:rt,endsWith:_p,toArray:wp,forEachEntry:Sp,matchAll:Cp,isHTMLForm:Ap,hasOwnProperty:si,hasOwnProp:si,reduceDescriptors:ql,freezeMethods:Tp,toObjectSet:Op,toCamelCase:Rp,noop:Ip,toFiniteNumber:Pp,findKey:zl,global:zt,isContextDefined:Hl,ALPHABET:Vl,generateString:$p,isSpecCompliantForm:Mp,toJSONObject:jp,isAsyncFn:Lp,isThenable:Dp,setImmediate:Kl,asap:Fp};function W(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}_.inherits(W,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:_.toJSONObject(this.config),code:this.code,status:this.status}}});const Wl=W.prototype,Ql={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ql[e]={value:e}});Object.defineProperties(W,Ql);Object.defineProperty(Wl,"isAxiosError",{value:!0});W.from=(e,t,n,s,r,o)=>{const i=Object.create(Wl);return _.toFlatObject(e,i,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),W.call(i,e.message,t,n,s,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Bp=null;function wr(e){return _.isPlainObject(e)||_.isArray(e)}function Gl(e){return _.endsWith(e,"[]")?e.slice(0,-2):e}function oi(e,t,n){return e?e.concat(t).map(function(r,o){return r=Gl(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Np(e){return _.isArray(e)&&!e.some(wr)}const Up=_.toFlatObject(_,{},null,function(t){return/^is[A-Z]/.test(t)});function Fs(e,t,n){if(!_.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=_.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,v){return!_.isUndefined(v[x])});const s=n.metaTokens,r=n.visitor||u,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&_.isSpecCompliantForm(t);if(!_.isFunction(r))throw new TypeError("visitor must be a function");function a(y){if(y===null)return"";if(_.isDate(y))return y.toISOString();if(!c&&_.isBlob(y))throw new W("Blob is not supported. Use a Buffer instead.");return _.isArrayBuffer(y)||_.isTypedArray(y)?c&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function u(y,x,v){let A=y;if(y&&!v&&typeof y=="object"){if(_.endsWith(x,"{}"))x=s?x:x.slice(0,-2),y=JSON.stringify(y);else if(_.isArray(y)&&Np(y)||(_.isFileList(y)||_.endsWith(x,"[]"))&&(A=_.toArray(y)))return x=Gl(x),A.forEach(function(I,M){!(_.isUndefined(I)||I===null)&&t.append(i===!0?oi([x],M,o):i===null?x:x+"[]",a(I))}),!1}return wr(y)?!0:(t.append(oi(v,x,o),a(y)),!1)}const d=[],m=Object.assign(Up,{defaultVisitor:u,convertValue:a,isVisitable:wr});function g(y,x){if(!_.isUndefined(y)){if(d.indexOf(y)!==-1)throw Error("Circular reference detected in "+x.join("."));d.push(y),_.forEach(y,function(A,T){(!(_.isUndefined(A)||A===null)&&r.call(t,A,_.isString(T)?T.trim():T,x,m))===!0&&g(A,x?x.concat(T):[T])}),d.pop()}}if(!_.isObject(e))throw new TypeError("data must be an object");return g(e),t}function ii(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Xr(e,t){this._pairs=[],e&&Fs(e,this,t)}const Jl=Xr.prototype;Jl.append=function(t,n){this._pairs.push([t,n])};Jl.toString=function(t){const n=t?function(s){return t.call(this,s,ii)}:ii;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function zp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Zl(e,t,n){if(!t)return e;const s=n&&n.encode||zp;_.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(r?o=r(t,n):o=_.isURLSearchParams(t)?t.toString():new Xr(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class li{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){_.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Yl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Hp=typeof URLSearchParams<"u"?URLSearchParams:Xr,qp=typeof FormData<"u"?FormData:null,Vp=typeof Blob<"u"?Blob:null,Kp={isBrowser:!0,classes:{URLSearchParams:Hp,FormData:qp,Blob:Vp},protocols:["http","https","file","blob","url","data"]},eo=typeof window<"u"&&typeof document<"u",Er=typeof navigator=="object"&&navigator||void 0,Wp=eo&&(!Er||["ReactNative","NativeScript","NS"].indexOf(Er.product)<0),Qp=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Gp=eo&&window.location.href||"http://localhost",Jp=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:eo,hasStandardBrowserEnv:Wp,hasStandardBrowserWebWorkerEnv:Qp,navigator:Er,origin:Gp},Symbol.toStringTag,{value:"Module"})),Le={...Jp,...Kp};function Zp(e,t){return Fs(e,new Le.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return Le.isNode&&_.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Yp(e){return _.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Xp(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s=n.length;return i=!i&&_.isArray(r)?r.length:i,c?(_.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!l):((!r[i]||!_.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&_.isArray(r[i])&&(r[i]=Xp(r[i])),!l)}if(_.isFormData(e)&&_.isFunction(e.entries)){const n={};return _.forEachEntry(e,(s,r)=>{t(Yp(s),r,n,0)}),n}return null}function eh(e,t,n){if(_.isString(e))try{return(t||JSON.parse)(e),_.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(0,JSON.stringify)(e)}const Vn={transitional:Yl,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=_.isObject(t);if(o&&_.isHTMLForm(t)&&(t=new FormData(t)),_.isFormData(t))return r?JSON.stringify(Xl(t)):t;if(_.isArrayBuffer(t)||_.isBuffer(t)||_.isStream(t)||_.isFile(t)||_.isBlob(t)||_.isReadableStream(t))return t;if(_.isArrayBufferView(t))return t.buffer;if(_.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Zp(t,this.formSerializer).toString();if((l=_.isFileList(t))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Fs(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),eh(t)):t}],transformResponse:[function(t){const n=this.transitional||Vn.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(_.isResponse(t)||_.isReadableStream(t))return t;if(t&&_.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?W.from(l,W.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Le.classes.FormData,Blob:Le.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};_.forEach(["delete","get","head","post","put","patch"],e=>{Vn.headers[e]={}});const th=_.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),nh=e=>{const t={};let n,s,r;return e&&e.split(` +`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&th[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},ai=Symbol("internals");function vn(e){return e&&String(e).trim().toLowerCase()}function rs(e){return e===!1||e==null?e:_.isArray(e)?e.map(rs):String(e)}function sh(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const rh=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function rr(e,t,n,s,r){if(_.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!_.isString(t)){if(_.isString(s))return t.indexOf(s)!==-1;if(_.isRegExp(s))return s.test(t)}}function oh(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function ih(e,t){const n=_.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}class Ue{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,c,a){const u=vn(c);if(!u)throw new Error("header name must be a non-empty string");const d=_.findKey(r,u);(!d||r[d]===void 0||a===!0||a===void 0&&r[d]!==!1)&&(r[d||c]=rs(l))}const i=(l,c)=>_.forEach(l,(a,u)=>o(a,u,c));if(_.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(_.isString(t)&&(t=t.trim())&&!rh(t))i(nh(t),n);else if(_.isHeaders(t))for(const[l,c]of t.entries())o(c,l,s);else t!=null&&o(n,t,s);return this}get(t,n){if(t=vn(t),t){const s=_.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return sh(r);if(_.isFunction(n))return n.call(this,r,s);if(_.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=vn(t),t){const s=_.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||rr(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=vn(i),i){const l=_.findKey(s,i);l&&(!n||rr(s,s[l],l,n))&&(delete s[l],r=!0)}}return _.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||rr(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return _.forEach(this,(r,o)=>{const i=_.findKey(s,o);if(i){n[i]=rs(r),delete n[o];return}const l=t?oh(o):String(o).trim();l!==o&&delete n[o],n[l]=rs(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return _.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&_.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[ai]=this[ai]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=vn(i);s[l]||(ih(r,i),s[l]=!0)}return _.isArray(t)?t.forEach(o):o(t),this}}Ue.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);_.reduceDescriptors(Ue.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});_.freezeMethods(Ue);function or(e,t){const n=this||Vn,s=t||n,r=Ue.from(s.headers);let o=s.data;return _.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function ea(e){return!!(e&&e.__CANCEL__)}function pn(e,t,n){W.call(this,e??"canceled",W.ERR_CANCELED,t,n),this.name="CanceledError"}_.inherits(pn,W,{__CANCEL__:!0});function ta(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new W("Request failed with status code "+n.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function lh(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ah(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const a=Date.now(),u=s[o];i||(i=a),n[r]=c,s[r]=a;let d=o,m=0;for(;d!==r;)m+=n[d++],d=d%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),a-i{n=u,r=null,o&&(clearTimeout(o),o=null),e.apply(null,a)};return[(...a)=>{const u=Date.now(),d=u-n;d>=s?i(a,u):(r=a,o||(o=setTimeout(()=>{o=null,i(r)},s-d)))},()=>r&&i(r)]}const bs=(e,t,n=3)=>{let s=0;const r=ah(50,250);return ch(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,c=i-s,a=r(c),u=i<=l;s=i;const d={loaded:i,total:l,progress:l?i/l:void 0,bytes:c,rate:a||void 0,estimated:a&&l&&u?(l-i)/a:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(d)},n)},ci=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},ui=e=>(...t)=>_.asap(()=>e(...t)),uh=Le.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Le.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Le.origin),Le.navigator&&/(msie|trident)/i.test(Le.navigator.userAgent)):()=>!0,fh=Le.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const i=[e+"="+encodeURIComponent(t)];_.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),_.isString(s)&&i.push("path="+s),_.isString(r)&&i.push("domain="+r),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function dh(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ph(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function na(e,t){return e&&!dh(t)?ph(e,t):t}const fi=e=>e instanceof Ue?{...e}:e;function Wt(e,t){t=t||{};const n={};function s(a,u,d,m){return _.isPlainObject(a)&&_.isPlainObject(u)?_.merge.call({caseless:m},a,u):_.isPlainObject(u)?_.merge({},u):_.isArray(u)?u.slice():u}function r(a,u,d,m){if(_.isUndefined(u)){if(!_.isUndefined(a))return s(void 0,a,d,m)}else return s(a,u,d,m)}function o(a,u){if(!_.isUndefined(u))return s(void 0,u)}function i(a,u){if(_.isUndefined(u)){if(!_.isUndefined(a))return s(void 0,a)}else return s(void 0,u)}function l(a,u,d){if(d in t)return s(a,u);if(d in e)return s(void 0,a)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(a,u,d)=>r(fi(a),fi(u),d,!0)};return _.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=c[u]||r,m=d(e[u],t[u],u);_.isUndefined(m)&&d!==l||(n[u]=m)}),n}const sa=e=>{const t=Wt({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:i,auth:l}=t;t.headers=i=Ue.from(i),t.url=Zl(na(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(_.isFormData(n)){if(Le.hasStandardBrowserEnv||Le.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((c=i.getContentType())!==!1){const[a,...u]=c?c.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([a||"multipart/form-data",...u].join("; "))}}if(Le.hasStandardBrowserEnv&&(s&&_.isFunction(s)&&(s=s(t)),s||s!==!1&&uh(t.url))){const a=r&&o&&fh.read(o);a&&i.set(r,a)}return t},hh=typeof XMLHttpRequest<"u",mh=hh&&function(e){return new Promise(function(n,s){const r=sa(e);let o=r.data;const i=Ue.from(r.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:a}=r,u,d,m,g,y;function x(){g&&g(),y&&y(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let v=new XMLHttpRequest;v.open(r.method.toUpperCase(),r.url,!0),v.timeout=r.timeout;function A(){if(!v)return;const I=Ue.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),q={data:!l||l==="text"||l==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:I,config:e,request:v};ta(function(Z){n(Z),x()},function(Z){s(Z),x()},q),v=null}"onloadend"in v?v.onloadend=A:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(A)},v.onabort=function(){v&&(s(new W("Request aborted",W.ECONNABORTED,e,v)),v=null)},v.onerror=function(){s(new W("Network Error",W.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let M=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const q=r.transitional||Yl;r.timeoutErrorMessage&&(M=r.timeoutErrorMessage),s(new W(M,q.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,v)),v=null},o===void 0&&i.setContentType(null),"setRequestHeader"in v&&_.forEach(i.toJSON(),function(M,q){v.setRequestHeader(q,M)}),_.isUndefined(r.withCredentials)||(v.withCredentials=!!r.withCredentials),l&&l!=="json"&&(v.responseType=r.responseType),a&&([m,y]=bs(a,!0),v.addEventListener("progress",m)),c&&v.upload&&([d,g]=bs(c),v.upload.addEventListener("progress",d),v.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(u=I=>{v&&(s(!I||I.type?new pn(null,e,v):I),v.abort(),v=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const T=lh(r.url);if(T&&Le.protocols.indexOf(T)===-1){s(new W("Unsupported protocol "+T+":",W.ERR_BAD_REQUEST,e));return}v.send(o||null)})},gh=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(a){if(!r){r=!0,l();const u=a instanceof Error?a:this.reason;s.abort(u instanceof W?u:new pn(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,o(new W(`timeout ${t} of ms exceeded`,W.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(a=>{a.unsubscribe?a.unsubscribe(o):a.removeEventListener("abort",o)}),e=null)};e.forEach(a=>a.addEventListener("abort",o));const{signal:c}=s;return c.unsubscribe=()=>_.asap(l),c}},bh=function*(e,t){let n=e.byteLength;if(n{const r=yh(e,t);let o=0,i,l=c=>{i||(i=!0,s&&s(c))};return new ReadableStream({async pull(c){try{const{done:a,value:u}=await r.next();if(a){l(),c.close();return}let d=u.byteLength;if(n){let m=o+=d;n(m)}c.enqueue(new Uint8Array(u))}catch(a){throw l(a),a}},cancel(c){return l(c),r.return()}},{highWaterMark:2})},Bs=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ra=Bs&&typeof ReadableStream=="function",vh=Bs&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),oa=(e,...t)=>{try{return!!e(...t)}catch{return!1}},_h=ra&&oa(()=>{let e=!1;const t=new Request(Le.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),pi=64*1024,Sr=ra&&oa(()=>_.isReadableStream(new Response("").body)),ys={stream:Sr&&(e=>e.body)};Bs&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!ys[t]&&(ys[t]=_.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new W(`Response type '${t}' is not supported`,W.ERR_NOT_SUPPORT,s)})})})(new Response);const wh=async e=>{if(e==null)return 0;if(_.isBlob(e))return e.size;if(_.isSpecCompliantForm(e))return(await new Request(Le.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(_.isArrayBufferView(e)||_.isArrayBuffer(e))return e.byteLength;if(_.isURLSearchParams(e)&&(e=e+""),_.isString(e))return(await vh(e)).byteLength},Eh=async(e,t)=>{const n=_.toFiniteNumber(e.getContentLength());return n??wh(t)},Sh=Bs&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:o,timeout:i,onDownloadProgress:l,onUploadProgress:c,responseType:a,headers:u,withCredentials:d="same-origin",fetchOptions:m}=sa(e);a=a?(a+"").toLowerCase():"text";let g=gh([r,o&&o.toAbortSignal()],i),y;const x=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let v;try{if(c&&_h&&n!=="get"&&n!=="head"&&(v=await Eh(u,s))!==0){let q=new Request(t,{method:"POST",body:s,duplex:"half"}),Y;if(_.isFormData(s)&&(Y=q.headers.get("content-type"))&&u.setContentType(Y),q.body){const[Z,ue]=ci(v,bs(ui(c)));s=di(q.body,pi,Z,ue)}}_.isString(d)||(d=d?"include":"omit");const A="credentials"in Request.prototype;y=new Request(t,{...m,signal:g,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:A?d:void 0});let T=await fetch(y);const I=Sr&&(a==="stream"||a==="response");if(Sr&&(l||I&&x)){const q={};["status","statusText","headers"].forEach(ye=>{q[ye]=T[ye]});const Y=_.toFiniteNumber(T.headers.get("content-length")),[Z,ue]=l&&ci(Y,bs(ui(l),!0))||[];T=new Response(di(T.body,pi,Z,()=>{ue&&ue(),x&&x()}),q)}a=a||"text";let M=await ys[_.findKey(ys,a)||"text"](T,e);return!I&&x&&x(),await new Promise((q,Y)=>{ta(q,Y,{data:M,headers:Ue.from(T.headers),status:T.status,statusText:T.statusText,config:e,request:y})})}catch(A){throw x&&x(),A&&A.name==="TypeError"&&/fetch/i.test(A.message)?Object.assign(new W("Network Error",W.ERR_NETWORK,e,y),{cause:A.cause||A}):W.from(A,A&&A.code,e,y)}}),Cr={http:Bp,xhr:mh,fetch:Sh};_.forEach(Cr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const hi=e=>`- ${e}`,Ch=e=>_.isFunction(e)||e===null||e===!1,ia={getAdapter:e=>{e=_.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : +`+o.map(hi).join(` +`):" "+hi(o[0]):"as no adapter specified";throw new W("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:Cr};function ir(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new pn(null,e)}function mi(e){return ir(e),e.headers=Ue.from(e.headers),e.data=or.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ia.getAdapter(e.adapter||Vn.adapter)(e).then(function(s){return ir(e),s.data=or.call(e,e.transformResponse,s),s.headers=Ue.from(s.headers),s},function(s){return ea(s)||(ir(e),s&&s.response&&(s.response.data=or.call(e,e.transformResponse,s.response),s.response.headers=Ue.from(s.response.headers))),Promise.reject(s)})}const la="1.7.8",Ns={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ns[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const gi={};Ns.transitional=function(t,n,s){function r(o,i){return"[Axios v"+la+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new W(r(i," has been removed"+(n?" in "+n:"")),W.ERR_DEPRECATED);return n&&!gi[i]&&(gi[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};Ns.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function Ah(e,t,n){if(typeof e!="object")throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new W("option "+o+" must be "+c,W.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new W("Unknown option "+o,W.ERR_BAD_OPTION)}}const os={assertOptions:Ah,validators:Ns},ct=os.validators;class qt{constructor(t){this.defaults=t,this.interceptors={request:new li,response:new li}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=` +`+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Wt(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&os.assertOptions(s,{silentJSONParsing:ct.transitional(ct.boolean),forcedJSONParsing:ct.transitional(ct.boolean),clarifyTimeoutError:ct.transitional(ct.boolean)},!1),r!=null&&(_.isFunction(r)?n.paramsSerializer={serialize:r}:os.assertOptions(r,{encode:ct.function,serialize:ct.function},!0)),os.assertOptions(n,{baseUrl:ct.spelling("baseURL"),withXsrfToken:ct.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&_.merge(o.common,o[n.method]);o&&_.forEach(["delete","get","head","post","put","patch","common"],y=>{delete o[y]}),n.headers=Ue.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(n)===!1||(c=c&&x.synchronous,l.unshift(x.fulfilled,x.rejected))});const a=[];this.interceptors.response.forEach(function(x){a.push(x.fulfilled,x.rejected)});let u,d=0,m;if(!c){const y=[mi.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,a),m=y.length,u=Promise.resolve(n);d{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new pn(o,i,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new to(function(r){t=r}),cancel:t}}}function Rh(e){return function(n){return e.apply(null,n)}}function kh(e){return _.isObject(e)&&e.isAxiosError===!0}const Ar={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ar).forEach(([e,t])=>{Ar[t]=e});function aa(e){const t=new qt(e),n=Bl(qt.prototype.request,t);return _.extend(n,qt.prototype,t,{allOwnKeys:!0}),_.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return aa(Wt(e,r))},n}const ge=aa(Vn);ge.Axios=qt;ge.CanceledError=pn;ge.CancelToken=to;ge.isCancel=ea;ge.VERSION=la;ge.toFormData=Fs;ge.AxiosError=W;ge.Cancel=ge.CanceledError;ge.all=function(t){return Promise.all(t)};ge.spread=Rh;ge.isAxiosError=kh;ge.mergeConfig=Wt;ge.AxiosHeaders=Ue;ge.formToJSON=e=>Xl(_.isHTMLForm(e)?new FormData(e):e);ge.getAdapter=ia.getAdapter;ge.HttpStatusCode=Ar;ge.default=ge;const Kn="http://localhost:8000/api/items",Th=async({page:e=1,search:t="",category_name:n="",location_name:s=""})=>{const r={page:e,...le.searchQuery&&{search:le.searchQuery},...le.activeCategory&&{category_name:le.activeCategory},...le.activeLocation&&{location_name:le.activeLocation}};return(await ge.get(`${Kn}/lost/`,{params:r})).data},Oh=async({page:e=1,search:t="",category_name:n="",location_name:s=""})=>{const r={page:e,...le.searchQuery&&{search:le.searchQuery},...le.activeCategory&&{category_name:le.activeCategory},...le.activeLocation&&{location_name:le.activeLocation}};return(await ge.get(`${Kn}/found/`,{params:r})).data},Ih=async()=>{try{return(await ge.get(`${Kn}/found/my-items/`)).data}catch(e){throw console.error("Erro ao buscar itens encontrados:",e),e}},Ph=async()=>{try{return(await ge.get(`${Kn}/lost/my-items/`)).data}catch(e){throw console.error("Erro ao buscar itens encontrados:",e),e}},ca=async e=>{try{await ge.delete(`${Kn}/${e}/`)}catch(t){throw console.error("Erro ao deletar o item:",t),t}},Us=e=>{const t=new Date,n=new Date(e),s=Math.floor((t-n)/1e3);if(s<60)return"Agora a pouco";if(s<3600){const r=Math.floor(s/60);return`Há ${r} minuto${r>1?"s":""}`}else if(s<86400){const r=Math.floor(s/3600);return`Há ${r} hora${r>1?"s":""}`}else{const r=Math.floor(s/86400);return`Há ${r} dia${r>1?"s":""}`}},Qt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM0AAACLCAYAAADCvR0YAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAASASURBVHhe7dxrT9RoHMbhinjCs0g8YyDE7/91MCoqalBjIB5BRTf/pjWsy+7OndhOX1xX0kynM74x/PL0edrOic3NzZ8NMLOF7hWYkWggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooHQic3NzZ/dPgNYWFhoLl++3L4O5cePH82HDx+a79+/d0cYkmgGdOrUqeb+/fuDBtM7PDxsXr161Xz58qU7wlBEM6C7d+82S0tL7Ujw8ePH7uifdfLkyeb06dNtoBXO48ePu08YimgG9ODBg/b13bt37TaUOv27ceNGu//kyROnaQOzEAAh0UBINBO3uLjYnDt3rt2YBtFMVE3sayFhfX29uXfvXrutra01ly5d6r7BvIhmgvpgauXtqDp+8+bN5sqVK90R5kE0E7S8vNwGUkvVL168aB4+fNg8f/68+fbt26/Px7j2w/H8z0/QhQsX2te6yv/58+d2f39/v9nZ2Wn369rM2bNn233GJ5oJq5HmqN/fMx+imaAaVUpN+vtRp07H+guYdZrWf4fxiWaCXr9+3Y4qdRp2+/bt9s6CjY2NX6dku7u7Rp05Es0E1Ujy7Nmzf9x8WaG8fPmy2dvb644wD6KZqApne3u72draalfQ6vXRo0fNp0+fum8wL6IZWc1Nzpw5M/MV/oqnVtD65WbmTzQjqljq+Zra+iv8dZvMLGpRoOY3tZ0/f747yjyIZiQXL15sQ+kvWpbar2P/F8HKykp7J0CtpNV2586d5tq1a92njE00I6hR4tatW+2pWZ1mPX36tJ3o136F828R9MvMV69ebd/XqtnBwUG7f/369WZ1dXXmkYo/RzQjqDBKrYZVLPWQWP3x1wS/n6tUBDWi9CqYuv+sHjAr9RDb27dv23/fP9BWS9CzjFT8WaIZSY0StRp29PpKBVMR9I9C14hSo0ctEtS8p78u8+bNm789+Vn79XsA/UjVXwBlHKIZQQVTo8RxKqIK4PfRo5/71P1mx12XqdCOjlSMRzQj6Och/6WiqUD6kahea2R6//59+/44FUxdv6koGY9oJqQCqdO1iqAWC2aJrXz9+rXbYwyimZgaPepUzi/KTJdoICSaAfXzk37JeSi1PM14/FjggI4+5z/kKlcfZb8wwLBEM6D6Y65whh5pSgVTq23mQsMTzQhqtBkynAqmnuTsTwcZlmggZAYJIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAORpvkL2ph89ykfsE8AAAAASUVORK5CYII=",ua="/static/dist/assets/found-and-lost-box-BIV9dkbR.jpg",$h={class:"flex flex-col items-center justify-center h-64 text-center"},Mh=["src"],jh={class:"text-cinza3 font-inter text-lg"},fa={__name:"Empty-State",props:{type:{type:String,required:!0}},setup(e){const t=e,{searchQuery:n,activeCategory:s,activeLocation:r}=nc(le),o=Je(()=>{const i=t.type==="achado"?"achado":"perdido";return n.value!=""?`não encontrou resultados para "${n.value}" nos itens ${i}s.`:s.value!=null?`não encontrou itens ${i}s da categoria "${s.value}".`:r.value!=null?`não encontrou itens ${i}s no local "${r.value}".`:`está sem itens ${i}s... Você pode adicionar um!`});return(i,l)=>(w(),C("div",$h,[f("img",{src:Se(ua),class:"w-40 h-40 mb-4"},null,8,Mh),f("p",jh,[l[0]||(l[0]=we(" Parece que o ")),l[1]||(l[1]=f("span",{class:"text-azul font-bold"},"AcheiUnB",-1)),we(" "+J(o.value),1)])]))}},Lh={class:"min-h-screen"},Dh={class:"fixed w-full top-0 z-10"},Fh={class:"pt-24 pb-8"},Bh={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-10"},Nh={class:"flex w-full justify-start sm:justify-center"},Uh={class:"ml-24 transform -translate-x-1/2 flex gap-4 z-10"},zh={class:"fixed bottom-0 w-full"},Hh={__name:"Lost",setup(e){const t=Q([]),n=Q(1),s=Q(1),r=async(l=1)=>{const{searchQuery:c,activeCategory:a,activeLocation:u}=le,d=await Th({page:l,search:c,category_name:a,location_name:u});t.value=d.results,s.value=Math.ceil(d.count/27)},o=()=>{n.value>1&&(n.value-=1,r(n.value))},i=()=>{n.value[le.searchQuery,le.activeCategory,le.activeLocation],()=>{n.value=1,r()}),bt(()=>r(n.value)),(l,c)=>(w(),C("div",Lh,[f("div",Dh,[L(Zr)]),f("div",Fh,[L(Xd)]),t.value.length===0?(w(),Te(fa,{key:0,type:"perdido"})):(w(),C("div",Bh,[(w(!0),C(G,null,ve(t.value,a=>(w(),Te(Ms,{key:a.id,name:a.name,location:a.location_name,time:Se(Us)(a.created_at),image:a.image_urls[0]||Se(Qt),id:a.id},null,8,["name","location","time","image","id"]))),128))])),f("div",Nh,[f("div",Uh,[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:o},c[0]||(c[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)]))),(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:i},c[1]||(c[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)])))])]),L(jd),f("div",zh,[L(yt,{activeIcon:"search"})])]))}},qh={props:{customClass:{name:"ButtonAdd",type:String}}};function Vh(e,t,n,s,r,o){const i=me("router-link");return w(),Te(i,{to:"/register-found"},{default:be(()=>t[0]||(t[0]=[f("button",{class:"fixed right-0 bottom-28 rounded-l-lg w-60 h-12 cursor-pointer flex items-center border border-laranja bg-laranja group hover:bg-laranja active:bg-laranja active:border-laranja"},[f("span",{class:"text-azul font-inter font-medium ml-6 transform group-hover:translate-x-0"},"Adicionar item achado"),f("span",{class:"absolute right-0 h-full w-10 rounded-lg bg-laranja flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300"},[f("img",{src:Fl,alt:""})])],-1)])),_:1})}const Kh=Ce(qh,[["render",Vh]]),Wh={name:"SubMenu"},Qh={class:"flex pt-8 space-x-8 justify-center"};function Gh(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",Qh,[t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Achados"),f("div",{class:"h-[2px] bg-laranja"})],-1)),L(i,{to:"/lost",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[we(" Perdidos ")])),_:1})])}const Jh=Ce(Wh,[["render",Gh]]),Zh={class:"min-h-screen"},Yh={class:"fixed w-full top-0 z-10"},Xh={class:"pt-24 pb-8"},em={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-10"},tm={class:"flex w-full justify-start sm:justify-center"},nm={class:"bottom-32 ml-24 transform -translate-x-1/2 flex gap-4 z-10"},sm={class:"fixed bottom-0 w-full"},rm={__name:"Found",setup(e){const t=Q([]),n=Q(1),s=Q(1),r=async(l=1)=>{const{searchQuery:c,activeCategory:a,activeLocation:u}=le,d=await Oh({page:l,search:c,category_name:a,location_name:u});t.value=d.results,s.value=Math.ceil(d.count/27)},o=()=>{n.value>1&&(n.value-=1,r(n.value))},i=()=>{n.value[le.searchQuery,le.activeCategory,le.activeLocation],()=>{n.value=1,r()}),bt(()=>r(n.value)),(l,c)=>(w(),C("div",Zh,[f("div",Yh,[L(Zr)]),f("div",Xh,[L(Jh)]),t.value.length===0?(w(),Te(fa,{key:0,type:"achado"})):(w(),C("div",em,[(w(!0),C(G,null,ve(t.value,a=>(w(),Te(Ms,{key:a.id,name:a.name,location:a.location_name,time:Se(Us)(a.created_at),image:a.image_urls[0]||Se(Qt),id:a.id},null,8,["name","location","time","image","id"]))),128))])),f("div",tm,[f("div",nm,[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:o},c[0]||(c[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)]))),(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:i},c[1]||(c[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)])))])]),L(Kh),f("div",sm,[L(yt,{activeIcon:"search"})])]))}};class da{constructor(t){this.entity=t}validate(){for(const t of this.entity.requiredFields){const n=this.entity[t];if(!n||n==="")return!1}return!0}toFormData(){const t=new FormData;for(const[n,s]of Object.entries(this.entity))n!=="requiredFields"&&s!==void 0&&s!==null&&(Array.isArray(s)?s.forEach((r,o)=>{t.append(`${n}[${o}]`,r)}):t.append(n,s??null));return t}setFieldValue(t,n){this.entity[t]=n}}class pa{constructor(t=null,n="",s="",r="",o="",i="",l="",c=null,a=null,u="",d="",m=["name","category","location"]){this.user=t,this.name=n,this.category=s,this.location=r,this.color=o,this.brand=l,this.description=c,this.images=a,this.status=u,this.found_lost_date=i,this.barcode=d,this.requiredFields=m}}const om={props:{type:{type:String,default:"info",validator:e=>["success","error","info","warning"].includes(e)},message:{type:String,required:!0},duration:{type:Number,default:3e3}},data(){return{visible:!0}},computed:{alertClasses(){return{success:"bg-green-200 border-r-4 border-green-600 text-green-600",error:"bg-red-200 border-r-4 border-red-600 text-red-600",info:"bg-blue-500",warning:"bg-yellow-500 text-black"}},alertClassesText(){return{success:"text-green-600",error:"text-red-600",info:"text-blue-600",warning:"text-black-600"}}},mounted(){this.duration>0&&setTimeout(()=>{this.closeAlert()},this.duration)},methods:{closeAlert(){this.visible=!1,this.$emit("closed")}}};function im(e,t,n,s,r,o){return r.visible?(w(),C("div",{key:0,class:ee(["fixed top-4 right-4 z-50 px-4 py-3 rounded flex items-center justify-between font-inter",o.alertClasses[n.type]]),role:"alert"},[f("p",null,J(n.message),1),f("button",{onClick:t[0]||(t[0]=(...i)=>o.closeAlert&&o.closeAlert(...i)),class:ee(["ml-4 font-bold focus:outline-none",o.alertClassesText[n.type]])}," ✕ ",2)],2)):_e("",!0)}const lm=Ce(om,[["render",im]]),ae=ge.create({baseURL:"http://localhost:8000/api",withCredentials:!0});ae.interceptors.response.use(e=>e,e=>(e.response.status===401&&ba.push({name:"Login"}),Promise.reject(e)));const Pt="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='currentColor'%20class='size-6%20stroke-white'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m19.5%208.25-7.5%207.5-7.5-7.5'%20/%3e%3c/svg%3e",ha="data:image/svg+xml,%3csvg%20class='svg%20w-8'%20fill='none'%20height='24'%20stroke='%23FFFFFF'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20viewBox='0%200%2024%2024'%20width='24'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cline%20x1='12'%20x2='12'%20y1='5'%20y2='19'%3e%3c/line%3e%3cline%20x1='5'%20x2='19'%20y1='12'%20y2='12'%3e%3c/line%3e%3c/svg%3e",am={name:"FormComponent",data(){return{item:new pa,foundTime:"",previews:[],submitError:!1,formSubmitted:!1,alertMessage:"",categories:[],locations:[],colors:[],brands:[]}},mounted(){this.initializeData()},methods:{initializeData(){this.initializeCategories(),this.initializeLocations(),this.initializeColors(),this.initializeBrands()},async initializeCategories(){try{const e=await ae.get("/categories/");this.categories=e.data.results}catch{console.log("Erro ao carregar categorias")}},async initializeLocations(){try{const e=await ae.get("/locations/");this.locations=e.data.results}catch{console.log("Erro ao carregar locais")}},async initializeColors(){try{const e=await ae.get("/colors/");this.colors=e.data.results}catch{console.log("Erro ao carregar cores")}},async initializeBrands(){try{const e=await ae.get("/brands/");this.brands=e.data.results}catch{console.log("Erro ao carregar marcas")}},async save(){this.item.status="lost";const e=new da(this.item);if(!e.validate()){this.alertMessage="Verifique os campos marcados com *.",this.submitError=!0;return}e.foundLostDate&&this.setFoundLostDate();const t=e.toFormData();try{await ae.post("/items/",t),this.formSubmitted=!0,setTimeout(()=>{window.location.replace("http://localhost:8000/#/lost")},1e3)}catch{this.alertMessage="Erro ao publicar item.",this.submitError=!0}},onFileChange(e){this.item.images||(this.item.images=[]);const t=Array.from(e.target.files);this.item.images.push(...t),t.forEach(n=>{const s=new FileReader;s.onload=r=>{this.previews.push(r.target.result)},s.readAsDataURL(n)})},setFoundLostDate(){const[e,t,n]=this.item.foundLostDate.split("-").map(Number),[s,r]=this.lostTime.split(":").map(Number);this.item.foundLostDate=new Date(n,t-1,e,s??0,r??0)},removeImage(e){this.previews.splice(e,1),this.item.images.splice(e,1)},handleSelectChange(e){const t=e.target;t.value=="clear"&&(this.item[`${t.id}`]="")}}},cm={class:"grid md:grid-cols-4 gap-4"},um={class:"mb-4 col-span-2"},fm={class:"block relative mb-4 col-span-2"},dm=["value"],pm={class:"block relative mb-4 col-span-2"},hm=["value"],mm={class:"block relative mb-4 col-span-2"},gm=["value"],bm={class:"block relative mb-4 col-span-2"},ym=["value"],xm={class:"mb-4 col-span-2"},vm={class:"mb-4 col-span-2"},_m={class:"mb-4 col-span-2"},wm=["disabled"],Em={class:"flex flex-wrap gap-4 col-span-3"},Sm=["src"],Cm=["onClick"],Am={class:"col-span-4"};function Rm(e,t,n,s,r,o){var l,c;const i=me("Alert");return w(),C(G,null,[f("form",{id:"app",onSubmit:t[14]||(t[14]=(...a)=>o.save&&o.save(...a))},[f("div",cm,[f("div",um,[t[17]||(t[17]=f("label",{for:"name",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Item "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("input",{id:"name",class:"appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline","onUpdate:modelValue":t[0]||(t[0]=a=>r.item.name=a),type:"text",name:"name",placeholder:"Escreva o nome do item"},null,512),[[dt,r.item.name]])]),f("div",fm,[t[20]||(t[20]=f("label",{for:"category",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Categoria "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("select",{id:"category",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.category===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[1]||(t[1]=a=>r.item.category=a),onChange:t[2]||(t[2]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"category"},[t[18]||(t[18]=f("option",{disabled:"",value:""},"Selecione",-1)),t[19]||(t[19]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.categories,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,dm))),128))],34),[[It,r.item.category]]),t[21]||(t[21]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",pm,[t[24]||(t[24]=f("label",{for:"location",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Local "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("select",{id:"location",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.location===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[3]||(t[3]=a=>r.item.location=a),onChange:t[4]||(t[4]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"location"},[t[22]||(t[22]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[23]||(t[23]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.locations,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,hm))),128))],34),[[It,r.item.location]]),t[25]||(t[25]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",mm,[t[28]||(t[28]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Cor",-1)),Re(f("select",{id:"color",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.color===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[5]||(t[5]=a=>r.item.color=a),onChange:t[6]||(t[6]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[26]||(t[26]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[27]||(t[27]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.colors,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,gm))),128))],34),[[It,r.item.color]]),t[29]||(t[29]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",bm,[t[32]||(t[32]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Marca",-1)),Re(f("select",{id:"brand",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.brand===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[7]||(t[7]=a=>r.item.brand=a),onChange:t[8]||(t[8]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[30]||(t[30]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[31]||(t[31]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.brands,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,ym))),128))],34),[[It,r.item.brand]]),t[33]||(t[33]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",xm,[t[34]||(t[34]=f("label",{for:"foundLostDate",class:"font-inter block text-azul text-sm font-bold mb-2"},"Data em que foi perdido",-1)),Re(f("input",{id:"foundLostDate",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.foundLostDate===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[9]||(t[9]=a=>r.item.foundLostDate=a),type:"date",name:"foundLostDate"},null,2),[[dt,r.item.foundLostDate]])]),f("div",vm,[t[35]||(t[35]=f("label",{for:"foundTime",class:"font-inter block text-azul text-sm font-bold mb-2"},"Horário em que foi perdido",-1)),Re(f("input",{id:"foundTime",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.foundTime===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[10]||(t[10]=a=>r.foundTime=a),type:"time",name:"foundTime"},null,2),[[dt,r.foundTime]])]),f("div",_m,[t[36]||(t[36]=f("label",{for:"description",class:"font-inter block text-azul text-sm font-bold mb-2"}," Descrição ",-1)),Re(f("textarea",{id:"description","onUpdate:modelValue":t[11]||(t[11]=a=>r.item.description=a),name:"description",rows:"4",placeholder:"Descreva detalhadamente o item",class:"w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,512),[[dt,r.item.description]])]),f("div",null,[f("label",{for:"images",class:ee(["flex bg-azul text-white text-base px-5 py-3 outline-none rounded cursor-pointer font-inter",((l=r.item.images)==null?void 0:l.length)>1?"opacity-50 cursor-not-allowed":""])},[t[37]||(t[37]=f("img",{src:ha,alt:"",class:"mr-2"},null,-1)),t[38]||(t[38]=we(" Adicionar imagens ")),f("input",{type:"file",id:"images",class:"hidden",onChange:t[12]||(t[12]=(...a)=>o.onFileChange&&o.onFileChange(...a)),disabled:((c=r.item.images)==null?void 0:c.length)>1},null,40,wm)],2)]),f("div",Em,[(w(!0),C(G,null,ve(r.previews,(a,u)=>(w(),C("div",{key:u,class:"w-64 h-64 border rounded relative"},[f("img",{src:a,alt:"Preview",class:"w-full h-full object-cover rounded"},null,8,Sm),f("div",{class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-12 h-12 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:d=>o.removeImage(u)},t[39]||(t[39]=[f("img",{src:Jr,alt:""},null,-1)]),8,Cm)]))),128))]),f("div",Am,[f("button",{type:"button",onClick:t[13]||(t[13]=(...a)=>o.save&&o.save(...a)),class:"inline-block text-center rounded-full bg-laranja px-5 py-3 text-md text-white w-full"}," Enviar ")])])],32),r.submitError?(w(),Te(i,{key:0,type:"error",message:r.alertMessage,onClosed:t[15]||(t[15]=a=>r.submitError=!1)},null,8,["message"])):_e("",!0),r.formSubmitted?(w(),Te(i,{key:1,type:"success",message:"Item publicado com sucesso",onClosed:t[16]||(t[16]=a=>r.formSubmitted=!1)})):_e("",!0)],64)}const km=Ce(am,[["render",Rm]]),hn="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%23FFFFFF'%20class='size-6'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m11.25%209-3%203m0%200%203%203m-3-3h7.5M21%2012a9%209%200%201%201-18%200%209%209%200%200%201%2018%200Z'%20/%3e%3c/svg%3e",Tm={name:"LostHeader",components:{Logo:gt},props:{text:String}},Om={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-start text-white gap-x-9 p-6"},Im={class:"font-inter font-semibold text-2xl"},Pm={class:"ml-auto"};function $m(e,t,n,s,r,o){const i=me("router-link"),l=me("Logo");return w(),C("div",Om,[L(i,{to:"/lost",class:"inline-block"},{default:be(()=>t[0]||(t[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),f("div",null,[f("span",Im,J(n.text??"Cadastro de item perdido"),1)]),f("button",Pm,[L(i,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const Mm=Ce(Tm,[["render",$m]]),jm={class:"fixed w-full top-0",style:{"z-index":"1"}},Lm={class:"px-6 py-[120px]",style:{"z-index":"2"}},Dm={class:"fixed bottom-0 w-full"},Fm={__name:"Register-Lost",setup(e){return(t,n)=>(w(),C(G,null,[f("div",jm,[L(Mm)]),f("div",Lm,[L(km)]),f("div",Dm,[L(yt,{activeIcon:"search"})])],64))}},Bm={name:"FormComponent",data(){return{item:new pa,foundTime:"",foundDate:"",previews:[],submitError:!1,formSubmitted:!1,alertMessage:"",categories:[],locations:[],colors:[],brands:[]}},mounted(){this.initializeData()},methods:{initializeData(){this.initializeCategories(),this.initializeLocations(),this.initializeColors(),this.initializeBrands()},async initializeCategories(){try{const e=await ae.get("/categories/");this.categories=e.data.results}catch{console.log("Erro ao carregar categorias")}},async initializeLocations(){try{const e=await ae.get("/locations/");this.locations=e.data.results}catch{console.log("Erro ao carregar locais")}},async initializeColors(){try{const e=await ae.get("/colors/");this.colors=e.data.results}catch{console.log("Erro ao carregar cores")}},async initializeBrands(){try{const e=await ae.get("/brands/");this.brands=e.data.results}catch{console.log("Erro ao carregar marcas")}},async save(){this.item.status="found";const e=new da(this.item);if(!e.validate()){this.alertMessage="Verifique os campos marcados com *.",this.submitError=!0;return}if(this.item.foundDate){const n=this.formatFoundLostDate();e.setFieldValue("found_lost_date",n)}const t=e.toFormData();try{await ae.post("/items/",t),this.formSubmitted=!0,setTimeout(()=>{window.location.replace("http://localhost:8000/#/found")},1e3)}catch{this.alertMessage="Erro ao publicar item.",this.submitError=!0}},onFileChange(e){this.item.images||(this.item.images=[]);const t=Array.from(e.target.files);this.item.images.push(...t),t.forEach(n=>{const s=new FileReader;s.onload=r=>{this.previews.push(r.target.result)},s.readAsDataURL(n)})},formatFoundLostDate(){var d;const[e,t,n]=this.item.foundDate.split("-").map(Number),[s,r]=(d=this.foundTime)==null?void 0:d.split(":").map(Number),o=new Date(e,t-1,n,s??0,r??0),i=o.getTimezoneOffset(),l=i>0?"-":"+",c=Math.abs(i),a=String(Math.floor(c/60)).padStart(2,"0"),u=String(c%60).padStart(2,"0");return`${o.getFullYear()}-${String(o.getMonth()+1).padStart(2,"0")}-${String(o.getDate()).padStart(2,"0")}T${String(o.getHours()).padStart(2,"0")}:${String(o.getMinutes()).padStart(2,"0")}:${String(o.getSeconds()).padStart(2,"0")}${l}${a}${u}`},removeImage(e){this.previews.splice(e,1),this.item.images.splice(e,1)},handleSelectChange(e){const t=e.target;t.value=="clear"&&(this.item[`${t.id}`]="")}}},Nm={class:"grid md:grid-cols-4 gap-4"},Um={class:"mb-4 col-span-2"},zm={class:"block relative mb-4 col-span-2"},Hm=["value"],qm={class:"block relative mb-4 col-span-2"},Vm=["value"],Km={class:"block relative mb-4 col-span-2"},Wm=["value"],Qm={class:"block relative mb-4 col-span-2"},Gm=["value"],Jm={class:"mb-4 col-span-2"},Zm={class:"mb-4 col-span-2"},Ym={class:"mb-4 col-span-2"},Xm=["disabled"],eg={class:"flex flex-wrap gap-4 col-span-3"},tg=["src"],ng=["onClick"],sg={class:"col-span-4"};function rg(e,t,n,s,r,o){var l,c;const i=me("Alert");return w(),C(G,null,[f("form",{id:"app",onSubmit:t[14]||(t[14]=(...a)=>o.save&&o.save(...a))},[f("div",Nm,[f("div",Um,[t[17]||(t[17]=f("label",{for:"name",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Item "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("input",{id:"name",class:"appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline","onUpdate:modelValue":t[0]||(t[0]=a=>r.item.name=a),type:"text",name:"name",placeholder:"Escreva o nome do item"},null,512),[[dt,r.item.name]])]),f("div",zm,[t[20]||(t[20]=f("label",{for:"category",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Categoria "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("select",{id:"category",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.category===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[1]||(t[1]=a=>r.item.category=a),onChange:t[2]||(t[2]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"category"},[t[18]||(t[18]=f("option",{disabled:"",value:""},"Selecione",-1)),t[19]||(t[19]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.categories,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,Hm))),128))],34),[[It,r.item.category]]),t[21]||(t[21]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",qm,[t[24]||(t[24]=f("label",{for:"location",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Local "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("select",{id:"location",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.location===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[3]||(t[3]=a=>r.item.location=a),onChange:t[4]||(t[4]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"location"},[t[22]||(t[22]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[23]||(t[23]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.locations,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,Vm))),128))],34),[[It,r.item.location]]),t[25]||(t[25]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",Km,[t[28]||(t[28]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Cor",-1)),Re(f("select",{id:"color",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.color===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[5]||(t[5]=a=>r.item.color=a),onChange:t[6]||(t[6]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[26]||(t[26]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[27]||(t[27]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.colors,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,Wm))),128))],34),[[It,r.item.color]]),t[29]||(t[29]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",Qm,[t[32]||(t[32]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Marca",-1)),Re(f("select",{id:"brand",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.brand===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[7]||(t[7]=a=>r.item.brand=a),onChange:t[8]||(t[8]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[30]||(t[30]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[31]||(t[31]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.brands,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,Gm))),128))],34),[[It,r.item.brand]]),t[33]||(t[33]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",Jm,[t[34]||(t[34]=f("label",{for:"foundDate",class:"font-inter block text-azul text-sm font-bold mb-2"},"Data em que foi achado",-1)),Re(f("input",{id:"foundDate",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.foundDate===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[9]||(t[9]=a=>r.item.foundDate=a),type:"date",name:"foundDate"},null,2),[[dt,r.item.foundDate]])]),f("div",Zm,[t[35]||(t[35]=f("label",{for:"foundTime",class:"font-inter block text-azul text-sm font-bold mb-2"},"Horário em que foi achado",-1)),Re(f("input",{id:"foundTime",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.foundTime===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[10]||(t[10]=a=>r.foundTime=a),type:"time",name:"foundTime"},null,2),[[dt,r.foundTime]])]),f("div",Ym,[t[36]||(t[36]=f("label",{for:"description",class:"font-inter block text-azul text-sm font-bold mb-2"}," Descrição ",-1)),Re(f("textarea",{id:"description","onUpdate:modelValue":t[11]||(t[11]=a=>r.item.description=a),name:"description",rows:"4",placeholder:"Descreva detalhadamente o item",class:"w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,512),[[dt,r.item.description]])]),f("div",null,[f("label",{for:"images",class:ee(["flex bg-azul text-white text-base px-5 py-3 outline-none rounded cursor-pointer font-inter",((l=r.item.images)==null?void 0:l.length)>1?"opacity-50 cursor-not-allowed":""])},[t[37]||(t[37]=f("img",{src:ha,alt:"",class:"mr-2"},null,-1)),t[38]||(t[38]=we(" Adicionar imagens ")),f("input",{type:"file",id:"images",class:"hidden",onChange:t[12]||(t[12]=(...a)=>o.onFileChange&&o.onFileChange(...a)),disabled:((c=r.item.images)==null?void 0:c.length)>1},null,40,Xm)],2)]),f("div",eg,[(w(!0),C(G,null,ve(r.previews,(a,u)=>(w(),C("div",{key:u,class:"w-64 h-64 border rounded relative"},[f("img",{src:a,alt:"Preview",class:"w-full h-full object-cover rounded"},null,8,tg),f("div",{class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-12 h-12 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:d=>o.removeImage(u)},t[39]||(t[39]=[f("img",{src:Jr,alt:""},null,-1)]),8,ng)]))),128))]),f("div",sg,[f("button",{type:"button",onClick:t[13]||(t[13]=(...a)=>o.save&&o.save(...a)),class:"inline-block text-center rounded-full bg-laranja px-5 py-3 text-md text-white w-full"}," Enviar ")])])],32),r.submitError?(w(),Te(i,{key:0,type:"error",message:r.alertMessage,onClosed:t[15]||(t[15]=a=>r.submitError=!1)},null,8,["message"])):_e("",!0),r.formSubmitted?(w(),Te(i,{key:1,type:"success",message:"Item publicado com sucesso",onClosed:t[16]||(t[16]=a=>r.formSubmitted=!1)})):_e("",!0)],64)}const og=Ce(Bm,[["render",rg]]),ig={name:"FoundHeader",components:{Logo:gt},props:{text:String}},lg={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-start text-white gap-x-9 p-6"},ag={class:"font-inter font-semibold text-2xl"},cg={class:"ml-auto"};function ug(e,t,n,s,r,o){const i=me("router-link"),l=me("Logo");return w(),C("div",lg,[L(i,{to:"/found",class:"inline-block"},{default:be(()=>t[0]||(t[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),f("div",null,[f("span",ag,J(n.text??"Cadastro de item achado"),1)]),f("button",cg,[L(i,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const fg=Ce(ig,[["render",ug]]),dg={class:"fixed w-full top-0",style:{"z-index":"1"}},pg={class:"px-6 py-[120px]",style:{"z-index":"2"}},hg={class:"fixed bottom-0 w-full"},mg={__name:"Register-Found",setup(e){return(t,n)=>(w(),C(G,null,[f("div",dg,[L(fg)]),f("div",pg,[L(og)]),f("div",hg,[L(yt,{activeIcon:"search"})])],64))}},gg={class:"flex flex-col items-center px-6 pt-10 lg:pt-16"},bg={class:"w-24 h-24 lg:w-32 lg:h-32 rounded-full flex items-center justify-center border-4 border-laranja overflow-hidden"},yg=["src"],xg={key:1,class:"w-full h-full bg-cinza2 flex items-center justify-center text-cinza3 text-sm lg:text-lg"},vg={class:"text-xl lg:text-3xl font-bold text-azul mt-4 lg:mt-6"},_g={class:"text-sm lg:text-lg text-cinza3"},wg={key:0,class:"text-sm lg:text-lg text-cinza3"},Eg={class:"pt-[30px] lg:pt-[50px] flex flex-col items-center w-full mt-6 space-y-4 lg:space-y-6"},Sg={class:"fixed bottom-0 w-full"},Cg={__name:"User",setup(e){const t=Q({foto:"",first_name:"",last_name:"",email:"",username:"",matricula:null});async function n(){try{console.log("Buscando dados do usuário logado...");const s=await ae.get("/auth/user/");console.log("Dados do usuário recebidos:",s.data),t.value={foto:s.data.foto||null,first_name:s.data.first_name,last_name:s.data.last_name,email:s.data.email,username:s.data.username,matricula:s.data.matricula}}catch(s){console.error("Erro ao carregar dados do usuário:",s)}}return bt(n),(s,r)=>{const o=me("router-link");return w(),C("div",gg,[f("div",bg,[t.value.foto?(w(),C("img",{key:0,src:t.value.foto,alt:"Foto do Usuário",class:"w-full h-full object-cover"},null,8,yg)):(w(),C("div",xg,r[0]||(r[0]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"white",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"#FFFFFF",class:"w-10 h-10"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})],-1)])))]),f("h1",vg,J(t.value.first_name||t.value.last_name?t.value.first_name+" "+t.value.last_name:t.value.username),1),f("p",_g,J(t.value.email||"Email não disponível"),1),t.value.matricula?(w(),C("p",wg," Matrícula: "+J(t.value.matricula),1)):_e("",!0),f("div",Eg,[L(o,{to:"/user-items-lost",class:"w-full flex justify-center"},{default:be(()=>r[1]||(r[1]=[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Meus itens ativos ",-1)])),_:1}),r[3]||(r[3]=f("a",{href:"mailto:acheiunb2024@gmail.com",class:"w-full flex justify-center"},[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Reportar um problema ")],-1)),L(o,{to:"/",class:"w-full flex justify-center"},{default:be(()=>r[2]||(r[2]=[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Sair da Conta ",-1)])),_:1})]),r[4]||(r[4]=f("div",{class:"h-16 lg:h-24"},null,-1)),f("div",Sg,[L(yt,{activeIcon:"user"})])])}}},Ag={name:"ItemHeader",components:{Logo:gt},props:{title:{type:String,required:!0}},methods:{goBack(){this.$router.back()}}},Rg={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center text-white p-4 md:p-6"},kg={class:"flex items-center w-1/4"},Tg={class:"flex-grow flex justify-center"},Og={class:"font-inter font-semibold text-lg md:text-2xl text-center break-words"},Ig={class:"flex items-center w-1/4 justify-end"};function Pg(e,t,n,s,r,o){const i=me("Logo"),l=me("router-link");return w(),C("div",Rg,[f("div",kg,[f("img",{onClick:t[0]||(t[0]=(...c)=>o.goBack&&o.goBack(...c)),src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white cursor-pointer"})]),f("div",Tg,[f("span",Og,J(n.title),1)]),f("div",Ig,[L(l,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(i,{class:"pr-2 md:pr-4",sizeClass:"text-xl md:text-2xl"})]),_:1})])])}const ma=Ce(Ag,[["render",Pg]]),Rr="/static/dist/assets/default-avatar-BpcudYYH.png",$g={class:"fixed w-full top-0 z-[1]"},Mg={key:0,class:"pt-32 pb-24 space-y-4"},jg={key:1,class:"pt-32 pb-24"},Lg=["onClick"],Dg=["src"],Fg={class:"ml-5"},Bg={class:"text-xl font-semibold text-gray-800"},Ng={class:"text-md text-gray-500"},Ug={key:2,class:"flex flex-col items-center justify-center h-96"},zg={class:"fixed bottom-0 w-full bg-white shadow-md"},Hg={__name:"Chats",setup(e){const t=$s(),n=Q(null),s=Q([]),r=Q(!0),o=c=>{!c.id||!c.recipient||!c.item_id||t.push({path:`/chat/${c.id}`,query:{userId:c.recipient.id,itemId:c.item_id}})};async function i(){try{const c=await ae.get("/auth/user/");n.value=c.data,await l()}catch(c){console.error("Erro ao buscar usuário:",c)}}async function l(){var c;if((c=n.value)!=null&&c.id)try{const a=await ae.get("/chat/chatrooms/");let u=[];for(const d of a.data.results)if(d.participant_1===n.value.id||d.participant_2===n.value.id){let m,g,y;d.participant_1===n.value.id?(m=d.participant_2,g=d.participant_2_username):(m=d.participant_1,g=d.participant_1_username);const x=await ae.get(`/users/${m}/`);y=x.data.foto?x.data.foto:Rr,u.push({...d,recipient:{id:m,name:g,foto:y}})}s.value=u}catch(a){console.error("Erro ao buscar conversas:",a)}finally{r.value=!1}}return bt(()=>{i()}),(c,a)=>(w(),C(G,null,[f("div",$g,[L(ma,{title:"Mensagens"})]),r.value?(w(),C("div",Mg,[(w(),C(G,null,ve(3,u=>f("div",{key:u,class:"flex items-center px-6"},a[0]||(a[0]=[f("div",{class:"w-[90px] h-[90px] rounded-full bg-cinza2 animate-pulse"},null,-1),f("div",{class:"flex-1 px-4 space-y-2"},[f("div",{class:"h-7 bg-cinza2 rounded-md animate-pulse"}),f("div",{class:"h-5 bg-cinza2 rounded-md animate-pulse"})],-1)]))),64))])):s.value.length?(w(),C("div",jg,[(w(!0),C(G,null,ve(s.value,u=>(w(),C("div",{key:u.id,class:"flex items-center px-6 py-5 cursor-pointer transition-all duration-200 hover:bg-gray-200",onClick:d=>o(u)},[f("img",{src:u.recipient.foto,alt:"Foto do usuário",class:"w-16 h-16 md:w-20 md:h-20 rounded-full object-cover border-2 border-white"},null,8,Dg),f("div",Fg,[f("p",Bg,J(u.recipient.name),1),f("p",Ng,"Sobre o item: "+J(u.item_name),1)])],8,Lg))),128))])):(w(),C("div",Ug,a[1]||(a[1]=[f("p",{class:"text-xl text-cinza4"},"Nenhuma conversa encontrada.",-1)]))),f("div",zg,[L(yt,{activeIcon:"chat"})])],64))}},qg=Ce(Hg,[["__scopeId","data-v-73de17b8"]]),Vg={key:0,class:"fixed w-full top-0 z-[1]"},Kg={key:1,class:"px-6 py-[120px] flex flex-col items-center gap-6"},Wg={class:"w-full md:flex md:gap-8 md:max-w-4xl"},Qg={class:"w-full max-w-md md:max-w-none md:w-1/2 relative"},Gg={key:0,class:"w-full h-64"},Jg=["src"],Zg=["src","alt"],Yg={key:2,class:"md:hidden overflow-hidden relative"},Xg=["src","alt"],e0={key:0,class:"absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2"},t0={class:"w-full md:w-1/2 mt-6 md:mt-0"},n0={class:"text-lg md:text-2xl font-bold text-left"},s0={class:"text-sm md:text-base text-gray-500 text-left mt-2"},r0={key:0,class:"text-sm md:text-base text-gray-500 text-left mt-1"},o0={key:1,class:"text-sm md:text-base text-gray-500 text-left mt-1"},i0={class:"flex flex-wrap gap-2 justify-start mt-4"},l0={key:0,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-blue-500"},a0={key:1,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-laranja"},c0={key:2,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-gray-500"},u0={class:"text-sm md:text-base text-gray-700 text-left mt-4"},f0={class:"fixed bottom-0 w-full"},d0={__name:"ListItem",setup(e){const t=Gr(),n=$s(),s=Q(null),r=Q(""),o=Q(null),i=Q(0),l=Q(window.innerWidth<768),c=Q(!1),a=v=>{const A=new Date(v);return`${A.toLocaleDateString("pt-BR",{timeZone:"America/Sao_Paulo"})} às ${A.toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit",timeZone:"America/Sao_Paulo"})}`},u=()=>{i.value=(i.value+1)%s.value.image_urls.length},d=()=>{i.value=(i.value-1+s.value.image_urls.length)%s.value.image_urls.length},m=()=>{l.value=window.innerWidth<768};async function g(){try{const v=await ae.get(`/items/${t.query.idItem}/`);s.value=v.data,r.value=s.value.status,c.value=!0,console.log("Item carregado:",s.value)}catch(v){console.error("Erro ao carregar item:",v)}}async function y(){try{const v=await ae.get("/auth/user/");o.value=v.data,console.log("Usuário atual:",o.value)}catch(v){console.error("Erro ao buscar usuário:",v)}}const x=async()=>{var v,A,T,I;try{if(!s.value||!s.value.id){console.error("Item inválido ou não carregado:",s.value);return}if(!((v=o.value)!=null&&v.id)||!((A=s.value)!=null&&A.user_id)){console.error("IDs de usuário inválidos:",{currentUser:o.value,item:s.value});return}console.log("Item atual (ID):",s.value.id),console.log("Dono do item (user_id):",s.value.user_id),console.log("Usuário atual (ID):",o.value.id);const M={participant_1:o.value.id,participant_2:s.value.user_id,item_id:s.value.id};console.log("Parâmetros para busca de chat:",M);const Y=(await ae.get("/chat/chatrooms/",{params:M})).data;if(console.log("Chats encontrados:",Y),Y&&Y.length>0){n.push(`/chat/${Y[0].id}?itemId=${s.value.id}`);return}const Z={participant_1:o.value.id,participant_2:s.value.user_id,item_id:s.value.id};console.log("Dados para criação de chat:",Z);const ue=await ae.post("/chat/chatrooms/",Z);if(console.log("Resposta da criação de chat:",ue.data),(T=ue.data)!=null&&T.id)n.push(`/chat/${ue.data.id}?itemId=${s.value.id}`);else throw new Error("Resposta inválida ao criar chatroom")}catch(M){console.error("Erro ao criar/aceder chat:",((I=M.response)==null?void 0:I.data)||M.message),alert("Ocorreu um erro ao iniciar o chat. Por favor, tente novamente.")}};return bt(async()=>{await y(),await g(),window.addEventListener("resize",m)}),tl(()=>{window.removeEventListener("resize",m)}),(v,A)=>(w(),C(G,null,[c.value?(w(),C("div",Vg,[L(ma,{title:r.value==="found"?"Item Achado":"Item Perdido"},null,8,["title"])])):_e("",!0),s.value?(w(),C("div",Kg,[f("div",Wg,[f("div",Qg,[!s.value.image_urls||s.value.image_urls.length===0?(w(),C("div",Gg,[f("img",{src:Se(Qt),alt:"Imagem não disponível",class:"w-full h-full object-contain"},null,8,Jg)])):(w(),C("div",{key:1,class:ee(["hidden md:grid",s.value.image_urls.length===1?"grid-cols-1":"grid-cols-2 gap-4"])},[(w(!0),C(G,null,ve(s.value.image_urls.slice(0,2),(T,I)=>(w(),C("img",{key:I,src:T,alt:`Imagem ${I+1} do item`,class:"h-64 w-full object-cover rounded-lg"},null,8,Zg))),128))],2)),s.value.image_urls&&s.value.image_urls.length>0?(w(),C("div",Yg,[f("div",{class:"flex transition-transform duration-300 ease-out snap-x snap-mandatory",style:Nn({transform:`translateX(-${i.value*100}%)`})},[(w(!0),C(G,null,ve(s.value.image_urls,(T,I)=>(w(),C("div",{key:I,class:"w-full flex-shrink-0 relative snap-start"},[f("img",{src:T,alt:`Imagem ${I+1} do item`,class:"w-full h-64 object-cover rounded-lg"},null,8,Xg)]))),128))],4),s.value.image_urls.length>1?(w(),C("div",e0,[(w(!0),C(G,null,ve(s.value.image_urls,(T,I)=>(w(),C("div",{key:I,class:ee(["w-2 h-2 rounded-full transition-colors duration-300",i.value===I?"bg-white":"bg-gray-300"])},null,2))),128))])):_e("",!0),s.value.image_urls.length>1?(w(),C("button",{key:1,onClick:d,class:"absolute left-2 top-1/2 transform -translate-y-1/2 bg-white/30 rounded-full p-2 backdrop-blur-sm"}," ← ")):_e("",!0),s.value.image_urls.length>1?(w(),C("button",{key:2,onClick:u,class:"absolute right-2 top-1/2 transform -translate-y-1/2 bg-white/30 rounded-full p-2 backdrop-blur-sm"}," → ")):_e("",!0)])):_e("",!0)]),f("div",t0,[f("h1",n0,J(s.value.name),1),f("p",s0," Achado em: "+J(s.value.location_name||"Não especificado"),1),s.value.found_lost_date&&r.value==="found"?(w(),C("p",r0," Data do achado: "+J(a(s.value.found_lost_date)),1)):s.value.found_lost_date&&r.value==="lost"?(w(),C("p",o0," Data da perda: "+J(a(s.value.found_lost_date)),1)):_e("",!0),f("div",i0,[s.value.category_name?(w(),C("span",l0," Categoria: "+J(s.value.category_name),1)):_e("",!0),s.value.brand_name?(w(),C("span",a0," Marca: "+J(s.value.brand_name),1)):_e("",!0),s.value.color_name?(w(),C("span",c0," Cor: "+J(s.value.color_name),1)):_e("",!0)]),f("p",u0,J(s.value.description),1)])]),f("button",{class:"bg-laranja text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl",onClick:x}," É meu item ")])):_e("",!0),f("div",f0,[L(yt,{activeIcon:r.value==="found"?"found":"lost"},null,8,["activeIcon"])])],64))}},p0={name:"SubMenu"},h0={class:"flex pt-8 space-x-8 justify-center"};function m0(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",h0,[L(i,{to:"/user-items-found",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[we(" Achados ")])),_:1}),t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Perdidos"),f("div",{class:"h-[2px] bg-laranja"})],-1))])}const g0=Ce(p0,[["render",m0]]),b0={class:"flex flex-col items-center justify-center h-64 text-center"},y0=["src"],x0={class:"text-cinza3 font-inter text-lg"},v0={class:"text-azul font-bold"},ga={__name:"Empty-State-User",props:{message:String,highlightText:String},setup(e){return(t,n)=>(w(),C("div",b0,[f("img",{src:Se(ua),class:"w-40 h-40 mb-4"},null,8,y0),f("p",x0,[we(" Parece que você não tem itens "+J(e.message)+" ",1),f("span",v0,J(e.highlightText),1)])]))}},_0={class:"fixed w-full top-0 h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between px-6 text-white z-10"},w0={class:"pb-8 pt-24"},E0={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-24"},S0={class:"fixed bottom-0 w-full"},C0={__name:"UserItems-Lost",setup(e){const t=Q([]),n=Q(!1);Q(!1);const s=Q(""),r=async()=>{try{const i=await Ph();t.value=i}catch{s.value="Erro ao carregar itens perdidos.",n.value=!0}},o=async i=>{try{await ca(i),myItemsFound.value=myItemsFound.value.filter(l=>l.id!==i)}catch(l){console.error("Erro ao excluir item:",l)}};return bt(()=>r()),(i,l)=>{const c=me("router-link"),a=me("ButtonAdd");return w(),C(G,null,[f("div",_0,[L(c,{to:"/user",class:"inline-block"},{default:be(()=>l[0]||(l[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),l[1]||(l[1]=f("h1",{class:"text-2xl font-bold absolute left-1/2 transform -translate-x-1/2"}," Meus Itens ",-1)),f("button",null,[L(c,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(gt,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])]),f("div",w0,[L(g0)]),t.value.length===0?(w(),Te(ga,{key:0,message:"perdidos registrados... Você pode adicionar um no",highlightText:"AcheiUnB"})):(w(),C("div",E0,[(w(!0),C(G,null,ve(t.value,u=>(w(),Te(Ms,{key:u.id,id:u.id,name:u.name,location:u.location_name,time:Se(Us)(u.created_at),image:u.image_urls[0]||Se(Qt),isMyItem:!0,onDelete:o},null,8,["id","name","location","time","image"]))),128))])),L(a),f("div",S0,[L(yt,{activeIcon:"search"})])],64)}}},A0={name:"SubMenu"},R0={class:"flex pt-8 space-x-8 justify-center"};function k0(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",R0,[t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Achados"),f("div",{class:"h-[2px] bg-laranja"})],-1)),L(i,{to:"/user-items-lost",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[we(" Perdidos ")])),_:1})])}const T0=Ce(A0,[["render",k0]]),O0={class:"fixed w-full top-0 h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between px-6 text-white z-10"},I0={class:"pb-8 pt-24"},P0={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-24"},$0={class:"fixed bottom-0 w-full"},M0={__name:"UserItems-Found",setup(e){const t=Q([]),n=Q(!1);Q(!1);const s=Q(""),r=async()=>{try{const i=await Ih();t.value=i}catch{s.value="Erro ao carregar itens encontrados.",n.value=!0}},o=async i=>{try{await ca(i),t.value=t.value.filter(l=>l.id!==i)}catch(l){console.error("Erro ao excluir item:",l)}};return bt(()=>r()),(i,l)=>{const c=me("router-link"),a=me("ButtonAdd");return w(),C(G,null,[f("div",O0,[L(c,{to:"/user",class:"inline-block"},{default:be(()=>l[0]||(l[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),l[1]||(l[1]=f("h1",{class:"text-2xl font-bold absolute left-1/2 transform -translate-x-1/2"}," Meus Itens ",-1)),f("button",null,[L(c,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(gt,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])]),f("div",I0,[L(T0)]),t.value.length===0?(w(),Te(ga,{key:0,message:"achados registrados... Você pode adicionar um no",highlightText:"AcheiUnB"})):(w(),C("div",P0,[(w(!0),C(G,null,ve(t.value,u=>(w(),Te(Ms,{key:u.id,id:u.id,name:u.name,location:u.location_name,time:Se(Us)(u.created_at),image:u.image_urls[0]||Se(Qt),isMyItem:!0,onDelete:o},null,8,["id","name","location","time","image"]))),128))])),L(a),f("div",$0,[L(yt,{activeIcon:"search"})])],64)}}},j0={class:"fixed top-0 left-0 w-full bg-verde shadow-md py-3 px-4 flex items-center z-10"},L0=["src"],D0={class:"flex items-center space-x-4 ml-2"},F0=["src"],B0={class:"text-white font-semibold text-sm md:text-base truncate max-w-[120px] md:max-w-[200px]"},N0=["src"],U0={class:"ml-auto md:absolute md:left-1/2 md:transform md:-translate-x-1/2"},z0={__name:"Header-Message",setup(e){const t=Gr(),n=$s(),s=Q(t.params.chatroomId||t.query.chatroomId),r=Q("Usuário"),o=Q(Rr),i=Q(Qt),l=Q(null),c=Q(null),a=Q(null),u=async()=>{try{const x=await ae.get("/auth/user/");a.value=x.data}catch{}},d=async()=>{var x;if(!(!s.value||!((x=a.value)!=null&&x.id)))try{const A=(await ae.get(`/chat/chatrooms/${s.value}/`)).data;l.value=A.participant_1===a.value.id?A.participant_2:A.participant_1,c.value=A.item_id,m(),g()}catch{}},m=async()=>{if(l.value)try{const x=await ae.get(`/users/${l.value}/`);r.value=x.data.first_name||"Usuário",o.value=x.data.foto||Rr}catch{}},g=async()=>{var x;if(c.value)try{const v=await ae.get(`/items/${c.value}`);i.value=((x=v.data.image_urls)==null?void 0:x[0])||Qt}catch{}},y=()=>{n.back()};return Qc(()=>{a.value?d():u()}),bt(()=>{u()}),(x,v)=>{const A=me("router-link");return w(),C("div",j0,[f("img",{onClick:y,src:Se(hn),alt:"Voltar",class:"w-6 h-6 md:w-8 md:h-8 cursor-pointer"},null,8,L0),f("div",D0,[f("img",{src:o.value,alt:"Foto do usuário",class:"w-10 h-10 md:w-12 md:h-12 rounded-full object-cover border-2 border-white"},null,8,F0),f("span",B0,J(r.value||"Usuário"),1),f("img",{src:i.value,alt:"Imagem do item",class:"w-10 h-10 md:w-12 md:h-12 rounded-lg object-cover border-2 border-white"},null,8,N0)]),f("div",U0,[L(A,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(gt,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}}},H0={class:"relative flex flex-col h-screen bg-gray-100"},q0={ref:"messagesContainer",class:"relative flex-1 pt-32 pb-24 px-4 overflow-y-auto z-10"},V0={key:0,class:"flex w-full justify-end"},K0={class:"bg-laranja text-white p-3 rounded-2xl max-w-[70%] break-words shadow-md"},W0={class:"text-sm"},Q0={class:"text-xs opacity-75 mt-1 block text-right"},G0={key:1,class:"flex w-full justify-start"},J0={class:"bg-gray-300 text-gray-800 p-3 rounded-2xl max-w-[70%] break-words shadow-md"},Z0={class:"text-sm"},Y0={class:"text-xs opacity-75 mt-1 block text-left"},X0={class:"fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 p-4 z-20"},eb={class:"flex"},tb=["disabled"],bi={__name:"Message",setup(e){const t=Gr(),n=Q([]),s=Q(""),r=Q(null),o=Q(null),i=Q(null),l=Q(t.params.chatroomId||t.query.chatroomId),c=Q(t.params.itemId||t.query.itemId);l.value?console.log("chatroomId:",l.value):console.error("ID do chat não encontrado na rota");const a=async()=>{var v;if(!l.value){console.error("ID do chat não encontrado, não é possível enviar mensagem");return}if(!s.value.trim()){console.warn("Mensagem vazia, nada a enviar");return}try{console.log("Enviando mensagem para room:",l.value,"Conteúdo:",s.value),await ae.post("/chat/messages/",{room:l.value,content:s.value}),s.value="",await u()}catch(A){console.error("Erro ao enviar mensagem:",((v=A.response)==null?void 0:v.data)||A.message)}},u=async()=>{if(l.value)try{const v=await ae.get("/chat/messages/",{params:{room:l.value}});n.value=v.data.results||v.data}catch(v){console.error("Erro ao buscar mensagens:",v)}},d=async()=>{try{const v=await ae.get("/auth/user/");r.value=v.data}catch(v){console.error("Erro ao buscar usuário:",v)}},m=async()=>{if(c.value)try{const v=await ae.get(`/items/${c.value}`);o.value=v.data}catch(v){console.error("Erro ao buscar item:",v)}},g=async()=>{if(c.value)try{const v=await ae.get(`/items/${c.value}`);i.value=v.data.user_id}catch(v){console.error("Erro ao buscar dono do item:",v)}},y=v=>new Date(v).toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit"}),x=async()=>{if(l.value)try{await ae.get(`/chat/chatrooms/${l.value}/`)}catch(v){console.error("Erro ao buscar dados do chatroom:",v)}};return bt(async()=>{await d(),await m(),await g(),await x(),await u()}),(v,A)=>(w(),C("div",H0,[A[1]||(A[1]=f("div",{class:"flex absolute inset-0 justify-center items-center pointer-events-none z-0"},[f("img",{src:Dl,alt:"Watermark",class:"w-48 md:w-64 lg:w-80 opacity-20"})],-1)),i.value&&c.value?(w(),Te(z0,{key:0,itemId:String(c.value),userId:String(i.value),class:"fixed top-0 left-0 w-full z-20"},null,8,["itemId","userId"])):_e("",!0),f("div",q0,[(w(!0),C(G,null,ve(n.value,T=>{var I;return w(),C("div",{key:T.id,class:"mb-2 flex"},[T.sender===((I=r.value)==null?void 0:I.id)?(w(),C("div",V0,[f("div",K0,[f("p",W0,J(T.content),1),f("span",Q0,J(y(T.timestamp)),1)])])):(w(),C("div",G0,[f("div",J0,[f("p",Z0,J(T.content),1),f("span",Y0,J(y(T.timestamp)),1)])]))])}),128))],512),f("div",X0,[f("div",eb,[Re(f("input",{"onUpdate:modelValue":A[0]||(A[0]=T=>s.value=T),onKeyup:Nu(a,["enter"]),type:"text",maxlength:"80",placeholder:"Digite uma mensagem (máx. 80 caracteres)...",class:"flex-1 border border-gray-300 rounded-full px-4 py-2 focus:outline-none focus:border-laranja"},null,544),[[dt,s.value]]),f("button",{onClick:a,disabled:!s.value.trim(),class:"ml-2 bg-laranja text-white px-4 py-2 rounded-full hover:bg-laranja-dark disabled:opacity-50 disabled:cursor-not-allowed transition-colors"}," Enviar ",8,tb)])])]))}},nb=[{path:"/",name:"Login",component:od},{path:"/about",name:"About",component:Sd,meta:{requiresAuth:!0}},{path:"/lost",name:"Lost",component:Hh,meta:{requiresAuth:!0}},{path:"/found",name:"Found",component:rm,meta:{requiresAuth:!0}},{path:"/register-lost",name:"RegisterLost",component:Fm,meta:{requiresAuth:!0}},{path:"/register-found",name:"RegisterFound",component:mg,meta:{requiresAuth:!0}},{path:"/user",name:"User",component:Cg,meta:{requiresAuth:!0}},{path:"/chats",name:"Chats",component:qg,meta:{requiresAuth:!0}},{path:"/list-item",name:"ListItem",component:d0,meta:{requiresAuth:!0}},{path:"/user-items-lost",name:"UserItemsLost",component:C0},{path:"/user-items-found",name:"UserItemsFound",component:M0},{path:"/chat/new",name:"NewChat",component:bi,meta:{requiresAuth:!0}},{path:"/chat/:chatroomId",name:"Chat",component:bi,meta:{requiresAuth:!0},props:e=>({chatroomId:e.params.chatroomId||e.query.chatroomId,itemId:e.params.itemId||e.query.itemId})}],ba=Wf({history:Sf(),routes:nb}),zs=Hu(Gf);zs.use(ba);zs.component("Header",Zr);zs.component("Alert",lm);zs.mount("#app"); diff --git a/API/AcheiUnB/static/dist/js/index-ojFJwcWh.js b/API/AcheiUnB/static/dist/js/index-ojFJwcWh.js deleted file mode 100644 index 4b5abd60..00000000 --- a/API/AcheiUnB/static/dist/js/index-ojFJwcWh.js +++ /dev/null @@ -1,26 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** -* @vue/shared v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function kr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const fe={},tn=[],pt=()=>{},ya=()=>!1,ys=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Tr=e=>e.startsWith("onUpdate:"),ke=Object.assign,Or=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},xa=Object.prototype.hasOwnProperty,re=(e,t)=>xa.call(e,t),q=Array.isArray,nn=e=>Bn(e)==="[object Map]",xs=e=>Bn(e)==="[object Set]",ro=e=>Bn(e)==="[object Date]",K=e=>typeof e=="function",Ee=e=>typeof e=="string",ht=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",yi=e=>(he(e)||K(e))&&K(e.then)&&K(e.catch),xi=Object.prototype.toString,Bn=e=>xi.call(e),va=e=>Bn(e).slice(8,-1),vi=e=>Bn(e)==="[object Object]",Ir=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,wn=kr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},_a=/-(\w)/g,Ye=vs(e=>e.replace(_a,(t,n)=>n?n.toUpperCase():"")),wa=/\B([A-Z])/g,Mt=vs(e=>e.replace(wa,"-$1").toLowerCase()),_s=vs(e=>e.charAt(0).toUpperCase()+e.slice(1)),zs=vs(e=>e?`on${_s(e)}`:""),$t=(e,t)=>!Object.is(e,t),Yn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},is=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let oo;const ws=()=>oo||(oo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Nn(e){if(q(e)){const t={};for(let n=0;n{if(n){const s=n.split(Sa);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ee(e){let t="";if(Ee(e))t=e;else if(q(e))for(let n=0;nEs(n,t))}const Ei=e=>!!(e&&e.__v_isRef===!0),J=e=>Ee(e)?e:e==null?"":q(e)||he(e)&&(e.toString===xi||!K(e.toString))?Ei(e)?J(e.value):JSON.stringify(e,Si,2):String(e),Si=(e,t)=>Ei(t)?Si(e,t.value):nn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Hs(s,o)+" =>"]=r,n),{})}:xs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Hs(n))}:ht(t)?Hs(t):he(t)&&!q(t)&&!vi(t)?String(t):t,Hs=(e,t="")=>{var n;return ht(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Ve;class Ia{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ve,!t&&Ve&&(this.index=(Ve.scopes||(Ve.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Sn){let t=Sn;for(Sn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;En;){let t=En;for(En=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function ki(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ti(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Mr(s),$a(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ir(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Oi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Oi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===In))return;e.globalVersion=In;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!ir(e)){e.flags&=-3;return}const n=pe,s=tt;pe=e,tt=!0;try{ki(e);const r=e.fn(e._value);(t.version===0||$t(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{pe=n,tt=s,Ti(e),e.flags&=-3}}function Mr(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Mr(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function $a(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let tt=!0;const Ii=[];function jt(){Ii.push(tt),tt=!1}function Lt(){const e=Ii.pop();tt=e===void 0?!0:e}function io(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=pe;pe=void 0;try{t()}finally{pe=n}}}let In=0;class Ma{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class jr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!pe||!tt||pe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==pe)n=this.activeLink=new Ma(pe,this),pe.deps?(n.prevDep=pe.depsTail,pe.depsTail.nextDep=n,pe.depsTail=n):pe.deps=pe.depsTail=n,Pi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=pe.depsTail,n.nextDep=void 0,pe.depsTail.nextDep=n,pe.depsTail=n,pe.deps===n&&(pe.deps=s)}return n}trigger(t){this.version++,In++,this.notify(t)}notify(t){Pr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{$r()}}}function Pi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Pi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const lr=new WeakMap,Ht=Symbol(""),ar=Symbol(""),Pn=Symbol("");function Pe(e,t,n){if(tt&&pe){let s=lr.get(e);s||lr.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new jr),r.map=s,r.key=n),r.track()}}function Et(e,t,n,s,r,o){const i=lr.get(e);if(!i){In++;return}const l=c=>{c&&c.trigger()};if(Pr(),t==="clear")i.forEach(l);else{const c=q(e),a=c&&Ir(n);if(c&&n==="length"){const u=Number(s);i.forEach((d,m)=>{(m==="length"||m===Pn||!ht(m)&&m>=u)&&l(d)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),a&&l(i.get(Pn)),t){case"add":c?a&&l(i.get("length")):(l(i.get(Ht)),nn(e)&&l(i.get(ar)));break;case"delete":c||(l(i.get(Ht)),nn(e)&&l(i.get(ar)));break;case"set":nn(e)&&l(i.get(Ht));break}}$r()}function Yt(e){const t=se(e);return t===e?t:(Pe(t,"iterate",Pn),Ze(e)?t:t.map($e))}function Ss(e){return Pe(e=se(e),"iterate",Pn),e}const ja={__proto__:null,[Symbol.iterator](){return Vs(this,Symbol.iterator,$e)},concat(...e){return Yt(this).concat(...e.map(t=>q(t)?Yt(t):t))},entries(){return Vs(this,"entries",e=>(e[1]=$e(e[1]),e))},every(e,t){return vt(this,"every",e,t,void 0,arguments)},filter(e,t){return vt(this,"filter",e,t,n=>n.map($e),arguments)},find(e,t){return vt(this,"find",e,t,$e,arguments)},findIndex(e,t){return vt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return vt(this,"findLast",e,t,$e,arguments)},findLastIndex(e,t){return vt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return vt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ks(this,"includes",e)},indexOf(...e){return Ks(this,"indexOf",e)},join(e){return Yt(this).join(e)},lastIndexOf(...e){return Ks(this,"lastIndexOf",e)},map(e,t){return vt(this,"map",e,t,void 0,arguments)},pop(){return bn(this,"pop")},push(...e){return bn(this,"push",e)},reduce(e,...t){return lo(this,"reduce",e,t)},reduceRight(e,...t){return lo(this,"reduceRight",e,t)},shift(){return bn(this,"shift")},some(e,t){return vt(this,"some",e,t,void 0,arguments)},splice(...e){return bn(this,"splice",e)},toReversed(){return Yt(this).toReversed()},toSorted(e){return Yt(this).toSorted(e)},toSpliced(...e){return Yt(this).toSpliced(...e)},unshift(...e){return bn(this,"unshift",e)},values(){return Vs(this,"values",$e)}};function Vs(e,t,n){const s=Ss(e),r=s[t]();return s!==e&&!Ze(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const La=Array.prototype;function vt(e,t,n,s,r,o){const i=Ss(e),l=i!==e&&!Ze(e),c=i[t];if(c!==La[t]){const d=c.apply(e,o);return l?$e(d):d}let a=n;i!==e&&(l?a=function(d,m){return n.call(this,$e(d),m,e)}:n.length>2&&(a=function(d,m){return n.call(this,d,m,e)}));const u=c.call(i,a,s);return l&&r?r(u):u}function lo(e,t,n,s){const r=Ss(e);let o=n;return r!==e&&(Ze(e)?n.length>3&&(o=function(i,l,c){return n.call(this,i,l,c,e)}):o=function(i,l,c){return n.call(this,i,$e(l),c,e)}),r[t](o,...s)}function Ks(e,t,n){const s=se(e);Pe(s,"iterate",Pn);const r=s[t](...n);return(r===-1||r===!1)&&Fr(n[0])?(n[0]=se(n[0]),s[t](...n)):r}function bn(e,t,n=[]){jt(),Pr();const s=se(e)[t].apply(e,n);return $r(),Lt(),s}const Da=kr("__proto__,__v_isRef,__isVue"),$i=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ht));function Fa(e){ht(e)||(e=String(e));const t=se(this);return Pe(t,"has",e),t.hasOwnProperty(e)}class Mi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Qa:Fi:o?Di:Li).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=q(t);if(!r){let c;if(i&&(c=ja[n]))return c;if(n==="hasOwnProperty")return Fa}const l=Reflect.get(t,n,Le(t)?t:s);return(ht(n)?$i.has(n):Da(n))||(r||Pe(t,"get",n),o)?l:Le(l)?i&&Ir(n)?l:l.value:he(l)?r?Ni(l):Un(l):l}}class ji extends Mi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=Vt(o);if(!Ze(s)&&!Vt(s)&&(o=se(o),s=se(s)),!q(t)&&Le(o)&&!Le(s))return c?!1:(o.value=s,!0)}const i=q(t)&&Ir(n)?Number(n)e,Qn=e=>Reflect.getPrototypeOf(e);function Ha(e,t,n){return function(...s){const r=this.__v_raw,o=se(r),i=nn(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=r[e](...s),u=n?cr:t?ur:$e;return!t&&Pe(o,"iterate",c?ar:Ht),{next(){const{value:d,done:m}=a.next();return m?{value:d,done:m}:{value:l?[u(d[0]),u(d[1])]:u(d),done:m}},[Symbol.iterator](){return this}}}}function Gn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function qa(e,t){const n={get(r){const o=this.__v_raw,i=se(o),l=se(r);e||($t(r,l)&&Pe(i,"get",r),Pe(i,"get",l));const{has:c}=Qn(i),a=t?cr:e?ur:$e;if(c.call(i,r))return a(o.get(r));if(c.call(i,l))return a(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&Pe(se(r),"iterate",Ht),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,i=se(o),l=se(r);return e||($t(r,l)&&Pe(i,"has",r),Pe(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=se(l),a=t?cr:e?ur:$e;return!e&&Pe(c,"iterate",Ht),l.forEach((u,d)=>r.call(o,a(u),a(d),i))}};return ke(n,e?{add:Gn("add"),set:Gn("set"),delete:Gn("delete"),clear:Gn("clear")}:{add(r){!t&&!Ze(r)&&!Vt(r)&&(r=se(r));const o=se(this);return Qn(o).has.call(o,r)||(o.add(r),Et(o,"add",r,r)),this},set(r,o){!t&&!Ze(o)&&!Vt(o)&&(o=se(o));const i=se(this),{has:l,get:c}=Qn(i);let a=l.call(i,r);a||(r=se(r),a=l.call(i,r));const u=c.call(i,r);return i.set(r,o),a?$t(o,u)&&Et(i,"set",r,o):Et(i,"add",r,o),this},delete(r){const o=se(this),{has:i,get:l}=Qn(o);let c=i.call(o,r);c||(r=se(r),c=i.call(o,r)),l&&l.call(o,r);const a=o.delete(r);return c&&Et(o,"delete",r,void 0),a},clear(){const r=se(this),o=r.size!==0,i=r.clear();return o&&Et(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Ha(r,e,t)}),n}function Lr(e,t){const n=qa(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(re(n,r)&&r in s?n:s,r,o)}const Va={get:Lr(!1,!1)},Ka={get:Lr(!1,!0)},Wa={get:Lr(!0,!1)};const Li=new WeakMap,Di=new WeakMap,Fi=new WeakMap,Qa=new WeakMap;function Ga(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ja(e){return e.__v_skip||!Object.isExtensible(e)?0:Ga(va(e))}function Un(e){return Vt(e)?e:Dr(e,!1,Na,Va,Li)}function Bi(e){return Dr(e,!1,za,Ka,Di)}function Ni(e){return Dr(e,!0,Ua,Wa,Fi)}function Dr(e,t,n,s,r){if(!he(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Ja(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function sn(e){return Vt(e)?sn(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function Ze(e){return!!(e&&e.__v_isShallow)}function Fr(e){return e?!!e.__v_raw:!1}function se(e){const t=e&&e.__v_raw;return t?se(t):e}function Za(e){return!re(e,"__v_skip")&&Object.isExtensible(e)&&_i(e,"__v_skip",!0),e}const $e=e=>he(e)?Un(e):e,ur=e=>he(e)?Ni(e):e;function Le(e){return e?e.__v_isRef===!0:!1}function Q(e){return Ui(e,!1)}function Ya(e){return Ui(e,!0)}function Ui(e,t){return Le(e)?e:new Xa(e,t)}class Xa{constructor(t,n){this.dep=new jr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:se(t),this._value=n?t:$e(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ze(t)||Vt(t);t=s?t:se(t),$t(t,n)&&(this._rawValue=t,this._value=s?t:$e(t),this.dep.trigger())}}function Se(e){return Le(e)?e.value:e}const ec={get:(e,t,n)=>t==="__v_raw"?e:Se(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Le(r)&&!Le(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function zi(e){return sn(e)?e:new Proxy(e,ec)}class tc{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new jr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=In-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&pe!==this)return Ri(this,!0),!0}get value(){const t=this.dep.track();return Oi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function nc(e,t,n=!1){let s,r;return K(e)?s=e:(s=e.get,r=e.set),new tc(s,r,n)}const Jn={},ls=new WeakMap;let Nt;function sc(e,t=!1,n=Nt){if(n){let s=ls.get(n);s||ls.set(n,s=[]),s.push(e)}}function rc(e,t,n=fe){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,a=M=>r?M:Ze(M)||r===!1||r===0?St(M,1):St(M);let u,d,m,g,y=!1,x=!1;if(Le(e)?(d=()=>e.value,y=Ze(e)):sn(e)?(d=()=>a(e),y=!0):q(e)?(x=!0,y=e.some(M=>sn(M)||Ze(M)),d=()=>e.map(M=>{if(Le(M))return M.value;if(sn(M))return a(M);if(K(M))return c?c(M,2):M()})):K(e)?t?d=c?()=>c(e,2):e:d=()=>{if(m){jt();try{m()}finally{Lt()}}const M=Nt;Nt=u;try{return c?c(e,3,[g]):e(g)}finally{Nt=M}}:d=pt,t&&r){const M=d,H=r===!0?1/0:r;d=()=>St(M(),H)}const v=Pa(),A=()=>{u.stop(),v&&v.active&&Or(v.effects,u)};if(o&&t){const M=t;t=(...H)=>{M(...H),A()}}let T=x?new Array(e.length).fill(Jn):Jn;const I=M=>{if(!(!(u.flags&1)||!u.dirty&&!M))if(t){const H=u.run();if(r||y||(x?H.some((Y,Z)=>$t(Y,T[Z])):$t(H,T))){m&&m();const Y=Nt;Nt=u;try{const Z=[H,T===Jn?void 0:x&&T[0]===Jn?[]:T,g];c?c(t,3,Z):t(...Z),T=H}finally{Nt=Y}}}else u.run()};return l&&l(I),u=new Ci(d),u.scheduler=i?()=>i(I,!1):I,g=M=>sc(M,!1,u),m=u.onStop=()=>{const M=ls.get(u);if(M){if(c)c(M,4);else for(const H of M)H();ls.delete(u)}},t?s?I(!0):T=u.run():i?i(I.bind(null,!0),!0):u.run(),A.pause=u.pause.bind(u),A.resume=u.resume.bind(u),A.stop=A,A}function St(e,t=1/0,n){if(t<=0||!he(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Le(e))St(e.value,t,n);else if(q(e))for(let s=0;s{St(s,t,n)});else if(vi(e)){for(const s in e)St(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&St(e[s],t,n)}return e}/** -* @vue/runtime-core v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function zn(e,t,n,s){try{return s?e(...s):e()}catch(r){Cs(r,t,n)}}function mt(e,t,n,s){if(K(e)){const r=zn(e,t,n,s);return r&&yi(r)&&r.catch(o=>{Cs(o,t,n)}),r}if(q(e)){const r=[];for(let o=0;o>>1,r=Be[s],o=$n(r);o=$n(n)?Be.push(e):Be.splice(ic(t),0,e),e.flags|=1,qi()}}function qi(){as||(as=Hi.then(Ki))}function lc(e){q(e)?rn.push(...e):kt&&e.id===-1?kt.splice(Xt+1,0,e):e.flags&1||(rn.push(e),e.flags|=1),qi()}function ao(e,t,n=ut+1){for(;n$n(n)-$n(s));if(rn.length=0,kt){kt.push(...t);return}for(kt=t,Xt=0;Xte.id==null?e.flags&2?-1:1/0:e.id;function Ki(e){try{for(ut=0;ut{s._d&&_o(-1);const o=cs(t);let i;try{i=e(...r)}finally{cs(o),s._d&&_o(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Re(e,t){if(Ke===null)return e;const n=Ts(Ke),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,Cn=e=>e&&(e.disabled||e.disabled===""),co=e=>e&&(e.defer||e.defer===""),uo=e=>typeof SVGElement<"u"&&e instanceof SVGElement,fo=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,fr=(e,t)=>{const n=e&&e.to;return Ee(n)?t?t(n):null:n},Gi={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,l,c,a){const{mc:u,pc:d,pbc:m,o:{insert:g,querySelector:y,createText:x,createComment:v}}=a,A=Cn(t.props);let{shapeFlag:T,children:I,dynamicChildren:M}=t;if(e==null){const H=t.el=x(""),Y=t.anchor=x("");g(H,n,s),g(Y,n,s);const Z=(ye,Oe)=>{T&16&&(r&&r.isCE&&(r.ce._teleportTarget=ye),u(I,ye,Oe,r,o,i,l,c))},ue=()=>{const ye=t.target=fr(t.props,y),Oe=Ji(ye,t,x,g);ye&&(i!=="svg"&&uo(ye)?i="svg":i!=="mathml"&&fo(ye)&&(i="mathml"),A||(Z(ye,Oe),Xn(t,!1)))};A&&(Z(n,Y),Xn(t,!0)),co(t.props)?Fe(()=>{ue(),t.el.__isMounted=!0},o):ue()}else{if(co(t.props)&&!e.el.__isMounted){Fe(()=>{Gi.process(e,t,n,s,r,o,i,l,c,a),delete e.el.__isMounted},o);return}t.el=e.el,t.targetStart=e.targetStart;const H=t.anchor=e.anchor,Y=t.target=e.target,Z=t.targetAnchor=e.targetAnchor,ue=Cn(e.props),ye=ue?n:Y,Oe=ue?H:Z;if(i==="svg"||uo(Y)?i="svg":(i==="mathml"||fo(Y))&&(i="mathml"),M?(m(e.dynamicChildren,M,ye,r,o,i,l),qr(e,t,!0)):c||d(e,t,ye,Oe,r,o,i,l,!1),A)ue?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Zn(t,n,H,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Xe=t.target=fr(t.props,y);Xe&&Zn(t,Xe,null,a,0)}else ue&&Zn(t,Y,Z,a,1);Xn(t,A)}},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:l,anchor:c,targetStart:a,targetAnchor:u,target:d,props:m}=e;if(d&&(r(a),r(u)),o&&r(c),i&16){const g=o||!Cn(m);for(let y=0;yus(y,t&&(q(t)?t[x]:t),n,s,r));return}if(An(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&us(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Ts(s.component):s.el,i=r?null:o,{i:l,r:c}=e,a=t&&t.r,u=l.refs===fe?l.refs={}:l.refs,d=l.setupState,m=se(d),g=d===fe?()=>!1:y=>re(m,y);if(a!=null&&a!==c&&(Ee(a)?(u[a]=null,g(a)&&(d[a]=null)):Le(a)&&(a.value=null)),K(c))zn(c,l,12,[i,u]);else{const y=Ee(c),x=Le(c);if(y||x){const v=()=>{if(e.f){const A=y?g(c)?d[c]:u[c]:c.value;r?q(A)&&Or(A,o):q(A)?A.includes(o)||A.push(o):y?(u[c]=[o],g(c)&&(d[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else y?(u[c]=i,g(c)&&(d[c]=i)):x&&(c.value=i,e.k&&(u[e.k]=i))};i?(v.id=-1,Fe(v,n)):v()}}}ws().requestIdleCallback;ws().cancelIdleCallback;const An=e=>!!e.type.__asyncLoader,Xi=e=>e.type.__isKeepAlive;function fc(e,t){el(e,"a",t)}function dc(e,t){el(e,"da",t)}function el(e,t,n=Me){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(As(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Xi(r.parent.vnode)&&pc(s,t,n,r),r=r.parent}}function pc(e,t,n,s){const r=As(t,e,s,!0);nl(()=>{Or(s[t],r)},n)}function As(e,t,n=Me,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{jt();const l=Hn(n),c=mt(t,n,e,i);return l(),Lt(),c});return s?r.unshift(o):r.push(o),o}}const Ct=e=>(t,n=Me)=>{(!jn||e==="sp")&&As(e,(...s)=>t(...s),n)},hc=Ct("bm"),bt=Ct("m"),mc=Ct("bu"),gc=Ct("u"),tl=Ct("bum"),nl=Ct("um"),bc=Ct("sp"),yc=Ct("rtg"),xc=Ct("rtc");function vc(e,t=Me){As("ec",e,t)}const _c="components";function me(e,t){return Ec(_c,e,!0,t)||e}const wc=Symbol.for("v-ndc");function Ec(e,t,n=!0,s=!1){const r=Ke||Me;if(r){const o=r.type;{const l=uu(o,!1);if(l&&(l===t||l===Ye(t)||l===_s(Ye(t))))return o}const i=po(r[e]||o[e],t)||po(r.appContext[e],t);return!i&&s?o:i}}function po(e,t){return e&&(e[t]||e[Ye(t)]||e[_s(Ye(t))])}function ve(e,t,n,s){let r;const o=n,i=q(e);if(i||Ee(e)){const l=i&&sn(e);let c=!1;l&&(c=!Ze(e),e=Ss(e)),r=new Array(e.length);for(let a=0,u=e.length;at(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,a=l.length;ce?vl(e)?Ts(e):dr(e.parent):null,Rn=ke(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>dr(e.parent),$root:e=>dr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>zr(e),$forceUpdate:e=>e.f||(e.f=()=>{Nr(e.update)}),$nextTick:e=>e.n||(e.n=Br.bind(e.proxy)),$watch:e=>Vc.bind(e)}),Ws=(e,t)=>e!==fe&&!e.__isScriptSetup&&re(e,t),Sc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Ws(s,t))return i[t]=1,s[t];if(r!==fe&&re(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&re(a,t))return i[t]=3,o[t];if(n!==fe&&re(n,t))return i[t]=4,n[t];pr&&(i[t]=0)}}const u=Rn[t];let d,m;if(u)return t==="$attrs"&&Pe(e.attrs,"get",""),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==fe&&re(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,re(m,t))return m[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Ws(r,t)?(r[t]=n,!0):s!==fe&&re(s,t)?(s[t]=n,!0):re(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==fe&&re(e,i)||Ws(t,i)||(l=o[0])&&re(l,i)||re(s,i)||re(Rn,i)||re(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:re(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ho(e){return q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let pr=!0;function Cc(e){const t=zr(e),n=e.proxy,s=e.ctx;pr=!1,t.beforeCreate&&mo(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:a,created:u,beforeMount:d,mounted:m,beforeUpdate:g,updated:y,activated:x,deactivated:v,beforeDestroy:A,beforeUnmount:T,destroyed:I,unmounted:M,render:H,renderTracked:Y,renderTriggered:Z,errorCaptured:ue,serverPrefetch:ye,expose:Oe,inheritAttrs:Xe,components:Dt,directives:ot,filters:mn}=t;if(a&&Ac(a,s,null),i)for(const ce in i){const ne=i[ce];K(ne)&&(s[ce]=ne.bind(n))}if(r){const ce=r.call(n,n);he(ce)&&(e.data=Un(ce))}if(pr=!0,o)for(const ce in o){const ne=o[ce],xt=K(ne)?ne.bind(n,n):K(ne.get)?ne.get.bind(n,n):pt,At=!K(ne)&&K(ne.set)?ne.set.bind(n):pt,it=Je({get:xt,set:At});Object.defineProperty(s,ce,{enumerable:!0,configurable:!0,get:()=>it.value,set:Ne=>it.value=Ne})}if(l)for(const ce in l)sl(l[ce],s,n,ce);if(c){const ce=K(c)?c.call(n):c;Reflect.ownKeys(ce).forEach(ne=>{es(ne,ce[ne])})}u&&mo(u,e,"c");function Ae(ce,ne){q(ne)?ne.forEach(xt=>ce(xt.bind(n))):ne&&ce(ne.bind(n))}if(Ae(hc,d),Ae(bt,m),Ae(mc,g),Ae(gc,y),Ae(fc,x),Ae(dc,v),Ae(vc,ue),Ae(xc,Y),Ae(yc,Z),Ae(tl,T),Ae(nl,M),Ae(bc,ye),q(Oe))if(Oe.length){const ce=e.exposed||(e.exposed={});Oe.forEach(ne=>{Object.defineProperty(ce,ne,{get:()=>n[ne],set:xt=>n[ne]=xt})})}else e.exposed||(e.exposed={});H&&e.render===pt&&(e.render=H),Xe!=null&&(e.inheritAttrs=Xe),Dt&&(e.components=Dt),ot&&(e.directives=ot),ye&&Yi(e)}function Ac(e,t,n=pt){q(e)&&(e=hr(e));for(const s in e){const r=e[s];let o;he(r)?"default"in r?o=nt(r.from||s,r.default,!0):o=nt(r.from||s):o=nt(r),Le(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function mo(e,t,n){mt(q(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function sl(e,t,n,s){let r=s.includes(".")?ml(n,s):()=>n[s];if(Ee(e)){const o=t[e];K(o)&&ln(r,o)}else if(K(e))ln(r,e.bind(n));else if(he(e))if(q(e))e.forEach(o=>sl(o,t,n,s));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&ln(r,o,e)}}function zr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>fs(c,a,i,!0)),fs(c,t,i)),he(t)&&o.set(t,c),c}function fs(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&fs(e,o,n,!0),r&&r.forEach(i=>fs(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Rc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Rc={data:go,props:bo,emits:bo,methods:_n,computed:_n,beforeCreate:De,created:De,beforeMount:De,mounted:De,beforeUpdate:De,updated:De,beforeDestroy:De,beforeUnmount:De,destroyed:De,unmounted:De,activated:De,deactivated:De,errorCaptured:De,serverPrefetch:De,components:_n,directives:_n,watch:Tc,provide:go,inject:kc};function go(e,t){return t?e?function(){return ke(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function kc(e,t){return _n(hr(e),hr(t))}function hr(e){if(q(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(s&&s.proxy):t}}const ol={},il=()=>Object.create(ol),ll=e=>Object.getPrototypeOf(e)===ol;function Pc(e,t,n,s=!1){const r={},o=il();e.propsDefaults=Object.create(null),al(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Bi(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function $c(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=se(r),[c]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d{c=!0;const[m,g]=cl(d,t,!0);ke(i,m),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return he(e)&&s.set(e,tn),tn;if(q(o))for(let u=0;ue[0]==="_"||e==="$stable",Hr=e=>q(e)?e.map(ft):[ft(e)],jc=(e,t,n)=>{if(t._n)return t;const s=be((...r)=>Hr(t(...r)),n);return s._c=!1,s},fl=(e,t,n)=>{const s=e._ctx;for(const r in e){if(ul(r))continue;const o=e[r];if(K(o))t[r]=jc(r,o,s);else if(o!=null){const i=Hr(o);t[r]=()=>i}}},dl=(e,t)=>{const n=Hr(t);e.slots.default=()=>n},pl=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Lc=(e,t,n)=>{const s=e.slots=il();if(e.vnode.shapeFlag&32){const r=t._;r?(pl(s,t,n),n&&_i(s,"_",r,!0)):fl(t,s)}else t&&dl(e,t)},Dc=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=fe;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:pl(r,t,n):(o=!t.$stable,fl(t,r)),i=t}else t&&(dl(e,t),i={default:1});if(o)for(const l in r)!ul(l)&&i[l]==null&&delete r[l]},Fe=Yc;function Fc(e){return Bc(e)}function Bc(e,t){const n=ws();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:d,nextSibling:m,setScopeId:g=pt,insertStaticContent:y}=e,x=(p,h,b,R=null,E=null,k=null,j=void 0,$=null,P=!!h.dynamicChildren)=>{if(p===h)return;p&&!yn(p,h)&&(R=S(p),Ne(p,E,k,!0),p=null),h.patchFlag===-2&&(P=!1,h.dynamicChildren=null);const{type:O,ref:z,shapeFlag:F}=h;switch(O){case ks:v(p,h,b,R);break;case Kt:A(p,h,b,R);break;case Js:p==null&&T(h,b,R,j);break;case G:Dt(p,h,b,R,E,k,j,$,P);break;default:F&1?H(p,h,b,R,E,k,j,$,P):F&6?ot(p,h,b,R,E,k,j,$,P):(F&64||F&128)&&O.process(p,h,b,R,E,k,j,$,P,N)}z!=null&&E&&us(z,p&&p.ref,k,h||p,!h)},v=(p,h,b,R)=>{if(p==null)s(h.el=l(h.children),b,R);else{const E=h.el=p.el;h.children!==p.children&&a(E,h.children)}},A=(p,h,b,R)=>{p==null?s(h.el=c(h.children||""),b,R):h.el=p.el},T=(p,h,b,R)=>{[p.el,p.anchor]=y(p.children,h,b,R,p.el,p.anchor)},I=({el:p,anchor:h},b,R)=>{let E;for(;p&&p!==h;)E=m(p),s(p,b,R),p=E;s(h,b,R)},M=({el:p,anchor:h})=>{let b;for(;p&&p!==h;)b=m(p),r(p),p=b;r(h)},H=(p,h,b,R,E,k,j,$,P)=>{h.type==="svg"?j="svg":h.type==="math"&&(j="mathml"),p==null?Y(h,b,R,E,k,j,$,P):ye(p,h,E,k,j,$,P)},Y=(p,h,b,R,E,k,j,$)=>{let P,O;const{props:z,shapeFlag:F,transition:U,dirs:V}=p;if(P=p.el=i(p.type,k,z&&z.is,z),F&8?u(P,p.children):F&16&&ue(p.children,P,null,R,E,Qs(p,k),j,$),V&&Ft(p,null,R,"created"),Z(P,p,p.scopeId,j,R),z){for(const de in z)de!=="value"&&!wn(de)&&o(P,de,null,z[de],k,R);"value"in z&&o(P,"value",null,z.value,k),(O=z.onVnodeBeforeMount)&&at(O,R,p)}V&&Ft(p,null,R,"beforeMount");const X=Nc(E,U);X&&U.beforeEnter(P),s(P,h,b),((O=z&&z.onVnodeMounted)||X||V)&&Fe(()=>{O&&at(O,R,p),X&&U.enter(P),V&&Ft(p,null,R,"mounted")},E)},Z=(p,h,b,R,E)=>{if(b&&g(p,b),R)for(let k=0;k{for(let O=P;O{const $=h.el=p.el;let{patchFlag:P,dynamicChildren:O,dirs:z}=h;P|=p.patchFlag&16;const F=p.props||fe,U=h.props||fe;let V;if(b&&Bt(b,!1),(V=U.onVnodeBeforeUpdate)&&at(V,b,h,p),z&&Ft(h,p,b,"beforeUpdate"),b&&Bt(b,!0),(F.innerHTML&&U.innerHTML==null||F.textContent&&U.textContent==null)&&u($,""),O?Oe(p.dynamicChildren,O,$,b,R,Qs(h,E),k):j||ne(p,h,$,null,b,R,Qs(h,E),k,!1),P>0){if(P&16)Xe($,F,U,b,E);else if(P&2&&F.class!==U.class&&o($,"class",null,U.class,E),P&4&&o($,"style",F.style,U.style,E),P&8){const X=h.dynamicProps;for(let de=0;de{V&&at(V,b,h,p),z&&Ft(h,p,b,"updated")},R)},Oe=(p,h,b,R,E,k,j)=>{for(let $=0;${if(h!==b){if(h!==fe)for(const k in h)!wn(k)&&!(k in b)&&o(p,k,h[k],null,E,R);for(const k in b){if(wn(k))continue;const j=b[k],$=h[k];j!==$&&k!=="value"&&o(p,k,$,j,E,R)}"value"in b&&o(p,"value",h.value,b.value,E)}},Dt=(p,h,b,R,E,k,j,$,P)=>{const O=h.el=p?p.el:l(""),z=h.anchor=p?p.anchor:l("");let{patchFlag:F,dynamicChildren:U,slotScopeIds:V}=h;V&&($=$?$.concat(V):V),p==null?(s(O,b,R),s(z,b,R),ue(h.children||[],b,z,E,k,j,$,P)):F>0&&F&64&&U&&p.dynamicChildren?(Oe(p.dynamicChildren,U,b,E,k,j,$),(h.key!=null||E&&h===E.subTree)&&qr(p,h,!0)):ne(p,h,b,z,E,k,j,$,P)},ot=(p,h,b,R,E,k,j,$,P)=>{h.slotScopeIds=$,p==null?h.shapeFlag&512?E.ctx.activate(h,b,R,j,P):mn(h,b,R,E,k,j,P):Gt(p,h,P)},mn=(p,h,b,R,E,k,j)=>{const $=p.component=ou(p,R,E);if(Xi(p)&&($.ctx.renderer=N),iu($,!1,j),$.asyncDep){if(E&&E.registerDep($,Ae,j),!p.el){const P=$.subTree=L(Kt);A(null,P,h,b)}}else Ae($,p,h,b,E,k,j)},Gt=(p,h,b)=>{const R=h.component=p.component;if(Jc(p,h,b))if(R.asyncDep&&!R.asyncResolved){ce(R,h,b);return}else R.next=h,R.update();else h.el=p.el,R.vnode=h},Ae=(p,h,b,R,E,k,j)=>{const $=()=>{if(p.isMounted){let{next:F,bu:U,u:V,parent:X,vnode:de}=p;{const He=hl(p);if(He){F&&(F.el=de.el,ce(p,F,j)),He.asyncDep.then(()=>{p.isUnmounted||$()});return}}let ie=F,ze;Bt(p,!1),F?(F.el=de.el,ce(p,F,j)):F=de,U&&Yn(U),(ze=F.props&&F.props.onVnodeBeforeUpdate)&&at(ze,X,F,de),Bt(p,!0);const Ie=Gs(p),et=p.subTree;p.subTree=Ie,x(et,Ie,d(et.el),S(et),p,E,k),F.el=Ie.el,ie===null&&Zc(p,Ie.el),V&&Fe(V,E),(ze=F.props&&F.props.onVnodeUpdated)&&Fe(()=>at(ze,X,F,de),E)}else{let F;const{el:U,props:V}=h,{bm:X,m:de,parent:ie,root:ze,type:Ie}=p,et=An(h);if(Bt(p,!1),X&&Yn(X),!et&&(F=V&&V.onVnodeBeforeMount)&&at(F,ie,h),Bt(p,!0),U&&xe){const He=()=>{p.subTree=Gs(p),xe(U,p.subTree,p,E,null)};et&&Ie.__asyncHydrate?Ie.__asyncHydrate(U,p,He):He()}else{ze.ce&&ze.ce._injectChildStyle(Ie);const He=p.subTree=Gs(p);x(null,He,b,R,p,E,k),h.el=He.el}if(de&&Fe(de,E),!et&&(F=V&&V.onVnodeMounted)){const He=h;Fe(()=>at(F,ie,He),E)}(h.shapeFlag&256||ie&&An(ie.vnode)&&ie.vnode.shapeFlag&256)&&p.a&&Fe(p.a,E),p.isMounted=!0,h=b=R=null}};p.scope.on();const P=p.effect=new Ci($);p.scope.off();const O=p.update=P.run.bind(P),z=p.job=P.runIfDirty.bind(P);z.i=p,z.id=p.uid,P.scheduler=()=>Nr(z),Bt(p,!0),O()},ce=(p,h,b)=>{h.component=p;const R=p.vnode.props;p.vnode=h,p.next=null,$c(p,h.props,R,b),Dc(p,h.children,b),jt(),ao(p),Lt()},ne=(p,h,b,R,E,k,j,$,P=!1)=>{const O=p&&p.children,z=p?p.shapeFlag:0,F=h.children,{patchFlag:U,shapeFlag:V}=h;if(U>0){if(U&128){At(O,F,b,R,E,k,j,$,P);return}else if(U&256){xt(O,F,b,R,E,k,j,$,P);return}}V&8?(z&16&&Ge(O,E,k),F!==O&&u(b,F)):z&16?V&16?At(O,F,b,R,E,k,j,$,P):Ge(O,E,k,!0):(z&8&&u(b,""),V&16&&ue(F,b,R,E,k,j,$,P))},xt=(p,h,b,R,E,k,j,$,P)=>{p=p||tn,h=h||tn;const O=p.length,z=h.length,F=Math.min(O,z);let U;for(U=0;Uz?Ge(p,E,k,!0,!1,F):ue(h,b,R,E,k,j,$,P,F)},At=(p,h,b,R,E,k,j,$,P)=>{let O=0;const z=h.length;let F=p.length-1,U=z-1;for(;O<=F&&O<=U;){const V=p[O],X=h[O]=P?Tt(h[O]):ft(h[O]);if(yn(V,X))x(V,X,b,null,E,k,j,$,P);else break;O++}for(;O<=F&&O<=U;){const V=p[F],X=h[U]=P?Tt(h[U]):ft(h[U]);if(yn(V,X))x(V,X,b,null,E,k,j,$,P);else break;F--,U--}if(O>F){if(O<=U){const V=U+1,X=VU)for(;O<=F;)Ne(p[O],E,k,!0),O++;else{const V=O,X=O,de=new Map;for(O=X;O<=U;O++){const qe=h[O]=P?Tt(h[O]):ft(h[O]);qe.key!=null&&de.set(qe.key,O)}let ie,ze=0;const Ie=U-X+1;let et=!1,He=0;const gn=new Array(Ie);for(O=0;O=Ie){Ne(qe,E,k,!0);continue}let lt;if(qe.key!=null)lt=de.get(qe.key);else for(ie=X;ie<=U;ie++)if(gn[ie-X]===0&&yn(qe,h[ie])){lt=ie;break}lt===void 0?Ne(qe,E,k,!0):(gn[lt-X]=O+1,lt>=He?He=lt:et=!0,x(qe,h[lt],b,null,E,k,j,$,P),ze++)}const no=et?Uc(gn):tn;for(ie=no.length-1,O=Ie-1;O>=0;O--){const qe=X+O,lt=h[qe],so=qe+1{const{el:k,type:j,transition:$,children:P,shapeFlag:O}=p;if(O&6){it(p.component.subTree,h,b,R);return}if(O&128){p.suspense.move(h,b,R);return}if(O&64){j.move(p,h,b,N);return}if(j===G){s(k,h,b);for(let F=0;F$.enter(k),E);else{const{leave:F,delayLeave:U,afterLeave:V}=$,X=()=>s(k,h,b),de=()=>{F(k,()=>{X(),V&&V()})};U?U(k,X,de):de()}else s(k,h,b)},Ne=(p,h,b,R=!1,E=!1)=>{const{type:k,props:j,ref:$,children:P,dynamicChildren:O,shapeFlag:z,patchFlag:F,dirs:U,cacheIndex:V}=p;if(F===-2&&(E=!1),$!=null&&us($,null,b,p,!0),V!=null&&(h.renderCache[V]=void 0),z&256){h.ctx.deactivate(p);return}const X=z&1&&U,de=!An(p);let ie;if(de&&(ie=j&&j.onVnodeBeforeUnmount)&&at(ie,h,p),z&6)Wn(p.component,b,R);else{if(z&128){p.suspense.unmount(b,R);return}X&&Ft(p,null,h,"beforeUnmount"),z&64?p.type.remove(p,h,b,N,R):O&&!O.hasOnce&&(k!==G||F>0&&F&64)?Ge(O,h,b,!1,!0):(k===G&&F&384||!E&&z&16)&&Ge(P,h,b),R&&Jt(p)}(de&&(ie=j&&j.onVnodeUnmounted)||X)&&Fe(()=>{ie&&at(ie,h,p),X&&Ft(p,null,h,"unmounted")},b)},Jt=p=>{const{type:h,el:b,anchor:R,transition:E}=p;if(h===G){Zt(b,R);return}if(h===Js){M(p);return}const k=()=>{r(b),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(p.shapeFlag&1&&E&&!E.persisted){const{leave:j,delayLeave:$}=E,P=()=>j(b,k);$?$(p.el,k,P):P()}else k()},Zt=(p,h)=>{let b;for(;p!==h;)b=m(p),r(p),p=b;r(h)},Wn=(p,h,b)=>{const{bum:R,scope:E,job:k,subTree:j,um:$,m:P,a:O}=p;xo(P),xo(O),R&&Yn(R),E.stop(),k&&(k.flags|=8,Ne(j,p,h,b)),$&&Fe($,h),Fe(()=>{p.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},Ge=(p,h,b,R=!1,E=!1,k=0)=>{for(let j=k;j{if(p.shapeFlag&6)return S(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const h=m(p.anchor||p.el),b=h&&h[Qi];return b?m(b):h};let B=!1;const D=(p,h,b)=>{p==null?h._vnode&&Ne(h._vnode,null,null,!0):x(h._vnode||null,p,h,null,null,null,b),h._vnode=p,B||(B=!0,ao(),Vi(),B=!1)},N={p:x,um:Ne,m:it,r:Jt,mt:mn,mc:ue,pc:ne,pbc:Oe,n:S,o:e};let oe,xe;return{render:D,hydrate:oe,createApp:Ic(D,oe)}}function Qs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Bt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Nc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qr(e,t,n=!1){const s=e.children,r=t.children;if(q(s)&&q(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function hl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:hl(t)}function xo(e){if(e)for(let t=0;tnt(zc);function qc(e,t){return Vr(e,null,t)}function ln(e,t,n){return Vr(e,t,n)}function Vr(e,t,n=fe){const{immediate:s,deep:r,flush:o,once:i}=n,l=ke({},n),c=t&&s||!t&&o!=="post";let a;if(jn){if(o==="sync"){const g=Hc();a=g.__watcherHandles||(g.__watcherHandles=[])}else if(!c){const g=()=>{};return g.stop=pt,g.resume=pt,g.pause=pt,g}}const u=Me;l.call=(g,y,x)=>mt(g,u,y,x);let d=!1;o==="post"?l.scheduler=g=>{Fe(g,u&&u.suspense)}:o!=="sync"&&(d=!0,l.scheduler=(g,y)=>{y?g():Nr(g)}),l.augmentJob=g=>{t&&(g.flags|=4),d&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const m=rc(e,t,l);return jn&&(a?a.push(m):c&&m()),m}function Vc(e,t,n){const s=this.proxy,r=Ee(e)?e.includes(".")?ml(s,e):()=>s[e]:e.bind(s,s);let o;K(t)?o=t:(o=t.handler,n=t);const i=Hn(this),l=Vr(r,o.bind(s),n);return i(),l}function ml(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ye(t)}Modifiers`]||e[`${Mt(t)}Modifiers`];function Wc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||fe;let r=n;const o=t.startsWith("update:"),i=o&&Kc(s,t.slice(7));i&&(i.trim&&(r=n.map(u=>Ee(u)?u.trim():u)),i.number&&(r=n.map(is)));let l,c=s[l=zs(t)]||s[l=zs(Ye(t))];!c&&o&&(c=s[l=zs(Mt(t))]),c&&mt(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,mt(a,e,6,r)}}function gl(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!K(e)){const c=a=>{const u=gl(a,t,!0);u&&(l=!0,ke(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(he(e)&&s.set(e,null),null):(q(o)?o.forEach(c=>i[c]=null):ke(i,o),he(e)&&s.set(e,i),i)}function Rs(e,t){return!e||!ys(t)?!1:(t=t.slice(2).replace(/Once$/,""),re(e,t[0].toLowerCase()+t.slice(1))||re(e,Mt(t))||re(e,t))}function Gs(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:a,renderCache:u,props:d,data:m,setupState:g,ctx:y,inheritAttrs:x}=e,v=cs(e);let A,T;try{if(n.shapeFlag&4){const M=r||s,H=M;A=ft(a.call(H,M,u,d,g,m,y)),T=l}else{const M=t;A=ft(M.length>1?M(d,{attrs:l,slots:i,emit:c}):M(d,null)),T=t.props?l:Qc(l)}}catch(M){kn.length=0,Cs(M,e,1),A=L(Kt)}let I=A;if(T&&x!==!1){const M=Object.keys(T),{shapeFlag:H}=I;M.length&&H&7&&(o&&M.some(Tr)&&(T=Gc(T,o)),I=cn(I,T,!1,!0))}return n.dirs&&(I=cn(I,null,!1,!0),I.dirs=I.dirs?I.dirs.concat(n.dirs):n.dirs),n.transition&&Ur(I,n.transition),A=I,cs(v),A}const Qc=e=>{let t;for(const n in e)(n==="class"||n==="style"||ys(n))&&((t||(t={}))[n]=e[n]);return t},Gc=(e,t)=>{const n={};for(const s in e)(!Tr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Jc(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?vo(s,i,a):!!i;if(c&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function Yc(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):lc(e)}const G=Symbol.for("v-fgt"),ks=Symbol.for("v-txt"),Kt=Symbol.for("v-cmt"),Js=Symbol.for("v-stc"),kn=[];let We=null;function w(e=!1){kn.push(We=e?null:[])}function Xc(){kn.pop(),We=kn[kn.length-1]||null}let Mn=1;function _o(e,t=!1){Mn+=e,e<0&&We&&t&&(We.hasOnce=!0)}function yl(e){return e.dynamicChildren=Mn>0?We||tn:null,Xc(),Mn>0&&We&&We.push(e),e}function C(e,t,n,s,r,o){return yl(f(e,t,n,s,r,o,!0))}function Te(e,t,n,s,r){return yl(L(e,t,n,s,r,!0))}function ds(e){return e?e.__v_isVNode===!0:!1}function yn(e,t){return e.type===t.type&&e.key===t.key}const xl=({key:e})=>e??null,ts=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ee(e)||Le(e)||K(e)?{i:Ke,r:e,k:t,f:!!n}:e:null);function f(e,t=null,n=null,s=0,r=null,o=e===G?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&xl(t),ref:t&&ts(t),scopeId:Wi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ke};return l?(Kr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=Ee(n)?8:16),Mn>0&&!i&&We&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&We.push(c),c}const L=eu;function eu(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===wc)&&(e=Kt),ds(e)){const l=cn(e,t,!0);return n&&Kr(l,n),Mn>0&&!o&&We&&(l.shapeFlag&6?We[We.indexOf(e)]=l:We.push(l)),l.patchFlag=-2,l}if(fu(e)&&(e=e.__vccOpts),t){t=tu(t);let{class:l,style:c}=t;l&&!Ee(l)&&(t.class=ee(l)),he(c)&&(Fr(c)&&!q(c)&&(c=ke({},c)),t.style=Nn(c))}const i=Ee(e)?1:bl(e)?128:ac(e)?64:he(e)?4:K(e)?2:0;return f(e,t,n,s,r,i,o,!0)}function tu(e){return e?Fr(e)||ll(e)?ke({},e):e:null}function cn(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,a=t?nu(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&xl(a),ref:t&&t.ref?n&&o?q(o)?o.concat(ts(t)):[o,ts(t)]:ts(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==G?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cn(e.ssContent),ssFallback:e.ssFallback&&cn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Ur(u,c.clone(u)),u}function we(e=" ",t=0){return L(ks,null,e,t)}function _e(e="",t=!1){return t?(w(),Te(Kt,null,e)):L(Kt,null,e)}function ft(e){return e==null||typeof e=="boolean"?L(Kt):q(e)?L(G,null,e.slice()):ds(e)?Tt(e):L(ks,null,String(e))}function Tt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cn(e)}function Kr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(q(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Kr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!ll(t)?t._ctx=Ke:r===3&&Ke&&(Ke.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:Ke},n=32):(t=String(t),s&64?(n=16,t=[we(t)]):n=8);e.children=t,e.shapeFlag|=n}function nu(...e){const t={};for(let n=0;n{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};ps=t("__VUE_INSTANCE_SETTERS__",n=>Me=n),gr=t("__VUE_SSR_SETTERS__",n=>jn=n)}const Hn=e=>{const t=Me;return ps(e),e.scope.on(),()=>{e.scope.off(),ps(t)}},wo=()=>{Me&&Me.scope.off(),ps(null)};function vl(e){return e.vnode.shapeFlag&4}let jn=!1;function iu(e,t=!1,n=!1){t&&gr(t);const{props:s,children:r}=e.vnode,o=vl(e);Pc(e,s,o,t),Lc(e,r,n);const i=o?lu(e,t):void 0;return t&&gr(!1),i}function lu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Sc);const{setup:s}=n;if(s){jt();const r=e.setupContext=s.length>1?cu(e):null,o=Hn(e),i=zn(s,e,0,[e.props,r]),l=yi(i);if(Lt(),o(),(l||e.sp)&&!An(e)&&Yi(e),l){if(i.then(wo,wo),t)return i.then(c=>{Eo(e,c,t)}).catch(c=>{Cs(c,e,0)});e.asyncDep=i}else Eo(e,i,t)}else _l(e,t)}function Eo(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:he(t)&&(e.setupState=zi(t)),_l(e,n)}let So;function _l(e,t,n){const s=e.type;if(!e.render){if(!t&&So&&!s.render){const r=s.template||zr(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=ke(ke({isCustomElement:o,delimiters:l},i),c);s.render=So(r,a)}}e.render=s.render||pt}{const r=Hn(e);jt();try{Cc(e)}finally{Lt(),r()}}}const au={get(e,t){return Pe(e,"get",""),e[t]}};function cu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,au),slots:e.slots,emit:e.emit,expose:t}}function Ts(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(zi(Za(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Rn)return Rn[n](e)},has(t,n){return n in t||n in Rn}})):e.proxy}function uu(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function fu(e){return K(e)&&"__vccOpts"in e}const Je=(e,t)=>nc(e,t,jn);function wl(e,t,n){const s=arguments.length;return s===2?he(t)&&!q(t)?ds(t)?L(e,null,[t]):L(e,t):L(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ds(n)&&(n=[n]),L(e,t,n))}const du="3.5.13";/** -* @vue/runtime-dom v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let br;const Co=typeof window<"u"&&window.trustedTypes;if(Co)try{br=Co.createPolicy("vue",{createHTML:e=>e})}catch{}const El=br?e=>br.createHTML(e):e=>e,pu="http://www.w3.org/2000/svg",hu="http://www.w3.org/1998/Math/MathML",wt=typeof document<"u"?document:null,Ao=wt&&wt.createElement("template"),mu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?wt.createElementNS(pu,e):t==="mathml"?wt.createElementNS(hu,e):n?wt.createElement(e,{is:n}):wt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>wt.createTextNode(e),createComment:e=>wt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>wt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Ao.innerHTML=El(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Ao.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},gu=Symbol("_vtc");function bu(e,t,n){const s=e[gu];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ro=Symbol("_vod"),yu=Symbol("_vsh"),xu=Symbol(""),vu=/(^|;)\s*display\s*:/;function _u(e,t,n){const s=e.style,r=Ee(n);let o=!1;if(n&&!r){if(t)if(Ee(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&ns(s,l,"")}else for(const i in t)n[i]==null&&ns(s,i,"");for(const i in n)i==="display"&&(o=!0),ns(s,i,n[i])}else if(r){if(t!==n){const i=s[xu];i&&(n+=";"+i),s.cssText=n,o=vu.test(n)}}else t&&e.removeAttribute("style");Ro in e&&(e[Ro]=o?s.display:"",e[yu]&&(s.display="none"))}const ko=/\s*!important$/;function ns(e,t,n){if(q(n))n.forEach(s=>ns(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=wu(e,t);ko.test(n)?e.setProperty(Mt(s),n.replace(ko,""),"important"):e[s]=n}}const To=["Webkit","Moz","ms"],Zs={};function wu(e,t){const n=Zs[t];if(n)return n;let s=Ye(t);if(s!=="filter"&&s in e)return Zs[t]=s;s=_s(s);for(let r=0;rYs||(Au.then(()=>Ys=0),Ys=Date.now());function ku(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;mt(Tu(s,n.value),t,5,[s])};return n.value=e,n.attached=Ru(),n}function Tu(e,t){if(q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const jo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ou=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?bu(e,s,i):t==="style"?_u(e,n,s):ys(t)?Tr(t)||Su(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Iu(e,t,s,i))?(Po(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Io(e,t,s,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ee(s))?Po(e,Ye(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Io(e,t,s,i))};function Iu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&jo(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return jo(t)&&Ee(n)?!1:t in e}const hs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return q(t)?n=>Yn(t,n):t};function Pu(e){e.target.composing=!0}function Lo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const an=Symbol("_assign"),dt={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[an]=hs(r);const o=s||r.props&&r.props.type==="number";Ut(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=is(l)),e[an](l)}),n&&Ut(e,"change",()=>{e.value=e.value.trim()}),t||(Ut(e,"compositionstart",Pu),Ut(e,"compositionend",Lo),Ut(e,"change",Lo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[an]=hs(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?is(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},It={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=xs(t);Ut(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?is(ms(i)):ms(i));e[an](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,Br(()=>{e._assigning=!1})}),e[an]=hs(s)},mounted(e,{value:t}){Do(e,t)},beforeUpdate(e,t,n){e[an]=hs(n)},updated(e,{value:t}){e._assigning||Do(e,t)}};function Do(e,t){const n=e.multiple,s=q(t);if(!(n&&!s&&!xs(t))){for(let r=0,o=e.options.length;rString(a)===String(l)):i.selected=Oa(t,l)>-1}else i.selected=t.has(l);else if(Es(ms(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ms(e){return"_value"in e?e._value:e.value}const $u=["ctrl","shift","alt","meta"],Mu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>$u.some(n=>e[`${n}Key`]&&!t.includes(n))},Fo=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=Mt(r.key);if(t.some(i=>i===o||ju[i]===o))return e(r)})},Du=ke({patchProp:Ou},mu);let Bo;function Fu(){return Bo||(Bo=Fc(Du))}const Bu=(...e)=>{const t=Fu().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Uu(s);if(!r)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,Nu(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Nu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Uu(e){return Ee(e)?document.querySelector(e):e}/*! - * vue-router v4.4.5 - * (c) 2024 Eduardo San Martin Morote - * @license MIT - */const en=typeof document<"u";function Sl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function zu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Sl(e.default)}const le=Object.assign;function Xs(e,t){const n={};for(const s in t){const r=t[s];n[s]=st(r)?r.map(e):e(r)}return n}const Tn=()=>{},st=Array.isArray,Cl=/#/g,Hu=/&/g,qu=/\//g,Vu=/=/g,Ku=/\?/g,Al=/\+/g,Wu=/%5B/g,Qu=/%5D/g,Rl=/%5E/g,Gu=/%60/g,kl=/%7B/g,Ju=/%7C/g,Tl=/%7D/g,Zu=/%20/g;function Wr(e){return encodeURI(""+e).replace(Ju,"|").replace(Wu,"[").replace(Qu,"]")}function Yu(e){return Wr(e).replace(kl,"{").replace(Tl,"}").replace(Rl,"^")}function yr(e){return Wr(e).replace(Al,"%2B").replace(Zu,"+").replace(Cl,"%23").replace(Hu,"%26").replace(Gu,"`").replace(kl,"{").replace(Tl,"}").replace(Rl,"^")}function Xu(e){return yr(e).replace(Vu,"%3D")}function ef(e){return Wr(e).replace(Cl,"%23").replace(Ku,"%3F")}function tf(e){return e==null?"":ef(e).replace(qu,"%2F")}function Ln(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const nf=/\/$/,sf=e=>e.replace(nf,"");function er(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=af(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:Ln(i)}}function rf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function No(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function of(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&un(t.matched[s],n.matched[r])&&Ol(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function un(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ol(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!lf(e[n],t[n]))return!1;return!0}function lf(e,t){return st(e)?Uo(e,t):st(t)?Uo(t,e):e===t}function Uo(e,t){return st(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function af(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const Rt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Dn;(function(e){e.pop="pop",e.push="push"})(Dn||(Dn={}));var On;(function(e){e.back="back",e.forward="forward",e.unknown=""})(On||(On={}));function cf(e){if(!e)if(en){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),sf(e)}const uf=/^[^#]+#/;function ff(e,t){return e.replace(uf,"#")+t}function df(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Os=()=>({left:window.scrollX,top:window.scrollY});function pf(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=df(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function zo(e,t){return(history.state?history.state.position-t:-1)+e}const xr=new Map;function hf(e,t){xr.set(e,t)}function mf(e){const t=xr.get(e);return xr.delete(e),t}let gf=()=>location.protocol+"//"+location.host;function Il(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),No(c,"")}return No(n,e)+s+r}function bf(e,t,n,s){let r=[],o=[],i=null;const l=({state:m})=>{const g=Il(e,location),y=n.value,x=t.value;let v=0;if(m){if(n.value=g,t.value=m,i&&i===y){i=null;return}v=x?m.position-x.position:0}else s(g);r.forEach(A=>{A(n.value,y,{delta:v,type:Dn.pop,direction:v?v>0?On.forward:On.back:On.unknown})})};function c(){i=n.value}function a(m){r.push(m);const g=()=>{const y=r.indexOf(m);y>-1&&r.splice(y,1)};return o.push(g),g}function u(){const{history:m}=window;m.state&&m.replaceState(le({},m.state,{scroll:Os()}),"")}function d(){for(const m of o)m();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:a,destroy:d}}function Ho(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Os():null}}function yf(e){const{history:t,location:n}=window,s={value:Il(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,a,u){const d=e.indexOf("#"),m=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+c:gf()+e+c;try{t[u?"replaceState":"pushState"](a,"",m),r.value=a}catch(g){console.error(g),n[u?"replace":"assign"](m)}}function i(c,a){const u=le({},t.state,Ho(r.value.back,c,r.value.forward,!0),a,{position:r.value.position});o(c,u,!0),s.value=c}function l(c,a){const u=le({},r.value,t.state,{forward:c,scroll:Os()});o(u.current,u,!0);const d=le({},Ho(s.value,c,null),{position:u.position+1},a);o(c,d,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function xf(e){e=cf(e);const t=yf(e),n=bf(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=le({location:"",base:e,go:s,createHref:ff.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function vf(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),xf(e)}function _f(e){return typeof e=="string"||e&&typeof e=="object"}function Pl(e){return typeof e=="string"||typeof e=="symbol"}const $l=Symbol("");var qo;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(qo||(qo={}));function fn(e,t){return le(new Error,{type:e,[$l]:!0},t)}function _t(e,t){return e instanceof Error&&$l in e&&(t==null||!!(e.type&t))}const Vo="[^/]+?",wf={sensitive:!1,strict:!1,start:!0,end:!0},Ef=/[.+*?^${}()[\]/\\]/g;function Sf(e,t){const n=le({},wf,t),s=[];let r=n.start?"^":"";const o=[];for(const a of e){const u=a.length?[]:[90];n.strict&&!a.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function Ml(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Af={type:0,value:""},Rf=/[a-zA-Z0-9_]/;function kf(e){if(!e)return[[]];if(e==="/")return[[Af]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${a}": ${g}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,a="",u="";function d(){a&&(n===0?o.push({type:0,value:a}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:a,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function m(){a+=c}for(;l{i(I)}:Tn}function i(d){if(Pl(d)){const m=s.get(d);m&&(s.delete(d),n.splice(n.indexOf(m),1),m.children.forEach(i),m.alias.forEach(i))}else{const m=n.indexOf(d);m>-1&&(n.splice(m,1),d.record.name&&s.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function l(){return n}function c(d){const m=$f(d,n);n.splice(m,0,d),d.record.name&&!Go(d)&&s.set(d.record.name,d)}function a(d,m){let g,y={},x,v;if("name"in d&&d.name){if(g=s.get(d.name),!g)throw fn(1,{location:d});v=g.record.name,y=le(Wo(m.params,g.keys.filter(I=>!I.optional).concat(g.parent?g.parent.keys.filter(I=>I.optional):[]).map(I=>I.name)),d.params&&Wo(d.params,g.keys.map(I=>I.name))),x=g.stringify(y)}else if(d.path!=null)x=d.path,g=n.find(I=>I.re.test(x)),g&&(y=g.parse(x),v=g.record.name);else{if(g=m.name?s.get(m.name):n.find(I=>I.re.test(m.path)),!g)throw fn(1,{location:d,currentLocation:m});v=g.record.name,y=le({},m.params,d.params),x=g.stringify(y)}const A=[];let T=g;for(;T;)A.unshift(T.record),T=T.parent;return{name:v,path:x,params:y,matched:A,meta:Pf(A)}}e.forEach(d=>o(d));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:a,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function Wo(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Qo(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:If(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function If(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Go(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Pf(e){return e.reduce((t,n)=>le(t,n.meta),{})}function Jo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function $f(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Ml(e,t[o])<0?s=o:n=o+1}const r=Mf(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Mf(e){let t=e;for(;t=t.parent;)if(jl(t)&&Ml(e,t)===0)return t}function jl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function jf(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&yr(o)):[s&&yr(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Lf(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=st(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Df=Symbol(""),Yo=Symbol(""),Is=Symbol(""),Qr=Symbol(""),vr=Symbol("");function xn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ot(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const a=m=>{m===!1?c(fn(4,{from:n,to:t})):m instanceof Error?c(m):_f(m)?c(fn(2,{from:t,to:m})):(i&&s.enterCallbacks[r]===i&&typeof m=="function"&&i.push(m),l())},u=o(()=>e.call(s&&s.instances[r],t,n,a));let d=Promise.resolve(u);e.length<3&&(d=d.then(a)),d.catch(m=>c(m))})}function tr(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Sl(c)){const u=(c.__vccOpts||c)[t];u&&o.push(Ot(u,n,s,i,l,r))}else{let a=c();o.push(()=>a.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const d=zu(u)?u.default:u;i.mods[l]=u,i.components[l]=d;const g=(d.__vccOpts||d)[t];return g&&Ot(g,n,s,i,l,r)()}))}}return o}function Xo(e){const t=nt(Is),n=nt(Qr),s=Je(()=>{const c=Se(e.to);return t.resolve(c)}),r=Je(()=>{const{matched:c}=s.value,{length:a}=c,u=c[a-1],d=n.matched;if(!u||!d.length)return-1;const m=d.findIndex(un.bind(null,u));if(m>-1)return m;const g=ei(c[a-2]);return a>1&&ei(u)===g&&d[d.length-1].path!==g?d.findIndex(un.bind(null,c[a-2])):m}),o=Je(()=>r.value>-1&&Uf(n.params,s.value.params)),i=Je(()=>r.value>-1&&r.value===n.matched.length-1&&Ol(n.params,s.value.params));function l(c={}){return Nf(c)?t[Se(e.replace)?"replace":"push"](Se(e.to)).catch(Tn):Promise.resolve()}return{route:s,href:Je(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const Ff=Zi({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Xo,setup(e,{slots:t}){const n=Un(Xo(e)),{options:s}=nt(Is),r=Je(()=>({[ti(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ti(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:wl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Bf=Ff;function Nf(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Uf(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!st(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function ei(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ti=(e,t,n)=>e??t??n,zf=Zi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=nt(vr),r=Je(()=>e.route||s.value),o=nt(Yo,0),i=Je(()=>{let a=Se(o);const{matched:u}=r.value;let d;for(;(d=u[a])&&!d.components;)a++;return a}),l=Je(()=>r.value.matched[i.value]);es(Yo,Je(()=>i.value+1)),es(Df,l),es(vr,r);const c=Q();return ln(()=>[c.value,l.value,e.name],([a,u,d],[m,g,y])=>{u&&(u.instances[d]=a,g&&g!==u&&a&&a===m&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),a&&u&&(!g||!un(u,g)||!m)&&(u.enterCallbacks[d]||[]).forEach(x=>x(a))},{flush:"post"}),()=>{const a=r.value,u=e.name,d=l.value,m=d&&d.components[u];if(!m)return ni(n.default,{Component:m,route:a});const g=d.props[u],y=g?g===!0?a.params:typeof g=="function"?g(a):g:null,v=wl(m,le({},y,t,{onVnodeUnmounted:A=>{A.component.isUnmounted&&(d.instances[u]=null)},ref:c}));return ni(n.default,{Component:v,route:a})||v}}});function ni(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ll=zf;function Hf(e){const t=Of(e.routes,e),n=e.parseQuery||jf,s=e.stringifyQuery||Zo,r=e.history,o=xn(),i=xn(),l=xn(),c=Ya(Rt);let a=Rt;en&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Xs.bind(null,S=>""+S),d=Xs.bind(null,tf),m=Xs.bind(null,Ln);function g(S,B){let D,N;return Pl(S)?(D=t.getRecordMatcher(S),N=B):N=S,t.addRoute(N,D)}function y(S){const B=t.getRecordMatcher(S);B&&t.removeRoute(B)}function x(){return t.getRoutes().map(S=>S.record)}function v(S){return!!t.getRecordMatcher(S)}function A(S,B){if(B=le({},B||c.value),typeof S=="string"){const h=er(n,S,B.path),b=t.resolve({path:h.path},B),R=r.createHref(h.fullPath);return le(h,b,{params:m(b.params),hash:Ln(h.hash),redirectedFrom:void 0,href:R})}let D;if(S.path!=null)D=le({},S,{path:er(n,S.path,B.path).path});else{const h=le({},S.params);for(const b in h)h[b]==null&&delete h[b];D=le({},S,{params:d(h)}),B.params=d(B.params)}const N=t.resolve(D,B),oe=S.hash||"";N.params=u(m(N.params));const xe=rf(s,le({},S,{hash:Yu(oe),path:N.path})),p=r.createHref(xe);return le({fullPath:xe,hash:oe,query:s===Zo?Lf(S.query):S.query||{}},N,{redirectedFrom:void 0,href:p})}function T(S){return typeof S=="string"?er(n,S,c.value.path):le({},S)}function I(S,B){if(a!==S)return fn(8,{from:B,to:S})}function M(S){return Z(S)}function H(S){return M(le(T(S),{replace:!0}))}function Y(S){const B=S.matched[S.matched.length-1];if(B&&B.redirect){const{redirect:D}=B;let N=typeof D=="function"?D(S):D;return typeof N=="string"&&(N=N.includes("?")||N.includes("#")?N=T(N):{path:N},N.params={}),le({query:S.query,hash:S.hash,params:N.path!=null?{}:S.params},N)}}function Z(S,B){const D=a=A(S),N=c.value,oe=S.state,xe=S.force,p=S.replace===!0,h=Y(D);if(h)return Z(le(T(h),{state:typeof h=="object"?le({},oe,h.state):oe,force:xe,replace:p}),B||D);const b=D;b.redirectedFrom=B;let R;return!xe&&of(s,N,D)&&(R=fn(16,{to:b,from:N}),it(N,N,!0,!1)),(R?Promise.resolve(R):Oe(b,N)).catch(E=>_t(E)?_t(E,2)?E:At(E):ne(E,b,N)).then(E=>{if(E){if(_t(E,2))return Z(le({replace:p},T(E.to),{state:typeof E.to=="object"?le({},oe,E.to.state):oe,force:xe}),B||b)}else E=Dt(b,N,!0,p,oe);return Xe(b,N,E),E})}function ue(S,B){const D=I(S,B);return D?Promise.reject(D):Promise.resolve()}function ye(S){const B=Zt.values().next().value;return B&&typeof B.runWithContext=="function"?B.runWithContext(S):S()}function Oe(S,B){let D;const[N,oe,xe]=qf(S,B);D=tr(N.reverse(),"beforeRouteLeave",S,B);for(const h of N)h.leaveGuards.forEach(b=>{D.push(Ot(b,S,B))});const p=ue.bind(null,S,B);return D.push(p),Ge(D).then(()=>{D=[];for(const h of o.list())D.push(Ot(h,S,B));return D.push(p),Ge(D)}).then(()=>{D=tr(oe,"beforeRouteUpdate",S,B);for(const h of oe)h.updateGuards.forEach(b=>{D.push(Ot(b,S,B))});return D.push(p),Ge(D)}).then(()=>{D=[];for(const h of xe)if(h.beforeEnter)if(st(h.beforeEnter))for(const b of h.beforeEnter)D.push(Ot(b,S,B));else D.push(Ot(h.beforeEnter,S,B));return D.push(p),Ge(D)}).then(()=>(S.matched.forEach(h=>h.enterCallbacks={}),D=tr(xe,"beforeRouteEnter",S,B,ye),D.push(p),Ge(D))).then(()=>{D=[];for(const h of i.list())D.push(Ot(h,S,B));return D.push(p),Ge(D)}).catch(h=>_t(h,8)?h:Promise.reject(h))}function Xe(S,B,D){l.list().forEach(N=>ye(()=>N(S,B,D)))}function Dt(S,B,D,N,oe){const xe=I(S,B);if(xe)return xe;const p=B===Rt,h=en?history.state:{};D&&(N||p?r.replace(S.fullPath,le({scroll:p&&h&&h.scroll},oe)):r.push(S.fullPath,oe)),c.value=S,it(S,B,D,p),At()}let ot;function mn(){ot||(ot=r.listen((S,B,D)=>{if(!Wn.listening)return;const N=A(S),oe=Y(N);if(oe){Z(le(oe,{replace:!0}),N).catch(Tn);return}a=N;const xe=c.value;en&&hf(zo(xe.fullPath,D.delta),Os()),Oe(N,xe).catch(p=>_t(p,12)?p:_t(p,2)?(Z(p.to,N).then(h=>{_t(h,20)&&!D.delta&&D.type===Dn.pop&&r.go(-1,!1)}).catch(Tn),Promise.reject()):(D.delta&&r.go(-D.delta,!1),ne(p,N,xe))).then(p=>{p=p||Dt(N,xe,!1),p&&(D.delta&&!_t(p,8)?r.go(-D.delta,!1):D.type===Dn.pop&&_t(p,20)&&r.go(-1,!1)),Xe(N,xe,p)}).catch(Tn)}))}let Gt=xn(),Ae=xn(),ce;function ne(S,B,D){At(S);const N=Ae.list();return N.length?N.forEach(oe=>oe(S,B,D)):console.error(S),Promise.reject(S)}function xt(){return ce&&c.value!==Rt?Promise.resolve():new Promise((S,B)=>{Gt.add([S,B])})}function At(S){return ce||(ce=!S,mn(),Gt.list().forEach(([B,D])=>S?D(S):B()),Gt.reset()),S}function it(S,B,D,N){const{scrollBehavior:oe}=e;if(!en||!oe)return Promise.resolve();const xe=!D&&mf(zo(S.fullPath,0))||(N||!D)&&history.state&&history.state.scroll||null;return Br().then(()=>oe(S,B,xe)).then(p=>p&&pf(p)).catch(p=>ne(p,S,B))}const Ne=S=>r.go(S);let Jt;const Zt=new Set,Wn={currentRoute:c,listening:!0,addRoute:g,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:x,resolve:A,options:e,push:M,replace:H,go:Ne,back:()=>Ne(-1),forward:()=>Ne(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:Ae.add,isReady:xt,install(S){const B=this;S.component("RouterLink",Bf),S.component("RouterView",Ll),S.config.globalProperties.$router=B,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>Se(c)}),en&&!Jt&&c.value===Rt&&(Jt=!0,M(r.location).catch(oe=>{}));const D={};for(const oe in Rt)Object.defineProperty(D,oe,{get:()=>c.value[oe],enumerable:!0});S.provide(Is,B),S.provide(Qr,Bi(D)),S.provide(vr,c);const N=S.unmount;Zt.add(S),S.unmount=function(){Zt.delete(S),Zt.size<1&&(a=Rt,ot&&ot(),ot=null,c.value=Rt,Jt=!1,ce=!1),N()}}};function Ge(S){return S.reduce((B,D)=>B.then(()=>ye(D)),Promise.resolve())}return Wn}function qf(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iun(a,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(a=>un(a,c))||r.push(c))}return[n,s,r]}function Ps(){return nt(Is)}function Gr(e){return nt(Qr)}const Vf={__name:"App",setup(e){return(t,n)=>(w(),Te(Se(Ll)))}},Kf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2023%2023'%3e%3cpath%20fill='%23f3f3f3'%20d='M0%200h23v23H0z'/%3e%3cpath%20fill='%23f35325'%20d='M1%201h10v10H1z'/%3e%3cpath%20fill='%2381bc06'%20d='M12%201h10v10H12z'/%3e%3cpath%20fill='%2305a6f0'%20d='M1%2012h10v10H1z'/%3e%3cpath%20fill='%23ffba08'%20d='M12%2012h10v10H12z'/%3e%3c/svg%3e",Ce=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Wf={props:{customClass:{type:String},sizeClass:{type:String,default:"text-5xl"}}},Qf={class:"flex space-x-1"};function Gf(e,t,n,s,r,o){return w(),C("div",Qf,[f("h1",{class:ee([n.customClass||"text-light"])},[f("span",{class:ee(["italic",n.sizeClass])},"Achei",2)],2),f("h1",{class:ee([n.customClass||"text-light"])},[f("span",{class:ee(["font-bold",n.sizeClass])},"UnB",2)],2)])}const gt=Ce(Wf,[["render",Gf]]),Jf={id:"transition-screen",class:"fixed inset-0 flex items-center justify-center z-50"},Zf={class:"fixed inset-0 flex items-center justify-center z-50"},Yf={id:"main-content",class:"telaInteira bg-azul text-white p-4 min-h-screen hidden"},Xf={class:"titulo flex space-x-1 mt-20 mb-20 ml-8 md:flex md:justify-center md:mb-52"},ed={__name:"Login",setup(e){window.addEventListener("load",()=>{const n=document.getElementById("transition-screen"),s=document.getElementById("main-content");setTimeout(()=>{n.classList.add("fade-out")},500),n.addEventListener("animationend",()=>{n.classList.add("hidden"),s.classList.remove("hidden"),s.classList.add("fade-in")})});function t(){window.location.href="https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=f1b79927-10ff-4601-a361-f9cab58fb250&scope=User.Read&response_type=code&state=Zay5NfY4tSn7JgvO&domain=alunos.unb.br"}return(n,s)=>(w(),C(G,null,[f("div",Jf,[f("div",Zf,[L(gt,{customClass:"text-azul"})])]),f("div",Yf,[f("div",Xf,[L(gt)]),s[1]||(s[1]=f("div",{class:"slogan max-w-72 ml-8 md:mr-8 md:max-w-none md:w-auto md:text-center"},[f("p",{class:"text-5xl font-bold mb-4 md:text-6xl"},"Perdeu algo no campus?"),f("p",{class:"text-5xl italic font-light mb-4 md:text-6xl"},"A gente te ajuda!")],-1)),f("div",{class:"flex justify-center mt-52"},[f("button",{onClick:t,class:"flex items-center rounded-full bg-gray-50 px-5 py-3 text-md font-medium text-azul ring-1 ring-inset ring-gray-500/10"},s[0]||(s[0]=[f("img",{src:Kf,alt:"Logo Microsoft",class:"h-6 w-auto mr-2"},null,-1),we(" Entre com a conta da Microsoft ")]))])])],64))}},td=Ce(ed,[["__scopeId","data-v-cdb7a9e0"]]),nd={name:"AboutHeader",props:{text:String}},sd={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-center text-white p-6"},rd={class:"font-inter font-semibold text-2xl"};function od(e,t,n,s,r,o){return w(),C("div",sd,[f("div",null,[f("span",rd,J(n.text?n.text:"Sobre o projeto"),1)])])}const id=Ce(nd,[["render",od]]),ld={name:"MainMenu",props:{activeIcon:String}},ad={class:"h-full bg-azul shadow-md rounded-t-xl flex items-center justify-center text-white gap-x-9 p-8"};function cd(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",ad,[L(i,{to:"/found",class:"no-underline"},{default:be(()=>[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:ee(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="search"}])},t[0]||(t[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"},null,-1)]),2))]),_:1}),L(i,{to:"/user",class:"no-underline"},{default:be(()=>[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:ee(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="user"}])},t[1]||(t[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"},null,-1)]),2))]),_:1}),L(i,{to:"/about",class:"no-underline"},{default:be(()=>[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:ee(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="info"}])},t[2]||(t[2]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"},null,-1)]),2))]),_:1}),L(i,{to:"/chats",class:"no-underline"},{default:be(()=>[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:ee(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="chat"}])},t[3]||(t[3]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 0 1-2.555-.337A5.972 5.972 0 0 1 5.41 20.97a5.969 5.969 0 0 1-.474-.065 4.48 4.48 0 0 0 .978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25Z"},null,-1)]),2))]),_:1})])}const yt=Ce(ld,[["render",cd]]),Dl="/static/dist/assets/Favicon-DZaE_dAz.png",ud={class:"relative min-h-screen"},fd={class:"fixed w-full top-0",style:{"z-index":"1"}},dd={class:"pt-[120px] flex justify-center my-6 text-azul"},pd={class:"max-w-4xl mx-auto mt-10 p-5 pb-[140px]"},hd={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6"},md=["href"],gd=["src","alt"],bd={class:"text-center mt-2"},yd={class:"font-inter font-medium"},xd={class:"fixed bottom-0 w-full"},vd={__name:"About",setup(e){const t=Q(Dl),n=[{name:"Ana Elisa Ramos",github:"https://github.com/anaelisaramos",image:"https://github.com/anaelisaramos.png"},{name:"Davi Camilo",github:"https://github.com/DaviCamilo23",image:"https://github.com/DaviCamilo23.png"},{name:"Euller Júlio da Silva",github:"https://github.com/potatoyz908",image:"https://github.com/potatoyz908.png"},{name:"Leonardo Ramiro",github:"https://github.com/leoramiroo",image:"https://github.com/leoramiroo.png"},{name:"Pedro Everton",github:"https://github.com/pedroeverton217",image:"https://github.com/pedroeverton217.png"},{name:"Pedro Martins Silva",github:"https://github.com/314dro",image:"https://github.com/314dro.png"},{name:"Tiago Balieiro",github:"https://github.com/TiagoBalieiro",image:"https://github.com/TiagoBalieiro.png"}];return(s,r)=>{const o=me("ButtonAdd");return w(),C("div",ud,[f("div",{class:"absolute inset-0 bg-no-repeat bg-cover bg-center opacity-10 z-[-1]",style:Nn({backgroundImage:`url(${t.value})`,backgroundSize:s.isLargeScreen?"50%":"contain",backgroundAttachment:"fixed"})},null,4),f("div",fd,[L(id)]),f("div",dd,[L(gt)]),r[2]||(r[2]=f("span",{class:"font-inter text-azul text-center flex justify-center items-center mx-auto max-w-3xl sm:px-0 px-4 md:max-w-2xl mt-7"},[we(" Somos um grupo da disciplina Métodos de Desenvolvimento de Software da Universidade de Brasília."),f("br"),we(" Temos como objetivo solucionar um dos problemas da faculdade, que é a falta de ferramentas para organizar itens achados e perdidos pelos estudantes."),f("br"),we(" Com o AcheiUnB você consegue de forma simples e intuitiva procurar pelo seu item perdido ou cadastrar um item que você encontrou. ")],-1)),r[3]||(r[3]=f("div",{class:"flex justify-center mt-6"},[f("a",{href:"https://unb-mds.github.io/2024-2-AcheiUnB/CONTRIBUTING/",target:"_blank",class:"bg-laranja text-white font-semibold px-8 py-3 text-lg lg:text-xl rounded-full hover:bg-azulEscuro transition hover:text-white duration-300 shadow-md hover:scale-110 transition-transform"}," Como Contribuir? ")],-1)),f("div",pd,[r[1]||(r[1]=f("div",{class:"text-azul text-lg text-center font-semibold mb-7"},"Criado por:",-1)),f("div",hd,[(w(),C(G,null,ve(n,i=>f("div",{key:i.name,class:"flex flex-col items-center"},[f("a",{href:i.github,target:"_blank"},[f("img",{src:i.image,alt:i.name,class:"w-[100px] rounded-full hover:scale-110 transition-transform"},null,8,gd)],8,md),f("div",bd,[f("p",yd,J(i.name),1),r[0]||(r[0]=f("p",{class:"text-sm text-cinza3"},"Engenharia de Software",-1))])])),64))])]),L(o),f("div",xd,[L(yt,{activeIcon:"info"})])])}}},Jr="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%238899a8'%20class='size-6'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m14.74%209-.346%209m-4.788%200L9.26%209m9.968-3.21c.342.052.682.107%201.022.166m-1.022-.165L18.16%2019.673a2.25%202.25%200%200%201-2.244%202.077H8.084a2.25%202.25%200%200%201-2.244-2.077L4.772%205.79m14.456%200a48.108%2048.108%200%200%200-3.478-.397m-12%20.562c.34-.059.68-.114%201.022-.165m0%200a48.11%2048.11%200%200%201%203.478-.397m7.5%200v-.916c0-1.18-.91-2.164-2.09-2.201a51.964%2051.964%200%200%200-3.32%200c-1.18.037-2.09%201.022-2.09%202.201v.916m7.5%200a48.667%2048.667%200%200%200-7.5%200'%20/%3e%3c/svg%3e",_d="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%23133E78'%20%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M15%2010.5a3%203%200%201%201-6%200%203%203%200%200%201%206%200Z'%20/%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M19.5%2010.5c0%207.142-7.5%2011.25-7.5%2011.25S4.5%2017.642%204.5%2010.5a7.5%207.5%200%201%201%2015%200Z'%20/%3e%3c/svg%3e",wd={class:"w-full h-[120px] bg-cinza2 rounded-sm flex justify-center items-start"},Ed=["src"],Sd={key:0,class:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50"},Cd={class:"text-azul font-bold font-inter mt-1 truncate"},Ad={class:"flex items-start"},Rd={class:"text-azul font-inter text-sm"},kd={class:"text-right font-inter font-bold text-xs text-cinza3 p-1 flex justify-end items-center"},$s={__name:"Item-Card",props:{id:Number,image:String,name:String,time:String,location:String,isMyItem:{type:Boolean,default:!1}},emits:["delete"],setup(e,{emit:t}){const n=e,s=t,r=Ps(),o=Q(!1),i=Q(null),l=()=>{o.value||r.push({name:"ListItem",query:{idItem:n.id}})},c=()=>{o.value=!1,i.value=null,document.body.style.overflow=""},a=()=>{s("delete",n.id),o.value=!1};return(u,d)=>(w(),C("div",{class:"w-[170px] sm:w-[190px] h-[230px] bg-cinza1 rounded-sm shadow-complete p-2 flex flex-col relative z-0",onClick:d[2]||(d[2]=m=>l())},[f("div",wd,[f("img",{src:e.image,class:"rounded-sm w-full h-full max-w-full max-h-full object-cover"},null,8,Ed)]),e.isMyItem?(w(),C("button",{key:0,class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-7 h-7 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:d[0]||(d[0]=Fo(m=>o.value=!0,["stop"]))},d[3]||(d[3]=[f("img",{src:Jr,alt:"Excluir"},null,-1)]))):_e("",!0),(w(),Te(uc,{to:"body"},[o.value?(w(),C("div",Sd,[f("div",{class:"bg-azul p-6 rounded-lg shadow-lg w-full max-w-sm sm:max-w-md lg:max-w-lg text-center relative",onClick:d[1]||(d[1]=Fo(()=>{},["stop"]))},[d[4]||(d[4]=f("p",{class:"text-white font-inter text-lg"}," Você realmente deseja excluir este item do AcheiUnB? ",-1)),f("div",{class:"flex flex-col sm:flex-row justify-center mt-4 gap-4"},[f("button",{class:"bg-red-500 text-white font-inter px-4 py-2 rounded-md hover:bg-red-600 transition w-full sm:w-auto",onClick:a}," Excluir "),f("button",{class:"bg-white font-inter px-4 py-2 rounded-md hover:bg-gray-200 transition w-full sm:w-auto",onClick:c}," Cancelar ")])])])):_e("",!0)])),d[6]||(d[6]=f("div",{class:"h-[2px] w-1/4 bg-laranja mt-4"},null,-1)),f("div",Cd,J(e.name),1),f("div",Ad,[d[5]||(d[5]=f("img",{src:_d,alt:"",class:"w-[15px] h-[15px] mr-1"},null,-1)),f("div",Rd,J(e.location),1)]),f("span",kd,[e.isMyItem?_e("",!0):(w(),C(G,{key:0},[we(J(e.time),1)],64))])]))}},Fl="data:image/svg+xml,%3csvg%20class='svg%20w-8'%20fill='none'%20height='24'%20stroke='%23133E78'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20viewBox='0%200%2024%2024'%20width='24'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cline%20x1='12'%20x2='12'%20y1='5'%20y2='19'%3e%3c/line%3e%3cline%20x1='5'%20x2='19'%20y1='12'%20y2='12'%3e%3c/line%3e%3c/svg%3e",Td={props:{customClass:{name:"ButtonAdd",type:String}}};function Od(e,t,n,s,r,o){const i=me("router-link");return w(),Te(i,{to:"/register-lost"},{default:be(()=>t[0]||(t[0]=[f("button",{class:"fixed right-0 bottom-28 rounded-l-lg w-60 h-12 cursor-pointer flex items-center border border-laranja bg-laranja group hover:bg-laranja active:bg-laranja active:border-laranja"},[f("span",{class:"text-azul font-inter font-medium ml-6 transform group-hover:translate-x-0"},"Adicionar item perdido"),f("span",{class:"absolute right-0 h-full w-10 rounded-lg bg-laranja flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300"},[f("img",{src:Fl,alt:""})])],-1)])),_:1})}const Id=Ce(Td,[["render",Od]]),te=Un({searchQuery:"",activeCategory:null,activeLocation:null}),Pd=e=>{te.searchQuery=e},$d=e=>{te.activeCategory==e?te.activeCategory=null:te.activeCategory=e},Md=e=>{te.activeLocation==e?te.activeLocation=null:te.activeLocation=e},jd={name:"SearchBar",setup(){return{filtersState:te,setSearchQuery:Pd,setActiveCategory:$d,setActiveLocation:Md}},data(){return{showFilters:!1,isActive:!1,categories:[{label:"Animais",active:!1},{label:"Eletrônicos",active:!1},{label:"Mochilas e Bolsas",active:!1},{label:"Chaves",active:!1},{label:"Livros e Materiais Acadêmicos",active:!1},{label:"Documentos e Cartões",active:!1},{label:"Equipamentos Esportivos",active:!1},{label:"Roupas e Acessórios",active:!1},{label:"Itens Pessoais",active:!1},{label:"Outros",active:!1}],locations:[{label:"RU",active:!1},{label:"Biblioteca",active:!1},{label:"UED",active:!1},{label:"UAC",active:!1},{label:"LTDEA",active:!1},{label:"Centro Acadêmico",active:!1}]}},computed:{isMediumOrLarger(){return window.innerWidth>=768},searchQueryWithoutAccents(){return this.searchQuery?this.searchQuery.normalize("NFD").replace(/[\u0300-\u036f]/g,""):""}},methods:{toggleActive(){this.isActive=!this.isActive},toggleFilters(){this.showFilters=!this.showFilters},toggleFilter(e,t){e==="category"?this.categories.forEach((n,s)=>{s===t?n.active=!n.active:n.active=!1}):e==="location"&&this.locations.forEach((n,s)=>{s===t?n.active=!n.active:n.active=!1})}}},Ld={class:"flex gap-2 flex-wrap mt-4"},Dd=["onClick"],Fd={class:"flex gap-2 flex-wrap mt-4"},Bd=["onClick"];function Nd(e,t,n,s,r,o){return w(),C("form",{class:ee(["absolute flex items-center",{"fixed w-full top-6 pr-8 z-50":r.isActive&&!o.isMediumOrLarger,"relative w-auto":!r.isActive||o.isMediumOrLarger}])},[f("button",{onClick:t[0]||(t[0]=i=>{o.toggleFilters(),o.toggleActive()}),class:"absolute left-3 text-gray-500 hover:text-gray-700 transition-colors z-50",type:"button"},t[5]||(t[5]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-6"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"})],-1)])),Re(f("input",{"onUpdate:modelValue":t[1]||(t[1]=i=>s.filtersState.searchQuery=i),class:"input bg-gray-200 rounded-full px-10 py-2 my-1 border-2 border-transparent focus:outline-none focus:border-laranja placeholder-gray-500 text-gray-700 transition-all duration-300 shadow-md pr-10 w-full z-40",placeholder:"Pesquise seu item",type:"text",onInput:t[2]||(t[2]=i=>s.setSearchQuery(s.filtersState.searchQuery)),onFocus:t[3]||(t[3]=i=>r.isActive=!0),onBlur:t[4]||(t[4]=i=>{r.isActive=!1,r.showFilters=!1})},null,544),[[dt,s.filtersState.searchQuery]]),f("button",{class:ee(["absolute right-4 top-1/2 -translate-y-1/2 p-1 text-gray-400 hover:text-gray-600 transition-colors duration-200 z-50",{"pr-8":r.isActive&&!o.isMediumOrLarger}]),type:"submit"},t[6]||(t[6]=[f("svg",{width:"17",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-labelledby":"search",class:"w-5 h-5"},[f("path",{d:"M7.667 12.667A5.333 5.333 0 107.667 2a5.333 5.333 0 000 10.667zM14.334 14l-2.9-2.9",stroke:"currentColor","stroke-width":"1.333","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]),2),r.showFilters?(w(),C("div",{key:0,class:ee(["absolute left-0 bg-gray-200 shadow-lg rounded-xl p-4 z-30",{"w-fit mr-8":r.isActive&&!o.isMediumOrLarger,"w-full":o.isMediumOrLarger}]),style:{top:"calc(50% - 4px)"}},[f("div",Ld,[t[7]||(t[7]=f("span",{class:"w-full text-azul text-2xl font-bold"},"Categoria ",-1)),(w(!0),C(G,null,ve(r.categories,(i,l)=>(w(),C("button",{key:l,onClick:c=>(o.toggleFilter("category",l),s.setActiveCategory(i.label)),class:ee(["px-4 py-2 rounded-full border text-sm",i.active?"bg-laranja text-azul border-black":"bg-gray-200 text-azul border-black"])},J(i.label),11,Dd))),128))]),t[9]||(t[9]=f("div",{class:"h-[2px] w-full bg-laranja mt-4"},null,-1)),f("div",Fd,[t[8]||(t[8]=f("span",{class:"w-full text-azul text-2xl font-bold"},"Local ",-1)),(w(!0),C(G,null,ve(r.locations,(i,l)=>(w(),C("button",{key:l,onClick:c=>(o.toggleFilter("location",l),s.setActiveLocation(i.label)),class:ee(["px-4 py-2 rounded-full border text-sm",i.active?"bg-laranja text-azul border-black":"bg-gray-200 text-azul border-black"])},J(i.label),11,Bd))),128))])],2)):_e("",!0)],2)}const Ud=Ce(jd,[["render",Nd]]),zd={name:"SearchHeader",components:{SearchBar:Ud,Logo:gt}},Hd={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between text-white gap-x-9 p-4"},qd={class:"flex-1"};function Vd(e,t,n,s,r,o){const i=me("SearchBar"),l=me("Logo"),c=me("router-link");return w(),C("div",Hd,[f("div",qd,[L(i)]),f("button",null,[L(c,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const Zr=Ce(zd,[["render",Vd]]),Kd={name:"SubMenu"},Wd={class:"flex pt-8 space-x-8 justify-center"};function Qd(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",Wd,[L(i,{to:"/found",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[we(" Achados ")])),_:1}),t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Perdidos"),f("div",{class:"h-[2px] bg-laranja"})],-1))])}const Gd=Ce(Kd,[["render",Qd]]);function Bl(e,t){return function(){return e.apply(t,arguments)}}const{toString:Jd}=Object.prototype,{getPrototypeOf:Yr}=Object,Ms=(e=>t=>{const n=Jd.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),rt=e=>(e=e.toLowerCase(),t=>Ms(t)===e),js=e=>t=>typeof t===e,{isArray:dn}=Array,Fn=js("undefined");function Zd(e){return e!==null&&!Fn(e)&&e.constructor!==null&&!Fn(e.constructor)&&Qe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Nl=rt("ArrayBuffer");function Yd(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Nl(e.buffer),t}const Xd=js("string"),Qe=js("function"),Ul=js("number"),Ls=e=>e!==null&&typeof e=="object",ep=e=>e===!0||e===!1,ss=e=>{if(Ms(e)!=="object")return!1;const t=Yr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},tp=rt("Date"),np=rt("File"),sp=rt("Blob"),rp=rt("FileList"),op=e=>Ls(e)&&Qe(e.pipe),ip=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Qe(e.append)&&((t=Ms(e))==="formdata"||t==="object"&&Qe(e.toString)&&e.toString()==="[object FormData]"))},lp=rt("URLSearchParams"),[ap,cp,up,fp]=["ReadableStream","Request","Response","Headers"].map(rt),dp=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function qn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),dn(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const zt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Hl=e=>!Fn(e)&&e!==zt;function _r(){const{caseless:e}=Hl(this)&&this||{},t={},n=(s,r)=>{const o=e&&zl(t,r)||r;ss(t[o])&&ss(s)?t[o]=_r(t[o],s):ss(s)?t[o]=_r({},s):dn(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s(qn(t,(r,o)=>{n&&Qe(r)?e[o]=Bl(r,n):e[o]=r},{allOwnKeys:s}),e),hp=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),mp=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},gp=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&Yr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},bp=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},yp=e=>{if(!e)return null;if(dn(e))return e;let t=e.length;if(!Ul(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},xp=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Yr(Uint8Array)),vp=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},_p=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},wp=rt("HTMLFormElement"),Ep=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),si=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Sp=rt("RegExp"),ql=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};qn(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},Cp=e=>{ql(e,(t,n)=>{if(Qe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Qe(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Ap=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return dn(e)?s(e):s(String(e).split(t)),n},Rp=()=>{},kp=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,nr="abcdefghijklmnopqrstuvwxyz",ri="0123456789",Vl={DIGIT:ri,ALPHA:nr,ALPHA_DIGIT:nr+nr.toUpperCase()+ri},Tp=(e=16,t=Vl.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function Op(e){return!!(e&&Qe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Ip=e=>{const t=new Array(10),n=(s,r)=>{if(Ls(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=dn(s)?[]:{};return qn(s,(i,l)=>{const c=n(i,r+1);!Fn(c)&&(o[l]=c)}),t[r]=void 0,o}}return s};return n(e,0)},Pp=rt("AsyncFunction"),$p=e=>e&&(Ls(e)||Qe(e))&&Qe(e.then)&&Qe(e.catch),Kl=((e,t)=>e?setImmediate:t?((n,s)=>(zt.addEventListener("message",({source:r,data:o})=>{r===zt&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),zt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Qe(zt.postMessage)),Mp=typeof queueMicrotask<"u"?queueMicrotask.bind(zt):typeof process<"u"&&process.nextTick||Kl,_={isArray:dn,isArrayBuffer:Nl,isBuffer:Zd,isFormData:ip,isArrayBufferView:Yd,isString:Xd,isNumber:Ul,isBoolean:ep,isObject:Ls,isPlainObject:ss,isReadableStream:ap,isRequest:cp,isResponse:up,isHeaders:fp,isUndefined:Fn,isDate:tp,isFile:np,isBlob:sp,isRegExp:Sp,isFunction:Qe,isStream:op,isURLSearchParams:lp,isTypedArray:xp,isFileList:rp,forEach:qn,merge:_r,extend:pp,trim:dp,stripBOM:hp,inherits:mp,toFlatObject:gp,kindOf:Ms,kindOfTest:rt,endsWith:bp,toArray:yp,forEachEntry:vp,matchAll:_p,isHTMLForm:wp,hasOwnProperty:si,hasOwnProp:si,reduceDescriptors:ql,freezeMethods:Cp,toObjectSet:Ap,toCamelCase:Ep,noop:Rp,toFiniteNumber:kp,findKey:zl,global:zt,isContextDefined:Hl,ALPHABET:Vl,generateString:Tp,isSpecCompliantForm:Op,toJSONObject:Ip,isAsyncFn:Pp,isThenable:$p,setImmediate:Kl,asap:Mp};function W(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}_.inherits(W,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:_.toJSONObject(this.config),code:this.code,status:this.status}}});const Wl=W.prototype,Ql={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ql[e]={value:e}});Object.defineProperties(W,Ql);Object.defineProperty(Wl,"isAxiosError",{value:!0});W.from=(e,t,n,s,r,o)=>{const i=Object.create(Wl);return _.toFlatObject(e,i,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),W.call(i,e.message,t,n,s,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const jp=null;function wr(e){return _.isPlainObject(e)||_.isArray(e)}function Gl(e){return _.endsWith(e,"[]")?e.slice(0,-2):e}function oi(e,t,n){return e?e.concat(t).map(function(r,o){return r=Gl(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Lp(e){return _.isArray(e)&&!e.some(wr)}const Dp=_.toFlatObject(_,{},null,function(t){return/^is[A-Z]/.test(t)});function Ds(e,t,n){if(!_.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=_.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,v){return!_.isUndefined(v[x])});const s=n.metaTokens,r=n.visitor||u,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&_.isSpecCompliantForm(t);if(!_.isFunction(r))throw new TypeError("visitor must be a function");function a(y){if(y===null)return"";if(_.isDate(y))return y.toISOString();if(!c&&_.isBlob(y))throw new W("Blob is not supported. Use a Buffer instead.");return _.isArrayBuffer(y)||_.isTypedArray(y)?c&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function u(y,x,v){let A=y;if(y&&!v&&typeof y=="object"){if(_.endsWith(x,"{}"))x=s?x:x.slice(0,-2),y=JSON.stringify(y);else if(_.isArray(y)&&Lp(y)||(_.isFileList(y)||_.endsWith(x,"[]"))&&(A=_.toArray(y)))return x=Gl(x),A.forEach(function(I,M){!(_.isUndefined(I)||I===null)&&t.append(i===!0?oi([x],M,o):i===null?x:x+"[]",a(I))}),!1}return wr(y)?!0:(t.append(oi(v,x,o),a(y)),!1)}const d=[],m=Object.assign(Dp,{defaultVisitor:u,convertValue:a,isVisitable:wr});function g(y,x){if(!_.isUndefined(y)){if(d.indexOf(y)!==-1)throw Error("Circular reference detected in "+x.join("."));d.push(y),_.forEach(y,function(A,T){(!(_.isUndefined(A)||A===null)&&r.call(t,A,_.isString(T)?T.trim():T,x,m))===!0&&g(A,x?x.concat(T):[T])}),d.pop()}}if(!_.isObject(e))throw new TypeError("data must be an object");return g(e),t}function ii(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Xr(e,t){this._pairs=[],e&&Ds(e,this,t)}const Jl=Xr.prototype;Jl.append=function(t,n){this._pairs.push([t,n])};Jl.toString=function(t){const n=t?function(s){return t.call(this,s,ii)}:ii;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Fp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Zl(e,t,n){if(!t)return e;const s=n&&n.encode||Fp;_.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(r?o=r(t,n):o=_.isURLSearchParams(t)?t.toString():new Xr(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class li{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){_.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Yl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Bp=typeof URLSearchParams<"u"?URLSearchParams:Xr,Np=typeof FormData<"u"?FormData:null,Up=typeof Blob<"u"?Blob:null,zp={isBrowser:!0,classes:{URLSearchParams:Bp,FormData:Np,Blob:Up},protocols:["http","https","file","blob","url","data"]},eo=typeof window<"u"&&typeof document<"u",Er=typeof navigator=="object"&&navigator||void 0,Hp=eo&&(!Er||["ReactNative","NativeScript","NS"].indexOf(Er.product)<0),qp=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Vp=eo&&window.location.href||"http://localhost",Kp=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:eo,hasStandardBrowserEnv:Hp,hasStandardBrowserWebWorkerEnv:qp,navigator:Er,origin:Vp},Symbol.toStringTag,{value:"Module"})),je={...Kp,...zp};function Wp(e,t){return Ds(e,new je.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return je.isNode&&_.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Qp(e){return _.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Gp(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s=n.length;return i=!i&&_.isArray(r)?r.length:i,c?(_.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!l):((!r[i]||!_.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&_.isArray(r[i])&&(r[i]=Gp(r[i])),!l)}if(_.isFormData(e)&&_.isFunction(e.entries)){const n={};return _.forEachEntry(e,(s,r)=>{t(Qp(s),r,n,0)}),n}return null}function Jp(e,t,n){if(_.isString(e))try{return(t||JSON.parse)(e),_.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(0,JSON.stringify)(e)}const Vn={transitional:Yl,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=_.isObject(t);if(o&&_.isHTMLForm(t)&&(t=new FormData(t)),_.isFormData(t))return r?JSON.stringify(Xl(t)):t;if(_.isArrayBuffer(t)||_.isBuffer(t)||_.isStream(t)||_.isFile(t)||_.isBlob(t)||_.isReadableStream(t))return t;if(_.isArrayBufferView(t))return t.buffer;if(_.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Wp(t,this.formSerializer).toString();if((l=_.isFileList(t))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Ds(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),Jp(t)):t}],transformResponse:[function(t){const n=this.transitional||Vn.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(_.isResponse(t)||_.isReadableStream(t))return t;if(t&&_.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?W.from(l,W.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:je.classes.FormData,Blob:je.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};_.forEach(["delete","get","head","post","put","patch"],e=>{Vn.headers[e]={}});const Zp=_.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Yp=e=>{const t={};let n,s,r;return e&&e.split(` -`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&Zp[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},ai=Symbol("internals");function vn(e){return e&&String(e).trim().toLowerCase()}function rs(e){return e===!1||e==null?e:_.isArray(e)?e.map(rs):String(e)}function Xp(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const eh=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function sr(e,t,n,s,r){if(_.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!_.isString(t)){if(_.isString(s))return t.indexOf(s)!==-1;if(_.isRegExp(s))return s.test(t)}}function th(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function nh(e,t){const n=_.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}class Ue{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,c,a){const u=vn(c);if(!u)throw new Error("header name must be a non-empty string");const d=_.findKey(r,u);(!d||r[d]===void 0||a===!0||a===void 0&&r[d]!==!1)&&(r[d||c]=rs(l))}const i=(l,c)=>_.forEach(l,(a,u)=>o(a,u,c));if(_.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(_.isString(t)&&(t=t.trim())&&!eh(t))i(Yp(t),n);else if(_.isHeaders(t))for(const[l,c]of t.entries())o(c,l,s);else t!=null&&o(n,t,s);return this}get(t,n){if(t=vn(t),t){const s=_.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return Xp(r);if(_.isFunction(n))return n.call(this,r,s);if(_.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=vn(t),t){const s=_.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||sr(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=vn(i),i){const l=_.findKey(s,i);l&&(!n||sr(s,s[l],l,n))&&(delete s[l],r=!0)}}return _.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||sr(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return _.forEach(this,(r,o)=>{const i=_.findKey(s,o);if(i){n[i]=rs(r),delete n[o];return}const l=t?th(o):String(o).trim();l!==o&&delete n[o],n[l]=rs(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return _.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&_.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[ai]=this[ai]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=vn(i);s[l]||(nh(r,i),s[l]=!0)}return _.isArray(t)?t.forEach(o):o(t),this}}Ue.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);_.reduceDescriptors(Ue.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});_.freezeMethods(Ue);function rr(e,t){const n=this||Vn,s=t||n,r=Ue.from(s.headers);let o=s.data;return _.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function ea(e){return!!(e&&e.__CANCEL__)}function pn(e,t,n){W.call(this,e??"canceled",W.ERR_CANCELED,t,n),this.name="CanceledError"}_.inherits(pn,W,{__CANCEL__:!0});function ta(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new W("Request failed with status code "+n.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function sh(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function rh(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const a=Date.now(),u=s[o];i||(i=a),n[r]=c,s[r]=a;let d=o,m=0;for(;d!==r;)m+=n[d++],d=d%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),a-i{n=u,r=null,o&&(clearTimeout(o),o=null),e.apply(null,a)};return[(...a)=>{const u=Date.now(),d=u-n;d>=s?i(a,u):(r=a,o||(o=setTimeout(()=>{o=null,i(r)},s-d)))},()=>r&&i(r)]}const gs=(e,t,n=3)=>{let s=0;const r=rh(50,250);return oh(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,c=i-s,a=r(c),u=i<=l;s=i;const d={loaded:i,total:l,progress:l?i/l:void 0,bytes:c,rate:a||void 0,estimated:a&&l&&u?(l-i)/a:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(d)},n)},ci=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},ui=e=>(...t)=>_.asap(()=>e(...t)),ih=je.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,je.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(je.origin),je.navigator&&/(msie|trident)/i.test(je.navigator.userAgent)):()=>!0,lh=je.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const i=[e+"="+encodeURIComponent(t)];_.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),_.isString(s)&&i.push("path="+s),_.isString(r)&&i.push("domain="+r),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ah(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ch(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function na(e,t){return e&&!ah(t)?ch(e,t):t}const fi=e=>e instanceof Ue?{...e}:e;function Wt(e,t){t=t||{};const n={};function s(a,u,d,m){return _.isPlainObject(a)&&_.isPlainObject(u)?_.merge.call({caseless:m},a,u):_.isPlainObject(u)?_.merge({},u):_.isArray(u)?u.slice():u}function r(a,u,d,m){if(_.isUndefined(u)){if(!_.isUndefined(a))return s(void 0,a,d,m)}else return s(a,u,d,m)}function o(a,u){if(!_.isUndefined(u))return s(void 0,u)}function i(a,u){if(_.isUndefined(u)){if(!_.isUndefined(a))return s(void 0,a)}else return s(void 0,u)}function l(a,u,d){if(d in t)return s(a,u);if(d in e)return s(void 0,a)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(a,u,d)=>r(fi(a),fi(u),d,!0)};return _.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=c[u]||r,m=d(e[u],t[u],u);_.isUndefined(m)&&d!==l||(n[u]=m)}),n}const sa=e=>{const t=Wt({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:i,auth:l}=t;t.headers=i=Ue.from(i),t.url=Zl(na(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(_.isFormData(n)){if(je.hasStandardBrowserEnv||je.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((c=i.getContentType())!==!1){const[a,...u]=c?c.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([a||"multipart/form-data",...u].join("; "))}}if(je.hasStandardBrowserEnv&&(s&&_.isFunction(s)&&(s=s(t)),s||s!==!1&&ih(t.url))){const a=r&&o&&lh.read(o);a&&i.set(r,a)}return t},uh=typeof XMLHttpRequest<"u",fh=uh&&function(e){return new Promise(function(n,s){const r=sa(e);let o=r.data;const i=Ue.from(r.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:a}=r,u,d,m,g,y;function x(){g&&g(),y&&y(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let v=new XMLHttpRequest;v.open(r.method.toUpperCase(),r.url,!0),v.timeout=r.timeout;function A(){if(!v)return;const I=Ue.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),H={data:!l||l==="text"||l==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:I,config:e,request:v};ta(function(Z){n(Z),x()},function(Z){s(Z),x()},H),v=null}"onloadend"in v?v.onloadend=A:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(A)},v.onabort=function(){v&&(s(new W("Request aborted",W.ECONNABORTED,e,v)),v=null)},v.onerror=function(){s(new W("Network Error",W.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let M=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const H=r.transitional||Yl;r.timeoutErrorMessage&&(M=r.timeoutErrorMessage),s(new W(M,H.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,v)),v=null},o===void 0&&i.setContentType(null),"setRequestHeader"in v&&_.forEach(i.toJSON(),function(M,H){v.setRequestHeader(H,M)}),_.isUndefined(r.withCredentials)||(v.withCredentials=!!r.withCredentials),l&&l!=="json"&&(v.responseType=r.responseType),a&&([m,y]=gs(a,!0),v.addEventListener("progress",m)),c&&v.upload&&([d,g]=gs(c),v.upload.addEventListener("progress",d),v.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(u=I=>{v&&(s(!I||I.type?new pn(null,e,v):I),v.abort(),v=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const T=sh(r.url);if(T&&je.protocols.indexOf(T)===-1){s(new W("Unsupported protocol "+T+":",W.ERR_BAD_REQUEST,e));return}v.send(o||null)})},dh=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(a){if(!r){r=!0,l();const u=a instanceof Error?a:this.reason;s.abort(u instanceof W?u:new pn(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,o(new W(`timeout ${t} of ms exceeded`,W.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(a=>{a.unsubscribe?a.unsubscribe(o):a.removeEventListener("abort",o)}),e=null)};e.forEach(a=>a.addEventListener("abort",o));const{signal:c}=s;return c.unsubscribe=()=>_.asap(l),c}},ph=function*(e,t){let n=e.byteLength;if(n{const r=hh(e,t);let o=0,i,l=c=>{i||(i=!0,s&&s(c))};return new ReadableStream({async pull(c){try{const{done:a,value:u}=await r.next();if(a){l(),c.close();return}let d=u.byteLength;if(n){let m=o+=d;n(m)}c.enqueue(new Uint8Array(u))}catch(a){throw l(a),a}},cancel(c){return l(c),r.return()}},{highWaterMark:2})},Fs=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ra=Fs&&typeof ReadableStream=="function",gh=Fs&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),oa=(e,...t)=>{try{return!!e(...t)}catch{return!1}},bh=ra&&oa(()=>{let e=!1;const t=new Request(je.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),pi=64*1024,Sr=ra&&oa(()=>_.isReadableStream(new Response("").body)),bs={stream:Sr&&(e=>e.body)};Fs&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!bs[t]&&(bs[t]=_.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new W(`Response type '${t}' is not supported`,W.ERR_NOT_SUPPORT,s)})})})(new Response);const yh=async e=>{if(e==null)return 0;if(_.isBlob(e))return e.size;if(_.isSpecCompliantForm(e))return(await new Request(je.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(_.isArrayBufferView(e)||_.isArrayBuffer(e))return e.byteLength;if(_.isURLSearchParams(e)&&(e=e+""),_.isString(e))return(await gh(e)).byteLength},xh=async(e,t)=>{const n=_.toFiniteNumber(e.getContentLength());return n??yh(t)},vh=Fs&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:o,timeout:i,onDownloadProgress:l,onUploadProgress:c,responseType:a,headers:u,withCredentials:d="same-origin",fetchOptions:m}=sa(e);a=a?(a+"").toLowerCase():"text";let g=dh([r,o&&o.toAbortSignal()],i),y;const x=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let v;try{if(c&&bh&&n!=="get"&&n!=="head"&&(v=await xh(u,s))!==0){let H=new Request(t,{method:"POST",body:s,duplex:"half"}),Y;if(_.isFormData(s)&&(Y=H.headers.get("content-type"))&&u.setContentType(Y),H.body){const[Z,ue]=ci(v,gs(ui(c)));s=di(H.body,pi,Z,ue)}}_.isString(d)||(d=d?"include":"omit");const A="credentials"in Request.prototype;y=new Request(t,{...m,signal:g,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:A?d:void 0});let T=await fetch(y);const I=Sr&&(a==="stream"||a==="response");if(Sr&&(l||I&&x)){const H={};["status","statusText","headers"].forEach(ye=>{H[ye]=T[ye]});const Y=_.toFiniteNumber(T.headers.get("content-length")),[Z,ue]=l&&ci(Y,gs(ui(l),!0))||[];T=new Response(di(T.body,pi,Z,()=>{ue&&ue(),x&&x()}),H)}a=a||"text";let M=await bs[_.findKey(bs,a)||"text"](T,e);return!I&&x&&x(),await new Promise((H,Y)=>{ta(H,Y,{data:M,headers:Ue.from(T.headers),status:T.status,statusText:T.statusText,config:e,request:y})})}catch(A){throw x&&x(),A&&A.name==="TypeError"&&/fetch/i.test(A.message)?Object.assign(new W("Network Error",W.ERR_NETWORK,e,y),{cause:A.cause||A}):W.from(A,A&&A.code,e,y)}}),Cr={http:jp,xhr:fh,fetch:vh};_.forEach(Cr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const hi=e=>`- ${e}`,_h=e=>_.isFunction(e)||e===null||e===!1,ia={getAdapter:e=>{e=_.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : -`+o.map(hi).join(` -`):" "+hi(o[0]):"as no adapter specified";throw new W("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:Cr};function or(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new pn(null,e)}function mi(e){return or(e),e.headers=Ue.from(e.headers),e.data=rr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ia.getAdapter(e.adapter||Vn.adapter)(e).then(function(s){return or(e),s.data=rr.call(e,e.transformResponse,s),s.headers=Ue.from(s.headers),s},function(s){return ea(s)||(or(e),s&&s.response&&(s.response.data=rr.call(e,e.transformResponse,s.response),s.response.headers=Ue.from(s.response.headers))),Promise.reject(s)})}const la="1.7.8",Bs={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Bs[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const gi={};Bs.transitional=function(t,n,s){function r(o,i){return"[Axios v"+la+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new W(r(i," has been removed"+(n?" in "+n:"")),W.ERR_DEPRECATED);return n&&!gi[i]&&(gi[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};Bs.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function wh(e,t,n){if(typeof e!="object")throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new W("option "+o+" must be "+c,W.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new W("Unknown option "+o,W.ERR_BAD_OPTION)}}const os={assertOptions:wh,validators:Bs},ct=os.validators;class qt{constructor(t){this.defaults=t,this.interceptors={request:new li,response:new li}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=` -`+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Wt(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&os.assertOptions(s,{silentJSONParsing:ct.transitional(ct.boolean),forcedJSONParsing:ct.transitional(ct.boolean),clarifyTimeoutError:ct.transitional(ct.boolean)},!1),r!=null&&(_.isFunction(r)?n.paramsSerializer={serialize:r}:os.assertOptions(r,{encode:ct.function,serialize:ct.function},!0)),os.assertOptions(n,{baseUrl:ct.spelling("baseURL"),withXsrfToken:ct.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&_.merge(o.common,o[n.method]);o&&_.forEach(["delete","get","head","post","put","patch","common"],y=>{delete o[y]}),n.headers=Ue.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(n)===!1||(c=c&&x.synchronous,l.unshift(x.fulfilled,x.rejected))});const a=[];this.interceptors.response.forEach(function(x){a.push(x.fulfilled,x.rejected)});let u,d=0,m;if(!c){const y=[mi.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,a),m=y.length,u=Promise.resolve(n);d{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new pn(o,i,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new to(function(r){t=r}),cancel:t}}}function Eh(e){return function(n){return e.apply(null,n)}}function Sh(e){return _.isObject(e)&&e.isAxiosError===!0}const Ar={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ar).forEach(([e,t])=>{Ar[t]=e});function aa(e){const t=new qt(e),n=Bl(qt.prototype.request,t);return _.extend(n,qt.prototype,t,{allOwnKeys:!0}),_.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return aa(Wt(e,r))},n}const ge=aa(Vn);ge.Axios=qt;ge.CanceledError=pn;ge.CancelToken=to;ge.isCancel=ea;ge.VERSION=la;ge.toFormData=Ds;ge.AxiosError=W;ge.Cancel=ge.CanceledError;ge.all=function(t){return Promise.all(t)};ge.spread=Eh;ge.isAxiosError=Sh;ge.mergeConfig=Wt;ge.AxiosHeaders=Ue;ge.formToJSON=e=>Xl(_.isHTMLForm(e)?new FormData(e):e);ge.getAdapter=ia.getAdapter;ge.HttpStatusCode=Ar;ge.default=ge;const Kn="http://localhost:8000/api/items",Ch=async({page:e=1,search:t="",category_name:n="",location_name:s=""})=>{const r={page:e,...te.searchQuery&&{search:te.searchQuery},...te.activeCategory&&{category_name:te.activeCategory},...te.activeLocation&&{location_name:te.activeLocation}};return(await ge.get(`${Kn}/lost/`,{params:r})).data},Ah=async({page:e=1,search:t="",category_name:n="",location_name:s=""})=>{const r={page:e,...te.searchQuery&&{search:te.searchQuery},...te.activeCategory&&{category_name:te.activeCategory},...te.activeLocation&&{location_name:te.activeLocation}};return(await ge.get(`${Kn}/found/`,{params:r})).data},Rh=async()=>{try{return(await ge.get(`${Kn}/found/my-items/`)).data}catch(e){throw console.error("Erro ao buscar itens encontrados:",e),e}},kh=async()=>{try{return(await ge.get(`${Kn}/lost/my-items/`)).data}catch(e){throw console.error("Erro ao buscar itens encontrados:",e),e}},ca=async e=>{try{await ge.delete(`${Kn}/${e}/`)}catch(t){throw console.error("Erro ao deletar o item:",t),t}},Ns=e=>{const t=new Date,n=new Date(e),s=Math.floor((t-n)/1e3);if(s<60)return"Agora a pouco";if(s<3600){const r=Math.floor(s/60);return`Há ${r} minuto${r>1?"s":""}`}else if(s<86400){const r=Math.floor(s/3600);return`Há ${r} hora${r>1?"s":""}`}else{const r=Math.floor(s/86400);return`Há ${r} dia${r>1?"s":""}`}},Qt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM0AAACLCAYAAADCvR0YAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAASASURBVHhe7dxrT9RoHMbhinjCs0g8YyDE7/91MCoqalBjIB5BRTf/pjWsy+7OndhOX1xX0kynM74x/PL0edrOic3NzZ8NMLOF7hWYkWggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooHQic3NzZ/dPgNYWFhoLl++3L4O5cePH82HDx+a79+/d0cYkmgGdOrUqeb+/fuDBtM7PDxsXr161Xz58qU7wlBEM6C7d+82S0tL7Ujw8ePH7uifdfLkyeb06dNtoBXO48ePu08YimgG9ODBg/b13bt37TaUOv27ceNGu//kyROnaQOzEAAh0UBINBO3uLjYnDt3rt2YBtFMVE3sayFhfX29uXfvXrutra01ly5d6r7BvIhmgvpgauXtqDp+8+bN5sqVK90R5kE0E7S8vNwGUkvVL168aB4+fNg8f/68+fbt26/Px7j2w/H8z0/QhQsX2te6yv/58+d2f39/v9nZ2Wn369rM2bNn233GJ5oJq5HmqN/fMx+imaAaVUpN+vtRp07H+guYdZrWf4fxiWaCXr9+3Y4qdRp2+/bt9s6CjY2NX6dku7u7Rp05Es0E1Ujy7Nmzf9x8WaG8fPmy2dvb644wD6KZqApne3u72draalfQ6vXRo0fNp0+fum8wL6IZWc1Nzpw5M/MV/oqnVtD65WbmTzQjqljq+Zra+iv8dZvMLGpRoOY3tZ0/f747yjyIZiQXL15sQ+kvWpbar2P/F8HKykp7J0CtpNV2586d5tq1a92njE00I6hR4tatW+2pWZ1mPX36tJ3o136F828R9MvMV69ebd/XqtnBwUG7f/369WZ1dXXmkYo/RzQjqDBKrYZVLPWQWP3x1wS/n6tUBDWi9CqYuv+sHjAr9RDb27dv23/fP9BWS9CzjFT8WaIZSY0StRp29PpKBVMR9I9C14hSo0ctEtS8p78u8+bNm789+Vn79XsA/UjVXwBlHKIZQQVTo8RxKqIK4PfRo5/71P1mx12XqdCOjlSMRzQj6Och/6WiqUD6kahea2R6//59+/44FUxdv6koGY9oJqQCqdO1iqAWC2aJrXz9+rXbYwyimZgaPepUzi/KTJdoICSaAfXzk37JeSi1PM14/FjggI4+5z/kKlcfZb8wwLBEM6D6Y65whh5pSgVTq23mQsMTzQhqtBkynAqmnuTsTwcZlmggZAYJIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAORpvkL2ph89ykfsE8AAAAASUVORK5CYII=",ua="/static/dist/assets/found-and-lost-box-BIV9dkbR.jpg",Th={class:"flex flex-col items-center justify-center h-64 text-center"},Oh=["src"],Ih={class:"text-cinza3 font-inter text-lg"},fa={__name:"Empty-State",props:{type:{type:String,required:!0}},setup(e){const t=e,n=Je(()=>{const s=t.type==="achado"?"achado":"perdido";return te.searchQuery.value?`não encontrou resultados para "${te.searchQuery.value}" nos itens ${s}s.`:te.activeCategory.value?`não encontrou itens ${s}s da categoria "${te.activeCategory.value}".`:te.activeLocation.value?`não encontrou itens ${s}s no local "${te.activeLocation.value}".`:`está sem itens ${s}s... Você pode adicionar um!`});return(s,r)=>(w(),C("div",Th,[f("img",{src:Se(ua),class:"w-40 h-40 mb-4"},null,8,Oh),f("p",Ih,[r[0]||(r[0]=we(" Parece que o ")),r[1]||(r[1]=f("span",{class:"text-azul font-bold"},"AcheiUnB",-1)),we(" "+J(n.value),1)])]))}},Ph={class:"min-h-screen"},$h={class:"fixed w-full top-0 z-10"},Mh={class:"pt-24 pb-8"},jh={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-10"},Lh={class:"flex w-full justify-start sm:justify-center"},Dh={class:"ml-24 transform -translate-x-1/2 flex gap-4 z-10"},Fh={class:"fixed bottom-0 w-full"},Bh={__name:"Lost",setup(e){const t=Q([]),n=Q(1),s=Q(1),r=async(l=1)=>{const{searchQuery:c,activeCategory:a,activeLocation:u}=te,d=await Ch({page:l,search:c,category_name:a,location_name:u});t.value=d.results,s.value=Math.ceil(d.count/27)},o=()=>{n.value>1&&(n.value-=1,r(n.value))},i=()=>{n.value[te.searchQuery,te.activeCategory,te.activeLocation],()=>{n.value=1,r()}),bt(()=>r(n.value)),(l,c)=>(w(),C("div",Ph,[f("div",$h,[L(Zr)]),f("div",Mh,[L(Gd)]),t.value.length===0?(w(),Te(fa,{key:0,type:"perdido"})):(w(),C("div",jh,[(w(!0),C(G,null,ve(t.value,a=>(w(),Te($s,{key:a.id,name:a.name,location:a.location_name,time:Se(Ns)(a.created_at),image:a.image_urls[0]||Se(Qt),id:a.id},null,8,["name","location","time","image","id"]))),128))])),f("div",Lh,[f("div",Dh,[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:o},c[0]||(c[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)]))),(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:i},c[1]||(c[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)])))])]),L(Id),f("div",Fh,[L(yt,{activeIcon:"search"})])]))}},Nh={props:{customClass:{name:"ButtonAdd",type:String}}};function Uh(e,t,n,s,r,o){const i=me("router-link");return w(),Te(i,{to:"/register-found"},{default:be(()=>t[0]||(t[0]=[f("button",{class:"fixed right-0 bottom-28 rounded-l-lg w-60 h-12 cursor-pointer flex items-center border border-laranja bg-laranja group hover:bg-laranja active:bg-laranja active:border-laranja"},[f("span",{class:"text-azul font-inter font-medium ml-6 transform group-hover:translate-x-0"},"Adicionar item achado"),f("span",{class:"absolute right-0 h-full w-10 rounded-lg bg-laranja flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300"},[f("img",{src:Fl,alt:""})])],-1)])),_:1})}const zh=Ce(Nh,[["render",Uh]]),Hh={name:"SubMenu"},qh={class:"flex pt-8 space-x-8 justify-center"};function Vh(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",qh,[t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Achados"),f("div",{class:"h-[2px] bg-laranja"})],-1)),L(i,{to:"/lost",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[we(" Perdidos ")])),_:1})])}const Kh=Ce(Hh,[["render",Vh]]),Wh={class:"min-h-screen"},Qh={class:"fixed w-full top-0 z-10"},Gh={class:"pt-24 pb-8"},Jh={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-10"},Zh={class:"flex w-full justify-start sm:justify-center"},Yh={class:"bottom-32 ml-24 transform -translate-x-1/2 flex gap-4 z-10"},Xh={class:"fixed bottom-0 w-full"},em={__name:"Found",setup(e){const t=Q([]),n=Q(1),s=Q(1),r=async(l=1)=>{const{searchQuery:c,activeCategory:a,activeLocation:u}=te,d=await Ah({page:l,search:c,category_name:a,location_name:u});t.value=d.results,s.value=Math.ceil(d.count/27)},o=()=>{n.value>1&&(n.value-=1,r(n.value))},i=()=>{n.value[te.searchQuery,te.activeCategory,te.activeLocation],()=>{n.value=1,r()}),bt(()=>r(n.value)),(l,c)=>(w(),C("div",Wh,[f("div",Qh,[L(Zr)]),f("div",Gh,[L(Kh)]),t.value.length===0?(w(),Te(fa,{key:0,type:"achado"})):(w(),C("div",Jh,[(w(!0),C(G,null,ve(t.value,a=>(w(),Te($s,{key:a.id,name:a.name,location:a.location_name,time:Se(Ns)(a.created_at),image:a.image_urls[0]||Se(Qt),id:a.id},null,8,["name","location","time","image","id"]))),128))])),f("div",Zh,[f("div",Yh,[(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:o},c[0]||(c[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)]))),(w(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:i},c[1]||(c[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)])))])]),L(zh),f("div",Xh,[L(yt,{activeIcon:"search"})])]))}};class da{constructor(t){this.entity=t}validate(){for(const t of this.entity.requiredFields){const n=this.entity[t];if(!n||n==="")return!1}return!0}toFormData(){const t=new FormData;for(const[n,s]of Object.entries(this.entity))n!=="requiredFields"&&s!==void 0&&s!==null&&(Array.isArray(s)?s.forEach((r,o)=>{t.append(`${n}[${o}]`,r)}):t.append(n,s??null));return t}setFieldValue(t,n){this.entity[t]=n}}class pa{constructor(t=null,n="",s="",r="",o="",i="",l="",c=null,a=null,u="",d="",m=["name","category","location"]){this.user=t,this.name=n,this.category=s,this.location=r,this.color=o,this.brand=l,this.description=c,this.images=a,this.status=u,this.found_lost_date=i,this.barcode=d,this.requiredFields=m}}const tm={props:{type:{type:String,default:"info",validator:e=>["success","error","info","warning"].includes(e)},message:{type:String,required:!0},duration:{type:Number,default:3e3}},data(){return{visible:!0}},computed:{alertClasses(){return{success:"bg-green-200 border-r-4 border-green-600 text-green-600",error:"bg-red-200 border-r-4 border-red-600 text-red-600",info:"bg-blue-500",warning:"bg-yellow-500 text-black"}},alertClassesText(){return{success:"text-green-600",error:"text-red-600",info:"text-blue-600",warning:"text-black-600"}}},mounted(){this.duration>0&&setTimeout(()=>{this.closeAlert()},this.duration)},methods:{closeAlert(){this.visible=!1,this.$emit("closed")}}};function nm(e,t,n,s,r,o){return r.visible?(w(),C("div",{key:0,class:ee(["fixed top-4 right-4 z-50 px-4 py-3 rounded flex items-center justify-between font-inter",o.alertClasses[n.type]]),role:"alert"},[f("p",null,J(n.message),1),f("button",{onClick:t[0]||(t[0]=(...i)=>o.closeAlert&&o.closeAlert(...i)),class:ee(["ml-4 font-bold focus:outline-none",o.alertClassesText[n.type]])}," ✕ ",2)],2)):_e("",!0)}const sm=Ce(tm,[["render",nm]]),ae=ge.create({baseURL:"http://localhost:8000/api",withCredentials:!0});ae.interceptors.response.use(e=>e,e=>(e.response.status===401&&ba.push({name:"Login"}),Promise.reject(e)));const Pt="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='currentColor'%20class='size-6%20stroke-white'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m19.5%208.25-7.5%207.5-7.5-7.5'%20/%3e%3c/svg%3e",ha="data:image/svg+xml,%3csvg%20class='svg%20w-8'%20fill='none'%20height='24'%20stroke='%23FFFFFF'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20viewBox='0%200%2024%2024'%20width='24'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cline%20x1='12'%20x2='12'%20y1='5'%20y2='19'%3e%3c/line%3e%3cline%20x1='5'%20x2='19'%20y1='12'%20y2='12'%3e%3c/line%3e%3c/svg%3e",rm={name:"FormComponent",data(){return{item:new pa,foundTime:"",previews:[],submitError:!1,formSubmitted:!1,alertMessage:"",categories:[],locations:[],colors:[],brands:[]}},mounted(){this.initializeData()},methods:{initializeData(){this.initializeCategories(),this.initializeLocations(),this.initializeColors(),this.initializeBrands()},async initializeCategories(){try{const e=await ae.get("/categories/");this.categories=e.data.results}catch{console.log("Erro ao carregar categorias")}},async initializeLocations(){try{const e=await ae.get("/locations/");this.locations=e.data.results}catch{console.log("Erro ao carregar locais")}},async initializeColors(){try{const e=await ae.get("/colors/");this.colors=e.data.results}catch{console.log("Erro ao carregar cores")}},async initializeBrands(){try{const e=await ae.get("/brands/");this.brands=e.data.results}catch{console.log("Erro ao carregar marcas")}},async save(){this.item.status="lost";const e=new da(this.item);if(!e.validate()){this.alertMessage="Verifique os campos marcados com *.",this.submitError=!0;return}e.foundLostDate&&this.setFoundLostDate();const t=e.toFormData();try{await ae.post("/items/",t),this.formSubmitted=!0,setTimeout(()=>{window.location.replace("http://localhost:8000/#/lost")},1e3)}catch{this.alertMessage="Erro ao publicar item.",this.submitError=!0}},onFileChange(e){this.item.images||(this.item.images=[]);const t=Array.from(e.target.files);this.item.images.push(...t),t.forEach(n=>{const s=new FileReader;s.onload=r=>{this.previews.push(r.target.result)},s.readAsDataURL(n)})},setFoundLostDate(){const[e,t,n]=this.item.foundLostDate.split("-").map(Number),[s,r]=this.lostTime.split(":").map(Number);this.item.foundLostDate=new Date(n,t-1,e,s??0,r??0)},removeImage(e){this.previews.splice(e,1),this.item.images.splice(e,1)},handleSelectChange(e){const t=e.target;t.value=="clear"&&(this.item[`${t.id}`]="")}}},om={class:"grid md:grid-cols-4 gap-4"},im={class:"mb-4 col-span-2"},lm={class:"block relative mb-4 col-span-2"},am=["value"],cm={class:"block relative mb-4 col-span-2"},um=["value"],fm={class:"block relative mb-4 col-span-2"},dm=["value"],pm={class:"block relative mb-4 col-span-2"},hm=["value"],mm={class:"mb-4 col-span-2"},gm={class:"mb-4 col-span-2"},bm={class:"mb-4 col-span-2"},ym=["disabled"],xm={class:"flex flex-wrap gap-4 col-span-3"},vm=["src"],_m=["onClick"],wm={class:"col-span-4"};function Em(e,t,n,s,r,o){var l,c;const i=me("Alert");return w(),C(G,null,[f("form",{id:"app",onSubmit:t[14]||(t[14]=(...a)=>o.save&&o.save(...a))},[f("div",om,[f("div",im,[t[17]||(t[17]=f("label",{for:"name",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Item "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("input",{id:"name",class:"appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline","onUpdate:modelValue":t[0]||(t[0]=a=>r.item.name=a),type:"text",name:"name",placeholder:"Escreva o nome do item"},null,512),[[dt,r.item.name]])]),f("div",lm,[t[20]||(t[20]=f("label",{for:"category",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Categoria "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("select",{id:"category",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.category===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[1]||(t[1]=a=>r.item.category=a),onChange:t[2]||(t[2]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"category"},[t[18]||(t[18]=f("option",{disabled:"",value:""},"Selecione",-1)),t[19]||(t[19]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.categories,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,am))),128))],34),[[It,r.item.category]]),t[21]||(t[21]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",cm,[t[24]||(t[24]=f("label",{for:"location",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Local "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("select",{id:"location",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.location===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[3]||(t[3]=a=>r.item.location=a),onChange:t[4]||(t[4]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"location"},[t[22]||(t[22]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[23]||(t[23]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.locations,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,um))),128))],34),[[It,r.item.location]]),t[25]||(t[25]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",fm,[t[28]||(t[28]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Cor",-1)),Re(f("select",{id:"color",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.color===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[5]||(t[5]=a=>r.item.color=a),onChange:t[6]||(t[6]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[26]||(t[26]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[27]||(t[27]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.colors,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,dm))),128))],34),[[It,r.item.color]]),t[29]||(t[29]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",pm,[t[32]||(t[32]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Marca",-1)),Re(f("select",{id:"brand",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.brand===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[7]||(t[7]=a=>r.item.brand=a),onChange:t[8]||(t[8]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[30]||(t[30]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[31]||(t[31]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.brands,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,hm))),128))],34),[[It,r.item.brand]]),t[33]||(t[33]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",mm,[t[34]||(t[34]=f("label",{for:"foundLostDate",class:"font-inter block text-azul text-sm font-bold mb-2"},"Data em que foi perdido",-1)),Re(f("input",{id:"foundLostDate",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.foundLostDate===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[9]||(t[9]=a=>r.item.foundLostDate=a),type:"date",name:"foundLostDate"},null,2),[[dt,r.item.foundLostDate]])]),f("div",gm,[t[35]||(t[35]=f("label",{for:"foundTime",class:"font-inter block text-azul text-sm font-bold mb-2"},"Horário em que foi perdido",-1)),Re(f("input",{id:"foundTime",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.foundTime===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[10]||(t[10]=a=>r.foundTime=a),type:"time",name:"foundTime"},null,2),[[dt,r.foundTime]])]),f("div",bm,[t[36]||(t[36]=f("label",{for:"description",class:"font-inter block text-azul text-sm font-bold mb-2"}," Descrição ",-1)),Re(f("textarea",{id:"description","onUpdate:modelValue":t[11]||(t[11]=a=>r.item.description=a),name:"description",rows:"4",placeholder:"Descreva detalhadamente o item",class:"w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,512),[[dt,r.item.description]])]),f("div",null,[f("label",{for:"images",class:ee(["flex bg-azul text-white text-base px-5 py-3 outline-none rounded cursor-pointer font-inter",((l=r.item.images)==null?void 0:l.length)>1?"opacity-50 cursor-not-allowed":""])},[t[37]||(t[37]=f("img",{src:ha,alt:"",class:"mr-2"},null,-1)),t[38]||(t[38]=we(" Adicionar imagens ")),f("input",{type:"file",id:"images",class:"hidden",onChange:t[12]||(t[12]=(...a)=>o.onFileChange&&o.onFileChange(...a)),disabled:((c=r.item.images)==null?void 0:c.length)>1},null,40,ym)],2)]),f("div",xm,[(w(!0),C(G,null,ve(r.previews,(a,u)=>(w(),C("div",{key:u,class:"w-64 h-64 border rounded relative"},[f("img",{src:a,alt:"Preview",class:"w-full h-full object-cover rounded"},null,8,vm),f("div",{class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-12 h-12 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:d=>o.removeImage(u)},t[39]||(t[39]=[f("img",{src:Jr,alt:""},null,-1)]),8,_m)]))),128))]),f("div",wm,[f("button",{type:"button",onClick:t[13]||(t[13]=(...a)=>o.save&&o.save(...a)),class:"inline-block text-center rounded-full bg-laranja px-5 py-3 text-md text-white w-full"}," Enviar ")])])],32),r.submitError?(w(),Te(i,{key:0,type:"error",message:r.alertMessage,onClosed:t[15]||(t[15]=a=>r.submitError=!1)},null,8,["message"])):_e("",!0),r.formSubmitted?(w(),Te(i,{key:1,type:"success",message:"Item publicado com sucesso",onClosed:t[16]||(t[16]=a=>r.formSubmitted=!1)})):_e("",!0)],64)}const Sm=Ce(rm,[["render",Em]]),hn="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%23FFFFFF'%20class='size-6'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m11.25%209-3%203m0%200%203%203m-3-3h7.5M21%2012a9%209%200%201%201-18%200%209%209%200%200%201%2018%200Z'%20/%3e%3c/svg%3e",Cm={name:"LostHeader",components:{Logo:gt},props:{text:String}},Am={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-start text-white gap-x-9 p-6"},Rm={class:"font-inter font-semibold text-2xl"},km={class:"ml-auto"};function Tm(e,t,n,s,r,o){const i=me("router-link"),l=me("Logo");return w(),C("div",Am,[L(i,{to:"/lost",class:"inline-block"},{default:be(()=>t[0]||(t[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),f("div",null,[f("span",Rm,J(n.text??"Cadastro de item perdido"),1)]),f("button",km,[L(i,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const Om=Ce(Cm,[["render",Tm]]),Im={class:"fixed w-full top-0",style:{"z-index":"1"}},Pm={class:"px-6 py-[120px]",style:{"z-index":"2"}},$m={class:"fixed bottom-0 w-full"},Mm={__name:"Register-Lost",setup(e){return(t,n)=>(w(),C(G,null,[f("div",Im,[L(Om)]),f("div",Pm,[L(Sm)]),f("div",$m,[L(yt,{activeIcon:"search"})])],64))}},jm={name:"FormComponent",data(){return{item:new pa,foundTime:"",foundDate:"",previews:[],submitError:!1,formSubmitted:!1,alertMessage:"",categories:[],locations:[],colors:[],brands:[]}},mounted(){this.initializeData()},methods:{initializeData(){this.initializeCategories(),this.initializeLocations(),this.initializeColors(),this.initializeBrands()},async initializeCategories(){try{const e=await ae.get("/categories/");this.categories=e.data.results}catch{console.log("Erro ao carregar categorias")}},async initializeLocations(){try{const e=await ae.get("/locations/");this.locations=e.data.results}catch{console.log("Erro ao carregar locais")}},async initializeColors(){try{const e=await ae.get("/colors/");this.colors=e.data.results}catch{console.log("Erro ao carregar cores")}},async initializeBrands(){try{const e=await ae.get("/brands/");this.brands=e.data.results}catch{console.log("Erro ao carregar marcas")}},async save(){this.item.status="found";const e=new da(this.item);if(!e.validate()){this.alertMessage="Verifique os campos marcados com *.",this.submitError=!0;return}if(this.item.foundDate){const n=this.formatFoundLostDate();e.setFieldValue("found_lost_date",n)}const t=e.toFormData();try{await ae.post("/items/",t),this.formSubmitted=!0,setTimeout(()=>{window.location.replace("http://localhost:8000/#/found")},1e3)}catch{this.alertMessage="Erro ao publicar item.",this.submitError=!0}},onFileChange(e){this.item.images||(this.item.images=[]);const t=Array.from(e.target.files);this.item.images.push(...t),t.forEach(n=>{const s=new FileReader;s.onload=r=>{this.previews.push(r.target.result)},s.readAsDataURL(n)})},formatFoundLostDate(){var d;const[e,t,n]=this.item.foundDate.split("-").map(Number),[s,r]=(d=this.foundTime)==null?void 0:d.split(":").map(Number),o=new Date(e,t-1,n,s??0,r??0),i=o.getTimezoneOffset(),l=i>0?"-":"+",c=Math.abs(i),a=String(Math.floor(c/60)).padStart(2,"0"),u=String(c%60).padStart(2,"0");return`${o.getFullYear()}-${String(o.getMonth()+1).padStart(2,"0")}-${String(o.getDate()).padStart(2,"0")}T${String(o.getHours()).padStart(2,"0")}:${String(o.getMinutes()).padStart(2,"0")}:${String(o.getSeconds()).padStart(2,"0")}${l}${a}${u}`},removeImage(e){this.previews.splice(e,1),this.item.images.splice(e,1)},handleSelectChange(e){const t=e.target;t.value=="clear"&&(this.item[`${t.id}`]="")}}},Lm={class:"grid md:grid-cols-4 gap-4"},Dm={class:"mb-4 col-span-2"},Fm={class:"block relative mb-4 col-span-2"},Bm=["value"],Nm={class:"block relative mb-4 col-span-2"},Um=["value"],zm={class:"block relative mb-4 col-span-2"},Hm=["value"],qm={class:"block relative mb-4 col-span-2"},Vm=["value"],Km={class:"mb-4 col-span-2"},Wm={class:"mb-4 col-span-2"},Qm={class:"mb-4 col-span-2"},Gm=["disabled"],Jm={class:"flex flex-wrap gap-4 col-span-3"},Zm=["src"],Ym=["onClick"],Xm={class:"col-span-4"};function eg(e,t,n,s,r,o){var l,c;const i=me("Alert");return w(),C(G,null,[f("form",{id:"app",onSubmit:t[14]||(t[14]=(...a)=>o.save&&o.save(...a))},[f("div",Lm,[f("div",Dm,[t[17]||(t[17]=f("label",{for:"name",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Item "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("input",{id:"name",class:"appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline","onUpdate:modelValue":t[0]||(t[0]=a=>r.item.name=a),type:"text",name:"name",placeholder:"Escreva o nome do item"},null,512),[[dt,r.item.name]])]),f("div",Fm,[t[20]||(t[20]=f("label",{for:"category",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Categoria "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("select",{id:"category",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.category===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[1]||(t[1]=a=>r.item.category=a),onChange:t[2]||(t[2]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"category"},[t[18]||(t[18]=f("option",{disabled:"",value:""},"Selecione",-1)),t[19]||(t[19]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.categories,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,Bm))),128))],34),[[It,r.item.category]]),t[21]||(t[21]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",Nm,[t[24]||(t[24]=f("label",{for:"location",class:"font-inter block text-azul text-sm font-bold mb-2"},[we("Local "),f("span",{class:"text-red-500"},"*")],-1)),Re(f("select",{id:"location",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.location===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[3]||(t[3]=a=>r.item.location=a),onChange:t[4]||(t[4]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"location"},[t[22]||(t[22]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[23]||(t[23]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.locations,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,Um))),128))],34),[[It,r.item.location]]),t[25]||(t[25]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",zm,[t[28]||(t[28]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Cor",-1)),Re(f("select",{id:"color",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.color===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[5]||(t[5]=a=>r.item.color=a),onChange:t[6]||(t[6]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[26]||(t[26]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[27]||(t[27]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.colors,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,Hm))),128))],34),[[It,r.item.color]]),t[29]||(t[29]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",qm,[t[32]||(t[32]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Marca",-1)),Re(f("select",{id:"brand",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.brand===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[7]||(t[7]=a=>r.item.brand=a),onChange:t[8]||(t[8]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[30]||(t[30]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[31]||(t[31]=f("option",{value:"clear"},"Limpar seleção",-1)),(w(!0),C(G,null,ve(r.brands,a=>(w(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},J(a.name),9,Vm))),128))],34),[[It,r.item.brand]]),t[33]||(t[33]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",Km,[t[34]||(t[34]=f("label",{for:"foundDate",class:"font-inter block text-azul text-sm font-bold mb-2"},"Data em que foi achado",-1)),Re(f("input",{id:"foundDate",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.foundDate===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[9]||(t[9]=a=>r.item.foundDate=a),type:"date",name:"foundDate"},null,2),[[dt,r.item.foundDate]])]),f("div",Wm,[t[35]||(t[35]=f("label",{for:"foundTime",class:"font-inter block text-azul text-sm font-bold mb-2"},"Horário em que foi achado",-1)),Re(f("input",{id:"foundTime",class:ee(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.foundTime===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[10]||(t[10]=a=>r.foundTime=a),type:"time",name:"foundTime"},null,2),[[dt,r.foundTime]])]),f("div",Qm,[t[36]||(t[36]=f("label",{for:"description",class:"font-inter block text-azul text-sm font-bold mb-2"}," Descrição ",-1)),Re(f("textarea",{id:"description","onUpdate:modelValue":t[11]||(t[11]=a=>r.item.description=a),name:"description",rows:"4",placeholder:"Descreva detalhadamente o item",class:"w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,512),[[dt,r.item.description]])]),f("div",null,[f("label",{for:"images",class:ee(["flex bg-azul text-white text-base px-5 py-3 outline-none rounded cursor-pointer font-inter",((l=r.item.images)==null?void 0:l.length)>1?"opacity-50 cursor-not-allowed":""])},[t[37]||(t[37]=f("img",{src:ha,alt:"",class:"mr-2"},null,-1)),t[38]||(t[38]=we(" Adicionar imagens ")),f("input",{type:"file",id:"images",class:"hidden",onChange:t[12]||(t[12]=(...a)=>o.onFileChange&&o.onFileChange(...a)),disabled:((c=r.item.images)==null?void 0:c.length)>1},null,40,Gm)],2)]),f("div",Jm,[(w(!0),C(G,null,ve(r.previews,(a,u)=>(w(),C("div",{key:u,class:"w-64 h-64 border rounded relative"},[f("img",{src:a,alt:"Preview",class:"w-full h-full object-cover rounded"},null,8,Zm),f("div",{class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-12 h-12 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:d=>o.removeImage(u)},t[39]||(t[39]=[f("img",{src:Jr,alt:""},null,-1)]),8,Ym)]))),128))]),f("div",Xm,[f("button",{type:"button",onClick:t[13]||(t[13]=(...a)=>o.save&&o.save(...a)),class:"inline-block text-center rounded-full bg-laranja px-5 py-3 text-md text-white w-full"}," Enviar ")])])],32),r.submitError?(w(),Te(i,{key:0,type:"error",message:r.alertMessage,onClosed:t[15]||(t[15]=a=>r.submitError=!1)},null,8,["message"])):_e("",!0),r.formSubmitted?(w(),Te(i,{key:1,type:"success",message:"Item publicado com sucesso",onClosed:t[16]||(t[16]=a=>r.formSubmitted=!1)})):_e("",!0)],64)}const tg=Ce(jm,[["render",eg]]),ng={name:"FoundHeader",components:{Logo:gt},props:{text:String}},sg={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-start text-white gap-x-9 p-6"},rg={class:"font-inter font-semibold text-2xl"},og={class:"ml-auto"};function ig(e,t,n,s,r,o){const i=me("router-link"),l=me("Logo");return w(),C("div",sg,[L(i,{to:"/found",class:"inline-block"},{default:be(()=>t[0]||(t[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),f("div",null,[f("span",rg,J(n.text??"Cadastro de item achado"),1)]),f("button",og,[L(i,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const lg=Ce(ng,[["render",ig]]),ag={class:"fixed w-full top-0",style:{"z-index":"1"}},cg={class:"px-6 py-[120px]",style:{"z-index":"2"}},ug={class:"fixed bottom-0 w-full"},fg={__name:"Register-Found",setup(e){return(t,n)=>(w(),C(G,null,[f("div",ag,[L(lg)]),f("div",cg,[L(tg)]),f("div",ug,[L(yt,{activeIcon:"search"})])],64))}},dg={class:"flex flex-col items-center px-6 pt-10 lg:pt-16"},pg={class:"w-24 h-24 lg:w-32 lg:h-32 rounded-full flex items-center justify-center border-4 border-laranja overflow-hidden"},hg=["src"],mg={key:1,class:"w-full h-full bg-cinza2 flex items-center justify-center text-cinza3 text-sm lg:text-lg"},gg={class:"text-xl lg:text-3xl font-bold text-azul mt-4 lg:mt-6"},bg={class:"text-sm lg:text-lg text-cinza3"},yg={key:0,class:"text-sm lg:text-lg text-cinza3"},xg={class:"pt-[30px] lg:pt-[50px] flex flex-col items-center w-full mt-6 space-y-4 lg:space-y-6"},vg={class:"fixed bottom-0 w-full"},_g={__name:"User",setup(e){const t=Q({foto:"",first_name:"",last_name:"",email:"",username:"",matricula:null});async function n(){try{console.log("Buscando dados do usuário logado...");const s=await ae.get("/auth/user/");console.log("Dados do usuário recebidos:",s.data),t.value={foto:s.data.foto||null,first_name:s.data.first_name,last_name:s.data.last_name,email:s.data.email,username:s.data.username,matricula:s.data.matricula}}catch(s){console.error("Erro ao carregar dados do usuário:",s)}}return bt(n),(s,r)=>{const o=me("router-link");return w(),C("div",dg,[f("div",pg,[t.value.foto?(w(),C("img",{key:0,src:t.value.foto,alt:"Foto do Usuário",class:"w-full h-full object-cover"},null,8,hg)):(w(),C("div",mg,r[0]||(r[0]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"white",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"#FFFFFF",class:"w-10 h-10"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})],-1)])))]),f("h1",gg,J(t.value.first_name||t.value.last_name?t.value.first_name+" "+t.value.last_name:t.value.username),1),f("p",bg,J(t.value.email||"Email não disponível"),1),t.value.matricula?(w(),C("p",yg," Matrícula: "+J(t.value.matricula),1)):_e("",!0),f("div",xg,[L(o,{to:"/user-items-lost",class:"w-full flex justify-center"},{default:be(()=>r[1]||(r[1]=[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Meus itens ativos ",-1)])),_:1}),r[3]||(r[3]=f("a",{href:"mailto:acheiunb2024@gmail.com",class:"w-full flex justify-center"},[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Reportar um problema ")],-1)),L(o,{to:"/",class:"w-full flex justify-center"},{default:be(()=>r[2]||(r[2]=[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Sair da Conta ",-1)])),_:1})]),r[4]||(r[4]=f("div",{class:"h-16 lg:h-24"},null,-1)),f("div",vg,[L(yt,{activeIcon:"user"})])])}}},wg={name:"ItemHeader",components:{Logo:gt},props:{title:{type:String,required:!0}},methods:{goBack(){this.$router.back()}}},Eg={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center text-white p-4 md:p-6"},Sg={class:"flex items-center w-1/4"},Cg={class:"flex-grow flex justify-center"},Ag={class:"font-inter font-semibold text-lg md:text-2xl text-center break-words"},Rg={class:"flex items-center w-1/4 justify-end"};function kg(e,t,n,s,r,o){const i=me("Logo"),l=me("router-link");return w(),C("div",Eg,[f("div",Sg,[f("img",{onClick:t[0]||(t[0]=(...c)=>o.goBack&&o.goBack(...c)),src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white cursor-pointer"})]),f("div",Cg,[f("span",Ag,J(n.title),1)]),f("div",Rg,[L(l,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(i,{class:"pr-2 md:pr-4",sizeClass:"text-xl md:text-2xl"})]),_:1})])])}const ma=Ce(wg,[["render",kg]]),Rr="/static/dist/assets/default-avatar-BpcudYYH.png",Tg={class:"fixed w-full top-0 z-[1]"},Og={key:0,class:"pt-32 pb-24 space-y-4"},Ig={key:1,class:"pt-32 pb-24"},Pg=["onClick"],$g=["src"],Mg={class:"ml-5"},jg={class:"text-xl font-semibold text-gray-800"},Lg={class:"text-md text-gray-500"},Dg={key:2,class:"flex flex-col items-center justify-center h-96"},Fg={class:"fixed bottom-0 w-full bg-white shadow-md"},Bg={__name:"Chats",setup(e){const t=Ps(),n=Q(null),s=Q([]),r=Q(!0),o=c=>{!c.id||!c.recipient||!c.item_id||t.push({path:`/chat/${c.id}`,query:{userId:c.recipient.id,itemId:c.item_id}})};async function i(){try{const c=await ae.get("/auth/user/");n.value=c.data,await l()}catch(c){console.error("Erro ao buscar usuário:",c)}}async function l(){var c;if((c=n.value)!=null&&c.id)try{const a=await ae.get("/chat/chatrooms/");let u=[];for(const d of a.data.results)if(d.participant_1===n.value.id||d.participant_2===n.value.id){let m,g,y;d.participant_1===n.value.id?(m=d.participant_2,g=d.participant_2_username):(m=d.participant_1,g=d.participant_1_username);const x=await ae.get(`/users/${m}/`);y=x.data.foto?x.data.foto:Rr,u.push({...d,recipient:{id:m,name:g,foto:y}})}s.value=u}catch(a){console.error("Erro ao buscar conversas:",a)}finally{r.value=!1}}return bt(()=>{i()}),(c,a)=>(w(),C(G,null,[f("div",Tg,[L(ma,{title:"Mensagens"})]),r.value?(w(),C("div",Og,[(w(),C(G,null,ve(3,u=>f("div",{key:u,class:"flex items-center px-6"},a[0]||(a[0]=[f("div",{class:"w-[90px] h-[90px] rounded-full bg-cinza2 animate-pulse"},null,-1),f("div",{class:"flex-1 px-4 space-y-2"},[f("div",{class:"h-7 bg-cinza2 rounded-md animate-pulse"}),f("div",{class:"h-5 bg-cinza2 rounded-md animate-pulse"})],-1)]))),64))])):s.value.length?(w(),C("div",Ig,[(w(!0),C(G,null,ve(s.value,u=>(w(),C("div",{key:u.id,class:"flex items-center px-6 py-5 cursor-pointer transition-all duration-200 hover:bg-gray-200",onClick:d=>o(u)},[f("img",{src:u.recipient.foto,alt:"Foto do usuário",class:"w-16 h-16 md:w-20 md:h-20 rounded-full object-cover border-2 border-white"},null,8,$g),f("div",Mg,[f("p",jg,J(u.recipient.name),1),f("p",Lg,"Sobre o item: "+J(u.item_name),1)])],8,Pg))),128))])):(w(),C("div",Dg,a[1]||(a[1]=[f("p",{class:"text-xl text-cinza4"},"Nenhuma conversa encontrada.",-1)]))),f("div",Fg,[L(yt,{activeIcon:"chat"})])],64))}},Ng=Ce(Bg,[["__scopeId","data-v-73de17b8"]]),Ug={key:0,class:"fixed w-full top-0 z-[1]"},zg={key:1,class:"px-6 py-[120px] flex flex-col items-center gap-6"},Hg={class:"w-full md:flex md:gap-8 md:max-w-4xl"},qg={class:"w-full max-w-md md:max-w-none md:w-1/2 relative"},Vg={key:0,class:"w-full h-64"},Kg=["src"],Wg=["src","alt"],Qg={key:2,class:"md:hidden overflow-hidden relative"},Gg=["src","alt"],Jg={key:0,class:"absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2"},Zg={class:"w-full md:w-1/2 mt-6 md:mt-0"},Yg={class:"text-lg md:text-2xl font-bold text-left"},Xg={class:"text-sm md:text-base text-gray-500 text-left mt-2"},e0={key:0,class:"text-sm md:text-base text-gray-500 text-left mt-1"},t0={key:1,class:"text-sm md:text-base text-gray-500 text-left mt-1"},n0={class:"flex flex-wrap gap-2 justify-start mt-4"},s0={key:0,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-blue-500"},r0={key:1,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-laranja"},o0={key:2,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-gray-500"},i0={class:"text-sm md:text-base text-gray-700 text-left mt-4"},l0={class:"fixed bottom-0 w-full"},a0={__name:"ListItem",setup(e){const t=Gr(),n=Ps(),s=Q(null),r=Q(""),o=Q(null),i=Q(0),l=Q(window.innerWidth<768),c=Q(!1),a=v=>{const A=new Date(v);return`${A.toLocaleDateString("pt-BR",{timeZone:"America/Sao_Paulo"})} às ${A.toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit",timeZone:"America/Sao_Paulo"})}`},u=()=>{i.value=(i.value+1)%s.value.image_urls.length},d=()=>{i.value=(i.value-1+s.value.image_urls.length)%s.value.image_urls.length},m=()=>{l.value=window.innerWidth<768};async function g(){try{const v=await ae.get(`/items/${t.query.idItem}/`);s.value=v.data,r.value=s.value.status,c.value=!0,console.log("Item carregado:",s.value)}catch(v){console.error("Erro ao carregar item:",v)}}async function y(){try{const v=await ae.get("/auth/user/");o.value=v.data,console.log("Usuário atual:",o.value)}catch(v){console.error("Erro ao buscar usuário:",v)}}const x=async()=>{var v,A,T,I;try{if(!s.value||!s.value.id){console.error("Item inválido ou não carregado:",s.value);return}if(!((v=o.value)!=null&&v.id)||!((A=s.value)!=null&&A.user_id)){console.error("IDs de usuário inválidos:",{currentUser:o.value,item:s.value});return}console.log("Item atual (ID):",s.value.id),console.log("Dono do item (user_id):",s.value.user_id),console.log("Usuário atual (ID):",o.value.id);const M={participant_1:o.value.id,participant_2:s.value.user_id,item_id:s.value.id};console.log("Parâmetros para busca de chat:",M);const Y=(await ae.get("/chat/chatrooms/",{params:M})).data;if(console.log("Chats encontrados:",Y),Y&&Y.length>0){n.push(`/chat/${Y[0].id}?itemId=${s.value.id}`);return}const Z={participant_1:o.value.id,participant_2:s.value.user_id,item_id:s.value.id};console.log("Dados para criação de chat:",Z);const ue=await ae.post("/chat/chatrooms/",Z);if(console.log("Resposta da criação de chat:",ue.data),(T=ue.data)!=null&&T.id)n.push(`/chat/${ue.data.id}?itemId=${s.value.id}`);else throw new Error("Resposta inválida ao criar chatroom")}catch(M){console.error("Erro ao criar/aceder chat:",((I=M.response)==null?void 0:I.data)||M.message),alert("Ocorreu um erro ao iniciar o chat. Por favor, tente novamente.")}};return bt(async()=>{await y(),await g(),window.addEventListener("resize",m)}),tl(()=>{window.removeEventListener("resize",m)}),(v,A)=>(w(),C(G,null,[c.value?(w(),C("div",Ug,[L(ma,{title:r.value==="found"?"Item Achado":"Item Perdido"},null,8,["title"])])):_e("",!0),s.value?(w(),C("div",zg,[f("div",Hg,[f("div",qg,[!s.value.image_urls||s.value.image_urls.length===0?(w(),C("div",Vg,[f("img",{src:Se(Qt),alt:"Imagem não disponível",class:"w-full h-full object-contain"},null,8,Kg)])):(w(),C("div",{key:1,class:ee(["hidden md:grid",s.value.image_urls.length===1?"grid-cols-1":"grid-cols-2 gap-4"])},[(w(!0),C(G,null,ve(s.value.image_urls.slice(0,2),(T,I)=>(w(),C("img",{key:I,src:T,alt:`Imagem ${I+1} do item`,class:"h-64 w-full object-cover rounded-lg"},null,8,Wg))),128))],2)),s.value.image_urls&&s.value.image_urls.length>0?(w(),C("div",Qg,[f("div",{class:"flex transition-transform duration-300 ease-out snap-x snap-mandatory",style:Nn({transform:`translateX(-${i.value*100}%)`})},[(w(!0),C(G,null,ve(s.value.image_urls,(T,I)=>(w(),C("div",{key:I,class:"w-full flex-shrink-0 relative snap-start"},[f("img",{src:T,alt:`Imagem ${I+1} do item`,class:"w-full h-64 object-cover rounded-lg"},null,8,Gg)]))),128))],4),s.value.image_urls.length>1?(w(),C("div",Jg,[(w(!0),C(G,null,ve(s.value.image_urls,(T,I)=>(w(),C("div",{key:I,class:ee(["w-2 h-2 rounded-full transition-colors duration-300",i.value===I?"bg-white":"bg-gray-300"])},null,2))),128))])):_e("",!0),s.value.image_urls.length>1?(w(),C("button",{key:1,onClick:d,class:"absolute left-2 top-1/2 transform -translate-y-1/2 bg-white/30 rounded-full p-2 backdrop-blur-sm"}," ← ")):_e("",!0),s.value.image_urls.length>1?(w(),C("button",{key:2,onClick:u,class:"absolute right-2 top-1/2 transform -translate-y-1/2 bg-white/30 rounded-full p-2 backdrop-blur-sm"}," → ")):_e("",!0)])):_e("",!0)]),f("div",Zg,[f("h1",Yg,J(s.value.name),1),f("p",Xg," Achado em: "+J(s.value.location_name||"Não especificado"),1),s.value.found_lost_date&&r.value==="found"?(w(),C("p",e0," Data do achado: "+J(a(s.value.found_lost_date)),1)):s.value.found_lost_date&&r.value==="lost"?(w(),C("p",t0," Data da perda: "+J(a(s.value.found_lost_date)),1)):_e("",!0),f("div",n0,[s.value.category_name?(w(),C("span",s0," Categoria: "+J(s.value.category_name),1)):_e("",!0),s.value.brand_name?(w(),C("span",r0," Marca: "+J(s.value.brand_name),1)):_e("",!0),s.value.color_name?(w(),C("span",o0," Cor: "+J(s.value.color_name),1)):_e("",!0)]),f("p",i0,J(s.value.description),1)])]),f("button",{class:"bg-laranja text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl",onClick:x}," É meu item ")])):_e("",!0),f("div",l0,[L(yt,{activeIcon:r.value==="found"?"found":"lost"},null,8,["activeIcon"])])],64))}},c0={name:"SubMenu"},u0={class:"flex pt-8 space-x-8 justify-center"};function f0(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",u0,[L(i,{to:"/user-items-found",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[we(" Achados ")])),_:1}),t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Perdidos"),f("div",{class:"h-[2px] bg-laranja"})],-1))])}const d0=Ce(c0,[["render",f0]]),p0={class:"flex flex-col items-center justify-center h-64 text-center"},h0=["src"],m0={class:"text-cinza3 font-inter text-lg"},g0={class:"text-azul font-bold"},ga={__name:"Empty-State-User",props:{message:String,highlightText:String},setup(e){return(t,n)=>(w(),C("div",p0,[f("img",{src:Se(ua),class:"w-40 h-40 mb-4"},null,8,h0),f("p",m0,[we(" Parece que você não tem itens "+J(e.message)+" ",1),f("span",g0,J(e.highlightText),1)])]))}},b0={class:"fixed w-full top-0 h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between px-6 text-white z-10"},y0={class:"pb-8 pt-24"},x0={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-24"},v0={class:"fixed bottom-0 w-full"},_0={__name:"UserItems-Lost",setup(e){const t=Q([]),n=Q(!1);Q(!1);const s=Q(""),r=async()=>{try{const i=await kh();t.value=i}catch{s.value="Erro ao carregar itens perdidos.",n.value=!0}},o=async i=>{try{await ca(i),myItemsFound.value=myItemsFound.value.filter(l=>l.id!==i)}catch(l){console.error("Erro ao excluir item:",l)}};return bt(()=>r()),(i,l)=>{const c=me("router-link"),a=me("ButtonAdd");return w(),C(G,null,[f("div",b0,[L(c,{to:"/user",class:"inline-block"},{default:be(()=>l[0]||(l[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),l[1]||(l[1]=f("h1",{class:"text-2xl font-bold absolute left-1/2 transform -translate-x-1/2"}," Meus Itens ",-1)),f("button",null,[L(c,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(gt,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])]),f("div",y0,[L(d0)]),t.value.length===0?(w(),Te(ga,{key:0,message:"perdidos registrados... Você pode adicionar um no",highlightText:"AcheiUnB"})):(w(),C("div",x0,[(w(!0),C(G,null,ve(t.value,u=>(w(),Te($s,{key:u.id,id:u.id,name:u.name,location:u.location_name,time:Se(Ns)(u.created_at),image:u.image_urls[0]||Se(Qt),isMyItem:!0,onDelete:o},null,8,["id","name","location","time","image"]))),128))])),L(a),f("div",v0,[L(yt,{activeIcon:"search"})])],64)}}},w0={name:"SubMenu"},E0={class:"flex pt-8 space-x-8 justify-center"};function S0(e,t,n,s,r,o){const i=me("router-link");return w(),C("div",E0,[t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Achados"),f("div",{class:"h-[2px] bg-laranja"})],-1)),L(i,{to:"/user-items-lost",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[we(" Perdidos ")])),_:1})])}const C0=Ce(w0,[["render",S0]]),A0={class:"fixed w-full top-0 h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between px-6 text-white z-10"},R0={class:"pb-8 pt-24"},k0={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-24"},T0={class:"fixed bottom-0 w-full"},O0={__name:"UserItems-Found",setup(e){const t=Q([]),n=Q(!1);Q(!1);const s=Q(""),r=async()=>{try{const i=await Rh();t.value=i}catch{s.value="Erro ao carregar itens encontrados.",n.value=!0}},o=async i=>{try{await ca(i),t.value=t.value.filter(l=>l.id!==i)}catch(l){console.error("Erro ao excluir item:",l)}};return bt(()=>r()),(i,l)=>{const c=me("router-link"),a=me("ButtonAdd");return w(),C(G,null,[f("div",A0,[L(c,{to:"/user",class:"inline-block"},{default:be(()=>l[0]||(l[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),l[1]||(l[1]=f("h1",{class:"text-2xl font-bold absolute left-1/2 transform -translate-x-1/2"}," Meus Itens ",-1)),f("button",null,[L(c,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(gt,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])]),f("div",R0,[L(C0)]),t.value.length===0?(w(),Te(ga,{key:0,message:"achados registrados... Você pode adicionar um no",highlightText:"AcheiUnB"})):(w(),C("div",k0,[(w(!0),C(G,null,ve(t.value,u=>(w(),Te($s,{key:u.id,id:u.id,name:u.name,location:u.location_name,time:Se(Ns)(u.created_at),image:u.image_urls[0]||Se(Qt),isMyItem:!0,onDelete:o},null,8,["id","name","location","time","image"]))),128))])),L(a),f("div",T0,[L(yt,{activeIcon:"search"})])],64)}}},I0={class:"fixed top-0 left-0 w-full bg-verde shadow-md py-3 px-4 flex items-center z-10"},P0=["src"],$0={class:"flex items-center space-x-4 ml-2"},M0=["src"],j0={class:"text-white font-semibold text-sm md:text-base truncate max-w-[120px] md:max-w-[200px]"},L0=["src"],D0={class:"ml-auto md:absolute md:left-1/2 md:transform md:-translate-x-1/2"},F0={__name:"Header-Message",setup(e){const t=Gr(),n=Ps(),s=Q(t.params.chatroomId||t.query.chatroomId),r=Q("Usuário"),o=Q(Rr),i=Q(Qt),l=Q(null),c=Q(null),a=Q(null),u=async()=>{try{const x=await ae.get("/auth/user/");a.value=x.data}catch{}},d=async()=>{var x;if(!(!s.value||!((x=a.value)!=null&&x.id)))try{const A=(await ae.get(`/chat/chatrooms/${s.value}/`)).data;l.value=A.participant_1===a.value.id?A.participant_2:A.participant_1,c.value=A.item_id,m(),g()}catch{}},m=async()=>{if(l.value)try{const x=await ae.get(`/users/${l.value}/`);r.value=x.data.first_name||"Usuário",o.value=x.data.foto||Rr}catch{}},g=async()=>{var x;if(c.value)try{const v=await ae.get(`/items/${c.value}`);i.value=((x=v.data.image_urls)==null?void 0:x[0])||Qt}catch{}},y=()=>{n.back()};return qc(()=>{a.value?d():u()}),bt(()=>{u()}),(x,v)=>{const A=me("router-link");return w(),C("div",I0,[f("img",{onClick:y,src:Se(hn),alt:"Voltar",class:"w-6 h-6 md:w-8 md:h-8 cursor-pointer"},null,8,P0),f("div",$0,[f("img",{src:o.value,alt:"Foto do usuário",class:"w-10 h-10 md:w-12 md:h-12 rounded-full object-cover border-2 border-white"},null,8,M0),f("span",j0,J(r.value||"Usuário"),1),f("img",{src:i.value,alt:"Imagem do item",class:"w-10 h-10 md:w-12 md:h-12 rounded-lg object-cover border-2 border-white"},null,8,L0)]),f("div",D0,[L(A,{to:"/about",class:"no-underline text-white"},{default:be(()=>[L(gt,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}}},B0={class:"relative flex flex-col h-screen bg-gray-100"},N0={ref:"messagesContainer",class:"relative flex-1 pt-32 pb-24 px-4 overflow-y-auto z-10"},U0={key:0,class:"flex w-full justify-end"},z0={class:"bg-laranja text-white p-3 rounded-2xl max-w-[70%] break-words shadow-md"},H0={class:"text-sm"},q0={class:"text-xs opacity-75 mt-1 block text-right"},V0={key:1,class:"flex w-full justify-start"},K0={class:"bg-gray-300 text-gray-800 p-3 rounded-2xl max-w-[70%] break-words shadow-md"},W0={class:"text-sm"},Q0={class:"text-xs opacity-75 mt-1 block text-left"},G0={class:"fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 p-4 z-20"},J0={class:"flex"},Z0=["disabled"],bi={__name:"Message",setup(e){const t=Gr(),n=Q([]),s=Q(""),r=Q(null),o=Q(null),i=Q(null),l=Q(t.params.chatroomId||t.query.chatroomId),c=Q(t.params.itemId||t.query.itemId);l.value?console.log("chatroomId:",l.value):console.error("ID do chat não encontrado na rota");const a=async()=>{var v;if(!l.value){console.error("ID do chat não encontrado, não é possível enviar mensagem");return}if(!s.value.trim()){console.warn("Mensagem vazia, nada a enviar");return}try{console.log("Enviando mensagem para room:",l.value,"Conteúdo:",s.value),await ae.post("/chat/messages/",{room:l.value,content:s.value}),s.value="",await u()}catch(A){console.error("Erro ao enviar mensagem:",((v=A.response)==null?void 0:v.data)||A.message)}},u=async()=>{if(l.value)try{const v=await ae.get("/chat/messages/",{params:{room:l.value}});n.value=v.data.results||v.data}catch(v){console.error("Erro ao buscar mensagens:",v)}},d=async()=>{try{const v=await ae.get("/auth/user/");r.value=v.data}catch(v){console.error("Erro ao buscar usuário:",v)}},m=async()=>{if(c.value)try{const v=await ae.get(`/items/${c.value}`);o.value=v.data}catch(v){console.error("Erro ao buscar item:",v)}},g=async()=>{if(c.value)try{const v=await ae.get(`/items/${c.value}`);i.value=v.data.user_id}catch(v){console.error("Erro ao buscar dono do item:",v)}},y=v=>new Date(v).toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit"}),x=async()=>{if(l.value)try{await ae.get(`/chat/chatrooms/${l.value}/`)}catch(v){console.error("Erro ao buscar dados do chatroom:",v)}};return bt(async()=>{await d(),await m(),await g(),await x(),await u()}),(v,A)=>(w(),C("div",B0,[A[1]||(A[1]=f("div",{class:"flex absolute inset-0 justify-center items-center pointer-events-none z-0"},[f("img",{src:Dl,alt:"Watermark",class:"w-48 md:w-64 lg:w-80 opacity-20"})],-1)),i.value&&c.value?(w(),Te(F0,{key:0,itemId:String(c.value),userId:String(i.value),class:"fixed top-0 left-0 w-full z-20"},null,8,["itemId","userId"])):_e("",!0),f("div",N0,[(w(!0),C(G,null,ve(n.value,T=>{var I;return w(),C("div",{key:T.id,class:"mb-2 flex"},[T.sender===((I=r.value)==null?void 0:I.id)?(w(),C("div",U0,[f("div",z0,[f("p",H0,J(T.content),1),f("span",q0,J(y(T.timestamp)),1)])])):(w(),C("div",V0,[f("div",K0,[f("p",W0,J(T.content),1),f("span",Q0,J(y(T.timestamp)),1)])]))])}),128))],512),f("div",G0,[f("div",J0,[Re(f("input",{"onUpdate:modelValue":A[0]||(A[0]=T=>s.value=T),onKeyup:Lu(a,["enter"]),type:"text",maxlength:"80",placeholder:"Digite uma mensagem (máx. 80 caracteres)...",class:"flex-1 border border-gray-300 rounded-full px-4 py-2 focus:outline-none focus:border-laranja"},null,544),[[dt,s.value]]),f("button",{onClick:a,disabled:!s.value.trim(),class:"ml-2 bg-laranja text-white px-4 py-2 rounded-full hover:bg-laranja-dark disabled:opacity-50 disabled:cursor-not-allowed transition-colors"}," Enviar ",8,Z0)])])]))}},Y0=[{path:"/",name:"Login",component:td},{path:"/about",name:"About",component:vd,meta:{requiresAuth:!0}},{path:"/lost",name:"Lost",component:Bh,meta:{requiresAuth:!0}},{path:"/found",name:"Found",component:em,meta:{requiresAuth:!0}},{path:"/register-lost",name:"RegisterLost",component:Mm,meta:{requiresAuth:!0}},{path:"/register-found",name:"RegisterFound",component:fg,meta:{requiresAuth:!0}},{path:"/user",name:"User",component:_g,meta:{requiresAuth:!0}},{path:"/chats",name:"Chats",component:Ng,meta:{requiresAuth:!0}},{path:"/list-item",name:"ListItem",component:a0,meta:{requiresAuth:!0}},{path:"/user-items-lost",name:"UserItemsLost",component:_0},{path:"/user-items-found",name:"UserItemsFound",component:O0},{path:"/chat/new",name:"NewChat",component:bi,meta:{requiresAuth:!0}},{path:"/chat/:chatroomId",name:"Chat",component:bi,meta:{requiresAuth:!0},props:e=>({chatroomId:e.params.chatroomId||e.query.chatroomId,itemId:e.params.itemId||e.query.itemId})}],ba=Hf({history:vf(),routes:Y0}),Us=Bu(Vf);Us.use(ba);Us.component("Header",Zr);Us.component("Alert",sm);Us.mount("#app"); diff --git a/web/src/components/Empty-State.vue b/web/src/components/Empty-State.vue index 6eb42bd2..2dabb9d9 100644 --- a/web/src/components/Empty-State.vue +++ b/web/src/components/Empty-State.vue @@ -8,7 +8,7 @@ \ No newline at end of file + diff --git a/web/src/components/Empty-State.vue b/web/src/components/Empty-State.vue index 2dabb9d9..d2d74753 100644 --- a/web/src/components/Empty-State.vue +++ b/web/src/components/Empty-State.vue @@ -1,43 +1,43 @@ diff --git a/web/src/components/Item-Card.vue b/web/src/components/Item-Card.vue index f6a7dc08..8c008ebe 100644 --- a/web/src/components/Item-Card.vue +++ b/web/src/components/Item-Card.vue @@ -17,13 +17,14 @@ Excluir - - -
+ + +
-
@@ -32,13 +33,13 @@

- -
- - - +
{ try { const response = await fetchMyItemsFound(); @@ -80,13 +79,15 @@ const fetchItems = async () => { alertMessage.value = "Erro ao carregar itens encontrados."; submitError.value = true; } + + loading.value = false; }; // Função para confirmar exclusão const confirmDelete = async (itemId) => { try { await deleteItem(itemId); // Chama a API para excluir o item - myItemsFound.value = myItemsFound.value.filter(item => item.id !== itemId); // Remove do estado + myItemsFound.value = myItemsFound.value.filter((item) => item.id !== itemId); // Remove do estado } catch (error) { console.error("Erro ao excluir item:", error); } diff --git a/web/src/views/UserItems-Lost.vue b/web/src/views/UserItems-Lost.vue index ec55751b..e79f6a65 100644 --- a/web/src/views/UserItems-Lost.vue +++ b/web/src/views/UserItems-Lost.vue @@ -11,12 +11,8 @@ /> - -

- Meus Itens -

+

Meus Itens

-
- -
- -
+ +
+ +
- - + - -
- -
+ +
+ +
- - + + - -
- -
+ +
+ +
- -======= - - ->>>>>>> 0aa8016aa30641ecaa49aec118b028668a338d87 + +