Socket
Socket
Sign inDemoInstall

@fluentui/merge-styles

Package Overview
Dependencies
Maintainers
12
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/merge-styles - npm Package Compare versions

Comparing version 8.6.9 to 8.6.10

13

CHANGELOG.md
# Change Log - @fluentui/merge-styles
This log was last generated on Thu, 06 Jun 2024 07:23:06 GMT and should not be manually modified.
This log was last generated on Fri, 14 Jun 2024 15:23:21 GMT and should not be manually modified.
<!-- Start content -->
## [8.6.10](https://github.com/microsoft/fluentui/tree/@fluentui/merge-styles_v8.6.10)
Fri, 14 Jun 2024 15:23:21 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/merge-styles_v8.6.9..@fluentui/merge-styles_v8.6.10)
### Patches
- fix(merge-styles): improve DeepPartial type infinite recursion triggerpoint ([PR #31703](https://github.com/microsoft/fluentui/pull/31703) by martinhochel@microsoft.com)
## [8.6.9](https://github.com/microsoft/fluentui/tree/@fluentui/merge-styles_v8.6.9)
Thu, 06 Jun 2024 07:23:06 GMT
Thu, 06 Jun 2024 07:26:46 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/merge-styles_v8.6.8..@fluentui/merge-styles_v8.6.9)

@@ -11,0 +20,0 @@

2

dist/merge-styles.js

@@ -1,1 +0,1 @@

var MergeStyles;!function(){"use strict";var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{DEFAULT_SHADOW_CONFIG:function(){return s},GLOBAL_STYLESHEET_KEY:function(){return r},InjectionMode:function(){return v},SUPPORTS_CONSTRUCTABLE_STYLESHEETS:function(){return V},SUPPORTS_MODIFYING_ADOPTED_STYLESHEETS:function(){return te},ShadowDomStylesheet:function(){return re},Stylesheet:function(){return C},cloneCSSStyleSheet:function(){return oe},concatStyleSets:function(){return U},concatStyleSetsWithProps:function(){return $},fontFace:function(){return Z},keyframes:function(){return Q},makeShadowConfig:function(){return i},mergeCss:function(){return H},mergeCssSets:function(){return J},mergeStyleSets:function(){return G},mergeStyles:function(){return B},setRTL:function(){return u}});var n,r="__global__",o="__shadow_dom_stylesheet__",s={stylesheetKey:r,inShadow:!1,window:void 0,__isShadowConfig__:!0},i=function(e,t,n){return{stylesheetKey:e,inShadow:t,window:n,__isShadowConfig__:!0}},a=function(e){return!!e&&!0===e.__isShadowConfig__};function l(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=[],o=[],s=e;return function e(t){for(var n=0,i=t;n<i.length;n++){var l=i[n];if(l&&!a(l))if("string"==typeof l)if(l.indexOf(" ")>=0)e(l.split(" "));else{var u=s.argsFromClassName(l);u?e(u):-1===r.indexOf(l)&&r.push(l)}else Array.isArray(l)?e(l):"object"==typeof l&&o.push(l)}}(t),{classes:r,objects:o}}function u(e){n!==e&&(n=e)}function c(){return void 0===n&&(n="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),n}function f(){return{rtl:c(),shadowConfig:s}}n=c();var h=function(e,t){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},h(e,t)},d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)};function p(e,t,n){if(n||2===arguments.length)for(var r,o=0,s=t.length;o<s;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create;var y,v={none:0,insertNode:1,appendChild:2},g="__stylesheet__",_="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),m={};try{m=window||{}}catch(O){}var S,C=function(){function e(e,t){var n,r,o,s,i,a;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=d({injectionMode:"undefined"==typeof document?v.none:v.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(n=null==t?void 0:t.classNameToArgs)&&void 0!==n?n:this._classNameToArgs,this._counter=null!==(r=null==t?void 0:t.counter)&&void 0!==r?r:this._counter,this._keyToClassName=null!==(s=null!==(o=this._config.classNameCache)&&void 0!==o?o:null==t?void 0:t.keyToClassName)&&void 0!==s?s:this._keyToClassName,this._preservedRules=null!==(i=null==t?void 0:t.preservedRules)&&void 0!==i?i:this._preservedRules,this._rules=null!==(a=null==t?void 0:t.rules)&&void 0!==a?a:this._rules}return e.getInstance=function(t){if(y=m[g],m[o])return m[o].getInstance(t);if(!y||y._lastStyleElement&&y._lastStyleElement.ownerDocument!==document){var n=(null==m?void 0:m.FabricConfig)||{},r=new e(n.mergeStyles,n.serializedStylesheet);y=r,m[g]=r}return y},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(e){this._config=d(d({},this._config),e)},e.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},e.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},e.prototype.getClassName=function(e){var t=this._config.namespace,n=e||this._config.defaultPrefix;return"".concat(t?t+"-":"").concat(n,"-").concat(this._counter++)},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[this._getCacheKey(t)]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[this._getCacheKey(e)]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t,n){void 0===n&&(n=r);var o=this._config.injectionMode,s=o!==v.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),s)switch(o){case v.insertNode:this._insertRuleIntoSheet(s.sheet,e);break;case v.appendChild:s.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(t){return t({key:n,sheet:s?s.sheet:void 0,rule:e})}))},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._createStyleElement=function(){var e,t=(null===(e=this._config.window)||void 0===e?void 0:e.document)||document,n=t.head,r=t.createElement("style"),o=null;r.setAttribute("data-merge-styles","true");var s=this._config.cspSettings;if(s&&s.nonce&&r.setAttribute("nonce",s.nonce),this._lastStyleElement)o=this._lastStyleElement.nextElementSibling;else{var i=this._findPlaceholderStyleTag();o=i?i.nextElementSibling:n.childNodes[0]}return n.insertBefore(r,n.contains(o)?o:null),this._lastStyleElement=r,r},e.prototype._insertRuleIntoSheet=function(e,t){if(!e)return!1;try{return e.insertRule(t,e.cssRules.length),!0}catch(e){}return!1},e.prototype._getCacheKey=function(e){return e},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||(this._styleElement=this._createStyleElement(),_||(this._config.window||window).requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}(),w={},b={"user-select":1};function N(e,t){var n=function(){var e;if(!S){var t="undefined"!=typeof document?document:void 0,n="undefined"!=typeof navigator?navigator:void 0,r=null===(e=null==n?void 0:n.userAgent)||void 0===e?void 0:e.toLowerCase();S=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-1),isOpera:!!(r&&r.indexOf("opera")>-1),isMs:!(!n||!/rv:11.0/i.test(n.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return S}(),r=e[t];if(b[r]){var o=e[t+1];b[r]&&(n.isWebkit&&e.push("-webkit-"+r,o),n.isMoz&&e.push("-moz-"+r,o),n.isMs&&e.push("-ms-"+r,o),n.isOpera&&e.push("-o-"+r,o))}}var O,A=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function k(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var o=A.indexOf(n)>-1,s=n.indexOf("--")>-1,i=o||s?"":"px";e[t+1]="".concat(r).concat(i)}}var R="left",T="right",E="@noflip",x=((O={})[R]=T,O[T]=R,O),j={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function I(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var o=t[n+1];if("string"==typeof o&&o.indexOf(E)>=0)t[n+1]=o.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(R)>=0)t[n]=r.replace(R,T);else if(r.indexOf(T)>=0)t[n]=r.replace(T,R);else if(String(o).indexOf(R)>=0)t[n+1]=o.replace(R,T);else if(String(o).indexOf(T)>=0)t[n+1]=o.replace(T,R);else if(x[r])t[n]=x[r];else if(j[o])t[n+1]=j[o];else switch(r){case"margin":case"padding":t[n+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return"".concat(t[0]," ").concat(t[3]," ").concat(t[2]," ").concat(t[1])}return e}(o);break;case"box-shadow":t[n+1]=function(e,t){var n=e.split(" "),r=parseInt(n[0],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(o)}}}var P="displayName",K=/\:global\((.+?)\)/g;function M(e,t){return e.indexOf(":global(")>=0?e.replace(K,"$1"):0===e.indexOf(":host(")?e:0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function z(e,t,n,r,o){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?F([r],t,n=n+"{"+e,o):n.indexOf(",")>-1?function(e){if(!K.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,r=null;r=n.exec(e);)r[1].indexOf(",")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(",").map((function(e){return":global(".concat(e.trim(),")")})).join(", ")]);return t.reverse().reduce((function(e,t){var n=t[0],r=t[1],o=t[2];return e.slice(0,n)+o+e.slice(r)}),e)}(n).split(",").map((function(e){return e.trim()})).forEach((function(n){return F([r],t,M(n,e),o)})):F([r],t,M(n,e),o)}function F(e,t,n,r){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var o=t[n];o||(o={},t[n]=o,t.__order.push(n));for(var s=0,i=e;s<i.length;s++){var a=i[s];if("string"==typeof a){var l=r.argsFromClassName(a);l&&F(l,t,n,r)}else if(Array.isArray(a))F(a,t,n,r);else for(var u in a)if(a.hasOwnProperty(u)){var c=a[u];if("selectors"===u){var f=a.selectors;for(var h in f)f.hasOwnProperty(h)&&z(n,t,h,f[h],r)}else"object"==typeof c?null!==c&&z(n,t,u,c,r):void 0!==c&&("margin"===u||"padding"===u?L(o,u,c):o[u]=c)}}return t}function L(e,t,n){var r="string"==typeof n?function(e){for(var t=[],n=0,r=0,o=0;o<e.length;o++)switch(e[o]){case"(":r++;break;case")":r&&r--;break;case"\t":case" ":r||(o>n&&t.push(e.substring(n,o)),n=o+1)}return n<e.length&&t.push(e.substring(n)),t}(n):[n];0===r.length&&r.push(n),"!important"===r[r.length-1]&&(r=r.slice(0,-1).map((function(e){return e+" !important"}))),e[t+"Top"]=r[0],e[t+"Right"]=r[1]||r[0],e[t+"Bottom"]=r[2]||r[0],e[t+"Left"]=r[3]||r[1]||r[0]}function D(e,t){return t<=0?"":1===t?e:e+D(e,t-1)}function W(e,t){if(!t)return"";var n,r,o,s=[];for(var i in t)t.hasOwnProperty(i)&&i!==P&&void 0!==t[i]&&s.push(i,t[i]);for(var a=0;a<s.length;a+=2)o=void 0,"-"!==(o=(n=s)[r=a]).charAt(0)&&(n[r]=w[o]=w[o]||o.replace(/([A-Z])/g,"-$1").toLowerCase()),k(s,a),I(e,s,a),N(s,a);for(a=1;a<s.length;a+=4)s.splice(a,1,":",s[a],";");return s.join("")}function Y(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=null!==(t=e.stylesheet)&&void 0!==t?t:C.getInstance(e.shadowConfig),s=F(n,void 0,void 0,o),i=function(e,t){for(var n=[e.rtl?"rtl":"ltr"],r=!1,o=0,s=t.__order;o<s.length;o++){var i=s[o];n.push(i);var a=t[i];for(var l in a)a.hasOwnProperty(l)&&void 0!==a[l]&&(r=!0,n.push(l,a[l]))}return r?n.join(""):void 0}(e,s);if(i){var a={className:o.classNameFromKey(i),key:i,args:n};if(!a.className){a.className=o.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(s));for(var l=[],u=0,c=s.__order;u<c.length;u++){var f=c[u];l.push(f,W(e,s[f]))}a.rulesToInsert=l}return a}}function q(e,t,n,r){void 0===t&&(t=1);var o=null!=r?r:C.getInstance(n),s=e.className,i=e.key,a=e.args,l=e.rulesToInsert;if(l){for(var u=0;u<l.length;u+=2){var c=l[u+1];if(c){var f=l[u];f=f.replace(/&/g,D(".".concat(e.className),t));var h="".concat(f,"{").concat(c,"}").concat(0===f.indexOf("@")?"}":"");o.insertRule(h)}}o.cacheClassName(s,i,a,l)}}function B(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return H(e,f())}function H(e,t){var n=e instanceof Array?e:[e],r=t||{};a(n[0])&&(r.shadowConfig=n[0]),r.stylesheet=C.getInstance(r.shadowConfig);var o=l(r.stylesheet,n),s=o.classes,i=o.objects;return i.length&&s.push(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Y.apply(void 0,p([e],t,!1));return r?(q(r,e.specificityMultiplier,e.shadowConfig,e.stylesheet),r.className):""}(r,i)),s.join(" ")}function U(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles&&!a(e[0]))return e[0];for(var n={},r={},o=0,s=e;o<s.length;o++){var i=s[o];if(i&&!a(i))for(var l in i)if(i.hasOwnProperty(l)){if("subComponentStyles"===l&&void 0!==i.subComponentStyles){var u=i.subComponentStyles;for(var c in u)u.hasOwnProperty(c)&&(r.hasOwnProperty(c)?r[c].push(u[c]):r[c]=[u[c]]);continue}var f=n[l],h=i[l];n[l]=void 0===f?h:p(p([],Array.isArray(f)?f:[f],!0),Array.isArray(h)?h:[h],!0)}}if(Object.keys(r).length>0){n.subComponentStyles={};var d=n.subComponentStyles,y=function(e){if(r.hasOwnProperty(e)){var t=r[e];d[e]=function(e){return U.apply(void 0,t.map((function(t){return"function"==typeof t?t(e):t})))}}};for(var c in r)y(c)}return n}function G(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return J(e,f())}function J(e,t){var n,r={subComponentStyles:{}},o=void 0;a(e[0])?(o=e[0],n=e[1]):n=e[0],null!=o||(o=null==t?void 0:t.shadowConfig);var s=d(d({},t),{shadowConfig:o});if(!n&&e.length<=1)return{subComponentStyles:{}};var i=C.getInstance(o);s.stylesheet=i;var u=U.apply(void 0,e),c=[];for(var f in u)if(u.hasOwnProperty(f)){if("subComponentStyles"===f){r.subComponentStyles=u.subComponentStyles||{};continue}if("__shadowConfig__"===f)continue;var h=l(i,u[f]),p=h.classes,y=h.objects;(null==y?void 0:y.length)?(_=Y(s||{},{displayName:f},y))&&(c.push(_),r[f]=p.concat([_.className]).join(" ")):r[f]=p.join(" ")}for(var v=0,g=c;v<g.length;v++){var _;(_=g[v])&&q(_,null==t?void 0:t.specificityMultiplier,o)}return r}function $(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=[],o=0,s=t;o<s.length;o++){var i=s[o];i&&r.push("function"==typeof i?i(e):i)}return 1===r.length?r[0]:r.length?U.apply(void 0,r):{}}function Z(e){var t=C.getInstance(),n=W(f(),e);if(!t.classNameFromKey(n)){var r=t.getClassName();t.insertRule("@font-face{".concat(n,"}"),!0),t.cacheClassName(r,n,[],["font-face",n])}}function Q(e){var t=C.getInstance(),n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r,"{",W(f(),e[r]),"}");var o=n.join(""),s=t.classNameFromKey(o);if(s)return s;var i=t.getClassName();return t.insertRule("@keyframes ".concat(i,"{").concat(o,"}"),!0),t.cacheClassName(i,o,[],["keyframes",o]),i}var V="undefined"!=typeof document&&Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,X=!1;if(V)try{document.adoptedStyleSheets.push(),X=!0}catch(e){X=!1}var ee,te=X,ne={};try{ne=window||{}}catch(O){}var re=function(e){function t(n,r){var s=e.call(this,n,r)||this;return s._onAddSheetCallbacks=[],s._sheetCounter=0,s._adoptableSheets=new Map,ne[o]=t,s}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.getInstance=function(e){var n=e||s,o=n.stylesheetKey||r,i=n.inShadow,a=n.window||("undefined"!=typeof window?window:void 0),l=a||ne,u=a?a.document:"undefined"!=typeof document?document:void 0,c=(ee=l[g])&&!ee.getAdoptedSheets;if(!ee||c||ee._lastStyleElement&&ee._lastStyleElement.ownerDocument!==u){var f=(null==l?void 0:l.FabricConfig)||{},h={window:a,inShadow:i,stylesheetKey:o};f.mergeStyles=f.mergeStyles||{},f.mergeStyles=d(d({},h),f.mergeStyles);var p=void 0;c?function(e,t,n,o){var s;if(void 0===t&&(t=!1),o){var i=o.querySelectorAll("[data-merge-styles]");if(i){e.setConfig({window:n,inShadow:t,stylesheetKey:r});for(var a=0;a<i.length;a++){var l=i[a];l.setAttribute("data-merge-styles-global","true");for(var u=(null===(s=l.sheet)||void 0===s?void 0:s.cssRules)||[],c=0;c<u.length;c++){var f=u[c];e.insertRule(f.cssText)}}}}}(p=new t(f.mergeStyles,JSON.parse(ee.serialize())),i,a,u):p=new t(f.mergeStyles,f.serializedStylesheet),ee=p,l[g]=ee}else ee.setConfig({window:a,inShadow:i,stylesheetKey:o});return a&&ee._getAdoptableStyleSheet(o),ee},t.prototype.getAdoptedSheets=function(){return this._adoptableSheets},t.prototype.onAddSheet=function(e){var t=this;return this._onAddSheetCallbacks.push(e),function(){t._onAddSheetCallbacks=t._onAddSheetCallbacks.filter((function(t){return t!==e}))}},t.prototype.insertRule=function(t,n){var o=this._config,s=o.injectionMode,i=o.stylesheetKey,a=void 0===i?r:i,l=s!==v.none,u=a===r||!!this._adoptableSheets.has(a),c=void 0;l&&u&&(c=this._getAdoptableStyleSheet(a)),c&&this._insertRuleIntoSheet(c,t),e.prototype.insertRule.call(this,t,n,a)},t.prototype._getCacheKey=function(t){var n=this._config,o=n.inShadow,s=void 0!==o&&o,i=n.stylesheetKey;return s?"__".concat(void 0===i?r:i,"__").concat(t):e.prototype._getCacheKey.call(this,t)},t.prototype._createStyleElement=function(){var t=e.prototype._createStyleElement.call(this);return this._config.stylesheetKey===r&&t.setAttribute("data-merge-styles-global","true"),t},t.prototype._makeCSSStyleSheet=function(){var e=this._config.window||window,t=void 0;return(t=V?new e.CSSStyleSheet:this._createStyleElement().sheet)&&(t.bucketName="merge-styles",t.metadata={stylesheetKey:this._config.stylesheetKey||r,sortOrder:this._sheetCounter++}),t},t.prototype._addAdoptableStyleSheet=function(e,t,n){var r=this;if(void 0===n&&(n=!0),!this._adoptableSheets.has(e)){this._adoptableSheets.set(e,t);var o=this._config.window;n&&o&&o.queueMicrotask((function(){r._onAddSheetCallbacks.forEach((function(n){return n({key:e,sheet:t})}))}))}},t.prototype._getAdoptableStyleSheet=function(e){var t=this._adoptableSheets.get(e);return t||(t=this._makeCSSStyleSheet(),this._addAdoptableStyleSheet(e,t)),t},t}(C),oe=function(e,t){for(var n=0;n<e.cssRules.length;n++)t.insertRule(e.cssRules[n].cssText,n);return t},se={},ie=void 0;try{ie=window}catch(e){}function ae(e,t){if(void 0!==ie){var n=ie.__packages__=ie.__packages__||{};n[e]&&se[e]||(se[e]=t,(n[e]=n[e]||[]).push(t))}}ae("@fluentui/set-version","6.0.0"),ae("@fluentui/merge-styles","8.6.9"),MergeStyles=t}();
var MergeStyles;!function(){"use strict";var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{DEFAULT_SHADOW_CONFIG:function(){return s},GLOBAL_STYLESHEET_KEY:function(){return r},InjectionMode:function(){return v},SUPPORTS_CONSTRUCTABLE_STYLESHEETS:function(){return V},SUPPORTS_MODIFYING_ADOPTED_STYLESHEETS:function(){return te},ShadowDomStylesheet:function(){return re},Stylesheet:function(){return C},cloneCSSStyleSheet:function(){return oe},concatStyleSets:function(){return U},concatStyleSetsWithProps:function(){return $},fontFace:function(){return Z},keyframes:function(){return Q},makeShadowConfig:function(){return i},mergeCss:function(){return H},mergeCssSets:function(){return J},mergeStyleSets:function(){return G},mergeStyles:function(){return B},setRTL:function(){return u}});var n,r="__global__",o="__shadow_dom_stylesheet__",s={stylesheetKey:r,inShadow:!1,window:void 0,__isShadowConfig__:!0},i=function(e,t,n){return{stylesheetKey:e,inShadow:t,window:n,__isShadowConfig__:!0}},a=function(e){return!(!e||!function(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}(e))&&!0===e.__isShadowConfig__};function l(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=[],o=[],s=e;return function e(t){for(var n=0,i=t;n<i.length;n++){var l=i[n];if(l&&!a(l))if("string"==typeof l)if(l.indexOf(" ")>=0)e(l.split(" "));else{var u=s.argsFromClassName(l);u?e(u):-1===r.indexOf(l)&&r.push(l)}else Array.isArray(l)?e(l):"object"==typeof l&&o.push(l)}}(t),{classes:r,objects:o}}function u(e){n!==e&&(n=e)}function c(){return void 0===n&&(n="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),n}function f(){return{rtl:c(),shadowConfig:s}}n=c();var h=function(e,t){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},h(e,t)},d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)};function p(e,t,n){if(n||2===arguments.length)for(var r,o=0,s=t.length;o<s;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create;var y,v={none:0,insertNode:1,appendChild:2},g="__stylesheet__",_="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),m={};try{m=window||{}}catch(O){}var S,C=function(){function e(e,t){var n,r,o,s,i,a;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=d({injectionMode:"undefined"==typeof document?v.none:v.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(n=null==t?void 0:t.classNameToArgs)&&void 0!==n?n:this._classNameToArgs,this._counter=null!==(r=null==t?void 0:t.counter)&&void 0!==r?r:this._counter,this._keyToClassName=null!==(s=null!==(o=this._config.classNameCache)&&void 0!==o?o:null==t?void 0:t.keyToClassName)&&void 0!==s?s:this._keyToClassName,this._preservedRules=null!==(i=null==t?void 0:t.preservedRules)&&void 0!==i?i:this._preservedRules,this._rules=null!==(a=null==t?void 0:t.rules)&&void 0!==a?a:this._rules}return e.getInstance=function(t){if(y=m[g],m[o])return m[o].getInstance(t);if(!y||y._lastStyleElement&&y._lastStyleElement.ownerDocument!==document){var n=(null==m?void 0:m.FabricConfig)||{},r=new e(n.mergeStyles,n.serializedStylesheet);y=r,m[g]=r}return y},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(e){this._config=d(d({},this._config),e)},e.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},e.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},e.prototype.getClassName=function(e){var t=this._config.namespace,n=e||this._config.defaultPrefix;return"".concat(t?t+"-":"").concat(n,"-").concat(this._counter++)},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[this._getCacheKey(t)]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[this._getCacheKey(e)]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t,n){void 0===n&&(n=r);var o=this._config.injectionMode,s=o!==v.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),s)switch(o){case v.insertNode:this._insertRuleIntoSheet(s.sheet,e);break;case v.appendChild:s.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(t){return t({key:n,sheet:s?s.sheet:void 0,rule:e})}))},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._createStyleElement=function(){var e,t=(null===(e=this._config.window)||void 0===e?void 0:e.document)||document,n=t.head,r=t.createElement("style"),o=null;r.setAttribute("data-merge-styles","true");var s=this._config.cspSettings;if(s&&s.nonce&&r.setAttribute("nonce",s.nonce),this._lastStyleElement)o=this._lastStyleElement.nextElementSibling;else{var i=this._findPlaceholderStyleTag();o=i?i.nextElementSibling:n.childNodes[0]}return n.insertBefore(r,n.contains(o)?o:null),this._lastStyleElement=r,r},e.prototype._insertRuleIntoSheet=function(e,t){if(!e)return!1;try{return e.insertRule(t,e.cssRules.length),!0}catch(e){}return!1},e.prototype._getCacheKey=function(e){return e},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||(this._styleElement=this._createStyleElement(),_||(this._config.window||window).requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}(),b={},w={"user-select":1};function N(e,t){var n=function(){var e;if(!S){var t="undefined"!=typeof document?document:void 0,n="undefined"!=typeof navigator?navigator:void 0,r=null===(e=null==n?void 0:n.userAgent)||void 0===e?void 0:e.toLowerCase();S=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-1),isOpera:!!(r&&r.indexOf("opera")>-1),isMs:!(!n||!/rv:11.0/i.test(n.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return S}(),r=e[t];if(w[r]){var o=e[t+1];w[r]&&(n.isWebkit&&e.push("-webkit-"+r,o),n.isMoz&&e.push("-moz-"+r,o),n.isMs&&e.push("-ms-"+r,o),n.isOpera&&e.push("-o-"+r,o))}}var O,A=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function k(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var o=A.indexOf(n)>-1,s=n.indexOf("--")>-1,i=o||s?"":"px";e[t+1]="".concat(r).concat(i)}}var R="left",T="right",E="@noflip",x=((O={})[R]=T,O[T]=R,O),j={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function I(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var o=t[n+1];if("string"==typeof o&&o.indexOf(E)>=0)t[n+1]=o.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(R)>=0)t[n]=r.replace(R,T);else if(r.indexOf(T)>=0)t[n]=r.replace(T,R);else if(String(o).indexOf(R)>=0)t[n+1]=o.replace(R,T);else if(String(o).indexOf(T)>=0)t[n+1]=o.replace(T,R);else if(x[r])t[n]=x[r];else if(j[o])t[n+1]=j[o];else switch(r){case"margin":case"padding":t[n+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return"".concat(t[0]," ").concat(t[3]," ").concat(t[2]," ").concat(t[1])}return e}(o);break;case"box-shadow":t[n+1]=function(e,t){var n=e.split(" "),r=parseInt(n[0],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(o)}}}var P="displayName",K=/\:global\((.+?)\)/g;function M(e,t){return e.indexOf(":global(")>=0?e.replace(K,"$1"):0===e.indexOf(":host(")?e:0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function z(e,t,n,r,o){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?F([r],t,n=n+"{"+e,o):n.indexOf(",")>-1?function(e){if(!K.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,r=null;r=n.exec(e);)r[1].indexOf(",")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(",").map((function(e){return":global(".concat(e.trim(),")")})).join(", ")]);return t.reverse().reduce((function(e,t){var n=t[0],r=t[1],o=t[2];return e.slice(0,n)+o+e.slice(r)}),e)}(n).split(",").map((function(e){return e.trim()})).forEach((function(n){return F([r],t,M(n,e),o)})):F([r],t,M(n,e),o)}function F(e,t,n,r){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var o=t[n];o||(o={},t[n]=o,t.__order.push(n));for(var s=0,i=e;s<i.length;s++){var a=i[s];if("string"==typeof a){var l=r.argsFromClassName(a);l&&F(l,t,n,r)}else if(Array.isArray(a))F(a,t,n,r);else for(var u in a)if(a.hasOwnProperty(u)){var c=a[u];if("selectors"===u){var f=a.selectors;for(var h in f)f.hasOwnProperty(h)&&z(n,t,h,f[h],r)}else"object"==typeof c?null!==c&&z(n,t,u,c,r):void 0!==c&&("margin"===u||"padding"===u?L(o,u,c):o[u]=c)}}return t}function L(e,t,n){var r="string"==typeof n?function(e){for(var t=[],n=0,r=0,o=0;o<e.length;o++)switch(e[o]){case"(":r++;break;case")":r&&r--;break;case"\t":case" ":r||(o>n&&t.push(e.substring(n,o)),n=o+1)}return n<e.length&&t.push(e.substring(n)),t}(n):[n];0===r.length&&r.push(n),"!important"===r[r.length-1]&&(r=r.slice(0,-1).map((function(e){return e+" !important"}))),e[t+"Top"]=r[0],e[t+"Right"]=r[1]||r[0],e[t+"Bottom"]=r[2]||r[0],e[t+"Left"]=r[3]||r[1]||r[0]}function D(e,t){return t<=0?"":1===t?e:e+D(e,t-1)}function W(e,t){if(!t)return"";var n,r,o,s=[];for(var i in t)t.hasOwnProperty(i)&&i!==P&&void 0!==t[i]&&s.push(i,t[i]);for(var a=0;a<s.length;a+=2)o=void 0,"-"!==(o=(n=s)[r=a]).charAt(0)&&(n[r]=b[o]=b[o]||o.replace(/([A-Z])/g,"-$1").toLowerCase()),k(s,a),I(e,s,a),N(s,a);for(a=1;a<s.length;a+=4)s.splice(a,1,":",s[a],";");return s.join("")}function Y(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=null!==(t=e.stylesheet)&&void 0!==t?t:C.getInstance(e.shadowConfig),s=F(n,void 0,void 0,o),i=function(e,t){for(var n=[e.rtl?"rtl":"ltr"],r=!1,o=0,s=t.__order;o<s.length;o++){var i=s[o];n.push(i);var a=t[i];for(var l in a)a.hasOwnProperty(l)&&void 0!==a[l]&&(r=!0,n.push(l,a[l]))}return r?n.join(""):void 0}(e,s);if(i){var a={className:o.classNameFromKey(i),key:i,args:n};if(!a.className){a.className=o.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(s));for(var l=[],u=0,c=s.__order;u<c.length;u++){var f=c[u];l.push(f,W(e,s[f]))}a.rulesToInsert=l}return a}}function q(e,t,n,r){void 0===t&&(t=1);var o=null!=r?r:C.getInstance(n),s=e.className,i=e.key,a=e.args,l=e.rulesToInsert;if(l){for(var u=0;u<l.length;u+=2){var c=l[u+1];if(c){var f=l[u];f=f.replace(/&/g,D(".".concat(e.className),t));var h="".concat(f,"{").concat(c,"}").concat(0===f.indexOf("@")?"}":"");o.insertRule(h)}}o.cacheClassName(s,i,a,l)}}function B(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return H(e,f())}function H(e,t){var n=e instanceof Array?e:[e],r=t||{};a(n[0])&&(r.shadowConfig=n[0]),r.stylesheet=C.getInstance(r.shadowConfig);var o=l(r.stylesheet,n),s=o.classes,i=o.objects;return i.length&&s.push(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Y.apply(void 0,p([e],t,!1));return r?(q(r,e.specificityMultiplier,e.shadowConfig,e.stylesheet),r.className):""}(r,i)),s.join(" ")}function U(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles&&!a(e[0]))return e[0];for(var n={},r={},o=0,s=e;o<s.length;o++){var i=s[o];if(i&&!a(i))for(var l in i)if(i.hasOwnProperty(l)){if("subComponentStyles"===l&&void 0!==i.subComponentStyles){var u=i.subComponentStyles;for(var c in u)u.hasOwnProperty(c)&&(r.hasOwnProperty(c)?r[c].push(u[c]):r[c]=[u[c]]);continue}var f=n[l],h=i[l];n[l]=void 0===f?h:p(p([],Array.isArray(f)?f:[f],!0),Array.isArray(h)?h:[h],!0)}}if(Object.keys(r).length>0){n.subComponentStyles={};var d=n.subComponentStyles,y=function(e){if(r.hasOwnProperty(e)){var t=r[e];d[e]=function(e){return U.apply(void 0,t.map((function(t){return"function"==typeof t?t(e):t})))}}};for(var c in r)y(c)}return n}function G(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return J(e,f())}function J(e,t){var n,r={subComponentStyles:{}},o=void 0;a(e[0])?(o=e[0],n=e[1]):n=e[0],null!=o||(o=null==t?void 0:t.shadowConfig);var s=d(d({},t),{shadowConfig:o});if(!n&&e.length<=1)return{subComponentStyles:{}};var i=C.getInstance(o);s.stylesheet=i;var u=U.apply(void 0,e),c=[];for(var f in u)if(u.hasOwnProperty(f)){if("subComponentStyles"===f){r.subComponentStyles=u.subComponentStyles||{};continue}if("__shadowConfig__"===f)continue;var h=l(i,u[f]),p=h.classes,y=h.objects;(null==y?void 0:y.length)?(_=Y(s||{},{displayName:f},y))&&(c.push(_),r[f]=p.concat([_.className]).join(" ")):r[f]=p.join(" ")}for(var v=0,g=c;v<g.length;v++){var _;(_=g[v])&&q(_,null==t?void 0:t.specificityMultiplier,o)}return r}function $(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=[],o=0,s=t;o<s.length;o++){var i=s[o];i&&r.push("function"==typeof i?i(e):i)}return 1===r.length?r[0]:r.length?U.apply(void 0,r):{}}function Z(e){var t=C.getInstance(),n=W(f(),e);if(!t.classNameFromKey(n)){var r=t.getClassName();t.insertRule("@font-face{".concat(n,"}"),!0),t.cacheClassName(r,n,[],["font-face",n])}}function Q(e){var t=C.getInstance(),n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r,"{",W(f(),e[r]),"}");var o=n.join(""),s=t.classNameFromKey(o);if(s)return s;var i=t.getClassName();return t.insertRule("@keyframes ".concat(i,"{").concat(o,"}"),!0),t.cacheClassName(i,o,[],["keyframes",o]),i}var V="undefined"!=typeof document&&Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,X=!1;if(V)try{document.adoptedStyleSheets.push(),X=!0}catch(e){X=!1}var ee,te=X,ne={};try{ne=window||{}}catch(O){}var re=function(e){function t(n,r){var s=e.call(this,n,r)||this;return s._onAddSheetCallbacks=[],s._sheetCounter=0,s._adoptableSheets=new Map,ne[o]=t,s}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.getInstance=function(e){var n=e||s,o=n.stylesheetKey||r,i=n.inShadow,a=n.window||("undefined"!=typeof window?window:void 0),l=a||ne,u=a?a.document:"undefined"!=typeof document?document:void 0,c=(ee=l[g])&&!ee.getAdoptedSheets;if(!ee||c||ee._lastStyleElement&&ee._lastStyleElement.ownerDocument!==u){var f=(null==l?void 0:l.FabricConfig)||{},h={window:a,inShadow:i,stylesheetKey:o};f.mergeStyles=f.mergeStyles||{},f.mergeStyles=d(d({},h),f.mergeStyles);var p=void 0;c?function(e,t,n,o){var s;if(void 0===t&&(t=!1),o){var i=o.querySelectorAll("[data-merge-styles]");if(i){e.setConfig({window:n,inShadow:t,stylesheetKey:r});for(var a=0;a<i.length;a++){var l=i[a];l.setAttribute("data-merge-styles-global","true");for(var u=(null===(s=l.sheet)||void 0===s?void 0:s.cssRules)||[],c=0;c<u.length;c++){var f=u[c];e.insertRule(f.cssText)}}}}}(p=new t(f.mergeStyles,JSON.parse(ee.serialize())),i,a,u):p=new t(f.mergeStyles,f.serializedStylesheet),ee=p,l[g]=ee}else ee.setConfig({window:a,inShadow:i,stylesheetKey:o});return a&&ee._getAdoptableStyleSheet(o),ee},t.prototype.getAdoptedSheets=function(){return this._adoptableSheets},t.prototype.onAddSheet=function(e){var t=this;return this._onAddSheetCallbacks.push(e),function(){t._onAddSheetCallbacks=t._onAddSheetCallbacks.filter((function(t){return t!==e}))}},t.prototype.insertRule=function(t,n){var o=this._config,s=o.injectionMode,i=o.stylesheetKey,a=void 0===i?r:i,l=s!==v.none,u=a===r||!!this._adoptableSheets.has(a),c=void 0;l&&u&&(c=this._getAdoptableStyleSheet(a)),c&&this._insertRuleIntoSheet(c,t),e.prototype.insertRule.call(this,t,n,a)},t.prototype._getCacheKey=function(t){var n=this._config,o=n.inShadow,s=void 0!==o&&o,i=n.stylesheetKey;return s?"__".concat(void 0===i?r:i,"__").concat(t):e.prototype._getCacheKey.call(this,t)},t.prototype._createStyleElement=function(){var t=e.prototype._createStyleElement.call(this);return this._config.stylesheetKey===r&&t.setAttribute("data-merge-styles-global","true"),t},t.prototype._makeCSSStyleSheet=function(){var e=this._config.window||window,t=void 0;return(t=V?new e.CSSStyleSheet:this._createStyleElement().sheet)&&(t.bucketName="merge-styles",t.metadata={stylesheetKey:this._config.stylesheetKey||r,sortOrder:this._sheetCounter++}),t},t.prototype._addAdoptableStyleSheet=function(e,t,n){var r=this;if(void 0===n&&(n=!0),!this._adoptableSheets.has(e)){this._adoptableSheets.set(e,t);var o=this._config.window;n&&o&&o.queueMicrotask((function(){r._onAddSheetCallbacks.forEach((function(n){return n({key:e,sheet:t})}))}))}},t.prototype._getAdoptableStyleSheet=function(e){var t=this._adoptableSheets.get(e);return t||(t=this._makeCSSStyleSheet(),this._addAdoptableStyleSheet(e,t)),t},t}(C),oe=function(e,t){for(var n=0;n<e.cssRules.length;n++)t.insertRule(e.cssRules[n].cssText,n);return t},se={},ie=void 0;try{ie=window}catch(e){}function ae(e,t){if(void 0!==ie){var n=ie.__packages__=ie.__packages__||{};n[e]&&se[e]||(se[e]=t,(n[e]=n[e]||[]).push(t))}}ae("@fluentui/set-version","6.0.0"),ae("@fluentui/merge-styles","8.6.10"),MergeStyles=t}();

@@ -1,1 +0,1 @@

var MergeStyles;!function(){"use strict";var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{DEFAULT_SHADOW_CONFIG:function(){return s},GLOBAL_STYLESHEET_KEY:function(){return r},InjectionMode:function(){return v},SUPPORTS_CONSTRUCTABLE_STYLESHEETS:function(){return V},SUPPORTS_MODIFYING_ADOPTED_STYLESHEETS:function(){return te},ShadowDomStylesheet:function(){return re},Stylesheet:function(){return C},cloneCSSStyleSheet:function(){return oe},concatStyleSets:function(){return U},concatStyleSetsWithProps:function(){return $},fontFace:function(){return Z},keyframes:function(){return Q},makeShadowConfig:function(){return i},mergeCss:function(){return H},mergeCssSets:function(){return J},mergeStyleSets:function(){return G},mergeStyles:function(){return B},setRTL:function(){return u}});var n,r="__global__",o="__shadow_dom_stylesheet__",s={stylesheetKey:r,inShadow:!1,window:void 0,__isShadowConfig__:!0},i=function(e,t,n){return{stylesheetKey:e,inShadow:t,window:n,__isShadowConfig__:!0}},a=function(e){return!!e&&!0===e.__isShadowConfig__};function l(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=[],o=[],s=e;return function e(t){for(var n=0,i=t;n<i.length;n++){var l=i[n];if(l&&!a(l))if("string"==typeof l)if(l.indexOf(" ")>=0)e(l.split(" "));else{var u=s.argsFromClassName(l);u?e(u):-1===r.indexOf(l)&&r.push(l)}else Array.isArray(l)?e(l):"object"==typeof l&&o.push(l)}}(t),{classes:r,objects:o}}function u(e){n!==e&&(n=e)}function c(){return void 0===n&&(n="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),n}function f(){return{rtl:c(),shadowConfig:s}}n=c();var h=function(e,t){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},h(e,t)},d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)};function p(e,t,n){if(n||2===arguments.length)for(var r,o=0,s=t.length;o<s;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create;var y,v={none:0,insertNode:1,appendChild:2},g="__stylesheet__",_="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),m={};try{m=window||{}}catch(O){}var S,C=function(){function e(e,t){var n,r,o,s,i,a;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=d({injectionMode:"undefined"==typeof document?v.none:v.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(n=null==t?void 0:t.classNameToArgs)&&void 0!==n?n:this._classNameToArgs,this._counter=null!==(r=null==t?void 0:t.counter)&&void 0!==r?r:this._counter,this._keyToClassName=null!==(s=null!==(o=this._config.classNameCache)&&void 0!==o?o:null==t?void 0:t.keyToClassName)&&void 0!==s?s:this._keyToClassName,this._preservedRules=null!==(i=null==t?void 0:t.preservedRules)&&void 0!==i?i:this._preservedRules,this._rules=null!==(a=null==t?void 0:t.rules)&&void 0!==a?a:this._rules}return e.getInstance=function(t){if(y=m[g],m[o])return m[o].getInstance(t);if(!y||y._lastStyleElement&&y._lastStyleElement.ownerDocument!==document){var n=(null==m?void 0:m.FabricConfig)||{},r=new e(n.mergeStyles,n.serializedStylesheet);y=r,m[g]=r}return y},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(e){this._config=d(d({},this._config),e)},e.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},e.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},e.prototype.getClassName=function(e){var t=this._config.namespace,n=e||this._config.defaultPrefix;return"".concat(t?t+"-":"").concat(n,"-").concat(this._counter++)},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[this._getCacheKey(t)]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[this._getCacheKey(e)]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t,n){void 0===n&&(n=r);var o=this._config.injectionMode,s=o!==v.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),s)switch(o){case v.insertNode:this._insertRuleIntoSheet(s.sheet,e);break;case v.appendChild:s.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(t){return t({key:n,sheet:s?s.sheet:void 0,rule:e})}))},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._createStyleElement=function(){var e,t=(null===(e=this._config.window)||void 0===e?void 0:e.document)||document,n=t.head,r=t.createElement("style"),o=null;r.setAttribute("data-merge-styles","true");var s=this._config.cspSettings;if(s&&s.nonce&&r.setAttribute("nonce",s.nonce),this._lastStyleElement)o=this._lastStyleElement.nextElementSibling;else{var i=this._findPlaceholderStyleTag();o=i?i.nextElementSibling:n.childNodes[0]}return n.insertBefore(r,n.contains(o)?o:null),this._lastStyleElement=r,r},e.prototype._insertRuleIntoSheet=function(e,t){if(!e)return!1;try{return e.insertRule(t,e.cssRules.length),!0}catch(e){}return!1},e.prototype._getCacheKey=function(e){return e},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||(this._styleElement=this._createStyleElement(),_||(this._config.window||window).requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}(),w={},b={"user-select":1};function N(e,t){var n=function(){var e;if(!S){var t="undefined"!=typeof document?document:void 0,n="undefined"!=typeof navigator?navigator:void 0,r=null===(e=null==n?void 0:n.userAgent)||void 0===e?void 0:e.toLowerCase();S=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-1),isOpera:!!(r&&r.indexOf("opera")>-1),isMs:!(!n||!/rv:11.0/i.test(n.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return S}(),r=e[t];if(b[r]){var o=e[t+1];b[r]&&(n.isWebkit&&e.push("-webkit-"+r,o),n.isMoz&&e.push("-moz-"+r,o),n.isMs&&e.push("-ms-"+r,o),n.isOpera&&e.push("-o-"+r,o))}}var O,A=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function k(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var o=A.indexOf(n)>-1,s=n.indexOf("--")>-1,i=o||s?"":"px";e[t+1]="".concat(r).concat(i)}}var R="left",T="right",E="@noflip",x=((O={})[R]=T,O[T]=R,O),j={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function I(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var o=t[n+1];if("string"==typeof o&&o.indexOf(E)>=0)t[n+1]=o.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(R)>=0)t[n]=r.replace(R,T);else if(r.indexOf(T)>=0)t[n]=r.replace(T,R);else if(String(o).indexOf(R)>=0)t[n+1]=o.replace(R,T);else if(String(o).indexOf(T)>=0)t[n+1]=o.replace(T,R);else if(x[r])t[n]=x[r];else if(j[o])t[n+1]=j[o];else switch(r){case"margin":case"padding":t[n+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return"".concat(t[0]," ").concat(t[3]," ").concat(t[2]," ").concat(t[1])}return e}(o);break;case"box-shadow":t[n+1]=function(e,t){var n=e.split(" "),r=parseInt(n[0],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(o)}}}var P="displayName",K=/\:global\((.+?)\)/g;function M(e,t){return e.indexOf(":global(")>=0?e.replace(K,"$1"):0===e.indexOf(":host(")?e:0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function z(e,t,n,r,o){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?F([r],t,n=n+"{"+e,o):n.indexOf(",")>-1?function(e){if(!K.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,r=null;r=n.exec(e);)r[1].indexOf(",")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(",").map((function(e){return":global(".concat(e.trim(),")")})).join(", ")]);return t.reverse().reduce((function(e,t){var n=t[0],r=t[1],o=t[2];return e.slice(0,n)+o+e.slice(r)}),e)}(n).split(",").map((function(e){return e.trim()})).forEach((function(n){return F([r],t,M(n,e),o)})):F([r],t,M(n,e),o)}function F(e,t,n,r){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var o=t[n];o||(o={},t[n]=o,t.__order.push(n));for(var s=0,i=e;s<i.length;s++){var a=i[s];if("string"==typeof a){var l=r.argsFromClassName(a);l&&F(l,t,n,r)}else if(Array.isArray(a))F(a,t,n,r);else for(var u in a)if(a.hasOwnProperty(u)){var c=a[u];if("selectors"===u){var f=a.selectors;for(var h in f)f.hasOwnProperty(h)&&z(n,t,h,f[h],r)}else"object"==typeof c?null!==c&&z(n,t,u,c,r):void 0!==c&&("margin"===u||"padding"===u?L(o,u,c):o[u]=c)}}return t}function L(e,t,n){var r="string"==typeof n?function(e){for(var t=[],n=0,r=0,o=0;o<e.length;o++)switch(e[o]){case"(":r++;break;case")":r&&r--;break;case"\t":case" ":r||(o>n&&t.push(e.substring(n,o)),n=o+1)}return n<e.length&&t.push(e.substring(n)),t}(n):[n];0===r.length&&r.push(n),"!important"===r[r.length-1]&&(r=r.slice(0,-1).map((function(e){return e+" !important"}))),e[t+"Top"]=r[0],e[t+"Right"]=r[1]||r[0],e[t+"Bottom"]=r[2]||r[0],e[t+"Left"]=r[3]||r[1]||r[0]}function D(e,t){return t<=0?"":1===t?e:e+D(e,t-1)}function W(e,t){if(!t)return"";var n,r,o,s=[];for(var i in t)t.hasOwnProperty(i)&&i!==P&&void 0!==t[i]&&s.push(i,t[i]);for(var a=0;a<s.length;a+=2)o=void 0,"-"!==(o=(n=s)[r=a]).charAt(0)&&(n[r]=w[o]=w[o]||o.replace(/([A-Z])/g,"-$1").toLowerCase()),k(s,a),I(e,s,a),N(s,a);for(a=1;a<s.length;a+=4)s.splice(a,1,":",s[a],";");return s.join("")}function Y(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=null!==(t=e.stylesheet)&&void 0!==t?t:C.getInstance(e.shadowConfig),s=F(n,void 0,void 0,o),i=function(e,t){for(var n=[e.rtl?"rtl":"ltr"],r=!1,o=0,s=t.__order;o<s.length;o++){var i=s[o];n.push(i);var a=t[i];for(var l in a)a.hasOwnProperty(l)&&void 0!==a[l]&&(r=!0,n.push(l,a[l]))}return r?n.join(""):void 0}(e,s);if(i){var a={className:o.classNameFromKey(i),key:i,args:n};if(!a.className){a.className=o.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(s));for(var l=[],u=0,c=s.__order;u<c.length;u++){var f=c[u];l.push(f,W(e,s[f]))}a.rulesToInsert=l}return a}}function q(e,t,n,r){void 0===t&&(t=1);var o=null!=r?r:C.getInstance(n),s=e.className,i=e.key,a=e.args,l=e.rulesToInsert;if(l){for(var u=0;u<l.length;u+=2){var c=l[u+1];if(c){var f=l[u];f=f.replace(/&/g,D(".".concat(e.className),t));var h="".concat(f,"{").concat(c,"}").concat(0===f.indexOf("@")?"}":"");o.insertRule(h)}}o.cacheClassName(s,i,a,l)}}function B(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return H(e,f())}function H(e,t){var n=e instanceof Array?e:[e],r=t||{};a(n[0])&&(r.shadowConfig=n[0]),r.stylesheet=C.getInstance(r.shadowConfig);var o=l(r.stylesheet,n),s=o.classes,i=o.objects;return i.length&&s.push(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Y.apply(void 0,p([e],t,!1));return r?(q(r,e.specificityMultiplier,e.shadowConfig,e.stylesheet),r.className):""}(r,i)),s.join(" ")}function U(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles&&!a(e[0]))return e[0];for(var n={},r={},o=0,s=e;o<s.length;o++){var i=s[o];if(i&&!a(i))for(var l in i)if(i.hasOwnProperty(l)){if("subComponentStyles"===l&&void 0!==i.subComponentStyles){var u=i.subComponentStyles;for(var c in u)u.hasOwnProperty(c)&&(r.hasOwnProperty(c)?r[c].push(u[c]):r[c]=[u[c]]);continue}var f=n[l],h=i[l];n[l]=void 0===f?h:p(p([],Array.isArray(f)?f:[f],!0),Array.isArray(h)?h:[h],!0)}}if(Object.keys(r).length>0){n.subComponentStyles={};var d=n.subComponentStyles,y=function(e){if(r.hasOwnProperty(e)){var t=r[e];d[e]=function(e){return U.apply(void 0,t.map((function(t){return"function"==typeof t?t(e):t})))}}};for(var c in r)y(c)}return n}function G(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return J(e,f())}function J(e,t){var n,r={subComponentStyles:{}},o=void 0;a(e[0])?(o=e[0],n=e[1]):n=e[0],null!=o||(o=null==t?void 0:t.shadowConfig);var s=d(d({},t),{shadowConfig:o});if(!n&&e.length<=1)return{subComponentStyles:{}};var i=C.getInstance(o);s.stylesheet=i;var u=U.apply(void 0,e),c=[];for(var f in u)if(u.hasOwnProperty(f)){if("subComponentStyles"===f){r.subComponentStyles=u.subComponentStyles||{};continue}if("__shadowConfig__"===f)continue;var h=l(i,u[f]),p=h.classes,y=h.objects;(null==y?void 0:y.length)?(_=Y(s||{},{displayName:f},y))&&(c.push(_),r[f]=p.concat([_.className]).join(" ")):r[f]=p.join(" ")}for(var v=0,g=c;v<g.length;v++){var _;(_=g[v])&&q(_,null==t?void 0:t.specificityMultiplier,o)}return r}function $(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=[],o=0,s=t;o<s.length;o++){var i=s[o];i&&r.push("function"==typeof i?i(e):i)}return 1===r.length?r[0]:r.length?U.apply(void 0,r):{}}function Z(e){var t=C.getInstance(),n=W(f(),e);if(!t.classNameFromKey(n)){var r=t.getClassName();t.insertRule("@font-face{".concat(n,"}"),!0),t.cacheClassName(r,n,[],["font-face",n])}}function Q(e){var t=C.getInstance(),n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r,"{",W(f(),e[r]),"}");var o=n.join(""),s=t.classNameFromKey(o);if(s)return s;var i=t.getClassName();return t.insertRule("@keyframes ".concat(i,"{").concat(o,"}"),!0),t.cacheClassName(i,o,[],["keyframes",o]),i}var V="undefined"!=typeof document&&Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,X=!1;if(V)try{document.adoptedStyleSheets.push(),X=!0}catch(e){X=!1}var ee,te=X,ne={};try{ne=window||{}}catch(O){}var re=function(e){function t(n,r){var s=e.call(this,n,r)||this;return s._onAddSheetCallbacks=[],s._sheetCounter=0,s._adoptableSheets=new Map,ne[o]=t,s}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.getInstance=function(e){var n=e||s,o=n.stylesheetKey||r,i=n.inShadow,a=n.window||("undefined"!=typeof window?window:void 0),l=a||ne,u=a?a.document:"undefined"!=typeof document?document:void 0,c=(ee=l[g])&&!ee.getAdoptedSheets;if(!ee||c||ee._lastStyleElement&&ee._lastStyleElement.ownerDocument!==u){var f=(null==l?void 0:l.FabricConfig)||{},h={window:a,inShadow:i,stylesheetKey:o};f.mergeStyles=f.mergeStyles||{},f.mergeStyles=d(d({},h),f.mergeStyles);var p=void 0;c?function(e,t,n,o){var s;if(void 0===t&&(t=!1),o){var i=o.querySelectorAll("[data-merge-styles]");if(i){e.setConfig({window:n,inShadow:t,stylesheetKey:r});for(var a=0;a<i.length;a++){var l=i[a];l.setAttribute("data-merge-styles-global","true");for(var u=(null===(s=l.sheet)||void 0===s?void 0:s.cssRules)||[],c=0;c<u.length;c++){var f=u[c];e.insertRule(f.cssText)}}}}}(p=new t(f.mergeStyles,JSON.parse(ee.serialize())),i,a,u):p=new t(f.mergeStyles,f.serializedStylesheet),ee=p,l[g]=ee}else ee.setConfig({window:a,inShadow:i,stylesheetKey:o});return a&&ee._getAdoptableStyleSheet(o),ee},t.prototype.getAdoptedSheets=function(){return this._adoptableSheets},t.prototype.onAddSheet=function(e){var t=this;return this._onAddSheetCallbacks.push(e),function(){t._onAddSheetCallbacks=t._onAddSheetCallbacks.filter((function(t){return t!==e}))}},t.prototype.insertRule=function(t,n){var o=this._config,s=o.injectionMode,i=o.stylesheetKey,a=void 0===i?r:i,l=s!==v.none,u=a===r||!!this._adoptableSheets.has(a),c=void 0;l&&u&&(c=this._getAdoptableStyleSheet(a)),c&&this._insertRuleIntoSheet(c,t),e.prototype.insertRule.call(this,t,n,a)},t.prototype._getCacheKey=function(t){var n=this._config,o=n.inShadow,s=void 0!==o&&o,i=n.stylesheetKey;return s?"__".concat(void 0===i?r:i,"__").concat(t):e.prototype._getCacheKey.call(this,t)},t.prototype._createStyleElement=function(){var t=e.prototype._createStyleElement.call(this);return this._config.stylesheetKey===r&&t.setAttribute("data-merge-styles-global","true"),t},t.prototype._makeCSSStyleSheet=function(){var e=this._config.window||window,t=void 0;return(t=V?new e.CSSStyleSheet:this._createStyleElement().sheet)&&(t.bucketName="merge-styles",t.metadata={stylesheetKey:this._config.stylesheetKey||r,sortOrder:this._sheetCounter++}),t},t.prototype._addAdoptableStyleSheet=function(e,t,n){var r=this;if(void 0===n&&(n=!0),!this._adoptableSheets.has(e)){this._adoptableSheets.set(e,t);var o=this._config.window;n&&o&&o.queueMicrotask((function(){r._onAddSheetCallbacks.forEach((function(n){return n({key:e,sheet:t})}))}))}},t.prototype._getAdoptableStyleSheet=function(e){var t=this._adoptableSheets.get(e);return t||(t=this._makeCSSStyleSheet(),this._addAdoptableStyleSheet(e,t)),t},t}(C),oe=function(e,t){for(var n=0;n<e.cssRules.length;n++)t.insertRule(e.cssRules[n].cssText,n);return t},se={},ie=void 0;try{ie=window}catch(e){}function ae(e,t){if(void 0!==ie){var n=ie.__packages__=ie.__packages__||{};n[e]&&se[e]||(se[e]=t,(n[e]=n[e]||[]).push(t))}}ae("@fluentui/set-version","6.0.0"),ae("@fluentui/merge-styles","8.6.9"),MergeStyles=t}();
var MergeStyles;!function(){"use strict";var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{DEFAULT_SHADOW_CONFIG:function(){return s},GLOBAL_STYLESHEET_KEY:function(){return r},InjectionMode:function(){return v},SUPPORTS_CONSTRUCTABLE_STYLESHEETS:function(){return V},SUPPORTS_MODIFYING_ADOPTED_STYLESHEETS:function(){return te},ShadowDomStylesheet:function(){return re},Stylesheet:function(){return C},cloneCSSStyleSheet:function(){return oe},concatStyleSets:function(){return U},concatStyleSetsWithProps:function(){return $},fontFace:function(){return Z},keyframes:function(){return Q},makeShadowConfig:function(){return i},mergeCss:function(){return H},mergeCssSets:function(){return J},mergeStyleSets:function(){return G},mergeStyles:function(){return B},setRTL:function(){return u}});var n,r="__global__",o="__shadow_dom_stylesheet__",s={stylesheetKey:r,inShadow:!1,window:void 0,__isShadowConfig__:!0},i=function(e,t,n){return{stylesheetKey:e,inShadow:t,window:n,__isShadowConfig__:!0}},a=function(e){return!(!e||!function(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}(e))&&!0===e.__isShadowConfig__};function l(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=[],o=[],s=e;return function e(t){for(var n=0,i=t;n<i.length;n++){var l=i[n];if(l&&!a(l))if("string"==typeof l)if(l.indexOf(" ")>=0)e(l.split(" "));else{var u=s.argsFromClassName(l);u?e(u):-1===r.indexOf(l)&&r.push(l)}else Array.isArray(l)?e(l):"object"==typeof l&&o.push(l)}}(t),{classes:r,objects:o}}function u(e){n!==e&&(n=e)}function c(){return void 0===n&&(n="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),n}function f(){return{rtl:c(),shadowConfig:s}}n=c();var h=function(e,t){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},h(e,t)},d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)};function p(e,t,n){if(n||2===arguments.length)for(var r,o=0,s=t.length;o<s;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create;var y,v={none:0,insertNode:1,appendChild:2},g="__stylesheet__",_="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),m={};try{m=window||{}}catch(O){}var S,C=function(){function e(e,t){var n,r,o,s,i,a;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=d({injectionMode:"undefined"==typeof document?v.none:v.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(n=null==t?void 0:t.classNameToArgs)&&void 0!==n?n:this._classNameToArgs,this._counter=null!==(r=null==t?void 0:t.counter)&&void 0!==r?r:this._counter,this._keyToClassName=null!==(s=null!==(o=this._config.classNameCache)&&void 0!==o?o:null==t?void 0:t.keyToClassName)&&void 0!==s?s:this._keyToClassName,this._preservedRules=null!==(i=null==t?void 0:t.preservedRules)&&void 0!==i?i:this._preservedRules,this._rules=null!==(a=null==t?void 0:t.rules)&&void 0!==a?a:this._rules}return e.getInstance=function(t){if(y=m[g],m[o])return m[o].getInstance(t);if(!y||y._lastStyleElement&&y._lastStyleElement.ownerDocument!==document){var n=(null==m?void 0:m.FabricConfig)||{},r=new e(n.mergeStyles,n.serializedStylesheet);y=r,m[g]=r}return y},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(e){this._config=d(d({},this._config),e)},e.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},e.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},e.prototype.getClassName=function(e){var t=this._config.namespace,n=e||this._config.defaultPrefix;return"".concat(t?t+"-":"").concat(n,"-").concat(this._counter++)},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[this._getCacheKey(t)]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[this._getCacheKey(e)]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t,n){void 0===n&&(n=r);var o=this._config.injectionMode,s=o!==v.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),s)switch(o){case v.insertNode:this._insertRuleIntoSheet(s.sheet,e);break;case v.appendChild:s.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(t){return t({key:n,sheet:s?s.sheet:void 0,rule:e})}))},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._createStyleElement=function(){var e,t=(null===(e=this._config.window)||void 0===e?void 0:e.document)||document,n=t.head,r=t.createElement("style"),o=null;r.setAttribute("data-merge-styles","true");var s=this._config.cspSettings;if(s&&s.nonce&&r.setAttribute("nonce",s.nonce),this._lastStyleElement)o=this._lastStyleElement.nextElementSibling;else{var i=this._findPlaceholderStyleTag();o=i?i.nextElementSibling:n.childNodes[0]}return n.insertBefore(r,n.contains(o)?o:null),this._lastStyleElement=r,r},e.prototype._insertRuleIntoSheet=function(e,t){if(!e)return!1;try{return e.insertRule(t,e.cssRules.length),!0}catch(e){}return!1},e.prototype._getCacheKey=function(e){return e},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||(this._styleElement=this._createStyleElement(),_||(this._config.window||window).requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}(),b={},w={"user-select":1};function N(e,t){var n=function(){var e;if(!S){var t="undefined"!=typeof document?document:void 0,n="undefined"!=typeof navigator?navigator:void 0,r=null===(e=null==n?void 0:n.userAgent)||void 0===e?void 0:e.toLowerCase();S=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-1),isOpera:!!(r&&r.indexOf("opera")>-1),isMs:!(!n||!/rv:11.0/i.test(n.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return S}(),r=e[t];if(w[r]){var o=e[t+1];w[r]&&(n.isWebkit&&e.push("-webkit-"+r,o),n.isMoz&&e.push("-moz-"+r,o),n.isMs&&e.push("-ms-"+r,o),n.isOpera&&e.push("-o-"+r,o))}}var O,A=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function k(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var o=A.indexOf(n)>-1,s=n.indexOf("--")>-1,i=o||s?"":"px";e[t+1]="".concat(r).concat(i)}}var R="left",T="right",E="@noflip",x=((O={})[R]=T,O[T]=R,O),j={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function I(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var o=t[n+1];if("string"==typeof o&&o.indexOf(E)>=0)t[n+1]=o.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(R)>=0)t[n]=r.replace(R,T);else if(r.indexOf(T)>=0)t[n]=r.replace(T,R);else if(String(o).indexOf(R)>=0)t[n+1]=o.replace(R,T);else if(String(o).indexOf(T)>=0)t[n+1]=o.replace(T,R);else if(x[r])t[n]=x[r];else if(j[o])t[n+1]=j[o];else switch(r){case"margin":case"padding":t[n+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return"".concat(t[0]," ").concat(t[3]," ").concat(t[2]," ").concat(t[1])}return e}(o);break;case"box-shadow":t[n+1]=function(e,t){var n=e.split(" "),r=parseInt(n[0],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(o)}}}var P="displayName",K=/\:global\((.+?)\)/g;function M(e,t){return e.indexOf(":global(")>=0?e.replace(K,"$1"):0===e.indexOf(":host(")?e:0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function z(e,t,n,r,o){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?F([r],t,n=n+"{"+e,o):n.indexOf(",")>-1?function(e){if(!K.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,r=null;r=n.exec(e);)r[1].indexOf(",")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(",").map((function(e){return":global(".concat(e.trim(),")")})).join(", ")]);return t.reverse().reduce((function(e,t){var n=t[0],r=t[1],o=t[2];return e.slice(0,n)+o+e.slice(r)}),e)}(n).split(",").map((function(e){return e.trim()})).forEach((function(n){return F([r],t,M(n,e),o)})):F([r],t,M(n,e),o)}function F(e,t,n,r){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var o=t[n];o||(o={},t[n]=o,t.__order.push(n));for(var s=0,i=e;s<i.length;s++){var a=i[s];if("string"==typeof a){var l=r.argsFromClassName(a);l&&F(l,t,n,r)}else if(Array.isArray(a))F(a,t,n,r);else for(var u in a)if(a.hasOwnProperty(u)){var c=a[u];if("selectors"===u){var f=a.selectors;for(var h in f)f.hasOwnProperty(h)&&z(n,t,h,f[h],r)}else"object"==typeof c?null!==c&&z(n,t,u,c,r):void 0!==c&&("margin"===u||"padding"===u?L(o,u,c):o[u]=c)}}return t}function L(e,t,n){var r="string"==typeof n?function(e){for(var t=[],n=0,r=0,o=0;o<e.length;o++)switch(e[o]){case"(":r++;break;case")":r&&r--;break;case"\t":case" ":r||(o>n&&t.push(e.substring(n,o)),n=o+1)}return n<e.length&&t.push(e.substring(n)),t}(n):[n];0===r.length&&r.push(n),"!important"===r[r.length-1]&&(r=r.slice(0,-1).map((function(e){return e+" !important"}))),e[t+"Top"]=r[0],e[t+"Right"]=r[1]||r[0],e[t+"Bottom"]=r[2]||r[0],e[t+"Left"]=r[3]||r[1]||r[0]}function D(e,t){return t<=0?"":1===t?e:e+D(e,t-1)}function W(e,t){if(!t)return"";var n,r,o,s=[];for(var i in t)t.hasOwnProperty(i)&&i!==P&&void 0!==t[i]&&s.push(i,t[i]);for(var a=0;a<s.length;a+=2)o=void 0,"-"!==(o=(n=s)[r=a]).charAt(0)&&(n[r]=b[o]=b[o]||o.replace(/([A-Z])/g,"-$1").toLowerCase()),k(s,a),I(e,s,a),N(s,a);for(a=1;a<s.length;a+=4)s.splice(a,1,":",s[a],";");return s.join("")}function Y(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=null!==(t=e.stylesheet)&&void 0!==t?t:C.getInstance(e.shadowConfig),s=F(n,void 0,void 0,o),i=function(e,t){for(var n=[e.rtl?"rtl":"ltr"],r=!1,o=0,s=t.__order;o<s.length;o++){var i=s[o];n.push(i);var a=t[i];for(var l in a)a.hasOwnProperty(l)&&void 0!==a[l]&&(r=!0,n.push(l,a[l]))}return r?n.join(""):void 0}(e,s);if(i){var a={className:o.classNameFromKey(i),key:i,args:n};if(!a.className){a.className=o.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(s));for(var l=[],u=0,c=s.__order;u<c.length;u++){var f=c[u];l.push(f,W(e,s[f]))}a.rulesToInsert=l}return a}}function q(e,t,n,r){void 0===t&&(t=1);var o=null!=r?r:C.getInstance(n),s=e.className,i=e.key,a=e.args,l=e.rulesToInsert;if(l){for(var u=0;u<l.length;u+=2){var c=l[u+1];if(c){var f=l[u];f=f.replace(/&/g,D(".".concat(e.className),t));var h="".concat(f,"{").concat(c,"}").concat(0===f.indexOf("@")?"}":"");o.insertRule(h)}}o.cacheClassName(s,i,a,l)}}function B(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return H(e,f())}function H(e,t){var n=e instanceof Array?e:[e],r=t||{};a(n[0])&&(r.shadowConfig=n[0]),r.stylesheet=C.getInstance(r.shadowConfig);var o=l(r.stylesheet,n),s=o.classes,i=o.objects;return i.length&&s.push(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Y.apply(void 0,p([e],t,!1));return r?(q(r,e.specificityMultiplier,e.shadowConfig,e.stylesheet),r.className):""}(r,i)),s.join(" ")}function U(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles&&!a(e[0]))return e[0];for(var n={},r={},o=0,s=e;o<s.length;o++){var i=s[o];if(i&&!a(i))for(var l in i)if(i.hasOwnProperty(l)){if("subComponentStyles"===l&&void 0!==i.subComponentStyles){var u=i.subComponentStyles;for(var c in u)u.hasOwnProperty(c)&&(r.hasOwnProperty(c)?r[c].push(u[c]):r[c]=[u[c]]);continue}var f=n[l],h=i[l];n[l]=void 0===f?h:p(p([],Array.isArray(f)?f:[f],!0),Array.isArray(h)?h:[h],!0)}}if(Object.keys(r).length>0){n.subComponentStyles={};var d=n.subComponentStyles,y=function(e){if(r.hasOwnProperty(e)){var t=r[e];d[e]=function(e){return U.apply(void 0,t.map((function(t){return"function"==typeof t?t(e):t})))}}};for(var c in r)y(c)}return n}function G(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return J(e,f())}function J(e,t){var n,r={subComponentStyles:{}},o=void 0;a(e[0])?(o=e[0],n=e[1]):n=e[0],null!=o||(o=null==t?void 0:t.shadowConfig);var s=d(d({},t),{shadowConfig:o});if(!n&&e.length<=1)return{subComponentStyles:{}};var i=C.getInstance(o);s.stylesheet=i;var u=U.apply(void 0,e),c=[];for(var f in u)if(u.hasOwnProperty(f)){if("subComponentStyles"===f){r.subComponentStyles=u.subComponentStyles||{};continue}if("__shadowConfig__"===f)continue;var h=l(i,u[f]),p=h.classes,y=h.objects;(null==y?void 0:y.length)?(_=Y(s||{},{displayName:f},y))&&(c.push(_),r[f]=p.concat([_.className]).join(" ")):r[f]=p.join(" ")}for(var v=0,g=c;v<g.length;v++){var _;(_=g[v])&&q(_,null==t?void 0:t.specificityMultiplier,o)}return r}function $(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=[],o=0,s=t;o<s.length;o++){var i=s[o];i&&r.push("function"==typeof i?i(e):i)}return 1===r.length?r[0]:r.length?U.apply(void 0,r):{}}function Z(e){var t=C.getInstance(),n=W(f(),e);if(!t.classNameFromKey(n)){var r=t.getClassName();t.insertRule("@font-face{".concat(n,"}"),!0),t.cacheClassName(r,n,[],["font-face",n])}}function Q(e){var t=C.getInstance(),n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r,"{",W(f(),e[r]),"}");var o=n.join(""),s=t.classNameFromKey(o);if(s)return s;var i=t.getClassName();return t.insertRule("@keyframes ".concat(i,"{").concat(o,"}"),!0),t.cacheClassName(i,o,[],["keyframes",o]),i}var V="undefined"!=typeof document&&Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,X=!1;if(V)try{document.adoptedStyleSheets.push(),X=!0}catch(e){X=!1}var ee,te=X,ne={};try{ne=window||{}}catch(O){}var re=function(e){function t(n,r){var s=e.call(this,n,r)||this;return s._onAddSheetCallbacks=[],s._sheetCounter=0,s._adoptableSheets=new Map,ne[o]=t,s}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.getInstance=function(e){var n=e||s,o=n.stylesheetKey||r,i=n.inShadow,a=n.window||("undefined"!=typeof window?window:void 0),l=a||ne,u=a?a.document:"undefined"!=typeof document?document:void 0,c=(ee=l[g])&&!ee.getAdoptedSheets;if(!ee||c||ee._lastStyleElement&&ee._lastStyleElement.ownerDocument!==u){var f=(null==l?void 0:l.FabricConfig)||{},h={window:a,inShadow:i,stylesheetKey:o};f.mergeStyles=f.mergeStyles||{},f.mergeStyles=d(d({},h),f.mergeStyles);var p=void 0;c?function(e,t,n,o){var s;if(void 0===t&&(t=!1),o){var i=o.querySelectorAll("[data-merge-styles]");if(i){e.setConfig({window:n,inShadow:t,stylesheetKey:r});for(var a=0;a<i.length;a++){var l=i[a];l.setAttribute("data-merge-styles-global","true");for(var u=(null===(s=l.sheet)||void 0===s?void 0:s.cssRules)||[],c=0;c<u.length;c++){var f=u[c];e.insertRule(f.cssText)}}}}}(p=new t(f.mergeStyles,JSON.parse(ee.serialize())),i,a,u):p=new t(f.mergeStyles,f.serializedStylesheet),ee=p,l[g]=ee}else ee.setConfig({window:a,inShadow:i,stylesheetKey:o});return a&&ee._getAdoptableStyleSheet(o),ee},t.prototype.getAdoptedSheets=function(){return this._adoptableSheets},t.prototype.onAddSheet=function(e){var t=this;return this._onAddSheetCallbacks.push(e),function(){t._onAddSheetCallbacks=t._onAddSheetCallbacks.filter((function(t){return t!==e}))}},t.prototype.insertRule=function(t,n){var o=this._config,s=o.injectionMode,i=o.stylesheetKey,a=void 0===i?r:i,l=s!==v.none,u=a===r||!!this._adoptableSheets.has(a),c=void 0;l&&u&&(c=this._getAdoptableStyleSheet(a)),c&&this._insertRuleIntoSheet(c,t),e.prototype.insertRule.call(this,t,n,a)},t.prototype._getCacheKey=function(t){var n=this._config,o=n.inShadow,s=void 0!==o&&o,i=n.stylesheetKey;return s?"__".concat(void 0===i?r:i,"__").concat(t):e.prototype._getCacheKey.call(this,t)},t.prototype._createStyleElement=function(){var t=e.prototype._createStyleElement.call(this);return this._config.stylesheetKey===r&&t.setAttribute("data-merge-styles-global","true"),t},t.prototype._makeCSSStyleSheet=function(){var e=this._config.window||window,t=void 0;return(t=V?new e.CSSStyleSheet:this._createStyleElement().sheet)&&(t.bucketName="merge-styles",t.metadata={stylesheetKey:this._config.stylesheetKey||r,sortOrder:this._sheetCounter++}),t},t.prototype._addAdoptableStyleSheet=function(e,t,n){var r=this;if(void 0===n&&(n=!0),!this._adoptableSheets.has(e)){this._adoptableSheets.set(e,t);var o=this._config.window;n&&o&&o.queueMicrotask((function(){r._onAddSheetCallbacks.forEach((function(n){return n({key:e,sheet:t})}))}))}},t.prototype._getAdoptableStyleSheet=function(e){var t=this._adoptableSheets.get(e);return t||(t=this._makeCSSStyleSheet(),this._addAdoptableStyleSheet(e,t)),t},t}(C),oe=function(e,t){for(var n=0;n<e.cssRules.length;n++)t.insertRule(e.cssRules[n].cssText,n);return t},se={},ie=void 0;try{ie=window}catch(e){}function ae(e,t){if(void 0!==ie){var n=ie.__packages__=ie.__packages__||{};n[e]&&se[e]||(se[e]=t,(n[e]=n[e]||[]).push(t))}}ae("@fluentui/set-version","6.0.0"),ae("@fluentui/merge-styles","8.6.10"),MergeStyles=t}();

@@ -16,29 +16,35 @@ ## API Report File for "@fluentui/merge-styles"

// Warning: (ae-forgotten-export) The symbol "Missing_3" needs to be exported by the entry point index.d.ts
//
// @public
export function concatStyleSets<TStyleSet>(styleSet: TStyleSet | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet>>;
export function concatStyleSets<TStyleSet>(styleSet: TStyleSet | Missing_3): IConcatenatedStyleSet<ObjectOnly<TStyleSet>>;
// Warning: (ae-forgotten-export) The symbol "MissingOrShadowConfig_2" needs to be exported by the entry point index.d.ts
//
// @public
export function concatStyleSets<TStyleSet1, TStyleSet2>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
export function concatStyleSets<TStyleSet1, TStyleSet2>(styleSet1: TStyleSet1 | MissingOrShadowConfig_2, styleSet2: TStyleSet2 | Missing_3): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
// @public
export function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
export function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSet1: TStyleSet1 | MissingOrShadowConfig_2, styleSet2: TStyleSet2 | Missing_3, styleSet3: TStyleSet3 | Missing_3): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
// @public
export function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
export function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSet1: TStyleSet1 | MissingOrShadowConfig_2, styleSet2: TStyleSet2 | Missing_3, styleSet3: TStyleSet3 | Missing_3, styleSet4: TStyleSet4 | Missing_3): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
// @public
export function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4, TStyleSet5>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined, styleSet5: TStyleSet5 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4> & ObjectOnly<TStyleSet5>>;
export function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4, TStyleSet5>(styleSet1: TStyleSet1 | MissingOrShadowConfig_2, styleSet2: TStyleSet2 | Missing_3, styleSet3: TStyleSet3 | Missing_3, styleSet4: TStyleSet4 | Missing_3, styleSet5: TStyleSet5 | Missing_3): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4> & ObjectOnly<TStyleSet5>>;
// @public
export function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4, TStyleSet5, TStyleSet6>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined, styleSet5: TStyleSet5 | false | null | undefined, styleSet6: TStyleSet6 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4> & ObjectOnly<TStyleSet5> & ObjectOnly<TStyleSet6>>;
export function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4, TStyleSet5, TStyleSet6>(styleSet1: TStyleSet1 | MissingOrShadowConfig_2, styleSet2: TStyleSet2 | Missing_3, styleSet3: TStyleSet3 | Missing_3, styleSet4: TStyleSet4 | Missing_3, styleSet5: TStyleSet5 | Missing_3, styleSet6: TStyleSet6 | Missing_3): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4> & ObjectOnly<TStyleSet5> & ObjectOnly<TStyleSet6>>;
// @public
export function concatStyleSets(...styleSets: (IStyleSet | false | null | undefined | ShadowConfig)[]): IConcatenatedStyleSet<any>;
export function concatStyleSets(...styleSets: (IStyleSet | MissingOrShadowConfig_2)[]): IConcatenatedStyleSet<any>;
// Warning: (ae-forgotten-export) The symbol "DeepPartialV2" needs to be exported by the entry point index.d.ts
//
// @public
export function concatStyleSetsWithProps<TStyleProps, TStyleSet extends IStyleSetBase>(styleProps: TStyleProps, ...allStyles: (IStyleFunctionOrObject<TStyleProps, TStyleSet> | undefined)[]): DeepPartial<TStyleSet>;
export function concatStyleSetsWithProps<TStyleProps, TStyleSet extends IStyleSetBase>(styleProps: TStyleProps, ...allStyles: (IStyleFunctionOrObject<TStyleProps, TStyleSet> | undefined)[]): DeepPartialV2<TStyleSet>;
// @public
// @public @deprecated
export type DeepPartial<T> = {
[P in keyof T]?: T[P] extends (infer U)[] ? DeepPartial<U>[] : T[P] extends object ? DeepPartial<T[P]> : T[P];
[P in keyof T]?: T[P] extends Array<infer U> ? Array<DeepPartial<U>> : T[P] extends object ? DeepPartial<T[P]> : T[P];
};

@@ -457,6 +463,6 @@

// @public
export type IStyleFunction<TStylesProps, TStyleSet extends IStyleSetBase> = (props: TStylesProps) => DeepPartial<TStyleSet>;
export type IStyleFunction<TStylesProps, TStyleSet extends IStyleSetBase> = (props: TStylesProps) => DeepPartialV2<TStyleSet>;
// @public
export type IStyleFunctionOrObject<TStylesProps, TStyleSet extends IStyleSetBase> = IStyleFunction<TStylesProps, TStyleSet> | DeepPartial<TStyleSet>;
export type IStyleFunctionOrObject<TStylesProps, TStyleSet extends IStyleSetBase> = IStyleFunction<TStylesProps, TStyleSet> | DeepPartialV2<TStyleSet>;

@@ -508,54 +514,52 @@ // @public

// Warning: (ae-forgotten-export) The symbol "StyleArgWithShadow" needs to be exported by the entry point index.d.ts
// Warning: (ae-forgotten-export) The symbol "IStyleOptions" needs to be exported by the entry point index.d.ts
//
// @public
export function mergeCss(args: (IStyle | IStyleBaseArray | false | null | undefined | ShadowConfig) | (IStyle | IStyleBaseArray | false | null | undefined | ShadowConfig)[], options?: IStyleOptions): string;
export function mergeCss(args: StyleArgWithShadow | StyleArgWithShadow[], options?: IStyleOptions): string;
// Warning: (ae-forgotten-export) The symbol "Missing_2" needs to be exported by the entry point index.d.ts
//
// @public
export function mergeCssSets<TStyleSet>(styleSets: [TStyleSet | false | null | undefined], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
export function mergeCssSets<TStyleSet>(styleSets: [TStyleSet | Missing_2], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
// Warning: (ae-forgotten-export) The symbol "MissingOrShadowConfig" needs to be exported by the entry point index.d.ts
//
// @public
export function mergeCssSets<TStyleSet1, TStyleSet2>(styleSets: [TStyleSet1 | false | null | undefined | ShadowConfig, TStyleSet2 | false | null | undefined], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
export function mergeCssSets<TStyleSet1, TStyleSet2>(styleSets: [TStyleSet1 | MissingOrShadowConfig, TStyleSet2 | Missing_2], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
// @public
export function mergeCssSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSets: [
TStyleSet1 | false | null | undefined | ShadowConfig,
TStyleSet2 | false | null | undefined,
TStyleSet3 | false | null | undefined
], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
export function mergeCssSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSets: [TStyleSet1 | MissingOrShadowConfig, TStyleSet2 | Missing_2, TStyleSet3 | Missing_2], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
// @public
export function mergeCssSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSets: [
TStyleSet1 | false | null | undefined | ShadowConfig,
TStyleSet2 | false | null | undefined,
TStyleSet3 | false | null | undefined,
TStyleSet4 | false | null | undefined
], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
export function mergeCssSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSets: [TStyleSet1 | MissingOrShadowConfig, TStyleSet2 | Missing_2, TStyleSet3 | Missing_2, TStyleSet4 | Missing_2], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
// @public
export function mergeCssSets<TStyleSet>(styleSet: [TStyleSet | false | null | undefined], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
export function mergeCssSets<TStyleSet>(styleSet: [TStyleSet | Missing_2], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
// Warning: (ae-forgotten-export) The symbol "StyleArg" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export function mergeStyles(...args: (IStyle | IStyleBaseArray | false | null | undefined)[]): string;
export function mergeStyles(...args: StyleArg[]): string;
// @public (undocumented)
export function mergeStyles(shadowConfig: ShadowConfig, ...args: (IStyle | IStyleBaseArray | false | null | undefined)[]): string;
export function mergeStyles(shadowConfig: ShadowConfig, ...args: StyleArg[]): string;
// @public
export function mergeStyleSets<TStyleSet>(styleSet: TStyleSet | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
export function mergeStyleSets<TStyleSet>(styleSet: TStyleSet | Missing_2): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
// @public
export function mergeStyleSets<TStyleSet1, TStyleSet2>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
export function mergeStyleSets<TStyleSet1, TStyleSet2>(styleSet1: TStyleSet1 | Missing_2, styleSet2: TStyleSet2 | Missing_2): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
// @public
export function mergeStyleSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
export function mergeStyleSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSet1: TStyleSet1 | Missing_2, styleSet2: TStyleSet2 | Missing_2, styleSet3: TStyleSet3 | Missing_2): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
// @public
export function mergeStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
export function mergeStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSet1: TStyleSet1 | Missing_2, styleSet2: TStyleSet2 | Missing_2, styleSet3: TStyleSet3 | Missing_2, styleSet4: TStyleSet4 | Missing_2): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
// @public
export function mergeStyleSets(...styleSets: Array<IStyleSet | undefined | false | null | ShadowConfig>): IProcessedStyleSet<any>;
export function mergeStyleSets(...styleSets: Array<IStyleSet | MissingOrShadowConfig>): IProcessedStyleSet<any>;
// @public (undocumented)
export function mergeStyleSets(shadowConfig: ShadowConfig, ...styleSets: Array<IStyleSet | undefined | false | null>): IProcessedStyleSet<any>;
export function mergeStyleSets(shadowConfig: ShadowConfig, ...styleSets: Array<IStyleSet | Missing_2>): IProcessedStyleSet<any>;

@@ -575,8 +579,12 @@ // @public (undocumented)

// @public (undocumented)
export type ShadowConfig = {
export interface ShadowConfig {
// (undocumented)
__isShadowConfig__: true;
// (undocumented)
inShadow: boolean;
// (undocumented)
stylesheetKey: string;
inShadow: boolean;
// (undocumented)
window?: Window;
__isShadowConfig__: true;
};
}

@@ -641,3 +649,3 @@ // @public (undocumented)

//
// lib/IStyleSet.d.ts:61:5 - (ae-forgotten-export) The symbol "__MapToFunctionType" needs to be exported by the entry point index.d.ts
// lib/IStyleSet.d.ts:62:5 - (ae-forgotten-export) The symbol "__MapToFunctionType" needs to be exported by the entry point index.d.ts

@@ -644,0 +652,0 @@ // (No @packageDocumentation comment for this package)

import { IStyleSet, IConcatenatedStyleSet } from './IStyleSet';
import { ObjectOnly } from './ObjectOnly';
import { ShadowConfig } from './shadowConfig';
type Missing = false | null | undefined;
type MissingOrShadowConfig = Missing | ShadowConfig;
/**

@@ -8,3 +10,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets<TStyleSet>(styleSet: TStyleSet | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet>>;
export declare function concatStyleSets<TStyleSet>(styleSet: TStyleSet | Missing): IConcatenatedStyleSet<ObjectOnly<TStyleSet>>;
/**

@@ -15,3 +17,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets<TStyleSet1, TStyleSet2>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
export declare function concatStyleSets<TStyleSet1, TStyleSet2>(styleSet1: TStyleSet1 | MissingOrShadowConfig, styleSet2: TStyleSet2 | Missing): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
/**

@@ -23,3 +25,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSet1: TStyleSet1 | MissingOrShadowConfig, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
/**

@@ -32,3 +34,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSet1: TStyleSet1 | MissingOrShadowConfig, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing, styleSet4: TStyleSet4 | Missing): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
/**

@@ -42,3 +44,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4, TStyleSet5>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined, styleSet5: TStyleSet5 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4> & ObjectOnly<TStyleSet5>>;
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4, TStyleSet5>(styleSet1: TStyleSet1 | MissingOrShadowConfig, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing, styleSet4: TStyleSet4 | Missing, styleSet5: TStyleSet5 | Missing): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4> & ObjectOnly<TStyleSet5>>;
/**

@@ -53,3 +55,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4, TStyleSet5, TStyleSet6>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined, styleSet5: TStyleSet5 | false | null | undefined, styleSet6: TStyleSet6 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4> & ObjectOnly<TStyleSet5> & ObjectOnly<TStyleSet6>>;
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4, TStyleSet5, TStyleSet6>(styleSet1: TStyleSet1 | MissingOrShadowConfig, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing, styleSet4: TStyleSet4 | Missing, styleSet5: TStyleSet5 | Missing, styleSet6: TStyleSet6 | Missing): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4> & ObjectOnly<TStyleSet5> & ObjectOnly<TStyleSet6>>;
/**

@@ -59,2 +61,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets(...styleSets: (IStyleSet | false | null | undefined | ShadowConfig)[]): IConcatenatedStyleSet<any>;
export declare function concatStyleSets(...styleSets: (IStyleSet | MissingOrShadowConfig)[]): IConcatenatedStyleSet<any>;
export {};
import { IStyleSetBase } from './IStyleSet';
import { IStyleFunctionOrObject } from './IStyleFunction';
import { DeepPartial } from './DeepPartial';
import { DeepPartialV2 as DeepPartial } from './DeepPartial';
/**

@@ -5,0 +5,0 @@ * Concatenates style sets into one, but resolves functional sets using the given props.

/**
* TypeScript type to return a deep partial object (each property can be undefined, recursively.)
* @deprecated - This type will hit infinite type instantiation recursion. Please use {@link DeepPartialV2}
*/
export type DeepPartial<T> = {
[P in keyof T]?: T[P] extends (infer U)[] ? DeepPartial<U>[] : T[P] extends object ? DeepPartial<T[P]> : T[P];
[P in keyof T]?: T[P] extends Array<infer U> ? Array<DeepPartial<U>> : T[P] extends object ? DeepPartial<T[P]> : T[P];
};
interface IDeepPartialArray<T> extends Array<DeepPartialV2<T>> {
}
type DeepPartialObject<T> = {
[Key in keyof T]?: DeepPartialV2<T[Key]>;
};
export type DeepPartialV2<T> = T extends Function ? T : T extends Array<infer U> ? IDeepPartialArray<U> : T extends object ? DeepPartialObject<T> : T;
export {};

@@ -1,3 +0,3 @@

import { IRawStyleBase } from './IRawStyleBase';
import { IStyle } from './IStyle';
import type { IRawStyleBase } from './IRawStyleBase';
import type { IStyle } from './IStyle';
/**

@@ -4,0 +4,0 @@ * IRawStyle extends a raw style object, but allows selectors to be defined

@@ -1,2 +0,2 @@

import { IRawStyle } from './IRawStyle';
import type { IRawStyle } from './IRawStyle';
/**

@@ -3,0 +3,0 @@ * {@docCategory IStyleBase}

import { IStyleSetBase } from './IStyleSet';
import { DeepPartial } from './DeepPartial';
import type { DeepPartialV2 as DeepPartial } from './DeepPartial';
/**

@@ -4,0 +4,0 @@ * A style function takes in styleprops and returns a partial styleset.

@@ -1,2 +0,2 @@

import { ShadowConfig } from './shadowConfig';
import type { ShadowConfig } from './shadowConfig';
import type { Stylesheet } from './Stylesheet';

@@ -3,0 +3,0 @@ export interface IStyleOptions {

import { IStyle } from './IStyle';
import { IStyleFunctionOrObject, IStyleFunction } from './IStyleFunction';
import { ShadowConfig } from './shadowConfig';
import type { ShadowConfig } from './shadowConfig';
/**

@@ -17,3 +17,4 @@ * @deprecated Use `Exclude` provided by TypeScript instead.

*/
export type Omit<U, K extends keyof U> = Pick<U, Diff<keyof U, K>>;
type _Omit<U, K extends keyof U> = Pick<U, Diff<keyof U, K>>;
export type { _Omit as Omit };
/**

@@ -39,3 +40,3 @@ * Helper function whose role is supposed to express that regardless if T is a style object or style function,

}> = {
[P in keyof Omit<TStyleSet, 'subComponentStyles'>]: IStyle;
[P in keyof _Omit<TStyleSet, 'subComponentStyles'>]: IStyle;
} & {

@@ -50,3 +51,3 @@ subComponentStyles?: {

export type IConcatenatedStyleSet<TStyleSet extends IStyleSetBase> = {
[P in keyof Omit<TStyleSet, 'subComponentStyles'>]: IStyle;
[P in keyof _Omit<TStyleSet, 'subComponentStyles'>]: IStyle;
} & {

@@ -62,3 +63,3 @@ subComponentStyles?: {

export type IProcessedStyleSet<TStyleSet extends IStyleSetBase> = {
[P in keyof Omit<TStyleSet, 'subComponentStyles'>]: string;
[P in keyof _Omit<TStyleSet, 'subComponentStyles'>]: string;
} & {

@@ -72,2 +73,1 @@ subComponentStyles: {

};
export {};
import { IStyle, IStyleBaseArray } from './IStyle';
import { IStyleOptions } from './IStyleOptions';
import { ShadowConfig } from './shadowConfig';
export declare function mergeStyles(...args: (IStyle | IStyleBaseArray | false | null | undefined)[]): string;
export declare function mergeStyles(shadowConfig: ShadowConfig, ...args: (IStyle | IStyleBaseArray | false | null | undefined)[]): string;
type Missing = false | null | undefined;
type StyleArg = IStyle | IStyleBaseArray | Missing;
type StyleArgWithShadow = StyleArg | ShadowConfig;
export declare function mergeStyles(...args: StyleArg[]): string;
export declare function mergeStyles(shadowConfig: ShadowConfig, ...args: StyleArg[]): string;
/**

@@ -12,2 +15,3 @@ * Concatenation helper, which can merge class names together. Skips over falsey values.

*/
export declare function mergeCss(args: (IStyle | IStyleBaseArray | false | null | undefined | ShadowConfig) | (IStyle | IStyleBaseArray | false | null | undefined | ShadowConfig)[], options?: IStyleOptions): string;
export declare function mergeCss(args: StyleArgWithShadow | StyleArgWithShadow[], options?: IStyleOptions): string;
export {};

@@ -5,2 +5,4 @@ import { IStyleOptions } from './IStyleOptions';

import { ShadowConfig } from './shadowConfig';
type Missing = false | null | undefined;
type MissingOrShadowConfig = Missing | ShadowConfig;
/**

@@ -14,3 +16,3 @@ * Takes in one or more style set objects, each consisting of a set of areas,

*/
export declare function mergeStyleSets<TStyleSet>(styleSet: TStyleSet | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
export declare function mergeStyleSets<TStyleSet>(styleSet: TStyleSet | Missing): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
/**

@@ -25,3 +27,3 @@ * Takes in one or more style set objects, each consisting of a set of areas,

*/
export declare function mergeStyleSets<TStyleSet1, TStyleSet2>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
export declare function mergeStyleSets<TStyleSet1, TStyleSet2>(styleSet1: TStyleSet1 | Missing, styleSet2: TStyleSet2 | Missing): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
/**

@@ -37,3 +39,3 @@ * Takes in one or more style set objects, each consisting of a set of areas,

*/
export declare function mergeStyleSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
export declare function mergeStyleSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSet1: TStyleSet1 | Missing, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
/**

@@ -50,3 +52,3 @@ * Takes in one or more style set objects, each consisting of a set of areas,

*/
export declare function mergeStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
export declare function mergeStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSet1: TStyleSet1 | Missing, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing, styleSet4: TStyleSet4 | Missing): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
/**

@@ -60,4 +62,4 @@ * Takes in one or more style set objects, each consisting of a set of areas,

*/
export declare function mergeStyleSets(...styleSets: Array<IStyleSet | undefined | false | null | ShadowConfig>): IProcessedStyleSet<any>;
export declare function mergeStyleSets(shadowConfig: ShadowConfig, ...styleSets: Array<IStyleSet | undefined | false | null>): IProcessedStyleSet<any>;
export declare function mergeStyleSets(...styleSets: Array<IStyleSet | MissingOrShadowConfig>): IProcessedStyleSet<any>;
export declare function mergeStyleSets(shadowConfig: ShadowConfig, ...styleSets: Array<IStyleSet | Missing>): IProcessedStyleSet<any>;
/**

@@ -72,3 +74,3 @@ * Takes in one or more style set objects, each1consisting of a set of areas,

*/
export declare function mergeCssSets<TStyleSet>(styleSets: [TStyleSet | false | null | undefined], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
export declare function mergeCssSets<TStyleSet>(styleSets: [TStyleSet | Missing], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
/**

@@ -83,3 +85,3 @@ * Takes in one or more style set objects, each1consisting of a set of areas,

*/
export declare function mergeCssSets<TStyleSet1, TStyleSet2>(styleSets: [TStyleSet1 | false | null | undefined | ShadowConfig, TStyleSet2 | false | null | undefined], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
export declare function mergeCssSets<TStyleSet1, TStyleSet2>(styleSets: [TStyleSet1 | MissingOrShadowConfig, TStyleSet2 | Missing], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
/**

@@ -94,7 +96,3 @@ * Takes in one or more style set objects, each1consisting of a set of areas,

*/
export declare function mergeCssSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSets: [
TStyleSet1 | false | null | undefined | ShadowConfig,
TStyleSet2 | false | null | undefined,
TStyleSet3 | false | null | undefined
], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
export declare function mergeCssSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSets: [TStyleSet1 | MissingOrShadowConfig, TStyleSet2 | Missing, TStyleSet3 | Missing], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
/**

@@ -109,8 +107,3 @@ * Takes in one or more style set objects, each1consisting of a set of areas,

*/
export declare function mergeCssSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSets: [
TStyleSet1 | false | null | undefined | ShadowConfig,
TStyleSet2 | false | null | undefined,
TStyleSet3 | false | null | undefined,
TStyleSet4 | false | null | undefined
], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
export declare function mergeCssSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSets: [TStyleSet1 | MissingOrShadowConfig, TStyleSet2 | Missing, TStyleSet3 | Missing, TStyleSet4 | Missing], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
/**

@@ -125,2 +118,3 @@ * Takes in one or more style set objects, each1consisting of a set of areas,

*/
export declare function mergeCssSets<TStyleSet>(styleSet: [TStyleSet | false | null | undefined], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
export declare function mergeCssSets<TStyleSet>(styleSet: [TStyleSet | Missing], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
export {};

@@ -65,3 +65,2 @@ define(["require", "exports", "tslib", "./concatStyleSets", "./extractStyleParts", "./StyleOptionsState", "./styleToClassName", "./shadowConfig", "./Stylesheet"], function (require, exports, tslib_1, concatStyleSets_1, extractStyleParts_1, StyleOptionsState_1, styleToClassName_1, shadowConfig_1, Stylesheet_1) {

registrations.push(registration);
// FIXME: classNameSet invalid types - exposed in TS 4.5 - cast needed
classNameSet[styleSetArea] = classes.concat([registration.className]).join(' ');

@@ -71,3 +70,2 @@ }

else {
// FIXME: classNameSet invalid types - exposed in TS 4.5 - cast needed
classNameSet[styleSetArea] = classes.join(' ');

@@ -74,0 +72,0 @@ }

@@ -1,2 +0,2 @@

export type ShadowConfig = {
export interface ShadowConfig {
stylesheetKey: string;

@@ -6,3 +6,3 @@ inShadow: boolean;

__isShadowConfig__: true;
};
}
export declare const GLOBAL_STYLESHEET_KEY = "__global__";

@@ -12,2 +12,2 @@ export declare const SHADOW_DOM_STYLESHEET_SETTING = "__shadow_dom_stylesheet__";

export declare const makeShadowConfig: (stylesheetKey: string, inShadow: boolean, window?: Window) => ShadowConfig;
export declare const isShadowConfig: (obj: unknown) => obj is ShadowConfig;
export declare const isShadowConfig: (value: unknown) => value is ShadowConfig;

@@ -22,10 +22,13 @@ define(["require", "exports"], function (require, exports) {

exports.makeShadowConfig = makeShadowConfig;
var isShadowConfig = function (obj) {
if (!obj) {
var isShadowConfig = function (value) {
if (!(value && isRecord(value))) {
return false;
}
return obj.__isShadowConfig__ === true;
return value.__isShadowConfig__ === true;
};
exports.isShadowConfig = isShadowConfig;
function isRecord(value) {
return value !== null && typeof value === 'object' && !Array.isArray(value);
}
});
//# sourceMappingURL=shadowConfig.js.map
define(["require", "exports", "@fluentui/set-version"], function (require, exports, set_version_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
(0, set_version_1.setVersion)('@fluentui/merge-styles', '8.6.9');
(0, set_version_1.setVersion)('@fluentui/merge-styles', '8.6.10');
});
//# sourceMappingURL=version.js.map
import { IStyleSet, IConcatenatedStyleSet } from './IStyleSet';
import { ObjectOnly } from './ObjectOnly';
import { ShadowConfig } from './shadowConfig';
type Missing = false | null | undefined;
type MissingOrShadowConfig = Missing | ShadowConfig;
/**

@@ -8,3 +10,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets<TStyleSet>(styleSet: TStyleSet | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet>>;
export declare function concatStyleSets<TStyleSet>(styleSet: TStyleSet | Missing): IConcatenatedStyleSet<ObjectOnly<TStyleSet>>;
/**

@@ -15,3 +17,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets<TStyleSet1, TStyleSet2>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
export declare function concatStyleSets<TStyleSet1, TStyleSet2>(styleSet1: TStyleSet1 | MissingOrShadowConfig, styleSet2: TStyleSet2 | Missing): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
/**

@@ -23,3 +25,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSet1: TStyleSet1 | MissingOrShadowConfig, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
/**

@@ -32,3 +34,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSet1: TStyleSet1 | MissingOrShadowConfig, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing, styleSet4: TStyleSet4 | Missing): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
/**

@@ -42,3 +44,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4, TStyleSet5>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined, styleSet5: TStyleSet5 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4> & ObjectOnly<TStyleSet5>>;
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4, TStyleSet5>(styleSet1: TStyleSet1 | MissingOrShadowConfig, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing, styleSet4: TStyleSet4 | Missing, styleSet5: TStyleSet5 | Missing): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4> & ObjectOnly<TStyleSet5>>;
/**

@@ -53,3 +55,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4, TStyleSet5, TStyleSet6>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined, styleSet5: TStyleSet5 | false | null | undefined, styleSet6: TStyleSet6 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4> & ObjectOnly<TStyleSet5> & ObjectOnly<TStyleSet6>>;
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4, TStyleSet5, TStyleSet6>(styleSet1: TStyleSet1 | MissingOrShadowConfig, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing, styleSet4: TStyleSet4 | Missing, styleSet5: TStyleSet5 | Missing, styleSet6: TStyleSet6 | Missing): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4> & ObjectOnly<TStyleSet5> & ObjectOnly<TStyleSet6>>;
/**

@@ -59,2 +61,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets(...styleSets: (IStyleSet | false | null | undefined | ShadowConfig)[]): IConcatenatedStyleSet<any>;
export declare function concatStyleSets(...styleSets: (IStyleSet | MissingOrShadowConfig)[]): IConcatenatedStyleSet<any>;
export {};
import { IStyleSetBase } from './IStyleSet';
import { IStyleFunctionOrObject } from './IStyleFunction';
import { DeepPartial } from './DeepPartial';
import { DeepPartialV2 as DeepPartial } from './DeepPartial';
/**

@@ -5,0 +5,0 @@ * Concatenates style sets into one, but resolves functional sets using the given props.

/**
* TypeScript type to return a deep partial object (each property can be undefined, recursively.)
* @deprecated - This type will hit infinite type instantiation recursion. Please use {@link DeepPartialV2}
*/
export type DeepPartial<T> = {
[P in keyof T]?: T[P] extends (infer U)[] ? DeepPartial<U>[] : T[P] extends object ? DeepPartial<T[P]> : T[P];
[P in keyof T]?: T[P] extends Array<infer U> ? Array<DeepPartial<U>> : T[P] extends object ? DeepPartial<T[P]> : T[P];
};
interface IDeepPartialArray<T> extends Array<DeepPartialV2<T>> {
}
type DeepPartialObject<T> = {
[Key in keyof T]?: DeepPartialV2<T[Key]>;
};
export type DeepPartialV2<T> = T extends Function ? T : T extends Array<infer U> ? IDeepPartialArray<U> : T extends object ? DeepPartialObject<T> : T;
export {};

@@ -1,3 +0,3 @@

import { IRawStyleBase } from './IRawStyleBase';
import { IStyle } from './IStyle';
import type { IRawStyleBase } from './IRawStyleBase';
import type { IStyle } from './IStyle';
/**

@@ -4,0 +4,0 @@ * IRawStyle extends a raw style object, but allows selectors to be defined

@@ -1,2 +0,2 @@

import { IRawStyle } from './IRawStyle';
import type { IRawStyle } from './IRawStyle';
/**

@@ -3,0 +3,0 @@ * {@docCategory IStyleBase}

import { IStyleSetBase } from './IStyleSet';
import { DeepPartial } from './DeepPartial';
import type { DeepPartialV2 as DeepPartial } from './DeepPartial';
/**

@@ -4,0 +4,0 @@ * A style function takes in styleprops and returns a partial styleset.

@@ -1,2 +0,2 @@

import { ShadowConfig } from './shadowConfig';
import type { ShadowConfig } from './shadowConfig';
import type { Stylesheet } from './Stylesheet';

@@ -3,0 +3,0 @@ export interface IStyleOptions {

import { IStyle } from './IStyle';
import { IStyleFunctionOrObject, IStyleFunction } from './IStyleFunction';
import { ShadowConfig } from './shadowConfig';
import type { ShadowConfig } from './shadowConfig';
/**

@@ -17,3 +17,4 @@ * @deprecated Use `Exclude` provided by TypeScript instead.

*/
export type Omit<U, K extends keyof U> = Pick<U, Diff<keyof U, K>>;
type _Omit<U, K extends keyof U> = Pick<U, Diff<keyof U, K>>;
export type { _Omit as Omit };
/**

@@ -39,3 +40,3 @@ * Helper function whose role is supposed to express that regardless if T is a style object or style function,

}> = {
[P in keyof Omit<TStyleSet, 'subComponentStyles'>]: IStyle;
[P in keyof _Omit<TStyleSet, 'subComponentStyles'>]: IStyle;
} & {

@@ -50,3 +51,3 @@ subComponentStyles?: {

export type IConcatenatedStyleSet<TStyleSet extends IStyleSetBase> = {
[P in keyof Omit<TStyleSet, 'subComponentStyles'>]: IStyle;
[P in keyof _Omit<TStyleSet, 'subComponentStyles'>]: IStyle;
} & {

@@ -62,3 +63,3 @@ subComponentStyles?: {

export type IProcessedStyleSet<TStyleSet extends IStyleSetBase> = {
[P in keyof Omit<TStyleSet, 'subComponentStyles'>]: string;
[P in keyof _Omit<TStyleSet, 'subComponentStyles'>]: string;
} & {

@@ -72,2 +73,1 @@ subComponentStyles: {

};
export {};
import { IStyle, IStyleBaseArray } from './IStyle';
import { IStyleOptions } from './IStyleOptions';
import { ShadowConfig } from './shadowConfig';
export declare function mergeStyles(...args: (IStyle | IStyleBaseArray | false | null | undefined)[]): string;
export declare function mergeStyles(shadowConfig: ShadowConfig, ...args: (IStyle | IStyleBaseArray | false | null | undefined)[]): string;
type Missing = false | null | undefined;
type StyleArg = IStyle | IStyleBaseArray | Missing;
type StyleArgWithShadow = StyleArg | ShadowConfig;
export declare function mergeStyles(...args: StyleArg[]): string;
export declare function mergeStyles(shadowConfig: ShadowConfig, ...args: StyleArg[]): string;
/**

@@ -12,2 +15,3 @@ * Concatenation helper, which can merge class names together. Skips over falsey values.

*/
export declare function mergeCss(args: (IStyle | IStyleBaseArray | false | null | undefined | ShadowConfig) | (IStyle | IStyleBaseArray | false | null | undefined | ShadowConfig)[], options?: IStyleOptions): string;
export declare function mergeCss(args: StyleArgWithShadow | StyleArgWithShadow[], options?: IStyleOptions): string;
export {};

@@ -5,2 +5,4 @@ import { IStyleOptions } from './IStyleOptions';

import { ShadowConfig } from './shadowConfig';
type Missing = false | null | undefined;
type MissingOrShadowConfig = Missing | ShadowConfig;
/**

@@ -14,3 +16,3 @@ * Takes in one or more style set objects, each consisting of a set of areas,

*/
export declare function mergeStyleSets<TStyleSet>(styleSet: TStyleSet | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
export declare function mergeStyleSets<TStyleSet>(styleSet: TStyleSet | Missing): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
/**

@@ -25,3 +27,3 @@ * Takes in one or more style set objects, each consisting of a set of areas,

*/
export declare function mergeStyleSets<TStyleSet1, TStyleSet2>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
export declare function mergeStyleSets<TStyleSet1, TStyleSet2>(styleSet1: TStyleSet1 | Missing, styleSet2: TStyleSet2 | Missing): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
/**

@@ -37,3 +39,3 @@ * Takes in one or more style set objects, each consisting of a set of areas,

*/
export declare function mergeStyleSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
export declare function mergeStyleSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSet1: TStyleSet1 | Missing, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
/**

@@ -50,3 +52,3 @@ * Takes in one or more style set objects, each consisting of a set of areas,

*/
export declare function mergeStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
export declare function mergeStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSet1: TStyleSet1 | Missing, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing, styleSet4: TStyleSet4 | Missing): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
/**

@@ -60,4 +62,4 @@ * Takes in one or more style set objects, each consisting of a set of areas,

*/
export declare function mergeStyleSets(...styleSets: Array<IStyleSet | undefined | false | null | ShadowConfig>): IProcessedStyleSet<any>;
export declare function mergeStyleSets(shadowConfig: ShadowConfig, ...styleSets: Array<IStyleSet | undefined | false | null>): IProcessedStyleSet<any>;
export declare function mergeStyleSets(...styleSets: Array<IStyleSet | MissingOrShadowConfig>): IProcessedStyleSet<any>;
export declare function mergeStyleSets(shadowConfig: ShadowConfig, ...styleSets: Array<IStyleSet | Missing>): IProcessedStyleSet<any>;
/**

@@ -72,3 +74,3 @@ * Takes in one or more style set objects, each1consisting of a set of areas,

*/
export declare function mergeCssSets<TStyleSet>(styleSets: [TStyleSet | false | null | undefined], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
export declare function mergeCssSets<TStyleSet>(styleSets: [TStyleSet | Missing], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
/**

@@ -83,3 +85,3 @@ * Takes in one or more style set objects, each1consisting of a set of areas,

*/
export declare function mergeCssSets<TStyleSet1, TStyleSet2>(styleSets: [TStyleSet1 | false | null | undefined | ShadowConfig, TStyleSet2 | false | null | undefined], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
export declare function mergeCssSets<TStyleSet1, TStyleSet2>(styleSets: [TStyleSet1 | MissingOrShadowConfig, TStyleSet2 | Missing], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
/**

@@ -94,7 +96,3 @@ * Takes in one or more style set objects, each1consisting of a set of areas,

*/
export declare function mergeCssSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSets: [
TStyleSet1 | false | null | undefined | ShadowConfig,
TStyleSet2 | false | null | undefined,
TStyleSet3 | false | null | undefined
], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
export declare function mergeCssSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSets: [TStyleSet1 | MissingOrShadowConfig, TStyleSet2 | Missing, TStyleSet3 | Missing], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
/**

@@ -109,8 +107,3 @@ * Takes in one or more style set objects, each1consisting of a set of areas,

*/
export declare function mergeCssSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSets: [
TStyleSet1 | false | null | undefined | ShadowConfig,
TStyleSet2 | false | null | undefined,
TStyleSet3 | false | null | undefined,
TStyleSet4 | false | null | undefined
], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
export declare function mergeCssSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSets: [TStyleSet1 | MissingOrShadowConfig, TStyleSet2 | Missing, TStyleSet3 | Missing, TStyleSet4 | Missing], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
/**

@@ -125,2 +118,3 @@ * Takes in one or more style set objects, each1consisting of a set of areas,

*/
export declare function mergeCssSets<TStyleSet>(styleSet: [TStyleSet | false | null | undefined], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
export declare function mergeCssSets<TStyleSet>(styleSet: [TStyleSet | Missing], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
export {};

@@ -71,3 +71,2 @@ "use strict";

registrations.push(registration);
// FIXME: classNameSet invalid types - exposed in TS 4.5 - cast needed
classNameSet[styleSetArea] = classes.concat([registration.className]).join(' ');

@@ -77,3 +76,2 @@ }

else {
// FIXME: classNameSet invalid types - exposed in TS 4.5 - cast needed
classNameSet[styleSetArea] = classes.join(' ');

@@ -80,0 +78,0 @@ }

@@ -1,2 +0,2 @@

export type ShadowConfig = {
export interface ShadowConfig {
stylesheetKey: string;

@@ -6,3 +6,3 @@ inShadow: boolean;

__isShadowConfig__: true;
};
}
export declare const GLOBAL_STYLESHEET_KEY = "__global__";

@@ -12,2 +12,2 @@ export declare const SHADOW_DOM_STYLESHEET_SETTING = "__shadow_dom_stylesheet__";

export declare const makeShadowConfig: (stylesheetKey: string, inShadow: boolean, window?: Window) => ShadowConfig;
export declare const isShadowConfig: (obj: unknown) => obj is ShadowConfig;
export declare const isShadowConfig: (value: unknown) => value is ShadowConfig;

@@ -21,9 +21,12 @@ "use strict";

exports.makeShadowConfig = makeShadowConfig;
var isShadowConfig = function (obj) {
if (!obj) {
var isShadowConfig = function (value) {
if (!(value && isRecord(value))) {
return false;
}
return obj.__isShadowConfig__ === true;
return value.__isShadowConfig__ === true;
};
exports.isShadowConfig = isShadowConfig;
function isRecord(value) {
return value !== null && typeof value === 'object' && !Array.isArray(value);
}
//# sourceMappingURL=shadowConfig.js.map

@@ -6,3 +6,3 @@ "use strict";

var set_version_1 = require("@fluentui/set-version");
(0, set_version_1.setVersion)('@fluentui/merge-styles', '8.6.9');
(0, set_version_1.setVersion)('@fluentui/merge-styles', '8.6.10');
//# sourceMappingURL=version.js.map
import { IStyleSet, IConcatenatedStyleSet } from './IStyleSet';
import { ObjectOnly } from './ObjectOnly';
import { ShadowConfig } from './shadowConfig';
type Missing = false | null | undefined;
type MissingOrShadowConfig = Missing | ShadowConfig;
/**

@@ -8,3 +10,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets<TStyleSet>(styleSet: TStyleSet | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet>>;
export declare function concatStyleSets<TStyleSet>(styleSet: TStyleSet | Missing): IConcatenatedStyleSet<ObjectOnly<TStyleSet>>;
/**

@@ -15,3 +17,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets<TStyleSet1, TStyleSet2>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
export declare function concatStyleSets<TStyleSet1, TStyleSet2>(styleSet1: TStyleSet1 | MissingOrShadowConfig, styleSet2: TStyleSet2 | Missing): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
/**

@@ -23,3 +25,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSet1: TStyleSet1 | MissingOrShadowConfig, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
/**

@@ -32,3 +34,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSet1: TStyleSet1 | MissingOrShadowConfig, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing, styleSet4: TStyleSet4 | Missing): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
/**

@@ -42,3 +44,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4, TStyleSet5>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined, styleSet5: TStyleSet5 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4> & ObjectOnly<TStyleSet5>>;
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4, TStyleSet5>(styleSet1: TStyleSet1 | MissingOrShadowConfig, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing, styleSet4: TStyleSet4 | Missing, styleSet5: TStyleSet5 | Missing): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4> & ObjectOnly<TStyleSet5>>;
/**

@@ -53,3 +55,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4, TStyleSet5, TStyleSet6>(styleSet1: TStyleSet1 | false | null | undefined | ShadowConfig, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined, styleSet5: TStyleSet5 | false | null | undefined, styleSet6: TStyleSet6 | false | null | undefined): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4> & ObjectOnly<TStyleSet5> & ObjectOnly<TStyleSet6>>;
export declare function concatStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4, TStyleSet5, TStyleSet6>(styleSet1: TStyleSet1 | MissingOrShadowConfig, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing, styleSet4: TStyleSet4 | Missing, styleSet5: TStyleSet5 | Missing, styleSet6: TStyleSet6 | Missing): IConcatenatedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4> & ObjectOnly<TStyleSet5> & ObjectOnly<TStyleSet6>>;
/**

@@ -59,2 +61,3 @@ * Combine a set of styles together (but does not register css classes).

*/
export declare function concatStyleSets(...styleSets: (IStyleSet | false | null | undefined | ShadowConfig)[]): IConcatenatedStyleSet<any>;
export declare function concatStyleSets(...styleSets: (IStyleSet | MissingOrShadowConfig)[]): IConcatenatedStyleSet<any>;
export {};
import { IStyleSetBase } from './IStyleSet';
import { IStyleFunctionOrObject } from './IStyleFunction';
import { DeepPartial } from './DeepPartial';
import { DeepPartialV2 as DeepPartial } from './DeepPartial';
/**

@@ -5,0 +5,0 @@ * Concatenates style sets into one, but resolves functional sets using the given props.

/**
* TypeScript type to return a deep partial object (each property can be undefined, recursively.)
* @deprecated - This type will hit infinite type instantiation recursion. Please use {@link DeepPartialV2}
*/
export type DeepPartial<T> = {
[P in keyof T]?: T[P] extends (infer U)[] ? DeepPartial<U>[] : T[P] extends object ? DeepPartial<T[P]> : T[P];
[P in keyof T]?: T[P] extends Array<infer U> ? Array<DeepPartial<U>> : T[P] extends object ? DeepPartial<T[P]> : T[P];
};
interface IDeepPartialArray<T> extends Array<DeepPartialV2<T>> {
}
type DeepPartialObject<T> = {
[Key in keyof T]?: DeepPartialV2<T[Key]>;
};
export type DeepPartialV2<T> = T extends Function ? T : T extends Array<infer U> ? IDeepPartialArray<U> : T extends object ? DeepPartialObject<T> : T;
export {};

@@ -1,3 +0,3 @@

import { IRawStyleBase } from './IRawStyleBase';
import { IStyle } from './IStyle';
import type { IRawStyleBase } from './IRawStyleBase';
import type { IStyle } from './IStyle';
/**

@@ -4,0 +4,0 @@ * IRawStyle extends a raw style object, but allows selectors to be defined

@@ -1,2 +0,2 @@

import { IRawStyle } from './IRawStyle';
import type { IRawStyle } from './IRawStyle';
/**

@@ -3,0 +3,0 @@ * {@docCategory IStyleBase}

import { IStyleSetBase } from './IStyleSet';
import { DeepPartial } from './DeepPartial';
import type { DeepPartialV2 as DeepPartial } from './DeepPartial';
/**

@@ -4,0 +4,0 @@ * A style function takes in styleprops and returns a partial styleset.

@@ -1,2 +0,2 @@

import { ShadowConfig } from './shadowConfig';
import type { ShadowConfig } from './shadowConfig';
import type { Stylesheet } from './Stylesheet';

@@ -3,0 +3,0 @@ export interface IStyleOptions {

import { IStyle } from './IStyle';
import { IStyleFunctionOrObject, IStyleFunction } from './IStyleFunction';
import { ShadowConfig } from './shadowConfig';
import type { ShadowConfig } from './shadowConfig';
/**

@@ -17,3 +17,4 @@ * @deprecated Use `Exclude` provided by TypeScript instead.

*/
export type Omit<U, K extends keyof U> = Pick<U, Diff<keyof U, K>>;
type _Omit<U, K extends keyof U> = Pick<U, Diff<keyof U, K>>;
export type { _Omit as Omit };
/**

@@ -39,3 +40,3 @@ * Helper function whose role is supposed to express that regardless if T is a style object or style function,

}> = {
[P in keyof Omit<TStyleSet, 'subComponentStyles'>]: IStyle;
[P in keyof _Omit<TStyleSet, 'subComponentStyles'>]: IStyle;
} & {

@@ -50,3 +51,3 @@ subComponentStyles?: {

export type IConcatenatedStyleSet<TStyleSet extends IStyleSetBase> = {
[P in keyof Omit<TStyleSet, 'subComponentStyles'>]: IStyle;
[P in keyof _Omit<TStyleSet, 'subComponentStyles'>]: IStyle;
} & {

@@ -62,3 +63,3 @@ subComponentStyles?: {

export type IProcessedStyleSet<TStyleSet extends IStyleSetBase> = {
[P in keyof Omit<TStyleSet, 'subComponentStyles'>]: string;
[P in keyof _Omit<TStyleSet, 'subComponentStyles'>]: string;
} & {

@@ -72,2 +73,1 @@ subComponentStyles: {

};
export {};
import { IStyle, IStyleBaseArray } from './IStyle';
import { IStyleOptions } from './IStyleOptions';
import { ShadowConfig } from './shadowConfig';
export declare function mergeStyles(...args: (IStyle | IStyleBaseArray | false | null | undefined)[]): string;
export declare function mergeStyles(shadowConfig: ShadowConfig, ...args: (IStyle | IStyleBaseArray | false | null | undefined)[]): string;
type Missing = false | null | undefined;
type StyleArg = IStyle | IStyleBaseArray | Missing;
type StyleArgWithShadow = StyleArg | ShadowConfig;
export declare function mergeStyles(...args: StyleArg[]): string;
export declare function mergeStyles(shadowConfig: ShadowConfig, ...args: StyleArg[]): string;
/**

@@ -12,2 +15,3 @@ * Concatenation helper, which can merge class names together. Skips over falsey values.

*/
export declare function mergeCss(args: (IStyle | IStyleBaseArray | false | null | undefined | ShadowConfig) | (IStyle | IStyleBaseArray | false | null | undefined | ShadowConfig)[], options?: IStyleOptions): string;
export declare function mergeCss(args: StyleArgWithShadow | StyleArgWithShadow[], options?: IStyleOptions): string;
export {};

@@ -5,2 +5,4 @@ import { IStyleOptions } from './IStyleOptions';

import { ShadowConfig } from './shadowConfig';
type Missing = false | null | undefined;
type MissingOrShadowConfig = Missing | ShadowConfig;
/**

@@ -14,3 +16,3 @@ * Takes in one or more style set objects, each consisting of a set of areas,

*/
export declare function mergeStyleSets<TStyleSet>(styleSet: TStyleSet | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
export declare function mergeStyleSets<TStyleSet>(styleSet: TStyleSet | Missing): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
/**

@@ -25,3 +27,3 @@ * Takes in one or more style set objects, each consisting of a set of areas,

*/
export declare function mergeStyleSets<TStyleSet1, TStyleSet2>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
export declare function mergeStyleSets<TStyleSet1, TStyleSet2>(styleSet1: TStyleSet1 | Missing, styleSet2: TStyleSet2 | Missing): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
/**

@@ -37,3 +39,3 @@ * Takes in one or more style set objects, each consisting of a set of areas,

*/
export declare function mergeStyleSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
export declare function mergeStyleSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSet1: TStyleSet1 | Missing, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
/**

@@ -50,3 +52,3 @@ * Takes in one or more style set objects, each consisting of a set of areas,

*/
export declare function mergeStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSet1: TStyleSet1 | false | null | undefined, styleSet2: TStyleSet2 | false | null | undefined, styleSet3: TStyleSet3 | false | null | undefined, styleSet4: TStyleSet4 | false | null | undefined): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
export declare function mergeStyleSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSet1: TStyleSet1 | Missing, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing, styleSet4: TStyleSet4 | Missing): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
/**

@@ -60,4 +62,4 @@ * Takes in one or more style set objects, each consisting of a set of areas,

*/
export declare function mergeStyleSets(...styleSets: Array<IStyleSet | undefined | false | null | ShadowConfig>): IProcessedStyleSet<any>;
export declare function mergeStyleSets(shadowConfig: ShadowConfig, ...styleSets: Array<IStyleSet | undefined | false | null>): IProcessedStyleSet<any>;
export declare function mergeStyleSets(...styleSets: Array<IStyleSet | MissingOrShadowConfig>): IProcessedStyleSet<any>;
export declare function mergeStyleSets(shadowConfig: ShadowConfig, ...styleSets: Array<IStyleSet | Missing>): IProcessedStyleSet<any>;
/**

@@ -72,3 +74,3 @@ * Takes in one or more style set objects, each1consisting of a set of areas,

*/
export declare function mergeCssSets<TStyleSet>(styleSets: [TStyleSet | false | null | undefined], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
export declare function mergeCssSets<TStyleSet>(styleSets: [TStyleSet | Missing], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
/**

@@ -83,3 +85,3 @@ * Takes in one or more style set objects, each1consisting of a set of areas,

*/
export declare function mergeCssSets<TStyleSet1, TStyleSet2>(styleSets: [TStyleSet1 | false | null | undefined | ShadowConfig, TStyleSet2 | false | null | undefined], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
export declare function mergeCssSets<TStyleSet1, TStyleSet2>(styleSets: [TStyleSet1 | MissingOrShadowConfig, TStyleSet2 | Missing], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2>>;
/**

@@ -94,7 +96,3 @@ * Takes in one or more style set objects, each1consisting of a set of areas,

*/
export declare function mergeCssSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSets: [
TStyleSet1 | false | null | undefined | ShadowConfig,
TStyleSet2 | false | null | undefined,
TStyleSet3 | false | null | undefined
], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
export declare function mergeCssSets<TStyleSet1, TStyleSet2, TStyleSet3>(styleSets: [TStyleSet1 | MissingOrShadowConfig, TStyleSet2 | Missing, TStyleSet3 | Missing], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3>>;
/**

@@ -109,8 +107,3 @@ * Takes in one or more style set objects, each1consisting of a set of areas,

*/
export declare function mergeCssSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSets: [
TStyleSet1 | false | null | undefined | ShadowConfig,
TStyleSet2 | false | null | undefined,
TStyleSet3 | false | null | undefined,
TStyleSet4 | false | null | undefined
], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
export declare function mergeCssSets<TStyleSet1, TStyleSet2, TStyleSet3, TStyleSet4>(styleSets: [TStyleSet1 | MissingOrShadowConfig, TStyleSet2 | Missing, TStyleSet3 | Missing, TStyleSet4 | Missing], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet1> & ObjectOnly<TStyleSet2> & ObjectOnly<TStyleSet3> & ObjectOnly<TStyleSet4>>;
/**

@@ -125,2 +118,3 @@ * Takes in one or more style set objects, each1consisting of a set of areas,

*/
export declare function mergeCssSets<TStyleSet>(styleSet: [TStyleSet | false | null | undefined], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
export declare function mergeCssSets<TStyleSet>(styleSet: [TStyleSet | Missing], options?: IStyleOptions): IProcessedStyleSet<ObjectOnly<TStyleSet>>;
export {};

@@ -67,3 +67,2 @@ import { __assign } from "tslib";

registrations.push(registration);
// FIXME: classNameSet invalid types - exposed in TS 4.5 - cast needed
classNameSet[styleSetArea] = classes.concat([registration.className]).join(' ');

@@ -73,3 +72,2 @@ }

else {
// FIXME: classNameSet invalid types - exposed in TS 4.5 - cast needed
classNameSet[styleSetArea] = classes.join(' ');

@@ -76,0 +74,0 @@ }

@@ -1,2 +0,2 @@

export type ShadowConfig = {
export interface ShadowConfig {
stylesheetKey: string;

@@ -6,3 +6,3 @@ inShadow: boolean;

__isShadowConfig__: true;
};
}
export declare const GLOBAL_STYLESHEET_KEY = "__global__";

@@ -12,2 +12,2 @@ export declare const SHADOW_DOM_STYLESHEET_SETTING = "__shadow_dom_stylesheet__";

export declare const makeShadowConfig: (stylesheetKey: string, inShadow: boolean, window?: Window) => ShadowConfig;
export declare const isShadowConfig: (obj: unknown) => obj is ShadowConfig;
export declare const isShadowConfig: (value: unknown) => value is ShadowConfig;

@@ -17,8 +17,11 @@ export var GLOBAL_STYLESHEET_KEY = '__global__';

};
export var isShadowConfig = function (obj) {
if (!obj) {
export var isShadowConfig = function (value) {
if (!(value && isRecord(value))) {
return false;
}
return obj.__isShadowConfig__ === true;
return value.__isShadowConfig__ === true;
};
function isRecord(value) {
return value !== null && typeof value === 'object' && !Array.isArray(value);
}
//# sourceMappingURL=shadowConfig.js.map
// Do not modify this file; it is generated as part of publish.
// The checked in version is a placeholder only and will not be updated.
import { setVersion } from '@fluentui/set-version';
setVersion('@fluentui/merge-styles', '8.6.9');
setVersion('@fluentui/merge-styles', '8.6.10');
//# sourceMappingURL=version.js.map
{
"name": "@fluentui/merge-styles",
"version": "8.6.9",
"version": "8.6.10",
"description": "Style loading utilities.",

@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc