"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/extends"),r=require("@babel/runtime/helpers/defineProperty"),t=require("@babel/runtime/helpers/objectWithoutProperties"),i=require("react"),n=require("react-transition-group"),a=require("clsx"),u=require("@prom-ui/core/Spinner"),o=require("@prom-ui/core/useForwardRef");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function c(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var s=l(e),d=l(r),f=l(t),m=c(i),p=l(a),b="QNYqa",q="fLkiL",v="Yi8X2",y="PUKW4",h="urQKr",x="HQP5q",j="PPMb6",N="TSd-m",P="qqZ1T",O="ziVu6",g=["className","type","loading","indeterminate"],E=m.forwardRef((function(e,r){var t=e.className,i=e.type,a=void 0===i?"checkbox":i,l=e.loading,c=void 0!==l&&l,E=e.indeterminate,k=void 0!==E&&E,w=f.default(e,g),R=o.useForwardRef(r,null),S=m.useRef(null);return m.createElement("div",{className:p.default(b,t)},m.createElement("input",s.default({className:p.default(v,d.default(d.default({},h,c),y,k)),ref:R,disabled:c,type:a},w)),m.createElement("div",{className:q},m.createElement(n.CSSTransition,{nodeRef:S,in:c,timeout:100,classNames:{enterActive:j,enterDone:N,exitActive:P,exitDone:O},unmountOnExit:!0},m.createElement(u.Spinner,{ref:S,className:x,width:"100%",height:"100%"}))))}));E.displayName="Checkbox",exports.Checkbox=E,require("./style.production.css");
