@gui-chat-plugin/weather 0.0.1 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/style.css CHANGED
@@ -1 +1,3 @@
1
- @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-orange-50:oklch(98% .016 73.684);--color-orange-200:oklch(90.1% .076 70.697);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-orange-700:oklch(55.3% .195 38.402);--color-green-50:oklch(98.2% .018 155.826);--color-teal-50:oklch(98.4% .014 180.72);--color-teal-300:oklch(85.5% .138 181.071);--color-teal-500:oklch(70.4% .14 182.503);--color-teal-800:oklch(43.7% .078 188.216);--color-cyan-50:oklch(98.4% .019 200.873);--color-cyan-300:oklch(86.5% .127 207.078);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-500:oklch(71.5% .143 215.221);--color-cyan-600:oklch(60.9% .126 221.723);--color-cyan-700:oklch(52% .105 223.128);--color-sky-100:oklch(95.1% .026 236.824);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-200:oklch(87% .065 274.039);--color-indigo-600:oklch(51.1% .262 276.966);--color-indigo-700:oklch(45.7% .24 277.023);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-800:oklch(43.8% .218 303.724);--color-pink-50:oklch(97.1% .014 343.198);--color-pink-500:oklch(65.6% .241 354.308);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-white:#fff;--spacing:.25rem;--container-3xl:48rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-6xl:3.75rem;--text-6xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--drop-shadow-lg:0 4px 4px #00000026;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}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;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.relative{position:relative}.-top-3{top:calc(var(--spacing)*-3)}.left-1\/2{left:50%}.mx-auto{margin-inline:auto}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mr-1{margin-right:calc(var(--spacing)*1)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-5{margin-bottom:calc(var(--spacing)*5)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.ml-2{margin-left:calc(var(--spacing)*2)}.contents{display:contents}.flex{display:flex}.grid{display:grid}.h-2{height:calc(var(--spacing)*2)}.h-4{height:calc(var(--spacing)*4)}.h-\[600px\]{height:600px}.h-auto{height:auto}.h-full{height:100%}.w-4{width:calc(var(--spacing)*4)}.w-full{width:100%}.max-w-3xl{max-width:var(--container-3xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-\[200px\]{max-width:200px}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-blue-100{border-color:var(--color-blue-100)}.border-blue-200{border-color:var(--color-blue-200)}.border-gray-600{border-color:var(--color-gray-600)}.border-indigo-200{border-color:var(--color-indigo-200)}.border-orange-200{border-color:var(--color-orange-200)}.border-transparent{border-color:#0000}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-indigo-100{background-color:var(--color-indigo-100)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-red-500{background-color:var(--color-red-500)}.bg-white{background-color:var(--color-white)}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-50{--tw-gradient-from:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-400{--tw-gradient-from:var(--color-blue-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-500{--tw-gradient-from:var(--color-blue-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-cyan-300{--tw-gradient-from:var(--color-cyan-300);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-cyan-400{--tw-gradient-from:var(--color-cyan-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-300{--tw-gradient-from:var(--color-gray-300);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-green-50{--tw-gradient-from:var(--color-green-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-orange-50{--tw-gradient-from:var(--color-orange-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-purple-500{--tw-gradient-from:var(--color-purple-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-sky-100{--tw-gradient-from:var(--color-sky-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-teal-500{--tw-gradient-from:var(--color-teal-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-blue-50{--tw-gradient-via:var(--color-blue-50);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-blue-100{--tw-gradient-via:var(--color-blue-100);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-pink-50{--tw-gradient-via:var(--color-pink-50);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-teal-50{--tw-gradient-via:var(--color-teal-50);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-blue-400{--tw-gradient-to:var(--color-blue-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-blue-500{--tw-gradient-to:var(--color-blue-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-blue-600{--tw-gradient-to:var(--color-blue-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-cyan-50{--tw-gradient-to:var(--color-cyan-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-cyan-400{--tw-gradient-to:var(--color-cyan-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-cyan-500{--tw-gradient-to:var(--color-cyan-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-gray-400{--tw-gradient-to:var(--color-gray-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-indigo-100{--tw-gradient-to:var(--color-indigo-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-indigo-600{--tw-gradient-to:var(--color-indigo-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-pink-500{--tw-gradient-to:var(--color-pink-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-50{--tw-gradient-to:var(--color-purple-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-red-50{--tw-gradient-to:var(--color-red-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.fill-blue-600{fill:var(--color-blue-600)}.fill-gray-600{fill:var(--color-gray-600)}.fill-gray-700{fill:var(--color-gray-700)}.fill-red-600{fill:var(--color-red-600)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.text-center{text-align:center}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.text-8xl{font-size:var(--text-8xl);line-height:var(--tw-leading,var(--text-8xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-blue-800{color:var(--color-blue-800)}.text-cyan-600{color:var(--color-cyan-600)}.text-cyan-700{color:var(--color-cyan-700)}.text-gray-200{color:var(--color-gray-200)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-indigo-700{color:var(--color-indigo-700)}.text-orange-500{color:var(--color-orange-500)}.text-orange-600{color:var(--color-orange-600)}.text-orange-700{color:var(--color-orange-700)}.text-purple-800{color:var(--color-purple-800)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-teal-800{color:var(--color-teal-800)}.text-white{color:var(--color-white)}.opacity-90{opacity:.9}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a))drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a)drop-shadow(0 1px 1px #0000000f);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,)}.drop-shadow-lg{--tw-drop-shadow-size:drop-shadow(0 4px 4px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-lg));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,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.last\:mb-0:last-child{margin-bottom:calc(var(--spacing)*0)}@media(hover:hover){.hover\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\:border-purple-300:hover{border-color:var(--color-purple-300)}.hover\:border-teal-300:hover{border-color:var(--color-teal-300)}.hover\:bg-indigo-200:hover{background-color:var(--color-indigo-200)}.hover\:shadow-2xl:hover{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\:shadow-xl:hover{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}@media(min-width:40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:48rem){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:64rem){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(min-width:80rem){.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}
1
+ /*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
2
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-orange-50:oklch(98% .016 73.684);--color-orange-200:oklch(90.1% .076 70.697);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-orange-700:oklch(55.3% .195 38.402);--color-green-50:oklch(98.2% .018 155.826);--color-teal-50:oklch(98.4% .014 180.72);--color-teal-300:oklch(85.5% .138 181.071);--color-teal-500:oklch(70.4% .14 182.503);--color-teal-800:oklch(43.7% .078 188.216);--color-cyan-50:oklch(98.4% .019 200.873);--color-cyan-300:oklch(86.5% .127 207.078);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-500:oklch(71.5% .143 215.221);--color-cyan-600:oklch(60.9% .126 221.723);--color-cyan-700:oklch(52% .105 223.128);--color-sky-100:oklch(95.1% .026 236.824);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-200:oklch(87% .065 274.039);--color-indigo-600:oklch(51.1% .262 276.966);--color-indigo-700:oklch(45.7% .24 277.023);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-800:oklch(43.8% .218 303.724);--color-pink-50:oklch(97.1% .014 343.198);--color-pink-500:oklch(65.6% .241 354.308);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-white:#fff;--spacing:.25rem;--container-3xl:48rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25 / 1.875);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5 / 2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-6xl:3.75rem;--text-6xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--drop-shadow-lg:0 4px 4px #00000026;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}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;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.relative{position:relative}.end{inset-inline-end:var(--spacing)}.-top-3{top:calc(var(--spacing) * -3)}.left-1\/2{left:50%}.mx-auto{margin-inline:auto}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mr-1{margin-right:calc(var(--spacing) * 1)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.mb-8{margin-bottom:calc(var(--spacing) * 8)}.ml-2{margin-left:calc(var(--spacing) * 2)}.contents{display:contents}.flex{display:flex}.grid{display:grid}.h-2{height:calc(var(--spacing) * 2)}.h-4{height:calc(var(--spacing) * 4)}.h-\[600px\]{height:600px}.h-auto{height:auto}.h-full{height:100%}.w-4{width:calc(var(--spacing) * 4)}.w-full{width:100%}.max-w-3xl{max-width:var(--container-3xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-\[200px\]{max-width:200px}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing) * 1)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-blue-100{border-color:var(--color-blue-100)}.border-blue-200{border-color:var(--color-blue-200)}.border-gray-600{border-color:var(--color-gray-600)}.border-indigo-200{border-color:var(--color-indigo-200)}.border-orange-200{border-color:var(--color-orange-200)}.border-transparent{border-color:#0000}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-indigo-100{background-color:var(--color-indigo-100)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-red-500{background-color:var(--color-red-500)}.bg-white{background-color:var(--color-white)}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-50{--tw-gradient-from:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-blue-400{--tw-gradient-from:var(--color-blue-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-blue-500{--tw-gradient-from:var(--color-blue-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-cyan-300{--tw-gradient-from:var(--color-cyan-300);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-cyan-400{--tw-gradient-from:var(--color-cyan-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-gray-300{--tw-gradient-from:var(--color-gray-300);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-green-50{--tw-gradient-from:var(--color-green-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-orange-50{--tw-gradient-from:var(--color-orange-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-purple-500{--tw-gradient-from:var(--color-purple-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-sky-100{--tw-gradient-from:var(--color-sky-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-teal-500{--tw-gradient-from:var(--color-teal-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.via-blue-50{--tw-gradient-via:var(--color-blue-50);--tw-gradient-via-stops:var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-blue-100{--tw-gradient-via:var(--color-blue-100);--tw-gradient-via-stops:var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-pink-50{--tw-gradient-via:var(--color-pink-50);--tw-gradient-via-stops:var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-teal-50{--tw-gradient-via:var(--color-teal-50);--tw-gradient-via-stops:var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-blue-400{--tw-gradient-to:var(--color-blue-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-blue-500{--tw-gradient-to:var(--color-blue-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-blue-600{--tw-gradient-to:var(--color-blue-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-cyan-50{--tw-gradient-to:var(--color-cyan-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-cyan-400{--tw-gradient-to:var(--color-cyan-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-cyan-500{--tw-gradient-to:var(--color-cyan-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-gray-400{--tw-gradient-to:var(--color-gray-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-indigo-100{--tw-gradient-to:var(--color-indigo-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-indigo-600{--tw-gradient-to:var(--color-indigo-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-pink-500{--tw-gradient-to:var(--color-pink-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-purple-50{--tw-gradient-to:var(--color-purple-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-red-50{--tw-gradient-to:var(--color-red-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.fill-blue-600{fill:var(--color-blue-600)}.fill-gray-600{fill:var(--color-gray-600)}.fill-gray-700{fill:var(--color-gray-700)}.fill-red-600{fill:var(--color-red-600)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-2{padding-block:calc(var(--spacing) * 2)}.text-center{text-align:center}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.text-8xl{font-size:var(--text-8xl);line-height:var(--tw-leading,var(--text-8xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-blue-800{color:var(--color-blue-800)}.text-cyan-600{color:var(--color-cyan-600)}.text-cyan-700{color:var(--color-cyan-700)}.text-gray-200{color:var(--color-gray-200)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-indigo-700{color:var(--color-indigo-700)}.text-orange-500{color:var(--color-orange-500)}.text-orange-600{color:var(--color-orange-600)}.text-orange-700{color:var(--color-orange-700)}.text-purple-800{color:var(--color-purple-800)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-teal-800{color:var(--color-teal-800)}.text-white{color:var(--color-white)}.opacity-90{opacity:.9}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a)) drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a) drop-shadow(0 1px 1px #0000000f);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,)}.drop-shadow-lg{--tw-drop-shadow-size:drop-shadow(0 4px 4px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-lg));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,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.last\:mb-0:last-child{margin-bottom:calc(var(--spacing) * 0)}@media (hover:hover){.hover\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\:border-purple-300:hover{border-color:var(--color-purple-300)}.hover\:border-teal-300:hover{border-color:var(--color-teal-300)}.hover\:bg-indigo-200:hover{background-color:var(--color-indigo-200)}.hover\:shadow-2xl:hover{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\:shadow-xl:hover{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=48rem){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=64rem){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}
3
+ /*$vite$:1*/
package/dist/vue.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const v=require("./core.cjs"),e=require("vue"),D={class:"w-full"},S=["viewBox"],C={class:"grid-lines"},$=["x1","y1","x2","y2"],M={class:"y-axis-labels"},T=["x","y"],L=["points"],F={key:1},j=["cx","cy"],P=["x","y"],O=["points"],A={key:3},W=["cx","cy"],z=["x","y"],R=["points"],J={key:5},q=["cx","cy"],H={class:"x-axis-labels"},U=["x","y"],X={class:"flex justify-center gap-6 mt-4"},Y={key:0,class:"flex items-center gap-2"},G={key:1,class:"flex items-center gap-2"},K={key:2,class:"flex items-center gap-2"},B=800,V=300,Q=e.defineComponent({__name:"TemperatureChart",props:{times:{},tempsMax:{},tempsMin:{},temps:{}},setup(p){const a=p,i={top:40,right:40,bottom:60,left:50},g=e.computed(()=>B-i.left-i.right),u=e.computed(()=>V-i.top-i.bottom),m=e.computed(()=>{const n=[];return a.tempsMax&&n.push(...a.tempsMax.map(Number).filter(t=>!isNaN(t))),a.tempsMin&&n.push(...a.tempsMin.map(Number).filter(t=>!isNaN(t))),a.temps&&n.push(...a.temps.map(Number).filter(t=>!isNaN(t))),n}),_=e.computed(()=>{if(m.value.length===0)return{min:0,max:30};const n=Math.floor(Math.min(...m.value)/5)*5,t=Math.ceil(Math.max(...m.value)/5)*5;return{min:n,max:t}}),E=e.computed(()=>{const{min:n,max:t}=_.value,s=(t-n)/4;return[t,t-s,t-s*2,t-s*3,n]});function k(n){const t=typeof n=="string"?parseFloat(n):n;if(isNaN(t))return 0;const{min:s,max:d}=_.value,l=(t-s)/(d-s);return i.top+u.value*(1-l)}function f(n,t){return t<=1?i.left+g.value/2:i.left+g.value/(t-1)*n}const y=e.computed(()=>a.tempsMax?a.tempsMax.map((n,t)=>n?{x:f(t,a.times.length),y:k(n),value:n}:null).filter(n=>n!==null):[]),x=e.computed(()=>y.value.map(n=>`${n.x},${n.y}`).join(" ")),h=e.computed(()=>a.tempsMin?a.tempsMin.map((n,t)=>n?{x:f(t,a.times.length),y:k(n),value:n}:null).filter(n=>n!==null):[]),b=e.computed(()=>h.value.map(n=>`${n.x},${n.y}`).join(" ")),r=e.computed(()=>a.temps?a.temps.map((n,t)=>n?{x:f(t,a.times.length),y:k(n),value:n}:null).filter(n=>n!==null):[]),o=e.computed(()=>r.value.map(n=>`${n.x},${n.y}`).join(" ")),c=e.computed(()=>a.times.map(n=>{const t=new Date(n),s=new Date,d=new Date(s);d.setDate(d.getDate()+1);const l=t.toLocaleDateString("ja-JP",{month:"short",day:"numeric"}),N=t.toLocaleTimeString("ja-JP",{hour:"2-digit",minute:"2-digit"});return t.toDateString()===s.toDateString()?`Today ${N}`:t.toDateString()===d.toDateString()?`Tomorrow ${N}`:`${l} ${N}`}));return(n,t)=>(e.openBlock(),e.createElementBlock("div",D,[(e.openBlock(),e.createElementBlock("svg",{viewBox:`0 0 ${B} ${V}`,class:"w-full h-auto"},[e.createElementVNode("g",C,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(5,s=>e.createElementVNode("line",{key:`grid-${s}`,x1:i.left,y1:i.top+u.value/4*(s-1),x2:B-i.right,y2:i.top+u.value/4*(s-1),stroke:"#e5e7eb","stroke-width":"1"},null,8,$)),64))]),e.createElementVNode("g",M,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value,(s,d)=>(e.openBlock(),e.createElementBlock("text",{key:`y-label-${d}`,x:i.left-10,y:i.top+u.value/4*d+5,"text-anchor":"end",class:"text-xs fill-gray-600"},e.toDisplayString(s)+"° ",9,T))),128))]),x.value.length>0?(e.openBlock(),e.createElementBlock("polyline",{key:0,points:x.value,fill:"none",stroke:"#ef4444","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},null,8,L)):e.createCommentVNode("",!0),x.value.length>0?(e.openBlock(),e.createElementBlock("g",F,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,(s,d)=>(e.openBlock(),e.createElementBlock("g",{key:`max-point-${d}`},[e.createElementVNode("circle",{cx:s.x,cy:s.y,r:"5",fill:"#ef4444"},null,8,j),e.createElementVNode("text",{x:s.x,y:s.y-12,"text-anchor":"middle",class:"text-sm font-bold fill-red-600"},e.toDisplayString(s.value)+"° ",9,P)]))),128))])):e.createCommentVNode("",!0),b.value.length>0?(e.openBlock(),e.createElementBlock("polyline",{key:2,points:b.value,fill:"none",stroke:"#3b82f6","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},null,8,O)):e.createCommentVNode("",!0),b.value.length>0?(e.openBlock(),e.createElementBlock("g",A,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(s,d)=>(e.openBlock(),e.createElementBlock("g",{key:`min-point-${d}`},[e.createElementVNode("circle",{cx:s.x,cy:s.y,r:"5",fill:"#3b82f6"},null,8,W),e.createElementVNode("text",{x:s.x,y:s.y+20,"text-anchor":"middle",class:"text-sm font-bold fill-blue-600"},e.toDisplayString(s.value)+"° ",9,z)]))),128))])):e.createCommentVNode("",!0),o.value.length>0?(e.openBlock(),e.createElementBlock("polyline",{key:4,points:o.value,fill:"none",stroke:"#f97316","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round","stroke-dasharray":"5,5"},null,8,R)):e.createCommentVNode("",!0),o.value.length>0?(e.openBlock(),e.createElementBlock("g",J,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(s,d)=>(e.openBlock(),e.createElementBlock("g",{key:`current-point-${d}`},[e.createElementVNode("circle",{cx:s.x,cy:s.y,r:"5",fill:"#f97316"},null,8,q)]))),128))])):e.createCommentVNode("",!0),e.createElementVNode("g",H,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(s,d)=>(e.openBlock(),e.createElementBlock("text",{key:`x-label-${d}`,x:i.left+g.value/(c.value.length-1)*d,y:V-i.bottom+20,"text-anchor":"middle",class:"text-xs fill-gray-700 font-medium"},e.toDisplayString(s),9,U))),128))])],8,S)),e.createElementVNode("div",X,[y.value.length>0?(e.openBlock(),e.createElementBlock("div",Y,[...t[0]||(t[0]=[e.createElementVNode("div",{class:"w-4 h-4 rounded-full bg-red-500"},null,-1),e.createElementVNode("span",{class:"text-sm text-gray-700 font-medium"},"最高気温",-1)])])):e.createCommentVNode("",!0),h.value.length>0?(e.openBlock(),e.createElementBlock("div",G,[...t[1]||(t[1]=[e.createElementVNode("div",{class:"w-4 h-4 rounded-full bg-blue-500"},null,-1),e.createElementVNode("span",{class:"text-sm text-gray-700 font-medium"},"最低気温",-1)])])):e.createCommentVNode("",!0),r.value.length>0?(e.openBlock(),e.createElementBlock("div",K,[...t[2]||(t[2]=[e.createElementVNode("div",{class:"w-4 h-4 rounded-full bg-orange-500"},null,-1),e.createElementVNode("span",{class:"text-sm text-gray-700 font-medium"},"現在気温",-1)])])):e.createCommentVNode("",!0)])]))}}),Z={class:"w-full h-full overflow-auto bg-gradient-to-br from-sky-100 via-blue-50 to-indigo-100"},I={class:"max-w-6xl mx-auto p-6"},ee={class:"bg-gradient-to-r from-blue-500 to-indigo-600 rounded-2xl shadow-xl p-8 mb-8 text-white"},te={class:"flex items-center justify-between"},oe={class:"text-4xl font-bold mb-2"},ne={class:"text-sm opacity-90"},le={key:0},se={key:1},re={key:0,class:"bg-white rounded-2xl shadow-lg p-8 text-center text-gray-600"},ce={key:1,class:"space-y-8"},ae={key:0,class:"text-3xl"},ie={key:1,class:"text-3xl"},de={key:2,class:"text-3xl"},me={key:3,class:"text-3xl"},ue={key:0,class:"text-lg font-semibold text-gray-700 mb-4"},pe={key:1},ge={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 xl:grid-cols-7 gap-4 mb-8"},xe={class:"text-center mt-3 mb-3"},ke={class:"text-sm font-medium text-gray-600"},fe={key:0,class:"text-center mb-3"},ye={class:"text-6xl mb-2 drop-shadow-lg"},he={class:"text-xs text-gray-700 font-medium"},be={key:1,class:"text-center mb-3"},ve={class:"flex items-center justify-center gap-2 mb-1"},_e={class:"text-3xl"},Ee={class:"text-2xl font-bold text-blue-600"},Ne={class:"text-center mb-3"},Be={key:0,class:"text-3xl font-bold text-red-500 mb-1"},Ve={key:1,class:"text-xl font-semibold text-blue-500"},we={key:2,class:"text-2xl font-bold text-orange-500"},De={key:2,class:"text-xs text-gray-600 mb-1 text-center"},Se={key:3,class:"text-xs text-gray-600 text-center"},Ce={key:0,class:"bg-white rounded-xl p-6 shadow-lg"},$e={key:2,class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4"},Me={class:"text-sm font-bold text-blue-700 mb-3"},Te={key:0,class:"mb-3 flex items-center gap-2"},Le={class:"text-4xl drop-shadow"},Fe={class:"text-gray-800 font-medium text-sm"},je={key:1,class:"text-gray-700 mb-2"},Pe={class:"text-2xl font-bold ml-2"},Oe={class:"flex gap-3 mb-2"},Ae={key:0,class:"flex items-center gap-1"},We={class:"text-xl font-bold text-red-600"},ze={key:1,class:"flex items-center gap-1"},Re={class:"text-xl font-bold text-blue-600"},Je={key:2,class:"mb-2"},qe={class:"flex items-center justify-between text-sm mb-1"},He={class:"font-bold"},Ue={class:"w-full bg-gray-200 rounded-full h-2"},Xe={key:3,class:"text-gray-700 text-sm mb-1"},Ye={key:4,class:"text-gray-700 text-sm"},Ge={key:0,class:"bg-white rounded-2xl shadow-xl p-6"},Ke={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},Qe={key:0,class:"bg-gradient-to-br from-orange-50 to-red-50 rounded-xl p-5 shadow-md border border-orange-200"},Ze={class:"font-semibold text-gray-800 mb-1"},Ie={class:"flex gap-3"},et={key:0,class:"flex items-center gap-1"},tt={class:"text-xl font-bold text-blue-700"},ot={key:1,class:"flex items-center gap-1"},nt={class:"text-xl font-bold text-red-700"},lt={key:1,class:"bg-gradient-to-br from-blue-50 to-cyan-50 rounded-xl p-5 shadow-md border border-blue-200"},st={class:"font-semibold text-gray-800 mb-1"},rt={class:"flex gap-3"},ct={key:0,class:"flex items-center gap-1"},at={class:"text-xl font-bold text-cyan-700"},it={key:1,class:"flex items-center gap-1"},dt={class:"text-xl font-bold text-blue-700"},mt=e.defineComponent({__name:"View",props:{selectedResult:{},sendTextMessage:{type:Function}},setup(p){const a=p,i=e.computed(()=>a.selectedResult?.data?.areaName||"Unknown Area"),g=e.computed(()=>a.selectedResult?.data?.publishingOffice||""),u=e.computed(()=>a.selectedResult?.data?.reportDatetime||""),m=e.computed(()=>a.selectedResult?.jsonData||null),_=e.computed(()=>u.value?new Date(u.value).toLocaleString("ja-JP",{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"}):"");function E(r){const o=new Date(r),c=new Date,n=new Date(c);n.setDate(n.getDate()+1);const t=o.toLocaleDateString("ja-JP",{month:"short",day:"numeric"}),s=o.toLocaleTimeString("ja-JP",{hour:"2-digit",minute:"2-digit"});return o.toDateString()===c.toDateString()?`Today ${s}`:o.toDateString()===n.toDateString()?`Tomorrow ${s}`:`${t} ${s}`}function k(r){const o=new Date(r);return["日","月","火","水","木","金","土"][o.getDay()]??""}function f(r){const o=typeof r=="string"?parseInt(r):r;return o>=70?"bg-gradient-to-r from-blue-500 to-blue-600":o>=50?"bg-gradient-to-r from-blue-400 to-blue-500":o>=30?"bg-gradient-to-r from-cyan-400 to-blue-400":o>=10?"bg-gradient-to-r from-cyan-300 to-cyan-400":"bg-gradient-to-r from-gray-300 to-gray-400"}function y(r){return["Current Forecast","Extended Forecast","Weekly Forecast"][r]||`Forecast ${r+1}`}function x(r){if(!r)return"🌤️";const o=r.toLowerCase();return o.includes("晴")||o.includes("sunny")||o.includes("clear")?"☀️":o.includes("曇")||o.includes("cloudy")?"☁️":o.includes("雨")||o.includes("rain")?"🌧️":o.includes("雪")||o.includes("snow")?"❄️":o.includes("雷")||o.includes("thunder")?"⛈️":o.includes("霧")||o.includes("fog")?"🌫️":"🌤️"}function h(r){const o=typeof r=="string"?parseInt(r):r;return o>=50?"☔":o>=30?"🌂":o>=10?"☁️":"☀️"}function b(r){return!!(r.tempsMax||r.tempsMin||r.temps)}return(r,o)=>(e.openBlock(),e.createElementBlock("div",Z,[e.createElementVNode("div",I,[e.createElementVNode("div",ee,[e.createElementVNode("div",te,[e.createElementVNode("div",null,[e.createElementVNode("h1",oe,e.toDisplayString(i.value),1),e.createElementVNode("div",ne,[g.value?(e.openBlock(),e.createElementBlock("div",le,e.toDisplayString(g.value),1)):e.createCommentVNode("",!0),u.value?(e.openBlock(),e.createElementBlock("div",se,e.toDisplayString(_.value),1)):e.createCommentVNode("",!0)])]),o[0]||(o[0]=e.createElementVNode("div",{class:"text-8xl drop-shadow-lg"},"⛅",-1))])]),m.value?(e.openBlock(),e.createElementBlock("div",ce,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value.timeSeries,(c,n)=>(e.openBlock(),e.createElementBlock("div",{key:n,class:e.normalizeClass(["rounded-2xl shadow-xl p-6",n===1?"bg-gradient-to-br from-orange-50 via-pink-50 to-purple-50":n===2?"bg-gradient-to-br from-green-50 via-teal-50 to-cyan-50":"bg-white"])},[e.createElementVNode("h2",{class:e.normalizeClass(["text-2xl font-bold mb-6 flex items-center gap-2",n===1?"text-purple-800":n===2?"text-teal-800":"text-gray-800"])},[n===1?(e.openBlock(),e.createElementBlock("span",ae,"📅")):n===2?(e.openBlock(),e.createElementBlock("span",ie,"📊")):n===0?(e.openBlock(),e.createElementBlock("span",de,"🌤️")):(e.openBlock(),e.createElementBlock("span",me,"📋")),e.createTextVNode(" "+e.toDisplayString(y(n)),1)],2),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.areas,(t,s)=>(e.openBlock(),e.createElementBlock("div",{key:s,class:"mb-6 last:mb-0"},[c.areas.length>1?(e.openBlock(),e.createElementBlock("h3",ue,e.toDisplayString(t.area.name),1)):e.createCommentVNode("",!0),n===1||n===2?(e.openBlock(),e.createElementBlock("div",pe,[e.createElementVNode("div",ge,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.timeDefines,(d,l)=>(e.openBlock(),e.createElementBlock("div",{key:l,class:e.normalizeClass(["relative bg-white rounded-xl p-5 shadow-lg hover:shadow-2xl transition-all duration-300 hover:scale-105 border-2 border-transparent",n===1?"hover:border-purple-300":"hover:border-teal-300"])},[e.createElementVNode("div",{class:e.normalizeClass(["absolute -top-3 left-1/2 transform -translate-x-1/2 text-white px-4 py-1 rounded-full text-xs font-bold shadow-md",n===1?"bg-gradient-to-r from-purple-500 to-pink-500":"bg-gradient-to-r from-teal-500 to-cyan-500"])},e.toDisplayString(k(d)),3),e.createElementVNode("div",xe,[e.createElementVNode("div",ke,e.toDisplayString(E(d)),1)]),t.weathers&&t.weathers[l]?(e.openBlock(),e.createElementBlock("div",fe,[e.createElementVNode("div",ye,e.toDisplayString(x(t.weathers[l])),1),e.createElementVNode("div",he,e.toDisplayString(t.weathers[l]),1)])):e.createCommentVNode("",!0),t.pops&&t.pops[l]?(e.openBlock(),e.createElementBlock("div",be,[e.createElementVNode("div",ve,[e.createElementVNode("span",_e,e.toDisplayString(h(t.pops[l])),1),e.createElementVNode("span",Ee,e.toDisplayString(t.pops[l])+"%",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",Ne,[t.tempsMax&&t.tempsMax[l]?(e.openBlock(),e.createElementBlock("div",Be,e.toDisplayString(t.tempsMax[l])+"° ",1)):e.createCommentVNode("",!0),t.tempsMin&&t.tempsMin[l]?(e.openBlock(),e.createElementBlock("div",Ve,e.toDisplayString(t.tempsMin[l])+"° ",1)):e.createCommentVNode("",!0),t.temps&&t.temps[l]?(e.openBlock(),e.createElementBlock("div",we,e.toDisplayString(t.temps[l])+"° ",1)):e.createCommentVNode("",!0)]),t.winds&&t.winds[l]?(e.openBlock(),e.createElementBlock("div",De,[o[1]||(o[1]=e.createElementVNode("span",{class:"mr-1"},"🌬️",-1)),e.createTextVNode(" "+e.toDisplayString(t.winds[l]),1)])):e.createCommentVNode("",!0),t.waves&&t.waves[l]?(e.openBlock(),e.createElementBlock("div",Se,[o[2]||(o[2]=e.createElementVNode("span",{class:"mr-1"},"🌊",-1)),e.createTextVNode(" "+e.toDisplayString(t.waves[l]),1)])):e.createCommentVNode("",!0)],2))),128))]),b(t)?(e.openBlock(),e.createElementBlock("div",Ce,[o[3]||(o[3]=e.createElementVNode("h3",{class:"text-lg font-bold text-gray-800 mb-4 flex items-center gap-2"},[e.createElementVNode("span",{class:"text-2xl"},"📈"),e.createTextVNode(" 気温の推移 ")],-1)),e.createVNode(Q,{times:c.timeDefines,tempsMax:t.tempsMax,tempsMin:t.tempsMin,temps:t.temps},null,8,["times","tempsMax","tempsMin","temps"])])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",$e,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.timeDefines,(d,l)=>(e.openBlock(),e.createElementBlock("div",{key:l,class:"bg-gradient-to-br from-blue-50 to-cyan-50 rounded-xl p-5 shadow-md hover:shadow-xl transition-all duration-300 border border-blue-100"},[e.createElementVNode("div",Me,e.toDisplayString(E(d)),1),t.weathers&&t.weathers[l]?(e.openBlock(),e.createElementBlock("div",Te,[e.createElementVNode("span",Le,e.toDisplayString(x(t.weathers[l])),1),e.createElementVNode("span",Fe,e.toDisplayString(t.weathers[l]),1)])):e.createCommentVNode("",!0),t.temps&&t.temps[l]?(e.openBlock(),e.createElementBlock("div",je,[o[4]||(o[4]=e.createElementVNode("span",{class:"font-semibold text-orange-600"},"気温:",-1)),e.createElementVNode("span",Pe,e.toDisplayString(t.temps[l])+"°C",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",Oe,[t.tempsMax&&t.tempsMax[l]?(e.openBlock(),e.createElementBlock("div",Ae,[o[5]||(o[5]=e.createElementVNode("span",{class:"text-red-500 font-bold text-sm"},"最高:",-1)),e.createElementVNode("span",We,e.toDisplayString(t.tempsMax[l])+"°",1)])):e.createCommentVNode("",!0),t.tempsMin&&t.tempsMin[l]?(e.openBlock(),e.createElementBlock("div",ze,[o[6]||(o[6]=e.createElementVNode("span",{class:"text-blue-500 font-bold text-sm"},"最低:",-1)),e.createElementVNode("span",Re,e.toDisplayString(t.tempsMin[l])+"°",1)])):e.createCommentVNode("",!0)]),t.pops&&t.pops[l]?(e.openBlock(),e.createElementBlock("div",Je,[e.createElementVNode("div",qe,[o[7]||(o[7]=e.createElementVNode("span",{class:"font-semibold text-blue-600"},"💧 降水確率",-1)),e.createElementVNode("span",He,e.toDisplayString(t.pops[l])+"%",1)]),e.createElementVNode("div",Ue,[e.createElementVNode("div",{class:e.normalizeClass(["h-full rounded-full transition-all",f(t.pops[l])]),style:e.normalizeStyle({width:t.pops[l]+"%"})},null,6)])])):e.createCommentVNode("",!0),t.winds&&t.winds[l]?(e.openBlock(),e.createElementBlock("div",Xe,[o[8]||(o[8]=e.createElementVNode("span",{class:"font-semibold"},"🌬️ 風:",-1)),e.createTextVNode(" "+e.toDisplayString(t.winds[l]),1)])):e.createCommentVNode("",!0),t.waves&&t.waves[l]?(e.openBlock(),e.createElementBlock("div",Ye,[o[9]||(o[9]=e.createElementVNode("span",{class:"font-semibold"},"🌊 波:",-1)),e.createTextVNode(" "+e.toDisplayString(t.waves[l]),1)])):e.createCommentVNode("",!0)]))),128))]))]))),128))],2))),128)),m.value.tempAverage||m.value.precipAverage?(e.openBlock(),e.createElementBlock("div",Ge,[o[16]||(o[16]=e.createElementVNode("h2",{class:"text-2xl font-bold text-gray-800 mb-6 flex items-center gap-2"},[e.createElementVNode("span",{class:"text-3xl"},"📊"),e.createTextVNode(" Historical Averages ")],-1)),e.createElementVNode("div",Ke,[m.value.tempAverage?(e.openBlock(),e.createElementBlock("div",Qe,[o[12]||(o[12]=e.createElementVNode("h3",{class:"font-bold text-orange-700 mb-3 text-lg flex items-center gap-2"},[e.createElementVNode("span",{class:"text-2xl"},"🌡️"),e.createTextVNode(" Temperature ")],-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value.tempAverage.areas,(c,n)=>(e.openBlock(),e.createElementBlock("div",{key:n,class:"text-gray-700 mb-3 last:mb-0"},[e.createElementVNode("div",Ze,e.toDisplayString(c.area.name),1),e.createElementVNode("div",Ie,[c.min?(e.openBlock(),e.createElementBlock("div",et,[o[10]||(o[10]=e.createElementVNode("span",{class:"text-blue-600 font-semibold"},"最低:",-1)),e.createElementVNode("span",tt,e.toDisplayString(c.min)+"°C",1)])):e.createCommentVNode("",!0),c.max?(e.openBlock(),e.createElementBlock("div",ot,[o[11]||(o[11]=e.createElementVNode("span",{class:"text-red-600 font-semibold"},"最高:",-1)),e.createElementVNode("span",nt,e.toDisplayString(c.max)+"°C",1)])):e.createCommentVNode("",!0)])]))),128))])):e.createCommentVNode("",!0),m.value.precipAverage?(e.openBlock(),e.createElementBlock("div",lt,[o[15]||(o[15]=e.createElementVNode("h3",{class:"font-bold text-blue-700 mb-3 text-lg flex items-center gap-2"},[e.createElementVNode("span",{class:"text-2xl"},"💧"),e.createTextVNode(" Precipitation ")],-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value.precipAverage.areas,(c,n)=>(e.openBlock(),e.createElementBlock("div",{key:n,class:"text-gray-700 mb-3 last:mb-0"},[e.createElementVNode("div",st,e.toDisplayString(c.area.name),1),e.createElementVNode("div",rt,[c.min?(e.openBlock(),e.createElementBlock("div",ct,[o[13]||(o[13]=e.createElementVNode("span",{class:"text-cyan-600 font-semibold"},"最低:",-1)),e.createElementVNode("span",at,e.toDisplayString(c.min)+"mm",1)])):e.createCommentVNode("",!0),c.max?(e.openBlock(),e.createElementBlock("div",it,[o[14]||(o[14]=e.createElementVNode("span",{class:"text-blue-600 font-semibold"},"最高:",-1)),e.createElementVNode("span",dt,e.toDisplayString(c.max)+"mm",1)])):e.createCommentVNode("",!0)])]))),128))])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",re," No weather data available "))])]))}}),ut={class:"text-center p-4 bg-gradient-to-br from-sky-100 via-blue-100 to-indigo-100 rounded-xl shadow-md hover:shadow-xl transition-all duration-300 hover:scale-105 border-2 border-blue-200"},pt={class:"text-xs text-gray-700 font-medium"},gt=e.defineComponent({__name:"Preview",props:{result:{}},setup(p){return(a,i)=>(e.openBlock(),e.createElementBlock("div",ut,[i[0]||(i[0]=e.createElementVNode("div",{class:"text-5xl mb-2 drop-shadow-lg"},"⛅",-1)),i[1]||(i[1]=e.createElementVNode("div",{class:"text-blue-800 font-bold text-sm mb-1"},"天気予報",-1)),e.createElementVNode("div",pt,e.toDisplayString(p.result.data?.areaName||p.result.title),1)]))}}),w={toolDefinition:v.TOOL_DEFINITION,execute:v.fetchWeather,generatingMessage:"Fetching weather forecast...",isEnabled:()=>!0,delayAfterExecution:2e3,viewComponent:mt,previewComponent:gt,systemPrompt:"When fetching weather, you can provide forecasts for Tokyo (130000) and Osaka (270000). Summarize the weather in a natural, conversational way.",samples:v.samples},xt={plugin:w};exports.TOOL_DEFINITION=v.TOOL_DEFINITION;exports.executeWeather=v.fetchWeather;exports.default=xt;exports.plugin=w;
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require(`./samples-Yf-D6ypn.cjs`);let t=require(`vue`);var n={class:`w-full`},r=[`viewBox`],i={class:`grid-lines`},a=[`x1`,`y1`,`x2`,`y2`],o={class:`y-axis-labels`},s=[`x`,`y`],c=[`points`],l={key:1},u=[`cx`,`cy`],d=[`x`,`y`],f=[`points`],p={key:3},m=[`cx`,`cy`],ee=[`x`,`y`],h=[`points`],g={key:5},_=[`cx`,`cy`],v={class:`x-axis-labels`},y=[`x`,`y`],b={class:`flex justify-center gap-6 mt-4`},x={key:0,class:`flex items-center gap-2`},te={key:1,class:`flex items-center gap-2`},ne={key:2,class:`flex items-center gap-2`},S=800,C=300,w=(0,t.defineComponent)({__name:`TemperatureChart`,props:{times:{},tempsMax:{},tempsMin:{},temps:{}},setup(e){let w=e,T={top:40,right:40,bottom:60,left:50},E=(0,t.computed)(()=>S-T.left-T.right),D=(0,t.computed)(()=>C-T.top-T.bottom),O=(0,t.computed)(()=>{let e=[];return w.tempsMax&&e.push(...w.tempsMax.map(Number).filter(e=>!isNaN(e))),w.tempsMin&&e.push(...w.tempsMin.map(Number).filter(e=>!isNaN(e))),w.temps&&e.push(...w.temps.map(Number).filter(e=>!isNaN(e))),e}),k=(0,t.computed)(()=>O.value.length===0?{min:0,max:30}:{min:Math.floor(Math.min(...O.value)/5)*5,max:Math.ceil(Math.max(...O.value)/5)*5}),A=(0,t.computed)(()=>{let{min:e,max:t}=k.value,n=(t-e)/4;return[t,t-n,t-n*2,t-n*3,e]});function j(e){let t=typeof e==`string`?parseFloat(e):e;if(isNaN(t))return 0;let{min:n,max:r}=k.value,i=(t-n)/(r-n);return T.top+D.value*(1-i)}function M(e,t){return t<=1?T.left+E.value/2:T.left+E.value/(t-1)*e}let N=(0,t.computed)(()=>w.tempsMax?w.tempsMax.map((e,t)=>e?{x:M(t,w.times.length),y:j(e),value:e}:null).filter(e=>e!==null):[]),P=(0,t.computed)(()=>N.value.map(e=>`${e.x},${e.y}`).join(` `)),F=(0,t.computed)(()=>w.tempsMin?w.tempsMin.map((e,t)=>e?{x:M(t,w.times.length),y:j(e),value:e}:null).filter(e=>e!==null):[]),I=(0,t.computed)(()=>F.value.map(e=>`${e.x},${e.y}`).join(` `)),L=(0,t.computed)(()=>w.temps?w.temps.map((e,t)=>e?{x:M(t,w.times.length),y:j(e),value:e}:null).filter(e=>e!==null):[]),R=(0,t.computed)(()=>L.value.map(e=>`${e.x},${e.y}`).join(` `)),z=(0,t.computed)(()=>w.times.map(e=>{let t=new Date(e),n=new Date,r=new Date(n);r.setDate(r.getDate()+1);let i=t.toLocaleDateString(`ja-JP`,{month:`short`,day:`numeric`}),a=t.toLocaleTimeString(`ja-JP`,{hour:`2-digit`,minute:`2-digit`});return t.toDateString()===n.toDateString()?`Today ${a}`:t.toDateString()===r.toDateString()?`Tomorrow ${a}`:`${i} ${a}`}));return(e,w)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,n,[((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,{viewBox:`0 0 ${S} ${C}`,class:`w-full h-auto`},[(0,t.createElementVNode)(`g`,i,[((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(5,e=>(0,t.createElementVNode)(`line`,{key:`grid-${e}`,x1:T.left,y1:T.top+D.value/4*(e-1),x2:S-T.right,y2:T.top+D.value/4*(e-1),stroke:`#e5e7eb`,"stroke-width":`1`},null,8,a)),64))]),(0,t.createElementVNode)(`g`,o,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(A.value,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`text`,{key:`y-label-${n}`,x:T.left-10,y:T.top+D.value/4*n+5,"text-anchor":`end`,class:`text-xs fill-gray-600`},(0,t.toDisplayString)(e)+`° `,9,s))),128))]),P.value.length>0?((0,t.openBlock)(),(0,t.createElementBlock)(`polyline`,{key:0,points:P.value,fill:`none`,stroke:`#ef4444`,"stroke-width":`3`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,8,c)):(0,t.createCommentVNode)(``,!0),P.value.length>0?((0,t.openBlock)(),(0,t.createElementBlock)(`g`,l,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(N.value,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`g`,{key:`max-point-${n}`},[(0,t.createElementVNode)(`circle`,{cx:e.x,cy:e.y,r:`5`,fill:`#ef4444`},null,8,u),(0,t.createElementVNode)(`text`,{x:e.x,y:e.y-12,"text-anchor":`middle`,class:`text-sm font-bold fill-red-600`},(0,t.toDisplayString)(e.value)+`° `,9,d)]))),128))])):(0,t.createCommentVNode)(``,!0),I.value.length>0?((0,t.openBlock)(),(0,t.createElementBlock)(`polyline`,{key:2,points:I.value,fill:`none`,stroke:`#3b82f6`,"stroke-width":`3`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,8,f)):(0,t.createCommentVNode)(``,!0),I.value.length>0?((0,t.openBlock)(),(0,t.createElementBlock)(`g`,p,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(F.value,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`g`,{key:`min-point-${n}`},[(0,t.createElementVNode)(`circle`,{cx:e.x,cy:e.y,r:`5`,fill:`#3b82f6`},null,8,m),(0,t.createElementVNode)(`text`,{x:e.x,y:e.y+20,"text-anchor":`middle`,class:`text-sm font-bold fill-blue-600`},(0,t.toDisplayString)(e.value)+`° `,9,ee)]))),128))])):(0,t.createCommentVNode)(``,!0),R.value.length>0?((0,t.openBlock)(),(0,t.createElementBlock)(`polyline`,{key:4,points:R.value,fill:`none`,stroke:`#f97316`,"stroke-width":`3`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-dasharray":`5,5`},null,8,h)):(0,t.createCommentVNode)(``,!0),R.value.length>0?((0,t.openBlock)(),(0,t.createElementBlock)(`g`,g,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(L.value,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`g`,{key:`current-point-${n}`},[(0,t.createElementVNode)(`circle`,{cx:e.x,cy:e.y,r:`5`,fill:`#f97316`},null,8,_)]))),128))])):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`g`,v,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(z.value,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`text`,{key:`x-label-${n}`,x:T.left+E.value/(z.value.length-1)*n,y:C-T.bottom+20,"text-anchor":`middle`,class:`text-xs fill-gray-700 font-medium`},(0,t.toDisplayString)(e),9,y))),128))])],8,r)),(0,t.createElementVNode)(`div`,b,[N.value.length>0?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,x,[...w[0]||=[(0,t.createElementVNode)(`div`,{class:`w-4 h-4 rounded-full bg-red-500`},null,-1),(0,t.createElementVNode)(`span`,{class:`text-sm text-gray-700 font-medium`},`最高気温`,-1)]])):(0,t.createCommentVNode)(``,!0),F.value.length>0?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,te,[...w[1]||=[(0,t.createElementVNode)(`div`,{class:`w-4 h-4 rounded-full bg-blue-500`},null,-1),(0,t.createElementVNode)(`span`,{class:`text-sm text-gray-700 font-medium`},`最低気温`,-1)]])):(0,t.createCommentVNode)(``,!0),L.value.length>0?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,ne,[...w[2]||=[(0,t.createElementVNode)(`div`,{class:`w-4 h-4 rounded-full bg-orange-500`},null,-1),(0,t.createElementVNode)(`span`,{class:`text-sm text-gray-700 font-medium`},`現在気温`,-1)]])):(0,t.createCommentVNode)(``,!0)])]))}}),T={class:`w-full h-full overflow-auto bg-gradient-to-br from-sky-100 via-blue-50 to-indigo-100`},E={class:`max-w-6xl mx-auto p-6`},D={class:`bg-gradient-to-r from-blue-500 to-indigo-600 rounded-2xl shadow-xl p-8 mb-8 text-white`},O={class:`flex items-center justify-between`},k={class:`text-4xl font-bold mb-2`},A={class:`text-sm opacity-90`},j={key:0},M={key:1},N={key:0,class:`bg-white rounded-2xl shadow-lg p-8 text-center text-gray-600`},P={key:1,class:`space-y-8`},F={key:0,class:`text-3xl`},I={key:1,class:`text-3xl`},L={key:2,class:`text-3xl`},R={key:3,class:`text-3xl`},z={key:0,class:`text-lg font-semibold text-gray-700 mb-4`},B={key:1},V={class:`grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 xl:grid-cols-7 gap-4 mb-8`},H={class:`text-center mt-3 mb-3`},U={class:`text-sm font-medium text-gray-600`},W={key:0,class:`text-center mb-3`},G={class:`text-6xl mb-2 drop-shadow-lg`},K={class:`text-xs text-gray-700 font-medium`},q={key:1,class:`text-center mb-3`},J={class:`flex items-center justify-center gap-2 mb-1`},Y={class:`text-3xl`},X={class:`text-2xl font-bold text-blue-600`},Z={class:`text-center mb-3`},re={key:0,class:`text-3xl font-bold text-red-500 mb-1`},ie={key:1,class:`text-xl font-semibold text-blue-500`},ae={key:2,class:`text-2xl font-bold text-orange-500`},oe={key:2,class:`text-xs text-gray-600 mb-1 text-center`},se={key:3,class:`text-xs text-gray-600 text-center`},ce={key:0,class:`bg-white rounded-xl p-6 shadow-lg`},le={key:2,class:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4`},ue={class:`text-sm font-bold text-blue-700 mb-3`},de={key:0,class:`mb-3 flex items-center gap-2`},fe={class:`text-4xl drop-shadow`},pe={class:`text-gray-800 font-medium text-sm`},me={key:1,class:`text-gray-700 mb-2`},he={class:`text-2xl font-bold ml-2`},ge={class:`flex gap-3 mb-2`},_e={key:0,class:`flex items-center gap-1`},ve={class:`text-xl font-bold text-red-600`},ye={key:1,class:`flex items-center gap-1`},be={class:`text-xl font-bold text-blue-600`},xe={key:2,class:`mb-2`},Se={class:`flex items-center justify-between text-sm mb-1`},Ce={class:`font-bold`},we={class:`w-full bg-gray-200 rounded-full h-2`},Te={key:3,class:`text-gray-700 text-sm mb-1`},Ee={key:4,class:`text-gray-700 text-sm`},De={key:0,class:`bg-white rounded-2xl shadow-xl p-6`},Oe={class:`grid grid-cols-1 md:grid-cols-2 gap-6`},ke={key:0,class:`bg-gradient-to-br from-orange-50 to-red-50 rounded-xl p-5 shadow-md border border-orange-200`},Ae={class:`font-semibold text-gray-800 mb-1`},je={class:`flex gap-3`},Me={key:0,class:`flex items-center gap-1`},Ne={class:`text-xl font-bold text-blue-700`},Pe={key:1,class:`flex items-center gap-1`},Fe={class:`text-xl font-bold text-red-700`},Q={key:1,class:`bg-gradient-to-br from-blue-50 to-cyan-50 rounded-xl p-5 shadow-md border border-blue-200`},Ie={class:`font-semibold text-gray-800 mb-1`},Le={class:`flex gap-3`},Re={key:0,class:`flex items-center gap-1`},ze={class:`text-xl font-bold text-cyan-700`},Be={key:1,class:`flex items-center gap-1`},Ve={class:`text-xl font-bold text-blue-700`},He=(0,t.defineComponent)({__name:`View`,props:{selectedResult:{},sendTextMessage:{type:Function}},setup(e){let n=e,r=(0,t.computed)(()=>n.selectedResult?.data?.areaName||`Unknown Area`),i=(0,t.computed)(()=>n.selectedResult?.data?.publishingOffice||``),a=(0,t.computed)(()=>n.selectedResult?.data?.reportDatetime||``),o=(0,t.computed)(()=>n.selectedResult?.jsonData||null),s=(0,t.computed)(()=>a.value?new Date(a.value).toLocaleString(`ja-JP`,{year:`numeric`,month:`long`,day:`numeric`,hour:`2-digit`,minute:`2-digit`}):``);function c(e){let t=new Date(e),n=new Date,r=new Date(n);r.setDate(r.getDate()+1);let i=t.toLocaleDateString(`ja-JP`,{month:`short`,day:`numeric`}),a=t.toLocaleTimeString(`ja-JP`,{hour:`2-digit`,minute:`2-digit`});return t.toDateString()===n.toDateString()?`Today ${a}`:t.toDateString()===r.toDateString()?`Tomorrow ${a}`:`${i} ${a}`}function l(e){return[`日`,`月`,`火`,`水`,`木`,`金`,`土`][new Date(e).getDay()]??``}function u(e){let t=typeof e==`string`?parseInt(e):e;return t>=70?`bg-gradient-to-r from-blue-500 to-blue-600`:t>=50?`bg-gradient-to-r from-blue-400 to-blue-500`:t>=30?`bg-gradient-to-r from-cyan-400 to-blue-400`:t>=10?`bg-gradient-to-r from-cyan-300 to-cyan-400`:`bg-gradient-to-r from-gray-300 to-gray-400`}function d(e){return[`Current Forecast`,`Extended Forecast`,`Weekly Forecast`][e]||`Forecast ${e+1}`}function f(e){if(!e)return`🌤️`;let t=e.toLowerCase();return t.includes(`晴`)||t.includes(`sunny`)||t.includes(`clear`)?`☀️`:t.includes(`曇`)||t.includes(`cloudy`)?`☁️`:t.includes(`雨`)||t.includes(`rain`)?`🌧️`:t.includes(`雪`)||t.includes(`snow`)?`❄️`:t.includes(`雷`)||t.includes(`thunder`)?`⛈️`:t.includes(`霧`)||t.includes(`fog`)?`🌫️`:`🌤️`}function p(e){let t=typeof e==`string`?parseInt(e):e;return t>=50?`☔`:t>=30?`🌂`:t>=10?`☁️`:`☀️`}function m(e){return!!(e.tempsMax||e.tempsMin||e.temps)}return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,T,[(0,t.createElementVNode)(`div`,E,[(0,t.createElementVNode)(`div`,D,[(0,t.createElementVNode)(`div`,O,[(0,t.createElementVNode)(`div`,null,[(0,t.createElementVNode)(`h1`,k,(0,t.toDisplayString)(r.value),1),(0,t.createElementVNode)(`div`,A,[i.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,j,(0,t.toDisplayString)(i.value),1)):(0,t.createCommentVNode)(``,!0),a.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,M,(0,t.toDisplayString)(s.value),1)):(0,t.createCommentVNode)(``,!0)])]),n[0]||=(0,t.createElementVNode)(`div`,{class:`text-8xl drop-shadow-lg`},`⛅`,-1)])]),o.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,P,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(o.value.timeSeries,(e,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:r,class:(0,t.normalizeClass)([`rounded-2xl shadow-xl p-6`,r===1?`bg-gradient-to-br from-orange-50 via-pink-50 to-purple-50`:r===2?`bg-gradient-to-br from-green-50 via-teal-50 to-cyan-50`:`bg-white`])},[(0,t.createElementVNode)(`h2`,{class:(0,t.normalizeClass)([`text-2xl font-bold mb-6 flex items-center gap-2`,r===1?`text-purple-800`:r===2?`text-teal-800`:`text-gray-800`])},[r===1?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,F,`📅`)):r===2?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,I,`📊`)):r===0?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,L,`🌤️`)):((0,t.openBlock)(),(0,t.createElementBlock)(`span`,R,`📋`)),(0,t.createTextVNode)(` `+(0,t.toDisplayString)(d(r)),1)],2),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.areas,(i,a)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:a,class:`mb-6 last:mb-0`},[e.areas.length>1?((0,t.openBlock)(),(0,t.createElementBlock)(`h3`,z,(0,t.toDisplayString)(i.area.name),1)):(0,t.createCommentVNode)(``,!0),r===1||r===2?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,B,[(0,t.createElementVNode)(`div`,V,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.timeDefines,(e,a)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:a,class:(0,t.normalizeClass)([`relative bg-white rounded-xl p-5 shadow-lg hover:shadow-2xl transition-all duration-300 hover:scale-105 border-2 border-transparent`,r===1?`hover:border-purple-300`:`hover:border-teal-300`])},[(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)([`absolute -top-3 left-1/2 transform -translate-x-1/2 text-white px-4 py-1 rounded-full text-xs font-bold shadow-md`,r===1?`bg-gradient-to-r from-purple-500 to-pink-500`:`bg-gradient-to-r from-teal-500 to-cyan-500`])},(0,t.toDisplayString)(l(e)),3),(0,t.createElementVNode)(`div`,H,[(0,t.createElementVNode)(`div`,U,(0,t.toDisplayString)(c(e)),1)]),i.weathers&&i.weathers[a]?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,W,[(0,t.createElementVNode)(`div`,G,(0,t.toDisplayString)(f(i.weathers[a])),1),(0,t.createElementVNode)(`div`,K,(0,t.toDisplayString)(i.weathers[a]),1)])):(0,t.createCommentVNode)(``,!0),i.pops&&i.pops[a]?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,q,[(0,t.createElementVNode)(`div`,J,[(0,t.createElementVNode)(`span`,Y,(0,t.toDisplayString)(p(i.pops[a])),1),(0,t.createElementVNode)(`span`,X,(0,t.toDisplayString)(i.pops[a])+`%`,1)])])):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`div`,Z,[i.tempsMax&&i.tempsMax[a]?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,re,(0,t.toDisplayString)(i.tempsMax[a])+`° `,1)):(0,t.createCommentVNode)(``,!0),i.tempsMin&&i.tempsMin[a]?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,ie,(0,t.toDisplayString)(i.tempsMin[a])+`° `,1)):(0,t.createCommentVNode)(``,!0),i.temps&&i.temps[a]?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,ae,(0,t.toDisplayString)(i.temps[a])+`° `,1)):(0,t.createCommentVNode)(``,!0)]),i.winds&&i.winds[a]?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,oe,[n[1]||=(0,t.createElementVNode)(`span`,{class:`mr-1`},`🌬️`,-1),(0,t.createTextVNode)(` `+(0,t.toDisplayString)(i.winds[a]),1)])):(0,t.createCommentVNode)(``,!0),i.waves&&i.waves[a]?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,se,[n[2]||=(0,t.createElementVNode)(`span`,{class:`mr-1`},`🌊`,-1),(0,t.createTextVNode)(` `+(0,t.toDisplayString)(i.waves[a]),1)])):(0,t.createCommentVNode)(``,!0)],2))),128))]),m(i)?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,ce,[n[3]||=(0,t.createElementVNode)(`h3`,{class:`text-lg font-bold text-gray-800 mb-4 flex items-center gap-2`},[(0,t.createElementVNode)(`span`,{class:`text-2xl`},`📈`),(0,t.createTextVNode)(` 気温の推移 `)],-1),(0,t.createVNode)(w,{times:e.timeDefines,tempsMax:i.tempsMax,tempsMin:i.tempsMin,temps:i.temps},null,8,[`times`,`tempsMax`,`tempsMin`,`temps`])])):(0,t.createCommentVNode)(``,!0)])):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,le,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.timeDefines,(e,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:r,class:`bg-gradient-to-br from-blue-50 to-cyan-50 rounded-xl p-5 shadow-md hover:shadow-xl transition-all duration-300 border border-blue-100`},[(0,t.createElementVNode)(`div`,ue,(0,t.toDisplayString)(c(e)),1),i.weathers&&i.weathers[r]?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,de,[(0,t.createElementVNode)(`span`,fe,(0,t.toDisplayString)(f(i.weathers[r])),1),(0,t.createElementVNode)(`span`,pe,(0,t.toDisplayString)(i.weathers[r]),1)])):(0,t.createCommentVNode)(``,!0),i.temps&&i.temps[r]?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,me,[n[4]||=(0,t.createElementVNode)(`span`,{class:`font-semibold text-orange-600`},`気温:`,-1),(0,t.createElementVNode)(`span`,he,(0,t.toDisplayString)(i.temps[r])+`°C`,1)])):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`div`,ge,[i.tempsMax&&i.tempsMax[r]?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,_e,[n[5]||=(0,t.createElementVNode)(`span`,{class:`text-red-500 font-bold text-sm`},`最高:`,-1),(0,t.createElementVNode)(`span`,ve,(0,t.toDisplayString)(i.tempsMax[r])+`°`,1)])):(0,t.createCommentVNode)(``,!0),i.tempsMin&&i.tempsMin[r]?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,ye,[n[6]||=(0,t.createElementVNode)(`span`,{class:`text-blue-500 font-bold text-sm`},`最低:`,-1),(0,t.createElementVNode)(`span`,be,(0,t.toDisplayString)(i.tempsMin[r])+`°`,1)])):(0,t.createCommentVNode)(``,!0)]),i.pops&&i.pops[r]?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,xe,[(0,t.createElementVNode)(`div`,Se,[n[7]||=(0,t.createElementVNode)(`span`,{class:`font-semibold text-blue-600`},`💧 降水確率`,-1),(0,t.createElementVNode)(`span`,Ce,(0,t.toDisplayString)(i.pops[r])+`%`,1)]),(0,t.createElementVNode)(`div`,we,[(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)([`h-full rounded-full transition-all`,u(i.pops[r])]),style:(0,t.normalizeStyle)({width:i.pops[r]+`%`})},null,6)])])):(0,t.createCommentVNode)(``,!0),i.winds&&i.winds[r]?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Te,[n[8]||=(0,t.createElementVNode)(`span`,{class:`font-semibold`},`🌬️ 風:`,-1),(0,t.createTextVNode)(` `+(0,t.toDisplayString)(i.winds[r]),1)])):(0,t.createCommentVNode)(``,!0),i.waves&&i.waves[r]?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Ee,[n[9]||=(0,t.createElementVNode)(`span`,{class:`font-semibold`},`🌊 波:`,-1),(0,t.createTextVNode)(` `+(0,t.toDisplayString)(i.waves[r]),1)])):(0,t.createCommentVNode)(``,!0)]))),128))]))]))),128))],2))),128)),o.value.tempAverage||o.value.precipAverage?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,De,[n[16]||=(0,t.createElementVNode)(`h2`,{class:`text-2xl font-bold text-gray-800 mb-6 flex items-center gap-2`},[(0,t.createElementVNode)(`span`,{class:`text-3xl`},`📊`),(0,t.createTextVNode)(` Historical Averages `)],-1),(0,t.createElementVNode)(`div`,Oe,[o.value.tempAverage?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,ke,[n[12]||=(0,t.createElementVNode)(`h3`,{class:`font-bold text-orange-700 mb-3 text-lg flex items-center gap-2`},[(0,t.createElementVNode)(`span`,{class:`text-2xl`},`🌡️`),(0,t.createTextVNode)(` Temperature `)],-1),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(o.value.tempAverage.areas,(e,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:r,class:`text-gray-700 mb-3 last:mb-0`},[(0,t.createElementVNode)(`div`,Ae,(0,t.toDisplayString)(e.area.name),1),(0,t.createElementVNode)(`div`,je,[e.min?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Me,[n[10]||=(0,t.createElementVNode)(`span`,{class:`text-blue-600 font-semibold`},`最低:`,-1),(0,t.createElementVNode)(`span`,Ne,(0,t.toDisplayString)(e.min)+`°C`,1)])):(0,t.createCommentVNode)(``,!0),e.max?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Pe,[n[11]||=(0,t.createElementVNode)(`span`,{class:`text-red-600 font-semibold`},`最高:`,-1),(0,t.createElementVNode)(`span`,Fe,(0,t.toDisplayString)(e.max)+`°C`,1)])):(0,t.createCommentVNode)(``,!0)])]))),128))])):(0,t.createCommentVNode)(``,!0),o.value.precipAverage?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Q,[n[15]||=(0,t.createElementVNode)(`h3`,{class:`font-bold text-blue-700 mb-3 text-lg flex items-center gap-2`},[(0,t.createElementVNode)(`span`,{class:`text-2xl`},`💧`),(0,t.createTextVNode)(` Precipitation `)],-1),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(o.value.precipAverage.areas,(e,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:r,class:`text-gray-700 mb-3 last:mb-0`},[(0,t.createElementVNode)(`div`,Ie,(0,t.toDisplayString)(e.area.name),1),(0,t.createElementVNode)(`div`,Le,[e.min?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Re,[n[13]||=(0,t.createElementVNode)(`span`,{class:`text-cyan-600 font-semibold`},`最低:`,-1),(0,t.createElementVNode)(`span`,ze,(0,t.toDisplayString)(e.min)+`mm`,1)])):(0,t.createCommentVNode)(``,!0),e.max?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Be,[n[14]||=(0,t.createElementVNode)(`span`,{class:`text-blue-600 font-semibold`},`最高:`,-1),(0,t.createElementVNode)(`span`,Ve,(0,t.toDisplayString)(e.max)+`mm`,1)])):(0,t.createCommentVNode)(``,!0)])]))),128))])):(0,t.createCommentVNode)(``,!0)])])):(0,t.createCommentVNode)(``,!0)])):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,N,` No weather data available `))])]))}}),Ue={class:`text-center p-4 bg-gradient-to-br from-sky-100 via-blue-100 to-indigo-100 rounded-xl shadow-md hover:shadow-xl transition-all duration-300 hover:scale-105 border-2 border-blue-200`},We={class:`text-xs text-gray-700 font-medium`},Ge=(0,t.defineComponent)({__name:`Preview`,props:{result:{}},setup(e){return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Ue,[r[0]||=(0,t.createElementVNode)(`div`,{class:`text-5xl mb-2 drop-shadow-lg`},`⛅`,-1),r[1]||=(0,t.createElementVNode)(`div`,{class:`text-blue-800 font-bold text-sm mb-1`},`天気予報`,-1),(0,t.createElementVNode)(`div`,We,(0,t.toDisplayString)(e.result.data?.areaName||e.result.title),1)]))}}),$={toolDefinition:e.r,execute:e.n,generatingMessage:`Fetching weather forecast...`,isEnabled:()=>!0,delayAfterExecution:2e3,viewComponent:He,previewComponent:Ge,systemPrompt:`When fetching weather, you can provide forecasts for Tokyo (130000) and Osaka (270000). Summarize the weather in a natural, conversational way.`,samples:e.t},Ke={plugin:$};exports.TOOL_DEFINITION=e.r,exports.default=Ke,exports.executeWeather=e.n,exports.plugin=$;