-
Notifications
You must be signed in to change notification settings - Fork 0
/
observable-function.min.js
1 lines (1 loc) · 2.41 KB
/
observable-function.min.js
1
!function r(n,t,e){function u(f,c){if(!t[f]){if(!n[f]){var i="function"==typeof require&&require;if(!c&&i)return i(f,!0);if(o)return o(f,!0);var a=new Error("Cannot find module '"+f+"'");throw a.code="MODULE_NOT_FOUND",a}var s=t[f]={exports:{}};n[f][0].call(s.exports,function(r){var t=n[f][1][r];return u(t||r)},s,s.exports,r,n,t,e)}return t[f].exports}for(var o="function"==typeof require&&require,f=0;f<e.length;f++)u(e[f]);return u}({1:[function(r,n,t){"use strict";function e(r,n,t,e){for(var u=r.length,o=r.length-1,f=t;u--&&!(f instanceof Error);){var c=e?u:o-u;f=n(f,r[c],c,r)}return f}n.exports=e},{}],2:[function(r,n,t){"use strict";var e=function(){},u=function(){for(var r=arguments.length,n=Array(r),t=0;t<r;t++)n[t]=arguments[t];return n},o=function(){for(var r=arguments.length,n=Array(r),t=0;t<r;t++)n[t]=arguments[t];return function(){return n}},f=function(r){return r},c=function(r){return function(){return r}},i=function(r){return"function"==typeof r?r:void 0===r?f:c(r)};n.exports={stub:e,transfer:f,holder:c,transferr:u,holderr:o,casts:i}},{}],3:[function(r,n,t){"use strict";var e=r("./wrap"),u=e.wrap,o=r("./handy"),f=o.stub,c=o.transfer,i=o.holder,a=o.transferr,s=o.holderr,h=o.casts;n.exports={wrap:u,stub:f,transfer:c,holder:i,transferr:a,holderr:s,casts:h}},{"./handy":2,"./wrap":4}],4:[function(r,n,t){"use strict";var e=r("./array-pass-each"),u=r("./handy"),o=u.holder,f=u.casts,c=function(r,n){return!("function"==typeof n)||r.push(n)},i=function(r,n,t){return r instanceof Error?n(r):void 0===r?t:r},a=function(r){return function(n,t){return i(t(r),o(n),n)}},s=function(r){return function(n,t){return i(t(n),r,n)}},h=function r(n){var t=[],u=[],o=[],h=[],p={},d=function(){p=this;for(var r=arguments.length,n=Array(r),t=0;t<r;t++)n[t]=arguments[t];return x(l(y(n)))},v=function(r){return function(n,t){return i(t.apply(p,n),r,void 0)}},l=function(r){return e([f(n)],v(b),r)},y=function(r){return e(t,s(E),r,!0)},x=function(r){return e(u,s(b),r)},E=function(r){return o.reduce(a(r),r)},b=function(r){return h.reduce(a(r),r)},w=function(r){return function(n){return c(r,n)&&d}},g=function(e){var f=r(void 0!==e?e:n);return t.forEach(function(r){return f.before(r)}),u.forEach(function(r){return f.after(r)}),o.forEach(function(r){return f.berror(r)}),h.forEach(function(r){return f.error(r)}),f};return d.before=w(t),d.after=w(u),d.berror=w(o),d.error=w(h),d.clone=g,d};n.exports={wrap:h}},{"./array-pass-each":1,"./handy":2}]},{},[3]);