12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-07ffd1ba","chunk-4046c368","chunk-2d225639","chunk-5a43e972"],{"0195":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAADxUlEQVRYR+3Ze2xTVRzA8e+5d+3K6Na6MAMYQxCCUpAME/UPJMjIhIAzookv/jELuM4XCSYKcepIls3IwwhsYOKUmJiosAioU3STmYxkhKCCImHxQaZZbGVbu3Z9jNt7TDu6F+vWrNyuJty/bnMev8/59fSce08Foy63k6UqFAlBwegyQz9LfIpKm81NizhEJB5LxG8uO7lFgXoBqw2FTNC5hF91ldIZtZyKVo0B/y1ldlY2bUhunUpcPLaEEArF+XW0xoDd5RwTkpJMwA0aBH/ZgywQvjIcmuB8RuGGJuDTwuOkTMKBDAXWi24nWwXUZCJQSr5MP1AB9OTSkXag6liNddNh+o5sQ/t+34TKtAJVxxqszs8QJgtIif/TzWgte8dFpg0YzVxu+VECx3eQs66C0IlaLCvK8B9+Ce3EnoTItAGz7n8BRc2mv3kn9v2S3p33oeTNRLltGf0NW6YeOFwQB+q/n8ysORjX3ACO/l7MD2wjZ301oZY6Qp88N1SsQO72P1Hts+jdtRz90ulYmeEZFDflI3u6R0Cmb2nFNOduvFULka4/YmXRH4b18T0EGl6hv+mtwfqGA60VP+OvunNEIkXBHPJeu4B26TR9b69A2HLJe/1vNNdF+nbcM2LnmBJgVGsu3krOIzX4PyzFtHgd2UtK8NYUIjsvjBiMIUB1yUOoMxfFAllWvUioeWBxjfxznsi5YwMABaa/fIasWQsR5mkEPt9Of2PlNUuJIUDl9iKUmxfEgk1bW0GwsSp2r7vb0S9+N4gQsx3YXj1HxNWOr9oB2rVLnSHA4WHGmoPDy227vYR/aST0/pNjLsQ3gFiIvtIkvOx7w4TPHiX43mNTk8HENCAb8qp7uNLeQvDd9ekFKvOWYXUewffmYmSXa1zneIWGzEFl/nJyn/+KUGs94YbNICftu/5b3QDua3RvJ8Gm3aSkA6xP7SfwzS70y79BXxfaD4cSjjapB1bz2kpySt5ABnvR/V2TT93VlmrBXCKeTrgSJuJuJ7BvTWrA6A5h2fAB5sKH8b+zEr3jp5SQhszB6AmOZUM95qWP4qucgfSNsUUkyTYGGA0uIOuuJ9DOfjzmFpakD+WOYmTHt8jAxC2SmoMTd2Ncjf8H0OOkXEKdcXlIqeeDwv0shSadH1PqxqDGQrApdoDZU0YTglUGxZlsty67wvwY0LORudLEKWSaD84T0zUFHrQd4PjgIbrnGebpgo+E4N7JDvk6tesQKqX2Wpqvrm5D3UoQXicrgSI9zX9DCIlPl7Tlh/lCHBx64vwPdNsYfdxqBdUAAAAASUVORK5CYII="},"01a5":function(t,e,i){},"0585":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAEUUlEQVRYR93ZfUzUdRzA8ff39zuO4ziO40EppYnTSQ9W87GHrTAGuIgeTMbmyNWICeofSgbTlmY1lR5sNSUyYC0qezBz4rJYEWxUajOdmjqbTQY5NRDhnjju7vf7tbuNCyKIhzu8+f3rtrvv5/Pa5/v4+52gX9M2I3VdIQdI0zSSBYj+34fyswYdQnDEItgr3sXelysAsK7gVkVit5Qyf47u7lykhGkIWRdK0z+xNQ2t+zKec9/jPVV3SVYpjN3FQd8P/MDuZ5mpRnHYkF+bYLh3+cSghsjiuXAY565MRbPan4yrpM4PvFZMoyFv5yLDQ6uvK64vuQ/p2H5fu0VipmhfybyI+KSjsa9cBEkOC6APYa9ehvLrZytEZxGrItJWVZiWVYQNzgdxHarF9dHTtaKzmPWRWS9sMy7ZElZA92/f4NiZ/fWNA9R6Hdi2P0B04R7kyTPGVm1No3tTCoYlbxE5d+mwMUZdQa3HSndJLKaNp9BNnT02INDT8A69e9diKPgcw/y8IeOMGOg+14j61x/gceL6Yg36R15CsiSPGejr6D5UjdpyZFjkiIGOPevwnvwUVC/a1XZEnAV0UeMC0tuOZvUi35lDzOoD/xlrxMC+3sEaYtXegf3tdJB0mNY0IEXHhRFQ07BuneM/EExrfkAyxo5/Dg5VQaWzFRQFyXITImLgkCvX/gSvBylmEsJgGoBwNVcTOT8PEWUO7Sp21r+Je18p+swyjEtfCyRTOlqwbZ6OiJ+GecPJ/4UMpRz/HFQVrNsfRG39mZiN5wN7o70qD+/xPUSX/UJEyoIxL6bxAwHl8u/YtqQizUjHvLYB9+lvce54GH1GKcbc18eM829Foz3qhlrFzvo3cO8rw5BfRW/9iyBkzJvOD5qXo9UGDejbH63lC1HbjvsNxpIm9LPSAh7frUS9dHaQT5e6CP0di0O3ivtH9rQcxVG+AN3CfEwFHw9I6mk7geboGASR41OGPdODV0Ggb/j1izdgXLJ1tKMZ+o067IFK10Vs65MH7YnjKWVQh1hpv4DjkxXoZmdjzCgZjyvQN6jAoIj+FeTGAfouBUKOQOijAzdqOXE66tVW5Cm3haJ4/pgjrqDzyzI8x2owFn2HY9s8okt/ouer50EXibmk8foD8bqxvZ+LeuEAmg1EwiTQW4gpaUYyJ4UB0EfwIavyUE7sR9w8i5jnmpFiJocMN6ohDii8bpxNFRjuecp/EQ11G/EcDDUkaBfWiYYGKthVTJF8f+F7puVVE20YNp/rxxpcuwtrhK2I25U4y+nYV6+ATh82SFvl4yin6p7xv8DsXEldZPbLjxpzNoUF0H22AeeOjDaLgVQ/sKOYqbLgkP6x8luMWev8D9XXq/We2I/zwydcuMiKr6Q58BLdj4QPROKUTN1deQjzlIk1uqx4zxxEaT12RpUpSKzgiA8w6G+G9tXMlbykC4nEiRQKFbuQOBybRJPYjLcv9986trmXxtT73AAAAABJRU5ErkJggg=="},"06c5":function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var a=i("6b75");function s(t,e){if(t){if("string"===typeof t)return Object(a["a"])(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Object(a["a"])(t,e):void 0}}},"092b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAEu0lEQVRYR+2YWUirRxTHz8SFqEiRa0XFtV5FTEVREFFcUPoqQt1iBReCCbghLhQfXEFf9MHdGJeXQjUIvlQTVBRxuX1oUawbRkEUFbc0EvcYv3KmJER7rTH5vFroQOBLZr45v/zPzJlzhoBBk0ql1kql8ntCyHcMw7gSQiwM+1/5+YgQMsfhcAYEAoFSZ4voHiQSSej9/f2Am5vbRy8vL7C3twcOh/PKTH9PzzAMXF5ewt7eHmxtbam0Wq1IJBINYh8F7Ozs/Nba2no2Pj7+K09Pzy8C9ZQRpVIJcrmcUavVP4hEop8JwzBELBbPx8TEhPv7+78pnM746ekpDA8P/0kI+UgkEkm4vb39p9TU1HcBp4OYmpoChUKRj+rl8Xi8tsjIyHcFqFAoYGpq6icE/DE4OLghLCzsXQHu7OzgWhz5H9BUt7yagvf396zEz1cBnJ6ehrOzM0hISDBVOP17rANqtVpIS0uDi4sLGBoaAltbW7MgWQeUSqWwvr4OXC4X7OzsIC8v7/0Anp+fQ1VVFSQnJ9PzdGVlBQQCAbi6upoMyaqCra2tEBsbC+jmzc1NiIqKgvb2dqitrX17wIODAxCLxVBdXQ2Li4sUMCkpCbq7uyE0NJR+TGmsKYgq6dxpCHh9fQ0VFRXQ2NhoUthhBXB1dRUmJiagsLCQimQIiN/lcjkgaGJi4otFZAWwtLSUbg5Mbj8HiIkojkGVcWe/pJkNODk5CYeHh8Dn8/V2HyuIHajy+Pg4FBUVvYQPzAK8u7uDkpISaGpqAktLS73hpaUlWFhYgMzMzAcw9fX1kJGRAR4eHkZDmgU4MDAATk5OEBcX98Ag7uDZ2VnIysp68PvR0RFgKKqrq3t9QLVaDTU1NXR3Pm5PAeK43t5eCAwMBGPzTpMVbGlpgfj4eODxeA/4NBoN9PT0wNraGlRWVoKjo+OD/tvbWygvL6fLwsLi+WrWJMD9/X2QSCR05xq2+fl5QLenpKQAVoVtbW0QEBAA6enpYGVlpR+KIUmlUtFA/lwzCRBPC6FQCC4uLnT+3d1dLFnB19eXbgJDGB00wkRHR+t5ysrKqMK60PQU6IsBl5eXsYiBgoICWmT39/fD8fEx5Ofn/8OdOqPo9sHBQZo85Obmgre3N814ZDIZFBcX/6uILwLUBVxUcG5ujhrIycmBoKCg5zxF+09OTujSwGCdnZ1NlwDGT7zBYEVBDMoYPjBbxvIUjy5TrkXQC6g8bjAsKxsaGswHRDdhnodXEpgxOzs7G6Xa40G4c1FB9MbIyAj1RHNzM0RERHx2PqNdjEUQrrWbmxuazl9dXQGeJGy0Dx8+gI+Pj3mAbICYMofRCpoyORvv/CcAZTLZL3j1IfDz85NgTfGeGh6ZMzMzPaS7u9uPy+Wu8/l8Ypg6vTXs6OgonlTp9Ia1q6trMCgoKCU8PPytuaj97e1tGBsb23RwcOBRwL6+vq81Gs1scHCwX0hIyIMk9EsTb2xs4KGg1mg0cSKR6Df9JbpYLMb8qMPGxibJ3d2d4GFuTFrExh/A4I0xFot+lUr1KyEkVygU/oFz6wF1hjo6Or6xsLDAVNmNEMJlA+C5ORiGuWMY5hAAPgmFwt8JIYzunb8AFAb8PO1U3TwAAAAASUVORK5CYII="},"096e":function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));const a=[];for(let n=0;n<256;n++)a[n]=(n<16?"0":"")+n.toString(16);const s={DEG2RAD:Math.PI/180,RAD2DEG:180/Math.PI,generateUUID:function(){const t=4294967295*Math.random()|0,e=4294967295*Math.random()|0,i=4294967295*Math.random()|0,s=4294967295*Math.random()|0,n=a[255&t]+a[t>>8&255]+a[t>>16&255]+a[t>>24&255]+"-"+a[255&e]+a[e>>8&255]+"-"+a[e>>16&15|64]+a[e>>24&255]+"-"+a[63&i|128]+a[i>>8&255]+"-"+a[i>>16&255]+a[i>>24&255]+a[255&s]+a[s>>8&255]+a[s>>16&255]+a[s>>24&255];return n.toUpperCase()},clamp:function(t,e,i){return Math.max(e,Math.min(i,t))},euclideanModulo:function(t,e){return(t%e+e)%e},mapLinear:function(t,e,i,a,s){return a+(t-e)*(s-a)/(i-e)},lerp:function(t,e,i){return(1-i)*t+i*e},smoothstep:function(t,e,i){return t<=e?0:t>=i?1:(t=(t-e)/(i-e),t*t*(3-2*t))},smootherstep:function(t,e,i){return t<=e?0:t>=i?1:(t=(t-e)/(i-e),t*t*t*(t*(6*t-15)+10))},randInt:function(t,e){return t+Math.floor(Math.random()*(e-t+1))},randFloat:function(t,e){return t+Math.random()*(e-t)},randFloatSpread:function(t){return t*(.5-Math.random())},degToRad:function(t){return t*s.DEG2RAD},radToDeg:function(t){return t*s.RAD2DEG},isPowerOfTwo:function(t){return 0===(t&t-1)&&0!==t},ceilPowerOfTwo:function(t){return Math.pow(2,Math.ceil(Math.log(t)/Math.LN2))},floorPowerOfTwo:function(t){return Math.pow(2,Math.floor(Math.log(t)/Math.LN2))},setQuaternionFromProperEuler:function(t,e,i,a,s){const n=Math.cos,r=Math.sin,o=n(i/2),l=r(i/2),c=n((e+a)/2),u=r((e+a)/2),h=n((e-a)/2),d=r((e-a)/2),p=n((a-e)/2),m=r((a-e)/2);switch(s){case"XYX":t.set(o*u,l*h,l*d,o*c);break;case"YZY":t.set(l*d,o*u,l*h,o*c);break;case"ZXZ":t.set(l*h,l*d,o*u,o*c);break;case"XZX":t.set(o*u,l*m,l*p,o*c);break;case"YXY":t.set(l*p,o*u,l*m,o*c);break;case"ZYZ":t.set(l*m,l*p,o*u,o*c);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+s)}}}},"0fea":function(t,e,i){"use strict";var a=i("1f92"),s=i.n(a);s.a},"16d0":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAA/1JREFUWAnNmGtIVEEUx/9zXbU0LRMsi4oiwR4WVFCRUVSGPbC0IKI+FH0JKh/1oSAIMimowBJ6UIEIfagkNfsgFtGDCiGj0jJ7k2WhVvggTTe9/Wevy17ade/eu7rsgdG5Z+7M+e3MOWfOroAHST+hxvWGY7yiQvEwPCQqJQQ/SnaLz/8vLvSK9fnq5j5gvxCYrdcHsN+gqjjfPgr597aLP9KuBqiqIu00LvJhRwBhvJmqCvuD1OIDos1xhOsKuGvBAyfBF9jDUSQ7Ys1ZNcbWg8/sR0lFUInAIoVwKwkVfHCEoj9mKPTCCUG1azoYut0U6YM2nS64ugJhPue5kBAgZQ4QMTywn8EnQAmXtQrYtRjIzQgspCGghMsm3LSx2s7FRgJHNgQO0hAwfT6QSLgD1zXAk7eBHjuQKWM/AGIYILdfApUvgI7fGk1nN3CoBIiJDgAdTRgCtrW7g9i5g80/3fVDoTE84qEwamZNwx30tFjiJCCOd8/rb0DLL9cbCUz58SOB+u+Dt8OWdrCjiylnKZCT4iyHgEhG9+G1wEbmytYOF7S/PUuAjc3AxUfAdEb34iQNYVsyEMqUdLySUd7jwlrCcdmsiqUjlsbuPAMWTgZ2Eox3JlISgQuPga9NVlE8z7MMqHK908yJZ7bwqJcBNfTHimrNSChXTSK8lIQx2v8OR30MPP8A9LFs91UsA0oDXTTaxhYVDjQxHbE8cgi/X2BqP1jcCE3nfK75SEBN5dNfvwC38m4ex4R95612xFWfgKfsdzOZX3uo2Xf63/1an3jcXrIUJHKVmTzCNDp/CW+ZMwyMdz94Z/Ooo6PcbPilsAQoU8reFdqxXmNgSJ/Kpz9GhLLqkalHRk2/PHkPyGZVTAMqnJG9EhgdAZx7oBUO0vg3pp7SGmAuk/U6FhhO6WTOlM2qmPZBGwGLuGuFzIMSSi9XqbtX7z1Kk2fQTxnJMsB8EdM72PNXy3X/w0ljdudYy8CmUwmYy3py+LCB39GPmAbUT7bSz7uh7bCvkIZHLNPEpnkulIOr6Xe9rmcrvXBajaUP56QCR8u8r2AIWNcIXOr3l0OEK2c++6qrYLwv73lUHnPMRBbCdZ7H9VpDQFlO6Uuq2i/AJ15rVmUpf5aSkX6UuVMmdSMx5YPVDUwZukrFaHFP4zK5H7sFVL/xNOquM9xB/ZS8Uv2Ttf7ey+bmmdpBc0sPztuK2gc/D21wQAZYpUvhj7w+xNIA04dYLfrwSrEL3KUdfs0JOuntteGKUpEpullnZhGvv9wMDlAWROdu7hH1jiApzxbFqkAO0fy8IwbtwxWGtmKfXE1XubEAPaXOokIOLGeLZwtklLPkRbVQUVCWIyrYd8g/iwYAmJpgrqQAAAAASUVORK5CYII="},1928:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAFS0lEQVRYR8WZWUibWRTHz9cmKKY4UREXxIpKg8El7g+Tahjqy+gU5sF9FEQlsYobKr5Ygogj2s2lLoljW3xxx4cO0QdFJtFxptRqKV3cyrg8pG44aKtRv284l8lMrNrkS6I9EPgg57vnl3PPvfd/bigwsLa2Ni5FUXEMw3wHAC6G313A8zbDMJM6na43Pz//b308Sv+gVCoDaZrucXNzE3h5eQGPx7sApv9D7O/vw+rqKrx//36dYZhsqVQ6iN8SwObmZgGXy/1DIpF84+vre6FgnwdbW1uD4eFhZnd3N1kmk3UTQIVCoRGLxd/6+fl9VTh98PX1dRgcHNzgcDi+VEtLSzCfz59KTEwEivpvxr866OjoKMzNzeVQbW1tuUKhsEksFlsFSqfTwbt37+DDhw9w6dIlcHV1BYFAQJ7Z2OzsLIyNjXUiYLlIJPo5IiKCzfsnfBHqyZMnsLi4SIBcXFzg8PAQtFotZgKCgoIgMzOTAJtiS0tLMDQ09KvFgJix+/fvw/LyMkilUggICDgRn6ZpmJycxFqHmJgYSE1NNcpoFcCDgwMoKioCzH5aWprRGsaM3r17l0x3aWnpFyGtAlhbWwvOzs6QkZFhNCOGDnK5HIRCISQkJJz5nsWAr169AqVSCQ8ePDCauc8pMPNYj1gaTk5Op0JaDFhQUAD5+fng4+PDKnt6Z9xGXr58CYWFhdYH3NnZgZycHOjs7DQLDl/CxYV1293dbX3AiYkJsiqLi4vNBsQXcQbKy8vB3d39xDgWTfHAwADs7e1BSkrKsYFxqzkrq3l5eWBvb3/Mv6qqCuLi4kAkElkf8OjoCOLj448NvLCwAPX19WBnZweoTvCjN4RxdHQ85o+7AO6LwcHB1gVUq9UwMzMDmBVLrKSkhCwSDw8P6wJub2+TgR89emQ2H27auA/29fWdek5bVINIhdkrKysDT09PsyBxFsbHx8kiOc0sBpyamoKenh6oqalhDYhnc1ZWFlRXV58pHiwGRKqKigqIjIwkK5GN1dXVAZ/Ph+zs7PM76nBk3GowE1hLN2/eNMqImWttbYWVlRXAVf0ljWiVDKLWQyWOJ8uNGzfg1q1bZ9Yknt2NjY3g7+8Pubm5RgWsxYDT09Nw7949eP36NcnclStXiEJBWBSnhoIVfXExoV709vY2mml0sAgQF0hDQwM5qvDQ7+rqgtu3b5Np3tragjdv3gB2Z2hubm4QGBgItra2JoHpncwGxF4DtxgERPmOJ0pSUhL09vayAjDmbBYgKhCcJqy18PBwEmNkZARevHgBeCpY08wCrKysJPpP31MgMKrppqYmcHBwsCYf+xrs7++H58+fk81Vb48fPwYul2tSE8SWnlUGUfneuXOHdGX6Yt/Y2ABU1QjJ4XDYxjfqbzLgx48fyTRiN2aoOnC6JRIJREVFGQ1mjoPJgLjBouLATkxvb9++hYcPH5KN97zMZMBPnz5Beno63oCRFpNhGNKPYF9rbsNkyo8yGRAHe/bsGanB2NhYcoOAd4dndWOmBDfFBwFVKtVTSqFQZF+7dk0RHR39xfc2NzdBo9EQFXL9+nXWvbApUIY+eBppNJpfqPb2dl8bG5u55ORkuHz5Mttxzs1fpVKh6vmJXAi2trYOhIaG/hgWFnZuAdkM/G/9/bW/vy8ggB0dHc4HBwd/hoSEeIWEhBiVQmyCsfWdn58HtVq9q9PpvpfJZL8ZXqK70DSt5PF4P1y9epUshIu8cUXxi0J2c3NzGgAypVLpFP64E3e+SqXSj6Zp/BvCnaKoCytKhmHWaJqe1Gq1v8vlclqf+X8AQ3ocEMh+0esAAAAASUVORK5CYII="},"1f92":function(t,e,i){},2330:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAEzklEQVRYR72YW0icRxTH/7OrKxqDEkW0xggGEfVBNC67rlhX01Ibn4IvXpqXQBC8JKZiaxVvVTRWmmDSJF7QWIsKPoht44M+iIi3BSOoKAoWFIqQGAXFgvcpZ+im1iZ+387u5rwtO+ec3zfnMmeG4YyYzWaX/f39GACfAHA9+78zfjPGOIA3u7u7r+bm5v467YNZfxDY3t7etxqNpoBz7usMEBU29wD8DKBkcnJyi9YLwIiICJ2Xl9dvAL5QYeRjLPnj5OTEbLFY/hSAJpPpR8751x/Ds1ofjLGxiYmJT5ler/d3cXFZA6BTq/wR16Uwk8n0Fef8F0c5ZYwhICAAPj4+ODk5wevXr/H27VtZ8z8xo9H4DWOsXtaCVe/y5cvIyMhAdHQ01tfXsbGxAYL19/eHr68vxsbG0Nvbi60tkftq5VcWFxdXDKBOrcbZdQRx69YtJCYmoqOjA+Pj42LnToubmxuuX7+O9PR0dHV1YXBwUK27AbsANRoNysvLsbm5iWfPnuH4+Phcxx4eHqioqMDy8jLa29vVQNoHmJOTA845nj9/rsaZWEMfVVlZCYvFgoGBASU9ecCQkBAUFhYiPz//fyFV8uru7o6Wlhbcu3dPKSflAWtra0U+LSwsKPG89/8bN27gypUraGpqOk9fDpB24PHjx7hz544UHCmRDcpDqvxzRA4wJiZGVO2jR4+kAUmRPrKqqkoU2QdEDjAlJQWXLl1Cd3e3XYAlJSXo6+vD0tKSYwFv3rwpmjAZt0fu37+P4eFhzM7OOhYwISEB4eHhohLtESq05uZmrK3RKPBekQuxn58fysrKRIuRFeqHlCKZmZnntSk5QIKiL6dThIYBGYmNjQXlck1NjeOrmCzGx8eDQv3gwQOb+Sh/nz59iocPH2JlZcU5gGS1vr5eHFejo6M2Qd6+fRsXL15EY2Ojkp58iMmyp6en6GVtbW1iilEj1JgNBgOKiopweHiopGIfoLe3tzjuvLy80N/fjxcvXnyw6QYFBSEvL0+cvRRaFXAELw949epV3L17F3q9XuzCwcGBGKN2d3cxPT0tiocqNTAwUOwYTT200zMzM0q7dvp/OcCwsDCUlpais7MTZrMZycnJePLkCXp6ekCTdVRUlDhpCIom6/n5eTFlS4jtgBRWgqE+uLq6CldXVxFmmpbPTtISQGdVbAOkkFH+UL6NjIwIY0ajEUlJSairk741OK7N5ObmiuS2HnFarVY0bAq3bMNW2GX1O0h5lpqaKtqDNZRpaWmgkFPyO0nUAdJ4T3Mb7eDOzo5goR5Ip0F2djb29uhJxSmiDKjT6dDa2orq6ur/HEsFBQVYXFzE0NCQU8j+MaoMGBkZCZr/Th/qwcHBKC4uhvVW50RCZcALFy6IoqBQUhMmaWhoEJd02QuTDR+kDEjG6FUgKytLPF2EhoaCoGWmGBvArEsFYAEAxdsPXRGp321vb+Ply5c4OjqS8GezSi8zGAyfazQap2a6zVj/KpSwa9euuep0OrpWhdhhyBmqB5zzMPHCajQav2SM/Q5A6wxPkjYrJicnv3/3iG4ymdI55/Tk5C5p0FFqnHP+w9TU1HcA+DtAsq7X64O0Wm0uY+wzAIEA3BzlVcEOVdwbzvkE57zZYrG8sq7/G4As9QnAx8XPAAAAAElFTkSuQmCC"},"25d2":function(t,e,i){"use strict";var a=i("3226"),s=i.n(a);s.a},2909:function(t,e,i){"use strict";var a=i("6b75");function s(t){if(Array.isArray(t))return Object(a["a"])(t)}function n(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}var r=i("06c5");function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(t){return s(t)||n(t)||Object(r["a"])(t)||o()}i.d(e,"a",(function(){return l}))},"2c00":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAEUElEQVRYR+3Zf0wbZRgH8O97d712R0vL3MABbjMIJhjGnGYmk02LMMzGVBxjfyzGhYAtytT9IqKIYWxZVIjJGIywkIwoy4zERQeaqrgtQYQ/ZHMytplhdM4Qitn6A0p77d2ZHhaBlQZWWjBZ/7rmvfeez/vce+/z9kow5WM24lEaSCcES6e2hfS7BDtFo0trxjnyGQRfLOI7+NuIOApopJbEZjGr8kAiY0PquePiThs8fa0QblzsE2nkL6lFt/ccGTiUj1hGiS52y+EHuKx9AMWEFzchmuvnL+BoesEJFzIX16FDBt4qwpfKTRVbuOzyeYNNDMxfaYejJuNP3SiSiN2AZCFKd1lbOQgw7IIAehH2uucg9J7ZSSxGGOh1BfXql44vGJwX4uxohPNkQSO5ZcRbyo1vH+ZyDi0oIN/7NUaObmoLP1D0zOghnBcg3/cNHA1ZUOXUQfVUUcA7FnYgf9kER/2zgHtscVPlHYVK/9q0yLAC5czVZYHNeg98WwUY/evwnD8C1bYaqPTFfpFhBTrP1kIUeHAZu2ExEkTs74BoG4LQ3wku94P5B04U+ICKhCcX1hz0ae4Bp94Xh+lD8KdLwOh3Qb39yH/NogfW8nhIlkFE7OuGYuVauS3kGRRu3wQdFT8BIsBWvQHiH53QlF0DfX+S3OZ9MJyfFoN9sQrcxr3j54ccaD2QDG1536RECubrsFcmglq5AZF7zkGwDsBeEQcq5jFElnQDFD2/QG90h6kK/On9UL3cBM8vZ+C51AJ1aS+YuEcmDSYkGeQvtcEzMJY19/dlUKQflI+ZZclgV20eA4gCbO+vhTjQA/AAm10JLrvsjqUkNMBrZyGa++Vgrra9UG6ulo+p6ASwD+vHEZ6/ejF8KAUkJhHad3r97i9DApyYBn9zcNJCvJuASdkBdf4nfhfie0Bp1A6ySDNtmbIUEzCp26EuPDU/GQxUQCXXCGylatBJOVAbPw8v0N3/AxzH0qAu/R30fSsCOQO2hWQOuq93YKRmPRRpexCRWwWQ8d/7s4bOOdCHI5HLocwsCwonl8DmQrCZJaCiE0EioqBcs9XvIGe8YXW0HgTf+i6wCCDqZbPO2NQO0tAAiC4CUESCil4Nza6vggN6K8RwswHChUZwb/wExYo1QSHn/BbLGkkaQ/Ych6ZiEJQm+q6RoQH+i3T1tECZ+nxQr0j4q+1glj8OitMGHOSM5+BdpyrIjv8foMWIIjrNUKfeUR/kmOe2u7OzCc6Pd54g5lexmo2KuaA9cHNG70zmljH91YYbtkG42FIol4TbBnzH5n70DJfxZrjiB4zj/u1HjFSvG9QBD8lASwEelJToVuUdW6pabwi6WgQzSv7X8xhteNpDRpCtrYdpvKhaXkGCSNBMxac8oUjdCkoXF0ycWfcVR63wXDFBvPrtDUIjX1eLdu9FJlV9CSBWI7x7+HQxzH9DEAl2UULXYhdayQk4fSP8B6SuiH0n8o2HAAAAAElFTkSuQmCC"},"2cca":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAADnUlEQVRYR+2ZaWxMURSAv9vpdFrasdRO0lhDIgghYolSxJqhtYwtiMQW2nQkdkItJWIZu0T40ya0ljYUsUXjh+UHsZWkQYmUSKq2btPpXHnzjLZKZ6bevJK4P+ee5XvnnnvuyRnBz2uDDLKE01UYaS1diBr7AfpBVFD4MZInN+aK0qoufgBMTpOGsnxsAmxAqwBxeDP7FTgWEsb69AXikyLsBpx/RBrfl3BGwjhvFnTZFzwzCEaciRdv3IATdsutUrBKF+c+OhGC7IwEES0m7peRLidvgFAfdfUTk4wQFrucjiRVP69+edorJtjlcinZ7peafsIZwrJHrgSS9fPphydBlq6Ajc2weBik3oFXb30A1ROwcSPYFgutzFDkgDWZkJfvBVIvwCaNIDkOXn+AflHwMB86NVMhX9YGqRfg7KHQMgJ2ZcGpJWA7Bf07QufmsPF0LVHUC7AqQkYCJKZ7iZxH4T/gL05P9whGNITB3aCoDLIfVRKZQiCmB5S74Op9kFLd0x1Qcbp0NMR0gdWZkJOngkwdBNP6wN4bcP1BJXi9ACrRss8AISA+BZSCvN8Kd1/BjnPVz7leABWE9m1g5yS49BTaN4UWZliaAsUlOgAqTaPJ9Ot6VeaozK+4ATCrLyjpphRhz3EHvMwYjbDiN732getQ6G7OYVhPiI8Gpwts6fD6Xc2PqrcjbhEJ+6zqMxbVFBwVYEsFR7kOR+yt7zAYYJsV2phhUQq0i4StFjj/BI5e/QsArYPB2ht2XoObj1WghSNhVDdIugD3cuuxzHTvAJvGQ85bWJumXhBlhYXC4dkQHATxJ6CgMMCFOrwBzIuGY9nwpagyIhHhEGxQy4lyo6uuhg0gxAglpVBaFkBABWJzLHwqgaSz4HR6y8rf72t+i5W3dkuc6jD5IpT+FCV/UY/PgU0X4MV7qHDB5y+1WPCl3Zo5BCb18hfDN/nnBbAs5Q8BlWRPigVzKGzOgq/VRju+gVSV0jyCnhu5MVZtBtak1Sy+/mBqnoMe56EmmD4QTt6GomJ/kKrLThkElx/Bx+/PY62WfMnBuqNooPmvACYCuzT4Xs1NSEmasOyWwxFc0dy6BgYFrBPu6WoxuVIQpYFNLU2UO0Po6p6wWuxyDJLznpGwll7qbEuyPTNRrPwxRLfY5Vwkh5Tuvs5GNVKUErupLcvSp4iKan8zjD0oOwQ7SABivk/6gzTy6YuZAgR3glwcOJsobnkUvgEmtZ64C0w1wQAAAABJRU5ErkJggg=="},"2f21":function(t,e,i){"use strict";var a=i("79e5");t.exports=function(t,e){return!!t&&a((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},"2fd7":function(t,e,i){"use strict";var a=i("827c"),s=i.n(a);s.a},3226:function(t,e,i){},3846:function(t,e,i){i("9e1e")&&"g"!=/./g.flags&&i("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:i("0bfb")})},"386b":function(t,e,i){var a=i("5ca1"),s=i("79e5"),n=i("be13"),r=/"/g,o=function(t,e,i,a){var s=String(n(t)),o="<"+e;return""!==i&&(o+=" "+i+'="'+String(a).replace(r,""")+'"'),o+">"+s+"</"+e+">"};t.exports=function(t,e){var i={};i[t]=e(o),a(a.P+a.F*s((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",i)}},"38c2":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAADxklEQVRYR+XZbWhbVRjA8f9zkyZNurbpiwZ1dqijUwdbbVEcItOOFUTraJ0fRHzf1lZFsA7X6gcLFcvc1lZlbx9mYR+mMKazuDLfB4puWjtBF6SCTKdV6dquSXpXbpMcyVWzdTXNXfPSoPkUuOc8zy/nOfecc2+E8z6qDe3MH9wFrFSKhQJy/vV0fldwWoRjHuGA7CD4T64YwL+Ba8Ma+4Ab0glJFFvBbzbFusLd9EXbmsDxx1gcyeEoUJIoQIauhxHqi3bSawLHGvkEuC1Dya2lEYY9dhbLcBNVdkW/tV6ZbSWwQUYbeFyE7ZlNbTGbsFdGG2kR6LDYJaPNlOLQfwjohLynB9D3rEENn5rbSArkt/3A2XeeIzSwP2GMixtBF3g6FePtS1FDvoTB4zVwrGrGXb+ZYM+DhPrfmDWOJaC2pBrt0nIkJ5e8e7vQD71IZPzXOQOjHZ0rHiJn0Y0Eex6YFWkJ6Fz7Co5ltaBp2EoWER77BUJTSQHF6UYr8GJ824e+4864sSwBY71TVGJZAO6nvoFIBP21StRE/N+aeaBAXstxUBH0V6tQ+uyFSAooxSWgOVHjQ3BBxaWoGGy5qOAQTE5H2G9tJNS/C84mniVJAR2rW3DXd6C/vw3j7Y2xbFJ6GYUvnCQ88hOBzeWWIPGoSQHRIK/5M+xlVfjby2Nro2v9fpwVdfi33EzkZHJbfHLA6FnNezUFz59g6sfP0btXYVt6B/lP9qF/2IVxoDlxDRO0SBoYje+oacVd9xLBfU24ajaZN0Cg/ZoZ83Iu2pQAzVI/O0BOWYVp8HdXExk8EvPYVzyC5r1uhi88+DFh3+HkdxIr66BWVklB69dMfvUmk6/fNy2ptnAZLPDOgKiR7xPu6akZwWjqvxdx/b2XMQ5umks1/7XP/wcoHg+FHWPoH3RivPVM9o2glF6O6/69hL47jPHR1uwDpkx0QaDUzcE0CS0BzUNBeBJlTJw7UY/4kKJy1O+DaaL9FdYS0HFPJ87KtUzsvpuC1uP4t96Cq24LKmygd90+/0Ds4F7/LvarbkLLv4TwyM9gTBDsrkD5jSwARglR5LpeHMtrCQ/5CHYvRwVCacVZLvG5TRUcKzcy9eU2VEClHXfxwIyQpiexdJPMgyuW0gSeaaRBwa75hMTNLeyRQAPXh4QTWQp82HyBOdpEryhqswopnPLkssQEnm7kCpvwBYorswGpog+rQk3xTj6NvUQ3kdADrJ5PpAJfxMajpds5FnXM+Jth+AkqtRDVolGaSahECIrG0UIvR6SN2C7wJ1E2B5ffR7qlAAAAAElFTkSuQmCC"},"420d":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAEd0lEQVRYR92Yeyj0aRTHv795m0Fuo6yVS9rEiuQyyv7GP/6hjchK7f5DFLWk6H3lktzJ9cXmFmpd2+IttSISW4z1y3+0SfmDIvuW9y9Rbs0823lq7OyY14yd34xtT8mP5zznfOac85zzzE+AiYii+C2AEgDfAPjCdM3Bz3pBEP5kjP0G4L0kSX8Y/Qn0EBkZqVKr1aOMsXwHg9hiXg/gnSRJP5EyBxRFcQBAqS27naTDAHwvSdIHISkp6WuDwXAA4I2TnNvq5qNarf5K0Gq1jYyxBlt3OVNPoVCkC6IofgCQ40zHtvpijL0jwCUA6bZucrJex/8TUKlUoqioCJ6ennYF9PDwEIuLi8/ZeHkEFQoFmpqaoNPpsLa2ZhOgq6sr6EMZJSoqChkZGXh4eEBjY6N8gARXV1eH3d1drK6u2gRnrhQSEoLS0lJup7q6Wj5AQRBQU1OD/f19LC8v/ys4Pz8/VFVVobm5GZeXlxxOlggSXGVlJQ4ODrC0RIfeslAaXVxccH19/UTBy8sLDQ0N6OzsxMXFBV+XDbC8vBzHx8fWChq5ubnw9fVFX1/fPwCpBltaWjA8PIyTk5PHNVkAqV40Gg02NjaeTStFOT8/HyqVChMTE7i/v3/Uj46OxvT0NM+AqcgCODAwgKGhIas1V1ZWhvPzc+j1ekRERKC9vf1xT2FhISoqKp7YkAWwp6fHonFTbzExMcjKyoIkSfDw8EBQUBD29vawtbXF1T5nwymA1HoowvX19YiLi+OA1B/7+/tRUlLCU/2qgNnZ2XB3d8fMzAxSU1M54MLCAjIzM+Hj44OpqanXA/T29ubOKVI0FUwBKbKDg4O8tVDve5UaJKc7Ozv8h8QUkP421ibNbKcDhoWFgU4nRcco5oD0f4qg0wGp59EhoPSenZ1xvvj4eBQXF/Pn2dlZbG5u8mcab729vcjLy4PBYJC/D1o6gRSp0NBQjIyM8JZCNUjjbXR0FHd3dygoKODrNDmOjo6wvb2Nrq6uJ5PIIW3Gzc0N1LwptTk5OfSVlbcZAjEVU3B/f39+0mkq3dzcyDvqzCNIaQwPD+ftZH5+Huvr62CMviVaFkp9d3c3Tk9PedonJye5Ynp6OgIDAzE2NvbclLJ+YTUFDA4O5vVFaVxZWeG/qR4J1pIY12JjY0GRpzFIUU9MTERCQgK/2ZjXpZmdlwEGBASAet/nIkZ1aMkhXUxra2u5b4ITRRFtbW3W4Ej9ZYDP5eK5NWMWtFotUlJS+NXLSuSM5pwHODc3h7S0NLS2tvJU2yjWAamHUbO1R+h+SHdBgqOR+AKxDkinlq7r9sjV1RXGx8dfCmdbDdoDJsNeHsEFAN/JYMwRJmro7dZ7xthbR1i31yZj7AeKoBbA7/Yac8B++u4awt+warXaXxljmQ5wYo/JGkmSOjigRqPxViqVq4Ig0Mvz/4L8LElSIQDGAUmSk5Ndb29v3yoUih8ZY8GvRElv9zskSfrF6P8R0ASI6jKAMfYlY39/AAcDP6hUqo86ne6TuZ+/AFoEPGMa7KL9AAAAAElFTkSuQmCC"},4551:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAEwElEQVRYR82YWyi1aRTH/+922EjZEmpyMYRNX07twrZTfJfTTEgunG4cyqGcIpLThYxyZpxPRQ4zg+bC4IYLie2TaRDJFA0JDTlEXPC+03pq77ZvfN69X4f51tXbftaz1m+v51nPWs/DwUBUKpWFpaXl9wA+AnA2HHvrb47jLgVB0PI8/+vy8vKVzh+n+wgKCvKVyWS/AFC+Ncxz9jmOOxUEIXVpaek30mOAGo1GyfP8MgC7/xPOwLcgCEKsVqv9mQGq1eoF4vxK4HQYZ3K53J1Tq9UBAP74yuAYjiAI6QSYCeCn1wK0tLSEh4cHnJycwPM8Tk5OsLOzw74lyCABFgH4UcLkR1M8PT2RkJAAV1dXBkRg5ubmcHZ2hru7OzY2NtDf389+N0F+fzGghYUFsrOz4eLigu7ubmxubv7Hv0wmQ2BgIJKTkzE3N4eRkRFjGV8GSHA1NTVYWVnB8PAw7ZlnHVNEc3Jy8PDwgIaGBmMgXwaYl5eH09NTDAwMGONMr1NSUoLt7W2MjY2JzZMO+OHDByQlJSE/P180cp9TUOQ7OztRUFCAs7Oz5yClA9bV1aG1tRW7u7tiUXhyPCwsDD4+PmhpaXl9QFtbWzQ3N7MIShWKImU1Zf4zIi2CarWaZWVTU5NUPjaPVqG2thZHR0dfsiMNMCIiAtbW1hgdHX1kmI6a+Pj4J521t7fj6krfpDCdoqIiTE9PY21t7XUBIyMjQWfbxMTEI8Nubm7IzMzE7e0t5HI5qKropKKiAufn54/06RSYnZ19fUCNRgNfX19QVF4i1dXVLEkODw9fN4J2dnZs76Smpkrmo0N7aGgIsbGxz9VpaXuQqBobG9kmPzg4kARJq0DJRn/01bOYDAYEBCA6OhpUFUwV2r8dHR0oLS0Vax6kR5CgysvLWR2empoyiTE3NxeXl5fo6+sTm/cyQCsrK5Yo4+PjmJycFHPGMj8lJYV1PpTVRvSILwOkXm9wcBBUWaiN6urqwv7+/pOgVLvT09OxtbXFltcIOLIjHdDPzw9ZWVnw9vZmQNfX16xDIdj19fVHDSsdSZRMPT092NvbE420gYI0QEqQjIwM1iyEh4cjJiYGVVVVbJkVCgW8vLzg6OjI/BwfH7Nu+u7uzhQwna7pgHTXoGaTqgC172ZmZmyZ4+LipACIzTENkDqQtrY2todWV1eZcYqgv7+/sR2yGNDn46YBFhcXsz2ku1NQraXEoDb+4uLCVOfG6BsPGBUVxQ7nsrIyveHExETc39+bcgkyBspQxzhA6nzpcKXE0G12BwcHfT0myDcScUAbGxu2jIWFhY+6Dlru+fl5LCzQq8mbiTggHbC0vJWVlXoKpVKJtLQ0FtU3FnFA6px7e3vZoUxXTI7jWA9XX18v+cJkwp8SByRjKpWKRWtmZobV0ZubG7HbmAkMz6pOciEhIamCIHSJWbS3t0dISAi7V9C+E3tFELNn5Hgvvc24A/jLyAnvqiYIQoLuAZNuP1Hv6l3c2d8KhULJAENDQx3v7+8/AfhWfN67aNxwHPfd4uLivOEjurNMJusG8MO7IHzZyZ+CICRrtVr26qsH1OkHBwd7cxz3keO4b3ieN3svWJlM9g/P81qtVrsEQP8c+y+Z4fn0HxRNdgAAAABJRU5ErkJggg=="},4806:function(t,e,i){"use strict";var a=i("5c03"),s=i.n(a);s.a},"4ad6":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAED0lEQVRYR9WYbVBUVRjHf2cXEHBdUQFdZhBXzd6GBcFiJrOR1iKbPoQz0MDUFOU4jBGODSU01jQ1KdHkkM1kGGNl05tftMw+OH7gg81UA0vAaKiwiLA6tijKywrL7r3NLu3mJvtq91L305lznuf5/85zz3POvUdw02PqwIiLbWgwAwZAc/O4wu0hZFqR2duZz88+LeFrZLdRgYZ9AuYoDBJJ+MbOc9RQitsLmNvO4xL8APiBI4mipI0sU9+VR53IbyV+Sss5IEtJwRhiT8ku7hImC2YEJ2IIoLiLLPO6yG5ju9CwR3G1GAQEHBI5Fmplwe4Y/BV3kSWORQWoFeCWFefyC0QFmKsvZN+yozzRreOKM3bIo3dbqe4vos/hqcvQT8SAq/VmmpYd4yN7A59deiNc3JDjHbkypT1rODPWFjZORIAeuP3GH7E5L/DN1eawQcMZ1Bnq+WJoP4NTVq66/uD4lU+DukQEWLa4jlrDLmzOAayTZ8Pphx1fN89Mh6ONEfc1BpzneXdg8+0BerxfymikPHUzFdb1dI+1hoUIZfCvv2Kf2IsZe3gmtZKi35O5PhU7o2KAHqSceevpGmtBuo2tRlHAUHl7avGrbE2vZcR1LcAsUZNEzYUyOkZbvP2qAC5IgPSE/ICtwpPdAt1jjEjDXpA4EU9V+mvckMbZdDaN4b/2TlUA8/SPUqjfxPuDlUGTWml4jy3p23m6dy2nx37x2/0nAPP0Gziw/DgNl3by1eVdAZNQFLDB+D3JmmQWxqWxMG4RPRPdXvHdtjJsE3ZvOyUBDq+y0+mwsM1adEuGFQVM1E5/cq/Rl/CgbiONF5/3AkxKeCtbI6BpxUmy5iyn+EwG465bV4CigD65YGtwi6GeyvQaynoLgp61qgCumHsPpuQNHLbv9ado3YISPsz6ls/tH3NwaKu/X6c14nD3YZ+c7lIFcKbS/WTlSe7XrZ2xqg8ONfkrftYAjcl3EC/m4pRH/ZACDTrtEkbcg/Q7+mY3g5GezrOWwf81YGZSJk7pIpcn3f4isU20sTSxIOCU+eckI/pgjTQzoeyeM7xJRWo1z/bex3ereqjqL+XlJe/QfeMUdeeLg7qqBujZ3GszD7AxpZj52hQc0rj3pKmyPsSUFHxqqgH6EHZkNlO+6AV+Gm2huq8QVwg4j4/qgB7RB1Ke5NeRI2HhZg0wmjXtzaCpnVeAhmgc1bKVJY6I7HbKBXyplmhUOhIfiNUW0tyCfiApKmcVjIXgYe+Nao6Ft2XBThU0I5eQOdGZxyPTV76H0Oas5GtZUBJ5BAUtBV1aCXN7Hva/76RlNKbfqJRhh4ClCsqHCj2MRLMrkbdO38uYx3DGS3NTB3cKmQxJQqsWaBzY51/nVEshAT8KfwIDrixNJv+UOgAAAABJRU5ErkJggg=="},"4e72":function(t,e,i){"use strict";function a(t=0,e=0){this.x=t,this.y=e}i.d(e,"a",(function(){return a})),Object.defineProperties(a.prototype,{width:{get:function(){return this.x},set:function(t){this.x=t}},height:{get:function(){return this.y},set:function(t){this.y=t}}}),Object.assign(a.prototype,{isVector2:!0,set:function(t,e){return this.x=t,this.y=e,this},setScalar:function(t){return this.x=t,this.y=t,this},setX:function(t){return this.x=t,this},setY:function(t){return this.y=t,this},setComponent:function(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;default:throw new Error("index is out of range: "+t)}return this},getComponent:function(t){switch(t){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+t)}},clone:function(){return new this.constructor(this.x,this.y)},copy:function(t){return this.x=t.x,this.y=t.y,this},add:function(t,e){return void 0!==e?(console.warn("THREE.Vector2: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(t,e)):(this.x+=t.x,this.y+=t.y,this)},addScalar:function(t){return this.x+=t,this.y+=t,this},addVectors:function(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this},addScaledVector:function(t,e){return this.x+=t.x*e,this.y+=t.y*e,this},sub:function(t,e){return void 0!==e?(console.warn("THREE.Vector2: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(t,e)):(this.x-=t.x,this.y-=t.y,this)},subScalar:function(t){return this.x-=t,this.y-=t,this},subVectors:function(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this},multiply:function(t){return this.x*=t.x,this.y*=t.y,this},multiplyScalar:function(t){return this.x*=t,this.y*=t,this},divide:function(t){return this.x/=t.x,this.y/=t.y,this},divideScalar:function(t){return this.multiplyScalar(1/t)},applyMatrix3:function(t){const e=this.x,i=this.y,a=t.elements;return this.x=a[0]*e+a[3]*i+a[6],this.y=a[1]*e+a[4]*i+a[7],this},min:function(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this},max:function(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this},clamp:function(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this},clampScalar:function(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this},clampLength:function(t,e){const i=this.length();return this.divideScalar(i||1).multiplyScalar(Math.max(t,Math.min(e,i)))},floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},roundToZero:function(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this},negate:function(){return this.x=-this.x,this.y=-this.y,this},dot:function(t){return this.x*t.x+this.y*t.y},cross:function(t){return this.x*t.y-this.y*t.x},lengthSq:function(){return this.x*this.x+this.y*this.y},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},manhattanLength:function(){return Math.abs(this.x)+Math.abs(this.y)},normalize:function(){return this.divideScalar(this.length()||1)},angle:function(){const t=Math.atan2(-this.y,-this.x)+Math.PI;return t},distanceTo:function(t){return Math.sqrt(this.distanceToSquared(t))},distanceToSquared:function(t){const e=this.x-t.x,i=this.y-t.y;return e*e+i*i},manhattanDistanceTo:function(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)},setLength:function(t){return this.normalize().multiplyScalar(t)},lerp:function(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this},lerpVectors:function(t,e,i){return this.x=t.x+(e.x-t.x)*i,this.y=t.y+(e.y-t.y)*i,this},equals:function(t){return t.x===this.x&&t.y===this.y},fromArray:function(t,e){return void 0===e&&(e=0),this.x=t[e],this.y=t[e+1],this},toArray:function(t,e){return void 0===t&&(t=[]),void 0===e&&(e=0),t[e]=this.x,t[e+1]=this.y,t},fromBufferAttribute:function(t,e,i){return void 0!==i&&console.warn("THREE.Vector2: offset has been removed from .fromBufferAttribute()."),this.x=t.getX(e),this.y=t.getY(e),this},rotateAround:function(t,e){const i=Math.cos(e),a=Math.sin(e),s=this.x-t.x,n=this.y-t.y;return this.x=s*i-n*a+t.x,this.y=s*a+n*i+t.y,this},random:function(){return this.x=Math.random(),this.y=Math.random(),this}})},"4f7c":function(t,e,i){"use strict";var a=i("f087"),s=i("c3e9");const n=new s["a"],r=new s["a"],o=new s["a"],l=new s["a"],c=new s["a"],u=new s["a"],h=new s["a"];function d(t,e){this.origin=void 0!==t?t:new s["a"],this.direction=void 0!==e?e:new s["a"](0,0,-1)}Object.assign(d.prototype,{set:function(t,e){return this.origin.copy(t),this.direction.copy(e),this},clone:function(){return(new this.constructor).copy(this)},copy:function(t){return this.origin.copy(t.origin),this.direction.copy(t.direction),this},at:function(t,e){return void 0===e&&(console.warn("THREE.Ray: .at() target is now required"),e=new s["a"]),e.copy(this.direction).multiplyScalar(t).add(this.origin)},lookAt:function(t){return this.direction.copy(t).sub(this.origin).normalize(),this},recast:function(t){return this.origin.copy(this.at(t,n)),this},closestPointToPoint:function(t,e){void 0===e&&(console.warn("THREE.Ray: .closestPointToPoint() target is now required"),e=new s["a"]),e.subVectors(t,this.origin);const i=e.dot(this.direction);return i<0?e.copy(this.origin):e.copy(this.direction).multiplyScalar(i).add(this.origin)},distanceToPoint:function(t){return Math.sqrt(this.distanceSqToPoint(t))},distanceSqToPoint:function(t){const e=n.subVectors(t,this.origin).dot(this.direction);return e<0?this.origin.distanceToSquared(t):(n.copy(this.direction).multiplyScalar(e).add(this.origin),n.distanceToSquared(t))},distanceSqToSegment:function(t,e,i,a){r.copy(t).add(e).multiplyScalar(.5),o.copy(e).sub(t).normalize(),l.copy(this.origin).sub(r);const s=.5*t.distanceTo(e),n=-this.direction.dot(o),c=l.dot(this.direction),u=-l.dot(o),h=l.lengthSq(),d=Math.abs(1-n*n);let p,m,v,f;if(d>0)if(p=n*u-c,m=n*c-u,f=s*d,p>=0)if(m>=-f)if(m<=f){const t=1/d;p*=t,m*=t,v=p*(p+n*m+2*c)+m*(n*p+m+2*u)+h}else m=s,p=Math.max(0,-(n*m+c)),v=-p*p+m*(m+2*u)+h;else m=-s,p=Math.max(0,-(n*m+c)),v=-p*p+m*(m+2*u)+h;else m<=-f?(p=Math.max(0,-(-n*s+c)),m=p>0?-s:Math.min(Math.max(-s,-u),s),v=-p*p+m*(m+2*u)+h):m<=f?(p=0,m=Math.min(Math.max(-s,-u),s),v=m*(m+2*u)+h):(p=Math.max(0,-(n*s+c)),m=p>0?s:Math.min(Math.max(-s,-u),s),v=-p*p+m*(m+2*u)+h);else m=n>0?-s:s,p=Math.max(0,-(n*m+c)),v=-p*p+m*(m+2*u)+h;return i&&i.copy(this.direction).multiplyScalar(p).add(this.origin),a&&a.copy(o).multiplyScalar(m).add(r),v},intersectSphere:function(t,e){n.subVectors(t.center,this.origin);const i=n.dot(this.direction),a=n.dot(n)-i*i,s=t.radius*t.radius;if(a>s)return null;const r=Math.sqrt(s-a),o=i-r,l=i+r;return o<0&&l<0?null:o<0?this.at(l,e):this.at(o,e)},intersectsSphere:function(t){return this.distanceSqToPoint(t.center)<=t.radius*t.radius},distanceToPlane:function(t){const e=t.normal.dot(this.direction);if(0===e)return 0===t.distanceToPoint(this.origin)?0:null;const i=-(this.origin.dot(t.normal)+t.constant)/e;return i>=0?i:null},intersectPlane:function(t,e){const i=this.distanceToPlane(t);return null===i?null:this.at(i,e)},intersectsPlane:function(t){const e=t.distanceToPoint(this.origin);if(0===e)return!0;const i=t.normal.dot(this.direction);return i*e<0},intersectBox:function(t,e){let i,a,s,n,r,o;const l=1/this.direction.x,c=1/this.direction.y,u=1/this.direction.z,h=this.origin;return l>=0?(i=(t.min.x-h.x)*l,a=(t.max.x-h.x)*l):(i=(t.max.x-h.x)*l,a=(t.min.x-h.x)*l),c>=0?(s=(t.min.y-h.y)*c,n=(t.max.y-h.y)*c):(s=(t.max.y-h.y)*c,n=(t.min.y-h.y)*c),i>n||s>a?null:((s>i||i!==i)&&(i=s),(n<a||a!==a)&&(a=n),u>=0?(r=(t.min.z-h.z)*u,o=(t.max.z-h.z)*u):(r=(t.max.z-h.z)*u,o=(t.min.z-h.z)*u),i>o||r>a?null:((r>i||i!==i)&&(i=r),(o<a||a!==a)&&(a=o),a<0?null:this.at(i>=0?i:a,e)))},intersectsBox:function(t){return null!==this.intersectBox(t,n)},intersectTriangle:function(t,e,i,a,s){c.subVectors(e,t),u.subVectors(i,t),h.crossVectors(c,u);let n,r=this.direction.dot(h);if(r>0){if(a)return null;n=1}else{if(!(r<0))return null;n=-1,r=-r}l.subVectors(this.origin,t);const o=n*this.direction.dot(u.crossVectors(l,u));if(o<0)return null;const d=n*this.direction.dot(c.cross(l));if(d<0)return null;if(o+d>r)return null;const p=-n*l.dot(h);return p<0?null:this.at(p/r,s)},applyMatrix4:function(t){return this.origin.applyMatrix4(t),this.direction.transformDirection(t),this},equals:function(t){return t.origin.equals(this.origin)&&t.direction.equals(this.direction)}});var p=i("dfe9"),m=i("a75a"),v=i("a775"),f=i("cdfc"),b=i("9ca7");const g=new s["a"],y=new s["a"],x=new p["a"],_=new d,w=new a["a"];function A(t,e,i){1===i&&console.error("THREE.Line: parameter THREE.LinePieces no longer supported. Use THREE.LineSegments instead."),m["a"].call(this),this.type="Line",this.geometry=void 0!==t?t:new f["a"],this.material=void 0!==e?e:new v["a"],this.updateMorphTargets()}A.prototype=Object.assign(Object.create(m["a"].prototype),{constructor:A,isLine:!0,copy:function(t){return m["a"].prototype.copy.call(this,t),this.material=t.material,this.geometry=t.geometry,this},computeLineDistances:function(){const t=this.geometry;if(t.isBufferGeometry)if(null===t.index){const e=t.attributes.position,i=[0];for(let t=1,a=e.count;t<a;t++)g.fromBufferAttribute(e,t-1),y.fromBufferAttribute(e,t),i[t]=i[t-1],i[t]+=g.distanceTo(y);t.setAttribute("lineDistance",new b["b"](i,1))}else console.warn("THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");else if(t.isGeometry){const e=t.vertices,i=t.lineDistances;i[0]=0;for(let t=1,a=e.length;t<a;t++)i[t]=i[t-1],i[t]+=e[t-1].distanceTo(e[t])}return this},raycast:function(t,e){const i=this.geometry,a=this.matrixWorld,n=t.params.Line.threshold;if(null===i.boundingSphere&&i.computeBoundingSphere(),w.copy(i.boundingSphere),w.applyMatrix4(a),w.radius+=n,!1===t.ray.intersectsSphere(w))return;x.getInverse(a),_.copy(t.ray).applyMatrix4(x);const r=n/((this.scale.x+this.scale.y+this.scale.z)/3),o=r*r,l=new s["a"],c=new s["a"],u=new s["a"],h=new s["a"],d=this&&this.isLineSegments?2:1;if(i.isBufferGeometry){const a=i.index,s=i.attributes,n=s.position.array;if(null!==a){const i=a.array;for(let a=0,s=i.length-1;a<s;a+=d){const s=i[a],r=i[a+1];l.fromArray(n,3*s),c.fromArray(n,3*r);const d=_.distanceSqToSegment(l,c,h,u);if(d>o)continue;h.applyMatrix4(this.matrixWorld);const p=t.ray.origin.distanceTo(h);p<t.near||p>t.far||e.push({distance:p,point:u.clone().applyMatrix4(this.matrixWorld),index:a,face:null,faceIndex:null,object:this})}}else for(let i=0,r=n.length/3-1;i<r;i+=d){l.fromArray(n,3*i),c.fromArray(n,3*i+3);const a=_.distanceSqToSegment(l,c,h,u);if(a>o)continue;h.applyMatrix4(this.matrixWorld);const s=t.ray.origin.distanceTo(h);s<t.near||s>t.far||e.push({distance:s,point:u.clone().applyMatrix4(this.matrixWorld),index:i,face:null,faceIndex:null,object:this})}}else if(i.isGeometry){const a=i.vertices,s=a.length;for(let i=0;i<s-1;i+=d){const s=_.distanceSqToSegment(a[i],a[i+1],h,u);if(s>o)continue;h.applyMatrix4(this.matrixWorld);const n=t.ray.origin.distanceTo(h);n<t.near||n>t.far||e.push({distance:n,point:u.clone().applyMatrix4(this.matrixWorld),index:i,face:null,faceIndex:null,object:this})}}},updateMorphTargets:function(){const t=this.geometry;if(t.isBufferGeometry){const e=t.morphAttributes,i=Object.keys(e);if(i.length>0){const t=e[i[0]];if(void 0!==t){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,i=t.length;e<i;e++){const i=t[e].name||String(e);this.morphTargetInfluences.push(0),this.morphTargetDictionary[i]=e}}}}else{const e=t.morphTargets;void 0!==e&&e.length>0&&console.error("THREE.Line.updateMorphTargets() does not support THREE.Geometry. Use THREE.BufferGeometry instead.")}}}),i.d(e,"a",(function(){return z}));const k=new s["a"],S=new s["a"];function z(t,e){A.call(this,t,e),this.type="LineSegments"}z.prototype=Object.assign(Object.create(A.prototype),{constructor:z,isLineSegments:!0,computeLineDistances:function(){const t=this.geometry;if(t.isBufferGeometry)if(null===t.index){const e=t.attributes.position,i=[];for(let t=0,a=e.count;t<a;t+=2)k.fromBufferAttribute(e,t),S.fromBufferAttribute(e,t+1),i[t]=0===t?0:i[t-1],i[t+1]=i[t]+k.distanceTo(S);t.setAttribute("lineDistance",new b["b"](i,1))}else console.warn("THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");else if(t.isGeometry){const e=t.vertices,i=t.lineDistances;for(let t=0,a=e.length;t<a;t+=2)k.copy(e[t]),S.copy(e[t+1]),i[t]=0===t?0:i[t-1],i[t+1]=i[t]+k.distanceTo(S)}return this}})},"4f7f":function(t,e,i){"use strict";var a=i("c26b"),s=i("b39a"),n="Set";t.exports=i("e0b8")(n,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return a.def(s(this,n),t=0===t?0:t,t)}},a)},5204:function(t,e,i){"use strict";var a=i("f979"),s=i.n(a);s.a},"55dd":function(t,e,i){"use strict";var a=i("5ca1"),s=i("d8e8"),n=i("4bf8"),r=i("79e5"),o=[].sort,l=[1,2,3];a(a.P+a.F*(r((function(){l.sort(void 0)}))||!r((function(){l.sort(null)}))||!i("2f21")(o)),"Array",{sort:function(t){return void 0===t?o.call(n(this)):o.call(n(this),s(t))}})},"56f2":function(t,e,i){"use strict";var a=i("c4a9"),s=i.n(a);s.a},"5c03":function(t,e,i){},"5e67":function(t,e,i){"use strict";var a=i("de58"),s=i.n(a);s.a},"61c9":function(t,e,i){},"673e":function(t,e,i){"use strict";i("386b")("sub",(function(t){return function(){return t(this,"sub","","")}}))},"6b54":function(t,e,i){"use strict";i("3846");var a=i("cb7c"),s=i("0bfb"),n=i("9e1e"),r="toString",o=/./[r],l=function(t){i("2aba")(RegExp.prototype,r,t,!0)};i("79e5")((function(){return"/a/b"!=o.call({source:"a",flags:"b"})}))?l((function(){var t=a(this);return"/".concat(t.source,"/","flags"in t?t.flags:!n&&t instanceof RegExp?s.call(t):void 0)})):o.name!=r&&l((function(){return o.call(this)}))},"6b75":function(t,e,i){"use strict";function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,a=new Array(e);i<e;i++)a[i]=t[i];return a}i.d(e,"a",(function(){return a}))},"6eb7":function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var a=i("096e");function s(t=0,e=0,i=0,a=1){this._x=t,this._y=e,this._z=i,this._w=a}Object.assign(s,{slerp:function(t,e,i,a){return i.copy(t).slerp(e,a)},slerpFlat:function(t,e,i,a,s,n,r){let o=i[a+0],l=i[a+1],c=i[a+2],u=i[a+3];const h=s[n+0],d=s[n+1],p=s[n+2],m=s[n+3];if(u!==m||o!==h||l!==d||c!==p){let t=1-r,e=o*h+l*d+c*p+u*m,i=e>=0?1:-1,a=1-e*e;if(a>Number.EPSILON){const s=Math.sqrt(a),n=Math.atan2(s,e*i);t=Math.sin(t*n)/s,r=Math.sin(r*n)/s}const s=r*i;if(o=o*t+h*s,l=l*t+d*s,c=c*t+p*s,u=u*t+m*s,t===1-r){const t=1/Math.sqrt(o*o+l*l+c*c+u*u);o*=t,l*=t,c*=t,u*=t}}t[e]=o,t[e+1]=l,t[e+2]=c,t[e+3]=u},multiplyQuaternionsFlat:function(t,e,i,a,s,n){const r=i[a],o=i[a+1],l=i[a+2],c=i[a+3],u=s[n],h=s[n+1],d=s[n+2],p=s[n+3];return t[e]=r*p+c*u+o*d-l*h,t[e+1]=o*p+c*h+l*u-r*d,t[e+2]=l*p+c*d+r*h-o*u,t[e+3]=c*p-r*u-o*h-l*d,t}}),Object.defineProperties(s.prototype,{x:{get:function(){return this._x},set:function(t){this._x=t,this._onChangeCallback()}},y:{get:function(){return this._y},set:function(t){this._y=t,this._onChangeCallback()}},z:{get:function(){return this._z},set:function(t){this._z=t,this._onChangeCallback()}},w:{get:function(){return this._w},set:function(t){this._w=t,this._onChangeCallback()}}}),Object.assign(s.prototype,{isQuaternion:!0,set:function(t,e,i,a){return this._x=t,this._y=e,this._z=i,this._w=a,this._onChangeCallback(),this},clone:function(){return new this.constructor(this._x,this._y,this._z,this._w)},copy:function(t){return this._x=t.x,this._y=t.y,this._z=t.z,this._w=t.w,this._onChangeCallback(),this},setFromEuler:function(t,e){if(!t||!t.isEuler)throw new Error("THREE.Quaternion: .setFromEuler() now expects an Euler rotation rather than a Vector3 and order.");const i=t._x,a=t._y,s=t._z,n=t.order,r=Math.cos,o=Math.sin,l=r(i/2),c=r(a/2),u=r(s/2),h=o(i/2),d=o(a/2),p=o(s/2);switch(n){case"XYZ":this._x=h*c*u+l*d*p,this._y=l*d*u-h*c*p,this._z=l*c*p+h*d*u,this._w=l*c*u-h*d*p;break;case"YXZ":this._x=h*c*u+l*d*p,this._y=l*d*u-h*c*p,this._z=l*c*p-h*d*u,this._w=l*c*u+h*d*p;break;case"ZXY":this._x=h*c*u-l*d*p,this._y=l*d*u+h*c*p,this._z=l*c*p+h*d*u,this._w=l*c*u-h*d*p;break;case"ZYX":this._x=h*c*u-l*d*p,this._y=l*d*u+h*c*p,this._z=l*c*p-h*d*u,this._w=l*c*u+h*d*p;break;case"YZX":this._x=h*c*u+l*d*p,this._y=l*d*u+h*c*p,this._z=l*c*p-h*d*u,this._w=l*c*u-h*d*p;break;case"XZY":this._x=h*c*u-l*d*p,this._y=l*d*u-h*c*p,this._z=l*c*p+h*d*u,this._w=l*c*u+h*d*p;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+n)}return!1!==e&&this._onChangeCallback(),this},setFromAxisAngle:function(t,e){const i=e/2,a=Math.sin(i);return this._x=t.x*a,this._y=t.y*a,this._z=t.z*a,this._w=Math.cos(i),this._onChangeCallback(),this},setFromRotationMatrix:function(t){const e=t.elements,i=e[0],a=e[4],s=e[8],n=e[1],r=e[5],o=e[9],l=e[2],c=e[6],u=e[10],h=i+r+u;if(h>0){const t=.5/Math.sqrt(h+1);this._w=.25/t,this._x=(c-o)*t,this._y=(s-l)*t,this._z=(n-a)*t}else if(i>r&&i>u){const t=2*Math.sqrt(1+i-r-u);this._w=(c-o)/t,this._x=.25*t,this._y=(a+n)/t,this._z=(s+l)/t}else if(r>u){const t=2*Math.sqrt(1+r-i-u);this._w=(s-l)/t,this._x=(a+n)/t,this._y=.25*t,this._z=(o+c)/t}else{const t=2*Math.sqrt(1+u-i-r);this._w=(n-a)/t,this._x=(s+l)/t,this._y=(o+c)/t,this._z=.25*t}return this._onChangeCallback(),this},setFromUnitVectors:function(t,e){const i=1e-6;let a=t.dot(e)+1;return a<i?(a=0,Math.abs(t.x)>Math.abs(t.z)?(this._x=-t.y,this._y=t.x,this._z=0,this._w=a):(this._x=0,this._y=-t.z,this._z=t.y,this._w=a)):(this._x=t.y*e.z-t.z*e.y,this._y=t.z*e.x-t.x*e.z,this._z=t.x*e.y-t.y*e.x,this._w=a),this.normalize()},angleTo:function(t){return 2*Math.acos(Math.abs(a["a"].clamp(this.dot(t),-1,1)))},rotateTowards:function(t,e){const i=this.angleTo(t);if(0===i)return this;const a=Math.min(1,e/i);return this.slerp(t,a),this},inverse:function(){return this.conjugate()},conjugate:function(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this},dot:function(t){return this._x*t._x+this._y*t._y+this._z*t._z+this._w*t._w},lengthSq:function(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w},length:function(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)},normalize:function(){let t=this.length();return 0===t?(this._x=0,this._y=0,this._z=0,this._w=1):(t=1/t,this._x=this._x*t,this._y=this._y*t,this._z=this._z*t,this._w=this._w*t),this._onChangeCallback(),this},multiply:function(t,e){return void 0!==e?(console.warn("THREE.Quaternion: .multiply() now only accepts one argument. Use .multiplyQuaternions( a, b ) instead."),this.multiplyQuaternions(t,e)):this.multiplyQuaternions(this,t)},premultiply:function(t){return this.multiplyQuaternions(t,this)},multiplyQuaternions:function(t,e){const i=t._x,a=t._y,s=t._z,n=t._w,r=e._x,o=e._y,l=e._z,c=e._w;return this._x=i*c+n*r+a*l-s*o,this._y=a*c+n*o+s*r-i*l,this._z=s*c+n*l+i*o-a*r,this._w=n*c-i*r-a*o-s*l,this._onChangeCallback(),this},slerp:function(t,e){if(0===e)return this;if(1===e)return this.copy(t);const i=this._x,a=this._y,s=this._z,n=this._w;let r=n*t._w+i*t._x+a*t._y+s*t._z;if(r<0?(this._w=-t._w,this._x=-t._x,this._y=-t._y,this._z=-t._z,r=-r):this.copy(t),r>=1)return this._w=n,this._x=i,this._y=a,this._z=s,this;const o=1-r*r;if(o<=Number.EPSILON){const t=1-e;return this._w=t*n+e*this._w,this._x=t*i+e*this._x,this._y=t*a+e*this._y,this._z=t*s+e*this._z,this.normalize(),this._onChangeCallback(),this}const l=Math.sqrt(o),c=Math.atan2(l,r),u=Math.sin((1-e)*c)/l,h=Math.sin(e*c)/l;return this._w=n*u+this._w*h,this._x=i*u+this._x*h,this._y=a*u+this._y*h,this._z=s*u+this._z*h,this._onChangeCallback(),this},equals:function(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._w===this._w},fromArray:function(t,e){return void 0===e&&(e=0),this._x=t[e],this._y=t[e+1],this._z=t[e+2],this._w=t[e+3],this._onChangeCallback(),this},toArray:function(t,e){return void 0===t&&(t=[]),void 0===e&&(e=0),t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._w,t},fromBufferAttribute:function(t,e){return this._x=t.getX(e),this._y=t.getY(e),this._z=t.getZ(e),this._w=t.getW(e),this},_onChange:function(t){return this._onChangeCallback=t,this},_onChangeCallback:function(){}})},"72e8":function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var a=i("096e");const s={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},n={h:0,s:0,l:0},r={h:0,s:0,l:0};function o(t,e,i){return void 0===e&&void 0===i?this.set(t):this.setRGB(t,e,i)}function l(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+6*(e-t)*(2/3-i):t}function c(t){return t<.04045?.0773993808*t:Math.pow(.9478672986*t+.0521327014,2.4)}function u(t){return t<.0031308?12.92*t:1.055*Math.pow(t,.41666)-.055}Object.assign(o.prototype,{isColor:!0,r:1,g:1,b:1,set:function(t){return t&&t.isColor?this.copy(t):"number"===typeof t?this.setHex(t):"string"===typeof t&&this.setStyle(t),this},setScalar:function(t){return this.r=t,this.g=t,this.b=t,this},setHex:function(t){return t=Math.floor(t),this.r=(t>>16&255)/255,this.g=(t>>8&255)/255,this.b=(255&t)/255,this},setRGB:function(t,e,i){return this.r=t,this.g=e,this.b=i,this},setHSL:function(t,e,i){if(t=a["a"].euclideanModulo(t,1),e=a["a"].clamp(e,0,1),i=a["a"].clamp(i,0,1),0===e)this.r=this.g=this.b=i;else{const a=i<=.5?i*(1+e):i+e-i*e,s=2*i-a;this.r=l(s,a,t+1/3),this.g=l(s,a,t),this.b=l(s,a,t-1/3)}return this},setStyle:function(t){function e(e){void 0!==e&&parseFloat(e)<1&&console.warn("THREE.Color: Alpha component of "+t+" will be ignored.")}let i;if(i=/^((?:rgb|hsl)a?)\(\s*([^\)]*)\)/.exec(t)){let t;const a=i[1],s=i[2];switch(a){case"rgb":case"rgba":if(t=/^(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(s))return this.r=Math.min(255,parseInt(t[1],10))/255,this.g=Math.min(255,parseInt(t[2],10))/255,this.b=Math.min(255,parseInt(t[3],10))/255,e(t[5]),this;if(t=/^(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(s))return this.r=Math.min(100,parseInt(t[1],10))/100,this.g=Math.min(100,parseInt(t[2],10))/100,this.b=Math.min(100,parseInt(t[3],10))/100,e(t[5]),this;break;case"hsl":case"hsla":if(t=/^([0-9]*\.?[0-9]+)\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(s)){const i=parseFloat(t[1])/360,a=parseInt(t[2],10)/100,s=parseInt(t[3],10)/100;return e(t[5]),this.setHSL(i,a,s)}break}}else if(i=/^\#([A-Fa-f0-9]+)$/.exec(t)){const t=i[1],e=t.length;if(3===e)return this.r=parseInt(t.charAt(0)+t.charAt(0),16)/255,this.g=parseInt(t.charAt(1)+t.charAt(1),16)/255,this.b=parseInt(t.charAt(2)+t.charAt(2),16)/255,this;if(6===e)return this.r=parseInt(t.charAt(0)+t.charAt(1),16)/255,this.g=parseInt(t.charAt(2)+t.charAt(3),16)/255,this.b=parseInt(t.charAt(4)+t.charAt(5),16)/255,this}return t&&t.length>0?this.setColorName(t):this},setColorName:function(t){const e=s[t];return void 0!==e?this.setHex(e):console.warn("THREE.Color: Unknown color "+t),this},clone:function(){return new this.constructor(this.r,this.g,this.b)},copy:function(t){return this.r=t.r,this.g=t.g,this.b=t.b,this},copyGammaToLinear:function(t,e){return void 0===e&&(e=2),this.r=Math.pow(t.r,e),this.g=Math.pow(t.g,e),this.b=Math.pow(t.b,e),this},copyLinearToGamma:function(t,e){void 0===e&&(e=2);const i=e>0?1/e:1;return this.r=Math.pow(t.r,i),this.g=Math.pow(t.g,i),this.b=Math.pow(t.b,i),this},convertGammaToLinear:function(t){return this.copyGammaToLinear(this,t),this},convertLinearToGamma:function(t){return this.copyLinearToGamma(this,t),this},copySRGBToLinear:function(t){return this.r=c(t.r),this.g=c(t.g),this.b=c(t.b),this},copyLinearToSRGB:function(t){return this.r=u(t.r),this.g=u(t.g),this.b=u(t.b),this},convertSRGBToLinear:function(){return this.copySRGBToLinear(this),this},convertLinearToSRGB:function(){return this.copyLinearToSRGB(this),this},getHex:function(){return 255*this.r<<16^255*this.g<<8^255*this.b<<0},getHexString:function(){return("000000"+this.getHex().toString(16)).slice(-6)},getHSL:function(t){void 0===t&&(console.warn("THREE.Color: .getHSL() target is now required"),t={h:0,s:0,l:0});const e=this.r,i=this.g,a=this.b,s=Math.max(e,i,a),n=Math.min(e,i,a);let r,o;const l=(n+s)/2;if(n===s)r=0,o=0;else{const t=s-n;switch(o=l<=.5?t/(s+n):t/(2-s-n),s){case e:r=(i-a)/t+(i<a?6:0);break;case i:r=(a-e)/t+2;break;case a:r=(e-i)/t+4;break}r/=6}return t.h=r,t.s=o,t.l=l,t},getStyle:function(){return"rgb("+(255*this.r|0)+","+(255*this.g|0)+","+(255*this.b|0)+")"},offsetHSL:function(t,e,i){return this.getHSL(n),n.h+=t,n.s+=e,n.l+=i,this.setHSL(n.h,n.s,n.l),this},add:function(t){return this.r+=t.r,this.g+=t.g,this.b+=t.b,this},addColors:function(t,e){return this.r=t.r+e.r,this.g=t.g+e.g,this.b=t.b+e.b,this},addScalar:function(t){return this.r+=t,this.g+=t,this.b+=t,this},sub:function(t){return this.r=Math.max(0,this.r-t.r),this.g=Math.max(0,this.g-t.g),this.b=Math.max(0,this.b-t.b),this},multiply:function(t){return this.r*=t.r,this.g*=t.g,this.b*=t.b,this},multiplyScalar:function(t){return this.r*=t,this.g*=t,this.b*=t,this},lerp:function(t,e){return this.r+=(t.r-this.r)*e,this.g+=(t.g-this.g)*e,this.b+=(t.b-this.b)*e,this},lerpHSL:function(t,e){this.getHSL(n),t.getHSL(r);const i=a["a"].lerp(n.h,r.h,e),s=a["a"].lerp(n.s,r.s,e),o=a["a"].lerp(n.l,r.l,e);return this.setHSL(i,s,o),this},equals:function(t){return t.r===this.r&&t.g===this.g&&t.b===this.b},fromArray:function(t,e){return void 0===e&&(e=0),this.r=t[e],this.g=t[e+1],this.b=t[e+2],this},toArray:function(t,e){return void 0===t&&(t=[]),void 0===e&&(e=0),t[e]=this.r,t[e+1]=this.g,t[e+2]=this.b,t},fromBufferAttribute:function(t,e){return this.r=t.getX(e),this.g=t.getY(e),this.b=t.getZ(e),!0===t.normalized&&(this.r/=255,this.g/=255,this.b/=255),this},toJSON:function(){return this.getHex()}}),o.NAMES=s},"7aef":function(t,e,i){"use strict";function a(){this.elements=[1,0,0,0,1,0,0,0,1],arguments.length>0&&console.error("THREE.Matrix3: the constructor no longer reads arguments. use .set() instead.")}i.d(e,"a",(function(){return a})),Object.assign(a.prototype,{isMatrix3:!0,set:function(t,e,i,a,s,n,r,o,l){const c=this.elements;return c[0]=t,c[1]=a,c[2]=r,c[3]=e,c[4]=s,c[5]=o,c[6]=i,c[7]=n,c[8]=l,this},identity:function(){return this.set(1,0,0,0,1,0,0,0,1),this},clone:function(){return(new this.constructor).fromArray(this.elements)},copy:function(t){const e=this.elements,i=t.elements;return e[0]=i[0],e[1]=i[1],e[2]=i[2],e[3]=i[3],e[4]=i[4],e[5]=i[5],e[6]=i[6],e[7]=i[7],e[8]=i[8],this},extractBasis:function(t,e,i){return t.setFromMatrix3Column(this,0),e.setFromMatrix3Column(this,1),i.setFromMatrix3Column(this,2),this},setFromMatrix4:function(t){const e=t.elements;return this.set(e[0],e[4],e[8],e[1],e[5],e[9],e[2],e[6],e[10]),this},multiply:function(t){return this.multiplyMatrices(this,t)},premultiply:function(t){return this.multiplyMatrices(t,this)},multiplyMatrices:function(t,e){const i=t.elements,a=e.elements,s=this.elements,n=i[0],r=i[3],o=i[6],l=i[1],c=i[4],u=i[7],h=i[2],d=i[5],p=i[8],m=a[0],v=a[3],f=a[6],b=a[1],g=a[4],y=a[7],x=a[2],_=a[5],w=a[8];return s[0]=n*m+r*b+o*x,s[3]=n*v+r*g+o*_,s[6]=n*f+r*y+o*w,s[1]=l*m+c*b+u*x,s[4]=l*v+c*g+u*_,s[7]=l*f+c*y+u*w,s[2]=h*m+d*b+p*x,s[5]=h*v+d*g+p*_,s[8]=h*f+d*y+p*w,this},multiplyScalar:function(t){const e=this.elements;return e[0]*=t,e[3]*=t,e[6]*=t,e[1]*=t,e[4]*=t,e[7]*=t,e[2]*=t,e[5]*=t,e[8]*=t,this},determinant:function(){const t=this.elements,e=t[0],i=t[1],a=t[2],s=t[3],n=t[4],r=t[5],o=t[6],l=t[7],c=t[8];return e*n*c-e*r*l-i*s*c+i*r*o+a*s*l-a*n*o},getInverse:function(t,e){void 0!==e&&console.warn("THREE.Matrix3: .getInverse() can no longer be configured to throw on degenerate.");const i=t.elements,a=this.elements,s=i[0],n=i[1],r=i[2],o=i[3],l=i[4],c=i[5],u=i[6],h=i[7],d=i[8],p=d*l-c*h,m=c*u-d*o,v=h*o-l*u,f=s*p+n*m+r*v;if(0===f)return this.set(0,0,0,0,0,0,0,0,0);const b=1/f;return a[0]=p*b,a[1]=(r*h-d*n)*b,a[2]=(c*n-r*l)*b,a[3]=m*b,a[4]=(d*s-r*u)*b,a[5]=(r*o-c*s)*b,a[6]=v*b,a[7]=(n*u-h*s)*b,a[8]=(l*s-n*o)*b,this},transpose:function(){let t;const e=this.elements;return t=e[1],e[1]=e[3],e[3]=t,t=e[2],e[2]=e[6],e[6]=t,t=e[5],e[5]=e[7],e[7]=t,this},getNormalMatrix:function(t){return this.setFromMatrix4(t).getInverse(this).transpose()},transposeIntoArray:function(t){const e=this.elements;return t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8],this},setUvTransform:function(t,e,i,a,s,n,r){const o=Math.cos(s),l=Math.sin(s);this.set(i*o,i*l,-i*(o*n+l*r)+n+t,-a*l,a*o,-a*(-l*n+o*r)+r+e,0,0,1)},scale:function(t,e){const i=this.elements;return i[0]*=t,i[3]*=t,i[6]*=t,i[1]*=e,i[4]*=e,i[7]*=e,this},rotate:function(t){const e=Math.cos(t),i=Math.sin(t),a=this.elements,s=a[0],n=a[3],r=a[6],o=a[1],l=a[4],c=a[7];return a[0]=e*s+i*o,a[3]=e*n+i*l,a[6]=e*r+i*c,a[1]=-i*s+e*o,a[4]=-i*n+e*l,a[7]=-i*r+e*c,this},translate:function(t,e){const i=this.elements;return i[0]+=t*i[2],i[3]+=t*i[5],i[6]+=t*i[8],i[1]+=e*i[2],i[4]+=e*i[5],i[7]+=e*i[8],this},equals:function(t){const e=this.elements,i=t.elements;for(let a=0;a<9;a++)if(e[a]!==i[a])return!1;return!0},fromArray:function(t,e){void 0===e&&(e=0);for(let i=0;i<9;i++)this.elements[i]=t[i+e];return this},toArray:function(t,e){void 0===t&&(t=[]),void 0===e&&(e=0);const i=this.elements;return t[e]=i[0],t[e+1]=i[1],t[e+2]=i[2],t[e+3]=i[3],t[e+4]=i[4],t[e+5]=i[5],t[e+6]=i[6],t[e+7]=i[7],t[e+8]=i[8],t}})},"7c3f":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAFRUlEQVRYR8WZbUiUWRTH/zOPuo6kRppjyWJu0IYvKCtZQomIsgpDiEY4uIrWzIgakaLublm+hIiKmrLaqCAu2oeGFHLdkh3fokVEfGNQUNDIlD5ojYGaZquznAuKTZnPzDyT54sMc++5P88595xzz4hgJPn5+TZSqfQnsVh8HICt8ffW+GwwGAwAFhwcHIYTExNXd58h2v5AYMeOHfsVwA0XFxfXQ4cOgeM4a/B8ppP43r9/j8XFxfWtra0/OY67qVAo9LSQAWo0Gju9Xt/u6en5c3BwMJydnb8JmPEhHz58wPDwMMbHx2fEYnGoUqmcZ4D19fXlnp6emRERERCJdox6IJB06NjYGAYHB/9VqVQhopqaGneJRDIrl8vt7O3tDwzK+OC2tja8ffs2UqRWq385efJkc3h4uCBwFE+vX78m5cwb7u7uOHr0qMm6dTodBgYG/hDV1dXl+Pv7l5w9e9ZkJbs3zM3NoaWlBSMjI/Dw8ICbmxu2Yd+8eYOQkBDI5XIcOXKE1zkvX76EVqt9TIC/BQQEFAcFBfHaaLyIIJqamtDb2wuFQoHz589DLBZ/soyCX6vV4sGDB0hMTERUVNS+Z7169QqdnZ1/WwS4tbWFO3fuwMXFBdevX983LVEquX37Nk6fPg2lUvlVSEEAq6urmbWuXbu2r0W2F9A/lZubi3PnzuHixYt77rMYcGZmBiUlJVCr1Z+5dD9asuSVK1dQW1u7Z0xaDJiTk8PiydfXdz+eL37f0dGB2dlZpKenf/F7iwDX1taQmprKLoe5QjoSEhLw6NEj4QGHhobQ19eHrKwsc/nYvrS0NNy9e5ddMmOxyIJPnjxhiZgsYIkUFhbi0qVL8Pb2FhawtbWVJWFSbomUlZWB6n9AQICwgM+ePcPExARzkSVCF410nDhxQljAhYUF5OXl4f79+2bzUT4kD9AlMa48pNSiGCQFlMeKi4shlUrNghwcHATFcn5+vvC3mDQ+f/4c5GqqCqYKxW9KSgrLAqdOnbIOIGnNzMxk5So0NNQkxoaGBiwvL7P9e4nFLibFKysrLGGrVCpcuHCBFyS1ZAMDA6isrISt7d5vMkEA3717h8uXL4P+xsbG4urVq3B1dd3TZVVVVSwpZ2dnfxVOkEsyPT2NiooKejswIDs7O9ZGOTo64syZM6yTpps6Pz/PLEZCcRcYGMjL0hZZcHJyEgUFBUhOTkZPTw+6urqQkZGB+Ph4UGc9OjoKvV7PWn7qrP39/XH8OD2z+YvZgEtLSyzuKMV4eXnh48ePzM1UXb6Uz/gjfbrSLEByGXXOMTExCAsLYxr7+/vR3d3NOmUhxSxA6qBtbGx2Stzm5iZL2KWlpWYnbMHSDMVZe3s77t27t+NKjUbDbjClGaHFJAtSe3/r1i2aQMDJyYmxUKKlW9nY2AhrPPh5A25sbCApKYnVzN1lqby8HD4+PoiMjBTaeEwfb8Dx8XHWcewu6vSoLioqYha11iyHN+Dq6irLd+RKGsmRUM6jqmHug4mPyXkDkjKaCjQ3NyMuLg5TU1MgaHO6GD5g22t2A97w8/OrpLng14Q20E0+fPgw62Ao3VhTXrx4QYbR0HQrQiqV/hMdHW3N80zWTQVgYmLiJs1mqOeZlMlkP5haL00+lecGejM/fPhwY319/cftCWuURCL5SyaTceTCgxSahD19+pTm1XkqlapwZ95bX18fx3Fco4+Pj4SagIMYolNrptPpDGtra6VKpfJ3kUhk+GQgXVNT872trW26wWCgcasHgO++kTX/o58hDAZDP8dxdUqlcnj73P8BYWoERw67OD4AAAAASUVORK5CYII="},"7d64":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAEp0lEQVRYR9WYe0xTVxzHv/f2SVeE8X5jHwjG0TpY2Jx7BJgR0c1kc+DM9ofL2Fy2ZeGhoIBzEETIQLfFVJDIXGK2odkYOoeK+MBkj1BqIU4RFRCkUDDQggKl7V1utV3ZeENbdv46ued3zvmc7znn9/udS8CqSJQQQI9PQSIWgC8A0rrdxvU+UKgHha8aI/G7eS7CXAmXYyubCdlbXrs5cS5vwJflD5KwH999fS+uDNaiXP0h+nU40NiCNCTAYAJcqUC8MwunysXNhIizzMZCTT28xjCApNZXcGNQvq8pAjuJyHqwxhhoKRXXBT/Lf8GhcObJaTXjr3uNDY8ijJA0IDaEL6k5EaJcFHBmiJyuVJzoKc4mwuVI3uSTUrzbr2hRAZ7sP47s9oQKQtqAjM0+O/MzfPcuKsDz2l+RfCv+l1kB6igd2ATbLguZNeBF7Vmkta3Fj2F3EMQWzBky5jqB/cH1kPIipxxjVoAXtGeQ2haHt70+Q4rPnjnD0R2lVwkcFl9BFH/1wgCa4Frj4MYGXncrmBcc3blElY71Hh8ggCWEG9MTm923TjjmjBU82FOAUlUGnmQDAZwX5w3YNFgHAS8EfIYP/NmhKAg8PD9AChRyulJwsu8ADgrrMF9nvuBbbF5eblcaKvuKcGp5pylOz7XYDJAGujR4Dqv50WASzLnyLfwlmSmJrOcLHFVvB+9f7DojkBd0Fi87rzENZVMFzbD3dB24p7s7zlXQ6v42dAFLSFeTmZ7S46g6ExwSOL7sLvzZgfYDpF1ArbYKeQGySQXeq0pHhboQMtElrOK/ZLGzi4LTAdZqq5F8Zx2SfPPxsXfGuEXYFDCpdQOGjVoM6Nug1XcgiPvIL2b5yxDGXWGqd+k6selmIEJ40fhGeB4ELEm77beYznZpv3hZew51Q9XIfJyi8Uln082mz92W289BNSrHz6G9cGN6/OcI2FRB82yTbfE+1S58r85HqWjyWGsXQMWDP6F4+Afe9fzEolBVfwWy2xPxmudHSPJItXzXGDTgM/gQcMS23+KpfGLCrWfQPCSf0GSDxzbLjbeLghNRKB/KMWZKaDmWZvq8ag0DcGW4I5y30rEKzjTiOEzB/zXgteFGcEku6J8CZgWF3BC0jNwYF2WsFznjhHWmykxlV6z6HBV9e1AqkuOdm5HIDf4BX3cnQuS0EYeWVk7Y1a6ARhiR3vEeLg+UY8QAsEhAzIvCEWEteOQTjgekCegbndHxPqrvl+Ep5+dRJqiBE+k0qfB2VdBMQUOeHvgJMUvWTQlH2zsEcDbn2QIoUWB7oveOwl2+839SzgZgOttqTRV23N5YSYQrsGWV66vHSpZWTdfHru2H1EWQdaZ9STzdAE+CgfbTy7ucvFn0X1/HFwNlwPpmd3SPamJM2aS0AblSl+isMsEZsAiWwwkLVVk41p1X0xiBNY/S3QowpGJ8F+Yc9WamX4klsNublM7Gi7ozUdP/bRPDiFhFBHr/yccpkJKr2EYB6e5sBHmzo8C0ykxsCUvBgL4xJXpGHvRTRpTpucj5awWG6DnHPxgeU0iUCCUo+BmNYNgSzHpsJtDrosG1i9HQW3//G13blU1SIyFEAAAAAElFTkSuQmCC"},"7dac":function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));i("c5f6"),i("28a5"),i("a481");var a=function(t){while(t.indexOf(" ")>0)t=t.replace(" "," ");return t}},"827c":function(t,e,i){},"83a5":function(t,e,i){t.exports=i.p+"static/img/adilog.d0f21b66.png"},8735:function(t,e,i){},"8ed3":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"bladesign"}},[i("transformtool",{ref:"transform",staticStyle:{top:"15%"}}),t._v(" "),i("el-container",{staticStyle:{height:"100vh"}},[i("el-header",{staticClass:"fixed-header",staticStyle:{overflow:"hidden"}},[i("el-menu",{staticClass:"headMenu_1",attrs:{mode:"horizontal"}},[i("div",{staticClass:"log"},[i("el-image",{attrs:{src:t.adilog}})],1),t._v(" "),i("div",{staticClass:"log logtitle"},[i("span",[t._v(" Bladesign")])]),t._v(" "),i("el-submenu",{attrs:{index:"1"}},[i("template",{slot:"title"},[t._v(t._s(t.$t("Bladesign.file.file")))]),t._v(" "),i("el-menu-item",{attrs:{index:"1-1"},on:{click:function(e){t.dialog.newdialog=!0}}},[t._v("New")]),t._v(" "),i("el-menu-item",{attrs:{index:"1-2"},on:{click:function(e){t.loadProjects(),t.dialog.loadialog=!0}}},[t._v("Load")])],2),t._v(" "),i("el-menu-item",{attrs:{index:"2"},on:{click:function(e){t.asflog="Geometry"}}},[t._v(t._s(t.$t("Bladesign.geometry.geometry")))]),t._v(" "),i("el-menu-item",{attrs:{index:"3"},on:{click:function(e){t.asflog="Loads"}}},[t._v(t._s(t.$t("Bladesign.loads.loads")))]),t._v(" "),i("el-menu-item",{attrs:{index:"4"},on:{click:function(e){t.asflog="Materials"}}},[t._v(t._s(t.$t("Bladesign.materials.materials")))]),t._v(" "),i("el-menu-item",{attrs:{index:"5"},on:{click:function(e){t.asflog="PreVABS"}}},[t._v(t._s(t.$t("Bladesign.prevabs.prevabs")))]),t._v(" "),i("el-menu-item",{attrs:{index:"6"},on:{click:function(e){t.asflog="VABS"}}},[t._v(t._s(t.$t("Bladesign.vabs.vabs")))]),t._v(" "),i("el-menu-item",{attrs:{index:"7"},on:{click:function(e){t.asflog="Analysis"}}},[t._v(t._s(t.$t("Bladesign.analysis.analysis")))]),t._v(" "),i("el-menu-item",{attrs:{index:"8"},on:{click:function(e){t.asflog="Recovery"}}},[t._v(t._s(t.$t("Bladesign.recovery.recovery")))]),t._v(" "),i("el-menu-item",{attrs:{index:"9"},on:{click:function(e){t.asflog="Optimization"}}},[t._v(t._s(t.$t("Bladesign.optimization.optimization")))])],1)],1),t._v(" "),i("el-dialog",{attrs:{title:"New",visible:t.dialog.newdialog,"close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!1,width:"535px",center:""},on:{"update:visible":function(e){return t.$set(t.dialog,"newdialog",e)}}},[i("div",[i("li",[i("span",[t._v("Project Name")]),t._v(" "),i("el-input",{attrs:{size:"mini"},model:{value:t.project.projectName,callback:function(e){t.$set(t.project,"projectName",e)},expression:"project.projectName"}})],1)]),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.newProject()}}},[t._v("OK")]),t._v(" "),i("el-button",{attrs:{size:"mini"},on:{click:function(e){t.dialog.newdialog=!1}}},[t._v("Cenel")])],1)]),t._v(" "),i("el-dialog",{attrs:{title:"Load",visible:t.dialog.loadialog,"close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!1,width:"660px",center:""},on:{"update:visible":function(e){return t.$set(t.dialog,"loadialog",e)}}},[i("el-form",[i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"projectsTable",attrs:{data:t.projects,border:"",height:"250",size:"mini"},on:{"selection-change":t.projectsSelectionChange,select:t.projectsSelectionSelect,"select-all":t.projectsSelectionAll}},[i("el-table-column",{attrs:{type:"selection"}}),t._v(" "),i("el-table-column",{attrs:{property:"projectName",label:"Project Name"}}),t._v(" "),i("el-table-column",{attrs:{property:"solverstate",formatter:t.solverstateFormat,label:"Project Status"}}),t._v(" "),i("el-table-column",{attrs:{property:"projectDesc",label:"Project Description"}}),t._v(" "),i("el-table-column",{attrs:{property:"createTime",label:"Project Create Time"}})],1)],1),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){t.getElementData(),t.dialog.loadialog=!1}}},[t._v("OK")]),t._v(" "),i("el-button",{attrs:{size:"mini"},on:{click:function(e){t.dialog.loadialog=!1}}},[t._v("Cenel")])],1)],1),t._v(" "),i("el-container",{attrs:{id:"container"}},[i("div",{attrs:{id:"rBtn"}},[i("el-button",{attrs:{size:"mini"},on:{click:function(e){t.asflog="Geometry"}}},[t._v(t._s(t.$t("Bladesign.geometry.geometry")))]),t._v(" "),i("el-button",{attrs:{size:"mini"},on:{click:function(e){t.asflog="Loads",t.loadsclick()}}},[t._v(t._s(t.$t("Bladesign.loads.loads")))]),t._v(" "),i("el-button",{attrs:{size:"mini"},on:{click:function(e){t.asflog="Materials"}}},[t._v(t._s(t.$t("Bladesign.materials.materials")))]),t._v(" "),i("el-button",{attrs:{size:"mini"},on:{click:function(e){t.asflog="PreVABS"}}},[t._v(t._s(t.$t("Bladesign.prevabs.prevabs")))]),t._v(" "),i("el-button",{attrs:{size:"mini"},on:{click:function(e){t.asflog="VABS"}}},[t._v(t._s(t.$t("Bladesign.vabs.vabs")))]),t._v(" "),i("el-button",{attrs:{size:"mini"},on:{click:function(e){t.asflog="Analysis"}}},[t._v(t._s(t.$t("Bladesign.analysis.analysis")))]),t._v(" "),i("el-button",{attrs:{size:"mini"},on:{click:function(e){t.asflog="Recovery"}}},[t._v(t._s(t.$t("Bladesign.recovery.recovery")))]),t._v(" "),i("el-button",{attrs:{size:"mini"},on:{click:function(e){t.asflog="Optimization"}}},[t._v(t._s(t.$t("Bladesign.optimization.optimization")))])],1),t._v(" "),i("el-aside",{directives:[{name:"show",rawName:"v-show",value:t.asflog,expression:"asflog"}],staticClass:"aside1",attrs:{width:"400px"}},[i("geometry",{directives:[{name:"show",rawName:"v-show",value:"Geometry"===t.asflog,expression:"asflog==='Geometry'"}],on:{getElementData:t.getElementData,toMat:t.toMat,vabsPnt:t.vabsPnt,vabsMount:t.vabsMount}}),t._v(" "),i("loads",{directives:[{name:"show",rawName:"v-show",value:"Loads"===t.asflog,expression:"asflog==='Loads' "}],ref:"loads"}),t._v(" "),i("materials",{directives:[{name:"show",rawName:"v-show",value:"Materials"===t.asflog,expression:"asflog==='Materials'"}],on:{getElementData:t.getElementData,toOpt:t.toOpt}}),t._v(" "),i("preVABS",{directives:[{name:"show",rawName:"v-show",value:"PreVABS"===t.asflog,expression:"asflog==='PreVABS'"}],on:{getElementData:t.getElementData}}),t._v(" "),i("vabs",{directives:[{name:"show",rawName:"v-show",value:"VABS"===t.asflog,expression:"asflog==='VABS'"}]}),t._v(" "),i("anlysis",{directives:[{name:"show",rawName:"v-show",value:"Analysis"===t.asflog,expression:"asflog==='Analysis'"}],attrs:{timenum:t.timenum,curveid:t.curveid,frame:t.frame}}),t._v(" "),i("recovery",{directives:[{name:"show",rawName:"v-show",value:"Recovery"===t.asflog,expression:"asflog==='Recovery'"}],on:{xyplot:t.xyplot}}),t._v(" "),i("optimization",{directives:[{name:"show",rawName:"v-show",value:"Optimization"===t.asflog,expression:"asflog==='Optimization'"}],on:{toAir:t.toAir}})],1),t._v(" "),i("el-container",[i("el-main",{ref:"mainele"},[i("vabs-load",{directives:[{name:"show",rawName:"v-show",value:"Recovery"!==t.asflog,expression:"asflog!=='Recovery'"}],ref:"vabs"}),t._v(" "),i("vtkLoad",{directives:[{name:"show",rawName:"v-show",value:t.vload,expression:"vload"}],ref:"vtks"})],1),t._v(" "),i("el-footer",{staticClass:"blaFoot",attrs:{height:"400px"}},[i("view-foot",{on:{getElementData:t.getElementData}})],1)],1)],1)],1)],1)},s=[],n=(i("ac6a"),i("96cf"),i("1da1")),r=i("ade3"),o=i("83a5"),l=i.n(o),c=i("b775"),u=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"webuploader-container"},[i("div",{attrs:{id:"uploader"+t.upId}},[i("el-row",[i("el-col",{attrs:{span:6}},[t._v(t._s(t.name))]),t._v(" "),i("el-col",{attrs:{span:6}},[i("div",{attrs:{id:"picker"+t.upId}},[t._v("选择文件")])])],1),t._v(" "),t._l(t.files,(function(e,a){return i("el-row",{key:a,staticClass:"center"},[i("el-col",{attrs:{span:6}},[t._v(t._s(e.name)+" ")]),t._v(" "),i("el-col",{attrs:{span:8}},[i("el-progress",{attrs:{percentage:e.percentage}})],1),t._v(" "),i("el-col",{attrs:{span:5}},[t._v(t._s(e.msg))]),t._v(" "),i("el-col",{attrs:{span:5}},[i("el-button",{attrs:{size:"mini"},on:{click:function(e){return t.uploader.upload()}}},[t._v("Save")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"danger",icon:"el-icon-delete",circle:""},on:{click:function(i){return t.fileDel(e.id)}}})],1)],1)}))],2)])},h=[],d=(i("6762"),i("2fdb"),i("28a5"),i("7f7f"),i("1157")),p=i.n(d),m=i("4941"),v=i.n(m),f=i("4360"),b=i("3fa5"),g=i("5a89"),y=new b["a"],x={data:function(){return{uploader:void 0,fileName:void 0,md5:"1212",files:[]}},mounted:function(){this.initWebUploader()},props:{projectId:String,solverType:String,accept:String,name:String,upId:String,upFileList:Array},methods:{initWebUploader:function(){var t=this,e=this;this.uploader=v.a.create({swf:"./Uploader.swf",server:"/cfd/TransServlet",formData:{},pick:{id:"#picker"+e.upId,multiple:!0},duplicate:!0,resize:!1,chunked:!0,chunkSize:1048576,threads:4}),this.uploader.on("fileQueued",(function(i){e.files=[],e.fileName=i.name;var a=e.fileName.split(".")[1];return"GEBT.dat"===i.name||t.upFileList.includes("GEBT.dat")?e.accept.indexOf(a)<0?(e.uploader.reset(),void y.error("只支持"+e.accept+"格式文件!")):(e.uploader.md5File(i).progress((function(t){console.log("Percentage:",t)})).then((function(t){e.md5=t,console.log("md5 result:",t)})),e.files.length>0&&(e.uploader.removeFile(e.files[0].id),e.files=[]),void e.files.push({id:i.id,name:i.name,msg:"等待上传...",percentage:0})):(e.uploader.reset(),void y.error("请先上传GEBT.dat文件!"))})),this.uploader.on("uploadBeforeSend",(function(t,i,a){i.chunk=t.chunk,i.chunks=t.chunks,i.pid=e.projectId,i.solverType=e.solverType,i.md5=e.md5,i.fileName=e.fileName,i.uploadFlag=2,i.channelNo="service",i.clientToken=f["a"].getters.token,i.transCode="A00113",i.userId=f["a"].getters.userId,a.Content="multipart",a.Type="form-data"})),this.uploader.on("uploadProgress",(function(t,i){var a=Math.floor(100*i);e.files.forEach((function(e){(e.id=t.id)&&(e.msg="上传中"),e.percentage=a}))})),this.uploader.on("uploadSuccess",(function(i,a){e.files.forEach((function(t){(t.id=i.id)&&(t.msg="已上传")}));var s={transCode:"A00117",pid:e.projectId,fileName:t.fileName,solverType:e.solverType};Object(c["c"])(s).then((function(e){t.$emit("handfiles",1),t.$emit("getUpFile");var i=e.rows;i.forEach((function(t){self.logs+="\n"+t.log}))})).catch((function(t){}))})),this.uploader.on("uploadAccept",(function(t,i){return"000000000"==i.returnCode?"3"==i.code||(e.uploader.stop(!0),!1):(y.error(i.returnMsg),!1)})),this.uploader.on("uploadError",(function(t,e){p()("#"+t.id).text(t.name+"上传出错")})),this.uploader.on("uploadComplete",(function(t){}))},uploaderClear:function(){this.uploader.reset(),this.percentage=0,this.files=[]},fileDel:function(t){var e=this;this.files=this.files.filter((function(i){return i.id==t&&e.uploader.removeFile(t),i.id!=t}))}}},_=x,w=(i("5e67"),i("2877")),A=Object(w["a"])(_,u,h,!1,null,null,null),k=A.exports,S=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{directives:[{name:"show",rawName:"v-show",value:t.container_show,expression:"container_show"}],ref:"container_vabs",staticClass:"vabsload"})])},z=[],M=(i("673e"),i("5530")),C=(i("55dd"),i("c5f6"),i("4721")),j=i("defc"),D=(i("7dac"),i("b9d8"),i("5c96")),E={data:function(){return{container_show:!0,scene:null,renderer:null,camera:null,controls:null,camerahight:5,mufactor:.2,meshs:[],percentage:0,movetage:0,nowIndex:0,moveflag:!1,clock:null,baseColors:[],camerahight_ele:10,meshList:[],meshShow:null,canWidth:500,canHeight:500}},destroyed:function(){this.worker=null},mounted:function(){this.initScene()},created:function(){var t=this;this.$bus.$on("allObj",(function(e){t.clear(),e.eleType.forEach((function(e){switch(e.type){case"Point":var i=JSON.parse(e.threeobj);t.point(i[0],i[1],i[2]);break;case"Line":var a=JSON.parse(e.threeobj);t.lines(a);break;case"Curve":var s=JSON.parse(e.threeobj);"BSpline"===s.type&&t.bspline(s.arr,s.close),"Bezier"===s.type&&t.bezier(s.arr);break;case"Arc":var n=JSON.parse(e.threeobj);"arc1"===n.type&&t.arcThreePnts(n.arr),"arc2"===n.type&&t.centerTwoPnts(n.arr,n.sense),"arc3"===n.type&&t.ellipseTwoPnt(n.arr),"arc4"===n.type&&t.arcThreePnts(n.arr,!0),"arc5"===n.type&&t.centerTwoPnts(n.arr,!0),"arc6"===n.type&&t.centerAndRadius(n.arr,n.radius),"arc7"===n.type&&t.ellipseTwoPnt(n.arr,!0);break;default:}}))}))},methods:{loadingOpen:function(){D["Loading"].service({lock:!0,text:"Loading",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"})},loadingClose:function(){var t=D["Loading"].service({lock:!0,text:"Loading",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"});t.close()},clear:function(){var t=this;this.meshs.forEach((function(e){t.scene.remove(e)})),this.meshs=[]},init:function(){this.clock=new g["j"],this.scene=new g["P"];var t=new j["a"](200,20,2894892,8947848),e=new g["c"](20);this.scene.add(e),this.scene.add(t),this.renderer=new g["W"]({antialias:!0,alpha:!0}),this.camera=new g["H"](20,1,.2,2e3),this.camera.up.x=0,this.camera.up.y=0,this.camera.up.z=1,this.controls=new C["a"](this.camera,this.renderer.domElement)},initScene:function(){this.init(),this.renderer.setSize(this.canWidth,this.canHeight),this.$refs.container_vabs.appendChild(this.renderer.domElement),this.show();var t=this,e=function e(){requestAnimationFrame(e),t.renderer.render(t.scene,t.camera)};e()},show:function(){var t=(new g["e"]).setFromObject(this.scene),e=t.size().y,i=e/(2*Math.tan(this.camera.fov*Math.PI/360)),a=this.scene.position;this.camera.position.set(1.5*i,a.y,a.z),this.camera.lookAt(a),this.camera.updateMatrix()},point:function(t,e,i){var a=new g["u"],s=new g["U"](t,e,i);a.vertices.push(s);var n=new g["L"]({color:16711680,vertexColors:!0,size:4}),r=new g["K"](a,n);this.scene.add(r),this.meshs.push(r)},lines:function(t){var e=new g["u"],i=new g["y"]({color:255});t.forEach((function(t){e.vertices.push(new g["U"](t[0],t[1],t[2]))}));var a=new g["w"](e,i);this.scene.add(a),this.meshs.push(a)},bspline:function(t,e,i,a){var s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],n=arguments.length>5&&void 0!==arguments[5]&&arguments[5],r=[];t.forEach((function(t){r.push(new g["U"](t[0],t[1],t[2]))}));var o=new g["i"](r,e),l=o.getPoints(50);if(n){var c=o.getPoint(Number(n)),u=Number(c.x.toFixed(2)),h=Number(c.y.toFixed(2)),d=Number(c.z.toFixed(2));return[u,h,d]}var p=(new g["h"]).setFromPoints(l),m=new g["y"]({color:16711680}),v=new g["w"](p,m);if(s)return this.curvePnt(o,i,a);this.scene.add(v),this.meshs.push(v)},bezier:function(t,e,i){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],n=new g["M"](new g["U"](t[0][0],t[0][1],t[0][2]),new g["U"](t[1][0],t[1][1],t[1][2]),new g["U"](t[2][0],t[2][1],t[2][2])),r=n.getPoints(50);if(s){var o=n.getPoint(Number(s)),l=Number(o.x.toFixed(2)),c=Number(o.y.toFixed(2)),u=Number(o.z.toFixed(2));return[l,c,u]}var h=(new g["h"]).setFromPoints(r),d=new g["y"]({color:16711680}),p=new g["w"](h,d);if(a)return this.curvePnt(n,e,i);this.scene.add(p),this.meshs.push(p)},curvePnt:function(t,e,i){for(var a={x:e[0],y:e[1],z:e[2]},s=[],n=0;n<=1;n+=1e-4){var r=t.getTangent(n),o=t.getPoint(n),l=this.vec(a,o),c=Math.abs(this.angleTwoV(r,l));(Math.PI/2+.001>c&&c>Math.PI/2-1e-4||Math.PI/2*3+.001>c&&c>Math.PI/2*3-.001)&&s.push({pnt:o,len:this.xdLeng(o,a)})}s.sort((function(t,e){return t.len-e.len}));var u=Number(s[0].pnt.x.toFixed(2)),h=Number(s[0].pnt.y.toFixed(2)),d=Number(s[0].pnt.z.toFixed(2));switch(i){case"Point":return[u,h,d];case"Line":return[e,[u,h,d]]}},intersect:function(t){var e=[];t.forEach((function(t){var i=t.arr;switch(t.type){case"Bezier":var a=new g["M"](new g["U"](i[0][0],i[0][1],i[0][2]),new g["U"](i[1][0],i[1][1],i[1][2]),new g["U"](i[2][0],i[2][1],i[2][2]));e.push(a);break;case"BSpline":var s=[];i.forEach((function(t){s.push(new g["U"](t[0],t[1],t[2]))}));var n=new g["i"](s,t.close);e.push(n);break;default:}})),console.log(e[0]),console.log(e[1])},curlOffset:function(t){var e=t[0].arr,i=t[1],a=null,s=[],n=Object(M["a"])({},t[0]);switch(t[0].type){case"Bezier":a=new g["M"](new g["U"](e[0][0],e[0][1],e[0][2]),new g["U"](e[1][0],e[1][1],e[1][2]),new g["U"](e[2][0],e[2][1],e[2][2]));break;case"BSpline":var r=[];e.forEach((function(t){r.push(new g["U"](t[0],t[1],t[2]))})),a=new g["i"](r,t[0].close);break;default:}if(i>1)for(var o=0;o<=1;o+=.01){var l=a.getTangent(o),c={x:0,y:-1*l.z,z:l.y},u=a.getPoint(o);u.z=u.z+(i-1)*Math.sin(Math.atan2(c.z,c.y)),u.y=u.y+(i-1)*Math.sin(Math.atan2(c.y,c.z)),s.push(u)}else for(var h=0;h<=1;h+=.01){var d=a.getTangent(h),p={x:0,y:d.z,z:-1*d.y};u=a.getPoint(h);u.z=u.z+i*Math.sin(Math.atan2(p.z,p.y)),u.y=u.y+i*Math.sin(Math.atan2(p.y,p.z)),s.push(u)}var m=s.length,v=[s[0].x,s[0].y,s[0].z],f=[s[m/2].x,s[m/2].y,s[m/2].z],b=[s[m-1].x,s[m-1].y,s[m-1].z];return[v,f,b].forEach((function(t,e){var i=[];t.forEach((function(t){i.push(Number(t.toFixed(2)))})),n.arr[e]=i})),n},arcThreePnts:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.locate(t[0][1],t[0][2],t[1][1],t[1][2],t[2][1],t[2][2]),a=this.xdLeng(i,t[0]),s=this.angle(i,t[0]),n=this.angle(i,t[2]);e?this.circleArcByThreePnts(i,a,0,2*Math.PI):this.circleArcByThreePnts(i,a,n,s)},centerTwoPnts:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.xdLeng(t[0],t[1]),a=this.angle(t[0],t[1]),s=this.angle(t[0],t[2]);e?this.circleArcByThreePnts(t[0],i,0,2*Math.PI):this.circleArcByThreePnts(t[0],i,s,a)},centerAndRadius:function(t,e){this.circleArcByThreePnts(t,e,0,2*Math.PI)},ellipseTwoPnt:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.xdLeng(t[1],t[0]),a=this.xdLeng(t[2],t[0]),s=this.angle(t[0],t[1]),n=this.angle(t[0],t[2]),r=s;e?this.ellipse(t[0],i,a,0,2*Math.PI,r):this.ellipse(t[0],i,a,n-r,s-r,r)},locate:function(t,e,i,a,s,n){var r;r=(a-e)/(i-t);var o,l,c,u=(t+i)/2,h=(e+a)/2;return 0!=r?(o=h- -1/r*u,l=(Math.pow(t,2)+Math.pow(e,2)-Math.pow(s,2)-Math.pow(n,2)-2*o*e+2*o*n)/(2*(t-s-1/r*(e-n))),c=-1/r*l+o):(l=o=u,c=(Math.pow(t,2)+Math.pow(e,2)-Math.pow(s,2)-Math.pow(n,2)+2*l*(s-t))/(2*(e-n))),[0,l,c]},xdLeng:function(t,e){var i=Math.abs(e[1]-t[1]),a=Math.abs(e[2]-t[2]),s=Math.sqrt(Math.pow(i,2)+Math.pow(a,2));return s},angle:function(t,e){var i=e[2]-t[2],a=e[1]-t[1];return Math.atan2(i,a)},circleArcByThreePnts:function(t,e,i,a){var s=new g["p"](t[1],t[2],e,e,i,a,!1,0),n=s.getPoints(50);n.forEach((function(t){t.z=t.y,t.y=t.x,t.x=0}));var r=(new g["h"]).setFromPoints(n),o=new g["y"]({color:16711680}),l=new g["w"](r,o);this.scene.add(l),this.meshs.push(l)},ellipse:function(t,e,i,a,s,n){var r=new g["p"](t[1],t[2],e,i,a,s,!1,n),o=r.getPoints(50);o.forEach((function(t){t.z=t.y,t.y=t.x,t.x=0}));var l=(new g["h"]).setFromPoints(o),c=new g["y"]({color:16711680}),u=new g["w"](l,c);this.scene.add(u)},vec:function(t,e){var i=new g["U"];return i.copy(e).sub(t).normalize(),i},angleTwoV:function(t,e){var i=Math.atan2(e.z,e.y)-Math.atan2(t.z,t.y);return i},positive:function(t){"x"==t&&this.camera.position.set(this.camerahight_ele*this.camerahight,0,0),"y"==t&&this.camera.position.set(0,this.camerahight_ele*this.camerahight,0),"z"==t&&this.camera.position.set(0,0,this.camerahight_ele*this.camerahight),this.camera.lookAt(this.scene.position),this.camera.updateMatrix()},negative:function(t){"x"==t&&this.camera.position.set(-1*this.camerahight_ele*this.camerahight,0,0),"y"==t&&this.camera.position.set(0,-1*this.camerahight_ele*this.camerahight,0),"z"==t&&this.camera.position.set(0,0,-1*this.camerahight_ele*this.camerahight),this.camera.lookAt(this.scene.position),this.camera.updateMatrix()},large:function(){var t=this;this.meshs.forEach((function(e){var i=e.scale.x*(1+t.mufactor),a=e.scale.y*(1+t.mufactor),s=e.scale.z*(1+t.mufactor);e.scale.set(i,a,s)}))},small:function(){var t=this;this.meshs.forEach((function(e){var i=e.scale.x*(1-t.mufactor),a=e.scale.y*(1-t.mufactor),s=e.scale.z*(1-t.mufactor);e.scale.set(i,a,s)}))}}},O=E,B=Object(w["a"])(O,S,z,!1,null,null,null),P=B.exports,I=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("el-dialog",{staticClass:"diolog",attrs:{visible:t.visiable,"close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!1},on:{"update:visible":function(e){t.visiable=e}}},[i("el-row",{staticClass:"lgcoent"},[i("el-col",{staticClass:"lgleft",attrs:{span:8}},[i("div",{staticClass:"lodingimg"},[i("el-image",{staticClass:"img",attrs:{src:t.imggif}}),t._v(" "),i("h1",{staticClass:"loding"},[t._v("Loading...")])],1)]),t._v(" "),i("el-col",{staticClass:"lodgright",attrs:{span:16}},t._l(t.loadObjs,(function(e,a){return i("el-row",{key:a},[i("div",[1==e.type?i("li",[i("el-col",{attrs:{span:14}},[t._v(t._s(a+1)+"."+t._s(e.message))]),t._v(" "),-1==e.state?i("el-col",{attrs:{span:10}},[t._v(" ...等待")]):t._e(),t._v(" "),0==e.state?i("el-col",{attrs:{span:10}},[t._v(" ...进行中")]):t._e(),t._v(" "),1==e.state?i("el-col",{attrs:{span:10}},[t._v(" 完成")]):t._e()],1):t._e(),t._v(" "),2==e.type?i("li",[i("el-col",{attrs:{span:14}},[t._v(t._s(a+1)+"."+t._s(e.filename))]),t._v(" "),i("el-col",{attrs:{span:10}},[i("el-progress",{attrs:{percentage:e.percentage}})],1)],1):t._e()])])})),1)],1)],1)},N=[],T=i("b8c3"),R=i.n(T),L=(new g["s"],{data:function(){return{imggif:R.a,visiable:!1,loading:!0}},props:{loadObjs:Array},mounted:function(){},methods:{},watch:{loadObjs:{handler:function(t){var e=!0;t.forEach((function(t){(1==t.type&&1!=t.state||2==t.type&&100!=t.percentage)&&(e=!1)})),this.visiable=!e},deep:!0,immediate:!1}}}),F=L,U=(i("d408"),Object(w["a"])(F,I,N,!1,null,"1e5bfcd0",null)),V=U.exports,Y=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div")},G=[],W=new g["s"],q={data:function(){return{imggifs:R.a,visiable:!1,files:[]}},props:{fileurls:Array},mounted:function(){this.init()},watch:{files:{handler:function(t){this.$emit("fileLoadeState",t)},deep:!0,immediate:!1}},methods:{init:function(){var t=this;void 0!==t.fileurls&&(t.files=[],t.fileurls.forEach((function(e){var i=e.split("/"),a=i[i.length-1],s={url:e,name:a,percentage:0};t.files.push(s),W.load(e,t.loadsucess,(function(e){t.visiable=!0,s.percentage=Math.floor(e.loaded/e.total*100)}))})))},handleClose:function(){},loadsucess:function(t){},loaderror:function(t){console.error("An error happened")},load:function(t){this.fileurls.includes(t)||this.fileurls.push(t),this.init()}}},H=q,Z=(i("5204"),Object(w["a"])(H,Y,G,!1,null,"4f30a813",null)),Q=Z.exports,X=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{style:{width:t.imgw,height:t.imgh},attrs:{id:"main"}})])},J=[],K=(i("e3d9"),i("313e")),$={data:function(){return{container_show:!0,imgw:"98%",imgh:"100%",scene:null,renderer:null,camera:null,controls:null,maxX:0,maxY:0,maxZ:0,minX:0,minY:0,minZ:0,camerahight:5,mufactor:.2,meshs:[],zones:[],percentage:0,movetage:0,nowIndex:0,moveflag:!1,clock:null,baseColors:[],stepObj:[],legdata:[],xadata:[],sedata:[],fileType:"",worker:null,myChart:{},option:{}}},props:{},mounted:function(){},destroyed:function(){this.worker=null},created:function(){this.worker=this.$worker.create([{message:"vtks",func:function(t,e){var i=t.split("\n"),a=new Array,s=0,n=0,r=0,o=[];switch(e){case"gebt":return i.forEach((function(t){if((t.includes("Step")||t.includes("Mode"))&&(a.push({}),n=0),(t.includes("Eigenvalue")||t.includes("Frequency"))&&(0===a.length&&a.push({}),a[a.length-1].value=[],r++),t.includes("Point")&&(r=0,0===a.length&&a.push({}),a[a.length-1].hasOwnProperty("point")?a[a.length-1].point[s]=[]:a[a.length-1].point=[],a[a.length-1].point[s]=[],s++),t.includes("Member")&&(s=0,a[a.length-1].hasOwnProperty("member")?a[a.length-1].member[n]=[]:a[a.length-1].member=[],a[a.length-1].member[n]=[],n++),t.includes("e+")||t.includes("e-")){var e=t.split(" "),i=[];if(e.forEach((function(t){""!=t&&i.push(Number(t))})),0!==n){var o=a[a.length-1].member.length;a[a.length-1].member[o-1].push(i)}if(0!==s){var l=a[a.length-1].point.length;a[a.length-1].point[l-1].push(i)}0!==r&&(a[a.length-1].value=i)}})),a;case"opt":return i.forEach((function(t){if(t.includes("Optimization Result")&&o.push({}),t.includes("DesignVariable")||t.includes("EliminationDegree")){var e=t.split(","),i=e[0].split("_");o[o.length-1][i[1]]=e[1]}})),o;default:}}},{message:"load",func:function(t,e,i,a){var s=[],n=[],r=i,o=["Displacement X","Displacement Y","Displacement Z","Rotation X","Rotation Y","Rotation Z"],l=["Force X","Force Y","Force Z","Moment X","Moment Y","Moment Z"],c=["Linear Momentum X","Linear Momentum Y","Linear Momentum Z","Angular Momentum X","Angular Momentum Y","Angular Momentum Z"],u=a[t-1].member[e-1].length,h=0;if(a[0].hasOwnProperty("value")){h=u/4;for(var d=1;d<=h;d++)_this.xadata.push(d);i.forEach((function(i){var s=o.indexOf(i),r=l.indexOf(i),h=c.indexOf(i);if(-1!=s){for(var d=[],p={},m=0;m<u;m++){if(!(4*m+1<=u))break;d.push(a[t-1].member[e-1][4*m+1][s])}p.name=i,p.type="line",p.smooth=!0,p.data=d,n.push(p)}if(-1!=r){for(var v=[],f={},b=0;b<u;b++){if(!(4*b+2<=u))break;v.push(a[t-1].member[e-1][4*b+2][r])}f.name=i,f.type="line",f.smooth=!0,f.data=v,n.push(f)}if(-1!=h){for(var g=[],y={},x=0;x<u;x++){if(!(4*x+3<=u))break;g.push(a[t-1].member[e-1][4*x+3][h])}y.name=i,y.type="line",y.smooth=!0,y.data=g,n.push(y)}}))}else{h=u/3;for(var p=1;p<=h;p++)s.push(p);i.forEach((function(i){var s=o.indexOf(i),r=l.indexOf(i),d=c.indexOf(i);if(-1!=s){for(var p=[],m={},v=0;v<u;v++){if(!(3*v+1<=u))break;p.push(a[t-1].member[e-1][3*v+1][s])}m.name=i,m.type="line",m.smooth=!0,m.data=p,n.push(m)}if(-1!=r){for(var f=[],b={},g=0;g<u;g++){if(!(3*g+2<=u))break;f.push(a[t-1].member[e-1][3*g+2][r])}b.name=i,b.type="line",b.smooth=!0,b.data=f,n.push(b)}if(-1!=d){for(var y=[],x={},_=0;_<h;_++)y.push(0);x.name=i,x.type="line",x.smooth=!0,x.data=y,n.push(x)}}))}return{xadata:s,sedata:n,legdata:r}}}])},methods:{getColor:function(t,e,i){for(var a=(e-t)/this.contourLevel,s=0;s<this.contourLevel;s++){var n=t+s*a;if(Math.max(n,i)==n){var r=this.baseColors[s];return r}}return this.baseColors[this.contourLevel-1]},initBaseColors:function(){this.baseColors=[];var t=255,e=16711680,i=Math.round((e-t)/this.contourLevel);this.baseColors.push(t);for(var a=1;a<this.contourLevel-1;a++)this.baseColors.push(t+i*a);this.baseColors.push(e)},init:function(){this.clock=new g["j"],this.scene=new g["P"],this.renderer=new g["W"]({antialias:!0,alpha:!0}),this.camera=new g["H"](20,1,.2,1e4),this.controls=new C["a"](this.camera,this.renderer.domElement)},initScene:function(){null==this.scene&&this.init(),this.renderer.setSize(500,500),this.$refs.container_vtk.appendChild(this.renderer.domElement)},load:function(t,e,i,a,s){var n=this;this.worker.postAll([{message:"load",args:[t,e,i,a]}]).then((function(t){n.xadata=t[0].xadata,n.sedata=t[0].sedata,n.legdata=t[0].legdata,s&&n.lineImg()}))},show:function(){var t=this,e=this.zones[0].cells,i=this.zones[0].positions,a=this.zones[0].colorMap,s=this.zones[0].vectors,n=new g["h"];n.setIndex(e),n.setAttribute("position",new g["t"](i,3));var r=new g["X"](n),o=new g["A"](r,new g["y"]({color:65280}));o.position.x=-1*(this.maxX+this.minX)/2,o.position.y=-1*(this.maxY+this.minY)/2,o.position.z=-1*(this.maxZ+this.minZ)/2,this.meshs.push(o),this.scene.add(o);for(var l=i.slice(0),c=0;c<l.length;c++)l[c]=l[c]+s[c]*this.vectorFactor;var u=new g["h"],h=[],d=new g["k"];if(a.get("Displacement-magnitude")){var p=a.get("Displacement-magnitude").scalars,m=0,v=0;p.forEach((function(t){m=Math.max(t,m),v=Math.min(t,v)}));var f=new g["a"](4473924);if(this.scene.add(f),p.forEach((function(e){var i=t.getColor(v,m,e);d.setHex(i),h.push(d.r),h.push(d.g),h.push(d.b)})),u.setIndex(e),u.setAttribute("position",new g["t"](l,3)),1===this.meshType){var b=new g["X"](u),y=new g["A"](b,new g["y"]({color:65280}));y.position.x=-1*(this.maxX+this.minX)/2,y.position.y=-1*(this.maxY+this.minY)/2,y.position.z=-1*(this.maxZ+this.minZ)/2,this.meshs.push(y),this.scene.add(y)}else if(2===this.meshType){u.setAttribute("color",new g["t"](h,3));var x=new g["F"]({vertexColors:g["V"],side:g["n"]}),_=new g["E"](u,x);_.position.x=-1*(this.maxX+this.minX)/2,_.position.y=-1*(this.maxY+this.minY)/2,_.position.z=-1*(this.maxZ+this.minZ)/2,this.meshs.push(_),this.scene.add(_)}}},clear:function(){var t=this;this.meshs.forEach((function(e){t.scene.remove(e)})),this.meshs=[]},lineImg:function(){var t=this;this.myChart=K["init"](document.getElementById("main")),this.option={title:{text:"Distribute Curve"},tooltip:{trigger:"axis"},legend:{data:this.legdata},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},toolbox:{feature:{saveAsImage:{}}},xAxis:{type:"category",boundaryGap:!1,data:this.xadata},yAxis:{type:"value"},series:this.sedata},window.onresize=function(){t.myChart.resize()},this.myChart.clear(),this.option&&this.myChart.setOption(this.option)},loadone:function(t,e,i,a,s,n){var r=this;this.fileType=e;var o=new g["s"];o.load(t,(function(t){r.worker.postAll([{message:"vtks",args:[t,r.fileType]}]).then((function(t){switch(r.fileType){case"gebt":r.load(i,a,s,t[0],n);case"opt":r.$emit("optData",t[0]);break;default:}}))}),(function(t){}),(function(t){console.error("An error happened")}))},vtk:function(t){var e=t.split("\n"),i=new Array,a=0,s=0,n=0,r=[];switch(this.fileType){case"gebt":e.forEach((function(t){if((t.includes("Step")||t.includes("Mode"))&&(i.push({}),s=0),(t.includes("Eigenvalue")||t.includes("Frequency"))&&(0===i.length&&i.push({}),i[i.length-1].value=[],n++),t.includes("Point")&&(n=0,0===i.length&&i.push({}),i[i.length-1].hasOwnProperty("point")?i[i.length-1].point[a]=[]:i[i.length-1].point=[],i[i.length-1].point[a]=[],a++),t.includes("Member")&&(a=0,i[i.length-1].hasOwnProperty("member")?i[i.length-1].member[s]=[]:i[i.length-1].member=[],i[i.length-1].member[s]=[],s++),t.includes("e+")||t.includes("e-")){var e=t.split(" "),r=[];if(e.forEach((function(t){""!=t&&r.push(Number(t))})),0!==s){var o=i[i.length-1].member.length;i[i.length-1].member[o-1].push(r)}if(0!==a){var l=i[i.length-1].point.length;i[i.length-1].point[l-1].push(r)}0!==n&&(i[i.length-1].value=r)}})),this.stepObj=i;break;case"opt":e.forEach((function(t){if(t.includes("Optimization Result")&&r.push({}),t.includes("DesignVariable")||t.includes("EliminationDegree")){var e=t.split(","),i=e[0].split("_");r[r.length-1][i[1]]=e[1]}})),this.$emit("optData",r);break;default:}},initShow:function(){var t=this;t.camerahight=Math.max(Math.abs(t.maxX),Math.abs(t.maxY),Math.abs(t.maxZ),Math.abs(t.minX),Math.abs(t.minY),Math.abs(t.minZ)),t.controls.target.set(0,0,0),t.controls.update(),t.camera.position.set(-1,3*t.camerahight,4*t.camerahight),t.camera.lookAt(t.scene.position),t.camera.updateMatrix(),t.renderer.render(t.scene,t.camera);var e=function e(){t.renderer.render(t.scene,t.camera),requestAnimationFrame(e)};e()},positive:function(t){"x"==t&&this.camera.position.set(4*this.camerahight,0,0),"y"==t&&this.camera.position.set(0,4*this.camerahight,0),"z"==t&&this.camera.position.set(0,0,4*this.camerahight),this.camera.lookAt(scene.position),this.camera.updateMatrix()},negative:function(t){"x"==t&&this.camera.position.set(-4*this.camerahight,0,0),"y"==t&&this.camera.position.set(0,-4*this.camerahight,0),"z"==t&&this.camera.position.set(0,0,-4*this.camerahight),this.camera.lookAt(scene.position),this.camera.updateMatrix()},large:function(){var t=this;this.meshs.forEach((function(e){var i=e.scale.x*(1+t.mufactor),a=e.scale.y*(1+t.mufactor),s=e.scale.z*(1+t.mufactor);e.scale.set(i,a,s)}))},small:function(){var t=this;this.meshs.forEach((function(e){var i=e.scale.x*(1-t.mufactor),a=e.scale.y*(1-t.mufactor),s=e.scale.z*(1-t.mufactor);e.scale.set(i,a,s)}))}}},tt=$,et=Object(w["a"])(tt,X,J,!1,null,null,null),it=et.exports,at=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVShow,expression:"isVShow"}],class:t.tcss},[i("ul",[i("li",[1==t.xyzsIsN?i("el-image",{attrs:{src:t.n_x}}):i("el-image",{attrs:{src:t.x},on:{click:function(e){return t.positive("x")}}})],1),t._v(" "),i("li",[1==t.xyzsIsN?i("el-image",{attrs:{src:t.n_x_}}):i("el-image",{attrs:{src:t.x_},on:{click:function(e){return t.negative("x")}}})],1),t._v(" "),i("li",[1==t.xyzsIsN?i("el-image",{attrs:{src:t.n_y}}):i("el-image",{attrs:{src:t.y},on:{click:function(e){return t.positive("y")}}})],1),t._v(" "),i("li",[1==t.xyzsIsN?i("el-image",{attrs:{src:t.n_y_}}):i("el-image",{attrs:{src:t.y_},on:{click:function(e){return t.negative("y")}}})],1),t._v(" "),i("li",[1==t.xyzsIsN?i("el-image",{attrs:{src:t.n_z}}):i("el-image",{attrs:{src:t.z},on:{click:function(e){return t.positive("z")}}})],1),t._v(" "),i("li",[1==t.xyzsIsN?i("el-image",{attrs:{src:t.n_z_}}):i("el-image",{attrs:{src:t.z_},on:{click:function(e){return t.negative("z")}}})],1),t._v(" "),i("li",[1==t.xyzsIsN?i("el-image",{attrs:{src:t.n_search}}):i("el-image",{attrs:{src:t.search}})],1),t._v(" "),i("li",[1==t.xyzsIsN?i("el-image",{attrs:{src:t.n_max}}):i("el-image",{attrs:{src:t.max},on:{click:t.large}})],1),t._v(" "),i("li",[1==t.xyzsIsN?i("el-image",{attrs:{src:t.n_min}}):i("el-image",{attrs:{src:t.min},on:{click:t.small}})],1)])])},st=[],nt=(i("f386"),i("1928")),rt=i.n(nt),ot=i("4551"),lt=i.n(ot),ct=i("e176"),ut=i.n(ct),ht=i("a5e8"),dt=i.n(ht),pt=i("092b"),mt=i.n(pt),vt=i("bb3c"),ft=i.n(vt),bt=i("bf5a"),gt=i.n(bt),yt=i("420d"),xt=i.n(yt),_t=i("aedb"),wt=i.n(_t),At=i("d914"),kt=i.n(At),St=i("7c3f"),zt=i.n(St),Mt=i("2330"),Ct=i.n(Mt),jt=i("c7b7"),Dt=i.n(jt),Et=i("2cca"),Ot=i.n(Et),Bt=i("dbd5"),Pt=i.n(Bt),It=i("16d0"),Nt=i.n(It),Tt=i("0585"),Rt=i.n(Tt),Lt=i("38c2"),Ft=i.n(Lt),Ut=i("2c00"),Vt=i.n(Ut),Yt=i("0195"),Gt=i.n(Yt),Wt=i("9f06"),qt=i.n(Wt),Ht=i("95b0"),Zt=i.n(Ht),Qt=i("7d64"),Xt=i.n(Qt),Jt=i("4ad6"),Kt=i.n(Jt),$t={data:function(){return{n_min:rt.a,min:lt.a,n_max:ut.a,max:dt.a,n_boundary:mt.a,boundary:ft.a,n_volum:gt.a,volum:xt.a,n_monitor:wt.a,monitor:kt.a,n_search:zt.a,search:Ct.a,n_x_:Dt.a,x_:Ot.a,n_x:Pt.a,x:Nt.a,n_y_:Rt.a,y_:Ft.a,n_y:Vt.a,y:Gt.a,n_z_:qt.a,z_:Zt.a,n_z:Xt.a,z:Kt.a,xyzsIsN:!1,boundaryIsN:!1,monitorIsN:!1,volumIsN:!1,isVShow:!0,tcss:"asideTag2"}},methods:{changeCssBig:function(){this.tcss="asideTag"},changeCssSmall:function(){this.tcss="asideTag2"},positive:function(t){this.$parent.positive(t)},negative:function(t){this.$parent.negative(t)},small:function(){this.$parent.small()},large:function(){this.$parent.large()}}},te=$t,ee=(i("56f2"),Object(w["a"])(te,at,st,!1,null,null,null)),ie=ee.exports,ae=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"Geometry"},[i("li",[t._v(t._s(t.$t("Bladesign.geometry.geometry")))]),t._v(" "),i("div",{staticClass:"yxfbox"},[i("span",{staticClass:"yxspan"},[t._v(t._s(t.$t("Bladesign.geometry.operation")))]),t._v(" "),i("li",[i("span",[t._v(t._s(t.action.title))]),t._v(" "),i("el-select",{attrs:{size:"mini",disabled:t.optFlog},model:{value:t.action.value,callback:function(e){t.$set(t.action,"value",e)},expression:"action.value"}},t._l(t.action.data,(function(t,e){return i("el-option",{key:e,attrs:{label:t.name,value:t.val}})})),1)],1),t._v(" "),i("li",{directives:[{name:"show",rawName:"v-show",value:0===t.action.value,expression:"action.value===0"}]},[i("span",[t._v(t._s(t.object.title))]),t._v(" "),i("el-select",{attrs:{size:"mini",disabled:t.optFlog},model:{value:t.object.value,callback:function(e){t.$set(t.object,"value",e)},expression:"object.value"}},t._l(t.object.data,(function(t,e){return i("el-option",{key:e,attrs:{label:t.name,value:t.val}})})),1)],1)]),t._v(" "),i("div",{staticClass:"geObj"},[1===t.action.value?i("div",{staticClass:"translate yxfbox "},[i("span",{staticClass:"yxspan"},[t._v("Translate")]),t._v(" "),i("el-input",{staticStyle:{width:"100%"},attrs:{readonly:!0},model:{value:t.translatePut,callback:function(e){t.translatePut=e},expression:"translatePut"}}),t._v(" "),t._l(t.Translate,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.name))]),t._v(" "),i("el-input",0===a?{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("translatePnt1","Point")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}}:{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("translatePnt2","Point")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),t._v(" "),i("p",{staticClass:"disflex justcenter"},[i("el-button",{attrs:{size:"mini"}},[t._v("Apply")])],1)],2):t._e(),t._v(" "),2===t.action.value?i("div",{staticClass:"Rotate yxfbox "},[i("span",{staticClass:"yxspan"},[t._v("Rotate")]),t._v(" "),i("el-input",{staticStyle:{width:"100%"},attrs:{readonly:!0},model:{value:t.rotatePut,callback:function(e){t.rotatePut=e},expression:"rotatePut"}}),t._v(" "),t._l(t.Rotate,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.name))]),t._v(" "),0===a?i("el-input",{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("rotatePnt1","Point")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}}):i("el-input-number",{staticStyle:{width:"178px"},attrs:{size:"mini",precision:2},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),t._v(" "),i("p",{staticClass:"disflex justcenter"},[i("el-button",{attrs:{size:"mini"}},[t._v("Apply")])],1)],2):t._e(),t._v(" "),3===t.action.value?i("div",{staticClass:"Scale yxfbox "},[i("span",{staticClass:"yxspan"},[t._v("Scale")]),t._v(" "),i("el-input",{staticStyle:{width:"100%"},attrs:{readonly:!0},model:{value:t.scalePut,callback:function(e){t.scalePut=e},expression:"scalePut"}}),t._v(" "),i("li",[i("span",[t._v(t._s(t.scaleFactor.name))]),t._v(" "),i("el-input-number",{staticStyle:{width:"178px"},attrs:{size:"mini",precision:2,min:0},model:{value:t.scaleFactor.val,callback:function(e){t.$set(t.scaleFactor,"val",e)},expression:"scaleFactor.val"}})],1),t._v(" "),i("p",{staticClass:"disflex justcenter"},[i("el-button",{attrs:{size:"mini"}},[t._v("Apply")])],1)],1):t._e(),t._v(" "),4===t.action.value?i("div",{staticClass:"Cut yxfbox "},[i("span",{staticClass:"yxspan"},[t._v("Cut")]),t._v(" "),i("el-input",{staticStyle:{width:"100%"},attrs:{readonly:!0},model:{value:t.cut.Put,callback:function(e){t.$set(t.cut,"Put",e)},expression:"cut.Put"}}),t._v(" "),i("li",[i("span",[t._v("Name")]),t._v(" "),i("el-input",{attrs:{size:"mini"},model:{value:t.cut.Name,callback:function(e){t.$set(t.cut,"Name",e)},expression:"cut.Name"}})],1),t._v(" "),i("li",[i("span",[t._v("Cut Style")]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.cut.Style,callback:function(e){t.$set(t.cut,"Style",e)},expression:"cut.Style"}},[i("el-option",{attrs:{label:"Automatic",value:0}}),t._v(" "),i("el-option",{attrs:{label:"User Defined",value:1}})],1)],1),t._v(" "),i("li",{directives:[{name:"show",rawName:"v-show",value:0===t.cut.Style,expression:"cut.Style===0"}]},[i("span",[t._v("Orientation")]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.cut.Orientation,callback:function(e){t.$set(t.cut,"Orientation",e)},expression:"cut.Orientation"}},t._l(t.cut.Orient,(function(t,e){return i("el-option",{key:e+"a",attrs:{label:t,value:e}})})),1)],1),t._v(" "),i("li",{directives:[{name:"show",rawName:"v-show",value:0===t.cut.Style,expression:"cut.Style===0"}]},[i("span",[t._v("Position Percent")]),t._v(" "),i("el-input-number",{staticStyle:{width:"178px"},attrs:{size:"mini",min:0,max:100},model:{value:t.cut.Percent,callback:function(e){t.$set(t.cut,"Percent",e)},expression:"cut.Percent"}})],1),t._v(" "),i("li",{directives:[{name:"show",rawName:"v-show",value:0===t.cut.Style,expression:"cut.Style===0"}]},[i("span",[t._v("Plane Length")]),t._v(" "),i("el-input-number",{staticStyle:{width:"178px"},attrs:{size:"mini",precision:2,min:0},model:{value:t.cut.planeLength,callback:function(e){t.$set(t.cut,"planeLength",e)},expression:"cut.planeLength"}})],1),t._v(" "),i("li",{directives:[{name:"show",rawName:"v-show",value:0===t.cut.Style,expression:"cut.Style===0"}]},[i("span",[t._v("Plane Width")]),t._v(" "),i("el-input-number",{staticStyle:{width:"178px"},attrs:{size:"mini",precision:2,min:0},model:{value:t.cut.planeWidth,callback:function(e){t.$set(t.cut,"planeWidth",e)},expression:"cut.planeWidth"}})],1),t._v(" "),i("li",{directives:[{name:"show",rawName:"v-show",value:1===t.cut.Style,expression:"cut.Style===1"}]},[i("span",[t._v("Plane")]),t._v(" "),i("el-input",{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("cutPlane","Plane")}},model:{value:t.cutPlane.val,callback:function(e){t.$set(t.cutPlane,"val",e)},expression:"cutPlane.val"}})],1),t._v(" "),i("p",{staticClass:"disflex justcenter"},[i("el-button",{attrs:{size:"mini"}},[t._v("Apply")])],1)],1):t._e()]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:0===t.action.value,expression:"action.value===0"}],staticClass:"geObj"},[i("div",{directives:[{name:"show",rawName:"v-show",value:0===t.object.value,expression:"object.value === 0"}],staticClass:"yxfbox param"},[i("span",{staticClass:"yxspan"},[t._v(t._s(t.$t("Bladesign.geometry.parameterized")))]),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.aSection")))]),t._v(" "),i("el-select",{staticClass:"inpt178",attrs:{size:"mini"},model:{value:t.AirparaName,callback:function(e){t.AirparaName=e},expression:"AirparaName"}},t._l(t.Airparas,(function(e,a){return i("el-option",{directives:[{name:"show",rawName:"v-show",value:0!==a||!t.optFlog,expression:"i===0&&optFlog?false:true"}],key:a+"a",attrs:{label:e,value:a}})})),1)],1),t._v(" "),t._l(t.AirData,(function(e,a){return i("div",{directives:[{name:"show",rawName:"v-show",value:a===t.AirparaName,expression:"n===AirparaName"}],key:a+"spar"},[i("h3",[t._v("[Skin]")]),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.outline")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:e.outlinepath,callback:function(i){t.$set(e,"outlinepath",i)},expression:"obj.outlinepath"}},t._l(t.airOutline,(function(t,e){return i("el-option",{key:e,attrs:{label:t,value:t}})})),1)],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.cLength")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,precision:2,step:1},model:{value:e.chordlength,callback:function(i){t.$set(e,"chordlength",i)},expression:"obj.chordlength"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.rLength")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,precision:2,step:1},model:{value:e.rotorlength,callback:function(i){t.$set(e,"rotorlength",i)},expression:"obj.rotorlength"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.layer")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},on:{change:function(i){return t.layerNum(e.layertype,"Skin",e,a)}},model:{value:e.layertype,callback:function(i){t.$set(e,"layertype",i)},expression:"obj.layertype"}},[i("el-option",{attrs:{label:"Uniform",value:0}}),t._v(" "),i("el-option",{attrs:{label:"Nonuniform",value:1}})],1)],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.number")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{disabled:1===e.layertype,size:"mini",min:1,step:1},model:{value:e.layernum,callback:function(i){t.$set(e,"layernum",i)},expression:"obj.layernum"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.thickness")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{disabled:1===e.layertype,size:"mini",min:0,precision:2,step:.01},model:{value:e.layerthick,callback:function(i){t.$set(e,"layerthick",i)},expression:"obj.layerthick"}})],1),t._v(" "),i("h3",[t._v("[Spar]")]),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.sType")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:e.spartype,callback:function(i){t.$set(e,"spartype",i)},expression:"obj.spartype"}},[i("el-option",{attrs:{label:"D-Spar",value:"D-Spar"}}),t._v(" "),i("el-option",{attrs:{label:"C-Spar",value:"C-Spar"}}),t._v(" "),i("el-option",{attrs:{label:"Box-Spar",value:"Box-Spar"}}),t._v(" "),i("el-option",{attrs:{label:"Arc-Spar",value:"Arc-Spar"}})],1)],1),t._v(" "),"D-Spar"===e.spartype?i("div",{staticClass:"DSpar"},[i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.sAWeb")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:e.dSpar.sAWeb,callback:function(i){t.$set(e.dSpar,"sAWeb",i)},expression:"obj.dSpar.sAWeb"}},[i("el-option",{attrs:{label:"D-Spar",value:0}}),t._v(" "),t._l(e.dSpar.dSAWeb,(function(t,e){return i("el-option",{key:e+"web",attrs:{label:t,value:e+1}})}))],2)],1),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:0===e.dSpar.sAWeb,expression:"obj.dSpar.sAWeb === 0"}],staticClass:"dSpar"},[i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.length")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,max:1,precision:2,step:.05},model:{value:e.dSpar.fsparlength,callback:function(i){t.$set(e.dSpar,"fsparlength",i)},expression:"obj.dSpar.fsparlength"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.angle")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,step:1},model:{value:e.dSpar.angle,callback:function(i){t.$set(e.dSpar,"angle",i)},expression:"obj.dSpar.angle"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.layer")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},on:{change:function(i){return t.layerNum(t.DSpar.dSpar.Layer,"D-Spar",e,a)}},model:{value:e.dSpar.layertype,callback:function(i){t.$set(e.dSpar,"layertype",i)},expression:"obj.dSpar.layertype"}},[i("el-option",{attrs:{label:"Uniform",value:0}}),t._v(" "),i("el-option",{attrs:{label:"Nonuniform",value:1}})],1)],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.number")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{disabled:1===e.dSpar.layertype,size:"mini",min:1,step:1},model:{value:e.dSpar.layernum,callback:function(i){t.$set(e.dSpar,"layernum",i)},expression:"obj.dSpar.layernum"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.thickness")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{disabled:1===e.dSpar.layertype,size:"mini",min:0,precision:2,step:.01},model:{value:e.dSpar.layerthick,callback:function(i){t.$set(e.dSpar,"layerthick",i)},expression:"obj.dSpar.layerthick"}})],1)]),t._v(" "),t._l(e.DwebList,(function(s,n){return i("div",{directives:[{name:"show",rawName:"v-show",value:n===e.dSpar.sAWeb-1,expression:"i === obj.dSpar.sAWeb - 1"}],key:n+"web",staticClass:"dSWeb"},[i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.length")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,max:1,precision:2,step:.05},model:{value:s.fsparlength,callback:function(e){t.$set(s,"fsparlength",e)},expression:"val.fsparlength"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.angle")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,step:1},model:{value:s.fangle,callback:function(e){t.$set(s,"fangle",e)},expression:"val.fangle"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.wGrowth")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:s.orientation,callback:function(e){t.$set(s,"orientation",e)},expression:"val.orientation"}},[i("el-option",{attrs:{label:"LeftToRight",value:0}}),t._v(" "),i("el-option",{attrs:{label:"RightToLeft",value:1}})],1)],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.layer")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},on:{change:function(i){return t.layerNum(s.layertype,"dWeb",e,a,n)}},model:{value:s.layertype,callback:function(e){t.$set(s,"layertype",e)},expression:"val.layertype"}},[i("el-option",{attrs:{label:"Uniform",value:0}}),t._v(" "),i("el-option",{attrs:{label:"Nonuniform",value:1}})],1)],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.number")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{disabled:1===s.layertype,size:"mini",min:1,step:1},model:{value:s.layernum,callback:function(e){t.$set(s,"layernum",e)},expression:"val.layernum"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.thickness")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{disabled:1===s.layertype,size:"mini",min:0,precision:2,step:.01},model:{value:s.layerthick,callback:function(e){t.$set(s,"layerthick",e)},expression:"val.layerthick"}})],1)])}))],2):t._e(),t._v(" "),"C-Spar"===e.spartype?i("div",{staticClass:"CSpar"},[i("li",[i("span",[t._v("Webs")]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:e.cSpar.webs1,callback:function(i){t.$set(e.cSpar,"webs1",i)},expression:"obj.cSpar.webs1"}},t._l(e.cSpar.csparWeb,(function(t,e){return i("el-option",{key:e+"web",attrs:{label:t,value:e}})})),1)],1),t._v(" "),t._l(e.CwebList,(function(s,n){return i("div",{directives:[{name:"show",rawName:"v-show",value:e.cSpar.webs1===n,expression:"obj.cSpar.webs1 === i"}],key:n+"web",staticClass:"cspars"},[i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.length")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,max:1,precision:2,step:.05},model:{value:s.fsparlength,callback:function(e){t.$set(s,"fsparlength",e)},expression:"val.fsparlength"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.blength")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,max:1,precision:2,step:.05},model:{value:s.webbonelength,callback:function(e){t.$set(s,"webbonelength",e)},expression:"val.webbonelength"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.angle")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,step:1},model:{value:s.fangle,callback:function(e){t.$set(s,"fangle",e)},expression:"val.fangle"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.wGrowth")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:s.orientation,callback:function(e){t.$set(s,"orientation",e)},expression:"val.orientation"}},[i("el-option",{attrs:{label:"LeftToRight",value:0}}),t._v(" "),i("el-option",{attrs:{label:"RightToLeft",value:1}})],1)],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.layer")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},on:{change:function(i){return t.layerNum(s.layertype,"cWeb",e,a,n)}},model:{value:s.layertype,callback:function(e){t.$set(s,"layertype",e)},expression:"val.layertype"}},[i("el-option",{attrs:{label:"Uniform",value:0}}),t._v(" "),i("el-option",{attrs:{label:"Nonuniform",value:1}})],1)],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.number")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{disabled:1===s.layertype,size:"mini",min:1,step:1},model:{value:s.layernum,callback:function(e){t.$set(s,"layernum",e)},expression:"val.layernum"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.thickness")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{disabled:1===s.layertype,size:"mini",min:0,precision:2,step:.01},model:{value:s.layerthick,callback:function(e){t.$set(s,"layerthick",e)},expression:"val.layerthick"}})],1)])}))],2):t._e(),t._v(" "),"Box-Spar"===e.spartype?i("div",{staticClass:"BoxSpar"},[i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.sAWeb")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:e.boxSAWeb,callback:function(i){t.$set(e,"boxSAWeb",i)},expression:"obj.boxSAWeb"}},t._l(e.boxSAWeb2,(function(t,e){return i("el-option",{key:e,attrs:{label:t,value:t}})})),1)],1),t._v(" "),t._l(e.BoxwebList,(function(s,n){return i("div",{directives:[{name:"show",rawName:"v-show",value:"BoxSparWeb_"+(n+1)===e.boxSAWeb,expression:"`BoxSparWeb_${i + 1}` === obj.boxSAWeb"}],key:n+"a",staticClass:"BoxSparWeb"},[i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.sLength")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,max:1,precision:2,step:.05},model:{value:s.sparlength,callback:function(e){t.$set(s,"sparlength",e)},expression:"val.sparlength"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.rvpos")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,max:1,precision:2,step:.05},model:{value:s.rvpos,callback:function(e){t.$set(s,"rvpos",e)},expression:"val.rvpos"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.outWeb")))]),t._v(" "),i("el-select",{attrs:{size:"mini",disabled:""},model:{value:s.isOutside_,callback:function(e){t.$set(s,"isOutside_",e)},expression:"val.isOutside_"}},[i("el-option",{attrs:{label:"No",value:!1}})],1)],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.length")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,max:1,precision:2,step:.05},model:{value:s.length,callback:function(e){t.$set(s,"length",e)},expression:"val.length"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.blength")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,max:1,precision:2,step:.05},model:{value:s.webbonelength,callback:function(e){t.$set(s,"webbonelength",e)},expression:"val.webbonelength"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.angle")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,step:1},model:{value:s.fangle,callback:function(e){t.$set(s,"fangle",e)},expression:"val.fangle"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.wGrowth")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:s.orientation,callback:function(e){t.$set(s,"orientation",e)},expression:"val.orientation"}},[i("el-option",{attrs:{label:"LeftToRight",value:0}}),t._v(" "),i("el-option",{attrs:{label:"RightToLeft",value:1}})],1)],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.layer")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},on:{change:function(i){return t.layerNum(s.layertype,"bWeb",e,a,n)}},model:{value:s.layertype,callback:function(e){t.$set(s,"layertype",e)},expression:"val.layertype"}},[i("el-option",{attrs:{label:"Uniform",value:0}}),t._v(" "),i("el-option",{attrs:{label:"Nonuniform",value:1}})],1)],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.number")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{disabled:1===s.layertype,size:"mini",min:1,step:1},model:{value:s.layernum,callback:function(e){t.$set(s,"layernum",e)},expression:"val.layernum"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.thickness")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{disabled:1===s.layertype,size:"mini",min:0,precision:2,step:.01},model:{value:s.layerthick,callback:function(e){t.$set(s,"layerthick",e)},expression:"val.layerthick"}})],1)])})),t._v(" "),t._l(e.boxSpars,(function(s,n){return i("div",{directives:[{name:"show",rawName:"v-show",value:"Spar_"+(n+1)===e.boxSAWeb,expression:"`Spar_${i + 1}` === obj.boxSAWeb"}],key:n+"b",staticClass:"spar"},[i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.sLength")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,max:1,precision:2,step:.05},model:{value:s.sparlength,callback:function(e){t.$set(s,"sparlength",e)},expression:"item.sparlength"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.rvpos")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,max:1,precision:2,step:.05},model:{value:s.rvpos,callback:function(e){t.$set(s,"rvpos",e)},expression:"item.rvpos"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.layer")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},on:{change:function(i){return t.layerNum(s.layertype,"bSpar",e,a,n)}},model:{value:s.layertype,callback:function(e){t.$set(s,"layertype",e)},expression:"item.layertype"}},[i("el-option",{attrs:{label:"Uniform",value:0}}),t._v(" "),i("el-option",{attrs:{label:"Nonuniform",value:1}})],1)],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.number")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{disabled:1===s.layertype,size:"mini",min:1,step:1},model:{value:s.layernum,callback:function(e){t.$set(s,"layernum",e)},expression:"item.layernum"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.thickness")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{disabled:1===s.layertype,size:"mini",min:0,precision:2,step:.01},model:{value:s.layerthick,callback:function(e){t.$set(s,"layerthick",e)},expression:"item.layerthick"}})],1)])}))],2):t._e(),t._v(" "),"Arc-Spar"===e.spartype?i("div",{staticClass:"ArcSpar"},[i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.sLength")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,max:1,precision:2,step:.05},model:{value:e.arcSpar.sparlength1,callback:function(i){t.$set(e.arcSpar,"sparlength1",i)},expression:"obj.arcSpar.sparlength1"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.s2Length")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,max:1,precision:2,step:.05},model:{value:e.arcSpar.sparlength2,callback:function(i){t.$set(e.arcSpar,"sparlength2",i)},expression:"obj.arcSpar.sparlength2"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.curvature")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,precision:2,step:.01},model:{value:e.arcSpar.curvature,callback:function(i){t.$set(e.arcSpar,"curvature",i)},expression:"obj.arcSpar.curvature"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.rvpos")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:0,max:1,precision:2,step:.05},model:{value:e.arcSpar.rvpos,callback:function(i){t.$set(e.arcSpar,"rvpos",i)},expression:"obj.arcSpar.rvpos"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.layer")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},on:{change:function(i){return t.layerNum(e.arcSpar.layertype,"Arc-Spar",e,a)}},model:{value:e.arcSpar.layertype,callback:function(i){t.$set(e.arcSpar,"layertype",i)},expression:"obj.arcSpar.layertype"}},[i("el-option",{attrs:{label:"Uniform",value:0}}),t._v(" "),i("el-option",{attrs:{label:"Nonuniform",value:1}})],1)],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.number")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{disabled:1===e.arcSpar.layertype,size:"mini",min:1,step:1},model:{value:e.arcSpar.layernum,callback:function(i){t.$set(e.arcSpar,"layernum",i)},expression:"obj.arcSpar.layernum"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.geometry.thickness")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{disabled:1===e.arcSpar.layertype,size:"mini",min:0,precision:2,step:.01},model:{value:e.arcSpar.layerthick,callback:function(i){t.$set(e.arcSpar,"layerthick",i)},expression:"obj.arcSpar.layerthick"}})],1)]):t._e(),t._v(" "),"Arc-Spar"!==e.spartype?i("li",{staticClass:"ads4"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(i){return t.addWeb(e)}}},[t._v("Add Web")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(i){return t.deleteWeb(e)}}},[t._v("Delete Web")])],1):t._e(),t._v(" "),i("li",{staticClass:"ads4"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(i){return t.deleteAir(e)}}},[t._v("Start")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"}},[t._v("Stop")])],1),t._v(" "),t.optFlog?i("li",{staticClass:"ads4"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.tomats()}}},[t._v("Materials")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"}},[t._v("Cancel")])],1):t._e()])}))],2),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:1===t.object.value,expression:"object.value === 1"}],staticClass:"geoPoint yxfbox geoObj"},[i("span",{staticClass:"yxspan"},[t._v("Point")]),t._v(" "),i("li",[i("span",[t._v("Method")]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.Point.methods.value,callback:function(e){t.$set(t.Point.methods,"value",e)},expression:"Point.methods.value"}},t._l(t.Point.methods.data,(function(t,e){return i("el-option",{key:e,attrs:{label:t,value:e}})})),1)],1),t._v(" "),i("li",[i("span",[t._v("Name")]),t._v(" "),i("el-input",{attrs:{size:"mini"},model:{value:t.Point.name,callback:function(e){t.$set(t.Point,"name",e)},expression:"Point.name"}})],1),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:0===t.Point.methods.value,expression:"Point.methods.value === 0"}]},t._l(t.Point.xyz,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",{attrs:{size:"mini"},model:{value:e.num,callback:function(i){t.$set(e,"num",i)},expression:"val.num"}})],1)})),0),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:1===t.Point.methods.value,expression:"Point.methods.value === 1"}]},t._l(t.Point.offset,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",0===a?{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("pntOf","Point")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}}:{attrs:{size:"mini"},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:2===t.Point.methods.value,expression:"Point.methods.value === 2"}]},t._l(t.Point.interpolate,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),0===a?i("el-input",{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("pntInp1","Point")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}}):1===a?i("el-input",{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("pntInp2","Point")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}}):i("el-input-number",{staticStyle:{width:"165px"},attrs:{size:"mini",precision:2,step:.1,min:0,max:1},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:3===t.Point.methods.value,expression:"Point.methods.value === 3"}]},t._l(t.Point.Project,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",0===a?{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("pntPro1","Point")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}}:{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("pntPro2","Curve")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:4===t.Point.methods.value,expression:"Point.methods.value === 4"}]},t._l(t.Point.Extract,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",0===a?{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("pntExt","Curve")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}}:{attrs:{size:"mini"},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:5===t.Point.methods.value,expression:"Point.methods.value === 5"}]},t._l(t.Point.Intersect,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",0===a?{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("pntIns1","Curve")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}}:{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("pntIns2","Curve")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0),t._v(" "),i("p",{staticClass:"disflex justcenter"},[i("el-button",{attrs:{size:"mini"},on:{click:function(e){return t.plyPoint()}}},[t._v("Apply")])],1)]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:2===t.object.value,expression:"object.value === 2"}],staticClass:"geoLine yxfbox geoObj"},[i("span",{staticClass:"yxspan"},[t._v("Line")]),t._v(" "),i("li",[i("span",[t._v("Method")]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.Line.methods.value,callback:function(e){t.$set(t.Line.methods,"value",e)},expression:"Line.methods.value"}},t._l(t.Line.methods.data,(function(t,e){return i("el-option",{key:e,attrs:{label:t,value:e}})})),1)],1),t._v(" "),i("li",[i("span",[t._v("Name")]),t._v(" "),i("el-input",{attrs:{size:"mini"},model:{value:t.Line.name,callback:function(e){t.$set(t.Line,"name",e)},expression:"Line.name"}})],1),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:0===t.Line.methods.value,expression:"Line.methods.value === 0"}]},t._l(t.Line.points,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),0===a?i("el-checkbox",{attrs:{size:"mini"},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}}):i("el-input",{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("linePnts","Point",1)}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:1===t.Line.methods.value,expression:"Line.methods.value === 1"}]},t._l(t.Line.Normal,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",0===a?{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("lineNor1","Point")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}}:{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("lineNor2","Curve")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0),t._v(" "),i("p",{staticClass:"disflex justcenter"},[i("el-button",{attrs:{size:"mini"},on:{click:function(e){return t.plyLine()}}},[t._v("Apply")])],1)]),t._v(" "),3===t.object.value?i("div",{staticClass:"geoArc yxfbox geoObj"},[i("span",{staticClass:"yxspan"},[t._v("Arc")]),t._v(" "),i("li",[i("span",[t._v("Method")]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.Arc.methods.value,callback:function(e){t.$set(t.Arc.methods,"value",e)},expression:"Arc.methods.value"}},t._l(t.Arc.methods.data,(function(t,e){return i("el-option",{key:e,attrs:{label:t,value:e}})})),1)],1),t._v(" "),i("li",[i("span",[t._v("Name")]),t._v(" "),i("el-input",{attrs:{size:"mini"},model:{value:t.Arc.name,callback:function(e){t.$set(t.Arc,"name",e)},expression:"Arc.name"}})],1),t._v(" "),0===t.Arc.methods.value?i("div",t._l(t.Arc.arc1,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("arc1"+a,"Point")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0):t._e(),t._v(" "),1===t.Arc.methods.value?i("div",t._l(t.Arc.arc2,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),3===a?i("el-checkbox",{attrs:{size:"mini"},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}}):i("el-input",{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("arc2"+a,"Point")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0):t._e(),t._v(" "),2===t.Arc.methods.value?i("div",t._l(t.Arc.arc3,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("arc3"+a,"Point")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0):t._e(),t._v(" "),3===t.Arc.methods.value?i("div",t._l(t.Arc.arc4,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("arc4"+a,"Point")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0):t._e(),t._v(" "),4===t.Arc.methods.value?i("div",t._l(t.Arc.arc5,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("arc5"+a,"Point")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0):t._e(),t._v(" "),5===t.Arc.methods.value?i("div",t._l(t.Arc.arc6,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",0===a?{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("arc6","Point")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}}:{attrs:{size:"mini"},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0):t._e(),t._v(" "),6===t.Arc.methods.value?i("div",t._l(t.Arc.arc7,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("arc7"+a,"Point")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0):t._e(),t._v(" "),i("p",{staticClass:"disflex justcenter"},[i("el-button",{attrs:{size:"mini"},on:{click:function(e){return t.plyArc()}}},[t._v("Apply")])],1)]):t._e(),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:4===t.object.value,expression:"object.value === 4"}],staticClass:"geoCurve yxfbox geoObj"},[i("span",{staticClass:"yxspan"},[t._v("Curve")]),t._v(" "),i("li",[i("span",[t._v("Method")]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.Curve.methods.value,callback:function(e){t.$set(t.Curve.methods,"value",e)},expression:"Curve.methods.value"}},t._l(t.Curve.methods.data,(function(t,e){return i("el-option",{key:e,attrs:{label:t,value:e}})})),1)],1),t._v(" "),i("li",[i("span",[t._v("Name")]),t._v(" "),i("el-input",{attrs:{size:"mini"},model:{value:t.Curve.name,callback:function(e){t.$set(t.Curve,"name",e)},expression:"Curve.name"}})],1),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:0===t.Curve.methods.value,expression:"Curve.methods.value === 0"}]},t._l(t.Curve.BSpline,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),0===a?i("el-checkbox",{model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}}):i("el-input",{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("CurveBS","Point",1)}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:1===t.Curve.methods.value,expression:"Curve.methods.value === 1"}]},t._l(t.Curve.Bezier,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("CurveBe"+a,"Point")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:2===t.Curve.methods.value,expression:"Curve.methods.value === 2"}]},t._l(t.Curve.Chain,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("CurveCh","Curve",1)}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:3===t.Curve.methods.value,expression:"Curve.methods.value === 3"}]},t._l(t.Curve.Refit,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",{attrs:{size:"mini"},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:4===t.Curve.methods.value,expression:"Curve.methods.value === 4"}]},t._l(t.Curve.Offset,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",0===a?{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("CurveOf","Curve")}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}}:{attrs:{size:"mini"},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0),t._v(" "),i("p",{staticClass:"disflex justcenter"},[i("el-button",{attrs:{size:"mini"},on:{click:function(e){return t.plyCurve()}}},[t._v("Apply")])],1)]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:5===t.object.value,expression:"object.value === 5"}],staticClass:"geoFace yxfbox geoObj"},[i("span",{staticClass:"yxspan"},[t._v("Face")]),t._v(" "),i("li",[i("span",[t._v("Method")]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.Face.methods.value,callback:function(e){t.$set(t.Face.methods,"value",e)},expression:"Face.methods.value"}},t._l(t.Face.methods.data,(function(t,e){return i("el-option",{key:e,attrs:{label:t,value:e}})})),1)],1),t._v(" "),i("li",[i("span",[t._v("Name")]),t._v(" "),i("el-input",{attrs:{size:"mini"},model:{value:t.Face.name,callback:function(e){t.$set(t.Face,"name",e)},expression:"Face.name"}})],1),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:0===t.Face.methods.value,expression:"Face.methods.value === 0"}]},t._l(t.Face.Points,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("FacePnts","Point",1)}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:1===t.Face.methods.value,expression:"Face.methods.value === 1"}]},t._l(t.Face.Curves,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("FaceCurs","Curve",1)}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:2===t.Face.methods.value,expression:"Face.methods.value === 2"}]},t._l(t.Face.ClosedCurves,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",{attrs:{size:"mini",readonly:!0},on:{focus:function(e){return t.dialogShow("FaceCloCur","Curve",1)}},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0),t._v(" "),i("p",{staticClass:"disflex justcenter"},[i("el-button",{attrs:{size:"mini"}},[t._v("Apply")])],1)]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:6===t.object.value,expression:"object.value === 6"}],staticClass:"geoPlane yxfbox geoObj"},[i("span",{staticClass:"yxspan"},[t._v("Plane")]),t._v(" "),i("li",[i("span",[t._v("Method")]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.Plane.methods.value,callback:function(e){t.$set(t.Plane.methods,"value",e)},expression:"Plane.methods.value"}},t._l(t.Plane.methods.data,(function(t,e){return i("el-option",{key:e,attrs:{label:t,value:e}})})),1)],1),t._v(" "),i("li",[i("span",[t._v("Name")]),t._v(" "),i("el-input",{attrs:{size:"mini"},model:{value:t.Plane.name,callback:function(e){t.$set(t.Plane,"name",e)},expression:"Plane.name"}})],1),t._v(" "),i("li",[i("span",[t._v("Length")]),t._v(" "),i("el-input",{attrs:{size:"mini"},model:{value:t.Plane.length,callback:function(e){t.$set(t.Plane,"length",e)},expression:"Plane.length"}})],1),t._v(" "),i("li",[i("span",[t._v("Width")]),t._v(" "),i("el-input",{attrs:{size:"mini"},model:{value:t.Plane.width,callback:function(e){t.$set(t.Plane,"width",e)},expression:"Plane.width"}})],1),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:0===t.Plane.methods.value,expression:"Plane.methods.value === 0"}]},t._l(t.Plane.Plane1,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",{attrs:{size:"mini"},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:1===t.Plane.methods.value,expression:"Plane.methods.value === 1"}]},t._l(t.Plane.Plane2,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",{attrs:{size:"mini"},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:2===t.Plane.methods.value,expression:"Plane.methods.value === 2"}]},t._l(t.Plane.Plane3,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",{attrs:{size:"mini"},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:3===t.Plane.methods.value,expression:"Plane.methods.value === 3"}]},t._l(t.Plane.Plane4,(function(e,a){return i("li",{key:a},[i("span",[t._v(t._s(e.x))]),t._v(" "),i("el-input",{attrs:{size:"mini"},model:{value:e.val,callback:function(i){t.$set(e,"val",i)},expression:"item.val"}})],1)})),0),t._v(" "),i("p",{staticClass:"disflex justcenter"},[i("el-button",{attrs:{size:"mini"}},[t._v("Apply")])],1)]),t._v(" "),7===t.object.value?i("div",{staticClass:"geoBeam yxfbox geoObj"},[i("span",{staticClass:"yxspan"},[t._v("Beam")]),t._v(" "),i("div",{staticClass:"yxfbox"},[i("span",{staticClass:"yxspan"},[t._v("Key Points")]),t._v(" "),i("el-table",{ref:"beamPnt",staticStyle:{width:"100%",height:"'400px'"},attrs:{data:t.Beam.beamPnt,size:"mini"},on:{"selection-change":t.beamPntAll}},[i("el-table-column",{attrs:{type:"selection",width:"35"}}),t._v(" "),i("el-table-column",{attrs:{type:"index",label:"ID",align:"center",width:"60"}}),t._v(" "),i("el-table-column",{attrs:{property:"name",align:"center",label:"Name"}})],1),t._v(" "),i("li",{staticClass:"flexSa"},[i("el-button",{attrs:{size:"mini"},on:{click:function(e){return t.dialogShow("BeamPnt","Point",1)}}},[t._v("Add")]),t._v(" "),i("el-button",{attrs:{size:"mini"},on:{click:function(e){return t.beamDelete("Point")}}},[t._v("Delete")])],1)],1),t._v(" "),i("div",{staticClass:"yxfbox"},[i("span",{staticClass:"yxspan"},[t._v("Members")]),t._v(" "),i("el-table",{ref:"beamLine",staticStyle:{width:"100%",height:"'400px'"},attrs:{data:t.Beam.beamLine,size:"mini"},on:{"selection-change":t.beamLineAll}},[i("el-table-column",{attrs:{type:"selection",width:"35"}}),t._v(" "),i("el-table-column",{attrs:{type:"index",label:"ID",align:"center",width:"60"}}),t._v(" "),i("el-table-column",{attrs:{property:"name",align:"center",label:"Name"}}),t._v(" "),i("el-table-column",{attrs:{property:"startPoint",align:"center",width:"86",label:"Start Point"}}),t._v(" "),i("el-table-column",{attrs:{property:"endPoint",align:"center",label:"End Point"}})],1),t._v(" "),i("li",{staticClass:"flexSa"},[i("el-button",{attrs:{size:"mini"},on:{click:function(e){return t.beamAddLine()}}},[t._v("Add")]),t._v(" "),i("el-button",{attrs:{size:"mini"},on:{click:function(e){return t.beamDelete("Line")}}},[t._v("Delete")])],1)],1),t._v(" "),i("li",{staticClass:"disflex justcenter"},[i("el-button",{attrs:{size:"mini"}},[t._v("Apply")])],1)]):t._e()]),t._v(" "),i("el-dialog",{attrs:{title:t.pntDataType,visible:t.dialog.pntdialog,"close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!1,width:"550px",center:""},on:{"update:visible":function(e){return t.$set(t.dialog,"pntdialog",e)}}},[i("el-table",{ref:"singleTable",staticStyle:{width:"100%"},attrs:{data:t.dataType,"highlight-current-row":"",size:"mini"},on:{"current-change":t.handleCurrentChange,"selection-change":t.handleSelectionChange}},[1===t.dialogs?i("el-table-column",{attrs:{type:"selection",width:"55"}}):t._e(),t._v(" "),i("el-table-column",{attrs:{property:"name",label:"Geometry Name",width:"140"}}),t._v(" "),i("el-table-column",{attrs:{prop:"geometryid",label:"Geometry ID",align:"center",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("span",[t._v(t._s(-1===e.row.geometryid?"":e.row.geometryid))])]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"threeobj",align:"center",label:"threeobj"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("span",[t._v(t._s(t.objData(e.row.threeobj)))])]}}])})],1),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.dialogOk()}}},[t._v("OK")]),t._v(" "),i("el-button",{attrs:{size:"mini"},on:{click:function(e){t.dialog.pntdialog=!1}}},[t._v("Cenel")])],1)],1),t._v(" "),i("el-dialog",{attrs:{title:t.layertitle,visible:t.dialog.layer,"close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!1,width:"550px",center:""},on:{"update:visible":function(e){return t.$set(t.dialog,"layer",e)}}},[i("el-table",{ref:"skinLayer",staticStyle:{width:"100%"},attrs:{data:t.skinLayer.tabelData,"highlight-current-row":"","row-class-name":t.tableRowClassName,size:"mini"},on:{"current-change":t.layerRow}},[i("el-table-column",{attrs:{type:"index",width:"50"}}),t._v(" "),i("el-table-column",{attrs:{property:"begin",label:"Layer Begin",width:"100"}}),t._v(" "),i("el-table-column",{attrs:{prop:"end",label:"Layer End",align:"center",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-input",{attrs:{size:"mini"},on:{change:function(i){return t.setIpt(e.row)}},model:{value:e.row.end,callback:function(i){t.$set(e.row,"end",i)},expression:"scope.row.end"}})]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"thickness",align:"center",label:"Thickness",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-input",{attrs:{size:"mini"},on:{change:function(i){return t.setIptnum(e.row)}},model:{value:e.row.thickness,callback:function(i){t.$set(e.row,"thickness",i)},expression:"scope.row.thickness"}})]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"num",align:"center",label:"Total Number"}})],1),t._v(" "),i("li",{staticClass:"span120"},[i("span",[t._v("Layer Amount")]),t._v(" "),i("el-input",{attrs:{size:"mini",readonly:!0},model:{value:t.skinLayer.layerAmount,callback:function(e){t.$set(t.skinLayer,"layerAmount",e)},expression:"skinLayer.layerAmount"}})],1),t._v(" "),i("li",{staticClass:"span120"},[i("span",[t._v("Total Thickness")]),t._v(" "),i("el-input",{attrs:{size:"mini",readonly:!0},model:{value:t.skinLayer.totalThickness,callback:function(e){t.$set(t.skinLayer,"totalThickness",e)},expression:"skinLayer.totalThickness"}})],1),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{size:"mini"},on:{click:function(e){return t.insert()}}},[t._v("Insert")]),t._v(" "),i("el-button",{attrs:{size:"mini"},on:{click:function(e){return t.layerDelete()}}},[t._v("Delete")]),t._v(" "),i("el-button",{attrs:{size:"mini"},on:{click:function(e){return t.layerAply()}}},[t._v("Apply")]),t._v(" "),i("el-button",{attrs:{size:"mini"},on:{click:function(e){t.dialog.layer=!1}}},[t._v("Cenel")])],1)],1)],1)},se=[],ne=i("b85c"),re={data:function(){return{dialogs:0,dialogsData:[],projectId:"",objIndex:"",objWebi:"",optFlog:!1,pntData:[],curData:[],planData:[],airStData:[],pntDataType:"",okFlog:"",layerFlog:"",action:{title:"Action",value:0,data:[{name:"Create",val:0},{name:"Translate",val:1},{name:"Rotate",val:2},{name:"Scale",val:3},{name:"Cut",val:4}]},object:{title:"Object",value:0,data:[{name:"Airfoil",val:0},{name:"Point",val:1},{name:"Line",val:2},{name:"Arc",val:3},{name:"Curve",val:4},{name:"Face",val:5},{name:"Plane",val:6},{name:"Beam",val:7}]},airOutline:["2032c","naca1408","naca1410","naca1412","naca2411","s1048","s4310","s4320","s7055","s7075","SC1095","VR-8"],skinLayer:{tabelData:[],layerAmount:"",totalThickness:""},skinLayerRow:null,Translate:[{name:"Point1",val:"",obj:""},{name:"Point2",val:"",obj:""}],translatePut:"",Rotate:[{name:"Point1",val:"",obj:""},{name:"Angle",val:""}],rotatePut:"",scalePut:"",scaleFactor:{name:"Scale Factor",val:""},cut:{Orient:["FrontToBack","TopToBottom","LeftToRight"],Name:"",Style:0,Put:"",Orientation:0,Percent:0,planeLength:0,planeWidth:0},cutPlane:{val:"",obj:""},Point:{methods:{value:0,data:["X-Y-Z","Offset","Interpolate","Project","Extract","Intersect"]},name:"",xyz:[{x:"x",num:""},{x:"y",num:""},{x:"z",num:""}],offset:[{x:"Point",val:"",obj:""},{x:"DY",val:""},{x:"DZ",val:""}],interpolate:[{x:"Point1",val:"",obj:""},{x:"Point2",val:"",obj:""},{x:"Parameter",val:0}],Project:[{x:"Point",val:"",obj:""},{x:"Curve",val:"",obj:""}],Extract:[{x:"Curve",val:"",obj:""},{x:"Parameter",val:""}],Intersect:[{x:"Curve1",val:"",obj:""},{x:"Curve2",val:"",obj:""}]},Line:{methods:{value:0,data:["Points","Normal"]},name:"",points:[{x:"Closed",val:!1},{x:"Points",val:"",obj:[]}],Normal:[{x:"Point",val:"",obj:""},{x:"Curve",val:"",obj:""}]},Arc:{methods:{value:0,data:["CircleArcByThreePnts","CircleArcByCenterAndTwoPnts","EllipseArcByCenterAndTwoPnts","CircleByThreePnts","CircleByCenterAndTwoPnts","CircleByCenterAndRadius","EllipseByCenterAndTwoPnts"]},name:"",arc1:[{x:"Point1",val:"",obj:""},{x:"Point2",val:"",obj:""},{x:"Point3",val:"",obj:""}],arc2:[{x:"Center",val:"",obj:""},{x:"Point1",val:"",obj:""},{x:"Point2",val:"",obj:""},{x:"Sense",val:!1}],arc3:[{x:"Center",val:"",obj:""},{x:"Point1",val:"",obj:""},{x:"Point2",val:"",obj:""}],arc4:[{x:"Point1",val:"",obj:""},{x:"Point2",val:"",obj:""},{x:"Point3",val:"",obj:""}],arc5:[{x:"Center",val:"",obj:""},{x:"Point1",val:"",obj:""},{x:"Point2",val:"",obj:""}],arc6:[{x:"Center",val:"",obj:""},{x:"Radius",val:""}],arc7:[{x:"Center",val:"",obj:""},{x:"Point1",val:"",obj:""},{x:"Point2",val:"",obj:""}]},Curve:{methods:{value:0,data:["BSpline","Bezier","Chain","Refit","Offset"]},name:"",BSpline:[{x:"Closed",val:!1},{x:"Points",val:"",obj:""}],Bezier:[{x:"Point1",val:"",obj:""},{x:"Point2",val:"",obj:""},{x:"Point3",val:"",obj:""}],Chain:[{x:"Curves",val:"",obj:""}],Refit:[{x:"Center",val:""},{x:"Start",val:""},{x:"End",val:""}],Offset:[{x:"Curve",val:"",obj:""},{x:"Dist",val:""}]},Face:{methods:{value:0,data:["Points","Curves","ClosedCurves"]},name:"",Points:[{x:"Points",val:"",obj:""}],Curves:[{x:"Curves",val:"",obj:""}],ClosedCurves:[{x:"Curves",val:"",obj:""}]},Plane:{methods:{value:0,data:["ByPintAndVector","ByThreePnts","ByFace","ByTwoVectors"]},name:"",length:"",width:"",Plane1:[{x:"Point",val:""},{x:"Normal",val:""}],Plane2:[{x:"Point1",val:""},{x:"Point2",val:""},{x:"Point3",val:""}],Plane3:[{x:"Face",val:""}],Plane4:[{x:"Line1",val:""},{x:"Line2",val:""}]},Beam:{beamPnt:[],beamLine:[],pntAll:[],lineAll:[]},Airparas:["New"],AirparaName:0,AirData:[{name:"New",airId:"",spartype:"D-Spar",outlinepath:"",chordlength:"",rotorlength:"",skinlayernum:"",layertype:0,layernum:"",layerthick:"",skinthickness:[10,.5],boxSAWeb:"Spar_1",boxSAWeb2:["Spar_1","Spar_2","BoxSparWeb_1","BoxSparWeb_2"],arcSpar:{name:"",rvpos:"",sparlength1:"",sparlength2:"",curvature:"",layertype:0,layernum:"",layerthick:"",thickness:[10,.5]},dSpar:{sAWeb:0,dSAWeb:[],fsparlength:"",layertype:0,layernum:"",layerthick:"",angle:"",thickness:[10,.5]},boxSpars:[{name:"Spar_1",sparlength:"",rvpos:"",layertype:0,layernum:"",layerthick:"",thickness:[10,.5]},{name:"Spar_2",sparlength:"",rvpos:"",layertype:0,layernum:"",layerthick:"",thickness:[10,.5]}],cSpar:{webs1:0,csparWeb:["CSparWeb_1"]},DwebList:[],CwebList:[{name:"CSparWeb_1",fsparlength:"",fangle:"",orientation:0,webbonelength:"",layernum:"",layertype:0,layerthick:"",thickness:[10,.5]}],BoxwebList:[{name:"BoxSparWeb_1",sparlength:"",rvpos:"",isOutside_:!1,length:"",webbonelength:"",fangle:"",orientation:0,layertype:0,layernum:"",layerthick:"",thickness:[10,.5]},{name:"BoxSparWeb_2",sparlength:"",rvpos:"",isOutside_:!1,length:"",webbonelength:"",fangle:"",orientation:0,layertype:0,layernum:"",layerthick:"",thickness:[10,.5]}]}],deleteWebs:["Spar_1","Spar_2","BoxSparWeb_1","BoxSparWeb_2"],layertitle:"Skin Layer Setting",dialog:{pntdialog:!1,layer:!1}}},methods:{plyPoint:function(){var t=this,e=[],i={type:"Point",mateId:"",mateNo:"",layuporientation:"",fiberorientation:"",threeobj:""};switch(this.Point.name?i.name=this.Point.name:i.name="",this.Point.methods.value){case 0:this.Point.xyz.forEach((function(t){e.push(Number(t.num))}));break;case 1:var a=this.Point.offset[0].obj[0],s=this.Point.offset[0].obj[1]+Number(this.Point.offset[1].val),n=this.Point.offset[0].obj[2]+Number(this.Point.offset[2].val);e=[a,s,n];break;case 2:var r=this.Point.interpolate[2].val;if(0===r)e=this.Point.interpolate[0].obj;else if(1===r)e=this.Point.interpolate[1].obj;else{var o=(this.Point.interpolate[1].obj[0]-this.Point.interpolate[0].obj[0])*r+this.Point.interpolate[0].obj[0],l=(this.Point.interpolate[1].obj[1]-this.Point.interpolate[0].obj[1])*r+this.Point.interpolate[0].obj[1],u=(this.Point.interpolate[1].obj[2]-this.Point.interpolate[0].obj[2])*r+this.Point.interpolate[0].obj[2];e=[o,l,u]}break;case 3:var h=this.Point.Project[1].obj,d=this.Point.Project[0].obj;return void this.$emit("vabsPnt",h,d,this.Point.name,"Point");case 4:var p=this.Point.Extract[0].obj,m=this.Point.Extract[1].val;return void this.$emit("vabsPnt",p,!1,this.Point.name,"Point",m);case 5:var v=this.Point.Intersect[0].obj,f=this.Point.Intersect[1].obj;return void this.$emit("vabsMount",[v,f],"intersect");default:}i.threeobj=JSON.stringify(e),i.transCode="BDS005",i.projectId=sessionStorage.getItem("pid"),Object(c["c"])(i).then((function(e){t.$emit("getElementData")})).catch((function(t){}))},plyLine:function(){var t=this,e=[],i={type:"Line",mateId:"",mateNo:"",layuporientation:"",fiberorientation:"",threeobj:""};switch(this.Line.name?i.name=this.Line.name:i.name="",this.Line.methods.value){case 0:e=this.Line.points[1].obj,this.Line.points[0].val&&e.push(e[0]);break;case 1:var a=this.Line.Normal[1].obj,s=this.Line.Normal[0].obj;return void this.$emit("vabsPnt",a,s,this.Point.name,"Line");default:}i.threeobj=JSON.stringify(e),i.transCode="BDS005",i.projectId=sessionStorage.getItem("pid"),Object(c["c"])(i).then((function(e){t.$emit("getElementData")})).catch((function(t){}))},plyCurve:function(){var t=this,e={},i=[],a={type:"Curve",mateId:"",mateNo:"",layuporientation:"",fiberorientation:"",threeobj:""};switch(this.Curve.name?a.name=this.Curve.name:a.name="",this.Curve.methods.value){case 0:e.type="BSpline",e.close=this.Curve.BSpline[0].val,e.arr=this.Curve.BSpline[1].obj;break;case 1:e.type="Bezier",this.Curve.Bezier.forEach((function(t){i.push(t.obj)})),e.arr=i;break;case 4:var s=this.Curve.Offset[0].obj,n=Number(this.Curve.Offset[1].val);return void this.$emit("vabsMount",[s,n],"curOffset",a.name);default:}a.threeobj=JSON.stringify(e),a.transCode="BDS005",a.projectId=sessionStorage.getItem("pid"),Object(c["c"])(a).then((function(e){t.$emit("getElementData")})).catch((function(t){}))},plyArc:function(){var t=this,e={},i=[],a={type:"Arc",mateId:"",mateNo:"",layuporientation:"",fiberorientation:"",threeobj:""};switch(this.Arc.name?a.name=this.Arc.name:a.name="",this.Arc.methods.value){case 0:this.Arc.arc1.forEach((function(t){i.push(t.obj)})),e.type="arc1",e.arr=i;break;case 1:this.Arc.arc2.forEach((function(t){t.obj&&i.push(t.obj)})),e.type="arc2",e.sense=this.Arc.arc2[3].val,e.arr=i;break;case 2:this.Arc.arc3.forEach((function(t){i.push(t.obj)})),e.type="arc3",e.arr=i;break;case 3:this.Arc.arc4.forEach((function(t){i.push(t.obj)})),e.type="arc4",e.arr=i;break;case 4:this.Arc.arc5.forEach((function(t){i.push(t.obj)})),e.type="arc5",e.arr=i;break;case 5:e.type="arc6",e.radius=Number(this.Arc.arc6[1].val),e.arr=this.Arc.arc6[0].obj;break;case 6:this.Arc.arc7.forEach((function(t){i.push(t.obj)})),e.type="arc7",e.arr=i;break;default:}a.threeobj=JSON.stringify(e),a.transCode="BDS005",a.projectId=sessionStorage.getItem("pid"),Object(c["c"])(a).then((function(e){t.$emit("getElementData")})).catch((function(t){}))},dialogShow:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;this.pntDataType=e,this.dialog.pntdialog=!0,this.okFlog=t,this.dialogs=i},handleCurrentChange:function(t){if(1!==this.dialogs){var e=[];switch(t.threeobj&&(e=JSON.parse(t.threeobj)),this.okFlog){case"pntOf":this.Point.offset[0].val=t.name,this.Point.offset[0].obj=e;break;case"pntInp1":this.Point.interpolate[0].val=t.name,this.Point.interpolate[0].obj=e;break;case"pntInp2":this.Point.interpolate[1].val=t.name,this.Point.interpolate[1].obj=e;break;case"pntPro1":this.Point.Project[0].val=t.name,this.Point.Project[0].obj=e;break;case"pntPro2":this.Point.Project[1].val=t.name,this.Point.Project[1].obj=e;break;case"pntExt":this.Point.Extract[0].val=t.name,this.Point.Extract[0].obj=e;break;case"pntExt":this.Point.Extract[0].val=t.name,this.Point.Extract[0].obj=e;break;case"pntIns1":this.Point.Intersect[0].val=t.name,this.Point.Intersect[0].obj=e;break;case"pntIns2":this.Point.Intersect[1].val=t.name,this.Point.Intersect[1].obj=e;break;case"lineNor1":this.Line.Normal[0].val=t.name,this.Line.Normal[0].obj=e;break;case"lineNor2":this.Line.Normal[1].val=t.name,this.Line.Normal[1].obj=e;break;case"CurveOf":this.Curve.Offset[0].val=t.name,this.Curve.Offset[0].obj=e;break;case"translatePnt1":this.Translate[0].val=t.name,this.Translate[0].obj=e;break;case"translatePnt2":this.Translate[1].val=t.name,this.Translate[1].obj=e;break;case"rotatePnt1":this.Rotate[0].val=t.name,this.Rotate[0].obj=e;break;case"arc10":this.Arc.arc1[0].val=t.name,this.Arc.arc1[0].obj=e;break;case"arc11":this.Arc.arc1[1].val=t.name,this.Arc.arc1[1].obj=e;break;case"arc12":this.Arc.arc1[2].val=t.name,this.Arc.arc1[2].obj=e;break;case"arc20":this.Arc.arc2[0].val=t.name,this.Arc.arc2[0].obj=e;break;case"arc21":this.Arc.arc2[1].val=t.name,this.Arc.arc2[1].obj=e;break;case"arc22":this.Arc.arc2[2].val=t.name,this.Arc.arc2[2].obj=e;break;case"arc30":this.Arc.arc3[0].val=t.name,this.Arc.arc3[0].obj=e;break;case"arc31":this.Arc.arc3[1].val=t.name,this.Arc.arc3[1].obj=e;break;case"arc32":this.Arc.arc3[2].val=t.name,this.Arc.arc3[2].obj=e;break;case"arc40":this.Arc.arc4[0].val=t.name,this.Arc.arc4[0].obj=e;break;case"arc41":this.Arc.arc4[1].val=t.name,this.Arc.arc4[1].obj=e;break;case"arc42":this.Arc.arc4[2].val=t.name,this.Arc.arc4[2].obj=e;break;case"arc50":this.Arc.arc5[0].val=t.name,this.Arc.arc5[0].obj=e;break;case"arc51":this.Arc.arc5[1].val=t.name,this.Arc.arc5[1].obj=e;break;case"arc52":this.Arc.arc5[2].val=t.name,this.Arc.arc5[2].obj=e;break;case"arc6":this.Arc.arc6[0].val=t.name,this.Arc.arc6[0].obj=e;break;case"arc70":this.Arc.arc7[0].val=t.name,this.Arc.arc7[0].obj=e;break;case"arc71":this.Arc.arc7[1].val=t.name,this.Arc.arc7[1].obj=e;break;case"arc72":this.Arc.arc7[2].val=t.name,this.Arc.arc7[2].obj=e;break;case"CurveBe0":this.Curve.Bezier[0].val=t.name,this.Curve.Bezier[0].obj=e;break;case"CurveBe1":this.Curve.Bezier[1].val=t.name,this.Curve.Bezier[1].obj=e;break;case"CurveBe2":this.Curve.Bezier[2].val=t.name,this.Curve.Bezier[2].obj=e;break;case"cutPlane":this.cutPlane.val=t.name,this.cutPlane.obj=e;break;default:}}},handleSelectionChange:function(t){this.dialogsData=t},beamPntAll:function(t){this.Beam.pntAll=t},beamLineAll:function(t){this.Beam.lineAll=t},beamDelete:function(t){var e=this,i={projectId:sessionStorage.getItem("pid")},a=[];switch(t){case"Point":this.Beam.pntAll&&this.Beam.pntAll.forEach((function(t){a.push(t.id)})),i.gids=JSON.stringify(a),i.transCode="BDS026",Object(c["c"])(i).then((function(t){e.Beam.beamPnt=JSON.parse(t.points),e.Beam.beamLine=JSON.parse(t.members)})).catch((function(t){}));break;case"Line":this.Beam.lineAll&&this.Beam.lineAll.forEach((function(t){a.push(t.id)})),i.gids=JSON.stringify(a),i.transCode="BDS028",Object(c["c"])(i).then((function(t){e.$bus.$emit("lineId",a)})).catch((function(t){}));break;default:}},beamAddLine:function(){var t=this;if(this.Beam.pntAll&&2===this.Beam.pntAll.length){var e={transCode:"BDS027",gid1:this.Beam.pntAll[0].id,gid2:this.Beam.pntAll[1].id,projectId:sessionStorage.getItem("pid")};Object(c["c"])(e).then((function(e){t.$emit("getElementData")})).catch((function(t){}))}else this.$message.error("Please select 2 key Point")},dialogOk:function(){var t=this;if(1===this.dialogs){var e="",i=[],a=[];switch(this.dialogsData.forEach((function(t){e+="".concat(t.name,","),i.push(JSON.parse(t.threeobj)),a.push(t.gid)})),this.okFlog){case"linePnts":this.Line.points[1].val=e,this.Line.points[1].obj=i;break;case"CurveBS":this.Curve.BSpline[1].val=e,this.Curve.BSpline[1].obj=i;break;case"CurveCh":this.Curve.Chain[0].val=e,this.Curve.Chain[0].obj=i;break;case"FacePnts":this.Face.Points[0].val=e,this.Face.Points[0].obj=i;break;case"FaceCurs":this.Face.Curves[0].val=e,this.Face.Curves[0].obj=i;break;case"FaceCloCur":this.Face.ClosedCurves[0].val=e,this.Face.ClosedCurves[0].obj=i;break;case"BeamPnt":var s={transCode:"BDS025",gids:JSON.stringify(a),projectId:sessionStorage.getItem("pid")};Object(c["c"])(s).then((function(e){t.Beam.beamPnt=JSON.parse(e.points),t.Beam.beamLine=JSON.parse(e.members)})).catch((function(t){}));break;default:}this.dialogs=0}this.dialog.pntdialog=!1},getBeamData:function(){var t=this,e={transCode:"BDS029",projectId:sessionStorage.getItem("pid")};Object(c["c"])(e).then((function(e){t.Beam.beamPnt=JSON.parse(e.points),t.Beam.beamLine=JSON.parse(e.members)})).catch((function(t){}))},getAirData:function(){var t=this,e={transCode:"BDS007",projectId:sessionStorage.getItem("pid")};Object(c["c"])(e).then((function(e){if(t.airStData=e.rows,t.Airparas.length=1,t.AirData.length=1,e.rows&&e.rows.length>0){var i,a=Object(ne["a"])(e.rows);try{var s=function(){var e=i.value,a=JSON.parse(e.paramObj),s=JSON.parse(JSON.stringify(t.AirData[0]));switch(s.airId=e.airId,t.Airparas.push(a.name),s.name=a.name,s.spartype=a.spartype,s.outlinepath=a.outlinepath,s.chordlength=a.chordlength,s.rotorlength=a.rotorlength,s.layertype=a.layer,s.layernum=a.skinlayernum,s.layerthick=a.thicknessone,s.skinthickness=a.skinthickness,a.spartype){case"Box-Spar":s.boxSpars=[],s.boxSAWeb2=[],s.BoxwebList=[],a.boxSpars.forEach((function(t){var e={};e.name=t.name,e.rvpos=t.rvpos,e.sparlength=t.sparlength,e.layertype=t.layer,e.layernum=t.layernum,e.layerthick=t.thicknessone,e.thickness=t.thickness,s.boxSpars.push(e),s.boxSAWeb2.push(t.name)})),a.webList.forEach((function(t){var e={};e.name=t.name,e.sparlength=t.sparlength,e.length=t.fsparlength,e.rvpos=t.rvpos,e.fangle=t.fangle,e.isOutside_=t.isoutside,e.webbonelength=t.webbonelength,e.orientation=t.orientation,e.layertype=t.layer,e.layernum=t.layernum,e.layerthick=t.thicknessone,e.thickness=t.thickness,s.BoxwebList.push(e),s.boxSAWeb2.push(t.name)}));break;case"D-Spar":s.DwebList=[],s.dSpar.dSAWeb=[],s.dSpar.fsparlength=a.dSpar.fsparlength,s.dSpar.layertype=a.dSpar.layer,s.dSpar.layernum=a.dSpar.layernum,s.dSpar.layerthick=a.dSpar.thicknessone,s.dSpar.angle=a.dSpar.angle,s.dSpar.thickness=a.dSpar.thickness,a.webList.forEach((function(t){var e={};e.name=t.name,e.fsparlength=t.fsparlength,e.fangle=t.fangle,e.orientation=t.orientation,e.layertype=t.layer,e.layernum=t.layernum,e.layerthick=t.thicknessone,e.thickness=t.thickness,s.DwebList.push(e),s.dSpar.dSAWeb.push(t.name)}));break;case"C-Spar":s.CwebList=[],s.cSpar.csparWeb=[],a.webList.forEach((function(t){var e={};s.cSpar.csparWeb.push(t.name),e.name=t.name,e.fsparlength=t.fsparlength,e.fangle=t.fangle,e.orientation=t.orientation,e.webbonelength=t.webbonelength,e.layernum=t.layernum,e.layerthick=t.thicknessone,e.thickness=t.thickness,e.layertype=t.layer,s.CwebList.push(e)}));break;case"Arc-Spar":s.arcSpar.name="Arc-Spar",s.arcSpar.rvpos=a.arcSpar.rvpos,s.arcSpar.sparlength1=a.arcSpar.sparlength1,s.arcSpar.sparlength2=a.arcSpar.sparlength2,s.arcSpar.curvature=a.arcSpar.curvature,s.arcSpar.layertype=a.arcSpar.layer,s.arcSpar.layernum=a.arcSpar.layernum,s.arcSpar.layerthick=a.arcSpar.thicknessone,s.arcSpar.thickness=a.arcSpar.thickness;break;default:}t.AirData.push(s)};for(a.s();!(i=a.n()).done;)s()}catch(n){a.e(n)}finally{a.f()}}else t.AirparaName=0})).catch((function(t){}))},setAirData:function(){var t=this.AirparaName,e=this.Airparas.length,i={},a={},s=[],n={},r=[];switch(i.spartype=this.AirData[t].spartype,i.outlinepath=this.AirData[t].outlinepath,i.chordlength=this.AirData[t].chordlength,i.rotorlength=this.AirData[t].rotorlength,i.layer=this.AirData[t].layertype,i.skinlayernum=this.AirData[t].layernum,i.thicknessone=this.AirData[t].layerthick,i.skinthickness=this.AirData[t].skinthickness,i.spartype){case"D-Spar":a.fsparlength=this.AirData[t].dSpar.fsparlength,a.layer=this.AirData[t].dSpar.layertype,a.layernum=this.AirData[t].dSpar.layernum,a.thicknessone=this.AirData[t].dSpar.layerthick,a.angle=this.AirData[t].dSpar.angle,a.thickness=this.AirData[t].dSpar.thickness,this.AirData[t].DwebList.forEach((function(t){var e={};e.name=t.name,e.fsparlength=t.fsparlength,e.fangle=t.fangle,e.orientation=t.orientation,e.layer=t.layertype,e.layernum=t.layernum,e.thicknessone=t.layerthick,e.thickness=t.thickness,r.push(e)})),i.arcSpar=n,i.dSpar=a,i.boxSpars=s,i.webList=r;break;case"C-Spar":this.AirData[t].CwebList.forEach((function(t){var e={};e.name=t.name,e.fsparlength=t.fsparlength,e.fangle=t.fangle,e.webbonelength=t.webbonelength,e.orientation=t.orientation,e.layer=t.layertype,e.layernum=t.layernum,e.thicknessone=t.layerthick,e.thickness=t.thickness,r.push(e)})),i.arcSpar=n,i.dSpar=a,i.boxSpars=s,i.webList=r;break;case"Arc-Spar":n.name="Arc-Spar",n.rvpos=this.AirData[t].arcSpar.rvpos,n.sparlength1=this.AirData[t].arcSpar.sparlength1,n.sparlength2=this.AirData[t].arcSpar.sparlength2,n.curvature=this.AirData[t].arcSpar.curvature,n.layer=this.AirData[t].arcSpar.layertype,n.layernum=this.AirData[t].arcSpar.layernum,n.thicknessone=this.AirData[t].arcSpar.layerthick,n.thickness=this.AirData[t].arcSpar.thickness,i.arcSpar=n,i.dSpar=a,i.boxSpars=s,i.webList=r;break;case"Box-Spar":this.AirData[t].boxSpars.forEach((function(t){var e={};e.name=t.name,e.rvpos=t.rvpos,e.sparlength=t.sparlength,e.layer=t.layertype,e.layernum=t.layernum,e.thicknessone=t.layerthick,e.thickness=t.thickness,s.push(e)})),this.AirData[t].BoxwebList.forEach((function(t){var e={};e.name=t.name,e.sparlength=t.sparlength,e.fsparlength=t.length,e.webbonelength=t.webbonelength,e.rvpos=t.rvpos,e.isoutside=t.isOutside_,e.fangle=t.fangle,e.orientation=t.orientation,e.layer=t.layertype,e.layernum=t.layernum,e.thicknessone=t.layerthick,e.thickness=t.thickness,r.push(e)})),i.arcSpar=n,i.dSpar=a,i.boxSpars=s,i.webList=r;break;default:}i.name=0===t?"".concat(this.AirData[0].spartype,"_").concat(e):this.AirData[t].name,this.setair(i)},setair:function(t){var e=this,i={transCode:"BDS008",projectId:sessionStorage.getItem("pid"),airId:"",name:t.name,paramObj:JSON.stringify(t)};Object(c["c"])(i).then((function(t){e.$emit("getElementData")})).catch((function(t){}))},tomats:function(){var t=this.AirparaName-1;this.$bus.$emit("airSect",this.airStData[t]),this.$emit("toMat")},layerRow:function(t){this.skinLayerRow=t},insert:function(){if(this.skinLayerRow&&this.skinLayerRow.begin!==this.skinLayerRow.end){var t=this.skinLayerRow.index,e={};e.begin=e.end=this.skinLayerRow.end,e.num=1,e.thickness=this.skinLayerRow.thickness,this.skinLayer.tabelData[t].end-=1,this.skinLayer.tabelData[t].num-=1,this.skinLayer.tabelData.splice(t+1,0,e)}},layerDelete:function(){if(this.skinLayerRow&&1!==this.skinLayer.tabelData.length){var t=this.skinLayerRow.index;if(t===this.skinLayer.tabelData.length-1){this.skinLayer.tabelData.pop();var e=0;return this.skinLayer.tabelData.forEach((function(t){e+=t.num*t.thickness})),this.skinLayer.layerAmount=this.skinLayer.tabelData[t-1].end,void(this.skinLayer.totalThickness=e)}this.skinLayer.tabelData[t+1].begin=this.skinLayerRow.begin,this.skinLayer.tabelData[t+1].num=this.skinLayer.tabelData[t+1].end-this.skinLayer.tabelData[t+1].begin+1,this.skinLayer.tabelData.splice(t,1)}},addWeb:function(t){var e={fsparlength:"",fangle:"",webbonelength:"",layernum:"",layerthick:"",layertype:0,orientation:0,thickness:[10,.5]};switch(t.spartype){case"D-Spar":var i=t.dSpar.dSAWeb.length;t.dSpar.dSAWeb.push("Web_".concat(i+1)),e.name="Web_".concat(i+1),t.DwebList.push(e),t.dSpar.sAWeb=t.dSpar.dSAWeb.length;break;case"C-Spar":var a=t.cSpar.csparWeb.length;t.cSpar.csparWeb.push("CSparWeb_".concat(a+1)),e.name="CSparWeb_".concat(a+1),t.CwebList.push(e),t.cSpar.webs1=t.cSpar.csparWeb.length-1;break;case"Box-Spar":var s=t.boxSAWeb2.length;t.boxSAWeb2.push("BoxSparWeb_".concat(s-1)),e.rvpos="",e.length="",e.isOutside_=!1,e.name="BoxSparWeb_".concat(s-1),t.BoxwebList.push(e),t.boxSAWeb=t.boxSAWeb2[t.boxSAWeb2.length-1];break;default:}},layerDatas:function(t){if(this.skinLayer.tabelData=[],this.skinLayer.layerAmount="",this.skinLayer.totalThickness="",t.length>0)for(var e=0,i=0,a=t.length/2,s=0;s<a;s++){var n={};s>=1?(n.begin=this.skinLayer.tabelData[s-1].end+1,n.end=t[2*s]+this.skinLayer.tabelData[s-1].end):(n.begin=1,n.end=t[0]),n.thickness=t[2*s+1],n.num=n.end+1-n.begin,e+=n.num*n.thickness,i+=n.num,this.skinLayer.tabelData.push(n),this.skinLayer.layerAmount=i,this.skinLayer.totalThickness=e}},layerNum:function(t,e,i,a,s){if(1===t){switch(this.layerFlog=e,this.objIndex=a,this.objWebi=s,e){case"Skin":this.layertitle="".concat(e," Layer Setting"),this.layerDatas(i.skinthickness);break;case"D-Spar":this.layertitle="".concat(e," Layer Setting"),this.layerDatas(i.dSpar.thickness);break;case"dWeb":this.layertitle="Web_".concat(s+1," Layer Setting"),this.layerDatas(i.DwebList[s].thickness);break;case"cWeb":this.layertitle="CSparWeb_".concat(s+1," Layer Setting"),this.layerDatas(i.CwebList[s].thickness);break;case"bSpar":this.layertitle="Spar_".concat(s+1," Layer Setting"),this.layerDatas(i.boxSpars[s].thickness);break;case"bWeb":this.layertitle="BoxSparWeb_".concat(s+1," Layer Setting"),this.layerDatas(i.BoxwebList[s].thickness);break;case"Arc-Spar":this.layertitle="".concat(e," Layer Setting"),this.layerDatas(i.arcSpar.thickness);break;default:}this.dialog.layer=!0}},deleteWeb:function(t){switch(t.spartype){case"D-Spar":var e=t.dSpar.sAWeb;e>0&&(t.DwebList.splice(e-1,1),t.dSpar.dSAWeb.splice(e-1,1),t.dSpar.sAWeb=t.dSpar.dSAWeb.length);break;case"C-Spar":var i=t.cSpar.webs1;i>0&&(t.CwebList.splice(i,1),t.cSpar.csparWeb.splice(i,1),t.cSpar.webs1=t.cSpar.csparWeb.length-1);break;case"Box-Spar":var a=t.boxSAWeb,s=this.deleteWebs.indexOf(a);s<0&&(t.BoxwebList.splice(Number(a.split("_")[1])-1,1),t.boxSAWeb2.splice(s,1),t.boxSAWeb=t.boxSAWeb2[t.boxSAWeb2.length-1]);break;default:}},tableRowClassName:function(t){var e=t.row,i=t.rowIndex;e.index=i},setIpt:function(t){var e=t.index;if(e!==this.skinLayer.tabelData.length-1){if(t.end>=this.skinLayer.tabelData[e+1].end)return this.skinLayer.tabelData.splice(e+1,1),void this.setIpt(t);this.skinLayer.tabelData[e+1].begin=Number(t.end)+1,this.skinLayer.tabelData[e+1].num=this.skinLayer.tabelData[e+1].end-this.skinLayer.tabelData[e+1].begin+1,this.setIptnum(t)}else this.setIptnum(t)},setIptnum:function(t){t.index;t.num=t.end-t.begin+1;var e=0,i=0;this.skinLayer.tabelData.forEach((function(t){e+=t.num*t.thickness,i+=t.num})),this.skinLayer.layerAmount=i,this.skinLayer.totalThickness=e},layerAply:function(){if(this.objIndex>=0){var t=this.objIndex,e=this.objWebi,i=[];switch(this.skinLayer.tabelData.forEach((function(t){return[i.push(Number(t.num))&&i.push(Number(t.thickness))]})),this.layerFlog){case"Skin":this.AirData[t].skinthickness=i;break;case"D-Spar":this.AirData[t].dSpar.thickness=i;break;case"dWeb":this.AirData[t].DwebList[e].thickness=i;break;case"cWeb":this.AirData[t].CwebList[e].thickness=i;break;case"bSpar":this.AirData[t].boxSpars[e].thickness=i;break;case"bWeb":this.AirData[t].BoxwebList[e].thickness=i;break;case"Arc-Spar":this.AirData[t].arcSpar.thickness=i;break;default:}this.dialog.layer=!1}},deleteAir:function(t){var e=this;if(t.airId){var i={transCode:"BDS009",airId:t.airId};Object(c["c"])(i).then((function(t){e.setAirData()})).catch((function(t){}))}else this.setAirData()},objData:function(t){if(t){var e=JSON.parse(t);if(e instanceof Array)return e;if(e instanceof Object)return e.arr}}},computed:{dataType:function(){switch(this.pntDataType){case"Point":return this.pntData;case"Curve":return this.curData;case"Plane":return this.planData;default:}}},created:function(){var t=this;this.$bus.$on("allObj",(function(e){t.getBeamData(),t.getAirData();var i=[],a=[];e.eleType.forEach((function(e){switch(e.type){case"Point":i.push(e),t.pntData=i;break;case"Curve":a.push(e),t.curData=a;break;case"Plane":a.push(e),t.planData=a;break;default:}}))})),this.$bus.$on("optflag",(function(e){t.optFlog=e.isopt,t.AirparaName=1}))},mounted:function(){}},oe=re,le=(i("f69a"),Object(w["a"])(oe,ae,se,!1,null,null,null)),ce=le.exports,ue=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"Loads"},[t._m(0),t._v(" "),i("div",{staticClass:"Operation"},[i("div",{staticClass:"xiantiele"},[i("span",{staticClass:"yxspan"},[t._v(t._s(t.$t("Bladesign.loads.operation")))]),t._v(" "),i("ul",[i("li",{staticClass:"Olist"},[i("span",{staticClass:"olist_title"},[t._v(t._s(t.$t("Bladesign.loads.action")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.loads.actions,callback:function(e){t.$set(t.loads,"actions",e)},expression:"loads.actions"}},[i("el-option",{attrs:{label:"Create",value:"Create"}})],1)],1),t._v(" "),i("li",{staticClass:"Olist"},[i("span",{staticClass:"olist_title"},[t._v(t._s(t.$t("Bladesign.loads.field")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},on:{change:function(e){return t.selectmeth(e)}},model:{value:t.loads.field,callback:function(e){t.$set(t.loads,"field",e)},expression:"loads.field"}},[i("el-option",{attrs:{label:"Mechanical",value:"Mechanical"}}),t._v(" "),i("el-option",{attrs:{label:"Thermal",value:"Thermal"}})],1)],1),t._v(" "),"Mechanical"==t.loads.field?i("li",{staticClass:"Olist"},[i("span",{staticClass:"olist_title"},[t._v(t._s(t.$t("Bladesign.loads.object")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},on:{change:function(e){return t.selobj(e)}},model:{value:t.loads.obje,callback:function(e){t.$set(t.loads,"obje",e)},expression:"loads.obje"}},[i("el-option",{attrs:{label:"Key Points",value:"Key Points"}}),t._v(" "),i("el-option",{attrs:{label:"Members",value:"Members"}})],1)],1):t._e()])]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.loads.Mechanical,expression:"loads.Mechanical"}],staticClass:"Mechanical"},[i("el-row",[i("ul",[i("li",{staticClass:"lodesbtn"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.getDistributed(),t.dialog.dialogVisible=!0}}},[t._v("Distributed Load Function")])],1),t._v(" "),i("li",{staticClass:"lodesbtn"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.getfunctime(),t.dialog.dialogVisible2=!0}}},[t._v("Time Function")])],1),t._v(" "),i("li",{staticClass:"lodesbtn"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.getbtn(),t.dialog.dialogVisible3=!0}}},[t._v("Initial Curvatures and Twist")])],1),t._v(" "),i("li",{staticClass:"lodesbtn"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.getbtn4(),t.dialog.dialogVisible4=!0}}},[t._v("Frame")])],1)])]),t._v(" "),"Key Points"==t.loads.obje?i("div",{staticClass:"Point Conditions xiantiele"},[i("span",{staticClass:"yxspan"},[t._v(t._s(t.$t("Bladesign.loads.Conditions")))]),t._v(" "),i("p",[t._v(t._s(t.$t("Bladesign.loads.Points")))]),t._v(" "),[i("el-table",{ref:"multipleTablepoint",staticStyle:{width:"100%"},attrs:{data:t.tableData,"highlight-current-row":"",height:"250",border:"",size:"mini","header-cell-style":{textAlign:"center"}},on:{"row-click":t.handlepoinChange,"selection-change":t.handleSelectionChange1}},[i("el-table-column",{attrs:{type:"index",label:"ID",width:"50"}}),t._v(" "),i("el-table-column",{attrs:{prop:"name",label:"Name",width:"180"}})],1)],t._v(" "),i("div",{staticClass:"table1"},[[i("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData1,border:"",size:"mini"}},[i("el-table-column",{attrs:{label:"ID",prop:"bno",width:"50"}}),t._v(" "),i("el-table-column",{attrs:{label:"Degree",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.$index?i("el-select",{model:{value:e.row.distribute,callback:function(i){t.$set(e.row,"distribute",i)},expression:"scope.row.distribute"}},t._l(t.options1,(function(t){return i("el-option",{key:t.val,attrs:{label:t.label,value:t.label}})})),1):t._e(),t._v(" "),1==e.$index?i("el-select",{model:{value:e.row.distribute,callback:function(i){t.$set(e.row,"distribute",i)},expression:"scope.row.distribute"}},t._l(t.options2,(function(t){return i("el-option",{key:t.val,attrs:{label:t.label,value:t.label}})})),1):t._e(),t._v(" "),2==e.$index?i("el-select",{model:{value:e.row.distribute,callback:function(i){t.$set(e.row,"distribute",i)},expression:"scope.row.distribute"}},t._l(t.options3,(function(t){return i("el-option",{key:t.val,attrs:{label:t.label,value:t.label}})})),1):t._e(),t._v(" "),3==e.$index?i("el-select",{model:{value:e.row.distribute,callback:function(i){t.$set(e.row,"distribute",i)},expression:"scope.row.distribute"}},t._l(t.options4,(function(t){return i("el-option",{key:t.val,attrs:{label:t.label,value:t.label}})})),1):t._e(),t._v(" "),4==e.$index?i("el-select",{model:{value:e.row.distribute,callback:function(i){t.$set(e.row,"distribute",i)},expression:"scope.row.distribute"}},t._l(t.options5,(function(t){return i("el-option",{key:t.val,attrs:{label:t.label,value:t.label}})})),1):t._e(),t._v(" "),5==e.$index?i("el-select",{model:{value:e.row.distribute,callback:function(i){t.$set(e.row,"distribute",i)},expression:"scope.row.distribute"}},t._l(t.options6,(function(t){return i("el-option",{key:t.val,attrs:{label:t.label,value:t.label}})})),1):t._e()]}}],null,!1,4136646166)}),t._v(" "),i("el-table-column",{attrs:{label:"value",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-input",{attrs:{oninput:"value=value.replace(/[^0-9.]/g,'')"},model:{value:e.row.value,callback:function(i){t.$set(e.row,"value",i)},expression:"scope.row.value"}})]}}],null,!1,162297176)}),t._v(" "),i("el-table-column",{attrs:{width:"100",prop:"time",label:"TIme Func"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-select",{model:{value:e.row.ftimeid,callback:function(i){t.$set(e.row,"ftimeid",i)},expression:"scope.row.ftimeid"}},t._l(t.numbtn.time,(function(t){return i("el-option",{key:t,attrs:{label:t,value:t}})})),1)]}}],null,!1,3129413937)}),t._v(" "),i("el-table-column",{attrs:{label:"Follower",width:"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-checkbox",{model:{value:e.row.isfollower,callback:function(i){t.$set(e.row,"isfollower",i)},expression:"scope.row.isfollower"}})]}}],null,!1,2602512208)})],1)]],2)],2):i("div",{staticClass:"Point Conditions xiantiele"},[i("span",{staticClass:"yxspan"},[t._v(t._s(t.$t("Bladesign.loads.MemberConditions")))]),t._v(" "),i("p",[t._v(t._s(t.$t("Bladesign.loads.SelectedMember")))]),t._v(" "),[i("el-table",{ref:"mermultipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableDatamer,"highlight-current-row":"",height:"250",size:"mini",border:""},on:{"row-click":t.handleMerChange}},[t.show?i("el-table-column",{attrs:{type:"index",label:"ID",width:"50"}}):t._e(),t._v(" "),i("el-table-column",{attrs:{prop:"index",label:"ID",width:"130"}}),t._v(" "),i("el-table-column",{attrs:{prop:"name",label:"Name",width:"130"}})],1)],t._v(" "),i("div",{staticClass:"table1"},[[i("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData11,border:""}},[i("el-table-column",{attrs:{prop:"bno",label:"ID",width:"50"}}),t._v(" "),i("el-table-column",{attrs:{label:"Distribute ",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-select",{attrs:{placeholder:"请选择类型"},model:{value:e.row.distribute,callback:function(i){t.$set(e.row,"distribute",i)},expression:"scope.row.distribute "}},t._l(t.numbtn.distribute,(function(t){return i("el-option",{key:t,attrs:{label:t,value:t}})})),1)]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"value",label:"value",width:"70"}}),t._v(" "),i("el-table-column",{attrs:{width:"100",prop:"time",label:"Time Func"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-select",{attrs:{placeholder:"请选择类型"},model:{value:e.row.ftimeid,callback:function(i){t.$set(e.row,"ftimeid",i)},expression:"scope.row.ftimeid"}},t._l(t.numbtn.time,(function(t){return i("el-option",{key:t,attrs:{label:t,value:t}})})),1)]}}])}),t._v(" "),i("el-table-column",{attrs:{label:"Follower",width:"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-checkbox",{model:{value:e.row.isfollower,callback:function(i){t.$set(e.row,"isfollower",i)},expression:"scope.row.isfollower"}})]}}])})],1)]],2)],2),t._v(" "),i("div",{staticClass:"btn"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.pointadd()}}},[t._v("Apply")])],1)],1),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.loads.Thermal,expression:"loads.Thermal"}],staticClass:"Thermal"},[i("el-row",[i("ul",[i("li",{staticClass:"lodesbtn"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.getinquire(),t.dialog.dialogVisible5=!0}}},[t._v("Temperature Field Function")])],1)])]),t._v(" "),i("div",{staticClass:"xiantiele"},[i("span",{staticClass:"yxspan"},[t._v(t._s(t.$t("Bladesign.loads.Temperature")))]),t._v(" "),i("div",{staticClass:"Thremalcontent"},[i("div",{staticClass:"Thremaltable"},[[i("el-table",{ref:"ThremalmultipleTable",staticStyle:{width:"100%",height:"550px"},attrs:{data:t.Thremaltable,border:"",size:"mini","row-class-name":t.ThremalClassName,"highlight-current-row":""},on:{"row-click":t.handleThremal}},[i("el-table-column",{attrs:{width:"60",prop:"id",label:"ID"}}),t._v(" "),i("el-table-column",{attrs:{label:"Type",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-select",{attrs:{placeholder:"请选择类型"},model:{value:e.row.type,callback:function(i){t.$set(e.row,"type",i)},expression:"scope.row.type"}},t._l(t.Thremaloptions,(function(t){return i("el-option",{key:t.label,attrs:{label:t.label,value:t.label}})})),1)]}}])}),t._v(" "),i("el-table-column",{attrs:{width:"110",prop:"ftempreid",label:"function ID"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-select",{model:{value:e.row.ftempreid,callback:function(i){t.$set(e.row,"ftempreid",i)},expression:"scope.row.ftempreid"}},t._l(t.numbtn.temfuc,(function(t){return i("el-option",{key:t,attrs:{label:t,value:t}})})),1)]}}])})],1),t._v(" "),i("div",{staticStyle:{"margin-top":"20px"}},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.handleAddDetails()}}},[t._v("Add")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.toggleSelection()}}},[t._v("Apply")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.handleDeleteDetails()}}},[t._v("Delete")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.dialog.dialogEdit=!0}}},[t._v("Edit")])],1)]],2)])])],1)]),t._v(" "),i("el-dialog",{attrs:{title:"Edit Object",visible:t.dialog.dialogEdit,width:"18%"},on:{"update:visible":function(e){return t.$set(t.dialog,"dialogEdit",e)}}},[i("div",{staticClass:"Edittable1"},[[i("el-table",{ref:"diamultipleTable",staticStyle:{width:"100%"},attrs:{data:t.diatableData,border:"",size:"mini",height:"230"}},[i("el-table-column",{attrs:{type:"index",label:"ID",width:"59"}}),t._v(" "),i("el-table-column",{attrs:{width:"180",prop:"Name",label:"Name"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[i("el-input",{model:{value:e.row.valuex3,callback:function(i){t.$set(e.row,"valuex3",i)},expression:"scope.row.valuex3"}})],1)]}}])})],1)]],2),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{size:"mini",type:"success"}},[t._v("Delete")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"}},[t._v("Undo")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.dialog.dialogEdit}}},[t._v("Apply")])],1)]),t._v(" "),i("el-dialog",{attrs:{title:"Distributed Load Function",visible:t.dialog.dialogVisible,width:"36.6%"},on:{"update:visible":function(e){return t.$set(t.dialog,"dialogVisible",e)}}},[i("div",{staticClass:"diatable1"},[[i("el-table",{ref:"diamultipleTable",staticStyle:{width:"100%"},attrs:{data:t.diatableData,border:"",size:"mini",height:"250","highlight-current-row":""},on:{"row-click":t.handleCurrentChange}},[i("el-table-column",{attrs:{type:"index",label:"ID",width:"59"}}),t._v(" "),i("el-table-column",{attrs:{prop:"value1",label:"1",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[i("el-input",{model:{value:e.row.value1,callback:function(i){t.$set(e.row,"value1",i)},expression:"scope.row.value1"}})],1)]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"valuex1",label:"X",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[i("el-input",{model:{value:e.row.valuex1,callback:function(i){t.$set(e.row,"valuex1",i)},expression:"scope.row.valuex1"}})],1)]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"valuex2",width:"100",label:"X^2"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[i("el-input",{model:{value:e.row.valuex2,callback:function(i){t.$set(e.row,"valuex2",i)},expression:"scope.row.valuex2"}})],1)]}}])}),t._v(" "),i("el-table-column",{attrs:{width:"100",prop:"valuex3",label:"X^3"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[i("el-input",{model:{value:e.row.valuex3,callback:function(i){t.$set(e.row,"valuex3",i)},expression:"scope.row.valuex3"}})],1)]}}])}),t._v(" "),i("el-table-column",{attrs:{width:"100",prop:"valuex4",label:"X^4"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[i("el-input",{model:{value:e.row.valuex4,callback:function(i){t.$set(e.row,"valuex4",i)},expression:"scope.row.valuex4"}})],1)]}}])}),t._v(" "),i("el-table-column",{attrs:{width:"100",prop:"valuex5",label:"X^5"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[i("el-input",{model:{value:e.row.valuex5,callback:function(i){t.$set(e.row,"valuex5",i)},expression:"scope.row.valuex5"}})],1)]}}])})],1)]],2),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.dialogAdd()}}},[t._v("Add")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.dialogDelete()}}},[t._v("Delete")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.addDistributed(),t.dialog.dialogVisible=!1}}},[t._v("Apply")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.dialog.dialogVisible=!1}}},[t._v("Cancel")])],1)]),t._v(" "),i("el-dialog",{attrs:{title:"Time Function",visible:t.dialog.dialogVisible2,width:"38.5%"},on:{"update:visible":function(e){return t.$set(t.dialog,"dialogVisible2",e)}}},[i("div",{staticClass:"diatable1"},[[i("el-table",{ref:"timemultipleTable",attrs:{data:t.diatableData2,size:"mini","highlight-current-row":"",height:"250",border:""},on:{"row-click":t.handlediatableData2}},[i("el-table-column",{attrs:{type:"index",label:"ID",width:"56"}}),t._v(" "),t._e(),t._v(" "),i("el-table-column",{attrs:{prop:"type",label:"Type",width:"180"}}),t._v(" "),i("el-table-column",{attrs:{prop:"startTime",label:" Starting Time",width:"180"}}),t._v(" "),i("el-table-column",{attrs:{prop:"endTime",label:"End Time",width:"180"}}),t._v(" "),i("el-table-column",{attrs:{width:"102",prop:"entries",label:"Entries"}})],1)]],2),t._v(" "),i("ul",[i("li",{staticClass:"item"},[i("span",[t._v("Starting Time")]),t._v(" "),i("el-input",{attrs:{size:"mini"}})],1),t._v(" "),i("li",{staticClass:"item"},[i("span",[t._v("End Time")]),t._v(" "),i("el-input",{attrs:{size:"mini"}})],1)]),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.timeadd("1"),t.dialog.dialogVisible2_add=!0}}},[t._v("Add")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.Edittime("2")}}},[t._v("Edit")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.timeDelete()}}},[t._v("Delete")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.applp(),t.dialog.dialogVisible2=!1}}},[t._v("Apply")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.dialog.dialogVisible2=!1}}},[t._v("Cancel")])],1)]),t._v(" "),i("el-dialog",{attrs:{title:"Bladesign",visible:t.dialog.dialogVisible2_add,width:"25%",left:"10%"},on:{"update:visible":function(e){return t.$set(t.dialog,"dialogVisible2_add",e)}}},[i("div",{staticClass:"top_content"},[i("ul",[i("li",{staticClass:"Olist"},[i("span",{staticClass:"olist_title"},[t._v("Func ID")]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.time.selectindex,callback:function(e){t.$set(t.time,"selectindex",e)},expression:"time.selectindex"}},[i("el-option",{attrs:{label:t.time.selectindex,value:t.time.selectindex}})],1)],1),t._v(" "),i("li",{staticClass:"Olist"},[i("span",{staticClass:"olist_title"},[t._v("func Type")]),t._v(" "),i("el-select",{attrs:{size:"mini"},on:{change:function(e){return t.addchange(e)}},model:{value:t.time.type,callback:function(e){t.$set(t.time,"type",e)},expression:"time.type"}},[i("el-option",{attrs:{label:"Piecewise constant Func",value:0}},[t._v("Piecewise constant Func")]),t._v(" "),i("el-option",{attrs:{label:" Harmonics Summation of a Series",value:1}},[t._v("Harmonics Summation of a Series")])],1)],1),t._v(" "),i("li",{staticClass:"Olist"},[i("span",{staticClass:"addolist_title"},[t._v("Starting Time")]),t._v(" "),i("el-input",{attrs:{size:"mini"},model:{value:t.time.startTime,callback:function(e){t.$set(t.time,"startTime",e)},expression:"time.startTime"}})],1),t._v(" "),i("li",{staticClass:"Olist"},[i("span",{staticClass:"addolist_title"},[t._v("End Time")]),t._v(" "),i("el-input",{attrs:{size:"mini"},model:{value:t.time.endTime,callback:function(e){t.$set(t.time,"endTime",e)},expression:"time.endTime"}})],1)])]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.dialog.add1,expression:"dialog.add1"}],staticClass:"diatable1"},[[i("el-table",{ref:"multipleTable21",staticStyle:{width:"100%"},attrs:{data:t.adddiatableData2,height:"250",border:"","row-class-name":t.tableRowClassName21},on:{"row-click":t.handleSelectionChange21}},[i("el-table-column",{attrs:{prop:"manitude",label:"Magnitude",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[i("el-input",{model:{value:e.row.manitude,callback:function(i){t.$set(e.row,"manitude",i)},expression:"scope.row.manitude"}})],1)]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"period",label:" Period",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[i("el-input",{model:{value:e.row.period,callback:function(i){t.$set(e.row,"period",i)},expression:"scope.row.period"}})],1)]}}])}),t._v(" "),i("el-table-column",{attrs:{width:"120",prop:"phase ",label:"Phase"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[i("el-input",{model:{value:e.row.phase,callback:function(i){t.$set(e.row,"phase",i)},expression:"scope.row.phase"}})],1)]}}])})],1)]],2),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.dialog.add2,expression:"dialog.add2"}],staticClass:"diatable1"},[[i("el-table",{ref:"multipleTable22",staticStyle:{width:"100%"},attrs:{data:t.adddiatableData22,height:"250",border:"","row-class-name":t.tableRowClassName22},on:{"row-click":t.handleSelectionChange22}},[i("el-table-column",{attrs:{prop:"ti",label:"t_i",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[i("el-input",{model:{value:e.row.ti,callback:function(i){t.$set(e.row,"ti",i)},expression:"scope.row.ti"}})],1)]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"fi",label:" f_i",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[i("el-input",{model:{value:e.row.fi,callback:function(i){t.$set(e.row,"fi",i)},expression:"scope.row.fi"}})],1)]}}])})],1)]],2),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.Add1()}}},[t._v("Add")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.Delete1()}}},[t._v("Delete")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.timeApply()}}},[t._v("Apply")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.dialog.dialogVisible2_add=!1}}},[t._v("Cancel")])],1)]),t._v(" "),i("el-dialog",{attrs:{title:"Initial Curvatures and Twist",visible:t.dialog.dialogVisible3,width:"38%"},on:{"update:visible":function(e){return t.$set(t.dialog,"dialogVisible3",e)}}},[i("div",{staticClass:"diatable3"},[[i("el-table",{ref:"diamultipleTable3",staticStyle:{width:"100%"},attrs:{data:t.diatableData3,border:"",size:"mini","highlight-current-row":""},on:{"row-click":t.handleSelectionChange3}},[i("el-table-column",{attrs:{type:"index",label:"ID",width:"58"}}),t._v(" "),i("el-table-column",{attrs:{prop:"k_1",label:"K1",width:"210"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[i("el-input",{model:{value:e.row.valuek1,callback:function(i){t.$set(e.row,"valuek1",i)},expression:"scope.row.valuek1"}})],1),t._v(" "),i("el-select",{attrs:{placeholder:"请选择类型"},model:{value:e.row.unitk1,callback:function(i){t.$set(e.row,"unitk1",i)},expression:"scope.row.unitk1"}},[i("el-option",{attrs:{label:"Rad/L",value:"Rad/L"}},[t._v("Rad/L")]),t._v(" "),i("el-option",{attrs:{label:"Ded/L",value:"Ded/L"}},[t._v("Ded/L")])],1)]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"k_2",width:"210",label:"K2"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[i("el-input",{model:{value:e.row.valuek2,callback:function(i){t.$set(e.row,"valuek2",i)},expression:"scope.row.valuek2"}})],1),t._v(" "),i("el-select",{attrs:{placeholder:"请选择类型"},model:{value:e.row.unitk2,callback:function(i){t.$set(e.row,"unitk2",i)},expression:"scope.row.unitk2"}},[i("el-option",{attrs:{label:"Rad/L",value:"Rad/L"}},[t._v("Rad/L")]),t._v(" "),i("el-option",{attrs:{label:"Ded/L",value:"Ded/L"}},[t._v("Ded/L")])],1)]}}])}),t._v(" "),i("el-table-column",{attrs:{width:"210",prop:"threevla",label:"k_3"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[i("el-input",{model:{value:e.row.valuek3,callback:function(i){t.$set(e.row,"valuek3",i)},expression:"scope.row.valuek3"}})],1),t._v(" "),i("el-select",{attrs:{placeholder:"请选择类型"},model:{value:e.row.unitk3,callback:function(i){t.$set(e.row,"unitk3",i)},expression:"scope.row.unitk3"}},[i("el-option",{attrs:{label:"Rad/L",value:"Rad/L"}},[t._v("Rad/L")]),t._v(" "),i("el-option",{attrs:{label:"Ded/L",value:"Ded/L"}},[t._v("Ded/L")])],1)]}}])})],1)]],2),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.dialogAdd3()}}},[t._v("Add")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.dialogDelete3()}}},[t._v("Delete")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.dialogApply(),t.dialog.dialogVisible3=!1}}},[t._v("Apply")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.dialog.dialogVisible3=!1}}},[t._v("Cancel")])],1)]),t._v(" "),i("el-dialog",{attrs:{title:"Frame",visible:t.dialog.dialogVisible4,width:"28%"},on:{"update:visible":function(e){return t.$set(t.dialog,"dialogVisible4",e)}}},[i("div",{staticClass:"diatable4"},[[i("el-table",{ref:"diamultipleTable4",staticStyle:{width:"100%"},attrs:{data:t.diatableData4,border:"",size:"mini","highlight-current-row":"","row-class-name":t.tableRowClassName4},on:{"row-click":t.handleCurrentChange4}},[i("el-table-column",{attrs:{type:"index",label:"ID",width:"62"}}),t._v(" "),i("el-table-column",{attrs:{prop:"xx",label:"X`",width:"145"}}),t._v(" "),i("el-table-column",{attrs:{prop:"yy",label:"Y`",width:"145"}}),t._v(" "),i("el-table-column",{attrs:{prop:"zz",label:"Z`",width:"145"}})],1)]],2),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.addclick("1")}}},[t._v("Add")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.editclick("2")}}},[t._v("Edit")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.dialogDelete4()}}},[t._v("Delete")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.applp(),t.dialog.dialogVisible4=!1}}},[t._v("Apply")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.dialog.dialogVisible4=!1}}},[t._v("Cancel")])],1)]),t._v(" "),i("el-dialog",{attrs:{title:"Frame",visible:t.dialog.dialogVisible41,width:"30%"},on:{"update:visible":function(e){return t.$set(t.dialog,"dialogVisible41",e)}}},[i("ul",[i("li",{staticClass:"Olist"},[i("span",{staticClass:"olist_title"},[t._v("Func ID")]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.frame.index,callback:function(e){t.$set(t.frame,"index",e)},expression:"frame.index"}},[i("el-option",{attrs:{label:t.frame.index,value:t.frame.index}})],1)],1)]),t._v(" "),i("div",{staticClass:"diatable4"},[i("ul",[i("li"),t._v(" "),i("li",[t._v("X`")]),t._v(" "),i("li",[t._v("Y`")]),t._v(" "),i("li",[t._v("Z`")])]),t._v(" "),i("ul",[i("li",[t._v("X`")]),t._v(" "),i("li",[i("el-input",{model:{value:t.tableli.xx,callback:function(e){t.$set(t.tableli,"xx",e)},expression:"tableli.xx"}})],1),t._v(" "),i("li",[i("el-input",{model:{value:t.tableli.xy,callback:function(e){t.$set(t.tableli,"xy",e)},expression:"tableli.xy"}})],1),t._v(" "),i("li",[i("el-input",{model:{value:t.tableli.xz,callback:function(e){t.$set(t.tableli,"xz",e)},expression:"tableli.xz"}})],1)]),t._v(" "),i("ul",[i("li",[t._v("Y`")]),t._v(" "),i("li",[i("el-input",{model:{value:t.tableli.yx,callback:function(e){t.$set(t.tableli,"yx",e)},expression:"tableli.yx"}})],1),t._v(" "),i("li",[i("el-input",{model:{value:t.tableli.yy,callback:function(e){t.$set(t.tableli,"yy",e)},expression:"tableli.yy"}})],1),t._v(" "),i("li",[i("el-input",{model:{value:t.tableli.yz,callback:function(e){t.$set(t.tableli,"yz",e)},expression:"tableli.yz"}})],1)]),t._v(" "),i("ul",[i("li",[t._v("Z`")]),t._v(" "),i("li",[i("el-input",{model:{value:t.tableli.zx,callback:function(e){t.$set(t.tableli,"zx",e)},expression:"tableli.zx"}})],1),t._v(" "),i("li",[i("el-input",{model:{value:t.tableli.zy,callback:function(e){t.$set(t.tableli,"zy",e)},expression:"tableli.zy"}})],1),t._v(" "),i("li",[i("el-input",{model:{value:t.tableli.zz,callback:function(e){t.$set(t.tableli,"zz",e)},expression:"tableli.zz"}})],1)])]),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.add4(),t.dialog.dialogVisible41=!1}}},[t._v("Apply")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.dialog.dialogVisible41=!1}}},[t._v("Cancel")])],1)]),t._v(" "),i("el-dialog",{attrs:{title:"Temperature Field Function List",visible:t.dialog.dialogVisible5,size:"mini",width:"25%"},on:{"update:visible":function(e){return t.$set(t.dialog,"dialogVisible5",e)}}},[i("div",{staticClass:"diatable4"},[[i("el-table",{ref:"diamultipleTable5",staticStyle:{width:"100%"},attrs:{data:t.diatableData5,"highlight-current-row":"",border:""},on:{"row-click":t.handleCurrentChange5}},[i("el-table-column",{attrs:{type:"index",label:"ID",width:"100"}}),t._v(" "),i("el-table-column",{attrs:{prop:"type",label:"Type ",width:"100"}}),t._v(" "),i("el-table-column",{attrs:{prop:"entries",label:"Entries",width:"120"}}),t._v(" "),i("el-table-column",{attrs:{width:"119",prop:"along",label:"Along"}})],1)]],2),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.addtep("1"),t.dialog.dialogVisible51=!0}}},[t._v("Add")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.edittep("2"),t.dialog.dialogVisible51=!0}}},[t._v("Edit")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.delete5()}}},[t._v("Delete")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.applp(),t.dialog.dialogVisible5=!1}}},[t._v("Apply")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.dialog.dialogVisible5=!1}}},[t._v("Cancel")])],1)]),t._v(" "),i("el-dialog",{attrs:{title:"Frame",visible:t.dialog.dialogVisible51,width:"30%"},on:{"update:visible":function(e){return t.$set(t.dialog,"dialogVisible51",e)}}},[i("ul",[i("li",{staticClass:"Olist"},[i("span",{staticClass:"olist_title"},[t._v("Func ID")]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.loads.action,callback:function(e){t.$set(t.loads,"action",e)},expression:"loads.action"}},[i("el-option",{attrs:{label:"1",value:1}})],1)],1),t._v(" "),i("li",{staticClass:"Olist"},[i("span",{staticClass:"olist_title"},[t._v("Func Type")]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.temperature.type,callback:function(e){t.$set(t.temperature,"type",e)},expression:"temperature.type"}},[i("el-option",{attrs:{label:"Constant",value:"Constant"}},[t._v("Constant")]),t._v(" "),i("el-option",{attrs:{label:"Piecewise",value:"Piecewise"}},[t._v("Piecewise")])],1)],1),t._v(" "),"Constant"==t.temperature.type?i("li",{staticClass:"Olist"},[i("span",{staticClass:"addolist_title"},[t._v("Tenperature")]),t._v(" "),i("el-input",{attrs:{size:"mini"},model:{value:t.temperature.temperature,callback:function(e){t.$set(t.temperature,"temperature",e)},expression:"temperature.temperature"}})],1):i("li",{staticClass:"Olist"},[i("span",{staticClass:"olist_title"},[t._v("Along")]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.temperature.along,callback:function(e){t.$set(t.temperature,"along",e)},expression:"temperature.along"}},[i("el-option",{attrs:{label:"Y",value:"Y"}},[t._v("Y")]),t._v(" "),i("el-option",{attrs:{label:"Z",value:"Z"}},[t._v("Z")])],1)],1)]),t._v(" "),"Constant"==t.temperature.type?i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.add5(),t.dialog.dialogVisible51=!1}}},[t._v("Apply")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.dialog.dialogVisible51=!1}}},[t._v("Cancel")])],1):t._e(),t._v(" "),"Piecewise"==t.temperature.type?i("div",{staticClass:"table"},[[i("el-table",{ref:"multipleTabletemperature",staticStyle:{width:"100%"},attrs:{data:t.adddiatableDatatemperature,height:"250",border:"",size:"mini","row-class-name":t.tableRowClassNametemperature},on:{"row-click":t.handleSelectionChangetemperature}},["Y"==t.temperature.along?i("el-table-column",{attrs:{prop:"y_i",label:"Y_i",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[i("el-input",{model:{value:e.row.y_i,callback:function(i){t.$set(e.row,"y_i",i)},expression:"scope.row.y_i"}})],1)]}}],null,!1,3301872023)}):i("el-table-column",{attrs:{prop:"y_i",label:"z_i",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[i("el-input",{model:{value:e.row.y_i,callback:function(i){t.$set(e.row,"y_i",i)},expression:"scope.row.y_i"}})],1)]}}],null,!1,3301872023)}),t._v(" "),i("el-table-column",{attrs:{prop:"t_i",label:" T_i",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[i("el-input",{model:{value:e.row.t_i,callback:function(i){t.$set(e.row,"t_i",i)},expression:"scope.row.t_i"}})],1)]}}],null,!1,217623802)})],1)],t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.Addtemperature()}}},[t._v("Add")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.deletetemperature()}}},[t._v("Delete")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.add55(),t.dialog.dialogVisible51=!1}}},[t._v("Apply")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.dialog.dialogVisible51=!1}}},[t._v("Cancel")])],1)],2):t._e()])],1)},he=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("ul",[i("li",[t._v("Loads/BCs")])])}],de=(i("5df3"),i("4f7f"),i("2909")),pe=(i("b719"),{data:function(){return{curveid:[],frameid:[],loads:{action:1,actions:"Create",field:"Mechanical",object:1,obje:"Key Points",Mechanical:!0,Thermal:!1,constant:!0,piecewise:!1,points:[]},pontstr:"",merdatastr:"",boundrystr:"",timeid:"",time:{action:1,type:0,startTime:"0.0000",endTime:"0.001",selectindex:["1"]},pointtable:{arr:[],arrponint:[],index:Number},actives:Number,activess:Number,active:0,project:{projectId:""},temperature:{type:"Constant",temperature:"",select:0,along:"Y",pieobj:null,typeid:"",constant:!1,piecewise:!1},numbtn:{time:[0],distribute:[0],pointdata:[],temfuc:[0],disnum:[0]},frame:{idframe:"",objarr:{},index:["1"]},dialog:{dialogVisible:!1,dialogVisible3:!1,dialogVisible2:!1,dialogVisible2_add:!1,dialogVisible4:!1,dialogVisible41:!1,dialogVisible5:!1,dialogVisible51:!1,dialogEdit:!1,add1:!1,add2:!0},tableData:[],degreetale:[],xuanzid:Number,xuanzidmer:Number,mertableclone:[],tablemerpoint:[],tableData1:[{bno:"1",distribute:"TRANSLATION(X)",value:"0",ftimeid:"0",isfollower:!1},{bno:"2",distribute:"TRANSLATION(Y)",value:"0",ftimeid:"0",isfollower:!1},{bno:"3",distribute:"TRANSLATION(Z)",value:"0",ftimeid:"0",isfollower:!1},{bno:"4",distribute:"MOMENT(X)",value:"0",ftimeid:"0",isfollower:!1},{bno:"5",distribute:"MOMENT(Y)",value:"0",ftimeid:"0",isfollower:!1},{bno:"6",distribute:"MOMENT(Y)",value:"0",ftimeid:"0",isfollower:!1}],tableDataclone:[{bno:"1",distribute:"TRANSLATION(X)",value:"0",ftimeid:"0",isfollower:!1},{bno:"2",distribute:"TRANSLATION(Y)",value:"0",ftimeid:"0",isfollower:!1},{bno:"3",distribute:"TRANSLATION(Z)",value:"0",ftimeid:"0",isfollower:!1},{bno:"4",distribute:"MOMENT(X)",value:"0",ftimeid:"0",isfollower:!1},{bno:"5",distribute:"MOMENT(Y)",value:"0",ftimeid:"0",isfollower:!1},{bno:"6",distribute:"MOMENT(Y)",value:"0",ftimeid:"0",isfollower:!1}],tableData11:[{bno:"f1",distribute:0,value:0,ftimeid:0,isfollower:!1},{bno:"f2",distribute:0,value:0,ftimeid:0,isfollower:!1},{bno:"f3",distribute:0,value:0,ftimeid:0,isfollower:!1},{bno:"m1",distribute:0,value:0,ftimeid:0,isfollower:!1},{bno:"m2",distribute:0,value:0,ftimeid:0,isfollower:!1},{bno:"m3",distribute:0,value:0,ftimeid:0,isfollower:!1}],show:!1,tableDatamer:[],arrsave:[],options1:[{label:"TRANSLATION(X)"},{label:"FORCE(X)"}],options2:[{label:"TRANSLATION(Y)"},{label:"FORCE(Y)"}],options3:[{label:"TRANSLATION(Z)"},{label:"FORCE(Z)"}],options4:[{label:"ROTATON(X)"},{label:"MOMENT(X)"}],options5:[{label:"ROTATON(Y)"},{label:"MOMENT(Y)"}],options6:[{label:"ROTATON(Z)"},{label:"MOMENT(Z)"}],Thremalid:1,Thremaltable:[],Thremaloptions:[{val:"1",label:"Face"},{val:"2",label:"Edge"},{val:"3",label:"Verter"}],diatableData:[{value1:"0.0",valuex1:"0.0",valuex2:"0.0",valuex3:"0.0",valuex4:"0.0",valuex5:"0.0"}],diamultipleSelection:[],diatableData2:[],adddiatableData2:[{manitude:"0",period:"0",phase:"0"}],adddiatableData22:[{ti:"0",fi:"0"}],adddiatableDatatemperature:[{y_i:"0",t_i:"300"}],diatableData3:[],diamultipleSelection3:[],diatableData4:[],tableli:{xx:"0.0000",xy:"0.0000",xz:"0.0000",yx:"0.0000",yy:"0.0000",yz:"0.0000",zx:"0.0000",zy:"0.0000",zz:"0.0000"},diatableData41:[{name:"X`",xx:"0.0000",xy:"0.0000",xz:"0.0000"},{name:"Y`",yx:"0.0000",yy:"0.0000",yz:"0.0000"},{name:"Z`",zx:"0.0000",zy:"0.0000",zz:"0.0000"}],diatableData5:[]}},created:function(){this.project.projectId=sessionStorage.getItem("pid"),console.log(this.project.projectId),this.selpoint()},mounted:function(){},methods:{selectmeth:function(t){this.xupoint(),"Thermal"==t?(this.loads.Mechanical=!1,this.loads.Thermal=!0):(this.loads.Thermal=!1,this.loads.Mechanical=!0)},selobj:function(t){},handleAddDetails:function(){void 0==this.Thremaltable&&(this.Thremaltable=new Array);var t={type:"Face",ftempreid:"0"};this.Thremaltable.push(t)},handleCurrentChange:function(t,e,i){this.diamultipleSelection=t,this.active=t.index},getDistributed:function(){var t=this,e={transCode:"BDS019",projectId:sessionStorage.getItem("pid")};Object(c["c"])(e).then((function(e){console.log(e.rows),t.diatableData=e.rows;for(var i=[0],a=0;a<e.rows.length;a++)i.push(a+1);t.numbtn.distribute=Object(de["a"])(new Set(i))})).catch((function(t){}))},dialogAdd:function(){var t=this,e={transCode:"BDS020",projectId:sessionStorage.getItem("pid"),value1:"1",valuex1:"0.0000",valuex2:"0.0000",valuex3:"0.0000",valuex4:"0.0000",valuex5:"0.0000"};Object(c["c"])(e).then((function(e){t.getDistributed()})).catch((function(t){}))},dialogDelete:function(){var t=this,e=this.diamultipleSelection,i={transCode:"BDS021",fid:e.fid};Object(c["c"])(i).then((function(e){t.getDistributed()})).catch((function(t){}))},addDistributed:function(){var t=this;console.log(this.diatableData);for(var e=0;e<t.diatableData.length;e++){var i={transCode:"BDS020",projectId:sessionStorage.getItem("pid"),fid:t.diatableData[e].fid,value1:t.diatableData[e].value1,valuex1:t.diatableData[e].valuex1,valuex2:t.diatableData[e].valuex2,valuex3:t.diatableData[e].valuex3,valuex4:t.diatableData[e].valuex4,valuex5:t.diatableData[e].valuex5};Object(c["c"])(i).then((function(t){})).catch((function(t){}))}},getfunctime:function(){var t=this,e={transCode:"BDS010",projectId:sessionStorage.getItem("pid")};Object(c["c"])(e).then((function(e){var i=e.rows;console.log(i.length),t.numbtn.time=["0"];for(var a=0;a<i.length;a++){var s=JSON.parse(i[a].pieobj);i[a].entries=s.length,t.numbtn.time.push(a+1)}t.numbtn.time=Object(de["a"])(new Set(t.numbtn.time)),t.diatableData2=i})).catch((function(t){}))},handleSelectionChange21:function(t,e,i){this.multipleTable21=t,this.actives=t.index},tableRowClassName21:function(t,e){return t.row.index=t.rowIndex,t.rowIndex===this.actives?"warning-row":""},timeadd:function(t){this.timeid=t;this.time.selectindex=Number(this.diatableData2.length)+1},Add1:function(){var t=this,e={},i={};e.manitude="0",e.period="0",e.phase="0",t.add(e,t.adddiatableData2),i.ti="0",i.fi="0",t.add(i,t.adddiatableData22)},Delete1:function(t){var e=this,i=this.multipleTable21;i&&this.adddiatableData2.forEach((function(t,a){i.index===t.index&&e.adddiatableData2.splice(a,1)}));var a=this.multipleTable22;a&&this.adddiatableData22.forEach((function(t,i){a.index===t.index&&e.adddiatableData22.splice(i,1)}))},handleSelectionChange22:function(t,e,i){this.multipleTable22=t,this.actives=t.index},tableRowClassName22:function(t,e){return t.row.index=t.rowIndex,t.rowIndex===this.actives?"warning-row":""},handlediatableData2:function(t,e,i){this.timemultipleTable=t,this.activess=t.index,console.log(this.timemultipleTable)},Edittime:function(t){if(void 0==this.timemultipleTable||null==this.timemultipleTable)Object(D["Message"])({type:"error",message:"请勾选表格你想修改的数据"});else{this.timeid=t;this.dialog.dialogVisible2_add=!0,this.time=this.timemultipleTable,console.log(this.time),this.time.selectindex=this.time.index+1,console.log(this.time),1==this.time.type?(this.dialog.add1=!0,this.dialog.add2=!1,this.adddiatableData2=JSON.parse(this.time.harobj)):(this.dialog.add1=!1,this.dialog.add2=!0,this.adddiatableData22=JSON.parse(this.time.pieobj))}},timeDelete:function(){var t=this,e=this.timemultipleTable,i={transCode:"BDS012",fid:e.fid};Object(c["c"])(i).then((function(e){t.getfunctime()})).catch((function(t){}))},timeApply:function(t){if("1"==this.timeid)if(this.time.startTime>=this.time.endTime)Object(D["Message"])({type:"error",message:"开始时间不能大于等于结束时间"});else{this.timemultipleTable;this.addried(null),this.dialog.dialogVisible2_add=!1}else if(this.time.startTime>=this.time.endTime)Object(D["Message"])({type:"error",message:"开始时间不能大于等于结束时间"});else{var e=this.timemultipleTable;this.addried(e.fid),this.dialog.dialogVisible2_add=!1}},addried:function(t){var e=this;if("1"==this.time.type){var i={fid:t,transCode:"BDS011",projectId:sessionStorage.getItem("pid"),type:this.time.type,startTime:this.time.startTime,endTime:this.time.endTime,harobj:JSON.stringify(this.adddiatableData2)};console.log(i),Object(c["c"])(i).then((function(t){console.log(t),setTimeout((function(){e.getfunctime()}),500)})).catch((function(t){}))}else{var a={fid:t,transCode:"BDS011",projectId:sessionStorage.getItem("pid"),type:this.time.type,startTime:this.time.startTime,endTime:this.time.endTime,pieobj:JSON.stringify(this.adddiatableData22)};console.log(a),Object(c["c"])(a).then((function(t){setTimeout((function(){e.getfunctime()}),500)})).catch((function(t){}))}},addchange:function(t){1==t?(this.dialog.add1=!0,this.dialog.add2=!1):(this.dialog.add1=!1,this.dialog.add2=!0)},add:function(t,e){e.push(t)},getbtn:function(){var t=this,e={transCode:"BDS016",projectId:sessionStorage.getItem("pid")};Object(c["c"])(e).then((function(e){t.diatableData3=e.rows;for(var i=[0],a=0;a<e.rows.length;a++)i.push(a+1);t.curveid=Object(de["a"])(new Set(i))})).catch((function(t){}))},dialogAdd3:function(){var t=this,e={transCode:"BDS017",projectId:sessionStorage.getItem("pid"),valuek1:"0.0000",valuek2:"0.0000",valuek3:"0.0000",unitk1:"Rad/L",unitk2:"Rad/L",unitk3:"Rad/L"};Object(c["c"])(e).then((function(e){t.getbtn()})).catch((function(t){}))},dialogApply:function(){for(var t=this,e=0;e<t.diatableData3.length;e++){var i={transCode:"BDS017",projectId:sessionStorage.getItem("pid"),fid:t.diatableData3[e].fid,valuek1:t.diatableData3[e].valuek1,valuek2:t.diatableData3[e].valuek2,valuek3:t.diatableData3[e].valuek3,unitk1:t.diatableData3[e].unitk1,unitk2:t.diatableData3[e].unitk2,unitk3:t.diatableData3[e].unitk3};Object(c["c"])(i).then((function(t){})).catch((function(t){}))}},handleSelectionChange3:function(t,e,i){this.diamultipleSelection3=t,this.active=t.index},dialogDelete3:function(){var t=this,e=this.diamultipleSelection3,i={transCode:"BDS018",fid:e.fid};Object(c["c"])(i).then((function(e){t.getbtn()})).catch((function(t){}))},getbtn4:function(){var t=this,e=[],i={transCode:"BDS013",projectId:sessionStorage.getItem("pid")};Object(c["c"])(i).then((function(i){for(var a=[0],s=i.rows,n=0,r=s.length;n<r;n++){var o={};o.fid=s[n].fid,o.projectId=s[n].projectId;var l=s[n].xx+","+s[n].xy+","+s[n].xz,c=s[n].yx+","+s[n].yy+","+s[n].yz,u=s[n].zx+","+s[n].zy+","+s[n].zz;o.xx=l,o.yy=c,o.zz=u,e.push(o),a.push(n+1)}t.diatableData4=e,t.frameid=Object(de["a"])(new Set(a))})).catch((function(t){}))},editclick:function(t){var e={},i=this.diamultipleTable4;this.frame.idframe=t,this.frame.index=i.index+1,this.dialog.dialogVisible41=!0;var a=i.xx.split(","),s=i.yy.split(","),n=i.zz.split(","),r=a.concat(s,n);e.fid=i.fid,e.xx=r[0],e.xy=r[1],e.xz=r[2],e.yx=r[3],e.yy=r[4],e.yz=r[5],e.zx=r[6],e.zy=r[7],e.zz=r[8],this.objarr=e,this.tableli=this.objarr},addclick:function(t){this.frame.idframe=t,this.dialog.dialogVisible41=!0,this.frame.index=Number(this.diatableData4.length)+1},add4:function(){var t=this;if("1"==this.frame.idframe){var e={transCode:"BDS014",projectId:sessionStorage.getItem("pid"),xx:this.tableli.xx,xy:this.tableli.xy,xz:this.tableli.xz,yx:this.tableli.yx,yy:this.tableli.yy,yz:this.tableli.yz,zx:this.tableli.zx,zy:this.tableli.zy,zz:this.tableli.zz};Object(c["c"])(e).then((function(e){t.getbtn4()})).catch((function(t){}))}else{var i=this.objarr;console.log(i);var a={transCode:"BDS014",fid:i.fid,projectId:sessionStorage.getItem("pid"),xx:i.xx,xy:i.xy,xz:i.xz,yx:i.yx,yy:i.yy,yz:i.yz,zx:i.zx,zy:i.zy,zz:i.zz};Object(c["c"])(a).then((function(e){t.getbtn4()})).catch((function(t){}))}},handleCurrentChange4:function(t,e,i){this.diamultipleTable4=t,this.active=t.index},tableRowClassName4:function(t,e){return t.row.index=t.rowIndex,t.rowIndex===this.active?"warning-row":""},dialogDelete4:function(){var t=this,e=t.diamultipleTable4,i={transCode:"BDS015",fid:e.fid};Object(c["c"])(i).then((function(e){t.getbtn4()})).catch((function(t){}))},handleCurrentChange5:function(t,e,i){this.diamultipleTable5=t,this.active=t.index},getinquire:function(){var t=this,e=[],i={transCode:"BDS022",projectId:sessionStorage.getItem("pid")};Object(c["c"])(i).then((function(i){var a=i.rows;console.log(a);for(var s=0;s<a.length;s++){if("Constant"==a[s].type)a[s].entries="1",a[s].along="Null";else{var n=JSON.parse(a[s].pieobj);a[s].entries=n.length}e.push(s+1)}t.numbtn.temfuc=Object(de["a"])(new Set(e)),t.diatableData5=a})).catch((function(t){}))},addtep:function(t){this.temperature.typeid=t,sessionStorage.setItem("addeit",t)},edittep:function(t){this.temperature.typeid=t,sessionStorage.setItem("addeit",t);var e=this.diamultipleTable5;void 0==e.fid?Object(D["Message"])({type:"error",message:"Please select your modification"}):"2"==this.temperature.typeid&&("Constant"==e.type?(this.temperature.type=e.type,this.temperature=e):(this.temperature.type=e.type,this.temperature=e,this.adddiatableDatatemperature=JSON.parse(e.pieobj)))},add5:function(){var t=sessionStorage.getItem("addeit"),e=this.diamultipleTable5;"2"==t?this.get5(null,this.temperature.pieobj,e.fid):this.get5(null,null,null)},get5:function(t,e,i){var a=this,s={fid:i,transCode:"BDS023",projectId:sessionStorage.getItem("pid"),type:this.temperature.type,temperature:this.temperature.temperature,along:t,pieobj:e};Object(c["c"])(s).then((function(t){a.getinquire()})).catch((function(t){}))},add55:function(){var t=this.diamultipleTable5,e=sessionStorage.getItem("addeit");if("2"==e){var i=JSON.stringify(this.adddiatableDatatemperature);this.get5(this.temperature.along,i,t.fid)}else{var a=JSON.stringify(this.adddiatableDatatemperature);this.get5(this.temperature.along,a,"")}},delete5:function(){var t=this,e=this.diamultipleTable5,i={transCode:"BDS024",fid:e.fid};Object(c["c"])(i).then((function(e){t.getinquire()})).catch((function(t){}))},Addtemperature:function(){var t={y_i:"0",t_i:"300"};this.adddiatableDatatemperature.push(t)},handleSelectionChangetemperature:function(t,e,i){this.multipleTabletemperature=t,this.active=t.index},tableRowClassNametemperature:function(t,e){return t.row.index=t.rowIndex,t.rowIndex===this.active?"warning-row":""},deletetemperature:function(){var t=this,e=this.multipleTabletemperature;console.log(e),e&&this.adddiatableDatatemperature.forEach((function(i,a){e.index===i.index&&t.adddiatableDatatemperature.splice(a,1)}))},applp:function(){Object(D["Message"])({type:"success",message:"保存成功"})},selpoint:function(){var t=this,e={transCode:"BDS029",projectId:sessionStorage.getItem("pid")};Object(c["c"])(e).then((function(e){var i=JSON.parse(e.points),a=JSON.parse(e.members);t.tableData=i,t.tablemerpoint=a;t.pointtable.arr=[];for(var s=0;s<i.length;s++)t.pointtable.arr.push(t.tableData1);t.tableDatamer=a,t.mertableclone=[];for(var n=0;n<a.length;n++){var r=[];r=Object(de["a"])(t.tableData11),t.mertableclone.push(r)}t.numbtn.pointdata=t.tableData})).catch((function(t){}))},handlepoinChange:function(t,e,i){var a=this,s=[];s.push(t);var n=s;this.multipleTablepoint=n,0==this.multipleTablepoint.length||(n.forEach((function(t,e){a.tableData.forEach((function(e,i){t.id==e.id&&(a.xuanzid=i)}))})),this.tableData1=JSON.parse(JSON.stringify(this.pointtable.arr[this.xuanzid])),void 0==n||n==[]||null==n||0==n.length||this.xupoint())},handleSelectionChange1:function(t){},xupoint:function(){var t=this,e={transCode:"BDS034",projectId:sessionStorage.getItem("pid")};Object(c["c"])(e).then((function(e){if(t.boundrystr=e.boundryconditions,t.merdatastr=e.memberconditions,t.pontstr=e.pointconditions,void 0==e.boundryconditions||""==e.boundryconditions?t.Thremaltable=[]:t.Thremaltable=JSON.parse(e.boundryconditions),"Key Points"==t.loads.obje)if(void 0==e.pointconditions||""==e.pointconditions);else{var i=JSON.parse(e.pointconditions);t.pointtable.arr=[];for(var a=0;a<i.length;a++){t.pointtable.arr.push(i[a].conditionList);for(var s=0;s<t.multipleTablepoint.length;s++)i[a].point.name==t.multipleTablepoint[s].name&&(t.tableData1=i[a].conditionList)}}else if(void 0==e.memberconditions||""==e.memberconditions);else{var n=JSON.parse(e.memberconditions);t.mertableclone=[];for(var r=0;r<n.length;r++){t.mertableclone.push(n[r].conditionList);for(var o=0;o<t.mermultipleTable.length;o++)n[r].line.name==t.mermultipleTable[o].name&&(t.tableData11=n[r].conditionList)}}})).catch((function(t){}))},pointadd:function(){var t=[],e=[];if("Key Points"==this.loads.obje){this.pointtable.arr[this.xuanzid]=this.tableData1;for(var i=0;i<this.pointtable.arr.length;i++){var a={};a.point=this.tableData[i],a.conditionList=this.pointtable.arr[i],t.push(a)}var s=[];s=t,this.pontstr=JSON.stringify(s)}else{this.mertableclone[this.xuanzidmer]=this.tableData11;for(var n=0;n<this.mertableclone.length;n++){for(var r=0;r<this.tablemerpoint.length;r++);var o={};o.line=this.tablemerpoint[n],o.conditionList=this.mertableclone[n],e.push(o)}var l=[];l=e,this.merdatastr=JSON.stringify(l)}this.getcanshu(this.loads.obje,this.pontstr,this.merdatastr,this.boundrystr)},getcanshu:function(t,e,i,a){var s=this,n={transCode:"BDS035",projectId:sessionStorage.getItem("pid"),field:this.loads.field,object:t,pointconditions:e,memberconditions:i,boundryconditions:a};Object(c["c"])(n).then((function(t){s.xupoint()})).catch((function(t){}))},handleMerChange:function(t,e,i){var a=this,s=[];s.push(t);var n=s;this.mermultipleTable=n,0==this.mermultipleTable.length?this.tableData11=this.tableDataclone:(n.forEach((function(t,e){a.tablemerpoint.forEach((function(e,i){t.id==e.id&&(a.xuanzidmer=i)}))})),console.log(this.mertableclone[this.xuanzidmer]),this.tableData11=JSON.parse(JSON.stringify(this.mertableclone[this.xuanzidmer])),void 0==n||n==[]||null==n||0==n.length||this.xupoint())},ThremalClassName:function(t,e){return t.row.id=t.rowIndex+1,t.rowIndex===this.active?"warning-row":""},handleThremal:function(t,e,i){this.ThremalmultipleTable=t,this.active=t.index},toggleSelection:function(){var t=this.Thremaltable;this.boundrystr=JSON.stringify(t),this.getcanshu(null,this.pontstr,this.merdatastr,this.boundrystr)},handleDeleteDetails:function(){var t=this,e=this.ThremalmultipleTable;e&&this.Thremaltable.forEach((function(i,a){e.id===i.id&&t.Thremaltable.splice(a,1)}))}}}),me=pe,ve=(i("bc1b"),Object(w["a"])(me,ue,he,!1,null,null,null)),fe=ve.exports,be=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("p",[t._v("Materials")]),t._v(" "),i("div",{staticClass:"disflex justcenter"},[i("el-button",{attrs:{size:"mini",type:"success",disabled:t.disabledAll},on:{click:function(e){t.dialogselector=!0}}},[t._v("Materials Selector")])],1),t._v(" "),i("div",[i("el-table",{ref:"stable",attrs:{data:t.mdata,"max-height":"250",size:"mini","highlight-current-row":""},on:{"current-change":t.smSelectChange}},[i("el-table-column",{attrs:{property:"mateNo",label:"Id",width:"50"}}),t._v(" "),i("el-table-column",{attrs:{property:"name",label:"Name","show-overflow-tooltip":""}}),t._v(" "),t._e(),t._v(" "),t._e(),t._v(" "),t._e(),t._v(" "),t._e()],1)],1),t._v(" "),i("div",{staticClass:"yxfbox params"},[i("span",{staticClass:"yxspan"},[t._v("Failure Criterion")]),t._v(" "),"Isotropic"==t.selectMate.mate.type?i("div",[i("li",[i("span",[t._v("Ultimate Stress")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.failure[0],callback:function(e){t.$set(t.selectMate.failure,0,e)},expression:"selectMate.failure[0]"}})],1)]):t._e(),t._v(" "),"Orthotropic"==t.selectMate.mate.type?i("div",[i("li",[i("span",[t._v("Tension Stress Limit11")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini",disabled:t.disabledAll},model:{value:t.selectMate.failure[0],callback:function(e){t.$set(t.selectMate.failure,0,e)},expression:"selectMate.failure[0]"}})],1),t._v(" "),i("li",[i("span",[t._v("Tesion Stress Limit22")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini",disabled:t.disabledAll},model:{value:t.selectMate.failure[1],callback:function(e){t.$set(t.selectMate.failure,1,e)},expression:"selectMate.failure[1]"}})],1),t._v(" "),i("li",[i("span",[t._v("Compression Stress Limit11")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini",disabled:t.disabledAll},model:{value:t.selectMate.failure[2],callback:function(e){t.$set(t.selectMate.failure,2,e)},expression:"selectMate.failure[2]"}})],1),t._v(" "),i("li",[i("span",[t._v("Compression Stress Limit22")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini",disabled:t.disabledAll},model:{value:t.selectMate.failure[3],callback:function(e){t.$set(t.selectMate.failure,3,e)},expression:"selectMate.failure[3]"}})],1),t._v(" "),i("li",[i("span",[t._v("Shear Stress Limit")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini",disabled:t.disabledAll},model:{value:t.selectMate.failure[4],callback:function(e){t.$set(t.selectMate.failure,4,e)},expression:"selectMate.failure[4]"}})],1)]):t._e(),t._v(" "),i("li",{staticClass:"disflex justcenter"},[i("el-button",{attrs:{size:"mini",type:"success",disabled:t.disabledAll},on:{click:function(e){return t.mateSaveOrUpdate()}}},[t._v("Apply")])],1)]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!t.isopt,expression:"!isopt"}],staticClass:"yxfbox params"},[i("div",[i("li",[i("span",[t._v("Layup Orientation")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini",disabled:"Isotropic"==t.selectMate.mate.type},model:{value:t.selectMate.layuporientation,callback:function(e){t.$set(t.selectMate,"layuporientation",e)},expression:"selectMate.layuporientation"}})],1),t._v(" "),i("li",[i("span",[t._v("Fiber Orientation")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini",disabled:"Isotropic"==t.selectMate.mate.type},model:{value:t.selectMate.fiberorientation,callback:function(e){t.$set(t.selectMate,"fiberorientation",e)},expression:"selectMate.fiberorientation"}})],1),t._v(" "),i("li",[i("span",[t._v("Option")]),t._v(" "),i("el-select",{attrs:{size:"mini",disabled:t.disabledAll},model:{value:t.selectMate.option,callback:function(e){t.$set(t.selectMate,"option",e)},expression:"selectMate.option"}},t._l(t.options,(function(t,e){return i("el-option",{key:e,attrs:{label:t.label,value:t.value}})})),1)],1)])]),t._v(" "),i("li",{directives:[{name:"show",rawName:"v-show",value:!t.isopt,expression:"!isopt"}],staticClass:"flexSa"},[i("el-button",{attrs:{size:"mini",type:"success",disabled:t.disabledAll}},[t._v("Reset Layup")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success",disabled:t.disabledAll},on:{click:function(e){return t.geometrySetMate()}}},[t._v("Apply")])],1),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.isopt,expression:"isopt"}],staticClass:"yxfbox params"},[i("span",{staticClass:"yxspan"},[t._v("Divide Structures into Groups")]),t._v(" "),i("div",[i("li",[i("span",[t._v("Structure to Divide")]),t._v(" "),i("el-select",{attrs:{size:"mini",disabled:t.disabledAll},on:{change:t.changeDivide},model:{value:t.selectairmatename,callback:function(e){t.selectairmatename=e},expression:"selectairmatename"}},t._l(t.airmates,(function(t,e){return i("el-option",{key:e,attrs:{label:t.name,value:t.name}})})),1)],1),t._v(" "),i("li",[i("span",[t._v("Layers Number")]),t._v(" "),i("el-input-number",{attrs:{size:"mini",step:1,disabled:t.disabledAll},on:{change:t.changeLayersGroupsNum},model:{value:t.selectairmate.layersGroupsNum,callback:function(e){t.$set(t.selectairmate,"layersGroupsNum",e)},expression:"selectairmate.layersGroupsNum"}})],1),t._v(" "),i("li",[i("span",[t._v("Groups Number")]),t._v(" "),i("el-input-number",{attrs:{size:"mini",step:1,disabled:t.disabledAll},on:{change:t.changeLayersNumEachGr},model:{value:t.selectairmate.layersNumEachGr,callback:function(e){t.$set(t.selectairmate,"layersNumEachGr",e)},expression:"selectairmate.layersNumEachGr"}})],1),t._v(" "),i("li",{staticClass:"flexSa"},[i("el-button",{attrs:{size:"mini",type:"success",disabled:t.disabledAll||t.groupdis},on:{click:t.groupApply}},[t._v("Apply")])],1)])]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.isopt,expression:"isopt"}],staticClass:"yxfbox params"},[i("span",{staticClass:"yxspan"},[t._v("Set Meterials Groups")]),t._v(" "),i("div",[i("li",[i("span",[t._v("Structure to Divide")]),t._v(" "),i("el-select",{attrs:{size:"mini",disabled:t.disabledAll},on:{change:t.changeDivide},model:{value:t.selectairmatename,callback:function(e){t.selectairmatename=e},expression:"selectairmatename"}},t._l(t.airmates,(function(t,e){return i("el-option",{key:e,attrs:{label:t.name,value:t.name}})})),1)],1),t._v(" "),i("li",[i("span",[t._v("Layers Number")]),t._v(" "),i("el-select",{attrs:{size:"mini",disabled:t.disabledAll},on:{change:t.changeGroup},model:{value:t.selectgroupgroupid,callback:function(e){t.selectgroupgroupid=e},expression:"selectgroupgroupid"}},t._l(t.selectairmate.layersObj,(function(t,e){return i("el-option",{key:e,attrs:{label:t.groupid,value:t.groupid}})})),1)],1),t._v(" "),i("li",[i("span",[t._v("Layup Orientation")]),t._v(" "),i("el-input-number",{attrs:{size:"mini",step:.01,disabled:t.disabledAll},model:{value:t.selectgroup.lorient,callback:function(e){t.$set(t.selectgroup,"lorient",e)},expression:"selectgroup.lorient"}})],1),t._v(" "),i("li",[i("span",[t._v("Fiber Orientation")]),t._v(" "),i("el-input-number",{attrs:{size:"mini",step:.01,disabled:t.disabledAll},model:{value:t.selectgroup.forient,callback:function(e){t.$set(t.selectgroup,"forient",e)},expression:"selectgroup.forient"}})],1),t._v(" "),i("li",[i("span",[t._v("Option")]),t._v(" "),i("el-select",{attrs:{size:"mini",disabled:t.disabledAll},model:{value:t.option,callback:function(e){t.option=e},expression:"option"}},t._l(t.options,(function(t,e){return i("el-option",{key:e,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),i("li",{staticClass:"flexSa btn100"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:t.resetlayup}},[t._v("Reset Layup")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:t.airMateApply}},[t._v("Apply")])],1)])]),t._v(" "),i("li",{directives:[{name:"show",rawName:"v-show",value:t.isopt,expression:"isopt"}],staticClass:"flexSa"},[i("el-button",{attrs:{size:"mini",type:"success",disabled:t.disabledAll},on:{click:t.optimization}},[t._v("Optimization")]),t._v(" "),i("el-button",{staticStyle:{width:"106.77px"},attrs:{size:"mini",type:"success",disabled:t.disabledAll},on:{click:t.cancel}},[t._v("Cancel")])],1),t._v(" "),i("el-dialog",{attrs:{title:"Materials selector",visible:t.dialogselector,width:"50%",center:""},on:{"update:visible":function(e){t.dialogselector=e}}},[i("div",[i("el-row",{attrs:{gutter:24}},[i("el-col",{attrs:{span:10}},[i("div",[i("el-table",{ref:"stable2",attrs:{data:t.mdata,height:"265",size:"mini","highlight-current-row":""},on:{"current-change":t.smSelectChange}},[i("el-table-column",{attrs:{property:"mateNo",label:"Id",width:"50"}}),t._v(" "),i("el-table-column",{attrs:{property:"name",label:"Name","show-overflow-tooltip":""}}),t._v(" "),t._e(),t._v(" "),i("el-table-column",{attrs:{property:"type",label:"Type"}}),t._v(" "),t._e(),t._v(" "),t._e()],1)],1),t._v(" "),i("li",{staticClass:"flexSa"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.add()}}},[t._v("Add")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.del()}}},[t._v("Delete")])],1)]),t._v(" "),i("el-col",{attrs:{span:14}},[i("div",{staticClass:"params"},[i("li",[i("span",[t._v("Type")]),t._v(" "),i("el-select",{attrs:{size:"mini"},on:{change:t.typeChange},model:{value:t.selectMate.mate.type,callback:function(e){t.$set(t.selectMate.mate,"type",e)},expression:"selectMate.mate.type"}},t._l(t.types,(function(t,e){return i("el-option",{key:e,attrs:{label:t,value:t}})})),1)],1),t._v(" "),i("li",[i("span",[t._v("Material Name")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.mate.name,callback:function(e){t.$set(t.selectMate.mate,"name",e)},expression:"selectMate.mate.name"}})],1)]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:"Isotropic"==t.selectMate.mate.type,expression:"selectMate.mate.type=='Isotropic'"}],staticClass:"yxfbox params sapnIpt"},[i("span",{staticClass:"yxspan"},[t._v("Property")]),t._v(" "),i("li",[i("span",[t._v("Elastic Modulus")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[0],callback:function(e){t.$set(t.selectMate.values,0,e)},expression:"selectMate.values[0]"}})],1),t._v(" "),i("li",[i("span",[t._v("Poisson Ratio")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[1],callback:function(e){t.$set(t.selectMate.values,1,e)},expression:"selectMate.values[1]"}})],1),t._v(" "),i("li",[i("span",[t._v("Thermal Conductivity")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[2],callback:function(e){t.$set(t.selectMate.values,2,e)},expression:"selectMate.values[2]"}})],1),t._v(" "),i("li",[i("span",[t._v("Thermal Expansion Coefficient")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[3],callback:function(e){t.$set(t.selectMate.values,3,e)},expression:"selectMate.values[3]"}})],1),t._v(" "),i("li",[i("span",[t._v("Reference Temperature")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[4],callback:function(e){t.$set(t.selectMate.values,4,e)},expression:"selectMate.values[4]"}})],1),t._v(" "),i("li",[i("span",[t._v("Density")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[5],callback:function(e){t.$set(t.selectMate.values,5,e)},expression:"selectMate.values[5]"}})],1)]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:"Orthotropic"==t.selectMate.mate.type,expression:"selectMate.mate.type=='Orthotropic'"}],staticClass:"yxfbox params"},[i("span",{staticClass:"yxspan"},[t._v("Property")]),t._v(" "),i("h5",[t._v("Elastic Modulus")]),t._v(" "),i("li",[i("span",[t._v("11")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[0],callback:function(e){t.$set(t.selectMate.values,0,e)},expression:"selectMate.values[0]"}})],1),t._v(" "),i("li",[i("span",[t._v("22")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[1],callback:function(e){t.$set(t.selectMate.values,1,e)},expression:"selectMate.values[1]"}})],1),t._v(" "),i("li",[i("span",[t._v("33")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[2],callback:function(e){t.$set(t.selectMate.values,2,e)},expression:"selectMate.values[2]"}})],1),t._v(" "),i("h5",[t._v("Shear Modulus")]),t._v(" "),i("li",[i("span",[t._v("12")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[3],callback:function(e){t.$set(t.selectMate.values,3,e)},expression:"selectMate.values[3]"}})],1),t._v(" "),i("li",[i("span",[t._v("13")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[4],callback:function(e){t.$set(t.selectMate.values,4,e)},expression:"selectMate.values[4]"}})],1),t._v(" "),i("li",[i("span",[t._v("23")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[5],callback:function(e){t.$set(t.selectMate.values,5,e)},expression:"selectMate.values[5]"}})],1),t._v(" "),i("h5",[t._v("Poission Ratio")]),t._v(" "),i("li",[i("span",[t._v("12")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[6],callback:function(e){t.$set(t.selectMate.values,6,e)},expression:"selectMate.values[6]"}})],1),t._v(" "),i("li",[i("span",[t._v("13")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[7],callback:function(e){t.$set(t.selectMate.values,7,e)},expression:"selectMate.values[7]"}})],1),t._v(" "),i("li",[i("span",[t._v("23")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[8],callback:function(e){t.$set(t.selectMate.values,8,e)},expression:"selectMate.values[8]"}})],1),t._v(" "),i("h5",[t._v("Thermal Conductivity")]),t._v(" "),i("li",[i("span",[t._v("11")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[9],callback:function(e){t.$set(t.selectMate.values,9,e)},expression:"selectMate.values[9]"}})],1),t._v(" "),i("li",[i("span",[t._v("22")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[10],callback:function(e){t.$set(t.selectMate.values,10,e)},expression:"selectMate.values[10]"}})],1),t._v(" "),i("li",[i("span",[t._v("33")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[11],callback:function(e){t.$set(t.selectMate.values,11,e)},expression:"selectMate.values[11]"}})],1),t._v(" "),i("h5",[t._v("Thermal Expansion Coefficient")]),t._v(" "),i("li",[i("span",[t._v("11")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[12],callback:function(e){t.$set(t.selectMate.values,12,e)},expression:"selectMate.values[12]"}})],1),t._v(" "),i("li",[i("span",[t._v("22")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[13],callback:function(e){t.$set(t.selectMate.values,13,e)},expression:"selectMate.values[13]"}})],1),t._v(" "),i("li",[i("span",[t._v("33")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[14],callback:function(e){t.$set(t.selectMate.values,14,e)},expression:"selectMate.values[14]"}})],1),t._v(" "),i("li",[i("span",[t._v("Reference Temperature")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[15],callback:function(e){t.$set(t.selectMate.values,15,e)},expression:"selectMate.values[15]"}})],1),t._v(" "),i("li",[i("span",[t._v("Density")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[16],callback:function(e){t.$set(t.selectMate.values,16,e)},expression:"selectMate.values[16]"}})],1)]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:"Anisotropic"==t.selectMate.mate.type,expression:"selectMate.mate.type=='Anisotropic'"}],staticClass:"yxfbox params"},[i("span",{staticClass:"yxspan"},[t._v("Property")]),t._v(" "),i("div",{staticClass:"yxfbox "},[i("span",{staticClass:"yxspan"},[t._v("Stiffness Matrix")]),t._v(" "),i("table",{staticClass:"taboxs"},[i("tr",[i("td"),t._v(" "),i("td",[t._v("1")]),t._v(" "),i("td",[t._v("2")]),t._v(" "),i("td",[t._v("3")]),t._v(" "),i("td",[t._v("4")]),t._v(" "),i("td",[t._v("5")]),t._v(" "),i("td",[t._v("6")])]),t._v(" "),i("tr",[i("td",[t._v("1")]),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[0],callback:function(e){t.$set(t.selectMate.values,0,e)},expression:"selectMate.values[0]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[1],callback:function(e){t.$set(t.selectMate.values,1,e)},expression:"selectMate.values[1]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[2],callback:function(e){t.$set(t.selectMate.values,2,e)},expression:"selectMate.values[2]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[3],callback:function(e){t.$set(t.selectMate.values,3,e)},expression:"selectMate.values[3]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[4],callback:function(e){t.$set(t.selectMate.values,4,e)},expression:"selectMate.values[4]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[5],callback:function(e){t.$set(t.selectMate.values,5,e)},expression:"selectMate.values[5]"}})],1)]),t._v(" "),i("tr",[i("td",[t._v("2")]),t._v(" "),i("td"),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[6],callback:function(e){t.$set(t.selectMate.values,6,e)},expression:"selectMate.values[6]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[7],callback:function(e){t.$set(t.selectMate.values,7,e)},expression:"selectMate.values[7]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[8],callback:function(e){t.$set(t.selectMate.values,8,e)},expression:"selectMate.values[8]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[9],callback:function(e){t.$set(t.selectMate.values,9,e)},expression:"selectMate.values[9]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[10],callback:function(e){t.$set(t.selectMate.values,10,e)},expression:"selectMate.values[10]"}})],1)]),t._v(" "),i("tr",[i("td",[t._v("3")]),t._v(" "),i("td"),t._v(" "),i("td"),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[11],callback:function(e){t.$set(t.selectMate.values,11,e)},expression:"selectMate.values[11]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[12],callback:function(e){t.$set(t.selectMate.values,12,e)},expression:"selectMate.values[12]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[13],callback:function(e){t.$set(t.selectMate.values,13,e)},expression:"selectMate.values[13]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[14],callback:function(e){t.$set(t.selectMate.values,14,e)},expression:"selectMate.values[14]"}})],1)]),t._v(" "),i("tr",[i("td",[t._v("4")]),t._v(" "),i("td"),t._v(" "),i("td"),t._v(" "),i("td"),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[15],callback:function(e){t.$set(t.selectMate.values,15,e)},expression:"selectMate.values[15]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[16],callback:function(e){t.$set(t.selectMate.values,16,e)},expression:"selectMate.values[16]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[17],callback:function(e){t.$set(t.selectMate.values,17,e)},expression:"selectMate.values[17]"}})],1)]),t._v(" "),i("tr",[i("td",[t._v("5")]),t._v(" "),i("td"),t._v(" "),i("td"),t._v(" "),i("td"),t._v(" "),i("td"),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[18],callback:function(e){t.$set(t.selectMate.values,18,e)},expression:"selectMate.values[18]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[19],callback:function(e){t.$set(t.selectMate.values,19,e)},expression:"selectMate.values[19]"}})],1)]),t._v(" "),i("tr",[i("td",[t._v("6")]),t._v(" "),i("td"),t._v(" "),i("td"),t._v(" "),i("td"),t._v(" "),i("td"),t._v(" "),i("td"),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[20],callback:function(e){t.$set(t.selectMate.values,20,e)},expression:"selectMate.values[20]"}})],1)])])]),t._v(" "),i("div",{staticClass:"yxfbox"},[i("span",{staticClass:"yxspan"},[t._v("Thermal Conductivity Matrix")]),t._v(" "),i("table",{staticClass:"taboxs"},[i("tr",[i("td"),t._v(" "),i("td",[t._v("1")]),t._v(" "),i("td",[t._v("2")]),t._v(" "),i("td",[t._v("3")])]),t._v(" "),i("tr",[i("td",[t._v("1")]),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[21],callback:function(e){t.$set(t.selectMate.values,21,e)},expression:"selectMate.values[21]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[22],callback:function(e){t.$set(t.selectMate.values,22,e)},expression:"selectMate.values[22]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[23],callback:function(e){t.$set(t.selectMate.values,23,e)},expression:"selectMate.values[23]"}})],1)]),t._v(" "),i("tr",[i("td",[t._v("2")]),t._v(" "),i("td"),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[24],callback:function(e){t.$set(t.selectMate.values,24,e)},expression:"selectMate.values[24]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[25],callback:function(e){t.$set(t.selectMate.values,25,e)},expression:"selectMate.values[25]"}})],1)]),t._v(" "),i("tr",[i("td",[t._v("3")]),t._v(" "),i("td"),t._v(" "),i("td"),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[26],callback:function(e){t.$set(t.selectMate.values,26,e)},expression:"selectMate.values[26]"}})],1)])])]),t._v(" "),i("div",{staticClass:"yxfbox params"},[i("span",{staticClass:"yxspan"},[t._v("Thermal Expansion Coefficient Matrix")]),t._v(" "),i("table",{staticClass:"taboxs"},[i("tr",[i("td",[t._v("11")]),t._v(" "),i("td",[t._v("12")]),t._v(" "),i("td",[t._v("13")]),t._v(" "),i("td",[t._v("22")]),t._v(" "),i("td",[t._v("23")]),t._v(" "),i("td",[t._v("33")])]),t._v(" "),i("tr",[i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[27],callback:function(e){t.$set(t.selectMate.values,27,e)},expression:"selectMate.values[27]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[28],callback:function(e){t.$set(t.selectMate.values,28,e)},expression:"selectMate.values[28]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[29],callback:function(e){t.$set(t.selectMate.values,29,e)},expression:"selectMate.values[29]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[30],callback:function(e){t.$set(t.selectMate.values,30,e)},expression:"selectMate.values[30]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[31],callback:function(e){t.$set(t.selectMate.values,31,e)},expression:"selectMate.values[31]"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{size:"mini"},model:{value:t.selectMate.values[32],callback:function(e){t.$set(t.selectMate.values,32,e)},expression:"selectMate.values[32]"}})],1)])]),t._v(" "),i("li",{staticClass:"rtem"},[i("span",[t._v("Reference Temperature")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[33],callback:function(e){t.$set(t.selectMate.values,33,e)},expression:"selectMate.values[33]"}})],1)]),t._v(" "),i("li",[i("span",[t._v("Density")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini"},model:{value:t.selectMate.values[34],callback:function(e){t.$set(t.selectMate.values,34,e)},expression:"selectMate.values[34]"}})],1)]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.mateSaveOrUpdate()}}},[t._v("Apply")])],1)],1)],1)])],1)},ge=[],ye=i("cac0"),xe=ye["a"],_e=(i("c9de"),Object(w["a"])(xe,be,ge,!1,null,null,null)),we=_e.exports,Ae=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("p",[t._v("PreVabs")]),t._v(" "),i("div",{staticClass:"yxfbox param"},[i("span",{staticClass:"yxspan"},[t._v("Operation")]),t._v(" "),i("div",[i("li",[i("span",[t._v("Action")]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.action,callback:function(e){t.action=e},expression:"action"}},t._l(t.actions,(function(t,e){return i("el-option",{key:e,attrs:{label:t,value:t}})})),1)],1),t._v(" "),i("li",[i("span",[t._v("Object")]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.object,callback:function(e){t.object=e},expression:"object"}},t._l(t.objects,(function(t,e){return i("el-option",{key:e,attrs:{label:t,value:t}})})),1)],1),t._v(" "),"Create"==t.action?i("li",[i("span",[t._v("Type")]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},t._l(t.types,(function(t,e){return i("el-option",{key:e,attrs:{label:t,value:t}})})),1)],1):t._e(),t._v(" "),"Create"==t.action&&"General Gemetry"==t.type?i("li",[i("span",[t._v("Name")]),t._v(" "),i("el-input",{attrs:{placeholder:"",size:"mini"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}})],1):t._e()])]),t._v(" "),"Create"==t.action&&"General Gemetry"==t.type?i("div",[i("div",{staticClass:"yxfbox param"},[i("span",{staticClass:"yxspan"},[t._v("Are")]),t._v(" "),i("div",[i("el-table",{ref:"gtable",attrs:{data:t.areaList,"max-height":"250",size:"mini","highlight-current-row":""}},[i("el-table-column",{attrs:{property:"geometryid",label:"Id"}}),t._v(" "),i("el-table-column",{attrs:{property:"name",label:"Name"}})],1)],1)])]):t._e(),t._v(" "),"Create"==t.action&&"Parameter Geometry"==t.type?i("div",[i("div",{staticClass:"yxfbox param"},[i("span",{staticClass:"yxspan"},[t._v("Are")]),t._v(" "),i("div",[i("el-table",{ref:"ptable",attrs:{data:t.areaList,"max-height":"250",size:"mini","highlight-current-row":""}},[i("el-table-column",{attrs:{property:"geometryid",label:"Id"}}),t._v(" "),i("el-table-column",{attrs:{property:"name",label:"Name"}})],1),t._v(" "),i("li",[i("span",[t._v("Mesh Method")]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.meshMethod,callback:function(e){t.meshMethod=e},expression:"meshMethod"}},t._l(t.meshMethods,(function(t,e){return i("el-option",{key:e,attrs:{label:t,value:t}})})),1)],1)],1)])]):t._e(),t._v(" "),"Modify"==t.action?i("div",[i("div",{staticClass:"yxfbox param"},[i("span",{staticClass:"yxspan"},[t._v("Mesh List")]),t._v(" "),i("div",[i("el-table",{ref:"mtable",attrs:{data:t.areaList,"max-height":"250",size:"mini","highlight-current-row":""},on:{"current-change":t.mSelectChange}},[i("el-table-column",{attrs:{property:"geometryid",label:"Id"}}),t._v(" "),i("el-table-column",{attrs:{property:"name",label:"Name"}})],1)],1)])]):t._e(),t._v(" "),i("div",{staticClass:"yxfbox param"},[i("span",{staticClass:"yxspan"},[t._v("Element Type")]),t._v(" "),i("div",[i("el-radio-group",{attrs:{size:"mini"},model:{value:t.elementtype,callback:function(e){t.elementtype=e},expression:"elementtype"}},[i("li",[i("el-radio",{attrs:{label:"TRI3"}},[t._v("TRI3")])],1),t._v(" "),i("li",[i("el-radio",{attrs:{label:"TRI6"}},[t._v("TRI6")])],1),t._v(" "),i("li",[i("el-radio",{attrs:{label:"QUAD4"}},[t._v("QUAD4")])],1),t._v(" "),i("li",[i("el-radio",{attrs:{label:"QUAD8"}},[t._v("QUAD8")])],1)])],1)]),t._v(" "),i("div",{staticClass:"yxfbox param"},[i("span",{staticClass:"yxspan"},[t._v("Arguments")]),t._v(" "),i("div",[i("li",[i("span",[t._v("Heal Toler")]),t._v(" "),i("el-input",{attrs:{placeholder:"",size:"mini"},model:{value:t.healtoler,callback:function(e){t.healtoler=e},expression:"healtoler"}})],1),t._v(" "),i("li",[i("span",[t._v("Max Size")]),t._v(" "),i("el-input",{attrs:{placeholder:"",size:"mini"},model:{value:t.fineness.maxsize,callback:function(e){t.$set(t.fineness,"maxsize",e)},expression:"fineness.maxsize"}})],1),t._v(" "),i("li",[i("span",[t._v("Min Size")]),t._v(" "),i("el-input",{attrs:{placeholder:"",size:"mini"},model:{value:t.fineness.minsize,callback:function(e){t.$set(t.fineness,"minsize",e)},expression:"fineness.minsize"}})],1),t._v(" "),i("li",[i("span",[t._v("Type")]),t._v(" "),i("el-select",{attrs:{size:"mini"},on:{change:t.finenessChange},model:{value:t.finenestemp,callback:function(e){t.finenestemp=e},expression:"finenestemp"}},t._l(t.finenesss,(function(t,e){return i("el-option",{key:e,attrs:{label:t.name,value:t.name}})})),1)],1),t._v(" "),i("li",[i("span",[t._v("Nb. per Edge")]),t._v(" "),i("el-input",{attrs:{placeholder:"",size:"mini",disabled:"User Defined"!=t.fineness.name},model:{value:t.fineness.nbperedge,callback:function(e){t.$set(t.fineness,"nbperedge",e)},expression:"fineness.nbperedge"}})],1),t._v(" "),i("li",[i("span",[t._v("Nb. per Radus")]),t._v(" "),i("el-input",{attrs:{placeholder:"",size:"mini",disabled:"User Defined"!=t.fineness.name},model:{value:t.fineness.nbperradus,callback:function(e){t.$set(t.fineness,"nbperradus",e)},expression:"fineness.nbperradus"}})],1),t._v(" "),i("li",[i("span",[t._v("Optimize")]),t._v(" "),i("el-checkbox",{attrs:{size:"mini"},model:{value:t.optimize,callback:function(e){t.optimize=e},expression:"optimize"}})],1)])]),t._v(" "),i("li",{staticClass:"flexSa"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:t.mStart}},[t._v("Start")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"}},[t._v("Stop")])],1)])},ke=[],Se=new b["a"],ze={data:function(){return{actions:["Create","Modify"],types:["General Gemetry","Parameter Geometry"],objects:["Mesh"],action:"Create",object:"Mesh",type:"General Gemetry",name:"",areaList:[],meshMethods:["Whole"],meshMethod:"Whole",elementtype:"TRI3",healtoler:.01,finenestemp:"Coarse",finenesss:[{name:"Very Coarse",maxsize:.230159511,minsize:.009084891,grading:.7,nbperedge:.3,nbperradus:1},{name:"Coarse",maxsize:.229813356,minsize:.008738736,grading:.5,nbperedge:.5,nbperradus:1.5},{name:"Moderate",maxsize:.229467201,minsize:.008392581,grading:.3,nbperedge:1,nbperradus:2},{name:"Fine",maxsize:.229121046,minsize:.008046426,grading:.2,nbperedge:2,nbperradus:3},{name:"Very Fine",maxsize:.228774891,minsize:.007700271,grading:.1,nbperedge:3,nbperradus:5},{name:"User Defined",maxsize:.230159511,minsize:.009084891,grading:.5,nbperedge:.5,nbperradus:1.5}],optimize:!0,fineness:{name:"Coarse",maxsize:.229813356,minsize:.008738736,grading:.5,nbperedge:.5,nbperradus:1.5},mesh:{}}},created:function(){this.$bus.$on("selectData",this.geometrySel)},methods:{mSelectChange:function(t){this.mesh=t,console.log(this.mesh)},geometrySel:function(t){this.areaList=t},finenessChange:function(t){var e=this;this.finenestemp=t,this.finenesss.forEach((function(i){i.name!=t||(e.fineness=i)}))},mStart:function(){var t=this,e=[];null!=this.mesh.gid||this.areaList.forEach((function(t){e.push(t.gid)}));var i={transCode:"BDS031",gid:null==this.mesh.gid?null:this.mesh.gid,object:this.object,type:this.type,areaList:JSON.stringify(e),elementtype:this.elementtype,healtoler:this.healtoler,maxsize:this.fineness.maxsize,minsize:this.fineness.minsize,fineness:this.fineness.name,grading:this.fineness.grading,nbperedge:this.fineness.nbperedge,nbperradus:this.fineness.nbperradus,optimize:this.optimize,meshMethod:this.meshMethod,name:this.name,projectId:sessionStorage.getItem("pid")};Object(c["c"])(i).then((function(e){t.$emit("getElementData"),Se.success("success")})).catch((function(t){Se.error(t.Message)}))}}},Me=ze,Ce=Object(w["a"])(Me,Ae,ke,!1,null,null,null),je=Ce.exports,De=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("p",[t._v("VABS")]),t._v(" "),i("div",{staticClass:"yxfbox param"},[i("span",{staticClass:"yxspan"},[t._v("Setting of Input")]),t._v(" "),i("div",[i("li",[i("el-checkbox",{attrs:{size:"mini"},model:{value:t.classicalflag,callback:function(e){t.classicalflag=e},expression:"classicalflag"}},[t._v("Classical")])],1),t._v(" "),i("li",[i("el-checkbox",{attrs:{size:"mini"},model:{value:t.timoshenkoflag,callback:function(e){t.timoshenkoflag=e},expression:"timoshenkoflag"}},[t._v("Timoshenko")])],1),t._v(" "),i("li",[i("el-checkbox",{attrs:{size:"mini"},model:{value:t.curveflag,callback:function(e){t.curveflag=e},expression:"curveflag"}},[t._v("Curve")])],1),t._v(" "),i("li",[i("el-checkbox",{attrs:{size:"mini"},model:{value:t.obliqueflag,callback:function(e){t.obliqueflag=e},expression:"obliqueflag"}},[t._v("Oblique")])],1),t._v(" "),i("li",[i("el-checkbox",{attrs:{size:"mini"},model:{value:t.trapezeflag,callback:function(e){t.trapezeflag=e},expression:"trapezeflag"}},[t._v("Trapeze")])],1),t._v(" "),i("li",[i("el-checkbox",{attrs:{size:"mini"},model:{value:t.vlasovflag,callback:function(e){t.vlasovflag=e},expression:"vlasovflag"}},[t._v("Vlasov")])],1),t._v(" "),i("li",[i("el-checkbox",{attrs:{size:"mini"},model:{value:t.thermalflag,callback:function(e){t.thermalflag=e},expression:"thermalflag"}},[t._v("Thermal")])],1),t._v(" "),t.curveflag?i("li",[i("span",[t._v("Twsit k1")]),t._v(" "),i("el-input",{attrs:{placeholder:"",size:"mini"},model:{value:t.twsitk1,callback:function(e){t.twsitk1=e},expression:"twsitk1"}})],1):t._e(),t._v(" "),t.curveflag?i("li",[i("span",[t._v("Curvature k2")]),t._v(" "),i("el-input",{attrs:{placeholder:"",size:"mini"},model:{value:t.curvaturek2,callback:function(e){t.curvaturek2=e},expression:"curvaturek2"}})],1):t._e(),t._v(" "),t.obliqueflag?i("li",[i("span",[t._v("Curvature k3")]),t._v(" "),i("el-input",{attrs:{placeholder:"",size:"mini"},model:{value:t.curvaturek3,callback:function(e){t.curvaturek3=e},expression:"curvaturek3"}})],1):t._e(),t._v(" "),t.obliqueflag?i("li",[i("span",[t._v("Oblique beta1")]),t._v(" "),i("el-input",{attrs:{placeholder:"",size:"mini"},model:{value:t.obliquebeta1,callback:function(e){t.obliquebeta1=e},expression:"obliquebeta1"}})],1):t._e(),t._v(" "),t.obliqueflag?i("li",[i("span",[t._v("Oblique beta2")]),t._v(" "),i("el-input",{attrs:{placeholder:"",size:"mini"},model:{value:t.obliquebeta2,callback:function(e){t.obliquebeta2=e},expression:"obliquebeta2"}})],1):t._e()])]),t._v(" "),i("div",{staticClass:"yxfbox param"},[i("span",{staticClass:"yxspan"},[t._v("Mesh List")]),t._v(" "),i("div",[i("el-table",{ref:"mtable",attrs:{data:t.meshList,"max-height":"250",size:"mini","highlight-current-row":""},on:{"current-change":t.smSelectChange}},[i("el-table-column",{attrs:{property:"geometryid",label:"Id"}}),t._v(" "),i("el-table-column",{attrs:{property:"name",label:"Name"}})],1)],1),t._v(" "),i("li",{staticClass:"disflex justcenter"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:t.mstart}},[t._v("Start VABS")])],1)]),t._v(" "),t._m(0)])},Ee=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"yxfbox param"},[i("span",{staticClass:"yxspan"},[t._v("Display Output Messages")]),t._v(" "),i("div",[i("div")])])}],Oe=new b["a"],Be={data:function(){return{classicalflag:!0,timoshenkoflag:!0,recoverflag:!1,curveflag:!1,obliqueflag:!1,trapezeflag:!1,vlasovflag:!1,thermalflag:!1,twsitk1:0,curvaturek2:0,curvaturek3:0,obliquebeta1:1,obliquebeta2:0,meshList:[],tmesh:{}}},created:function(){this.$bus.$on("selectData",this.geometrySel)},methods:{geometrySel:function(t){this.meshList=t},smSelectChange:function(t){t&&(this.tmesh=t)},mstart:function(){if(null!=this.tmesh.gid){var t={transCode:"BDS032",gid:this.tmesh.gid,classicalflag:this.classicalflag,timoshenkoflag:this.timoshenkoflag,recoverflag:this.recoverflag,thermalflag:this.thermalflag,curveflag:this.curveflag,obliqueflag:this.obliqueflag,trapezeflag:this.timoshenkoflag,vlasovflag:this.vlasovflag,twsitk1:this.twsitk1,curvaturek2:this.curvaturek2,curvaturek3:this.curvaturek3,obliquebeta1:this.obliquebeta1,obliquebeta2:this.obliquebeta2,projectId:sessionStorage.getItem("pid")};Object(c["c"])(t).then((function(t){Oe.success("success")})).catch((function(t){Oe.error(t.Message)}))}else Oe.warning("Mesh Not Selected !")}}},Pe=Be,Ie=Object(w["a"])(Pe,De,Ee,!1,null,null,null),Ne=Ie.exports,Te=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"Analysis"},[i("li",[t._v(t._s(t.$t("Bladesign.analysis.analysis")))]),t._v(" "),i("div",{staticClass:"yxfbox"},[i("span",{staticClass:"yxspan"},[t._v(t._s(t.$t("Bladesign.analysis.operation")))]),t._v(" "),i("li",[i("span",[t._v(t._s(t.opt.title))]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.opt.value,callback:function(e){t.$set(t.opt,"value",e)},expression:"opt.value"}},t._l(t.opt.atpey,(function(t,e){return i("el-option",{key:e,attrs:{label:t.name,value:t.val}})})),1)],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.analysis.iterations")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:1,step:1},model:{value:t.opt.iter,callback:function(e){t.$set(t.opt,"iter",e)},expression:"opt.iter"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.analysis.steps")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:1,step:1},model:{value:t.opt.Steps,callback:function(e){t.$set(t.opt,"Steps",e)},expression:"opt.Steps"}})],1)]),t._v(" "),"1"==t.opt.value||"2"==t.opt.value||"3"==t.opt.value?i("div",{staticClass:"tablecontent"},[i("table",{staticClass:"tables"},[i("tr",{class:{active:"1"==t.active},on:{click:function(e){return t.selected("1")}}},[i("td"),t._v(" "),i("td",[t._v("X")]),t._v(" "),i("td",[t._v("Y")]),t._v(" "),i("td",[t._v("Z")])]),t._v(" "),i("tr",{class:{active:"2"==t.active},on:{click:function(e){return t.selected("2")}}},[i("td",{staticClass:"table_title"},[t._v("Angular Velocity ")]),t._v(" "),i("td",[i("el-input",{attrs:{oninput:"value=value.replace(/[^0-9.]/g,'')"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{oninput:"value=value.replace(/[^0-9.]/g,'')"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{oninput:"value=value.replace(/[^0-9.]/g,'')"}})],1)]),t._v(" "),i("tr",{class:{active:"3"==t.active},on:{click:function(e){return t.selected("3")}}},[i("td",{staticClass:"table_title"},[t._v("Time Function")]),t._v(" "),i("td",[i("el-select",{attrs:{size:"mini"},model:{value:t.ti,callback:function(e){t.ti=e},expression:"ti"}},t._l(t.timenum,(function(t,e){return i("el-option",{key:e,attrs:{value:t}})})),1)],1),t._v(" "),i("td",[i("el-select",{attrs:{size:"mini"},model:{value:t.ti,callback:function(e){t.ti=e},expression:"ti"}},t._l(t.timenum,(function(t,e){return i("el-option",{key:e,attrs:{value:t}})})),1)],1),t._v(" "),i("td",[i("el-select",{attrs:{size:"mini"},model:{value:t.ti,callback:function(e){t.ti=e},expression:"ti"}},t._l(t.timenum,(function(t,e){return i("el-option",{key:e,attrs:{value:t}})})),1)],1)]),t._v(" "),i("tr",{class:{active:"4"==t.active},on:{click:function(e){return t.selected("4")}}},[i("td",{staticClass:"table_title"},[t._v("Linear Velocity")]),t._v(" "),i("td",[i("el-input",{attrs:{oninput:"value=value.replace(/[^0-9.]/g,'')"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{oninput:"value=value.replace(/[^0-9.]/g,'')"}})],1),t._v(" "),i("td",[i("el-input",{attrs:{oninput:"value=value.replace(/[^0-9.]/g,'')"}})],1)]),t._v(" "),i("tr",{class:{active:"5"==t.active},on:{click:function(e){return t.selected("5")}}},[i("td",{staticClass:"table_title"},[t._v("Time Function")]),t._v(" "),i("td",[i("el-select",{attrs:{size:"mini"},model:{value:t.ti,callback:function(e){t.ti=e},expression:"ti"}},t._l(t.timenum,(function(t,e){return i("el-option",{key:e,attrs:{value:t}})})),1)],1),t._v(" "),i("td",[i("el-select",{attrs:{size:"mini"},model:{value:t.ti,callback:function(e){t.ti=e},expression:"ti"}},t._l(t.timenum,(function(t,e){return i("el-option",{key:e,attrs:{value:t}})})),1)],1),t._v(" "),i("td",[i("el-select",{attrs:{size:"mini"},model:{value:t.ti,callback:function(e){t.ti=e},expression:"ti"}},t._l(t.timenum,(function(t,e){return i("el-option",{key:e,attrs:{value:t}})})),1)],1)])])]):t._e(),t._v(" "),"3"==t.opt.value?i("li",[i("span",{staticClass:"noe"},[t._v(t._s(t.$t("Bladesign.analysis.noeRequested")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:1,step:1},model:{value:t.opt.Steps,callback:function(e){t.$set(t.opt,"Steps",e)},expression:"opt.Steps"}})],1):t._e(),t._v(" "),i("div",{staticClass:"yxfbox keypoint"},[i("span",{staticClass:"yxspan"},[t._v("Key points")]),t._v(" "),i("div",[i("el-table",{ref:"keytable",attrs:{data:t.keydata,height:"200",size:"mini","highlight-current-row":""}},[i("el-table-column",{attrs:{type:"index","min-width":"90",label:"ID"}}),t._v(" "),i("el-table-column",{attrs:{property:"x",label:"X"}}),t._v(" "),i("el-table-column",{attrs:{property:"y","min-width":"100",label:"Y"}}),t._v(" "),i("el-table-column",{attrs:{property:"z",label:"Z"}})],1)],1)]),t._v(" "),i("div",{staticClass:"yxfbox Cross"},[i("span",{staticClass:"yxspan"},[t._v("Cross Sections")]),t._v(" "),i("div",[i("el-table",{ref:"Crosstable",attrs:{data:t.Crossdata,height:"200",size:"mini","highlight-current-row":""}},[i("el-table-column",{attrs:{type:"index","min-width":"90",label:"ID"}}),t._v(" "),i("el-table-column",{attrs:{property:"x",label:"Mesh Name","min-width":"100"}}),t._v(" "),i("el-table-column",{attrs:{property:"y",label:"Geom Name","min-width":"100"}})],1)],1)]),t._v(" "),i("div",{staticClass:"yxfbox Cross"},[i("span",{staticClass:"yxspan"},[t._v("Members")]),t._v(" "),i("div",[i("el-table",{ref:"Memberstable",attrs:{data:t.Membersdata,height:"200",size:"mini","highlight-current-row":""}},[i("el-table-column",{attrs:{type:"index","min-width":"90",label:"ID"}}),t._v(" "),i("el-table-column",{attrs:{label:"Divide Num",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-input",{attrs:{oninput:"value=value.replace(/[^0-9.]/g,'')"},model:{value:e.row.num,callback:function(i){t.$set(e.row,"num",i)},expression:"scope.row.num"}})]}}])}),t._v(" "),i("el-table-column",{attrs:{width:"100",label:"Curve ID"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-select",{model:{value:e.row.curid,callback:function(i){t.$set(e.row,"curid",i)},expression:"scope.row.curid"}},t._l(t.curveid,(function(t){return i("el-option",{key:t,attrs:{label:t,value:t}})})),1)]}}])}),t._v(" "),i("el-table-column",{attrs:{label:"ross-Section Start",width:"130"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-input",{model:{value:e.row.rosss,callback:function(i){t.$set(e.row,"rosss",i)},expression:"scope.row.rosss"}})]}}])}),t._v(" "),i("el-table-column",{attrs:{label:"ross-Section End",width:"125"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-input",{model:{value:e.row.rosse,callback:function(i){t.$set(e.row,"rosse",i)},expression:"scope.row.rosse"}})]}}])}),t._v(" "),i("el-table-column",{attrs:{width:"100",label:"Frame NUm"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-select",{model:{value:e.row.fnum,callback:function(i){t.$set(e.row,"fnum",i)},expression:"scope.row.fnum"}},t._l(t.frame,(function(t){return i("el-option",{key:t,attrs:{label:t,value:t}})})),1)]}}])})],1)],1)]),t._v(" "),"2"==t.opt.value?i("div",{staticClass:"yxfbox Initial"},[i("span",{staticClass:"yxspan"},[t._v("Initial File")]),t._v(" "),i("li",[i("el-input"),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"}},[t._v("....")])],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.analysis.mID")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.initial.value,callback:function(e){t.$set(t.initial,"value",e)},expression:"initial.value"}},t._l(t.initial.mID,(function(t,e){return i("el-option",{key:e,attrs:{value:t.val}})})),1)],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.analysis.eID")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.initial.value,callback:function(e){t.$set(t.initial,"value",e)},expression:"initial.value"}},t._l(t.initial.eID,(function(t,e){return i("el-option",{key:e,attrs:{value:t.val}})})),1)],1),t._v(" "),i("div",[i("el-table",{ref:"Filetable",attrs:{data:t.Filedata,height:"200",size:"mini","highlight-current-row":""}},[i("el-table-column",{attrs:{type:"index","min-width":"40",label:"ID"}}),t._v(" "),i("el-table-column",{attrs:{prop:"name","min-width":"100"}}),t._v(" "),i("el-table-column",{attrs:{label:"X","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-input",{model:{value:e.row.x,callback:function(i){t.$set(e.row,"x",i)},expression:"scope.row.x"}})]}}],null,!1,210569009)}),t._v(" "),i("el-table-column",{attrs:{"min-width":"90",label:"Y"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-input",{model:{value:e.row.y,callback:function(i){t.$set(e.row,"y",i)},expression:"scope.row.y"}})]}}],null,!1,1609738768)}),t._v(" "),i("el-table-column",{attrs:{label:"Z","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-input",{model:{value:e.row.z,callback:function(i){t.$set(e.row,"z",i)},expression:"scope.row.z"}})]}}],null,!1,4250031603)})],1)],1),t._v(" "),i("div",{staticClass:"listbtn"},[i("li",{staticClass:"btn"},[i("el-button",{attrs:{size:"mini",type:"success"}},[t._v(t._s(t.$t("Bladesign.analysis.apply")))])],1),t._v(" "),i("li",{staticClass:"btn"},[i("el-button",{attrs:{size:"mini",type:"success"}},[t._v("Creeate File")])],1)])]):t._e(),t._v(" "),i("li",{staticClass:"flexSa"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.startVabs("gebt")}}},[t._v(t._s(t.$t("Bladesign.analysis.apply")))])],1)])},Re=[],Le={props:{timenum:{type:Array,default:function(){return[]}},curveid:{type:Array,default:function(){return[]}},frame:{type:Array,default:function(){return[]}}},data:function(){return{ti:0,opt:{title:"Analysis Type",value:0,atpey:[{name:"Static Anakysis",val:0},{name:"Steady State Analysis",val:1},{name:"Dynamic Response",val:2},{name:"Eigenvalue Analysis",val:3}],iter:1e3,Steps:1},keydata:[{x:1,y:2,z:3}],Crossdata:[],Membersdata:[{num:1,curid:0,rosss:1,rosse:1,fnum:1}],Filedata:[{name:"Disp",x:0,y:0,z:0},{name:"Rotation",x:0,y:0,z:0},{name:"Angular Velocity",x:0,y:0,z:0},{name:"Linear Velocity",x:0,y:0,z:0}],initial:{value:0,mID:[{val:0}],eID:[{val:0}]},active:""}},mounted:function(){},methods:{selected:function(t){this.active=t},startVabs:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.projectExe(e);case 2:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),projectExe:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i={transCode:"A00105",projectId:sessionStorage.getItem("pid"),orderType:e,lesseeId:this.$store.getters.lesseeId,userName:this.$store.getters.name},t.next=3,Object(c["c"])(i).then((function(t){console.log(t)})).catch((function(t){}));case 3:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()}},Fe=Le,Ue=(i("d34d"),Object(w["a"])(Fe,Te,Re,!1,null,null,null)),Ve=Ue.exports,Ye=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"recovery"},[i("div",{staticClass:"Recovery"},[i("li",[t._v(t._s(t.$t("Bladesign.recovery.recovery")))]),t._v(" "),i("div",{staticClass:"yxfbox retobox"},[i("span",{staticClass:"yxspan"},[t._v(t._s(t.$t("Bladesign.recovery.operation")))]),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.recovery.action")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.Recovery.action,callback:function(e){t.$set(t.Recovery,"action",e)},expression:"Recovery.action"}},[i("el-option",{attrs:{label:"Recovery",value:0}}),t._v(" "),i("el-option",{attrs:{label:"Slice",value:1}}),t._v(" "),i("el-option",{attrs:{label:"XYPlot",value:2}})],1)],1),t._v(" "),"1"==t.Recovery.action||"2"==t.Recovery.action?i("li",[i("span",[t._v(t._s(t.$t("Bladesign.recovery.object")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.Recovery.object,callback:function(e){t.$set(t.Recovery,"object",e)},expression:"Recovery.object"}},[i("el-option",{attrs:{label:"GEBT",value:0}})],1)],1):t._e()]),t._v(" "),"0"==t.Recovery.action||"1"==t.Recovery.action?i("div",{staticClass:"retobox"},["0"==t.Recovery.action?i("div",[i("div",{staticClass:"ret yxfbox"},[i("span",{staticClass:"yxspan"},[t._v(t._s(t.$t("Bladesign.recovery.Settinput")))]),t._v(" "),i("li",[i("el-checkbox-group",{model:{value:t.Recovery.Settinput,callback:function(e){t.$set(t.Recovery,"Settinput",e)},expression:"Recovery.Settinput"}},t._l(t.Recovery.setarr,(function(t,e){return i("el-checkbox",{key:e,attrs:{label:t,value:t}})})),1)],1),t._v(" "),t.Recovery.Settinput.includes("GEBT")?i("div",[i("li",[i("span",{staticClass:"set"},[t._v("Step Number")]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:1,step:1},model:{value:t.Recovery.step,callback:function(e){t.$set(t.Recovery,"step",e)},expression:"Recovery.step"}})],1),t._v(" "),i("li",[i("span",{staticClass:"set"},[t._v("Member Interval Number")]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:1,step:1},model:{value:t.Recovery.step,callback:function(e){t.$set(t.Recovery,"step",e)},expression:"Recovery.step"}})],1),t._v(" "),i("li",{staticStyle:{"text-align":"center"}},[i("el-button",{attrs:{size:"mini"}},[t._v("Read GEBT Data")])],1)]):i("div",[i("li",[i("span",[t._v(t._s(t.$t("Bladesign.recovery.Settinput")))])]),t._v(" "),i("li",{staticStyle:{"text-align":"center"}},[i("el-button",{attrs:{size:"mini"}},[t._v(t._s(t.$t("Bladesign.recovery.set")))])],1)])]),t._v(" "),t.Recovery.Settinput.includes("GEBT")?i("div",{staticClass:"yxfbox"},[i("span",{staticClass:"yxspan"},[t._v(t._s(t.$t("Bladesign.recovery.list")))]),t._v(" "),i("el-table",{ref:"mtabless",attrs:{data:t.MemberList,"max-height":"250",size:"mini","highlight-current-row":""}},[i("el-table-column",{attrs:{property:"geometryid",label:"Member ID"}}),t._v(" "),i("el-table-column",{attrs:{property:"name",label:"Div Num"}}),t._v(" "),i("el-table-column",{attrs:{property:"geometryid",label:"Start Point ID"}}),t._v(" "),i("el-table-column",{attrs:{property:"name",label:"End Point ID"}}),t._v(" "),i("el-table-column",{attrs:{property:"geometryid",label:"Cross-Section"}}),t._v(" "),i("el-table-column",{attrs:{property:"geometryid",label:"Mesh Name"}})],1)],1):i("div",{staticClass:"yxfbox param"},[i("span",{staticClass:"yxspan"},[t._v("Mesh List")]),t._v(" "),i("div",[i("el-table",{ref:"mtable",attrs:{data:t.meshList,"max-height":"250",size:"mini","highlight-current-row":""},on:{"current-change":t.smSelectChange}},[i("el-table-column",{attrs:{property:"geometryid",label:"Id"}}),t._v(" "),i("el-table-column",{attrs:{property:"name",label:"Name"}})],1)],1)]),t._v(" "),i("li",[[i("el-checkbox",{model:{value:t.che3d,callback:function(e){t.che3d=e},expression:"che3d"}},[t._v("3D Contour")])],t._v(" "),[i("el-checkbox",{model:{value:t.chegrid,callback:function(e){t.chegrid=e},expression:"chegrid"}},[t._v("Show 3D Grid")])]],2),t._v(" "),i("li",{staticStyle:{"text-align":"center"}},[i("el-button",{attrs:{size:"mini",type:"success"}},[t._v("Start Recovery")])],1)]):t._e(),t._v(" "),1==t.Recovery.action?i("div",{staticClass:"yxfbox retobox"},[i("span",{staticClass:"yxspan"},[t._v(t._s(t.$t("Bladesign.recovery.Slice")))]),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.recovery.step")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:1,step:1}})],1),t._v(" "),"1"==t.Recovery.action||"2"==t.Recovery.action?i("li",[i("span",[t._v(t._s(t.$t("Bladesign.recovery.member")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.Recovery.object,callback:function(e){t.$set(t.Recovery,"object",e)},expression:"Recovery.object"}},[i("el-option",{attrs:{label:"GEBT",value:0}})],1)],1):t._e(),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.recovery.sliceto")))]),t._v(" "),i("el-input-number",{staticClass:"inpt178",attrs:{size:"mini",min:1,step:1}})],1),t._v(" "),t._m(0),t._v(" "),t._m(1),t._v(" "),t._m(2),t._v(" "),i("div",{staticClass:"yxfbox param"},[i("span",{staticClass:"yxspan"},[t._v("Mesh List")]),t._v(" "),i("div",[i("el-table",{ref:"mtable",attrs:{data:t.meshList,"max-height":"250",size:"mini","highlight-current-row":""},on:{"current-change":t.smSelectChange}},[i("el-table-column",{attrs:{property:"geometryid",label:"Id"}}),t._v(" "),i("el-table-column",{attrs:{property:"name",label:"Name"}})],1)],1)]),t._v(" "),i("li",{staticStyle:{"text-align":"center"}},[i("el-button",{attrs:{size:"mini",type:"success"}},[t._v("Read Data ")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"}},[t._v(" Start Recovery")])],1)]):t._e(),t._v(" "),i("li",{staticClass:"Legend"},[[i("el-checkbox",{model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}},[t._v("Enable Legend")])]],2),t._v(" "),i("li",[i("el-select",{attrs:{size:"mini"},model:{value:t.Recovery.object,callback:function(e){t.$set(t.Recovery,"object",e)},expression:"Recovery.object"}},[i("el-option",{attrs:{label:"3-D Strain",value:0}})],1)],1),t._v(" "),i("div",{staticClass:"yxfbox bore"})]):t._e(),t._v(" "),"2"==t.Recovery.action?i("div",{staticClass:"yxfbox retobox"},[i("span",{staticClass:"yxspan"},[t._v(t._s(t.$t("Bladesign.recovery.xyplot")))]),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.recovery.step")))]),t._v(" "),i("el-input",{staticStyle:{width:"178px"},attrs:{size:"mini"},model:{value:t.Recovery.step,callback:function(e){t.$set(t.Recovery,"step",e)},expression:"Recovery.step"}})],1),t._v(" "),i("li",[i("span",[t._v(t._s(t.$t("Bladesign.recovery.member")))]),t._v(" "),i("el-select",{attrs:{size:"mini"},model:{value:t.Recovery.member,callback:function(e){t.$set(t.Recovery,"member",e)},expression:"Recovery.member"}},[i("el-option",{attrs:{label:1,value:1}})],1)],1),t._v(" "),i("el-checkbox-group",{on:{change:t.lineshow},model:{value:t.Recovery.shows,callback:function(e){t.$set(t.Recovery,"shows",e)},expression:"Recovery.shows"}},t._l(t.Recovery.checks,(function(t,e){return i("el-checkbox",{key:e,attrs:{label:t,value:t}})})),1),t._v(" "),i("div",{staticClass:"disflex readbtn"},[i("el-button",{attrs:{size:"mini",disabled:""==t.Recovery.step||""==t.Recovery.member||0===t.Recovery.shows.length},on:{click:function(e){return t.readData("read")}}},[t._v("Read Data")]),t._v(" "),i("el-button",{attrs:{size:"mini",disabled:t.disflg},on:{click:function(e){return t.readData("display")}}},[t._v("Display")])],1)],1):t._e()])])},Ge=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("li",[i("span",[t._v("X:")]),t._v(" "),i("span",[t._v("0.00")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("li",[i("span",[t._v("Y:")]),t._v(" "),i("span",[t._v("0.00")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("li",[i("span",[t._v("Z:")]),t._v(" "),i("span",[t._v("0.00")])])}],We={data:function(){return{members:"",disflg:!0,meshList:[],MemberList:[],checked:!1,che3d:!1,chegrid:!1,Recovery:Object(r["a"])({action:2,object:0,step:1,member:"",shows:[],getbt:!1,nogetbt:!0,checks:["Displacement X","Displacement Y","Displacement Z","Rotation X","Rotation Y","Rotation Z","Force X","Force Y","Force Z","Moment X","Moment Y","Moment Z","Linear Momentum X","Linear Momentum Y","Linear Momentum Z","Angular Momentum X","Angular Momentum Y","Angular Momentum Z"],Settinput:[],setarr:["Classical","Timoshenko","Vlasov","GEBT"]},"step","")}},methods:{smSelectChange:function(t){t&&(this.tmesh=t)},readData:function(t){this.disflg=!1,this.$emit("xyplot",this.Recovery.step,this.Recovery.member,this.Recovery.shows,t)},lineshow:function(t){this.disflg||this.$emit("xyplot",this.Recovery.step,this.Recovery.member,t,!1)}}},qe=We,He=(i("25d2"),Object(w["a"])(qe,Ye,Ge,!1,null,null,null)),Ze=He.exports,Qe=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("p",[t._v("Optimization")]),t._v(" "),i("li",{staticClass:"flexSa"},[i("el-button",{attrs:{size:"mini",type:"success",disabled:t.disabledAll},on:{click:t.toAirfoil}},[t._v("Create Initial Airfoil")])],1),t._v(" "),i("div",{staticClass:"yxfbox param"},[i("span",{staticClass:"yxspan"},[t._v("Optimization Object")]),t._v(" "),i("div",[i("el-table",{ref:"objtable",attrs:{data:t.objdata,"max-height":"250","mix-height":"250",size:"mini","highlight-current-row":""},on:{"current-change":t.smSelectObj}},[i("el-table-column",{attrs:{property:"paraname","min-width":"100",label:"Name"}}),t._v(" "),i("el-table-column",{attrs:{property:"value",label:"Target Vale"}})],1),t._v(" "),i("li",{staticClass:"flexSa"},[i("el-button",{attrs:{size:"mini",type:"success",disabled:t.disabledAll},on:{click:function(e){return t.objAdd()}}},[t._v("Add")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success",disabled:t.disabledAll},on:{click:function(e){return t.objDel()}}},[t._v("Delete")])],1)],1)]),t._v(" "),i("div",{staticClass:"yxfbox param"},[i("span",{staticClass:"yxspan"},[t._v("Constraints")]),t._v(" "),i("div",[i("el-table",{ref:"objtable",attrs:{data:t.condata,"max-height":"250","mix-height":"250",size:"mini","highlight-current-row":""},on:{"current-change":t.smSelectCon}},[i("el-table-column",{attrs:{property:"paraname","min-width":"100",label:"Name"}}),t._v(" "),i("el-table-column",{attrs:{property:"min",label:"Min"}}),t._v(" "),i("el-table-column",{attrs:{property:"max",label:"Max"}})],1),t._v(" "),i("li",{staticClass:"flexSa"},[i("el-button",{attrs:{size:"mini",type:"success",disabled:t.disabledAll},on:{click:function(e){return t.conAdd()}}},[t._v("Add")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success",disabled:t.disabledAll},on:{click:function(e){return t.conDel()}}},[t._v("Delete")])],1)],1)]),t._v(" "),i("div",{staticClass:"yxfbox param"},[i("span",{staticClass:"yxspan"},[t._v("Design Variables")]),t._v(" "),i("div",[i("el-table",{ref:"objtable",attrs:{data:t.dvdata,"max-height":"250","mix-height":"250",size:"mini","highlight-current-row":""},on:{"current-change":t.smSelectDv}},[i("el-table-column",{attrs:{property:"paraname","min-width":"100",label:"Name"}}),t._v(" "),i("el-table-column",{attrs:{property:"min",label:"Min"}}),t._v(" "),i("el-table-column",{attrs:{property:"max",label:"Max"}})],1),t._v(" "),i("li",{staticClass:"flexSa"},[i("el-button",{attrs:{size:"mini",type:"success",disabled:t.disabledAll},on:{click:function(e){return t.dvAdd()}}},[t._v("Add")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success",disabled:t.disabledAll},on:{click:function(e){return t.dvDel()}}},[t._v("Delete")])],1)],1)]),t._v(" "),i("div",{staticClass:"yxfbox param"},[i("span",{staticClass:"yxspan"},[t._v("Control Parameters")]),t._v(" "),i("div",[i("li",[i("span",[t._v("Algorithm")]),t._v(" "),i("el-select",{attrs:{size:"mini",disabled:t.disabledAll},model:{value:t.algorithm,callback:function(e){t.algorithm=e},expression:"algorithm"}},t._l(t.algorithms,(function(t,e){return i("el-option",{key:e,attrs:{label:t,value:t}})})),1)],1),t._v(" "),i("li",[i("span",[t._v("Number of Samples")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini",disabled:t.disabledAll},model:{value:t.partnum,callback:function(e){t.partnum=e},expression:"partnum"}})],1),t._v(" "),i("li",[i("span",[t._v("Stop Criterion")]),t._v(" "),i("el-select",{attrs:{size:"mini",disabled:t.disabledAll},model:{value:t.stopType,callback:function(e){t.stopType=e},expression:"stopType"}},t._l(t.stopTypes,(function(t,e){return i("el-option",{key:e,attrs:{label:t.name,value:t.code}})})),1)],1),t._v(" "),3==t.stopType||0==t.stopType?i("li",[i("span",[t._v("Elimination Degree")]),t._v(" "),i("el-input",{attrs:{placeholder:"0.0",size:"mini",disabled:t.disabledAll},model:{value:t.elidegress,callback:function(e){t.elidegress=e},expression:"elidegress"}})],1):t._e(),t._v(" "),3==t.stopType||1==t.stopType?i("li",[i("span",[t._v("Max Iter Number")]),t._v(" "),i("el-input-number",{staticStyle:{width:"178px"},attrs:{placeholder:"0.0",size:"mini",disabled:t.disabledAll},model:{value:t.iterations,callback:function(e){t.iterations=e},expression:"iterations"}})],1):t._e(),t._v(" "),3==t.stopType||2==t.stopType?i("li",[i("span",[t._v("Convergent Degree")]),t._v(" "),i("el-table",{ref:"inttable",attrs:{data:t.inddegreerej,"max-height":"250","mix-height":"250",size:"mini","highlight-current-row":""}},[i("el-table-column",{attrs:{property:"paraname",label:"Name"}}),t._v(" "),i("el-table-column",{attrs:{label:"Threshold"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{attrs:{slot:"reference"},slot:"reference"},[i("el-input",{attrs:{type:"mini",disabled:t.disabledAll},model:{value:e.row.threshold,callback:function(i){t.$set(e.row,"threshold",i)},expression:"scope.row.threshold"}})],1)]}}],null,!1,1297632915)})],1)],1):t._e()])]),t._v(" "),i("li",{staticClass:"flexSa"},[i("el-button",{attrs:{size:"mini",type:"success",disabled:t.disabledAll},on:{click:function(e){return t.start()}}},[t._v("Start")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success",disabled:t.disabledAll},on:{click:function(e){return t.stop()}}},[t._v("Stop")])],1),t._v(" "),i("el-dialog",{attrs:{title:"Optimization Object",visible:t.objvsb,width:"50%",center:""},on:{"update:visible":function(e){t.objvsb=e},opened:t.objOpen}},[i("div",[i("li",{staticClass:"flexSa"},[i("el-button",{attrs:{size:"mini",type:"success"}},[t._v("Show the Parameters of Initial Sirfoil")])],1),t._v(" "),i("li",[i("span",[t._v("Choose an Optimization Object")])]),t._v(" "),i("el-table",{ref:"opobjtable",attrs:{data:t.opobjs,"max-height":"250",size:"mini","highlight-current-row":""},on:{"selection-change":t.smSelectOpobj}},[i("el-table-column",{attrs:{type:"selection",width:"55"}}),t._v(" "),i("el-table-column",{attrs:{property:"paraname",label:""}}),t._v(" "),i("el-table-column",{attrs:{label:"Initial Value"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{attrs:{slot:"reference"},slot:"reference"},[i("el-input",{attrs:{type:"mini",readonly:""},model:{value:e.row.initvalue,callback:function(i){t.$set(e.row,"initvalue",i)},expression:"scope.row.initvalue"}})],1)]}}])}),t._v(" "),i("el-table-column",{attrs:{label:"Target Value"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{attrs:{slot:"reference"},slot:"reference"},[i("el-input",{attrs:{type:"mini"},model:{value:e.row.value,callback:function(i){t.$set(e.row,"value",i)},expression:"scope.row.value"}})],1)]}}])})],1),t._v(" "),i("li",{staticClass:"flexSa"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.objApply()}}},[t._v("Apply")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.objvsb=!1}}},[t._v("Cancel")])],1)],1)]),t._v(" "),i("el-dialog",{attrs:{title:"Materials selector",visible:t.convsb,width:"50%",center:""},on:{"update:visible":function(e){t.convsb=e},opened:t.conOpen}},[i("div",[i("li",[i("span",[t._v("Set Constraints")])]),t._v(" "),i("el-table",{ref:"conobjtable",attrs:{data:t.conobjs,"max-height":"250",size:"mini","highlight-current-row":""},on:{"selection-change":t.smSelectConobj}},[i("el-table-column",{attrs:{type:"selection",width:"55"}}),t._v(" "),i("el-table-column",{attrs:{property:"paraname",label:""}}),t._v(" "),i("el-table-column",{attrs:{label:"Initial Value"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{attrs:{slot:"reference"},slot:"reference"},[i("el-input",{attrs:{type:"mini",readonly:""},model:{value:e.row.value,callback:function(i){t.$set(e.row,"value",i)},expression:"scope.row.value"}})],1)]}}])}),t._v(" "),i("el-table-column",{attrs:{label:"Min Value"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{attrs:{slot:"reference"},slot:"reference"},[i("el-input",{attrs:{type:"mini"},model:{value:e.row.min,callback:function(i){t.$set(e.row,"min",i)},expression:"scope.row.min"}})],1)]}}])}),t._v(" "),i("el-table-column",{attrs:{label:"Max Value"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{attrs:{slot:"reference"},slot:"reference"},[i("el-input",{attrs:{type:"mini"},model:{value:e.row.max,callback:function(i){t.$set(e.row,"max",i)},expression:"scope.row.max"}})],1)]}}])})],1),t._v(" "),i("li",{staticClass:"flexSa"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.conApply()}}},[t._v("Apply")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.convsb=!1}}},[t._v("Cancel")])],1)],1)]),t._v(" "),i("el-dialog",{attrs:{title:"Materials selector",visible:t.dvvsb,width:"50%",center:""},on:{"update:visible":function(e){t.dvvsb=e},opened:t.dvOpen}},[i("div",[i("li",[i("span",[t._v("Set Constraints")])]),t._v(" "),i("el-table",{ref:"dvobjtable",attrs:{data:t.dvobjs,"max-height":"250",size:"mini","highlight-current-row":""},on:{"selection-change":t.smSelectDvobj}},[i("el-table-column",{attrs:{type:"selection",width:"55"}}),t._v(" "),i("el-table-column",{attrs:{property:"paraname",label:"Name"}}),t._v(" "),i("el-table-column",{attrs:{label:"Value"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{attrs:{slot:"reference"},slot:"reference"},[i("el-input",{attrs:{type:"mini",readonly:""},model:{value:e.row.value,callback:function(i){t.$set(e.row,"value",i)},expression:"scope.row.value"}})],1)]}}])}),t._v(" "),i("el-table-column",{attrs:{label:"Min"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{attrs:{slot:"reference"},slot:"reference"},[i("el-input",{attrs:{type:"mini"},model:{value:e.row.min,callback:function(i){t.$set(e.row,"min",i)},expression:"scope.row.min"}})],1)]}}])}),t._v(" "),i("el-table-column",{attrs:{label:"Max"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{attrs:{slot:"reference"},slot:"reference"},[i("el-input",{attrs:{type:"mini"},model:{value:e.row.max,callback:function(i){t.$set(e.row,"max",i)},expression:"scope.row.max"}})],1)]}}])})],1),t._v(" "),i("li",{staticClass:"flexSa"},[i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.dvApply()}}},[t._v("Apply")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.dvvsb=!1}}},[t._v("Cancel")])],1)],1)])],1)},Xe=[],Je=new b["a"],Ke={data:function(){return{disabledAll:!1,objdata:[],condata:[],dvdata:[],obj:{},objvsb:!1,con:{},convsb:!1,dv:{},dvvsb:!1,algorithms:["PS0"],algorithm:"PS0",partnum:3,stopTypes:[{code:0,name:"Elimination Degree"},{code:1,name:"Iteration Number"},{code:2,name:"Convergent Degree"},{code:3,name:"All above"}],stopType:1,elidegress:0,iterations:0,inddegreerej:[],opobjs:[],conobjs:[],dvobjs:[],conid:null}},created:function(){var t=this;this.$bus.$on("allObj",(function(e){t.load()})),this.$bus.$on("optflag",(function(e){e.isopt?t.disabledAll=!0:e.isopt||(t.disabledAll=!1)}))},mounted:function(){},methods:{toAirfoil:function(){this.$emit("toAir")},load:function(){var t=this,e=[],i=new Promise((function(e,i){t.findoPobjs(e)}));e.push(i);var a=new Promise((function(e,i){t.findconobjs(e)}));e.push(a);new Promise((function(e,i){t.finddvobjs(e)}));e.push(a),Promise.all(e).then((function(e){t.findOpt()}))},bdssave:function(t,e){var i={transCode:"BDS041",projectId:sessionStorage.getItem("pid"),paraname:t.paraname,paratype:t.paratype,initvalue:t.initvalue,value:t.value,flag:t.flag,min:t.min,max:t.max,id:t.id};Object(c["c"])(i).then((function(t){e()})).catch((function(t){e()}))},bdsopdel:function(t,e){var i=this,a={transCode:"BDS043",id:t};Object(c["c"])(a).then((function(t){e?e():i.findOpt()})).catch((function(t){e&&e()}))},findOpt:function(){var t=this;try{this.$refs.opobjtable.clearSelection(),this.$refs.conobjtable.clearSelection(),this.$refs.dvobjtable.clearSelection()}catch(i){}var e={transCode:"BDS037",projectId:sessionStorage.getItem("pid")};Object(c["c"])(e).then((function(e){t.objdata=e.optobjs,t.condata=e.constraints,t.dvdata=e.dvobjs,t.algorithm=e.algorithm,t.elidegress=e.elidegress,t.iterations=e.iterations,t.partnum=e.partnum,t.conid=e.id,t.stopType=e.stopType,t.inddegreerej=JSON.parse(e.inddegreerej),t.initInddegreerej()})).catch((function(t){}))},initInddegreerej:function(){for(var t=this,e=[],i=0;i<this.objdata.length;i++){for(var a=this.objdata[i],s=!1,n=0;n<this.inddegreerej.length;n++){var r=this.inddegreerej[n];r.paraname==a.paraname&&(s=!0)}s||e.push({paraname:a.paraname,threshold:0})}e.forEach((function(e){t.inddegreerej.push(e)}));for(var o=[],l=0;l<this.inddegreerej.length;l++){for(var c=this.inddegreerej[l],u=!1,h=0;h<this.objdata.length;h++){var d=this.objdata[h];c.paraname==d.paraname&&(u=!0)}u||o.push(l)}o.forEach((function(e){t.inddegreerej.splice(e,1)}))},findoPobjs:function(t){var e=this,i={transCode:"BDS038",projectId:sessionStorage.getItem("pid")};Object(c["c"])(i).then((function(i){e.opobjs=i.optobjs,t()})).catch((function(t){}))},findconobjs:function(t){var e=this,i={transCode:"BDS039",projectId:sessionStorage.getItem("pid")};Object(c["c"])(i).then((function(i){e.conobjs=i.constraints,t()})).catch((function(t){}))},finddvobjs:function(t){var e=this,i={transCode:"BDS040",projectId:sessionStorage.getItem("pid")};Object(c["c"])(i).then((function(i){e.dvobjs=i.dvobjs,t()})).catch((function(t){}))},smSelectObj:function(t){t&&(this.obj=t)},objAdd:function(){this.objvsb=!0},objOpen:function(){var t=this;this.objdata.forEach((function(e){for(var i=0;i<t.opobjs.length;i++)if(e.paraname==t.opobjs[i].paraname){t.opobjs[i]=e,t.$refs.opobjtable.toggleRowSelection(e,!0);break}}))},objDel:function(){this.obj.id&&this.bdsopdel(this.obj.id)},smSelectCon:function(t){t&&(this.con=t)},smSelectOpobj:function(t){this.objdata=t},objApply:function(){var t=this,e=[];this.opobjs.forEach((function(i){if(null!=i.id){var a=!1;t.objdata.forEach((function(t){t.id==i.id&&(a=!0)})),a||e.push(i.id)}}));for(var i=[],a=function(a){var s=e[a],n=new Promise((function(e,i){t.bdsopdel(s,e)}));i.push(n)},s=0;s<e.length;s++)a(s);for(var n=function(e){var a=t.objdata[e];a.flag=e+1;var s=new Promise((function(e,i){t.bdssave(a,e)}));i.push(s)},r=0;r<this.objdata.length;r++)n(r);Promise.all(i).then((function(e){t.objvsb=!1,t.findOpt()}))},conAdd:function(){this.convsb=!0},conOpen:function(){var t=this;this.condata.forEach((function(e){for(var i=0;i<t.conobjs.length;i++)if(e.paraname==t.conobjs[i].paraname){t.conobjs[i]=e,t.$refs.conobjtable.toggleRowSelection(e,!0);break}}))},conDel:function(){this.con.id&&this.bdsopdel(this.con.id)},smSelectConobj:function(t){this.condata=t},conApply:function(){var t=this,e=[];this.conobjs.forEach((function(i){if(null!=i.id){var a=!1;t.condata.forEach((function(t){t.id==i.id&&(a=!0)})),a||e.push(i.id)}}));for(var i=[],a=function(a){var s=e[a],n=new Promise((function(e,i){t.bdsopdel(s,e)}));i.push(n)},s=0;s<e.length;s++)a(s);for(var n=function(e){var a=t.condata[e];a.flag=e+1;var s=new Promise((function(e,i){t.bdssave(a,e)}));i.push(s)},r=0;r<this.condata.length;r++)n(r);Promise.all(i).then((function(e){t.convsb=!1,t.$refs.conobjtable.clearSelection(),t.findOpt()}))},smSelectDv:function(t){t&&(this.dv=t)},dvAdd:function(){this.dvvsb=!0},dvOpen:function(){var t=this;this.dvdata.forEach((function(e){for(var i=0;i<t.dvobjs.length;i++)if(e.paraname==t.dvobjs[i].paraname){t.dvobjs[i]=e,t.$refs.dvobjtable.toggleRowSelection(e,!0);break}}))},dvDel:function(){this.dv.id&&this.bdsopdel(this.dv.id)},smSelectDvobj:function(t){this.dvdata=t,console.log("dvdata",this.dvdata)},dvApply:function(){var t=this,e=[];this.dvobjs.forEach((function(i){if(null!=i.id){var a=!1;t.dvdata.forEach((function(t){t.id==i.id&&(a=!0)})),a||e.push(i.id)}}));for(var i=[],a=function(a){var s=e[a],n=new Promise((function(e,i){t.bdsopdel(s,e)}));i.push(n)},s=0;s<e.length;s++)a(s);for(var n=function(e){var a=t.dvdata[e];a.flag=e+1;var s=new Promise((function(e,i){t.bdssave(a,e)}));i.push(s)},r=0;r<this.dvdata.length;r++)n(r);Promise.all(i).then((function(e){t.dvvsb=!1,t.$refs.dvobjtable.clearSelection(),t.findOpt()}))},start:function(){var t=this,e={};switch(this.stopType){case 0:if(0==this.elidegress)return void Je.warning("elidegress input!");e={transCode:"BDS042",projectId:sessionStorage.getItem("pid"),id:this.conid,algorithm:this.algorithm,partnum:this.partnum,stopType:this.stopType,elidegress:this.elidegress};break;case 1:if(0==this.iterations)return void Je.warning("Max Iter Number input!");e={transCode:"BDS042",projectId:sessionStorage.getItem("pid"),id:this.conid,algorithm:this.algorithm,partnum:this.partnum,stopType:this.stopType,iterations:this.iterations};break;case 2:if(0==this.inddegreerej.length)return void Je.warning("Convergent Degree input!");e={transCode:"BDS042",projectId:sessionStorage.getItem("pid"),id:this.conid,algorithm:this.algorithm,partnum:this.partnum,stopType:this.stopType,inddegreerej:JSON.stringify(this.inddegreerej)};break;case 3:if(0==this.elidegress)return void Je.warning("elidegress input!");if(0==this.iterations)return void Je.warning("Max Iter Number input!");if(0==this.inddegreerej.length)return void Je.warning("Convergent Degree input!");e={transCode:"BDS042",projectId:sessionStorage.getItem("pid"),id:this.conid,algorithm:this.algorithm,partnum:this.partnum,stopType:this.stopType,elidegress:this.elidegress,inddegreerej:JSON.stringify(this.inddegreerej),iterations:this.iterations};break}Object(c["c"])(e).then((function(e){Je.success("sucess"),t.findOpt()})).catch((function(t){}))},stop:function(){}}},$e=Ke,ti=(i("4806"),Object(w["a"])($e,Qe,Xe,!1,null,null,null)),ei=ti.exports,ii=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"foot"},[t._m(0),t._v(" "),i("div",{staticClass:"twoBox width55"},[i("div",{staticClass:"objBrow padding30"},[i("el-table",{ref:"product",staticClass:"footTab",staticStyle:{width:"100%"},attrs:{data:t.elList,"row-key":"gid",size:"mini",height:"365","row-class-name":t.rowClassNameFun,"header-row-class-name":t.headerRowClassName,"header-cell-style":{background:"#fafafa"}},on:{select:t.selectFun,"select-all":t.selectAllFun,"selection-change":t.handleSelectionChange,"row-click":t.clickrow}},[i("el-table-column",{attrs:{type:"selection",width:"40"}}),t._v(" "),i("el-table-column",{attrs:{prop:"name",label:"Geometry Name",width:"200"}}),t._v(" "),i("el-table-column",{attrs:{prop:"geometryid",label:"Geometry ID",align:"center",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("span",[t._v(t._s(-1===e.row.geometryid?"":e.row.geometryid))])]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"mateNo",align:"center",label:"MatID",width:"70"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("span",[t._v(t._s(-1===e.row.mateNo?"":e.row.mateNo))])]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"layuporientation",align:"center",label:"Layup Orientation",width:"140"}}),t._v(" "),i("el-table-column",{attrs:{prop:"fiberorientation",align:"center",label:"Fiber Orientation",width:"140"}}),t._v(" "),i("el-table-column",{attrs:{prop:"threeobj",align:"center",label:"threeobj"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("span",[t._v(t._s(t.objData(e.row.threeobj)))])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center",label:"operation"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.type?i("el-button",{attrs:{size:"mini"},on:{click:function(i){return t.removeData(e.row.gid)}}},[t._v("delete")]):t._e()]}}])})],1)],1),t._v(" "),i("div",{staticClass:"consolebox rfloat"},[i("el-input",{staticClass:"footerText",attrs:{type:"textarea",readonly:!0},model:{value:t.logs,callback:function(e){t.logs=e},expression:"logs"}})],1)])])},ai=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"title width55"},[i("div",{staticClass:"padding30"},[t._v("Object Browser")]),t._v(" "),i("div",{staticClass:"rfloat padding30"},[t._v("Information")])])}],si={data:function(){return{logs:"欢迎来到Bladesign!",elList:[]}},methods:{handleSelectionChange:function(t){this.$bus.$emit("selectData",t),console.log(t)},selectFun:function(t,e){this.setRowIsSelect(e)},selectAllFun:function(t){var e=this,i=this.checkIsAllSelect();this.elList.forEach((function(a){a.isSelect=i,e.$refs.product.toggleRowSelection(a,!i),e.selectFun(t,a)}))},rowClassNameFun:function(t){var e=t.row;if(""===e.isSelect)return"indeterminate"},headerRowClassName:function(t){t.row;var e=[];return this.elList.forEach((function(t){e.push(t.isSelect)})),e.includes("")?"indeterminate":""},initData:function(t){var e=this;t.forEach((function(t){t.isSelect=!1,t.children&&t.children.length&&e.initData(t.children)}))},setRowIsSelect:function(t){""===t.isSelect&&(t.isSelect=!1,this.$refs.product.toggleRowSelection(t,!0)),t.isSelect=!t.isSelect;var e=this;function i(a){a.forEach((function(a){a.isSelect=t.isSelect,e.$refs.product.toggleRowSelection(a,t.isSelect),a.children&&a.children.length&&i(a.children)}))}function a(t,e){return e.forEach((function(e){t.push(e.isSelect),e.children&&e.children.length&&a(t,e.children)})),t}function s(t){return t.fid?t.children&&t.children.length?2:3:t.children&&t.children.length?1:4}var n={};function r(t,e){return t.forEach((function(t){t.gid==e&&(n=t),t.children&&t.children.length&&r(t.children,e)})),n}function o(t){var i=[],s=r(e.elList,t.fid);i=a(i,s.children),i.every((function(t){return 1==t}))?(s.isSelect=!0,e.$refs.product.toggleRowSelection(s,!0)):i.every((function(t){return 0==t}))?(s.isSelect=!1,e.$refs.product.toggleRowSelection(s,!1)):s.isSelect="",s.fid&&o(s)}var l=s(t);1==l?i(t.children):2==l?(i(t.children),o(t)):3==l&&o(t)},checkIsAllSelect:function(){var t=this;this.oneProductIsSelect=[],this.elList.forEach((function(e){t.oneProductIsSelect.push(e.isSelect)}));var e=this.oneProductIsSelect.every((function(t){return 1==t}));return e},clickrow:function(t){this.$refs.product.toggleRowSelection(t),this.setRowIsSelect(t)},removeData:function(t){var e=this,i={transCode:"BDS006",gid:t};Object(c["c"])(i).then((function(t){e.$emit("getElementData")})).catch((function(t){}))},objData:function(t){if(t){var e=JSON.parse(t);if(e instanceof Array)return e;if(e instanceof Object)return e.arr}}},created:function(){var t=this;this.$bus.$on("allObj",(function(e){t.elList=e.eleList,t.initData(t.elList)})),this.$bus.$on("lineId",(function(e){e.forEach((function(e){t.removeData(e)}))}))}},ni=si,ri=(i("2fd7"),Object(w["a"])(ni,ii,ai,!1,null,null,null)),oi=ri.exports,li={data:function(){var t;return t={timenum:[],curveid:[],frame:[],vload:!1,asflog:!1,adilog:l.a,loading:!1},Object(r["a"])(t,"loading",V),Object(r["a"])(t,"project",{projectId:"",projectName:null}),Object(r["a"])(t,"dialog",{newdialog:!1,loadialog:!1}),Object(r["a"])(t,"projects",[]),Object(r["a"])(t,"allObj",{eleType:[],eleList:[]}),Object(r["a"])(t,"arrNull",[]),t},components:{vueUploader:k,VabsLoad:P,loading:V,filesload:Q,vtkLoad:it,transformtool:ie,Geometry:ce,Loads:fe,Materials:we,PreVABS:je,Vabs:Ne,Anlysis:Ve,Recovery:Ze,Optimization:ei,ViewFoot:oi},watch:{asflog:function(t,e){this.vload="Recovery"===t}},methods:{toAir:function(){this.asflog="Geometry",this.$bus.$emit("optflag",{isopt:!0,airflag:!0,mateflag:!1})},toMat:function(){this.asflog="Materials",this.$bus.$emit("optflag",{isopt:!0,airflag:!1,mateflag:!0})},toOpt:function(){this.asflog="Optimization",this.$bus.$emit("optflag",{isopt:!1,airflag:!1,mateflag:!1})},newProject:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(){var e,i=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e={transCode:"A00100",projectName:this.project.projectName,parameterObj:null,projectType:"bladesign",lesseeId:"1"},t.next=3,Object(c["c"])(e).then((function(t){i.project.projectId=t.projectId,i.getElementData(),i.dialog.newdialog=!1})).catch((function(t){}));case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),loadProjects:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(){var e,i=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e={transCode:"A00101",page:1,size:1,projectType:"bladesign",lesseeId:"1"},this.loading=!0,t.next=4,Object(c["c"])(e).then((function(t){i.projects=t.rows,i.loading=!1})).catch((function(t){}));case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),getElementData:function(){var t=this,e={transCode:"BDS004",projectId:this.project.projectId};Object(c["c"])(e).then((function(e){var i=[],a=[],s=[];e.rows.forEach((function(t){t.fid?s.push(t):(t.children=[],i.push(t))})),t.setList(i,s),s.forEach((function(t){t.type&&a.push(t)})),t.allObj.eleList=i,t.allObj.eleType=a,t.$bus.$emit("allObj",t.allObj)})).catch((function(t){}))},setList:function(t,e){var i=this,a=[];t.forEach((function(t){e.forEach((function(e){t.gid===e.fid?(e.children=[],t.children.push(e)):-1===a.indexOf(e)&&a.push(e)}))})),a.length>0&&t.forEach((function(t){i.setList(t.children,a)}))},projectsSelectionChange:function(t){t.length>0&&(this.project.projectName=t[0].projectName,this.project.solverstate=t[0].solverstate,this.project.projectDescription=t[0].projectDescription,this.project.createTime=t[0].createTime)},projectsSelectionSelect:function(t,e){this.project.projectId=e.projectId,sessionStorage.setItem("pid",e.projectId),t.length<=1||(this.$refs.projectsTable.clearSelection(),this.$refs.projectsTable.toggleRowSelection(e,!0))},projectsSelectionAll:function(){this.$refs.projectsTable.clearSelection()},solverstateFormat:function(t,e){switch(t.solverstate){case"0":return"未求解";case"1":return"求解中";case"2":return"求解完成";default:break}},loadsclick:function(){this.$refs.loads.selpoint(),this.timenum=this.$refs.loads.numbtn.time,this.curveid=this.$refs.loads.curveid,this.frame=this.$refs.loads.frameid},vabsPnt:function(t,e,i,a){var s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],n=[];switch(!i&&(i=""),t.type){case"Bezier":n=this.$refs.vabs.bezier(t.arr,e,a,!0,s);break;case"BSpline":n=this.$refs.vabs.bspline(t.arr,t.close,e,a,!0,pavl);break;default:}var r=JSON.stringify(n);if(this.setElement(a,r,i),"Line"===a){var o=JSON.stringify(n[1]);this.setElement("Point",o,"")}},vabsMount:function(t,e,i){var a=this;switch(e){case"intersect":this.$refs.vabs.intersect(t);break;case"curOffset":var s=this.$refs.vabs.curlOffset(t);s.arr.forEach((function(t){t=JSON.stringify(t),a.setElement("Point",t,"")})),s=JSON.stringify(s),this.setElement("Curve",s,i);break;default:}},setElement:function(t,e,i){var a=this,s={type:t,mateId:"",mateNo:"",layuporientation:"",fiberorientation:"",threeobj:e,name:i,transCode:"BDS005",projectId:sessionStorage.getItem("pid")};Object(c["c"])(s).then((function(t){a.getElementData()})).catch((function(t){}))},xyplot:function(t,e,i,a){"display"===a?this.$refs.vtks.lineImg():"read"===a?(this.vload=!0,this.$refs.vtks.loadone("http://192.168.0.43:6868/GEBT.out","gebt",t,e,i)):!a&&this.vload&&this.$refs.vtks.loadone("http://192.168.0.43:6868/GEBT.out","gebt",t,e,i,!0)}},created:function(){},mounted:function(){}},ci=li,ui=(i("cf65"),Object(w["a"])(ci,a,s,!1,null,null,null));e["default"]=ui.exports},"95b0":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAD4ElEQVRYR92YbWxTVRjHf+fert0LOKFzW0Wwc0OM2A5qiMoXHSgEFsUPbk6IIS6BiRrDYnAYolE0kWmCWQSDMfGLRMjUsET4NA2LRvBla4ElzGUdsGwzThgjoxPK1nvMLVlhDtbbnq5E77fePs///zvPPfecex7BDS7vcRYIyZ2GgX6j/6flnsGA8yIdLWWMXa8vYj8kwnuMTcAWwD0tEPFFhwR8Nmrn3ZMLCZnhVwEb0UtL2CcFFfE10hAhaNcNlgd8nI0CevxsF4I302Bt2UJKmtt9rBCL/dwREfQAWZaz0xQoBMuE189zCL5Mk2diNgYNwhuIvhQfJJaZnmhp0CRK/WyVgvfTY5mYizQ4ZBlQF1CRX8e3g/WMTFipEjOtcdXTOFjH0JX4eQkBOnT41SMp73TRd+nP+Oo3ifi4uBm3o5j1wXs4HwfSEmCGBjYBWTocvl9S0eWj93IgaUC7BjvdRyjIcLE+WMTgFJCWAN+5ex9Pz6pKGmiqxJ8utvBSd9lNQywBOu0w01ZMluZkf8kvvNJTSW/YnzSwQKPWtZslOUt54dRj/B5qVQMcz07VHHx1TgNVzuooXGeobcqBWqpgqgHNl2TXwNa4cKavEmB14Xv4ch4mFAkRYTQ6jmxtBhkig7qex5WWovGiKAGuK9hGafZDjMpwVE/DxsrcJzk/do7VHYVcMZKeprFEJcB/29fO2cXavA2sDS6ha+SEOp3qI76e4JHb17DH3cTb/Zs5cLYhJXDKc3CcwlyGDiwY4mjoB+pOr5kAV5m/Bbf93knAzcP7CQx/H3cgyo/Y3J8/n/8bTlseFZ1FXIpM9CzKns8MvXASSH/4x7jbXEoqaK5pz+e9SFVwMd0jJ+NWJNEApQoum72Oj+btZfsfr/HNXztj3uYZQhMQkYniTI5XAmzxDDJLn82FyFBMOVNkkallsq1vEwfP7VEmVAJc6axGE5OPzTnabbSGmjjzd/etBVR2tyCgVEEL+soh/w/Aja4dzLUXsaP/WY48cPWTvyx3A77spdSeWqVcpakELFWwwKGzt6SPjsvtPDrzCQ5e+JoVuU9Rc7oc//B3tx7QJDAhvyjpjZ4jwkaYmjPllrYqVXpLFRw3yXdA/byfaRh4g2PDh1W9LeUnBGhJMcVB/w1ATxu1QuPaZpriKqjICclXYlGA1QYcUhGarlwpeUus6sLRP0IXkrnTZZSk7pgQLIx2WL1+nkHQGGsJJ6mY0jSDD088yOuxJrqnjY1CYzdgS6lREmJS8ml7kJepJHKty2/2qlu5D43NCJYjuEtIMpPQTybFbOgNIDkqND45vojYQvsPNxf5SiLhURsAAAAASUVORK5CYII="},"9ca7":function(t,e,i){"use strict";function a(t=0,e=0,i=0,a=1){this.x=t,this.y=e,this.z=i,this.w=a}Object.defineProperties(a.prototype,{width:{get:function(){return this.z},set:function(t){this.z=t}},height:{get:function(){return this.w},set:function(t){this.w=t}}}),Object.assign(a.prototype,{isVector4:!0,set:function(t,e,i,a){return this.x=t,this.y=e,this.z=i,this.w=a,this},setScalar:function(t){return this.x=t,this.y=t,this.z=t,this.w=t,this},setX:function(t){return this.x=t,this},setY:function(t){return this.y=t,this},setZ:function(t){return this.z=t,this},setW:function(t){return this.w=t,this},setComponent:function(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;case 3:this.w=e;break;default:throw new Error("index is out of range: "+t)}return this},getComponent:function(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+t)}},clone:function(){return new this.constructor(this.x,this.y,this.z,this.w)},copy:function(t){return this.x=t.x,this.y=t.y,this.z=t.z,this.w=void 0!==t.w?t.w:1,this},add:function(t,e){return void 0!==e?(console.warn("THREE.Vector4: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(t,e)):(this.x+=t.x,this.y+=t.y,this.z+=t.z,this.w+=t.w,this)},addScalar:function(t){return this.x+=t,this.y+=t,this.z+=t,this.w+=t,this},addVectors:function(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this.w=t.w+e.w,this},addScaledVector:function(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this.w+=t.w*e,this},sub:function(t,e){return void 0!==e?(console.warn("THREE.Vector4: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(t,e)):(this.x-=t.x,this.y-=t.y,this.z-=t.z,this.w-=t.w,this)},subScalar:function(t){return this.x-=t,this.y-=t,this.z-=t,this.w-=t,this},subVectors:function(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this.w=t.w-e.w,this},multiplyScalar:function(t){return this.x*=t,this.y*=t,this.z*=t,this.w*=t,this},applyMatrix4:function(t){const e=this.x,i=this.y,a=this.z,s=this.w,n=t.elements;return this.x=n[0]*e+n[4]*i+n[8]*a+n[12]*s,this.y=n[1]*e+n[5]*i+n[9]*a+n[13]*s,this.z=n[2]*e+n[6]*i+n[10]*a+n[14]*s,this.w=n[3]*e+n[7]*i+n[11]*a+n[15]*s,this},divideScalar:function(t){return this.multiplyScalar(1/t)},setAxisAngleFromQuaternion:function(t){this.w=2*Math.acos(t.w);const e=Math.sqrt(1-t.w*t.w);return e<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=t.x/e,this.y=t.y/e,this.z=t.z/e),this},setAxisAngleFromRotationMatrix:function(t){let e,i,a,s;const n=.01,r=.1,o=t.elements,l=o[0],c=o[4],u=o[8],h=o[1],d=o[5],p=o[9],m=o[2],v=o[6],f=o[10];if(Math.abs(c-h)<n&&Math.abs(u-m)<n&&Math.abs(p-v)<n){if(Math.abs(c+h)<r&&Math.abs(u+m)<r&&Math.abs(p+v)<r&&Math.abs(l+d+f-3)<r)return this.set(1,0,0,0),this;e=Math.PI;const t=(l+1)/2,o=(d+1)/2,b=(f+1)/2,g=(c+h)/4,y=(u+m)/4,x=(p+v)/4;return t>o&&t>b?t<n?(i=0,a=.707106781,s=.707106781):(i=Math.sqrt(t),a=g/i,s=y/i):o>b?o<n?(i=.707106781,a=0,s=.707106781):(a=Math.sqrt(o),i=g/a,s=x/a):b<n?(i=.707106781,a=.707106781,s=0):(s=Math.sqrt(b),i=y/s,a=x/s),this.set(i,a,s,e),this}let b=Math.sqrt((v-p)*(v-p)+(u-m)*(u-m)+(h-c)*(h-c));return Math.abs(b)<.001&&(b=1),this.x=(v-p)/b,this.y=(u-m)/b,this.z=(h-c)/b,this.w=Math.acos((l+d+f-1)/2),this},min:function(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this.w=Math.min(this.w,t.w),this},max:function(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this.w=Math.max(this.w,t.w),this},clamp:function(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this.z=Math.max(t.z,Math.min(e.z,this.z)),this.w=Math.max(t.w,Math.min(e.w,this.w)),this},clampScalar:function(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this.z=Math.max(t,Math.min(e,this.z)),this.w=Math.max(t,Math.min(e,this.w)),this},clampLength:function(t,e){const i=this.length();return this.divideScalar(i||1).multiplyScalar(Math.max(t,Math.min(e,i)))},floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this},ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this},round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this},roundToZero:function(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this.w=this.w<0?Math.ceil(this.w):Math.floor(this.w),this},negate:function(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this},dot:function(t){return this.x*t.x+this.y*t.y+this.z*t.z+this.w*t.w},lengthSq:function(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)},manhattanLength:function(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)},normalize:function(){return this.divideScalar(this.length()||1)},setLength:function(t){return this.normalize().multiplyScalar(t)},lerp:function(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this.w+=(t.w-this.w)*e,this},lerpVectors:function(t,e,i){return this.x=t.x+(e.x-t.x)*i,this.y=t.y+(e.y-t.y)*i,this.z=t.z+(e.z-t.z)*i,this.w=t.w+(e.w-t.w)*i,this},equals:function(t){return t.x===this.x&&t.y===this.y&&t.z===this.z&&t.w===this.w},fromArray:function(t,e){return void 0===e&&(e=0),this.x=t[e],this.y=t[e+1],this.z=t[e+2],this.w=t[e+3],this},toArray:function(t,e){return void 0===t&&(t=[]),void 0===e&&(e=0),t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t[e+3]=this.w,t},fromBufferAttribute:function(t,e,i){return void 0!==i&&console.warn("THREE.Vector4: offset has been removed from .fromBufferAttribute()."),this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this.w=t.getW(e),this},random:function(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}});var s=i("c3e9"),n=i("4e72"),r=i("72e8"),o=i("e9d7");i.d(e,"b",(function(){return g})),i.d(e,"d",(function(){return b})),i.d(e,"c",(function(){return v})),i.d(e,"a",(function(){return u}));const l=new s["a"],c=new n["a"];function u(t,e,i){if(Array.isArray(t))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.name="",this.array=t,this.itemSize=e,this.count=void 0!==t?t.length/e:0,this.normalized=!0===i,this.usage=o["j"],this.updateRange={offset:0,count:-1},this.version=0}function h(t,e,i){u.call(this,new Int8Array(t),e,i)}function d(t,e,i){u.call(this,new Uint8Array(t),e,i)}function p(t,e,i){u.call(this,new Uint8ClampedArray(t),e,i)}function m(t,e,i){u.call(this,new Int16Array(t),e,i)}function v(t,e,i){u.call(this,new Uint16Array(t),e,i)}function f(t,e,i){u.call(this,new Int32Array(t),e,i)}function b(t,e,i){u.call(this,new Uint32Array(t),e,i)}function g(t,e,i){u.call(this,new Float32Array(t),e,i)}function y(t,e,i){u.call(this,new Float64Array(t),e,i)}Object.defineProperty(u.prototype,"needsUpdate",{set:function(t){!0===t&&this.version++}}),Object.assign(u.prototype,{isBufferAttribute:!0,onUploadCallback:function(){},setUsage:function(t){return this.usage=t,this},copy:function(t){return this.name=t.name,this.array=new t.array.constructor(t.array),this.itemSize=t.itemSize,this.count=t.count,this.normalized=t.normalized,this.usage=t.usage,this},copyAt:function(t,e,i){t*=this.itemSize,i*=e.itemSize;for(let a=0,s=this.itemSize;a<s;a++)this.array[t+a]=e.array[i+a];return this},copyArray:function(t){return this.array.set(t),this},copyColorsArray:function(t){const e=this.array;let i=0;for(let a=0,s=t.length;a<s;a++){let s=t[a];void 0===s&&(console.warn("THREE.BufferAttribute.copyColorsArray(): color is undefined",a),s=new r["a"]),e[i++]=s.r,e[i++]=s.g,e[i++]=s.b}return this},copyVector2sArray:function(t){const e=this.array;let i=0;for(let a=0,s=t.length;a<s;a++){let s=t[a];void 0===s&&(console.warn("THREE.BufferAttribute.copyVector2sArray(): vector is undefined",a),s=new n["a"]),e[i++]=s.x,e[i++]=s.y}return this},copyVector3sArray:function(t){const e=this.array;let i=0;for(let a=0,n=t.length;a<n;a++){let n=t[a];void 0===n&&(console.warn("THREE.BufferAttribute.copyVector3sArray(): vector is undefined",a),n=new s["a"]),e[i++]=n.x,e[i++]=n.y,e[i++]=n.z}return this},copyVector4sArray:function(t){const e=this.array;let i=0;for(let s=0,n=t.length;s<n;s++){let n=t[s];void 0===n&&(console.warn("THREE.BufferAttribute.copyVector4sArray(): vector is undefined",s),n=new a),e[i++]=n.x,e[i++]=n.y,e[i++]=n.z,e[i++]=n.w}return this},applyMatrix3:function(t){if(2===this.itemSize)for(let e=0,i=this.count;e<i;e++)c.fromBufferAttribute(this,e),c.applyMatrix3(t),this.setXY(e,c.x,c.y);else if(3===this.itemSize)for(let e=0,i=this.count;e<i;e++)l.fromBufferAttribute(this,e),l.applyMatrix3(t),this.setXYZ(e,l.x,l.y,l.z);return this},applyMatrix4:function(t){for(let e=0,i=this.count;e<i;e++)l.x=this.getX(e),l.y=this.getY(e),l.z=this.getZ(e),l.applyMatrix4(t),this.setXYZ(e,l.x,l.y,l.z);return this},applyNormalMatrix:function(t){for(let e=0,i=this.count;e<i;e++)l.x=this.getX(e),l.y=this.getY(e),l.z=this.getZ(e),l.applyNormalMatrix(t),this.setXYZ(e,l.x,l.y,l.z);return this},transformDirection:function(t){for(let e=0,i=this.count;e<i;e++)l.x=this.getX(e),l.y=this.getY(e),l.z=this.getZ(e),l.transformDirection(t),this.setXYZ(e,l.x,l.y,l.z);return this},set:function(t,e){return void 0===e&&(e=0),this.array.set(t,e),this},getX:function(t){return this.array[t*this.itemSize]},setX:function(t,e){return this.array[t*this.itemSize]=e,this},getY:function(t){return this.array[t*this.itemSize+1]},setY:function(t,e){return this.array[t*this.itemSize+1]=e,this},getZ:function(t){return this.array[t*this.itemSize+2]},setZ:function(t,e){return this.array[t*this.itemSize+2]=e,this},getW:function(t){return this.array[t*this.itemSize+3]},setW:function(t,e){return this.array[t*this.itemSize+3]=e,this},setXY:function(t,e,i){return t*=this.itemSize,this.array[t+0]=e,this.array[t+1]=i,this},setXYZ:function(t,e,i,a){return t*=this.itemSize,this.array[t+0]=e,this.array[t+1]=i,this.array[t+2]=a,this},setXYZW:function(t,e,i,a,s){return t*=this.itemSize,this.array[t+0]=e,this.array[t+1]=i,this.array[t+2]=a,this.array[t+3]=s,this},onUpload:function(t){return this.onUploadCallback=t,this},clone:function(){return new this.constructor(this.array,this.itemSize).copy(this)},toJSON:function(){return{itemSize:this.itemSize,type:this.array.constructor.name,array:Array.prototype.slice.call(this.array),normalized:this.normalized}}}),h.prototype=Object.create(u.prototype),h.prototype.constructor=h,d.prototype=Object.create(u.prototype),d.prototype.constructor=d,p.prototype=Object.create(u.prototype),p.prototype.constructor=p,m.prototype=Object.create(u.prototype),m.prototype.constructor=m,v.prototype=Object.create(u.prototype),v.prototype.constructor=v,f.prototype=Object.create(u.prototype),f.prototype.constructor=f,b.prototype=Object.create(u.prototype),b.prototype.constructor=b,g.prototype=Object.create(u.prototype),g.prototype.constructor=g,y.prototype=Object.create(u.prototype),y.prototype.constructor=y},"9f06":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAEiElEQVRYR93Ze0xTVxwH8O9paQtSGFABeY1SS5AoBWFhZO4BmuCDLcsUnSaOveLM4iC4CRHJyIIb6gbbmk0mQV32YDoWMiWiREOGmQyXSAFrWBhFkPAqQ6HF8ujj3uWWlTFAqL23g+3+1/b8fr9Pfz099/SUYI5L0YwIQiOQosCf63WnPEdBKxnBb7VJME/PT6Ye0CCKJrwJIMtHCKmf8DEIiJtTLDOT0rBg0NQM7bhhCECpSYjDLatxnxk3CSwHP1qOM6s84rfnBpYgalnMvwKbWaTX2I3C/hzUDH2r5lPY0BiLP6zAKBXyYzwT3z0luwwBESwKbnrRY325KOsvuKKORTJZq4Iv4ePOxcheN39BwKLjGICFtiClVYL+Cd16olBhV4L3c9+VSCuXBM6GODFQhC+6DyiJohFZL/pnf3go4NiSAlbrKpHd/vw5Eq3CwZ0rco4cDChYUsAa/SXs12ypshtopI04OfApdkpeg4/LcofeDA0aR/tykCbZhyBhyLw5Hhqot+jwlNoLZyPUiHRb4xCQCXqpPRE9E1fxtbwTwcLQB+axGzhKGcB0775Fj5QWKU6G1yHcNdJh4Dg1hvTOFAyamvCV/DYeFYbNmctuYMadXbg6dNZh0HyBazyeQNnKOnbALmMHhs1DYDq5V/M0Dod+D6lI7jCYmYdFfQfQYqjFcdnPeFz8JDugLZqrOfheTyYu3FWiWHYN8eJ17Ocgl0Cme2ntSUj3/2BeHFPT7jn4IGBhfx6aDLVw53uBD6F12Bilg4megDK0AhIXX4enASfAz7RHcHO0DgLiaoVQMOO67jzELkB1pB5insfiAmdWz+tJx4XBz1Eqr0ecewIrHCcdnC64OHwOOZ0vICNIidd9M1jjOAUyy9D2Vhmixc+iJKwS5K89MFOE2ZF0GltngTd6bkOS50bn3+qYO8yONgV05lb8GHEPXnzvfxRtHm2A3jI8CyIVrUSIUOp8ILOmVQ4qcUr+K9a6x3Py0dqSsF5mKu6VIb9rN94K/AR7/DKncBTzfabNEJLJpcfRizUwQU0wZgHcpv0wNdGAmQLeCT6BtOV7HbVZ41gDz9w9DYqmZiEM1AgSxM9AsSx2cYGsqtsRzLqDdtRgNeT/AzzadwjdRg3yg4qRdMvXuuW/rDuPptFafCm7wqpL8wXb3cH2id/xsiYCMtdENI/UYp3XNlzXVaAw7BLWe25afCAjYJCvaCKgNwF8HlAkrV7wVsVWbncHbYVuT7Qhq2sr0v2LkOiZzLb+gvEPDVwwI8cD/jvAqAbsT13x9sd5gUUc94BduqrhCuR2pP5AYhqxJVwcV1Uuv8EuI8fR7/dmoVxbmEc2t0HUY0DbaXl9CBdbdS6cw5YhbGrxMY9TWG09YVWokOotQvk38g6y0EaSC8B8OZgDgj0dybil++Wjm3HInjpEj2rAG24CHN/tV+Cy+ZGt1h2viCdytsean9k/ak19uDZSg9KBVzEwjhK1BvuwA5a/T/mZs+obWAUeMkGwAQTBhMbkb0rnX8xfD1rQqCc8FDfH4CdbyT8Bn6e3WTs9GnwAAAAASUVORK5CYII="},a2b7:function(t,e,i){},a5e8:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAE60lEQVRYR8WYXUhcRxTH/3M1RomIqNVUKmpqMCo+WAR3V0T8wIIFJZGAPqQPiZVqIioRNaKJSGJJRB9UKn6An5HQB5XQYGs1rFZ3SxAhKCZIBVG0frwolcSsdW85Q3aJW9d79+7VztPuzvn47ZmZc84Mw9HBNBpNIoAUxpi/zdypfhVF8W9BEP5wc3P7Wa/X71ucMcsHnU73pSiKPwH46lRJpI2vA/jWaDSOkygH1Gg0IYyxVwA+k9Y/E4l/GGPfGAyGUQ6o1Wp/A5B6Jq7lO9k8f/58GIuPj48ym83z8vXOTlIUxe/oUOQzxn5Uw21AQACSkpIQGRkJHx8fmM1mbG5uYn5+HhMTE9jZ2XHIDWOsm2m12goAPzikaSPs6+uLvLw8XLp0CePj45iZmeFggiAgMDAQcXFxHNxgMKCvrw/v3r2T6+6F04BRUVEoLS1FT08Pj5Ioisc6d3FxwdWrV5Geno6qqiqsr9NhlRzOAV65cgWVlZUoKyvDxsaGpDcSoD9EOsXFxdje3pbSUQ547tw5dHZ2orq6GisrK1KOjsxrNBrk5ORwSHsR/6igHDA7Oxu0bE+fPnUIziJMUZyamsLk5ORJ+soBu7u7kZ+fj/fv3x/rIDY2FhRlo9F47HxoaCiKiop4FE8YygDJ+K1bt/hmtzfo4Hh6eqKmpsauTG9vLz/9+/vW0msrqwwwLS0NFy9eBDlwBvD+/ft49uwZFhcX7ZlRBnjt2jVucHBw8IhhPz8/6550d3fnc5bo3LhxA1tbW0fkS0pK8PLlS7x+/VpdQMpl/v7+oH346XB1dUVMTAz/6fr16/Dw8LBGmSBMJtMR+QcPHqC/vx9LS0vqAlIuy8zMRF1dnVNL3NHRAYri3t6euoAUKaoctGxUb48bthG0laHy+PjxY+Tm5qp/isliYWEh3rx5g7GxsZMc2J2jFEXVZ2ho6HQAvby80NLSgoKCgpOW6FjnQUFBePToEU9VBwcHpwNIVhMSEpCVlYXy8nJ8+PBBViRpaZ88eYL6+nq8fftWSkdZmvnUamtrK2hP0omU6lAiIiJw7949NDU18ZZMxnAOMDU1FbW1tdwPRfD58+cYGRnhiddyeKjcRUdHIyMjA5Qn6WCsrq7KYOMiygDJKXUxwcHBCAkJ4TWX8tzAwACSk5MRFhbGrVOnQqC0lKOjo5idnZULZpFTBki5i9r3rq4uXL58GW1tbTzlrK2tOQogJe84IFWRxMREVFRU8Ah5e3vzE3n79m0pZ0rmHQMMDw/nm/zOnTvW1ELRnJubU5wPJajlA1Kkmpub+d5bXl7mdmn/UbtP0ZPojJVET/4hodtZY2MjhoeHodfrrc7ot/b2djn57HQBaUmpEyEYy9BqtUhJScHDhw+VOpejJ73EVJbo/kDLaMltlJgJliqIjJuZHBB7MtKA1N5TBO/evWs1Qp3KhQsX/tMPOkNiR1cakBQbGhr4DYz2ID1vUC2lNsm2Af3fAKkzphsYlazDw0MOfEKbribnC3o8+p4x1qqmVbVsiaLYRYARjLEFtYyqaYcxdtPygPkLgK/VNK6Crb9MJlMYB4yLi/tCEAR6Av5cBcNqmKDrX4bRaPzV+oj+8Z2abuIJanhwwsafgiDcnJ6e/p1sWAEtBnU6ndZsNicDCGSMuTrhyFHVTQCvdnd3RxcWFqwX6H8BEIICyImsYRAAAAAASUVORK5CYII="},a75a:function(t,e,i){"use strict";var a=i("6eb7"),s=i("c3e9"),n=i("dfe9"),r=i("c385"),o=i("096e");const l=new n["a"],c=new a["a"];function u(t=0,e=0,i=0,a=u.DefaultOrder){this._x=t,this._y=e,this._z=i,this._order=a}function h(){this.mask=1}u.RotationOrders=["XYZ","YZX","ZXY","XZY","YXZ","ZYX"],u.DefaultOrder="XYZ",Object.defineProperties(u.prototype,{x:{get:function(){return this._x},set:function(t){this._x=t,this._onChangeCallback()}},y:{get:function(){return this._y},set:function(t){this._y=t,this._onChangeCallback()}},z:{get:function(){return this._z},set:function(t){this._z=t,this._onChangeCallback()}},order:{get:function(){return this._order},set:function(t){this._order=t,this._onChangeCallback()}}}),Object.assign(u.prototype,{isEuler:!0,set:function(t,e,i,a){return this._x=t,this._y=e,this._z=i,this._order=a||this._order,this._onChangeCallback(),this},clone:function(){return new this.constructor(this._x,this._y,this._z,this._order)},copy:function(t){return this._x=t._x,this._y=t._y,this._z=t._z,this._order=t._order,this._onChangeCallback(),this},setFromRotationMatrix:function(t,e,i){const a=o["a"].clamp,s=t.elements,n=s[0],r=s[4],l=s[8],c=s[1],u=s[5],h=s[9],d=s[2],p=s[6],m=s[10];switch(e=e||this._order,e){case"XYZ":this._y=Math.asin(a(l,-1,1)),Math.abs(l)<.9999999?(this._x=Math.atan2(-h,m),this._z=Math.atan2(-r,n)):(this._x=Math.atan2(p,u),this._z=0);break;case"YXZ":this._x=Math.asin(-a(h,-1,1)),Math.abs(h)<.9999999?(this._y=Math.atan2(l,m),this._z=Math.atan2(c,u)):(this._y=Math.atan2(-d,n),this._z=0);break;case"ZXY":this._x=Math.asin(a(p,-1,1)),Math.abs(p)<.9999999?(this._y=Math.atan2(-d,m),this._z=Math.atan2(-r,u)):(this._y=0,this._z=Math.atan2(c,n));break;case"ZYX":this._y=Math.asin(-a(d,-1,1)),Math.abs(d)<.9999999?(this._x=Math.atan2(p,m),this._z=Math.atan2(c,n)):(this._x=0,this._z=Math.atan2(-r,u));break;case"YZX":this._z=Math.asin(a(c,-1,1)),Math.abs(c)<.9999999?(this._x=Math.atan2(-h,u),this._y=Math.atan2(-d,n)):(this._x=0,this._y=Math.atan2(l,m));break;case"XZY":this._z=Math.asin(-a(r,-1,1)),Math.abs(r)<.9999999?(this._x=Math.atan2(p,u),this._y=Math.atan2(l,n)):(this._x=Math.atan2(-h,m),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+e)}return this._order=e,!1!==i&&this._onChangeCallback(),this},setFromQuaternion:function(t,e,i){return l.makeRotationFromQuaternion(t),this.setFromRotationMatrix(l,e,i)},setFromVector3:function(t,e){return this.set(t.x,t.y,t.z,e||this._order)},reorder:function(t){return c.setFromEuler(this),this.setFromQuaternion(c,t)},equals:function(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._order===this._order},fromArray:function(t){return this._x=t[0],this._y=t[1],this._z=t[2],void 0!==t[3]&&(this._order=t[3]),this._onChangeCallback(),this},toArray:function(t,e){return void 0===t&&(t=[]),void 0===e&&(e=0),t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._order,t},toVector3:function(t){return t?t.set(this._x,this._y,this._z):new s["a"](this._x,this._y,this._z)},_onChange:function(t){return this._onChangeCallback=t,this},_onChangeCallback:function(){}}),Object.assign(h.prototype,{set:function(t){this.mask=1<<t|0},enable:function(t){this.mask|=1<<t|0},enableAll:function(){this.mask=-1},toggle:function(t){this.mask^=1<<t|0},disable:function(t){this.mask&=~(1<<t|0)},disableAll:function(){this.mask=0},test:function(t){return 0!==(this.mask&t.mask)}});var d=i("7aef");i.d(e,"a",(function(){return z}));let p=0;const m=new s["a"],v=new a["a"],f=new n["a"],b=new s["a"],g=new s["a"],y=new s["a"],x=new a["a"],_=new s["a"](1,0,0),w=new s["a"](0,1,0),A=new s["a"](0,0,1),k={type:"added"},S={type:"removed"};function z(){Object.defineProperty(this,"id",{value:p++}),this.uuid=o["a"].generateUUID(),this.name="",this.type="Object3D",this.parent=null,this.children=[],this.up=z.DefaultUp.clone();const t=new s["a"],e=new u,i=new a["a"],r=new s["a"](1,1,1);function l(){i.setFromEuler(e,!1)}function c(){e.setFromQuaternion(i,void 0,!1)}e._onChange(l),i._onChange(c),Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:t},rotation:{configurable:!0,enumerable:!0,value:e},quaternion:{configurable:!0,enumerable:!0,value:i},scale:{configurable:!0,enumerable:!0,value:r},modelViewMatrix:{value:new n["a"]},normalMatrix:{value:new d["a"]}}),this.matrix=new n["a"],this.matrixWorld=new n["a"],this.matrixAutoUpdate=z.DefaultMatrixAutoUpdate,this.matrixWorldNeedsUpdate=!1,this.layers=new h,this.visible=!0,this.castShadow=!1,this.receiveShadow=!1,this.frustumCulled=!0,this.renderOrder=0,this.userData={}}z.DefaultUp=new s["a"](0,1,0),z.DefaultMatrixAutoUpdate=!0,z.prototype=Object.assign(Object.create(r["a"].prototype),{constructor:z,isObject3D:!0,onBeforeRender:function(){},onAfterRender:function(){},applyMatrix4:function(t){this.matrixAutoUpdate&&this.updateMatrix(),this.matrix.premultiply(t),this.matrix.decompose(this.position,this.quaternion,this.scale)},applyQuaternion:function(t){return this.quaternion.premultiply(t),this},setRotationFromAxisAngle:function(t,e){this.quaternion.setFromAxisAngle(t,e)},setRotationFromEuler:function(t){this.quaternion.setFromEuler(t,!0)},setRotationFromMatrix:function(t){this.quaternion.setFromRotationMatrix(t)},setRotationFromQuaternion:function(t){this.quaternion.copy(t)},rotateOnAxis:function(t,e){return v.setFromAxisAngle(t,e),this.quaternion.multiply(v),this},rotateOnWorldAxis:function(t,e){return v.setFromAxisAngle(t,e),this.quaternion.premultiply(v),this},rotateX:function(t){return this.rotateOnAxis(_,t)},rotateY:function(t){return this.rotateOnAxis(w,t)},rotateZ:function(t){return this.rotateOnAxis(A,t)},translateOnAxis:function(t,e){return m.copy(t).applyQuaternion(this.quaternion),this.position.add(m.multiplyScalar(e)),this},translateX:function(t){return this.translateOnAxis(_,t)},translateY:function(t){return this.translateOnAxis(w,t)},translateZ:function(t){return this.translateOnAxis(A,t)},localToWorld:function(t){return t.applyMatrix4(this.matrixWorld)},worldToLocal:function(t){return t.applyMatrix4(f.getInverse(this.matrixWorld))},lookAt:function(t,e,i){t.isVector3?b.copy(t):b.set(t,e,i);const a=this.parent;this.updateWorldMatrix(!0,!1),g.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?f.lookAt(g,b,this.up):f.lookAt(b,g,this.up),this.quaternion.setFromRotationMatrix(f),a&&(f.extractRotation(a.matrixWorld),v.setFromRotationMatrix(f),this.quaternion.premultiply(v.inverse()))},add:function(t){if(arguments.length>1){for(let t=0;t<arguments.length;t++)this.add(arguments[t]);return this}return t===this?(console.error("THREE.Object3D.add: object can't be added as a child of itself.",t),this):(t&&t.isObject3D?(null!==t.parent&&t.parent.remove(t),t.parent=this,this.children.push(t),t.dispatchEvent(k)):console.error("THREE.Object3D.add: object not an instance of THREE.Object3D.",t),this)},remove:function(t){if(arguments.length>1){for(let t=0;t<arguments.length;t++)this.remove(arguments[t]);return this}const e=this.children.indexOf(t);return-1!==e&&(t.parent=null,this.children.splice(e,1),t.dispatchEvent(S)),this},attach:function(t){return this.updateWorldMatrix(!0,!1),f.getInverse(this.matrixWorld),null!==t.parent&&(t.parent.updateWorldMatrix(!0,!1),f.multiply(t.parent.matrixWorld)),t.applyMatrix4(f),t.updateWorldMatrix(!1,!1),this.add(t),this},getObjectById:function(t){return this.getObjectByProperty("id",t)},getObjectByName:function(t){return this.getObjectByProperty("name",t)},getObjectByProperty:function(t,e){if(this[t]===e)return this;for(let i=0,a=this.children.length;i<a;i++){const a=this.children[i],s=a.getObjectByProperty(t,e);if(void 0!==s)return s}},getWorldPosition:function(t){return void 0===t&&(console.warn("THREE.Object3D: .getWorldPosition() target is now required"),t=new s["a"]),this.updateMatrixWorld(!0),t.setFromMatrixPosition(this.matrixWorld)},getWorldQuaternion:function(t){return void 0===t&&(console.warn("THREE.Object3D: .getWorldQuaternion() target is now required"),t=new a["a"]),this.updateMatrixWorld(!0),this.matrixWorld.decompose(g,t,y),t},getWorldScale:function(t){return void 0===t&&(console.warn("THREE.Object3D: .getWorldScale() target is now required"),t=new s["a"]),this.updateMatrixWorld(!0),this.matrixWorld.decompose(g,x,t),t},getWorldDirection:function(t){void 0===t&&(console.warn("THREE.Object3D: .getWorldDirection() target is now required"),t=new s["a"]),this.updateMatrixWorld(!0);const e=this.matrixWorld.elements;return t.set(e[8],e[9],e[10]).normalize()},raycast:function(){},traverse:function(t){t(this);const e=this.children;for(let i=0,a=e.length;i<a;i++)e[i].traverse(t)},traverseVisible:function(t){if(!1===this.visible)return;t(this);const e=this.children;for(let i=0,a=e.length;i<a;i++)e[i].traverseVisible(t)},traverseAncestors:function(t){const e=this.parent;null!==e&&(t(e),e.traverseAncestors(t))},updateMatrix:function(){this.matrix.compose(this.position,this.quaternion,this.scale),this.matrixWorldNeedsUpdate=!0},updateMatrixWorld:function(t){this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||t)&&(null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),this.matrixWorldNeedsUpdate=!1,t=!0);const e=this.children;for(let i=0,a=e.length;i<a;i++)e[i].updateMatrixWorld(t)},updateWorldMatrix:function(t,e){const i=this.parent;if(!0===t&&null!==i&&i.updateWorldMatrix(!0,!1),this.matrixAutoUpdate&&this.updateMatrix(),null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),!0===e){const t=this.children;for(let e=0,i=t.length;e<i;e++)t[e].updateWorldMatrix(!1,!0)}},toJSON:function(t){const e=void 0===t||"string"===typeof t,i={};e&&(t={geometries:{},materials:{},textures:{},images:{},shapes:{}},i.metadata={version:4.5,type:"Object",generator:"Object3D.toJSON"});const a={};function s(e,i){return void 0===e[i.uuid]&&(e[i.uuid]=i.toJSON(t)),i.uuid}if(a.uuid=this.uuid,a.type=this.type,""!==this.name&&(a.name=this.name),!0===this.castShadow&&(a.castShadow=!0),!0===this.receiveShadow&&(a.receiveShadow=!0),!1===this.visible&&(a.visible=!1),!1===this.frustumCulled&&(a.frustumCulled=!1),0!==this.renderOrder&&(a.renderOrder=this.renderOrder),"{}"!==JSON.stringify(this.userData)&&(a.userData=this.userData),a.layers=this.layers.mask,a.matrix=this.matrix.toArray(),!1===this.matrixAutoUpdate&&(a.matrixAutoUpdate=!1),this.isInstancedMesh&&(a.type="InstancedMesh",a.count=this.count,a.instanceMatrix=this.instanceMatrix.toJSON()),this.isMesh||this.isLine||this.isPoints){a.geometry=s(t.geometries,this.geometry);const e=this.geometry.parameters;if(void 0!==e&&void 0!==e.shapes){const i=e.shapes;if(Array.isArray(i))for(let e=0,a=i.length;e<a;e++){const a=i[e];s(t.shapes,a)}else s(t.shapes,i)}}if(void 0!==this.material)if(Array.isArray(this.material)){const e=[];for(let i=0,a=this.material.length;i<a;i++)e.push(s(t.materials,this.material[i]));a.material=e}else a.material=s(t.materials,this.material);if(this.children.length>0){a.children=[];for(let e=0;e<this.children.length;e++)a.children.push(this.children[e].toJSON(t).object)}if(e){const e=n(t.geometries),a=n(t.materials),s=n(t.textures),r=n(t.images),o=n(t.shapes);e.length>0&&(i.geometries=e),a.length>0&&(i.materials=a),s.length>0&&(i.textures=s),r.length>0&&(i.images=r),o.length>0&&(i.shapes=o)}return i.object=a,i;function n(t){const e=[];for(const i in t){const a=t[i];delete a.metadata,e.push(a)}return e}},clone:function(t){return(new this.constructor).copy(this,t)},copy:function(t,e){if(void 0===e&&(e=!0),this.name=t.name,this.up.copy(t.up),this.position.copy(t.position),this.quaternion.copy(t.quaternion),this.scale.copy(t.scale),this.matrix.copy(t.matrix),this.matrixWorld.copy(t.matrixWorld),this.matrixAutoUpdate=t.matrixAutoUpdate,this.matrixWorldNeedsUpdate=t.matrixWorldNeedsUpdate,this.layers.mask=t.layers.mask,this.visible=t.visible,this.castShadow=t.castShadow,this.receiveShadow=t.receiveShadow,this.frustumCulled=t.frustumCulled,this.renderOrder=t.renderOrder,this.userData=JSON.parse(JSON.stringify(t.userData)),!0===e)for(let i=0;i<t.children.length;i++){const e=t.children[i];this.add(e.clone())}return this}})},a775:function(t,e,i){"use strict";var a=i("c385"),s=i("e9d7"),n=i("096e");let r=0;function o(){Object.defineProperty(this,"id",{value:r++}),this.uuid=n["a"].generateUUID(),this.name="",this.type="Material",this.fog=!0,this.blending=s["g"],this.side=s["d"],this.flatShading=!1,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.blendSrc=s["i"],this.blendDst=s["h"],this.blendEquation=s["a"],this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.depthFunc=s["f"],this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=s["b"],this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=s["e"],this.stencilZFail=s["e"],this.stencilZPass=s["e"],this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaTest=0,this.premultipliedAlpha=!1,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0}o.prototype=Object.assign(Object.create(a["a"].prototype),{constructor:o,isMaterial:!0,onBeforeCompile:function(){},customProgramCacheKey:function(){return this.onBeforeCompile.toString()},setValues:function(t){if(void 0!==t)for(const e in t){const i=t[e];if(void 0===i){console.warn("THREE.Material: '"+e+"' parameter is undefined.");continue}if("shading"===e){console.warn("THREE."+this.type+": .shading has been removed. Use the boolean .flatShading instead."),this.flatShading=i===s["c"];continue}const a=this[e];void 0!==a?a&&a.isColor?a.set(i):a&&a.isVector3&&i&&i.isVector3?a.copy(i):this[e]=i:console.warn("THREE."+this.type+": '"+e+"' is not a property of this material.")}},toJSON:function(t){const e=void 0===t||"string"===typeof t;e&&(t={textures:{},images:{}});const i={metadata:{version:4.5,type:"Material",generator:"Material.toJSON"}};function a(t){const e=[];for(const i in t){const a=t[i];delete a.metadata,e.push(a)}return e}if(i.uuid=this.uuid,i.type=this.type,""!==this.name&&(i.name=this.name),this.color&&this.color.isColor&&(i.color=this.color.getHex()),void 0!==this.roughness&&(i.roughness=this.roughness),void 0!==this.metalness&&(i.metalness=this.metalness),this.sheen&&this.sheen.isColor&&(i.sheen=this.sheen.getHex()),this.emissive&&this.emissive.isColor&&(i.emissive=this.emissive.getHex()),this.emissiveIntensity&&1!==this.emissiveIntensity&&(i.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(i.specular=this.specular.getHex()),void 0!==this.shininess&&(i.shininess=this.shininess),void 0!==this.clearcoat&&(i.clearcoat=this.clearcoat),void 0!==this.clearcoatRoughness&&(i.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(i.clearcoatMap=this.clearcoatMap.toJSON(t).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(i.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(t).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(i.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(t).uuid,i.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.map&&this.map.isTexture&&(i.map=this.map.toJSON(t).uuid),this.matcap&&this.matcap.isTexture&&(i.matcap=this.matcap.toJSON(t).uuid),this.alphaMap&&this.alphaMap.isTexture&&(i.alphaMap=this.alphaMap.toJSON(t).uuid),this.lightMap&&this.lightMap.isTexture&&(i.lightMap=this.lightMap.toJSON(t).uuid),this.aoMap&&this.aoMap.isTexture&&(i.aoMap=this.aoMap.toJSON(t).uuid,i.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(i.bumpMap=this.bumpMap.toJSON(t).uuid,i.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(i.normalMap=this.normalMap.toJSON(t).uuid,i.normalMapType=this.normalMapType,i.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(i.displacementMap=this.displacementMap.toJSON(t).uuid,i.displacementScale=this.displacementScale,i.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(i.roughnessMap=this.roughnessMap.toJSON(t).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(i.metalnessMap=this.metalnessMap.toJSON(t).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(i.emissiveMap=this.emissiveMap.toJSON(t).uuid),this.specularMap&&this.specularMap.isTexture&&(i.specularMap=this.specularMap.toJSON(t).uuid),this.envMap&&this.envMap.isTexture&&(i.envMap=this.envMap.toJSON(t).uuid,i.reflectivity=this.reflectivity,i.refractionRatio=this.refractionRatio,void 0!==this.combine&&(i.combine=this.combine),void 0!==this.envMapIntensity&&(i.envMapIntensity=this.envMapIntensity)),this.gradientMap&&this.gradientMap.isTexture&&(i.gradientMap=this.gradientMap.toJSON(t).uuid),void 0!==this.size&&(i.size=this.size),void 0!==this.sizeAttenuation&&(i.sizeAttenuation=this.sizeAttenuation),this.blending!==s["g"]&&(i.blending=this.blending),!0===this.flatShading&&(i.flatShading=this.flatShading),this.side!==s["d"]&&(i.side=this.side),this.vertexColors&&(i.vertexColors=!0),this.opacity<1&&(i.opacity=this.opacity),!0===this.transparent&&(i.transparent=this.transparent),i.depthFunc=this.depthFunc,i.depthTest=this.depthTest,i.depthWrite=this.depthWrite,i.stencilWrite=this.stencilWrite,i.stencilWriteMask=this.stencilWriteMask,i.stencilFunc=this.stencilFunc,i.stencilRef=this.stencilRef,i.stencilFuncMask=this.stencilFuncMask,i.stencilFail=this.stencilFail,i.stencilZFail=this.stencilZFail,i.stencilZPass=this.stencilZPass,this.rotation&&0!==this.rotation&&(i.rotation=this.rotation),!0===this.polygonOffset&&(i.polygonOffset=!0),0!==this.polygonOffsetFactor&&(i.polygonOffsetFactor=this.polygonOffsetFactor),0!==this.polygonOffsetUnits&&(i.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth&&1!==this.linewidth&&(i.linewidth=this.linewidth),void 0!==this.dashSize&&(i.dashSize=this.dashSize),void 0!==this.gapSize&&(i.gapSize=this.gapSize),void 0!==this.scale&&(i.scale=this.scale),!0===this.dithering&&(i.dithering=!0),this.alphaTest>0&&(i.alphaTest=this.alphaTest),!0===this.premultipliedAlpha&&(i.premultipliedAlpha=this.premultipliedAlpha),!0===this.wireframe&&(i.wireframe=this.wireframe),this.wireframeLinewidth>1&&(i.wireframeLinewidth=this.wireframeLinewidth),"round"!==this.wireframeLinecap&&(i.wireframeLinecap=this.wireframeLinecap),"round"!==this.wireframeLinejoin&&(i.wireframeLinejoin=this.wireframeLinejoin),!0===this.morphTargets&&(i.morphTargets=!0),!0===this.morphNormals&&(i.morphNormals=!0),!0===this.skinning&&(i.skinning=!0),!1===this.visible&&(i.visible=!1),!1===this.toneMapped&&(i.toneMapped=!1),"{}"!==JSON.stringify(this.userData)&&(i.userData=this.userData),e){const e=a(t.textures),s=a(t.images);e.length>0&&(i.textures=e),s.length>0&&(i.images=s)}return i},clone:function(){return(new this.constructor).copy(this)},copy:function(t){this.name=t.name,this.fog=t.fog,this.blending=t.blending,this.side=t.side,this.flatShading=t.flatShading,this.vertexColors=t.vertexColors,this.opacity=t.opacity,this.transparent=t.transparent,this.blendSrc=t.blendSrc,this.blendDst=t.blendDst,this.blendEquation=t.blendEquation,this.blendSrcAlpha=t.blendSrcAlpha,this.blendDstAlpha=t.blendDstAlpha,this.blendEquationAlpha=t.blendEquationAlpha,this.depthFunc=t.depthFunc,this.depthTest=t.depthTest,this.depthWrite=t.depthWrite,this.stencilWriteMask=t.stencilWriteMask,this.stencilFunc=t.stencilFunc,this.stencilRef=t.stencilRef,this.stencilFuncMask=t.stencilFuncMask,this.stencilFail=t.stencilFail,this.stencilZFail=t.stencilZFail,this.stencilZPass=t.stencilZPass,this.stencilWrite=t.stencilWrite;const e=t.clippingPlanes;let i=null;if(null!==e){const t=e.length;i=new Array(t);for(let a=0;a!==t;++a)i[a]=e[a].clone()}return this.clippingPlanes=i,this.clipIntersection=t.clipIntersection,this.clipShadows=t.clipShadows,this.shadowSide=t.shadowSide,this.colorWrite=t.colorWrite,this.precision=t.precision,this.polygonOffset=t.polygonOffset,this.polygonOffsetFactor=t.polygonOffsetFactor,this.polygonOffsetUnits=t.polygonOffsetUnits,this.dithering=t.dithering,this.alphaTest=t.alphaTest,this.premultipliedAlpha=t.premultipliedAlpha,this.visible=t.visible,this.toneMapped=t.toneMapped,this.userData=JSON.parse(JSON.stringify(t.userData)),this},dispose:function(){this.dispatchEvent({type:"dispose"})}}),Object.defineProperty(o.prototype,"needsUpdate",{set:function(t){!0===t&&this.version++}});var l=i("72e8");function c(t){o.call(this),this.type="LineBasicMaterial",this.color=new l["a"](16777215),this.linewidth=1,this.linecap="round",this.linejoin="round",this.morphTargets=!1,this.setValues(t)}i.d(e,"a",(function(){return c})),c.prototype=Object.create(o.prototype),c.prototype.constructor=c,c.prototype.isLineBasicMaterial=!0,c.prototype.copy=function(t){return o.prototype.copy.call(this,t),this.color.copy(t.color),this.linewidth=t.linewidth,this.linecap=t.linecap,this.linejoin=t.linejoin,this.morphTargets=t.morphTargets,this}},aedb:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAEsElEQVRYR+2Yayj8WRjHvz9i3FsKNe4UyZZRrkWyIUKUy7QRcpsppF2Ua8m+oI3NdRkjE0sxkX9p7ax45ZJ7Li9EGtIQ/i9cckuY7ZwazX/DzgyDF/u8md/8Lud8zvec8zzPeRgoWVtb2/c6OjpFAH4AwAagq/xcy9dfAczK5fLf+Xy+RNEXo7jo6OgoYLFY9RwOR9fJyQkmJiZgmMfHWmYDrq+vsb+/j+XlZZyenorMzc35SUlJt5RAIBAkmpmZDURHRzME7CPt7u4OY2NjkMlkLTweL59pampisVgsaVxcHNvKyuoj2R77vr29RX9///3l5aUH097eHsFms/+KiYn5FHAKiLm5OayurlYRwJ89PT3r/f39PxWgVCrFxMTEICMQCEo4HE6Nr6/vpwLc29uDRCL5Uy3A8/NzmJmZvctA1AYcHx9HeXk5MjMzkZOTo3VItQAJXEVFBYgLIEYAtQ2pMuDk5CSKi4tRUFCA+vp6ZGRkoLe3F3w+H6mpqVpTUmXA0dFREL8UFxcHb29vdHZ20v9ra2vIysr6eEBlAgUgh8PRGpiiYZUV/B/wmbl4NwVnZmbQ1tYGEqlyc3NVXhpvAnh8fIzFxUXo6+sjKCgILBbrG4CtrS3qjkpLSxEYGAhjY+P3A+zp6UFrayvc3d1xdHQEU1NTdHV10TxSYZWVlbCzs9PIZ75Kwe3tbdTW1lL/yOVycXh4iKSkJERERKCsrIzyPTw8ICwsDCKRCPb29ior9+pdXFNTg+rqaoSEhNBfhTU2NpIcDsRvmpubY2dnB9nZ2SBRSBPTWEE3Nzdsbm5SQB8fH0RFRdG1RVSMjY1Ffn4+UlJSKKhEIkFTU5MmfNAYkPTm4uJCwZaWlkDyNqKes7MzSkpKKPzQ0BCN3a6urkhPTwcJlxsbG2qtxVcBdnd3w8PDgyojFAoxPDyMlpYWnJ2d0Wkl8ZrcGxgYgIWFBVVVJpPRe6qaxoBEkby8vG/66evro74uODgY09PTuLi4oJsoNDSUKpycnIyEhAQUFhaqyqf5FJNk4alYvL6+DuKUDQ0NH5WytbWlx0jiihoaGqgLurm5gYGBwX+Caqzgc4DKPV5dXWFqaooq6ejoSAeko6NDX4mMjERiYiJdBi+ZVgFf6pgsgaKiIpqqkez8OVMZkEwRmT5izc3NiI+PB5tNqiKa2/z8PMixkmyetLS0JxtSGVAsFmNkZIQ2QlyFg4MDjIyMNKcD6G4/ODigkYY4/qdMZUDlj98iYSUOncfj0RhdV1f37Ib5MECyQaytren55t/Zj7IYGgG+xRTPzs7Cy8vrRTgCqhHgqxaemh8rAxZ7enr+6ufnp2YT2n19d3eXlOG+kOIR18nJqT88PFy7ParZ+srKChYWFn5jRCLRd/f39/tcLtfoo4uXijGQZHdwcBAnJyfBtMLa3t5eYWNj8wsJQ7q671mWflpW4sRXVlb+5vP5ERRQLBbrnp6e/mFpafljQEAAdQMfYaR6RqKMVCpd1tPTi8jIyPj6WCWXy+WkFMdjGOYnQ0NDV3VOYG8xGFJOOT8/PyYlcwC1PB7virT7ZBlfKBTaAnhXGRmGOZPJZNKqqqoH5QH/A9ks2jNHPWqbAAAAAElFTkSuQmCC"},b424:function(t,e,i){},b85c:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var a=i("06c5");function s(t,e){var i;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(i=Object(a["a"])(t))||e&&t&&"number"===typeof t.length){i&&(t=i);var s=0,n=function(){};return{s:n,n:function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,l=!1;return{s:function(){i=t[Symbol.iterator]()},n:function(){var t=i.next();return o=t.done,t},e:function(t){l=!0,r=t},f:function(){try{o||null==i["return"]||i["return"]()}finally{if(l)throw r}}}}},b8c3:function(t,e,i){t.exports=i.p+"static/img/loding.6295dd24.gif"},bb3c:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAEQklEQVRYR+2YSyz8VxTHv/c3jEfEiFcEq5K/GBULCTODEFJiXSw08Q5FdxYIFt6sPZMShPAnWEitkZj+JtGSaNCFiEciVLSVeizM/H7Nuc1MTPtv5/H7/f0telYzc+8553PPuffcM5fhhej1eq1Op/tSluUvGGPRADQvxz/y518YY2ZZlt+Lovir3Rezf0hPT08VBOE9gPiPDOLK/O+yLH9tsVgWaSIHNJlMn8uyvA1A50r7lcZlAF+JorhAgMxgMHzPGDO8knN33fxG2WQZGRkGSZJEd7Veed43zGg0NgIYfmXHbrmTZXmOAFsA9Lul8fqT1v8HVBh09SMoCAIkSVLI5VBXFzArKwvBwcFYX19/e4AajQazs7MIDAxEaWkpHh8f1YBUL4JFRUVISEjA09MThxsfH387gEFBQejo6MDKygpiYmKQmJiI6elpXF5eKoVUJ4INDQ3Y2tqCj48P4uLiYDabUVdXh66urk8PGBUVhZqaGvT09CAlJYUDrq6uorq6Gnt7e9jd3VUCqTyCbW1tmJqa4ul8Cejv74/Ozk60trYqKTvKAGmv5ebmYmRkhEfpJSB9z8/PB4Gura15G0VlgAMDAzy19/f3HwRkjIHm0F58eHjwBtJ7wJycHERGRmJpacnh+O8RpAGKcl5eHoaHvWqYvAOk0zo4OIjm5mZYrVYHYHJyMk/z3NycU7Ro3vz8PC4uLjyNoneAxcXFuLm5webmppNDOsEmk4nfKC8lIiICVIro0HgongNSUW5vb0dLC7WRzvJvgDSroqICBwcH2NnZ8YTRc8DGxkZsbGzg8PDQyZGvry8qKyv5ddfX14fb21unca1Wy3+ndNtsNnchPQOMjo7mEL29vU4ODAYDSkpKsLy8jPPzc9TX1+Po6AiLi4t4fn52zKWSFBISwgu5m+IZIKV2YmICV1dX3H5sbCxqa2txfHyMhYUFJxg7NMFsb9M/2r+kv7+fL9BemlyAug+YlJSE7OxsjI6OIiAgAOXl5QgPD8fY2Ng/0ml3SmmnLkev12NychKnp6d8C1ABHxoacieI7gHaC253dzc/pQUFBZiZmcH+/r47ThAWFoaqqirehpEebQGqn2dnZ6703QOkokxgOp0Ooijyq8ubtp6yUFZWxg9YfHw8b9EUp5jSREU2NDSUb/rr62tXRj84Tgui646yUVhYCKPRiKamJlgslv+y5zqC9CeICq2fnx9v52n/0U2ihlApOjk5UQaoBogCG64jqMC4GqpvHvA7enqrYYx9q8Zy1bbBGJtgaWlp7zQazc/2x0y1nSi0V8pfWI1GIz23lig0prb68d3dXRIHzMrKirDZbNuyLL9T24uX9v4QBCHXbDb/4HhET01NDddqtaMAij5lumVZtjDGakVR/IkW5wC0rzQzM/Mzq9WaKwhCrCRJ/l5GwCM1QRCskiRdazQa0Ww2/wiAHtG5/Al+DLiKLqAl3wAAAABJRU5ErkJggg=="},bc1b:function(t,e,i){"use strict";var a=i("01a5"),s=i.n(a);s.a},bf5a:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABOtJREFUWAnNWFsovVkUX+e431MYQ9RQDOMBSR6IjCIiyqTxME3uJqJRXtxDDI3IvUQkQiPEA//iRUiExhReFHKbItfczVq7//d1OM75LsZl1e7b395r7/3ba6/b3gpQoZaWljCFQvEbNvlhsVbpeuvqPS6wi2USy5+pqal/cwsqqNLf369/dHTUamlp+au3tzfY29uDkZERx/Pm38fHRzg/P4fNzU1YXl6+v76+zklJSanjF25tba0fGxt7vL29Rd6PpbOzs8fe3t4HxPQTAVQ0NTW5mpiY/BMXF6djYGDAg/7IyuHhIQwNDe2hJL9T6ujo/Ozq6vppwJFgbGxs4FskfX39H5VoFD9YW7+nPYg7m6+Yvleixhnp6uqKG/WOXIaGhoDCs1a+45qylpIlOrR2QJ8JaHGyFuUGubu7Q3R0NPf74lcywIeHBygsLITAwEAICwt7cdLnjVdXV3Bzc8M3r66uwvDwMCwsLAgClHTEBK6oqAgCAgJEgyNUpE/m5uasYECAgYEBKCkp4QFrq4iWIBoTlJWVga+vL4SHh2ubU2Mf+beamhooLS1loDUyqnSIkiCBq6ioAE9PT4iMjFQZ/rRKx6hJL09PT9kG8/PzwcLC4ulALX+iANKuSaGjoqK0TAXQ09MDGKLUeEgHSTWys7OZE1Zj0NIgeMR1dXWwtLQEVlZW0NnZqXEqknJ7eztgeGISwijA866srEBiYiI4OTnxbWIrggDX1tYgLy9PcD6ScnBwMGDohKmpKSgoKODH0AY9PDz4fykVQYCUQLi5uWmdkwDY2tqCn58fS5sw+YCDgwMICgrSOk5Mpygd1DYRuZ7GxkbIzMzk2ZKTk6Gjo+OJ7+M7JVZeDXBwcBD8/f2fKL+ZmRnExMRAd3e3RDjq7K8CeHJyApjoQnx8vNrMZPFzc3NAvu819CqAzc3NzDpVLZYDo1QqIT09Herr67kmWV/ZADc2Nph06Hg1kZeXl6Yu0e2yAJLPq62tZY6XW2lxcRH6+vpgdHSUuRmunYxnb28PyJjkkCyA4+PjLLI4OjrC9vY25ObmMl2srq5mR0qOOSMjA9bX15nx0G1tZGREDj4Q9IPPZ728vAS8dbGgjxcuoNQpKysL8F7Ds1JII+Ckf6ampuDj4wNk7aGhoZKvs5IlSOGMUqecnBxwdnZmPlAVHIfSwcEBqqqqICIigm2Cjpg2xhFJlO7fQiRJgltbWywhoOhCC5Oh0DHSpfslIl2l7IbyQRrb1dUFsbGxMDs7C6QGYkKoJIB0uWpra6PLzEt42HGSe3lO5eXlUFlZyZrJN87MzLDs5iXe52MlAbSzswMqUon8JKnF9PQ0K8XFxSAGHK2jvl2pq4vkn5+fB7J+ygvFgqOpBSVIyk3Z8GuI3AxdkkhylI5JIUGALi4u0NDQIGVONd6QkBBIS0sDPT09tT6hBkGA5HA/kujp40ZuGHpL4F/v0Seor8rN4+Pjt1xL1tyECYW3SVb8FznczyRFcvw7Ozvn6He/KPGpdQYTzxHy7p+B7u7uYHJyEu7v78uTkpKOOD/4Cwb9uYmJCaCniY8gCou7u7vMHe3v77ej4P4gHHzMwkuOISrm79iWZmxs7IDl3XCSel1cXNCdml73K/GVv4dbnAfINeBOFPi0ZofG8w0WtX6O73/+3qID30tISPj3+bz/AdtPclK0A/BBAAAAAElFTkSuQmCC"},c09f:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{directives:[{name:"show",rawName:"v-show",value:t.container_show,expression:"container_show"}],ref:"container_vtk"}),t._v(" "),i("div",{staticClass:"divb"},[i("h1",[t._v("cp")]),t._v(" "),t._l(t.baseColors,(function(t,e){return i("el-tag",{key:e,attrs:{color:t}})})),t._v(" "),i("vtkLoad",{ref:"vtkLoad",attrs:{urls:t.urls,vectorFactor:t.vectorFactor,contourLevel:t.contourLevel}}),t._v(" "),i("el-input-number",{attrs:{min:1,max:20,label:"contour level"},model:{value:t.contourLevel,callback:function(e){t.contourLevel=e},expression:"contourLevel"}})],2)])},s=[],n=(i("5df3"),i("f400"),i("ac6a"),i("6b54"),i("a481"),i("28a5"),i("c5f6"),i("5a89")),r=(i("e3d9"),i("4721")),o={data:function(){return{contourLevel:3,container_show:!0,scene:null,renderer:null,camera:null,controls:null,maxX:0,maxY:0,maxZ:0,minX:0,minY:0,minZ:0,camerahight:5,mufactor:.2,meshs:[],zones:[],percentage:0,movetage:0,nowIndex:0,moveflag:!1,clock:null,baseColors:[]}},props:{urls:Array,vectorFactor:Number},mounted:function(){this.initScene(),this.initBaseColors()},watch:{contourLevel:{handler:function(t){this.initBaseColors()},deep:!0,immediate:!1}},methods:{getColor:function(t,e,i){for(var a=(e-t)/this.contourLevel,s=0;s<this.contourLevel;s++){var n=t+s*a;if(Math.max(n,i)==n){var r=this.baseColors[s];return r}}return this.baseColors[this.contourLevel-1]},initBaseColors:function(){this.baseColors=[];var t=0,e=240;this.baseColors.push(this.colorHex(this.hsltorgb(t,100,50)));for(var i=Math.round((e-t)/this.contourLevel),a=1;a<this.contourLevel-1;a++)this.baseColors.push(this.colorHex(this.hsltorgb(t+i*a,100,50)));this.baseColors.push(this.colorHex(this.hsltorgb(e,100,50)))},hsltorgb:function(t,e,i){t/=360,e/=100,i/=100;var a=[];if(0==e)a=[Math.round(255*i),Math.round(255*i),Math.round(255*i)];else for(var s=i>=.5?i+e-i*e:i*(1+e),n=2*i-s,r=(a[0]=t+1/3,a[1]=t,a[2]=t-1/3,0);r<a.length;r++){var o=a[r];switch(o<0?o+=1:o>1&&(o-=1),!0){case o<1/6:o=n+6*(s-n)*o;break;case 1/6<=o&&o<.5:o=s;break;case.5<=o&&o<2/3:o=n+(s-n)*(4-6*o);break;default:o=n;break}a[r]=Math.round(255*o)}return this.colorHex("rgb("+a[0]+","+a[1]+","+a[2]+")")},colorHex:function(t){var e=/^(rgb|RGB)/;if(e.test(t)){for(var i="#",a=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),s=0;s<a.length;s++){var n=Number(a[s]).toString(16);"0"===n&&(n+=n),i+=n}return i}return String(t)},init:function(){this.clock=new n["j"],this.scene=new n["P"],this.renderer=new n["W"]({antialias:!0,alpha:!0}),this.camera=new n["H"](20,1,.2,1e4),this.controls=new r["a"](this.camera,this.renderer.domElement)},initScene:function(){null==this.scene&&this.init(),this.renderer.setSize(500,500),this.$refs.container_vtk.appendChild(this.renderer.domElement)},load:function(){var t=this,e=0;t.urls.forEach((function(i){t.loadone(i,(function(){e++,t.percentage=Math.round(e/t.urls.length*100)}))}))},show:function(t){var e=this;this.movetage=Math.round(t/this.zones.length*100);var i=this.zones[t].cells,a=this.zones[t].positions,s=this.zones[t].colorMap,r=this.zones[t].vectors,o=new n["h"];o.setIndex(i),o.setAttribute("position",new n["t"](a,3));var l=new n["X"](o),c=new n["A"](l,new n["y"]({color:65280}));c.position.x=-1*(this.maxX+this.minX)/2,c.position.y=-1*(this.maxY+this.minY)/2,c.position.z=-1*(this.maxZ+this.minZ)/2,this.meshs.push(c),this.scene.add(c);for(var u=a.slice(0),h=0;h<u.length;h++)u[h]=u[h]+r[h]*this.vectorFactor;var d=new n["h"],p=[],m=new n["k"];if(s.get("Displacement-magnitude")){var v=s.get("Displacement-magnitude").scalars,f=0,b=0;v.forEach((function(t){f=Math.max(t,f),b=Math.min(t,b)}));var g=new n["a"](4473924);if(this.scene.add(g),v.forEach((function(t){var i=e.getColor(b,f,t);m.setHex(i),p.push(m.r),p.push(m.g),p.push(m.b)})),d.setIndex(i),d.setAttribute("position",new n["t"](u,3)),1===this.meshType){var y=new n["X"](d),x=new n["A"](y,new n["y"]({color:65280}));x.position.x=-1*(this.maxX+this.minX)/2,x.position.y=-1*(this.maxY+this.minY)/2,x.position.z=-1*(this.maxZ+this.minZ)/2,this.meshs.push(x),this.scene.add(x)}else if(2===this.meshType){d.setAttribute("color",new n["t"](p,3));var _=new n["F"]({vertexColors:n["V"],side:n["n"]}),w=new n["E"](d,_);w.position.x=-1*(this.maxX+this.minX)/2,w.position.y=-1*(this.maxY+this.minY)/2,w.position.z=-1*(this.maxZ+this.minZ)/2,this.meshs.push(w),this.scene.add(w)}}},clear:function(){var t=this;this.meshs.forEach((function(e){t.scene.remove(e)})),this.meshs=[]},loadone:function(t,e){var i=this,a=new n["s"];a.load(t,(function(t){i.vtk(t),e()}),(function(t){}),(function(t){console.error("An error happened")}))},vtk:function(t){var e,i=this,a=/^POINTS /,s=/^CELLS[ ]+(\d+)/,n=/^VECTORS /,r=/^CELL_TYPES[ ]+(\d+)/,o=/(\-?\d+\.?[\d\-\+e]*)\s+(\-?\d+\.?[\d\-\+e]*)\s+(\-?\d+\.?[\d\-\+e]*)/g,l=/(\-?\d+\.?[\d\-\+E]*)\s+(\-?\d+\.?[\d\-\+E]*)\s+(\-?\d+\.?[\d\-\+E]*)/g,c=/^[^\d.\s-]+/,u=/(\-?\d+)\s+([\s\d]*)/,h=/(\-?\d+\.?[\d\-\+E]*)\s/,d=!1,p=!1,m=!1,v=[],f=[],b=[],g=new Map,y=t.split("\n");y.forEach((function(t){if(0===t.indexOf("SCALARS")){var y=t.split(" ")[1];"undefined"==typeof g.get(y)&&g.set(y,{inSection:!0,scalars:[]}),d=!1,p=!1,!1,m=!1,g.forEach((function(t,e){e!==y&&(t.inSection=!1)}))}if(g.forEach((function(i,a){i.inSection&&null!==(e=h.exec(t))&&i.scalars.push(parseFloat(e[0]))})),d)while(null!==(e=o.exec(t))){if(null!==c.exec(t))break;var x=parseFloat(e[1]),_=parseFloat(e[2]),w=parseFloat(e[3]);i.maxX=x>i.maxX?x:i.maxX,i.maxY=_>i.maxY?_:i.maxY,i.maxZ=w>i.maxZ?w:i.maxZ,i.minX=x<i.minX?x:i.minX,i.minY=_<i.minY?_:i.minY,i.minZ=w<i.minZ?w:i.minZ,v.push(x,_,w)}if(p&&null!==(e=u.exec(t))){var A=parseInt(e[1]),k=e[2].split(/\s+/);if(A>=3)for(var S,z,M=parseInt(k[0]),C=1,j=0;j<A-2;++j)S=parseInt(k[C]),z=parseInt(k[C+1]),f.push(M,S,z),C++}if(m)while(null!==(e=l.exec(t))){if(null!==c.exec(t))break;x=parseFloat(e[1]),_=parseFloat(e[2]),w=parseFloat(e[3]);b.push(x,_,w)}null!==a.exec(t)&&(d=!0,p=!1,!1,m=!1,g.forEach((function(t,e){t.inSection=!1}))),null!==s.exec(t)&&(d=!1,p=!0,!1,m=!1,g.forEach((function(t,e){t.inSection=!1}))),null!==r.exec(t)&&(d=!1,p=!1,!0,m=!1,g.forEach((function(t,e){t.inSection=!1}))),null!==n.exec(t)&&(d=!1,p=!1,!1,m=!0,g.forEach((function(t,e){t.inSection=!1})))})),this.zones.push({cells:f,positions:v,colorMap:g,vectors:b}),this.initShow()},initShow:function(){var t=this;t.camerahight=Math.max(Math.abs(t.maxX),Math.abs(t.maxY),Math.abs(t.maxZ),Math.abs(t.minX),Math.abs(t.minY),Math.abs(t.minZ)),t.controls.target.set(0,0,0),t.controls.update(),t.camera.position.set(-1,3*t.camerahight,4*t.camerahight),t.camera.lookAt(t.scene.position),t.camera.updateMatrix(),t.renderer.render(t.scene,t.camera);var e=function e(){t.renderer.render(t.scene,t.camera),requestAnimationFrame(e)};e();setInterval((function(){t.moveflag&&t.nowIndex<t.zones.length&&(t.clear(),t.show(t.nowIndex),t.nowIndex++,t.renderer.render(t.scene,t.camera))}),1e3)},moveReStart:function(){this.moveflag=!0,this.nowIndex=0},moveStart:function(){this.moveflag=!0},moveStop:function(){this.moveflag=!1},positive:function(t){"x"==t&&this.camera.position.set(4*this.camerahight,0,0),"y"==t&&this.camera.position.set(0,4*this.camerahight,0),"z"==t&&this.camera.position.set(0,0,4*this.camerahight),this.camera.lookAt(scene.position),this.camera.updateMatrix()},negative:function(t){"x"==t&&this.camera.position.set(-4*this.camerahight,0,0),"y"==t&&this.camera.position.set(0,-4*this.camerahight,0),"z"==t&&this.camera.position.set(0,0,-4*this.camerahight),this.camera.lookAt(scene.position),this.camera.updateMatrix()},large:function(){var t=this;this.meshs.forEach((function(e){var i=e.scale.x*(1+t.mufactor),a=e.scale.y*(1+t.mufactor),s=e.scale.z*(1+t.mufactor);e.scale.set(i,a,s)}))},small:function(){var t=this;this.meshs.forEach((function(e){var i=e.scale.x*(1-t.mufactor),a=e.scale.y*(1-t.mufactor),s=e.scale.z*(1-t.mufactor);e.scale.set(i,a,s)}))}}},l=o,c=(i("0fea"),i("2877")),u=Object(c["a"])(l,a,s,!1,null,"797fbbf7",null);e["default"]=u.exports},c385:function(t,e,i){"use strict";function a(){}i.d(e,"a",(function(){return a})),Object.assign(a.prototype,{addEventListener:function(t,e){void 0===this._listeners&&(this._listeners={});const i=this._listeners;void 0===i[t]&&(i[t]=[]),-1===i[t].indexOf(e)&&i[t].push(e)},hasEventListener:function(t,e){if(void 0===this._listeners)return!1;const i=this._listeners;return void 0!==i[t]&&-1!==i[t].indexOf(e)},removeEventListener:function(t,e){if(void 0===this._listeners)return;const i=this._listeners,a=i[t];if(void 0!==a){const t=a.indexOf(e);-1!==t&&a.splice(t,1)}},dispatchEvent:function(t){if(void 0===this._listeners)return;const e=this._listeners,i=e[t.type];if(void 0!==i){t.target=this;const e=i.slice(0);for(let i=0,a=e.length;i<a;i++)e[i].call(this,t)}}})},c3e9:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var a=i("096e"),s=i("6eb7");const n=new o,r=new s["a"];function o(t=0,e=0,i=0){this.x=t,this.y=e,this.z=i}Object.assign(o.prototype,{isVector3:!0,set:function(t,e,i){return this.x=t,this.y=e,this.z=i,this},setScalar:function(t){return this.x=t,this.y=t,this.z=t,this},setX:function(t){return this.x=t,this},setY:function(t){return this.y=t,this},setZ:function(t){return this.z=t,this},setComponent:function(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;default:throw new Error("index is out of range: "+t)}return this},getComponent:function(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+t)}},clone:function(){return new this.constructor(this.x,this.y,this.z)},copy:function(t){return this.x=t.x,this.y=t.y,this.z=t.z,this},add:function(t,e){return void 0!==e?(console.warn("THREE.Vector3: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(t,e)):(this.x+=t.x,this.y+=t.y,this.z+=t.z,this)},addScalar:function(t){return this.x+=t,this.y+=t,this.z+=t,this},addVectors:function(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this},addScaledVector:function(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this},sub:function(t,e){return void 0!==e?(console.warn("THREE.Vector3: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(t,e)):(this.x-=t.x,this.y-=t.y,this.z-=t.z,this)},subScalar:function(t){return this.x-=t,this.y-=t,this.z-=t,this},subVectors:function(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this},multiply:function(t,e){return void 0!==e?(console.warn("THREE.Vector3: .multiply() now only accepts one argument. Use .multiplyVectors( a, b ) instead."),this.multiplyVectors(t,e)):(this.x*=t.x,this.y*=t.y,this.z*=t.z,this)},multiplyScalar:function(t){return this.x*=t,this.y*=t,this.z*=t,this},multiplyVectors:function(t,e){return this.x=t.x*e.x,this.y=t.y*e.y,this.z=t.z*e.z,this},applyEuler:function(t){return t&&t.isEuler||console.error("THREE.Vector3: .applyEuler() now expects an Euler rotation rather than a Vector3 and order."),this.applyQuaternion(r.setFromEuler(t))},applyAxisAngle:function(t,e){return this.applyQuaternion(r.setFromAxisAngle(t,e))},applyMatrix3:function(t){const e=this.x,i=this.y,a=this.z,s=t.elements;return this.x=s[0]*e+s[3]*i+s[6]*a,this.y=s[1]*e+s[4]*i+s[7]*a,this.z=s[2]*e+s[5]*i+s[8]*a,this},applyNormalMatrix:function(t){return this.applyMatrix3(t).normalize()},applyMatrix4:function(t){const e=this.x,i=this.y,a=this.z,s=t.elements,n=1/(s[3]*e+s[7]*i+s[11]*a+s[15]);return this.x=(s[0]*e+s[4]*i+s[8]*a+s[12])*n,this.y=(s[1]*e+s[5]*i+s[9]*a+s[13])*n,this.z=(s[2]*e+s[6]*i+s[10]*a+s[14])*n,this},applyQuaternion:function(t){const e=this.x,i=this.y,a=this.z,s=t.x,n=t.y,r=t.z,o=t.w,l=o*e+n*a-r*i,c=o*i+r*e-s*a,u=o*a+s*i-n*e,h=-s*e-n*i-r*a;return this.x=l*o+h*-s+c*-r-u*-n,this.y=c*o+h*-n+u*-s-l*-r,this.z=u*o+h*-r+l*-n-c*-s,this},project:function(t){return this.applyMatrix4(t.matrixWorldInverse).applyMatrix4(t.projectionMatrix)},unproject:function(t){return this.applyMatrix4(t.projectionMatrixInverse).applyMatrix4(t.matrixWorld)},transformDirection:function(t){const e=this.x,i=this.y,a=this.z,s=t.elements;return this.x=s[0]*e+s[4]*i+s[8]*a,this.y=s[1]*e+s[5]*i+s[9]*a,this.z=s[2]*e+s[6]*i+s[10]*a,this.normalize()},divide:function(t){return this.x/=t.x,this.y/=t.y,this.z/=t.z,this},divideScalar:function(t){return this.multiplyScalar(1/t)},min:function(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this},max:function(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this},clamp:function(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this.z=Math.max(t.z,Math.min(e.z,this.z)),this},clampScalar:function(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this.z=Math.max(t,Math.min(e,this.z)),this},clampLength:function(t,e){const i=this.length();return this.divideScalar(i||1).multiplyScalar(Math.max(t,Math.min(e,i)))},floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this},ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this},round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this},roundToZero:function(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this},negate:function(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this},dot:function(t){return this.x*t.x+this.y*t.y+this.z*t.z},lengthSq:function(){return this.x*this.x+this.y*this.y+this.z*this.z},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},manhattanLength:function(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)},normalize:function(){return this.divideScalar(this.length()||1)},setLength:function(t){return this.normalize().multiplyScalar(t)},lerp:function(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this},lerpVectors:function(t,e,i){return this.x=t.x+(e.x-t.x)*i,this.y=t.y+(e.y-t.y)*i,this.z=t.z+(e.z-t.z)*i,this},cross:function(t,e){return void 0!==e?(console.warn("THREE.Vector3: .cross() now only accepts one argument. Use .crossVectors( a, b ) instead."),this.crossVectors(t,e)):this.crossVectors(this,t)},crossVectors:function(t,e){const i=t.x,a=t.y,s=t.z,n=e.x,r=e.y,o=e.z;return this.x=a*o-s*r,this.y=s*n-i*o,this.z=i*r-a*n,this},projectOnVector:function(t){const e=t.lengthSq();if(0===e)return this.set(0,0,0);const i=t.dot(this)/e;return this.copy(t).multiplyScalar(i)},projectOnPlane:function(t){return n.copy(this).projectOnVector(t),this.sub(n)},reflect:function(t){return this.sub(n.copy(t).multiplyScalar(2*this.dot(t)))},angleTo:function(t){const e=Math.sqrt(this.lengthSq()*t.lengthSq());if(0===e)return Math.PI/2;const i=this.dot(t)/e;return Math.acos(a["a"].clamp(i,-1,1))},distanceTo:function(t){return Math.sqrt(this.distanceToSquared(t))},distanceToSquared:function(t){const e=this.x-t.x,i=this.y-t.y,a=this.z-t.z;return e*e+i*i+a*a},manhattanDistanceTo:function(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)+Math.abs(this.z-t.z)},setFromSpherical:function(t){return this.setFromSphericalCoords(t.radius,t.phi,t.theta)},setFromSphericalCoords:function(t,e,i){const a=Math.sin(e)*t;return this.x=a*Math.sin(i),this.y=Math.cos(e)*t,this.z=a*Math.cos(i),this},setFromCylindrical:function(t){return this.setFromCylindricalCoords(t.radius,t.theta,t.y)},setFromCylindricalCoords:function(t,e,i){return this.x=t*Math.sin(e),this.y=i,this.z=t*Math.cos(e),this},setFromMatrixPosition:function(t){const e=t.elements;return this.x=e[12],this.y=e[13],this.z=e[14],this},setFromMatrixScale:function(t){const e=this.setFromMatrixColumn(t,0).length(),i=this.setFromMatrixColumn(t,1).length(),a=this.setFromMatrixColumn(t,2).length();return this.x=e,this.y=i,this.z=a,this},setFromMatrixColumn:function(t,e){return this.fromArray(t.elements,4*e)},setFromMatrix3Column:function(t,e){return this.fromArray(t.elements,3*e)},equals:function(t){return t.x===this.x&&t.y===this.y&&t.z===this.z},fromArray:function(t,e){return void 0===e&&(e=0),this.x=t[e],this.y=t[e+1],this.z=t[e+2],this},toArray:function(t,e){return void 0===t&&(t=[]),void 0===e&&(e=0),t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t},fromBufferAttribute:function(t,e,i){return void 0!==i&&console.warn("THREE.Vector3: offset has been removed from .fromBufferAttribute()."),this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this},random:function(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}})},c4a9:function(t,e,i){},c7b7:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAEEElEQVRYR+2ZfUxVZRjAf++9XC4EkvFhqDOKj3Br0z50dyuZEl0yYLvkhpv908gNMkpDq+HUxJw2k2m3Qufa3HTSCJyoRLUAizDNwI+2stCNNiRcUnipe/kS7tsOxysX+bxwv9p6t/PPOc/7PL/zvM953ud5j+DuUSg1plDmCx2zpR0x4rmHbogBbloi+PmbbNHjbOIOQFaZ1Pa2sV7A+sj7iA4PBe/hga0H2tqxSsnBwGDeLs8VnQroIGDOAam70c2xhHlkvLwUYiM85KYJ1HZ0wcEzcPoyv2oFxmNrResgYOZeufORODZuSwetxjdwzlYP/wAV31N3fJ1YJp7/SEZoofVANkHh9/geTiGwS8j7BK63YxQms3zh0ThKCtP9A85BUXoBSuv5QGSa5VvLn2BX7lP+BXi6GYoqOS5M78uCtMW8m/OkfwGe+Q3eq6TKq4DtNjh0DjIXQHzk+A7xOqACt7saLDbQ62Dt05AwDqRXAW9YoagGZoXBlevwYBS0WeC1ZEiMGt2TXgU83AAdNnglCV4thQ2p0NgC1zqgwOgHgM4IOSUq4Fiec8h61YP/A46XEG52w3fNEKyDlIeHJLtvQe0VCNBCaiJobtdNPlniffVwqQXykmHhHBXy04tQexmyFoExcQjcJ4CKt7ZWgZTwTgb82QU7P4fE2fD6suH+9wmggtDUDnuqYXGsmuOUhFyYAWF6LwBKoKtv9EhUYs8RX0d/hK9+UuWcl9vjX3FPP3xYNzrgiwaYpbQHQHUTlDeCRgNvpkLcKJW5z5b4907Y8QU8FAV//A06LWxNg6AALyzxRIVYvx22fwkdVtiWAdcsUPw1GOJhtcEPAJXq99QvsMoAyfEq0MdnoaEZVi8BQ4wP08zFVthfBw9EwqZnhzrVf3phcyXY7bDpOYieoUJ6LAYtPVDSAKsWQXjwkEcs3dA3ADP06m7iPDp7oLcfQgLVy2OACsTuGgjRwxspEKidKCrHfu52Dyp7rQKnjNwkCL7rq3QVdfMJeGmJejgQoIGxWt1Jl1tHGuHbJlcxJid//0zYPka7O2lAay8U1YKtF9YshdDbsTQ5hJFSbvegYsLWp/YUdmBj6sjk6wqs22PQYVyBLLsEKxbAvUGuIA2XVXQkJ0BUyPg6Jr3EU0eZ3sz/FGC+8XH25CVN743dPfvUVTBXUSZMe+UzMXOoNq90t4np6Suuh5oLbBGDp6tdXC3MImbh3OkpdddsZXNYc4hbVsn8wV7LZJZpYaF8tmMFYt5Md5mZmh4lW2w5Cc2t7DqRLwruHKKbzDI7UMf+5Y+hT4pXq2RHKT81U67NUvb78y1QcR4snZj1c9lQvlIMDPvNkL5Pxgb0sQ5IAaIBb55Y/4XgnMZOcUW+OOt4vX8BupcNx1mwgQYAAAAASUVORK5CYII="},c9de:function(t,e,i){"use strict";var a=i("a2b7"),s=i.n(a);s.a},cac0:function(module,__webpack_exports__,__webpack_require__){"use strict";var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("96cf"),regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__),E_CFD_cfd_web_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("1da1"),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("ac6a"),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_2__),core_js_modules_es6_string_iterator__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("5df3"),core_js_modules_es6_string_iterator__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_es6_string_iterator__WEBPACK_IMPORTED_MODULE_3__),core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("7f7f"),core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4__),_HCFD_demo_vue__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("c09f"),_utils_request__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("b775"),_utils_message_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("3fa5"),_CFD_table_vue__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("f1b4"),Message=new _utils_message_js__WEBPACK_IMPORTED_MODULE_7__["a"];__webpack_exports__["a"]={data:function(){return{mdata:[],types:["Orthotropic","Isotropic","Anisotropic"],options:[{value:"MatId",label:"MatId"},{value:"LayUp",label:"LayUp"},{value:"Fiber",label:"Fiber"},{value:"MatId&Layup&Fiber",label:"MatId&Layup&Fiber"}],selectMate:{mate:{mateId:null,name:"",type:"Isotropic"},values:[],failure:[],fiberorientation:null,layuporientation:null,option:"MatId"},dialogselector:!1,geometrys:[],isopt:!0,disabledAll:!1,air:{},airmates:[],selectairmate:{},groupdis:!1,selectgroup:{},option:"MatId",selectairmatename:"",selectgroupgroupid:""}},mounted:function(){this.smdata()},created:function(){var t=this;this.$bus.$on("selectData",this.geometrySel),this.$bus.$on("airSect",(function(e){t.air=e,t.initarimate()})),this.$bus.$on("optflag",(function(e){e.isopt?(t.isopt=!0,e.mateflag?t.disabledAll=!1:t.disabledAll=!0):t.isopt=!1}))},methods:{cancel:function(){this.$emit("toOpt")},delAirMate:function(){var t={transCode:"BDS046",projectId:sessionStorage.getItem("pid"),airId:_this.air.airId};Object(_utils_request__WEBPACK_IMPORTED_MODULE_6__["c"])(t).then((function(t){console.log("BDS045 res",t),_this.mateNoone()})).catch((function(t){}))},saveAirMate:function(t){var e={transCode:"BDS044",id:t.id,projectId:t.projectId,unitType:t.unitType,airId:t.airId,name:t.name,layernum:t.layernum,layersGroupsNum:t.layersGroupsNum,layersNumEachGr:t.layersNumEachGr,layersObj:JSON.stringify(t.layersObj)};Object(_utils_request__WEBPACK_IMPORTED_MODULE_6__["c"])(e).then((function(t){console.log("BDS045 res",t),_this.mateNoone()})).catch((function(t){}))},optimization:function(){for(var t=this,e=[],i=function(i){var a=t.airmates[i],s=new Promise((function(e,i){t.saveAirMate(a)}));e.push(s)},a=0;a<this.airmates.length;a++)i(a);Promise.all(e).then((function(e){t.$emit("toOpt")}))},resetlayup:function(){this.getbdsair()},airMateApply:function(){var t=this;null==this.selectMate.mate.mateId&&Message.error("Materials Not Selected !"),this.selectairmate.layersObj.forEach((function(e){e.groupid==t.selectgroup.groupid&&(e=t.selectgroup,e.mateid=t.selectMate.mate.mateId)})),console.log("selectairmate.layersObj",this.selectairmate.layersObj),this.airmates.forEach((function(e){e.name==t.selectairmate.name&&(e=t.selectairmate)}))},changeGroup:function(t){var e=this;this.selectairmate.layersObj.forEach((function(i){i.groupid==t&&(e.selectgroup=i)}))},groupApply:function(){var t=this;this.selectairmate.layersObj=[];for(var e=0;e<this.selectairmate.layersGroupsNum;e++)this.selectairmate.layersObj.push({groupid:e+1,lorient:0,forient:0,mateid:0});this.airmates.forEach((function(e){e.name==t.selectairmate.name&&(e=t.selectairmate)}))},changeDivide:function(t){var e=this;this.airmates.forEach((function(i){i.name==t&&(e.selectairmate=i,e.selectgroupgroupid="")}))},changeLayersNumEachGr:function(){this.selectairmate.layernum%this.selectairmate.layersNumEachGr==0?(this.selectairmate.layersGroupsNum=this.selectairmate.layernum/this.selectairmate.layersNumEachGr,this.groupdis=!1):this.groupdis=!0},changeLayersGroupsNum:function(){this.selectairmate.layernum%this.selectairmate.layersGroupsNum==0?(this.selectairmate.layersNumEachGr=this.selectairmate.layernum/this.selectairmate.layersGroupsNum,this.groupdis=!1):this.groupdis=!0},initarimate:function(){var t=this;null==sessionStorage.getItem("pid")&&Message.warning("Please Created/Select Project!");var e={transCode:"BDS045",projectId:sessionStorage.getItem("pid"),airId:t.air.airId};console.log("BDS045 params",e),Object(_utils_request__WEBPACK_IMPORTED_MODULE_6__["c"])(e).then((function(e){if(console.log("BDS045 res",e),0==e.rows.length)t.mateNoone();else{for(var i=0;i<e.rows.length;i++){var a=e.rows[i],s={id:a.id,projectId:a.projectId,unitType:a.unitType,airId:a.airId,name:a.name,layernum:a.layernum,layersGroupsNum:a.layersGroupsNum,layersNumEachGr:a.layersNumEachGr,layersObj:JSON.parse(a.layersObj)};t.airmates.push(s)}console.log("BDS045 airmates",t.airmates)}})).catch((function(t){}))},mateNoone:function(){var t=JSON.parse(this.air.paramObj),e={id:null,projectId:sessionStorage.getItem("pid"),unitType:"",airId:this.air.airId,name:"SKin",layernum:t.skinlayernum,layersGroupsNum:0,layersNumEachGr:0,layersObj:[{groupid:"",lorient:0,forient:0,mateid:""}]};if(this.airmates.push(e),"D-Spar"==t.spartype){var i={id:null,projectId:sessionStorage.getItem("pid"),unitType:"",airId:this.air.airId,name:"D-Spar",layernum:t.dSpar.layernum,layersGroupsNum:0,layersNumEachGr:0,layersObj:[{groupid:"",lorient:0,forient:0,mateid:""}]};this.airmates.push(i);for(var a=0;a<t.webList.length;a++){var s=t.webList[a],n={id:null,projectId:sessionStorage.getItem("pid"),unitType:"",airId:this.air.airId,name:"Web"+(a+1),layernum:s.layernum,layersGroupsNum:0,layersNumEachGr:0,layersObj:[{groupid:"",lorient:0,forient:0,mateid:""}]};this.airmates.push(n)}}else if("C-Spar"==t.spartype)for(var r=0;r<t.webList.length;r++){var o=t.webList[r];n={id:null,projectId:sessionStorage.getItem("pid"),unitType:"",airId:this.air.airId,name:"Web"+(r+1),layernum:o.layernum,layersGroupsNum:0,layersNumEachGr:0,layersObj:[{groupid:"",lorient:0,forient:0,mateid:""}]};this.airmates.push(n)}else if("Arc-Spar"==t.spartype){var l={id:null,projectId:sessionStorage.getItem("pid"),unitType:"",airId:this.air.airId,name:"D-Spar",layernum:t.arcSpar.layernum,layersGroupsNum:0,layersNumEachGr:0,layersObj:[{groupid:"",lorient:0,forient:0,mateid:""}]};this.airmates.push(l)}else if("Box-Spar"==t.spartype){for(var c=0;c<t.boxSpars.length;c++){var u=t.boxSpars[c];n={id:null,projectId:sessionStorage.getItem("pid"),unitType:"",airId:this.air.airId,name:"BosSpar"+(c+1),layernum:u.layernum,layersGroupsNum:0,layersNumEachGr:0,layersObj:[{groupid:"",lorient:0,forient:0,mateid:""}]};this.airmates.push(n)}for(var h=0;h<t.webList.length;h++){var d=t.webList[h];n={id:null,projectId:sessionStorage.getItem("pid"),unitType:"",airId:this.air.airId,name:"Web"+(h+1),layernum:d.layernum,layersGroupsNum:0,layersNumEachGr:0,layersObj:[{groupid:"",lorient:0,forient:0,mateid:""}]};this.airmates.push(n)}}},geometrySel:function(t){this.geometrys=t},geometrySetMate:function(){var t=Object(E_CFD_cfd_web_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(0!=this.geometrys.length){t.next=3;break}return Message.error("Geometry Not Selected!"),t.abrupt("return");case 3:if(null!=this.selectMate.mate.mateId){t.next=6;break}return Message.error("Materials Not Selected !"),t.abrupt("return");case 6:return t.next=8,this.geometrys.forEach((function(t){var i={transCode:"BDS036",gid:t.gid,mateId:e.selectMate.mate.mateId,mateNo:e.selectMate.mate.mateNo,layuporientation:null==e.selectMate.layuporientation?0:e.selectMate.layuporientation,fiberorientation:null==e.selectMate.fiberorientation?0:e.selectMate.fiberorientation};Object(_utils_request__WEBPACK_IMPORTED_MODULE_6__["c"])(i).then((function(t){})).catch((function(t){}))}));case 8:this.$emit("getElementData");case 9:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),smdata:function(){var t=this,e={transCode:"BDS001"};Object(_utils_request__WEBPACK_IMPORTED_MODULE_6__["c"])(e).then((function(e){t.mdata=e.rows})).catch((function(t){}))},smSelectChange:function smSelectChange(val){if(val){var failurestr=val.failure,failure=eval(failurestr);this.selectMate.mate=val,this.selectMate.values=eval(val.values),this.selectMate.failure=failure,this.selectMate.fiberorientation=null,this.selectMate.layuporientation=null}},typeChange:function(t){switch(console.log(t),t){case"Isotropic":this.selectMate.values=[0,0,0,0,0,0];break;case"Orthotropic":this.selectMate.values=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];break;case"Anisotropic":this.selectMate.values=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];break;default:break}},del:function(){var t=this;if(null==this.selectMate.mate.mateId)Message.error("Materials Not Selected !");else{var e={transCode:"BDS003",mateId:this.selectMate.mate.mateId};Object(_utils_request__WEBPACK_IMPORTED_MODULE_6__["c"])(e).then((function(e){t.smdata(),Message.success("Success!")})).catch((function(t){}))}},add:function(){var t=this;this.selectMate.mate={mateId:null,name:"name",type:"Isotropic"},this.typeChange(this.selectMate.mate.type),this.selectMate.fiberorientation=null,this.selectMate.layuporientation=null,this.selectMate.failure=[];var e={transCode:"BDS002",mateId:this.selectMate.mate.mateId,name:this.selectMate.mate.name,type:this.selectMate.mate.type,values:JSON.stringify(this.selectMate.values),failure:null};Object(_utils_request__WEBPACK_IMPORTED_MODULE_6__["c"])(e).then((function(e){t.smdata(),Message.success("Success!")})).catch((function(t){Message.error(t.Message)}))},mateSaveOrUpdate:function(){null==this.selectMate.mate.mateId?Message.error("Materials Not Selected !"):this.mSaveUpdate()},mSaveUpdate:function(){var t=this,e={transCode:"BDS002",mateId:this.selectMate.mate.mateId,name:this.selectMate.mate.name,type:this.selectMate.mate.type,values:JSON.stringify(this.selectMate.values),failure:JSON.stringify(this.selectMate.failure)};Object(_utils_request__WEBPACK_IMPORTED_MODULE_6__["c"])(e).then((function(e){t.smdata(),Message.success("Success!")})).catch((function(t){}))}},components:{demo:_HCFD_demo_vue__WEBPACK_IMPORTED_MODULE_5__["default"],Table:_CFD_table_vue__WEBPACK_IMPORTED_MODULE_8__["a"]}}},cdfc:function(t,e,i){"use strict";var a=i("c3e9"),s=i("fd5f"),n=i("c385"),r=i("9ca7"),o=i("f087"),l=i("4e72");function c(){this.vertices=[],this.normals=[],this.colors=[],this.uvs=[],this.uvs2=[],this.groups=[],this.morphTargets={},this.skinWeights=[],this.skinIndices=[],this.boundingBox=null,this.boundingSphere=null,this.verticesNeedUpdate=!1,this.normalsNeedUpdate=!1,this.colorsNeedUpdate=!1,this.uvsNeedUpdate=!1,this.groupsNeedUpdate=!1}Object.assign(c.prototype,{computeGroups:function(t){const e=[];let i,a,s=void 0;const n=t.faces;for(a=0;a<n.length;a++){const t=n[a];t.materialIndex!==s&&(s=t.materialIndex,void 0!==i&&(i.count=3*a-i.start,e.push(i)),i={start:3*a,materialIndex:s})}void 0!==i&&(i.count=3*a-i.start,e.push(i)),this.groups=e},fromGeometry:function(t){const e=t.faces,i=t.vertices,a=t.faceVertexUvs,s=a[0]&&a[0].length>0,n=a[1]&&a[1].length>0,r=t.morphTargets,o=r.length;let c;if(o>0){c=[];for(let t=0;t<o;t++)c[t]={name:r[t].name,data:[]};this.morphTargets.position=c}const u=t.morphNormals,h=u.length;let d;if(h>0){d=[];for(let t=0;t<h;t++)d[t]={name:u[t].name,data:[]};this.morphTargets.normal=d}const p=t.skinIndices,m=t.skinWeights,v=p.length===i.length,f=m.length===i.length;i.length>0&&0===e.length&&console.error("THREE.DirectGeometry: Faceless geometries are not supported.");for(let b=0;b<e.length;b++){const t=e[b];this.vertices.push(i[t.a],i[t.b],i[t.c]);const g=t.vertexNormals;if(3===g.length)this.normals.push(g[0],g[1],g[2]);else{const e=t.normal;this.normals.push(e,e,e)}const y=t.vertexColors;if(3===y.length)this.colors.push(y[0],y[1],y[2]);else{const e=t.color;this.colors.push(e,e,e)}if(!0===s){const t=a[0][b];void 0!==t?this.uvs.push(t[0],t[1],t[2]):(console.warn("THREE.DirectGeometry.fromGeometry(): Undefined vertexUv ",b),this.uvs.push(new l["a"],new l["a"],new l["a"]))}if(!0===n){const t=a[1][b];void 0!==t?this.uvs2.push(t[0],t[1],t[2]):(console.warn("THREE.DirectGeometry.fromGeometry(): Undefined vertexUv2 ",b),this.uvs2.push(new l["a"],new l["a"],new l["a"]))}for(let e=0;e<o;e++){const i=r[e].vertices;c[e].data.push(i[t.a],i[t.b],i[t.c])}for(let e=0;e<h;e++){const t=u[e].vertexNormals[b];d[e].data.push(t.a,t.b,t.c)}v&&this.skinIndices.push(p[t.a],p[t.b],p[t.c]),f&&this.skinWeights.push(m[t.a],m[t.b],m[t.c])}return this.computeGroups(t),this.verticesNeedUpdate=t.verticesNeedUpdate,this.normalsNeedUpdate=t.normalsNeedUpdate,this.colorsNeedUpdate=t.colorsNeedUpdate,this.uvsNeedUpdate=t.uvsNeedUpdate,this.groupsNeedUpdate=t.groupsNeedUpdate,null!==t.boundingSphere&&(this.boundingSphere=t.boundingSphere.clone()),null!==t.boundingBox&&(this.boundingBox=t.boundingBox.clone()),this}});var u=i("a75a"),h=i("dfe9"),d=i("7aef"),p=i("096e");function m(t){if(0===t.length)return-1/0;let e=t[0];for(let i=1,a=t.length;i<a;++i)t[i]>e&&(e=t[i]);return e}i.d(e,"a",(function(){return w}));let v=1;const f=new h["a"],b=new u["a"],g=new a["a"],y=new s["a"],x=new s["a"],_=new a["a"];function w(){Object.defineProperty(this,"id",{value:v+=2}),this.uuid=p["a"].generateUUID(),this.name="",this.type="BufferGeometry",this.index=null,this.attributes={},this.morphAttributes={},this.morphTargetsRelative=!1,this.groups=[],this.boundingBox=null,this.boundingSphere=null,this.drawRange={start:0,count:1/0},this.userData={}}w.prototype=Object.assign(Object.create(n["a"].prototype),{constructor:w,isBufferGeometry:!0,getIndex:function(){return this.index},setIndex:function(t){Array.isArray(t)?this.index=new(m(t)>65535?r["d"]:r["c"])(t,1):this.index=t},getAttribute:function(t){return this.attributes[t]},setAttribute:function(t,e){return this.attributes[t]=e,this},deleteAttribute:function(t){return delete this.attributes[t],this},addGroup:function(t,e,i){this.groups.push({start:t,count:e,materialIndex:void 0!==i?i:0})},clearGroups:function(){this.groups=[]},setDrawRange:function(t,e){this.drawRange.start=t,this.drawRange.count=e},applyMatrix4:function(t){const e=this.attributes.position;void 0!==e&&(e.applyMatrix4(t),e.needsUpdate=!0);const i=this.attributes.normal;if(void 0!==i){const e=(new d["a"]).getNormalMatrix(t);i.applyNormalMatrix(e),i.needsUpdate=!0}const a=this.attributes.tangent;return void 0!==a&&(a.transformDirection(t),a.needsUpdate=!0),null!==this.boundingBox&&this.computeBoundingBox(),null!==this.boundingSphere&&this.computeBoundingSphere(),this},rotateX:function(t){return f.makeRotationX(t),this.applyMatrix4(f),this},rotateY:function(t){return f.makeRotationY(t),this.applyMatrix4(f),this},rotateZ:function(t){return f.makeRotationZ(t),this.applyMatrix4(f),this},translate:function(t,e,i){return f.makeTranslation(t,e,i),this.applyMatrix4(f),this},scale:function(t,e,i){return f.makeScale(t,e,i),this.applyMatrix4(f),this},lookAt:function(t){return b.lookAt(t),b.updateMatrix(),this.applyMatrix4(b.matrix),this},center:function(){return this.computeBoundingBox(),this.boundingBox.getCenter(g).negate(),this.translate(g.x,g.y,g.z),this},setFromObject:function(t){const e=t.geometry;if(t.isPoints||t.isLine){const t=new r["b"](3*e.vertices.length,3),i=new r["b"](3*e.colors.length,3);if(this.setAttribute("position",t.copyVector3sArray(e.vertices)),this.setAttribute("color",i.copyColorsArray(e.colors)),e.lineDistances&&e.lineDistances.length===e.vertices.length){const t=new r["b"](e.lineDistances.length,1);this.setAttribute("lineDistance",t.copyArray(e.lineDistances))}null!==e.boundingSphere&&(this.boundingSphere=e.boundingSphere.clone()),null!==e.boundingBox&&(this.boundingBox=e.boundingBox.clone())}else t.isMesh&&e&&e.isGeometry&&this.fromGeometry(e);return this},setFromPoints:function(t){const e=[];for(let i=0,a=t.length;i<a;i++){const a=t[i];e.push(a.x,a.y,a.z||0)}return this.setAttribute("position",new r["b"](e,3)),this},updateFromObject:function(t){let e=t.geometry;if(t.isMesh){let t=e.__directGeometry;if(!0===e.elementsNeedUpdate&&(t=void 0,e.elementsNeedUpdate=!1),void 0===t)return this.fromGeometry(e);t.verticesNeedUpdate=e.verticesNeedUpdate,t.normalsNeedUpdate=e.normalsNeedUpdate,t.colorsNeedUpdate=e.colorsNeedUpdate,t.uvsNeedUpdate=e.uvsNeedUpdate,t.groupsNeedUpdate=e.groupsNeedUpdate,e.verticesNeedUpdate=!1,e.normalsNeedUpdate=!1,e.colorsNeedUpdate=!1,e.uvsNeedUpdate=!1,e.groupsNeedUpdate=!1,e=t}if(!0===e.verticesNeedUpdate){const t=this.attributes.position;void 0!==t&&(t.copyVector3sArray(e.vertices),t.needsUpdate=!0),e.verticesNeedUpdate=!1}if(!0===e.normalsNeedUpdate){const t=this.attributes.normal;void 0!==t&&(t.copyVector3sArray(e.normals),t.needsUpdate=!0),e.normalsNeedUpdate=!1}if(!0===e.colorsNeedUpdate){const t=this.attributes.color;void 0!==t&&(t.copyColorsArray(e.colors),t.needsUpdate=!0),e.colorsNeedUpdate=!1}if(e.uvsNeedUpdate){const t=this.attributes.uv;void 0!==t&&(t.copyVector2sArray(e.uvs),t.needsUpdate=!0),e.uvsNeedUpdate=!1}if(e.lineDistancesNeedUpdate){const t=this.attributes.lineDistance;void 0!==t&&(t.copyArray(e.lineDistances),t.needsUpdate=!0),e.lineDistancesNeedUpdate=!1}return e.groupsNeedUpdate&&(e.computeGroups(t.geometry),this.groups=e.groups,e.groupsNeedUpdate=!1),this},fromGeometry:function(t){return t.__directGeometry=(new c).fromGeometry(t),this.fromDirectGeometry(t.__directGeometry)},fromDirectGeometry:function(t){const e=new Float32Array(3*t.vertices.length);if(this.setAttribute("position",new r["a"](e,3).copyVector3sArray(t.vertices)),t.normals.length>0){const e=new Float32Array(3*t.normals.length);this.setAttribute("normal",new r["a"](e,3).copyVector3sArray(t.normals))}if(t.colors.length>0){const e=new Float32Array(3*t.colors.length);this.setAttribute("color",new r["a"](e,3).copyColorsArray(t.colors))}if(t.uvs.length>0){const e=new Float32Array(2*t.uvs.length);this.setAttribute("uv",new r["a"](e,2).copyVector2sArray(t.uvs))}if(t.uvs2.length>0){const e=new Float32Array(2*t.uvs2.length);this.setAttribute("uv2",new r["a"](e,2).copyVector2sArray(t.uvs2))}this.groups=t.groups;for(const i in t.morphTargets){const e=[],a=t.morphTargets[i];for(let t=0,i=a.length;t<i;t++){const i=a[t],s=new r["b"](3*i.data.length,3);s.name=i.name,e.push(s.copyVector3sArray(i.data))}this.morphAttributes[i]=e}if(t.skinIndices.length>0){const e=new r["b"](4*t.skinIndices.length,4);this.setAttribute("skinIndex",e.copyVector4sArray(t.skinIndices))}if(t.skinWeights.length>0){const e=new r["b"](4*t.skinWeights.length,4);this.setAttribute("skinWeight",e.copyVector4sArray(t.skinWeights))}return null!==t.boundingSphere&&(this.boundingSphere=t.boundingSphere.clone()),null!==t.boundingBox&&(this.boundingBox=t.boundingBox.clone()),this},computeBoundingBox:function(){null===this.boundingBox&&(this.boundingBox=new s["a"]);const t=this.attributes.position,e=this.morphAttributes.position;if(void 0!==t){if(this.boundingBox.setFromBufferAttribute(t),e)for(let i=0,a=e.length;i<a;i++){const t=e[i];y.setFromBufferAttribute(t),this.morphTargetsRelative?(_.addVectors(this.boundingBox.min,y.min),this.boundingBox.expandByPoint(_),_.addVectors(this.boundingBox.max,y.max),this.boundingBox.expandByPoint(_)):(this.boundingBox.expandByPoint(y.min),this.boundingBox.expandByPoint(y.max))}}else this.boundingBox.makeEmpty();(isNaN(this.boundingBox.min.x)||isNaN(this.boundingBox.min.y)||isNaN(this.boundingBox.min.z))&&console.error('THREE.BufferGeometry.computeBoundingBox: Computed min/max have NaN values. The "position" attribute is likely to have NaN values.',this)},computeBoundingSphere:function(){null===this.boundingSphere&&(this.boundingSphere=new o["a"]);const t=this.attributes.position,e=this.morphAttributes.position;if(t){const i=this.boundingSphere.center;if(y.setFromBufferAttribute(t),e)for(let t=0,s=e.length;t<s;t++){const i=e[t];x.setFromBufferAttribute(i),this.morphTargetsRelative?(_.addVectors(y.min,x.min),y.expandByPoint(_),_.addVectors(y.max,x.max),y.expandByPoint(_)):(y.expandByPoint(x.min),y.expandByPoint(x.max))}y.getCenter(i);let a=0;for(let e=0,s=t.count;e<s;e++)_.fromBufferAttribute(t,e),a=Math.max(a,i.distanceToSquared(_));if(e)for(let s=0,n=e.length;s<n;s++){const n=e[s],r=this.morphTargetsRelative;for(let e=0,s=n.count;e<s;e++)_.fromBufferAttribute(n,e),r&&(g.fromBufferAttribute(t,e),_.add(g)),a=Math.max(a,i.distanceToSquared(_))}this.boundingSphere.radius=Math.sqrt(a),isNaN(this.boundingSphere.radius)&&console.error('THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.',this)}},computeFaceNormals:function(){},computeVertexNormals:function(){const t=this.index,e=this.getAttribute("position");if(void 0!==e){let i=this.getAttribute("normal");if(void 0===i)i=new r["a"](new Float32Array(3*e.count),3),this.setAttribute("normal",i);else for(let t=0,e=i.count;t<e;t++)i.setXYZ(t,0,0,0);const s=new a["a"],n=new a["a"],o=new a["a"],l=new a["a"],c=new a["a"],u=new a["a"],h=new a["a"],d=new a["a"];if(t)for(let a=0,r=t.count;a<r;a+=3){const r=t.getX(a+0),p=t.getX(a+1),m=t.getX(a+2);s.fromBufferAttribute(e,r),n.fromBufferAttribute(e,p),o.fromBufferAttribute(e,m),h.subVectors(o,n),d.subVectors(s,n),h.cross(d),l.fromBufferAttribute(i,r),c.fromBufferAttribute(i,p),u.fromBufferAttribute(i,m),l.add(h),c.add(h),u.add(h),i.setXYZ(r,l.x,l.y,l.z),i.setXYZ(p,c.x,c.y,c.z),i.setXYZ(m,u.x,u.y,u.z)}else for(let t=0,a=e.count;t<a;t+=3)s.fromBufferAttribute(e,t+0),n.fromBufferAttribute(e,t+1),o.fromBufferAttribute(e,t+2),h.subVectors(o,n),d.subVectors(s,n),h.cross(d),i.setXYZ(t+0,h.x,h.y,h.z),i.setXYZ(t+1,h.x,h.y,h.z),i.setXYZ(t+2,h.x,h.y,h.z);this.normalizeNormals(),i.needsUpdate=!0}},merge:function(t,e){if(!t||!t.isBufferGeometry)return void console.error("THREE.BufferGeometry.merge(): geometry not an instance of THREE.BufferGeometry.",t);void 0===e&&(e=0,console.warn("THREE.BufferGeometry.merge(): Overwriting original geometry, starting at offset=0. Use BufferGeometryUtils.mergeBufferGeometries() for lossless merge."));const i=this.attributes;for(const a in i){if(void 0===t.attributes[a])continue;const s=i[a],n=s.array,r=t.attributes[a],o=r.array,l=r.itemSize*e,c=Math.min(o.length,n.length-l);for(let t=0,e=l;t<c;t++,e++)n[e]=o[t]}return this},normalizeNormals:function(){const t=this.attributes.normal;for(let e=0,i=t.count;e<i;e++)_.fromBufferAttribute(t,e),_.normalize(),t.setXYZ(e,_.x,_.y,_.z)},toNonIndexed:function(){function t(t,e){const i=t.array,a=t.itemSize,s=t.normalized,n=new i.constructor(e.length*a);let o=0,l=0;for(let r=0,c=e.length;r<c;r++){o=e[r]*a;for(let t=0;t<a;t++)n[l++]=i[o++]}return new r["a"](n,a,s)}if(null===this.index)return console.warn("THREE.BufferGeometry.toNonIndexed(): Geometry is already non-indexed."),this;const e=new w,i=this.index.array,a=this.attributes;for(const r in a){const s=a[r],n=t(s,i);e.setAttribute(r,n)}const s=this.morphAttributes;for(const r in s){const a=[],n=s[r];for(let e=0,s=n.length;e<s;e++){const s=n[e],r=t(s,i);a.push(r)}e.morphAttributes[r]=a}e.morphTargetsRelative=this.morphTargetsRelative;const n=this.groups;for(let r=0,o=n.length;r<o;r++){const t=n[r];e.addGroup(t.start,t.count,t.materialIndex)}return e},toJSON:function(){const t={metadata:{version:4.5,type:"BufferGeometry",generator:"BufferGeometry.toJSON"}};if(t.uuid=this.uuid,t.type=this.type,""!==this.name&&(t.name=this.name),Object.keys(this.userData).length>0&&(t.userData=this.userData),void 0!==this.parameters){const e=this.parameters;for(const i in e)void 0!==e[i]&&(t[i]=e[i]);return t}t.data={attributes:{}};const e=this.index;null!==e&&(t.data.index={type:e.array.constructor.name,array:Array.prototype.slice.call(e.array)});const i=this.attributes;for(const o in i){const e=i[o],a=e.toJSON(t.data);""!==e.name&&(a.name=e.name),t.data.attributes[o]=a}const a={};let s=!1;for(const o in this.morphAttributes){const e=this.morphAttributes[o],i=[];for(let a=0,s=e.length;a<s;a++){const s=e[a],n=s.toJSON(t.data);""!==s.name&&(n.name=s.name),i.push(n)}i.length>0&&(a[o]=i,s=!0)}s&&(t.data.morphAttributes=a,t.data.morphTargetsRelative=this.morphTargetsRelative);const n=this.groups;n.length>0&&(t.data.groups=JSON.parse(JSON.stringify(n)));const r=this.boundingSphere;return null!==r&&(t.data.boundingSphere={center:r.center.toArray(),radius:r.radius}),t},clone:function(){return(new w).copy(this)},copy:function(t){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const e={};this.name=t.name;const i=t.index;null!==i&&this.setIndex(i.clone(e));const a=t.attributes;for(const l in a){const t=a[l];this.setAttribute(l,t.clone(e))}const s=t.morphAttributes;for(const l in s){const t=[],i=s[l];for(let a=0,s=i.length;a<s;a++)t.push(i[a].clone(e));this.morphAttributes[l]=t}this.morphTargetsRelative=t.morphTargetsRelative;const n=t.groups;for(let l=0,c=n.length;l<c;l++){const t=n[l];this.addGroup(t.start,t.count,t.materialIndex)}const r=t.boundingBox;null!==r&&(this.boundingBox=r.clone());const o=t.boundingSphere;return null!==o&&(this.boundingSphere=o.clone()),this.drawRange.start=t.drawRange.start,this.drawRange.count=t.drawRange.count,this.userData=t.userData,this},dispose:function(){this.dispatchEvent({type:"dispose"})}})},cf65:function(t,e,i){"use strict";var a=i("61c9"),s=i.n(a);s.a},d34d:function(t,e,i){"use strict";var a=i("e31c"),s=i.n(a);s.a},d408:function(t,e,i){"use strict";var a=i("8735"),s=i.n(a);s.a},d914:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAEFklEQVRYR+2YXyh0aRzHv895R9j82Svy2gsSKaso4YyLlQv/LnBhLHIlsmRbFpHIn1VEu1z4t0UUsRuxKeGC0sTZ1LzlZhJFNFLe0qz/Q6+z/Z53R7O7mDljZ95zsb+rM83znOfzfJ/fv/Mw2JhWq/1SluVaxliKLMtvAbyx/d/Fz+8B/A5gUJKkZetazPogiuJ3AH50M9STe5Zleez8/Pwbo9F4xwFFUdQB+BXAI7CL1XLk9f2SJH3LMjIyPM1m8z4AOlI12QdBEKKYKIrpAJbURGZlkWW5lSUmJn7PGCPfU6PNkoINADrVSAdgURGgr68vLi4u3LkXxwFTUlLQ1taG8fFxjI6OugvSMUCCa21thUaj4WAE6CZI+4BJSUno7OxEf38/qqqquIKFhYUYGRnB5OSkq5W0D5iWlgZPT08sLCxgc3MT5eXl8PDwQHR0NMbGxj49oC2BFXB7e9vVYNb321fwf8CXz8L1CoqiiNLSUmxtbWF4eFipa7wOMCAgALGxsbi/v8fGxgYsFsvfAMLDwzEwMICenh4eYFdXV+4DLCoqQllZGXZ2dhAYGMgrDP2+vLx8hGhpaYHJZHpNznROwbCwMNTW1qK3txczMzMccGpqCisrK+ju7uaAgiBgcXGRQx8dHSlVzvkobm5uRmNjI9bX19He3v64cGVlJXQ6HbKzs2E2mxESEoLBwUFkZmY6C0fzlCu4u7uLiIgIDmgwGLC0tMR9i1ScnZ3lUNPT06AEn5qaipqaGvcC0mr7+/tYXl7mARIaGsohDg4O0NHRweHz8/N57d7b28PExASoXEZGRjrji8oVJMCSkhIYjUauTHFxMbKyslBdXQ0/Pz8MDQ3xep2TkwMKpLOzM+6rwcHByMvLU6qmckBShCBsraCggOc6vV5PH2Dw8fFBU1MT1tbWuMIEPD8/j76+PtcDUrPwVC2OioricLe3t1xRsuPjY8TExPBUVFdXx1OQl5cXH+OgKVfwOUDbBb29vbnfkZKHh4d8Qw8PD3wIdUVzc3NcVQfMNYAvLUwqd3V18VbNAUj7gBSpdHxkFRUV3JdOTk4c2PzzQ+Li4hAfH89Tkp2m1z5gbm7uY7KlVEFV4fr6+lWA/v7+CAoKwurqKijxv2D2AW0n/xcNKyV0aiCoRjc0NNgLGPcDUs0+PT1FfX39v7qfJ5RUBkhHTFF5c3Pj9BGT71FU/7M1e+aFygCdpnJ+IgesA/CxR1Kf/UaXR18zxn5RHxvAGPuJJScnf26xWI4BfKY2SMbYV/xGVavVNsmy/IPKAFckSUrngDqd7o3JZJoAUKASyHcajSZdr9e/t72TJn8sEwShWpbliE8Eegrg57u7uy6DwcDL1ZOX5gkJCV8ACHQnpCAIf0iSRHflH9uev+xPK+8HIoZpURoAAAAASUVORK5CYII="},dbd5:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAERklEQVRYR9XZf0zUZRzA8ff3wOPnmZg7QMWEjEW4CrVa/lqDNdESjpj8SE0NRPthCrmi+qPcdGc/EE6a0oTlhZsYllQUbGx11SSadGlu5UIkbJEVKL/l99O+foccRez4fjmg55/n9r17Ps/r+/zYPs9zEiOUuMPC2N/JHJ1AN9L3rnjW40njZ89K9f+MLTk+MGWLZHS86KHnHj8DuLm5gvLvmAMC2jqhrZ3LQiKvdTrZti1Sl/xLBSiEZLJwZLaRlJTlcO9c0A2jTwz0UhMcrYQf6qjSexJdvE1qucGIzRGZwbMx748DD/eJwYzWi8UGtrN8VJIumaRHDgk/fR/1hzZhCJg++ThZ0DcA2wqhqYllUmyOSFwYQtHetVMDN6g4dgY+qCRLirWI3dGLeXP7sqkF/KoWDpRySh7BzDX3YU5bOrWAlXXwxid86jSwtx+O2+HRcJjp7fqXGRNQxr1UAud/BqM/WJJcj3QaKOMyS6CuATrawcsbDD5gedy1SKeBuTb44jxkb4C0PHh5HVhPg8ELLAmum2qngb+3gpsOjL6wygzmDRAWAL+1wIJZUwDoSBgELgpyHWwwstMj+L8EXu+FhlZYHAQhtw69QtUv8GszRMzVPv2aRtBzGuwuhEAj5G9SUqLGDticBwZfyN8CPnpty0ATUF6Dx6qhsAJSoiEhAl75GOwX4K2NEB44hDthVz4nLhobWDNQAM8ch8sN8EQkFJRDwkOQ8uBwyKQBZcYfbbA1H7q74LYgOLwe3CTo6oUvaxXot5eU+oEQpY4MhWlOHCQ0j6DcmbxZNhdA8zVYEg77YhREWzcUfKN8vnhFqRcEKPVTy51LiscFuK8cvj4LEWFg/xHSTRAdNkWm2HYR9hdD5BLIiIInj0JzCxxJBX/DJG+SeTNhawG4u4M1Fbz18NMVyLBC8DzITVLWolyudir1WFM01VO8dz1YK6GmDl6Ih6jQodF6vQI+rwbTCmWtaSmqga8mwS2eyrFUThoci7x7axuV8/SdxpF5H55TdvIMr9H5qoFyNqMlWUh9D3r6wJIMfqMgJw3Y2gXPFcHAwOhIp4Hvfw8nq5TpaGkGH19lc2gpvb3Q2QGhIZCbOHIkp4HydUTNX0qQA6fgsZUw3yGDUQMtPadssp0xsPoujUDH5uORsBbZwVoBO9bCmv/AyX06PYKOQDk52PUw3KEh1d+YD8lLR8epBqqZTrVtVI2g2s7UtLsJjLGIjFURZD29Qk0Y17Wx1UBOGSelOIuIDp5DWVa86zpTE/md01D+HXuk1QeFh36AOnMSgWH+akKNf5v2bkiz0t/ew8IbOUdMjlg3awYnzPFI8gF9MktXH+wphQv1vF2yS9px8ybaZBE7PT3Iirsft5W3g9EwsffU165DdT0Un4E/r/Kuvpntxa9JPcOuymNyxN0SPI8gSpIIFEzc3xAIGoVEtU5wsCRdKhucxb8BQV0axdV/3DYAAAAASUVORK5CYII="},de58:function(t,e,i){},defc:function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var a=i("4f7c"),s=i("a775"),n=i("9ca7"),r=i("cdfc"),o=i("72e8");function l(t,e,i,l){t=t||10,e=e||10,i=new o["a"](void 0!==i?i:4473924),l=new o["a"](void 0!==l?l:8947848);for(var c=e/2,u=t/e,h=t/2,d=[],p=[],m=0,v=0,f=-h;m<=e;m++,f+=u){d.push(0,-h,f,0,h,f),d.push(0,f,-h,0,f,h);var b=m===c?i:l;b.toArray(p,v),v+=3,b.toArray(p,v),v+=3,b.toArray(p,v),v+=3,b.toArray(p,v),v+=3}var g=new r["a"];g.setAttribute("position",new n["b"](d,3)),g.setAttribute("color",new n["b"](p,3));var y=new s["a"]({vertexColors:!0,toneMapped:!1});a["a"].call(this,g,y),this.type="GridHelper"}l.prototype=Object.assign(Object.create(a["a"].prototype),{constructor:l,copy:function(t){return a["a"].prototype.copy.call(this,t),this.geometry.copy(t.geometry),this.material.copy(t.material),this},clone:function(){return(new this.constructor).copy(this)}})},dfe9:function(t,e,i){"use strict";i.d(e,"a",(function(){return h}));var a=i("c3e9");const s=new a["a"],n=new h,r=new a["a"](0,0,0),o=new a["a"](1,1,1),l=new a["a"],c=new a["a"],u=new a["a"];function h(){this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],arguments.length>0&&console.error("THREE.Matrix4: the constructor no longer reads arguments. use .set() instead.")}Object.assign(h.prototype,{isMatrix4:!0,set:function(t,e,i,a,s,n,r,o,l,c,u,h,d,p,m,v){const f=this.elements;return f[0]=t,f[4]=e,f[8]=i,f[12]=a,f[1]=s,f[5]=n,f[9]=r,f[13]=o,f[2]=l,f[6]=c,f[10]=u,f[14]=h,f[3]=d,f[7]=p,f[11]=m,f[15]=v,this},identity:function(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this},clone:function(){return(new h).fromArray(this.elements)},copy:function(t){const e=this.elements,i=t.elements;return e[0]=i[0],e[1]=i[1],e[2]=i[2],e[3]=i[3],e[4]=i[4],e[5]=i[5],e[6]=i[6],e[7]=i[7],e[8]=i[8],e[9]=i[9],e[10]=i[10],e[11]=i[11],e[12]=i[12],e[13]=i[13],e[14]=i[14],e[15]=i[15],this},copyPosition:function(t){const e=this.elements,i=t.elements;return e[12]=i[12],e[13]=i[13],e[14]=i[14],this},extractBasis:function(t,e,i){return t.setFromMatrixColumn(this,0),e.setFromMatrixColumn(this,1),i.setFromMatrixColumn(this,2),this},makeBasis:function(t,e,i){return this.set(t.x,e.x,i.x,0,t.y,e.y,i.y,0,t.z,e.z,i.z,0,0,0,0,1),this},extractRotation:function(t){const e=this.elements,i=t.elements,a=1/s.setFromMatrixColumn(t,0).length(),n=1/s.setFromMatrixColumn(t,1).length(),r=1/s.setFromMatrixColumn(t,2).length();return e[0]=i[0]*a,e[1]=i[1]*a,e[2]=i[2]*a,e[3]=0,e[4]=i[4]*n,e[5]=i[5]*n,e[6]=i[6]*n,e[7]=0,e[8]=i[8]*r,e[9]=i[9]*r,e[10]=i[10]*r,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this},makeRotationFromEuler:function(t){t&&t.isEuler||console.error("THREE.Matrix4: .makeRotationFromEuler() now expects a Euler rotation rather than a Vector3 and order.");const e=this.elements,i=t.x,a=t.y,s=t.z,n=Math.cos(i),r=Math.sin(i),o=Math.cos(a),l=Math.sin(a),c=Math.cos(s),u=Math.sin(s);if("XYZ"===t.order){const t=n*c,i=n*u,a=r*c,s=r*u;e[0]=o*c,e[4]=-o*u,e[8]=l,e[1]=i+a*l,e[5]=t-s*l,e[9]=-r*o,e[2]=s-t*l,e[6]=a+i*l,e[10]=n*o}else if("YXZ"===t.order){const t=o*c,i=o*u,a=l*c,s=l*u;e[0]=t+s*r,e[4]=a*r-i,e[8]=n*l,e[1]=n*u,e[5]=n*c,e[9]=-r,e[2]=i*r-a,e[6]=s+t*r,e[10]=n*o}else if("ZXY"===t.order){const t=o*c,i=o*u,a=l*c,s=l*u;e[0]=t-s*r,e[4]=-n*u,e[8]=a+i*r,e[1]=i+a*r,e[5]=n*c,e[9]=s-t*r,e[2]=-n*l,e[6]=r,e[10]=n*o}else if("ZYX"===t.order){const t=n*c,i=n*u,a=r*c,s=r*u;e[0]=o*c,e[4]=a*l-i,e[8]=t*l+s,e[1]=o*u,e[5]=s*l+t,e[9]=i*l-a,e[2]=-l,e[6]=r*o,e[10]=n*o}else if("YZX"===t.order){const t=n*o,i=n*l,a=r*o,s=r*l;e[0]=o*c,e[4]=s-t*u,e[8]=a*u+i,e[1]=u,e[5]=n*c,e[9]=-r*c,e[2]=-l*c,e[6]=i*u+a,e[10]=t-s*u}else if("XZY"===t.order){const t=n*o,i=n*l,a=r*o,s=r*l;e[0]=o*c,e[4]=-u,e[8]=l*c,e[1]=t*u+s,e[5]=n*c,e[9]=i*u-a,e[2]=a*u-i,e[6]=r*c,e[10]=s*u+t}return e[3]=0,e[7]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this},makeRotationFromQuaternion:function(t){return this.compose(r,t,o)},lookAt:function(t,e,i){const a=this.elements;return u.subVectors(t,e),0===u.lengthSq()&&(u.z=1),u.normalize(),l.crossVectors(i,u),0===l.lengthSq()&&(1===Math.abs(i.z)?u.x+=1e-4:u.z+=1e-4,u.normalize(),l.crossVectors(i,u)),l.normalize(),c.crossVectors(u,l),a[0]=l.x,a[4]=c.x,a[8]=u.x,a[1]=l.y,a[5]=c.y,a[9]=u.y,a[2]=l.z,a[6]=c.z,a[10]=u.z,this},multiply:function(t,e){return void 0!==e?(console.warn("THREE.Matrix4: .multiply() now only accepts one argument. Use .multiplyMatrices( a, b ) instead."),this.multiplyMatrices(t,e)):this.multiplyMatrices(this,t)},premultiply:function(t){return this.multiplyMatrices(t,this)},multiplyMatrices:function(t,e){const i=t.elements,a=e.elements,s=this.elements,n=i[0],r=i[4],o=i[8],l=i[12],c=i[1],u=i[5],h=i[9],d=i[13],p=i[2],m=i[6],v=i[10],f=i[14],b=i[3],g=i[7],y=i[11],x=i[15],_=a[0],w=a[4],A=a[8],k=a[12],S=a[1],z=a[5],M=a[9],C=a[13],j=a[2],D=a[6],E=a[10],O=a[14],B=a[3],P=a[7],I=a[11],N=a[15];return s[0]=n*_+r*S+o*j+l*B,s[4]=n*w+r*z+o*D+l*P,s[8]=n*A+r*M+o*E+l*I,s[12]=n*k+r*C+o*O+l*N,s[1]=c*_+u*S+h*j+d*B,s[5]=c*w+u*z+h*D+d*P,s[9]=c*A+u*M+h*E+d*I,s[13]=c*k+u*C+h*O+d*N,s[2]=p*_+m*S+v*j+f*B,s[6]=p*w+m*z+v*D+f*P,s[10]=p*A+m*M+v*E+f*I,s[14]=p*k+m*C+v*O+f*N,s[3]=b*_+g*S+y*j+x*B,s[7]=b*w+g*z+y*D+x*P,s[11]=b*A+g*M+y*E+x*I,s[15]=b*k+g*C+y*O+x*N,this},multiplyScalar:function(t){const e=this.elements;return e[0]*=t,e[4]*=t,e[8]*=t,e[12]*=t,e[1]*=t,e[5]*=t,e[9]*=t,e[13]*=t,e[2]*=t,e[6]*=t,e[10]*=t,e[14]*=t,e[3]*=t,e[7]*=t,e[11]*=t,e[15]*=t,this},determinant:function(){const t=this.elements,e=t[0],i=t[4],a=t[8],s=t[12],n=t[1],r=t[5],o=t[9],l=t[13],c=t[2],u=t[6],h=t[10],d=t[14],p=t[3],m=t[7],v=t[11],f=t[15];return p*(+s*o*u-a*l*u-s*r*h+i*l*h+a*r*d-i*o*d)+m*(+e*o*d-e*l*h+s*n*h-a*n*d+a*l*c-s*o*c)+v*(+e*l*u-e*r*d-s*n*u+i*n*d+s*r*c-i*l*c)+f*(-a*r*c-e*o*u+e*r*h+a*n*u-i*n*h+i*o*c)},transpose:function(){const t=this.elements;let e;return e=t[1],t[1]=t[4],t[4]=e,e=t[2],t[2]=t[8],t[8]=e,e=t[6],t[6]=t[9],t[9]=e,e=t[3],t[3]=t[12],t[12]=e,e=t[7],t[7]=t[13],t[13]=e,e=t[11],t[11]=t[14],t[14]=e,this},setPosition:function(t,e,i){const a=this.elements;return t.isVector3?(a[12]=t.x,a[13]=t.y,a[14]=t.z):(a[12]=t,a[13]=e,a[14]=i),this},getInverse:function(t,e){void 0!==e&&console.warn("THREE.Matrix4: .getInverse() can no longer be configured to throw on degenerate.");const i=this.elements,a=t.elements,s=a[0],n=a[1],r=a[2],o=a[3],l=a[4],c=a[5],u=a[6],h=a[7],d=a[8],p=a[9],m=a[10],v=a[11],f=a[12],b=a[13],g=a[14],y=a[15],x=p*g*h-b*m*h+b*u*v-c*g*v-p*u*y+c*m*y,_=f*m*h-d*g*h-f*u*v+l*g*v+d*u*y-l*m*y,w=d*b*h-f*p*h+f*c*v-l*b*v-d*c*y+l*p*y,A=f*p*u-d*b*u-f*c*m+l*b*m+d*c*g-l*p*g,k=s*x+n*_+r*w+o*A;if(0===k)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const S=1/k;return i[0]=x*S,i[1]=(b*m*o-p*g*o-b*r*v+n*g*v+p*r*y-n*m*y)*S,i[2]=(c*g*o-b*u*o+b*r*h-n*g*h-c*r*y+n*u*y)*S,i[3]=(p*u*o-c*m*o-p*r*h+n*m*h+c*r*v-n*u*v)*S,i[4]=_*S,i[5]=(d*g*o-f*m*o+f*r*v-s*g*v-d*r*y+s*m*y)*S,i[6]=(f*u*o-l*g*o-f*r*h+s*g*h+l*r*y-s*u*y)*S,i[7]=(l*m*o-d*u*o+d*r*h-s*m*h-l*r*v+s*u*v)*S,i[8]=w*S,i[9]=(f*p*o-d*b*o-f*n*v+s*b*v+d*n*y-s*p*y)*S,i[10]=(l*b*o-f*c*o+f*n*h-s*b*h-l*n*y+s*c*y)*S,i[11]=(d*c*o-l*p*o-d*n*h+s*p*h+l*n*v-s*c*v)*S,i[12]=A*S,i[13]=(d*b*r-f*p*r+f*n*m-s*b*m-d*n*g+s*p*g)*S,i[14]=(f*c*r-l*b*r-f*n*u+s*b*u+l*n*g-s*c*g)*S,i[15]=(l*p*r-d*c*r+d*n*u-s*p*u-l*n*m+s*c*m)*S,this},scale:function(t){const e=this.elements,i=t.x,a=t.y,s=t.z;return e[0]*=i,e[4]*=a,e[8]*=s,e[1]*=i,e[5]*=a,e[9]*=s,e[2]*=i,e[6]*=a,e[10]*=s,e[3]*=i,e[7]*=a,e[11]*=s,this},getMaxScaleOnAxis:function(){const t=this.elements,e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],i=t[4]*t[4]+t[5]*t[5]+t[6]*t[6],a=t[8]*t[8]+t[9]*t[9]+t[10]*t[10];return Math.sqrt(Math.max(e,i,a))},makeTranslation:function(t,e,i){return this.set(1,0,0,t,0,1,0,e,0,0,1,i,0,0,0,1),this},makeRotationX:function(t){const e=Math.cos(t),i=Math.sin(t);return this.set(1,0,0,0,0,e,-i,0,0,i,e,0,0,0,0,1),this},makeRotationY:function(t){const e=Math.cos(t),i=Math.sin(t);return this.set(e,0,i,0,0,1,0,0,-i,0,e,0,0,0,0,1),this},makeRotationZ:function(t){const e=Math.cos(t),i=Math.sin(t);return this.set(e,-i,0,0,i,e,0,0,0,0,1,0,0,0,0,1),this},makeRotationAxis:function(t,e){const i=Math.cos(e),a=Math.sin(e),s=1-i,n=t.x,r=t.y,o=t.z,l=s*n,c=s*r;return this.set(l*n+i,l*r-a*o,l*o+a*r,0,l*r+a*o,c*r+i,c*o-a*n,0,l*o-a*r,c*o+a*n,s*o*o+i,0,0,0,0,1),this},makeScale:function(t,e,i){return this.set(t,0,0,0,0,e,0,0,0,0,i,0,0,0,0,1),this},makeShear:function(t,e,i){return this.set(1,e,i,0,t,1,i,0,t,e,1,0,0,0,0,1),this},compose:function(t,e,i){const a=this.elements,s=e._x,n=e._y,r=e._z,o=e._w,l=s+s,c=n+n,u=r+r,h=s*l,d=s*c,p=s*u,m=n*c,v=n*u,f=r*u,b=o*l,g=o*c,y=o*u,x=i.x,_=i.y,w=i.z;return a[0]=(1-(m+f))*x,a[1]=(d+y)*x,a[2]=(p-g)*x,a[3]=0,a[4]=(d-y)*_,a[5]=(1-(h+f))*_,a[6]=(v+b)*_,a[7]=0,a[8]=(p+g)*w,a[9]=(v-b)*w,a[10]=(1-(h+m))*w,a[11]=0,a[12]=t.x,a[13]=t.y,a[14]=t.z,a[15]=1,this},decompose:function(t,e,i){const a=this.elements;let r=s.set(a[0],a[1],a[2]).length(),o=s.set(a[4],a[5],a[6]).length(),l=s.set(a[8],a[9],a[10]).length();const c=this.determinant();c<0&&(r=-r),t.x=a[12],t.y=a[13],t.z=a[14],n.copy(this);const u=1/r,h=1/o,d=1/l;return n.elements[0]*=u,n.elements[1]*=u,n.elements[2]*=u,n.elements[4]*=h,n.elements[5]*=h,n.elements[6]*=h,n.elements[8]*=d,n.elements[9]*=d,n.elements[10]*=d,e.setFromRotationMatrix(n),i.x=r,i.y=o,i.z=l,this},makePerspective:function(t,e,i,a,s,n){void 0===n&&console.warn("THREE.Matrix4: .makePerspective() has been redefined and has a new signature. Please check the docs.");const r=this.elements,o=2*s/(e-t),l=2*s/(i-a),c=(e+t)/(e-t),u=(i+a)/(i-a),h=-(n+s)/(n-s),d=-2*n*s/(n-s);return r[0]=o,r[4]=0,r[8]=c,r[12]=0,r[1]=0,r[5]=l,r[9]=u,r[13]=0,r[2]=0,r[6]=0,r[10]=h,r[14]=d,r[3]=0,r[7]=0,r[11]=-1,r[15]=0,this},makeOrthographic:function(t,e,i,a,s,n){const r=this.elements,o=1/(e-t),l=1/(i-a),c=1/(n-s),u=(e+t)*o,h=(i+a)*l,d=(n+s)*c;return r[0]=2*o,r[4]=0,r[8]=0,r[12]=-u,r[1]=0,r[5]=2*l,r[9]=0,r[13]=-h,r[2]=0,r[6]=0,r[10]=-2*c,r[14]=-d,r[3]=0,r[7]=0,r[11]=0,r[15]=1,this},equals:function(t){const e=this.elements,i=t.elements;for(let a=0;a<16;a++)if(e[a]!==i[a])return!1;return!0},fromArray:function(t,e){void 0===e&&(e=0);for(let i=0;i<16;i++)this.elements[i]=t[i+e];return this},toArray:function(t,e){void 0===t&&(t=[]),void 0===e&&(e=0);const i=this.elements;return t[e]=i[0],t[e+1]=i[1],t[e+2]=i[2],t[e+3]=i[3],t[e+4]=i[4],t[e+5]=i[5],t[e+6]=i[6],t[e+7]=i[7],t[e+8]=i[8],t[e+9]=i[9],t[e+10]=i[10],t[e+11]=i[11],t[e+12]=i[12],t[e+13]=i[13],t[e+14]=i[14],t[e+15]=i[15],t}})},e176:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAFaklEQVRYR82Ye0jUWRTHvz9ny2egyFY+MGMFHR9pi5RbbmuutYGwSIWihu/JUVCJIF+UUpJC7/Axo4EaErkUBc3CrM+YpVzmjyAVsVqa6OEDX+H6GEbrt5wLM5uP0Rl/P90uDMzM79xzPvfc3zn33MPhi8HzPKdQKH6SSCQ/8zy/9ctnG/D9H57n/7K1tVWlpqbqjfY44xelUvkdgN9cXV2/37FjBxwdHTeA6T8TBoMB79+/x4cPHwZ4nk+Sy+Xt9JQB1tTUeEskEu3+/fu/9ff331CwxcYGBgbQ1tY2r9frozMzM1sYoFKpbA0LC4vatWvX/wpnND40NIRHjx4Nz83N+XC1tbUBTk5OvXFxcbCxsfkqAAmitbUVOp1OximVyiw/P7/qAwcOCIajlXd0dKC3txfj4+Nswdu2bUNQUBAiIyPh7OxssY0XL17g8ePHDQRYEBISUr5nzx6LJy8WHBsbQ3V1NV6/fo1Dhw4hNDQU27dvB8/z9NKjq6sL7e3tCA8PR0pKChwcHFa19fbtW6jV6t8FA5K3KioqkJaWhoMHD4LjTIlhAcSnT59w//59qFQqlJeXw8PDY0VIUQD7+vpw4cIFXL16FW5ubqt6hQRoQefPn0dlZSW2bjWfagUDUt6i7SLveXl5WQRnFHr69CmamppQVVVl1uOCAe/cuYP5+XkkJSVZBWcUJi9SYEZERCw7XzBgYmIibt26BXt7+2UNaLVatoB9+/Yt+5wC6sqVK8yLyw1BgKS8traWba+5Qc+mpqZQVlZmViY+Ph719fWws7NbIiMIUK1WY3BwEKmpqYIAz507B9oJX19fcQHv3bvHFB4/fnyB4pGREdCJREOv17M8aHwF7t69uyRqL126hKioKOzevVtcQMplw8PDSE9PX6CY3rlnz56x/whodnbW5OWQkBBs3rx5gfzZs2eRnJwMHx8fcQF7enrw4MED0BYJeQcpTVE+dHJyEheQPJWQkMC8ZK7AWOzBxQSjo6M4ffo0GhsbxY9i0njt2jUEBATg8OHDa8qD5Dk6fY4dO7Y+gJOTk8jMzGTpZsuWLVZBUgopKChAQ0PDkvfSqEhQmjEq0Wg0aG5uZmexra2tRZBU+Zw6dQqFhYWQSqVm54gCSNplMhnm5uZw8eJFuLu7rwhpLC4IcLXyThTAlpYWFBUVMSjyYExMDKKjo+Hn52cKHoJ//vw5Hj58CMqTxcXFFhUXggDJaElJCd68ecM+VNlQsj1x4gRdePDq1SsGTRFO9SFt5ZEjR1gha+kQBEgngIuLCzIyMvDy5UtWrFJa8fT0tNT+qnJrBqRTpLOzE5cvX2be+fjxI86cOcOiWcyxJsD+/n5WQSuVSlP2J28GBwevOR+aW5TVgBMTE8jKymL3iZ07dzK9Op2O/SZgc3eRtXrVKsDPnz8jJyeHZX26PhpHbm4u5HI51qMbYRXgjRs3sGnTJmRnZ5vgnjx5wi7XpaWla3XSivMsBiRBuj9QEBgLAyoWKHIpUFa6mQkhtxiQyvvr16/j5s2bJnuUUqanp5fUg0KAFs+1GJAm5uXlsRvY0aNHQe0NKpNWOujFALUKcGZmhhUE3d3dkEgkyM/PB1XI6zlMgAqFQi6VSmvEaB6JCUw5V6PR1HN1dXVSe3v7ProCfk3tNypEdDpdGuv0KBQK9d69e39Z722z1MPUZVWpVIMAfBhgXV2dJ8/z2rCwMLfAwEDRTwVLwUju3bt31GM0GAyGX0+ePPmHqVdGfWqO4267uLj86O3tzc5asY+vlUDpikpN9KGhob9tbGzSZDLZnyS/pJmnUCh+4Dgukud5d47jvrFm9QJlhzmO0zo7O7fExsYajLr+BRcqHwJkgOEjAAAAAElFTkSuQmCC"},e31c:function(t,e,i){},e3d9:function(t,e,i){"use strict";var a=i("5a89"),s={},n=void 0,r=s;
- /** @license zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License */function o(t,e){var i,a=t.split("."),s=r;!(a[0]in s)&&s.execScript&&s.execScript("var "+a[0]);for(;a.length&&(i=a.shift());)a.length||e===n?s=s[i]?s[i]:s[i]={}:s[i]=e}var l="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Uint32Array&&"undefined"!==typeof DataView;function c(t){var e,i,a,s,n,r,o,c,u,h,d=t.length,p=0,m=Number.POSITIVE_INFINITY;for(c=0;c<d;++c)t[c]>p&&(p=t[c]),t[c]<m&&(m=t[c]);for(e=1<<p,i=new(l?Uint32Array:Array)(e),a=1,s=0,n=2;a<=p;){for(c=0;c<d;++c)if(t[c]===a){for(r=0,o=s,u=0;u<a;++u)r=r<<1|1&o,o>>=1;for(h=a<<16|c,u=r;u<e;u+=n)i[u]=h;++s}++a,s<<=1,n<<=1}return[i,p,m]}function u(t,e){switch(this.g=[],this.h=32768,this.d=this.f=this.a=this.l=0,this.input=l?new Uint8Array(t):t,this.m=!1,this.i=d,this.r=!1,!e&&(e={})||(e.index&&(this.a=e.index),e.bufferSize&&(this.h=e.bufferSize),e.bufferType&&(this.i=e.bufferType),e.resize&&(this.r=e.resize)),this.i){case h:this.b=32768,this.c=new(l?Uint8Array:Array)(32768+this.h+258);break;case d:this.b=0,this.c=new(l?Uint8Array:Array)(this.h),this.e=this.z,this.n=this.v,this.j=this.w;break;default:throw Error("invalid inflate mode")}}var h=0,d=1,p={t:h,s:d};u.prototype.k=function(){for(;!this.m;){var t=O(this,3);switch(1&t&&(this.m=!0),t>>>=1,t){case 0:var e=this.input,i=this.a,a=this.c,s=this.b,r=e.length,o=n,u=n,p=a.length,m=n;if(this.d=this.f=0,i+1>=r)throw Error("invalid uncompressed block header: LEN");if(o=e[i++]|e[i++]<<8,i+1>=r)throw Error("invalid uncompressed block header: NLEN");if(u=e[i++]|e[i++]<<8,o===~u)throw Error("invalid uncompressed block header: length verify");if(i+o>e.length)throw Error("input buffer is broken");switch(this.i){case h:for(;s+o>a.length;){if(m=p-s,o-=m,l)a.set(e.subarray(i,i+m),s),s+=m,i+=m;else for(;m--;)a[s++]=e[i++];this.b=s,a=this.e(),s=this.b}break;case d:for(;s+o>a.length;)a=this.e({p:2});break;default:throw Error("invalid inflate mode")}if(l)a.set(e.subarray(i,i+o),s),s+=o,i+=o;else for(;o--;)a[s++]=e[i++];this.a=i,this.b=s,this.c=a;break;case 1:this.j(j,E);break;case 2:var v=O(this,5)+257,f=O(this,5)+1,g=O(this,4)+4,y=new(l?Uint8Array:Array)(b.length),x=n,_=n,w=n,A=n,k=n,S=n,z=n,M=n,C=n;for(M=0;M<g;++M)y[b[M]]=O(this,3);if(!l)for(M=g,g=y.length;M<g;++M)y[b[M]]=0;for(x=c(y),A=new(l?Uint8Array:Array)(v+f),M=0,C=v+f;M<C;)switch(k=B(this,x),k){case 16:for(z=3+O(this,2);z--;)A[M++]=S;break;case 17:for(z=3+O(this,3);z--;)A[M++]=0;S=0;break;case 18:for(z=11+O(this,7);z--;)A[M++]=0;S=0;break;default:S=A[M++]=k}_=c(l?A.subarray(0,v):A.slice(0,v)),w=c(l?A.subarray(v):A.slice(v)),this.j(_,w);break;default:throw Error("unknown BTYPE: "+t)}}return this.n()};var m,v,f=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],b=l?new Uint16Array(f):f,g=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,258,258],y=l?new Uint16Array(g):g,x=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0],_=l?new Uint8Array(x):x,w=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],A=l?new Uint16Array(w):w,k=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],S=l?new Uint8Array(k):k,z=new(l?Uint8Array:Array)(288);for(m=0,v=z.length;m<v;++m)z[m]=143>=m?8:255>=m?9:279>=m?7:8;var M,C,j=c(z),D=new(l?Uint8Array:Array)(30);for(M=0,C=D.length;M<C;++M)D[M]=5;var E=c(D);function O(t,e){for(var i,a=t.f,s=t.d,n=t.input,r=t.a,o=n.length;s<e;){if(r>=o)throw Error("input buffer is broken");a|=n[r++]<<s,s+=8}return i=a&(1<<e)-1,t.f=a>>>e,t.d=s-e,t.a=r,i}function B(t,e){for(var i,a,s=t.f,n=t.d,r=t.input,o=t.a,l=r.length,c=e[0],u=e[1];n<u&&!(o>=l);)s|=r[o++]<<n,n+=8;if(i=c[s&(1<<u)-1],a=i>>>16,a>n)throw Error("invalid code length: "+a);return t.f=s>>a,t.d=n-a,t.a=o,65535&i}function P(t,e){var i,a;switch(this.input=t,this.a=0,!e&&(e={})||(e.index&&(this.a=e.index),e.verify&&(this.A=e.verify)),i=t[this.a++],a=t[this.a++],15&i){case I:this.method=I;break;default:throw Error("unsupported compression method")}if(0!==((i<<8)+a)%31)throw Error("invalid fcheck flag:"+((i<<8)+a)%31);if(32&a)throw Error("fdict flag is not supported");this.q=new u(t,{index:this.a,bufferSize:e.bufferSize,bufferType:e.bufferType,resize:e.resize})}u.prototype.j=function(t,e){var i=this.c,a=this.b;this.o=t;for(var s,n,r,o,l=i.length-258;256!==(s=B(this,t));)if(256>s)a>=l&&(this.b=a,i=this.e(),a=this.b),i[a++]=s;else for(n=s-257,o=y[n],0<_[n]&&(o+=O(this,_[n])),s=B(this,e),r=A[s],0<S[s]&&(r+=O(this,S[s])),a>=l&&(this.b=a,i=this.e(),a=this.b);o--;)i[a]=i[a++-r];for(;8<=this.d;)this.d-=8,this.a--;this.b=a},u.prototype.w=function(t,e){var i=this.c,a=this.b;this.o=t;for(var s,n,r,o,l=i.length;256!==(s=B(this,t));)if(256>s)a>=l&&(i=this.e(),l=i.length),i[a++]=s;else for(n=s-257,o=y[n],0<_[n]&&(o+=O(this,_[n])),s=B(this,e),r=A[s],0<S[s]&&(r+=O(this,S[s])),a+o>l&&(i=this.e(),l=i.length);o--;)i[a]=i[a++-r];for(;8<=this.d;)this.d-=8,this.a--;this.b=a},u.prototype.e=function(){var t,e,i=new(l?Uint8Array:Array)(this.b-32768),a=this.b-32768,s=this.c;if(l)i.set(s.subarray(32768,i.length));else for(t=0,e=i.length;t<e;++t)i[t]=s[t+32768];if(this.g.push(i),this.l+=i.length,l)s.set(s.subarray(a,a+32768));else for(t=0;32768>t;++t)s[t]=s[a+t];return this.b=32768,s},u.prototype.z=function(t){var e,i,a,s,n=this.input.length/this.a+1|0,r=this.input,o=this.c;return t&&("number"===typeof t.p&&(n=t.p),"number"===typeof t.u&&(n+=t.u)),2>n?(i=(r.length-this.a)/this.o[2],s=i/2*258|0,a=s<o.length?o.length+s:o.length<<1):a=o.length*n,l?(e=new Uint8Array(a),e.set(o)):e=o,this.c=e},u.prototype.n=function(){var t,e,i,a,s,n=0,r=this.c,o=this.g,c=new(l?Uint8Array:Array)(this.l+(this.b-32768));if(0===o.length)return l?this.c.subarray(32768,this.b):this.c.slice(32768,this.b);for(e=0,i=o.length;e<i;++e)for(t=o[e],a=0,s=t.length;a<s;++a)c[n++]=t[a];for(e=32768,i=this.b;e<i;++e)c[n++]=r[e];return this.g=[],this.buffer=c},u.prototype.v=function(){var t,e=this.b;return l?this.r?(t=new Uint8Array(e),t.set(this.c.subarray(0,e))):t=this.c.subarray(0,e):(this.c.length>e&&(this.c.length=e),t=this.c),this.buffer=t},P.prototype.k=function(){var t,e,i=this.input;if(t=this.q.k(),this.a=this.q.a,this.A){e=(i[this.a++]<<24|i[this.a++]<<16|i[this.a++]<<8|i[this.a++])>>>0;var a=t;if("string"===typeof a){var s,n,r=a.split("");for(s=0,n=r.length;s<n;s++)r[s]=(255&r[s].charCodeAt(0))>>>0;a=r}for(var o,l=1,c=0,u=a.length,h=0;0<u;){o=1024<u?1024:u,u-=o;do{l+=a[h++],c+=l}while(--o);l%=65521,c%=65521}if(e!==(c<<16|l)>>>0)throw Error("invalid adler-32 checksum")}return t};var I=8;o("Zlib.Inflate",P),o("Zlib.Inflate.prototype.decompress",P.prototype.k);var N,T,R,L,F={ADAPTIVE:p.s,BLOCK:p.t};if(Object.keys)N=Object.keys(F);else for(T in N=[],R=0,F)N[R++]=T;for(R=0,L=N.length;R<L;++R)T=N[R],o("Zlib.Inflate.BufferType."+T,F[T]);var U=s.Zlib,V=function(t){a["B"].call(this,t)};V.prototype=Object.assign(Object.create(a["B"].prototype),{constructor:V,load:function(t,e,i,s){var n=this,r=new a["s"](n.manager);r.setPath(n.path),r.setResponseType("arraybuffer"),r.load(t,(function(i){try{e(n.parse(i))}catch(a){s?s(a):console.error(a),n.manager.itemError(t)}}),i,s)},parse:function(t){function e(t){var e,i=[],s=[],n=[],r=[],o=/^[^\d.\s-]+/,l=/(\-?\d+\.?[\d\-\+e]*)\s+(\-?\d+\.?[\d\-\+e]*)\s+(\-?\d+\.?[\d\-\+e]*)/g,c=/^(\d+)\s+([\s\d]*)/,u=/^POINTS /,h=/^POLYGONS /,d=/^TRIANGLE_STRIPS /,p=/^POINT_DATA[ ]+(\d+)/,m=/^CELL_DATA[ ]+(\d+)/,v=/^COLOR_SCALARS[ ]+(\w+)[ ]+3/,f=/^NORMALS[ ]+(\w+)[ ]+(\w+)/,b=!1,g=!1,y=!1,x=!1,_=!1,w=!1,A=!1,k=t.split("\n");for(var S in k){var z=k[S].trim();if(0===z.indexOf("DATASET")){var M=z.split(" ")[1];if("POLYDATA"!==M)throw new Error("Unsupported DATASET type: "+M)}else if(b)while(null!==(e=l.exec(z))){if(null!==o.exec(z))break;var C=parseFloat(e[1]),j=parseFloat(e[2]),D=parseFloat(e[3]);s.push(C,j,D)}else if(g){if(null!==(e=c.exec(z))){var E=parseInt(e[1]),O=e[2].split(/\s+/);if(E>=3)for(var B=parseInt(O[0]),P=1,I=0;I<E-2;++I)N=parseInt(O[P]),T=parseInt(O[P+1]),i.push(B,N,T),P++}}else if(y){if(null!==(e=c.exec(z))){E=parseInt(e[1]),O=e[2].split(/\s+/);if(E>=3){var N,T;for(I=0;I<E-2;I++)I%2===1?(B=parseInt(O[I]),N=parseInt(O[I+2]),T=parseInt(O[I+1]),i.push(B,N,T)):(B=parseInt(O[I]),N=parseInt(O[I+1]),T=parseInt(O[I+2]),i.push(B,N,T))}}}else if(x||_)if(w)while(null!==(e=l.exec(z))){if(null!==o.exec(z))break;var R=parseFloat(e[1]),L=parseFloat(e[2]),F=parseFloat(e[3]);n.push(R,L,F)}else if(A)while(null!==(e=l.exec(z))){if(null!==o.exec(z))break;var U=parseFloat(e[1]),V=parseFloat(e[2]),Y=parseFloat(e[3]);r.push(U,V,Y)}null!==h.exec(z)?(g=!0,b=!1,y=!1):null!==u.exec(z)?(g=!1,b=!0,y=!1):null!==d.exec(z)?(g=!1,b=!1,y=!0):null!==p.exec(z)?(x=!0,b=!1,g=!1,y=!1):null!==m.exec(z)?(_=!0,b=!1,g=!1,y=!1):null!==v.exec(z)?(w=!0,A=!1,b=!1,g=!1,y=!1):null!==f.exec(z)&&(A=!0,w=!1,b=!1,g=!1,y=!1)}var G=new a["h"];if(G.setIndex(i),G.setAttribute("position",new a["t"](s,3)),r.length===s.length&&G.setAttribute("normal",new a["t"](r,3)),n.length!==i.length)n.length===s.length&&G.setAttribute("color",new a["t"](n,3));else{G=G.toNonIndexed();var W=G.attributes.position.count/3;if(n.length===3*W){var q=[];for(S=0;S<W;S++){R=n[3*S+0],L=n[3*S+1],F=n[3*S+2];q.push(R,L,F),q.push(R,L,F),q.push(R,L,F)}G.setAttribute("color",new a["t"](q,3))}}return G}function i(t){var e,i,s,n,r,o,l,c=new Uint8Array(t),u=new DataView(t),h=[],d=[],p=[],m=[],v=0;function f(t,e){var i=e,a=t[i],s=[];while(10!==a)s.push(String.fromCharCode(a)),i++,a=t[i];return{start:e,end:i,next:i+1,parsedString:s.join("")}}while(1){if(o=f(c,v),l=o.parsedString,0===l.indexOf("DATASET")){var b=l.split(" ")[1];if("POLYDATA"!==b)throw new Error("Unsupported DATASET type: "+b)}else if(0===l.indexOf("POINTS")){for(m.push(l),n=parseInt(l.split(" ")[1],10),e=4*n*3,h=new Float32Array(3*n),i=o.next,s=0;s<n;s++)h[3*s]=u.getFloat32(i,!1),h[3*s+1]=u.getFloat32(i+4,!1),h[3*s+2]=u.getFloat32(i+8,!1),i+=12;o.next=o.next+e+1}else if(0===l.indexOf("TRIANGLE_STRIPS")){var g=parseInt(l.split(" ")[1],10),y=parseInt(l.split(" ")[2],10);e=4*y,p=new Uint32Array(3*y-9*g);var x=0;for(i=o.next,s=0;s<g;s++){var _=u.getInt32(i,!1),w=[];for(i+=4,r=0;r<_;r++)w.push(u.getInt32(i,!1)),i+=4;for(var A=0;A<_-2;A++)A%2?(p[x++]=w[A],p[x++]=w[A+2],p[x++]=w[A+1]):(p[x++]=w[A],p[x++]=w[A+1],p[x++]=w[A+2])}o.next=o.next+e+1}else if(0===l.indexOf("POLYGONS")){g=parseInt(l.split(" ")[1],10),y=parseInt(l.split(" ")[2],10);e=4*y,p=new Uint32Array(3*y-9*g);x=0;for(i=o.next,s=0;s<g;s++){_=u.getInt32(i,!1),w=[];for(i+=4,r=0;r<_;r++)w.push(u.getInt32(i,!1)),i+=4;for(A=1;A<_-1;A++)p[x++]=w[0],p[x++]=w[A],p[x++]=w[A+1]}o.next=o.next+e+1}else if(0===l.indexOf("POINT_DATA")){for(n=parseInt(l.split(" ")[1],10),o=f(c,o.next),e=4*n*3,d=new Float32Array(3*n),i=o.next,s=0;s<n;s++)d[3*s]=u.getFloat32(i,!1),d[3*s+1]=u.getFloat32(i+4,!1),d[3*s+2]=u.getFloat32(i+8,!1),i+=12;o.next=o.next+e}if(v=o.next,v>=c.byteLength)break}var k=new a["h"];return k.setIndex(new a["g"](p,1)),k.setAttribute("position",new a["g"](h,3)),d.length===h.length&&k.setAttribute("normal",new a["g"](d,3)),k}function s(t,e){var i=t.length,a=new Float32Array(i+e.length);return a.set(t),a.set(e,i),a}function n(t,e){var i=t.length,a=new Int32Array(i+e.length);return a.set(t),a.set(e,i),a}function r(t){function e(t){var i={};if(1===t.nodeType){if(t.attributes&&t.attributes.length>0){i["attributes"]={};for(var a=0;a<t.attributes.length;a++){var s=t.attributes.item(a);i["attributes"][s.nodeName]=s.nodeValue.trim()}}}else 3===t.nodeType&&(i=t.nodeValue.trim());if(t.hasChildNodes())for(var n=0;n<t.childNodes.length;n++){var r=t.childNodes.item(n),o=r.nodeName;if("undefined"===typeof i[o]){var l=e(r);""!==l&&(i[o]=l)}else{if("undefined"===typeof i[o].push){var c=i[o];i[o]=[c]}l=e(r);""!==l&&i[o].push(l)}}return i}function i(t){var e,i,a,s,n,r,o="undefined"!==typeof Uint8Array?Uint8Array:Array,l=[],c=[],u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=u.length;for(e=0;e<h;e++)l[e]=u[e];for(e=0;e<h;++e)c[u.charCodeAt(e)]=e;c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63;h=t.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");n="="===t[h-2]?2:"="===t[h-1]?1:0,r=new o(3*h/4-n),a=n>0?h-4:h;var d=0;for(e=0,i=0;e<a;e+=4,i+=3)s=c[t.charCodeAt(e)]<<18|c[t.charCodeAt(e+1)]<<12|c[t.charCodeAt(e+2)]<<6|c[t.charCodeAt(e+3)],r[d++]=(16711680&s)>>16,r[d++]=(65280&s)>>8,r[d++]=255&s;return 2===n?(s=c[t.charCodeAt(e)]<<2|c[t.charCodeAt(e+1)]>>4,r[d++]=255&s):1===n&&(s=c[t.charCodeAt(e)]<<10|c[t.charCodeAt(e+1)]<<4|c[t.charCodeAt(e+2)]>>2,r[d++]=s>>8&255,r[d++]=255&s),r}function r(t,e){var a=0;if("UInt64"===c.attributes.header_type?a=8:"UInt32"===c.attributes.header_type&&(a=4),"binary"===t.attributes.format&&e){var r,o,l,u,h,d,p,m;if("Float32"===t.attributes.type)var v=new Float32Array;else if("Int64"===t.attributes.type)v=new Int32Array;r=t["#text"],o=i(r),l=o[0];for(var f=1;f<a-1;f++)l|=o[f]<<f*a;h=(l+3)*a,d=h%3>0?3-h%3:0,h+=d,p=[],m=h,p.push(m),u=3*a;for(f=0;f<l;f++){for(var b=o[f*a+u],g=1;g<a-1;g++)b|=o[f*a+u+g]<<8*g;m+=b,p.push(m)}for(f=0;f<p.length-1;f++){var y=new U.Inflate(o.slice(p[f],p[f+1]),{resize:!0,verify:!0});x=y.decompress(),x=x.buffer,"Float32"===t.attributes.type?(x=new Float32Array(x),v=s(v,x)):"Int64"===t.attributes.type&&(x=new Int32Array(x),v=n(v,x))}delete t["#text"],"Int64"===t.attributes.type&&"binary"===t.attributes.format&&(v=v.filter((function(t,e){if(e%2!==1)return!0})))}else{if("binary"!==t.attributes.format||e)if(t["#text"])x=t["#text"].split(/\s+/).filter((function(t){if(""!==t)return t}));else x=new Int32Array(0).buffer;else{var x=i(t["#text"]);x=x.slice(a).buffer}if(delete t["#text"],"Float32"===t.attributes.type)v=new Float32Array(x);else if("Int32"===t.attributes.type)v=new Int32Array(x);else if("Int64"===t.attributes.type){v=new Int32Array(x);"binary"===t.attributes.format&&(v=v.filter((function(t,e){if(e%2!==1)return!0})))}}return v}var o=null;if(window.DOMParser)try{o=(new DOMParser).parseFromString(t,"text/xml")}catch(V){o=null}else{if(!window.ActiveXObject)throw new Error("Cannot parse xml string!");try{if(o=new ActiveXObject("Microsoft.XMLDOM"),o.async=!1,!o.loadXML())throw new Error(o.parseError.reason+o.parseError.srcText)}catch(V){o=null}}var l=o.documentElement,c=e(l),u=[],h=[],d=[];if(c.PolyData){var p=c.PolyData.Piece,m=c.attributes.hasOwnProperty("compressor"),v=["PointData","Points","Strips","Polys"],f=0,b=v.length;while(f<b){var g=p[v[f]];if(g&&g.DataArray){if("[object Array]"===Object.prototype.toString.call(g.DataArray))var y=g.DataArray;else y=[g.DataArray];var x=0,_=y.length;while(x<_)"#text"in y[x]&&y[x]["#text"].length>0&&(y[x].text=r(y[x],m)),x++;switch(v[f]){case"PointData":var w=parseInt(p.attributes.NumberOfPoints),A=g.attributes.Normals;if(w>0)for(var k=0,S=y.length;k<S;k++)if(A===y[k].attributes.Name){var z=y[k].attributes.NumberOfComponents;h=new Float32Array(w*z),h.set(y[k].text,0)}break;case"Points":w=parseInt(p.attributes.NumberOfPoints);if(w>0){z=g.DataArray.attributes.NumberOfComponents;u=new Float32Array(w*z),u.set(g.DataArray.text,0)}break;case"Strips":var M=parseInt(p.attributes.NumberOfStrips);if(M>0){var C=new Int32Array(g.DataArray[0].text.length),j=new Int32Array(g.DataArray[1].text.length);C.set(g.DataArray[0].text,0),j.set(g.DataArray[1].text,0);var D=M+C.length;d=new Uint32Array(3*D-9*M);var E=0;for(k=0,S=M;k<S;k++){for(var O=[],B=0,P=j[k],I=0;B<P-I;B++)O.push(C[B]),k>0&&(I=j[k-1]);var N=0;for(P=j[k],I=0;N<P-I-2;N++)N%2?(d[E++]=O[N],d[E++]=O[N+2],d[E++]=O[N+1]):(d[E++]=O[N],d[E++]=O[N+1],d[E++]=O[N+2]),k>0&&(I=j[k-1])}}break;case"Polys":var T=parseInt(p.attributes.NumberOfPolys);if(T>0){C=new Int32Array(g.DataArray[0].text.length),j=new Int32Array(g.DataArray[1].text.length);C.set(g.DataArray[0].text,0),j.set(g.DataArray[1].text,0);D=T+C.length;d=new Uint32Array(3*D-9*T);E=0;var R=0;k=0,S=T,I=0;while(k<S){var L=[];B=0,P=j[k];while(B<P-I)L.push(C[R++]),B++;N=1;while(N<P-I-1)d[E++]=L[0],d[E++]=L[N],d[E++]=L[N+1],N++;k++,I=j[k-1]}}break;default:break}}f++}var F=new a["h"];return F.setIndex(new a["g"](d,1)),F.setAttribute("position",new a["g"](u,3)),h.length===u.length&&F.setAttribute("normal",new a["g"](h,3)),F}throw new Error("Unsupported DATASET type")}function o(t){var e="",i=new Uint8Array(t),a=0,s=i.length;while(s--)e+=String.fromCharCode(i[a++]);return e}var l=a["C"].decodeText(new Uint8Array(t,0,250)).split("\n");return-1!==l[0].indexOf("xml")?r(o(t)):l[2].includes("ASCII")?e(o(t)):i(t)}})},e9d7:function(t,e,i){"use strict";i.d(e,"d",(function(){return a})),i.d(e,"c",(function(){return s})),i.d(e,"g",(function(){return n})),i.d(e,"a",(function(){return r})),i.d(e,"i",(function(){return o})),i.d(e,"h",(function(){return l})),i.d(e,"f",(function(){return c})),i.d(e,"e",(function(){return u})),i.d(e,"b",(function(){return h})),i.d(e,"j",(function(){return d}));const a=0,s=1,n=1,r=100,o=204,l=205,c=3,u=7680,h=519,d=35044},f087:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var a=i("fd5f"),s=i("c3e9");const n=new a["a"];function r(t,e){this.center=void 0!==t?t:new s["a"],this.radius=void 0!==e?e:-1}Object.assign(r.prototype,{set:function(t,e){return this.center.copy(t),this.radius=e,this},setFromPoints:function(t,e){const i=this.center;void 0!==e?i.copy(e):n.setFromPoints(t).getCenter(i);let a=0;for(let s=0,n=t.length;s<n;s++)a=Math.max(a,i.distanceToSquared(t[s]));return this.radius=Math.sqrt(a),this},clone:function(){return(new this.constructor).copy(this)},copy:function(t){return this.center.copy(t.center),this.radius=t.radius,this},isEmpty:function(){return this.radius<0},makeEmpty:function(){return this.center.set(0,0,0),this.radius=-1,this},containsPoint:function(t){return t.distanceToSquared(this.center)<=this.radius*this.radius},distanceToPoint:function(t){return t.distanceTo(this.center)-this.radius},intersectsSphere:function(t){const e=this.radius+t.radius;return t.center.distanceToSquared(this.center)<=e*e},intersectsBox:function(t){return t.intersectsSphere(this)},intersectsPlane:function(t){return Math.abs(t.distanceToPoint(this.center))<=this.radius},clampPoint:function(t,e){const i=this.center.distanceToSquared(t);return void 0===e&&(console.warn("THREE.Sphere: .clampPoint() target is now required"),e=new s["a"]),e.copy(t),i>this.radius*this.radius&&(e.sub(this.center).normalize(),e.multiplyScalar(this.radius).add(this.center)),e},getBoundingBox:function(t){return void 0===t&&(console.warn("THREE.Sphere: .getBoundingBox() target is now required"),t=new a["a"]),this.isEmpty()?(t.makeEmpty(),t):(t.set(this.center,this.center),t.expandByScalar(this.radius),t)},applyMatrix4:function(t){return this.center.applyMatrix4(t),this.radius=this.radius*t.getMaxScaleOnAxis(),this},translate:function(t){return this.center.add(t),this},equals:function(t){return t.center.equals(this.center)&&t.radius===this.radius}})},f1b4:function(t,e,i){"use strict";var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("li",[i("el-button",{staticClass:"lg-more",staticStyle:{bottom:"-39px",left:"20%"},attrs:{size:"mini",icon:"el-icon-arrow-down"},on:{click:function(e){return t.dialogAll()}}},[t._v("Check/Reset Coeffs fos All Gases")])],1),t._v(" "),i("el-dialog",{staticClass:"dialog lg-dialog-2",attrs:{"close-on-click-modal":!1,title:"Hole-Cutter Define",width:"40%",visible:t.dialog.Coeffs_fos},on:{"update:visible":function(e){return t.$set(t.dialog,"Coeffs_fos",e)}}},[i("div",[i("el-form",[i("el-form-item",{staticClass:"text-center"},[i("span",[t._v("Number of Species:")]),t._v(" "),i("div",{staticClass:"btn_content"},[i("div",{staticClass:"btn_number jian",on:{click:t.deleteAll}},[t._v("-")]),t._v(" "),i("el-input",{staticClass:"nubtnm",attrs:{readonly:"readonly"},model:{value:t.parameterObj.vargam.igam,callback:function(e){t.$set(t.parameterObj.vargam,"igam",e)},expression:"parameterObj.vargam.igam"}}),t._v(" "),i("div",{staticClass:"btn_number add",on:{click:t.addAll}},[t._v("+")])],1)]),t._v(" "),i("div",{staticClass:"coeffs_right"},[i("el-table",{staticStyle:{width:"100%"},attrs:{data:t.loginfo.students,border:""}},[i("el-table-column",{attrs:{prop:"name",width:"215",align:"center",label:"Gas#",fixed:""}}),t._v(" "),t._l(this.parameterObj.vargam.scinf,(function(e,a){return[i("el-table-column",{key:a,attrs:{"show-overflow-tooltip":!0,label:a+"",width:"100",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-input",{attrs:{type:"number",pattern:"[0-9]*",maxlength:13,precision:2,step:.1},model:{value:e.row.list[a],callback:function(i){t.$set(e.row.list,a,"string"===typeof i?i.trim():i)},expression:"scope.row.list[i] "}})]}}],null,!0)})]}))],2)],1)],1)],1),t._v(" "),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:t.DefineAll}},[t._v("Ok")]),t._v(" "),i("el-button",{on:{click:function(e){t.dialog.Coeffs_fos=!1}}},[t._v("Cancel")])],1)])],1)},s=[],n=(i("ac6a"),i("5c96"),i("5a89")),r=(i("b719"),new n["s"],{data:function(){return{loginfo:{students:[],dateList:["1"],globalcheck:!1},parameterObj:{vargam:{ht1:"",ht2:"",igam:"2",alt2:[1,2,1,2],alt1:[1,2,1,2],alt4:[1,2,1,2],alt3:[1,2,1,2],alt0:[3.5,3.5,3,5],sigl:[3.5,3.5,3,5],scinf:[1,2,1,2],sigt:[3.5,3.5,3,5],aut4:[1,2,1,2],aut1:[1,2,1,2],smw:[1,2,1,2],aut0:[3.55,3.5],aut3:[3.5,3.5,3,5],aut2:[3.5,3.5,3,5]}},dialog:{new_visiable:!1,load_visiable:!1,Coeffs_fos:!1,global_chexkreser:!1,showType:!1,CheckDefine:!1,CheckSpecify:!1,yiOptions:!1,erOptions:!1,Output:!1}}},props:{},mounted:function(){},created:function(){},watch:{},methods:{addAll:function(){this.parameterObj.vargam.igam++,this.loginfo.dateList.push(this.parameterObj.vargam.igam),this.loginfo.students.forEach((function(t,e){t.list.push(0)}))},deleteAll:function(){this.parameterObj.vargam.igam>0&&(this.parameterObj.vargam.igam--,this.loginfo.dateList.pop(),this.loginfo.students.forEach((function(t,e){t.list.pop()})))},dialogAll:function(){console.log(t);var t=[{id:1,name:"Mass Fraction",list:this.parameterObj.vargam.scinf},{id:2,name:"Molecular Weight",list:this.parameterObj.vargam.smw},{id:3,name:"Lower T-Range Poly Coeff 0",list:this.parameterObj.vargam.alt0},{id:4,name:"Lower T-Range Poly Coeff 1",list:this.parameterObj.vargam.alt1},{id:6,name:"Lower T-Range Poly Coeff 2",list:this.parameterObj.vargam.alt2},{id:7,name:"Lower T-Range Poly Coeff 3",list:this.parameterObj.vargam.alt3},{id:1,name:"Lower T-Range Poly Coeff 4",list:this.parameterObj.vargam.alt4},{id:2,name:"Upper T-Range Poly Coeff 0",list:this.parameterObj.vargam.aut0},{id:3,name:"Upper T-Range Poly Coeff 1",list:this.parameterObj.vargam.aut1},{id:4,name:"Upper T-Range Poly Coeff 2",list:this.parameterObj.vargam.aut2},{id:6,name:"Upper T-Range Poly Coeff 3",list:this.parameterObj.vargam.aut3},{id:7,name:"Upper T-Range Poly Coeff 4",list:this.parameterObj.vargam.aut4},{id:6,name:"Laminar Diffusion Coeff ",list:this.parameterObj.vargam.sigl},{id:7,name:"Turbulent Diffusion Coeff ",list:this.parameterObj.vargam.sigt}];this.loginfo.students=t,this.dialog.Coeffs_fos=!0},DefineAll:function(){}}}),o=r,l=i("2877"),c=Object(l["a"])(o,a,s,!1,null,null,null);e["a"]=c.exports},f386:function(t,e,i){"use strict";i("386b")("small",(function(t){return function(){return t(this,"small","","")}}))},f69a:function(t,e,i){"use strict";var a=i("b424"),s=i.n(a);s.a},f979:function(t,e,i){},fd5f:function(t,e,i){"use strict";i.d(e,"a",(function(){return b}));var a=i("c3e9");const s=[new a["a"],new a["a"],new a["a"],new a["a"],new a["a"],new a["a"],new a["a"],new a["a"]],n=new a["a"],r=new b,o=new a["a"],l=new a["a"],c=new a["a"],u=new a["a"],h=new a["a"],d=new a["a"],p=new a["a"],m=new a["a"],v=new a["a"],f=new a["a"];function b(t,e){this.min=void 0!==t?t:new a["a"](1/0,1/0,1/0),this.max=void 0!==e?e:new a["a"](-1/0,-1/0,-1/0)}function g(t,e,i,a,s){for(let n=0,r=t.length-3;n<=r;n+=3){f.fromArray(t,n);const r=s.x*Math.abs(f.x)+s.y*Math.abs(f.y)+s.z*Math.abs(f.z),o=e.dot(f),l=i.dot(f),c=a.dot(f);if(Math.max(-Math.max(o,l,c),Math.min(o,l,c))>r)return!1}return!0}Object.assign(b.prototype,{isBox3:!0,set:function(t,e){return this.min.copy(t),this.max.copy(e),this},setFromArray:function(t){let e=1/0,i=1/0,a=1/0,s=-1/0,n=-1/0,r=-1/0;for(let o=0,l=t.length;o<l;o+=3){const l=t[o],c=t[o+1],u=t[o+2];l<e&&(e=l),c<i&&(i=c),u<a&&(a=u),l>s&&(s=l),c>n&&(n=c),u>r&&(r=u)}return this.min.set(e,i,a),this.max.set(s,n,r),this},setFromBufferAttribute:function(t){let e=1/0,i=1/0,a=1/0,s=-1/0,n=-1/0,r=-1/0;for(let o=0,l=t.count;o<l;o++){const l=t.getX(o),c=t.getY(o),u=t.getZ(o);l<e&&(e=l),c<i&&(i=c),u<a&&(a=u),l>s&&(s=l),c>n&&(n=c),u>r&&(r=u)}return this.min.set(e,i,a),this.max.set(s,n,r),this},setFromPoints:function(t){this.makeEmpty();for(let e=0,i=t.length;e<i;e++)this.expandByPoint(t[e]);return this},setFromCenterAndSize:function(t,e){const i=n.copy(e).multiplyScalar(.5);return this.min.copy(t).sub(i),this.max.copy(t).add(i),this},setFromObject:function(t){return this.makeEmpty(),this.expandByObject(t)},clone:function(){return(new this.constructor).copy(this)},copy:function(t){return this.min.copy(t.min),this.max.copy(t.max),this},makeEmpty:function(){return this.min.x=this.min.y=this.min.z=1/0,this.max.x=this.max.y=this.max.z=-1/0,this},isEmpty:function(){return this.max.x<this.min.x||this.max.y<this.min.y||this.max.z<this.min.z},getCenter:function(t){return void 0===t&&(console.warn("THREE.Box3: .getCenter() target is now required"),t=new a["a"]),this.isEmpty()?t.set(0,0,0):t.addVectors(this.min,this.max).multiplyScalar(.5)},getSize:function(t){return void 0===t&&(console.warn("THREE.Box3: .getSize() target is now required"),t=new a["a"]),this.isEmpty()?t.set(0,0,0):t.subVectors(this.max,this.min)},expandByPoint:function(t){return this.min.min(t),this.max.max(t),this},expandByVector:function(t){return this.min.sub(t),this.max.add(t),this},expandByScalar:function(t){return this.min.addScalar(-t),this.max.addScalar(t),this},expandByObject:function(t){t.updateWorldMatrix(!1,!1);const e=t.geometry;void 0!==e&&(null===e.boundingBox&&e.computeBoundingBox(),r.copy(e.boundingBox),r.applyMatrix4(t.matrixWorld),this.union(r));const i=t.children;for(let a=0,s=i.length;a<s;a++)this.expandByObject(i[a]);return this},containsPoint:function(t){return!(t.x<this.min.x||t.x>this.max.x||t.y<this.min.y||t.y>this.max.y||t.z<this.min.z||t.z>this.max.z)},containsBox:function(t){return this.min.x<=t.min.x&&t.max.x<=this.max.x&&this.min.y<=t.min.y&&t.max.y<=this.max.y&&this.min.z<=t.min.z&&t.max.z<=this.max.z},getParameter:function(t,e){return void 0===e&&(console.warn("THREE.Box3: .getParameter() target is now required"),e=new a["a"]),e.set((t.x-this.min.x)/(this.max.x-this.min.x),(t.y-this.min.y)/(this.max.y-this.min.y),(t.z-this.min.z)/(this.max.z-this.min.z))},intersectsBox:function(t){return!(t.max.x<this.min.x||t.min.x>this.max.x||t.max.y<this.min.y||t.min.y>this.max.y||t.max.z<this.min.z||t.min.z>this.max.z)},intersectsSphere:function(t){return this.clampPoint(t.center,n),n.distanceToSquared(t.center)<=t.radius*t.radius},intersectsPlane:function(t){let e,i;return t.normal.x>0?(e=t.normal.x*this.min.x,i=t.normal.x*this.max.x):(e=t.normal.x*this.max.x,i=t.normal.x*this.min.x),t.normal.y>0?(e+=t.normal.y*this.min.y,i+=t.normal.y*this.max.y):(e+=t.normal.y*this.max.y,i+=t.normal.y*this.min.y),t.normal.z>0?(e+=t.normal.z*this.min.z,i+=t.normal.z*this.max.z):(e+=t.normal.z*this.max.z,i+=t.normal.z*this.min.z),e<=-t.constant&&i>=-t.constant},intersectsTriangle:function(t){if(this.isEmpty())return!1;this.getCenter(p),m.subVectors(this.max,p),o.subVectors(t.a,p),l.subVectors(t.b,p),c.subVectors(t.c,p),u.subVectors(l,o),h.subVectors(c,l),d.subVectors(o,c);let e=[0,-u.z,u.y,0,-h.z,h.y,0,-d.z,d.y,u.z,0,-u.x,h.z,0,-h.x,d.z,0,-d.x,-u.y,u.x,0,-h.y,h.x,0,-d.y,d.x,0];return!!g(e,o,l,c,m)&&(e=[1,0,0,0,1,0,0,0,1],!!g(e,o,l,c,m)&&(v.crossVectors(u,h),e=[v.x,v.y,v.z],g(e,o,l,c,m)))},clampPoint:function(t,e){return void 0===e&&(console.warn("THREE.Box3: .clampPoint() target is now required"),e=new a["a"]),e.copy(t).clamp(this.min,this.max)},distanceToPoint:function(t){const e=n.copy(t).clamp(this.min,this.max);return e.sub(t).length()},getBoundingSphere:function(t){return void 0===t&&console.error("THREE.Box3: .getBoundingSphere() target is now required"),this.getCenter(t.center),t.radius=.5*this.getSize(n).length(),t},intersect:function(t){return this.min.max(t.min),this.max.min(t.max),this.isEmpty()&&this.makeEmpty(),this},union:function(t){return this.min.min(t.min),this.max.max(t.max),this},applyMatrix4:function(t){return this.isEmpty()||(s[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(t),s[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(t),s[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(t),s[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(t),s[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(t),s[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(t),s[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(t),s[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(t),this.setFromPoints(s)),this},translate:function(t){return this.min.add(t),this.max.add(t),this},equals:function(t){return t.min.equals(this.min)&&t.max.equals(this.max)}})}}]);
|