@nethesis/phone-island
Version:
NethVoice CTI Phone Island
12 lines (11 loc) • 2.19 kB
JavaScript
;Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/use-sync-external-store-shim.development.js");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r,n=t(require("react"));
/**
* @license React
* use-sync-external-store-shim.development.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(){return r||(r=1,"production"!==process.env.NODE_ENV&&function(){function t(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){return!0}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var r=n.default,o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},u=r.useState,a=r.useEffect,i=r.useLayoutEffect,s=r.useDebugValue,_=!1,c=!1,l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,n){_||void 0===r.startTransition||(_=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var l=n();if(!c){var f=n();o(l,f)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var O=(f=u({inst:{value:l,getSnapshot:n}}))[0].inst,d=f[1];return i((function(){O.value=l,O.getSnapshot=n,t(O)&&d({inst:O})}),[e,l,n]),a((function(){return t(O)&&d({inst:O}),e((function(){t(O)&&d({inst:O})}))}),[e]),s(l),l};e.__exports.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),e.__exports};
//# sourceMappingURL=use-sync-external-store-shim.development.js.map