@nethesis/phone-island
Version:
NethVoice CTI Phone Island
12 lines (11 loc) • 1.38 kB
JavaScript
;Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/use-sync-external-store-shim.production.js");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n,r=t(require("react"));
/**
* @license React
* use-sync-external-store-shim.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/exports.__require=function(){if(n)return e.__exports;n=1;var t=r.default,u="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=t.useState,i=t.useEffect,s=t.useLayoutEffect,a=t.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!u(e,n)}catch(e){return!0}}var f="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),u=r[0].inst,f=r[1];return s((function(){u.value=n,u.getSnapshot=t,c(u)&&f({inst:u})}),[e,n,t]),i((function(){return c(u)&&f({inst:u}),e((function(){c(u)&&f({inst:u})}))}),[e]),a(n),n};return e.__exports.useSyncExternalStore=void 0!==t.useSyncExternalStore?t.useSyncExternalStore:f,e.__exports};
//# sourceMappingURL=use-sync-external-store-shim.production.js.map