@manycore/custom-sdk 1.0.1-rc.3 → 1.0.1-rc.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/1.index.js +1 -1
- package/index.d.ts +658 -70
- package/index.js +76 -55
- package/package.json +8 -6
package/1.index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(window.webpackJsonpapp=window.webpackJsonpapp||[]).push([[1],{
|
|
1
|
+
(window.webpackJsonpapp=window.webpackJsonpapp||[]).push([[1],{3108:function(t,e,s){var i,a;function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}a=window||{},void 0===(i=function(){return function(t){var e,s,i="http://www.w3.org/2000/svg",a="",n=!0,h=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),o=(Math.round,Math.pow),l=Math.sqrt,p=(Math.abs,Math.floor),f=(Math.max,Math.min),m={};(function(){var t,e=Object.getOwnPropertyNames(Math),s=e.length;for(t=0;t<s;t+=1)m[e[t]]=Math[e[t]]})(),m.random=Math.random,m.abs=function(t){if("object"===r(t)&&t.length){var e,s=Array.apply(null,{length:t.length}),i=t.length;for(e=0;e<i;e+=1)s[e]=Math.abs(t[e]);return s}return Math.abs(t)};var d=150,c=Math.PI/180;function u(t){s=t?Math.round:function(t){return t}}function g(t){return Math.round(1e4*t)/1e4}function y(t,e,s,i){this.type=t,this.currentTime=e,this.totalTime=s,this.direction=i<0?-1:1}function v(t,e){this.type=t,this.direction=e<0?-1:1}function b(t,e,s,i){this.type=t,this.currentLoop=e,this.totalLoops=s,this.direction=i<0?-1:1}function k(t,e,s){this.type=t,this.firstFrame=e,this.totalFrames=s}function A(t,e){this.type=t,this.target=e}function P(t,e){var s;void 0===e&&(e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890");var i="";for(s=t;s>0;--s)i+=e[Math.round(Math.random()*(e.length-1))];return i}function E(t,e,s){var i,a,r,n,h,o,l,p;switch(1===arguments.length&&(e=t.s,s=t.v,t=t.h),o=s*(1-e),l=s*(1-(h=6*t-(n=Math.floor(6*t)))*e),p=s*(1-(1-h)*e),n%6){case 0:i=s,a=p,r=o;break;case 1:i=l,a=s,r=o;break;case 2:i=o,a=s,r=p;break;case 3:i=o,a=l,r=s;break;case 4:i=p,a=o,r=s;break;case 5:i=s,a=o,r=l}return[i,a,r]}function M(t,e,s){1===arguments.length&&(e=t.g,s=t.b,t=t.r);var i,a=Math.max(t,e,s),r=Math.min(t,e,s),n=a-r,h=0===a?0:n/a,o=a/255;switch(a){case r:i=0;break;case t:i=e-s+n*(e<s?6:0),i/=6*n;break;case e:i=s-t+2*n,i/=6*n;break;case s:i=t-e+4*n,i/=6*n}return[i,h,o]}function _(t,e){var s=M(255*t[0],255*t[1],255*t[2]);return s[1]+=e,s[1]>1?s[1]=1:s[1]<=0&&(s[1]=0),E(s[0],s[1],s[2])}function S(t,e){var s=M(255*t[0],255*t[1],255*t[2]);return s[2]+=e,s[2]>1?s[2]=1:s[2]<0&&(s[2]=0),E(s[0],s[1],s[2])}function F(t,e){var s=M(255*t[0],255*t[1],255*t[2]);return s[0]+=e/360,s[0]>1?s[0]-=1:s[0]<0&&(s[0]+=1),E(s[0],s[1],s[2])}u(!1);var w=function(){var t,e,s=[];for(t=0;t<256;t+=1)e=t.toString(16),s[t]=1==e.length?"0"+e:e;return function(t,e,i){return t<0&&(t=0),e<0&&(e=0),i<0&&(i=0),"#"+s[t]+s[e]+s[i]}}();
|
|
2
2
|
/*!
|
|
3
3
|
Transformation Matrix v2.0
|
|
4
4
|
(c) Epistemex 2014-2015
|