{"version":3,"names":[],"mappings":"","sources":["scripts/scriptsKendoUi.js"],"sourcesContent":["\n/** \n * Kendo UI v2021.3.1207 (http://www.telerik.com/kendo-ui) \n * Copyright 2021 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved. \n * \n * Kendo UI commercial licenses may be obtained at \n * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete \n * If you do not own a commercial license, this file shall be governed by the trial license terms. \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n*/\n!function(e,define){define(\"kendo.core.min\",[\"jquery\"],e)}(function(){return function(e,t,n){function i(){}function o(e,t){if(t)return\"'\"+e.split(\"'\").join(\"\\\\'\").split('\\\\\"').join('\\\\\\\\\\\\\"').replace(/\\n/g,\"\\\\n\").replace(/\\r/g,\"\\\\r\").replace(/\\t/g,\"\\\\t\")+\"'\";var n=e.charAt(0),i=e.substring(1);return\"=\"===n?\"+(\"+i+\")+\":\":\"===n?\"+$kendoHtmlEncode(\"+i+\")+\":\";\"+e+\";$kendoOutput+=\"}function r(e,t,n){return e+=\"\",t=t||2,n=t-e.length,n?j[t].substring(0,n)+e:e}function a(e){var t=e.css(Te.support.transitions.css+\"box-shadow\")||e.css(\"box-shadow\"),n=t?t.match(Le)||[0,0,0,0,0]:[0,0,0,0,0],i=Me.max(+n[3],+(n[4]||0));return{left:-n[1]+i,right:+n[1]+i,bottom:+n[2]+i}}function s(n,i){var o,r,a,s,d,c,u=Te._outerWidth,h=Te._outerHeight,p=n.parent(),f=u(t);return p.removeClass(\"k-animation-container-sm\"),p.hasClass(\"k-animation-container\")?l(n,i):(r=n[0].style.width,a=n[0].style.height,s=ze.test(r),d=ze.test(a),c=n.hasClass(\"k-tooltip\")||n.is(\".k-menu-horizontal.k-context-menu\"),o=s||d,!s&&(!i||i&&r||c)&&(r=i?u(n)+1:u(n)),(!d&&(!i||i&&a)||n.is(\".k-menu-horizontal.k-context-menu\"))&&(a=h(n)),n.wrap(e(\"
\").addClass(\"k-animation-container\").css({width:r,height:a})),p=n.parent(),o&&n.css({width:\"100%\",height:\"100%\",boxSizing:\"border-box\",mozBoxSizing:\"border-box\",webkitBoxSizing:\"border-box\"})),f-1)return!0;var t=f(e,[\"overflow\"]).overflow;return t.indexOf(\"auto\")>-1||t.indexOf(\"scroll\")>-1}function g(t,i){var o,r,a=Pe.browser.webkit,s=Pe.browser.mozilla,l=Pe.browser.version;return t instanceof e&&i!==n?(t.each(function(e,t){g(t,i)}),n):(o=t instanceof e?t[0]:t)?(r=Pe.isRtl(t),i===n?r&&a&&(l<85||Pe.browser.safari)?o.scrollWidth-o.clientWidth-o.scrollLeft:Math.abs(o.scrollLeft):(o.scrollLeft=r&&a&&(l<85||Pe.browser.safari)?o.scrollWidth-o.clientWidth-i:r&&(s||a)&&i>0?-i:i,n)):n}function v(e){var t,n=0;for(t in e)e.hasOwnProperty(t)&&\"toJSON\"!=t&&n++;return n}function _(e,n,i){var o,r,a;return n||(n=\"offset\"),o=e[n](),r={top:o.top,right:o.right,bottom:o.bottom,left:o.left},Pe.browser.msie&&(Pe.pointers||Pe.msPointers)&&!i&&(a=Pe.isRtl(e)?1:-1,r.top-=t.pageYOffset-document.documentElement.scrollTop,r.left-=t.pageXOffset+a*document.documentElement.scrollLeft),r}function b(e){var t={};return Ie(\"string\"==typeof e?e.split(\" \"):e,function(e){t[e]=this}),t}function w(e){return new Te.effects.Element(e)}function k(e,t,n,i){return typeof e===Ne&&(P(t)&&(i=t,t=400,n=!1),P(n)&&(i=n,n=!1),typeof t===je&&(n=t,t=400),e={effects:e,duration:t,reverse:n,complete:i}),De({effects:{},duration:400,reverse:!1,init:Re,teardown:Re,hide:!1},e,{completeCallback:e.complete,complete:Re})}function y(t,n,i,o,r){for(var a,s=0,l=t.length;s-1||t.indexOf('\"')>-1||t.indexOf(\"\\\\\")>-1)&&(t=t.replace(h,function(e){var t=e.charAt(0).replace(\"\\\\\",\"\"),n=e.slice(1).replace(t,\"\");return w.push(n),b})),t=t.split(\";\"),T&&t[1])t=t[1],L=!0;else if(0===e&&t[2]){if(t=t[2],t.indexOf(v)==-1&&t.indexOf(_)==-1)return t}else t=t[0];if(U=t.indexOf(\"%\"),j=t.indexOf(\"$\"),x=U!=-1,y=j!=-1,x&&(e*=100),y&&\"\\\\\"===t[j-1]&&(t=t.split(\"\\\\\").join(\"\"),y=!1),(y||x)&&(r=y?r.currency:r.percent,a=r[m],d=r.decimals,k=r.symbol),B=t.indexOf(g)>-1,B&&(t=t.replace(p,f)),H=t.indexOf(m),P=t.length,H!=-1)if(I=(\"\"+e).split(\"e\"),I=I[1]?l(e,Math.abs(I[1])):I[0],I=I.split(m)[1]||f,N=t.lastIndexOf(_)-H,O=t.lastIndexOf(v)-H,V=N>-1,W=O>-1,F=I.length,V||W||(t=t.substring(0,H)+t.substring(H+1),P=t.length,H=-1,F=0),V&&N>O)F=N;else if(O>N)if(W&&F>O){for(Y=l(e,O,T);Y.charAt(Y.length-1)===_&&O>0&&O>N;)O--,Y=l(e,O,T);F=O}else V&&F -1&&(e+=D,F=H),H===F){e+=(I?a:f)+I,F+=$-H+1;continue}z===_?(e+=z,R=z):z===v&&(e+=R)}if(B&&(e=s(e,q+(T&&!L?1:0),Math.max($,A+q),r)),$>=q&&(e+=t.substring($+1)),y||x){for(M=f,F=0,P=e.length;F =p){for(s=a,l=[];s>-1;)if(d=r.substring(s-p,s),d&&l.push(d),s-=p,c=h.shift(),p=c!==n?c:p,0===p){s>0&&l.push(r.substring(0,s));break}r=l.reverse().join(o[g]),e=e.substring(0,t)+r+e.substring(i)}return e},l=function(e,t,n){return t=t||0,e=(\"\"+e).split(\"e\"),e=Math.round(+(e[0]+\"e\"+(e[1]?+e[1]+t:t))),n&&(e=-e),e=(\"\"+e).split(\"e\"),e=+(e[0]+\"e\"+(e[1]?+e[1]-t:-t)),e.toFixed(Math.min(t,20))},d=function(e,t,i){if(t){if(\"[object Date]\"===k.call(e))return o(e,t,i);if(typeof e===Ve)return a(e,t,i)}return e!==n?e:\"\"},Te.format=function(e){var t=arguments;return e.replace(Be,function(e,n,i){var o=t[parseInt(n,10)+1];return d(o,i?i.substring(1):\"\")})},Te._extractFormat=function(e){return\"{0:\"===e.slice(0,3)&&(e=e.slice(3,e.length-1)),e},Te._activeElement=function(){try{return document.activeElement}catch(e){return document.documentElement.activeElement}},Te._round=l,Te._outerWidth=function(t,n){return e(t).outerWidth(n||!1)||0},Te._outerHeight=function(t,n){return e(t).outerHeight(n||!1)||0},Te.toString=d}(),function(){function t(e,t,n){return!(e>=t&&e<=n)}function i(e){return e.charAt(0)}function o(t){return e.map(t,i)}function r(e,t){t||23!==e.getHours()||e.setHours(e.getHours()+2)}function a(e){for(var t=0,n=e.length,i=[];t \\r',Q=Y+'\\n l&&(l=o,d=a);return l?(H+=l,d+1):null},I=function(){var t=!1;return e.charAt(H)===i[L]&&(H++,t=!0),t},A=a.calendars.standard,E=null,R=null,M=null,F=null,P=null,z=null,B=null,L=0,H=0,O=!1,N=new Date,V=A.twoDigitYearMax||2029,W=N.getFullYear();for(i||(i=\"d\"),h=A.patterns[i],h&&(i=h),i=i.split(\"\"),u=i.length;L2)continue;if(M=c<3?T(2):D(A._lowerDays[3==c?\"namesAbbr\":\"names\"],!0),null===M||t(M,1,31))return null}else if(\"M\"===d){if(c=S(\"M\"),A._lowerMonths||(A._lowerMonths=s(A.months)),R=c<3?T(2):D(A._lowerMonths[3==c?\"namesAbbr\":\"names\"],!0),null===R||t(R,1,12))return null;R-=1}else if(\"y\"===d){if(c=S(\"y\"),E=T(c),null===E)return null;2==c&&(\"string\"==typeof V&&(V=W+parseInt(V,10)),E=W-W%100+E,E>V&&(E-=100))}else if(\"h\"===d){if(S(\"h\"),F=T(2),12==F&&(F=0),null===F||t(F,0,11))return null}else if(\"H\"===d){if(S(\"H\"),F=T(2),null===F||t(F,0,23))return null}else if(\"m\"===d){if(S(\"m\"),P=T(2),null===P||t(P,0,59))return null}else if(\"s\"===d){if(S(\"s\"),z=T(2),null===z||t(z,0,59))return null}else if(\"f\"===d){if(c=S(\"f\"),C=e.substr(H,c).match(w[3]),B=T(c),null!==B&&(B=parseFloat(\"0.\"+C[0],10),B=Te._round(B,3),B*=1e3),null===B||t(B,0,999))return null}else if(\"t\"===d){if(c=S(\"t\"),_=A.AM,b=A.PM,1===c&&(_=o(_),b=o(b)),p=D(b),!p&&!D(_))return null}else if(\"z\"===d){if(g=!0,c=S(\"z\"),\"Z\"===e.substr(H,1)){I();continue}if(v=e.substr(H,6).match(c>2?m:f),!v)return null;if(v=v[0].split(\":\"),k=v[0],y=v[1],!y&&k.length>3&&(H=k.length-2,y=k.substring(H),k=k.substring(0,H)),k=parseInt(k,10),t(k,-12,13))return null;if(c>2&&(y=v[0][0]+y,y=parseInt(y,10),isNaN(y)||t(y,-59,59)))return null}else if(\"'\"===d)O=!0,I();else if(!I())return null;return l&&!/^\\s*$/.test(e.substr(H))?null:(x=null!==F||null!==P||z||null,null===E&&null===R&&null===M&&x?(E=W,R=N.getMonth(),M=N.getDate()):(null===E&&(E=W),null===M&&(M=1)),p&&F<12&&(F+=12),g?(k&&(F+=-k),y&&(P+=-y),e=new Date(Date.UTC(E,R,M,F,P,z,B))):(e=new Date(E,R,M,F,P,z,B),r(e,F)),E<100&&e.setFullYear(E),e.getDate()!==M&&g===n?null:e)}function d(e){var t=\"-\"===e.substr(0,1)?-1:1;return e=e.substring(1),e=60*parseInt(e.substr(0,2),10)+parseInt(e.substring(2),10),t*e}function c(e){var t,n,i,o=Me.max(_.length,b.length),r=e.calendar||e.calendars.standard,a=r.patterns,s=[];for(i=0;i \",Pe.tbodyInnerHtml=!0}catch(m){Pe.tbodyInnerHtml=!1}Pe.touch=\"ontouchstart\"in t,o=document.documentElement.style,r=Pe.transitions=!1,a=Pe.transforms=!1,s=\"HTMLElement\"in t?HTMLElement.prototype:[],Pe.hasHW3D=\"WebKitCSSMatrix\"in t&&\"m11\"in new t.WebKitCSSMatrix||\"MozPerspective\"in o||\"msPerspective\"in o,Pe.cssFlexbox=\"flexWrap\"in o||\"WebkitFlexWrap\"in o||\"msFlexWrap\"in o,Ie([\"Moz\",\"webkit\",\"O\",\"ms\"],function(){var e,t=\"\"+this,n=typeof i.style[t+\"Transition\"]===Ne;if(n||typeof i.style[t+\"Transform\"]===Ne)return e=t.toLowerCase(),a={css:\"ms\"!=e?\"-\"+e+\"-\":\"\",prefix:t,event:\"o\"===e||\"webkit\"===e?e:\"\"},n&&(r=a,r.event=r.event?r.event+\"TransitionEnd\":\"transitionend\"),!1}),i=null,Pe.transforms=a,Pe.transitions=r,Pe.devicePixelRatio=t.devicePixelRatio===n?1:t.devicePixelRatio;try{Pe.screenWidth=t.outerWidth||t.screen?t.screen.availWidth:t.innerWidth,Pe.screenHeight=t.outerHeight||t.screen?t.screen.availHeight:t.innerHeight}catch(m){Pe.screenWidth=t.screen.availWidth,Pe.screenHeight=t.screen.availHeight}Pe.detectOS=function(e){var n,i,o=!1,r=[],a=!/mobile safari/i.test(e),s={wp:/(Windows Phone(?: OS)?)\\s(\\d+)\\.(\\d+(\\.\\d+)?)/,fire:/(Silk)\\/(\\d+)\\.(\\d+(\\.\\d+)?)/,android:/(Android|Android.*(?:Opera|Firefox).*?\\/)\\s*(\\d+)\\.?(\\d+(\\.\\d+)?)?/,iphone:/(iPhone|iPod).*OS\\s+(\\d+)[\\._]([\\d\\._]+)/,ipad:/(iPad).*OS\\s+(\\d+)[\\._]([\\d_]+)/,meego:/(MeeGo).+NokiaBrowser\\/(\\d+)\\.([\\d\\._]+)/,webos:/(webOS)\\/(\\d+)\\.(\\d+(\\.\\d+)?)/,blackberry:/(BlackBerry|BB10).*?Version\\/(\\d+)\\.(\\d+(\\.\\d+)?)/,playbook:/(PlayBook).*?Tablet\\s*OS\\s*(\\d+)\\.(\\d+(\\.\\d+)?)/,windows:/(MSIE)\\s+(\\d+)\\.(\\d+(\\.\\d+)?)/,tizen:/(tizen).*?Version\\/(\\d+)\\.(\\d+(\\.\\d+)?)/i,sailfish:/(sailfish).*rv:(\\d+)\\.(\\d+(\\.\\d+)?).*firefox/i,ffos:/(Mobile).*rv:(\\d+)\\.(\\d+(\\.\\d+)?).*Firefox/},l={ios:/^i(phone|pad|pod)$/i,android:/^android|fire$/i,blackberry:/^blackberry|playbook/i,windows:/windows/,wp:/wp/,flat:/sailfish|ffos|tizen/i,meego:/meego/},d={tablet:/playbook|ipad|fire/i},c={omini:/Opera\\sMini/i,omobile:/Opera\\sMobi/i,firefox:/Firefox|Fennec/i,mobilesafari:/version\\/.*safari/i,ie:/MSIE|Windows\\sPhone/i,chrome:/chrome|crios/i,webkit:/webkit/i};for(i in s)if(s.hasOwnProperty(i)&&(r=e.match(s[i]))){if(\"windows\"==i&&\"plugins\"in navigator)return!1;o={},o.device=i,o.tablet=u(i,d,!1),o.browser=u(e,c,\"default\"),o.name=u(i,l),o[o.name]=!0,o.majorVersion=r[2],o.minorVersion=(r[3]||\"0\").replace(\"_\",\".\"),n=o.minorVersion.replace(\".\",\"\").substr(0,2),o.flatVersion=o.majorVersion+n+Array(3-(n.length<3?n.length:2)).join(\"0\"),o.cordova=typeof t.PhoneGap!==Ge||typeof t.cordova!==Ge,o.appMode=t.navigator.standalone||/file|local|wmapp/.test(t.location.protocol)||o.cordova,o.android&&(Pe.devicePixelRatio<1.5&&o.flatVersion<400||a)&&(Pe.screenWidth>800||Pe.screenHeight>800)&&(o.tablet=i);break}return o},l=Pe.mobileOS=Pe.detectOS(navigator.userAgent),Pe.wpDevicePixelRatio=l.wp?screen.width/320:0,Pe.hasNativeScrolling=!1,(l.ios||l.android&&l.majorVersion>2||l.wp)&&(Pe.hasNativeScrolling=l),Pe.delayedClick=function(){if(Pe.touch){if(l.ios)return!0;if(l.android)return!Pe.browser.chrome||!(Pe.browser.version<32)&&!(e(\"meta[name=viewport]\").attr(\"content\")||\"\").match(/user-scalable=no/i)}return!1},Pe.mouseAndTouchPresent=Pe.touch&&!(Pe.mobileOS.ios||Pe.mobileOS.android),Pe.detectBrowser=function(e){var t,n=!1,i=[],o={edge:/(edge)[ \\/]([\\w.]+)/i,webkit:/(chrome|crios)[ \\/]([\\w.]+)/i,safari:/(webkit)[ \\/]([\\w.]+)/i,opera:/(opera)(?:.*version|)[ \\/]([\\w.]+)/i,msie:/(msie\\s|trident.*? rv:)([\\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\\w.]+)|)/i};for(t in o)if(o.hasOwnProperty(t)&&(i=e.match(o[t]))){n={},n[t]=!0,n[i[1].toLowerCase().split(\" \")[0].split(\"/\")[0]]=!0,n.version=parseInt(document.documentMode||i[2],10);break}return n},Pe.browser=Pe.detectBrowser(navigator.userAgent),Pe.detectClipboardAccess=function(){var e={copy:!!document.queryCommandSupported&&document.queryCommandSupported(\"copy\"),cut:!!document.queryCommandSupported&&document.queryCommandSupported(\"cut\"),paste:!!document.queryCommandSupported&&document.queryCommandSupported(\"paste\")};return Pe.browser.chrome&&(e.paste=!1,Pe.browser.version>=43&&(e.copy=!0,e.cut=!0)),e},Pe.clipboard=Pe.detectClipboardAccess(),Pe.zoomLevel=function(){var e,n,i;try{return e=Pe.browser,n=0,i=document.documentElement,e.msie&&11==e.version&&i.scrollHeight>i.clientHeight&&!Pe.touch&&(n=Pe.scrollbar()),Pe.touch?i.clientWidth/t.innerWidth:e.msie&&e.version>=10?((top||t).document.documentElement.offsetWidth+n)/(top||t).innerWidth:1}catch(o){return 1}},function(t){var n=\"\",i=e(document.documentElement),o=parseInt(t.version,10);t.msie?n=\"ie\":t.mozilla?n=\"ff\":t.safari?n=\"safari\":t.webkit?n=\"webkit\":t.opera?n=\"opera\":t.edge&&(n=\"edge\"),n&&(n=\"k-\"+n+\" k-\"+n+o),Pe.mobileOS&&(n+=\" k-mobile\"),Pe.cssFlexbox||(n+=\" k-no-flexbox\"),i.addClass(n)}(Pe.browser),Pe.eventCapture=document.documentElement.addEventListener,d=document.createElement(\"input\"),Pe.placeholder=\"placeholder\"in d,Pe.propertyChangeEvent=\"onpropertychange\"in d,Pe.input=function(){for(var e,t=[\"number\",\"date\",\"time\",\"month\",\"week\",\"datetime\",\"datetime-local\"],n=t.length,i=\"test\",o={},r=0;r=o||e.start>=o&&e.start<=r)&&a.push(e);return a},_removeModelFromRanges:function(e){var t,n,i,o=this;for(n=0,i=this._ranges.length;n=e){o._getByUid(t.uid,n.data)||(o._isServerGrouped()?n.data.splice(e,0,o._wrapInEmptyGroup(t)):n.data.splice(e,0,t));break}o._updateRangesLength()},_updateRangesLength:function(){var e,t,n,i=this,o=i._ranges||[],r=o.length,a=!1,s=0,l=0;for(n=0;n \":\"ul\"==n||\"ol\"==n?\"#:data# 0?n.x-o:r-n.x)/(r-o)+a-n.y>=0),i?1:0}function X(e){var t=\"_\"+e;return function(e){return i(e)?(this._observerField(t,bn.create(e)),this.geometryChange(),this):this[t]}}function Z(e,t){for(var n=0;ni||o&&n===i)&&(i+=360),{startAngle:n,endAngle:i}},t.prototype._intervalCurvePoints=function(e,t,n){var i=this.pointAt(e),o=this.pointAt(t),r=this._derivativeAt(e),a=this._derivativeAt(t),s=(f(t)-f(e))/3,l=new bn(i.x+s*r.x,i.y+s*r.y),d=new bn(o.x-s*a.x,o.y-s*a.y);return n&&(i.transform(n),o.transform(n),l.transform(n),d.transform(n)),{p1:i,cp1:l,cp2:d,p2:o}},t.prototype._derivativeAt=function(e){var t=f(e);return new bn(-this.radiusX*Math.sin(t),this.radiusY*Math.cos(t))},t.prototype.containsPoint=function i(e){var i,t,n,o=this._arcInterval(),r=o.endAngle-o.startAngle,a=this,s=a.center,l=a.radiusX,d=a.radiusY,c=s.distanceTo(e),u=Math.atan2(e.y-s.y,e.x-s.x),h=l*d/Math.sqrt(zn(l,2)*zn(Math.sin(u),2)+zn(d,2)*zn(Math.cos(u),2)),p=this.pointAt(this.startAngle).round(Fn),f=this.pointAt(this.endAngle).round(Fn),m=H(s,e.round(Fn),p,f);return r<180?i=m&&L(s.distanceTo(m),c)&&L(c,h):(t=O(s.x,s.y,l,d,e.x,e.y),360!==t&&(t=(360+t)%360),n=o.startAngle<=t&&t<=o.endAngle,i=n&&L(c,h)||!n&&(!m||m.equals(e))),i},t.prototype._isOnPath=function(e,t){var n,i=this._arcInterval(),o=this.center,r=O(o.x,o.y,this.radiusX,this.radiusY,e.x,e.y);return 360!==r&&(r=(360+r)%360),n=i.startAngle<=r&&r<=i.endAngle,n&&this.pointAt(r).distanceTo(e)<=t},t.fromPoints=function(e,n,i,o,r,a,s){var l=N({x1:e.x,y1:e.y,x2:n.x,y2:n.y,rx:i,ry:o,largeArc:r,swipe:a,rotation:s});return new t(l.center,{startAngle:l.startAngle,endAngle:l.endAngle,radiusX:l.radiusX,radiusY:l.radiusY,xRotation:l.xRotation,anticlockwise:0===a})},t}(_n(nn,Bn)),Hn=[].push,On=[].pop,Nn=[].splice,Vn=[].shift,Wn=[].slice,Un=[].unshift,jn=function(e){function t(t){void 0===t&&(t=[]),e.call(this),this.length=0,this._splice(0,t.length,t)}return Yt(t,e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.fn=t.prototype,t.fn.init=t.fn.constructor,t.prototype.elements=function(e){return e?(this._splice(0,this.length,e),this._change(),this):this.slice(0)},t.prototype.push=function(){var e=arguments,t=Hn.apply(this,e);return this._add(e),t},t.prototype.slice=function(){return Wn.call(this)},t.prototype.pop=function(){var e=this.length,t=On.apply(this);return e&&this._remove([t]),t},t.prototype.splice=function(e,t){var n=Wn.call(arguments,2),i=this._splice(e,t,n);return this._change(),i},t.prototype.shift=function(){var e=this.length,t=Vn.apply(this);return e&&this._remove([t]),t},t.prototype.unshift=function(){var e=arguments,t=Un.apply(this,e);return this._add(e),t},t.prototype.indexOf=function(e){var t,n=this,i=this.length;for(t=0;t1)&&(o=0),r=Math.min(Math.max(c,u),1),(r>1||r<0)&&(r=1),{min:o,max:r}},t.prototype._intersectionsTo=function(e,t){var n;return n=this.controlOut()&&e.controlIn()?Y([this.anchor(),this.controlOut(),e.controlIn(),e.anchor()],t,this.bboxTo(e)):Q(this.anchor(),e.anchor(),t)},t.prototype._isOnCurveTo=function(e,t,n,i){var o,r,a,s,l,d,c,u=this.bboxTo(e).expand(n,n);if(u.containsPoint(t))return o=this.anchor(),r=this.controlOut(),a=e.controlIn(),s=e.anchor(),\"start\"===i&&o.distanceTo(t)<=n?!W(o,r,t):\"end\"===i&&s.distanceTo(t)<=n?!W(s,a,t):(l=[o,r,a,s],!(!K(l,t,\"x\",\"y\",n)&&!K(l,t,\"y\",\"x\",n))||(d=M().rotate(45,t),c=[o.transformCopy(d),r.transformCopy(d),a.transformCopy(d),s.transformCopy(d)],K(c,t,\"x\",\"y\",n)||K(c,t,\"y\",\"x\",n)))},t.prototype._isOnLineTo=function(e,t,n){var i=this.anchor(),o=e.anchor(),a=r(Math.atan2(o.y-i.y,o.x-i.x)),s=new kn([i.x,i.y-n/2],[i.distanceTo(o),n]);return s.containsPoint(t.transformCopy(M().rotate(-a,i)))},t.prototype._isOnPathTo=function(e,t,n,i){var o;return o=this.controlOut()&&e.controlIn()?this._isOnCurveTo(e,t,n/2,i):this._isOnLineTo(e,t,n)},t}($n(nn,Kn)),Qn={l:function(e,t){var n,i,o=t.parameters,r=t.position;for(n=0;n