1var T=Object.create;var _=Object.defineProperty;var H=Object.getOwnPropertyDescriptor;var O=Object.getOwnPropertyNames;var W=Object.getPrototypeOf,V=Object.prototype.hasOwnProperty;var F=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports);var G=(o,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of O(t))!V.call(o,e)&&e!==r&&_(o,e,{get:()=>t[e],enumerable:!(n=H(t,e))||n.enumerable});return o};var $=(o,t,r)=>(r=o!=null?T(W(o)):{},G(t||!o||!o.__esModule?_(r,"default",{value:o,enumerable:!0}):r,o));var I=F((Ft,C)=>{"use strict";var q=!1,x=function(){};q&&(g=function(t,r){var n=arguments.length;r=new Array(n>1?n-1:0);for(var e=1;e<n;e++)r[e-1]=arguments[e];var i=0,l="Warning: "+t.replace(/%s/g,function(){return r[i++]});typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}},x=function(o,t,r){var n=arguments.length;r=new Array(n>2?n-2:0);for(var e=2;e<n;e++)r[e-2]=arguments[e];if(t===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");o||g.apply(null,[t].concat(r))});var g;C.exports=x});import{}from"../../../frontend-js-clay-web/__liferay__/exports/@clayui$loading-indicator.js";import U from"../../../frontend-js-clay-web/__liferay__/exports/@clayui$loading-indicator.js";var y=U;import{}from"../../../frontend-js-react-web/__liferay__/exports/classnames.js";import j from"../../../frontend-js-react-web/__liferay__/exports/classnames.js";var u=j;import{Children as at,Component as lt,Fragment as it,Profiler as st,PureComponent as ut,StrictMode as mt,Suspense as pt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED as ft,cloneElement as ct,createContext as bt,createElement as dt,createFactory as _t,createRef as yt,forwardRef as gt,isValidElement as xt,lazy as Ct,memo as It,startTransition as Et,unstable_act as Bt,useCallback as ht,useContext as vt,useDebugValue as Pt,useDeferredValue as wt,useEffect as Nt,useId as Lt,useImperativeHandle as Dt,useInsertionEffect as Rt,useLayoutEffect as St,useMemo as At,useReducer as Mt,useRef as Tt,useState as Ht,useSyncExternalStore as Ot,useTransition as Wt,version as Vt}from"../../../frontend-js-react-web/__liferay__/exports/react.js";import k from"../../../frontend-js-react-web/__liferay__/exports/react.js";var a=k;var h=$(I());function E({children:o,className:t,role:r="group",spaced:n,vertical:e,...i}){return a.createElement("div",{...i,className:u(t,{"btn-group":!n&&!e,"btn-group-spaced":n,"btn-group-vertical":e}),role:r},o)}E.displayName="ClayButtonGroup";var B=E;var v=a.forwardRef(({alert:o,block:t,borderless:r,children:n,className:e,dark:i,displayType:l="primary",loading:c,monospaced:D,outline:b,rounded:R,size:s="regular",small:S,translucent:p,type:A="button",...f},M)=>{let d=a.Children.toArray(n);return(0,h.default)(!(d.length===1&&d[0].type?.displayName==="ClayIcon"&&typeof f["aria-label"]!="string"&&typeof f["aria-labelledby"]!="string"),"Button Accessibility: Component has only the Icon declared. Define an `aria-label` or `aria-labelledby` attribute that labels the interactive button that screen readers can read. The `title` attribute is optional but consult your design team."),l==="beta"?(l="info",p=!0):l==="beta-dark"&&(i=!0,l="info",p=!0),a.createElement("button",{className:u(e,"btn",{"alert-btn":o,"btn-block":t,"btn-monospaced":D,"btn-outline-borderless":r,"btn-sm":S&&(!s||s==="regular"),"btn-translucent":p,"clay-dark":i,[`btn-${l}`]:l&&!b&&!r,[`btn-outline-${l}`]:l&&(b||r),"rounded-pill":R,[`btn-${s}`]:s&&s!=="regular"}),ref:M,type:A,...f},c&&a.createElement("span",{className:"inline-item inline-item-before"},a.createElement(y,null)),n)});v.displayName="ClayButton";var Y=Object.assign(v,{Group:B}),m=Y;import{ClayIconSpriteContext as Zt}from"../../../frontend-js-clay-web/__liferay__/exports/@clayui$icon.js";import J from"../../../frontend-js-clay-web/__liferay__/exports/@clayui$icon.js";var P=J;var w=a.forwardRef(({monospaced:o=!0,spritemap:t,symbol:r,...n},e)=>a.createElement(m,{...n,monospaced:o,ref:e},a.createElement(P,{spritemap:t,symbol:r})));w.displayName="ClayButtonWithIcon";var N=w;var L=m;var ue=L;export{N as ClayButtonWithIcon,ue as default}; 2//# sourceMappingURL=@clayui$button.(OIOENRQV).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.