{ "pandav:/initFilterScript/JArray.js": { "cubeCode": "Cube('pandav:/com/linearText/1.3.2/initFilterScript/JArray',[],function(a){return a.exports});", "requires": [], "buildLevel": 0, "outputDir": "/com/linearText/1.3.2/initFilterScript", "outputPath": "/com/linearText/1.3.2/initFilterScript/JArray.js", "fileName": "/initFilterScript/JArray.js" }, "pandav:/initFilterScript/JObject.js": { "cubeCode": "Cube('pandav:/com/linearText/1.3.2/initFilterScript/JObject',[],function(a){return a.exports});", "requires": [], "buildLevel": 0, "outputDir": "/com/linearText/1.3.2/initFilterScript", "outputPath": "/com/linearText/1.3.2/initFilterScript/JObject.js", "fileName": "/initFilterScript/JObject.js" }, "pandav:/initFilterScript/Normal.js": { "cubeCode": "Cube('pandav:/com/linearText/1.3.2/initFilterScript/Normal',[],function(a){return a.exports});", "requires": [], "buildLevel": 0, "outputDir": "/com/linearText/1.3.2/initFilterScript", "outputPath": "/com/linearText/1.3.2/initFilterScript/Normal.js", "fileName": "/initFilterScript/Normal.js" }, "pandav:/LinearText.js": { "cubeCode": "Cube('pandav:/com/linearText/1.3.2/LinearText',['pandav:/npm/react/17.0.2'],function(a,b,c){function d(a){\"@babel/helpers - typeof\";return d='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&'function'==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?'symbol':typeof a},d(a)}function e(a,b){if(!(a instanceof b))throw new TypeError('Cannot call a class as a function')}function f(a,b){for(var c,d=0;df)&&(f=c(0,d(f,100)),this.step*=-1),this.percent=f,this.text.style.backgroundImage='-webkit-radial-gradient('.concat(f,'%, circle, ').concat(h.animateColor,' 3%, ').concat(i.color,' 50%)'),cancelAnimationFrame(this.animationHanler),h.animation&&(this.animationHanler=requestAnimationFrame(function(){return e.animation(a)}))}},{key:'componentWillReceiveProps',value:function c(a,b){this.animation(a)}},{key:'shouldComponentUpdate',value:function d(a,b,c){return!_.isEqual(this.props.data,a.data)||!_.isEqual(this.state,b)||!_.isEqual(this.props.component,a.component)||!_.isEqual(this.props.width,a.width)||!_.isEqual(this.props.height,a.height)}},{key:'componentWillUnmount',value:function a(){this.animationHanler&&cancelAnimationFrame(this.animationHanler)}},{key:'render',value:function a(){var b=this,c=this.props,d=c.component,e=c.data,f=c.id,g=c.width,h=c.height,i=d.animationConfig,j=d.font;return s.createElement('div',{className:'__pandav-compontent',id:f,style:{width:g,height:h}},s.createElement('div',{ref:function c(a){return b.text=a},style:Object.assign({WebkitFontSmoothing:'antialiased',WebkitBackfaceVisibility:'hidden',backfaceVisibility:'hidden',letterSpacing:'-.05em',backgroundImage:'-webkit-radial-gradient(27%, circle, '.concat(i.animateColor,' 3%, ').concat(j.color,' 50%)'),WebkitBackgroundClip:'text',WebkitTextFillColor:'transparent'},j)},e&&e.length&&e[0].text))}}]),b}(s.Component);return a.exports=t,a.exports});", "requires": [], "buildLevel": 2, "outputDir": "/com/linearText/1.3.2", "outputPath": "/com/linearText/1.3.2/LinearText.js", "fileName": "/LinearText.js" }, "pandav:/index.js": { "cubeCode": "Cube('pandav:/com/linearText/1.3.2',['pandav:/npm/bcore/0.0.18/event','pandav:/npm/react/17.0.2','pandav:/npm/react-dom/17.0.2','pandav:/com/linearText/1.3.2/LinearText','pandav:/npm/jquery/2.1.4'],function(a,b,c){var d=c('pandav:/npm/bcore/0.0.18/event'),e=c('pandav:/npm/react/17.0.2'),f=c('pandav:/npm/react-dom/17.0.2'),g=c('pandav:/com/linearText/1.3.2/LinearText'),h=c('pandav:/npm/jquery/2.1.4');return a.exports=d.extend(function(a,b){this.config={theme:{}},this.container=a,this.apis=b.apis,this.containSize={boxWidth:h(a)&&h(a).width(),boxHeight:h(a)&&h(a).height()},this.init(b)},{init:function(a){this.mergeConfig(a)},mergeConfig:function(a){var b;return a?(b=a,this.config=a):b=this.config,b},updateOptions:function(a){this.render(this._data,a)},data:function(a){return a&&(this._data=a),this._data},setColors:function(){},resize:function(a,b){this.containSize={boxWidth:a,boxHeight:b},this.render(this._data,this.config)},render:function(a,b){a=this.data(a);var c=this.mergeConfig(b);f.render(e.createElement(g,Object.assign({containSize:this.containSize,width:this.containSize.boxWidth,height:this.containSize.boxHeight,id:this.__id,component:c.component,data:a})),this.container)},destroy:function(){return!!this.container&&void(f.unmountComponentAtNode(this.container),this.container.innerHTML='')}}),a.exports});", "requires": [ "pandav:/LinearText.js" ], "buildLevel": 1, "outputDir": "/com/linearText/1.3.2", "outputPath": "/com/linearText/1.3.2/index.js", "fileName": "/index.js" } }