PageSourceSearch

https://seedlang.com/assets/Button-BCirr4aX.js

js seedlang.com collected 2026-10-04 00:32:00 UTC 4,600 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`b118a3387c06afdf625a4e3c513ea6a95901cac8`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`d222fdbc-660a-4208-9a4f-fec01b7cd5f1`,e._sentryDebugIdIdentifier=`sentry-dbid-d222fdbc-660a-4208-9a4f-fec01b7cd5f1`)}catch{}})();import{t as e}from"./jsx-runtime-CLsEzmKX.js";import{F as t,d as n,f as r,n as i,t as a}from"./Box-DUgUM0SD.js";import{i as o,n as s,o as c,t as l}from"./create-vars-resolver-Dl54klxl.js";import{t as u}from"./Transition-C7B0cRZ4.js";import{t as d}from"./polymorphic-factory-tSgE1Rnj.js";import{t as f}from"./UnstyledButton-BDcfEVSp.js";import{t as p}from"./Loader-cfy33szn.js";var m={root:`m_77c9d27d`,inner:`m_80f1301b`,label:`m_811560b9`,section:`m_a74036a`,loader:`m_a25b86ee`,group:`m_80d6d844`,groupSection:`m_70be2a01`},h=e(),g={orientation:`horizontal`},_=l((e,{borderWidth:n})=>({group:{"--button-border-width":t(n)}})),v=i(e=>{let t=r(`ButtonGroup`,g,e),{className:i,style:o,classNames:s,styles:c,unstyled:l,orientation:u,vars:d,borderWidth:f,mod:p,attributes:v,...y}=r(`ButtonGroup`,g,e);return(0,h.jsx)(a,{...n({name:`ButtonGroup`,props:t,classes:m,className:i,style:o,classNames:s,styles:c,unstyled:l,attributes:v,vars:d,varsResolver:_,rootSelector:`group`})(`group`),mod:[{"data-orientation":u},p],role:`group`,...y})});v.classes=m,v.varsResolver=_,v.displayName=`@mantine/core/ButtonGroup`;var y=l((e,{radius:t,color:n,gradient:r,variant:i,autoContrast:a,size:l})=>{let u=e.variantColorResolver({color:n||e.primaryColor,theme:e,gradient:r,variant:i||`filled`,autoContrast:a});return{groupSection:{"--section-height":c(l,`section-height`),"--section-padding-x":c(l,`section-padding-x`),"--section-fz":l?.includes(`compact`)?s(l.replace(`compact-`,``)):s(l),"--section-radius":t===void 0?void 0:o(t),"--section-bg":n||i?u.background:void 0,"--section-color":u.color,"--section-bd":n||i?u.border:void 0}}}),b=i(e=>{let t=r(`ButtonGroupSection`,null,e),{className:i,style:o,classNames:s,styles:c,unstyled:l,vars:u,gradient:d,radius:f,autoContrast:p,attributes:g,..._}=t;return(0,h.jsx)(a,{...n({name:`ButtonGroupSection`,props:t,classes:m,className:i,style:o,classNames:s,styles:c,unstyled:l,attributes:g,vars:u,varsResolver:y,rootSelector:`groupSection`})(`groupSection`),..._})});b.classes=m,b.varsResolver=y,b.displayName=`@mantine/core/ButtonGroupSection`;var x={in:{opacity:1,transform:`translate(-50%, calc(-50% + ${t(1)}))`},out:{opacity:0,transform:`translate(-50%, -200%)`},common:{transformOrigin:`center`},transitionProperty:`transform, opacity`},S=l((e,{radius:t,color:n,gradient:r,variant:i,size:a,justify:l,autoContrast:u})=>{let d=e.variantColorResolver({color:n||e.primaryColor,theme:e,gradient:r,variant:i||`filled`,autoContrast:u});return{root:{"--button-justify":l,"--button-height":c(a,`button-height`),"--button-padding-x":c(a,`button-padding-x`),"--button-fz":a?.includes(`compact`)?s(a.replace(`compact-`,``)):s(a),"--button-radius":t===void 0?void 0:o(t),"--button-bg":n||i?d.background:void 0,"--button-hover":n||i?d.hover:void 0,"--button-color":d.color,"--button-bd":n||i?d.border:void 0,"--button-hover-color":n||i?d.hoverColor:void 0}}}),C=d(e=>{let t=r(`Button`,null,e),{style:i,vars:o,className:s,color:c,disabled:l,children:d,leftSection:g,rightSection:_,fullWidth:v,variant:y,radius:b,loading:C,loaderProps:w,gradient:T,classNames:E,styles:D,unstyled:O,"data-disabled":k,autoContrast:A,mod:j,attributes:M,...N}=t,P=n({name:`Button`,props:t,classes:m,className:s,style:i,classNames:E,styles:D,unstyled:O,attributes:M,vars:o,varsResolver:S}),F=!!g,I=!!_;return(0,h.jsxs)(f,{...P(`root`,{active:!l&&!C&&!k}),unstyled:O,variant:y,disabled:l||C,mod:[{disabled:l||k,loading:C,block:v,"with-left-section":F,"with-right-section":I},j],...N,children:[typeof C==`boolean`&&(0,h.jsx)(u,{mounted:C,transition:x,duration:150,children:e=>(0,h.jsx)(a,{component:`span`,...P(`loader`,{style:e}),"aria-hidden":!0,children:(0,h.jsx)(p,{color:`var(--button-color)`,size:`calc(var(--button-height) / 1.8)`,...w})})}),(0,h.jsxs)(`span`,{...P(`inner`),children:[g&&(0,h.jsx)(a,{component:`span`,...P(`section`),mod:{position:`left`},children:g}),(0,h.jsx)(a,{component:`span`,mod:{loading:C},...P(`label`),children:d}),_&&(0,h.jsx)(a,{component:`span`,...P(`section`),mod:{position:`right`},children:_})]})]})});C.classes=m,C.varsResolver=S,C.displayName=`@mantine/core/Button`,C.Group=v,C.GroupSection=b;export{C as t};
2//# sourceMappingURL=Button-BCirr4aX.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.