@zendeskgarden/react-loaders
Advanced tools
Comparing version 0.4.4 to 6.0.0
@@ -433,9 +433,9 @@ /*! | ||
var DotsCircle = external_styled_components_default.a.circle.attrs({ | ||
cx: 9, | ||
cy: 9, | ||
r: 9, | ||
transform: function transform(props) { | ||
return props.transform; | ||
} | ||
var DotsCircle = external_styled_components_default.a.circle.attrs(function (props) { | ||
return { | ||
cx: 9, | ||
cy: 9, | ||
r: 9, | ||
transform: props.transform | ||
}; | ||
}).withConfig({ | ||
@@ -448,20 +448,14 @@ displayName: "styled-elements__DotsCircle", | ||
}; | ||
var SpinnerCircle = external_styled_components_default.a.circle.attrs({ | ||
cx: 40, | ||
cy: 40, | ||
r: 34, | ||
fill: 'none', | ||
stroke: 'currentColor', | ||
strokeLinecap: 'round', | ||
strokeWidth: function strokeWidth(_ref) { | ||
var strokeWidthValue = _ref.strokeWidthValue; | ||
return strokeWidthValue; | ||
}, | ||
strokeDasharray: function strokeDasharray(_ref2) { | ||
var dasharrayValue = _ref2.dasharrayValue; | ||
return "".concat(dasharrayValue, " 250"); | ||
}, | ||
transform: function transform(props) { | ||
return props.transform; | ||
} | ||
var SpinnerCircle = external_styled_components_default.a.circle.attrs(function (props) { | ||
return { | ||
cx: 40, | ||
cy: 40, | ||
r: 34, | ||
fill: 'none', | ||
stroke: 'currentColor', | ||
strokeLinecap: 'round', | ||
strokeWidth: props.strokeWidthValue, | ||
strokeDasharray: "".concat(props.dasharrayValue, " 250"), | ||
transform: props.transform | ||
}; | ||
}).withConfig({ | ||
@@ -476,24 +470,16 @@ displayName: "styled-elements__SpinnerCircle", | ||
}; | ||
var StyledSvg = external_styled_components_default.a.svg.attrs({ | ||
'data-garden-id': function dataGardenId(_ref3) { | ||
var _dataGardenId = _ref3.dataGardenId; | ||
return _dataGardenId; | ||
}, | ||
'data-garden-version': "0.4.4", | ||
xmlns: 'http://www.w3.org/2000/svg', | ||
width: function width(_ref4) { | ||
var _width = _ref4.width; | ||
return _width; | ||
}, | ||
height: function height(_ref5) { | ||
var _height = _ref5.height; | ||
return _height; | ||
}, | ||
focusable: 'false', | ||
viewBox: function viewBox(_ref6) { | ||
var width = _ref6.width, | ||
height = _ref6.height; | ||
return "0 0 ".concat(width, " ").concat(height); | ||
}, | ||
role: 'progressbar' | ||
var StyledSvg = external_styled_components_default.a.svg.attrs(function (props) { | ||
return { | ||
'data-garden-id': function dataGardenId(_ref) { | ||
var _dataGardenId = _ref.dataGardenId; | ||
return _dataGardenId; | ||
}, | ||
'data-garden-version': "6.0.0", | ||
xmlns: 'http://www.w3.org/2000/svg', | ||
width: props.width, | ||
height: props.height, | ||
focusable: 'false', | ||
viewBox: "0 0 ".concat(props.width, " ").concat(props.height), | ||
role: 'progressbar' | ||
}; | ||
}).withConfig({ | ||
@@ -513,8 +499,8 @@ displayName: "styled-elements__StyledSvg", | ||
}; | ||
var styled_elements_StyledSVG = function StyledSVG(_ref7) { | ||
var children = _ref7.children, | ||
fontSize = _ref7.fontSize, | ||
width = _ref7.width, | ||
height = _ref7.height, | ||
other = _objectWithoutProperties(_ref7, ["children", "fontSize", "width", "height"]); | ||
var StyledSVG = external_react_default.a.forwardRef(function (_ref2, ref) { | ||
var children = _ref2.children, | ||
fontSize = _ref2.fontSize, | ||
width = _ref2.width, | ||
height = _ref2.height, | ||
other = _objectWithoutProperties(_ref2, ["children", "fontSize", "width", "height"]); | ||
@@ -524,6 +510,7 @@ return external_react_default.a.createElement(StyledSvg, _extends({ | ||
width: width, | ||
height: height | ||
height: height, | ||
ref: ref | ||
}, other), children); | ||
}; | ||
styled_elements_StyledSVG.propTypes = { | ||
}); | ||
StyledSVG.propTypes = { | ||
children: external_prop_types_default.a.node, | ||
@@ -787,3 +774,3 @@ fontSize: external_prop_types_default.a.any, | ||
}, function () { | ||
return external_react_default.a.createElement(styled_elements_StyledSVG, Dots_extends({ | ||
return external_react_default.a.createElement(StyledSVG, Dots_extends({ | ||
fontSize: size, | ||
@@ -875,3 +862,3 @@ color: color, | ||
'data-garden-id': Skeleton_COMPONENT_ID, | ||
'data-garden-version': "0.4.4" | ||
'data-garden-version': "6.0.0" | ||
}).withConfig({ | ||
@@ -887,3 +874,3 @@ displayName: "Skeleton__StyledSkeleton", | ||
}, function (props) { | ||
return Object(react_theming_["isRtl"])(props) ? "\n right: -1800px;\n animation: ".concat(skeletonRtlAnimation, " 1.5s ease-in-out 300ms infinite;\n ") : "\n left: -1800px;\n animation: ".concat(skeletonAnimation, " 1.5s ease-in-out 300ms infinite;\n "); | ||
return Object(react_theming_["isRtl"])(props) ? Object(external_styled_components_["css"])(["right:-1800px;animation:", " 1.5s ease-in-out 300ms infinite;"], skeletonRtlAnimation) : Object(external_styled_components_["css"])(["left:-1800px;animation:", " 1.5s ease-in-out 300ms infinite;"], skeletonAnimation); | ||
}, function (props) { | ||
@@ -1149,3 +1136,3 @@ return Object(react_theming_["isRtl"])(props) ? '-45deg' : '45deg'; | ||
}, function () { | ||
return external_react_default.a.createElement(styled_elements_StyledSVG, Spinner_extends({ | ||
return external_react_default.a.createElement(StyledSVG, Spinner_extends({ | ||
fontSize: size, | ||
@@ -1226,19 +1213,15 @@ color: color, | ||
})([""]); | ||
var StyledTypingSvg = external_styled_components_default.a.svg.attrs({ | ||
'data-garden-id': Inline_COMPONENT_ID, | ||
'data-garden-version': "0.4.4", | ||
viewBox: '0 0 16 4', | ||
width: function width(_ref) { | ||
var size = _ref.size; | ||
return size; | ||
}, | ||
height: function height(_ref2) { | ||
var size = _ref2.size; | ||
return size * 0.25; | ||
} | ||
var StyledTypingSvg = external_styled_components_default.a.svg.attrs(function (props) { | ||
return { | ||
'data-garden-id': Inline_COMPONENT_ID, | ||
'data-garden-version': "6.0.0", | ||
viewBox: '0 0 16 4', | ||
width: props.size, | ||
height: props.size * 0.25 | ||
}; | ||
}).withConfig({ | ||
displayName: "Inline__StyledTypingSvg", | ||
componentId: "sc-1gjohp3-1" | ||
})(["color:", ";", "{opacity:0.2;&:nth-child(1){animation:", " 1s infinite;animation-delay:", ";}&:nth-child(2){animation:", " 1s infinite;animation-delay:0.2s;}&:nth-child(3){animation:", " 1s infinite;animation-delay:", ";}}"], function (_ref3) { | ||
var color = _ref3.color; | ||
})(["color:", ";", "{opacity:0.2;&:nth-child(1){animation:", " 1s infinite;animation-delay:", ";}&:nth-child(2){animation:", " 1s infinite;animation-delay:0.2s;}&:nth-child(3){animation:", " 1s infinite;animation-delay:", ";}}"], function (_ref) { | ||
var color = _ref.color; | ||
return color; | ||
@@ -1254,6 +1237,6 @@ }, StyledCircle, pulseAnimation, function (props) { | ||
var Inline_Inline = function Inline(_ref4) { | ||
var size = _ref4.size, | ||
color = _ref4.color, | ||
other = Inline_objectWithoutProperties(_ref4, ["size", "color"]); | ||
var Inline_Inline = function Inline(_ref2) { | ||
var size = _ref2.size, | ||
color = _ref2.color, | ||
other = Inline_objectWithoutProperties(_ref2, ["size", "color"]); | ||
@@ -1260,0 +1243,0 @@ return external_react_default.a.createElement(StyledTypingSvg, Inline_extends({ |
@@ -7,3 +7,3 @@ /*! | ||
*/ | ||
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("prop-types"),require("react"),require("styled-components"),require("@zendeskgarden/react-theming")):"function"==typeof define&&define.amd?define(["prop-types","react","styled-components","@zendeskgarden/react-theming"],r):"object"==typeof exports?exports.GardenLoaders=r(require("prop-types"),require("react"),require("styled-components"),require("@zendeskgarden/react-theming")):e.GardenLoaders=r(e.PropTypes,e.React,e.styled,e.GardenTheming)}(window,function(t,n,o,a){return c={},i.m=l=[function(e,r){e.exports=t},function(e,r){e.exports=n},function(e,r){e.exports=o},function(e,r){e.exports=a},function(e,r){e.exports={zdColorBlack:"#000",zdColorGreen100:"#edf8f4",zdColorGreen200:"#d1e8df",zdColorGreen300:"#aecfc2",zdColorGreen400:"#5eae91",zdColorGreen500:"#228f67",zdColorGreen600:"#038153",zdColorGreen700:"#186146",zdColorGreen800:"#0b3b29",zdColorGrey100:"#f8f9f9",zdColorGrey200:"#e9ebed",zdColorGrey300:"#d8dcde",zdColorGrey400:"#c2c8cc",zdColorGrey500:"#87929d",zdColorGrey600:"#68737d",zdColorGrey700:"#49545c",zdColorGrey800:"#2f3941",zdColorBlue100:"#edf7ff",zdColorBlue200:"#cee2f2",zdColorBlue300:"#adcce4",zdColorBlue400:"#5293c7",zdColorBlue500:"#337fbd",zdColorBlue600:"#1f73b7",zdColorBlue700:"#144a75",zdColorBlue800:"#0f3554",zdColorKale100:"#f5fbfc",zdColorKale200:"#c1d6d9",zdColorKale300:"#819a9e",zdColorKale400:"#56777a",zdColorKale500:"#335d63",zdColorKale600:"#04444d",zdColorKale700:"#03363d",zdColorKale800:"#012b30",zdColorRed100:"#fff0f1",zdColorRed200:"#f5d5d8",zdColorRed300:"#f5b5ba",zdColorRed400:"#e35b66",zdColorRed500:"#d93f4c",zdColorRed600:"#cc3340",zdColorRed700:"#8c232c",zdColorRed800:"#681219",zdColorYellow100:"#fff8ed",zdColorYellow200:"#fff0db",zdColorYellow300:"#fcdba9",zdColorYellow400:"#ffb648",zdColorYellow500:"#f5a133",zdColorYellow600:"#ed961c",zdColorYellow700:"#ad5e18",zdColorYellow800:"#703b15",zdColorWhite:"#fff",zdColorSecondaryAzure400:"#3091ec",zdColorSecondaryAzure600:"#1371d6",zdColorSecondaryCrimson400:"#e34f32",zdColorSecondaryCrimson600:"#c72a1c",zdColorSecondaryFuschia400:"#d653c2",zdColorSecondaryFuschia600:"#a81897",zdColorSecondaryLemon400:"#ffd424",zdColorSecondaryLemon600:"#ffbb10",zdColorSecondaryLime400:"#43b324",zdColorSecondaryLime600:"#2e8200",zdColorSecondaryMint400:"#00a656",zdColorSecondaryMint600:"#058541",zdColorSecondaryOrange400:"#de701d",zdColorSecondaryOrange600:"#bf5000",zdColorSecondaryPink400:"#ec4d63",zdColorSecondaryPink600:"#d42054",zdColorSecondaryPurple400:"#b552e2",zdColorSecondaryPurple600:"#6a27b8",zdColorSecondaryRoyal400:"#5d7df5",zdColorSecondaryRoyal600:"#3353e2",zdColorSecondaryTeal400:"#02a191",zdColorSecondaryTeal600:"#028079",zdColorSecondaryAzureM400:"#5f8dcf",zdColorSecondaryAzureM600:"#3a70b2",zdColorSecondaryCrimsonM400:"#cc6c5b",zdColorSecondaryCrimsonM600:"#b24a3c",zdColorSecondaryFuschiaM400:"#cf62a8",zdColorSecondaryFuschiaM600:"#a8458c",zdColorSecondaryLemonM400:"#e7a500",zdColorSecondaryLemonM600:"#c38f00",zdColorSecondaryLimeM400:"#519e2d",zdColorSecondaryLimeM600:"#47782c",zdColorSecondaryMintM400:"#299c66",zdColorSecondaryMintM600:"#2e8057",zdColorSecondaryOrangeM400:"#d4772c",zdColorSecondaryOrangeM600:"#b35827",zdColorSecondaryPinkM400:"#d57287",zdColorSecondaryPinkM600:"#b23a5d",zdColorSecondaryPurpleM400:"#b072cc",zdColorSecondaryPurpleM600:"#9358b0",zdColorSecondaryRoyalM400:"#7986d8",zdColorSecondaryRoyalM600:"#4b61c3",zdColorSecondaryTealM400:"#2d9e8f",zdColorSecondaryTealM600:"#3c7873",zdColorChatOrange:"#f79a3e",zdColorConnectRed:"#eb6651",zdColorExploreBlue:"#30aabc",zdColorGuidePink:"#eb4962",zdColorMessageGreen:"#37b8af",zdColorSellGold:"#d4ae5e",zdColorSupportGreen:"#78a300",zdColorTalkYellow:"#efc93d",zdFontFamilyMonospace:'SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace',zdFontFamilySystem:'system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",Arial,sans-serif',zdFontSizeSm:"12px",zdFontSizeMd:"14px",zdFontSizeLg:"18px",zdFontSizeXl:"22px",zdFontSizeXxl:"26px",zdFontSizeXxxl:"36px",zdFontSizeSmMonospace:"11px",zdFontSizeMdMonospace:"13px",zdFontSizeLgMonospace:"17px",zdFontWeightThin:"100",zdFontWeightExtralight:"200",zdFontWeightLight:"300",zdFontWeightRegular:"400",zdFontWeightMedium:"500",zdFontWeightSemibold:"600",zdFontWeightBold:"700",zdFontWeightExtrabold:"800",zdFontWeightBlack:"900",zdFontWeightUltralight:"200",zdFontWeightUltrabold:"800",zdFontWeightHeavy:"900",zdLineHeightSm:"16px",zdLineHeightMd:"20px",zdLineHeightLg:"24px",zdLineHeightXl:"28px",zdLineHeightXxl:"32px",zdLineHeightXxxl:"44px",zdSpacingXxs:"4px",zdSpacingXs:"8px",zdSpacingSm:"12px",zdSpacing:"20px",zdSpacingLg:"32px",zdSpacingXl:"40px",zdSpacingXxl:"48px"}},function(e,r,t){"use strict";t.r(r);var n=t(1),f=t.n(n),o=t(0),a=t.n(o);var i=.166666667,l=1.166666667,c=1.333333333,d=1.533333333,u=1.766666667;function s(e){var r,t=e%u;if(t<i)return 31;if(t<.55){r=31-31*function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1}((t-i)/.38333333300000005)}else if(t<c)r=0;else{r=(t-c)/.43333333400000007*31}return u<=e&&(r=62-r),r}function p(e){var r=e%u;if(r<i)return r/i*-1*5+32;if(r<l)return 27;if(r<c){return(r-l)/.1666666659999998*5+27}if(r<d){return 32-32*function(e){var r=e-1;return r*r*r+1}((r-c)/.20000000000000018)}return 32*function(e){return e*e*e}((r-d)/.2333333339999999)}var y=t(2),b=t.n(y),m=t(3);function h(){return(h=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function g(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var z=b.a.circle.attrs({cx:9,cy:9,r:9,transform:function(e){return e.transform}}).withConfig({displayName:"styled-elements__DotsCircle",componentId:"sc-19dhio6-0"})([""]);z.propTypes={transform:a.a.string};var v=b.a.circle.attrs({cx:40,cy:40,r:34,fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:function(e){return e.strokeWidthValue},strokeDasharray:function(e){var r=e.dasharrayValue;return"".concat(r," 250")},transform:function(e){return e.transform}}).withConfig({displayName:"styled-elements__SpinnerCircle",componentId:"sc-19dhio6-1"})([""]);v.propTypes={dasharrayValue:a.a.string,strokeWidthValue:a.a.string,transform:a.a.string};var S=b.a.svg.attrs({"data-garden-id":function(e){return e.dataGardenId},"data-garden-version":"0.4.4",xmlns:"http://www.w3.org/2000/svg",width:function(e){return e.width},height:function(e){return e.height},focusable:"false",viewBox:function(e){var r=e.width,t=e.height;return"0 0 ".concat(r," ").concat(t)},role:"progressbar"}).withConfig({displayName:"styled-elements__StyledSvg",componentId:"sc-19dhio6-2"})(["width:1em;height:0.9em;color:",";font-size:",";",";"],function(e){return e.color||"inherit"},function(e){return e.fontSize||"inherit"},function(e){return Object(m.retrieveTheme)(e.dataGardenId,e)});S.propTypes={color:a.a.string,fontSize:a.a.any};function C(e){var r=e.children,t=e.fontSize,n=e.width,o=e.height,a=g(e,["children","fontSize","width","height"]);return f.a.createElement(S,h({fontSize:t,width:n,height:o},a),r)}C.propTypes={children:a.a.node,fontSize:a.a.any,height:a.a.oneOfType([a.a.string,a.a.number]),width:a.a.oneOfType([a.a.string,a.a.number])};var w=b.a.div.attrs({role:"progressbar"}).withConfig({displayName:"styled-elements__LoadingPlaceholder",componentId:"sc-19dhio6-3"})(["display:inline;width:1em;height:0.9em;font-size:",";"],function(e){return e.fontSize});function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j(e,r){return!r||"object"!==O(r)&&"function"!=typeof r?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):r}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function F(e,r){return(F=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}function M(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}w.propTypes={fontSize:a.a.any};var P=function(e){function t(e){var r;return function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}(this,t),(r=j(this,x(t).call(this,e))).state={delayComplete:!1},r}return function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&F(e,r)}(t,n["Component"]),function(e,r,t){r&&k(e.prototype,r),t&&k(e,t)}(t,[{key:"componentDidMount",value:function(){var e=this,r=this.props.delayMS;this.renderingDelayTimeout=setTimeout(function(){e.setState({delayComplete:!0},function(){e.performAnimationFrame()})},r)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.renderingDelayTimeout),cancelAnimationFrame(this.tick)}},{key:"performAnimationFrame",value:function(){var r=this;this.tick=requestAnimationFrame(function(e){r.props.tick(e),r.performAnimationFrame()})}},{key:"render",value:function(){var e=this.props,r=e.delayMS,t=e.size,n=e.children,o=e.render,a=void 0===o?n:o;return this.state.delayComplete||0===r?a():f.a.createElement(w,{fontSize:t}," ")}}]),t}();function I(e){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(){return(_=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function E(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function T(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function G(e){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function L(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e,r){return(R=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}function W(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}M(P,"propTypes",{size:a.a.any,delayMS:a.a.number,tick:a.a.func,children:a.a.func,render:a.a.func}),M(P,"defaultProps",{delayMS:750});var A=function(e){function a(){var e,t;!function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}(this,a);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return W(L(t=function(e,r){return!r||"object"!==I(r)&&"function"!=typeof r?L(e):r}(this,(e=G(a)).call.apply(e,[this].concat(n)))),"state",{frame:0,timestamp:0}),W(L(t),"performAnimationFrame",function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,e=t.props.velocity,o=e;e<-1?o=-.9:1<e&&(o=1),t.setState(function(e){var r=1e3+1e3*o,t=(n-e.timestamp)/r;return{frame:e.frame+t%u,timestamp:n}})}),W(L(t),"retrieveFrame",function(e){var r=2*u;return(t.state.frame+e*r)%r}),t}return function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&R(e,r)}(a,f.a.Component),function(e,r,t){r&&T(e.prototype,r),t&&T(e,t)}(a,[{key:"render",value:function(){var e=this.props,r=e.size,t=e.color,n=e.delayMS,o=E(e,["size","color","delayMS"]),a=this.retrieveFrame(0),i=this.retrieveFrame(1/3),l=this.retrieveFrame(2/3);return f.a.createElement(P,{tick:this.performAnimationFrame,size:r,delayMS:n},function(){return f.a.createElement(C,_({fontSize:r,color:t,width:"80",height:"72","data-garden-id":"loaders.dots"},o),f.a.createElement("g",{fill:"currentColor"},f.a.createElement(z,{transform:"translate(".concat(s(a)," ").concat(p(a),")")}),f.a.createElement(z,{transform:"translate(".concat(s(i)," ").concat(p(i),")")}),f.a.createElement(z,{transform:"translate(".concat(s(l)," ").concat(p(l),")")})))})}}]),a}();W(A,"propTypes",{size:a.a.any,velocity:a.a.number,color:a.a.string,delayMS:a.a.number}),W(A,"defaultProps",{size:"inherit",color:"inherit",velocity:.05,delayMS:750});function q(e){return Math.round(255*e)}function B(e,r,t){return q(e)+","+q(r)+","+q(t)}function X(e,r,t,n){if(void 0===n&&(n=B),0===r)return n(t,t,t);var o=e%360/60,a=(1-Math.abs(2*t-1))*r,i=a*(1-Math.abs(o%2-1)),l=0,c=0,f=0;0<=o&&o<1?(l=a,c=i):1<=o&&o<2?(l=i,c=a):2<=o&&o<3?(c=a,f=i):3<=o&&o<4?(c=i,f=a):4<=o&&o<5?(l=i,f=a):5<=o&&o<6&&(l=a,f=i);var d=t-a/2;return n(l+d,c+d,f+d)}var H={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var V=/^#[a-fA-F0-9]{6}$/,K=/^#[a-fA-F0-9]{8}$/,Y=/^#[a-fA-F0-9]{3}$/,N=/^#[a-fA-F0-9]{4}$/,$=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/,D=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/,U=/^hsl\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*\)$/,J=/^hsla\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/;function Q(e){if("string"!=typeof e)throw new Error("Passed an incorrect argument to a color function, please pass a string representation of a color.");var r=function(e){if("string"!=typeof e)return e;var r=e.toLowerCase();return H[r]?"#"+H[r]:e}(e);if(r.match(V))return{red:parseInt(""+r[1]+r[2],16),green:parseInt(""+r[3]+r[4],16),blue:parseInt(""+r[5]+r[6],16)};if(r.match(K)){var t=parseFloat((parseInt(""+r[7]+r[8],16)/255).toFixed(2));return{red:parseInt(""+r[1]+r[2],16),green:parseInt(""+r[3]+r[4],16),blue:parseInt(""+r[5]+r[6],16),alpha:t}}if(r.match(Y))return{red:parseInt(""+r[1]+r[1],16),green:parseInt(""+r[2]+r[2],16),blue:parseInt(""+r[3]+r[3],16)};if(r.match(N)){var n=parseFloat((parseInt(""+r[4]+r[4],16)/255).toFixed(2));return{red:parseInt(""+r[1]+r[1],16),green:parseInt(""+r[2]+r[2],16),blue:parseInt(""+r[3]+r[3],16),alpha:n}}var o=$.exec(r);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=D.exec(r);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])};var i=U.exec(r);if(i){var l="rgb("+X(parseInt(""+i[1],10),parseInt(""+i[2],10)/100,parseInt(""+i[3],10)/100)+")",c=$.exec(l);if(!c)throw new Error("Couldn't generate valid rgb string from "+r+", it returned "+l+".");return{red:parseInt(""+c[1],10),green:parseInt(""+c[2],10),blue:parseInt(""+c[3],10)}}var f=J.exec(r);if(f){var d="rgb("+X(parseInt(""+f[1],10),parseInt(""+f[2],10)/100,parseInt(""+f[3],10)/100)+")",u=$.exec(d);if(!u)throw new Error("Couldn't generate valid rgb string from "+r+", it returned "+d+".");return{red:parseInt(""+u[1],10),green:parseInt(""+u[2],10),blue:parseInt(""+u[3],10),alpha:parseFloat(""+f[4])}}throw new Error("Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.")}var Z=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function ee(e){var r=e.toString(16);return 1===r.length?"0"+r:r}function re(e,r,t){if("number"==typeof e&&"number"==typeof r&&"number"==typeof t)return Z("#"+ee(e)+ee(r)+ee(t));if("object"==typeof e&&void 0===r&&void 0===t)return Z("#"+ee(e.red)+ee(e.green)+ee(e.blue));throw new Error("Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).")}function te(e,r,t,n){if("string"==typeof e&&"number"==typeof r){var o=Q(e);return"rgba("+o.red+","+o.green+","+o.blue+","+r+")"}if("number"==typeof e&&"number"==typeof r&&"number"==typeof t&&"number"==typeof n)return 1<=n?re(e,r,t):"rgba("+e+","+r+","+t+","+n+")";if("object"==typeof e&&void 0===r&&void 0===t&&void 0===n)return 1<=e.alpha?re(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new Error("Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).")}var ne=t(4);function oe(){return(oe=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function ae(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var ie="loaders.skeleton",le=Object(y.keyframes)(["0%,60%{opacity:0;}100%{opacity:1;}"]),ce=Object(y.keyframes)(["100%{left:100%;}"]),fe=Object(y.keyframes)(["100%{right:100%;}"]),de=b.a.div.attrs({"data-garden-id":ie,"data-garden-version":"0.4.4"}).withConfig({displayName:"Skeleton__StyledSkeleton",componentId:"sc-1uuy18r-0"})(["display:inline-block;position:relative;animation:"," 750ms linear;border-radius:",";background-color:",";width:",";height:",";overflow:hidden;line-height:0.6;&::before{position:absolute;top:0;"," background-image:linear-gradient(",",transparent,",",transparent);width:1000px;height:100%;content:'';}",";"],le,ne.zdSpacingXxs,function(e){return e.dark?te(ne.zdColorWhite,.2):te(ne.zdColorGrey800,.1)},function(e){return e.customWidth},function(e){return e.customHeight},function(e){return Object(m.isRtl)(e)?"\n right: -1800px;\n animation: ".concat(fe," 1.5s ease-in-out 300ms infinite;\n "):"\n left: -1800px;\n animation: ".concat(ce," 1.5s ease-in-out 300ms infinite;\n ")},function(e){return Object(m.isRtl)(e)?"-45deg":"45deg"},function(e){return e.dark?te(ne.zdColorKale700,.4):te(ne.zdColorWhite,.6)},function(e){return Object(m.retrieveTheme)(ie,e)});function ue(e){var r=e.width,t=e.height,n=e.dark,o=ae(e,["width","height","dark"]);return f.a.createElement(de,oe({dark:n,customWidth:r,customHeight:t},o)," ")}ue.propTypes={width:a.a.string,height:a.a.string,dark:a.a.bool,style:a.a.object},ue.defaultProps={width:"100%",height:"100%"};var se=ue,pe={0:6,14:5,26:4,36:3,46:2,58:3,70:4,80:5,91:6},ye={0:-90,8:-81,36:-30,41:-18,44:-8,48:0,55:22,63:53,64:62,66:67,68:78,69:90,71:99,73:112,74:129,76:138,78:159,79:180,81:190,83:207,84:221,86:226,88:235,90:243,99:270},be={0:0,13:2,26:13,53:86,58:90,63:89,64:88,66:86,68:83,69:81,71:76,73:70,74:62,76:58,78:47,79:37,81:31,83:23,84:16,88:10,89:7,98:1,99:0};function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function he(){return(he=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function ge(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function ze(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=[],n=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(n=(i=l.next()).done)&&(t.push(i.value),!r||t.length!==r);n=!0);}catch(e){o=!0,a=e}finally{try{n||null==l.return||l.return()}finally{if(o)throw a}}return t}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function ve(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Se(e){return(Se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ce(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function we(e,r){return(we=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}function Oe(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var ke=function(e){function r(e){var l;return function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}(this,r),Oe(Ce(l=function(e,r){return!r||"object"!==me(r)&&"function"!=typeof r?Ce(e):r}(this,Se(r).call(this,e))),"state",{frame:0,rawFrame:0,totalFrames:100,delayComplete:!1,timestamp:0}),Oe(Ce(l),"computeFrames",function(e){var y=l.props.duration,b=l.state.totalFrames;return Object.entries(e).reduce(function(e,r,t,n){var o=ze(r,2),a=o[0],i=o[1],l=ze(n[t+1]||[b,n[0][1]],2),c=l[0],f=l[1],d=c-a,u=y/(b-1)*d,s=i;e[a]=i;for(var p=0;p<d;p++)s+=1e3/60/u*(f-s),u=y/(b-1)*(d-p),e[parseInt(a,10)+p+1]=s;return e[c]=f,e},{})}),Oe(Ce(l),"performAnimationFrame",function(){var r=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,e=l.state,t=e.totalFrames,n=e.rawFrame,o=e.timestamp,a=l.props.duration,i=r-o;l.setState(function(){var e=n+i*((t+1)/a);return{frame:Math.floor(e)%t,rawFrame:e%t,timestamp:r}})}),l.strokeWidthValues=l.computeFrames(pe),l.rotationValues=l.computeFrames(ye),l.dasharrayValues=l.computeFrames(be),l}return function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&we(e,r)}(r,f.a.Component),function(e,r,t){r&&ve(e.prototype,r),t&&ve(e,t)}(r,[{key:"render",value:function(){var e=this.props,r=e.size,t=e.color,n=e.delayMS,o=ge(e,["size","color","delayMS"]),a=this.state.frame,i=this.strokeWidthValues[a],l=this.rotationValues[a],c=this.dasharrayValues[a];return f.a.createElement(P,{tick:this.performAnimationFrame,size:r,delayMS:n},function(){return f.a.createElement(C,he({fontSize:r,color:t,width:80,height:80,"data-garden-id":"loaders.spinner"},o),f.a.createElement(v,{strokeDasharray:"".concat(c," 250"),strokeWidth:i,transform:"rotate(".concat(l,", ").concat(40,", ").concat(40,")")}))})}}]),r}();function je(){return(je=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function xe(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}Oe(ke,"propTypes",{size:a.a.any,duration:a.a.number,color:a.a.string,delayMS:a.a.number}),Oe(ke,"defaultProps",{size:"inherit",color:"inherit",delayMS:750,duration:1250});function Fe(e){var r=e.size,t=e.color,n=xe(e,["size","color"]);return f.a.createElement(Ie,je({size:r,color:t},n),f.a.createElement(Pe,{cx:"14"}),f.a.createElement(Pe,{cx:"8"}),f.a.createElement(Pe,{cx:"2"}))}var Me=Object(y.keyframes)(["0%,100%{opacity:.2;}50%{opacity:.8;}"]),Pe=b.a.circle.attrs({fill:"currentColor",cy:2,r:2}).withConfig({displayName:"Inline__StyledCircle",componentId:"sc-1gjohp3-0"})([""]),Ie=b.a.svg.attrs({"data-garden-id":"loaders.inline","data-garden-version":"0.4.4",viewBox:"0 0 16 4",width:function(e){return e.size},height:function(e){return.25*e.size}}).withConfig({displayName:"Inline__StyledTypingSvg",componentId:"sc-1gjohp3-1"})(["color:",";","{opacity:0.2;&:nth-child(1){animation:"," 1s infinite;animation-delay:",";}&:nth-child(2){animation:"," 1s infinite;animation-delay:0.2s;}&:nth-child(3){animation:"," 1s infinite;animation-delay:",";}}"],function(e){return e.color},Pe,Me,function(e){return Object(m.isRtl)(e)?"unset":"0.4s"},Me,Me,function(e){return Object(m.isRtl)(e)?"0.4s":"unset"});Fe.propTypes={size:a.a.number,color:a.a.string},Fe.defaultProps={size:16,color:"inherit"};var _e=Fe;t.d(r,"Dots",function(){return A}),t.d(r,"Skeleton",function(){return se}),t.d(r,"Spinner",function(){return ke}),t.d(r,"Inline",function(){return _e})}],i.c=c,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(r,e){if(1&e&&(r=i(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)i.d(t,n,function(e){return r[e]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="",i(i.s=5);function i(e){if(c[e])return c[e].exports;var r=c[e]={i:e,l:!1,exports:{}};return l[e].call(r.exports,r,r.exports,i),r.l=!0,r.exports}var l,c}); | ||
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("prop-types"),require("react"),require("styled-components"),require("@zendeskgarden/react-theming")):"function"==typeof define&&define.amd?define(["prop-types","react","styled-components","@zendeskgarden/react-theming"],r):"object"==typeof exports?exports.GardenLoaders=r(require("prop-types"),require("react"),require("styled-components"),require("@zendeskgarden/react-theming")):e.GardenLoaders=r(e.PropTypes,e.React,e.styled,e.GardenTheming)}(window,function(t,n,o,a){return c={},i.m=l=[function(e,r){e.exports=t},function(e,r){e.exports=n},function(e,r){e.exports=o},function(e,r){e.exports=a},function(e,r){e.exports={zdColorBlack:"#000",zdColorGreen100:"#edf8f4",zdColorGreen200:"#d1e8df",zdColorGreen300:"#aecfc2",zdColorGreen400:"#5eae91",zdColorGreen500:"#228f67",zdColorGreen600:"#038153",zdColorGreen700:"#186146",zdColorGreen800:"#0b3b29",zdColorGrey100:"#f8f9f9",zdColorGrey200:"#e9ebed",zdColorGrey300:"#d8dcde",zdColorGrey400:"#c2c8cc",zdColorGrey500:"#87929d",zdColorGrey600:"#68737d",zdColorGrey700:"#49545c",zdColorGrey800:"#2f3941",zdColorBlue100:"#edf7ff",zdColorBlue200:"#cee2f2",zdColorBlue300:"#adcce4",zdColorBlue400:"#5293c7",zdColorBlue500:"#337fbd",zdColorBlue600:"#1f73b7",zdColorBlue700:"#144a75",zdColorBlue800:"#0f3554",zdColorKale100:"#f5fbfc",zdColorKale200:"#c1d6d9",zdColorKale300:"#819a9e",zdColorKale400:"#56777a",zdColorKale500:"#335d63",zdColorKale600:"#04444d",zdColorKale700:"#03363d",zdColorKale800:"#012b30",zdColorRed100:"#fff0f1",zdColorRed200:"#f5d5d8",zdColorRed300:"#f5b5ba",zdColorRed400:"#e35b66",zdColorRed500:"#d93f4c",zdColorRed600:"#cc3340",zdColorRed700:"#8c232c",zdColorRed800:"#681219",zdColorYellow100:"#fff8ed",zdColorYellow200:"#fff0db",zdColorYellow300:"#fcdba9",zdColorYellow400:"#ffb648",zdColorYellow500:"#f5a133",zdColorYellow600:"#ed961c",zdColorYellow700:"#ad5e18",zdColorYellow800:"#703b15",zdColorWhite:"#fff",zdColorSecondaryAzure400:"#3091ec",zdColorSecondaryAzure600:"#1371d6",zdColorSecondaryCrimson400:"#e34f32",zdColorSecondaryCrimson600:"#c72a1c",zdColorSecondaryFuschia400:"#d653c2",zdColorSecondaryFuschia600:"#a81897",zdColorSecondaryLemon400:"#ffd424",zdColorSecondaryLemon600:"#ffbb10",zdColorSecondaryLime400:"#43b324",zdColorSecondaryLime600:"#2e8200",zdColorSecondaryMint400:"#00a656",zdColorSecondaryMint600:"#058541",zdColorSecondaryOrange400:"#de701d",zdColorSecondaryOrange600:"#bf5000",zdColorSecondaryPink400:"#ec4d63",zdColorSecondaryPink600:"#d42054",zdColorSecondaryPurple400:"#b552e2",zdColorSecondaryPurple600:"#6a27b8",zdColorSecondaryRoyal400:"#5d7df5",zdColorSecondaryRoyal600:"#3353e2",zdColorSecondaryTeal400:"#02a191",zdColorSecondaryTeal600:"#028079",zdColorSecondaryAzureM400:"#5f8dcf",zdColorSecondaryAzureM600:"#3a70b2",zdColorSecondaryCrimsonM400:"#cc6c5b",zdColorSecondaryCrimsonM600:"#b24a3c",zdColorSecondaryFuschiaM400:"#cf62a8",zdColorSecondaryFuschiaM600:"#a8458c",zdColorSecondaryLemonM400:"#e7a500",zdColorSecondaryLemonM600:"#c38f00",zdColorSecondaryLimeM400:"#519e2d",zdColorSecondaryLimeM600:"#47782c",zdColorSecondaryMintM400:"#299c66",zdColorSecondaryMintM600:"#2e8057",zdColorSecondaryOrangeM400:"#d4772c",zdColorSecondaryOrangeM600:"#b35827",zdColorSecondaryPinkM400:"#d57287",zdColorSecondaryPinkM600:"#b23a5d",zdColorSecondaryPurpleM400:"#b072cc",zdColorSecondaryPurpleM600:"#9358b0",zdColorSecondaryRoyalM400:"#7986d8",zdColorSecondaryRoyalM600:"#4b61c3",zdColorSecondaryTealM400:"#2d9e8f",zdColorSecondaryTealM600:"#3c7873",zdColorChatOrange:"#f79a3e",zdColorConnectRed:"#eb6651",zdColorExploreBlue:"#30aabc",zdColorGuidePink:"#eb4962",zdColorMessageGreen:"#37b8af",zdColorSellGold:"#d4ae5e",zdColorSupportGreen:"#78a300",zdColorTalkYellow:"#efc93d",zdFontFamilyMonospace:'SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace',zdFontFamilySystem:'system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",Arial,sans-serif',zdFontSizeSm:"12px",zdFontSizeMd:"14px",zdFontSizeLg:"18px",zdFontSizeXl:"22px",zdFontSizeXxl:"26px",zdFontSizeXxxl:"36px",zdFontSizeSmMonospace:"11px",zdFontSizeMdMonospace:"13px",zdFontSizeLgMonospace:"17px",zdFontWeightThin:"100",zdFontWeightExtralight:"200",zdFontWeightLight:"300",zdFontWeightRegular:"400",zdFontWeightMedium:"500",zdFontWeightSemibold:"600",zdFontWeightBold:"700",zdFontWeightExtrabold:"800",zdFontWeightBlack:"900",zdFontWeightUltralight:"200",zdFontWeightUltrabold:"800",zdFontWeightHeavy:"900",zdLineHeightSm:"16px",zdLineHeightMd:"20px",zdLineHeightLg:"24px",zdLineHeightXl:"28px",zdLineHeightXxl:"32px",zdLineHeightXxxl:"44px",zdSpacingXxs:"4px",zdSpacingXs:"8px",zdSpacingSm:"12px",zdSpacing:"20px",zdSpacingLg:"32px",zdSpacingXl:"40px",zdSpacingXxl:"48px"}},function(e,r,t){"use strict";t.r(r);var n=t(1),f=t.n(n),o=t(0),a=t.n(o);var i=.166666667,l=1.166666667,c=1.333333333,d=1.533333333,u=1.766666667;function s(e){var r,t=e%u;if(t<i)return 31;if(t<.55){r=31-31*function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1}((t-i)/.38333333300000005)}else if(t<c)r=0;else{r=(t-c)/.43333333400000007*31}return u<=e&&(r=62-r),r}function p(e){var r=e%u;if(r<i)return r/i*-1*5+32;if(r<l)return 27;if(r<c){return(r-l)/.1666666659999998*5+27}if(r<d){return 32-32*function(e){var r=e-1;return r*r*r+1}((r-c)/.20000000000000018)}return 32*function(e){return e*e*e}((r-d)/.2333333339999999)}var y=t(2),b=t.n(y),m=t(3);function h(){return(h=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function g(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var z=b.a.circle.attrs(function(e){return{cx:9,cy:9,r:9,transform:e.transform}}).withConfig({displayName:"styled-elements__DotsCircle",componentId:"sc-19dhio6-0"})([""]);z.propTypes={transform:a.a.string};var v=b.a.circle.attrs(function(e){return{cx:40,cy:40,r:34,fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:e.strokeWidthValue,strokeDasharray:"".concat(e.dasharrayValue," 250"),transform:e.transform}}).withConfig({displayName:"styled-elements__SpinnerCircle",componentId:"sc-19dhio6-1"})([""]);v.propTypes={dasharrayValue:a.a.string,strokeWidthValue:a.a.string,transform:a.a.string};var S=b.a.svg.attrs(function(e){return{"data-garden-id":function(e){return e.dataGardenId},"data-garden-version":"6.0.0",xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height,focusable:"false",viewBox:"0 0 ".concat(e.width," ").concat(e.height),role:"progressbar"}}).withConfig({displayName:"styled-elements__StyledSvg",componentId:"sc-19dhio6-2"})(["width:1em;height:0.9em;color:",";font-size:",";",";"],function(e){return e.color||"inherit"},function(e){return e.fontSize||"inherit"},function(e){return Object(m.retrieveTheme)(e.dataGardenId,e)});S.propTypes={color:a.a.string,fontSize:a.a.any};var C=f.a.forwardRef(function(e,r){var t=e.children,n=e.fontSize,o=e.width,a=e.height,i=g(e,["children","fontSize","width","height"]);return f.a.createElement(S,h({fontSize:n,width:o,height:a,ref:r},i),t)});C.propTypes={children:a.a.node,fontSize:a.a.any,height:a.a.oneOfType([a.a.string,a.a.number]),width:a.a.oneOfType([a.a.string,a.a.number])};var w=b.a.div.attrs({role:"progressbar"}).withConfig({displayName:"styled-elements__LoadingPlaceholder",componentId:"sc-19dhio6-3"})(["display:inline;width:1em;height:0.9em;font-size:",";"],function(e){return e.fontSize});function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j(e,r){return!r||"object"!==O(r)&&"function"!=typeof r?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):r}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function F(e,r){return(F=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}function M(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}w.propTypes={fontSize:a.a.any};var P=function(e){function t(e){var r;return function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}(this,t),(r=j(this,x(t).call(this,e))).state={delayComplete:!1},r}return function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&F(e,r)}(t,n["Component"]),function(e,r,t){r&&k(e.prototype,r),t&&k(e,t)}(t,[{key:"componentDidMount",value:function(){var e=this,r=this.props.delayMS;this.renderingDelayTimeout=setTimeout(function(){e.setState({delayComplete:!0},function(){e.performAnimationFrame()})},r)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.renderingDelayTimeout),cancelAnimationFrame(this.tick)}},{key:"performAnimationFrame",value:function(){var r=this;this.tick=requestAnimationFrame(function(e){r.props.tick(e),r.performAnimationFrame()})}},{key:"render",value:function(){var e=this.props,r=e.delayMS,t=e.size,n=e.children,o=e.render,a=void 0===o?n:o;return this.state.delayComplete||0===r?a():f.a.createElement(w,{fontSize:t}," ")}}]),t}();function I(e){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(){return(_=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function E(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function T(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function G(e){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function L(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e,r){return(R=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}function W(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}M(P,"propTypes",{size:a.a.any,delayMS:a.a.number,tick:a.a.func,children:a.a.func,render:a.a.func}),M(P,"defaultProps",{delayMS:750});var A=function(e){function a(){var e,t;!function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}(this,a);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return W(L(t=function(e,r){return!r||"object"!==I(r)&&"function"!=typeof r?L(e):r}(this,(e=G(a)).call.apply(e,[this].concat(n)))),"state",{frame:0,timestamp:0}),W(L(t),"performAnimationFrame",function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,e=t.props.velocity,o=e;e<-1?o=-.9:1<e&&(o=1),t.setState(function(e){var r=1e3+1e3*o,t=(n-e.timestamp)/r;return{frame:e.frame+t%u,timestamp:n}})}),W(L(t),"retrieveFrame",function(e){var r=2*u;return(t.state.frame+e*r)%r}),t}return function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&R(e,r)}(a,f.a.Component),function(e,r,t){r&&T(e.prototype,r),t&&T(e,t)}(a,[{key:"render",value:function(){var e=this.props,r=e.size,t=e.color,n=e.delayMS,o=E(e,["size","color","delayMS"]),a=this.retrieveFrame(0),i=this.retrieveFrame(1/3),l=this.retrieveFrame(2/3);return f.a.createElement(P,{tick:this.performAnimationFrame,size:r,delayMS:n},function(){return f.a.createElement(C,_({fontSize:r,color:t,width:"80",height:"72","data-garden-id":"loaders.dots"},o),f.a.createElement("g",{fill:"currentColor"},f.a.createElement(z,{transform:"translate(".concat(s(a)," ").concat(p(a),")")}),f.a.createElement(z,{transform:"translate(".concat(s(i)," ").concat(p(i),")")}),f.a.createElement(z,{transform:"translate(".concat(s(l)," ").concat(p(l),")")})))})}}]),a}();W(A,"propTypes",{size:a.a.any,velocity:a.a.number,color:a.a.string,delayMS:a.a.number}),W(A,"defaultProps",{size:"inherit",color:"inherit",velocity:.05,delayMS:750});function q(e){return Math.round(255*e)}function B(e,r,t){return q(e)+","+q(r)+","+q(t)}function X(e,r,t,n){if(void 0===n&&(n=B),0===r)return n(t,t,t);var o=e%360/60,a=(1-Math.abs(2*t-1))*r,i=a*(1-Math.abs(o%2-1)),l=0,c=0,f=0;0<=o&&o<1?(l=a,c=i):1<=o&&o<2?(l=i,c=a):2<=o&&o<3?(c=a,f=i):3<=o&&o<4?(c=i,f=a):4<=o&&o<5?(l=i,f=a):5<=o&&o<6&&(l=a,f=i);var d=t-a/2;return n(l+d,c+d,f+d)}var H={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var V=/^#[a-fA-F0-9]{6}$/,K=/^#[a-fA-F0-9]{8}$/,Y=/^#[a-fA-F0-9]{3}$/,N=/^#[a-fA-F0-9]{4}$/,$=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/,D=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/,U=/^hsl\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*\)$/,J=/^hsla\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/;function Q(e){if("string"!=typeof e)throw new Error("Passed an incorrect argument to a color function, please pass a string representation of a color.");var r=function(e){if("string"!=typeof e)return e;var r=e.toLowerCase();return H[r]?"#"+H[r]:e}(e);if(r.match(V))return{red:parseInt(""+r[1]+r[2],16),green:parseInt(""+r[3]+r[4],16),blue:parseInt(""+r[5]+r[6],16)};if(r.match(K)){var t=parseFloat((parseInt(""+r[7]+r[8],16)/255).toFixed(2));return{red:parseInt(""+r[1]+r[2],16),green:parseInt(""+r[3]+r[4],16),blue:parseInt(""+r[5]+r[6],16),alpha:t}}if(r.match(Y))return{red:parseInt(""+r[1]+r[1],16),green:parseInt(""+r[2]+r[2],16),blue:parseInt(""+r[3]+r[3],16)};if(r.match(N)){var n=parseFloat((parseInt(""+r[4]+r[4],16)/255).toFixed(2));return{red:parseInt(""+r[1]+r[1],16),green:parseInt(""+r[2]+r[2],16),blue:parseInt(""+r[3]+r[3],16),alpha:n}}var o=$.exec(r);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=D.exec(r);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])};var i=U.exec(r);if(i){var l="rgb("+X(parseInt(""+i[1],10),parseInt(""+i[2],10)/100,parseInt(""+i[3],10)/100)+")",c=$.exec(l);if(!c)throw new Error("Couldn't generate valid rgb string from "+r+", it returned "+l+".");return{red:parseInt(""+c[1],10),green:parseInt(""+c[2],10),blue:parseInt(""+c[3],10)}}var f=J.exec(r);if(f){var d="rgb("+X(parseInt(""+f[1],10),parseInt(""+f[2],10)/100,parseInt(""+f[3],10)/100)+")",u=$.exec(d);if(!u)throw new Error("Couldn't generate valid rgb string from "+r+", it returned "+d+".");return{red:parseInt(""+u[1],10),green:parseInt(""+u[2],10),blue:parseInt(""+u[3],10),alpha:parseFloat(""+f[4])}}throw new Error("Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.")}var Z=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function ee(e){var r=e.toString(16);return 1===r.length?"0"+r:r}function re(e,r,t){if("number"==typeof e&&"number"==typeof r&&"number"==typeof t)return Z("#"+ee(e)+ee(r)+ee(t));if("object"==typeof e&&void 0===r&&void 0===t)return Z("#"+ee(e.red)+ee(e.green)+ee(e.blue));throw new Error("Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).")}function te(e,r,t,n){if("string"==typeof e&&"number"==typeof r){var o=Q(e);return"rgba("+o.red+","+o.green+","+o.blue+","+r+")"}if("number"==typeof e&&"number"==typeof r&&"number"==typeof t&&"number"==typeof n)return 1<=n?re(e,r,t):"rgba("+e+","+r+","+t+","+n+")";if("object"==typeof e&&void 0===r&&void 0===t&&void 0===n)return 1<=e.alpha?re(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new Error("Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).")}var ne=t(4);function oe(){return(oe=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function ae(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var ie="loaders.skeleton",le=Object(y.keyframes)(["0%,60%{opacity:0;}100%{opacity:1;}"]),ce=Object(y.keyframes)(["100%{left:100%;}"]),fe=Object(y.keyframes)(["100%{right:100%;}"]),de=b.a.div.attrs({"data-garden-id":ie,"data-garden-version":"6.0.0"}).withConfig({displayName:"Skeleton__StyledSkeleton",componentId:"sc-1uuy18r-0"})(["display:inline-block;position:relative;animation:"," 750ms linear;border-radius:",";background-color:",";width:",";height:",";overflow:hidden;line-height:0.6;&::before{position:absolute;top:0;"," background-image:linear-gradient(",",transparent,",",transparent);width:1000px;height:100%;content:'';}",";"],le,ne.zdSpacingXxs,function(e){return e.dark?te(ne.zdColorWhite,.2):te(ne.zdColorGrey800,.1)},function(e){return e.customWidth},function(e){return e.customHeight},function(e){return Object(m.isRtl)(e)?Object(y.css)(["right:-1800px;animation:"," 1.5s ease-in-out 300ms infinite;"],fe):Object(y.css)(["left:-1800px;animation:"," 1.5s ease-in-out 300ms infinite;"],ce)},function(e){return Object(m.isRtl)(e)?"-45deg":"45deg"},function(e){return e.dark?te(ne.zdColorKale700,.4):te(ne.zdColorWhite,.6)},function(e){return Object(m.retrieveTheme)(ie,e)});function ue(e){var r=e.width,t=e.height,n=e.dark,o=ae(e,["width","height","dark"]);return f.a.createElement(de,oe({dark:n,customWidth:r,customHeight:t},o)," ")}ue.propTypes={width:a.a.string,height:a.a.string,dark:a.a.bool,style:a.a.object},ue.defaultProps={width:"100%",height:"100%"};var se=ue,pe={0:6,14:5,26:4,36:3,46:2,58:3,70:4,80:5,91:6},ye={0:-90,8:-81,36:-30,41:-18,44:-8,48:0,55:22,63:53,64:62,66:67,68:78,69:90,71:99,73:112,74:129,76:138,78:159,79:180,81:190,83:207,84:221,86:226,88:235,90:243,99:270},be={0:0,13:2,26:13,53:86,58:90,63:89,64:88,66:86,68:83,69:81,71:76,73:70,74:62,76:58,78:47,79:37,81:31,83:23,84:16,88:10,89:7,98:1,99:0};function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function he(){return(he=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function ge(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function ze(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=[],n=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(n=(i=l.next()).done)&&(t.push(i.value),!r||t.length!==r);n=!0);}catch(e){o=!0,a=e}finally{try{n||null==l.return||l.return()}finally{if(o)throw a}}return t}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function ve(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Se(e){return(Se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ce(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function we(e,r){return(we=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}function Oe(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var ke=function(e){function r(e){var l;return function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}(this,r),Oe(Ce(l=function(e,r){return!r||"object"!==me(r)&&"function"!=typeof r?Ce(e):r}(this,Se(r).call(this,e))),"state",{frame:0,rawFrame:0,totalFrames:100,delayComplete:!1,timestamp:0}),Oe(Ce(l),"computeFrames",function(e){var y=l.props.duration,b=l.state.totalFrames;return Object.entries(e).reduce(function(e,r,t,n){var o=ze(r,2),a=o[0],i=o[1],l=ze(n[t+1]||[b,n[0][1]],2),c=l[0],f=l[1],d=c-a,u=y/(b-1)*d,s=i;e[a]=i;for(var p=0;p<d;p++)s+=1e3/60/u*(f-s),u=y/(b-1)*(d-p),e[parseInt(a,10)+p+1]=s;return e[c]=f,e},{})}),Oe(Ce(l),"performAnimationFrame",function(){var r=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,e=l.state,t=e.totalFrames,n=e.rawFrame,o=e.timestamp,a=l.props.duration,i=r-o;l.setState(function(){var e=n+i*((t+1)/a);return{frame:Math.floor(e)%t,rawFrame:e%t,timestamp:r}})}),l.strokeWidthValues=l.computeFrames(pe),l.rotationValues=l.computeFrames(ye),l.dasharrayValues=l.computeFrames(be),l}return function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&we(e,r)}(r,f.a.Component),function(e,r,t){r&&ve(e.prototype,r),t&&ve(e,t)}(r,[{key:"render",value:function(){var e=this.props,r=e.size,t=e.color,n=e.delayMS,o=ge(e,["size","color","delayMS"]),a=this.state.frame,i=this.strokeWidthValues[a],l=this.rotationValues[a],c=this.dasharrayValues[a];return f.a.createElement(P,{tick:this.performAnimationFrame,size:r,delayMS:n},function(){return f.a.createElement(C,he({fontSize:r,color:t,width:80,height:80,"data-garden-id":"loaders.spinner"},o),f.a.createElement(v,{strokeDasharray:"".concat(c," 250"),strokeWidth:i,transform:"rotate(".concat(l,", ").concat(40,", ").concat(40,")")}))})}}]),r}();function je(){return(je=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function xe(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],0<=r.indexOf(t)||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}Oe(ke,"propTypes",{size:a.a.any,duration:a.a.number,color:a.a.string,delayMS:a.a.number}),Oe(ke,"defaultProps",{size:"inherit",color:"inherit",delayMS:750,duration:1250});function Fe(e){var r=e.size,t=e.color,n=xe(e,["size","color"]);return f.a.createElement(Ie,je({size:r,color:t},n),f.a.createElement(Pe,{cx:"14"}),f.a.createElement(Pe,{cx:"8"}),f.a.createElement(Pe,{cx:"2"}))}var Me=Object(y.keyframes)(["0%,100%{opacity:.2;}50%{opacity:.8;}"]),Pe=b.a.circle.attrs({fill:"currentColor",cy:2,r:2}).withConfig({displayName:"Inline__StyledCircle",componentId:"sc-1gjohp3-0"})([""]),Ie=b.a.svg.attrs(function(e){return{"data-garden-id":"loaders.inline","data-garden-version":"6.0.0",viewBox:"0 0 16 4",width:e.size,height:.25*e.size}}).withConfig({displayName:"Inline__StyledTypingSvg",componentId:"sc-1gjohp3-1"})(["color:",";","{opacity:0.2;&:nth-child(1){animation:"," 1s infinite;animation-delay:",";}&:nth-child(2){animation:"," 1s infinite;animation-delay:0.2s;}&:nth-child(3){animation:"," 1s infinite;animation-delay:",";}}"],function(e){return e.color},Pe,Me,function(e){return Object(m.isRtl)(e)?"unset":"0.4s"},Me,Me,function(e){return Object(m.isRtl)(e)?"0.4s":"unset"});Fe.propTypes={size:a.a.number,color:a.a.string},Fe.defaultProps={size:16,color:"inherit"};var _e=Fe;t.d(r,"Dots",function(){return A}),t.d(r,"Skeleton",function(){return se}),t.d(r,"Spinner",function(){return ke}),t.d(r,"Inline",function(){return _e})}],i.c=c,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(r,e){if(1&e&&(r=i(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)i.d(t,n,function(e){return r[e]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="",i(i.s=5);function i(e){if(c[e])return c[e].exports;var r=c[e]={i:e,l:!1,exports:{}};return l[e].call(r.exports,r,r.exports,i),r.l=!0,r.exports}var l,c}); | ||
//# sourceMappingURL=bundle.min.js.map |
@@ -11,3 +11,3 @@ { | ||
}, | ||
"version": "0.4.4", | ||
"version": "6.0.0", | ||
"main": "./dist/index.js", | ||
@@ -28,10 +28,10 @@ "files": [ | ||
"peerDependencies": { | ||
"@zendeskgarden/react-theming": "^1.0.0 || ^2.0.0 || ^3.0.0", | ||
"@zendeskgarden/react-theming": "^6.0.0", | ||
"prop-types": "^15.6.1", | ||
"react": "^0.14.0 || ^15.0.0 || ^16.0.0", | ||
"react-dom": "^0.14.0 || ^15.0.0 || ^16.0.0", | ||
"styled-components": "^3.2.6" | ||
"react": "^16.8.0", | ||
"react-dom": "^16.8.0", | ||
"styled-components": "^4.2.0" | ||
}, | ||
"devDependencies": { | ||
"@zendeskgarden/react-theming": "^3.2.3" | ||
"@zendeskgarden/react-theming": "^6.0.0" | ||
}, | ||
@@ -49,3 +49,3 @@ "keywords": [ | ||
"zendeskgarden:src": "src/index.js", | ||
"gitHead": "eece0ab2c9a1024c434809fe19ef27236124e824" | ||
"gitHead": "875fecaebf722e7bfdca5d7f765eca82701be8b7" | ||
} |
Sorry, the diff of this file is not supported yet
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
296835
7
1219