axp-ui/docs/assets/preview-5c6325c3.js.map
2023-10-11 10:29:52 +03:00

1 line
67 KiB
Plaintext

{"version":3,"file":"preview-5c6325c3.js","sources":["../../node_modules/@storybook/instrumenter/dist/index.mjs","../../node_modules/jest-mock/build/index.js","../../node_modules/@storybook/addon-interactions/dist/preview.mjs"],"sourcesContent":["import { addons } from '@storybook/preview-api';\nimport { once, logger } from '@storybook/client-logger';\nimport { FORCE_REMOUNT, STORY_RENDER_PHASE_CHANGED, SET_CURRENT_STORY, IGNORED_EXCEPTION } from '@storybook/core-events';\nimport { global } from '@storybook/global';\n\nvar CallStates=(CallStates2=>(CallStates2.DONE=\"done\",CallStates2.ERROR=\"error\",CallStates2.ACTIVE=\"active\",CallStates2.WAITING=\"waiting\",CallStates2))(CallStates||{});var EVENTS={CALL:\"storybook/instrumenter/call\",SYNC:\"storybook/instrumenter/sync\",START:\"storybook/instrumenter/start\",BACK:\"storybook/instrumenter/back\",GOTO:\"storybook/instrumenter/goto\",NEXT:\"storybook/instrumenter/next\",END:\"storybook/instrumenter/end\"},controlsDisabled={start:!1,back:!1,goto:!1,next:!1,end:!1},alreadyCompletedException=new Error(\"This function ran after the play function completed. Did you forget to `await` it?\"),isObject=o=>Object.prototype.toString.call(o)===\"[object Object]\",isModule=o=>Object.prototype.toString.call(o)===\"[object Module]\",isInstrumentable=o=>{if(!isObject(o)&&!isModule(o))return !1;if(o.constructor===void 0)return !0;let proto=o.constructor.prototype;return !(!isObject(proto)||Object.prototype.hasOwnProperty.call(proto,\"isPrototypeOf\")===!1)},construct=obj=>{try{return new obj.constructor}catch{return {}}},getInitialState=()=>({renderPhase:void 0,isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),getRetainedState=(state,isDebugging=!1)=>{let calls=(isDebugging?state.shadowCalls:state.calls).filter(call=>call.retain);if(!calls.length)return;let callRefsByResult=new Map(Array.from(state.callRefsByResult.entries()).filter(([,ref])=>ref.retain));return {cursor:calls.length,calls,callRefsByResult}},Instrumenter=class{constructor(){this.initialized=!1;this.channel=addons.getChannel(),this.state=global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{};let resetState=({storyId,isPlaying=!0,isDebugging=!1})=>{let state=this.getState(storyId);this.setState(storyId,{...getInitialState(),...getRetainedState(state,isDebugging),shadowCalls:isDebugging?state.shadowCalls:[],chainedCallIds:isDebugging?state.chainedCallIds:new Set,playUntil:isDebugging?state.playUntil:void 0,isPlaying,isDebugging}),this.sync(storyId);};this.channel.on(FORCE_REMOUNT,resetState),this.channel.on(STORY_RENDER_PHASE_CHANGED,({storyId,newPhase})=>{let{isDebugging}=this.getState(storyId);this.setState(storyId,{renderPhase:newPhase}),newPhase===\"preparing\"&&isDebugging&&resetState({storyId}),newPhase===\"playing\"&&resetState({storyId,isDebugging}),newPhase===\"played\"&&this.setState(storyId,{isLocked:!1,isPlaying:!1,isDebugging:!1}),newPhase===\"errored\"&&this.setState(storyId,{isLocked:!1,isPlaying:!1});}),this.channel.on(SET_CURRENT_STORY,()=>{this.initialized?this.cleanup():this.initialized=!0;});let start=({storyId,playUntil})=>{this.getState(storyId).isDebugging||this.setState(storyId,({calls})=>({calls:[],shadowCalls:calls.map(call=>({...call,status:\"waiting\"})),isDebugging:!0}));let log=this.getLog(storyId);this.setState(storyId,({shadowCalls})=>{if(playUntil||!log.length)return {playUntil};let firstRowIndex=shadowCalls.findIndex(call=>call.id===log[0].callId);return {playUntil:shadowCalls.slice(0,firstRowIndex).filter(call=>call.interceptable&&!call.ancestors.length).slice(-1)[0]?.id}}),this.channel.emit(FORCE_REMOUNT,{storyId,isDebugging:!0});},back=({storyId})=>{let log=this.getLog(storyId).filter(call=>!call.ancestors.length),last=log.reduceRight((res,item,index)=>res>=0||item.status===\"waiting\"?res:index,-1);start({storyId,playUntil:log[last-1]?.callId});},goto=({storyId,callId})=>{let{calls,shadowCalls,resolvers}=this.getState(storyId),call=calls.find(({id})=>id===callId),shadowCall=shadowCalls.find(({id})=>id===callId);if(!call&&shadowCall&&Object.values(resolvers).length>0){let nextId=this.getLog(storyId).find(c=>c.status===\"waiting\")?.callId;shadowCall.id!==nextId&&this.setState(storyId,{playUntil:shadowCall.id}),Object.values(resolvers).forEach(resolve=>resolve());}else start({storyId,playUntil:callId});},next=({storyId})=>{let{resolvers}=this.getState(storyId);if(Object.values(resolvers).length>0)Object.values(resolvers).forEach(resolve=>resolve());else {let nextId=this.getLog(storyId).find(c=>c.status===\"waiting\")?.callId;nextId?start({storyId,playUntil:nextId}):end({storyId});}},end=({storyId})=>{this.setState(storyId,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(storyId).resolvers).forEach(resolve=>resolve());};this.channel.on(EVENTS.START,start),this.channel.on(EVENTS.BACK,back),this.channel.on(EVENTS.GOTO,goto),this.channel.on(EVENTS.NEXT,next),this.channel.on(EVENTS.END,end);}getState(storyId){return this.state[storyId]||getInitialState()}setState(storyId,update){let state=this.getState(storyId),patch=typeof update==\"function\"?update(state):update;this.state={...this.state,[storyId]:{...state,...patch}},global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state;}cleanup(){this.state=Object.entries(this.state).reduce((acc,[storyId,state])=>{let retainedState=getRetainedState(state);return retainedState&&(acc[storyId]=Object.assign(getInitialState(),retainedState)),acc},{});let payload={controlStates:controlsDisabled,logItems:[]};this.channel.emit(EVENTS.SYNC,payload),global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state;}getLog(storyId){let{calls,shadowCalls}=this.getState(storyId),merged=[...shadowCalls];calls.forEach((call,index)=>{merged[index]=call;});let seen=new Set;return merged.reduceRight((acc,call)=>(call.args.forEach(arg=>{arg?.__callId__&&seen.add(arg.__callId__);}),call.path.forEach(node=>{node.__callId__&&seen.add(node.__callId__);}),(call.interceptable||call.exception)&&!seen.has(call.id)&&(acc.unshift({callId:call.id,status:call.status,ancestors:call.ancestors}),seen.add(call.id)),acc),[])}instrument(obj,options){if(!isInstrumentable(obj))return obj;let{mutate=!1,path=[]}=options;return Object.keys(obj).reduce((acc,key)=>{let value=obj[key];return typeof value!=\"function\"?(acc[key]=this.instrument(value,{...options,path:path.concat(key)}),acc):typeof value.__originalFn__==\"function\"?(acc[key]=value,acc):(acc[key]=(...args)=>this.track(key,value,args,options),acc[key].__originalFn__=value,Object.defineProperty(acc[key],\"name\",{value:key,writable:!1}),Object.keys(value).length>0&&Object.assign(acc[key],this.instrument({...value},{...options,path:path.concat(key)})),acc)},mutate?obj:construct(obj))}track(method,fn,args,options){let storyId=args?.[0]?.__storyId__||global.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor,ancestors}=this.getState(storyId);this.setState(storyId,{cursor:cursor+1});let id=`${ancestors.slice(-1)[0]||storyId} [${cursor}] ${method}`,{path=[],intercept=!1,retain=!1}=options,interceptable=typeof intercept==\"function\"?intercept(method,path):intercept,call={id,cursor,storyId,ancestors,path,method,args,interceptable,retain},result=(interceptable&&!ancestors.length?this.intercept:this.invoke).call(this,fn,call,options);return this.instrument(result,{...options,mutate:!0,path:[{__callId__:call.id}]})}intercept(fn,call,options){let{chainedCallIds,isDebugging,playUntil}=this.getState(call.storyId),isChainedUpon=chainedCallIds.has(call.id);return !isDebugging||isChainedUpon||playUntil?(playUntil===call.id&&this.setState(call.storyId,{playUntil:void 0}),this.invoke(fn,call,options)):new Promise(resolve=>{this.setState(call.storyId,({resolvers})=>({isLocked:!1,resolvers:{...resolvers,[call.id]:resolve}}));}).then(()=>(this.setState(call.storyId,state=>{let{[call.id]:_,...resolvers}=state.resolvers;return {isLocked:!0,resolvers}}),this.invoke(fn,call,options)))}invoke(fn,call,options){let{callRefsByResult,renderPhase}=this.getState(call.storyId),serializeValues=value=>{if(callRefsByResult.has(value))return callRefsByResult.get(value);if(value instanceof Array)return value.map(serializeValues);if(value instanceof Date)return {__date__:{value:value.toISOString()}};if(value instanceof Error){let{name,message,stack}=value;return {__error__:{name,message,stack}}}if(value instanceof RegExp){let{flags,source}=value;return {__regexp__:{flags,source}}}if(value instanceof global.window.HTMLElement){let{prefix,localName,id,classList,innerText}=value,classNames=Array.from(classList);return {__element__:{prefix,localName,id,classNames,innerText}}}return typeof value==\"function\"?{__function__:{name:value.name}}:typeof value==\"symbol\"?{__symbol__:{description:value.description}}:typeof value==\"object\"&&value?.constructor?.name&&value?.constructor?.name!==\"Object\"?{__class__:{name:value.constructor.name}}:Object.prototype.toString.call(value)===\"[object Object]\"?Object.fromEntries(Object.entries(value).map(([key,val])=>[key,serializeValues(val)])):value},info={...call,args:call.args.map(serializeValues)};call.path.forEach(ref=>{ref?.__callId__&&this.setState(call.storyId,({chainedCallIds})=>({chainedCallIds:new Set(Array.from(chainedCallIds).concat(ref.__callId__))}));});let handleException=e=>{if(e instanceof Error){let{name,message,stack,callId=call.id}=e,exception={name,message,stack,callId};if(this.update({...info,status:\"error\",exception}),this.setState(call.storyId,state=>({callRefsByResult:new Map([...Array.from(state.callRefsByResult.entries()),[e,{__callId__:call.id,retain:call.retain}]])})),call.ancestors.length)throw Object.prototype.hasOwnProperty.call(e,\"callId\")||Object.defineProperty(e,\"callId\",{value:call.id}),e;if(e!==alreadyCompletedException)throw logger.warn(e),IGNORED_EXCEPTION}throw e};try{if(renderPhase===\"played\"&&!call.retain)throw alreadyCompletedException;let finalArgs=(options.getArgs?options.getArgs(call,this.getState(call.storyId)):call.args).map(arg=>typeof arg!=\"function\"||Object.keys(arg).length?arg:(...args)=>{let{cursor,ancestors}=this.getState(call.storyId);this.setState(call.storyId,{cursor:0,ancestors:[...ancestors,call.id]});let restore=()=>this.setState(call.storyId,{cursor,ancestors}),willRestore=!1;try{let res=arg(...args);return res instanceof Promise?(willRestore=!0,res.finally(restore)):res}finally{willRestore||restore();}}),result=fn(...finalArgs);return result&&[\"object\",\"function\",\"symbol\"].includes(typeof result)&&this.setState(call.storyId,state=>({callRefsByResult:new Map([...Array.from(state.callRefsByResult.entries()),[result,{__callId__:call.id,retain:call.retain}]])})),this.update({...info,status:result instanceof Promise?\"active\":\"done\"}),result instanceof Promise?result.then(value=>(this.update({...info,status:\"done\"}),value),handleException):result}catch(e){return handleException(e)}}update(call){this.channel.emit(EVENTS.CALL,call),this.setState(call.storyId,({calls})=>{let callsById=calls.concat(call).reduce((a,c)=>Object.assign(a,{[c.id]:c}),{});return {calls:Object.values(callsById).sort((a,b)=>a.id.localeCompare(b.id,void 0,{numeric:!0}))}}),this.sync(call.storyId);}sync(storyId){let synchronize=()=>{let{isLocked,isPlaying}=this.getState(storyId),logItems=this.getLog(storyId),pausedAt=logItems.filter(({ancestors})=>!ancestors.length).find(item=>item.status===\"waiting\")?.callId,hasActive=logItems.some(item=>item.status===\"active\");if(isLocked||hasActive||logItems.length===0){let payload2={controlStates:controlsDisabled,logItems};this.channel.emit(EVENTS.SYNC,payload2);return}let hasPrevious=logItems.some(item=>item.status===\"done\"||item.status===\"error\"),payload={controlStates:{start:hasPrevious,back:hasPrevious,goto:!0,next:isPlaying,end:isPlaying},logItems,pausedAt};this.channel.emit(EVENTS.SYNC,payload);};this.setState(storyId,({syncTimeout})=>(clearTimeout(syncTimeout),{syncTimeout:setTimeout(synchronize,0)}));}};function instrument(obj,options={}){try{let forceInstrument=!1,skipInstrument=!1;return global.window.location?.search?.includes(\"instrument=true\")?forceInstrument=!0:global.window.location?.search?.includes(\"instrument=false\")&&(skipInstrument=!0),global.window.parent===global.window&&!forceInstrument||skipInstrument?obj:(global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__||(global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new Instrumenter),global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__.instrument(obj,options))}catch(e){return once.warn(e),obj}}\n\nexport { CallStates, EVENTS, instrument };\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', {\n value: true\n});\nexports.spyOn = exports.mocked = exports.fn = exports.ModuleMocker = void 0;\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/* eslint-disable local/ban-types-eventually, local/prefer-rest-params-eventually */\n\n/**\n * Possible types of a MockFunctionResult.\n * 'return': The call completed by returning normally.\n * 'throw': The call completed by throwing a value.\n * 'incomplete': The call has not completed yet. This is possible if you read\n * the mock function result from within the mock function itself\n * (or a function called by the mock function).\n */\n\n/**\n * Represents the result of a single call to a mock function.\n */\n// see https://github.com/Microsoft/TypeScript/issues/25215\nconst MOCK_CONSTRUCTOR_NAME = 'mockConstructor';\nconst FUNCTION_NAME_RESERVED_PATTERN = /[\\s!-\\/:-@\\[-`{-~]/;\nconst FUNCTION_NAME_RESERVED_REPLACE = new RegExp(\n FUNCTION_NAME_RESERVED_PATTERN.source,\n 'g'\n);\nconst RESERVED_KEYWORDS = new Set([\n 'arguments',\n 'await',\n 'break',\n 'case',\n 'catch',\n 'class',\n 'const',\n 'continue',\n 'debugger',\n 'default',\n 'delete',\n 'do',\n 'else',\n 'enum',\n 'eval',\n 'export',\n 'extends',\n 'false',\n 'finally',\n 'for',\n 'function',\n 'if',\n 'implements',\n 'import',\n 'in',\n 'instanceof',\n 'interface',\n 'let',\n 'new',\n 'null',\n 'package',\n 'private',\n 'protected',\n 'public',\n 'return',\n 'static',\n 'super',\n 'switch',\n 'this',\n 'throw',\n 'true',\n 'try',\n 'typeof',\n 'var',\n 'void',\n 'while',\n 'with',\n 'yield'\n]);\n\nfunction matchArity(fn, length) {\n let mockConstructor;\n\n switch (length) {\n case 1:\n mockConstructor = function (_a) {\n return fn.apply(this, arguments);\n };\n\n break;\n\n case 2:\n mockConstructor = function (_a, _b) {\n return fn.apply(this, arguments);\n };\n\n break;\n\n case 3:\n mockConstructor = function (_a, _b, _c) {\n return fn.apply(this, arguments);\n };\n\n break;\n\n case 4:\n mockConstructor = function (_a, _b, _c, _d) {\n return fn.apply(this, arguments);\n };\n\n break;\n\n case 5:\n mockConstructor = function (_a, _b, _c, _d, _e) {\n return fn.apply(this, arguments);\n };\n\n break;\n\n case 6:\n mockConstructor = function (_a, _b, _c, _d, _e, _f) {\n return fn.apply(this, arguments);\n };\n\n break;\n\n case 7:\n mockConstructor = function (_a, _b, _c, _d, _e, _f, _g) {\n return fn.apply(this, arguments);\n };\n\n break;\n\n case 8:\n mockConstructor = function (_a, _b, _c, _d, _e, _f, _g, _h) {\n return fn.apply(this, arguments);\n };\n\n break;\n\n case 9:\n mockConstructor = function (_a, _b, _c, _d, _e, _f, _g, _h, _i) {\n return fn.apply(this, arguments);\n };\n\n break;\n\n default:\n mockConstructor = function () {\n return fn.apply(this, arguments);\n };\n\n break;\n }\n\n return mockConstructor;\n}\n\nfunction getObjectType(value) {\n return Object.prototype.toString.apply(value).slice(8, -1);\n}\n\nfunction getType(ref) {\n const typeName = getObjectType(ref);\n\n if (\n typeName === 'Function' ||\n typeName === 'AsyncFunction' ||\n typeName === 'GeneratorFunction'\n ) {\n return 'function';\n } else if (Array.isArray(ref)) {\n return 'array';\n } else if (typeName === 'Object') {\n return 'object';\n } else if (\n typeName === 'Number' ||\n typeName === 'String' ||\n typeName === 'Boolean' ||\n typeName === 'Symbol'\n ) {\n return 'constant';\n } else if (\n typeName === 'Map' ||\n typeName === 'WeakMap' ||\n typeName === 'Set'\n ) {\n return 'collection';\n } else if (typeName === 'RegExp') {\n return 'regexp';\n } else if (ref === undefined) {\n return 'undefined';\n } else if (ref === null) {\n return 'null';\n } else {\n return null;\n }\n}\n\nfunction isReadonlyProp(object, prop) {\n if (\n prop === 'arguments' ||\n prop === 'caller' ||\n prop === 'callee' ||\n prop === 'name' ||\n prop === 'length'\n ) {\n const typeName = getObjectType(object);\n return (\n typeName === 'Function' ||\n typeName === 'AsyncFunction' ||\n typeName === 'GeneratorFunction'\n );\n }\n\n if (\n prop === 'source' ||\n prop === 'global' ||\n prop === 'ignoreCase' ||\n prop === 'multiline'\n ) {\n return getObjectType(object) === 'RegExp';\n }\n\n return false;\n}\n\nclass ModuleMocker {\n /**\n * @see README.md\n * @param global Global object of the test environment, used to create\n * mocks\n */\n constructor(global) {\n _defineProperty(this, '_environmentGlobal', void 0);\n\n _defineProperty(this, '_mockState', void 0);\n\n _defineProperty(this, '_mockConfigRegistry', void 0);\n\n _defineProperty(this, '_spyState', void 0);\n\n _defineProperty(this, '_invocationCallCounter', void 0);\n\n this._environmentGlobal = global;\n this._mockState = new WeakMap();\n this._mockConfigRegistry = new WeakMap();\n this._spyState = new Set();\n this._invocationCallCounter = 1;\n }\n\n _getSlots(object) {\n if (!object) {\n return [];\n }\n\n const slots = new Set();\n const EnvObjectProto = this._environmentGlobal.Object.prototype;\n const EnvFunctionProto = this._environmentGlobal.Function.prototype;\n const EnvRegExpProto = this._environmentGlobal.RegExp.prototype; // Also check the builtins in the current context as they leak through\n // core node modules.\n\n const ObjectProto = Object.prototype;\n const FunctionProto = Function.prototype;\n const RegExpProto = RegExp.prototype; // Properties of Object.prototype, Function.prototype and RegExp.prototype\n // are never reported as slots\n\n while (\n object != null &&\n object !== EnvObjectProto &&\n object !== EnvFunctionProto &&\n object !== EnvRegExpProto &&\n object !== ObjectProto &&\n object !== FunctionProto &&\n object !== RegExpProto\n ) {\n const ownNames = Object.getOwnPropertyNames(object);\n\n for (let i = 0; i < ownNames.length; i++) {\n const prop = ownNames[i];\n\n if (!isReadonlyProp(object, prop)) {\n const propDesc = Object.getOwnPropertyDescriptor(object, prop);\n\n if ((propDesc !== undefined && !propDesc.get) || object.__esModule) {\n slots.add(prop);\n }\n }\n }\n\n object = Object.getPrototypeOf(object);\n }\n\n return Array.from(slots);\n }\n\n _ensureMockConfig(f) {\n let config = this._mockConfigRegistry.get(f);\n\n if (!config) {\n config = this._defaultMockConfig();\n\n this._mockConfigRegistry.set(f, config);\n }\n\n return config;\n }\n\n _ensureMockState(f) {\n let state = this._mockState.get(f);\n\n if (!state) {\n state = this._defaultMockState();\n\n this._mockState.set(f, state);\n }\n\n if (state.calls.length > 0) {\n state.lastCall = state.calls[state.calls.length - 1];\n }\n\n return state;\n }\n\n _defaultMockConfig() {\n return {\n mockImpl: undefined,\n mockName: 'jest.fn()',\n specificMockImpls: [],\n specificReturnValues: []\n };\n }\n\n _defaultMockState() {\n return {\n calls: [],\n instances: [],\n invocationCallOrder: [],\n results: []\n };\n }\n\n _makeComponent(metadata, restore) {\n if (metadata.type === 'object') {\n return new this._environmentGlobal.Object();\n } else if (metadata.type === 'array') {\n return new this._environmentGlobal.Array();\n } else if (metadata.type === 'regexp') {\n return new this._environmentGlobal.RegExp('');\n } else if (\n metadata.type === 'constant' ||\n metadata.type === 'collection' ||\n metadata.type === 'null' ||\n metadata.type === 'undefined'\n ) {\n return metadata.value;\n } else if (metadata.type === 'function') {\n const prototype =\n (metadata.members &&\n metadata.members.prototype &&\n metadata.members.prototype.members) ||\n {};\n\n const prototypeSlots = this._getSlots(prototype);\n\n const mocker = this;\n const mockConstructor = matchArity(function (...args) {\n const mockState = mocker._ensureMockState(f);\n\n const mockConfig = mocker._ensureMockConfig(f);\n\n mockState.instances.push(this);\n mockState.calls.push(args); // Create and record an \"incomplete\" mock result immediately upon\n // calling rather than waiting for the mock to return. This avoids\n // issues caused by recursion where results can be recorded in the\n // wrong order.\n\n const mockResult = {\n type: 'incomplete',\n value: undefined\n };\n mockState.results.push(mockResult);\n mockState.invocationCallOrder.push(mocker._invocationCallCounter++); // Will be set to the return value of the mock if an error is not thrown\n\n let finalReturnValue; // Will be set to the error that is thrown by the mock (if it throws)\n\n let thrownError; // Will be set to true if the mock throws an error. The presence of a\n // value in `thrownError` is not a 100% reliable indicator because a\n // function could throw a value of undefined.\n\n let callDidThrowError = false;\n\n try {\n // The bulk of the implementation is wrapped in an immediately\n // executed arrow function so the return value of the mock function\n // can be easily captured and recorded, despite the many separate\n // return points within the logic.\n finalReturnValue = (() => {\n if (this instanceof f) {\n // This is probably being called as a constructor\n prototypeSlots.forEach(slot => {\n // Copy prototype methods to the instance to make\n // it easier to interact with mock instance call and\n // return values\n if (prototype[slot].type === 'function') {\n // @ts-expect-error no index signature\n const protoImpl = this[slot]; // @ts-expect-error no index signature\n\n this[slot] = mocker.generateFromMetadata(prototype[slot]); // @ts-expect-error no index signature\n\n this[slot]._protoImpl = protoImpl;\n }\n }); // Run the mock constructor implementation\n\n const mockImpl = mockConfig.specificMockImpls.length\n ? mockConfig.specificMockImpls.shift()\n : mockConfig.mockImpl;\n return mockImpl && mockImpl.apply(this, arguments);\n } // If mockImplementationOnce()/mockImplementation() is last set,\n // implementation use the mock\n\n let specificMockImpl = mockConfig.specificMockImpls.shift();\n\n if (specificMockImpl === undefined) {\n specificMockImpl = mockConfig.mockImpl;\n }\n\n if (specificMockImpl) {\n return specificMockImpl.apply(this, arguments);\n } // Otherwise use prototype implementation\n\n if (f._protoImpl) {\n return f._protoImpl.apply(this, arguments);\n }\n\n return undefined;\n })();\n } catch (error) {\n // Store the thrown error so we can record it, then re-throw it.\n thrownError = error;\n callDidThrowError = true;\n throw error;\n } finally {\n // Record the result of the function.\n // NOTE: Intentionally NOT pushing/indexing into the array of mock\n // results here to avoid corrupting results data if mockClear()\n // is called during the execution of the mock.\n mockResult.type = callDidThrowError ? 'throw' : 'return';\n mockResult.value = callDidThrowError ? thrownError : finalReturnValue;\n }\n\n return finalReturnValue;\n }, metadata.length || 0);\n\n const f = this._createMockFunction(metadata, mockConstructor);\n\n f._isMockFunction = true;\n\n f.getMockImplementation = () => this._ensureMockConfig(f).mockImpl;\n\n if (typeof restore === 'function') {\n this._spyState.add(restore);\n }\n\n this._mockState.set(f, this._defaultMockState());\n\n this._mockConfigRegistry.set(f, this._defaultMockConfig());\n\n Object.defineProperty(f, 'mock', {\n configurable: false,\n enumerable: true,\n get: () => this._ensureMockState(f),\n set: val => this._mockState.set(f, val)\n });\n\n f.mockClear = () => {\n this._mockState.delete(f);\n\n return f;\n };\n\n f.mockReset = () => {\n f.mockClear();\n\n this._mockConfigRegistry.delete(f);\n\n return f;\n };\n\n f.mockRestore = () => {\n f.mockReset();\n return restore ? restore() : undefined;\n };\n\n f.mockReturnValueOnce = (\n value // next function call will return this value or default return value\n ) => f.mockImplementationOnce(() => value);\n\n f.mockResolvedValueOnce = value =>\n f.mockImplementationOnce(() => Promise.resolve(value));\n\n f.mockRejectedValueOnce = value =>\n f.mockImplementationOnce(() => Promise.reject(value));\n\n f.mockReturnValue = (\n value // next function call will return specified return value or this one\n ) => f.mockImplementation(() => value);\n\n f.mockResolvedValue = value =>\n f.mockImplementation(() => Promise.resolve(value));\n\n f.mockRejectedValue = value =>\n f.mockImplementation(() => Promise.reject(value));\n\n f.mockImplementationOnce = fn => {\n // next function call will use this mock implementation return value\n // or default mock implementation return value\n const mockConfig = this._ensureMockConfig(f);\n\n mockConfig.specificMockImpls.push(fn);\n return f;\n };\n\n f.mockImplementation = fn => {\n // next function call will use mock implementation return value\n const mockConfig = this._ensureMockConfig(f);\n\n mockConfig.mockImpl = fn;\n return f;\n };\n\n f.mockReturnThis = () =>\n f.mockImplementation(function () {\n return this;\n });\n\n f.mockName = name => {\n if (name) {\n const mockConfig = this._ensureMockConfig(f);\n\n mockConfig.mockName = name;\n }\n\n return f;\n };\n\n f.getMockName = () => {\n const mockConfig = this._ensureMockConfig(f);\n\n return mockConfig.mockName || 'jest.fn()';\n };\n\n if (metadata.mockImpl) {\n f.mockImplementation(metadata.mockImpl);\n }\n\n return f;\n } else {\n const unknownType = metadata.type || 'undefined type';\n throw new Error('Unrecognized type ' + unknownType);\n }\n }\n\n _createMockFunction(metadata, mockConstructor) {\n let name = metadata.name;\n\n if (!name) {\n return mockConstructor;\n } // Preserve `name` property of mocked function.\n\n const boundFunctionPrefix = 'bound ';\n let bindCall = ''; // if-do-while for perf reasons. The common case is for the if to fail.\n\n if (name && name.startsWith(boundFunctionPrefix)) {\n do {\n name = name.substring(boundFunctionPrefix.length); // Call bind() just to alter the function name.\n\n bindCall = '.bind(null)';\n } while (name && name.startsWith(boundFunctionPrefix));\n } // Special case functions named `mockConstructor` to guard for infinite\n // loops.\n\n if (name === MOCK_CONSTRUCTOR_NAME) {\n return mockConstructor;\n }\n\n if (\n // It's a syntax error to define functions with a reserved keyword\n // as name.\n RESERVED_KEYWORDS.has(name) || // It's also a syntax error to define functions with a name that starts with a number\n /^\\d/.test(name)\n ) {\n name = '$' + name;\n } // It's also a syntax error to define a function with a reserved character\n // as part of it's name.\n\n if (FUNCTION_NAME_RESERVED_PATTERN.test(name)) {\n name = name.replace(FUNCTION_NAME_RESERVED_REPLACE, '$');\n }\n\n const body =\n 'return function ' +\n name +\n '() {' +\n 'return ' +\n MOCK_CONSTRUCTOR_NAME +\n '.apply(this,arguments);' +\n '}' +\n bindCall;\n const createConstructor = new this._environmentGlobal.Function(\n MOCK_CONSTRUCTOR_NAME,\n body\n );\n return createConstructor(mockConstructor);\n }\n\n _generateMock(metadata, callbacks, refs) {\n // metadata not compatible but it's the same type, maybe problem with\n // overloading of _makeComponent and not _generateMock?\n // @ts-expect-error\n const mock = this._makeComponent(metadata);\n\n if (metadata.refID != null) {\n refs[metadata.refID] = mock;\n }\n\n this._getSlots(metadata.members).forEach(slot => {\n const slotMetadata = (metadata.members && metadata.members[slot]) || {};\n\n if (slotMetadata.ref != null) {\n callbacks.push(\n (function (ref) {\n return () => (mock[slot] = refs[ref]);\n })(slotMetadata.ref)\n );\n } else {\n mock[slot] = this._generateMock(slotMetadata, callbacks, refs);\n }\n });\n\n if (\n metadata.type !== 'undefined' &&\n metadata.type !== 'null' &&\n mock.prototype &&\n typeof mock.prototype === 'object'\n ) {\n mock.prototype.constructor = mock;\n }\n\n return mock;\n }\n /**\n * @see README.md\n * @param _metadata Metadata for the mock in the schema returned by the\n * getMetadata method of this module.\n */\n\n generateFromMetadata(_metadata) {\n const callbacks = [];\n const refs = {};\n\n const mock = this._generateMock(_metadata, callbacks, refs);\n\n callbacks.forEach(setter => setter());\n return mock;\n }\n /**\n * @see README.md\n * @param component The component for which to retrieve metadata.\n */\n\n getMetadata(component, _refs) {\n const refs = _refs || new Map();\n const ref = refs.get(component);\n\n if (ref != null) {\n return {\n ref\n };\n }\n\n const type = getType(component);\n\n if (!type) {\n return null;\n }\n\n const metadata = {\n type\n };\n\n if (\n type === 'constant' ||\n type === 'collection' ||\n type === 'undefined' ||\n type === 'null'\n ) {\n metadata.value = component;\n return metadata;\n } else if (type === 'function') {\n // @ts-expect-error this is a function so it has a name\n metadata.name = component.name; // @ts-expect-error may be a mock\n\n if (component._isMockFunction === true) {\n // @ts-expect-error may be a mock\n metadata.mockImpl = component.getMockImplementation();\n }\n }\n\n metadata.refID = refs.size;\n refs.set(component, metadata.refID);\n let members = null; // Leave arrays alone\n\n if (type !== 'array') {\n this._getSlots(component).forEach(slot => {\n if (\n type === 'function' && // @ts-expect-error may be a mock\n component._isMockFunction === true &&\n slot.match(/^mock/)\n ) {\n return;\n } // @ts-expect-error no index signature\n\n const slotMetadata = this.getMetadata(component[slot], refs);\n\n if (slotMetadata) {\n if (!members) {\n members = {};\n }\n\n members[slot] = slotMetadata;\n }\n });\n }\n\n if (members) {\n metadata.members = members;\n }\n\n return metadata;\n }\n\n isMockFunction(fn) {\n return !!fn && fn._isMockFunction === true;\n }\n\n fn(implementation) {\n const length = implementation ? implementation.length : 0;\n\n const fn = this._makeComponent({\n length,\n type: 'function'\n });\n\n if (implementation) {\n fn.mockImplementation(implementation);\n }\n\n return fn;\n }\n\n // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n spyOn(object, methodName, accessType) {\n if (accessType) {\n return this._spyOnProperty(object, methodName, accessType);\n }\n\n if (typeof object !== 'object' && typeof object !== 'function') {\n throw new Error(\n 'Cannot spyOn on a primitive value; ' + this._typeOf(object) + ' given'\n );\n }\n\n const original = object[methodName];\n\n if (!this.isMockFunction(original)) {\n if (typeof original !== 'function') {\n throw new Error(\n 'Cannot spy the ' +\n methodName +\n ' property because it is not a function; ' +\n this._typeOf(original) +\n ' given instead'\n );\n }\n\n const isMethodOwner = Object.prototype.hasOwnProperty.call(\n object,\n methodName\n );\n let descriptor = Object.getOwnPropertyDescriptor(object, methodName);\n let proto = Object.getPrototypeOf(object);\n\n while (!descriptor && proto !== null) {\n descriptor = Object.getOwnPropertyDescriptor(proto, methodName);\n proto = Object.getPrototypeOf(proto);\n }\n\n let mock;\n\n if (descriptor && descriptor.get) {\n const originalGet = descriptor.get;\n mock = this._makeComponent(\n {\n type: 'function'\n },\n () => {\n descriptor.get = originalGet;\n Object.defineProperty(object, methodName, descriptor);\n }\n );\n\n descriptor.get = () => mock;\n\n Object.defineProperty(object, methodName, descriptor);\n } else {\n mock = this._makeComponent(\n {\n type: 'function'\n },\n () => {\n if (isMethodOwner) {\n object[methodName] = original;\n } else {\n delete object[methodName];\n }\n }\n ); // @ts-expect-error overriding original method with a Mock\n\n object[methodName] = mock;\n }\n\n mock.mockImplementation(function () {\n return original.apply(this, arguments);\n });\n }\n\n return object[methodName];\n }\n\n _spyOnProperty(obj, propertyName, accessType = 'get') {\n if (typeof obj !== 'object' && typeof obj !== 'function') {\n throw new Error(\n 'Cannot spyOn on a primitive value; ' + this._typeOf(obj) + ' given'\n );\n }\n\n if (!obj) {\n throw new Error(\n 'spyOn could not find an object to spy upon for ' + propertyName + ''\n );\n }\n\n if (!propertyName) {\n throw new Error('No property name supplied');\n }\n\n let descriptor = Object.getOwnPropertyDescriptor(obj, propertyName);\n let proto = Object.getPrototypeOf(obj);\n\n while (!descriptor && proto !== null) {\n descriptor = Object.getOwnPropertyDescriptor(proto, propertyName);\n proto = Object.getPrototypeOf(proto);\n }\n\n if (!descriptor) {\n throw new Error(propertyName + ' property does not exist');\n }\n\n if (!descriptor.configurable) {\n throw new Error(propertyName + ' is not declared configurable');\n }\n\n if (!descriptor[accessType]) {\n throw new Error(\n 'Property ' + propertyName + ' does not have access type ' + accessType\n );\n }\n\n const original = descriptor[accessType];\n\n if (!this.isMockFunction(original)) {\n if (typeof original !== 'function') {\n throw new Error(\n 'Cannot spy the ' +\n propertyName +\n ' property because it is not a function; ' +\n this._typeOf(original) +\n ' given instead'\n );\n } // @ts-expect-error: mock is assignable\n\n descriptor[accessType] = this._makeComponent(\n {\n type: 'function'\n },\n () => {\n // @ts-expect-error: mock is assignable\n descriptor[accessType] = original;\n Object.defineProperty(obj, propertyName, descriptor);\n }\n );\n descriptor[accessType].mockImplementation(function () {\n // @ts-expect-error\n return original.apply(this, arguments);\n });\n }\n\n Object.defineProperty(obj, propertyName, descriptor);\n return descriptor[accessType];\n }\n\n clearAllMocks() {\n this._mockState = new WeakMap();\n }\n\n resetAllMocks() {\n this._mockConfigRegistry = new WeakMap();\n this._mockState = new WeakMap();\n }\n\n restoreAllMocks() {\n this._spyState.forEach(restore => restore());\n\n this._spyState = new Set();\n }\n\n _typeOf(value) {\n return value == null ? '' + value : typeof value;\n } // the typings test helper\n\n mocked(item, _deep = false) {\n return item;\n }\n}\n\nexports.ModuleMocker = ModuleMocker;\nconst JestMock = new ModuleMocker(global);\nconst fn = JestMock.fn.bind(JestMock);\nexports.fn = fn;\nconst spyOn = JestMock.spyOn.bind(JestMock);\nexports.spyOn = spyOn;\nconst mocked = JestMock.mocked.bind(JestMock);\nexports.mocked = mocked;\n","import './chunk-JRLSWQMA.mjs';\nimport { addons } from '@storybook/preview-api';\nimport { global } from '@storybook/global';\nimport { FORCE_REMOUNT, STORY_RENDER_PHASE_CHANGED } from '@storybook/core-events';\nimport { instrument } from '@storybook/instrumenter';\nimport { ModuleMocker } from 'jest-mock';\n\nvar JestMock=new ModuleMocker(global),fn=JestMock.fn.bind(JestMock),{action}=instrument({action:fn},{retain:!0}),channel=addons.getChannel(),seen=new Set,spies=[];channel.on(FORCE_REMOUNT,()=>spies.forEach(mock=>mock?.mockClear?.()));channel.on(STORY_RENDER_PHASE_CHANGED,({newPhase})=>{newPhase===\"loading\"&&spies.forEach(mock=>mock?.mockClear?.());});var addSpies=(id,val,key)=>{if(seen.has(val))return val;seen.add(val);try{if(Object.prototype.toString.call(val)===\"[object Object]\"){for(let[k,v]of Object.entries(val))val[k]=addSpies(id,v,k);return val}if(Array.isArray(val))return val.map((item,index)=>addSpies(id,item,`${key}[${index}]`));if(typeof val==\"function\"&&val.isAction){Object.defineProperty(val,\"name\",{value:key,writable:!1}),Object.defineProperty(val,\"__storyId__\",{value:id,writable:!1});let spy=action(val);return spies.push(spy),spy}}catch{}return val},addActionsFromArgTypes=({id,initialArgs})=>addSpies(id,initialArgs),argsEnhancers=[addActionsFromArgTypes],{step:runStep}=instrument({step:(label,play,context)=>play(context)},{intercept:!0}),parameters={throwPlayFunctionExceptions:!1};\n\nexport { argsEnhancers, parameters, runStep };\n"],"names":["addons","once","logger","FORCE_REMOUNT","STORY_RENDER_PHASE_CHANGED","SET_CURRENT_STORY","IGNORED_EXCEPTION","global","CallStates","CallStates2","EVENTS","controlsDisabled","alreadyCompletedException","isObject","o","isModule","isInstrumentable","proto","construct","obj","getInitialState","getRetainedState","state","isDebugging","calls","call","callRefsByResult","ref","Instrumenter","resetState","storyId","isPlaying","newPhase","start","playUntil","log","shadowCalls","firstRowIndex","_a","back","last","res","item","index","goto","callId","resolvers","id","shadowCall","nextId","c","resolve","next","end","update","patch","acc","retainedState","payload","merged","seen","arg","node","options","mutate","path","key","value","args","method","fn","cursor","ancestors","intercept","retain","interceptable","result","chainedCallIds","isChainedUpon","_","renderPhase","serializeValues","name","message","stack","flags","source","prefix","localName","classList","innerText","classNames","_b","val","info","handleException","e","exception","finalArgs","restore","willRestore","callsById","a","b","synchronize","isLocked","logItems","pausedAt","hasActive","payload2","hasPrevious","syncTimeout","instrument","forceInstrument","skipInstrument","build","ModuleMocker_1","_defineProperty","MOCK_CONSTRUCTOR_NAME","FUNCTION_NAME_RESERVED_PATTERN","FUNCTION_NAME_RESERVED_REPLACE","RESERVED_KEYWORDS","matchArity","length","mockConstructor","_c","_d","_e","_f","_g","_h","_i","getObjectType","getType","typeName","isReadonlyProp","object","prop","ModuleMocker","slots","EnvObjectProto","EnvFunctionProto","EnvRegExpProto","ObjectProto","FunctionProto","RegExpProto","ownNames","i","propDesc","f","config","metadata","prototype","prototypeSlots","mocker","mockState","mockConfig","mockResult","finalReturnValue","thrownError","callDidThrowError","slot","protoImpl","mockImpl","specificMockImpl","error","unknownType","boundFunctionPrefix","bindCall","body","callbacks","refs","mock","slotMetadata","_metadata","setter","component","_refs","type","members","implementation","methodName","accessType","original","isMethodOwner","descriptor","originalGet","propertyName","_deep","JestMock","spyOn","mocked","action","channel","spies","addSpies","k","v","spy","addActionsFromArgTypes","initialArgs","argsEnhancers","runStep","label","play","context","parameters"],"mappings":"mDAAA,KAAA,CAAAA,OAAAA,CAAA,EAAA,iCACA,CAAA,KAAAC,EAAA,OAAAC,CAAA,EAAA,mCACA,CAAA,cAAAC,EAAA,2BAAAC,EAAA,kBAAAC,EAAA,kBAAAC,CAAA,EAAA,iCACA,CAAAC,OAAAA,CAAA,EAAA,4BAEA,IAAIC,GAAYC,IAAcA,EAAY,KAAK,OAAOA,EAAY,MAAM,QAAQA,EAAY,OAAO,SAASA,EAAY,QAAQ,UAAUA,IAAcD,GAAY,CAAA,CAAE,EAAME,EAAO,CAAC,KAAK,8BAA8B,KAAK,8BAA8B,MAAM,+BAA+B,KAAK,8BAA8B,KAAK,8BAA8B,KAAK,8BAA8B,IAAI,4BAA4B,EAAEC,EAAiB,CAAC,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,IAAI,EAAE,EAAEC,EAA0B,IAAI,MAAM,oFAAoF,EAAEC,EAASC,GAAG,OAAO,UAAU,SAAS,KAAKA,CAAC,IAAI,kBAAkBC,EAASD,GAAG,OAAO,UAAU,SAAS,KAAKA,CAAC,IAAI,kBAAkBE,EAAiBF,GAAG,CAAC,GAAG,CAACD,EAASC,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