@mgcrea/react-native-tailwind 0.15.2 → 0.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/runtime.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";var I=Object.defineProperty,Ot=Object.defineProperties,Mt=Object.getOwnPropertyDescriptor,Ct=Object.getOwnPropertyDescriptors,Wt=Object.getOwnPropertyNames,Z=Object.getOwnPropertySymbols;var J=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable;var q=(t,e,o)=>e in t?I(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,h=(t,e)=>{for(var o in e||(e={}))J.call(e,o)&&q(t,o,e[o]);if(Z)for(var o of Z(e))Et.call(e,o)&&q(t,o,e[o]);return t},Q=(t,e)=>Ot(t,Ct(e));var Nt=(t,e)=>{for(var o in e)I(t,o,{get:e[o],enumerable:!0})},Tt=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Wt(e))!J.call(t,i)&&i!==o&&I(t,i,{get:()=>e[i],enumerable:!(r=Mt(e,i))||r.enumerable});return t};var At=t=>Tt(I({},"__esModule",{value:!0}),t);var Me={};Nt(Me,{clearCache:()=>Se,getCacheStats:()=>Re,getCustomColors:()=>xe,getCustomTheme:()=>me,setConfig:()=>he,tw:()=>we,twStyle:()=>Oe});module.exports=At(Me);var _t=new Set(["transform"]);function tt(t,e){for(let o in e)if(Object.prototype.hasOwnProperty.call(e,o)){let r=e[o];if(_t.has(o)&&Array.isArray(r)){let i=t[o];Array.isArray(i)?t[o]=[...i,...r]:t[o]=r}else t[o]=r}return t}var et={"aspect-auto":void 0,"aspect-square":1,"aspect-video":1.7777777777777777};function It(t){let e=t.match(/^\[(\d+)\/(\d+)\]$/);if(e){let o=Number.parseInt(e[1],10),r=Number.parseInt(e[2],10);return r===0?(process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Invalid aspect ratio: ${t}. Denominator cannot be zero.`),null):o/r}return null}function j(t){if(!t.startsWith("aspect-"))return null;if(t in et){let r=et[t];return r===void 0?{aspectRatio:void 0}:{aspectRatio:r}}let e=t.substring(7),o=It(e);return o!==null?{aspectRatio:o}:null}var rt={red:{50:"#fef2f2",100:"#ffe2e2",200:"#ffc9c9",300:"#ffa2a2",400:"#ff6467",500:"#fb2c36",600:"#e7000b",700:"#c10007",800:"#9f0712",900:"#82181a",950:"#460809"},orange:{50:"#fff7ed",100:"#ffedd4",200:"#ffd6a7",300:"#ffb86a",400:"#ff8904",500:"#ff6900",600:"#f54900",700:"#ca3500",800:"#9f2d00",900:"#7e2a0c",950:"#441306"},amber:{50:"#fffbeb",100:"#fef3c6",200:"#fee685",300:"#ffd230",400:"#ffb900",500:"#fe9a00",600:"#e17100",700:"#bb4d00",800:"#973c00",900:"#7b3306",950:"#461901"},yellow:{50:"#fefce8",100:"#fef9c2",200:"#fff085",300:"#ffdf20",400:"#fdc700",500:"#f0b100",600:"#d08700",700:"#a65f00",800:"#894b00",900:"#733e0a",950:"#432004"},lime:{50:"#f7fee7",100:"#ecfcca",200:"#d8f999",300:"#bbf451",400:"#9ae600",500:"#7ccf00",600:"#5ea500",700:"#497d00",800:"#3c6300",900:"#35530e",950:"#192e03"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#b9f8cf",300:"#7bf1a8",400:"#05df72",500:"#00c950",600:"#00a63e",700:"#008236",800:"#016630",900:"#0d542b",950:"#032e15"},emerald:{50:"#ecfdf5",100:"#d0fae5",200:"#a4f4cf",300:"#5ee9b5",400:"#00d492",500:"#00bc7d",600:"#009966",700:"#007a55",800:"#006045",900:"#004f3b",950:"#002c22"},teal:{50:"#f0fdfa",100:"#cbfbf1",200:"#96f7e4",300:"#46ecd5",400:"#00d5be",500:"#00bba7",600:"#009689",700:"#00786f",800:"#005f5a",900:"#0b4f4a",950:"#022f2e"},cyan:{50:"#ecfeff",100:"#cefafe",200:"#a2f4fd",300:"#53eafd",400:"#00d3f2",500:"#00b8db",600:"#0092b8",700:"#007595",800:"#005f78",900:"#104e64",950:"#053345"},sky:{50:"#f0f9ff",100:"#dff2fe",200:"#b8e6fe",300:"#74d4ff",400:"#00bcff",500:"#00a6f4",600:"#0084d1",700:"#0069a8",800:"#00598a",900:"#024a70",950:"#052f4a"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bedbff",300:"#8ec5ff",400:"#51a2ff",500:"#2b7fff",600:"#155dfc",700:"#1447e6",800:"#193cb8",900:"#1c398e",950:"#162456"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c6d2ff",300:"#a3b3ff",400:"#7c86ff",500:"#615fff",600:"#4f39f6",700:"#432dd7",800:"#372aac",900:"#312c85",950:"#1e1a4d"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6ff",300:"#c4b4ff",400:"#a684ff",500:"#8e51ff",600:"#7f22fe",700:"#7008e7",800:"#5d0ec0",900:"#4d179a",950:"#2f0d68"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d4ff",300:"#dab2ff",400:"#c27aff",500:"#ad46ff",600:"#9810fa",700:"#8200db",800:"#6e11b0",900:"#59168b",950:"#3c0366"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f6cfff",300:"#f4a8ff",400:"#ed6aff",500:"#e12afb",600:"#c800de",700:"#a800b7",800:"#8a0194",900:"#721378",950:"#4b004f"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fccee8",300:"#fda5d5",400:"#fb64b6",500:"#f6339a",600:"#e60076",700:"#c6005c",800:"#a3004c",900:"#861043",950:"#510424"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#ffccd3",300:"#ffa1ad",400:"#ff637e",500:"#ff2056",600:"#ec003f",700:"#c70036",800:"#a50036",900:"#8b0836",950:"#4d0218"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cad5e2",400:"#90a1b9",500:"#62748e",600:"#45556c",700:"#314158",800:"#1d293d",900:"#0f172b",950:"#020618"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5dc",400:"#99a1af",500:"#6a7282",600:"#4a5565",700:"#364153",800:"#1e2939",900:"#101828",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#9f9fa9",500:"#71717b",600:"#52525c",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a1a1a1",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a6a09b",500:"#79716b",600:"#57534d",700:"#44403b",800:"#292524",900:"#1c1917",950:"#0c0a09"}};function T(t,e=""){let o={};for(let[r,i]of Object.entries(t)){let n=r==="DEFAULT"&&e?e:e?`${e}-${r}`:r;typeof i=="string"?o[n]=i:typeof i=="object"&&i!==null&&Object.assign(o,T(i,n))}return o}var $t=Q(h({},T(rt)),{white:"#FFFFFF",black:"#000000",transparent:"transparent"});function nt(t,e){if(t==="transparent")return"transparent";let o=t.replace(/^#/,""),r=o.length===3?o.split("").map(s=>s+s).join(""):o,n=Math.round(e/100*255).toString(16).padStart(2,"0").toUpperCase();return`#${r.toUpperCase()}${n}`}function it(t){let e=t.match(/^\[#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})\]$/);if(e){let o=e[1];return o.length===3?`#${o.split("").map(i=>i+i).join("")}`:`#${o}`}return t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary color value: ${t}. Only hex colors are supported (e.g., [#ff0000], [#f00], or [#ff0000aa]).`),null}function M(t,e){let o=n=>{var s;return(s=e==null?void 0:e[n])!=null?s:$t[n]},r=n=>{var f;let s=n.match(/^(.+)\/(\d+)$/);if(s){let g=s[1],d=Number.parseInt(s[2],10);if(d<0||d>100)return process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Invalid opacity value: ${d}. Opacity must be between 0 and 100.`),null;let b=it(g);if(b!==null)return nt(b,d);let p=o(g);return p?nt(p,d):null}let a=it(n);return a!==null?a:(f=o(n))!=null?f:null};if(t.startsWith("bg-")){let n=t.substring(3);if(n.startsWith("[")&&!n.startsWith("[#"))return null;let s=r(n);if(s)return{backgroundColor:s}}if(t.startsWith("text-")){let n=t.substring(5);if(n.startsWith("[")&&!n.startsWith("[#"))return null;let s=r(n);if(s)return{color:s}}if(t.startsWith("border-")&&!t.match(/^border-[0-9]/)){let n=t.substring(7);if(n.startsWith("[")&&!n.startsWith("[#"))return null;let s=r(n);if(s)return{borderColor:s}}let i=t.match(/^border-([trblxy])-(.+)$/);if(i){let n=i[1],s=i[2];if(s.startsWith("[")&&!s.startsWith("[#"))return null;let a=r(s);if(a)return n==="x"?{borderLeftColor:a,borderRightColor:a}:n==="y"?{borderTopColor:a,borderBottomColor:a}:{[{t:"borderTopColor",r:"borderRightColor",b:"borderBottomColor",l:"borderLeftColor"}[n]]:a}}return null}var ot={"":1,0:0,2:2,4:4,8:8},A={none:0,sm:2,"":4,md:6,lg:8,xl:12,"2xl":16,"3xl":24,full:9999},st={t:"borderTopWidth",r:"borderRightWidth",b:"borderBottomWidth",l:"borderLeftWidth",s:"borderStartWidth",e:"borderEndWidth"},at={tl:"borderTopLeftRadius",tr:"borderTopRightRadius",bl:"borderBottomLeftRadius",br:"borderBottomRightRadius"},ft={ss:"borderTopStartRadius",se:"borderTopEndRadius",es:"borderBottomStartRadius",ee:"borderBottomEndRadius"},vt={t:["borderTopLeftRadius","borderTopRightRadius"],r:["borderTopRightRadius","borderBottomRightRadius"],b:["borderBottomLeftRadius","borderBottomRightRadius"],l:["borderTopLeftRadius","borderBottomLeftRadius"],s:["borderTopStartRadius","borderBottomStartRadius"],e:["borderTopEndRadius","borderBottomEndRadius"]};function lt(t){let e=t.match(/^\[(\d+)(?:px)?\]$/);return e?parseInt(e[1],10):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary border width value: ${t}. Only px values are supported (e.g., [8px] or [8]).`),null)}function $(t){let e=t.match(/^\[(\d+)(?:px)?\]$/);return e?parseInt(e[1],10):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary border radius value: ${t}. Only px values are supported (e.g., [12px] or [12]).`),null)}function P(t,e){return t==="border-solid"?{borderStyle:"solid"}:t==="border-dotted"?{borderStyle:"dotted"}:t==="border-dashed"?{borderStyle:"dashed"}:t.startsWith("border-")?jt(t,e):t==="border"?{borderWidth:1}:t.startsWith("rounded")?Pt(t):null}function jt(t,e){let o=t.match(/^border-([trblse])(?:-(.+))?$/);if(o){let n=o[1],s=o[2]||"";if(s&&n!=="s"&&n!=="e"&&M(t,e)!==null)return null;if(s.startsWith("[")){let f=lt(s);return f!==null?{[st[n]]:f}:null}let a=ot[s];return a!==void 0?{[st[n]]:a}:null}let r=t.match(/^border-(\d+)$/);if(r){let n=ot[r[1]];if(n!==void 0)return{borderWidth:n}}let i=t.match(/^border-(\[.+\])$/);if(i){let n=lt(i[1]);if(n!==null)return{borderWidth:n}}return null}function Pt(t){let e=t.substring(7);if(e==="")return{borderRadius:A[""]};if(!e.startsWith("-"))return null;let o=e.substring(1);if(o==="")return null;let r=o.match(/^(tl|tr|bl|br)(?:-(.+))?$/);if(r){let a=r[1],f=r[2]||"";if(f.startsWith("[")){let d=$(f);return d!==null?{[at[a]]:d}:null}let g=A[f];return g!==void 0?{[at[a]]:g}:null}let i=o.match(/^(ss|se|es|ee)(?:-(.+))?$/);if(i){let a=i[1],f=i[2]||"";if(f.startsWith("[")){let d=$(f);return d!==null?{[ft[a]]:d}:null}let g=A[f];return g!==void 0?{[ft[a]]:g}:null}let n=o.match(/^([trblse])(?:-(.+))?$/);if(n){let a=n[1],f=n[2]||"",g;if(f.startsWith("[")){let d=$(f);if(d!==null)g=d;else return null}else g=A[f];if(g!==void 0){let d={};return vt[a].forEach(b=>d[b]=g),d}return null}if(o.startsWith("[")){let a=$(o);return a!==null?{borderRadius:a}:null}let s=A[o];return s!==void 0?{borderRadius:s}:null}function S(t){let e=t.match(/^\[(-?\d+)(?:px)?\]$/);if(e)return parseInt(e[1],10);let o=t.match(/^\[(-?\d+(?:\.\d+)?)%\]$/);return o?`${o[1]}%`:(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary inset unit: ${t}. Only px and % are supported.`),null)}function Vt(t){let e=t.match(/^\[(-?\d+)\]$/);return e?parseInt(e[1],10):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Invalid arbitrary z-index: ${t}. Only integers are supported.`),null)}function ct(t){let e=t.match(/^\[(\d+(?:\.\d+)?|\.\d+)\]$/);return e?parseFloat(e[1]):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Invalid arbitrary grow/shrink value: ${t}. Only non-negative numbers are supported (e.g., [1.5], [2], [0.5], [.5]).`),null)}var Dt={flex:{display:"flex"},hidden:{display:"none"}},kt={"flex-row":{flexDirection:"row"},"flex-row-reverse":{flexDirection:"row-reverse"},"flex-col":{flexDirection:"column"},"flex-col-reverse":{flexDirection:"column-reverse"}},Lt={"flex-wrap":{flexWrap:"wrap"},"flex-wrap-reverse":{flexWrap:"wrap-reverse"},"flex-nowrap":{flexWrap:"nowrap"}},zt={"flex-1":{flex:1},"flex-auto":{flex:1},"flex-none":{flex:0}},Ft={grow:{flexGrow:1},"grow-0":{flexGrow:0},shrink:{flexShrink:1},"shrink-0":{flexShrink:0},"flex-grow":{flexGrow:1},"flex-grow-0":{flexGrow:0},"flex-shrink":{flexShrink:1},"flex-shrink-0":{flexShrink:0}},Kt={"justify-start":{justifyContent:"flex-start"},"justify-end":{justifyContent:"flex-end"},"justify-center":{justifyContent:"center"},"justify-between":{justifyContent:"space-between"},"justify-around":{justifyContent:"space-around"},"justify-evenly":{justifyContent:"space-evenly"}},Bt={"items-start":{alignItems:"flex-start"},"items-end":{alignItems:"flex-end"},"items-center":{alignItems:"center"},"items-baseline":{alignItems:"baseline"},"items-stretch":{alignItems:"stretch"}},Ht={"self-auto":{alignSelf:"auto"},"self-start":{alignSelf:"flex-start"},"self-end":{alignSelf:"flex-end"},"self-center":{alignSelf:"center"},"self-stretch":{alignSelf:"stretch"},"self-baseline":{alignSelf:"baseline"}},Ut={"content-start":{alignContent:"flex-start"},"content-end":{alignContent:"flex-end"},"content-center":{alignContent:"center"},"content-between":{alignContent:"space-between"},"content-around":{alignContent:"space-around"},"content-stretch":{alignContent:"stretch"}},Gt={absolute:{position:"absolute"},relative:{position:"relative"}},Xt={"overflow-hidden":{overflow:"hidden"},"overflow-visible":{overflow:"visible"},"overflow-scroll":{overflow:"scroll"}},Yt={"opacity-0":{opacity:0},"opacity-5":{opacity:.05},"opacity-10":{opacity:.1},"opacity-15":{opacity:.15},"opacity-20":{opacity:.2},"opacity-25":{opacity:.25},"opacity-30":{opacity:.3},"opacity-35":{opacity:.35},"opacity-40":{opacity:.4},"opacity-45":{opacity:.45},"opacity-50":{opacity:.5},"opacity-55":{opacity:.55},"opacity-60":{opacity:.6},"opacity-65":{opacity:.65},"opacity-70":{opacity:.7},"opacity-75":{opacity:.75},"opacity-80":{opacity:.8},"opacity-85":{opacity:.85},"opacity-90":{opacity:.9},"opacity-95":{opacity:.95},"opacity-100":{opacity:1}},Zt={0:0,10:10,20:20,30:30,40:40,50:50,auto:0},dt={0:0,.5:2,1:4,1.5:6,2:8,2.5:10,3:12,3.5:14,4:16,5:20,6:24,8:32,10:40,12:48,16:64,20:80,24:96};function V(t,e){var n,s,a,f,g,d,b,p,y,R,X,Y;let o=e?h(h({},dt),e):dt;if(t.startsWith("z-")){let u=t.substring(2),c=Vt(u);if(c!==null)return{zIndex:c};let l=Zt[u];if(l!==void 0)return{zIndex:l}}if(t.startsWith("top-")){let u=t.substring(4);if(u==="auto")return{};let c=S(u);if(c!==null)return{top:c};let l=o[u];if(l!==void 0)return{top:l}}if(t.startsWith("right-")){let u=t.substring(6);if(u==="auto")return{};let c=S(u);if(c!==null)return{right:c};let l=o[u];if(l!==void 0)return{right:l}}if(t.startsWith("bottom-")){let u=t.substring(7);if(u==="auto")return{};let c=S(u);if(c!==null)return{bottom:c};let l=o[u];if(l!==void 0)return{bottom:l}}if(t.startsWith("left-")){let u=t.substring(5);if(u==="auto")return{};let c=S(u);if(c!==null)return{left:c};let l=o[u];if(l!==void 0)return{left:l}}let r=t.match(/^(-?)start-(.+)$/);if(r){let[,u,c]=r,l=u==="-";if(c==="auto")return{};let x=S(c);if(x!==null)return typeof x=="number"?{start:l?-x:x}:l&&x.endsWith("%")?{start:`${-parseFloat(x)}%`}:{start:x};let w=o[c];if(w!==void 0)return{start:l?-w:w}}let i=t.match(/^(-?)end-(.+)$/);if(i){let[,u,c]=i,l=u==="-";if(c==="auto")return{};let x=S(c);if(x!==null)return typeof x=="number"?{end:l?-x:x}:l&&x.endsWith("%")?{end:`${-parseFloat(x)}%`}:{end:x};let w=o[c];if(w!==void 0)return{end:l?-w:w}}if(t.startsWith("inset-x-")){let u=t.substring(8),c=S(u);if(c!==null)return{left:c,right:c};let l=o[u];if(l!==void 0)return{left:l,right:l}}if(t.startsWith("inset-y-")){let u=t.substring(8),c=S(u);if(c!==null)return{top:c,bottom:c};let l=o[u];if(l!==void 0)return{top:l,bottom:l}}if(t.startsWith("inset-s-")){let u=t.substring(8),c=S(u);if(c!==null)return{start:c};let l=o[u];if(l!==void 0)return{start:l}}if(t.startsWith("inset-e-")){let u=t.substring(8),c=S(u);if(c!==null)return{end:c};let l=o[u];if(l!==void 0)return{end:l}}if(t.startsWith("inset-")){let u=t.substring(6),c=S(u);if(c!==null)return{top:c,right:c,bottom:c,left:c};let l=o[u];if(l!==void 0)return{top:l,right:l,bottom:l,left:l}}if(t.startsWith("grow-")||t.startsWith("flex-grow-")){let u=t.startsWith("flex-grow-")?"flex-grow-":"grow-",c=t.substring(u.length),l=ct(c);if(l!==null)return{flexGrow:l}}if(t.startsWith("shrink-")||t.startsWith("flex-shrink-")){let u=t.startsWith("flex-shrink-")?"flex-shrink-":"shrink-",c=t.substring(u.length),l=ct(c);if(l!==null)return{flexShrink:l}}return(Y=(X=(R=(y=(p=(b=(d=(g=(f=(a=(s=(n=Dt[t])!=null?n:kt[t])!=null?s:Lt[t])!=null?a:zt[t])!=null?f:Ft[t])!=null?g:Kt[t])!=null?d:Bt[t])!=null?b:Ht[t])!=null?p:Ut[t])!=null?y:Gt[t])!=null?R:Xt[t])!=null?X:Yt[t])!=null?Y:null}var ut={"shadow-sm":{shadowColor:"#000000",shadowOffset:{width:0,height:1},shadowOpacity:.05,shadowRadius:1,elevation:1},shadow:{shadowColor:"#000000",shadowOffset:{width:0,height:1},shadowOpacity:.1,shadowRadius:2,elevation:2},"shadow-md":{shadowColor:"#000000",shadowOffset:{width:0,height:3},shadowOpacity:.15,shadowRadius:4,elevation:4},"shadow-lg":{shadowColor:"#000000",shadowOffset:{width:0,height:6},shadowOpacity:.2,shadowRadius:8,elevation:8},"shadow-xl":{shadowColor:"#000000",shadowOffset:{width:0,height:10},shadowOpacity:.25,shadowRadius:12,elevation:12},"shadow-2xl":{shadowColor:"#000000",shadowOffset:{width:0,height:20},shadowOpacity:.3,shadowRadius:24,elevation:16},"shadow-none":{shadowColor:"transparent",shadowOffset:{width:0,height:0},shadowOpacity:0,shadowRadius:0,elevation:0}};function D(t){return t in ut?ut[t]:null}var k="{{RUNTIME:dimensions.";var pt={0:0,.5:2,1:4,1.5:6,2:8,2.5:10,3:12,3.5:14,4:16,5:20,6:24,7:28,8:32,9:36,10:40,11:44,12:48,14:56,16:64,20:80,24:96,28:112,32:128,36:144,40:160,44:176,48:192,52:208,56:224,60:240,64:256,72:288,80:320,96:384},C={full:"100%","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%"};function W(t){let e=t.match(/^\[(\d+)(?:px)?\]$/);if(e)return parseInt(e[1],10);let o=t.match(/^\[(\d+(?:\.\d+)?)%\]$/);return o?`${o[1]}%`:(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary size unit: ${t}. Only px and % are supported.`),null)}function L(t,e){let o=e?h(h({},pt),e):pt;if(t.startsWith("w-")){let r=t.substring(2);if(r==="screen")return{width:`${k}width}}`};let i=W(r);if(i!==null)return{width:i};let n=C[r];if(n)return{width:n};let s=o[r];if(s!==void 0)return{width:s};if(r==="auto")return{width:"auto"}}if(t.startsWith("h-")){let r=t.substring(2);if(r==="screen")return{height:`${k}height}}`};let i=W(r);if(i!==null)return{height:i};let n=C[r];if(n)return{height:n};let s=o[r];if(s!==void 0)return{height:s};if(r==="auto")return{height:"auto"}}if(t.startsWith("min-w-")){let r=t.substring(6),i=W(r);if(i!==null)return{minWidth:i};let n=C[r];if(n)return{minWidth:n};let s=o[r];if(s!==void 0)return{minWidth:s}}if(t.startsWith("min-h-")){let r=t.substring(6),i=W(r);if(i!==null)return{minHeight:i};let n=C[r];if(n)return{minHeight:n};let s=o[r];if(s!==void 0)return{minHeight:s}}if(t.startsWith("max-w-")){let r=t.substring(6),i=W(r);if(i!==null)return{maxWidth:i};let n=C[r];if(n)return{maxWidth:n};let s=o[r];if(s!==void 0)return{maxWidth:s}}if(t.startsWith("max-h-")){let r=t.substring(6),i=W(r);if(i!==null)return{maxHeight:i};let n=C[r];if(n)return{maxHeight:n};let s=o[r];if(s!==void 0)return{maxHeight:s}}return null}var _={0:0,.5:2,1:4,1.5:6,2:8,2.5:10,3:12,3.5:14,4:16,5:20,6:24,7:28,8:32,9:36,10:40,11:44,12:48,14:56,16:64,20:80,24:96,28:112,32:128,36:144,40:160,44:176,48:192,52:208,56:224,60:240,64:256,72:288,80:320,96:384};function z(t){let e=t.match(/^\[(-?\d+(?:\.\d+)?)(?:px)?\]$/);return e?parseFloat(e[1]):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary spacing value: ${t}. Only px values are supported (e.g., [16px], [16], [4.5px], [4.5]).`),null)}function K(t,e){let o=e?h(h({},_),e):_,r=t.match(/^m([xytrblse]?)-auto$/);if(r){let a=r[1];return F(a,"auto")}let i=t.match(/^(-?)m([xytrblse]?)-(.+)$/);if(i){let[,a,f,g]=i,d=a==="-",b=z(g);if(b!==null){let y=d?-b:b;return F(f,y)}let p=o[g];if(p!==void 0){let y=d?-p:p;return F(f,y)}}let n=t.match(/^p([xytrblse]?)-(.+)$/);if(n){let[,a,f]=n,g=z(f);if(g!==null)return gt(a,g);let d=o[f];if(d!==void 0)return gt(a,d)}let s=t.match(/^gap-(.+)$/);if(s){let a=s[1],f=z(a);if(f!==null)return{gap:f};let g=o[a];if(g!==void 0)return{gap:g}}return null}function F(t,e){switch(t){case"":return{margin:e};case"x":return{marginHorizontal:e};case"y":return{marginVertical:e};case"t":return{marginTop:e};case"r":return{marginRight:e};case"b":return{marginBottom:e};case"l":return{marginLeft:e};case"s":return{marginStart:e};case"e":return{marginEnd:e};default:return{}}}function gt(t,e){switch(t){case"":return{padding:e};case"x":return{paddingHorizontal:e};case"y":return{paddingVertical:e};case"t":return{paddingTop:e};case"r":return{paddingRight:e};case"b":return{paddingBottom:e};case"l":return{paddingLeft:e};case"s":return{paddingStart:e};case"e":return{paddingEnd:e};default:return{}}}var B={0:0,50:.5,75:.75,90:.9,95:.95,100:1,105:1.05,110:1.1,125:1.25,150:1.5,200:2},v={0:0,1:1,2:2,3:3,6:6,12:12,45:45,90:90,180:180},yt={0:0,1:1,2:2,3:3,6:6,12:12},qt={0:0,100:100,200:200,300:300,400:400,500:500,600:600,700:700,800:800,900:900,1e3:1e3};function H(t){let e=t.match(/^\[(-?\d+(?:\.\d+)?)\]$/);return e?parseFloat(e[1]):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Invalid arbitrary scale value: ${t}. Only numbers are supported (e.g., [1.5], [0.75]).`),null)}function E(t){let e=t.match(/^\[(-?\d+(?:\.\d+)?)deg\]$/);return e?`${e[1]}deg`:(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Invalid arbitrary rotation value: ${t}. Only deg unit is supported (e.g., [45deg], [-15deg]).`),null)}function bt(t){let e=t.match(/^\[(-?\d+)(?:px)?\]$/);if(e)return parseInt(e[1],10);let o=t.match(/^\[(-?\d+(?:\.\d+)?)%\]$/);return o?`${o[1]}%`:(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary translation unit: ${t}. Only px and % are supported.`),null)}function Jt(t){let e=t.match(/^\[(-?\d+)\]$/);return e?parseInt(e[1],10):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Invalid arbitrary perspective value: ${t}. Only integers are supported (e.g., [1500]).`),null)}function U(t,e){let o=e?h(h({},_),e):_;if(t.startsWith("origin-"))return process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] transform-origin is not supported in React Native. Class "${t}" will be ignored.`),null;if(t.startsWith("scale-")){let r=t.substring(6),i=H(r);if(i!==null)return{transform:[{scale:i}]};let n=B[r];if(n!==void 0)return{transform:[{scale:n}]}}if(t.startsWith("scale-x-")){let r=t.substring(8),i=H(r);if(i!==null)return{transform:[{scaleX:i}]};let n=B[r];if(n!==void 0)return{transform:[{scaleX:n}]}}if(t.startsWith("scale-y-")){let r=t.substring(8),i=H(r);if(i!==null)return{transform:[{scaleY:i}]};let n=B[r];if(n!==void 0)return{transform:[{scaleY:n}]}}if(t.startsWith("rotate-")||t.startsWith("-rotate-")){let r=t.startsWith("-"),i=r?t.substring(8):t.substring(7),n=E(i);if(n!==null)return{transform:[{rotate:r?`-${n}`:n}]};let s=v[i];if(s!==void 0)return{transform:[{rotate:`${r?-s:s}deg`}]}}if(t.startsWith("rotate-x-")||t.startsWith("-rotate-x-")){let r=t.startsWith("-"),i=r?t.substring(10):t.substring(9),n=E(i);if(n!==null)return{transform:[{rotateX:r?`-${n}`:n}]};let s=v[i];if(s!==void 0)return{transform:[{rotateX:`${r?-s:s}deg`}]}}if(t.startsWith("rotate-y-")||t.startsWith("-rotate-y-")){let r=t.startsWith("-"),i=r?t.substring(10):t.substring(9),n=E(i);if(n!==null)return{transform:[{rotateY:r?`-${n}`:n}]};let s=v[i];if(s!==void 0)return{transform:[{rotateY:`${r?-s:s}deg`}]}}if(t.startsWith("rotate-z-")||t.startsWith("-rotate-z-")){let r=t.startsWith("-"),i=r?t.substring(10):t.substring(9),n=E(i);if(n!==null)return{transform:[{rotateZ:r?`-${n}`:n}]};let s=v[i];if(s!==void 0)return{transform:[{rotateZ:`${r?-s:s}deg`}]}}if(t.startsWith("translate-x-")||t.startsWith("-translate-x-")){let r=t.startsWith("-"),i=r?t.substring(13):t.substring(12),n=bt(i);if(n!==null)return{transform:[{translateX:typeof n=="number"?r?-n:n:r?`-${n}`:n}]};let s=o[i];if(s!==void 0)return{transform:[{translateX:r?-s:s}]}}if(t.startsWith("translate-y-")||t.startsWith("-translate-y-")){let r=t.startsWith("-"),i=r?t.substring(13):t.substring(12),n=bt(i);if(n!==null)return{transform:[{translateY:typeof n=="number"?r?-n:n:r?`-${n}`:n}]};let s=o[i];if(s!==void 0)return{transform:[{translateY:r?-s:s}]}}if(t.startsWith("skew-x-")||t.startsWith("-skew-x-")){let r=t.startsWith("-"),i=r?t.substring(8):t.substring(7),n=E(i);if(n!==null)return{transform:[{skewX:r?`-${n}`:n}]};let s=yt[i];if(s!==void 0)return{transform:[{skewX:`${r?-s:s}deg`}]}}if(t.startsWith("skew-y-")||t.startsWith("-skew-y-")){let r=t.startsWith("-"),i=r?t.substring(8):t.substring(7),n=E(i);if(n!==null)return{transform:[{skewY:r?`-${n}`:n}]};let s=yt[i];if(s!==void 0)return{transform:[{skewY:`${r?-s:s}deg`}]}}if(t.startsWith("perspective-")){let r=t.substring(12),i=Jt(r);if(i!==null)return{transform:[{perspective:i}]};let n=qt[r];if(n!==void 0)return{transform:[{perspective:n}]}}return null}var Qt={xs:12,sm:14,base:16,lg:18,xl:20,"2xl":24,"3xl":30,"4xl":36,"5xl":48,"6xl":60,"7xl":72,"8xl":96,"9xl":128};var ht={"font-sans":{fontFamily:"System"},"font-serif":{fontFamily:"serif"},"font-mono":{fontFamily:"Courier"}},te={"font-thin":{fontWeight:"100"},"font-extralight":{fontWeight:"200"},"font-light":{fontWeight:"300"},"font-normal":{fontWeight:"400"},"font-medium":{fontWeight:"500"},"font-semibold":{fontWeight:"600"},"font-bold":{fontWeight:"700"},"font-extrabold":{fontWeight:"800"},"font-black":{fontWeight:"900"}},ee={italic:{fontStyle:"italic"},"not-italic":{fontStyle:"normal"}},re={"text-left":{textAlign:"left"},"text-center":{textAlign:"center"},"text-right":{textAlign:"right"},"text-justify":{textAlign:"justify"}},ne={underline:{textDecorationLine:"underline"},"line-through":{textDecorationLine:"line-through"},"no-underline":{textDecorationLine:"none"}},ie={uppercase:{textTransform:"uppercase"},lowercase:{textTransform:"lowercase"},capitalize:{textTransform:"capitalize"},"normal-case":{textTransform:"none"}},oe={3:12,4:16,5:20,6:24,7:28,8:32,9:36,10:40},se={"leading-none":{lineHeight:16},"leading-tight":{lineHeight:20},"leading-snug":{lineHeight:22},"leading-normal":{lineHeight:24},"leading-relaxed":{lineHeight:28},"leading-loose":{lineHeight:32}},ae={"tracking-tighter":{letterSpacing:-.8},"tracking-tight":{letterSpacing:-.4},"tracking-normal":{letterSpacing:0},"tracking-wide":{letterSpacing:.4},"tracking-wider":{letterSpacing:.8},"tracking-widest":{letterSpacing:1.6}};function fe(t){let e=t.match(/^\[(-?\d+(?:\.\d+)?|-?\.\d+)(?:px)?\]$/);return e?parseFloat(e[1]):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary font size value: ${t}. Only px values are supported (e.g., [18px], [13.5px], [.5]).`),null)}function le(t){let e=t.match(/^\[(-?\d+(?:\.\d+)?|-?\.\d+)(?:px)?\]$/);return e?parseFloat(e[1]):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary line height value: ${t}. Only px values are supported (e.g., [24px], [21.5px], [.5]).`),null)}function ce(t){let e=t.match(/^\[(-?\d+(?:\.\d+)?|-?\.\d+)(?:px)?\]$/);return e?parseFloat(e[1]):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary letter spacing value: ${t}. Only px values are supported (e.g., [0.5px], [0.3], [.5], [-0.4]).`),null)}function G(t,e,o){var i,n,s,a,f,g,d,b;let r=e?h(h({},ht),Object.fromEntries(Object.entries(e).map(([p,y])=>[`font-${p}`,{fontFamily:y}]))):ht;if(t.startsWith("text-")){let p=t.substring(5),y=fe(p);if(y!==null)return{fontSize:y};if((o==null?void 0:o[p])!==void 0)return{fontSize:o[p]};let R=Qt[p];if(R!==void 0)return{fontSize:R}}if(t.startsWith("leading-")){let p=t.substring(8),y=le(p);if(y!==null)return{lineHeight:y};let R=oe[p];if(R!==void 0)return{lineHeight:R}}if(t.startsWith("tracking-")){let p=t.substring(9),y=ce(p);if(y!==null)return{letterSpacing:y}}return(b=(d=(g=(f=(a=(s=(n=(i=r[t])!=null?i:te[t])!=null?n:ee[t])!=null?s:re[t])!=null?a:ne[t])!=null?f:ie[t])!=null?g:se[t])!=null?d:ae[t])!=null?b:null}var de=["active","hover","focus","disabled","placeholder"],ue=["ios","android","web"],pe=["dark","light"],ge=["scheme"],ye=["rtl","ltr"],Je=[...de,...ue,...pe,...ge,...ye];function N(t,e){let o=t.split(/\s+/).filter(Boolean),r={};for(let i of o){let n=be(i,e);tt(r,n)}return r}function be(t,e){let o=[r=>K(r,e==null?void 0:e.spacing),r=>P(r,e==null?void 0:e.colors),r=>M(r,e==null?void 0:e.colors),r=>V(r,e==null?void 0:e.spacing),r=>G(r,e==null?void 0:e.fontFamily,e==null?void 0:e.fontSize),r=>L(r,e==null?void 0:e.spacing),D,j,r=>U(r,e==null?void 0:e.spacing)];for(let r of o){let i=r(t);if(i!==null)return i}return process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unknown class: "${t}"`),{}}var mt=["active","focus","disabled"];function xt(t){return mt.some(e=>t.includes(`${e}:`))}function St(t){let e=t.split(/\s+/).filter(Boolean),o=[],r=new Map;for(let i of e){let n=!1;for(let s of mt){let a=`${s}:`;if(i.startsWith(a)){let f=i.slice(a.length);r.has(s)||r.set(s,[]);let g=r.get(s);g&&g.push(f),n=!0;break}}n||o.push(i)}return{base:o,modifiers:r}}var m={colors:{},fontFamily:{},fontSize:{},spacing:{}},O=new Map;function he(t){var e,o,r,i,n,s,a,f,g;if((o=(e=t.theme)==null?void 0:e.extend)!=null&&o.colors?m.colors=T((r=t.theme)==null?void 0:r.extend.colors):m.colors={},(n=(i=t.theme)==null?void 0:i.extend)!=null&&n.fontFamily){let d={};for(let[b,p]of Object.entries(t.theme.extend.fontFamily))Array.isArray(p)?d[b]=p[0]:d[b]=p;m.fontFamily=d}else m.fontFamily={};if((a=(s=t.theme)==null?void 0:s.extend)!=null&&a.fontSize){let d={};for(let[b,p]of Object.entries(t.theme.extend.fontSize))if(typeof p=="number")d[b]=p;else if(typeof p=="string"){let y=parseFloat(p.replace(/px$/,""));isNaN(y)||(d[b]=y)}m.fontSize=d}else m.fontSize={};if((g=(f=t.theme)==null?void 0:f.extend)!=null&&g.spacing){let d={};for(let[b,p]of Object.entries(t.theme.extend.spacing))if(typeof p=="number")d[b]=p;else if(typeof p=="string"){let y;p.endsWith("rem")?y=parseFloat(p.replace(/rem$/,""))*16:y=parseFloat(p.replace(/px$/,"")),isNaN(y)||(d[b]=y)}m.spacing=d}else m.spacing={};O.clear()}function me(){return m}function xe(){var t;return Object.keys((t=m.colors)!=null?t:{}).length>0?m.colors:void 0}function Se(){O.clear()}function Re(){return{size:O.size,keys:Array.from(O.keys())}}function Rt(t){let e=O.get(t);if(e)return e;if(!xt(t)){let f={style:N(t,m)};return O.set(t,f),f}let{base:o,modifiers:r}=St(t),i=o.join(" "),s={style:i?N(i,m):{}};if(r.has("active")){let a=r.get("active");if(a&&a.length>0){let f=a.join(" ");s.activeStyle=N(f,m)}}if(r.has("focus")){let a=r.get("focus");if(a&&a.length>0){let f=a.join(" ");s.focusStyle=N(f,m)}}if(r.has("disabled")){let a=r.get("disabled");if(a&&a.length>0){let f=a.join(" ");s.disabledStyle=N(f,m)}}return O.set(t,s),s}function we(t,...e){let r=t.reduce((i,n,s)=>{let a=e[s],f=a!=null&&a!==!1?String(a):"";return i+n+f},"").trim().replace(/\s+/g," ");return r?Rt(r):{style:{}}}function Oe(t){let e=t.trim().replace(/\s+/g," ");if(e)return Rt(e)}
1
+ "use strict";var I=Object.defineProperty,Tt=Object.defineProperties,Nt=Object.getOwnPropertyDescriptor,At=Object.getOwnPropertyDescriptors,_t=Object.getOwnPropertyNames,et=Object.getOwnPropertySymbols;var nt=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable;var rt=(t,e,i)=>e in t?I(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,x=(t,e)=>{for(var i in e||(e={}))nt.call(e,i)&&rt(t,i,e[i]);if(et)for(var i of et(e))$t.call(e,i)&&rt(t,i,e[i]);return t},it=(t,e)=>Tt(t,At(e));var It=(t,e)=>{for(var i in e)I(t,i,{get:e[i],enumerable:!0})},vt=(t,e,i,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of _t(e))!nt.call(t,o)&&o!==i&&I(t,o,{get:()=>e[o],enumerable:!(r=Nt(e,o))||r.enumerable});return t};var jt=t=>vt(I({},"__esModule",{value:!0}),t);var Ne={};It(Ne,{clearCache:()=>Ce,getCacheStats:()=>We,getCustomColors:()=>Me,getCustomTheme:()=>Oe,setConfig:()=>we,tw:()=>Ee,twStyle:()=>Te});module.exports=jt(Ne);function ot(t){return Object.keys(t)[0]}function Vt(t,e){let i=[...t];for(let r of e){let o=ot(r),n=i.findIndex(s=>ot(s)===o);n!==-1?i[n]=r:i.push(r)}return i}function st(t,e){for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let r=e[i];if(i==="transform"&&Array.isArray(r)){let o=t[i];Array.isArray(o)?t.transform=Vt(o,r):t[i]=r}else t[i]=r}return t}var at={"aspect-auto":void 0,"aspect-square":1,"aspect-video":1.7777777777777777};function Pt(t){let e=t.match(/^\[(\d+)\/(\d+)\]$/);if(e){let i=Number.parseInt(e[1],10),r=Number.parseInt(e[2],10);return r===0?(process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Invalid aspect ratio: ${t}. Denominator cannot be zero.`),null):i/r}return null}function V(t){if(!t.startsWith("aspect-"))return null;if(t in at){let r=at[t];return r===void 0?{aspectRatio:void 0}:{aspectRatio:r}}let e=t.substring(7),i=Pt(e);return i!==null?{aspectRatio:i}:null}var ft={red:{50:"#fef2f2",100:"#ffe2e2",200:"#ffc9c9",300:"#ffa2a2",400:"#ff6467",500:"#fb2c36",600:"#e7000b",700:"#c10007",800:"#9f0712",900:"#82181a",950:"#460809"},orange:{50:"#fff7ed",100:"#ffedd4",200:"#ffd6a7",300:"#ffb86a",400:"#ff8904",500:"#ff6900",600:"#f54900",700:"#ca3500",800:"#9f2d00",900:"#7e2a0c",950:"#441306"},amber:{50:"#fffbeb",100:"#fef3c6",200:"#fee685",300:"#ffd230",400:"#ffb900",500:"#fe9a00",600:"#e17100",700:"#bb4d00",800:"#973c00",900:"#7b3306",950:"#461901"},yellow:{50:"#fefce8",100:"#fef9c2",200:"#fff085",300:"#ffdf20",400:"#fdc700",500:"#f0b100",600:"#d08700",700:"#a65f00",800:"#894b00",900:"#733e0a",950:"#432004"},lime:{50:"#f7fee7",100:"#ecfcca",200:"#d8f999",300:"#bbf451",400:"#9ae600",500:"#7ccf00",600:"#5ea500",700:"#497d00",800:"#3c6300",900:"#35530e",950:"#192e03"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#b9f8cf",300:"#7bf1a8",400:"#05df72",500:"#00c950",600:"#00a63e",700:"#008236",800:"#016630",900:"#0d542b",950:"#032e15"},emerald:{50:"#ecfdf5",100:"#d0fae5",200:"#a4f4cf",300:"#5ee9b5",400:"#00d492",500:"#00bc7d",600:"#009966",700:"#007a55",800:"#006045",900:"#004f3b",950:"#002c22"},teal:{50:"#f0fdfa",100:"#cbfbf1",200:"#96f7e4",300:"#46ecd5",400:"#00d5be",500:"#00bba7",600:"#009689",700:"#00786f",800:"#005f5a",900:"#0b4f4a",950:"#022f2e"},cyan:{50:"#ecfeff",100:"#cefafe",200:"#a2f4fd",300:"#53eafd",400:"#00d3f2",500:"#00b8db",600:"#0092b8",700:"#007595",800:"#005f78",900:"#104e64",950:"#053345"},sky:{50:"#f0f9ff",100:"#dff2fe",200:"#b8e6fe",300:"#74d4ff",400:"#00bcff",500:"#00a6f4",600:"#0084d1",700:"#0069a8",800:"#00598a",900:"#024a70",950:"#052f4a"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bedbff",300:"#8ec5ff",400:"#51a2ff",500:"#2b7fff",600:"#155dfc",700:"#1447e6",800:"#193cb8",900:"#1c398e",950:"#162456"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c6d2ff",300:"#a3b3ff",400:"#7c86ff",500:"#615fff",600:"#4f39f6",700:"#432dd7",800:"#372aac",900:"#312c85",950:"#1e1a4d"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6ff",300:"#c4b4ff",400:"#a684ff",500:"#8e51ff",600:"#7f22fe",700:"#7008e7",800:"#5d0ec0",900:"#4d179a",950:"#2f0d68"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d4ff",300:"#dab2ff",400:"#c27aff",500:"#ad46ff",600:"#9810fa",700:"#8200db",800:"#6e11b0",900:"#59168b",950:"#3c0366"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f6cfff",300:"#f4a8ff",400:"#ed6aff",500:"#e12afb",600:"#c800de",700:"#a800b7",800:"#8a0194",900:"#721378",950:"#4b004f"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fccee8",300:"#fda5d5",400:"#fb64b6",500:"#f6339a",600:"#e60076",700:"#c6005c",800:"#a3004c",900:"#861043",950:"#510424"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#ffccd3",300:"#ffa1ad",400:"#ff637e",500:"#ff2056",600:"#ec003f",700:"#c70036",800:"#a50036",900:"#8b0836",950:"#4d0218"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cad5e2",400:"#90a1b9",500:"#62748e",600:"#45556c",700:"#314158",800:"#1d293d",900:"#0f172b",950:"#020618"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5dc",400:"#99a1af",500:"#6a7282",600:"#4a5565",700:"#364153",800:"#1e2939",900:"#101828",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#9f9fa9",500:"#71717b",600:"#52525c",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a1a1a1",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a6a09b",500:"#79716b",600:"#57534d",700:"#44403b",800:"#292524",900:"#1c1917",950:"#0c0a09"}};function A(t,e=""){let i={};for(let[r,o]of Object.entries(t)){let n=r==="DEFAULT"&&e?e:e?`${e}-${r}`:r;typeof o=="string"?i[n]=o:typeof o=="object"&&o!==null&&Object.assign(i,A(o,n))}return i}var Dt=it(x({},A(ft)),{white:"#FFFFFF",black:"#000000",transparent:"transparent"});function lt(t,e){if(t==="transparent")return"transparent";let i=t.replace(/^#/,""),r=i.length===3?i.split("").map(s=>s+s).join(""):i,n=Math.round(e/100*255).toString(16).padStart(2,"0").toUpperCase();return`#${r.toUpperCase()}${n}`}function ct(t){let e=t.match(/^\[#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})\]$/);if(e){let i=e[1];return i.length===3?`#${i.split("").map(o=>o+o).join("")}`:`#${i}`}return t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary color value: ${t}. Only hex colors are supported (e.g., [#ff0000], [#f00], or [#ff0000aa]).`),null}function M(t,e){let i=n=>{var s;return(s=e==null?void 0:e[n])!=null?s:Dt[n]},r=n=>{var l;let s=n.match(/^(.+)\/(\d+)$/);if(s){let g=s[1],u=Number.parseInt(s[2],10);if(u<0||u>100)return process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Invalid opacity value: ${u}. Opacity must be between 0 and 100.`),null;let h=ct(g);if(h!==null)return lt(h,u);let p=i(g);return p?lt(p,u):null}let a=ct(n);return a!==null?a:(l=i(n))!=null?l:null};if(t.startsWith("bg-")){let n=t.substring(3);if(n.startsWith("[")&&!n.startsWith("[#"))return null;let s=r(n);if(s)return{backgroundColor:s}}if(t.startsWith("text-")){let n=t.substring(5);if(n.startsWith("[")&&!n.startsWith("[#"))return null;let s=r(n);if(s)return{color:s}}if(t.startsWith("border-")&&!t.match(/^border-[0-9]/)){let n=t.substring(7);if(n.startsWith("[")&&!n.startsWith("[#"))return null;let s=r(n);if(s)return{borderColor:s}}let o=t.match(/^border-([trblxy])-(.+)$/);if(o){let n=o[1],s=o[2];if(s.startsWith("[")&&!s.startsWith("[#"))return null;let a=r(s);if(a)return n==="x"?{borderLeftColor:a,borderRightColor:a}:n==="y"?{borderTopColor:a,borderBottomColor:a}:{[{t:"borderTopColor",r:"borderRightColor",b:"borderBottomColor",l:"borderLeftColor"}[n]]:a}}return null}var dt={"":1,0:0,2:2,4:4,8:8},_={none:0,sm:2,"":4,md:6,lg:8,xl:12,"2xl":16,"3xl":24,full:9999},ut={t:"borderTopWidth",r:"borderRightWidth",b:"borderBottomWidth",l:"borderLeftWidth",s:"borderStartWidth",e:"borderEndWidth"},pt={tl:"borderTopLeftRadius",tr:"borderTopRightRadius",bl:"borderBottomLeftRadius",br:"borderBottomRightRadius"},gt={ss:"borderTopStartRadius",se:"borderTopEndRadius",es:"borderBottomStartRadius",ee:"borderBottomEndRadius"},kt={t:["borderTopLeftRadius","borderTopRightRadius"],r:["borderTopRightRadius","borderBottomRightRadius"],b:["borderBottomLeftRadius","borderBottomRightRadius"],l:["borderTopLeftRadius","borderBottomLeftRadius"],s:["borderTopStartRadius","borderBottomStartRadius"],e:["borderTopEndRadius","borderBottomEndRadius"]};function yt(t){let e=t.match(/^\[(\d+)(?:px)?\]$/);return e?parseInt(e[1],10):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary border width value: ${t}. Only px values are supported (e.g., [8px] or [8]).`),null)}function v(t){let e=t.match(/^\[(\d+)(?:px)?\]$/);return e?parseInt(e[1],10):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary border radius value: ${t}. Only px values are supported (e.g., [12px] or [12]).`),null)}function P(t,e){return t==="border-solid"?{borderStyle:"solid"}:t==="border-dotted"?{borderStyle:"dotted"}:t==="border-dashed"?{borderStyle:"dashed"}:t.startsWith("border-")?Lt(t,e):t==="border"?{borderWidth:1}:t.startsWith("rounded")?Ft(t):null}function Lt(t,e){let i=t.match(/^border-([trblse])(?:-(.+))?$/);if(i){let n=i[1],s=i[2]||"";if(s&&n!=="s"&&n!=="e"&&M(t,e)!==null)return null;if(s.startsWith("[")){let l=yt(s);return l!==null?{[ut[n]]:l}:null}let a=dt[s];return a!==void 0?{[ut[n]]:a}:null}let r=t.match(/^border-(\d+)$/);if(r){let n=dt[r[1]];if(n!==void 0)return{borderWidth:n}}let o=t.match(/^border-(\[.+\])$/);if(o){let n=yt(o[1]);if(n!==null)return{borderWidth:n}}return null}function Ft(t){let e=t.substring(7);if(e==="")return{borderRadius:_[""]};if(!e.startsWith("-"))return null;let i=e.substring(1);if(i==="")return null;let r=i.match(/^(tl|tr|bl|br)(?:-(.+))?$/);if(r){let a=r[1],l=r[2]||"";if(l.startsWith("[")){let u=v(l);return u!==null?{[pt[a]]:u}:null}let g=_[l];return g!==void 0?{[pt[a]]:g}:null}let o=i.match(/^(ss|se|es|ee)(?:-(.+))?$/);if(o){let a=o[1],l=o[2]||"";if(l.startsWith("[")){let u=v(l);return u!==null?{[gt[a]]:u}:null}let g=_[l];return g!==void 0?{[gt[a]]:g}:null}let n=i.match(/^([trblse])(?:-(.+))?$/);if(n){let a=n[1],l=n[2]||"",g;if(l.startsWith("[")){let u=v(l);if(u!==null)g=u;else return null}else g=_[l];if(g!==void 0){let u={};return kt[a].forEach(h=>u[h]=g),u}return null}if(i.startsWith("[")){let a=v(i);return a!==null?{borderRadius:a}:null}let s=_[i];return s!==void 0?{borderRadius:s}:null}function R(t){let e=t.match(/^\[(-?\d+)(?:px)?\]$/);if(e)return parseInt(e[1],10);let i=t.match(/^\[(-?\d+(?:\.\d+)?)%\]$/);return i?`${i[1]}%`:(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary inset unit: ${t}. Only px and % are supported.`),null)}function zt(t){let e=t.match(/^\[(-?\d+)\]$/);return e?parseInt(e[1],10):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Invalid arbitrary z-index: ${t}. Only integers are supported.`),null)}function bt(t){let e=t.match(/^\[(\d+(?:\.\d+)?|\.\d+)\]$/);return e?parseFloat(e[1]):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Invalid arbitrary grow/shrink value: ${t}. Only non-negative numbers are supported (e.g., [1.5], [2], [0.5], [.5]).`),null)}var Kt={flex:{display:"flex"},hidden:{display:"none"}},Bt={"flex-row":{flexDirection:"row"},"flex-row-reverse":{flexDirection:"row-reverse"},"flex-col":{flexDirection:"column"},"flex-col-reverse":{flexDirection:"column-reverse"}},Ht={"flex-wrap":{flexWrap:"wrap"},"flex-wrap-reverse":{flexWrap:"wrap-reverse"},"flex-nowrap":{flexWrap:"nowrap"}},Ut={"flex-1":{flex:1},"flex-auto":{flex:1},"flex-none":{flex:0}},Gt={grow:{flexGrow:1},"grow-0":{flexGrow:0},shrink:{flexShrink:1},"shrink-0":{flexShrink:0},"flex-grow":{flexGrow:1},"flex-grow-0":{flexGrow:0},"flex-shrink":{flexShrink:1},"flex-shrink-0":{flexShrink:0}},Xt={"justify-start":{justifyContent:"flex-start"},"justify-end":{justifyContent:"flex-end"},"justify-center":{justifyContent:"center"},"justify-between":{justifyContent:"space-between"},"justify-around":{justifyContent:"space-around"},"justify-evenly":{justifyContent:"space-evenly"}},Yt={"items-start":{alignItems:"flex-start"},"items-end":{alignItems:"flex-end"},"items-center":{alignItems:"center"},"items-baseline":{alignItems:"baseline"},"items-stretch":{alignItems:"stretch"}},Zt={"self-auto":{alignSelf:"auto"},"self-start":{alignSelf:"flex-start"},"self-end":{alignSelf:"flex-end"},"self-center":{alignSelf:"center"},"self-stretch":{alignSelf:"stretch"},"self-baseline":{alignSelf:"baseline"}},qt={"content-start":{alignContent:"flex-start"},"content-end":{alignContent:"flex-end"},"content-center":{alignContent:"center"},"content-between":{alignContent:"space-between"},"content-around":{alignContent:"space-around"},"content-stretch":{alignContent:"stretch"}},Jt={absolute:{position:"absolute"},relative:{position:"relative"}},Qt={"overflow-hidden":{overflow:"hidden"},"overflow-visible":{overflow:"visible"},"overflow-scroll":{overflow:"scroll"}},te={"opacity-0":{opacity:0},"opacity-5":{opacity:.05},"opacity-10":{opacity:.1},"opacity-15":{opacity:.15},"opacity-20":{opacity:.2},"opacity-25":{opacity:.25},"opacity-30":{opacity:.3},"opacity-35":{opacity:.35},"opacity-40":{opacity:.4},"opacity-45":{opacity:.45},"opacity-50":{opacity:.5},"opacity-55":{opacity:.55},"opacity-60":{opacity:.6},"opacity-65":{opacity:.65},"opacity-70":{opacity:.7},"opacity-75":{opacity:.75},"opacity-80":{opacity:.8},"opacity-85":{opacity:.85},"opacity-90":{opacity:.9},"opacity-95":{opacity:.95},"opacity-100":{opacity:1}},ee={0:0,10:10,20:20,30:30,40:40,50:50,auto:0},ht={0:0,.5:2,1:4,1.5:6,2:8,2.5:10,3:12,3.5:14,4:16,5:20,6:24,8:32,10:40,12:48,16:64,20:80,24:96};function D(t,e){var g,u,h,p,b,w,Y,Z,q,J,Q,tt;let i=e?x(x({},ht),e):ht;if(t.startsWith("z-")){let y=t.substring(2),c=zt(y);if(c!==null)return{zIndex:c};let f=ee[y];if(f!==void 0)return{zIndex:f}}let r=t.match(/^(-?)top-(.+)$/);if(r){let[,y,c]=r,f=y==="-";if(c==="auto")return{};let d=R(c);if(d!==null)return typeof d=="number"?{top:f?-d:d}:f&&d.endsWith("%")?{top:`${-parseFloat(d)}%`}:{top:d};let m=i[c];if(m!==void 0)return{top:f?-m:m}}let o=t.match(/^(-?)right-(.+)$/);if(o){let[,y,c]=o,f=y==="-";if(c==="auto")return{};let d=R(c);if(d!==null)return typeof d=="number"?{right:f?-d:d}:f&&d.endsWith("%")?{right:`${-parseFloat(d)}%`}:{right:d};let m=i[c];if(m!==void 0)return{right:f?-m:m}}let n=t.match(/^(-?)bottom-(.+)$/);if(n){let[,y,c]=n,f=y==="-";if(c==="auto")return{};let d=R(c);if(d!==null)return typeof d=="number"?{bottom:f?-d:d}:f&&d.endsWith("%")?{bottom:`${-parseFloat(d)}%`}:{bottom:d};let m=i[c];if(m!==void 0)return{bottom:f?-m:m}}let s=t.match(/^(-?)left-(.+)$/);if(s){let[,y,c]=s,f=y==="-";if(c==="auto")return{};let d=R(c);if(d!==null)return typeof d=="number"?{left:f?-d:d}:f&&d.endsWith("%")?{left:`${-parseFloat(d)}%`}:{left:d};let m=i[c];if(m!==void 0)return{left:f?-m:m}}let a=t.match(/^(-?)start-(.+)$/);if(a){let[,y,c]=a,f=y==="-";if(c==="auto")return{};let d=R(c);if(d!==null)return typeof d=="number"?{start:f?-d:d}:f&&d.endsWith("%")?{start:`${-parseFloat(d)}%`}:{start:d};let m=i[c];if(m!==void 0)return{start:f?-m:m}}let l=t.match(/^(-?)end-(.+)$/);if(l){let[,y,c]=l,f=y==="-";if(c==="auto")return{};let d=R(c);if(d!==null)return typeof d=="number"?{end:f?-d:d}:f&&d.endsWith("%")?{end:`${-parseFloat(d)}%`}:{end:d};let m=i[c];if(m!==void 0)return{end:f?-m:m}}if(t.startsWith("inset-x-")){let y=t.substring(8),c=R(y);if(c!==null)return{left:c,right:c};let f=i[y];if(f!==void 0)return{left:f,right:f}}if(t.startsWith("inset-y-")){let y=t.substring(8),c=R(y);if(c!==null)return{top:c,bottom:c};let f=i[y];if(f!==void 0)return{top:f,bottom:f}}if(t.startsWith("inset-s-")){let y=t.substring(8),c=R(y);if(c!==null)return{start:c};let f=i[y];if(f!==void 0)return{start:f}}if(t.startsWith("inset-e-")){let y=t.substring(8),c=R(y);if(c!==null)return{end:c};let f=i[y];if(f!==void 0)return{end:f}}if(t.startsWith("inset-")){let y=t.substring(6),c=R(y);if(c!==null)return{top:c,right:c,bottom:c,left:c};let f=i[y];if(f!==void 0)return{top:f,right:f,bottom:f,left:f}}if(t.startsWith("grow-")||t.startsWith("flex-grow-")){let y=t.startsWith("flex-grow-")?"flex-grow-":"grow-",c=t.substring(y.length),f=bt(c);if(f!==null)return{flexGrow:f}}if(t.startsWith("shrink-")||t.startsWith("flex-shrink-")){let y=t.startsWith("flex-shrink-")?"flex-shrink-":"shrink-",c=t.substring(y.length),f=bt(c);if(f!==null)return{flexShrink:f}}return(tt=(Q=(J=(q=(Z=(Y=(w=(b=(p=(h=(u=(g=Kt[t])!=null?g:Bt[t])!=null?u:Ht[t])!=null?h:Ut[t])!=null?p:Gt[t])!=null?b:Xt[t])!=null?w:Yt[t])!=null?Y:Zt[t])!=null?Z:qt[t])!=null?q:Jt[t])!=null?J:Qt[t])!=null?Q:te[t])!=null?tt:null}var mt={"shadow-sm":{shadowColor:"#000000",shadowOffset:{width:0,height:1},shadowOpacity:.05,shadowRadius:1,elevation:1},shadow:{shadowColor:"#000000",shadowOffset:{width:0,height:1},shadowOpacity:.1,shadowRadius:2,elevation:2},"shadow-md":{shadowColor:"#000000",shadowOffset:{width:0,height:3},shadowOpacity:.15,shadowRadius:4,elevation:4},"shadow-lg":{shadowColor:"#000000",shadowOffset:{width:0,height:6},shadowOpacity:.2,shadowRadius:8,elevation:8},"shadow-xl":{shadowColor:"#000000",shadowOffset:{width:0,height:10},shadowOpacity:.25,shadowRadius:12,elevation:12},"shadow-2xl":{shadowColor:"#000000",shadowOffset:{width:0,height:20},shadowOpacity:.3,shadowRadius:24,elevation:16},"shadow-none":{shadowColor:"transparent",shadowOffset:{width:0,height:0},shadowOpacity:0,shadowRadius:0,elevation:0}};function k(t){return t in mt?mt[t]:null}var L="{{RUNTIME:dimensions.";var xt={0:0,.5:2,1:4,1.5:6,2:8,2.5:10,3:12,3.5:14,4:16,5:20,6:24,7:28,8:32,9:36,10:40,11:44,12:48,14:56,16:64,20:80,24:96,28:112,32:128,36:144,40:160,44:176,48:192,52:208,56:224,60:240,64:256,72:288,80:320,96:384},C={full:"100%","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%"};function W(t){let e=t.match(/^\[(\d+)(?:px)?\]$/);if(e)return parseInt(e[1],10);let i=t.match(/^\[(\d+(?:\.\d+)?)%\]$/);return i?`${i[1]}%`:(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary size unit: ${t}. Only px and % are supported.`),null)}function F(t,e){let i=e?x(x({},xt),e):xt;if(t.startsWith("w-")){let r=t.substring(2);if(r==="screen")return{width:`${L}width}}`};let o=W(r);if(o!==null)return{width:o};let n=C[r];if(n)return{width:n};let s=i[r];if(s!==void 0)return{width:s};if(r==="auto")return{width:"auto"}}if(t.startsWith("h-")){let r=t.substring(2);if(r==="screen")return{height:`${L}height}}`};let o=W(r);if(o!==null)return{height:o};let n=C[r];if(n)return{height:n};let s=i[r];if(s!==void 0)return{height:s};if(r==="auto")return{height:"auto"}}if(t.startsWith("min-w-")){let r=t.substring(6),o=W(r);if(o!==null)return{minWidth:o};let n=C[r];if(n)return{minWidth:n};let s=i[r];if(s!==void 0)return{minWidth:s}}if(t.startsWith("min-h-")){let r=t.substring(6),o=W(r);if(o!==null)return{minHeight:o};let n=C[r];if(n)return{minHeight:n};let s=i[r];if(s!==void 0)return{minHeight:s}}if(t.startsWith("max-w-")){let r=t.substring(6),o=W(r);if(o!==null)return{maxWidth:o};let n=C[r];if(n)return{maxWidth:n};let s=i[r];if(s!==void 0)return{maxWidth:s}}if(t.startsWith("max-h-")){let r=t.substring(6),o=W(r);if(o!==null)return{maxHeight:o};let n=C[r];if(n)return{maxHeight:n};let s=i[r];if(s!==void 0)return{maxHeight:s}}return null}var $={0:0,.5:2,1:4,1.5:6,2:8,2.5:10,3:12,3.5:14,4:16,5:20,6:24,7:28,8:32,9:36,10:40,11:44,12:48,14:56,16:64,20:80,24:96,28:112,32:128,36:144,40:160,44:176,48:192,52:208,56:224,60:240,64:256,72:288,80:320,96:384};function z(t){let e=t.match(/^\[(-?\d+(?:\.\d+)?)(?:px)?\]$/);return e?parseFloat(e[1]):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary spacing value: ${t}. Only px values are supported (e.g., [16px], [16], [4.5px], [4.5]).`),null)}function B(t,e){let i=e?x(x({},$),e):$,r=t.match(/^m([xytrblse]?)-auto$/);if(r){let a=r[1];return K(a,"auto")}let o=t.match(/^(-?)m([xytrblse]?)-(.+)$/);if(o){let[,a,l,g]=o,u=a==="-",h=z(g);if(h!==null){let b=u?-h:h;return K(l,b)}let p=i[g];if(p!==void 0){let b=u?-p:p;return K(l,b)}}let n=t.match(/^p([xytrblse]?)-(.+)$/);if(n){let[,a,l]=n,g=z(l);if(g!==null)return St(a,g);let u=i[l];if(u!==void 0)return St(a,u)}let s=t.match(/^gap-(.+)$/);if(s){let a=s[1],l=z(a);if(l!==null)return{gap:l};let g=i[a];if(g!==void 0)return{gap:g}}return null}function K(t,e){switch(t){case"":return{margin:e};case"x":return{marginHorizontal:e};case"y":return{marginVertical:e};case"t":return{marginTop:e};case"r":return{marginRight:e};case"b":return{marginBottom:e};case"l":return{marginLeft:e};case"s":return{marginStart:e};case"e":return{marginEnd:e};default:return{}}}function St(t,e){switch(t){case"":return{padding:e};case"x":return{paddingHorizontal:e};case"y":return{paddingVertical:e};case"t":return{paddingTop:e};case"r":return{paddingRight:e};case"b":return{paddingBottom:e};case"l":return{paddingLeft:e};case"s":return{paddingStart:e};case"e":return{paddingEnd:e};default:return{}}}var H={0:0,50:.5,75:.75,90:.9,95:.95,100:1,105:1.05,110:1.1,125:1.25,150:1.5,200:2},j={0:0,1:1,2:2,3:3,6:6,12:12,45:45,90:90,180:180},Rt={0:0,1:1,2:2,3:3,6:6,12:12},re={0:0,100:100,200:200,300:300,400:400,500:500,600:600,700:700,800:800,900:900,1e3:1e3};function U(t){let e=t.match(/^\[(-?\d+(?:\.\d+)?)\]$/);return e?parseFloat(e[1]):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Invalid arbitrary scale value: ${t}. Only numbers are supported (e.g., [1.5], [0.75]).`),null)}function E(t){let e=t.match(/^\[(-?\d+(?:\.\d+)?)deg\]$/);return e?`${e[1]}deg`:(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Invalid arbitrary rotation value: ${t}. Only deg unit is supported (e.g., [45deg], [-15deg]).`),null)}function wt(t){let e=t.match(/^\[(-?\d+)(?:px)?\]$/);if(e)return parseInt(e[1],10);let i=t.match(/^\[(-?\d+(?:\.\d+)?)%\]$/);return i?`${i[1]}%`:(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary translation unit: ${t}. Only px and % are supported.`),null)}function ne(t){let e=t.match(/^\[(-?\d+)\]$/);return e?parseInt(e[1],10):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Invalid arbitrary perspective value: ${t}. Only integers are supported (e.g., [1500]).`),null)}function G(t,e){let i=e?x(x({},$),e):$;if(t.startsWith("origin-"))return process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] transform-origin is not supported in React Native. Class "${t}" will be ignored.`),null;if(t.startsWith("scale-")){let r=t.substring(6),o=U(r);if(o!==null)return{transform:[{scale:o}]};let n=H[r];if(n!==void 0)return{transform:[{scale:n}]}}if(t.startsWith("scale-x-")){let r=t.substring(8),o=U(r);if(o!==null)return{transform:[{scaleX:o}]};let n=H[r];if(n!==void 0)return{transform:[{scaleX:n}]}}if(t.startsWith("scale-y-")){let r=t.substring(8),o=U(r);if(o!==null)return{transform:[{scaleY:o}]};let n=H[r];if(n!==void 0)return{transform:[{scaleY:n}]}}if(t.startsWith("rotate-")||t.startsWith("-rotate-")){let r=t.startsWith("-"),o=r?t.substring(8):t.substring(7),n=E(o);if(n!==null)return{transform:[{rotate:r?`-${n}`:n}]};let s=j[o];if(s!==void 0)return{transform:[{rotate:`${r?-s:s}deg`}]}}if(t.startsWith("rotate-x-")||t.startsWith("-rotate-x-")){let r=t.startsWith("-"),o=r?t.substring(10):t.substring(9),n=E(o);if(n!==null)return{transform:[{rotateX:r?`-${n}`:n}]};let s=j[o];if(s!==void 0)return{transform:[{rotateX:`${r?-s:s}deg`}]}}if(t.startsWith("rotate-y-")||t.startsWith("-rotate-y-")){let r=t.startsWith("-"),o=r?t.substring(10):t.substring(9),n=E(o);if(n!==null)return{transform:[{rotateY:r?`-${n}`:n}]};let s=j[o];if(s!==void 0)return{transform:[{rotateY:`${r?-s:s}deg`}]}}if(t.startsWith("rotate-z-")||t.startsWith("-rotate-z-")){let r=t.startsWith("-"),o=r?t.substring(10):t.substring(9),n=E(o);if(n!==null)return{transform:[{rotateZ:r?`-${n}`:n}]};let s=j[o];if(s!==void 0)return{transform:[{rotateZ:`${r?-s:s}deg`}]}}if(t.startsWith("translate-x-")||t.startsWith("-translate-x-")){let r=t.startsWith("-"),o=r?t.substring(13):t.substring(12),n=wt(o);if(n!==null)return{transform:[{translateX:typeof n=="number"?r?-n:n:r?`-${n}`:n}]};let s=i[o];if(s!==void 0)return{transform:[{translateX:r?-s:s}]}}if(t.startsWith("translate-y-")||t.startsWith("-translate-y-")){let r=t.startsWith("-"),o=r?t.substring(13):t.substring(12),n=wt(o);if(n!==null)return{transform:[{translateY:typeof n=="number"?r?-n:n:r?`-${n}`:n}]};let s=i[o];if(s!==void 0)return{transform:[{translateY:r?-s:s}]}}if(t.startsWith("skew-x-")||t.startsWith("-skew-x-")){let r=t.startsWith("-"),o=r?t.substring(8):t.substring(7),n=E(o);if(n!==null)return{transform:[{skewX:r?`-${n}`:n}]};let s=Rt[o];if(s!==void 0)return{transform:[{skewX:`${r?-s:s}deg`}]}}if(t.startsWith("skew-y-")||t.startsWith("-skew-y-")){let r=t.startsWith("-"),o=r?t.substring(8):t.substring(7),n=E(o);if(n!==null)return{transform:[{skewY:r?`-${n}`:n}]};let s=Rt[o];if(s!==void 0)return{transform:[{skewY:`${r?-s:s}deg`}]}}if(t.startsWith("perspective-")){let r=t.substring(12),o=ne(r);if(o!==null)return{transform:[{perspective:o}]};let n=re[r];if(n!==void 0)return{transform:[{perspective:n}]}}return null}var ie={xs:12,sm:14,base:16,lg:18,xl:20,"2xl":24,"3xl":30,"4xl":36,"5xl":48,"6xl":60,"7xl":72,"8xl":96,"9xl":128};var Ot={"font-sans":{fontFamily:"System"},"font-serif":{fontFamily:"serif"},"font-mono":{fontFamily:"Courier"}},oe={"font-thin":{fontWeight:"100"},"font-extralight":{fontWeight:"200"},"font-light":{fontWeight:"300"},"font-normal":{fontWeight:"400"},"font-medium":{fontWeight:"500"},"font-semibold":{fontWeight:"600"},"font-bold":{fontWeight:"700"},"font-extrabold":{fontWeight:"800"},"font-black":{fontWeight:"900"}},se={italic:{fontStyle:"italic"},"not-italic":{fontStyle:"normal"}},ae={"text-left":{textAlign:"left"},"text-center":{textAlign:"center"},"text-right":{textAlign:"right"},"text-justify":{textAlign:"justify"}},fe={underline:{textDecorationLine:"underline"},"line-through":{textDecorationLine:"line-through"},"no-underline":{textDecorationLine:"none"}},le={uppercase:{textTransform:"uppercase"},lowercase:{textTransform:"lowercase"},capitalize:{textTransform:"capitalize"},"normal-case":{textTransform:"none"}},ce={3:12,4:16,5:20,6:24,7:28,8:32,9:36,10:40},de={"leading-none":{lineHeight:16},"leading-tight":{lineHeight:20},"leading-snug":{lineHeight:22},"leading-normal":{lineHeight:24},"leading-relaxed":{lineHeight:28},"leading-loose":{lineHeight:32}},ue={"tracking-tighter":{letterSpacing:-.8},"tracking-tight":{letterSpacing:-.4},"tracking-normal":{letterSpacing:0},"tracking-wide":{letterSpacing:.4},"tracking-wider":{letterSpacing:.8},"tracking-widest":{letterSpacing:1.6}};function pe(t){let e=t.match(/^\[(-?\d+(?:\.\d+)?|-?\.\d+)(?:px)?\]$/);return e?parseFloat(e[1]):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary font size value: ${t}. Only px values are supported (e.g., [18px], [13.5px], [.5]).`),null)}function ge(t){let e=t.match(/^\[(-?\d+(?:\.\d+)?|-?\.\d+)(?:px)?\]$/);return e?parseFloat(e[1]):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary line height value: ${t}. Only px values are supported (e.g., [24px], [21.5px], [.5]).`),null)}function ye(t){let e=t.match(/^\[(-?\d+(?:\.\d+)?|-?\.\d+)(?:px)?\]$/);return e?parseFloat(e[1]):(t.startsWith("[")&&t.endsWith("]")&&process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unsupported arbitrary letter spacing value: ${t}. Only px values are supported (e.g., [0.5px], [0.3], [.5], [-0.4]).`),null)}function X(t,e,i){var o,n,s,a,l,g,u,h;let r=e?x(x({},Ot),Object.fromEntries(Object.entries(e).map(([p,b])=>[`font-${p}`,{fontFamily:b}]))):Ot;if(t.startsWith("text-")){let p=t.substring(5),b=pe(p);if(b!==null)return{fontSize:b};if((i==null?void 0:i[p])!==void 0)return{fontSize:i[p]};let w=ie[p];if(w!==void 0)return{fontSize:w}}if(t.startsWith("leading-")){let p=t.substring(8),b=ge(p);if(b!==null)return{lineHeight:b};let w=ce[p];if(w!==void 0)return{lineHeight:w}}if(t.startsWith("tracking-")){let p=t.substring(9),b=ye(p);if(b!==null)return{letterSpacing:b}}return(h=(u=(g=(l=(a=(s=(n=(o=r[t])!=null?o:oe[t])!=null?n:se[t])!=null?s:ae[t])!=null?a:fe[t])!=null?l:le[t])!=null?g:de[t])!=null?u:ue[t])!=null?h:null}var be=["active","hover","focus","disabled","placeholder"],he=["ios","android","web"],me=["dark","light"],xe=["scheme"],Se=["rtl","ltr"],nr=[...be,...he,...me,...xe,...Se];function T(t,e){let i=t.split(/\s+/).filter(Boolean),r={};for(let o of i){let n=Re(o,e);st(r,n)}return r}function Re(t,e){let i=[r=>B(r,e==null?void 0:e.spacing),r=>P(r,e==null?void 0:e.colors),r=>M(r,e==null?void 0:e.colors),r=>D(r,e==null?void 0:e.spacing),r=>X(r,e==null?void 0:e.fontFamily,e==null?void 0:e.fontSize),r=>F(r,e==null?void 0:e.spacing),k,V,r=>G(r,e==null?void 0:e.spacing)];for(let r of i){let o=r(t);if(o!==null)return o}return process.env.NODE_ENV!=="production"&&console.warn(`[react-native-tailwind] Unknown class: "${t}"`),{}}var Mt=["active","focus","disabled"];function Ct(t){return Mt.some(e=>t.includes(`${e}:`))}function Wt(t){let e=t.split(/\s+/).filter(Boolean),i=[],r=new Map;for(let o of e){let n=!1;for(let s of Mt){let a=`${s}:`;if(o.startsWith(a)){let l=o.slice(a.length);r.has(s)||r.set(s,[]);let g=r.get(s);g&&g.push(l),n=!0;break}}n||i.push(o)}return{base:i,modifiers:r}}var S={colors:{},fontFamily:{},fontSize:{},spacing:{}},O=new Map;function we(t){var e,i,r,o,n,s,a,l,g;if((i=(e=t.theme)==null?void 0:e.extend)!=null&&i.colors?S.colors=A((r=t.theme)==null?void 0:r.extend.colors):S.colors={},(n=(o=t.theme)==null?void 0:o.extend)!=null&&n.fontFamily){let u={};for(let[h,p]of Object.entries(t.theme.extend.fontFamily))Array.isArray(p)?u[h]=p[0]:u[h]=p;S.fontFamily=u}else S.fontFamily={};if((a=(s=t.theme)==null?void 0:s.extend)!=null&&a.fontSize){let u={};for(let[h,p]of Object.entries(t.theme.extend.fontSize))if(typeof p=="number")u[h]=p;else if(typeof p=="string"){let b=parseFloat(p.replace(/px$/,""));isNaN(b)||(u[h]=b)}S.fontSize=u}else S.fontSize={};if((g=(l=t.theme)==null?void 0:l.extend)!=null&&g.spacing){let u={};for(let[h,p]of Object.entries(t.theme.extend.spacing))if(typeof p=="number")u[h]=p;else if(typeof p=="string"){let b;p.endsWith("rem")?b=parseFloat(p.replace(/rem$/,""))*16:b=parseFloat(p.replace(/px$/,"")),isNaN(b)||(u[h]=b)}S.spacing=u}else S.spacing={};O.clear()}function Oe(){return S}function Me(){var t;return Object.keys((t=S.colors)!=null?t:{}).length>0?S.colors:void 0}function Ce(){O.clear()}function We(){return{size:O.size,keys:Array.from(O.keys())}}function Et(t){let e=O.get(t);if(e)return e;if(!Ct(t)){let l={style:T(t,S)};return O.set(t,l),l}let{base:i,modifiers:r}=Wt(t),o=i.join(" "),s={style:o?T(o,S):{}};if(r.has("active")){let a=r.get("active");if(a&&a.length>0){let l=a.join(" ");s.activeStyle=T(l,S)}}if(r.has("focus")){let a=r.get("focus");if(a&&a.length>0){let l=a.join(" ");s.focusStyle=T(l,S)}}if(r.has("disabled")){let a=r.get("disabled");if(a&&a.length>0){let l=a.join(" ");s.disabledStyle=T(l,S)}}return O.set(t,s),s}function Ee(t,...e){let r=t.reduce((o,n,s)=>{let a=e[s],l=a!=null&&a!==!1?String(a):"";return o+n+l},"").trim().replace(/\s+/g," ");return r?Et(r):{style:{}}}function Te(t){let e=t.trim().replace(/\s+/g," ");if(e)return Et(e)}
2
2
  //# sourceMappingURL=runtime.cjs.map