{
"pandav:/src/Text.jsx": {
"cubeCode": "Cube('pandav:/com/main-title/2.0.0/src/Text.jsx',['pandav:/npm/react/17.0.2','pandav:/com/main-title/2.0.0/src/utils','pandav:/com/main-title/2.0.0/src/TextOverflow'],function(a,b,c){var d=c('pandav:/npm/react/17.0.2'),e=c('pandav:/com/main-title/2.0.0/src/utils'),f=e.align2Justify,g=e.getShadow,h=c('pandav:/com/main-title/2.0.0/src/TextOverflow');return a.exports=function(a){var b=a.text,c=void 0===b?'':b,e=a.chart,i=e.textStyle,j=e.textOverflow,k=e.speed,l=e.rowNum,m=e.textAlign,n=e.textVertical,o=e.isFixed,p=e.fixedWidth,q=e.shadow,r=e.color,s=e.lineHeight,t=i.fontFamily,u=i.fontSize,v=i.fontWeight,w=i.italic,x=i.letterSpacing,y={fontFamily:t,fontSize:u,letterSpacing:x,lineHeight:s+'px',textAlign:m,width:'100%',fontStyle:w,fontWeight:v,display:'inline-block',justifyContent:f(m)};if(n&&(y.position='absolute',y.top='top'==n?0:'center'==n?'50%':null,y.bottom='bottom'==n?0:null,y.transform='center'==n?'translateY(-50%)':null),q&&q.show&&(y.filter='drop-shadow('.concat(g(q),')')),!r.type)y.color=r;else if('linearGradient'==r.type){var z=r.value,A=z.angle,B=z.stops;y=Object.assign(Object.assign({},y),{WebkitBackgroundClip:'text',WebkitTextFillColor:'transparent',backgroundImage:'-webkit-linear-gradient('.concat(90-A,'deg, ').concat(B.slice().sort(function(c,a){return c.offset-a.offset}).map(function(a){return''.concat(a.color,' ').concat(a.offset,'%')}).join(', '),')'),opacity:1})}else y.color=r;var C=Object.assign(Object.assign({},y),{},{display:'-webkit-box',WebkitLineClamp:l,WebkitBoxOrient:'vertical',overflow:'hidden',textOverflow:'ellipsis',wordBreak:'break-all'});return'multiLine'==j?d.createElement('div',{style:C,title:c},o?c.split('').map(function(a){return d.createElement('span',{style:{width:p,display:'inline-block'}},a)}):c):d.createElement(h,{type:j,speed:k,value:o?c.split('').map(function(a){return'').concat(a,'')}).join(''):c,style:y,config:{childStyle:'linearGradient'==r.type?{WebkitBackgroundClip:'text',WebkitTextFillColor:'transparent',backgroundImage:'-webkit-linear-gradient('.concat(90-r.value.angle,'deg, ').concat(r.value.stops.slice().sort(function(c,a){return c.offset-a.offset}).map(function(a){return''.concat(a.color,' ').concat(a.offset,'%')}).join(', '),')'),opacity:1}:{}}})},a.exports});",
"requires": [
"pandav:/src/utils.js",
"pandav:/src/TextOverflow.js"
],
"buildLevel": 3,
"outputDir": "/com/main-title/2.0.0/src",
"outputPath": "/com/main-title/2.0.0/src/Text.jsx",
"fileName": "/src/Text.jsx"
},
"pandav:/src/com.jsx": {
"cubeCode": "Cube('pandav:/com/main-title/2.0.0/src/com.jsx',['pandav:/npm/react/17.0.2','pandav:/com/submodule-three-3d/1.0.0','pandav:/com/main-title/2.0.0/src/Text.jsx','pandav:/npm/lodash/4.6.1'],function(a,b,c){var d=c('pandav:/npm/react/17.0.2'),e=c('pandav:/com/submodule-three-3d/1.0.0'),f=e.ContentEditable,g=c('pandav:/com/main-title/2.0.0/src/Text.jsx'),h=c('pandav:/npm/lodash/4.6.1');return a.exports=function(a){var b=a.width,c=a.height,e=a.emit,h=a.config,i=a.data,j=a.id;return d.createElement('div',{className:'__pandav-component',style:{position:'absolute',width:b,height:c},onClick:function(){e('click',i)},onMouseEnter:function(){e('mouseEnter',i)},onMouseLeave:function(){e('mouseLeave',i)}},d.createElement(f,null,d.createElement(g,{chart:h,text:i[0]?i[0].text+'':''})))},a.exports});",
"requires": [
"pandav:/src/Text.jsx"
],
"buildLevel": 2,
"outputDir": "/com/main-title/2.0.0/src",
"outputPath": "/com/main-title/2.0.0/src/com.jsx",
"fileName": "/src/com.jsx"
},
"pandav:/src/TextOverflow.js": {
"cubeCode": "Cube('pandav:/com/main-title/2.0.0/src/TextOverflow',['pandav:/npm/react/17.0.2','pandav:/com/main-title/2.0.0/src/Marquee'],function(a,b,c){var d=c('pandav:/npm/react/17.0.2'),e=c('pandav:/com/main-title/2.0.0/src/Marquee');return a.exports=d.memo(function(a,b){var c=a.type,f=a.value,g=a.style,h=a.speed,i=void 0===h?5:h,j=a.config,k=void 0===j?{}:j,l=Object.assign({},function(a){return'ellipsis'===a?{overflow:'hidden',textOverflow:'ellipsis',whiteSpace:'nowrap'}:'break-word'===a?{wordBreak:'break-all',wordWrap:'break-word',whiteSpace:'pre-line'}:'marquee'===a?{whiteSpace:'nowrap'}:{}}(c),g),m=document.createElement('div');m.innerHTML=f;var n=m.innerText;return'marquee'===c?d.createElement(e,{value:f,speed:i,style:l,ref:b,config:k}):d.createElement('div',{style:l,ref:b,title:'ellipsis'==c?n||void 0:void 0,dangerouslySetInnerHTML:{__html:f}})}),a.exports});",
"requires": [
"pandav:/src/Marquee.js"
],
"buildLevel": 5,
"outputDir": "/com/main-title/2.0.0/src",
"outputPath": "/com/main-title/2.0.0/src/TextOverflow.js",
"fileName": "/src/TextOverflow.js"
},
"pandav:/index.js": {
"cubeCode": "Cube('pandav:/com/main-title/2.0.0',['pandav:/npm/bcore/0.0.18/event','pandav:/npm/react/17.0.2','pandav:/npm/react-dom/17.0.2','pandav:/com/main-title/2.0.0/src/com.jsx','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/main-title/2.0.0/src/com.jsx'),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},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({width:this.containSize.boxWidth,height:this.containSize.boxHeight,emit:this.emit.bind(this),config:c,data:a,id:this.__id})),this.container)},destroy:function(){return!!this.container&&void(f.unmountComponentAtNode(this.container),this.container.innerHTML='')}}),a.exports});",
"requires": [
"pandav:/src/com.jsx"
],
"buildLevel": 1,
"outputDir": "/com/main-title/2.0.0",
"outputPath": "/com/main-title/2.0.0/index.js",
"fileName": "/index.js"
},
"pandav:/src/utils.js": {
"cubeCode": "Cube('pandav:/com/main-title/2.0.0/src/utils',[],function(a){return a.exports={getShadow:function(a){return a=a.hShadow+'px '+a.vShadow+'px '+a.blur+'px '+a.color,a},align2Justify:function(a){return'left'===a?'flex-start':'center'===a?'center':'right'===a?'flex-end':'justify'===a?'space-between':'center'}},a.exports});",
"requires": [],
"buildLevel": 3,
"outputDir": "/com/main-title/2.0.0/src",
"outputPath": "/com/main-title/2.0.0/src/utils.js",
"fileName": "/src/utils.js"
},
"pandav:/src/Marquee.js": {
"cubeCode": "Cube('pandav:/com/main-title/2.0.0/src/Marquee',['pandav:/npm/react/17.0.2'],function(a,b,c){function d(a,b){return j(a)||h(a,b)||f(a,b)||e()}function e(){throw new TypeError('Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.')}function f(a,b){if(a){if('string'==typeof a)return g(a,b);var c=Object.prototype.toString.call(a).slice(8,-1);return'Object'===c&&a.constructor&&(c=a.constructor.name),'Map'===c||'Set'===c?Array.from(a):'Arguments'===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?g(a,b):void 0}}function g(a,b){(null==b||b>a.length)&&(b=a.length);for(var c=0,d=Array(b);c ':'')}})}))}),a.exports});",
"requires": [],
"buildLevel": 6,
"outputDir": "/com/main-title/2.0.0/src",
"outputPath": "/com/main-title/2.0.0/src/Marquee.js",
"fileName": "/src/Marquee.js"
}
}