PageSourceSearch

https://www.tedxutsukuba.com/_nuxt/vendor/9286dc5d.06d8f07dd8e394f1a20b.js

js tedxutsukuba.com collected 2026-10-09 00:21:51 UTC 15,376 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[55],{269:function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,b){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])},r(t,b)},function(t,b){function e(){this.constructor=t}r(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)}),h=this&&this.__spreadArrays||function(){for(var s=0,i=0,t=arguments.length;i<t;i++)s+=arguments[i].length;var e=Array(s),n=0;for(i=0;i<t;i++)for(var a=arguments[i],r=0,o=a.length;r<o;r++,n++)e[n]=a[r];return e};Object.defineProperty(e,"__esModule",{value:!0}),e.Line=void 0;var c=n(14),f=n(11),l=n(33),d=n(13),y=n(12),v=function(t){function e(e){var n=t.call(this,e)||this;return n.on("pointsChange.konva tensionChange.konva closedChange.konva bezierChange.konva",(function(){this._clearCache("tensionPoints")})),n}return o(e,t),e.prototype._sceneFunc=function(t){var e,n,r,o=this.points(),h=o.length,c=this.tension(),f=this.closed(),l=this.bezier();if(h){if(t.beginPath(),t.moveTo(o[0],o[1]),0!==c&&h>4){for(n=(e=this.getTensionPoints()).length,r=f?0:4,f||t.quadraticCurveTo(e[0],e[1],e[2],e[3]);r<n-2;)t.bezierCurveTo(e[r++],e[r++],e[r++],e[r++],e[r++],e[r++]);f||t.quadraticCurveTo(e[n-2],e[n-1],o[h-2],o[h-1])}else if(l)for(r=2;r<h;)t.bezierCurveTo(o[r++],o[r++],o[r++],o[r++],o[r++],o[r++]);else for(r=2;r<h;r+=2)t.lineTo(o[r],o[r+1]);f?(t.closePath(),t.fillStrokeShape(this)):t.strokeShape(this)}},e.prototype.getTensionPoints=function(){return this._getCache("tensionPoints",this._getTensionPoints)},e.prototype._getTensionPoints=function(){return this.closed()?this._getTensionPointsClosed():c.Util._expandPoints(this.points(),this.tension())},e.prototype._getTensionPointsClosed=function(){var p=this.points(),t=p.length,e=this.tension(),n=c.Util._getControlPoints(p[t-2],p[t-1],p[0],p[1],p[2],p[3],e),r=c.Util._getControlPoints(p[t-4],p[t-3],p[t-2],p[t-1],p[0],p[1],e),o=c.Util._expandPoints(p,e);return[n[2],n[3]].concat(o).concat([r[0],r[1],p[t-2],p[t-1],r[2],r[3],n[0],n[1],p[0],p[1]])},e.prototype.getWidth=function(){return this.getSelfRect().width},e.prototype.getHeight=function(){return this.getSelfRect().height},e.prototype.getSelfRect=function(){var t=this.points();if(t.length<4)return{x:t[0]||0,y:t[1]||0,width:0,height:0};for(var e,n,r=(t=0!==this.tension()?h([t[0],t[1]],this._getTensionPoints(),[t[t.length-2],t[t.length-1]]):this.points())[0],o=t[0],c=t[1],f=t[1],i=0;i<t.length/2;i++)e=t[2*i],n=t[2*i+1],r=Math.min(r,e),o=Math.max(o,e),c=Math.min(c,n),f=Math.max(f,n);return{x:r,y:c,width:o-r,height:f-c}},e}(l.Shape);e.Line=v,v.prototype.className="Line",v.prototype._attrsAffectingSize=["points","bezier","tension"],y._registerNode(v),f.Factory.addGetterSetter(v,"closed",!1),f.Factory.addGetterSetter(v,"bezier",!1),f.Factory.addGetterSetter(v,"tension",0,d.getNumberValidator()),f.Factory.addGetterSetter(v,"points",[],d.getNumberArrayValidator()),c.Collection.mapMethods(v)},270:function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,b){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])},r(t,b)},function(t,b){function e(){this.constructor=t}r(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Path=void 0;var h=n(14),c=n(11),f=n(33),l=n(12),d=function(t){function e(n){var r=t.call(this,n)||this;r.dataArray=[],r.pathLength=0,r.dataArray=e.parsePathData(r.data()),r.pathLength=0;for(var i=0;i<r.dataArray.length;++i)r.pathLength+=r.dataArray[i].pathLength;return r.on("dataChange.konva",(function(){this.dataArray=e.parsePathData(this.data()),this.pathLength=0;for(var i=0;i<this.dataArray.length;++i)this.pathLength+=this.dataArray[i].pathLength})),r}return o(e,t),e.prototype._sceneFunc=function(t){var e=this.dataArray;t.beginPath();for(var n=!1,r=0;r<e.length;r++){var o=e[r].command,p=e[r].points;switch(o){case"L":t.lineTo(p[0],p[1]);break;case"M":t.moveTo(p[0],p[1]);break;case"C":t.bezierCurveTo(p[0],p[1],p[2],p[3],p[4],p[5]);break;case"Q":t.quadraticCurveTo(p[0],p[1],p[2],p[3]);break;case"A":var h=p[0],c=p[1],f=p[2],l=p[3],d=p[4],y=p[5],v=p[6],P=p[7],M=f>l?f:l,_=f>l?1:f/l,m=f>l?l/f:1;t.translate(h,c),t.rotate(v),t.scale(_,m),t.arc(0,0,M,d,d+y,1-P),t.scale(1/_,1/m),t.rotate(-v),t.translate(-h,-c);break;case"z":n=!0,t.closePath()}}n||this.hasFill()?t.fillStrokeShape(this):t.strokeShape(this)},e.prototype.getSelfRect=function(){var t=[];this.dataArray.forEach((function(data){if("A"===data.command){var n=data.points[4],r=
1data.points[5],o=data.points[4]+r,h=Math.PI/180;if(Math.abs(n-o)<h&&(h=Math.abs(n-o)),r<0)for(var c=n-h;c>o;c-=h){var f=e.getPointOnEllipticalArc(data.points[0],data.points[1],data.points[2],data.points[3],c,0);t.push(f.x,f.y)}else for(c=n+h;c<o;c+=h){f=e.getPointOnEllipticalArc(data.points[0],data.points[1],data.points[2],data.points[3],c,0);t.push(f.x,f.y)}}else if("C"===data.command)for(c=0;c<=1;c+=.01){f=e.getPointOnCubicBezier(c,data.start.x,data.start.y,data.points[0],data.points[1],data.points[2],data.points[3],data.points[4],data.points[5]);t.push(f.x,f.y)}else t=t.concat(data.points)}));for(var n,r,o=t[0],h=t[0],c=t[1],f=t[1],i=0;i<t.length/2;i++)n=t[2*i],r=t[2*i+1],isNaN(n)||(o=Math.min(o,n),h=Math.max(h,n)),isNaN(r)||(c=Math.min(c,r),f=Math.max(f,r));return{x:Math.round(o),y:Math.round(c),width:Math.round(h-o),height:Math.round(f-c)}},e.prototype.getLength=function(){return this.pathLength},e.prototype.getPointAtLength=function(t){var n,i=0,r=this.dataArray.length;if(!r)return null;for(;i<r&&t>this.dataArray[i].pathLength;)t-=this.dataArray[i].pathLength,++i;if(i===r)return{x:(n=this.dataArray[i-1].points.slice(-2))[0],y:n[1]};if(t<.01)return{x:(n=this.dataArray[i].points.slice(0,2))[0],y:n[1]};var o=this.dataArray[i],p=o.points;switch(o.command){case"L":return e.getPointOnLine(t,o.start.x,o.start.y,p[0],p[1]);case"C":return e.getPointOnCubicBezier(t/o.pathLength,o.start.x,o.start.y,p[0],p[1],p[2],p[3],p[4],p[5]);case"Q":return e.getPointOnQuadraticBezier(t/o.pathLength,o.start.x,o.start.y,p[0],p[1],p[2],p[3]);case"A":var h=p[0],c=p[1],f=p[2],l=p[3],d=p[4],y=p[5],v=p[6];return d+=y*t/o.pathLength,e.getPointOnEllipticalArc(h,c,f,l,d,v)}return null},e.getLineLength=function(t,e,n,r){return Math.sqrt((n-t)*(n-t)+(r-e)*(r-e))},e.getPointOnLine=function(t,e,n,r,o,h,c){void 0===h&&(h=e),void 0===c&&(c=n);var f=(o-n)/(r-e+1e-8),l=Math.sqrt(t*t/(1+f*f));r<e&&(l*=-1);var d,y=f*l;if(r===e)d={x:h,y:c+y};else if((c-n)/(h-e+1e-8)===f)d={x:h+l,y:c+y};else{var v,P,M=this.getLineLength(e,n,r,o),u=(h-e)*(r-e)+(c-n)*(o-n);v=e+(u/=M*M)*(r-e),P=n+u*(o-n);var _=this.getLineLength(h,c,v,P),m=Math.sqrt(t*t-_*_);l=Math.sqrt(m*m/(1+f*f)),r<e&&(l*=-1),d={x:v+l,y:P+(y=f*l)}}return d},e.getPointOnCubicBezier=function(t,e,n,r,o,h,c,f,l){function d(t){return t*t*t}function y(t){return 3*t*t*(1-t)}function v(t){return 3*t*(1-t)*(1-t)}function P(t){return(1-t)*(1-t)*(1-t)}return{x:f*d(t)+h*y(t)+r*v(t)+e*P(t),y:l*d(t)+c*y(t)+o*v(t)+n*P(t)}},e.getPointOnQuadraticBezier=function(t,e,n,r,o,h,c){function f(t){return t*t}function l(t){return 2*t*(1-t)}function d(t){return(1-t)*(1-t)}return{x:h*f(t)+r*l(t)+e*d(t),y:c*f(t)+o*l(t)+n*d(t)}},e.getPointOnEllipticalArc=function(t,e,n,r,o,h){var c=Math.cos(h),f=Math.sin(h),l=n*Math.cos(o),d=r*Math.sin(o);return{x:t+(l*c-d*f),y:e+(l*f+d*c)}},e.parsePathData=function(data){if(!data)return[];var t=data,e=["m","M","l","L","v","V","h","H","z","Z","c","C","q","Q","t","T","s","S","a","A"];t=t.replace(new RegExp(" ","g"),",");for(var n=0;n<e.length;n++)t=t.replace(new RegExp(e[n],"g"),"|"+e[n]);var r,o=t.split("|"),h=[],c=[],f=0,l=0,d=/([-+]?((\d+\.\d+)|((\d+)|(\.\d+)))(?:e[-+]?\d+)?)/gi;for(n=1;n<o.length;n++){var y=o[n],v=y.charAt(0);for(y=y.slice(1),c.length=0;r=d.exec(y);)c.push(r[0]);for(var p=[],P=0,M=c.length;P<M;P++){var _=parseFloat(c[P]);isNaN(_)?p.push(0):p.push(_)}for(;p.length>0&&!isNaN(p[0]);){var m,L,x,O,A,C,k,S,T,z,w=null,N=[],j=f,E=l;switch(v){case"l":f+=p.shift(),l+=p.shift(),w="L",N.push(f,l);break;case"L":f=p.shift(),l=p.shift(),N.push(f,l);break;case"m":var R=p.shift(),F=p.shift();if(f+=R,l+=F,w="M",h.length>2&&"z"===h[h.length-1].command)for(var I=h.length-2;I>=0;I--)if("M"===h[I].command){f=h[I].points[0]+R,l=h[I].points[1]+F;break}N.push(f,l),v="l";break;case"M":f=p.shift(),l=p.shift(),w="M",N.push(f,l),v="L";break;case"h":f+=p.shift(),w="L",N.push(f,l);break;case"H":f=p.shift(),w="L",N.push(f,l);break;case"v":l+=p.shift(),w="L",N.push(f,l);break;case"V":l=p.shift(),w="L",N.push(f,l);break;case"C":N.push(p.shift(),p.shift(),p.shift(),p.shift()),f=p.shift(),l=p.shift(),N.push(f,l);break;case"c":N.push(f+p.shift(),l+p.shift(),f+p.shift(),l+p.shift()),f+=p.shift(),l+=p.shift(),w="C",N.push(f,l);break;case"S":L=f,x=l,"C"===(m=h[h.length-1]).command&&(L=f+(f-m.points[2]),x=l+(l-m.points[3])),N.push(L,x,p.shift(),p.shift()),f=p.shift(),l=p.shift(),w="C",N.push(f,l);break;case"s":L=f,x=l,"C"===(m=h[h.length-1]).command&&(L=f+(f-m.points[2]),x=l+(l-m.points[3])),N.push(L,x,f+p.shift(),l+p.shift()),f+=p.shift(),l+=p.shift(),w="C",N.push(f,l);break;case"Q":N.push(p.shift(),p.shift()),f=p.shift(),l=p.shift(),N.push(f,l);break;case"q":N.push(f+p.shift(),l+p.shift()),f+=p.shift(),l+=p.shift(),w="Q",N.push(f,l);break;case"T":L=f,x=l,"Q"===(m=h[h.length-1]).command&&(L=f+(f-m.points[0]),x=l+(l-m.points[1])),f=p.shift(),l=p.shift(),w="Q",N.push(L,x,f,l);break;case"t":L=f,x=l,"Q"===(m=h[h.length-1]).command&&(L=f+(f-m.points[0]),x=l+(l-m.points[1])),f+=p.shift(),l+=p.shift(),w="Q",N.push(L,x,f,l);break;case"A":O=p.shift(),A=p.shift(),C=p.shift(),k=p.shift(),S=p.shift(),T=f,z=l,f=p.shift(),l=p.shift(),w="A",N=this.convertEndpointToCenterParameterization(T,z,f,l,k,S,O,A,C);break;case"a":O=p.shift(),A=p.shift(),C=p.shift(),k=p.shift(),S=p.shift(),T=f,z=l,f+=p.shift(),l+=p.shift(),w="A",N=this.convertEndpointToCenterParameterization(T,z,f,l,k,S,O,A,C)}h.push({command:w||v,points:N,start:{x:j,y:E},pathLength:this.calcLength(j,E,w||v,N)})}"z"!==v&&"Z"!==v||h.push({command:"z",points:[],start:void 0,pathLength:0})}return h},e.calcLength=function(t,n,r,o){var h,c,f,l,path=e;switch(r){case"L":return path.getLineLength(t,n,o[0],o[1]);case"C":for(h=0,c=path.getPointOnCubicBezier(0,t,n,o[0],o[1],o[2],o[3],o[4],o[5]),l=.01;l<=1;l+=.01)f=path.getPointOnCubicBezier(l,t,n,o[0],o[1],o[2],o[3],o[4],o[5]),h+=path.getLineLength(c.x,c.y,f.x,f.y),c=f;return h;case"Q":for(h=0,c=path.getPointOnQuadraticBezier(0,t,n,o[0],o[1],o[2],o[3]),l=.01;l<=1;l+=.01)f=path.getPointOnQuadraticBezier(l,t,n,o[0],o[1],o[2],o[3]),h+=path.getLineLength(c.x,c.y,f.x,f.y),c=f;return h;case"A":h=0;var d=o[4],y=o[5],v=o[4]+y,P=Math.PI/180;
1if(Math.abs(d-v)<P&&(P=Math.abs(d-v)),c=path.getPointOnEllipticalArc(o[0],o[1],o[2],o[3],d,0),y<0)for(l=d-P;l>v;l-=P)f=path.getPointOnEllipticalArc(o[0],o[1],o[2],o[3],l,0),h+=path.getLineLength(c.x,c.y,f.x,f.y),c=f;else for(l=d+P;l<v;l+=P)f=path.getPointOnEllipticalArc(o[0],o[1],o[2],o[3],l,0),h+=path.getLineLength(c.x,c.y,f.x,f.y),c=f;return f=path.getPointOnEllipticalArc(o[0],o[1],o[2],o[3],v,0),h+=path.getLineLength(c.x,c.y,f.x,f.y)}return 0},e.convertEndpointToCenterParameterization=function(t,e,n,r,o,h,c,f,l){var d=l*(Math.PI/180),y=Math.cos(d)*(t-n)/2+Math.sin(d)*(e-r)/2,v=-1*Math.sin(d)*(t-n)/2+Math.cos(d)*(e-r)/2,P=y*y/(c*c)+v*v/(f*f);P>1&&(c*=Math.sqrt(P),f*=Math.sqrt(P));var M=Math.sqrt((c*c*(f*f)-c*c*(v*v)-f*f*(y*y))/(c*c*(v*v)+f*f*(y*y)));o===h&&(M*=-1),isNaN(M)&&(M=0);var _=M*c*v/f,m=M*-f*y/c,L=(t+n)/2+Math.cos(d)*_-Math.sin(d)*m,x=(e+r)/2+Math.sin(d)*_+Math.cos(d)*m,O=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},A=function(u,t){return(u[0]*t[0]+u[1]*t[1])/(O(u)*O(t))},C=function(u,t){return(u[0]*t[1]<u[1]*t[0]?-1:1)*Math.acos(A(u,t))},k=C([1,0],[(y-_)/c,(v-m)/f]),u=[(y-_)/c,(v-m)/f],S=[(-1*y-_)/c,(-1*v-m)/f],T=C(u,S);return A(u,S)<=-1&&(T=Math.PI),A(u,S)>=1&&(T=0),0===h&&T>0&&(T-=2*Math.PI),1===h&&T<0&&(T+=2*Math.PI),[L,x,c,f,k,T,d,h]},e}(f.Shape);e.Path=d,d.prototype.className="Path",d.prototype._attrsAffectingSize=["data"],l._registerNode(d),c.Factory.addGetterSetter(d,"data"),h.Collection.mapMethods(d)},271:function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,b){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])},r(t,b)},function(t,b){function e(){this.constructor=t}r(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Rect=void 0;var h=n(14),c=n(11),f=n(33),l=n(12),d=n(13),y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._sceneFunc=function(t){var e=this.cornerRadius(),n=this.width(),r=this.height();if(t.beginPath(),e){var o=0,h=0,c=0,f=0;"number"==typeof e?o=h=c=f=Math.min(e,n/2,r/2):(o=Math.min(e[0]||0,n/2,r/2),h=Math.min(e[1]||0,n/2,r/2),f=Math.min(e[2]||0,n/2,r/2),c=Math.min(e[3]||0,n/2,r/2)),t.moveTo(o,0),t.lineTo(n-h,0),t.arc(n-h,h,h,3*Math.PI/2,0,!1),t.lineTo(n,r-f),t.arc(n-f,r-f,f,0,Math.PI/2,!1),t.lineTo(c,r),t.arc(c,r-c,c,Math.PI/2,Math.PI,!1),t.lineTo(0,o),t.arc(o,o,o,Math.PI,3*Math.PI/2,!1)}else t.rect(0,0,n,r);t.closePath(),t.fillStrokeShape(this)},e}(f.Shape);e.Rect=y,y.prototype.className="Rect",l._registerNode(y),c.Factory.addGetterSetter(y,"cornerRadius",0,d.getNumberOrArrayOfNumbersValidator(4)),h.Collection.mapMethods(y)},375:function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,b){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])},r(t,b)},function(t,b){function e(){this.constructor=t}r(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.RegularPolygon=void 0;var h=n(14),c=n(11),f=n(33),l=n(13),d=n(12),y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._sceneFunc=function(t){var e=this._getPoints();t.beginPath(),t.moveTo(e[0].x,e[0].y);for(var n=1;n<e.length;n++)t.lineTo(e[n].x,e[n].y);t.closePath(),t.fillStrokeShape(this)},e.prototype._getPoints=function(){for(var t=this.attrs.sides,e=this.attrs.radius||0,n=[],r=0;r<t;r++)n.push({x:e*Math.sin(2*r*Math.PI/t),y:-1*e*Math.cos(2*r*Math.PI/t)});return n},e.prototype.getSelfRect=function(){var t=this._getPoints(),e=t[0].x,n=t[0].y,r=t[0].x,o=t[0].y;return t.forEach((function(t){e=Math.min(e,t.x),n=Math.max(n,t.x),r=Math.min(r,t.y),o=Math.max(o,t.y)})),{x:e,y:r,width:n-e,height:o-r}},e.prototype.getWidth=function(){return 2*this.radius()},e.prototype.getHeight=function(){return 2*this.radius()},e.prototype.setWidth=function(t){this.radius(t/2)},e.prototype.setHeight=function(t){this.radius(t/2)},e}(f.Shape);e.RegularPolygon=y,y.prototype.className="RegularPolygon",y.prototype._centroid=!0,y.prototype._attrsAffectingSize=["radiu
1s"],d._registerNode(y),c.Factory.addGetterSetter(y,"radius",0,l.getNumberValidator()),c.Factory.addGetterSetter(y,"sides",0,l.getNumberValidator()),h.Collection.mapMethods(y)}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.