@syncfusion/ej2-react-ribbon 21.2.3 → 22.1.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/ej2-react-ribbon.min.js +2 -2
- package/dist/ej2-react-ribbon.umd.min.js +1 -1
- package/package.json +8 -8
- package/styles/bootstrap-dark.css +27 -0
- package/styles/bootstrap.css +27 -0
- package/styles/bootstrap4.css +27 -0
- package/styles/bootstrap5-dark.css +27 -0
- package/styles/bootstrap5.css +27 -0
- package/styles/fabric-dark.css +27 -0
- package/styles/fabric.css +27 -0
- package/styles/fluent-dark.css +27 -0
- package/styles/fluent.css +27 -0
- package/styles/highcontrast-light.css +27 -0
- package/styles/highcontrast.css +31 -4
- package/styles/material-dark.css +27 -0
- package/styles/material.css +27 -0
- package/styles/material3-dark.css +1672 -0
- package/styles/material3-dark.scss +2 -0
- package/styles/material3.css +1728 -0
- package/styles/material3.scss +2 -0
- package/styles/ribbon/bootstrap-dark.css +27 -0
- package/styles/ribbon/bootstrap.css +27 -0
- package/styles/ribbon/bootstrap4.css +27 -0
- package/styles/ribbon/bootstrap5-dark.css +27 -0
- package/styles/ribbon/bootstrap5.css +27 -0
- package/styles/ribbon/fabric-dark.css +27 -0
- package/styles/ribbon/fabric.css +27 -0
- package/styles/ribbon/fluent-dark.css +27 -0
- package/styles/ribbon/fluent.css +27 -0
- package/styles/ribbon/highcontrast-light.css +27 -0
- package/styles/ribbon/highcontrast.css +31 -4
- package/styles/ribbon/material-dark.css +27 -0
- package/styles/ribbon/material.css +27 -0
- package/styles/ribbon/material3-dark.css +1672 -0
- package/styles/ribbon/material3-dark.scss +2 -0
- package/styles/ribbon/material3.css +1728 -0
- package/styles/ribbon/material3.scss +2 -0
- package/styles/ribbon/tailwind-dark.css +27 -0
- package/styles/ribbon/tailwind.css +27 -0
- package/styles/tailwind-dark.css +27 -0
- package/styles/tailwind.css +27 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-ribbon.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 22.1.39
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("SyncfusionBase"),require("SyncfusionSplitbuttons"),require("SyncfusionReactBase"),require("SyncfusionNavigations"),require("SyncfusionButtons"),require("SyncfusionDropdowns"),require("SyncfusionPopups"),require("React"),require("SyncfusionInputs")):"function"==typeof define&&define.amd?define(["SyncfusionBase","SyncfusionSplitbuttons","SyncfusionReactBase","SyncfusionNavigations","SyncfusionButtons","SyncfusionDropdowns","SyncfusionPopups","React","SyncfusionInputs"],e):"object"==typeof exports?exports.SyncfusionReactRibbon=e(require("SyncfusionBase"),require("SyncfusionSplitbuttons"),require("SyncfusionReactBase"),require("SyncfusionNavigations"),require("SyncfusionButtons"),require("SyncfusionDropdowns"),require("SyncfusionPopups"),require("React"),require("SyncfusionInputs")):t.SyncfusionReactRibbon=e(t.SyncfusionBase,t.SyncfusionSplitbuttons,t.SyncfusionReactBase,t.SyncfusionNavigations,t.SyncfusionButtons,t.SyncfusionDropdowns,t.SyncfusionPopups,t.React,t.SyncfusionInputs)}(this,function(t,e,n,r,o,i,s,u,c){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=38)}([function(e,n){e.exports=t},function(t,e,n){"use strict";n.d(e,"e",function(){return r}),n.d(e,"o",function(){return o}),n.d(e,"p",function(){return i}),n.d(e,"h",function(){return s}),n.d(e,"q",function(){return u}),n.d(e,"r",function(){return c}),n.d(e,"j",function(){return l}),n.d(e,"g",function(){return a}),n.d(e,"k",function(){return p}),n.d(e,"i",function(){return d}),n.d(e,"f",function(){return f}),n.d(e,"s",function(){return h}),n.d(e,"t",function(){return b}),n.d(e,"u",function(){return v}),n.d(e,"v",function(){return m}),n.d(e,"w",function(){return y}),n.d(e,"x",function(){return _}),n.d(e,"y",function(){return g}),n.d(e,"z",function(){return S}),n.d(e,"A",function(){return C}),n.d(e,"B",function(){return I}),n.d(e,"C",function(){return O}),n.d(e,"D",function(){return w}),n.d(e,"E",function(){return P}),n.d(e,"F",function(){return B}),n.d(e,"G",function(){return D}),n.d(e,"H",function(){return T}),n.d(e,"I",function(){return E}),n.d(e,"J",function(){return R}),n.d(e,"K",function(){return L}),n.d(e,"L",function(){return M}),n.d(e,"M",function(){return k}),n.d(e,"N",function(){return x}),n.d(e,"n",function(){return q}),n.d(e,"O",function(){return N}),n.d(e,"P",function(){return j}),n.d(e,"Q",function(){return z}),n.d(e,"R",function(){return A}),n.d(e,"S",function(){return W}),n.d(e,"T",function(){return F}),n.d(e,"U",function(){return G}),n.d(e,"V",function(){return H}),n.d(e,"W",function(){return U}),n.d(e,"X",function(){return V}),n.d(e,"Y",function(){return X}),n.d(e,"Z",function(){return Y}),n.d(e,"_0",function(){return K}),n.d(e,"_1",function(){return Q}),n.d(e,"_2",function(){return Z}),n.d(e,"_3",function(){return J}),n.d(e,"c",function(){return $}),n.d(e,"_4",function(){return tt}),n.d(e,"_5",function(){return et}),n.d(e,"_6",function(){return nt}),n.d(e,"_7",function(){return rt}),n.d(e,"_8",function(){return ot}),n.d(e,"_9",function(){return it}),n.d(e,"_10",function(){return st}),n.d(e,"_11",function(){return ut}),n.d(e,"_12",function(){return ct}),n.d(e,"_13",function(){return lt}),n.d(e,"_14",function(){return at}),n.d(e,"_15",function(){return pt}),n.d(e,"_16",function(){return dt}),n.d(e,"_17",function(){return ft}),n.d(e,"_18",function(){return ht}),n.d(e,"_19",function(){return bt}),n.d(e,"_20",function(){return vt}),n.d(e,"l",function(){return mt}),n.d(e,"m",function(){return yt}),n.d(e,"a",function(){return _t}),n.d(e,"d",function(){return gt}),n.d(e,"_21",function(){return St}),n.d(e,"b",function(){return Ct}),n.d(e,"_22",function(){return It});var r="e-ribbon-vertical-center",o="e-icons e-drop-icon",i="e-icons e-more-horizontal-1",s="e-vertical",u="e-disabled",c="e-rtl",l="e-ribbon-hover",a="e-ribbon-control",p="e-ribbon-popup-control",d="e-ribbon-open",f=" ",h="e-hscroll-bar",b="e-ribbon-hide",v="e-ribbon-tab",m="e-ribbon-active",y="e-ribbon-tab-item",_="e-ribbon-collapse-btn",g="e-ribbon-expand-btn",S="e-ribbon-collapsible",C="e-ribbon-overall-of-btn",I="e-ribbon-group-of-btn",O="e-ribbon-overflow-target",w="e-ribbon-overflow",P="e-content",B="e-ribbon-minimize",D="e-ribbon-group",T="e-ribbon-group-container",E="e-ribbon-of-tab",R="e-ribbon-of-group-container",L="e-ribbon-group-content",M="e-ribbon-group-header",k="e-ribbon-overflow-header",x="e-ribbon-group-overflow",q="e-ribbon-group-overflow-ddb",N="e-ribbon-launcher",j="e-ribbon-launcher-icon",z="e-icons e-launcher",A="e-ribbon-collection",W="e-ribbon-item",F="e-ribbon-row",G="e-ribbon-column",H="e-ribbon-large-item",U="e-ribbon-medium-item",V="e-ribbon-small-item",X="e-ribbon-content-height",Y="e-dropdown-btn",K="e-caret-hide",Q="e-ribbon-template",Z="e-ribbon-help-template",J="e-ribbon-tooltip",$="e-ribbon-tooltip-target",tt="e-ribbon-tooltip-title",et="e-ribbon-tooltip-content",nt="e-ribbon-tooltip-icon",rt="e-ribbon-tooltip-container",ot="e-ribbon-text-container",it="e-ribbon-simplified-mode",st="_tab",ut="_group",ct="_collection",lt="_item",at="_collapsebutton",pt="_sim_ovrl_overflow",dt="_sim_grp_overflow",ft="_header",ht="_launcher",bt="_content",vt="_container",mt="_overflow",yt="_dropdown",_t="_filemenu",gt="_filemenulist",St="_helppanetemplate",Ct="--fileMenuWidth",It="--helpTemplateWidth"},function(t,e,n){"use strict";var r=n(26);n.d(e,"a",function(){return r.a});var o=n(5);n.d(e,"b",function(){return o.c}),n.d(e,"c",function(){return o.d}),n.d(e,"d",function(){return o.a}),n.d(e,"e",function(){return o.b}),n.d(e,"f",function(){return o.e});var i=n(1);n.d(e,"g",function(){return i.e}),n.d(e,"h",function(){return i.o}),n.d(e,"i",function(){return i.p}),n.d(e,"j",function(){return i.h}),n.d(e,"k",function(){return i.q}),n.d(e,"l",function(){return i.r}),n.d(e,"m",function(){return i.j}),n.d(e,"n",function(){return i.g}),n.d(e,"o",function(){return i.k}),n.d(e,"p",function(){return i.i}),n.d(e,"q",function(){return i.f}),n.d(e,"r",function(){return i.s}),n.d(e,"s",function(){return i.t}),n.d(e,"t",function(){return i.u}),n.d(e,"u",function(){return i.v}),n.d(e,"v",function(){return i.w}),n.d(e,"w",function(){return i.x}),n.d(e,"x",function(){return i.y}),n.d(e,"y",function(){return i.z}),n.d(e,"z",function(){return i.A}),n.d(e,"A",function(){return i.B}),n.d(e,"B",function(){return i.C}),n.d(e,"C",function(){return i.D}),n.d(e,"D",function(){return i.E}),n.d(e,"E",function(){return i.F}),n.d(e,"F",function(){return i.G}),n.d(e,"G",function(){return i.H}),n.d(e,"H",function(){return i.I}),n.d(e,"I",function(){return i.J}),n.d(e,"J",function(){return i.K}),n.d(e,"K",function(){return i.L}),n.d(e,"L",function(){return i.M}),n.d(e,"M",function(){return i.N}),n.d(e,"N",function(){return i.n}),n.d(e,"O",function(){return i.O}),n.d(e,"P",function(){return i.P}),n.d(e,"Q",function(){return i.Q}),n.d(e,"R",function(){return i.R}),n.d(e,"S",function(){return i.S}),n.d(e,"T",function(){return i.T}),n.d(e,"U",function(){return i.U}),n.d(e,"V",function(){return i.V}),n.d(e,"W",function(){return i.W}),n.d(e,"X",function(){return i.X}),n.d(e,"Y",function(){return i.Y}),n.d(e,"Z",function(){return i.Z}),n.d(e,"_0",function(){return i._0}),n.d(e,"_1",function(){return i._1}),n.d(e,"_2",function(){return i._2}),n.d(e,"_3",function(){return i._3}),n.d(e,"_4",function(){return i.c}),n.d(e,"_5",function(){return i._4}),n.d(e,"_6",function(){return i._5}),n.d(e,"_7",function(){return i._6}),n.d(e,"_8",function(){return i._7}),n.d(e,"_9",function(){return i._8}),n.d(e,"_10",function(){return i._9}),n.d(e,"_11",function(){return i._10}),n.d(e,"_12",function(){return i._11}),n.d(e,"_13",function(){return i._12}),n.d(e,"_14",function(){return i._13}),n.d(e,"_15",function(){return i._14}),n.d(e,"_16",function(){return i._15}),n.d(e,"_17",function(){return i._16}),n.d(e,"_18",function(){return i._17}),n.d(e,"_19",function(){return i._18}),n.d(e,"_20",function(){return i._19}),n.d(e,"_21",function(){return i._20}),n.d(e,"_22",function(){return i.l}),n.d(e,"_23",function(){return i.m}),n.d(e,"_24",function(){return i.a}),n.d(e,"_25",function(){return i.d}),n.d(e,"_26",function(){return i._21}),n.d(e,"_27",function(){return i.b}),n.d(e,"_28",function(){return i._22});var s=n(9);n.d(e,"_29",function(){return s.a}),n.d(e,"_30",function(){return s.b}),n.d(e,"_31",function(){return s.c}),n.d(e,"_32",function(){return s.d}),n.d(e,"_33",function(){return s.e}),n.d(e,"_34",function(){return s.f}),n.d(e,"_35",function(){return s.g}),n.d(e,"_36",function(){return s.h}),n.d(e,"_37",function(){return s.i}),n.d(e,"_38",function(){return s.j}),n.d(e,"_39",function(){return s.k}),n.d(e,"_40",function(){return s.l}),n.d(e,"_41",function(){return s.m}),n.d(e,"_42",function(){return s.n})},function(t,n){t.exports=e},function(t,e){t.exports=n},function(t,e,n){"use strict";n.d(e,"c",function(){return r}),n.d(e,"d",function(){return o}),n.d(e,"a",function(){return i}),n.d(e,"b",function(){return s}),n.d(e,"e",function(){return u});var r;!function(t){t.Classic="Classic",t.Simplified="Simplified"}(r||(r={}));var o;!function(t){t.Row="Row",t.Column="Column"}(o||(o={}));var i;!function(t){t[t.Large=4]="Large",t[t.Medium=2]="Medium",t[t.Small=1]="Small"}(i||(i={}));var s;!function(t){t[t.Simplified=2]="Simplified",t[t.Overflow=1]="Overflow",t[t.Auto=3]="Auto",t[t.None=0]="None"}(s||(s={}));var u;!function(t){t.Button="Button",t.CheckBox="CheckBox",t.ColorPicker="ColorPicker",t.ComboBox="ComboBox",t.DropDown="DropDown",t.SplitButton="SplitButton",t.Template="Template"}(u||(u={}))},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),i([n.i(r.Property)("")],e.prototype,"cssClass",void 0),i([n.i(r.Property)("")],e.prototype,"id",void 0),i([n.i(r.Property)("")],e.prototype,"title",void 0),i([n.i(r.Property)("")],e.prototype,"content",void 0),i([n.i(r.Property)("")],e.prototype,"iconCss",void 0),e}(r.ChildProperty)},function(t,e){t.exports=r},function(t,e,n){"use strict";var r=n(25);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b}),n.d(e,"c",function(){return r.c}),n.d(e,"d",function(){return r.d}),n.d(e,"e",function(){return r.e}),n.d(e,"f",function(){return r.f}),n.d(e,"g",function(){return r.g}),n.d(e,"h",function(){return r.h}),n.d(e,"i",function(){return r.i}),n.d(e,"j",function(){return r.j}),n.d(e,"k",function(){return r.k}),n.d(e,"l",function(){return r.l}),n.d(e,"m",function(){return r.m}),n.d(e,"n",function(){return r.n}),n.d(e,"o",function(){return r.o}),n.d(e,"p",function(){return r.p}),n.d(e,"q",function(){return r.q}),n.d(e,"r",function(){return r.r}),n.d(e,"s",function(){return r.s}),n.d(e,"t",function(){return r.t}),n.d(e,"u",function(){return r.u}),n.d(e,"v",function(){return r.v}),n.d(e,"w",function(){return r.w}),n.d(e,"x",function(){return r.x}),n.d(e,"y",function(){return r.y}),n.d(e,"z",function(){return r.z}),n.d(e,"A",function(){return r.A}),n.d(e,"B",function(){return r.B}),n.d(e,"C",function(){return r.C}),n.d(e,"D",function(){return r.D}),n.d(e,"E",function(){return r.E}),n.d(e,"F",function(){return r.F}),n.d(e,"G",function(){return r.G}),n.d(e,"H",function(){return r.H}),n.d(e,"I",function(){return r.I}),n.d(e,"J",function(){return r.J}),n.d(e,"K",function(){return r.K}),n.d(e,"L",function(){return r.L}),n.d(e,"M",function(){return r.M}),n.d(e,"N",function(){return r.N}),n.d(e,"O",function(){return r.O}),n.d(e,"P",function(){return r.P}),n.d(e,"Q",function(){return r.Q}),n.d(e,"R",function(){return r.R}),n.d(e,"S",function(){return r.S}),n.d(e,"T",function(){return r.T}),n.d(e,"U",function(){return r.U}),n.d(e,"V",function(){return r.V}),n.d(e,"W",function(){return r.W}),n.d(e,"X",function(){return r.X}),n.d(e,"Y",function(){return r.Y}),n.d(e,"Z",function(){return r.Z}),n.d(e,"_0",function(){return r._0}),n.d(e,"_1",function(){return r._1}),n.d(e,"_2",function(){return r._2}),n.d(e,"_3",function(){return r._3}),n.d(e,"_4",function(){return r._4}),n.d(e,"_5",function(){return r._5}),n.d(e,"_6",function(){return r._6}),n.d(e,"_7",function(){return r._7}),n.d(e,"_8",function(){return r._8}),n.d(e,"_9",function(){return r._9}),n.d(e,"_10",function(){return r._10}),n.d(e,"_11",function(){return r._11}),n.d(e,"_12",function(){return r._12}),n.d(e,"_13",function(){return r._13}),n.d(e,"_14",function(){return r._14}),n.d(e,"_15",function(){return r._15}),n.d(e,"_16",function(){return r._16}),n.d(e,"_17",function(){return r._17}),n.d(e,"_18",function(){return r._18}),n.d(e,"_19",function(){return r._19}),n.d(e,"_20",function(){return r._20}),n.d(e,"_21",function(){return r._21}),n.d(e,"_22",function(){return r._22}),n.d(e,"_23",function(){return r._23}),n.d(e,"_24",function(){return r._24}),n.d(e,"_25",function(){return r._25}),n.d(e,"_26",function(){return r._26}),n.d(e,"_27",function(){return r._27}),n.d(e,"_28",function(){return r._28}),n.d(e,"_29",function(){return r._29}),n.d(e,"_30",function(){return r._30}),n.d(e,"_31",function(){return r._31}),n.d(e,"_32",function(){return r._32}),n.d(e,"_33",function(){return r._33}),n.d(e,"_34",function(){return r._34}),n.d(e,"_35",function(){return r._35}),n.d(e,"_36",function(){return r._36}),n.d(e,"_37",function(){return r._37}),n.d(e,"_38",function(){return r._38}),n.d(e,"_39",function(){return r._39}),n.d(e,"_40",function(){return r._40}),n.d(e,"_41",function(){return r._41}),n.d(e,"_42",function(){return r._42}),n.d(e,"_43",function(){return r._43}),n.d(e,"_44",function(){return r._44}),n.d(e,"_45",function(){return r._45}),n.d(e,"_46",function(){return r._46}),n.d(e,"_47",function(){return r._47}),n.d(e,"_48",function(){return r._48}),n.d(e,"_49",function(){return r._49}),n.d(e,"_50",function(){return r._50}),n.d(e,"_51",function(){return r._51}),n.d(e,"_52",function(){return r._52}),n.d(e,"_53",function(){return r._53}),n.d(e,"_54",function(){return r._54}),n.d(e,"_55",function(){return r._55}),n.d(e,"_56",function(){return r._56}),n.d(e,"_57",function(){return r._57}),n.d(e,"_58",function(){return r._58}),n.d(e,"_59",function(){return r._59}),n.d(e,"_60",function(){return r._60}),n.d(e,"_61",function(){return r._61})},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<t.length;n++)if(e(t[parseInt(n.toString(),10)],n))return n;return-1}function o(t){if("string"==typeof t){var e="";try{var r=n.i(m.select)(t);e=r?"SCRIPT"===r.tagName?r.innerHTML:r.outerHTML:t}catch(n){e=t}return n.i(m.compile)(e)}return n.i(m.compile)(t)}function i(t,e){for(var n=0;n<t.length;n++)for(var r=t[parseInt(n.toString(),10)],o=0;o<r.groups.length;o++)for(var i=r.groups[parseInt(o.toString(),10)],s=0;s<i.collections.length;s++)for(var u=i.collections[parseInt(s.toString(),10)],c=0;c<u.items.length;c++){var l=u.items[parseInt(c.toString(),10)];if(l.id===e)return{item:l,collection:u,group:i,tabIndex:n,groupIndex:o,collectionIndex:s,itemIndex:c}}return null}function s(t,e){for(var n=0;n<t.length;n++)for(var r=t[parseInt(n.toString(),10)],o=0;o<r.groups.length;o++)for(var i=r.groups[parseInt(o.toString(),10)],s=0;s<i.collections.length;s++){var u=i.collections[parseInt(s.toString(),10)];if(u.id===e)return{collection:u,group:i,tabIndex:n,groupIndex:o,collectionIndex:s}}return null}function u(t,e){for(var n=0;n<t.length;n++)for(var r=t[parseInt(n.toString(),10)],o=0;o<r.groups.length;o++){var i=r.groups[parseInt(o.toString(),10)];if(i.id===e)return{group:i,tabIndex:n,groupIndex:o}}return null}function c(t,e){n.i(m.getComponent)(t,e).destroy()}function l(t,e,r){n.i(m.getComponent)(t,e).setProperties(r)}function a(t,e,r){n.i(m.getComponent)(t,e).setProperties("combobox"===e?{enabled:!r}:{disabled:r})}function p(t,e,r){if(!r&&!(r=i(t.tabs,e)))return null;var o=t.tabObj.items[r.tabIndex].content;if(""===o.innerHTML)return null;if(t.activeLayout===_.c.Classic)return o=r.group.isCollapsed?t.ribbonDropDownModule.getOverflowDropDownPopup(r,o):o,o.querySelector("#"+e);var s=r.item.displayOptions&_.b.Simplified?o.querySelector("#"+r.item.id):null;if(!s&&_.b.Simplified!==_.b.None){s=(r.group.enableGroupOverflow?n.i(m.getComponent)(o.querySelector("#"+r.group.id+g._16),S.DropDownButton):t.overflowDDB).target.querySelector("#"+r.item.id)}return s}function d(t){return!!(t.content||t.iconCss||t.title||t.id||t.cssClass)}function f(t,e,n){var r=t.target.getAttribute("id"),o=n.filter(function(t){return t.id===r})[0],i=o.data,s=e.createElement("div",{id:i.id?g._7+"_"+i.id:g._7});if(e.element.append(s),i.title){var u=e.createElement("div",{innerHTML:i.title,className:g._4});s.appendChild(u)}var c=e.createElement("div",{className:g._8});if(s.appendChild(c),i.iconCss){var l=e.createElement("div",{className:i.cssClass?i.cssClass+" "+i.iconCss+" "+g._6:i.iconCss+" "+g._6});c.appendChild(l)}if(i.content){var a=e.createElement("div",{innerHTML:i.content,className:g._5});c.appendChild(a)}e.setProperties({content:s})}function h(t,e){function n(t){f(t,r,e.tooltipData)}var r=new y.Tooltip({cssClass:(g._3+" "+e.cssClass).trim(),target:"."+g.c,beforeRender:n.bind(this)});r.appendTo(t)}function b(t){n.i(m.getComponent)(t,y.Tooltip).destroy()}function v(t,e){n.i(m.getComponent)(t,y.Tooltip).setProperties(e)}e.a=r,e.b=o,e.c=i,e.d=s,e.e=u,e.f=c,e.g=l,e.h=a,e.i=p,e.j=d,e.k=f,e.l=h,e.m=b,e.n=v;var m=n(0),y=(n.n(m),n(23)),_=(n.n(y),n(5)),g=n(1),S=n(3);n.n(S)},function(t,e,n){"use strict";var r=n(28);n.d(e,"a",function(){return r.a});var o=n(29);n.d(e,"b",function(){return o.a});var i=n(30);n.d(e,"c",function(){return i.a});var s=n(31);n.d(e,"d",function(){return s.a});var u=n(32);n.d(e,"e",function(){return u.a});var c=n(33);n.d(e,"f",function(){return c.a})},function(t,e,n){"use strict";var r=n(35);n.d(e,"a",function(){return r.a});var o=n(18);n.d(e,"b",function(){return o.a});var i=n(14);n.d(e,"c",function(){return i.a});var s=n(19);n.d(e,"d",function(){return s.a});var u=n(12);n.d(e,"e",function(){return u.a});var c=n(13);n.d(e,"f",function(){return c.a});var l=n(15);n.d(e,"g",function(){return l.a});var a=n(16);n.d(e,"h",function(){return a.a});var p=n(17);n.d(e,"i",function(){return p.a});var d=n(20);n.d(e,"j",function(){return d.a});var f=n(34);n.d(e,"k",function(){return f.a});var h=n(6);n.d(e,"l",function(){return h.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},i([n.i(r.Property)("")],e.prototype,"content",void 0),i([n.i(r.Property)("")],e.prototype,"cssClass",void 0),i([n.i(r.Property)("")],e.prototype,"iconCss",void 0),i([n.i(r.Property)(!1)],e.prototype,"isToggle",void 0),i([n.i(r.Property)(!1)],e.prototype,"isPrimary",void 0),i([n.i(r.Event)()],e.prototype,"created",void 0),i([n.i(r.Event)()],e.prototype,"clicked",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},i([n.i(r.Property)(!1)],e.prototype,"checked",void 0),i([n.i(r.Property)("")],e.prototype,"cssClass",void 0),i([n.i(r.Property)("")],e.prototype,"label",void 0),i([n.i(r.Property)("After")],e.prototype,"labelPosition",void 0),i([n.i(r.Event)()],e.prototype,"created",void 0),i([n.i(r.Event)()],e.prototype,"change",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(0),o=(n.n(r),n(19)),i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},s([n.i(r.Property)("")],e.prototype,"id",void 0),s([n.i(r.Property)("")],e.prototype,"cssClass",void 0),s([n.i(r.Collection)([],o.a)],e.prototype,"items",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},i([n.i(r.Property)(10)],e.prototype,"columns",void 0),i([n.i(r.Property)("")],e.prototype,"cssClass",void 0),i([n.i(r.Property)(!0)],e.prototype,"enableOpacity",void 0),i([n.i(r.Property)("Picker")],e.prototype,"mode",void 0),i([n.i(r.Property)(!0)],e.prototype,"modeSwitcher",void 0),i([n.i(r.Property)(!1)],e.prototype,"noColor",void 0),i([n.i(r.Property)(null)],e.prototype,"presetColors",void 0),i([n.i(r.Property)(!0)],e.prototype,"showButtons",void 0),i([n.i(r.Property)("#008000ff")],e.prototype,"value",void 0),i([n.i(r.Event)()],e.prototype,"beforeClose",void 0),i([n.i(r.Event)()],e.prototype,"beforeOpen",void 0),i([n.i(r.Event)()],e.prototype,"beforeTileRender",void 0),i([n.i(r.Event)()],e.prototype,"created",void 0),i([n.i(r.Event)()],e.prototype,"change",void 0),i([n.i(r.Event)()],e.prototype,"open",void 0),i([n.i(r.Event)()],e.prototype,"select",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(0),o=(n.n(r),n(22)),i=(n.n(o),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),s=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},s([n.i(r.Property)(!1)],e.prototype,"allowFiltering",void 0),s([n.i(r.Property)(!0)],e.prototype,"autofill",void 0),s([n.i(r.Property)("")],e.prototype,"cssClass",void 0),s([n.i(r.Property)([])],e.prototype,"dataSource",void 0),s([n.i(r.Complex)({text:null,value:null,iconCss:null,groupBy:null},o.FieldSettings)],e.prototype,"fields",void 0),s([n.i(r.Property)("Contains")],e.prototype,"filterType",void 0),s([n.i(r.Property)(null)],e.prototype,"footerTemplate",void 0),s([n.i(r.Property)(null)],e.prototype,"groupTemplate",void 0),s([n.i(r.Property)(null)],e.prototype,"headerTemplate",void 0),s([n.i(r.Property)(null)],e.prototype,"index",void 0),s([n.i(r.Property)(null)],e.prototype,"itemTemplate",void 0),s([n.i(r.Property)("No records found")],e.prototype,"noRecordsTemplate",void 0),s([n.i(r.Property)(null)],e.prototype,"placeholder",void 0),s([n.i(r.Property)("300px")],e.prototype,"popupHeight",void 0),s([n.i(r.Property)("100%")],e.prototype,"popupWidth",void 0),s([n.i(r.Property)(!0)],e.prototype,"showClearButton",void 0),s([n.i(r.Property)("None")],e.prototype,"sortOrder",void 0),s([n.i(r.Property)(null)],e.prototype,"text",void 0),s([n.i(r.Property)(null)],e.prototype,"value",void 0),s([n.i(r.Property)("150px")],e.prototype,"width",void 0),s([n.i(r.Event)()],e.prototype,"beforeOpen",void 0),s([n.i(r.Event)()],e.prototype,"change",void 0),s([n.i(r.Event)()],e.prototype,"close",void 0),s([n.i(r.Event)()],e.prototype,"created",void 0),s([n.i(r.Event)()],e.prototype,"filtering",void 0),s([n.i(r.Event)()],e.prototype,"open",void 0),s([n.i(r.Event)()],e.prototype,"select",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(0),o=(n.n(r),n(3)),i=(n.n(o),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),s=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},s([n.i(r.Property)("")],e.prototype,"closeActionEvents",void 0),s([n.i(r.Property)("")],e.prototype,"content",void 0),s([n.i(r.Property)("")],e.prototype,"cssClass",void 0),s([n.i(r.Property)("")],e.prototype,"iconCss",void 0),s([n.i(r.Collection)([],o.Item)],e.prototype,"items",void 0),s([n.i(r.Property)("")],e.prototype,"target",void 0),s([n.i(r.Event)()],e.prototype,"beforeClose",void 0),s([n.i(r.Event)()],e.prototype,"beforeItemRender",void 0),s([n.i(r.Event)()],e.prototype,"beforeOpen",void 0),s([n.i(r.Event)()],e.prototype,"close",void 0),s([n.i(r.Event)()],e.prototype,"created",void 0),s([n.i(r.Event)()],e.prototype,"open",void 0),s([n.i(r.Event)()],e.prototype,"select",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(0),o=(n.n(r),n(14)),i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},s([n.i(r.Collection)([],o.a)],e.prototype,"collections",void 0),s([n.i(r.Property)("")],e.prototype,"cssClass",void 0),s([n.i(r.Property)("")],e.prototype,"id",void 0),s([n.i(r.Property)(!1)],e.prototype,"isCollapsed",void 0),s([n.i(r.Property)(!0)],e.prototype,"isCollapsible",void 0),s([n.i(r.Property)(!1)],e.prototype,"enableGroupOverflow",void 0),s([n.i(r.Property)("")],e.prototype,"groupIconCss",void 0),s([n.i(r.Property)("")],e.prototype,"header",void 0),s([n.i(r.Property)("Column")],e.prototype,"orientation",void 0),s([n.i(r.Property)(0)],e.prototype,"priority",void 0),s([n.i(r.Property)(!1)],e.prototype,"showLauncherIcon",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";n.d(e,"a",function(){return h});var r=n(0),o=(n.n(r),n(5)),i=n(12),s=n(13),u=n(15),c=n(16),l=n(17),a=n(20),p=n(6),d=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},f([n.i(r.Property)(o.a.Medium)],e.prototype,"activeSize",void 0),f([n.i(r.Property)(o.a.Small|o.a.Medium|o.a.Large)],e.prototype,"allowedSizes",void 0),f([n.i(r.Property)("")],e.prototype,"id",void 0),f([n.i(r.Property)("")],e.prototype,"cssClass",void 0),f([n.i(r.Property)(!1)],e.prototype,"disabled",void 0),f([n.i(r.Property)("")],e.prototype,"itemTemplate",void 0),f([n.i(r.Property)("Button")],e.prototype,"type",void 0),f([n.i(r.Property)(o.b.Auto)],e.prototype,"displayOptions",void 0),f([n.i(r.Complex)({},p.a)],e.prototype,"ribbonTooltipSettings",void 0),f([n.i(r.Complex)({},i.a)],e.prototype,"buttonSettings",void 0),f([n.i(r.Complex)({},l.a)],e.prototype,"dropDownSettings",void 0),f([n.i(r.Complex)({},s.a)],e.prototype,"checkBoxSettings",void 0),f([n.i(r.Complex)({},u.a)],e.prototype,"colorPickerSettings",void 0),f([n.i(r.Complex)({},c.a)],e.prototype,"comboBoxSettings",void 0),f([n.i(r.Complex)({},a.a)],e.prototype,"splitButtonSettings",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(0),o=(n.n(r),n(3)),i=(n.n(o),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),s=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},s([n.i(r.Property)("")],e.prototype,"closeActionEvents",void 0),s([n.i(r.Property)("")],e.prototype,"content",void 0),s([n.i(r.Property)("")],e.prototype,"cssClass",void 0),s([n.i(r.Property)("")],e.prototype,"iconCss",void 0),s([n.i(r.Collection)([],o.Item)],e.prototype,"items",void 0),s([n.i(r.Property)("")],e.prototype,"target",void 0),s([n.i(r.Event)()],e.prototype,"beforeClose",void 0),s([n.i(r.Event)()],e.prototype,"beforeItemRender",void 0),s([n.i(r.Event)()],e.prototype,"beforeOpen",void 0),s([n.i(r.Event)()],e.prototype,"close",void 0),s([n.i(r.Event)()],e.prototype,"click",void 0),s([n.i(r.Event)()],e.prototype,"created",void 0),s([n.i(r.Event)()],e.prototype,"open",void 0),s([n.i(r.Event)()],e.prototype,"select",void 0),e}(r.ChildProperty)},function(t,e){t.exports=o},function(t,e){t.exports=i},function(t,e){t.exports=s},function(t,e,n){"use strict";var r=n(43);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b});var o=n(40);n.d(e,"c",function(){return o.a}),n.d(e,"d",function(){return o.b});var i=n(39);n.d(e,"e",function(){return i.a}),n.d(e,"f",function(){return i.b});var s=n(41);n.d(e,"g",function(){return s.a}),n.d(e,"h",function(){return s.b});var u=n(42);n.d(e,"i",function(){return u.a})},function(t,e,n){"use strict";var r=n(27);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b}),n.d(e,"c",function(){return r.c}),n.d(e,"d",function(){return r.d}),n.d(e,"e",function(){return r.e}),n.d(e,"f",function(){return r.f}),n.d(e,"g",function(){return r.g}),n.d(e,"h",function(){return r.h}),n.d(e,"i",function(){return r.i}),n.d(e,"j",function(){return r.j}),n.d(e,"k",function(){return r.k}),n.d(e,"l",function(){return r.l}),n.d(e,"m",function(){return r.m}),n.d(e,"n",function(){return r.n}),n.d(e,"o",function(){return r.o}),n.d(e,"p",function(){return r.p}),n.d(e,"q",function(){return r.q}),n.d(e,"r",function(){return r.r}),n.d(e,"s",function(){return r.s}),n.d(e,"t",function(){return r.t}),n.d(e,"u",function(){return r.u}),n.d(e,"v",function(){return r.v}),n.d(e,"w",function(){return r.w}),n.d(e,"x",function(){return r.x}),n.d(e,"y",function(){return r.y}),n.d(e,"z",function(){return r.z}),n.d(e,"A",function(){return r.A}),n.d(e,"B",function(){return r.B}),n.d(e,"C",function(){return r.C}),n.d(e,"D",function(){return r.D}),n.d(e,"E",function(){return r.E}),n.d(e,"F",function(){return r.F}),n.d(e,"G",function(){return r.G}),n.d(e,"H",function(){return r.H}),n.d(e,"I",function(){return r.I}),n.d(e,"J",function(){return r.J}),n.d(e,"K",function(){return r.K}),n.d(e,"L",function(){return r.L}),n.d(e,"M",function(){return r.M}),n.d(e,"N",function(){return r.N}),n.d(e,"O",function(){return r.O}),n.d(e,"P",function(){return r.P}),n.d(e,"Q",function(){return r.Q}),n.d(e,"R",function(){return r.R}),n.d(e,"S",function(){return r.S}),n.d(e,"T",function(){return r.T}),n.d(e,"U",function(){return r.U}),n.d(e,"V",function(){return r.V}),n.d(e,"W",function(){return r.W}),n.d(e,"X",function(){return r.X}),n.d(e,"Y",function(){return r.Y}),n.d(e,"Z",function(){return r.Z}),n.d(e,"_0",function(){return r._0}),n.d(e,"_1",function(){return r._1}),n.d(e,"_2",function(){return r._2}),n.d(e,"_3",function(){return r._3}),n.d(e,"_4",function(){return r._4}),n.d(e,"_5",function(){return r._5}),n.d(e,"_6",function(){return r._6}),n.d(e,"_7",function(){return r._7}),n.d(e,"_8",function(){return r._8}),n.d(e,"_9",function(){return r._9}),n.d(e,"_10",function(){return r._10}),n.d(e,"_11",function(){return r._11}),n.d(e,"_12",function(){return r._12}),n.d(e,"_13",function(){return r._13}),n.d(e,"_14",function(){return r._14}),n.d(e,"_15",function(){return r._15}),n.d(e,"_16",function(){return r._16}),n.d(e,"_17",function(){return r._17}),n.d(e,"_18",function(){return r._18}),n.d(e,"_19",function(){return r._19}),n.d(e,"_20",function(){return r._20}),n.d(e,"_21",function(){return r._21}),n.d(e,"_22",function(){return r._22}),n.d(e,"_23",function(){return r._23}),n.d(e,"_24",function(){return r._24}),n.d(e,"_25",function(){return r._25}),n.d(e,"_26",function(){return r._26}),n.d(e,"_27",function(){return r._27}),n.d(e,"_28",function(){return r._28}),n.d(e,"_29",function(){return r._29}),n.d(e,"_30",function(){return r._30}),n.d(e,"_31",function(){return r._31}),n.d(e,"_32",function(){return r._32}),n.d(e,"_33",function(){return r._33}),n.d(e,"_34",function(){return r._34}),n.d(e,"_35",function(){return r._35}),n.d(e,"_36",function(){return r._36}),n.d(e,"_37",function(){return r._37}),n.d(e,"_38",function(){return r._38}),n.d(e,"_39",function(){return r._39}),n.d(e,"_40",function(){return r._40}),n.d(e,"_41",function(){return r._41}),n.d(e,"_42",function(){return r._42}),n.d(e,"_43",function(){return r._43}),n.d(e,"_44",function(){return r._44}),n.d(e,"_45",function(){return r._45}),n.d(e,"_46",function(){return r._46}),n.d(e,"_47",function(){return r._47}),n.d(e,"_48",function(){return r._48}),n.d(e,"_49",function(){return r._49}),n.d(e,"_50",function(){return r._50}),n.d(e,"_51",function(){return r._51}),n.d(e,"_52",function(){return r._52}),n.d(e,"_53",function(){return r._53}),n.d(e,"_54",function(){return r._54}),n.d(e,"_55",function(){return r._55}),n.d(e,"_56",function(){return r._56}),n.d(e,"_57",function(){return r._57}),n.d(e,"_58",function(){return r._58}),n.d(e,"_59",function(){return r._59}),n.d(e,"_60",function(){return r._60}),n.d(e,"_61",function(){return r._61})},function(t,e,n){"use strict";n.d(e,"a",function(){return f});var r=n(0),o=(n.n(r),n(7)),i=(n.n(o),n(11)),s=n(5),u=n(10),c=n(9),l=n(1),a=n(3),p=(n.n(a),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),d=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},f=function(t){function e(e,n){return f.Inject(u.a,u.b,u.e,u.f,u.d),t.call(this,e,n)||this}p(e,t),f=e,e.prototype.render=function(){this.initialize()},e.prototype.preRender=function(){this.idIndex=0,this.tooltipData=[],this.isAddRemove=!1},e.prototype.getPersistData=function(){return this.addOnPersist(["activeLayout"])},e.prototype.getModuleName=function(){return"ribbon"},e.prototype.requiredModules=function(){var t=[];return t.push({member:"ribbonButton",args:[this]},{member:"ribbonDropDown",args:[this]},{member:"ribbonSplitButton",args:[this]},{member:"ribbonCheckBox",args:[this]},{member:"ribbonColorPicker",args:[this]},{member:"ribbonComboBox",args:[this]},{member:"ribbonFileMenu",args:[this]}),t},e.prototype.initialize=function(){this.element.id=this.element.id||n.i(r.getUniqueID)("e-"+this.getModuleName()),n.i(r.addClass)([this.element],["e-rbn"].concat(this.cssClass?this.cssClass.split(l.f):[])),this.enableRtl&&this.element.classList.add(l.r),this.element.style.width=n.i(r.formatUnit)(this.width),this.renderTabs(),this.ribbonFileMenuModule&&this.ribbonFileMenuModule.createFileMenu(this.fileMenu),this.createHelpPaneTemplate(),n.i(c.l)(this.element,this),this.wireEvents()},e.prototype.wireEvents=function(){r.EventHandler.add(window,"resize",this.resizeHandler,this)},e.prototype.resizeHandler=function(){var t=this.tabObj.element.querySelector("#"+this.tabs[this.selectedTab].id+l._19);if(this.checkOverflow(this.selectedTab,t),this.scrollModule){var e=this.tabObj.element.querySelector("."+l.s);this.scrollModule.scrollStep=e.offsetWidth}},e.prototype.renderTabs=function(){this.tabsInternal=this.tabs.slice(),this.tabsInternal=this.checkID(this.tabsInternal,"tab",this.element.id),this.setProperties({tabs:this.tabsInternal},!0);var t=this.createElement("div",{id:this.element.id+l._10});this.element.appendChild(t),this.validateItemSize();var e=this.createTabItems(this.tabs);this.tabObj=new o.Tab({cssClass:l.u,selectedItem:this.selectedTab,overflowMode:"Popup",width:this.width,items:e,enableRtl:this.enableRtl,created:this.tabCreated.bind(this),selected:this.ribbonTabSelected.bind(this),selecting:this.ribbonTabSelecting.bind(this)}),this.tabObj.appendTo(t),this.element.style.setProperty(l.b,"0px"),this.element.style.setProperty(l._22,"0px");var i=t.querySelector(".e-toolbar");n.i(r.getComponent)(i,o.Toolbar).setProperties({width:"calc(100% - var(--fileMenuWidth) - var(--helpTemplateWidth))"}),this.element.classList[this.isMinimized?"add":"remove"](l.F)},e.prototype.minimize=function(t){var e=this;if(t!==this.isMinimized){var n={cancel:!1};this.trigger(t?"ribbonCollapsing":"ribbonExpanding",n,function(n){n.cancel||(e.setProperties({isMinimized:t},!0),e.element.classList.toggle(l.F,e.isMinimized),e.tabObj.element.querySelector(".e-content").style.display=t?"none":"block",t||e.refreshLayout())})}},e.prototype.toggleLayout=function(){this.setProperties({activeLayout:"Simplified"===this.activeLayout?"Classic":"Simplified"},!0),this.switchLayout()},e.prototype.tabCreated=function(){this.addExpandCollapse(),this.renderInitialTab(this.selectedTab)},e.prototype.ribbonTabSelected=function(t){this.isAddRemove=!1;var e=t.selectedItem.getAttribute("data-id"),r=n.i(c.a)(this.tabs,function(t){return t.id===e});r=-1===r?this.selectedTab:r;var o={previousIndex:this.selectedTab,selectedIndex:r};if(this.setProperties({selectedTab:r},!0),this.checkOverflow(r,t.selectedContent.firstChild),"Simplified"===this.activeLayout&&this.overflowDDB){var i=this.overflowDDB.target,s=i.querySelector("."+l.v);s&&s.classList.remove(l.v);var u=i.querySelector("#"+e+l.l);u?(u.classList.add(l.v),this.overflowDDB.element.classList.remove(l.t)):this.overflowDDB.element.classList.add(l.t)}this.trigger("tabSelected",o)},e.prototype.checkOverflow=function(t,e){var n=e.closest("."+l.E),r=n.offsetWidth<e.offsetWidth;if(r&&!this.scrollModule){if("Classic"===this.activeLayout){var i=!1;i=this.checkGroupShrinking(t,n,e,!0),!i&&n.offsetWidth<e.offsetWidth&&(i=this.checkGroupShrinking(t,n,e,!1)),n.offsetWidth<e.offsetWidth&&this.createOverflowDropdown(t,n,e)}else this.checkSimplifiedItemShrinking(t,n,e),n.offsetWidth<e.offsetWidth&&this.createSimplfiedOverflow(n,e,t);n.offsetWidth<e.offsetWidth&&!this.scrollModule&&(this.scrollModule=new o.HScroll({enableRtl:this.enableRtl},this.tabObj.element.querySelector("."+l.E)))}else if(!r)if(this.destroyScroll(),"Classic"===this.activeLayout){var i=!1;i=this.removeOverflowDropdown(n,e,!1,t),!i&&n.offsetWidth>e.offsetWidth&&(i=this.checkGroupExpanding(t,n,e,!0)),!i&&n.offsetWidth>e.offsetWidth&&(i=this.checkGroupExpanding(t,n,e,!1))}else this.removeSimplfiedOverflow(n,e,t),n.offsetWidth>e.offsetWidth&&this.checkSimplifiedItemExpanding(t,n,e)},e.prototype.checkSimplifiedItemShrinking=function(t,e,n){for(var r=this.tabs[parseInt(t.toString(),10)],o=r.groups.length-1;o>=0;o--)for(var i=r.groups[parseInt(o.toString(),10)],u=e.querySelector("#"+i.id+l._20),c=0;c<i.collections.length&&e.offsetWidth<n.offsetWidth;c++)for(var a=i.collections[parseInt(c.toString(),10)],p=a.items.length;p>=1&&e.offsetWidth<n.offsetWidth;p--){var d=a.items[p-1];if(d.allowedSizes&s.a.Small&&d.allowedSizes&s.a.Medium&&d.activeSize===s.a.Medium&&d.displayOptions&s.b.Simplified){var f=u.querySelector("#"+d.id+l._20);if(f){var h=f.querySelector("#"+d.id);f.setAttribute("data-medium-width",n.offsetWidth.toString()),d.setProperties({activeSize:s.a.Small},!0),this.setItemSize(h,d)}}}},e.prototype.checkSimplifiedItemExpanding=function(t,e,n){for(var r=this.tabs[parseInt(t.toString(),10)],o=r.groups.length-1;o>=0;o--)for(var i=r.groups[parseInt(o.toString(),10)],u=e.querySelector("#"+i.id+l._20),c=0;c<i.collections.length&&e.offsetWidth>n.offsetWidth;c++)for(var a=i.collections[parseInt(c.toString(),10)],p=a.items.length;p>=1&&e.offsetWidth>n.offsetWidth;p--){var d=a.items[p-1];if(d.allowedSizes&s.a.Small&&d.allowedSizes&s.a.Medium&&d.activeSize===s.a.Small&&d.displayOptions&s.b.Simplified){var f=u.querySelector("#"+d.id+l._20);if(f){var h=f.getAttribute("data-medium-width"),b=h?parseInt(h,10):null;if(b&&e.offsetWidth>b){f.removeAttribute("data-medium-width");var v=f.querySelector("#"+d.id);d.setProperties({activeSize:s.a.Medium},!0),this.setItemSize(v,d)}}}}},e.prototype.createSimplfiedOverflow=function(t,e,o){for(var i=this.getGroupResizeOrder(!0,o),u=0;u<i.length&&t.offsetWidth<e.offsetWidth;u++){for(var c=i[parseInt(u.toString(),10)],a=t.querySelector("#"+c.id),p=a.querySelector("#"+c.id+l._20),d=c.collections.length;d>=1&&t.offsetWidth<e.offsetWidth;d--)for(var f=c.collections[parseInt((d-1).toString(),10)],h=a.querySelector("#"+f.id),b=f.items.length;b>=1&&t.offsetWidth<e.offsetWidth;b--){var v=f.items[b-1],m=h.querySelector("#"+v.id+l._20);if(v.displayOptions===(s.b.Simplified|s.b.Overflow)&&!n.i(r.isNullOrUndefined)(m)){if(m.setAttribute("data-simplified-width",e.offsetWidth.toString()),this.createOverflowPopup(v,o,c.enableGroupOverflow,c.id,c.header,m,p),v.activeSize===s.a.Small){var y=m.querySelector("#"+v.id);v.setProperties({activeSize:s.a.Medium},!0),this.setItemSize(y,v)}v.type!==s.e.DropDown&&v.type!==s.e.SplitButton||this.updatePopupItems(v,m,c.enableGroupOverflow,!0)}}c.enableGroupOverflow||a.querySelector("."+l.S)||a.classList.add("e-ribbon-emptyCollection")}},e.prototype.updatePopupItems=function(t,e,o,i){var u=n.i(r.getComponent)(e.querySelector("#"+t.id),t.type===s.e.DropDown?a.DropDownButton:a.SplitButton),c=u.dropDown,l=(o&&i)===this.enableRtl;c.setProperties({position:{X:l?"left":"right",Y:i?"top":"bottom"}},!0),i?u.beforeOpen=function(){l&&(c.element.style.setProperty("visibility","hidden"),c.element.style.setProperty("display","block"),c.setProperties({offsetX:-1*c.element.offsetWidth}),c.element.style.removeProperty("display"),c.element.style.removeProperty("visibility"))}:(c.setProperties({offsetX:0},!0),u.beforeOpen=null)},e.prototype.removeSimplfiedOverflow=function(t,e,o,i){void 0===i&&(i=!1);for(var u=this.getGroupResizeOrder(!1,o),c=!0,p=0;p<u.length&&c;p++){var d=u[parseInt(p.toString(),10)],f=void 0,h=void 0;if(d.enableGroupOverflow){var b=t.querySelector("#"+d.id+l._16);b&&(f=n.i(r.getInstance)(b,a.DropDownButton),h=f.target)}else f=this.overflowDDB,h=this.overflowDDB?this.overflowDDB.target:null;for(var v=0;v<d.collections.length&&c;v++)for(var m=d.collections[parseInt(v.toString(),10)],y=0;y<m.items.length&&c&&!i&&t.offsetWidth>e.offsetWidth;y++){var _=m.items[parseInt(y.toString(),10)],g=void 0;if(h&&(g=h.querySelector("#"+_.id+l._20)),_.displayOptions===(s.b.Simplified|s.b.Overflow)&&!n.i(r.isNullOrUndefined)(g)){var S=parseInt(g.getAttribute("data-simplified-width"),10);if(!i&&t.offsetWidth<S){c=!1;break}var C=t.querySelector("#"+m.id);_.type!==s.e.DropDown&&_.type!==s.e.SplitButton||this.updatePopupItems(_,g,d.enableGroupOverflow,!1),C.append(g),this.removeOverflowEvent(_,g),_.allowedSizes&s.a.Small&&(_.setProperties({activeSize:s.a.Small},!0),this.setItemSize(g.querySelector("#"+_.id),_))}}var I=t.querySelector("#"+d.id),O=I.querySelector("."+l.S);if(I.classList.contains("e-ribbon-emptyCollection")&&null!==O&&I.classList.remove("e-ribbon-emptyCollection"),f)if(d.enableGroupOverflow)0===h.childElementCount&&this.removeOverflowButton(f);else{var w=h.querySelector("#"+d.id+l._20);w&&1===w.childElementCount&&w.remove();var P=h.querySelector("#"+this.tabs[parseInt(o.toString(),10)].id+l.l);P&&0===P.childElementCount&&(P.remove(),this.overflowDDB.element.classList.add(l.t))}}if(this.overflowDDB){0===this.overflowDDB.target.childElementCount&&(this.removeOverflowButton(this.overflowDDB),this.overflowDDB=null)}},e.prototype.createOverflowPopup=function(t,e,o,i,s,u,c){var p;if(o){var d=c.querySelector("#"+i+l._16);d?p=n.i(r.getInstance)(d,a.DropDownButton):(p=this.addOverflowButton(i+l._16),p.element.classList.add(l.B),c.appendChild(p.element)),p.target.append(u)}else{if(this.overflowDDB){this.overflowDDB.element.classList.remove(l.t);var f=this.overflowDDB.target,h=f.querySelector("#"+this.tabs[parseInt(e.toString(),10)].id+l.l);if(h){var b=f.querySelector("#"+i+l._20);b||(b=this.createGroupContainer(i,s),h.append(b)),b.append(u)}else this.createOfTabContainer(i,s,u,e)}else this.overflowDDB=this.addOverflowButton(this.tabObj.element.id+l._15),this.tabObj.element.insertBefore(this.overflowDDB.element,this.collapseButton),this.overflowDDB.element.classList.add(l.A),this.createOfTabContainer(i,s,u,e);p=this.overflowDDB}this.addOverflowEvents(t,u,p)},e.prototype.addOverflowEvents=function(t,e,n){switch(t.type){case"Button":this.ribbonButtonModule.addOverFlowEvents(t,e,n);break;case"DropDown":this.ribbonDropDownModule.addOverFlowEvents(t,e,n);break;case"SplitButton":this.ribbonSplitButtonModule.addOverFlowEvents(t,e,n);break;case"CheckBox":this.ribbonCheckBoxModule.addOverFlowEvents(t,e,n);break;case"ColorPicker":this.ribbonColorPickerModule.addOverFlowEvents(t,e,n);break;case"ComboBox":this.ribbonComboBoxModule.addOverFlowEvents(t,e,n)}},e.prototype.createOfTabContainer=function(t,e,n,r){var o=this.createElement("div",{id:this.tabs[parseInt(r.toString(),10)].id+l.l,className:l.I});this.overflowDDB.target.append(o);var i=this.createGroupContainer(t,e);i.append(n),o.append(i),r===this.selectedTab&&o.classList.add(l.v)},e.prototype.checkGroupShrinking=function(t,e,n,r){for(var o=!0,i=!1,s=this.tabs[parseInt(t.toString(),10)],u=s.groups.length-1;o&&u>=0;u--)i=r?this.checkLargeToMedium(t,s,u,e,n):this.checkMediumToSmall(t,s,u,e,n),o=!i&&e.offsetWidth<n.offsetWidth;return i},e.prototype.checkLargeToMedium=function(t,e,n,r,o,i){var u=this;void 0===i&&(i=!1);var c=e.groups[parseInt(n.toString(),10)];if(c.isCollapsed&&!i)return!1;var a=function(t){return 1===t.items.length&&p(t.items[0])},p=function(t){return t.allowedSizes&s.a.Medium&&t.activeSize===s.a.Large},d=function(t,e,n,r){var s=u.createElement("div",{className:"e-ribbon-shrink"+l.f+l.T,id:t+"_shrink_container"+n,attrs:{"data-start":n.toString(),"data-end":r.toString()}});return e.parentElement.insertBefore(s,e),i||s.setAttribute("data-large-width",o.offsetWidth.toString()),s},f=function(e,r){for(var c=u.tabs[parseInt(t.toString(),10)].groups[parseInt(n.toString(),10)].collections[0],a=o.querySelector("#"+c.items[parseInt(e.toString(),10)].id+l._20),p=i?o.querySelector("#"+c.id+"_shrink_container"+e):d(c.id,a,e,r),f=e;f<=r;f++){var h=c.items[parseInt(f.toString(),10)],b=o.querySelector("#"+h.id+l._20);p.appendChild(b),h.setProperties({activeSize:s.a.Medium},!0),u.setItemSize(b.querySelector("#"+h.id),h)}},h=function(e,r){for(var c=u.tabs[parseInt(t.toString(),10)].groups[parseInt(n.toString(),10)],l=o.querySelector("#"+c.collections[parseInt(e.toString(),10)].id),a=i?o.querySelector("#"+c.id+"_shrink_container"+e):d(c.id,l,e,r),p=e;p<=r;p++){var f=c.collections[parseInt(p.toString(),10)],h=o.querySelector("#"+f.id);a.appendChild(h),f.items[0].setProperties({activeSize:s.a.Medium},!0),u.setItemSize(h.querySelector("#"+f.items[0].id),f.items[0])}};if(c.orientation===s.d.Column){for(var b=c.collections.length-1;b>0;b--)if(b-1>=0&&a(c.collections[parseInt(b.toString(),10)]))if(a(c.collections[b-1])){if(b-2>=0&&a(c.collections[b-2])?h(b-2,b):h(b-1,b),b-=2,!i&&r.offsetWidth>o.offsetWidth)return!0}else b--}else if(1===c.collections.length)for(var v=c.collections[0],b=v.items.length-1;b>0;b--)if(b-1>=0&&p(v.items[parseInt(b.toString(),10)]))if(p(v.items[b-1])){if(b-2>=0&&p(v.items[b-2])?f(b-2,b):f(b-1,b),b-=2,!i&&r.offsetWidth>o.offsetWidth)return!0}else b--;return!1},e.prototype.checkMediumToSmall=function(t,e,n,r,o,i){var u=this;void 0===i&&(i=!1);var c=e.groups[parseInt(n.toString(),10)];if(c.isCollapsed&&!i)return!1;var l=c.orientation,a=o.querySelector("#"+c.id),p=a.querySelectorAll(".e-ribbon-shrink"),d=function(t){return t.allowedSizes&s.a.Small&&t.activeSize===s.a.Medium},f=function(e,r,i){for(var c=u.tabs[parseInt(t.toString(),10)].groups[parseInt(n.toString(),10)].collections[parseInt(e.toString(),10)],l=r;l<=i;l++){var a=c.items[parseInt(l.toString(),10)],p=o.querySelector("#"+a.id);a.setProperties({activeSize:s.a.Small},!0),u.setItemSize(p,a)}},h=function(e,r,c){var l=u.tabs[parseInt(t.toString(),10)].groups[parseInt(n.toString(),10)];i||p[parseInt(e.toString(),10)].setAttribute("data-medium-width",o.offsetWidth.toString());for(var a=r;a<=c;a++){var d=l.collections[parseInt(a.toString(),10)],f=o.querySelector("#"+d.items[0].id);d.items[0].setProperties({activeSize:s.a.Small},!0),u.setItemSize(f,d.items[0])}},b=function(t){if(!i){o.querySelector("#"+t).setAttribute("data-medium-width",o.offsetWidth.toString())}};if(l===s.d.Column){if(p.length>0)for(var v=p.length-1;v>=0;v--){var m=parseInt(p[parseInt(v.toString(),10)].getAttribute("data-start"),10),y=parseInt(p[parseInt(v.toString(),10)].getAttribute("data-end"),10);if(d(c.collections[parseInt(m.toString(),10)].items[0])&&d(c.collections[m+1].items[0])&&(y-m==1?h(v,m,y):d(c.collections[parseInt(m.toString(),10)].items[0])&&h(v,m,y),!i&&r.offsetWidth>o.offsetWidth))return!0}for(var v=c.collections.length-1;v>=0;v--){var _=c.collections[parseInt(v.toString(),10)];if(_.items.length>1&&d(_.items[0])&&d(_.items[1])&&(2===_.items.length?(b(_.id),f(v,0,1)):d(_.items[2])&&(b(_.id),f(v,0,2)),!i&&r.offsetWidth>o.offsetWidth))return!0}}else if(1===c.collections.length){if(p.length>0)for(var v=p.length-1;v>=0;v--){var g=p[parseInt(v.toString(),10)],m=parseInt(g.getAttribute("data-start"),10),y=parseInt(g.getAttribute("data-end"),10);if(d(c.collections[0].items[parseInt(m.toString(),10)])&&d(c.collections[0].items[m+1])&&(y-m==1?(b(g.id),f(0,m,y)):d(c.collections[0].items[parseInt(y.toString(),10)])&&(b(g.id),f(0,m,y)),!i&&r.offsetWidth>o.offsetWidth))return!0}}else for(var v=c.collections.length-1;v>=0;v--)for(var _=c.collections[parseInt(v.toString(),10)],S=_.items.length-1;S>=0;S--){var C=_.items[parseInt(S.toString(),10)];if(d(C)&&(b(C.id),f(v,S,S),!i&&r.offsetWidth>o.offsetWidth))return!0}return!1},e.prototype.checkGroupExpanding=function(t,e,n,r){for(var o=!1,i=this.tabs[parseInt(t.toString(),10)],s=0;!o&&s<i.groups.length;s++)o=r?this.checkSmallToMedium(t,i,s,e,n,!1,!0):this.checkMediumToLarge(t,i,s,e,n,!1,!0);return o},e.prototype.checkSmallToMedium=function(t,e,n,r,o,i,u){var c=this,l=e.groups[parseInt(n.toString(),10)],a=l.orientation,p=o.querySelector("#"+l.id),d=p.querySelectorAll(".e-ribbon-shrink"),f=function(e,r,o,i){for(var u=c.tabs[parseInt(t.toString(),10)].groups[parseInt(n.toString(),10)].collections[parseInt(e.toString(),10)],l=r;l<=o;l++){var a=u.items[parseInt(l.toString(),10)],p=i.id===a.id?i:i.querySelector("#"+a.id);a.setProperties({activeSize:s.a.Medium},!0),c.setItemSize(p,a)}};if(a===s.d.Row){if(1!==l.collections.length)for(var h=0;h<l.collections.length;h++)for(var b=l.collections[parseInt(h.toString(),10)],v=0;v<b.items.length;v++){var m=b.items[parseInt(v.toString(),10)];if(function(t){return t.allowedSizes&s.a.Medium&&t.activeSize===s.a.Small}(m)){var y=o.querySelector("#"+m.id),_=y.getAttribute("data-medium-width"),g=_?parseInt(_,10):null;if(g&&(i||r.offsetWidth>g))f(h,v,v,y),i&&!u||y.removeAttribute("data-medium-width");else if(g)return!0}}}else for(var h=0;h<l.collections.length;h++)if(l.collections[parseInt(h.toString(),10)].items.length>1){var b=l.collections[parseInt(h.toString(),10)],y=o.querySelector("#"+b.id),_=y.getAttribute("data-medium-width"),g=_?parseInt(_,10):null;if(g&&(i||r.offsetWidth>g))f(h,0,2===b.items.length?1:2,y),i&&!u||y.removeAttribute("data-medium-width");else if(g)return!0}if(d.length>0)for(var h=0;h<d.length;h++){var S=d[parseInt(h.toString(),10)],_=S.getAttribute("data-medium-width"),g=_?parseInt(_,10):null;if(g&&(i||r.offsetWidth>g)){var C=parseInt(S.getAttribute("data-start"),10),I=parseInt(S.getAttribute("data-end"),10);a===s.d.Row?f(0,C,I,S):function(e,r){for(var i=c.tabs[parseInt(t.toString(),10)].groups[parseInt(n.toString(),10)].collections,u=e;u<=r;u++){var l=o.querySelector("#"+i[parseInt(u.toString(),10)].items[0].id);i[parseInt(u.toString(),10)].items[0].setProperties({activeSize:s.a.Medium},!0),c.setItemSize(l,i[parseInt(u.toString(),10)].items[0])}}(C,I),i&&!u||S.removeAttribute("data-medium-width")}else if(g)return!0}return!1},e.prototype.checkMediumToLarge=function(t,e,o,i,u,c,a){var p=this,d=e.groups[parseInt(o.toString(),10)],f=d.orientation,h=u.querySelector("#"+d.id),b=h.querySelectorAll(".e-ribbon-shrink");if(0===b.length)return!1;for(var v=0;v<b.length;v++){var m=b[parseInt(v.toString(),10)],y=m.getAttribute("data-large-width"),_=y?parseInt(y,10):null;if(_&&(c||i.offsetWidth>_)){var g=parseInt(m.getAttribute("data-start"),10),S=parseInt(m.getAttribute("data-end"),10);f===s.d.Row?function(e,i,u){for(var d=p.tabs[parseInt(t.toString(),10)].groups[parseInt(o.toString(),10)].collections[0].items,f=i;f>=e;f--){var h=d[parseInt(f.toString(),10)],b=u.querySelector("#"+h.id+l._20),v=b.querySelector("#"+h.id);h.setProperties({activeSize:s.a.Large},!0),p.setItemSize(v,h),u.insertAdjacentElement("afterend",b)}c&&!a||n.i(r.remove)(u)}(g,S,m):function(e,i,u){for(var l=p.tabs[parseInt(t.toString(),10)].groups[parseInt(o.toString(),10)].collections,d=i;d>=e;d--){var f=l[parseInt(d.toString(),10)],h=u.querySelector("#"+f.id),b=h.querySelector("#"+f.items[0].id);f.items[0].setProperties({activeSize:s.a.Large},!0),p.setItemSize(b,f.items[0]),u.insertAdjacentElement("afterend",h)}c&&!a||n.i(r.remove)(u)}(g,S,m),c&&!a||m.removeAttribute("data-large-width")}else if(_)return!0}return!1},e.prototype.setItemSize=function(t,e){var o=t.closest("."+l.S);e.type===s.e.Button?this.ribbonButtonModule.updateButtonSize(t,e):e.type===s.e.DropDown?this.ribbonDropDownModule.updateDropDownSize(t,e):e.type===s.e.SplitButton?this.ribbonSplitButtonModule.updateSplitButtonSize(t,e):e.type===s.e.Template&&(n.i(r.remove)(t),this.createTemplateContent(e,o)),o.classList.remove(l.Y,l.V,l.W,l.X),e.activeSize===s.a.Large?o.classList.add(l.V,l.Y):o.classList.add(e.activeSize===s.a.Medium?l.W:l.X)},e.prototype.createOverflowDropdown=function(t,e,r){var o=this.getGroupResizeOrder(!0,t);if(0!==o.length)for(var i=this,s=0;s<o.length&&e.offsetWidth<r.offsetWidth;s++)!function(s){var u=o[parseInt(s.toString(),10)],a=i.tabObj.element.querySelector("#"+u.id);a.setAttribute("data-expanded-width",r.offsetWidth.toString());var p=a.querySelector("#"+u.id+l._20),d=i.createElement("div",{className:l.N+l.f+l.V,id:u.id+l.l+l._20});a.insertBefore(d,p);var f=n.i(c.a)(i.tabs[parseInt(t.toString(),10)].groups,function(t){return t.id===u.id}),h=i.tabs[parseInt(t.toString(),10)];i.checkSmallToMedium(t,h,f,e,r,!0,!1),i.checkMediumToLarge(t,h,f,e,r,!0,!1);var b=i.ribbonDropDownModule.createOverFlowDropDown(u.id,u.header,u.groupIconCss,p,d);i.tabs[parseInt(t.toString(),10)].groups[parseInt(f.toString(),10)].setProperties({isCollapsed:!0},!0);for(var v=0;v<u.collections.length;v++)for(var m=u.collections[parseInt(v.toString(),10)],y=p.querySelector("#"+m.id),_=0;_<m.items.length;_++){var g=m.items[parseInt(_.toString(),10)],S=y.querySelector("#"+g.id+l._20);i.addOverflowEvents(g,S,b)}}(s)},e.prototype.removeOverflowDropdown=function(t,e,r,o){void 0===r&&(r=!1);var i=this.getGroupResizeOrder(!1,o);if(0===i.length)return!1;for(var s=this,u=0;u<i.length;u++){var a=function(u){var a=i[parseInt(u.toString(),10)],p=s.tabObj.element.querySelector("#"+a.id);if(!p)return"break";var d=parseInt(p.getAttribute("data-expanded-width"),10);if(!r&&t.offsetWidth<d)return{value:!0};s.removeDropdown(a.id);var f=n.i(c.a)(s.tabs[parseInt(o.toString(),10)].groups,function(t){return t.id===a.id});s.tabs[parseInt(o.toString(),10)].groups[parseInt(f.toString(),10)].setProperties({isCollapsed:!1},!0);var h=s.tabs[parseInt(o.toString(),10)];s.checkLargeToMedium(o,h,f,t,e,!0),s.checkMediumToSmall(o,h,f,t,e,!0);for(var b=0;b<a.collections.length;b++)for(var v=a.collections[parseInt(b.toString(),10)],m=p.querySelector("#"+v.id),y=0;y<v.items.length;y++){var _=v.items[parseInt(y.toString(),10)],g=m.querySelector("#"+_.id+l._20);s.removeOverflowEvent(_,g)}}(u);if("object"==typeof a)return a.value;if("break"===a)break}return!1},e.prototype.removeDropdown=function(t){var e=this.tabObj.element.querySelector("#"+t+l.l+l.m);if(e){var o=e.parentElement;this.ribbonDropDownModule.removeOverFlowDropDown(e),n.i(r.remove)(o)}},e.prototype.getGroupResizeOrder=function(t,e){var o=this,i=this.tabs[parseInt(e.toString(),10)].groups;return i=i.filter(function(e){return"Classic"!==o.activeLayout||(n.i(r.isUndefined)(e.isCollapsible)||e.isCollapsible)&&(t&&n.i(r.isUndefined)(e.isCollapsed)||!n.i(r.isUndefined)(e.isCollapsed)&&t!==e.isCollapsed)}),i.sort(function(t,e){return t.priority-e.priority}),t?i.reverse():i},e.prototype.destroyScroll=function(){this.scrollModule&&(this.scrollModule.destroy(),this.scrollModule=null)},e.prototype.clearOverflowDropDown=function(t){var e=this.tabObj.element.querySelector("#"+this.tabs[parseInt(t.toString(),10)].id+l._19);if(e){var n=e.closest("."+l.E);"Simplified"===this.activeLayout?this.removeSimplfiedOverflow(e,n,t,!0):this.removeOverflowDropdown(e,n,!0,t)}},e.prototype.ribbonTabSelecting=function(t){var e=this,o=t.selectingItem.getAttribute("data-id"),i=t.previousItem.getAttribute("data-id"),s=n.i(c.a)(this.tabs,function(t){return t.id===o}),u=n.i(c.a)(this.tabs,function(t){return t.id===i});s=-1===s?this.selectedTab:s;var a={cancel:t.cancel,isInteracted:t.isInteracted,previousIndex:u,selectedIndex:s};this.trigger("tabSelecting",a,function(t){if(!t.cancel){e.destroyScroll(),e.isAddRemove||-1===u||e.clearOverflowDropDown(u);var o=e.tabObj.items[parseInt(s.toString(),10)].content;if(!o.querySelector("."+l.G)&&0!==e.tabs[parseInt(s.toString(),10)].groups.length){var i=e.createGroups(e.tabs[parseInt(s.toString(),10)].groups,s);n.i(r.append)(i,o)}}})},e.prototype.createTabItems=function(t){for(var e=this,n=[],r=0;r<t.length;r++){var o=t[parseInt(r.toString(),10)],i=this.createElement("span",{innerHTML:o.header,id:o.id+l._17});i.onclick=function(){e.minimize(!1)},i.ondblclick=function(){e.minimize(!0)};var s={header:{text:i},id:o.id,cssClass:o.cssClass},u=this.createElement("div",{className:s.cssClass,id:o.id+l._19});u.classList.add(l.w),s.content=u,n.push(s)}return n},e.prototype.renderInitialTab=function(t){var e=this.createGroups(this.tabs[parseInt(t.toString(),10)].groups,t),o=this.tabObj.items[parseInt(t.toString(),10)].content;n.i(r.append)(e,o),"Simplified"===this.activeLayout&&this.element.classList.add(l._9);var i=this.tabObj.element.querySelector("#"+this.tabs[this.selectedTab].id+l._19);this.checkOverflow(this.selectedTab,i)},e.prototype.addOverflowButton=function(t){var e=this.createElement("button",{id:t}),o=this.createElement("div",{className:l.C}),i=new a.DropDownButton({iconCss:l.p,cssClass:l._0+l.f+l.n,target:o,locale:this.locale,enableRtl:this.enableRtl,enablePersistence:this.enablePersistence,beforeClose:function(t){(t.event?n.i(r.closest)(t.event.target,"."+l.k):null)&&(t.cancel=!0)}},e);return this.element.classList.add(l.D),n.i(c.l)(o,this),i},e.prototype.removeOverflowButton=function(t){if(t){var e=t.element;n.i(c.m)(t.target),t.destroy(),e.remove()}},e.prototype.removeOverflowEvent=function(t,e){switch(t.type){case"Button":this.ribbonButtonModule.removeOverFlowEvents(t,e);break;case"DropDown":this.ribbonDropDownModule.removeOverFlowEvents(t,e);break;case"SplitButton":this.ribbonSplitButtonModule.removeOverFlowEvents(t,e);break;case"CheckBox":this.ribbonCheckBoxModule.removeOverFlowEvents(t,e);break;case"ColorPicker":this.ribbonColorPickerModule.removeOverFlowEvents(t,e);break;case"ComboBox":this.ribbonComboBoxModule.removeOverFlowEvents(t,e)}},e.prototype.createGroupContainer=function(t,e){var n=this.createElement("div",{className:l.J,id:t+l._20}),r=this.createElement("div",{className:l.M,id:t+l._17,innerHTML:e});return n.append(r),n},e.prototype.addExpandCollapse=function(){var t=this;this.collapseButton=this.createElement("span",{className:l.x+l.f+l.o,id:this.tabObj.element.id+l._14,attrs:{tabindex:"0",type:"button","aria-label":"Layout Switcher",role:"button"}}),this.collapseButton.onclick=function(){t.toggleLayout()},this.collapseButton.onkeydown=function(e){"Enter"===e.key&&t.toggleLayout()},this.element.classList.add(l.z),"Simplified"===this.activeLayout&&this.collapseButton.classList.add(l.y),this.tabObj.element.appendChild(this.collapseButton)},e.prototype.removeExpandCollapse=function(){var t=this,e=n.i(c.a)(this.tooltipData,function(e){return e.id===t.collapseButton.id});-1!==e&&this.tooltipData.splice(e,1),this.element.classList.remove(l.z),n.i(r.remove)(this.tabObj.element.querySelector("."+l.x)),this.collapseButton=null},e.prototype.reRenderTabs=function(){this.destroyScroll(),this.destroyTabItems(this.tabsInternal),this.checkID(this.tabs,"tab",this.element.id),this.tabsInternal=this.tabs.slice(),this.validateItemSize();var t=this.createTabItems(this.tabs);this.selectedTab>=this.tabs.length&&(this.selectedTab=this.tabs.length-1),this.tabObj.setProperties({items:t,selectedItem:this.selectedTab}),""===this.tabObj.items[this.selectedTab].content.innerHTML&&this.renderInitialTab(this.selectedTab)},e.prototype.switchLayout=function(){this.destroyScroll(),this.collapseButton.classList.toggle(l.y,"Simplified"===this.activeLayout),this.element.classList.toggle(l._9,"Simplified"===this.activeLayout);for(var t=0;t<=this.tabs.length-1;t++){var e=t;if(""!==this.tabObj.items[parseInt(e.toString(),10)].content.innerHTML){var o=this.tabs[parseInt(e.toString(),10)],i=this.tabs[parseInt(e.toString(),10)].groups,u=this.tabObj.element.querySelector("#"+this.tabs[parseInt(e.toString(),10)].id+l._19),c=u.closest("."+l.E);if("Simplified"===this.activeLayout)for(var p=0;p<i.length;p++){var d=i[parseInt(p.toString(),10)];d.isCollapsed?(d.setProperties({isCollapsed:!1},!0),this.removeDropdown(d.id)):(this.checkSmallToMedium(e,o,p,c,u,!0,!1),this.checkMediumToLarge(e,o,p,c,u,!0,!1));for(var f=c.querySelector("#"+d.id),h=f.querySelector("#"+d.id+l._20),b=h.querySelectorAll(".e-ribbon-shrink"),v=0;v<b.length;v++)b[parseInt(v.toString(),10)].remove();var m=h.querySelector("#"+d.id+l._17);m.remove();var y=h.querySelector("#"+d.id+l._19);y.classList.replace(l.T,l.U),y.classList.remove(l.Y);for(var _=0;_<d.collections.length;_++){var g=d.collections[parseInt(_.toString(),10)],S=h.querySelector("#"+g.id);S.classList.replace(l.T,l.U);for(var C=0;C<g.items.length;C++){for(var I=g.items,O=g.items[parseInt(C.toString(),10)],w=!0;w&&O.displayOptions===s.b.None;){C++;var P=h.querySelector("#"+O.id+l._20),B=P.querySelector("#"+O.id);this.destroyFunction(O,B),P.remove(),C<I.length?O=I[parseInt(C.toString(),10)]:w=!1}if(!w)break;var D=h.querySelector("#"+O.id+l._20),T=D.querySelector("#"+O.id),E=O.allowedSizes===s.a.Large||O.allowedSizes&s.a.Medium?s.a.Medium:s.a.Small;O.displayOptions===s.b.Overflow&&(this.createOverflowPopup(O,e,d.enableGroupOverflow,d.id,d.header,D,h),E=s.a.Medium,O.type!==s.e.DropDown&&O.type!==s.e.SplitButton||this.updatePopupItems(O,D,d.enableGroupOverflow,!0)),O.setProperties({activeSize:E},!0),this.setItemSize(T,O)}}d.enableGroupOverflow||f.querySelector("."+l.S)||f.classList.add("e-ribbon-emptyCollection")}else{this.element.classList.remove(l.D);for(var R=0;R<i.length;R++){var d=i[parseInt(R.toString(),10)],L=i[parseInt(R.toString(),10)].orientation,h=c.querySelector("#"+d.id+l._20),y=h.querySelector("#"+d.id+l._19),m=this.createElement("div",{className:l.L,id:d.id+l._17,innerHTML:d.header});h.appendChild(m),"Row"===L&&y.classList.replace(l.U,l.T),y.classList.add(l.Y);for(var _=0;_<d.collections.length;_++){var M=void 0,k=void 0;if(d.enableGroupOverflow){var x=h.querySelector("#"+d.id+l._16);x&&(M=n.i(r.getInstance)(x,a.DropDownButton),k=M.target)}else(M=this.overflowDDB)&&(k=this.overflowDDB.target);var g=d.collections[parseInt(_.toString(),10)],S=h.querySelector("#"+g.id);"Column"===L&&S.classList.replace(l.U,l.T);for(var C=0;C<g.items.length;C++){var O=g.items[parseInt(C.toString(),10)];if(O.displayOptions===s.b.None){var D=this.createItems([O],L,d.id,d.header,d.enableGroupOverflow,e)[0];S.append(D)}else if(O.displayOptions===s.b.Overflow){var D=k.querySelector("#"+O.id+l._20);O.type!==s.e.DropDown&&O.type!==s.e.SplitButton||this.updatePopupItems(O,D,d.enableGroupOverflow,!1),S.append(D),this.removeOverflowEvent(O,D)}else if(O.displayOptions===s.b.Simplified){var D=h.querySelector("#"+O.id+l._20);S.append(D)}else{var D=h.querySelector("#"+O.id+l._20);D||(D=k.querySelector("#"+O.id+l._20),O.type!==s.e.DropDown&&O.type!==s.e.SplitButton||this.updatePopupItems(O,D,d.enableGroupOverflow,!1),this.removeOverflowEvent(O,D)),S.append(D)}var T=h.querySelector("#"+O.id),q=O.allowedSizes&s.a.Large?s.a.Large:O.allowedSizes&s.a.Medium?s.a.Medium:s.a.Small;O.setProperties({activeSize:q},!0),this.setItemSize(T,O)}d.enableGroupOverflow&&M&&0===k.childElementCount&&this.removeOverflowButton(M)}}}this.selectedTab===e&&this.checkOverflow(e,u)}}"Classic"===this.activeLayout&&(this.removeOverflowButton(this.overflowDDB),this.overflowDDB=null)},e.prototype.launcherIconClicked=function(t){var e={groupId:t};this.trigger("launcherIconClick",e)},e.prototype.createGroups=function(t,e){for(var o=this,i=[],s=this,u=0;u<t.length;u++)!function(u){var c=t[parseInt(u.toString(),10)],a=c.orientation,p=s.createElement("div",{className:c.cssClass,id:c.id});p.classList.add(l.G),i.push(p);var d=s.createElement("div",{className:c.cssClass,id:c.id+l._20});d.classList.add(l.H),p.appendChild(d);var f=s.createElement("div",{className:"Simplified"===s.activeLayout?l.K:l.K+l.f+l.Y,id:c.id+l._19});if(f.classList.add("Column"===a||"Simplified"===s.activeLayout?l.U:l.T),d.appendChild(f),"Classic"===s.activeLayout){var h=s.createElement("div",{className:l.L,id:c.id+l._17,innerHTML:c.header});d.appendChild(h)}if(c.showLauncherIcon){var b=s.createElement("div",{className:l.P+" "+(s.launcherIconCss?s.launcherIconCss:l.Q),id:c.id+l._18,attrs:{tabindex:"0",type:"button","aria-label":"Launcher Icon",role:"button"}});d.appendChild(b),d.classList.add(l.O),r.EventHandler.add(b,"click",s.launcherIconClicked.bind(s,c.id),s),r.EventHandler.add(b,"keydown",function(t){"Enter"===t.key&&o.launcherIconClicked(c.id)},s)}var v=s.createCollection(c.collections,c.orientation,c.id,c.header,c.enableGroupOverflow,e,d);n.i(r.append)(v,f),"Simplified"!==s.activeLayout||c.enableGroupOverflow||p.querySelector("."+l.S)||p.classList.add("e-ribbon-emptyCollection")}(u);return i},e.prototype.validateItemSize=function(){for(var t=0;t<this.tabs.length;t++)for(var e=this.tabs[parseInt(t.toString(),10)].groups,n=0;n<e.length;n++)for(var r=e[parseInt(n.toString(),10)].collections,o=e[parseInt(n.toString(),10)].orientation,i=0;i<r.length;i++)for(var u=r[parseInt(i.toString(),10)].items,c=0;c<u.length;c++){var l=u[parseInt(c.toString(),10)];if(l.allowedSizes&&0!==l.allowedSizes||l.setProperties({allowedSizes:s.a.Small|s.a.Medium|s.a.Large},!0),"ColorPicker"===l.type&&l.allowedSizes!==s.a.Small)l.setProperties({allowedSizes:s.a.Small},!0);else if("ComboBox"!==l.type&&"CheckBox"!==l.type||l.allowedSizes===s.a.Medium){if(("Column"===o&&u.length>1||"Row"===o&&r.length>1)&&l.allowedSizes&s.a.Large){var a=l.allowedSizes&(s.a.Small|s.a.Medium);a=a||s.a.Medium,l.setProperties({allowedSizes:a},!0)}}else l.setProperties({allowedSizes:s.a.Medium},!0);var p=l.allowedSizes&s.a.Large?s.a.Large:l.allowedSizes&s.a.Medium?s.a.Medium:s.a.Small;l.setProperties({activeSize:p},!0)}},e.prototype.createCollection=function(t,e,o,i,s,u,c){for(var a=[],p=0;p<t.length;p++){var d=t[parseInt(p.toString(),10)],f=this.createElement("div",{className:d.cssClass,id:d.id});f.classList.add(l.R),f.classList.add("Column"!==e||"Simplified"===this.activeLayout?l.U:l.T),a.push(f);var h=this.createItems(d.items,e,o,i,s,u,c);if(n.i(r.append)(h,f),"Row"===e&&2===p)break}return a},e.prototype.createItems=function(t,e,r,o,i,u,a){for(var p,d=[],f=0;f<t.length;f++){for(var h=t[parseInt(f.toString(),10)],b=!0;"Simplified"===this.activeLayout&&b&&h.displayOptions===s.b.None;)f++,f<t.length?h=t[parseInt(f.toString(),10)]:b=!1;if(!b)break;var v=this.createElement("div",{className:h.cssClass,id:h.id+l._20});(p=v.classList).add.apply(p,[l.S].concat(h.disabled?[l.q]:[])),h.ribbonTooltipSettings&&n.i(c.j)(h.ribbonTooltipSettings)&&(v.classList.add(l.c),this.tooltipData.push({id:v.id,data:h.ribbonTooltipSettings}));var m=h.activeSize;switch("Simplified"===this.activeLayout&&(m=h.allowedSizes===s.a.Large||h.allowedSizes&s.a.Medium||h.displayOptions===s.b.Overflow?s.a.Medium:s.a.Small,h.setProperties({activeSize:m},!0)),m&s.a.Large?v.classList.add(l.V,l.Y):v.classList.add(m&s.a.Medium?l.W:l.X),h.type){case"Button":this.ribbonButtonModule.createButton(h,v);break;case"DropDown":this.ribbonDropDownModule.createDropDown(h,v);break;case"SplitButton":this.ribbonSplitButtonModule.createSplitButton(h,v);break;case"CheckBox":this.ribbonCheckBoxModule.createCheckBox(h,v);break;case"ColorPicker":this.ribbonColorPickerModule.createColorPicker(h,v);break;case"ComboBox":this.ribbonComboBoxModule.createComboBox(h,v);break;case"Template":this.createTemplateContent(h,v)}if("Simplified"===this.activeLayout&&h.displayOptions===s.b.Overflow?(this.createOverflowPopup(h,u,i,r,o,v,a),h.type!==s.e.DropDown&&h.type!==s.e.SplitButton||this.updatePopupItems(h,v,i,!0)):d.push(v),"Column"===e&&2===f)break}return d},e.prototype.createHelpPaneTemplate=function(){if(this.helpPaneTemplate){this.clearTemplate(["helpPaneTemplate"]),this.ribbonTempEle=this.createElement("div",{className:l._2,id:this.element.id+l._21});var t=n.i(c.b)(this.helpPaneTemplate);n.i(r.append)(t({},this,"helpPaneTemplate","helpPaneTemplate",this.isStringTemplate),this.ribbonTempEle);var e=this.tabObj.element;e.querySelector(".e-toolbar").after(this.ribbonTempEle),e.style.setProperty(l._22,this.ribbonTempEle.offsetWidth+"px"),this.renderReactTemplates()}},e.prototype.createTemplateContent=function(t,e){var n=this.createElement("div",{className:t.cssClass?l._1+l.f+t.cssClass:l._1,id:t.id});t.disabled&&(n.classList.add(l.q),n.setAttribute("disabled","")),e.appendChild(n),this.renderItemTemplate(t,n)},e.prototype.renderItemTemplate=function(t,e){var o="ribbon"+t.id+"itemTemplate";this.clearTemplate([o]);var i=n.i(c.b)(t.itemTemplate);n.i(r.append)(i({activeSize:s.a[t.activeSize]},this,o,t.id+"itemTemplate",this.isStringTemplate),e),this.renderReactTemplates()},e.prototype.checkID=function(t,e,n){for(var r="tab"===e?l._10:"group"===e?l._11:"collection"===e?l._12:l._13,o=0;o<t.length;o++){var i=t[parseInt(o.toString(),10)];switch(i.id||i.setProperties({id:n+r+this.idIndex++},!0),e){case"tab":i.setProperties({groups:this.checkID(i.groups,"group",i.id)},!0);break;case"group":i.setProperties({collections:this.checkID(i.collections,"collection",i.id)},!0);break;case"collection":i.setProperties({items:this.checkID(i.items,"item",i.id)},!0)}}return t},e.prototype.updateCommonProperty=function(t){this.tabObj.setProperties(t),this.ribbonFileMenuModule&&this.ribbonFileMenuModule.setCommonProperties(t);for(var e=0;e<this.tabs.length;e++)for(var o=this.tabs[parseInt(e.toString(),10)],i=this.tabObj.items[parseInt(e.toString(),10)].content,u=0,p=o.groups;u<p.length;u++){var d=p[u],f=void 0,h=void 0;this.activeLayout===s.c.Classic?f=d.isCollapsed?i.querySelector("#"+d.id+l.l+l.m):null:(f=d.enableGroupOverflow?i.querySelector("#"+d.id+l._16):null,(h=f?n.i(r.getComponent)(f,a.DropDownButton):this.overflowDDB)&&(n.i(c.n)(h.target,t),h.setProperties(t)));for(var b=0,v=d.collections;b<v.length;b++)for(var m=v[b],y=0,_=m.items;y<_.length;y++){var g=_[y],S=null;if(this.activeLayout===s.c.Classic?S=f?this.ribbonDropDownModule.getDDBItemElement(f,g.id):i.querySelector("#"+g.id):(S=g.displayOptions&s.b.Simplified?i.querySelector("#"+g.id):null)||g.displayOptions===s.b.None||(S=h.target.querySelector("#"+g.id),"DropDown"===g.type&&this.updatePopupItems(g,h.target,d.enableGroupOverflow,!0)),S){var C=this.getItemModuleName(g);"template"!==C?n.i(c.g)(S,C,t):n.i(r.isNullOrUndefined)(t.enableRtl)||S.classList.toggle(l.r,t.enableRtl)}}}},e.prototype.removeLauncherIcon=function(t,e,o){var i=t+l._20,s=e?this.ribbonDropDownModule.getDDBItemElement(e,i):o.querySelector("#"+i);if(s){s.classList.remove(l.O);var u=s.querySelector("#"+t+l._18);n.i(r.remove)(u)}},e.prototype.destroyTabItems=function(t){for(var e=0;e<t.length;e++)for(var o=t[parseInt(e.toString(),10)],i=this.tabObj.items[parseInt(e.toString(),10)].content,u=0,c=o.groups;u<c.length;u++){var p=c[u],d=void 0,f=void 0;this.activeLayout===s.c.Classic?(d=p.isCollapsed?i.querySelector("#"+p.id+l.l+l.m):null,p.showLauncherIcon&&this.removeLauncherIcon(p.id,d,i)):(d=p.enableGroupOverflow?i.querySelector("#"+p.id+l._16):null,f=d?n.i(r.getComponent)(d,a.DropDownButton):this.overflowDDB);for(var h=0,b=p.collections;h<b.length;h++)for(var v=b[h],m=0,y=v.items;m<y.length;m++){var _=y[m],g=void 0;this.activeLayout===s.c.Classic?g=d?this.ribbonDropDownModule.getDDBItemElement(d,_.id):i.querySelector("#"+_.id):(g=_.displayOptions&s.b.Simplified?i.querySelector("#"+_.id):null)||_.displayOptions===s.b.None||(g=f?f.target.querySelector("#"+_.id):null),g&&this.destroyFunction(_,g)}this.activeLayout===s.c.Classic&&d?this.ribbonDropDownModule.removeOverFlowDropDown(d):this.activeLayout===s.c.Simplified&&p.enableGroupOverflow&&d&&this.removeOverflowButton(f)}this.overflowDDB&&(this.removeOverflowButton(this.overflowDDB),this.overflowDDB=null)},e.prototype.destroyFunction=function(t,e){var r=this.getItemModuleName(t);if("colorpicker"===r?this.ribbonColorPickerModule.unwireColorPickerEvents(e):"template"!==r&&n.i(c.f)(e,r),t.ribbonTooltipSettings){var o=n.i(c.a)(this.tooltipData,function(e){return e.id===t.id+l._20});-1!==o&&this.tooltipData.splice(o,1)}},e.prototype.getItemModuleName=function(t){switch(t.type){case"Button":return"btn";case"DropDown":return"dropdown-btn";case"SplitButton":return"split-btn";case"CheckBox":return"checkbox";case"ColorPicker":return"colorpicker";case"ComboBox":return"combobox";default:return"template"}},e.prototype.clearOverflowResize=function(){this.destroyScroll(),this.clearOverflowDropDown(this.selectedTab);for(var t=this.tabs[this.selectedTab],e=this.tabObj.element.querySelector("#"+this.tabs[this.selectedTab].id+l._19),n=e.closest("."+l.E),r=0;r<t.groups.length;r++)this.checkSmallToMedium(this.selectedTab,t,r,n,e,!0,!0),this.checkMediumToLarge(this.selectedTab,t,r,n,e,!0,!0)},e.prototype.refreshLayout=function(){this.resizeHandler()},e.prototype.selectTab=function(t){var e=n.i(c.a)(this.tabs,function(e){return e.id===t});this.setProperties({selectedTab:e})},e.prototype.addTab=function(t,e,r){var o=e?n.i(c.a)(this.tabs,function(t){return t.id===e}):-1;o=-1===o?this.tabs.length:o+(r?1:0),this.tabsInternal=this.tabs.slice(),this.tabsInternal.splice(o,0,t),this.setProperties({tabs:this.tabsInternal},!0),this.checkID([this.tabs[parseInt(o.toString(),10)]],"tab",this.element.id),this.tabsInternal=this.tabs.slice(),this.validateItemSize();var i=this.createTabItems([t]);this.tabObj.addTab(i,o)},e.prototype.removeTab=function(t){var e=n.i(c.a)(this.tabs,function(e){return e.id===t});if(-1!==e){var r=this.tabObj.items[parseInt(e.toString(),10)].content,o=this.tabs[parseInt(e.toString(),10)].groups;if(o&&""!==r.innerHTML)for(var i=0,s=o;i<s.length;i++){for(var u=s[i],a=u.isCollapsed?r.querySelector("#"+u.id+l.l+l.m):null,p=0,d=u.collections;p<d.length;p++)for(var f=d[p],h=0,b=f.items;h<b.length;h++){var v=b[h],m=a?this.ribbonDropDownModule.getDDBItemElement(a,v.id):r.querySelector("#"+v.id);m&&this.destroyFunction(v,m)}a&&this.ribbonDropDownModule.removeOverFlowDropDown(a)}e===this.selectedTab&&(this.isAddRemove=!0),this.tabsInternal=this.tabs.slice(),this.tabsInternal.splice(e,1),this.setProperties({tabs:this.tabsInternal},!0),this.tabObj.removeTab(e)}},e.prototype.addGroup=function(t,e,r,o){var i=n.i(c.a)(this.tabs,function(e){return e.id===t});if(-1!==i){this.selectedTab===i&&this.clearOverflowResize();var s=this.tabs[parseInt(i.toString(),10)],u=s.groups.slice(),l=r?n.i(c.a)(u,function(t){return t.id===r}):-1;l=-1===l?u.length:l+(o?1:0),u.splice(l,0,e),s.setProperties({groups:u},!0),this.checkID([s.groups[parseInt(l.toString(),10)]],"group",t),this.validateItemSize();var a=this.tabObj.items[parseInt(i.toString(),10)].content;if(""!==a.innerHTML){var p=this.createGroups([s.groups[parseInt(l.toString(),10)]],i)[0],d=r?a.querySelector("#"+r):null;d?d.insertAdjacentElement(o?"afterend":"beforebegin",p):a.append(p)}this.selectedTab===i&&this.refreshLayout()}},e.prototype.removeGroup=function(t){var e=n.i(c.e)(this.tabs,t);if(e){this.selectedTab===e.tabIndex&&this.clearOverflowResize();var o=this.tabObj.items[e.tabIndex].content;if(""!==o.innerHTML){var i=void 0,u=void 0;e.group.showLauncherIcon&&this.removeLauncherIcon(e.group.id,null,o),this.activeLayout===s.c.Simplified&&(i=e.group.enableGroupOverflow?o.querySelector("#"+e.group.id+l._16):null,u=i?n.i(r.getComponent)(i,a.DropDownButton):this.overflowDDB);for(var p=0,d=e.group.collections;p<d.length;p++)for(var f=d[p],h=0,b=f.items;h<b.length;h++){var v=b[h];this.removeItemElement(o,v,u)}if(this.activeLayout===s.c.Simplified)if(e.group.enableGroupOverflow)0===u.target.childElementCount&&this.removeOverflowButton(u);else{var m=u.target.querySelector("#"+e.group.id+l._20);m&&1===m.childElementCount&&m.remove();var y=u.target.querySelector("#"+this.tabs[parseInt(e.tabIndex.toString(),10)].id+l.l);y&&0===y.childElementCount&&y.remove()}var _=o.querySelector("#"+t);_&&_.remove()}var g=this.tabs[e.tabIndex].groups.slice();g.splice(e.groupIndex,1),this.tabs[e.tabIndex].setProperties({groups:g},!0),this.selectedTab===e.tabIndex&&this.refreshLayout()}},e.prototype.addCollection=function(t,e,r,o){var i=n.i(c.e)(this.tabs,t);if(i&&("Row"!==i.group.orientation||3!==i.group.collections.length)){this.selectedTab===i.tabIndex&&this.clearOverflowResize();var s=i.group.collections.slice(),u=r?n.i(c.a)(s,function(t){return t.id===r}):-1;u=-1===u?s.length:u+(o?1:0),s.splice(u,0,e),i.group.setProperties({collections:s},!0),this.checkID([i.group.collections[parseInt(u.toString(),10)]],"collection",t),this.validateItemSize();var a=this.tabObj.items[i.tabIndex].content;if(""!==a.innerHTML){var p=i.group.collections[parseInt(u.toString(),10)],d=this.createCollection([p],i.group.orientation,i.group.id,i.group.header,i.group.enableGroupOverflow,i.tabIndex)[0];i.group.isCollapsed&&(a=this.ribbonDropDownModule.getOverflowDropDownPopup(i,a));var f=r?a.querySelector("#"+r):null;f?f.insertAdjacentElement(o?"afterend":"beforebegin",d):a.querySelector("#"+t+l._19).append(d)}this.selectedTab===i.tabIndex&&this.refreshLayout()}},e.prototype.removeCollection=function(t){var e=n.i(c.d)(this.tabs,t);if(e){this.selectedTab===e.tabIndex&&this.clearOverflowResize();var o=this.tabObj.items[e.tabIndex].content;if(""!==o.innerHTML){var i=void 0,u=void 0;this.activeLayout===s.c.Simplified&&(i=e.group.enableGroupOverflow?o.querySelector("#"+e.group.id+l._16):null,u=i?n.i(r.getComponent)(i,a.DropDownButton):this.overflowDDB);for(var p=0,d=e.collection.items;p<d.length;p++){var f=d[p];this.removeItemElement(o,f,u)}var h=o.querySelector("#"+t);h&&h.remove()}var b=e.group,v=b.collections.slice();v.splice(e.collectionIndex,1),b.setProperties({collections:v},!0),this.selectedTab===e.tabIndex&&this.refreshLayout()}},e.prototype.addItem=function(t,e,r,o){var i=n.i(c.d)(this.tabs,t);if(i&&("Column"!==i.group.orientation||3!==i.collection.items.length)){this.selectedTab===i.tabIndex&&this.clearOverflowResize();var s=i.collection.items.slice(),u=r?n.i(c.a)(s,function(t){return t.id===r}):-1;u=-1===u?s.length:u+(o?1:0),s.splice(u,0,e),i.collection.setProperties({items:s},!0),this.checkID([i.collection.items[parseInt(u.toString(),10)]],"item",t),this.validateItemSize();var a=this.tabObj.items[i.tabIndex].content,p=a.querySelector("#"+i.group.id+l._20);if(""!==a.innerHTML){var d=i.collection.items[parseInt(u.toString(),10)],f=this.createItems([d],i.group.orientation,i.group.id,i.group.header,i.group.enableGroupOverflow,i.tabIndex,p)[0];i.group.isCollapsed&&(a=this.ribbonDropDownModule.getOverflowDropDownPopup(i,a));var h=r?a.querySelector("#"+r):null;h?h.closest("."+l.S).insertAdjacentElement(o?"afterend":"beforebegin",f):f&&a.querySelector("#"+t).append(f)}this.selectedTab===i.tabIndex&&this.refreshLayout()}},e.prototype.removeItem=function(t){var e=n.i(c.c)(this.tabs,t);if(e){this.selectedTab===e.tabIndex&&this.clearOverflowResize();var o=this.tabObj.items[e.tabIndex].content;if(""!==o.innerHTML){var i=void 0,u=void 0;this.activeLayout===s.c.Simplified&&(i=e.group.enableGroupOverflow?o.querySelector("#"+e.group.id+l._16):null,u=i?n.i(r.getComponent)(i,a.DropDownButton):this.overflowDDB);var p=e.item;this.removeItemElement(o,p,u)}var d=e.collection,f=d.items;f.splice(e.itemIndex,1),d.setProperties({items:f},!0),this.selectedTab===e.tabIndex&&this.refreshLayout()}},e.prototype.removeItemElement=function(t,e,n){var r=null;this.activeLayout===s.c.Classic?r=t.querySelector("#"+e.id):(r=e.displayOptions&s.b.Simplified?t.querySelector("#"+e.id):null)||e.displayOptions===s.b.None||(r=n.target.querySelector("#"+e.id)),r&&(this.destroyFunction(e,r),r.closest("#"+e.id+l._20).remove())},e.prototype.enableItem=function(t){this.enableDisableItem(t,!1)},e.prototype.disableItem=function(t){this.enableDisableItem(t,!0)},e.prototype.enableDisableItem=function(t,e){var o=n.i(c.c)(this.tabs,t);if(o){o.item.setProperties({disabled:e},!0);var i=n.i(c.i)(this,t,o);if(i){n.i(r.closest)(i,".e-ribbon-item").classList.toggle(l.q,o.item.disabled);var s=this.getItemModuleName(o.item);"template"!==s?n.i(c.h)(i,s,e):(i.classList.toggle(l.q,e),i.toggleAttribute("disabled",e))}}},e.prototype.unwireEvents=function(){r.EventHandler.remove(window,"resize",this.resizeHandler)},e.prototype.destroy=function(){n.i(c.m)(this.element),this.destroyTabItems(this.tabs),this.removeExpandCollapse(),this.collapseButton=void 0,this.scrollModule&&this.scrollModule.destroy(),this.ribbonTempEle&&(n.i(r.remove)(this.ribbonTempEle),this.ribbonTempEle=null),t.prototype.destroy.call(this),this.tabObj.destroy(),this.tabObj=void 0,n.i(r.remove)(this.element.querySelector("#"+this.element.id+l._10)),this.element.style.removeProperty(l.b),this.element.style.removeProperty(l._22),this.element.style.removeProperty("width"),this.cssClass&&n.i(r.removeClass)([this.element],this.cssClass.split(l.f)),this.element.classList.remove(l.r,l._9,l.D,l.z,l.F,"e-rbn"),this.unwireEvents()},e.prototype.onPropertyChanged=function(t,e){for(var o,i,s=0,u=Object.keys(t);s<u.length;s++){switch(u[s]){case"activeLayout":this.switchLayout();break;case"cssClass":e.cssClass&&(o=this.element.classList).remove.apply(o,e.cssClass.split(l.f)),t.cssClass&&(i=this.element.classList).add.apply(i,t.cssClass.split(l.f));break;case"isMinimized":this.element.classList.toggle(l.F,this.isMinimized),this.tabObj.element.querySelector(".e-content").style.display=this.isMinimized?"none":"block";break;case"locale":this.updateCommonProperty({locale:this.locale});break;case"enablePersistence":this.updateCommonProperty({enablePersistence:this.enablePersistence});break;case"enableRtl":this.element.classList.toggle(l.r,this.enableRtl),this.updateCommonProperty({enableRtl:t.enableRtl}),this.scrollModule&&this.scrollModule.setProperties({enableRtl:t.enableRtl});break;case"launcherIconCss":for(var c=0;c<this.tabs.length;c++){var p=this.tabObj.items[parseInt(c.toString(),10)].content,d=this.tabs[parseInt(c.toString(),10)];if(p.querySelector("."+l.G))for(var f=0,h=d.groups;f<h.length;f++){var b=h[f];if(b.showLauncherIcon){var v=l.P+" "+(this.launcherIconCss||l.Q);if(b.isCollapsed){var m=p.querySelector("."+l.n),y=n.i(r.getComponent)(m,a.DropDownButton),_=y.target.querySelector("#"+b.id+l._18);_.className=v}else{var m=p.querySelector("#"+b.id+l._18);m.className=v}}}}break;case"selectedTab":this.tabObj.setProperties({selectedItem:t.selectedTab});break;case"tabAnimation":this.tabObj.setProperties({animation:t.tabAnimation});break;case"tabs":this.reRenderTabs();break;case"width":this.element.style.width=n.i(r.formatUnit)(t.width),this.refreshLayout();break;case"fileMenu":this.ribbonFileMenuModule&&this.ribbonFileMenuModule.updateFileMenu(this.fileMenu);break;case"helpPaneTemplate":this.ribbonTempEle&&n.i(r.remove)(this.ribbonTempEle),this.helpPaneTemplate&&this.createHelpPaneTemplate()}}};var f;return d([n.i(r.Property)("Classic")],e.prototype,"activeLayout",void 0),d([n.i(r.Property)("")],e.prototype,"cssClass",void 0),d([n.i(r.Complex)({},i.k)],e.prototype,"fileMenu",void 0),d([n.i(r.Property)("")],e.prototype,"launcherIconCss",void 0),d([n.i(r.Property)(!1)],e.prototype,"isMinimized",void 0),d([n.i(r.Property)("en-us")],e.prototype,"locale",void 0),d([n.i(r.Property)(0)],e.prototype,"selectedTab",void 0),d([n.i(r.Complex)({},o.TabAnimationSettings)],e.prototype,"tabAnimation",void 0),d([n.i(r.Collection)([],i.a)],e.prototype,"tabs",void 0),d([n.i(r.Property)("100%")],e.prototype,"width",void 0),d([n.i(r.Property)("")],e.prototype,"helpPaneTemplate",void 0),d([n.i(r.Event)()],e.prototype,"tabSelecting",void 0),d([n.i(r.Event)()],e.prototype,"tabSelected",void 0),d([n.i(r.Event)()],e.prototype,"ribbonExpanding",void 0),d([n.i(r.Event)()],e.prototype,"ribbonCollapsing",void 0),d([n.i(r.Event)()],e.prototype,"launcherIconClick",void 0),e=f=d([r.NotifyPropertyChanges],e)}(r.Component)},function(t,e,n){"use strict";var r=n(2);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b}),n.d(e,"c",function(){return r.c}),n.d(e,"d",function(){return r.d}),n.d(e,"e",function(){return r.e}),n.d(e,"f",function(){return r.f}),n.d(e,"g",function(){return r.g}),n.d(e,"h",function(){return r.h}),n.d(e,"i",function(){return r.i}),n.d(e,"j",function(){return r.j}),n.d(e,"k",function(){return r.k}),n.d(e,"l",function(){return r.l}),n.d(e,"m",function(){return r.m}),n.d(e,"n",function(){return r.n}),n.d(e,"o",function(){return r.o}),n.d(e,"p",function(){return r.p}),n.d(e,"q",function(){return r.q}),n.d(e,"r",function(){return r.r}),n.d(e,"s",function(){return r.s}),n.d(e,"t",function(){return r.t}),n.d(e,"u",function(){return r.u}),n.d(e,"v",function(){return r.v}),n.d(e,"w",function(){return r.w}),n.d(e,"x",function(){return r.x}),n.d(e,"y",function(){return r.y}),n.d(e,"z",function(){return r.z}),n.d(e,"A",function(){return r.A}),n.d(e,"B",function(){return r.B}),n.d(e,"C",function(){return r.C}),n.d(e,"D",function(){return r.D}),n.d(e,"E",function(){return r.E}),n.d(e,"F",function(){return r.F}),n.d(e,"G",function(){return r.G}),n.d(e,"H",function(){return r.H}),n.d(e,"I",function(){return r.I}),n.d(e,"J",function(){return r.J}),n.d(e,"K",function(){return r.K}),n.d(e,"L",function(){return r.L}),n.d(e,"M",function(){return r.M}),n.d(e,"N",function(){return r.N}),n.d(e,"O",function(){return r.O}),n.d(e,"P",function(){return r.P}),n.d(e,"Q",function(){return r.Q}),n.d(e,"R",function(){return r.R}),n.d(e,"S",function(){return r.S}),n.d(e,"T",function(){return r.T}),n.d(e,"U",function(){return r.U}),n.d(e,"V",function(){return r.V}),n.d(e,"W",function(){return r.W}),n.d(e,"X",function(){return r.X}),n.d(e,"Y",function(){return r.Y}),n.d(e,"Z",function(){return r.Z}),n.d(e,"_0",function(){return r._0}),n.d(e,"_1",function(){return r._1}),n.d(e,"_2",function(){return r._2}),n.d(e,"_3",function(){return r._3}),n.d(e,"_4",function(){return r._4}),n.d(e,"_5",function(){return r._5}),n.d(e,"_6",function(){return r._6}),n.d(e,"_7",function(){return r._7}),n.d(e,"_8",function(){return r._8}),n.d(e,"_9",function(){return r._9}),n.d(e,"_10",function(){return r._10}),n.d(e,"_11",function(){return r._11}),n.d(e,"_12",function(){return r._12}),n.d(e,"_13",function(){return r._13}),n.d(e,"_14",function(){return r._14}),n.d(e,"_15",function(){return r._15}),n.d(e,"_16",function(){return r._16}),n.d(e,"_17",function(){return r._17}),n.d(e,"_18",function(){return r._18}),n.d(e,"_19",function(){return r._19}),n.d(e,"_20",function(){return r._20}),n.d(e,"_21",function(){return r._21}),n.d(e,"_22",function(){return r._22}),n.d(e,"_23",function(){return r._23}),n.d(e,"_24",function(){return r._24}),n.d(e,"_25",function(){return r._25}),n.d(e,"_26",function(){return r._26}),n.d(e,"_27",function(){return r._27}),n.d(e,"_28",function(){return r._28}),n.d(e,"_29",function(){return r._29}),n.d(e,"_30",function(){return r._30}),n.d(e,"_31",function(){return r._31}),n.d(e,"_32",function(){return r._32}),n.d(e,"_33",function(){return r._33}),n.d(e,"_34",function(){return r._34}),n.d(e,"_35",function(){return r._35}),n.d(e,"_36",function(){return r._36}),n.d(e,"_37",function(){return r._37}),n.d(e,"_38",function(){return r._38}),n.d(e,"_39",function(){return r._39}),n.d(e,"_40",function(){return r._40}),n.d(e,"_41",function(){return r._41}),n.d(e,"_42",function(){return r._42});var o=n(11);n.d(e,"_43",function(){return o.a}),n.d(e,"_44",function(){return o.b}),n.d(e,"_45",function(){return o.c}),n.d(e,"_46",function(){return o.d}),n.d(e,"_47",function(){return o.e}),n.d(e,"_48",function(){return o.f}),n.d(e,"_49",function(){return o.g}),n.d(e,"_50",function(){return o.h}),n.d(e,"_51",function(){return o.i}),n.d(e,"_52",function(){return o.j}),n.d(e,"_53",function(){return o.k}),n.d(e,"_54",function(){return o.l});var i=n(10);n.d(e,"_55",function(){return i.a}),n.d(e,"_56",function(){return i.b}),n.d(e,"_57",function(){return i.c}),n.d(e,"_58",function(){return i.d}),n.d(e,"_59",function(){return i.e}),n.d(e,"_60",function(){return i.f});var s=n(36);n.d(e,"_61",function(){return s.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(0),o=(n.n(r),n(21)),i=(n.n(o),n(2)),s=n(1),u=function(){function t(t){this.parent=t}return t.prototype.getModuleName=function(){return"ribbonButton"},t.prototype.destroy=function(){this.parent=null},t.prototype.createButton=function(t,e){var n=this,r=this.parent.createElement("button",{id:t.id});e.appendChild(r);var u=t.buttonSettings;new o.Button({locale:this.parent.locale,enableRtl:this.parent.enableRtl,enablePersistence:this.parent.enablePersistence,iconPosition:t.activeSize===i.d.Large?"Top":"Left",iconCss:u.iconCss,disabled:t.disabled,cssClass:(s.e+s.f+s.g+s.f+(u.cssClass?u.cssClass:"")).trim(),content:t.activeSize===i.d.Small?"":u.content,isPrimary:u.isPrimary,isToggle:u.isToggle,created:u.created},r),r.onclick=function(t){u.clicked&&u.clicked.call(n,t)},r.setAttribute("aria-label",u.content)},t.prototype.addOverFlowEvents=function(t,e,i){var u=this,c=e.querySelector("#"+t.id),l=n.i(r.getComponent)(c,o.Button);l.setProperties({cssClass:l.cssClass+s.f+s.k}),c.onclick=function(e){t.buttonSettings.clicked&&t.buttonSettings.clicked.call(u,e),i.toggle()}},t.prototype.removeOverFlowEvents=function(t,e){var i=this,u=e.querySelector("#"+t.id),c=n.i(r.getComponent)(u,o.Button),l=c.cssClass.split(s.f);l=l.filter(function(t){return t!==s.k}),c.setProperties({cssClass:l.join(s.f)}),u.onclick=function(e){t.buttonSettings.clicked&&t.buttonSettings.clicked.call(i,e)}},t.prototype.click=function(t){var e=n.i(i._37)(this.parent,t);if(e){n.i(r.getComponent)(e,o.Button).click()}},t.prototype.updateButton=function(t,e){var u=n.i(i._31)(this.parent.tabs,e);if(u){n.i(r.merge)(u.item.buttonSettings,t);var c=n.i(i._37)(this.parent,e,u);if(c){var l=n.i(r.getComponent)(c,o.Button);t.cssClass&&(t.cssClass=(s.e+s.f+s.g+s.f+t.cssClass).trim()),t.content&&(t.content=u.item.activeSize===i.d.Small?"":t.content,c.setAttribute("aria-label",t.content)),delete t.clicked,l.setProperties(t)}}},t.prototype.updateButtonSize=function(t,e){n.i(r.getComponent)(t,o.Button).setProperties({iconPosition:e.activeSize===i.d.Large?"Top":"Left",content:e.activeSize===i.d.Small?"":e.buttonSettings.content})},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(0),o=(n.n(r),n(21)),i=(n.n(o),n(2)),s=function(){function t(t){this.parent=t}return t.prototype.getModuleName=function(){return"ribbonCheckBox"},t.prototype.destroy=function(){this.parent=null},t.prototype.createCheckBox=function(t,e){var n=this,r=this.parent.createElement("input",{id:t.id});e.appendChild(r);var s=t.checkBoxSettings;new o.CheckBox({locale:this.parent.locale,enableRtl:this.parent.enableRtl,enablePersistence:this.parent.enablePersistence,checked:s.checked,cssClass:(i.n+i.q+(s.cssClass?s.cssClass:"")).trim(),label:s.label,labelPosition:s.labelPosition,disabled:t.disabled,created:s.created,change:function(t){s.change&&s.change.call(n,t)}},r)},t.prototype.addOverFlowEvents=function(t,e,s){var u=this,c=e.querySelector("#"+t.id),l=n.i(r.getComponent)(c,o.CheckBox);l.cssClass=l.cssClass+i.q+i.o,l.dataBind(),l.change=function(e){t.checkBoxSettings.change&&t.checkBoxSettings.change.call(u,e),s.toggle()}},t.prototype.removeOverFlowEvents=function(t,e){var s=this,u=e.querySelector("#"+t.id),c=n.i(r.getComponent)(u,o.CheckBox),l=c.cssClass.split(i.q);l=l.filter(function(t){return t!==i.o}),c.cssClass=l.join(i.q),c.dataBind(),c.change=function(e){t.checkBoxSettings.change&&t.checkBoxSettings.change.call(s,e)}},t.prototype.click=function(t){var e=n.i(i._37)(this.parent,t);if(e){n.i(r.getComponent)(e,o.CheckBox).click()}},t.prototype.updateCheckBox=function(t,e){var s=n.i(i._31)(this.parent.tabs,e);if(s){n.i(r.merge)(s.item.checkBoxSettings,t);var u=n.i(i._37)(this.parent,e,s);if(u){t.cssClass&&(t.cssClass=(i.n+i.q+t.cssClass).trim()),delete t.change;n.i(r.getComponent)(u,o.CheckBox).setProperties(t)}}},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(0),o=(n.n(r),n(45)),i=(n.n(o),n(2)),s=n(1),u=function(){function t(t){this.parent=t}return t.prototype.getModuleName=function(){return"ribbonColorPicker"},t.prototype.destroy=function(){this.parent=null},t.prototype.createColorPicker=function(t,e){var n=this,i=this.parent.createElement("input",{id:t.id});e.appendChild(i);var u=t.colorPickerSettings,c=new o.ColorPicker({locale:this.parent.locale,enableRtl:this.parent.enableRtl,enablePersistence:this.parent.enablePersistence,columns:u.columns,cssClass:(s.g+s.f+(u.cssClass?u.cssClass:"")).trim(),disabled:t.disabled,enableOpacity:u.enableOpacity,mode:u.mode,modeSwitcher:u.modeSwitcher,noColor:u.noColor,presetColors:u.presetColors,showButtons:u.showButtons,value:u.value,beforeClose:function(){c.element.parentElement.classList.remove(s.i),u.beforeClose&&u.beforeClose.call(n)},beforeOpen:u.beforeOpen,beforeTileRender:u.beforeTileRender,created:u.created,change:u.change,open:function(){c.element.parentElement.classList.add(s.i),u.open&&u.open.call(n)},select:u.select},i),l=c.element.parentElement;r.EventHandler.add(l,"mouseenter",this.toggleWrapperHover.bind(this,l,!0),this),r.EventHandler.add(l,"mouseleave",this.toggleWrapperHover.bind(this,l,!1),this)},t.prototype.toggleWrapperHover=function(t,e){e?t.classList.add(s.j):t.classList.remove(s.j)},t.prototype.addOverFlowEvents=function(t,e,i){var u=this,c=e.querySelector("#"+t.id),l=n.i(r.getComponent)(c,o.ColorPicker);l.setProperties({cssClass:l.cssClass+s.f+s.k});var a,p=l.splitBtn;l.beforeClose=function(e){a=e.event?e.event.target:null,l.element.parentElement.classList.remove(s.i),t.colorPickerSettings.beforeClose&&t.colorPickerSettings.beforeClose.call(u)},p.close=function(){a&&!a.closest(".e-ribbon-group-overflow-ddb")&&i.toggle()}},t.prototype.removeOverFlowEvents=function(t,e){var i=this,u=e.querySelector("#"+t.id),c=n.i(r.getComponent)(u,o.ColorPicker),l=c.cssClass.split(s.f);l=l.filter(function(t){return t!==s.k}),c.setProperties({cssClass:l.join(s.f)}),c.splitBtn.close=null,c.beforeClose=function(e){c.element.parentElement.classList.remove(s.i),t.colorPickerSettings.beforeClose&&t.colorPickerSettings.beforeClose.call(i)}},t.prototype.getColorPickerObj=function(t){var e=n.i(i._37)(this.parent,t);return e?n.i(r.getComponent)(e,o.ColorPicker):null},t.prototype.getValue=function(t,e,n){var r=this.getColorPickerObj(t);return r?r.getValue(e,n):""},t.prototype.toggle=function(t){var e=this.getColorPickerObj(t);e&&e.toggle()},t.prototype.updateColorPicker=function(t,e){var u=n.i(i._31)(this.parent.tabs,e);if(u){n.i(r.merge)(u.item.checkBoxSettings,t);var c=n.i(i._37)(this.parent,e,u);if(c){t.cssClass&&(t.cssClass=(s.g+s.f+t.cssClass).trim()),delete t.beforeClose,delete t.open;n.i(r.getComponent)(c,o.ColorPicker).setProperties(t)}}},t.prototype.unwireColorPickerEvents=function(t){var e=n.i(r.getComponent)(t,o.ColorPicker),i=e.element.parentElement;r.EventHandler.remove(i,"mouseenter",this.toggleWrapperHover),r.EventHandler.remove(i,"mouseleave",this.toggleWrapperHover)},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(0),o=(n.n(r),n(22)),i=(n.n(o),n(2)),s=function(){function t(t){this.parent=t}return t.prototype.getModuleName=function(){return"ribbonComboBox"},t.prototype.destroy=function(){this.parent=null},t.prototype.createComboBox=function(t,e){var n=this,r=this.parent.createElement("input",{id:t.id});e.appendChild(r);var s=t.comboBoxSettings;new o.ComboBox({locale:this.parent.locale,enableRtl:this.parent.enableRtl,enablePersistence:this.parent.enablePersistence,allowCustom:!1,floatLabelType:"Never",ignoreAccent:!0,ignoreCase:!0,allowFiltering:s.allowFiltering,autofill:s.autofill,cssClass:(i.n+i.q+(s.cssClass?s.cssClass:"")).trim(),dataSource:s.dataSource,enabled:!t.disabled,fields:s.fields,filterType:s.filterType,footerTemplate:s.footerTemplate,groupTemplate:s.groupTemplate,headerTemplate:s.headerTemplate,index:s.index,itemTemplate:s.itemTemplate,noRecordsTemplate:s.noRecordsTemplate,placeholder:s.placeholder,popupHeight:s.popupHeight,popupWidth:s.popupWidth,showClearButton:s.showClearButton,sortOrder:s.sortOrder,text:s.text,value:s.value,width:s.width,beforeOpen:s.beforeOpen,open:s.open,close:function(t){s.close&&s.close.call(n,t)},filtering:s.filtering,change:s.change,select:s.select,created:s.created},r)},t.prototype.addOverFlowEvents=function(t,e,s){var u=this,c=e.querySelector("#"+t.id),l=n.i(r.getComponent)(c,o.ComboBox);l.setProperties({cssClass:l.cssClass+i.q+i.o}),l.close=function(e){var n=e.event?e.event.target:null;t.comboBoxSettings.close&&t.comboBoxSettings.close.call(u,e),n&&!n.closest(".e-ribbon-group-overflow-ddb")&&s.toggle()}},t.prototype.removeOverFlowEvents=function(t,e){var s=this,u=e.querySelector("#"+t.id),c=n.i(r.getComponent)(u,o.ComboBox),l=c.cssClass.split(i.q);l=l.filter(function(t){return t!==i.o}),c.setProperties({cssClass:l.join(i.q)}),c.close=function(e){t.comboBoxSettings.close&&t.comboBoxSettings.close.call(s,e)}},t.prototype.getComboBoxObj=function(t){var e=n.i(i._37)(this.parent,t);return e?n.i(r.getComponent)(e,o.ComboBox):null},t.prototype.filter=function(t,e,n,r){this.getComboBoxObj(t).filter(e,n,r)},t.prototype.hidePopup=function(t){var e=this.getComboBoxObj(t);e&&e.hidePopup()},t.prototype.showPopup=function(t){var e=this.getComboBoxObj(t);e&&e.showPopup()},t.prototype.updateComboBox=function(t,e){var s=n.i(i._31)(this.parent.tabs,e);if(s){n.i(r.merge)(s.item.comboBoxSettings,t);var u=n.i(i._37)(this.parent,e,s);if(u){t.cssClass&&(t.cssClass=(i.n+i.q+t.cssClass).trim()),delete t.close;n.i(r.getComponent)(u,o.ComboBox).setProperties(t)}}},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(0),o=(n.n(r),n(3)),i=(n.n(o),n(23)),s=(n.n(i),n(2)),u=n(1),c=function(){function t(t){this.parent=t}return t.prototype.getModuleName=function(){return"ribbonDropDown"},t.prototype.destroy=function(){this.parent=null},t.prototype.createDropDown=function(t,e){var n=this,r=this.parent.createElement("button",{id:t.id});e.appendChild(r);var i=t.dropDownSettings,c=(u.e+u.f+u.g+u.f+(i.cssClass?i.cssClass:"")).trim();new o.DropDownButton({locale:this.parent.locale,enableRtl:this.parent.enableRtl,enablePersistence:this.parent.enablePersistence,iconPosition:t.activeSize===s.d.Large?"Top":"Left",closeActionEvents:i.closeActionEvents,content:t.activeSize===s.d.Small?"":i.content,cssClass:c+(t.activeSize===s.d.Large?u.f+u.h:""),disabled:t.disabled,iconCss:i.iconCss,items:i.items,target:i.target,beforeClose:function(t){i.beforeClose&&i.beforeClose.call(n,t)},beforeItemRender:i.beforeItemRender,beforeOpen:i.beforeOpen,close:function(t){i.close&&i.close.call(n,t)},created:i.created,open:i.open,select:i.select},r)},t.prototype.addOverFlowEvents=function(t,e,i){var s=this,c=e.querySelector("#"+t.id),l=n.i(r.getComponent)(c,o.DropDownButton);l.cssClass=l.cssClass+u.f+u.k,l.dataBind();var a;l.beforeClose=function(e){t.dropDownSettings.beforeClose&&t.dropDownSettings.beforeClose.call(s,e),a=e.event?e.event.target:null},l.close=function(e){t.dropDownSettings.close&&t.dropDownSettings.close.call(s,e),a&&!a.closest(".e-ribbon-group-overflow-ddb")&&i.toggle()}},t.prototype.removeOverFlowEvents=function(t,e){var i=this,s=e.querySelector("#"+t.id),c=n.i(r.getComponent)(s,o.DropDownButton),l=c.cssClass.split(u.f);l=l.filter(function(t){return t!==u.k}),c.cssClass=l.join(u.f),c.dataBind(),c.close=function(e){t.dropDownSettings.close&&t.dropDownSettings.close.call(i,e)},c.beforeClose=function(e){t.dropDownSettings.beforeClose&&t.dropDownSettings.beforeClose.call(i,e)}},t.prototype.createOverFlowDropDown=function(t,e,i,c,l){var a=this.parent.createElement("button",{id:t+u.l+u.m});l.appendChild(a);var p=new o.DropDownButton({iconCss:i,target:c,locale:this.parent.locale,enableRtl:this.parent.enableRtl,enablePersistence:this.parent.enablePersistence,cssClass:u.h+u.f+u.n,iconPosition:"Top",content:e,beforeClose:function(t){t.cancel=!n.i(r.isNullOrUndefined)(t.event&&n.i(r.closest)(t.event.target,"."+u.k))}},a);return n.i(s._40)(c,this.parent),p},t.prototype.removeOverFlowDropDown=function(t){var e=n.i(r.getComponent)(t,o.DropDownButton);n.i(r.getComponent)(e.target,i.Tooltip).destroy(),t.parentElement.parentElement.insertBefore(e.target,t.parentElement),e.destroy(),n.i(r.remove)(t)},t.prototype.getDDBItemElement=function(t,e){return n.i(r.getComponent)(t,o.DropDownButton).dropDown.element.querySelector("#"+e)},t.prototype.getOverflowDropDownPopup=function(t,e){var i=e.querySelector("#"+this.parent.tabs[t.tabIndex].groups[t.groupIndex].id+u.l+u.m);return n.i(r.getComponent)(i,o.DropDownButton).dropDown.element},t.prototype.getDropDownObj=function(t){var e=n.i(s._37)(this.parent,t);return e?n.i(r.getComponent)(e,o.DropDownButton):null},t.prototype.addItems=function(t,e,n){this.getDropDownObj(t).addItems(e,n)},t.prototype.removeItems=function(t,e,n){this.getDropDownObj(t).removeItems(e,n)},t.prototype.toggle=function(t){this.getDropDownObj(t).toggle()},t.prototype.updateDropDown=function(t,e){var i=n.i(s._31)(this.parent.tabs,e);if(i){n.i(r.merge)(i.item.dropDownSettings,t);var c=n.i(s._37)(this.parent,e,i);if(c){var l=n.i(r.getComponent)(c,o.DropDownButton);t.cssClass&&(t.cssClass=(u.g+u.f+u.e+u.f+t.cssClass).trim(),t.cssClass=i.item.activeSize===s.d.Large?(u.h+u.f+t.cssClass).trim():t.cssClass,l.cssClass=t.cssClass),delete t.close,delete t.beforeClose,t.content&&(t.content=i.item.activeSize===s.d.Small?"":t.content),l.setProperties(t)}}},t.prototype.updateDropDownSize=function(t,e){var i=n.i(r.getComponent)(t,o.DropDownButton),c=i.cssClass.split(u.f);e.activeSize===s.d.Large?c.push(u.h):c=c.filter(function(t){return t!==u.h}),i.cssClass=c.join(u.f),i.setProperties({iconPosition:e.activeSize===s.d.Large?"Top":"Left"}),i.setProperties({content:e.activeSize===s.d.Small?"":e.dropDownSettings.content})},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(0),o=(n.n(r),n(3)),i=(n.n(o),n(2)),s=n(1),u=function(){function t(t){this.parent=t}return t.prototype.getModuleName=function(){return"ribbonSplitButton"},t.prototype.destroy=function(){this.parent=null},t.prototype.createSplitButton=function(t,e){var n=this,u=this.parent.createElement("button",{id:t.id});e.appendChild(u);var c=t.splitButtonSettings,l=(s.e+s.f+s.g+s.f+(c.cssClass?c.cssClass:"")).trim(),a=new o.SplitButton({locale:this.parent.locale,enableRtl:this.parent.enableRtl,enablePersistence:this.parent.enablePersistence,iconPosition:t.activeSize===i.d.Large?"Top":"Left",closeActionEvents:c.closeActionEvents,cssClass:l+(t.activeSize===i.d.Large?s.f+s.h:""),disabled:t.disabled,iconCss:c.iconCss,items:c.items,target:c.target,beforeClose:function(t){c.beforeClose&&c.beforeClose.call(n,t)},beforeItemRender:c.beforeItemRender,beforeOpen:c.beforeOpen,close:function(){a.wrapper.classList.remove(s.i),c.close&&c.close.call(n)},created:c.created,open:function(){a.wrapper.classList.add(s.i),c.open&&c.open.call(n)},select:c.select,click:function(t){c.click&&c.click.call(n,t)}},u);this.setContent(t,a);var p=a.wrapper;r.EventHandler.add(p,"mouseenter",function(){p.classList.add(s.j)},this),r.EventHandler.add(p,"mouseleave",function(){p.classList.remove(s.j)},this)},t.prototype.addOverFlowEvents=function(t,e,i){var u=this,c=e.querySelector("#"+t.id),l=n.i(r.getComponent)(c,o.SplitButton);l.cssClass=l.cssClass+s.f+s.k,l.dataBind();var a;l.beforeClose=function(e){t.splitButtonSettings.beforeClose&&t.splitButtonSettings.beforeClose.call(u,e),a=e.event?e.event.target:null},l.click=function(e){t.splitButtonSettings.click&&t.splitButtonSettings.click.call(u,e),i.toggle()},l.close=function(e){t.splitButtonSettings.close&&t.splitButtonSettings.close.call(u,e),l.wrapper.classList.remove(s.i),a&&!a.closest(".e-ribbon-group-overflow-ddb")&&i.toggle()}},t.prototype.removeOverFlowEvents=function(t,e){var i=this,u=e.querySelector("#"+t.id),c=n.i(r.getComponent)(u,o.SplitButton),l=c.cssClass.split(s.f);l=l.filter(function(t){return t!==s.k}),c.cssClass=l.join(s.f),c.dataBind(),c.beforeClose=function(e){t.splitButtonSettings.beforeClose&&t.splitButtonSettings.beforeClose.call(i,e)},c.click=function(e){t.splitButtonSettings.click&&t.splitButtonSettings.click.call(i,e)},c.close=function(e){t.splitButtonSettings.close&&t.splitButtonSettings.close.call(i,e),c.wrapper.classList.remove(s.i)}},t.prototype.setContent=function(t,e){e.primaryBtnObj.setProperties({content:t.activeSize===i.d.Medium?t.splitButtonSettings.content:""}),e.secondaryBtnObj.setProperties({content:t.activeSize===i.d.Large?t.splitButtonSettings.content:""})},t.prototype.getSplitButtonObj=function(t){var e=n.i(i._37)(this.parent,t);return n.i(r.getComponent)(e,o.SplitButton)},t.prototype.addItems=function(t,e,n){this.getSplitButtonObj(t).addItems(e,n)},t.prototype.removeItems=function(t,e,n){this.getSplitButtonObj(t).removeItems(e,n)},t.prototype.toggle=function(t){this.getSplitButtonObj(t).toggle()},t.prototype.updateSplitButton=function(t,e){var u=n.i(i._31)(this.parent.tabs,e);if(u){n.i(r.merge)(u.item.splitButtonSettings,t);var c=n.i(i._37)(this.parent,e,u);if(c){var l=n.i(r.getComponent)(c,o.SplitButton);t.cssClass&&(t.cssClass=(s.g+s.f+s.e+s.f+t.cssClass).trim(),t.cssClass=u.item.activeSize===i.d.Large?(s.h+s.f+t.cssClass).trim():t.cssClass,l.cssClass=t.cssClass),delete t.open,delete t.click,delete t.close,delete t.beforeClose,l.setProperties(t),t.content&&this.setContent(u.item,l)}}},t.prototype.updateSplitButtonSize=function(t,e){var u=n.i(r.getComponent)(t,o.SplitButton),c=u.cssClass.split(s.f);e.activeSize===i.d.Large?c.push(s.h):c=c.filter(function(t){return t!==s.h}),u.cssClass=c.join(s.f),u.setProperties({iconPosition:e.activeSize===i.d.Large?"Top":"Left"}),this.setContent(e,u)},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(0),o=(n.n(r),n(7)),i=(n.n(o),n(6)),s=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},u([n.i(r.Property)("File")],e.prototype,"text",void 0),u([n.i(r.Property)(!1)],e.prototype,"visible",void 0),u([n.i(r.Collection)([],o.MenuItem)],e.prototype,"menuItems",void 0),u([n.i(r.Property)(!1)],e.prototype,"showItemOnClick",void 0),u([n.i(r.Complex)({},o.MenuAnimationSettings)],e.prototype,"animationSettings",void 0),u([n.i(r.Property)("")],e.prototype,"itemTemplate",void 0),u([n.i(r.Property)("")],e.prototype,"popupTemplate",void 0),u([n.i(r.Complex)({},i.a)],e.prototype,"ribbonTooltipSettings",void 0),u([n.i(r.Event)()],e.prototype,"beforeClose",void 0),u([n.i(r.Event)()],e.prototype,"beforeOpen",void 0),u([n.i(r.Event)()],e.prototype,"beforeItemRender",void 0),u([n.i(r.Event)()],e.prototype,"close",void 0),u([n.i(r.Event)()],e.prototype,"open",void 0),u([n.i(r.Event)()],e.prototype,"select",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(0),o=(n.n(r),n(18)),i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},s([n.i(r.Property)("")],e.prototype,"id",void 0),s([n.i(r.Property)("")],e.prototype,"cssClass",void 0),s([n.i(r.Collection)([],o.a)],e.prototype,"groups",void 0),s([n.i(r.Property)("")],e.prototype,"header",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";var r=n(37);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(0),o=(n.n(r),n(3)),i=(n.n(o),n(7)),s=(n.n(i),n(2)),u=n(1),c=function(){function t(t){this.parent=t}return t.prototype.getModuleName=function(){return"ribbonFileMenu"},t.prototype.destroy=function(){this.fileMenuDDB&&this.destroyDDB(),this.parent=null},t.prototype.createFileMenu=function(t){var e=this;if(t.visible){this.ddbElement=this.parent.createElement("button",{id:this.parent.element.id+u.a});var n=this.parent.tabObj.element,r=n.querySelector(".e-toolbar");n.insertBefore(this.ddbElement,r),this.fileMenuDDB=new o.DropDownButton({content:t.text,enableRtl:this.parent.enableRtl,cssClass:"e-ribbon-file-menu e-caret-hide",created:function(){n.style.setProperty(u.b,e.ddbElement.offsetWidth+"px")},beforeClose:this.ddbBeforeEvent.bind(this,!1),beforeOpen:this.ddbBeforeEvent.bind(this,!0),close:this.ddbAfterEvent.bind(this,!1),open:this.ddbAfterEvent.bind(this,!0)},this.ddbElement),this.parent.fileMenu.popupTemplate?this.fileMenuDDB.setProperties({target:this.parent.fileMenu.popupTemplate}):this.createRibbonMenu(t),this.parent.tabObj.refreshActiveTabBorder(),this.addFileMenuTooltip(t)}},t.prototype.addFileMenuTooltip=function(t){n.i(s._38)(t.ribbonTooltipSettings)&&(this.ddbElement.classList.add(u.c),this.parent.tooltipData.push({id:this.ddbElement.id,data:t.ribbonTooltipSettings}))},t.prototype.ddbBeforeEvent=function(t,e){!t&&e.event&&e.event.target.closest(".e-ribbon-menu")&&(e.cancel=!0);var n=t?this.parent.fileMenu.beforeOpen:this.parent.fileMenu.beforeClose;if(n){var r={cancel:e.cancel,element:e.element,event:e.event};n.call(this,r),e.cancel=r.cancel}},t.prototype.ddbAfterEvent=function(t,e){(t?this.fileMenuDDB.target:this.fileMenuDDB.element).focus();var n=t?this.parent.fileMenu.open:this.parent.fileMenu.close;if(n){var r={element:e.element};n.call(this,r)}},t.prototype.cloneMenuItem=function(t){for(var e=[],n=0;n<t.length;n++){var r=t[parseInt(n.toString(),10)];e.push({iconCss:r.iconCss,id:r.id,separator:r.separator,text:r.text,url:r.url,items:this.cloneMenuItem(r.items)})}return e},t.prototype.createRibbonMenu=function(t){var e=this,n=this.parent.createElement("ul",{id:this.parent.element.id+u.d});this.fileMenuDDB.setProperties({target:n}),this.menuctrl=new i.Menu({orientation:"Vertical",enableRtl:this.parent.enableRtl,cssClass:"e-ribbon-menu",animationSettings:t.animationSettings,items:this.cloneMenuItem(t.menuItems),showItemOnClick:t.showItemOnClick,template:t.itemTemplate,beforeClose:this.menuBeforeEvent.bind(this,!1),beforeOpen:this.menuBeforeEvent.bind(this,!0),beforeItemRender:this.beforeItemRender.bind(this),onClose:this.menuAfterEvent.bind(this,!1),onOpen:this.menuAfterEvent.bind(this,!0),select:this.menuSelect.bind(this)},n),r.EventHandler.add(n,"keydown",function(t){"Tab"===t.key&&e.fileMenuDDB.toggle()},this)},t.prototype.menuBeforeEvent=function(t,e){var n=t?this.parent.fileMenu.beforeOpen:this.parent.fileMenu.beforeClose;if(n){var r={cancel:e.cancel,element:e.element,event:e.event,items:e.items,parentItem:e.parentItem};n.call(this,r),e.cancel=r.cancel}},t.prototype.menuAfterEvent=function(t,e){var n=t?this.parent.fileMenu.open:this.parent.fileMenu.close;if(n){var r={element:e.element,items:e.items,parentItem:e.parentItem};n.call(this,r)}},t.prototype.beforeItemRender=function(t){var e=this.parent.fileMenu.beforeItemRender;if(e){var n={element:t.element,item:t.item};e.call(this,n)}},t.prototype.menuSelect=function(t){var e=this.parent.fileMenu.select;if(e){var n={element:t.element,item:t.item,event:t.event};e.call(this,n),t.element.classList.contains("e-menu-caret-icon")||this.fileMenuDDB.toggle()}},t.prototype.setCommonProperties=function(t){this.fileMenuDDB&&(this.fileMenuDDB.setProperties(t),this.menuctrl&&this.menuctrl.setProperties(t))},t.prototype.updateFileMenu=function(t){t.visible?this.fileMenuDDB?(t.text&&(this.fileMenuDDB.setProperties({content:t.text}),this.parent.tabObj.element.style.setProperty(u.b,this.ddbElement.offsetWidth+"px")),t.popupTemplate?(this.menuctrl&&this.destroyMenu(),this.fileMenuDDB.setProperties({target:t.popupTemplate})):this.menuctrl?this.menuctrl.setProperties({animationSettings:t.animationSettings,items:this.cloneMenuItem(t.menuItems),showItemOnClick:t.showItemOnClick,template:t.itemTemplate}):this.createRibbonMenu(t),this.removeFileMenuTooltip(),this.addFileMenuTooltip(t)):this.createFileMenu(t):this.fileMenuDDB&&this.destroyDDB(),this.parent.tabObj.refreshActiveTabBorder()},t.prototype.destroyMenu=function(){this.menuctrl&&(this.menuctrl.destroy(),this.menuctrl=null)},t.prototype.destroyDDB=function(){this.removeFileMenuTooltip(),this.parent.tabObj.element.style.removeProperty(u.b),this.destroyMenu(),this.fileMenuDDB.destroy(),this.fileMenuDDB=null,n.i(r.remove)(this.ddbElement),this.ddbElement=null},t.prototype.removeFileMenuTooltip=function(){var t=this,e=n.i(s._29)(this.parent.tooltipData,function(e){return e.id===t.ddbElement.id});-1!==e&&(this.ddbElement.classList.remove(u.c),this.parent.tooltipData.splice(e,1))},t.prototype.addItems=function(t,e,n,r){n?this.menuctrl.insertAfter(t,e,r):this.menuctrl.insertBefore(t,e,r),this.parent.fileMenu.setProperties({menuItems:this.menuctrl.items},!0)},t.prototype.removeItems=function(t,e){this.menuctrl.removeItems(t,e),this.parent.fileMenu.setProperties({menuItems:this.menuctrl.items},!0)},t.prototype.enableItems=function(t,e){this.menuctrl.enableItems(t,!0,e),this.parent.fileMenu.setProperties({menuItems:this.menuctrl.items},!0)},t.prototype.disableItems=function(t,e){this.menuctrl.enableItems(t,!1,e),this.parent.fileMenu.setProperties({menuItems:this.menuctrl.items},!0)},t.prototype.setItem=function(t,e,n){this.menuctrl.setItem(t,e,n),this.menuctrl.refresh(),this.parent.fileMenu.setProperties({menuItems:this.menuctrl.items},!0)},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(24);n.d(e,"RibbonTabDirective",function(){return r.a}),n.d(e,"RibbonTabsDirective",function(){return r.b}),n.d(e,"RibbonGroupDirective",function(){return r.c}),n.d(e,"RibbonGroupsDirective",function(){return r.d}),n.d(e,"RibbonCollectionDirective",function(){return r.e}),n.d(e,"RibbonCollectionsDirective",function(){return r.f}),n.d(e,"RibbonItemDirective",function(){return r.g}),n.d(e,"RibbonItemsDirective",function(){return r.h}),n.d(e,"RibbonComponent",function(){return r.i});var o=n(4);n.n(o);n.o(o,"Inject")&&n.d(e,"Inject",function(){return o.Inject});var i=n(8);n.d(e,"Ribbon",function(){return i.a}),n.d(e,"RibbonLayout",function(){return i.b}),n.d(e,"ItemOrientation",function(){return i.c}),n.d(e,"RibbonItemSize",function(){return i.d}),n.d(e,"DisplayMode",function(){return i.e}),n.d(e,"RibbonItemType",function(){return i.f}),n.d(e,"ITEM_VERTICAL_CENTER",function(){return i.g}),n.d(e,"EXPAND_COLLAPSE_ICON",function(){return i.h}),n.d(e,"OVERFLOW_ICON",function(){return i.i}),n.d(e,"VERTICAL_DDB",function(){return i.j}),n.d(e,"DISABLED_CSS",function(){return i.k}),n.d(e,"RTL_CSS",function(){return i.l}),n.d(e,"RIBBON_HOVER",function(){return i.m}),n.d(e,"RIBBON_CONTROL",function(){return i.n}),n.d(e,"RIBBON_POPUP_CONTROL",function(){return i.o}),n.d(e,"RIBBON_POPUP_OPEN",function(){return i.p}),n.d(e,"SPACE",function(){return i.q}),n.d(e,"HORIZONTAL_SCROLLBAR",function(){return i.r}),n.d(e,"HIDE_CSS",function(){return i.s}),n.d(e,"RIBBON_TAB",function(){return i.t}),n.d(e,"RIBBON_TAB_ACTIVE",function(){return i.u}),n.d(e,"RIBBON_TAB_ITEM",function(){return i.v}),n.d(e,"RIBBON_COLLAPSE_BUTTON",function(){return i.w}),n.d(e,"RIBBON_EXPAND_BUTTON",function(){return i.x}),n.d(e,"RIBBON_COLLAPSIBLE",function(){return i.y}),n.d(e,"RIBBON_OVERALL_OF_BUTTON",function(){return i.z}),n.d(e,"RIBBON_GROUP_OF_BUTTON",function(){return i.A}),n.d(e,"RIBBON_OVERFLOW_TARGET",function(){return i.B}),n.d(e,"RIBBON_OVERFLOW",function(){return i.C}),n.d(e,"TAB_CONTENT",function(){return i.D}),n.d(e,"RIBBON_MINIMIZE",function(){return i.E}),n.d(e,"RIBBON_GROUP",function(){return i.F}),n.d(e,"RIBBON_GROUP_CONTAINER",function(){return i.G}),n.d(e,"RIBBON_OF_TAB_CONTAINER",function(){return i.H}),n.d(e,"RIBBON_OF_GROUP_CONTAINER",function(){return i.I}),n.d(e,"RIBBON_GROUP_CONTENT",function(){return i.J}),n.d(e,"RIBBON_GROUP_HEADER",function(){return i.K}),n.d(e,"RIBBON_OVERFLOW_HEADER",function(){return i.L}),n.d(e,"RIBBON_GROUP_OVERFLOW",function(){return i.M}),n.d(e,"RIBBON_GROUP_OVERFLOW_DDB",function(){return i.N}),n.d(e,"RIBBON_LAUNCHER",function(){return i.O}),n.d(e,"RIBBON_LAUNCHER_ICON_ELE",function(){return i.P}),n.d(e,"RIBBON_LAUNCHER_ICON",function(){return i.Q}),n.d(e,"RIBBON_COLLECTION",function(){return i.R}),n.d(e,"RIBBON_ITEM",function(){return i.S}),n.d(e,"RIBBON_ROW",function(){return i.T}),n.d(e,"RIBBON_COLUMN",function(){return i.U}),n.d(e,"RIBBON_LARGE_ITEM",function(){return i.V}),n.d(e,"RIBBON_MEDIUM_ITEM",function(){return i.W}),n.d(e,"RIBBON_SMALL_ITEM",function(){return i.X}),n.d(e,"RIBBON_CONTENT_HEIGHT",function(){return i.Y}),n.d(e,"DROPDOWNBUTTON",function(){return i.Z}),n.d(e,"DROPDOWNBUTTON_HIDE",function(){return i._0}),n.d(e,"RIBBON_TEMPLATE",function(){return i._1}),n.d(e,"RIBBON_HELP_TEMPLATE",function(){return i._2}),n.d(e,"RIBBON_TOOLTIP",function(){return i._3}),n.d(e,"RIBBON_TOOLTIP_TARGET",function(){return i._4}),n.d(e,"RIBBON_TOOLTIP_TITLE",function(){return i._5}),n.d(e,"RIBBON_TOOLTIP_CONTENT",function(){return i._6}),n.d(e,"RIBBON_TOOLTIP_ICON",function(){return i._7}),n.d(e,"RIBBON_TOOLTIP_CONTAINER",function(){return i._8}),n.d(e,"RIBBON_TEXT_CONTAINER",function(){return i._9}),n.d(e,"RIBBON_SIMPLIFIED_MODE",function(){return i._10}),n.d(e,"TAB_ID",function(){return i._11}),n.d(e,"GROUP_ID",function(){return i._12}),n.d(e,"COLLECTION_ID",function(){return i._13}),n.d(e,"ITEM_ID",function(){return i._14}),n.d(e,"COLLAPSE_BUTTON_ID",function(){return i._15}),n.d(e,"OVRLOF_BUTTON_ID",function(){return i._16}),n.d(e,"GROUPOF_BUTTON_ID",function(){return i._17}),n.d(e,"HEADER_ID",function(){return i._18}),n.d(e,"LAUNCHER_ID",function(){return i._19}),n.d(e,"CONTENT_ID",function(){return i._20}),n.d(e,"CONTAINER_ID",function(){return i._21}),n.d(e,"OVERFLOW_ID",function(){return i._22}),n.d(e,"DROPDOWN_ID",function(){return i._23}),n.d(e,"RIBBON_FILE_MENU_ID",function(){return i._24}),n.d(e,"RIBBON_FILE_MENU_LIST",function(){return i._25}),n.d(e,"RIBBON_HELP_PANE_TEMPLATE_ID",function(){return i._26}),n.d(e,"RIBBON_FILE_MENU_WIDTH",function(){return i._27}),n.d(e,"RIBBON_HELP_PANE_TEMPLATE_WIDTH",function(){return i._28}),n.d(e,"getIndex",function(){return i._29}),n.d(e,"getTemplateFunction",function(){return i._30}),n.d(e,"getItem",function(){return i._31}),n.d(e,"getCollection",function(){return i._32}),n.d(e,"getGroup",function(){return i._33}),n.d(e,"destroyControl",function(){return i._34}),n.d(e,"updateCommonProperty",function(){return i._35}),n.d(e,"updateControlDisabled",function(){return i._36}),n.d(e,"getItemElement",function(){return i._37}),n.d(e,"isTooltipPresent",function(){return i._38}),n.d(e,"setToolTipContent",function(){return i._39}),n.d(e,"createTooltip",function(){return i._40}),n.d(e,"destroyTooltip",function(){return i._41}),n.d(e,"updateTooltipProp",function(){return i._42}),n.d(e,"RibbonTab",function(){return i._43}),n.d(e,"RibbonGroup",function(){return i._44}),n.d(e,"RibbonCollection",function(){return i._45}),n.d(e,"RibbonItem",function(){return i._46}),n.d(e,"RibbonButtonSettings",function(){return i._47}),n.d(e,"RibbonCheckBoxSettings",function(){return i._48}),n.d(e,"RibbonColorPickerSettings",function(){return i._49}),n.d(e,"RibbonComboBoxSettings",function(){return i._50}),n.d(e,"RibbonDropDownSettings",function(){return i._51}),n.d(e,"RibbonSplitButtonSettings",function(){return i._52}),n.d(e,"FileMenuSettings",function(){return i._53}),n.d(e,"RibbonTooltip",function(){return i._54}),n.d(e,"RibbonButton",function(){return i._55}),n.d(e,"RibbonCheckBox",function(){return i._56}),n.d(e,"RibbonColorPicker",function(){return i._57}),n.d(e,"RibbonComboBox",function(){return i._58}),n.d(e,"RibbonDropDown",function(){return i._59}),n.d(e,"RibbonSplitButton",function(){return i._60}),n.d(e,"RibbonFileMenu",function(){return i._61})},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return s});var r=n(4),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.moduleName="ribbonCollection",e}(r.ComplexBase),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="collections",e.moduleName="ribbonCollections",e}(r.ComplexBase)},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return s});var r=n(4),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.moduleName="ribbonGroup",e}(r.ComplexBase),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="groups",e.moduleName="ribbonGroups",e}(r.ComplexBase)},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return s});var r=n(4),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.moduleName="ribbonItem",e}(r.ComplexBase),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="items",e.moduleName="ribbonItems",e}(r.ComplexBase)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(44),o=(n.n(r),n(8)),i=n(4),s=(n.n(i),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={ribbonTabs:{ribbonTab:{ribbonGroups:{ribbonGroup:{ribbonCollections:{ribbonCollection:{ribbonItems:"ribbonItem"}}}}}}},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return s(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.a);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return s});var r=n(4),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.moduleName="ribbonTab",e}(r.ComplexBase),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="tabs",e.moduleName="ribbonTabs",e}(r.ComplexBase)},function(t,e){t.exports=u},function(t,e){t.exports=c}])});
|
|
10
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("SyncfusionBase"),require("SyncfusionSplitbuttons"),require("SyncfusionReactBase"),require("SyncfusionButtons"),require("SyncfusionNavigations"),require("SyncfusionDropdowns"),require("SyncfusionPopups"),require("React"),require("SyncfusionInputs")):"function"==typeof define&&define.amd?define(["SyncfusionBase","SyncfusionSplitbuttons","SyncfusionReactBase","SyncfusionButtons","SyncfusionNavigations","SyncfusionDropdowns","SyncfusionPopups","React","SyncfusionInputs"],e):"object"==typeof exports?exports.SyncfusionReactRibbon=e(require("SyncfusionBase"),require("SyncfusionSplitbuttons"),require("SyncfusionReactBase"),require("SyncfusionButtons"),require("SyncfusionNavigations"),require("SyncfusionDropdowns"),require("SyncfusionPopups"),require("React"),require("SyncfusionInputs")):t.SyncfusionReactRibbon=e(t.SyncfusionBase,t.SyncfusionSplitbuttons,t.SyncfusionReactBase,t.SyncfusionButtons,t.SyncfusionNavigations,t.SyncfusionDropdowns,t.SyncfusionPopups,t.React,t.SyncfusionInputs)}(this,function(t,e,n,r,o,i,s,c,l){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=38)}([function(e,n){e.exports=t},function(t,e,n){"use strict";n.d(e,"e",function(){return r}),n.d(e,"o",function(){return o}),n.d(e,"p",function(){return i}),n.d(e,"h",function(){return s}),n.d(e,"q",function(){return c}),n.d(e,"r",function(){return l}),n.d(e,"j",function(){return a}),n.d(e,"g",function(){return u}),n.d(e,"k",function(){return p}),n.d(e,"i",function(){return d}),n.d(e,"f",function(){return f}),n.d(e,"s",function(){return h}),n.d(e,"t",function(){return b}),n.d(e,"u",function(){return v}),n.d(e,"v",function(){return m}),n.d(e,"w",function(){return y}),n.d(e,"x",function(){return g}),n.d(e,"y",function(){return _}),n.d(e,"z",function(){return S}),n.d(e,"A",function(){return I}),n.d(e,"B",function(){return C}),n.d(e,"C",function(){return O}),n.d(e,"D",function(){return w}),n.d(e,"E",function(){return P}),n.d(e,"F",function(){return D}),n.d(e,"G",function(){return B}),n.d(e,"H",function(){return L}),n.d(e,"I",function(){return x}),n.d(e,"J",function(){return T}),n.d(e,"K",function(){return k}),n.d(e,"L",function(){return E}),n.d(e,"M",function(){return R}),n.d(e,"N",function(){return M}),n.d(e,"n",function(){return q}),n.d(e,"O",function(){return j}),n.d(e,"P",function(){return N}),n.d(e,"Q",function(){return A}),n.d(e,"R",function(){return z}),n.d(e,"S",function(){return W}),n.d(e,"T",function(){return F}),n.d(e,"U",function(){return G}),n.d(e,"V",function(){return H}),n.d(e,"W",function(){return U}),n.d(e,"X",function(){return V}),n.d(e,"Y",function(){return K}),n.d(e,"Z",function(){return X}),n.d(e,"_0",function(){return Y}),n.d(e,"_1",function(){return Q}),n.d(e,"_2",function(){return Z}),n.d(e,"_3",function(){return J}),n.d(e,"c",function(){return $}),n.d(e,"_4",function(){return tt}),n.d(e,"_5",function(){return et}),n.d(e,"_6",function(){return nt}),n.d(e,"_7",function(){return rt}),n.d(e,"_8",function(){return ot}),n.d(e,"_9",function(){return it}),n.d(e,"_10",function(){return st}),n.d(e,"_11",function(){return ct}),n.d(e,"_12",function(){return lt}),n.d(e,"_13",function(){return at}),n.d(e,"_14",function(){return ut}),n.d(e,"_15",function(){return pt}),n.d(e,"_16",function(){return dt}),n.d(e,"_17",function(){return ft}),n.d(e,"_18",function(){return ht}),n.d(e,"_19",function(){return bt}),n.d(e,"_20",function(){return vt}),n.d(e,"l",function(){return mt}),n.d(e,"m",function(){return yt}),n.d(e,"a",function(){return gt}),n.d(e,"d",function(){return _t}),n.d(e,"_21",function(){return St}),n.d(e,"b",function(){return It}),n.d(e,"_22",function(){return Ct});var r="e-ribbon-vertical-center",o="e-icons e-drop-icon",i="e-icons e-more-horizontal-1",s="e-vertical",c="e-disabled",l="e-rtl",a="e-ribbon-hover",u="e-ribbon-control",p="e-ribbon-popup-control",d="e-ribbon-open",f=" ",h="e-hscroll-bar",b="e-ribbon-hide",v="e-ribbon-tab",m="e-ribbon-active",y="e-ribbon-tab-item",g="e-ribbon-collapse-btn",_="e-ribbon-expand-btn",S="e-ribbon-collapsible",I="e-ribbon-overall-of-btn",C="e-ribbon-group-of-btn",O="e-ribbon-overflow-target",w="e-ribbon-overflow",P="e-content",D="e-ribbon-minimize",B="e-ribbon-group",L="e-ribbon-group-container",x="e-ribbon-of-tab",T="e-ribbon-of-group-container",k="e-ribbon-group-content",E="e-ribbon-group-header",R="e-ribbon-overflow-header",M="e-ribbon-group-overflow",q="e-ribbon-group-overflow-ddb",j="e-ribbon-launcher",N="e-ribbon-launcher-icon",A="e-icons e-launcher",z="e-ribbon-collection",W="e-ribbon-item",F="e-ribbon-row",G="e-ribbon-column",H="e-ribbon-large-item",U="e-ribbon-medium-item",V="e-ribbon-small-item",K="e-ribbon-content-height",X="e-dropdown-btn",Y="e-caret-hide",Q="e-ribbon-template",Z="e-ribbon-help-template",J="e-ribbon-tooltip",$="e-ribbon-tooltip-target",tt="e-ribbon-tooltip-title",et="e-ribbon-tooltip-content",nt="e-ribbon-tooltip-icon",rt="e-ribbon-tooltip-container",ot="e-ribbon-text-container",it="e-ribbon-simplified-mode",st="_tab",ct="_group",lt="_collection",at="_item",ut="_collapsebutton",pt="_sim_ovrl_overflow",dt="_sim_grp_overflow",ft="_header",ht="_launcher",bt="_content",vt="_container",mt="_overflow",yt="_dropdown",gt="_filemenu",_t="_filemenulist",St="_helppanetemplate",It="--fileMenuWidth",Ct="--helpTemplateWidth"},function(t,e,n){"use strict";var r=n(26);n.d(e,"a",function(){return r.a});var o=n(5);n.d(e,"b",function(){return o.c}),n.d(e,"c",function(){return o.d}),n.d(e,"d",function(){return o.a}),n.d(e,"e",function(){return o.b}),n.d(e,"f",function(){return o.e});var i=n(1);n.d(e,"g",function(){return i.e}),n.d(e,"h",function(){return i.o}),n.d(e,"i",function(){return i.p}),n.d(e,"j",function(){return i.h}),n.d(e,"k",function(){return i.q}),n.d(e,"l",function(){return i.r}),n.d(e,"m",function(){return i.j}),n.d(e,"n",function(){return i.g}),n.d(e,"o",function(){return i.k}),n.d(e,"p",function(){return i.i}),n.d(e,"q",function(){return i.f}),n.d(e,"r",function(){return i.s}),n.d(e,"s",function(){return i.t}),n.d(e,"t",function(){return i.u}),n.d(e,"u",function(){return i.v}),n.d(e,"v",function(){return i.w}),n.d(e,"w",function(){return i.x}),n.d(e,"x",function(){return i.y}),n.d(e,"y",function(){return i.z}),n.d(e,"z",function(){return i.A}),n.d(e,"A",function(){return i.B}),n.d(e,"B",function(){return i.C}),n.d(e,"C",function(){return i.D}),n.d(e,"D",function(){return i.E}),n.d(e,"E",function(){return i.F}),n.d(e,"F",function(){return i.G}),n.d(e,"G",function(){return i.H}),n.d(e,"H",function(){return i.I}),n.d(e,"I",function(){return i.J}),n.d(e,"J",function(){return i.K}),n.d(e,"K",function(){return i.L}),n.d(e,"L",function(){return i.M}),n.d(e,"M",function(){return i.N}),n.d(e,"N",function(){return i.n}),n.d(e,"O",function(){return i.O}),n.d(e,"P",function(){return i.P}),n.d(e,"Q",function(){return i.Q}),n.d(e,"R",function(){return i.R}),n.d(e,"S",function(){return i.S}),n.d(e,"T",function(){return i.T}),n.d(e,"U",function(){return i.U}),n.d(e,"V",function(){return i.V}),n.d(e,"W",function(){return i.W}),n.d(e,"X",function(){return i.X}),n.d(e,"Y",function(){return i.Y}),n.d(e,"Z",function(){return i.Z}),n.d(e,"_0",function(){return i._0}),n.d(e,"_1",function(){return i._1}),n.d(e,"_2",function(){return i._2}),n.d(e,"_3",function(){return i._3}),n.d(e,"_4",function(){return i.c}),n.d(e,"_5",function(){return i._4}),n.d(e,"_6",function(){return i._5}),n.d(e,"_7",function(){return i._6}),n.d(e,"_8",function(){return i._7}),n.d(e,"_9",function(){return i._8}),n.d(e,"_10",function(){return i._9}),n.d(e,"_11",function(){return i._10}),n.d(e,"_12",function(){return i._11}),n.d(e,"_13",function(){return i._12}),n.d(e,"_14",function(){return i._13}),n.d(e,"_15",function(){return i._14}),n.d(e,"_16",function(){return i._15}),n.d(e,"_17",function(){return i._16}),n.d(e,"_18",function(){return i._17}),n.d(e,"_19",function(){return i._18}),n.d(e,"_20",function(){return i._19}),n.d(e,"_21",function(){return i._20}),n.d(e,"_22",function(){return i.l}),n.d(e,"_23",function(){return i.m}),n.d(e,"_24",function(){return i.a}),n.d(e,"_25",function(){return i.d}),n.d(e,"_26",function(){return i._21}),n.d(e,"_27",function(){return i.b}),n.d(e,"_28",function(){return i._22});var s=n(10);n.d(e,"_29",function(){return s.a}),n.d(e,"_30",function(){return s.b}),n.d(e,"_31",function(){return s.c}),n.d(e,"_32",function(){return s.d}),n.d(e,"_33",function(){return s.e}),n.d(e,"_34",function(){return s.f}),n.d(e,"_35",function(){return s.g}),n.d(e,"_36",function(){return s.h}),n.d(e,"_37",function(){return s.i}),n.d(e,"_38",function(){return s.j}),n.d(e,"_39",function(){return s.k}),n.d(e,"_40",function(){return s.l}),n.d(e,"_41",function(){return s.m}),n.d(e,"_42",function(){return s.n})},function(t,n){t.exports=e},function(t,e){t.exports=n},function(t,e,n){"use strict";n.d(e,"c",function(){return r}),n.d(e,"d",function(){return o}),n.d(e,"a",function(){return i}),n.d(e,"b",function(){return s}),n.d(e,"e",function(){return c});var r;!function(t){t.Classic="Classic",t.Simplified="Simplified"}(r||(r={}));var o;!function(t){t.Row="Row",t.Column="Column"}(o||(o={}));var i;!function(t){t[t.Large=4]="Large",t[t.Medium=2]="Medium",t[t.Small=1]="Small"}(i||(i={}));var s;!function(t){t[t.Classic=4]="Classic",t[t.Simplified=2]="Simplified",t[t.Overflow=1]="Overflow",t[t.Auto=7]="Auto"}(s||(s={}));var c;!function(t){t.Button="Button",t.CheckBox="CheckBox",t.ColorPicker="ColorPicker",t.ComboBox="ComboBox",t.DropDown="DropDown",t.SplitButton="SplitButton",t.Template="Template"}(c||(c={}))},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),i([n.i(r.Property)("")],e.prototype,"cssClass",void 0),i([n.i(r.Property)("")],e.prototype,"id",void 0),i([n.i(r.Property)("")],e.prototype,"title",void 0),i([n.i(r.Property)("")],e.prototype,"content",void 0),i([n.i(r.Property)("")],e.prototype,"iconCss",void 0),e}(r.ChildProperty)},function(t,e){t.exports=r},function(t,e){t.exports=o},function(t,e,n){"use strict";var r=n(25);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b}),n.d(e,"c",function(){return r.c}),n.d(e,"d",function(){return r.d}),n.d(e,"e",function(){return r.e}),n.d(e,"f",function(){return r.f}),n.d(e,"g",function(){return r.g}),n.d(e,"h",function(){return r.h}),n.d(e,"i",function(){return r.i}),n.d(e,"j",function(){return r.j}),n.d(e,"k",function(){return r.k}),n.d(e,"l",function(){return r.l}),n.d(e,"m",function(){return r.m}),n.d(e,"n",function(){return r.n}),n.d(e,"o",function(){return r.o}),n.d(e,"p",function(){return r.p}),n.d(e,"q",function(){return r.q}),n.d(e,"r",function(){return r.r}),n.d(e,"s",function(){return r.s}),n.d(e,"t",function(){return r.t}),n.d(e,"u",function(){return r.u}),n.d(e,"v",function(){return r.v}),n.d(e,"w",function(){return r.w}),n.d(e,"x",function(){return r.x}),n.d(e,"y",function(){return r.y}),n.d(e,"z",function(){return r.z}),n.d(e,"A",function(){return r.A}),n.d(e,"B",function(){return r.B}),n.d(e,"C",function(){return r.C}),n.d(e,"D",function(){return r.D}),n.d(e,"E",function(){return r.E}),n.d(e,"F",function(){return r.F}),n.d(e,"G",function(){return r.G}),n.d(e,"H",function(){return r.H}),n.d(e,"I",function(){return r.I}),n.d(e,"J",function(){return r.J}),n.d(e,"K",function(){return r.K}),n.d(e,"L",function(){return r.L}),n.d(e,"M",function(){return r.M}),n.d(e,"N",function(){return r.N}),n.d(e,"O",function(){return r.O}),n.d(e,"P",function(){return r.P}),n.d(e,"Q",function(){return r.Q}),n.d(e,"R",function(){return r.R}),n.d(e,"S",function(){return r.S}),n.d(e,"T",function(){return r.T}),n.d(e,"U",function(){return r.U}),n.d(e,"V",function(){return r.V}),n.d(e,"W",function(){return r.W}),n.d(e,"X",function(){return r.X}),n.d(e,"Y",function(){return r.Y}),n.d(e,"Z",function(){return r.Z}),n.d(e,"_0",function(){return r._0}),n.d(e,"_1",function(){return r._1}),n.d(e,"_2",function(){return r._2}),n.d(e,"_3",function(){return r._3}),n.d(e,"_4",function(){return r._4}),n.d(e,"_5",function(){return r._5}),n.d(e,"_6",function(){return r._6}),n.d(e,"_7",function(){return r._7}),n.d(e,"_8",function(){return r._8}),n.d(e,"_9",function(){return r._9}),n.d(e,"_10",function(){return r._10}),n.d(e,"_11",function(){return r._11}),n.d(e,"_12",function(){return r._12}),n.d(e,"_13",function(){return r._13}),n.d(e,"_14",function(){return r._14}),n.d(e,"_15",function(){return r._15}),n.d(e,"_16",function(){return r._16}),n.d(e,"_17",function(){return r._17}),n.d(e,"_18",function(){return r._18}),n.d(e,"_19",function(){return r._19}),n.d(e,"_20",function(){return r._20}),n.d(e,"_21",function(){return r._21}),n.d(e,"_22",function(){return r._22}),n.d(e,"_23",function(){return r._23}),n.d(e,"_24",function(){return r._24}),n.d(e,"_25",function(){return r._25}),n.d(e,"_26",function(){return r._26}),n.d(e,"_27",function(){return r._27}),n.d(e,"_28",function(){return r._28}),n.d(e,"_29",function(){return r._29}),n.d(e,"_30",function(){return r._30}),n.d(e,"_31",function(){return r._31}),n.d(e,"_32",function(){return r._32}),n.d(e,"_33",function(){return r._33}),n.d(e,"_34",function(){return r._34}),n.d(e,"_35",function(){return r._35}),n.d(e,"_36",function(){return r._36}),n.d(e,"_37",function(){return r._37}),n.d(e,"_38",function(){return r._38}),n.d(e,"_39",function(){return r._39}),n.d(e,"_40",function(){return r._40}),n.d(e,"_41",function(){return r._41}),n.d(e,"_42",function(){return r._42}),n.d(e,"_43",function(){return r._43}),n.d(e,"_44",function(){return r._44}),n.d(e,"_45",function(){return r._45}),n.d(e,"_46",function(){return r._46}),n.d(e,"_47",function(){return r._47}),n.d(e,"_48",function(){return r._48}),n.d(e,"_49",function(){return r._49}),n.d(e,"_50",function(){return r._50}),n.d(e,"_51",function(){return r._51}),n.d(e,"_52",function(){return r._52}),n.d(e,"_53",function(){return r._53}),n.d(e,"_54",function(){return r._54}),n.d(e,"_55",function(){return r._55}),n.d(e,"_56",function(){return r._56}),n.d(e,"_57",function(){return r._57}),n.d(e,"_58",function(){return r._58}),n.d(e,"_59",function(){return r._59}),n.d(e,"_60",function(){return r._60}),n.d(e,"_61",function(){return r._61})},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<t.length;n++)if(e(t[parseInt(n.toString(),10)],n))return n;return-1}function o(t){if("string"==typeof t){var e="";try{var r=n.i(m.select)(t);e=r?"SCRIPT"===r.tagName?r.innerHTML:r.outerHTML:t}catch(n){e=t}return n.i(m.compile)(e)}return n.i(m.compile)(t)}function i(t,e){for(var n=0;n<t.length;n++)for(var r=t[parseInt(n.toString(),10)],o=0;o<r.groups.length;o++)for(var i=r.groups[parseInt(o.toString(),10)],s=0;s<i.collections.length;s++)for(var c=i.collections[parseInt(s.toString(),10)],l=0;l<c.items.length;l++){var a=c.items[parseInt(l.toString(),10)];if(a.id===e)return{item:a,collection:c,group:i,tabIndex:n,groupIndex:o,collectionIndex:s,itemIndex:l}}return null}function s(t,e){for(var n=0;n<t.length;n++)for(var r=t[parseInt(n.toString(),10)],o=0;o<r.groups.length;o++)for(var i=r.groups[parseInt(o.toString(),10)],s=0;s<i.collections.length;s++){var c=i.collections[parseInt(s.toString(),10)];if(c.id===e)return{collection:c,group:i,tabIndex:n,groupIndex:o,collectionIndex:s}}return null}function c(t,e){for(var n=0;n<t.length;n++)for(var r=t[parseInt(n.toString(),10)],o=0;o<r.groups.length;o++){var i=r.groups[parseInt(o.toString(),10)];if(i.id===e)return{group:i,tabIndex:n,groupIndex:o}}return null}function l(t,e){n.i(m.getComponent)(t,e).destroy()}function a(t,e,r){n.i(m.getComponent)(t,e).setProperties(r)}function u(t,e,r){n.i(m.getComponent)(t,e).setProperties("combobox"===e?{enabled:!r}:{disabled:r})}function p(t,e,r){if(!r&&!(r=i(t.tabs,e)))return null;var o=t.tabObj.items[r.tabIndex].content;if(""===o.innerHTML)return null;if(t.activeLayout===g.c.Classic)return r.item.displayOptions&g.b.Classic?(o=r.group.isCollapsed?t.ribbonDropDownModule.getOverflowDropDownPopup(r,o):o,o.querySelector("#"+e)):null;var s=r.item.displayOptions&g.b.Simplified?o.querySelector("#"+r.item.id):null;if(!s){s=(r.group.enableGroupOverflow?n.i(m.getComponent)(o.querySelector("#"+r.group.id+_._16),S.DropDownButton):t.overflowDDB).target.querySelector("#"+r.item.id)}return s}function d(t){return!!(t.content||t.iconCss||t.title||t.id||t.cssClass)}function f(t,e,n){var r=t.target.getAttribute("id"),o=n.filter(function(t){return t.id===r})[0],i=o.data,s=e.createElement("div",{id:i.id?_._7+"_"+i.id:_._7});if(e.element.append(s),i.title){var c=e.createElement("div",{innerHTML:i.title,className:_._4});s.appendChild(c)}var l=e.createElement("div",{className:_._8});if(s.appendChild(l),i.iconCss){var a=e.createElement("div",{className:i.iconCss+" "+_._6});l.appendChild(a)}if(i.content){var u=e.createElement("div",{innerHTML:i.content,className:_._5});l.appendChild(u)}e.setProperties({content:s,cssClass:i.cssClass?i.cssClass+" "+_._3:_._3})}function h(t,e){function n(t){f(t,r,e.tooltipData)}var r=new y.Tooltip({target:"."+_.c,beforeRender:n.bind(this),windowCollision:!0});r.appendTo(t)}function b(t){n.i(m.getComponent)(t,y.Tooltip).destroy()}function v(t,e){n.i(m.getComponent)(t,y.Tooltip).setProperties(e)}e.a=r,e.b=o,e.c=i,e.d=s,e.e=c,e.f=l,e.g=a,e.h=u,e.i=p,e.j=d,e.k=f,e.l=h,e.m=b,e.n=v;var m=n(0),y=(n.n(m),n(23)),g=(n.n(y),n(5)),_=n(1),S=n(3);n.n(S)},function(t,e,n){"use strict";var r=n(28);n.d(e,"a",function(){return r.a});var o=n(29);n.d(e,"b",function(){return o.a});var i=n(30);n.d(e,"c",function(){return i.a});var s=n(31);n.d(e,"d",function(){return s.a});var c=n(32);n.d(e,"e",function(){return c.a});var l=n(33);n.d(e,"f",function(){return l.a})},function(t,e,n){"use strict";var r=n(35);n.d(e,"a",function(){return r.a});var o=n(19);n.d(e,"b",function(){return o.a});var i=n(15);n.d(e,"c",function(){return i.a});var s=n(20);n.d(e,"d",function(){return s.a});var c=n(13);n.d(e,"e",function(){return c.a});var l=n(14);n.d(e,"f",function(){return l.a});var a=n(16);n.d(e,"g",function(){return a.a});var u=n(17);n.d(e,"h",function(){return u.a});var p=n(18);n.d(e,"i",function(){return p.a});var d=n(21);n.d(e,"j",function(){return d.a});var f=n(34);n.d(e,"k",function(){return f.a});var h=n(6);n.d(e,"l",function(){return h.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},i([n.i(r.Property)("")],e.prototype,"content",void 0),i([n.i(r.Property)("")],e.prototype,"cssClass",void 0),i([n.i(r.Property)("")],e.prototype,"iconCss",void 0),i([n.i(r.Property)(!1)],e.prototype,"isToggle",void 0),i([n.i(r.Property)(!1)],e.prototype,"isPrimary",void 0),i([n.i(r.Event)()],e.prototype,"created",void 0),i([n.i(r.Event)()],e.prototype,"clicked",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},i([n.i(r.Property)(!1)],e.prototype,"checked",void 0),i([n.i(r.Property)("")],e.prototype,"cssClass",void 0),i([n.i(r.Property)("")],e.prototype,"label",void 0),i([n.i(r.Property)("After")],e.prototype,"labelPosition",void 0),i([n.i(r.Event)()],e.prototype,"created",void 0),i([n.i(r.Event)()],e.prototype,"change",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(0),o=(n.n(r),n(20)),i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},s([n.i(r.Property)("")],e.prototype,"id",void 0),s([n.i(r.Property)("")],e.prototype,"cssClass",void 0),s([n.i(r.Collection)([],o.a)],e.prototype,"items",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},i([n.i(r.Property)(10)],e.prototype,"columns",void 0),i([n.i(r.Property)("")],e.prototype,"cssClass",void 0),i([n.i(r.Property)(!0)],e.prototype,"enableOpacity",void 0),i([n.i(r.Property)("Picker")],e.prototype,"mode",void 0),i([n.i(r.Property)(!0)],e.prototype,"modeSwitcher",void 0),i([n.i(r.Property)(!1)],e.prototype,"noColor",void 0),i([n.i(r.Property)(null)],e.prototype,"presetColors",void 0),i([n.i(r.Property)(!0)],e.prototype,"showButtons",void 0),i([n.i(r.Property)("#008000ff")],e.prototype,"value",void 0),i([n.i(r.Event)()],e.prototype,"beforeClose",void 0),i([n.i(r.Event)()],e.prototype,"beforeOpen",void 0),i([n.i(r.Event)()],e.prototype,"beforeTileRender",void 0),i([n.i(r.Event)()],e.prototype,"created",void 0),i([n.i(r.Event)()],e.prototype,"change",void 0),i([n.i(r.Event)()],e.prototype,"open",void 0),i([n.i(r.Event)()],e.prototype,"select",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(0),o=(n.n(r),n(22)),i=(n.n(o),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),s=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},s([n.i(r.Property)(!1)],e.prototype,"allowFiltering",void 0),s([n.i(r.Property)(!0)],e.prototype,"autofill",void 0),s([n.i(r.Property)("")],e.prototype,"cssClass",void 0),s([n.i(r.Property)([])],e.prototype,"dataSource",void 0),s([n.i(r.Complex)({text:null,value:null,iconCss:null,groupBy:null},o.FieldSettings)],e.prototype,"fields",void 0),s([n.i(r.Property)("Contains")],e.prototype,"filterType",void 0),s([n.i(r.Property)(null)],e.prototype,"footerTemplate",void 0),s([n.i(r.Property)(null)],e.prototype,"groupTemplate",void 0),s([n.i(r.Property)(null)],e.prototype,"headerTemplate",void 0),s([n.i(r.Property)(null)],e.prototype,"index",void 0),s([n.i(r.Property)(null)],e.prototype,"itemTemplate",void 0),s([n.i(r.Property)("No records found")],e.prototype,"noRecordsTemplate",void 0),s([n.i(r.Property)(null)],e.prototype,"placeholder",void 0),s([n.i(r.Property)("300px")],e.prototype,"popupHeight",void 0),s([n.i(r.Property)("100%")],e.prototype,"popupWidth",void 0),s([n.i(r.Property)(!0)],e.prototype,"showClearButton",void 0),s([n.i(r.Property)("None")],e.prototype,"sortOrder",void 0),s([n.i(r.Property)(null)],e.prototype,"text",void 0),s([n.i(r.Property)(null)],e.prototype,"value",void 0),s([n.i(r.Property)("150px")],e.prototype,"width",void 0),s([n.i(r.Event)()],e.prototype,"beforeOpen",void 0),s([n.i(r.Event)()],e.prototype,"change",void 0),s([n.i(r.Event)()],e.prototype,"close",void 0),s([n.i(r.Event)()],e.prototype,"created",void 0),s([n.i(r.Event)()],e.prototype,"filtering",void 0),s([n.i(r.Event)()],e.prototype,"open",void 0),s([n.i(r.Event)()],e.prototype,"select",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(0),o=(n.n(r),n(3)),i=(n.n(o),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),s=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},s([n.i(r.Property)("")],e.prototype,"closeActionEvents",void 0),s([n.i(r.Property)("")],e.prototype,"content",void 0),s([n.i(r.Property)("")],e.prototype,"cssClass",void 0),s([n.i(r.Property)("")],e.prototype,"iconCss",void 0),s([n.i(r.Collection)([],o.Item)],e.prototype,"items",void 0),s([n.i(r.Property)("")],e.prototype,"target",void 0),s([n.i(r.Event)()],e.prototype,"beforeClose",void 0),s([n.i(r.Event)()],e.prototype,"beforeItemRender",void 0),s([n.i(r.Event)()],e.prototype,"beforeOpen",void 0),s([n.i(r.Event)()],e.prototype,"close",void 0),s([n.i(r.Event)()],e.prototype,"created",void 0),s([n.i(r.Event)()],e.prototype,"open",void 0),s([n.i(r.Event)()],e.prototype,"select",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(0),o=(n.n(r),n(15)),i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},s([n.i(r.Collection)([],o.a)],e.prototype,"collections",void 0),s([n.i(r.Property)("")],e.prototype,"cssClass",void 0),s([n.i(r.Property)("")],e.prototype,"id",void 0),s([n.i(r.Property)(!1)],e.prototype,"isCollapsed",void 0),s([n.i(r.Property)(!0)],e.prototype,"isCollapsible",void 0),s([n.i(r.Property)(!1)],e.prototype,"enableGroupOverflow",void 0),s([n.i(r.Property)("")],e.prototype,"groupIconCss",void 0),s([n.i(r.Property)("")],e.prototype,"header",void 0),s([n.i(r.Property)("Column")],e.prototype,"orientation",void 0),s([n.i(r.Property)(0)],e.prototype,"priority",void 0),s([n.i(r.Property)(!1)],e.prototype,"showLauncherIcon",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";n.d(e,"a",function(){return h});var r=n(0),o=(n.n(r),n(5)),i=n(13),s=n(14),c=n(16),l=n(17),a=n(18),u=n(21),p=n(6),d=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},f([n.i(r.Property)(o.a.Medium)],e.prototype,"activeSize",void 0),f([n.i(r.Property)(o.a.Small|o.a.Medium|o.a.Large)],e.prototype,"allowedSizes",void 0),f([n.i(r.Property)("")],e.prototype,"id",void 0),f([n.i(r.Property)("")],e.prototype,"cssClass",void 0),f([n.i(r.Property)(!1)],e.prototype,"disabled",void 0),f([n.i(r.Property)("")],e.prototype,"itemTemplate",void 0),f([n.i(r.Property)("Button")],e.prototype,"type",void 0),f([n.i(r.Property)(o.b.Auto)],e.prototype,"displayOptions",void 0),f([n.i(r.Complex)({},p.a)],e.prototype,"ribbonTooltipSettings",void 0),f([n.i(r.Complex)({},i.a)],e.prototype,"buttonSettings",void 0),f([n.i(r.Complex)({},a.a)],e.prototype,"dropDownSettings",void 0),f([n.i(r.Complex)({},s.a)],e.prototype,"checkBoxSettings",void 0),f([n.i(r.Complex)({},c.a)],e.prototype,"colorPickerSettings",void 0),f([n.i(r.Complex)({},l.a)],e.prototype,"comboBoxSettings",void 0),f([n.i(r.Complex)({},u.a)],e.prototype,"splitButtonSettings",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(0),o=(n.n(r),n(3)),i=(n.n(o),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),s=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},s([n.i(r.Property)("")],e.prototype,"closeActionEvents",void 0),s([n.i(r.Property)("")],e.prototype,"content",void 0),s([n.i(r.Property)("")],e.prototype,"cssClass",void 0),s([n.i(r.Property)("")],e.prototype,"iconCss",void 0),s([n.i(r.Collection)([],o.Item)],e.prototype,"items",void 0),s([n.i(r.Property)("")],e.prototype,"target",void 0),s([n.i(r.Event)()],e.prototype,"beforeClose",void 0),s([n.i(r.Event)()],e.prototype,"beforeItemRender",void 0),s([n.i(r.Event)()],e.prototype,"beforeOpen",void 0),s([n.i(r.Event)()],e.prototype,"close",void 0),s([n.i(r.Event)()],e.prototype,"click",void 0),s([n.i(r.Event)()],e.prototype,"created",void 0),s([n.i(r.Event)()],e.prototype,"open",void 0),s([n.i(r.Event)()],e.prototype,"select",void 0),e}(r.ChildProperty)},function(t,e){t.exports=i},function(t,e){t.exports=s},function(t,e,n){"use strict";var r=n(43);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b});var o=n(40);n.d(e,"c",function(){return o.a}),n.d(e,"d",function(){return o.b});var i=n(39);n.d(e,"e",function(){return i.a}),n.d(e,"f",function(){return i.b});var s=n(41);n.d(e,"g",function(){return s.a}),n.d(e,"h",function(){return s.b});var c=n(42);n.d(e,"i",function(){return c.a})},function(t,e,n){"use strict";var r=n(27);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b}),n.d(e,"c",function(){return r.c}),n.d(e,"d",function(){return r.d}),n.d(e,"e",function(){return r.e}),n.d(e,"f",function(){return r.f}),n.d(e,"g",function(){return r.g}),n.d(e,"h",function(){return r.h}),n.d(e,"i",function(){return r.i}),n.d(e,"j",function(){return r.j}),n.d(e,"k",function(){return r.k}),n.d(e,"l",function(){return r.l}),n.d(e,"m",function(){return r.m}),n.d(e,"n",function(){return r.n}),n.d(e,"o",function(){return r.o}),n.d(e,"p",function(){return r.p}),n.d(e,"q",function(){return r.q}),n.d(e,"r",function(){return r.r}),n.d(e,"s",function(){return r.s}),n.d(e,"t",function(){return r.t}),n.d(e,"u",function(){return r.u}),n.d(e,"v",function(){return r.v}),n.d(e,"w",function(){return r.w}),n.d(e,"x",function(){return r.x}),n.d(e,"y",function(){return r.y}),n.d(e,"z",function(){return r.z}),n.d(e,"A",function(){return r.A}),n.d(e,"B",function(){return r.B}),n.d(e,"C",function(){return r.C}),n.d(e,"D",function(){return r.D}),n.d(e,"E",function(){return r.E}),n.d(e,"F",function(){return r.F}),n.d(e,"G",function(){return r.G}),n.d(e,"H",function(){return r.H}),n.d(e,"I",function(){return r.I}),n.d(e,"J",function(){return r.J}),n.d(e,"K",function(){return r.K}),n.d(e,"L",function(){return r.L}),n.d(e,"M",function(){return r.M}),n.d(e,"N",function(){return r.N}),n.d(e,"O",function(){return r.O}),n.d(e,"P",function(){return r.P}),n.d(e,"Q",function(){return r.Q}),n.d(e,"R",function(){return r.R}),n.d(e,"S",function(){return r.S}),n.d(e,"T",function(){return r.T}),n.d(e,"U",function(){return r.U}),n.d(e,"V",function(){return r.V}),n.d(e,"W",function(){return r.W}),n.d(e,"X",function(){return r.X}),n.d(e,"Y",function(){return r.Y}),n.d(e,"Z",function(){return r.Z}),n.d(e,"_0",function(){return r._0}),n.d(e,"_1",function(){return r._1}),n.d(e,"_2",function(){return r._2}),n.d(e,"_3",function(){return r._3}),n.d(e,"_4",function(){return r._4}),n.d(e,"_5",function(){return r._5}),n.d(e,"_6",function(){return r._6}),n.d(e,"_7",function(){return r._7}),n.d(e,"_8",function(){return r._8}),n.d(e,"_9",function(){return r._9}),n.d(e,"_10",function(){return r._10}),n.d(e,"_11",function(){return r._11}),n.d(e,"_12",function(){return r._12}),n.d(e,"_13",function(){return r._13}),n.d(e,"_14",function(){return r._14}),n.d(e,"_15",function(){return r._15}),n.d(e,"_16",function(){return r._16}),n.d(e,"_17",function(){return r._17}),n.d(e,"_18",function(){return r._18}),n.d(e,"_19",function(){return r._19}),n.d(e,"_20",function(){return r._20}),n.d(e,"_21",function(){return r._21}),n.d(e,"_22",function(){return r._22}),n.d(e,"_23",function(){return r._23}),n.d(e,"_24",function(){return r._24}),n.d(e,"_25",function(){return r._25}),n.d(e,"_26",function(){return r._26}),n.d(e,"_27",function(){return r._27}),n.d(e,"_28",function(){return r._28}),n.d(e,"_29",function(){return r._29}),n.d(e,"_30",function(){return r._30}),n.d(e,"_31",function(){return r._31}),n.d(e,"_32",function(){return r._32}),n.d(e,"_33",function(){return r._33}),n.d(e,"_34",function(){return r._34}),n.d(e,"_35",function(){return r._35}),n.d(e,"_36",function(){return r._36}),n.d(e,"_37",function(){return r._37}),n.d(e,"_38",function(){return r._38}),n.d(e,"_39",function(){return r._39}),n.d(e,"_40",function(){return r._40}),n.d(e,"_41",function(){return r._41}),n.d(e,"_42",function(){return r._42}),n.d(e,"_43",function(){return r._43}),n.d(e,"_44",function(){return r._44}),n.d(e,"_45",function(){return r._45}),n.d(e,"_46",function(){return r._46}),n.d(e,"_47",function(){return r._47}),n.d(e,"_48",function(){return r._48}),n.d(e,"_49",function(){return r._49}),n.d(e,"_50",function(){return r._50}),n.d(e,"_51",function(){return r._51}),n.d(e,"_52",function(){return r._52}),n.d(e,"_53",function(){return r._53}),n.d(e,"_54",function(){return r._54}),n.d(e,"_55",function(){return r._55}),n.d(e,"_56",function(){return r._56}),n.d(e,"_57",function(){return r._57}),n.d(e,"_58",function(){return r._58}),n.d(e,"_59",function(){return r._59}),n.d(e,"_60",function(){return r._60}),n.d(e,"_61",function(){return r._61})},function(t,e,n){"use strict";n.d(e,"a",function(){return h});var r=n(0),o=(n.n(r),n(8)),i=(n.n(o),n(12)),s=n(5),c=n(11),l=n(10),a=n(1),u=n(3),p=(n.n(u),n(7)),d=(n.n(p),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),f=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},h=function(t){function e(e,n){return h.Inject(c.a,c.b,c.e,c.f,c.d),t.call(this,e,n)||this}d(e,t),h=e,e.prototype.render=function(){this.initialize()},e.prototype.preRender=function(){this.idIndex=0,this.tooltipData=[],this.isAddRemove=!1,this.keyConfigs={leftarrow:"leftarrow",rightarrow:"rightarrow",tab:"tab",shiftTab:"shift+tab"}},e.prototype.getPersistData=function(){return this.addOnPersist(["activeLayout"])},e.prototype.getModuleName=function(){return"ribbon"},e.prototype.requiredModules=function(){var t=[];return t.push({member:"ribbonButton",args:[this]},{member:"ribbonDropDown",args:[this]},{member:"ribbonSplitButton",args:[this]},{member:"ribbonCheckBox",args:[this]},{member:"ribbonColorPicker",args:[this]},{member:"ribbonComboBox",args:[this]},{member:"ribbonFileMenu",args:[this]}),t},e.prototype.initialize=function(){this.element.id=this.element.id||n.i(r.getUniqueID)("e-"+this.getModuleName()),n.i(r.addClass)([this.element],["e-rbn"].concat(this.cssClass?this.cssClass.split(a.f):[])),this.enableRtl&&this.element.classList.add(a.r),this.element.style.width=n.i(r.formatUnit)(this.width),this.renderTabs(),this.ribbonFileMenuModule&&this.ribbonFileMenuModule.createFileMenu(this.fileMenu),this.createHelpPaneTemplate(),this.tabObj.tbObj.refreshOverflow(),n.i(l.l)(this.element,this),this.wireEvents(),this.wireKeyboardEvent(),this.currentControlIndex=0},e.prototype.wireEvents=function(){r.EventHandler.add(window,"resize",this.resizeHandler,this)},e.prototype.wireKeyboardEvent=function(){this.keyboardModuleRibbon=new r.KeyboardEvents(this.element,{keyAction:this.keyActionHandler.bind(this),keyConfigs:this.keyConfigs,eventName:"keydown"})},e.prototype.keyActionHandler=function(t){"Tab"!==t.key||t.target.classList.contains("e-tab-wrap")||t.target.classList.contains("e-combobox")||t.preventDefault();var e,n=this.tabObj.element.querySelector("#"+this.tabs[this.selectedTab].id+a._19),r=n.querySelectorAll(".e-control"),o=n.querySelectorAll(".e-combobox");if(o)for(var i=0;i<o.length;i++)o[parseInt(i.toString(),10)].closest(".e-input-focus")&&(e=o[parseInt(i.toString(),10)]);if(e)for(var i=0;i<r.length;i++)r[parseInt(i.toString(),10)].classList.contains("e-combobox")&&r[parseInt(i.toString(),10)].closest(".e-input-focus")&&(this.currentControlIndex=i);if(0===this.currentControlIndex)for(var s=r[this.currentControlIndex].closest(".e-ribbon-item");s&&s.classList.contains("e-disabled");)this.currentControlIndex++,s=r[this.currentControlIndex].closest(".e-ribbon-item");if(t.target.classList.contains("e-control")||t.target.classList.contains("e-ribbon-launcher-icon")||t.target.classList.contains("e-ribbon-collapse-btn")||t.target.classList.contains("e-ribbon-last-item")||t.target.classList.contains("e-ribbon-first-item")||t.target.classList.contains("e-ribbon-group-of-btn")||t.target.classList.contains("e-ribbon-overall-of-btn"))switch(t.action){case"rightarrow":this.handleNavigation(t,!this.enableRtl,r);break;case"leftarrow":this.handleNavigation(t,this.enableRtl,r);break;case"tab":t.target.classList.contains("e-combobox")&&this.currentControlIndex<r.length-1&&this.currentControlIndex++;break;case"shiftTab":t.target.classList.contains("e-combobox")?this.currentControlIndex>0&&this.currentControlIndex--:(this.tabObj.element.querySelector(".e-toolbar-item.e-active").querySelector(".e-tab-wrap").focus(),this.currentControlIndex=0)}},e.prototype.handleNavigation=function(t,e,n){var r,o;if(e?this.currentControlIndex<n.length-1&&n[this.currentControlIndex+1].classList.contains("e-colorpicker")&&this.currentControlIndex++:this.currentControlIndex>0&&n[this.currentControlIndex-1].classList.contains("e-colorpicker")&&this.currentControlIndex--,!e&&this.currentControlIndex>0||e&&this.currentControlIndex<n.length-1){if(!t.target.classList.contains("e-combobox")&&t.target.classList.contains("e-control")&&!t.target.classList.contains("e-ribbon-last-item")){if(e)this.currentControlIndex++;else{var i=n[parseInt(this.currentControlIndex.toString(),10)].closest("."+a.H);i&&(o=i.getAttribute("id")),this.currentControlIndex--}for(var s=n[this.currentControlIndex].closest(".e-ribbon-item");s&&s.classList.contains("e-disabled");){if((e&&this.currentControlIndex===n.length-1||!e&&0===this.currentControlIndex)&&n[this.currentControlIndex].closest(".e-ribbon-item").classList.contains("e-disabled")){this.tabObj.element.querySelector(".e-ribbon-collapse-btn").focus();break}e?this.currentControlIndex++:this.currentControlIndex--,s=n[this.currentControlIndex].closest(".e-ribbon-item")}if(n[parseInt(this.currentControlIndex.toString(),10)].focus(),"Classic"===this.activeLayout){if(r=n[parseInt(this.currentControlIndex.toString(),10)].closest("."+a.H),e){var c=void 0;if(r&&(c=r.querySelector(".e-ribbon-launcher-icon")),c){var l=r.querySelectorAll(".e-ribbon-item");l[l.length-1].querySelector(".e-control").classList.add("e-ribbon-last-item")}}else if(r){var u=r.getAttribute("id");if(o!==u){var c=r.querySelector(".e-ribbon-launcher-icon");c&&n[parseInt((this.currentControlIndex+1).toString(),10)].classList.add("e-ribbon-first-item")}}}else n[parseInt(this.currentControlIndex.toString(),10)].classList.contains("e-ribbon-first-item")?n[parseInt(this.currentControlIndex.toString(),10)].classList.remove("e-ribbon-first-item"):n[parseInt(this.currentControlIndex.toString(),10)].classList.contains("e-ribbon-last-item")&&n[parseInt(this.currentControlIndex.toString(),10)].classList.remove("e-ribbon-last-item")}}else if("Classic"===this.activeLayout&&this.tabObj.element.querySelector(".e-ribbon-collapse-btn").focus(),"Simplified"===this.activeLayout){var p=this.tabObj.element.querySelector(".e-ribbon-overall-of-btn");e&&p&&!p.classList.contains("e-ribbon-hide")?p.focus():this.tabObj.element.querySelector(".e-ribbon-collapse-btn").focus()}if(t.target.classList.contains("e-ribbon-last-item")&&(e?(r=n[parseInt(this.currentControlIndex.toString(),10)].closest("."+a.H),r.querySelector(".e-ribbon-launcher-icon").focus()):(this.currentControlIndex--,n[parseInt(this.currentControlIndex.toString(),10)].focus())),!e&&t.target.classList.contains("e-ribbon-first-item")){r=n[parseInt((this.currentControlIndex-1).toString(),10)].closest("."+a.H);var c=r.querySelector(".e-ribbon-launcher-icon");c&&r.querySelector(".e-ribbon-launcher-icon").focus()}if(t.target.classList.contains("e-ribbon-launcher-icon")&&(e?(this.currentControlIndex++,n[parseInt(this.currentControlIndex.toString(),10)].focus(),n[parseInt((this.currentControlIndex-1).toString(),10)].classList.contains("e-ribbon-last-item")&&n[parseInt((this.currentControlIndex-1).toString(),10)].classList.remove("e-ribbon-last-item")):(this.currentControlIndex,n[parseInt(this.currentControlIndex.toString(),10)].focus())),t.target.classList.contains("e-ribbon-collapse-btn"))if(e){this.currentControlIndex=0;for(var d=n[this.currentControlIndex].closest(".e-ribbon-item");d&&d.classList.contains("e-disabled");)this.currentControlIndex++,d=n[this.currentControlIndex].closest(".e-ribbon-item");n[parseInt(this.currentControlIndex.toString(),10)].focus()}else{var p=this.tabObj.element.querySelector(".e-ribbon-overall-of-btn");if(p&&!p.classList.contains("e-ribbon-hide"))p.focus();else{this.currentControlIndex=n.length-1;for(var d=n[this.currentControlIndex].closest(".e-ribbon-item");d&&d.classList.contains("e-disabled");)this.currentControlIndex--,d=n[this.currentControlIndex].closest(".e-ribbon-item");n[parseInt(this.currentControlIndex.toString(),10)].focus()}}"Simplified"===this.activeLayout&&t.target.classList.contains("e-ribbon-overall-of-btn")&&(e?this.tabObj.element.querySelector(".e-ribbon-collapse-btn").focus():(this.currentControlIndex=n.length-1,n[parseInt(this.currentControlIndex.toString(),10)].focus()))},e.prototype.resizeHandler=function(){var t=this.tabObj.element.querySelector("#"+this.tabs[this.selectedTab].id+a._19);if(this.checkOverflow(this.selectedTab,t),this.scrollModule){var e=this.tabObj.element.querySelector("."+a.s);this.scrollModule.scrollStep=e.offsetWidth}},e.prototype.renderTabs=function(){this.tabsInternal=this.tabs.slice(),this.tabsInternal=this.checkID(this.tabsInternal,"tab",this.element.id),this.setProperties({tabs:this.tabsInternal},!0);var t=this.createElement("div",{id:this.element.id+a._10});this.element.appendChild(t),this.validateItemSize();var e=this.createTabItems(this.tabs);this.tabObj=new o.Tab({cssClass:a.u,selectedItem:this.selectedTab,overflowMode:"Popup",width:this.width,items:e,enableRtl:this.enableRtl,created:this.tabCreated.bind(this),selected:this.ribbonTabSelected.bind(this),selecting:this.ribbonTabSelecting.bind(this)}),this.tabObj.appendTo(t),this.element.style.setProperty(a.b,"0px"),this.element.style.setProperty(a._22,"0px");var i=t.querySelector(".e-toolbar");n.i(r.getComponent)(i,o.Toolbar).setProperties({width:"calc(100% - var(--fileMenuWidth) - var(--helpTemplateWidth))"}),this.element.classList[this.isMinimized?"add":"remove"](a.F)},e.prototype.minimize=function(t){var e=this;if(t!==this.isMinimized){var n={cancel:!1};this.trigger(t?"ribbonCollapsing":"ribbonExpanding",n,function(n){n.cancel||(e.setProperties({isMinimized:t},!0),e.element.classList.toggle(a.F,e.isMinimized),e.tabObj.element.querySelector(".e-content").style.display=t?"none":"block",t||e.refreshLayout())})}},e.prototype.toggleLayout=function(){this.setProperties({activeLayout:"Simplified"===this.activeLayout?"Classic":"Simplified"},!0),this.switchLayout()},e.prototype.tabCreated=function(){this.addExpandCollapse(),this.renderInitialTab(this.selectedTab)},e.prototype.ribbonTabSelected=function(t){this.isAddRemove=!1;var e=t.selectedItem.getAttribute("data-id"),r=n.i(l.a)(this.tabs,function(t){return t.id===e});r=-1===r?this.selectedTab:r;var o={previousIndex:this.selectedTab,selectedIndex:r};if(this.setProperties({selectedTab:r},!0),this.checkOverflow(r,t.selectedContent.firstChild),"Simplified"===this.activeLayout&&this.overflowDDB){var i=this.overflowDDB.target,s=i.querySelector("."+a.v);s&&s.classList.remove(a.v);var c=i.querySelector("#"+e+a.l);c?(c.classList.add(a.v),this.overflowDDB.element.classList.remove(a.t)):this.overflowDDB.element.classList.add(a.t)}this.trigger("tabSelected",o)},e.prototype.checkOverflow=function(t,e){var n=e.closest("."+a.E),r=n.offsetWidth<e.offsetWidth;if(r&&!this.scrollModule){if("Classic"===this.activeLayout){var i=!1;i=this.checkGroupShrinking(t,n,e,!0),!i&&n.offsetWidth<e.offsetWidth&&(i=this.checkGroupShrinking(t,n,e,!1)),n.offsetWidth<e.offsetWidth&&this.createOverflowDropdown(t,n,e)}else this.checkSimplifiedItemShrinking(t,n,e),n.offsetWidth<e.offsetWidth&&this.createSimplfiedOverflow(n,e,t);n.offsetWidth<e.offsetWidth&&!this.scrollModule&&(this.scrollModule=new o.HScroll({enableRtl:this.enableRtl},this.tabObj.element.querySelector("."+a.E)))}else if(!r)if(this.destroyScroll(),"Classic"===this.activeLayout){var i=!1;i=this.removeOverflowDropdown(n,e,!1,t),!i&&n.offsetWidth>e.offsetWidth&&(i=this.checkGroupExpanding(t,n,e,!0)),!i&&n.offsetWidth>e.offsetWidth&&(i=this.checkGroupExpanding(t,n,e,!1))}else this.removeSimplfiedOverflow(n,e,t),n.offsetWidth>e.offsetWidth&&this.checkSimplifiedItemExpanding(t,n,e)},e.prototype.checkSimplifiedItemShrinking=function(t,e,n){for(var r=this.tabs[parseInt(t.toString(),10)],o=r.groups.length-1;o>=0;o--)for(var i=r.groups[parseInt(o.toString(),10)],c=e.querySelector("#"+i.id+a._20),l=0;l<i.collections.length&&e.offsetWidth<n.offsetWidth;l++)for(var u=i.collections[parseInt(l.toString(),10)],p=u.items.length;p>=1&&e.offsetWidth<n.offsetWidth;p--){var d=u.items[p-1];if(d.allowedSizes&s.a.Small&&d.allowedSizes&s.a.Medium&&d.activeSize===s.a.Medium&&d.displayOptions&s.b.Simplified){var f=c.querySelector("#"+d.id+a._20);if(f){var h=f.querySelector("#"+d.id);f.setAttribute("data-medium-width",n.offsetWidth.toString()),d.setProperties({activeSize:s.a.Small},!0),this.setItemSize(h,d)}}}},e.prototype.checkSimplifiedItemExpanding=function(t,e,n){for(var r=this.tabs[parseInt(t.toString(),10)],o=r.groups.length-1;o>=0;o--)for(var i=r.groups[parseInt(o.toString(),10)],c=e.querySelector("#"+i.id+a._20),l=0;l<i.collections.length&&e.offsetWidth>n.offsetWidth;l++)for(var u=i.collections[parseInt(l.toString(),10)],p=u.items.length;p>=1&&e.offsetWidth>n.offsetWidth;p--){var d=u.items[p-1];if(d.allowedSizes&s.a.Small&&d.allowedSizes&s.a.Medium&&d.activeSize===s.a.Small&&d.displayOptions&s.b.Simplified){var f=c.querySelector("#"+d.id+a._20);if(f){var h=f.getAttribute("data-medium-width"),b=h?parseInt(h,10):null;if(b&&e.offsetWidth>b){f.removeAttribute("data-medium-width");var v=f.querySelector("#"+d.id);d.setProperties({activeSize:s.a.Medium},!0),this.setItemSize(v,d)}}}}},e.prototype.createSimplfiedOverflow=function(t,e,o){for(var i=this.getGroupResizeOrder(!0,o),c=0;c<i.length&&t.offsetWidth<e.offsetWidth;c++){for(var l=i[parseInt(c.toString(),10)],u=t.querySelector("#"+l.id),p=u.querySelector("#"+l.id+a._20),d=l.collections.length;d>=1&&t.offsetWidth<e.offsetWidth;d--)for(var f=l.collections[parseInt((d-1).toString(),10)],h=u.querySelector("#"+f.id),b=f.items.length;b>=1&&t.offsetWidth<e.offsetWidth;b--){var v=f.items[b-1],m=h.querySelector("#"+v.id+a._20);if((v.displayOptions===s.b.Auto||v.displayOptions===(s.b.Simplified|s.b.Overflow))&&!n.i(r.isNullOrUndefined)(m)){if(m.setAttribute("data-simplified-width",e.offsetWidth.toString()),this.createOverflowPopup(v,o,l.enableGroupOverflow,l.id,l.header,m,p),v.activeSize===s.a.Small){var y=m.querySelector("#"+v.id);v.setProperties({activeSize:s.a.Medium},!0),this.setItemSize(y,v)}v.type!==s.e.DropDown&&v.type!==s.e.SplitButton||this.updatePopupItems(v,m,l.enableGroupOverflow,!0)}}l.enableGroupOverflow||u.querySelector("."+a.S)||u.classList.add("e-ribbon-emptyCollection")}},e.prototype.updatePopupItems=function(t,e,o,i){var c=n.i(r.getComponent)(e.querySelector("#"+t.id),t.type===s.e.DropDown?u.DropDownButton:u.SplitButton),l=c.dropDown,a=(o&&i)===this.enableRtl;l.setProperties({position:{X:a?"left":"right",Y:i?"top":"bottom"}},!0),i?c.beforeOpen=function(){a&&(l.element.style.setProperty("visibility","hidden"),l.element.style.setProperty("display","block"),l.setProperties({offsetX:-1*l.element.offsetWidth}),l.element.style.removeProperty("display"),l.element.style.removeProperty("visibility"))}:(l.setProperties({offsetX:0},!0),c.beforeOpen=null)},e.prototype.removeSimplfiedOverflow=function(t,e,o,i){void 0===i&&(i=!1);for(var c=this.getGroupResizeOrder(!1,o),l=!0,p=0;p<c.length&&l;p++){var d=c[parseInt(p.toString(),10)],f=void 0,h=void 0;if(d.enableGroupOverflow){var b=t.querySelector("#"+d.id+a._16);b&&(f=n.i(r.getInstance)(b,u.DropDownButton),h=f.target)}else f=this.overflowDDB,h=this.overflowDDB?this.overflowDDB.target:null;for(var v=0;v<d.collections.length&&l;v++)for(var m=d.collections[parseInt(v.toString(),10)],y=0;y<m.items.length&&l&&!i&&t.offsetWidth>e.offsetWidth;y++){var g=m.items[parseInt(y.toString(),10)],_=void 0;if(h&&(_=h.querySelector("#"+g.id+a._20)),(g.displayOptions===s.b.Auto||g.displayOptions===(s.b.Simplified|s.b.Overflow))&&!n.i(r.isNullOrUndefined)(_)){var S=parseInt(_.getAttribute("data-simplified-width"),10);if(!i&&t.offsetWidth<S){l=!1;break}var I=t.querySelector("#"+m.id);g.type!==s.e.DropDown&&g.type!==s.e.SplitButton||this.updatePopupItems(g,_,d.enableGroupOverflow,!1),I.append(_),this.removeOverflowEvent(g,_),g.allowedSizes&s.a.Small&&(g.setProperties({activeSize:s.a.Small},!0),this.setItemSize(_.querySelector("#"+g.id),g))}}var C=t.querySelector("#"+d.id),O=C.querySelector("."+a.S);if(C.classList.contains("e-ribbon-emptyCollection")&&null!==O&&C.classList.remove("e-ribbon-emptyCollection"),f)if(d.enableGroupOverflow)0===h.childElementCount&&this.removeOverflowButton(f);else{var w=h.querySelector("#"+d.id+a._20);w&&1===w.childElementCount&&w.remove();var P=h.querySelector("#"+this.tabs[parseInt(o.toString(),10)].id+a.l);P&&0===P.childElementCount&&(P.remove(),this.overflowDDB.element.classList.add(a.t))}}if(this.overflowDDB){0===this.overflowDDB.target.childElementCount&&(this.removeOverflowButton(this.overflowDDB),this.overflowDDB=null)}},e.prototype.createOverflowPopup=function(t,e,o,i,s,c,l){var p;if(o){var d=l.querySelector("#"+i+a._16);d?p=n.i(r.getInstance)(d,u.DropDownButton):(p=this.addOverflowButton(i+a._16),p.element.classList.add(a.B),l.appendChild(p.element)),p.target.append(c)}else{if(this.overflowDDB){this.overflowDDB.element.classList.remove(a.t);var f=this.overflowDDB.target,h=f.querySelector("#"+this.tabs[parseInt(e.toString(),10)].id+a.l);if(h){var b=f.querySelector("#"+i+a._20);b||(b=this.createGroupContainer(i,s),h.append(b)),b.append(c)}else this.createOfTabContainer(i,s,c,e)}else this.overflowDDB=this.addOverflowButton(this.tabObj.element.id+a._15),this.tabObj.element.insertBefore(this.overflowDDB.element,this.collapseButton),this.overflowDDB.element.classList.add(a.A),this.createOfTabContainer(i,s,c,e);p=this.overflowDDB}null!==c&&this.addOverflowEvents(t,c,p)},e.prototype.addOverflowEvents=function(t,e,n){switch(t.type){case"Button":this.ribbonButtonModule.addOverFlowEvents(t,e,n);break;case"DropDown":this.ribbonDropDownModule.addOverFlowEvents(t,e,n);break;case"SplitButton":this.ribbonSplitButtonModule.addOverFlowEvents(t,e,n);break;case"CheckBox":this.ribbonCheckBoxModule.addOverFlowEvents(t,e,n);break;case"ColorPicker":this.ribbonColorPickerModule.addOverFlowEvents(t,e,n);break;case"ComboBox":this.ribbonComboBoxModule.addOverFlowEvents(t,e,n)}},e.prototype.createOfTabContainer=function(t,e,n,r){var o=this.createElement("div",{id:this.tabs[parseInt(r.toString(),10)].id+a.l,className:a.I});this.overflowDDB.target.append(o);var i=this.createGroupContainer(t,e);i.append(n),o.append(i),r===this.selectedTab&&o.classList.add(a.v)},e.prototype.checkGroupShrinking=function(t,e,n,r){for(var o=!0,i=!1,s=this.tabs[parseInt(t.toString(),10)],c=s.groups.length-1;o&&c>=0;c--)i=r?this.checkLargeToMedium(t,s,c,e,n):this.checkMediumToSmall(t,s,c,e,n),o=!i&&e.offsetWidth<n.offsetWidth;return i},e.prototype.checkValidCollectionLength=function(t){for(var e=0,n=0;n<t.length;n++){for(var r=t[parseInt(n.toString(),10)].items,o=0;o<r.length;o++)if(r[parseInt(o.toString(),10)].displayOptions&s.b.Classic){e++;break}if(e>1)return!1}return 1===e},e.prototype.checkClassicCollection=function(t,e,n){for(var r=t[parseInt(e.toString(),10)].items,o=0;o<r.length;o++)if(r[parseInt(o.toString(),10)].displayOptions&s.b.Classic)return e;return e=n?e+1:e-1,n?e===t.length?e:this.checkClassicCollection(t,e,n):e<0?e:this.checkClassicCollection(t,e,n)},e.prototype.checkClassicItem=function(t,e,n){return t[parseInt(e.toString(),10)].displayOptions&s.b.Classic?e:(e=n?e+1:e-1,n?e===t.length?e:this.checkClassicItem(t,e,n):e<0?e:this.checkClassicItem(t,e,n))},e.prototype.checkLargeToMedium=function(t,e,n,r,o,i){var c=this;void 0===i&&(i=!1);var l=e.groups[parseInt(n.toString(),10)];if(l.isCollapsed&&!i)return!1;var u=function(t){return 1===t.items.length&&p(t.items[0])},p=function(t){return t.allowedSizes&s.a.Medium&&t.activeSize===s.a.Large},d=function(t,e,n,r){var s=c.createElement("div",{className:"e-ribbon-shrink"+a.f+a.T,id:t+"_shrink_container"+n,attrs:{"data-start":n.toString(),"data-end":r.toString()}});return e.parentElement.insertBefore(s,e),i||s.setAttribute("data-large-width",o.offsetWidth.toString()),s},f=function(e,r){for(var l=c.tabs[parseInt(t.toString(),10)].groups[parseInt(n.toString(),10)].collections[0],u=o.querySelector("#"+l.items[parseInt(e.toString(),10)].id+a._20),p=i?o.querySelector("#"+l.id+"_shrink_container"+e):d(l.id,u,e,r),f=e;f<=r;f++){var h=l.items[parseInt(f.toString(),10)];if(h.displayOptions&s.b.Classic){var b=o.querySelector("#"+h.id+a._20);p.appendChild(b),h.setProperties({activeSize:s.a.Medium},!0),c.setItemSize(b.querySelector("#"+h.id),h)}}},h=function(e,r){for(var l=c.tabs[parseInt(t.toString(),10)].groups[parseInt(n.toString(),10)],a=o.querySelector("#"+l.collections[parseInt(e.toString(),10)].id),u=i?o.querySelector("#"+l.id+"_shrink_container"+e):d(l.id,a,e,r),p=e;p<=r;p++){var f=l.collections[parseInt(p.toString(),10)],h=o.querySelector("#"+f.id);u.appendChild(h),f.items[0].setProperties({activeSize:s.a.Medium},!0),c.setItemSize(h.querySelector("#"+f.items[0].id),f.items[0])}};if(l.orientation===s.d.Column)for(var b=l.collections.length-1;b>0;b--){b=this.checkClassicCollection(l.collections,b,!1);var v=b-1;if(v>=0&&u(l.collections[parseInt(b.toString(),10)]))if((v=this.checkClassicCollection(l.collections,v,!1))>=0&&u(l.collections[parseInt(v.toString(),10)])){var m=v-1;if(m>=0&&(m=this.checkClassicCollection(l.collections,m,!1)),m>=0&&u(l.collections[parseInt(m.toString(),10)])?h(m,b):h(v,b),b=m,!i&&r.offsetWidth>o.offsetWidth)return!0}else b=v}else if(this.checkValidCollectionLength(l.collections))for(var y=l.collections[0],b=y.items.length-1;b>0;b--){b=this.checkClassicItem(y.items,b,!1);var v=b-1;if(v>=0&&p(y.items[parseInt(b.toString(),10)]))if((v=this.checkClassicItem(y.items,v,!1))>=0&&p(y.items[parseInt(v.toString(),10)])){var m=v-1;if(m>=0&&(m=this.checkClassicItem(y.items,m,!1)),m>=0&&p(y.items[parseInt(m.toString(),10)])?f(m,b):f(v,b),b=m,!i&&r.offsetWidth>o.offsetWidth)return!0}else b=v}return!1},e.prototype.checkMediumToSmall=function(t,e,n,r,o,i){var c=this;void 0===i&&(i=!1);var l=e.groups[parseInt(n.toString(),10)];if(l.isCollapsed&&!i)return!1;var a=l.orientation,u=o.querySelector("#"+l.id),p=u.querySelectorAll(".e-ribbon-shrink"),d=function(t){return t.allowedSizes&s.a.Small&&t.activeSize===s.a.Medium},f=function(e,r,i,l){void 0===l&&(l=null);var a=c.tabs[parseInt(t.toString(),10)].groups[parseInt(n.toString(),10)].collections[parseInt(e.toString(),10)],u=function(t){var e=a.items[parseInt(t.toString(),10)];if(e.displayOptions&s.b.Classic){var n=o.querySelector("#"+e.id);e.setProperties({activeSize:s.a.Small},!0),c.setItemSize(n,e)}};u(r),l&&u(l),u(i)},h=function(e,r,l,a){void 0===a&&(a=null);var u=c.tabs[parseInt(t.toString(),10)].groups[parseInt(n.toString(),10)];i||p[parseInt(e.toString(),10)].setAttribute("data-medium-width",o.offsetWidth.toString());var d=function(t){var e=u.collections[parseInt(t.toString(),10)];if(e.items[0].displayOptions&s.b.Classic){var n=o.querySelector("#"+e.items[0].id);e.items[0].setProperties({activeSize:s.a.Small},!0),c.setItemSize(n,e.items[0])}};d(r),a&&d(a),d(l)},b=function(t){if(!i){o.querySelector("#"+t).setAttribute("data-medium-width",o.offsetWidth.toString())}};if(a===s.d.Column){if(p.length>0)for(var v=p.length-1;v>=0;v--){var m=parseInt(p[parseInt(v.toString(),10)].getAttribute("data-start"),10),y=parseInt(p[parseInt(v.toString(),10)].getAttribute("data-end"),10),g=this.checkClassicCollection(l.collections,m+1,!1);if(d(l.collections[parseInt(m.toString(),10)].items[0])&&d(l.collections[parseInt(g.toString(),10)].items[0])&&(y===g?h(v,m,y):d(l.collections[parseInt(y.toString(),10)].items[0])&&h(v,m,y,g),!i&&r.offsetWidth>o.offsetWidth))return!0}for(var v=l.collections.length-1;v>=0;v--){for(var _=l.collections[parseInt(v.toString(),10)],S=[],I=0;I<_.items.length;I++)_.items[parseInt(I.toString(),10)].displayOptions&s.b.Classic&&S.push(I);if(S.length>1&&d(_.items[S[0]])&&d(_.items[S[1]])&&(2===S.length?(b(_.id),f(v,S[0],S[1])):d(_.items[S[2]])&&(b(_.id),f(v,S[0],S[2],S[1])),!i&&r.offsetWidth>o.offsetWidth))return!0}}else if(this.checkValidCollectionLength(l.collections)){if(p.length>0)for(var v=p.length-1;v>=0;v--){var C=p[parseInt(v.toString(),10)],m=parseInt(C.getAttribute("data-start"),10),y=parseInt(C.getAttribute("data-end"),10),_=l.collections[0],g=this.checkClassicItem(_.items,m+1,!1);if(d(l.collections[0].items[parseInt(m.toString(),10)])&&d(l.collections[0].items[parseInt(g.toString(),10)])&&(y===g?(b(C.id),f(0,m,y)):d(l.collections[0].items[parseInt(y.toString(),10)])&&(b(C.id),f(0,m,y,g)),!i&&r.offsetWidth>o.offsetWidth))return!0}}else for(var v=l.collections.length-1;v>=0;v--)for(var _=l.collections[parseInt(v.toString(),10)],g=_.items.length-1;g>=0;g--)if(!((g=this.checkClassicItem(_.items,g,!1))<0)){var O=_.items[parseInt(g.toString(),10)];if(d(O)&&(b(O.id),f(v,g,g),!i&&r.offsetWidth>o.offsetWidth))return!0}return!1},e.prototype.checkGroupExpanding=function(t,e,n,r){for(var o=!1,i=this.tabs[parseInt(t.toString(),10)],s=0;!o&&s<i.groups.length;s++)o=r?this.checkSmallToMedium(t,i,s,e,n,!1,!0):this.checkMediumToLarge(t,i,s,e,n,!1,!0);return o},e.prototype.checkSmallToMedium=function(t,e,n,r,o,i,c){var l=this,a=e.groups[parseInt(n.toString(),10)],u=a.orientation,p=o.querySelector("#"+a.id),d=p.querySelectorAll(".e-ribbon-shrink"),f=function(e,r,o){var i=l.tabs[parseInt(t.toString(),10)].groups[parseInt(n.toString(),10)].collections[parseInt(e.toString(),10)],c=i.items[parseInt(r.toString(),10)];if(c.displayOptions&s.b.Classic){var a=o.id===c.id?o:o.querySelector("#"+c.id);c.setProperties({activeSize:s.a.Medium},!0),l.setItemSize(a,c)}},h=function(e){var r=l.tabs[parseInt(t.toString(),10)].groups[parseInt(n.toString(),10)].collections;if(r[parseInt(e.toString(),10)].items[0].displayOptions&s.b.Classic){var i=o.querySelector("#"+r[parseInt(e.toString(),10)].items[0].id);r[parseInt(e.toString(),10)].items[0].setProperties({activeSize:s.a.Medium},!0),l.setItemSize(i,r[parseInt(e.toString(),10)].items[0])}};if(u===s.d.Row){if(!this.checkValidCollectionLength(a.collections))for(var b=0;b<a.collections.length;b++)for(var v=a.collections[parseInt(b.toString(),10)],m=0;m<v.items.length;m++)if((m=this.checkClassicItem(v.items,m,!0))!==v.items.length){var y=v.items[parseInt(m.toString(),10)];if(function(t){return t.allowedSizes&s.a.Medium&&t.activeSize===s.a.Small}(y)){var g=o.querySelector("#"+y.id),_=g.getAttribute("data-medium-width"),S=_?parseInt(_,10):null;if(S&&(i||r.offsetWidth>S))f(b,m,g),i&&!c||g.removeAttribute("data-medium-width");else if(S)return!0}}}else for(var b=0;b<a.collections.length;b++)if(a.collections[parseInt(b.toString(),10)].items.length>1){for(var v=a.collections[parseInt(b.toString(),10)],g=o.querySelector("#"+v.id),_=g.getAttribute("data-medium-width"),S=_?parseInt(_,10):null,I=[],C=0;C<v.items.length;C++)v.items[parseInt(C.toString(),10)].displayOptions&s.b.Classic&&I.push(C);if(I.length>1&&S&&(i||r.offsetWidth>S))f(b,I[0],g),f(b,I[1],g),3===I.length&&f(b,I[2],g),i&&!c||g.removeAttribute("data-medium-width");else if(S)return!0}if(d.length>0)for(var b=0;b<d.length;b++){var O=d[parseInt(b.toString(),10)],_=O.getAttribute("data-medium-width"),S=_?parseInt(_,10):null;if(S&&(i||r.offsetWidth>S)){var w=parseInt(O.getAttribute("data-start"),10),P=parseInt(O.getAttribute("data-end"),10);if(u===s.d.Row){var v=a.collections[0],m=this.checkClassicItem(v.items,w+1,!0);f(0,w,O),f(0,m,O),m!==P&&f(0,P,O)}else{var D=this.checkClassicCollection(a.collections,w+1,!0);h(w),h(D),D!==P&&h(P)}i&&!c||O.removeAttribute("data-medium-width")}else if(S)return!0}return!1},e.prototype.checkMediumToLarge=function(t,e,o,i,c,l,u){var p=this,d=e.groups[parseInt(o.toString(),10)],f=d.orientation,h=c.querySelector("#"+d.id),b=h.querySelectorAll(".e-ribbon-shrink");if(0===b.length)return!1;for(var v=function(e,i,c,d){var f=p.tabs[parseInt(t.toString(),10)].groups[parseInt(o.toString(),10)].collections[0].items,h=function(t){var e=f[parseInt(t.toString(),10)];if(e.displayOptions&s.b.Classic){var n=c.querySelector("#"+e.id+a._20),r=n.querySelector("#"+e.id);e.setProperties({activeSize:s.a.Large},!0),p.setItemSize(r,e),c.insertAdjacentElement("afterend",n)}};h(e),d&&h(d),h(i),l&&!u||n.i(r.remove)(c)},m=function(e,i,c,a){var d=p.tabs[parseInt(t.toString(),10)].groups[parseInt(o.toString(),10)].collections,f=function(t){var e=d[parseInt(t.toString(),10)];if(e.items[0].displayOptions&s.b.Classic){var n=c.querySelector("#"+e.id),r=n.querySelector("#"+e.items[0].id);e.items[0].setProperties({activeSize:s.a.Large},!0),p.setItemSize(r,e.items[0]),c.insertAdjacentElement("afterend",n)}};f(e),a&&f(a),f(i),l&&!u||n.i(r.remove)(c)},y=0;y<b.length;y++){var g=b[parseInt(y.toString(),10)],_=g.getAttribute("data-large-width"),S=_?parseInt(_,10):null;if(S&&(l||i.offsetWidth>S)){var I=parseInt(g.getAttribute("data-start"),10),C=parseInt(g.getAttribute("data-end"),10);if(f===s.d.Row){var O=d.collections[0],w=this.checkClassicItem(O.items,I+1,!0);w===C?v(I,C,g):v(I,C,g,w)}else{var P=this.checkClassicCollection(d.collections,I+1,!0);P===C?m(I,C,g):m(I,C,g,P)}l&&!u||g.removeAttribute("data-large-width")}else if(S)return!0}return!1},e.prototype.setItemSize=function(t,e){var o=t.closest("."+a.S);e.type===s.e.Button?this.ribbonButtonModule.updateButtonSize(t,e):e.type===s.e.DropDown?this.ribbonDropDownModule.updateDropDownSize(t,e):e.type===s.e.SplitButton?this.ribbonSplitButtonModule.updateSplitButtonSize(t,e):e.type===s.e.Template&&(n.i(r.remove)(t),this.createTemplateContent(e,o)),o.classList.remove(a.Y,a.V,a.W,a.X),e.activeSize===s.a.Large?o.classList.add(a.V,a.Y):o.classList.add(e.activeSize===s.a.Medium?a.W:a.X)},e.prototype.createOverflowDropdown=function(t,e,r){var o=this.getGroupResizeOrder(!0,t);if(0!==o.length)for(var i=this,s=0;s<o.length&&e.offsetWidth<r.offsetWidth;s++)!function(s){var c=o[parseInt(s.toString(),10)],u=i.tabObj.element.querySelector("#"+c.id);u.setAttribute("data-expanded-width",r.offsetWidth.toString());var p=u.querySelector("#"+c.id+a._20),d=i.createElement("div",{className:a.N+a.f+a.V,id:c.id+a.l+a._20});u.insertBefore(d,p);var f=n.i(l.a)(i.tabs[parseInt(t.toString(),10)].groups,function(t){return t.id===c.id}),h=i.tabs[parseInt(t.toString(),10)];i.checkSmallToMedium(t,h,f,e,r,!0,!1),i.checkMediumToLarge(t,h,f,e,r,!0,!1);var b=i.ribbonDropDownModule.createOverFlowDropDown(c.id,c.header,c.groupIconCss,p,d,i.enableRtl);i.tabs[parseInt(t.toString(),10)].groups[parseInt(f.toString(),10)].setProperties({isCollapsed:!0},!0);for(var v=0;v<c.collections.length;v++)for(var m=c.collections[parseInt(v.toString(),10)],y=p.querySelector("#"+m.id),g=0;g<m.items.length;g++){var _=m.items[parseInt(g.toString(),10)],S=y.querySelector("#"+_.id+a._20);null!==S&&i.addOverflowEvents(_,S,b)}}(s)},e.prototype.removeOverflowDropdown=function(t,e,r,o){void 0===r&&(r=!1);var i=this.getGroupResizeOrder(!1,o);if(0===i.length)return!1;for(var s=this,c=0;c<i.length;c++){var u=function(c){var u=i[parseInt(c.toString(),10)],p=s.tabObj.element.querySelector("#"+u.id);if(!p)return"break";var d=parseInt(p.getAttribute("data-expanded-width"),10);if(!r&&t.offsetWidth<d)return{value:!0};s.removeDropdown(u.id);var f=n.i(l.a)(s.tabs[parseInt(o.toString(),10)].groups,function(t){return t.id===u.id});s.tabs[parseInt(o.toString(),10)].groups[parseInt(f.toString(),10)].setProperties({isCollapsed:!1},!0);var h=s.tabs[parseInt(o.toString(),10)];s.checkLargeToMedium(o,h,f,t,e,!0),s.checkMediumToSmall(o,h,f,t,e,!0);for(var b=0;b<u.collections.length;b++)for(var v=u.collections[parseInt(b.toString(),10)],m=p.querySelector("#"+v.id),y=0;y<v.items.length;y++){var g=v.items[parseInt(y.toString(),10)],_=m.querySelector("#"+g.id+a._20);null!==_&&s.removeOverflowEvent(g,_)}}(c);if("object"==typeof u)return u.value;if("break"===u)break}return!1},e.prototype.removeDropdown=function(t){var e=this.tabObj.element.querySelector("#"+t+a.l+a.m);if(e){var o=e.parentElement;this.ribbonDropDownModule.removeOverFlowDropDown(e),n.i(r.remove)(o)}},e.prototype.getGroupResizeOrder=function(t,e){var o=this,i=this.tabs[parseInt(e.toString(),10)].groups;return i=i.filter(function(e){return"Classic"!==o.activeLayout||(n.i(r.isUndefined)(e.isCollapsible)||e.isCollapsible)&&(t&&n.i(r.isUndefined)(e.isCollapsed)||!n.i(r.isUndefined)(e.isCollapsed)&&t!==e.isCollapsed)}),i.sort(function(t,e){return t.priority-e.priority}),t?i.reverse():i},e.prototype.destroyScroll=function(){this.scrollModule&&(this.scrollModule.destroy(),this.scrollModule=null)},e.prototype.clearOverflowDropDown=function(t){var e=this.tabObj.element.querySelector("#"+this.tabs[parseInt(t.toString(),10)].id+a._19);if(e){var n=e.closest("."+a.E);"Simplified"===this.activeLayout?this.removeSimplfiedOverflow(e,n,t,!0):this.removeOverflowDropdown(e,n,!0,t)}},e.prototype.ribbonTabSelecting=function(t){var e=this;this.currentControlIndex=0;var o=t.selectingItem.getAttribute("data-id"),i=t.previousItem.getAttribute("data-id"),s=n.i(l.a)(this.tabs,function(t){return t.id===o}),c=n.i(l.a)(this.tabs,function(t){return t.id===i});s=-1===s?this.selectedTab:s;var u={cancel:t.cancel,isInteracted:t.isInteracted,previousIndex:c,selectedIndex:s};this.trigger("tabSelecting",u,function(t){if(!t.cancel){e.destroyScroll(),e.isAddRemove||-1===c||e.clearOverflowDropDown(c);var o=e.tabObj.items[parseInt(s.toString(),10)].content;if(!o.querySelector("."+a.G)&&0!==e.tabs[parseInt(s.toString(),10)].groups.length){var i=e.createGroups(e.tabs[parseInt(s.toString(),10)].groups,s);n.i(r.append)(i,o)}}})},e.prototype.createTabItems=function(t){for(var e=this,n=[],r=0;r<t.length;r++){var o=t[parseInt(r.toString(),10)],i=this.createElement("span",{innerHTML:o.header,id:o.id+a._17});i.onclick=function(){e.minimize(!1)},i.ondblclick=function(){e.minimize(!0)};var s={header:{text:i},id:o.id,cssClass:o.cssClass},c=this.createElement("div",{className:s.cssClass,id:o.id+a._19});c.classList.add(a.w),s.content=c,n.push(s)}return n},e.prototype.renderInitialTab=function(t){var e=this.createGroups(this.tabs[parseInt(t.toString(),10)].groups,t),o=this.tabObj.items[parseInt(t.toString(),10)].content;n.i(r.append)(e,o),"Simplified"===this.activeLayout&&this.element.classList.add(a._9);var i=this.tabObj.element.querySelector("#"+this.tabs[this.selectedTab].id+a._19);this.checkOverflow(this.selectedTab,i)},e.prototype.addOverflowButton=function(t){var e=this,o=this.createElement("button",{id:t}),i=this.createElement("div",{className:a.C,attrs:{tabindex:"0"}}),s=new u.DropDownButton({iconCss:a.p,cssClass:a._0+a.f+a.n,target:i,locale:this.locale,enableRtl:this.enableRtl,enablePersistence:this.enablePersistence,beforeClose:function(t){(t.event?n.i(r.closest)(t.event.target,"."+a.k):null)&&(t.cancel=!0)}},o);this.element.classList.add(a.D),n.i(l.l)(i,this);var c;return o.onkeydown=o.onclick=function(){e.itemIndex=-1,c=!o.classList.contains("e-ribbon-overall-of-btn")},i.onkeydown=function(t){return e.upDownKeyHandler(t,i,c),e},s},e.prototype.upDownKeyHandler=function(t,e,o){var i;if(o)i=e.getElementsByClassName("e-ribbon-item");else{i=e.querySelector(".e-ribbon-of-tab.e-ribbon-active").getElementsByClassName("e-ribbon-item")}var s,c=i[!this.itemIndex||this.itemIndex<0?0:this.itemIndex].querySelector(".e-control").classList.contains("e-combobox")?i[!this.itemIndex||this.itemIndex<0?0:this.itemIndex].querySelector(".e-combobox"):null;(null===c||"Tab"===t.key||this.itemIndex<0)&&("ArrowDown"===t.key||!t.shiftKey&&"Tab"===t.key?!this.itemIndex&&0!==this.itemIndex||this.itemIndex<0||this.itemIndex===i.length-1?(this.itemIndex=0,s=i[this.itemIndex].closest(".e-ribbon-item"),this.findDisabledItem(s,i,!0),c&&"Tab"===t.key&&(t.preventDefault(),i[this.itemIndex].querySelector(".e-control").focus())):this.itemIndex<i.length-1&&this.itemIndex>=0&&(this.itemIndex++,s=i[this.itemIndex].closest(".e-ribbon-item"),this.findDisabledItem(s,i,!0)):("ArrowUp"===t.key||t.shiftKey&&"Tab"===t.key)&&(null!==c&&"Tab"!==t.key||(this.itemIndex&&-1!==this.itemIndex?this.itemIndex<=i.length-1&&this.itemIndex>0&&(this.itemIndex--,s=i[this.itemIndex].closest(".e-ribbon-item"),this.findDisabledItem(s,i,!1)):(this.itemIndex=i.length-1,s=i[this.itemIndex].closest(".e-ribbon-item"),this.findDisabledItem(s,i,!1),c&&t.shiftKey&&"Tab"===t.key&&(t.preventDefault(),i[this.itemIndex].querySelector(".e-control").focus())))),e.setAttribute("index",this.itemIndex.toString()));var l=parseInt(e.getAttribute("index"),10),a=i[parseInt(l.toString(),10)]?i[parseInt(l.toString(),10)].querySelector(".e-control").getAttribute("data-control"):null;if(("ArrowDown"===t.key||"ArrowUp"===t.key||" "===t.key||"Tab"===t.key)&&("ColorPicker"===a?("Tab"===t.key&&t.preventDefault(),i[parseInt(l.toString(),10)].querySelector(".e-split-colorpicker").focus()):("Tab"===t.key&&t.preventDefault(),i[parseInt(l.toString(),10)].querySelector(".e-control").focus())," "===t.key&&"CheckBox"===a)){var u=i[parseInt(l.toString(),10)].querySelector(".e-control"),d=n.i(r.getComponent)(u,p.CheckBox);this.itemIndex=-1,d.click()}"SplitButton"!==a||"ArrowRight"!==t.key&&"ArrowLeft"!==t.key||("ArrowRight"===t.key&&(this.enableRtl?i[parseInt(l.toString(),10)].querySelector(".e-control").focus():i[parseInt(l.toString(),10)].querySelector(".e-dropdown-btn").focus()),"ArrowLeft"===t.key&&(this.enableRtl?i[parseInt(l.toString(),10)].querySelector(".e-dropdown-btn").focus():i[parseInt(l.toString(),10)].querySelector(".e-control").focus())),"Enter"===t.key&&(this.itemIndex=-1)},e.prototype.findDisabledItem=function(t,e,n){for(;t&&t.classList.contains("e-disabled");)n?this.itemIndex===e.length-1&&e[this.itemIndex].closest(".e-ribbon-item").classList.contains("e-disabled")&&(this.itemIndex=-1):0===this.itemIndex&&e[this.itemIndex].closest(".e-ribbon-item").classList.contains("e-disabled")&&(this.itemIndex=e.length),n?this.itemIndex++:this.itemIndex--,t=e[this.itemIndex].closest(".e-ribbon-item")},e.prototype.removeOverflowButton=function(t){if(t){var e=t.element;n.i(l.m)(t.target),t.destroy(),e.remove()}},e.prototype.removeOverflowEvent=function(t,e){switch(t.type){case"Button":this.ribbonButtonModule.removeOverFlowEvents(t,e);break;case"DropDown":this.ribbonDropDownModule.removeOverFlowEvents(t,e);break;case"SplitButton":this.ribbonSplitButtonModule.removeOverFlowEvents(t,e);break;case"CheckBox":this.ribbonCheckBoxModule.removeOverFlowEvents(t,e);break;case"ColorPicker":this.ribbonColorPickerModule.removeOverFlowEvents(t,e);break;case"ComboBox":this.ribbonComboBoxModule.removeOverFlowEvents(t,e)}},e.prototype.createGroupContainer=function(t,e){var n=this.createElement("div",{className:a.J,id:t+a._20}),r=this.createElement("div",{className:a.M,id:t+a._17,innerHTML:e});return n.append(r),n},e.prototype.addExpandCollapse=function(){var t=this;this.collapseButton=this.createElement("span",{className:a.x+a.f+a.o,id:this.tabObj.element.id+a._14,attrs:{tabindex:"0",type:"button","aria-label":"Layout Switcher",role:"button"}}),this.collapseButton.onclick=function(){t.toggleLayout()},this.collapseButton.onkeydown=function(e){"Enter"===e.key&&t.toggleLayout()},this.element.classList.add(a.z),"Simplified"===this.activeLayout&&this.collapseButton.classList.add(a.y),this.tabObj.element.appendChild(this.collapseButton)},e.prototype.removeExpandCollapse=function(){var t=this,e=n.i(l.a)(this.tooltipData,function(e){return e.id===t.collapseButton.id});-1!==e&&this.tooltipData.splice(e,1),this.element.classList.remove(a.z),n.i(r.remove)(this.tabObj.element.querySelector("."+a.x)),this.collapseButton=null},e.prototype.reRenderTabs=function(){this.destroyScroll(),this.destroyTabItems(this.tabsInternal),this.checkID(this.tabs,"tab",this.element.id),this.tabsInternal=this.tabs.slice(),this.validateItemSize();var t=this.createTabItems(this.tabs);this.selectedTab>=this.tabs.length&&(this.selectedTab=this.tabs.length-1),this.tabObj.setProperties({items:t,selectedItem:this.selectedTab}),""===this.tabObj.items[this.selectedTab].content.innerHTML&&this.renderInitialTab(this.selectedTab)},e.prototype.switchLayout=function(){this.currentControlIndex=0,this.destroyScroll(),this.collapseButton.classList.toggle(a.y,"Simplified"===this.activeLayout),this.element.classList.toggle(a._9,"Simplified"===this.activeLayout);for(var t=0;t<=this.tabs.length-1;t++){var e=t;if(""!==this.tabObj.items[parseInt(e.toString(),10)].content.innerHTML){var o=this.tabs[parseInt(e.toString(),10)],i=this.tabs[parseInt(e.toString(),10)].groups,c=this.tabObj.element.querySelector("#"+this.tabs[parseInt(e.toString(),10)].id+a._19),l=c.closest("."+a.E);if("Simplified"===this.activeLayout)for(var p=0;p<i.length;p++){var d=i[parseInt(p.toString(),10)],f=i[parseInt(p.toString(),10)].orientation;d.isCollapsed?(d.setProperties({isCollapsed:!1},!0),this.removeDropdown(d.id)):(this.checkSmallToMedium(e,o,p,l,c,!0,!1),this.checkMediumToLarge(e,o,p,l,c,!0,!1));for(var h=l.querySelector("#"+d.id),b=h.querySelector("#"+d.id+a._20),v=b.querySelectorAll(".e-ribbon-shrink"),m=0;m<v.length;m++)v[parseInt(m.toString(),10)].remove();var y=b.querySelector("#"+d.id+a._17);y.remove();var g=b.querySelector("#"+d.id+a._19);g.classList.replace(a.T,a.U),g.classList.remove(a.Y);for(var _=0;_<d.collections.length;_++){var S=d.collections[parseInt(_.toString(),10)],I=b.querySelector("#"+S.id);I.classList.replace(a.T,a.U);for(var C=0;C<S.items.length;C++){for(var O=S.items,w=S.items[parseInt(C.toString(),10)],P=!0;P&&w.displayOptions===s.b.Classic;){C++;var D=b.querySelector("#"+w.id+a._20),B=D.querySelector("#"+w.id);this.destroyFunction(w,B),D.remove(),C<O.length?w=O[parseInt(C.toString(),10)]:P=!1}if(!P)break;var L=w.allowedSizes===s.a.Large||w.allowedSizes&s.a.Medium?s.a.Medium:s.a.Small;L=!(w.displayOptions&s.b.Simplified)&&w.displayOptions&s.b.Overflow?s.a.Medium:L;var x=void 0;if(w.displayOptions&s.b.Classic){x=b.querySelector("#"+w.id+a._20),w.displayOptions===(s.b.Classic|s.b.Overflow)&&(this.createOverflowPopup(w,e,d.enableGroupOverflow,d.id,d.header,x,b),w.type!==s.e.DropDown&&w.type!==s.e.SplitButton||this.updatePopupItems(w,x,d.enableGroupOverflow,!0)),w.setProperties({activeSize:L},!0);var B=x.querySelector("#"+w.id);this.setItemSize(B,w)}else x=this.createItems([w],f,d.id,d.header,d.enableGroupOverflow,e,b)[0],w.displayOptions&s.b.Simplified&&I.append(x)}}d.enableGroupOverflow||h.querySelector("."+a.S)||h.classList.add("e-ribbon-emptyCollection")}else{this.element.classList.remove(a.D);for(var T=0;T<i.length;T++){var d=i[parseInt(T.toString(),10)],f=i[parseInt(T.toString(),10)].orientation,b=l.querySelector("#"+d.id+a._20),g=b.querySelector("#"+d.id+a._19),y=this.createElement("div",{className:a.L,id:d.id+a._17,innerHTML:d.header});b.appendChild(y),"Row"===f&&g.classList.replace(a.U,a.T),g.classList.add(a.Y);for(var _=0;_<d.collections.length;_++){var k=void 0,E=void 0;if(d.enableGroupOverflow){var R=b.querySelector("#"+d.id+a._16);R&&(k=n.i(r.getInstance)(R,u.DropDownButton),E=k.target)}else(k=this.overflowDDB)&&(E=this.overflowDDB.target);var S=d.collections[parseInt(_.toString(),10)],I=b.querySelector("#"+S.id);"Column"===f&&I.classList.replace(a.U,a.T);for(var C=0;C<S.items.length;C++){for(var O=S.items,w=S.items[parseInt(C.toString(),10)],P=!0;P&&!(w.displayOptions&s.b.Classic);){C++;var x=void 0;if((w.displayOptions&s.b.Simplified||w.displayOptions&s.b.Overflow)&&null!==(x=w.displayOptions&s.b.Simplified?b.querySelector("#"+w.id+a._20):E.querySelector("#"+w.id+a._20))){var M=x.querySelector("#"+w.id);this.destroyFunction(w,M),x.remove()}C<O.length?w=O[parseInt(C.toString(),10)]:P=!1}if(!P)break;if(w.displayOptions&(s.b.Simplified|s.b.Overflow)){var x=b.querySelector("#"+w.id+a._20);x||(x=E.querySelector("#"+w.id+a._20),w.type!==s.e.DropDown&&w.type!==s.e.SplitButton||this.updatePopupItems(w,x,d.enableGroupOverflow,!1),this.removeOverflowEvent(w,x)),I.append(x)}else{var x=this.createItems([w],f,d.id,d.header,d.enableGroupOverflow,e)[0];I.append(x)}var B=b.querySelector("#"+w.id),q=w.allowedSizes&s.a.Large?s.a.Large:w.allowedSizes&s.a.Medium?s.a.Medium:s.a.Small;w.setProperties({activeSize:q},!0),this.setItemSize(B,w)}d.enableGroupOverflow&&k&&0===E.childElementCount&&this.removeOverflowButton(k)}}}this.selectedTab===e&&this.checkOverflow(e,c)}}"Classic"===this.activeLayout&&(this.removeOverflowButton(this.overflowDDB),this.overflowDDB=null)},e.prototype.createLauncherIcon=function(t,e){var n=this,o=this.createElement("div",{className:a.P+" "+(this.launcherIconCss?this.launcherIconCss:a.Q),id:t+a._18,attrs:{tabindex:"0",type:"button","aria-label":"Launcher Icon",role:"button"}});e.appendChild(o),e.classList.add(a.O),r.EventHandler.add(o,"click",this.launcherIconClicked.bind(this,t),this),r.EventHandler.add(o,"keydown",function(e){"Enter"===e.key&&n.launcherIconClicked(t)},this)},e.prototype.launcherIconClicked=function(t){var e={groupId:t};this.trigger("launcherIconClick",e)},e.prototype.createGroups=function(t,e){for(var o=[],i=0;i<t.length;i++){var s=t[parseInt(i.toString(),10)],c=s.orientation,l=this.createElement("div",{className:s.cssClass,id:s.id});l.classList.add(a.G),o.push(l);var u=this.createElement("div",{className:s.cssClass,id:s.id+a._20});u.classList.add(a.H),l.appendChild(u);var p=this.createElement("div",{className:"Simplified"===this.activeLayout?a.K:a.K+a.f+a.Y,id:s.id+a._19});if(p.classList.add("Column"===c||"Simplified"===this.activeLayout?a.U:a.T),u.appendChild(p),"Classic"===this.activeLayout){var d=this.createElement("div",{className:a.L,id:s.id+a._17,innerHTML:s.header});u.appendChild(d)}s.showLauncherIcon&&this.createLauncherIcon(s.id,u);var f=this.createCollection(s.collections,s.orientation,s.id,s.header,s.enableGroupOverflow,e,u);n.i(r.append)(f,p),"Simplified"!==this.activeLayout||s.enableGroupOverflow||l.querySelector("."+a.S)||l.classList.add("e-ribbon-emptyCollection")}return o},e.prototype.validateItemSize=function(){for(var t=0;t<this.tabs.length;t++)for(var e=this.tabs[parseInt(t.toString(),10)].groups,n=0;n<e.length;n++)for(var r=e[parseInt(n.toString(),10)].collections,o=e[parseInt(n.toString(),10)].orientation,i=0;i<r.length;i++)for(var c=r[parseInt(i.toString(),10)].items,l=0;l<c.length;l++){var a=c[parseInt(l.toString(),10)];if(a.allowedSizes&&0!==a.allowedSizes||a.setProperties({allowedSizes:s.a.Small|s.a.Medium|s.a.Large},!0),"ColorPicker"===a.type&&a.allowedSizes!==s.a.Small)a.setProperties({allowedSizes:s.a.Small},!0);else if("ComboBox"!==a.type&&"CheckBox"!==a.type||a.allowedSizes===s.a.Medium){if(("Column"===o&&c.length>1||"Row"===o&&r.length>1)&&a.allowedSizes&s.a.Large){var u=a.allowedSizes&(s.a.Small|s.a.Medium);u=u||s.a.Medium,a.setProperties({allowedSizes:u},!0)}}else a.setProperties({allowedSizes:s.a.Medium},!0);var p=a.allowedSizes&s.a.Large?s.a.Large:a.allowedSizes&s.a.Medium?s.a.Medium:s.a.Small;a.setProperties({activeSize:p},!0)}},e.prototype.createCollection=function(t,e,o,i,s,c,l){for(var u=[],p=0;p<t.length;p++){var d=t[parseInt(p.toString(),10)],f=this.createElement("div",{className:d.cssClass,id:d.id});f.classList.add(a.R),f.classList.add("Column"!==e||"Simplified"===this.activeLayout?a.U:a.T),u.push(f);var h=this.createItems(d.items,e,o,i,s,c,l);if(n.i(r.append)(h,f),"Row"===e&&2===p)break}return u},e.prototype.createRibbonItem=function(t,e){switch(t.type){case"Button":this.ribbonButtonModule.createButton(t,e);break;case"DropDown":this.ribbonDropDownModule.createDropDown(t,e);break;case"SplitButton":this.ribbonSplitButtonModule.createSplitButton(t,e);break;case"CheckBox":this.ribbonCheckBoxModule.createCheckBox(t,e);break;case"ColorPicker":this.ribbonColorPickerModule.createColorPicker(t,e);break;case"ComboBox":this.ribbonComboBoxModule.createComboBox(t,e);break;case"Template":this.createTemplateContent(t,e)}},e.prototype.createItems=function(t,e,r,o,i,c,u){for(var p,d=[],f=0;f<t.length;f++){for(var h=t[parseInt(f.toString(),10)],b=!0;b&&("Simplified"===this.activeLayout&&!(h.displayOptions&(s.b.Simplified|s.b.Overflow))||"Classic"===this.activeLayout&&!(h.displayOptions&s.b.Classic));)f++,f<t.length?h=t[parseInt(f.toString(),10)]:b=!1;if(!b)break;var v=this.createElement("div",{className:h.cssClass,id:h.id+a._20});(p=v.classList).add.apply(p,[a.S].concat(h.disabled?[a.q]:[])),h.ribbonTooltipSettings&&n.i(l.j)(h.ribbonTooltipSettings)&&(v.classList.add(a.c),this.tooltipData.push({id:v.id,data:h.ribbonTooltipSettings}));var m=h.activeSize;if("Simplified"===this.activeLayout&&(m=h.allowedSizes===s.a.Large||h.allowedSizes&s.a.Medium||h.displayOptions===s.b.Overflow?s.a.Medium:s.a.Small,h.setProperties({activeSize:m},!0)),m&s.a.Large?v.classList.add(a.V,a.Y):v.classList.add(m&s.a.Medium?a.W:a.X),this.createRibbonItem(h,v),"Simplified"!==this.activeLayout||h.displayOptions!==s.b.Overflow&&h.displayOptions!==(s.b.Classic|s.b.Overflow)?d.push(v):(this.createOverflowPopup(h,c,i,r,o,v,u),h.type!==s.e.DropDown&&h.type!==s.e.SplitButton||this.updatePopupItems(h,v,i,!0)),"Column"===e&&2===f)break}return d},e.prototype.createHelpPaneTemplate=function(){if(this.helpPaneTemplate){this.clearTemplate(["helpPaneTemplate"]),this.ribbonTempEle=this.createElement("div",{className:a._2,id:this.element.id+a._21});var t=n.i(l.b)(this.helpPaneTemplate);n.i(r.append)(t({},this,"helpPaneTemplate","helpPaneTemplate",this.isStringTemplate),this.ribbonTempEle);var e=this.tabObj.element;e.querySelector(".e-toolbar").after(this.ribbonTempEle),e.style.setProperty(a._22,this.ribbonTempEle.offsetWidth+"px"),this.renderReactTemplates()}},e.prototype.createTemplateContent=function(t,e){var n=this.createElement("div",{className:t.cssClass?a._1+a.f+t.cssClass:a._1,id:t.id});t.disabled&&(n.classList.add(a.q),n.setAttribute("disabled","")),e.appendChild(n),this.renderItemTemplate(t,n)},e.prototype.renderItemTemplate=function(t,e){var o="ribbon"+t.id+"itemTemplate";this.clearTemplate([o]);var i=n.i(l.b)(t.itemTemplate);n.i(r.append)(i({activeSize:s.a[t.activeSize]},this,o,t.id+"itemTemplate",this.isStringTemplate),e),this.renderReactTemplates()},e.prototype.checkID=function(t,e,n){for(var r="tab"===e?a._10:"group"===e?a._11:"collection"===e?a._12:a._13,o=0;o<t.length;o++){var i=t[parseInt(o.toString(),10)];switch(i.id||i.setProperties({id:n+r+this.idIndex++},!0),e){case"tab":i.setProperties({groups:this.checkID(i.groups,"group",i.id)},!0);break;case"group":i.setProperties({collections:this.checkID(i.collections,"collection",i.id)},!0);break;case"collection":i.setProperties({items:this.checkID(i.items,"item",i.id)},!0)}}return t},e.prototype.updateCommonProperty=function(t){this.tabObj.setProperties(t),this.ribbonFileMenuModule&&this.ribbonFileMenuModule.setCommonProperties(t);for(var e=0;e<this.tabs.length;e++)for(var o=this.tabs[parseInt(e.toString(),10)],i=this.tabObj.items[parseInt(e.toString(),10)].content,c=0,p=o.groups;c<p.length;c++){var d=p[c],f=void 0,h=void 0;this.activeLayout===s.c.Classic?f=d.isCollapsed?i.querySelector("#"+d.id+a.l+a.m):null:(f=d.enableGroupOverflow?i.querySelector("#"+d.id+a._16):null,(h=f?n.i(r.getComponent)(f,u.DropDownButton):this.overflowDDB)&&(n.i(l.n)(h.target,t),h.setProperties(t)));for(var b=0,v=d.collections;b<v.length;b++)for(var m=v[b],y=0,g=m.items;y<g.length;y++){var _=g[y],S=null;if(this.activeLayout===s.c.Classic?_.displayOptions&s.b.Classic&&(S=f?this.ribbonDropDownModule.getDDBItemElement(f,_.id):i.querySelector("#"+_.id)):(S=_.displayOptions&s.b.Simplified?i.querySelector("#"+_.id):null)||(S=h.target.querySelector("#"+_.id),"DropDown"===_.type&&this.updatePopupItems(_,h.target,d.enableGroupOverflow,!0)),S){var I=this.getItemModuleName(_);"template"!==I?n.i(l.g)(S,I,t):n.i(r.isNullOrUndefined)(t.enableRtl)||S.classList.toggle(a.r,t.enableRtl)}}}},e.prototype.removeLauncherIcon=function(t,e,o){var i=t+a._20,s=e?this.ribbonDropDownModule.getDDBItemElement(e,i):o.querySelector("#"+i);if(s){s.classList.remove(a.O);var c=s.querySelector("#"+t+a._18);n.i(r.remove)(c)}},e.prototype.destroyTabItems=function(t){for(var e=0;e<t.length;e++)for(var o=t[parseInt(e.toString(),10)],i=this.tabObj.items[parseInt(e.toString(),10)].content,c=0,l=o.groups;c<l.length;c++){var p=l[c],d=void 0,f=void 0;this.activeLayout===s.c.Classic?(d=p.isCollapsed?i.querySelector("#"+p.id+a.l+a.m):null,p.showLauncherIcon&&this.removeLauncherIcon(p.id,d,i)):(d=p.enableGroupOverflow?i.querySelector("#"+p.id+a._16):null,f=d?n.i(r.getComponent)(d,u.DropDownButton):this.overflowDDB);for(var h=0,b=p.collections;h<b.length;h++)for(var v=b[h],m=0,y=v.items;m<y.length;m++){var g=y[m],_=void 0;this.activeLayout===s.c.Classic?g.displayOptions&s.b.Classic&&(_=d?this.ribbonDropDownModule.getDDBItemElement(d,g.id):i.querySelector("#"+g.id)):(_=g.displayOptions&s.b.Simplified?i.querySelector("#"+g.id):null)||(_=f?f.target.querySelector("#"+g.id):null),_&&this.destroyFunction(g,_)}this.activeLayout===s.c.Classic&&d?this.ribbonDropDownModule.removeOverFlowDropDown(d):this.activeLayout===s.c.Simplified&&p.enableGroupOverflow&&d&&this.removeOverflowButton(f)}this.overflowDDB&&(this.removeOverflowButton(this.overflowDDB),this.overflowDDB=null)},e.prototype.destroyFunction=function(t,e){var r=this.getItemModuleName(t);if("colorpicker"===r?this.ribbonColorPickerModule.unwireColorPickerEvents(e):"template"!==r&&n.i(l.f)(e,r),t.ribbonTooltipSettings){var o=n.i(l.a)(this.tooltipData,function(e){return e.id===t.id+a._20});-1!==o&&this.tooltipData.splice(o,1)}},e.prototype.getItemModuleName=function(t){switch(t.type){case"Button":return"btn";case"DropDown":return"dropdown-btn";case"SplitButton":return"split-btn";case"CheckBox":return"checkbox";case"ColorPicker":return"colorpicker";case"ComboBox":return"combobox";default:return"template"}},e.prototype.clearOverflowResize=function(){this.destroyScroll(),this.clearOverflowDropDown(this.selectedTab);for(var t=this.tabs[this.selectedTab],e=this.tabObj.element.querySelector("#"+this.tabs[this.selectedTab].id+a._19),n=e.closest("."+a.E),r=0;r<t.groups.length;r++)this.checkSmallToMedium(this.selectedTab,t,r,n,e,!0,!0),this.checkMediumToLarge(this.selectedTab,t,r,n,e,!0,!0)},e.prototype.refreshLayout=function(){this.resizeHandler()},e.prototype.selectTab=function(t){var e=n.i(l.a)(this.tabs,function(e){return e.id===t});this.setProperties({selectedTab:e})},e.prototype.addTab=function(t,e,r){var o=e?n.i(l.a)(this.tabs,function(t){return t.id===e}):-1;o=-1===o?this.tabs.length:o+(r?1:0),this.tabsInternal=this.tabs.slice(),this.tabsInternal.splice(o,0,t),this.setProperties({tabs:this.tabsInternal},!0),this.checkID([this.tabs[parseInt(o.toString(),10)]],"tab",this.element.id),this.tabsInternal=this.tabs.slice(),this.validateItemSize();var i=this.createTabItems([t]);this.tabObj.addTab(i,o)},e.prototype.removeTab=function(t){var e=n.i(l.a)(this.tabs,function(e){return e.id===t});if(-1!==e){var r=this.tabObj.items[parseInt(e.toString(),10)].content,o=this.tabs[parseInt(e.toString(),10)].groups;if(o&&""!==r.innerHTML)for(var i=0,s=o;i<s.length;i++){for(var c=s[i],u=c.isCollapsed?r.querySelector("#"+c.id+a.l+a.m):null,p=0,d=c.collections;p<d.length;p++)for(var f=d[p],h=0,b=f.items;h<b.length;h++){var v=b[h],m=u?this.ribbonDropDownModule.getDDBItemElement(u,v.id):r.querySelector("#"+v.id);m&&this.destroyFunction(v,m)}u&&this.ribbonDropDownModule.removeOverFlowDropDown(u)}e===this.selectedTab&&(this.isAddRemove=!0),this.tabsInternal=this.tabs.slice(),this.tabsInternal.splice(e,1),this.setProperties({tabs:this.tabsInternal},!0),this.tabObj.removeTab(e)}},e.prototype.addGroup=function(t,e,r,o){var i=n.i(l.a)(this.tabs,function(e){return e.id===t});if(-1!==i){this.selectedTab===i&&this.clearOverflowResize();var s=this.tabs[parseInt(i.toString(),10)],c=s.groups.slice(),a=r?n.i(l.a)(c,function(t){return t.id===r}):-1;a=-1===a?c.length:a+(o?1:0),c.splice(a,0,e),s.setProperties({groups:c},!0),this.checkID([s.groups[parseInt(a.toString(),10)]],"group",t),this.validateItemSize();var u=this.tabObj.items[parseInt(i.toString(),10)].content;if(""!==u.innerHTML){var p=this.createGroups([s.groups[parseInt(a.toString(),10)]],i)[0],d=r?u.querySelector("#"+r):null;d?d.insertAdjacentElement(o?"afterend":"beforebegin",p):u.append(p)}this.selectedTab===i&&this.refreshLayout()}},e.prototype.removeGroup=function(t){var e=n.i(l.e)(this.tabs,t);if(e){this.selectedTab===e.tabIndex&&this.clearOverflowResize();var o=this.tabObj.items[e.tabIndex].content;if(""!==o.innerHTML){var i=void 0,c=void 0;e.group.showLauncherIcon&&this.removeLauncherIcon(e.group.id,null,o),this.activeLayout===s.c.Simplified&&(i=e.group.enableGroupOverflow?o.querySelector("#"+e.group.id+a._16):null,c=i?n.i(r.getComponent)(i,u.DropDownButton):this.overflowDDB);for(var p=0,d=e.group.collections;p<d.length;p++)for(var f=d[p],h=0,b=f.items;h<b.length;h++){var v=b[h];this.removeItemElement(o,v,c)}if(this.activeLayout===s.c.Simplified)if(e.group.enableGroupOverflow)0===c.target.childElementCount&&this.removeOverflowButton(c);else{var m=c.target.querySelector("#"+e.group.id+a._20);m&&1===m.childElementCount&&m.remove();var y=c.target.querySelector("#"+this.tabs[parseInt(e.tabIndex.toString(),10)].id+a.l);y&&0===y.childElementCount&&y.remove()}var g=o.querySelector("#"+t);g&&g.remove()}var _=this.tabs[e.tabIndex].groups.slice();_.splice(e.groupIndex,1),this.tabs[e.tabIndex].setProperties({groups:_},!0),this.selectedTab===e.tabIndex&&this.refreshLayout()}},e.prototype.addCollection=function(t,e,r,o){var i=n.i(l.e)(this.tabs,t);if(i&&("Row"!==i.group.orientation||3!==i.group.collections.length)){this.selectedTab===i.tabIndex&&this.clearOverflowResize();var s=i.group.collections.slice(),c=r?n.i(l.a)(s,function(t){return t.id===r}):-1;c=-1===c?s.length:c+(o?1:0),s.splice(c,0,e),i.group.setProperties({collections:s},!0),this.checkID([i.group.collections[parseInt(c.toString(),10)]],"collection",t),this.validateItemSize();var u=this.tabObj.items[i.tabIndex].content;if(""!==u.innerHTML){var p=i.group.collections[parseInt(c.toString(),10)],d=this.createCollection([p],i.group.orientation,i.group.id,i.group.header,i.group.enableGroupOverflow,i.tabIndex)[0];i.group.isCollapsed&&(u=this.ribbonDropDownModule.getOverflowDropDownPopup(i,u));var f=r?u.querySelector("#"+r):null;f?f.insertAdjacentElement(o?"afterend":"beforebegin",d):u.querySelector("#"+t+a._19).append(d)}this.selectedTab===i.tabIndex&&this.refreshLayout()}},e.prototype.removeCollection=function(t){var e=n.i(l.d)(this.tabs,t);if(e){this.selectedTab===e.tabIndex&&this.clearOverflowResize();var o=this.tabObj.items[e.tabIndex].content;if(""!==o.innerHTML){var i=void 0,c=void 0;this.activeLayout===s.c.Simplified&&(i=e.group.enableGroupOverflow?o.querySelector("#"+e.group.id+a._16):null,c=i?n.i(r.getComponent)(i,u.DropDownButton):this.overflowDDB);for(var p=0,d=e.collection.items;p<d.length;p++){var f=d[p];this.removeItemElement(o,f,c)}var h=o.querySelector("#"+t);h&&h.remove()}var b=e.group,v=b.collections.slice();v.splice(e.collectionIndex,1),b.setProperties({collections:v},!0),this.selectedTab===e.tabIndex&&this.refreshLayout()}},e.prototype.addItem=function(t,e,r,o){var i=n.i(l.d)(this.tabs,t);if(i&&("Column"!==i.group.orientation||3!==i.collection.items.length)){this.selectedTab===i.tabIndex&&this.clearOverflowResize();var s=i.collection.items.slice(),c=r?n.i(l.a)(s,function(t){return t.id===r}):-1;c=-1===c?s.length:c+(o?1:0),s.splice(c,0,e),i.collection.setProperties({items:s},!0),this.checkID([i.collection.items[parseInt(c.toString(),10)]],"item",t),this.validateItemSize();var u=this.tabObj.items[i.tabIndex].content,p=u.querySelector("#"+i.group.id+a._20);if(""!==u.innerHTML){var d=i.collection.items[parseInt(c.toString(),10)],f=this.createItems([d],i.group.orientation,i.group.id,i.group.header,i.group.enableGroupOverflow,i.tabIndex,p)[0];i.group.isCollapsed&&(u=this.ribbonDropDownModule.getOverflowDropDownPopup(i,u));var h=r?u.querySelector("#"+r):null;h?h.closest("."+a.S).insertAdjacentElement(o?"afterend":"beforebegin",f):f&&u.querySelector("#"+t).append(f)}this.selectedTab===i.tabIndex&&this.refreshLayout()}},e.prototype.removeItem=function(t){var e=n.i(l.c)(this.tabs,t);if(e){this.selectedTab===e.tabIndex&&this.clearOverflowResize();var o=this.tabObj.items[e.tabIndex].content;if(""!==o.innerHTML){var i=void 0,c=void 0;this.activeLayout===s.c.Simplified&&(i=e.group.enableGroupOverflow?o.querySelector("#"+e.group.id+a._16):null,c=i?n.i(r.getComponent)(i,u.DropDownButton):this.overflowDDB);var p=e.item;this.removeItemElement(o,p,c)}var d=e.collection,f=d.items;f.splice(e.itemIndex,1),d.setProperties({items:f},!0),this.selectedTab===e.tabIndex&&this.refreshLayout()}},e.prototype.updateTab=function(t){var e=t.id,o=n.i(l.a)(this.tabs,function(t){return t.id===e});if(-1!==o){var i=this.tabObj.items[parseInt(o.toString(),10)].content,s=this.tabs[parseInt(o.toString(),10)].groups,c=this.tabObj.element;if(s&&""!==i.innerHTML&&(t.cssClass&&this.tabs[parseInt(o.toString(),10)].cssClass&&(i.classList.remove(this.tabs[parseInt(o.toString(),10)].cssClass),c.querySelector(".e-active").classList.remove(this.tabs[parseInt(o.toString(),10)].cssClass)),t.groups)){for(var u=0,p=s;u<p.length;u++){for(var d=p[u],f=d.isCollapsed?i.querySelector("#"+d.id+a.l+a.m):null,h=0,b=d.collections;h<b.length;h++)for(var v=b[h],m=0,y=v.items;m<y.length;m++){var g=y[m],_=f?this.ribbonDropDownModule.getDDBItemElement(f,g.id):i.querySelector("#"+g.id);_&&this.destroyFunction(g,_)}f&&this.ribbonDropDownModule.removeOverFlowDropDown(f)}i.querySelectorAll(".e-ribbon-group").forEach(function(t){t.remove()})}o===this.selectedTab&&(this.isAddRemove=!0);var S=this.tabs[parseInt(o.toString(),10)];if(S.setProperties(t,!0),this.setProperties({groups:this.checkID(S.groups,"group",S.id)},!0),this.validateItemSize(),""===i.innerHTML){if(t.groups){var I=this.createGroups(S.groups,o);n.i(r.append)(I,i)}this.selectedTab===o&&this.refreshLayout(),t.cssClass&&(i.classList.add(S.cssClass),c.querySelector(".e-active").classList.add(S.cssClass)),t.header&&(c.querySelector("#"+e+a._17).innerText=S.header)}}},e.prototype.updateGroup=function(t){var e=t.id,o=n.i(l.e)(this.tabs,e);if(o){this.selectedTab===o.tabIndex&&this.clearOverflowResize();var i,c,p=this.tabObj.items[o.tabIndex].content,d=p.querySelector("#"+e),f=d.querySelector("#"+t.id+a._20);if(""!==p.innerHTML){if(o.group.showLauncherIcon&&this.removeLauncherIcon(o.group.id,null,p),this.activeLayout===s.c.Simplified&&(i=o.group.enableGroupOverflow?p.querySelector("#"+o.group.id+a._16):null,c=i?n.i(r.getComponent)(i,u.DropDownButton):this.overflowDDB),t.cssClass&&o.group.cssClass&&(d.classList.remove(o.group.cssClass),f&&f.classList.remove(o.group.cssClass)),(t.collections||t.orientation)&&(o.group.collections||o.group.orientation)){for(var h=0,b=o.group.collections;h<b.length;h++)for(var v=b[h],m=0,y=v.items;m<y.length;m++){var g=y[m];this.removeItemElement(p,g,c)}if(d.querySelectorAll(".e-ribbon-collection").forEach(function(t){t.remove()}),t.orientation){var _=f.querySelector(".e-ribbon-group-content"),S=_.classList.value.match(/(e-ribbon-[column|row]+)/g);S&&n.i(r.removeClass)([_],S)}}if(this.activeLayout===s.c.Simplified)if(o.group.enableGroupOverflow)0===c.target.childElementCount&&this.removeOverflowButton(c);else{var I=c.target.querySelector("#"+o.group.id+a._20);I&&1===I.childElementCount&&I.remove();var C=c.target.querySelector("#"+this.tabs[parseInt(o.tabIndex.toString(),10)].id+a.l);C&&0===C.childElementCount&&C.remove()}}var O=o.group;if(O.setProperties(t,!0),O.setProperties({collections:this.checkID(O.collections,"collection",O.id)},!0),this.validateItemSize(),""!==p.innerHTML){if(t.showLauncherIcon&&this.createLauncherIcon(O.id,f),t.collections||t.orientation){var _=f.querySelector(".e-ribbon-group-content");_.classList.add("Column"===O.orientation||"Simplified"===this.activeLayout?a.U:a.T);var w=this.createCollection(O.collections,O.orientation,O.id,O.header,O.enableGroupOverflow,o.tabIndex,f);n.i(r.append)(w,_)}if(this.selectedTab===o.tabIndex&&this.refreshLayout(),t.cssClass&&(d.classList.add(O.cssClass),f&&f.classList.add(O.cssClass)),t.header)if(this.activeLayout!==s.c.Simplified||t.enableGroupOverflow)if(this.activeLayout!==s.c.Classic||O.isCollapsed){if(this.activeLayout===s.c.Classic&&O.isCollapsed){var P=d.querySelector("#"+O.id+a.l+a.m),D=n.i(r.getInstance)(P,u.DropDownButton),B=D.target.querySelector("#"+t.id+a._17);B&&(B.innerText=O.header)}}else d.querySelector(".e-ribbon-group-header").innerText=O.header;else{var B=c.target.querySelector("#"+t.id+a._17);B&&(B.innerText=O.header)}}}},e.prototype.updateCollection=function(t){var e=t.id,o=n.i(l.d)(this.tabs,e);if(o){this.selectedTab===o.tabIndex&&this.clearOverflowResize();var i=this.tabObj.items[o.tabIndex].content,c=i.querySelector("#"+e);if(""!==i.innerHTML){var p=void 0,d=void 0;if(this.activeLayout===s.c.Simplified&&(p=o.group.enableGroupOverflow?i.querySelector("#"+o.group.id+a._16):null,d=p?n.i(r.getComponent)(p,u.DropDownButton):this.overflowDDB),t.cssClass&&o.collection.cssClass&&c.classList.remove(o.collection.cssClass),t.items&&o.collection.items)for(var f=0,h=o.collection.items;f<h.length;f++){var b=h[f];this.removeItemElement(i,b,d)}}var v=o.collection;if(v.setProperties(t,!0),v.setProperties({items:this.checkID(v.items,"item",v.id)},!0),this.validateItemSize(),""!==i.innerHTML&&t.items){var m=i.querySelector("#"+o.group.id+a._20),y=this.createItems(v.items,o.group.orientation,o.group.id,o.group.header,o.group.enableGroupOverflow,o.tabIndex,m);n.i(r.append)(y,c)}this.selectedTab===o.tabIndex&&this.refreshLayout(),t.cssClass&&c.classList.add(v.cssClass)}},e.prototype.updateItem=function(t){var e=t.id,o=n.i(l.c)(this.tabs,e);if(o){this.selectedTab===o.tabIndex&&this.clearOverflowResize();var i,c,p=this.tabObj.items[o.tabIndex].content,d=p.querySelector("#"+o.group.id),f=d.querySelector("#"+o.group.id+a._20),h=null,b=null;if(""!==p.innerHTML){if(this.activeLayout===s.c.Simplified&&(i=o.group.enableGroupOverflow?p.querySelector("#"+o.group.id+a._16):null,c=i?n.i(r.getComponent)(i,u.DropDownButton):this.overflowDDB),this.activeLayout===s.c.Simplified&&o.item.displayOptions===s.b.Overflow){if(h=c.target.querySelector("#"+e+a._20),b=c.target.querySelector("#"+e),t.displayOptions&&t.displayOptions!==s.b.Overflow){var v=f.querySelector("#"+o.collection.id);v&&v.appendChild(h)}}else h=f.querySelector("#"+e+a._20),b=p.querySelector("#"+e),this.activeLayout===s.c.Simplified&&t.displayOptions===s.b.Overflow&&(this.createOverflowPopup(o.item,o.tabIndex,o.group.enableGroupOverflow,o.group.id,o.group.header,h,f),o.item.type!==s.e.DropDown&&o.item.type!==s.e.SplitButton||this.updatePopupItems(o.item,h,o.group.enableGroupOverflow,!0));t.cssClass&&o.item.cssClass&&h.classList.remove(o.item.cssClass),this.destroyFunction(o.item,b),b.remove();var m=h.classList.value.match(/(e-ribbon-[large|medium|small]+-item)/g);m&&n.i(r.removeClass)([h],m)}var y=o.item;if(y.setProperties(t,!0),this.validateItemSize(),""!==p.innerHTML){h=this.activeLayout!==s.c.Simplified||y.displayOptions!==s.b.Overflow?f.querySelector("#"+e+a._20):c.target.querySelector("#"+e+a._20),y.ribbonTooltipSettings&&n.i(l.j)(y.ribbonTooltipSettings)&&(h.classList.add(a.c),this.tooltipData.push({id:h.id,data:y.ribbonTooltipSettings}));var g=y.activeSize;"Simplified"===this.activeLayout&&(g=y.allowedSizes===s.a.Large||y.allowedSizes&s.a.Medium||y.displayOptions===s.b.Overflow?s.a.Medium:s.a.Small,y.setProperties({activeSize:g},!0)),g&s.a.Large?h.classList.add(a.V,a.Y):h.classList.add(g&s.a.Medium?a.W:a.X),this.createRibbonItem(y,h),"Simplified"===this.activeLayout&&o.group.enableGroupOverflow&&0===c.target.childElementCount&&this.removeOverflowButton(c),this.selectedTab===o.tabIndex&&this.refreshLayout(),t.cssClass&&h.classList.add(y.cssClass),this.enableDisableItem(y.id,y.disabled)}}},e.prototype.removeItemElement=function(t,e,n){var r=null;this.activeLayout===s.c.Classic?r=e.displayOptions&s.b.Classic?t.querySelector("#"+e.id):null:(r=e.displayOptions&s.b.Simplified?t.querySelector("#"+e.id):null)||(r=n.target.querySelector("#"+e.id)),r&&(this.destroyFunction(e,r),r.closest("#"+e.id+a._20).remove())},e.prototype.enableItem=function(t){this.enableDisableItem(t,!1)},e.prototype.disableItem=function(t){this.enableDisableItem(t,!0)},e.prototype.enableDisableItem=function(t,e){var o=n.i(l.c)(this.tabs,t);if(o){o.item.setProperties({disabled:e},!0);var i=n.i(l.i)(this,t,o);if(i){n.i(r.closest)(i,".e-ribbon-item").classList.toggle(a.q,o.item.disabled);var s=this.getItemModuleName(o.item);"template"!==s?n.i(l.h)(i,s,e):(i.classList.toggle(a.q,e),i.toggleAttribute("disabled",e))}}},e.prototype.unwireEvents=function(){r.EventHandler.remove(window,"resize",this.resizeHandler)},e.prototype.destroy=function(){this.keyboardModuleRibbon.destroy(),this.keyboardModuleRibbon=null,n.i(l.m)(this.element),this.destroyTabItems(this.tabs),this.removeExpandCollapse(),this.collapseButton=void 0,this.scrollModule&&this.scrollModule.destroy(),this.ribbonTempEle&&(n.i(r.remove)(this.ribbonTempEle),this.ribbonTempEle=null),t.prototype.destroy.call(this),this.tabObj.destroy(),this.tabObj=void 0,n.i(r.remove)(this.element.querySelector("#"+this.element.id+a._10)),this.element.style.removeProperty(a.b),this.element.style.removeProperty(a._22),this.element.style.removeProperty("width"),this.cssClass&&n.i(r.removeClass)([this.element],this.cssClass.split(a.f)),this.element.classList.remove(a.r,a._9,a.D,a.z,a.F,"e-rbn"),this.unwireEvents()},e.prototype.onPropertyChanged=function(t,e){for(var o,i,s=0,c=Object.keys(t);s<c.length;s++){switch(c[s]){case"activeLayout":this.switchLayout();break;case"cssClass":e.cssClass&&(o=this.element.classList).remove.apply(o,e.cssClass.split(a.f)),t.cssClass&&(i=this.element.classList).add.apply(i,t.cssClass.split(a.f));break;case"isMinimized":this.element.classList.toggle(a.F,this.isMinimized),this.tabObj.element.querySelector(".e-content").style.display=this.isMinimized?"none":"block",this.isMinimized||this.refreshLayout();break;case"locale":this.updateCommonProperty({locale:this.locale});break;case"enablePersistence":this.updateCommonProperty({enablePersistence:this.enablePersistence});break;case"enableRtl":this.element.classList.toggle(a.r,this.enableRtl),this.updateCommonProperty({enableRtl:t.enableRtl}),this.scrollModule&&this.scrollModule.setProperties({enableRtl:t.enableRtl});break;case"launcherIconCss":for(var l=0;l<this.tabs.length;l++){var p=this.tabObj.items[parseInt(l.toString(),10)].content,d=this.tabs[parseInt(l.toString(),10)];if(p.querySelector("."+a.G))for(var f=0,h=d.groups;f<h.length;f++){var b=h[f];if(b.showLauncherIcon){var v=a.P+" "+(this.launcherIconCss||a.Q);if(b.isCollapsed){var m=p.querySelector("#"+b.id+a.l+a.m),y=n.i(r.getComponent)(m,u.DropDownButton),g=y.target.querySelector("#"+b.id+a._18);g.className=v}else{var m=p.querySelector("#"+b.id+a._18);m.className=v}}}}break;case"selectedTab":this.tabObj.setProperties({selectedItem:t.selectedTab});break;case"tabAnimation":this.tabObj.setProperties({animation:t.tabAnimation});break;case"tabs":this.reRenderTabs();break;case"width":this.element.style.width=n.i(r.formatUnit)(t.width),this.refreshLayout();break;case"fileMenu":this.ribbonFileMenuModule&&this.ribbonFileMenuModule.updateFileMenu(this.fileMenu);this.tabObj.tbObj.refreshOverflow();break;case"helpPaneTemplate":this.ribbonTempEle&&(n.i(r.remove)(this.ribbonTempEle),this.ribbonTempEle=null,this.tabObj.element.style.setProperty(a._22,"0px")),this.helpPaneTemplate&&this.createHelpPaneTemplate();this.tabObj.tbObj.refreshOverflow()}}};var h;return f([n.i(r.Property)("Classic")],e.prototype,"activeLayout",void 0),f([n.i(r.Property)("")],e.prototype,"cssClass",void 0),f([n.i(r.Complex)({},i.k)],e.prototype,"fileMenu",void 0),f([n.i(r.Property)("")],e.prototype,"launcherIconCss",void 0),f([n.i(r.Property)(!1)],e.prototype,"isMinimized",void 0),f([n.i(r.Property)("en-us")],e.prototype,"locale",void 0),f([n.i(r.Property)(0)],e.prototype,"selectedTab",void 0),f([n.i(r.Complex)({},o.TabAnimationSettings)],e.prototype,"tabAnimation",void 0),f([n.i(r.Collection)([],i.a)],e.prototype,"tabs",void 0),f([n.i(r.Property)("100%")],e.prototype,"width",void 0),f([n.i(r.Property)("")],e.prototype,"helpPaneTemplate",void 0),f([n.i(r.Event)()],e.prototype,"tabSelecting",void 0),f([n.i(r.Event)()],e.prototype,"tabSelected",void 0),f([n.i(r.Event)()],e.prototype,"ribbonExpanding",void 0),f([n.i(r.Event)()],e.prototype,"ribbonCollapsing",void 0),f([n.i(r.Event)()],e.prototype,"launcherIconClick",void 0),e=h=f([r.NotifyPropertyChanges],e)}(r.Component)},function(t,e,n){"use strict";var r=n(2);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b}),n.d(e,"c",function(){return r.c}),n.d(e,"d",function(){return r.d}),n.d(e,"e",function(){return r.e}),n.d(e,"f",function(){return r.f}),n.d(e,"g",function(){return r.g}),n.d(e,"h",function(){return r.h}),n.d(e,"i",function(){return r.i}),n.d(e,"j",function(){return r.j}),n.d(e,"k",function(){return r.k}),n.d(e,"l",function(){return r.l}),n.d(e,"m",function(){return r.m}),n.d(e,"n",function(){return r.n}),n.d(e,"o",function(){return r.o}),n.d(e,"p",function(){return r.p}),n.d(e,"q",function(){return r.q}),n.d(e,"r",function(){return r.r}),n.d(e,"s",function(){return r.s}),n.d(e,"t",function(){return r.t}),n.d(e,"u",function(){return r.u}),n.d(e,"v",function(){return r.v}),n.d(e,"w",function(){return r.w}),n.d(e,"x",function(){return r.x}),n.d(e,"y",function(){return r.y}),n.d(e,"z",function(){return r.z}),n.d(e,"A",function(){return r.A}),n.d(e,"B",function(){return r.B}),n.d(e,"C",function(){return r.C}),n.d(e,"D",function(){return r.D}),n.d(e,"E",function(){return r.E}),n.d(e,"F",function(){return r.F}),n.d(e,"G",function(){return r.G}),n.d(e,"H",function(){return r.H}),n.d(e,"I",function(){return r.I}),n.d(e,"J",function(){return r.J}),n.d(e,"K",function(){return r.K}),n.d(e,"L",function(){return r.L}),n.d(e,"M",function(){return r.M}),n.d(e,"N",function(){return r.N}),n.d(e,"O",function(){return r.O}),n.d(e,"P",function(){return r.P}),n.d(e,"Q",function(){return r.Q}),n.d(e,"R",function(){return r.R}),n.d(e,"S",function(){return r.S}),n.d(e,"T",function(){return r.T}),n.d(e,"U",function(){return r.U}),n.d(e,"V",function(){return r.V}),n.d(e,"W",function(){return r.W}),n.d(e,"X",function(){return r.X}),n.d(e,"Y",function(){return r.Y}),n.d(e,"Z",function(){return r.Z}),n.d(e,"_0",function(){return r._0}),n.d(e,"_1",function(){return r._1}),n.d(e,"_2",function(){return r._2}),n.d(e,"_3",function(){return r._3}),n.d(e,"_4",function(){return r._4}),n.d(e,"_5",function(){return r._5}),n.d(e,"_6",function(){return r._6}),n.d(e,"_7",function(){return r._7}),n.d(e,"_8",function(){return r._8}),n.d(e,"_9",function(){return r._9}),n.d(e,"_10",function(){return r._10}),n.d(e,"_11",function(){return r._11}),n.d(e,"_12",function(){return r._12}),n.d(e,"_13",function(){return r._13}),n.d(e,"_14",function(){return r._14}),n.d(e,"_15",function(){return r._15}),n.d(e,"_16",function(){return r._16}),n.d(e,"_17",function(){return r._17}),n.d(e,"_18",function(){return r._18}),n.d(e,"_19",function(){return r._19}),n.d(e,"_20",function(){return r._20}),n.d(e,"_21",function(){return r._21}),n.d(e,"_22",function(){return r._22}),n.d(e,"_23",function(){return r._23}),n.d(e,"_24",function(){return r._24}),n.d(e,"_25",function(){return r._25}),n.d(e,"_26",function(){return r._26}),n.d(e,"_27",function(){return r._27}),n.d(e,"_28",function(){return r._28}),n.d(e,"_29",function(){return r._29}),n.d(e,"_30",function(){return r._30}),n.d(e,"_31",function(){return r._31}),n.d(e,"_32",function(){return r._32}),n.d(e,"_33",function(){return r._33}),n.d(e,"_34",function(){return r._34}),n.d(e,"_35",function(){return r._35}),n.d(e,"_36",function(){return r._36}),n.d(e,"_37",function(){return r._37}),n.d(e,"_38",function(){return r._38}),n.d(e,"_39",function(){return r._39}),n.d(e,"_40",function(){return r._40}),n.d(e,"_41",function(){return r._41}),n.d(e,"_42",function(){return r._42});var o=n(12);n.d(e,"_43",function(){return o.a}),n.d(e,"_44",function(){return o.b}),n.d(e,"_45",function(){return o.c}),n.d(e,"_46",function(){return o.d}),n.d(e,"_47",function(){return o.e}),n.d(e,"_48",function(){return o.f}),n.d(e,"_49",function(){return o.g}),n.d(e,"_50",function(){return o.h}),n.d(e,"_51",function(){return o.i}),n.d(e,"_52",function(){return o.j}),n.d(e,"_53",function(){return o.k}),n.d(e,"_54",function(){return o.l});var i=n(11);n.d(e,"_55",function(){return i.a}),n.d(e,"_56",function(){return i.b}),n.d(e,"_57",function(){return i.c}),n.d(e,"_58",function(){return i.d}),n.d(e,"_59",function(){return i.e}),n.d(e,"_60",function(){return i.f});var s=n(36);n.d(e,"_61",function(){return s.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(0),o=(n.n(r),n(7)),i=(n.n(o),n(2)),s=n(1),c=function(){function t(t){this.parent=t}return t.prototype.getModuleName=function(){return"ribbonButton"},t.prototype.destroy=function(){this.parent=null},t.prototype.createButton=function(t,e){var n=this,r=this.parent.createElement("button",{id:t.id});e.appendChild(r);var c=t.buttonSettings;new o.Button({locale:this.parent.locale,enableRtl:this.parent.enableRtl,enablePersistence:this.parent.enablePersistence,iconPosition:t.activeSize===i.d.Large?"Top":"Left",iconCss:c.iconCss,disabled:t.disabled,cssClass:(s.e+s.f+s.g+s.f+(c.cssClass?c.cssClass:"")).trim(),content:t.activeSize===i.d.Small?"":c.content,isPrimary:c.isPrimary,isToggle:c.isToggle,created:c.created},r),r.onclick=function(t){c.clicked&&c.clicked.call(n,t)},r.setAttribute("aria-label",c.content)},t.prototype.addOverFlowEvents=function(t,e,i){var c=this,l=e.querySelector("#"+t.id);l.setAttribute("data-control",t.type.toString());var a=n.i(r.getComponent)(l,o.Button);a.setProperties({cssClass:a.cssClass+s.f+s.k}),l.onclick=function(e){t.buttonSettings.clicked&&t.buttonSettings.clicked.call(c,e),i.toggle()}},t.prototype.removeOverFlowEvents=function(t,e){var i=this,c=e.querySelector("#"+t.id),l=n.i(r.getComponent)(c,o.Button),a=l.cssClass.split(s.f);a=a.filter(function(t){return t!==s.k}),l.setProperties({cssClass:a.join(s.f)}),c.onclick=function(e){t.buttonSettings.clicked&&t.buttonSettings.clicked.call(i,e)}},t.prototype.click=function(t){var e=n.i(i._37)(this.parent,t);if(e){n.i(r.getComponent)(e,o.Button).click()}},t.prototype.updateButton=function(t,e){var c=n.i(i._31)(this.parent.tabs,e);if(c){n.i(r.merge)(c.item.buttonSettings,t);var l=n.i(i._37)(this.parent,e,c);if(l){var a=n.i(r.getComponent)(l,o.Button);t.cssClass&&(t.cssClass=(s.e+s.f+s.g+s.f+t.cssClass).trim()),t.content&&(t.content=c.item.activeSize===i.d.Small?"":t.content,l.setAttribute("aria-label",t.content)),delete t.clicked,a.setProperties(t)}}},t.prototype.updateButtonSize=function(t,e){n.i(r.getComponent)(t,o.Button).setProperties({iconPosition:e.activeSize===i.d.Large?"Top":"Left",content:e.activeSize===i.d.Small?"":e.buttonSettings.content})},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(0),o=(n.n(r),n(7)),i=(n.n(o),n(2)),s=function(){function t(t){this.parent=t}return t.prototype.getModuleName=function(){return"ribbonCheckBox"},t.prototype.destroy=function(){this.parent=null},t.prototype.createCheckBox=function(t,e){var n=this,r=this.parent.createElement("input",{id:t.id});e.appendChild(r);var s=t.checkBoxSettings;new o.CheckBox({locale:this.parent.locale,enableRtl:this.parent.enableRtl,enablePersistence:this.parent.enablePersistence,checked:s.checked,cssClass:(i.n+i.q+(s.cssClass?s.cssClass:"")).trim(),label:s.label,labelPosition:s.labelPosition,disabled:t.disabled,created:s.created,change:function(t){s.change&&s.change.call(n,t)}},r)},t.prototype.addOverFlowEvents=function(t,e,s){var c=this,l=e.querySelector("#"+t.id);l.setAttribute("data-control",t.type.toString());var a=n.i(r.getComponent)(l,o.CheckBox);a.cssClass=a.cssClass+i.q+i.o,a.dataBind(),a.change=function(e){t.checkBoxSettings.change&&t.checkBoxSettings.change.call(c,e),s.toggle()}},t.prototype.removeOverFlowEvents=function(t,e){var s=this,c=e.querySelector("#"+t.id),l=n.i(r.getComponent)(c,o.CheckBox),a=l.cssClass.split(i.q);a=a.filter(function(t){return t!==i.o}),l.cssClass=a.join(i.q),l.dataBind(),l.change=function(e){t.checkBoxSettings.change&&t.checkBoxSettings.change.call(s,e)}},t.prototype.click=function(t){var e=n.i(i._37)(this.parent,t);if(e){n.i(r.getComponent)(e,o.CheckBox).click()}},t.prototype.updateCheckBox=function(t,e){var s=n.i(i._31)(this.parent.tabs,e);if(s){n.i(r.merge)(s.item.checkBoxSettings,t);var c=n.i(i._37)(this.parent,e,s);if(c){t.cssClass&&(t.cssClass=(i.n+i.q+t.cssClass).trim()),delete t.change;n.i(r.getComponent)(c,o.CheckBox).setProperties(t)}}},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(0),o=(n.n(r),n(45)),i=(n.n(o),n(2)),s=n(1),c=function(){function t(t){this.parent=t}return t.prototype.getModuleName=function(){return"ribbonColorPicker"},t.prototype.destroy=function(){this.parent=null},t.prototype.createColorPicker=function(t,e){var n=this,i=this.parent.createElement("input",{id:t.id});e.appendChild(i);var c=t.colorPickerSettings,l=new o.ColorPicker({locale:this.parent.locale,enableRtl:this.parent.enableRtl,enablePersistence:this.parent.enablePersistence,columns:c.columns,cssClass:(s.g+s.f+(c.cssClass?c.cssClass:"")).trim(),disabled:t.disabled,enableOpacity:c.enableOpacity,mode:c.mode,modeSwitcher:c.modeSwitcher,noColor:c.noColor,presetColors:c.presetColors,showButtons:c.showButtons,value:c.value,beforeClose:function(){l.element.parentElement.classList.remove(s.i),c.beforeClose&&c.beforeClose.call(n)},beforeOpen:c.beforeOpen,beforeTileRender:c.beforeTileRender,created:c.created,change:c.change,open:function(){l.element.parentElement.classList.add(s.i),c.open&&c.open.call(n)},select:c.select},i),a=l.element.parentElement;r.EventHandler.add(a,"mouseenter",this.toggleWrapperHover.bind(this,a,!0),this),r.EventHandler.add(a,"mouseleave",this.toggleWrapperHover.bind(this,a,!1),this)},t.prototype.toggleWrapperHover=function(t,e){e?t.classList.add(s.j):t.classList.remove(s.j)},t.prototype.addOverFlowEvents=function(t,e,i){var c=this,l=e.querySelector("#"+t.id);l.setAttribute("data-control",t.type.toString());var a=n.i(r.getComponent)(l,o.ColorPicker);a.setProperties({cssClass:a.cssClass+s.f+s.k});var u,p=a.splitBtn;a.beforeClose=function(e){u=e.event?e.event.target:null,a.element.parentElement.classList.remove(s.i),t.colorPickerSettings.beforeClose&&t.colorPickerSettings.beforeClose.call(c)},p.close=function(){u&&!u.closest(".e-ribbon-group-overflow-ddb")&&i.toggle()}},t.prototype.removeOverFlowEvents=function(t,e){var i=this,c=e.querySelector("#"+t.id),l=n.i(r.getComponent)(c,o.ColorPicker),a=l.cssClass.split(s.f);a=a.filter(function(t){return t!==s.k}),l.setProperties({cssClass:a.join(s.f)}),l.splitBtn.close=null,l.beforeClose=function(e){l.element.parentElement.classList.remove(s.i),t.colorPickerSettings.beforeClose&&t.colorPickerSettings.beforeClose.call(i)}},t.prototype.getColorPickerObj=function(t){var e=n.i(i._37)(this.parent,t);return e?n.i(r.getComponent)(e,o.ColorPicker):null},t.prototype.getValue=function(t,e,n){var r=this.getColorPickerObj(t);return r?r.getValue(e,n):""},t.prototype.toggle=function(t){var e=this.getColorPickerObj(t);e&&e.toggle()},t.prototype.updateColorPicker=function(t,e){var c=n.i(i._31)(this.parent.tabs,e);if(c){n.i(r.merge)(c.item.checkBoxSettings,t);var l=n.i(i._37)(this.parent,e,c);if(l){t.cssClass&&(t.cssClass=(s.g+s.f+t.cssClass).trim()),delete t.beforeClose,delete t.open;n.i(r.getComponent)(l,o.ColorPicker).setProperties(t)}}},t.prototype.unwireColorPickerEvents=function(t){var e=n.i(r.getComponent)(t,o.ColorPicker),i=e.element.parentElement;r.EventHandler.remove(i,"mouseenter",this.toggleWrapperHover),r.EventHandler.remove(i,"mouseleave",this.toggleWrapperHover)},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(0),o=(n.n(r),n(22)),i=(n.n(o),n(2)),s=function(){function t(t){this.parent=t}return t.prototype.getModuleName=function(){return"ribbonComboBox"},t.prototype.destroy=function(){this.parent=null},t.prototype.createComboBox=function(t,e){var n=this,r=this.parent.createElement("input",{id:t.id});e.appendChild(r);var s=t.comboBoxSettings;new o.ComboBox({locale:this.parent.locale,enableRtl:this.parent.enableRtl,enablePersistence:this.parent.enablePersistence,allowCustom:!1,floatLabelType:"Never",ignoreAccent:!0,ignoreCase:!0,allowFiltering:s.allowFiltering,autofill:s.autofill,cssClass:(i.n+i.q+(s.cssClass?s.cssClass:"")).trim(),dataSource:s.dataSource,enabled:!t.disabled,fields:s.fields,filterType:s.filterType,footerTemplate:s.footerTemplate,groupTemplate:s.groupTemplate,headerTemplate:s.headerTemplate,index:s.index,itemTemplate:s.itemTemplate,noRecordsTemplate:s.noRecordsTemplate,placeholder:s.placeholder,popupHeight:s.popupHeight,popupWidth:s.popupWidth,showClearButton:s.showClearButton,sortOrder:s.sortOrder,text:s.text,value:s.value,width:s.width,beforeOpen:s.beforeOpen,open:s.open,close:function(t){s.close&&s.close.call(n,t)},filtering:s.filtering,change:s.change,select:s.select,created:s.created},r)},t.prototype.addOverFlowEvents=function(t,e,s){var c=this,l=e.querySelector("#"+t.id);l.setAttribute("data-control",t.type.toString());var a=n.i(r.getComponent)(l,o.ComboBox);a.setProperties({cssClass:a.cssClass+i.q+i.o}),a.close=function(e){var n=e.event?e.event.target:null;t.comboBoxSettings.close&&t.comboBoxSettings.close.call(c,e),n&&!n.closest(".e-ribbon-group-overflow-ddb")&&s.toggle()}},t.prototype.removeOverFlowEvents=function(t,e){var s=this,c=e.querySelector("#"+t.id),l=n.i(r.getComponent)(c,o.ComboBox),a=l.cssClass.split(i.q);a=a.filter(function(t){return t!==i.o}),l.setProperties({cssClass:a.join(i.q)}),l.close=function(e){t.comboBoxSettings.close&&t.comboBoxSettings.close.call(s,e)}},t.prototype.getComboBoxObj=function(t){var e=n.i(i._37)(this.parent,t);return e?n.i(r.getComponent)(e,o.ComboBox):null},t.prototype.filter=function(t,e,n,r){this.getComboBoxObj(t).filter(e,n,r)},t.prototype.hidePopup=function(t){var e=this.getComboBoxObj(t);e&&e.hidePopup()},t.prototype.showPopup=function(t){var e=this.getComboBoxObj(t);e&&e.showPopup()},t.prototype.updateComboBox=function(t,e){var s=n.i(i._31)(this.parent.tabs,e);if(s){n.i(r.merge)(s.item.comboBoxSettings,t);var c=n.i(i._37)(this.parent,e,s);if(c){t.cssClass&&(t.cssClass=(i.n+i.q+t.cssClass).trim()),delete t.close;n.i(r.getComponent)(c,o.ComboBox).setProperties(t)}}},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return l});var r=n(0),o=(n.n(r),n(3)),i=(n.n(o),n(23)),s=(n.n(i),n(2)),c=n(1),l=function(){function t(t){this.parent=t}return t.prototype.getModuleName=function(){return"ribbonDropDown"},t.prototype.destroy=function(){this.parent=null},t.prototype.createDropDown=function(t,e){var n=this,r=this.parent.createElement("button",{id:t.id});e.appendChild(r);var i=t.dropDownSettings,l=(c.e+c.f+c.g+c.f+(i.cssClass?i.cssClass:"")).trim();new o.DropDownButton({locale:this.parent.locale,enableRtl:this.parent.enableRtl,enablePersistence:this.parent.enablePersistence,iconPosition:t.activeSize===s.d.Large?"Top":"Left",closeActionEvents:i.closeActionEvents,content:t.activeSize===s.d.Small?"":i.content,cssClass:l+(t.activeSize===s.d.Large?c.f+c.h:""),disabled:t.disabled,iconCss:i.iconCss,items:i.items,target:i.target,beforeClose:function(t){i.beforeClose&&i.beforeClose.call(n,t)},beforeItemRender:i.beforeItemRender,beforeOpen:i.beforeOpen,close:function(t){i.close&&i.close.call(n,t)},created:i.created,open:i.open,select:i.select},r)},t.prototype.addOverFlowEvents=function(t,e,i){var s=this,l=e.querySelector("#"+t.id);l.setAttribute("data-control",t.type.toString());var a=n.i(r.getComponent)(l,o.DropDownButton);a.cssClass=a.cssClass+c.f+c.k,a.dataBind();var u;a.beforeClose=function(e){t.dropDownSettings.beforeClose&&t.dropDownSettings.beforeClose.call(s,e),u=e.event?e.event.target:null},a.close=function(e){t.dropDownSettings.close&&t.dropDownSettings.close.call(s,e),u&&!u.closest(".e-ribbon-group-overflow-ddb")&&i.toggle()}},t.prototype.removeOverFlowEvents=function(t,e){var i=this,s=e.querySelector("#"+t.id),l=n.i(r.getComponent)(s,o.DropDownButton),a=l.cssClass.split(c.f);a=a.filter(function(t){return t!==c.k}),l.cssClass=a.join(c.f),l.dataBind(),l.close=function(e){t.dropDownSettings.close&&t.dropDownSettings.close.call(i,e)},l.beforeClose=function(e){t.dropDownSettings.beforeClose&&t.dropDownSettings.beforeClose.call(i,e)}},t.prototype.createOverFlowDropDown=function(t,e,i,l,a,u){var p=this;this.enableRtl=u;var d=this.parent.createElement("button",{id:t+c.l+c.m});l.setAttribute("tabindex","0"),a.appendChild(d);var f=new o.DropDownButton({iconCss:i,target:l,locale:this.parent.locale,enableRtl:this.parent.enableRtl,enablePersistence:this.parent.enablePersistence,cssClass:c.h+c.f+c.n,iconPosition:"Top",content:e,beforeClose:function(t){t.cancel=!n.i(r.isNullOrUndefined)(t.event&&n.i(r.closest)(t.event.target,"."+c.k))}},d);return n.i(s._40)(l,this.parent),d.onclick=d.onkeydown=function(){p.itemIndex=0},l.onkeydown=function(t){p.keyActionHandler(t,l)},f},t.prototype.keyActionHandler=function(t,e){var n,r=e.querySelectorAll(".e-control"),o=e.querySelectorAll(".e-combobox");if(o)for(var i=0;i<o.length;i++)o[parseInt(i.toString(),10)].closest(".e-input-focus")&&(n=o[parseInt(i.toString(),10)]);if(n)for(var i=0;i<r.length;i++)r[parseInt(i.toString(),10)].classList.contains("e-combobox")&&r[parseInt(i.toString(),10)].closest(".e-input-focus")&&(this.itemIndex=i);(t.target.classList.contains("e-control")||t.target.classList.contains("e-ribbon-launcher-icon")||t.target.classList.contains("e-ribbon-last-item")||t.target.classList.contains("e-ribbon-first-item"))&&(("ArrowRight"===t.key||!t.shiftKey&&"Tab"===t.key)&&this.handleNavigation(t,!this.enableRtl,r),("ArrowLeft"===t.key||t.shiftKey&&"Tab"===t.key)&&this.handleNavigation(t,this.enableRtl,r))},t.prototype.handleNavigation=function(t,e,n){if(n[0].classList.contains("e-ribbon-first-item")||n[0].classList.add("e-ribbon-first-item"),n[n.length-1].classList.contains("e-ribbon-last-item")||n[n.length-1].classList.add("e-ribbon-last-item"),e){if(0===this.itemIndex&&n[parseInt(this.itemIndex.toString(),10)].classList.contains("e-ribbon-first-item")&&this.updateItemIndex(t,n,!0),t.target.classList.contains("e-combobox")||t.target.classList.contains("e-ribbon-last-item")||t.target.classList.contains("e-ribbon-group-container")||!t.target.classList.contains("e-ribbon-first-item")&&0===this.itemIndex||!t.target.classList.contains("e-control")||(this.itemIndex++,this.updateItemIndex(t,n,!0)),t.target.classList.contains("e-ribbon-last-item")){var r=!1;r=this.focusLauncherIcon(t,n),r||(this.itemIndex=0,this.updateItemIndex(t,n,!0))}t.target.classList.contains("e-ribbon-launcher-icon")&&(this.itemIndex=0,this.updateItemIndex(t,n,!0))}else{if(t.target.classList.contains("e-combobox")||0===this.itemIndex||(this.itemIndex--,this.updateItemIndex(t,n,!1)),t.target.classList.contains("e-ribbon-first-item")){var r=!1;r=this.focusLauncherIcon(t,n),r||(this.itemIndex=n.length-1,this.updateItemIndex(t,n,!1))}t.target.classList.contains("e-ribbon-launcher-icon")&&(this.itemIndex=n.length-1,this.updateItemIndex(t,n,!1))}t.target.classList.contains("e-combobox")&&"Tab"===t.key&&(e?this.itemIndex<n.length-1&&this.itemIndex++:this.itemIndex>0&&this.itemIndex--)},t.prototype.focusLauncherIcon=function(t,e){var n,r=e[parseInt(this.itemIndex.toString(),10)].closest(".e-ribbon-group-container");return r&&(n=r.querySelector(".e-ribbon-launcher-icon")),!!n&&("Tab"===t.key&&t.preventDefault(),r.querySelector(".e-ribbon-launcher-icon").focus(),!0)},t.prototype.updateItemIndex=function(t,e,n){for(var r=e[this.itemIndex].closest(".e-ribbon-item");r&&r.classList.contains("e-disabled");){if(n)if(this.itemIndex<e.length-1)this.itemIndex++;else{if(this.focusLauncherIcon(t,e))break;this.itemIndex=0}else if(this.itemIndex>0)this.itemIndex--;else{if(this.focusLauncherIcon(t,e))break;this.itemIndex=e.length-1}r=e[this.itemIndex].closest(".e-ribbon-item")}"Tab"===t.key&&t.preventDefault(),e[parseInt(this.itemIndex.toString(),10)].focus()},t.prototype.removeOverFlowDropDown=function(t){var e=n.i(r.getComponent)(t,o.DropDownButton);n.i(r.getComponent)(e.target,i.Tooltip).destroy(),t.parentElement.parentElement.insertBefore(e.target,t.parentElement),e.destroy(),n.i(r.remove)(t)},t.prototype.getDDBItemElement=function(t,e){return n.i(r.getComponent)(t,o.DropDownButton).dropDown.element.querySelector("#"+e)},t.prototype.getOverflowDropDownPopup=function(t,e){var i=e.querySelector("#"+this.parent.tabs[t.tabIndex].groups[t.groupIndex].id+c.l+c.m);return n.i(r.getComponent)(i,o.DropDownButton).dropDown.element},t.prototype.getDropDownObj=function(t){var e=n.i(s._37)(this.parent,t);return e?n.i(r.getComponent)(e,o.DropDownButton):null},t.prototype.addItems=function(t,e,n){this.getDropDownObj(t).addItems(e,n)},t.prototype.removeItems=function(t,e,n){this.getDropDownObj(t).removeItems(e,n)},t.prototype.toggle=function(t){this.getDropDownObj(t).toggle()},t.prototype.updateDropDown=function(t,e){var i=n.i(s._31)(this.parent.tabs,e);if(i){n.i(r.merge)(i.item.dropDownSettings,t);var l=n.i(s._37)(this.parent,e,i);if(l){var a=n.i(r.getComponent)(l,o.DropDownButton);t.cssClass&&(t.cssClass=(c.g+c.f+c.e+c.f+t.cssClass).trim(),t.cssClass=i.item.activeSize===s.d.Large?(c.h+c.f+t.cssClass).trim():t.cssClass,a.cssClass=t.cssClass),delete t.close,delete t.beforeClose,t.content&&(t.content=i.item.activeSize===s.d.Small?"":t.content),a.setProperties(t)}}},t.prototype.updateDropDownSize=function(t,e){var i=n.i(r.getComponent)(t,o.DropDownButton),l=i.cssClass.split(c.f);e.activeSize===s.d.Large?l.push(c.h):l=l.filter(function(t){return t!==c.h}),i.cssClass=l.join(c.f),i.setProperties({iconPosition:e.activeSize===s.d.Large?"Top":"Left"}),i.setProperties({content:e.activeSize===s.d.Small?"":e.dropDownSettings.content})},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(0),o=(n.n(r),n(3)),i=(n.n(o),n(2)),s=n(1),c=function(){function t(t){this.parent=t}return t.prototype.getModuleName=function(){return"ribbonSplitButton"},t.prototype.destroy=function(){this.parent=null},t.prototype.createSplitButton=function(t,e){var n=this,c=this.parent.createElement("button",{id:t.id});e.appendChild(c);var l=t.splitButtonSettings,a=(s.e+s.f+s.g+s.f+(l.cssClass?l.cssClass:"")).trim(),u=new o.SplitButton({locale:this.parent.locale,enableRtl:this.parent.enableRtl,enablePersistence:this.parent.enablePersistence,iconPosition:t.activeSize===i.d.Large?"Top":"Left",closeActionEvents:l.closeActionEvents,cssClass:a+(t.activeSize===i.d.Large?s.f+s.h:""),disabled:t.disabled,iconCss:l.iconCss,items:l.items,target:l.target,beforeClose:function(t){l.beforeClose&&l.beforeClose.call(n,t)},beforeItemRender:l.beforeItemRender,beforeOpen:l.beforeOpen,close:function(){u.wrapper.classList.remove(s.i),l.close&&l.close.call(n)},created:l.created,open:function(){u.wrapper.classList.add(s.i),l.open&&l.open.call(n)},select:l.select,click:function(t){l.click&&l.click.call(n,t)}},c),p=c.parentElement.querySelector(".e-dropdown-btn");p.onkeydown=function(t){"Enter"===t.key&&(t.stopImmediatePropagation(),p.click())},this.setContent(t,u);var d=u.wrapper;r.EventHandler.add(d,"mouseenter",function(){d.classList.add(s.j)},this),r.EventHandler.add(d,"mouseleave",function(){d.classList.remove(s.j)},this)},t.prototype.addOverFlowEvents=function(t,e,i){var c=this,l=e.querySelector("#"+t.id);l.setAttribute("data-control",t.type.toString());var a=n.i(r.getComponent)(l,o.SplitButton);a.cssClass=a.cssClass+s.f+s.k,a.dataBind();var u=l.parentElement.querySelector(".e-dropdown-btn"),p=u.getAttribute("id"),d=document.querySelector("#"+p+"-popup");u.onkeydown=function(t){"Enter"===t.key&&(t.stopImmediatePropagation(),u.click())},d.onkeydown=function(t){"Enter"===t.key&&(t.preventDefault(),a.wrapper.classList.remove("e-ribbon-open"),d.querySelector(".e-focused").click())};var f;a.beforeClose=function(e){t.splitButtonSettings.beforeClose&&t.splitButtonSettings.beforeClose.call(c,e),f=e.event?e.event.target:null},a.click=function(e){t.splitButtonSettings.click&&t.splitButtonSettings.click.call(c,e),i.toggle()},a.close=function(e){t.splitButtonSettings.close&&t.splitButtonSettings.close.call(c,e),a.wrapper.classList.remove(s.i),f&&!f.closest(".e-ribbon-group-overflow-ddb")&&i.toggle()}},t.prototype.removeOverFlowEvents=function(t,e){var i=this,c=e.querySelector("#"+t.id),l=n.i(r.getComponent)(c,o.SplitButton),a=l.cssClass.split(s.f);a=a.filter(function(t){return t!==s.k}),l.cssClass=a.join(s.f),l.dataBind(),l.beforeClose=function(e){t.splitButtonSettings.beforeClose&&t.splitButtonSettings.beforeClose.call(i,e)},l.click=function(e){t.splitButtonSettings.click&&t.splitButtonSettings.click.call(i,e)},l.close=function(e){t.splitButtonSettings.close&&t.splitButtonSettings.close.call(i,e),l.wrapper.classList.remove(s.i)}},t.prototype.setContent=function(t,e){e.primaryBtnObj.setProperties({content:t.activeSize===i.d.Medium?t.splitButtonSettings.content:""}),e.secondaryBtnObj.setProperties({content:t.activeSize===i.d.Large?t.splitButtonSettings.content:""})},t.prototype.getSplitButtonObj=function(t){var e=n.i(i._37)(this.parent,t);return n.i(r.getComponent)(e,o.SplitButton)},t.prototype.addItems=function(t,e,n){this.getSplitButtonObj(t).addItems(e,n)},t.prototype.removeItems=function(t,e,n){this.getSplitButtonObj(t).removeItems(e,n)},t.prototype.toggle=function(t){this.getSplitButtonObj(t).toggle()},t.prototype.updateSplitButton=function(t,e){var c=n.i(i._31)(this.parent.tabs,e);if(c){n.i(r.merge)(c.item.splitButtonSettings,t);var l=n.i(i._37)(this.parent,e,c);if(l){var a=n.i(r.getComponent)(l,o.SplitButton);t.cssClass&&(t.cssClass=(s.g+s.f+s.e+s.f+t.cssClass).trim(),t.cssClass=c.item.activeSize===i.d.Large?(s.h+s.f+t.cssClass).trim():t.cssClass,a.cssClass=t.cssClass),delete t.open,delete t.click,delete t.close,delete t.beforeClose,a.setProperties(t),t.content&&this.setContent(c.item,a)}}},t.prototype.updateSplitButtonSize=function(t,e){var c=n.i(r.getComponent)(t,o.SplitButton),l=c.cssClass.split(s.f);e.activeSize===i.d.Large?l.push(s.h):l=l.filter(function(t){return t!==s.h}),c.cssClass=l.join(s.f),c.setProperties({iconPosition:e.activeSize===i.d.Large?"Top":"Left"}),this.setContent(e,c)},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return l});var r=n(0),o=(n.n(r),n(8)),i=(n.n(o),n(6)),s=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},c([n.i(r.Property)("File")],e.prototype,"text",void 0),c([n.i(r.Property)(!1)],e.prototype,"visible",void 0),c([n.i(r.Collection)([],o.MenuItem)],e.prototype,"menuItems",void 0),c([n.i(r.Property)(!1)],e.prototype,"showItemOnClick",void 0),c([n.i(r.Complex)({},o.MenuAnimationSettings)],e.prototype,"animationSettings",void 0),c([n.i(r.Property)("")],e.prototype,"itemTemplate",void 0),c([n.i(r.Property)("")],e.prototype,"popupTemplate",void 0),c([n.i(r.Complex)({},i.a)],e.prototype,"ribbonTooltipSettings",void 0),c([n.i(r.Event)()],e.prototype,"beforeClose",void 0),c([n.i(r.Event)()],e.prototype,"beforeOpen",void 0),c([n.i(r.Event)()],e.prototype,"beforeItemRender",void 0),c([n.i(r.Event)()],e.prototype,"close",void 0),c([n.i(r.Event)()],e.prototype,"open",void 0),c([n.i(r.Event)()],e.prototype,"select",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(0),o=(n.n(r),n(19)),i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.setProperties=function(e,n){t.prototype.setProperties.call(this,e,n)},s([n.i(r.Property)("")],e.prototype,"id",void 0),s([n.i(r.Property)("")],e.prototype,"cssClass",void 0),s([n.i(r.Collection)([],o.a)],e.prototype,"groups",void 0),s([n.i(r.Property)("")],e.prototype,"header",void 0),e}(r.ChildProperty)},function(t,e,n){"use strict";var r=n(37);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return l});var r=n(0),o=(n.n(r),n(3)),i=(n.n(o),n(8)),s=(n.n(i),n(2)),c=n(1),l=function(){function t(t){this.parent=t}return t.prototype.getModuleName=function(){return"ribbonFileMenu"},t.prototype.destroy=function(){this.fileMenuDDB&&this.destroyDDB(),this.parent=null},t.prototype.createFileMenu=function(t){var e=this;if(t.visible){this.ddbElement=this.parent.createElement("button",{id:this.parent.element.id+c.a});var n=this.parent.tabObj.element,r=n.querySelector(".e-toolbar");n.insertBefore(this.ddbElement,r),this.fileMenuDDB=new o.DropDownButton({content:t.text,enableRtl:this.parent.enableRtl,cssClass:"e-ribbon-file-menu e-caret-hide",created:function(){n.style.setProperty(c.b,e.ddbElement.offsetWidth+"px")},beforeClose:this.ddbBeforeEvent.bind(this,!1),beforeOpen:this.ddbBeforeEvent.bind(this,!0),close:this.ddbAfterEvent.bind(this,!1),open:this.ddbAfterEvent.bind(this,!0)},this.ddbElement),this.parent.fileMenu.popupTemplate?this.fileMenuDDB.setProperties({target:this.parent.fileMenu.popupTemplate}):this.createRibbonMenu(t),this.parent.tabObj.refreshActiveTabBorder(),this.addFileMenuTooltip(t)}},t.prototype.addFileMenuTooltip=function(t){n.i(s._38)(t.ribbonTooltipSettings)&&(this.ddbElement.classList.add(c.c),this.parent.tooltipData.push({id:this.ddbElement.id,data:t.ribbonTooltipSettings}))},t.prototype.ddbBeforeEvent=function(t,e){!t&&e.event&&e.event.target.closest(".e-ribbon-menu")&&(e.cancel=!0);var n=t?this.parent.fileMenu.beforeOpen:this.parent.fileMenu.beforeClose;if(n){var r={cancel:e.cancel,element:e.element,event:e.event};n.call(this,r),e.cancel=r.cancel}},t.prototype.ddbAfterEvent=function(t,e){(t?this.fileMenuDDB.target:this.fileMenuDDB.element).focus();var n=t?this.parent.fileMenu.open:this.parent.fileMenu.close;if(n){var r={element:e.element};n.call(this,r)}},t.prototype.cloneMenuItem=function(t){for(var e=[],n=0;n<t.length;n++){var r=t[parseInt(n.toString(),10)];e.push({iconCss:r.iconCss,id:r.id,separator:r.separator,text:r.text,url:r.url,items:this.cloneMenuItem(r.items)})}return e},t.prototype.createRibbonMenu=function(t){var e=this,n=this.parent.createElement("ul",{id:this.parent.element.id+c.d});this.fileMenuDDB.setProperties({target:n}),this.menuctrl=new i.Menu({orientation:"Vertical",enableRtl:this.parent.enableRtl,cssClass:"e-ribbon-menu",animationSettings:t.animationSettings,items:this.cloneMenuItem(t.menuItems),showItemOnClick:t.showItemOnClick,template:t.itemTemplate,beforeClose:this.menuBeforeEvent.bind(this,!1),beforeOpen:this.menuBeforeEvent.bind(this,!0),beforeItemRender:this.beforeItemRender.bind(this),onClose:this.menuAfterEvent.bind(this,!1),onOpen:this.menuAfterEvent.bind(this,!0),select:this.menuSelect.bind(this)},n),r.EventHandler.add(n,"keydown",function(t){"Tab"===t.key&&e.fileMenuDDB.toggle()},this)},t.prototype.menuBeforeEvent=function(t,e){var n=t?this.parent.fileMenu.beforeOpen:this.parent.fileMenu.beforeClose;if(n){var r={cancel:e.cancel,element:e.element,event:e.event,items:e.items,parentItem:e.parentItem};n.call(this,r),e.cancel=r.cancel}},t.prototype.menuAfterEvent=function(t,e){var n=t?this.parent.fileMenu.open:this.parent.fileMenu.close;if(n){var r={element:e.element,items:e.items,parentItem:e.parentItem};n.call(this,r)}},t.prototype.beforeItemRender=function(t){var e=this.parent.fileMenu.beforeItemRender;if(e){var n={element:t.element,item:t.item};e.call(this,n)}},t.prototype.menuSelect=function(t){var e=this.parent.fileMenu.select;if(e){var n={element:t.element,item:t.item,event:t.event};e.call(this,n),t.element.classList.contains("e-menu-caret-icon")||this.fileMenuDDB.toggle()}},t.prototype.setCommonProperties=function(t){this.fileMenuDDB&&(this.fileMenuDDB.setProperties(t),this.menuctrl&&this.menuctrl.setProperties(t))},t.prototype.updateFileMenu=function(t){t.visible?this.fileMenuDDB?(t.text&&(this.fileMenuDDB.setProperties({content:t.text}),this.parent.tabObj.element.style.setProperty(c.b,this.ddbElement.offsetWidth+"px")),t.popupTemplate?(this.menuctrl&&this.destroyMenu(),this.fileMenuDDB.setProperties({target:t.popupTemplate})):this.menuctrl?this.menuctrl.setProperties({animationSettings:t.animationSettings,items:this.cloneMenuItem(t.menuItems),showItemOnClick:t.showItemOnClick,template:t.itemTemplate}):this.createRibbonMenu(t),this.removeFileMenuTooltip(),this.addFileMenuTooltip(t)):this.createFileMenu(t):this.fileMenuDDB&&this.destroyDDB(),this.parent.tabObj.refreshActiveTabBorder()},t.prototype.destroyMenu=function(){this.menuctrl&&(this.menuctrl.destroy(),this.menuctrl=null)},t.prototype.destroyDDB=function(){this.removeFileMenuTooltip(),this.parent.tabObj.element.style.removeProperty(c.b),this.destroyMenu(),this.fileMenuDDB.destroy(),this.fileMenuDDB=null,n.i(r.remove)(this.ddbElement),this.ddbElement=null},t.prototype.removeFileMenuTooltip=function(){var t=this,e=n.i(s._29)(this.parent.tooltipData,function(e){return e.id===t.ddbElement.id});-1!==e&&(this.ddbElement.classList.remove(c.c),this.parent.tooltipData.splice(e,1))},t.prototype.addItems=function(t,e,n,r){n?this.menuctrl.insertAfter(t,e,r):this.menuctrl.insertBefore(t,e,r),this.parent.fileMenu.setProperties({menuItems:this.menuctrl.items},!0)},t.prototype.removeItems=function(t,e){this.menuctrl.removeItems(t,e),this.parent.fileMenu.setProperties({menuItems:this.menuctrl.items},!0)},t.prototype.enableItems=function(t,e){this.menuctrl.enableItems(t,!0,e),this.parent.fileMenu.setProperties({menuItems:this.menuctrl.items},!0)},t.prototype.disableItems=function(t,e){this.menuctrl.enableItems(t,!1,e),this.parent.fileMenu.setProperties({menuItems:this.menuctrl.items},!0)},t.prototype.setItem=function(t,e,n){this.menuctrl.setItem(t,e,n),this.menuctrl.refresh(),this.parent.fileMenu.setProperties({menuItems:this.menuctrl.items},!0)},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(24);n.d(e,"RibbonTabDirective",function(){return r.a}),n.d(e,"RibbonTabsDirective",function(){return r.b}),n.d(e,"RibbonGroupDirective",function(){return r.c}),n.d(e,"RibbonGroupsDirective",function(){return r.d}),n.d(e,"RibbonCollectionDirective",function(){return r.e}),n.d(e,"RibbonCollectionsDirective",function(){return r.f}),n.d(e,"RibbonItemDirective",function(){return r.g}),n.d(e,"RibbonItemsDirective",function(){return r.h}),n.d(e,"RibbonComponent",function(){return r.i});var o=n(4);n.n(o);n.o(o,"Inject")&&n.d(e,"Inject",function(){return o.Inject});var i=n(9);n.d(e,"Ribbon",function(){return i.a}),n.d(e,"RibbonLayout",function(){return i.b}),n.d(e,"ItemOrientation",function(){return i.c}),n.d(e,"RibbonItemSize",function(){return i.d}),n.d(e,"DisplayMode",function(){return i.e}),n.d(e,"RibbonItemType",function(){return i.f}),n.d(e,"ITEM_VERTICAL_CENTER",function(){return i.g}),n.d(e,"EXPAND_COLLAPSE_ICON",function(){return i.h}),n.d(e,"OVERFLOW_ICON",function(){return i.i}),n.d(e,"VERTICAL_DDB",function(){return i.j}),n.d(e,"DISABLED_CSS",function(){return i.k}),n.d(e,"RTL_CSS",function(){return i.l}),n.d(e,"RIBBON_HOVER",function(){return i.m}),n.d(e,"RIBBON_CONTROL",function(){return i.n}),n.d(e,"RIBBON_POPUP_CONTROL",function(){return i.o}),n.d(e,"RIBBON_POPUP_OPEN",function(){return i.p}),n.d(e,"SPACE",function(){return i.q}),n.d(e,"HORIZONTAL_SCROLLBAR",function(){return i.r}),n.d(e,"HIDE_CSS",function(){return i.s}),n.d(e,"RIBBON_TAB",function(){return i.t}),n.d(e,"RIBBON_TAB_ACTIVE",function(){return i.u}),n.d(e,"RIBBON_TAB_ITEM",function(){return i.v}),n.d(e,"RIBBON_COLLAPSE_BUTTON",function(){return i.w}),n.d(e,"RIBBON_EXPAND_BUTTON",function(){return i.x}),n.d(e,"RIBBON_COLLAPSIBLE",function(){return i.y}),n.d(e,"RIBBON_OVERALL_OF_BUTTON",function(){return i.z}),n.d(e,"RIBBON_GROUP_OF_BUTTON",function(){return i.A}),n.d(e,"RIBBON_OVERFLOW_TARGET",function(){return i.B}),n.d(e,"RIBBON_OVERFLOW",function(){return i.C}),n.d(e,"TAB_CONTENT",function(){return i.D}),n.d(e,"RIBBON_MINIMIZE",function(){return i.E}),n.d(e,"RIBBON_GROUP",function(){return i.F}),n.d(e,"RIBBON_GROUP_CONTAINER",function(){return i.G}),n.d(e,"RIBBON_OF_TAB_CONTAINER",function(){return i.H}),n.d(e,"RIBBON_OF_GROUP_CONTAINER",function(){return i.I}),n.d(e,"RIBBON_GROUP_CONTENT",function(){return i.J}),n.d(e,"RIBBON_GROUP_HEADER",function(){return i.K}),n.d(e,"RIBBON_OVERFLOW_HEADER",function(){return i.L}),n.d(e,"RIBBON_GROUP_OVERFLOW",function(){return i.M}),n.d(e,"RIBBON_GROUP_OVERFLOW_DDB",function(){return i.N}),n.d(e,"RIBBON_LAUNCHER",function(){return i.O}),n.d(e,"RIBBON_LAUNCHER_ICON_ELE",function(){return i.P}),n.d(e,"RIBBON_LAUNCHER_ICON",function(){return i.Q}),n.d(e,"RIBBON_COLLECTION",function(){return i.R}),n.d(e,"RIBBON_ITEM",function(){return i.S}),n.d(e,"RIBBON_ROW",function(){return i.T}),n.d(e,"RIBBON_COLUMN",function(){return i.U}),n.d(e,"RIBBON_LARGE_ITEM",function(){return i.V}),n.d(e,"RIBBON_MEDIUM_ITEM",function(){return i.W}),n.d(e,"RIBBON_SMALL_ITEM",function(){return i.X}),n.d(e,"RIBBON_CONTENT_HEIGHT",function(){return i.Y}),n.d(e,"DROPDOWNBUTTON",function(){return i.Z}),n.d(e,"DROPDOWNBUTTON_HIDE",function(){return i._0}),n.d(e,"RIBBON_TEMPLATE",function(){return i._1}),n.d(e,"RIBBON_HELP_TEMPLATE",function(){return i._2}),n.d(e,"RIBBON_TOOLTIP",function(){return i._3}),n.d(e,"RIBBON_TOOLTIP_TARGET",function(){return i._4}),n.d(e,"RIBBON_TOOLTIP_TITLE",function(){return i._5}),n.d(e,"RIBBON_TOOLTIP_CONTENT",function(){return i._6}),n.d(e,"RIBBON_TOOLTIP_ICON",function(){return i._7}),n.d(e,"RIBBON_TOOLTIP_CONTAINER",function(){return i._8}),n.d(e,"RIBBON_TEXT_CONTAINER",function(){return i._9}),n.d(e,"RIBBON_SIMPLIFIED_MODE",function(){return i._10}),n.d(e,"TAB_ID",function(){return i._11}),n.d(e,"GROUP_ID",function(){return i._12}),n.d(e,"COLLECTION_ID",function(){return i._13}),n.d(e,"ITEM_ID",function(){return i._14}),n.d(e,"COLLAPSE_BUTTON_ID",function(){return i._15}),n.d(e,"OVRLOF_BUTTON_ID",function(){return i._16}),n.d(e,"GROUPOF_BUTTON_ID",function(){return i._17}),n.d(e,"HEADER_ID",function(){return i._18}),n.d(e,"LAUNCHER_ID",function(){return i._19}),n.d(e,"CONTENT_ID",function(){return i._20}),n.d(e,"CONTAINER_ID",function(){return i._21}),n.d(e,"OVERFLOW_ID",function(){return i._22}),n.d(e,"DROPDOWN_ID",function(){return i._23}),n.d(e,"RIBBON_FILE_MENU_ID",function(){return i._24}),n.d(e,"RIBBON_FILE_MENU_LIST",function(){return i._25}),n.d(e,"RIBBON_HELP_PANE_TEMPLATE_ID",function(){return i._26}),n.d(e,"RIBBON_FILE_MENU_WIDTH",function(){return i._27}),n.d(e,"RIBBON_HELP_PANE_TEMPLATE_WIDTH",function(){return i._28}),n.d(e,"getIndex",function(){return i._29}),n.d(e,"getTemplateFunction",function(){return i._30}),n.d(e,"getItem",function(){return i._31}),n.d(e,"getCollection",function(){return i._32}),n.d(e,"getGroup",function(){return i._33}),n.d(e,"destroyControl",function(){return i._34}),n.d(e,"updateCommonProperty",function(){return i._35}),n.d(e,"updateControlDisabled",function(){return i._36}),n.d(e,"getItemElement",function(){return i._37}),n.d(e,"isTooltipPresent",function(){return i._38}),n.d(e,"setToolTipContent",function(){return i._39}),n.d(e,"createTooltip",function(){return i._40}),n.d(e,"destroyTooltip",function(){return i._41}),n.d(e,"updateTooltipProp",function(){return i._42}),n.d(e,"RibbonTab",function(){return i._43}),n.d(e,"RibbonGroup",function(){return i._44}),n.d(e,"RibbonCollection",function(){return i._45}),n.d(e,"RibbonItem",function(){return i._46}),n.d(e,"RibbonButtonSettings",function(){return i._47}),n.d(e,"RibbonCheckBoxSettings",function(){return i._48}),n.d(e,"RibbonColorPickerSettings",function(){return i._49}),n.d(e,"RibbonComboBoxSettings",function(){return i._50}),n.d(e,"RibbonDropDownSettings",function(){return i._51}),n.d(e,"RibbonSplitButtonSettings",function(){return i._52}),n.d(e,"FileMenuSettings",function(){return i._53}),n.d(e,"RibbonTooltip",function(){return i._54}),n.d(e,"RibbonButton",function(){return i._55}),n.d(e,"RibbonCheckBox",function(){return i._56}),n.d(e,"RibbonColorPicker",function(){return i._57}),n.d(e,"RibbonComboBox",function(){return i._58}),n.d(e,"RibbonDropDown",function(){return i._59}),n.d(e,"RibbonSplitButton",function(){return i._60}),n.d(e,"RibbonFileMenu",function(){return i._61})},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return s});var r=n(4),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.moduleName="ribbonCollection",e}(r.ComplexBase),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="collections",e.moduleName="ribbonCollections",e}(r.ComplexBase)},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return s});var r=n(4),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.moduleName="ribbonGroup",e}(r.ComplexBase),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="groups",e.moduleName="ribbonGroups",e}(r.ComplexBase)},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return s});var r=n(4),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.moduleName="ribbonItem",e}(r.ComplexBase),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="items",e.moduleName="ribbonItems",e}(r.ComplexBase)},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(44),o=(n.n(r),n(9)),i=n(4),s=(n.n(i),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),c=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={ribbonTabs:{ribbonTab:{ribbonGroups:{ribbonGroup:{ribbonCollections:{ribbonCollection:{ribbonItems:"ribbonItem"}}}}}}},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return s(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.a);n.i(i.applyMixins)(c,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return s});var r=n(4),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.moduleName="ribbonTab",e}(r.ComplexBase),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="tabs",e.moduleName="ribbonTabs",e}(r.ComplexBase)},function(t,e){t.exports=c},function(t,e){t.exports=l}])});
|