"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("primereact/utils");function e(i,e){for(var t=0;t=i.length?{done:!0}:{done:!1,value:i[p++]}},e:function(i){throw i},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o=!0,a=!1;return{s:function(){t=t.call(i)},n:function(){var i=t.next();return o=i.done,i},e:function(i){a=!0,n=i},f:function(){try{o||null==t.return||t.return()}finally{if(a)throw n}}}}function T(i,e){if(i){if("string"==typeof i)return R(i,e);var t=Object.prototype.toString.call(i).slice(8,-1);return"Object"===t&&i.constructor&&(t=i.constructor.name),"Map"===t||"Set"===t?Array.from(i):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?R(i,e):void 0}}function R(i,e){(null==e||e>i.length)&&(e=i.length);for(var t=0,p=new Array(e);te.getTime():i>e)},gte:function(i,e){return null==e||null!=i&&(i.getTime&&e.getTime?i.getTime()>=e.getTime():i>=e)},dateIs:function(i,e){return null==e||null!=i&&i.toDateString()===e.toDateString()},dateIsNot:function(i,e){return null==e||null!=i&&i.toDateString()!==e.toDateString()},dateBefore:function(i,e){return null==e||null!=i&&i.getTime()e.getTime()}},register:function(i,e){this.filters[i]=e}};exports.FilterMatchMode=n,exports.FilterOperator=A,exports.FilterService=_,exports.MessageSeverity=E,exports.PrimeIcons=u,exports.addLocale=function(i,e){c[i]=l(l({},c.en),e)},exports.default=o,exports.locale=function(i){return i&&(o.locale=i),{locale:o.locale,options:c[o.locale]}},exports.localeOption=function(i,e){var t=e||o.locale;try{return s(t)[i]}catch(e){throw new Error("The ".concat(i," option is not found in the current locale('").concat(t,"')."))}},exports.localeOptions=s,exports.updateLocaleOption=function(i,e,t){s(t)[i]=e},exports.updateLocaleOptions=function(i,e){var t=e||o.locale;c[t]=l(l({},c[t]),i)};