axp-ui/docs/sb-addons/essentials-viewport-4/manager-bundle.js

4 lines
10 KiB
JavaScript
Raw Normal View History

2023-10-11 10:17:11 +03:00
try{
var ae=Object.create;var H=Object.defineProperty;var le=Object.getOwnPropertyDescriptor;var pe=Object.getOwnPropertyNames;var he=Object.getPrototypeOf,ue=Object.prototype.hasOwnProperty;var R=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,o)=>(typeof require<"u"?require:t)[o]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var M=(e,t)=>()=>(e&&(t=e(e=0)),t);var de=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var me=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let p of pe(t))!ue.call(e,p)&&p!==o&&H(e,p,{get:()=>t[p],enumerable:!(n=le(t,p))||n.enumerable});return e};var ce=(e,t,o)=>(o=e!=null?ae(he(e)):{},me(t||!e||!e.__esModule?H(o,"default",{value:e,enumerable:!0}):o,e));var c=M(()=>{});var f=M(()=>{});var g=M(()=>{});var te=de((ee,V)=>{c();f();g();(function(e){if(typeof ee=="object"&&typeof V<"u")V.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var t;typeof window<"u"||typeof window<"u"?t=window:typeof self<"u"?t=self:t=this,t.memoizerific=e()}})(function(){var e,t,o;return function n(p,m,h){function r(s,y){if(!m[s]){if(!p[s]){var u=typeof R=="function"&&R;if(!y&&u)return u(s,!0);if(i)return i(s,!0);var b=new Error("Cannot find module '"+s+"'");throw b.code="MODULE_NOT_FOUND",b}var l=m[s]={exports:{}};p[s][0].call(l.exports,function(a){var d=p[s][1][a];return r(d||a)},l,l.exports,n,p,m,h)}return m[s].exports}for(var i=typeof R=="function"&&R,x=0;x<h.length;x++)r(h[x]);return r}({1:[function(n,p,m){p.exports=function(h){if(typeof Map!="function"||h){var r=n("./similar");return new r}else return new Map}},{"./similar":2}],2:[function(n,p,m){function h(){return this.list=[],this.lastItem=void 0,this.size=0,this}h.prototype.get=function(r){var i;if(this.lastItem&&this.isEqual(this.lastItem.key,r))return this.lastItem.val;if(i=this.indexOf(r),i>=0)return this.lastItem=this.list[i],this.list[i].val},h.prototype.set=function(r,i){var x;return this.lastItem&&this.isEqual(this.lastItem.key,r)?(this.lastItem.val=i,this):(x=this.indexOf(r),x>=0?(this.lastItem=this.list[x],this.list[x].val=i,this):(this.lastItem={key:r,val:i},this.list.push(this.lastItem),this.size++,this))},h.prototype.delete=function(r){var i;if(this.lastItem&&this.isEqual(this.lastItem.key,r)&&(this.lastItem=void 0),i=this.indexOf(r),i>=0)return this.size--,this.list.splice(i,1)[0]},h.prototype.has=function(r){var i;return this.lastItem&&this.isEqual(this.lastItem.key,r)?!0:(i=this.indexOf(r),i>=0?(this.lastItem=this.list[i],!0):!1)},h.prototype.forEach=function(r,i){var x;for(x=0;x<this.size;x++)r.call(i||this,this.list[x].val,this.list[x].key,this)},h.prototype.indexOf=function(r){var i;for(i=0;i<this.size;i++)if(this.isEqual(this.list[i].key,r))return i;return-1},h.prototype.isEqual=function(r,i){return r===i||r!==r&&i!==i},p.exports=h},{}],3:[function(n,p,m){var h=n("map-or-similar");p.exports=function(s){var y=new h(!1),u=[];return function(b){var l=function(){var a=y,d,A,I=arguments.length-1,k=Array(I+1),E=!0,O;if((l.numArgs||l.numArgs===0)&&l.numArgs!==I+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(O=0;O<I;O++){if(k[O]={cacheItem:a,arg:arguments[O]},a.has(arguments[O])){a=a.get(arguments[O]);continue}E=!1,d=new h(!1),a.set(arguments[O],d),a=d}return E&&(a.has(arguments[I])?A=a.get(arguments[I]):E=!1),E||(A=b.apply(null,arguments),a.set(arguments[I],A)),s>0&&(k[I]={cacheItem:a,arg:arguments[I]},E?r(u,k):u.push(k),u.length>s&&i(u.shift())),l.wasMemoized=E,l.numArgs=I+1,A};return l.limit=s,l.wasMemoized=!1,l.cache=y,l.lru=u,l}};function r(s,y){var u=s.length,b=y.length,l,a,d;for(a=0;a<u;a++){for(l=!0,d=0;d<b;d++)if(!x(s[a][d].arg,y[d].arg)){l=!1;break}if(l)break}s.push(s.splice(a,1)[0])}function i(s){var y=s.length,u=s[y-1],b,l;for(u.cacheItem.delete(u.arg),l=y-2;l>=0&&(u=s[l],b=u.cacheItem.get(u.arg),!b||!b.size);l--)u.cacheItem.delete(u.arg)}function x(s,y){return s===y||s!==s&&y!==y}},{"map-or-similar":1}]},{},[3])(3)})});c();f()
}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); }