@theroutingcompany/components 0.0.23 → 0.0.24-alpha.2

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.
@@ -105,7 +105,10 @@ Check the top-level render call using <`+G+">.")}return B}}function Q1(D,B){{if(
105
105
  z-index: 5;
106
106
  box-shadow: ${h.elevation_static_high};
107
107
  border-radius: ${h.border_radius_400};
108
- animation: ${ow} 150ms cubic-bezier(0.16, 1, 0.3, 1);
108
+
109
+ @media (prefers-reduced-motion: no-preference) {
110
+ animation: ${ow} 150ms cubic-bezier(0.16, 1, 0.3, 1);
111
+ }
109
112
  `,iw=S(Rd)`
110
113
  ${hi}
111
114
  width: ${e=>mi[e.size??"medium"]};
@@ -1841,12 +1844,12 @@ object-assign
1841
1844
  @license MIT
1842
1845
  */var Hl,Py;function yT(){if(Py)return Hl;Py=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function o(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var i={},s=0;s<10;s++)i["_"+String.fromCharCode(s)]=s;var c=Object.getOwnPropertyNames(i).map(function(u){return i[u]});if(c.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(u){d[u]=u}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Hl=o()?Object.assign:function(a,i){for(var s,c=n(a),d,u=1;u<arguments.length;u++){s=Object(arguments[u]);for(var f in s)t.call(s,f)&&(c[f]=s[f]);if(e){d=e(s);for(var p=0;p<d.length;p++)r.call(s,d[p])&&(c[d[p]]=s[d[p]])}}return c},Hl}var Gl,Ey;function Yl(){if(Ey)return Gl;Ey=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Gl=e,Gl}var ql,Sy;function ky(){return Sy||(Sy=1,ql=Function.call.bind(Object.prototype.hasOwnProperty)),ql}var Zl,Ty;function $T(){if(Ty)return Zl;Ty=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Yl(),r={},n=ky();e=function(a){var i="Warning: "+a;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function o(a,i,s,c,d){if(process.env.NODE_ENV!=="production"){for(var u in a)if(n(a,u)){var f;try{if(typeof a[u]!="function"){var p=Error((c||"React class")+": "+s+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}f=a[u](i,u,c,s,null,t)}catch(b){f=b}if(f&&!(f instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in r)){r[f.message]=!0;var m=d?d():"";e("Failed "+s+" type: "+f.message+(m??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Zl=o,Zl}var Jl,Cy;function xT(){if(Cy)return Jl;Cy=1;var e=br,t=yT(),r=Yl(),n=ky(),o=$T(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function i(){return null}return Jl=function(s,c){var d=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function f(z){var O=z&&(d&&z[d]||z[u]);if(typeof O=="function")return O}var p="<<anonymous>>",m={array:$("array"),bigint:$("bigint"),bool:$("boolean"),func:$("function"),number:$("number"),object:$("object"),string:$("string"),symbol:$("symbol"),any:x(),arrayOf:w,element:y(),elementType:M(),instanceOf:F,node:R(),objectOf:k,oneOf:P,oneOfType:A,shape:N,exact:_};function b(z,O){return z===O?z!==0||1/z===1/O:z!==z&&O!==O}function g(z,O){this.message=z,this.data=O&&typeof O=="object"?O:{},this.stack=""}g.prototype=Error.prototype;function v(z){if(process.env.NODE_ENV!=="production")var O={},W=0;function q(ae,re,ee,ie,te,oe,xe){if(ie=ie||p,oe=oe||ee,xe!==r){if(c){var $e=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw $e.name="Invariant Violation",$e}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Je=ie+":"+ee;!O[Je]&&W<3&&(a("You are manually calling a React.PropTypes validation function for the `"+oe+"` prop on `"+ie+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),O[Je]=!0,W++)}}return re[ee]==null?ae?re[ee]===null?new g("The "+te+" `"+oe+"` is marked as required "+("in `"+ie+"`, but its value is `null`.")):new g("The "+te+" `"+oe+"` is marked as required in "+("`"+ie+"`, but its value is `undefined`.")):null:z(re,ee,ie,te,oe)}var Z=q.bind(null,!1);return Z.isRequired=q.bind(null,!0),Z}function $(z){function O(W,q,Z,ae,re,ee){var ie=W[q],te=Q(ie);if(te!==z){var oe=U(ie);return new g("Invalid "+ae+" `"+re+"` of type "+("`"+oe+"` supplied to `"+Z+"`, expected ")+("`"+z+"`."),{expectedType:z})}return null}return v(O)}function x(){return v(i)}function w(z){function O(W,q,Z,ae,re){if(typeof z!="function")return new g("Property `"+re+"` of component `"+Z+"` has invalid PropType notation inside arrayOf.");var ee=W[q];if(!Array.isArray(ee)){var ie=Q(ee);return new g("Invalid "+ae+" `"+re+"` of type "+("`"+ie+"` supplied to `"+Z+"`, expected an array."))}for(var te=0;te<ee.length;te++){var oe=z(ee,te,Z,ae,re+"["+te+"]",r);if(oe instanceof Error)return oe}return null}return v(O)}function y(){function z(O,W,q,Z,ae){var re=O[W];if(!s(re)){var ee=Q(re);return new g("Invalid "+Z+" `"+ae+"` of type "+("`"+ee+"` supplied to `"+q+"`, expected a single ReactElement."))}return null}return v(z)}function M(){function z(O,W,q,Z,ae){var re=O[W];if(!e.isValidElementType(re)){var ee=Q(re);return new g("Invalid "+Z+" `"+ae+"` of type "+("`"+ee+"` supplied to `"+q+"`, expected a single ReactElement type."))}return null}return v(z)}function F(z){function O(W,q,Z,ae,re){if(!(W[q]instanceof z)){var ee=z.name||p,ie=V(W[q]);return new g("Invalid "+ae+" `"+re+"` of type "+("`"+ie+"` supplied to `"+Z+"`, expected ")+("instance of `"+ee+"`."))}return null}return v(O)}function P(z){if(!Array.isArray(z))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):a("Invalid argument supplied to oneOf, expected an array.")),i;function O(W,q,Z,ae,re){for(var ee=W[q],ie=0;ie<z.length;ie++)if(b(ee,z[ie]))return null;var te=JSON.stringify(z,function(xe,$e){var Je=U($e);return Je==="symbol"?String($e):$e});return new g("Invalid "+ae+" `"+re+"` of value `"+String(ee)+"` "+("supplied to `"+Z+"`, expected one of "+te+"."))}return v(O)}function k(z){function O(W,q,Z,ae,re){if(typeof z!="function")return new g("Property `"+re+"` of component `"+Z+"` has invalid PropType notation inside objectOf.");var ee=W[q],ie=Q(ee);if(ie!=="object")return new g("Invalid "+ae+" `"+re+"` of type "+("`"+ie+"` supplied to `"+Z+"`, expected an object."));for(var te in ee)if(n(ee,te)){var oe=z(ee,te,Z,ae,re+"."+te,r);if(oe instanceof Error)return oe}return null}return v(O)}function A(z){if(!Array.isArray(z))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var O=0;O<z.length;O++){var W=z[O];if(typeof W!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+J(W)+" at index "+O+"."),i}function q(Z,ae,re,ee,ie){for(var te=[],oe=0;oe<z.length;oe++){var xe=z[oe],$e=xe(Z,ae,re,ee,ie,r);if($e==null)return null;$e.data&&n($e.data,"expectedType")&&te.push($e.data.expectedType)}var Je=te.length>0?", expected one of type ["+te.join(", ")+"]":"";return new g("Invalid "+ee+" `"+ie+"` supplied to "+("`"+re+"`"+Je+"."))}return v(q)}function R(){function z(O,W,q,Z,ae){return I(O[W])?null:new g("Invalid "+Z+" `"+ae+"` supplied to "+("`"+q+"`, expected a ReactNode."))}return v(z)}function T(z,O,W,q,Z){return new g((z||"React class")+": "+O+" type `"+W+"."+q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Z+"`.")}function N(z){function O(W,q,Z,ae,re){var ee=W[q],ie=Q(ee);if(ie!=="object")return new g("Invalid "+ae+" `"+re+"` of type `"+ie+"` "+("supplied to `"+Z+"`, expected `object`."));for(var te in z){var oe=z[te];if(typeof oe!="function")return T(Z,ae,re,te,U(oe));var xe=oe(ee,te,Z,ae,re+"."+te,r);if(xe)return xe}return null}return v(O)}function _(z){function O(W,q,Z,ae,re){var ee=W[q],ie=Q(ee);if(ie!=="object")return new g("Invalid "+ae+" `"+re+"` of type `"+ie+"` "+("supplied to `"+Z+"`, expected `object`."));var te=t({},W[q],z);for(var oe in te){var xe=z[oe];if(n(z,oe)&&typeof xe!="function")return T(Z,ae,re,oe,U(xe));if(!xe)return new g("Invalid "+ae+" `"+re+"` key `"+oe+"` supplied to `"+Z+"`.\nBad object: "+JSON.stringify(W[q],null," ")+`
1843
1846
  Valid keys: `+JSON.stringify(Object.keys(z),null," "));var $e=xe(ee,oe,Z,ae,re+"."+oe,r);if($e)return $e}return null}return v(O)}function I(z){switch(typeof z){case"number":case"string":case"undefined":return!0;case"boolean":return!z;case"object":if(Array.isArray(z))return z.every(I);if(z===null||s(z))return!0;var O=f(z);if(O){var W=O.call(z),q;if(O!==z.entries){for(;!(q=W.next()).done;)if(!I(q.value))return!1}else for(;!(q=W.next()).done;){var Z=q.value;if(Z&&!I(Z[1]))return!1}}else return!1;return!0;default:return!1}}function j(z,O){return z==="symbol"?!0:O?O["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&O instanceof Symbol:!1}function Q(z){var O=typeof z;return Array.isArray(z)?"array":z instanceof RegExp?"object":j(O,z)?"symbol":O}function U(z){if(typeof z>"u"||z===null)return""+z;var O=Q(z);if(O==="object"){if(z instanceof Date)return"date";if(z instanceof RegExp)return"regexp"}return O}function J(z){var O=U(z);switch(O){case"array":case"object":return"an "+O;case"boolean":case"date":case"regexp":return"a "+O;default:return O}}function V(z){return!z.constructor||!z.constructor.name?p:z.constructor.name}return m.checkPropTypes=o,m.resetWarningCache=o.resetWarningCache,m.PropTypes=m,m},Jl}var Xl,Iy;function _T(){if(Iy)return Xl;Iy=1;var e=Yl();function t(){}function r(){}return r.resetWarningCache=t,Xl=function(){function n(i,s,c,d,u,f){if(f!==e){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}n.isRequired=n;function o(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return a.PropTypes=a,a},Xl}if(process.env.NODE_ENV!=="production"){var wT=br,DT=!0;Dy.exports=xT()(wT.isElement,DT)}else Dy.exports=_T()();function PT(e,t){if(Kt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Kt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ay(e){var t=PT(e,"string");return Kt(t)==="symbol"?t:String(t)}function Wn(e,t,r){return t=Ay(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ET="exact-prop: ​";function ST(e){return process.env.NODE_ENV==="production"?e:C({},e,Wn({},ET,function(t){var r=Object.keys(t).filter(function(n){return!e.hasOwnProperty(n)});return r.length>0?new Error("The following props are not supported: ".concat(r.map(function(n){return"`".concat(n,"`")}).join(", "),". Please remove them.")):null}))}function za(e){for(var t="https://mui.com/production-error/?code="+e,r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}var kT=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function TT(e){var t="".concat(e).match(kT),r=t&&t[1];return r||""}function My(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.displayName||e.name||TT(e)||t}function Oy(e,t,r){var n=My(t);return e.displayName||(n!==""?"".concat(r,"(").concat(n,")"):r)}function Hn(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return My(e,"Component");if(Kt(e)==="object")switch(e.$$typeof){case br.ForwardRef:return Oy(e,e.render,"ForwardRef");case br.Memo:return Oy(e,e.type,"memo");default:return}}}function Ql(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"Material-UI: capitalize(string) expects a string argument.":za(7));return e.charAt(0).toUpperCase()+e.slice(1)}function CT(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(n,o){return o==null?n:(process.env.NODE_ENV!=="production"&&typeof o!="function"&&console.error("Material-UI: Invalid Argument Type, must only provide functions, undefined, or null."),function(){for(var i=arguments.length,s=new Array(i),c=0;c<i;c++)s[c]=arguments[c];n.apply(this,s),o.apply(this,s)})},function(){})}function Ny(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function ht(e,t){if(e==null)return{};var r=Ny(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var IT=typeof Symbol=="function"&&Symbol.for;const AT=IT?Symbol.for("mui.nested"):"__THEME_NESTED__";var MT=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function OT(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.disableGlobal,r=t===void 0?!1:t,n=e.productionPrefix,o=n===void 0?"jss":n,a=e.seed,i=a===void 0?"":a,s=i===""?"":"".concat(i,"-"),c=0,d=function(){return c+=1,process.env.NODE_ENV!=="production"&&c>=1e10&&console.warn(["Material-UI: You might have a memory leak.","The ruleCounter is not supposed to grow that much."].join("")),c};return function(u,f){var p=f.options.name;if(p&&p.indexOf("Mui")===0&&!f.options.link&&!r){if(MT.indexOf(u.key)!==-1)return"Mui-".concat(u.key);var m="".concat(s).concat(p,"-").concat(u.key);return!f.options.theme[AT]||i!==""?m:"".concat(m,"-").concat(d())}if(process.env.NODE_ENV==="production")return"".concat(s).concat(o).concat(d());var b="".concat(u.key,"-").concat(d());return f.options.classNamePrefix?"".concat(s).concat(f.options.classNamePrefix,"-").concat(b):"".concat(s).concat(b)}}function NT(e){var t=e.theme,r=e.name,n=e.props;if(!t||!t.props||!t.props[r])return n;var o=t.props[r],a;for(a in o)n[a]===void 0&&(n[a]=o[a]);return n}var FT=process.env.NODE_ENV==="production";function Ze(e,t){if(!FT){if(e)return;var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var Fy=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gn=(typeof window>"u"?"undefined":Fy(window))==="object"&&(typeof document>"u"?"undefined":Fy(document))==="object"&&document.nodeType===9;function zy(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ay(n.key),n)}}function Ky(e,t,r){return t&&zy(e.prototype,t),r&&zy(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ec(e,t){return ec=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},ec(e,t)}function Ly(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ec(e,t)}function Ry(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var zT={}.constructor;function tc(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(tc);if(e.constructor!==zT)return e;var t={};for(var r in e)t[r]=tc(e[r]);return t}function rc(e,t,r){e===void 0&&(e="unnamed");var n=r.jss,o=tc(t),a=n.plugins.onCreateRule(e,o,r);return a||(e[0]==="@"&&process.env.NODE_ENV!=="production"&&Ze(!1,"[JSS] Unknown rule "+e),null)}var Vy=function(t,r){for(var n="",o=0;o<t.length&&t[o]!=="!important";o++)n&&(n+=r),n+=t[o];return n},mr=function(t){if(!Array.isArray(t))return t;var r="";if(Array.isArray(t[0]))for(var n=0;n<t.length&&t[n]!=="!important";n++)r&&(r+=", "),r+=Vy(t[n]," ");else r=Vy(t,", ");return t[t.length-1]==="!important"&&(r+=" !important"),r};function Ur(e){return e&&e.format===!1?{linebreak:"",space:""}:{linebreak:`
1844
- `,space:" "}}function Yn(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function qn(e,t,r){r===void 0&&(r={});var n="";if(!t)return n;var o=r,a=o.indent,i=a===void 0?0:a,s=t.fallbacks;r.format===!1&&(i=-1/0);var c=Ur(r),d=c.linebreak,u=c.space;if(e&&i++,s)if(Array.isArray(s))for(var f=0;f<s.length;f++){var p=s[f];for(var m in p){var b=p[m];b!=null&&(n&&(n+=d),n+=Yn(m+":"+u+mr(b)+";",i))}}else for(var g in s){var v=s[g];v!=null&&(n&&(n+=d),n+=Yn(g+":"+u+mr(v)+";",i))}for(var $ in t){var x=t[$];x!=null&&$!=="fallbacks"&&(n&&(n+=d),n+=Yn($+":"+u+mr(x)+";",i))}return!n&&!r.allowEmpty||!e?n:(i--,n&&(n=""+d+n+d),Yn(""+e+u+"{"+n,i)+Yn("}",i))}var KT=/([[\].#*$><+~=|^:(),"'`\s])/g,jy=typeof CSS<"u"&&CSS.escape,nc=function(e){return jy?jy(e):e.replace(KT,"\\$1")},By=function(){function e(r,n,o){this.type="style",this.isProcessed=!1;var a=o.sheet,i=o.Renderer;this.key=r,this.options=o,this.style=n,a?this.renderer=a.renderer:i&&(this.renderer=new i)}var t=e.prototype;return t.prop=function(n,o,a){if(o===void 0)return this.style[n];var i=a?a.force:!1;if(!i&&this.style[n]===o)return this;var s=o;(!a||a.process!==!1)&&(s=this.options.jss.plugins.onChangeValue(o,n,this));var c=s==null||s===!1,d=n in this.style;if(c&&!d&&!i)return this;var u=c&&d;if(u?delete this.style[n]:this.style[n]=s,this.renderable&&this.renderer)return u?this.renderer.removeProperty(this.renderable,n):this.renderer.setProperty(this.renderable,n,s),this;var f=this.options.sheet;return f&&f.attached&&process.env.NODE_ENV!=="production"&&Ze(!1,'[JSS] Rule is not linked. Missing sheet option "link: true".'),this},e}(),oc=function(e){Ly(t,e);function t(n,o,a){var i;i=e.call(this,n,o,a)||this;var s=a.selector,c=a.scoped,d=a.sheet,u=a.generateId;return s?i.selectorText=s:c!==!1&&(i.id=u(Ry(Ry(i)),d),i.selectorText="."+nc(i.id)),i}var r=t.prototype;return r.applyTo=function(o){var a=this.renderer;if(a){var i=this.toJSON();for(var s in i)a.setProperty(o,s,i[s])}return this},r.toJSON=function(){var o={};for(var a in this.style){var i=this.style[a];typeof i!="object"?o[a]=i:Array.isArray(i)&&(o[a]=mr(i))}return o},r.toString=function(o){var a=this.options.sheet,i=a?a.options.link:!1,s=i?C({},o,{allowEmpty:!0}):o;return qn(this.selectorText,this.style,s)},Ky(t,[{key:"selector",set:function(o){if(o!==this.selectorText){this.selectorText=o;var a=this.renderer,i=this.renderable;if(!(!i||!a)){var s=a.setSelector(i,o);s||a.replaceRule(i,this)}}},get:function(){return this.selectorText}}]),t}(By),LT={onCreateRule:function(t,r,n){return t[0]==="@"||n.parent&&n.parent.type==="keyframes"?null:new oc(t,r,n)}},ac={indent:1,children:!0},RT=/@([\w-]+)/,VT=function(){function e(r,n,o){this.type="conditional",this.isProcessed=!1,this.key=r;var a=r.match(RT);this.at=a?a[1]:"unknown",this.query=o.name||"@"+this.at,this.options=o,this.rules=new Ka(C({},o,{parent:this}));for(var i in n)this.rules.add(i,n[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(n){return this.rules.get(n)},t.indexOf=function(n){return this.rules.indexOf(n)},t.addRule=function(n,o,a){var i=this.rules.add(n,o,a);return i?(this.options.jss.plugins.onProcessRule(i),i):null},t.replaceRule=function(n,o,a){var i=this.rules.replace(n,o,a);return i&&this.options.jss.plugins.onProcessRule(i),i},t.toString=function(n){n===void 0&&(n=ac);var o=Ur(n),a=o.linebreak;if(n.indent==null&&(n.indent=ac.indent),n.children==null&&(n.children=ac.children),n.children===!1)return this.query+" {}";var i=this.rules.toString(n);return i?this.query+" {"+a+i+a+"}":""},e}(),jT=/@media|@supports\s+/,BT={onCreateRule:function(t,r,n){return jT.test(t)?new VT(t,r,n):null}},ic={indent:1,children:!0},UT=/@keyframes\s+([\w-]+)/,sc=function(){function e(r,n,o){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var a=r.match(UT);a&&a[1]?this.name=a[1]:(this.name="noname",process.env.NODE_ENV!=="production"&&Ze(!1,"[JSS] Bad keyframes name "+r)),this.key=this.type+"-"+this.name,this.options=o;var i=o.scoped,s=o.sheet,c=o.generateId;this.id=i===!1?this.name:nc(c(this,s)),this.rules=new Ka(C({},o,{parent:this}));for(var d in n)this.rules.add(d,n[d],C({},o,{parent:this}));this.rules.process()}var t=e.prototype;return t.toString=function(n){n===void 0&&(n=ic);var o=Ur(n),a=o.linebreak;if(n.indent==null&&(n.indent=ic.indent),n.children==null&&(n.children=ic.children),n.children===!1)return this.at+" "+this.id+" {}";var i=this.rules.toString(n);return i&&(i=""+a+i+a),this.at+" "+this.id+" {"+i+"}"},e}(),WT=/@keyframes\s+/,HT=/\$([\w-]+)/g,lc=function(t,r){return typeof t=="string"?t.replace(HT,function(n,o){return o in r?r[o]:(process.env.NODE_ENV!=="production"&&Ze(!1,'[JSS] Referenced keyframes rule "'+o+'" is not defined.'),n)}):t},Uy=function(t,r,n){var o=t[r],a=lc(o,n);a!==o&&(t[r]=a)},GT={onCreateRule:function(t,r,n){return typeof t=="string"&&WT.test(t)?new sc(t,r,n):null},onProcessStyle:function(t,r,n){return r.type!=="style"||!n||("animation-name"in t&&Uy(t,"animation-name",n.keyframes),"animation"in t&&Uy(t,"animation",n.keyframes)),t},onChangeValue:function(t,r,n){var o=n.options.sheet;if(!o)return t;switch(r){case"animation":return lc(t,o.keyframes);case"animation-name":return lc(t,o.keyframes);default:return t}}},YT=function(e){Ly(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.toString=function(o){var a=this.options.sheet,i=a?a.options.link:!1,s=i?C({},o,{allowEmpty:!0}):o;return qn(this.key,this.style,s)},t}(By),qT={onCreateRule:function(t,r,n){return n.parent&&n.parent.type==="keyframes"?new YT(t,r,n):null}},ZT=function(){function e(r,n,o){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=r,this.style=n,this.options=o}var t=e.prototype;return t.toString=function(n){var o=Ur(n),a=o.linebreak;if(Array.isArray(this.style)){for(var i="",s=0;s<this.style.length;s++)i+=qn(this.at,this.style[s]),this.style[s+1]&&(i+=a);return i}return qn(this.at,this.style,n)},e}(),JT=/@font-face/,XT={onCreateRule:function(t,r,n){return JT.test(t)?new ZT(t,r,n):null}},QT=function(){function e(r,n,o){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=r,this.style=n,this.options=o}var t=e.prototype;return t.toString=function(n){return qn(this.key,this.style,n)},e}(),e8={onCreateRule:function(t,r,n){return t==="@viewport"||t==="@-ms-viewport"?new QT(t,r,n):null}},t8=function(){function e(r,n,o){this.type="simple",this.isProcessed=!1,this.key=r,this.value=n,this.options=o}var t=e.prototype;return t.toString=function(n){if(Array.isArray(this.value)){for(var o="",a=0;a<this.value.length;a++)o+=this.key+" "+this.value[a]+";",this.value[a+1]&&(o+=`
1847
+ `,space:" "}}function Yn(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function qn(e,t,r){r===void 0&&(r={});var n="";if(!t)return n;var o=r,a=o.indent,i=a===void 0?0:a,s=t.fallbacks;r.format===!1&&(i=-1/0);var c=Ur(r),d=c.linebreak,u=c.space;if(e&&i++,s)if(Array.isArray(s))for(var f=0;f<s.length;f++){var p=s[f];for(var m in p){var b=p[m];b!=null&&(n&&(n+=d),n+=Yn(m+":"+u+mr(b)+";",i))}}else for(var g in s){var v=s[g];v!=null&&(n&&(n+=d),n+=Yn(g+":"+u+mr(v)+";",i))}for(var $ in t){var x=t[$];x!=null&&$!=="fallbacks"&&(n&&(n+=d),n+=Yn($+":"+u+mr(x)+";",i))}return!n&&!r.allowEmpty||!e?n:(i--,n&&(n=""+d+n+d),Yn(""+e+u+"{"+n,i)+Yn("}",i))}var KT=/([[\].#*$><+~=|^:(),"'`\s])/g,jy=typeof CSS<"u"&&CSS.escape,nc=function(e){return jy?jy(e):e.replace(KT,"\\$1")},By=function(){function e(r,n,o){this.type="style",this.isProcessed=!1;var a=o.sheet,i=o.Renderer;this.key=r,this.options=o,this.style=n,a?this.renderer=a.renderer:i&&(this.renderer=new i)}var t=e.prototype;return t.prop=function(n,o,a){if(o===void 0)return this.style[n];var i=a?a.force:!1;if(!i&&this.style[n]===o)return this;var s=o;(!a||a.process!==!1)&&(s=this.options.jss.plugins.onChangeValue(o,n,this));var c=s==null||s===!1,d=n in this.style;if(c&&!d&&!i)return this;var u=c&&d;if(u?delete this.style[n]:this.style[n]=s,this.renderable&&this.renderer)return u?this.renderer.removeProperty(this.renderable,n):this.renderer.setProperty(this.renderable,n,s),this;var f=this.options.sheet;return f&&f.attached&&process.env.NODE_ENV!=="production"&&Ze(!1,'[JSS] Rule is not linked. Missing sheet option "link: true".'),this},e}(),oc=function(e){Ly(t,e);function t(n,o,a){var i;i=e.call(this,n,o,a)||this;var s=a.selector,c=a.scoped,d=a.sheet,u=a.generateId;return s?i.selectorText=s:c!==!1&&(i.id=u(Ry(Ry(i)),d),i.selectorText="."+nc(i.id)),i}var r=t.prototype;return r.applyTo=function(o){var a=this.renderer;if(a){var i=this.toJSON();for(var s in i)a.setProperty(o,s,i[s])}return this},r.toJSON=function(){var o={};for(var a in this.style){var i=this.style[a];typeof i!="object"?o[a]=i:Array.isArray(i)&&(o[a]=mr(i))}return o},r.toString=function(o){var a=this.options.sheet,i=a?a.options.link:!1,s=i?C({},o,{allowEmpty:!0}):o;return qn(this.selectorText,this.style,s)},Ky(t,[{key:"selector",set:function(o){if(o!==this.selectorText){this.selectorText=o;var a=this.renderer,i=this.renderable;if(!(!i||!a)){var s=a.setSelector(i,o);s||a.replaceRule(i,this)}}},get:function(){return this.selectorText}}]),t}(By),LT={onCreateRule:function(t,r,n){return t[0]==="@"||n.parent&&n.parent.type==="keyframes"?null:new oc(t,r,n)}},ac={indent:1,children:!0},RT=/@([\w-]+)/,VT=function(){function e(r,n,o){this.type="conditional",this.isProcessed=!1,this.key=r;var a=r.match(RT);this.at=a?a[1]:"unknown",this.query=o.name||"@"+this.at,this.options=o,this.rules=new Ka(C({},o,{parent:this}));for(var i in n)this.rules.add(i,n[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(n){return this.rules.get(n)},t.indexOf=function(n){return this.rules.indexOf(n)},t.addRule=function(n,o,a){var i=this.rules.add(n,o,a);return i?(this.options.jss.plugins.onProcessRule(i),i):null},t.replaceRule=function(n,o,a){var i=this.rules.replace(n,o,a);return i&&this.options.jss.plugins.onProcessRule(i),i},t.toString=function(n){n===void 0&&(n=ac);var o=Ur(n),a=o.linebreak;if(n.indent==null&&(n.indent=ac.indent),n.children==null&&(n.children=ac.children),n.children===!1)return this.query+" {}";var i=this.rules.toString(n);return i?this.query+" {"+a+i+a+"}":""},e}(),jT=/@container|@media|@supports\s+/,BT={onCreateRule:function(t,r,n){return jT.test(t)?new VT(t,r,n):null}},ic={indent:1,children:!0},UT=/@keyframes\s+([\w-]+)/,sc=function(){function e(r,n,o){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var a=r.match(UT);a&&a[1]?this.name=a[1]:(this.name="noname",process.env.NODE_ENV!=="production"&&Ze(!1,"[JSS] Bad keyframes name "+r)),this.key=this.type+"-"+this.name,this.options=o;var i=o.scoped,s=o.sheet,c=o.generateId;this.id=i===!1?this.name:nc(c(this,s)),this.rules=new Ka(C({},o,{parent:this}));for(var d in n)this.rules.add(d,n[d],C({},o,{parent:this}));this.rules.process()}var t=e.prototype;return t.toString=function(n){n===void 0&&(n=ic);var o=Ur(n),a=o.linebreak;if(n.indent==null&&(n.indent=ic.indent),n.children==null&&(n.children=ic.children),n.children===!1)return this.at+" "+this.id+" {}";var i=this.rules.toString(n);return i&&(i=""+a+i+a),this.at+" "+this.id+" {"+i+"}"},e}(),WT=/@keyframes\s+/,HT=/\$([\w-]+)/g,lc=function(t,r){return typeof t=="string"?t.replace(HT,function(n,o){return o in r?r[o]:(process.env.NODE_ENV!=="production"&&Ze(!1,'[JSS] Referenced keyframes rule "'+o+'" is not defined.'),n)}):t},Uy=function(t,r,n){var o=t[r],a=lc(o,n);a!==o&&(t[r]=a)},GT={onCreateRule:function(t,r,n){return typeof t=="string"&&WT.test(t)?new sc(t,r,n):null},onProcessStyle:function(t,r,n){return r.type!=="style"||!n||("animation-name"in t&&Uy(t,"animation-name",n.keyframes),"animation"in t&&Uy(t,"animation",n.keyframes)),t},onChangeValue:function(t,r,n){var o=n.options.sheet;if(!o)return t;switch(r){case"animation":return lc(t,o.keyframes);case"animation-name":return lc(t,o.keyframes);default:return t}}},YT=function(e){Ly(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.toString=function(o){var a=this.options.sheet,i=a?a.options.link:!1,s=i?C({},o,{allowEmpty:!0}):o;return qn(this.key,this.style,s)},t}(By),qT={onCreateRule:function(t,r,n){return n.parent&&n.parent.type==="keyframes"?new YT(t,r,n):null}},ZT=function(){function e(r,n,o){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=r,this.style=n,this.options=o}var t=e.prototype;return t.toString=function(n){var o=Ur(n),a=o.linebreak;if(Array.isArray(this.style)){for(var i="",s=0;s<this.style.length;s++)i+=qn(this.at,this.style[s]),this.style[s+1]&&(i+=a);return i}return qn(this.at,this.style,n)},e}(),JT=/@font-face/,XT={onCreateRule:function(t,r,n){return JT.test(t)?new ZT(t,r,n):null}},QT=function(){function e(r,n,o){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=r,this.style=n,this.options=o}var t=e.prototype;return t.toString=function(n){return qn(this.key,this.style,n)},e}(),e8={onCreateRule:function(t,r,n){return t==="@viewport"||t==="@-ms-viewport"?new QT(t,r,n):null}},t8=function(){function e(r,n,o){this.type="simple",this.isProcessed=!1,this.key=r,this.value=n,this.options=o}var t=e.prototype;return t.toString=function(n){if(Array.isArray(this.value)){for(var o="",a=0;a<this.value.length;a++)o+=this.key+" "+this.value[a]+";",this.value[a+1]&&(o+=`
1845
1848
  `);return o}return this.key+" "+this.value+";"},e}(),r8={"@charset":!0,"@import":!0,"@namespace":!0},n8={onCreateRule:function(t,r,n){return t in r8?new t8(t,r,n):null}},Wy=[LT,BT,GT,qT,XT,e8,n8],o8={process:!0},Hy={force:!0,process:!0},Ka=function(){function e(r){this.map={},this.raw={},this.index=[],this.counter=0,this.options=r,this.classes=r.classes,this.keyframes=r.keyframes}var t=e.prototype;return t.add=function(n,o,a){var i=this.options,s=i.parent,c=i.sheet,d=i.jss,u=i.Renderer,f=i.generateId,p=i.scoped,m=C({classes:this.classes,parent:s,sheet:c,jss:d,Renderer:u,generateId:f,scoped:p,name:n,keyframes:this.keyframes,selector:void 0},a),b=n;n in this.raw&&(b=n+"-d"+this.counter++),this.raw[b]=o,b in this.classes&&(m.selector="."+nc(this.classes[b]));var g=rc(b,o,m);if(!g)return null;this.register(g);var v=m.index===void 0?this.index.length:m.index;return this.index.splice(v,0,g),g},t.replace=function(n,o,a){var i=this.get(n),s=this.index.indexOf(i);i&&this.remove(i);var c=a;return s!==-1&&(c=C({},a,{index:s})),this.add(n,o,c)},t.get=function(n){return this.map[n]},t.remove=function(n){this.unregister(n),delete this.raw[n.key],this.index.splice(this.index.indexOf(n),1)},t.indexOf=function(n){return this.index.indexOf(n)},t.process=function(){var n=this.options.jss.plugins;this.index.slice(0).forEach(n.onProcessRule,n)},t.register=function(n){this.map[n.key]=n,n instanceof oc?(this.map[n.selector]=n,n.id&&(this.classes[n.key]=n.id)):n instanceof sc&&this.keyframes&&(this.keyframes[n.name]=n.id)},t.unregister=function(n){delete this.map[n.key],n instanceof oc?(delete this.map[n.selector],delete this.classes[n.key]):n instanceof sc&&delete this.keyframes[n.name]},t.update=function(){var n,o,a;if(typeof(arguments.length<=0?void 0:arguments[0])=="string"?(n=arguments.length<=0?void 0:arguments[0],o=arguments.length<=1?void 0:arguments[1],a=arguments.length<=2?void 0:arguments[2]):(o=arguments.length<=0?void 0:arguments[0],a=arguments.length<=1?void 0:arguments[1],n=null),n)this.updateOne(this.get(n),o,a);else for(var i=0;i<this.index.length;i++)this.updateOne(this.index[i],o,a)},t.updateOne=function(n,o,a){a===void 0&&(a=o8);var i=this.options,s=i.jss.plugins,c=i.sheet;if(n.rules instanceof e){n.rules.update(o,a);return}var d=n.style;if(s.onUpdate(o,n,c,a),a.process&&d&&d!==n.style){s.onProcessStyle(n.style,n,c);for(var u in n.style){var f=n.style[u],p=d[u];f!==p&&n.prop(u,f,Hy)}for(var m in d){var b=n.style[m],g=d[m];b==null&&b!==g&&n.prop(m,null,Hy)}}},t.toString=function(n){for(var o="",a=this.options.sheet,i=a?a.options.link:!1,s=Ur(n),c=s.linebreak,d=0;d<this.index.length;d++){var u=this.index[d],f=u.toString(n);!f&&!i||(o&&(o+=c),o+=f)}return o},e}(),Gy=function(){function e(r,n){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=C({},n,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),n.Renderer&&(this.renderer=new n.Renderer(this)),this.rules=new Ka(this.options);for(var o in r)this.rules.add(o,r[o]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached?this:(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy(),this)},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(n,o,a){var i=this.queue;this.attached&&!i&&(this.queue=[]);var s=this.rules.add(n,o,a);return s?(this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&(i?i.push(s):(this.insertRule(s),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0))),s):(this.deployed=!1,s)):null},t.replaceRule=function(n,o,a){var i=this.rules.get(n);if(!i)return this.addRule(n,o,a);var s=this.rules.replace(n,o,a);return s&&this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&this.renderer&&(s?i.renderable&&this.renderer.replaceRule(i.renderable,s):this.renderer.deleteRule(i)),s):(this.deployed=!1,s)},t.insertRule=function(n){this.renderer&&this.renderer.insertRule(n)},t.addRules=function(n,o){var a=[];for(var i in n){var s=this.addRule(i,n[i],o);s&&a.push(s)}return a},t.getRule=function(n){return this.rules.get(n)},t.deleteRule=function(n){var o=typeof n=="object"?n:this.rules.get(n);return!o||this.attached&&!o.renderable?!1:(this.rules.remove(o),this.attached&&o.renderable&&this.renderer?this.renderer.deleteRule(o.renderable):!0)},t.indexOf=function(n){return this.rules.indexOf(n)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var n;return(n=this.rules).update.apply(n,arguments),this},t.updateOne=function(n,o,a){return this.rules.updateOne(n,o,a),this},t.toString=function(n){return this.rules.toString(n)},e}(),a8=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(n,o,a){for(var i=0;i<this.registry.onCreateRule.length;i++){var s=this.registry.onCreateRule[i](n,o,a);if(s)return s}return null},t.onProcessRule=function(n){if(!n.isProcessed){for(var o=n.options.sheet,a=0;a<this.registry.onProcessRule.length;a++)this.registry.onProcessRule[a](n,o);n.style&&this.onProcessStyle(n.style,n,o),n.isProcessed=!0}},t.onProcessStyle=function(n,o,a){for(var i=0;i<this.registry.onProcessStyle.length;i++)o.style=this.registry.onProcessStyle[i](o.style,o,a)},t.onProcessSheet=function(n){for(var o=0;o<this.registry.onProcessSheet.length;o++)this.registry.onProcessSheet[o](n)},t.onUpdate=function(n,o,a,i){for(var s=0;s<this.registry.onUpdate.length;s++)this.registry.onUpdate[s](n,o,a,i)},t.onChangeValue=function(n,o,a){for(var i=n,s=0;s<this.registry.onChangeValue.length;s++)i=this.registry.onChangeValue[s](i,o,a);return i},t.use=function(n,o){o===void 0&&(o={queue:"external"});var a=this.plugins[o.queue];a.indexOf(n)===-1&&(a.push(n),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(i,s){for(var c in s)c in i?i[c].push(s[c]):process.env.NODE_ENV!=="production"&&Ze(!1,'[JSS] Unknown hook "'+c+'".');return i},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),i8=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(n){var o=this.registry,a=n.options.index;if(o.indexOf(n)===-1){if(o.length===0||a>=this.index){o.push(n);return}for(var i=0;i<o.length;i++)if(o[i].options.index>a){o.splice(i,0,n);return}}},t.reset=function(){this.registry=[]},t.remove=function(n){var o=this.registry.indexOf(n);this.registry.splice(o,1)},t.toString=function(n){for(var o=n===void 0?{}:n,a=o.attached,i=Ny(o,["attached"]),s=Ur(i),c=s.linebreak,d="",u=0;u<this.registry.length;u++){var f=this.registry[u];a!=null&&f.attached!==a||(d&&(d+=c),d+=f.toString(i))}return d},Ky(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),Zn=new i8,cc=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),dc="2f1acc6c3a606b082e5eef5e54414ffb";cc[dc]==null&&(cc[dc]=0);var Yy=cc[dc]++,s8=1e10,qy=function(t){t===void 0&&(t={});var r=0,n=function(a,i){r+=1,r>s8&&process.env.NODE_ENV!=="production"&&Ze(!1,"[JSS] You might have a memory leak. Rule counter is at "+r+".");var s="",c="";return i&&(i.options.classNamePrefix&&(c=i.options.classNamePrefix),i.options.jss.id!=null&&(s=String(i.options.jss.id))),t.minify?""+(c||"c")+Yy+s+r:c+a.key+"-"+Yy+(s?"-"+s:"")+"-"+r};return n},Zy=function(t){var r;return function(){return r||(r=t()),r}},l8=function(t,r){try{return t.attributeStyleMap?t.attributeStyleMap.get(r):t.style.getPropertyValue(r)}catch{return""}},c8=function(t,r,n){try{var o=n;if(Array.isArray(n)&&(o=mr(n)),t.attributeStyleMap)t.attributeStyleMap.set(r,o);else{var a=o?o.indexOf("!important"):-1,i=a>-1?o.substr(0,a-1):o;t.style.setProperty(r,i,a>-1?"important":"")}}catch{return!1}return!0},d8=function(t,r){try{t.attributeStyleMap?t.attributeStyleMap.delete(r):t.style.removeProperty(r)}catch(n){process.env.NODE_ENV!=="production"&&Ze(!1,'[JSS] DOMException "'+n.message+'" was thrown. Tried to remove property "'+r+'".')}},u8=function(t,r){return t.selectorText=r,t.selectorText===r},Jy=Zy(function(){return document.querySelector("head")});function f8(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n.attached&&n.options.index>t.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}function p8(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}function m8(e){for(var t=Jy(),r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(n.nodeType===8&&n.nodeValue.trim()===e)return n}return null}function h8(e){var t=Zn.registry;if(t.length>0){var r=f8(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=p8(t,e),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=e.insertionPoint;if(n&&typeof n=="string"){var o=m8(n);if(o)return{parent:o.parentNode,node:o.nextSibling};process.env.NODE_ENV!=="production"&&Ze(!1,'[JSS] Insertion point "'+n+'" not found.')}return!1}function b8(e,t){var r=t.insertionPoint,n=h8(t);if(n!==!1&&n.parent){n.parent.insertBefore(e,n.node);return}if(r&&typeof r.nodeType=="number"){var o=r,a=o.parentNode;a?a.insertBefore(e,o.nextSibling):process.env.NODE_ENV!=="production"&&Ze(!1,"[JSS] Insertion point is not in the DOM.");return}Jy().appendChild(e)}var g8=Zy(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),Xy=function(t,r,n){try{"insertRule"in t?t.insertRule(r,n):"appendRule"in t&&t.appendRule(r)}catch(o){return process.env.NODE_ENV!=="production"&&Ze(!1,"[JSS] "+o.message),!1}return t.cssRules[n]},Qy=function(t,r){var n=t.cssRules.length;return r===void 0||r>n?n:r},v8=function(){var t=document.createElement("style");return t.textContent=`
1846
1849
  `,t},y8=function(){function e(r){this.getPropertyValue=l8,this.setProperty=c8,this.removeProperty=d8,this.setSelector=u8,this.hasInsertedRules=!1,this.cssRules=[],r&&Zn.add(r),this.sheet=r;var n=this.sheet?this.sheet.options:{},o=n.media,a=n.meta,i=n.element;this.element=i||v8(),this.element.setAttribute("data-jss",""),o&&this.element.setAttribute("media",o),a&&this.element.setAttribute("data-meta",a);var s=g8();s&&this.element.setAttribute("nonce",s)}var t=e.prototype;return t.attach=function(){if(!(this.element.parentNode||!this.sheet)){b8(this.element,this.sheet.options);var n=!!(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&n&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var n=this.element.parentNode;n&&n.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=`
1847
1850
  `)}},t.deploy=function(){var n=this.sheet;if(n){if(n.options.link){this.insertRules(n.rules);return}this.element.textContent=`
1848
1851
  `+n.toString()+`
1849
- `}},t.insertRules=function(n,o){for(var a=0;a<n.index.length;a++)this.insertRule(n.index[a],a,o)},t.insertRule=function(n,o,a){if(a===void 0&&(a=this.element.sheet),n.rules){var i=n,s=a;if(n.type==="conditional"||n.type==="keyframes"){var c=Qy(a,o);if(s=Xy(a,i.toString({children:!1}),c),s===!1)return!1;this.refCssRule(n,c,s)}return this.insertRules(i.rules,s),s}var d=n.toString();if(!d)return!1;var u=Qy(a,o),f=Xy(a,d,u);return f===!1?!1:(this.hasInsertedRules=!0,this.refCssRule(n,u,f),f)},t.refCssRule=function(n,o,a){n.renderable=a,n.options.parent instanceof Gy&&this.cssRules.splice(o,0,a)},t.deleteRule=function(n){var o=this.element.sheet,a=this.indexOf(n);return a===-1?!1:(o.deleteRule(a),this.cssRules.splice(a,1),!0)},t.indexOf=function(n){return this.cssRules.indexOf(n)},t.replaceRule=function(n,o){var a=this.indexOf(n);return a===-1?!1:(this.element.sheet.deleteRule(a),this.cssRules.splice(a,1),this.insertRule(o,a))},t.getRules=function(){return this.element.sheet.cssRules},e}(),$8=0,x8=function(){function e(r){this.id=$8++,this.version="10.9.2",this.plugins=new a8,this.options={id:{minify:!1},createGenerateId:qy,Renderer:Gn?y8:null,plugins:[]},this.generateId=qy({minify:!1});for(var n=0;n<Wy.length;n++)this.plugins.use(Wy[n],{queue:"internal"});this.setup(r)}var t=e.prototype;return t.setup=function(n){return n===void 0&&(n={}),n.createGenerateId&&(this.options.createGenerateId=n.createGenerateId),n.id&&(this.options.id=C({},this.options.id,n.id)),(n.createGenerateId||n.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),n.insertionPoint!=null&&(this.options.insertionPoint=n.insertionPoint),"Renderer"in n&&(this.options.Renderer=n.Renderer),n.plugins&&this.use.apply(this,n.plugins),this},t.createStyleSheet=function(n,o){o===void 0&&(o={});var a=o,i=a.index;typeof i!="number"&&(i=Zn.index===0?0:Zn.index+1);var s=new Gy(n,C({},o,{jss:this,generateId:o.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:i}));return this.plugins.onProcessSheet(s),s},t.removeStyleSheet=function(n){return n.detach(),Zn.remove(n),this},t.createRule=function(n,o,a){if(o===void 0&&(o={}),a===void 0&&(a={}),typeof n=="object")return this.createRule(void 0,n,o);var i=C({},a,{name:n,jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var s=rc(n,o,i);return s&&this.plugins.onProcessRule(s),s},t.use=function(){for(var n=this,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return a.forEach(function(s){n.plugins.use(s)}),this},e}(),uc=function(t){return new x8(t)},fc=typeof CSS=="object"&&CSS!=null&&"number"in CSS;function e$(e){var t=null;for(var r in e){var n=e[r],o=typeof n;if(o==="function")t||(t={}),t[r]=n;else if(o==="object"&&n!==null&&!Array.isArray(n)){var a=e$(n);a&&(t||(t={}),t[r]=a)}}return t}/**
1852
+ `}},t.insertRules=function(n,o){for(var a=0;a<n.index.length;a++)this.insertRule(n.index[a],a,o)},t.insertRule=function(n,o,a){if(a===void 0&&(a=this.element.sheet),n.rules){var i=n,s=a;if(n.type==="conditional"||n.type==="keyframes"){var c=Qy(a,o);if(s=Xy(a,i.toString({children:!1}),c),s===!1)return!1;this.refCssRule(n,c,s)}return this.insertRules(i.rules,s),s}var d=n.toString();if(!d)return!1;var u=Qy(a,o),f=Xy(a,d,u);return f===!1?!1:(this.hasInsertedRules=!0,this.refCssRule(n,u,f),f)},t.refCssRule=function(n,o,a){n.renderable=a,n.options.parent instanceof Gy&&this.cssRules.splice(o,0,a)},t.deleteRule=function(n){var o=this.element.sheet,a=this.indexOf(n);return a===-1?!1:(o.deleteRule(a),this.cssRules.splice(a,1),!0)},t.indexOf=function(n){return this.cssRules.indexOf(n)},t.replaceRule=function(n,o){var a=this.indexOf(n);return a===-1?!1:(this.element.sheet.deleteRule(a),this.cssRules.splice(a,1),this.insertRule(o,a))},t.getRules=function(){return this.element.sheet.cssRules},e}(),$8=0,x8=function(){function e(r){this.id=$8++,this.version="10.10.0",this.plugins=new a8,this.options={id:{minify:!1},createGenerateId:qy,Renderer:Gn?y8:null,plugins:[]},this.generateId=qy({minify:!1});for(var n=0;n<Wy.length;n++)this.plugins.use(Wy[n],{queue:"internal"});this.setup(r)}var t=e.prototype;return t.setup=function(n){return n===void 0&&(n={}),n.createGenerateId&&(this.options.createGenerateId=n.createGenerateId),n.id&&(this.options.id=C({},this.options.id,n.id)),(n.createGenerateId||n.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),n.insertionPoint!=null&&(this.options.insertionPoint=n.insertionPoint),"Renderer"in n&&(this.options.Renderer=n.Renderer),n.plugins&&this.use.apply(this,n.plugins),this},t.createStyleSheet=function(n,o){o===void 0&&(o={});var a=o,i=a.index;typeof i!="number"&&(i=Zn.index===0?0:Zn.index+1);var s=new Gy(n,C({},o,{jss:this,generateId:o.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:i}));return this.plugins.onProcessSheet(s),s},t.removeStyleSheet=function(n){return n.detach(),Zn.remove(n),this},t.createRule=function(n,o,a){if(o===void 0&&(o={}),a===void 0&&(a={}),typeof n=="object")return this.createRule(void 0,n,o);var i=C({},a,{name:n,jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var s=rc(n,o,i);return s&&this.plugins.onProcessRule(s),s},t.use=function(){for(var n=this,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return a.forEach(function(s){n.plugins.use(s)}),this},e}(),uc=function(t){return new x8(t)},fc=typeof CSS=="object"&&CSS!=null&&"number"in CSS;function e$(e){var t=null;for(var r in e){var n=e[r],o=typeof n;if(o==="function")t||(t={}),t[r]=n;else if(o==="object"&&n!==null&&!Array.isArray(n)){var a=e$(n);a&&(t||(t={}),t[r]=a)}}return t}/**
1850
1853
  * A better abstraction over CSS.
1851
1854
  *
1852
1855
  * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
@@ -2225,25 +2228,27 @@ Defaulting to \`${Wc}\`.`}function N1(e){return YC.includes(e)}const ZC=O1,F1="T
2225
2228
  line-height: 1;
2226
2229
  }
2227
2230
 
2228
- &[data-state~='open'] {
2229
- animation: ${PI} 150ms cubic-bezier(0.16, 1, 0.3, 1);
2230
- }
2231
+ @media (prefers-reduced-motion: no-preference) {
2232
+ &[data-state~='open'] {
2233
+ animation: ${PI} 150ms cubic-bezier(0.16, 1, 0.3, 1);
2234
+ }
2235
+
2236
+ &[data-state~='closed'] {
2237
+ animation: ${DI} 100ms ease-in;
2238
+ }
2231
2239
 
2232
- &[data-state~='closed'] {
2233
- animation: ${DI} 100ms ease-in;
2240
+ &[data-swipe='cancel'] {
2241
+ transform: translateX(0);
2242
+ transition: transform 200ms ease-out;
2243
+ }
2244
+
2245
+ &[data-swipe='end'] {
2246
+ animation: ${EI} 100ms ease-out;
2247
+ }
2234
2248
  }
2235
2249
 
2236
2250
  &[data-swipe='move'] {
2237
2251
  transform: translateX(var(--radix-toast-swipe-move-x));
2238
2252
  }
2239
-
2240
- &[data-swipe='cancel'] {
2241
- transform: translateX(0);
2242
- transition: transform 200ms ease-out;
2243
- }
2244
-
2245
- &[data-swipe='end'] {
2246
- animation: ${EI} 100ms ease-out;
2247
- }
2248
2253
  `;function OI({children:e,...t}){return E(vI,{...t,children:e})}function NI({title:e,children:t,sentiment:r,onDismiss:n,...o}){const a=TI[r],i=CI[r],s=II[r];return X(MI,{style:{"--color-background-notification":a,"--color-notification":i},...o,children:[r==="negative"?E(ke.Warning,{height:18}):null,E(kI,{children:e}),E(G1,{style:{"--color-separator":s}}),t,E(H1,{onClick:n,children:E(on,{label:"Dismiss notification",children:E(ke.Close,{width:18,height:18})})})]})}K.AccessibleIcon=on,K.AlertDialog=xw,K.AlertDialogAction=ww,K.AlertDialogCancel=Dw,K.AlertDialogCancelButton=Ew,K.AlertDialogContent=gw,K.AlertDialogDescription=yw,K.AlertDialogFooter=$w,K.AlertDialogTitle=vw,K.AlertDialogTrigger=_w,K.Badge=kw,K.Box=yi,K.BreadcrumbItem=Rp,K.BreadcrumbLink=zp,K.BreadcrumbListItem=Os,K.Breadcrumbs=Lp,K.Button=Nr,K.ButtonBase=at,K.CalendarCell=Dm,K.CalendarGrid=js,K.CalendarHeader=Tm,K.Checkbox=ba,K.Dialog=fw,K.DialogClose=mw,K.DialogCloseButton=uw,K.DialogContent=sw,K.DialogDescription=cw,K.DialogFooter=Wd,K.DialogTitle=lw,K.DialogTrigger=pw,K.Direction=ly,K.DropdownMenu=nk,K.DropdownMenuArrow=fk,K.DropdownMenuCheckboxItem=dk,K.DropdownMenuContent=Fb,K.DropdownMenuGroup=ak,K.DropdownMenuItem=lk,K.DropdownMenuItemIndicator=uk,K.DropdownMenuLabel=pk,K.DropdownMenuPortal=ok,K.DropdownMenuRadioGroup=sk,K.DropdownMenuRadioItem=ck,K.DropdownMenuSeparator=mk,K.DropdownMenuSub=hk,K.DropdownMenuSubContent=gk,K.DropdownMenuSubTrigger=bk,K.DropdownMenuTrigger=ik,K.Fieldset=dE,K.FileUpload=v0,K.Flex=Bs,K.FormControl=e7,K.Heading=y0,K.IconButton=In,K.IconTooltip=fr,K.Item=Rl,K.Label=Ge,K.MultiSelect=sy,K.MultiSelectComponent=zl,K.MultiSelectItem=Aa,K.MultiSelectSection=Cl,K.NavigationMenu=R4,K.NavigationMenuPortal=V4,K.NumberFormControl=pb,K.NumberInput=Js,K.Page=fy,K.PageContent=B4,K.PageGrid=j4,K.PageHeader=py,K.PageHeaderContent=H4,K.Pagination=q4,K.PaginatorButton=Ma,K.PaginatorNumber=Oa,K.Popover=Op,K.PopoverClose=As,K.PopoverCloseCross=oE,K.PopoverContent=Mp,K.PopoverTrigger=Np,K.Radio=hT,K.RadioGroup=mT,K.RadioGroupIndicator=_y,K.RadioGroupRadio=xy,K.RangeCalendar=GE,K.Search=P1,K.Separator=Vl,K.SingleSelect=yC,K.SingleSelectItem=Aa,K.SingleSelectSection=Cl,K.StickyPageHeader=W4,K.StyledFieldSet=Vp,K.Switch=k1,K.TabTriggerWithIcon=HC,K.TabsContent=GC,K.TabsList=WC,K.TabsRoot=UC,K.TabsTrigger=M1,K.Text=Rr,K.TextAreaFormControl=fb,K.TextFormControl=ub,K.TextInput=Xs,K.Time=xn,K.TimeInput=n4,K.Title=ca,K.Toast=NI,K.ToastAction=SI,K.ToastClose=H1,K.ToastProvider=OI,K.ToastSeparator=G1,K.ToastViewport=AI,K.Tooltip=cb,K.TooltipContent=db,K.TooltipProvider=lb,K.TooltipTrigger=rl,K.buttonPadding=Fs,K.dialogCloseButtonStyles=vi,K.dialogContentStyles=hi,K.dialogDescriptionStyles=gi,K.dialogTitleStyles=bi,K.dialogWidths=mi,K.overlayStyles=pi,K.pageMinMaxWidth=uy,K.useFieldProps=ha,K.useFieldset=mt,Object.defineProperty(K,Symbol.toStringTag,{value:"Module"})});
2249
2254
  //# sourceMappingURL=trc-components.umd.js.map