PageSourceSearch

https://elegantepizzeriarestaurant.com/__common__/app/2.7.0/vendor/preact-signals.js

js elegantepizzeriarestaurant.com collected 2026-10-07 16:57:03 UTC 9,230 bytes, 2 lines download raw bytes

vendor: 7,242 bytes, line 1
1import{a as e,c as t,d as n,l as r,n as i,o as a,r as o,u as s}from"./preact.js";var c=Symbol.for(`preact-signals`);function l(){if(h>1)h--;else{var e,t=!1;for((function(){var e=v;for(v=void 0;e!==void 0;){var t=e.S;if(t.v===e.v)for(var n=t.t;n!==void 0;n=n.x)n.i===e.i&&(n.i=t.i);e=e.o}})();m!==void 0;){var n=m;for(m=void 0,g++;n!==void 0;){var r=n.u;if(n.u=void 0,n.f&=-3,!(8&n.f)&&C(n))try{n.c()}catch(n){t||=(e=n,!0)}n=r}}if(g=0,h--,t)throw e}}function u(e){if(h>0)return e();_=++ee,h++;try{return e()}finally{l()}}var d,f=void 0;function p(e){var t=f,n=d;f=void 0,d=void 0;try{return e()}finally{f=t,d=n}}var m=void 0,h=0,g=0,ee=0,_=0,v=void 0,y=0;function b(e){if(f!==void 0){var t=e.n;if(t===void 0||t.t!==f)return t={i:0,S:e,p:f.s,n:void 0,t:f,e:void 0,x:void 0,r:t},f.s!==void 0&&(f.s.n=t),f.s=t,e.n=t,32&f.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=f.s,t.n=void 0,f.s.n=t,f.s=t),t}}function x(e,t){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=t?.watched,this.Z=t?.unwatched,this.name=t?.name}x.prototype.brand=c,x.prototype.h=function(){return!0},x.prototype.S=function(e){var t=this,n=this.t;n!==e&&e.e===void 0&&(e.x=n,this.t=e,n===void 0?p(function(){var e;(e=t.W)==null||e.call(t)}):n.e=e)},x.prototype.U=function(e){var t=this;if(this.t!==void 0){var n=e.e,r=e.x;n!==void 0&&(n.x=r,e.e=void 0),r!==void 0&&(r.e=n,e.x=void 0),e===this.t&&(this.t=r,r===void 0&&p(function(){var e;(e=t.Z)==null||e.call(t)}))}},x.prototype.subscribe=function(e){var t=this;return M(function(){var n=t.value;p(function(){return e(n)})},{name:`sub`})},x.prototype.valueOf=function(){return this.value},x.prototype.toString=function(){return this.value+``},x.prototype.toJSON=function(){return this.value},x.prototype.peek=function(){var e=this;return p(function(){return e.value})},Object.defineProperty(x.prototype,"value",{get:function(){var e=b(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(g>100)throw Error(`Cycle detected`);(function(e){h!==0&&g===0&&e.l!==_&&(e.l=_,v={S:e,v:e.v,i:e.i,o:v})})(this),this.v=e,this.i++,y++,h++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{l()}}}});function S(e,t){return new x(e,t)}function C(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function w(e){for(var t=e.s;t!==void 0;t=t.n){var n=t.S.n;if(n!==void 0&&(t.r=n),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function T(e){for(var t=e.s,n=void 0;t!==void 0;){var r=t.p;t.i===-1?(t.S.U(t),r!==void 0&&(r.n=t.n),t.n!==void 0&&(t.n.p=r)):n=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=r}e.s=n}function E(e,t){x.call(this,void 0,t),this.x=e,this.s=void 0,this.g=y-1,this.f=4}E.prototype=new x,E.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===y))return!0;if(this.g=y,this.f|=1,this.i>0&&!C(this))return this.f&=-2,!0;var e=f;try{w(this),f=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return f=e,T(this),this.f&=-2,!0},E.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}x.prototype.S.call(this,e)},E.prototype.U=function(e){if(this.t!==void 0&&(x.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}},E.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},Object.defineProperty(E.prototype,"value",{get:function(){if(1&this.f)throw Error(`Cycle detected`);var e=b(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function D(e,t){return new E(e,t)}function O(e){var t=e.m;if(e.m=void 0,typeof t==`function`){h++;var n=f;f=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,k(e),t}finally{f=n,l()}}}function k(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,O(e)}function A(e){if(f!==this)throw Error(`Out-of-order effect`);T(this),f=e,this.f&=-2,8&this.f&&k(this),l()}function j(e,t){this.x=e,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=t?.name,d&&d.push(this)}j.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t==`function`&&(this.m=t)}finally{e()}},j.prototype.S=function(){if(1&this.f)throw Error(`Cycle detected`);this.f|=1,this.f&=-9,O(this),w(this),h++;var e=f;return f=this,A.bind(this,e)},j.prototype.N=function(){2&this.f||(this.f|=2,this.u=m,m=this)},j.prototype.d=function(){this.f|=8,1&this.f||k(this)},j.prototype.dispose=function(){this.d()};function M(e,t){var n=new j(e,t);try{n.c()}catch(e){throw n.d(),e}var r=n.d.bind(n);return r[Symbol.dispose]=r,r}var N,P,F,I=typeof window<`u`&&!!window.__PREACT_SIGNALS_DEVTOOLS__,L=[],R=[];M(function(){N=this.N})();function z(e,t){s[e]=t.bind(null,s[e]||function(){})}function B(e){if(F){var t=F;F=void 0,t()}F=e&&e.S()}function V(e){var t=this,r=e.data,i=U(r);i.name=`ReactiveDom`,i.value=r;var a=o(function(){for(var e=t,r=t.__v;r=r.__;)if(r.__c){r.__c.__$f|=4;break}var a=D(function(){var e=i.value.value;return e===0?0:!0===e?``:e||``}),o=D(function(){return!Array.isArray(a.value)&&!n(a.value)}),s=M(function(){if(this.N=X,o.value){var t=a.value;e.__v&&e.__v.__e&&e.__v.__e.nodeType===3&&(e.__v.__e.data=t)}}),c=t.__$u.d;return t.__$u.d=function(){s(),c.call(this)},[o,a]},[]),s=a[0],c=a[1];return s.value?c.peek():c.value}V.displayName=`ReactiveTextNode`,Object.defineProperties(x.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:V},props:{configurable:!0,get:function(){var e=this;return{data:{get value(){return e.value}}}}},__b:{configurable:!0,value:1}}),z(`__b`,function(e,t){if(typeof t.type==`string`){var n,r=t.props;for(var i in r)if(i!==`children`){var a=r[i];a instanceof x&&(n||(t.__np=n={}),n[i]=a,r[i]=a.peek())}}e(t)}),z(`__r`,function(e,n){if(e(n),n.type!==t){B();var r,i=n.__c;i&&(i.__$f&=-2,(r=i.__$u)===void 0&&(i.__$u=r=function(e,t){var n;return M(function(){n=this},{name:t}),n.c=e,n}(function(e){return function(){var t;I&&((t=this.y)==null||t.call(this)),e.__$f|=1,e.setState({})}}(i),typeof n.type==`function`?n.type.displayName||n.type.name:``))),P=i,B(r)}}),z(`__e`,function(e,t,n,r){B(),P=void 0,e(t,n,r)}),z(`diffed`,function(e,t){B(),P=void 0;var n;if(typeof t.type==`string`&&(n=t.__e)){var r=t.__np,i=t.props,a=n.U;if(a)for(var o in a){var s=a[o];s===void 0||r&&o in r||(s.d(),a[o]=void 0)}if(r)for(var c in a||(a={},n.U=a),r){var l=a[c],u=r[c];l===void 0?(l=H(n,c,u,i),a[c]=l):l.o(u,i)}}e(t)});function H(e,t,n,r){var i=t in e&&e.ownerSVGElement===void 0,a=S(n);return{o:function(e,t){a.value=e,r=t},d:M(function(){this.N=X;var n=a.value.value;r[t]!==n&&(r[t]=n,i?e[t]=n:n!=null&&(!1!==n||t[4]===`-`)?e.setAttribute(t,n):e.removeAttribute(t))})}}z(`unmount`,function(e,t){if(typeof t.type==`string`){var n=t.__e;if(n){var r=n.U;if(r)for(var i in n.U=void 0,r){var a=r[i];a&&a.d()}}var o=t.__np;if(o){var s=t.props;for(var c in o)s[c]=o[c]}t.__np=void 0}else{var l=t.__c;if(l){var u=l.__$u;u&&(l.__$u=void 0,u.d())}}e(t)}),z(`__h`,function(e,t,n,r){r<3&&(t.__$f|=2),e(t,n,r)}),a.prototype.shouldComponentUpdate=function(e,t){if(this.__R)return!0;var n=this.__$u,r=n&&n.s!==void 0;for(var i in t)return!0;
1if(this.__f||typeof this.u==`boolean`&&!0===this.u){var a=2&this.__$f;if(!(r||a||4&this.__$f)||1&this.__$f)return!0}else if(!(r||4&this.__$f)||3&this.__$f)return!0;for(var o in e)if(o!==`__source`&&e[o]!==this.props[o])return!0;for(var s in this.props)if(!(s in e))return!0;return!1};function U(e,t){return o(function(){return S(e,t)},[])}function W(e,t){var n=i(e);return n.current=e,P.__$f|=4,o(function(){return D(function(){return n.current()},t)},[])}var G=typeof requestAnimationFrame>`u`?setTimeout:function(e){var t=function(){clearTimeout(n),cancelAnimationFrame(r),e()},n=setTimeout(t,35),r=requestAnimationFrame(t)},K=function(e){queueMicrotask(function(){queueMicrotask(e)})};function q(){u(function(){for(var e;e=L.shift();)N.call(e)})}function J(){L.push(this)===1&&(s.requestAnimationFrame||G)(q)}function Y(){u(function(){for(var e;e=R.shift();)N.call(e)})}function X(){R.push(this)===1&&(s.requestAnimationFrame||K)(Y)}function te(t,n){var r=i(t);r.current=t,e(function(){return M(function(){return this.N=J,r.current()},n)},[])}var Z=function(e){return typeof e.children==`function`?e.children(e.v,e.i?e.i.value:void 0):e.children};Z.displayName=`Item`;function Q(e){var t=typeof e.when==`function`?e.when():e.when.value;if(!t){var n=e.fallback;return typeof n==`function`?n():n||null}return r(Z,{v:t,children:e.children})}Q.displayName=`Show`;function $(e){var n=o(function(){return new Map},[]),i=typeof e.each==`function`?e.each():e.each,a=i instanceof x?i.value:i;if(!a.length){var s=e.fallback;return typeof s==`function`?s():s||null}var c=new Set(n.keys()),l=a.map(function(t,i){c.delete(t);var a=n.get(t);if(a)a.i.peek()!==i&&(a.i.value=i);else{var o=S(i),s=e.getKey?e.getKey(t,i):i;a={vnode:r(Z,{key:s,v:t,i:o,children:e.children}),i:o},n.set(t,a)}return a.vnode});return c.forEach(function(e){n.delete(e)}),r(t,null,l)}$.displayName=`For`;export{te as a,M as c,U as i,u as l,$ as n,p as o,W as r,D as s,Q as t,S as u};
2//# sourceMappingURL=preact-signals.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.