Comparing version 2.0.4 to 2.0.5
@@ -1,1 +0,1 @@ | ||
"use strict";var e=require("react"),r=require("@headlessui/react"),t=require("react-markdown"),o=require("embla-carousel-react"),n=require("lucide-react");function a(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=Array(r);t<r;t++)o[t]=e[t];return o}function l(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,r||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)({}).hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},s.apply(null,arguments)}function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function c(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?i(Object(t),!0).forEach((function(r){l(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function d(e,r){if(null==e)return{};var t,o,n=function(e,r){if(null==e)return{};var t={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(r.includes(o))continue;t[o]=e[o]}return t}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)t=a[o],r.includes(t)||{}.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}function u(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,a,l,s=[],i=!0,c=!1;try{if(a=(t=t.call(e)).next,0===r);else for(;!(i=(o=a.call(t)).done)&&(s.push(o.value),s.length!==r);i=!0);}catch(e){c=!0,n=e}finally{try{if(!i&&null!=t.return&&(l=t.return(),Object(l)!==l))return}finally{if(c)throw n}}return s}}(e,r)||function(e,r){if(e){if("string"==typeof e)return a(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?a(e,r):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e){var r,t,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(t=m(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}const p=e=>{const r=h(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),f(t,r)||g(e)},getConflictingClassGroupIds:(e,r)=>{const n=t[e]||[];return r&&o[e]?[...n,...o[e]]:n}}},f=(e,r)=>{if(0===e.length)return r.classGroupId;const t=e[0],o=r.nextPart.get(t),n=o?f(e.slice(1),o):void 0;if(n)return n;if(0===r.validators.length)return;const a=e.join("-");return r.validators.find((({validator:e})=>e(a)))?.classGroupId},b=/^\[(.+)\]$/,g=e=>{if(b.test(e)){const r=b.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},h=e=>{const{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return w(Object.entries(e.classGroups),t).forEach((([e,t])=>{v(t,o,e,r)})),o},v=(e,r,t,o)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return x(e)?void v(e(o),r,t,o):void r.validators.push({validator:e,classGroupId:t});Object.entries(e).forEach((([e,n])=>{v(n,y(r,e),t,o)}))}else{(""===e?r:y(r,e)).classGroupId=t}}))},y=(e,r)=>{let t=e;return r.split("-").forEach((e=>{t.nextPart.has(e)||t.nextPart.set(e,{nextPart:new Map,validators:[]}),t=t.nextPart.get(e)})),t},x=e=>e.isThemeGetter,w=(e,r)=>r?e.map((([e,t])=>[e,t.map((e=>"string"==typeof e?r+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,t])=>[r+e,t]))):e))])):e,N=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map;const n=(n,a)=>{t.set(n,a),r++,r>e&&(r=0,o=t,t=new Map)};return{get(e){let r=t.get(e);return void 0!==r?r:void 0!==(r=o.get(e))?(n(e,r),r):void 0},set(e,r){t.has(e)?t.set(e,r):n(e,r)}}},k=e=>{const{separator:r,experimentalParseClassName:t}=e,o=1===r.length,n=r[0],a=r.length,l=e=>{const t=[];let l,s=0,i=0;for(let c=0;c<e.length;c++){let d=e[c];if(0===s){if(d===n&&(o||e.slice(c,c+a)===r)){t.push(e.slice(i,c)),i=c+a;continue}if("/"===d){l=c;continue}}"["===d?s++:"]"===d&&s--}const c=0===t.length?e:e.substring(i),d=c.startsWith("!");return{modifiers:t,hasImportantModifier:d,baseClassName:d?c.substring(1):c,maybePostfixModifierPosition:l&&l>i?l-i:void 0}};return t?e=>t({className:e,parseClassName:l}):l},E=e=>{if(e.length<=1)return e;const r=[];let t=[];return e.forEach((e=>{"["===e[0]?(r.push(...t.sort(),e),t=[]):t.push(e)})),r.push(...t.sort()),r},C=/\s+/;function j(){let e,r,t=0,o="";for(;t<arguments.length;)(e=arguments[t++])&&(r=z(e))&&(o&&(o+=" "),o+=r);return o}const z=e=>{if("string"==typeof e)return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=z(e[o]))&&(t&&(t+=" "),t+=r);return t};function P(e,...r){let t,o,n,a=function(s){const i=r.reduce(((e,r)=>r(e)),e());return t=(e=>({cache:N(e.cacheSize),parseClassName:k(e),...p(e)}))(i),o=t.cache.get,n=t.cache.set,a=l,l(s)};function l(e){const r=o(e);if(r)return r;const a=((e,r)=>{const{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,a=[],l=e.trim().split(C);let s="";for(let e=l.length-1;e>=0;e-=1){const r=l[e],{modifiers:i,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:u}=t(r);let m=Boolean(u),p=o(m?d.substring(0,u):d);if(!p){if(!m){s=r+(s.length>0?" "+s:s);continue}if(p=o(d),!p){s=r+(s.length>0?" "+s:s);continue}m=!1}const f=E(i).join(":"),b=c?f+"!":f,g=b+p;if(a.includes(g))continue;a.push(g);const h=n(p,m);for(let e=0;e<h.length;++e){const r=h[e];a.push(b+r)}s=r+(s.length>0?" "+s:s)}return s})(e,t);return n(e,a),a}return function(){return a(j.apply(null,arguments))}}const O=e=>{const r=r=>r[e]||[];return r.isThemeGetter=!0,r},S=/^\[(?:([a-z-]+):)?(.+)\]$/i,I=/^\d+\/\d+$/,A=new Set(["px","full","screen"]),G=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,R=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,T=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,M=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,q=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,D=e=>$(e)||A.has(e)||I.test(e),W=e=>Z(e,"length",ee),$=e=>Boolean(e)&&!Number.isNaN(Number(e)),L=e=>Z(e,"number",$),B=e=>Boolean(e)&&Number.isInteger(Number(e)),H=e=>e.endsWith("%")&&$(e.slice(0,-1)),F=e=>S.test(e),Y=e=>G.test(e),_=new Set(["length","size","percentage"]),J=e=>Z(e,_,re),K=e=>Z(e,"position",re),U=new Set(["image","url"]),Q=e=>Z(e,U,oe),V=e=>Z(e,"",te),X=()=>!0,Z=(e,r,t)=>{const o=S.exec(e);return!!o&&(o[1]?"string"==typeof r?o[1]===r:r.has(o[1]):t(o[2]))},ee=e=>R.test(e)&&!T.test(e),re=()=>!1,te=e=>M.test(e),oe=e=>q.test(e),ne=P((()=>{const e=O("colors"),r=O("spacing"),t=O("blur"),o=O("brightness"),n=O("borderColor"),a=O("borderRadius"),l=O("borderSpacing"),s=O("borderWidth"),i=O("contrast"),c=O("grayscale"),d=O("hueRotate"),u=O("invert"),m=O("gap"),p=O("gradientColorStops"),f=O("gradientColorStopPositions"),b=O("inset"),g=O("margin"),h=O("opacity"),v=O("padding"),y=O("saturate"),x=O("scale"),w=O("sepia"),N=O("skew"),k=O("space"),E=O("translate"),C=()=>["auto",F,r],j=()=>[F,r],z=()=>["",D,W],P=()=>["auto",$,F],S=()=>["","0",F],I=()=>[$,F];return{cacheSize:500,separator:":",theme:{colors:[X],spacing:[D,W],blur:["none","",Y,F],brightness:I(),borderColor:[e],borderRadius:["none","","full",Y,F],borderSpacing:j(),borderWidth:z(),contrast:I(),grayscale:S(),hueRotate:I(),invert:S(),gap:j(),gradientColorStops:[e],gradientColorStopPositions:[H,W],inset:C(),margin:C(),opacity:I(),padding:j(),saturate:I(),scale:I(),sepia:S(),skew:I(),space:j(),translate:j()},classGroups:{aspect:[{aspect:["auto","square","video",F]}],container:["container"],columns:[{columns:[Y]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",F]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",B,F]}],basis:[{basis:C()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",F]}],grow:[{grow:S()}],shrink:[{shrink:S()}],order:[{order:["first","last","none",B,F]}],"grid-cols":[{"grid-cols":[X]}],"col-start-end":[{col:["auto",{span:["full",B,F]},F]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[X]}],"row-start-end":[{row:["auto",{span:[B,F]},F]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",F]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",F]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",F,r]}],"min-w":[{"min-w":[F,r,"min","max","fit"]}],"max-w":[{"max-w":[F,r,"none","full","min","max","fit","prose",{screen:[Y]},Y]}],h:[{h:[F,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[F,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[F,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[F,r,"auto","min","max","fit"]}],"font-size":[{text:["base",Y,W]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",L]}],"font-family":[{font:[X]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",F]}],"line-clamp":[{"line-clamp":["none",$,L]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",D,F]}],"list-image":[{"list-image":["none",F]}],"list-style-type":[{list:["none","disc","decimal",F]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",D,W]}],"underline-offset":[{"underline-offset":["auto",D,F]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",F]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",F]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",K]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",J]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Q]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[D,F]}],"outline-w":[{outline:[D,W]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[D,W]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Y,V]}],"shadow-color":[{shadow:[X]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",Y,F]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[u]}],saturate:[{saturate:[y]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",F]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",F]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",F]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[B,F]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",F]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",F]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",F]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[D,W,L]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}));var ae=["orientation","opts","setApi","plugins","className","children"],le=["className"],se=["className"],ie=["className"],ce=["className"],de=["className","reverse","pauseOnHover","children","vertical","repeat","width","itemClassName"],ue=function(o){var a=o.data,l=o.customClassNames,s=void 0===l?{}:l,i=a.type,c=a.text,d=a.url,m=a.source,p=a.children,f=a.layout,b=a.rolling,g=a.folding,h=u(e.useState(!1),2),v=h[0],y=h[1],x=function(){switch(i){case"image":return e.createElement("div",{className:we("flex justify-center items-center",s.imageWrapper||"")},e.createElement("img",{src:m,alt:c,className:we("max-w-full object-contain",s.image||"")}));case"title":return e.createElement("h2",{className:"text-xl font-bold mb-2 ".concat(s.title||"")},c);case"subtitle":return e.createElement("h3",{className:"text-sm font-medium text-secondary mb-2 ".concat(s.subtitle||"")},c);case"header":return e.createElement("h1",{className:"text-2xl font-bold mb-4 ".concat(s.header||"")},c);case"subheader":return e.createElement("h2",{className:"text-sm font-medium text-secondary mb-2 ".concat(s.subheader||"")},c);case"text":return e.createElement(t,{className:"mb-4 ".concat(s.text||"")},c);case"circledText":return e.createElement("div",{className:"flex items-center gap-2 ".concat(s.circledTextWrapper||"")},e.createElement("span",{className:"w-4 h-4 rounded-full inline-block ".concat(s.circle||"bg-gray-400")}),e.createElement("p",{className:s.circledText||""},c));case"button":return e.createElement("button",{className:"".concat(s.btn||"text-black"," ")},c);case"TESTIMONIAL":case"testimonial":case"gallery":case"GALLERY":return e.createElement(e.Fragment,null,b?e.createElement(xe,{width:"100%"},p.map((function(r,t){return e.createElement(ue,{data:r,customClassNames:s})}))," "):e.createElement(be,{opts:{loop:!0}},e.createElement(ge,null,p.map((function(r,t){return e.createElement(he,{className:"md:basis-1/2 lg:basis-1/3"},e.createElement("div",{className:we("p-4 border rounded-lg h-full flex flex-col justify-between",s.containerCarousal||"")},r.children.map((function(r,t){return e.createElement("div",{key:t,className:"mb-2"},e.createElement(ue,{data:r,customClassNames:s}))}))))}))),e.createElement("div",{className:"flex items-center justify-center gap-3 py-3"},e.createElement(ve,{className:"cursor-pointer"}),e.createElement(ye,{className:"cursor-pointer"}))));case"video":if(m.includes("youtube.com")||m.includes("youtu.be")){var o=me(m);return e.createElement("div",{className:"aspect-w-16 aspect-h-9 mb-4 ".concat(s.videoWrapper||"")},e.createElement("iframe",{src:"https://www.youtube.com/embed/".concat(o),title:"".concat(o),frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"w-full h-full ".concat(s.video||"")}))}return e.createElement("video",{controls:!0,className:"w-full mb-4 ".concat(s.video||"")},e.createElement("source",{src:m,type:"video/mp4"}),"Your browser does not support the video tag.");case"card":case"CARD":if("tab"===f&&p)return e.createElement(r.Tab.Group,null,e.createElement(r.Tab.List,{className:"flex space-x-1 rounded-xl bg-white border p-1 ".concat(s.tabList||"")},p.map((function(t,o){return e.createElement(r.Tab,{key:o,className:function(e){var r=e.selected;return"w-full rounded-lg py-2.5 text-sm font-medium leading-5\n ".concat(r?"bg-black/[0.12] focus:outline-none ".concat(s.tabSelected||""):"hover:bg-black/[0.12] hover:text-black ".concat(s.tab||""))}},t.text)}))),e.createElement(r.Tab.Panels,{className:"mt-2 ".concat(s.tabPanels||"")},p.map((function(t,o){return e.createElement(r.Tab.Panel,{key:o,className:"rounded-xl bg-white p-3 ".concat(s.tabPanel||"")},e.createElement(ue,{data:t,customClassNames:s}))}))));if(g&&p){var l=p.find((function(e){return["title","header","subheader"].includes(e.type)}))||p[0];return e.createElement("div",{className:we("border rounded-lg overflow-hidden w-full",s.accordionWrapper||"")},e.createElement("button",{onClick:function(){return y(!v)},className:we("w-full flex justify-between items-center p-2 bg-gray-100 hover:bg-gray-200 transition-colors duration-300",s.accordionButton||"")},e.createElement("div",{className:we("flex-grow text-left",s.accordionHeaderWrapper||"")},e.createElement(ue,{data:l,customClassNames:s})),e.createElement(n.ChevronDown,{className:we("w-5 h-5 text-gray-600 transition-transform duration-300",v?"rotate-180":"",s.accordionIcon||"")})),e.createElement("div",{className:we("grid transition-all duration-300 ease-in-out",v?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0",s.accordionContent||"")},e.createElement("div",{className:"overflow-hidden"},e.createElement("div",{className:"p-4"},p.slice(1).map((function(r,t){return e.createElement(ue,{key:t,data:r,customClassNames:s})}))))))}if(p){var d="-"===f?"md:!flex-row":"md:!flex-col";return e.createElement("div",{className:we("flex flex-col",d,"gap-4",s.cardGroup)},p.map((function(r,t){return e.createElement(ue,{key:t,data:r,customClassNames:s})})))}return null;default:return e.createElement("p",{className:"mb-4 ".concat(s.default||"")},JSON.stringify(a))}}();return d?e.createElement("a",{href:d,className:"block hover:opacity-80 transition-opacity duration-300 ".concat(s.link||"")},x):x},me=function(e){var r=e.match(/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/);return r?r[1]:null},pe=e.createContext(null);function fe(){var r=e.useContext(pe);if(!r)throw new Error("useCarousel must be used within a <Carousel />");return r}var be=e.forwardRef((function(r,t){var n=r.orientation,a=void 0===n?"horizontal":n,l=r.opts,i=r.setApi,m=r.plugins,p=r.className,f=r.children,b=d(r,ae),g=u(o(c(c({},l),{},{axis:"horizontal"===a?"x":"y"}),m),2),h=g[0],v=g[1],y=u(e.useState(!1),2),x=y[0],w=y[1],N=u(e.useState(!1),2),k=N[0],E=N[1],C=e.useCallback((function(e){e&&(w(e.canScrollPrev()),E(e.canScrollNext()))}),[]),j=e.useCallback((function(){null==v||v.scrollPrev()}),[v]),z=e.useCallback((function(){null==v||v.scrollNext()}),[v]),P=e.useCallback((function(e){"ArrowLeft"===e.key?(e.preventDefault(),j()):"ArrowRight"===e.key&&(e.preventDefault(),z())}),[j,z]);return e.useEffect((function(){v&&i&&i(v)}),[v,i]),e.useEffect((function(){if(v)return C(v),v.on("reInit",C),v.on("select",C),function(){null==v||v.off("select",C)}}),[v,C]),e.createElement(pe.Provider,{value:{carouselRef:h,api:v,opts:l,orientation:a||("y"===(null==l?void 0:l.axis)?"vertical":"horizontal"),scrollPrev:j,scrollNext:z,canScrollPrev:x,canScrollNext:k}},e.createElement("div",s({ref:t,onKeyDownCapture:P,className:we("relative",p),role:"region","aria-roledescription":"carousel"},b),f))}));be.displayName="Carousel";var ge=e.forwardRef((function(r,t){var o=r.className,n=d(r,le),a=fe(),l=a.carouselRef,i=a.orientation;return e.createElement("div",{ref:l,className:"overflow-hidden"},e.createElement("div",s({ref:t,className:we("flex","horizontal"===i?"-ml-4":"-mt-4 flex-col",o)},n)))}));ge.displayName="CarouselContent";var he=e.forwardRef((function(r,t){var o=r.className,n=d(r,se);return e.createElement("div",s({ref:t,role:"group","aria-roledescription":"slide",className:we("min-w-0 shrink-0 grow-0 basis-full pl-4",o)},n))}));he.displayName="CarouselItem";var ve=e.forwardRef((function(r,t){var o=r.className,a=d(r,ie),l=fe(),i=l.scrollPrev,c=l.canScrollPrev;return e.createElement("button",s({ref:t,className:we("border border-black h-8 w-8 rounded-full flex items-center justify-center",o),disabled:!c,onClick:i},a),e.createElement(n.ChevronLeft,{className:"h-4 w-4 text-black"}),e.createElement("span",{className:"sr-only"},"Previous slide"))}));ve.displayName="CarouselPrevious";var ye=e.forwardRef((function(r,t){var o=r.className,a=d(r,ce),l=fe(),i=l.scrollNext,c=l.canScrollNext;return e.createElement("button",s({ref:t,className:we("border border-black h-8 w-8 rounded-full flex items-center justify-center",o),disabled:!c,onClick:i},a),e.createElement(n.ChevronRight,{className:"h-4 w-4 text-black"}),e.createElement("span",{className:"sr-only"},"Next slide"))}));function xe(r){var t=r.className,o=r.reverse,n=r.pauseOnHover,a=void 0!==n&&n,l=r.children,i=r.vertical,c=void 0!==i&&i,u=r.repeat,m=void 0===u?4:u,p=r.width,f=void 0===p?"100%":p,b=r.itemClassName,g=d(r,de);return e.createElement("div",s({},g,{className:we("group overflow-hidden p-2 [--duration:40s] [--gap:1rem]",t),style:{width:f}}),e.createElement("div",{className:we("flex [gap:var(--gap)]",{"flex-row":!c,"flex-col":c})},Array(m).fill(0).map((function(r,t){return e.createElement("div",{key:t,className:we("flex shrink-0 justify-around [gap:var(--gap)]",{"animate-marquee flex-row":!c,"animate-marquee-vertical flex-col":c,"group-hover:[animation-play-state:paused]":a,"[animation-direction:reverse]":o})},e.Children.map(l,(function(r,t){return t<e.Children.count(l)-1&&e.createElement("div",{key:t,className:we("border border-gray-300 rounded p-2 w-96",b)},r)})))}))))}function we(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return ne(function(){for(var e,r,t=0,o="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=m(e))&&(o&&(o+=" "),o+=r);return o}(r))}ye.displayName="CarouselNext",module.exports=function(r){var t=r.content,o=r.customClassNames,n=void 0===o?{}:o,a=r.wrapperClassName,l=void 0===a?"":a,s=Array.isArray(t);return e.createElement("div",{className:l},s?t.map((function(r,t){return e.createElement(ue,{key:t,data:r,customClassNames:n})})):e.createElement(ue,{data:t,customClassNames:n}))}; | ||
"use strict";var e=require("react"),r=require("@headlessui/react"),t=require("react-markdown"),o=require("embla-carousel-react"),n=require("lucide-react");function a(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=Array(r);t<r;t++)o[t]=e[t];return o}function l(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,r||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)({}).hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},s.apply(null,arguments)}function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function c(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?i(Object(t),!0).forEach((function(r){l(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function d(e,r){if(null==e)return{};var t,o,n=function(e,r){if(null==e)return{};var t={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(r.includes(o))continue;t[o]=e[o]}return t}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)t=a[o],r.includes(t)||{}.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}function u(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,a,l,s=[],i=!0,c=!1;try{if(a=(t=t.call(e)).next,0===r);else for(;!(i=(o=a.call(t)).done)&&(s.push(o.value),s.length!==r);i=!0);}catch(e){c=!0,n=e}finally{try{if(!i&&null!=t.return&&(l=t.return(),Object(l)!==l))return}finally{if(c)throw n}}return s}}(e,r)||function(e,r){if(e){if("string"==typeof e)return a(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?a(e,r):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e){var r,t,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(t=m(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}const p=e=>{const r=h(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),f(t,r)||g(e)},getConflictingClassGroupIds:(e,r)=>{const n=t[e]||[];return r&&o[e]?[...n,...o[e]]:n}}},f=(e,r)=>{if(0===e.length)return r.classGroupId;const t=e[0],o=r.nextPart.get(t),n=o?f(e.slice(1),o):void 0;if(n)return n;if(0===r.validators.length)return;const a=e.join("-");return r.validators.find((({validator:e})=>e(a)))?.classGroupId},b=/^\[(.+)\]$/,g=e=>{if(b.test(e)){const r=b.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},h=e=>{const{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return w(Object.entries(e.classGroups),t).forEach((([e,t])=>{v(t,o,e,r)})),o},v=(e,r,t,o)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return x(e)?void v(e(o),r,t,o):void r.validators.push({validator:e,classGroupId:t});Object.entries(e).forEach((([e,n])=>{v(n,y(r,e),t,o)}))}else{(""===e?r:y(r,e)).classGroupId=t}}))},y=(e,r)=>{let t=e;return r.split("-").forEach((e=>{t.nextPart.has(e)||t.nextPart.set(e,{nextPart:new Map,validators:[]}),t=t.nextPart.get(e)})),t},x=e=>e.isThemeGetter,w=(e,r)=>r?e.map((([e,t])=>[e,t.map((e=>"string"==typeof e?r+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,t])=>[r+e,t]))):e))])):e,N=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map;const n=(n,a)=>{t.set(n,a),r++,r>e&&(r=0,o=t,t=new Map)};return{get(e){let r=t.get(e);return void 0!==r?r:void 0!==(r=o.get(e))?(n(e,r),r):void 0},set(e,r){t.has(e)?t.set(e,r):n(e,r)}}},k=e=>{const{separator:r,experimentalParseClassName:t}=e,o=1===r.length,n=r[0],a=r.length,l=e=>{const t=[];let l,s=0,i=0;for(let c=0;c<e.length;c++){let d=e[c];if(0===s){if(d===n&&(o||e.slice(c,c+a)===r)){t.push(e.slice(i,c)),i=c+a;continue}if("/"===d){l=c;continue}}"["===d?s++:"]"===d&&s--}const c=0===t.length?e:e.substring(i),d=c.startsWith("!");return{modifiers:t,hasImportantModifier:d,baseClassName:d?c.substring(1):c,maybePostfixModifierPosition:l&&l>i?l-i:void 0}};return t?e=>t({className:e,parseClassName:l}):l},E=e=>{if(e.length<=1)return e;const r=[];let t=[];return e.forEach((e=>{"["===e[0]?(r.push(...t.sort(),e),t=[]):t.push(e)})),r.push(...t.sort()),r},C=/\s+/;function j(){let e,r,t=0,o="";for(;t<arguments.length;)(e=arguments[t++])&&(r=z(e))&&(o&&(o+=" "),o+=r);return o}const z=e=>{if("string"==typeof e)return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=z(e[o]))&&(t&&(t+=" "),t+=r);return t};function P(e,...r){let t,o,n,a=function(s){const i=r.reduce(((e,r)=>r(e)),e());return t=(e=>({cache:N(e.cacheSize),parseClassName:k(e),...p(e)}))(i),o=t.cache.get,n=t.cache.set,a=l,l(s)};function l(e){const r=o(e);if(r)return r;const a=((e,r)=>{const{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,a=[],l=e.trim().split(C);let s="";for(let e=l.length-1;e>=0;e-=1){const r=l[e],{modifiers:i,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:u}=t(r);let m=Boolean(u),p=o(m?d.substring(0,u):d);if(!p){if(!m){s=r+(s.length>0?" "+s:s);continue}if(p=o(d),!p){s=r+(s.length>0?" "+s:s);continue}m=!1}const f=E(i).join(":"),b=c?f+"!":f,g=b+p;if(a.includes(g))continue;a.push(g);const h=n(p,m);for(let e=0;e<h.length;++e){const r=h[e];a.push(b+r)}s=r+(s.length>0?" "+s:s)}return s})(e,t);return n(e,a),a}return function(){return a(j.apply(null,arguments))}}const O=e=>{const r=r=>r[e]||[];return r.isThemeGetter=!0,r},S=/^\[(?:([a-z-]+):)?(.+)\]$/i,I=/^\d+\/\d+$/,A=new Set(["px","full","screen"]),G=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,R=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,T=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,M=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,q=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,D=e=>$(e)||A.has(e)||I.test(e),W=e=>Z(e,"length",ee),$=e=>Boolean(e)&&!Number.isNaN(Number(e)),L=e=>Z(e,"number",$),B=e=>Boolean(e)&&Number.isInteger(Number(e)),H=e=>e.endsWith("%")&&$(e.slice(0,-1)),F=e=>S.test(e),Y=e=>G.test(e),_=new Set(["length","size","percentage"]),J=e=>Z(e,_,re),K=e=>Z(e,"position",re),U=new Set(["image","url"]),Q=e=>Z(e,U,oe),V=e=>Z(e,"",te),X=()=>!0,Z=(e,r,t)=>{const o=S.exec(e);return!!o&&(o[1]?"string"==typeof r?o[1]===r:r.has(o[1]):t(o[2]))},ee=e=>R.test(e)&&!T.test(e),re=()=>!1,te=e=>M.test(e),oe=e=>q.test(e),ne=P((()=>{const e=O("colors"),r=O("spacing"),t=O("blur"),o=O("brightness"),n=O("borderColor"),a=O("borderRadius"),l=O("borderSpacing"),s=O("borderWidth"),i=O("contrast"),c=O("grayscale"),d=O("hueRotate"),u=O("invert"),m=O("gap"),p=O("gradientColorStops"),f=O("gradientColorStopPositions"),b=O("inset"),g=O("margin"),h=O("opacity"),v=O("padding"),y=O("saturate"),x=O("scale"),w=O("sepia"),N=O("skew"),k=O("space"),E=O("translate"),C=()=>["auto",F,r],j=()=>[F,r],z=()=>["",D,W],P=()=>["auto",$,F],S=()=>["","0",F],I=()=>[$,F];return{cacheSize:500,separator:":",theme:{colors:[X],spacing:[D,W],blur:["none","",Y,F],brightness:I(),borderColor:[e],borderRadius:["none","","full",Y,F],borderSpacing:j(),borderWidth:z(),contrast:I(),grayscale:S(),hueRotate:I(),invert:S(),gap:j(),gradientColorStops:[e],gradientColorStopPositions:[H,W],inset:C(),margin:C(),opacity:I(),padding:j(),saturate:I(),scale:I(),sepia:S(),skew:I(),space:j(),translate:j()},classGroups:{aspect:[{aspect:["auto","square","video",F]}],container:["container"],columns:[{columns:[Y]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",F]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",B,F]}],basis:[{basis:C()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",F]}],grow:[{grow:S()}],shrink:[{shrink:S()}],order:[{order:["first","last","none",B,F]}],"grid-cols":[{"grid-cols":[X]}],"col-start-end":[{col:["auto",{span:["full",B,F]},F]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[X]}],"row-start-end":[{row:["auto",{span:[B,F]},F]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",F]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",F]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",F,r]}],"min-w":[{"min-w":[F,r,"min","max","fit"]}],"max-w":[{"max-w":[F,r,"none","full","min","max","fit","prose",{screen:[Y]},Y]}],h:[{h:[F,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[F,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[F,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[F,r,"auto","min","max","fit"]}],"font-size":[{text:["base",Y,W]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",L]}],"font-family":[{font:[X]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",F]}],"line-clamp":[{"line-clamp":["none",$,L]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",D,F]}],"list-image":[{"list-image":["none",F]}],"list-style-type":[{list:["none","disc","decimal",F]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",D,W]}],"underline-offset":[{"underline-offset":["auto",D,F]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",F]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",F]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",K]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",J]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Q]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[D,F]}],"outline-w":[{outline:[D,W]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[D,W]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Y,V]}],"shadow-color":[{shadow:[X]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",Y,F]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[u]}],saturate:[{saturate:[y]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",F]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",F]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",F]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[B,F]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",F]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",F]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",F]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[D,W,L]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}));var ae=["orientation","opts","setApi","plugins","className","children"],le=["className"],se=["className"],ie=["className"],ce=["className"],de=["className","reverse","pauseOnHover","children","vertical","repeat","width","itemClassName"],ue=function(o){var a=o.data,l=o.customClassNames,s=void 0===l?{}:l,i=a.type,c=a.text,d=a.url,m=a.source,p=a.children,f=a.layout,b=a.rolling,g=a.folding,h=u(e.useState(!1),2),v=h[0],y=h[1],x=function(){switch(i){case"image":return e.createElement("div",{className:we("flex justify-center items-center",s.imageWrapper||"")},e.createElement("img",{src:m,alt:c,className:we("max-w-full object-contain",s.image||"")}));case"title":return e.createElement("h2",{className:"text-xl font-bold mb-2 ".concat(s.title||"")},c);case"subtitle":return e.createElement("h3",{className:"text-sm font-medium text-secondary mb-2 ".concat(s.subtitle||"")},c);case"header":return e.createElement("h1",{className:"text-2xl font-bold mb-4 ".concat(s.header||"")},c);case"subheader":return e.createElement("h2",{className:"text-sm font-medium text-secondary mb-2 ".concat(s.subheader||"")},c);case"text":return e.createElement(t,{className:"mb-4 ".concat(s.text||"")},c);case"circledText":return e.createElement("div",{className:"flex items-center gap-2 ".concat(s.circledTextWrapper||"")},e.createElement("span",{className:"w-4 h-4 rounded-full inline-block ".concat(s.circle||"bg-gray-400")}),e.createElement("p",{className:s.circledText||""},c));case"button":return e.createElement("button",{className:"".concat(s.btn||"text-black"," ")},c);case"TESTIMONIAL":case"testimonial":case"gallery":case"GALLERY":return e.createElement(e.Fragment,null,b?e.createElement(xe,{width:"100%"},p.map((function(r,t){return e.createElement(ue,{data:r,customClassNames:s})}))," "):e.createElement(be,{opts:{loop:!0}},e.createElement(ge,null,p.map((function(r,t){return e.createElement(he,{className:"md:basis-1/2 lg:basis-1/3"},e.createElement("div",{className:we("p-4 border rounded-lg h-full flex flex-col justify-between",s.containerCarousal||"")},r.children.map((function(r,t){return e.createElement("div",{key:t,className:"mb-2"},e.createElement(ue,{data:r,customClassNames:s}))}))))}))),e.createElement("div",{className:"flex items-center justify-center gap-3 py-3"},e.createElement(ve,{className:"cursor-pointer"}),e.createElement(ye,{className:"cursor-pointer"}))));case"video":if(m.includes("youtube.com")||m.includes("youtu.be")){var o=me(m);return e.createElement("div",{className:"aspect-w-16 aspect-h-9 mb-4 ".concat(s.videoWrapper||"")},e.createElement("iframe",{src:"https://www.youtube.com/embed/".concat(o),title:"".concat(o),frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"w-full h-full ".concat(s.video||"")}))}return e.createElement("video",{controls:!0,className:"w-full mb-4 ".concat(s.video||"")},e.createElement("source",{src:m,type:"video/mp4"}),"Your browser does not support the video tag.");case"card":case"CARD":if("tab"===f&&p)return e.createElement(r.Tab.Group,null,e.createElement(r.Tab.List,{className:"flex space-x-1 rounded-xl bg-white border p-1 ".concat(s.tabList||"")},p.map((function(t,o){return e.createElement(r.Tab,{key:o,className:function(e){var r=e.selected;return"w-full rounded-lg py-2.5 text-sm font-medium leading-5\n ".concat(r?"bg-black/[0.12] focus:outline-none ".concat(s.tabSelected||""):"hover:bg-black/[0.12] hover:text-black ".concat(s.tab||""))}},t.text)}))),e.createElement(r.Tab.Panels,{className:"mt-2 ".concat(s.tabPanels||"")},p.map((function(t,o){return e.createElement(r.Tab.Panel,{key:o,className:"rounded-xl bg-white p-3 ".concat(s.tabPanel||"")},e.createElement(ue,{data:t,customClassNames:s}))}))));if(g&&p){var l=p.find((function(e){return["title","header","subheader"].includes(e.type)}))||p[0];return e.createElement("div",{className:we("border rounded-lg overflow-hidden w-full",s.accordionWrapper||"")},e.createElement("button",{onClick:function(){return y(!v)},className:we("w-full flex justify-between items-center p-2 bg-gray-100 hover:bg-gray-200 transition-colors duration-300",s.accordionButton||"")},e.createElement("div",{className:we("flex-grow text-left",s.accordionHeaderWrapper||"")},e.createElement(ue,{data:l,customClassNames:s})),e.createElement(n.ChevronDown,{className:we("w-5 h-5 text-gray-600 transition-transform duration-300",v?"rotate-180":"",s.accordionIcon||"")})),e.createElement("div",{className:we("grid transition-all duration-300 ease-in-out",v?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0",s.accordionContent||"")},e.createElement("div",{className:"overflow-hidden"},e.createElement("div",{className:"p-4"},p.slice(1).map((function(r,t){return e.createElement(ue,{key:t,data:r,customClassNames:s})}))))))}if(p){var d="-"===f?"md:!flex-row":"md:!flex-col";return e.createElement("div",{className:we("flex flex-col",d,"gap-4",s.cardGroup)},p.map((function(r,t){return e.createElement(ue,{key:t,data:r,customClassNames:s})})))}return null;default:return e.createElement("p",{className:"mb-4 ".concat(s.default||"")},JSON.stringify(a))}}();return d?e.createElement("a",{href:d,className:"block hover:opacity-80 transition-opacity duration-300 ".concat(s.link||"")},x):x},me=function(e){var r=e.match(/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/);return r?r[1]:null},pe=e.createContext(null);function fe(){var r=e.useContext(pe);if(!r)throw new Error("useCarousel must be used within a <Carousel />");return r}var be=e.forwardRef((function(r,t){var n=r.orientation,a=void 0===n?"horizontal":n,l=r.opts,i=r.setApi,m=r.plugins,p=r.className,f=r.children,b=d(r,ae),g=u(o(c(c({},l),{},{axis:"horizontal"===a?"x":"y"}),m),2),h=g[0],v=g[1],y=u(e.useState(!1),2),x=y[0],w=y[1],N=u(e.useState(!1),2),k=N[0],E=N[1],C=e.useCallback((function(e){e&&(w(e.canScrollPrev()),E(e.canScrollNext()))}),[]),j=e.useCallback((function(){null==v||v.scrollPrev()}),[v]),z=e.useCallback((function(){null==v||v.scrollNext()}),[v]),P=e.useCallback((function(e){"ArrowLeft"===e.key?(e.preventDefault(),j()):"ArrowRight"===e.key&&(e.preventDefault(),z())}),[j,z]);return e.useEffect((function(){v&&i&&i(v)}),[v,i]),e.useEffect((function(){if(v)return C(v),v.on("reInit",C),v.on("select",C),function(){null==v||v.off("select",C)}}),[v,C]),e.createElement(pe.Provider,{value:{carouselRef:h,api:v,opts:l,orientation:a||("y"===(null==l?void 0:l.axis)?"vertical":"horizontal"),scrollPrev:j,scrollNext:z,canScrollPrev:x,canScrollNext:k}},e.createElement("div",s({ref:t,onKeyDownCapture:P,className:we("relative",p),role:"region","aria-roledescription":"carousel"},b),f))}));be.displayName="Carousel";var ge=e.forwardRef((function(r,t){var o=r.className,n=d(r,le),a=fe(),l=a.carouselRef,i=a.orientation;return e.createElement("div",{ref:l,className:"overflow-hidden"},e.createElement("div",s({ref:t,className:we("flex","horizontal"===i?"-ml-4":"-mt-4 flex-col",o)},n)))}));ge.displayName="CarouselContent";var he=e.forwardRef((function(r,t){var o=r.className,n=d(r,se);return e.createElement("div",s({ref:t,role:"group","aria-roledescription":"slide",className:we("min-w-0 shrink-0 grow-0 basis-full pl-4",o)},n))}));he.displayName="CarouselItem";var ve=e.forwardRef((function(r,t){var o=r.className,a=d(r,ie),l=fe(),i=l.scrollPrev,c=l.canScrollPrev;return e.createElement("button",s({ref:t,className:we("border border-black h-8 w-8 rounded-full flex items-center justify-center",o),disabled:!c,onClick:i},a),e.createElement(n.ChevronLeft,{className:"h-4 w-4 text-black"}),e.createElement("span",{className:"sr-only"},"Previous slide"))}));ve.displayName="CarouselPrevious";var ye=e.forwardRef((function(r,t){var o=r.className,a=d(r,ce),l=fe(),i=l.scrollNext,c=l.canScrollNext;return e.createElement("button",s({ref:t,className:we("border border-black h-8 w-8 rounded-full flex items-center justify-center",o),disabled:!c,onClick:i},a),e.createElement(n.ChevronRight,{className:"h-4 w-4 text-black"}),e.createElement("span",{className:"sr-only"},"Next slide"))}));function xe(r){var t=r.className,o=r.reverse,n=r.pauseOnHover,a=void 0!==n&&n,l=r.children,i=r.vertical,c=void 0!==i&&i,u=r.repeat,m=void 0===u?4:u,p=r.width,f=void 0===p?"100%":p,b=r.itemClassName,g=d(r,de);return e.createElement("div",s({},g,{className:we("group overflow-hidden p-2 [--duration:40s] [--gap:1rem]",t),style:{width:f}}),e.createElement("div",{className:we("flex [gap:var(--gap)]",{"flex-row":!c,"flex-col":c})},Array(m).fill(0).map((function(r,t){return e.createElement("div",{key:t,className:we("flex shrink-0 justify-around [gap:var(--gap)]",{"animate-marquee flex-row":!c,"animate-marquee-vertical flex-col":c,"group-hover:[animation-play-state:paused]":a,"[animation-direction:reverse]":o})},e.Children.map(l,(function(r,t){return t<e.Children.count(l)-1&&e.createElement("div",{key:t,className:we("border border-gray-300 rounded p-2 w-96",b)},r)})))}))))}function we(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return ne(function(){for(var e,r,t=0,o="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=m(e))&&(o&&(o+=" "),o+=r);return o}(r))}ye.displayName="CarouselNext",module.exports=function(r){var t=r.content,o=r.canvasType,n=void 0!==o&&o,a=r.customClassNames,l=void 0===a?{}:a,s=r.wrapperClassName,i=void 0===s?"":s,c=Array.isArray(t);return n?e.createElement("div",{className:we("w-full max-w-[1200px] mx-auto",i)},c?e.createElement("div",{className:"space-y-8"},t.map((function(r,t){return e.createElement("div",{key:t,className:"mb-8"},e.createElement(CanvasCard,{data:r,customClassNames:l}))}))):e.createElement(CanvasCard,{data:t,customClassNames:l})):e.createElement("div",{className:i},c?t.map((function(r,t){return e.createElement(ue,{key:t,data:r,customClassNames:l})})):e.createElement(ue,{data:t,customClassNames:l}))}; |
@@ -1,1 +0,1 @@ | ||
import e,{useState as r}from"react";import{Tab as t}from"@headlessui/react";import o from"react-markdown";import n from"embla-carousel-react";import{ChevronLeft as a,ChevronRight as l,ChevronDown as s}from"lucide-react";function i(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=Array(r);t<r;t++)o[t]=e[t];return o}function c(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,r||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)({}).hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},d.apply(null,arguments)}function u(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function m(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?u(Object(t),!0).forEach((function(r){c(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function p(e,r){if(null==e)return{};var t,o,n=function(e,r){if(null==e)return{};var t={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(r.includes(o))continue;t[o]=e[o]}return t}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)t=a[o],r.includes(t)||{}.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}function f(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,a,l,s=[],i=!0,c=!1;try{if(a=(t=t.call(e)).next,0===r);else for(;!(i=(o=a.call(t)).done)&&(s.push(o.value),s.length!==r);i=!0);}catch(e){c=!0,n=e}finally{try{if(!i&&null!=t.return&&(l=t.return(),Object(l)!==l))return}finally{if(c)throw n}}return s}}(e,r)||function(e,r){if(e){if("string"==typeof e)return i(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,r):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e){var r,t,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(t=b(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}const g=e=>{const r=x(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),h(t,r)||y(e)},getConflictingClassGroupIds:(e,r)=>{const n=t[e]||[];return r&&o[e]?[...n,...o[e]]:n}}},h=(e,r)=>{if(0===e.length)return r.classGroupId;const t=e[0],o=r.nextPart.get(t),n=o?h(e.slice(1),o):void 0;if(n)return n;if(0===r.validators.length)return;const a=e.join("-");return r.validators.find((({validator:e})=>e(a)))?.classGroupId},v=/^\[(.+)\]$/,y=e=>{if(v.test(e)){const r=v.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},x=e=>{const{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return E(Object.entries(e.classGroups),t).forEach((([e,t])=>{w(t,o,e,r)})),o},w=(e,r,t,o)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return k(e)?void w(e(o),r,t,o):void r.validators.push({validator:e,classGroupId:t});Object.entries(e).forEach((([e,n])=>{w(n,N(r,e),t,o)}))}else{(""===e?r:N(r,e)).classGroupId=t}}))},N=(e,r)=>{let t=e;return r.split("-").forEach((e=>{t.nextPart.has(e)||t.nextPart.set(e,{nextPart:new Map,validators:[]}),t=t.nextPart.get(e)})),t},k=e=>e.isThemeGetter,E=(e,r)=>r?e.map((([e,t])=>[e,t.map((e=>"string"==typeof e?r+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,t])=>[r+e,t]))):e))])):e,C=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map;const n=(n,a)=>{t.set(n,a),r++,r>e&&(r=0,o=t,t=new Map)};return{get(e){let r=t.get(e);return void 0!==r?r:void 0!==(r=o.get(e))?(n(e,r),r):void 0},set(e,r){t.has(e)?t.set(e,r):n(e,r)}}},j=e=>{const{separator:r,experimentalParseClassName:t}=e,o=1===r.length,n=r[0],a=r.length,l=e=>{const t=[];let l,s=0,i=0;for(let c=0;c<e.length;c++){let d=e[c];if(0===s){if(d===n&&(o||e.slice(c,c+a)===r)){t.push(e.slice(i,c)),i=c+a;continue}if("/"===d){l=c;continue}}"["===d?s++:"]"===d&&s--}const c=0===t.length?e:e.substring(i),d=c.startsWith("!");return{modifiers:t,hasImportantModifier:d,baseClassName:d?c.substring(1):c,maybePostfixModifierPosition:l&&l>i?l-i:void 0}};return t?e=>t({className:e,parseClassName:l}):l},z=e=>{if(e.length<=1)return e;const r=[];let t=[];return e.forEach((e=>{"["===e[0]?(r.push(...t.sort(),e),t=[]):t.push(e)})),r.push(...t.sort()),r},P=/\s+/;function O(){let e,r,t=0,o="";for(;t<arguments.length;)(e=arguments[t++])&&(r=S(e))&&(o&&(o+=" "),o+=r);return o}const S=e=>{if("string"==typeof e)return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=S(e[o]))&&(t&&(t+=" "),t+=r);return t};function I(e,...r){let t,o,n,a=function(s){const i=r.reduce(((e,r)=>r(e)),e());return t=(e=>({cache:C(e.cacheSize),parseClassName:j(e),...g(e)}))(i),o=t.cache.get,n=t.cache.set,a=l,l(s)};function l(e){const r=o(e);if(r)return r;const a=((e,r)=>{const{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,a=[],l=e.trim().split(P);let s="";for(let e=l.length-1;e>=0;e-=1){const r=l[e],{modifiers:i,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:u}=t(r);let m=Boolean(u),p=o(m?d.substring(0,u):d);if(!p){if(!m){s=r+(s.length>0?" "+s:s);continue}if(p=o(d),!p){s=r+(s.length>0?" "+s:s);continue}m=!1}const f=z(i).join(":"),b=c?f+"!":f,g=b+p;if(a.includes(g))continue;a.push(g);const h=n(p,m);for(let e=0;e<h.length;++e){const r=h[e];a.push(b+r)}s=r+(s.length>0?" "+s:s)}return s})(e,t);return n(e,a),a}return function(){return a(O.apply(null,arguments))}}const A=e=>{const r=r=>r[e]||[];return r.isThemeGetter=!0,r},G=/^\[(?:([a-z-]+):)?(.+)\]$/i,R=/^\d+\/\d+$/,M=new Set(["px","full","screen"]),T=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,W=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,D=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,$=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,L=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>H(e)||M.has(e)||R.test(e),q=e=>te(e,"length",oe),H=e=>Boolean(e)&&!Number.isNaN(Number(e)),F=e=>te(e,"number",H),Y=e=>Boolean(e)&&Number.isInteger(Number(e)),_=e=>e.endsWith("%")&&H(e.slice(0,-1)),J=e=>G.test(e),K=e=>T.test(e),U=new Set(["length","size","percentage"]),Q=e=>te(e,U,ne),V=e=>te(e,"position",ne),X=new Set(["image","url"]),Z=e=>te(e,X,le),ee=e=>te(e,"",ae),re=()=>!0,te=(e,r,t)=>{const o=G.exec(e);return!!o&&(o[1]?"string"==typeof r?o[1]===r:r.has(o[1]):t(o[2]))},oe=e=>W.test(e)&&!D.test(e),ne=()=>!1,ae=e=>$.test(e),le=e=>L.test(e),se=I((()=>{const e=A("colors"),r=A("spacing"),t=A("blur"),o=A("brightness"),n=A("borderColor"),a=A("borderRadius"),l=A("borderSpacing"),s=A("borderWidth"),i=A("contrast"),c=A("grayscale"),d=A("hueRotate"),u=A("invert"),m=A("gap"),p=A("gradientColorStops"),f=A("gradientColorStopPositions"),b=A("inset"),g=A("margin"),h=A("opacity"),v=A("padding"),y=A("saturate"),x=A("scale"),w=A("sepia"),N=A("skew"),k=A("space"),E=A("translate"),C=()=>["auto",J,r],j=()=>[J,r],z=()=>["",B,q],P=()=>["auto",H,J],O=()=>["","0",J],S=()=>[H,J];return{cacheSize:500,separator:":",theme:{colors:[re],spacing:[B,q],blur:["none","",K,J],brightness:S(),borderColor:[e],borderRadius:["none","","full",K,J],borderSpacing:j(),borderWidth:z(),contrast:S(),grayscale:O(),hueRotate:S(),invert:O(),gap:j(),gradientColorStops:[e],gradientColorStopPositions:[_,q],inset:C(),margin:C(),opacity:S(),padding:j(),saturate:S(),scale:S(),sepia:O(),skew:S(),space:j(),translate:j()},classGroups:{aspect:[{aspect:["auto","square","video",J]}],container:["container"],columns:[{columns:[K]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",J]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Y,J]}],basis:[{basis:C()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",J]}],grow:[{grow:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",Y,J]}],"grid-cols":[{"grid-cols":[re]}],"col-start-end":[{col:["auto",{span:["full",Y,J]},J]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[re]}],"row-start-end":[{row:["auto",{span:[Y,J]},J]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",J]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",J]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",J,r]}],"min-w":[{"min-w":[J,r,"min","max","fit"]}],"max-w":[{"max-w":[J,r,"none","full","min","max","fit","prose",{screen:[K]},K]}],h:[{h:[J,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[J,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[J,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[J,r,"auto","min","max","fit"]}],"font-size":[{text:["base",K,q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",F]}],"font-family":[{font:[re]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",J]}],"line-clamp":[{"line-clamp":["none",H,F]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,J]}],"list-image":[{"list-image":["none",J]}],"list-style-type":[{list:["none","disc","decimal",J]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,q]}],"underline-offset":[{"underline-offset":["auto",B,J]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",J]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",J]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",V]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Q]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Z]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[B,J]}],"outline-w":[{outline:[B,q]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[B,q]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",K,ee]}],"shadow-color":[{shadow:[re]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",K,J]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[u]}],saturate:[{saturate:[y]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",J]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",J]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",J]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[Y,J]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",J]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",J]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",J]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[B,q,F]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}));var ie=["orientation","opts","setApi","plugins","className","children"],ce=["className"],de=["className"],ue=["className"],me=["className"],pe=["className","reverse","pauseOnHover","children","vertical","repeat","width","itemClassName"],fe=function(n){var a=n.data,l=n.customClassNames,i=void 0===l?{}:l,c=a.type,d=a.text,u=a.url,m=a.source,p=a.children,b=a.layout,g=a.rolling,h=a.folding,v=f(r(!1),2),y=v[0],x=v[1],w=function(){switch(c){case"image":return e.createElement("div",{className:Ce("flex justify-center items-center",i.imageWrapper||"")},e.createElement("img",{src:m,alt:d,className:Ce("max-w-full object-contain",i.image||"")}));case"title":return e.createElement("h2",{className:"text-xl font-bold mb-2 ".concat(i.title||"")},d);case"subtitle":return e.createElement("h3",{className:"text-sm font-medium text-secondary mb-2 ".concat(i.subtitle||"")},d);case"header":return e.createElement("h1",{className:"text-2xl font-bold mb-4 ".concat(i.header||"")},d);case"subheader":return e.createElement("h2",{className:"text-sm font-medium text-secondary mb-2 ".concat(i.subheader||"")},d);case"text":return e.createElement(o,{className:"mb-4 ".concat(i.text||"")},d);case"circledText":return e.createElement("div",{className:"flex items-center gap-2 ".concat(i.circledTextWrapper||"")},e.createElement("span",{className:"w-4 h-4 rounded-full inline-block ".concat(i.circle||"bg-gray-400")}),e.createElement("p",{className:i.circledText||""},d));case"button":return e.createElement("button",{className:"".concat(i.btn||"text-black"," ")},d);case"TESTIMONIAL":case"testimonial":case"gallery":case"GALLERY":return e.createElement(e.Fragment,null,g?e.createElement(Ee,{width:"100%"},p.map((function(r,t){return e.createElement(fe,{data:r,customClassNames:i})}))," "):e.createElement(ye,{opts:{loop:!0}},e.createElement(xe,null,p.map((function(r,t){return e.createElement(we,{className:"md:basis-1/2 lg:basis-1/3"},e.createElement("div",{className:Ce("p-4 border rounded-lg h-full flex flex-col justify-between",i.containerCarousal||"")},r.children.map((function(r,t){return e.createElement("div",{key:t,className:"mb-2"},e.createElement(fe,{data:r,customClassNames:i}))}))))}))),e.createElement("div",{className:"flex items-center justify-center gap-3 py-3"},e.createElement(Ne,{className:"cursor-pointer"}),e.createElement(ke,{className:"cursor-pointer"}))));case"video":if(m.includes("youtube.com")||m.includes("youtu.be")){var r=be(m);return e.createElement("div",{className:"aspect-w-16 aspect-h-9 mb-4 ".concat(i.videoWrapper||"")},e.createElement("iframe",{src:"https://www.youtube.com/embed/".concat(r),title:"".concat(r),frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"w-full h-full ".concat(i.video||"")}))}return e.createElement("video",{controls:!0,className:"w-full mb-4 ".concat(i.video||"")},e.createElement("source",{src:m,type:"video/mp4"}),"Your browser does not support the video tag.");case"card":case"CARD":if("tab"===b&&p)return e.createElement(t.Group,null,e.createElement(t.List,{className:"flex space-x-1 rounded-xl bg-white border p-1 ".concat(i.tabList||"")},p.map((function(r,o){return e.createElement(t,{key:o,className:function(e){var r=e.selected;return"w-full rounded-lg py-2.5 text-sm font-medium leading-5\n ".concat(r?"bg-black/[0.12] focus:outline-none ".concat(i.tabSelected||""):"hover:bg-black/[0.12] hover:text-black ".concat(i.tab||""))}},r.text)}))),e.createElement(t.Panels,{className:"mt-2 ".concat(i.tabPanels||"")},p.map((function(r,o){return e.createElement(t.Panel,{key:o,className:"rounded-xl bg-white p-3 ".concat(i.tabPanel||"")},e.createElement(fe,{data:r,customClassNames:i}))}))));if(h&&p){var n=p.find((function(e){return["title","header","subheader"].includes(e.type)}))||p[0];return e.createElement("div",{className:Ce("border rounded-lg overflow-hidden w-full",i.accordionWrapper||"")},e.createElement("button",{onClick:function(){return x(!y)},className:Ce("w-full flex justify-between items-center p-2 bg-gray-100 hover:bg-gray-200 transition-colors duration-300",i.accordionButton||"")},e.createElement("div",{className:Ce("flex-grow text-left",i.accordionHeaderWrapper||"")},e.createElement(fe,{data:n,customClassNames:i})),e.createElement(s,{className:Ce("w-5 h-5 text-gray-600 transition-transform duration-300",y?"rotate-180":"",i.accordionIcon||"")})),e.createElement("div",{className:Ce("grid transition-all duration-300 ease-in-out",y?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0",i.accordionContent||"")},e.createElement("div",{className:"overflow-hidden"},e.createElement("div",{className:"p-4"},p.slice(1).map((function(r,t){return e.createElement(fe,{key:t,data:r,customClassNames:i})}))))))}if(p){var l="-"===b?"md:!flex-row":"md:!flex-col";return e.createElement("div",{className:Ce("flex flex-col",l,"gap-4",i.cardGroup)},p.map((function(r,t){return e.createElement(fe,{key:t,data:r,customClassNames:i})})))}return null;default:return e.createElement("p",{className:"mb-4 ".concat(i.default||"")},JSON.stringify(a))}}();return u?e.createElement("a",{href:u,className:"block hover:opacity-80 transition-opacity duration-300 ".concat(i.link||"")},w):w},be=function(e){var r=e.match(/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/);return r?r[1]:null},ge=function(r){var t=r.content,o=r.customClassNames,n=void 0===o?{}:o,a=r.wrapperClassName,l=void 0===a?"":a,s=Array.isArray(t);return e.createElement("div",{className:l},s?t.map((function(r,t){return e.createElement(fe,{key:t,data:r,customClassNames:n})})):e.createElement(fe,{data:t,customClassNames:n}))},he=e.createContext(null);function ve(){var r=e.useContext(he);if(!r)throw new Error("useCarousel must be used within a <Carousel />");return r}var ye=e.forwardRef((function(r,t){var o=r.orientation,a=void 0===o?"horizontal":o,l=r.opts,s=r.setApi,i=r.plugins,c=r.className,u=r.children,b=p(r,ie),g=f(n(m(m({},l),{},{axis:"horizontal"===a?"x":"y"}),i),2),h=g[0],v=g[1],y=f(e.useState(!1),2),x=y[0],w=y[1],N=f(e.useState(!1),2),k=N[0],E=N[1],C=e.useCallback((function(e){e&&(w(e.canScrollPrev()),E(e.canScrollNext()))}),[]),j=e.useCallback((function(){null==v||v.scrollPrev()}),[v]),z=e.useCallback((function(){null==v||v.scrollNext()}),[v]),P=e.useCallback((function(e){"ArrowLeft"===e.key?(e.preventDefault(),j()):"ArrowRight"===e.key&&(e.preventDefault(),z())}),[j,z]);return e.useEffect((function(){v&&s&&s(v)}),[v,s]),e.useEffect((function(){if(v)return C(v),v.on("reInit",C),v.on("select",C),function(){null==v||v.off("select",C)}}),[v,C]),e.createElement(he.Provider,{value:{carouselRef:h,api:v,opts:l,orientation:a||("y"===(null==l?void 0:l.axis)?"vertical":"horizontal"),scrollPrev:j,scrollNext:z,canScrollPrev:x,canScrollNext:k}},e.createElement("div",d({ref:t,onKeyDownCapture:P,className:Ce("relative",c),role:"region","aria-roledescription":"carousel"},b),u))}));ye.displayName="Carousel";var xe=e.forwardRef((function(r,t){var o=r.className,n=p(r,ce),a=ve(),l=a.carouselRef,s=a.orientation;return e.createElement("div",{ref:l,className:"overflow-hidden"},e.createElement("div",d({ref:t,className:Ce("flex","horizontal"===s?"-ml-4":"-mt-4 flex-col",o)},n)))}));xe.displayName="CarouselContent";var we=e.forwardRef((function(r,t){var o=r.className,n=p(r,de);return e.createElement("div",d({ref:t,role:"group","aria-roledescription":"slide",className:Ce("min-w-0 shrink-0 grow-0 basis-full pl-4",o)},n))}));we.displayName="CarouselItem";var Ne=e.forwardRef((function(r,t){var o=r.className,n=p(r,ue),l=ve(),s=l.scrollPrev,i=l.canScrollPrev;return e.createElement("button",d({ref:t,className:Ce("border border-black h-8 w-8 rounded-full flex items-center justify-center",o),disabled:!i,onClick:s},n),e.createElement(a,{className:"h-4 w-4 text-black"}),e.createElement("span",{className:"sr-only"},"Previous slide"))}));Ne.displayName="CarouselPrevious";var ke=e.forwardRef((function(r,t){var o=r.className,n=p(r,me),a=ve(),s=a.scrollNext,i=a.canScrollNext;return e.createElement("button",d({ref:t,className:Ce("border border-black h-8 w-8 rounded-full flex items-center justify-center",o),disabled:!i,onClick:s},n),e.createElement(l,{className:"h-4 w-4 text-black"}),e.createElement("span",{className:"sr-only"},"Next slide"))}));function Ee(r){var t=r.className,o=r.reverse,n=r.pauseOnHover,a=void 0!==n&&n,l=r.children,s=r.vertical,i=void 0!==s&&s,c=r.repeat,u=void 0===c?4:c,m=r.width,f=void 0===m?"100%":m,b=r.itemClassName,g=p(r,pe);return e.createElement("div",d({},g,{className:Ce("group overflow-hidden p-2 [--duration:40s] [--gap:1rem]",t),style:{width:f}}),e.createElement("div",{className:Ce("flex [gap:var(--gap)]",{"flex-row":!i,"flex-col":i})},Array(u).fill(0).map((function(r,t){return e.createElement("div",{key:t,className:Ce("flex shrink-0 justify-around [gap:var(--gap)]",{"animate-marquee flex-row":!i,"animate-marquee-vertical flex-col":i,"group-hover:[animation-play-state:paused]":a,"[animation-direction:reverse]":o})},e.Children.map(l,(function(r,t){return t<e.Children.count(l)-1&&e.createElement("div",{key:t,className:Ce("border border-gray-300 rounded p-2 w-96",b)},r)})))}))))}function Ce(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return se(function(){for(var e,r,t=0,o="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=b(e))&&(o&&(o+=" "),o+=r);return o}(r))}ke.displayName="CarouselNext";export{ge as default}; | ||
import e,{useState as r}from"react";import{Tab as t}from"@headlessui/react";import o from"react-markdown";import n from"embla-carousel-react";import{ChevronLeft as a,ChevronRight as l,ChevronDown as s}from"lucide-react";function i(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=Array(r);t<r;t++)o[t]=e[t];return o}function c(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,r||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)({}).hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},d.apply(null,arguments)}function u(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function m(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?u(Object(t),!0).forEach((function(r){c(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function p(e,r){if(null==e)return{};var t,o,n=function(e,r){if(null==e)return{};var t={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(r.includes(o))continue;t[o]=e[o]}return t}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)t=a[o],r.includes(t)||{}.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}function f(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,a,l,s=[],i=!0,c=!1;try{if(a=(t=t.call(e)).next,0===r);else for(;!(i=(o=a.call(t)).done)&&(s.push(o.value),s.length!==r);i=!0);}catch(e){c=!0,n=e}finally{try{if(!i&&null!=t.return&&(l=t.return(),Object(l)!==l))return}finally{if(c)throw n}}return s}}(e,r)||function(e,r){if(e){if("string"==typeof e)return i(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,r):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e){var r,t,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(t=b(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}const g=e=>{const r=x(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),h(t,r)||y(e)},getConflictingClassGroupIds:(e,r)=>{const n=t[e]||[];return r&&o[e]?[...n,...o[e]]:n}}},h=(e,r)=>{if(0===e.length)return r.classGroupId;const t=e[0],o=r.nextPart.get(t),n=o?h(e.slice(1),o):void 0;if(n)return n;if(0===r.validators.length)return;const a=e.join("-");return r.validators.find((({validator:e})=>e(a)))?.classGroupId},v=/^\[(.+)\]$/,y=e=>{if(v.test(e)){const r=v.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},x=e=>{const{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return E(Object.entries(e.classGroups),t).forEach((([e,t])=>{w(t,o,e,r)})),o},w=(e,r,t,o)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return k(e)?void w(e(o),r,t,o):void r.validators.push({validator:e,classGroupId:t});Object.entries(e).forEach((([e,n])=>{w(n,N(r,e),t,o)}))}else{(""===e?r:N(r,e)).classGroupId=t}}))},N=(e,r)=>{let t=e;return r.split("-").forEach((e=>{t.nextPart.has(e)||t.nextPart.set(e,{nextPart:new Map,validators:[]}),t=t.nextPart.get(e)})),t},k=e=>e.isThemeGetter,E=(e,r)=>r?e.map((([e,t])=>[e,t.map((e=>"string"==typeof e?r+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,t])=>[r+e,t]))):e))])):e,C=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map;const n=(n,a)=>{t.set(n,a),r++,r>e&&(r=0,o=t,t=new Map)};return{get(e){let r=t.get(e);return void 0!==r?r:void 0!==(r=o.get(e))?(n(e,r),r):void 0},set(e,r){t.has(e)?t.set(e,r):n(e,r)}}},j=e=>{const{separator:r,experimentalParseClassName:t}=e,o=1===r.length,n=r[0],a=r.length,l=e=>{const t=[];let l,s=0,i=0;for(let c=0;c<e.length;c++){let d=e[c];if(0===s){if(d===n&&(o||e.slice(c,c+a)===r)){t.push(e.slice(i,c)),i=c+a;continue}if("/"===d){l=c;continue}}"["===d?s++:"]"===d&&s--}const c=0===t.length?e:e.substring(i),d=c.startsWith("!");return{modifiers:t,hasImportantModifier:d,baseClassName:d?c.substring(1):c,maybePostfixModifierPosition:l&&l>i?l-i:void 0}};return t?e=>t({className:e,parseClassName:l}):l},z=e=>{if(e.length<=1)return e;const r=[];let t=[];return e.forEach((e=>{"["===e[0]?(r.push(...t.sort(),e),t=[]):t.push(e)})),r.push(...t.sort()),r},P=/\s+/;function O(){let e,r,t=0,o="";for(;t<arguments.length;)(e=arguments[t++])&&(r=S(e))&&(o&&(o+=" "),o+=r);return o}const S=e=>{if("string"==typeof e)return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=S(e[o]))&&(t&&(t+=" "),t+=r);return t};function I(e,...r){let t,o,n,a=function(s){const i=r.reduce(((e,r)=>r(e)),e());return t=(e=>({cache:C(e.cacheSize),parseClassName:j(e),...g(e)}))(i),o=t.cache.get,n=t.cache.set,a=l,l(s)};function l(e){const r=o(e);if(r)return r;const a=((e,r)=>{const{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,a=[],l=e.trim().split(P);let s="";for(let e=l.length-1;e>=0;e-=1){const r=l[e],{modifiers:i,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:u}=t(r);let m=Boolean(u),p=o(m?d.substring(0,u):d);if(!p){if(!m){s=r+(s.length>0?" "+s:s);continue}if(p=o(d),!p){s=r+(s.length>0?" "+s:s);continue}m=!1}const f=z(i).join(":"),b=c?f+"!":f,g=b+p;if(a.includes(g))continue;a.push(g);const h=n(p,m);for(let e=0;e<h.length;++e){const r=h[e];a.push(b+r)}s=r+(s.length>0?" "+s:s)}return s})(e,t);return n(e,a),a}return function(){return a(O.apply(null,arguments))}}const A=e=>{const r=r=>r[e]||[];return r.isThemeGetter=!0,r},G=/^\[(?:([a-z-]+):)?(.+)\]$/i,R=/^\d+\/\d+$/,M=new Set(["px","full","screen"]),T=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,W=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,D=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,$=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,L=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>H(e)||M.has(e)||R.test(e),q=e=>te(e,"length",oe),H=e=>Boolean(e)&&!Number.isNaN(Number(e)),F=e=>te(e,"number",H),Y=e=>Boolean(e)&&Number.isInteger(Number(e)),_=e=>e.endsWith("%")&&H(e.slice(0,-1)),J=e=>G.test(e),K=e=>T.test(e),U=new Set(["length","size","percentage"]),Q=e=>te(e,U,ne),V=e=>te(e,"position",ne),X=new Set(["image","url"]),Z=e=>te(e,X,le),ee=e=>te(e,"",ae),re=()=>!0,te=(e,r,t)=>{const o=G.exec(e);return!!o&&(o[1]?"string"==typeof r?o[1]===r:r.has(o[1]):t(o[2]))},oe=e=>W.test(e)&&!D.test(e),ne=()=>!1,ae=e=>$.test(e),le=e=>L.test(e),se=I((()=>{const e=A("colors"),r=A("spacing"),t=A("blur"),o=A("brightness"),n=A("borderColor"),a=A("borderRadius"),l=A("borderSpacing"),s=A("borderWidth"),i=A("contrast"),c=A("grayscale"),d=A("hueRotate"),u=A("invert"),m=A("gap"),p=A("gradientColorStops"),f=A("gradientColorStopPositions"),b=A("inset"),g=A("margin"),h=A("opacity"),v=A("padding"),y=A("saturate"),x=A("scale"),w=A("sepia"),N=A("skew"),k=A("space"),E=A("translate"),C=()=>["auto",J,r],j=()=>[J,r],z=()=>["",B,q],P=()=>["auto",H,J],O=()=>["","0",J],S=()=>[H,J];return{cacheSize:500,separator:":",theme:{colors:[re],spacing:[B,q],blur:["none","",K,J],brightness:S(),borderColor:[e],borderRadius:["none","","full",K,J],borderSpacing:j(),borderWidth:z(),contrast:S(),grayscale:O(),hueRotate:S(),invert:O(),gap:j(),gradientColorStops:[e],gradientColorStopPositions:[_,q],inset:C(),margin:C(),opacity:S(),padding:j(),saturate:S(),scale:S(),sepia:O(),skew:S(),space:j(),translate:j()},classGroups:{aspect:[{aspect:["auto","square","video",J]}],container:["container"],columns:[{columns:[K]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",J]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Y,J]}],basis:[{basis:C()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",J]}],grow:[{grow:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",Y,J]}],"grid-cols":[{"grid-cols":[re]}],"col-start-end":[{col:["auto",{span:["full",Y,J]},J]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[re]}],"row-start-end":[{row:["auto",{span:[Y,J]},J]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",J]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",J]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",J,r]}],"min-w":[{"min-w":[J,r,"min","max","fit"]}],"max-w":[{"max-w":[J,r,"none","full","min","max","fit","prose",{screen:[K]},K]}],h:[{h:[J,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[J,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[J,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[J,r,"auto","min","max","fit"]}],"font-size":[{text:["base",K,q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",F]}],"font-family":[{font:[re]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",J]}],"line-clamp":[{"line-clamp":["none",H,F]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,J]}],"list-image":[{"list-image":["none",J]}],"list-style-type":[{list:["none","disc","decimal",J]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,q]}],"underline-offset":[{"underline-offset":["auto",B,J]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",J]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",J]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",V]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Q]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Z]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[B,J]}],"outline-w":[{outline:[B,q]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[B,q]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",K,ee]}],"shadow-color":[{shadow:[re]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",K,J]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[u]}],saturate:[{saturate:[y]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",J]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",J]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",J]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[Y,J]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",J]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",J]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",J]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[B,q,F]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}));var ie=["orientation","opts","setApi","plugins","className","children"],ce=["className"],de=["className"],ue=["className"],me=["className"],pe=["className","reverse","pauseOnHover","children","vertical","repeat","width","itemClassName"],fe=function(n){var a=n.data,l=n.customClassNames,i=void 0===l?{}:l,c=a.type,d=a.text,u=a.url,m=a.source,p=a.children,b=a.layout,g=a.rolling,h=a.folding,v=f(r(!1),2),y=v[0],x=v[1],w=function(){switch(c){case"image":return e.createElement("div",{className:Ce("flex justify-center items-center",i.imageWrapper||"")},e.createElement("img",{src:m,alt:d,className:Ce("max-w-full object-contain",i.image||"")}));case"title":return e.createElement("h2",{className:"text-xl font-bold mb-2 ".concat(i.title||"")},d);case"subtitle":return e.createElement("h3",{className:"text-sm font-medium text-secondary mb-2 ".concat(i.subtitle||"")},d);case"header":return e.createElement("h1",{className:"text-2xl font-bold mb-4 ".concat(i.header||"")},d);case"subheader":return e.createElement("h2",{className:"text-sm font-medium text-secondary mb-2 ".concat(i.subheader||"")},d);case"text":return e.createElement(o,{className:"mb-4 ".concat(i.text||"")},d);case"circledText":return e.createElement("div",{className:"flex items-center gap-2 ".concat(i.circledTextWrapper||"")},e.createElement("span",{className:"w-4 h-4 rounded-full inline-block ".concat(i.circle||"bg-gray-400")}),e.createElement("p",{className:i.circledText||""},d));case"button":return e.createElement("button",{className:"".concat(i.btn||"text-black"," ")},d);case"TESTIMONIAL":case"testimonial":case"gallery":case"GALLERY":return e.createElement(e.Fragment,null,g?e.createElement(Ee,{width:"100%"},p.map((function(r,t){return e.createElement(fe,{data:r,customClassNames:i})}))," "):e.createElement(ye,{opts:{loop:!0}},e.createElement(xe,null,p.map((function(r,t){return e.createElement(we,{className:"md:basis-1/2 lg:basis-1/3"},e.createElement("div",{className:Ce("p-4 border rounded-lg h-full flex flex-col justify-between",i.containerCarousal||"")},r.children.map((function(r,t){return e.createElement("div",{key:t,className:"mb-2"},e.createElement(fe,{data:r,customClassNames:i}))}))))}))),e.createElement("div",{className:"flex items-center justify-center gap-3 py-3"},e.createElement(Ne,{className:"cursor-pointer"}),e.createElement(ke,{className:"cursor-pointer"}))));case"video":if(m.includes("youtube.com")||m.includes("youtu.be")){var r=be(m);return e.createElement("div",{className:"aspect-w-16 aspect-h-9 mb-4 ".concat(i.videoWrapper||"")},e.createElement("iframe",{src:"https://www.youtube.com/embed/".concat(r),title:"".concat(r),frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"w-full h-full ".concat(i.video||"")}))}return e.createElement("video",{controls:!0,className:"w-full mb-4 ".concat(i.video||"")},e.createElement("source",{src:m,type:"video/mp4"}),"Your browser does not support the video tag.");case"card":case"CARD":if("tab"===b&&p)return e.createElement(t.Group,null,e.createElement(t.List,{className:"flex space-x-1 rounded-xl bg-white border p-1 ".concat(i.tabList||"")},p.map((function(r,o){return e.createElement(t,{key:o,className:function(e){var r=e.selected;return"w-full rounded-lg py-2.5 text-sm font-medium leading-5\n ".concat(r?"bg-black/[0.12] focus:outline-none ".concat(i.tabSelected||""):"hover:bg-black/[0.12] hover:text-black ".concat(i.tab||""))}},r.text)}))),e.createElement(t.Panels,{className:"mt-2 ".concat(i.tabPanels||"")},p.map((function(r,o){return e.createElement(t.Panel,{key:o,className:"rounded-xl bg-white p-3 ".concat(i.tabPanel||"")},e.createElement(fe,{data:r,customClassNames:i}))}))));if(h&&p){var n=p.find((function(e){return["title","header","subheader"].includes(e.type)}))||p[0];return e.createElement("div",{className:Ce("border rounded-lg overflow-hidden w-full",i.accordionWrapper||"")},e.createElement("button",{onClick:function(){return x(!y)},className:Ce("w-full flex justify-between items-center p-2 bg-gray-100 hover:bg-gray-200 transition-colors duration-300",i.accordionButton||"")},e.createElement("div",{className:Ce("flex-grow text-left",i.accordionHeaderWrapper||"")},e.createElement(fe,{data:n,customClassNames:i})),e.createElement(s,{className:Ce("w-5 h-5 text-gray-600 transition-transform duration-300",y?"rotate-180":"",i.accordionIcon||"")})),e.createElement("div",{className:Ce("grid transition-all duration-300 ease-in-out",y?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0",i.accordionContent||"")},e.createElement("div",{className:"overflow-hidden"},e.createElement("div",{className:"p-4"},p.slice(1).map((function(r,t){return e.createElement(fe,{key:t,data:r,customClassNames:i})}))))))}if(p){var l="-"===b?"md:!flex-row":"md:!flex-col";return e.createElement("div",{className:Ce("flex flex-col",l,"gap-4",i.cardGroup)},p.map((function(r,t){return e.createElement(fe,{key:t,data:r,customClassNames:i})})))}return null;default:return e.createElement("p",{className:"mb-4 ".concat(i.default||"")},JSON.stringify(a))}}();return u?e.createElement("a",{href:u,className:"block hover:opacity-80 transition-opacity duration-300 ".concat(i.link||"")},w):w},be=function(e){var r=e.match(/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/);return r?r[1]:null},ge=function(r){var t=r.content,o=r.canvasType,n=void 0!==o&&o,a=r.customClassNames,l=void 0===a?{}:a,s=r.wrapperClassName,i=void 0===s?"":s,c=Array.isArray(t);return n?e.createElement("div",{className:Ce("w-full max-w-[1200px] mx-auto",i)},c?e.createElement("div",{className:"space-y-8"},t.map((function(r,t){return e.createElement("div",{key:t,className:"mb-8"},e.createElement(CanvasCard,{data:r,customClassNames:l}))}))):e.createElement(CanvasCard,{data:t,customClassNames:l})):e.createElement("div",{className:i},c?t.map((function(r,t){return e.createElement(fe,{key:t,data:r,customClassNames:l})})):e.createElement(fe,{data:t,customClassNames:l}))},he=e.createContext(null);function ve(){var r=e.useContext(he);if(!r)throw new Error("useCarousel must be used within a <Carousel />");return r}var ye=e.forwardRef((function(r,t){var o=r.orientation,a=void 0===o?"horizontal":o,l=r.opts,s=r.setApi,i=r.plugins,c=r.className,u=r.children,b=p(r,ie),g=f(n(m(m({},l),{},{axis:"horizontal"===a?"x":"y"}),i),2),h=g[0],v=g[1],y=f(e.useState(!1),2),x=y[0],w=y[1],N=f(e.useState(!1),2),k=N[0],E=N[1],C=e.useCallback((function(e){e&&(w(e.canScrollPrev()),E(e.canScrollNext()))}),[]),j=e.useCallback((function(){null==v||v.scrollPrev()}),[v]),z=e.useCallback((function(){null==v||v.scrollNext()}),[v]),P=e.useCallback((function(e){"ArrowLeft"===e.key?(e.preventDefault(),j()):"ArrowRight"===e.key&&(e.preventDefault(),z())}),[j,z]);return e.useEffect((function(){v&&s&&s(v)}),[v,s]),e.useEffect((function(){if(v)return C(v),v.on("reInit",C),v.on("select",C),function(){null==v||v.off("select",C)}}),[v,C]),e.createElement(he.Provider,{value:{carouselRef:h,api:v,opts:l,orientation:a||("y"===(null==l?void 0:l.axis)?"vertical":"horizontal"),scrollPrev:j,scrollNext:z,canScrollPrev:x,canScrollNext:k}},e.createElement("div",d({ref:t,onKeyDownCapture:P,className:Ce("relative",c),role:"region","aria-roledescription":"carousel"},b),u))}));ye.displayName="Carousel";var xe=e.forwardRef((function(r,t){var o=r.className,n=p(r,ce),a=ve(),l=a.carouselRef,s=a.orientation;return e.createElement("div",{ref:l,className:"overflow-hidden"},e.createElement("div",d({ref:t,className:Ce("flex","horizontal"===s?"-ml-4":"-mt-4 flex-col",o)},n)))}));xe.displayName="CarouselContent";var we=e.forwardRef((function(r,t){var o=r.className,n=p(r,de);return e.createElement("div",d({ref:t,role:"group","aria-roledescription":"slide",className:Ce("min-w-0 shrink-0 grow-0 basis-full pl-4",o)},n))}));we.displayName="CarouselItem";var Ne=e.forwardRef((function(r,t){var o=r.className,n=p(r,ue),l=ve(),s=l.scrollPrev,i=l.canScrollPrev;return e.createElement("button",d({ref:t,className:Ce("border border-black h-8 w-8 rounded-full flex items-center justify-center",o),disabled:!i,onClick:s},n),e.createElement(a,{className:"h-4 w-4 text-black"}),e.createElement("span",{className:"sr-only"},"Previous slide"))}));Ne.displayName="CarouselPrevious";var ke=e.forwardRef((function(r,t){var o=r.className,n=p(r,me),a=ve(),s=a.scrollNext,i=a.canScrollNext;return e.createElement("button",d({ref:t,className:Ce("border border-black h-8 w-8 rounded-full flex items-center justify-center",o),disabled:!i,onClick:s},n),e.createElement(l,{className:"h-4 w-4 text-black"}),e.createElement("span",{className:"sr-only"},"Next slide"))}));function Ee(r){var t=r.className,o=r.reverse,n=r.pauseOnHover,a=void 0!==n&&n,l=r.children,s=r.vertical,i=void 0!==s&&s,c=r.repeat,u=void 0===c?4:c,m=r.width,f=void 0===m?"100%":m,b=r.itemClassName,g=p(r,pe);return e.createElement("div",d({},g,{className:Ce("group overflow-hidden p-2 [--duration:40s] [--gap:1rem]",t),style:{width:f}}),e.createElement("div",{className:Ce("flex [gap:var(--gap)]",{"flex-row":!i,"flex-col":i})},Array(u).fill(0).map((function(r,t){return e.createElement("div",{key:t,className:Ce("flex shrink-0 justify-around [gap:var(--gap)]",{"animate-marquee flex-row":!i,"animate-marquee-vertical flex-col":i,"group-hover:[animation-play-state:paused]":a,"[animation-direction:reverse]":o})},e.Children.map(l,(function(r,t){return t<e.Children.count(l)-1&&e.createElement("div",{key:t,className:Ce("border border-gray-300 rounded p-2 w-96",b)},r)})))}))))}function Ce(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return se(function(){for(var e,r,t=0,o="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=b(e))&&(o&&(o+=" "),o+=r);return o}(r))}ke.displayName="CarouselNext";export{ge as default}; |
{ | ||
"name": "flex-card", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "A React component for rendering e-cards with Tailwind CSS.", |
@@ -5,3 +5,3 @@ # Flex Card | ||
**Version**: 2.0.4 | ||
**Version**: 2.0.5 | ||
@@ -8,0 +8,0 @@ **Author**: Nouman Azam |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
81181
256