/** * @ag-grid-enterprise/all-modules - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v25.0.0 * @link http://www.ag-grid.com/ * @license Commercial */ // @ag-grid-enterprise/all-modules v25.0.0 !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.agGrid=t():e.agGrid=t()}(window,(function(){return function(e){var t={};function o(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,o),a.l=!0,a.exports}return o.m=e,o.c=t,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)o.d(r,a,function(t){return e[t]}.bind(null,a));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=184)}([function(e,t,o){"use strict";o.r(t),function(e){var r=o(160);o.d(t,"ColumnFactory",(function(){return r.a}));var a=o(101);o.d(t,"ColumnController",(function(){return a.a}));var n=o(100);o.d(t,"ColumnKeyCreator",(function(){return n.a}));var i=o(103);o.d(t,"ColumnUtils",(function(){return i.a}));var l=o(104);o.d(t,"DisplayedGroupCreator",(function(){return l.a}));var s=o(102);o.d(t,"GroupInstanceIdCreator",(function(){return s.a}));var c=o(48);o.d(t,"ComponentUtil",(function(){return c.a}));var p=o(97);o.d(t,"ColDefUtil",(function(){return p.a}));var g=o(63);o.d(t,"UserComponentRegistry",(function(){return g.b}));var d=o(57);o.d(t,"UserComponentFactory",(function(){return d.b}));var u=o(173);o.d(t,"initialiseAgGridWithAngular1",(function(){return u.a}));var h=o(174);o.d(t,"initialiseAgGridWithWebComponents",(function(){return h.a}));var f=o(8);o.d(t,"BeanStub",(function(){return f.a}));var m=o(1);o.d(t,"Context",(function(){return m.c})),o.d(t,"Autowired",(function(){return m.a})),o.d(t,"PostConstruct",(function(){return m.e})),o.d(t,"PreConstruct",(function(){return m.f})),o.d(t,"Optional",(function(){return m.d})),o.d(t,"Bean",(function(){return m.b})),o.d(t,"Qualifier",(function(){return m.h})),o.d(t,"PreDestroy",(function(){return m.g}));var b=o(6);o.d(t,"QuerySelector",(function(){return b.c})),o.d(t,"GuiListener",(function(){return b.b})),o.d(t,"RefSelector",(function(){return b.d})),o.d(t,"GridListener",(function(){return b.a}));var v=o(19);o.d(t,"DragAndDropService",(function(){return v.a})),o.d(t,"DragSourceType",(function(){return v.b})),o.d(t,"HorizontalDirection",(function(){return v.c})),o.d(t,"VerticalDirection",(function(){return v.d}));var y=o(130);o.d(t,"DragService",(function(){return y.a}));var w=o(18);o.d(t,"Column",(function(){return w.a}));var C=o(30);o.d(t,"ColumnGroup",(function(){return C.a}));var x=o(28);o.d(t,"OriginalColumnGroup",(function(){return x.a}));var O=o(23);o.d(t,"RowNode",(function(){return O.a}));var k=o(120);o.d(t,"FilterManager",(function(){return k.a}));var A=o(51);o.d(t,"ProvidedFilter",(function(){return A.a}));var E=o(21);o.d(t,"SimpleFilter",(function(){return E.b}));var S=o(33);o.d(t,"ScalarFilter",(function(){return S.a}));var R=o(69);o.d(t,"NumberFilter",(function(){return R.a}));var P=o(53);o.d(t,"TextFilter",(function(){return P.a}));var T=o(66);o.d(t,"DateFilter",(function(){return T.a}));var D=o(110);o.d(t,"TextFloatingFilter",(function(){return D.a}));var _=o(161);o.d(t,"FloatingFilterWrapper",(function(){return _.a}));var F=o(116);o.d(t,"FloatingFilterMapper",(function(){return F.a}));var N=o(159);o.d(t,"GridPanel",(function(){return N.a}));var M=o(138);o.d(t,"ScrollVisibleService",(function(){return M.a}));var I=o(133);o.d(t,"MouseEventService",(function(){return I.a}));var L=o(119);o.d(t,"BodyDropPivotTarget",(function(){return L.a}));var j=o(117);o.d(t,"BodyDropTarget",(function(){return j.a}));var G=o(71);o.d(t,"CssClassApplier",(function(){return G.a}));var V=o(78);o.d(t,"HeaderContainer",(function(){return V.a}));var B=o(115);o.d(t,"HeaderRootComp",(function(){return B.a}));var W=o(42);o.d(t,"HeaderRowComp",(function(){return W.a}));var H=o(127);o.d(t,"HorizontalResizeService",(function(){return H.a}));var z=o(118);o.d(t,"MoveColumnController",(function(){return z.a}));var U=o(129);o.d(t,"StandardMenuFactory",(function(){return U.a}));var Y=o(175);o.d(t,"TabbedLayout",(function(){return Y.a}));var K=o(176);o.d(t,"simpleHttpRequest",(function(){return K.a}));var X=o(145);o.d(t,"ResizeObserverService",(function(){return X.a}));var q=o(109);o.d(t,"LargeTextCellEditor",(function(){return q.a}));var Z=o(114);o.d(t,"PopupEditorWrapper",(function(){return Z.a}));var Q=o(108);o.d(t,"PopupSelectCellEditor",(function(){return Q.a}));var J=o(107);o.d(t,"PopupTextCellEditor",(function(){return J.a}));var $=o(68);o.d(t,"SelectCellEditor",(function(){return $.a}));var ee=o(60);o.d(t,"TextCellEditor",(function(){return ee.a}));var te=o(105);o.d(t,"AnimateShowChangeCellRenderer",(function(){return te.a}));var oe=o(106);o.d(t,"AnimateSlideCellRenderer",(function(){return oe.a}));var re=o(98);o.d(t,"GroupCellRenderer",(function(){return re.a}));var ae=o(54);o.d(t,"SetLeftFeature",(function(){return ae.a}));var ne=o(126);o.d(t,"AutoWidthCalculator",(function(){return ne.a}));var ie=o(67);o.d(t,"CheckboxSelectionComponent",(function(){return ie.a}));var le=o(46);o.d(t,"CellComp",(function(){return le.a}));var se=o(61);o.d(t,"RowComp",(function(){return se.a}));var ce=o(113);o.d(t,"RowRenderer",(function(){return ce.a}));var pe=o(135);o.d(t,"ValueFormatterService",(function(){return pe.a}));var ge=o(155);o.d(t,"PinnedRowModel",(function(){return ge.a}));var de=o(177);o.d(t,"ServerSideTransactionResultStatus",(function(){return de.a}));var ue=o(70);o.d(t,"ChangedPath",(function(){return ue.a}));var he=o(99);o.d(t,"RowNodeBlock",(function(){return he.a}));var fe=o(157);o.d(t,"RowNodeBlockLoader",(function(){return fe.a}));var me=o(140);o.d(t,"PaginationProxy",(function(){return me.a}));var be=o(139);o.d(t,"StylingService",(function(){return be.a}));var ve=o(34);o.d(t,"AgAbstractField",(function(){return ve.a}));var ye=o(47);o.d(t,"AgCheckbox",(function(){return ye.a}));var we=o(136);o.d(t,"AgRadioButton",(function(){return we.a}));var Ce=o(152);o.d(t,"AgToggleButton",(function(){return Ce.a}));var xe=o(74);o.d(t,"AgInputTextField",(function(){return xe.a}));var Oe=o(147);o.d(t,"AgInputTextArea",(function(){return Oe.a}));var ke=o(149);o.d(t,"AgInputNumberField",(function(){return ke.a}));var Ae=o(150);o.d(t,"AgInputRange",(function(){return Ae.a}));var Ee=o(163);o.d(t,"AgSelect",(function(){return Ee.a}));var Se=o(148);o.d(t,"AgSlider",(function(){return Se.a}));var Re=o(151);o.d(t,"AgAngleSelect",(function(){return Re.a}));var Pe=o(162);o.d(t,"AgColorPicker",(function(){return Pe.a}));var Te=o(146);o.d(t,"AgGroupComponent",(function(){return Te.a}));var De=o(72);o.d(t,"AgDialog",(function(){return De.a}));var _e=o(73);o.d(t,"AgPanel",(function(){return _e.a}));var Fe=o(11);o.d(t,"Component",(function(){return Fe.a}));var Ne=o(36);o.d(t,"ManagedFocusComponent",(function(){return Ne.a}));var Me=o(44);o.d(t,"PopupComponent",(function(){return Me.a}));var Ie=o(125);o.d(t,"PopupService",(function(){return Ie.a}));var Le=o(35);o.d(t,"TouchListener",(function(){return Le.a}));var je=o(178);o.d(t,"VirtualList",(function(){return je.a}));var Ge=o(49);o.d(t,"CellRangeType",(function(){return Ge.a})),o.d(t,"SelectionHandleType",(function(){return Ge.b}));var Ve=o(137);o.d(t,"VanillaFrameworkOverrides",(function(){return Ve.a}));var Be=o(134);o.d(t,"CellNavigationService",(function(){return Be.a}));var We=o(142);o.d(t,"AlignedGridsService",(function(){return We.a}));var He=o(4);o.d(t,"Constants",(function(){return He.a}));var ze=o(9);o.d(t,"KeyCode",(function(){return ze.a}));var Ue=o(64);o.d(t,"KeyName",(function(){return Ue.a}));var Ye=o(75);o.d(t,"Grid",(function(){return Ye.a}));var Ke=o(122);o.d(t,"GridApi",(function(){return Ke.a}));var Xe=o(14);o.d(t,"Events",(function(){return Xe.a}));var qe=o(132);o.d(t,"FocusController",(function(){return qe.a}));var Ze=o(179);o.d(t,"defaultGroupComparator",(function(){return Ze.a}));var Qe=o(22);o.d(t,"GridOptionsWrapper",(function(){return Qe.a}));var Je=o(32);o.d(t,"EventService",(function(){return Je.a}));var $e=o(144);o.d(t,"SelectableService",(function(){return $e.a}));var et=o(158);o.d(t,"RowNodeSorter",(function(){return et.a}));var tt=o(128);o.d(t,"GridCore",(function(){return tt.a}));var ot=o(62);o.d(t,"Logger",(function(){return ot.a})),o.d(t,"LoggerFactory",(function(){return ot.b}));var rt=o(111);o.d(t,"SelectionController",(function(){return rt.a}));var at=o(131);o.d(t,"SortController",(function(){return at.a}));var nt=o(124);o.d(t,"TemplateService",(function(){return nt.a}));var it=o(25);o.d(t,"Color",(function(){return it.c})),o.d(t,"stringToArray",(function(){return it.g})),o.d(t,"_",(function(){return it.f})),o.d(t,"NumberSequence",(function(){return it.d})),o.d(t,"AgPromiseStatus",(function(){return it.b})),o.d(t,"AgPromise",(function(){return it.a})),o.d(t,"Timer",(function(){return it.e}));var lt=o(121);o.d(t,"ValueService",(function(){return lt.a}));var st=o(141);o.d(t,"ValueCache",(function(){return st.a}));var ct=o(123);o.d(t,"ExpressionService",(function(){return ct.a}));var pt=o(154);o.d(t,"CellPositionUtils",(function(){return pt.a}));var gt=o(153);o.d(t,"RowPositionUtils",(function(){return gt.a}));var dt=o(156);o.d(t,"HeaderPositionUtils",(function(){return dt.a}));var ut=o(45);o.d(t,"HeaderNavigationService",(function(){return ut.b})),o.d(t,"HeaderNavigationDirection",(function(){return ut.a}));var ht=o(180);o.d(t,"ServerSideStoreType",(function(){return ht.a}));var ft=o(43);o.d(t,"PropertyKeys",(function(){return ft.a}));var mt=o(112);o.d(t,"ColumnApi",(function(){return mt.a}));var bt=o(181);o.d(t,"BaseComponentWrapper",(function(){return bt.a}));var vt=o(143);o.d(t,"Environment",(function(){return vt.a}));var yt=o(65);o.d(t,"TooltipFeature",(function(){return yt.a}));var wt=o(182);o.d(t,"ChartType",(function(){return wt.a})),o.d(t,"LegendPosition",(function(){return wt.b}));var Ct=o(13);o.d(t,"ModuleNames",(function(){return Ct.a}));var xt=o(16);o.d(t,"ModuleRegistry",(function(){return xt.a}));o(5);var Ot=void 0===e?{}:e;Ot.HTMLElement="undefined"==typeof HTMLElement?{}:HTMLElement,Ot.HTMLButtonElement="undefined"==typeof HTMLButtonElement?{}:HTMLButtonElement,Ot.HTMLSelectElement="undefined"==typeof HTMLSelectElement?{}:HTMLSelectElement,Ot.HTMLInputElement="undefined"==typeof HTMLInputElement?{}:HTMLInputElement,Ot.Node="undefined"==typeof Node?{}:Node,Ot.MouseEvent="undefined"==typeof MouseEvent?{}:MouseEvent}.call(this,o(185))},function(e,t,o){"use strict";o.d(t,"c",(function(){return i})),o.d(t,"f",(function(){return l})),o.d(t,"e",(function(){return s})),o.d(t,"g",(function(){return c})),o.d(t,"b",(function(){return p})),o.d(t,"a",(function(){return g})),o.d(t,"d",(function(){return d})),o.d(t,"h",(function(){return h}));var r=o(3),a=o(10),n=o(12),i=function(){function e(e,t){if(this.beanWrappers={},this.destroyed=!1,e&&e.beanClasses){this.contextParams=e,this.logger=t,this.logger.log(">> creating ag-Application Context"),this.createBeans();var o=this.getBeanInstances();this.wireBeans(o),this.logger.log(">> ag-Application Context ready - component is alive")}}return e.prototype.getBeanInstances=function(){return Object(r.values)(this.beanWrappers).map((function(e){return e.beanInstance}))},e.prototype.createBean=function(e,t){if(!e)throw Error("Can't wire to bean since it is null");return this.wireBeans([e],t),e},e.prototype.wireBeans=function(e,t){this.autoWireBeans(e),this.methodWireBeans(e),this.callLifeCycleMethods(e,"preConstructMethods"),Object(r.exists)(t)&&e.forEach(t),this.callLifeCycleMethods(e,"postConstructMethods")},e.prototype.createBeans=function(){var e=this;this.contextParams.beanClasses.forEach(this.createBeanWrapper.bind(this)),Object(a.iterateObject)(this.beanWrappers,(function(t,o){var r;o.bean.__agBeanMetaData&&o.bean.__agBeanMetaData.autowireMethods&&o.bean.__agBeanMetaData.autowireMethods.agConstructor&&(r=o.bean.__agBeanMetaData.autowireMethods.agConstructor);var a,n,i=e.getBeansForParameters(r,o.bean.name),l=(a=o.bean,n=[null].concat(i),new(a.bind.apply(a,n)));o.beanInstance=l}));var t=Object.keys(this.beanWrappers).join(", ");this.logger.log("created beans: "+t)},e.prototype.createBeanWrapper=function(e){var t=e.__agBeanMetaData;if(!t){var o=void 0;return o=e.prototype.constructor?Object(n.getFunctionName)(e.prototype.constructor):""+e,void console.error("Context item "+o+" is not a bean")}var r={bean:e,beanInstance:null,beanName:t.beanName};this.beanWrappers[t.beanName]=r},e.prototype.autoWireBeans=function(e){var t=this;e.forEach((function(e){t.forEachMetaDataInHierarchy(e,(function(o,r){var a=o.agClassAttributes;a&&a.forEach((function(o){var a=t.lookupBeanInstance(r,o.beanName,o.optional);e[o.attributeName]=a}))}))}))},e.prototype.methodWireBeans=function(e){var t=this;e.forEach((function(e){t.forEachMetaDataInHierarchy(e,(function(o,r){Object(a.iterateObject)(o.autowireMethods,(function(o,a){if("agConstructor"!==o){var n=t.getBeansForParameters(a,r);e[o].apply(e,n)}}))}))}))},e.prototype.forEachMetaDataInHierarchy=function(e,t){for(var o=Object.getPrototypeOf(e);null!=o;){var r=o.constructor;if(r.hasOwnProperty("__agBeanMetaData"))t(r.__agBeanMetaData,this.getBeanName(r));o=Object.getPrototypeOf(o)}},e.prototype.getBeanName=function(e){if(e.__agBeanMetaData&&e.__agBeanMetaData.beanName)return e.__agBeanMetaData.beanName;var t=e.toString();return t.substring(9,t.indexOf("("))},e.prototype.getBeansForParameters=function(e,t){var o=this,r=[];return e&&Object(a.iterateObject)(e,(function(e,a){var n=o.lookupBeanInstance(t,a);r[Number(e)]=n})),r},e.prototype.lookupBeanInstance=function(e,t,o){if(void 0===o&&(o=!1),"context"===t)return this;if(this.contextParams.providedBeanInstances&&this.contextParams.providedBeanInstances.hasOwnProperty(t))return this.contextParams.providedBeanInstances[t];var r=this.beanWrappers[t];return r?r.beanInstance:(o||console.error("ag-Grid: unable to find bean reference "+t+" while initialising "+e),null)},e.prototype.callLifeCycleMethods=function(e,t){var o=this;e.forEach((function(e){return o.callLifeCycleMethodsOnBean(e,t)}))},e.prototype.callLifeCycleMethodsOnBean=function(e,t,o){var r={};this.forEachMetaDataInHierarchy(e,(function(e){var a=e[t];a&&a.forEach((function(e){e!=o&&(r[e]=!0)}))})),Object.keys(r).forEach((function(t){return e[t]()}))},e.prototype.getBean=function(e){return this.lookupBeanInstance("getBean",e,!0)},e.prototype.destroy=function(){if(!this.destroyed){this.logger.log(">> Shutting down ag-Application Context");var e=this.getBeanInstances();this.destroyBeans(e),this.contextParams.providedBeanInstances=null,this.destroyed=!0,this.logger.log(">> ag-Application Context shut down - component is dead")}},e.prototype.destroyBean=function(e){e&&this.destroyBeans([e])},e.prototype.destroyBeans=function(e){var t=this;return e?(e.forEach((function(e){t.callLifeCycleMethodsOnBean(e,"preDestroyMethods","destroy");var o=e;"function"==typeof o.destroy&&o.destroy()})),[]):[]},e}();function l(e,t,o){var r=f(e.constructor);r.preConstructMethods||(r.preConstructMethods=[]),r.preConstructMethods.push(t)}function s(e,t,o){var r=f(e.constructor);r.postConstructMethods||(r.postConstructMethods=[]),r.postConstructMethods.push(t)}function c(e,t,o){var r=f(e.constructor);r.preDestroyMethods||(r.preDestroyMethods=[]),r.preDestroyMethods.push(t)}function p(e){return function(t){f(t).beanName=e}}function g(e){return function(t,o,r){u(t,e,!1,t,o,null)}}function d(e){return function(t,o,r){u(t,e,!0,t,o,null)}}function u(e,t,o,r,a,n){if(null!==t)if("number"!=typeof n){var i=f(e.constructor);i.agClassAttributes||(i.agClassAttributes=[]),i.agClassAttributes.push({attributeName:a,beanName:t,optional:o})}else console.error("ag-Grid: Autowired should be on an attribute");else console.error("ag-Grid: Autowired name should not be null")}function h(e){return function(t,o,r){var a,n="function"==typeof t?t:t.constructor;if("number"==typeof r){var i=void 0;o?(a=f(n),i=o):(a=f(n),i="agConstructor"),a.autowireMethods||(a.autowireMethods={}),a.autowireMethods[i]||(a.autowireMethods[i]={}),a.autowireMethods[i][r]=e}}}function f(e){return e.hasOwnProperty("__agBeanMetaData")||(e.__agBeanMetaData={}),e.__agBeanMetaData}},function(e,t,o){"use strict";o.r(t),o.d(t,"addCssClass",(function(){return c})),o.d(t,"removeCssClass",(function(){return p})),o.d(t,"addOrRemoveCssClass",(function(){return g})),o.d(t,"radioCssClass",(function(){return d})),o.d(t,"containsClass",(function(){return u})),o.d(t,"isFocusableFormField",(function(){return h})),o.d(t,"setDisplayed",(function(){return f})),o.d(t,"setVisible",(function(){return m})),o.d(t,"setDisabled",(function(){return b})),o.d(t,"isElementChildOfClass",(function(){return v})),o.d(t,"getElementSize",(function(){return y})),o.d(t,"getInnerHeight",(function(){return w})),o.d(t,"getInnerWidth",(function(){return C})),o.d(t,"getAbsoluteHeight",(function(){return x})),o.d(t,"getAbsoluteWidth",(function(){return O})),o.d(t,"isRtlNegativeScroll",(function(){return k})),o.d(t,"getScrollLeft",(function(){return A})),o.d(t,"setScrollLeft",(function(){return E})),o.d(t,"clearElement",(function(){return S})),o.d(t,"removeElement",(function(){return R})),o.d(t,"removeFromParent",(function(){return P})),o.d(t,"isVisible",(function(){return T})),o.d(t,"loadTemplate",(function(){return D})),o.d(t,"appendHtml",(function(){return _})),o.d(t,"getElementAttribute",(function(){return F})),o.d(t,"offsetHeight",(function(){return N})),o.d(t,"offsetWidth",(function(){return M})),o.d(t,"ensureDomOrder",(function(){return I})),o.d(t,"setDomChildOrder",(function(){return L})),o.d(t,"insertTemplateWithDomOrder",(function(){return j})),o.d(t,"prependDC",(function(){return G})),o.d(t,"addStylesToElement",(function(){return V})),o.d(t,"isHorizontalScrollShowing",(function(){return B})),o.d(t,"isVerticalScrollShowing",(function(){return W})),o.d(t,"setElementWidth",(function(){return H})),o.d(t,"setFixedWidth",(function(){return z})),o.d(t,"setElementHeight",(function(){return U})),o.d(t,"setFixedHeight",(function(){return Y})),o.d(t,"formatSize",(function(){return K})),o.d(t,"isNode",(function(){return X})),o.d(t,"isElement",(function(){return q})),o.d(t,"isNodeOrElement",(function(){return Z})),o.d(t,"copyNodeList",(function(){return Q})),o.d(t,"iterateNamedNodeMap",(function(){return J})),o.d(t,"setCheckboxState",(function(){return $})),o.d(t,"addOrRemoveAttribute",(function(){return ee})),o.d(t,"nodeListForEach",(function(){return te}));var r,a=o(17),n=o(3),i=o(10),l=o(27),s=o(4);function c(e,t){if(e&&t&&0!==t.length){if(!(t.indexOf(" ")>=0)){if(e.classList)e.classList.add(t);else if(e.className&&e.className.length>0){var o=e.className.split(" ");o.indexOf(t)<0&&(o.push(t),e.setAttribute("class",o.join(" ")))}else e.setAttribute("class",t);return e}t.split(" ").forEach((function(t){return c(e,t)}))}}function p(e,t){if(e&&t&&0!==t.length)if(t.indexOf(" ")>=0)t.split(" ").forEach((function(t){return p(e,t)}));else if(e.classList)e.classList.remove(t);else if(e.className&&e.className.length>0){var o=e.className.split(" ").filter((function(e){return e!==t})).join(" ");e.setAttribute("class",o)}}function g(e,t,o){o?c(e,t):p(e,t)}function d(e,t,o){for(var r=e.parentElement,a=r&&r.firstChild;a;)t&&g(a,t,a===e),o&&g(a,o,a!==e),a=a.nextSibling}function u(e,t){if(e.classList)return e.classList.contains(t);if(e.className){var o=e.className===t,r=e.className.indexOf(" "+t+" ")>=0,a=0===e.className.indexOf(t+" "),n=e.className.lastIndexOf(" "+t)===e.className.length-t.length-1;return o||r||a||n}return!1}function h(e){var t=Element.prototype.matches||Element.prototype.msMatchesSelector,o=t.call(e,s.a.INPUT_SELECTOR),r=t.call(e,s.a.FOCUSABLE_EXCLUDE),a=T(e);return o&&!r&&a}function f(e,t){g(e,"ag-hidden",!t)}function m(e,t){g(e,"ag-invisible",!t)}function b(e,t){var o=t?function(e){return e.setAttribute("disabled","")}:function(e){return e.removeAttribute("disabled")};o(e),te(e.querySelectorAll("input"),(function(e){return o(e)}))}function v(e,t,o){for(var r=0;e;){if(u(e,t))return!0;if(e=e.parentElement,o&&++r>o)break}return!1}function y(e){var t=window.getComputedStyle(e),o=t.height,r=t.width,a=t.paddingTop,n=t.paddingRight,i=t.paddingBottom,l=t.paddingLeft,s=t.marginTop,c=t.marginRight,p=t.marginBottom,g=t.marginLeft,d=t.boxSizing;return{height:parseFloat(o),width:parseFloat(r),paddingTop:parseFloat(a),paddingRight:parseFloat(n),paddingBottom:parseFloat(i),paddingLeft:parseFloat(l),marginTop:parseFloat(s),marginRight:parseFloat(c),marginBottom:parseFloat(p),marginLeft:parseFloat(g),boxSizing:d}}function w(e){var t=y(e);return"border-box"===t.boxSizing?t.height-t.paddingTop-t.paddingBottom:t.height}function C(e){var t=y(e);return"border-box"===t.boxSizing?t.width-t.paddingLeft-t.paddingRight:t.width}function x(e){var t=y(e),o=t.marginBottom+t.marginTop;return Math.ceil(e.offsetHeight+o)}function O(e){var t=y(e),o=t.marginLeft+t.marginRight;return Math.ceil(e.offsetWidth+o)}function k(){if("boolean"==typeof r)return r;var e=document.createElement("div");return e.style.direction="rtl",e.style.width="1px",e.style.height="1px",e.style.position="fixed",e.style.top="0px",e.style.overflow="hidden",e.dir="rtl",e.innerHTML='