!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("@iam-com/lib")):"function"==typeof define&&define.amd?define(["react","@iam-com/lib"],t):"object"==typeof exports?exports.ParaUI=t(require("react"),require("@iam-com/lib")):e.ParaUI=t(e.react,e["@iam-com/lib"])}(self,(function(e,t){return function(){"use strict";var n={37035:function(e){e.exports=t},8156:function(t){t.exports=e}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return n[e](i,i.exports,o),i.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return function(){o.r(i),o.d(i,{changeConfirmLocale:function(){return d},default:function(){return v},getConfirmLocale:function(){return s}});var e=o(8156),t=o.n(e),n=function(e,t){if(!t)return e;e=e.replace(/\"/g,'\\"');var n=/({[^{}]+})/g;return e.split(n).map((function(e){if(e.match(n)){var r=e.replace(/({|})/g,""),o=function(e,t,n){var r=t.replace(/\[(\d+)\]/g,".$1").split("."),o=e,i=!0,a=!1,u=void 0;try{for(var c,f=r[Symbol.iterator]();!(i=(c=f.next()).done);i=!0){var l=c.value;if(void 0===(o=Object(o)[l]))return n}}catch(e){a=!0,u=e}finally{try{i||null==f.return||f.return()}finally{if(a)throw u}}return o}(t,r);return void 0===o?r:o}return e}))},r=o(37035),a={cancel:"Cancel",ok:"Ok"},u={cancel:"取消",ok:"确定"},c={zh:u,en:a,"zh-CN":u,"en-US":a};function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){f(e,t,n[t])}))}return e}var p=l({},c.zh),d=function(e){var t=e.Confirm;p=t?l({},p,t):l({},c.zh)},s=function(){var e=(0,r.GetLanguage)();return(null==c?void 0:c[e])||c.zh},v=t().createContext({language:(0,r.GetLanguage)(),intlFormat:function(e,t){return function(e,o){return function(e){var t,r,o,i,a=e.ops,u=e.i18nData,c=e.lang,f=e.params,l=e.defI18nData;if("string"==typeof a)r=a;else if("object"==typeof a){if("string"!=typeof a.id)return'i18n intl object "id" is missing';r=a.id}return void 0!==r&&void 0===(t=null===(o=u[c])||void 0===o?void 0:o[r])&&l&&(t=null===(i=l[c])||void 0===i?void 0:i[r]),"string"!=typeof t?"{".concat(r,"}"):n(t,f)}({ops:e,i18nData:{},lang:(0,r.GetLanguage)(),params:o,defI18nData:t})}},componentsProps:{}})}(),i}()}));