===========================================================
                                      .___ __  __   
          _________________  __ __  __| _/|__|/  |_ 
         / ___\_` __ \__  \ |  |  \/ __ | | \\_  __\
        / /_/  >  | \// __ \|  |  / /_/ | |  ||  |  
        \___  /|__|  (____  /____/\____ | |__||__|  
       /_____/            \/           \/           
              grep rough audit - static analysis tool
                  v2.8 written by @Wireghoul
=================================[justanotherhacker.com]===
otrs2-6.0.30/bin/Cron.sh-38-# find otrs root
otrs2-6.0.30/bin/Cron.sh:39:cd "`dirname $0`/../"
otrs2-6.0.30/bin/Cron.sh-40-OTRS_HOME="`pwd`"
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/fullcalendar-3.10.2/fullcalendar.min.js-5- */
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/fullcalendar-3.10.2/fullcalendar.min.js:6:!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("moment"),require("jquery")):"function"==typeof define&&define.amd?define(["moment","jquery"],e):"object"==typeof exports?exports.FullCalendar=e(require("moment"),require("jquery")):t.FullCalendar=e(t.moment,t.jQuery)}("undefined"!=typeof self?self:this,function(t,e){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=256)}([function(e,n){e.exports=t},,function(t,e){var n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};e.__extends=function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}},function(t,n){t.exports=e},function(t,e,n){function r(t,e){e.left&&t.css({"border-left-width":1,"margin-left":e.left-1}),e.right&&t.css({"border-right-width":1,"margin-right":e.right-1})}function i(t){t.css({"margin-left":"","margin-right":"","border-left-width":"","border-right-width":""})}function o(){ht("body").addClass("fc-not-allowed")}function s(){ht("body").removeClass("fc-not-allowed")}function a(t,e,n){var r=Math.floor(e/t.length),i=Math.floor(e-r*(t.length-1)),o=[],s=[],a=[],u=0;l(t),t.each(function(e,n){var l=e===t.length-1?i:r,d=ht(n).outerHeight(!0);d<l?(o.push(n),s.push(d),a.push(ht(n).height())):u+=d}),n&&(e-=u,r=Math.floor(e/o.length),i=Math.floor(e-r*(o.length-1))),ht(o).each(function(t,e){var n=t===o.length-1?i:r,l=s[t],u=a[t],d=n-(l-u);l<n&&ht(e).height(d)})}function l(t){t.height("")}function u(t){var e=0;return t.find("> *").each(function(t,n){var r=ht(n).outerWidth();r>e&&(e=r)}),e++,t.width(e),e}function d(t,e){var n,r=t.add(e);return r.css({position:"relative",left:-1}),n=t.outerHeight()-e.outerHeight(),r.css({position:"",left:""}),n}function c(t){var e=t.css("position"),n=t.parents().filter(function(){var t=ht(this);return/(auto|scroll)/.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&n.length?n:ht(t[0].ownerDocument||document)}function p(t,e){var n=t.offset(),r=n.left-(e?e.left:0),i=n.top-(e?e.top:0);return{left:r,right:r+t.outerWidth(),top:i,bottom:i+t.outerHeight()}}function h(t,e){var n=t.offset(),r=g(t),i=n.left+b(t,"border-left-width")+r.left-(e?e.left:0),o=n.top+b(t,"border-top-width")+r.top-(e?e.top:0);return{left:i,right:i+t[0].clientWidth,top:o,bottom:o+t[0].clientHeight}}function f(t,e){var n=t.offset(),r=n.left+b(t,"border-left-width")+b(t,"padding-left")-(e?e.left:0),i=n.top+b(t,"border-top-width")+b(t,"padding-top")-(e?e.top:0);return{left:r,right:r+t.width(),top:i,bottom:i+t.height()}}function g(t){var e,n=t[0].offsetWidth-t[0].clientWidth,r=t[0].offsetHeight-t[0].clientHeight;return n=v(n),r=v(r),e={left:0,right:0,top:0,bottom:r},y()&&"rtl"===t.css("direction")?e.left=n:e.right=n,e}function v(t){return t=Math.max(0,t),t=Math.round(t)}function y(){return null===ft&&(ft=m()),ft}function m(){var t=ht("<div><div></div></div>").css({position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}).appendTo("body"),e=t.children(),n=e.offset().left>t.offset().left;return t.remove(),n}function b(t,e){return parseFloat(t.css(e))||0}function w(t){return 1===t.which&&!t.ctrlKey}function D(t){var e=t.originalEvent.touches;return e&&e.length?e[0].pageX:t.pageX}function E(t){var e=t.originalEvent.touches;return e&&e.length?e[0].pageY:t.pageY}function S(t){return/^touch/.test(t.type)}function C(t){t.addClass("fc-unselectable").on("selectstart",T)}function R(t){t.removeClass("fc-unselectable").off("selectstart",T)}function T(t){t.preventDefault()}function M(t,e){var n={left:Math.max(t.left,e.left),right:Math.min(t.right,e.right),top:Math.max(t.top,e.top),bottom:Math.min(t.bottom,e.bottom)};return n.left<n.right&&n.top<n.bottom&&n}function I(t,e){return{left:Math.min(Math.max(t.left,e.left),e.right),top:Math.min(Math.max(t.top,e.top),e.bottom)}}function H(t){return{left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}}function P(t,e){return{left:t.left-e.left,top:t.top-e.top}}function _(t){var e,n,r=[],i=[];for("string"==typeof t?i=t.split(/\s*,\s*/):"function"==typeof t?i=[t]:ht.isArray(t)&&(i=t),e=0;e<i.length;e++)n=i[e],"string"==typeof n?r.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"==typeof n&&r.push({func:n});return r}function x(t,e,n,r,i){var o,s;for(o=0;o<n.length;o++)if(s=O(t,e,n[o],r,i))return s;return 0}function O(t,e,n,r,i){if(n.func)return n.func(t,e);var o=t[n.field],s=e[n.field];return null==o&&r&&(o=r[n.field]),null==s&&i&&(s=i[n.field]),F(o,s)*(n.order||1)}function F(t,e){return t||e?null==e?-1:null==t?1:"string"===ht.type(t)||"string"===ht.type(e)?String(t).localeCompare(String(e)):t-e:0}function z(t,e){return pt.duration({days:t.clone().stripTime().diff(e.clone().stripTime(),"days"),ms:t.time()-e.time()})}function B(t,e){return pt.duration({days:t.clone().stripTime().diff(e.clone().stripTime(),"days")})}function A(t,e,n){return pt.duration(Math.round(t.diff(e,n,!0)),n)}function k(t,n){var r,i,o;for(r=0;r<e.unitsDesc.length&&(i=e.unitsDesc[r],!((o=V(i,t,n))>=1&&ut(o)));r++);return i}function L(t,e){var n=k(t);return"week"===n&&"object"==typeof e&&e.days&&(n="day"),n}function V(t,e,n){return null!=n?n.diff(e,t,!0):pt.isDuration(e)?e.as(t):e.end.diff(e.start,t,!0)}function G(t,e,n){var r;return U(n)?(e-t)/n:(r=n.asMonths(),Math.abs(r)>=1&&ut(r)?e.diff(t,"months",!0)/r:e.diff(t,"days",!0)/n.asDays())}function N(t,e){var n,r;return U(t)||U(e)?t/e:(n=t.asMonths(),r=e.asMonths(),Math.abs(n)>=1&&ut(n)&&Math.abs(r)>=1&&ut(r)?n/r:t.asDays()/e.asDays())}function j(t,e){var n;return U(t)?pt.duration(t*e):(n=t.asMonths(),Math.abs(n)>=1&&ut(n)?pt.duration({months:n*e}):pt.duration({days:t.asDays()*e}))}function U(t){return Boolean(t.hours()||t.minutes()||t.seconds()||t.milliseconds())}function W(t){return"[object Date]"===Object.prototype.toString.call(t)||t instanceof Date}function q(t){return"string"==typeof t&&/^\d+\:\d+(?:\:\d+\.?(?:\d{3})?)?$/.test(t)}function Y(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=window.console;if(n&&n.log)return n.log.apply(n,t)}function Z(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=window.console;return n&&n.warn?n.warn.apply(n,t):Y.apply(null,t)}function X(t,e){var n,r,i,o,s,a,l={};if(e)for(n=0;n<e.length;n++){for(r=e[n],i=[],o=t.length-1;o>=0;o--)if("object"==typeof(s=t[o][r]))i.unshift(s);else if(void 0!==s){l[r]=s;break}i.length&&(l[r]=X(i))}for(n=t.length-1;n>=0;n--){a=t[n];for(r in a)r in l||(l[r]=a[r])}return l}function Q(t,e){for(var n in t)$(t,n)&&(e[n]=t[n])}function $(t,e){return gt.call(t,e)}function K(t,e,n){if(ht.isFunction(t)&&(t=[t]),t){var r=void 0,i=void 0;for(r=0;r<t.length;r++)i=t[r].apply(e,n)||i;return i}}function J(t,e){for(var n=0,r=0;r<t.length;)e(t[r])?(t.splice(r,1),n++):r++;return n}function tt(t,e){for(var n=0,r=0;r<t.length;)t[r]===e?(t.splice(r,1),n++):r++;return n}function et(t,e){var n,r=t.length;if(null==r||r!==e.length)return!1;for(n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function nt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0;n<t.length;n++)if(void 0!==t[n])return t[n]}function rt(t){return(t+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#039;").replace(/"/g,"&quot;").replace(/\n/g,"<br>")}function it(t){return t.replace(/&.*?;/g,"")}function ot(t){var e=[];return ht.each(t,function(t,n){null!=n&&e.push(t+":"+n)}),e.join(";")}function st(t){var e=[];return ht.each(t,function(t,n){null!=n&&e.push(t+'="'+rt(n)+'"')}),e.join(" ")}function at(t){return t.charAt(0).toUpperCase()+t.slice(1)}function lt(t,e){return t-e}function ut(t){return t%1==0}function dt(t,e){var n=t[e];return function(){return n.apply(t,arguments)}}function ct(t,e,n){void 0===n&&(n=!1);var r,i,o,s,a,l=function(){var u=+new Date-s;u<e?r=setTimeout(l,e-u):(r=null,n||(a=t.apply(o,i),o=i=null))};return function(){o=this,i=arguments,s=+new Date;var u=n&&!r;return r||(r=setTimeout(l,e)),u&&(a=t.apply(o,i),o=i=null),a}}Object.defineProperty(e,"__esModule",{value:!0});var pt=n(0),ht=n(3);e.compensateScroll=r,e.uncompensateScroll=i,e.disableCursor=o,e.enableCursor=s,e.distributeHeight=a,e.undistributeHeight=l,e.matchCellWidths=u,e.subtractInnerElHeight=d,e.getScrollParent=c,e.getOuterRect=p,e.getClientRect=h,e.getContentRect=f,e.getScrollbarWidths=g;var ft=null;e.isPrimaryMouseButton=w,e.getEvX=D,e.getEvY=E,e.getEvIsTouch=S,e.preventSelection=C,e.allowSelection=R,e.preventDefault=T,e.intersectRects=M,e.constrainPoint=I,e.getRectCenter=H,e.diffPoints=P,e.parseFieldSpecs=_,e.compareByFieldSpecs=x,e.compareByFieldSpec=O,e.flexibleCompare=F,e.dayIDs=["sun","mon","tue","wed","thu","fri","sat"],e.unitsDesc=["year","month","week","day","hour","minute","second","millisecond"],e.diffDayTime=z,e.diffDay=B,e.diffByUnit=A,e.computeGreatestUnit=k,e.computeDurationGreatestUnit=L,e.divideRangeByDuration=G,e.divideDurationByDuration=N,e.multiplyDuration=j,e.durationHasTime=U,e.isNativeDate=W,e.isTimeString=q,e.log=Y,e.warn=Z;var gt={}.hasOwnProperty;e.mergeProps=X,e.copyOwnProps=Q,e.hasOwnProp=$,e.applyAll=K,e.removeMatching=J,e.removeExact=tt,e.isArraysEqual=et,e.firstDefined=nt,e.htmlEscape=rt,e.stripHtmlEntities=it,e.cssToStr=ot,e.attrsToStr=st,e.capitaliseFirstLetter=at,e.compareNumbers=lt,e.isInt=ut,e.proxy=dt,e.debounce=ct},function(t,e,n){function r(t,e){return t.startMs-e.startMs}Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(11),s=function(){function t(t,e){this.isStart=!0,this.isEnd=!0,i.isMoment(t)&&(t=t.clone().stripZone()),i.isMoment(e)&&(e=e.clone().stripZone()),t&&(this.startMs=t.valueOf()),e&&(this.endMs=e.valueOf())}return t.invertRanges=function(e,n){var i,o,s=[],a=n.startMs;for(e.sort(r),i=0;i<e.length;i++)o=e[i],o.startMs>a&&s.push(new t(a,o.startMs)),o.endMs>a&&(a=o.endMs);return a<n.endMs&&s.push(new t(a,n.endMs)),s},t.prototype.intersect=function(e){var n=this.startMs,r=this.endMs,i=null;return null!=e.startMs&&(n=null==n?e.startMs:Math.max(n,e.startMs)),null!=e.endMs&&(r=null==r?e.endMs:Math.min(r,e.endMs)),(null==n||null==r||n<r)&&(i=new t(n,r),i.isStart=this.isStart&&n===this.startMs,i.isEnd=this.isEnd&&r===this.endMs),i},t.prototype.intersectsWith=function(t){return(null==this.endMs||null==t.startMs||this.endMs>t.startMs)&&(null==this.startMs||null==t.endMs||this.startMs<t.endMs)},t.prototype.containsRange=function(t){return(null==this.startMs||null!=t.startMs&&t.startMs>=this.startMs)&&(null==this.endMs||null!=t.endMs&&t.endMs<=this.endMs)},t.prototype.containsDate=function(t){var e=t.valueOf();return(null==this.startMs||e>=this.startMs)&&(null==this.endMs||e<this.endMs)},t.prototype.constrainDate=function(t){var e=t.valueOf();return null!=this.startMs&&e<this.startMs&&(e=this.startMs),null!=this.endMs&&e>=this.endMs&&(e=this.endMs-1),e},t.prototype.equals=function(t){return this.startMs===t.startMs&&this.endMs===t.endMs},t.prototype.clone=function(){var e=new t(this.startMs,this.endMs);return e.isStart=this.isStart,e.isEnd=this.isEnd,e},t.prototype.getStart=function(){return null!=this.startMs?o.default.utc(this.startMs).stripZone():null},t.prototype.getEnd=function(){return null!=this.endMs?o.default.utc(this.endMs).stripZone():null},t.prototype.as=function(t){return i.utc(this.endMs).diff(i.utc(this.startMs),t,!0)},t}();e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(3),o=n(52),s=n(35),a=n(36),l=function(t){function e(n){var r=t.call(this)||this;return r.calendar=n,r.className=[],r.uid=String(e.uuid++),r}return r.__extends(e,t),e.parse=function(t,e){var n=new this(e);return!("object"!=typeof t||!n.applyProps(t))&&n},e.normalizeId=function(t){return t?String(t):null},e.prototype.fetch=function(t,e,n){},e.prototype.removeEventDefsById=function(t){},e.prototype.removeAllEventDefs=function(){},e.prototype.getPrimitive=function(t){},e.prototype.parseEventDefs=function(t){var e,n,r=[];for(e=0;e<t.length;e++)(n=this.parseEventDef(t[e]))&&r.push(n);return r},e.prototype.parseEventDef=function(t){var e=this.calendar.opt("eventDataTransform"),n=this.eventDataTransform;return e&&(t=e(t,this.calendar)),n&&(t=n(t,this.calendar)),a.default.parse(t,this)},e.prototype.applyManualStandardProps=function(t){return null!=t.id&&(this.id=e.normalizeId(t.id)),i.isArray(t.className)?this.className=t.className:"string"==typeof t.className&&(this.className=t.className.split(/\s+/)),!0},e.uuid=0,e.defineStandardProps=o.default.defineStandardProps,e.copyVerbatimStandardProps=o.default.copyVerbatimStandardProps,e}(s.default);e.default=l,o.default.mixInto(l),l.defineStandardProps({id:!1,className:!1,color:!0,backgroundColor:!0,borderColor:!0,textColor:!0,editable:!0,startEditable:!0,durationEditable:!0,rendering:!0,overlap:!0,constraint:!0,allDayDefault:!0,eventDataTransform:!0})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(3),o=n(15),s=0,a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.listenTo=function(t,e,n){if("object"==typeof e)for(var r in e)e.hasOwnProperty(r)&&this.listenTo(t,r,e[r]);else"string"==typeof e&&t.on(e+"."+this.getListenerNamespace(),i.proxy(n,this))},e.prototype.stopListeningTo=function(t,e){t.off((e||"")+"."+this.getListenerNamespace())},e.prototype.getListenerNamespace=function(){return null==this.listenerId&&(this.listenerId=s++),"_listener"+this.listenerId},e}(o.default);e.default=a},,function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(37),o=n(53),s=n(16),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.buildInstances=function(){return[this.buildInstance()]},e.prototype.buildInstance=function(){return new o.default(this,this.dateProfile)},e.prototype.isAllDay=function(){return this.dateProfile.isAllDay()},e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e.dateProfile=this.dateProfile,e},e.prototype.rezone=function(){var t=this.source.calendar,e=this.dateProfile;this.dateProfile=new s.default(t.moment(e.start),e.end?t.moment(e.end):null,t)},e.prototype.applyManualStandardProps=function(e){var n=t.prototype.applyManualStandardProps.call(this,e),r=s.default.parse(e,this.source);return!!r&&(this.dateProfile=r,null!=e.date&&(this.miscProps.date=e.date),n)},e}(i.default);e.default=a,a.defineStandardProps({start:!1,date:!1,end:!1,allDay:!1})},,function(t,e,n){function r(t,e){return c.format.call(t,e)}function i(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var r,i,d,c,p=t[0],h=1===t.length&&"string"==typeof p;return o.isMoment(p)||a.isNativeDate(p)||void 0===p?c=o.apply(null,t):(r=!1,i=!1,h?l.test(p)?(p+="-01",t=[p],r=!0,i=!0):(d=u.exec(p))&&(r=!d[5],i=!0):s.isArray(p)&&(i=!0),c=e||r?o.utc.apply(o,t):o.apply(null,t),r?(c._ambigTime=!0,c._ambigZone=!0):n&&(i?c._ambigZone=!0:h&&c.utcOffset(p))),c._fullCalendar=!0,c}Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),s=n(3),a=n(4),l=/^\s*\d{4}-\d\d$/,u=/^\s*\d{4}-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?)?$/,d=o.fn;e.newMomentProto=d;var c=s.extend({},d);e.oldMomentProto=c;var p=o.momentProperties;p.push("_fullCalendar"),p.push("_ambigTime"),p.push("_ambigZone"),e.oldMomentFormat=r;var h=function(){return i(arguments)};e.default=h,h.utc=function(){var t=i(arguments,!0);return t.hasTime()&&t.utc(),t},h.parseZone=function(){return i(arguments,!0,!0)},d.week=d.weeks=function(t){var e=this._locale._fullCalendar_weekCalc;return null==t&&"function"==typeof e?e(this):"ISO"===e?c.isoWeek.apply(this,arguments):c.week.apply(this,arguments)},d.time=function(t){if(!this._fullCalendar)return c.time.apply(this,arguments);if(null==t)return o.duration({hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()});this._ambigTime=!1,o.isDuration(t)||o.isMoment(t)||(t=o.duration(t));var e=0;return o.isDuration(t)&&(e=24*Math.floor(t.asDays())),this.hours(e+t.hours()).minutes(t.minutes()).seconds(t.seconds()).milliseconds(t.milliseconds())},d.stripTime=function(){return this._ambigTime||(this.utc(!0),this.set({hours:0,minutes:0,seconds:0,ms:0}),this._ambigTime=!0,this._ambigZone=!0),this},d.hasTime=function(){return!this._ambigTime},d.stripZone=function(){var t;return this._ambigZone||(t=this._ambigTime,this.utc(!0),this._ambigTime=t||!1,this._ambigZone=!0),this},d.hasZone=function(){return!this._ambigZone},d.local=function(t){return c.local.call(this,this._ambigZone||t),this._ambigTime=!1,this._ambigZone=!1,this},d.utc=function(t){return c.utc.call(this,t),this._ambigTime=!1,this._ambigZone=!1,this},d.utcOffset=function(t){return null!=t&&(this._ambigTime=!1,this._ambigZone=!1),c.utcOffset.apply(this,arguments)}},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){this.isAllDay=!1,this.unzonedRange=t,this.isAllDay=e}return t.prototype.toLegacy=function(t){return{start:t.msToMoment(this.unzonedRange.startMs,this.isAllDay),end:t.msToMoment(this.unzonedRange.endMs,this.isAllDay)}},t}();e.default=n},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(3),o=n(15),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.on=function(t,e){return i(this).on(t,this._prepareIntercept(e)),this},e.prototype.one=function(t,e){return i(this).one(t,this._prepareIntercept(e)),this},e.prototype._prepareIntercept=function(t){var e=function(e,n){return t.apply(n.context||this,n.args||[])};return t.guid||(t.guid=i.guid++),e.guid=t.guid,e},e.prototype.off=function(t,e){return i(this).off(t,e),this},e.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return i(this).triggerHandler(t,{args:e}),this},e.prototype.triggerWith=function(t,e,n){return i(this).triggerHandler(t,{context:e,args:n}),this},e.prototype.hasHandlers=function(t){var e=i._data(this,"events");return e&&e[t]&&e[t].length>0},e}(o.default);e.default=s},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){this.view=t._getView(),this.component=t}return t.prototype.opt=function(t){return this.view.opt(t)},t.prototype.end=function(){},t}();e.default=n},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(){}return t.mixInto=function(t){var e=this;Object.getOwnPropertyNames(this.prototype).forEach(function(n){t.prototype[n]||(t.prototype[n]=e.prototype[n])})},t.mixOver=function(t){var e=this;Object.getOwnPropertyNames(this.prototype).forEach(function(n){t.prototype[n]=e.prototype[n]})},t}();e.default=n},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(5),i=function(){function t(t,e,n){this.start=t,this.end=e||null,this.unzonedRange=this.buildUnzonedRange(n)}return t.parse=function(e,n){var r=e.start||e.date,i=e.end;if(!r)return!1;var o=n.calendar,s=o.moment(r),a=i?o.moment(i):null,l=e.allDay,u=o.opt("forceEventDuration");return!!s.isValid()&&(null==l&&null==(l=n.allDayDefault)&&(l=o.opt("allDayDefault")),!0===l?(s.stripTime(),a&&a.stripTime()):!1===l&&(s.hasTime()||s.time(0),a&&!a.hasTime()&&a.time(0)),!a||a.isValid()&&a.isAfter(s)||(a=null),!a&&u&&(a=o.getDefaultEventEnd(!s.hasTime(),s)),new t(s,a,o))},t.isStandardProp=function(t){return"start"===t||"date"===t||"end"===t||"allDay"===t},t.prototype.isAllDay=function(){return!(this.start.hasTime()||this.end&&this.end.hasTime())},t.prototype.buildUnzonedRange=function(t){var e=this.start.clone().stripZone().valueOf(),n=this.getEnd(t).stripZone().valueOf();return new r.default(e,n)},t.prototype.getEnd=function(t){return this.end?this.end.clone():t.getDefaultEventEnd(this.isAllDay(),this.start)},t}();e.default=i},function(t,e,n){function r(t,e){return!t&&!e||!(!t||!e)&&(t.component===e.component&&i(t,e)&&i(e,t))}function i(t,e){for(var n in t)if(!/^(component|left|right|top|bottom)$/.test(n)&&t[n]!==e[n])return!1;return!0}Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),s=n(4),a=n(59),l=function(t){function e(e,n){var r=t.call(this,n)||this;return r.component=e,r}return o.__extends(e,t),e.prototype.handleInteractionStart=function(e){var n,r,i,o=this.subjectEl;this.component.hitsNeeded(),this.computeScrollBounds(),e?(r={left:s.getEvX(e),top:s.getEvY(e)},i=r,o&&(n=s.getOuterRect(o),i=s.constrainPoint(i,n)),this.origHit=this.queryHit(i.left,i.top),o&&this.options.subjectCenter&&(this.origHit&&(n=s.intersectRects(this.origHit,n)||n),i=s.getRectCenter(n)),this.coordAdjust=s.diffPoints(i,r)):(this.origHit=null,this.coordAdjust=null),t.prototype.handleInteractionStart.call(this,e)},e.prototype.handleDragStart=function(e){var n;t.prototype.handleDragStart.call(this,e),(n=this.queryHit(s.getEvX(e),s.getEvY(e)))&&this.handleHitOver(n)},e.prototype.handleDrag=function(e,n,i){var o;t.prototype.handleDrag.call(this,e,n,i),o=this.queryHit(s.getEvX(i),s.getEvY(i)),r(o,this.hit)||(this.hit&&this.handleHitOut(),o&&this.handleHitOver(o))},e.prototype.handleDragEnd=function(e){this.handleHitDone(),t.prototype.handleDragEnd.call(this,e)},e.prototype.handleHitOver=function(t){var e=r(t,this.origHit);this.hit=t,this.trigger("hitOver",this.hit,e,this.origHit)},e.prototype.handleHitOut=function(){this.hit&&(this.trigger("hitOut",this.hit),this.handleHitDone(),this.hit=null)},e.prototype.handleHitDone=function(){this.hit&&this.trigger("hitDone",this.hit)},e.prototype.handleInteractionEnd=function(e,n){t.prototype.handleInteractionEnd.call(this,e,n),this.origHit=null,this.hit=null,this.component.hitsNotNeeded()},e.prototype.handleScrollEnd=function(){t.prototype.handleScrollEnd.call(this),this.isDragging&&(this.component.releaseHits(),this.component.prepareHits())},e.prototype.queryHit=function(t,e){return this.coordAdjust&&(t+=this.coordAdjust.left,e+=this.coordAdjust.top),this.component.queryHit(t,e)},e}(a.default);e.default=l},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.version="3.10.2",e.internalApiVersion=12;var r=n(4);e.applyAll=r.applyAll,e.debounce=r.debounce,e.isInt=r.isInt,e.htmlEscape=r.htmlEscape,e.cssToStr=r.cssToStr,e.proxy=r.proxy,e.capitaliseFirstLetter=r.capitaliseFirstLetter,e.getOuterRect=r.getOuterRect,e.getClientRect=r.getClientRect,e.getContentRect=r.getContentRect,e.getScrollbarWidths=r.getScrollbarWidths,e.preventDefault=r.preventDefault,e.parseFieldSpecs=r.parseFieldSpecs,e.compareByFieldSpecs=r.compareByFieldSpecs,e.compareByFieldSpec=r.compareByFieldSpec,e.flexibleCompare=r.flexibleCompare,e.computeGreatestUnit=r.computeGreatestUnit,e.divideRangeByDuration=r.divideRangeByDuration,e.divideDurationByDuration=r.divideDurationByDuration,e.multiplyDuration=r.multiplyDuration,e.durationHasTime=r.durationHasTime,e.log=r.log,e.warn=r.warn,e.removeExact=r.removeExact,e.intersectRects=r.intersectRects,e.allowSelection=r.allowSelection,e.attrsToStr=r.attrsToStr,e.compareNumbers=r.compareNumbers,e.compensateScroll=r.compensateScroll,e.computeDurationGreatestUnit=r.computeDurationGreatestUnit,e.constrainPoint=r.constrainPoint,e.copyOwnProps=r.copyOwnProps,e.diffByUnit=r.diffByUnit,e.diffDay=r.diffDay,e.diffDayTime=r.diffDayTime,e.diffPoints=r.diffPoints,e.disableCursor=r.disableCursor,e.distributeHeight=r.distributeHeight,e.enableCursor=r.enableCursor,e.firstDefined=r.firstDefined,e.getEvIsTouch=r.getEvIsTouch,e.getEvX=r.getEvX,e.getEvY=r.getEvY,e.getRectCenter=r.getRectCenter,e.getScrollParent=r.getScrollParent,e.hasOwnProp=r.hasOwnProp,e.isArraysEqual=r.isArraysEqual,e.isNativeDate=r.isNativeDate,e.isPrimaryMouseButton=r.isPrimaryMouseButton,e.isTimeString=r.isTimeString,e.matchCellWidths=r.matchCellWidths,e.mergeProps=r.mergeProps,e.preventSelection=r.preventSelection,e.removeMatching=r.removeMatching,e.stripHtmlEntities=r.stripHtmlEntities,e.subtractInnerElHeight=r.subtractInnerElHeight,e.uncompensateScroll=r.uncompensateScroll,e.undistributeHeight=r.undistributeHeight,e.dayIDs=r.dayIDs,e.unitsDesc=r.unitsDesc;var i=n(49);e.formatDate=i.formatDate,e.formatRange=i.formatRange,e.queryMostGranularFormatUnit=i.queryMostGranularFormatUnit;var o=n(32);e.datepickerLocale=o.datepickerLocale,e.locale=o.locale,e.getMomentLocaleData=o.getMomentLocaleData,e.populateInstanceComputableOptions=o.populateInstanceComputableOptions;var s=n(19);e.eventDefsToEventInstances=s.eventDefsToEventInstances,e.eventFootprintToComponentFootprint=s.eventFootprintToComponentFootprint,e.eventInstanceToEventRange=s.eventInstanceToEventRange,e.eventInstanceToUnzonedRange=s.eventInstanceToUnzonedRange,e.eventRangeToEventFootprint=s.eventRangeToEventFootprint;var a=n(11);e.moment=a.default;var l=n(13);e.EmitterMixin=l.default;var u=n(7);e.ListenerMixin=u.default;var d=n(51);e.Model=d.default;var c=n(217);e.Constraints=c.default;var p=n(55);e.DateProfileGenerator=p.default;var h=n(5);e.UnzonedRange=h.default;var f=n(12);e.ComponentFootprint=f.default;var g=n(218);e.BusinessHourGenerator=g.default;var v=n(219);e.EventPeriod=v.default;var y=n(220);e.EventManager=y.default;var m=n(37);e.EventDef=m.default;var b=n(39);e.EventDefMutation=b.default;var w=n(36);e.EventDefParser=w.default;var D=n(53);e.EventInstance=D.default;var E=n(50);e.EventRange=E.default;var S=n(54);e.RecurringEventDef=S.default;var C=n(9);e.SingleEventDef=C.default;var R=n(40);e.EventDefDateMutation=R.default;var T=n(16);e.EventDateProfile=T.default;var M=n(38);e.EventSourceParser=M.default;var I=n(6);e.EventSource=I.default;var H=n(57);e.defineThemeSystem=H.defineThemeSystem,e.getThemeSystemClass=H.getThemeSystemClass;var P=n(20);e.EventInstanceGroup=P.default;var _=n(56);e.ArrayEventSource=_.default;var x=n(223);e.FuncEventSource=x.default;var O=n(224);e.JsonFeedEventSource=O.default;var F=n(34);e.EventFootprint=F.default;var z=n(35);e.Class=z.default;var B=n(15);e.Mixin=B.default;var A=n(58);e.CoordCache=A.default;var k=n(225);e.Iterator=k.default;var L=n(59);e.DragListener=L.default;var V=n(17);e.HitDragListener=V.default;var G=n(226);e.MouseFollower=G.default;var N=n(52);e.ParsableModelMixin=N.default;var j=n(227);e.Popover=j.default;var U=n(21);e.Promise=U.default;var W=n(228);e.TaskQueue=W.default;var q=n(229);e.RenderQueue=q.default;var Y=n(41);e.Scroller=Y.default;var Z=n(22);e.Theme=Z.default;var X=n(230);e.Component=X.default;var Q=n(231);e.DateComponent=Q.default;var $=n(42);e.InteractiveDateComponent=$.default;var K=n(232);e.Calendar=K.default;var J=n(43);e.View=J.default;var tt=n(24);e.defineView=tt.defineView,e.getViewConfig=tt.getViewConfig;var et=n(60);e.DayTableMixin=et.default;var nt=n(61);e.BusinessHourRenderer=nt.default;var rt=n(44);e.EventRenderer=rt.default;var it=n(62);e.FillRenderer=it.default;var ot=n(63);e.HelperRenderer=ot.default;var st=n(233);e.ExternalDropping=st.default;var at=n(234);e.EventResizing=at.default;var lt=n(64);e.EventPointing=lt.default;var ut=n(235);e.EventDragging=ut.default;var dt=n(236);e.DateSelecting=dt.default;var ct=n(237);e.DateClicking=ct.default;var pt=n(14);e.Interaction=pt.default;var ht=n(65);e.StandardInteractionsMixin=ht.default;var ft=n(238);e.AgendaView=ft.default;var gt=n(239);e.TimeGrid=gt.default;var vt=n(240);e.TimeGridEventRenderer=vt.default;var yt=n(242);e.TimeGridFillRenderer=yt.default;var mt=n(241);e.TimeGridHelperRenderer=mt.default;var bt=n(66);e.DayGrid=bt.default;var wt=n(243);e.DayGridEventRenderer=wt.default;var Dt=n(245);e.DayGridFillRenderer=Dt.default;var Et=n(244);e.DayGridHelperRenderer=Et.default;var St=n(67);e.BasicView=St.default;var Ct=n(68);e.BasicViewDateProfileGenerator=Ct.default;var Rt=n(246);e.MonthView=Rt.default;var Tt=n(247);e.MonthViewDateProfileGenerator=Tt.default;var Mt=n(248);e.ListView=Mt.default;var It=n(250);e.ListEventPointing=It.default;var Ht=n(249);e.ListEventRenderer=Ht.default},function(t,e,n){function r(t,e){var n,r=[];for(n=0;n<t.length;n++)r.push.apply(r,t[n].buildInstances(e));return r}function i(t){return new l.default(t.dateProfile.unzonedRange,t.def,t)}function o(t){return new u.default(new d.default(t.unzonedRange,t.eventDef.isAllDay()),t.eventDef,t.eventInstance)}function s(t){return t.dateProfile.unzonedRange}function a(t){return t.componentFootprint}Object.defineProperty(e,"__esModule",{value:!0});var l=n(50),u=n(34),d=n(12);e.eventDefsToEventInstances=r,e.eventInstanceToEventRange=i,e.eventRangeToEventFootprint=o,e.eventInstanceToUnzonedRange=s,e.eventFootprintToComponentFootprint=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(5),i=n(19),o=n(50),s=function(){function t(t){this.eventInstances=t||[]}return t.prototype.getAllEventRanges=function(t){return t?this.sliceNormalRenderRanges(t):this.eventInstances.map(i.eventInstanceToEventRange)},t.prototype.sliceRenderRanges=function(t){return this.isInverse()?this.sliceInverseRenderRanges(t):this.sliceNormalRenderRanges(t)},t.prototype.sliceNormalRenderRanges=function(t){var e,n,r,i=this.eventInstances,s=[];for(e=0;e<i.length;e++)n=i[e],(r=n.dateProfile.unzonedRange.intersect(t))&&s.push(new o.default(r,n.def,n));return s},t.prototype.sliceInverseRenderRanges=function(t){var e=this.eventInstances.map(i.eventInstanceToUnzonedRange),n=this.getEventDef();return e=r.default.invertRanges(e,t),e.map(function(t){return new o.default(t,n)})},t.prototype.isInverse=function(){return this.getEventDef().hasInverseRendering()},t.prototype.getEventDef=function(){return this.explicitEventDef||this.eventInstances[0].def},t}();e.default=s},function(t,e,n){function r(t,e){t.then=function(n){return"function"==typeof n?s.resolve(n(e)):t}}function i(t){t.then=function(e,n){return"function"==typeof n&&n(),t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(3),s={construct:function(t){var e=o.Deferred(),n=e.promise();return"function"==typeof t&&t(function(t){e.resolve(t),r(n,t)},function(){e.reject(),i(n)}),n},resolve:function(t){var e=o.Deferred().resolve(t),n=e.promise();return r(n,t),n},reject:function(){var t=o.Deferred().reject(),e=t.promise();return i(e),e}};e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),i=function(){function t(t){this.optionsManager=t,this.processIconOverride()}return t.prototype.processIconOverride=function(){this.iconOverrideOption&&this.setIconOverride(this.optionsManager.get(this.iconOverrideOption))},t.prototype.setIconOverride=function(t){var e,n;if(r.isPlainObject(t)){e=r.extend({},this.iconClasses);for(n in t)e[n]=this.applyIconOverridePrefix(t[n]);this.iconClasses=e}else!1===t&&(this.iconClasses={})},t.prototype.applyIconOverridePrefix=function(t){var e=this.iconOverridePrefix;return e&&0!==t.indexOf(e)&&(t=e+t),t},t.prototype.getClass=function(t){return this.classes[t]||""},t.prototype.getIconClass=function(t){var e=this.iconClasses[t];return e?this.baseIconClass+" "+e:""},t.prototype.getCustomButtonIconClass=function(t){var e;return this.iconOverrideCustomButtonOption&&(e=t[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(e):""},t}();e.default=i,i.prototype.classes={},i.prototype.iconClasses={},i.prototype.baseIconClass="",i.prototype.iconOverridePrefix=""},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),i=n(18),o=n(13),s=n(7);i.touchMouseIgnoreWait=500;var a=null,l=0,u=function(){function t(){this.isTouching=!1,this.mouseIgnoreDepth=0}return t.get=function(){return a||(a=new t,a.bind()),a},t.needed=function(){t.get(),l++},t.unneeded=function(){--l||(a.unbind(),a=null)},t.prototype.bind=function(){var t=this;this.listenTo(r(document),{touchstart:this.handleTouchStart,
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/fullcalendar-3.10.2/fullcalendar.min.js-7-touchcancel:this.handleTouchCancel,touchend:this.handleTouchEnd,mousedown:this.handleMouseDown,mousemove:this.handleMouseMove,mouseup:this.handleMouseUp,click:this.handleClick,selectstart:this.handleSelectStart,contextmenu:this.handleContextMenu}),window.addEventListener("touchmove",this.handleTouchMoveProxy=function(e){t.handleTouchMove(r.Event(e))},{passive:!1}),window.addEventListener("scroll",this.handleScrollProxy=function(e){t.handleScroll(r.Event(e))},!0)},t.prototype.unbind=function(){this.stopListeningTo(r(document)),window.removeEventListener("touchmove",this.handleTouchMoveProxy,{passive:!1}),window.removeEventListener("scroll",this.handleScrollProxy,!0)},t.prototype.handleTouchStart=function(t){this.stopTouch(t,!0),this.isTouching=!0,this.trigger("touchstart",t)},t.prototype.handleTouchMove=function(t){this.isTouching&&this.trigger("touchmove",t)},t.prototype.handleTouchCancel=function(t){this.isTouching&&(this.trigger("touchcancel",t),this.stopTouch(t))},t.prototype.handleTouchEnd=function(t){this.stopTouch(t)},t.prototype.handleMouseDown=function(t){this.shouldIgnoreMouse()||this.trigger("mousedown",t)},t.prototype.handleMouseMove=function(t){this.shouldIgnoreMouse()||this.trigger("mousemove",t)},t.prototype.handleMouseUp=function(t){this.shouldIgnoreMouse()||this.trigger("mouseup",t)},t.prototype.handleClick=function(t){this.shouldIgnoreMouse()||this.trigger("click",t)},t.prototype.handleSelectStart=function(t){this.trigger("selectstart",t)},t.prototype.handleContextMenu=function(t){this.trigger("contextmenu",t)},t.prototype.handleScroll=function(t){this.trigger("scroll",t)},t.prototype.stopTouch=function(t,e){void 0===e&&(e=!1),this.isTouching&&(this.isTouching=!1,this.trigger("touchend",t),e||this.startTouchMouseIgnore())},t.prototype.startTouchMouseIgnore=function(){var t=this,e=i.touchMouseIgnoreWait;e&&(this.mouseIgnoreDepth++,setTimeout(function(){t.mouseIgnoreDepth--},e))},t.prototype.shouldIgnoreMouse=function(){return this.isTouching||Boolean(this.mouseIgnoreDepth)},t}();e.default=u,s.default.mixInto(u),o.default.mixInto(u)},function(t,e,n){function r(t,n){e.viewHash[t]=n}function i(t){return e.viewHash[t]}Object.defineProperty(e,"__esModule",{value:!0});var o=n(18);e.viewHash={},o.views=e.viewHash,e.defineView=r,e.getViewConfig=i},,,,,,,,function(t,e,n){function r(t){a.each(f,function(e,n){null==t[e]&&(t[e]=n(t))})}function i(t,n,r){var i=e.localeOptionHash[t]||(e.localeOptionHash[t]={});i.isRTL=r.isRTL,i.weekNumberTitle=r.weekHeader,a.each(p,function(t,e){i[t]=e(r)});var o=a.datepicker;o&&(o.regional[n]=o.regional[t]=r,o.regional.en=o.regional[""],o.setDefaults(r))}function o(t,n){var r,i;r=e.localeOptionHash[t]||(e.localeOptionHash[t]={}),n&&(r=e.localeOptionHash[t]=d.mergeOptions([r,n])),i=s(t),a.each(h,function(t,e){null==r[t]&&(r[t]=e(i,r))}),d.globalDefaults.locale=t}function s(t){return l.localeData(t)||l.localeData("en")}Object.defineProperty(e,"__esModule",{value:!0});var a=n(3),l=n(0),u=n(18),d=n(33),c=n(4);e.localeOptionHash={},u.locales=e.localeOptionHash;var p={buttonText:function(t){return{prev:c.stripHtmlEntities(t.prevText),next:c.stripHtmlEntities(t.nextText),today:c.stripHtmlEntities(t.currentText)}},monthYearFormat:function(t){return t.showMonthAfterYear?"YYYY["+t.yearSuffix+"] MMMM":"MMMM YYYY["+t.yearSuffix+"]"}},h={dayOfMonthFormat:function(t,e){var n=t.longDateFormat("l");return n=n.replace(/^Y+[^\w\s]*|[^\w\s]*Y+$/g,""),e.isRTL?n+=" ddd":n="ddd "+n,n},mediumTimeFormat:function(t){return t.longDateFormat("LT").replace(/\s*a$/i,"a")},smallTimeFormat:function(t){return t.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"a")},extraSmallTimeFormat:function(t){return t.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"t")},hourFormat:function(t){return t.longDateFormat("LT").replace(":mm","").replace(/(\Wmm)$/,"").replace(/\s*a$/i,"a")},noMeridiemTimeFormat:function(t){return t.longDateFormat("LT").replace(/\s*a$/i,"")}},f={smallDayDateFormat:function(t){return t.isRTL?"D dd":"dd D"},weekFormat:function(t){return t.isRTL?"w[ "+t.weekNumberTitle+"]":"["+t.weekNumberTitle+" ]w"},smallWeekFormat:function(t){return t.isRTL?"w["+t.weekNumberTitle+"]":"["+t.weekNumberTitle+"]w"}};e.populateInstanceComputableOptions=r,e.datepickerLocale=i,e.locale=o,e.getMomentLocaleData=s,o("en",d.englishDefaults)},function(t,e,n){function r(t){return i.mergeProps(t,o)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(4);e.globalDefaults={titleRangeSeparator:" – ",monthYearFormat:"MMMM YYYY",defaultTimedEventDuration:"02:00:00",defaultAllDayEventDuration:{days:1},forceEventDuration:!1,nextDayThreshold:"09:00:00",columnHeader:!0,defaultView:"month",aspectRatio:1.35,header:{left:"title",center:"",right:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberTitle:"W",weekNumberCalculation:"local",scrollTime:"06:00:00",minTime:"00:00:00",maxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timezoneParam:"timezone",timezone:!1,locale:null,isRTL:!1,buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day"},allDayText:"all-day",agendaEventMinHeight:0,theme:!1,dragOpacity:.75,dragRevertDuration:500,dragScroll:!0,unselectAuto:!0,dropAccept:"*",eventOrder:"title",eventLimit:!1,eventLimitText:"more",eventLimitClick:"popover",dayPopoverFormat:"LL",handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3},e.englishDefaults={dayPopoverFormat:"dddd, MMMM D"},e.rtlDefaults={header:{left:"next,prev today",center:"",right:"title"},buttonIcons:{prev:"right-single-arrow",next:"left-single-arrow",prevYear:"right-double-arrow",nextYear:"left-double-arrow"},themeButtonIcons:{prev:"circle-triangle-e",next:"circle-triangle-w",nextYear:"seek-prev",prevYear:"seek-next"}};var o=["header","footer","buttonText","buttonIcons","themeButtonIcons"];e.mergeOptions=r},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e,n){this.componentFootprint=t,this.eventDef=e,n&&(this.eventInstance=n)}return t.prototype.getEventLegacy=function(){return(this.eventInstance||this.eventDef).toLegacy()},t}();e.default=n},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(4),o=function(){function t(){}return t.extend=function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e}(this);return i.copyOwnProps(t,e.prototype),e},t.mixin=function(t){i.copyOwnProps(t,this.prototype)},t}();e.default=o},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(4),o=n(9),s=n(54);e.default={parse:function(t,e){return i.isTimeString(t.start)||r.isDuration(t.start)||i.isTimeString(t.end)||r.isDuration(t.end)?s.default.parse(t,e):o.default.parse(t,e)}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),i=n(52),o=function(){function t(t){this.source=t,this.className=[],this.miscProps={}}return t.parse=function(t,e){var n=new this(e);return!!n.applyProps(t)&&n},t.normalizeId=function(t){return String(t)},t.generateId=function(){return"_fc"+t.uuid++},t.prototype.clone=function(){var e=new this.constructor(this.source);return e.id=this.id,e.rawId=this.rawId,e.uid=this.uid,t.copyVerbatimStandardProps(this,e),e.className=this.className.slice(),e.miscProps=r.extend({},this.miscProps),e},t.prototype.hasInverseRendering=function(){return"inverse-background"===this.getRendering()},t.prototype.hasBgRendering=function(){var t=this.getRendering();return"inverse-background"===t||"background"===t},t.prototype.getRendering=function(){return null!=this.rendering?this.rendering:this.source.rendering},t.prototype.getConstraint=function(){return null!=this.constraint?this.constraint:null!=this.source.constraint?this.source.constraint:this.source.calendar.opt("eventConstraint")},t.prototype.getOverlap=function(){return null!=this.overlap?this.overlap:null!=this.source.overlap?this.source.overlap:this.source.calendar.opt("eventOverlap")},t.prototype.isStartExplicitlyEditable=function(){return null!=this.startEditable?this.startEditable:this.source.startEditable},t.prototype.isDurationExplicitlyEditable=function(){return null!=this.durationEditable?this.durationEditable:this.source.durationEditable},t.prototype.isExplicitlyEditable=function(){return null!=this.editable?this.editable:this.source.editable},t.prototype.toLegacy=function(){var e=r.extend({},this.miscProps);return e._id=this.uid,e.source=this.source,e.className=this.className.slice(),e.allDay=this.isAllDay(),null!=this.rawId&&(e.id=this.rawId),t.copyVerbatimStandardProps(this,e),e},t.prototype.applyManualStandardProps=function(e){return null!=e.id?this.id=t.normalizeId(this.rawId=e.id):this.id=t.generateId(),null!=e._id?this.uid=String(e._id):this.uid=t.generateId(),r.isArray(e.className)&&(this.className=e.className),"string"==typeof e.className&&(this.className=e.className.split(/\s+/)),!0},t.prototype.applyMiscProps=function(t){r.extend(this.miscProps,t)},t.uuid=0,t.defineStandardProps=i.default.defineStandardProps,t.copyVerbatimStandardProps=i.default.copyVerbatimStandardProps,t}();e.default=o,i.default.mixInto(o),o.defineStandardProps({_id:!1,id:!1,className:!1,source:!1,title:!0,url:!0,rendering:!0,constraint:!0,overlap:!0,editable:!0,startEditable:!0,durationEditable:!0,color:!0,backgroundColor:!0,borderColor:!0,textColor:!0})},function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default={sourceClasses:[],registerClass:function(t){this.sourceClasses.unshift(t)},parse:function(t,e){var n,r,i=this.sourceClasses;for(n=0;n<i.length;n++)if(r=i[n].parse(t,e))return r}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(16),o=n(37),s=n(40),a=n(9),l=function(){function t(){}return t.createFromRawProps=function(e,n,a){var l,u,d,c,p=e.def,h={},f={},g={},v={},y=null,m=null;for(l in n)i.default.isStandardProp(l)?h[l]=n[l]:p.isStandardProp(l)?f[l]=n[l]:p.miscProps[l]!==n[l]&&(g[l]=n[l]);return u=i.default.parse(h,p.source),u&&(d=s.default.createFromDiff(e.dateProfile,u,a)),f.id!==p.id&&(y=f.id),r.isArraysEqual(f.className,p.className)||(m=f.className),o.default.copyVerbatimStandardProps(f,v),c=new t,c.eventDefId=y,c.className=m,c.verbatimStandardProps=v,c.miscProps=g,d&&(c.dateMutation=d),c},t.prototype.mutateSingle=function(t){var e;return this.dateMutation&&(e=t.dateProfile,t.dateProfile=this.dateMutation.buildNewDateProfile(e,t.source.calendar)),null!=this.eventDefId&&(t.id=o.default.normalizeId(t.rawId=this.eventDefId)),this.className&&(t.className=this.className),this.verbatimStandardProps&&a.default.copyVerbatimStandardProps(this.verbatimStandardProps,t),this.miscProps&&t.applyMiscProps(this.miscProps),e?function(){t.dateProfile=e}:function(){}},t.prototype.setDateMutation=function(t){t&&!t.isEmpty()?this.dateMutation=t:this.dateMutation=null},t.prototype.isEmpty=function(){return!this.dateMutation},t}();e.default=l},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(16),o=function(){function t(){this.clearEnd=!1,this.forceTimed=!1,this.forceAllDay=!1}return t.createFromDiff=function(e,n,i){function o(t,e){return i?r.diffByUnit(t,e,i):n.isAllDay()?r.diffDay(t,e):r.diffDayTime(t,e)}var s,a,l,u,d=e.end&&!n.end,c=e.isAllDay()&&!n.isAllDay(),p=!e.isAllDay()&&n.isAllDay();return s=o(n.start,e.start),n.end&&(a=o(n.unzonedRange.getEnd(),e.unzonedRange.getEnd()),l=a.subtract(s)),u=new t,u.clearEnd=d,u.forceTimed=c,u.forceAllDay=p,u.setDateDelta(s),u.setEndDelta(l),u},t.prototype.buildNewDateProfile=function(t,e){var n=t.start.clone(),r=null,o=!1;return t.end&&!this.clearEnd?r=t.end.clone():this.endDelta&&!r&&(r=e.getDefaultEventEnd(t.isAllDay(),n)),this.forceTimed?(o=!0,n.hasTime()||n.time(0),r&&!r.hasTime()&&r.time(0)):this.forceAllDay&&(n.hasTime()&&n.stripTime(),r&&r.hasTime()&&r.stripTime()),this.dateDelta&&(o=!0,n.add(this.dateDelta),r&&r.add(this.dateDelta)),this.endDelta&&(o=!0,r.add(this.endDelta)),this.startDelta&&(o=!0,n.add(this.startDelta)),o&&(n=e.applyTimezone(n),r&&(r=e.applyTimezone(r))),!r&&e.opt("forceEventDuration")&&(r=e.getDefaultEventEnd(t.isAllDay(),n)),new i.default(n,r,e)},t.prototype.setDateDelta=function(t){t&&t.valueOf()?this.dateDelta=t:this.dateDelta=null},t.prototype.setStartDelta=function(t){t&&t.valueOf()?this.startDelta=t:this.startDelta=null},t.prototype.setEndDelta=function(t){t&&t.valueOf()?this.endDelta=t:this.endDelta=null},t.prototype.isEmpty=function(){return!(this.clearEnd||this.forceTimed||this.forceAllDay||this.dateDelta||this.startDelta||this.endDelta)},t}();e.default=o},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(3),o=n(4),s=n(35),a=function(t){function e(e){var n=t.call(this)||this;return e=e||{},n.overflowX=e.overflowX||e.overflow||"auto",n.overflowY=e.overflowY||e.overflow||"auto",n}return r.__extends(e,t),e.prototype.render=function(){this.el=this.renderEl(),this.applyOverflow()},e.prototype.renderEl=function(){return this.scrollEl=i('<div class="fc-scroller"></div>')},e.prototype.clear=function(){this.setHeight("auto"),this.applyOverflow()},e.prototype.destroy=function(){this.el.remove()},e.prototype.applyOverflow=function(){this.scrollEl.css({"overflow-x":this.overflowX,"overflow-y":this.overflowY})},e.prototype.lockOverflow=function(t){var e=this.overflowX,n=this.overflowY;t=t||this.getScrollbarWidths(),"auto"===e&&(e=t.top||t.bottom||this.scrollEl[0].scrollWidth-1>this.scrollEl[0].clientWidth?"scroll":"hidden"),"auto"===n&&(n=t.left||t.right||this.scrollEl[0].scrollHeight-1>this.scrollEl[0].clientHeight?"scroll":"hidden"),this.scrollEl.css({"overflow-x":e,"overflow-y":n})},e.prototype.setHeight=function(t){this.scrollEl.height(t)},e.prototype.getScrollTop=function(){return this.scrollEl.scrollTop()},e.prototype.setScrollTop=function(t){this.scrollEl.scrollTop(t)},e.prototype.getClientWidth=function(){return this.scrollEl[0].clientWidth},e.prototype.getClientHeight=function(){return this.scrollEl[0].clientHeight},e.prototype.getScrollbarWidths=function(){return o.getScrollbarWidths(this.scrollEl)},e}(s.default);e.default=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(3),o=n(4),s=n(231),a=n(23),l=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.segSelector=".fc-event-container > *",r.dateSelectingClass&&(r.dateClicking=new r.dateClickingClass(r)),r.dateSelectingClass&&(r.dateSelecting=new r.dateSelectingClass(r)),r.eventPointingClass&&(r.eventPointing=new r.eventPointingClass(r)),r.eventDraggingClass&&r.eventPointing&&(r.eventDragging=new r.eventDraggingClass(r,r.eventPointing)),r.eventResizingClass&&r.eventPointing&&(r.eventResizing=new r.eventResizingClass(r,r.eventPointing)),r.externalDroppingClass&&(r.externalDropping=new r.externalDroppingClass(r)),r}return r.__extends(e,t),e.prototype.setElement=function(e){t.prototype.setElement.call(this,e),this.dateClicking&&this.dateClicking.bindToEl(e),this.dateSelecting&&this.dateSelecting.bindToEl(e),this.bindAllSegHandlersToEl(e)},e.prototype.removeElement=function(){this.endInteractions(),t.prototype.removeElement.call(this)},e.prototype.executeEventUnrender=function(){this.endInteractions(),t.prototype.executeEventUnrender.call(this)},e.prototype.bindGlobalHandlers=function(){t.prototype.bindGlobalHandlers.call(this),this.externalDropping&&this.externalDropping.bindToDocument()},e.prototype.unbindGlobalHandlers=function(){t.prototype.unbindGlobalHandlers.call(this),this.externalDropping&&this.externalDropping.unbindFromDocument()},e.prototype.bindDateHandlerToEl=function(t,e,n){var r=this;this.el.on(e,function(t){if(!i(t.target).is(r.segSelector+":not(.fc-helper),"+r.segSelector+":not(.fc-helper) *,.fc-more,a[data-goto]"))return n.call(r,t)})},e.prototype.bindAllSegHandlersToEl=function(t){[this.eventPointing,this.eventDragging,this.eventResizing].forEach(function(e){e&&e.bindToEl(t)})},e.prototype.bindSegHandlerToEl=function(t,e,n){var r=this;t.on(e,this.segSelector,function(t){var e=i(t.currentTarget);if(!e.is(".fc-helper")){var o=e.data("fc-seg");if(o&&!r.shouldIgnoreEventPointing())return n.call(r,o,t)}})},e.prototype.shouldIgnoreMouse=function(){return a.default.get().shouldIgnoreMouse()},e.prototype.shouldIgnoreTouch=function(){var t=this._getView();return t.isSelected||t.selectedEvent},e.prototype.shouldIgnoreEventPointing=function(){return this.eventDragging&&this.eventDragging.isDragging||this.eventResizing&&this.eventResizing.isResizing},e.prototype.canStartSelection=function(t,e){return o.getEvIsTouch(e)&&!this.canStartResize(t,e)&&(this.isEventDefDraggable(t.footprint.eventDef)||this.isEventDefResizable(t.footprint.eventDef))},e.prototype.canStartDrag=function(t,e){return!this.canStartResize(t,e)&&this.isEventDefDraggable(t.footprint.eventDef)},e.prototype.canStartResize=function(t,e){var n=this._getView(),r=t.footprint.eventDef;return(!o.getEvIsTouch(e)||n.isEventDefSelected(r))&&this.isEventDefResizable(r)&&i(e.target).is(".fc-resizer")},e.prototype.endInteractions=function(){[this.dateClicking,this.dateSelecting,this.eventPointing,this.eventDragging,this.eventResizing].forEach(function(t){t&&t.end()})},e.prototype.isEventDefDraggable=function(t){return this.isEventDefStartEditable(t)},e.prototype.isEventDefStartEditable=function(t){var e=t.isStartExplicitlyEditable();return null==e&&null==(e=this.opt("eventStartEditable"))&&(e=this.isEventDefGenerallyEditable(t)),e},e.prototype.isEventDefGenerallyEditable=function(t){var e=t.isExplicitlyEditable();return null==e&&(e=this.opt("editable")),e},e.prototype.isEventDefResizableFromStart=function(t){return this.opt("eventResizableFromStart")&&this.isEventDefResizable(t)},e.prototype.isEventDefResizableFromEnd=function(t){return this.isEventDefResizable(t)},e.prototype.isEventDefResizable=function(t){var e=t.isDurationExplicitlyEditable();return null==e&&null==(e=this.opt("eventDurationEditable"))&&(e=this.isEventDefGenerallyEditable(t)),e},e.prototype.diffDates=function(t,e){return this.largeUnit?o.diffByUnit(t,e,this.largeUnit):o.diffDayTime(t,e)},e.prototype.isEventInstanceGroupAllowed=function(t){var e,n=this._getView(),r=this.dateProfile,i=this.eventRangesToEventFootprints(t.getAllEventRanges());for(e=0;e<i.length;e++)if(!r.validUnzonedRange.containsRange(i[e].componentFootprint.unzonedRange))return!1;return n.calendar.constraints.isEventInstanceGroupAllowed(t)},e.prototype.isExternalInstanceGroupAllowed=function(t){var e,n=this._getView(),r=this.dateProfile,i=this.eventRangesToEventFootprints(t.getAllEventRanges());for(e=0;e<i.length;e++)if(!r.validUnzonedRange.containsRange(i[e].componentFootprint.unzonedRange))return!1;for(e=0;e<i.length;e++)if(!n.calendar.constraints.isSelectionFootprintAllowed(i[e].componentFootprint))return!1;return!0},e}(s.default);e.default=l},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(3),o=n(0),s=n(4),a=n(229),l=n(55),u=n(42),d=n(23),c=n(5),p=function(t){function e(e,n){var r=t.call(this,null,n.options)||this;return r.batchRenderDepth=0,r.isSelected=!1,r.calendar=e,r.viewSpec=n,r.type=n.type,r.name=r.type,r.initRenderQueue(),r.initHiddenDays(),r.dateProfileGenerator=new r.dateProfileGeneratorClass(r),r.bindBaseRenderHandlers(),r.eventOrderSpecs=s.parseFieldSpecs(r.opt("eventOrder")),r.initialize&&r.initialize(),r}return r.__extends(e,t),e.prototype._getView=function(){return this},e.prototype.opt=function(t){return this.options[t]},e.prototype.initRenderQueue=function(){this.renderQueue=new a.default({event:this.opt("eventRenderWait")}),this.renderQueue.on("start",this.onRenderQueueStart.bind(this)),this.renderQueue.on("stop",this.onRenderQueueStop.bind(this)),this.on("before:change",this.startBatchRender),this.on("change",this.stopBatchRender)},e.prototype.onRenderQueueStart=function(){this.calendar.freezeContentHeight(),this.addScroll(this.queryScroll())},e.prototype.onRenderQueueStop=function(){this.calendar.updateViewSize()&&this.popScroll(),this.calendar.thawContentHeight()},e.prototype.startBatchRender=function(){this.batchRenderDepth++||this.renderQueue.pause()},e.prototype.stopBatchRender=function(){--this.batchRenderDepth||this.renderQueue.resume()},e.prototype.requestRender=function(t,e,n){this.renderQueue.queue(t,e,n)},e.prototype.whenSizeUpdated=function(t){this.renderQueue.isRunning?this.renderQueue.one("stop",t.bind(this)):t.call(this)},e.prototype.computeTitle=function(t){var e;return e=/^(year|month)$/.test(t.currentRangeUnit)?t.currentUnzonedRange:t.activeUnzonedRange,this.formatRange({start:this.calendar.msToMoment(e.startMs,t.isRangeAllDay),end:this.calendar.msToMoment(e.endMs,t.isRangeAllDay)},t.isRangeAllDay,this.opt("titleFormat")||this.computeTitleFormat(t),this.opt("titleRangeSeparator"))},e.prototype.computeTitleFormat=function(t){var e=t.currentRangeUnit;return"year"===e?"YYYY":"month"===e?this.opt("monthYearFormat"):t.currentUnzonedRange.as("days")>1?"ll":"LL"},e.prototype.setDate=function(t){var e=this.get("dateProfile"),n=this.dateProfileGenerator.build(t,void 0,!0);e&&e.activeUnzonedRange.equals(n.activeUnzonedRange)||this.set("dateProfile",n)},e.prototype.unsetDate=function(){this.unset("dateProfile")},e.prototype.fetchInitialEvents=function(t){var e=this.calendar,n=t.isRangeAllDay&&!this.usesMinMaxTime;return e.requestEvents(e.msToMoment(t.activeUnzonedRange.startMs,n),e.msToMoment(t.activeUnzonedRange.endMs,n))},e.prototype.bindEventChanges=function(){this.listenTo(this.calendar,"eventsReset",this.resetEvents)},e.prototype.unbindEventChanges=function(){this.stopListeningTo(this.calendar,"eventsReset")},e.prototype.setEvents=function(t){this.set("currentEvents",t),this.set("hasEvents",!0)},e.prototype.unsetEvents=function(){this.unset("currentEvents"),this.unset("hasEvents")},e.prototype.resetEvents=function(t){this.startBatchRender(),this.unsetEvents(),this.setEvents(t),this.stopBatchRender()},e.prototype.requestDateRender=function(t){var e=this;this.requestRender(function(){e.executeDateRender(t)},"date","init")},e.prototype.requestDateUnrender=function(){var t=this;this.requestRender(function(){t.executeDateUnrender()},"date","destroy")},e.prototype.executeDateRender=function(e){t.prototype.executeDateRender.call(this,e),this.render&&this.render(),this.trigger("datesRendered"),this.addScroll({isDateInit:!0}),this.startNowIndicator()},e.prototype.executeDateUnrender=function(){this.unselect(),this.stopNowIndicator(),this.trigger("before:datesUnrendered"),this.destroy&&this.destroy(),t.prototype.executeDateUnrender.call(this)},e.prototype.bindBaseRenderHandlers=function(){var t=this;this.on("datesRendered",function(){t.whenSizeUpdated(t.triggerViewRender)}),this.on("before:datesUnrendered",function(){t.triggerViewDestroy()})},e.prototype.triggerViewRender=function(){this.publiclyTrigger("viewRender",{context:this,args:[this,this.el]})},e.prototype.triggerViewDestroy=function(){this.publiclyTrigger("viewDestroy",{context:this,args:[this,this.el]})},e.prototype.requestEventsRender=function(t){var e=this;this.requestRender(function(){e.executeEventRender(t),e.whenSizeUpdated(e.triggerAfterEventsRendered)},"event","init")},e.prototype.requestEventsUnrender=function(){var t=this;this.requestRender(function(){t.triggerBeforeEventsDestroyed(),t.executeEventUnrender()},"event","destroy")},e.prototype.requestBusinessHoursRender=function(t){var e=this;this.requestRender(function(){e.renderBusinessHours(t)},"businessHours","init")},e.prototype.requestBusinessHoursUnrender=function(){var t=this;this.requestRender(function(){t.unrenderBusinessHours()},"businessHours","destroy")},e.prototype.bindGlobalHandlers=function(){t.prototype.bindGlobalHandlers.call(this),this.listenTo(d.default.get(),{touchstart:this.processUnselect,mousedown:this.handleDocumentMousedown})},e.prototype.unbindGlobalHandlers=function(){t.prototype.unbindGlobalHandlers.call(this),this.stopListeningTo(d.default.get())},e.prototype.startNowIndicator=function(){var t,e,n,r=this;this.opt("nowIndicator")&&(t=this.getNowIndicatorUnit())&&(e=s.proxy(this,"updateNowIndicator"),this.initialNowDate=this.calendar.getNow(),this.initialNowQueriedMs=(new Date).valueOf(),n=this.initialNowDate.clone().startOf(t).add(1,t).valueOf()-this.initialNowDate.valueOf(),this.nowIndicatorTimeoutID=setTimeout(function(){r.nowIndicatorTimeoutID=null,e(),n=+o.duration(1,t),n=Math.max(100,n),r.nowIndicatorIntervalID=setInterval(e,n)},n))},e.prototype.updateNowIndicator=function(){this.isDatesRendered&&this.initialNowDate&&(this.unrenderNowIndicator(),this.renderNowIndicator(this.initialNowDate.clone().add((new Date).valueOf()-this.initialNowQueriedMs)),this.isNowIndicatorRendered=!0)},e.prototype.stopNowIndicator=function(){this.isNowIndicatorRendered&&(this.nowIndicatorTimeoutID&&(clearTimeout(this.nowIndicatorTimeoutID),this.nowIndicatorTimeoutID=null),this.nowIndicatorIntervalID&&(clearInterval(this.nowIndicatorIntervalID),this.nowIndicatorIntervalID=null),this.unrenderNowIndicator(),this.isNowIndicatorRendered=!1)},e.prototype.updateSize=function(e,n,r){this.setHeight?this.setHeight(e,n):t.prototype.updateSize.call(this,e,n,r),this.updateNowIndicator()},e.prototype.addScroll=function(t){var e=this.queuedScroll||(this.queuedScroll={});i.extend(e,t)},e.prototype.popScroll=function(){this.applyQueuedScroll(),this.queuedScroll=null},e.prototype.applyQueuedScroll=function(){this.queuedScroll&&this.applyScroll(this.queuedScroll)},e.prototype.queryScroll=function(){var t={};return this.isDatesRendered&&i.extend(t,this.queryDateScroll()),t},e.prototype.applyScroll=function(t){t.isDateInit&&this.isDatesRendered&&i.extend(t,this.computeInitialDateScroll()),this.isDatesRendered&&this.applyDateScroll(t)},e.prototype.computeInitialDateScroll=function(){return{}},e.prototype.queryDateScroll=function(){return{}},e.prototype.applyDateScroll=function(t){},e.prototype.reportEventDrop=function(t,e,n,r){var i=this.calendar.eventManager,s=i.mutateEventsWithId(t.def.id,e),a=e.dateMutation;a&&(t.dateProfile=a.buildNewDateProfile(t.dateProfile,this.calendar)),this.triggerEventDrop(t,a&&a.dateDelta||o.duration(),s,n,r)},e.prototype.triggerEventDrop=function(t,e,n,r,i){this.publiclyTrigger("eventDrop",{context:r[0],args:[t.toLegacy(),e,n,i,{},this]})},e.prototype.reportExternalDrop=function(t,e,n,r,i,o){e&&this.calendar.eventManager.addEventDef(t,n),this.triggerExternalDrop(t,e,r,i,o)},e.prototype.triggerExternalDrop=function(t,e,n,r,i){this.publiclyTrigger("drop",{context:n[0],args:[t.dateProfile.start.clone(),r,i,this]}),e&&this.publiclyTrigger("eventReceive",{context:this,args:[t.buildInstance().toLegacy(),this]})},e.prototype.reportEventResize=function(t,e,n,r){var i=this.calendar.eventManager,o=i.mutateEventsWithId(t.def.id,e);t.dateProfile=e.dateMutation.buildNewDateProfile(t.dateProfile,this.calendar);var s=e.dateMutation.endDelta||e.dateMutation.startDelta;this.triggerEventResize(t,s,o,n,r)},e.prototype.triggerEventResize=function(t,e,n,r,i){this.publiclyTrigger("eventResize",{context:r[0],args:[t.toLegacy(),e,n,i,{},this]})},e.prototype.select=function(t,e){this.unselect(e),this.renderSelectionFootprint(t),this.reportSelection(t,e)},e.prototype.renderSelectionFootprint=function(e){this.renderSelection?this.renderSelection(e.toLegacy(this.calendar)):t.prototype.renderSelectionFootprint.call(this,e)},e.prototype.reportSelection=function(t,e){this.isSelected=!0,this.triggerSelect(t,e)},e.prototype.triggerSelect=function(t,e){var n=this.calendar.footprintToDateProfile(t);this.publiclyTrigger("select",{context:this,args:[n.start,n.end,e,this]})},e.prototype.unselect=function(t){this.isSelected&&(this.isSelected=!1,this.destroySelection&&this.destroySelection(),this.unrenderSelection(),this.publiclyTrigger("unselect",{context:this,args:[t,this]}))},e.prototype.selectEventInstance=function(t){this.selectedEventInstance&&this.selectedEventInstance===t||(this.unselectEventInstance(),this.getEventSegs().forEach(function(e){e.footprint.eventInstance===t&&e.el&&e.el.addClass("fc-selected")}),this.selectedEventInstance=t)},e.prototype.unselectEventInstance=function(){this.selectedEventInstance&&(this.getEventSegs().forEach(function(t){t.el&&t.el.removeClass("fc-selected")}),this.selectedEventInstance=null)},e.prototype.isEventDefSelected=function(t){return this.selectedEventInstance&&this.selectedEventInstance.def.id===t.id},e.prototype.handleDocumentMousedown=function(t){s.isPrimaryMouseButton(t)&&this.processUnselect(t)},e.prototype.processUnselect=function(t){this.processRangeUnselect(t),this.processEventUnselect(t)},e.prototype.processRangeUnselect=function(t){var e;this.isSelected&&this.opt("unselectAuto")&&((e=this.opt("unselectCancel"))&&i(t.target).closest(e).length||this.unselect(t))},e.prototype.processEventUnselect=function(t){this.selectedEventInstance&&(i(t.target).closest(".fc-selected").length||this.unselectEventInstance())},e.prototype.triggerBaseRendered=function(){this.publiclyTrigger("viewRender",{context:this,args:[this,this.el]})},e.prototype.triggerBaseUnrendered=function(){this.publiclyTrigger("viewDestroy",{context:this,args:[this,this.el]})},e.prototype.triggerDayClick=function(t,e,n){var r=this.calendar.footprintToDateProfile(t);this.publiclyTrigger("dayClick",{context:e,args:[r.start,n,this]})},e.prototype.isDateInOtherMonth=function(t,e){return!1},e.prototype.getUnzonedRangeOption=function(t){var e=this.opt(t);if("function"==typeof e&&(e=e.apply(null,Array.prototype.slice.call(arguments,1))),e)return this.calendar.parseUnzonedRange(e)},e.prototype.initHiddenDays=function(){var t,e=this.opt("hiddenDays")||[],n=[],r=0;for(!1===this.opt("weekends")&&e.push(0,6),t=0;t<7;t++)(n[t]=-1!==i.inArray(t,e))||r++;if(!r)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n},e.prototype.trimHiddenDays=function(t){var e=t.getStart(),n=t.getEnd();return e&&(e=this.skipHiddenDays(e)),n&&(n=this.skipHiddenDays(n,-1,!0)),null===e||null===n||e<n?new c.default(e,n):null},e.prototype.isHiddenDay=function(t){return o.isMoment(t)&&(t=t.day()),this.isHiddenDayHash[t]},e.prototype.skipHiddenDays=function(t,e,n){void 0===e&&(e=1),void 0===n&&(n=!1);for(var r=t.clone();this.isHiddenDayHash[(r.day()+(n?e:0)+7)%7];)r.add(e,"days");return r},e}(u.default);e.default=p,p.prototype.usesMinMaxTime=!1,p.prototype.dateProfileGeneratorClass=l.default,p.watch("displayingDates",["isInDom","dateProfile"],function(t){this.requestDateRender(t.dateProfile)},function(){this.requestDateUnrender()}),p.watch("displayingBusinessHours",["displayingDates","businessHourGenerator"],function(t){this.requestBusinessHoursRender(t.businessHourGenerator)},function(){this.requestBusinessHoursUnrender()}),p.watch("initialEvents",["dateProfile"],function(t){return this.fetchInitialEvents(t.dateProfile)}),p.watch("bindingEvents",["initialEvents"],function(t){this.setEvents(t.initialEvents),this.bindEventChanges()},function(){this.unbindEventChanges(),this.unsetEvents()}),p.watch("displayingEvents",["displayingDates","hasEvents"],function(){this.requestEventsRender(this.get("currentEvents"))},function(){this.requestEventsUnrender()}),p.watch("title",["dateProfile"],function(t){return this.title=this.computeTitle(t.dateProfile)}),p.watch("legacyDateProps",["dateProfile"],function(t){var e=this.calendar,n=t.dateProfile;this.start=e.msToMoment(n.activeUnzonedRange.startMs,n.isRangeAllDay),this.end=e.msToMoment(n.activeUnzonedRange.endMs,n.isRangeAllDay),this.intervalStart=e.msToMoment(n.currentUnzonedRange.startMs,n.isRangeAllDay),this.intervalEnd=e.msToMoment(n.currentUnzonedRange.endMs,n.isRangeAllDay)})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),i=n(4),o=function(){function t(t,e){this.view=t._getView(),this.component=t,this.fillRenderer=e}return t.prototype.opt=function(t){return this.view.opt(t)},t.prototype.rangeUpdated=function(){var t,e
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/fullcalendar-3.10.2/fullcalendar.min.js:8:;this.eventTimeFormat=this.opt("eventTimeFormat")||this.opt("timeFormat")||this.computeEventTimeFormat(),t=this.opt("displayEventTime"),null==t&&(t=this.computeDisplayEventTime()),e=this.opt("displayEventEnd"),null==e&&(e=this.computeDisplayEventEnd()),this.displayEventTime=t,this.displayEventEnd=e},t.prototype.render=function(t){var e,n,r,i=this.component._getDateProfile(),o=[],s=[];for(e in t)n=t[e],r=n.sliceRenderRanges(i.activeUnzonedRange),n.getEventDef().hasBgRendering()?o.push.apply(o,r):s.push.apply(s,r);this.renderBgRanges(o),this.renderFgRanges(s)},t.prototype.unrender=function(){this.unrenderBgRanges(),this.unrenderFgRanges()},t.prototype.renderFgRanges=function(t){var e=this.component.eventRangesToEventFootprints(t),n=this.component.eventFootprintsToSegs(e);n=this.renderFgSegEls(n),!1!==this.renderFgSegs(n)&&(this.fgSegs=n)},t.prototype.unrenderFgRanges=function(){this.unrenderFgSegs(this.fgSegs||[]),this.fgSegs=null},t.prototype.renderBgRanges=function(t){var e=this.component.eventRangesToEventFootprints(t),n=this.component.eventFootprintsToSegs(e);!1!==this.renderBgSegs(n)&&(this.bgSegs=n)},t.prototype.unrenderBgRanges=function(){this.unrenderBgSegs(),this.bgSegs=null},t.prototype.getSegs=function(){return(this.bgSegs||[]).concat(this.fgSegs||[])},t.prototype.renderFgSegs=function(t){return!1},t.prototype.unrenderFgSegs=function(t){},t.prototype.renderBgSegs=function(t){var e=this;if(!this.fillRenderer)return!1;this.fillRenderer.renderSegs("bgEvent",t,{getClasses:function(t){return e.getBgClasses(t.footprint.eventDef)},getCss:function(t){return{"background-color":e.getBgColor(t.footprint.eventDef)}},filterEl:function(t,n){return e.filterEventRenderEl(t.footprint,n)}})},t.prototype.unrenderBgSegs=function(){this.fillRenderer&&this.fillRenderer.unrender("bgEvent")},t.prototype.renderFgSegEls=function(t,e){var n=this;void 0===e&&(e=!1);var i,o=this.view.hasPublicHandlers("eventRender"),s="",a=[];if(t.length){for(i=0;i<t.length;i++)this.beforeFgSegHtml(t[i]),s+=this.fgSegHtml(t[i],e);r(s).each(function(e,i){var s=t[e],l=r(i);o&&(l=n.filterEventRenderEl(s.footprint,l)),l&&(l.data("fc-seg",s),s.el=l,a.push(s))})}return a},t.prototype.beforeFgSegHtml=function(t){},t.prototype.fgSegHtml=function(t,e){},t.prototype.getSegClasses=function(t,e,n){var r=["fc-event",t.isStart?"fc-start":"fc-not-start",t.isEnd?"fc-end":"fc-not-end"].concat(this.getClasses(t.footprint.eventDef));return e&&r.push("fc-draggable"),n&&r.push("fc-resizable"),this.view.isEventDefSelected(t.footprint.eventDef)&&r.push("fc-selected"),r},t.prototype.filterEventRenderEl=function(t,e){var n=t.getEventLegacy(),i=this.view.publiclyTrigger("eventRender",{context:n,args:[n,e,this.view]});return!1===i?e=null:i&&!0!==i&&(e=r(i)),e},t.prototype.getTimeText=function(t,e,n){return this._getTimeText(t.eventInstance.dateProfile.start,t.eventInstance.dateProfile.end,t.componentFootprint.isAllDay,e,n)},t.prototype._getTimeText=function(t,e,n,r,i){return null==r&&(r=this.eventTimeFormat),null==i&&(i=this.displayEventEnd),this.displayEventTime&&!n?i&&e?this.view.formatRange({start:t,end:e},!1,r):t.format(r):""},t.prototype.computeEventTimeFormat=function(){return this.opt("smallTimeFormat")},t.prototype.computeDisplayEventTime=function(){return!0},t.prototype.computeDisplayEventEnd=function(){return!0},t.prototype.getBgClasses=function(t){var e=this.getClasses(t);return e.push("fc-bgevent"),e},t.prototype.getClasses=function(t){var e,n=this.getStylingObjs(t),r=[];for(e=0;e<n.length;e++)r.push.apply(r,n[e].eventClassName||n[e].className||[]);return r},t.prototype.getSkinCss=function(t){return{"background-color":this.getBgColor(t),"border-color":this.getBorderColor(t),color:this.getTextColor(t)}},t.prototype.getBgColor=function(t){var e,n,r=this.getStylingObjs(t);for(e=0;e<r.length&&!n;e++)n=r[e].eventBackgroundColor||r[e].eventColor||r[e].backgroundColor||r[e].color;return n||(n=this.opt("eventBackgroundColor")||this.opt("eventColor")),n},t.prototype.getBorderColor=function(t){var e,n,r=this.getStylingObjs(t);for(e=0;e<r.length&&!n;e++)n=r[e].eventBorderColor||r[e].eventColor||r[e].borderColor||r[e].color;return n||(n=this.opt("eventBorderColor")||this.opt("eventColor")),n},t.prototype.getTextColor=function(t){var e,n,r=this.getStylingObjs(t);for(e=0;e<r.length&&!n;e++)n=r[e].eventTextColor||r[e].textColor;return n||(n=this.opt("eventTextColor")),n},t.prototype.getStylingObjs=function(t){var e=this.getFallbackStylingObjs(t);return e.unshift(t),e},t.prototype.getFallbackStylingObjs=function(t){return[t.source]},t.prototype.sortEventSegs=function(t){t.sort(i.proxy(this,"compareEventSegs"))},t.prototype.compareEventSegs=function(t,e){var n=t.footprint,r=e.footprint,o=n.componentFootprint,s=r.componentFootprint,a=o.unzonedRange,l=s.unzonedRange;return a.startMs-l.startMs||l.endMs-l.startMs-(a.endMs-a.startMs)||s.isAllDay-o.isAllDay||i.compareByFieldSpecs(n.eventDef,r.eventDef,this.view.eventOrderSpecs,n.eventDef.miscProps,r.eventDef.miscProps)},t}();e.default=o},,,,,function(t,e,n){function r(t){return"en"!==t.locale()?t.clone().locale("en"):t}function i(t,e){return h(a(e).fakeFormatString,t)}function o(t,e,n,r,i){var o;return t=y.default.parseZone(t),e=y.default.parseZone(e),o=t.localeData(),n=o.longDateFormat(n)||n,s(a(n),t,e,r||" - ",i)}function s(t,e,n,r,i){var o,s,a,l=t.sameUnits,u=e.clone().stripZone(),d=n.clone().stripZone(),c=f(t.fakeFormatString,e),p=f(t.fakeFormatString,n),h="",v="",y="",m="",b="";for(o=0;o<l.length&&(!l[o]||u.isSame(d,l[o]));o++)h+=c[o];for(s=l.length-1;s>o&&(!l[s]||u.isSame(d,l[s]))&&(s-1!==o||"."!==c[s]);s--)v=c[s]+v;for(a=o;a<=s;a++)y+=c[a],m+=p[a];return(y||m)&&(b=i?m+r+y:y+r+m),g(h+b+v)}function a(t){return C[t]||(C[t]=l(t))}function l(t){var e=u(t);return{fakeFormatString:c(e),sameUnits:p(e)}}function u(t){for(var e,n=[],r=/\[([^\]]*)\]|\(([^\)]*)\)|(LTS|LT|(\w)\4*o?)|([^\w\[\(]+)/g;e=r.exec(t);)e[1]?n.push.apply(n,d(e[1])):e[2]?n.push({maybe:u(e[2])}):e[3]?n.push({token:e[3]}):e[5]&&n.push.apply(n,d(e[5]));return n}function d(t){return". "===t?["."," "]:[t]}function c(t){var e,n,r=[];for(e=0;e<t.length;e++)n=t[e],"string"==typeof n?r.push("["+n+"]"):n.token?n.token in E?r.push(b+"["+n.token+"]"):r.push(n.token):n.maybe&&r.push(w+c(n.maybe)+w);return r.join(m)}function p(t){var e,n,r,i=[];for(e=0;e<t.length;e++)n=t[e],n.token?(r=S[n.token.charAt(0)],i.push(r?r.unit:"second")):n.maybe?i.push.apply(i,p(n.maybe)):i.push(null);return i}function h(t,e){return g(f(t,e).join(""))}function f(t,e){var n,r,i=[],o=y.oldMomentFormat(e,t),s=o.split(m);for(n=0;n<s.length;n++)r=s[n],r.charAt(0)===b?i.push(E[r.substring(1)](e)):i.push(r);return i}function g(t){return t.replace(D,function(t,e){return e.match(/[1-9]/)?e:""})}function v(t){var e,n,r,i,o=u(t);for(e=0;e<o.length;e++)n=o[e],n.token&&(r=S[n.token.charAt(0)])&&(!i||r.value>i.value)&&(i=r);return i?i.unit:null}Object.defineProperty(e,"__esModule",{value:!0});var y=n(11);y.newMomentProto.format=function(){return this._fullCalendar&&arguments[0]?i(this,arguments[0]):this._ambigTime?y.oldMomentFormat(r(this),"YYYY-MM-DD"):this._ambigZone?y.oldMomentFormat(r(this),"YYYY-MM-DD[T]HH:mm:ss"):this._fullCalendar?y.oldMomentFormat(r(this)):y.oldMomentProto.format.apply(this,arguments)},y.newMomentProto.toISOString=function(){return this._ambigTime?y.oldMomentFormat(r(this),"YYYY-MM-DD"):this._ambigZone?y.oldMomentFormat(r(this),"YYYY-MM-DD[T]HH:mm:ss"):this._fullCalendar?y.oldMomentProto.toISOString.apply(r(this),arguments):y.oldMomentProto.toISOString.apply(this,arguments)};var m="\v",b="",w="",D=new RegExp(w+"([^"+w+"]*)"+w,"g"),E={t:function(t){return y.oldMomentFormat(t,"a").charAt(0)},T:function(t){return y.oldMomentFormat(t,"A").charAt(0)}},S={Y:{value:1,unit:"year"},M:{value:2,unit:"month"},W:{value:3,unit:"week"},w:{value:3,unit:"week"},D:{value:4,unit:"day"},d:{value:4,unit:"day"}};e.formatDate=i,e.formatRange=o;var C={};e.queryMostGranularFormatUnit=v},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e,n){this.unzonedRange=t,this.eventDef=e,n&&(this.eventInstance=n)}return t}();e.default=n},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(35),o=n(13),s=n(7),a=function(t){function e(){var e=t.call(this)||this;return e._watchers={},e._props={},e.applyGlobalWatchers(),e.constructed(),e}return r.__extends(e,t),e.watch=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];this.prototype.hasOwnProperty("_globalWatchArgs")||(this.prototype._globalWatchArgs=Object.create(this.prototype._globalWatchArgs)),this.prototype._globalWatchArgs[t]=e},e.prototype.constructed=function(){},e.prototype.applyGlobalWatchers=function(){var t,e=this._globalWatchArgs;for(t in e)this.watch.apply(this,[t].concat(e[t]))},e.prototype.has=function(t){return t in this._props},e.prototype.get=function(t){return void 0===t?this._props:this._props[t]},e.prototype.set=function(t,e){var n;"string"==typeof t?(n={},n[t]=void 0===e?null:e):n=t,this.setProps(n)},e.prototype.reset=function(t){var e,n=this._props,r={};for(e in n)r[e]=void 0;for(e in t)r[e]=t[e];this.setProps(r)},e.prototype.unset=function(t){var e,n,r={};for(e="string"==typeof t?[t]:t,n=0;n<e.length;n++)r[e[n]]=void 0;this.setProps(r)},e.prototype.setProps=function(t){var e,n,r={},i=0;for(e in t)"object"!=typeof(n=t[e])&&n===this._props[e]||(r[e]=n,i++);if(i){this.trigger("before:batchChange",r);for(e in r)n=r[e],this.trigger("before:change",e,n),this.trigger("before:change:"+e,n);for(e in r)n=r[e],void 0===n?delete this._props[e]:this._props[e]=n,this.trigger("change:"+e,n),this.trigger("change",e,n);this.trigger("batchChange",r)}},e.prototype.watch=function(t,e,n,r){var i=this;this.unwatch(t),this._watchers[t]=this._watchDeps(e,function(e){var r=n.call(i,e);r&&r.then?(i.unset(t),r.then(function(e){i.set(t,e)})):i.set(t,r)},function(e){i.unset(t),r&&r.call(i,e)})},e.prototype.unwatch=function(t){var e=this._watchers[t];e&&(delete this._watchers[t],e.teardown())},e.prototype._watchDeps=function(t,e,n){var r=this,i=0,o=t.length,s=0,a={},l=[],u=!1,d=function(t,e,r){1===++i&&s===o&&(u=!0,n(a),u=!1)},c=function(t,n,r){void 0===n?(r||void 0===a[t]||s--,delete a[t]):(r||void 0!==a[t]||s++,a[t]=n),--i||s===o&&(u||e(a))},p=function(t,e){r.on(t,e),l.push([t,e])};return t.forEach(function(t){var e=!1;"?"===t.charAt(0)&&(t=t.substring(1),e=!0),p("before:change:"+t,function(t){d()}),p("change:"+t,function(n){c(t,n,e)})}),t.forEach(function(t){var e=!1;"?"===t.charAt(0)&&(t=t.substring(1),e=!0),r.has(t)?(a[t]=r.get(t),s++):e&&s++}),s===o&&e(a),{teardown:function(){for(var t=0;t<l.length;t++)r.off(l[t][0],l[t][1]);l=null,s===o&&n()},flash:function(){s===o&&(n(),e(a))}}},e.prototype.flash=function(t){var e=this._watchers[t];e&&e.flash()},e}(i.default);e.default=a,a.prototype._globalWatchArgs={},o.default.mixInto(a),s.default.mixInto(a)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(4),o=n(15),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.defineStandardProps=function(t){var e=this.prototype;e.hasOwnProperty("standardPropMap")||(e.standardPropMap=Object.create(e.standardPropMap)),i.copyOwnProps(t,e.standardPropMap)},e.copyVerbatimStandardProps=function(t,e){var n,r=this.prototype.standardPropMap;for(n in r)null!=t[n]&&!0===r[n]&&(e[n]=t[n])},e.prototype.applyProps=function(t){var e,n=this.standardPropMap,r={},i={};for(e in t)!0===n[e]?this[e]=t[e]:!1===n[e]?r[e]=t[e]:i[e]=t[e];return this.applyMiscProps(i),this.applyManualStandardProps(r)},e.prototype.applyManualStandardProps=function(t){return!0},e.prototype.applyMiscProps=function(t){},e.prototype.isStandardProp=function(t){return t in this.standardPropMap},e}(o.default);e.default=s,s.prototype.standardPropMap={}},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){this.def=t,this.dateProfile=e}return t.prototype.toLegacy=function(){var t=this.dateProfile,e=this.def.toLegacy();return e.start=t.start.clone(),e.end=t.end?t.end.clone():null,e},t}();e.default=n},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(3),o=n(0),s=n(37),a=n(53),l=n(16),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.isAllDay=function(){return!this.startTime&&!this.endTime},e.prototype.buildInstances=function(t){for(var e,n,r,i=this.source.calendar,o=t.getStart(),s=t.getEnd(),u=[];o.isBefore(s);)this.dowHash&&!this.dowHash[o.day()]||(e=i.applyTimezone(o),n=e.clone(),r=null,this.startTime?n.time(this.startTime):n.stripTime(),this.endTime&&(r=e.clone().time(this.endTime)),u.push(new a.default(this,new l.default(n,r,i)))),o.add(1,"days");return u},e.prototype.setDow=function(t){this.dowHash||(this.dowHash={});for(var e=0;e<t.length;e++)this.dowHash[t[e]]=!0},e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e.startTime&&(e.startTime=o.duration(this.startTime)),e.endTime&&(e.endTime=o.duration(this.endTime)),this.dowHash&&(e.dowHash=i.extend({},this.dowHash)),e},e}(s.default);e.default=u,u.prototype.applyProps=function(t){var e=s.default.prototype.applyProps.call(this,t);return t.start&&(this.startTime=o.duration(t.start)),t.end&&(this.endTime=o.duration(t.end)),t.dow&&this.setDow(t.dow),e},u.defineStandardProps({start:!1,end:!1,dow:!1})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(4),o=n(5),s=function(){function t(t){this._view=t}return t.prototype.opt=function(t){return this._view.opt(t)},t.prototype.trimHiddenDays=function(t){return this._view.trimHiddenDays(t)},t.prototype.msToUtcMoment=function(t,e){return this._view.calendar.msToUtcMoment(t,e)},t.prototype.buildPrev=function(t){var e=t.date.clone().startOf(t.currentRangeUnit).subtract(t.dateIncrement);return this.build(e,-1)},t.prototype.buildNext=function(t){var e=t.date.clone().startOf(t.currentRangeUnit).add(t.dateIncrement);return this.build(e,1)},t.prototype.build=function(t,e,n){void 0===n&&(n=!1);var i,o,s,a,l,u,d=!t.hasTime(),c=null,p=null;return i=this.buildValidRange(),i=this.trimHiddenDays(i),n&&(t=this.msToUtcMoment(i.constrainDate(t),d)),o=this.buildCurrentRangeInfo(t,e),s=/^(year|month|week|day)$/.test(o.unit),a=this.buildRenderRange(this.trimHiddenDays(o.unzonedRange),o.unit,s),a=this.trimHiddenDays(a),l=a.clone(),this.opt("showNonCurrentDates")||(l=l.intersect(o.unzonedRange)),c=r.duration(this.opt("minTime")),p=r.duration(this.opt("maxTime")),l=this.adjustActiveRange(l,c,p),l=l.intersect(i),l&&(t=this.msToUtcMoment(l.constrainDate(t),d)),u=o.unzonedRange.intersectsWith(i),{validUnzonedRange:i,currentUnzonedRange:o.unzonedRange,currentRangeUnit:o.unit,isRangeAllDay:s,activeUnzonedRange:l,renderUnzonedRange:a,minTime:c,maxTime:p,isValid:u,date:t,dateIncrement:this.buildDateIncrement(o.duration)}},t.prototype.buildValidRange=function(){return this._view.getUnzonedRangeOption("validRange",this._view.calendar.getNow())||new o.default},t.prototype.buildCurrentRangeInfo=function(t,e){var n,r=this._view.viewSpec,o=null,s=null,a=null;return r.duration?(o=r.duration,s=r.durationUnit,a=this.buildRangeFromDuration(t,e,o,s)):(n=this.opt("dayCount"))?(s="day",a=this.buildRangeFromDayCount(t,e,n)):(a=this.buildCustomVisibleRange(t))?s=i.computeGreatestUnit(a.getStart(),a.getEnd()):(o=this.getFallbackDuration(),s=i.computeGreatestUnit(o),a=this.buildRangeFromDuration(t,e,o,s)),{duration:o,unit:s,unzonedRange:a}},t.prototype.getFallbackDuration=function(){return r.duration({days:1})},t.prototype.adjustActiveRange=function(t,e,n){var r=t.getStart(),i=t.getEnd();return this._view.usesMinMaxTime&&(e<0&&r.time(0).add(e),n>864e5&&i.time(n-864e5)),new o.default(r,i)},t.prototype.buildRangeFromDuration=function(t,e,n,s){function a(){d=t.clone().startOf(h),c=d.clone().add(n),p=new o.default(d,c)}var l,u,d,c,p,h=this.opt("dateAlignment");return h||(l=this.opt("dateIncrement"),l?(u=r.duration(l),h=u<n?i.computeDurationGreatestUnit(u,l):s):h=s),n.as("days")<=1&&this._view.isHiddenDay(d)&&(d=this._view.skipHiddenDays(d,e),d.startOf("day")),a(),this.trimHiddenDays(p)||(t=this._view.skipHiddenDays(t,e),a()),p},t.prototype.buildRangeFromDayCount=function(t,e,n){var r,i,s=this.opt("dateAlignment"),a=0;if(s||-1!==e){r=t.clone(),s&&r.startOf(s),r.startOf("day"),r=this._view.skipHiddenDays(r),i=r.clone();do{i.add(1,"day"),this._view.isHiddenDay(i)||a++}while(a<n)}else{i=t.clone().startOf("day").add(1,"day"),i=this._view.skipHiddenDays(i,-1,!0),r=i.clone();do{r.add(-1,"day"),this._view.isHiddenDay(r)||a++}while(a<n)}return new o.default(r,i)},t.prototype.buildCustomVisibleRange=function(t){var e=this._view.getUnzonedRangeOption("visibleRange",this._view.calendar.applyTimezone(t));return!e||null!=e.startMs&&null!=e.endMs?e:null},t.prototype.buildRenderRange=function(t,e,n){return t.clone()},t.prototype.buildDateIncrement=function(t){var e,n=this.opt("dateIncrement");return n?r.duration(n):(e=this.opt("dateAlignment"))?r.duration(1,e):t||r.duration({days:1})},t}();e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(3),o=n(4),s=n(21),a=n(6),l=n(9),u=function(t){function e(e){var n=t.call(this,e)||this;return n.eventDefs=[],n}return r.__extends(e,t),e.parse=function(t,e){var n;return i.isArray(t.events)?n=t:i.isArray(t)&&(n={events:t}),!!n&&a.default.parse.call(this,n,e)},e.prototype.setRawEventDefs=function(t){this.rawEventDefs=t,this.eventDefs=this.parseEventDefs(t)},e.prototype.fetch=function(t,e,n){var r,i=this.eventDefs;if(null!=this.currentTimezone&&this.currentTimezone!==n)for(r=0;r<i.length;r++)i[r]instanceof l.default&&i[r].rezone();return this.currentTimezone=n,s.default.resolve(i)},e.prototype.addEventDef=function(t){this.eventDefs.push(t)},e.prototype.removeEventDefsById=function(t){return o.removeMatching(this.eventDefs,function(e){return e.id===t})},e.prototype.removeAllEventDefs=function(){this.eventDefs=[]},e.prototype.getPrimitive=function(){return this.rawEventDefs},e.prototype.applyManualStandardProps=function(e){var n=t.prototype.applyManualStandardProps.call(this,e);return this.setRawEventDefs(e.events),n},e}(a.default);e.default=u,u.defineStandardProps({events:!1})},function(t,e,n){function r(t,e){a[t]=e}function i(t){return t?!0===t?s.default:a[t]:o.default}Object.defineProperty(e,"__esModule",{value:!0});var o=n(221),s=n(222),a={};e.defineThemeSystem=r,e.getThemeSystemClass=i},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),i=n(4),o=function(){function t(t){this.isHorizontal=!1,this.isVertical=!1,this.els=r(t.els),this.isHorizontal=t.isHorizontal,this.isVertical=t.isVertical,this.forcedOffsetParentEl=t.offsetParent?r(t.offsetParent):null}return t.prototype.build=function(){var t=this.forcedOffsetParentEl;!t&&this.els.length>0&&(t=this.els.eq(0).offsetParent()),this.origin=t?t.offset():null,this.boundingRect=this.queryBoundingRect(),this.isHorizontal&&this.buildElHorizontals(),this.isVertical&&this.buildElVerticals()},t.prototype.clear=function(){this.origin=null,this.boundingRect=null,this.lefts=null,this.rights=null,this.tops=null,this.bottoms=null},t.prototype.ensureBuilt=function(){this.origin||this.build()},t.prototype.buildElHorizontals=function(){var t=[],e=[];this.els.each(function(n,i){var o=r(i),s=o.offset().left,a=o.outerWidth();t.push(s),e.push(s+a)}),this.lefts=t,this.rights=e},t.prototype.buildElVerticals=function(){var t=[],e=[];this.els.each(function(n,i){var o=r(i),s=o.offset().top,a=o.outerHeight();t.push(s),e.push(s+a)}),this.tops=t,this.bottoms=e},t.prototype.getHorizontalIndex=function(t){this.ensureBuilt();var e,n=this.lefts,r=this.rights,i=n.length;for(e=0;e<i;e++)if(t>=n[e]&&t<r[e])return e},t.prototype.getVerticalIndex=function(t){this.ensureBuilt();var e,n=this.tops,r=this.bottoms,i=n.length;for(e=0;e<i;e++)if(t>=n[e]&&t<r[e])return e},t.prototype.getLeftOffset=function(t){return this.ensureBuilt(),this.lefts[t]},t.prototype.getLeftPosition=function(t){return this.ensureBuilt(),this.lefts[t]-this.origin.left},t.prototype.getRightOffset=function(t){return this.ensureBuilt(),this.rights[t]},t.prototype.getRightPosition=function(t){return this.ensureBuilt(),this.rights[t]-this.origin.left},t.prototype.getWidth=function(t){return this.ensureBuilt(),this.rights[t]-this.lefts[t]},t.prototype.getTopOffset=function(t){return this.ensureBuilt(),this.tops[t]},t.prototype.getTopPosition=function(t){return this.ensureBuilt(),this.tops[t]-this.origin.top},t.prototype.getBottomOffset=function(t){return this.ensureBuilt(),this.bottoms[t]},t.prototype.getBottomPosition=function(t){return this.ensureBuilt(),this.bottoms[t]-this.origin.top},t.prototype.getHeight=function(t){return this.ensureBuilt(),this.bottoms[t]-this.tops[t]},t.prototype.queryBoundingRect=function(){var t;return this.els.length>0&&(t=i.getScrollParent(this.els.eq(0)),!t.is(document)&&!t.is("html,body"))?i.getClientRect(t):null},t.prototype.isPointInBounds=function(t,e){return this.isLeftInBounds(t)&&this.isTopInBounds(e)},t.prototype.isLeftInBounds=function(t){return!this.boundingRect||t>=this.boundingRect.left&&t<this.boundingRect.right},t.prototype.isTopInBounds=function(t){return!this.boundingRect||t>=this.boundingRect.top&&t<this.boundingRect.bottom},t}();e.default=o},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),i=n(4),o=n(7),s=n(23),a=function(){function t(t){this.isInteracting=!1,this.isDistanceSurpassed=!1,this.isDelayEnded=!1,this.isDragging=!1,this.isTouch=!1,this.isGeneric=!1,this.shouldCancelTouchScroll=!0,this.scrollAlwaysKills=!1,this.isAutoScroll=!1,this.scrollSensitivity=30,this.scrollSpeed=200,this.scrollIntervalMs=50,this.options=t||{}}return t.prototype.startInteraction=function(t,e){if(void 0===e&&(e={}),"mousedown"===t.type){if(s.default.get().shouldIgnoreMouse())return;if(!i.isPrimaryMouseButton(t))return;t.preventDefault()}this.isInteracting||(this.delay=i.firstDefined(e.delay,this.options.delay,0),this.minDistance=i.firstDefined(e.distance,this.options.distance,0),this.subjectEl=this.options.subjectEl,i.preventSelection(r("body")),this.isInteracting=!0,this.isTouch=i.getEvIsTouch(t),this.isGeneric="dragstart"===t.type,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,this.originX=i.getEvX(t),this.originY=i.getEvY(t),this.scrollEl=i.getScrollParent(r(t.target)),this.bindHandlers(),this.initAutoScroll(),this.handleInteractionStart(t),this.startDelay(t),this.minDistance||this.handleDistanceSurpassed(t))},t.prototype.handleInteractionStart=function(t){this.trigger("interactionStart",t)},t.prototype.endInteraction=function(t,e){this.isInteracting&&(this.endDrag(t),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null),this.destroyAutoScroll(),this.unbindHandlers(),this.isInteracting=!1,this.handleInteractionEnd(t,e),i.allowSelection(r("body")))},t.prototype.handleInteractionEnd=function(t,e){this.trigger("interactionEnd",t,e||!1)},t.prototype.bindHandlers=function(){var t=s.default.get();this.isGeneric?this.listenTo(r(document),{drag:this.handleMove,dragstop:this.endInteraction}):this.isTouch?this.listenTo(t,{touchmove:this.handleTouchMove,touchend:this.endInteraction,scroll:this.handleTouchScroll}):this.listenTo(t,{mousemove:this.handleMouseMove,mouseup:this.endInteraction}),this.listenTo(t,{selectstart:i.preventDefault,contextmenu:i.preventDefault})},t.prototype.unbindHandlers=function(){this.stopListeningTo(s.default.get()),this.stopListeningTo(r(document))},t.prototype.startDrag=function(t,e){this.startInteraction(t,e),this.isDragging||(this.isDragging=!0,this.handleDragStart(t))},t.prototype.handleDragStart=function(t){this.trigger("dragStart",t)},t.prototype.handleMove=function(t){var e=i.getEvX(t)-this.originX,n=i.getEvY(t)-this.originY,r=this.minDistance;this.isDistanceSurpassed||e*e+n*n>=r*r&&this.handleDistanceSurpassed(t),this.isDragging&&this.handleDrag(e,n,t)},t.prototype.handleDrag=function(t,e,n){this.trigger("drag",t,e,n),this.updateAutoScroll(n)},t.prototype.endDrag=function(t){this.isDragging&&(this.isDragging=!1,this.handleDragEnd(t))},t.prototype.handleDragEnd=function(t){this.trigger("dragEnd",t)},t.prototype.startDelay=function(t){var e=this;this.delay?this.delayTimeoutId=setTimeout(function(){e.handleDelayEnd(t)},this.delay):this.handleDelayEnd(t)},t.prototype.handleDelayEnd=function(t){this.isDelayEnded=!0,this.isDistanceSurpassed&&this.startDrag(t)},t.prototype.handleDistanceSurpassed=function(t){this.isDistanceSurpassed=!0,this.isDelayEnded&&this.startDrag(t)},t.prototype.handleTouchMove=function(t){this.isDragging&&this.shouldCancelTouchScroll&&t.preventDefault(),this.handleMove(t)},t.prototype.handleMouseMove=function(t){this.handleMove(t)},t.prototype.handleTouchScroll=function(t){this.isDragging&&!this.scrollAlwaysKills||this.endInteraction(t,!0)},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];this.options[t]&&this.options[t].apply(this,e),this["_"+t]&&this["_"+t].apply(this,e)},t.prototype.initAutoScroll=function(){var t=this.scrollEl;this.isAutoScroll=this.options.scroll&&t&&!t.is(window)&&!t.is(document),this.isAutoScroll&&this.listenTo(t,"scroll",i.debounce(this.handleDebouncedScroll,100))},t.prototype.destroyAutoScroll=function(){this.endAutoScroll(),this.isAutoScroll&&this.stopListeningTo(this.scrollEl,"scroll")},t.prototype.computeScrollBounds=function(){this.isAutoScroll&&(this.scrollBounds=i.getOuterRect(this.scrollEl))},t.prototype.updateAutoScroll=function(t){var e,n,r,o,s=this.scrollSensitivity,a=this.scrollBounds,l=0,u=0;a&&(e=(s-(i.getEvY(t)-a.top))/s,n=(s-(a.bottom-i.getEvY(t)))/s,r=(s-(i.getEvX(t)-a.left))/s,o=(s-(a.right-i.getEvX(t)))/s,e>=0&&e<=1?l=e*this.scrollSpeed*-1:n>=0&&n<=1&&(l=n*this.scrollSpeed),r>=0&&r<=1?u=r*this.scrollSpeed*-1:o>=0&&o<=1&&(u=o*this.scrollSpeed)),this.setScrollVel(l,u)},t.prototype.setScrollVel=function(t,e){this.scrollTopVel=t,this.scrollLeftVel=e,this.constrainScrollVel(),!this.scrollTopVel&&!this.scrollLeftVel||this.scrollIntervalId||(this.scrollIntervalId=setInterval(i.proxy(this,"scrollIntervalFunc"),this.scrollIntervalMs))},t.prototype.constrainScrollVel=function(){var t=this.scrollEl;this.scrollTopVel<0?t.scrollTop()<=0&&(this.scrollTopVel=0):this.scrollTopVel>0&&t.scrollTop()+t[0].clientHeight>=t[0].scrollHeight&&(this.scrollTopVel=0),this.scrollLeftVel<0?t.scrollLeft()<=0&&(this.scrollLeftVel=0):this.scrollLeftVel>0&&t.scrollLeft()+t[0].clientWidth>=t[0].scrollWidth&&(this.scrollLeftVel=0)},t.prototype.scrollIntervalFunc=function(){var t=this.scrollEl,e=this.scrollIntervalMs/1e3;this.scrollTopVel&&t.scrollTop(t.scrollTop()+this.scrollTopVel*e),this.scrollLeftVel&&t.scrollLeft(t.scrollLeft()+this.scrollLeftVel*e),this.constrainScrollVel(),this.scrollTopVel||this.scrollLeftVel||this.endAutoScroll()},t.prototype.endAutoScroll=function(){this.scrollIntervalId&&(clearInterval(this.scrollIntervalId),this.scrollIntervalId=null,this.handleScrollEnd())},t.prototype.handleDebouncedScroll=function(){this.scrollIntervalId||this.handleScrollEnd()},t.prototype.handleScrollEnd=function(){},t}();e.default=a,o.default.mixInto(a)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(4),o=n(15),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.updateDayTable=function(){for(var t,e,n,r=this,i=r.view,o=i.calendar,s=o.msToUtcMoment(r.dateProfile.renderUnzonedRange.startMs,!0),a=o.msToUtcMoment(r.dateProfile.renderUnzonedRange.endMs,!0),l=-1,u=[],d=[];s.isBefore(a);)i.isHiddenDay(s)?u.push(l+.5):(l++,u.push(l),d.push(s.clone())),s.add(1,"days");if(this.breakOnWeeks){for(e=d[0].day(),t=1;t<d.length&&d[t].day()!==e;t++);n=Math.ceil(d.length/t)}else n=1,t=d.length;this.dayDates=d,this.dayIndices=u,this.daysPerRow=t,this.rowCnt=n,this.updateDayTableCols()},e.prototype.updateDayTableCols=function(){this.colCnt=this.computeColCnt(),this.colHeadFormat=this.opt("columnHeaderFormat")||this.opt("columnFormat")||this.computeColHeadFormat()},e.prototype.computeColCnt=function(){return this.daysPerRow},e.prototype.getCellDate=function(t,e){return this.dayDates[this.getCellDayIndex(t,e)].clone()},e.prototype.getCellRange=function(t,e){var n=this.getCellDate(t,e);return{start:n,end:n.clone().add(1,"days")}},e.prototype.getCellDayIndex=function(t,e){return t*this.daysPerRow+this.getColDayIndex(e)},e.prototype.getColDayIndex=function(t){return this.isRTL?this.colCnt-1-t:t},e.prototype.getDateDayIndex=function(t){var e=this.dayIndices,n=t.diff(this.dayDates[0],"days");return n<0?e[0]-1:n>=e.length?e[e.length-1]+1:e[n]},e.prototype.computeColHeadFormat=function(){return this.rowCnt>1||this.colCnt>10?"ddd":this.colCnt>1?this.opt("dayOfMonthFormat"):"dddd"},e.prototype.sliceRangeByRow=function(t){var e,n,r,i,o,s=this.daysPerRow,a=this.view.computeDayRange(t),l=this.getDateDayIndex(a.start),u=this.getDateDayIndex(a.end.clone().subtract(1,"days")),d=[];for(e=0;e<this.rowCnt;e++)n=e*s,r=n+s-1,i=Math.max(l,n),o=Math.min(u,r),i=Math.ceil(i),o=Math.floor(o),i<=o&&d.push({row:e,firstRowDayIndex:i-n,lastRowDayIndex:o-n,isStart:i===l,isEnd:o===u});return d},e.prototype.sliceRangeByDay=function(t){var e,n,r,i,o,s,a=this.daysPerRow,l=this.view.computeDayRange(t),u=this.getDateDayIndex(l.start),d=this.getDateDayIndex(l.end.clone().subtract(1,"days")),c=[];for(e=0;e<this.rowCnt;e++)for(n=e*a,r=n+a-1,i=n;i<=r;i++)o=Math.max(u,i),s=Math.min(d,i),o=Math.ceil(o),s=Math.floor(s),o<=s&&c.push({row:e,firstRowDayIndex:o-n,lastRowDayIndex:s-n,isStart:o===u,isEnd:s===d});return c},e.prototype.renderHeadHtml=function(){var t=this.view.calendar.theme;return'<div class="fc-row '+t.getClass("headerRow")+'"><table class="'+t.getClass("tableGrid")+'"><thead>'+this.renderHeadTrHtml()+"</thead></table></div>"},e.prototype.renderHeadIntroHtml=function(){return this.renderIntroHtml()},e.prototype.renderHeadTrHtml=function(){return"<tr>"+(this.isRTL?"":this.renderHeadIntroHtml())+this.renderHeadDateCellsHtml()+(this.isRTL?this.renderHeadIntroHtml():"")+"</tr>"},e.prototype.renderHeadDateCellsHtml=function(){var t,e,n=[];for(t=0;t<this.colCnt;t++)e=this.getCellDate(0,t),n.push(this.renderHeadDateCellHtml(e));return n.join("")},e.prototype.renderHeadDateCellHtml=function(t,e,n){var r,o=this,s=o.view,a=o.dateProfile.activeUnzonedRange.containsDate(t),l=["fc-day-header",s.calendar.theme.getClass("widgetHeader")];return r="function"==typeof o.opt("columnHeaderHtml")?o.opt("columnHeaderHtml")(t):"function"==typeof o.opt("columnHeaderText")?i.htmlEscape(o.opt("columnHeaderText")(t)):i.htmlEscape(t.format(o.colHeadFormat)),1===o.rowCnt?l=l.concat(o.getDayClasses(t,!0)):l.push("fc-"+i.dayIDs[t.day()]),'<th class="'+l.join(" ")+'"'+(1===(a&&o.rowCnt)?' data-date="'+t.format("YYYY-MM-DD")+'"':"")+(e>1?' colspan="'+e+'"':"")+(n?" "+n:"")+">"+(a?s.buildGotoAnchorHtml({date:t,forceOff:o.rowCnt>1||1===o.colCnt},r):r)+"</th>"},e.prototype.renderBgTrHtml=function(t){return"<tr>"+(this.isRTL?"":this.renderBgIntroHtml(t))+this.renderBgCellsHtml(t)+(this.isRTL?this.renderBgIntroHtml(t):"")+"</tr>"},e.prototype.renderBgIntroHtml=function(t){return this.renderIntroHtml()},e.prototype.renderBgCellsHtml=function(t){var e,n,r=[];for(e=0;e<this.colCnt;e++)n=this.getCellDate(t,e),r.push(this.renderBgCellHtml(n));return r.join("")},e.prototype.renderBgCellHtml=function(t,e){var n=this,r=n.view,i=n.dateProfile.activeUnzonedRange.containsDate(t),o=n.getDayClasses(t);return o.unshift("fc-day",r.calendar.theme.getClass("widgetContent")),'<td class="'+o.join(" ")+'"'+(i?' data-date="'+t.format("YYYY-MM-DD")+'"':"")+(e?" "+e:"")+"></td>"},e.prototype.renderIntroHtml=function(){},e.prototype.bookendCells=function(t){var e=this.renderIntroHtml();e&&(this.isRTL?t.append(e):t.prepend(e))},e}(o.default);e.default=s},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){this.component=t,this.fillRenderer=e}
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/fullcalendar-3.10.2/fullcalendar.min.js-9-return t.prototype.render=function(t){var e=this.component,n=e._getDateProfile().activeUnzonedRange,r=t.buildEventInstanceGroup(e.hasAllDayBusinessHours,n),i=r?e.eventRangesToEventFootprints(r.sliceRenderRanges(n)):[];this.renderEventFootprints(i)},t.prototype.renderEventFootprints=function(t){var e=this.component.eventFootprintsToSegs(t);this.renderSegs(e),this.segs=e},t.prototype.renderSegs=function(t){this.fillRenderer&&this.fillRenderer.renderSegs("businessHours",t,{getClasses:function(t){return["fc-nonbusiness","fc-bgevent"]}})},t.prototype.unrender=function(){this.fillRenderer&&this.fillRenderer.unrender("businessHours"),this.segs=null},t.prototype.getSegs=function(){return this.segs||[]},t}();e.default=n},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),i=n(4),o=function(){function t(t){this.fillSegTag="div",this.component=t,this.elsByFill={}}return t.prototype.renderFootprint=function(t,e,n){this.renderSegs(t,this.component.componentFootprintToSegs(e),n)},t.prototype.renderSegs=function(t,e,n){var r;return e=this.buildSegEls(t,e,n),r=this.attachSegEls(t,e),r&&this.reportEls(t,r),e},t.prototype.unrender=function(t){var e=this.elsByFill[t];e&&(e.remove(),delete this.elsByFill[t])},t.prototype.buildSegEls=function(t,e,n){var i,o=this,s="",a=[];if(e.length){for(i=0;i<e.length;i++)s+=this.buildSegHtml(t,e[i],n);r(s).each(function(t,i){var s=e[t],l=r(i);n.filterEl&&(l=n.filterEl(s,l)),l&&(l=r(l),l.is(o.fillSegTag)&&(s.el=l,a.push(s)))})}return a},t.prototype.buildSegHtml=function(t,e,n){var r=n.getClasses?n.getClasses(e):[],o=i.cssToStr(n.getCss?n.getCss(e):{});return"<"+this.fillSegTag+(r.length?' class="'+r.join(" ")+'"':"")+(o?' style="'+o+'"':"")+"></"+this.fillSegTag+">"},t.prototype.attachSegEls=function(t,e){},t.prototype.reportEls=function(t,e){this.elsByFill[t]?this.elsByFill[t]=this.elsByFill[t].add(e):this.elsByFill[t]=r(e)},t}();e.default=o},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(9),i=n(34),o=n(6),s=function(){function t(t,e){this.view=t._getView(),this.component=t,this.eventRenderer=e}return t.prototype.renderComponentFootprint=function(t){this.renderEventFootprints([this.fabricateEventFootprint(t)])},t.prototype.renderEventDraggingFootprints=function(t,e,n){this.renderEventFootprints(t,e,"fc-dragging",n?null:this.view.opt("dragOpacity"))},t.prototype.renderEventResizingFootprints=function(t,e,n){this.renderEventFootprints(t,e,"fc-resizing")},t.prototype.renderEventFootprints=function(t,e,n,r){var i,o=this.component.eventFootprintsToSegs(t),s="fc-helper "+(n||"");for(o=this.eventRenderer.renderFgSegEls(o),i=0;i<o.length;i++)o[i].el.addClass(s);if(null!=r)for(i=0;i<o.length;i++)o[i].el.css("opacity",r);this.helperEls=this.renderSegs(o,e)},t.prototype.renderSegs=function(t,e){},t.prototype.unrender=function(){this.helperEls&&(this.helperEls.remove(),this.helperEls=null)},t.prototype.fabricateEventFootprint=function(t){var e,n=this.view.calendar,s=n.footprintToDateProfile(t),a=new r.default(new o.default(n));return a.dateProfile=s,e=a.buildInstance(),new i.default(t,a,e)},t}();e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(23),o=n(14),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.bindToEl=function(t){var e=this.component;e.bindSegHandlerToEl(t,"click",this.handleClick.bind(this)),e.bindSegHandlerToEl(t,"mouseenter",this.handleMouseover.bind(this)),e.bindSegHandlerToEl(t,"mouseleave",this.handleMouseout.bind(this))},e.prototype.handleClick=function(t,e){!1===this.component.publiclyTrigger("eventClick",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,this.view]})&&e.preventDefault()},e.prototype.handleMouseover=function(t,e){i.default.get().shouldIgnoreMouse()||this.mousedOverSeg||(this.mousedOverSeg=t,this.view.isEventDefResizable(t.footprint.eventDef)&&t.el.addClass("fc-allow-mouse-resize"),this.component.publiclyTrigger("eventMouseover",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,this.view]}))},e.prototype.handleMouseout=function(t,e){this.mousedOverSeg&&(this.mousedOverSeg=null,this.view.isEventDefResizable(t.footprint.eventDef)&&t.el.removeClass("fc-allow-mouse-resize"),this.component.publiclyTrigger("eventMouseout",{context:t.el[0],args:[t.footprint.getEventLegacy(),e||{},this.view]}))},e.prototype.end=function(){this.mousedOverSeg&&this.handleMouseout(this.mousedOverSeg)},e}(o.default);e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(15),o=n(237),s=n(236),a=n(64),l=n(235),u=n(234),d=n(233),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e}(i.default);e.default=c,c.prototype.dateClickingClass=o.default,c.prototype.dateSelectingClass=s.default,c.prototype.eventPointingClass=a.default,c.prototype.eventDraggingClass=l.default,c.prototype.eventResizingClass=u.default,c.prototype.externalDroppingClass=d.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(3),o=n(4),s=n(58),a=n(227),l=n(5),u=n(12),d=n(34),c=n(61),p=n(65),h=n(42),f=n(60),g=n(243),v=n(244),y=n(245),m=function(t){function e(e){var n=t.call(this,e)||this;return n.cellWeekNumbersVisible=!1,n.bottomCoordPadding=0,n.isRigid=!1,n.hasAllDayBusinessHours=!0,n}return r.__extends(e,t),e.prototype.componentFootprintToSegs=function(t){var e,n,r=this.sliceRangeByRow(t.unzonedRange);for(e=0;e<r.length;e++)n=r[e],this.isRTL?(n.leftCol=this.daysPerRow-1-n.lastRowDayIndex,n.rightCol=this.daysPerRow-1-n.firstRowDayIndex):(n.leftCol=n.firstRowDayIndex,n.rightCol=n.lastRowDayIndex);return r},e.prototype.renderDates=function(t){this.dateProfile=t,this.updateDayTable(),this.renderGrid()},e.prototype.unrenderDates=function(){this.removeSegPopover()},e.prototype.renderGrid=function(){var t,e,n=this.view,r=this.rowCnt,i=this.colCnt,o="";for(this.headContainerEl&&this.headContainerEl.html(this.renderHeadHtml()),t=0;t<r;t++)o+=this.renderDayRowHtml(t,this.isRigid);for(this.el.html(o),this.rowEls=this.el.find(".fc-row"),this.cellEls=this.el.find(".fc-day, .fc-disabled-day"),this.rowCoordCache=new s.default({els:this.rowEls,isVertical:!0}),this.colCoordCache=new s.default({els:this.cellEls.slice(0,this.colCnt),isHorizontal:!0}),t=0;t<r;t++)for(e=0;e<i;e++)this.publiclyTrigger("dayRender",{context:n,args:[this.getCellDate(t,e),this.getCellEl(t,e),n]})},e.prototype.renderDayRowHtml=function(t,e){var n=this.view.calendar.theme,r=["fc-row","fc-week",n.getClass("dayRow")];return e&&r.push("fc-rigid"),'<div class="'+r.join(" ")+'"><div class="fc-bg"><table class="'+n.getClass("tableGrid")+'">'+this.renderBgTrHtml(t)+'</table></div><div class="fc-content-skeleton"><table>'+(this.getIsNumbersVisible()?"<thead>"+this.renderNumberTrHtml(t)+"</thead>":"")+"</table></div></div>"},e.prototype.getIsNumbersVisible=function(){return this.getIsDayNumbersVisible()||this.cellWeekNumbersVisible},e.prototype.getIsDayNumbersVisible=function(){return this.rowCnt>1},e.prototype.renderNumberTrHtml=function(t){return"<tr>"+(this.isRTL?"":this.renderNumberIntroHtml(t))+this.renderNumberCellsHtml(t)+(this.isRTL?this.renderNumberIntroHtml(t):"")+"</tr>"},e.prototype.renderNumberIntroHtml=function(t){return this.renderIntroHtml()},e.prototype.renderNumberCellsHtml=function(t){var e,n,r=[];for(e=0;e<this.colCnt;e++)n=this.getCellDate(t,e),r.push(this.renderNumberCellHtml(n));return r.join("")},e.prototype.renderNumberCellHtml=function(t){var e,n,r=this.view,i="",o=this.dateProfile.activeUnzonedRange.containsDate(t),s=this.getIsDayNumbersVisible()&&o;return s||this.cellWeekNumbersVisible?(e=this.getDayClasses(t),e.unshift("fc-day-top"),this.cellWeekNumbersVisible&&(n="ISO"===t._locale._fullCalendar_weekCalc?1:t._locale.firstDayOfWeek()),i+='<td class="'+e.join(" ")+'"'+(o?' data-date="'+t.format()+'"':"")+">",this.cellWeekNumbersVisible&&t.day()===n&&(i+=r.buildGotoAnchorHtml({date:t,type:"week"},{class:"fc-week-number"},t.format("w"))),s&&(i+=r.buildGotoAnchorHtml(t,{class:"fc-day-number"},t.format("D"))),i+="</td>"):"<td></td>"},e.prototype.prepareHits=function(){this.colCoordCache.build(),this.rowCoordCache.build(),this.rowCoordCache.bottoms[this.rowCnt-1]+=this.bottomCoordPadding},e.prototype.releaseHits=function(){this.colCoordCache.clear(),this.rowCoordCache.clear()},e.prototype.queryHit=function(t,e){if(this.colCoordCache.isLeftInBounds(t)&&this.rowCoordCache.isTopInBounds(e)){var n=this.colCoordCache.getHorizontalIndex(t),r=this.rowCoordCache.getVerticalIndex(e);if(null!=r&&null!=n)return this.getCellHit(r,n)}},e.prototype.getHitFootprint=function(t){var e=this.getCellRange(t.row,t.col);return new u.default(new l.default(e.start,e.end),!0)},e.prototype.getHitEl=function(t){return this.getCellEl(t.row,t.col)},e.prototype.getCellHit=function(t,e){return{row:t,col:e,component:this,left:this.colCoordCache.getLeftOffset(e),right:this.colCoordCache.getRightOffset(e),top:this.rowCoordCache.getTopOffset(t),bottom:this.rowCoordCache.getBottomOffset(t)}},e.prototype.getCellEl=function(t,e){return this.cellEls.eq(t*this.colCnt+e)},e.prototype.executeEventUnrender=function(){this.removeSegPopover(),t.prototype.executeEventUnrender.call(this)},e.prototype.getOwnEventSegs=function(){return t.prototype.getOwnEventSegs.call(this).concat(this.popoverSegs||[])},e.prototype.renderDrag=function(t,e,n){var r;for(r=0;r<t.length;r++)this.renderHighlight(t[r].componentFootprint);if(t.length&&e&&e.component!==this)return this.helperRenderer.renderEventDraggingFootprints(t,e,n),!0},e.prototype.unrenderDrag=function(){this.unrenderHighlight(),this.helperRenderer.unrender()},e.prototype.renderEventResize=function(t,e,n){var r;for(r=0;r<t.length;r++)this.renderHighlight(t[r].componentFootprint);this.helperRenderer.renderEventResizingFootprints(t,e,n)},e.prototype.unrenderEventResize=function(){this.unrenderHighlight(),this.helperRenderer.unrender()},e.prototype.removeSegPopover=function(){this.segPopover&&this.segPopover.hide()},e.prototype.limitRows=function(t){var e,n,r=this.eventRenderer.rowStructs||[];for(e=0;e<r.length;e++)this.unlimitRow(e),!1!==(n=!!t&&("number"==typeof t?t:this.computeRowLevelLimit(e)))&&this.limitRow(e,n)},e.prototype.computeRowLevelLimit=function(t){function e(t,e){o=Math.max(o,i(e).outerHeight())}var n,r,o,s=this.rowEls.eq(t),a=s.height(),l=this.eventRenderer.rowStructs[t].tbodyEl.children();for(n=0;n<l.length;n++)if(r=l.eq(n).removeClass("fc-limited"),o=0,r.find("> td > :first-child").each(e),r.position().top+o>a)return n;return!1},e.prototype.limitRow=function(t,e){var n,r,o,s,a,l,u,d,c,p,h,f,g,v,y,m=this,b=this.eventRenderer.rowStructs[t],w=[],D=0,E=function(n){for(;D<n;)l=m.getCellSegs(t,D,e),l.length&&(c=r[e-1][D],y=m.renderMoreLink(t,D,l),v=i("<div>").append(y),c.append(v),w.push(v[0])),D++};if(e&&e<b.segLevels.length){for(n=b.segLevels[e-1],r=b.cellMatrix,o=b.tbodyEl.children().slice(e).addClass("fc-limited").get(),s=0;s<n.length;s++){for(a=n[s],E(a.leftCol),d=[],u=0;D<=a.rightCol;)l=this.getCellSegs(t,D,e),d.push(l),u+=l.length,D++;if(u){for(c=r[e-1][a.leftCol],p=c.attr("rowspan")||1,h=[],f=0;f<d.length;f++)g=i('<td class="fc-more-cell">').attr("rowspan",p),l=d[f],y=this.renderMoreLink(t,a.leftCol+f,[a].concat(l)),v=i("<div>").append(y),g.append(v),h.push(g[0]),w.push(g[0]);c.addClass("fc-limited").after(i(h)),o.push(c[0])}}E(this.colCnt),b.moreEls=i(w),b.limitedEls=i(o)}},e.prototype.unlimitRow=function(t){var e=this.eventRenderer.rowStructs[t];e.moreEls&&(e.moreEls.remove(),e.moreEls=null),e.limitedEls&&(e.limitedEls.removeClass("fc-limited"),e.limitedEls=null)},e.prototype.renderMoreLink=function(t,e,n){var r=this,o=this.view;return i('<a class="fc-more">').text(this.getMoreLinkText(n.length)).on("click",function(s){var a=r.opt("eventLimitClick"),l=r.getCellDate(t,e),u=i(s.currentTarget),d=r.getCellEl(t,e),c=r.getCellSegs(t,e),p=r.resliceDaySegs(c,l),h=r.resliceDaySegs(n,l);"function"==typeof a&&(a=r.publiclyTrigger("eventLimitClick",{context:o,args:[{date:l.clone(),dayEl:d,moreEl:u,segs:p,hiddenSegs:h},s,o]})),"popover"===a?r.showSegPopover(t,e,u,p):"string"==typeof a&&o.calendar.zoomTo(l,a)})},e.prototype.showSegPopover=function(t,e,n,r){var i,o,s=this,l=this.view,u=n.parent();i=1===this.rowCnt?l.el:this.rowEls.eq(t),o={className:"fc-more-popover "+l.calendar.theme.getClass("popover"),content:this.renderSegPopoverContent(t,e,r),parentEl:l.el,top:i.offset().top,autoHide:!0,viewportConstrain:this.opt("popoverViewportConstrain"),hide:function(){s.popoverSegs&&s.triggerBeforeEventSegsDestroyed(s.popoverSegs),s.segPopover.removeElement(),s.segPopover=null,s.popoverSegs=null}},this.isRTL?o.right=u.offset().left+u.outerWidth()+1:o.left=u.offset().left-1,this.segPopover=new a.default(o),this.segPopover.show(),this.bindAllSegHandlersToEl(this.segPopover.el),this.triggerAfterEventSegsRendered(r)},e.prototype.renderSegPopoverContent=function(t,e,n){var r,s=this.view,a=s.calendar.theme,l=this.getCellDate(t,e).format(this.opt("dayPopoverFormat")),u=i('<div class="fc-header '+a.getClass("popoverHeader")+'"><span class="fc-close '+a.getIconClass("close")+'"></span><span class="fc-title">'+o.htmlEscape(l)+'</span><div class="fc-clear"></div></div><div class="fc-body '+a.getClass("popoverContent")+'"><div class="fc-event-container"></div></div>'),d=u.find(".fc-event-container");for(n=this.eventRenderer.renderFgSegEls(n,!0),this.popoverSegs=n,r=0;r<n.length;r++)this.hitsNeeded(),n[r].hit=this.getCellHit(t,e),this.hitsNotNeeded(),d.append(n[r].el);return u},e.prototype.resliceDaySegs=function(t,e){var n,r,o,s=e.clone(),a=s.clone().add(1,"days"),c=new l.default(s,a),p=[];for(n=0;n<t.length;n++)r=t[n],(o=r.footprint.componentFootprint.unzonedRange.intersect(c))&&p.push(i.extend({},r,{footprint:new d.default(new u.default(o,r.footprint.componentFootprint.isAllDay),r.footprint.eventDef,r.footprint.eventInstance),isStart:r.isStart&&o.isStart,isEnd:r.isEnd&&o.isEnd}));return this.eventRenderer.sortEventSegs(p),p},e.prototype.getMoreLinkText=function(t){var e=this.opt("eventLimitText");return"function"==typeof e?e(t):"+"+t+" "+e},e.prototype.getCellSegs=function(t,e,n){for(var r,i=this.eventRenderer.rowStructs[t].segMatrix,o=n||0,s=[];o<i.length;)r=i[o][e],r&&s.push(r),o++;return s},e}(h.default);e.default=m,m.prototype.eventRendererClass=g.default,m.prototype.businessHourRendererClass=c.default,m.prototype.helperRendererClass=v.default,m.prototype.fillRendererClass=y.default,p.default.mixInto(m),f.default.mixInto(m)},function(t,e,n){function r(t){return function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.colWeekNumbersVisible=!1,e}return i.__extends(e,t),e.prototype.renderHeadIntroHtml=function(){var t=this.view;return this.colWeekNumbersVisible?'<th class="fc-week-number '+t.calendar.theme.getClass("widgetHeader")+'" '+t.weekNumberStyleAttr()+"><span>"+s.htmlEscape(this.opt("weekNumberTitle"))+"</span></th>":""},e.prototype.renderNumberIntroHtml=function(t){var e=this.view,n=this.getCellDate(t,0);return this.colWeekNumbersVisible?'<td class="fc-week-number" '+e.weekNumberStyleAttr()+">"+e.buildGotoAnchorHtml({date:n,type:"week",forceOff:1===this.colCnt},n.format("w"))+"</td>":""},e.prototype.renderBgIntroHtml=function(){var t=this.view;return this.colWeekNumbersVisible?'<td class="fc-week-number '+t.calendar.theme.getClass("widgetContent")+'" '+t.weekNumberStyleAttr()+"></td>":""},e.prototype.renderIntroHtml=function(){var t=this.view;return this.colWeekNumbersVisible?'<td class="fc-week-number" '+t.weekNumberStyleAttr()+"></td>":""},e.prototype.getIsNumbersVisible=function(){return d.default.prototype.getIsNumbersVisible.apply(this,arguments)||this.colWeekNumbersVisible},e}(t)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(3),s=n(4),a=n(41),l=n(43),u=n(68),d=n(66),c=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.dayGrid=r.instantiateDayGrid(),r.dayGrid.isRigid=r.hasRigidRows(),r.opt("weekNumbers")&&(r.opt("weekNumbersWithinDays")?(r.dayGrid.cellWeekNumbersVisible=!0,r.dayGrid.colWeekNumbersVisible=!1):(r.dayGrid.cellWeekNumbersVisible=!1,r.dayGrid.colWeekNumbersVisible=!0)),r.addChild(r.dayGrid),r.scroller=new a.default({overflowX:"hidden",overflowY:"auto"}),r}return i.__extends(e,t),e.prototype.instantiateDayGrid=function(){return new(r(this.dayGridClass))(this)},e.prototype.executeDateRender=function(e){this.dayGrid.breakOnWeeks=/year|month|week/.test(e.currentRangeUnit),t.prototype.executeDateRender.call(this,e)},e.prototype.renderSkeleton=function(){var t,e;this.el.addClass("fc-basic-view").html(this.renderSkeletonHtml()),this.scroller.render(),t=this.scroller.el.addClass("fc-day-grid-container"),e=o('<div class="fc-day-grid">').appendTo(t),this.el.find(".fc-body > tr > td").append(t),this.dayGrid.headContainerEl=this.el.find(".fc-head-container"),this.dayGrid.setElement(e)},e.prototype.unrenderSkeleton=function(){this.dayGrid.removeElement(),this.scroller.destroy()},e.prototype.renderSkeletonHtml=function(){var t=this.calendar.theme;return'<table class="'+t.getClass("tableGrid")+'">'+(this.opt("columnHeader")?'<thead class="fc-head"><tr><td class="fc-head-container '+t.getClass("widgetHeader")+'">&nbsp;</td></tr></thead>':"")+'<tbody class="fc-body"><tr><td class="'+t.getClass("widgetContent")+'"></td></tr></tbody></table>'},e.prototype.weekNumberStyleAttr=function(){return null!=this.weekNumberWidth?'style="width:'+this.weekNumberWidth+'px"':""},e.prototype.hasRigidRows=function(){var t=this.opt("eventLimit");return t&&"number"!=typeof t},e.prototype.updateSize=function(e,n,r){var i,o,a=this.opt("eventLimit"),l=this.dayGrid.headContainerEl.find(".fc-row");if(!this.dayGrid.rowEls)return void(n||(i=this.computeScrollerHeight(e),this.scroller.setHeight(i)));t.prototype.updateSize.call(this,e,n,r),this.dayGrid.colWeekNumbersVisible&&(this.weekNumberWidth=s.matchCellWidths(this.el.find(".fc-week-number"))),this.scroller.clear(),s.uncompensateScroll(l),this.dayGrid.removeSegPopover(),a&&"number"==typeof a&&this.dayGrid.limitRows(a),i=this.computeScrollerHeight(e),this.setGridHeight(i,n),a&&"number"!=typeof a&&this.dayGrid.limitRows(a),n||(this.scroller.setHeight(i),o=this.scroller.getScrollbarWidths(),(o.left||o.right)&&(s.compensateScroll(l,o),i=this.computeScrollerHeight(e),this.scroller.setHeight(i)),this.scroller.lockOverflow(o))},e.prototype.computeScrollerHeight=function(t){return t-s.subtractInnerElHeight(this.el,this.scroller.el)},e.prototype.setGridHeight=function(t,e){e?s.undistributeHeight(this.dayGrid.rowEls):s.distributeHeight(this.dayGrid.rowEls,t,!0)},e.prototype.computeInitialDateScroll=function(){return{top:0}},e.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},e.prototype.applyDateScroll=function(t){void 0!==t.top&&this.scroller.setScrollTop(t.top)},e}(l.default);e.default=c,c.prototype.dateProfileGeneratorClass=u.default,c.prototype.dayGridClass=d.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(5),o=n(55),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.buildRenderRange=function(e,n,r){var o=t.prototype.buildRenderRange.call(this,e,n,r),s=this.msToUtcMoment(o.startMs,r),a=this.msToUtcMoment(o.endMs,r);return/^(year|month)$/.test(n)&&(s.startOf("week"),a.weekday()&&a.add(1,"week").startOf("week")),new i.default(s,a)},e}(o.default);e.default=s},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){function r(t,e,n){var r;for(r=0;r<t.length;r++)if(!e(t[r].eventInstance.toLegacy(),n?n.toLegacy():null))return!1;return!0}function i(t,e){var n,r,i,o,s=e.toLegacy();for(n=0;n<t.length;n++){if(r=t[n].eventInstance,i=r.def,!1===(o=i.getOverlap()))return!1;if("function"==typeof o&&!o(r.toLegacy(),s))return!1}return!0}Object.defineProperty(e,"__esModule",{value:!0});var o=n(5),s=n(12),a=n(36),l=n(6),u=n(19),d=function(){function t(t,e){this.eventManager=t,this._calendar=e}return t.prototype.opt=function(t){return this._calendar.opt(t)},t.prototype.isEventInstanceGroupAllowed=function(t){var e,n=t.getEventDef(),r=this.eventRangesToEventFootprints(t.getAllEventRanges()),i=this.getPeerEventInstances(n),o=i.map(u.eventInstanceToEventRange),s=this.eventRangesToEventFootprints(o),a=n.getConstraint(),l=n.getOverlap(),d=this.opt("eventAllow");for(e=0;e<r.length;e++)if(!this.isFootprintAllowed(r[e].componentFootprint,s,a,l,r[e].eventInstance))return!1;if(d)for(e=0;e<r.length;e++)if(!1===d(r[e].componentFootprint.toLegacy(this._calendar),r[e].getEventLegacy()))return!1;return!0},t.prototype.getPeerEventInstances=function(t){return this.eventManager.getEventInstancesWithoutId(t.id)},t.prototype.isSelectionFootprintAllowed=function(t){var e,n=this.eventManager.getEventInstances(),r=n.map(u.eventInstanceToEventRange),i=this.eventRangesToEventFootprints(r);return!!this.isFootprintAllowed(t,i,this.opt("selectConstraint"),this.opt("selectOverlap"))&&(!(e=this.opt("selectAllow"))||!1!==e(t.toLegacy(this._calendar)))},t.prototype.isFootprintAllowed=function(t,e,n,o,s){var a,l;if(null!=n&&(a=this.constraintValToFootprints(n,t.isAllDay),!this.isFootprintWithinConstraints(t,a)))return!1;if(l=this.collectOverlapEventFootprints(e,t),!1===o){if(l.length)return!1}else if("function"==typeof o&&!r(l,o,s))return!1;return!(s&&!i(l,s))},t.prototype.isFootprintWithinConstraints=function(t,e){var n;for(n=0;n<e.length;n++)if(this.footprintContainsFootprint(e[n],t))return!0;return!1},t.prototype.constraintValToFootprints=function(t,e){var n;return"businessHours"===t?this.buildCurrentBusinessFootprints(e):"object"==typeof t?(n=this.parseEventDefToInstances(t),n?this.eventInstancesToFootprints(n):this.parseFootprints(t)):null!=t?(n=this.eventManager.getEventInstancesWithId(t),this.eventInstancesToFootprints(n)):void 0},t.prototype.buildCurrentBusinessFootprints=function(t){var e=this._calendar.view,n=e.get("businessHourGenerator"),r=e.dateProfile.activeUnzonedRange,i=n.buildEventInstanceGroup(t,r);return i?this.eventInstancesToFootprints(i.eventInstances):[]},t.prototype.eventInstancesToFootprints=function(t){var e=t.map(u.eventInstanceToEventRange);return this.eventRangesToEventFootprints(e).map(u.eventFootprintToComponentFootprint)},t.prototype.collectOverlapEventFootprints=function(t,e){var n,r=[];for(n=0;n<t.length;n++)this.footprintsIntersect(e,t[n].componentFootprint)&&r.push(t[n]);return r},t.prototype.parseEventDefToInstances=function(t){var e=this.eventManager,n=a.default.parse(t,new l.default(this._calendar));return!!n&&n.buildInstances(e.currentPeriod.unzonedRange)},t.prototype.eventRangesToEventFootprints=function(t){var e,n=[];for(e=0;e<t.length;e++)n.push.apply(n,this.eventRangeToEventFootprints(t[e]));return n},t.prototype.eventRangeToEventFootprints=function(t){return[u.eventRangeToEventFootprint(t)]},t.prototype.parseFootprints=function(t){var e,n;return t.start&&(e=this._calendar.moment(t.start),e.isValid()||(e=null)),t.end&&(n=this._calendar.moment(t.end),n.isValid()||(n=null)),[new s.default(new o.default(e,n),e&&!e.hasTime()||n&&!n.hasTime())]},t.prototype.footprintContainsFootprint=function(t,e){return t.unzonedRange.containsRange(e.unzonedRange)},t.prototype.footprintsIntersect=function(t,e){return t.unzonedRange.intersectsWith(e.unzonedRange)},t}();e.default=d},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),i=n(19),o=n(20),s=n(54),a=n(6),l={start:"09:00",end:"17:00",dow:[1,2,3,4,5],rendering:"inverse-background"},u=function(){function t(t,e){this.rawComplexDef=t,this.calendar=e}return t.prototype.buildEventInstanceGroup=function(t,e){var n,r=this.buildEventDefs(t);if(r.length)return n=new o.default(i.eventDefsToEventInstances(r,e)),n.explicitEventDef=r[0],n},t.prototype.buildEventDefs=function(t){var e,n=this.rawComplexDef,i=[],o=!1,s=[];for(!0===n?i=[{}]:r.isPlainObject(n)?i=[n]:r.isArray(n)&&(i=n,o=!0),e=0;e<i.length;e++)o&&!i[e].dow||s.push(this.buildEventDef(t,i[e]));return s},t.prototype.buildEventDef=function(t,e){var n=r.extend({},l,e);return t&&(n.start=null,n.end=null),s.default.parse(n,new a.default(this.calendar))},t}();e.default=u},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),i=n(4),o=n(21),s=n(13),a=n(5),l=n(20),u=function(){function t(t,e,n){this.pendingCnt=0,this.freezeDepth=0,this.stuntedReleaseCnt=0,this.releaseCnt=0,this.start=t,this.end=e,this.timezone=n,this.unzonedRange=new a.default(t.clone().stripZone(),e.clone().stripZone()),this.requestsByUid={},this.eventDefsByUid={},this.eventDefsById={},this.eventInstanceGroupsById={}}return t.prototype.isWithinRange=function(t,e){return!t.isBefore(this.start)&&!e.isAfter(this.end)},t.prototype.requestSources=function(t){this.freeze();for(var e=0;e<t.length;e++)this.requestSource(t[e]);this.thaw()},t.prototype.requestSource=function(t){var e=this,n={source:t,status:"pending",eventDefs:null};this.requestsByUid[t.uid]=n,this.pendingCnt+=1,t.fetch(this.start,this.end,this.timezone).then(function(t){"cancelled"!==n.status&&(n.status="completed",n.eventDefs=t,e.addEventDefs(t),e.pendingCnt--,e.tryRelease())},function(){"cancelled"!==n.status&&(n.status="failed",e.pendingCnt--,e.tryRelease())})},t.prototype.purgeSource=function(t){var e=this.requestsByUid[t.uid];e&&(delete this.requestsByUid[t.uid],"pending"===e.status?(e.status="cancelled",this.pendingCnt--,this.tryRelease()):"completed"===e.status&&e.eventDefs.forEach(this.removeEventDef.bind(this)))},t.prototype.purgeAllSources=function(){var t,e,n=this.requestsByUid,r=0;for(t in n)e=n[t],"pending"===e.status?e.status="cancelled":"completed"===e.status&&r++;this.requestsByUid={},this.pendingCnt=0,r&&this.removeAllEventDefs()},t.prototype.getEventDefByUid=function(t){return this.eventDefsByUid[t]},t.prototype.getEventDefsById=function(t){var e=this.eventDefsById[t];return e?e.slice():[]},t.prototype.addEventDefs=function(t){for(var e=0;e<t.length;e++)this.addEventDef(t[e])},t.prototype.addEventDef=function(t){var e,n=this.eventDefsById,r=t.id,i=n[r]||(n[r]=[]),o=t.buildInstances(this.unzonedRange);for(i.push(t),this.eventDefsByUid[t.uid]=t,e=0;e<o.length;e++)this.addEventInstance(o[e],r)},t.prototype.removeEventDefsById=function(t){var e=this;this.getEventDefsById(t).forEach(function(t){e.removeEventDef(t)})},t.prototype.removeAllEventDefs=function(){var t=r.isEmptyObject(this.eventDefsByUid);this.eventDefsByUid={},this.eventDefsById={},this.eventInstanceGroupsById={},t||this.tryRelease()},t.prototype.removeEventDef=function(t){var e=this.eventDefsById,n=e[t.id];delete this.eventDefsByUid[t.uid],n&&(i.removeExact(n,t),n.length||delete e[t.id],this.removeEventInstancesForDef(t))},t.prototype.getEventInstances=function(){var t,e=this.eventInstanceGroupsById,n=[];for(t in e)n.push.apply(n,e[t].eventInstances);return n},t.prototype.getEventInstancesWithId=function(t){var e=this.eventInstanceGroupsById[t];return e?e.eventInstances.slice():[]},t.prototype.getEventInstancesWithoutId=function(t){var e,n=this.eventInstanceGroupsById,r=[];for(e in n)e!==t&&r.push.apply(r,n[e].eventInstances);return r},t.prototype.addEventInstance=function(t,e){var n=this.eventInstanceGroupsById;(n[e]||(n[e]=new l.default)).eventInstances.push(t),this.tryRelease()},t.prototype.removeEventInstancesForDef=function(t){var e,n=this.eventInstanceGroupsById,r=n[t.id];r&&(e=i.removeMatching(r.eventInstances,function(e){return e.def===t}),r.eventInstances.length||delete n[t.id],e&&this.tryRelease())},t.prototype.tryRelease=function(){this.pendingCnt||(this.freezeDepth?this.stuntedReleaseCnt++:this.release())},t.prototype.release=function(){this.releaseCnt++,this.trigger("release",this.eventInstanceGroupsById)},t.prototype.whenReleased=function(){var t=this;return this.releaseCnt?o.default.resolve(this.eventInstanceGroupsById):o.default.construct(function(e){t.one("release",e)})},t.prototype.freeze=function(){this.freezeDepth++||(this.stuntedReleaseCnt=0)},t.prototype.thaw=function(){--this.freezeDepth||!this.stuntedReleaseCnt||this.pendingCnt||this.release()},t}();e.default=u,s.default.mixInto(u)},function(t,e,n){function r(t,e){return t.getPrimitive()===e.getPrimitive()}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(4),s=n(219),a=n(56),l=n(6),u=n(38),d=n(9),c=n(20),p=n(13),h=n(7),f=function(){function t(t){this.calendar=t,this.stickySource=new a.default(t),this.otherSources=[]}return t.prototype.requestEvents=function(t,e,n,r){return!r&&this.currentPeriod&&this.currentPeriod.isWithinRange(t,e)&&n===this.currentPeriod.timezone||this.setPeriod(new s.default(t,e,n)),this.currentPeriod.whenReleased()},t.prototype.addSource=function(t){this.otherSources.push(t),this.currentPeriod&&this.currentPeriod.requestSource(t)},t.prototype.removeSource=function(t){o.removeExact(this.otherSources,t),this.currentPeriod&&this.currentPeriod.purgeSource(t)},t.prototype.removeAllSources=function(){this.otherSources=[],this.currentPeriod&&this.currentPeriod.purgeAllSources()},t.prototype.refetchSource=function(t){var e=this.currentPeriod;e&&(e.freeze(),e.purgeSource(t),e.requestSource(t),e.thaw())},t.prototype.refetchAllSources=function(){var t=this.currentPeriod;t&&(t.freeze(),t.purgeAllSources(),t.requestSources(this.getSources()),t.thaw())},t.prototype.getSources=function(){return[this.stickySource].concat(this.otherSources)},t.prototype.multiQuerySources=function(t){t?i.isArray(t)||(t=[t]):t=[];var e,n=[];for(e=0;e<t.length;e++)n.push.apply(n,this.querySources(t[e]));return n},t.prototype.querySources=function(t){var e,n,o=this.otherSources;for(e=0;e<o.length;e++)if((n=o[e])===t)return[n];return(n=this.getSourceById(l.default.normalizeId(t)))?[n]:(t=u.default.parse(t,this.calendar),t?i.grep(o,function(e){return r(t,e)}):void 0)},t.prototype.getSourceById=function(t){return i.grep(this.otherSources,function(e){return e.id&&e.id===t})[0]},t.prototype.setPeriod=function(t){this.currentPeriod&&(this.unbindPeriod(this.currentPeriod),this.currentPeriod=null),this.currentPeriod=t,this.bindPeriod(t),t.requestSources(this.getSources())},t.prototype.bindPeriod=function(t){this.listenTo(t,"release",function(t){this.trigger("release",t)})},t.prototype.unbindPeriod=function(t){this.stopListeningTo(t)},t.prototype.getEventDefByUid=function(t){if(this.currentPeriod)return this.currentPeriod.getEventDefByUid(t)},t.prototype.addEventDef=function(t,e){e&&this.stickySource.addEventDef(t),this.currentPeriod&&this.currentPeriod.addEventDef(t)},t.prototype.removeEventDefsById=function(t){this.getSources().forEach(function(e){e.removeEventDefsById(t)}),this.currentPeriod&&this.currentPeriod.removeEventDefsById(t)},t.prototype.removeAllEventDefs=function(){this.getSources().forEach(function(t){t.removeAllEventDefs()}),this.currentPeriod&&this.currentPeriod.removeAllEventDefs()},t.prototype.mutateEventsWithId=function(t,e){var n,r=this.currentPeriod,i=[];return r?(r.freeze(),n=r.getEventDefsById(t),n.forEach(function(t){r.removeEventDef(t),i.push(e.mutateSingle(t)),r.addEventDef(t)}),r.thaw(),function(){r.freeze();for(var t=0;t<n.length;t++)r.removeEventDef(n[t]),i[t](),r.addEventDef(n[t]);r.thaw()}):function(){}},t.prototype.buildMutatedEventInstanceGroup=function(t,e){var n,r,i=this.getEventDefsById(t),o=[];for(n=0;n<i.length;n++)(r=i[n].clone())instanceof d.default&&(e.mutateSingle(r),o.push.apply(o,r.buildInstances()));return new c.default(o)},t.prototype.freeze=function(){this.currentPeriod&&this.currentPeriod.freeze()},t.prototype.thaw=function(){this.currentPeriod&&this.currentPeriod.thaw()},t.prototype.getEventDefsById=function(t){return this.currentPeriod.getEventDefsById(t)},t.prototype.getEventInstances=function(){return this.currentPeriod.getEventInstances()},t.prototype.getEventInstancesWithId=function(t){return this.currentPeriod.getEventInstancesWithId(t)},t.prototype.getEventInstancesWithoutId=function(t){
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/d3-3.5.6/d3.min.js:1:!function(){function n(n){return n&&(n.ownerDocument||n.document||n).documentElement}function t(n){return n&&(n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView)}function e(n,t){return t>n?-1:n>t?1:n>=t?0:0/0}function r(n){return null===n?0/0:+n}function u(n){return!isNaN(n)}function i(n){return{left:function(t,e,r,u){for(arguments.length<3&&(r=0),arguments.length<4&&(u=t.length);u>r;){var i=r+u>>>1;n(t[i],e)<0?r=i+1:u=i}return r},right:function(t,e,r,u){for(arguments.length<3&&(r=0),arguments.length<4&&(u=t.length);u>r;){var i=r+u>>>1;n(t[i],e)>0?u=i:r=i+1}return r}}}function o(n){return n.length}function a(n){for(var t=1;n*t%1;)t*=10;return t}function c(n,t){for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}function l(){this._=Object.create(null)}function s(n){return(n+="")===pa||n[0]===va?va+n:n}function f(n){return(n+="")[0]===va?n.slice(1):n}function h(n){return s(n)in this._}function g(n){return(n=s(n))in this._&&delete this._[n]}function p(){var n=[];for(var t in this._)n.push(f(t));return n}function v(){var n=0;for(var t in this._)++n;return n}function d(){for(var n in this._)return!1;return!0}function m(){this._=Object.create(null)}function y(n){return n}function M(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function x(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e=0,r=da.length;r>e;++e){var u=da[e]+t;if(u in n)return u}}function b(){}function _(){}function w(n){function t(){for(var t,r=e,u=-1,i=r.length;++u<i;)(t=r[u].on)&&t.apply(this,arguments);return n}var e=[],r=new l;return t.on=function(t,u){var i,o=r.get(t);return arguments.length<2?o&&o.on:(o&&(o.on=null,e=e.slice(0,i=e.indexOf(o)).concat(e.slice(i+1)),r.remove(t)),u&&e.push(r.set(t,{on:u})),n)},t}function S(){ta.event.preventDefault()}function k(){for(var n,t=ta.event;n=t.sourceEvent;)t=n;return t}function E(n){for(var t=new _,e=0,r=arguments.length;++e<r;)t[arguments[e]]=w(t);return t.of=function(e,r){return function(u){try{var i=u.sourceEvent=ta.event;u.target=n,ta.event=u,t[u.type].apply(e,r)}finally{ta.event=i}}},t}function A(n){return ya(n,_a),n}function N(n){return"function"==typeof n?n:function(){return Ma(n,this)}}function C(n){return"function"==typeof n?n:function(){return xa(n,this)}}function z(n,t){function e(){this.removeAttribute(n)}function r(){this.removeAttributeNS(n.space,n.local)}function u(){this.setAttribute(n,t)}function i(){this.setAttributeNS(n.space,n.local,t)}function o(){var e=t.apply(this,arguments);null==e?this.removeAttribute(n):this.setAttribute(n,e)}function a(){var e=t.apply(this,arguments);null==e?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,e)}return n=ta.ns.qualify(n),null==t?n.local?r:e:"function"==typeof t?n.local?a:o:n.local?i:u}function q(n){return n.trim().replace(/\s+/g," ")}function L(n){return new RegExp("(?:^|\\s+)"+ta.requote(n)+"(?:\\s+|$)","g")}function T(n){return(n+"").trim().split(/^|\s+/)}function R(n,t){function e(){for(var e=-1;++e<u;)n[e](this,t)}function r(){for(var e=-1,r=t.apply(this,arguments);++e<u;)n[e](this,r)}n=T(n).map(D);var u=n.length;return"function"==typeof t?r:e}function D(n){var t=L(n);return function(e,r){if(u=e.classList)return r?u.add(n):u.remove(n);var u=e.getAttribute("class")||"";r?(t.lastIndex=0,t.test(u)||e.setAttribute("class",q(u+" "+n))):e.setAttribute("class",q(u.replace(t," ")))}}function P(n,t,e){function r(){this.style.removeProperty(n)}function u(){this.style.setProperty(n,t,e)}function i(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(n):this.style.setProperty(n,r,e)}return null==t?r:"function"==typeof t?i:u}function U(n,t){function e(){delete this[n]}function r(){this[n]=t}function u(){var e=t.apply(this,arguments);null==e?delete this[n]:this[n]=e}return null==t?e:"function"==typeof t?u:r}function j(n){function t(){var t=this.ownerDocument,e=this.namespaceURI;return e?t.createElementNS(e,n):t.createElement(n)}function e(){return this.ownerDocument.createElementNS(n.space,n.local)}return"function"==typeof n?n:(n=ta.ns.qualify(n)).local?e:t}function F(){var n=this.parentNode;n&&n.removeChild(this)}function H(n){return{__data__:n}}function O(n){return function(){return ba(this,n)}}function I(n){return arguments.length||(n=e),function(t,e){return t&&e?n(t.__data__,e.__data__):!t-!e}}function Y(n,t){for(var e=0,r=n.length;r>e;e++)for(var u,i=n[e],o=0,a=i.length;a>o;o++)(u=i[o])&&t(u,o,e);return n}function Z(n){return ya(n,Sa),n}function V(n){var t,e;return function(r,u,i){var o,a=n[i].update,c=a.length;for(i!=e&&(e=i,t=0),u>=t&&(t=u+1);!(o=a[t])&&++t<c;);return o}}function X(n,t,e){function r(){var t=this[o];t&&(this.removeEventListener(n,t,t.$),delete this[o])}function u(){var u=c(t,ra(arguments));r.call(this),this.addEventListener(n,this[o]=u,u.$=e),u._=t}function i(){var t,e=new RegExp("^__on([^.]+)"+ta.requote(n)+"$");for(var r in this)if(t=r.match(e)){var u=this[r];this.removeEventListener(t[1],u,u.$),delete this[r]}}var o="__on"+n,a=n.indexOf("."),c=$;a>0&&(n=n.slice(0,a));var l=ka.get(n);return l&&(n=l,c=B),a?t?u:r:t?b:i}function $(n,t){return function(e){var r=ta.event;ta.event=e,t[0]=this.__data__;try{n.apply(this,t)}finally{ta.event=r}}}function B(n,t){var e=$(n,t);return function(n){var t=this,r=n.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||e.call(t,n)}}function W(e){var r=".dragsuppress-"+ ++Aa,u="click"+r,i=ta.select(t(e)).on("touchmove"+r,S).on("dragstart"+r,S).on("selectstart"+r,S);if(null==Ea&&(Ea="onselectstart"in e?!1:x(e.style,"userSelect")),Ea){var o=n(e).style,a=o[Ea];o[Ea]="none"}return function(n){if(i.on(r,null),Ea&&(o[Ea]=a),n){var t=function(){i.on(u,null)};i.on(u,function(){S(),t()},!0),setTimeout(t,0)}}}function J(n,e){e.changedTouches&&(e=e.changedTouches[0]);var r=n.ownerSVGElement||n;if(r.createSVGPoint){var u=r.createSVGPoint();if(0>Na){var i=t(n);if(i.scrollX||i.scrollY){r=ta.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var o=r[0][0].getScreenCTM();Na=!(o.f||o.e),r.remove()}}return Na?(u.x=e.pageX,u.y=e.pageY):(u.x=e.clientX,u.y=e.clientY),u=u.matrixTransform(n.getScreenCTM().inverse()),[u.x,u.y]}var a=n.getBoundingClientRect();return[e.clientX-a.left-n.clientLeft,e.clientY-a.top-n.clientTop]}function G(){return ta.event.changedTouches[0].identifier}function K(n){return n>0?1:0>n?-1:0}function Q(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(t[1]-n[1])*(e[0]-n[0])}function nt(n){return n>1?0:-1>n?qa:Math.acos(n)}function tt(n){return n>1?Ra:-1>n?-Ra:Math.asin(n)}function et(n){return((n=Math.exp(n))-1/n)/2}function rt(n){return((n=Math.exp(n))+1/n)/2}function ut(n){return((n=Math.exp(2*n))-1)/(n+1)}function it(n){return(n=Math.sin(n/2))*n}function ot(){}function at(n,t,e){return this instanceof at?(this.h=+n,this.s=+t,void(this.l=+e)):arguments.length<2?n instanceof at?new at(n.h,n.s,n.l):bt(""+n,_t,at):new at(n,t,e)}function ct(n,t,e){function r(n){return n>360?n-=360:0>n&&(n+=360),60>n?i+(o-i)*n/60:180>n?o:240>n?i+(o-i)*(240-n)/60:i}function u(n){return Math.round(255*r(n))}var i,o;return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)?0:0>t?0:t>1?1:t,e=0>e?0:e>1?1:e,o=.5>=e?e*(1+t):e+t-e*t,i=2*e-o,new mt(u(n+120),u(n),u(n-120))}function lt(n,t,e){return this instanceof lt?(this.h=+n,this.c=+t,void(this.l=+e)):arguments.length<2?n instanceof lt?new lt(n.h,n.c,n.l):n instanceof ft?gt(n.l,n.a,n.b):gt((n=wt((n=ta.rgb(n)).r,n.g,n.b)).l,n.a,n.b):new lt(n,t,e)}function st(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),new ft(e,Math.cos(n*=Da)*t,Math.sin(n)*t)}function ft(n,t,e){return this instanceof ft?(this.l=+n,this.a=+t,void(this.b=+e)):arguments.length<2?n instanceof ft?new ft(n.l,n.a,n.b):n instanceof lt?st(n.h,n.c,n.l):wt((n=mt(n)).r,n.g,n.b):new ft(n,t,e)}function ht(n,t,e){var r=(n+16)/116,u=r+t/500,i=r-e/200;return u=pt(u)*Xa,r=pt(r)*$a,i=pt(i)*Ba,new mt(dt(3.2404542*u-1.5371385*r-.4985314*i),dt(-.969266*u+1.8760108*r+.041556*i),dt(.0556434*u-.2040259*r+1.0572252*i))}function gt(n,t,e){return n>0?new lt(Math.atan2(e,t)*Pa,Math.sqrt(t*t+e*e),n):new lt(0/0,0/0,n)}function pt(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function vt(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function dt(n){return Math.round(255*(.00304>=n?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function mt(n,t,e){return this instanceof mt?(this.r=~~n,this.g=~~t,void(this.b=~~e)):arguments.length<2?n instanceof mt?new mt(n.r,n.g,n.b):bt(""+n,mt,ct):new mt(n,t,e)}function yt(n){return new mt(n>>16,n>>8&255,255&n)}function Mt(n){return yt(n)+""}function xt(n){return 16>n?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function bt(n,t,e){var r,u,i,o=0,a=0,c=0;if(r=/([a-z]+)\((.*)\)/.exec(n=n.toLowerCase()))switch(u=r[2].split(","),r[1]){case"hsl":return e(parseFloat(u[0]),parseFloat(u[1])/100,parseFloat(u[2])/100);case"rgb":return t(kt(u[0]),kt(u[1]),kt(u[2]))}return(i=Ga.get(n))?t(i.r,i.g,i.b):(null==n||"#"!==n.charAt(0)||isNaN(i=parseInt(n.slice(1),16))||(4===n.length?(o=(3840&i)>>4,o=o>>4|o,a=240&i,a=a>>4|a,c=15&i,c=c<<4|c):7===n.length&&(o=(16711680&i)>>16,a=(65280&i)>>8,c=255&i)),t(o,a,c))}function _t(n,t,e){var r,u,i=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),a=o-i,c=(o+i)/2;return a?(u=.5>c?a/(o+i):a/(2-o-i),r=n==o?(t-e)/a+(e>t?6:0):t==o?(e-n)/a+2:(n-t)/a+4,r*=60):(r=0/0,u=c>0&&1>c?0:r),new at(r,u,c)}function wt(n,t,e){n=St(n),t=St(t),e=St(e);var r=vt((.4124564*n+.3575761*t+.1804375*e)/Xa),u=vt((.2126729*n+.7151522*t+.072175*e)/$a),i=vt((.0193339*n+.119192*t+.9503041*e)/Ba);return ft(116*u-16,500*(r-u),200*(u-i))}function St(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function kt(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}function Et(n){return"function"==typeof n?n:function(){return n}}function At(n){return function(t,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=null),Nt(t,e,n,r)}}function Nt(n,t,e,r){function u(){var n,t=c.status;if(!t&&zt(c)||t>=200&&300>t||304===t){try{n=e.call(i,c)}catch(r){return void o.error.call(i,r)}o.load.call(i,n)}else o.error.call(i,c)}var i={},o=ta.dispatch("beforesend","progress","load","error"),a={},c=new XMLHttpRequest,l=null;return!this.XDomainRequest||"withCredentials"in c||!/^(http(s)?:)?\/\//.test(n)||(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=u:c.onreadystatechange=function(){c.readyState>3&&u()},c.onprogress=function(n){var t=ta.event;ta.event=n;try{o.progress.call(i,c)}finally{ta.event=t}},i.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?a[n]:(null==t?delete a[n]:a[n]=t+"",i)},i.mimeType=function(n){return arguments.length?(t=null==n?null:n+"",i):t},i.responseType=function(n){return arguments.length?(l=n,i):l},i.response=function(n){return e=n,i},["get","post"].forEach(function(n){i[n]=function(){return i.send.apply(i,[n].concat(ra(arguments)))}}),i.send=function(e,r,u){if(2===arguments.length&&"function"==typeof r&&(u=r,r=null),c.open(e,n,!0),null==t||"accept"in a||(a.accept=t+",*/*"),c.setRequestHeader)for(var s in a)c.setRequestHeader(s,a[s]);return null!=t&&c.overrideMimeType&&c.overrideMimeType(t),null!=l&&(c.responseType=l),null!=u&&i.on("error",u).on("load",function(n){u(null,n)}),o.beforesend.call(i,c),c.send(null==r?null:r),i},i.abort=function(){return c.abort(),i},ta.rebind(i,o,"on"),null==r?i:i.get(Ct(r))}function Ct(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}function zt(n){var t=n.responseType;return t&&"text"!==t?n.response:n.responseText}function qt(){var n=Lt(),t=Tt()-n;t>24?(isFinite(t)&&(clearTimeout(tc),tc=setTimeout(qt,t)),nc=0):(nc=1,rc(qt))}function Lt(){var n=Date.now();for(ec=Ka;ec;)n>=ec.t&&(ec.f=ec.c(n-ec.t)),ec=ec.n;return n}function Tt(){for(var n,t=Ka,e=1/0;t;)t.f?t=n?n.n=t.n:Ka=t.n:(t.t<e&&(e=t.t),t=(n=t).n);return Qa=n,e}function Rt(n,t){return t-(n?Math.ceil(Math.log(n)/Math.LN10):1)}function Dt(n,t){var e=Math.pow(10,3*ga(8-t));return{scale:t>8?function(n){return n/e}:function(n){return n*e},symbol:n}}function Pt(n){var t=n.decimal,e=n.thousands,r=n.grouping,u=n.currency,i=r&&e?function(n,t){for(var u=n.length,i=[],o=0,a=r[0],c=0;u>0&&a>0&&(c+a+1>t&&(a=Math.max(1,t-c)),i.push(n.substring(u-=a,u+a)),!((c+=a+1)>t));)a=r[o=(o+1)%r.length];return i.reverse().join(e)}:y;return function(n){var e=ic.exec(n),r=e[1]||" ",o=e[2]||">",a=e[3]||"-",c=e[4]||"",l=e[5],s=+e[6],f=e[7],h=e[8],g=e[9],p=1,v="",d="",m=!1,y=!0;switch(h&&(h=+h.substring(1)),(l||"0"===r&&"="===o)&&(l=r="0",o="="),g){case"n":f=!0,g="g";break;case"%":p=100,d="%",g="f";break;case"p":p=100,d="%",g="r";break;case"b":case"o":case"x":case"X":"#"===c&&(v="0"+g.toLowerCase());case"c":y=!1;case"d":m=!0,h=0;break;case"s":p=-1,g="r"}"$"===c&&(v=u[0],d=u[1]),"r"!=g||h||(g="g"),null!=h&&("g"==g?h=Math.max(1,Math.min(21,h)):("e"==g||"f"==g)&&(h=Math.max(0,Math.min(20,h)))),g=oc.get(g)||Ut;var M=l&&f;return function(n){var e=d;if(m&&n%1)return"";var u=0>n||0===n&&0>1/n?(n=-n,"-"):"-"===a?"":a;if(0>p){var c=ta.formatPrefix(n,h);n=c.scale(n),e=c.symbol+d}else n*=p;n=g(n,h);var x,b,_=n.lastIndexOf(".");if(0>_){var w=y?n.lastIndexOf("e"):-1;0>w?(x=n,b=""):(x=n.substring(0,w),b=n.substring(w))}else x=n.substring(0,_),b=t+n.substring(_+1);!l&&f&&(x=i(x,1/0));var S=v.length+x.length+b.length+(M?0:u.length),k=s>S?new Array(S=s-S+1).join(r):"";return M&&(x=i(k+x,k.length?s-b.length:1/0)),u+=v,n=x+b,("<"===o?u+n+k:">"===o?k+u+n:"^"===o?k.substring(0,S>>=1)+u+n+k.substring(S):u+(M?n:k+n))+e}}}function Ut(n){return n+""}function jt(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function Ft(n,t,e){function r(t){var e=n(t),r=i(e,1);return r-t>t-e?e:r}function u(e){return t(e=n(new cc(e-1)),1),e}function i(n,e){return t(n=new cc(+n),e),n}function o(n,r,i){var o=u(n),a=[];if(i>1)for(;r>o;)e(o)%i||a.push(new Date(+o)),t(o,1);else for(;r>o;)a.push(new Date(+o)),t(o,1);return a}function a(n,t,e){try{cc=jt;var r=new jt;return r._=n,o(r,t,e)}finally{cc=Date}}n.floor=n,n.round=r,n.ceil=u,n.offset=i,n.range=o;var c=n.utc=Ht(n);return c.floor=c,c.round=Ht(r),c.ceil=Ht(u),c.offset=Ht(i),c.range=a,n}function Ht(n){return function(t,e){try{cc=jt;var r=new jt;return r._=t,n(r,e)._}finally{cc=Date}}}function Ot(n){function t(n){function t(t){for(var e,u,i,o=[],a=-1,c=0;++a<r;)37===n.charCodeAt(a)&&(o.push(n.slice(c,a)),null!=(u=sc[e=n.charAt(++a)])&&(e=n.charAt(++a)),(i=N[e])&&(e=i(t,null==u?"e"===e?" ":"0":u)),o.push(e),c=a+1);return o.push(n.slice(c,a)),o.join("")}var r=n.length;return t.parse=function(t){var r={y:1900,m:0,d:1,H:0,M:0,S:0,L:0,Z:null},u=e(r,n,t,0);if(u!=t.length)return null;"p"in r&&(r.H=r.H%12+12*r.p);var i=null!=r.Z&&cc!==jt,o=new(i?jt:cc);return"j"in r?o.setFullYear(r.y,0,r.j):"w"in r&&("W"in r||"U"in r)?(o.setFullYear(r.y,0,1),o.setFullYear(r.y,0,"W"in r?(r.w+6)%7+7*r.W-(o.getDay()+5)%7:r.w+7*r.U-(o.getDay()+6)%7)):o.setFullYear(r.y,r.m,r.d),o.setHours(r.H+(r.Z/100|0),r.M+r.Z%100,r.S,r.L),i?o._:o},t.toString=function(){return n},t}function e(n,t,e,r){for(var u,i,o,a=0,c=t.length,l=e.length;c>a;){if(r>=l)return-1;if(u=t.charCodeAt(a++),37===u){if(o=t.charAt(a++),i=C[o in sc?t.charAt(a++):o],!i||(r=i(n,e,r))<0)return-1}else if(u!=e.charCodeAt(r++))return-1}return r}function r(n,t,e){_.lastIndex=0;var r=_.exec(t.slice(e));return r?(n.w=w.get(r[0].toLowerCase()),e+r[0].length):-1}function u(n,t,e){x.lastIndex=0;var r=x.exec(t.slice(e));return r?(n.w=b.get(r[0].toLowerCase()),e+r[0].length):-1}function i(n,t,e){E.lastIndex=0;var r=E.exec(t.slice(e));return r?(n.m=A.get(r[0].toLowerCase()),e+r[0].length):-1}function o(n,t,e){S.lastIndex=0;var r=S.exec(t.slice(e));return r?(n.m=k.get(r[0].toLowerCase()),e+r[0].length):-1}function a(n,t,r){return e(n,N.c.toString(),t,r)}function c(n,t,r){return e(n,N.x.toString(),t,r)}function l(n,t,r){return e(n,N.X.toString(),t,r)}function s(n,t,e){var r=M.get(t.slice(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)}var f=n.dateTime,h=n.date,g=n.time,p=n.periods,v=n.days,d=n.shortDays,m=n.months,y=n.shortMonths;t.utc=function(n){function e(n){try{cc=jt;var t=new cc;return t._=n,r(t)}finally{cc=Date}}var r=t(n);return e.parse=function(n){try{cc=jt;var t=r.parse(n);return t&&t._}finally{cc=Date}},e.toString=r.toString,e},t.multi=t.utc.multi=ae;var M=ta.map(),x=Yt(v),b=Zt(v),_=Yt(d),w=Zt(d),S=Yt(m),k=Zt(m),E=Yt(y),A=Zt(y);p.forEach(function(n,t){M.set(n.toLowerCase(),t)});var N={a:function(n){return d[n.getDay()]},A:function(n){return v[n.getDay()]},b:function(n){return y[n.getMonth()]},B:function(n){return m[n.getMonth()]},c:t(f),d:function(n,t){return It(n.getDate(),t,2)},e:function(n,t){return It(n.getDate(),t,2)},H:function(n,t){return It(n.getHours(),t,2)},I:function(n,t){return It(n.getHours()%12||12,t,2)},j:function(n,t){return It(1+ac.dayOfYear(n),t,3)},L:function(n,t){return It(n.getMilliseconds(),t,3)},m:function(n,t){return It(n.getMonth()+1,t,2)},M:function(n,t){return It(n.getMinutes(),t,2)},p:function(n){return p[+(n.getHours()>=12)]},S:function(n,t){return It(n.getSeconds(),t,2)},U:function(n,t){return It(ac.sundayOfYear(n),t,2)},w:function(n){return n.getDay()},W:function(n,t){return It(ac.mondayOfYear(n),t,2)},x:t(h),X:t(g),y:function(n,t){return It(n.getFullYear()%100,t,2)},Y:function(n,t){return It(n.getFullYear()%1e4,t,4)},Z:ie,"%":function(){return"%"}},C={a:r,A:u,b:i,B:o,c:a,d:Qt,e:Qt,H:te,I:te,j:ne,L:ue,m:Kt,M:ee,p:s,S:re,U:Xt,w:Vt,W:$t,x:c,X:l,y:Wt,Y:Bt,Z:Jt,"%":oe};return t}function It(n,t,e){var r=0>n?"-":"",u=(r?-n:n)+"",i=u.length;return r+(e>i?new Array(e-i+1).join(t)+u:u)}function Yt(n){return new RegExp("^(?:"+n.map(ta.requote).join("|")+")","i")}function Zt(n){for(var t=new l,e=-1,r=n.length;++e<r;)t.set(n[e].toLowerCase(),e);return t}function Vt(n,t,e){fc.lastIndex=0;var r=fc.exec(t.slice(e,e+1));return r?(n.w=+r[0],e+r[0].length):-1}function Xt(n,t,e){fc.lastIndex=0;var r=fc.exec(t.slice(e));return r?(n.U=+r[0],e+r[0].length):-1}function $t(n,t,e){fc.lastIndex=0;var r=fc.exec(t.slice(e));return r?(n.W=+r[0],e+r[0].length):-1}function Bt(n,t,e){fc.lastIndex=0;var r=fc.exec(t.slice(e,e+4));return r?(n.y=+r[0],e+r[0].length):-1}function Wt(n,t,e){fc.lastIndex=0;var r=fc.exec(t.slice(e,e+2));return r?(n.y=Gt(+r[0]),e+r[0].length):-1}function Jt(n,t,e){return/^[+-]\d{4}$/.test(t=t.slice(e,e+5))?(n.Z=-t,e+5):-1}function Gt(n){return n+(n>68?1900:2e3)}function Kt(n,t,e){fc.lastIndex=0;var r=fc.exec(t.slice(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function Qt(n,t,e){fc.lastIndex=0;var r=fc.exec(t.slice(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function ne(n,t,e){fc.lastIndex=0;var r=fc.exec(t.slice(e,e+3));return r?(n.j=+r[0],e+r[0].length):-1}function te(n,t,e){fc.lastIndex=0;var r=fc.exec(t.slice(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function ee(n,t,e){fc.lastIndex=0;var r=fc.exec(t.slice(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function re(n,t,e){fc.lastIndex=0;var r=fc.exec(t.slice(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function ue(n,t,e){fc.lastIndex=0;var r=fc.exec(t.slice(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function ie(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=ga(t)/60|0,u=ga(t)%60;return e+It(r,"0",2)+It(u,"0",2)}function oe(n,t,e){hc.lastIndex=0;var r=hc.exec(t.slice(e,e+1));return r?e+r[0].length:-1}function ae(n){for(var t=n.length,e=-1;++e<t;)n[e][0]=this(n[e][0]);return function(t){for(var e=0,r=n[e];!r[1](t);)r=n[++e];return r[0](t)}}function ce(){}function le(n,t,e){var r=e.s=n+t,u=r-n,i=r-u;e.t=n-i+(t-u)}function se(n,t){n&&dc.hasOwnProperty(n.type)&&dc[n.type](n,t)}function fe(n,t,e){var r,u=-1,i=n.length-e;for(t.lineStart();++u<i;)r=n[u],t.point(r[0],r[1],r[2]);t.lineEnd()}function he(n,t){var e=-1,r=n.length;for(t.polygonStart();++e<r;)fe(n[e],t,1);t.polygonEnd()}function ge(){function n(n,t){n*=Da,t=t*Da/2+qa/4;var e=n-r,o=e>=0?1:-1,a=o*e,c=Math.cos(t),l=Math.sin(t),s=i*l,f=u*c+s*Math.cos(a),h=s*o*Math.sin(a);yc.add(Math.atan2(h,f)),r=n,u=c,i=l}var t,e,r,u,i;Mc.point=function(o,a){Mc.point=n,r=(t=o)*Da,u=Math.cos(a=(e=a)*Da/2+qa/4),i=Math.sin(a)},Mc.lineEnd=function(){n(t,e)}}function pe(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function ve(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function de(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function me(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function ye(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function Me(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function xe(n){return[Math.atan2(n[1],n[0]),tt(n[2])]}function be(n,t){return ga(n[0]-t[0])<Ca&&ga(n[1]-t[1])<Ca}function _e(n,t){n*=Da;var e=Math.cos(t*=Da);we(e*Math.cos(n),e*Math.sin(n),Math.sin(t))}function we(n,t,e){++xc,_c+=(n-_c)/xc,wc+=(t-wc)/xc,Sc+=(e-Sc)/xc}function Se(){function n(n,u){n*=Da;var i=Math.cos(u*=Da),o=i*Math.cos(n),a=i*Math.sin(n),c=Math.sin(u),l=Math.atan2(Math.sqrt((l=e*c-r*a)*l+(l=r*o-t*c)*l+(l=t*a-e*o)*l),t*o+e*a+r*c);bc+=l,kc+=l*(t+(t=o)),Ec+=l*(e+(e=a)),Ac+=l*(r+(r=c)),we(t,e,r)}var t,e,r;qc.point=function(u,i){u*=Da;var o=Math.cos(i*=Da);t=o*Math.cos(u),e=o*Math.sin(u),r=Math.sin(i),qc.point=n,we(t,e,r)}}function ke(){qc.point=_e}function Ee(){function n(n,t){n*=Da;var e=Math.cos(t*=Da),o=e*Math.cos(n),a=e*Math.sin(n),c=Math.sin(t),l=u*c-i*a,s=i*o-r*c,f=r*a-u*o,h=Math.sqrt(l*l+s*s+f*f),g=r*o+u*a+i*c,p=h&&-nt(g)/h,v=Math.atan2(h,g);Nc+=p*l,Cc+=p*s,zc+=p*f,bc+=v,kc+=v*(r+(r=o)),Ec+=v*(u+(u=a)),Ac+=v*(i+(i=c)),we(r,u,i)}var t,e,r,u,i;qc.point=function(o,a){t=o,e=a,qc.point=n,o*=Da;var c=Math.cos(a*=Da);r=c*Math.cos(o),u=c*Math.sin(o),i=Math.sin(a),we(r,u,i)},qc.lineEnd=function(){n(t,e),qc.lineEnd=ke,qc.point=_e}}function Ae(n,t){function e(e,r){return e=n(e,r),t(e[0],e[1])}return n.invert&&t.invert&&(e.invert=function(e,r){return e=t.invert(e,r),e&&n.invert(e[0],e[1])}),e}function Ne(){return!0}function Ce(n,t,e,r,u){var i=[],o=[];if(n.forEach(function(n){if(!((t=n.length-1)<=0)){var t,e=n[0],r=n[t];if(be(e,r)){u.lineStart();for(var a=0;t>a;++a)u.point((e=n[a])[0],e[1]);return void u.lineEnd()}var c=new qe(e,n,null,!0),l=new qe(e,null,c,!1);c.o=l,i.push(c),o.push(l),c=new qe(r,n,null,!1),l=new qe(r,null,c,!0),c.o=l,i.push(c),o.push(l)}}),o.sort(t),ze(i),ze(o),i.length){for(var a=0,c=e,l=o.length;l>a;++a)o[a].e=c=!c;for(var s,f,h=i[0];;){for(var g=h,p=!0;g.v;)if((g=g.n)===h)return;s=g.z,u.lineStart();do{if(g.v=g.o.v=!0,g.e){if(p)for(var a=0,l=s.length;l>a;++a)u.point((f=s[a])[0],f[1]);else r(g.x,g.n.x,1,u);g=g.n}else{if(p){s=g.p.z;for(var a=s.length-1;a>=0;--a)u.point((f=s[a])[0],f[1])}else r(g.x,g.p.x,-1,u);g=g.p}g=g.o,s=g.z,p=!p}while(!g.v);u.lineEnd()}}}function ze(n){if(t=n.length){for(var t,e,r=0,u=n[0];++r<t;)u.n=e=n[r],e.p=u,u=e;u.n=e=n[0],e.p=u}}function qe(n,t,e,r){this.x=n,this.z=t,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function Le(n,t,e,r){return function(u,i){function o(t,e){var r=u(t,e);n(t=r[0],e=r[1])&&i.point(t,e)}function a(n,t){var e=u(n,t);d.point(e[0],e[1])}function c(){y.point=a,d.lineStart()}function l(){y.point=o,d.lineEnd()}function s(n,t){v.push([n,t]);var e=u(n,t);x.point(e[0],e[1])}function f(){x.lineStart(),v=[]}function h(){s(v[0][0],v[0][1]),x.lineEnd();var n,t=x.clean(),e=M.buffer(),r=e.length;if(v.pop(),p.push(v),v=null,r)if(1&t){n=e[0];var u,r=n.length-1,o=-1;if(r>0){for(b||(i.polygonStart(),b=!0),i.lineStart();++o<r;)i.point((u=n[o])[0],u[1]);i.lineEnd()}}else r>1&&2&t&&e.push(e.pop().concat(e.shift())),g.push(e.filter(Te))}var g,p,v,d=t(i),m=u.invert(r[0],r[1]),y={point:o,lineStart:c,lineEnd:l,polygonStart:function(){y.point=s,y.lineStart=f,y.lineEnd=h,g=[],p=[]},polygonEnd:function(){y.point=o,y.lineStart=c,y.lineEnd=l,g=ta.merge(g);var n=Fe(m,p);g.length?(b||(i.polygonStart(),b=!0),Ce(g,De,n,e,i)):n&&(b||(i.polygonStart(),b=!0),i.lineStart(),e(null,null,1,i),i.lineEnd()),b&&(i.polygonEnd(),b=!1),g=p=null},sphere:function(){i.polygonStart(),i.lineStart(),e(null,null,1,i),i.lineEnd(),i.polygonEnd()}},M=Re(),x=t(M),b=!1;return y}}function Te(n){return n.length>1}function Re(){var n,t=[];return{lineStart:function(){t.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:b,buffer:function(){var e=t;return t=[],n=null,e},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function De(n,t){return((n=n.x)[0]<0?n[1]-Ra-Ca:Ra-n[1])-((t=t.x)[0]<0?t[1]-Ra-Ca:Ra-t[1])}function Pe(n){var t,e=0/0,r=0/0,u=0/0;return{lineStart:function(){n.lineStart(),t=1},point:function(i,o){var a=i>0?qa:-qa,c=ga(i-e);ga(c-qa)<Ca?(n.point(e,r=(r+o)/2>0?Ra:-Ra),n.point(u,r),n.lineEnd(),n.lineStart(),n.point(a,r),n.point(i,r),t=0):u!==a&&c>=qa&&(ga(e-u)<Ca&&(e-=u*Ca),ga(i-a)<Ca&&(i-=a*Ca),r=Ue(e,r,i,o),n.point(u,r),n.lineEnd(),n.lineStart(),n.point(a,r),t=0),n.point(e=i,r=o),u=a},lineEnd:function(){n.lineEnd(),e=r=0/0},clean:function(){return 2-t}}}function Ue(n,t,e,r){var u,i,o=Math.sin(n-e);return ga(o)>Ca?Math.atan((Math.sin(t)*(i=Math.cos(r))*Math.sin(e)-Math.sin(r)*(u=Math.cos(t))*Math.sin(n))/(u*i*o)):(t+r)/2}function je(n,t,e,r){var u;if(null==n)u=e*Ra,r.point(-qa,u),r.point(0,u),r.point(qa,u),r.point(qa,0),r.point(qa,-u),r.point(0,-u),r.point(-qa,-u),r.point(-qa,0),r.point(-qa,u);else if(ga(n[0]-t[0])>Ca){var i=n[0]<t[0]?qa:-qa;u=e*i/2,r.point(-i,u),r.point(0,u),r.point(i,u)}else r.point(t[0],t[1])}function Fe(n,t){var e=n[0],r=n[1],u=[Math.sin(e),-Math.cos(e),0],i=0,o=0;yc.reset();for(var a=0,c=t.length;c>a;++a){var l=t[a],s=l.length;if(s)for(var f=l[0],h=f[0],g=f[1]/2+qa/4,p=Math.sin(g),v=Math.cos(g),d=1;;){d===s&&(d=0),n=l[d];var m=n[0],y=n[1]/2+qa/4,M=Math.sin(y),x=Math.cos(y),b=m-h,_=b>=0?1:-1,w=_*b,S=w>qa,k=p*M;if(yc.add(Math.atan2(k*_*Math.sin(w),v*x+k*Math.cos(w))),i+=S?b+_*La:b,S^h>=e^m>=e){var E=de(pe(f),pe(n));Me(E);var A=de(u,E);Me(A);var N=(S^b>=0?-1:1)*tt(A[2]);(r>N||r===N&&(E[0]||E[1]))&&(o+=S^b>=0?1:-1)}if(!d++)break;h=m,p=M,v=x,f=n}}return(-Ca>i||Ca>i&&0>yc)^1&o}function He(n){function t(n,t){return Math.cos(n)*Math.cos(t)>i}function e(n){var e,i,c,l,s;return{lineStart:function(){l=c=!1,s=1},point:function(f,h){var g,p=[f,h],v=t(f,h),d=o?v?0:u(f,h):v?u(f+(0>f?qa:-qa),h):0;if(!e&&(l=c=v)&&n.lineStart(),v!==c&&(g=r(e,p),(be(e,g)||be(p,g))&&(p[0]+=Ca,p[1]+=Ca,v=t(p[0],p[1]))),v!==c)s=0,v?(n.lineStart(),g=r(p,e),n.point(g[0],g[1])):(g=r(e,p),n.point(g[0],g[1]),n.lineEnd()),e=g;else if(a&&e&&o^v){var m;d&i||!(m=r(p,e,!0))||(s=0,o?(n.lineStart(),n.point(m[0][0],m[0][1]),n.point(m[1][0],m[1][1]),n.lineEnd()):(n.point(m[1][0],m[1][1]),n.lineEnd(),n.lineStart(),n.point(m[0][0],m[0][1])))}!v||e&&be(e,p)||n.point(p[0],p[1]),e=p,c=v,i=d},lineEnd:function(){c&&n.lineEnd(),e=null},clean:function(){return s|(l&&c)<<1}}}function r(n,t,e){var r=pe(n),u=pe(t),o=[1,0,0],a=de(r,u),c=ve(a,a),l=a[0],s=c-l*l;if(!s)return!e&&n;var f=i*c/s,h=-i*l/s,g=de(o,a),p=ye(o,f),v=ye(a,h);me(p,v);var d=g,m=ve(p,d),y=ve(d,d),M=m*m-y*(ve(p,p)-1);if(!(0>M)){var x=Math.sqrt(M),b=ye(d,(-m-x)/y);if(me(b,p),b=xe(b),!e)return b;var _,w=n[0],S=t[0],k=n[1],E=t[1];w>S&&(_=w,w=S,S=_);var A=S-w,N=ga(A-qa)<Ca,C=N||Ca>A;if(!N&&k>E&&(_=k,k=E,E=_),C?N?k+E>0^b[1]<(ga(b[0]-w)<Ca?k:E):k<=b[1]&&b[1]<=E:A>qa^(w<=b[0]&&b[0]<=S)){var z=ye(d,(-m+x)/y);return me(z,p),[b,xe(z)]}}}function u(t,e){var r=o?n:qa-n,u=0;return-r>t?u|=1:t>r&&(u|=2),-r>e?u|=4:e>r&&(u|=8),u}var i=Math.cos(n),o=i>0,a=ga(i)>Ca,c=gr(n,6*Da);return Le(t,e,c,o?[0,-n]:[-qa,n-qa])}function Oe(n,t,e,r){return function(u){var i,o=u.a,a=u.b,c=o.x,l=o.y,s=a.x,f=a.y,h=0,g=1,p=s-c,v=f-l;if(i=n-c,p||!(i>0)){if(i/=p,0>p){if(h>i)return;g>i&&(g=i)}else if(p>0){if(i>g)return;i>h&&(h=i)}if(i=e-c,p||!(0>i)){if(i/=p,0>p){if(i>g)return;i>h&&(h=i)}else if(p>0){if(h>i)return;g>i&&(g=i)}if(i=t-l,v||!(i>0)){if(i/=v,0>v){if(h>i)return;g>i&&(g=i)}else if(v>0){if(i>g)return;i>h&&(h=i)}if(i=r-l,v||!(0>i)){if(i/=v,0>v){if(i>g)return;i>h&&(h=i)}else if(v>0){if(h>i)return;g>i&&(g=i)}return h>0&&(u.a={x:c+h*p,y:l+h*v}),1>g&&(u.b={x:c+g*p,y:l+g*v}),u}}}}}}function Ie(n,t,e,r){function u(r,u){return ga(r[0]-n)<Ca?u>0?0:3:ga(r[0]-e)<Ca?u>0?2:1:ga(r[1]-t)<Ca?u>0?1:0:u>0?3:2}function i(n,t){return o(n.x,t.x)}function o(n,t){var e=u(n,1),r=u(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}return function(a){function c(n){for(var t=0,e=d.length,r=n[1],u=0;e>u;++u)for(var i,o=1,a=d[u],c=a.length,l=a[0];c>o;++o)i=a[o],l[1]<=r?i[1]>r&&Q(l,i,n)>0&&++t:i[1]<=r&&Q(l,i,n)<0&&--t,l=i;return 0!==t}function l(i,a,c,l){var s=0,f=0;if(null==i||(s=u(i,c))!==(f=u(a,c))||o(i,a)<0^c>0){do l.point(0===s||3===s?n:e,s>1?r:t);while((s=(s+c+4)%4)!==f)}else l.point(a[0],a[1])}function s(u,i){return u>=n&&e>=u&&i>=t&&r>=i}function f(n,t){s(n,t)&&a.point(n,t)}function h(){C.point=p,d&&d.push(m=[]),S=!0,w=!1,b=_=0/0}function g(){v&&(p(y,M),x&&w&&A.rejoin(),v.push(A.buffer())),C.point=f,w&&a.lineEnd()}function p(n,t){n=Math.max(-Tc,Math.min(Tc,n)),t=Math.max(-Tc,Math.min(Tc,t));var e=s(n,t);if(d&&m.push([n,t]),S)y=n,M=t,x=e,S=!1,e&&(a.lineStart(),a.point(n,t));else if(e&&w)a.point(n,t);else{var r={a:{x:b,y:_},b:{x:n,y:t}};N(r)?(w||(a.lineStart(),a.point(r.a.x,r.a.y)),a.point(r.b.x,r.b.y),e||a.lineEnd(),k=!1):e&&(a.lineStart(),a.point(n,t),k=!1)}b=n,_=t,w=e}var v,d,m,y,M,x,b,_,w,S,k,E=a,A=Re(),N=Oe(n,t,e,r),C={point:f,lineStart:h,lineEnd:g,polygonStart:function(){a=A,v=[],d=[],k=!0},polygonEnd:function(){a=E,v=ta.merge(v);var t=c([n,r]),e=k&&t,u=v.length;(e||u)&&(a.polygonStart(),e&&(a.lineStart(),l(null,null,1,a),a.lineEnd()),u&&Ce(v,i,t,l,a),a.polygonEnd()),v=d=m=null}};return C}}function Ye(n){var t=0,e=qa/3,r=ir(n),u=r(t,e);return u.parallels=function(n){return arguments.length?r(t=n[0]*qa/180,e=n[1]*qa/180):[t/qa*180,e/qa*180]},u}function Ze(n,t){function e(n,t){var e=Math.sqrt(i-2*u*Math.sin(t))/u;return[e*Math.sin(n*=u),o-e*Math.cos(n)]}var r=Math.sin(n),u=(r+Math.sin(t))/2,i=1+r*(2*u-r),o=Math.sqrt(i)/u;return e.invert=function(n,t){var e=o-t;return[Math.atan2(n,e)/u,tt((i-(n*n+e*e)*u*u)/(2*u))]},e}function Ve(){function n(n,t){Dc+=u*n-r*t,r=n,u=t}var t,e,r,u;Hc.point=function(i,o){Hc.point=n,t=r=i,e=u=o},Hc.lineEnd=function(){n(t,e)}}function Xe(n,t){Pc>n&&(Pc=n),n>jc&&(jc=n),Uc>t&&(Uc=t),t>Fc&&(Fc=t)}function $e(){function n(n,t){o.push("M",n,",",t,i)}function t(n,t){o.push("M",n,",",t),a.point=e}function e(n,t){o.push("L",n,",",t)}function r(){a.point=n}function u(){o.push("Z")}var i=Be(4.5),o=[],a={point:n,lineStart:function(){a.point=t},lineEnd:r,polygonStart:function(){a.lineEnd=u},polygonEnd:function(){a.lineEnd=r,a.point=n},pointRadius:function(n){return i=Be(n),a},result:function(){if(o.length){var n=o.join("");return o=[],n}}};return a}function Be(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function We(n,t){_c+=n,wc+=t,++Sc}function Je(){function n(n,r){var u=n-t,i=r-e,o=Math.sqrt(u*u+i*i);kc+=o*(t+n)/2,Ec+=o*(e+r)/2,Ac+=o,We(t=n,e=r)}var t,e;Ic.point=function(r,u){Ic.point=n,We(t=r,e=u)}}function Ge(){Ic.point=We}function Ke(){function n(n,t){var e=n-r,i=t-u,o=Math.sqrt(e*e+i*i);kc+=o*(r+n)/2,Ec+=o*(u+t)/2,Ac+=o,o=u*n-r*t,Nc+=o*(r+n),Cc+=o*(u+t),zc+=3*o,We(r=n,u=t)}var t,e,r,u;Ic.point=function(i,o){Ic.point=n,We(t=r=i,e=u=o)},Ic.lineEnd=function(){n(t,e)}}function Qe(n){function t(t,e){n.moveTo(t+o,e),n.arc(t,e,o,0,La)}function e(t,e){n.moveTo(t,e),a.point=r}function r(t,e){n.lineTo(t,e)}function u(){a.point=t}function i(){n.closePath()}var o=4.5,a={point:t,lineStart:function(){a.point=e},lineEnd:u,polygonStart:function(){a.lineEnd=i},polygonEnd:function(){a.lineEnd=u,a.point=t},pointRadius:function(n){return o=n,a},result:b};return a}function nr(n){function t(n){return(a?r:e)(n)}function e(t){return rr(t,function(e,r){e=n(e,r),t.point(e[0],e[1])})}function r(t){function e(e,r){e=n(e,r),t.point(e[0],e[1])}function r(){M=0/0,S.point=i,t.lineStart()}function i(e,r){var i=pe([e,r]),o=n(e,r);u(M,x,y,b,_,w,M=o[0],x=o[1],y=e,b=i[0],_=i[1],w=i[2],a,t),t.point(M,x)}function o(){S.point=e,t.lineEnd()}function c(){r(),S.point=l,S.lineEnd=s}function l(n,t){i(f=n,h=t),g=M,p=x,v=b,d=_,m=w,S.point=i}function s(){u(M,x,y,b,_,w,g,p,f,v,d,m,a,t),S.lineEnd=o,o()}var f,h,g,p,v,d,m,y,M,x,b,_,w,S={point:e,lineStart:r,lineEnd:o,polygonStart:function(){t.polygonStart(),S.lineStart=c
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/d3-3.5.6/d3.min.js:2:},polygonEnd:function(){t.polygonEnd(),S.lineStart=r}};return S}function u(t,e,r,a,c,l,s,f,h,g,p,v,d,m){var y=s-t,M=f-e,x=y*y+M*M;if(x>4*i&&d--){var b=a+g,_=c+p,w=l+v,S=Math.sqrt(b*b+_*_+w*w),k=Math.asin(w/=S),E=ga(ga(w)-1)<Ca||ga(r-h)<Ca?(r+h)/2:Math.atan2(_,b),A=n(E,k),N=A[0],C=A[1],z=N-t,q=C-e,L=M*z-y*q;(L*L/x>i||ga((y*z+M*q)/x-.5)>.3||o>a*g+c*p+l*v)&&(u(t,e,r,a,c,l,N,C,E,b/=S,_/=S,w,d,m),m.point(N,C),u(N,C,E,b,_,w,s,f,h,g,p,v,d,m))}}var i=.5,o=Math.cos(30*Da),a=16;return t.precision=function(n){return arguments.length?(a=(i=n*n)>0&&16,t):Math.sqrt(i)},t}function tr(n){var t=nr(function(t,e){return n([t*Pa,e*Pa])});return function(n){return or(t(n))}}function er(n){this.stream=n}function rr(n,t){return{point:t,sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()},polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}function ur(n){return ir(function(){return n})()}function ir(n){function t(n){return n=a(n[0]*Da,n[1]*Da),[n[0]*h+c,l-n[1]*h]}function e(n){return n=a.invert((n[0]-c)/h,(l-n[1])/h),n&&[n[0]*Pa,n[1]*Pa]}function r(){a=Ae(o=lr(m,M,x),i);var n=i(v,d);return c=g-n[0]*h,l=p+n[1]*h,u()}function u(){return s&&(s.valid=!1,s=null),t}var i,o,a,c,l,s,f=nr(function(n,t){return n=i(n,t),[n[0]*h+c,l-n[1]*h]}),h=150,g=480,p=250,v=0,d=0,m=0,M=0,x=0,b=Lc,_=y,w=null,S=null;return t.stream=function(n){return s&&(s.valid=!1),s=or(b(o,f(_(n)))),s.valid=!0,s},t.clipAngle=function(n){return arguments.length?(b=null==n?(w=n,Lc):He((w=+n)*Da),u()):w},t.clipExtent=function(n){return arguments.length?(S=n,_=n?Ie(n[0][0],n[0][1],n[1][0],n[1][1]):y,u()):S},t.scale=function(n){return arguments.length?(h=+n,r()):h},t.translate=function(n){return arguments.length?(g=+n[0],p=+n[1],r()):[g,p]},t.center=function(n){return arguments.length?(v=n[0]%360*Da,d=n[1]%360*Da,r()):[v*Pa,d*Pa]},t.rotate=function(n){return arguments.length?(m=n[0]%360*Da,M=n[1]%360*Da,x=n.length>2?n[2]%360*Da:0,r()):[m*Pa,M*Pa,x*Pa]},ta.rebind(t,f,"precision"),function(){return i=n.apply(this,arguments),t.invert=i.invert&&e,r()}}function or(n){return rr(n,function(t,e){n.point(t*Da,e*Da)})}function ar(n,t){return[n,t]}function cr(n,t){return[n>qa?n-La:-qa>n?n+La:n,t]}function lr(n,t,e){return n?t||e?Ae(fr(n),hr(t,e)):fr(n):t||e?hr(t,e):cr}function sr(n){return function(t,e){return t+=n,[t>qa?t-La:-qa>t?t+La:t,e]}}function fr(n){var t=sr(n);return t.invert=sr(-n),t}function hr(n,t){function e(n,t){var e=Math.cos(t),a=Math.cos(n)*e,c=Math.sin(n)*e,l=Math.sin(t),s=l*r+a*u;return[Math.atan2(c*i-s*o,a*r-l*u),tt(s*i+c*o)]}var r=Math.cos(n),u=Math.sin(n),i=Math.cos(t),o=Math.sin(t);return e.invert=function(n,t){var e=Math.cos(t),a=Math.cos(n)*e,c=Math.sin(n)*e,l=Math.sin(t),s=l*i-c*o;return[Math.atan2(c*i+l*o,a*r+s*u),tt(s*r-a*u)]},e}function gr(n,t){var e=Math.cos(n),r=Math.sin(n);return function(u,i,o,a){var c=o*t;null!=u?(u=pr(e,u),i=pr(e,i),(o>0?i>u:u>i)&&(u+=o*La)):(u=n+o*La,i=n-.5*c);for(var l,s=u;o>0?s>i:i>s;s-=c)a.point((l=xe([e,-r*Math.cos(s),-r*Math.sin(s)]))[0],l[1])}}function pr(n,t){var e=pe(t);e[0]-=n,Me(e);var r=nt(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-Ca)%(2*Math.PI)}function vr(n,t,e){var r=ta.range(n,t-Ca,e).concat(t);return function(n){return r.map(function(t){return[n,t]})}}function dr(n,t,e){var r=ta.range(n,t-Ca,e).concat(t);return function(n){return r.map(function(t){return[t,n]})}}function mr(n){return n.source}function yr(n){return n.target}function Mr(n,t,e,r){var u=Math.cos(t),i=Math.sin(t),o=Math.cos(r),a=Math.sin(r),c=u*Math.cos(n),l=u*Math.sin(n),s=o*Math.cos(e),f=o*Math.sin(e),h=2*Math.asin(Math.sqrt(it(r-t)+u*o*it(e-n))),g=1/Math.sin(h),p=h?function(n){var t=Math.sin(n*=h)*g,e=Math.sin(h-n)*g,r=e*c+t*s,u=e*l+t*f,o=e*i+t*a;return[Math.atan2(u,r)*Pa,Math.atan2(o,Math.sqrt(r*r+u*u))*Pa]}:function(){return[n*Pa,t*Pa]};return p.distance=h,p}function xr(){function n(n,u){var i=Math.sin(u*=Da),o=Math.cos(u),a=ga((n*=Da)-t),c=Math.cos(a);Yc+=Math.atan2(Math.sqrt((a=o*Math.sin(a))*a+(a=r*i-e*o*c)*a),e*i+r*o*c),t=n,e=i,r=o}var t,e,r;Zc.point=function(u,i){t=u*Da,e=Math.sin(i*=Da),r=Math.cos(i),Zc.point=n},Zc.lineEnd=function(){Zc.point=Zc.lineEnd=b}}function br(n,t){function e(t,e){var r=Math.cos(t),u=Math.cos(e),i=n(r*u);return[i*u*Math.sin(t),i*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),u=t(r),i=Math.sin(u),o=Math.cos(u);return[Math.atan2(n*i,r*o),Math.asin(r&&e*i/r)]},e}function _r(n,t){function e(n,t){o>0?-Ra+Ca>t&&(t=-Ra+Ca):t>Ra-Ca&&(t=Ra-Ca);var e=o/Math.pow(u(t),i);return[e*Math.sin(i*n),o-e*Math.cos(i*n)]}var r=Math.cos(n),u=function(n){return Math.tan(qa/4+n/2)},i=n===t?Math.sin(n):Math.log(r/Math.cos(t))/Math.log(u(t)/u(n)),o=r*Math.pow(u(n),i)/i;return i?(e.invert=function(n,t){var e=o-t,r=K(i)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/i,2*Math.atan(Math.pow(o/r,1/i))-Ra]},e):Sr}function wr(n,t){function e(n,t){var e=i-t;return[e*Math.sin(u*n),i-e*Math.cos(u*n)]}var r=Math.cos(n),u=n===t?Math.sin(n):(r-Math.cos(t))/(t-n),i=r/u+n;return ga(u)<Ca?ar:(e.invert=function(n,t){var e=i-t;return[Math.atan2(n,e)/u,i-K(u)*Math.sqrt(n*n+e*e)]},e)}function Sr(n,t){return[n,Math.log(Math.tan(qa/4+t/2))]}function kr(n){var t,e=ur(n),r=e.scale,u=e.translate,i=e.clipExtent;return e.scale=function(){var n=r.apply(e,arguments);return n===e?t?e.clipExtent(null):e:n},e.translate=function(){var n=u.apply(e,arguments);return n===e?t?e.clipExtent(null):e:n},e.clipExtent=function(n){var o=i.apply(e,arguments);if(o===e){if(t=null==n){var a=qa*r(),c=u();i([[c[0]-a,c[1]-a],[c[0]+a,c[1]+a]])}}else t&&(o=null);return o},e.clipExtent(null)}function Er(n,t){return[Math.log(Math.tan(qa/4+t/2)),-n]}function Ar(n){return n[0]}function Nr(n){return n[1]}function Cr(n){for(var t=n.length,e=[0,1],r=2,u=2;t>u;u++){for(;r>1&&Q(n[e[r-2]],n[e[r-1]],n[u])<=0;)--r;e[r++]=u}return e.slice(0,r)}function zr(n,t){return n[0]-t[0]||n[1]-t[1]}function qr(n,t,e){return(e[0]-t[0])*(n[1]-t[1])<(e[1]-t[1])*(n[0]-t[0])}function Lr(n,t,e,r){var u=n[0],i=e[0],o=t[0]-u,a=r[0]-i,c=n[1],l=e[1],s=t[1]-c,f=r[1]-l,h=(a*(c-l)-f*(u-i))/(f*o-a*s);return[u+h*o,c+h*s]}function Tr(n){var t=n[0],e=n[n.length-1];return!(t[0]-e[0]||t[1]-e[1])}function Rr(){tu(this),this.edge=this.site=this.circle=null}function Dr(n){var t=el.pop()||new Rr;return t.site=n,t}function Pr(n){Xr(n),Qc.remove(n),el.push(n),tu(n)}function Ur(n){var t=n.circle,e=t.x,r=t.cy,u={x:e,y:r},i=n.P,o=n.N,a=[n];Pr(n);for(var c=i;c.circle&&ga(e-c.circle.x)<Ca&&ga(r-c.circle.cy)<Ca;)i=c.P,a.unshift(c),Pr(c),c=i;a.unshift(c),Xr(c);for(var l=o;l.circle&&ga(e-l.circle.x)<Ca&&ga(r-l.circle.cy)<Ca;)o=l.N,a.push(l),Pr(l),l=o;a.push(l),Xr(l);var s,f=a.length;for(s=1;f>s;++s)l=a[s],c=a[s-1],Kr(l.edge,c.site,l.site,u);c=a[0],l=a[f-1],l.edge=Jr(c.site,l.site,null,u),Vr(c),Vr(l)}function jr(n){for(var t,e,r,u,i=n.x,o=n.y,a=Qc._;a;)if(r=Fr(a,o)-i,r>Ca)a=a.L;else{if(u=i-Hr(a,o),!(u>Ca)){r>-Ca?(t=a.P,e=a):u>-Ca?(t=a,e=a.N):t=e=a;break}if(!a.R){t=a;break}a=a.R}var c=Dr(n);if(Qc.insert(t,c),t||e){if(t===e)return Xr(t),e=Dr(t.site),Qc.insert(c,e),c.edge=e.edge=Jr(t.site,c.site),Vr(t),void Vr(e);if(!e)return void(c.edge=Jr(t.site,c.site));Xr(t),Xr(e);var l=t.site,s=l.x,f=l.y,h=n.x-s,g=n.y-f,p=e.site,v=p.x-s,d=p.y-f,m=2*(h*d-g*v),y=h*h+g*g,M=v*v+d*d,x={x:(d*y-g*M)/m+s,y:(h*M-v*y)/m+f};Kr(e.edge,l,p,x),c.edge=Jr(l,n,null,x),e.edge=Jr(n,p,null,x),Vr(t),Vr(e)}}function Fr(n,t){var e=n.site,r=e.x,u=e.y,i=u-t;if(!i)return r;var o=n.P;if(!o)return-1/0;e=o.site;var a=e.x,c=e.y,l=c-t;if(!l)return a;var s=a-r,f=1/i-1/l,h=s/l;return f?(-h+Math.sqrt(h*h-2*f*(s*s/(-2*l)-c+l/2+u-i/2)))/f+r:(r+a)/2}function Hr(n,t){var e=n.N;if(e)return Fr(e,t);var r=n.site;return r.y===t?r.x:1/0}function Or(n){this.site=n,this.edges=[]}function Ir(n){for(var t,e,r,u,i,o,a,c,l,s,f=n[0][0],h=n[1][0],g=n[0][1],p=n[1][1],v=Kc,d=v.length;d--;)if(i=v[d],i&&i.prepare())for(a=i.edges,c=a.length,o=0;c>o;)s=a[o].end(),r=s.x,u=s.y,l=a[++o%c].start(),t=l.x,e=l.y,(ga(r-t)>Ca||ga(u-e)>Ca)&&(a.splice(o,0,new Qr(Gr(i.site,s,ga(r-f)<Ca&&p-u>Ca?{x:f,y:ga(t-f)<Ca?e:p}:ga(u-p)<Ca&&h-r>Ca?{x:ga(e-p)<Ca?t:h,y:p}:ga(r-h)<Ca&&u-g>Ca?{x:h,y:ga(t-h)<Ca?e:g}:ga(u-g)<Ca&&r-f>Ca?{x:ga(e-g)<Ca?t:f,y:g}:null),i.site,null)),++c)}function Yr(n,t){return t.angle-n.angle}function Zr(){tu(this),this.x=this.y=this.arc=this.site=this.cy=null}function Vr(n){var t=n.P,e=n.N;if(t&&e){var r=t.site,u=n.site,i=e.site;if(r!==i){var o=u.x,a=u.y,c=r.x-o,l=r.y-a,s=i.x-o,f=i.y-a,h=2*(c*f-l*s);if(!(h>=-za)){var g=c*c+l*l,p=s*s+f*f,v=(f*g-l*p)/h,d=(c*p-s*g)/h,f=d+a,m=rl.pop()||new Zr;m.arc=n,m.site=u,m.x=v+o,m.y=f+Math.sqrt(v*v+d*d),m.cy=f,n.circle=m;for(var y=null,M=tl._;M;)if(m.y<M.y||m.y===M.y&&m.x<=M.x){if(!M.L){y=M.P;break}M=M.L}else{if(!M.R){y=M;break}M=M.R}tl.insert(y,m),y||(nl=m)}}}}function Xr(n){var t=n.circle;t&&(t.P||(nl=t.N),tl.remove(t),rl.push(t),tu(t),n.circle=null)}function $r(n){for(var t,e=Gc,r=Oe(n[0][0],n[0][1],n[1][0],n[1][1]),u=e.length;u--;)t=e[u],(!Br(t,n)||!r(t)||ga(t.a.x-t.b.x)<Ca&&ga(t.a.y-t.b.y)<Ca)&&(t.a=t.b=null,e.splice(u,1))}function Br(n,t){var e=n.b;if(e)return!0;var r,u,i=n.a,o=t[0][0],a=t[1][0],c=t[0][1],l=t[1][1],s=n.l,f=n.r,h=s.x,g=s.y,p=f.x,v=f.y,d=(h+p)/2,m=(g+v)/2;if(v===g){if(o>d||d>=a)return;if(h>p){if(i){if(i.y>=l)return}else i={x:d,y:c};e={x:d,y:l}}else{if(i){if(i.y<c)return}else i={x:d,y:l};e={x:d,y:c}}}else if(r=(h-p)/(v-g),u=m-r*d,-1>r||r>1)if(h>p){if(i){if(i.y>=l)return}else i={x:(c-u)/r,y:c};e={x:(l-u)/r,y:l}}else{if(i){if(i.y<c)return}else i={x:(l-u)/r,y:l};e={x:(c-u)/r,y:c}}else if(v>g){if(i){if(i.x>=a)return}else i={x:o,y:r*o+u};e={x:a,y:r*a+u}}else{if(i){if(i.x<o)return}else i={x:a,y:r*a+u};e={x:o,y:r*o+u}}return n.a=i,n.b=e,!0}function Wr(n,t){this.l=n,this.r=t,this.a=this.b=null}function Jr(n,t,e,r){var u=new Wr(n,t);return Gc.push(u),e&&Kr(u,n,t,e),r&&Kr(u,t,n,r),Kc[n.i].edges.push(new Qr(u,n,t)),Kc[t.i].edges.push(new Qr(u,t,n)),u}function Gr(n,t,e){var r=new Wr(n,null);return r.a=t,r.b=e,Gc.push(r),r}function Kr(n,t,e,r){n.a||n.b?n.l===e?n.b=r:n.a=r:(n.a=r,n.l=t,n.r=e)}function Qr(n,t,e){var r=n.a,u=n.b;this.edge=n,this.site=t,this.angle=e?Math.atan2(e.y-t.y,e.x-t.x):n.l===t?Math.atan2(u.x-r.x,r.y-u.y):Math.atan2(r.x-u.x,u.y-r.y)}function nu(){this._=null}function tu(n){n.U=n.C=n.L=n.R=n.P=n.N=null}function eu(n,t){var e=t,r=t.R,u=e.U;u?u.L===e?u.L=r:u.R=r:n._=r,r.U=u,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function ru(n,t){var e=t,r=t.L,u=e.U;u?u.L===e?u.L=r:u.R=r:n._=r,r.U=u,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function uu(n){for(;n.L;)n=n.L;return n}function iu(n,t){var e,r,u,i=n.sort(ou).pop();for(Gc=[],Kc=new Array(n.length),Qc=new nu,tl=new nu;;)if(u=nl,i&&(!u||i.y<u.y||i.y===u.y&&i.x<u.x))(i.x!==e||i.y!==r)&&(Kc[i.i]=new Or(i),jr(i),e=i.x,r=i.y),i=n.pop();else{if(!u)break;Ur(u.arc)}t&&($r(t),Ir(t));var o={cells:Kc,edges:Gc};return Qc=tl=Gc=Kc=null,o}function ou(n,t){return t.y-n.y||t.x-n.x}function au(n,t,e){return(n.x-e.x)*(t.y-n.y)-(n.x-t.x)*(e.y-n.y)}function cu(n){return n.x}function lu(n){return n.y}function su(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function fu(n,t,e,r,u,i){if(!n(t,e,r,u,i)){var o=.5*(e+u),a=.5*(r+i),c=t.nodes;c[0]&&fu(n,c[0],e,r,o,a),c[1]&&fu(n,c[1],o,r,u,a),c[2]&&fu(n,c[2],e,a,o,i),c[3]&&fu(n,c[3],o,a,u,i)}}function hu(n,t,e,r,u,i,o){var a,c=1/0;return function l(n,s,f,h,g){if(!(s>i||f>o||r>h||u>g)){if(p=n.point){var p,v=t-n.x,d=e-n.y,m=v*v+d*d;if(c>m){var y=Math.sqrt(c=m);r=t-y,u=e-y,i=t+y,o=e+y,a=p}}for(var M=n.nodes,x=.5*(s+h),b=.5*(f+g),_=t>=x,w=e>=b,S=w<<1|_,k=S+4;k>S;++S)if(n=M[3&S])switch(3&S){case 0:l(n,s,f,x,b);break;case 1:l(n,x,f,h,b);break;case 2:l(n,s,b,x,g);break;case 3:l(n,x,b,h,g)}}}(n,r,u,i,o),a}function gu(n,t){n=ta.rgb(n),t=ta.rgb(t);var e=n.r,r=n.g,u=n.b,i=t.r-e,o=t.g-r,a=t.b-u;return function(n){return"#"+xt(Math.round(e+i*n))+xt(Math.round(r+o*n))+xt(Math.round(u+a*n))}}function pu(n,t){var e,r={},u={};for(e in n)e in t?r[e]=mu(n[e],t[e]):u[e]=n[e];for(e in t)e in n||(u[e]=t[e]);return function(n){for(e in r)u[e]=r[e](n);return u}}function vu(n,t){return n=+n,t=+t,function(e){return n*(1-e)+t*e}}function du(n,t){var e,r,u,i=il.lastIndex=ol.lastIndex=0,o=-1,a=[],c=[];for(n+="",t+="";(e=il.exec(n))&&(r=ol.exec(t));)(u=r.index)>i&&(u=t.slice(i,u),a[o]?a[o]+=u:a[++o]=u),(e=e[0])===(r=r[0])?a[o]?a[o]+=r:a[++o]=r:(a[++o]=null,c.push({i:o,x:vu(e,r)})),i=ol.lastIndex;return i<t.length&&(u=t.slice(i),a[o]?a[o]+=u:a[++o]=u),a.length<2?c[0]?(t=c[0].x,function(n){return t(n)+""}):function(){return t}:(t=c.length,function(n){for(var e,r=0;t>r;++r)a[(e=c[r]).i]=e.x(n);return a.join("")})}function mu(n,t){for(var e,r=ta.interpolators.length;--r>=0&&!(e=ta.interpolators[r](n,t)););return e}function yu(n,t){var e,r=[],u=[],i=n.length,o=t.length,a=Math.min(n.length,t.length);for(e=0;a>e;++e)r.push(mu(n[e],t[e]));for(;i>e;++e)u[e]=n[e];for(;o>e;++e)u[e]=t[e];return function(n){for(e=0;a>e;++e)u[e]=r[e](n);return u}}function Mu(n){return function(t){return 0>=t?0:t>=1?1:n(t)}}function xu(n){return function(t){return 1-n(1-t)}}function bu(n){return function(t){return.5*(.5>t?n(2*t):2-n(2-2*t))}}function _u(n){return n*n}function wu(n){return n*n*n}function Su(n){if(0>=n)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(.5>n?e:3*(n-t)+e-.75)}function ku(n){return function(t){return Math.pow(t,n)}}function Eu(n){return 1-Math.cos(n*Ra)}function Au(n){return Math.pow(2,10*(n-1))}function Nu(n){return 1-Math.sqrt(1-n*n)}function Cu(n,t){var e;return arguments.length<2&&(t=.45),arguments.length?e=t/La*Math.asin(1/n):(n=1,e=t/4),function(r){return 1+n*Math.pow(2,-10*r)*Math.sin((r-e)*La/t)}}function zu(n){return n||(n=1.70158),function(t){return t*t*((n+1)*t-n)}}function qu(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function Lu(n,t){n=ta.hcl(n),t=ta.hcl(t);var e=n.h,r=n.c,u=n.l,i=t.h-e,o=t.c-r,a=t.l-u;return isNaN(o)&&(o=0,r=isNaN(r)?t.c:r),isNaN(i)?(i=0,e=isNaN(e)?t.h:e):i>180?i-=360:-180>i&&(i+=360),function(n){return st(e+i*n,r+o*n,u+a*n)+""}}function Tu(n,t){n=ta.hsl(n),t=ta.hsl(t);var e=n.h,r=n.s,u=n.l,i=t.h-e,o=t.s-r,a=t.l-u;return isNaN(o)&&(o=0,r=isNaN(r)?t.s:r),isNaN(i)?(i=0,e=isNaN(e)?t.h:e):i>180?i-=360:-180>i&&(i+=360),function(n){return ct(e+i*n,r+o*n,u+a*n)+""}}function Ru(n,t){n=ta.lab(n),t=ta.lab(t);var e=n.l,r=n.a,u=n.b,i=t.l-e,o=t.a-r,a=t.b-u;return function(n){return ht(e+i*n,r+o*n,u+a*n)+""}}function Du(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function Pu(n){var t=[n.a,n.b],e=[n.c,n.d],r=ju(t),u=Uu(t,e),i=ju(Fu(e,t,-u))||0;t[0]*e[1]<e[0]*t[1]&&(t[0]*=-1,t[1]*=-1,r*=-1,u*=-1),this.rotate=(r?Math.atan2(t[1],t[0]):Math.atan2(-e[0],e[1]))*Pa,this.translate=[n.e,n.f],this.scale=[r,i],this.skew=i?Math.atan2(u,i)*Pa:0}function Uu(n,t){return n[0]*t[0]+n[1]*t[1]}function ju(n){var t=Math.sqrt(Uu(n,n));return t&&(n[0]/=t,n[1]/=t),t}function Fu(n,t,e){return n[0]+=e*t[0],n[1]+=e*t[1],n}function Hu(n,t){var e,r=[],u=[],i=ta.transform(n),o=ta.transform(t),a=i.translate,c=o.translate,l=i.rotate,s=o.rotate,f=i.skew,h=o.skew,g=i.scale,p=o.scale;return a[0]!=c[0]||a[1]!=c[1]?(r.push("translate(",null,",",null,")"),u.push({i:1,x:vu(a[0],c[0])},{i:3,x:vu(a[1],c[1])})):r.push(c[0]||c[1]?"translate("+c+")":""),l!=s?(l-s>180?s+=360:s-l>180&&(l+=360),u.push({i:r.push(r.pop()+"rotate(",null,")")-2,x:vu(l,s)})):s&&r.push(r.pop()+"rotate("+s+")"),f!=h?u.push({i:r.push(r.pop()+"skewX(",null,")")-2,x:vu(f,h)}):h&&r.push(r.pop()+"skewX("+h+")"),g[0]!=p[0]||g[1]!=p[1]?(e=r.push(r.pop()+"scale(",null,",",null,")"),u.push({i:e-4,x:vu(g[0],p[0])},{i:e-2,x:vu(g[1],p[1])})):(1!=p[0]||1!=p[1])&&r.push(r.pop()+"scale("+p+")"),e=u.length,function(n){for(var t,i=-1;++i<e;)r[(t=u[i]).i]=t.x(n);return r.join("")}}function Ou(n,t){return t=(t-=n=+n)||1/t,function(e){return(e-n)/t}}function Iu(n,t){return t=(t-=n=+n)||1/t,function(e){return Math.max(0,Math.min(1,(e-n)/t))}}function Yu(n){for(var t=n.source,e=n.target,r=Vu(t,e),u=[t];t!==r;)t=t.parent,u.push(t);for(var i=u.length;e!==r;)u.splice(i,0,e),e=e.parent;return u}function Zu(n){for(var t=[],e=n.parent;null!=e;)t.push(n),n=e,e=e.parent;return t.push(n),t}function Vu(n,t){if(n===t)return n;for(var e=Zu(n),r=Zu(t),u=e.pop(),i=r.pop(),o=null;u===i;)o=u,u=e.pop(),i=r.pop();return o}function Xu(n){n.fixed|=2}function $u(n){n.fixed&=-7}function Bu(n){n.fixed|=4,n.px=n.x,n.py=n.y}function Wu(n){n.fixed&=-5}function Ju(n,t,e){var r=0,u=0;if(n.charge=0,!n.leaf)for(var i,o=n.nodes,a=o.length,c=-1;++c<a;)i=o[c],null!=i&&(Ju(i,t,e),n.charge+=i.charge,r+=i.charge*i.cx,u+=i.charge*i.cy);if(n.point){n.leaf||(n.point.x+=Math.random()-.5,n.point.y+=Math.random()-.5);var l=t*e[n.point.index];n.charge+=n.pointCharge=l,r+=l*n.point.x,u+=l*n.point.y}n.cx=r/n.charge,n.cy=u/n.charge}function Gu(n,t){return ta.rebind(n,t,"sort","children","value"),n.nodes=n,n.links=ri,n}function Ku(n,t){for(var e=[n];null!=(n=e.pop());)if(t(n),(u=n.children)&&(r=u.length))for(var r,u;--r>=0;)e.push(u[r])}function Qu(n,t){for(var e=[n],r=[];null!=(n=e.pop());)if(r.push(n),(i=n.children)&&(u=i.length))for(var u,i,o=-1;++o<u;)e.push(i[o]);for(;null!=(n=r.pop());)t(n)}function ni(n){return n.children}function ti(n){return n.value}function ei(n,t){return t.value-n.value}function ri(n){return ta.merge(n.map(function(n){return(n.children||[]).map(function(t){return{source:n,target:t}})}))}function ui(n){return n.x}function ii(n){return n.y}function oi(n,t,e){n.y0=t,n.y=e}function ai(n){return ta.range(n.length)}function ci(n){for(var t=-1,e=n[0].length,r=[];++t<e;)r[t]=0;return r}function li(n){for(var t,e=1,r=0,u=n[0][1],i=n.length;i>e;++e)(t=n[e][1])>u&&(r=e,u=t);return r}function si(n){return n.reduce(fi,0)}function fi(n,t){return n+t[1]}function hi(n,t){return gi(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function gi(n,t){for(var e=-1,r=+n[0],u=(n[1]-r)/t,i=[];++e<=t;)i[e]=u*e+r;return i}function pi(n){return[ta.min(n),ta.max(n)]}function vi(n,t){return n.value-t.value}function di(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function mi(n,t){n._pack_next=t,t._pack_prev=n}function yi(n,t){var e=t.x-n.x,r=t.y-n.y,u=n.r+t.r;return.999*u*u>e*e+r*r}function Mi(n){function t(n){s=Math.min(n.x-n.r,s),f=Math.max(n.x+n.r,f),h=Math.min(n.y-n.r,h),g=Math.max(n.y+n.r,g)}if((e=n.children)&&(l=e.length)){var e,r,u,i,o,a,c,l,s=1/0,f=-1/0,h=1/0,g=-1/0;if(e.forEach(xi),r=e[0],r.x=-r.r,r.y=0,t(r),l>1&&(u=e[1],u.x=u.r,u.y=0,t(u),l>2))for(i=e[2],wi(r,u,i),t(i),di(r,i),r._pack_prev=i,di(i,u),u=r._pack_next,o=3;l>o;o++){wi(r,u,i=e[o]);var p=0,v=1,d=1;for(a=u._pack_next;a!==u;a=a._pack_next,v++)if(yi(a,i)){p=1;break}if(1==p)for(c=r._pack_prev;c!==a._pack_prev&&!yi(c,i);c=c._pack_prev,d++);p?(d>v||v==d&&u.r<r.r?mi(r,u=a):mi(r=c,u),o--):(di(r,i),u=i,t(i))}var m=(s+f)/2,y=(h+g)/2,M=0;for(o=0;l>o;o++)i=e[o],i.x-=m,i.y-=y,M=Math.max(M,i.r+Math.sqrt(i.x*i.x+i.y*i.y));n.r=M,e.forEach(bi)}}function xi(n){n._pack_next=n._pack_prev=n}function bi(n){delete n._pack_next,delete n._pack_prev}function _i(n,t,e,r){var u=n.children;if(n.x=t+=r*n.x,n.y=e+=r*n.y,n.r*=r,u)for(var i=-1,o=u.length;++i<o;)_i(u[i],t,e,r)}function wi(n,t,e){var r=n.r+e.r,u=t.x-n.x,i=t.y-n.y;if(r&&(u||i)){var o=t.r+e.r,a=u*u+i*i;o*=o,r*=r;var c=.5+(r-o)/(2*a),l=Math.sqrt(Math.max(0,2*o*(r+a)-(r-=a)*r-o*o))/(2*a);e.x=n.x+c*u+l*i,e.y=n.y+c*i-l*u}else e.x=n.x+r,e.y=n.y}function Si(n,t){return n.parent==t.parent?1:2}function ki(n){var t=n.children;return t.length?t[0]:n.t}function Ei(n){var t,e=n.children;return(t=e.length)?e[t-1]:n.t}function Ai(n,t,e){var r=e/(t.i-n.i);t.c-=r,t.s+=e,n.c+=r,t.z+=e,t.m+=e}function Ni(n){for(var t,e=0,r=0,u=n.children,i=u.length;--i>=0;)t=u[i],t.z+=e,t.m+=e,e+=t.s+(r+=t.c)}function Ci(n,t,e){return n.a.parent===t.parent?n.a:e}function zi(n){return 1+ta.max(n,function(n){return n.y})}function qi(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}function Li(n){var t=n.children;return t&&t.length?Li(t[0]):n}function Ti(n){var t,e=n.children;return e&&(t=e.length)?Ti(e[t-1]):n}function Ri(n){return{x:n.x,y:n.y,dx:n.dx,dy:n.dy}}function Di(n,t){var e=n.x+t[3],r=n.y+t[0],u=n.dx-t[1]-t[3],i=n.dy-t[0]-t[2];return 0>u&&(e+=u/2,u=0),0>i&&(r+=i/2,i=0),{x:e,y:r,dx:u,dy:i}}function Pi(n){var t=n[0],e=n[n.length-1];return e>t?[t,e]:[e,t]}function Ui(n){return n.rangeExtent?n.rangeExtent():Pi(n.range())}function ji(n,t,e,r){var u=e(n[0],n[1]),i=r(t[0],t[1]);return function(n){return i(u(n))}}function Fi(n,t){var e,r=0,u=n.length-1,i=n[r],o=n[u];return i>o&&(e=r,r=u,u=e,e=i,i=o,o=e),n[r]=t.floor(i),n[u]=t.ceil(o),n}function Hi(n){return n?{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}:ml}function Oi(n,t,e,r){var u=[],i=[],o=0,a=Math.min(n.length,t.length)-1;for(n[a]<n[0]&&(n=n.slice().reverse(),t=t.slice().reverse());++o<=a;)u.push(e(n[o-1],n[o])),i.push(r(t[o-1],t[o]));return function(t){var e=ta.bisect(n,t,1,a)-1;return i[e](u[e](t))}}function Ii(n,t,e,r){function u(){var u=Math.min(n.length,t.length)>2?Oi:ji,c=r?Iu:Ou;return o=u(n,t,c,e),a=u(t,n,c,mu),i}function i(n){return o(n)}var o,a;return i.invert=function(n){return a(n)},i.domain=function(t){return arguments.length?(n=t.map(Number),u()):n},i.range=function(n){return arguments.length?(t=n,u()):t},i.rangeRound=function(n){return i.range(n).interpolate(Du)},i.clamp=function(n){return arguments.length?(r=n,u()):r},i.interpolate=function(n){return arguments.length?(e=n,u()):e},i.ticks=function(t){return Xi(n,t)},i.tickFormat=function(t,e){return $i(n,t,e)},i.nice=function(t){return Zi(n,t),u()},i.copy=function(){return Ii(n,t,e,r)},u()}function Yi(n,t){return ta.rebind(n,t,"range","rangeRound","interpolate","clamp")}function Zi(n,t){return Fi(n,Hi(Vi(n,t)[2]))}function Vi(n,t){null==t&&(t=10);var e=Pi(n),r=e[1]-e[0],u=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),i=t/r*u;return.15>=i?u*=10:.35>=i?u*=5:.75>=i&&(u*=2),e[0]=Math.ceil(e[0]/u)*u,e[1]=Math.floor(e[1]/u)*u+.5*u,e[2]=u,e}function Xi(n,t){return ta.range.apply(ta,Vi(n,t))}function $i(n,t,e){var r=Vi(n,t);if(e){var u=ic.exec(e);if(u.shift(),"s"===u[8]){var i=ta.formatPrefix(Math.max(ga(r[0]),ga(r[1])));return u[7]||(u[7]="."+Bi(i.scale(r[2]))),u[8]="f",e=ta.format(u.join("")),function(n){return e(i.scale(n))+i.symbol}}u[7]||(u[7]="."+Wi(u[8],r)),e=u.join("")}else e=",."+Bi(r[2])+"f";return ta.format(e)}function Bi(n){return-Math.floor(Math.log(n)/Math.LN10+.01)}function Wi(n,t){var e=Bi(t[2]);return n in yl?Math.abs(e-Bi(Math.max(ga(t[0]),ga(t[1]))))+ +("e"!==n):e-2*("%"===n)}function Ji(n,t,e,r){function u(n){return(e?Math.log(0>n?0:n):-Math.log(n>0?0:-n))/Math.log(t)}function i(n){return e?Math.pow(t,n):-Math.pow(t,-n)}function o(t){return n(u(t))}return o.invert=function(t){return i(n.invert(t))},o.domain=function(t){return arguments.length?(e=t[0]>=0,n.domain((r=t.map(Number)).map(u)),o):r},o.base=function(e){return arguments.length?(t=+e,n.domain(r.map(u)),o):t},o.nice=function(){var t=Fi(r.map(u),e?Math:xl);return n.domain(t),r=t.map(i),o},o.ticks=function(){var n=Pi(r),o=[],a=n[0],c=n[1],l=Math.floor(u(a)),s=Math.ceil(u(c)),f=t%1?2:t;if(isFinite(s-l)){if(e){for(;s>l;l++)for(var h=1;f>h;h++)o.push(i(l)*h);o.push(i(l))}else for(o.push(i(l));l++<s;)for(var h=f-1;h>0;h--)o.push(i(l)*h);for(l=0;o[l]<a;l++);for(s=o.length;o[s-1]>c;s--);o=o.slice(l,s)}return o},o.tickFormat=function(n,t){if(!arguments.length)return Ml;arguments.length<2?t=Ml:"function"!=typeof t&&(t=ta.format(t));var r,a=Math.max(.1,n/o.ticks().length),c=e?(r=1e-12,Math.ceil):(r=-1e-12,Math.floor);return function(n){return n/i(c(u(n)+r))<=a?t(n):""}},o.copy=function(){return Ji(n.copy(),t,e,r)},Yi(o,n)}function Gi(n,t,e){function r(t){return n(u(t))}var u=Ki(t),i=Ki(1/t);return r.invert=function(t){return i(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain((e=t.map(Number)).map(u)),r):e},r.ticks=function(n){return Xi(e,n)},r.tickFormat=function(n,t){return $i(e,n,t)},r.nice=function(n){return r.domain(Zi(e,n))},r.exponent=function(o){return arguments.length?(u=Ki(t=o),i=Ki(1/t),n.domain(e.map(u)),r):t},r.copy=function(){return Gi(n.copy(),t,e)},Yi(r,n)}function Ki(n){return function(t){return 0>t?-Math.pow(-t,n):Math.pow(t,n)}}function Qi(n,t){function e(e){return i[((u.get(e)||("range"===t.t?u.set(e,n.push(e)):0/0))-1)%i.length]}function r(t,e){return ta.range(n.length).map(function(n){return t+e*n})}var u,i,o;return e.domain=function(r){if(!arguments.length)return n;n=[],u=new l;for(var i,o=-1,a=r.length;++o<a;)u.has(i=r[o])||u.set(i,n.push(i));return e[t.t].apply(e,t.a)},e.range=function(n){return arguments.length?(i=n,o=0,t={t:"range",a:arguments},e):i},e.rangePoints=function(u,a){arguments.length<2&&(a=0);var c=u[0],l=u[1],s=n.length<2?(c=(c+l)/2,0):(l-c)/(n.length-1+a);return i=r(c+s*a/2,s),o=0,t={t:"rangePoints",a:arguments},e},e.rangeRoundPoints=function(u,a){arguments.length<2&&(a=0);var c=u[0],l=u[1],s=n.length<2?(c=l=Math.round((c+l)/2),0):(l-c)/(n.length-1+a)|0;return i=r(c+Math.round(s*a/2+(l-c-(n.length-1+a)*s)/2),s),o=0,t={t:"rangeRoundPoints",a:arguments},e},e.rangeBands=function(u,a,c){arguments.length<2&&(a=0),arguments.length<3&&(c=a);var l=u[1]<u[0],s=u[l-0],f=u[1-l],h=(f-s)/(n.length-a+2*c);return i=r(s+h*c,h),l&&i.reverse(),o=h*(1-a),t={t:"rangeBands",a:arguments},e},e.rangeRoundBands=function(u,a,c){arguments.length<2&&(a=0),arguments.length<3&&(c=a);var l=u[1]<u[0],s=u[l-0],f=u[1-l],h=Math.floor((f-s)/(n.length-a+2*c));return i=r(s+Math.round((f-s-(n.length-a)*h)/2),h),l&&i.reverse(),o=Math.round(h*(1-a)),t={t:"rangeRoundBands",a:arguments},e},e.rangeBand=function(){return o},e.rangeExtent=function(){return Pi(t.a[0])},e.copy=function(){return Qi(n,t)},e.domain(n)}function no(n,t){function i(){var e=0,r=t.length;for(a=[];++e<r;)a[e-1]=ta.quantile(n,e/r);return o}function o(n){return isNaN(n=+n)?void 0:t[ta.bisect(a,n)]}var a;return o.domain=function(t){return arguments.length?(n=t.map(r).filter(u).sort(e),i()):n},o.range=function(n){return arguments.length?(t=n,i()):t},o.quantiles=function(){return a},o.invertExtent=function(e){return e=t.indexOf(e),0>e?[0/0,0/0]:[e>0?a[e-1]:n[0],e<a.length?a[e]:n[n.length-1]]},o.copy=function(){return no(n,t)},i()}function to(n,t,e){function r(t){return e[Math.max(0,Math.min(o,Math.floor(i*(t-n))))]}function u(){return i=e.length/(t-n),o=e.length-1,r}var i,o;return r.domain=function(e){return arguments.length?(n=+e[0],t=+e[e.length-1],u()):[n,t]},r.range=function(n){return arguments.length?(e=n,u()):e},r.invertExtent=function(t){return t=e.indexOf(t),t=0>t?0/0:t/i+n,[t,t+1/i]},r.copy=function(){return to(n,t,e)},u()}function eo(n,t){function e(e){return e>=e?t[ta.bisect(n,e)]:void 0}return e.domain=function(t){return arguments.length?(n=t,e):n},e.range=function(n){return arguments.length?(t=n,e):t},e.invertExtent=function(e){return e=t.indexOf(e),[n[e-1],n[e]]},e.copy=function(){return eo(n,t)},e}function ro(n){function t(n){return+n}return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=e.map(t),t):n},t.ticks=function(t){return Xi(n,t)},t.tickFormat=function(t,e){return $i(n,t,e)},t.copy=function(){return ro(n)},t}function uo(){return 0}function io(n){return n.innerRadius}function oo(n){return n.outerRadius}function ao(n){return n.startAngle}function co(n){return n.endAngle}function lo(n){return n&&n.padAngle}function so(n,t,e,r){return(n-e)*t-(t-r)*n>0?0:1}function fo(n,t,e,r,u){var i=n[0]-t[0],o=n[1]-t[1],a=(u?r:-r)/Math.sqrt(i*i+o*o),c=a*o,l=-a*i,s=n[0]+c,f=n[1]+l,h=t[0]+c,g=t[1]+l,p=(s+h)/2,v=(f+g)/2,d=h-s,m=g-f,y=d*d+m*m,M=e-r,x=s*g-h*f,b=(0>m?-1:1)*Math.sqrt(M*M*y-x*x),_=(x*m-d*b)/y,w=(-x*d-m*b)/y,S=(x*m+d*b)/y,k=(-x*d+m*b)/y,E=_-p,A=w-v,N=S-p,C=k-v;return E*E+A*A>N*N+C*C&&(_=S,w=k),[[_-c,w-l],[_*e/M,w*e/M]]}function ho(n){function t(t){function o(){l.push("M",i(n(s),a))}for(var c,l=[],s=[],f=-1,h=t.length,g=Et(e),p=Et(r);++f<h;)u.call(this,c=t[f],f)?s.push([+g.call(this,c,f),+p.call(this,c,f)]):s.length&&(o(),s=[]);return s.length&&o(),l.length?l.join(""):null}var e=Ar,r=Nr,u=Ne,i=go,o=i.key,a=.7;return t.x=function(n){return arguments.length?(e=n,t):e},t.y=function(n){return arguments.length?(r=n,t):r},t.defined=function(n){return arguments.length?(u=n,t):u},t.interpolate=function(n){return arguments.length?(o="function"==typeof n?i=n:(i=El.get(n)||go).key,t):o},t.tension=function(n){return arguments.length?(a=n,t):a},t}function go(n){return n.join("L")}function po(n){return go(n)+"Z"}function vo(n){for(var t=0,e=n.length,r=n[0],u=[r[0],",",r[1]];++t<e;)u.push("H",(r[0]+(r=n[t])[0])/2,"V",r[1]);return e>1&&u.push("H",r[0]),u.join("")}function mo(n){for(var t=0,e=n.length,r=n[0],u=[r[0],",",r[1]];++t<e;)u.push("V",(r=n[t])[1],"H",r[0]);return u.join("")}function yo(n){for(var t=0,e=n.length,r=n[0],u=[r[0],",",r[1]];++t<e;)u.push("H",(r=n[t])[0],"V",r[1]);return u.join("")}function Mo(n,t){return n.length<4?go(n):n[1]+_o(n.slice(1,-1),wo(n,t))}function xo(n,t){return n.length<3?go(n):n[0]+_o((n.push(n[0]),n),wo([n[n.length-2]].concat(n,[n[1]]),t))}function bo(n,t){return n.length<3?go(n):n[0]+_o(n,wo(n,t))}function _o(n,t){if(t.length<1||n.length!=t.length&&n.length!=t.length+2)return go(n);var e=n.length!=t.length,r="",u=n[0],i=n[1],o=t[0],a=o,c=1;if(e&&(r+="Q"+(i[0]-2*o[0]/3)+","+(i[1]-2*o[1]/3)+","+i[0]+","+i[1],u=n[1],c=2),t.length>1){a=t[1],i=n[c],c++,r+="C"+(u[0]+o[0])+","+(u[1]+o[1])+","+(i[0]-a[0])+","+(i[1]-a[1])+","+i[0]+","+i[1];for(var l=2;l<t.length;l++,c++)i=n[c],a=t[l],r+="S"+(i[0]-a[0])+","+(i[1]-a[1])+","+i[0]+","+i[1]}if(e){var s=n[c];r+="Q"+(i[0]+2*a[0]/3)+","+(i[1]+2*a[1]/3)+","+s[0]+","+s[1]}return r}function wo(n,t){for(var e,r=[],u=(1-t)/2,i=n[0],o=n[1],a=1,c=n.length;++a<c;)e=i,i=o,o=n[a],r.push([u*(o[0]-e[0]),u*(o[1]-e[1])]);return r}function So(n){if(n.length<3)return go(n);var t=1,e=n.length,r=n[0],u=r[0],i=r[1],o=[u,u,u,(r=n[1])[0]],a=[i,i,i,r[1]],c=[u,",",i,"L",No(Cl,o),",",No(Cl,a)];for(n.push(n[e-1]);++t<=e;)r=n[t],o.shift(),o.push(r[0]),a.shift(),a.push(r[1]),Co(c,o,a);return n.pop(),c.push("L",r),c.join("")}function ko(n){if(n.length<4)return go(n);for(var t,e=[],r=-1,u=n.length,i=[0],o=[0];++r<3;)t=n[r],i.push(t[0]),o.push(t[1]);for(e.push(No(Cl,i)+","+No(Cl,o)),--r;++r<u;)t=n[r],i.shift(),i.push(t[0]),o.shift(),o.push(t[1]),Co(e,i,o);return e.join("")}function Eo(n){for(var t,e,r=-1,u=n.length,i=u+4,o=[],a=[];++r<4;)e=n[r%u],o.push(e[0]),a.push(e[1]);for(t=[No(Cl,o),",",No(Cl,a)],--r;++r<i;)e=n[r%u],o.shift(),o.push(e[0]),a.shift(),a.push(e[1]),Co(t,o,a);return t.join("")}function Ao(n,t){var e=n.length-1;if(e)for(var r,u,i=n[0][0],o=n[0][1],a=n[e][0]-i,c=n[e][1]-o,l=-1;++l<=e;)r=n[l],u=l/e,r[0]=t*r[0]+(1-t)*(i+u*a),r[1]=t*r[1]+(1-t)*(o+u*c);return So(n)}function No(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]+n[3]*t[3]}function Co(n,t,e){n.push("C",No(Al,t),",",No(Al,e),",",No(Nl,t),",",No(Nl,e),",",No(Cl,t),",",No(Cl,e))}function zo(n,t){return(t[1]-n[1])/(t[0]-n[0])}function qo(n){for(var t=0,e=n.length-1,r=[],u=n[0],i=n[1],o=r[0]=zo(u,i);++t<e;)r[t]=(o+(o=zo(u=i,i=n[t+1])))/2;return r[t]=o,r}function Lo(n){for(var t,e,r,u,i=[],o=qo(n),a=-1,c=n.length-1;++a<c;)t=zo(n[a],n[a+1]),ga(t)<Ca?o[a]=o[a+1]=0:(e=o[a]/t,r=o[a+1]/t,u=e*e+r*r,u>9&&(u=3*t/Math.sqrt(u),o[a]=u*e,o[a+1]=u*r));for(a=-1;++a<=c;)u=(n[Math.min(c,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),i.push([u||0,o[a]*u||0]);return i}function To(n){return n.length<3?go(n):n[0]+_o(n,Lo(n))}function Ro(n){for(var t,e,r,u=-1,i=n.length;++u<i;)t=n[u],e=t[0],r=t[1]-Ra,t[0]=e*Math.cos(r),t[1]=e*Math.sin(r);return n}function Do(n){function t(t){function c(){v.push("M",a(n(m),f),s,l(n(d.reverse()),f),"Z")}for(var h,g,p,v=[],d=[],m=[],y=-1,M=t.length,x=Et(e),b=Et(u),_=e===r?function(){return g}:Et(r),w=u===i?function(){return p}:Et(i);++y<M;)o.call(this,h=t[y],y)?(d.push([g=+x.call(this,h,y),p=+b.call(this,h,y)]),m.push([+_.call(this,h,y),+w.call(this,h,y)])):d.length&&(c(),d=[],m=[]);return d.length&&c(),v.length?v.join(""):null}var e=Ar,r=Ar,u=0,i=Nr,o=Ne,a=go,c=a.key,l=a,s="L",f=.7;return t.x=function(n){return arguments.length?(e=r=n,t):r},t.x0=function(n){return arguments.length?(e=n,t):e},t.x1=function(n){return arguments.length?(r=n,t):r
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/d3-3.5.6/d3.min.js-3-},t.y=function(n){return arguments.length?(u=i=n,t):i},t.y0=function(n){return arguments.length?(u=n,t):u},t.y1=function(n){return arguments.length?(i=n,t):i},t.defined=function(n){return arguments.length?(o=n,t):o},t.interpolate=function(n){return arguments.length?(c="function"==typeof n?a=n:(a=El.get(n)||go).key,l=a.reverse||a,s=a.closed?"M":"L",t):c},t.tension=function(n){return arguments.length?(f=n,t):f},t}function Po(n){return n.radius}function Uo(n){return[n.x,n.y]}function jo(n){return function(){var t=n.apply(this,arguments),e=t[0],r=t[1]-Ra;return[e*Math.cos(r),e*Math.sin(r)]}}function Fo(){return 64}function Ho(){return"circle"}function Oo(n){var t=Math.sqrt(n/qa);return"M0,"+t+"A"+t+","+t+" 0 1,1 0,"+-t+"A"+t+","+t+" 0 1,1 0,"+t+"Z"}function Io(n){return function(){var t,e;(t=this[n])&&(e=t[t.active])&&(--t.count?delete t[t.active]:delete this[n],t.active+=.5,e.event&&e.event.interrupt.call(this,this.__data__,e.index))}}function Yo(n,t,e){return ya(n,Pl),n.namespace=t,n.id=e,n}function Zo(n,t,e,r){var u=n.id,i=n.namespace;return Y(n,"function"==typeof e?function(n,o,a){n[i][u].tween.set(t,r(e.call(n,n.__data__,o,a)))}:(e=r(e),function(n){n[i][u].tween.set(t,e)}))}function Vo(n){return null==n&&(n=""),function(){this.textContent=n}}function Xo(n){return null==n?"__transition__":"__transition_"+n+"__"}function $o(n,t,e,r,u){var i=n[e]||(n[e]={active:0,count:0}),o=i[r];if(!o){var a=u.time;o=i[r]={tween:new l,time:a,delay:u.delay,duration:u.duration,ease:u.ease,index:t},u=null,++i.count,ta.timer(function(u){function c(e){if(i.active>r)return s();var u=i[i.active];u&&(--i.count,delete i[i.active],u.event&&u.event.interrupt.call(n,n.__data__,u.index)),i.active=r,o.event&&o.event.start.call(n,n.__data__,t),o.tween.forEach(function(e,r){(r=r.call(n,n.__data__,t))&&v.push(r)}),h=o.ease,f=o.duration,ta.timer(function(){return p.c=l(e||1)?Ne:l,1},0,a)}function l(e){if(i.active!==r)return 1;for(var u=e/f,a=h(u),c=v.length;c>0;)v[--c].call(n,a);return u>=1?(o.event&&o.event.end.call(n,n.__data__,t),s()):void 0}function s(){return--i.count?delete i[r]:delete n[e],1}var f,h,g=o.delay,p=ec,v=[];return p.t=g+a,u>=g?c(u-g):void(p.c=c)},0,a)}}function Bo(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate("+(isFinite(r)?r:e(n))+",0)"})}function Wo(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate(0,"+(isFinite(r)?r:e(n))+")"})}function Jo(n){return n.toISOString()}function Go(n,t,e){function r(t){return n(t)}function u(n,e){var r=n[1]-n[0],u=r/e,i=ta.bisect(Vl,u);return i==Vl.length?[t.year,Vi(n.map(function(n){return n/31536e6}),e)[2]]:i?t[u/Vl[i-1]<Vl[i]/u?i-1:i]:[Bl,Vi(n,e)[2]]}return r.invert=function(t){return Ko(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain(t),r):n.domain().map(Ko)},r.nice=function(n,t){function e(e){return!isNaN(e)&&!n.range(e,Ko(+e+1),t).length}var i=r.domain(),o=Pi(i),a=null==n?u(o,10):"number"==typeof n&&u(o,n);return a&&(n=a[0],t=a[1]),r.domain(Fi(i,t>1?{floor:function(t){for(;e(t=n.floor(t));)t=Ko(t-1);return t},ceil:function(t){for(;e(t=n.ceil(t));)t=Ko(+t+1);return t}}:n))},r.ticks=function(n,t){var e=Pi(r.domain()),i=null==n?u(e,10):"number"==typeof n?u(e,n):!n.range&&[{range:n},t];return i&&(n=i[0],t=i[1]),n.range(e[0],Ko(+e[1]+1),1>t?1:t)},r.tickFormat=function(){return e},r.copy=function(){return Go(n.copy(),t,e)},Yi(r,n)}function Ko(n){return new Date(n)}function Qo(n){return JSON.parse(n.responseText)}function na(n){var t=ua.createRange();return t.selectNode(ua.body),t.createContextualFragment(n.responseText)}var ta={version:"3.5.6"},ea=[].slice,ra=function(n){return ea.call(n)},ua=this.document;if(ua)try{ra(ua.documentElement.childNodes)[0].nodeType}catch(ia){ra=function(n){for(var t=n.length,e=new Array(t);t--;)e[t]=n[t];return e}}if(Date.now||(Date.now=function(){return+new Date}),ua)try{ua.createElement("DIV").style.setProperty("opacity",0,"")}catch(oa){var aa=this.Element.prototype,ca=aa.setAttribute,la=aa.setAttributeNS,sa=this.CSSStyleDeclaration.prototype,fa=sa.setProperty;aa.setAttribute=function(n,t){ca.call(this,n,t+"")},aa.setAttributeNS=function(n,t,e){la.call(this,n,t,e+"")},sa.setProperty=function(n,t,e){fa.call(this,n,t+"",e)}}ta.ascending=e,ta.descending=function(n,t){return n>t?-1:t>n?1:t>=n?0:0/0},ta.min=function(n,t){var e,r,u=-1,i=n.length;if(1===arguments.length){for(;++u<i;)if(null!=(r=n[u])&&r>=r){e=r;break}for(;++u<i;)null!=(r=n[u])&&e>r&&(e=r)}else{for(;++u<i;)if(null!=(r=t.call(n,n[u],u))&&r>=r){e=r;break}for(;++u<i;)null!=(r=t.call(n,n[u],u))&&e>r&&(e=r)}return e},ta.max=function(n,t){var e,r,u=-1,i=n.length;if(1===arguments.length){for(;++u<i;)if(null!=(r=n[u])&&r>=r){e=r;break}for(;++u<i;)null!=(r=n[u])&&r>e&&(e=r)}else{for(;++u<i;)if(null!=(r=t.call(n,n[u],u))&&r>=r){e=r;break}for(;++u<i;)null!=(r=t.call(n,n[u],u))&&r>e&&(e=r)}return e},ta.extent=function(n,t){var e,r,u,i=-1,o=n.length;if(1===arguments.length){for(;++i<o;)if(null!=(r=n[i])&&r>=r){e=u=r;break}for(;++i<o;)null!=(r=n[i])&&(e>r&&(e=r),r>u&&(u=r))}else{for(;++i<o;)if(null!=(r=t.call(n,n[i],i))&&r>=r){e=u=r;break}for(;++i<o;)null!=(r=t.call(n,n[i],i))&&(e>r&&(e=r),r>u&&(u=r))}return[e,u]},ta.sum=function(n,t){var e,r=0,i=n.length,o=-1;if(1===arguments.length)for(;++o<i;)u(e=+n[o])&&(r+=e);else for(;++o<i;)u(e=+t.call(n,n[o],o))&&(r+=e);return r},ta.mean=function(n,t){var e,i=0,o=n.length,a=-1,c=o;if(1===arguments.length)for(;++a<o;)u(e=r(n[a]))?i+=e:--c;else for(;++a<o;)u(e=r(t.call(n,n[a],a)))?i+=e:--c;return c?i/c:void 0},ta.quantile=function(n,t){var e=(n.length-1)*t+1,r=Math.floor(e),u=+n[r-1],i=e-r;return i?u+i*(n[r]-u):u},ta.median=function(n,t){var i,o=[],a=n.length,c=-1;if(1===arguments.length)for(;++c<a;)u(i=r(n[c]))&&o.push(i);else for(;++c<a;)u(i=r(t.call(n,n[c],c)))&&o.push(i);return o.length?ta.quantile(o.sort(e),.5):void 0},ta.variance=function(n,t){var e,i,o=n.length,a=0,c=0,l=-1,s=0;if(1===arguments.length)for(;++l<o;)u(e=r(n[l]))&&(i=e-a,a+=i/++s,c+=i*(e-a));else for(;++l<o;)u(e=r(t.call(n,n[l],l)))&&(i=e-a,a+=i/++s,c+=i*(e-a));return s>1?c/(s-1):void 0},ta.deviation=function(){var n=ta.variance.apply(this,arguments);return n?Math.sqrt(n):n};var ha=i(e);ta.bisectLeft=ha.left,ta.bisect=ta.bisectRight=ha.right,ta.bisector=function(n){return i(1===n.length?function(t,r){return e(n(t),r)}:n)},ta.shuffle=function(n,t,e){(i=arguments.length)<3&&(e=n.length,2>i&&(t=0));for(var r,u,i=e-t;i;)u=Math.random()*i--|0,r=n[i+t],n[i+t]=n[u+t],n[u+t]=r;return n},ta.permute=function(n,t){for(var e=t.length,r=new Array(e);e--;)r[e]=n[t[e]];return r},ta.pairs=function(n){for(var t,e=0,r=n.length-1,u=n[0],i=new Array(0>r?0:r);r>e;)i[e]=[t=u,u=n[++e]];return i},ta.zip=function(){if(!(r=arguments.length))return[];for(var n=-1,t=ta.min(arguments,o),e=new Array(t);++n<t;)for(var r,u=-1,i=e[n]=new Array(r);++u<r;)i[u]=arguments[u][n];return e},ta.transpose=function(n){return ta.zip.apply(ta,n)},ta.keys=function(n){var t=[];for(var e in n)t.push(e);return t},ta.values=function(n){var t=[];for(var e in n)t.push(n[e]);return t},ta.entries=function(n){var t=[];for(var e in n)t.push({key:e,value:n[e]});return t},ta.merge=function(n){for(var t,e,r,u=n.length,i=-1,o=0;++i<u;)o+=n[i].length;for(e=new Array(o);--u>=0;)for(r=n[u],t=r.length;--t>=0;)e[--o]=r[t];return e};var ga=Math.abs;ta.range=function(n,t,e){if(arguments.length<3&&(e=1,arguments.length<2&&(t=n,n=0)),(t-n)/e===1/0)throw new Error("infinite range");var r,u=[],i=a(ga(e)),o=-1;if(n*=i,t*=i,e*=i,0>e)for(;(r=n+e*++o)>t;)u.push(r/i);else for(;(r=n+e*++o)<t;)u.push(r/i);return u},ta.map=function(n,t){var e=new l;if(n instanceof l)n.forEach(function(n,t){e.set(n,t)});else if(Array.isArray(n)){var r,u=-1,i=n.length;if(1===arguments.length)for(;++u<i;)e.set(u,n[u]);else for(;++u<i;)e.set(t.call(n,r=n[u],u),r)}else for(var o in n)e.set(o,n[o]);return e};var pa="__proto__",va="\x00";c(l,{has:h,get:function(n){return this._[s(n)]},set:function(n,t){return this._[s(n)]=t},remove:g,keys:p,values:function(){var n=[];for(var t in this._)n.push(this._[t]);return n},entries:function(){var n=[];for(var t in this._)n.push({key:f(t),value:this._[t]});return n},size:v,empty:d,forEach:function(n){for(var t in this._)n.call(this,f(t),this._[t])}}),ta.nest=function(){function n(t,o,a){if(a>=i.length)return r?r.call(u,o):e?o.sort(e):o;for(var c,s,f,h,g=-1,p=o.length,v=i[a++],d=new l;++g<p;)(h=d.get(c=v(s=o[g])))?h.push(s):d.set(c,[s]);return t?(s=t(),f=function(e,r){s.set(e,n(t,r,a))}):(s={},f=function(e,r){s[e]=n(t,r,a)}),d.forEach(f),s}function t(n,e){if(e>=i.length)return n;var r=[],u=o[e++];return n.forEach(function(n,u){r.push({key:n,values:t(u,e)})}),u?r.sort(function(n,t){return u(n.key,t.key)}):r}var e,r,u={},i=[],o=[];return u.map=function(t,e){return n(e,t,0)},u.entries=function(e){return t(n(ta.map,e,0),0)},u.key=function(n){return i.push(n),u},u.sortKeys=function(n){return o[i.length-1]=n,u},u.sortValues=function(n){return e=n,u},u.rollup=function(n){return r=n,u},u},ta.set=function(n){var t=new m;if(n)for(var e=0,r=n.length;r>e;++e)t.add(n[e]);return t},c(m,{has:h,add:function(n){return this._[s(n+="")]=!0,n},remove:g,values:p,size:v,empty:d,forEach:function(n){for(var t in this._)n.call(this,f(t))}}),ta.behavior={},ta.rebind=function(n,t){for(var e,r=1,u=arguments.length;++r<u;)n[e=arguments[r]]=M(n,t,t[e]);return n};var da=["webkit","ms","moz","Moz","o","O"];ta.dispatch=function(){for(var n=new _,t=-1,e=arguments.length;++t<e;)n[arguments[t]]=w(n);return n},_.prototype.on=function(n,t){var e=n.indexOf("."),r="";if(e>=0&&(r=n.slice(e+1),n=n.slice(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},ta.event=null,ta.requote=function(n){return n.replace(ma,"\\$&")};var ma=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ya={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]},Ma=function(n,t){return t.querySelector(n)},xa=function(n,t){return t.querySelectorAll(n)},ba=function(n,t){var e=n.matches||n[x(n,"matchesSelector")];return(ba=function(n,t){return e.call(n,t)})(n,t)};"function"==typeof Sizzle&&(Ma=function(n,t){return Sizzle(n,t)[0]||null},xa=Sizzle,ba=Sizzle.matchesSelector),ta.selection=function(){return ta.select(ua.documentElement)};var _a=ta.selection.prototype=[];_a.select=function(n){var t,e,r,u,i=[];n=N(n);for(var o=-1,a=this.length;++o<a;){i.push(t=[]),t.parentNode=(r=this[o]).parentNode;for(var c=-1,l=r.length;++c<l;)(u=r[c])?(t.push(e=n.call(u,u.__data__,c,o)),e&&"__data__"in u&&(e.__data__=u.__data__)):t.push(null)}return A(i)},_a.selectAll=function(n){var t,e,r=[];n=C(n);for(var u=-1,i=this.length;++u<i;)for(var o=this[u],a=-1,c=o.length;++a<c;)(e=o[a])&&(r.push(t=ra(n.call(e,e.__data__,a,u))),t.parentNode=e);return A(r)};var wa={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};ta.ns={prefix:wa,qualify:function(n){var t=n.indexOf(":"),e=n;return t>=0&&(e=n.slice(0,t),n=n.slice(t+1)),wa.hasOwnProperty(e)?{space:wa[e],local:n}:n}},_a.attr=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node();return n=ta.ns.qualify(n),n.local?e.getAttributeNS(n.space,n.local):e.getAttribute(n)}for(t in n)this.each(z(t,n[t]));return this}return this.each(z(n,t))},_a.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=T(n)).length,u=-1;if(t=e.classList){for(;++u<r;)if(!t.contains(n[u]))return!1}else for(t=e.getAttribute("class");++u<r;)if(!L(n[u]).test(t))return!1;return!0}for(t in n)this.each(R(t,n[t]));return this}return this.each(R(n,t))},_a.style=function(n,e,r){var u=arguments.length;if(3>u){if("string"!=typeof n){2>u&&(e="");for(r in n)this.each(P(r,n[r],e));return this}if(2>u){var i=this.node();return t(i).getComputedStyle(i,null).getPropertyValue(n)}r=""}return this.each(P(n,e,r))},_a.property=function(n,t){if(arguments.length<2){if("string"==typeof n)return this.node()[n];for(t in n)this.each(U(t,n[t]));return this}return this.each(U(n,t))},_a.text=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.textContent=null==t?"":t}:null==n?function(){this.textContent=""}:function(){this.textContent=n}):this.node().textContent},_a.html=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.innerHTML=null==t?"":t}:null==n?function(){this.innerHTML=""}:function(){this.innerHTML=n}):this.node().innerHTML},_a.append=function(n){return n=j(n),this.select(function(){return this.appendChild(n.apply(this,arguments))})},_a.insert=function(n,t){return n=j(n),t=N(t),this.select(function(){return this.insertBefore(n.apply(this,arguments),t.apply(this,arguments)||null)})},_a.remove=function(){return this.each(F)},_a.data=function(n,t){function e(n,e){var r,u,i,o=n.length,f=e.length,h=Math.min(o,f),g=new Array(f),p=new Array(f),v=new Array(o);if(t){var d,m=new l,y=new Array(o);for(r=-1;++r<o;)m.has(d=t.call(u=n[r],u.__data__,r))?v[r]=u:m.set(d,u),y[r]=d;for(r=-1;++r<f;)(u=m.get(d=t.call(e,i=e[r],r)))?u!==!0&&(g[r]=u,u.__data__=i):p[r]=H(i),m.set(d,!0);for(r=-1;++r<o;)m.get(y[r])!==!0&&(v[r]=n[r])}else{for(r=-1;++r<h;)u=n[r],i=e[r],u?(u.__data__=i,g[r]=u):p[r]=H(i);for(;f>r;++r)p[r]=H(e[r]);for(;o>r;++r)v[r]=n[r]}p.update=g,p.parentNode=g.parentNode=v.parentNode=n.parentNode,a.push(p),c.push(g),s.push(v)}var r,u,i=-1,o=this.length;if(!arguments.length){for(n=new Array(o=(r=this[0]).length);++i<o;)(u=r[i])&&(n[i]=u.__data__);return n}var a=Z([]),c=A([]),s=A([]);if("function"==typeof n)for(;++i<o;)e(r=this[i],n.call(r,r.parentNode.__data__,i));else for(;++i<o;)e(r=this[i],n);return c.enter=function(){return a},c.exit=function(){return s},c},_a.datum=function(n){return arguments.length?this.property("__data__",n):this.property("__data__")},_a.filter=function(n){var t,e,r,u=[];"function"!=typeof n&&(n=O(n));for(var i=0,o=this.length;o>i;i++){u.push(t=[]),t.parentNode=(e=this[i]).parentNode;for(var a=0,c=e.length;c>a;a++)(r=e[a])&&n.call(r,r.__data__,a,i)&&t.push(r)}return A(u)},_a.order=function(){for(var n=-1,t=this.length;++n<t;)for(var e,r=this[n],u=r.length-1,i=r[u];--u>=0;)(e=r[u])&&(i&&i!==e.nextSibling&&i.parentNode.insertBefore(e,i),i=e);return this},_a.sort=function(n){n=I.apply(this,arguments);for(var t=-1,e=this.length;++t<e;)this[t].sort(n);return this.order()},_a.each=function(n){return Y(this,function(t,e,r){n.call(t,t.__data__,e,r)})},_a.call=function(n){var t=ra(arguments);return n.apply(t[0]=this,t),this},_a.empty=function(){return!this.node()},_a.node=function(){for(var n=0,t=this.length;t>n;n++)for(var e=this[n],r=0,u=e.length;u>r;r++){var i=e[r];if(i)return i}return null},_a.size=function(){var n=0;return Y(this,function(){++n}),n};var Sa=[];ta.selection.enter=Z,ta.selection.enter.prototype=Sa,Sa.append=_a.append,Sa.empty=_a.empty,Sa.node=_a.node,Sa.call=_a.call,Sa.size=_a.size,Sa.select=function(n){for(var t,e,r,u,i,o=[],a=-1,c=this.length;++a<c;){r=(u=this[a]).update,o.push(t=[]),t.parentNode=u.parentNode;for(var l=-1,s=u.length;++l<s;)(i=u[l])?(t.push(r[l]=e=n.call(u.parentNode,i.__data__,l,a)),e.__data__=i.__data__):t.push(null)}return A(o)},Sa.insert=function(n,t){return arguments.length<2&&(t=V(this)),_a.insert.call(this,n,t)},ta.select=function(t){var e;return"string"==typeof t?(e=[Ma(t,ua)],e.parentNode=ua.documentElement):(e=[t],e.parentNode=n(t)),A([e])},ta.selectAll=function(n){var t;return"string"==typeof n?(t=ra(xa(n,ua)),t.parentNode=ua.documentElement):(t=n,t.parentNode=null),A([t])},_a.on=function(n,t,e){var r=arguments.length;if(3>r){if("string"!=typeof n){2>r&&(t=!1);for(e in n)this.each(X(e,n[e],t));return this}if(2>r)return(r=this.node()["__on"+n])&&r._;e=!1}return this.each(X(n,t,e))};var ka=ta.map({mouseenter:"mouseover",mouseleave:"mouseout"});ua&&ka.forEach(function(n){"on"+n in ua&&ka.remove(n)});var Ea,Aa=0;ta.mouse=function(n){return J(n,k())};var Na=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;ta.touch=function(n,t,e){if(arguments.length<3&&(e=t,t=k().changedTouches),t)for(var r,u=0,i=t.length;i>u;++u)if((r=t[u]).identifier===e)return J(n,r)},ta.behavior.drag=function(){function n(){this.on("mousedown.drag",i).on("touchstart.drag",o)}function e(n,t,e,i,o){return function(){function a(){var n,e,r=t(h,v);r&&(n=r[0]-M[0],e=r[1]-M[1],p|=n|e,M=r,g({type:"drag",x:r[0]+l[0],y:r[1]+l[1],dx:n,dy:e}))}function c(){t(h,v)&&(m.on(i+d,null).on(o+d,null),y(p&&ta.event.target===f),g({type:"dragend"}))}var l,s=this,f=ta.event.target,h=s.parentNode,g=r.of(s,arguments),p=0,v=n(),d=".drag"+(null==v?"":"-"+v),m=ta.select(e(f)).on(i+d,a).on(o+d,c),y=W(f),M=t(h,v);u?(l=u.apply(s,arguments),l=[l.x-M[0],l.y-M[1]]):l=[0,0],g({type:"dragstart"})}}var r=E(n,"drag","dragstart","dragend"),u=null,i=e(b,ta.mouse,t,"mousemove","mouseup"),o=e(G,ta.touch,y,"touchmove","touchend");return n.origin=function(t){return arguments.length?(u=t,n):u},ta.rebind(n,r,"on")},ta.touches=function(n,t){return arguments.length<2&&(t=k().touches),t?ra(t).map(function(t){var e=J(n,t);return e.identifier=t.identifier,e}):[]};var Ca=1e-6,za=Ca*Ca,qa=Math.PI,La=2*qa,Ta=La-Ca,Ra=qa/2,Da=qa/180,Pa=180/qa,Ua=Math.SQRT2,ja=2,Fa=4;ta.interpolateZoom=function(n,t){function e(n){var t=n*y;if(m){var e=rt(v),o=i/(ja*h)*(e*ut(Ua*t+v)-et(v));return[r+o*l,u+o*s,i*e/rt(Ua*t+v)]}return[r+n*l,u+n*s,i*Math.exp(Ua*t)]}var r=n[0],u=n[1],i=n[2],o=t[0],a=t[1],c=t[2],l=o-r,s=a-u,f=l*l+s*s,h=Math.sqrt(f),g=(c*c-i*i+Fa*f)/(2*i*ja*h),p=(c*c-i*i-Fa*f)/(2*c*ja*h),v=Math.log(Math.sqrt(g*g+1)-g),d=Math.log(Math.sqrt(p*p+1)-p),m=d-v,y=(m||Math.log(c/i))/Ua;return e.duration=1e3*y,e},ta.behavior.zoom=function(){function n(n){n.on(q,f).on(Oa+".zoom",g).on("dblclick.zoom",p).on(R,h)}function e(n){return[(n[0]-k.x)/k.k,(n[1]-k.y)/k.k]}function r(n){return[n[0]*k.k+k.x,n[1]*k.k+k.y]}function u(n){k.k=Math.max(N[0],Math.min(N[1],n))}function i(n,t){t=r(t),k.x+=n[0]-t[0],k.y+=n[1]-t[1]}function o(t,e,r,o){t.__chart__={x:k.x,y:k.y,k:k.k},u(Math.pow(2,o)),i(d=e,r),t=ta.select(t),C>0&&(t=t.transition().duration(C)),t.call(n.event)}function a(){b&&b.domain(x.range().map(function(n){return(n-k.x)/k.k}).map(x.invert)),w&&w.domain(_.range().map(function(n){return(n-k.y)/k.k}).map(_.invert))}function c(n){z++||n({type:"zoomstart"})}function l(n){a(),n({type:"zoom",scale:k.k,translate:[k.x,k.y]})}function s(n){--z||(n({type:"zoomend"}),d=null)}function f(){function n(){f=1,i(ta.mouse(u),g),l(a)}function r(){h.on(L,null).on(T,null),p(f&&ta.event.target===o),s(a)}var u=this,o=ta.event.target,a=D.of(u,arguments),f=0,h=ta.select(t(u)).on(L,n).on(T,r),g=e(ta.mouse(u)),p=W(u);Dl.call(u),c(a)}function h(){function n(){var n=ta.touches(p);return g=k.k,n.forEach(function(n){n.identifier in d&&(d[n.identifier]=e(n))}),n}function t(){var t=ta.event.target;ta.select(t).on(x,r).on(b,a),_.push(t);for(var e=ta.event.changedTouches,u=0,i=e.length;i>u;++u)d[e[u].identifier]=null;var c=n(),l=Date.now();if(1===c.length){if(500>l-M){var s=c[0];o(p,s,d[s.identifier],Math.floor(Math.log(k.k)/Math.LN2)+1),S()}M=l}else if(c.length>1){var s=c[0],f=c[1],h=s[0]-f[0],g=s[1]-f[1];m=h*h+g*g}}function r(){var n,t,e,r,o=ta.touches(p);Dl.call(p);for(var a=0,c=o.length;c>a;++a,r=null)if(e=o[a],r=d[e.identifier]){if(t)break;n=e,t=r}if(r){var s=(s=e[0]-n[0])*s+(s=e[1]-n[1])*s,f=m&&Math.sqrt(s/m);n=[(n[0]+e[0])/2,(n[1]+e[1])/2],t=[(t[0]+r[0])/2,(t[1]+r[1])/2],u(f*g)}M=null,i(n,t),l(v)}function a(){if(ta.event.touches.length){for(var t=ta.event.changedTouches,e=0,r=t.length;r>e;++e)delete d[t[e].identifier];for(var u in d)return void n()}ta.selectAll(_).on(y,null),w.on(q,f).on(R,h),E(),s(v)}var g,p=this,v=D.of(p,arguments),d={},m=0,y=".zoom-"+ta.event.changedTouches[0].identifier,x="touchmove"+y,b="touchend"+y,_=[],w=ta.select(p),E=W(p);t(),c(v),w.on(q,null).on(R,t)}function g(){var n=D.of(this,arguments);y?clearTimeout(y):(Dl.call(this),v=e(d=m||ta.mouse(this)),c(n)),y=setTimeout(function(){y=null,s(n)},50),S(),u(Math.pow(2,.002*Ha())*k.k),i(d,v),l(n)}function p(){var n=ta.mouse(this),t=Math.log(k.k)/Math.LN2;o(this,n,e(n),ta.event.shiftKey?Math.ceil(t)-1:Math.floor(t)+1)}var v,d,m,y,M,x,b,_,w,k={x:0,y:0,k:1},A=[960,500],N=Ia,C=250,z=0,q="mousedown.zoom",L="mousemove.zoom",T="mouseup.zoom",R="touchstart.zoom",D=E(n,"zoomstart","zoom","zoomend");return Oa||(Oa="onwheel"in ua?(Ha=function(){return-ta.event.deltaY*(ta.event.deltaMode?120:1)},"wheel"):"onmousewheel"in ua?(Ha=function(){return ta.event.wheelDelta},"mousewheel"):(Ha=function(){return-ta.event.detail},"MozMousePixelScroll")),n.event=function(n){n.each(function(){var n=D.of(this,arguments),t=k;Tl?ta.select(this).transition().each("start.zoom",function(){k=this.__chart__||{x:0,y:0,k:1},c(n)}).tween("zoom:zoom",function(){var e=A[0],r=A[1],u=d?d[0]:e/2,i=d?d[1]:r/2,o=ta.interpolateZoom([(u-k.x)/k.k,(i-k.y)/k.k,e/k.k],[(u-t.x)/t.k,(i-t.y)/t.k,e/t.k]);return function(t){var r=o(t),a=e/r[2];this.__chart__=k={x:u-r[0]*a,y:i-r[1]*a,k:a},l(n)}}).each("interrupt.zoom",function(){s(n)}).each("end.zoom",function(){s(n)}):(this.__chart__=k,c(n),l(n),s(n))})},n.translate=function(t){return arguments.length?(k={x:+t[0],y:+t[1],k:k.k},a(),n):[k.x,k.y]},n.scale=function(t){return arguments.length?(k={x:k.x,y:k.y,k:+t},a(),n):k.k},n.scaleExtent=function(t){return arguments.length?(N=null==t?Ia:[+t[0],+t[1]],n):N},n.center=function(t){return arguments.length?(m=t&&[+t[0],+t[1]],n):m},n.size=function(t){return arguments.length?(A=t&&[+t[0],+t[1]],n):A},n.duration=function(t){return arguments.length?(C=+t,n):C},n.x=function(t){return arguments.length?(b=t,x=t.copy(),k={x:0,y:0,k:1},n):b},n.y=function(t){return arguments.length?(w=t,_=t.copy(),k={x:0,y:0,k:1},n):w},ta.rebind(n,D,"on")};var Ha,Oa,Ia=[0,1/0];ta.color=ot,ot.prototype.toString=function(){return this.rgb()+""},ta.hsl=at;var Ya=at.prototype=new ot;Ya.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),new at(this.h,this.s,this.l/n)},Ya.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new at(this.h,this.s,n*this.l)},Ya.rgb=function(){return ct(this.h,this.s,this.l)},ta.hcl=lt;var Za=lt.prototype=new ot;Za.brighter=function(n){return new lt(this.h,this.c,Math.min(100,this.l+Va*(arguments.length?n:1)))},Za.darker=function(n){return new lt(this.h,this.c,Math.max(0,this.l-Va*(arguments.length?n:1)))},Za.rgb=function(){return st(this.h,this.c,this.l).rgb()},ta.lab=ft;var Va=18,Xa=.95047,$a=1,Ba=1.08883,Wa=ft.prototype=new ot;Wa.brighter=function(n){return new ft(Math.min(100,this.l+Va*(arguments.length?n:1)),this.a,this.b)},Wa.darker=function(n){return new ft(Math.max(0,this.l-Va*(arguments.length?n:1)),this.a,this.b)},Wa.rgb=function(){return ht(this.l,this.a,this.b)},ta.rgb=mt;var Ja=mt.prototype=new ot;Ja.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,u=30;return t||e||r?(t&&u>t&&(t=u),e&&u>e&&(e=u),r&&u>r&&(r=u),new mt(Math.min(255,t/n),Math.min(255,e/n),Math.min(255,r/n))):new mt(u,u,u)},Ja.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new mt(n*this.r,n*this.g,n*this.b)},Ja.hsl=function(){return _t(this.r,this.g,this.b)},Ja.toString=function(){return"#"+xt(this.r)+xt(this.g)+xt(this.b)};var Ga=ta.map({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});Ga.forEach(function(n,t){Ga.set(n,yt(t))}),ta.functor=Et,ta.xhr=At(y),ta.dsv=function(n,t){function e(n,e,i){arguments.length<3&&(i=e,e=null);var o=Nt(n,t,null==e?r:u(e),i);return o.row=function(n){return arguments.length?o.response(null==(e=n)?r:u(n)):e},o}function r(n){return e.parse(n.responseText)}function u(n){return function(t){return e.parse(t.responseText,n)}}function i(t){return t.map(o).join(n)}function o(n){return a.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}var a=new RegExp('["'+n+"\n]"),c=n.charCodeAt(0);return e.parse=function(n,t){var r;return e.parseRows(n,function(n,e){if(r)return r(n,e-1);var u=new Function("d","return {"+n.map(function(n,t){return JSON.stringify(n)+": d["+t+"]"}).join(",")+"}");r=t?function(n,e){return t(u(n),e)}:u})},e.parseRows=function(n,t){function e(){if(s>=l)return o;if(u)return u=!1,i;var t=s;if(34===n.charCodeAt(t)){for(var e=t;e++<l;)if(34===n.charCodeAt(e)){if(34!==n.charCodeAt(e+1))break;++e}s=e+2;var r=n.charCodeAt(e+1);return 13===r?(u=!0,10===n.charCodeAt(e+2)&&++s):10===r&&(u=!0),n.slice(t+1,e).replace(/""/g,'"')}for(;l>s;){var r=n.charCodeAt(s++),a=1;if(10===r)u=!0;else if(13===r)u=!0,10===n.charCodeAt(s)&&(++s,++a);else if(r!==c)continue;return n.slice(t,s-a)}return n.slice(t)}for(var r,u,i={},o={},a=[],l=n.length,s=0,f=0;(r=e())!==o;){for(var h=[];r!==i&&r!==o;)h.push(r),r=e();t&&null==(h=t(h,f++))||a.push(h)}return a},e.format=function(t){if(Array.isArray(t[0]))return e.formatRows(t);var r=new m,u=[];return t.forEach(function(n){for(var t in n)r.has(t)||u.push(r.add(t))}),[u.map(o).join(n)].concat(t.map(function(t){return u.map(function(n){return o(t[n])}).join(n)})).join("\n")},e.formatRows=function(n){return n.map(i).join("\n")},e},ta.csv=ta.dsv(",","text/csv"),ta.tsv=ta.dsv("	","text/tab-separated-values");var Ka,Qa,nc,tc,ec,rc=this[x(this,"requestAnimationFrame")]||function(n){setTimeout(n,17)};ta.timer=function(n,t,e){var r=arguments.length;2>r&&(t=0),3>r&&(e=Date.now());var u=e+t,i={c:n,t:u,f:!1,n:null};Qa?Qa.n=i:Ka=i,Qa=i,nc||(tc=clearTimeout(tc),nc=1,rc(qt))},ta.timer.flush=function(){Lt(),Tt()},ta.round=function(n,t){return t?Math.round(n*(t=Math.pow(10,t)))/t:Math.round(n)};var uc=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"].map(Dt);ta.formatPrefix=function(n,t){var e=0;return n&&(0>n&&(n*=-1),t&&(n=ta.round(n,Rt(n,t))),e=1+Math.floor(1e-12+Math.log(n)/Math.LN10),e=Math.max(-24,Math.min(24,3*Math.floor((e-1)/3)))),uc[8+e/3]};var ic=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,oc=ta.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(n,t){return(n=ta.round(n,Rt(n,t))).toFixed(Math.max(0,Math.min(20,Rt(n*(1+1e-15),t))))}}),ac=ta.time={},cc=Date;jt.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){lc.setUTCDate.apply(this._,arguments)},setDay:function(){lc.setUTCDay.apply(this._,arguments)},setFullYear:function(){lc.setUTCFullYear.apply(this._,arguments)},setHours:function(){lc.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){lc.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){lc.setUTCMinutes.apply(this._,arguments)},setMonth:function(){lc.setUTCMonth.apply(this._,arguments)},setSeconds:function(){lc.setUTCSeconds.apply(this._,arguments)},setTime:function(){lc.setTime.apply(this._,arguments)}};var lc=Date.prototype;ac.year=Ft(function(n){return n=ac.day(n),n.setMonth(0,1),n},function(n,t){n.setFullYear(n.getFullYear()+t)},function(n){return n.getFullYear()}),ac.years=ac.year.range,ac.years.utc=ac.year.utc.range,ac.day=Ft(function(n){var t=new cc(2e3,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t},function(n,t){n.setDate(n.getDate()+t)},function(n){return n.getDate()-1}),ac.days=ac.day.range,ac.days.utc=ac.day.utc.range,ac.dayOfYear=function(n){var t=ac.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(n,t){t=7-t;var e=ac[n]=Ft(function(n){return(n=ac.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n},function(n,t){n.setDate(n.getDate()+7*Math.floor(t))},function(n){var e=ac.year(n).getDay();return Math.floor((ac.dayOfYear(n)+(e+t)%7)/7)-(e!==t)});ac[n+"s"]=e.range,ac[n+"s"].utc=e.utc.range,ac[n+"OfYear"]=function(n){var e=ac.year(n).getDay();return Math.floor((ac.dayOfYear(n)+(e+t)%7)/7)}}),ac.week=ac.sunday,ac.weeks=ac.sunday.range,ac.weeks.utc=ac.sunday.utc.range,ac.weekOfYear=ac.sundayOfYear;var sc={"-":"",_:" ",0:"0"},fc=/^\s*\d+/,hc=/^%/;ta.locale=function(n){return{numberFormat:Pt(n),timeFormat:Ot(n)}};var gc=ta.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});ta.format=gc.numberFormat,ta.geo={},ce.prototype={s:0,t:0,add:function(n){le(n,this.t,pc),le(pc.s,this.s,this),this.s?this.t+=pc.t:this.s=pc.t
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/ckeditor.js-264-1,CKEDITOR.ELEMENT_MODE_APPENDTO=2,CKEDITOR.ELEMENT_MODE_INLINE=3,CKEDITOR.htmlParser=function(){this._={htmlPartsRegex:/<(?:(?:\/([^>]+)>)|(?:!--([\S|\s]*?)--\x3e)|(?:([^\/\s>]+)((?:\s+[\w\-:.]+(?:\s*=\s*?(?:(?:"[^"]*")|(?:'[^']*')|[^\s"'\/>]+))?)*)[\S\s]*?(\/?)>))/g}},function(){var a=/([\w\-:.]+)(?:(?:\s*=\s*(?:(?:"([^"]*)")|(?:'([^']*)')|([^\s>]+)))|(?=\s|$))/g,e={checked:1,compact:1,declare:1,defer:1,disabled:1,ismap:1,multiple:1,nohref:1,noresize:1,noshade:1,nowrap:1,readonly:1,selected:1};
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/ckeditor.js:265:CKEDITOR.htmlParser.prototype={onTagOpen:function(){},onTagClose:function(){},onText:function(){},onCDATA:function(){},onComment:function(){},parse:function(c){for(var f,h,m=0,l;f=this._.htmlPartsRegex.exec(c);){h=f.index;if(h>m)if(m=c.substring(m,h),l)l.push(m);else this.onText(m);m=this._.htmlPartsRegex.lastIndex;if(h=f[1])if(h=h.toLowerCase(),l&&CKEDITOR.dtd.$cdata[h]&&(this.onCDATA(l.join("")),l=null),!l){this.onTagClose(h);continue}if(l)l.push(f[0]);else if(h=f[3]){if(h=h.toLowerCase(),!/="/.test(h)){var k=
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/ckeditor.js:266:{},d,b=f[4];f=!!f[5];if(b)for(;d=a.exec(b);){var g=d[1].toLowerCase();d=d[2]||d[3]||d[4]||"";k[g]=!d&&e[g]?g:CKEDITOR.tools.htmlDecodeAttr(d)}this.onTagOpen(h,k,f);!l&&CKEDITOR.dtd.$cdata[h]&&(l=[])}}else if(h=f[2])this.onComment(h)}if(c.length>m)this.onText(c.substring(m,c.length))}}}(),CKEDITOR.htmlParser.basicWriter=CKEDITOR.tools.createClass({$:function(){this._={output:[]}},proto:{openTag:function(a){this._.output.push("\x3c",a)},openTagClose:function(a,e){e?this._.output.push(" /\x3e"):this._.output.push("\x3e")},
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/ckeditor.js-267-attribute:function(a,e){"string"==typeof e&&(e=CKEDITOR.tools.htmlEncodeAttr(e));this._.output.push(" ",a,'\x3d"',e,'"')},closeTag:function(a){this._.output.push("\x3c/",a,"\x3e")},text:function(a){this._.output.push(a)},comment:function(a){this._.output.push("\x3c!--",a,"--\x3e")},write:function(a){this._.output.push(a)},reset:function(){this._.output=[];this._.indent=!1},getHtml:function(a){var e=this._.output.join("");a&&this.reset();return e}}}),"use strict",function(){CKEDITOR.htmlParser.node=
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/ckeditor.js-284-this.attributeNameRules.addMany(a.attributeNames,h,f);a.elements&&e(this.elementsRules,a.elements,h,f);a.attributes&&e(this.attributesRules,a.attributes,h,f);a.text&&this.textRules.add(a.text,h,f);a.comment&&this.commentRules.add(a.comment,h,f);a.root&&this.rootRules.add(a.root,h,f)},applyTo:function(a){a.filter(this)},onElementName:function(a,f){return this.elementNameRules.execOnName(a,f)},onAttributeName:function(a,f){return this.attributeNameRules.execOnName(a,f)},onText:function(a,f,h){return this.textRules.exec(a,
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/ckeditor.js:285:f,h)},onComment:function(a,f,h){return this.commentRules.exec(a,f,h)},onRoot:function(a,f){return this.rootRules.exec(a,f)},onElement:function(a,f){for(var h=[this.elementsRules["^"],this.elementsRules[f.name],this.elementsRules.$],e,l=0;3>l;l++)if(e=h[l]){e=e.exec(a,f,this);if(!1===e)return null;if(e&&e!=f)return this.onNode(a,e);if(f.parent&&!f.name)break}return f},onNode:function(a,f){var h=f.type;return h==CKEDITOR.NODE_ELEMENT?this.onElement(a,f):h==CKEDITOR.NODE_TEXT?new CKEDITOR.htmlParser.text(this.onText(a,
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/ckeditor.js-286-f.value)):h==CKEDITOR.NODE_COMMENT?new CKEDITOR.htmlParser.comment(this.onComment(a,f.value)):null},onAttribute:function(a,f,h,e){return(h=this.attributesRules[h])?h.exec(a,e,f,this):e}}});CKEDITOR.htmlParser.filterRulesGroup=a;a.prototype={add:function(a,f,h){this.rules.splice(this.findIndex(f),0,{value:a,priority:f,options:h})},addMany:function(a,f,h){for(var e=[this.findIndex(f),0],l=0,k=a.length;l<k;l++)e.push({value:a[l],priority:f,options:h});this.rules.splice.apply(this.rules,e)},findIndex:function(a){for(var f=
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/ckeditor.js-754-b){return a[b?"getPrevious":"getNext"](function(a){return a.type!==CKEDITOR.NODE_COMMENT})}function d(a){return a.type==CKEDITOR.NODE_ELEMENT?(a=a.getHtml().replace(/<span.*?>&nbsp;<\/span>/g,""),a.replace(/<.*?>/g,"")):a.getText()}function b(a,e){var f=a,g=/\s/g,l="p br ol ul li td th div caption body".split(" "),m=!1,n=!1,u,q;do{for(u=c(f,e);!u&&f.getParent();){f=f.getParent();if(-1!==h(l,f.getName())){n=m=!0;break}u=c(f,e)}if(u&&u.getName&&-1!==h(l,u.getName())){m=!0;break}f=u}while(f&&f.getStyle&&
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/ckeditor.js:755:("none"==f.getStyle("display")||!f.getText()));for(f||(f=a);f.type!==CKEDITOR.NODE_TEXT;)f=!m||e||n?f.getChild(0):f.getChild(f.getChildCount()-1);for(l=d(f);null!=(n=g.exec(l))&&(q=n.index,e););if("number"!==typeof q&&!m)return b(f,e);if(m)e?q=0:(g=/([\.\b]*$)/,q=(n=g.exec(l))?n.index:l.length);else if(e&&(q+=1,q>l.length))return b(f);return{node:f,offset:q}}var e=/\b\w+\b/ig,f,m,p,w,u;p=w=u=a.startContainer;for(f=d(p);null!=(m=e.exec(f));)if(m.index+m[0].length>=a.startOffset)return a=m.index,e=
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/ckeditor.js-756-m.index+m[0].length,0===m.index&&(m=b(p,!0),w=m.node,a=m.offset),e>=f.length&&(f=b(p),u=f.node,e=f.offset),{startNode:w,startOffset:a,endNode:u,endOffset:e};return null},_filterStyles:function(a){var c=CKEDITOR.tools.isEmpty,d=[],b,e;for(e=0;e<a.length;e++)b=a[e]._.definition,-1!==CKEDITOR.tools.indexOf(CKEDITOR.plugins.copyformatting.inlineBoundary,b.element)&&(b.element=a[e].element="span"),"span"===b.element&&c(b.attributes)&&c(b.styles)||d.push(a[e]);return d},_determineContext:function(a){function c(d){var b=
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/codemirror/js/codemirror.mode.javascript.min.js:1:(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror"],a)}else{a(CodeMirror)}}})(function(a){function b(e,d,c){return/^(?:operator|sof|keyword c|case|new|export|default|[\[{}\(,;:]|=>)$/.test(d.lastType)||(d.lastType=="quasi"&&/\{\s*$/.test(e.string.slice(0,e.pos-(c||0))))}a.defineMode("javascript",function(ag,ar){var n=ag.indentUnit;var D=ar.statementIndent;var aI=ar.jsonld;var C=ar.json||aI;var g=ar.typescript;var aD=ar.wordCharacters||/[\w$\xa1-\uffff]/;var aB=function(){function aZ(a1){return{type:a1,style:"keyword"}}var aU=aZ("keyword a"),aS=aZ("keyword b"),aR=aZ("keyword c");var aT=aZ("operator"),aX={type:"atom",style:"atom"};var aV={"if":aZ("if"),"while":aU,"with":aU,"else":aS,"do":aS,"try":aS,"finally":aS,"return":aR,"break":aR,"continue":aR,"new":aZ("new"),"delete":aR,"throw":aR,"debugger":aR,"var":aZ("var"),"const":aZ("var"),let:aZ("var"),"function":aZ("function"),"catch":aZ("catch"),"for":aZ("for"),"switch":aZ("switch"),"case":aZ("case"),"default":aZ("default"),"in":aT,"typeof":aT,"instanceof":aT,"true":aX,"false":aX,"null":aX,"undefined":aX,"NaN":aX,"Infinity":aX,"this":aZ("this"),"class":aZ("class"),"super":aZ("atom"),yield:aR,"export":aZ("export"),"import":aZ("import"),"extends":aR,await:aR};if(g){var a0={type:"variable",style:"type"};var aW={"interface":aZ("class"),"implements":aR,namespace:aR,module:aZ("module"),"enum":aZ("module"),"public":aZ("modifier"),"private":aZ("modifier"),"protected":aZ("modifier"),"abstract":aZ("modifier"),string:a0,number:a0,"boolean":a0,any:a0};for(var aY in aW){aV[aY]=aW[aY]}}return aV}();var U=/[+\-*&%=<>!?|~^@]/;var aA=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function I(aU){var aS=false,aR,aT=false;while((aR=aU.next())!=null){if(!aS){if(aR=="/"&&!aT){return}if(aR=="["){aT=true}else{if(aT&&aR=="]"){aT=false}}}aS=!aS&&aR=="\\"}}var Y,J;function Q(aT,aS,aR){Y=aT;J=aR;return aS}function aa(aV,aT){var aR=aV.next();if(aR=='"'||aR=="'"){aT.tokenize=X(aR);return aT.tokenize(aV,aT)}else{if(aR=="."&&aV.match(/^\d+(?:[eE][+\-]?\d+)?/)){return Q("number","number")}else{if(aR=="."&&aV.match("..")){return Q("spread","meta")}else{if(/[\[\]{}\(\),;\:\.]/.test(aR)){return Q(aR)}else{if(aR=="="&&aV.eat(">")){return Q("=>","operator")}else{if(aR=="0"&&aV.eat(/x/i)){aV.eatWhile(/[\da-f]/i);return Q("number","number")}else{if(aR=="0"&&aV.eat(/o/i)){aV.eatWhile(/[0-7]/i);return Q("number","number")}else{if(aR=="0"&&aV.eat(/b/i)){aV.eatWhile(/[01]/i);return Q("number","number")}else{if(/\d/.test(aR)){aV.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/);return Q("number","number")}else{if(aR=="/"){if(aV.eat("*")){aT.tokenize=aH;return aH(aV,aT)}else{if(aV.eat("/")){aV.skipToEnd();return Q("comment","comment")}else{if(b(aV,aT,1)){I(aV);aV.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/);return Q("regexp","string-2")}else{aV.eatWhile(U);return Q("operator","operator",aV.current())}}}}else{if(aR=="`"){aT.tokenize=aJ;return aJ(aV,aT)}else{if(aR=="#"){aV.skipToEnd();return Q("error","error")}else{if(U.test(aR)){if(aR!=">"||!aT.lexical||aT.lexical.type!=">"){aV.eatWhile(U)}return Q("operator","operator",aV.current())}else{if(aD.test(aR)){aV.eatWhile(aD);var aU=aV.current();if(aT.lastType!="."){if(aB.propertyIsEnumerable(aU)){var aS=aB[aU];return Q(aS.type,aS.style,aU)}if(aU=="async"&&aV.match(/^\s*[\(\w]/,false)){return Q("async","keyword",aU)}}return Q("variable","variable",aU)}}}}}}}}}}}}}}}function X(aR){return function(aV,aT){var aU=false,aS;if(aI&&aV.peek()=="@"&&aV.match(aA)){aT.tokenize=aa;return Q("jsonld-keyword","meta")}while((aS=aV.next())!=null){if(aS==aR&&!aU){break}aU=!aU&&aS=="\\"}if(!aU){aT.tokenize=aa}return Q("string","string")}}function aH(aU,aT){var aR=false,aS;while(aS=aU.next()){if(aS=="/"&&aR){aT.tokenize=aa;break}aR=(aS=="*")}return Q("comment","comment")}function aJ(aU,aS){var aT=false,aR;while((aR=aU.next())!=null){if(!aT&&(aR=="`"||aR=="$"&&aU.eat("{"))){aS.tokenize=aa;break}aT=!aT&&aR=="\\"}return Q("quasi","string-2",aU.current())}var o="([{}])";function aF(aZ,aT){if(aT.fatArrowAt){aT.fatArrowAt=null}var aY=aZ.string.indexOf("=>",aZ.start);if(aY<0){return}if(g){var aV=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(aZ.string.slice(aZ.start,aY));if(aV){aY=aV.index}}var aW=0,aU=false;for(var aX=aY-1;aX>=0;--aX){var aR=aZ.string.charAt(aX);var aS=o.indexOf(aR);if(aS>=0&&aS<3){if(!aW){++aX;break}if(--aW==0){if(aR=="("){aU=true}break}}else{if(aS>=3&&aS<6){++aW}else{if(aD.test(aR)){aU=true}else{if(/["'\/]/.test(aR)){return}else{if(aU&&!aW){++aX;break}}}}}}if(aU&&!aW){aT.fatArrowAt=aX}}var c={atom:true,number:true,variable:true,string:true,regexp:true,"this":true,"jsonld-keyword":true};function O(aW,aS,aR,aV,aT,aU){this.indented=aW;this.column=aS;this.type=aR;this.prev=aT;this.info=aU;if(aV!=null){this.align=aV}}function v(aU,aT){for(var aS=aU.localVars;aS;aS=aS.next){if(aS.name==aT){return true}}for(var aR=aU.context;aR;aR=aR.prev){for(var aS=aR.vars;aS;aS=aS.next){if(aS.name==aT){return true}}}}function f(aV,aS,aR,aU,aW){var aX=aV.cc;H.state=aV;H.stream=aW;H.marked=null,H.cc=aX;H.style=aS;if(!aV.lexical.hasOwnProperty("align")){aV.lexical.align=true}while(true){var aT=aX.length?aX.pop():C?aw:aO;if(aT(aR,aU)){while(aX.length&&aX[aX.length-1].lex){aX.pop()()}if(H.marked){return H.marked}if(aR=="variable"&&v(aV,aU)){return"variable-2"}return aS}}}var H={state:null,column:null,marked:null,cc:null};function ah(){for(var aR=arguments.length-1;aR>=0;aR--){H.cc.push(arguments[aR])}}function am(){ah.apply(null,arguments);return true}function aE(aS){function aR(aV){for(var aU=aV;aU;aU=aU.next){if(aU.name==aS){return true}}return false}var aT=H.state;H.marked="def";if(aT.context){if(aR(aT.localVars)){return}aT.localVars={name:aS,next:aT.localVars}}else{if(aR(aT.globalVars)){return}if(ar.globalVars){aT.globalVars={name:aS,next:aT.globalVars}}}}var t={name:"this",next:{name:"arguments"}};function z(){H.state.context={prev:H.state.context,vars:H.state.localVars};H.state.localVars=t}function A(){H.state.localVars=H.state.context.vars;H.state.context=H.state.context.prev}function aM(aS,aT){var aR=function(){var aW=H.state,aU=aW.indented;if(aW.lexical.type=="stat"){aU=aW.lexical.indented}else{for(var aV=aW.lexical;aV&&aV.type==")"&&aV.align;aV=aV.prev){aU=aV.indented}}aW.lexical=new O(aU,H.stream.column(),aS,null,aW.lexical,aT)};aR.lex=true;return aR}function h(){var aR=H.state;if(aR.lexical.prev){if(aR.lexical.type==")"){aR.indented=aR.lexical.indented}aR.lexical=aR.lexical.prev}}h.lex=true;function u(aR){function aS(aT){if(aT==aR){return am()}else{if(aR==";"){return ah()}else{return am(aS)}}}return aS}function aO(aR,aS){if(aR=="var"){return am(aM("vardef",aS.length),d,u(";"),h)}if(aR=="keyword a"){return am(aM("form"),ax,aO,h)}if(aR=="keyword b"){return am(aM("form"),aO,h)}if(aR=="{"){return am(aM("}"),B,h)}if(aR==";"){return am()}if(aR=="if"){if(H.state.lexical.info=="else"&&H.state.cc[H.state.cc.length-1]==h){H.state.cc.pop()()}return am(aM("form"),ax,aO,h,e)}if(aR=="function"){return am(R)}if(aR=="for"){return am(aM("form"),x,aO,h)}if(aR=="variable"){if(g&&aS=="type"){H.marked="keyword";return am(j,u("operator"),j,u(";"))}else{return am(aM("stat"),aP)}}if(aR=="switch"){return am(aM("form"),ax,u("{"),aM("}","switch"),B,h,h)}if(aR=="case"){return am(aw,u(":"))}if(aR=="default"){return am(u(":"))}if(aR=="catch"){return am(aM("form"),z,u("("),al,u(")"),aO,h,A)}if(aR=="class"){return am(aM("form"),ac,h)}if(aR=="export"){return am(aM("stat"),aN,h)}if(aR=="import"){return am(aM("stat"),an,h)}if(aR=="module"){return am(aM("form"),i,u("{"),aM("}"),B,h,h)}if(aR=="async"){return am(aO)}if(aS=="@"){return am(aw,aO)}return ah(aM("stat"),aw,u(";"),h)}function aw(aR){return af(aR,false)}function aL(aR){return af(aR,true)}function ax(aR){if(aR!="("){return ah()}return am(aM(")"),aw,u(")"),h)}function af(aS,aU){if(H.state.fatArrowAt==H.stream.start){var aR=aU?S:ad;if(aS=="("){return am(z,aM(")"),aC(i,")"),h,u("=>"),aR,A)}else{if(aS=="variable"){return ah(z,i,u("=>"),aR,A)}}}var aT=aU?k:ai;if(c.hasOwnProperty(aS)){return am(aT)}if(aS=="function"){return am(R,aT)}if(aS=="class"){return am(aM("form"),M,h)}if(aS=="keyword c"||aS=="async"){return am(aU?at:aq)}if(aS=="("){return am(aM(")"),aq,u(")"),h,aT)}if(aS=="operator"||aS=="spread"){return am(aU?aL:aw)}if(aS=="["){return am(aM("]"),p,h,aT)}if(aS=="{"){return aG(w,"}",null,aT)}if(aS=="quasi"){return ah(V,aT)}if(aS=="new"){return am(L(aU))}return am()}function aq(aR){if(aR.match(/[;\}\)\],]/)){return ah()}return ah(aw)}function at(aR){if(aR.match(/[;\}\)\],]/)){return ah()}return ah(aL)}function ai(aR,aS){if(aR==","){return am(aw)}return k(aR,aS,false)}function k(aR,aT,aV){var aS=aV==false?ai:k;var aU=aV==false?aw:aL;if(aR=="=>"){return am(z,aV?S:ad,A)}if(aR=="operator"){if(/\+\+|--/.test(aT)){return am(aS)}if(aT=="?"){return am(aw,u(":"),aU)}return am(aU)}if(aR=="quasi"){return ah(V,aS)}if(aR==";"){return}if(aR=="("){return aG(aL,")","call",aS)}if(aR=="."){return am(au,aS)}if(aR=="["){return am(aM("]"),aq,u("]"),h,aS)}if(g&&aT=="as"){H.marked="keyword";return am(j,aS)}}function V(aR,aS){if(aR!="quasi"){return ah()}if(aS.slice(aS.length-2)!="${"){return am(V)}return am(aw,s)}function s(aR){if(aR=="}"){H.marked="string-2";H.state.tokenize=aJ;return am(V)}}function ad(aR){aF(H.stream,H.state);return ah(aR=="{"?aO:aw)}function S(aR){aF(H.stream,H.state);return ah(aR=="{"?aO:aL)}function L(aR){return function(aS){if(aS=="."){return am(aR?q:ab)}else{return ah(aR?aL:aw)}}}function ab(aR,aS){if(aS=="target"){H.marked="keyword";return am(ai)}}function q(aR,aS){if(aS=="target"){H.marked="keyword";return am(k)}}function aP(aR){if(aR==":"){return am(h,aO)}return ah(ai,u(";"),h)}function au(aR){if(aR=="variable"){H.marked="property";return am()}}function w(aR,aS){if(aR=="async"){H.marked="property";return am(w)}else{if(aR=="variable"||H.style=="keyword"){H.marked="property";if(aS=="get"||aS=="set"){return am(N)}return am(P)}else{if(aR=="number"||aR=="string"){H.marked=aI?"property":(H.style+" property");return am(P)}else{if(aR=="jsonld-keyword"){return am(P)}else{if(aR=="modifier"){return am(w)}else{if(aR=="["){return am(aw,u("]"),P)}else{if(aR=="spread"){return am(aw,P)}else{if(aR==":"){return ah(P)}}}}}}}}}function N(aR){if(aR!="variable"){return ah(P)}H.marked="property";return am(R)}function P(aR){if(aR==":"){return am(aL)}if(aR=="("){return ah(R)}}function aC(aU,aR,aS){function aT(aW,aX){if(aS?aS.indexOf(aW)>-1:aW==","){var aV=H.state.lexical;if(aV.info=="call"){aV.pos=(aV.pos||0)+1}return am(function(aY,aZ){if(aY==aR||aZ==aR){return ah()}return ah(aU)},aT)}if(aW==aR||aX==aR){return am()}return am(u(aR))}return function(aV,aW){if(aV==aR||aW==aR){return am()}return ah(aU,aT)}}function aG(aU,aR,aT){for(var aS=3;aS<arguments.length;aS++){H.cc.push(arguments[aS])}return am(aM(aR,aT),aC(aU,aR),h)}function B(aR){if(aR=="}"){return am()}return ah(aO,B)}function Z(aR,aS){if(g){if(aR==":"){return am(j)}if(aS=="?"){return am(Z)}}}function j(aR){if(aR=="variable"){H.marked="type";return am(K)}if(aR=="string"||aR=="number"||aR=="atom"){return am(K)}if(aR=="{"){return am(aM("}"),aC(av,"}",",;"),h,K)}if(aR=="("){return am(aC(aj,")"),W)}}function W(aR){if(aR=="=>"){return am(j)}}function av(aR,aS){if(aR=="variable"||H.style=="keyword"){H.marked="property";return am(av)}else{if(aS=="?"){return am(av)}else{if(aR==":"){return am(j)}else{if(aR=="["){return am(aw,Z,u("]"),av)}}}}}function aj(aR){if(aR=="variable"){return am(aj)}else{if(aR==":"){return am(j)}}}function K(aR,aS){if(aS=="<"){return am(aM(">"),aC(j,">"),h,K)}if(aS=="|"||aR=="."){return am(j)}if(aR=="["){return am(u("]"),K)}if(aS=="extends"){return am(j)}}function d(){return ah(i,Z,ak,ae)}function i(aR,aS){if(aR=="modifier"){return am(i)}if(aR=="variable"){aE(aS);return am()}if(aR=="spread"){return am(i)}if(aR=="["){return aG(i,"]")}if(aR=="{"){return aG(aK,"}")}}function aK(aR,aS){if(aR=="variable"&&!H.stream.match(/^\s*:/,false)){aE(aS);return am(ak)}if(aR=="variable"){H.marked="property"}if(aR=="spread"){return am(i)}if(aR=="}"){return ah()}return am(u(":"),i,ak)}function ak(aR,aS){if(aS=="="){return am(aL)}}function ae(aR){if(aR==","){return am(d)}}function e(aR,aS){if(aR=="keyword b"&&aS=="else"){return am(aM("form","else"),aO,h)}}function x(aR){if(aR=="("){return am(aM(")"),G,u(")"),h)}}function G(aR){if(aR=="var"){return am(d,u(";"),F)}if(aR==";"){return am(F)}if(aR=="variable"){return am(y)}return ah(aw,u(";"),F)}function y(aR,aS){if(aS=="in"||aS=="of"){H.marked="keyword";return am(aw)}return am(ai,F)}function F(aR,aS){if(aR==";"){return am(E)}if(aS=="in"||aS=="of"){H.marked="keyword";return am(aw)}return ah(aw,u(";"),E)}function E(aR){if(aR!=")"){am(aw)}}function R(aR,aS){if(aS=="*"){H.marked="keyword";return am(R)}if(aR=="variable"){aE(aS);return am(R)}if(aR=="("){return am(z,aM(")"),aC(al,")"),h,Z,aO,A)}if(g&&aS=="<"){return am(aM(">"),aC(j,">"),h,R)}}function al(aR){if(aR=="spread"){return am(al)}return ah(i,Z,ak)}function M(aR,aS){if(aR=="variable"){return ac(aR,aS)}return T(aR,aS)}function ac(aR,aS){if(aR=="variable"){aE(aS);return am(T)}}function T(aR,aS){if(aS=="<"){return am(aM(">"),aC(j,">"),h,T)}if(aS=="extends"||aS=="implements"||(g&&aR==",")){return am(g?j:aw,T)}if(aR=="{"){return am(aM("}"),r,h)}}function r(aR,aS){if(aR=="variable"||H.style=="keyword"){if((aS=="async"||aS=="static"||aS=="get"||aS=="set"||(g&&(aS=="public"||aS=="private"||aS=="protected"||aS=="readonly"||aS=="abstract")))&&H.stream.match(/^\s+[\w$\xa1-\uffff]/,false)){H.marked="keyword";return am(r)}H.marked="property";return am(g?aQ:R,r)}if(aR=="["){return am(aw,u("]"),g?aQ:R,r)}if(aS=="*"){H.marked="keyword";return am(r)}if(aR==";"){return am(r)}if(aR=="}"){return am()}if(aS=="@"){return am(aw,r)}}function aQ(aR,aS){if(aS=="?"){return am(aQ)}if(aR==":"){return am(j,ak)}if(aS=="="){return am(aL)}return ah(R)}function aN(aR,aS){if(aS=="*"){H.marked="keyword";return am(ap,u(";"))}if(aS=="default"){H.marked="keyword";return am(aw,u(";"))}if(aR=="{"){return am(aC(ao,"}"),ap,u(";"))}return ah(aO)}function ao(aR,aS){if(aS=="as"){H.marked="keyword";return am(u("variable"))}if(aR=="variable"){return ah(aL,ao)}}function an(aR){if(aR=="string"){return am()}return ah(az,m,ap)}function az(aR,aS){if(aR=="{"){return aG(az,"}")}if(aR=="variable"){aE(aS)}if(aS=="*"){H.marked="keyword"}return am(l)}function m(aR){if(aR==","){return am(az,m)}}function l(aR,aS){if(aS=="as"){H.marked="keyword";return am(az)}}function ap(aR,aS){if(aS=="from"){H.marked="keyword";return am(aw)}}function p(aR){if(aR=="]"){return am()}return ah(aC(aL,"]"))}function ay(aS,aR){return aS.lastType=="operator"||aS.lastType==","||U.test(aR.charAt(0))||/[,.]/.test(aR.charAt(0))}return{startState:function(aS){var aR={tokenize:aa,lastType:"sof",cc:[],lexical:new O((aS||0)-n,0,"block",false),localVars:ar.localVars,context:ar.localVars&&{vars:ar.localVars},indented:aS||0};if(ar.globalVars&&typeof ar.globalVars=="object"){aR.globalVars=ar.globalVars}return aR},token:function(aT,aS){if(aT.sol()){if(!aS.lexical.hasOwnProperty("align")){aS.lexical.align=false}aS.indented=aT.indentation();aF(aT,aS)}if(aS.tokenize!=aH&&aT.eatSpace()){return null}var aR=aS.tokenize(aT,aS);if(Y=="comment"){return aR}aS.lastType=Y=="operator"&&(J=="++"||J=="--")?"incdec":Y;return f(aS,aR,Y,J,aT)},indent:function(aR,aU){if(aR.tokenize==aH){return a.Pass}if(aR.tokenize!=aa){return 0}var aY=aU&&aU.charAt(0),aZ=aR.lexical,aX;if(!/^\s*else\b/.test(aU)){for(var aT=aR.cc.length-1;aT>=0;--aT){var aV=aR.cc[aT];if(aV==h){aZ=aZ.prev}else{if(aV!=e){break}}}}while((aZ.type=="stat"||aZ.type=="form")&&(aY=="}"||((aX=aR.cc[aR.cc.length-1])&&(aX==ai||aX==k)&&!/^[,\.=+\-*:?[\(]/.test(aU)))){aZ=aZ.prev}if(D&&aZ.type==")"&&aZ.prev.type=="stat"){aZ=aZ.prev}var aW=aZ.type,aS=aY==aW;if(aW=="vardef"){return aZ.indented+(aR.lastType=="operator"||aR.lastType==","?aZ.info+1:0)}else{if(aW=="form"&&aY=="{"){return aZ.indented}else{if(aW=="form"){return aZ.indented+n}else{if(aW=="stat"){return aZ.indented+(ay(aR,aU)?D||n:0)}else{if(aZ.info=="switch"&&!aS&&ar.doubleIndentSwitch!=false){return aZ.indented+(/^(?:case|default)\b/.test(aU)?n:2*n)}else{if(aZ.align){return aZ.column+(aS?0:1)}else{return aZ.indented+(aS?0:n)}}}}}}},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:C?null:"/*",blockCommentEnd:C?null:"*/",lineComment:C?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:C?"json":"javascript",jsonldMode:aI,jsonMode:C,expressionAllowed:b,skipExpression:function(aR){var aS=aR.cc[aR.cc.length-1];if(aS==aw||aS==aL){aR.cc.pop()}}}});a.registerHelper("wordChars","javascript",/[\w$]/);a.defineMIME("text/javascript","javascript");a.defineMIME("text/ecmascript","javascript");a.defineMIME("application/javascript","javascript");a.defineMIME("application/x-javascript","javascript");a.defineMIME("application/ecmascript","javascript");a.defineMIME("application/json",{name:"javascript",json:true});a.defineMIME("application/x-json",{name:"javascript",json:true});a.defineMIME("application/ld+json",{name:"javascript",jsonld:true});a.defineMIME("text/typescript",{name:"javascript",typescript:true});a.defineMIME("application/typescript",{name:"javascript",typescript:true})});
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/codemirror/js/codemirror.addons.min.js:1:(function(n){typeof exports=="object"&&typeof module=="object"?n(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],n):n(CodeMirror)})(function(n){function r(n,t){return t=="pairs"&&typeof n=="string"?n:typeof n=="object"&&n[t]!=null?n[t]:o[t]}function c(n){return function(t){return y(t,n)}}function e(n){var t=n.state.closeBrackets,i;return!t||t.override?t:(i=n.getModeAt(n.getCursor()),i.closeBrackets||t)}function l(i){var c=e(i),l,f,h,u,o;if(!c||i.getOption("disableInput"))return n.Pass;for(l=r(c,"pairs"),f=i.listSelections(),u=0;u<f.length;u++)if(!f[u].empty()||(h=s(i,f[u].head),!h||l.indexOf(h)%2!=0))return n.Pass;for(u=f.length-1;u>=0;u--)o=f[u].head,i.replaceRange("",t(o.line,o.ch-1),t(o.line,o.ch+1),"+delete")}function a(t){var o=e(t),h=o&&r(o,"explode"),i,u,f;if(!h||t.getOption("disableInput"))return n.Pass;for(i=t.listSelections(),u=0;u<i.length;u++)if(!i[u].empty()||(f=s(t,i[u].head),!f||h.indexOf(f)%2!=0))return n.Pass;t.operation(function(){var n,r;for(t.replaceSelection("\n\n",null),t.execCommand("goCharLeft"),i=t.listSelections(),n=0;n<i.length;n++)r=i[n].head.line,t.indentLine(r,null,!0),t.indentLine(r+1,null,!0)})}function v(i){var r=n.cmpPos(i.anchor,i.head)>0;return{anchor:new t(i.anchor.line,i.anchor.ch+(r?-1:1)),head:new t(i.head.line,i.head.ch+(r?1:-1))}}function y(i,u){var g=e(i),a,o,b,c,d;if(!g||i.getOption("disableInput")||(a=r(g,"pairs"),o=a.indexOf(u),o==-1))return n.Pass;var tt=r(g,"triples"),y=a.charAt(o+1)==u,it=i.listSelections(),nt=o%2==0,s;for(b=0;b<it.length;b++){var rt=it[b],f=rt.head,l,k=i.getRange(f,t(f.line,f.ch+1));if(nt&&!rt.empty())l="surround";else if((y||!nt)&&k==u)l=y&&h(i,f)?"both":tt.indexOf(u)>=0&&i.getRange(f,t(f.line,f.ch+3))==u+u+u?"skipThree":"skip";else if(y&&f.ch>1&&tt.indexOf(u)>=0&&i.getRange(t(f.line,f.ch-2),f)==u+u&&(f.ch<=2||i.getRange(t(f.line,f.ch-3),t(f.line,f.ch-2))!=u))l="addFour";else if(y)if(!n.isWordChar(k)&&w(i,f,u))l="both";else return n.Pass;else if(nt&&(i.getLine(f.line).length==f.ch||p(k,a)||/\s/.test(k)))l="both";else return n.Pass;if(s){if(s!=l)return n.Pass}else s=l}c=o%2?a.charAt(o-1):u;d=o%2?u:a.charAt(o+1);i.operation(function(){var t,n;if(s=="skip")i.execCommand("goCharRight");else if(s=="skipThree")for(n=0;n<3;n++)i.execCommand("goCharRight");else if(s=="surround"){for(t=i.getSelections(),n=0;n<t.length;n++)t[n]=c+t[n]+d;for(i.replaceSelections(t,"around"),t=i.listSelections().slice(),n=0;n<t.length;n++)t[n]=v(t[n]);i.setSelections(t)}else s=="both"?(i.replaceSelection(c+d,null),i.triggerElectric(c+d),i.execCommand("goCharLeft")):s=="addFour"&&(i.replaceSelection(c+c+c+c,"before"),i.execCommand("goCharRight"))})}function p(n,t){var i=t.lastIndexOf(n);return i>-1&&i%2==1}function s(n,i){var r=n.getRange(t(i.line,i.ch-1),t(i.line,i.ch+1));return r.length==2?r:null}function w(t,i,r){var e=t.getLine(i.line),f=t.getTokenAt(i),u,o;if(/\bstring2?\b/.test(f.type)||h(t,i))return!1;for(u=new n.StringStream(e.slice(0,i.ch)+r+e.slice(i.ch),4),u.pos=u.start=f.start;;){if(o=t.getMode().token(u,f.state),u.pos>=i.ch+1)return/\bstring2?\b/.test(o);u.start=u.pos}}function h(n,i){var r=n.getTokenAt(t(i.line,i.ch+1));return/\bstring/.test(r.type)&&r.start==i.ch}var o={pairs:"()[]{}''\"\"",triples:"",explode:"[]{}"},t=n.Pos,u,f,i;for(n.defineOption("autoCloseBrackets",!1,function(t,i,r){r&&r!=n.Init&&(t.removeKeyMap(f),t.state.closeBrackets=null);i&&(t.state.closeBrackets=i,t.addKeyMap(f))}),u=o.pairs+"`",f={Backspace:l,Enter:a},i=0;i<u.length;i++)f["'"+u.charAt(i)+"'"]=c(u.charAt(i))}),function(n){typeof exports=="object"&&typeof module=="object"?n(require("../../lib/codemirror"),require("../fold/xml-fold")):typeof define=="function"&&define.amd?define(["../../lib/codemirror","../fold/xml-fold"],n):n(CodeMirror)}(function(n){function e(t){var h,p,b,y,e,l,k;if(t.getOption("disableInput"))return n.Pass;for(h=t.listSelections(),p=[],e=0;e<h.length;e++){if(!h[e].empty())return n.Pass;var s=h[e].head,o=t.getTokenAt(s),w=n.innerMode(t.getMode(),o.state),a=w.state;if(w.mode.name!="xml"||!a.tagName)return n.Pass;var v=t.getOption("autoCloseTags"),d=w.mode.configuration=="html",g=typeof v=="object"&&v.dontCloseTags||d&&u,nt=typeof v=="object"&&v.indentTags||d&&f,c=a.tagName;if(o.end>s.ch&&(c=c.slice(0,c.length-o.end+s.ch)),b=c.toLowerCase(),!c||o.type=="string"&&(o.end!=s.ch||!/[\"\']/.test(o.string.charAt(o.string.length-1))||o.string.length==1)||o.type=="tag"&&a.type=="closeTag"||o.string.indexOf("/")==o.string.length-1||g&&i(g,b)>-1||r(t,c,s,a,!0))return n.Pass;y=nt&&i(nt,b)>-1;p[e]={indent:y,text:">"+(y?"\n\n":"")+"<\/"+c+">",newPos:y?n.Pos(s.line+1,0):n.Pos(s.line,s.ch+1)}}for(e=h.length-1;e>=0;e--)l=p[e],t.replaceRange(l.text,h[e].head,h[e].anchor,"+insert"),k=t.listSelections().slice(0),k[e]={head:l.newPos,anchor:l.newPos},t.setSelections(k),l.indent&&(t.indentLine(l.newPos.line,null,!0),t.indentLine(l.newPos.line+1,null,!0))}function t(t,i){for(var s,f=t.listSelections(),a=[],l=i?"/":"<\/",u=0;u<f.length;u++){if(!f[u].empty())return n.Pass;var h=f[u].head,e=t.getTokenAt(h),c=n.innerMode(t.getMode(),e.state),o=c.state;if(i&&(e.type=="string"||e.string.charAt(0)!="<"||e.start!=h.ch-1))return n.Pass;if(c.mode.name!="xml")if(t.getMode().name=="htmlmixed"&&c.mode.name=="javascript")s=l+"script";else if(t.getMode().name=="htmlmixed"&&c.mode.name=="css")s=l+"style";else return n.Pass;else{if(!o.context||!o.context.tagName||r(t,o.context.tagName,h,o))return n.Pass;s=l+o.context.tagName}t.getLine(h.line).charAt(e.end)!=">"&&(s+=">");a[u]=s}for(t.replaceSelections(a),f=t.listSelections(),u=0;u<f.length;u++)(u==f.length-1||f[u].head.line<f[u+1].head.line)&&t.indentLine(f[u].head.line)}function o(i){return i.getOption("disableInput")?n.Pass:t(i,!0)}function i(n,t){if(n.indexOf)return n.indexOf(t);for(var i=0,r=n.length;i<r;++i)if(n[i]==t)return i;return-1}function r(t,i,r,u,f){var h,o,e,c,l,s;if(!n.scanForClosingTag||(h=Math.min(t.lastLine()+1,r.line+500),o=n.scanForClosingTag(t,r,null,h),!o||o.tag!=i))return!1;for(e=u.context,c=f?1:0;e&&e.tagName==i;e=e.prev)++c;for(r=o.to,l=1;l<c;l++){if(s=n.scanForClosingTag(t,r,null,h),!s||s.tag!=i)return!1;r=s.to}return!0}n.defineOption("autoCloseTags",!1,function(t,i,r){if(r!=n.Init&&r&&t.removeKeyMap("autoCloseTags"),i){var u={name:"autoCloseTags"};(typeof i!="object"||i.whenClosing)&&(u["'/'"]=function(n){return o(n)});(typeof i!="object"||i.whenOpening)&&(u["'>'"]=function(n){return e(n)});t.addKeyMap(u)}});var u=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],f=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];n.commands.closeTag=function(n){return t(n)}}),function(n){typeof exports=="object"&&typeof module=="object"?n(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],n):n(CodeMirror)}(function(n){function r(t){var o,i,v,h,s,f,y,r,l,c,p,a,e;if(t.getOption("disableInput"))return n.Pass;for(o=t.listSelections(),v=[],h=0;h<o.length;h++){if(s=o[h].head,f=t.getTokenAt(s),f.type!="comment")return n.Pass;if(y=n.innerMode(t.getMode(),f.state).mode,i){if(i!=y)return n.Pass}else i=y;if(r=null,i.blockCommentStart&&i.blockCommentContinue){if(l=f.string.indexOf(i.blockCommentEnd),c=t.getRange(n.Pos(s.line,0),n.Pos(s.line,f.end)),l==-1||l!=f.string.length-i.blockCommentEnd.length||!(s.ch>=l))if(f.string.indexOf(i.blockCommentStart)==0){if(r=c.slice(0,f.start),!/^\s*$/.test(r))for(r="",p=0;p<f.start;++p)r+=" "}else(e=c.indexOf(i.blockCommentContinue))!=-1&&e+i.blockCommentContinue.length>f.start&&/^\s*$/.test(c.slice(0,e))&&(r=c.slice(0,e));r!=null&&(r+=i.blockCommentContinue)}if(r==null&&i.lineComment&&u(t)&&(a=t.getLine(s.line),e=a.indexOf(i.lineComment),e>-1&&(r=a.slice(0,e),/\S/.test(r)?r=null:r+=i.lineComment+a.slice(e+i.lineComment.length).match(/^\s*/)[0])),r==null)return n.Pass;v[h]="\n"+r}t.operation(function(){for(var n=o.length-1;n>=0;n--)t.replaceRange(v[n],o[n].from(),o[n].to(),"+insert")})}function u(n){var t=n.getOption("continueComments");return t&&typeof t=="object"?t.continueLineComment!==!1:!0}for(var i=["clike","css","javascript"],t=0;t<i.length;++t)n.extendMode(i[t],{blockCommentContinue:" * "});n.defineOption("continueComments",null,function(t,i,u){var f,e;u&&u!=n.Init&&t.removeKeyMap("continueComment");i&&(f="Enter",typeof i=="string"?f=i:typeof i=="object"&&i.key&&(f=i.key),e={name:"continueComment"},e[f]=r,t.addKeyMap(e))})}),function(n){typeof exports=="object"&&typeof module=="object"?n(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],n):n(CodeMirror)}(function(n){function u(n,i,u){var l=n.getLineHandle(i.line),e=i.ch-1,c=u&&u.afterCursor,h,s,a,o;return(c==null&&(c=/(^| )cm-fat-cursor($| )/.test(n.getWrapperElement().className)),h=!c&&e>=0&&r[l.text.charAt(e)]||r[l.text.charAt(++e)],!h)?null:(s=h.charAt(1)==">"?1:-1,u&&u.strict&&s>0!=(e==i.ch))?null:(a=n.getTokenTypeAt(t(i.line,e+1)),o=f(n,t(i.line,e+(s>0?1:0)),s,a||null,u),o==null)?null:{from:t(i.line,e),to:o&&o.pos,match:o&&o.ch==h.charAt(0),forward:s>0}}function f(n,i,u,f,e){for(var h,s,v,c,y,p=e&&e.maxScanLineLength||1e4,a=e&&e.maxScanLines||1e3,l=[],w=e&&e.bracketRegex?e.bracketRegex:/[(){}[\]]/,b=u>0?Math.min(i.line+a,n.lastLine()+1):Math.max(n.firstLine()-1,i.line-a),o=i.line;o!=b;o+=u)if((h=n.getLine(o),h)&&(s=u>0?0:h.length-1,v=u>0?h.length:-1,!(h.length>p)))for(o==i.line&&(s=i.ch-(u<0?1:0));s!=v;s+=u)if(c=h.charAt(s),w.test(c)&&(f===undefined||n.getTokenTypeAt(t(o,s+1))==f))if(y=r[c],y.charAt(1)==">"==u>0)l.push(c);else if(l.length)l.pop();else return{pos:t(o,s),ch:c};return o-u==(u>0?n.lastLine():n.firstLine())?!1:null}function e(n,i,r){for(var f,c,l,a=n.state.matchBrackets.maxHighlightLineLength||1e3,e=[],h=n.listSelections(),o=0;o<h.length;o++)f=h[o].empty()&&u(n,h[o].head,r),f&&n.getLine(f.from.line).length<=a&&(c=f.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket",e.push(n.markText(f.from,t(f.from.line,f.from.ch+1),{className:c})),f.to&&n.getLine(f.to.line).length<=a&&e.push(n.markText(f.to,t(f.to.line,f.to.ch+1),{className:c})));if(e.length)if(s&&n.state.focused&&n.focus(),l=function(){n.operation(function(){for(var n=0;n<e.length;n++)e[n].clear()})},i)setTimeout(l,800);else return l}function o(n){n.operation(function(){i&&(i(),i=null);i=e(n,!1,n.state.matchBrackets)})}var s=/MSIE \d/.test(navigator.userAgent)&&(document.documentMode==null||document.documentMode<8),t=n.Pos,r={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"},i=null;n.defineOption("matchBrackets",!1,function(t,r,u){if(u&&u!=n.Init&&(t.off("cursorActivity",o),i&&(i(),i=null)),r){t.state.matchBrackets=typeof r=="object"?r:{};t.on("cursorActivity",o)}});n.defineExtension("matchBrackets",function(){e(this,!0)});n.defineExtension("findMatchingBracket",function(n,t,i){return(i||typeof t=="boolean")&&(i?(i.strict=t,t=i):t=t?{strict:!0}:null),u(this,n,t)});n.defineExtension("scanForBracket",function(n,t,i,r){return f(this,n,t,i,r)})}),function(n){typeof exports=="object"&&typeof module=="object"?n(require("../../lib/codemirror"),require("../fold/xml-fold")):typeof define=="function"&&define.amd?define(["../../lib/codemirror","../fold/xml-fold"],n):n(CodeMirror)}(function(n){"use strict";function i(n){n.state.tagHit&&n.state.tagHit.clear();n.state.tagOther&&n.state.tagOther.clear();n.state.tagHit=n.state.tagOther=null}function t(t){t.state.failedTagMatch=!1;t.operation(function(){var f,u,r,e,o;(i(t),t.somethingSelected())||(f=t.getCursor(),u=t.getViewport(),u.from=Math.min(u.from,f.line),u.to=Math.max(f.line+1,u.to),r=n.findMatchingTag(t,f,u),r)&&(t.state.matchBothTags&&(e=r.at=="open"?r.open:r.close,e&&(t.state.tagHit=t.markText(e.from,e.to,{className:"CodeMirror-matchingtag"}))),o=r.at=="close"?r.open:r.close,o?t.state.tagOther=t.markText(o.from,o.to,{className:"CodeMirror-matchingtag"}):t.state.failedTagMatch=!0)})}function r(n){n.state.failedTagMatch&&t(n)}n.defineOption("matchTags",!1,function(u,f,e){if(e&&e!=n.Init&&(u.off("cursorActivity",t),u.off("viewportChange",r),i(u)),f){u.state.matchBothTags=typeof f=="object"&&f.bothTags;u.on("cursorActivity",t);u.on("viewportChange",r);t(u)}});n.commands.toMatchingTag=function(t){var i=n.findMatchingTag(t,t.getCursor()),r;i&&(r=i.at=="close"?i.open:i.close,r&&t.extendSelection(r.to,r.from))}}),function(n){typeof exports=="object"&&typeof module=="object"?n(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],n):n(CodeMirror)}(function(n){n.defineOption("showTrailingSpace",!1,function(t,i,r){r==n.Init&&(r=!1);r&&!i?t.removeOverlay("trailingspace"):!r&&i&&t.addOverlay({token:function(n){for(var i=n.string.length,t=i;t&&/\s/.test(n.string.charAt(t-1));--t);return t>n.pos?(n.pos=t,null):(n.pos=i,"trailingspace")},name:"trailingspace"})})}),function(n){typeof exports=="object"&&typeof module=="object"?n(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],n):n(CodeMirror)}(function(n){"use strict";function i(i,u,f,e){function a(n){var t=s(i,u),f,r;if(!t||t.to.line-t.from.line<l)return null;for(f=i.findMarksAt(t.from),r=0;r<f.length;++r)if(f[r].__isFold&&e!=="fold"){if(!n)return null;t.cleared=!0;f[r].clear()}return t}var s,l,o,h,c;if(f&&f.call?(s=f,f=null):s=t(i,f,"rangeFinder"),typeof u=="number"&&(u=n.Pos(u,0)),l=t(i,f,"minFoldSize"),o=a(!0),t(i,f,"scanUp"))while(!o&&u.line>i.firstLine())u=n.Pos(u.line-1,0),o=a(!1);if(o&&!o.cleared&&e!=="unfold"){h=r(i,f);n.on(h,"mousedown",function(t){c.clear();n.e_preventDefault(t)});c=i.markText(o.from,o.to,{replacedWith:h,clearOnEnter:t(i,f,"clearOnEnter"),__isFold:!0});c.on("clear",function(t,r){n.signal(i,"unfold",i,t,r)});n.signal(i,"fold",i,o.from,o.to)}}function r(n,i){var r=t(n,i,"widget"),u;return typeof r=="string"&&(u=document.createTextNode(r),r=document.createElement("span"),r.appendChild(u),r.className="CodeMirror-foldmarker"),r}function t(n,t,i){if(t&&t[i]!==undefined)return t[i];var r=n.options.foldOptions;return r&&r[i]!==undefined?r[i]:u[i]}n.newFoldFunction=function(n,t){return function(r,u){i(r,u,{rangeFinder:n,widget:t})}};n.defineExtension("foldCode",function(n,t,r){i(this,n,t,r)});n.defineExtension("isFolded",function(n){for(var i=this.findMarksAt(n),t=0;t<i.length;++t)if(i[t].__isFold)return!0});n.commands.toggleFold=function(n){n.foldCode(n.getCursor())};n.commands.fold=function(n){n.foldCode(n.getCursor(),null,"fold")};n.commands.unfold=function(n){n.foldCode(n.getCursor(),null,"unfold")};n.commands.foldAll=function(t){t.operation(function(){for(var i=t.firstLine(),r=t.lastLine();i<=r;i++)t.foldCode(n.Pos(i,0),null,"fold")})};n.commands.unfoldAll=function(t){t.operation(function(){for(var i=t.firstLine(),r=t.lastLine();i<=r;i++)t.foldCode(n.Pos(i,0),null,"unfold")})};n.registerHelper("fold","combine",function(){var n=Array.prototype.slice.call(arguments,0);return function(t,i){for(var u,r=0;r<n.length;++r)if(u=n[r](t,i),u)return u}});n.registerHelper("fold","auto",function(n,t){for(var r,u=n.getHelpers(t,"fold"),i=0;i<u.length;i++)if(r=u[i](n,t),r)return r});var u={rangeFinder:n.fold.auto,widget:"\u2194",minFoldSize:0,scanUp:!1,clearOnEnter:!0};n.defineOption("foldOptions",null);n.defineExtension("foldOption",function(n,i){return t(this,n,i)})}),function(n){typeof exports=="object"&&typeof module=="object"?n(require("../../lib/codemirror"),require("./foldcode")):typeof define=="function"&&define.amd?define(["../../lib/codemirror","./foldcode"],n):n(CodeMirror)}(function(n){"use strict";function c(n){this.options=n;this.from=this.to=0}function l(n){return n===!0&&(n={}),n.gutter==null&&(n.gutter="CodeMirror-foldgutter"),n.indicatorOpen==null&&(n.indicatorOpen="CodeMirror-foldgutter-open"),n.indicatorFolded==null&&(n.indicatorFolded="CodeMirror-foldgutter-folded"),n}function e(n,i){for(var u=n.findMarks(t(i,0),t(i+1,0)),r=0;r<u.length;++r)if(u[r].__isFold&&u[r].find().from.line==i)return u[r]}function o(n){if(typeof n=="string"){var t=document.createElement("div");return t.className=n+" CodeMirror-guttermarker-subtle",t}return n.cloneNode(!0)}function i(n,i,r){var u=n.state.foldGutter.options,f=i,h=n.foldOption(u,"minFoldSize"),s=n.foldOption(u,"rangeFinder");n.eachLine(i,r,function(i){var c=null,l,r;e(n,f)?c=o(u.indicatorFolded):(l=t(f,0),r=s&&s(n,l),r&&r.to.line-r.from.line>=h&&(c=o(u.indicatorOpen)));n.setGutterMarker(i,u.gutter,c);++f})}function f(n){var t=n.getViewport(),r=n.state.foldGutter;r&&(n.operation(function(){i(n,t.from,t.to)}),r.from=t.from,r.to=t.to)}function s(n,i,r){var o=n.state.foldGutter,u,f;o&&(u=o.options,r==u.gutter)&&(f=e(n,i),f?f.clear():n.foldCode(t(i,0),u.rangeFinder))}function r(n){var t=n.state.foldGutter,i;t&&(i=t.options,t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout(function(){f(n)},i.foldOnChangeTimeSpan||600))}function h(n){var t=n.state.foldGutter,r;t&&(r=t.options,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout(function(){var r=n.getViewport();t.from==t.to||r.from-t.to>20||t.from-r.to>20?f(n):n.operation(function(){r.from<t.from&&(i(n,r.from,t.from),t.from=r.from);r.to>t.to&&(i(n,t.to,r.to),t.to=r.to)})},r.updateViewportTimeSpan||400))}function u(n,t){var u=n.state.foldGutter,r;u&&(r=t.line,r>=u.from&&r<u.to&&i(n,r,r+1))}n.defineOption("foldGutter",!1,function(t,i,e){if(e&&e!=n.Init&&(t.clearGutter(t.state.foldGutter.options.gutter),t.state.foldGutter=null,t.off("gutterClick",s),t.off("change",r),t.off("viewportChange",h),t.off("fold",u),t.off("unfold",u),t.off("swapDoc",r)),i){t.state.foldGutter=new c(l(i));f(t);t.on("gutterClick",s);t.on("change",r);t.on("viewportChange",h);t.on("fold",u);t.on("unfold",u);t.on("swapDoc",r)}});var t=n.Pos}),function(n){typeof exports=="object"&&typeof module=="object"?n(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],n):n(CodeMirror)}(function(n){"use strict";n.registerHelper("fold","brace",function(t,i){function p(r){for(var u,e=i.ch,o=0;;){if(u=e<=0?-1:y.lastIndexOf(r,e-1),u==-1){if(o==1)break;o=1;e=y.length;continue}if(o==1&&u<i.ch)break;if(l=t.getTokenTypeAt(n.Pos(f,u+1)),!/^(comment|string)/.test(l))return u+1;e=u-1}}var f=i.line,y=t.getLine(f),l,w="{",b="}",e=p("{"),a,k,h,v,u,o,r,s,c;if(e==null&&(w="[",b="]",e=p("[")),e!=null){a=1;k=t.lastLine();n:for(u=f;u<=k;++u)for(o=t.getLine(u),r=u==f?e:0;;){if(s=o.indexOf(w,r),c=o.indexOf(b,r),s<0&&(s=o.length),c<0&&(c=o.length),r=Math.min(s,c),r==o.length)break;if(t.getTokenTypeAt(n.Pos(u,r+1))==l)if(r==s)++a;else if(!--a){h=u;v=r;break n}++r}if(h!=null&&(f!=h||v!=e))return{from:n.Pos(f,e),to:n.Pos(h,v)}}});n.registerHelper("fold","import",function(t,i){function u(i){var r,u,e,o,f;if(i<t.firstLine()||i>t.lastLine()||(r=t.getTokenAt(n.Pos(i,1)),/\S/.test(r.string)||(r=t.getTokenAt(n.Pos(i,r.end+1))),r.type!="keyword"||r.string!="import"))return null;for(u=i,e=Math.min(t.lastLine(),i+10);u<=e;++u)if(o=t.getLine(u),f=o.indexOf(";"),f!=-1)return{startCh:r.end,end:n.Pos(u,f)}}var r=i.line,e=u(r),s,f,o;if(!e||u(r-1)||(s=u(r-2))&&s.end.line==r-1)return null;for(f=e.end;;){if(o=u(f.line+1),o==null)break;f=o.end}return{from:t.clipPos(n.Pos(r,e.startCh+1)),to:f}});n.registerHelper("fold","include",function(t,i){function f(i){if(i<t.firstLine()||i>t.lastLine())return null;var r=t.getTokenAt(n.Pos(i,1));return/\S/.test(r.string)||(r=t.getTokenAt(n.Pos(i,r.end+1))),r.type=="meta"&&r.string.slice(0,8)=="#include"?r.start+8:void 0}var r=i.line,e=f(r),u,o;if(e==null||f(r-1)!=null)return null;for(u=r;;){if(o=f(u+1),o==null)break;++u}return{from:n.Pos(r,e+1),to:t.clipPos(n.Pos(u))}})}),function(n){typeof exports=="object"&&typeof module=="object"?n(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],n):n(CodeMirror)}(function(n){"use strict";n.registerGlobalHelper("fold","comment",function(n){return n.blockCommentStart&&n.blockCommentEnd},function(t,i){var d=t.getModeAt(i),c=d.blockCommentStart,l=d.blockCommentEnd,u,a,v,s,y,r,b,g,p,k,e,o,f,h,w;if(c&&l){for(u=i.line,a=t.getLine(u),s=i.ch,y=0;;){if(r=s<=0?-1:a.lastIndexOf(c,s-1),r==-1){if(y==1)return;y=1;s=a.length;continue}if(y==1&&r<i.ch)return;if(/comment/.test(t.getTokenTypeAt(n.Pos(u,r+1)))&&(r==0||a.slice(r-l.length,r)==l||!/comment/.test(t.getTokenTypeAt(n.Pos(u,r))))){v=r+c.length;break}s=r-1}b=1;g=t.lastLine();n:for(e=u;e<=g;++e)for(o=t.getLine(e),f=e==u?v:0;;){if(h=o.indexOf(c,f),w=o.indexOf(l,f),h<0&&(h=o.length),w<0&&(w=o.length),f=Math.min(h,w),f==o.length)break;if(f==h)++b;else if(!--b){p=e;k=f;break n}++f}if(p!=null&&(u!=p||k!=v))return{from:n.Pos(u,v),to:n.Pos(p,k)}}})}),function(n){typeof exports=="object"&&typeof module=="object"?n(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],n):n(CodeMirror)}(function(n){"use strict";function t(t,i){var r=t.getLine(i),u=r.search(/\S/);return u==-1||/\bcomment\b/.test(t.getTokenTypeAt(n.Pos(i,u+1)))?-1:n.countColumn(r,null,t.getOption("tabSize"))}n.registerHelper("fold","indent",function(i,r){var o=t(i,r.line),u,f,s,e;if(!(o<0)){for(u=null,f=r.line+1,s=i.lastLine();f<=s;++f)if(e=t(i,f),e!=-1)if(e>o)u=f;else break;if(u)return{from:n.Pos(r.line,i.getLine(r.line).length),to:n.Pos(u,i.getLine(u).length)}}})}),function(n){typeof exports=="object"&&typeof module=="object"?n(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],n):n(CodeMirror)}(function(n){"use strict";function v(n,t){return n.line-t.line||n.ch-t.ch}function i(n,t,i,r){this.line=t;this.ch=i;this.cm=n;this.text=n.getLine(t);this.min=r?Math.max(r.from,n.firstLine()):n.firstLine();this.max=r?Math.min(r.to-1,n.lastLine()):n.lastLine()}function u(n,i){var r=n.cm.getTokenTypeAt(t(n.line,i));return r&&/\btag\b/.test(r)}function h(n){if(!(n.line>=n.max))return n.ch=0,n.text=n.cm.getLine(++n.line),!0}function c(n){if(!(n.line<=n.min))return n.text=n.cm.getLine(--n.line),n.ch=n.text.length,!0}function e(n){for(var t,i,r;;){if(t=n.text.indexOf(">",n.ch),t==-1)if(h(n))continue;else return;if(!u(n,t+1)){n.ch=t+1;continue}return i=n.text.lastIndexOf("/",t),r=i>-1&&!/\S/.test(n.text.slice(i+1,t)),n.ch=t+1,r?"selfClose":"regular"}}function o(n){for(var t,i;;){if(t=n.ch?n.text.lastIndexOf("<",n.ch-1):-1,t==-1)if(c(n))continue;else return;if(!u(n,t+1)){n.ch=t;continue}if(r.lastIndex=t,n.ch=t,i=r.exec(n.text),i&&i.index==t)return i}}function l(n){for(;;){r.lastIndex=n.ch;var t=r.exec(n.text);if(!t)if(h(n))continue;else return;if(!u(n,t.index+1)){n.ch=t.index+1;continue}return n.ch=t.index+t[0].length,t}}function p(n){for(var t,i,r;;){if(t=n.ch?n.text.lastIndexOf(">",n.ch-1):-1,t==-1)if(c(n))continue;else return;if(!u(n,t+1)){n.ch=t;continue}return i=n.text.lastIndexOf("/",t),r=i>-1&&!/\S/.test(n.text.slice(i+1,t)),n.ch=t+1,r?"selfClose":"regular"}}function f(n,i){for(var f=[],u;;){var r=l(n),o,s=n.line,h=n.ch-(r?r[0].length:0);if(!r||!(o=e(n)))return;if(o!="selfClose")if(r[1]){for(u=f.length-1;u>=0;--u)if(f[u]==r[2]){f.length=u;break}if(u<0&&(!i||i==r[2]))return{tag:r[2],from:t(s,h),to:t(n.line,n.ch)}}else f.push(r[2])}}function a(n,i){for(var f=[],e,u;;){if(e=p(n),!e)return;if(e=="selfClose"){o(n);continue}var s=n.line,h=n.ch,r=o(n);if(!r)return;if(r[1])f.push(r[2]);else{for(u=f.length-1;u>=0;--u)if(f[u]==r[2]){f.length=u;break}if(u<0&&(!i||i==r[2]))return{tag:r[2],from:t(n.line,n.ch),to:t(s,h)}}}}var t=n.Pos,s="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",y=s+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",r=new RegExp("<(/?)(["+s+"]["+y+"]*)","g");n.registerHelper("fold","xml",function(n,r){for(var u=new i(n,r.line,0),o,h,c,s;;){if(o=l(u),!o||u.line!=r.line||!(h=e(u)))return;if(!o[1]&&h!="selfClose")return c=t(u.line,u.ch),s=f(u,o[2]),s&&{from:c,to:s.from}}});n.findMatchingTag=function(n,r,u){var s=new i(n,r.line,r.ch,u),l;if(s.text.indexOf(">")!=-1||s.text.indexOf("<")!=-1){var c=e(s),y=c&&t(s.line,s.ch),h=c&&o(s);if(c&&h&&!(v(s,r)>0))return(l={from:t(s.line,s.ch),to:y,tag:h[2]},c=="selfClose")?{open:l,close:null,at:"open"}:h[1]?{open:a(s,h[2]),close:l,at:"close"}:(s=new i(n,y.line,y.ch,u),{open:l,close:f(s,h[2]),at:"open"})}};n.findEnclosingTag=function(n,t,r,u){for(var h=new i(n,t.line,t.ch,r),e,s,o;;){if(e=a(h,u),!e)break;if(s=new i(n,t.line,t.ch,r),o=f(s,e.tag),o)return{open:e,close:o}}};n.scanForClosingTag=function(n,t,r,u){var e=new i(n,t.line,t.ch,u?{from:0,to:u}:null);return f(e,r)}}),function(){CodeMirror.defineExtension("autoFormatAll",function(n,t){function v(){h+="\n";f=!0;++a}for(var i,r=this,u=r.getMode(),o=r.getRange(n,t).split("\n"),s=CodeMirror.copyState(u,r.getTokenAt(n).state),y=r.getOption("tabSize"),h="",a=0,f=n.ch==0,e=0;e<o.length;++e){for(i=new CodeMirror.StringStream(o[e],y);!i.eol();){var c=CodeMirror.innerMode(u,s),p=u.token(i,s),l=i.current();i.start=i.pos;(!f||/\S/.test(l))&&(h+=l,f=!1);!f&&c.mode.newlineAfterToken&&c.mode.newlineAfterToken(p,l,i.string.slice(i.pos)||o[e+1]||"",c.state)&&v()}!i.pos&&u.blankLine&&u.blankLine(s);!f&&e<o.length-1&&v()}r.operation(function(){r.replaceRange(h,n,t);for(var i=n.line+1,u=n.line+a;i<=u;++i)r.indentLine(i,"smart");r.setCursor({line:0,ch:0})})})}(),function(){function n(n){for(var i,t,f=[/for\s*?\((.*?)\)/g,/&#?[a-z0-9]+;[\s\S]/g,/\"(.*?)((\")|$)/g,/\/\*(.*?)(\*\/|$)/g,/^\/\/.*/g],r=[],u=0;u<f.length;u++)for(i=0;i<n.length;)if(t=n.substr(i).match(f[u]),t!=null)r.push({start:i+t.index,end:i+t.index+t[0].length}),i+=t.index+Math.max(1,t[0].length);else break;return r.sort(function(n,t){return n.start-t.start}),r}CodeMirror.extendMode("css",{commentStart:"/*",commentEnd:"*/",newlineAfterToken:function(n,t){return/^[;{}]$/.test(t)}});CodeMirror.extendMode("javascript",{commentStart:"/*",commentEnd:"*/",wordWrapChars:[";","\\{","\\}"],autoFormatLineBreaks:function(t){var r=0,e=this.jsonMode?function(n){return n.replace(/([,{])/g,"$1\n").replace(/}/g,"\n}")}:function(n){return n.replace(/(;|\{|\})([^\r\n;])/g,"$1\n$2")},u=n(t),f="",i;if(u!=null){for(i=0;i<u.length;i++)u[i].start>r&&(f+=e(t.substring(r,u[i].start)),r=u[i].start),u[i].start<=r&&u[i].end>=r&&(f+=t.substring(r,u[i].end),r=u[i].end);r<t.length&&(f+=e(t.substr(r)))}else f=e(t);return f.replace(/^\n*|\n*$/,"")}});CodeMirror.extendMode("xml",{commentStart:"<!--",commentEnd:"-->",noBreak:!1,noBreakEmpty:null,tagType:"",tagName:"",isXML:!1,newlineAfterToken:function(n,t,i){var o="a|b|bdi|bdo|big|center|cite|del|em|font|i|img|ins|s|small|span|strike|strong|sub|sup|u",e="label|li|option|textarea|title|"+o,f=!1,r=null,u="",s;if(this.isXML=this.configuration=="xml"?!0:!1,n=="comment"||/<!--/.test(i))return!1;if(n=="tag"){if(t.indexOf("<")==0&&!t.indexOf("<\/")==0&&(this.tagType="open",r=t.match(/^<\s*?([\w]+?)$/i),this.tagName=r!=null?r[1]:"",u=this.tagName.toLowerCase(),("|"+e+"|").indexOf("|"+u+"|")!=-1&&(this.noBreak=!0)),t.indexOf(">")==0&&this.tagType=="open")return(this.tagType="",s=this.isXML?"[^<]*?":"",RegExp("^"+s+"<\/s*?"+this.tagName+"s*?>","i").test(i))?(this.noBreak=!1,this.isXML||(this.tagName=""),!1):(f=this.noBreak,this.noBreak=!1,f?!1:!0);if(t.indexOf("<\/")==0&&(this.tagType="close",r=t.match(/^<\/\s*?([\w]+?)$/i),r!=null&&(u=r[1].toLowerCase()),("|"+o+"|").indexOf("|"+u+"|")!=-1&&(this.noBreak=!0)),t.indexOf(">")==0&&this.tagType=="close")return(this.tagType="",i.indexOf("<")==0&&(r=i.match(/^<\/?\s*?([\w]+?)(\s|>)/i),u=r!=null?r[1].toLowerCase():"",("|"+e+"|").indexOf("|"+u+"|")==-1))?(this.noBreak=!1,!0):(f=this.noBreak,this.noBreak=!1,f?!1:!0)}return i.indexOf("<")==0?(this.noBreak=!1,this.isXML&&this.tagName!="")?(this.tagName="",!1):(r=i.match(/^<\/?\s*?([\w]+?)(\s|>)/i),u=r!=null?r[1].toLowerCase():"",("|"+e+"|").indexOf("|"+u+"|")!=-1?!1:!0):!1}});CodeMirror.defineExtension("commentRange",function(n,t,i){var r=this,u=CodeMirror.innerMode(r.getMode(),r.getTokenAt(t).state).mode;r.operation(function(){if(n)r.replaceRange(u.commentEnd,i),r.replaceRange(u.commentStart,t),t.line==i.line&&t.ch==i.ch&&r.setCursor(t.line,t.ch+u.commentStart.length);else{var f=r.getRange(t,i),e=f.indexOf(u.commentStart),o=f.lastIndexOf(u.commentEnd);e>-1&&o>-1&&o>e&&(f=f.substr(0,e)+f.substring(e+u.commentStart.length,o)+f.substr(o+u.commentEnd.length));r.replaceRange(f,t,i)}})});CodeMirror.defineExtension("autoIndentRange",function(n,t){var i=this;this.operation(function(){for(var r=n.line;r<=t.line;r++)i.indentLine(r,"smart")})});CodeMirror.defineExtension("autoFormatRange",function(n,t){function v(){h+="\n";f=!0;++a}for(var r,i=this,u=i.getMode(),o=i.getRange(n,t).split("\n"),s=CodeMirror.copyState(u,i.getTokenAt(n).state),y=i.getOption("tabSize"),h="",a=0,f=n.ch==0,e=0;e<o.length;++e){for(r=new CodeMirror.StringStream(o[e],y);!r.eol();){var c=CodeMirror.innerMode(u,s),p=u.token(r,s),l=r.current();r.start=r.pos;(!f||/\S/.test(l))&&(h+=l,f=!1);!f&&c.mode.newlineAfterToken&&c.mode.newlineAfterToken(p,l,r.string.slice(r.pos)||o[e+1]||"",c.state)&&v()}!r.pos&&u.blankLine&&u.blankLine(s);!f&&e<o.length-1&&v()}i.operation(function(){i.replaceRange(h,n,t);for(var r=n.line+1,u=n.line+a;r<=u;++r)i.indentLine(r,"smart");i.setSelection(n,i.getCursor(!1))})})}(),function(n){typeof exports=="object"&&typeof module=="object"?n(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],n):n(CodeMirror)}(function(n){"use strict";function u(n){for(var u=0;u<n.state.activeLines.length;u++)n.removeLineClass(n.state.activeLines[u],"wrap",t),n.removeLineClass(n.state.activeLines[u],"background",i),n.removeLineClass(n.state.activeLines[u],"gutter",r)}function o(n,t){if(n.length!=t.length)return!1;for(var i=0;i<n.length;i++)if(n[i]!=t[i])return!1;return!0}function f(n,f){for(var s,c,l,e=[],h=0;h<f.length;h++)(s=f[h],c=n.getOption("styleActiveLine"),typeof c=="object"&&c.nonEmpty?s.anchor.line==s.head.line:s.empty())&&(l=n.getLineHandleVisualStart(s.head.line),e[e.length-1]!=l&&e.push(l));o(n.state.activeLines,e)||n.operation(function(){u(n);for(var f=0;f<e.length;f++)n.addLineClass(e[f],"wrap",t),n.addLineClass(e[f],"background",i),n.addLineClass(e[f],"gutter",r);n.state.activeLines=e})}function e(n,t){f(n,t.ranges)}var t="CodeMirror-activeline",i="CodeMirror-activeline-background",r="CodeMirror-activeline-gutter";n.defineOption("styleActiveLine",!1,function(t,i,r){var o=r==n.Init?!1:r;if(i!=o&&(o&&(t.off("beforeSelectionChange",e),u(t),delete t.state.activeLines),i)){t.state.activeLines=[];f(t,t.listSelections());t.on("beforeSelectionChange",e)}})}),function(n){typeof exports=="object"&&typeof module=="object"?n(require("../../lib/codemirror"),require("./matchesonscrollbar")):typeof define=="function"&&define.amd?define(["../../lib/codemirror","./matchesonscrollbar"],n):n(CodeMirror)}(function(n){"use strict";function s(n){this.options={};for(var i in t)this.options[i]=(n&&n.hasOwnProperty(i)?n:t)[i];this.overlay=this.timeout=null;this.matchesonscroll=null;this.active=!1}function i(n){var t=n.state.matchHighlighter;(t.active||n.hasFocus())&&u(n,t)}function r(n){var t=n.state.matchHighlighter;t.active||(t.active=!0,u(n,t))}function u(n,t){clearTimeout(t.timeout);t.timeout=setTimeout(function(){o(n)},t.options.delay)}function f(n,t,i,r){var u=n.state.matchHighlighter,f;n.addOverlay(u.overlay=l(t,i,r));u.options.annotateScrollbar&&n.showMatchesOnScrollbar&&(f=i?new RegExp("\\b"+t+"\\b"):t,u.matchesonscroll=n.showMatchesOnScrollbar(f,!1,{className:"CodeMirror-selection-highlight-scrollbar"}))}function e(n){var t=n.state.matchHighlighter;t.overlay&&(n.removeOverlay(t.overlay),t.overlay=null,t.matchesonscroll&&(t.matchesonscroll.clear(),t.matchesonscroll=null))}function o(n){n.operation(function(){var t=n.state.matchHighlighter,s,c,u;if(e(n),!n.somethingSelected()&&t.options.showToken){for(var l=t.options.showToken===!0?/[\w$]/:t.options.showToken,a=n.getCursor(),o=n.getLine(a.line),i=a.ch,r=i;i&&l.test(o.charAt(i-1));)--i;while(r<o.length&&l.test(o.charAt(r)))++r;i<r&&f(n,o.slice(i,r),l,t.options.style);return}(s=n.getCursor("from"),c=n.getCursor("to"),s.line==c.line)&&(!t.options.wordsOnly||h(n,s,c))&&(u=n.getRange(s,c),t.options.trim&&(u=u.replace(/^\s+|\s+$/g,"")),u.length>=t.options.minChars&&f(n,u,!1,t.options.style))})}function h(n,t,i){var f=n.getRange(t,i),r,u;return f.match(/^\w+$/)!==null?t.ch>0&&(r={line:t.line,ch:t.ch-1},u=n.getRange(r,t),u.match(/\W/)===null)?!1:i.ch<n.getLine(t.line).length&&(r={line:i.line,ch:i.ch+1},u=n.getRange(i,r),u.match(/\W/)===null)?!1:!0:!1}function c(n,t){return(!n.start||!t.test(n.string.charAt(n.start-1)))&&(n.pos==n.string.length||!t.test(n.string.charAt(n.pos)))}function l(n,t,i){return{token:function(r){if(r.match(n)&&(!t||c(r,t)))return i;r.next();r.skipTo(n.charAt(0))||r.skipToEnd()}}}var t={style:"matchhighlight",minChars:2,delay:100,wordsOnly:!1,annotateScrollbar:!1,showToken:!1,trim:!0};n.defineOption("highlightSelectionMatches",!1,function(t,u,f){if(f&&f!=n.Init&&(e(t),clearTimeout(t.state.matchHighlighter.timeout),t.state.matchHighlighter=null,t.off("cursorActivity",i),t.off("focus",r)),u){var h=t.state.matchHighlighter=new s(u);if(t.hasFocus())h.active=!0,o(t);else t.on("focus",r);t.on("cursorActivity",i)}})}),function(n){typeof exports=="object"&&typeof module=="object"?n(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],n):n(CodeMirror)}(function(n){"use strict";n.multiplexingMode=function(t){function r(n,t,i,r){var u,f;return typeof t=="string"?(u=n.indexOf(t,i),r&&u>-1?u+t.length:u):(f=t.exec(i?n.slice(i):n),f?f.index+i+(r?f[0].length:0):-1)}var i=Array.prototype.slice.call(arguments,1);return{startState:function(){return{outer:n.startState(t),innerActive:null,inner:null}},copyState:function(i){return{outer:n.copyState(t,i.outer),innerActive:i.innerActive,inner:i.innerActive&&n.copyState(i.innerActive.mode,i.inner)}},token:function(u,f){var c,a,s,v,e,h,o,l;if(f.innerActive)return(e=f.innerActive,h=u.string,!e.close&&u.sol())?(f.innerActive=f.inner=null,this.token(u,f)):(o=e.close?r(h,e.close,u.pos,e.parseDelimiters):-1,o==u.pos&&!e.parseDelimiters)?(u.match(e.close),f.innerActive=f.inner=null,e.delimStyle&&e.delimStyle+" "+e.delimStyle+"-close"):(o>-1&&(u.string=h.slice(0,o)),l=e.mode.token(u,f.inner),o>-1&&(u.string=h),o==u.pos&&e.parseDelimiters&&(f.innerActive=f.inner=null),e.innerStyle&&(l=l?l+" "+e.innerStyle:e.innerStyle),l);for(c=Infinity,h=u.string,a=0;a<i.length;++a){if(s=i[a],o=r(h,s.open,u.pos),o==u.pos)return s.parseDelimiters||u.match(s.open),f.innerActive=s,f.inner=n.startState(s.mode,t.indent?t.indent(f.outer,""):0),s.delimStyle&&s.delimStyle+" "+s.delimStyle+"-open";o!=-1&&o<c&&(c=o)}return c!=Infinity&&(u.string=h.slice(0,c)),v=t.token(u,f.outer),c!=Infinity&&(u.string=h),v},indent:function(i,r){var u=i.innerActive?i.innerActive.mode:t;return u.indent?u.indent(i.innerActive?i.inner:i.outer,r):n.Pass},blankLine:function(r){var u=r.innerActive?r.innerActive.mode:t,f,e;if(u.blankLine&&u.blankLine(r.innerActive?r.inner:r.outer),r.innerActive)r.innerActive.close==="\n"&&(r.innerActive=r.inner=null);else for(f=0;f<i.length;++f)e=i[f],e.open==="\n"&&(r.innerActive=e,r.inner=n.startState(e.mode,u.indent?u.indent(r.outer,""):0))},electricChars:t.electricChars,innerMode:function(n){return n.inner?{state:n.inner,mode:n.innerActive.mode}:{state:n.outer,mode:t}}}}})
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/codemirror/js/codemirror.mode.htmlmixed.min.js:1:(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror"],a)}else{a(CodeMirror)}}})(function(a){var b={autoSelfClosers:{area:true,base:true,br:true,col:true,command:true,embed:true,frame:true,hr:true,img:true,input:true,keygen:true,link:true,meta:true,param:true,source:true,track:true,wbr:true,menuitem:true},implicitlyClosed:{dd:true,li:true,optgroup:true,option:true,p:true,rp:true,rt:true,tbody:true,td:true,tfoot:true,th:true,tr:true},contextGrabbers:{dd:{dd:true,dt:true},dt:{dd:true,dt:true},li:{li:true},option:{option:true,optgroup:true},optgroup:{optgroup:true},p:{address:true,article:true,aside:true,blockquote:true,dir:true,div:true,dl:true,fieldset:true,footer:true,form:true,h1:true,h2:true,h3:true,h4:true,h5:true,h6:true,header:true,hgroup:true,hr:true,menu:true,nav:true,ol:true,p:true,pre:true,section:true,table:true,ul:true},rp:{rp:true,rt:true},rt:{rp:true,rt:true},tbody:{tbody:true,tfoot:true},td:{td:true,th:true},tfoot:{tbody:true},th:{td:true,th:true},thead:{tbody:true,tfoot:true},tr:{tr:true}},doNotIndent:{pre:true},allowUnquoted:true,allowMissing:true,caseFold:true};var c={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:false,allowMissing:false,caseFold:false};a.defineMode("xml",function(m,y){var r=m.indentUnit;var z={};var l=y.htmlMode?b:c;for(var f in l){z[f]=l[f]}for(var f in y){z[f]=y[f]}var g,h;function p(G,F){function D(H){F.tokenize=H;return H(G,F)}var E=G.next();if(E=="<"){if(G.eat("!")){if(G.eat("[")){if(G.match("CDATA[")){return D(x("atom","]]>"))}else{return null}}else{if(G.match("--")){return D(x("comment","-->"))}else{if(G.match("DOCTYPE",true,true)){G.eatWhile(/[\w\._\-]/);return D(A(1))}else{return null}}}}else{if(G.eat("?")){G.eatWhile(/[\w\._\-]/);F.tokenize=x("meta","?>");return"meta"}else{g=G.eat("/")?"closeTag":"openTag";F.tokenize=o;return"tag bracket"}}}else{if(E=="&"){var C;if(G.eat("#")){if(G.eat("x")){C=G.eatWhile(/[a-fA-F\d]/)&&G.eat(";")}else{C=G.eatWhile(/[\d]/)&&G.eat(";")}}else{C=G.eatWhile(/[\w\.\-:]/)&&G.eat(";")}return C?"atom":"error"}else{G.eatWhile(/[^&<]/);return null}}}p.isInText=true;function o(F,E){var D=F.next();if(D==">"||(D=="/"&&F.eat(">"))){E.tokenize=p;g=D==">"?"endTag":"selfcloseTag";return"tag bracket"}else{if(D=="="){g="equals";return null}else{if(D=="<"){E.tokenize=p;E.state=n;E.tagName=E.tagStart=null;var C=E.tokenize(F,E);return C?C+" tag error":"tag error"}else{if(/[\'\"]/.test(D)){E.tokenize=k(D);E.stringStartCol=F.column();return E.tokenize(F,E)}else{F.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/);return"word"}}}}}function k(C){var D=function(F,E){while(!F.eol()){if(F.next()==C){E.tokenize=o;break}}return"string"};D.isInAttribute=true;return D}function x(D,C){return function(F,E){while(!F.eol()){if(F.match(C)){E.tokenize=p;break}F.next()}return D}}function A(C){return function(F,E){var D;while((D=F.next())!=null){if(D=="<"){E.tokenize=A(C+1);return E.tokenize(F,E)}else{if(D==">"){if(C==1){E.tokenize=p;break}else{E.tokenize=A(C-1);return E.tokenize(F,E)}}}}return"meta"}}function t(D,C,E){this.prev=D.context;this.tagName=C;this.indent=D.indented;this.startOfLine=E;if(z.doNotIndent.hasOwnProperty(C)||(D.context&&D.context.noIndent)){this.noIndent=true}}function w(C){if(C.context){C.context=C.context.prev}}function s(E,D){var C;while(true){if(!E.context){return}C=E.context.tagName;if(!z.contextGrabbers.hasOwnProperty(C)||!z.contextGrabbers[C].hasOwnProperty(D)){return}w(E)}}function n(C,E,D){if(C=="openTag"){D.tagStart=E.column();return d}else{if(C=="closeTag"){return v}else{return n}}}function d(C,E,D){if(C=="word"){D.tagName=E.current();h="tag";return e}else{h="error";return d}}function v(D,F,E){if(D=="word"){var C=F.current();if(E.context&&E.context.tagName!=C&&z.implicitlyClosed.hasOwnProperty(E.context.tagName)){w(E)}if((E.context&&E.context.tagName==C)||z.matchClosing===false){h="tag";return u}else{h="tag error";return B}}else{h="error";return B}}function u(D,C,E){if(D!="endTag"){h="error";return u}w(E);return n}function B(C,E,D){h="error";return u(C,E,D)}function e(F,D,G){if(F=="word"){h="attribute";return j}else{if(F=="endTag"||F=="selfcloseTag"){var E=G.tagName,C=G.tagStart;G.tagName=G.tagStart=null;if(F=="selfcloseTag"||z.autoSelfClosers.hasOwnProperty(E)){s(G,E)}else{s(G,E);G.context=new t(G,E,C==G.indented)}return n}}h="error";return e}function j(C,E,D){if(C=="equals"){return q}if(!z.allowMissing){h="error"}return e(C,E,D)}function q(C,E,D){if(C=="string"){return i}if(C=="word"&&z.allowUnquoted){h="string";return e}h="error";return e(C,E,D)}function i(C,E,D){if(C=="string"){return i}return e(C,E,D)}return{startState:function(C){var D={tokenize:p,state:n,indented:C||0,tagName:null,tagStart:null,context:null};if(C!=null){D.baseIndent=C}return D},token:function(E,D){if(!D.tagName&&E.sol()){D.indented=E.indentation()}if(E.eatSpace()){return null}g=null;var C=D.tokenize(E,D);if((C||g)&&C!="comment"){h=null;D.state=D.state(g||C,E,D);if(h){C=h=="error"?C+" error":h}}return C},indent:function(H,D,G){var F=H.context;if(H.tokenize.isInAttribute){if(H.tagStart==H.indented){return H.stringStartCol+1}else{return H.indented+r}}if(F&&F.noIndent){return a.Pass}if(H.tokenize!=o&&H.tokenize!=p){return G?G.match(/^(\s*)/)[0].length:0}if(H.tagName){if(z.multilineTagIndentPastTag!==false){return H.tagStart+H.tagName.length+2}else{return H.tagStart+r*(z.multilineTagIndentFactor||1)}}if(z.alignCDATA&&/<!\[CDATA\[/.test(D)){return 0}var C=D&&/^<(\/)?([\w_:\.-]*)/.exec(D);if(C&&C[1]){while(F){if(F.tagName==C[2]){F=F.prev;break}else{if(z.implicitlyClosed.hasOwnProperty(F.tagName)){F=F.prev}else{break}}}}else{if(C){while(F){var E=z.contextGrabbers[F.tagName];if(E&&E.hasOwnProperty(C[2])){F=F.prev}else{break}}}}while(F&&F.prev&&!F.startOfLine){F=F.prev}if(F){return F.indent+r}else{return H.baseIndent||0}},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:z.htmlMode?"html":"xml",helperType:z.htmlMode?"html":"xml",skipAttribute:function(C){if(C.state==q){C.state=e}}}});a.defineMIME("text/xml","xml");a.defineMIME("application/xml","xml");if(!a.mimeModes.hasOwnProperty("text/html")){a.defineMIME("text/html",{name:"xml",htmlMode:true})}});(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror"],a)}else{a(CodeMirror)}}})(function(a){function b(e,d,c){return/^(?:operator|sof|keyword c|case|new|export|default|[\[{}\(,;:]|=>)$/.test(d.lastType)||(d.lastType=="quasi"&&/\{\s*$/.test(e.string.slice(0,e.pos-(c||0))))}a.defineMode("javascript",function(ag,ar){var n=ag.indentUnit;var D=ar.statementIndent;var aI=ar.jsonld;var C=ar.json||aI;var g=ar.typescript;var aD=ar.wordCharacters||/[\w$\xa1-\uffff]/;var aB=function(){function aZ(a1){return{type:a1,style:"keyword"}}var aU=aZ("keyword a"),aS=aZ("keyword b"),aR=aZ("keyword c");var aT=aZ("operator"),aX={type:"atom",style:"atom"};var aV={"if":aZ("if"),"while":aU,"with":aU,"else":aS,"do":aS,"try":aS,"finally":aS,"return":aR,"break":aR,"continue":aR,"new":aZ("new"),"delete":aR,"throw":aR,"debugger":aR,"var":aZ("var"),"const":aZ("var"),let:aZ("var"),"function":aZ("function"),"catch":aZ("catch"),"for":aZ("for"),"switch":aZ("switch"),"case":aZ("case"),"default":aZ("default"),"in":aT,"typeof":aT,"instanceof":aT,"true":aX,"false":aX,"null":aX,"undefined":aX,"NaN":aX,"Infinity":aX,"this":aZ("this"),"class":aZ("class"),"super":aZ("atom"),yield:aR,"export":aZ("export"),"import":aZ("import"),"extends":aR,await:aR};if(g){var a0={type:"variable",style:"type"};var aW={"interface":aZ("class"),"implements":aR,namespace:aR,module:aZ("module"),"enum":aZ("module"),"public":aZ("modifier"),"private":aZ("modifier"),"protected":aZ("modifier"),"abstract":aZ("modifier"),string:a0,number:a0,"boolean":a0,any:a0};for(var aY in aW){aV[aY]=aW[aY]}}return aV}();var U=/[+\-*&%=<>!?|~^@]/;var aA=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function I(aU){var aS=false,aR,aT=false;while((aR=aU.next())!=null){if(!aS){if(aR=="/"&&!aT){return}if(aR=="["){aT=true}else{if(aT&&aR=="]"){aT=false}}}aS=!aS&&aR=="\\"}}var Y,J;function Q(aT,aS,aR){Y=aT;J=aR;return aS}function aa(aV,aT){var aR=aV.next();if(aR=='"'||aR=="'"){aT.tokenize=X(aR);return aT.tokenize(aV,aT)}else{if(aR=="."&&aV.match(/^\d+(?:[eE][+\-]?\d+)?/)){return Q("number","number")}else{if(aR=="."&&aV.match("..")){return Q("spread","meta")}else{if(/[\[\]{}\(\),;\:\.]/.test(aR)){return Q(aR)}else{if(aR=="="&&aV.eat(">")){return Q("=>","operator")}else{if(aR=="0"&&aV.eat(/x/i)){aV.eatWhile(/[\da-f]/i);return Q("number","number")}else{if(aR=="0"&&aV.eat(/o/i)){aV.eatWhile(/[0-7]/i);return Q("number","number")}else{if(aR=="0"&&aV.eat(/b/i)){aV.eatWhile(/[01]/i);return Q("number","number")}else{if(/\d/.test(aR)){aV.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/);return Q("number","number")}else{if(aR=="/"){if(aV.eat("*")){aT.tokenize=aH;return aH(aV,aT)}else{if(aV.eat("/")){aV.skipToEnd();return Q("comment","comment")}else{if(b(aV,aT,1)){I(aV);aV.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/);return Q("regexp","string-2")}else{aV.eatWhile(U);return Q("operator","operator",aV.current())}}}}else{if(aR=="`"){aT.tokenize=aJ;return aJ(aV,aT)}else{if(aR=="#"){aV.skipToEnd();return Q("error","error")}else{if(U.test(aR)){if(aR!=">"||!aT.lexical||aT.lexical.type!=">"){aV.eatWhile(U)}return Q("operator","operator",aV.current())}else{if(aD.test(aR)){aV.eatWhile(aD);var aU=aV.current();if(aT.lastType!="."){if(aB.propertyIsEnumerable(aU)){var aS=aB[aU];return Q(aS.type,aS.style,aU)}if(aU=="async"&&aV.match(/^\s*[\(\w]/,false)){return Q("async","keyword",aU)}}return Q("variable","variable",aU)}}}}}}}}}}}}}}}function X(aR){return function(aV,aT){var aU=false,aS;if(aI&&aV.peek()=="@"&&aV.match(aA)){aT.tokenize=aa;return Q("jsonld-keyword","meta")}while((aS=aV.next())!=null){if(aS==aR&&!aU){break}aU=!aU&&aS=="\\"}if(!aU){aT.tokenize=aa}return Q("string","string")}}function aH(aU,aT){var aR=false,aS;while(aS=aU.next()){if(aS=="/"&&aR){aT.tokenize=aa;break}aR=(aS=="*")}return Q("comment","comment")}function aJ(aU,aS){var aT=false,aR;while((aR=aU.next())!=null){if(!aT&&(aR=="`"||aR=="$"&&aU.eat("{"))){aS.tokenize=aa;break}aT=!aT&&aR=="\\"}return Q("quasi","string-2",aU.current())}var o="([{}])";function aF(aZ,aT){if(aT.fatArrowAt){aT.fatArrowAt=null}var aY=aZ.string.indexOf("=>",aZ.start);if(aY<0){return}if(g){var aV=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(aZ.string.slice(aZ.start,aY));if(aV){aY=aV.index}}var aW=0,aU=false;for(var aX=aY-1;aX>=0;--aX){var aR=aZ.string.charAt(aX);var aS=o.indexOf(aR);if(aS>=0&&aS<3){if(!aW){++aX;break}if(--aW==0){if(aR=="("){aU=true}break}}else{if(aS>=3&&aS<6){++aW}else{if(aD.test(aR)){aU=true}else{if(/["'\/]/.test(aR)){return}else{if(aU&&!aW){++aX;break}}}}}}if(aU&&!aW){aT.fatArrowAt=aX}}var c={atom:true,number:true,variable:true,string:true,regexp:true,"this":true,"jsonld-keyword":true};function O(aW,aS,aR,aV,aT,aU){this.indented=aW;this.column=aS;this.type=aR;this.prev=aT;this.info=aU;if(aV!=null){this.align=aV}}function v(aU,aT){for(var aS=aU.localVars;aS;aS=aS.next){if(aS.name==aT){return true}}for(var aR=aU.context;aR;aR=aR.prev){for(var aS=aR.vars;aS;aS=aS.next){if(aS.name==aT){return true}}}}function f(aV,aS,aR,aU,aW){var aX=aV.cc;H.state=aV;H.stream=aW;H.marked=null,H.cc=aX;H.style=aS;if(!aV.lexical.hasOwnProperty("align")){aV.lexical.align=true}while(true){var aT=aX.length?aX.pop():C?aw:aO;if(aT(aR,aU)){while(aX.length&&aX[aX.length-1].lex){aX.pop()()}if(H.marked){return H.marked}if(aR=="variable"&&v(aV,aU)){return"variable-2"}return aS}}}var H={state:null,column:null,marked:null,cc:null};function ah(){for(var aR=arguments.length-1;aR>=0;aR--){H.cc.push(arguments[aR])}}function am(){ah.apply(null,arguments);return true}function aE(aS){function aR(aV){for(var aU=aV;aU;aU=aU.next){if(aU.name==aS){return true}}return false}var aT=H.state;H.marked="def";if(aT.context){if(aR(aT.localVars)){return}aT.localVars={name:aS,next:aT.localVars}}else{if(aR(aT.globalVars)){return}if(ar.globalVars){aT.globalVars={name:aS,next:aT.globalVars}}}}var t={name:"this",next:{name:"arguments"}};function z(){H.state.context={prev:H.state.context,vars:H.state.localVars};H.state.localVars=t}function A(){H.state.localVars=H.state.context.vars;H.state.context=H.state.context.prev}function aM(aS,aT){var aR=function(){var aW=H.state,aU=aW.indented;if(aW.lexical.type=="stat"){aU=aW.lexical.indented}else{for(var aV=aW.lexical;aV&&aV.type==")"&&aV.align;aV=aV.prev){aU=aV.indented}}aW.lexical=new O(aU,H.stream.column(),aS,null,aW.lexical,aT)};aR.lex=true;return aR}function h(){var aR=H.state;if(aR.lexical.prev){if(aR.lexical.type==")"){aR.indented=aR.lexical.indented}aR.lexical=aR.lexical.prev}}h.lex=true;function u(aR){function aS(aT){if(aT==aR){return am()}else{if(aR==";"){return ah()}else{return am(aS)}}}return aS}function aO(aR,aS){if(aR=="var"){return am(aM("vardef",aS.length),d,u(";"),h)}if(aR=="keyword a"){return am(aM("form"),ax,aO,h)}if(aR=="keyword b"){return am(aM("form"),aO,h)}if(aR=="{"){return am(aM("}"),B,h)}if(aR==";"){return am()}if(aR=="if"){if(H.state.lexical.info=="else"&&H.state.cc[H.state.cc.length-1]==h){H.state.cc.pop()()}return am(aM("form"),ax,aO,h,e)}if(aR=="function"){return am(R)}if(aR=="for"){return am(aM("form"),x,aO,h)}if(aR=="variable"){if(g&&aS=="type"){H.marked="keyword";return am(j,u("operator"),j,u(";"))}else{return am(aM("stat"),aP)}}if(aR=="switch"){return am(aM("form"),ax,u("{"),aM("}","switch"),B,h,h)}if(aR=="case"){return am(aw,u(":"))}if(aR=="default"){return am(u(":"))}if(aR=="catch"){return am(aM("form"),z,u("("),al,u(")"),aO,h,A)}if(aR=="class"){return am(aM("form"),ac,h)}if(aR=="export"){return am(aM("stat"),aN,h)}if(aR=="import"){return am(aM("stat"),an,h)}if(aR=="module"){return am(aM("form"),i,u("{"),aM("}"),B,h,h)}if(aR=="async"){return am(aO)}if(aS=="@"){return am(aw,aO)}return ah(aM("stat"),aw,u(";"),h)}function aw(aR){return af(aR,false)}function aL(aR){return af(aR,true)}function ax(aR){if(aR!="("){return ah()}return am(aM(")"),aw,u(")"),h)}function af(aS,aU){if(H.state.fatArrowAt==H.stream.start){var aR=aU?S:ad;if(aS=="("){return am(z,aM(")"),aC(i,")"),h,u("=>"),aR,A)}else{if(aS=="variable"){return ah(z,i,u("=>"),aR,A)}}}var aT=aU?k:ai;if(c.hasOwnProperty(aS)){return am(aT)}if(aS=="function"){return am(R,aT)}if(aS=="class"){return am(aM("form"),M,h)}if(aS=="keyword c"||aS=="async"){return am(aU?at:aq)}if(aS=="("){return am(aM(")"),aq,u(")"),h,aT)}if(aS=="operator"||aS=="spread"){return am(aU?aL:aw)}if(aS=="["){return am(aM("]"),p,h,aT)}if(aS=="{"){return aG(w,"}",null,aT)}if(aS=="quasi"){return ah(V,aT)}if(aS=="new"){return am(L(aU))}return am()}function aq(aR){if(aR.match(/[;\}\)\],]/)){return ah()}return ah(aw)}function at(aR){if(aR.match(/[;\}\)\],]/)){return ah()}return ah(aL)}function ai(aR,aS){if(aR==","){return am(aw)}return k(aR,aS,false)}function k(aR,aT,aV){var aS=aV==false?ai:k;var aU=aV==false?aw:aL;if(aR=="=>"){return am(z,aV?S:ad,A)}if(aR=="operator"){if(/\+\+|--/.test(aT)){return am(aS)}if(aT=="?"){return am(aw,u(":"),aU)}return am(aU)}if(aR=="quasi"){return ah(V,aS)}if(aR==";"){return}if(aR=="("){return aG(aL,")","call",aS)}if(aR=="."){return am(au,aS)}if(aR=="["){return am(aM("]"),aq,u("]"),h,aS)}if(g&&aT=="as"){H.marked="keyword";return am(j,aS)}}function V(aR,aS){if(aR!="quasi"){return ah()}if(aS.slice(aS.length-2)!="${"){return am(V)}return am(aw,s)}function s(aR){if(aR=="}"){H.marked="string-2";H.state.tokenize=aJ;return am(V)}}function ad(aR){aF(H.stream,H.state);return ah(aR=="{"?aO:aw)}function S(aR){aF(H.stream,H.state);return ah(aR=="{"?aO:aL)}function L(aR){return function(aS){if(aS=="."){return am(aR?q:ab)}else{return ah(aR?aL:aw)}}}function ab(aR,aS){if(aS=="target"){H.marked="keyword";return am(ai)}}function q(aR,aS){if(aS=="target"){H.marked="keyword";return am(k)}}function aP(aR){if(aR==":"){return am(h,aO)}return ah(ai,u(";"),h)}function au(aR){if(aR=="variable"){H.marked="property";return am()}}function w(aR,aS){if(aR=="async"){H.marked="property";return am(w)}else{if(aR=="variable"||H.style=="keyword"){H.marked="property";if(aS=="get"||aS=="set"){return am(N)}return am(P)}else{if(aR=="number"||aR=="string"){H.marked=aI?"property":(H.style+" property");return am(P)}else{if(aR=="jsonld-keyword"){return am(P)}else{if(aR=="modifier"){return am(w)}else{if(aR=="["){return am(aw,u("]"),P)}else{if(aR=="spread"){return am(aw,P)}else{if(aR==":"){return ah(P)}}}}}}}}}function N(aR){if(aR!="variable"){return ah(P)}H.marked="property";return am(R)}function P(aR){if(aR==":"){return am(aL)}if(aR=="("){return ah(R)}}function aC(aU,aR,aS){function aT(aW,aX){if(aS?aS.indexOf(aW)>-1:aW==","){var aV=H.state.lexical;if(aV.info=="call"){aV.pos=(aV.pos||0)+1}return am(function(aY,aZ){if(aY==aR||aZ==aR){return ah()}return ah(aU)},aT)}if(aW==aR||aX==aR){return am()}return am(u(aR))}return function(aV,aW){if(aV==aR||aW==aR){return am()}return ah(aU,aT)}}function aG(aU,aR,aT){for(var aS=3;aS<arguments.length;aS++){H.cc.push(arguments[aS])}return am(aM(aR,aT),aC(aU,aR),h)}function B(aR){if(aR=="}"){return am()}return ah(aO,B)}function Z(aR,aS){if(g){if(aR==":"){return am(j)}if(aS=="?"){return am(Z)}}}function j(aR){if(aR=="variable"){H.marked="type";return am(K)}if(aR=="string"||aR=="number"||aR=="atom"){return am(K)}if(aR=="{"){return am(aM("}"),aC(av,"}",",;"),h,K)}if(aR=="("){return am(aC(aj,")"),W)}}function W(aR){if(aR=="=>"){return am(j)}}function av(aR,aS){if(aR=="variable"||H.style=="keyword"){H.marked="property";return am(av)}else{if(aS=="?"){return am(av)}else{if(aR==":"){return am(j)}else{if(aR=="["){return am(aw,Z,u("]"),av)}}}}}function aj(aR){if(aR=="variable"){return am(aj)}else{if(aR==":"){return am(j)}}}function K(aR,aS){if(aS=="<"){return am(aM(">"),aC(j,">"),h,K)}if(aS=="|"||aR=="."){return am(j)}if(aR=="["){return am(u("]"),K)}if(aS=="extends"){return am(j)}}function d(){return ah(i,Z,ak,ae)}function i(aR,aS){if(aR=="modifier"){return am(i)}if(aR=="variable"){aE(aS);return am()}if(aR=="spread"){return am(i)}if(aR=="["){return aG(i,"]")}if(aR=="{"){return aG(aK,"}")}}function aK(aR,aS){if(aR=="variable"&&!H.stream.match(/^\s*:/,false)){aE(aS);return am(ak)}if(aR=="variable"){H.marked="property"}if(aR=="spread"){return am(i)}if(aR=="}"){return ah()}return am(u(":"),i,ak)}function ak(aR,aS){if(aS=="="){return am(aL)}}function ae(aR){if(aR==","){return am(d)}}function e(aR,aS){if(aR=="keyword b"&&aS=="else"){return am(aM("form","else"),aO,h)}}function x(aR){if(aR=="("){return am(aM(")"),G,u(")"),h)}}function G(aR){if(aR=="var"){return am(d,u(";"),F)}if(aR==";"){return am(F)}if(aR=="variable"){return am(y)}return ah(aw,u(";"),F)}function y(aR,aS){if(aS=="in"||aS=="of"){H.marked="keyword";return am(aw)}return am(ai,F)}function F(aR,aS){if(aR==";"){return am(E)}if(aS=="in"||aS=="of"){H.marked="keyword";return am(aw)}return ah(aw,u(";"),E)}function E(aR){if(aR!=")"){am(aw)}}function R(aR,aS){if(aS=="*"){H.marked="keyword";return am(R)}if(aR=="variable"){aE(aS);return am(R)}if(aR=="("){return am(z,aM(")"),aC(al,")"),h,Z,aO,A)}if(g&&aS=="<"){return am(aM(">"),aC(j,">"),h,R)}}function al(aR){if(aR=="spread"){return am(al)}return ah(i,Z,ak)}function M(aR,aS){if(aR=="variable"){return ac(aR,aS)}return T(aR,aS)}function ac(aR,aS){if(aR=="variable"){aE(aS);return am(T)}}function T(aR,aS){if(aS=="<"){return am(aM(">"),aC(j,">"),h,T)}if(aS=="extends"||aS=="implements"||(g&&aR==",")){return am(g?j:aw,T)}if(aR=="{"){return am(aM("}"),r,h)}}function r(aR,aS){if(aR=="variable"||H.style=="keyword"){if((aS=="async"||aS=="static"||aS=="get"||aS=="set"||(g&&(aS=="public"||aS=="private"||aS=="protected"||aS=="readonly"||aS=="abstract")))&&H.stream.match(/^\s+[\w$\xa1-\uffff]/,false)){H.marked="keyword";return am(r)}H.marked="property";return am(g?aQ:R,r)}if(aR=="["){return am(aw,u("]"),g?aQ:R,r)}if(aS=="*"){H.marked="keyword";return am(r)}if(aR==";"){return am(r)}if(aR=="}"){return am()}if(aS=="@"){return am(aw,r)}}function aQ(aR,aS){if(aS=="?"){return am(aQ)}if(aR==":"){return am(j,ak)}if(aS=="="){return am(aL)}return ah(R)}function aN(aR,aS){if(aS=="*"){H.marked="keyword";return am(ap,u(";"))}if(aS=="default"){H.marked="keyword";return am(aw,u(";"))}if(aR=="{"){return am(aC(ao,"}"),ap,u(";"))}return ah(aO)}function ao(aR,aS){if(aS=="as"){H.marked="keyword";return am(u("variable"))}if(aR=="variable"){return ah(aL,ao)}}function an(aR){if(aR=="string"){return am()}return ah(az,m,ap)}function az(aR,aS){if(aR=="{"){return aG(az,"}")}if(aR=="variable"){aE(aS)}if(aS=="*"){H.marked="keyword"}return am(l)}function m(aR){if(aR==","){return am(az,m)}}function l(aR,aS){if(aS=="as"){H.marked="keyword";return am(az)}}function ap(aR,aS){if(aS=="from"){H.marked="keyword";return am(aw)}}function p(aR){if(aR=="]"){return am()}return ah(aC(aL,"]"))}function ay(aS,aR){return aS.lastType=="operator"||aS.lastType==","||U.test(aR.charAt(0))||/[,.]/.test(aR.charAt(0))}return{startState:function(aS){var aR={tokenize:aa,lastType:"sof",cc:[],lexical:new O((aS||0)-n,0,"block",false),localVars:ar.localVars,context:ar.localVars&&{vars:ar.localVars},indented:aS||0};if(ar.globalVars&&typeof ar.globalVars=="object"){aR.globalVars=ar.globalVars}return aR},token:function(aT,aS){if(aT.sol()){if(!aS.lexical.hasOwnProperty("align")){aS.lexical.align=false}aS.indented=aT.indentation();aF(aT,aS)}if(aS.tokenize!=aH&&aT.eatSpace()){return null}var aR=aS.tokenize(aT,aS);if(Y=="comment"){return aR}aS.lastType=Y=="operator"&&(J=="++"||J=="--")?"incdec":Y;return f(aS,aR,Y,J,aT)},indent:function(aR,aU){if(aR.tokenize==aH){return a.Pass}if(aR.tokenize!=aa){return 0}var aY=aU&&aU.charAt(0),aZ=aR.lexical,aX;if(!/^\s*else\b/.test(aU)){for(var aT=aR.cc.length-1;aT>=0;--aT){var aV=aR.cc[aT];if(aV==h){aZ=aZ.prev}else{if(aV!=e){break}}}}while((aZ.type=="stat"||aZ.type=="form")&&(aY=="}"||((aX=aR.cc[aR.cc.length-1])&&(aX==ai||aX==k)&&!/^[,\.=+\-*:?[\(]/.test(aU)))){aZ=aZ.prev}if(D&&aZ.type==")"&&aZ.prev.type=="stat"){aZ=aZ.prev}var aW=aZ.type,aS=aY==aW;if(aW=="vardef"){return aZ.indented+(aR.lastType=="operator"||aR.lastType==","?aZ.info+1:0)}else{if(aW=="form"&&aY=="{"){return aZ.indented}else{if(aW=="form"){return aZ.indented+n}else{if(aW=="stat"){return aZ.indented+(ay(aR,aU)?D||n:0)}else{if(aZ.info=="switch"&&!aS&&ar.doubleIndentSwitch!=false){return aZ.indented+(/^(?:case|default)\b/.test(aU)?n:2*n)}else{if(aZ.align){return aZ.column+(aS?0:1)}else{return aZ.indented+(aS?0:n)}}}}}}},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:C?null:"/*",blockCommentEnd:C?null:"*/",lineComment:C?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:C?"json":"javascript",jsonldMode:aI,jsonMode:C,expressionAllowed:b,skipExpression:function(aR){var aS=aR.cc[aR.cc.length-1];if(aS==aw||aS==aL){aR.cc.pop()}}}});a.registerHelper("wordChars","javascript",/[\w$]/);a.defineMIME("text/javascript","javascript");a.defineMIME("text/ecmascript","javascript");a.defineMIME("application/javascript","javascript");a.defineMIME("application/x-javascript","javascript");a.defineMIME("application/ecmascript","javascript");a.defineMIME("application/json",{name:"javascript",json:true});a.defineMIME("application/x-json",{name:"javascript",json:true});a.defineMIME("application/ld+json",{name:"javascript",jsonld:true});a.defineMIME("text/typescript",{name:"javascript",typescript:true});a.defineMIME("application/typescript",{name:"javascript",typescript:true})});(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror"],a)}else{a(CodeMirror)}}})(function(r){r.defineMode("css",function(Z,J){var D=J.inline;if(!J.propertyKeywords){J=r.resolveMode("text/css")}var Q=Z.indentUnit,A=J.tokenHooks,y=J.documentTypes||{},Y=J.mediaTypes||{},L=J.mediaFeatures||{},P=J.mediaValueKeywords||{},I=J.propertyKeywords||{},B=J.nonStandardPropertyKeywords||{},E=J.fontProperties||{},X=J.counterDescriptors||{},O=J.colorKeywords||{},T=J.valueKeywords||{},M=J.allowNested,S=J.lineComment,V=J.supportsAtComponent===true;var C,N;function aa(ad,ae){C=ae;return ad}function ac(ag,af){var ae=ag.next();if(A[ae]){var ad=A[ae](ag,af);if(ad!==false){return ad}}if(ae=="@"){ag.eatWhile(/[\w\\\-]/);return aa("def",ag.current())}else{if(ae=="="||(ae=="~"||ae=="|")&&ag.eat("=")){return aa(null,"compare")}else{if(ae=='"'||ae=="'"){af.tokenize=K(ae);return af.tokenize(ag,af)}else{if(ae=="#"){ag.eatWhile(/[\w\\\-]/);return aa("atom","hash")}else{if(ae=="!"){ag.match(/^\s*\w*/);return aa("keyword","important")}else{if(/\d/.test(ae)||ae=="."&&ag.eat(/\d/)){ag.eatWhile(/[\w.%]/);return aa("number","unit")}else{if(ae==="-"){if(/[\d.]/.test(ag.peek())){ag.eatWhile(/[\w.%]/);return aa("number","unit")}else{if(ag.match(/^-[\w\\\-]+/)){ag.eatWhile(/[\w\\\-]/);if(ag.match(/^\s*:/,false)){return aa("variable-2","variable-definition")}return aa("variable-2","variable")}else{if(ag.match(/^\w+-/)){return aa("meta","meta")}}}}else{if(/[,+>*\/]/.test(ae)){return aa(null,"select-op")}else{if(ae=="."&&ag.match(/^-?[_a-z][_a-z0-9-]*/i)){return aa("qualifier","qualifier")}else{if(/[:;{}\[\]\(\)]/.test(ae)){return aa(null,ae)}else{if((ae=="u"&&ag.match(/rl(-prefix)?\(/))||(ae=="d"&&ag.match("omain("))||(ae=="r"&&ag.match("egexp("))){ag.backUp(1);af.tokenize=ab;return aa("property","word")}else{if(/[\w\\\-]/.test(ae)){ag.eatWhile(/[\w\\\-]/);return aa("property","word")}else{return aa(null,null)}}}}}}}}}}}}}function K(ad){return function(ah,af){var ag=false,ae;while((ae=ah.next())!=null){if(ae==ad&&!ag){if(ad==")"){ah.backUp(1)}break}ag=!ag&&ae=="\\"}if(ae==ad||!ag&&ad!=")"){af.tokenize=null}return aa("string","string")}}function ab(ae,ad){ae.next();if(!ae.match(/\s*[\"\')]/,false)){ad.tokenize=K(")")}else{ad.tokenize=null}return aa(null,"(")}function R(ae,ad,af){this.type=ae;this.indent=ad;this.prev=af}function G(af,ag,ae,ad){af.context=new R(ae,ag.indentation()+(ad===false?0:Q),af.context);return ae}function U(ad){if(ad.context.prev){ad.context=ad.context.prev}return ad.context.type}function z(ad,af,ae){return F[ae.context.type](ad,af,ae)}function W(ae,ag,af,ah){for(var ad=ah||1;ad>0;ad--){af.context=af.context.prev}return z(ae,ag,af)}function H(ae){var ad=ae.current().toLowerCase();if(T.hasOwnProperty(ad)){N="atom"}else{if(O.hasOwnProperty(ad)){N="keyword"}else{N="variable"}}}var F={};F.top=function(ad,af,ae){if(ad=="{"){return G(ae,af,"block")}else{if(ad=="}"&&ae.context.prev){return U(ae)}else{if(V&&/@component/.test(ad)){return G(ae,af,"atComponentBlock")}else{if(/^@(-moz-)?document$/.test(ad)){return G(ae,af,"documentTypes")}else{if(/^@(media|supports|(-moz-)?document|import)$/.test(ad)){return G(ae,af,"atBlock")}else{if(/^@(font-face|counter-style)/.test(ad)){ae.stateArg=ad;return"restricted_atBlock_before"}else{if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(ad)){return"keyframes"}else{if(ad&&ad.charAt(0)=="@"){return G(ae,af,"at")}else{if(ad=="hash"){N="builtin"}else{if(ad=="word"){N="tag"}else{if(ad=="variable-definition"){return"maybeprop"}else{if(ad=="interpolation"){return G(ae,af,"interpolation")}else{if(ad==":"){return"pseudo"}else{if(M&&ad=="("){return G(ae,af,"parens")}}}}}}}}}}}}}}return ae.context.type};F.block=function(ad,ag,ae){if(ad=="word"){var af=ag.current().toLowerCase();if(I.hasOwnProperty(af)){N="property";return"maybeprop"}else{if(B.hasOwnProperty(af)){N="string-2";return"maybeprop"}else{if(M){N=ag.match(/^\s*:(?:\s|$)/,false)?"property":"tag";return"block"}else{N+=" error";return"maybeprop"}}}}else{if(ad=="meta"){return"block"}else{if(!M&&(ad=="hash"||ad=="qualifier")){N="error";return"block"}else{return F.top(ad,ag,ae)}}}};F.maybeprop=function(ad,af,ae){if(ad==":"){return G(ae,af,"prop")}return z(ad,af,ae)};F.prop=function(ad,af,ae){if(ad==";"){return U(ae)}if(ad=="{"&&M){return G(ae,af,"propBlock")}if(ad=="}"||ad=="{"){return W(ad,af,ae)}if(ad=="("){return G(ae,af,"parens")}if(ad=="hash"&&!/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(af.current())){N+=" error"}else{if(ad=="word"){H(af)}else{if(ad=="interpolation"){return G(ae,af,"interpolation")}}}return"prop"};F.propBlock=function(ae,ad,af){if(ae=="}"){return U(af)}if(ae=="word"){N="property";return"maybeprop"}return af.context.type};F.parens=function(ad,af,ae){if(ad=="{"||ad=="}"){return W(ad,af,ae)}if(ad==")"){return U(ae)}if(ad=="("){return G(ae,af,"parens")}if(ad=="interpolation"){return G(ae,af,"interpolation")}if(ad=="word"){H(af)}return"parens"};F.pseudo=function(ad,af,ae){if(ad=="meta"){return"pseudo"}if(ad=="word"){N="variable-3";return ae.context.type}return z(ad,af,ae)};F.documentTypes=function(ad,af,ae){if(ad=="word"&&y.hasOwnProperty(af.current())){N="tag";return ae.context.type}else{return F.atBlock(ad,af,ae)}};F.atBlock=function(ad,ag,ae){if(ad=="("){return G(ae,ag,"atBlock_parens")}if(ad=="}"||ad==";"){return W(ad,ag,ae)}if(ad=="{"){return U(ae)&&G(ae,ag,M?"block":"top")}if(ad=="interpolation"){return G(ae,ag,"interpolation")}if(ad=="word"){var af=ag.current().toLowerCase();if(af=="only"||af=="not"||af=="and"||af=="or"){N="keyword"}else{if(Y.hasOwnProperty(af)){N="attribute"}else{if(L.hasOwnProperty(af)){N="property"}else{if(P.hasOwnProperty(af)){N="keyword"}else{if(I.hasOwnProperty(af)){N="property"}else{if(B.hasOwnProperty(af)){N="string-2"}else{if(T.hasOwnProperty(af)){N="atom"}else{if(O.hasOwnProperty(af)){N="keyword"}else{N="error"}}}}}}}}}return ae.context.type};F.atComponentBlock=function(ad,af,ae){if(ad=="}"){return W(ad,af,ae)}if(ad=="{"){return U(ae)&&G(ae,af,M?"block":"top",false)}if(ad=="word"){N="error"}return ae.context.type};F.atBlock_parens=function(ad,af,ae){if(ad==")"){return U(ae)}if(ad=="{"||ad=="}"){return W(ad,af,ae,2)}return F.atBlock(ad,af,ae)};F.restricted_atBlock_before=function(ad,af,ae){if(ad=="{"){return G(ae,af,"restricted_atBlock")}if(ad=="word"&&ae.stateArg=="@counter-style"){N="variable";return"restricted_atBlock_before"}return z(ad,af,ae)};F.restricted_atBlock=function(ad,af,ae){if(ad=="}"){ae.stateArg=null;return U(ae)}if(ad=="word"){if((ae.stateArg=="@font-face"&&!E.hasOwnProperty(af.current().toLowerCase()))||(ae.stateArg=="@counter-style"&&!X.hasOwnProperty(af.current().toLowerCase()))){N="error"}else{N="property"}return"maybeprop"}return"restricted_atBlock"};F.keyframes=function(ad,af,ae){if(ad=="word"){N="variable";return"keyframes"}if(ad=="{"){return G(ae,af,"top")}return z(ad,af,ae)};F.at=function(ad,af,ae){if(ad==";"){return U(ae)}if(ad=="{"||ad=="}"){return W(ad,af,ae)}if(ad=="word"){N="tag"}else{if(ad=="hash"){N="builtin"}}return"at"};F.interpolation=function(ad,af,ae){if(ad=="}"){return U(ae)}if(ad=="{"||ad==";"){return W(ad,af,ae)}if(ad=="word"){N="variable"}else{if(ad!="variable"&&ad!="("&&ad!=")"){N="error"}}return"interpolation"};return{startState:function(ad){return{tokenize:null,state:D?"block":"top",stateArg:null,context:new R(D?"block":"top",ad||0,null)}},token:function(af,ae){if(!ae.tokenize&&af.eatSpace()){return null}var ad=(ae.tokenize||ac)(af,ae);if(ad&&typeof ad=="object"){C=ad[1];ad=ad[0]}N=ad;ae.state=F[ae.state](C,af,ae);return N},indent:function(ah,af){var ae=ah.context,ag=af&&af.charAt(0);var ad=ae.indent;if(ae.type=="prop"&&(ag=="}"||ag==")")){ae=ae.prev}if(ae.prev){if(ag=="}"&&(ae.type=="block"||ae.type=="top"||ae.type=="interpolation"||ae.type=="restricted_atBlock")){ae=ae.prev;ad=ae.indent}else{if(ag==")"&&(ae.type=="parens"||ae.type=="atBlock_parens")||ag=="{"&&(ae.type=="at"||ae.type=="atBlock")){ad=Math.max(0,ae.indent-Q)}}}return ad},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:S,fold:"brace"}});function g(A){var z={};for(var y=0;y<A.length;++y){z[A[y].toLowerCase()]=true}return z}var k=["domain","regexp","url","url-prefix"],a=g(k);var b=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],v=g(b);var x=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=g(x);var l=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],p=g(l);var d=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],h=g(d);var n=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],e=g(n);var t=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],f=g(t);var q=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],u=g(q);var c=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],m=g(c);var j=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],s=g(j);var o=k.concat(b).concat(x).concat(l).concat(d).concat(n).concat(c).concat(j);r.registerHelper("hintWords","css",o);function w(B,A){var y=false,z;while((z=B.next())!=null){if(y&&z=="/"){A.tokenize=null;break}y=(z=="*")}return["comment","comment"]}r.defineMIME("text/css",{documentTypes:a,mediaTypes:v,mediaFeatures:i,mediaValueKeywords:p,propertyKeywords:h,nonStandardPropertyKeywords:e,fontProperties:f,counterDescriptors:u,colorKeywords:m,valueKeywords:s,tokenHooks:{"/":function(z,y){if(!z.eat("*")){return false}y.tokenize=w;return w(z,y)}},name:"css"});r.defineMIME("text/x-scss",{mediaTypes:v,mediaFeatures:i,mediaValueKeywords:p,propertyKeywords:h,nonStandardPropertyKeywords:e,colorKeywords:m,valueKeywords:s,fontProperties:f,allowNested:true,lineComment:"//",tokenHooks:{"/":function(z,y){if(z.eat("/")){z.skipToEnd();return["comment","comment"]}else{if(z.eat("*")){y.tokenize=w;return w(z,y)}else{return["operator","operator"]}}},":":function(y){if(y.match(/\s*\{/,false)){return[null,null]}return false},"$":function(y){y.match(/^[\w-]+/);if(y.match(/^\s*:/,false)){return["variable-2","variable-definition"]}return["variable-2","variable"]},"#":function(y){if(!y.eat("{")){return false}return[null,"interpolation"]}},name:"css",helperType:"scss"});r.defineMIME("text/x-less",{mediaTypes:v,mediaFeatures:i,mediaValueKeywords:p,propertyKeywords:h,nonStandardPropertyKeywords:e,colorKeywords:m,valueKeywords:s,fontProperties:f,allowNested:true,lineComment:"//",tokenHooks:{"/":function(z,y){if(z.eat("/")){z.skipToEnd();return["comment","comment"]}else{if(z.eat("*")){y.tokenize=w;return w(z,y)}else{return["operator","operator"]}}},"@":function(y){if(y.eat("{")){return[null,"interpolation"]}if(y.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,false)){return false}y.eatWhile(/[\w\\\-]/);if(y.match(/^\s*:/,false)){return["variable-2","variable-definition"]}return["variable-2","variable"]},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"});r.defineMIME("text/x-gss",{documentTypes:a,mediaTypes:v,mediaFeatures:i,propertyKeywords:h,nonStandardPropertyKeywords:e,fontProperties:f,counterDescriptors:u,colorKeywords:m,valueKeywords:s,supportsAtComponent:true,tokenHooks:{"/":function(z,y){if(!z.eat("*")){return false}y.tokenize=w;return w(z,y)}},name:"css",helperType:"gss"})});(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"),require("../xml/xml"),require("../javascript/javascript"),require("../css/css"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror","../xml/xml","../javascript/javascript","../css/css"],a)}else{a(CodeMirror)}}})(function(d){var g={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function f(n,j,k){var m=n.current(),l=m.search(j);if(l>-1){n.backUp(m.length-l)}else{if(m.match(/<\/?$/)){n.backUp(m.length);if(!n.match(j,false)){n.match(m)}}}return k}var e={};function c(j){var k=e[j];if(k){return k}return e[j]=new RegExp("\\s+"+j+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*")}function a(l,j){var k=l.match(c(j));return k?/^\s*(.*?)\s*$/.exec(k[2])[1]:""}function i(k,j){return new RegExp((j?"^":"")+"</s*"+k+"s*>","i")}function h(o,n){for(var j in o){var k=n[j]||(n[j]=[]);var m=o[j];for(var l=m.length-1;l>=0;l--){k.unshift(m[l])}}}function b(l,m){for(var k=0;k<l.length;k++){var j=l[k];if(!j[0]||j[1].test(a(m,j[0]))){return j[2]}}}d.defineMode("htmlmixed",function(k,o){var q=d.getMode(k,{name:"xml",htmlMode:true,multilineTagIndentFactor:o.multilineTagIndentFactor,multilineTagIndentPastTag:o.multilineTagIndentPastTag});var j={};var p=o&&o.tags,n=o&&o.scriptTypes;h(g,j);if(p){h(p,j)}if(n){for(var m=n.length-1;m>=0;m--){j.script.unshift(["type",n[m].matches,n[m].mode])}}function l(z,r){var s=q.token(z,r.htmlState),A=/\btag\b/.test(s),u;if(A&&!/[<>\s\/]/.test(z.current())&&(u=r.htmlState.tagName&&r.htmlState.tagName.toLowerCase())&&j.hasOwnProperty(u)){r.inTag=u+" "}else{if(r.inTag&&A&&/>$/.test(z.current())){var t=/^([\S]+) (.*)/.exec(r.inTag);r.inTag=null;var y=z.current()==">"&&b(j[t[1]],t[2]);var x=d.getMode(k,y);var w=i(t[1],true),v=i(t[1],false);r.token=function(C,B){if(C.match(w,false)){B.token=l;B.localState=B.localMode=null;return null}return f(C,v,B.localMode.token(C,B.localState))};r.localMode=x;r.localState=d.startState(x,q.indent(r.htmlState,""))}else{if(r.inTag){r.inTag+=z.current();if(z.eol()){r.inTag+=" "}}}}return s}return{startState:function(){var r=d.startState(q);return{token:l,inTag:null,localMode:null,localState:null,htmlState:r}},copyState:function(s){var r;if(s.localState){r=d.copyState(s.localMode,s.localState)}return{token:s.token,inTag:s.inTag,localMode:s.localMode,localState:r,htmlState:d.copyState(q,s.htmlState)}},token:function(s,r){return r.token(s,r)},indent:function(t,s,r){if(!t.localMode||/^\s*<\//.test(s)){return q.indent(t.htmlState,s)}else{if(t.localMode.indent){return t.localMode.indent(t.localState,s,r)}else{return d.Pass}}},innerMode:function(r){return{state:r.localState||r.htmlState,mode:r.localMode||q}}}},"xml","javascript","css");d.defineMIME("text/html","htmlmixed")});(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"),require("../htmlmixed/htmlmixed"),require("../../addon/mode/multiplex"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror","../htmlmixed/htmlmixed","../../addon/mode/multiplex"],a)}else{a(CodeMirror)}}})(function(a){a.defineMode("htmlembedded",function(b,c){return a.multiplexingMode(a.getMode(b,"htmlmixed"),{open:c.open||c.scriptStartRegex||"<%",close:c.close||c.scriptEndRegex||"%>",mode:a.getMode(b,c.scriptingModeSpec)})},"htmlmixed");a.defineMIME("application/x-ejs",{name:"htmlembedded",scriptingModeSpec:"javascript"});a.defineMIME("application/x-aspx",{name:"htmlembedded",scriptingModeSpec:"text/x-csharp"});a.defineMIME("application/x-jsp",{name:"htmlembedded",scriptingModeSpec:"text/x-java"});a.defineMIME("application/x-erb",{name:"htmlembedded",scriptingModeSpec:"ruby"})});
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/codemirror/js/codemirror.min.js:1:(function(b,a){typeof exports==="object"&&typeof module!=="undefined"?module.exports=a():typeof define==="function"&&define.amd?define(a):(b.CodeMirror=a())}(this,(function(){var ex=navigator.userAgent;var eI=navigator.platform;var cN=/gecko\/\d/i.test(ex);var fr=/MSIE \d/.test(ex);var b2=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ex);var c1=/Edge\/(\d+)/.exec(ex);var ed=fr||b2||c1;var m=ed&&(fr?document.documentMode||6:+(c1||b2)[1]);var dr=!c1&&/WebKit\//.test(ex);var eg=dr&&/Qt\/\d+\.\d+/.test(ex);var dH=!c1&&/Chrome\//.test(ex);var ez=/Opera\//.test(ex);var aK=/Apple Computer/.test(navigator.vendor);var dz=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(ex);var gd=/PhantomJS/.test(ex);var fL=!c1&&/AppleWebKit/.test(ex)&&/Mobile\/\w+/.test(ex);var aW=/Android/.test(ex);var eO=fL||aW||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(ex);var cs=fL||/Mac/.test(eI);var gx=/\bCrOS\b/.test(ex);var aZ=/win/i.test(eI);var ba=ez&&ex.match(/Version\/(\d*\.\d*)/);if(ba){ba=Number(ba[1])}if(ba&&ba>=15){ez=false;dr=true}var ca=cs&&(eg||ez&&(ba==null||ba<12.11));var g7=cN||(ed&&m>=9);function Y(i){return new RegExp("(^|\\s)"+i+"(?:$|\\s)\\s*")}var h=function(hj,i){var hk=hj.className;var hi=Y(i).exec(hk);if(hi){var hl=hk.slice(hi.index+hi[0].length);hj.className=hk.slice(0,hi.index)+(hl?hi[1]+hl:"")}};function ey(hi){for(var i=hi.childNodes.length;i>0;--i){hi.removeChild(hi.firstChild)}return hi}function cc(i,hi){return ey(i).appendChild(hi)}function gX(hi,hm,hl,hk){var hn=document.createElement(hi);if(hl){hn.className=hl}if(hk){hn.style.cssText=hk}if(typeof hm=="string"){hn.appendChild(document.createTextNode(hm))}else{if(hm){for(var hj=0;hj<hm.length;++hj){hn.appendChild(hm[hj])}}}return hn}function g4(i,hk,hj,hi){var hl=gX(i,hk,hj,hi);hl.setAttribute("role","presentation");return hl}var cK;if(document.createRange){cK=function(hk,hl,hi,i){var hj=document.createRange();hj.setEnd(i||hk,hi);hj.setStart(hk,hl);return hj}}else{cK=function(hj,hl,i){var hi=document.body.createTextRange();try{hi.moveToElementText(hj.parentNode)}catch(hk){return hi}hi.collapse(true);hi.moveEnd("character",i);hi.moveStart("character",hl);return hi}}function g8(i,hi){if(hi.nodeType==3){hi=hi.parentNode}if(i.contains){return i.contains(hi)}do{if(hi.nodeType==11){hi=hi.host}if(hi==i){return true}}while(hi=hi.parentNode)}function eh(){var i;try{i=document.activeElement}catch(hi){i=document.body||null}while(i&&i.shadowRoot&&i.shadowRoot.activeElement){i=i.shadowRoot.activeElement}return i}function gn(hi,i){var hj=hi.className;if(!Y(i).test(hj)){hi.className+=(hj?" ":"")+i}}function gM(hk,hi){var hj=hk.split(" ");for(var hl=0;hl<hj.length;hl++){if(hj[hl]&&!Y(hj[hl]).test(hi)){hi+=" "+hj[hl]}}return hi}var ee=function(i){i.select()};if(fL){ee=function(i){i.selectionStart=0;i.selectionEnd=i.value.length}}else{if(ed){ee=function(hi){try{hi.select()}catch(i){}}}}function cU(hi){var i=Array.prototype.slice.call(arguments,1);return function(){return hi.apply(null,i)}}function aX(hj,hi,i){if(!hi){hi={}}for(var hk in hj){if(hj.hasOwnProperty(hk)&&(i!==false||!hi.hasOwnProperty(hk))){hi[hk]=hj[hk]}}return hi}function cb(hl,hj,hn,ho,hk){if(hj==null){hj=hl.search(/[^\s\u00a0]/);if(hj==-1){hj=hl.length}}for(var hm=ho||0,hp=hk||0;;){var hi=hl.indexOf("\t",hm);if(hi<0||hi>=hj){return hp+(hj-hm)}hp+=hi-hm;hp+=hn-(hp%hn);hm=hi+1}}var hh=function(){this.id=null};hh.prototype.set=function(i,hi){clearTimeout(this.id);this.id=setTimeout(hi,i)};function dN(hk,hi){for(var hj=0;hj<hk.length;++hj){if(hk[hj]==hi){return hj}}return -1}var ec=30;var cx={toString:function(){return"CodeMirror.Pass"}};var ah={scroll:false};var R={origin:"*mouse"};var dm={origin:"+move"};function e0(hl,hk,hm){for(var hn=0,hj=0;;){var hi=hl.indexOf("\t",hn);if(hi==-1){hi=hl.length}var i=hi-hn;if(hi==hl.length||hj+i>=hk){return hn+Math.min(i,hk-hj)}hj+=hi-hn;hj+=hm-(hj%hm);hn=hi+1;if(hj>=hk){return hn}}}var bb=[""];function cO(i){while(bb.length<=i){bb.push(gt(bb)+" ")}return bb[i]}function gt(i){return i[i.length-1]}function cd(hl,hk){var hi=[];for(var hj=0;hj<hl.length;hj++){hi[hj]=hk(hl[hj],hj)}return hi}function cv(hl,hi,hj){var hk=0,i=hj(hi);while(hk<hl.length&&hj(hl[hk])<=i){hk++}hl.splice(hk,0,hi)}function gN(){}function cI(hj,i){var hi;if(Object.create){hi=Object.create(hj)}else{gN.prototype=hj;hi=new gN()}if(i){aX(i,hi)}return hi}var bn=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function gq(i){return/\w/.test(i)||i>"\x80"&&(i.toUpperCase()!=i.toLowerCase()||bn.test(i))}function cZ(i,hi){if(!hi){return gq(i)}if(hi.source.indexOf("\\w")>-1&&gq(i)){return true}return hi.test(i)}function fD(i){for(var hi in i){if(i.hasOwnProperty(hi)&&i[hi]){return false}}return true}var fq=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function f8(i){return i.charCodeAt(0)>=768&&fq.test(i)}function eS(hi,hj,i){while((i<0?hj>0:hj<hi.length)&&f8(hi.charAt(hj))){hj+=i}return hj}function cL(i,hk,hj){for(;;){if(Math.abs(hk-hj)<=1){return i(hk)?hk:hj}var hi=Math.floor((hk+hj)/2);if(i(hi)){hj=hi}else{hk=hi}}}function fo(hi,hk,hj){var hl=this;this.input=hj;hl.scrollbarFiller=gX("div",null,"CodeMirror-scrollbar-filler");hl.scrollbarFiller.setAttribute("cm-not-content","true");hl.gutterFiller=gX("div",null,"CodeMirror-gutter-filler");hl.gutterFiller.setAttribute("cm-not-content","true");hl.lineDiv=g4("div",null,"CodeMirror-code");hl.selectionDiv=gX("div",null,null,"position: relative; z-index: 1");hl.cursorDiv=gX("div",null,"CodeMirror-cursors");hl.measure=gX("div",null,"CodeMirror-measure");hl.lineMeasure=gX("div",null,"CodeMirror-measure");hl.lineSpace=g4("div",[hl.measure,hl.lineMeasure,hl.selectionDiv,hl.cursorDiv,hl.lineDiv],null,"position: relative; outline: none");var i=g4("div",[hl.lineSpace],"CodeMirror-lines");hl.mover=gX("div",[i],null,"position: relative");hl.sizer=gX("div",[hl.mover],"CodeMirror-sizer");hl.sizerWidth=null;hl.heightForcer=gX("div",null,null,"position: absolute; height: "+ec+"px; width: 1px;");hl.gutters=gX("div",null,"CodeMirror-gutters");hl.lineGutter=null;hl.scroller=gX("div",[hl.sizer,hl.heightForcer,hl.gutters],"CodeMirror-scroll");hl.scroller.setAttribute("tabIndex","-1");hl.wrapper=gX("div",[hl.scrollbarFiller,hl.gutterFiller,hl.scroller],"CodeMirror");if(ed&&m<8){hl.gutters.style.zIndex=-1;hl.scroller.style.paddingRight=0}if(!dr&&!(cN&&eO)){hl.scroller.draggable=true}if(hi){if(hi.appendChild){hi.appendChild(hl.wrapper)}else{hi(hl.wrapper)}}hl.viewFrom=hl.viewTo=hk.first;hl.reportedViewFrom=hl.reportedViewTo=hk.first;hl.view=[];hl.renderedView=null;hl.externalMeasured=null;hl.viewOffset=0;hl.lastWrapHeight=hl.lastWrapWidth=0;hl.updateLineNumbers=null;hl.nativeBarWidth=hl.barHeight=hl.barWidth=0;hl.scrollbarsClipped=false;hl.lineNumWidth=hl.lineNumInnerWidth=hl.lineNumChars=null;hl.alignWidgets=false;hl.cachedCharWidth=hl.cachedTextHeight=hl.cachedPaddingH=null;hl.maxLine=null;hl.maxLineLength=0;hl.maxLineChanged=false;hl.wheelDX=hl.wheelDY=hl.wheelStartX=hl.wheelStartY=null;hl.shift=false;hl.selForContextMenu=null;hl.activeTouch=null;hj.init(hl)}function fZ(hl,hn){hn-=hl.first;if(hn<0||hn>=hl.size){throw new Error("There is no line "+(hn+hl.first)+" in the document.")}var hi=hl;while(!hi.lines){for(var hj=0;;++hj){var hm=hi.children[hj],hk=hm.chunkSize();if(hn<hk){hi=hm;break}hn-=hk}}return hi.lines[hn]}function g0(hj,hl,i){var hi=[],hk=hl.line;hj.iter(hl.line,i.line+1,function(hm){var hn=hm.text;if(hk==i.line){hn=hn.slice(0,i.ch)}if(hk==hl.line){hn=hn.slice(hl.ch)}hi.push(hn);++hk});return hi}function bd(hi,hk,hj){var i=[];hi.iter(hk,hj,function(hl){i.push(hl.text)});return i}function g3(hi,i){var hj=i-hi.height;if(hj){for(var hk=hi;hk;hk=hk.parent){hk.height+=hj}}}function b6(hi){if(hi.parent==null){return null}var hm=hi.parent,hl=dN(hm.lines,hi);for(var hj=hm.parent;hj;hm=hj,hj=hj.parent){for(var hk=0;;++hk){if(hj.children[hk]==hm){break}hl+=hj.children[hk].chunkSize()}}return hl+hm.first}function bZ(ho,hn){var hl=ho.first;outer:do{for(var hk=0;hk<ho.children.length;++hk){var hj=ho.children[hk],hi=hj.height;if(hn<hi){ho=hj;continue outer}hn-=hi;hl+=hj.chunkSize()}return hl}while(!ho.lines);var hm=0;for(;hm<ho.lines.length;++hm){var hq=ho.lines[hm],hp=hq.height;if(hn<hp){break}hn-=hp}return hl+hm}function cu(hi,i){return i>=hi.first&&i<hi.first+hi.size}function e3(hi,hj){return String(hi.lineNumberFormatter(hj+hi.firstLineNumber))}function ac(i,hi,hj){if(hj===void 0){hj=null}if(!(this instanceof ac)){return new ac(i,hi,hj)}this.line=i;this.ch=hi;this.sticky=hj}function cC(hi,i){return hi.line-i.line||hi.ch-i.ch}function ad(hi,i){return hi.sticky==i.sticky&&cC(hi,i)==0}function cF(i){return ac(i.line,i.ch)}function bP(hi,i){return cC(hi,i)<0?i:hi}function az(hi,i){return cC(hi,i)<0?hi:i}function dw(i,hi){return Math.max(i.first,Math.min(hi,i.first+i.size-1))}function gy(hi,hj){if(hj.line<hi.first){return ac(hi.first,0)}var i=hi.first+hi.size-1;if(hj.line>i){return ac(i,fZ(hi,i).text.length)}return gb(hj,fZ(hi,hj.line).text.length)}function gb(hj,hi){var i=hj.ch;if(i==null||i>hi){return ac(hj.line,hi)}else{if(i<0){return ac(hj.line,0)}else{return hj}}}function ew(hk,hl){var hi=[];for(var hj=0;hj<hl.length;hj++){hi[hj]=gy(hk,hl[hj])}return hi}var hc=false;var bi=false;function gl(){hc=true}function bO(){bi=true}function eR(i,hj,hi){this.marker=i;this.from=hj;this.to=hi}function fU(hk,hi){if(hk){for(var hj=0;hj<hk.length;++hj){var hl=hk[hj];if(hl.marker==hi){return hl}}}}function fn(hj,hk){var hl;for(var hi=0;hi<hj.length;++hi){if(hj[hi]!=hk){(hl||(hl=[])).push(hj[hi])}}return hl}function cA(i,hi){i.markedSpans=i.markedSpans?i.markedSpans.concat([hi]):[hi];hi.marker.attachLine(i)}function a1(hj,hk,ho){var hp;if(hj){for(var hm=0;hm<hj.length;++hm){var hq=hj[hm],hn=hq.marker;var hi=hq.from==null||(hn.inclusiveLeft?hq.from<=hk:hq.from<hk);if(hi||hq.from==hk&&hn.type=="bookmark"&&(!ho||!hq.marker.insertLeft)){var hl=hq.to==null||(hn.inclusiveRight?hq.to>=hk:hq.to>hk);(hp||(hp=[])).push(new eR(hn,hq.from,hl?null:hq.to))}}}return hp}function aJ(hj,hl,ho){var hp;if(hj){for(var hm=0;hm<hj.length;++hm){var hq=hj[hm],hn=hq.marker;var hk=hq.to==null||(hn.inclusiveRight?hq.to>=hl:hq.to>hl);if(hk||hq.from==hl&&hn.type=="bookmark"&&(!ho||hq.marker.insertLeft)){var hi=hq.from==null||(hn.inclusiveLeft?hq.from<=hl:hq.from<hl);(hp||(hp=[])).push(new eR(hn,hi?null:hq.from-hl,hq.to==null?null:hq.to-hl))}}}return hp}function eT(hD,ht){if(ht.full){return null}var hk=cu(hD,ht.from.line)&&fZ(hD,ht.from.line).markedSpans;var hr=cu(hD,ht.to.line)&&fZ(hD,ht.to.line).markedSpans;if(!hk&&!hr){return null}var hq=ht.from.ch,hy=ht.to.ch,hv=cC(ht.from,ht.to)==0;var hp=a1(hk,hq,hv);var hs=aJ(hr,hy,hv);var hw=ht.text.length==1,hn=gt(ht.text).length+(hw?hq:0);if(hp){for(var hB=0;hB<hp.length;++hB){var hA=hp[hB];if(hA.to==null){var hu=fU(hs,hA.marker);if(!hu){hA.to=hq}else{if(hw){hA.to=hu.to==null?null:hu.to+hn}}}}}if(hs){for(var ho=0;ho<hs.length;++ho){var hz=hs[ho];if(hz.to!=null){hz.to+=hn}if(hz.from==null){var hj=fU(hp,hz.marker);if(!hj){hz.from=hn;if(hw){(hp||(hp=[])).push(hz)}}}else{hz.from+=hn;if(hw){(hp||(hp=[])).push(hz)}}}}if(hp){hp=s(hp)}if(hs&&hs!=hp){hs=s(hs)}var hC=[hp];if(!hw){var hx=ht.text.length-2,hi;if(hx>0&&hp){for(var hm=0;hm<hp.length;++hm){if(hp[hm].to==null){(hi||(hi=[])).push(new eR(hp[hm].marker,null,null))}}}for(var hl=0;hl<hx;++hl){hC.push(hi)}hC.push(hs)}return hC}function s(hj){for(var hi=0;hi<hj.length;++hi){var hk=hj[hi];if(hk.from!=null&&hk.from==hk.to&&hk.marker.clearWhenEmpty!==false){hj.splice(hi--,1)}}if(!hj.length){return null}return hj}function c8(hu,hs,ht){var hm=null;hu.iter(hs.line,ht.line+1,function(hv){if(hv.markedSpans){for(var hw=0;hw<hv.markedSpans.length;++hw){var hx=hv.markedSpans[hw].marker;if(hx.readOnly&&(!hm||dN(hm,hx)==-1)){(hm||(hm=[])).push(hx)}}}});if(!hm){return null}var hn=[{from:hs,to:ht}];for(var ho=0;ho<hm.length;++ho){var hp=hm[ho],hk=hp.find(0);for(var hl=0;hl<hn.length;++hl){var hj=hn[hl];if(cC(hj.to,hk.from)<0||cC(hj.from,hk.to)>0){continue}var hr=[hl,1],hi=cC(hj.from,hk.from),hq=cC(hj.to,hk.to);if(hi<0||!hp.inclusiveLeft&&!hi){hr.push({from:hj.from,to:hk.from})}if(hq>0||!hp.inclusiveRight&&!hq){hr.push({from:hk.to,to:hj.to})}hn.splice.apply(hn,hr);hl+=hr.length-3}}return hn}function g6(hi){var hk=hi.markedSpans;if(!hk){return}for(var hj=0;hj<hk.length;++hj){hk[hj].marker.detachLine(hi)}hi.markedSpans=null}function du(hi,hk){if(!hk){return}for(var hj=0;hj<hk.length;++hj){hk[hj].marker.attachLine(hi)}hi.markedSpans=hk}function w(i){return i.inclusiveLeft?-1:0}function cg(i){return i.inclusiveRight?1:0}function el(hk,hi){var hm=hk.lines.length-hi.lines.length;if(hm!=0){return hm}var hj=hk.find(),hn=hi.find();var i=cC(hj.from,hn.from)||w(hk)-w(hi);if(i){return -i}var hl=cC(hj.to,hn.to)||cg(hk)-cg(hi);if(hl){return hl}return hi.id-hk.id}function bh(hj,hn){var hi=bi&&hj.markedSpans,hm;if(hi){for(var hl=(void 0),hk=0;hk<hi.length;++hk){hl=hi[hk];if(hl.marker.collapsed&&(hn?hl.from:hl.to)==null&&(!hm||el(hm,hl.marker)<0)){hm=hl.marker}}}return hm}function fx(i){return bh(i,true)}function e8(i){return bh(i,false)}function A(hq,hk,ho,hp,hm){var ht=fZ(hq,hk);var hi=bi&&ht.markedSpans;if(hi){for(var hl=0;hl<hi.length;++hl){var hj=hi[hl];if(!hj.marker.collapsed){continue}var hs=hj.marker.find(0);var hr=cC(hs.from,ho)||w(hj.marker)-w(hm);var hn=cC(hs.to,hp)||cg(hj.marker)-cg(hm);if(hr>=0&&hn<=0||hr<=0&&hn>=0){continue}if(hr<=0&&(hj.marker.inclusiveRight&&hm.inclusiveLeft?cC(hs.to,ho)>=0:cC(hs.to,ho)>0)||hr>=0&&(hj.marker.inclusiveRight&&hm.inclusiveLeft?cC(hs.from,hp)<=0:cC(hs.from,hp)<0)){return true}}}}function z(hi){var i;while(i=fx(hi)){hi=i.find(-1,true).line}return hi}function cH(hi){var i;while(i=e8(hi)){hi=i.find(1,true).line}return hi}function g(hj){var i,hi;while(i=e8(hj)){hj=i.find(1,true).line;(hi||(hi=[])).push(hj)}return hi}function a7(hk,hi){var i=fZ(hk,hi),hj=z(i);if(i==hj){return hi}return b6(hj)}function eA(hk,hj){if(hj>hk.lastLine()){return hj}var hi=fZ(hk,hj),i;if(!gg(hk,hi)){return hj}while(i=e8(hi)){hi=i.find(1,true).line}return b6(hi)+1}function gg(hm,hj){var hi=bi&&hj.markedSpans;if(hi){for(var hl=(void 0),hk=0;hk<hi.length;++hk){hl=hi[hk];if(!hl.marker.collapsed){continue}if(hl.from==null){return true}if(hl.marker.widgetNode){continue}if(hl.from==0&&hl.marker.inclusiveLeft&&Z(hm,hj,hl)){return true}}}}function Z(hn,hj,hl){if(hl.to==null){var hi=hl.marker.find(1,true);return Z(hn,hi.line,fU(hi.line.markedSpans,hl.marker))}if(hl.marker.inclusiveRight&&hl.to==hj.text.length){return true}for(var hm=(void 0),hk=0;hk<hj.markedSpans.length;++hk){hm=hj.markedSpans[hk];if(hm.marker.collapsed&&!hm.marker.widgetNode&&hm.from==hl.to&&(hm.to==null||hm.to!=hl.from)&&(hm.marker.inclusiveLeft||hl.marker.inclusiveRight)&&Z(hn,hj,hm)){return true}}}function b5(hk){hk=z(hk);var hm=0,hj=hk.parent;for(var hl=0;hl<hj.lines.length;++hl){var hi=hj.lines[hl];if(hi==hk){break}else{hm+=hi.height}}for(var hn=hj.parent;hn;hj=hn,hn=hj.parent){for(var hp=0;hp<hn.children.length;++hp){var ho=hn.children[hp];if(ho==hj){break}else{hm+=ho.height}}}return hm}function eW(hj){if(hj.height==0){return 0}var hi=hj.text.length,i,hm=hj;while(i=fx(hm)){var hk=i.find(0,true);hm=hk.from.line;hi+=hk.from.ch-hk.to.ch}hm=hj;while(i=e8(hm)){var hl=i.find(0,true);hi-=hm.text.length-hl.from.ch;hm=hl.to.line;hi+=hm.text.length-hl.to.ch}return hi}function f(i){var hj=i.display,hi=i.doc;hj.maxLine=fZ(hi,hi.first);hj.maxLineLength=eW(hj.maxLine);hj.maxLineChanged=true;hi.iter(function(hl){var hk=eW(hl);if(hk>hj.maxLineLength){hj.maxLineLength=hk;hj.maxLine=hl}})}function eB(hi,ho,hn,hm){if(!hi){return hm(ho,hn,"ltr")}var hl=false;for(var hk=0;hk<hi.length;++hk){var hj=hi[hk];if(hj.from<hn&&hj.to>ho||ho==hn&&hj.to==ho){hm(Math.max(hj.from,ho),Math.min(hj.to,hn),hj.level==1?"rtl":"ltr");hl=true}}if(!hl){hm(ho,hn,"ltr")}}var fN=null;function aQ(hi,hk,hm){var hl;fN=null;for(var hj=0;hj<hi.length;++hj){var hn=hi[hj];if(hn.from<hk&&hn.to>hk){return hj}if(hn.to==hk){if(hn.from!=hn.to&&hm=="before"){hl=hj}else{fN=hj}}if(hn.from==hk){if(hn.from!=hn.to&&hm!="before"){hl=hj}else{fN=hj}}}return hl!=null?hl:fN}var bt=(function(){var hn="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN";var hl="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function hk(hq){if(hq<=247){return hn.charAt(hq)}else{if(1424<=hq&&hq<=1524){return"R"}else{if(1536<=hq&&hq<=1785){return hl.charAt(hq-1536)}else{if(1774<=hq&&hq<=2220){return"r"}else{if(8192<=hq&&hq<=8203){return"w"}else{if(hq==8204){return"b"}else{return"L"}}}}}}}var i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;var hp=/[stwN]/,hj=/[LRr]/,hi=/[Lb1n]/,hm=/[1n]/;function ho(hs,hr,hq){this.level=hs;this.from=hr;this.to=hq}return function(hN,ht){var hC=ht=="ltr"?"L":"R";if(hN.length==0||ht=="ltr"&&!i.test(hN)){return false}var hw=hN.length,hW=[];for(var hZ=0;hZ<hw;++hZ){hW.push(hk(hN.charCodeAt(hZ)))}for(var hK=0,hJ=hC;hK<hw;++hK){var h0=hW[hK];if(h0=="m"){hW[hK]=hJ}else{hJ=h0}}for(var hI=0,hs=hC;hI<hw;++hI){var hV=hW[hI];if(hV=="1"&&hs=="r"){hW[hI]="n"}else{if(hj.test(hV)){hs=hV;if(hV=="r"){hW[hI]="R"}}}}for(var hH=1,hr=hW[0];hH<hw-1;++hH){var hU=hW[hH];if(hU=="+"&&hr=="1"&&hW[hH+1]=="1"){hW[hH]="1"}else{if(hU==","&&hr==hW[hH+1]&&(hr=="1"||hr=="n")){hW[hH]=hr}}hr=hU}for(var hG=0;hG<hw;++hG){var hT=hW[hG];if(hT==","){hW[hG]="N"}else{if(hT=="%"){var hv=(void 0);for(hv=hG+1;hv<hw&&hW[hv]=="%";++hv){}var hA=(hG&&hW[hG-1]=="!")||(hv<hw&&hW[hv]=="1")?"1":"N";for(var hY=hG;hY<hv;++hY){hW[hY]=hA}hG=hv-1}}}for(var hF=0,hz=hC;hF<hw;++hF){var hR=hW[hF];if(hz=="L"&&hR=="1"){hW[hF]="L"}else{if(hj.test(hR)){hz=hR}}}for(var hE=0;hE<hw;++hE){if(hp.test(hW[hE])){var hO=(void 0);for(hO=hE+1;hO<hw&&hp.test(hW[hO]);++hO){}var hQ=(hE?hW[hE-1]:hC)=="L";var hS=(hO<hw?hW[hO]:hC)=="L";var hM=hQ==hS?(hQ?"L":"R"):hC;for(var hy=hE;hy<hO;++hy){hW[hy]=hM}hE=hO-1}}var hP=[],hX;for(var hD=0;hD<hw;){if(hi.test(hW[hD])){var hB=hD;for(++hD;hD<hw&&hi.test(hW[hD]);++hD){}hP.push(new ho(0,hB,hD))}else{var hL=hD,hq=hP.length;for(++hD;hD<hw&&hW[hD]!="L";++hD){}for(var hx=hL;hx<hD;){if(hm.test(hW[hx])){if(hL<hx){hP.splice(hq,0,new ho(1,hL,hx))}var hu=hx;for(++hx;hx<hD&&hm.test(hW[hx]);++hx){}hP.splice(hq,0,new ho(2,hu,hx));hL=hx}else{++hx}}if(hL<hD){hP.splice(hq,0,new ho(1,hL,hD))}}}if(hP[0].level==1&&(hX=hN.match(/^\s+/))){hP[0].from=hX[0].length;hP.unshift(new ho(0,0,hX[0].length))}if(gt(hP).level==1&&(hX=hN.match(/\s+$/))){gt(hP).to-=hX[0].length;hP.push(new ho(0,hw-hX[0].length,hw))}return ht=="rtl"?hP.reverse():hP}})();function a(hi,hj){var i=hi.order;if(i==null){i=hi.order=bt(hi.text,hj)}return i}function bG(i,hj,hi){var hk=eS(i.text,hj+hi,hi);return hk<0||hk>i.text.length?null:hk}function aq(i,hk,hi){var hj=bG(i,hk.ch,hi);return hj==null?null:new ac(hk.line,hj,hi<0?"after":"before")}function fd(hi,hq,hn,hm,hk){if(hi){var hl=a(hn,hq.doc.direction);if(hl){var hj=hk<0?gt(hl):hl[0];var hs=(hk<0)==(hj.level==1);var hp=hs?"after":"before";var i;if(hj.level>0){var ho=bg(hq,hn);i=hk<0?hn.text.length-1:0;var hr=F(hq,ho,i).top;i=cL(function(ht){return F(hq,ho,ht).top==hr},(hk<0)==(hj.level==1)?hj.from:hj.to-1,i);if(hp=="before"){i=bG(hn,i,1)}}else{i=hk<0?hj.to:hj.from}return new ac(hm,i,hp)}}return new ac(hm,hk<0?hn.text.length:0,hk<0?"before":"after")}function v(hs,hx,hl,ho){var hu=a(hx,hs.doc.direction);if(!hu){return aq(hx,hl,ho)}if(hl.ch>=hx.text.length){hl.ch=hx.text.length;hl.sticky="before"}else{if(hl.ch<=0){hl.ch=0;hl.sticky="after"}}var hk=aQ(hu,hl.ch,hl.sticky),hm=hu[hk];if(hs.doc.direction=="ltr"&&hm.level%2==0&&(ho>0?hm.to>hl.ch:hm.from<hl.ch)){return aq(hx,hl,ho)}var hv=function(hz,hy){return bG(hx,hz instanceof ac?hz.ch:hz,hy)};var hp;var ht=function(hy){if(!hs.options.lineWrapping){return{begin:0,end:hx.text.length}}hp=hp||bg(hs,hx);return bz(hs,hx,hp,hy)};var hn=ht(hl.sticky=="before"?hv(hl,-1):hl.ch);if(hs.doc.direction=="rtl"||hm.level==1){var hw=(hm.level==1)==(ho<0);var hi=hv(hl,hw?1:-1);if(hi!=null&&(!hw?hi>=hm.from&&hi>=hn.begin:hi<=hm.to&&hi<=hn.end)){var hr=hw?"before":"after";return new ac(hl.line,hi,hr)}}var hj=function(hy,hB,hE){var hA=function(hG,hF){return hF?new ac(hl.line,hv(hG,1),"before"):new ac(hl.line,hG,"after")};for(;hy>=0&&hy<hu.length;hy+=hB){var hz=hu[hy];var hC=(hB>0)==(hz.level!=1);var hD=hC?hE.begin:hv(hE.end,-1);if(hz.from<=hD&&hD<hz.to){return hA(hD,hC)}hD=hC?hz.from:hv(hz.to,-1);if(hE.begin<=hD&&hD<hE.end){return hA(hD,hC)}}};var hq=hj(hk+ho,ho,hn);if(hq){return hq}var i=ho>0?hn.end:hv(hn.begin,-1);if(i!=null&&!(ho>0&&i==hx.text.length)){hq=hj(ho>0?0:hu.length-1,ho,ht(i));if(hq){return hq}}return null}var fQ=[];var ch=function(hj,i,hi){if(hj.addEventListener){hj.addEventListener(i,hi,false)}else{if(hj.attachEvent){hj.attachEvent("on"+i,hi)}else{var hk=hj._handlers||(hj._handlers={});hk[i]=(hk[i]||fQ).concat(hi)}}};function eU(hi,i){return hi._handlers&&hi._handlers[i]||fQ}function eN(hl,hj,hk){if(hl.removeEventListener){hl.removeEventListener(hj,hk,false)}else{if(hl.detachEvent){hl.detachEvent("on"+hj,hk)}else{var hm=hl._handlers,i=hm&&hm[hj];if(i){var hi=dN(i,hk);if(hi>-1){hm[hj]=i.slice(0,hi).concat(i.slice(hi+1))}}}}}function aM(hm,hl){var hi=eU(hm,hl);if(!hi.length){return}var hj=Array.prototype.slice.call(arguments,2);for(var hk=0;hk<hi.length;++hk){hi[hk].apply(null,hj)}}function a2(i,hj,hi){if(typeof hj=="string"){hj={type:hj,preventDefault:function(){this.defaultPrevented=true}}}aM(i,hi||hj.type,i,hj);return b4(hj)||hj.codemirrorIgnore}function ab(hj){var hi=hj._handlers&&hj._handlers.cursorActivity;if(!hi){return}var hl=hj.curOp.cursorActivityHandlers||(hj.curOp.cursorActivityHandlers=[]);for(var hk=0;hk<hi.length;++hk){if(dN(hl,hi[hk])==-1){hl.push(hi[hk])}}}function f4(hi,i){return eU(hi,i).length>0}function bR(i){i.prototype.on=function(hi,hj){ch(this,hi,hj)};i.prototype.off=function(hi,hj){eN(this,hi,hj)}}function c5(i){if(i.preventDefault){i.preventDefault()}else{i.returnValue=false}}function dV(i){if(i.stopPropagation){i.stopPropagation()}else{i.cancelBubble=true}}function b4(i){return i.defaultPrevented!=null?i.defaultPrevented:i.returnValue==false}function e1(i){c5(i);dV(i)}function Q(i){return i.target||i.srcElement}function gD(hi){var i=hi.which;if(i==null){if(hi.button&1){i=1}else{if(hi.button&2){i=3}else{if(hi.button&4){i=2}}}}if(cs&&hi.ctrlKey&&i==1){i=3}return i}var fs=function(){if(ed&&m<9){return false}var i=gX("div");return"draggable" in i||"dragDrop" in i}();var gB;function bD(i){if(gB==null){var hj=gX("span","\u200b");cc(i,gX("span",[hj,document.createTextNode("x")]));if(i.firstChild.offsetHeight!=0){gB=hj.offsetWidth<=1&&hj.offsetHeight>2&&!(ed&&m<8)}}var hi=gB?gX("span","\u200b"):gX("span","\u00a0",null,"display: inline-block; width: 1px; margin-right: -1px");hi.setAttribute("cm-text","");return hi}var gC;function b7(hk){if(gC!=null){return gC}var i=cc(hk,document.createTextNode("A\u062eA"));var hj=cK(i,0,1).getBoundingClientRect();var hi=cK(i,1,2).getBoundingClientRect();ey(hk);if(!hj||hj.left==hj.right){return false}return gC=(hi.right-hj.right<3)}var gI="\n\nb".split(/\n/).length!=3?function(hm){var hn=0,i=[],hl=hm.length;while(hn<=hl){var hk=hm.indexOf("\n",hn);if(hk==-1){hk=hm.length}var hj=hm.slice(hn,hm.charAt(hk-1)=="\r"?hk-1:hk);var hi=hj.indexOf("\r");if(hi!=-1){i.push(hj.slice(0,hi));hn+=hi+1}else{i.push(hj);hn=hk+1}}return i}:function(i){return i.split(/\r\n?|\n/)};var bJ=window.getSelection?function(hi){try{return hi.selectionStart!=hi.selectionEnd}catch(i){return false}}:function(hj){var i;try{i=hj.ownerDocument.selection.createRange()}catch(hi){}if(!i||i.parentElement()!=hj){return false}return i.compareEndPoints("StartToEnd",i)!=0};var dE=(function(){var i=gX("div");if("oncopy" in i){return true}i.setAttribute("oncopy","return;");return typeof i.oncopy=="function"})();var fR=null;function aU(hi){if(fR!=null){return fR}var hj=cc(hi,gX("span","x"));var hk=hj.getBoundingClientRect();var i=cK(hj,0,1).getBoundingClientRect();return fR=Math.abs(hk.left-i.left)>1}var dX={};var a3={};function e5(i,hi){if(arguments.length>2){hi.dependencies=Array.prototype.slice.call(arguments,2)}dX[i]=hi}function bC(hi,i){a3[hi]=i}function g9(i){if(typeof i=="string"&&a3.hasOwnProperty(i)){i=a3[i]}else{if(i&&typeof i.name=="string"&&a3.hasOwnProperty(i.name)){var hi=a3[i.name];if(typeof hi=="string"){hi={name:hi}}i=cI(hi,i);i.name=hi.name}else{if(typeof i=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(i)){return g9("application/xml")}else{if(typeof i=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(i)){return g9("application/json")}}}}if(typeof i=="string"){return{name:i}}else{return i||{name:"null"}}}function gm(hj,hi){hi=g9(hi);var hl=dX[hi.name];if(!hl){return gm(hj,"text/plain")}var hm=hl(hj,hi);if(dU.hasOwnProperty(hi.name)){var hk=dU[hi.name];for(var hn in hk){if(!hk.hasOwnProperty(hn)){continue}if(hm.hasOwnProperty(hn)){hm["_"+hn]=hm[hn]}hm[hn]=hk[hn]}}hm.name=hi.name;if(hi.helperType){hm.helperType=hi.helperType}if(hi.modeProps){for(var i in hi.modeProps){hm[i]=hi.modeProps[i]}}return hm}var dU={};function fi(hj,hi){var i=dU.hasOwnProperty(hj)?dU[hj]:(dU[hj]={});aX(hi,i)}function co(hk,i){if(i===true){return i}if(hk.copyState){return hk.copyState(i)}var hj={};for(var hl in i){var hi=i[hl];if(hi instanceof Array){hi=hi.concat([])}hj[hl]=hi}return hj}function g5(hj,i){var hi;while(hj.innerMode){hi=hj.innerMode(i);if(!hi||hi.mode==hj){break}i=hi.state;hj=hi.mode}return hi||{mode:hj,state:i}}function cl(hj,hi,i){return hj.startState?hj.startState(hi,i):true}var fC=function(i,hj,hi){this.pos=this.start=0;this.string=i;this.tabSize=hj||8;this.lastColumnPos=this.lastColumnValue=0;this.lineStart=0;this.lineOracle=hi};fC.prototype.eol=function(){return this.pos>=this.string.length};fC.prototype.sol=function(){return this.pos==this.lineStart};fC.prototype.peek=function(){return this.string.charAt(this.pos)||undefined};fC.prototype.next=function(){if(this.pos<this.string.length){return this.string.charAt(this.pos++)}};fC.prototype.eat=function(i){var hj=this.string.charAt(this.pos);var hi;if(typeof i=="string"){hi=hj==i}else{hi=hj&&(i.test?i.test(hj):i(hj))}if(hi){++this.pos;return hj}};fC.prototype.eatWhile=function(i){var hi=this.pos;while(this.eat(i)){}return this.pos>hi};fC.prototype.eatSpace=function(){var hi=this;var i=this.pos;while(/[\s\u00a0]/.test(this.string.charAt(this.pos))){++hi.pos}return this.pos>i};fC.prototype.skipToEnd=function(){this.pos=this.string.length};fC.prototype.skipTo=function(i){var hi=this.string.indexOf(i,this.pos);if(hi>-1){this.pos=hi;return true}};fC.prototype.backUp=function(i){this.pos-=i};fC.prototype.column=function(){if(this.lastColumnPos<this.start){this.lastColumnValue=cb(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue);this.lastColumnPos=this.start}return this.lastColumnValue-(this.lineStart?cb(this.string,this.lineStart,this.tabSize):0)};fC.prototype.indentation=function(){return cb(this.string,null,this.tabSize)-(this.lineStart?cb(this.string,this.lineStart,this.tabSize):0)};fC.prototype.match=function(hl,hi,i){if(typeof hl=="string"){var hm=function(hn){return i?hn.toLowerCase():hn};var hk=this.string.substr(this.pos,hl.length);if(hm(hk)==hm(hl)){if(hi!==false){this.pos+=hl.length}return true}}else{var hj=this.string.slice(this.pos).match(hl);if(hj&&hj.index>0){return null}if(hj&&hi!==false){this.pos+=hj[0].length}return hj}};fC.prototype.current=function(){return this.string.slice(this.start,this.pos)};fC.prototype.hideFirstChars=function(hi,i){this.lineStart+=hi;try{return i()}finally{this.lineStart-=hi}};fC.prototype.lookAhead=function(hi){var i=this.lineOracle;return i&&i.lookAhead(hi)};var aO=function(hi,i){this.state=hi;this.lookAhead=i};var ag=function(hk,hj,i,hi){this.state=hj;this.doc=hk;this.line=i;this.maxLookAhead=hi||0};ag.prototype.lookAhead=function(hi){var i=this.doc.getLine(this.line+hi);if(i!=null&&hi>this.maxLookAhead){this.maxLookAhead=hi}return i};ag.prototype.nextLine=function(){this.line++;if(this.maxLookAhead>0){this.maxLookAhead--}};ag.fromSaved=function(hj,hi,i){if(hi instanceof aO){return new ag(hj,co(hj.mode,hi.saved),i,hi.lookAhead)}else{return new ag(hj,co(hj.mode,hi),i)}};ag.prototype.save=function(hi){var i=hi!==false?co(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new aO(i,this.maxLookAhead):i};function gk(hn,hp,hi,hl){var ho=[hn.state.modeGen],hk={};x(hn,hp.text,hn.doc.mode,hi,function(hq,hr){return ho.push(hq,hr)},hk,hl);var i=hi.state;var hm=function(ht){var hr=hn.state.overlays[ht],hs=1,hq=0;hi.state=true;x(hn,hp.text,hr.mode,hi,function(hu,hw){var hy=hs;while(hq<hu){var hv=ho[hs];if(hv>hu){ho.splice(hs,1,hu,ho[hs+1],hv)}hs+=2;hq=Math.min(hu,hv)}if(!hw){return}if(hr.opaque){ho.splice(hy,hs-hy,hu,"overlay "+hw);hs=hy+2}else{for(;hy<hs;hy+=2){var hx=ho[hy+1];ho[hy+1]=(hx?hx+" ":"")+"overlay "+hw}}},hk)};for(var hj=0;hj<hn.state.overlays.length;++hj){hm(hj)}hi.state=i;return{styles:ho,classes:hk.bgClass||hk.textClass?hk:null}}function dA(hi,hk,hm){if(!hk.styles||hk.styles[0]!=hi.state.modeGen){var hl=fG(hi,b6(hk));var hj=hk.text.length>hi.options.maxHighlightLength&&co(hi.doc.mode,hl.state);var i=gk(hi,hk,hl);if(hj){hl.state=hj}hk.stateAfter=hl.save(!hj);hk.styles=i.styles;if(i.classes){hk.styleClasses=i.classes}else{if(hk.styleClasses){hk.styleClasses=null}}if(hm===hi.doc.highlightFrontier){hi.doc.modeFrontier=Math.max(hi.doc.modeFrontier,++hi.doc.highlightFrontier)}}return hk.styles}function fG(i,ho,hi){var hm=i.doc,hl=i.display;if(!hm.mode.startState){return new ag(hm,true,ho)}var hn=cX(i,ho,hi);var hk=hn>hm.first&&fZ(hm,hn-1).stateAfter;var hj=hk?ag.fromSaved(hm,hk,hn):new ag(hm,cl(hm.mode),hn);hm.iter(hn,ho,function(hp){d2(i,hp.text,hj);var hq=hj.line;hp.stateAfter=hq==ho-1||hq%5==0||hq>=hl.viewFrom&&hq<hl.viewTo?hj.save():null;hj.nextLine()});if(hi){hm.modeFrontier=hj.line}return hj}function d2(i,hm,hj,hi){var hl=i.doc.mode;var hk=new fC(hm,i.options.tabSize,hj);hk.start=hk.pos=hi||0;if(hm==""){f9(hl,hj.state)}while(!hk.eol()){fg(hl,hk,hj.state);hk.start=hk.pos}}function f9(hj,hi){if(hj.blankLine){return hj.blankLine(hi)}if(!hj.innerMode){return}var i=g5(hj,hi);if(i.mode.blankLine){return i.mode.blankLine(i.state)}}function fg(hn,hm,hl,hi){for(var hj=0;hj<10;hj++){if(hi){hi[0]=g5(hn,hl).mode}var hk=hn.token(hm,hl);if(hm.pos>hm.start){return hk}}throw new Error("Mode "+hn.name+" failed to advance stream.")}var dD=function(hj,i,hi){this.start=hj.start;this.end=hj.pos;this.string=hj.current();this.type=i||null;this.state=hi};function cP(hp,hn,hk,hj){var ho=hp.doc,hl=ho.mode,i;hn=gy(ho,hn);var hr=fZ(ho,hn.line),hi=fG(hp,hn.line,hk);var hq=new fC(hr.text,hp.options.tabSize,hi),hm;if(hj){hm=[]}while((hj||hq.pos<hn.ch)&&!hq.eol()){hq.start=hq.pos;i=fg(hl,hq,hi.state);if(hj){hm.push(new dD(hq,i,co(ho.mode,hi.state)))}}return hj?hm:new dD(hq,i,hi.state)}function dO(hj,hi){if(hj){for(;;){var i=hj.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!i){break}hj=hj.slice(0,i.index)+hj.slice(i.index+i[0].length);var hk=i[1]?"bgClass":"textClass";if(hi[hk]==null){hi[hk]=i[2]}else{if(!(new RegExp("(?:^|s)"+i[2]+"(?:$|s)")).test(hi[hk])){hi[hk]+=" "+i[2]}}}}return hj}function x(hr,ht,hm,hj,hn,hk,hl){var hi=hm.flattenSpans;if(hi==null){hi=hr.options.flattenSpans}var hp=0,ho=null;var hs=new fC(ht,hr.options.tabSize,hj),i;var hv=hr.options.addModeClass&&[null];if(ht==""){dO(f9(hm,hj.state),hk)}while(!hs.eol()){if(hs.pos>hr.options.maxHighlightLength){hi=false;if(hl){d2(hr,ht,hj,hs.pos)}hs.pos=ht.length;i=null}else{i=dO(fg(hm,hs,hj.state,hv),hk)}if(hv){var hu=hv[0].name;if(hu){i="m-"+(i?hu+" "+i:hu)}}if(!hi||ho!=i){while(hp<hs.start){hp=Math.min(hs.start,hp+5000);hn(hp,ho)}ho=i}hs.start=hs.pos}while(hp<hs.pos){var hq=Math.min(hs.pos,hp+5000);hn(hq,ho);hp=hq}}function cX(ho,hi,hl){var hj,hm,hn=ho.doc;var hk=hl?-1:hi-(ho.doc.mode.innerMode?1000:100);for(var hr=hi;hr>hk;--hr){if(hr<=hn.first){return hn.first}var hq=fZ(hn,hr-1),i=hq.stateAfter;if(i&&(!hl||hr+(i instanceof aO?i.lookAhead:0)<=hn.modeFrontier)){return hr}var hp=cb(hq.text,null,ho.options.tabSize);if(hm==null||hj>hp){hm=hr-1;hj=hp}}return hm}function hb(hj,hl){hj.modeFrontier=Math.min(hj.modeFrontier,hl);if(hj.highlightFrontier<hl-10){return}var hk=hj.first;for(var i=hl-1;i>hk;i--){var hi=fZ(hj,i).stateAfter;if(hi&&(!(hi instanceof aO)||i+hi.lookAhead<hl)){hk=i+1;break}}hj.highlightFrontier=Math.min(hj.highlightFrontier,hk)}var g2=function(hj,hi,i){this.text=hj;du(this,hi);this.height=i?i(this):1};g2.prototype.lineNo=function(){return b6(this)};bR(g2);function eX(hi,hl,hj,i){hi.text=hl;if(hi.stateAfter){hi.stateAfter=null}if(hi.styles){hi.styles=null}if(hi.order!=null){hi.order=null}g6(hi);du(hi,hj);var hk=i?i(hi):1;if(hk!=hi.height){g3(hi,hk)}}function bT(i){i.parent=null;g6(i)}var er={};var cn={};function fF(hj,hi){if(!hj||/^\s*$/.test(hj)){return null}var i=hi.addModeClass?cn:er;return i[hj]||(i[hj]=hj.replace(/\S+/g,"cm-$&"))}function fA(ho,hn){var hm=g4("span",null,null,dr?"padding-right: .1px":null);var hl={pre:g4("pre",[hm],"CodeMirror-line"),content:hm,col:0,pos:0,cm:ho,trailingSpace:false,splitSpaces:(ed||dr)&&ho.getOption("lineWrapping")};hn.measure={};for(var hk=0;hk<=(hn.rest?hn.rest.length:0);hk++){var hq=hk?hn.rest[hk-1]:hn.line,hj=(void 0);hl.pos=0;hl.addToken=u;if(b7(ho.display.measure)&&(hj=a(hq,ho.doc.direction))){hl.addToken=aa(hl.addToken,hj)}hl.map=[];var hi=hn!=ho.display.externalMeasured&&b6(hq);bE(hq,hl,dA(ho,hq,hi));if(hq.styleClasses){if(hq.styleClasses.bgClass){hl.bgClass=gM(hq.styleClasses.bgClass,hl.bgClass||"")}if(hq.styleClasses.textClass){hl.textClass=gM(hq.styleClasses.textClass,hl.textClass||"")}}if(hl.map.length==0){hl.map.push(0,0,hl.content.appendChild(bD(ho.display.measure)))}if(hk==0){hn.measure.map=hl.map;hn.measure.cache={}}else{(hn.measure.maps||(hn.measure.maps=[])).push(hl.map);(hn.measure.caches||(hn.measure.caches=[])).push({})}}if(dr){var hp=hl.content.lastChild;if(/\bcm-tab\b/.test(hp.className)||(hp.querySelector&&hp.querySelector(".cm-tab"))){hl.content.className="cm-tab-wrap-hack"}}aM(ho,"renderLine",ho,hn.line,hl.pre);if(hl.pre.className){hl.textClass=gM(hl.pre.className,hl.textClass||"")}return hl}function fY(hi){var i=gX("span","\u2022","cm-invalidchar");i.title="\\u"+hi.charCodeAt(0).toString(16);i.setAttribute("aria-label",i.title);return i}function u(hs,hn,hx,hu,hq,hA,hm){if(!hn){return}var hw=hs.splitSpaces?c4(hn,hs.trailingSpace):hn;var i=hs.cm.state.specialChars,hi=false;var hv;if(!i.test(hn)){hs.col+=hn.length;hv=document.createTextNode(hw);hs.map.push(hs.pos,hs.pos+hn.length,hv);if(ed&&m<9){hi=true}hs.pos+=hn.length}else{hv=document.createDocumentFragment();var hk=0;while(true){i.lastIndex=hk;var ht=i.exec(hn);var hz=ht?ht.index-hk:hn.length-hk;if(hz){var hp=document.createTextNode(hw.slice(hk,hk+hz));if(ed&&m<9){hv.appendChild(gX("span",[hp]))}else{hv.appendChild(hp)}hs.map.push(hs.pos,hs.pos+hz,hp);hs.col+=hz;hs.pos+=hz}if(!ht){break}hk+=hz+1;var hy=(void 0);if(ht[0]=="\t"){var hr=hs.cm.options.tabSize,ho=hr-hs.col%hr;hy=hv.appendChild(gX("span",cO(ho),"cm-tab"));hy.setAttribute("role","presentation");hy.setAttribute("cm-text","\t");hs.col+=ho}else{if(ht[0]=="\r"||ht[0]=="\n"){hy=hv.appendChild(gX("span",ht[0]=="\r"?"\u240d":"\u2424","cm-invalidchar"));hy.setAttribute("cm-text",ht[0]);hs.col+=1}else{hy=hs.cm.options.specialCharPlaceholder(ht[0]);hy.setAttribute("cm-text",ht[0]);if(ed&&m<9){hv.appendChild(gX("span",[hy]))}else{hv.appendChild(hy)}hs.col+=1}}hs.map.push(hs.pos,hs.pos+1,hy);hs.pos++}}hs.trailingSpace=hw.charCodeAt(hn.length-1)==32;if(hx||hu||hq||hi||hm){var hj=hx||"";if(hu){hj+=hu}if(hq){hj+=hq}var hl=gX("span",[hv],hj,hm);if(hA){hl.title=hA}return hs.content.appendChild(hl)}hs.content.appendChild(hv)}function c4(hn,hm){if(hn.length>1&&!/  /.test(hn)){return hn}var hj=hm,hi="";for(var hk=0;hk<hn.length;hk++){var hl=hn.charAt(hk);if(hl==" "&&hj&&(hk==hn.length-1||hn.charCodeAt(hk+1)==32)){hl="\u00a0"}hi+=hl;hj=hl==" "}return hi}function aa(hi,i){return function(hq,hs,hj,hn,ht,hr,hp){hj=hj?hj+" cm-force-border":"cm-force-border";var hk=hq.pos,hm=hk+hs.length;for(;;){var hl=(void 0);for(var ho=0;ho<i.length;ho++){hl=i[ho];if(hl.to>hk&&hl.from<=hk){break}}if(hl.to>=hm){return hi(hq,hs,hj,hn,ht,hr,hp)}hi(hq,hs.slice(0,hl.to-hk),hj,hn,null,hr,hp);hn=null;hs=hs.slice(hl.to-hk);hk=hl.to}}}function al(hi,hk,i,hj){var hl=!hj&&i.widgetNode;if(hl){hi.map.push(hi.pos,hi.pos+hk,hl)}if(!hj&&hi.cm.display.input.needsContentAttribute){if(!hl){hl=hi.content.appendChild(document.createElement("span"))}hl.setAttribute("cm-marker",i.id)}if(hl){hi.cm.display.input.setUneditable(hl);hi.content.appendChild(hl)}hi.pos+=hk;hi.trailingSpace=false}function bE(ht,hA,hs){var hn=ht.markedSpans,hq=ht.text,hy=0;if(!hn){for(var ho=1;ho<hs.length;ho+=2){hA.addToken(hA,hq.slice(hy,hy=hs[ho]),fF(hs[ho+1],hA.cm.options))}return}var hE=hq.length,hm=0,hD=1,hw="",hF,hu;var hJ=0,hi,hI,hx,hK,hk;for(;;){if(hJ==hm){hi=hI=hx=hK=hu="";hk=null;hJ=Infinity;var hp=[],hr=(void 0);for(var hB=0;hB<hn.length;++hB){var hC=hn[hB],hz=hC.marker;if(hz.type=="bookmark"&&hC.from==hm&&hz.widgetNode){hp.push(hz)}else{if(hC.from<=hm&&(hC.to==null||hC.to>hm||hz.collapsed&&hC.to==hm&&hC.from==hm)){if(hC.to!=null&&hC.to!=hm&&hJ>hC.to){hJ=hC.to;hI=""}if(hz.className){hi+=" "+hz.className}if(hz.css){hu=(hu?hu+";":"")+hz.css}if(hz.startStyle&&hC.from==hm){hx+=" "+hz.startStyle}if(hz.endStyle&&hC.to==hJ){(hr||(hr=[])).push(hz.endStyle,hC.to)}if(hz.title&&!hK){hK=hz.title}if(hz.collapsed&&(!hk||el(hk.marker,hz)<0)){hk=hC}}else{if(hC.from>hm&&hJ>hC.from){hJ=hC.from}}}}if(hr){for(var hH=0;hH<hr.length;hH+=2){if(hr[hH+1]==hJ){hI+=" "+hr[hH]}}}if(!hk||hk.from==hm){for(var hG=0;hG<hp.length;++hG){al(hA,0,hp[hG])}}if(hk&&(hk.from||0)==hm){al(hA,(hk.to==null?hE+1:hk.to)-hm,hk.marker,hk.from==null);if(hk.to==null){return}if(hk.to==hm){hk=false}}}if(hm>=hE){break}var hv=Math.min(hE,hJ);while(true){if(hw){var hj=hm+hw.length;if(!hk){var hl=hj>hv?hw.slice(0,hv-hm):hw;hA.addToken(hA,hl,hF?hF+hi:hi,hx,hm+hl.length==hJ?hI:"",hK,hu)}if(hj>=hv){hw=hw.slice(hv-hm);hm=hv;break}hm=hj;hx=""}hw=hq.slice(hy,hy=hs[hD++]);hF=fF(hs[hD++],hA.cm.options)}}}function bM(hj,i,hi){this.line=i;this.rest=g(i);this.size=this.rest?b6(gt(this.rest))-hi+1:1;this.node=this.text=null;this.hidden=gg(hj,i)}function fE(i,hn,hm){var hl=[],hj;for(var hk=hn;hk<hm;hk=hj){var hi=new bM(i.doc,fZ(i.doc,hk),hk);hj=hk+hi.size;hl.push(hi)}return hl}var bF=null;function fb(i){if(bF){bF.ops.push(i)}else{i.ownsGroup=bF={ops:[i],delayedCallbacks:[]}}}function dk(hl){var hk=hl.delayedCallbacks,hj=0;do{for(;hj<hk.length;hj++){hk[hj].call(null)}for(var hi=0;hi<hl.ops.length;hi++){var hm=hl.ops[hi];if(hm.cursorActivityHandlers){while(hm.cursorActivityCalled<hm.cursorActivityHandlers.length){hm.cursorActivityHandlers[hm.cursorActivityCalled++].call(null,hm.cm)}}}}while(hj<hk.length)}function ci(hj,hi){var i=hj.ownsGroup;if(!i){return}try{dk(i)}finally{bF=null;hi(i)}}var bQ=null;function am(ho,hm){var hi=eU(ho,hm);if(!hi.length){return}var hk=Array.prototype.slice.call(arguments,2),hn;if(bF){hn=bF.delayedCallbacks}else{if(bQ){hn=bQ}else{hn=bQ=[];setTimeout(aV,0)}}var hj=function(hp){hn.push(function(){return hi[hp].apply(null,hk)})};for(var hl=0;hl<hi.length;++hl){hj(hl)}}function aV(){var hi=bQ;bQ=null;for(var hj=0;hj<hi.length;++hj){hi[hj]()}}function aj(i,hj,hl,hm){for(var hi=0;hi<hj.changes.length;hi++){var hk=hj.changes[hi];if(hk=="text"){f5(i,hj)}else{if(hk=="gutter"){dK(i,hj,hl,hm)}else{if(hk=="class"){d9(i,hj)}else{if(hk=="widget"){aw(i,hj,hm)}}}}}hj.changes=null}function gv(i){if(i.node==i.text){i.node=gX("div",null,null,"position: relative");if(i.text.parentNode){i.text.parentNode.replaceChild(i.node,i.text)}i.node.appendChild(i.text);if(ed&&m<8){i.node.style.zIndex=2}}return i.node}function e7(i,hj){var hi=hj.bgClass?hj.bgClass+" "+(hj.line.bgClass||""):hj.line.bgClass;if(hi){hi+=" CodeMirror-linebackground"}if(hj.background){if(hi){hj.background.className=hi}else{hj.background.parentNode.removeChild(hj.background);hj.background=null}}else{if(hi){var hk=gv(hj);hj.background=hk.insertBefore(gX("div",null,hi),hk.firstChild);i.display.input.setUneditable(hj.background)}}}function eq(i,hi){var hj=i.display.externalMeasured;if(hj&&hj.line==hi.line){i.display.externalMeasured=null;hi.measure=hj.measure;return hj.built}return fA(i,hi)}function f5(i,hk){var hi=hk.text.className;var hj=eq(i,hk);if(hk.text==hk.node){hk.node=hj.pre}hk.text.parentNode.replaceChild(hj.pre,hk.text);hk.text=hj.pre;if(hj.bgClass!=hk.bgClass||hj.textClass!=hk.textClass){hk.bgClass=hj.bgClass;hk.textClass=hj.textClass;d9(i,hk)}else{if(hi){hk.text.className=hi}}}function d9(hi,hj){e7(hi,hj);if(hj.line.wrapClass){gv(hj).className=hj.line.wrapClass}else{if(hj.node!=hj.text){hj.node.className=""}}var i=hj.textClass?hj.textClass+" "+(hj.line.textClass||""):hj.line.textClass;hj.text.className=i||""}function dK(hp,hn,hm,ho){if(hn.gutter){hn.node.removeChild(hn.gutter);hn.gutter=null}if(hn.gutterBackground){hn.node.removeChild(hn.gutterBackground);hn.gutterBackground=null}if(hn.line.gutterClass){var hi=gv(hn);hn.gutterBackground=gX("div",null,"CodeMirror-gutter-background "+hn.line.gutterClass,("left: "+(hp.options.fixedGutter?ho.fixedPos:-ho.gutterTotalWidth)+"px; width: "+(ho.gutterTotalWidth)+"px"));hp.display.input.setUneditable(hn.gutterBackground);hi.insertBefore(hn.gutterBackground,hn.text)}var hk=hn.line.gutterMarkers;if(hp.options.lineNumbers||hk){var hq=gv(hn);var hl=hn.gutter=gX("div",null,"CodeMirror-gutter-wrapper",("left: "+(hp.options.fixedGutter?ho.fixedPos:-ho.gutterTotalWidth)+"px"));hp.display.input.setUneditable(hl);hq.insertBefore(hl,hn.text);if(hn.line.gutterClass){hl.className+=" "+hn.line.gutterClass}if(hp.options.lineNumbers&&(!hk||!hk["CodeMirror-linenumbers"])){hn.lineNumber=hl.appendChild(gX("div",e3(hp.options,hm),"CodeMirror-linenumber CodeMirror-gutter-elt",("left: "+(ho.gutterLeft["CodeMirror-linenumbers"])+"px; width: "+(hp.display.lineNumInnerWidth)+"px")))}if(hk){for(var hj=0;hj<hp.options.gutters.length;++hj){var i=hp.options.gutters[hj],hr=hk.hasOwnProperty(i)&&hk[i];if(hr){hl.appendChild(gX("div",[hr],"CodeMirror-gutter-elt",("left: "+(ho.gutterLeft[i])+"px; width: "+(ho.gutterWidth[i])+"px")))}}}}}function aw(i,hi,hl){if(hi.alignable){hi.alignable=null}for(var hk=hi.node.firstChild,hj=(void 0);hk;hk=hj){hj=hk.nextSibling;if(hk.className=="CodeMirror-linewidget"){hi.node.removeChild(hk)}}gc(i,hi,hl)}function aN(i,hj,hk,hl){var hi=eq(i,hj);hj.text=hj.node=hi.pre;if(hi.bgClass){hj.bgClass=hi.bgClass}if(hi.textClass){hj.textClass=hi.textClass}d9(i,hj);dK(i,hj,hk,hl);gc(i,hj,hl);return hj.node}function gc(hi,hk,hl){g1(hi,hk.line,hk,hl,true);if(hk.rest){for(var hj=0;hj<hk.rest.length;hj++){g1(hi,hk.rest[hj],hk,hl,false)}}}function g1(hq,hr,hn,hp,hl){if(!hr.widgets){return}var hi=gv(hn);for(var hk=0,ho=hr.widgets;hk<ho.length;++hk){var hm=ho[hk],hj=gX("div",[hm.node],"CodeMirror-linewidget");if(!hm.handleMouseEvents){hj.setAttribute("cm-ignore-events","true")}bX(hm,hj,hn,hp);hq.display.input.setUneditable(hj);if(hl&&hm.above){hi.insertBefore(hj,hn.gutter||hn.text)}else{hi.appendChild(hj)}am(hm,"redraw")}}function bX(hk,hj,i,hl){if(hk.noHScroll){(i.alignable||(i.alignable=[])).push(hj);var hi=hl.wrapperWidth;hj.style.left=hl.fixedPos+"px";if(!hk.coverGutter){hi-=hl.gutterTotalWidth;hj.style.paddingLeft=hl.gutterTotalWidth+"px"}hj.style.width=hi+"px"}if(hk.coverGutter){hj.style.zIndex=5;hj.style.position="relative";if(!hk.noHScroll){hj.style.marginLeft=-hl.gutterTotalWidth+"px"}}}function dp(hj){if(hj.height!=null){return hj.height}var i=hj.doc.cm;if(!i){return 0}if(!g8(document.body,hj.node)){var hi="position: relative;";if(hj.coverGutter){hi+="margin-left: -"+i.display.gutters.offsetWidth+"px;"}if(hj.noHScroll){hi+="width: "+i.display.wrapper.clientWidth+"px;"}cc(i.display.measure,gX("div",[hj.node],null,hi))}return hj.height=hj.node.parentNode.offsetHeight}function bm(hi,i){for(var hj=Q(i);hj!=hi.wrapper;hj=hj.parentNode){if(!hj||(hj.nodeType==1&&hj.getAttribute("cm-ignore-events")=="true")||(hj.parentNode==hi.sizer&&hj!=hi.mover)){return true}}}function fT(i){return i.lineSpace.offsetTop}function b0(i){return i.mover.offsetHeight-i.lineSpace.offsetHeight}function fP(hk){if(hk.cachedPaddingH){return hk.cachedPaddingH}var hj=cc(hk.measure,gX("pre","x"));var i=window.getComputedStyle?window.getComputedStyle(hj):hj.currentStyle;var hi={left:parseInt(i.paddingLeft),right:parseInt(i.paddingRight)};if(!isNaN(hi.left)&&!isNaN(hi.right)){hk.cachedPaddingH=hi}return hi}function dj(i){return ec-i.display.nativeBarWidth}function dQ(i){return i.display.scroller.clientWidth-dj(i)-i.display.barWidth}function dl(i){return i.display.scroller.clientHeight-dj(i)-i.display.barHeight}function cE(hp,hl,ho){var hk=hp.options.lineWrapping;var hm=hk&&dQ(hp);if(!hl.measure.heights||hk&&hl.measure.width!=hm){var hn=hl.measure.heights=[];if(hk){hl.measure.width=hm;var hr=hl.text.firstChild.getClientRects();for(var hi=0;hi<hr.length-1;hi++){var hq=hr[hi],hj=hr[hi+1];if(Math.abs(hq.bottom-hj.bottom)>2){hn.push((hq.bottom+hj.top)/2-ho.top)}}}hn.push(ho.bottom-ho.top)}}function cS(hk,hi,hl){if(hk.line==hi){return{map:hk.measure.map,cache:hk.measure.cache}}for(var hj=0;hj<hk.rest.length;hj++){if(hk.rest[hj]==hi){return{map:hk.measure.maps[hj],cache:hk.measure.caches[hj]}}}for(var hm=0;hm<hk.rest.length;hm++){if(b6(hk.rest[hm])>hl){return{map:hk.measure.maps[hm],cache:hk.measure.caches[hm],before:true}}}}function dt(i,hj){hj=z(hj);var hl=b6(hj);var hi=i.display.externalMeasured=new bM(i.doc,hj,hl);hi.lineN=hl;var hk=hi.built=fA(i,hi);hi.text=hk.pre;cc(i.display.lineMeasure,hk.pre);return hi}function eP(i,hi,hk,hj){return F(i,bg(i,hi),hk,hj)}function fW(i,hj){if(hj>=i.display.viewFrom&&hj<i.display.viewTo){return i.display.view[dW(i,hj)]}var hi=i.display.externalMeasured;if(hi&&hj>=hi.lineN&&hj<hi.lineN+hi.size){return hi}}function bg(i,hj){var hk=b6(hj);var hi=fW(i,hk);if(hi&&!hi.text){hi=null}else{if(hi&&hi.changes){aj(i,hi,hk,fX(i));i.curOp.forceUpdate=true}}if(!hi){hi=dt(i,hj)}var hl=cS(hi,hj,hk);return{line:hj,view:hi,rect:null,map:hl.map,cache:hl.cache,before:hl.before,hasHeights:false}}function F(i,hn,hl,hi,hk){if(hn.before){hl=-1}var hj=hl+(hi||""),hm;if(hn.cache.hasOwnProperty(hj)){hm=hn.cache[hj]}else{if(!hn.rect){hn.rect=hn.view.text.getBoundingClientRect()}if(!hn.hasHeights){cE(i,hn.view,hn.rect);hn.hasHeights=true}hm=l(i,hn,hl,hi);if(!hm.bogus){hn.cache[hj]=hm}}return{left:hm.left,right:hm.right,top:hk?hm.rtop:hm.top,bottom:hk?hm.rbottom:hm.bottom}}var ff={left:0,right:0,top:0,bottom:0};function aT(hj,hi,hp){var hl,hk,hn,hq,hm,hr;for(var ho=0;ho<hj.length;ho+=3){hm=hj[ho];hr=hj[ho+1];if(hi<hm){hk=0;hn=1;hq="left"}else{if(hi<hr){hk=hi-hm;hn=hk+1}else{if(ho==hj.length-3||hi==hr&&hj[ho+3]>hi){hn=hr-hm;hk=hn-1;if(hi>=hr){hq="right"}}}}if(hk!=null){hl=hj[ho+2];if(hm==hr&&hp==(hl.insertLeft?"left":"right")){hq=hp}if(hp=="left"&&hk==0){while(ho&&hj[ho-2]==hj[ho-3]&&hj[ho-1].insertLeft){hl=hj[(ho-=3)+2];hq="left"}}if(hp=="right"&&hk==hr-hm){while(ho<hj.length-3&&hj[ho+3]==hj[ho+4]&&!hj[ho+5].insertLeft){hl=hj[(ho+=3)+2];hq="right"}}break}}return{node:hl,start:hk,end:hn,collapse:hq,coverStart:hm,coverEnd:hr}}function fB(hj,hi){var hl=ff;if(hi=="left"){for(var hk=0;hk<hj.length;hk++){if((hl=hj[hk]).left!=hl.right){break}}}else{for(var hm=hj.length-1;hm>=0;hm--){if((hl=hj[hm]).left!=hl.right){break}}}return hl}function l(hq,hA,ht,hn){var hr=aT(hA.map,ht,hn);var hy=hr.node,hm=hr.start,hl=hr.end,hi=hr.collapse;var hj;if(hy.nodeType==3){for(var ho=0;ho<4;ho++){while(hm&&f8(hA.line.text.charAt(hr.coverStart+hm))){--hm}while(hr.coverStart+hl<hr.coverEnd&&f8(hA.line.text.charAt(hr.coverStart+hl))){++hl}if(ed&&m<9&&hm==0&&hl==hr.coverEnd-hr.coverStart){hj=hy.parentNode.getBoundingClientRect()}else{hj=fB(cK(hy,hm,hl).getClientRects(),hn)}if(hj.left||hj.right||hm==0){break}hl=hm;hm=hm-1;hi="right"}if(ed&&m<11){hj=fv(hq.display.measure,hj)}}else{if(hm>0){hi=hn="right"}var hk;if(hq.options.lineWrapping&&(hk=hy.getClientRects()).length>1){hj=hk[hn=="right"?hk.length-1:0]}else{hj=hy.getBoundingClientRect()}}if(ed&&m<9&&!hm&&(!hj||!hj.left&&!hj.right)){var hp=hy.parentNode.getClientRects()[0];if(hp){hj={left:hp.left,right:hp.left+d6(hq.display),top:hp.top,bottom:hp.bottom}}else{hj=ff}}var hw=hj.top-hA.rect.top,hu=hj.bottom-hA.rect.top;var hC=(hw+hu)/2;var hB=hA.view.measure.heights;var hz=0;for(;hz<hB.length-1;hz++){if(hC<hB[hz]){break}}var hx=hz?hB[hz-1]:0,hv=hB[hz];var hs={left:(hi=="right"?hj.right:hj.left)-hA.rect.left,right:(hi=="left"?hj.left:hj.right)-hA.rect.left,top:hx,bottom:hv};if(!hj.left&&!hj.right){hs.bogus=true}if(!hq.options.singleCursorHeightPerLine){hs.rtop=hw;hs.rbottom=hu}return hs}function fv(hj,hk){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!aU(hj)){return hk}var hi=screen.logicalXDPI/screen.deviceXDPI;var i=screen.logicalYDPI/screen.deviceYDPI;return{left:hk.left*hi,right:hk.right*hi,top:hk.top*i,bottom:hk.bottom*i}}function aC(hj){if(hj.measure){hj.measure.cache={};hj.measure.heights=null;if(hj.rest){for(var hi=0;hi<hj.rest.length;hi++){hj.measure.caches[hi]={}}}}}function aY(hi){hi.display.externalMeasure=null;ey(hi.display.lineMeasure);for(var hj=0;hj<hi.display.view.length;hj++){aC(hi.display.view[hj])}}function ar(i){aY(i);i.display.cachedCharWidth=i.display.cachedTextHeight=i.display.cachedPaddingH=null;if(!i.options.lineWrapping){i.display.maxLineChanged=true}i.display.lineNumChars=null}function cT(){if(dH&&aW){return -(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft))}return window.pageXOffset||(document.documentElement||document.body).scrollLeft}function cR(){if(dH&&aW){return -(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop))}return window.pageYOffset||(document.documentElement||document.body).scrollTop}function fy(hp,hm,ho,hj,hl){if(!hl&&hm.widgets){for(var hk=0;hk<hm.widgets.length;++hk){if(hm.widgets[hk].above){var hr=dp(hm.widgets[hk]);ho.top+=hr;ho.bottom+=hr}}}if(hj=="line"){return ho}if(!hj){hj="local"}var hn=b5(hm);if(hj=="local"){hn+=fT(hp.display)}else{hn-=hp.display.viewOffset}if(hj=="page"||hj=="window"){var hi=hp.display.lineSpace.getBoundingClientRect();hn+=hi.top+(hj=="window"?0:cR());var hq=hi.left+(hj=="window"?0:cT());ho.left+=hq;ho.right+=hq}ho.top+=hn;ho.bottom+=hn;return ho}function hd(hi,hl,hj){if(hj=="div"){return hl}var hn=hl.left,hm=hl.top;if(hj=="page"){hn-=cT();hm-=cR()}else{if(hj=="local"||!hj){var hk=hi.display.sizer.getBoundingClientRect();hn+=hk.left;hm+=hk.top}}var i=hi.display.lineSpace.getBoundingClientRect();return{left:hn-i.left,top:hm-i.top}}function da(i,hl,hk,hj,hi){if(!hj){hj=fZ(i.doc,hl.line)}return fy(i,hj,eP(i,hj,hl.ch,hi),hk)}function ep(hs,hq,hj,hn,hu,ho){hn=hn||fZ(hs.doc,hq.line);if(!hu){hu=bg(hs,hn)}function hl(hx,hw){var hv=F(hs,hu,hx,hw?"right":"left",ho);if(hw){hv.left=hv.right}else{hv.right=hv.left}return fy(hs,hn,hv,hj)}var hm=a(hn,hs.doc.direction),i=hq.ch,hr=hq.sticky;if(i>=hn.text.length){i=hn.text.length;hr="before"}else{if(i<=0){i=0;hr="after"}}if(!hm){return hl(hr=="before"?i-1:i,hr=="before")}function ht(hy,hv,hz){var hw=hm[hv],hx=(hw.level%2)!=0;return hl(hz?hy-1:hy,hx!=hz)}var hi=aQ(hm,i,hr);var hp=fN;var hk=ht(i,hi,hr=="before");if(hp!=null){hk.other=ht(i,hp,hr!="before")}return hk}function ea(i,hl){var hk=0;hl=gy(i.doc,hl);if(!i.options.lineWrapping){hk=d6(i.display)*hl.ch}var hi=fZ(i.doc,hl.line);var hj=b5(hi)+fT(i.display);return{left:hk,right:hk,top:hj,bottom:hj+hi.height}}function gV(i,hi,hk,hj,hm){var hl=ac(i,hi,hk);hl.xRel=hm;if(hj){hl.outside=true}return hl}function gF(ho,hl,hk){var hn=ho.doc;hk+=ho.display.viewOffset;if(hk<0){return gV(hn.first,0,null,true,-1)}var hj=bZ(hn,hk),hp=hn.first+hn.size-1;if(hj>hp){return gV(hn.first+hn.size-1,fZ(hn,hp).text.length,null,true,1)}if(hl<0){hl=0}var hi=fZ(hn,hj);for(;;){var hq=dq(ho,hi,hj,hl,hk);var hm=e8(hi);var i=hm&&hm.find(0,true);if(hm&&(hq.ch>i.from.ch||hq.ch==i.from.ch&&hq.xRel>0)){hj=b6(hi=i.to.line)}else{return hq}}}function bB(i,hj,hm,hn){var hl=function(ho){return fy(i,hj,F(i,hm,ho),"line")};var hi=hj.text.length;var hk=cL(function(ho){return hl(ho-1).bottom<=hn},hi,0);hi=cL(function(ho){return hl(ho).top>hn},hk,hi);return{begin:hk,end:hi}}function bz(i,hi,hk,hl){var hj=fy(i,hi,F(i,hk,hl),"line").top;return bB(i,hi,hk,hj)}function dq(hm,hi,hp,ho,hn){hn-=b5(hi);var hD=0,hj=hi.text.length;var ht=bg(hm,hi);var hl;var hz=a(hi,hm.doc.direction);if(hz){if(hm.options.lineWrapping){var hx;((hx=bB(hm,hi,ht,hn),hD=hx.begin,hj=hx.end,hx))}hl=new ac(hp,Math.floor(hD+(hj-hD)/2));var hv=ep(hm,hl,"line",hi,ht).left;var hw=hv<ho?1:-1;var hr,hu=hv-ho,hk;var hC=Math.ceil((hj-hD)/4);outer:do{hr=hu;hk=hl;var hB=0;for(;hB<hC;++hB){var hs=hl;hl=v(hm,hi,hl,hw);if(hl==null||hl.ch<hD||hj<=(hl.sticky=="before"?hl.ch-1:hl.ch)){hl=hs;break outer}}hu=ep(hm,hl,"line",hi,ht).left-ho;if(hC>1){var hy=Math.abs(hu-hr)/hC;hC=Math.min(hC,Math.ceil(Math.abs(hu)/hy));hw=hu<0?1:-1}}while(hu!=0&&(hC>1||((hw<0)!=(hu<0)&&(Math.abs(hu)<=Math.abs(hr)))));if(Math.abs(hu)>Math.abs(hr)){if((hu<0)==(hr<0)){throw new Error("Broke out of infinite loop in coordsCharInner")}hl=hk}}else{var hq=cL(function(i){var hE=fy(hm,hi,F(hm,ht,i),"line");if(hE.top>hn){hj=Math.min(i,hj);return true}else{if(hE.bottom<=hn){return false}else{if(hE.left>ho){return true}else{if(hE.right<ho){return false}else{return(ho-hE.left<hE.right-ho)}}}}},hD,hj);hq=eS(hi.text,hq,1);hl=new ac(hp,hq,hq==hj?"before":"after")}var hA=ep(hm,hl,"line",hi,ht);if(hn<hA.top||hA.bottom<hn){hl.outside=true}hl.xRel=ho<hA.left?-1:(ho>hA.right?1:0);return hl}var aP;function a9(hk){if(hk.cachedTextHeight!=null){return hk.cachedTextHeight}if(aP==null){aP=gX("pre");for(var hj=0;hj<49;++hj){aP.appendChild(document.createTextNode("x"));aP.appendChild(gX("br"))}aP.appendChild(document.createTextNode("x"))}cc(hk.measure,aP);var hi=aP.offsetHeight/50;if(hi>3){hk.cachedTextHeight=hi}ey(hk.measure);return hi||1}function d6(hl){if(hl.cachedCharWidth!=null){return hl.cachedCharWidth}var i=gX("span","xxxxxxxxxx");var hk=gX("pre",[i]);cc(hl.measure,hk);var hj=i.getBoundingClientRect(),hi=(hj.right-hj.left)/10;if(hi>2){hl.cachedCharWidth=hi}return hi||10}function fX(hi){var hn=hi.display,hl={},hk={};var hm=hn.gutters.clientLeft;for(var ho=hn.gutters.firstChild,hj=0;ho;ho=ho.nextSibling,++hj){hl[hi.options.gutters[hj]]=ho.offsetLeft+ho.clientLeft+hm;hk[hi.options.gutters[hj]]=ho.clientWidth}return{fixedPos:et(hn),gutterTotalWidth:hn.gutters.offsetWidth,gutterLeft:hl,gutterWidth:hk,wrapperWidth:hn.wrapper.clientWidth}}function et(i){return i.scroller.getBoundingClientRect().left-i.sizer.getBoundingClientRect().left}function bp(i){var hj=a9(i.display),hi=i.options.lineWrapping;var hk=hi&&Math.max(5,i.display.scroller.clientWidth/d6(i.display)-3);return function(hm){if(gg(i.doc,hm)){return 0}var hl=0;if(hm.widgets){for(var hn=0;hn<hm.widgets.length;hn++){if(hm.widgets[hn].height){hl+=hm.widgets[hn].height}}}if(hi){return hl+(Math.ceil(hm.text.length/hk)||1)*hj}else{return hl+hj}}}function af(i){var hj=i.doc,hi=bp(i);hj.iter(function(hk){var hl=hi(hk);if(hl!=hk.height){g3(hk,hl)}})}function cM(hq,hl,hi,hj){var hm=hq.display;if(!hi&&Q(hl).getAttribute("cm-not-content")=="true"){return null}var hp,hn,i=hm.lineSpace.getBoundingClientRect();try{hp=hl.clientX-i.left;hn=hl.clientY-i.top}catch(hl){return null}var ho=gF(hq,hp,hn),hr;if(hj&&ho.xRel==1&&(hr=fZ(hq.doc,ho.line).text).length==ho.ch){var hk=cb(hr,hr.length,hq.options.tabSize)-hr.length;ho=ac(ho.line,Math.max(0,Math.round((hp-fP(hq.display).left)/d6(hq.display))-hk))}return ho}function dW(hi,hl){if(hl>=hi.display.viewTo){return null}hl-=hi.display.viewFrom;if(hl<0){return null}var hj=hi.display.view;for(var hk=0;hk<hj.length;hk++){hl-=hj[hk].size;if(hl<0){return hk}}}function bU(i){i.display.input.showSelection(i.display.input.prepareSelection())}function gw(hp,hi){var ho=hp.doc,hq={};var hn=hq.cursors=document.createDocumentFragment();var hj=hq.selection=document.createDocumentFragment();for(var hl=0;hl<ho.sel.ranges.length;hl++){if(hi===false&&hl==ho.sel.primIndex){continue}var hm=ho.sel.ranges[hl];if(hm.from().line>=hp.display.viewTo||hm.to().line<hp.display.viewFrom){continue}var hk=hm.empty();if(hk||hp.options.showCursorWhenSelecting){C(hp,hm.head,hn)}if(!hk){bV(hp,hm,hj)}}return hq}function C(i,hk,hj){var hm=ep(i,hk,"div",null,null,!i.options.singleCursorHeightPerLine);var hl=hj.appendChild(gX("div","\u00a0","CodeMirror-cursor"));hl.style.left=hm.left+"px";hl.style.top=hm.top+"px";hl.style.height=Math.max(0,hm.bottom-hm.top)*i.options.cursorHeight+"px";if(hm.other){var hi=hj.appendChild(gX("div","\u00a0","CodeMirror-cursor CodeMirror-secondarycursor"));hi.style.display="";hi.style.left=hm.other.left+"px";hi.style.top=hm.other.top+"px";hi.style.height=(hm.other.bottom-hm.other.top)*0.85+"px"}}function bV(hl,hr,hm){var hu=hl.display,hy=hl.doc;var i=document.createDocumentFragment();var hq=fP(hl.display),hk=hq.left;var hv=Math.max(hu.sizerWidth,dQ(hl)-hu.sizer.offsetLeft)-hq.right;function hs(hC,hB,hA,hz){if(hB<0){hB=0}hB=Math.round(hB);hz=Math.round(hz);i.appendChild(gX("div",null,"CodeMirror-selected",("position: absolute; left: "+hC+"px;\n                             top: "+hB+"px; width: "+(hA==null?hv-hC:hA)+"px;\n                             height: "+(hz-hB)+"px")))}function hi(hA,hC,hF){var hB=fZ(hy,hA);var hD=hB.text.length;var hG,hz;function hE(hI,hH){return da(hl,ac(hA,hI),"div",hB,hH)}eB(a(hB,hy.direction),hC||0,hF==null?hD:hF,function(hO,hN,hH){var hK=hE(hO,"left"),hL,hM,hJ;if(hO==hN){hL=hK;hM=hJ=hK.left}else{hL=hE(hN-1,"right");if(hH=="rtl"){var hI=hK;hK=hL;hL=hI}hM=hK.left;hJ=hL.right}if(hC==null&&hO==0){hM=hk}if(hL.top-hK.top>3){hs(hM,hK.top,null,hK.bottom);hM=hk;if(hK.bottom<hL.top){hs(hM,hK.bottom,null,hL.top)}}if(hF==null&&hN==hD){hJ=hv}if(!hG||hK.top<hG.top||hK.top==hG.top&&hK.left<hG.left){hG=hK}if(!hz||hL.bottom>hz.bottom||hL.bottom==hz.bottom&&hL.right>hz.right){hz=hL}if(hM<hk+1){hM=hk}hs(hM,hL.top,hJ-hM,hL.bottom)});return{start:hG,end:hz}}var hx=hr.from(),hw=hr.to();if(hx.line==hw.line){hi(hx.line,hx.ch,hw.ch)}else{var hj=fZ(hy,hx.line),ho=fZ(hy,hw.line);var hn=z(hj)==z(ho);var hp=hi(hx.line,hx.ch,hn?hj.text.length+1:null).end;var ht=hi(hw.line,hn?0:null,hw.ch).start;if(hn){if(hp.top<ht.top-2){hs(hp.right,hp.top,null,hp.bottom);hs(hk,ht.top,ht.left,ht.bottom)}else{hs(hp.right,hp.top,ht.left-hp.right,hp.bottom)}}if(hp.bottom<ht.top){hs(hk,hp.bottom,null,ht.top)}}hm.appendChild(i)}function q(i){if(!i.state.focused){return}var hj=i.display;clearInterval(hj.blinker);var hi=true;hj.cursorDiv.style.visibility="";if(i.options.cursorBlinkRate>0){hj.blinker=setInterval(function(){return hj.cursorDiv.style.visibility=(hi=!hi)?"":"hidden"},i.options.cursorBlinkRate)}else{if(i.options.cursorBlinkRate<0){hj.cursorDiv.style.visibility="hidden"}}}function t(i){if(!i.state.focused){i.display.input.focus();c0(i)}}function at(i){i.state.delayingBlurEvent=true;setTimeout(function(){if(i.state.delayingBlurEvent){i.state.delayingBlurEvent=false;a6(i)}},100)}function c0(i,hi){if(i.state.delayingBlurEvent){i.state.delayingBlurEvent=false}if(i.options.readOnly=="nocursor"){return}if(!i.state.focused){aM(i,"focus",i,hi);i.state.focused=true;gn(i.display.wrapper,"CodeMirror-focused");if(!i.curOp&&i.display.selForContextMenu!=i.doc.sel){i.display.input.reset();if(dr){setTimeout(function(){return i.display.input.reset(true)},20)}}i.display.input.receivedFocus()}q(i)}function a6(i,hi){if(i.state.delayingBlurEvent){return}if(i.state.focused){aM(i,"blur",i,hi);i.state.focused=false;h(i.display.wrapper,"CodeMirror-focused")}clearInterval(i.display.blinker);setTimeout(function(){if(!i.state.focused){i.display.shift=false}},150)}function bk(hp){var hn=hp.display;var hj=hn.lineDiv.offsetTop;for(var hk=0;hk<hn.view.length;hk++){var hq=hn.view[hk],hr=(void 0);if(hq.hidden){continue}if(ed&&m<8){var hm=hq.node.offsetTop+hq.node.offsetHeight;hr=hm-hj;hj=hm}else{var hl=hq.node.getBoundingClientRect();hr=hl.bottom-hl.top}var ho=hq.line.height-hr;if(hr<2){hr=a9(hn)}if(ho>0.001||ho<-0.001){g3(hq.line,hr);cw(hq.line);if(hq.rest){for(var hi=0;hi<hq.rest.length;hi++){cw(hq.rest[hi])}}}}}function cw(hi){if(hi.widgets){for(var hj=0;hj<hi.widgets.length;++hj){hi.widgets[hj].height=hi.widgets[hj].node.parentNode.offsetHeight}}}function cr(hk,ho,hj){var hl=hj&&hj.top!=null?Math.max(0,hj.top):hk.scroller.scrollTop;hl=Math.floor(hl-fT(hk));var i=hj&&hj.bottom!=null?hj.bottom:hl+hk.wrapper.clientHeight;var hm=bZ(ho,hl),hn=bZ(ho,i);if(hj&&hj.ensure){var hi=hj.ensure.from.line,hp=hj.ensure.to.line;if(hi<hm){hm=hi;hn=bZ(ho,b5(fZ(ho,hi))+hk.wrapper.clientHeight)}else{if(Math.min(hp,ho.lastLine())>=hn){hm=bZ(ho,b5(fZ(ho,hp))-hk.wrapper.clientHeight);hn=hp}}}return{from:hm,to:Math.max(hn,hm+1)}}function fj(hq){var ho=hq.display,hp=ho.view;if(!ho.alignWidgets&&(!ho.gutters.firstChild||!hq.options.fixedGutter)){return}var hm=et(ho)-ho.scroller.scrollLeft+hq.doc.scrollLeft;var hi=ho.gutters.offsetWidth,hj=hm+"px";for(var hl=0;hl<hp.length;hl++){if(!hp[hl].hidden){if(hq.options.fixedGutter){if(hp[hl].gutter){hp[hl].gutter.style.left=hj}if(hp[hl].gutterBackground){hp[hl].gutterBackground.style.left=hj}}var hn=hp[hl].alignable;if(hn){for(var hk=0;hk<hn.length;hk++){hn[hk].style.left=hj}}}}if(hq.options.fixedGutter){ho.gutters.style.left=(hm+hi)+"px"}}function eC(i){if(!i.options.lineNumbers){return false}var hm=i.doc,hi=e3(i.options,hm.first+hm.size-1),hl=i.display;if(hi.length!=hl.lineNumChars){var hn=hl.measure.appendChild(gX("div",[gX("div",hi)],"CodeMirror-linenumber CodeMirror-gutter-elt"));var hj=hn.firstChild.offsetWidth,hk=hn.offsetWidth-hj;hl.lineGutter.style.width="";hl.lineNumInnerWidth=Math.max(hj,hl.lineGutter.offsetWidth-hk)+1;hl.lineNumWidth=hl.lineNumInnerWidth+hk;hl.lineNumChars=hl.lineNumInnerWidth?hi.length:-1;hl.lineGutter.style.width=hl.lineNumWidth+"px";dv(i);return true}return false}function eD(hi,hk){if(a2(hi,"scrollCursorIntoView")){return}var hm=hi.display,hj=hm.sizer.getBoundingClientRect(),i=null;if(hk.top+hj.top<0){i=true}else{if(hk.bottom+hj.top>(window.innerHeight||document.documentElement.clientHeight)){i=false}}if(i!=null&&!gd){var hl=gX("div","\u200b",null,("position: absolute;\n                         top: "+(hk.top-hm.viewOffset-fT(hi.display))+"px;\n                         height: "+(hk.bottom-hk.top+dj(hi)+hm.barHeight)+"px;\n                         left: "+(hk.left)+"px; width: "+(Math.max(2,hk.right-hk.left))+"px;"));hi.display.lineSpace.appendChild(hl);hl.scrollIntoView(i);hi.display.lineSpace.removeChild(hl)}}function G(hs,hp,hl,hk){if(hk==null){hk=0}var hq;for(var hm=0;hm<5;hm++){var hn=false;var hr=ep(hs,hp);var i=!hl||hl==hp?hr:ep(hs,hl);hq={left:Math.min(hr.left,i.left),top:Math.min(hr.top,i.top)-hk,right:Math.max(hr.left,i.left),bottom:Math.max(hr.bottom,i.bottom)+hk};var hj=L(hs,hq);var ho=hs.doc.scrollTop,hi=hs.doc.scrollLeft;if(hj.scrollTop!=null){B(hs,hj.scrollTop);if(Math.abs(hs.doc.scrollTop-ho)>1){hn=true}}if(hj.scrollLeft!=null){bW(hs,hj.scrollLeft);if(Math.abs(hs.doc.scrollLeft-hi)>1){hn=true}}if(!hn){break}}return hq}function H(i,hi){var hj=L(i,hi);if(hj.scrollTop!=null){B(i,hj.scrollTop)}if(hj.scrollLeft!=null){bW(i,hj.scrollLeft)}}function L(hq,hp){var hn=hq.display,hl=a9(hq.display);if(hp.top<0){hp.top=0}var hj=hq.curOp&&hq.curOp.scrollTop!=null?hq.curOp.scrollTop:hn.scroller.scrollTop;var hs=dl(hq),hu={};if(hp.bottom-hp.top>hs){hp.bottom=hp.top+hs}var hi=hq.doc.height+b0(hn);var i=hp.top<hl,hm=hp.bottom>hi-hl;if(hp.top<hj){hu.scrollTop=i?0:hp.top}else{if(hp.bottom>hj+hs){var ho=Math.min(hp.top,(hm?hi:hp.bottom)-hs);if(ho!=hj){hu.scrollTop=ho}}}var ht=hq.curOp&&hq.curOp.scrollLeft!=null?hq.curOp.scrollLeft:hn.scroller.scrollLeft;var hr=dQ(hq)-(hq.options.fixedGutter?hn.gutters.offsetWidth:0);var hk=hp.right-hp.left>hr;if(hk){hp.right=hp.left+hr}if(hp.left<10){hu.scrollLeft=0}else{if(hp.left<ht){hu.scrollLeft=Math.max(0,hp.left-(hk?0:10))}else{if(hp.right>hr+ht-3){hu.scrollLeft=hp.right+(hk?0:10)-hr}}}return hu}function c7(i,hi){if(hi==null){return}gp(i);i.curOp.scrollTop=(i.curOp.scrollTop==null?i.doc.scrollTop:i.curOp.scrollTop)+hi}function gs(i){gp(i);var hi=i.getCursor(),hk=hi,hj=hi;if(!i.options.lineWrapping){hk=hi.ch?ac(hi.line,hi.ch-1):hi;hj=ac(hi.line,hi.ch+1)}i.curOp.scrollToPos={from:hk,to:hj,margin:i.options.cursorScrollMargin}}function ft(hi,i,hj){if(i!=null||hj!=null){gp(hi)}if(i!=null){hi.curOp.scrollLeft=i}if(hj!=null){hi.curOp.scrollTop=hj}}function cz(i,hi){gp(i);i.curOp.scrollToPos=hi}function gp(i){var hi=i.curOp.scrollToPos;if(hi){i.curOp.scrollToPos=null;var hk=ea(i,hi.from),hj=ea(i,hi.to);b9(i,hk,hj,hi.margin)}}function b9(i,hl,hk,hj){var hi=L(i,{left:Math.min(hl.left,hk.left),top:Math.min(hl.top,hk.top)-hj,right:Math.max(hl.right,hk.right),bottom:Math.max(hl.bottom,hk.bottom)+hj});ft(i,hi.scrollLeft,hi.scrollTop)}function B(i,hi){if(Math.abs(i.doc.scrollTop-hi)<2){return}if(!cN){eo(i,{top:hi})}T(i,hi,true);if(cN){eo(i)}eM(i,100)}function T(i,hj,hi){hj=Math.min(i.display.scroller.scrollHeight-i.display.scroller.clientHeight,hj);if(i.display.scroller.scrollTop==hj&&!hi){return}i.doc.scrollTop=hj;i.display.scrollbars.setScrollTop(hj);if(i.display.scroller.scrollTop!=hj){i.display.scroller.scrollTop=hj}}function bW(i,hk,hj,hi){hk=Math.min(hk,i.display.scroller.scrollWidth-i.display.scroller.clientWidth);if((hj?hk==i.doc.scrollLeft:Math.abs(i.doc.scrollLeft-hk)<2)&&!hi){return}i.doc.scrollLeft=hk;fj(i);if(i.display.scroller.scrollLeft!=hk){i.display.scroller.scrollLeft=hk}i.display.scrollbars.setScrollLeft(hk)}function d4(i){var hk=i.display,hj=hk.gutters.offsetWidth;var hi=Math.round(i.doc.height+b0(i.display));return{clientHeight:hk.scroller.clientHeight,viewHeight:hk.wrapper.clientHeight,scrollWidth:hk.scroller.scrollWidth,clientWidth:hk.scroller.clientWidth,viewWidth:hk.wrapper.clientWidth,barLeft:i.options.fixedGutter?hj:0,docHeight:hi,scrollHeight:hi+dj(i)+hk.barHeight,nativeBarWidth:hk.nativeBarWidth,gutterWidth:hj}}var dP=function(hj,hi,i){this.cm=i;var hk=this.vert=gX("div",[gX("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar");var hl=this.horiz=gX("div",[gX("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");hj(hk);hj(hl);ch(hk,"scroll",function(){if(hk.clientHeight){hi(hk.scrollTop,"vertical")}});ch(hl,"scroll",function(){if(hl.clientWidth){hi(hl.scrollLeft,"horizontal")}});this.checkedZeroWidth=false;if(ed&&m<8){this.horiz.style.minHeight=this.vert.style.minWidth="18px"}};dP.prototype.update=function(hk){var hl=hk.scrollWidth>hk.clientWidth+1;var hj=hk.scrollHeight>hk.clientHeight+1;var hm=hk.nativeBarWidth;if(hj){this.vert.style.display="block";this.vert.style.bottom=hl?hm+"px":"0";var hi=hk.viewHeight-(hl?hm:0);this.vert.firstChild.style.height=Math.max(0,hk.scrollHeight-hk.clientHeight+hi)+"px"}else{this.vert.style.display="";this.vert.firstChild.style.height="0"}if(hl){this.horiz.style.display="block";this.horiz.style.right=hj?hm+"px":"0";this.horiz.style.left=hk.barLeft+"px";var i=hk.viewWidth-hk.barLeft-(hj?hm:0);this.horiz.firstChild.style.width=Math.max(0,hk.scrollWidth-hk.clientWidth+i)+"px"}else{this.horiz.style.display="";this.horiz.firstChild.style.width="0"}if(!this.checkedZeroWidth&&hk.clientHeight>0){if(hm==0){this.zeroWidthHack()}this.checkedZeroWidth=true}return{right:hj?hm:0,bottom:hl?hm:0}};dP.prototype.setScrollLeft=function(i){if(this.horiz.scrollLeft!=i){this.horiz.scrollLeft=i}if(this.disableHoriz){this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")}};dP.prototype.setScrollTop=function(i){if(this.vert.scrollTop!=i){this.vert.scrollTop=i}if(this.disableVert){this.enableZeroWidthBar(this.vert,this.disableVert,"vert")}};dP.prototype.zeroWidthHack=function(){var i=cs&&!dz?"12px":"18px";this.horiz.style.height=this.vert.style.width=i;this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none";this.disableHoriz=new hh;this.disableVert=new hh};dP.prototype.enableZeroWidthBar=function(hj,i,hi){hj.style.pointerEvents="auto";function hk(){var hm=hj.getBoundingClientRect();var hl=hi=="vert"?document.elementFromPoint(hm.right-1,(hm.top+hm.bottom)/2):document.elementFromPoint((hm.right+hm.left)/2,hm.bottom-1);if(hl!=hj){hj.style.pointerEvents="none"}else{i.set(1000,hk)}}i.set(1000,hk)};dP.prototype.clear=function(){var i=this.horiz.parentNode;i.removeChild(this.horiz);i.removeChild(this.vert)};var fO=function(){};fO.prototype.update=function(){return{bottom:0,right:0}};fO.prototype.setScrollLeft=function(){};fO.prototype.setScrollTop=function(){};fO.prototype.clear=function(){};function fI(hk,hm){if(!hm){hm=d4(hk)}var hj=hk.display.barWidth,hi=hk.display.barHeight;a5(hk,hm);for(var hl=0;hl<4&&hj!=hk.display.barWidth||hi!=hk.display.barHeight;hl++){if(hj!=hk.display.barWidth&&hk.options.lineWrapping){bk(hk)}a5(hk,d4(hk));hj=hk.display.barWidth;hi=hk.display.barHeight}}function a5(i,hi){var hk=i.display;var hj=hk.scrollbars.update(hi);hk.sizer.style.paddingRight=(hk.barWidth=hj.right)+"px";hk.sizer.style.paddingBottom=(hk.barHeight=hj.bottom)+"px";hk.heightForcer.style.borderBottom=hj.bottom+"px solid transparent";if(hj.right&&hj.bottom){hk.scrollbarFiller.style.display="block";hk.scrollbarFiller.style.height=hj.bottom+"px";hk.scrollbarFiller.style.width=hj.right+"px"}else{hk.scrollbarFiller.style.display=""}if(hj.bottom&&i.options.coverGutterNextToScrollbar&&i.options.fixedGutter){hk.gutterFiller.style.display="block";hk.gutterFiller.style.height=hj.bottom+"px";hk.gutterFiller.style.width=hi.gutterWidth+"px"}else{hk.gutterFiller.style.display=""}}var by={"native":dP,"null":fO};function aL(i){if(i.display.scrollbars){i.display.scrollbars.clear();if(i.display.scrollbars.addClass){h(i.display.wrapper,i.display.scrollbars.addClass)}}i.display.scrollbars=new by[i.options.scrollbarStyle](function(hi){i.display.wrapper.insertBefore(hi,i.display.scrollbarFiller);ch(hi,"mousedown",function(){if(i.state.focused){setTimeout(function(){return i.display.input.focus()},0)}});hi.setAttribute("cm-not-content","true")},function(hj,hi){if(hi=="horizontal"){bW(i,hj)}else{B(i,hj)}},i);if(i.display.scrollbars.addClass){gn(i.display.wrapper,i.display.scrollbars.addClass)}}var eH=0;function c9(i){i.curOp={cm:i,viewChanged:false,startHeight:i.doc.height,forceUpdate:false,updateInput:null,typing:false,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:false,updateMaxLine:false,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:false,id:++eH};fb(i.curOp)}function av(i){var hi=i.curOp;ci(hi,function(hk){for(var hj=0;hj<hk.ops.length;hj++){hk.ops[hj].cm.curOp=null}dc(hk)})}function dc(hn){var hj=hn.ops;for(var hi=0;hi<hj.length;hi++){cq(hj[hi])}for(var ho=0;ho<hj.length;ho++){ay(hj[ho])}for(var hm=0;hm<hj.length;hm++){cm(hj[hm])}for(var hl=0;hl<hj.length;hl++){ax(hj[hl])}for(var hk=0;hk<hj.length;hk++){fK(hj[hk])}}function cq(hj){var i=hj.cm,hi=i.display;N(i);if(hj.updateMaxLine){f(i)}hj.mustUpdate=hj.viewChanged||hj.forceUpdate||hj.scrollTop!=null||hj.scrollToPos&&(hj.scrollToPos.from.line<hi.viewFrom||hj.scrollToPos.to.line>=hi.viewTo)||hi.maxLineChanged&&i.options.lineWrapping;hj.update=hj.mustUpdate&&new aS(i,hj.mustUpdate&&{top:hj.scrollTop,ensure:hj.scrollToPos},hj.forceUpdate)}function ay(i){i.updatedDisplay=i.mustUpdate&&E(i.cm,i.update)}function cm(hj){var i=hj.cm,hi=i.display;if(hj.updatedDisplay){bk(i)}hj.barMeasure=d4(i);if(hi.maxLineChanged&&!i.options.lineWrapping){hj.adjustWidthTo=eP(i,hi.maxLine,hi.maxLine.text.length).left+3;i.display.sizerWidth=hj.adjustWidthTo;hj.barMeasure.scrollWidth=Math.max(hi.scroller.clientWidth,hi.sizer.offsetLeft+hj.adjustWidthTo+dj(i)+i.display.barWidth);hj.maxScrollLeft=Math.max(0,hi.sizer.offsetLeft+hj.adjustWidthTo-dQ(i))}if(hj.updatedDisplay||hj.selectionChanged){hj.preparedSelection=hi.input.prepareSelection(hj.focus)}}function ax(hj){var i=hj.cm;if(hj.adjustWidthTo!=null){i.display.sizer.style.minWidth=hj.adjustWidthTo+"px";if(hj.maxScrollLeft<i.doc.scrollLeft){bW(i,Math.min(i.display.scroller.scrollLeft,hj.maxScrollLeft),true)}i.display.maxLineChanged=false}var hi=hj.focus&&hj.focus==eh()&&(!document.hasFocus||document.hasFocus());if(hj.preparedSelection){i.display.input.showSelection(hj.preparedSelection,hi)}if(hj.updatedDisplay||hj.startHeight!=i.doc.height){fI(i,hj.barMeasure)}if(hj.updatedDisplay){d3(i,hj.barMeasure)}if(hj.selectionChanged){q(i)}if(i.state.focused&&hj.updateInput){i.display.input.reset(hj.typing)}if(hi){t(hj.cm)}}function fK(hl){var hq=hl.cm,hn=hq.display,hp=hq.doc;if(hl.updatedDisplay){cG(hq,hl.update)}if(hn.wheelStartX!=null&&(hl.scrollTop!=null||hl.scrollLeft!=null||hl.scrollToPos)){hn.wheelStartX=hn.wheelStartY=null}if(hl.scrollTop!=null){T(hq,hl.scrollTop,hl.forceScroll)}if(hl.scrollLeft!=null){bW(hq,hl.scrollLeft,true,true)}if(hl.scrollToPos){var ho=G(hq,gy(hp,hl.scrollToPos.from),gy(hp,hl.scrollToPos.to),hl.scrollToPos.margin);eD(hq,ho)}var hm=hl.maybeHiddenMarkers,hi=hl.maybeUnhiddenMarkers;if(hm){for(var hk=0;hk<hm.length;++hk){if(!hm[hk].lines.length){aM(hm[hk],"hide")}}}if(hi){for(var hj=0;hj<hi.length;++hj){if(hi[hj].lines.length){aM(hi[hj],"unhide")}}}if(hn.wrapper.offsetHeight){hp.scrollTop=hq.display.scroller.scrollTop}if(hl.changeObjs){aM(hq,"changes",hq,hl.changeObjs)}if(hl.update){hl.update.finish()}}function dd(i,hi){if(i.curOp){return hi()}c9(i);try{return hi()}finally{av(i)}}function ds(i,hi){return function(){if(i.curOp){return hi.apply(i,arguments)}c9(i);try{return hi.apply(i,arguments)}finally{av(i)}}}function dC(i){return function(){if(this.curOp){return i.apply(this,arguments)}c9(this);try{return i.apply(this,arguments)}finally{av(this)}}}function c3(i){return function(){var hi=this.cm;if(!hi||hi.curOp){return i.apply(this,arguments)}c9(hi);try{return i.apply(this,arguments)}finally{av(hi)}}}function ap(hp,hn,ho,hq){if(hn==null){hn=hp.doc.first}if(ho==null){ho=hp.doc.first+hp.doc.size}if(!hq){hq=0}var hk=hp.display;if(hq&&ho<hk.viewTo&&(hk.updateLineNumbers==null||hk.updateLineNumbers>hn)){hk.updateLineNumbers=hn}hp.curOp.viewChanged=true;if(hn>=hk.viewTo){if(bi&&a7(hp.doc,hn)<hk.viewTo){e9(hp)}}else{if(ho<=hk.viewFrom){if(bi&&eA(hp.doc,ho+hq)>hk.viewFrom){e9(hp)}else{hk.viewFrom+=hq;hk.viewTo+=hq}}else{if(hn<=hk.viewFrom&&ho>=hk.viewTo){e9(hp)}else{if(hn<=hk.viewFrom){var hm=dJ(hp,ho,ho+hq,1);if(hm){hk.view=hk.view.slice(hm.index);hk.viewFrom=hm.lineN;hk.viewTo+=hq}else{e9(hp)}}else{if(ho>=hk.viewTo){var hi=dJ(hp,hn,hn,-1);if(hi){hk.view=hk.view.slice(0,hi.index);hk.viewTo=hi.lineN}else{e9(hp)}}else{var hl=dJ(hp,hn,hn,-1);var hj=dJ(hp,ho,ho+hq,1);if(hl&&hj){hk.view=hk.view.slice(0,hl.index).concat(fE(hp,hl.lineN,hj.lineN)).concat(hk.view.slice(hj.index));hk.viewTo+=hq}else{e9(hp)}}}}}}var i=hk.externalMeasured;if(i){if(ho<i.lineN){i.lineN+=hq}else{if(hn<i.lineN+i.size){hk.externalMeasured=null}}}}function W(hi,hj,hm){hi.curOp.viewChanged=true;var hn=hi.display,hl=hi.display.externalMeasured;if(hl&&hj>=hl.lineN&&hj<hl.lineN+hl.size){hn.externalMeasured=null}if(hj<hn.viewFrom||hj>=hn.viewTo){return}var hk=hn.view[dW(hi,hj)];if(hk.node==null){return}var i=hk.changes||(hk.changes=[]);if(dN(i,hm)==-1){i.push(hm)}}function e9(i){i.display.viewFrom=i.display.viewTo=i.doc.first;i.display.view=[];i.display.viewOffset=0}function dJ(hq,hk,hm,hj){var hn=dW(hq,hk),hp,ho=hq.display.view;if(!bi||hm==hq.doc.first+hq.doc.size){return{index:hn,lineN:hm}}var hi=hq.display.viewFrom;for(var hl=0;hl<hn;hl++){hi+=ho[hl].size}if(hi!=hk){if(hj>0){if(hn==ho.length-1){return null}hp=(hi+ho[hn].size)-hk;hn++}else{hp=hi-hk}hk+=hp;hm+=hp}while(a7(hq.doc,hm)!=hm){if(hn==(hj<0?0:ho.length-1)){return null}hm+=hj*ho[hn-(hj<0?1:0)].size;hn+=hj}return{index:hn,lineN:hm}}function di(i,hl,hk){var hj=i.display,hi=hj.view;if(hi.length==0||hl>=hj.viewTo||hk<=hj.viewFrom){hj.view=fE(i,hl,hk);hj.viewFrom=hl}else{if(hj.viewFrom>hl){hj.view=fE(i,hl,hj.viewFrom).concat(hj.view)}else{if(hj.viewFrom<hl){hj.view=hj.view.slice(dW(i,hl))}}hj.viewFrom=hl;if(hj.viewTo<hk){hj.view=hj.view.concat(fE(i,hj.viewTo,hk))}else{if(hj.viewTo>hk){hj.view=hj.view.slice(0,dW(i,hk))}}}hj.viewTo=hk}function dG(hi){var hj=hi.display.view,hm=0;for(var hl=0;hl<hj.length;hl++){var hk=hj[hl];if(!hk.hidden&&(!hk.node||hk.changes)){++hm}}return hm}function eM(i,hi){if(i.doc.highlightFrontier<i.display.viewTo){i.state.highlight.set(hi,cU(dh,i))}}function dh(i){var hl=i.doc;if(hl.highlightFrontier>=i.display.viewTo){return}var hj=+new Date+i.options.workTime;var hk=fG(i,hl.highlightFrontier);var hi=[];hl.iter(hk.line,Math.min(hl.first+hl.size,i.display.viewTo+500),function(hn){if(hk.line>=i.display.viewFrom){var hq=hn.styles;var hm=hn.text.length>i.options.maxHighlightLength?co(hl.mode,hk.state):null;var hs=gk(i,hn,hk,true);if(hm){hk.state=hm}hn.styles=hs.styles;var hp=hn.styleClasses,hr=hs.classes;if(hr){hn.styleClasses=hr}else{if(hp){hn.styleClasses=null}}var ht=!hq||hq.length!=hn.styles.length||hp!=hr&&(!hp||!hr||hp.bgClass!=hr.bgClass||hp.textClass!=hr.textClass);for(var ho=0;!ht&&ho<hq.length;++ho){ht=hq[ho]!=hn.styles[ho]}if(ht){hi.push(hk.line)}hn.stateAfter=hk.save();hk.nextLine()}else{if(hn.text.length<=i.options.maxHighlightLength){d2(i,hn.text,hk)}hn.stateAfter=hk.line%5==0?hk.save():null;hk.nextLine()}if(+new Date>hj){eM(i,i.options.workDelay);return true}});hl.highlightFrontier=hk.line;hl.modeFrontier=Math.max(hl.modeFrontier,hk.line);if(hi.length){dd(i,function(){for(var hm=0;hm<hi.length;hm++){W(i,hi[hm],"text")}})}}var aS=function(hi,i,hj){var hk=hi.display;this.viewport=i;this.visible=cr(hk,hi.doc,i);this.editorIsHidden=!hk.wrapper.offsetWidth;this.wrapperHeight=hk.wrapper.clientHeight;this.wrapperWidth=hk.wrapper.clientWidth;this.oldDisplayWidth=dQ(hi);this.force=hj;this.dims=fX(hi);this.events=[]};aS.prototype.signal=function(hi,i){if(f4(hi,i)){this.events.push(arguments)}};aS.prototype.finish=function(){var hj=this;for(var hi=0;hi<this.events.length;hi++){aM.apply(null,hj.events[hi])}};function N(i){var hi=i.display;if(!hi.scrollbarsClipped&&hi.scroller.offsetWidth){hi.nativeBarWidth=hi.scroller.offsetWidth-hi.scroller.clientWidth;hi.heightForcer.style.height=dj(i)+"px";hi.sizer.style.marginBottom=-hi.nativeBarWidth+"px";hi.sizer.style.borderRightWidth=dj(i)+"px";hi.scrollbarsClipped=true}}function bA(hi){if(hi.hasFocus()){return null}var hk=eh();if(!hk||!g8(hi.display.lineDiv,hk)){return null}var i={activeElt:hk};if(window.getSelection){var hj=window.getSelection();if(hj.anchorNode&&hj.extend&&g8(hi.display.lineDiv,hj.anchorNode)){i.anchorNode=hj.anchorNode;i.anchorOffset=hj.anchorOffset;i.focusNode=hj.focusNode;i.focusOffset=hj.focusOffset}}return i}function j(hi){if(!hi||!hi.activeElt||hi.activeElt==eh()){return}hi.activeElt.focus();if(hi.anchorNode&&g8(document.body,hi.anchorNode)&&g8(document.body,hi.focusNode)){var hj=window.getSelection(),i=document.createRange();i.setEnd(hi.anchorNode,hi.anchorOffset);i.collapse(false);hj.removeAllRanges();hj.addRange(i);hj.extend(hi.focusNode,hi.focusOffset)}}function E(hq,hk){var hl=hq.display,hp=hq.doc;if(hk.editorIsHidden){e9(hq);return false}if(!hk.force&&hk.visible.from>=hl.viewFrom&&hk.visible.to<=hl.viewTo&&(hl.updateLineNumbers==null||hl.updateLineNumbers>=hl.viewTo)&&hl.renderedView==hl.view&&dG(hq)==0){return false}if(eC(hq)){e9(hq);hk.dims=fX(hq)}var hj=hp.first+hp.size;var hn=Math.max(hk.visible.from-hq.options.viewportMargin,hp.first);var ho=Math.min(hj,hk.visible.to+hq.options.viewportMargin);if(hl.viewFrom<hn&&hn-hl.viewFrom<20){hn=Math.max(hp.first,hl.viewFrom)}if(hl.viewTo>ho&&hl.viewTo-ho<20){ho=Math.min(hj,hl.viewTo)}if(bi){hn=a7(hq.doc,hn);ho=eA(hq.doc,ho)}var hi=hn!=hl.viewFrom||ho!=hl.viewTo||hl.lastWrapHeight!=hk.wrapperHeight||hl.lastWrapWidth!=hk.wrapperWidth;di(hq,hn,ho);hl.viewOffset=b5(fZ(hq.doc,hl.viewFrom));hq.display.mover.style.top=hl.viewOffset+"px";var i=dG(hq);if(!hi&&i==0&&!hk.force&&hl.renderedView==hl.view&&(hl.updateLineNumbers==null||hl.updateLineNumbers>=hl.viewTo)){return false}var hm=bA(hq);if(i>4){hl.lineDiv.style.display="none"}cJ(hq,hl.updateLineNumbers,hk.dims);if(i>4){hl.lineDiv.style.display=""}hl.renderedView=hl.view;j(hm);ey(hl.cursorDiv);ey(hl.selectionDiv);hl.gutters.style.height=hl.sizer.style.minHeight=0;if(hi){hl.lastWrapHeight=hk.wrapperHeight;hl.lastWrapWidth=hk.wrapperWidth;eM(hq,400)}hl.updateLineNumbers=null;return true}function cG(hi,hl){var i=hl.viewport;for(var hk=true;;hk=false){if(!hk||!hi.options.lineWrapping||hl.oldDisplayWidth==dQ(hi)){if(i&&i.top!=null){i={top:Math.min(hi.doc.height+b0(hi.display)-dl(hi),i.top)}}hl.visible=cr(hi.display,hi.doc,i);if(hl.visible.from>=hi.display.viewFrom&&hl.visible.to<=hi.display.viewTo){break}}if(!E(hi,hl)){break}bk(hi);var hj=d4(hi);bU(hi);fI(hi,hj);d3(hi,hj);hl.force=false}hl.signal(hi,"update",hi);if(hi.display.viewFrom!=hi.display.reportedViewFrom||hi.display.viewTo!=hi.display.reportedViewTo){hl.signal(hi,"viewportChange",hi,hi.display.viewFrom,hi.display.viewTo);hi.display.reportedViewFrom=hi.display.viewFrom;hi.display.reportedViewTo=hi.display.viewTo}}function eo(hi,i){var hk=new aS(hi,i);if(E(hi,hk)){bk(hi);cG(hi,hk);var hj=d4(hi);bU(hi);fI(hi,hj);d3(hi,hj);hk.finish()}}function cJ(ht,hk,hs){var hp=ht.display,hv=ht.options.lineNumbers;var hi=hp.lineDiv,hu=hi.firstChild;function ho(hw){var i=hw.nextSibling;if(dr&&cs&&ht.display.currentWheelTarget==hw){hw.style.display="none"}else{hw.parentNode.removeChild(hw)}return i}var hq=hp.view,hn=hp.viewFrom;for(var hl=0;hl<hq.length;hl++){var hm=hq[hl];if(hm.hidden){}else{if(!hm.node||hm.node.parentNode!=hi){var hj=aN(ht,hm,hn,hs);hi.insertBefore(hj,hu)}else{while(hu!=hm.node){hu=ho(hu)}var hr=hv&&hk!=null&&hk<=hn&&hm.lineNumber;if(hm.changes){if(dN(hm.changes,"gutter")>-1){hr=false}aj(ht,hm,hn,hs)}if(hr){ey(hm.lineNumber);hm.lineNumber.appendChild(document.createTextNode(e3(ht.options,hn)))}hu=hm.node.nextSibling}}hn+=hm.size}while(hu){hu=ho(hu)}}function dv(i){var hi=i.display.gutters.offsetWidth;i.display.sizer.style.marginLeft=hi+"px"}function d3(i,hi){i.display.sizer.style.minHeight=hi.docHeight+"px";i.display.heightForcer.style.top=hi.docHeight+"px";i.display.gutters.style.height=(hi.docHeight+i.display.barHeight+dj(i))+"px"}function eK(hi){var hj=hi.display.gutters,hn=hi.options.gutters;ey(hj);var hk=0;for(;hk<hn.length;++hk){var hl=hn[hk];var hm=hj.appendChild(gX("div",null,"CodeMirror-gutter "+hl));if(hl=="CodeMirror-linenumbers"){hi.display.lineGutter=hm;hm.style.width=(hi.display.lineNumWidth||1)+"px"}}hj.style.display=hk?"":"none";dv(hi)}function cB(i){var hi=dN(i.gutters,"CodeMirror-linenumbers");if(hi==-1&&i.lineNumbers){i.gutters=i.gutters.concat(["CodeMirror-linenumbers"])}else{if(hi>-1&&!i.lineNumbers){i.gutters=i.gutters.slice(0);i.gutters.splice(hi,1)}}}var f6=0;var cD=null;if(ed){cD=-0.53}else{if(cN){cD=15}else{if(dH){cD=-0.7}else{if(aK){cD=-1/3}}}}function dg(hj){var hi=hj.wheelDeltaX,i=hj.wheelDeltaY;if(hi==null&&hj.detail&&hj.axis==hj.HORIZONTAL_AXIS){hi=hj.detail}if(i==null&&hj.detail&&hj.axis==hj.VERTICAL_AXIS){i=hj.detail}else{if(i==null){i=hj.wheelDelta}}return{x:hi,y:i}}function aH(i){var hi=dg(i);hi.x*=cD;hi.y*=cD;return hi}function c(hs,hm){var hu=dg(hm),hw=hu.x,hv=hu.y;var ho=hs.display,hr=ho.scroller;var hl=hr.scrollWidth>hr.clientWidth;var hk=hr.scrollHeight>hr.clientHeight;if(!(hw&&hl||hv&&hk)){return}if(hv&&cs&&dr){outer:for(var ht=hm.target,hq=ho.view;ht!=hr;ht=ht.parentNode){for(var hj=0;hj<hq.length;hj++){if(hq[hj].node==ht){hs.display.currentWheelTarget=ht;break outer}}}}if(hw&&!cN&&!ez&&cD!=null){if(hv&&hk){B(hs,Math.max(0,hr.scrollTop+hv*cD))}bW(hs,Math.max(0,hr.scrollLeft+hw*cD));if(!hv||(hv&&hk)){c5(hm)}ho.wheelStartX=null;return}if(hv&&cD!=null){var hi=hv*cD;var hp=hs.doc.scrollTop,hn=hp+ho.wrapper.clientHeight;if(hi<0){hp=Math.max(0,hp+hi-50)}else{hn=Math.min(hs.doc.height,hn+hi+50)}eo(hs,{top:hp,bottom:hn})}if(f6<20){if(ho.wheelStartX==null){ho.wheelStartX=hr.scrollLeft;ho.wheelStartY=hr.scrollTop;ho.wheelDX=hw;ho.wheelDY=hv;setTimeout(function(){if(ho.wheelStartX==null){return}var i=hr.scrollLeft-ho.wheelStartX;var hy=hr.scrollTop-ho.wheelStartY;var hx=(hy&&ho.wheelDY&&hy/ho.wheelDY)||(i&&ho.wheelDX&&i/ho.wheelDX);ho.wheelStartX=ho.wheelStartY=null;if(!hx){return}cD=(cD*f6+hx)/(f6+1);++f6},200)}else{ho.wheelDX+=hw;ho.wheelDY+=hv}}}var gW=function(i,hi){this.ranges=i;this.primIndex=hi};gW.prototype.primary=function(){return this.ranges[this.primIndex]};gW.prototype.equals=function(hi){var hm=this;if(hi==this){return true}if(hi.primIndex!=this.primIndex||hi.ranges.length!=this.ranges.length){return false}for(var hk=0;hk<this.ranges.length;hk++){var hj=hm.ranges[hk],hl=hi.ranges[hk];if(!ad(hj.anchor,hl.anchor)||!ad(hj.head,hl.head)){return false}}return true};gW.prototype.deepCopy=function(){var hk=this;var hi=[];for(var hj=0;hj<this.ranges.length;hj++){hi[hj]=new es(cF(hk.ranges[hj].anchor),cF(hk.ranges[hj].head))}return new gW(hi,this.primIndex)};gW.prototype.somethingSelected=function(){var hj=this;for(var hi=0;hi<this.ranges.length;hi++){if(!hj.ranges[hi].empty()){return true}}return false};gW.prototype.contains=function(hm,hi){var hl=this;if(!hi){hi=hm}for(var hk=0;hk<this.ranges.length;hk++){var hj=hl.ranges[hk];if(cC(hi,hj.from())>=0&&cC(hm,hj.to())<=0){return hk}}return -1};var es=function(i,hi){this.anchor=i;this.head=hi};es.prototype.from=function(){return az(this.anchor,this.head)};es.prototype.to=function(){return bP(this.anchor,this.head)};es.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function cV(hi,hp){var hk=hi[hp];hi.sort(function(hr,i){return cC(hr.from(),i.from())});hp=dN(hi,hk);for(var hm=1;hm<hi.length;hm++){var hq=hi[hm],hj=hi[hm-1];if(cC(hj.to(),hq.from())>=0){var hn=az(hj.from(),hq.from()),ho=bP(hj.to(),hq.to());var hl=hj.empty()?hq.from()==hq.head:hj.from()==hj.head;if(hm<=hp){--hp}hi.splice(--hm,2,new es(hl?ho:hn,hl?hn:ho))}}return new gW(hi,hp)}function fz(i,hi){return new gW([new es(i,hi||i)],0)}function dn(i){if(!i.text){return i.to}return ac(i.from.line+i.text.length-1,gt(i.text).length+(i.text.length==1?i.from.ch:0))}function ck(hk,hj){if(cC(hk,hj.from)<0){return hk}if(cC(hk,hj.to)<=0){return dn(hj)}var i=hk.line+hj.text.length-(hj.to.line-hj.from.line)-1,hi=hk.ch;if(hk.line==hj.to.line){hi+=dn(hj).ch-hj.to.ch}return ac(i,hi)}function f3(hl,hm){var hj=[];for(var hk=0;hk<hl.sel.ranges.length;hk++){var hi=hl.sel.ranges[hk];hj.push(new es(ck(hi.anchor,hm),ck(hi.head,hm)))}return cV(hj,hl.sel.primIndex)}function bL(hj,hi,i){if(hj.line==hi.line){return ac(i.line,hj.ch-hi.ch+i.ch)}else{return ac(i.line+(hj.line-hi.line),hj.ch)}}function an(hs,hp,hj){var hk=[];var hi=ac(hs.first,0),ht=hi;for(var hm=0;hm<hp.length;hm++){var ho=hp[hm];var hr=bL(ho.from,hi,ht);var hq=bL(dn(ho),hi,ht);hi=ho.to;ht=hq;if(hj=="around"){var hn=hs.sel.ranges[hm],hl=cC(hn.head,hn.anchor)<0;hk[hm]=new es(hl?hq:hr,hl?hr:hq)}else{hk[hm]=new es(hr,hr)}}return new gW(hk,hs.sel.primIndex)}function bI(i){i.doc.mode=gm(i.options,i.doc.modeOption);eV(i)}function eV(i){i.doc.iter(function(hi){if(hi.stateAfter){hi.stateAfter=null}if(hi.styles){hi.styles=null}});i.doc.modeFrontier=i.doc.highlightFrontier=i.doc.first;eM(i,100);i.state.modeGen++;if(i.curOp){ap(i)}}function em(i,hi){return hi.from.ch==0&&hi.to.ch==0&&gt(hi.text)==""&&(!i.cm||i.cm.options.wholeLineUpdateBefore)}function gj(hy,hr,hl,hp){function hk(hz){return hl?hl[hz]:null}function hq(hz,hB,hA){eX(hz,hB,hA,hp);am(hz,"change",hz,hr)}function hv(hC,hA){var hz=[];for(var hB=hC;hB<hA;++hB){hz.push(new g2(ht[hB],hk(hB),hp))}return hz}var hw=hr.from,hi=hr.to,ht=hr.text;var hs=fZ(hy,hw.line),i=fZ(hy,hi.line);var hj=gt(ht),hx=hk(ht.length-1),hu=hi.line-hw.line;if(hr.full){hy.insert(0,hv(0,ht.length));hy.remove(ht.length,hy.size-ht.length)}else{if(em(hy,hr)){var ho=hv(0,ht.length-1);hq(i,i.text,hx);if(hu){hy.remove(hw.line,hu)}if(ho.length){hy.insert(hw.line,ho)}}else{if(hs==i){if(ht.length==1){hq(hs,hs.text.slice(0,hw.ch)+hj+hs.text.slice(hi.ch),hx)}else{var hn=hv(1,ht.length-1);hn.push(new g2(hj+hs.text.slice(hi.ch),hx,hp));hq(hs,hs.text.slice(0,hw.ch)+ht[0],hk(0));hy.insert(hw.line+1,hn)}}else{if(ht.length==1){hq(hs,hs.text.slice(0,hw.ch)+ht[0]+i.text.slice(hi.ch),hk(0));hy.remove(hw.line+1,hu)}else{hq(hs,hs.text.slice(0,hw.ch)+ht[0],hk(0));hq(i,hj+i.text.slice(hi.ch),hx);var hm=hv(1,ht.length-1);if(hu>1){hy.remove(hw.line+1,hu-1)}hy.insert(hw.line+1,hm)}}}}am(hy,"change",hy,hr)}function eE(hk,hj,hi){function i(hq,ho,hm){if(hq.linked){for(var hn=0;hn<hq.linked.length;++hn){var hl=hq.linked[hn];if(hl.doc==ho){continue}var hp=hm&&hl.sharedHist;if(hi&&!hp){continue}hj(hl.doc,hp);i(hl.doc,hq,hp)}}}i(hk,null,true)}function eJ(i,hi){if(hi.cm){throw new Error("This document is already in use.")}i.doc=hi;hi.cm=i;af(i);bI(i);D(i);if(!i.options.lineWrapping){f(i)}i.options.mode=hi.modeOption;ap(i)}function D(i){(i.doc.direction=="rtl"?gn:h)(i.display.lineDiv,"CodeMirror-rtl")}function ev(i){dd(i,function(){D(i);ap(i)})}function gL(i){this.done=[];this.undone=[];this.undoDepth=Infinity;this.lastModTime=this.lastSelTime=0;this.lastOp=this.lastSelOp=null;this.lastOrigin=this.lastSelOrigin=null;this.generation=this.maxGeneration=i||1}function d0(i,hj){var hi={from:cF(hj.from),to:dn(hj),text:g0(i,hj.from,hj.to)};cj(i,hi,hj.from.line,hj.to.line+1);eE(i,function(hk){return cj(hk,hi,hj.from.line,hj.to.line+1)},true);return hi}function go(hi){while(hi.length){var i=gt(hi);if(i.ranges){hi.pop()}else{break}}}function fu(hi,i){if(i){go(hi.done);return gt(hi.done)}else{if(hi.done.length&&!gt(hi.done).ranges){return gt(hi.done)}else{if(hi.done.length>1&&!hi.done[hi.done.length-2].ranges){hi.done.pop();return gt(hi.done)}}}}function gA(hn,hl,i,hk){var hj=hn.history;hj.undone.length=0;var hi=+new Date,ho;var hp;if((hj.lastOp==hk||hj.lastOrigin==hl.origin&&hl.origin&&((hl.origin.charAt(0)=="+"&&hn.cm&&hj.lastModTime>hi-hn.cm.options.historyEventDelay)||hl.origin.charAt(0)=="*"))&&(ho=fu(hj,hj.lastOp==hk))){hp=gt(ho.changes);if(cC(hl.from,hl.to)==0&&cC(hl.from,hp.to)==0){hp.to=dn(hl)}else{ho.changes.push(d0(hn,hl))}}else{var hm=gt(hj.done);if(!hm||!hm.ranges){df(hn.sel,hj.done)}ho={changes:[d0(hn,hl)],generation:hj.generation};hj.done.push(ho);while(hj.done.length>hj.undoDepth){hj.done.shift();if(!hj.done[0].ranges){hj.done.shift()}}}hj.done.push(i);hj.generation=++hj.maxGeneration;hj.lastModTime=hj.lastSelTime=hi;hj.lastOp=hj.lastSelOp=hk;hj.lastOrigin=hj.lastSelOrigin=hl.origin;if(!hp){aM(hn,"historyAdded")}}function bS(hl,i,hj,hk){var hi=i.charAt(0);return hi=="*"||hi=="+"&&hj.ranges.length==hk.ranges.length&&hj.somethingSelected()==hk.somethingSelected()&&new Date-hl.history.lastSelTime<=(hl.cm?hl.cm.options.historyEventDelay:500)}function ha(hm,hk,i,hj){var hl=hm.history,hi=hj&&hj.origin;if(i==hl.lastSelOp||(hi&&hl.lastSelOrigin==hi&&(hl.lastModTime==hl.lastSelTime&&hl.lastOrigin==hi||bS(hm,hi,gt(hl.done),hk)))){hl.done[hl.done.length-1]=hk}else{df(hk,hl.done)}hl.lastSelTime=+new Date;hl.lastSelOrigin=hi;hl.lastSelOp=i;if(hj&&hj.clearRedo!==false){go(hl.undone)}}function df(hi,i){var hj=gt(i);if(!(hj&&hj.ranges&&hj.equals(hi))){i.push(hi)}}function cj(hi,hm,hl,hk){var i=hm["spans_"+hi.id],hj=0;hi.iter(Math.max(hi.first,hl),Math.min(hi.first+hi.size,hk),function(hn){if(hn.markedSpans){(i||(i=hm["spans_"+hi.id]={}))[hj]=hn.markedSpans}++hj})}function bw(hk){if(!hk){return null}var hi;for(var hj=0;hj<hk.length;++hj){if(hk[hj].marker.explicitlyCleared){if(!hi){hi=hk.slice(0,hj)}}else{if(hi){hi.push(hk[hj])}}}return !hi?hk:hi.length?hi:null}function cp(hl,hm){var hk=hm["spans_"+hl.id];if(!hk){return null}var hi=[];for(var hj=0;hj<hm.text.length;++hj){hi.push(bw(hk[hj]))}return hi}function eG(hq,ho){var hi=cp(hq,ho);var hr=eT(hq,ho);if(!hi){return hr}if(!hr){return hi}for(var hl=0;hl<hi.length;++hl){var hm=hi[hl],hn=hr[hl];if(hm&&hn){spans:for(var hk=0;hk<hn.length;++hk){var hp=hn[hk];for(var hj=0;hj<hm.length;++hj){if(hm[hj].marker==hp.marker){continue spans}}hm.push(hp)}}else{if(hn){hi[hl]=hn}}}return hi}function b8(ht,hl,hs){var hj=[];for(var ho=0;ho<ht.length;++ho){var hk=ht[ho];if(hk.ranges){hj.push(hs?gW.prototype.deepCopy.call(hk):hk);continue}var hq=hk.changes,hr=[];hj.push({changes:hr});for(var hn=0;hn<hq.length;++hn){var hp=hq[hn],hm=(void 0);hr.push({from:hp.from,to:hp.to,text:hp.text});if(hl){for(var hi in hp){if(hm=hi.match(/^spans_(\d+)$/)){if(dN(hl,Number(hm[1]))>-1){gt(hr)[hi]=hp[hi];delete hp[hi]}}}}}}return hj}function ge(hi,hl,i,hm){if(hm){var hk=hi.anchor;if(i){var hj=cC(hl,hk)<0;if(hj!=(cC(i,hk)<0)){hk=hl;hl=i}else{if(hj!=(cC(hl,i)<0)){hl=i}}}return new es(hk,hl)}else{return new es(i||hl,hl)}}function gQ(hk,hj,i,hi,hl){if(hl==null){hl=hk.cm&&(hk.cm.display.shift||hk.extend)}ce(hk,new gW([ge(hk.sel.primary(),hj,i,hl)],0),hi)}function aD(hn,hm,hk){var hj=[];var ho=hn.cm&&(hn.cm.display.shift||hn.extend);for(var hl=0;hl<hn.sel.ranges.length;hl++){hj[hl]=ge(hn.sel.ranges[hl],hm[hl],null,ho)}var hi=cV(hj,hn.sel.primIndex);ce(hn,hi,hk)}function e(hm,hl,hj,hk){var hi=hm.sel.ranges.slice(0);hi[hl]=hj;ce(hm,cV(hi,hm.sel.primIndex),hk)}function J(hk,hi,hj,i){ce(hk,fz(hi,hj),i)}function b(hk,hi,i){var hj={ranges:hi.ranges,update:function(hl){var hn=this;this.ranges=[];for(var hm=0;hm<hl.length;hm++){hn.ranges[hm]=new es(gy(hk,hl[hm].anchor),gy(hk,hl[hm].head))}},origin:i&&i.origin};aM(hk,"beforeSelectionChange",hk,hj);if(hk.cm){aM(hk.cm,"beforeSelectionChange",hk.cm,hj)}if(hj.ranges!=hi.ranges){return cV(hj.ranges,hj.ranges.length-1)}else{return hi}}function fS(hl,hk,hi){var i=hl.history.done,hj=gt(i);if(hj&&hj.ranges){i[i.length-1]=hk;eZ(hl,hk,hi)}else{ce(hl,hk,hi)}}function ce(hj,hi,i){eZ(hj,hi,i);ha(hj,hj.sel,hj.cm?hj.cm.curOp.id:NaN,i)}function eZ(hk,hj,hi){if(f4(hk,"beforeSelectionChange")||hk.cm&&f4(hk.cm,"beforeSelectionChange")){hj=b(hk,hj,hi)}var i=hi&&hi.bias||(cC(hj.primary().head,hk.sel.primary().head)<0?-1:1);dB(hk,p(hk,hj,i,true));if(!(hi&&hi.scroll===false)&&hk.cm){gs(hk.cm)}}function dB(hi,i){if(i.equals(hi.sel)){return}hi.sel=i;if(hi.cm){hi.cm.curOp.updateInput=hi.cm.curOp.selectionChanged=true;ab(hi.cm)}am(hi,"cursorActivity",hi)}function fa(i){dB(i,p(i,i.sel,null,false))}function p(hr,hi,ho,hp){var hl;for(var hm=0;hm<hi.ranges.length;hm++){var hn=hi.ranges[hm];var hj=hi.ranges.length==hr.sel.ranges.length&&hr.sel.ranges[hm];var hq=cf(hr,hn.anchor,hj&&hj.anchor,ho,hp);var hk=cf(hr,hn.head,hj&&hj.head,ho,hp);if(hl||hq!=hn.anchor||hk!=hn.head){if(!hl){hl=hi.ranges.slice(0,hm)}hl[hm]=new es(hq,hk)}}return hl?cV(hl,hi.primIndex):hi}function fp(hs,hq,hl,hk,ho){var ht=fZ(hs,hq.line);if(ht.markedSpans){for(var hm=0;hm<ht.markedSpans.length;++hm){var hi=ht.markedSpans[hm],hj=hi.marker;if((hi.from==null||(hj.inclusiveLeft?hi.from<=hq.ch:hi.from<hq.ch))&&(hi.to==null||(hj.inclusiveRight?hi.to>=hq.ch:hi.to>hq.ch))){if(ho){aM(hj,"beforeCursorEnter");if(hj.explicitlyCleared){if(!ht.markedSpans){break}else{--hm;continue}}}if(!hj.atomic){continue}if(hl){var hp=hj.find(hk<0?1:-1),hr=(void 0);if(hk<0?hj.inclusiveRight:hj.inclusiveLeft){hp=he(hs,hp,-hk,hp&&hp.line==hq.line?ht:null)}if(hp&&hp.line==hq.line&&(hr=cC(hp,hl))&&(hk<0?hr<0:hr>0)){return fp(hs,hp,hq,hk,ho)}}var hn=hj.find(hk<0?-1:1);if(hk<0?hj.inclusiveLeft:hj.inclusiveRight){hn=he(hs,hn,hk,hn.line==hq.line?ht:null)}return hn?fp(hs,hn,hq,hk,ho):null}}}return hq}function cf(hm,hn,hk,hi,i){var hj=hi||1;var hl=fp(hm,hn,hk,hj,i)||(!i&&fp(hm,hn,hk,hj,true))||fp(hm,hn,hk,-hj,i)||(!i&&fp(hm,hn,hk,-hj,true));if(!hl){hm.cantEdit=true;return ac(hm.first,0)}return hl}function he(hj,hk,hi,i){if(hi<0&&hk.ch==0){if(hk.line>hj.first){return gy(hj,ac(hk.line-1))}else{return null}}else{if(hi>0&&hk.ch==(i||fZ(hj,hk.line)).text.length){if(hk.line<hj.first+hj.size-1){return ac(hk.line+1,0)}else{return null}}else{return new ac(hk.line,hk.ch+hi)}}}function au(i){i.setSelection(ac(i.firstLine(),0),ac(i.lastLine()),ah)}function ek(hi,hk,hj){var i={canceled:false,from:hk.from,to:hk.to,text:hk.text,origin:hk.origin,cancel:function(){return i.canceled=true}};if(hj){i.update=function(ho,hn,hm,hl){if(ho){i.from=gy(hi,ho)}if(hn){i.to=gy(hi,hn)}if(hm){i.text=hm}if(hl!==undefined){i.origin=hl}}}aM(hi,"beforeChange",hi,i);if(hi.cm){aM(hi.cm,"beforeChange",hi.cm,i)}if(i.canceled){return null}return{from:i.from,to:i.to,text:i.text,origin:i.origin}}function br(hl,hm,hk){if(hl.cm){if(!hl.cm.curOp){return ds(hl.cm,br)(hl,hm,hk)}if(hl.cm.state.suppressEdits){return}}if(f4(hl,"beforeChange")||hl.cm&&f4(hl.cm,"beforeChange")){hm=ek(hl,hm,true);if(!hm){return}}var hj=hc&&!hk&&c8(hl,hm.from,hm.to);if(hj){for(var hi=hj.length-1;hi>=0;--hi){P(hl,{from:hj[hi].from,to:hj[hi].to,text:hi?[""]:hm.text})}}else{P(hl,hm)}}function P(hj,hk){if(hk.text.length==1&&hk.text[0]==""&&cC(hk.from,hk.to)==0){return}var hi=f3(hj,hk);gA(hj,hk,hi,hj.cm?hj.cm.curOp.id:NaN);eL(hj,hk,hi,eT(hj,hk));var i=[];eE(hj,function(hm,hl){if(!hl&&dN(i,hm.history)==-1){d7(hm.history,hk);i.push(hm.history)}eL(hm,hk,null,eT(hm,hk))})}function ct(ht,hs,hv){if(ht.cm&&ht.cm.state.suppressEdits&&!hv){return}var hr=ht.history,hj,hl=ht.sel;var hi=hs=="undo"?hr.done:hr.undone,hu=hs=="undo"?hr.undone:hr.done;var ho=0;for(;ho<hi.length;ho++){hj=hi[ho];if(hv?hj.ranges&&!hj.equals(ht.sel):!hj.ranges){break}}if(ho==hi.length){return}hr.lastOrigin=hr.lastSelOrigin=null;for(;;){hj=hi.pop();if(hj.ranges){df(hj,hu);if(hv&&!hj.equals(ht.sel)){ce(ht,hj,{clearRedo:false});return}hl=hj}else{break}}var hq=[];df(hl,hu);hu.push({changes:hq,generation:hr.generation});hr.generation=hj.generation||++hr.maxGeneration;var hk=f4(ht,"beforeChange")||ht.cm&&f4(ht.cm,"beforeChange");var hp=function(hw){var hz=hj.changes[hw];hz.origin=hs;if(hk&&!ek(ht,hz,false)){hi.length=0;return{}}hq.push(d0(ht,hz));var hy=hw?f3(ht,hz):gt(hi);eL(ht,hz,hy,eG(ht,hz));if(!hw&&ht.cm){ht.cm.scrollIntoView({from:hz.from,to:dn(hz)})}var hx=[];eE(ht,function(hA,i){if(!i&&dN(hx,hA.history)==-1){d7(hA.history,hz);hx.push(hA.history)}eL(hA,hz,null,eG(hA,hz))})};for(var hm=hj.changes.length-1;hm>=0;--hm){var hn=hp(hm);if(hn){return hn.v}}}function f7(hi,hk){if(hk==0){return}hi.first+=hk;hi.sel=new gW(cd(hi.sel.ranges,function(hl){return new es(ac(hl.anchor.line+hk,hl.anchor.ch),ac(hl.head.line+hk,hl.head.ch))}),hi.sel.primIndex);if(hi.cm){ap(hi.cm,hi.first,hi.first-hk,hk);for(var hj=hi.cm.display,i=hj.viewFrom;i<hj.viewTo;i++){W(hi.cm,i,"gutter")}}}function eL(hl,hm,hk,hi){if(hl.cm&&!hl.cm.curOp){return ds(hl.cm,eL)(hl,hm,hk,hi)}if(hm.to.line<hl.first){f7(hl,hm.text.length-1-(hm.to.line-hm.from.line));return}if(hm.from.line>hl.lastLine()){return}if(hm.from.line<hl.first){var i=hm.text.length-1-(hl.first-hm.from.line);f7(hl,i);hm={from:ac(hl.first,0),to:ac(hm.to.line+i,hm.to.ch),text:[gt(hm.text)],origin:hm.origin}}var hj=hl.lastLine();if(hm.to.line>hj){hm={from:hm.from,to:ac(hj,fZ(hl,hj).text.length),text:[hm.text[0]],origin:hm.origin}}hm.removed=g0(hl,hm.from,hm.to);if(!hk){hk=f3(hl,hm)}if(hl.cm){aR(hl.cm,hm,hi)}else{gj(hl,hm,hi)}eZ(hl,hk,ah)}function aR(hs,ho,hm){var hr=hs.doc,hn=hs.display,hp=ho.from,hq=ho.to;var i=false,hl=hp.line;if(!hs.options.lineWrapping){hl=b6(z(fZ(hr,hp.line)));hr.iter(hl,hq.line+1,function(hu){if(hu==hn.maxLine){i=true;return true}})}if(hr.sel.contains(ho.from,ho.to)>-1){ab(hs)}gj(hr,ho,hm,bp(hs));if(!hs.options.lineWrapping){hr.iter(hl,hp.line+ho.text.length,function(hv){var hu=eW(hv);if(hu>hn.maxLineLength){hn.maxLine=hv;hn.maxLineLength=hu;hn.maxLineChanged=true;i=false}});if(i){hs.curOp.updateMaxLine=true}}hb(hr,hp.line);eM(hs,400);var ht=ho.text.length-(hq.line-hp.line)-1;if(ho.full){ap(hs)}else{if(hp.line==hq.line&&ho.text.length==1&&!em(hs.doc,ho)){W(hs,hp.line,"text")}else{ap(hs,hp.line,hq.line+1,ht)}}var hj=f4(hs,"changes"),hk=f4(hs,"change");if(hk||hj){var hi={from:hp,to:hq,text:ho.text,removed:ho.removed,origin:ho.origin};if(hk){am(hs,"change",hs,hi)}if(hj){(hs.curOp.changeObjs||(hs.curOp.changeObjs=[])).push(hi)}}hs.display.selForContextMenu=null}function bc(hk,hj,hm,hl,i){if(!hl){hl=hm}if(cC(hl,hm)<0){var hi=hl;hl=hm;hm=hi}if(typeof hj=="string"){hj=hk.splitLines(hj)}br(hk,{from:hm,to:hl,text:hj,origin:i})}function M(hk,hj,hi,i){if(hi<hk.line){hk.line+=i}else{if(hj<hk.line){hk.line=hj;hk.ch=0}}}function f1(hm,ho,hp,hq){for(var hl=0;hl<hm.length;++hl){var hi=hm[hl],hn=true;if(hi.ranges){if(!hi.copied){hi=hm[hl]=hi.deepCopy();hi.copied=true}for(var hk=0;hk<hi.ranges.length;hk++){M(hi.ranges[hk].anchor,ho,hp,hq);M(hi.ranges[hk].head,ho,hp,hq)}continue}for(var hj=0;hj<hi.changes.length;++hj){var hr=hi.changes[hj];if(hp<hr.from.line){hr.from=ac(hr.from.line+hq,hr.from.ch);hr.to=ac(hr.to.line+hq,hr.to.ch)}else{if(ho<=hr.to.line){hn=false;break}}}if(!hn){hm.splice(0,hl+1);hl=0}}}function d7(hi,hl){var hk=hl.from.line,hj=hl.to.line,i=hl.text.length-(hj-hk)-1;f1(hi.done,hk,hj,i);f1(hi.undone,hk,hj,i)}function fc(hk,hj,i,hm){var hl=hj,hi=hj;if(typeof hj=="number"){hi=fZ(hk,dw(hk,hj))}else{hl=b6(hj)}if(hl==null){return null}if(hm(hi,hl)&&hk.cm){W(hk.cm,hl,i)}return hi}function fJ(hj){var hl=this;this.lines=hj;this.parent=null;var hi=0;for(var hk=0;hk<hj.length;++hk){hj[hk].parent=hl;hi+=hj[hk].height}this.height=hi}fJ.prototype={chunkSize:function X(){return this.lines.length},removeInner:function O(hi,hn){var hm=this;for(var hk=hi,hl=hi+hn;hk<hl;++hk){var hj=hm.lines[hk];hm.height-=hj.height;bT(hj);am(hj,"delete")}this.lines.splice(hi,hn)},collapse:function gf(i){i.push.apply(i,this.lines)},insertInner:function a0(hj,hk,hi){var hm=this;this.height+=hi;this.lines=this.lines.slice(0,hj).concat(hk).concat(this.lines.slice(hj));for(var hl=0;hl<hk.length;++hl){hk[hl].parent=hm}},iterN:function gY(i,hl,hk){var hj=this;for(var hi=i+hl;i<hi;++i){if(hk(hj.lines[i])){return true}}}};function gi(hl){var hn=this;this.children=hl;var hk=0,hi=0;for(var hj=0;hj<hl.length;++hj){var hm=hl[hj];hk+=hm.chunkSize();hi+=hm.height;hm.parent=hn}this.size=hk;this.height=hi;this.parent=null}gi.prototype={chunkSize:function X(){return this.size},removeInner:function O(hk,hj){var hm=this;this.size-=hj;for(var hl=0;hl<this.children.length;++hl){var hi=hm.children[hl],ho=hi.chunkSize();if(hk<ho){var hn=Math.min(hj,ho-hk),hp=hi.height;hi.removeInner(hk,hn);hm.height-=hp-hi.height;if(ho==hn){hm.children.splice(hl--,1);hi.parent=null}if((hj-=hn)==0){break}hk=0}else{hk-=ho}}if(this.size-hj<25&&(this.children.length>1||!(this.children[0] instanceof fJ))){var hq=[];this.collapse(hq);this.children=[new fJ(hq)];this.children[0].parent=this}},collapse:function gf(hi){var hk=this;for(var hj=0;hj<this.children.length;++hj){hk.children[hj].collapse(hi)}},insertInner:function a0(hj,hr,hq){var hm=this;this.size+=hr.length;this.height+=hq;for(var hl=0;hl<this.children.length;++hl){var hi=hm.children[hl],ho=hi.chunkSize();if(hj<=ho){hi.insertInner(hj,hr,hq);if(hi.lines&&hi.lines.length>50){var hk=hi.lines.length%25+25;for(var hp=hk;hp<hi.lines.length;){var hn=new fJ(hi.lines.slice(hp,hp+=25));hi.height-=hn.height;hm.children.splice(++hl,0,hn);hn.parent=hm}hi.lines=hi.lines.slice(0,hk);hm.maybeSpill()}break}hj-=ho}},maybeSpill:function e4(){if(this.children.length<=10){return}var hk=this;do{var hi=hk.children.splice(hk.children.length-5,5);var hj=new gi(hi);if(!hk.parent){var hl=new gi(hk.children);hl.parent=hk;hk.children=[hl,hj];hk=hl}else{hk.size-=hj.size;hk.height-=hj.height;var i=dN(hk.parent.children,hk);hk.parent.children.splice(i+1,0,hj)}hj.parent=hk.parent}while(hk.children.length>10);hk.parent.maybeSpill()},iterN:function gY(hi,hp,ho){var hn=this;for(var hj=0;hj<this.children.length;++hj){var hm=hn.children[hj],hl=hm.chunkSize();if(hi<hl){var hk=Math.min(hp,hl-hi);if(hm.iterN(hi,hk,ho)){return true}if((hp-=hk)==0){break}hi=0}else{hi-=hl}}}};var d5=function(hk,hj,i){var hl=this;if(i){for(var hi in i){if(i.hasOwnProperty(hi)){hl[hi]=i[hi]}}}this.doc=hk;this.node=hj};d5.prototype.clear=function(){var ho=this;var hj=this.doc.cm,hl=this.line.widgets,hk=this.line,hn=b6(hk);if(hn==null||!hl){return}for(var hm=0;hm<hl.length;++hm){if(hl[hm]==ho){hl.splice(hm--,1)}}if(!hl.length){hk.widgets=null}var hi=dp(this);g3(hk,Math.max(0,hk.height-hi));if(hj){dd(hj,function(){eu(hj,hk,-hi);W(hj,hn,"widget")});am(hj,"lineWidgetCleared",hj,this,hn)}};d5.prototype.changed=function(){var hl=this;var hi=this.height,i=this.doc.cm,hj=this.line;this.height=null;var hk=dp(this)-hi;if(!hk){return}g3(hj,hj.height+hk);if(i){dd(i,function(){i.curOp.forceUpdate=true;eu(i,hj,hk);am(i,"lineWidgetChanged",i,hl,b6(hj))})}};bR(d5);function eu(i,hi,hj){if(b5(hi)<((i.curOp&&i.curOp.scrollTop)||i.doc.scrollTop)){c7(i,hj)}}function bY(hm,hl,hj,hi){var hk=new d5(hm,hj,hi);var i=hm.cm;if(i&&hk.noHScroll){i.display.alignWidgets=true}fc(hm,hl,"widget",function(ho){var hp=ho.widgets||(ho.widgets=[]);if(hk.insertAt==null){hp.push(hk)}else{hp.splice(Math.min(hp.length-1,Math.max(0,hk.insertAt)),0,hk)}hk.line=ho;if(i&&!gg(hm,ho)){var hn=b5(ho)<hm.scrollTop;g3(ho,ho.height+dp(hk));if(hn){c7(i,hk.height)}i.curOp.forceUpdate=true}return true});am(i,"lineWidgetAdded",i,hk,typeof hl=="number"?hl:b6(hl));return hk}var bf=0;var V=function(hi,i){this.lines=[];this.type=i;this.doc=hi;this.id=++bf};V.prototype.clear=function(){var hn=this;if(this.explicitlyCleared){return}var hr=this.doc.cm,hk=hr&&!hr.curOp;if(hk){c9(hr)}if(f4(this,"clear")){var hs=this.find();if(hs){am(this,"clear",hs.from,hs.to)}}var hl=null,hp=null;for(var hm=0;hm<this.lines.length;++hm){var ht=hn.lines[hm];var hq=fU(ht.markedSpans,hn);if(hr&&!hn.collapsed){W(hr,b6(ht),"text")}else{if(hr){if(hq.to!=null){hp=b6(ht)}if(hq.from!=null){hl=b6(ht)}}}ht.markedSpans=fn(ht.markedSpans,hq);if(hq.from==null&&hn.collapsed&&!gg(hn.doc,ht)&&hr){g3(ht,a9(hr.display))}}if(hr&&this.collapsed&&!hr.options.lineWrapping){for(var hj=0;hj<this.lines.length;++hj){var hi=z(hn.lines[hj]),ho=eW(hi);if(ho>hr.display.maxLineLength){hr.display.maxLine=hi;hr.display.maxLineLength=ho;hr.display.maxLineChanged=true}}}if(hl!=null&&hr&&this.collapsed){ap(hr,hl,hp+1)}this.lines.length=0;this.explicitlyCleared=true;if(this.atomic&&this.doc.cantEdit){this.doc.cantEdit=false;if(hr){fa(hr.doc)}}if(hr){am(hr,"markerCleared",hr,this,hl,hp)}if(hk){av(hr)}if(this.parent){this.parent.clear()}};V.prototype.find=function(hl,hj){var hp=this;if(hl==null&&this.type=="bookmark"){hl=1}var ho,hn;for(var hk=0;hk<this.lines.length;++hk){var hi=hp.lines[hk];var hm=fU(hi.markedSpans,hp);if(hm.from!=null){ho=ac(hj?hi:b6(hi),hm.from);if(hl==-1){return ho}}if(hm.to!=null){hn=ac(hj?hi:b6(hi),hm.to);if(hl==1){return hn}}}return ho&&{from:ho,to:hn}};V.prototype.changed=function(){var hk=this;var hj=this.find(-1,true),hi=this,i=this.doc.cm;if(!hj||!i){return}dd(i,function(){var hm=hj.line,hn=b6(hj.line);var hl=fW(i,hn);if(hl){aC(hl);i.curOp.selectionChanged=i.curOp.forceUpdate=true}i.curOp.updateMaxLine=true;if(!gg(hi.doc,hm)&&hi.height!=null){var hp=hi.height;hi.height=null;var ho=dp(hi)-hp;if(ho){g3(hm,hm.height+ho)}}am(i,"markerChanged",i,hk)})};V.prototype.attachLine=function(i){if(!this.lines.length&&this.doc.cm){var hi=this.doc.cm.curOp;if(!hi.maybeHiddenMarkers||dN(hi.maybeHiddenMarkers,this)==-1){(hi.maybeUnhiddenMarkers||(hi.maybeUnhiddenMarkers=[])).push(this)}}this.lines.push(i)};V.prototype.detachLine=function(i){this.lines.splice(dN(this.lines,i),1);if(!this.lines.length&&this.doc.cm){var hi=this.doc.cm.curOp;(hi.maybeHiddenMarkers||(hi.maybeHiddenMarkers=[])).push(this)}};bR(V);function fk(hq,ho,hp,hs,hm){if(hs&&hs.shared){return S(hq,ho,hp,hs,hm)}if(hq.cm&&!hq.cm.curOp){return ds(hq.cm,fk)(hq,ho,hp,hs,hm)}var hl=new V(hq,hm),hr=cC(ho,hp);if(hs){aX(hs,hl,false)}if(hr>0||hr==0&&hl.clearWhenEmpty!==false){return hl}if(hl.replacedWith){hl.collapsed=true;hl.widgetNode=g4("span",[hl.replacedWith],"CodeMirror-widget");if(!hs.handleMouseEvents){hl.widgetNode.setAttribute("cm-ignore-events","true")}if(hs.insertLeft){hl.widgetNode.insertLeft=true}}if(hl.collapsed){if(A(hq,ho.line,ho,hp,hl)||ho.line!=hp.line&&A(hq,hp.line,ho,hp,hl)){throw new Error("Inserting collapsed marker partially overlapping an existing one")}bO()}if(hl.addToHistory){gA(hq,{from:ho,to:hp,origin:"markText"},hq.sel,NaN)}var hj=ho.line,hn=hq.cm,hi;hq.iter(hj,hp.line+1,function(i){if(hn&&hl.collapsed&&!hn.options.lineWrapping&&z(i)==hn.display.maxLine){hi=true}if(hl.collapsed&&hj!=ho.line){g3(i,0)}cA(i,new eR(hl,hj==ho.line?ho.ch:null,hj==hp.line?hp.ch:null));++hj});if(hl.collapsed){hq.iter(ho.line,hp.line+1,function(i){if(gg(hq,i)){g3(i,0)}})}if(hl.clearOnEnter){ch(hl,"beforeCursorEnter",function(){return hl.clear()})}if(hl.readOnly){gl();if(hq.history.done.length||hq.history.undone.length){hq.clearHistory()}}if(hl.collapsed){hl.id=++bf;hl.atomic=true}if(hn){if(hi){hn.curOp.updateMaxLine=true}if(hl.collapsed){ap(hn,ho.line,hp.line+1)}else{if(hl.className||hl.title||hl.startStyle||hl.endStyle||hl.css){for(var hk=ho.line;hk<=hp.line;hk++){W(hn,hk,"text")}}}if(hl.atomic){fa(hn.doc)}am(hn,"markerAdded",hn,hl)}return hl}var y=function(hk,hj){var hl=this;this.markers=hk;this.primary=hj;for(var hi=0;hi<hk.length;++hi){hk[hi].parent=hl}};y.prototype.clear=function(){var hj=this;if(this.explicitlyCleared){return}this.explicitlyCleared=true;for(var hi=0;hi<this.markers.length;++hi){hj.markers[hi].clear()}am(this,"clear")};y.prototype.find=function(hi,i){return this.primary.find(hi,i)};bR(y);function S(hl,ho,hn,i,hj){i=aX(i);i.shared=false;var hm=[fk(hl,ho,hn,i,hj)],hi=hm[0];var hk=i.widgetNode;eE(hl,function(hq){if(hk){i.widgetNode=hk.cloneNode(true)}hm.push(fk(hq,gy(hq,ho),gy(hq,hn),i,hj));for(var hp=0;hp<hq.linked.length;++hp){if(hq.linked[hp].isParent){return}}hi=gt(hm)});return new y(hm,hi)}function fw(i){return i.findMarks(ac(i.first,0),i.clipPos(ac(i.lastLine())),function(hi){return hi.parent})}function d8(hn,ho){for(var hl=0;hl<ho.length;hl++){var hj=ho[hl],hp=hj.find();var hi=hn.clipPos(hp.from),hm=hn.clipPos(hp.to);if(cC(hi,hm)){var hk=fk(hn,hi,hm,hj.primary,hj.primary.type);hj.markers.push(hk);hk.parent=hj}}}function eY(hk){var hi=function(hn){var hl=hk[hn],hp=[hl.primary.doc];eE(hl.primary.doc,function(i){return hp.push(i)});for(var hm=0;hm<hl.markers.length;hm++){var ho=hl.markers[hm];if(dN(hp,ho.doc)==-1){ho.parent=null;hl.markers.splice(hm--,1)}}};for(var hj=0;hj<hk.length;hj++){hi(hj)}}var cQ=0;var aB=function(hl,hk,i,hj,hi){if(!(this instanceof aB)){return new aB(hl,hk,i,hj,hi)}if(i==null){i=0}gi.call(this,[new fJ([new g2("",null)])]);this.first=i;this.scrollTop=this.scrollLeft=0;this.cantEdit=false;this.cleanGeneration=1;this.modeFrontier=this.highlightFrontier=i;var hm=ac(i,0);this.sel=fz(hm);this.history=new gL(null);this.id=++cQ;this.modeOption=hk;this.lineSep=hj;this.direction=(hi=="rtl")?"rtl":"ltr";this.extend=false;if(typeof hl=="string"){hl=this.splitLines(hl)}gj(this,{from:hm,to:hm,text:hl});ce(this,fz(hm),ah)};aB.prototype=cI(gi.prototype,{constructor:aB,iter:function(hj,hi,i){if(i){this.iterN(hj-this.first,hi-hj,i)}else{this.iterN(this.first,this.first+this.size,hj)}},insert:function(hj,hk){var hi=0;for(var hl=0;hl<hk.length;++hl){hi+=hk[hl].height}this.insertInner(hj-this.first,hk,hi)},remove:function(i,hi){this.removeInner(i-this.first,hi)},getValue:function(hi){var i=bd(this,this.first,this.first+this.size);if(hi===false){return i}return i.join(hi||this.lineSeparator())},setValue:c3(function(hi){var hj=ac(this.first,0),i=this.first+this.size-1;br(this,{from:hj,to:ac(i,fZ(this,i).text.length),text:this.splitLines(hi),origin:"setValue",full:true},true);if(this.cm){ft(this.cm,0,0)}ce(this,fz(hj),ah)}),replaceRange:function(hi,hk,hj,i){hk=gy(this,hk);hj=hj?gy(this,hj):hk;bc(this,hi,hk,hj,i)},getRange:function(hk,hj,hi){var i=g0(this,gy(this,hk),gy(this,hj));if(hi===false){return i}return i.join(hi||this.lineSeparator())},getLine:function(hi){var i=this.getLineHandle(hi);return i&&i.text},getLineHandle:function(i){if(cu(this,i)){return fZ(this,i)}},getLineNumber:function(i){return b6(i)},getLineHandleVisualStart:function(i){if(typeof i=="number"){i=fZ(this,i)}return z(i)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(i){return gy(this,i)},getCursor:function(hj){var i=this.sel.primary(),hi;if(hj==null||hj=="head"){hi=i.head}else{if(hj=="anchor"){hi=i.anchor}else{if(hj=="end"||hj=="to"||hj===false){hi=i.to()}else{hi=i.from()}}}return hi},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:c3(function(i,hj,hi){J(this,gy(this,typeof i=="number"?ac(i,hj||0):i),null,hi)}),setSelection:c3(function(hi,hj,i){J(this,gy(this,hi),gy(this,hj||hi),i)}),extendSelection:c3(function(hj,i,hi){gQ(this,gy(this,hj),i&&gy(this,i),hi)}),extendSelections:c3(function(hi,i){aD(this,ew(this,hi),i)}),extendSelectionsBy:c3(function(hj,i){var hi=cd(this.sel.ranges,hj);aD(this,ew(this,hi),i)}),setSelections:c3(function(hi,hm,hk){var hn=this;if(!hi.length){return}var hj=[];for(var hl=0;hl<hi.length;hl++){hj[hl]=new es(gy(hn,hi[hl].anchor),gy(hn,hi[hl].head))}if(hm==null){hm=Math.min(hi.length-1,this.sel.primIndex)}ce(this,cV(hj,hm),hk)}),addSelection:c3(function(hj,hk,hi){var i=this.sel.ranges.slice(0);i.push(new es(gy(this,hj),gy(this,hk||hj)));ce(this,cV(i,i.length-1),hi)}),getSelection:function(hm){var hn=this;var hj=this.sel.ranges,hi;for(var hk=0;hk<hj.length;hk++){var hl=g0(hn,hj[hk].from(),hj[hk].to());hi=hi?hi.concat(hl):hl}if(hm===false){return hi}else{return hi.join(hm||this.lineSeparator())}},getSelections:function(hm){var hn=this;var hl=[],hi=this.sel.ranges;for(var hj=0;hj<hi.length;hj++){var hk=g0(hn,hi[hj].from(),hi[hj].to());if(hm!==false){hk=hk.join(hm||hn.lineSeparator())}hl[hj]=hk}return hl},replaceSelection:function(hk,hm,hi){var hl=[];for(var hj=0;hj<this.sel.ranges.length;hj++){hl[hj]=hk}this.replaceSelections(hl,hm,hi||"+input")},replaceSelections:c3(function(hj,hp,hr){var hn=this;var hq=[],hl=this.sel;for(var hm=0;hm<hl.ranges.length;hm++){var ho=hl.ranges[hm];hq[hm]={from:ho.from(),to:ho.to(),text:hn.splitLines(hj[hm]),origin:hr}}var hi=hp&&hp!="end"&&an(this,hq,hp);for(var hk=hq.length-1;hk>=0;hk--){br(hn,hq[hk])}if(hi){fS(this,hi)}else{if(this.cm){gs(this.cm)}}}),undo:c3(function(){ct(this,"undo")}),redo:c3(function(){ct(this,"redo")}),undoSelection:c3(function(){ct(this,"undo",true)}),redoSelection:c3(function(){ct(this,"redo",true)}),setExtending:function(i){this.extend=i},getExtending:function(){return this.extend},historySize:function(){var hl=this.history,hi=0,hk=0;for(var hj=0;hj<hl.done.length;hj++){if(!hl.done[hj].ranges){++hi}}for(var hm=0;hm<hl.undone.length;hm++){if(!hl.undone[hm].ranges){++hk}}return{undo:hi,redo:hk}},clearHistory:function(){this.history=new gL(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(true)},changeGeneration:function(i){if(i){this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null}return this.history.generation},isClean:function(i){return this.history.generation==(i||this.cleanGeneration)},getHistory:function(){return{done:b8(this.history.done),undone:b8(this.history.undone)}},setHistory:function(hi){var i=this.history=new gL(this.history.maxGeneration);i.done=b8(hi.done.slice(0),null,true);i.undone=b8(hi.undone.slice(0),null,true)},setGutterMarker:c3(function(i,hi,hj){return fc(this,i,"gutter",function(hk){var hl=hk.gutterMarkers||(hk.gutterMarkers={});hl[hi]=hj;if(!hj&&fD(hl)){hk.gutterMarkers=null}return true})}),clearGutter:c3(function(i){var hi=this;this.iter(function(hj){if(hj.gutterMarkers&&hj.gutterMarkers[i]){fc(hi,hj,"gutter",function(){hj.gutterMarkers[i]=null;if(fD(hj.gutterMarkers)){hj.gutterMarkers=null}return true})}})}),lineInfo:function(i){var hi;if(typeof i=="number"){if(!cu(this,i)){return null}hi=i;i=fZ(this,i);if(!i){return null}}else{hi=b6(i);if(hi==null){return null}}return{line:hi,handle:i,text:i.text,gutterMarkers:i.gutterMarkers,textClass:i.textClass,bgClass:i.bgClass,wrapClass:i.wrapClass,widgets:i.widgets}},addLineClass:c3(function(hj,hi,i){return fc(this,hj,hi=="gutter"?"gutter":"class",function(hk){var hl=hi=="text"?"textClass":hi=="background"?"bgClass":hi=="gutter"?"gutterClass":"wrapClass";if(!hk[hl]){hk[hl]=i}else{if(Y(i).test(hk[hl])){return false}else{hk[hl]+=" "+i}}return true})}),removeLineClass:c3(function(hj,hi,i){return fc(this,hj,hi=="gutter"?"gutter":"class",function(hl){var ho=hi=="text"?"textClass":hi=="background"?"bgClass":hi=="gutter"?"gutterClass":"wrapClass";var hn=hl[ho];if(!hn){return false}else{if(i==null){hl[ho]=null}else{var hm=hn.match(Y(i));if(!hm){return false}var hk=hm.index+hm[0].length;hl[ho]=hn.slice(0,hm.index)+(!hm.index||hk==hn.length?"":" ")+hn.slice(hk)||null}}return true})}),addLineWidget:c3(function(hj,hi,i){return bY(this,hj,hi,i)}),removeLineWidget:function(i){i.clear()},markText:function(hj,hi,i){return fk(this,gy(this,hj),gy(this,hi),i,i&&i.type||"range")},setBookmark:function(hj,i){var hi={replacedWith:i&&(i.nodeType==null?i.widget:i),insertLeft:i&&i.insertLeft,clearWhenEmpty:false,shared:i&&i.shared,handleMouseEvents:i&&i.handleMouseEvents};hj=gy(this,hj);return fk(this,hj,hj,hi,"bookmark")},findMarksAt:function(hm){hm=gy(this,hm);var hl=[],hj=fZ(this,hm.line).markedSpans;if(hj){for(var hi=0;hi<hj.length;++hi){var hk=hj[hi];if((hk.from==null||hk.from<=hm.ch)&&(hk.to==null||hk.to>=hm.ch)){hl.push(hk.marker.parent||hk.marker)}}}return hl},findMarks:function(hl,hk,i){hl=gy(this,hl);hk=gy(this,hk);var hi=[],hj=hl.line;this.iter(hl.line,hk.line+1,function(hm){var ho=hm.markedSpans;if(ho){for(var hn=0;hn<ho.length;hn++){var hp=ho[hn];if(!(hp.to!=null&&hj==hl.line&&hl.ch>=hp.to||hp.from==null&&hj!=hl.line||hp.from!=null&&hj==hk.line&&hp.from>=hk.ch)&&(!i||i(hp.marker))){hi.push(hp.marker.parent||hp.marker)}}}++hj});return hi},getAllMarks:function(){var i=[];this.iter(function(hj){var hi=hj.markedSpans;if(hi){for(var hk=0;hk<hi.length;++hk){if(hi[hk].from!=null){i.push(hi[hk].marker)}}}});return i},posFromIndex:function(hj){var i,hk=this.first,hi=this.lineSeparator().length;this.iter(function(hl){var hm=hl.text.length+hi;if(hm>hj){i=hj;return true}hj-=hm;++hk});return gy(this,ac(hk,i))},indexFromPos:function(hj){hj=gy(this,hj);var i=hj.ch;if(hj.line<this.first||hj.ch<0){return 0}var hi=this.lineSeparator().length;this.iter(this.first,hj.line,function(hk){i+=hk.text.length+hi});return i},copy:function(i){var hi=new aB(bd(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);hi.scrollTop=this.scrollTop;hi.scrollLeft=this.scrollLeft;hi.sel=this.sel;hi.extend=false;if(i){hi.history.undoDepth=this.history.undoDepth;hi.setHistory(this.getHistory())}return hi},linkedDoc:function(i){if(!i){i={}}var hk=this.first,hj=this.first+this.size;if(i.from!=null&&i.from>hk){hk=i.from}if(i.to!=null&&i.to<hj){hj=i.to}var hi=new aB(bd(this,hk,hj),i.mode||this.modeOption,hk,this.lineSep,this.direction);if(i.sharedHist){hi.history=this.history}(this.linked||(this.linked=[])).push({doc:hi,sharedHist:i.sharedHist});hi.linked=[{doc:this,isParent:true,sharedHist:i.sharedHist}];d8(hi,fw(this));return hi},unlinkDoc:function(hj){var hm=this;if(hj instanceof K){hj=hj.doc}if(this.linked){for(var hk=0;hk<this.linked.length;++hk){var hl=hm.linked[hk];if(hl.doc!=hj){continue}hm.linked.splice(hk,1);hj.unlinkDoc(hm);eY(fw(hm));break}}if(hj.history==this.history){var hi=[hj.id];eE(hj,function(i){return hi.push(i.id)},true);hj.history=new gL(null);hj.history.done=b8(this.history.done,hi);hj.history.undone=b8(this.history.undone,hi)}},iterLinkedDocs:function(i){eE(this,i)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(i){if(this.lineSep){return i.split(this.lineSep)}return gI(i)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:c3(function(i){if(i!="rtl"){i="ltr"}if(i==this.direction){return}this.direction=i;this.iter(function(hi){return hi.order=null});if(this.cm){ev(this.cm)}})});aB.prototype.eachLine=aB.prototype.iter;var ao=0;function bv(hq){var hs=this;dF(hs);if(a2(hs,hq)||bm(hs.display,hq)){return}c5(hq);if(ed){ao=+new Date}var hr=cM(hs,hq,true),hj=hq.dataTransfer.files;if(!hr||hs.isReadOnly()){return}if(hj&&hj.length&&window.FileReader&&window.File){var hm=hj.length,ht=Array(hm),hk=0;var ho=function(hw,hv){if(hs.options.allowDropFileTypes&&dN(hs.options.allowDropFileTypes,hw.type)==-1){return}var hu=new FileReader;hu.onload=ds(hs,function(){var i=hu.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(i)){i=""}ht[hv]=i;if(++hk==hm){hr=gy(hs.doc,hr);var hx={from:hr,to:hr,text:hs.doc.splitLines(ht.join(hs.doc.lineSeparator())),origin:"paste"};br(hs.doc,hx);fS(hs.doc,fz(hr,dn(hx)))}});hu.readAsText(hw)};for(var hp=0;hp<hm;++hp){ho(hj[hp],hp)}}else{if(hs.state.draggingText&&hs.doc.sel.contains(hr)>-1){hs.state.draggingText(hq);setTimeout(function(){return hs.display.input.focus()},20);return}try{var hi=hq.dataTransfer.getData("Text");if(hi){var hn;if(hs.state.draggingText&&!hs.state.draggingText.copy){hn=hs.listSelections()}eZ(hs.doc,fz(hr,hr));if(hn){for(var hl=0;hl<hn.length;++hl){bc(hs.doc,"",hn[hl].anchor,hn[hl].head,"drag")}}hs.replaceSelection(hi,"around","paste");hs.display.input.focus()}}catch(hq){}}}function U(i,hj){if(ed&&(!i.state.draggingText||+new Date-ao<100)){e1(hj);return}if(a2(i,hj)||bm(i.display,hj)){return}hj.dataTransfer.setData("Text",i.getSelection());hj.dataTransfer.effectAllowed="copyMove";if(hj.dataTransfer.setDragImage&&!aK){var hi=gX("img",null,null,"position: fixed; left: 0; top: 0;");hi.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";if(ez){hi.width=hi.height=1;i.display.wrapper.appendChild(hi);hi._top=hi.offsetTop}hj.dataTransfer.setDragImage(hi,0,0);if(ez){hi.parentNode.removeChild(hi)}}}function hf(i,hi){var hk=cM(i,hi);if(!hk){return}var hj=document.createDocumentFragment();C(i,hk,hj);if(!i.display.dragCursor){i.display.dragCursor=gX("div",null,"CodeMirror-cursors CodeMirror-dragcursors");i.display.lineSpace.insertBefore(i.display.dragCursor,i.display.cursorDiv)}cc(i.display.dragCursor,hj)}function dF(i){if(i.display.dragCursor){i.display.lineSpace.removeChild(i.display.dragCursor);i.display.dragCursor=null}}function aI(hl){if(!document.getElementsByClassName){return}var hk=document.getElementsByClassName("CodeMirror");for(var hj=0;hj<hk.length;hj++){var hi=hk[hj].CodeMirror;if(hi){hl(hi)}}}var c2=false;function bu(){if(c2){return}gr();c2=true}function gr(){var i;ch(window,"resize",function(){if(i==null){i=setTimeout(function(){i=null;aI(a4)},100)}});ch(window,"blur",function(){return aI(a6)})}function a4(i){var hi=i.display;if(hi.lastWrapHeight==hi.wrapper.clientHeight&&hi.lastWrapWidth==hi.wrapper.clientWidth){return}hi.cachedCharWidth=hi.cachedTextHeight=hi.cachedPaddingH=null;hi.scrollbarsClipped=false;i.setSize()}var f0={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",127:"Delete",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"};for(var gh=0;gh<10;gh++){f0[gh+48]=f0[gh+96]=String(gh)}for(var gK=65;gK<=90;gK++){f0[gK]=String.fromCharCode(gK)}for(var gJ=1;gJ<=12;gJ++){f0[gJ+111]=f0[gJ+63235]="F"+gJ}var fV={};fV.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"};fV.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"};fV.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"};fV.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]};fV["default"]=cs?fV.macDefault:fV.pcDefault;function dY(hj){var hp=hj.split(/-(?!$)/);hj=hp[hp.length-1];var ho,hn,hi,hm;for(var hl=0;hl<hp.length-1;hl++){var hk=hp[hl];if(/^(cmd|meta|m)$/i.test(hk)){hm=true}else{if(/^a(lt)?$/i.test(hk)){ho=true}else{if(/^(c|ctrl|control)$/i.test(hk)){hn=true}else{if(/^s(hift)?$/i.test(hk)){hi=true}else{throw new Error("Unrecognized modifier name: "+hk)}}}}}if(ho){hj="Alt-"+hj}if(hn){hj="Ctrl-"+hj}if(hm){hj="Cmd-"+hj}if(hi){hj="Shift-"+hj}return hj}function c6(hp){var hj={};for(var ho in hp){if(hp.hasOwnProperty(ho)){var hq=hp[ho];if(/^(name|fallthrough|(de|at)tach)$/.test(ho)){continue}if(hq=="..."){delete hp[ho];continue}var hr=cd(ho.split(" "),dY);for(var hn=0;hn<hr.length;hn++){var hl=(void 0),hk=(void 0);if(hn==hr.length-1){hk=hr.join(" ");hl=hq}else{hk=hr.slice(0,hn+1).join(" ");hl="..."}var hm=hj[hk];if(!hm){hj[hk]=hl}else{if(hm!=hl){throw new Error("Inconsistent bindings for "+hk)}}}delete hp[ho]}}for(var hi in hj){hp[hi]=hj[hi]}return hp}function k(hl,ho,hn,hk){ho=gP(ho);var hm=ho.call?ho.call(hl,hk):ho[hl];if(hm===false){return"nothing"}if(hm==="..."){return"multi"}if(hm!=null&&hn(hm)){return"handled"}if(ho.fallthrough){if(Object.prototype.toString.call(ho.fallthrough)!="[object Array]"){return k(hl,ho.fallthrough,hn,hk)}for(var hj=0;hj<ho.fallthrough.length;hj++){var hi=k(hl,ho.fallthrough[hj],hn,hk);if(hi){return hi}}}}function fe(hi){var i=typeof hi=="string"?hi:f0[hi.keyCode];return i=="Ctrl"||i=="Alt"||i=="Shift"||i=="Mod"}function gS(i,hi,hk){var hj=i;if(hi.altKey&&hj!="Alt"){i="Alt-"+i}if((ca?hi.metaKey:hi.ctrlKey)&&hj!="Ctrl"){i="Ctrl-"+i}if((ca?hi.ctrlKey:hi.metaKey)&&hj!="Cmd"){i="Cmd-"+i}if(!hk&&hi.shiftKey&&hj!="Shift"){i="Shift-"+i}return i}function ga(hi,hj){if(ez&&hi.keyCode==34&&hi["char"]){return false}var i=f0[hi.keyCode];if(i==null||hi.altGraphKey){return false}return gS(i,hi,hj)}function gP(i){return typeof i=="string"?fV[i]:i}function fH(hi,ho){var hj=hi.doc.sel.ranges,hm=[];for(var hl=0;hl<hj.length;hl++){var hk=ho(hj[hl]);while(hm.length&&cC(hk.from,gt(hm).to)<=0){var hn=hm.pop();if(cC(hn.from,hk.from)<0){hk.from=hn.from;break}}hm.push(hk)}dd(hi,function(){for(var hp=hm.length-1;hp>=0;hp--){bc(hi.doc,"",hm[hp].from,hm[hp].to,"+delete")}gs(hi)})}var fh={selectAll:au,singleSelection:function(i){return i.setSelection(i.getCursor("anchor"),i.getCursor("head"),ah)},killLine:function(i){return fH(i,function(hj){if(hj.empty()){var hi=fZ(i.doc,hj.head.line).text.length;if(hj.head.ch==hi&&hj.head.line<i.lastLine()){return{from:hj.head,to:ac(hj.head.line+1,0)}}else{return{from:hj.head,to:ac(hj.head.line,hi)}}}else{return{from:hj.from(),to:hj.to()}}})},deleteLine:function(i){return fH(i,function(hi){return({from:ac(hi.from().line,0),to:gy(i.doc,ac(hi.to().line+1,0))})})},delLineLeft:function(i){return fH(i,function(hi){return({from:ac(hi.from().line,0),to:hi.from()})})},delWrappedLineLeft:function(i){return fH(i,function(hi){var hk=i.charCoords(hi.head,"div").top+5;var hj=i.coordsChar({left:0,top:hk},"div");return{from:hj,to:hi.from()}})},delWrappedLineRight:function(i){return fH(i,function(hi){var hk=i.charCoords(hi.head,"div").top+5;var hj=i.coordsChar({left:i.display.lineDiv.offsetWidth+100,top:hk},"div");return{from:hi.from(),to:hj}})},undo:function(i){return i.undo()},redo:function(i){return i.redo()},undoSelection:function(i){return i.undoSelection()},redoSelection:function(i){return i.redoSelection()},goDocStart:function(i){return i.extendSelection(ac(i.firstLine(),0))},goDocEnd:function(i){return i.extendSelection(ac(i.lastLine()))},goLineStart:function(i){return i.extendSelectionsBy(function(hi){return bK(i,hi.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(i){return i.extendSelectionsBy(function(hi){return eb(i,hi.head)},{origin:"+move",bias:1})},goLineEnd:function(i){return i.extendSelectionsBy(function(hi){return ej(i,hi.head.line)},{origin:"+move",bias:-1})},goLineRight:function(i){return i.extendSelectionsBy(function(hi){var hj=i.charCoords(hi.head,"div").top+5;return i.coordsChar({left:i.display.lineDiv.offsetWidth+100,top:hj},"div")},dm)},goLineLeft:function(i){return i.extendSelectionsBy(function(hi){var hj=i.charCoords(hi.head,"div").top+5;return i.coordsChar({left:0,top:hj},"div")},dm)},goLineLeftSmart:function(i){return i.extendSelectionsBy(function(hi){var hj=i.charCoords(hi.head,"div").top+5;var hk=i.coordsChar({left:0,top:hj},"div");if(hk.ch<i.getLine(hk.line).search(/\S/)){return eb(i,hi.head)}return hk},dm)},goLineUp:function(i){return i.moveV(-1,"line")},goLineDown:function(i){return i.moveV(1,"line")},goPageUp:function(i){return i.moveV(-1,"page")},goPageDown:function(i){return i.moveV(1,"page")},goCharLeft:function(i){return i.moveH(-1,"char")},goCharRight:function(i){return i.moveH(1,"char")},goColumnLeft:function(i){return i.moveH(-1,"column")},goColumnRight:function(i){return i.moveH(1,"column")},goWordLeft:function(i){return i.moveH(-1,"word")},goGroupRight:function(i){return i.moveH(1,"group")},goGroupLeft:function(i){return i.moveH(-1,"group")},goWordRight:function(i){return i.moveH(1,"word")},delCharBefore:function(i){return i.deleteH(-1,"char")},delCharAfter:function(i){return i.deleteH(1,"char")},delWordBefore:function(i){return i.deleteH(-1,"word")},delWordAfter:function(i){return i.deleteH(1,"word")},delGroupBefore:function(i){return i.deleteH(-1,"group")},delGroupAfter:function(i){return i.deleteH(1,"group")},indentAuto:function(i){return i.indentSelection("smart")},indentMore:function(i){return i.indentSelection("add")},indentLess:function(i){return i.indentSelection("subtract")},insertTab:function(i){return i.replaceSelection("\t")},insertSoftTab:function(hi){var hk=[],hj=hi.listSelections(),hn=hi.options.tabSize;for(var hm=0;hm<hj.length;hm++){var ho=hj[hm].from();var hl=cb(hi.getLine(ho.line),ho.ch,hn);hk.push(cO(hn-hl%hn))}hi.replaceSelections(hk)},defaultTab:function(i){if(i.somethingSelected()){i.indentSelection("add")}else{i.execCommand("insertTab")}},transposeChars:function(i){return dd(i,function(){var hk=i.listSelections(),hj=[];for(var hl=0;hl<hk.length;hl++){if(!hk[hl].empty()){continue}var hn=hk[hl].head,hi=fZ(i.doc,hn.line).text;if(hi){if(hn.ch==hi.length){hn=new ac(hn.line,hn.ch-1)}if(hn.ch>0){hn=new ac(hn.line,hn.ch+1);i.replaceRange(hi.charAt(hn.ch-1)+hi.charAt(hn.ch-2),ac(hn.line,hn.ch-2),hn,"+transpose")}else{if(hn.line>i.doc.first){var hm=fZ(i.doc,hn.line-1).text;if(hm){hn=new ac(hn.line,1);i.replaceRange(hi.charAt(0)+i.doc.lineSeparator()+hm.charAt(hm.length-1),ac(hn.line-1,hm.length-1),hn,"+transpose")}}}}hj.push(new es(hn,hn))}i.setSelections(hj)})},newlineAndIndent:function(i){return dd(i,function(){var hi=i.listSelections();for(var hj=hi.length-1;hj>=0;hj--){i.replaceRange(i.doc.lineSeparator(),hi[hj].anchor,hi[hj].head,"+input")}hi=i.listSelections();for(var hk=0;hk<hi.length;hk++){i.indentLine(hi[hk].from().line,null,true)}gs(i)})},openLine:function(i){return i.replaceSelection("\n","start")},toggleOverwrite:function(i){return i.toggleOverwrite()}};function bK(i,hj){var hi=fZ(i.doc,hj);var hk=z(hi);if(hk!=hi){hj=b6(hk)}return fd(true,i,hk,hj,1)}function ej(i,hj){var hi=fZ(i.doc,hj);var hk=cH(hi);if(hk!=hi){hj=b6(hk)}return fd(true,i,hi,hj,-1)}function eb(hi,hn){var hm=bK(hi,hn.line);var hj=fZ(hi.doc,hm.line);var i=a(hj,hi.doc.direction);if(!i||i[0].level==0){var hl=Math.max(0,hj.text.search(/\S/));var hk=hn.line==hm.line&&hn.ch<=hl&&hn.ch;return ac(hm.line,hk?0:hl,hm.sticky)}return hm}function gH(hi,hl,i){if(typeof hl=="string"){hl=fh[hl];if(!hl){return false}}hi.display.input.ensurePolled();var hk=hi.display.shift,hj=false;try{if(hi.isReadOnly()){hi.state.suppressEdits=true}if(i){hi.display.shift=false}hj=hl(hi)!=cx}finally{hi.display.shift=hk;hi.state.suppressEdits=false}return hj}function eF(hj,hk,hm){for(var hl=0;hl<hj.state.keyMaps.length;hl++){var hi=k(hk,hj.state.keyMaps[hl],hm,hj);if(hi){return hi}}return(hj.options.extraKeys&&k(hk,hj.options.extraKeys,hm,hj))||k(hk,hj.options.keyMap,hm,hj)}var ef=new hh;function bo(hi,hk,hm,hl){var hj=hi.state.keySeq;if(hj){if(fe(hk)){return"handled"}ef.set(50,function(){if(hi.state.keySeq==hj){hi.state.keySeq=null;hi.display.input.reset()}});hk=hj+" "+hk}var i=eF(hi,hk,hl);if(i=="multi"){hi.state.keySeq=hk}if(i=="handled"){am(hi,"keyHandled",hi,hk,hm)}if(i=="handled"||i=="multi"){c5(hm);q(hi)}if(hj&&!i&&/\'$/.test(hk)){c5(hm);return true}return !!i}function f2(i,hj){var hi=ga(hj,true);if(!hi){return false}if(hj.shiftKey&&!i.state.keySeq){return bo(i,"Shift-"+hi,hj,function(hk){return gH(i,hk,true)})||bo(i,hi,hj,function(hk){if(typeof hk=="string"?/^go[A-Z]/.test(hk):hk.motion){return gH(i,hk)}})}else{return bo(i,hi,hj,function(hk){return gH(i,hk)})}}function eQ(i,hj,hi){return bo(i,"'"+hi+"'",hj,function(hk){return gH(i,hk,true)})}var dT=null;function r(hk){var i=this;i.curOp.focus=eh();if(a2(i,hk)){return}if(ed&&m<11&&hk.keyCode==27){hk.returnValue=false}var hi=hk.keyCode;i.display.shift=hi==16||hk.shiftKey;var hj=f2(i,hk);if(ez){dT=hj?hi:null;if(!hj&&hi==88&&!dE&&(cs?hk.metaKey:hk.ctrlKey)){i.replaceSelection("",null,"cut")}}if(hi==18&&!/\bCodeMirror-crosshair\b/.test(i.display.lineDiv.className)){aA(i)}}function aA(hi){var hj=hi.display.lineDiv;gn(hj,"CodeMirror-crosshair");function i(hk){if(hk.keyCode==18||!hk.altKey){h(hj,"CodeMirror-crosshair");eN(document,"keyup",i);eN(document,"mouseover",i)}}ch(document,"keyup",i);ch(document,"mouseover",i)}function bs(i){if(i.keyCode==16){this.doc.sel.shift=false}a2(this,i)}function cW(hl){var i=this;if(bm(i.display,hl)||a2(i,hl)||hl.ctrlKey&&!hl.altKey||cs&&hl.metaKey){return}var hk=hl.keyCode,hi=hl.charCode;if(ez&&hk==dT){dT=null;c5(hl);return}if((ez&&(!hl.which||hl.which<10))&&f2(i,hl)){return}var hj=String.fromCharCode(hi==null?hk:hi);if(hj=="\x08"){return}if(eQ(i,hl,hj)){return}i.display.input.onKeyPress(hl)}var dx=400;var dR=function(hi,hj,i){this.time=hi;this.pos=hj;this.button=i};dR.prototype.compare=function(hi,hj,i){return this.time+dx>hi&&cC(hj,this.pos)==0&&i==this.button};var dS;var dI;function I(hj,hi){var i=+new Date;if(dI&&dI.compare(i,hj,hi)){dS=dI=null;return"triple"}else{if(dS&&dS.compare(i,hj,hi)){dI=new dR(i,hj,hi);dS=null;return"double"}else{dS=new dR(i,hj,hi);dI=null;return"single"}}}function e6(hl){var i=this,hk=i.display;if(a2(i,hl)||hk.activeTouch&&hk.input.supportsTouch()){return}hk.input.ensurePolled();hk.shift=hl.shiftKey;if(bm(hk,hl)){if(!dr){hk.scroller.draggable=false;setTimeout(function(){return hk.scroller.draggable=true},100)}return}if(n(i,hl)){return}var hm=cM(i,hl),hi=gD(hl),hj=hm?I(hm,hi):"single";window.focus();if(hi==1&&i.state.selectingText){i.state.selectingText(hl)}if(hm&&db(i,hi,hm,hj,hl)){return}if(hi==1){if(hm){aE(i,hm,hj,hl)}else{if(Q(hl)==hk.scroller){c5(hl)}}}else{if(hi==2){if(hm){gQ(i.doc,hm)}setTimeout(function(){return hk.input.focus()},20)}else{if(hi==3){if(g7){aF(i,hl)}else{at(i)}}}}}function db(i,hj,hm,hl,hk){var hi="Click";if(hl=="double"){hi="Double"+hi}else{if(hl=="triple"){hi="Triple"+hi}}hi=(hj==1?"Left":hj==2?"Middle":"Right")+hi;return bo(i,gS(hi,hk),hk,function(ho){if(typeof ho=="string"){ho=fh[ho]}if(!ho){return false}var hn=false;try{if(i.isReadOnly()){i.state.suppressEdits=true}hn=ho(i,hm)!=cx}finally{i.state.suppressEdits=false}return hn})}function b1(i,hm,hk){var hi=i.getOption("configureMouse");var hl=hi?hi(i,hm,hk):{};if(hl.unit==null){var hj=gx?hk.shiftKey&&hk.metaKey:hk.altKey;hl.unit=hj?"rectangle":hm=="single"?"char":hm=="double"?"word":"line"}if(hl.extend==null||i.doc.extend){hl.extend=i.doc.extend||hk.shiftKey}if(hl.addNew==null){hl.addNew=cs?hk.metaKey:hk.ctrlKey}if(hl.moveOnDrag==null){hl.moveOnDrag=!(cs?hk.altKey:hk.ctrlKey)}return hl}function aE(i,hn,hm,hk){if(ed){setTimeout(cU(t,i),0)}else{i.curOp.focus=eh()}var hj=b1(i,hm,hk);var hl=i.doc.sel,hi;if(i.options.dragDrop&&fs&&!i.isReadOnly()&&hm=="single"&&(hi=hl.contains(hn))>-1&&(cC((hi=hl.ranges[hi]).from(),hn)<0||hn.xRel>0)&&(cC(hi.to(),hn)>0||hn.xRel<0)){be(i,hk,hn,hj)}else{o(i,hk,hn,hj)}}function be(ho,i,hl,hi){var hk=ho.display,hm=false;var hj=ds(ho,function(hq){if(dr){hk.scroller.draggable=false}ho.state.draggingText=false;eN(document,"mouseup",hj);eN(document,"mousemove",hp);eN(hk.scroller,"dragstart",hn);eN(hk.scroller,"drop",hj);if(!hm){c5(hq);if(!hi.addNew){gQ(ho.doc,hl,null,null,hi.extend)}if(dr||ed&&m==9){setTimeout(function(){document.body.focus();hk.input.focus()},20)}else{hk.input.focus()}}});var hp=function(hq){hm=hm||Math.abs(i.clientX-hq.clientX)+Math.abs(i.clientY-hq.clientY)>=10};var hn=function(){return hm=true};if(dr){hk.scroller.draggable=true}ho.state.draggingText=hj;hj.copy=!hi.moveOnDrag;if(hk.scroller.dragDrop){hk.scroller.dragDrop()}ch(document,"mouseup",hj);ch(document,"mousemove",hp);ch(hk.scroller,"dragstart",hn);ch(hk.scroller,"drop",hj);at(ho);setTimeout(function(){return hk.input.focus()},20)}function en(hi,hk,hj){if(hj=="char"){return new es(hk,hk)}if(hj=="word"){return hi.findWordAt(hk)}if(hj=="line"){return new es(ac(hk.line,0),gy(hi.doc,ac(hk.line+1,0)))}var i=hj(hi,hk);return new es(i.from,i.to)}function o(hk,hw,hj,ho){var hv=hk.display,hz=hk.doc;c5(hw);var hi,hy,hl=hz.sel,i=hl.ranges;if(ho.addNew&&!ho.extend){hy=hz.sel.contains(hj);if(hy>-1){hi=i[hy]}else{hi=new es(hj,hj)}}else{hi=hz.sel.primary();hy=hz.sel.primIndex}if(ho.unit=="rectangle"){if(!ho.addNew){hi=new es(hj,hj)}hj=cM(hk,hw,true,true);hy=-1}else{var hp=en(hk,hj,ho.unit);if(ho.extend){hi=ge(hi,hp.anchor,hp.head,ho.extend)}else{hi=hp}}if(!ho.addNew){hy=0;ce(hz,new gW([hi],0),R);hl=hz.sel}else{if(hy==-1){hy=i.length;ce(hz,cV(i.concat([hi]),hy),{scroll:false,origin:"*mouse"})}else{if(i.length>1&&i[hy].empty()&&ho.unit=="char"&&!ho.extend){ce(hz,cV(i.slice(0,hy).concat(i.slice(hy+1)),0),{scroll:false,origin:"*mouse"});hl=hz.sel}else{e(hz,hy,hi,R)}}}var hu=hj;function ht(hL){if(cC(hu,hL)==0){return}hu=hL;if(ho.unit=="rectangle"){var hC=[],hI=hk.options.tabSize;var hB=cb(fZ(hz,hj.line).text,hj.ch,hI);var hO=cb(fZ(hz,hL.line).text,hL.ch,hI);var hD=Math.min(hB,hO),hM=Math.max(hB,hO);for(var hP=Math.min(hj.line,hL.line),hF=Math.min(hk.lastLine(),Math.max(hj.line,hL.line));hP<=hF;hP++){var hN=fZ(hz,hP).text,hE=e0(hN,hD,hI);if(hD==hM){hC.push(new es(ac(hP,hE),ac(hP,hE)))}else{if(hN.length>hE){hC.push(new es(ac(hP,hE),ac(hP,e0(hN,hM,hI))))}}}if(!hC.length){hC.push(new es(hj,hj))}ce(hz,cV(hl.ranges.slice(0,hy).concat(hC),hy),{origin:"*mouse",scroll:false});hk.scrollIntoView(hL)}else{var hJ=hi;var hH=en(hk,hL,ho.unit);var hG=hJ.anchor,hK;if(cC(hH.anchor,hG)>0){hK=hH.head;hG=az(hJ.from(),hH.anchor)}else{hK=hH.anchor;hG=bP(hJ.to(),hH.head)}var hA=hl.ranges.slice(0);hA[hy]=new es(gy(hz,hG),hK);ce(hz,cV(hA,hy),R)}}var hr=hv.wrapper.getBoundingClientRect();var hm=0;function hx(hC){var hA=++hm;var hE=cM(hk,hC,true,ho.unit=="rectangle");if(!hE){return}if(cC(hE,hu)!=0){hk.curOp.focus=eh();ht(hE);var hD=cr(hv,hz);if(hE.line>=hD.to||hE.line<hD.from){setTimeout(ds(hk,function(){if(hm==hA){hx(hC)}}),150)}}else{var hB=hC.clientY<hr.top?-20:hC.clientY>hr.bottom?20:0;if(hB){setTimeout(ds(hk,function(){if(hm!=hA){return}hv.scroller.scrollTop+=hB;hx(hC)}),50)}}}function hq(hA){hk.state.selectingText=false;hm=Infinity;c5(hA);hv.input.focus();eN(document,"mousemove",hs);eN(document,"mouseup",hn);hz.history.lastSelOrigin=null}var hs=ds(hk,function(hA){if(!gD(hA)){hq(hA)}else{hx(hA)}});var hn=ds(hk,hq);hk.state.selectingText=hn;ch(document,"mousemove",hs);ch(document,"mouseup",hn)}function hg(hs,ho,hq,hr){var hj,hi;try{hj=ho.clientX;hi=ho.clientY}catch(ho){return false}if(hj>=Math.floor(hs.display.gutters.getBoundingClientRect().right)){return false}if(hr){c5(ho)}var hp=hs.display;var hn=hp.lineDiv.getBoundingClientRect();if(hi>hn.bottom||!f4(hs,hq)){return b4(ho)}hi-=hn.top-hp.viewOffset;for(var hl=0;hl<hs.options.gutters.length;++hl){var hm=hp.gutters.childNodes[hl];if(hm&&hm.getBoundingClientRect().right>=hj){var ht=bZ(hs.doc,hi);var hk=hs.options.gutters[hl];aM(hs,hq,hs,ht,hk,ho);return b4(ho)}}}function n(i,hi){return hg(i,hi,"gutterClick",true)}function aF(i,hi){if(bm(i.display,hi)||dL(i,hi)){return}if(a2(i,hi,"contextmenu")){return}i.display.input.onContextMenu(hi)}function dL(i,hi){if(!f4(i,"gutterContextMenu")){return false}return hg(i,hi,"gutterContextMenu",false)}function de(i){i.display.wrapper.className=i.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+i.options.theme.replace(/(^|\s)\s*/g," cm-s-");ar(i)}var cy={toString:function(){return"CodeMirror.Init"}};var fM={};var bq={};function fm(i){var hj=i.optionHandlers;function hi(hk,hn,hm,hl){i.defaults[hk]=hn;if(hm){hj[hk]=hl?function(ho,hq,hp){if(hp!=cy){hm(ho,hq,hp)}}:hm}}i.defineOption=hi;i.Init=cy;hi("value","",function(hk,hl){return hk.setValue(hl)},true);hi("mode",null,function(hk,hl){hk.doc.modeOption=hl;bI(hk)},true);hi("indentUnit",2,bI,true);hi("indentWithTabs",false);hi("smartIndent",true);hi("tabSize",4,function(hk){eV(hk);ar(hk);ap(hk)},true);hi("lineSeparator",null,function(hk,hn){hk.doc.lineSep=hn;if(!hn){return}var hm=[],ho=hk.doc.first;hk.doc.iter(function(hp){for(var hr=0;;){var hq=hp.text.indexOf(hn,hr);if(hq==-1){break}hr=hq+hn.length;hm.push(ac(ho,hq))}ho++});for(var hl=hm.length-1;hl>=0;hl--){bc(hk.doc,hn,hm[hl],ac(hm[hl].line,hm[hl].ch+hn.length))}});hi("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(hk,hm,hl){hk.state.specialChars=new RegExp(hm.source+(hm.test("\t")?"":"|\t"),"g");if(hl!=cy){hk.refresh()}});hi("specialCharPlaceholder",fY,function(hk){return hk.refresh()},true);hi("electricChars",true);hi("inputStyle",eO?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},true);hi("spellcheck",false,function(hk,hl){return hk.getInputField().spellcheck=hl},true);hi("rtlMoveVisually",!aZ);hi("wholeLineUpdateBefore",true);hi("theme","default",function(hk){de(hk);d1(hk)},true);hi("keyMap","default",function(hk,ho,hl){var hm=gP(ho);var hn=hl!=cy&&gP(hl);if(hn&&hn.detach){hn.detach(hk,hm)}if(hm.attach){hm.attach(hk,hn||null)}});hi("extraKeys",null);hi("configureMouse",null);hi("lineWrapping",false,fl,true);hi("gutters",[],function(hk){cB(hk.options);d1(hk)},true);hi("fixedGutter",true,function(hk,hl){hk.display.gutters.style.left=hl?et(hk.display)+"px":"0";hk.refresh()},true);hi("coverGutterNextToScrollbar",false,function(hk){return fI(hk)},true);hi("scrollbarStyle","native",function(hk){aL(hk);fI(hk);hk.display.scrollbars.setScrollTop(hk.doc.scrollTop);hk.display.scrollbars.setScrollLeft(hk.doc.scrollLeft)},true);hi("lineNumbers",false,function(hk){cB(hk.options);d1(hk)},true);hi("firstLineNumber",1,d1,true);hi("lineNumberFormatter",function(hk){return hk},d1,true);hi("showCursorWhenSelecting",false,bU,true);hi("resetSelectionOnContextMenu",true);hi("lineWiseCopyCut",true);hi("pasteLinesPerSelection",true);hi("readOnly",false,function(hk,hl){if(hl=="nocursor"){a6(hk);hk.display.input.blur()}hk.display.input.readOnlyChanged(hl)});hi("disableInput",false,function(hk,hl){if(!hl){hk.display.input.reset()}},true);hi("dragDrop",true,gU);hi("allowDropFileTypes",null);hi("cursorBlinkRate",530);hi("cursorScrollMargin",0);hi("cursorHeight",1,bU,true);hi("singleCursorHeightPerLine",true,bU,true);hi("workTime",100);hi("workDelay",100);hi("flattenSpans",true,eV,true);hi("addModeClass",false,eV,true);hi("pollInterval",100);hi("undoDepth",200,function(hk,hl){return hk.doc.history.undoDepth=hl});hi("historyEventDelay",1250);hi("viewportMargin",10,function(hk){return hk.refresh()},true);hi("maxHighlightLength",10000,eV,true);hi("moveInputWithCursor",true,function(hk,hl){if(!hl){hk.display.input.resetPosition()}});hi("tabindex",null,function(hk,hl){return hk.display.input.getField().tabIndex=hl||""});hi("autofocus",null);hi("direction","ltr",function(hk,hl){return hk.doc.setDirection(hl)},true)}function d1(i){eK(i);ap(i);fj(i)}function gU(hi,hl,hj){var hm=hj&&hj!=cy;if(!hl!=!hm){var hk=hi.display.dragFunctions;var i=hl?ch:eN;i(hi.display.scroller,"dragstart",hk.start);i(hi.display.scroller,"dragenter",hk.enter);i(hi.display.scroller,"dragover",hk.over);i(hi.display.scroller,"dragleave",hk.leave);i(hi.display.scroller,"drop",hk.drop)}}function fl(i){if(i.options.lineWrapping){gn(i.display.wrapper,"CodeMirror-wrap");i.display.sizer.style.minWidth="";i.display.sizerWidth=null}else{h(i.display.wrapper,"CodeMirror-wrap");f(i)}af(i);ap(i);ar(i);setTimeout(function(){return fI(i)},100)}function K(hi,hk){var hp=this;if(!(this instanceof K)){return new K(hi,hk)}this.options=hk=hk?aX(hk):{};aX(fM,hk,false);cB(hk);var ho=hk.value;if(typeof ho=="string"){ho=new aB(ho,hk.mode,null,hk.lineSeparator,hk.direction)}this.doc=ho;var hj=new K.inputStyles[hk.inputStyle](this);var hn=this.display=new fo(hi,ho,hj);hn.wrapper.CodeMirror=this;eK(this);de(this);if(hk.lineWrapping){this.display.wrapper.className+=" CodeMirror-wrap"}aL(this);this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:false,delayingBlurEvent:false,focused:false,suppressEdits:false,pasteIncoming:false,cutIncoming:false,selectingText:false,draggingText:false,highlight:new hh(),keySeq:null,specialChars:null};if(hk.autofocus&&!eO){hn.input.focus()}if(ed&&m<11){setTimeout(function(){return hp.display.input.reset(true)},20)}gG(this);bu();c9(this);this.curOp.forceUpdate=true;eJ(this,ho);if((hk.autofocus&&!eO)||this.hasFocus()){setTimeout(cU(c0,this),20)}else{a6(this)}for(var hm in bq){if(bq.hasOwnProperty(hm)){bq[hm](hp,hk[hm],cy)}}eC(this);if(hk.finishInit){hk.finishInit(this)}for(var hl=0;hl<bj.length;++hl){bj[hl](hp)}av(this);if(dr&&hk.lineWrapping&&getComputedStyle(hn.lineDiv).textRendering=="optimizelegibility"){hn.lineDiv.style.textRendering="auto"}}K.defaults=fM;K.optionHandlers=bq;function gG(hi){var hm=hi.display;ch(hm.scroller,"mousedown",ds(hi,e6));if(ed&&m<11){ch(hm.scroller,"dblclick",ds(hi,function(hq){if(a2(hi,hq)){return}var hr=cM(hi,hq);if(!hr||n(hi,hq)||bm(hi.display,hq)){return}c5(hq);var hp=hi.findWordAt(hr);gQ(hi.doc,hp.anchor,hp.head)}))}else{ch(hm.scroller,"dblclick",function(hp){return a2(hi,hp)||c5(hp)})}if(!g7){ch(hm.scroller,"contextmenu",function(hp){return aF(hi,hp)})}var ho,i={end:0};function hn(){if(hm.activeTouch){ho=setTimeout(function(){return hm.activeTouch=null},1000);i=hm.activeTouch;i.end=+new Date}}function hk(hp){if(hp.touches.length!=1){return false}var hq=hp.touches[0];return hq.radiusX<=1&&hq.radiusY<=1}function hj(hs,hp){if(hp.left==null){return true}var hr=hp.left-hs.left,hq=hp.top-hs.top;return hr*hr+hq*hq>20*20}ch(hm.scroller,"touchstart",function(hq){if(!a2(hi,hq)&&!hk(hq)){hm.input.ensurePolled();clearTimeout(ho);var hp=+new Date;hm.activeTouch={start:hp,moved:false,prev:hp-i.end<=300?i:null};if(hq.touches.length==1){hm.activeTouch.left=hq.touches[0].pageX;hm.activeTouch.top=hq.touches[0].pageY}}});ch(hm.scroller,"touchmove",function(){if(hm.activeTouch){hm.activeTouch.moved=true}});ch(hm.scroller,"touchend",function(hq){var hs=hm.activeTouch;if(hs&&!bm(hm,hq)&&hs.left!=null&&!hs.moved&&new Date-hs.start<300){var hr=hi.coordsChar(hm.activeTouch,"page"),hp;if(!hs.prev||hj(hs,hs.prev)){hp=new es(hr,hr)}else{if(!hs.prev.prev||hj(hs,hs.prev.prev)){hp=hi.findWordAt(hr)}else{hp=new es(ac(hr.line,0),gy(hi.doc,ac(hr.line+1,0)))}}hi.setSelection(hp.anchor,hp.head);hi.focus();c5(hq)}hn()});ch(hm.scroller,"touchcancel",hn);ch(hm.scroller,"scroll",function(){if(hm.scroller.clientHeight){B(hi,hm.scroller.scrollTop);bW(hi,hm.scroller.scrollLeft,true);aM(hi,"scroll",hi)}});ch(hm.scroller,"mousewheel",function(hp){return c(hi,hp)});ch(hm.scroller,"DOMMouseScroll",function(hp){return c(hi,hp)});ch(hm.wrapper,"scroll",function(){return hm.wrapper.scrollTop=hm.wrapper.scrollLeft=0});hm.dragFunctions={enter:function(hp){if(!a2(hi,hp)){e1(hp)}},over:function(hp){if(!a2(hi,hp)){hf(hi,hp);e1(hp)}},start:function(hp){return U(hi,hp)},drop:ds(hi,bv),leave:function(hp){if(!a2(hi,hp)){dF(hi)}}};var hl=hm.input.getField();ch(hl,"keyup",function(hp){return bs.call(hi,hp)});ch(hl,"keydown",ds(hi,r));ch(hl,"keypress",ds(hi,cW));ch(hl,"focus",function(hp){return c0(hi,hp)});ch(hl,"blur",function(hp){return a6(hi,hp)})}var bj=[];K.defineInitHook=function(i){return bj.push(i)};function ak(hx,hm,hw,hk){var hv=hx.doc,hj;if(hw==null){hw="add"}if(hw=="smart"){if(!hv.mode.indent){hw="prev"}else{hj=fG(hx,hm).state}}var hq=hx.options.tabSize;var hy=fZ(hv,hm),hp=cb(hy.text,null,hq);if(hy.stateAfter){hy.stateAfter=null}var hi=hy.text.match(/^\s*/)[0],ht;if(!hk&&!/\S/.test(hy.text)){ht=0;hw="not"}else{if(hw=="smart"){ht=hv.mode.indent(hj,hy.text.slice(hi.length),hy.text);if(ht==cx||ht>150){if(!hk){return}hw="prev"}}}if(hw=="prev"){if(hm>hv.first){ht=cb(fZ(hv,hm-1).text,null,hq)}else{ht=0}}else{if(hw=="add"){ht=hp+hx.options.indentUnit}else{if(hw=="subtract"){ht=hp-hx.options.indentUnit}else{if(typeof hw=="number"){ht=hp+hw}}}}ht=Math.max(0,ht);var hu="",hs=0;if(hx.options.indentWithTabs){for(var hn=Math.floor(ht/hq);hn;--hn){hs+=hq;hu+="\t"}}if(hs<ht){hu+=cO(ht-hs)}if(hu!=hi){bc(hv,hu,ac(hm,0),ac(hm,hi.length),"+input");hy.stateAfter=null;return true}else{for(var hl=0;hl<hv.sel.ranges.length;hl++){var ho=hv.sel.ranges[hl];if(ho.head.line==hm&&ho.head.ch<hi.length){var hr=ac(hm,hi.length);e(hv,hl,new es(hr,hr));break}}}}var bx=null;function dy(i){bx=i}function gR(hx,hn,hl,hk,hw){var hv=hx.doc;hx.display.shift=false;if(!hk){hk=hv.sel}var hm=hx.state.pasteIncoming||hw=="paste";var hq=gI(hn),hi=null;if(hm&&hk.ranges.length>1){if(bx&&bx.text.join("\n")==hn){if(hk.ranges.length%bx.text.length==0){hi=[];for(var ho=0;ho<bx.text.length;ho++){hi.push(hv.splitLines(bx.text[ho]))}}}else{if(hq.length==hk.ranges.length&&hx.options.pasteLinesPerSelection){hi=cd(hq,function(i){return[i]})}}}var hr;for(var hj=hk.ranges.length-1;hj>=0;hj--){var hp=hk.ranges[hj];var hu=hp.from(),ht=hp.to();if(hp.empty()){if(hl&&hl>0){hu=ac(hu.line,hu.ch-hl)}else{if(hx.state.overwrite&&!hm){ht=ac(ht.line,Math.min(fZ(hv,ht.line).text.length,ht.ch+gt(hq).length))}else{if(bx&&bx.lineWise&&bx.text.join("\n")==hn){hu=ht=ac(hu.line,0)}}}}hr=hx.curOp.updateInput;var hs={from:hu,to:ht,text:hi?hi[hj%hi.length]:hq,origin:hw||(hm?"paste":hx.state.cutIncoming?"cut":"+input")};br(hx.doc,hs);am(hx,"inputRead",hx,hs)}if(hn&&!hm){gO(hx,hn)}gs(hx);hx.curOp.updateInput=hr;hx.curOp.typing=true;hx.state.pasteIncoming=hx.state.cutIncoming=false}function bl(hj,i){var hi=hj.clipboardData&&hj.clipboardData.getData("Text");if(hi){hj.preventDefault();if(!i.isReadOnly()&&!i.options.disableInput){dd(i,function(){return gR(i,hi,0,null,"paste")})}return true}}function gO(hi,hm){if(!hi.options.electricChars||!hi.options.smartIndent){return}var hn=hi.doc.sel;for(var hl=hn.ranges.length-1;hl>=0;hl--){var hj=hn.ranges[hl];if(hj.head.ch>100||(hl&&hn.ranges[hl-1].head.line==hj.head.line)){continue}var ho=hi.getModeAt(hj.head);var hp=false;if(ho.electricChars){for(var hk=0;hk<ho.electricChars.length;hk++){if(hm.indexOf(ho.electricChars.charAt(hk))>-1){hp=ak(hi,hj.head.line,"smart");break}}}else{if(ho.electricInput){if(ho.electricInput.test(fZ(hi.doc,hj.head.line).text.slice(0,hj.head.ch))){hp=ak(hi,hj.head.line,"smart")}}}if(hp){am(hi,"electricInput",hi,hj.head.line)}}}function dM(hi){var hn=[],hk=[];for(var hl=0;hl<hi.doc.sel.ranges.length;hl++){var hj=hi.doc.sel.ranges[hl].head.line;var hm={anchor:ac(hj,0),head:ac(hj+1,0)};hk.push(hm);hn.push(hi.getRange(hm.anchor,hm.head))}return{text:hn,ranges:hk}}function gE(hi,i){hi.setAttribute("autocorrect","off");hi.setAttribute("autocapitalize","off");hi.setAttribute("spellcheck",!!i)}function a8(){var i=gX("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none");var hi=gX("div",[i],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");if(dr){i.style.width="1000px"}else{i.setAttribute("wrap","off")}if(fL){i.style.border="1px solid black"}gE(i);return hi}function ei(i){var hi=i.optionHandlers;var hj=i.helpers={};i.prototype={constructor:i,focus:function(){window.focus();this.display.input.focus()},setOption:function(hm,hn){var hl=this.options,hk=hl[hm];if(hl[hm]==hn&&hm!="mode"){return}hl[hm]=hn;if(hi.hasOwnProperty(hm)){ds(this,hi[hm])(this,hn,hk)}aM(this,"optionChange",this,hm)},getOption:function(hk){return this.options[hk]},getDoc:function(){return this.doc},addKeyMap:function(hl,hk){this.state.keyMaps[hk?"push":"unshift"](gP(hl))},removeKeyMap:function(hl){var hm=this.state.keyMaps;for(var hk=0;hk<hm.length;++hk){if(hm[hk]==hl||hm[hk].name==hl){hm.splice(hk,1);return true}}},addOverlay:dC(function(hk,hl){var hm=hk.token?hk:i.getMode(this.options,hk);if(hm.startState){throw new Error("Overlays may not be stateful.")}cv(this.state.overlays,{mode:hm,modeSpec:hk,opaque:hl&&hl.opaque,priority:(hl&&hl.priority)||0},function(hn){return hn.priority});this.state.modeGen++;ap(this)}),removeOverlay:dC(function(hk){var ho=this;var hm=this.state.overlays;for(var hl=0;hl<hm.length;++hl){var hn=hm[hl].modeSpec;if(hn==hk||typeof hk=="string"&&hn.name==hk){hm.splice(hl,1);ho.state.modeGen++;ap(ho);return}}}),indentLine:dC(function(hm,hk,hl){if(typeof hk!="string"&&typeof hk!="number"){if(hk==null){hk=this.options.smartIndent?"smart":"prev"}else{hk=hk?"add":"subtract"}}if(cu(this.doc,hm)){ak(this,hm,hk,hl)}}),indentSelection:dC(function(hu){var hq=this;var hk=this.doc.sel.ranges,hn=-1;for(var hp=0;hp<hk.length;hp++){var hr=hk[hp];if(!hr.empty()){var hs=hr.from(),ht=hr.to();var hl=Math.max(hn,hs.line);hn=Math.min(hq.lastLine(),ht.line-(ht.ch?0:1))+1;for(var ho=hl;ho<hn;++ho){ak(hq,ho,hu)}var hm=hq.doc.sel.ranges;if(hs.ch==0&&hk.length==hm.length&&hm[hp].from().ch>0){e(hq.doc,hp,new es(hs,hm[hp].to()),ah)}}else{if(hr.head.line>hn){ak(hq,hr.head.line,hu,true);hn=hr.head.line;if(hp==hq.doc.sel.primIndex){gs(hq)}}}}}),getTokenAt:function(hl,hk){return cP(this,hl,hk)},getLineTokens:function(hl,hk){return cP(this,ac(hl),hk,true)},getTokenTypeAt:function(hr){hr=gy(this.doc,hr);var hn=dA(this,fZ(this.doc,hr.line));var hp=0,hq=(hn.length-1)/2,hm=hr.ch;var hl;if(hm==0){hl=hn[2]}else{for(;;){var hk=(hp+hq)>>1;if((hk?hn[hk*2-1]:0)>=hm){hq=hk}else{if(hn[hk*2+1]<hm){hp=hk+1}else{hl=hn[hk*2+2];break}}}}var ho=hl?hl.indexOf("overlay "):-1;return ho<0?hl:ho==0?null:hl.slice(0,ho-1)},getModeAt:function(hl){var hk=this.doc.mode;if(!hk.innerMode){return hk}return i.innerMode(hk,this.getTokenAt(hl).state).mode},getHelper:function(hl,hk){return this.getHelpers(hl,hk)[0]},getHelpers:function(hr,hq){var ho=this;var ht=[];if(!hj.hasOwnProperty(hq)){return ht}var hm=hj[hq],hp=this.getModeAt(hr);if(typeof hp[hq]=="string"){if(hm[hp[hq]]){ht.push(hm[hp[hq]])}}else{if(hp[hq]){for(var hn=0;hn<hp[hq].length;hn++){var hl=hm[hp[hq][hn]];if(hl){ht.push(hl)}}}else{if(hp.helperType&&hm[hp.helperType]){ht.push(hm[hp.helperType])}else{if(hm[hp.name]){ht.push(hm[hp.name])}}}}for(var hk=0;hk<hm._global.length;hk++){var hs=hm._global[hk];if(hs.pred(hp,ho)&&dN(ht,hs.val)==-1){ht.push(hs.val)}}return ht},getStateAfter:function(hl,hk){var hm=this.doc;hl=dw(hm,hl==null?hm.first+hm.size-1:hl);return fG(this,hl+1,hk).state},cursorCoords:function(hn,hl){var hm,hk=this.doc.sel.primary();if(hn==null){hm=hk.head}else{if(typeof hn=="object"){hm=gy(this.doc,hn)}else{hm=hn?hk.from():hk.to()}}return ep(this,hm,hl||"page")},charCoords:function(hl,hk){return da(this,gy(this.doc,hl),hk||"page")},coordsChar:function(hk,hl){hk=hd(this,hk,hl||"page");return gF(this,hk.left,hk.top)},lineAtHeight:function(hk,hl){hk=hd(this,{top:hk,left:0},hl||"page").top;return bZ(this.doc,hk+this.display.viewOffset)},heightAtLine:function(hl,hp,ho){var hk=false,hm;if(typeof hl=="number"){var hn=this.doc.first+this.doc.size-1;if(hl<this.doc.first){hl=this.doc.first}else{if(hl>hn){hl=hn;hk=true}}hm=fZ(this.doc,hl)}else{hm=hl}return fy(this,hm,{top:0,left:0},hp||"page",ho||hk).top+(hk?this.doc.height-b5(hm):0)},defaultTextHeight:function(){return a9(this.display)},defaultCharWidth:function(){return d6(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(hp,hm,hr,hn,ht){var ho=this.display;hp=ep(this,gy(this.doc,hp));var hq=hp.bottom,hl=hp.left;hm.style.position="absolute";hm.setAttribute("cm-ignore-events","true");this.display.input.setUneditable(hm);ho.sizer.appendChild(hm);if(hn=="over"){hq=hp.top}else{if(hn=="above"||hn=="near"){var hk=Math.max(ho.wrapper.clientHeight,this.doc.height),hs=Math.max(ho.sizer.clientWidth,ho.lineSpace.clientWidth);if((hn=="above"||hp.bottom+hm.offsetHeight>hk)&&hp.top>hm.offsetHeight){hq=hp.top-hm.offsetHeight}else{if(hp.bottom+hm.offsetHeight<=hk){hq=hp.bottom}}if(hl+hm.offsetWidth>hs){hl=hs-hm.offsetWidth}}}hm.style.top=hq+"px";hm.style.left=hm.style.right="";if(ht=="right"){hl=ho.sizer.clientWidth-hm.offsetWidth;hm.style.right="0px"}else{if(ht=="left"){hl=0}else{if(ht=="middle"){hl=(ho.sizer.clientWidth-hm.offsetWidth)/2}}hm.style.left=hl+"px"}if(hr){H(this,{left:hl,top:hq,right:hl+hm.offsetWidth,bottom:hq+hm.offsetHeight})}},triggerOnKeyDown:dC(r),triggerOnKeyPress:dC(cW),triggerOnKeyUp:bs,triggerOnMouseDown:dC(e6),execCommand:function(hk){if(fh.hasOwnProperty(hk)){return fh[hk].call(null,this)}},triggerElectric:dC(function(hk){gO(this,hk)}),findPosH:function(hr,hn,ho,hl){var hq=this;var hk=1;if(hn<0){hk=-1;hn=-hn}var hp=gy(this.doc,hr);for(var hm=0;hm<hn;++hm){hp=bN(hq.doc,hp,hk,ho,hl);if(hp.hitSide){break}}return hp},moveH:dC(function(hk,hl){var hm=this;this.extendSelectionsBy(function(hn){if(hm.display.shift||hm.doc.extend||hn.empty()){return bN(hm.doc,hn.head,hk,hl,hm.options.rtlMoveVisually)}else{return hk<0?hn.from():hn.to()}},dm)}),deleteH:dC(function(hk,hl){var hm=this.doc.sel,hn=this.doc;if(hm.somethingSelected()){hn.replaceSelection("",null,"+delete")}else{fH(this,function(hp){var ho=bN(hn,hp.head,hk,hl,false);return hk<0?{from:ho,to:hp.head}:{from:hp.head,to:ho}})}}),findPosV:function(hq,hn,hr,ht){var hm=this;var hk=1,hp=ht;if(hn<0){hk=-1;hn=-hn}var hs=gy(this.doc,hq);for(var hl=0;hl<hn;++hl){var ho=ep(hm,hs,"div");if(hp==null){hp=ho.left}else{ho.left=hp}hs=bH(hm,ho,hk,hr);if(hs.hitSide){break}}return hs},moveV:dC(function(hk,hm){var hq=this;var ho=this.doc,hn=[];var hp=!this.display.shift&&!ho.extend&&ho.sel.somethingSelected();ho.extendSelectionsBy(function(hr){if(hp){return hk<0?hr.from():hr.to()}var ht=ep(hq,hr.head,"div");if(hr.goalColumn!=null){ht.left=hr.goalColumn}hn.push(ht.left);var hs=bH(hq,ht,hk,hm);if(hm=="page"&&hr==ho.sel.primary()){c7(hq,da(hq,hs,"div").top-ht.top)}return hs},dm);if(hn.length){for(var hl=0;hl<ho.sel.ranges.length;hl++){ho.sel.ranges[hl].goalColumn=hn[hl]}}}),findWordAt:function(hr){var hp=this.doc,hn=fZ(hp,hr.line).text;var hq=hr.ch,hm=hr.ch;if(hn){var ho=this.getHelper(hr,"wordChars");if((hr.sticky=="before"||hm==hn.length)&&hq){--hq}else{++hm}var hl=hn.charAt(hq);var hk=cZ(hl,ho)?function(hs){return cZ(hs,ho)}:/\s/.test(hl)?function(hs){return/\s/.test(hs)}:function(hs){return(!/\s/.test(hs)&&!cZ(hs))};while(hq>0&&hk(hn.charAt(hq-1))){--hq}while(hm<hn.length&&hk(hn.charAt(hm))){++hm}}return new es(ac(hr.line,hq),ac(hr.line,hm))},toggleOverwrite:function(hk){if(hk!=null&&hk==this.state.overwrite){return}if(this.state.overwrite=!this.state.overwrite){gn(this.display.cursorDiv,"CodeMirror-overwrite")}else{h(this.display.cursorDiv,"CodeMirror-overwrite")}aM(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==eh()},isReadOnly:function(){return !!(this.options.readOnly||this.doc.cantEdit)},scrollTo:dC(function(hk,hl){ft(this,hk,hl)}),getScrollInfo:function(){var hk=this.display.scroller;return{left:hk.scrollLeft,top:hk.scrollTop,height:hk.scrollHeight-dj(this)-this.display.barHeight,width:hk.scrollWidth-dj(this)-this.display.barWidth,clientHeight:dl(this),clientWidth:dQ(this)}},scrollIntoView:dC(function(hk,hl){if(hk==null){hk={from:this.doc.sel.primary().head,to:null};if(hl==null){hl=this.options.cursorScrollMargin}}else{if(typeof hk=="number"){hk={from:ac(hk,0),to:null}}else{if(hk.from==null){hk={from:hk,to:null}}}}if(!hk.to){hk.to=hk.from}hk.margin=hl||0;if(hk.from.line!=null){cz(this,hk)}else{b9(this,hk.from,hk.to,hk.margin)}}),setSize:dC(function(hm,hk){var ho=this;var hl=function(hp){return typeof hp=="number"||/^\d+$/.test(String(hp))?hp+"px":hp};if(hm!=null){this.display.wrapper.style.width=hl(hm)}if(hk!=null){this.display.wrapper.style.height=hl(hk)}if(this.options.lineWrapping){aY(this)}var hn=this.display.viewFrom;this.doc.iter(hn,this.display.viewTo,function(hp){if(hp.widgets){for(var hq=0;hq<hp.widgets.length;hq++){if(hp.widgets[hq].noHScroll){W(ho,hn,"widget");break}}}++hn});this.curOp.forceUpdate=true;aM(this,"refresh",this)}),operation:function(hk){return dd(this,hk)},refresh:dC(function(){var hk=this.display.cachedTextHeight;ap(this);this.curOp.forceUpdate=true;ar(this);ft(this,this.doc.scrollLeft,this.doc.scrollTop);dv(this);if(hk==null||Math.abs(hk-a9(this.display))>0.5){af(this)}aM(this,"refresh",this)}),swapDoc:dC(function(hl){var hk=this.doc;hk.cm=null;eJ(this,hl);ar(this);this.display.input.reset();ft(this,hl.scrollLeft,hl.scrollTop);this.curOp.forceScroll=true;am(this,"swapDoc",this,hk);return hk}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}};bR(i);i.registerHelper=function(hl,hk,hm){if(!hj.hasOwnProperty(hl)){hj[hl]=i[hl]={_global:[]}}hj[hl][hk]=hm};i.registerGlobalHelper=function(hm,hl,hk,hn){i.registerHelper(hm,hl,hn);hj[hm]._global.push({pred:hk,val:hn})}}function bN(ht,hs,hk,hu,hi){var hl=hs;var hp=hk;var ho=fZ(ht,hs.line);function i(){var hy=hs.line+hk;if(hy<ht.first||hy>=ht.first+ht.size){return false}hs=new ac(hy,hs.ch,hs.sticky);return ho=fZ(ht,hy)}function hm(hz){var hy;if(hi){hy=v(ht.cm,ho,hs,hk)}else{hy=aq(ho,hs,hk)}if(hy==null){if(!hz&&i()){hs=fd(hi,ht.cm,ho,hs.line,hk)}else{return false}}else{hs=hy}return true}if(hu=="char"){hm()}else{if(hu=="column"){hm(true)}else{if(hu=="word"||hu=="group"){var hr=null,hw=hu=="group";var hj=ht.cm&&ht.cm.getHelper(hs,"wordChars");for(var hn=true;;hn=false){if(hk<0&&!hm(!hn)){break}var hv=ho.text.charAt(hs.ch)||"\n";var hq=cZ(hv,hj)?"w":hw&&hv=="\n"?"n":!hw||/\s/.test(hv)?null:"p";if(hw&&!hn&&!hq){hq="s"}if(hr&&hr!=hq){if(hk<0){hk=1;hm();hs.sticky="after"}break}if(hq){hr=hq}if(hk>0&&!hm(!hn)){break}}}}}var hx=cf(ht,hs,hl,hp,true);if(ad(hl,hx)){hx.hitSide=true}return hx}function bH(hq,hl,hi,hp){var ho=hq.doc,hn=hl.left,hm;if(hp=="page"){var hk=Math.min(hq.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight);var i=Math.max(hk-0.5*a9(hq.display),3);hm=(hi>0?hl.bottom:hl.top)+hi*i}else{if(hp=="line"){hm=hi>0?hl.bottom+3:hl.top-3}}var hj;for(;;){hj=gF(hq,hn,hm);if(!hj.outside){break}if(hi<0?hm<=0:hm>=ho.height){hj.hitSide=true;break}hm+=hi*5}return hj}var dZ=function(i){this.cm=i;this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null;this.polling=new hh();this.composing=null;this.gracePeriod=false;this.readDOMTimeout=null};dZ.prototype.init=function(hk){var hm=this;var hj=this,i=hj.cm;var hl=hj.div=hk.lineDiv;gE(hl,i.options.spellcheck);ch(hl,"paste",function(hn){if(a2(i,hn)||bl(hn,i)){return}if(m<=11){setTimeout(ds(i,function(){return hm.updateFromDOM()}),20)}});ch(hl,"compositionstart",function(hn){hm.composing={data:hn.data,done:false}});ch(hl,"compositionupdate",function(hn){if(!hm.composing){hm.composing={data:hn.data,done:false}}});ch(hl,"compositionend",function(hn){if(hm.composing){if(hn.data!=hm.composing.data){hm.readFromDOMSoon()}hm.composing.done=true}});ch(hl,"touchstart",function(){return hj.forceCompositionEnd()});ch(hl,"input",function(){if(!hm.composing){hm.readFromDOMSoon()}});function hi(hr){if(a2(i,hr)){return}if(i.somethingSelected()){dy({lineWise:false,text:i.getSelections()});if(hr.type=="cut"){i.replaceSelection("",null,"cut")}}else{if(!i.options.lineWiseCopyCut){return}else{var ho=dM(i);dy({lineWise:true,text:ho.text});if(hr.type=="cut"){i.operation(function(){i.setSelections(ho.ranges,0,ah);i.replaceSelection("",null,"cut")})}}}if(hr.clipboardData){hr.clipboardData.clearData();var hq=bx.text.join("\n");hr.clipboardData.setData("Text",hq);if(hr.clipboardData.getData("Text")==hq){hr.preventDefault();return}}var hp=a8(),hs=hp.firstChild;i.display.lineSpace.insertBefore(hp,i.display.lineSpace.firstChild);hs.value=bx.text.join("\n");var hn=document.activeElement;ee(hs);setTimeout(function(){i.display.lineSpace.removeChild(hp);hn.focus();if(hn==hl){hj.showPrimarySelection()}},50)}ch(hl,"copy",hi);ch(hl,"cut",hi)};dZ.prototype.prepareSelection=function(){var i=gw(this.cm,false);i.focus=this.cm.state.focused;return i};dZ.prototype.showSelection=function(hi,i){if(!hi||!this.cm.display.view.length){return}if(hi.focus||i){this.showPrimarySelection()}this.showMultipleSelections(hi)};dZ.prototype.showPrimarySelection=function(){var hl=window.getSelection(),hv=this.cm,ho=hv.doc.sel.primary();var ht=ho.from(),hu=ho.to();if(hv.display.viewTo==hv.display.viewFrom||ht.line>=hv.display.viewTo||hu.line<hv.display.viewFrom){hl.removeAllRanges();return}var hm=aG(hv,hl.anchorNode,hl.anchorOffset);var hq=aG(hv,hl.focusNode,hl.focusOffset);if(hm&&!hm.bad&&hq&&!hq.bad&&cC(az(hm,hq),ht)==0&&cC(bP(hm,hq),hu)==0){return}var hs=hv.display.view;var hk=(ht.line>=hv.display.viewFrom&&cY(hv,ht))||{node:hs[0].measure.map[2],offset:0};var hp=hu.line<hv.display.viewTo&&cY(hv,hu);if(!hp){var hj=hs[hs.length-1].measure;var hi=hj.maps?hj.maps[hj.maps.length-1]:hj.map;hp={node:hi[hi.length-1],offset:hi[hi.length-2]-hi[hi.length-3]}}if(!hk||!hp){hl.removeAllRanges();return}var hn=hl.rangeCount&&hl.getRangeAt(0),i;try{i=cK(hk.node,hk.offset,hp.offset,hp.node)}catch(hr){}if(i){if(!cN&&hv.state.focused){hl.collapse(hk.node,hk.offset);if(!i.collapsed){hl.removeAllRanges();hl.addRange(i)}}else{hl.removeAllRanges();hl.addRange(i)}if(hn&&hl.anchorNode==null){hl.addRange(hn)}else{if(cN){this.startGracePeriod()}}}this.rememberSelection()};dZ.prototype.startGracePeriod=function(){var i=this;clearTimeout(this.gracePeriod);this.gracePeriod=setTimeout(function(){i.gracePeriod=false;if(i.selectionChanged()){i.cm.operation(function(){return i.cm.curOp.selectionChanged=true})}},20)};dZ.prototype.showMultipleSelections=function(i){cc(this.cm.display.cursorDiv,i.cursors);cc(this.cm.display.selectionDiv,i.selection)};dZ.prototype.rememberSelection=function(){var i=window.getSelection();this.lastAnchorNode=i.anchorNode;this.lastAnchorOffset=i.anchorOffset;this.lastFocusNode=i.focusNode;this.lastFocusOffset=i.focusOffset};dZ.prototype.selectionInEditor=function(){var hi=window.getSelection();if(!hi.rangeCount){return false}var i=hi.getRangeAt(0).commonAncestorContainer;return g8(this.div,i)};dZ.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"){if(!this.selectionInEditor()){this.showSelection(this.prepareSelection(),true)}this.div.focus()}};dZ.prototype.blur=function(){this.div.blur()};dZ.prototype.getField=function(){return this.div};dZ.prototype.supportsTouch=function(){return true};dZ.prototype.receivedFocus=function(){var i=this;if(this.selectionInEditor()){this.pollSelection()}else{dd(this.cm,function(){return i.cm.curOp.selectionChanged=true})}function hi(){if(i.cm.state.focused){i.pollSelection();i.polling.set(i.cm.options.pollInterval,hi)}}this.polling.set(this.cm.options.pollInterval,hi)};dZ.prototype.selectionChanged=function(){var i=window.getSelection();return i.anchorNode!=this.lastAnchorNode||i.anchorOffset!=this.lastAnchorOffset||i.focusNode!=this.lastFocusNode||i.focusOffset!=this.lastFocusOffset};dZ.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged()){return}var hk=window.getSelection(),i=this.cm;if(aW&&dH&&this.cm.options.gutters.length&&gZ(hk.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs});this.blur();this.focus();return}if(this.composing){return}this.rememberSelection();var hi=aG(i,hk.anchorNode,hk.anchorOffset);var hj=aG(i,hk.focusNode,hk.focusOffset);if(hi&&hj){dd(i,function(){ce(i.doc,fz(hi,hj),ah);if(hi.bad||hj.bad){i.curOp.selectionChanged=true}})}};dZ.prototype.pollContent=function(){if(this.readDOMTimeout!=null){clearTimeout(this.readDOMTimeout);this.readDOMTimeout=null}var hr=this.cm,hB=hr.display,hz=hr.doc.sel.primary();var hA=hz.from(),hl=hz.to();if(hA.ch==0&&hA.line>hr.firstLine()){hA=ac(hA.line-1,fZ(hr.doc,hA.line-1).length)}if(hl.ch==fZ(hr.doc,hl.line).text.length&&hl.line<hr.lastLine()){hl=ac(hl.line+1,0)}if(hA.line<hB.viewFrom||hl.line>hB.viewTo-1){return false}var ho,hm,hq;if(hA.line==hB.viewFrom||(ho=dW(hr,hA.line))==0){hm=b6(hB.view[0].line);hq=hB.view[0].node}else{hm=b6(hB.view[ho].line);hq=hB.view[ho-1].node.nextSibling}var hy=dW(hr,hl.line);var ht,hw;if(hy==hB.view.length-1){ht=hB.viewTo-1;hw=hB.lineDiv.lastChild}else{ht=b6(hB.view[hy+1].line)-1;hw=hB.view[hy+1].node.previousSibling}if(!hq){return false}var hC=hr.doc.splitLines(gT(hr,hq,hw,hm,ht));var hv=g0(hr.doc,ac(hm,0),ac(ht,fZ(hr.doc,ht).text.length));while(hC.length>1&&hv.length>1){if(gt(hC)==gt(hv)){hC.pop();hv.pop();ht--}else{if(hC[0]==hv[0]){hC.shift();hv.shift();hm++}else{break}}}var hx=0,hj=0;var hs=hC[0],hi=hv[0],i=Math.min(hs.length,hi.length);while(hx<i&&hs.charCodeAt(hx)==hi.charCodeAt(hx)){++hx}var hp=gt(hC),hD=gt(hv);var hk=Math.min(hp.length-(hC.length==1?hx:0),hD.length-(hv.length==1?hx:0));while(hj<hk&&hp.charCodeAt(hp.length-hj-1)==hD.charCodeAt(hD.length-hj-1)){++hj}if(hC.length==1&&hv.length==1&&hm==hA.line){while(hx&&hx>hA.ch&&hp.charCodeAt(hp.length-hj-1)==hD.charCodeAt(hD.length-hj-1)){hx--;hj++}}hC[hC.length-1]=hp.slice(0,hp.length-hj).replace(/^\u200b+/,"");hC[0]=hC[0].slice(hx).replace(/\u200b+$/,"");var hn=ac(hm,hx);var hu=ac(ht,hv.length?gt(hv).length-hj:0);if(hC.length>1||hC[0]||cC(hn,hu)){bc(hr.doc,hC,hn,hu,"+input");return true}};dZ.prototype.ensurePolled=function(){this.forceCompositionEnd()};dZ.prototype.reset=function(){this.forceCompositionEnd()};dZ.prototype.forceCompositionEnd=function(){if(!this.composing){return}clearTimeout(this.readDOMTimeout);this.composing=null;this.updateFromDOM();this.div.blur();this.div.focus()};dZ.prototype.readFromDOMSoon=function(){var i=this;if(this.readDOMTimeout!=null){return}this.readDOMTimeout=setTimeout(function(){i.readDOMTimeout=null;if(i.composing){if(i.composing.done){i.composing=null}else{return}}i.updateFromDOM()},80)};dZ.prototype.updateFromDOM=function(){var i=this;if(this.cm.isReadOnly()||!this.pollContent()){dd(this.cm,function(){return ap(i.cm)})}};dZ.prototype.setUneditable=function(i){i.contentEditable="false"};dZ.prototype.onKeyPress=function(i){if(i.charCode==0){return}i.preventDefault();if(!this.cm.isReadOnly()){ds(this.cm,gR)(this.cm,String.fromCharCode(i.charCode==null?i.keyCode:i.charCode),0)}};dZ.prototype.readOnlyChanged=function(i){this.div.contentEditable=String(i!="nocursor")};dZ.prototype.onContextMenu=function(){};dZ.prototype.resetPosition=function(){};dZ.prototype.needsContentAttribute=true;function cY(hn,hl){var hm=fW(hn,hl.line);if(!hm||hm.hidden){return null}var hp=fZ(hn.doc,hl.line);var hi=cS(hm,hp,hl.line);var hj=a(hp,hn.doc.direction),hk="left";if(hj){var i=aQ(hj,hl.ch);hk=i%2?"right":"left"}var ho=aT(hi.map,hl.ch,hk);ho.offset=ho.collapse=="right"?ho.end:ho.start;return ho}function gZ(hi){for(var i=hi;i;i=i.parentNode){if(/CodeMirror-gutter-wrapper/.test(i.className)){return true}}return false}function e2(hi,i){if(i){hi.bad=true}return hi}function gT(hp,hn,ho,hk,hi){var hr="",hj=false,i=hp.doc.lineSeparator();function hl(ht){return function(hu){return hu.id==ht}}function hs(){if(hj){hr+=i;hj=false}}function hq(ht){if(ht){hs();hr+=ht}}function hm(hy){if(hy.nodeType==1){var hv=hy.getAttribute("cm-text");if(hv!=null){hq(hv||hy.textContent.replace(/\u200b/g,""));return}var hx=hy.getAttribute("cm-marker"),hu;if(hx){var hz=hp.findMarks(ac(hk,0),ac(hi+1,0),hl(+hx));if(hz.length&&(hu=hz[0].find())){hq(g0(hp.doc,hu.from,hu.to).join(i))}return}if(hy.getAttribute("contenteditable")=="false"){return}var ht=/^(pre|div|p)$/i.test(hy.nodeName);if(ht){hs()}for(var hw=0;hw<hy.childNodes.length;hw++){hm(hy.childNodes[hw])}if(ht){hj=true}}else{if(hy.nodeType==3){hq(hy.nodeValue)}}}for(;;){hm(hn);if(hn==ho){break}hn=hn.nextSibling}return hr}function aG(hi,hl,hn){var hm;if(hl==hi.display.lineDiv){hm=hi.display.lineDiv.childNodes[hn];if(!hm){return e2(hi.clipPos(ac(hi.display.viewTo-1)),true)}hl=null;hn=0}else{for(hm=hl;;hm=hm.parentNode){if(!hm||hm==hi.display.lineDiv){return null}if(hm.parentNode&&hm.parentNode==hi.display.lineDiv){break}}}for(var hk=0;hk<hi.display.view.length;hk++){var hj=hi.display.view[hk];if(hj.node==hm){return ai(hj,hl,hn)}}}function ai(hq,hm,ho){var hj=hq.text.firstChild,hl=false;if(!hm||!g8(hj,hm)){return e2(ac(b6(hq.line),0),true)}if(hm==hj){hl=true;hm=hj.childNodes[ho];ho=0;if(!hm){var hw=hq.rest?gt(hq.rest):hq.line;return e2(ac(b6(hw),hw.text.length),hl)}}var hn=hm.nodeType==3?hm:null,hu=hm;if(!hn&&hm.childNodes.length==1&&hm.firstChild.nodeType==3){hn=hm.firstChild;if(ho){ho=hn.nodeValue.length}}while(hu.parentNode!=hj){hu=hu.parentNode}var hi=hq.measure,hs=hi.maps;function hp(hz,hE,hB){for(var hD=-1;hD<(hs?hs.length:0);hD++){var hy=hD<0?hi.map:hs[hD];for(var hC=0;hC<hy.length;hC+=3){var hA=hy[hC+2];if(hA==hz||hA==hE){var hF=b6(hD<0?hq.line:hq.rest[hD]);var hx=hy[hC]+hB;if(hB<0||hA!=hz){hx=hy[hC+(hB?1:0)]}return ac(hF,hx)}}}}var hv=hp(hn,hu,ho);if(hv){return e2(hv,hl)}for(var i=hu.nextSibling,hr=hn?hn.nodeValue.length-ho:0;i;i=i.nextSibling){hv=hp(i,i.firstChild,0);if(hv){return e2(ac(hv.line,hv.ch-hr),hl)}else{hr+=i.textContent.length}}for(var ht=hu.previousSibling,hk=ho;ht;ht=ht.previousSibling){hv=hp(ht,ht.firstChild,-1);if(hv){return e2(ac(hv.line,hv.ch+hk),hl)}else{hk+=ht.textContent.length}}}var ae=function(i){this.cm=i;this.prevInput="";this.pollingFast=false;this.polling=new hh();this.inaccurateSelection=false;this.hasSelection=false;this.composing=null};ae.prototype.init=function(hj){var hn=this;var hi=this,i=this.cm;var hm=this.wrapper=a8();var hk=this.textarea=hm.firstChild;hj.wrapper.insertBefore(hm,hj.wrapper.firstChild);if(fL){hk.style.width="0px"}ch(hk,"input",function(){if(ed&&m>=9&&hn.hasSelection){hn.hasSelection=null}hi.poll()});ch(hk,"paste",function(ho){if(a2(i,ho)||bl(ho,i)){return}i.state.pasteIncoming=true;hi.fastPoll()});function hl(hp){if(a2(i,hp)){return}if(i.somethingSelected()){dy({lineWise:false,text:i.getSelections()});if(hi.inaccurateSelection){hi.prevInput="";hi.inaccurateSelection=false;hk.value=bx.text.join("\n");ee(hk)}}else{if(!i.options.lineWiseCopyCut){return}else{var ho=dM(i);dy({lineWise:true,text:ho.text});if(hp.type=="cut"){i.setSelections(ho.ranges,null,ah)}else{hi.prevInput="";hk.value=ho.text.join("\n");ee(hk)}}}if(hp.type=="cut"){i.state.cutIncoming=true}}ch(hk,"cut",hl);ch(hk,"copy",hl);ch(hj.scroller,"paste",function(ho){if(bm(hj,ho)||a2(i,ho)){return}i.state.pasteIncoming=true;hi.focus()});ch(hj.lineSpace,"selectstart",function(ho){if(!bm(hj,ho)){c5(ho)}});ch(hk,"compositionstart",function(){var ho=i.getCursor("from");if(hi.composing){hi.composing.range.clear()}hi.composing={start:ho,range:i.markText(ho,i.getCursor("to"),{className:"CodeMirror-composing"})}});ch(hk,"compositionend",function(){if(hi.composing){hi.poll();hi.composing.range.clear();hi.composing=null}})};ae.prototype.prepareSelection=function(){var hi=this.cm,hm=hi.display,hl=hi.doc;var i=gw(hi);if(hi.options.moveInputWithCursor){var hn=ep(hi,hl.sel.primary().head,"div");var hj=hm.wrapper.getBoundingClientRect(),hk=hm.lineDiv.getBoundingClientRect();i.teTop=Math.max(0,Math.min(hm.wrapper.clientHeight-10,hn.top+hk.top-hj.top));i.teLeft=Math.max(0,Math.min(hm.wrapper.clientWidth-10,hn.left+hk.left-hj.left))}return i};ae.prototype.showSelection=function(hj){var i=this.cm,hi=i.display;cc(hi.cursorDiv,hj.cursors);cc(hi.selectionDiv,hj.selection);if(hj.teTop!=null){this.wrapper.style.top=hj.teTop+"px";this.wrapper.style.left=hj.teLeft+"px"}};ae.prototype.reset=function(hl){if(this.contextMenuPending||this.composing){return}var hi,hk,i=this.cm,hn=i.doc;if(i.somethingSelected()){this.prevInput="";var hj=hn.sel.primary();hi=dE&&(hj.to().line-hj.from().line>100||(hk=i.getSelection()).length>1000);var hm=hi?"-":hk||i.getSelection();this.textarea.value=hm;if(i.state.focused){ee(this.textarea)}if(ed&&m>=9){this.hasSelection=hm}}else{if(!hl){this.prevInput=this.textarea.value="";if(ed&&m>=9){this.hasSelection=null}}}this.inaccurateSelection=hi};ae.prototype.getField=function(){return this.textarea};ae.prototype.supportsTouch=function(){return false};ae.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!eO||eh()!=this.textarea)){try{this.textarea.focus()}catch(i){}}};ae.prototype.blur=function(){this.textarea.blur()};ae.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0};ae.prototype.receivedFocus=function(){this.slowPoll()};ae.prototype.slowPoll=function(){var i=this;if(this.pollingFast){return}this.polling.set(this.cm.options.pollInterval,function(){i.poll();if(i.cm.state.focused){i.slowPoll()}})};ae.prototype.fastPoll=function(){var hi=false,i=this;i.pollingFast=true;function hj(){var hk=i.poll();if(!hk&&!hi){hi=true;i.polling.set(60,hj)}else{i.pollingFast=false;i.slowPoll()}}i.polling.set(20,hj)};ae.prototype.poll=function(){var ho=this;var i=this.cm,hj=this.textarea,hk=this.prevInput;if(this.contextMenuPending||!i.state.focused||(bJ(hj)&&!hk&&!this.composing)||i.isReadOnly()||i.options.disableInput||i.state.keySeq){return false}var hm=hj.value;if(hm==hk&&!i.somethingSelected()){return false}if(ed&&m>=9&&this.hasSelection===hm||cs&&/[\uf700-\uf7ff]/.test(hm)){i.display.input.reset();return false}if(i.doc.sel==i.display.selForContextMenu){var hl=hm.charCodeAt(0);if(hl==8203&&!hk){hk="\u200b"}if(hl==8666){this.reset();return this.cm.execCommand("undo")}}var hn=0,hi=Math.min(hk.length,hm.length);while(hn<hi&&hk.charCodeAt(hn)==hm.charCodeAt(hn)){++hn}dd(i,function(){gR(i,hm.slice(hn),hk.length-hn,null,ho.composing?"*compose":null);if(hm.length>1000||hm.indexOf("\n")>-1){hj.value=ho.prevInput=""}else{ho.prevInput=hm}if(ho.composing){ho.composing.range.clear();ho.composing.range=i.markText(ho.composing.start,i.getCursor("to"),{className:"CodeMirror-composing"})}});return true};ae.prototype.ensurePolled=function(){if(this.pollingFast&&this.poll()){this.pollingFast=false}};ae.prototype.onKeyPress=function(){if(ed&&m>=9){this.hasSelection=null}this.fastPoll()};ae.prototype.onContextMenu=function(hm){var hr=this,hs=hr.cm,ho=hs.display,hi=hr.textarea;var hq=cM(hs,hm),i=ho.scroller.scrollTop;if(!hq||ez){return}var hl=hs.options.resetSelectionOnContextMenu;if(hl&&hs.doc.sel.contains(hq)==-1){ds(hs,ce)(hs.doc,fz(hq),ah)}var hn=hi.style.cssText,hv=hr.wrapper.style.cssText;hr.wrapper.style.cssText="position: absolute";var hu=hr.wrapper.getBoundingClientRect();hi.style.cssText="position: absolute; width: 30px; height: 30px;\n      top: "+(hm.clientY-hu.top-5)+"px; left: "+(hm.clientX-hu.left-5)+"px;\n      z-index: 1000; background: "+(ed?"rgba(255, 255, 255, .05)":"transparent")+";\n      outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var ht;if(dr){ht=window.scrollY}ho.input.focus();if(dr){window.scrollTo(null,ht)}ho.input.reset();if(!hs.somethingSelected()){hi.value=hr.prevInput=" "}hr.contextMenuPending=true;ho.selForContextMenu=hs.doc.sel;clearTimeout(ho.detectingSelectAll);function hk(){if(hi.selectionStart!=null){var hw=hs.somethingSelected();var hx="\u200b"+(hw?hi.value:"");hi.value="\u21da";hi.value=hx;hr.prevInput=hw?"":"\u200b";hi.selectionStart=1;hi.selectionEnd=hx.length;ho.selForContextMenu=hs.doc.sel}}function hp(){hr.contextMenuPending=false;hr.wrapper.style.cssText=hv;hi.style.cssText=hn;if(ed&&m<9){ho.scrollbars.setScrollTop(ho.scroller.scrollTop=i)}if(hi.selectionStart!=null){if(!ed||(ed&&m<9)){hk()}var hw=0,hx=function(){if(ho.selForContextMenu==hs.doc.sel&&hi.selectionStart==0&&hi.selectionEnd>0&&hr.prevInput=="\u200b"){ds(hs,au)(hs)}else{if(hw++<10){ho.detectingSelectAll=setTimeout(hx,500)}else{ho.selForContextMenu=null;ho.input.reset()}}};ho.detectingSelectAll=setTimeout(hx,200)}}if(ed&&m>=9){hk()}if(g7){e1(hm);var hj=function(){eN(window,"mouseup",hj);setTimeout(hp,20)};ch(window,"mouseup",hj)}else{setTimeout(hp,50)}};ae.prototype.readOnlyChanged=function(i){if(!i){this.reset()}this.textarea.disabled=i=="nocursor"};ae.prototype.setUneditable=function(){};ae.prototype.needsContentAttribute=false;function gu(ho,hp){hp=hp?aX(hp):{};hp.value=ho.value;if(!hp.tabindex&&ho.tabIndex){hp.tabindex=ho.tabIndex}if(!hp.placeholder&&ho.placeholder){hp.placeholder=ho.placeholder}if(hp.autofocus==null){var i=eh();hp.autofocus=i==ho||ho.getAttribute("autofocus")!=null&&i==document.body}function hl(){ho.value=hn.getValue()}var hm;if(ho.form){ch(ho.form,"submit",hl);if(!hp.leaveSubmitMethodAlone){var hi=ho.form;hm=hi.submit;try{var hk=hi.submit=function(){hl();hi.submit=hm;hi.submit();hi.submit=hk}}catch(hj){}}}hp.finishInit=function(hq){hq.save=hl;hq.getTextArea=function(){return ho};hq.toTextArea=function(){hq.toTextArea=isNaN;hl();ho.parentNode.removeChild(hq.getWrapperElement());ho.style.display="";if(ho.form){eN(ho.form,"submit",hl);if(typeof ho.form.submit=="function"){ho.form.submit=hm}}}};ho.style.display="none";var hn=K(function(hq){return ho.parentNode.insertBefore(hq,ho.nextSibling)},hp);return hn}function gz(i){i.off=eN;i.on=ch;i.wheelEventPixels=aH;i.Doc=aB;i.splitLines=gI;i.countColumn=cb;i.findColumn=e0;i.isWordChar=gq;i.Pass=cx;i.signal=aM;i.Line=g2;i.changeEnd=dn;i.scrollbarModel=by;i.Pos=ac;i.cmpPos=cC;i.modes=dX;i.mimeModes=a3;i.resolveMode=g9;i.getMode=gm;i.modeExtensions=dU;i.extendMode=fi;i.copyState=co;i.startState=cl;i.innerMode=g5;i.commands=fh;i.keyMap=fV;i.keyName=ga;i.isModifierKey=fe;i.lookupKey=k;i.normalizeKeyMap=c6;i.StringStream=fC;i.SharedTextMarker=y;i.TextMarker=V;i.LineWidget=d5;i.e_preventDefault=c5;i.e_stopPropagation=dV;i.e_stop=e1;i.addClass=gn;i.contains=g8;i.rmClass=h;i.keyNames=f0}fm(K);ei(K);var d="iter insert remove copy getEditor constructor".split(" ");for(var b3 in aB.prototype){if(aB.prototype.hasOwnProperty(b3)&&dN(d,b3)<0){K.prototype[b3]=(function(i){return function(){return i.apply(this.doc,arguments)}})(aB.prototype[b3])}}bR(aB);K.inputStyles={textarea:ae,contenteditable:dZ};K.defineMode=function(i){if(!K.defaults.mode&&i!="null"){K.defaults.mode=i}e5.apply(this,arguments)};K.defineMIME=bC;K.defineMode("null",function(){return({token:function(i){return i.skipToEnd()}})});K.defineMIME("text/plain","null");K.defineExtension=function(i,hi){K.prototype[i]=hi};K.defineDocExtension=function(i,hi){aB.prototype[i]=hi};K.fromTextArea=gu;gz(K);K.version="5.27.2";return K})));
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/codemirror/js/codemirror.addons.search.min.js:1:(function(n){typeof exports=="object"&&typeof module=="object"?n(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],n):n(CodeMirror)})(function(n){function t(n,t,i){var u=n.getWrapperElement(),r;return r=u.appendChild(document.createElement("div")),r.className=i?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top",typeof t=="string"?r.innerHTML=t:r.appendChild(t),r}function i(n,t){n.state.currentNotificationClose&&n.state.currentNotificationClose();n.state.currentNotificationClose=t}n.defineExtension("openDialog",function(r,u,f){function o(n){if(typeof n=="string")e.value=n;else{if(c)return;if(c=!0,s.parentNode.removeChild(s),l.focus(),f.onClose)f.onClose(s)}}var e,h;f||(f={});i(this,null);var s=t(this,r,f.bottom),c=!1,l=this;if(e=s.getElementsByTagName("input")[0],e){if(e.focus(),f.value&&(e.value=f.value,f.selectValueOnOpen!==!1&&e.select()),f.onInput)n.on(e,"input",function(n){f.onInput(n,e.value,o)});if(f.onKeyUp)n.on(e,"keyup",function(n){f.onKeyUp(n,e.value,o)});n.on(e,"keydown",function(t){f&&f.onKeyDown&&f.onKeyDown(t,e.value,o)||((t.keyCode==27||f.closeOnEnter!==!1&&t.keyCode==13)&&(e.blur(),n.e_stop(t),o()),t.keyCode==13&&u(e.value,t))});if(f.closeOnBlur!==!1)n.on(e,"blur",o)}else if(h=s.getElementsByTagName("button")[0]){n.on(h,"click",function(){o();l.focus()});if(f.closeOnBlur!==!1)n.on(h,"blur",o);h.focus()}return o});n.defineExtension("openConfirm",function(r,u,f){function v(){l||(l=!0,s.parentNode.removeChild(s),a.focus())}var e,o;i(this,null);var s=t(this,r,f&&f.bottom),h=s.getElementsByTagName("button"),l=!1,a=this,c=1;for(h[0].focus(),e=0;e<h.length;++e){o=h[e],function(t){n.on(o,"click",function(i){n.e_preventDefault(i);v();t&&t(a)})}(u[e]);n.on(o,"blur",function(){--c;setTimeout(function(){c<=0&&v()},200)});n.on(o,"focus",function(){++c})}});n.defineExtension("openNotification",function(r,u){function f(){o||(o=!0,clearTimeout(s),e.parentNode.removeChild(e))}i(this,f);var e=t(this,r,u&&u.bottom),o=!1,s,h=u&&typeof u.duration!="undefined"?u.duration:5e3;n.on(e,"click",function(t){n.e_preventDefault(t);f()});return h&&(s=setTimeout(f,h)),f})}),function(n){typeof exports=="object"&&typeof module=="object"?n(require("../../lib/codemirror"),require("./searchcursor"),require("../dialog/dialog")):typeof define=="function"&&define.amd?define(["../../lib/codemirror","./searchcursor","../dialog/dialog"],n):n(CodeMirror)}(function(n){"use strict";function y(n,t){return typeof n=="string"?n=new RegExp(n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),t?"gi":"g"):n.global||(n=new RegExp(n.source,n.ignoreCase?"gi":"g")),{token:function(t){n.lastIndex=t.pos;var i=n.exec(t.string);if(i&&i.index==t.pos)return t.pos+=i[0].length||1,"searching";i?t.pos=i.index:t.skipToEnd()}}}function p(){this.posFrom=this.posTo=this.lastQuery=this.query=null;this.overlay=null}function i(n){return n.state.search||(n.state.search=new p)}function f(n){return typeof n=="string"&&n==n.toLowerCase()}function r(n,t,i){return n.getSearchCursor(t,i,{caseFold:f(t),multiline:!0})}function w(n,t,i,r,f){n.openDialog(t,r,{value:i,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){u(n)},onKeyDown:f})}function s(n,t,i,r,u){n.openDialog?n.openDialog(t,u,{value:r,selectValueOnOpen:!0}):u(prompt(i,r))}function b(n,t,i,r){n.openConfirm?n.openConfirm(t,r):confirm(i)&&r[0]()}function h(n){return n.replace(/\\(.)/g,function(n,t){return t=="n"?"\n":t=="r"?"\r":t})}function c(n){var t=n.match(/^\/(.*)\/([a-z]*)$/);if(t)try{n=new RegExp(t[1],t[2].indexOf("i")==-1?"":"i")}catch(i){}else n=h(n);return(typeof n=="string"?n=="":n.test(""))&&(n=/x^/),n}function e(n,t,i){t.queryText=i;t.query=c(i);n.removeOverlay(t.overlay,f(t.query));t.overlay=y(t.query,f(t.query));n.addOverlay(t.overlay);n.showMatchesOnScrollbar&&(t.annotate&&(t.annotate.clear(),t.annotate=null),t.annotate=n.showMatchesOnScrollbar(t.query,f(t.query)))}function t(t,r,u,f){var h=i(t),c,a,v;if(h.query)return o(t,r);c=t.getSelection()||h.lastQuery;u&&t.openDialog?(a=null,v=function(i,r){(n.e_stop(r),i)&&(i!=h.queryText&&(e(t,h,i),h.posFrom=h.posTo=t.getCursor()),a&&(a.style.opacity=1),o(t,r.shiftKey,function(n,i){var r;i.line<3&&document.querySelector&&(r=t.display.wrapper.querySelector(".CodeMirror-dialog"))&&r.getBoundingClientRect().bottom-4>t.cursorCoords(i,"window").top&&((a=r).style.opacity=.4)}))},w(t,l,c,v,function(r,u){var o=n.keyName(r),f=n.keyMap[t.getOption("keyMap")][o];f||(f=t.getOption("extraKeys")[o]);f=="findNext"||f=="findPrev"||f=="findPersistentNext"||f=="findPersistentPrev"?(n.e_stop(r),e(t,i(t),u),t.execCommand(f)):(f=="find"||f=="findPersistent")&&(n.e_stop(r),v(u,r))}),f&&c&&(e(t,h,c),o(t,r))):s(t,l,"Search for:",c,function(n){n&&!h.query&&t.operation(function(){e(t,h,n);h.posFrom=h.posTo=t.getCursor();o(t,r)})})}function o(t,u,f){t.operation(function(){var o=i(t),e=r(t,o.query,u?o.posFrom:o.posTo);(e.find(u)||(e=r(t,o.query,u?n.Pos(t.lastLine()):n.Pos(t.firstLine(),0)),e.find(u)))&&(t.setSelection(e.from(),e.to()),t.scrollIntoView({from:e.from(),to:e.to()},20),o.posFrom=e.from(),o.posTo=e.to(),f&&f(e.from(),e.to()))})}function u(n){n.operation(function(){var t=i(n);(t.lastQuery=t.query,t.query)&&(t.query=t.queryText=null,n.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))})}function a(n,t,i){n.operation(function(){for(var f,u=r(n,t);u.findNext();)typeof t!="string"?(f=n.getRange(u.from(),u.to()).match(t),u.replace(i.replace(/\$(\d)/g,function(n,t){return f[t]}))):u.replace(i)})}function v(n,t){if(!n.getOption("readOnly")){var e=n.getSelection()||i(n).lastQuery,f='<span class="CodeMirror-search-label">'+(t?"Replace all:":"Replace:")+"<\/span>";s(n,f+k,f,e,function(i){i&&(i=c(i),s(n,d,"Replace with:","",function(f){if(f=h(f),t)a(n,i,f);else{u(n);var e=r(n,i,n.getCursor("from")),o=function(){var t=e.from(),u;((u=e.findNext())||(e=r(n,i),(u=e.findNext())&&(!t||e.from().line!=t.line||e.from().ch!=t.ch)))&&(n.setSelection(e.from(),e.to()),n.scrollIntoView({from:e.from(),to:e.to()}),b(n,g,"Replace?",[function(){s(u)},o,function(){a(n,i,f)}]))},s=function(n){e.replace(typeof i=="string"?f:f.replace(/\$(\d)/g,function(t,i){return n[i]}));o()};o()}}))})}}var l='<span class="CodeMirror-search-label">Search:<\/span> <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">(Use /re/ syntax for regexp search)<\/span>',k=' <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">(Use /re/ syntax for regexp search)<\/span>',d='<span class="CodeMirror-search-label">With:<\/span> <input type="text" style="width: 10em" class="CodeMirror-search-field"/>',g='<span class="CodeMirror-search-label">Replace?<\/span> <button>Yes<\/button> <button>No<\/button> <button>All<\/button> <button>Stop<\/button>';n.commands.find=function(n){u(n);t(n)};n.commands.findPersistent=function(n){u(n);t(n,!1,!0)};n.commands.findPersistentNext=function(n){t(n,!1,!0,!0)};n.commands.findPersistentPrev=function(n){t(n,!0,!0,!0)};n.commands.findNext=t;n.commands.findPrev=function(n){t(n,!0)};n.commands.clearSearch=u;n.commands.replace=v;n.commands.replaceAll=function(n){v(n,!0)}}),function(n){typeof exports=="object"&&typeof module=="object"?n(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],n):n(CodeMirror)}(function(n){"use strict";function h(n){var t=n.flags;return t!=null?t:(n.ignoreCase?"i":"")+(n.global?"g":"")+(n.multiline?"m":"")}function r(n){return n.global?n:new RegExp(n.source,h(n)+"g")}function c(n){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(n.source)}function o(n,i,u){var s,f;i=r(i);for(var e=u.line,o=u.ch,h=n.lastLine();e<=h;e++,o=0)if(i.lastIndex=o,s=n.getLine(e),f=i.exec(s),f)return{from:t(e,f.index),to:t(e,f.index+f[0].length),match:f}}function l(n,i,u){var f,h,l,p,a,v,e;if(!c(i))return o(n,i,u);for(i=r(i),h=1,l=u.line,p=n.lastLine();l<=p;){for(a=0;a<h;a++)v=n.getLine(l++),f=f==null?v:f+"\n"+v;if(h=h*2,i.lastIndex=u.ch,e=i.exec(f),e){var y=f.slice(0,e.index).split("\n"),s=e[0].split("\n"),w=u.line+y.length-1,b=y[y.length-1].length;return{from:t(w,b),to:t(w+s.length-1,s.length==1?b+s[0].length:s[s.length-1].length),match:e}}}}function s(n,t){for(var r=0,i,u;;)if((t.lastIndex=r,u=t.exec(n),!u)||(i=u,r=i.index+(i[0].length||1),r==n.length))return i}function a(n,i,u){var o,f;i=r(i);for(var e=u.line,h=u.ch,c=n.firstLine();e>=c;e--,h=-1)if(o=n.getLine(e),h>-1&&(o=o.slice(0,h)),f=s(o,i),f)return{from:t(e,f.index),to:t(e,f.index+f[0].length),match:f}}function v(n,i,u){var f,c,h,y,l,a,e;for(i=r(i),c=1,h=u.line,y=n.firstLine();h>=y;){for(l=0;l<c;l++)a=n.getLine(h--),f=f==null?a.slice(0,u.ch):a+"\n"+f;if(c*=2,e=s(f,i),e){var v=f.slice(0,e.index).split("\n"),o=e[0].split("\n"),p=h+v.length,w=v[v.length-1].length;return{from:t(p,w),to:t(p+o.length-1,o.length==1?w+o[0].length:o[o.length-1].length),match:e}}}}function i(n,t,i){var r,u;if(n.length==t.length)return i;for(r=Math.min(i,n.length);;)if(u=n.slice(0,r).toLowerCase().length,u<i)++r;else if(u>i)--r;else return r}function y(n,r,e,o){var v,s,a,c,y,e,w,p;if(!r.length)return null;v=o?u:f;s=v(r).split(/\r|\n\r?/);n:for(var h=e.line,l=e.ch,d=n.lastLine()+1-s.length;h<=d;h++,l=0){if(a=n.getLine(h).slice(l),c=v(a),s.length==1){if(y=c.indexOf(s[0]),y==-1)continue n;return e=i(a,c,y)+l,{from:t(h,i(a,c,y)+l),to:t(h,i(a,c,y+s[0].length)+l)}}if(w=c.length-s[0].length,c.slice(w)==s[0]){for(p=1;p<s.length-1;p++)if(v(n.getLine(h+p))!=s[p])continue n;var b=n.getLine(h+s.length-1),g=v(b),k=s[s.length-1];if(b.slice(0,k.length)==k)return{from:t(h,i(a,c,w)+l),to:t(h+s.length-1,i(b,g,k.length))}}}}function p(n,r,e,o){var a,s,c,l,y,p,v,e,w,b;if(!r.length)return null;a=o?u:f;s=a(r).split(/\r|\n\r?/);n:for(var h=e.line,k=e.ch,d=n.firstLine()-1+s.length;h>=d;h--,k=-1){if(c=n.getLine(h),k>-1&&(c=c.slice(0,k)),l=a(c),s.length==1){if(y=l.lastIndexOf(s[0]),y==-1)continue n;return{from:t(h,i(c,l,y)),to:t(h,i(c,l,y+s[0].length))}}if(p=s[s.length-1],l.slice(0,p.length)==p){for(v=1,e=h-s.length+1;v<s.length-1;v++)if(a(n.getLine(e+v))!=s[v])continue n;if(w=n.getLine(h+1-s.length),b=a(w),b.slice(b.length-s[0].length)==s[0])return{from:t(h+1-s.length,i(w,b,w.length-s[0].length)),to:t(h,i(c,l,p.length))}}}}function e(n,i,u,f){this.atOccurrence=!1;this.doc=n;u=u?n.clipPos(u):t(0,0);this.pos={from:u,to:u};var e;typeof f=="object"?e=f.caseFold:(e=f,f=null);typeof i=="string"?(e==null&&(e=!1),this.matches=function(t,r){return(t?p:y)(n,i,r,e)}):(i=r(i),this.matches=f&&f.multiline===!1?function(t,r){return(t?a:o)(n,i,r)}:function(t,r){return(t?v:l)(n,i,r)})}var t=n.Pos,u,f;String.prototype.normalize?(u=function(n){return n.normalize("NFD").toLowerCase()},f=function(n){return n.normalize("NFD")}):(u=function(n){return n.toLowerCase()},f=function(n){return n});e.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(i){for(var r=this.matches(i,this.doc.clipPos(i?this.pos.from:this.pos.to)),u;r&&n.cmpPos(r.from,r.to)==0;)i?r.from.ch?r.from=t(r.from.line,r.from.ch-1):r=r.from.line==this.doc.firstLine()?null:this.matches(i,this.doc.clipPos(t(r.from.line-1))):r.to.ch<this.doc.getLine(r.to.line).length?r.to=t(r.to.line,r.to.ch+1):r=r.to.line==this.doc.lastLine()?null:this.matches(i,t(r.to.line+1,0));return r?(this.pos=r,this.atOccurrence=!0,this.pos.match||!0):(u=t(i?this.doc.firstLine():this.doc.lastLine()+1,0),this.pos={from:u,to:u},this.atOccurrence=!1)},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(i,r){if(this.atOccurrence){var u=n.splitLines(i);this.doc.replaceRange(u,this.pos.from,this.pos.to,r);this.pos.to=t(this.pos.from.line+u.length-1,u[u.length-1].length+(u.length==1?this.pos.from.ch:0))}}};n.defineExtension("getSearchCursor",function(n,t,i){return new e(this.doc,n,t,i)});n.defineDocExtension("getSearchCursor",function(n,t,i){return new e(this,n,t,i)});n.defineExtension("selectMatches",function(t,i){for(var u=[],r=this.getSearchCursor(t,this.getCursor("from"),i);r.findNext();){if(n.cmpPos(r.to(),this.getCursor("to"))>0)break;u.push({anchor:r.from(),head:r.to()})}u.length&&this.setSelections(u,0)})})
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/codemirror/js/codemirror.mode.php.min.js:1:(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"),require("../xml/xml"),require("../javascript/javascript"),require("../css/css"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror","../xml/xml","../javascript/javascript","../css/css"],a)}else{a(CodeMirror)}}})(function(d){var g={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function f(n,j,k){var m=n.current(),l=m.search(j);if(l>-1){n.backUp(m.length-l)}else{if(m.match(/<\/?$/)){n.backUp(m.length);if(!n.match(j,false)){n.match(m)}}}return k}var e={};function c(j){var k=e[j];if(k){return k}return e[j]=new RegExp("\\s+"+j+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*")}function a(l,j){var k=l.match(c(j));return k?/^\s*(.*?)\s*$/.exec(k[2])[1]:""}function i(k,j){return new RegExp((j?"^":"")+"</s*"+k+"s*>","i")}function h(o,n){for(var j in o){var k=n[j]||(n[j]=[]);var m=o[j];for(var l=m.length-1;l>=0;l--){k.unshift(m[l])}}}function b(l,m){for(var k=0;k<l.length;k++){var j=l[k];if(!j[0]||j[1].test(a(m,j[0]))){return j[2]}}}d.defineMode("htmlmixed",function(k,o){var q=d.getMode(k,{name:"xml",htmlMode:true,multilineTagIndentFactor:o.multilineTagIndentFactor,multilineTagIndentPastTag:o.multilineTagIndentPastTag});var j={};var p=o&&o.tags,n=o&&o.scriptTypes;h(g,j);if(p){h(p,j)}if(n){for(var m=n.length-1;m>=0;m--){j.script.unshift(["type",n[m].matches,n[m].mode])}}function l(z,r){var s=q.token(z,r.htmlState),A=/\btag\b/.test(s),u;if(A&&!/[<>\s\/]/.test(z.current())&&(u=r.htmlState.tagName&&r.htmlState.tagName.toLowerCase())&&j.hasOwnProperty(u)){r.inTag=u+" "}else{if(r.inTag&&A&&/>$/.test(z.current())){var t=/^([\S]+) (.*)/.exec(r.inTag);r.inTag=null;var y=z.current()==">"&&b(j[t[1]],t[2]);var x=d.getMode(k,y);var w=i(t[1],true),v=i(t[1],false);r.token=function(C,B){if(C.match(w,false)){B.token=l;B.localState=B.localMode=null;return null}return f(C,v,B.localMode.token(C,B.localState))};r.localMode=x;r.localState=d.startState(x,q.indent(r.htmlState,""))}else{if(r.inTag){r.inTag+=z.current();if(z.eol()){r.inTag+=" "}}}}return s}return{startState:function(){var r=d.startState(q);return{token:l,inTag:null,localMode:null,localState:null,htmlState:r}},copyState:function(s){var r;if(s.localState){r=d.copyState(s.localMode,s.localState)}return{token:s.token,inTag:s.inTag,localMode:s.localMode,localState:r,htmlState:d.copyState(q,s.htmlState)}},token:function(s,r){return r.token(s,r)},indent:function(t,s,r){if(!t.localMode||/^\s*<\//.test(s)){return q.indent(t.htmlState,s)}else{if(t.localMode.indent){return t.localMode.indent(t.localState,s,r)}else{return d.Pass}}},innerMode:function(r){return{state:r.localState||r.htmlState,mode:r.localMode||q}}}},"xml","javascript","css");d.defineMIME("text/html","htmlmixed")});(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror"],a)}else{a(CodeMirror)}}})(function(a){var b={autoSelfClosers:{area:true,base:true,br:true,col:true,command:true,embed:true,frame:true,hr:true,img:true,input:true,keygen:true,link:true,meta:true,param:true,source:true,track:true,wbr:true,menuitem:true},implicitlyClosed:{dd:true,li:true,optgroup:true,option:true,p:true,rp:true,rt:true,tbody:true,td:true,tfoot:true,th:true,tr:true},contextGrabbers:{dd:{dd:true,dt:true},dt:{dd:true,dt:true},li:{li:true},option:{option:true,optgroup:true},optgroup:{optgroup:true},p:{address:true,article:true,aside:true,blockquote:true,dir:true,div:true,dl:true,fieldset:true,footer:true,form:true,h1:true,h2:true,h3:true,h4:true,h5:true,h6:true,header:true,hgroup:true,hr:true,menu:true,nav:true,ol:true,p:true,pre:true,section:true,table:true,ul:true},rp:{rp:true,rt:true},rt:{rp:true,rt:true},tbody:{tbody:true,tfoot:true},td:{td:true,th:true},tfoot:{tbody:true},th:{td:true,th:true},thead:{tbody:true,tfoot:true},tr:{tr:true}},doNotIndent:{pre:true},allowUnquoted:true,allowMissing:true,caseFold:true};var c={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:false,allowMissing:false,caseFold:false};a.defineMode("xml",function(m,y){var r=m.indentUnit;var z={};var l=y.htmlMode?b:c;for(var f in l){z[f]=l[f]}for(var f in y){z[f]=y[f]}var g,h;function p(G,F){function D(H){F.tokenize=H;return H(G,F)}var E=G.next();if(E=="<"){if(G.eat("!")){if(G.eat("[")){if(G.match("CDATA[")){return D(x("atom","]]>"))}else{return null}}else{if(G.match("--")){return D(x("comment","-->"))}else{if(G.match("DOCTYPE",true,true)){G.eatWhile(/[\w\._\-]/);return D(A(1))}else{return null}}}}else{if(G.eat("?")){G.eatWhile(/[\w\._\-]/);F.tokenize=x("meta","?>");return"meta"}else{g=G.eat("/")?"closeTag":"openTag";F.tokenize=o;return"tag bracket"}}}else{if(E=="&"){var C;if(G.eat("#")){if(G.eat("x")){C=G.eatWhile(/[a-fA-F\d]/)&&G.eat(";")}else{C=G.eatWhile(/[\d]/)&&G.eat(";")}}else{C=G.eatWhile(/[\w\.\-:]/)&&G.eat(";")}return C?"atom":"error"}else{G.eatWhile(/[^&<]/);return null}}}p.isInText=true;function o(F,E){var D=F.next();if(D==">"||(D=="/"&&F.eat(">"))){E.tokenize=p;g=D==">"?"endTag":"selfcloseTag";return"tag bracket"}else{if(D=="="){g="equals";return null}else{if(D=="<"){E.tokenize=p;E.state=n;E.tagName=E.tagStart=null;var C=E.tokenize(F,E);return C?C+" tag error":"tag error"}else{if(/[\'\"]/.test(D)){E.tokenize=k(D);E.stringStartCol=F.column();return E.tokenize(F,E)}else{F.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/);return"word"}}}}}function k(C){var D=function(F,E){while(!F.eol()){if(F.next()==C){E.tokenize=o;break}}return"string"};D.isInAttribute=true;return D}function x(D,C){return function(F,E){while(!F.eol()){if(F.match(C)){E.tokenize=p;break}F.next()}return D}}function A(C){return function(F,E){var D;while((D=F.next())!=null){if(D=="<"){E.tokenize=A(C+1);return E.tokenize(F,E)}else{if(D==">"){if(C==1){E.tokenize=p;break}else{E.tokenize=A(C-1);return E.tokenize(F,E)}}}}return"meta"}}function t(D,C,E){this.prev=D.context;this.tagName=C;this.indent=D.indented;this.startOfLine=E;if(z.doNotIndent.hasOwnProperty(C)||(D.context&&D.context.noIndent)){this.noIndent=true}}function w(C){if(C.context){C.context=C.context.prev}}function s(E,D){var C;while(true){if(!E.context){return}C=E.context.tagName;if(!z.contextGrabbers.hasOwnProperty(C)||!z.contextGrabbers[C].hasOwnProperty(D)){return}w(E)}}function n(C,E,D){if(C=="openTag"){D.tagStart=E.column();return d}else{if(C=="closeTag"){return v}else{return n}}}function d(C,E,D){if(C=="word"){D.tagName=E.current();h="tag";return e}else{h="error";return d}}function v(D,F,E){if(D=="word"){var C=F.current();if(E.context&&E.context.tagName!=C&&z.implicitlyClosed.hasOwnProperty(E.context.tagName)){w(E)}if((E.context&&E.context.tagName==C)||z.matchClosing===false){h="tag";return u}else{h="tag error";return B}}else{h="error";return B}}function u(D,C,E){if(D!="endTag"){h="error";return u}w(E);return n}function B(C,E,D){h="error";return u(C,E,D)}function e(F,D,G){if(F=="word"){h="attribute";return j}else{if(F=="endTag"||F=="selfcloseTag"){var E=G.tagName,C=G.tagStart;G.tagName=G.tagStart=null;if(F=="selfcloseTag"||z.autoSelfClosers.hasOwnProperty(E)){s(G,E)}else{s(G,E);G.context=new t(G,E,C==G.indented)}return n}}h="error";return e}function j(C,E,D){if(C=="equals"){return q}if(!z.allowMissing){h="error"}return e(C,E,D)}function q(C,E,D){if(C=="string"){return i}if(C=="word"&&z.allowUnquoted){h="string";return e}h="error";return e(C,E,D)}function i(C,E,D){if(C=="string"){return i}return e(C,E,D)}return{startState:function(C){var D={tokenize:p,state:n,indented:C||0,tagName:null,tagStart:null,context:null};if(C!=null){D.baseIndent=C}return D},token:function(E,D){if(!D.tagName&&E.sol()){D.indented=E.indentation()}if(E.eatSpace()){return null}g=null;var C=D.tokenize(E,D);if((C||g)&&C!="comment"){h=null;D.state=D.state(g||C,E,D);if(h){C=h=="error"?C+" error":h}}return C},indent:function(H,D,G){var F=H.context;if(H.tokenize.isInAttribute){if(H.tagStart==H.indented){return H.stringStartCol+1}else{return H.indented+r}}if(F&&F.noIndent){return a.Pass}if(H.tokenize!=o&&H.tokenize!=p){return G?G.match(/^(\s*)/)[0].length:0}if(H.tagName){if(z.multilineTagIndentPastTag!==false){return H.tagStart+H.tagName.length+2}else{return H.tagStart+r*(z.multilineTagIndentFactor||1)}}if(z.alignCDATA&&/<!\[CDATA\[/.test(D)){return 0}var C=D&&/^<(\/)?([\w_:\.-]*)/.exec(D);if(C&&C[1]){while(F){if(F.tagName==C[2]){F=F.prev;break}else{if(z.implicitlyClosed.hasOwnProperty(F.tagName)){F=F.prev}else{break}}}}else{if(C){while(F){var E=z.contextGrabbers[F.tagName];if(E&&E.hasOwnProperty(C[2])){F=F.prev}else{break}}}}while(F&&F.prev&&!F.startOfLine){F=F.prev}if(F){return F.indent+r}else{return H.baseIndent||0}},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:z.htmlMode?"html":"xml",helperType:z.htmlMode?"html":"xml",skipAttribute:function(C){if(C.state==q){C.state=e}}}});a.defineMIME("text/xml","xml");a.defineMIME("application/xml","xml");if(!a.mimeModes.hasOwnProperty("text/html")){a.defineMIME("text/html",{name:"xml",htmlMode:true})}});(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror"],a)}else{a(CodeMirror)}}})(function(a){function b(e,d,c){return/^(?:operator|sof|keyword c|case|new|export|default|[\[{}\(,;:]|=>)$/.test(d.lastType)||(d.lastType=="quasi"&&/\{\s*$/.test(e.string.slice(0,e.pos-(c||0))))}a.defineMode("javascript",function(ag,ar){var n=ag.indentUnit;var D=ar.statementIndent;var aI=ar.jsonld;var C=ar.json||aI;var g=ar.typescript;var aD=ar.wordCharacters||/[\w$\xa1-\uffff]/;var aB=function(){function aZ(a1){return{type:a1,style:"keyword"}}var aU=aZ("keyword a"),aS=aZ("keyword b"),aR=aZ("keyword c");var aT=aZ("operator"),aX={type:"atom",style:"atom"};var aV={"if":aZ("if"),"while":aU,"with":aU,"else":aS,"do":aS,"try":aS,"finally":aS,"return":aR,"break":aR,"continue":aR,"new":aZ("new"),"delete":aR,"throw":aR,"debugger":aR,"var":aZ("var"),"const":aZ("var"),let:aZ("var"),"function":aZ("function"),"catch":aZ("catch"),"for":aZ("for"),"switch":aZ("switch"),"case":aZ("case"),"default":aZ("default"),"in":aT,"typeof":aT,"instanceof":aT,"true":aX,"false":aX,"null":aX,"undefined":aX,"NaN":aX,"Infinity":aX,"this":aZ("this"),"class":aZ("class"),"super":aZ("atom"),yield:aR,"export":aZ("export"),"import":aZ("import"),"extends":aR,await:aR};if(g){var a0={type:"variable",style:"type"};var aW={"interface":aZ("class"),"implements":aR,namespace:aR,module:aZ("module"),"enum":aZ("module"),"public":aZ("modifier"),"private":aZ("modifier"),"protected":aZ("modifier"),"abstract":aZ("modifier"),string:a0,number:a0,"boolean":a0,any:a0};for(var aY in aW){aV[aY]=aW[aY]}}return aV}();var U=/[+\-*&%=<>!?|~^@]/;var aA=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function I(aU){var aS=false,aR,aT=false;while((aR=aU.next())!=null){if(!aS){if(aR=="/"&&!aT){return}if(aR=="["){aT=true}else{if(aT&&aR=="]"){aT=false}}}aS=!aS&&aR=="\\"}}var Y,J;function Q(aT,aS,aR){Y=aT;J=aR;return aS}function aa(aV,aT){var aR=aV.next();if(aR=='"'||aR=="'"){aT.tokenize=X(aR);return aT.tokenize(aV,aT)}else{if(aR=="."&&aV.match(/^\d+(?:[eE][+\-]?\d+)?/)){return Q("number","number")}else{if(aR=="."&&aV.match("..")){return Q("spread","meta")}else{if(/[\[\]{}\(\),;\:\.]/.test(aR)){return Q(aR)}else{if(aR=="="&&aV.eat(">")){return Q("=>","operator")}else{if(aR=="0"&&aV.eat(/x/i)){aV.eatWhile(/[\da-f]/i);return Q("number","number")}else{if(aR=="0"&&aV.eat(/o/i)){aV.eatWhile(/[0-7]/i);return Q("number","number")}else{if(aR=="0"&&aV.eat(/b/i)){aV.eatWhile(/[01]/i);return Q("number","number")}else{if(/\d/.test(aR)){aV.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/);return Q("number","number")}else{if(aR=="/"){if(aV.eat("*")){aT.tokenize=aH;return aH(aV,aT)}else{if(aV.eat("/")){aV.skipToEnd();return Q("comment","comment")}else{if(b(aV,aT,1)){I(aV);aV.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/);return Q("regexp","string-2")}else{aV.eatWhile(U);return Q("operator","operator",aV.current())}}}}else{if(aR=="`"){aT.tokenize=aJ;return aJ(aV,aT)}else{if(aR=="#"){aV.skipToEnd();return Q("error","error")}else{if(U.test(aR)){if(aR!=">"||!aT.lexical||aT.lexical.type!=">"){aV.eatWhile(U)}return Q("operator","operator",aV.current())}else{if(aD.test(aR)){aV.eatWhile(aD);var aU=aV.current();if(aT.lastType!="."){if(aB.propertyIsEnumerable(aU)){var aS=aB[aU];return Q(aS.type,aS.style,aU)}if(aU=="async"&&aV.match(/^\s*[\(\w]/,false)){return Q("async","keyword",aU)}}return Q("variable","variable",aU)}}}}}}}}}}}}}}}function X(aR){return function(aV,aT){var aU=false,aS;if(aI&&aV.peek()=="@"&&aV.match(aA)){aT.tokenize=aa;return Q("jsonld-keyword","meta")}while((aS=aV.next())!=null){if(aS==aR&&!aU){break}aU=!aU&&aS=="\\"}if(!aU){aT.tokenize=aa}return Q("string","string")}}function aH(aU,aT){var aR=false,aS;while(aS=aU.next()){if(aS=="/"&&aR){aT.tokenize=aa;break}aR=(aS=="*")}return Q("comment","comment")}function aJ(aU,aS){var aT=false,aR;while((aR=aU.next())!=null){if(!aT&&(aR=="`"||aR=="$"&&aU.eat("{"))){aS.tokenize=aa;break}aT=!aT&&aR=="\\"}return Q("quasi","string-2",aU.current())}var o="([{}])";function aF(aZ,aT){if(aT.fatArrowAt){aT.fatArrowAt=null}var aY=aZ.string.indexOf("=>",aZ.start);if(aY<0){return}if(g){var aV=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(aZ.string.slice(aZ.start,aY));if(aV){aY=aV.index}}var aW=0,aU=false;for(var aX=aY-1;aX>=0;--aX){var aR=aZ.string.charAt(aX);var aS=o.indexOf(aR);if(aS>=0&&aS<3){if(!aW){++aX;break}if(--aW==0){if(aR=="("){aU=true}break}}else{if(aS>=3&&aS<6){++aW}else{if(aD.test(aR)){aU=true}else{if(/["'\/]/.test(aR)){return}else{if(aU&&!aW){++aX;break}}}}}}if(aU&&!aW){aT.fatArrowAt=aX}}var c={atom:true,number:true,variable:true,string:true,regexp:true,"this":true,"jsonld-keyword":true};function O(aW,aS,aR,aV,aT,aU){this.indented=aW;this.column=aS;this.type=aR;this.prev=aT;this.info=aU;if(aV!=null){this.align=aV}}function v(aU,aT){for(var aS=aU.localVars;aS;aS=aS.next){if(aS.name==aT){return true}}for(var aR=aU.context;aR;aR=aR.prev){for(var aS=aR.vars;aS;aS=aS.next){if(aS.name==aT){return true}}}}function f(aV,aS,aR,aU,aW){var aX=aV.cc;H.state=aV;H.stream=aW;H.marked=null,H.cc=aX;H.style=aS;if(!aV.lexical.hasOwnProperty("align")){aV.lexical.align=true}while(true){var aT=aX.length?aX.pop():C?aw:aO;if(aT(aR,aU)){while(aX.length&&aX[aX.length-1].lex){aX.pop()()}if(H.marked){return H.marked}if(aR=="variable"&&v(aV,aU)){return"variable-2"}return aS}}}var H={state:null,column:null,marked:null,cc:null};function ah(){for(var aR=arguments.length-1;aR>=0;aR--){H.cc.push(arguments[aR])}}function am(){ah.apply(null,arguments);return true}function aE(aS){function aR(aV){for(var aU=aV;aU;aU=aU.next){if(aU.name==aS){return true}}return false}var aT=H.state;H.marked="def";if(aT.context){if(aR(aT.localVars)){return}aT.localVars={name:aS,next:aT.localVars}}else{if(aR(aT.globalVars)){return}if(ar.globalVars){aT.globalVars={name:aS,next:aT.globalVars}}}}var t={name:"this",next:{name:"arguments"}};function z(){H.state.context={prev:H.state.context,vars:H.state.localVars};H.state.localVars=t}function A(){H.state.localVars=H.state.context.vars;H.state.context=H.state.context.prev}function aM(aS,aT){var aR=function(){var aW=H.state,aU=aW.indented;if(aW.lexical.type=="stat"){aU=aW.lexical.indented}else{for(var aV=aW.lexical;aV&&aV.type==")"&&aV.align;aV=aV.prev){aU=aV.indented}}aW.lexical=new O(aU,H.stream.column(),aS,null,aW.lexical,aT)};aR.lex=true;return aR}function h(){var aR=H.state;if(aR.lexical.prev){if(aR.lexical.type==")"){aR.indented=aR.lexical.indented}aR.lexical=aR.lexical.prev}}h.lex=true;function u(aR){function aS(aT){if(aT==aR){return am()}else{if(aR==";"){return ah()}else{return am(aS)}}}return aS}function aO(aR,aS){if(aR=="var"){return am(aM("vardef",aS.length),d,u(";"),h)}if(aR=="keyword a"){return am(aM("form"),ax,aO,h)}if(aR=="keyword b"){return am(aM("form"),aO,h)}if(aR=="{"){return am(aM("}"),B,h)}if(aR==";"){return am()}if(aR=="if"){if(H.state.lexical.info=="else"&&H.state.cc[H.state.cc.length-1]==h){H.state.cc.pop()()}return am(aM("form"),ax,aO,h,e)}if(aR=="function"){return am(R)}if(aR=="for"){return am(aM("form"),x,aO,h)}if(aR=="variable"){if(g&&aS=="type"){H.marked="keyword";return am(j,u("operator"),j,u(";"))}else{return am(aM("stat"),aP)}}if(aR=="switch"){return am(aM("form"),ax,u("{"),aM("}","switch"),B,h,h)}if(aR=="case"){return am(aw,u(":"))}if(aR=="default"){return am(u(":"))}if(aR=="catch"){return am(aM("form"),z,u("("),al,u(")"),aO,h,A)}if(aR=="class"){return am(aM("form"),ac,h)}if(aR=="export"){return am(aM("stat"),aN,h)}if(aR=="import"){return am(aM("stat"),an,h)}if(aR=="module"){return am(aM("form"),i,u("{"),aM("}"),B,h,h)}if(aR=="async"){return am(aO)}if(aS=="@"){return am(aw,aO)}return ah(aM("stat"),aw,u(";"),h)}function aw(aR){return af(aR,false)}function aL(aR){return af(aR,true)}function ax(aR){if(aR!="("){return ah()}return am(aM(")"),aw,u(")"),h)}function af(aS,aU){if(H.state.fatArrowAt==H.stream.start){var aR=aU?S:ad;if(aS=="("){return am(z,aM(")"),aC(i,")"),h,u("=>"),aR,A)}else{if(aS=="variable"){return ah(z,i,u("=>"),aR,A)}}}var aT=aU?k:ai;if(c.hasOwnProperty(aS)){return am(aT)}if(aS=="function"){return am(R,aT)}if(aS=="class"){return am(aM("form"),M,h)}if(aS=="keyword c"||aS=="async"){return am(aU?at:aq)}if(aS=="("){return am(aM(")"),aq,u(")"),h,aT)}if(aS=="operator"||aS=="spread"){return am(aU?aL:aw)}if(aS=="["){return am(aM("]"),p,h,aT)}if(aS=="{"){return aG(w,"}",null,aT)}if(aS=="quasi"){return ah(V,aT)}if(aS=="new"){return am(L(aU))}return am()}function aq(aR){if(aR.match(/[;\}\)\],]/)){return ah()}return ah(aw)}function at(aR){if(aR.match(/[;\}\)\],]/)){return ah()}return ah(aL)}function ai(aR,aS){if(aR==","){return am(aw)}return k(aR,aS,false)}function k(aR,aT,aV){var aS=aV==false?ai:k;var aU=aV==false?aw:aL;if(aR=="=>"){return am(z,aV?S:ad,A)}if(aR=="operator"){if(/\+\+|--/.test(aT)){return am(aS)}if(aT=="?"){return am(aw,u(":"),aU)}return am(aU)}if(aR=="quasi"){return ah(V,aS)}if(aR==";"){return}if(aR=="("){return aG(aL,")","call",aS)}if(aR=="."){return am(au,aS)}if(aR=="["){return am(aM("]"),aq,u("]"),h,aS)}if(g&&aT=="as"){H.marked="keyword";return am(j,aS)}}function V(aR,aS){if(aR!="quasi"){return ah()}if(aS.slice(aS.length-2)!="${"){return am(V)}return am(aw,s)}function s(aR){if(aR=="}"){H.marked="string-2";H.state.tokenize=aJ;return am(V)}}function ad(aR){aF(H.stream,H.state);return ah(aR=="{"?aO:aw)}function S(aR){aF(H.stream,H.state);return ah(aR=="{"?aO:aL)}function L(aR){return function(aS){if(aS=="."){return am(aR?q:ab)}else{return ah(aR?aL:aw)}}}function ab(aR,aS){if(aS=="target"){H.marked="keyword";return am(ai)}}function q(aR,aS){if(aS=="target"){H.marked="keyword";return am(k)}}function aP(aR){if(aR==":"){return am(h,aO)}return ah(ai,u(";"),h)}function au(aR){if(aR=="variable"){H.marked="property";return am()}}function w(aR,aS){if(aR=="async"){H.marked="property";return am(w)}else{if(aR=="variable"||H.style=="keyword"){H.marked="property";if(aS=="get"||aS=="set"){return am(N)}return am(P)}else{if(aR=="number"||aR=="string"){H.marked=aI?"property":(H.style+" property");return am(P)}else{if(aR=="jsonld-keyword"){return am(P)}else{if(aR=="modifier"){return am(w)}else{if(aR=="["){return am(aw,u("]"),P)}else{if(aR=="spread"){return am(aw,P)}else{if(aR==":"){return ah(P)}}}}}}}}}function N(aR){if(aR!="variable"){return ah(P)}H.marked="property";return am(R)}function P(aR){if(aR==":"){return am(aL)}if(aR=="("){return ah(R)}}function aC(aU,aR,aS){function aT(aW,aX){if(aS?aS.indexOf(aW)>-1:aW==","){var aV=H.state.lexical;if(aV.info=="call"){aV.pos=(aV.pos||0)+1}return am(function(aY,aZ){if(aY==aR||aZ==aR){return ah()}return ah(aU)},aT)}if(aW==aR||aX==aR){return am()}return am(u(aR))}return function(aV,aW){if(aV==aR||aW==aR){return am()}return ah(aU,aT)}}function aG(aU,aR,aT){for(var aS=3;aS<arguments.length;aS++){H.cc.push(arguments[aS])}return am(aM(aR,aT),aC(aU,aR),h)}function B(aR){if(aR=="}"){return am()}return ah(aO,B)}function Z(aR,aS){if(g){if(aR==":"){return am(j)}if(aS=="?"){return am(Z)}}}function j(aR){if(aR=="variable"){H.marked="type";return am(K)}if(aR=="string"||aR=="number"||aR=="atom"){return am(K)}if(aR=="{"){return am(aM("}"),aC(av,"}",",;"),h,K)}if(aR=="("){return am(aC(aj,")"),W)}}function W(aR){if(aR=="=>"){return am(j)}}function av(aR,aS){if(aR=="variable"||H.style=="keyword"){H.marked="property";return am(av)}else{if(aS=="?"){return am(av)}else{if(aR==":"){return am(j)}else{if(aR=="["){return am(aw,Z,u("]"),av)}}}}}function aj(aR){if(aR=="variable"){return am(aj)}else{if(aR==":"){return am(j)}}}function K(aR,aS){if(aS=="<"){return am(aM(">"),aC(j,">"),h,K)}if(aS=="|"||aR=="."){return am(j)}if(aR=="["){return am(u("]"),K)}if(aS=="extends"){return am(j)}}function d(){return ah(i,Z,ak,ae)}function i(aR,aS){if(aR=="modifier"){return am(i)}if(aR=="variable"){aE(aS);return am()}if(aR=="spread"){return am(i)}if(aR=="["){return aG(i,"]")}if(aR=="{"){return aG(aK,"}")}}function aK(aR,aS){if(aR=="variable"&&!H.stream.match(/^\s*:/,false)){aE(aS);return am(ak)}if(aR=="variable"){H.marked="property"}if(aR=="spread"){return am(i)}if(aR=="}"){return ah()}return am(u(":"),i,ak)}function ak(aR,aS){if(aS=="="){return am(aL)}}function ae(aR){if(aR==","){return am(d)}}function e(aR,aS){if(aR=="keyword b"&&aS=="else"){return am(aM("form","else"),aO,h)}}function x(aR){if(aR=="("){return am(aM(")"),G,u(")"),h)}}function G(aR){if(aR=="var"){return am(d,u(";"),F)}if(aR==";"){return am(F)}if(aR=="variable"){return am(y)}return ah(aw,u(";"),F)}function y(aR,aS){if(aS=="in"||aS=="of"){H.marked="keyword";return am(aw)}return am(ai,F)}function F(aR,aS){if(aR==";"){return am(E)}if(aS=="in"||aS=="of"){H.marked="keyword";return am(aw)}return ah(aw,u(";"),E)}function E(aR){if(aR!=")"){am(aw)}}function R(aR,aS){if(aS=="*"){H.marked="keyword";return am(R)}if(aR=="variable"){aE(aS);return am(R)}if(aR=="("){return am(z,aM(")"),aC(al,")"),h,Z,aO,A)}if(g&&aS=="<"){return am(aM(">"),aC(j,">"),h,R)}}function al(aR){if(aR=="spread"){return am(al)}return ah(i,Z,ak)}function M(aR,aS){if(aR=="variable"){return ac(aR,aS)}return T(aR,aS)}function ac(aR,aS){if(aR=="variable"){aE(aS);return am(T)}}function T(aR,aS){if(aS=="<"){return am(aM(">"),aC(j,">"),h,T)}if(aS=="extends"||aS=="implements"||(g&&aR==",")){return am(g?j:aw,T)}if(aR=="{"){return am(aM("}"),r,h)}}function r(aR,aS){if(aR=="variable"||H.style=="keyword"){if((aS=="async"||aS=="static"||aS=="get"||aS=="set"||(g&&(aS=="public"||aS=="private"||aS=="protected"||aS=="readonly"||aS=="abstract")))&&H.stream.match(/^\s+[\w$\xa1-\uffff]/,false)){H.marked="keyword";return am(r)}H.marked="property";return am(g?aQ:R,r)}if(aR=="["){return am(aw,u("]"),g?aQ:R,r)}if(aS=="*"){H.marked="keyword";return am(r)}if(aR==";"){return am(r)}if(aR=="}"){return am()}if(aS=="@"){return am(aw,r)}}function aQ(aR,aS){if(aS=="?"){return am(aQ)}if(aR==":"){return am(j,ak)}if(aS=="="){return am(aL)}return ah(R)}function aN(aR,aS){if(aS=="*"){H.marked="keyword";return am(ap,u(";"))}if(aS=="default"){H.marked="keyword";return am(aw,u(";"))}if(aR=="{"){return am(aC(ao,"}"),ap,u(";"))}return ah(aO)}function ao(aR,aS){if(aS=="as"){H.marked="keyword";return am(u("variable"))}if(aR=="variable"){return ah(aL,ao)}}function an(aR){if(aR=="string"){return am()}return ah(az,m,ap)}function az(aR,aS){if(aR=="{"){return aG(az,"}")}if(aR=="variable"){aE(aS)}if(aS=="*"){H.marked="keyword"}return am(l)}function m(aR){if(aR==","){return am(az,m)}}function l(aR,aS){if(aS=="as"){H.marked="keyword";return am(az)}}function ap(aR,aS){if(aS=="from"){H.marked="keyword";return am(aw)}}function p(aR){if(aR=="]"){return am()}return ah(aC(aL,"]"))}function ay(aS,aR){return aS.lastType=="operator"||aS.lastType==","||U.test(aR.charAt(0))||/[,.]/.test(aR.charAt(0))}return{startState:function(aS){var aR={tokenize:aa,lastType:"sof",cc:[],lexical:new O((aS||0)-n,0,"block",false),localVars:ar.localVars,context:ar.localVars&&{vars:ar.localVars},indented:aS||0};if(ar.globalVars&&typeof ar.globalVars=="object"){aR.globalVars=ar.globalVars}return aR},token:function(aT,aS){if(aT.sol()){if(!aS.lexical.hasOwnProperty("align")){aS.lexical.align=false}aS.indented=aT.indentation();aF(aT,aS)}if(aS.tokenize!=aH&&aT.eatSpace()){return null}var aR=aS.tokenize(aT,aS);if(Y=="comment"){return aR}aS.lastType=Y=="operator"&&(J=="++"||J=="--")?"incdec":Y;return f(aS,aR,Y,J,aT)},indent:function(aR,aU){if(aR.tokenize==aH){return a.Pass}if(aR.tokenize!=aa){return 0}var aY=aU&&aU.charAt(0),aZ=aR.lexical,aX;if(!/^\s*else\b/.test(aU)){for(var aT=aR.cc.length-1;aT>=0;--aT){var aV=aR.cc[aT];if(aV==h){aZ=aZ.prev}else{if(aV!=e){break}}}}while((aZ.type=="stat"||aZ.type=="form")&&(aY=="}"||((aX=aR.cc[aR.cc.length-1])&&(aX==ai||aX==k)&&!/^[,\.=+\-*:?[\(]/.test(aU)))){aZ=aZ.prev}if(D&&aZ.type==")"&&aZ.prev.type=="stat"){aZ=aZ.prev}var aW=aZ.type,aS=aY==aW;if(aW=="vardef"){return aZ.indented+(aR.lastType=="operator"||aR.lastType==","?aZ.info+1:0)}else{if(aW=="form"&&aY=="{"){return aZ.indented}else{if(aW=="form"){return aZ.indented+n}else{if(aW=="stat"){return aZ.indented+(ay(aR,aU)?D||n:0)}else{if(aZ.info=="switch"&&!aS&&ar.doubleIndentSwitch!=false){return aZ.indented+(/^(?:case|default)\b/.test(aU)?n:2*n)}else{if(aZ.align){return aZ.column+(aS?0:1)}else{return aZ.indented+(aS?0:n)}}}}}}},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:C?null:"/*",blockCommentEnd:C?null:"*/",lineComment:C?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:C?"json":"javascript",jsonldMode:aI,jsonMode:C,expressionAllowed:b,skipExpression:function(aR){var aS=aR.cc[aR.cc.length-1];if(aS==aw||aS==aL){aR.cc.pop()}}}});a.registerHelper("wordChars","javascript",/[\w$]/);a.defineMIME("text/javascript","javascript");a.defineMIME("text/ecmascript","javascript");a.defineMIME("application/javascript","javascript");a.defineMIME("application/x-javascript","javascript");a.defineMIME("application/ecmascript","javascript");a.defineMIME("application/json",{name:"javascript",json:true});a.defineMIME("application/x-json",{name:"javascript",json:true});a.defineMIME("application/ld+json",{name:"javascript",jsonld:true});a.defineMIME("text/typescript",{name:"javascript",typescript:true});a.defineMIME("application/typescript",{name:"javascript",typescript:true})});(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror"],a)}else{a(CodeMirror)}}})(function(r){r.defineMode("css",function(Z,J){var D=J.inline;if(!J.propertyKeywords){J=r.resolveMode("text/css")}var Q=Z.indentUnit,A=J.tokenHooks,y=J.documentTypes||{},Y=J.mediaTypes||{},L=J.mediaFeatures||{},P=J.mediaValueKeywords||{},I=J.propertyKeywords||{},B=J.nonStandardPropertyKeywords||{},E=J.fontProperties||{},X=J.counterDescriptors||{},O=J.colorKeywords||{},T=J.valueKeywords||{},M=J.allowNested,S=J.lineComment,V=J.supportsAtComponent===true;var C,N;function aa(ad,ae){C=ae;return ad}function ac(ag,af){var ae=ag.next();if(A[ae]){var ad=A[ae](ag,af);if(ad!==false){return ad}}if(ae=="@"){ag.eatWhile(/[\w\\\-]/);return aa("def",ag.current())}else{if(ae=="="||(ae=="~"||ae=="|")&&ag.eat("=")){return aa(null,"compare")}else{if(ae=='"'||ae=="'"){af.tokenize=K(ae);return af.tokenize(ag,af)}else{if(ae=="#"){ag.eatWhile(/[\w\\\-]/);return aa("atom","hash")}else{if(ae=="!"){ag.match(/^\s*\w*/);return aa("keyword","important")}else{if(/\d/.test(ae)||ae=="."&&ag.eat(/\d/)){ag.eatWhile(/[\w.%]/);return aa("number","unit")}else{if(ae==="-"){if(/[\d.]/.test(ag.peek())){ag.eatWhile(/[\w.%]/);return aa("number","unit")}else{if(ag.match(/^-[\w\\\-]+/)){ag.eatWhile(/[\w\\\-]/);if(ag.match(/^\s*:/,false)){return aa("variable-2","variable-definition")}return aa("variable-2","variable")}else{if(ag.match(/^\w+-/)){return aa("meta","meta")}}}}else{if(/[,+>*\/]/.test(ae)){return aa(null,"select-op")}else{if(ae=="."&&ag.match(/^-?[_a-z][_a-z0-9-]*/i)){return aa("qualifier","qualifier")}else{if(/[:;{}\[\]\(\)]/.test(ae)){return aa(null,ae)}else{if((ae=="u"&&ag.match(/rl(-prefix)?\(/))||(ae=="d"&&ag.match("omain("))||(ae=="r"&&ag.match("egexp("))){ag.backUp(1);af.tokenize=ab;return aa("property","word")}else{if(/[\w\\\-]/.test(ae)){ag.eatWhile(/[\w\\\-]/);return aa("property","word")}else{return aa(null,null)}}}}}}}}}}}}}function K(ad){return function(ah,af){var ag=false,ae;while((ae=ah.next())!=null){if(ae==ad&&!ag){if(ad==")"){ah.backUp(1)}break}ag=!ag&&ae=="\\"}if(ae==ad||!ag&&ad!=")"){af.tokenize=null}return aa("string","string")}}function ab(ae,ad){ae.next();if(!ae.match(/\s*[\"\')]/,false)){ad.tokenize=K(")")}else{ad.tokenize=null}return aa(null,"(")}function R(ae,ad,af){this.type=ae;this.indent=ad;this.prev=af}function G(af,ag,ae,ad){af.context=new R(ae,ag.indentation()+(ad===false?0:Q),af.context);return ae}function U(ad){if(ad.context.prev){ad.context=ad.context.prev}return ad.context.type}function z(ad,af,ae){return F[ae.context.type](ad,af,ae)}function W(ae,ag,af,ah){for(var ad=ah||1;ad>0;ad--){af.context=af.context.prev}return z(ae,ag,af)}function H(ae){var ad=ae.current().toLowerCase();if(T.hasOwnProperty(ad)){N="atom"}else{if(O.hasOwnProperty(ad)){N="keyword"}else{N="variable"}}}var F={};F.top=function(ad,af,ae){if(ad=="{"){return G(ae,af,"block")}else{if(ad=="}"&&ae.context.prev){return U(ae)}else{if(V&&/@component/.test(ad)){return G(ae,af,"atComponentBlock")}else{if(/^@(-moz-)?document$/.test(ad)){return G(ae,af,"documentTypes")}else{if(/^@(media|supports|(-moz-)?document|import)$/.test(ad)){return G(ae,af,"atBlock")}else{if(/^@(font-face|counter-style)/.test(ad)){ae.stateArg=ad;return"restricted_atBlock_before"}else{if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(ad)){return"keyframes"}else{if(ad&&ad.charAt(0)=="@"){return G(ae,af,"at")}else{if(ad=="hash"){N="builtin"}else{if(ad=="word"){N="tag"}else{if(ad=="variable-definition"){return"maybeprop"}else{if(ad=="interpolation"){return G(ae,af,"interpolation")}else{if(ad==":"){return"pseudo"}else{if(M&&ad=="("){return G(ae,af,"parens")}}}}}}}}}}}}}}return ae.context.type};F.block=function(ad,ag,ae){if(ad=="word"){var af=ag.current().toLowerCase();if(I.hasOwnProperty(af)){N="property";return"maybeprop"}else{if(B.hasOwnProperty(af)){N="string-2";return"maybeprop"}else{if(M){N=ag.match(/^\s*:(?:\s|$)/,false)?"property":"tag";return"block"}else{N+=" error";return"maybeprop"}}}}else{if(ad=="meta"){return"block"}else{if(!M&&(ad=="hash"||ad=="qualifier")){N="error";return"block"}else{return F.top(ad,ag,ae)}}}};F.maybeprop=function(ad,af,ae){if(ad==":"){return G(ae,af,"prop")}return z(ad,af,ae)};F.prop=function(ad,af,ae){if(ad==";"){return U(ae)}if(ad=="{"&&M){return G(ae,af,"propBlock")}if(ad=="}"||ad=="{"){return W(ad,af,ae)}if(ad=="("){return G(ae,af,"parens")}if(ad=="hash"&&!/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(af.current())){N+=" error"}else{if(ad=="word"){H(af)}else{if(ad=="interpolation"){return G(ae,af,"interpolation")}}}return"prop"};F.propBlock=function(ae,ad,af){if(ae=="}"){return U(af)}if(ae=="word"){N="property";return"maybeprop"}return af.context.type};F.parens=function(ad,af,ae){if(ad=="{"||ad=="}"){return W(ad,af,ae)}if(ad==")"){return U(ae)}if(ad=="("){return G(ae,af,"parens")}if(ad=="interpolation"){return G(ae,af,"interpolation")}if(ad=="word"){H(af)}return"parens"};F.pseudo=function(ad,af,ae){if(ad=="meta"){return"pseudo"}if(ad=="word"){N="variable-3";return ae.context.type}return z(ad,af,ae)};F.documentTypes=function(ad,af,ae){if(ad=="word"&&y.hasOwnProperty(af.current())){N="tag";return ae.context.type}else{return F.atBlock(ad,af,ae)}};F.atBlock=function(ad,ag,ae){if(ad=="("){return G(ae,ag,"atBlock_parens")}if(ad=="}"||ad==";"){return W(ad,ag,ae)}if(ad=="{"){return U(ae)&&G(ae,ag,M?"block":"top")}if(ad=="interpolation"){return G(ae,ag,"interpolation")}if(ad=="word"){var af=ag.current().toLowerCase();if(af=="only"||af=="not"||af=="and"||af=="or"){N="keyword"}else{if(Y.hasOwnProperty(af)){N="attribute"}else{if(L.hasOwnProperty(af)){N="property"}else{if(P.hasOwnProperty(af)){N="keyword"}else{if(I.hasOwnProperty(af)){N="property"}else{if(B.hasOwnProperty(af)){N="string-2"}else{if(T.hasOwnProperty(af)){N="atom"}else{if(O.hasOwnProperty(af)){N="keyword"}else{N="error"}}}}}}}}}return ae.context.type};F.atComponentBlock=function(ad,af,ae){if(ad=="}"){return W(ad,af,ae)}if(ad=="{"){return U(ae)&&G(ae,af,M?"block":"top",false)}if(ad=="word"){N="error"}return ae.context.type};F.atBlock_parens=function(ad,af,ae){if(ad==")"){return U(ae)}if(ad=="{"||ad=="}"){return W(ad,af,ae,2)}return F.atBlock(ad,af,ae)};F.restricted_atBlock_before=function(ad,af,ae){if(ad=="{"){return G(ae,af,"restricted_atBlock")}if(ad=="word"&&ae.stateArg=="@counter-style"){N="variable";return"restricted_atBlock_before"}return z(ad,af,ae)};F.restricted_atBlock=function(ad,af,ae){if(ad=="}"){ae.stateArg=null;return U(ae)}if(ad=="word"){if((ae.stateArg=="@font-face"&&!E.hasOwnProperty(af.current().toLowerCase()))||(ae.stateArg=="@counter-style"&&!X.hasOwnProperty(af.current().toLowerCase()))){N="error"}else{N="property"}return"maybeprop"}return"restricted_atBlock"};F.keyframes=function(ad,af,ae){if(ad=="word"){N="variable";return"keyframes"}if(ad=="{"){return G(ae,af,"top")}return z(ad,af,ae)};F.at=function(ad,af,ae){if(ad==";"){return U(ae)}if(ad=="{"||ad=="}"){return W(ad,af,ae)}if(ad=="word"){N="tag"}else{if(ad=="hash"){N="builtin"}}return"at"};F.interpolation=function(ad,af,ae){if(ad=="}"){return U(ae)}if(ad=="{"||ad==";"){return W(ad,af,ae)}if(ad=="word"){N="variable"}else{if(ad!="variable"&&ad!="("&&ad!=")"){N="error"}}return"interpolation"};return{startState:function(ad){return{tokenize:null,state:D?"block":"top",stateArg:null,context:new R(D?"block":"top",ad||0,null)}},token:function(af,ae){if(!ae.tokenize&&af.eatSpace()){return null}var ad=(ae.tokenize||ac)(af,ae);if(ad&&typeof ad=="object"){C=ad[1];ad=ad[0]}N=ad;ae.state=F[ae.state](C,af,ae);return N},indent:function(ah,af){var ae=ah.context,ag=af&&af.charAt(0);var ad=ae.indent;if(ae.type=="prop"&&(ag=="}"||ag==")")){ae=ae.prev}if(ae.prev){if(ag=="}"&&(ae.type=="block"||ae.type=="top"||ae.type=="interpolation"||ae.type=="restricted_atBlock")){ae=ae.prev;ad=ae.indent}else{if(ag==")"&&(ae.type=="parens"||ae.type=="atBlock_parens")||ag=="{"&&(ae.type=="at"||ae.type=="atBlock")){ad=Math.max(0,ae.indent-Q)}}}return ad},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:S,fold:"brace"}});function g(A){var z={};for(var y=0;y<A.length;++y){z[A[y].toLowerCase()]=true}return z}var k=["domain","regexp","url","url-prefix"],a=g(k);var b=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],v=g(b);var x=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=g(x);var l=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],p=g(l);var d=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],h=g(d);var n=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],e=g(n);var t=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],f=g(t);var q=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],u=g(q);var c=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],m=g(c);var j=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],s=g(j);var o=k.concat(b).concat(x).concat(l).concat(d).concat(n).concat(c).concat(j);r.registerHelper("hintWords","css",o);function w(B,A){var y=false,z;while((z=B.next())!=null){if(y&&z=="/"){A.tokenize=null;break}y=(z=="*")}return["comment","comment"]}r.defineMIME("text/css",{documentTypes:a,mediaTypes:v,mediaFeatures:i,mediaValueKeywords:p,propertyKeywords:h,nonStandardPropertyKeywords:e,fontProperties:f,counterDescriptors:u,colorKeywords:m,valueKeywords:s,tokenHooks:{"/":function(z,y){if(!z.eat("*")){return false}y.tokenize=w;return w(z,y)}},name:"css"});r.defineMIME("text/x-scss",{mediaTypes:v,mediaFeatures:i,mediaValueKeywords:p,propertyKeywords:h,nonStandardPropertyKeywords:e,colorKeywords:m,valueKeywords:s,fontProperties:f,allowNested:true,lineComment:"//",tokenHooks:{"/":function(z,y){if(z.eat("/")){z.skipToEnd();return["comment","comment"]}else{if(z.eat("*")){y.tokenize=w;return w(z,y)}else{return["operator","operator"]}}},":":function(y){if(y.match(/\s*\{/,false)){return[null,null]}return false},"$":function(y){y.match(/^[\w-]+/);if(y.match(/^\s*:/,false)){return["variable-2","variable-definition"]}return["variable-2","variable"]},"#":function(y){if(!y.eat("{")){return false}return[null,"interpolation"]}},name:"css",helperType:"scss"});r.defineMIME("text/x-less",{mediaTypes:v,mediaFeatures:i,mediaValueKeywords:p,propertyKeywords:h,nonStandardPropertyKeywords:e,colorKeywords:m,valueKeywords:s,fontProperties:f,allowNested:true,lineComment:"//",tokenHooks:{"/":function(z,y){if(z.eat("/")){z.skipToEnd();return["comment","comment"]}else{if(z.eat("*")){y.tokenize=w;return w(z,y)}else{return["operator","operator"]}}},"@":function(y){if(y.eat("{")){return[null,"interpolation"]}if(y.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,false)){return false}y.eatWhile(/[\w\\\-]/);if(y.match(/^\s*:/,false)){return["variable-2","variable-definition"]}return["variable-2","variable"]},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"});r.defineMIME("text/x-gss",{documentTypes:a,mediaTypes:v,mediaFeatures:i,propertyKeywords:h,nonStandardPropertyKeywords:e,fontProperties:f,counterDescriptors:u,colorKeywords:m,valueKeywords:s,supportsAtComponent:true,tokenHooks:{"/":function(z,y){if(!z.eat("*")){return false}y.tokenize=w;return w(z,y)}},name:"css",helperType:"gss"})});(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror"],a)}else{a(CodeMirror)}}})(function(r){function q(B,x,w,z,A,y){this.indented=B;this.column=x;this.type=w;this.info=z;this.align=A;this.prev=y}function g(z,x,y,A){var w=z.indented;if(z.context&&z.context.type=="statement"&&y!="statement"){w=z.context.indented}return z.context=new q(w,x,y,A,null,z.context)}function t(x){var w=x.context.type;if(w==")"||w=="]"||w=="}"){x.indented=x.context.indented}return x.context=x.context.prev}function a(x,w,y){if(w.prevToken=="variable"||w.prevToken=="type"){return true}if(/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(x.string.slice(0,y))){return true}if(w.typeAtEndOfLine&&x.column()==x.indentation()){return true}}function p(w){for(;;){if(!w||w.type=="top"){return true}if(w.type=="}"&&w.prev.info!="namespace"){return false}w=w.prev}}r.defineMode("clike",function(T,D){var P=T.indentUnit,L=D.statementIndentUnit||P,Q=D.dontAlignCalls,G=D.keywords||{},J=D.types||{},U=D.builtin||{},R=D.blockKeywords||{},O=D.defKeywords||{},y=D.atoms||{},x=D.hooks||{},K=D.multiLineStrings,I=D.indentStatements!==false,F=D.indentSwitch!==false,A=D.namespaceSeparator,C=D.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,z=D.numberStart||/[\d\.]/,w=D.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,H=D.isOperatorChar||/[+\-*&%=<>!?|\/]/,N=D.isIdentifierChar||/[\w\$_\xa1-\uffff]/;var S,B;function W(ab,Z){var Y=ab.next();if(x[Y]){var X=x[Y](ab,Z);if(X!==false){return X}}if(Y=='"'||Y=="'"){Z.tokenize=E(Y);return Z.tokenize(ab,Z)}if(C.test(Y)){S=Y;return null}if(z.test(Y)){ab.backUp(1);if(ab.match(w)){return"number"}ab.next()}if(Y=="/"){if(ab.eat("*")){Z.tokenize=M;return M(ab,Z)}if(ab.eat("/")){ab.skipToEnd();return"comment"}}if(H.test(Y)){while(!ab.match(/^\/[\/*]/,false)&&ab.eat(H)){}return"operator"}ab.eatWhile(N);if(A){while(ab.match(A)){ab.eatWhile(N)}}var aa=ab.current();if(h(G,aa)){if(h(R,aa)){S="newstatement"}if(h(O,aa)){B=true}return"keyword"}if(h(J,aa)){return"type"}if(h(U,aa)){if(h(R,aa)){S="newstatement"}return"builtin"}if(h(y,aa)){return"atom"}return"variable"}function E(X){return function(ac,aa){var ab=false,Z,Y=false;while((Z=ac.next())!=null){if(Z==X&&!ab){Y=true;break}ab=!ab&&Z=="\\"}if(Y||!(ab||K)){aa.tokenize=null}return"string"}}function M(aa,Z){var X=false,Y;while(Y=aa.next()){if(Y=="/"&&X){Z.tokenize=null;break}X=(Y=="*")}return"comment"}function V(Y,X){if(D.typeFirstDefinitions&&Y.eol()&&p(X.context)){X.typeAtEndOfLine=a(Y,X,Y.pos)}}return{startState:function(X){return{tokenize:null,context:new q((X||0)-P,0,"top",null,false),indented:0,startOfLine:true,prevToken:null}},token:function(ab,aa){var Y=aa.context;if(ab.sol()){if(Y.align==null){Y.align=false}aa.indented=ab.indentation();aa.startOfLine=true}if(ab.eatSpace()){V(ab,aa);return null}S=B=null;var Z=(aa.tokenize||W)(ab,aa);if(Z=="comment"||Z=="meta"){return Z}if(Y.align==null){Y.align=true}if(S==";"||S==":"||(S==","&&ab.match(/^\s*(?:\/\/.*)?$/,false))){while(aa.context.type=="statement"){t(aa)}}else{if(S=="{"){g(aa,ab.column(),"}")}else{if(S=="["){g(aa,ab.column(),"]")}else{if(S=="("){g(aa,ab.column(),")")}else{if(S=="}"){while(Y.type=="statement"){Y=t(aa)}if(Y.type=="}"){Y=t(aa)}while(Y.type=="statement"){Y=t(aa)}}else{if(S==Y.type){t(aa)}else{if(I&&(((Y.type=="}"||Y.type=="top")&&S!=";")||(Y.type=="statement"&&S=="newstatement"))){g(aa,ab.column(),"statement",ab.current())}}}}}}}if(Z=="variable"&&((aa.prevToken=="def"||(D.typeFirstDefinitions&&a(ab,aa,ab.start)&&p(aa.context)&&ab.match(/^\s*\(/,false))))){Z="def"}if(x.token){var X=x.token(ab,aa,Z);if(X!==undefined){Z=X}}if(Z=="def"&&D.styleDefs===false){Z="variable"}aa.startOfLine=false;aa.prevToken=B?"def":Z||S;V(ab,aa);return Z},indent:function(ad,Y){if(ad.tokenize!=W&&ad.tokenize!=null||ad.typeAtEndOfLine){return r.Pass}var X=ad.context,ab=Y&&Y.charAt(0);if(X.type=="statement"&&ab=="}"){X=X.prev}if(D.dontIndentStatements){while(X.type=="statement"&&D.dontIndentStatements.test(X.info)){X=X.prev}}if(x.indent){var ac=x.indent(ad,X,Y);if(typeof ac=="number"){return ac}}var Z=ab==X.type;var aa=X.prev&&X.prev.info=="switch";if(D.allmanIndentation&&/[{(]/.test(ab)){while(X.type!="top"&&X.type!="}"){X=X.prev}return X.indented}if(X.type=="statement"){return X.indented+(ab=="{"?0:L)}if(X.align&&(!Q||X.type!=")")){return X.column+(Z?0:1)}if(X.type==")"&&!Z){return X.indented+L}return X.indented+(Z?0:P)+(!Z&&aa&&!/^(?:case|default)\b/.test(Y)?P:0)},electricInput:F?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}});function o(z){var x={},y=z.split(" ");for(var w=0;w<y.length;++w){x[y[w]]=true}return x}function h(x,w){if(typeof x==="function"){return x(w)}else{return x.propertyIsEnumerable(w)}}var l="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile";var s="int long char short double float unsigned signed void size_t ptrdiff_t";function m(z,y){if(!y.startOfLine){return false}for(var x,w=null;x=z.peek();){if(x=="\\"&&z.match(/^.$/)){w=m;break}else{if(x=="/"&&z.match(/^\/[\/\*]/,false)){break}}z.next()}y.tokenize=w;return"meta"}function d(w,x){if(x.prevToken=="type"){return"type"}return false}function f(w){w.eatWhile(/[\w\.']/);return"number"}function n(y,x){y.backUp(1);if(y.match(/(R|u8R|uR|UR|LR)/)){var w=y.match(/"([^\s\\()]{0,16})\(/);if(!w){return false}x.cpp11RawStringDelim=w[1];x.tokenize=i;return i(y,x)}if(y.match(/(u8|u|U|L)/)){if(y.match(/["']/,false)){return"string"}return false}y.next();return false}function v(x){var w=/(\w+)::~?(\w+)$/.exec(x);return w&&w[1]==w[2]}function u(y,x){var w;while((w=y.next())!=null){if(w=='"'&&!y.eat('"')){x.tokenize=null;break}}return"string"}function i(z,x){var y=x.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&");var w=z.match(new RegExp(".*?\\)"+y+'"'));if(w){x.tokenize=null}else{z.skipToEnd()}return"string"}function k(w,A){if(typeof w=="string"){w=[w]}var z=[];function y(B){if(B){for(var C in B){if(B.hasOwnProperty(C)){z.push(C)}}}}y(A.keywords);y(A.types);y(A.builtin);y(A.atoms);if(z.length){A.helperType=w[0];r.registerHelper("hintWords",w[0],z)}for(var x=0;x<w.length;++x){r.defineMIME(w[x],A)}}k(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:o(l),types:o(s+" bool _Complex _Bool float_t double_t intptr_t intmax_t int8_t int16_t int32_t int64_t uintptr_t uintmax_t uint8_t uint16_t uint32_t uint64_t"),blockKeywords:o("case do else for if switch while struct"),defKeywords:o("struct"),typeFirstDefinitions:true,atoms:o("null true false"),hooks:{"#":m,"*":d},modeProps:{fold:["brace","include"]}});k(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:o(l+" asm dynamic_cast namespace reinterpret_cast try explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"),types:o(s+" bool wchar_t"),blockKeywords:o("catch class do else finally for if struct switch try while"),defKeywords:o("class namespace struct enum union"),typeFirstDefinitions:true,atoms:o("true false null"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,hooks:{"#":m,"*":d,u:n,U:n,L:n,R:n,"0":f,"1":f,"2":f,"3":f,"4":f,"5":f,"6":f,"7":f,"8":f,"9":f,token:function(y,x,w){if(w=="variable"&&y.peek()=="("&&(x.prevToken==";"||x.prevToken==null||x.prevToken=="}")&&v(y.current())){return"def"}}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}});k("text/x-java",{name:"clike",keywords:o("abstract assert break case catch class const continue default do else enum extends final finally float for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:o("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:o("catch class do else finally for if switch try while"),defKeywords:o("class interface package enum @interface"),typeFirstDefinitions:true,atoms:o("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(w){if(w.match("interface",false)){return false}w.eatWhile(/[\w\$_]/);return"meta"}},modeProps:{fold:["brace","import"]}});k("text/x-csharp",{name:"clike",keywords:o("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:o("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:o("catch class do else finally for foreach if struct switch try while"),defKeywords:o("class interface namespace struct var"),typeFirstDefinitions:true,atoms:o("true false null"),hooks:{"@":function(x,w){if(x.eat('"')){w.tokenize=u;return u(x,w)}x.eatWhile(/[\w\$_]/);return"meta"}}});function c(y,w){var x=false;while(!y.eol()){if(!x&&y.match('"""')){w.tokenize=null;break}x=y.next()=="\\"&&!x}return"string"}k("text/x-scala",{name:"clike",keywords:o("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"),types:o("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:true,blockKeywords:o("catch class enum do else finally for forSome if match switch try while"),defKeywords:o("class enum def object package trait type val var"),atoms:o("true false null"),indentStatements:false,indentSwitch:false,isOperatorChar:/[+\-*&%=<>!?|\/#:@]/,hooks:{"@":function(w){w.eatWhile(/[\w\$_]/);return"meta"},'"':function(x,w){if(!x.match('""')){return false}w.tokenize=c;return w.tokenize(x,w)},"'":function(w){w.eatWhile(/[\w\$_\xa1-\uffff]/);return"atom"},"=":function(y,x){var w=x.context;if(w.type=="}"&&w.align&&y.eat(">")){x.context=new q(w.indented,w.column,w.type,w.info,null,w.prev);return"operator"}else{return false}}},modeProps:{closeBrackets:{triples:'"'}}});function b(w){return function(B,z){var A=false,y,x=false;while(!B.eol()){if(!w&&!A&&B.match('"')){x=true;break}if(w&&B.match('"""')){x=true;break}y=B.next();if(!A&&y=="$"&&B.match("{")){B.skipTo("}")}A=!A&&y=="\\"&&!w}if(x||!w){z.tokenize=null}return"string"}}k("text/x-kotlin",{name:"clike",keywords:o("package as typealias class interface this super val var fun for is in This throw return break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend"),types:o("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),intendSwitch:false,indentStatements:false,multiLineStrings:true,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:o("catch class do else finally for if where try while enum"),defKeywords:o("class val var object package interface fun"),atoms:o("true false null this"),hooks:{'"':function(x,w){w.tokenize=b(x.match('""'));return w.tokenize(x,w)}},modeProps:{closeBrackets:{triples:'"'}}});k(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:o("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:o("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:o("for while do if else struct"),builtin:o("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:o("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:false,hooks:{"#":m},modeProps:{fold:["brace","include"]}});k("text/x-nesc",{name:"clike",keywords:o(l+"as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:o(s),blockKeywords:o("case do else for if switch while struct"),atoms:o("null true false"),hooks:{"#":m},modeProps:{fold:["brace","include"]}});k("text/x-objectivec",{name:"clike",keywords:o(l+"inline restrict _Bool _Complex _Imaginary BOOL Class bycopy byref id IMP in inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly"),types:o(s),atoms:o("YES NO NULL NILL ON OFF true false"),hooks:{"@":function(w){w.eatWhile(/[\w\$]/);return"keyword"},"#":m,indent:function(y,w,x){if(w.type=="statement"&&/^@\w/.test(x)){return w.indented}}},modeProps:{fold:"brace"}});k("text/x-squirrel",{name:"clike",keywords:o("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:o(s),blockKeywords:o("case catch class else for foreach if switch try while"),defKeywords:o("function local class"),typeFirstDefinitions:true,atoms:o("true false null"),hooks:{"#":m},modeProps:{fold:["brace","include"]}});var e=null;function j(w){return function(B,z){var A=false,y,x=false;while(!B.eol()){if(!A&&B.match('"')&&(w=="single"||B.match('""'))){x=true;break}if(!A&&B.match("``")){e=j(w);x=true;break}y=B.next();A=w=="single"&&!A&&y=="\\"}if(x){z.tokenize=null}return"string"}}k("text/x-ceylon",{name:"clike",keywords:o("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(w){var x=w.charAt(0);return(x===x.toUpperCase()&&x!==x.toLowerCase())},blockKeywords:o("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:o("class dynamic function interface module object package value"),builtin:o("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:true,typeFirstDefinitions:true,atoms:o("true false null larger smaller equal empty finished"),indentSwitch:false,styleDefs:false,hooks:{"@":function(w){w.eatWhile(/[\w\$_]/);return"meta"},'"':function(x,w){w.tokenize=j(x.match('""')?"triple":"single");return w.tokenize(x,w)},"`":function(x,w){if(!e||!x.match("`")){return false}w.tokenize=e;e=null;return w.tokenize(x,w)},"'":function(w){w.eatWhile(/[\w\$_\xa1-\uffff]/);return"atom"},token:function(w,y,x){if((x=="variable"||x=="type")&&y.prevToken=="."){return"variable-2"}}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})});(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"),require("../htmlmixed/htmlmixed"),require("../clike/clike"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror","../htmlmixed/htmlmixed","../clike/clike"],a)}else{a(CodeMirror)}}})(function(d){function f(m){var k={},l=m.split(" ");for(var j=0;j<l.length;++j){k[l[j]]=true}return k}function e(l,j,k){if(l.length==0){return b(j)}return function(p,o){var n=l[0];for(var m=0;m<n.length;m++){if(p.match(n[m][0])){o.tokenize=e(l.slice(1),j);return n[m][1]}}o.tokenize=b(j,k);return"string"}}function b(k,j){return function(m,l){return c(m,l,k,j)}}function c(n,l,k,j){if(j!==false&&n.match("${",false)||n.match("{$",false)){l.tokenize=null;return"string"}if(j!==false&&n.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/)){if(n.match("[",false)){l.tokenize=e([[["[",null]],[[/\d[\w\.]*/,"number"],[/\$[a-zA-Z_][a-zA-Z0-9_]*/,"variable-2"],[/[\w\$]+/,"variable"]],[["]",null]]],k,j)}if(n.match(/\-\>\w/,false)){l.tokenize=e([[["->",null]],[[/[\w]+/,"variable"]]],k,j)}return"variable-2"}var m=false;while(!n.eol()&&(m||j===false||(!n.match("{$",false)&&!n.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,false)))){if(!m&&n.match(k)){l.tokenize=null;l.tokStack.pop();l.tokStack.pop();break}m=n.next()=="\\"&&!m}return"string"}var h="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally";var i="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__";var a="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";d.registerHelper("hintWords","php",[h,i,a].join(" ").split(" "));d.registerHelper("wordChars","php",/[\w$]/);var g={name:"clike",helperType:"php",keywords:f(h),blockKeywords:f("catch do else elseif for foreach if switch try while finally"),defKeywords:f("class function interface namespace trait"),atoms:f(i),builtin:f(a),multiLineStrings:true,hooks:{"$":function(j){j.eatWhile(/[\w\$_]/);return"variable-2"},"<":function(n,l){var k;if(k=n.match(/<<\s*/)){var j=n.eat(/['"]/);n.eatWhile(/[\w\.]/);var m=n.current().slice(k[0].length+(j?2:1));if(j){n.eat(j)}if(m){(l.tokStack||(l.tokStack=[])).push(m,0);l.tokenize=b(m,j!="'");return"string"}}return false},"#":function(j){while(!j.eol()&&!j.match("?>",false)){j.next()}return"comment"},"/":function(j){if(j.eat("/")){while(!j.eol()&&!j.match("?>",false)){j.next()}return"comment"}return false},'"':function(j,k){(k.tokStack||(k.tokStack=[])).push('"',0);k.tokenize=b('"');return"string"},"{":function(j,k){if(k.tokStack&&k.tokStack.length){k.tokStack[k.tokStack.length-1]++}return false},"}":function(j,k){if(k.tokStack&&k.tokStack.length>0&&!--k.tokStack[k.tokStack.length-1]){k.tokenize=b(k.tokStack[k.tokStack.length-2])}return false}}};d.defineMode("php",function(l,m){var n=d.getMode(l,"text/html");var j=d.getMode(l,g);function k(u,s){var r=s.curMode==j;if(u.sol()&&s.pending&&s.pending!='"'&&s.pending!="'"){s.pending=null}if(!r){if(u.match(/^<\?\w*/)){s.curMode=j;if(!s.php){s.php=d.startState(j,n.indent(s.html,""))}s.curState=s.php;return"meta"}if(s.pending=='"'||s.pending=="'"){while(!u.eol()&&u.next()!=s.pending){}var q="string"}else{if(s.pending&&u.pos<s.pending.end){u.pos=s.pending.end;var q=s.pending.style}else{var q=n.token(u,s.curState)}}if(s.pending){s.pending=null}var t=u.current(),p=t.search(/<\?/),o;if(p!=-1){if(q=="string"&&(o=t.match(/[\'\"]$/))&&!/\?>/.test(t)){s.pending=o[0]}else{s.pending={end:u.pos,style:q}}u.backUp(t.length-p)}return q}else{if(r&&s.php.tokenize==null&&u.match("?>")){s.curMode=n;s.curState=s.html;if(!s.php.context.prev){s.php=null}return"meta"}else{return j.token(u,s.curState)}}}return{startState:function(){var o=d.startState(n);var p=m.startOpen?d.startState(j):null;return{html:o,php:p,curMode:m.startOpen?j:n,curState:m.startOpen?p:o,pending:null}},copyState:function(r){var p=r.html,q=d.copyState(n,p),t=r.php,o=t&&d.copyState(j,t),s;if(r.curMode==n){s=q}else{s=o}return{html:q,php:o,curMode:r.curMode,curState:s,pending:r.pending}},token:k,indent:function(p,o){if((p.curMode!=j&&/^\s*<\//.test(o))||(p.curMode==j&&/^\?>/.test(o))){return n.indent(p.html,o)}return p.curMode.indent(p.curState,o)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(o){return{state:o.curState,mode:o.curMode}}}},"htmlmixed","clike");d.defineMIME("application/x-httpd-php","php");d.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:true});d.defineMIME("text/x-php",g)});
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/codemirror/js/beautify.min.js:1:(function(){function n(n,t){for(var i=0;i<t.length;i+=1)if(t[i]===n)return!0;return!1}function f(n){return n.replace(/^\s+|\s+$/g,"")}function e(n){return n.replace(/^\s+/g,"")}function r(n,t){"use strict";var i=new o(n,t);return i.beautify()}function o(r,u){"use strict";function wt(n,t){var i=0;return n&&(i=n.indentation_level,!v.just_added_newline()&&n.line_indent_level>i&&(i=n.line_indent_level)),{mode:t,parent:n,last_text:n?n.last_text:"",last_word:n?n.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:i,line_indent_level:n?n.line_indent_level:i,start_line_index:v.get_line_number(),ternary_depth:0}}function bt(n){var i=n.newlines,r=a.keep_array_indentation&&nt(o.mode),t;if(r)for(t=0;t<i;t+=1)y(t>0);else if(a.max_preserve_newlines&&i>a.max_preserve_newlines&&(i=a.max_preserve_newlines),a.preserve_newlines&&n.newlines>1)for(y(),t=1;t<i;t+=1)y(!0);s=n;yt[s.type]()}function gt(n){n=n.replace(/\x0d/g,"");for(var i=[],t=n.indexOf("\n");t!==-1;)i.push(n.substring(0,t)),n=n.substring(t+1),t=n.indexOf("\n");return n.length&&i.push(n),i}function d(n){if(n=n===undefined?!1:n,!v.just_added_newline())if(a.preserve_newlines&&s.wanted_newline||n)y(!1,!0);else if(a.wrap_line_length){var t=v.current_line.get_character_count()+s.text.length+(v.space_before_token?1:0);t>=a.wrap_line_length&&y(!1,!0)}}function y(n,i){if(!i&&o.last_text!==";"&&o.last_text!==","&&o.last_text!=="="&&l!=="TK_OPERATOR")while(o.mode===t.Statement&&!o.if_block&&!o.do_block)g();v.add_new_line(n)&&(o.multiline_frame=!0)}function kt(){v.just_added_newline()&&(a.keep_array_indentation&&nt(o.mode)&&s.wanted_newline?(v.current_line.push(s.whitespace_before),v.space_before_token=!1):v.set_indent(o.indentation_level)&&(o.line_indent_level=o.indentation_level))}function p(n){if(v.raw){v.add_raw_token(s);return}a.comma_first&&l==="TK_COMMA"&&v.just_added_newline()&&v.previous_line.last()===","&&(v.previous_line.pop(),kt(),v.add_token(","),v.space_before_token=!0);n=n||s.text;kt();v.add_token(n)}function ft(){o.indentation_level+=1}function ni(){o.indentation_level>0&&(!o.parent||o.indentation_level>o.parent.indentation_level)&&(o.indentation_level-=1)}function it(n){o?(st.push(o),b=o):b=wt(null,n);o=wt(b,n)}function nt(n){return n===t.ArrayLiteral}function et(i){return n(i,[t.Expression,t.ForInitializer,t.Conditional])}function g(){st.length>0&&(b=o,o=st.pop(),b.mode===t.Statement&&v.remove_redundant_indentation(b))}function ht(){return o.parent.mode===t.ObjectLiteral&&o.mode===t.Statement&&(o.last_text===":"&&o.ternary_depth===0||l==="TK_RESERVED"&&n(o.last_text,["get","set"]))}function rt(){return l==="TK_RESERVED"&&n(o.last_text,["var","let","const"])&&s.type==="TK_WORD"||l==="TK_RESERVED"&&o.last_text==="do"||l==="TK_RESERVED"&&o.last_text==="return"&&!s.wanted_newline||l==="TK_RESERVED"&&o.last_text==="else"&&!(s.type==="TK_RESERVED"&&s.text==="if")||l==="TK_END_EXPR"&&(b.mode===t.ForInitializer||b.mode===t.Conditional)||l==="TK_WORD"&&o.mode===t.BlockStatement&&!o.in_case&&!(s.text==="--"||s.text==="++")&&k!=="function"&&s.type!=="TK_WORD"&&s.type!=="TK_RESERVED"||o.mode===t.ObjectLiteral&&(o.last_text===":"&&o.ternary_depth===0||l==="TK_RESERVED"&&n(o.last_text,["get","set"]))?(it(t.Statement),ft(),l==="TK_RESERVED"&&n(o.last_text,["var","let","const"])&&s.type==="TK_WORD"&&(o.declaration_statement=!0),ht()||d(s.type==="TK_RESERVED"&&n(s.text,["do","for","if","while"])),!0):!1}function ti(n,t){for(var r,i=0;i<n.length;i++)if(r=f(n[i]),r.charAt(0)!==t)return!1;return!0}function ii(n,t){for(var i=0,u=n.length,r;i<u;i++)if(r=n[i],r&&r.indexOf(t)!==0)return!1;return!0}function ct(t){return n(t,["case","return","do","if","throw","else"])}function lt(n){var t=vt+(n||0);return t<0||t>=at.length?null:at[t]}function ri(){rt();var i=t.Expression;if(s.text==="["){if(l==="TK_WORD"||o.last_text===")"){l==="TK_RESERVED"&&n(o.last_text,tt.line_starters)&&(v.space_before_token=!0);it(i);p();ft();a.space_in_paren&&(v.space_before_token=!0);return}i=t.ArrayLiteral;nt(o.mode)&&(o.last_text==="["||o.last_text===","&&(k==="]"||k==="}"))&&(a.keep_array_indentation||y())}else l==="TK_RESERVED"&&o.last_text==="for"?i=t.ForInitializer:l==="TK_RESERVED"&&n(o.last_text,["if","while"])&&(i=t.Conditional);o.last_text===";"||l==="TK_START_BLOCK"?y():l==="TK_END_EXPR"||l==="TK_START_EXPR"||l==="TK_END_BLOCK"||o.last_text==="."?d(s.wanted_newline):l==="TK_RESERVED"&&s.text==="("||l==="TK_WORD"||l==="TK_OPERATOR"?l==="TK_RESERVED"&&(o.last_word==="function"||o.last_word==="typeof")||o.last_text==="*"&&k==="function"?a.space_after_anon_function&&(v.space_before_token=!0):l==="TK_RESERVED"&&(n(o.last_text,tt.line_starters)||o.last_text==="catch")&&a.space_before_conditional&&(v.space_before_token=!0):v.space_before_token=!0;s.text==="("&&l==="TK_RESERVED"&&o.last_word==="await"&&(v.space_before_token=!0);s.text==="("&&(l==="TK_EQUALS"||l==="TK_OPERATOR")&&(ht()||d());it(i);p();a.space_in_paren&&(v.space_before_token=!0);ft()}function ui(){while(o.mode===t.Statement)g();o.multiline_frame&&d(s.text==="]"&&nt(o.mode)&&!a.keep_array_indentation);a.space_in_paren&&(l!=="TK_START_EXPR"||a.space_in_empty_paren?v.space_before_token=!0:(v.trim(),v.space_before_token=!1));s.text==="]"&&a.keep_array_indentation?(p(),g()):(g(),p());v.remove_redundant_indentation(b);o.do_while&&b.mode===t.Conditional&&(b.mode=t.Expression,o.do_block=!1,o.do_while=!1)}function fi(){var i=lt(1),r=lt(2),u,f;r&&(r.text===":"&&n(i.type,["TK_STRING","TK_WORD","TK_RESERVED"])||n(i.text,["get","set"])&&n(r.type,["TK_WORD","TK_RESERVED"]))?n(k,["class","interface"])?it(t.BlockStatement):it(t.ObjectLiteral):it(t.BlockStatement);u=!i.comments_before.length&&i.text==="}";f=u&&o.last_word==="function"&&l==="TK_END_EXPR";a.brace_style==="expand"||a.brace_style==="none"&&s.wanted_newline?l!=="TK_OPERATOR"&&(f||l==="TK_EQUALS"||l==="TK_RESERVED"&&ct(o.last_text)&&o.last_text!=="else")?v.space_before_token=!0:y(!1,!0):l!=="TK_OPERATOR"&&l!=="TK_START_EXPR"?l==="TK_START_BLOCK"?y():v.space_before_token=!0:nt(b.mode)&&o.last_text===","&&(k==="}"?v.space_before_token=!0:y());p();ft()}function ei(){while(o.mode===t.Statement)g();var n=l==="TK_START_BLOCK";a.brace_style==="expand"?n||y():n||(nt(o.mode)&&a.keep_array_indentation?(a.keep_array_indentation=!1,y(),a.keep_array_indentation=!0):y());g();p()}function dt(){var i,r;if(s.type==="TK_RESERVED"&&o.mode!==t.ObjectLiteral&&n(s.text,["set","get"])&&(s.type="TK_WORD"),s.type==="TK_RESERVED"&&o.mode===t.ObjectLiteral&&(i=lt(1),i.text==":"&&(s.type="TK_WORD")),rt()||!s.wanted_newline||et(o.mode)||l==="TK_OPERATOR"&&o.last_text!=="--"&&o.last_text!=="++"||l==="TK_EQUALS"||!a.preserve_newlines&&l==="TK_RESERVED"&&n(o.last_text,["var","let","const","set","get"])||y(),o.do_block&&!o.do_while){if(s.type==="TK_RESERVED"&&s.text==="while"){v.space_before_token=!0;p();v.space_before_token=!0;o.do_while=!0;return}y();o.do_block=!1}if(o.if_block)if(o.else_block||s.type!=="TK_RESERVED"||s.text!=="else"){while(o.mode===t.Statement)g();o.if_block=!1;o.else_block=!1}else o.else_block=!0;if(s.type==="TK_RESERVED"&&(s.text==="case"||s.text==="default"&&o.in_case_statement)){y();(o.case_body||a.jslint_happy)&&(ni(),o.case_body=!1);p();o.in_case=!0;o.in_case_statement=!0;return}if(s.type==="TK_RESERVED"&&s.text==="function"&&((n(o.last_text,["}",";"])||v.just_added_newline()&&!n(o.last_text,["[","{",":","=",","]))&&(v.just_added_blankline()||s.comments_before.length||(y(),y(!0))),l==="TK_RESERVED"||l==="TK_WORD"?l==="TK_RESERVED"&&n(o.last_text,["get","set","new","return","export","async"])?v.space_before_token=!0:l==="TK_RESERVED"&&o.last_text==="default"&&k==="export"?v.space_before_token=!0:y():l==="TK_OPERATOR"||o.last_text==="="?v.space_before_token=!0:!o.multiline_frame&&(et(o.mode)||nt(o.mode))||y()),(l==="TK_COMMA"||l==="TK_START_EXPR"||l==="TK_EQUALS"||l==="TK_OPERATOR")&&(ht()||d()),s.type==="TK_RESERVED"&&n(s.text,["function","get","set"])){p();o.last_word=s.text;return}w="NONE";l==="TK_END_BLOCK"?s.type==="TK_RESERVED"&&n(s.text,["else","catch","finally"])?a.brace_style==="expand"||a.brace_style==="end-expand"||a.brace_style==="none"&&s.wanted_newline?w="NEWLINE":(w="SPACE",v.space_before_token=!0):w="NEWLINE":l==="TK_SEMICOLON"&&o.mode===t.BlockStatement?w="NEWLINE":l==="TK_SEMICOLON"&&et(o.mode)?w="SPACE":l==="TK_STRING"?w="NEWLINE":l==="TK_RESERVED"||l==="TK_WORD"||o.last_text==="*"&&k==="function"?w="SPACE":l==="TK_START_BLOCK"?w="NEWLINE":l==="TK_END_EXPR"&&(v.space_before_token=!0,w="NEWLINE");s.type==="TK_RESERVED"&&n(s.text,tt.line_starters)&&o.last_text!==")"&&(w=o.last_text==="else"||o.last_text==="export"?"SPACE":"NEWLINE");s.type==="TK_RESERVED"&&n(s.text,["else","catch","finally"])?l!=="TK_END_BLOCK"||a.brace_style==="expand"||a.brace_style==="end-expand"||a.brace_style==="none"&&s.wanted_newline?y():(v.trim(!0),r=v.current_line,r.last()!=="}"&&y(),v.space_before_token=!0):w==="NEWLINE"?l==="TK_RESERVED"&&ct(o.last_text)?v.space_before_token=!0:l!=="TK_END_EXPR"?l==="TK_START_EXPR"&&s.type==="TK_RESERVED"&&n(s.text,["var","let","const"])||o.last_text===":"||(s.type==="TK_RESERVED"&&s.text==="if"&&o.last_text==="else"?v.space_before_token=!0:y()):s.type==="TK_RESERVED"&&n(s.text,tt.line_starters)&&o.last_text!==")"&&y():o.multiline_frame&&nt(o.mode)&&o.last_text===","&&k==="}"?y():w==="SPACE"&&(v.space_before_token=!0);p();o.last_word=s.text;s.type==="TK_RESERVED"&&s.text==="do"&&(o.do_block=!0);s.type==="TK_RESERVED"&&s.text==="if"&&(o.if_block=!0)}function oi(){for(rt()&&(v.space_before_token=!1);o.mode===t.Statement&&!o.if_block&&!o.do_block;)g();p()}function si(){rt()?v.space_before_token=!0:l==="TK_RESERVED"||l==="TK_WORD"?v.space_before_token=!0:l==="TK_COMMA"||l==="TK_START_EXPR"||l==="TK_EQUALS"||l==="TK_OPERATOR"?ht()||d():y();p()}function hi(){rt();o.declaration_statement&&(o.declaration_assignment=!0);v.space_before_token=!0;p();v.space_before_token=!0}function ci(){if(o.declaration_statement){et(o.parent.mode)&&(o.declaration_assignment=!1);p();o.declaration_assignment?(o.declaration_assignment=!1,y(!1,!0)):(v.space_before_token=!0,a.comma_first&&d());return}p();o.mode===t.ObjectLiteral||o.mode===t.Statement&&o.parent.mode===t.ObjectLiteral?(o.mode===t.Statement&&g(),y()):(v.space_before_token=!0,a.comma_first&&d())}function li(){if(rt(),l==="TK_RESERVED"&&ct(o.last_text)){v.space_before_token=!0;p();return}if(s.text==="*"&&l==="TK_DOT"){p();return}if(s.text===":"&&o.in_case){o.case_body=!0;ft();p();y();o.in_case=!1;return}if(s.text==="::"){p();return}l==="TK_OPERATOR"&&d();var i=!0,r=!0;n(s.text,["--","++","!","~"])||n(s.text,["-","+"])&&(n(l,["TK_START_BLOCK","TK_START_EXPR","TK_EQUALS","TK_OPERATOR"])||n(o.last_text,tt.line_starters)||o.last_text===",")?(i=!1,r=!1,s.wanted_newline&&(s.text==="--"||s.text==="++")&&y(!1,!0),o.last_text===";"&&et(o.mode)&&(i=!0),l==="TK_RESERVED"?i=!0:l==="TK_END_EXPR"?i=!(o.last_text==="]"&&(s.text==="--"||s.text==="++")):l==="TK_OPERATOR"&&(i=n(s.text,["--","-","++","+"])&&n(o.last_text,["--","-","++","+"]),n(s.text,["+","-"])&&n(o.last_text,["--","++"])&&(r=!0)),(o.mode===t.BlockStatement||o.mode===t.Statement)&&(o.last_text==="{"||o.last_text===";")&&y()):s.text===":"?o.ternary_depth===0?i=!1:o.ternary_depth-=1:s.text==="?"?o.ternary_depth+=1:s.text==="*"&&l==="TK_RESERVED"&&o.last_text==="function"&&(i=!1,r=!1);v.space_before_token=v.space_before_token||i;p();v.space_before_token=r}function ai(){if(v.raw){v.add_raw_token(s);s.directives&&s.directives.preserve==="end"&&(a.test_output_raw||(v.raw=!1));return}if(s.directives){y(!1,!0);p();s.directives.preserve==="start"&&(v.raw=!0);y(!1,!0);return}if(!i.newline.test(s.text)&&!s.wanted_newline){v.space_before_token=!0;p();v.space_before_token=!0;return}var n=gt(s.text),t,r=!1,u=!1,f=s.whitespace_before,o=f.length;for(y(!1,!0),n.length>1&&(ti(n.slice(1),"*")?r=!0:ii(n.slice(1),f)&&(u=!0)),p(n[0]),t=1;t<n.length;t++)y(!1,!0),r?p(" "+e(n[t])):u&&n[t].length>o?p(n[t].substring(o)):v.add_token(n[t]);y(!1,!0)}function vi(){s.wanted_newline?y(!1,!0):v.trim(!0);v.space_before_token=!0;p();y(!1,!0)}function yi(){rt();l==="TK_RESERVED"&&ct(o.last_text)?v.space_before_token=!0:d(o.last_text===")"&&a.break_chained_methods);p()}function pi(){p();s.text[s.text.length-1]==="\n"&&y()}function wi(){while(o.mode===t.Statement)g()}var v,at=[],vt,tt,s,l,k,ot,o,b,st,w,yt,a,pt="",ut;for(yt={TK_START_EXPR:ri,TK_END_EXPR:ui,TK_START_BLOCK:fi,TK_END_BLOCK:ei,TK_WORD:dt,TK_RESERVED:dt,TK_SEMICOLON:oi,TK_STRING:si,TK_EQUALS:hi,TK_OPERATOR:li,TK_COMMA:ci,TK_BLOCK_COMMENT:ai,TK_COMMENT:vi,TK_DOT:yi,TK_UNKNOWN:pi,TK_EOF:wi},u=u?u:{},a={},u.braces_on_own_line!==undefined&&(a.brace_style=u.braces_on_own_line?"expand":"collapse"),a.brace_style=u.brace_style?u.brace_style:a.brace_style?a.brace_style:"collapse",a.brace_style==="expand-strict"&&(a.brace_style="expand"),a.indent_size=u.indent_size?parseInt(u.indent_size,10):4,a.indent_char=u.indent_char?u.indent_char:" ",a.eol=u.eol?u.eol:"\n",a.preserve_newlines=u.preserve_newlines===undefined?!0:u.preserve_newlines,a.break_chained_methods=u.break_chained_methods===undefined?!1:u.break_chained_methods,a.max_preserve_newlines=u.max_preserve_newlines===undefined?0:parseInt(u.max_preserve_newlines,10),a.space_in_paren=u.space_in_paren===undefined?!1:u.space_in_paren,a.space_in_empty_paren=u.space_in_empty_paren===undefined?!1:u.space_in_empty_paren,a.jslint_happy=u.jslint_happy===undefined?!1:u.jslint_happy,a.space_after_anon_function=u.space_after_anon_function===undefined?!1:u.space_after_anon_function,a.keep_array_indentation=u.keep_array_indentation===undefined?!1:u.keep_array_indentation,a.space_before_conditional=u.space_before_conditional===undefined?!0:u.space_before_conditional,a.unescape_strings=u.unescape_strings===undefined?!1:u.unescape_strings,a.wrap_line_length=u.wrap_line_length===undefined?0:parseInt(u.wrap_line_length,10),a.e4x=u.e4x===undefined?!1:u.e4x,a.end_with_newline=u.end_with_newline===undefined?!1:u.end_with_newline,a.comma_first=u.comma_first===undefined?!1:u.comma_first,a.test_output_raw=u.test_output_raw===undefined?!1:u.test_output_raw,a.jslint_happy&&(a.space_after_anon_function=!0),u.indent_with_tabs&&(a.indent_char="\t",a.indent_size=1),a.eol=a.eol.replace(/\\r/,"\r").replace(/\\n/,"\n"),ot="";a.indent_size>0;)ot+=a.indent_char,a.indent_size-=1;if(ut=0,r&&r.length){while(r.charAt(ut)===" "||r.charAt(ut)==="\t")pt+=r.charAt(ut),ut+=1;r=r.substring(ut)}l="TK_START_BLOCK";k="";v=new h(ot,pt);v.raw=a.test_output_raw;st=[];it(t.BlockStatement);this.beautify=function(){var n,t,i;for(tt=new c(r,a,ot),at=tt.tokenize(),vt=0;n=lt();){for(i=0;i<n.comments_before.length;i++)bt(n.comments_before[i]);bt(n);k=o.last_text;l=n.type;o.last_text=n.text;vt+=1}return t=v.get_code(),a.end_with_newline&&(t+="\n"),a.eol!="\n"&&(t=t.replace(/[\n]/g,a.eol)),t}}function s(n){var i=0,r=-1,t=[],u=!0;this.set_indent=function(t){i=n.baseIndentLength+t*n.indent_length;r=t};this.get_character_count=function(){return i};this.is_empty=function(){return u};this.last=function(){return this._empty?null:t[t.length-1]};this.push=function(n){t.push(n);i+=n.length;u=!1};this.pop=function(){var n=null;return u||(n=t.pop(),i-=n.length,u=t.length===0),n};this.remove_indent=function(){r>0&&(r-=1,i-=n.indent_length)};this.trim=function(){while(this.last()===" "){var n=t.pop();i-=1}u=t.length===0};this.toString=function(){var i="";return this._empty||(r>=0&&(i=n.indent_cache[r]),i+=t.join("")),i}}function h(n,i){i=i||"";this.indent_cache=[i];this.baseIndentLength=i.length;this.indent_length=n.length;this.raw=!1;var r=[];this.baseIndentString=i;this.indent_string=n;this.previous_line=null;this.current_line=null;this.space_before_token=!1;this.add_outputline=function(){this.previous_line=this.current_line;this.current_line=new s(this);r.push(this.current_line)};this.add_outputline();this.get_line_number=function(){return r.length};this.add_new_line=function(n){return this.get_line_number()===1&&this.just_added_newline()?!1:n||!this.just_added_newline()?(this.raw||this.add_outputline(),!0):!1};this.get_code=function(){return r.join("\n").replace(/[\r\n\t ]+$/,"")};this.set_indent=function(n){if(r.length>1){while(n>=this.indent_cache.length)this.indent_cache.push(this.indent_cache[this.indent_cache.length-1]+this.indent_string);return this.current_line.set_indent(n),!0}return this.current_line.set_indent(0),!1};this.add_raw_token=function(n){for(var t=0;t<n.newlines;t++)this.add_outputline();this.current_line.push(n.whitespace_before);this.current_line.push(n.text);this.space_before_token=!1};this.add_token=function(n){this.add_space_before_token();this.current_line.push(n)};this.add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&this.current_line.push(" ");this.space_before_token=!1};this.remove_redundant_indentation=function(n){if(!n.multiline_frame&&n.mode!==t.ForInitializer&&n.mode!==t.Conditional)for(var i=n.start_line_index,u=r.length;i<u;)r[i].remove_indent(),i++};this.trim=function(t){for(t=t===undefined?!1:t,this.current_line.trim(n,i);t&&r.length>1&&this.current_line.is_empty();)r.pop(),this.current_line=r[r.length-1],this.current_line.trim();this.previous_line=r.length>1?r[r.length-2]:null};this.just_added_newline=function(){return this.current_line.is_empty()};this.just_added_blankline=function(){if(this.just_added_newline()){if(r.length===1)return!0;var n=r[r.length-2];return n.is_empty()}return!1}}function c(t,r){function rt(n){var i,t;if(!n.match(it))return null;for(i={},v.lastIndex=0,t=v.exec(n);t;)i[t[1]]=t[2],t=v.exec(n);return i}function d(){var d,at=[],it,v,et,yt,ot,pt,ii,wt,kt,lt,dt;if(h=0,c="",e>=o)return["","TK_EOF"];for(it=s.length?s[s.length-1]:new u("TK_START_BLOCK","{"),v=t.charAt(e),e+=1;n(v,g);){if(i.newline.test(v)?v==="\n"&&t.charAt(e-2)==="\r"||(h+=1,at=[]):at.push(v),e>=o)return["","TK_EOF"];v=t.charAt(e);e+=1}if(at.length&&(c=at.join("")),a.test(v)){var vt=!0,bt=!0,gt=a;for(v==="0"&&e<o&&/[Xx]/.test(t.charAt(e))?(vt=!1,bt=!1,v+=t.charAt(e),e+=1,gt=nt):(v="",e-=1);e<o&&gt.test(t.charAt(e));)v+=t.charAt(e),e+=1,vt&&e<o&&t.charAt(e)==="."&&(v+=t.charAt(e),e+=1,vt=!1),bt&&e<o&&/[Ee]/.test(t.charAt(e))&&(v+=t.charAt(e),e+=1,e<o&&/[+-]/.test(t.charAt(e))&&(v+=t.charAt(e),e+=1),bt=!1,vt=!1);return[v,"TK_WORD"]}if(i.isIdentifierStart(t.charCodeAt(e-1))){if(e<o)while(i.isIdentifierChar(t.charCodeAt(e)))if(v+=t.charAt(e),e+=1,e===o)break;return!(it.type==="TK_DOT"||it.type==="TK_RESERVED"&&n(it.text,["set","get"]))&&n(v,tt)?v==="in"?[v,"TK_OPERATOR"]:[v,"TK_RESERVED"]:[v,"TK_WORD"]}if(v==="("||v==="[")return[v,"TK_START_EXPR"];if(v===")"||v==="]")return[v,"TK_END_EXPR"];if(v==="{")return[v,"TK_START_BLOCK"];if(v==="}")return[v,"TK_END_BLOCK"];if(v===";")return[v,"TK_SEMICOLON"];if(v==="/"){if(et="",t.charAt(e)==="*")return e+=1,p.lastIndex=e,ot=p.exec(t),et="/*"+ot[0],e+=ot[0].length,yt=rt(et),yt&&yt.ignore==="start"&&(b.lastIndex=e,ot=b.exec(t),et+=ot[0],e+=ot[0].length),et=et.replace(i.lineBreak,"\n"),[et,"TK_BLOCK_COMMENT",yt];if(t.charAt(e)==="/")return e+=1,w.lastIndex=e,ot=w.exec(t),et="//"+ot[0],e+=ot[0].length,[et,"TK_COMMENT"]}if(v==="`"||v==="'"||v==='"'||(v==="/"||r.e4x&&v==="<"&&t.slice(e-1).match(/^<([-a-zA-Z:0-9_.]+|{[^{}]*}|!\[CDATA\[[\s\S]*?\]\])(\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{.*?}))*\s*(\/?)\s*>/))&&(it.type==="TK_RESERVED"&&n(it.text,["return","case","throw","else","do","typeof","yield"])||it.type==="TK_END_EXPR"&&it.text===")"&&it.parent&&it.parent.type==="TK_RESERVED"&&n(it.parent.text,["if","while","for"])||n(it.type,["TK_COMMENT","TK_START_EXPR","TK_START_BLOCK","TK_END_BLOCK","TK_OPERATOR","TK_EQUALS","TK_EOF","TK_SEMICOLON","TK_COMMA"]))){var st=v,ht=!1,ni=!1;if(d=v,st==="/")for(pt=!1;e<o&&(ht||pt||t.charAt(e)!==st)&&!i.newline.test(t.charAt(e));)d+=t.charAt(e),ht?ht=!1:(ht=t.charAt(e)==="\\",t.charAt(e)==="["?pt=!0:t.charAt(e)==="]"&&(pt=!1)),e+=1;else if(r.e4x&&st==="<"){var ti=/<(\/?)([-a-zA-Z:0-9_.]+|{[^{}]*}|!\[CDATA\[[\s\S]*?\]\])(\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{.*?}))*\s*(\/?)\s*>/g,ct=t.slice(e-1),ft=ti.exec(ct);if(ft&&ft.index===0){for(ii=ft[2],wt=0;ft;){var ui=!!ft[1],ri=ft[2],fi=!!ft[ft.length-1]||ri.slice(0,8)==="![CDATA[";if(ri!==ii||fi||(ui?--wt:++wt),wt<=0)break;ft=ti.exec(ct)}return kt=ft?ft.index+ft[0].length:ct.length,ct=ct.slice(0,kt),e+=kt-1,ct=ct.replace(i.lineBreak,"\n"),[ct,"TK_STRING"]}}else while(e<o&&(ht||t.charAt(e)!==st&&(st==="`"||!i.newline.test(t.charAt(e)))))(ht||st==="`")&&i.newline.test(t.charAt(e))?(t.charAt(e)==="\r"&&t.charAt(e+1)==="\n"&&(e+=1),d+="\n"):d+=t.charAt(e),ht?((t.charAt(e)==="x"||t.charAt(e)==="u")&&(ni=!0),ht=!1):ht=t.charAt(e)==="\\",e+=1;if(ni&&r.unescape_strings&&(d=ut(d)),e<o&&t.charAt(e)===st&&(d+=st,e+=1,st==="/"))while(e<o&&i.isIdentifierStart(t.charCodeAt(e)))d+=t.charAt(e),e+=1;return[d,"TK_STRING"]}if(v==="#"){if(s.length===0&&t.charAt(e)==="!"){for(d=v;e<o&&v!=="\n";)v=t.charAt(e),d+=v,e+=1;return[f(d)+"\n","TK_UNKNOWN"]}if(lt="#",e<o&&a.test(t.charAt(e))){do v=t.charAt(e),lt+=v,e+=1;while(e<o&&v!=="#"&&v!=="=");return v==="#"||(t.charAt(e)==="["&&t.charAt(e+1)==="]"?(lt+="[]",e+=2):t.charAt(e)==="{"&&t.charAt(e+1)==="}"&&(lt+="{}",e+=2)),[lt,"TK_WORD"]}}if(v==="<"&&(t.charAt(e)==="?"||t.charAt(e)==="%")&&(k.lastIndex=e-1,dt=k.exec(t),dt))return v=dt[0],e+=v.length-1,v=v.replace(i.lineBreak,"\n"),[v,"TK_STRING"];if(v==="<"&&t.substring(e-1,e+3)==="<!--"){for(e+=3,v="<!--";!i.newline.test(t.charAt(e))&&e<o;)v+=t.charAt(e),e++;return l=!0,[v,"TK_COMMENT"]}if(v==="-"&&l&&t.substring(e-1,e+2)==="-->")return l=!1,e+=2,["-->","TK_COMMENT"];if(v===".")return[v,"TK_DOT"];if(n(v,y)){while(e<o&&n(v+t.charAt(e),y))if(v+=t.charAt(e),e+=1,e>=o)break;return v===","?[v,"TK_COMMA"]:v==="="?[v,"TK_EQUALS"]:[v,"TK_OPERATOR"]}return[v,"TK_UNKNOWN"]}function ut(n){for(var e=!1,u="",r=0,f="",t=0,i;e||r<n.length;)if(i=n.charAt(r),r++,e){if(e=!1,i==="x")f=n.substr(r,2),r+=2;else if(i==="u")f=n.substr(r,4),r+=4;else{u+="\\"+i;continue}if(!f.match(/^[0123456789abcdefABCDEF]+$/))return n;if(t=parseInt(f,16),t>=0&&t<32){u+=i==="x"?"\\x"+f:"\\u"+f;continue}else if(t===34||t===39||t===92)u+="\\"+String.fromCharCode(t);else{if(i==="x"&&t>126&&t<=255)return n;u+=String.fromCharCode(t)}}else i==="\\"?e=!0:u+=i;return u}var g="\n\r\t ".split(""),a=/[0-9]/,nt=/[0123456789abcdefABCDEF]/,y=("+ - * / % & ++ -- = += -= *= /= %= == === != !== > < >= <= >> << >>> >>>= >>= <<= && &= | || ! ~ , : ? ^ ^= |= :: =>"+" <%= <% %> <?= <? ?>").split(" ");this.line_starters="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(",");var tt=this.line_starters.concat(["do","in","else","get","set","new","catch","finally","typeof","yield","async","await"]),p=/([\s\S]*?)((?:\*\/)|$)/g,w=/([^\n\r\u2028\u2029]*)/g,it=/\/\* beautify( \w+[:]\w+)+ \*\//g,v=/ (\w+)[:](\w+)/g,b=/([\s\S]*?)((?:\/\*\sbeautify\signore:end\s\*\/)|$)/g,k=/((<\?php|<\?=)[\s\S]*?\?>)|(<%[\s\S]*?%>)/g,h,c,l,s,e,o;this.tokenize=function(){o=t.length;e=0;l=!1;s=[];for(var n,f,r,i=null,v=[],a=[];!(f&&f.type==="TK_EOF");){for(r=d(),n=new u(r[1],r[0],h,c);n.type==="TK_COMMENT"||n.type==="TK_BLOCK_COMMENT"||n.type==="TK_UNKNOWN";)n.type==="TK_BLOCK_COMMENT"&&(n.directives=r[2]),a.push(n),r=d(),n=new u(r[1],r[0],h,c);a.length&&(n.comments_before=a,a=[]);n.type==="TK_START_BLOCK"||n.type==="TK_START_EXPR"?(n.parent=f,v.push(i),i=n):(n.type==="TK_END_BLOCK"||n.type==="TK_END_EXPR")&&i&&(n.text==="]"&&i.text==="["||n.text===")"&&i.text==="("||n.text==="}"&&i.text==="{")&&(n.parent=i.parent,i=v.pop());s.push(n);f=n}return s}}var i={},t,u;(function(n){var t="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",i=new RegExp("["+t+"]"),r=new RegExp("["+t+"̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"),u=n.newline=/[\n\r\u2028\u2029]/,f=n.lineBreak=/\r\n|[\n\r\u2028\u2029]/g,e=n.isIdentifierStart=function(n){return n<65?n===36:n<91?!0:n<97?n===95:n<123?!0:n>=170&&i.test(String.fromCharCode(n))},o=n.isIdentifierChar=function(n){return n<48?n===36:n<58?!0:n<65?!1:n<91?!0:n<97?n===95:n<123?!0:n>=170&&r.test(String.fromCharCode(n))}})(i);t={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};u=function(n,t,i,r){this.type=n;this.text=t;this.comments_before=[];this.newlines=i||0;this.wanted_newline=i>0;this.whitespace_before=r||"";this.parent=null;this.directives=null};typeof define=="function"&&define.amd?define([],function(){return{js_beautify:r}}):typeof exports!="undefined"?exports.js_beautify=r:typeof window!="undefined"?window.js_beautify=r:typeof global!="undefined"&&(global.js_beautify=r)})(),function(){function i(n){return n.replace(/^\s+/g,"")}function t(n){return n.replace(/\s+$/g,"")}function n(n,r,u,f){function lt(){return this.pos=0,this.token="",this.current_mode="CONTENT",this.tags={parent:"parent1",parentcount:1,parent1:""},this.tag_type="",this.token_text=this.last_token=this.last_text=this.token_type="",this.newlines=0,this.indent_content=tt,this.Utils={whitespace:"\n\r\t ".split(""),single_token:"br,input,link,meta,source,!doctype,basefont,base,area,hr,wbr,param,img,isindex,embed".split(","),extra_liners:st,in_array:function(n,t){for(var i=0;i<t.length;i++)if(n===t[i])return!0;return!1}},this.is_whitespace=function(n){for(var t=0;t<n.length;n++)if(!this.Utils.in_array(n.charAt(t),this.Utils.whitespace))return!1;return!0},this.traverse_whitespace=function(){var n="";if(n=this.input.charAt(this.pos),this.Utils.in_array(n,this.Utils.whitespace)){for(this.newlines=0;this.Utils.in_array(n,this.Utils.whitespace);)b&&n==="\n"&&this.newlines<=ut&&(this.newlines+=1),this.pos++,n=this.input.charAt(this.pos);return!0}return!1},this.space_or_wrap=function(n){this.line_char_count>=this.wrap_line_length?(this.print_newline(!1,n),this.print_indentation(n)):(this.line_char_count++,n.push(" "))},this.get_content=function(){for(var i="",n=[],t;this.input.charAt(this.pos)!=="<";){if(this.pos>=this.input.length)return n.length?n.join(""):["","TK_EOF"];if(this.traverse_whitespace()){this.space_or_wrap(n);continue}if(o)if(t=this.input.substr(this.pos,3),t==="{{#"||t==="{{/")break;else{if(t==="{{!")return[this.get_tag(),"TK_TAG_HANDLEBARS_COMMENT"];if(this.input.substr(this.pos,2)==="{{"&&this.get_tag(!0)==="{{else}}")break}i=this.input.charAt(this.pos);this.pos++;this.line_char_count++;n.push(i)}return n.length?n.join(""):""},this.get_contents_to=function(n){var i,t;if(this.pos===this.input.length)return["","TK_EOF"];var r="",u=new RegExp("<\/"+n+"\\s*>","igm");return u.lastIndex=this.pos,i=u.exec(this.input),t=i?i.index:this.input.length,this.pos<t&&(r=this.input.substring(this.pos,t),this.pos=t),r},this.record_tag=function(n){this.tags[n+"count"]?(this.tags[n+"count"]++,this.tags[n+this.tags[n+"count"]]=this.indent_level):(this.tags[n+"count"]=1,this.tags[n+this.tags[n+"count"]]=this.indent_level);this.tags[n+this.tags[n+"count"]+"parent"]=this.tags.parent;this.tags.parent=n+this.tags[n+"count"]},this.retrieve_tag=function(n){if(this.tags[n+"count"]){for(var t=this.tags.parent;t;){if(n+this.tags[n+"count"]===t)break;t=this.tags[t+"parent"]}t&&(this.indent_level=this.tags[n+this.tags[n+"count"]],this.tags.parent=this.tags[t+"parent"]);delete this.tags[n+this.tags[n+"count"]+"parent"];delete this.tags[n+this.tags[n+"count"]];this.tags[n+"count"]===1?delete this.tags[n+"count"]:this.tags[n+"count"]--}},this.indent_to_tag=function(n){if(this.tags[n+"count"]){for(var t=this.tags.parent;t;){if(n+this.tags[n+"count"]===t)break;t=this.tags[t+"parent"]}t&&(this.indent_level=this.tags[n+this.tags[n+"count"]])}},this.get_tag=function(n){var i="",t=[],l="",f=!1,a=!0,s,d,e,v=this.pos,w=this.line_char_count,c,h,r,b,k,u;n=n!==undefined?n:!1;do{if(this.pos>=this.input.length)return n&&(this.pos=v,this.line_char_count=w),t.length?t.join(""):["","TK_EOF"];if(i=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(i,this.Utils.whitespace)){f=!0;continue}if((i==="'"||i==='"')&&(i+=this.get_unformatted(i),f=!0),i==="="&&(f=!1),t.length&&t[t.length-1]!=="="&&i!==">"&&f){if(this.space_or_wrap(t),f=!1,!a&&ft==="force"&&i!=="/")for(this.print_newline(!0,t),this.print_indentation(t),c=0;c<et;c++)t.push(y);for(h=0;h<t.length;h++)if(t[h]===" "){a=!1;break}}if(o&&e==="<"&&i+this.input.charAt(this.pos)==="{{"&&(i+=this.get_unformatted("}}"),t.length&&t[t.length-1]!==" "&&t[t.length-1]!=="<"&&(i=" "+i),f=!0),i!=="<"||e||(s=this.pos-1,e="<"),o&&!e&&t.length>=2&&t[t.length-1]==="{"&&t[t.length-2]==="{"&&(s=i==="#"||i==="/"||i==="!"?this.pos-3:this.pos-2,e="{"),this.line_char_count++,t.push(i),t[1]&&(t[1]==="!"||t[1]==="?"||t[1]==="%")){t=[this.get_comment(s)];break}if(o&&t[1]&&t[1]==="{"&&t[2]&&t[2]==="!"){t=[this.get_comment(s)];break}if(o&&e==="{"&&t.length>2&&t[t.length-2]==="}"&&t[t.length-1]==="}")break}while(i!==">");return r=t.join(""),b=r.indexOf(" ")!==-1?r.indexOf(" "):r.charAt(0)==="{"?r.indexOf("}"):r.indexOf(">"),k=r.charAt(0)!=="<"&&o?r.charAt(2)==="#"?3:2:1,u=r.substring(k,b).toLowerCase(),r.charAt(r.length-2)==="/"||this.Utils.in_array(u,this.Utils.single_token)?n||(this.tag_type="SINGLE"):o&&r.charAt(0)==="{"&&u==="else"?n||(this.indent_to_tag("if"),this.tag_type="HANDLEBARS_ELSE",this.indent_content=!0,this.traverse_whitespace()):this.is_unformatted(u,p)?(l=this.get_unformatted("<\/"+u+">",r),t.push(l),d=this.pos-1,this.tag_type="SINGLE"):u==="script"&&(r.search("type")===-1||r.search("type")>-1&&r.search(/\b(text|application)\/(x-)?(javascript|ecmascript|jscript|livescript)/)>-1)?n||(this.record_tag(u),this.tag_type="SCRIPT"):u==="style"&&(r.search("type")===-1||r.search("type")>-1&&r.search("text/css")>-1)?n||(this.record_tag(u),this.tag_type="STYLE"):u.charAt(0)==="!"?n||(this.tag_type="SINGLE",this.traverse_whitespace()):n||(u.charAt(0)==="/"?(this.retrieve_tag(u.substring(1)),this.tag_type="END"):(this.record_tag(u),u.toLowerCase()!=="html"&&(this.indent_content=!0),this.tag_type="START"),this.traverse_whitespace()&&this.space_or_wrap(t),this.Utils.in_array(u,this.Utils.extra_liners)&&(this.print_newline(!1,this.output),this.output.length&&this.output[this.output.length-2]!=="\n"&&this.print_newline(!0,this.output))),n&&(this.pos=v,this.line_char_count=w),t.join("")},this.get_comment=function(n){var t="",i=">",r=!1;for(this.pos=n,input_char=this.input.charAt(this.pos),this.pos++;this.pos<=this.input.length;){if(t+=input_char,t.charAt(t.length-1)===i.charAt(i.length-1)&&t.indexOf(i)!==-1)break;!r&&t.length<10&&(t.indexOf("<![if")===0?(i="<![endif]>",r=!0):t.indexOf("<![cdata[")===0?(i="]\]>",r=!0):t.indexOf("<![")===0?(i="]>",r=!0):t.indexOf("<!--")===0?(i="-->",r=!0):t.indexOf("{{!")===0?(i="}}",r=!0):t.indexOf("<?")===0?(i="?>",r=!0):t.indexOf("<%")===0&&(i="%>",r=!0));input_char=this.input.charAt(this.pos);this.pos++}return t},this.get_unformatted=function(n,t){if(t&&t.toLowerCase().indexOf(n)!==-1)return"";var r="",i="",u=0,f=!0;do{if(this.pos>=this.input.length)return i;if(r=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(r,this.Utils.whitespace)){if(!f){this.line_char_count--;continue}if(r==="\n"||r==="\r"){i+="\n";this.line_char_count=0;continue}}i+=r;this.line_char_count++;f=!0;o&&r==="{"&&i.length&&i.charAt(i.length-2)==="{"&&(i+=this.get_unformatted("}}"),u=i.length)}while(i.toLowerCase().indexOf(n,u)===-1);return i},this.get_token=function(){var n,t,i;return this.last_token==="TK_TAG_SCRIPT"||this.last_token==="TK_TAG_STYLE"?(t=this.last_token.substr(7),n=this.get_contents_to(t),typeof n!="string")?n:[n,"TK_"+t]:this.current_mode==="CONTENT"?(n=this.get_content(),typeof n!="string"?n:[n,"TK_CONTENT"]):this.current_mode==="TAG"?(n=this.get_tag(),typeof n!="string"?n:(i="TK_TAG_"+this.tag_type,[n,i])):void 0},this.get_full_indent=function(n){return(n=this.indent_level+n||0,n<1)?"":Array(n+1).join(this.indent_string)},this.is_unformatted=function(n,t){if(!this.Utils.in_array(n,t))return!1;if(n.toLowerCase()!=="a"||!this.Utils.in_array("a",t))return!0;var r=this.get_tag(!0),i=(r||"").match(/^\s*<\s*\/?([a-z]*)\s*[^>]*>\s*$/);return!i||this.Utils.in_array(i,t)?!0:!1},this.printer=function(n,r,u,f,e){this.input=n||"";this.input=this.input.replace(/\r\n|[\r\u2028\u2029]/g,"\n");this.output=[];this.indent_character=r;this.indent_string="";this.indent_size=u;this.brace_style=e;this.indent_level=0;this.wrap_line_length=f;this.line_char_count=0;for(var o=0;o<this.indent_size;o++)this.indent_string+=this.indent_character;this.print_newline=function(n,i){(this.line_char_count=0,i&&i.length)&&(n||i[i.length-1]!=="\n")&&(i[i.length-1]!=="\n"&&(i[i.length-1]=t(i[i.length-1])),i.push("\n"))};this.print_indentation=function(n){for(var t=0;t<this.indent_level;t++)n.push(this.indent_string),this.line_char_count+=this.indent_string.length};this.print_token=function(n){(!this.is_whitespace(n)||this.output.length)&&((n||n!=="")&&this.output.length&&this.output[this.output.length-1]==="\n"&&(this.print_indentation(this.output),n=i(n)),this.print_token_raw(n))};this.print_token_raw=function(n){this.newlines>0&&(n=t(n));n&&n!==""&&(n.length>1&&n.charAt(n.length-1)==="\n"?(this.output.push(n.slice(0,-1)),this.print_newline(!1,this.output)):this.output.push(n));for(var i=0;i<this.newlines;i++)this.print_newline(i>0,this.output);this.newlines=0};this.indent=function(){this.indent_level++};this.unindent=function(){this.indent_level>0&&this.indent_level--}},this}var e,tt,h,y,it,rt,p,b,ut,o,ft,et,ot,st,c,k,ht,l,d,s,w,a,g,nt,ct,v;for(r=r||{},(r.wrap_line_length===undefined||parseInt(r.wrap_line_length,10)===0)&&r.max_char!==undefined&&parseInt(r.max_char,10)!==0&&(r.wrap_line_length=r.max_char),tt=r.indent_inner_html===undefined?!1:r.indent_inner_html,h=r.indent_size===undefined?4:parseInt(r.indent_size,10),y=r.indent_char===undefined?" ":r.indent_char,rt=r.brace_style===undefined?"collapse":r.brace_style,it=parseInt(r.wrap_line_length,10)===0?32786:parseInt(r.wrap_line_length||250,10),p=r.unformatted||["a","span","img","bdo","em","strong","dfn","code","samp","kbd","var","cite","abbr","acronym","q","sub","sup","tt","i","b","big","small","u","s","strike","font","ins","del","pre","address","dt","h1","h2","h3","h4","h5","h6"],b=r.preserve_newlines===undefined?!0:r.preserve_newlines,ut=b?isNaN(parseInt(r.max_preserve_newlines,10))?32786:parseInt(r.max_preserve_newlines,10):0,o=r.indent_handlebars===undefined?!1:r.indent_handlebars,ft=r.wrap_attributes===undefined?"auto":r.wrap_attributes,et=r.wrap_attributes_indent_size===undefined?h:parseInt(r.wrap_attributes_indent_size,10)||h,ot=r.end_with_newline===undefined?!1:r.end_with_newline,st=typeof r.extra_liners=="object"&&r.extra_liners?r.extra_liners.concat():typeof r.extra_liners=="string"?r.extra_liners.split(","):"head,body,/html".split(","),c=r.eol?r.eol:"\n",r.indent_with_tabs&&(y="\t",h=1),c=c.replace(/\\r/,"\r").replace(/\\n/,"\n"),e=new lt,e.printer(n,y,h,it,rt);;){if(k=e.get_token(),e.token_text=k[0],e.token_type=k[1],e.token_type==="TK_EOF")break;switch(e.token_type){case"TK_TAG_START":e.print_newline(!1,e.output);e.print_token(e.token_text);e.indent_content&&(e.indent(),e.indent_content=!1);e.current_mode="CONTENT";break;case"TK_TAG_STYLE":case"TK_TAG_SCRIPT":e.print_newline(!1,e.output);e.print_token(e.token_text);e.current_mode="CONTENT";break;case"TK_TAG_END":e.last_token==="TK_CONTENT"&&e.last_text===""&&(ht=e.token_text.match(/\w+/)[0],l=null,e.output.length&&(l=e.output[e.output.length-1].match(/(?:<|{{#)\s*(\w+)/)),l!==null&&(l[1]===ht||e.Utils.in_array(l[1],p))||e.print_newline(!1,e.output));e.print_token(e.token_text);e.current_mode="CONTENT";break;case"TK_TAG_SINGLE":d=e.token_text.match(/^\s*<([a-z-]+)/i);d&&e.Utils.in_array(d[1],p)||e.print_newline(!1,e.output);e.print_token(e.token_text);e.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_ELSE":e.print_token(e.token_text);e.indent_content&&(e.indent(),e.indent_content=!1);e.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_COMMENT":e.print_token(e.token_text);e.current_mode="TAG";break;case"TK_CONTENT":e.print_token(e.token_text);e.current_mode="TAG";break;case"TK_STYLE":case"TK_SCRIPT":if(e.token_text!==""){if(e.print_newline(!1,e.output),s=e.token_text,a=1,e.token_type==="TK_SCRIPT"?w=typeof u=="function"&&u:e.token_type==="TK_STYLE"&&(w=typeof f=="function"&&f),r.indent_scripts==="keep"?a=0:r.indent_scripts==="separate"&&(a=-e.indent_level),g=e.get_full_indent(a),w)nt=function(){this.eol="\n"},nt.prototype=r,ct=new nt,s=w(s.replace(/^\s*/,g),ct);else{var at=s.match(/^\s*/)[0],vt=at.match(/[^\n\r]*$/)[0].split(e.indent_string).length-1,yt=e.get_full_indent(a-vt);s=s.replace(/^\s*/,g).replace(/\r\n|\r|\n/g,"\n"+yt).replace(/\s+$/,"")}s&&(e.print_token_raw(s),e.print_newline(!0,e.output))}e.current_mode="TAG";break;default:e.token_text!==""&&e.print_token(e.token_text)}e.last_token=e.token_type;e.last_text=e.token_text}return v=e.output.join("").replace(/[\r\n\t ]+$/,""),ot&&(v+="\n"),c!="\n"&&(v=v.replace(/[\n]/g,c)),v}if(typeof define=="function"&&define.amd)define(["require","./beautify","./beautify-css"],function(t){var i=t("./beautify"),r=t("./beautify-css");return{html_beautify:function(t,u){return n(t,u,i.js_beautify,r.css_beautify)}}});else if(typeof exports!="undefined"){var r=require("./beautify.js"),u=require("./beautify-css.js");exports.html_beautify=function(t,i){return n(t,i,r.js_beautify,u.css_beautify)}}else typeof window!="undefined"?window.html_beautify=function(t,i){return n(t,i,window.js_beautify,window.css_beautify)}:typeof global!="undefined"&&(global.html_beautify=function(t,i){return n(t,i,global.js_beautify,global.css_beautify)})}()
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/bbcode/plugin.js-7-indecision:":|",angry:"\x3e:(",angel:"o:)",cool:"8-)",devil:"\x3e:-)",crying:";(",kiss:":-*"},B={},r=[],t;for(t in q)B[q[t]]=t,r.push(q[t].replace(/\(|\)|\:|\/|\*|\-|\|/g,function(a){return"\\"+a}));var r=new RegExp(r.join("|"),"g"),D=function(){var a=[],b={nbsp:" ",shy:"­"},c;for(c in b)a.push(c);a=new RegExp("\x26("+a.join("|")+");","g");return function(c){return c.replace(a,function(a,c){return b[c]})}}();CKEDITOR.BBCodeParser=function(){this._={bbcPartsRegex:/(?:\[([^\/\]=]*?)(?:=([^\]]*?))?\])|(?:\[\/([a-z]{1,16})\])/ig}};
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/bbcode/plugin.js:8:CKEDITOR.BBCodeParser.prototype={parse:function(a){for(var b,c,h=0;b=this._.bbcPartsRegex.exec(a);)if(c=b.index,c>h&&(h=a.substring(h,c),this.onText(h,1)),h=this._.bbcPartsRegex.lastIndex,(c=(b[1]||b[3]||"").toLowerCase())&&!l[c])this.onText(b[0]);else if(b[1]){var f=l[c],k={},g={};if(b=b[2])if("list"==c&&(isNaN(b)?/^[a-z]+$/.test(b)?b="lower-alpha":/^[A-Z]+$/.test(b)&&(b="upper-alpha"):b="decimal"),y[c]){"size"==c&&(b+="%");g[y[c]]=b;b=k;var e="",d=void 0;for(d in g)var u=(d+":"+g[d]).replace(C,
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/bbcode/plugin.js-9-";"),e=e+u;b.style=e}else z[c]&&(k[z[c]]=CKEDITOR.tools.htmlDecode(b));if("email"==c||"img"==c)k.bbcode=c;this.onTagOpen(f,k,CKEDITOR.dtd.$empty[f])}else if(b[3])this.onTagClose(l[c]);if(a.length>h)this.onText(a.substring(h,a.length),1)}};CKEDITOR.htmlParser.fragment.fromBBCode=function(a){function b(a){if(0<g.length)for(var f=0;f<g.length;f++){var b=g[f],c=b.name,k=CKEDITOR.dtd[c],e=d.name&&CKEDITOR.dtd[d.name];e&&!e[c]||a&&k&&!k[a]&&CKEDITOR.dtd[a]||(b=b.clone(),b.parent=d,d=b,g.splice(f,1),f--)}}
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/adobeair/plugin.js-4-*/
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/adobeair/plugin.js:5:(function(){function f(a){a=a.getElementsByTag("*");for(var c=a.count(),b,d=0;d<c;d++)b=a.getItem(d),function(a){for(var b=0;b<l.length;b++)(function(b){var d=a.getAttribute("on"+b);a.hasAttribute("on"+b)&&(a.removeAttribute("on"+b),a.on(b,function(b){var c=/(return\s*)?CKEDITOR\.tools\.callFunction\(([^)]+)\)/.exec(d),k=c&&c[1],e=c&&c[2].split(","),c=/return false;/.test(d);if(e){for(var m=e.length,h,g=0;g<m;g++){e[g]=h=CKEDITOR.tools.trim(e[g]);var f=h.match(/^(["'])([^"']*?)\1$/);if(f)e[g]=f[2];
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/adobeair/plugin.js-6-else if(h.match(/\d+/))e[g]=parseInt(h,10);else switch(h){case "this":e[g]=a.$;break;case "event":e[g]=b.data.$;break;case "null":e[g]=null}}e=CKEDITOR.tools.callFunction.apply(window,e);k&&!1===e&&(c=1)}c&&b.data.preventDefault()}))})(l[b])}(b)}var l="click keydown mousedown keypress mouseover mouseout".split(" ");CKEDITOR.plugins.add("adobeair",{onLoad:function(){CKEDITOR.env.air&&(CKEDITOR.dom.document.prototype.write=CKEDITOR.tools.override(CKEDITOR.dom.document.prototype.write,function(a){function c(b,
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/codesnippet/lib/highlight/highlight.pack.js:1:var hljs=new function(){function k(v){return v.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;")}function t(v){return v.nodeName.toLowerCase()}function i(w,x){var v=w&&w.exec(x);return v&&v.index==0}function d(v){return Array.prototype.map.call(v.childNodes,function(w){if(w.nodeType==3){return b.useBR?w.nodeValue.replace(/\n/g,""):w.nodeValue}if(t(w)=="br"){return"\n"}return d(w)}).join("")}function r(w){var v=(w.className+" "+(w.parentNode?w.parentNode.className:"")).split(/\s+/);v=v.map(function(x){return x.replace(/^language-/,"")});return v.filter(function(x){return j(x)||x=="no-highlight"})[0]}function o(x,y){var v={};for(var w in x){v[w]=x[w]}if(y){for(var w in y){v[w]=y[w]}}return v}function u(x){var v=[];(function w(y,z){for(var A=y.firstChild;A;A=A.nextSibling){if(A.nodeType==3){z+=A.nodeValue.length}else{if(t(A)=="br"){z+=1}else{if(A.nodeType==1){v.push({event:"start",offset:z,node:A});z=w(A,z);v.push({event:"stop",offset:z,node:A})}}}}return z})(x,0);return v}function q(w,y,C){var x=0;var F="";var z=[];function B(){if(!w.length||!y.length){return w.length?w:y}if(w[0].offset!=y[0].offset){return(w[0].offset<y[0].offset)?w:y}return y[0].event=="start"?w:y}function A(H){function G(I){return" "+I.nodeName+'="'+k(I.value)+'"'}F+="<"+t(H)+Array.prototype.map.call(H.attributes,G).join("")+">"}function E(G){F+="</"+t(G)+">"}function v(G){(G.event=="start"?A:E)(G.node)}while(w.length||y.length){var D=B();F+=k(C.substr(x,D[0].offset-x));x=D[0].offset;if(D==w){z.reverse().forEach(E);do{v(D.splice(0,1)[0]);D=B()}while(D==w&&D.length&&D[0].offset==x);z.reverse().forEach(A)}else{if(D[0].event=="start"){z.push(D[0].node)}else{z.pop()}v(D.splice(0,1)[0])}}return F+k(C.substr(x))}function m(y){function v(z){return(z&&z.source)||z}function w(A,z){return RegExp(v(A),"m"+(y.cI?"i":"")+(z?"g":""))}function x(D,C){if(D.compiled){return}D.compiled=true;D.k=D.k||D.bK;if(D.k){var z={};function E(G,F){if(y.cI){F=F.toLowerCase()}F.split(" ").forEach(function(H){var I=H.split("|");z[I[0]]=[G,I[1]?Number(I[1]):1]})}if(typeof D.k=="string"){E("keyword",D.k)}else{Object.keys(D.k).forEach(function(F){E(F,D.k[F])})}D.k=z}D.lR=w(D.l||/\b[A-Za-z0-9_]+\b/,true);if(C){if(D.bK){D.b=D.bK.split(" ").join("|")}if(!D.b){D.b=/\B|\b/}D.bR=w(D.b);if(!D.e&&!D.eW){D.e=/\B|\b/}if(D.e){D.eR=w(D.e)}D.tE=v(D.e)||"";if(D.eW&&C.tE){D.tE+=(D.e?"|":"")+C.tE}}if(D.i){D.iR=w(D.i)}if(D.r===undefined){D.r=1}if(!D.c){D.c=[]}var B=[];D.c.forEach(function(F){if(F.v){F.v.forEach(function(G){B.push(o(F,G))})}else{B.push(F=="self"?D:F)}});D.c=B;D.c.forEach(function(F){x(F,D)});if(D.starts){x(D.starts,C)}var A=D.c.map(function(F){return F.bK?"\\.?\\b("+F.b+")\\b\\.?":F.b}).concat([D.tE]).concat([D.i]).map(v).filter(Boolean);D.t=A.length?w(A.join("|"),true):{exec:function(F){return null}};D.continuation={}}x(y)}function c(S,L,J,R){function v(U,V){for(var T=0;T<V.c.length;T++){if(i(V.c[T].bR,U)){return V.c[T]}}}function z(U,T){if(i(U.eR,T)){return U}if(U.eW){return z(U.parent,T)}}function A(T,U){return !J&&i(U.iR,T)}function E(V,T){var U=M.cI?T[0].toLowerCase():T[0];return V.k.hasOwnProperty(U)&&V.k[U]}function w(Z,X,W,V){var T=V?"":b.classPrefix,U='<span class="'+T,Y=W?"":"</span>";U+=Z+'">';return U+X+Y}function N(){var U=k(C);if(!I.k){return U}var T="";var X=0;I.lR.lastIndex=0;var V=I.lR.exec(U);while(V){T+=U.substr(X,V.index-X);var W=E(I,V);if(W){H+=W[1];T+=w(W[0],V[0])}else{T+=V[0]}X=I.lR.lastIndex;V=I.lR.exec(U)}return T+U.substr(X)}function F(){if(I.sL&&!f[I.sL]){return k(C)}var T=I.sL?c(I.sL,C,true,I.continuation.top):g(C);if(I.r>0){H+=T.r}if(I.subLanguageMode=="continuous"){I.continuation.top=T.top}return w(T.language,T.value,false,true)}function Q(){return I.sL!==undefined?F():N()}function P(V,U){var T=V.cN?w(V.cN,"",true):"";if(V.rB){D+=T;C=""}else{if(V.eB){D+=k(U)+T;C=""}else{D+=T;C=U}}I=Object.create(V,{parent:{value:I}})}function G(T,X){C+=T;if(X===undefined){D+=Q();return 0}var V=v(X,I);if(V){D+=Q();P(V,X);return V.rB?0:X.length}var W=z(I,X);if(W){var U=I;if(!(U.rE||U.eE)){C+=X}D+=Q();do{if(I.cN){D+="</span>"}H+=I.r;I=I.parent}while(I!=W.parent);if(U.eE){D+=k(X)}C="";if(W.starts){P(W.starts,"")}return U.rE?0:X.length}if(A(X,I)){throw new Error('Illegal lexeme "'+X+'" for mode "'+(I.cN||"<unnamed>")+'"')}C+=X;return X.length||1}var M=j(S);if(!M){throw new Error('Unknown language: "'+S+'"')}m(M);var I=R||M;var D="";for(var K=I;K!=M;K=K.parent){if(K.cN){D=w(K.cN,D,true)}}var C="";var H=0;try{var B,y,x=0;while(true){I.t.lastIndex=x;B=I.t.exec(L);if(!B){break}y=G(L.substr(x,B.index-x),B[0]);x=B.index+y}G(L.substr(x));for(var K=I;K.parent;K=K.parent){if(K.cN){D+="</span>"}}return{r:H,value:D,language:S,top:I}}catch(O){if(O.message.indexOf("Illegal")!=-1){return{r:0,value:k(L)}}else{throw O}}}function g(y,x){x=x||b.languages||Object.keys(f);var v={r:0,value:k(y)};var w=v;x.forEach(function(z){if(!j(z)){return}var A=c(z,y,false);A.language=z;if(A.r>w.r){w=A}if(A.r>v.r){w=v;v=A}});if(w.language){v.second_best=w}return v}function h(v){if(b.tabReplace){v=v.replace(/^((<[^>]+>|\t)+)/gm,function(w,z,y,x){return z.replace(/\t/g,b.tabReplace)})}if(b.useBR){v=v.replace(/\n/g,"<br>")}return v}function p(z){var y=d(z);var A=r(z);if(A=="no-highlight"){return}var v=A?c(A,y,true):g(y);var w=u(z);if(w.length){var x=document.createElementNS("http://www.w3.org/1999/xhtml","pre");x.innerHTML=v.value;v.value=q(w,u(x),y)}v.value=h(v.value);z.innerHTML=v.value;z.className+=" hljs "+(!A&&v.language||"");z.result={language:v.language,re:v.r};if(v.second_best){z.second_best={language:v.second_best.language,re:v.second_best.r}}}var b={classPrefix:"hljs-",tabReplace:null,useBR:false,languages:undefined};function s(v){b=o(b,v)}function l(){if(l.called){return}l.called=true;var v=document.querySelectorAll("pre code");Array.prototype.forEach.call(v,p)}function a(){addEventListener("DOMContentLoaded",l,false);addEventListener("load",l,false)}var f={};var n={};function e(v,x){var w=f[v]=x(this);if(w.aliases){w.aliases.forEach(function(y){n[y]=v})}}function j(v){return f[v]||f[n[v]]}this.highlight=c;this.highlightAuto=g;this.fixMarkup=h;this.highlightBlock=p;this.configure=s;this.initHighlighting=l;this.initHighlightingOnLoad=a;this.registerLanguage=e;this.getLanguage=j;this.inherit=o;this.IR="[a-zA-Z][a-zA-Z0-9_]*";this.UIR="[a-zA-Z_][a-zA-Z0-9_]*";this.NR="\\b\\d+(\\.\\d+)?";this.CNR="(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)";this.BNR="\\b(0b[01]+)";this.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";this.BE={b:"\\\\[\\s\\S]",r:0};this.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[this.BE]};this.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[this.BE]};this.CLCM={cN:"comment",b:"//",e:"$"};this.CBLCLM={cN:"comment",b:"/\\*",e:"\\*/"};this.HCM={cN:"comment",b:"#",e:"$"};this.NM={cN:"number",b:this.NR,r:0};this.CNM={cN:"number",b:this.CNR,r:0};this.BNM={cN:"number",b:this.BNR,r:0};this.REGEXP_MODE={cN:"regexp",b:/\//,e:/\/[gim]*/,i:/\n/,c:[this.BE,{b:/\[/,e:/\]/,r:0,c:[this.BE]}]};this.TM={cN:"title",b:this.IR,r:0};this.UTM={cN:"title",b:this.UIR,r:0}}();hljs.registerLanguage("bash",function(b){var a={cN:"variable",v:[{b:/\$[\w\d#@][\w\d_]*/},{b:/\$\{(.*?)\}/}]};var d={cN:"string",b:/"/,e:/"/,c:[b.BE,a,{cN:"variable",b:/\$\(/,e:/\)/,c:[b.BE]}]};var c={cN:"string",b:/'/,e:/'/};return{l:/-?[a-z\.]+/,k:{keyword:"if then else elif fi for break continue while in do done exit return set declare case esac export exec",literal:"true false",built_in:"printf echo read cd pwd pushd popd dirs let eval unset typeset readonly getopts source shopt caller type hash bind help sudo",operator:"-ne -eq -lt -gt -f -d -e -s -l -a"},c:[{cN:"shebang",b:/^#![^\n]+sh\s*$/,r:10},{cN:"function",b:/\w[\w\d_]*\s*\(\s*\)\s*\{/,rB:true,c:[b.inherit(b.TM,{b:/\w[\w\d_]*/})],r:0},b.HCM,b.NM,d,c,a]}});hljs.registerLanguage("cs",function(b){var a="abstract as base bool break byte case catch char checked const continue decimal default delegate do double else enum event explicit extern false finally fixed float for foreach goto if implicit in int interface internal is lock long new null object operator out override params private protected public readonly ref return sbyte sealed short sizeof stackalloc static string struct switch this throw true try typeof uint ulong unchecked unsafe ushort using virtual volatile void while async await ascending descending from get group into join let orderby partial select set value var where yield";return{k:a,c:[{cN:"comment",b:"///",e:"$",rB:true,c:[{cN:"xmlDocTag",b:"///|<!--|-->"},{cN:"xmlDocTag",b:"</?",e:">"}]},b.CLCM,b.CBLCLM,{cN:"preprocessor",b:"#",e:"$",k:"if else elif endif define undef warning error line region endregion pragma checksum"},{cN:"string",b:'@"',e:'"',c:[{b:'""'}]},b.ASM,b.QSM,b.CNM,{bK:"protected public private internal",e:/[{;=]/,k:a,c:[{bK:"class namespace interface",starts:{c:[b.TM]}},{b:b.IR+"\\s*\\(",rB:true,c:[b.TM]}]}]}});hljs.registerLanguage("ruby",function(e){var h="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?";var g="and false then defined module in return redo if BEGIN retry end for true self when next until do begin unless END rescue nil else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor";var a={cN:"yardoctag",b:"@[A-Za-z]+"};var i={cN:"comment",v:[{b:"#",e:"$",c:[a]},{b:"^\\=begin",e:"^\\=end",c:[a],r:10},{b:"^__END__",e:"\\n$"}]};var c={cN:"subst",b:"#\\{",e:"}",k:g};var d={cN:"string",c:[e.BE,c],v:[{b:/'/,e:/'/},{b:/"/,e:/"/},{b:"%[qw]?\\(",e:"\\)"},{b:"%[qw]?\\[",e:"\\]"},{b:"%[qw]?{",e:"}"},{b:"%[qw]?<",e:">",r:10},{b:"%[qw]?/",e:"/",r:10},{b:"%[qw]?%",e:"%",r:10},{b:"%[qw]?-",e:"-",r:10},{b:"%[qw]?\\|",e:"\\|",r:10},{b:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/}]};var b={cN:"params",b:"\\(",e:"\\)",k:g};var f=[d,i,{cN:"class",bK:"class module",e:"$|;",i:/=/,c:[e.inherit(e.TM,{b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{cN:"inheritance",b:"<\\s*",c:[{cN:"parent",b:"("+e.IR+"::)?"+e.IR}]},i]},{cN:"function",bK:"def",e:" |$|;",r:0,c:[e.inherit(e.TM,{b:h}),b,i]},{cN:"constant",b:"(::)?(\\b[A-Z]\\w*(::)?)+",r:0},{cN:"symbol",b:":",c:[d,{b:h}],r:0},{cN:"symbol",b:e.UIR+"(\\!|\\?)?:",r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{cN:"variable",b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{b:"("+e.RSR+")\\s*",c:[i,{cN:"regexp",c:[e.BE,c],i:/\n/,v:[{b:"/",e:"/[a-z]*"},{b:"%r{",e:"}[a-z]*"},{b:"%r\\(",e:"\\)[a-z]*"},{b:"%r!",e:"![a-z]*"},{b:"%r\\[",e:"\\][a-z]*"}]}],r:0}];c.c=f;b.c=f;return{k:g,c:f}});hljs.registerLanguage("diff",function(a){return{c:[{cN:"chunk",r:10,v:[{b:/^\@\@ +\-\d+,\d+ +\+\d+,\d+ +\@\@$/},{b:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{b:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{cN:"header",v:[{b:/Index: /,e:/$/},{b:/=====/,e:/=====$/},{b:/^\-\-\-/,e:/$/},{b:/^\*{3} /,e:/$/},{b:/^\+\+\+/,e:/$/},{b:/\*{5}/,e:/\*{5}$/}]},{cN:"addition",b:"^\\+",e:"$"},{cN:"deletion",b:"^\\-",e:"$"},{cN:"change",b:"^\\!",e:"$"}]}});hljs.registerLanguage("javascript",function(a){return{aliases:["js"],k:{keyword:"in if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require"},c:[{cN:"pi",b:/^\s*('|")use strict('|")/,r:10},a.ASM,a.QSM,a.CLCM,a.CBLCLM,a.CNM,{b:"("+a.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[a.CLCM,a.CBLCLM,a.REGEXP_MODE,{b:/</,e:/>;/,r:0,sL:"xml"}],r:0},{cN:"function",bK:"function",e:/\{/,c:[a.inherit(a.TM,{b:/[A-Za-z$_][0-9A-Za-z$_]*/}),{cN:"params",b:/\(/,e:/\)/,c:[a.CLCM,a.CBLCLM],i:/["'\(]/}],i:/\[|%/},{b:/\$[(.]/},{b:"\\."+a.IR,r:0}]}});hljs.registerLanguage("xml",function(a){var c="[A-Za-z0-9\\._:-]+";var d={b:/<\?(php)?(?!\w)/,e:/\?>/,sL:"php",subLanguageMode:"continuous"};var b={eW:true,i:/</,r:0,c:[d,{cN:"attribute",b:c,r:0},{b:"=",r:0,c:[{cN:"value",v:[{b:/"/,e:/"/},{b:/'/,e:/'/},{b:/[^\s\/>]+/}]}]}]};return{aliases:["html"],cI:true,c:[{cN:"doctype",b:"<!DOCTYPE",e:">",r:10,c:[{b:"\\[",e:"\\]"}]},{cN:"comment",b:"<!--",e:"-->",r:10},{cN:"cdata",b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{cN:"tag",b:"<style(?=\\s|>|$)",e:">",k:{title:"style"},c:[b],starts:{e:"</style>",rE:true,sL:"css"}},{cN:"tag",b:"<script(?=\\s|>|$)",e:">",k:{title:"script"},c:[b],starts:{e:"<\/script>",rE:true,sL:"javascript"}},{b:"<%",e:"%>",sL:"vbscript"},d,{cN:"pi",b:/<\?\w+/,e:/\?>/,r:10},{cN:"tag",b:"</?",e:"/?>",c:[{cN:"title",b:"[^ /><]+",r:0},b]}]}});hljs.registerLanguage("markdown",function(a){return{c:[{cN:"header",v:[{b:"^#{1,6}",e:"$"},{b:"^.+?\\n[=-]{2,}$"}]},{b:"<",e:">",sL:"xml",r:0},{cN:"bullet",b:"^([*+-]|(\\d+\\.))\\s+"},{cN:"strong",b:"[*_]{2}.+?[*_]{2}"},{cN:"emphasis",v:[{b:"\\*.+?\\*"},{b:"_.+?_",r:0}]},{cN:"blockquote",b:"^>\\s+",e:"$"},{cN:"code",v:[{b:"`.+?`"},{b:"^( {4}|\t)",e:"$",r:0}]},{cN:"horizontal_rule",b:"^[-\\*]{3,}",e:"$"},{b:"\\[.+?\\][\\(\\[].+?[\\)\\]]",rB:true,c:[{cN:"link_label",b:"\\[",e:"\\]",eB:true,rE:true,r:0},{cN:"link_url",b:"\\]\\(",e:"\\)",eB:true,eE:true},{cN:"link_reference",b:"\\]\\[",e:"\\]",eB:true,eE:true,}],r:10},{b:"^\\[.+\\]:",e:"$",rB:true,c:[{cN:"link_reference",b:"\\[",e:"\\]",eB:true,eE:true},{cN:"link_url",b:"\\s",e:"$"}]}]}});hljs.registerLanguage("css",function(a){var b="[a-zA-Z-][a-zA-Z0-9_-]*";var c={cN:"function",b:b+"\\(",e:"\\)",c:["self",a.NM,a.ASM,a.QSM]};return{cI:true,i:"[=/|']",c:[a.CBLCLM,{cN:"id",b:"\\#[A-Za-z0-9_-]+"},{cN:"class",b:"\\.[A-Za-z0-9_-]+",r:0},{cN:"attr_selector",b:"\\[",e:"\\]",i:"$"},{cN:"pseudo",b:":(:)?[a-zA-Z0-9\\_\\-\\+\\(\\)\\\"\\']+"},{cN:"at_rule",b:"@(font-face|page)",l:"[a-z-]+",k:"font-face page"},{cN:"at_rule",b:"@",e:"[{;]",c:[{cN:"keyword",b:/\S+/},{b:/\s/,eW:true,eE:true,r:0,c:[c,a.ASM,a.QSM,a.NM]}]},{cN:"tag",b:b,r:0},{cN:"rules",b:"{",e:"}",i:"[^\\s]",r:0,c:[a.CBLCLM,{cN:"rule",b:"[^\\s]",rB:true,e:";",eW:true,c:[{cN:"attribute",b:"[A-Z\\_\\.\\-]+",e:":",eE:true,i:"[^\\s]",starts:{cN:"value",eW:true,eE:true,c:[c,a.NM,a.QSM,a.ASM,a.CBLCLM,{cN:"hexcolor",b:"#[0-9A-Fa-f]+"},{cN:"important",b:"!important"}]}}]}]}]}});hljs.registerLanguage("http",function(a){return{i:"\\S",c:[{cN:"status",b:"^HTTP/[0-9\\.]+",e:"$",c:[{cN:"number",b:"\\b\\d{3}\\b"}]},{cN:"request",b:"^[A-Z]+ (.*?) HTTP/[0-9\\.]+$",rB:true,e:"$",c:[{cN:"string",b:" ",e:" ",eB:true,eE:true}]},{cN:"attribute",b:"^\\w",e:": ",eE:true,i:"\\n|\\s|=",starts:{cN:"string",e:"$"}},{b:"\\n\\n",starts:{sL:"",eW:true}}]}});hljs.registerLanguage("java",function(b){var a="false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws";return{k:a,i:/<\//,c:[{cN:"javadoc",b:"/\\*\\*",e:"\\*/",c:[{cN:"javadoctag",b:"(^|\\s)@[A-Za-z]+"}],r:10},b.CLCM,b.CBLCLM,b.ASM,b.QSM,{bK:"protected public private",e:/[{;=]/,k:a,c:[{cN:"class",bK:"class interface",eW:true,i:/[:"<>]/,c:[{bK:"extends implements",r:10},b.UTM]},{b:b.UIR+"\\s*\\(",rB:true,c:[b.UTM]}]},b.CNM,{cN:"annotation",b:"@[A-Za-z]+"}]}});hljs.registerLanguage("php",function(b){var e={cN:"variable",b:"\\$+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*"};var a={cN:"preprocessor",b:/<\?(php)?|\?>/};var c={cN:"string",c:[b.BE,a],v:[{b:'b"',e:'"'},{b:"b'",e:"'"},b.inherit(b.ASM,{i:null}),b.inherit(b.QSM,{i:null})]};var d={v:[b.BNM,b.CNM]};return{cI:true,k:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",c:[b.CLCM,b.HCM,{cN:"comment",b:"/\\*",e:"\\*/",c:[{cN:"phpdoc",b:"\\s@[A-Za-z]+"},a]},{cN:"comment",b:"__halt_compiler.+?;",eW:true,k:"__halt_compiler",l:b.UIR},{cN:"string",b:"<<<['\"]?\\w+['\"]?$",e:"^\\w+;",c:[b.BE]},a,e,{cN:"function",bK:"function",e:/[;{]/,i:"\\$|\\[|%",c:[b.UTM,{cN:"params",b:"\\(",e:"\\)",c:["self",e,b.CBLCLM,c,d]}]},{cN:"class",bK:"class interface",e:"{",i:/[:\(\$"]/,c:[{bK:"extends implements",r:10},b.UTM]},{bK:"namespace",e:";",i:/[\.']/,c:[b.UTM]},{bK:"use",e:";",c:[b.UTM]},{b:"=>"},c,d]}});hljs.registerLanguage("python",function(a){var f={cN:"prompt",b:/^(>>>|\.\.\.) /};var b={cN:"string",c:[a.BE],v:[{b:/(u|b)?r?'''/,e:/'''/,c:[f],r:10},{b:/(u|b)?r?"""/,e:/"""/,c:[f],r:10},{b:/(u|r|ur)'/,e:/'/,r:10},{b:/(u|r|ur)"/,e:/"/,r:10},{b:/(b|br)'/,e:/'/,},{b:/(b|br)"/,e:/"/,},a.ASM,a.QSM]};var d={cN:"number",r:0,v:[{b:a.BNR+"[lLjJ]?"},{b:"\\b(0o[0-7]+)[lLjJ]?"},{b:a.CNR+"[lLjJ]?"}]};var e={cN:"params",b:/\(/,e:/\)/,c:["self",f,d,b]};var c={e:/:/,i:/[${=;\n]/,c:[a.UTM,e]};return{k:{keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda nonlocal|10 None True False",built_in:"Ellipsis NotImplemented"},i:/(<\/|->|\?)/,c:[f,d,b,a.HCM,a.inherit(c,{cN:"function",bK:"def",r:10}),a.inherit(c,{cN:"class",bK:"class"}),{cN:"decorator",b:/@/,e:/$/},{b:/\b(print|exec)\(/}]}});hljs.registerLanguage("sql",function(a){return{cI:true,i:/[<>]/,c:[{cN:"operator",b:"\\b(begin|end|start|commit|rollback|savepoint|lock|alter|create|drop|rename|call|delete|do|handler|insert|load|replace|select|truncate|update|set|show|pragma|grant|merge)\\b(?!:)",e:";",eW:true,k:{keyword:"all partial global month current_timestamp using go revoke smallint indicator end-exec disconnect zone with character assertion to add current_user usage input local alter match collate real then rollback get read timestamp session_user not integer bit unique day minute desc insert execute like ilike|2 level decimal drop continue isolation found where constraints domain right national some module transaction relative second connect escape close system_user for deferred section cast current sqlstate allocate intersect deallocate numeric public preserve full goto initially asc no key output collation group by union session both last language constraint column of space foreign deferrable prior connection unknown action commit view or first into float year primary cascaded except restrict set references names table outer open select size are rows from prepare distinct leading create only next inner authorization schema corresponding option declare precision immediate else timezone_minute external varying translation true case exception join hour default double scroll value cursor descriptor values dec fetch procedure delete and false int is describe char as at in varchar null trailing any absolute current_time end grant privileges when cross check write current_date pad begin temporary exec time update catalog user sql date on identity timezone_hour natural whenever interval work order cascade diagnostics nchar having left call do handler load replace truncate start lock show pragma exists number trigger if before after each row merge matched database",aggregate:"count sum min max avg"},c:[{cN:"string",b:"'",e:"'",c:[a.BE,{b:"''"}]},{cN:"string",b:'"',e:'"',c:[a.BE,{b:'""'}]},{cN:"string",b:"`",e:"`",c:[a.BE]},a.CNM]},a.CBLCLM,{cN:"comment",b:"--",e:"$"}]}});hljs.registerLanguage("ini",function(a){return{cI:true,i:/\S/,c:[{cN:"comment",b:";",e:"$"},{cN:"title",b:"^\\[",e:"\\]"},{cN:"setting",b:"^[a-z0-9\\[\\]_-]+[ \\t]*=[ \\t]*",e:"$",c:[{cN:"value",eW:true,k:"on off true false yes no",c:[a.QSM,a.NM],r:0}]}]}});hljs.registerLanguage("perl",function(c){var d="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when";var f={cN:"subst",b:"[$@]\\{",e:"\\}",k:d};var g={b:"->{",e:"}"};var a={cN:"variable",v:[{b:/\$\d/},{b:/[\$\%\@\*](\^\w\b|#\w+(\:\:\w+)*|{\w+}|\w+(\:\:\w*)*)/},{b:/[\$\%\@\*][^\s\w{]/,r:0}]};var e={cN:"comment",b:"^(__END__|__DATA__)",e:"\\n$",r:5};var h=[c.BE,f,a];var b=[a,c.HCM,e,{cN:"comment",b:"^\\=\\w",e:"\\=cut",eW:true},g,{cN:"string",c:h,v:[{b:"q[qwxr]?\\s*\\(",e:"\\)",r:5},{b:"q[qwxr]?\\s*\\[",e:"\\]",r:5},{b:"q[qwxr]?\\s*\\{",e:"\\}",r:5},{b:"q[qwxr]?\\s*\\|",e:"\\|",r:5},{b:"q[qwxr]?\\s*\\<",e:"\\>",r:5},{b:"qw\\s+q",e:"q",r:5},{b:"'",e:"'",c:[c.BE]},{b:'"',e:'"'},{b:"`",e:"`",c:[c.BE]},{b:"{\\w+}",c:[],r:0},{b:"-?\\w+\\s*\\=\\>",c:[],r:0}]},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\/\\/|"+c.RSR+"|\\b(split|return|print|reverse|grep)\\b)\\s*",k:"split return print reverse grep",r:0,c:[c.HCM,e,{cN:"regexp",b:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",r:10},{cN:"regexp",b:"(m|qr)?/",e:"/[a-z]*",c:[c.BE],r:0}]},{cN:"sub",bK:"sub",e:"(\\s*\\(.*?\\))?[;{]",r:5},{cN:"operator",b:"-\\w\\b",r:0}];f.c=b;g.c=b;return{k:d,c:b}});hljs.registerLanguage("objectivec",function(a){var d={keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign self synchronized id nonatomic super unichar IBOutlet IBAction strong weak @private @protected @public @try @property @end @throw @catch @finally @synthesize @dynamic @selector @optional @required",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"NSString NSDictionary CGRect CGPoint UIButton UILabel UITextView UIWebView MKMapView UISegmentedControl NSObject UITableViewDelegate UITableViewDataSource NSThread UIActivityIndicator UITabbar UIToolBar UIBarButtonItem UIImageView NSAutoreleasePool UITableView BOOL NSInteger CGFloat NSException NSLog NSMutableString NSMutableArray NSMutableDictionary NSURL NSIndexPath CGSize UITableViewCell UIView UIViewController UINavigationBar UINavigationController UITabBarController UIPopoverController UIPopoverControllerDelegate UIImage NSNumber UISearchBar NSFetchedResultsController NSFetchedResultsChangeType UIScrollView UIScrollViewDelegate UIEdgeInsets UIColor UIFont UIApplication NSNotFound NSNotificationCenter NSNotification UILocalNotification NSBundle NSFileManager NSTimeInterval NSDate NSCalendar NSUserDefaults UIWindow NSRange NSArray NSError NSURLRequest NSURLConnection UIInterfaceOrientation MPMoviePlayerController dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"};var c=/[a-zA-Z@][a-zA-Z0-9_]*/;var b="@interface @class @protocol @implementation";return{k:d,l:c,i:"</",c:[a.CLCM,a.CBLCLM,a.CNM,a.QSM,{cN:"string",b:"'",e:"[^\\\\]'",i:"[^\\\\][^']"},{cN:"preprocessor",b:"#import",e:"$",c:[{cN:"title",b:'"',e:'"'},{cN:"title",b:"<",e:">"}]},{cN:"preprocessor",b:"#",e:"$"},{cN:"class",b:"("+b.split(" ").join("|")+")\\b",e:"({|$)",k:b,l:c,c:[a.UTM]},{cN:"variable",b:"\\."+a.UIR,r:0}]}});hljs.registerLanguage("coffeescript",function(c){var b={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super then unless until loop of by when and or is isnt not",literal:"true false null undefined yes no on off",reserved:"case default function var void with const let enum export import native __hasProp __extends __slice __bind __indexOf",built_in:"npm require console print module exports global window document"};var a="[A-Za-z$_][0-9A-Za-z$_]*";var f=c.inherit(c.TM,{b:a});var e={cN:"subst",b:/#\{/,e:/}/,k:b};var d=[c.BNM,c.inherit(c.CNM,{starts:{e:"(\\s*/)?",r:0}}),{cN:"string",v:[{b:/'''/,e:/'''/,c:[c.BE]},{b:/'/,e:/'/,c:[c.BE]},{b:/"""/,e:/"""/,c:[c.BE,e]},{b:/"/,e:/"/,c:[c.BE,e]}]},{cN:"regexp",v:[{b:"///",e:"///",c:[e,c.HCM]},{b:"//[gim]*",r:0},{b:"/\\S(\\\\.|[^\\n])*?/[gim]*(?=\\s|\\W|$)"}]},{cN:"property",b:"@"+a},{b:"`",e:"`",eB:true,eE:true,sL:"javascript"}];e.c=d;return{k:b,c:d.concat([{cN:"comment",b:"###",e:"###"},c.HCM,{cN:"function",b:"("+a+"\\s*=\\s*)?(\\(.*\\))?\\s*\\B[-=]>",e:"[-=]>",rB:true,c:[f,{cN:"params",b:"\\(",rB:true,c:[{b:/\(/,e:/\)/,k:b,c:["self"].concat(d)}]}]},{cN:"class",bK:"class",e:"$",i:/[:="\[\]]/,c:[{bK:"extends",eW:true,i:/[:="\[\]]/,c:[f]},f]},{cN:"attribute",b:a+":",e:":",rB:true,eE:true,r:0}])}});hljs.registerLanguage("nginx",function(c){var b={cN:"variable",v:[{b:/\$\d+/},{b:/\$\{/,e:/}/},{b:"[\\$\\@]"+c.UIR}]};var a={eW:true,l:"[a-z/_]+",k:{built_in:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},r:0,i:"=>",c:[c.HCM,{cN:"string",c:[c.BE,b],v:[{b:/"/,e:/"/},{b:/'/,e:/'/}]},{cN:"url",b:"([a-z]+):/",e:"\\s",eW:true,eE:true},{cN:"regexp",c:[c.BE,b],v:[{b:"\\s\\^",e:"\\s|{|;",rE:true},{b:"~\\*?\\s+",e:"\\s|{|;",rE:true},{b:"\\*(\\.[a-z\\-]+)+"},{b:"([a-z\\-]+\\.)+\\*"}]},{cN:"number",b:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{cN:"number",b:"\\b\\d+[kKmMgGdshdwy]*\\b",r:0},b]};return{c:[c.HCM,{b:c.UIR+"\\s",e:";|{",rB:true,c:[c.inherit(c.UTM,{starts:a})],r:0}],i:"[^\\s\\}]"}});hljs.registerLanguage("json",function(a){var e={literal:"true false null"};var d=[a.QSM,a.CNM];var c={cN:"value",e:",",eW:true,eE:true,c:d,k:e};var b={b:"{",e:"}",c:[{cN:"attribute",b:'\\s*"',e:'"\\s*:\\s*',eB:true,eE:true,c:[a.BE],i:"\\n",starts:c}],i:"\\S"};var f={b:"\\[",e:"\\]",c:[a.inherit(c,{cN:null})],i:"\\S"};d.splice(d.length,0,b,f);return{c:d,k:e,i:"\\S"}});hljs.registerLanguage("apache",function(a){var b={cN:"number",b:"[\\$%]\\d+"};return{cI:true,c:[a.HCM,{cN:"tag",b:"</?",e:">"},{cN:"keyword",b:/\w+/,r:0,k:{common:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{e:/$/,r:0,k:{literal:"on off all"},c:[{cN:"sqbracket",b:"\\s\\[",e:"\\]$"},{cN:"cbracket",b:"[\\$%]\\{",e:"\\}",c:["self",b]},b,a.QSM]}}],i:/\S/}});hljs.registerLanguage("cpp",function(a){var b={keyword:"false int float while private char catch export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const struct for static_cast|10 union namespace unsigned long throw volatile static protected bool template mutable if public friend do return goto auto void enum else break new extern using true class asm case typeid short reinterpret_cast|10 default double register explicit signed typename try this switch continue wchar_t inline delete alignof char16_t char32_t constexpr decltype noexcept nullptr static_assert thread_local restrict _Bool complex _Complex _Imaginary",built_in:"std string cin cout cerr clog stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf"};return{aliases:["c"],k:b,i:"</",c:[a.CLCM,a.CBLCLM,a.QSM,{cN:"string",b:"'\\\\?.",e:"'",i:"."},{cN:"number",b:"\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)"},a.CNM,{cN:"preprocessor",b:"#",e:"$",c:[{b:"include\\s*<",e:">",i:"\\n"},a.CLCM]},{cN:"stl_container",b:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",e:">",k:b,r:10,c:["self"]}]}});hljs.registerLanguage("makefile",function(a){var b={cN:"variable",b:/\$\(/,e:/\)/,c:[a.BE]};return{c:[a.HCM,{b:/^\w+\s*\W*=/,rB:true,r:0,starts:{cN:"constant",e:/\s*\W*=/,eE:true,starts:{e:/$/,r:0,c:[b],}}},{cN:"title",b:/^[\w]+:\s*$/},{cN:"phony",b:/^\.PHONY:/,e:/$/,k:".PHONY",l:/[\.\w]+/},{b:/^\t+/,e:/$/,c:[a.QSM,b]}]}});
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/codesnippet/lib/highlight/styles/arta.css-114-.tail,
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/codesnippet/lib/highlight/styles/arta.css:115:.avrasm .hljs-label,
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/codesnippet/lib/highlight/styles/arta.css-116-.tex .hljs-formula,
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/codesnippet/lib/highlight/CHANGES.md-116-- Clojure now allows a function call in the beginning of s-expressions
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/codesnippet/lib/highlight/CHANGES.md:117:  `(($filter "myCount") (arr 1 2 3 4 5))`.
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/codesnippet/lib/highlight/CHANGES.md-118-- Haskell's got new keywords and now recognizes more things like pragmas,
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/jquery-jstree-3.3.7/jquery.jstree.js-82-	 * @param {DOMElement|jQuery|String} el the element to create the instance on, can be jQuery extended or a selector
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/jquery-jstree-3.3.7/jquery.jstree.js:83:	 * @param {Object} options options for this instance (extends `$.jstree.defaults`)
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/jquery-jstree-3.3.7/jquery.jstree.js-84-	 * @return {jsTree} the new instance
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/jquery-jstree-3.3.7/jquery.jstree.js-183-	 *
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/jquery-jstree-3.3.7/jquery.jstree.js:184:	 * If there is no instance associated with the current node a new one is created and `arg` is used to extend `$.jstree.defaults` for this new instance. There would be no return value (chaining is not broken).
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/jquery-jstree-3.3.7/jquery.jstree.js-185-	 *
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/jquery-jstree-3.3.7/jquery.jstree.js-187-	 *
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/jquery-jstree-3.3.7/jquery.jstree.js:188:	 * If there is an existing instance and `arg` is not a string the instance itself is returned (similar to `$.jstree.reference`).
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/jquery-jstree-3.3.7/jquery.jstree.js-189-	 *
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/nunjucks-3.0.1/nunjucks.js-2-!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.nunjucks=t():e.nunjucks=t()}(this,function(){return function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";var i=n(1),r=n(2),s=n(16),o=n(15),a=n(3);e.exports={},e.exports.Environment=r.Environment,e.exports.Template=r.Template,e.exports.Loader=s,e.exports.FileSystemLoader=o.FileSystemLoader,e.exports.PrecompiledLoader=o.PrecompiledLoader,e.exports.WebLoader=o.WebLoader,e.exports.compiler=n(7),e.exports.parser=n(8),e.exports.lexer=n(9),e.exports.runtime=n(13),e.exports.lib=i,e.exports.nodes=n(10),e.exports.installJinjaCompat=n(22);var l;e.exports.configure=function(e,t){t=t||{},i.isObject(e)&&(t=e,e=null);var n;return o.FileSystemLoader?n=new o.FileSystemLoader(e,{watch:t.watch,noCache:t.noCache}):o.WebLoader&&(n=new o.WebLoader(e,{useCache:t.web&&t.web.useCache,async:t.web&&t.web.async})),l=new r.Environment(n,t),t&&t.express&&l.express(t.express),l},e.exports.compile=function(t,n,i,r){return l||e.exports.configure(),new e.exports.Template(t,n,i,r)},e.exports.render=function(t,n,i){return l||e.exports.configure(),l.render(t,n,i)},e.exports.renderString=function(t,n,i){return l||e.exports.configure(),l.renderString(t,n,i)},a&&(e.exports.precompile=a.precompile,e.exports.precompileString=a.precompileString)},function(e,t){"use strict";var n=Array.prototype,i=Object.prototype,r={"&":"&amp;",'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;"},s=/[&"'<>]/g,o=function(e){return r[e]},t=e.exports={};t.prettifyError=function(e,n,i){if(i.Update||(i=new t.TemplateError(i)),i.Update(e),!n){var r=i;i=new Error(r.message),i.name=r.name}return i},t.TemplateError=function(e,t,n){var i=this;if(e instanceof Error){i=e,e=e.name+": "+e.message;try{i.name=""}catch(e){i=this}}else Error.captureStackTrace&&Error.captureStackTrace(i);return i.name="Template render error",i.message=e,i.lineno=t,i.colno=n,i.firstUpdate=!0,i.Update=function(e){var t="("+(e||"unknown path")+")";return this.firstUpdate&&(this.lineno&&this.colno?t+=" [Line "+this.lineno+", Column "+this.colno+"]":this.lineno&&(t+=" [Line "+this.lineno+"]")),t+="\n ",this.firstUpdate&&(t+=" "),this.message=t+(this.message||""),this.firstUpdate=!1,this},i},t.TemplateError.prototype=Error.prototype,t.escape=function(e){return e.replace(s,o)},t.isFunction=function(e){return"[object Function]"===i.toString.call(e)},t.isArray=Array.isArray||function(e){return"[object Array]"===i.toString.call(e)},t.isString=function(e){return"[object String]"===i.toString.call(e)},t.isObject=function(e){return"[object Object]"===i.toString.call(e)},t.groupBy=function(e,n){for(var i={},r=t.isFunction(n)?n:function(e){return e[n]},s=0;s<e.length;s++){var o=e[s],a=r(o,s);(i[a]||(i[a]=[])).push(o)}return i},t.toArray=function(e){return Array.prototype.slice.call(e)},t.without=function(e){var n=[];if(!e)return n;for(var i=-1,r=e.length,s=t.toArray(arguments).slice(1);++i<r;)t.indexOf(s,e[i])===-1&&n.push(e[i]);return n},t.extend=function(e,t){for(var n in t)e[n]=t[n];return e},t.repeat=function(e,t){for(var n="",i=0;i<t;i++)n+=e;return n},t.each=function(e,t,i){if(null!=e)if(n.each&&e.each===n.each)e.forEach(t,i);else if(e.length===+e.length)for(var r=0,s=e.length;r<s;r++)t.call(i,e[r],r,e)},t.map=function(e,t){var i=[];if(null==e)return i;if(n.map&&e.map===n.map)return e.map(t);for(var r=0;r<e.length;r++)i[i.length]=t(e[r],r);return e.length===+e.length&&(i.length=e.length),i},t.asyncIter=function(e,t,n){function i(){r++,r<e.length?t(e[r],r,i,n):n()}var r=-1;i()},t.asyncFor=function(e,n,i){function r(){a++;var t=s[a];a<o?n(t,e[t],a,o,r):i()}var s=t.keys(e),o=s.length,a=-1;r()},t.indexOf=Array.prototype.indexOf?function(e,t,n){return Array.prototype.indexOf.call(e,t,n)}:function(e,t,n){var i=this.length>>>0;for(n=+n||0,Math.abs(n)===1/0&&(n=0),n<0&&(n+=i,n<0&&(n=0));n<i;n++)if(e[n]===t)return n;return-1},Array.prototype.map||(Array.prototype.map=function(){throw new Error("map is unimplemented for this js engine")}),t.keys=function(e){if(Object.prototype.keys)return e.keys();var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},t.inOperator=function(e,n){if(t.isArray(n))return t.indexOf(n,e)!==-1;if(t.isObject(n))return e in n;if(t.isString(n))return n.indexOf(e)!==-1;throw new Error('Cannot use "in" operator to search for "'+e+'" in unexpected types.')}},function(e,t,n){"use strict";function i(e,t,n){o(function(){e(t,n)})}var r,s=n(3),o=n(4),a=n(1),l=n(6),c=n(7),h=n(14),u=n(15),p=n(13),f=n(18),m=n(19),d=p.Frame;u.PrecompiledLoader=n(17);var v=l.extend({init:function(e,t){t=this.opts=t||{},this.opts.dev=!!t.dev,this.opts.autoescape=null==t.autoescape||t.autoescape,this.opts.throwOnUndefined=!!t.throwOnUndefined,this.opts.trimBlocks=!!t.trimBlocks,this.opts.lstripBlocks=!!t.lstripBlocks,this.loaders=[],e?this.loaders=a.isArray(e)?e:[e]:u.FileSystemLoader?this.loaders=[new u.FileSystemLoader("views")]:u.WebLoader&&(this.loaders=[new u.WebLoader("/views")]),window.nunjucksPrecompiled&&this.loaders.unshift(new u.PrecompiledLoader(window.nunjucksPrecompiled)),this.initCache(),this.globals=f(),this.filters={},this.asyncFilters=[],this.extensions={},this.extensionsList=[];for(var n in h)this.addFilter(n,h[n])},initCache:function(){a.each(this.loaders,function(e){e.cache={},"function"==typeof e.on&&e.on("update",function(t){e.cache[t]=null})})},addExtension:function(e,t){return t._name=e,this.extensions[e]=t,this.extensionsList.push(t),this},removeExtension:function(e){var t=this.getExtension(e);t&&(this.extensionsList=a.without(this.extensionsList,t),delete this.extensions[e])},getExtension:function(e){return this.extensions[e]},hasExtension:function(e){return!!this.extensions[e]},addGlobal:function(e,t){return this.globals[e]=t,this},getGlobal:function(e){if("undefined"==typeof this.globals[e])throw new Error("global not found: "+e);return this.globals[e]},addFilter:function(e,t,n){var i=t;return n&&this.asyncFilters.push(e),this.filters[e]=i,this},getFilter:function(e){if(!this.filters[e])throw new Error("filter not found: "+e);return this.filters[e]},resolveTemplate:function(e,t,n){var i=!(!e.isRelative||!t)&&e.isRelative(n);return i&&e.resolve?e.resolve(t,n):n},getTemplate:function(e,t,n,i,s){var o=this,l=null;if(e&&e.raw&&(e=e.raw),a.isFunction(n)&&(s=n,n=null,t=t||!1),a.isFunction(t)&&(s=t,t=!1),e instanceof r)l=e;else{if("string"!=typeof e)throw new Error("template names must be a string: "+e);for(var c=0;c<this.loaders.length;c++){var h=this.resolveTemplate(this.loaders[c],n,e);if(l=this.loaders[c].cache[h])break}}if(!l){var u,p=this,f=function(n,o){if(o||n||i||(n=new Error("template not found: "+e)),n){if(!s)throw n;s(n)}else{var a;o?(a=new r(o.src,p,o.path,t),o.noCache||(o.loader.cache[e]=a)):a=new r("",p,"",t),s?s(null,a):u=a}};return a.asyncIter(this.loaders,function(t,i,r,s){function a(e,n){e?s(e):n?(n.loader=t,s(null,n)):r()}e=o.resolveTemplate(t,n,e),t.async?t.getSource(e,a):a(null,t.getSource(e))},f),u}return t&&l.compile(),s?void s(null,l):l},express:function(e){function t(e,t){if(this.name=e,this.path=e,this.defaultEngine=t.defaultEngine,this.ext=s.extname(e),!this.ext&&!this.defaultEngine)throw new Error("No default engine was specified and no extension was provided.");this.ext||(this.name+=this.ext=("."!==this.defaultEngine[0]?".":"")+this.defaultEngine)}var n=this;return t.prototype.render=function(e,t){n.render(this.name,e,t)},e.set("view",t),e.set("nunjucksEnv",this),this},render:function(e,t,n){a.isFunction(t)&&(n=t,t=null);var r=null;return this.getTemplate(e,function(e,s){if(e&&n)i(n,e);else{if(e)throw e;r=s.render(t,n)}}),r},renderString:function(e,t,n,i){a.isFunction(n)&&(i=n,n={}),n=n||{};var s=new r(e,this,n.path);return s.render(t,i)},waterfall:m}),g=l.extend({init:function(e,t,n){this.env=n||new v,this.ctx={};for(var i in e)e.hasOwnProperty(i)&&(this.ctx[i]=e[i]);this.blocks={},this.exported=[];for(var r in t)this.addBlock(r,t[r])},lookup:function(e){return e in this.env.globals&&!(e in this.ctx)?this.env.globals[e]:this.ctx[e]},setVariable:function(e,t){this.ctx[e]=t},getVariables:function(){return this.ctx},addBlock:function(e,t){return this.blocks[e]=this.blocks[e]||[],this.blocks[e].push(t),this},getBlock:function(e){if(!this.blocks[e])throw new Error('unknown block "'+e+'"');return this.blocks[e][0]},getSuper:function(e,t,n,i,r,s){var o=a.indexOf(this.blocks[t]||[],n),l=this.blocks[t][o+1],c=this;if(o===-1||!l)throw new Error('no super block available for "'+t+'"');l(e,c,i,r,s)},addExport:function(e){this.exported.push(e)},getExported:function(){for(var e={},t=0;t<this.exported.length;t++){var n=this.exported[t];e[n]=this.ctx[n]}return e}});r=l.extend({init:function(e,t,n,i){if(this.env=t||new v,a.isObject(e))switch(e.type){case"code":this.tmplProps=e.obj;break;case"string":this.tmplStr=e.obj}else{if(!a.isString(e))throw new Error("src must be a string or an object describing the source");this.tmplStr=e}if(this.path=n,i){var r=this;try{r._compile()}catch(e){throw a.prettifyError(this.path,this.env.opts.dev,e)}}else this.compiled=!1},render:function(e,t,n){"function"==typeof e?(n=e,e={}):"function"==typeof t&&(n=t,t=null);var r=!0;t&&(r=!1);var s=this;try{s.compile()}catch(e){var o=a.prettifyError(this.path,this.env.opts.dev,e);if(n)return i(n,o);throw o}var l=new g(e||{},s.blocks,s.env),c=t?t.push(!0):new d;c.topLevel=!0;var h=null;return s.rootRenderFunc(s.env,l,c||new d,p,function(e,t){if(e&&(e=a.prettifyError(s.path,s.env.opts.dev,e)),n)r?i(n,e,t):n(e,t);else{if(e)throw e;h=t}}),h},getExported:function(e,t,n){"function"==typeof e&&(n=e,e={}),"function"==typeof t&&(n=t,t=null);try{this.compile()}catch(e){if(n)return n(e);throw e}var i=t?t.push():new d;i.topLevel=!0;var r=new g(e||{},this.blocks,this.env);this.rootRenderFunc(this.env,r,i,p,function(e){e?n(e,null):n(null,r.getExported())})},compile:function(){this.compiled||this._compile()},_compile:function(){var e;if(this.tmplProps)e=this.tmplProps;else{var t=c.compile(this.tmplStr,this.env.asyncFilters,this.env.extensionsList,this.path,this.env.opts),n=new Function(t);e=n()}this.blocks=this._getBlocks(e),this.rootRenderFunc=e.root,this.compiled=!0},_getBlocks:function(e){var t={};for(var n in e)"b_"===n.slice(0,2)&&(t[n.slice(2)]=e[n]);return t}}),e.exports={Environment:v,Template:r}},function(e,t){},function(e,t,n){"use strict";function i(){if(l.length)throw l.shift()}function r(e){var t;t=a.length?a.pop():new s,t.task=e,o(t)}function s(){this.task=null}var o=n(5),a=[],l=[],c=o.makeRequestCallFromTimer(i);e.exports=r,s.prototype.call=function(){try{this.task.call()}catch(e){r.onerror?r.onerror(e):(l.push(e),c())}finally{this.task=null,a[a.length]=this}}},function(e,t){(function(t){"use strict";function n(e){a.length||(o(),l=!0),a[a.length]=e}function i(){for(;c<a.length;){var e=c;if(c+=1,a[e].call(),c>h){for(var t=0,n=a.length-c;t<n;t++)a[t]=a[t+c];a.length-=c,c=0}}a.length=0,c=0,l=!1}function r(e){var t=1,n=new p(e),i=document.createTextNode("");return n.observe(i,{characterData:!0}),function(){t=-t,i.data=t}}function s(e){return function(){function t(){clearTimeout(n),clearInterval(i),e()}var n=setTimeout(t,0),i=setInterval(t,50)}}e.exports=n;var o,a=[],l=!1,c=0,h=1024,u="undefined"!=typeof t?t:self,p=u.MutationObserver||u.WebKitMutationObserver;o="function"==typeof p?r(i):s(i),n.requestFlush=o,n.makeRequestCallFromTimer=s}).call(t,function(){return this}())},function(e,t){"use strict";function n(e,t,i){var r=function(){};r.prototype=e.prototype;var s=new r,o=/xyz/.test(function(){xyz})?/\bparent\b/:/.*/;i=i||{};for(var a in i){var l=i[a],c=s[a];"function"==typeof c&&"function"==typeof l&&o.test(l)?s[a]=function(e,t){return function(){var n=this.parent;this.parent=t;var i=e.apply(this,arguments);return this.parent=n,i}}(l,c):s[a]=l}s.typename=t;var h=function(){s.init&&s.init.apply(this,arguments)};return h.prototype=s,h.prototype.constructor=h,h.extend=function(e,t){return"object"==typeof e&&(t=e,e="anonymous"),n(h,e,t)},h}e.exports=n(Object,"Object",{})},function(e,t,n){"use strict";function i(e){return function(t,n){this.compile(t.left,n),this.emit(e),this.compile(t.right,n)}}var r=n(1),s=n(8),o=n(12),a=n(10),l=n(6),c=n(13).Frame,h={"==":"==","===":"===","!=":"!=","!==":"!==","<":"<",">":">","<=":"<=",">=":">="},u=l.extend({init:function(e,t){this.templateName=e,this.codebuf=[],this.lastId=0,this.buffer=null,this.bufferStack=[],this.scopeClosers="",this.inBlock=!1,this.throwOnUndefined=t},fail:function(e,t,n){throw void 0!==t&&(t+=1),void 0!==n&&(n+=1),new r.TemplateError(e,t,n)},pushBufferId:function(e){this.bufferStack.push(this.buffer),this.buffer=e,this.emit("var "+this.buffer+' = "";')},popBufferId:function(){this.buffer=this.bufferStack.pop()},emit:function(e){this.codebuf.push(e)},emitLine:function(e){this.emit(e+"\n")},emitLines:function(){r.each(r.toArray(arguments),function(e){this.emitLine(e)},this)},emitFuncBegin:function(e){this.buffer="output",this.scopeClosers="",this.emitLine("function "+e+"(env, context, frame, runtime, cb) {"),this.emitLine("var lineno = null;"),this.emitLine("var colno = null;"),this.emitLine("var "+this.buffer+' = "";'),this.emitLine("try {")},emitFuncEnd:function(e){e||this.emitLine("cb(null, "+this.buffer+");"),this.closeScopeLevels(),this.emitLine("} catch (e) {"),this.emitLine("  cb(runtime.handleError(e, lineno, colno));"),this.emitLine("}"),this.emitLine("}"),this.buffer=null},addScopeLevel:function(){this.scopeClosers+="})"},closeScopeLevels:function(){this.emitLine(this.scopeClosers+";"),this.scopeClosers=""},withScopedSyntax:function(e){var t=this.scopeClosers;this.scopeClosers="",e.call(this),this.closeScopeLevels(),this.scopeClosers=t},makeCallback:function(e){var t=this.tmpid();return"function("+t+(e?","+e:"")+") {\nif("+t+") { cb("+t+"); return; }"},tmpid:function(){return this.lastId++,"t_"+this.lastId},_templateName:function(){return null==this.templateName?"undefined":JSON.stringify(this.templateName)},_compileChildren:function(e,t){for(var n=e.children,i=0,r=n.length;i<r;i++)this.compile(n[i],t)},_compileAggregate:function(e,t,n,i){n&&this.emit(n);for(var r=0;r<e.children.length;r++)r>0&&this.emit(","),this.compile(e.children[r],t);i&&this.emit(i)},_compileExpression:function(e,t){this.assertType(e,a.Literal,a.Symbol,a.Group,a.Array,a.Dict,a.FunCall,a.Caller,a.Filter,a.LookupVal,a.Compare,a.InlineIf,a.In,a.And,a.Or,a.Not,a.Add,a.Concat,a.Sub,a.Mul,a.Div,a.FloorDiv,a.Mod,a.Pow,a.Neg,a.Pos,a.Compare,a.NodeList),this.compile(e,t)},assertType:function(e){for(var t=r.toArray(arguments).slice(1),n=!1,i=0;i<t.length;i++)e instanceof t[i]&&(n=!0);n||this.fail("assertType: invalid type: "+e.typename,e.lineno,e.colno)},compileCallExtension:function(e,t,n){var i=e.args,s=e.contentArgs,o="boolean"!=typeof e.autoescape||e.autoescape;if(n||this.emit(this.buffer+" += runtime.suppressValue("),this.emit('env.getExtension("'+e.extName+'")["'+e.prop+'"]('),this.emit("context"),(i||s)&&this.emit(","),i&&(i instanceof a.NodeList||this.fail("compileCallExtension: arguments must be a NodeList, use `parser.parseSignature`"),r.each(i.children,function(e,n){this._compileExpression(e,t),(n!==i.children.length-1||s.length)&&this.emit(",")},this)),s.length&&r.each(s,function(e,n){if(n>0&&this.emit(","),e){var i=this.tmpid();this.emitLine("function(cb) {"),this.emitLine("if(!cb) { cb = function(err) { if(err) { throw err; }}}"),this.pushBufferId(i),this.withScopedSyntax(function(){this.compile(e,t),this.emitLine("cb(null, "+i+");")}),this.popBufferId(),this.emitLine("return "+i+";"),this.emitLine("}")}else this.emit("null")},this),n){var l=this.tmpid();this.emitLine(", "+this.makeCallback(l)),this.emitLine(this.buffer+" += runtime.suppressValue("+l+", "+o+" && env.opts.autoescape);"),this.addScopeLevel()}else this.emit(")"),this.emit(", "+o+" && env.opts.autoescape);\n")},compileCallExtensionAsync:function(e,t){this.compileCallExtension(e,t,!0)},compileNodeList:function(e,t){this._compileChildren(e,t)},compileLiteral:function(e){if("string"==typeof e.value){var t=e.value.replace(/\\/g,"\\\\");t=t.replace(/"/g,'\\"'),t=t.replace(/\n/g,"\\n"),t=t.replace(/\r/g,"\\r"),t=t.replace(/\t/g,"\\t"),this.emit('"'+t+'"')}else null===e.value?this.emit("null"):this.emit(e.value.toString())},compileSymbol:function(e,t){var n,i=e.value;(n=t.lookup(i))?this.emit(n):this.emit('runtime.contextOrFrameLookup(context, frame, "'+i+'")')},compileGroup:function(e,t){this._compileAggregate(e,t,"(",")")},compileArray:function(e,t){this._compileAggregate(e,t,"[","]")},compileDict:function(e,t){this._compileAggregate(e,t,"{","}")},compilePair:function(e,t){var n=e.key,i=e.value;n instanceof a.Symbol?n=new a.Literal(n.lineno,n.colno,n.value):n instanceof a.Literal&&"string"==typeof n.value||this.fail("compilePair: Dict keys must be strings or names",n.lineno,n.colno),this.compile(n,t),this.emit(": "),this._compileExpression(i,t)},compileInlineIf:function(e,t){this.emit("("),this.compile(e.cond,t),this.emit("?"),this.compile(e.body,t),this.emit(":"),null!==e.else_?this.compile(e.else_,t):this.emit('""'),this.emit(")")},compileIn:function(e,t){this.emit("runtime.inOperator("),this.compile(e.left,t),this.emit(","),this.compile(e.right,t),this.emit(")")},compileOr:i(" || "),compileAnd:i(" && "),compileAdd:i(" + "),compileConcat:i(' + "" + '),compileSub:i(" - "),compileMul:i(" * "),compileDiv:i(" / "),compileMod:i(" % "),compileNot:function(e,t){this.emit("!"),this.compile(e.target,t)},compileFloorDiv:function(e,t){this.emit("Math.floor("),this.compile(e.left,t),this.emit(" / "),this.compile(e.right,t),this.emit(")")},compilePow:function(e,t){this.emit("Math.pow("),this.compile(e.left,t),this.emit(", "),this.compile(e.right,t),this.emit(")")},compileNeg:function(e,t){this.emit("-"),this.compile(e.target,t)},compilePos:function(e,t){this.emit("+"),this.compile(e.target,t)},compileCompare:function(e,t){this.compile(e.expr,t);for(var n=0;n<e.ops.length;n++){var i=e.ops[n];this.emit(" "+h[i.type]+" "),this.compile(i.expr,t)}},compileLookupVal:function(e,t){this.emit("runtime.memberLookup(("),this._compileExpression(e.target,t),this.emit("),"),this._compileExpression(e.val,t),this.emit(")")},_getNodeName:function(e){switch(e.typename){case"Symbol":return e.value;case"FunCall":return"the return value of ("+this._getNodeName(e.name)+")";case"LookupVal":return this._getNodeName(e.target)+'["'+this._getNodeName(e.val)+'"]';case"Literal":return e.value.toString();default:return"--expression--"}},compileFunCall:function(e,t){this.emit("(lineno = "+e.lineno+", colno = "+e.colno+", "),this.emit("runtime.callWrap("),this._compileExpression(e.name,t),this.emit(', "'+this._getNodeName(e.name).replace(/"/g,'\\"')+'", context, '),this._compileAggregate(e.args,t,"[","])"),this.emit(")")},compileFilter:function(e,t){var n=e.name;this.assertType(n,a.Symbol),this.emit('env.getFilter("'+n.value+'").call(context, '),this._compileAggregate(e.args,t),this.emit(")")},compileFilterAsync:function(e,t){var n=e.name;this.assertType(n,a.Symbol);var i=e.symbol.value;t.set(i,i),this.emit('env.getFilter("'+n.value+'").call(context, '),this._compileAggregate(e.args,t),this.emitLine(", "+this.makeCallback(i)),this.addScopeLevel()},compileKeywordArgs:function(e,t){var n=[];r.each(e.children,function(e){n.push(e.key.value)}),this.emit("runtime.makeKeywordArgs("),this.compileDict(e,t),this.emit(")")},compileSet:function(e,t){var n=[];r.each(e.targets,function(e){var i=e.value,r=t.lookup(i);null!==r&&void 0!==r||(r=this.tmpid(),this.emitLine("var "+r+";")),n.push(r)},this),e.value?(this.emit(n.join(" = ")+" = "),this._compileExpression(e.value,t),this.emitLine(";")):(this.emit(n.join(" = ")+" = "),this.compile(e.body,t),this.emitLine(";")),r.each(e.targets,function(e,t){var i=n[t],r=e.value;this.emitLine('frame.set("'+r+'", '+i+", true);"),this.emitLine("if(frame.topLevel) {"),this.emitLine('context.setVariable("'+r+'", '+i+");"),this.emitLine("}"),"_"!==r.charAt(0)&&(this.emitLine("if(frame.topLevel) {"),this.emitLine('context.addExport("'+r+'", '+i+");"),this.emitLine("}"))},this)},compileIf:function(e,t,n){this.emit("if("),this._compileExpression(e.cond,t),this.emitLine(") {"),this.withScopedSyntax(function(){this.compile(e.body,t),n&&this.emit("cb()")}),e.else_?(this.emitLine("}\nelse {"),this.withScopedSyntax(function(){this.compile(e.else_,t),n&&this.emit("cb()")})):n&&(this.emitLine("}\nelse {"),this.emit("cb()")),this.emitLine("}")},compileIfAsync:function(e,t){this.emit("(function(cb) {"),this.compileIf(e,t,!0),this.emit("})("+this.makeCallback()),this.addScopeLevel()},emitLoopBindings:function(e,t,n,i){var r={index:n+" + 1",index0:n,revindex:i+" - "+n,revindex0:i+" - "+n+" - 1",first:n+" === 0",last:n+" === "+i+" - 1",length:i};for(var s in r)this.emitLine('frame.set("loop.'+s+'", '+r[s]+");")},compileFor:function(e,t){var n,i=this.tmpid(),r=this.tmpid(),s=this.tmpid();if(t=t.push(),this.emitLine("frame = frame.push();"),this.emit("var "+s+" = "),this._compileExpression(e.arr,t),this.emitLine(";"),this.emit("if("+s+") {"),e.name instanceof a.Array){this.emitLine("var "+i+";"),this.emitLine("if(runtime.isArray("+s+")) {"),this.emitLine("var "+r+" = "+s+".length;"),this.emitLine("for("+i+"=0; "+i+" < "+s+".length; "+i+"++) {");for(var o=0;o<e.name.children.length;o++){var l=this.tmpid();this.emitLine("var "+l+" = "+s+"["+i+"]["+o+"]"),this.emitLine('frame.set("'+e.name.children[o].value+'", '+s+"["+i+"]["+o+"]);"),t.set(e.name.children[o].value,l)}this.emitLoopBindings(e,s,i,r),this.withScopedSyntax(function(){this.compile(e.body,t)}),this.emitLine("}"),this.emitLine("} else {");var c=e.name.children[0],h=e.name.children[1],u=this.tmpid();n=this.tmpid(),t.set(c.value,u),t.set(h.value,n),this.emitLine(i+" = -1;"),this.emitLine("var "+r+" = runtime.keys("+s+").length;"),this.emitLine("for(var "+u+" in "+s+") {"),this.emitLine(i+"++;"),this.emitLine("var "+n+" = "+s+"["+u+"];"),this.emitLine('frame.set("'+c.value+'", '+u+");"),this.emitLine('frame.set("'+h.value+'", '+n+");"),this.emitLoopBindings(e,s,i,r),this.withScopedSyntax(function(){this.compile(e.body,t)}),this.emitLine("}"),this.emitLine("}")}else n=this.tmpid(),t.set(e.name.value,n),this.emitLine("var "+r+" = "+s+".length;"),this.emitLine("for(var "+i+"=0; "+i+" < "+s+".length; "+i+"++) {"),this.emitLine("var "+n+" = "+s+"["+i+"];"),this.emitLine('frame.set("'+e.name.value+'", '+n+");"),this.emitLoopBindings(e,s,i,r),this.withScopedSyntax(function(){this.compile(e.body,t)}),this.emitLine("}");this.emitLine("}"),e.else_&&(this.emitLine("if (!"+r+") {"),this.compile(e.else_,t),this.emitLine("}")),this.emitLine("frame = frame.pop();")},_compileAsyncLoop:function(e,t,n){var i=this.tmpid(),s=this.tmpid(),o=this.tmpid(),l=n?"asyncAll":"asyncEach";if(t=t.push(),this.emitLine("frame = frame.push();"),this.emit("var "+o+" = "),this._compileExpression(e.arr,t),this.emitLine(";"),e.name instanceof a.Array)this.emit("runtime."+l+"("+o+", "+e.name.children.length+", function("),r.each(e.name.children,function(e){this.emit(e.value+",")},this),this.emit(i+","+s+",next) {"),r.each(e.name.children,function(e){var n=e.value;t.set(n,n),this.emitLine('frame.set("'+n+'", '+n+");")},this);else{var c=e.name.value;this.emitLine("runtime."+l+"("+o+", 1, function("+c+", "+i+", "+s+",next) {"),this.emitLine('frame.set("'+c+'", '+c+");"),t.set(c,c)}this.emitLoopBindings(e,o,i,s),this.withScopedSyntax(function(){var r;n&&(r=this.tmpid(),this.pushBufferId(r)),this.compile(e.body,t),this.emitLine("next("+i+(r?","+r:"")+");"),n&&this.popBufferId()});var h=this.tmpid();this.emitLine("}, "+this.makeCallback(h)),this.addScopeLevel(),n&&this.emitLine(this.buffer+" += "+h+";"),e.else_&&(this.emitLine("if (!"+o+".length) {"),this.compile(e.else_,t),this.emitLine("}")),this.emitLine("frame = frame.pop();")},compileAsyncEach:function(e,t){this._compileAsyncLoop(e,t)},compileAsyncAll:function(e,t){this._compileAsyncLoop(e,t,!0)},_compileMacro:function(e,t){var n=[],i=null,s="macro_"+this.tmpid(),o=void 0!==t;r.each(e.args.children,function(t,r){r===e.args.children.length-1&&t instanceof a.Dict?i=t:(this.assertType(t,a.Symbol),n.push(t))},this);var l=r.map(n,function(e){return"l_"+e.value});l.push("kwargs");var h=r.map(n,function(e){return'"'+e.value+'"'}),u=r.map(i&&i.children||[],function(e){return'"'+e.key.value+'"'});t=o?t.push(!0):new c,this.emitLines("var "+s+" = runtime.makeMacro(","["+h.join(", ")+"], ","["+u.join(", ")+"], ","function ("+l.join(", ")+") {","var callerFrame = frame;","frame = "+(o?"frame.push(true);":"new runtime.Frame();"),"kwargs = kwargs || {};",'if (kwargs.hasOwnProperty("caller")) {','frame.set("caller", kwargs.caller); }'),r.each(n,function(e){this.emitLine('frame.set("'+e.value+'", l_'+e.value+");"),t.set(e.value,"l_"+e.value)},this),i&&r.each(i.children,function(e){var n=e.key.value;this.emit('frame.set("'+n+'", kwargs.hasOwnProperty("'+n+'") ? kwargs["'+n+'"] : '),this._compileExpression(e.value,t),this.emitLine(");")},this);var p=this.tmpid();return this.pushBufferId(p),this.withScopedSyntax(function(){this.compile(e.body,t)}),this.emitLine("frame = "+(o?"frame.pop();":"callerFrame;")),this.emitLine("return new runtime.SafeString("+p+");"),this.emitLine("});"),this.popBufferId(),s},compileMacro:function(e,t){var n=this._compileMacro(e),i=e.name.value;t.set(i,n),t.parent?this.emitLine('frame.set("'+i+'", '+n+");"):("_"!==e.name.value.charAt(0)&&this.emitLine('context.addExport("'+i+'");'),this.emitLine('context.setVariable("'+i+'", '+n+");"))},compileCaller:function(e,t){this.emit("(function (){");var n=this._compileMacro(e,t);this.emit("return "+n+";})()")},compileImport:function(e,t){var n=this.tmpid(),i=e.target.value;this.emit("env.getTemplate("),this._compileExpression(e.template,t),this.emitLine(", false, "+this._templateName()+", false, "+this.makeCallback(n)),this.addScopeLevel(),this.emitLine(n+".getExported("+(e.withContext?"context.getVariables(), frame, ":"")+this.makeCallback(n)),this.addScopeLevel(),t.set(i,n),t.parent?this.emitLine('frame.set("'+i+'", '+n+");"):this.emitLine('context.setVariable("'+i+'", '+n+");")},compileFromImport:function(e,t){var n=this.tmpid();this.emit("env.getTemplate("),this._compileExpression(e.template,t),this.emitLine(", false, "+this._templateName()+", false, "+this.makeCallback(n)),this.addScopeLevel(),this.emitLine(n+".getExported("+(e.withContext?"context.getVariables(), frame, ":"")+this.makeCallback(n)),this.addScopeLevel(),r.each(e.names.children,function(e){var i,r,s=this.tmpid();e instanceof a.Pair?(i=e.key.value,r=e.value.value):(i=e.value,r=i),this.emitLine("if("+n+'.hasOwnProperty("'+i+'")) {'),this.emitLine("var "+s+" = "+n+"."+i+";"),this.emitLine("} else {"),this.emitLine("cb(new Error(\"cannot import '"+i+"'\")); return;"),this.emitLine("}"),t.set(r,s),t.parent?this.emitLine('frame.set("'+r+'", '+s+");"):this.emitLine('context.setVariable("'+r+'", '+s+");")},this)},compileBlock:function(e){var t=this.tmpid();this.inBlock||this.emit('(parentTemplate ? function(e, c, f, r, cb) { cb(""); } : '),this.emit('context.getBlock("'+e.name.value+'")'),this.inBlock||this.emit(")"),this.emitLine("(env, context, frame, runtime, "+this.makeCallback(t)),this.emitLine(this.buffer+" += "+t+";"),this.addScopeLevel()},compileSuper:function(e,t){var n=e.blockName.value,i=e.symbol.value;this.emitLine('context.getSuper(env, "'+n+'", b_'+n+", frame, runtime, "+this.makeCallback(i)),this.emitLine(i+" = runtime.markSafe("+i+");"),this.addScopeLevel(),t.set(i,i)},compileExtends:function(e,t){var n=this.tmpid();this.emit("env.getTemplate("),this._compileExpression(e.template,t),this.emitLine(", true, "+this._templateName()+", false, "+this.makeCallback("_parentTemplate")),this.emitLine("parentTemplate = _parentTemplate"),this.emitLine("for(var "+n+" in parentTemplate.blocks) {"),this.emitLine("context.addBlock("+n+", parentTemplate.blocks["+n+"]);"),this.emitLine("}"),this.addScopeLevel()},compileInclude:function(e,t){var n=this.tmpid(),i=this.tmpid();this.emitLine("var tasks = [];"),this.emitLine("tasks.push("),this.emitLine("function(callback) {"),this.emit("env.getTemplate("),this._compileExpression(e.template,t),this.emitLine(", false, "+this._templateName()+", "+e.ignoreMissing+", "+this.makeCallback(n)),this.emitLine("callback(null,"+n+");});"),this.emitLine("});"),this.emitLine("tasks.push("),this.emitLine("function(template, callback){"),this.emitLine("template.render(context.getVariables(), frame, "+this.makeCallback(i)),this.emitLine("callback(null,"+i+");});"),this.emitLine("});"),this.emitLine("tasks.push("),this.emitLine("function(result, callback){"),this.emitLine(this.buffer+" += result;"),this.emitLine("callback(null);"),this.emitLine("});"),this.emitLine("env.waterfall(tasks, function(){"),this.addScopeLevel()},compileTemplateData:function(e,t){this.compileLiteral(e,t)},compileCapture:function(e,t){var n=this.buffer;this.buffer="output",this.emitLine("(function() {"),this.emitLine('var output = "";'),this.withScopedSyntax(function(){this.compile(e.body,t)}),this.emitLine("return output;"),this.emitLine("})()"),this.buffer=n},compileOutput:function(e,t){for(var n=e.children,i=0,r=n.length;i<r;i++)n[i]instanceof a.TemplateData?n[i].value&&(this.emit(this.buffer+" += "),this.compileLiteral(n[i],t),this.emitLine(";")):(this.emit(this.buffer+" += runtime.suppressValue("),this.throwOnUndefined&&this.emit("runtime.ensureDefined("),this.compile(n[i],t),this.throwOnUndefined&&this.emit(","+e.lineno+","+e.colno+")"),this.emit(", env.opts.autoescape);\n"))},compileRoot:function(e,t){t&&this.fail("compileRoot: root node can't have frame"),t=new c,this.emitFuncBegin("root"),this.emitLine("var parentTemplate = null;"),this._compileChildren(e,t),this.emitLine("if(parentTemplate) {"),this.emitLine("parentTemplate.rootRenderFunc(env, context, frame, runtime, cb);"),this.emitLine("} else {"),this.emitLine("cb(null, "+this.buffer+");"),this.emitLine("}"),this.emitFuncEnd(!0),this.inBlock=!0;var n,i,r,s=[],o=e.findAll(a.Block);for(n=0;n<o.length;n++){if(r=o[n],i=r.name.value,s.indexOf(i)!==-1)throw new Error('Block "'+i+'" defined more than once.');s.push(i),this.emitFuncBegin("b_"+i);var l=new c;this.emitLine("var frame = frame.push(true);"),this.compile(r.body,l),this.emitFuncEnd()}for(this.emitLine("return {"),n=0;n<o.length;n++)r=o[n],i="b_"+r.name.value,this.emitLine(i+": "+i+",");this.emitLine("root: root\n};")},compile:function(e,t){var n=this["compile"+e.typename];n?n.call(this,e,t):this.fail("compile: Cannot compile node: "+e.typename,e.lineno,e.colno)},getCode:function(){return this.codebuf.join("")}});e.exports={compile:function(e,t,n,i,r){var a=new u(i,r.throwOnUndefined);if(n&&n.length)for(var l=0;l<n.length;l++)"preprocess"in n[l]&&(e=n[l].preprocess(e,i));return a.compile(o.transform(s.parse(e,n,r),t,i)),a.getCode()},Compiler:u}},function(e,t,n){"use strict";var i=n(9),r=n(10),s=n(6),o=n(1),a=s.extend({init:function(e){this.tokens=e,this.peeked=null,this.breakOnBlocks=null,this.dropLeadingWhitespace=!1,this.extensions=[]},nextToken:function(e){var t;if(this.peeked){if(e||this.peeked.type!==i.TOKEN_WHITESPACE)return t=this.peeked,this.peeked=null,t;this.peeked=null}if(t=this.tokens.nextToken(),!e)for(;t&&t.type===i.TOKEN_WHITESPACE;)t=this.tokens.nextToken();return t},peekToken:function(){return this.peeked=this.peeked||this.nextToken(),this.peeked},pushToken:function(e){if(this.peeked)throw new Error("pushToken: can only push one token on between reads");this.peeked=e},fail:function(e,t,n){if((void 0===t||void 0===n)&&this.peekToken()){var i=this.peekToken();t=i.lineno,n=i.colno}throw void 0!==t&&(t+=1),void 0!==n&&(n+=1),new o.TemplateError(e,t,n)},skip:function(e){var t=this.nextToken();return!(!t||t.type!==e)||(this.pushToken(t),!1)},expect:function(e){var t=this.nextToken();return t.type!==e&&this.fail("expected "+e+", got "+t.type,t.lineno,t.colno),
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/nunjucks-3.0.1/nunjucks.js:3:t},skipValue:function(e,t){var n=this.nextToken();return!(!n||n.type!==e||n.value!==t)||(this.pushToken(n),!1)},skipSymbol:function(e){return this.skipValue(i.TOKEN_SYMBOL,e)},advanceAfterBlockEnd:function(e){var t;return e||(t=this.peekToken(),t||this.fail("unexpected end of file"),t.type!==i.TOKEN_SYMBOL&&this.fail("advanceAfterBlockEnd: expected symbol token or explicit name to be passed"),e=this.nextToken().value),t=this.nextToken(),t&&t.type===i.TOKEN_BLOCK_END?"-"===t.value.charAt(0)&&(this.dropLeadingWhitespace=!0):this.fail("expected block end in "+e+" statement"),t},advanceAfterVariableEnd:function(){var e=this.nextToken();e&&e.type===i.TOKEN_VARIABLE_END?this.dropLeadingWhitespace="-"===e.value.charAt(e.value.length-this.tokens.tags.VARIABLE_END.length-1):(this.pushToken(e),this.fail("expected variable end"))},parseFor:function(){var e,t,n=this.peekToken();this.skipSymbol("for")?(e=new r.For(n.lineno,n.colno),t="endfor"):this.skipSymbol("asyncEach")?(e=new r.AsyncEach(n.lineno,n.colno),t="endeach"):this.skipSymbol("asyncAll")?(e=new r.AsyncAll(n.lineno,n.colno),t="endall"):this.fail("parseFor: expected for{Async}",n.lineno,n.colno),e.name=this.parsePrimary(),e.name instanceof r.Symbol||this.fail("parseFor: variable name expected for loop");var s=this.peekToken().type;if(s===i.TOKEN_COMMA){var o=e.name;for(e.name=new r.Array(o.lineno,o.colno),e.name.addChild(o);this.skip(i.TOKEN_COMMA);){var a=this.parsePrimary();e.name.addChild(a)}}return this.skipSymbol("in")||this.fail('parseFor: expected "in" keyword for loop',n.lineno,n.colno),e.arr=this.parseExpression(),this.advanceAfterBlockEnd(n.value),e.body=this.parseUntilBlocks(t,"else"),this.skipSymbol("else")&&(this.advanceAfterBlockEnd("else"),e.else_=this.parseUntilBlocks(t)),this.advanceAfterBlockEnd(),e},parseMacro:function(){var e=this.peekToken();this.skipSymbol("macro")||this.fail("expected macro");var t=this.parsePrimary(!0),n=this.parseSignature(),i=new r.Macro(e.lineno,e.colno,t,n);return this.advanceAfterBlockEnd(e.value),i.body=this.parseUntilBlocks("endmacro"),this.advanceAfterBlockEnd(),i},parseCall:function(){var e=this.peekToken();this.skipSymbol("call")||this.fail("expected call");var t=this.parseSignature(!0)||new r.NodeList,n=this.parsePrimary();this.advanceAfterBlockEnd(e.value);var i=this.parseUntilBlocks("endcall");this.advanceAfterBlockEnd();var s=new r.Symbol(e.lineno,e.colno,"caller"),o=new r.Caller(e.lineno,e.colno,s,t,i),a=n.args.children;a[a.length-1]instanceof r.KeywordArgs||a.push(new r.KeywordArgs);var l=a[a.length-1];return l.addChild(new r.Pair(e.lineno,e.colno,s,o)),new r.Output(e.lineno,e.colno,[n])},parseWithContext:function(){var e=this.peekToken(),t=null;return this.skipSymbol("with")?t=!0:this.skipSymbol("without")&&(t=!1),null!==t&&(this.skipSymbol("context")||this.fail("parseFrom: expected context after with/without",e.lineno,e.colno)),t},parseImport:function(){var e=this.peekToken();this.skipSymbol("import")||this.fail("parseImport: expected import",e.lineno,e.colno);var t=this.parseExpression();this.skipSymbol("as")||this.fail('parseImport: expected "as" keyword',e.lineno,e.colno);var n=this.parseExpression(),i=this.parseWithContext(),s=new r.Import(e.lineno,e.colno,t,n,i);return this.advanceAfterBlockEnd(e.value),s},parseFrom:function(){var e=this.peekToken();this.skipSymbol("from")||this.fail("parseFrom: expected from");var t=this.parseExpression();this.skipSymbol("import")||this.fail("parseFrom: expected import",e.lineno,e.colno);for(var n,s=new r.NodeList;;){var o=this.peekToken();if(o.type===i.TOKEN_BLOCK_END){s.children.length||this.fail("parseFrom: Expected at least one import name",e.lineno,e.colno),"-"===o.value.charAt(0)&&(this.dropLeadingWhitespace=!0),this.nextToken();break}s.children.length>0&&!this.skip(i.TOKEN_COMMA)&&this.fail("parseFrom: expected comma",e.lineno,e.colno);var a=this.parsePrimary();if("_"===a.value.charAt(0)&&this.fail("parseFrom: names starting with an underscore cannot be imported",a.lineno,a.colno),this.skipSymbol("as")){var l=this.parsePrimary();s.addChild(new r.Pair(a.lineno,a.colno,a,l))}else s.addChild(a);n=this.parseWithContext()}return new r.FromImport(e.lineno,e.colno,t,s,n)},parseBlock:function(){var e=this.peekToken();this.skipSymbol("block")||this.fail("parseBlock: expected block",e.lineno,e.colno);var t=new r.Block(e.lineno,e.colno);t.name=this.parsePrimary(),t.name instanceof r.Symbol||this.fail("parseBlock: variable name expected",e.lineno,e.colno),this.advanceAfterBlockEnd(e.value),t.body=this.parseUntilBlocks("endblock"),this.skipSymbol("endblock"),this.skipSymbol(t.name.value);var n=this.peekToken();return n||this.fail("parseBlock: expected endblock, got end of file"),this.advanceAfterBlockEnd(n.value),t},parseExtends:function(){var e="extends",t=this.peekToken();this.skipSymbol(e)||this.fail("parseTemplateRef: expected "+e);var n=new r.Extends(t.lineno,t.colno);return n.template=this.parseExpression(),this.advanceAfterBlockEnd(t.value),n},parseInclude:function(){var e="include",t=this.peekToken();this.skipSymbol(e)||this.fail("parseInclude: expected "+e);var n=new r.Include(t.lineno,t.colno);return n.template=this.parseExpression(),this.skipSymbol("ignore")&&this.skipSymbol("missing")&&(n.ignoreMissing=!0),this.advanceAfterBlockEnd(t.value),n},parseIf:function(){var e,t=this.peekToken();this.skipSymbol("if")||this.skipSymbol("elif")||this.skipSymbol("elseif")?e=new r.If(t.lineno,t.colno):this.skipSymbol("ifAsync")?e=new r.IfAsync(t.lineno,t.colno):this.fail("parseIf: expected if, elif, or elseif",t.lineno,t.colno),e.cond=this.parseExpression(),this.advanceAfterBlockEnd(t.value),e.body=this.parseUntilBlocks("elif","elseif","else","endif");var n=this.peekToken();switch(n&&n.value){case"elseif":case"elif":e.else_=this.parseIf();break;case"else":this.advanceAfterBlockEnd(),e.else_=this.parseUntilBlocks("endif"),this.advanceAfterBlockEnd();break;case"endif":e.else_=null,this.advanceAfterBlockEnd();break;default:this.fail("parseIf: expected elif, else, or endif, got end of file")}return e},parseSet:function(){var e=this.peekToken();this.skipSymbol("set")||this.fail("parseSet: expected set",e.lineno,e.colno);for(var t,n=new r.Set(e.lineno,e.colno,[]);(t=this.parsePrimary())&&(n.targets.push(t),this.skip(i.TOKEN_COMMA)););return this.skipValue(i.TOKEN_OPERATOR,"=")?(n.value=this.parseExpression(),this.advanceAfterBlockEnd(e.value)):this.skip(i.TOKEN_BLOCK_END)?(n.body=new r.Capture(e.lineno,e.colno,this.parseUntilBlocks("endset")),n.value=null,this.advanceAfterBlockEnd()):this.fail("parseSet: expected = or block end in set tag",e.lineno,e.colno),n},parseStatement:function(){var e,t=this.peekToken();if(t.type!==i.TOKEN_SYMBOL&&this.fail("tag name expected",t.lineno,t.colno),this.breakOnBlocks&&o.indexOf(this.breakOnBlocks,t.value)!==-1)return null;switch(t.value){case"raw":return this.parseRaw();case"verbatim":return this.parseRaw("verbatim");case"if":case"ifAsync":return this.parseIf();case"for":case"asyncEach":case"asyncAll":return this.parseFor();case"block":return this.parseBlock();case"extends":return this.parseExtends();case"include":return this.parseInclude();case"set":return this.parseSet();case"macro":return this.parseMacro();case"call":return this.parseCall();case"import":return this.parseImport();case"from":return this.parseFrom();case"filter":return this.parseFilterStatement();default:if(this.extensions.length)for(var n=0;n<this.extensions.length;n++){var s=this.extensions[n];if(o.indexOf(s.tags||[],t.value)!==-1)return s.parse(this,r,i)}this.fail("unknown block tag: "+t.value,t.lineno,t.colno)}return e},parseRaw:function(e){e=e||"raw";for(var t="end"+e,n=new RegExp("([\\s\\S]*?){%\\s*("+e+"|"+t+")\\s*(?=%})%}"),i=1,s="",o=null,a=this.advanceAfterBlockEnd();(o=this.tokens._extractRegex(n))&&i>0;){var l=o[0],c=o[1],h=o[2];h===e?i+=1:h===t&&(i-=1),0===i?(s+=c,this.tokens.backN(l.length-c.length)):s+=l}return new r.Output(a.lineno,a.colno,[new r.TemplateData(a.lineno,a.colno,s)])},parsePostfix:function(e){for(var t,n=this.peekToken();n;){if(n.type===i.TOKEN_LEFT_PAREN)e=new r.FunCall(n.lineno,n.colno,e,this.parseSignature());else if(n.type===i.TOKEN_LEFT_BRACKET)t=this.parseAggregate(),t.children.length>1&&this.fail("invalid index"),e=new r.LookupVal(n.lineno,n.colno,e,t.children[0]);else{if(n.type!==i.TOKEN_OPERATOR||"."!==n.value)break;this.nextToken();var s=this.nextToken();s.type!==i.TOKEN_SYMBOL&&this.fail("expected name as lookup value, got "+s.value,s.lineno,s.colno),t=new r.Literal(s.lineno,s.colno,s.value),e=new r.LookupVal(n.lineno,n.colno,e,t)}n=this.peekToken()}return e},parseExpression:function(){var e=this.parseInlineIf();return e},parseInlineIf:function(){var e=this.parseOr();if(this.skipSymbol("if")){var t=this.parseOr(),n=e;e=new r.InlineIf(e.lineno,e.colno),e.body=n,e.cond=t,this.skipSymbol("else")?e.else_=this.parseOr():e.else_=null}return e},parseOr:function(){for(var e=this.parseAnd();this.skipSymbol("or");){var t=this.parseAnd();e=new r.Or(e.lineno,e.colno,e,t)}return e},parseAnd:function(){for(var e=this.parseNot();this.skipSymbol("and");){var t=this.parseNot();e=new r.And(e.lineno,e.colno,e,t)}return e},parseNot:function(){var e=this.peekToken();return this.skipSymbol("not")?new r.Not(e.lineno,e.colno,this.parseNot()):this.parseIn()},parseIn:function(){for(var e=this.parseCompare();;){var t=this.nextToken();if(!t)break;var n=t.type===i.TOKEN_SYMBOL&&"not"===t.value;if(n||this.pushToken(t),!this.skipSymbol("in")){n&&this.pushToken(t);break}var s=this.parseCompare();e=new r.In(e.lineno,e.colno,e,s),n&&(e=new r.Not(e.lineno,e.colno,e))}return e},parseCompare:function(){for(var e=["==","===","!=","!==","<",">","<=",">="],t=this.parseConcat(),n=[];;){var i=this.nextToken();if(!i)break;if(o.indexOf(e,i.value)===-1){this.pushToken(i);break}n.push(new r.CompareOperand(i.lineno,i.colno,this.parseConcat(),i.value))}return n.length?new r.Compare(n[0].lineno,n[0].colno,t,n):t},parseConcat:function(){for(var e=this.parseAdd();this.skipValue(i.TOKEN_TILDE,"~");){var t=this.parseAdd();e=new r.Concat(e.lineno,e.colno,e,t)}return e},parseAdd:function(){for(var e=this.parseSub();this.skipValue(i.TOKEN_OPERATOR,"+");){var t=this.parseSub();e=new r.Add(e.lineno,e.colno,e,t)}return e},parseSub:function(){for(var e=this.parseMul();this.skipValue(i.TOKEN_OPERATOR,"-");){var t=this.parseMul();e=new r.Sub(e.lineno,e.colno,e,t)}return e},parseMul:function(){for(var e=this.parseDiv();this.skipValue(i.TOKEN_OPERATOR,"*");){var t=this.parseDiv();e=new r.Mul(e.lineno,e.colno,e,t)}return e},parseDiv:function(){for(var e=this.parseFloorDiv();this.skipValue(i.TOKEN_OPERATOR,"/");){var t=this.parseFloorDiv();e=new r.Div(e.lineno,e.colno,e,t)}return e},parseFloorDiv:function(){for(var e=this.parseMod();this.skipValue(i.TOKEN_OPERATOR,"//");){var t=this.parseMod();e=new r.FloorDiv(e.lineno,e.colno,e,t)}return e},parseMod:function(){for(var e=this.parsePow();this.skipValue(i.TOKEN_OPERATOR,"%");){var t=this.parsePow();e=new r.Mod(e.lineno,e.colno,e,t)}return e},parsePow:function(){for(var e=this.parseUnary();this.skipValue(i.TOKEN_OPERATOR,"**");){var t=this.parseUnary();e=new r.Pow(e.lineno,e.colno,e,t)}return e},parseUnary:function(e){var t,n=this.peekToken();return t=this.skipValue(i.TOKEN_OPERATOR,"-")?new r.Neg(n.lineno,n.colno,this.parseUnary(!0)):this.skipValue(i.TOKEN_OPERATOR,"+")?new r.Pos(n.lineno,n.colno,this.parseUnary(!0)):this.parsePrimary(),e||(t=this.parseFilter(t)),t},parsePrimary:function(e){var t,n=this.nextToken(),s=null;return n?n.type===i.TOKEN_STRING?t=n.value:n.type===i.TOKEN_INT?t=parseInt(n.value,10):n.type===i.TOKEN_FLOAT?t=parseFloat(n.value):n.type===i.TOKEN_BOOLEAN?"true"===n.value?t=!0:"false"===n.value?t=!1:this.fail("invalid boolean: "+n.value,n.lineno,n.colno):n.type===i.TOKEN_NONE?t=null:n.type===i.TOKEN_REGEX&&(t=new RegExp(n.value.body,n.value.flags)):this.fail("expected expression, got end of file"),void 0!==t?s=new r.Literal(n.lineno,n.colno,t):n.type===i.TOKEN_SYMBOL?s=new r.Symbol(n.lineno,n.colno,n.value):(this.pushToken(n),s=this.parseAggregate()),e||(s=this.parsePostfix(s)),s?s:void this.fail("unexpected token: "+n.value,n.lineno,n.colno)},parseFilterName:function(){for(var e=this.expect(i.TOKEN_SYMBOL),t=e.value;this.skipValue(i.TOKEN_OPERATOR,".");)t+="."+this.expect(i.TOKEN_SYMBOL).value;return new r.Symbol(e.lineno,e.colno,t)},parseFilterArgs:function(e){if(this.peekToken().type===i.TOKEN_LEFT_PAREN){var t=this.parsePostfix(e);return t.args.children}return[]},parseFilter:function(e){for(;this.skip(i.TOKEN_PIPE);){var t=this.parseFilterName();e=new r.Filter(t.lineno,t.colno,t,new r.NodeList(t.lineno,t.colno,[e].concat(this.parseFilterArgs(e))))}return e},parseFilterStatement:function(){var e=this.peekToken();this.skipSymbol("filter")||this.fail("parseFilterStatement: expected filter");var t=this.parseFilterName(),n=this.parseFilterArgs(t);this.advanceAfterBlockEnd(e.value);var i=new r.Capture(t.lineno,t.colno,this.parseUntilBlocks("endfilter"));this.advanceAfterBlockEnd();var s=new r.Filter(t.lineno,t.colno,t,new r.NodeList(t.lineno,t.colno,[i].concat(n)));return new r.Output(t.lineno,t.colno,[s])},parseAggregate:function(){var e,t=this.nextToken();switch(t.type){case i.TOKEN_LEFT_PAREN:e=new r.Group(t.lineno,t.colno);break;case i.TOKEN_LEFT_BRACKET:e=new r.Array(t.lineno,t.colno);break;case i.TOKEN_LEFT_CURLY:e=new r.Dict(t.lineno,t.colno);break;default:return null}for(;;){var n=this.peekToken().type;if(n===i.TOKEN_RIGHT_PAREN||n===i.TOKEN_RIGHT_BRACKET||n===i.TOKEN_RIGHT_CURLY){this.nextToken();break}if(e.children.length>0&&(this.skip(i.TOKEN_COMMA)||this.fail("parseAggregate: expected comma after expression",t.lineno,t.colno)),e instanceof r.Dict){var s=this.parsePrimary();this.skip(i.TOKEN_COLON)||this.fail("parseAggregate: expected colon after dict key",t.lineno,t.colno);var o=this.parseExpression();e.addChild(new r.Pair(s.lineno,s.colno,s,o))}else{var a=this.parseExpression();e.addChild(a)}}return e},parseSignature:function(e,t){var n=this.peekToken();if(!t&&n.type!==i.TOKEN_LEFT_PAREN){if(e)return null;this.fail("expected arguments",n.lineno,n.colno)}n.type===i.TOKEN_LEFT_PAREN&&(n=this.nextToken());for(var s=new r.NodeList(n.lineno,n.colno),o=new r.KeywordArgs(n.lineno,n.colno),a=!1;;){if(n=this.peekToken(),!t&&n.type===i.TOKEN_RIGHT_PAREN){this.nextToken();break}if(t&&n.type===i.TOKEN_BLOCK_END)break;if(a&&!this.skip(i.TOKEN_COMMA))this.fail("parseSignature: expected comma after expression",n.lineno,n.colno);else{var l=this.parseExpression();this.skipValue(i.TOKEN_OPERATOR,"=")?o.addChild(new r.Pair(l.lineno,l.colno,l,this.parseExpression())):s.addChild(l)}a=!0}return o.children.length&&s.addChild(o),s},parseUntilBlocks:function(){var e=this.breakOnBlocks;this.breakOnBlocks=o.toArray(arguments);var t=this.parse();return this.breakOnBlocks=e,t},parseNodes:function(){for(var e,t=[];e=this.nextToken();)if(e.type===i.TOKEN_DATA){var n=e.value,s=this.peekToken(),o=s&&s.value;this.dropLeadingWhitespace&&(n=n.replace(/^\s*/,""),this.dropLeadingWhitespace=!1),s&&(s.type===i.TOKEN_BLOCK_START&&"-"===o.charAt(o.length-1)||s.type===i.TOKEN_VARIABLE_START&&"-"===o.charAt(this.tokens.tags.VARIABLE_START.length)||s.type===i.TOKEN_COMMENT&&"-"===o.charAt(this.tokens.tags.COMMENT_START.length))&&(n=n.replace(/\s*$/,"")),t.push(new r.Output(e.lineno,e.colno,[new r.TemplateData(e.lineno,e.colno,n)]))}else if(e.type===i.TOKEN_BLOCK_START){this.dropLeadingWhitespace=!1;var a=this.parseStatement();if(!a)break;t.push(a)}else if(e.type===i.TOKEN_VARIABLE_START){var l=this.parseExpression();this.dropLeadingWhitespace=!1,this.advanceAfterVariableEnd(),t.push(new r.Output(e.lineno,e.colno,[l]))}else e.type===i.TOKEN_COMMENT?this.dropLeadingWhitespace="-"===e.value.charAt(e.value.length-this.tokens.tags.COMMENT_END.length-1):this.fail("Unexpected token at top-level: "+e.type,e.lineno,e.colno);return t},parse:function(){return new r.NodeList(0,0,this.parseNodes())},parseAsRoot:function(){return new r.Root(0,0,this.parseNodes())}});e.exports={parse:function(e,t,n){var r=new a(i.lex(e,n));return void 0!==t&&(r.extensions=t),r.parseAsRoot()},Parser:a}},function(e,t,n){"use strict";function i(e,t,n,i){return{type:e,value:t,lineno:n,colno:i}}function r(e,t){this.str=e,this.index=0,this.len=e.length,this.lineno=0,this.colno=0,this.in_code=!1,t=t||{};var n=t.tags||{};this.tags={BLOCK_START:n.blockStart||c,BLOCK_END:n.blockEnd||h,VARIABLE_START:n.variableStart||u,VARIABLE_END:n.variableEnd||p,COMMENT_START:n.commentStart||f,COMMENT_END:n.commentEnd||m},this.trimBlocks=!!t.trimBlocks,this.lstripBlocks=!!t.lstripBlocks}var s=n(1),o=" \n\t\r ",a="()[]{}%*-+~/#,:|.<>=!",l="0123456789",c="{%",h="%}",u="{{",p="}}",f="{#",m="#}",d="string",v="whitespace",g="data",y="block-start",k="block-end",x="variable-start",b="variable-end",E="comment",w="left-paren",T="right-paren",L="left-bracket",_="right-bracket",O="left-curly",A="right-curly",S="operator",N="comma",C="colon",B="tilde",F="pipe",I="int",R="float",K="boolean",M="none",P="symbol",j="special",D="regex";r.prototype.nextToken=function(){var e,t=this.lineno,n=this.colno;if(this.in_code){var r=this.current();if(this.is_finished())return null;if('"'===r||"'"===r)return i(d,this.parseString(r),t,n);if(e=this._extract(o))return i(v,e,t,n);if((e=this._extractString(this.tags.BLOCK_END))||(e=this._extractString("-"+this.tags.BLOCK_END)))return this.in_code=!1,this.trimBlocks&&(r=this.current(),"\n"===r?this.forward():"\r"===r&&(this.forward(),r=this.current(),"\n"===r?this.forward():this.back())),i(k,e,t,n);if((e=this._extractString(this.tags.VARIABLE_END))||(e=this._extractString("-"+this.tags.VARIABLE_END)))return this.in_code=!1,i(b,e,t,n);if("r"===r&&"/"===this.str.charAt(this.index+1)){this.forwardN(2);for(var c="";!this.is_finished();){if("/"===this.current()&&"\\"!==this.previous()){this.forward();break}c+=this.current(),this.forward()}for(var h=["g","i","m","y"],u="";!this.is_finished();){var p=h.indexOf(this.current())!==-1;if(!p)break;u+=this.current(),this.forward()}return i(D,{body:c,flags:u},t,n)}if(a.indexOf(r)!==-1){this.forward();var f,m=["==","===","!=","!==","<=",">=","//","**"],j=r+this.current();switch(s.indexOf(m,j)!==-1&&(this.forward(),r=j,s.indexOf(m,j+this.current())!==-1&&(r=j+this.current(),this.forward())),r){case"(":f=w;break;case")":f=T;break;case"[":f=L;break;case"]":f=_;break;case"{":f=O;break;case"}":f=A;break;case",":f=N;break;case":":f=C;break;case"~":f=B;break;case"|":f=F;break;default:f=S}return i(f,r,t,n)}if(e=this._extractUntil(o+a),e.match(/^[-+]?[0-9]+$/)){if("."===this.current()){this.forward();var V=this._extract(l);return i(R,e+"."+V,t,n)}return i(I,e,t,n)}if(e.match(/^(true|false)$/))return i(K,e,t,n);if("none"===e)return i(M,e,t,n);if(e)return i(P,e,t,n);throw new Error("Unexpected value while parsing: "+e)}var U=this.tags.BLOCK_START.charAt(0)+this.tags.VARIABLE_START.charAt(0)+this.tags.COMMENT_START.charAt(0)+this.tags.COMMENT_END.charAt(0);if(this.is_finished())return null;if((e=this._extractString(this.tags.BLOCK_START+"-"))||(e=this._extractString(this.tags.BLOCK_START)))return this.in_code=!0,i(y,e,t,n);if((e=this._extractString(this.tags.VARIABLE_START+"-"))||(e=this._extractString(this.tags.VARIABLE_START)))return this.in_code=!0,i(x,e,t,n);e="";var W,G=!1;for(this._matches(this.tags.COMMENT_START)&&(G=!0,e=this._extractString(this.tags.COMMENT_START));null!==(W=this._extractUntil(U));){if(e+=W,(this._matches(this.tags.BLOCK_START)||this._matches(this.tags.VARIABLE_START)||this._matches(this.tags.COMMENT_START))&&!G){if(this.lstripBlocks&&this._matches(this.tags.BLOCK_START)&&this.colno>0&&this.colno<=e.length){var H=e.slice(-this.colno);if(/^\s+$/.test(H)&&(e=e.slice(0,-this.colno),!e.length))return this.nextToken()}break}if(this._matches(this.tags.COMMENT_END)){if(!G)throw new Error("unexpected end of comment");e+=this._extractString(this.tags.COMMENT_END);break}e+=this.current(),this.forward()}if(null===W&&G)throw new Error("expected end of comment, got end of file");return i(G?E:g,e,t,n)},r.prototype.parseString=function(e){this.forward();for(var t="";!this.is_finished()&&this.current()!==e;){var n=this.current();if("\\"===n){switch(this.forward(),this.current()){case"n":t+="\n";break;case"t":t+="\t";break;case"r":t+="\r";break;default:t+=this.current()}this.forward()}else t+=n,this.forward()}return this.forward(),t},r.prototype._matches=function(e){if(this.index+e.length>this.len)return null;var t=this.str.slice(this.index,this.index+e.length);return t===e},r.prototype._extractString=function(e){return this._matches(e)?(this.index+=e.length,e):null},r.prototype._extractUntil=function(e){return this._extractMatching(!0,e||"")},r.prototype._extract=function(e){return this._extractMatching(!1,e)},r.prototype._extractMatching=function(e,t){if(this.is_finished())return null;var n=t.indexOf(this.current());if(e&&n===-1||!e&&n!==-1){var i=this.current();this.forward();for(var r=t.indexOf(this.current());(e&&r===-1||!e&&r!==-1)&&!this.is_finished();)i+=this.current(),this.forward(),r=t.indexOf(this.current());return i}return""},r.prototype._extractRegex=function(e){var t=this.currentStr().match(e);return t?(this.forwardN(t[0].length),t):null},r.prototype.is_finished=function(){return this.index>=this.len},r.prototype.forwardN=function(e){for(var t=0;t<e;t++)this.forward()},r.prototype.forward=function(){this.index++,"\n"===this.previous()?(this.lineno++,this.colno=0):this.colno++},r.prototype.backN=function(e){for(var t=0;t<e;t++)this.back()},r.prototype.back=function(){if(this.index--,"\n"===this.current()){this.lineno--;var e=this.src.lastIndexOf("\n",this.index-1);e===-1?this.colno=this.index:this.colno=this.index-e}else this.colno--},r.prototype.current=function(){return this.is_finished()?"":this.str.charAt(this.index)},r.prototype.currentStr=function(){return this.is_finished()?"":this.str.substr(this.index)},r.prototype.previous=function(){return this.str.charAt(this.index-1)},e.exports={lex:function(e,t){return new r(e,t)},TOKEN_STRING:d,TOKEN_WHITESPACE:v,TOKEN_DATA:g,TOKEN_BLOCK_START:y,TOKEN_BLOCK_END:k,TOKEN_VARIABLE_START:x,TOKEN_VARIABLE_END:b,TOKEN_COMMENT:E,TOKEN_LEFT_PAREN:w,TOKEN_RIGHT_PAREN:T,TOKEN_LEFT_BRACKET:L,TOKEN_RIGHT_BRACKET:_,TOKEN_LEFT_CURLY:O,TOKEN_RIGHT_CURLY:A,TOKEN_OPERATOR:S,TOKEN_COMMA:N,TOKEN_COLON:C,TOKEN_TILDE:B,TOKEN_PIPE:F,TOKEN_INT:I,TOKEN_FLOAT:R,TOKEN_BOOLEAN:K,TOKEN_NONE:M,TOKEN_SYMBOL:P,TOKEN_SPECIAL:j,TOKEN_REGEX:D}},function(e,t,n){(function(t){"use strict";function i(e,t,n){e instanceof t&&n.push(e),e instanceof a&&e.findAll(t,n)}function r(e,n){function i(e,n,i){for(var r=e.split("\n"),s=0;s<r.length;s++){if(r[s]&&(i&&s>0||!i))for(var o=0;o<n;o++)t.stdout.write(" ");s===r.length-1?t.stdout.write(r[s]):t.stdout.write(r[s]+"\n")}}if(n=n||0,i(e.typename+": ",n),e instanceof c)i("\n"),s.each(e.children,function(e){r(e,n+2)});else if(e instanceof se)i(e.extName+"."+e.prop),i("\n"),e.args&&r(e.args,n+2),e.contentArgs&&s.each(e.contentArgs,function(e){r(e,n+2)});else{var o=null,l=null;if(e.iterFields(function(e,t){e instanceof a?(o=o||{},o[t]=e):(l=l||{},l[t]=e)}),l?i(JSON.stringify(l,null,2)+"\n",null,!0):i("\n"),o)for(var h in o)r(o[h],n+2)}}var s=n(1),o=n(6),a=o.extend("Node",{init:function(e,t){this.lineno=e,this.colno=t;for(var n=this.fields,i=0,r=n.length;i<r;i++){var s=n[i],o=arguments[i+2];void 0===o&&(o=null),this[s]=o}},findAll:function(e,t){t=t||[];var n,r;if(this instanceof c){var s=this.children;for(n=0,r=s.length;n<r;n++)i(s[n],e,t)}else{var o=this.fields;for(n=0,r=o.length;n<r;n++)i(this[o[n]],e,t)}return t},iterFields:function(e){s.each(this.fields,function(t){e(this[t],t)},this)}}),l=a.extend("Value",{fields:["value"]}),c=a.extend("NodeList",{fields:["children"],init:function(e,t,n){this.parent(e,t,n||[])},addChild:function(e){this.children.push(e)}}),h=c.extend("Root"),u=l.extend("Literal"),p=l.extend("Symbol"),f=c.extend("Group"),m=c.extend("Array"),d=a.extend("Pair",{fields:["key","value"]}),v=c.extend("Dict"),g=a.extend("LookupVal",{fields:["target","val"]}),y=a.extend("If",{fields:["cond","body","else_"]}),k=y.extend("IfAsync"),x=a.extend("InlineIf",{fields:["cond","body","else_"]}),b=a.extend("For",{fields:["arr","name","body","else_"]}),E=b.extend("AsyncEach"),w=b.extend("AsyncAll"),T=a.extend("Macro",{fields:["name","args","body"]}),L=T.extend("Caller"),_=a.extend("Import",{fields:["template","target","withContext"]}),O=a.extend("FromImport",{fields:["template","names","withContext"],init:function(e,t,n,i,r){this.parent(e,t,n,i||new c,r)}}),A=a.extend("FunCall",{fields:["name","args"]}),S=A.extend("Filter"),N=S.extend("FilterAsync",{fields:["name","args","symbol"]}),C=v.extend("KeywordArgs"),B=a.extend("Block",{fields:["name","body"]}),F=a.extend("Super",{fields:["blockName","symbol"]}),I=a.extend("TemplateRef",{fields:["template"]}),R=I.extend("Extends"),K=a.extend("Include",{fields:["template","ignoreMissing"]}),M=a.extend("Set",{fields:["targets","value"]}),P=c.extend("Output"),j=a.extend("Capture",{fields:["body"]}),D=u.extend("TemplateData"),V=a.extend("UnaryOp",{fields:["target"]}),U=a.extend("BinOp",{fields:["left","right"]}),W=U.extend("In"),G=U.extend("Or"),H=U.extend("And"),Y=V.extend("Not"),$=U.extend("Add"),z=U.extend("Concat"),X=U.extend("Sub"),q=U.extend("Mul"),J=U.extend("Div"),Q=U.extend("FloorDiv"),Z=U.extend("Mod"),ee=U.extend("Pow"),te=V.extend("Neg"),ne=V.extend("Pos"),ie=a.extend("Compare",{fields:["expr","ops"]}),re=a.extend("CompareOperand",{fields:["expr","type"]}),se=a.extend("CallExtension",{fields:["extName","prop","args","contentArgs"],init:function(e,t,n,i){this.extName=e._name||e,this.prop=t,this.args=n||new c,this.contentArgs=i||[],this.autoescape=e.autoescape}}),oe=se.extend("CallExtensionAsync");e.exports={Node:a,Root:h,NodeList:c,Value:l,Literal:u,Symbol:p,Group:f,Array:m,Pair:d,Dict:v,Output:P,Capture:j,TemplateData:D,If:y,IfAsync:k,InlineIf:x,For:b,AsyncEach:E,AsyncAll:w,Macro:T,Caller:L,Import:_,FromImport:O,FunCall:A,Filter:S,FilterAsync:N,KeywordArgs:C,Block:B,Super:F,Extends:R,Include:K,Set:M,LookupVal:g,BinOp:U,In:W,Or:G,And:H,Not:Y,Add:$,Concat:z,Sub:X,Mul:q,Div:J,FloorDiv:Q,Mod:Z,Pow:ee,Neg:te,Pos:ne,Compare:ie,CompareOperand:re,CallExtension:se,CallExtensionAsync:oe,printNodes:r}}).call(t,n(11))},function(e,t){},function(e,t,n){"use strict";function i(){return"hole_"+d++}function r(e,t){for(var n=null,i=0;i<e.length;i++){var r=t(e[i]);r!==e[i]&&(n||(n=e.slice()),n[i]=r)}return n||e}function s(e,t,n){if(!(e instanceof f.Node))return e;if(!n){var i=t(e);if(i&&i!==e)return i}if(e instanceof f.NodeList){var o=r(e.children,function(e){return s(e,t,n)});o!==e.children&&(e=new f[e.typename](e.lineno,e.colno,o))}else if(e instanceof f.CallExtension){var a=s(e.args,t,n),l=r(e.contentArgs,function(e){return s(e,t,n)});a===e.args&&l===e.contentArgs||(e=new f[e.typename](e.extName,e.prop,a,l))}else{var c=e.fields.map(function(t){return e[t]}),h=r(c,function(e){return s(e,t,n)});h!==c&&(e=new f[e.typename](e.lineno,e.colno),h.forEach(function(t,n){e[e.fields[n]]=t}))}return n?t(e)||e:e}function o(e,t){return s(e,t,!0)}function a(e,t,n){var r=[],s=o(n?e[n]:e,function(e){if(e instanceof f.Block)return e;if(e instanceof f.Filter&&m.indexOf(t,e.name.value)!==-1||e instanceof f.CallExtensionAsync){var n=new f.Symbol(e.lineno,e.colno,i());return r.push(new f.FilterAsync(e.lineno,e.colno,e.name,e.args,n)),n}});return n?e[n]=s:e=s,r.length?(r.push(e),new f.NodeList(e.lineno,e.colno,r)):e}function l(e,t){return o(e,function(e){return e instanceof f.Output?a(e,t):e instanceof f.Set?a(e,t,"value"):e instanceof f.For?a(e,t,"arr"):e instanceof f.If?a(e,t,"cond"):e instanceof f.CallExtension?a(e,t,"args"):void 0})}function c(e){return s(e,function(e){if(e instanceof f.Block){var t=!1,n=i();e.body=s(e.body,function(e){if(e instanceof f.FunCall&&"super"===e.name.value)return t=!0,new f.Symbol(e.lineno,e.colno,n)}),t&&e.body.children.unshift(new f.Super(0,0,e.name,new f.Symbol(0,0,n)))}})}function h(e){return o(e,function(e){if(e instanceof f.If||e instanceof f.For){var t=!1;if(s(e,function(e){if(e instanceof f.FilterAsync||e instanceof f.IfAsync||e instanceof f.AsyncEach||e instanceof f.AsyncAll||e instanceof f.CallExtensionAsync)return t=!0,e}),t){if(e instanceof f.If)return new f.IfAsync(e.lineno,e.colno,e.cond,e.body,e.else_);if(e instanceof f.For)return new f.AsyncEach(e.lineno,e.colno,e.arr,e.name,e.body,e.else_)}}})}function u(e,t){return h(c(l(e,t)))}function p(e,t){return u(e,t||[])}var f=n(10),m=n(1),d=0;e.exports={transform:p}},function(e,t,n){"use strict";function i(e,t,n){return function(){var i,r,a=o(arguments),l=s(arguments);if(a>e.length){i=Array.prototype.slice.call(arguments,0,e.length);var c=Array.prototype.slice.call(arguments,i.length,a);for(r=0;r<c.length;r++)r<t.length&&(l[t[r]]=c[r]);i.push(l)}else if(a<e.length){for(i=Array.prototype.slice.call(arguments,0,a),r=a;r<e.length;r++){var h=e[r];i.push(l[h]),delete l[h]}i.push(l)}else i=arguments;return n.apply(this,i)}}function r(e){return e.__keywords=!0,e}function s(e){var t=e.length;if(t){var n=e[t-1];if(n&&n.hasOwnProperty("__keywords"))return n}return{}}function o(e){var t=e.length;if(0===t)return 0;var n=e[t-1];return n&&n.hasOwnProperty("__keywords")?t-1:t}function a(e){return"string"!=typeof e?e:(this.val=e,void(this.length=e.length))}function l(e,t){return e instanceof a?new a(t):t.toString()}function c(e){var t=typeof e;return"string"===t?new a(e):"function"!==t?e:function(){var t=e.apply(this,arguments);return"string"==typeof t?new a(t):t}}function h(e,t){return e=void 0!==e&&null!==e?e:"",!t||e instanceof a||(e=y.escape(e.toString())),e}function u(e,t,n){if(null===e||void 0===e)throw new y.TemplateError("attempted to output null or undefined value",t+1,n+1);return e}function p(e,t){return e=e||{},"function"==typeof e[t]?function(){return e[t].apply(e,arguments)}:e[t]}function f(e,t,n,i){if(!e)throw new Error("Unable to call `"+t+"`, which is undefined or falsey");if("function"!=typeof e)throw new Error("Unable to call `"+t+"`, which is not a function");return e.apply(n,i)}function m(e,t,n){var i=t.lookup(n);return void 0!==i?i:e.lookup(n)}function d(e,t,n){return e.lineno?e:new y.TemplateError(e,t,n)}function v(e,t,n,i){if(y.isArray(e)){var r=e.length;y.asyncIter(e,function(e,i,s){switch(t){case 1:n(e,i,r,s);break;case 2:n(e[0],e[1],i,r,s);break;case 3:n(e[0],e[1],e[2],i,r,s);break;default:e.push(i,s),n.apply(this,e)}},i)}else y.asyncFor(e,function(e,t,i,r,s){n(e,t,i,r,s)},i)}function g(e,t,n,i){function r(e,t){l++,a[e]=t,l===s&&i(null,a.join(""))}var s,o,a,l=0;if(y.isArray(e))if(s=e.length,a=new Array(s),0===s)i(null,"");else for(o=0;o<e.length;o++){var c=e[o];switch(t){case 1:n(c,o,s,r);break;case 2:n(c[0],c[1],o,s,r);break;case 3:n(c[0],c[1],c[2],o,s,r);break;default:c.push(o,r),n.apply(this,c)}}else{var h=y.keys(e);if(s=h.length,a=new Array(s),0===s)i(null,"");else for(o=0;o<h.length;o++){var u=h[o];n(u,e[u],o,s,r)}}}var y=n(1),k=n(6),x=k.extend({init:function(e,t){this.variables={},this.parent=e,this.topLevel=!1,this.isolateWrites=t},set:function(e,t,n){var i=e.split("."),r=this.variables,s=this;if(n&&(s=this.resolve(i[0],!0)))return void s.set(e,t);for(var o=0;o<i.length-1;o++){var a=i[o];r[a]||(r[a]={}),r=r[a]}r[i[i.length-1]]=t},get:function(e){var t=this.variables[e];return void 0!==t?t:null},lookup:function(e){var t=this.parent,n=this.variables[e];return void 0!==n?n:t&&t.lookup(e)},resolve:function(e,t){var n=t&&this.isolateWrites?void 0:this.parent,i=this.variables[e];return void 0!==i?this:n&&n.resolve(e)},push:function(e){return new x(this,e)},pop:function(){return this.parent}});a.prototype=Object.create(String.prototype,{length:{writable:!0,configurable:!0,value:0}}),a.prototype.valueOf=function(){return this.val},a.prototype.toString=function(){return this.val},e.exports={Frame:x,makeMacro:i,makeKeywordArgs:r,numArgs:o,suppressValue:h,ensureDefined:u,memberLookup:p,contextOrFrameLookup:m,callWrap:f,handleError:d,isArray:y.isArray,keys:y.keys,SafeString:a,
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/nunjucks-3.0.1/nunjucks.js-4-copySafeness:l,markSafe:c,asyncEach:v,asyncAll:g,inOperator:y.inOperator}},function(e,t,n){"use strict";function i(e,t){return null===e||void 0===e||e===!1?t:e}var r=n(1),s=n(13),o={abs:Math.abs,batch:function(e,t,n){var i,r=[],s=[];for(i=0;i<e.length;i++)i%t===0&&s.length&&(r.push(s),s=[]),s.push(e[i]);if(s.length){if(n)for(i=s.length;i<t;i++)s.push(n);r.push(s)}return r},capitalize:function(e){e=i(e,"");var t=e.toLowerCase();return s.copySafeness(e,t.charAt(0).toUpperCase()+t.slice(1))},center:function(e,t){if(e=i(e,""),t=t||80,e.length>=t)return e;var n=t-e.length,o=r.repeat(" ",n/2-n%2),a=r.repeat(" ",n/2);return s.copySafeness(e,o+e+a)},default:function(e,t,n){return n?e?e:t:void 0!==e?e:t},dictsort:function(e,t,n){if(!r.isObject(e))throw new r.TemplateError("dictsort filter: val must be an object");var i=[];for(var s in e)i.push([s,e[s]]);var o;if(void 0===n||"key"===n)o=0;else{if("value"!==n)throw new r.TemplateError("dictsort filter: You can only sort by either key or value");o=1}return i.sort(function(e,n){var i=e[o],s=n[o];return t||(r.isString(i)&&(i=i.toUpperCase()),r.isString(s)&&(s=s.toUpperCase())),i>s?1:i===s?0:-1}),i},dump:function(e,t){return JSON.stringify(e,null,t)},escape:function(e){return e instanceof s.SafeString?e:(e=null===e||void 0===e?"":e,s.markSafe(r.escape(e.toString())))},safe:function(e){return e instanceof s.SafeString?e:(e=null===e||void 0===e?"":e,s.markSafe(e.toString()))},first:function(e){return e[0]},groupby:function(e,t){return r.groupBy(e,t)},indent:function(e,t,n){if(e=i(e,""),""===e)return"";t=t||4;for(var o="",a=e.split("\n"),l=r.repeat(" ",t),c=0;c<a.length;c++)o+=0!==c||n?l+a[c]+"\n":a[c]+"\n";return s.copySafeness(e,o)},join:function(e,t,n){return t=t||"",n&&(e=r.map(e,function(e){return e[n]})),e.join(t)},last:function(e){return e[e.length-1]},length:function(e){var t=i(e,"");return void 0!==t?"function"==typeof Map&&t instanceof Map||"function"==typeof Set&&t instanceof Set?t.size:!r.isObject(t)||t instanceof s.SafeString?t.length:Object.keys(t).length:0},list:function(e){if(r.isString(e))return e.split("");if(r.isObject(e)){var t=[];if(Object.keys)t=Object.keys(e);else for(var n in e)t.push(n);return r.map(t,function(t){return{key:t,value:e[t]}})}if(r.isArray(e))return e;throw new r.TemplateError("list filter: type not iterable")},lower:function(e){return e=i(e,""),e.toLowerCase()},nl2br:function(e){return null===e||void 0===e?"":s.copySafeness(e,e.replace(/\r\n|\n/g,"<br />\n"))},random:function(e){return e[Math.floor(Math.random()*e.length)]},rejectattr:function(e,t){return e.filter(function(e){return!e[t]})},selectattr:function(e,t){return e.filter(function(e){return!!e[t]})},replace:function(e,t,n,i){var r=e;if(t instanceof RegExp)return e.replace(t,n);"undefined"==typeof i&&(i=-1);var o="";if("number"==typeof t)t+="";else if("string"!=typeof t)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e&&!(e instanceof s.SafeString))return e;if(""===t)return o=n+e.split("").join(n)+n,s.copySafeness(e,o);var a=e.indexOf(t);if(0===i||a===-1)return e;for(var l=0,c=0;a>-1&&(i===-1||c<i);)o+=e.substring(l,a)+n,l=a+t.length,c++,a=e.indexOf(t,l);return l<e.length&&(o+=e.substring(l)),s.copySafeness(r,o)},reverse:function(e){var t;return t=r.isString(e)?o.list(e):r.map(e,function(e){return e}),t.reverse(),r.isString(e)?s.copySafeness(e,t.join("")):t},round:function(e,t,n){t=t||0;var i,r=Math.pow(10,t);return i="ceil"===n?Math.ceil:"floor"===n?Math.floor:Math.round,i(e*r)/r},slice:function(e,t,n){for(var i=Math.floor(e.length/t),r=e.length%t,s=0,o=[],a=0;a<t;a++){var l=s+a*i;a<r&&s++;var c=s+(a+1)*i,h=e.slice(l,c);n&&a>=r&&h.push(n),o.push(h)}return o},sum:function(e,t,n){var i=0;"number"==typeof n&&(i+=n),t&&(e=r.map(e,function(e){return e[t]}));for(var s=0;s<e.length;s++)i+=e[s];return i},sort:s.makeMacro(["value","reverse","case_sensitive","attribute"],[],function(e,t,n,i){return e=r.map(e,function(e){return e}),e.sort(function(e,s){var o,a;return i?(o=e[i],a=s[i]):(o=e,a=s),!n&&r.isString(o)&&r.isString(a)&&(o=o.toLowerCase(),a=a.toLowerCase()),o<a?t?1:-1:o>a?t?-1:1:0}),e}),string:function(e){return s.copySafeness(e,e)},striptags:function(e,t){e=i(e,""),t=t||!1;var n=/<\/?([a-z][a-z0-9]*)\b[^>]*>|<!--[\s\S]*?-->/gi,r=o.trim(e.replace(n,"")),a="";return a=t?r.replace(/^ +| +$/gm,"").replace(/ +/g," ").replace(/(\r\n)/g,"\n").replace(/\n\n\n+/g,"\n\n"):r.replace(/\s+/gi," "),s.copySafeness(e,a)},title:function(e){e=i(e,"");for(var t=e.split(" "),n=0;n<t.length;n++)t[n]=o.capitalize(t[n]);return s.copySafeness(e,t.join(" "))},trim:function(e){return s.copySafeness(e,e.replace(/^\s*|\s*$/g,""))},truncate:function(e,t,n,r){var o=e;if(e=i(e,""),t=t||255,e.length<=t)return e;if(n)e=e.substring(0,t);else{var a=e.lastIndexOf(" ",t);a===-1&&(a=t),e=e.substring(0,a)}return e+=void 0!==r&&null!==r?r:"...",s.copySafeness(o,e)},upper:function(e){return e=i(e,""),e.toUpperCase()},urlencode:function(e){var t=encodeURIComponent;if(r.isString(e))return t(e);var n;if(r.isArray(e))n=e.map(function(e){return t(e[0])+"="+t(e[1])});else{n=[];for(var i in e)e.hasOwnProperty(i)&&n.push(t(i)+"="+t(e[i]))}return n.join("&")},urlize:function(e,t,n){isNaN(t)&&(t=1/0);var i=n===!0?' rel="nofollow"':"",r=/^(?:\(|<|&lt;)?(.*?)(?:\.|,|\)|\n|&gt;)?$/,s=/^[\w.!#$%&'*+\-\/=?\^`{|}~]+@[a-z\d\-]+(\.[a-z\d\-]+)+$/i,o=/^https?:\/\/.*$/,a=/^www\./,l=/\.(?:org|net|com)(?:\:|\/|$)/,c=e.split(/(\s+)/).filter(function(e){return e&&e.length}).map(function(e){var n=e.match(r),c=n&&n[1]||e;return o.test(c)?'<a href="'+c+'"'+i+">"+c.substr(0,t)+"</a>":a.test(c)?'<a href="http://'+c+'"'+i+">"+c.substr(0,t)+"</a>":s.test(c)?'<a href="mailto:'+c+'">'+c+"</a>":l.test(c)?'<a href="http://'+c+'"'+i+">"+c.substr(0,t)+"</a>":e});return c.join("")},wordcount:function(e){e=i(e,"");var t=e?e.match(/\w+/g):null;return t?t.length:null},float:function(e,t){var n=parseFloat(e);return isNaN(n)?t:n},int:function(e,t){var n=parseInt(e,10);return isNaN(n)?t:n}};o.d=o.default,o.e=o.escape,e.exports=o},function(e,t,n){"use strict";var i=n(16),r=n(17),s=i.extend({init:function(e,t){this.baseURL=e||".",t=t||{},this.useCache=!!t.useCache,this.async=!!t.async},resolve:function(e,t){throw new Error("relative templates not support in the browser yet")},getSource:function(e,t){var n,i=this.useCache;return this.fetch(this.baseURL+"/"+e,function(r,s){if(r)if(t)t(r.content);else{if(404!==r.status)throw r.content;n=null}else n={src:s,path:e,noCache:!i},t&&t(null,n)}),n},fetch:function(e,t){var n,i=!0;window.XMLHttpRequest?n=new XMLHttpRequest:window.ActiveXObject&&(n=new ActiveXObject("Microsoft.XMLHTTP")),n.onreadystatechange=function(){4===n.readyState&&i&&(i=!1,0===n.status||200===n.status?t(null,n.responseText):t({status:n.status,content:n.responseText}))},e+=(e.indexOf("?")===-1?"?":"&")+"s="+(new Date).getTime(),n.open("GET",e,this.async),n.send()}});e.exports={WebLoader:s,PrecompiledLoader:r}},function(e,t,n){"use strict";var i=n(3),r=n(6),s=n(1),o=r.extend({on:function(e,t){this.listeners=this.listeners||{},this.listeners[e]=this.listeners[e]||[],this.listeners[e].push(t)},emit:function(e){var t=Array.prototype.slice.call(arguments,1);this.listeners&&this.listeners[e]&&s.each(this.listeners[e],function(e){e.apply(null,t)})},resolve:function(e,t){return i.resolve(i.dirname(e),t)},isRelative:function(e){return 0===e.indexOf("./")||0===e.indexOf("../")}});e.exports=o},function(e,t,n){"use strict";var i=n(16),r=i.extend({init:function(e){this.precompiled=e||{}},getSource:function(e){return this.precompiled[e]?{src:{type:"code",obj:this.precompiled[e]},path:e}:null}});e.exports=r},function(e,t){"use strict";function n(e){var t=-1;return{current:null,reset:function(){t=-1,this.current=null},next:function(){return t++,t>=e.length&&(t=0),this.current=e[t],this.current}}}function i(e){e=e||",";var t=!0;return function(){var n=t?"":e;return t=!1,n}}function r(){return{range:function(e,t,n){"undefined"==typeof t?(t=e,e=0,n=1):n||(n=1);var i,r=[];if(n>0)for(i=e;i<t;i+=n)r.push(i);else for(i=e;i>t;i+=n)r.push(i);return r},cycler:function(){return n(Array.prototype.slice.call(arguments))},joiner:function(e){return i(e)}}}e.exports=r},function(e,t,n){var i,r;(function(n,s){!function(o){"use strict";var a=function(){var e=Array.prototype.slice.call(arguments);"function"==typeof e[0]&&e[0].apply(null,e.splice(1))},l=function(e){"function"==typeof n?n(e):"undefined"!=typeof s&&s.nextTick?s.nextTick(e):setTimeout(e,0)},c=function(e){var t=function(n){var i=function(){return e.length&&e[n].apply(null,arguments),i.next()};return i.next=function(){return n<e.length-1?t(n+1):null},i};return t(0)},h=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},u=function(e,t,n){var i=n?l:a;if(t=t||function(){},!h(e)){var r=new Error("First argument to waterfall must be an array of functions");return t(r)}if(!e.length)return t();var s=function(e){return function(n){if(n)t.apply(null,arguments),t=function(){};else{var r=Array.prototype.slice.call(arguments,1),o=e.next();o?r.push(s(o)):r.push(t),i(function(){e.apply(null,r)})}}};s(c(e))()};i=[],r=function(){return u}.apply(t,i),!(void 0!==r&&(e.exports=r))}(this)}).call(t,n(20).setImmediate,n(11))},function(e,t,n){function i(e,t){this._id=e,this._clearFn=t}var r=Function.prototype.apply;t.setTimeout=function(){return new i(r.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new i(r.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(21),t.setImmediate=setImmediate,t.clearImmediate=clearImmediate},function(e,t,n){(function(e,t){!function(e,n){"use strict";function i(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return d[m]=i,f(m),m++}function r(e){delete d[e]}function s(e){var t=e.callback,i=e.args;switch(i.length){case 0:t();break;case 1:t(i[0]);break;case 2:t(i[0],i[1]);break;case 3:t(i[0],i[1],i[2]);break;default:t.apply(n,i)}}function o(e){if(v)setTimeout(o,0,e);else{var t=d[e];if(t){v=!0;try{s(t)}finally{r(e),v=!1}}}}function a(){f=function(e){t.nextTick(function(){o(e)})}}function l(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}function c(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&o(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),f=function(n){e.postMessage(t+n,"*")}}function h(){var e=new MessageChannel;e.port1.onmessage=function(e){var t=e.data;o(t)},f=function(t){e.port2.postMessage(t)}}function u(){var e=g.documentElement;f=function(t){var n=g.createElement("script");n.onreadystatechange=function(){o(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}function p(){f=function(e){setTimeout(o,0,e)}}if(!e.setImmediate){var f,m=1,d={},v=!1,g=e.document,y=Object.getPrototypeOf&&Object.getPrototypeOf(e);y=y&&y.setTimeout?y:e,"[object process]"==={}.toString.call(e.process)?a():l()?c():e.MessageChannel?h():g&&"onreadystatechange"in g.createElement("script")?u():p(),y.setImmediate=i,y.clearImmediate=r}}("undefined"==typeof self?"undefined"==typeof e?this:e:self)}).call(t,function(){return this}(),n(11))},function(e,t){function n(){"use strict";function e(){i.contextOrFrameLookup=c,s.prototype.assertType=h,o.prototype.parseAggregate=u,i.memberLookup=p}function t(e){return{index:e.index,lineno:e.lineno,colno:e.colno}}function n(e,t,n,r){e=e||[],null===t&&(t=r<0?e.length-1:0),null===n?n=r<0?-1:e.length:n<0&&(n+=e.length),t<0&&(t+=e.length);for(var s=[],o=t;!(o<0||o>e.length)&&!(r>0&&o>=n)&&!(r<0&&o<=n);o+=r)s.push(i.memberLookup(e,o));return s}var i=this.runtime,r=this.lib,s=this.compiler.Compiler,o=this.parser.Parser,a=this.nodes,l=this.lexer,c=i.contextOrFrameLookup,h=s.prototype.assertType,u=o.prototype.parseAggregate,p=i.memberLookup;i.contextOrFrameLookup=function(e,t,n){var i=c.apply(this,arguments);if(void 0===i)switch(n){case"True":return!0;case"False":return!1;case"None":return null}return i};var f=a.Node.extend("Slice",{fields:["start","stop","step"],init:function(e,t,n,i,r){n=n||new a.Literal(e,t,null),i=i||new a.Literal(e,t,null),r=r||new a.Literal(e,t,1),this.parent(e,t,n,i,r)}});s.prototype.assertType=function(e){if(!(e instanceof f))return h.apply(this,arguments)},s.prototype.compileSlice=function(e,t){this.emit("("),this._compileExpression(e.start,t),this.emit("),("),this._compileExpression(e.stop,t),this.emit("),("),this._compileExpression(e.step,t),this.emit(")")},o.prototype.parseAggregate=function(){var e=this,n=t(this.tokens);n.colno--,n.index--;try{return u.apply(this)}catch(u){var i=t(this.tokens),s=function(){return r.extend(e.tokens,i),u};r.extend(this.tokens,n),this.peeked=!1;var o=this.peekToken();if(o.type!==l.TOKEN_LEFT_BRACKET)throw s();this.nextToken();for(var c=new f(o.lineno,o.colno),h=!1,p=0;p<=c.fields.length&&!this.skip(l.TOKEN_RIGHT_BRACKET);p++){if(p===c.fields.length){if(!h)break;this.fail("parseSlice: too many slice components",o.lineno,o.colno)}if(this.skip(l.TOKEN_COLON))h=!0;else{var m=c.fields[p];c[m]=this.parseExpression(),h=this.skip(l.TOKEN_COLON)||h}}if(!h)throw s();return new a.Array(o.lineno,o.colno,[c])}};var m={pop:function(e){if(void 0===e)return this.pop();if(e>=this.length||e<0)throw new Error("KeyError");return this.splice(e,1)},append:function(e){return this.push(e)},remove:function(e){for(var t=0;t<this.length;t++)if(this[t]===e)return this.splice(t,1);throw new Error("ValueError")},count:function(e){for(var t=0,n=0;n<this.length;n++)this[n]===e&&t++;return t},index:function(e){var t;if((t=this.indexOf(e))===-1)throw new Error("ValueError");return t},find:function(e){return this.indexOf(e)},insert:function(e,t){return this.splice(e,0,t)}},d={items:function(){var e=[];for(var t in this)e.push([t,this[t]]);return e},values:function(){var e=[];for(var t in this)e.push(this[t]);return e},keys:function(){var e=[];for(var t in this)e.push(t);return e},get:function(e,t){var n=this[e];return void 0===n&&(n=t),n},has_key:function(e){return this.hasOwnProperty(e)},pop:function(e,t){var n=this[e];if(void 0===n&&void 0!==t)n=t;else{if(void 0===n)throw new Error("KeyError");delete this[e]}return n},popitem:function(){for(var e in this){var t=this[e];return delete this[e],[e,t]}throw new Error("KeyError")},setdefault:function(e,t){return e in this?this[e]:(void 0===t&&(t=null),this[e]=t)},update:function(e){for(var t in e)this[t]=e[t];return null}};return d.iteritems=d.items,d.itervalues=d.values,d.iterkeys=d.keys,i.memberLookup=function(e,t,i){return 4===arguments.length?n.apply(this,arguments):(e=e||{},r.isArray(e)&&m.hasOwnProperty(t)?function(){return m[t].apply(e,arguments)}:r.isObject(e)&&d.hasOwnProperty(t)?function(){return d[t].apply(e,arguments)}:p.apply(this,arguments))},e}e.exports=n}])});
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/jquery-3.5.1/jquery.js-1-/*! jQuery v3.5.1 | (c) JS Foundation and other contributors | jquery.org/license */
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/jquery-3.5.1/jquery.js:2:!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.5.1",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}S.fn=S.prototype={jquery:f,constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(n){return this.pushStack(S.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(S.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},S.extend=S.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(S.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||S.isPlainObject(n)?n:{},i=!1,a[t]=S.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},S.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=v.call(t,"constructor")&&t.constructor)&&a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){b(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(p(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(p(Object(e))?S.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(p(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:y}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=t[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var d=function(n){var e,d,b,o,i,h,f,g,w,u,l,T,C,a,E,v,s,c,y,S="sizzle"+1*new Date,p=n.document,k=0,r=0,m=ue(),x=ue(),A=ue(),N=ue(),D=function(e,t){return e===t&&(l=!0),0},j={}.hasOwnProperty,t=[],q=t.pop,L=t.push,H=t.push,O=t.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",I="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",W="\\["+M+"*("+I+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+M+"*\\]",F=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",B=new RegExp(M+"+","g"),$=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0<se(t,C,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!=C&&T(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=C&&T(e);var n=b.attrHandle[t.toLowerCase()],r=n&&j.call(b.attrHandle,t.toLowerCase())?n(e,t,!E):void 0;return void 0!==r?r:d.attributes||!E?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!d.detectDuplicates,u=!d.sortStable&&e.slice(0),e.sort(D),l){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)e.splice(n[r],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else while(t=e[r++])n+=o(t);return n},(b=se.selectors={cacheLength:50,createPseudo:le,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(B," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(h,e,t,g,v){var y="nth"!==h.slice(0,3),m="last"!==h.slice(-4),x="of-type"===e;return 1===g&&0===v?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u,l=y!==m?"nextSibling":"previousSibling",c=e.parentNode,f=x&&e.nodeName.toLowerCase(),p=!n&&!x,d=!1;if(c){if(y){while(l){a=e;while(a=a[l])if(x?a.nodeName.toLowerCase()===f:1===a.nodeType)return!1;u=l="only"===h&&!u&&"nextSibling"}return!0}if(u=[m?c.firstChild:c.lastChild],m&&p){d=(s=(r=(i=(o=(a=c)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1])&&r[2],a=s&&c.childNodes[s];while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if(1===a.nodeType&&++d&&a===e){i[h]=[k,s,d];break}}else if(p&&(d=s=(r=(i=(o=(a=e)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1]),!1===d)while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if((x?a.nodeName.toLowerCase()===f:1===a.nodeType)&&++d&&(p&&((i=(o=a[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]=[k,d]),a===e))break;return(d-=v)===g||d%g==0&&0<=d/g}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=P(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:le(function(e){var r=[],i=[],s=f(e.replace($,"$1"));return s[S]?le(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:le(function(t){return function(e){return 0<se(t,e).length}}),contains:le(function(t){return t=t.replace(te,ne),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:le(function(n){return V.test(n||"")||se.error("unsupported lang: "+n),n=n.replace(te,ne).toLowerCase(),function(e){var t;do{if(t=E?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve(function(){return[0]}),last:ve(function(e,t){return[t-1]}),eq:ve(function(e,t,n){return[n<0?n+t:n]}),even:ve(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ve(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ve(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:ve(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=de(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=he(e);function me(){}function xe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function be(s,e,t){var u=e.dir,l=e.next,c=l||u,f=t&&"parentNode"===c,p=r++;return e.first?function(e,t,n){while(e=e[u])if(1===e.nodeType||f)return s(e,t,n);return!1}:function(e,t,n){var r,i,o,a=[k,p];if(n){while(e=e[u])if((1===e.nodeType||f)&&s(e,t,n))return!0}else while(e=e[u])if(1===e.nodeType||f)if(i=(o=e[S]||(e[S]={}))[e.uniqueID]||(o[e.uniqueID]={}),l&&l===e.nodeName.toLowerCase())e=e[u]||e;else{if((r=i[c])&&r[0]===k&&r[1]===p)return a[2]=r[2];if((i[c]=a)[2]=s(e,t,n))return!0}return!1}}function we(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Te(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Ce(d,h,g,v,y,e){return v&&!v[S]&&(v=Ce(v)),y&&!y[S]&&(y=Ce(y,e)),le(function(e,t,n,r){var i,o,a,s=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:Te(c,s,d,n,r),p=g?y||(e?d:l||v)?[]:t:f;if(g&&g(f,p,n,r),v){i=Te(p,u),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(p[u[o]]=!(f[u[o]]=a))}if(e){if(y||d){if(y){i=[],o=p.length;while(o--)(a=p[o])&&i.push(f[o]=a);y(null,p=[],i,r)}o=p.length;while(o--)(a=p[o])&&-1<(i=y?P(e,a):s[o])&&(e[i]=!(t[i]=a))}}else p=Te(p===t?p.splice(l,p.length):p),y?y(null,t,p,r):H.apply(t,p)})}function Ee(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=be(function(e){return e===i},a,!0),l=be(function(e){return-1<P(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!==w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[be(we(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return Ce(1<s&&we(c),1<s&&xe(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace($,"$1"),t,s<n&&Ee(e.slice(s,n)),n<r&&Ee(e=e.slice(n)),n<r&&xe(e))}c.push(t)}return we(c)}return me.prototype=b.filters=b.pseudos,b.setFilters=new me,h=se.tokenize=function(e,t){var n,r,i,o,a,s,u,l=x[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=_.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=z.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace($," ")}),a=a.slice(n.length)),b.filter)!(r=G[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?se.error(e):x(e,s).slice(0)},f=se.compile=function(e,t){var n,v,y,m,x,r,i=[],o=[],a=A[e+" "];if(!a){t||(t=h(e)),n=t.length;while(n--)(a=Ee(t[n]))[S]?i.push(a):o.push(a);(a=A(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=k+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==C||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==C||(T(o),n=!E);while(s=v[a++])if(s(o,t||C,n)){r.push(o);break}i&&(k=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=q.call(r));f=Te(f)}H.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&se.uniqueSort(r)}return i&&(k=h,w=p),c},m?le(r):r))).selector=e}return a},g=se.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&h(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&E&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(te,ne),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=G.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(te,ne),ee.test(o[0].type)&&ye(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&xe(o)))return H.apply(n,r),n;break}}}return(l||f(e,c))(r,t,!E,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},d.sortStable=S.split("").sort(D).join("")===S,d.detectDuplicates=!!l,T(),d.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"))}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),d.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||fe(R,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),se}(C);S.find=d,S.expr=d.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=d.uniqueSort,S.text=d.getText,S.isXMLDoc=d.isXML,S.contains=d.contains,S.escapeSelector=d.escape;var h=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&S(e).is(n))break;r.push(e)}return r},T=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},k=S.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1<i.call(n,e)!==r}):S.filter(n,e,r)}S.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?S.find.matchesSelector(r,e)?[r]:[]:S.find.matches(e,S.grep(t,function(e){return 1===e.nodeType}))},S.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(S(e).filter(function(){for(t=0;t<r;t++)if(S.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)S.find(e,i[t],n);return 1<r?S.uniqueSort(n):n},filter:function(e){return this.pushStack(D(this,e||[],!1))},not:function(e){return this.pushStack(D(this,e||[],!0))},is:function(e){return!!D(this,"string"==typeof e&&k.test(e)?S(e):e||[],!1).length}});var j,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||j,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,j=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&S(e);if(!k.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&S.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?S.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(S(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return h(e,"parentNode")},parentsUntil:function(e,t,n){return h(e,"parentNode",n)},next:function(e){return O(e,"nextSibling")},prev:function(e){return O(e,"previousSibling")},nextAll:function(e){return h(e,"nextSibling")},prevAll:function(e){return h(e,"previousSibling")},nextUntil:function(e,t,n){return h(e,"nextSibling",n)},prevUntil:function(e,t,n){return h(e,"previousSibling",n)},siblings:function(e){return T((e.parentNode||{}).firstChild,e)},children:function(e){return T(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},function(r,i){S.fn[r]=function(e,t){var n=S.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=S.filter(t,n)),1<this.length&&(H[r]||S.uniqueSort(n),L.test(r)&&n.reverse()),this.pushStack(n)}});var P=/[^\x20\t\r\n\f]+/g;function R(e){return e}function M(e){throw e}function I(e,t,n,r){var i;try{e&&m(i=e.promise)?i.call(e).done(t).fail(n):e&&m(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},S.each(e.match(P)||[],function(e,t){n[t]=!0}),n):S.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){S.each(e,function(e,t){m(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==w(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return S.each(arguments,function(e,t){var n;while(-1<(n=S.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<S.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},S.extend({Deferred:function(e){var o=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return S.Deferred(function(r){S.each(o,function(e,t){var n=m(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&m(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,m(t)?s?t.call(e,l(u,o,R,s),l(u,o,M,s)):(u++,t.call(e,l(u,o,R,s),l(u,o,M,s),l(u,o,R,o.notifyWith))):(a!==R&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(e,t.stackTrace),u<=i+1&&(a!==M&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(S.Deferred.getStackHook&&(t.stackTrace=S.Deferred.getStackHook()),C.setTimeout(t))}}return S.Deferred(function(e){o[0][3].add(l(0,e,m(r)?r:R,e.notifyWith)),o[1][3].add(l(0,e,m(t)?t:R)),o[2][3].add(l(0,e,m(n)?n:M))}).promise()},promise:function(e){return null!=e?S.extend(e,a):a}},s={};return S.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=s.call(arguments),o=S.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?s.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(I(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||m(i[t]&&i[t].then)))return o.then();while(t--)I(i[t],a(t),o.reject);return o.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){C.console&&C.console.warn&&e&&W.test(e.name)&&C.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){C.setTimeout(function(){throw e})};var F=S.Deferred();function B(){E.removeEventListener("DOMContentLoaded",B),C.removeEventListener("load",B),S.ready()}S.fn.ready=function(e){return F.then(e)["catch"](function(e){S.readyException(e)}),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0)!==e&&0<--S.readyWait||F.resolveWith(E,[S])}}),S.ready.then=F.then,"complete"===E.readyState||"loading"!==E.readyState&&!E.documentElement.doScroll?C.setTimeout(S.ready):(E.addEventListener("DOMContentLoaded",B),C.addEventListener("load",B));var $=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===w(n))for(s in i=!0,n)$(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,m(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(S(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},_=/^-ms-/,z=/-([a-z])/g;function U(e,t){return t.toUpperCase()}function X(e){return e.replace(_,"ms-").replace(z,U)}var V=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function G(){this.expando=S.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},V(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[X(t)]=n;else for(r in t)i[X(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t))in r?[t]:t.match(P)||[]).length;while(n--)delete r[t[n]]}(void 0===t||S.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var Y=new G,Q=new G,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,K=/[A-Z]/g;function Z(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(K,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:J.test(i)?JSON.parse(i):i)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return Q.hasData(e)||Y.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return Y.access(e,t,n)},_removeData:function(e,t){Y.remove(e,t)}}),S.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=Q.get(o),1===o.nodeType&&!Y.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=X(r.slice(5)),Z(o,r,i[r]));Y.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){Q.set(this,n)}):$(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=Q.get(o,n))?t:void 0!==(t=Z(o,n))?t:void 0;this.each(function(){Q.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),S.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Y.get(e,t),n&&(!r||Array.isArray(n)?r=Y.access(e,t,S.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),r=n.length,i=n.shift(),o=S._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){S.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Y.get(e,n)||Y.access(e,n,{empty:S.Callbacks("once memory").add(function(){Y.remove(e,[t+"queue",n])})})}}),S.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?S.queue(this[0],t):void 0===n?this:this.each(function(){var e=S.queue(this,t,n);S._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&S.dequeue(this,t)})},dequeue:function(e){return this.each(function(){S.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=S.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=Y.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],re=E.documentElement,ie=function(e){return S.contains(e.ownerDocument,e)},oe={composed:!0};re.getRootNode&&(ie=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(oe)===e.ownerDocument});var ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ie(e)&&"none"===S.css(e,"display")};function se(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return S.css(e,t,"")},u=s(),l=n&&n[3]||(S.cssNumber[t]?"":"px"),c=e.nodeType&&(S.cssNumber[t]||"px"!==l&&+u)&&te.exec(S.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)S.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,S.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ue={};function le(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=Y.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ae(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ue[s])||(o=a.body.appendChild(a.createElement(s)),u=S.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ue[s]=u)))):"none"!==n&&(l[c]="none",Y.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}S.fn.extend({show:function(){return le(this,!0)},hide:function(){return le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?S(this).show():S(this).hide()})}});var ce,fe,pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="<option></option>",y.option=!!ce.lastChild;var ge={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n<r;n++)Y.set(e[n],"globalEval",!t||Y.get(t[n],"globalEval"))}ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td,y.option||(ge.optgroup=ge.option=[1,"<select multiple='multiple'>","</select>"]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===w(o))S.merge(p,o.nodeType?[o]:o);else if(me.test(o)){a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+S.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;S.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<S.inArray(o,r))i&&i.push(o);else if(l=ie(o),a=ve(f.appendChild(o),"script"),l&&ye(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}var be=/^key/,we=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Te=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function Ee(){return!1}function Se(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function ke(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)ke(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ee;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return S().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=S.guid++)),e.each(function(){S.event.add(this,t,i,r,n)})}function Ae(e,i,o){o?(Y.set(e,i,!1),S.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Y.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(S.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Y.set(this,i,r),t=o(this,i),this[i](),r!==(n=Y.get(this,i))||t?Y.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Y.set(this,i,{value:S.event.trigger(S.extend(r[0],S.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Y.get(e,i)&&S.event.add(e,i,Ce)}S.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Y.get(t);if(V(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&S.find.matchesSelector(re,i),n.guid||(n.guid=S.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(P)||[""]).length;while(l--)d=g=(s=Te.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=S.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=S.event.special[d]||{},c=S.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&S.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),S.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Y.hasData(e)&&Y.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(P)||[""]).length;while(l--)if(d=g=(s=Te.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=S.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||S.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)S.event.remove(e,d+t[l],n,r,!0);S.isEmptyObject(u)&&Y.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=S.event.fix(e),l=(Y.get(this,"events")||Object.create(null))[u.type]||[],c=S.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=S.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((S.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<S(i,this).index(l):S.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(S.Event.prototype,t,{enumerable:!0,configurable:!0,get:m(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&Ae(t,"click",Ce),!1},trigger:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&Ae(t,"click"),!0},_default:function(e){var t=e.target;return pe.test(t.type)&&t.click&&A(t,"input")&&Y.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ce:Ee,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Ee,isPropagationStopped:Ee,isImmediatePropagationStopped:Ee,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ce,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ce,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ce,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&be.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&we.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},function(e,t){S.event.special[e]={setup:function(){return Ae(this,e,Se),!1},trigger:function(){return Ae(this,e),!0},delegateType:t}}),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){S.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||S.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),S.fn.extend({on:function(e,t,n,r){return ke(this,e,t,n,r)},one:function(e,t,n,r){return ke(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,S(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ee),this.each(function(){S.event.remove(this,e,n,t)})}});var Ne=/<script|<style|<link/i,De=/checked\s*(?:[^=]|=\s*.checked.)/i,je=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function qe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Oe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)S.event.add(t,i,s[i][n]);Q.hasData(e)&&(o=Q.access(e),a=S.extend({},o),Q.set(t,a))}}function Pe(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=m(d);if(h||1<f&&"string"==typeof d&&!y.checkClone&&De.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),Pe(t,r,i,o)});if(f&&(t=(e=xe(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=S.map(ve(e,"script"),Le)).length;c<f;c++)u=e,c!==p&&(u=S.clone(u,!0,!0),s&&S.merge(a,ve(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,S.map(a,He),c=0;c<s;c++)u=a[c],he.test(u.type||"")&&!Y.access(u,"globalEval")&&S.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?S._evalUrl&&!u.noModule&&S._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):b(u.textContent.replace(je,""),u,l))}return n}function Re(e,t,n){for(var r,i=t?S.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||S.cleanData(ve(r)),r.parentNode&&(n&&ie(r)&&ye(ve(r,"script")),r.parentNode.removeChild(r));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=ie(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&pe.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||ve(e),a=a||ve(c),r=0,i=o.length;r<i;r++)Oe(o[r],a[r]);else Oe(e,c);return 0<(a=ve(c,"script")).length&&ye(a,!f&&ve(e,"script")),c},cleanData:function(e){for(var t,n,r,i=S.event.special,o=0;void 0!==(n=e[o]);o++)if(V(n)){if(t=n[Y.expando]){if(t.events)for(r in t.events)i[r]?S.event.remove(n,r):S.removeEvent(n,r,t.handle);n[Y.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Re(this,e,!0)},remove:function(e){return Re(this,e)},text:function(e){return $(this,function(e){return void 0===e?S.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Pe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||qe(this,e).appendChild(e)})},prepend:function(){return Pe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=qe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Pe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Pe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(ve(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return S.clone(this,e,t)})},html:function(e){return $(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ne.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(ve(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return Pe(this,arguments,function(e){var t=this.parentNode;S.inArray(this,n)<0&&(S.cleanData(ve(this)),t&&t.replaceChild(e,this))},n)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){S.fn[e]=function(e){for(var t,n=[],r=S(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),S(r[o])[a](t),u.apply(n,t.get());return this.pushStack(n)}});var Me=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Ie=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=C),t.getComputedStyle(e)},We=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Fe=new RegExp(ne.join("|"),"i");function Be(e,t,n){var r,i,o,a,s=e.style;return(n=n||Ie(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||ie(e)||(a=S.style(e,t)),!y.pixelBoxStyles()&&Me.test(a)&&Fe.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function $e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",re.appendChild(u).appendChild(l);var e=C.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),re.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=E.createElement("div"),l=E.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===l.style.backgroundClip,S.extend(y,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=E.createElement("table"),t=E.createElement("tr"),n=E.createElement("div"),e.style.cssText="position:absolute;left:-11111px",t.style.height="1px",n.style.height="9px",re.appendChild(e).appendChild(t).appendChild(n),r=C.getComputedStyle(t),a=3<parseInt(r.height),re.removeChild(e)),a}}))}();var _e=["Webkit","Moz","ms"],ze=E.createElement("div").style,Ue={};function Xe(e){var t=S.cssProps[e]||Ue[e];return t||(e in ze?e:Ue[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=_e.length;while(n--)if((e=_e[n]+t)in ze)return e}(e)||e)}var Ve=/^(none|table(?!-c[ea]).+)/,Ge=/^--/,Ye={position:"absolute",visibility:"hidden",display:"block"},Qe={letterSpacing:"0",fontWeight:"400"};function Je(e,t,n){var r=te.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ke(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=S.css(e,n+ne[a],!0,i)),r?("content"===n&&(u-=S.css(e,"padding"+ne[a],!0,i)),"margin"!==n&&(u-=S.css(e,"border"+ne[a]+"Width",!0,i))):(u+=S.css(e,"padding"+ne[a],!0,i),"padding"!==n?u+=S.css(e,"border"+ne[a]+"Width",!0,i):s+=S.css(e,"border"+ne[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function Ze(e,t,n){var r=Ie(e),i=(!y.boxSizingReliable()||n)&&"border-box"===S.css(e,"boxSizing",!1,r),o=i,a=Be(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Me.test(a)){if(!n)return a;a="auto"}return(!y.boxSizingReliable()&&i||!y.reliableTrDimensions()&&A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===S.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===S.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+Ke(e,t,n||(i?"border":"content"),o,r,a)+"px"}function et(e,t,n,r,i){return new et.prototype.init(e,t,n,r,i)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Be(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=X(t),u=Ge.test(t),l=e.style;if(u||(t=Xe(s)),a=S.cssHooks[t]||S.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=te.exec(n))&&i[1]&&(n=se(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(S.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=X(t);return Ge.test(t)||(t=Xe(s)),(a=S.cssHooks[t]||S.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Be(e,t,r)),"normal"===i&&t in Qe&&(i=Qe[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),S.each(["height","width"],function(e,u){S.cssHooks[u]={get:function(e,t,n){if(t)return!Ve.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Ze(e,u,n):We(e,Ye,function(){return Ze(e,u,n)})},set:function(e,t,n){var r,i=Ie(e),o=!y.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===S.css(e,"boxSizing",!1,i),s=n?Ke(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-Ke(e,u,"border",!1,i)-.5)),s&&(r=te.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=S.css(e,u)),Je(0,t,s)}}}),S.cssHooks.marginLeft=$e(y.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Be(e,"marginLeft"))||e.getBoundingClientRect().left-We(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(i,o){S.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+ne[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(S.cssHooks[i+o].set=Je)}),S.fn.extend({css:function(e,t){return $(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Ie(e),i=t.length;a<i;a++)o[t[a]]=S.css(e,t[a],!1,r);return o}return void 0!==n?S.style(e,t,n):S.css(e,t)},e,t,1<arguments.length)}}),((S.Tween=et).prototype={constructor:et,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(S.cssNumber[n]?"":"px")},cur:function(){var e=et.propHooks[this.prop];return e&&e.get?e.get(this):et.propHooks._default.get(this)},run:function(e){var t,n=et.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):et.propHooks._default.set(this),this}}).init.prototype=et.prototype,(et.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[Xe(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=et.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=et.prototype.init,S.fx.step={};var tt,nt,rt,it,ot=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function st(){nt&&(!1===E.hidden&&C.requestAnimationFrame?C.requestAnimationFrame(st):C.setTimeout(st,S.fx.interval),S.fx.tick())}function ut(){return C.setTimeout(function(){tt=void 0}),tt=Date.now()}function lt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ne[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ct(e,t,n){for(var r,i=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function ft(o,e,t){var n,a,r=0,i=ft.prefilters.length,s=S.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=tt||ut(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},t),originalProperties:e,originalOptions:t,startTime:tt||ut(),duration:t.duration,tweens:[],createTween:function(e,t){var n=S.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=X(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=S.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=ft.prefilters[r].call(l,o,c,l.opts))return m(n.stop)&&(S._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return S.map(c,ct,l),m(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),S.fx.timer(S.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}S.Animation=S.extend(ft,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return se(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(P);for(var n,r=0,i=e.length;r<i;r++)n=e[r],ft.tweeners[n]=ft.tweeners[n]||[],ft.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ae(e),v=Y.get(e,"fxshow");for(r in n.queue||(null==(a=S._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,S.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ot.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||S.style(e,r)}if((u=!S.isEmptyObject(t))||!S.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=Y.get(e,"display")),"none"===(c=S.css(e,"display"))&&(l?c=l:(le([e],!0),l=e.style.display||l,c=S.css(e,"display"),le([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===S.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=Y.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&le([e],!0),p.done(function(){for(r in g||le([e]),Y.remove(e,"fxshow"),d)S.style(e,r,d[r])})),u=ct(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?ft.prefilters.unshift(e):ft.prefilters.push(e)}}),S.speed=function(e,t,n){var r=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return S.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in S.fx.speeds?r.duration=S.fx.speeds[r.duration]:r.duration=S.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),r.queue&&S.dequeue(this,r.queue)},r},S.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=S.isEmptyObject(t),o=S.speed(e,n,r),a=function(){var e=ft(this,S.extend({},t),o);(i||Y.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=S.timers,r=Y.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&at.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||S.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Y.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=S.timers,o=n?n.length:0;for(t.finish=!0,S.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),S.each(["toggle","show","hide"],function(e,r){var i=S.fn[r];S.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(lt(r,!0),e,t,n)}}),S.each({slideDown:lt("show"),slideUp:lt("hide"),slideToggle:lt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){S.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(tt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),tt=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){nt||(nt=!0,st())},S.fx.stop=function(){nt=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(r,e){return r=S.fx&&S.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=C.setTimeout(e,r);t.stop=function(){C.clearTimeout(n)}})},rt=E.createElement("input"),it=E.createElement("select").appendChild(E.createElement("option")),rt.type="checkbox",y.checkOn=""!==rt.value,y.optSelected=it.selected,(rt=E.createElement("input")).value="t",rt.type="radio",y.radioValue="t"===rt.value;var pt,dt=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return $(this,S.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){S.removeAttr(this,e)})}}),S.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?S.prop(e,t,n):(1===o&&S.isXMLDoc(e)||(i=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=S.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(P);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),function(e,t){var a=dt[t]||S.find.attr;dt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=dt[o],dt[o]=r,r=null!=a(e,t,n)?o:null,dt[o]=i),r}});var ht=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function vt(e){return(e.match(P)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function mt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(P)||[]}S.fn.extend({prop:function(e,t){return $(this,S.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[S.propFix[e]||e]})}}),S.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(e)||(t=S.propFix[t]||t,i=S.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),y.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),S.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,u=0;if(m(t))return this.each(function(e){S(this).addClass(t.call(this,e,yt(this)))});if((e=mt(t)).length)while(n=this[u++])if(i=yt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=e[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,a,s,u=0;if(m(t))return this.each(function(e){S(this).removeClass(t.call(this,e,yt(this)))});if(!arguments.length)return this.attr("class","");if((e=mt(t)).length)while(n=this[u++])if(i=yt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=e[a++])while(-1<r.indexOf(" "+o+" "))r=r.replace(" "+o+" "," ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(i,t){var o=typeof i,a="string"===o||Array.isArray(i);return"boolean"==typeof t&&a?t?this.addClass(i):this.removeClass(i):m(i)?this.each(function(e){S(this).toggleClass(i.call(this,e,yt(this),t),t)}):this.each(function(){var e,t,n,r;if(a){t=0,n=S(this),r=mt(i);while(e=r[t++])n.hasClass(e)?n.removeClass(e):n.addClass(e)}else void 0!==i&&"boolean"!==o||((e=yt(this))&&Y.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===i?"":Y.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+vt(yt(n))+" ").indexOf(t))return!0;return!1}});var xt=/\r/g;S.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=m(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,S(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=S.map(t,function(e){return null==e?"":e+""})),(r=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=S.valHooks[t.type]||S.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(xt,""):null==e?"":e:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:vt(S.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=S(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=S.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<S.inArray(S.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<S.inArray(S(e).val(),t)}},y.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),y.focusin="onfocusin"in C;var bt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||E],d=v.call(e,"type")?e.type:e,h=v.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||E,3!==n.nodeType&&8!==n.nodeType&&!bt.test(d+S.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[S.expando]?e:new S.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),c=S.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!x(n)){for(s=c.delegateType||d,bt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||E)&&p.push(a.defaultView||a.parentWindow||C)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(Y.get(o,"events")||Object.create(null))[e.type]&&Y.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&V(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!V(n)||u&&m(n[d])&&!x(n)&&((a=n[u])&&(n[u]=null),S.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,wt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,wt),S.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(r,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each(function(){S.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),y.focusin||S.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(e){S.event.simulate(r,e.target,S.event.fix(e))};S.event.special[r]={setup:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r);t||e.addEventListener(n,i,!0),Y.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r)-1;t?Y.access(e,r,t):(e.removeEventListener(n,i,!0),Y.remove(e,r))}}});var Tt=C.location,Ct={guid:Date.now()},Et=/\?/;S.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new C.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||S.error("Invalid XML: "+e),t};var St=/\[\]$/,kt=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;function Dt(n,e,r,i){var t;if(Array.isArray(e))S.each(e,function(e,t){r||St.test(n)?i(n,t):Dt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==w(e))i(n,e);else for(t in e)Dt(n+"["+t+"]",e[t],r,i)}S.param=function(e,t){var n,r=[],i=function(e,t){var n=m(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,function(){i(this.name,this.value)});else for(n in e)Dt(n,e[n],t,i);return r.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Nt.test(this.nodeName)&&!At.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,function(e){return{name:t.name,value:e.replace(kt,"\r\n")}}):{name:t.name,value:n.replace(kt,"\r\n")}}).get()}});var jt=/%20/g,qt=/#.*$/,Lt=/([?&])_=[^&]*/,Ht=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ot=/^(?:GET|HEAD)$/,Pt=/^\/\//,Rt={},Mt={},It="*/".concat("*"),Wt=E.createElement("a");function Ft(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(P)||[];if(m(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Bt(t,i,o,a){var s={},u=t===Mt;function l(e){var r;return s[e]=!0,S.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function $t(e,t){var n,r,i=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&S.extend(!0,e,r),e}Wt.href=Tt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?$t($t(e,S.ajaxSettings),t):$t(S.ajaxSettings,e)},ajaxPrefilter:Ft(Rt),ajaxTransport:Ft(Mt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=S.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?S(y):S.event,x=S.Deferred(),b=S.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Ht.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Tt.href)+"").replace(Pt,Tt.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(P)||[""],null==v.crossDomain){r=E.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Wt.protocol+"//"+Wt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=S.param(v.data,v.traditional)),Bt(Rt,v,t,T),h)return T;for(i in(g=S.event&&v.global)&&0==S.active++&&S.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ot.test(v.type),f=v.url.replace(qt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(jt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(Et.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(Lt,"$1"),o=(Et.test(f)?"&":"?")+"_="+Ct.guid+++o),v.url=f+o),v.ifModified&&(S.lastModified[f]&&T.setRequestHeader("If-Modified-Since",S.lastModified[f]),S.etag[f]&&T.setRequestHeader("If-None-Match",S.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+It+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Bt(Mt,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=C.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&C.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<S.inArray("script",v.dataTypes)&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(S.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(S.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--S.active||S.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],function(e,i){S[i]=function(e,t,n,r){return m(t)&&(r=r||n,n=t,t=void 0),S.ajax(S.extend({url:e,type:i,dataType:r,data:t,success:n},S.isPlainObject(e)&&e))}}),S.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return m(n)?this.each(function(e){S(this).wrapInner(n.call(this,e))}):this.each(function(){var e=S(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=m(t);return this.each(function(e){S(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest}catch(e){}};var _t={0:200,1223:204},zt=S.ajaxSettings.xhr();y.cors=!!zt&&"withCredentials"in zt,y.ajax=zt=!!zt,S.ajaxTransport(function(i){var o,a;if(y.cors||zt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(_t[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&C.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),S.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),S.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=S("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Ut,Xt=[],Vt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||S.expando+"_"+Ct.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Vt,"$1"+r):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Ut=E.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ut.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=vt(e.slice(s)),e=e.slice(0,s)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&S.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?S("<div>").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):("number"==typeof f.top&&(f.top+="px"),"number"==typeof f.left&&(f.left+="px"),c.css(f))}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=$e(y.pixelPosition,function(e,t){if(t)return t=Be(e,n),Me.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var Gt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),m(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||S.guid++,i},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=A,S.isFunction=m,S.isWindow=x,S.camelCase=X,S.type=w,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(Gt,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return S});var Yt=C.jQuery,Qt=C.$;return S.noConflict=function(e){return C.$===S&&(C.$=Qt),e&&C.jQuery===S&&(C.jQuery=Yt),S},"undefined"==typeof e&&(C.jQuery=C.$=S),S});
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/jquery-ui-1.12.1/jquery-ui.js-5-
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/jquery-ui-1.12.1/jquery-ui.js:6:(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(t){function e(t){for(var e=t.css("visibility");"inherit"===e;)t=t.parent(),e=t.css("visibility");return"hidden"!==e}function i(t){for(var e,i;t.length&&t[0]!==document;){if(e=t.css("position"),("absolute"===e||"relative"===e||"fixed"===e)&&(i=parseInt(t.css("zIndex"),10),!isNaN(i)&&0!==i))return i;t=t.parent()}return 0}function s(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},t.extend(this._defaults,this.regional[""]),this.regional.en=t.extend(!0,{},this.regional[""]),this.regional["en-US"]=t.extend(!0,{},this.regional.en),this.dpDiv=n(t("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function n(e){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",i,function(){t(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",i,o)}function o(){t.datepicker._isDisabledDatepicker(u.inline?u.dpDiv.parent()[0]:u.input[0])||(t(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),t(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).addClass("ui-datepicker-next-hover"))}function a(e,i){t.extend(e,i);for(var s in i)null==i[s]&&(e[s]=i[s]);return e}t.ui=t.ui||{},t.ui.version="1.12.1";var r=0,l=Array.prototype.slice;t.cleanData=function(e){return function(i){var s,n,o;for(o=0;null!=(n=i[o]);o++)try{s=t._data(n,"events"),s&&s.remove&&t(n).triggerHandler("remove")}catch(a){}e(i)}}(t.cleanData),t.widget=function(e,i,s){var n,o,a,r={},l=e.split(".")[0];e=e.split(".")[1];var h=l+"-"+e;return s||(s=i,i=t.Widget),t.isArray(s)&&(s=t.extend.apply(null,[{}].concat(s))),t.expr[":"][h.toLowerCase()]=function(e){return!!t.data(e,h)},t[l]=t[l]||{},n=t[l][e],o=t[l][e]=function(t,e){return this._createWidget?(arguments.length&&this._createWidget(t,e),void 0):new o(t,e)},t.extend(o,n,{version:s.version,_proto:t.extend({},s),_childConstructors:[]}),a=new i,a.options=t.widget.extend({},a.options),t.each(s,function(e,s){return t.isFunction(s)?(r[e]=function(){function t(){return i.prototype[e].apply(this,arguments)}function n(t){return i.prototype[e].apply(this,t)}return function(){var e,i=this._super,o=this._superApply;return this._super=t,this._superApply=n,e=s.apply(this,arguments),this._super=i,this._superApply=o,e}}(),void 0):(r[e]=s,void 0)}),o.prototype=t.widget.extend(a,{widgetEventPrefix:n?a.widgetEventPrefix||e:e},r,{constructor:o,namespace:l,widgetName:e,widgetFullName:h}),n?(t.each(n._childConstructors,function(e,i){var s=i.prototype;t.widget(s.namespace+"."+s.widgetName,o,i._proto)}),delete n._childConstructors):i._childConstructors.push(o),t.widget.bridge(e,o),o},t.widget.extend=function(e){for(var i,s,n=l.call(arguments,1),o=0,a=n.length;a>o;o++)for(i in n[o])s=n[o][i],n[o].hasOwnProperty(i)&&void 0!==s&&(e[i]=t.isPlainObject(s)?t.isPlainObject(e[i])?t.widget.extend({},e[i],s):t.widget.extend({},s):s);return e},t.widget.bridge=function(e,i){var s=i.prototype.widgetFullName||e;t.fn[e]=function(n){var o="string"==typeof n,a=l.call(arguments,1),r=this;return o?this.length||"instance"!==n?this.each(function(){var i,o=t.data(this,s);return"instance"===n?(r=o,!1):o?t.isFunction(o[n])&&"_"!==n.charAt(0)?(i=o[n].apply(o,a),i!==o&&void 0!==i?(r=i&&i.jquery?r.pushStack(i.get()):i,!1):void 0):t.error("no such method '"+n+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; "+"attempted to call method '"+n+"'")}):r=void 0:(a.length&&(n=t.widget.extend.apply(null,[n].concat(a))),this.each(function(){var e=t.data(this,s);e?(e.option(n||{}),e._init&&e._init()):t.data(this,s,new i(n,this))})),r}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,i){i=t(i||this.defaultElement||this)[0],this.element=t(i),this.uuid=r++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},i!==this&&(t.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===i&&this.destroy()}}),this.document=t(i.style?i.ownerDocument:i.document||i),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function i(i,o){var a,r;for(r=0;i.length>r;r++)a=n.classesElementLookup[i[r]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classesElementLookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]])}var s=[],n=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function r(){return e||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var l=s.match(/^([\w:-]*)\s*(.*)$/),h=l[1]+o.eventNamespace,c=l[2];c?n.on(h,c,r):i.on(h,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,function(){function e(t,e,i){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:1)]}function i(e,i){return parseInt(t.css(e,i),10)||0}function s(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var n,o=Math.max,a=Math.abs,r=/left|center|right/,l=/top|center|bottom/,h=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==n)return n;var e,i,s=t("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),o=s.children()[0];return t("body").append(s),e=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,e===i&&(i=s[0].clientWidth),s.remove(),n=e-i},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.width<e.element[0].scrollWidth,o="scroll"===s||"auto"===s&&e.height<e.element[0].scrollHeight;return{width:o?t.position.scrollbarWidth():0,height:n?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||window),s=t.isWindow(i[0]),n=!!i[0]&&9===i[0].nodeType,o=!s&&!n;return{element:i,isWindow:s,isDocument:n,offset:o?t(e).offset():{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:i.outerWidth(),height:i.outerHeight()}}},t.fn.position=function(n){if(!n||!n.of)return d.apply(this,arguments);n=t.extend({},n);var u,p,f,g,m,_,v=t(n.of),b=t.position.getWithinInfo(n.within),y=t.position.getScrollInfo(b),w=(n.collision||"flip").split(" "),k={};return _=s(v),v[0].preventDefault&&(n.at="left top"),p=_.width,f=_.height,g=_.offset,m=t.extend({},g),t.each(["my","at"],function(){var t,e,i=(n[this]||"").split(" ");1===i.length&&(i=r.test(i[0])?i.concat(["center"]):l.test(i[0])?["center"].concat(i):["center","center"]),i[0]=r.test(i[0])?i[0]:"center",i[1]=l.test(i[1])?i[1]:"center",t=h.exec(i[0]),e=h.exec(i[1]),k[this]=[t?t[0]:0,e?e[0]:0],n[this]=[c.exec(i[0])[0],c.exec(i[1])[0]]}),1===w.length&&(w[1]=w[0]),"right"===n.at[0]?m.left+=p:"center"===n.at[0]&&(m.left+=p/2),"bottom"===n.at[1]?m.top+=f:"center"===n.at[1]&&(m.top+=f/2),u=e(k.at,p,f),m.left+=u[0],m.top+=u[1],this.each(function(){var s,r,l=t(this),h=l.outerWidth(),c=l.outerHeight(),d=i(this,"marginLeft"),_=i(this,"marginTop"),x=h+d+i(this,"marginRight")+y.width,C=c+_+i(this,"marginBottom")+y.height,D=t.extend({},m),T=e(k.my,l.outerWidth(),l.outerHeight());"right"===n.my[0]?D.left-=h:"center"===n.my[0]&&(D.left-=h/2),"bottom"===n.my[1]?D.top-=c:"center"===n.my[1]&&(D.top-=c/2),D.left+=T[0],D.top+=T[1],s={marginLeft:d,marginTop:_},t.each(["left","top"],function(e,i){t.ui.position[w[e]]&&t.ui.position[w[e]][i](D,{targetWidth:p,targetHeight:f,elemWidth:h,elemHeight:c,collisionPosition:s,collisionWidth:x,collisionHeight:C,offset:[u[0]+T[0],u[1]+T[1]],my:n.my,at:n.at,within:b,elem:l})}),n.using&&(r=function(t){var e=g.left-D.left,i=e+p-h,s=g.top-D.top,r=s+f-c,u={target:{element:v,left:g.left,top:g.top,width:p,height:f},element:{element:l,left:D.left,top:D.top,width:h,height:c},horizontal:0>i?"left":e>0?"right":"center",vertical:0>r?"top":s>0?"bottom":"middle"};h>p&&p>a(e+i)&&(u.horizontal="center"),c>f&&f>a(s+r)&&(u.vertical="middle"),u.important=o(a(e),a(i))>o(a(s),a(r))?"horizontal":"vertical",n.using.call(this,t,u)}),l.offset(t.extend(D,{using:r}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,l=n-r,h=r+e.collisionWidth-a-n;e.collisionWidth>a?l>0&&0>=h?(i=t.left+l+e.collisionWidth-a-n,t.left+=l-i):t.left=h>0&&0>=l?n:l>h?n+a-e.collisionWidth:n:l>0?t.left+=l:h>0?t.left-=h:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,l=n-r,h=r+e.collisionHeight-a-n;e.collisionHeight>a?l>0&&0>=h?(i=t.top+l+e.collisionHeight-a-n,t.top+=l-i):t.top=h>0&&0>=l?n:l>h?n+a-e.collisionHeight:n:l>0?t.top+=l:h>0?t.top-=h:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,r=n.width,l=n.isWindow?n.scrollLeft:n.offset.left,h=t.left-e.collisionPosition.marginLeft,c=h-l,u=h+e.collisionWidth-r-l,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-r-o,(0>i||a(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-l,(s>0||u>a(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,r=n.height,l=n.isWindow?n.scrollTop:n.offset.top,h=t.top-e.collisionPosition.marginTop,c=h-l,u=h+e.collisionHeight-r-l,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,g=-2*e.offset[1];0>c?(s=t.top+p+f+g+e.collisionHeight-r-o,(0>s||a(c)>s)&&(t.top+=p+f+g)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+g-l,(i>0||u>a(i))&&(t.top+=p+f+g))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position,t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,s){return!!t.data(e,s[3])}}),t.fn.extend({disableSelection:function(){var t="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}}),t.ui.focusable=function(i,s){var n,o,a,r,l,h=i.nodeName.toLowerCase();return"area"===h?(n=i.parentNode,o=n.name,i.href&&o&&"map"===n.nodeName.toLowerCase()?(a=t("img[usemap='#"+o+"']"),a.length>0&&a.is(":visible")):!1):(/^(input|select|textarea|button|object)$/.test(h)?(r=!i.disabled,r&&(l=t(i).closest("fieldset")[0],l&&(r=!l.disabled))):r="a"===h?i.href||s:s,r&&t(i).is(":visible")&&e(t(i)))},t.extend(t.expr[":"],{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}}),t.ui.focusable,t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.fn.scrollParent=function(e){var i=this.css("position"),s="absolute"===i,n=e?/(auto|scroll|hidden)/:/(auto|scroll)/,o=this.parents().filter(function(){var e=t(this);return s&&"static"===e.css("position")?!1:n.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&o.length?o:t(this[0].ownerDocument||document)},t.extend(t.expr[":"],{tabbable:function(e){var i=t.attr(e,"tabindex"),s=null!=i;return(!s||i>=0)&&t.ui.focusable(e,s)}}),t.fn.extend({uniqueId:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var h=!1;t(document).on("mouseup",function(){h=!1}),t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!h){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var i=this,s=1===e.which,n="string"==typeof this.options.cancel&&e.target.nodeName?t(e.target).closest(this.options.cancel).length:!1;return s&&!n&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(e)!==!1,!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return i._mouseMove(t)},this._mouseUpDelegate=function(t){return i._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),h=!0,!0)):!0}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,h=!1,e.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.ui.plugin={add:function(e,i,s){var n,o=t.ui[e].prototype;for(n in s)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([i,s[n]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;o.length>n;n++)t.options[o[n][0]]&&o[n][1].apply(t.element,i)}},t.ui.safeActiveElement=function(t){var e;try{e=t.activeElement}catch(i){e=t.body}return e||(e=t.body),e.nodeName||(e=t.body),e},t.ui.safeBlur=function(e){e&&"body"!==e.nodeName.toLowerCase()&&t(e).trigger("blur")},t.widget("ui.draggable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){return(this.helper||this.element).is(".ui-draggable-dragging")?(this.destroyOnClear=!0,void 0):(this._removeHandleClassName(),this._mouseDestroy(),void 0)},_mouseCapture:function(e){var i=this.options;return this.helper||i.disabled||t(e.target).closest(".ui-resizable-handle").length>0?!1:(this.handle=this._getHandle(e),this.handle?(this._blurActiveElement(e),this._blockFrames(i.iframeFix===!0?"iframe":i.iframeFix),!0):!1)},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=t(this);return t("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var i=t.ui.safeActiveElement(this.document[0]),s=t(e.target);s.closest(i).length||t.ui.safeBlur(i)},_mouseStart:function(e){var i=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return"fixed"===t(this).css("position")}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),this._trigger("start",e)===!1?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(e,i){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!i){var s=this._uiHash();if(this._trigger("drag",e,s)===!1)return this._mouseUp(new t.Event("mouseup",e)),!1;this.position=s.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var i=this,s=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(s=t.ui.ddmanager.drop(this,e)),this.dropped&&(s=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!s||"valid"===this.options.revert&&s||this.options.revert===!0||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,s)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){i._trigger("stop",e)!==!1&&i._clear()}):this._trigger("stop",e)!==!1&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new t.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return this.options.handle?!!t(e.target).closest(this.element.find(this.options.handle)).length:!0},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper),n=s?t(i.helper.apply(this.element[0],[e])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return n.parents("body").length||n.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),s&&n[0]===this.element[0]&&this._setPositionRelative(),n[0]===this.element[0]||/(fixed|absolute)/.test(n.css("position"))||n.css("position","absolute"),n},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),i=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==i&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options,o=this.document[0];return this.relativeContainer=null,n.containment?"window"===n.containment?(this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],void 0):"document"===n.containment?(this.containment=[0,0,t(o).width()-this.helperProportions.width-this.margins.left,(t(o).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],void 0):n.containment.constructor===Array?(this.containment=n.containment,void 0):("parent"===n.containment&&(n.containment=this.helper[0].parentNode),i=t(n.containment),s=i[0],s&&(e=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(s.scrollWidth,s.offsetWidth):s.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(s.scrollHeight,s.offsetHeight):s.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i),void 0):(this.containment=null,void 0)},_convertPositionTo:function(t,e){e||(e=this.position);var i="absolute"===t?1:-1,s=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top)*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)*i}},_generatePosition:function(t,e){var i,s,n,o,a=this.options,r=this._isRootNode(this.scrollParent[0]),l=t.pageX,h=t.pageY;return r&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(this.relativeContainer?(s=this.relativeContainer.offset(),i=[this.containment[0]+s.left,this.containment[1]+s.top,this.containment[2]+s.left,this.containment[3]+s.top]):i=this.containment,t.pageX-this.offset.click.left<i[0]&&(l=i[0]+this.offset.click.left),t.pageY-this.offset.click.top<i[1]&&(h=i[1]+this.offset.click.top),t.pageX-this.offset.click.left>i[2]&&(l=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>i[3]&&(h=i[3]+this.offset.click.top)),a.grid&&(n=a.grid[1]?this.originalPageY+Math.round((h-this.originalPageY)/a.grid[1])*a.grid[1]:this.originalPageY,h=i?n-this.offset.click.top>=i[1]||n-this.offset.click.top>i[3]?n:n-this.offset.click.top>=i[1]?n-a.grid[1]:n+a.grid[1]:n,o=a.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/a.grid[0])*a.grid[0]:this.originalPageX,l=i?o-this.offset.click.left>=i[0]||o-this.offset.click.left>i[2]?o:o-this.offset.click.left>=i[0]?o-a.grid[0]:o+a.grid[0]:o),"y"===a.axis&&(l=this.originalPageX),"x"===a.axis&&(h=this.originalPageY)),{top:h-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:r?0:this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:r?0:this.offset.scroll.left)}
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/jquery-ui-1.12.1/jquery-ui.js-7-},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,i,s){return s=s||this._uiHash(),t.ui.plugin.call(this,e,[i,s,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),s.offset=this.positionAbs),t.Widget.prototype._trigger.call(this,e,i,s)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,i,s){var n=t.extend({},i,{item:s.element});s.sortables=[],t(s.options.connectToSortable).each(function(){var i=t(this).sortable("instance");i&&!i.options.disabled&&(s.sortables.push(i),i.refreshPositions(),i._trigger("activate",e,n))})},stop:function(e,i,s){var n=t.extend({},i,{item:s.element});s.cancelHelperRemoval=!1,t.each(s.sortables,function(){var t=this;t.isOver?(t.isOver=0,s.cancelHelperRemoval=!0,t.cancelHelperRemoval=!1,t._storedCSS={position:t.placeholder.css("position"),top:t.placeholder.css("top"),left:t.placeholder.css("left")},t._mouseStop(e),t.options.helper=t.options._helper):(t.cancelHelperRemoval=!0,t._trigger("deactivate",e,n))})},drag:function(e,i,s){t.each(s.sortables,function(){var n=!1,o=this;o.positionAbs=s.positionAbs,o.helperProportions=s.helperProportions,o.offset.click=s.offset.click,o._intersectsWith(o.containerCache)&&(n=!0,t.each(s.sortables,function(){return this.positionAbs=s.positionAbs,this.helperProportions=s.helperProportions,this.offset.click=s.offset.click,this!==o&&this._intersectsWith(this.containerCache)&&t.contains(o.element[0],this.element[0])&&(n=!1),n})),n?(o.isOver||(o.isOver=1,s._parent=i.helper.parent(),o.currentItem=i.helper.appendTo(o.element).data("ui-sortable-item",!0),o.options._helper=o.options.helper,o.options.helper=function(){return i.helper[0]},e.target=o.currentItem[0],o._mouseCapture(e,!0),o._mouseStart(e,!0,!0),o.offset.click.top=s.offset.click.top,o.offset.click.left=s.offset.click.left,o.offset.parent.left-=s.offset.parent.left-o.offset.parent.left,o.offset.parent.top-=s.offset.parent.top-o.offset.parent.top,s._trigger("toSortable",e),s.dropped=o.element,t.each(s.sortables,function(){this.refreshPositions()}),s.currentItem=s.element,o.fromOutside=s),o.currentItem&&(o._mouseDrag(e),i.position=o.position)):o.isOver&&(o.isOver=0,o.cancelHelperRemoval=!0,o.options._revert=o.options.revert,o.options.revert=!1,o._trigger("out",e,o._uiHash(o)),o._mouseStop(e,!0),o.options.revert=o.options._revert,o.options.helper=o.options._helper,o.placeholder&&o.placeholder.remove(),i.helper.appendTo(s._parent),s._refreshOffsets(e),i.position=s._generatePosition(e,!0),s._trigger("fromSortable",e),s.dropped=!1,t.each(s.sortables,function(){this.refreshPositions()}))})}}),t.ui.plugin.add("draggable","cursor",{start:function(e,i,s){var n=t("body"),o=s.options;n.css("cursor")&&(o._cursor=n.css("cursor")),n.css("cursor",o.cursor)},stop:function(e,i,s){var n=s.options;n._cursor&&t("body").css("cursor",n._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,i,s){var n=t(i.helper),o=s.options;n.css("opacity")&&(o._opacity=n.css("opacity")),n.css("opacity",o.opacity)},stop:function(e,i,s){var n=s.options;n._opacity&&t(i.helper).css("opacity",n._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(t,e,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(e,i,s){var n=s.options,o=!1,a=s.scrollParentNotHidden[0],r=s.document[0];a!==r&&"HTML"!==a.tagName?(n.axis&&"x"===n.axis||(s.overflowOffset.top+a.offsetHeight-e.pageY<n.scrollSensitivity?a.scrollTop=o=a.scrollTop+n.scrollSpeed:e.pageY-s.overflowOffset.top<n.scrollSensitivity&&(a.scrollTop=o=a.scrollTop-n.scrollSpeed)),n.axis&&"y"===n.axis||(s.overflowOffset.left+a.offsetWidth-e.pageX<n.scrollSensitivity?a.scrollLeft=o=a.scrollLeft+n.scrollSpeed:e.pageX-s.overflowOffset.left<n.scrollSensitivity&&(a.scrollLeft=o=a.scrollLeft-n.scrollSpeed))):(n.axis&&"x"===n.axis||(e.pageY-t(r).scrollTop()<n.scrollSensitivity?o=t(r).scrollTop(t(r).scrollTop()-n.scrollSpeed):t(window).height()-(e.pageY-t(r).scrollTop())<n.scrollSensitivity&&(o=t(r).scrollTop(t(r).scrollTop()+n.scrollSpeed))),n.axis&&"y"===n.axis||(e.pageX-t(r).scrollLeft()<n.scrollSensitivity?o=t(r).scrollLeft(t(r).scrollLeft()-n.scrollSpeed):t(window).width()-(e.pageX-t(r).scrollLeft())<n.scrollSensitivity&&(o=t(r).scrollLeft(t(r).scrollLeft()+n.scrollSpeed)))),o!==!1&&t.ui.ddmanager&&!n.dropBehaviour&&t.ui.ddmanager.prepareOffsets(s,e)}}),t.ui.plugin.add("draggable","snap",{start:function(e,i,s){var n=s.options;s.snapElements=[],t(n.snap.constructor!==String?n.snap.items||":data(ui-draggable)":n.snap).each(function(){var e=t(this),i=e.offset();this!==s.element[0]&&s.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:i.top,left:i.left})})},drag:function(e,i,s){var n,o,a,r,l,h,c,u,d,p,f=s.options,g=f.snapTolerance,m=i.offset.left,_=m+s.helperProportions.width,v=i.offset.top,b=v+s.helperProportions.height;for(d=s.snapElements.length-1;d>=0;d--)l=s.snapElements[d].left-s.margins.left,h=l+s.snapElements[d].width,c=s.snapElements[d].top-s.margins.top,u=c+s.snapElements[d].height,l-g>_||m>h+g||c-g>b||v>u+g||!t.contains(s.snapElements[d].item.ownerDocument,s.snapElements[d].item)?(s.snapElements[d].snapping&&s.options.snap.release&&s.options.snap.release.call(s.element,e,t.extend(s._uiHash(),{snapItem:s.snapElements[d].item})),s.snapElements[d].snapping=!1):("inner"!==f.snapMode&&(n=g>=Math.abs(c-b),o=g>=Math.abs(u-v),a=g>=Math.abs(l-_),r=g>=Math.abs(h-m),n&&(i.position.top=s._convertPositionTo("relative",{top:c-s.helperProportions.height,left:0}).top),o&&(i.position.top=s._convertPositionTo("relative",{top:u,left:0}).top),a&&(i.position.left=s._convertPositionTo("relative",{top:0,left:l-s.helperProportions.width}).left),r&&(i.position.left=s._convertPositionTo("relative",{top:0,left:h}).left)),p=n||o||a||r,"outer"!==f.snapMode&&(n=g>=Math.abs(c-v),o=g>=Math.abs(u-b),a=g>=Math.abs(l-m),r=g>=Math.abs(h-_),n&&(i.position.top=s._convertPositionTo("relative",{top:c,left:0}).top),o&&(i.position.top=s._convertPositionTo("relative",{top:u-s.helperProportions.height,left:0}).top),a&&(i.position.left=s._convertPositionTo("relative",{top:0,left:l}).left),r&&(i.position.left=s._convertPositionTo("relative",{top:0,left:h-s.helperProportions.width}).left)),!s.snapElements[d].snapping&&(n||o||a||r||p)&&s.options.snap.snap&&s.options.snap.snap.call(s.element,e,t.extend(s._uiHash(),{snapItem:s.snapElements[d].item})),s.snapElements[d].snapping=n||o||a||r||p)}}),t.ui.plugin.add("draggable","stack",{start:function(e,i,s){var n,o=s.options,a=t.makeArray(t(o.stack)).sort(function(e,i){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(i).css("zIndex"),10)||0)});a.length&&(n=parseInt(t(a[0]).css("zIndex"),10)||0,t(a).each(function(e){t(this).css("zIndex",n+e)}),this.css("zIndex",n+a.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,i,s){var n=t(i.helper),o=s.options;n.css("zIndex")&&(o._zIndex=n.css("zIndex")),n.css("zIndex",o.zIndex)},stop:function(e,i,s){var n=s.options;n._zIndex&&t(i.helper).css("zIndex",n._zIndex)}}),t.ui.draggable,t.widget("ui.droppable",{version:"1.12.1",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,i=this.options,s=i.accept;this.isover=!1,this.isout=!0,this.accept=t.isFunction(s)?s:function(t){return t.is(s)},this.proportions=function(){return arguments.length?(e=arguments[0],void 0):e?e:e={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}},this._addToManager(i.scope),i.addClasses&&this._addClass("ui-droppable")},_addToManager:function(e){t.ui.ddmanager.droppables[e]=t.ui.ddmanager.droppables[e]||[],t.ui.ddmanager.droppables[e].push(this)},_splice:function(t){for(var e=0;t.length>e;e++)t[e]===this&&t.splice(e,1)},_destroy:function(){var e=t.ui.ddmanager.droppables[this.options.scope];this._splice(e)},_setOption:function(e,i){if("accept"===e)this.accept=t.isFunction(i)?i:function(t){return t.is(i)};else if("scope"===e){var s=t.ui.ddmanager.droppables[this.options.scope];this._splice(s),this._addToManager(i)}this._super(e,i)},_activate:function(e){var i=t.ui.ddmanager.current;this._addActiveClass(),i&&this._trigger("activate",e,this.ui(i))},_deactivate:function(e){var i=t.ui.ddmanager.current;this._removeActiveClass(),i&&this._trigger("deactivate",e,this.ui(i))},_over:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this._addHoverClass(),this._trigger("over",e,this.ui(i)))},_out:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this._removeHoverClass(),this._trigger("out",e,this.ui(i)))},_drop:function(e,i){var s=i||t.ui.ddmanager.current,n=!1;return s&&(s.currentItem||s.element)[0]!==this.element[0]?(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var i=t(this).droppable("instance");return i.options.greedy&&!i.options.disabled&&i.options.scope===s.options.scope&&i.accept.call(i.element[0],s.currentItem||s.element)&&c(s,t.extend(i,{offset:i.element.offset()}),i.options.tolerance,e)?(n=!0,!1):void 0}),n?!1:this.accept.call(this.element[0],s.currentItem||s.element)?(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",e,this.ui(s)),this.element):!1):!1},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}});var c=t.ui.intersect=function(){function t(t,e,i){return t>=e&&e+i>t}return function(e,i,s,n){if(!i.offset)return!1;var o=(e.positionAbs||e.position.absolute).left+e.margins.left,a=(e.positionAbs||e.position.absolute).top+e.margins.top,r=o+e.helperProportions.width,l=a+e.helperProportions.height,h=i.offset.left,c=i.offset.top,u=h+i.proportions().width,d=c+i.proportions().height;switch(s){case"fit":return o>=h&&u>=r&&a>=c&&d>=l;case"intersect":return o+e.helperProportions.width/2>h&&u>r-e.helperProportions.width/2&&a+e.helperProportions.height/2>c&&d>l-e.helperProportions.height/2;case"pointer":return t(n.pageY,c,i.proportions().height)&&t(n.pageX,h,i.proportions().width);case"touch":return(a>=c&&d>=a||l>=c&&d>=l||c>a&&l>d)&&(o>=h&&u>=o||r>=h&&u>=r||h>o&&r>u);default:return!1}}}();t.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(e,i){var s,n,o=t.ui.ddmanager.droppables[e.options.scope]||[],a=i?i.type:null,r=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();t:for(s=0;o.length>s;s++)if(!(o[s].options.disabled||e&&!o[s].accept.call(o[s].element[0],e.currentItem||e.element))){for(n=0;r.length>n;n++)if(r[n]===o[s].element[0]){o[s].proportions().height=0;continue t}o[s].visible="none"!==o[s].element.css("display"),o[s].visible&&("mousedown"===a&&o[s]._activate.call(o[s],i),o[s].offset=o[s].element.offset(),o[s].proportions({width:o[s].element[0].offsetWidth,height:o[s].element[0].offsetHeight}))}},drop:function(e,i){var s=!1;return t.each((t.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&c(e,this,this.options.tolerance,i)&&(s=this._drop.call(this,i)||s),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,i)))}),s},dragStart:function(e,i){e.element.parentsUntil("body").on("scroll.droppable",function(){e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)})},drag:function(e,i){e.options.refreshPositions&&t.ui.ddmanager.prepareOffsets(e,i),t.each(t.ui.ddmanager.droppables[e.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var s,n,o,a=c(e,this,this.options.tolerance,i),r=!a&&this.isover?"isout":a&&!this.isover?"isover":null;r&&(this.options.greedy&&(n=this.options.scope,o=this.element.parents(":data(ui-droppable)").filter(function(){return t(this).droppable("instance").options.scope===n}),o.length&&(s=t(o[0]).droppable("instance"),s.greedyChild="isover"===r)),s&&"isover"===r&&(s.isover=!1,s.isout=!0,s._out.call(s,i)),this[r]=!0,this["isout"===r?"isover":"isout"]=!1,this["isover"===r?"_over":"_out"].call(this,i),s&&"isout"===r&&(s.isout=!1,s.isover=!0,s._over.call(s,i)))}})},dragStop:function(e,i){e.element.parentsUntil("body").off("scroll.droppable"),e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)}},t.uiBackCompat!==!1&&t.widget("ui.droppable",t.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}}),t.ui.droppable,t.widget("ui.resizable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",n=!1;return e[s]>0?!0:(e[s]=1,n=e[s]>0,e[s]=0,n)},_create:function(){var e,i=this.options,s=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),i.autoHide&&t(this.element).on("mouseenter",function(){i.disabled||(s._removeClass("ui-resizable-autohide"),s._handles.show())}).on("mouseleave",function(){i.disabled||s.resizing||(s._addClass("ui-resizable-autohide"),s._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;default:}},_setupHandles:function(){var e,i,s,n,o,a=this.options,r=this;if(this.handles=a.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),s=this.handles.split(","),this.handles={},i=0;s.length>i;i++)e=t.trim(s[i]),n="ui-resizable-"+e,o=t("<div>"),this._addClass(o,"ui-resizable-handle "+n),o.css({zIndex:a.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(o);this._renderAxis=function(e){var i,s,n,o;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=t(this.handles[i]),this._on(this.handles[i],{mousedown:r._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(s=t(this.handles[i],this.element),o=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(n,o),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){r.resizing||(this.className&&(o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=o&&o[1]?o[1]:"se")}),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var i,s,n=!1;for(i in this.handles)s=t(this.handles[i])[0],(s===e.target||t.contains(s,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(e){var i,s,n,o=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),s=this._num(this.helper.css("top")),o.containment&&(i+=t(o.containment).scrollLeft()||0,s+=t(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:s},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:i,top:s},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===n?this.axis+"-resize":n),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var i,s,n=this.originalMousePosition,o=this.axis,a=e.pageX-n.left||0,r=e.pageY-n.top||0,l=this._change[o];return this._updatePrevProperties(),l?(i=l.apply(this,[e,a,r]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),s=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(s)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,s,n,o,a,r,l,h=this.options,c=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&this._hasScroll(i[0],"left")?0:c.sizeDiff.height,o=s?0:c.sizeDiff.width,a={width:c.helper.width()-o,height:c.helper.height()-n},r=parseFloat(c.element.css("left"))+(c.position.left-c.originalPosition.left)||null,l=parseFloat(c.element.css("top"))+(c.position.top-c.originalPosition.top)||null,h.animate||this.element.css(t.extend(a,{top:l,left:r})),c.helper.height(c.size.height),c.helper.width(c.size.width),this._helper&&!h.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s,n,o,a=this.options;o={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:1/0,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||t)&&(e=o.minHeight*this.aspectRatio,s=o.minWidth/this.aspectRatio,i=o.maxHeight*this.aspectRatio,n=o.maxWidth/this.aspectRatio,e>o.minWidth&&(o.minWidth=e),s>o.minHeight&&(o.minHeight=s),o.maxWidth>i&&(o.maxWidth=i),o.maxHeight>n&&(o.maxHeight=n)),this._vBoundaries=o},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,s=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===s&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===s&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,s=this._isNumber(t.width)&&e.maxWidth&&e.maxWidth<t.width,n=this._isNumber(t.height)&&e.maxHeight&&e.maxHeight<t.height,o=this._isNumber(t.width)&&e.minWidth&&e.minWidth>t.width,a=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,h=/sw|nw|w/.test(i),c=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),a&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&h&&(t.left=r-e.minWidth),s&&h&&(t.left=r-e.maxWidth),a&&c&&(t.top=l-e.minHeight),n&&c&&(t.top=l-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];4>e;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;this._proportionallyResizeElements.length>e;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("<div style='overflow:hidden;'></div>"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,s=this.originalPosition;return{left:s.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},sw:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,s]))},ne:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},nw:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,s]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),s=i.options,n=i._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),a=o&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,r=o?0:i.sizeDiff.width,l={width:i.size.width-r,height:i.size.height-a},h=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,c=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(l,c&&h?{top:c,left:h}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};n&&n.length&&t(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,i,s,n,o,a,r,l=t(this).resizable("instance"),h=l.options,c=l.element,u=h.containment,d=u instanceof t?u.get(0):/parent/.test(u)?c.parent().get(0):u;d&&(l.containerElement=t(d),/document/.test(u)||u===document?(l.containerOffset={left:0,top:0},l.containerPosition={left:0,top:0},l.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(d),i=[],t(["Top","Right","Left","Bottom"]).each(function(t,s){i[t]=l._num(e.css("padding"+s))}),l.containerOffset=e.offset(),l.containerPosition=e.position(),l.containerSize={height:e.innerHeight()-i[3],width:e.innerWidth()-i[1]},s=l.containerOffset,n=l.containerSize.height,o=l.containerSize.width,a=l._hasScroll(d,"left")?d.scrollWidth:o,r=l._hasScroll(d)?d.scrollHeight:n,l.parentData={element:d,left:s.left,top:s.top,width:a,height:r}))},resize:function(e){var i,s,n,o,a=t(this).resizable("instance"),r=a.options,l=a.containerOffset,h=a.position,c=a._aspectRatio||e.shiftKey,u={top:0,left:0},d=a.containerElement,p=!0;d[0]!==document&&/static/.test(d.css("position"))&&(u=l),h.left<(a._helper?l.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-l.left:a.position.left-u.left),c&&(a.size.height=a.size.width/a.aspectRatio,p=!1),a.position.left=r.helper?l.left:0),h.top<(a._helper?l.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-l.top:a.position.top),c&&(a.size.width=a.size.height*a.aspectRatio,p=!1),a.position.top=a._helper?l.top:0),n=a.containerElement.get(0)===a.element.parent().get(0),o=/relative|absolute/.test(a.containerElement.css("position")),n&&o?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),i=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-u.left:a.offset.left-l.left)),s=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-u.top:a.offset.top-l.top)),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,c&&(a.size.height=a.size.width/a.aspectRatio,p=!1)),s+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-s,c&&(a.size.width=a.size.height*a.aspectRatio,p=!1)),p||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.containerPosition,o=e.containerElement,a=t(e.helper),r=a.offset(),l=a.outerWidth()-e.sizeDiff.width,h=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:l,height:h}),e._helper&&!i.animate&&/static/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:l,height:h})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance"),i=e.options;t(i.alsoResize).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,i){var s=t(this).resizable("instance"),n=s.options,o=s.originalSize,a=s.originalPosition,r={height:s.size.height-o.height||0,width:s.size.width-o.width||0,top:s.position.top-a.top||0,left:s.position.left-a.left||0};t(n.alsoResize).each(function(){var e=t(this),s=t(this).data("ui-resizable-alsoresize"),n={},o=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(o,function(t,e){var i=(s[e]||0)+(r[e]||0);i&&i>=0&&(n[e]=i||null)}),e.css(n)})},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),t.uiBackCompat!==!1&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,i=t(this).resizable("instance"),s=i.options,n=i.size,o=i.originalSize,a=i.originalPosition,r=i.axis,l="number"==typeof s.grid?[s.grid,s.grid]:s.grid,h=l[0]||1,c=l[1]||1,u=Math.round((n.width-o.width)/h)*h,d=Math.round((n.height-o.height)/c)*c,p=o.width+u,f=o.height+d,g=s.maxWidth&&p>s.maxWidth,m=s.maxHeight&&f>s.maxHeight,_=s.minWidth&&s.minWidth>p,v=s.minHeight&&s.minHeight>f;s.grid=l,_&&(p+=h),v&&(f+=c),g&&(p-=h),m&&(f-=c),/^(se|s|e)$/.test(r)?(i.size.width=p,i.size.height=f):/^(ne)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.top=a.top-d):/^(sw)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.left=a.left-u):((0>=f-c||0>=p-h)&&(e=i._getPaddingPlusBorderDimensions(this)),f-c>0?(i.size.height=f,i.position.top=a.top-d):(f=c-e.height,i.size.height=f,i.position.top=a.top+o.height-f),p-h>0?(i.size.width=p,i.position.left=a.left-u):(p=h-e.width,i.size.width=p,i.position.left=a.left+o.width-p))
##############################################
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/momentjs-2.18.1/moment.min.js-5-//! momentjs.com
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/momentjs-2.18.1/moment.min.js:6:!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.moment=b()}(this,function(){"use strict";function a(){return sd.apply(null,arguments)}function b(a){sd=a}function c(a){return a instanceof Array||"[object Array]"===Object.prototype.toString.call(a)}function d(a){return null!=a&&"[object Object]"===Object.prototype.toString.call(a)}function e(a){var b;for(b in a)return!1;return!0}function f(a){return void 0===a}function g(a){return"number"==typeof a||"[object Number]"===Object.prototype.toString.call(a)}function h(a){return a instanceof Date||"[object Date]"===Object.prototype.toString.call(a)}function i(a,b){var c,d=[];for(c=0;c<a.length;++c)d.push(b(a[c],c));return d}function j(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function k(a,b){for(var c in b)j(b,c)&&(a[c]=b[c]);return j(b,"toString")&&(a.toString=b.toString),j(b,"valueOf")&&(a.valueOf=b.valueOf),a}function l(a,b,c,d){return sb(a,b,c,d,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function n(a){return null==a._pf&&(a._pf=m()),a._pf}function o(a){if(null==a._isValid){var b=n(a),c=ud.call(b.parsedDateParts,function(a){return null!=a}),d=!isNaN(a._d.getTime())&&b.overflow<0&&!b.empty&&!b.invalidMonth&&!b.invalidWeekday&&!b.nullInput&&!b.invalidFormat&&!b.userInvalidated&&(!b.meridiem||b.meridiem&&c);if(a._strict&&(d=d&&0===b.charsLeftOver&&0===b.unusedTokens.length&&void 0===b.bigHour),null!=Object.isFrozen&&Object.isFrozen(a))return d;a._isValid=d}return a._isValid}function p(a){var b=l(NaN);return null!=a?k(n(b),a):n(b).userInvalidated=!0,b}function q(a,b){var c,d,e;if(f(b._isAMomentObject)||(a._isAMomentObject=b._isAMomentObject),f(b._i)||(a._i=b._i),f(b._f)||(a._f=b._f),f(b._l)||(a._l=b._l),f(b._strict)||(a._strict=b._strict),f(b._tzm)||(a._tzm=b._tzm),f(b._isUTC)||(a._isUTC=b._isUTC),f(b._offset)||(a._offset=b._offset),f(b._pf)||(a._pf=n(b)),f(b._locale)||(a._locale=b._locale),vd.length>0)for(c=0;c<vd.length;c++)d=vd[c],e=b[d],f(e)||(a[d]=e);return a}function r(b){q(this,b),this._d=new Date(null!=b._d?b._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),wd===!1&&(wd=!0,a.updateOffset(this),wd=!1)}function s(a){return a instanceof r||null!=a&&null!=a._isAMomentObject}function t(a){return a<0?Math.ceil(a)||0:Math.floor(a)}function u(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=t(b)),c}function v(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;d<e;d++)(c&&a[d]!==b[d]||!c&&u(a[d])!==u(b[d]))&&g++;return g+f}function w(b){a.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+b)}function x(b,c){var d=!0;return k(function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,b),d){for(var e,f=[],g=0;g<arguments.length;g++){if(e="","object"==typeof arguments[g]){e+="\n["+g+"] ";for(var h in arguments[0])e+=h+": "+arguments[0][h]+", ";e=e.slice(0,-2)}else e=arguments[g];f.push(e)}w(b+"\nArguments: "+Array.prototype.slice.call(f).join("")+"\n"+(new Error).stack),d=!1}return c.apply(this,arguments)},c)}function y(b,c){null!=a.deprecationHandler&&a.deprecationHandler(b,c),xd[b]||(w(c),xd[b]=!0)}function z(a){return a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)}function A(a){var b,c;for(c in a)b=a[c],z(b)?this[c]=b:this["_"+c]=b;this._config=a,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function B(a,b){var c,e=k({},a);for(c in b)j(b,c)&&(d(a[c])&&d(b[c])?(e[c]={},k(e[c],a[c]),k(e[c],b[c])):null!=b[c]?e[c]=b[c]:delete e[c]);for(c in a)j(a,c)&&!j(b,c)&&d(a[c])&&(e[c]=k({},e[c]));return e}function C(a){null!=a&&this.set(a)}function D(a,b,c){var d=this._calendar[a]||this._calendar.sameElse;return z(d)?d.call(b,c):d}function E(a){var b=this._longDateFormat[a],c=this._longDateFormat[a.toUpperCase()];return b||!c?b:(this._longDateFormat[a]=c.replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a])}function F(){return this._invalidDate}function G(a){return this._ordinal.replace("%d",a)}function H(a,b,c,d){var e=this._relativeTime[c];return z(e)?e(a,b,c,d):e.replace(/%d/i,a)}function I(a,b){var c=this._relativeTime[a>0?"future":"past"];return z(c)?c(b):c.replace(/%s/i,b)}function J(a,b){var c=a.toLowerCase();Hd[c]=Hd[c+"s"]=Hd[b]=a}function K(a){return"string"==typeof a?Hd[a]||Hd[a.toLowerCase()]:void 0}function L(a){var b,c,d={};for(c in a)j(a,c)&&(b=K(c),b&&(d[b]=a[c]));return d}function M(a,b){Id[a]=b}function N(a){var b=[];for(var c in a)b.push({unit:c,priority:Id[c]});return b.sort(function(a,b){return a.priority-b.priority}),b}function O(b,c){return function(d){return null!=d?(Q(this,b,d),a.updateOffset(this,c),this):P(this,b)}}function P(a,b){return a.isValid()?a._d["get"+(a._isUTC?"UTC":"")+b]():NaN}function Q(a,b,c){a.isValid()&&a._d["set"+(a._isUTC?"UTC":"")+b](c)}function R(a){return a=K(a),z(this[a])?this[a]():this}function S(a,b){if("object"==typeof a){a=L(a);for(var c=N(a),d=0;d<c.length;d++)this[c[d].unit](a[c[d].unit])}else if(a=K(a),z(this[a]))return this[a](b);return this}function T(a,b,c){var d=""+Math.abs(a),e=b-d.length,f=a>=0;return(f?c?"+":"":"-")+Math.pow(10,Math.max(0,e)).toString().substr(1)+d}function U(a,b,c,d){var e=d;"string"==typeof d&&(e=function(){return this[d]()}),a&&(Md[a]=e),b&&(Md[b[0]]=function(){return T(e.apply(this,arguments),b[1],b[2])}),c&&(Md[c]=function(){return this.localeData().ordinal(e.apply(this,arguments),a)})}function V(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function W(a){var b,c,d=a.match(Jd);for(b=0,c=d.length;b<c;b++)Md[d[b]]?d[b]=Md[d[b]]:d[b]=V(d[b]);return function(b){var e,f="";for(e=0;e<c;e++)f+=z(d[e])?d[e].call(b,a):d[e];return f}}function X(a,b){return a.isValid()?(b=Y(b,a.localeData()),Ld[b]=Ld[b]||W(b),Ld[b](a)):a.localeData().invalidDate()}function Y(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(Kd.lastIndex=0;d>=0&&Kd.test(a);)a=a.replace(Kd,c),Kd.lastIndex=0,d-=1;return a}function Z(a,b,c){ce[a]=z(b)?b:function(a,d){return a&&c?c:b}}function $(a,b){return j(ce,a)?ce[a](b._strict,b._locale):new RegExp(_(a))}function _(a){return aa(a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e}))}function aa(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ba(a,b){var c,d=b;for("string"==typeof a&&(a=[a]),g(b)&&(d=function(a,c){c[b]=u(a)}),c=0;c<a.length;c++)de[a[c]]=d}function ca(a,b){ba(a,function(a,c,d,e){d._w=d._w||{},b(a,d._w,d,e)})}function da(a,b,c){null!=b&&j(de,a)&&de[a](b,c._a,c,a)}function ea(a,b){return new Date(Date.UTC(a,b+1,0)).getUTCDate()}function fa(a,b){return a?c(this._months)?this._months[a.month()]:this._months[(this._months.isFormat||oe).test(b)?"format":"standalone"][a.month()]:c(this._months)?this._months:this._months.standalone}function ga(a,b){return a?c(this._monthsShort)?this._monthsShort[a.month()]:this._monthsShort[oe.test(b)?"format":"standalone"][a.month()]:c(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ha(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],d=0;d<12;++d)f=l([2e3,d]),this._shortMonthsParse[d]=this.monthsShort(f,"").toLocaleLowerCase(),this._longMonthsParse[d]=this.months(f,"").toLocaleLowerCase();return c?"MMM"===b?(e=ne.call(this._shortMonthsParse,g),e!==-1?e:null):(e=ne.call(this._longMonthsParse,g),e!==-1?e:null):"MMM"===b?(e=ne.call(this._shortMonthsParse,g),e!==-1?e:(e=ne.call(this._longMonthsParse,g),e!==-1?e:null)):(e=ne.call(this._longMonthsParse,g),e!==-1?e:(e=ne.call(this._shortMonthsParse,g),e!==-1?e:null))}function ia(a,b,c){var d,e,f;if(this._monthsParseExact)return ha.call(this,a,b,c);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),d=0;d<12;d++){if(e=l([2e3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new RegExp("^"+this.months(e,"").replace(".","")+"$","i"),this._shortMonthsParse[d]=new RegExp("^"+this.monthsShort(e,"").replace(".","")+"$","i")),c||this._monthsParse[d]||(f="^"+this.months(e,"")+"|^"+this.monthsShort(e,""),this._monthsParse[d]=new RegExp(f.replace(".",""),"i")),c&&"MMMM"===b&&this._longMonthsParse[d].test(a))return d;if(c&&"MMM"===b&&this._shortMonthsParse[d].test(a))return d;if(!c&&this._monthsParse[d].test(a))return d}}function ja(a,b){var c;if(!a.isValid())return a;if("string"==typeof b)if(/^\d+$/.test(b))b=u(b);else if(b=a.localeData().monthsParse(b),!g(b))return a;return c=Math.min(a.date(),ea(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a}function ka(b){return null!=b?(ja(this,b),a.updateOffset(this,!0),this):P(this,"Month")}function la(){return ea(this.year(),this.month())}function ma(a){return this._monthsParseExact?(j(this,"_monthsRegex")||oa.call(this),a?this._monthsShortStrictRegex:this._monthsShortRegex):(j(this,"_monthsShortRegex")||(this._monthsShortRegex=re),this._monthsShortStrictRegex&&a?this._monthsShortStrictRegex:this._monthsShortRegex)}function na(a){return this._monthsParseExact?(j(this,"_monthsRegex")||oa.call(this),a?this._monthsStrictRegex:this._monthsRegex):(j(this,"_monthsRegex")||(this._monthsRegex=se),this._monthsStrictRegex&&a?this._monthsStrictRegex:this._monthsRegex)}function oa(){function a(a,b){return b.length-a.length}var b,c,d=[],e=[],f=[];for(b=0;b<12;b++)c=l([2e3,b]),d.push(this.monthsShort(c,"")),e.push(this.months(c,"")),f.push(this.months(c,"")),f.push(this.monthsShort(c,""));for(d.sort(a),e.sort(a),f.sort(a),b=0;b<12;b++)d[b]=aa(d[b]),e[b]=aa(e[b]);for(b=0;b<24;b++)f[b]=aa(f[b]);this._monthsRegex=new RegExp("^("+f.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+e.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+d.join("|")+")","i")}function pa(a){return qa(a)?366:365}function qa(a){return a%4===0&&a%100!==0||a%400===0}function ra(){return qa(this.year())}function sa(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return a<100&&a>=0&&isFinite(h.getFullYear())&&h.setFullYear(a),h}function ta(a){var b=new Date(Date.UTC.apply(null,arguments));return a<100&&a>=0&&isFinite(b.getUTCFullYear())&&b.setUTCFullYear(a),b}function ua(a,b,c){var d=7+b-c,e=(7+ta(a,0,d).getUTCDay()-b)%7;return-e+d-1}function va(a,b,c,d,e){var f,g,h=(7+c-d)%7,i=ua(a,d,e),j=1+7*(b-1)+h+i;return j<=0?(f=a-1,g=pa(f)+j):j>pa(a)?(f=a+1,g=j-pa(a)):(f=a,g=j),{year:f,dayOfYear:g}}function wa(a,b,c){var d,e,f=ua(a.year(),b,c),g=Math.floor((a.dayOfYear()-f-1)/7)+1;return g<1?(e=a.year()-1,d=g+xa(e,b,c)):g>xa(a.year(),b,c)?(d=g-xa(a.year(),b,c),e=a.year()+1):(e=a.year(),d=g),{week:d,year:e}}function xa(a,b,c){var d=ua(a,b,c),e=ua(a+1,b,c);return(pa(a)-d+e)/7}function ya(a){return wa(a,this._week.dow,this._week.doy).week}function za(){return this._week.dow}function Aa(){return this._week.doy}function Ba(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")}function Ca(a){var b=wa(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")}function Da(a,b){return"string"!=typeof a?a:isNaN(a)?(a=b.weekdaysParse(a),"number"==typeof a?a:null):parseInt(a,10)}function Ea(a,b){return"string"==typeof a?b.weekdaysParse(a)%7||7:isNaN(a)?null:a}function Fa(a,b){return a?c(this._weekdays)?this._weekdays[a.day()]:this._weekdays[this._weekdays.isFormat.test(b)?"format":"standalone"][a.day()]:c(this._weekdays)?this._weekdays:this._weekdays.standalone}function Ga(a){return a?this._weekdaysShort[a.day()]:this._weekdaysShort}function Ha(a){return a?this._weekdaysMin[a.day()]:this._weekdaysMin}function Ia(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],d=0;d<7;++d)f=l([2e3,1]).day(d),this._minWeekdaysParse[d]=this.weekdaysMin(f,"").toLocaleLowerCase(),this._shortWeekdaysParse[d]=this.weekdaysShort(f,"").toLocaleLowerCase(),this._weekdaysParse[d]=this.weekdays(f,"").toLocaleLowerCase();return c?"dddd"===b?(e=ne.call(this._weekdaysParse,g),e!==-1?e:null):"ddd"===b?(e=ne.call(this._shortWeekdaysParse,g),e!==-1?e:null):(e=ne.call(this._minWeekdaysParse,g),e!==-1?e:null):"dddd"===b?(e=ne.call(this._weekdaysParse,g),e!==-1?e:(e=ne.call(this._shortWeekdaysParse,g),e!==-1?e:(e=ne.call(this._minWeekdaysParse,g),e!==-1?e:null))):"ddd"===b?(e=ne.call(this._shortWeekdaysParse,g),e!==-1?e:(e=ne.call(this._weekdaysParse,g),e!==-1?e:(e=ne.call(this._minWeekdaysParse,g),e!==-1?e:null))):(e=ne.call(this._minWeekdaysParse,g),e!==-1?e:(e=ne.call(this._weekdaysParse,g),e!==-1?e:(e=ne.call(this._shortWeekdaysParse,g),e!==-1?e:null)))}function Ja(a,b,c){var d,e,f;if(this._weekdaysParseExact)return Ia.call(this,a,b,c);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),d=0;d<7;d++){if(e=l([2e3,1]).day(d),c&&!this._fullWeekdaysParse[d]&&(this._fullWeekdaysParse[d]=new RegExp("^"+this.weekdays(e,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[d]=new RegExp("^"+this.weekdaysShort(e,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[d]=new RegExp("^"+this.weekdaysMin(e,"").replace(".",".?")+"$","i")),this._weekdaysParse[d]||(f="^"+this.weekdays(e,"")+"|^"+this.weekdaysShort(e,"")+"|^"+this.weekdaysMin(e,""),this._weekdaysParse[d]=new RegExp(f.replace(".",""),"i")),c&&"dddd"===b&&this._fullWeekdaysParse[d].test(a))return d;if(c&&"ddd"===b&&this._shortWeekdaysParse[d].test(a))return d;if(c&&"dd"===b&&this._minWeekdaysParse[d].test(a))return d;if(!c&&this._weekdaysParse[d].test(a))return d}}function Ka(a){if(!this.isValid())return null!=a?this:NaN;var b=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=a?(a=Da(a,this.localeData()),this.add(a-b,"d")):b}function La(a){if(!this.isValid())return null!=a?this:NaN;var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")}function Ma(a){if(!this.isValid())return null!=a?this:NaN;if(null!=a){var b=Ea(a,this.localeData());return this.day(this.day()%7?b:b-7)}return this.day()||7}function Na(a){return this._weekdaysParseExact?(j(this,"_weekdaysRegex")||Qa.call(this),a?this._weekdaysStrictRegex:this._weekdaysRegex):(j(this,"_weekdaysRegex")||(this._weekdaysRegex=ye),this._weekdaysStrictRegex&&a?this._weekdaysStrictRegex:this._weekdaysRegex)}function Oa(a){return this._weekdaysParseExact?(j(this,"_weekdaysRegex")||Qa.call(this),a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(j(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ze),this._weekdaysShortStrictRegex&&a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Pa(a){return this._weekdaysParseExact?(j(this,"_weekdaysRegex")||Qa.call(this),a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(j(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ae),this._weekdaysMinStrictRegex&&a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qa(){function a(a,b){return b.length-a.length}var b,c,d,e,f,g=[],h=[],i=[],j=[];for(b=0;b<7;b++)c=l([2e3,1]).day(b),d=this.weekdaysMin(c,""),e=this.weekdaysShort(c,""),f=this.weekdays(c,""),g.push(d),h.push(e),i.push(f),j.push(d),j.push(e),j.push(f);for(g.sort(a),h.sort(a),i.sort(a),j.sort(a),b=0;b<7;b++)h[b]=aa(h[b]),i[b]=aa(i[b]),j[b]=aa(j[b]);this._weekdaysRegex=new RegExp("^("+j.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+g.join("|")+")","i")}function Ra(){return this.hours()%12||12}function Sa(){return this.hours()||24}function Ta(a,b){U(a,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),b)})}function Ua(a,b){return b._meridiemParse}function Va(a){return"p"===(a+"").toLowerCase().charAt(0)}function Wa(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"}function Xa(a){return a?a.toLowerCase().replace("_","-"):a}function Ya(a){for(var b,c,d,e,f=0;f<a.length;){for(e=Xa(a[f]).split("-"),b=e.length,c=Xa(a[f+1]),c=c?c.split("-"):null;b>0;){if(d=Za(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&v(e,c,!0)>=b-1)break;b--}f++}return null}function Za(a){var b=null;if(!Fe[a]&&"undefined"!=typeof module&&module&&module.exports)try{b=Be._abbr,require("./locale/"+a),$a(b)}catch(a){}return Fe[a]}function $a(a,b){var c;return a&&(c=f(b)?bb(a):_a(a,b),c&&(Be=c)),Be._abbr}function _a(a,b){if(null!==b){var c=Ee;if(b.abbr=a,null!=Fe[a])y("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),c=Fe[a]._config;else if(null!=b.parentLocale){if(null==Fe[b.parentLocale])return Ge[b.parentLocale]||(Ge[b.parentLocale]=[]),Ge[b.parentLocale].push({name:a,config:b}),null;c=Fe[b.parentLocale]._config}return Fe[a]=new C(B(c,b)),Ge[a]&&Ge[a].forEach(function(a){_a(a.name,a.config)}),$a(a),Fe[a]}return delete Fe[a],null}function ab(a,b){if(null!=b){var c,d=Ee;null!=Fe[a]&&(d=Fe[a]._config),b=B(d,b),c=new C(b),c.parentLocale=Fe[a],Fe[a]=c,$a(a)}else null!=Fe[a]&&(null!=Fe[a].parentLocale?Fe[a]=Fe[a].parentLocale:null!=Fe[a]&&delete Fe[a]);return Fe[a]}function bb(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return Be;if(!c(a)){if(b=Za(a))return b;a=[a]}return Ya(a)}function cb(){return Ad(Fe)}function db(a){var b,c=a._a;return c&&n(a).overflow===-2&&(b=c[fe]<0||c[fe]>11?fe:c[ge]<1||c[ge]>ea(c[ee],c[fe])?ge:c[he]<0||c[he]>24||24===c[he]&&(0!==c[ie]||0!==c[je]||0!==c[ke])?he:c[ie]<0||c[ie]>59?ie:c[je]<0||c[je]>59?je:c[ke]<0||c[ke]>999?ke:-1,n(a)._overflowDayOfYear&&(b<ee||b>ge)&&(b=ge),n(a)._overflowWeeks&&b===-1&&(b=le),n(a)._overflowWeekday&&b===-1&&(b=me),n(a).overflow=b),a}function eb(a){var b,c,d,e,f,g,h=a._i,i=He.exec(h)||Ie.exec(h);if(i){for(n(a).iso=!0,b=0,c=Ke.length;b<c;b++)if(Ke[b][1].exec(i[1])){e=Ke[b][0],d=Ke[b][2]!==!1;break}if(null==e)return void(a._isValid=!1);if(i[3]){for(b=0,c=Le.length;b<c;b++)if(Le[b][1].exec(i[3])){f=(i[2]||" ")+Le[b][0];break}if(null==f)return void(a._isValid=!1)}if(!d&&null!=f)return void(a._isValid=!1);if(i[4]){if(!Je.exec(i[4]))return void(a._isValid=!1);g="Z"}a._f=e+(f||"")+(g||""),lb(a)}else a._isValid=!1}function fb(a){var b,c,d,e,f,g,h,i,j={" GMT":" +0000"," EDT":" -0400"," EST":" -0500"," CDT":" -0500"," CST":" -0600"," MDT":" -0600"," MST":" -0700"," PDT":" -0700"," PST":" -0800"},k="YXWVUTSRQPONZABCDEFGHIKLM";if(b=a._i.replace(/\([^\)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s|\s$/g,""),c=Ne.exec(b)){if(d=c[1]?"ddd"+(5===c[1].length?", ":" "):"",e="D MMM "+(c[2].length>10?"YYYY ":"YY "),f="HH:mm"+(c[4]?":ss":""),c[1]){var l=new Date(c[2]),m=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][l.getDay()];if(c[1].substr(0,3)!==m)return n(a).weekdayMismatch=!0,void(a._isValid=!1)}switch(c[5].length){case 2:0===i?h=" +0000":(i=k.indexOf(c[5][1].toUpperCase())-12,h=(i<0?" -":" +")+(""+i).replace(/^-?/,"0").match(/..$/)[0]+"00");break;case 4:h=j[c[5]];break;default:h=j[" GMT"]}c[5]=h,a._i=c.splice(1).join(""),g=" ZZ",a._f=d+e+f+g,lb(a),n(a).rfc2822=!0}else a._isValid=!1}function gb(b){var c=Me.exec(b._i);return null!==c?void(b._d=new Date(+c[1])):(eb(b),void(b._isValid===!1&&(delete b._isValid,fb(b),b._isValid===!1&&(delete b._isValid,a.createFromInputFallback(b)))))}function hb(a,b,c){return null!=a?a:null!=b?b:c}function ib(b){var c=new Date(a.now());return b._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()]}function jb(a){var b,c,d,e,f=[];if(!a._d){for(d=ib(a),a._w&&null==a._a[ge]&&null==a._a[fe]&&kb(a),null!=a._dayOfYear&&(e=hb(a._a[ee],d[ee]),(a._dayOfYear>pa(e)||0===a._dayOfYear)&&(n(a)._overflowDayOfYear=!0),c=ta(e,0,a._dayOfYear),a._a[fe]=c.getUTCMonth(),a._a[ge]=c.getUTCDate()),b=0;b<3&&null==a._a[b];++b)a._a[b]=f[b]=d[b];for(;b<7;b++)a._a[b]=f[b]=null==a._a[b]?2===b?1:0:a._a[b];24===a._a[he]&&0===a._a[ie]&&0===a._a[je]&&0===a._a[ke]&&(a._nextDay=!0,a._a[he]=0),a._d=(a._useUTC?ta:sa).apply(null,f),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[he]=24)}}function kb(a){var b,c,d,e,f,g,h,i;if(b=a._w,null!=b.GG||null!=b.W||null!=b.E)f=1,g=4,c=hb(b.GG,a._a[ee],wa(tb(),1,4).year),d=hb(b.W,1),e=hb(b.E,1),(e<1||e>7)&&(i=!0);else{f=a._locale._week.dow,g=a._locale._week.doy;var j=wa(tb(),f,g);c=hb(b.gg,a._a[ee],j.year),d=hb(b.w,j.week),null!=b.d?(e=b.d,(e<0||e>6)&&(i=!0)):null!=b.e?(e=b.e+f,(b.e<0||b.e>6)&&(i=!0)):e=f}d<1||d>xa(c,f,g)?n(a)._overflowWeeks=!0:null!=i?n(a)._overflowWeekday=!0:(h=va(c,d,e,f,g),a._a[ee]=h.year,a._dayOfYear=h.dayOfYear)}function lb(b){if(b._f===a.ISO_8601)return void eb(b);if(b._f===a.RFC_2822)return void fb(b);b._a=[],n(b).empty=!0;var c,d,e,f,g,h=""+b._i,i=h.length,j=0;for(e=Y(b._f,b._locale).match(Jd)||[],c=0;c<e.length;c++)f=e[c],d=(h.match($(f,b))||[])[0],d&&(g=h.substr(0,h.indexOf(d)),g.length>0&&n(b).unusedInput.push(g),h=h.slice(h.indexOf(d)+d.length),j+=d.length),Md[f]?(d?n(b).empty=!1:n(b).unusedTokens.push(f),da(f,d,b)):b._strict&&!d&&n(b).unusedTokens.push(f);n(b).charsLeftOver=i-j,h.length>0&&n(b).unusedInput.push(h),b._a[he]<=12&&n(b).bigHour===!0&&b._a[he]>0&&(n(b).bigHour=void 0),n(b).parsedDateParts=b._a.slice(0),n(b).meridiem=b._meridiem,b._a[he]=mb(b._locale,b._a[he],b._meridiem),jb(b),db(b)}function mb(a,b,c){var d;return null==c?b:null!=a.meridiemHour?a.meridiemHour(b,c):null!=a.isPM?(d=a.isPM(c),d&&b<12&&(b+=12),d||12!==b||(b=0),b):b}function nb(a){var b,c,d,e,f;if(0===a._f.length)return n(a).invalidFormat=!0,void(a._d=new Date(NaN));for(e=0;e<a._f.length;e++)f=0,b=q({},a),null!=a._useUTC&&(b._useUTC=a._useUTC),b._f=a._f[e],lb(b),o(b)&&(f+=n(b).charsLeftOver,f+=10*n(b).unusedTokens.length,n(b).score=f,(null==d||f<d)&&(d=f,c=b));k(a,c||b)}function ob(a){if(!a._d){var b=L(a._i);a._a=i([b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],function(a){return a&&parseInt(a,10)}),jb(a)}}function pb(a){var b=new r(db(qb(a)));return b._nextDay&&(b.add(1,"d"),b._nextDay=void 0),b}function qb(a){var b=a._i,d=a._f;return a._locale=a._locale||bb(a._l),null===b||void 0===d&&""===b?p({nullInput:!0}):("string"==typeof b&&(a._i=b=a._locale.preparse(b)),s(b)?new r(db(b)):(h(b)?a._d=b:c(d)?nb(a):d?lb(a):rb(a),o(a)||(a._d=null),a))}function rb(b){var e=b._i;f(e)?b._d=new Date(a.now()):h(e)?b._d=new Date(e.valueOf()):"string"==typeof e?gb(b):c(e)?(b._a=i(e.slice(0),function(a){return parseInt(a,10)}),jb(b)):d(e)?ob(b):g(e)?b._d=new Date(e):a.createFromInputFallback(b)}function sb(a,b,f,g,h){var i={};return f!==!0&&f!==!1||(g=f,f=void 0),(d(a)&&e(a)||c(a)&&0===a.length)&&(a=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=h,i._l=f,i._i=a,i._f=b,i._strict=g,pb(i)}function tb(a,b,c,d){return sb(a,b,c,d,!1)}function ub(a,b){var d,e;if(1===b.length&&c(b[0])&&(b=b[0]),!b.length)return tb();for(d=b[0],e=1;e<b.length;++e)b[e].isValid()&&!b[e][a](d)||(d=b[e]);return d}function vb(){var a=[].slice.call(arguments,0);return ub("isBefore",a)}function wb(){var a=[].slice.call(arguments,0);return ub("isAfter",a)}function xb(a){for(var b in a)if(Re.indexOf(b)===-1||null!=a[b]&&isNaN(a[b]))return!1;for(var c=!1,d=0;d<Re.length;++d)if(a[Re[d]]){if(c)return!1;parseFloat(a[Re[d]])!==u(a[Re[d]])&&(c=!0)}return!0}function yb(){return this._isValid}function zb(){return Sb(NaN)}function Ab(a){var b=L(a),c=b.year||0,d=b.quarter||0,e=b.month||0,f=b.week||0,g=b.day||0,h=b.hour||0,i=b.minute||0,j=b.second||0,k=b.millisecond||0;this._isValid=xb(b),this._milliseconds=+k+1e3*j+6e4*i+1e3*h*60*60,this._days=+g+7*f,this._months=+e+3*d+12*c,this._data={},this._locale=bb(),this._bubble()}function Bb(a){return a instanceof Ab}function Cb(a){return a<0?Math.round(-1*a)*-1:Math.round(a)}function Db(a,b){U(a,0,0,function(){var a=this.utcOffset(),c="+";return a<0&&(a=-a,c="-"),c+T(~~(a/60),2)+b+T(~~a%60,2)})}function Eb(a,b){var c=(b||"").match(a);if(null===c)return null;var d=c[c.length-1]||[],e=(d+"").match(Se)||["-",0,0],f=+(60*e[1])+u(e[2]);return 0===f?0:"+"===e[0]?f:-f}function Fb(b,c){var d,e;return c._isUTC?(d=c.clone(),e=(s(b)||h(b)?b.valueOf():tb(b).valueOf())-d.valueOf(),d._d.setTime(d._d.valueOf()+e),a.updateOffset(d,!1),d):tb(b).local()}function Gb(a){return 15*-Math.round(a._d.getTimezoneOffset()/15)}function Hb(b,c,d){var e,f=this._offset||0;if(!this.isValid())return null!=b?this:NaN;if(null!=b){if("string"==typeof b){if(b=Eb(_d,b),null===b)return this}else Math.abs(b)<16&&!d&&(b=60*b);return!this._isUTC&&c&&(e=Gb(this)),this._offset=b,this._isUTC=!0,null!=e&&this.add(e,"m"),f!==b&&(!c||this._changeInProgress?Xb(this,Sb(b-f,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?f:Gb(this)}function Ib(a,b){return null!=a?("string"!=typeof a&&(a=-a),this.utcOffset(a,b),this):-this.utcOffset()}function Jb(a){return this.utcOffset(0,a)}function Kb(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(Gb(this),"m")),this}function Lb(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var a=Eb($d,this._i);null!=a?this.utcOffset(a):this.utcOffset(0,!0)}return this}function Mb(a){return!!this.isValid()&&(a=a?tb(a).utcOffset():0,(this.utcOffset()-a)%60===0)}function Nb(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ob(){if(!f(this._isDSTShifted))return this._isDSTShifted;var a={};if(q(a,this),a=qb(a),a._a){var b=a._isUTC?l(a._a):tb(a._a);this._isDSTShifted=this.isValid()&&v(a._a,b.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Pb(){return!!this.isValid()&&!this._isUTC}function Qb(){return!!this.isValid()&&this._isUTC}function Rb(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Sb(a,b){var c,d,e,f=a,h=null;return Bb(a)?f={ms:a._milliseconds,d:a._days,M:a._months}:g(a)?(f={},b?f[b]=a:f.milliseconds=a):(h=Te.exec(a))?(c="-"===h[1]?-1:1,f={y:0,d:u(h[ge])*c,h:u(h[he])*c,m:u(h[ie])*c,s:u(h[je])*c,ms:u(Cb(1e3*h[ke]))*c}):(h=Ue.exec(a))?(c="-"===h[1]?-1:1,f={y:Tb(h[2],c),M:Tb(h[3],c),w:Tb(h[4],c),d:Tb(h[5],c),h:Tb(h[6],c),m:Tb(h[7],c),s:Tb(h[8],c)}):null==f?f={}:"object"==typeof f&&("from"in f||"to"in f)&&(e=Vb(tb(f.from),tb(f.to)),f={},f.ms=e.milliseconds,f.M=e.months),d=new Ab(f),Bb(a)&&j(a,"_locale")&&(d._locale=a._locale),d}function Tb(a,b){var c=a&&parseFloat(a.replace(",","."));return(isNaN(c)?0:c)*b}function Ub(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"M").isAfter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"M"),c}function Vb(a,b){var c;return a.isValid()&&b.isValid()?(b=Fb(b,a),a.isBefore(b)?c=Ub(a,b):(c=Ub(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0}}function Wb(a,b){return function(c,d){var e,f;return null===d||isNaN(+d)||(y(b,"moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),f=c,c=d,d=f),c="string"==typeof c?+c:c,e=Sb(c,d),Xb(this,e,a),this}}function Xb(b,c,d,e){var f=c._milliseconds,g=Cb(c._days),h=Cb(c._months);b.isValid()&&(e=null==e||e,f&&b._d.setTime(b._d.valueOf()+f*d),g&&Q(b,"Date",P(b,"Date")+g*d),h&&ja(b,P(b,"Month")+h*d),e&&a.updateOffset(b,g||h))}function Yb(a,b){var c=a.diff(b,"days",!0);return c<-6?"sameElse":c<-1?"lastWeek":c<0?"lastDay":c<1?"sameDay":c<2?"nextDay":c<7?"nextWeek":"sameElse"}function Zb(b,c){var d=b||tb(),e=Fb(d,this).startOf("day"),f=a.calendarFormat(this,e)||"sameElse",g=c&&(z(c[f])?c[f].call(this,d):c[f]);return this.format(g||this.localeData().calendar(f,this,tb(d)))}function $b(){return new r(this)}function _b(a,b){var c=s(a)?a:tb(a);return!(!this.isValid()||!c.isValid())&&(b=K(f(b)?"millisecond":b),"millisecond"===b?this.valueOf()>c.valueOf():c.valueOf()<this.clone().startOf(b).valueOf())}function ac(a,b){var c=s(a)?a:tb(a);return!(!this.isValid()||!c.isValid())&&(b=K(f(b)?"millisecond":b),"millisecond"===b?this.valueOf()<c.valueOf():this.clone().endOf(b).valueOf()<c.valueOf())}function bc(a,b,c,d){return d=d||"()",("("===d[0]?this.isAfter(a,c):!this.isBefore(a,c))&&(")"===d[1]?this.isBefore(b,c):!this.isAfter(b,c))}function cc(a,b){var c,d=s(a)?a:tb(a);return!(!this.isValid()||!d.isValid())&&(b=K(b||"millisecond"),"millisecond"===b?this.valueOf()===d.valueOf():(c=d.valueOf(),this.clone().startOf(b).valueOf()<=c&&c<=this.clone().endOf(b).valueOf()))}function dc(a,b){return this.isSame(a,b)||this.isAfter(a,b)}function ec(a,b){return this.isSame(a,b)||this.isBefore(a,b)}function fc(a,b,c){var d,e,f,g;return this.isValid()?(d=Fb(a,this),d.isValid()?(e=6e4*(d.utcOffset()-this.utcOffset()),b=K(b),"year"===b||"month"===b||"quarter"===b?(g=gc(this,d),"quarter"===b?g/=3:"year"===b&&(g/=12)):(f=this-d,g="second"===b?f/1e3:"minute"===b?f/6e4:"hour"===b?f/36e5:"day"===b?(f-e)/864e5:"week"===b?(f-e)/6048e5:f),c?g:t(g)):NaN):NaN}function gc(a,b){var c,d,e=12*(b.year()-a.year())+(b.month()-a.month()),f=a.clone().add(e,"months");return b-f<0?(c=a.clone().add(e-1,"months"),d=(b-f)/(f-c)):(c=a.clone().add(e+1,"months"),d=(b-f)/(c-f)),-(e+d)||0}function hc(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ic(){if(!this.isValid())return null;var a=this.clone().utc();return a.year()<0||a.year()>9999?X(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):z(Date.prototype.toISOString)?this.toDate().toISOString():X(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function jc(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var a="moment",b="";this.isLocal()||(a=0===this.utcOffset()?"moment.utc":"moment.parseZone",b="Z");var c="["+a+'("]',d=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",e="-MM-DD[T]HH:mm:ss.SSS",f=b+'[")]';return this.format(c+d+e+f)}function kc(b){b||(b=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var c=X(this,b);return this.localeData().postformat(c)}function lc(a,b){return this.isValid()&&(s(a)&&a.isValid()||tb(a).isValid())?Sb({to:this,from:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function mc(a){return this.from(tb(),a)}function nc(a,b){return this.isValid()&&(s(a)&&a.isValid()||tb(a).isValid())?Sb({from:this,to:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function oc(a){return this.to(tb(),a)}function pc(a){var b;return void 0===a?this._locale._abbr:(b=bb(a),null!=b&&(this._locale=b),this)}function qc(){return this._locale}function rc(a){switch(a=K(a)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===a&&this.weekday(0),"isoWeek"===a&&this.isoWeekday(1),"quarter"===a&&this.month(3*Math.floor(this.month()/3)),this}function sc(a){return a=K(a),void 0===a||"millisecond"===a?this:("date"===a&&(a="day"),this.startOf(a).add(1,"isoWeek"===a?"week":a).subtract(1,"ms"))}function tc(){return this._d.valueOf()-6e4*(this._offset||0)}function uc(){return Math.floor(this.valueOf()/1e3)}function vc(){return new Date(this.valueOf())}function wc(){var a=this;return[a.year(),a.month(),a.date(),a.hour(),a.minute(),a.second(),a.millisecond()]}function xc(){var a=this;return{years:a.year(),months:a.month(),date:a.date(),hours:a.hours(),minutes:a.minutes(),seconds:a.seconds(),milliseconds:a.milliseconds()}}function yc(){return this.isValid()?this.toISOString():null}function zc(){return o(this)}function Ac(){
otrs2-6.0.30/var/httpd/htdocs/js/thirdparty/momentjs-2.18.1/moment.min.js-7-return k({},n(this))}function Bc(){return n(this).overflow}function Cc(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Dc(a,b){U(0,[a,a.length],0,b)}function Ec(a){return Ic.call(this,a,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Fc(a){return Ic.call(this,a,this.isoWeek(),this.isoWeekday(),1,4)}function Gc(){return xa(this.year(),1,4)}function Hc(){var a=this.localeData()._week;return xa(this.year(),a.dow,a.doy)}function Ic(a,b,c,d,e){var f;return null==a?wa(this,d,e).year:(f=xa(a,d,e),b>f&&(b=f),Jc.call(this,a,b,c,d,e))}function Jc(a,b,c,d,e){var f=va(a,b,c,d,e),g=ta(f.year,0,f.dayOfYear);return this.year(g.getUTCFullYear()),this.month(g.getUTCMonth()),this.date(g.getUTCDate()),this}function Kc(a){return null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)}function Lc(a){var b=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")}function Mc(a,b){b[ke]=u(1e3*("0."+a))}function Nc(){return this._isUTC?"UTC":""}function Oc(){return this._isUTC?"Coordinated Universal Time":""}function Pc(a){return tb(1e3*a)}function Qc(){return tb.apply(null,arguments).parseZone()}function Rc(a){return a}function Sc(a,b,c,d){var e=bb(),f=l().set(d,b);return e[c](f,a)}function Tc(a,b,c){if(g(a)&&(b=a,a=void 0),a=a||"",null!=b)return Sc(a,b,c,"month");var d,e=[];for(d=0;d<12;d++)e[d]=Sc(a,d,c,"month");return e}function Uc(a,b,c,d){"boolean"==typeof a?(g(b)&&(c=b,b=void 0),b=b||""):(b=a,c=b,a=!1,g(b)&&(c=b,b=void 0),b=b||"");var e=bb(),f=a?e._week.dow:0;if(null!=c)return Sc(b,(c+f)%7,d,"day");var h,i=[];for(h=0;h<7;h++)i[h]=Sc(b,(h+f)%7,d,"day");return i}function Vc(a,b){return Tc(a,b,"months")}function Wc(a,b){return Tc(a,b,"monthsShort")}function Xc(a,b,c){return Uc(a,b,c,"weekdays")}function Yc(a,b,c){return Uc(a,b,c,"weekdaysShort")}function Zc(a,b,c){return Uc(a,b,c,"weekdaysMin")}function $c(){var a=this._data;return this._milliseconds=df(this._milliseconds),this._days=df(this._days),this._months=df(this._months),a.milliseconds=df(a.milliseconds),a.seconds=df(a.seconds),a.minutes=df(a.minutes),a.hours=df(a.hours),a.months=df(a.months),a.years=df(a.years),this}function _c(a,b,c,d){var e=Sb(b,c);return a._milliseconds+=d*e._milliseconds,a._days+=d*e._days,a._months+=d*e._months,a._bubble()}function ad(a,b){return _c(this,a,b,1)}function bd(a,b){return _c(this,a,b,-1)}function cd(a){return a<0?Math.floor(a):Math.ceil(a)}function dd(){var a,b,c,d,e,f=this._milliseconds,g=this._days,h=this._months,i=this._data;return f>=0&&g>=0&&h>=0||f<=0&&g<=0&&h<=0||(f+=864e5*cd(fd(h)+g),g=0,h=0),i.milliseconds=f%1e3,a=t(f/1e3),i.seconds=a%60,b=t(a/60),i.minutes=b%60,c=t(b/60),i.hours=c%24,g+=t(c/24),e=t(ed(g)),h+=e,g-=cd(fd(e)),d=t(h/12),h%=12,i.days=g,i.months=h,i.years=d,this}function ed(a){return 4800*a/146097}function fd(a){return 146097*a/4800}function gd(a){if(!this.isValid())return NaN;var b,c,d=this._milliseconds;if(a=K(a),"month"===a||"year"===a)return b=this._days+d/864e5,c=this._months+ed(b),"month"===a?c:c/12;switch(b=this._days+Math.round(fd(this._months)),a){case"week":return b/7+d/6048e5;case"day":return b+d/864e5;case"hour":return 24*b+d/36e5;case"minute":return 1440*b+d/6e4;case"second":return 86400*b+d/1e3;case"millisecond":return Math.floor(864e5*b)+d;default:throw new Error("Unknown unit "+a)}}function hd(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*u(this._months/12):NaN}function id(a){return function(){return this.as(a)}}function jd(a){return a=K(a),this.isValid()?this[a+"s"]():NaN}function kd(a){return function(){return this.isValid()?this._data[a]:NaN}}function ld(){return t(this.days()/7)}function md(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function nd(a,b,c){var d=Sb(a).abs(),e=uf(d.as("s")),f=uf(d.as("m")),g=uf(d.as("h")),h=uf(d.as("d")),i=uf(d.as("M")),j=uf(d.as("y")),k=e<=vf.ss&&["s",e]||e<vf.s&&["ss",e]||f<=1&&["m"]||f<vf.m&&["mm",f]||g<=1&&["h"]||g<vf.h&&["hh",g]||h<=1&&["d"]||h<vf.d&&["dd",h]||i<=1&&["M"]||i<vf.M&&["MM",i]||j<=1&&["y"]||["yy",j];return k[2]=b,k[3]=+a>0,k[4]=c,md.apply(null,k)}function od(a){return void 0===a?uf:"function"==typeof a&&(uf=a,!0)}function pd(a,b){return void 0!==vf[a]&&(void 0===b?vf[a]:(vf[a]=b,"s"===a&&(vf.ss=b-1),!0))}function qd(a){if(!this.isValid())return this.localeData().invalidDate();var b=this.localeData(),c=nd(this,!a,b);return a&&(c=b.pastFuture(+this,c)),b.postformat(c)}function rd(){if(!this.isValid())return this.localeData().invalidDate();var a,b,c,d=wf(this._milliseconds)/1e3,e=wf(this._days),f=wf(this._months);a=t(d/60),b=t(a/60),d%=60,a%=60,c=t(f/12),f%=12;var g=c,h=f,i=e,j=b,k=a,l=d,m=this.asSeconds();return m?(m<0?"-":"")+"P"+(g?g+"Y":"")+(h?h+"M":"")+(i?i+"D":"")+(j||k||l?"T":"")+(j?j+"H":"")+(k?k+"M":"")+(l?l+"S":""):"P0D"}var sd,td;td=Array.prototype.some?Array.prototype.some:function(a){for(var b=Object(this),c=b.length>>>0,d=0;d<c;d++)if(d in b&&a.call(this,b[d],d,b))return!0;return!1};var ud=td,vd=a.momentProperties=[],wd=!1,xd={};a.suppressDeprecationWarnings=!1,a.deprecationHandler=null;var yd;yd=Object.keys?Object.keys:function(a){var b,c=[];for(b in a)j(a,b)&&c.push(b);return c};var zd,Ad=yd,Bd={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Cd={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Dd="Invalid date",Ed="%d",Fd=/\d{1,2}/,Gd={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Hd={},Id={},Jd=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Kd=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ld={},Md={},Nd=/\d/,Od=/\d\d/,Pd=/\d{3}/,Qd=/\d{4}/,Rd=/[+-]?\d{6}/,Sd=/\d\d?/,Td=/\d\d\d\d?/,Ud=/\d\d\d\d\d\d?/,Vd=/\d{1,3}/,Wd=/\d{1,4}/,Xd=/[+-]?\d{1,6}/,Yd=/\d+/,Zd=/[+-]?\d+/,$d=/Z|[+-]\d\d:?\d\d/gi,_d=/Z|[+-]\d\d(?::?\d\d)?/gi,ae=/[+-]?\d+(\.\d{1,3})?/,be=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ce={},de={},ee=0,fe=1,ge=2,he=3,ie=4,je=5,ke=6,le=7,me=8;zd=Array.prototype.indexOf?Array.prototype.indexOf:function(a){var b;for(b=0;b<this.length;++b)if(this[b]===a)return b;return-1};var ne=zd;U("M",["MM",2],"Mo",function(){return this.month()+1}),U("MMM",0,0,function(a){return this.localeData().monthsShort(this,a)}),U("MMMM",0,0,function(a){return this.localeData().months(this,a)}),J("month","M"),M("month",8),Z("M",Sd),Z("MM",Sd,Od),Z("MMM",function(a,b){return b.monthsShortRegex(a)}),Z("MMMM",function(a,b){return b.monthsRegex(a)}),ba(["M","MM"],function(a,b){b[fe]=u(a)-1}),ba(["MMM","MMMM"],function(a,b,c,d){var e=c._locale.monthsParse(a,d,c._strict);null!=e?b[fe]=e:n(c).invalidMonth=a});var oe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,pe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),qe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),re=be,se=be;U("Y",0,0,function(){var a=this.year();return a<=9999?""+a:"+"+a}),U(0,["YY",2],0,function(){return this.year()%100}),U(0,["YYYY",4],0,"year"),U(0,["YYYYY",5],0,"year"),U(0,["YYYYYY",6,!0],0,"year"),J("year","y"),M("year",1),Z("Y",Zd),Z("YY",Sd,Od),Z("YYYY",Wd,Qd),Z("YYYYY",Xd,Rd),Z("YYYYYY",Xd,Rd),ba(["YYYYY","YYYYYY"],ee),ba("YYYY",function(b,c){c[ee]=2===b.length?a.parseTwoDigitYear(b):u(b)}),ba("YY",function(b,c){c[ee]=a.parseTwoDigitYear(b)}),ba("Y",function(a,b){b[ee]=parseInt(a,10)}),a.parseTwoDigitYear=function(a){return u(a)+(u(a)>68?1900:2e3)};var te=O("FullYear",!0);U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),J("week","w"),J("isoWeek","W"),M("week",5),M("isoWeek",5),Z("w",Sd),Z("ww",Sd,Od),Z("W",Sd),Z("WW",Sd,Od),ca(["w","ww","W","WW"],function(a,b,c,d){b[d.substr(0,1)]=u(a)});var ue={dow:0,doy:6};U("d",0,"do","day"),U("dd",0,0,function(a){return this.localeData().weekdaysMin(this,a)}),U("ddd",0,0,function(a){return this.localeData().weekdaysShort(this,a)}),U("dddd",0,0,function(a){return this.localeData().weekdays(this,a)}),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),J("day","d"),J("weekday","e"),J("isoWeekday","E"),M("day",11),M("weekday",11),M("isoWeekday",11),Z("d",Sd),Z("e",Sd),Z("E",Sd),Z("dd",function(a,b){return b.weekdaysMinRegex(a)}),Z("ddd",function(a,b){return b.weekdaysShortRegex(a)}),Z("dddd",function(a,b){return b.weekdaysRegex(a)}),ca(["dd","ddd","dddd"],function(a,b,c,d){var e=c._locale.weekdaysParse(a,d,c._strict);null!=e?b.d=e:n(c).invalidWeekday=a}),ca(["d","e","E"],function(a,b,c,d){b[d]=u(a)});var ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),we="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),xe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ye=be,ze=be,Ae=be;U("H",["HH",2],0,"hour"),U("h",["hh",2],0,Ra),U("k",["kk",2],0,Sa),U("hmm",0,0,function(){return""+Ra.apply(this)+T(this.minutes(),2)}),U("hmmss",0,0,function(){return""+Ra.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)}),U("Hmm",0,0,function(){return""+this.hours()+T(this.minutes(),2)}),U("Hmmss",0,0,function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)}),Ta("a",!0),Ta("A",!1),J("hour","h"),M("hour",13),Z("a",Ua),Z("A",Ua),Z("H",Sd),Z("h",Sd),Z("k",Sd),Z("HH",Sd,Od),Z("hh",Sd,Od),Z("kk",Sd,Od),Z("hmm",Td),Z("hmmss",Ud),Z("Hmm",Td),Z("Hmmss",Ud),ba(["H","HH"],he),ba(["k","kk"],function(a,b,c){var d=u(a);b[he]=24===d?0:d}),ba(["a","A"],function(a,b,c){c._isPm=c._locale.isPM(a),c._meridiem=a}),ba(["h","hh"],function(a,b,c){b[he]=u(a),n(c).bigHour=!0}),ba("hmm",function(a,b,c){var d=a.length-2;b[he]=u(a.substr(0,d)),b[ie]=u(a.substr(d)),n(c).bigHour=!0}),ba("hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[he]=u(a.substr(0,d)),b[ie]=u(a.substr(d,2)),b[je]=u(a.substr(e)),n(c).bigHour=!0}),ba("Hmm",function(a,b,c){var d=a.length-2;b[he]=u(a.substr(0,d)),b[ie]=u(a.substr(d))}),ba("Hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[he]=u(a.substr(0,d)),b[ie]=u(a.substr(d,2)),b[je]=u(a.substr(e))});var Be,Ce=/[ap]\.?m?\.?/i,De=O("Hours",!0),Ee={calendar:Bd,longDateFormat:Cd,invalidDate:Dd,ordinal:Ed,dayOfMonthOrdinalParse:Fd,relativeTime:Gd,months:pe,monthsShort:qe,week:ue,weekdays:ve,weekdaysMin:xe,weekdaysShort:we,meridiemParse:Ce},Fe={},Ge={},He=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ie=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Je=/Z|[+-]\d\d(?::?\d\d)?/,Ke=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Le=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Me=/^\/?Date\((\-?\d+)/i,Ne=/^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/;a.createFromInputFallback=x("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))}),a.ISO_8601=function(){},a.RFC_2822=function(){};var Oe=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=tb.apply(null,arguments);return this.isValid()&&a.isValid()?a<this?this:a:p()}),Pe=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=tb.apply(null,arguments);return this.isValid()&&a.isValid()?a>this?this:a:p()}),Qe=function(){return Date.now?Date.now():+new Date},Re=["year","quarter","month","week","day","hour","minute","second","millisecond"];Db("Z",":"),Db("ZZ",""),Z("Z",_d),Z("ZZ",_d),ba(["Z","ZZ"],function(a,b,c){c._useUTC=!0,c._tzm=Eb(_d,a)});var Se=/([\+\-]|\d\d)/gi;a.updateOffset=function(){};var Te=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ue=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Sb.fn=Ab.prototype,Sb.invalid=zb;var Ve=Wb(1,"add"),We=Wb(-1,"subtract");a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Xe=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(a){return void 0===a?this.localeData():this.locale(a)});U(0,["gg",2],0,function(){return this.weekYear()%100}),U(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Dc("gggg","weekYear"),Dc("ggggg","weekYear"),Dc("GGGG","isoWeekYear"),Dc("GGGGG","isoWeekYear"),J("weekYear","gg"),J("isoWeekYear","GG"),M("weekYear",1),M("isoWeekYear",1),Z("G",Zd),Z("g",Zd),Z("GG",Sd,Od),Z("gg",Sd,Od),Z("GGGG",Wd,Qd),Z("gggg",Wd,Qd),Z("GGGGG",Xd,Rd),Z("ggggg",Xd,Rd),ca(["gggg","ggggg","GGGG","GGGGG"],function(a,b,c,d){b[d.substr(0,2)]=u(a)}),ca(["gg","GG"],function(b,c,d,e){c[e]=a.parseTwoDigitYear(b)}),U("Q",0,"Qo","quarter"),J("quarter","Q"),M("quarter",7),Z("Q",Nd),ba("Q",function(a,b){b[fe]=3*(u(a)-1)}),U("D",["DD",2],"Do","date"),J("date","D"),M("date",9),Z("D",Sd),Z("DD",Sd,Od),Z("Do",function(a,b){return a?b._dayOfMonthOrdinalParse||b._ordinalParse:b._dayOfMonthOrdinalParseLenient}),ba(["D","DD"],ge),ba("Do",function(a,b){b[ge]=u(a.match(Sd)[0],10)});var Ye=O("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear"),J("dayOfYear","DDD"),M("dayOfYear",4),Z("DDD",Vd),Z("DDDD",Pd),ba(["DDD","DDDD"],function(a,b,c){c._dayOfYear=u(a)}),U("m",["mm",2],0,"minute"),J("minute","m"),M("minute",14),Z("m",Sd),Z("mm",Sd,Od),ba(["m","mm"],ie);var Ze=O("Minutes",!1);U("s",["ss",2],0,"second"),J("second","s"),M("second",15),Z("s",Sd),Z("ss",Sd,Od),ba(["s","ss"],je);var $e=O("Seconds",!1);U("S",0,0,function(){return~~(this.millisecond()/100)}),U(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,function(){return 10*this.millisecond()}),U(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),U(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),U(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),U(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),U(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),J("millisecond","ms"),M("millisecond",16),Z("S",Vd,Nd),Z("SS",Vd,Od),Z("SSS",Vd,Pd);var _e;for(_e="SSSS";_e.length<=9;_e+="S")Z(_e,Yd);for(_e="S";_e.length<=9;_e+="S")ba(_e,Mc);var af=O("Milliseconds",!1);U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var bf=r.prototype;bf.add=Ve,bf.calendar=Zb,bf.clone=$b,bf.diff=fc,bf.endOf=sc,bf.format=kc,bf.from=lc,bf.fromNow=mc,bf.to=nc,bf.toNow=oc,bf.get=R,bf.invalidAt=Bc,bf.isAfter=_b,bf.isBefore=ac,bf.isBetween=bc,bf.isSame=cc,bf.isSameOrAfter=dc,bf.isSameOrBefore=ec,bf.isValid=zc,bf.lang=Xe,bf.locale=pc,bf.localeData=qc,bf.max=Pe,bf.min=Oe,bf.parsingFlags=Ac,bf.set=S,bf.startOf=rc,bf.subtract=We,bf.toArray=wc,bf.toObject=xc,bf.toDate=vc,bf.toISOString=ic,bf.inspect=jc,bf.toJSON=yc,bf.toString=hc,bf.unix=uc,bf.valueOf=tc,bf.creationData=Cc,bf.year=te,bf.isLeapYear=ra,bf.weekYear=Ec,bf.isoWeekYear=Fc,bf.quarter=bf.quarters=Kc,bf.month=ka,bf.daysInMonth=la,bf.week=bf.weeks=Ba,bf.isoWeek=bf.isoWeeks=Ca,bf.weeksInYear=Hc,bf.isoWeeksInYear=Gc,bf.date=Ye,bf.day=bf.days=Ka,bf.weekday=La,bf.isoWeekday=Ma,bf.dayOfYear=Lc,bf.hour=bf.hours=De,bf.minute=bf.minutes=Ze,bf.second=bf.seconds=$e,bf.millisecond=bf.milliseconds=af,bf.utcOffset=Hb,bf.utc=Jb,bf.local=Kb,bf.parseZone=Lb,bf.hasAlignedHourOffset=Mb,bf.isDST=Nb,bf.isLocal=Pb,bf.isUtcOffset=Qb,bf.isUtc=Rb,bf.isUTC=Rb,bf.zoneAbbr=Nc,bf.zoneName=Oc,bf.dates=x("dates accessor is deprecated. Use date instead.",Ye),bf.months=x("months accessor is deprecated. Use month instead",ka),bf.years=x("years accessor is deprecated. Use year instead",te),bf.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ib),bf.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ob);var cf=C.prototype;cf.calendar=D,cf.longDateFormat=E,cf.invalidDate=F,cf.ordinal=G,cf.preparse=Rc,cf.postformat=Rc,cf.relativeTime=H,cf.pastFuture=I,cf.set=A,cf.months=fa,cf.monthsShort=ga,cf.monthsParse=ia,cf.monthsRegex=na,cf.monthsShortRegex=ma,cf.week=ya,cf.firstDayOfYear=Aa,cf.firstDayOfWeek=za,cf.weekdays=Fa,cf.weekdaysMin=Ha,cf.weekdaysShort=Ga,cf.weekdaysParse=Ja,cf.weekdaysRegex=Na,cf.weekdaysShortRegex=Oa,cf.weekdaysMinRegex=Pa,cf.isPM=Va,cf.meridiem=Wa,$a("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===u(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),a.lang=x("moment.lang is deprecated. Use moment.locale instead.",$a),a.langData=x("moment.langData is deprecated. Use moment.localeData instead.",bb);var df=Math.abs,ef=id("ms"),ff=id("s"),gf=id("m"),hf=id("h"),jf=id("d"),kf=id("w"),lf=id("M"),mf=id("y"),nf=kd("milliseconds"),of=kd("seconds"),pf=kd("minutes"),qf=kd("hours"),rf=kd("days"),sf=kd("months"),tf=kd("years"),uf=Math.round,vf={ss:44,s:45,m:45,h:22,d:26,M:11},wf=Math.abs,xf=Ab.prototype;return xf.isValid=yb,xf.abs=$c,xf.add=ad,xf.subtract=bd,xf.as=gd,xf.asMilliseconds=ef,xf.asSeconds=ff,xf.asMinutes=gf,xf.asHours=hf,xf.asDays=jf,xf.asWeeks=kf,xf.asMonths=lf,xf.asYears=mf,xf.valueOf=hd,xf._bubble=dd,xf.get=jd,xf.milliseconds=nf,xf.seconds=of,xf.minutes=pf,xf.hours=qf,xf.days=rf,xf.weeks=ld,xf.months=sf,xf.years=tf,xf.humanize=qd,xf.toISOString=rd,xf.toString=rd,xf.toJSON=rd,xf.locale=pc,xf.localeData=qc,xf.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",rd),xf.lang=Xe,U("X",0,0,"unix"),U("x",0,0,"valueOf"),Z("x",Zd),Z("X",ae),ba("X",function(a,b,c){c._d=new Date(1e3*parseFloat(a,10))}),ba("x",function(a,b,c){c._d=new Date(u(a))}),a.version="2.18.1",b(tb),a.fn=bf,a.min=vb,a.max=wb,a.now=Qe,a.utc=l,a.unix=Pc,a.months=Vc,a.isDate=h,a.locale=$a,a.invalid=p,a.duration=Sb,a.isMoment=s,a.weekdays=Xc,a.parseZone=Qc,a.localeData=bb,a.isDuration=Bb,a.monthsShort=Wc,a.weekdaysMin=Zc,a.defineLocale=_a,a.updateLocale=ab,a.locales=cb,a.weekdaysShort=Yc,a.normalizeUnits=K,a.relativeTimeRounding=od,a.relativeTimeThreshold=pd,a.calendarFormat=Yb,a.prototype=bf,a});
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Article/MIMEBase.pm-128-            # load module
otrs2-6.0.30/Kernel/Output/HTML/Article/MIMEBase.pm:129:            next JOB if !$MainObject->Require( $Jobs{$Job}->{Module} );
otrs2-6.0.30/Kernel/Output/HTML/Article/MIMEBase.pm-130-
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Layout/Template.pm-273-
otrs2-6.0.30/Kernel/Output/HTML/Layout/Template.pm:274:            next FILTER if !$Kernel::OM->Get('Kernel::System::Main')->Require( $FilterConfig->{Module} );
otrs2-6.0.30/Kernel/Output/HTML/Layout/Template.pm-275-
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Layout/Ticket.pm-96-        for my $Module ( sort keys %Modules ) {
otrs2-6.0.30/Kernel/Output/HTML/Layout/Ticket.pm:97:            if ( !$MainObject->Require( $Modules{$Module}->{Module} ) ) {
otrs2-6.0.30/Kernel/Output/HTML/Layout/Ticket.pm-98-                $Self->FatalDie();
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Layout/Ticket.pm-335-        for my $Module ( sort keys %Modules ) {
otrs2-6.0.30/Kernel/Output/HTML/Layout/Ticket.pm:336:            if ( !$MainObject->Require( $Modules{$Module}->{Module} ) ) {
otrs2-6.0.30/Kernel/Output/HTML/Layout/Ticket.pm-337-                $Self->FatalDie();
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Layout/Ticket.pm-726-    # load overview backend module
otrs2-6.0.30/Kernel/Output/HTML/Layout/Ticket.pm:727:    if ( !$Kernel::OM->Get('Kernel::System::Main')->Require( $Backends->{$View}->{Module} ) ) {
otrs2-6.0.30/Kernel/Output/HTML/Layout/Ticket.pm-728-        return $Env->{LayoutObject}->FatalError();
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Layout/CustomerUser.pm-160-    # load module
otrs2-6.0.30/Kernel/Output/HTML/Layout/CustomerUser.pm:161:    if ( !$Kernel::OM->Get('Kernel::System::Main')->Require( $Backends->{$View}->{Module} ) ) {
otrs2-6.0.30/Kernel/Output/HTML/Layout/CustomerUser.pm-162-        return $Self->FatalError();
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Layout/LinkObject.pm-1275-    # load the backend module
otrs2-6.0.30/Kernel/Output/HTML/Layout/LinkObject.pm:1276:    if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($GenericModule) ) {
otrs2-6.0.30/Kernel/Output/HTML/Layout/LinkObject.pm-1277-        $LogObject->Log(
##############################################
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Medium.pm-108-            # load module
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Medium.pm:109:            if ( !$Kernel::OM->Get('Kernel::System::Main')->Require( $Menus{$Menu}->{Module} ) ) {
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Medium.pm-110-                return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Medium.pm-470-            # load module
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Medium.pm:471:            if ( !$MainObject->Require( $Menus{$Menu}->{Module} ) ) {
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Medium.pm-472-                return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Medium.pm-642-                # load module
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Medium.pm:643:                if ( !$MainObject->Require( $Jobs{$Job}->{Module} ) ) {
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Medium.pm-644-                    return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Small.pm-564-                    # load module
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Small.pm:565:                    if ( !$Kernel::OM->Get('Kernel::System::Main')->Require( $Menus{$Menu}->{Module} ) ) {
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Small.pm-566-                        return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Preview.pm-110-            # load module
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Preview.pm:111:            if ( !$Kernel::OM->Get('Kernel::System::Main')->Require( $Menus{$Menu}->{Module} ) ) {
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Preview.pm-112-                return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Preview.pm-504-            # load module
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Preview.pm:505:            if ( !$MainObject->Require( $Menus{$Menu}->{Module} ) ) {
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Preview.pm-506-                return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Preview.pm-677-                # load module
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Preview.pm:678:                if ( !$MainObject->Require( $Jobs{$Job}->{Module} ) ) {
otrs2-6.0.30/Kernel/Output/HTML/TicketOverview/Preview.pm-679-                    return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Output/HTML/TicketZoom/Agent/MIMEBase.pm-139-                # load module
otrs2-6.0.30/Kernel/Output/HTML/TicketZoom/Agent/MIMEBase.pm:140:                next JOB if !$MainObject->Require( $Jobs{$Job}->{Module} );
otrs2-6.0.30/Kernel/Output/HTML/TicketZoom/Agent/MIMEBase.pm-141-                my $Object = $Jobs{$Job}->{Module}->new(
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-1369-            # load and run module
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm:1370:            next MODULE if !$MainObject->Require( $Jobs{$Job}->{Module} );
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-1371-            my $Object = $Jobs{$Job}->{Module}->new(
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-1399-                # load and run module
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm:1400:                next MODULE if !$MainObject->Require( $Jobs{$Job}->{Module} );
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-1401-                my $Object = $Jobs{$Job}->{Module}->new(
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-1726-
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm:1727:            next FILTER if !$MainObject->Require( $FilterConfig->{Module} );
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-1728-
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-1848-
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm:1849:            $Self->FatalDie() if !$MainObject->Require( $FilterConfig->{Module} );
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-1850-
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-2012-
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm:2013:            $Self->FatalDie() if !$MainObject->Require( $FilterConfig->{Module} );
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-2014-
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-3106-            # load module
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm:3107:            next MENUMODULE if !$MainObject->Require( $Jobs{$Job}->{Module} );
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-3108-            my $Object = $Jobs{$Job}->{Module}->new(
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-3242-            # load module
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm:3243:            next OUTPUTMODULE if !$MainObject->Require( $Jobs{$Job}->{Module} );
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-3244-            my $Object = $Jobs{$Job}->{Module}->new(
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-3263-            # load module
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm:3264:            next NOTIFICATIONMODULE if !$MainObject->Require( $Jobs{$Job}->{Module} );
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-3265-            my $Object = $Jobs{$Job}->{Module}->new(
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-3282-        # load module
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm:3283:        if ( !$MainObject->Require( $Jobs{Module} ) ) {
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-3284-            return $Output;
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-4135-            # load and run module
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm:4136:            next MODULE if !$MainObject->Require( $Jobs{$Job}->{Module} );
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-4137-            my $Object = $Jobs{$Job}->{Module}->new( %{$Self}, LayoutObject => $Self );
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-4534-            # load module
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm:4535:            if ( !$MainObject->Require( $Jobs{$Job}->{Module} ) ) {
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-4536-                $Self->FatalError();
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-4643-            # load module
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm:4644:            next NOTIFICATIONMODULE if !$MainObject->Require( $Jobs{$Job}->{Module} );
otrs2-6.0.30/Kernel/Output/HTML/Layout.pm-4645-            my $Object = $Jobs{$Job}->{Module}->new(
##############################################
otrs2-6.0.30/Kernel/Output/HTML/Statistics/View.pm-719-
otrs2-6.0.30/Kernel/Output/HTML/Statistics/View.pm:720:            next DYNAMIC_FILE if !$Kernel::OM->Get('Kernel::System::Main')->Require($ObjectName);
otrs2-6.0.30/Kernel/Output/HTML/Statistics/View.pm-721-            my $Object = $ObjectName->new();
##############################################
otrs2-6.0.30/Kernel/Output/HTML/CustomerUser/GenericTicket.pm-91-        if ( $Lookup{$Key} ) {
otrs2-6.0.30/Kernel/Output/HTML/CustomerUser/GenericTicket.pm:92:            next STRING if !$Kernel::OM->Get('Kernel::System::Main')->Require( $Lookup{$Key}->{Object} );
otrs2-6.0.30/Kernel/Output/HTML/CustomerUser/GenericTicket.pm-93-            my $Object = $Lookup{$Key}->{Object}->new( %{$Self} );
##############################################
otrs2-6.0.30/Kernel/Output/Template/Plugin/OTRS.pm-135-        }
otrs2-6.0.30/Kernel/Output/Template/Plugin/OTRS.pm:136:        return $Context->include( \$_[0] );
otrs2-6.0.30/Kernel/Output/Template/Plugin/OTRS.pm-137-    };
##############################################
otrs2-6.0.30/Kernel/Output/Template/Plugin/OTRS.pm-146-            }
otrs2-6.0.30/Kernel/Output/Template/Plugin/OTRS.pm:147:            return $FilterContext->include( \$_[0] );
otrs2-6.0.30/Kernel/Output/Template/Plugin/OTRS.pm-148-        };
##############################################
otrs2-6.0.30/Kernel/System/DB/oracle.pm-489-    FROM user_sequences
otrs2-6.0.30/Kernel/System/DB/oracle.pm:490:    WHERE UPPER(sequence_name) = UPPER('$OldSequence');
otrs2-6.0.30/Kernel/System/DB/oracle.pm-491-
##############################################
otrs2-6.0.30/Kernel/System/DB/oracle.pm-514-    FROM user_triggers
otrs2-6.0.30/Kernel/System/DB/oracle.pm:515:    WHERE UPPER(trigger_name) = UPPER('$OldTrigger');
otrs2-6.0.30/Kernel/System/DB/oracle.pm-516-
##############################################
otrs2-6.0.30/Kernel/System/DB/oracle.pm-519-    FROM user_ind_columns
otrs2-6.0.30/Kernel/System/DB/oracle.pm:520:    WHERE UPPER(table_name) = UPPER('$Tag->{NameNew}')
otrs2-6.0.30/Kernel/System/DB/oracle.pm-521-    AND UPPER(index_name) = UPPER('$NewConstraint');
##############################################
otrs2-6.0.30/Kernel/System/DB/postgresql.pm-397-    FROM pg_class
otrs2-6.0.30/Kernel/System/DB/postgresql.pm:398:    WHERE relkind = 'S' and relname = '$OldSequence'
otrs2-6.0.30/Kernel/System/DB/postgresql.pm-399-    ) THEN
##############################################
otrs2-6.0.30/Kernel/System/DB/postgresql.pm-586-    FROM pg_indexes
otrs2-6.0.30/Kernel/System/DB/postgresql.pm:587:    WHERE LOWER(indexname) = LOWER('$Param{Name}')
otrs2-6.0.30/Kernel/System/DB/postgresql.pm-588-    ) THEN
##############################################
otrs2-6.0.30/Kernel/System/DB/postgresql.pm-624-    FROM pg_indexes
otrs2-6.0.30/Kernel/System/DB/postgresql.pm:625:    WHERE LOWER(indexname) = LOWER('$Param{Name}')
otrs2-6.0.30/Kernel/System/DB/postgresql.pm-626-    ) THEN
##############################################
otrs2-6.0.30/Kernel/System/DB/postgresql.pm-677-    FROM pg_constraint
otrs2-6.0.30/Kernel/System/DB/postgresql.pm:678:    WHERE LOWER(conname) = LOWER('$ForeignKey')
otrs2-6.0.30/Kernel/System/DB/postgresql.pm-679-    ) THEN
##############################################
otrs2-6.0.30/Kernel/System/DB/postgresql.pm-728-    FROM pg_constraint
otrs2-6.0.30/Kernel/System/DB/postgresql.pm:729:    WHERE LOWER(conname) = LOWER('$ForeignKey')
otrs2-6.0.30/Kernel/System/DB/postgresql.pm-730-    ) THEN
##############################################
otrs2-6.0.30/Kernel/System/DB/postgresql.pm-774-    FROM pg_constraint
otrs2-6.0.30/Kernel/System/DB/postgresql.pm:775:    WHERE LOWER(conname) = LOWER('$Param{Name}')
otrs2-6.0.30/Kernel/System/DB/postgresql.pm-776-    ) THEN
##############################################
otrs2-6.0.30/Kernel/System/DB/postgresql.pm-812-    FROM pg_constraint
otrs2-6.0.30/Kernel/System/DB/postgresql.pm:813:    WHERE LOWER(conname) = LOWER('$Param{Name}')
otrs2-6.0.30/Kernel/System/DB/postgresql.pm-814-    ) THEN
##############################################
otrs2-6.0.30/Kernel/System/DB/mysql.pm-584-    push @SQL,
otrs2-6.0.30/Kernel/System/DB/mysql.pm:585:        "SET \@IndexExists := (SELECT COUNT(*) FROM information_schema.statistics WHERE table_schema = DATABASE() AND table_name = '$Param{TableName}' AND index_name = '$Param{Name}')";
otrs2-6.0.30/Kernel/System/DB/mysql.pm-586-    push @SQL,
##############################################
otrs2-6.0.30/Kernel/System/DB/mysql.pm-614-    push @SQL,
otrs2-6.0.30/Kernel/System/DB/mysql.pm:615:        "SET \@IndexExists := (SELECT COUNT(*) FROM information_schema.statistics WHERE table_schema = DATABASE() AND table_name = '$Param{TableName}' AND index_name = '$Param{Name}')";
otrs2-6.0.30/Kernel/System/DB/mysql.pm-616-    push @SQL,
##############################################
otrs2-6.0.30/Kernel/System/DB/mysql.pm-657-    push @SQL,
otrs2-6.0.30/Kernel/System/DB/mysql.pm:658:        "SET \@FKExists := (SELECT COUNT(*) FROM information_schema.table_constraints WHERE table_schema = DATABASE() AND table_name = '$Param{LocalTableName}' AND constraint_name = '$ForeignKey')";
otrs2-6.0.30/Kernel/System/DB/mysql.pm-659-    push @SQL,
##############################################
otrs2-6.0.30/Kernel/System/DB/mysql.pm-701-    push @SQL,
otrs2-6.0.30/Kernel/System/DB/mysql.pm:702:        "SET \@FKExists := (SELECT COUNT(*) FROM information_schema.table_constraints WHERE table_schema = DATABASE() AND table_name = '$Param{LocalTableName}' AND constraint_name = '$ForeignKey')";
otrs2-6.0.30/Kernel/System/DB/mysql.pm-703-    push @SQL,
##############################################
otrs2-6.0.30/Kernel/System/DB/mysql.pm-709-    push @SQL,
otrs2-6.0.30/Kernel/System/DB/mysql.pm:710:        "SET \@IndexExists := (SELECT COUNT(*) FROM information_schema.statistics WHERE table_schema = DATABASE() AND table_name = '$Param{LocalTableName}' AND index_name = '$ForeignKey')";
otrs2-6.0.30/Kernel/System/DB/mysql.pm-711-    push @SQL,
##############################################
otrs2-6.0.30/Kernel/System/DB/mysql.pm-745-    push @SQL,
otrs2-6.0.30/Kernel/System/DB/mysql.pm:746:        "SET \@UniqueExists := (SELECT COUNT(*) FROM information_schema.table_constraints WHERE table_schema = DATABASE() AND table_name = '$Param{TableName}' AND constraint_name = '$Param{Name}')";
otrs2-6.0.30/Kernel/System/DB/mysql.pm-747-    push @SQL,
##############################################
otrs2-6.0.30/Kernel/System/DB/mysql.pm-773-    push @SQL,
otrs2-6.0.30/Kernel/System/DB/mysql.pm:774:        "SET \@UniqueExists := (SELECT COUNT(*) FROM information_schema.table_constraints WHERE table_schema = DATABASE() AND table_name = '$Param{TableName}' AND constraint_name = '$Param{Name}')";
otrs2-6.0.30/Kernel/System/DB/mysql.pm-775-    push @SQL,
##############################################
otrs2-6.0.30/Kernel/System/ACL/DB/ACL.pm-145-            FROM acl
otrs2-6.0.30/Kernel/System/ACL/DB/ACL.pm:146:            WHERE $Self->{Lower}(name) = $Self->{Lower}(?)",
otrs2-6.0.30/Kernel/System/ACL/DB/ACL.pm-147-        Bind  => [ \$Param{Name} ],
##############################################
otrs2-6.0.30/Kernel/System/ACL/DB/ACL.pm-481-            SELECT id FROM acl
otrs2-6.0.30/Kernel/System/ACL/DB/ACL.pm:482:            WHERE $Self->{Lower}(name) = $Self->{Lower}(?)
otrs2-6.0.30/Kernel/System/ACL/DB/ACL.pm-483-            AND id != ?",
##############################################
otrs2-6.0.30/Kernel/System/Web/InterfacePublic.pm-194-    # run modules if a version value exists
otrs2-6.0.30/Kernel/System/Web/InterfacePublic.pm:195:    if ( !$Kernel::OM->Get('Kernel::System::Main')->Require("Kernel::Modules::$Param{Action}") ) {
otrs2-6.0.30/Kernel/System/Web/InterfacePublic.pm-196-        $LayoutObject->CustomerFatalError(
##############################################
otrs2-6.0.30/Kernel/System/Web/InterfaceAgent.pm-379-
otrs2-6.0.30/Kernel/System/Web/InterfaceAgent.pm:380:        # execution in 20 seconds
otrs2-6.0.30/Kernel/System/Web/InterfaceAgent.pm-381-        my $ExecutionTimeObj = $DateTimeObj->Clone();
##############################################
otrs2-6.0.30/Kernel/System/Web/InterfaceAgent.pm-839-    # run modules if a version value exists
otrs2-6.0.30/Kernel/System/Web/InterfaceAgent.pm:840:    elsif ( $Kernel::OM->Get('Kernel::System::Main')->Require("Kernel::Modules::$Param{Action}") ) {
otrs2-6.0.30/Kernel/System/Web/InterfaceAgent.pm-841-
##############################################
otrs2-6.0.30/Kernel/System/Web/InterfaceAgent.pm-1084-                next MODULE if !$PreModule;
otrs2-6.0.30/Kernel/System/Web/InterfaceAgent.pm:1085:                next MODULE if !$Kernel::OM->Get('Kernel::System::Main')->Require($PreModule);
otrs2-6.0.30/Kernel/System/Web/InterfaceAgent.pm-1086-
##############################################
otrs2-6.0.30/Kernel/System/Web/InterfaceCustomer.pm-383-
otrs2-6.0.30/Kernel/System/Web/InterfaceCustomer.pm:384:        # execution in 20 seconds
otrs2-6.0.30/Kernel/System/Web/InterfaceCustomer.pm-385-        my $ExecutionTimeObj = $Kernel::OM->Create('Kernel::System::DateTime');
##############################################
otrs2-6.0.30/Kernel/System/Web/InterfaceCustomer.pm-1010-    # run modules if a version value exists
otrs2-6.0.30/Kernel/System/Web/InterfaceCustomer.pm:1011:    elsif ( $Kernel::OM->Get('Kernel::System::Main')->Require("Kernel::Modules::$Param{Action}") ) {
otrs2-6.0.30/Kernel/System/Web/InterfaceCustomer.pm-1012-
##############################################
otrs2-6.0.30/Kernel/System/Web/InterfaceCustomer.pm-1270-                next MODULE if !$PreModule;
otrs2-6.0.30/Kernel/System/Web/InterfaceCustomer.pm:1271:                next MODULE if !$Kernel::OM->Get('Kernel::System::Main')->Require($PreModule);
otrs2-6.0.30/Kernel/System/Web/InterfaceCustomer.pm-1272-
##############################################
otrs2-6.0.30/Kernel/System/Web/InterfaceInstaller.pm-119-    # run modules if a version value exists
otrs2-6.0.30/Kernel/System/Web/InterfaceInstaller.pm:120:    elsif ( $Kernel::OM->Get('Kernel::System::Main')->Require("Kernel::Modules::$Param{Action}") ) {
otrs2-6.0.30/Kernel/System/Web/InterfaceInstaller.pm-121-
##############################################
otrs2-6.0.30/Kernel/System/CustomerCompany/DB.pm-473-            if ($Counter) {
otrs2-6.0.30/Kernel/System/CustomerCompany/DB.pm:474:                $SQLDynamicFieldWhere .= $SQLDynamicFieldWhereSub;
otrs2-6.0.30/Kernel/System/CustomerCompany/DB.pm-475-                $NeedJoin = 1;
##############################################
otrs2-6.0.30/Kernel/System/DB.pm-127-        my $GenericModule = 'Kernel::System::DB::' . $Self->{'DB::Type'};
otrs2-6.0.30/Kernel/System/DB.pm:128:        return if !$Kernel::OM->Get('Kernel::System::Main')->Require($GenericModule);
otrs2-6.0.30/Kernel/System/DB.pm-129-        $Self->{Backend} = $GenericModule->new( %{$Self} );
##############################################
otrs2-6.0.30/Kernel/System/Crypt/PGP.pm-982-    eval {
otrs2-6.0.30/Kernel/System/Crypt/PGP.pm:983:        $VersionString = `$Self->{GPGBin} --version`;
otrs2-6.0.30/Kernel/System/Crypt/PGP.pm-984-    };
##############################################
otrs2-6.0.30/Kernel/System/Calendar/Plugin.pm-61-
otrs2-6.0.30/Kernel/System/Calendar/Plugin.pm:62:        if ( !$MainObject->Require($GenericModule) ) {
otrs2-6.0.30/Kernel/System/Calendar/Plugin.pm-63-            $MainObject->Die("Can't load plugin module $GenericModule! $@");
##############################################
otrs2-6.0.30/Kernel/System/MailAccount.pm-460-
otrs2-6.0.30/Kernel/System/MailAccount.pm:461:    my $Where = $Param{Valid}
otrs2-6.0.30/Kernel/System/MailAccount.pm-462-        ? 'WHERE valid_id IN ( ' . join ', ', $ValidObject->ValidIDsGet() . ' )'
##############################################
otrs2-6.0.30/Kernel/System/MailAccount.pm-558-    # try to load module $GenericModule
otrs2-6.0.30/Kernel/System/MailAccount.pm:559:    if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($GenericModule) ) {
otrs2-6.0.30/Kernel/System/MailAccount.pm-560-        return;
##############################################
otrs2-6.0.30/Kernel/System/MailAccount.pm-601-    # try to load module $GenericModule
otrs2-6.0.30/Kernel/System/MailAccount.pm:602:    if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($GenericModule) ) {
otrs2-6.0.30/Kernel/System/MailAccount.pm-603-        return;
##############################################
otrs2-6.0.30/Kernel/System/Auth.pm-63-
otrs2-6.0.30/Kernel/System/Auth.pm:64:        if ( !$MainObject->Require($GenericModule) ) {
otrs2-6.0.30/Kernel/System/Auth.pm-65-            $MainObject->Die("Can't load backend module $GenericModule! $@");
##############################################
otrs2-6.0.30/Kernel/System/Auth.pm-78-
otrs2-6.0.30/Kernel/System/Auth.pm:79:        if ( !$MainObject->Require($GenericModule) ) {
otrs2-6.0.30/Kernel/System/Auth.pm-80-            $MainObject->Die("Can't load backend module $GenericModule! $@");
##############################################
otrs2-6.0.30/Kernel/System/Auth.pm-93-
otrs2-6.0.30/Kernel/System/Auth.pm:94:        if ( !$MainObject->Require($GenericModule) ) {
otrs2-6.0.30/Kernel/System/Auth.pm-95-            $MainObject->Die("Can't load backend module $GenericModule! $@");
##############################################
otrs2-6.0.30/Kernel/System/GenericAgent.pm-1404-
otrs2-6.0.30/Kernel/System/GenericAgent.pm:1405:        if ( $Kernel::OM->Get('Kernel::System::Main')->Require( $Param{Config}->{New}->{Module} ) )
otrs2-6.0.30/Kernel/System/GenericAgent.pm-1406-        {
##############################################
otrs2-6.0.30/Kernel/System/GenericAgent.pm-1467-        );
otrs2-6.0.30/Kernel/System/GenericAgent.pm:1468:        system("$Param{Config}->{New}->{CMD} $Param{TicketNumber} $Param{TicketID} ");
otrs2-6.0.30/Kernel/System/GenericAgent.pm-1469-
##############################################
otrs2-6.0.30/Kernel/System/Ticket/TicketACL.pm-266-
otrs2-6.0.30/Kernel/System/Ticket/TicketACL.pm:267:        next MODULE if !$Kernel::OM->Get('Kernel::System::Main')->Require( $Module->{Module} );
otrs2-6.0.30/Kernel/System/Ticket/TicketACL.pm-268-
##############################################
otrs2-6.0.30/Kernel/System/Ticket/ColumnFilter.pm-962-    # check if backend field exists
otrs2-6.0.30/Kernel/System/Ticket/ColumnFilter.pm:963:    if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($BackendModule) ) {
otrs2-6.0.30/Kernel/System/Ticket/ColumnFilter.pm-964-        $Kernel::OM->Get('Kernel::System::Log')->Log(
##############################################
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/Activity.pm-103-            FROM pm_activity
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/Activity.pm:104:            WHERE $Self->{Lower}(entity_id) = $Self->{Lower}(?)",
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/Activity.pm-105-        Bind  => [ \$Param{EntityID} ],
##############################################
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/Activity.pm-428-            SELECT id FROM pm_activity
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/Activity.pm:429:            WHERE $Self->{Lower}(entity_id) = $Self->{Lower}(?)
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/Activity.pm-430-            AND id != ?",
##############################################
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/TransitionAction.pm-102-            FROM pm_transition_action
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/TransitionAction.pm:103:            WHERE $Self->{Lower}(entity_id) = $Self->{Lower}(?)",
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/TransitionAction.pm-104-        Bind  => [ \$Param{EntityID} ],
##############################################
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/TransitionAction.pm-396-            SELECT id FROM pm_transition_action
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/TransitionAction.pm:397:            WHERE $Self->{Lower}(entity_id) = $Self->{Lower}(?)
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/TransitionAction.pm-398-            AND id != ?",
##############################################
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/Process.pm-123-            FROM pm_process
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/Process.pm:124:            WHERE $Self->{Lower}(entity_id) = $Self->{Lower}(?)",
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/Process.pm-125-        Bind  => [ \$Param{EntityID} ],
##############################################
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/Process.pm-603-            SELECT id FROM pm_process
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/Process.pm:604:            WHERE $Self->{Lower}(entity_id) = $Self->{Lower}(?)
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/Process.pm-605-            AND id != ?",
##############################################
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/Transition.pm-102-            FROM pm_transition
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/Transition.pm:103:            WHERE $Self->{Lower}(entity_id) = $Self->{Lower}(?)",
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/Transition.pm-104-        Bind  => [ \$Param{EntityID} ],
##############################################
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/Transition.pm-390-            SELECT id FROM pm_transition
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/Transition.pm:391:            WHERE $Self->{Lower}(entity_id) = $Self->{Lower}(?)
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/Transition.pm-392-            AND id != ?",
##############################################
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/ActivityDialog.pm-102-            FROM pm_activity_dialog
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/ActivityDialog.pm:103:            WHERE $Self->{Lower}(entity_id) = $Self->{Lower}(?)",
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/ActivityDialog.pm-104-        Bind  => [ \$Param{EntityID} ],
##############################################
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/ActivityDialog.pm-397-            SELECT id FROM pm_activity_dialog
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/ActivityDialog.pm:398:            WHERE $Self->{Lower}(entity_id) = $Self->{Lower}(?)
otrs2-6.0.30/Kernel/System/ProcessManagement/DB/ActivityDialog.pm-399-            AND id != ?",
##############################################
otrs2-6.0.30/Kernel/System/ProcessManagement/Transition.pm-837-                        !$Kernel::OM->Get('Kernel::System::Main')
otrs2-6.0.30/Kernel/System/ProcessManagement/Transition.pm:838:                        ->Require( $ActualCondition->{Fields}->{$FieldName}->{Match} )
otrs2-6.0.30/Kernel/System/ProcessManagement/Transition.pm-839-                        )
##############################################
otrs2-6.0.30/Kernel/System/SupportDataCollector.pm-170-
otrs2-6.0.30/Kernel/System/SupportDataCollector.pm:171:        if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($PluginFile) ) {
otrs2-6.0.30/Kernel/System/SupportDataCollector.pm-172-            return (
##############################################
otrs2-6.0.30/Kernel/System/SupportDataCollector.pm-399-
otrs2-6.0.30/Kernel/System/SupportDataCollector.pm:400:        if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($PluginFile) ) {
otrs2-6.0.30/Kernel/System/SupportDataCollector.pm-401-            return (
##############################################
otrs2-6.0.30/Kernel/System/SupportDataCollector.pm-448-
otrs2-6.0.30/Kernel/System/SupportDataCollector.pm:449:        if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($PluginFile) ) {
otrs2-6.0.30/Kernel/System/SupportDataCollector.pm-450-            return (
##############################################
otrs2-6.0.30/Kernel/System/VirtualFS.pm-49-
otrs2-6.0.30/Kernel/System/VirtualFS.pm:50:    if ( !$Kernel::OM->Get('Kernel::System::Main')->Require( $Self->{BackendDefault} ) ) {
otrs2-6.0.30/Kernel/System/VirtualFS.pm-51-        return;
##############################################
otrs2-6.0.30/Kernel/System/VirtualFS.pm-135-
otrs2-6.0.30/Kernel/System/VirtualFS.pm:136:        return if !$Kernel::OM->Get('Kernel::System::Main')->Require($Backend);
otrs2-6.0.30/Kernel/System/VirtualFS.pm-137-
##############################################
otrs2-6.0.30/Kernel/System/VirtualFS.pm-286-
otrs2-6.0.30/Kernel/System/VirtualFS.pm:287:        return if !$Kernel::OM->Get('Kernel::System::Main')->Require($Backend);
otrs2-6.0.30/Kernel/System/VirtualFS.pm-288-
##############################################
otrs2-6.0.30/Kernel/System/VirtualFS.pm-378-        $Like = $DBObject->Quote( $Like, 'Like' );
otrs2-6.0.30/Kernel/System/VirtualFS.pm:379:        $SQLWhere .= "vfs.filename LIKE '$Like' $LikeEscapeString";
otrs2-6.0.30/Kernel/System/VirtualFS.pm-380-    }
##############################################
otrs2-6.0.30/Kernel/System/VirtualFS.pm-410-
otrs2-6.0.30/Kernel/System/VirtualFS.pm:411:        $SQLWhere .= " AND ($SQL)";
otrs2-6.0.30/Kernel/System/VirtualFS.pm-412-    }
##############################################
otrs2-6.0.30/Kernel/System/SearchProfile.pm-300-            FROM search_profile
otrs2-6.0.30/Kernel/System/SearchProfile.pm:301:            WHERE $Self->{Lower}(login) = $Self->{Lower}(?)
otrs2-6.0.30/Kernel/System/SearchProfile.pm-302-            ",
##############################################
otrs2-6.0.30/Kernel/System/PostMaster/LoopProtection/DB.pm-58-    my $SQL = "SELECT count(*) FROM ticket_loop_protection "
otrs2-6.0.30/Kernel/System/PostMaster/LoopProtection/DB.pm:59:        . " WHERE sent_to = '" . $DBObject->Quote($To) . "' AND "
otrs2-6.0.30/Kernel/System/PostMaster/LoopProtection/DB.pm-60-        . " sent_date = '$Self->{LoopProtectionDate}'";
##############################################
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm-80-        File::Path::make_path("$CPAN2Dir/Devel/REPL/Plugin");
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm:81:        system("cp -r $CPANDir/Devel/REPL/Plugin/OTRS.pm $CPAN2Dir/Devel/REPL/Plugin/OTRS.pm");
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm-82-
##############################################
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm-89-    File::Path::remove_tree("$CPANDir/Test/Selenium");
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm:90:    system("find $CPANDir -name *.pod -exec rm -f {} +");
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm:91:    system("find $CPANDir -name *.pl -exec rm -f {} +");
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm:92:    system("find $CPANDir -name *.so -exec rm -f {} +");
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm:93:    system("find $CPANDir -name *.exists -exec rm -f {} +");
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm-94-
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm-95-    # Fix unwanted 755 permissions.
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm:96:    system("find $CPANDir -type f -exec chmod 640 {} +");
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm-97-
##############################################
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm-132-    my $DownloadURL
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm:133:        = `wget -q -O - https://fastapi.metacpan.org/v1/download_url/$ModuleConfig->{Module} | grep download_url | cut -d '"' -f4`;
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm-134-    die "Error: Could not get DownloadURL." if !$DownloadURL;
##############################################
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm-136-
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm:137:    system("cd $TmpDir; wget -q -O - $DownloadURL | tar -xz --strip 1");
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm-138-
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm-139-    if ( $ModuleConfig->{BuildBLib} ) {
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm:140:        system("cd $TmpDir; perl Makefile.PL; make; cp -r $TmpDir/blib/lib/* $TargetPath");
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm-141-        return 1;
##############################################
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm-144-    if ( -d "$TmpDir/lib" ) {
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm:145:        system("cp -r $TmpDir/lib/* $TargetPath");
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm-146-        return 1;
##############################################
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm-155-        }
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm:156:        system("cp -r $TmpDir/$LastModuleLevel.pm $TargetPath/$ModulePath");
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Code/CPANUpdate.pm-157-        return 1;
##############################################
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Tools/Shell.pm-42-    for my $Dependency (@Dependencies) {
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Tools/Shell.pm:43:        if ( !$Kernel::OM->Get('Kernel::System::Main')->Require( $Dependency, Silent => 1 ) ) {
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Tools/Shell.pm-44-            die
##############################################
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Tools/Shell.pm-75-    if ($Code) {
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Tools/Shell.pm:76:        my @Result = $Repl->formatted_eval($Code);
otrs2-6.0.30/Kernel/System/Console/Command/Dev/Tools/Shell.pm-77-        $Self->Print("@Result") if !$Repl->exit_repl();
##############################################
otrs2-6.0.30/Kernel/System/Console/Command/Maint/Stats/Generate.pm-426-    if ( !$Param{Param} ) {
otrs2-6.0.30/Kernel/System/Console/Command/Maint/Stats/Generate.pm:427:        $Self->PrintError("Need 'Param' in GetParam()");
otrs2-6.0.30/Kernel/System/Console/Command/Maint/Stats/Generate.pm-428-    }
##############################################
otrs2-6.0.30/Kernel/System/Console/Command/Maint/PostMaster/SpoolMailsReprocess.pm-60-        #   and will die if certain problems occur.
otrs2-6.0.30/Kernel/System/Console/Command/Maint/PostMaster/SpoolMailsReprocess.pm:61:        my $Result = system("$^X $Home/bin/otrs.Console.pl Maint::PostMaster::Read <  $File ");
otrs2-6.0.30/Kernel/System/Console/Command/Maint/PostMaster/SpoolMailsReprocess.pm-62-
##############################################
otrs2-6.0.30/Kernel/System/Console/Command/Maint/GenericAgent/Run.pm-67-    my $ConfigurationModule = $Self->GetOption('configuration-module');
otrs2-6.0.30/Kernel/System/Console/Command/Maint/GenericAgent/Run.pm:68:    if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($ConfigurationModule) ) {
otrs2-6.0.30/Kernel/System/Console/Command/Maint/GenericAgent/Run.pm-69-        die "Could not load agent job file '$ConfigurationModule': $!\n";
##############################################
otrs2-6.0.30/Kernel/System/Console/Command/Maint/GenericAgent/Run.pm-127-    # load/import config jobs
otrs2-6.0.30/Kernel/System/Console/Command/Maint/GenericAgent/Run.pm:128:    if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($ConfigurationModule) ) {
otrs2-6.0.30/Kernel/System/Console/Command/Maint/GenericAgent/Run.pm-129-        $Self->PrintError("Could not load agent job file '$ConfigurationModule': $!\n");
##############################################
otrs2-6.0.30/Kernel/System/Console/Command/Internal/BashCompletion.pm-79-        my $CommandPath = 'Kernel::System::Console::Command::' . $CommandName;
otrs2-6.0.30/Kernel/System/Console/Command/Internal/BashCompletion.pm:80:        if ( !$Kernel::OM->Get('Kernel::System::Main')->Require( $CommandPath, Silent => 1 ) ) {
otrs2-6.0.30/Kernel/System/Console/Command/Internal/BashCompletion.pm-81-            return $Self->ExitCodeOk();
##############################################
otrs2-6.0.30/Kernel/System/Console/Command/Help.pm-44-    # Is it an existing command? Then show help for it.
otrs2-6.0.30/Kernel/System/Console/Command/Help.pm:45:    if ( $Kernel::OM->Get('Kernel::System::Main')->Require( $CommandModule, Silent => 1 ) ) {
otrs2-6.0.30/Kernel/System/Console/Command/Help.pm-46-        my $Command = $Kernel::OM->Get($CommandModule);
##############################################
otrs2-6.0.30/Kernel/System/Console/InterfaceConsole.pm-74-
otrs2-6.0.30/Kernel/System/Console/InterfaceConsole.pm:75:    if ( $Kernel::OM->Get('Kernel::System::Main')->Require( $CommandName, Silent => 1 ) ) {
otrs2-6.0.30/Kernel/System/Console/InterfaceConsole.pm-76-
##############################################
otrs2-6.0.30/Kernel/System/SysConfig/DB.pm-2685-    # Set filters on SQL and cache key.
otrs2-6.0.30/Kernel/System/SysConfig/DB.pm:2686:    my $SQLFilter = "WHERE $FieldName = '$FieldValue' ";
otrs2-6.0.30/Kernel/System/SysConfig/DB.pm-2687-
##############################################
otrs2-6.0.30/Kernel/System/SysConfig/DB.pm-3988-    # Loop over filters and set them on SQL and cache key.
otrs2-6.0.30/Kernel/System/SysConfig/DB.pm:3989:    my $SQLFilter = "WHERE $FieldName = '$FieldValue' ";
otrs2-6.0.30/Kernel/System/SysConfig/DB.pm-3990-
##############################################
otrs2-6.0.30/Kernel/System/SysConfig/Migration.pm-1600-    delete $INC{ $Param{FilePath} };
otrs2-6.0.30/Kernel/System/SysConfig/Migration.pm:1601:    $Kernel::OM->Get('Kernel::System::Main')->Require( $Param{FileClass} );
otrs2-6.0.30/Kernel/System/SysConfig/Migration.pm-1602-    $Param{FileClass}->Load( \%OTRS5Config );
##############################################
otrs2-6.0.30/Kernel/System/CustomerCompany.pm-65-            || 'Kernel::System::CustomerCompany::DB';
otrs2-6.0.30/Kernel/System/CustomerCompany.pm:66:        if ( !$MainObject->Require($GenericModule) ) {
otrs2-6.0.30/Kernel/System/CustomerCompany.pm-67-            $MainObject->Die("Can't load backend module $GenericModule! $@");
##############################################
otrs2-6.0.30/Kernel/System/Stats.pm-933-    my $ObjectModule = $Param{ObjectModule};
otrs2-6.0.30/Kernel/System/Stats.pm:934:    return if !$Kernel::OM->Get('Kernel::System::Main')->Require($ObjectModule);
otrs2-6.0.30/Kernel/System/Stats.pm-935-    my $StatObject = $ObjectModule->new( %{$Self} );
##############################################
otrs2-6.0.30/Kernel/System/Stats.pm-1085-    # (this is important when stats are uninstalled, see also bug# 4269)
otrs2-6.0.30/Kernel/System/Stats.pm:1086:    return if !$Kernel::OM->Get('Kernel::System::Main')->Require($Module);
otrs2-6.0.30/Kernel/System/Stats.pm-1087-
##############################################
otrs2-6.0.30/Kernel/System/Stats.pm-1128-    # (this is important when stats are uninstalled, see also bug# 4269)
otrs2-6.0.30/Kernel/System/Stats.pm:1129:    return if !$Kernel::OM->Get('Kernel::System::Main')->Require($Module);
otrs2-6.0.30/Kernel/System/Stats.pm-1130-
##############################################
otrs2-6.0.30/Kernel/System/Stats.pm-1242-    my $ObjectModule = $Param{ObjectModule};
otrs2-6.0.30/Kernel/System/Stats.pm:1243:    return if !$Kernel::OM->Get('Kernel::System::Main')->Require($ObjectModule);
otrs2-6.0.30/Kernel/System/Stats.pm-1244-
##############################################
otrs2-6.0.30/Kernel/System/Stats.pm-1320-        my $ObjectModule = $StatsXML->{ObjectModule}->[1]->{Content};
otrs2-6.0.30/Kernel/System/Stats.pm:1321:        return if !$Kernel::OM->Get('Kernel::System::Main')->Require($ObjectModule);
otrs2-6.0.30/Kernel/System/Stats.pm-1322-        my $StatObject = $ObjectModule->new( %{$Self} );
##############################################
otrs2-6.0.30/Kernel/System/Stats.pm-1403-    my $ObjectModule = $StatsXML->{ObjectModule}->[1]->{Content};
otrs2-6.0.30/Kernel/System/Stats.pm:1404:    return if !$Kernel::OM->Get('Kernel::System::Main')->Require($ObjectModule);
otrs2-6.0.30/Kernel/System/Stats.pm-1405-
##############################################
otrs2-6.0.30/Kernel/System/Stats.pm-1531-        my $ObjectModule = $Stat->{ObjectModule};
otrs2-6.0.30/Kernel/System/Stats.pm:1532:        return if !$Kernel::OM->Get('Kernel::System::Main')->Require($ObjectModule);
otrs2-6.0.30/Kernel/System/Stats.pm-1533-        my $StatObject = $ObjectModule->new( %{$Self} );
##############################################
otrs2-6.0.30/Kernel/System/Stats.pm-2119-            && $HashRef->{ObjectModule}
otrs2-6.0.30/Kernel/System/Stats.pm:2120:            && $MainObject->Require( $HashRef->{ObjectModule} )
otrs2-6.0.30/Kernel/System/Stats.pm-2121-            )
##############################################
otrs2-6.0.30/Kernel/System/Stats.pm-2168-    my $ObjectModule = $Param{ObjectModule};
otrs2-6.0.30/Kernel/System/Stats.pm:2169:    return if !$Kernel::OM->Get('Kernel::System::Main')->Require($ObjectModule);
otrs2-6.0.30/Kernel/System/Stats.pm-2170-    my $StatObject = $ObjectModule->new( %{$Self} );
##############################################
otrs2-6.0.30/Kernel/System/Stats.pm-2264-    my $ObjectModule = $Param{ObjectModule};
otrs2-6.0.30/Kernel/System/Stats.pm:2265:    return if !$Kernel::OM->Get('Kernel::System::Main')->Require($ObjectModule);
otrs2-6.0.30/Kernel/System/Stats.pm-2266-    my $StatObject = $ObjectModule->new( %{$Self} );
##############################################
otrs2-6.0.30/Kernel/System/Queue.pm-61-        || 'Kernel::System::Queue::PreferencesDB';
otrs2-6.0.30/Kernel/System/Queue.pm:62:    if ( $Kernel::OM->Get('Kernel::System::Main')->Require($GeneratorModule) ) {
otrs2-6.0.30/Kernel/System/Queue.pm-63-        $Self->{PreferencesObject} = $GeneratorModule->new();
##############################################
otrs2-6.0.30/Kernel/System/Ticket.pm-3200-            # load module
otrs2-6.0.30/Kernel/System/Ticket.pm:3201:            next MODULE if !$MainObject->Require( $Modules{$Module}->{Module} );
otrs2-6.0.30/Kernel/System/Ticket.pm-3202-
##############################################
otrs2-6.0.30/Kernel/System/Ticket.pm-3308-            # load module
otrs2-6.0.30/Kernel/System/Ticket.pm:3309:            next MODULE if !$MainObject->Require( $Modules{$Module}->{Module} );
otrs2-6.0.30/Kernel/System/Ticket.pm-3310-
##############################################
otrs2-6.0.30/Kernel/System/Ticket.pm-5160-            FROM ticket_history th
otrs2-6.0.30/Kernel/System/Ticket.pm:5161:            WHERE th.create_time <= '$StopDateTimeString'
otrs2-6.0.30/Kernel/System/Ticket.pm-5162-                AND th.create_time >= '$Param{StartYear}-$Param{StartMonth}-$Param{StartDay} 00:00:01'
##############################################
otrs2-6.0.30/Kernel/System/Service.pm-56-        || 'Kernel::System::Service::PreferencesDB';
otrs2-6.0.30/Kernel/System/Service.pm:57:    if ( $Kernel::OM->Get('Kernel::System::Main')->Require($GeneratorModule) ) {
otrs2-6.0.30/Kernel/System/Service.pm-58-        $Self->{PreferencesObject} = $GeneratorModule->new();
##############################################
otrs2-6.0.30/Kernel/System/SystemMaintenance.pm-486-            FROM system_maintenance
otrs2-6.0.30/Kernel/System/SystemMaintenance.pm:487:            WHERE start_date <= $SystemTime and stop_date >= $SystemTime
otrs2-6.0.30/Kernel/System/SystemMaintenance.pm-488-    ";
##############################################
otrs2-6.0.30/Kernel/System/SystemMaintenance.pm-545-            FROM system_maintenance
otrs2-6.0.30/Kernel/System/SystemMaintenance.pm:546:            WHERE start_date > $SystemTime and start_date <= $TargetTime
otrs2-6.0.30/Kernel/System/SystemMaintenance.pm-547-    ";
##############################################
otrs2-6.0.30/Kernel/System/CommunicationLog/DB.pm-461-            CommunicationFilters => {
otrs2-6.0.30/Kernel/System/CommunicationLog/DB.pm:462:                Where => $Where,
otrs2-6.0.30/Kernel/System/CommunicationLog/DB.pm-463-                Binds => \@Bind,
##############################################
otrs2-6.0.30/Kernel/System/AuthSession.pm-57-    # load session backend module
otrs2-6.0.30/Kernel/System/AuthSession.pm:58:    if ( !$MainObject->Require($GenericModule) ) {
otrs2-6.0.30/Kernel/System/AuthSession.pm-59-        $MainObject->Die("Can't load backend module $GenericModule! $@");
##############################################
otrs2-6.0.30/Kernel/System/DynamicField.pm-123-    return if !$DBObject->Prepare(
otrs2-6.0.30/Kernel/System/DynamicField.pm:124:        SQL   => "SELECT id FROM dynamic_field WHERE $Self->{Lower}(name) = $Self->{Lower}(?)",
otrs2-6.0.30/Kernel/System/DynamicField.pm-125-        Bind  => [ \$Param{Name} ],
##############################################
otrs2-6.0.30/Kernel/System/DynamicField.pm-404-        SQL => "SELECT id FROM dynamic_field "
otrs2-6.0.30/Kernel/System/DynamicField.pm:405:            . "WHERE $Self->{Lower}(name) = $Self->{Lower}(?) "
otrs2-6.0.30/Kernel/System/DynamicField.pm-406-            . "AND id != ?",
##############################################
otrs2-6.0.30/Kernel/System/DynamicField.pm-993-                $SQL .=
otrs2-6.0.30/Kernel/System/DynamicField.pm:994:                    " WHERE object_type = '" . $DBObject->Quote( $Param{ObjectType} ) . "'";
otrs2-6.0.30/Kernel/System/DynamicField.pm-995-            }
##############################################
otrs2-6.0.30/Kernel/System/Main.pm-121-    # Load the module, if not already loaded.
otrs2-6.0.30/Kernel/System/Main.pm:122:    return if !$Self->Require($Module);
otrs2-6.0.30/Kernel/System/Main.pm-123-
##############################################
otrs2-6.0.30/Kernel/System/CustomerUser.pm-69-
otrs2-6.0.30/Kernel/System/CustomerUser.pm:70:    if ( $MainObject->Require($GeneratorModule) ) {
otrs2-6.0.30/Kernel/System/CustomerUser.pm-71-        $Self->{PreferencesObject} = $GeneratorModule->new();
##############################################
otrs2-6.0.30/Kernel/System/CustomerUser.pm-80-        my $GenericModule = $ConfigObject->Get("CustomerUser$Count")->{Module};
otrs2-6.0.30/Kernel/System/CustomerUser.pm:81:        if ( !$MainObject->Require($GenericModule) ) {
otrs2-6.0.30/Kernel/System/CustomerUser.pm-82-            $MainObject->Die("Can't load backend module $GenericModule! $@");
##############################################
otrs2-6.0.30/Kernel/System/DynamicField/Backend.pm-85-        # check if backend field exists
otrs2-6.0.30/Kernel/System/DynamicField/Backend.pm:86:        if ( !$MainObject->Require($BackendModule) ) {
otrs2-6.0.30/Kernel/System/DynamicField/Backend.pm-87-            $Kernel::OM->Get('Kernel::System::Log')->Log(
##############################################
otrs2-6.0.30/Kernel/System/DynamicField/Backend.pm-138-            # check if backend field exists
otrs2-6.0.30/Kernel/System/DynamicField/Backend.pm:139:            if ( !$MainObject->Require($ObjectHandlerModule) ) {
otrs2-6.0.30/Kernel/System/DynamicField/Backend.pm-140-                $Kernel::OM->Get('Kernel::System::Log')->Log(
##############################################
otrs2-6.0.30/Kernel/System/CustomerUser/LDAP.pm-846-            if ($Counter) {
otrs2-6.0.30/Kernel/System/CustomerUser/LDAP.pm:847:                $SQLDynamicFieldWhere .= $SQLDynamicFieldWhereSub;
otrs2-6.0.30/Kernel/System/CustomerUser/LDAP.pm-848-                $NeedJoin = 1;
##############################################
otrs2-6.0.30/Kernel/System/CustomerUser/DB.pm-726-            if ($Counter) {
otrs2-6.0.30/Kernel/System/CustomerUser/DB.pm:727:                $SQLDynamicFieldWhere .= $SQLDynamicFieldWhereSub;
otrs2-6.0.30/Kernel/System/CustomerUser/DB.pm-728-                $NeedJoin = 1;
##############################################
otrs2-6.0.30/Kernel/System/EventHandler.pm-215-            # load event module
otrs2-6.0.30/Kernel/System/EventHandler.pm:216:            next MODULE if !$MainObject->Require( $Modules->{$Module}->{Module} );
otrs2-6.0.30/Kernel/System/EventHandler.pm-217-
##############################################
otrs2-6.0.30/Kernel/System/LinkObject.pm-1224-        if (
otrs2-6.0.30/Kernel/System/LinkObject.pm:1225:            !$Kernel::OM->Get('Kernel::System::Main')->Require( 'Kernel::System::LinkObject::' . $Object )
otrs2-6.0.30/Kernel/System/LinkObject.pm-1226-            )
##############################################
otrs2-6.0.30/Kernel/System/LinkObject.pm-2222-
otrs2-6.0.30/Kernel/System/LinkObject.pm:2223:        $SQLWhere = "WHERE valid_id IN ( $ValidIDs )";
otrs2-6.0.30/Kernel/System/LinkObject.pm-2224-    }
##############################################
otrs2-6.0.30/Kernel/System/Calendar.pm-1276-            # get the time value via the module method
otrs2-6.0.30/Kernel/System/Calendar.pm:1277:            if ( $MainObject->Require($GenericModule) ) {
otrs2-6.0.30/Kernel/System/Calendar.pm-1278-                $AppointmentData{$AppointmentField} = $GenericModule->new( %{$Self} )->GetTime(
##############################################
otrs2-6.0.30/Kernel/System/Calendar.pm-1463-            # set the time value via the module method
otrs2-6.0.30/Kernel/System/Calendar.pm:1464:            if ( $MainObject->Require($GenericModule) ) {
otrs2-6.0.30/Kernel/System/Calendar.pm-1465-
##############################################
otrs2-6.0.30/Kernel/System/CustomerAuth.pm-59-
otrs2-6.0.30/Kernel/System/CustomerAuth.pm:60:        if ( !$MainObject->Require($GenericModule) ) {
otrs2-6.0.30/Kernel/System/CustomerAuth.pm-61-            $MainObject->Die("Can't load backend module $GenericModule! $@");
##############################################
otrs2-6.0.30/Kernel/System/CustomerAuth.pm-71-
otrs2-6.0.30/Kernel/System/CustomerAuth.pm:72:        if ( !$MainObject->Require($GenericModule) ) {
otrs2-6.0.30/Kernel/System/CustomerAuth.pm-73-            $MainObject->Die("Can't load backend module $GenericModule! $@");
##############################################
otrs2-6.0.30/Kernel/System/SupportDataCollector/Plugin/OS/DiskPartitionOTRS.pm-36-
otrs2-6.0.30/Kernel/System/SupportDataCollector/Plugin/OS/DiskPartitionOTRS.pm:37:    my $OTRSPartition = `df -P $Home | tail -1 | cut -d' ' -f 1`;
otrs2-6.0.30/Kernel/System/SupportDataCollector/Plugin/OS/DiskPartitionOTRS.pm-38-    chomp $OTRSPartition;
##############################################
otrs2-6.0.30/Kernel/System/SupportDataCollector/Plugin/OS/DiskSpace.pm-41-    #
otrs2-6.0.30/Kernel/System/SupportDataCollector/Plugin/OS/DiskSpace.pm:42:    # my $OTRSPartition = `df -P $Home | tail -1 | cut -d' ' -f 1`;
otrs2-6.0.30/Kernel/System/SupportDataCollector/Plugin/OS/DiskSpace.pm-43-    # chomp $OTRSPartition;
##############################################
otrs2-6.0.30/Kernel/System/SysConfig.pm-5622-        }
otrs2-6.0.30/Kernel/System/SysConfig.pm:5623:        elsif ( eval( '$Self->{ConfigDefaultObject}->{\'' . $Name . '\'}' ) ) {
otrs2-6.0.30/Kernel/System/SysConfig.pm-5624-            $PerlHashStrg .= "delete \$Self->{'$Name'};\n";
##############################################
otrs2-6.0.30/Kernel/System/PostMaster.pm-170-
otrs2-6.0.30/Kernel/System/PostMaster.pm:171:            return if !$MainObject->Require( $Jobs{$Job}->{Module} );
otrs2-6.0.30/Kernel/System/PostMaster.pm-172-
##############################################
otrs2-6.0.30/Kernel/System/PostMaster.pm-234-
otrs2-6.0.30/Kernel/System/PostMaster.pm:235:            return if !$MainObject->Require( $Jobs{$Job}->{Module} );
otrs2-6.0.30/Kernel/System/PostMaster.pm-236-
##############################################
otrs2-6.0.30/Kernel/System/PostMaster.pm-451-
otrs2-6.0.30/Kernel/System/PostMaster.pm:452:            return if !$MainObject->Require( $Jobs{$Job}->{Module} );
otrs2-6.0.30/Kernel/System/PostMaster.pm-453-
##############################################
otrs2-6.0.30/Kernel/System/PostMaster.pm-518-
otrs2-6.0.30/Kernel/System/PostMaster.pm:519:            return if !$MainObject->Require( $Jobs->{$Job}->{Module} );
otrs2-6.0.30/Kernel/System/PostMaster.pm-520-
##############################################
otrs2-6.0.30/Kernel/cpan-lib/URI/file.pm-145-and returns it.  The $filename is interpreted as belonging to the
otrs2-6.0.30/Kernel/cpan-lib/URI/file.pm:146:indicated operating system ($os), which defaults to the value of the
otrs2-6.0.30/Kernel/cpan-lib/URI/file.pm-147-$^O variable.  The $filename can be either absolute or relative, and
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Sys/Hostname/Long.pm-114-                ) or die "Faile socket - $!";
otrs2-6.0.30/Kernel/cpan-lib/Sys/Hostname/Long.pm:115:                gethostbyaddr($s->sockaddr(), AF_INET);
otrs2-6.0.30/Kernel/cpan-lib/Sys/Hostname/Long.pm-116-            };
##############################################
otrs2-6.0.30/Kernel/cpan-lib/XML/Simple.pm-1429-
otrs2-6.0.30/Kernel/cpan-lib/XML/Simple.pm:1430:  my $refaddr = Scalar::Util::refaddr($ref);
otrs2-6.0.30/Kernel/cpan-lib/XML/Simple.pm-1431-  if($refaddr) {
##############################################
otrs2-6.0.30/Kernel/cpan-lib/CPAN/Audit/Installed.pm-93-        local $^W = 0;
otrs2-6.0.30/Kernel/cpan-lib/CPAN/Audit/Installed.pm:94:        $result = eval($eval);
otrs2-6.0.30/Kernel/cpan-lib/CPAN/Audit/Installed.pm-95-        warn "Could not eval '$eval' in $parsefile: $@" if $@;
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Eval/TypeTiny.pm-119-	
otrs2-6.0.30/Kernel/cpan-lib/Eval/TypeTiny.pm:120:	my ($compiler, $e) = _clean_eval($source);
otrs2-6.0.30/Kernel/cpan-lib/Eval/TypeTiny.pm-121-	if ($e) {
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OTTags.pm-238-    "Arpitan" => 'FRP ',
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OTTags.pm:239:    "Assamese" => 'ASM ',
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OTTags.pm-240-    "Asturian" => 'AST ',
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OTTags.pm-1071-    'ARK ' => 'mhv rmz rki',
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OTTags.pm:1072:    'ASM ' => 'asm',
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OTTags.pm-1073-    'AST ' => 'ast',
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-503-<<'EOT',    # Bit 2: cp1251
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm:504:M>)P%P=52%5``0-$-;!KISG,OW=W=#=(IV-W=_H+^@0^.CB,Z^J`^^&V.K@7$
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-505-M$$L<$D\"B2213`JII'&*=#+()(ML<L@ECWP***2(8DHHI8QR*@A$B%))%=74
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-515-<<'EOT',    # Bit 3: cp1253
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm:516:M>)PUB><WEG$`AB_=[9+,$/J];])&2QE-39+VWKN4T2(-7^A4I]-`DI:.G=<.
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-517-M12)-H_ZCYSR]7YS[7!^NZP8\&(48S1C&,H[Q3&`BDYB,)U/P8BK>^."+'_X$
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm:518:M,(U`@@AF.B&$$L8,#`Z<S"2<640PFSG,91[S6<!"(HDBFD4L9@E+648,RUE!
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-519-M+''$D\!*5K&:-:QE'8FL9P,;V<1FMI!$,EM)81NI;&<'.]G%;O:PEWWLYP`'
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-546-MXSP7N,@E+G.%JU;N<5N0US4+LW`S<SH>6DR_B?.X![``"[00"S67^9F_H]OI
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm:547:MZG?Q`RL%7.<&A59&$<64<)-2.KE%.;>IX`Z55%%-#;7444\#C33QFV9::*6-
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-548-M=E6J2M6J4:WJ5*\&-:K)XU:S6M2J-K7KKN[IOA[HNWZH3S_UZW_97_1(C]6A
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-553-<<'EOT',    # Bit 6: cp1256
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm:554:M>)P%P;=/%``8A^'W$'\J'*`"2N>[`XX.1^?.1N_UL``*=A'L8$,4-^.J$R,1
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-555-M&Q$%%+N2N/@'N+@:%UN"BXDA./@\@(,@5A',:L0:UK*.$$)Q$D8X$:QG`QN)
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-579-<<'EOT',    # Bit 8: cp1258
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm:580:M>)PER>5.EF$`@.'KY;,[,%#1!U3L[NYNL+N[$_L</`*PN[MUBC5U3F>R&;.=
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-581-M.J>S&>K<_>^Z$8D3DT=>^>170$&%%%9$4<445T))I906KXRRRBDO004559*H
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-655-<<'EOT',    # Bit 49: cp866
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm:656:M>)P%P45#$P``AN$7_!0#<=088]381XYN&-W=#:,;N]N#!P\>C#_`P1_@S;_G
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-657-M\P`II'(#<9-;I'&;.]SE'NG<)X,'!,@DBVQRR"5('B'R"5-`A$****:$4J*4
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-668-M>)P%P3=,%&``AN$7?FR(>BH@W>,_/A%%;-BQ*V*G]W9P1[=W:0X.#@P(BR,&
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm:669:M([$,8B0F1J.)B'%D,0XD*K$W@AHIDNCS`#[X8O!C$I.9PE2FX<]T`IC!3&;A
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-670-M8#9SF$L@000SCQ!""2.<""*)8CY.HK&XB$$L():%Q+&(Q<2SA`26LHSEK&`E
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-707-M>)P%P3=,U'$<QN$/_/Q:44]%!40X_L>KHMBQ8V_8Z;T=W-'MO<+@X,"@L#BB
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm:708:M1(UE$",QL403C;/8.V+7Q,$XF#CY/$`$D3CZ8?1G``,9Q&"&$,50AC$<'R,8
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-709-MR2BB&<T8QA)#+'&,(Y[Q))"(GR0\`B0C)C"12:0PF2FD,I5I3&<&,YG%;-*8
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-720-M>)P%P4=(%7``Q_&O_FU;O4K+W?/__%6F;=NVRZRTW'L]?<_=WD/MT*&#!]-+
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm:721:M1T,H)`\928<,C4SI$`2!1)@-VB($185F]/D`/OAB\&,2DYG"5*8QG1GX,Y-9
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-722-MS,;!'.8RCP`"F<\"@@@FA%#""">"A3B)Q.(B"K&(Q2PAFJ7$$,LREK."E:QB
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-751-M.NNY4[[XYI/??D:JNNF^'Y:['1D0&>B1=S[[Y:,KD:*18@[;9(.##EAJO?UA
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm:752:M85@4%H>H4-I1QQRQ-B2&KB$A]+?,RI`S1(>X$!MB@M#`$\=#GQ`?DD-2&!2Z
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-753-MA!0K[+/..>>=^??719=<#@5"UK`@S+?*A3#/-0]<=]57-^Q,/;?<=<\=;_VS
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-757-<<'EOT',    # Bit 57: cp855
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm:758:M>)P%P<52$``40-$+7$`%*>D&>3327=)("4A(HU@H=K<+%V[5'V#AC`O'+_#G
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm:759:M/`=(()$D))D44CG#6<Z11CKGR2"3+++)X0*YY)%/`84444P)I9113@655%'-
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-760-M16H(:JFCG@8:::*9%B[12AOM=-!)%]WTT$L?_0PPR!##C##*9<889X))IIAF
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-778-M9/.8R\;MIMK48S=XPR?>JDSEJE10K?+S7K7J8Y%YA9CBD3/O?'"FG3GN\9?'
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm:779:13'+?>:=^U:O!)IA8`NR$89P`
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-780-EOT
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-783-M>)P%P<U3S`$<Q_'W)SUA4RJURY:?K6^HE(<46@\][")%D3:;V$3TX*D\]=RA
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm:784:M0P<']`\T:C*&#!J,\7#"C+,)!S,NF'$VZ.#@]0)$%`N()H98XHAG(8M8C(L$
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-785-MEI!($DM))H54EI%&.FX\+&<%7C+(9"4.J_"1139&#JM9PUIRR2.?=110R'HV
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-816-MEQ_^N>JV[Q:Y[EK$7`^\\<E/'URPTD[[K+7:'KLML,JN,"?,#?-"9(AVP$'[
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm:817:MK0B)(3YT"CTLM"1D"ME"Y5`FY`M"K$<.A:XA(0P.`T+O$!>2+/;>>2>=<CPB
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-818-MQAEGG0NY0E28'699ZG28Z9)[+KOHBRNV^.NNFVZYX8\[UMELC0V%<MIKJV6^
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-822-<<'EOT',    # Bit 63: cp437
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm:823:M>)P%P3=,%&``AN$7?FR(>BH@(.#Q'Y^*(C;LV!LJ*+VW@SNZO1?`P<&!`6%Q
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm:824:M1`D8RR!&8H(03$2,HXN3B4#LC5@B`4GT>0`??#'X,8G)3&$JT_!G.@',8":S
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-825-M<#";.<PED"""F4<(H80QGW`BB&0!3J*PN(A&+&01BXEA"4N)91EQ+&<%*UG%
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-827-M9))%-CGDDD<^!1121#$EN"FE#`]>RJF@DBJJJ:&6PQSA*,<XS@E.<HK3G.$L
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm:828:MYSC/!2YRB3KJ:>`Y$WQBF+<,\HX/?.8+'QGA.U_IYQDO>,\`O_G#3_XRQC]>
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/OS_2.pm-829-M\9J;M-'NO.73S!#?^,4X/WC)';KI<SFX1R\]W.`NCW5-S6J1KZ+E5JFRE*DR
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/Name.pm-568-M:M:H=>E*0D1B)7HC1KC0[R#G^LEA,/]7((Z(EK2B-?&TH2WM:$\'.M*)SG0A
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/Name.pm:569:M@:YTHSL]Z$DO>M.'OO2C/P,8R*`&/X2A#&,X(QC)*$:3R!C&,H[Q3&`BDYC,
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/Name.pm-570-M%))(9BK3F,X,9C*+%%*9S1S22">#N<QC/IEDL8"%+&(Q2UC*,I:S@I6L8C5K
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/Name.pm-634-M+++$"U[RBM>\X2WO6&:%]WS@(Y]898W/?.$KZWQC@TVV^,X/?K+-#KO\XC=_
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/Name.pm:635:M(OX!?T/"`0<=<MB1$Q?R0KXIDB%NK?TVV&B3S:?RG)`;]?<\YWDO>-$T+WG9
otrs2-6.0.30/Kernel/cpan-lib/Font/TTF/Name.pm-636-M*U[UFNEF>%V]X4TSO666V=[VCG?-,==[WC?/?!_XT&#,N`466F3"8DLLM<QR
##############################################
otrs2-6.0.30/Kernel/cpan-lib/JSON/PP.pm-325-                    if ( defined $result and ref( $result ) ) {
otrs2-6.0.30/Kernel/cpan-lib/JSON/PP.pm:326:                        if ( refaddr( $obj ) eq refaddr( $result ) ) {
otrs2-6.0.30/Kernel/cpan-lib/JSON/PP.pm-327-                            encode_error( sprintf(
##############################################
otrs2-6.0.30/Kernel/cpan-lib/JSON/backportPP.pm-334-                    if ( defined $result and ref( $result ) ) {
otrs2-6.0.30/Kernel/cpan-lib/JSON/backportPP.pm:335:                        if ( refaddr( $obj ) eq refaddr( $result ) ) {
otrs2-6.0.30/Kernel/cpan-lib/JSON/backportPP.pm-336-                            encode_error( sprintf(
##############################################
otrs2-6.0.30/Kernel/cpan-lib/MIME/Field/ParamVal.pm-25-    # Get an attribute, or undefined if not present:
otrs2-6.0.30/Kernel/cpan-lib/MIME/Field/ParamVal.pm:26:    print "no id!"  if defined($field->param('id'));
otrs2-6.0.30/Kernel/cpan-lib/MIME/Field/ParamVal.pm-27-
##############################################
otrs2-6.0.30/Kernel/cpan-lib/MIME/Parser.pm-1694-	}
otrs2-6.0.30/Kernel/cpan-lib/MIME/Parser.pm:1695:	$io = tmpopen( $args ) or die "$ME: can't open tmpfile: $!\n";
otrs2-6.0.30/Kernel/cpan-lib/MIME/Parser.pm-1696-	binmode($io) or die "$ME: can't set to binmode: $!";
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer/sendmail.pm-12-
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer/sendmail.pm:13:sub exec($$$$)
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer/sendmail.pm-14-{   my($self, $exe, $args, $to, $sender) = @_;
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer/sendmail.pm-22-
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer/sendmail.pm:23:    exec( $exe, '-t', @$args );
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer/sendmail.pm-24-}
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer/qmail.pm-13-
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer/qmail.pm:14:sub exec($$$$)
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer/qmail.pm-15-{   my($self, $exe, $args, $to, $sender) = @_;
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer/qmail.pm-17-
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer/qmail.pm:18:    exec($exe, (defined $address ? "-f$address" : ()));
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer/qmail.pm-19-    die "ERROR: cannot run $exe: $!";
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer/testfile.pm-17-
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer/testfile.pm:18:sub exec($$$)
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer/testfile.pm-19-{   my ($self, $exe, $args, $to) = @_;
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer.pm-150-            # this is a setup!!!
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer.pm:151:            unless($self->exec($exe, $args, \@to, $sender))
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer.pm-152-            {   warn $!;     # setup failed
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer.pm-158-    {   # Sending is handled by a subclass
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer.pm:159:        $self->exec(undef, $args, \@to)
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer.pm-160-            or die $!;    
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer.pm-175-
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer.pm:176:sub exec($$$$)
otrs2-6.0.30/Kernel/cpan-lib/Mail/Mailer.pm-177-{   my($self, $exe, $args, $to, $sender) = @_;
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Mail/Header.pm-200-    if($where < 0)
otrs2-6.0.30/Kernel/cpan-lib/Mail/Header.pm:201:    {   $where = @{$self->{mail_hdr_list}} + $where + 1;
otrs2-6.0.30/Kernel/cpan-lib/Mail/Header.pm:202:        $where = 0 if $where < 0;
otrs2-6.0.30/Kernel/cpan-lib/Mail/Header.pm-203-    }
otrs2-6.0.30/Kernel/cpan-lib/Mail/Header.pm:204:    elsif($where >= @{$self->{mail_hdr_list}})
otrs2-6.0.30/Kernel/cpan-lib/Mail/Header.pm:205:    {   $where = @{$self->{mail_hdr_list}};
otrs2-6.0.30/Kernel/cpan-lib/Mail/Header.pm-206-    }
otrs2-6.0.30/Kernel/cpan-lib/Mail/Header.pm-207-
otrs2-6.0.30/Kernel/cpan-lib/Mail/Header.pm:208:    my $atend = $where == @{$self->{mail_hdr_list}};
otrs2-6.0.30/Kernel/cpan-lib/Mail/Header.pm-209-    splice @{$self->{mail_hdr_list}}, $where, 0, $line;
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Mail/Internet.pm-319-    {   my %cc;
otrs2-6.0.30/Kernel/cpan-lib/Mail/Internet.pm:320:        foreach my $addr (Mail::Address->parse($self->get('To'), $self->get('Cc'))) 
otrs2-6.0.30/Kernel/cpan-lib/Mail/Internet.pm-321-        {   my $lc   = lc $addr->address;
##############################################
otrs2-6.0.30/Kernel/cpan-lib/SOAP/Transport/HTTP.pm-98-
otrs2-6.0.30/Kernel/cpan-lib/SOAP/Transport/HTTP.pm:99:    eval("require $USERAGENT_CLASS")
otrs2-6.0.30/Kernel/cpan-lib/SOAP/Transport/HTTP.pm-100-      or die "Could not load UserAgent class $USERAGENT_CLASS: $@";
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Type/Registry.pm-30-	my $reg = $class->for_class(
otrs2-6.0.30/Kernel/cpan-lib/Type/Registry.pm:31:		ref($caller) ? sprintf('HASH(0x%08X)', refaddr($caller)) : $caller
otrs2-6.0.30/Kernel/cpan-lib/Type/Registry.pm-32-	);
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Type/Params.pm-767-		TypeTiny->check($_)  ? sprintf('TYPE=%s', $_->{uniq}) :
otrs2-6.0.30/Kernel/cpan-lib/Type/Params.pm:768:		Ref->check($_)       ? sprintf('REF=%s', refaddr($_)) :
otrs2-6.0.30/Kernel/cpan-lib/Type/Params.pm-769-		Undef->check($_)     ? sprintf('UNDEF') :
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Type/Library.pm-35-			if not defined $subname;
otrs2-6.0.30/Kernel/cpan-lib/Type/Library.pm:36:		!$already{refaddr($_[1])}++ and return($subname->(@_))
otrs2-6.0.30/Kernel/cpan-lib/Type/Library.pm-37-			if $subname;
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Type/Coercion.pm-76-sub _stringify_no_magic {
otrs2-6.0.30/Kernel/cpan-lib/Type/Coercion.pm:77:	sprintf('%s=%s(0x%08x)', blessed($_[0]), Scalar::Util::reftype($_[0]), Scalar::Util::refaddr($_[0]));
otrs2-6.0.30/Kernel/cpan-lib/Type/Coercion.pm-78-}
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Type/Parser.pm-126-		{
otrs2-6.0.30/Kernel/cpan-lib/Type/Parser.pm:127:			return eval($node->{token}->spelling); #ARGH
otrs2-6.0.30/Kernel/cpan-lib/Type/Parser.pm-128-		}
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm-351-sub _stringify_no_magic {
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm:352:	sprintf('%s=%s(0x%08x)', blessed($_[0]), Scalar::Util::reftype($_[0]), Scalar::Util::refaddr($_[0]));
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm-353-}
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm-552-	return CMP_EQUAL
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm:553:		if Scalar::Util::refaddr($A) == Scalar::Util::refaddr($B);
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm-554-	
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm-555-	return CMP_EQUIVALENT
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm:556:		if Scalar::Util::refaddr($A->compiled_check) == Scalar::Util::refaddr($B->compiled_check);
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm-557-
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm-560-	return CMP_EQUIVALENT
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm:561:		if Scalar::Util::refaddr($A_stem) == Scalar::Util::refaddr($B_stem);
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm-562-	return CMP_EQUIVALENT
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm:563:		if Scalar::Util::refaddr($A_stem->compiled_check) == Scalar::Util::refaddr($B_stem->compiled_check);
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm-564-	
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm-573-			return CMP_SUBTYPE
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm:574:				if Scalar::Util::refaddr($A_prime) == Scalar::Util::refaddr($B_stem);
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm-575-			return CMP_SUBTYPE
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm:576:				if Scalar::Util::refaddr($A_prime->compiled_check) == Scalar::Util::refaddr($B_stem->compiled_check);
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm-577-			if ($A_prime->can_be_inlined and $B_stem->can_be_inlined) {
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm-588-			return CMP_SUPERTYPE
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm:589:				if Scalar::Util::refaddr($B_prime) == Scalar::Util::refaddr($A_stem);
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm-590-			return CMP_SUPERTYPE
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm:591:				if Scalar::Util::refaddr($B_prime->compiled_check) == Scalar::Util::refaddr($A_stem->compiled_check);
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm-592-			if ($A_stem->can_be_inlined and $B_prime->can_be_inlined) {
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm-1379-sub _compiled_type_coercion    { shift->coercion->compiled_coercion(@_) };
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm:1380:sub _identity                  { Scalar::Util::refaddr(shift) };
otrs2-6.0.30/Kernel/cpan-lib/Type/Tiny.pm-1381-sub _unite                     { require Type::Tiny::Union; "Type::Tiny::Union"->new(type_constraints => \@_) };
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm-235-	
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm:236:	return $ttt_cache{ refaddr($t) } if $ttt_cache{ refaddr($t) };
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm-237-	
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm-286-	my $new = $tt_class->new(%$tt_opts);
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm:287:	$ttt_cache{ refaddr($t) } = $new;
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm:288:	weaken($ttt_cache{ refaddr($t) });
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm-289-	
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm-429-	
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm:430:	$ttt_cache{ refaddr($t) } = $new;
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm:431:	weaken($ttt_cache{ refaddr($t) });
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm-432-	return $new;
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm-454-	my $new = "Type::Tiny"->new(%opts);
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm:455:	$ttt_cache{ refaddr($t) } = $new;
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm:456:	weaken($ttt_cache{ refaddr($t) });
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm-457-	return $new;
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm-483-	my $new = "Type::Tiny"->new(%opts);
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm:484:	$ttt_cache{ refaddr($t) } = $new;
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm:485:	weaken($ttt_cache{ refaddr($t) });
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm-486-	return $new;
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm-525-	my $new = "Type::Tiny"->new(%opts);
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm:526:	$ttt_cache{ refaddr($t) } = $new;
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm:527:	weaken($ttt_cache{ refaddr($t) });
otrs2-6.0.30/Kernel/cpan-lib/Types/TypeTiny.pm-528-	return $new;
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Selenium/CanStartBinary.pm-205-
otrs2-6.0.30/Kernel/cpan-lib/Selenium/CanStartBinary.pm:206:    system( $self->_command );
otrs2-6.0.30/Kernel/cpan-lib/Selenium/CanStartBinary.pm-207-
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Selenium/CanStartBinary.pm-274-        my $cmd = "lsof -t -i :".$self->port();
otrs2-6.0.30/Kernel/cpan-lib/Selenium/CanStartBinary.pm:275:        my ( $pid ) = grep { $_ && $_ ne $$ } split( /\s+/, scalar `$cmd` );
otrs2-6.0.30/Kernel/cpan-lib/Selenium/CanStartBinary.pm-276-        if ($pid) {
##############################################
otrs2-6.0.30/Kernel/cpan-lib/Exporter/Tiny.pm-174-	my ($name, $value, $globals) = @_;
otrs2-6.0.30/Kernel/cpan-lib/Exporter/Tiny.pm:175:	my $compiled = eval("qr$name");
otrs2-6.0.30/Kernel/cpan-lib/Exporter/Tiny.pm-176-	
##############################################
otrs2-6.0.30/Kernel/Language.pm-92-    # load text catalog ...
otrs2-6.0.30/Kernel/Language.pm:93:    if ( !$MainObject->Require($LanguageFile) ) {
otrs2-6.0.30/Kernel/Language.pm-94-        $Kernel::OM->Get('Kernel::System::Log')->Log(
##############################################
otrs2-6.0.30/Kernel/Language.pm-164-            # load translation module
otrs2-6.0.30/Kernel/Language.pm:165:            if ( !$MainObject->Require($Module) ) {
otrs2-6.0.30/Kernel/Language.pm-166-                $Kernel::OM->Get('Kernel::System::Log')->Log(
##############################################
otrs2-6.0.30/Kernel/Language.pm-199-        # load custom text catalog ...
otrs2-6.0.30/Kernel/Language.pm:200:        if ( $CustomTranslationModule && $MainObject->Require($CustomTranslationModule) ) {
otrs2-6.0.30/Kernel/Language.pm-201-
##############################################
otrs2-6.0.30/Kernel/Modules/AdminCustomerUser.pm-208-        my $Module      = $Preferences{$Group}->{Module};
otrs2-6.0.30/Kernel/Modules/AdminCustomerUser.pm:209:        if ( !$MainObject->Require($Module) ) {
otrs2-6.0.30/Kernel/Modules/AdminCustomerUser.pm-210-            return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AdminCustomerUser.pm-419-                    my $Module = $Preferences{$Group}->{Module};
otrs2-6.0.30/Kernel/Modules/AdminCustomerUser.pm:420:                    if ( !$MainObject->Require($Module) ) {
otrs2-6.0.30/Kernel/Modules/AdminCustomerUser.pm-421-                        return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AdminCustomerUser.pm-673-                    my $Module = $Preferences{$Group}->{Module};
otrs2-6.0.30/Kernel/Modules/AdminCustomerUser.pm:674:                    if ( !$MainObject->Require($Module) ) {
otrs2-6.0.30/Kernel/Modules/AdminCustomerUser.pm-675-                        return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AdminCustomerUser.pm-1385-            # load module
otrs2-6.0.30/Kernel/Modules/AdminCustomerUser.pm:1386:            if ( $Kernel::OM->Get('Kernel::System::Main')->Require($Module) ) {
otrs2-6.0.30/Kernel/Modules/AdminCustomerUser.pm-1387-                my $Object = $Module->new(
##############################################
otrs2-6.0.30/Kernel/Modules/CustomerPreferences.pm-61-        my $Module   = $Preferences{$Group}->{Module};
otrs2-6.0.30/Kernel/Modules/CustomerPreferences.pm:62:        if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($Module) ) {
otrs2-6.0.30/Kernel/Modules/CustomerPreferences.pm-63-            return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/CustomerPreferences.pm-212-        my $Module = $Preference{Module} || 'Kernel::Output::HTML::CustomerPreferencesGeneric';
otrs2-6.0.30/Kernel/Modules/CustomerPreferences.pm:213:        if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($Module) ) {
otrs2-6.0.30/Kernel/Modules/CustomerPreferences.pm-214-            return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AgentTicketEmailResend.pm-481-                # load module
otrs2-6.0.30/Kernel/Modules/AgentTicketEmailResend.pm:482:                if ( !$MainObject->Require( $Jobs{$Job}->{Module} ) ) {
otrs2-6.0.30/Kernel/Modules/AgentTicketEmailResend.pm-483-                    return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AgentTicketEmailResend.pm-698-                # Load module.
otrs2-6.0.30/Kernel/Modules/AgentTicketEmailResend.pm:699:                next JOB if !$MainObject->Require( $Jobs{$Job}->{Module} );
otrs2-6.0.30/Kernel/Modules/AgentTicketEmailResend.pm-700-
##############################################
otrs2-6.0.30/Kernel/Modules/AgentTicketEmailResend.pm-859-                # Load module.
otrs2-6.0.30/Kernel/Modules/AgentTicketEmailResend.pm:860:                if ( !$MainObject->Require( $Jobs{$Job}->{Module} ) ) {
otrs2-6.0.30/Kernel/Modules/AgentTicketEmailResend.pm-861-                    return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/CustomerTicketMessage.pm-986-        || 'Kernel::Output::HTML::CustomerNewTicket::QueueSelectionGeneric';
otrs2-6.0.30/Kernel/Modules/CustomerTicketMessage.pm:987:    if ( $Kernel::OM->Get('Kernel::System::Main')->Require($Module) ) {
otrs2-6.0.30/Kernel/Modules/CustomerTicketMessage.pm-988-        my $Object = $Module->new(
##############################################
otrs2-6.0.30/Kernel/Modules/CustomerTicketMessage.pm-1044-            || 'Kernel::Output::HTML::CustomerNewTicket::QueueSelectionGeneric';
otrs2-6.0.30/Kernel/Modules/CustomerTicketMessage.pm:1045:        if ( $Kernel::OM->Get('Kernel::System::Main')->Require($Module) ) {
otrs2-6.0.30/Kernel/Modules/CustomerTicketMessage.pm-1046-            my $Object = $Module->new(
##############################################
otrs2-6.0.30/Kernel/Modules/AgentTicketZoom.pm-424-        if ($Config) {
otrs2-6.0.30/Kernel/Modules/AgentTicketZoom.pm:425:            my $Success = eval { $MainObject->Require( $Config->{Module} ) };
otrs2-6.0.30/Kernel/Modules/AgentTicketZoom.pm-426-            if ( !$Success ) {
##############################################
otrs2-6.0.30/Kernel/Modules/AgentTicketZoom.pm-1090-        }
otrs2-6.0.30/Kernel/Modules/AgentTicketZoom.pm:1091:        my $Success = eval { $MainObject->Require( $Config->{Module} ) };
otrs2-6.0.30/Kernel/Modules/AgentTicketZoom.pm-1092-        next WIDGET if !$Success;
##############################################
otrs2-6.0.30/Kernel/Modules/AgentTicketZoom.pm-1232-            # load module
otrs2-6.0.30/Kernel/Modules/AgentTicketZoom.pm:1233:            if ( !$Kernel::OM->Get('Kernel::System::Main')->Require( $Menus{$Menu}->{Module} ) ) {
otrs2-6.0.30/Kernel/Modules/AgentTicketZoom.pm-1234-                return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AgentTicketEmailOutbound.pm-652-            # load module
otrs2-6.0.30/Kernel/Modules/AgentTicketEmailOutbound.pm:653:            if ( !$Kernel::OM->Get('Kernel::System::Main')->Require( $Jobs{$Job}->{Module} ) ) {
otrs2-6.0.30/Kernel/Modules/AgentTicketEmailOutbound.pm-654-
##############################################
otrs2-6.0.30/Kernel/Modules/AgentTicketEmailOutbound.pm-1216-            # load module
otrs2-6.0.30/Kernel/Modules/AgentTicketEmailOutbound.pm:1217:            if ( !$Kernel::OM->Get('Kernel::System::Main')->Require( $Jobs{$Job}->{Module} ) ) {
otrs2-6.0.30/Kernel/Modules/AgentTicketEmailOutbound.pm-1218-                return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AgentTicketEmailOutbound.pm-1556-            # load module
otrs2-6.0.30/Kernel/Modules/AgentTicketEmailOutbound.pm:1557:            next JOB if !$Kernel::OM->Get('Kernel::System::Main')->Require( $Jobs{$Job}->{Module} );
otrs2-6.0.30/Kernel/Modules/AgentTicketEmailOutbound.pm-1558-
##############################################
otrs2-6.0.30/Kernel/Modules/AgentTicketCompose.pm-729-                # load module
otrs2-6.0.30/Kernel/Modules/AgentTicketCompose.pm:730:                if ( !$MainObject->Require( $Jobs{$Job}->{Module} ) ) {
otrs2-6.0.30/Kernel/Modules/AgentTicketCompose.pm-731-                    return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AgentTicketCompose.pm-1154-                # load module
otrs2-6.0.30/Kernel/Modules/AgentTicketCompose.pm:1155:                next JOB if !$MainObject->Require( $Jobs{$Job}->{Module} );
otrs2-6.0.30/Kernel/Modules/AgentTicketCompose.pm-1156-
##############################################
otrs2-6.0.30/Kernel/Modules/AgentTicketCompose.pm-1862-                # load module
otrs2-6.0.30/Kernel/Modules/AgentTicketCompose.pm:1863:                if ( !$MainObject->Require( $Jobs{$Job}->{Module} ) ) {
otrs2-6.0.30/Kernel/Modules/AgentTicketCompose.pm-1864-                    return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AdminService.pm-135-                    # load module
otrs2-6.0.30/Kernel/Modules/AdminService.pm:136:                    if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($Module) ) {
otrs2-6.0.30/Kernel/Modules/AdminService.pm-137-                        return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AdminService.pm-369-        # load module
otrs2-6.0.30/Kernel/Modules/AdminService.pm:370:        if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($Module) ) {
otrs2-6.0.30/Kernel/Modules/AdminService.pm-371-            return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AdminAppointmentNotificationEvent.pm-140-
otrs2-6.0.30/Kernel/Modules/AdminAppointmentNotificationEvent.pm:141:                if ( !$MainObject->Require( $RegisteredTransports{$Transport}->{Module}, Silent => 1 ) ) {
otrs2-6.0.30/Kernel/Modules/AdminAppointmentNotificationEvent.pm-142-                    next TRANSPORT;
##############################################
otrs2-6.0.30/Kernel/Modules/AdminAppointmentNotificationEvent.pm-324-
otrs2-6.0.30/Kernel/Modules/AdminAppointmentNotificationEvent.pm:325:                if ( !$MainObject->Require( $RegisteredTransports{$Transport}->{Module}, Silent => 1 ) ) {
otrs2-6.0.30/Kernel/Modules/AdminAppointmentNotificationEvent.pm-326-                    next TRANSPORT;
##############################################
otrs2-6.0.30/Kernel/Modules/AdminAppointmentNotificationEvent.pm-1062-
otrs2-6.0.30/Kernel/Modules/AdminAppointmentNotificationEvent.pm:1063:            if ( !$MainObject->Require( $RegisteredTransports{$Transport}->{Module}, Silent => 1 ) ) {
otrs2-6.0.30/Kernel/Modules/AdminAppointmentNotificationEvent.pm-1064-
##############################################
otrs2-6.0.30/Kernel/Modules/AgentDashboardCommon.pm-890-    my $Module = $Configs->{$Name}->{Module};
otrs2-6.0.30/Kernel/Modules/AgentDashboardCommon.pm:891:    return if !$Kernel::OM->Get('Kernel::System::Main')->Require($Module);
otrs2-6.0.30/Kernel/Modules/AgentDashboardCommon.pm-892-    my $Object = $Module->new(
##############################################
otrs2-6.0.30/Kernel/Modules/AdminQueue.pm-246-                    # load module
otrs2-6.0.30/Kernel/Modules/AdminQueue.pm:247:                    if ( !$MainObject->Require($Module) ) {
otrs2-6.0.30/Kernel/Modules/AdminQueue.pm-248-                        return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AdminQueue.pm-489-                    # load module
otrs2-6.0.30/Kernel/Modules/AdminQueue.pm:490:                    if ( !$MainObject->Require($Module) ) {
otrs2-6.0.30/Kernel/Modules/AdminQueue.pm-491-                        return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AdminQueue.pm-840-        # load module
otrs2-6.0.30/Kernel/Modules/AdminQueue.pm:841:        if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($Module) ) {
otrs2-6.0.30/Kernel/Modules/AdminQueue.pm-842-            return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AgentTicketEmail.pm-796-                # load module
otrs2-6.0.30/Kernel/Modules/AgentTicketEmail.pm:797:                if ( !$MainObject->Require( $Jobs{$Job}->{Module} ) ) {
otrs2-6.0.30/Kernel/Modules/AgentTicketEmail.pm-798-                    return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AgentTicketEmail.pm-1397-                # load module
otrs2-6.0.30/Kernel/Modules/AgentTicketEmail.pm:1398:                if ( !$MainObject->Require( $Jobs{$Job}->{Module} ) ) {
otrs2-6.0.30/Kernel/Modules/AgentTicketEmail.pm-1399-                    return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AgentTicketEmail.pm-2118-                # load module
otrs2-6.0.30/Kernel/Modules/AgentTicketEmail.pm:2119:                next JOB if !$MainObject->Require( $Jobs{$Job}->{Module} );
otrs2-6.0.30/Kernel/Modules/AgentTicketEmail.pm-2120-
##############################################
otrs2-6.0.30/Kernel/Modules/AgentPreferences.pm-118-            my $Module   = $Preferences{$Group}->{Module};
otrs2-6.0.30/Kernel/Modules/AgentPreferences.pm:119:            if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($Module) ) {
otrs2-6.0.30/Kernel/Modules/AgentPreferences.pm-120-                return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AgentPreferences.pm-207-            my $Module   = $Preferences{$Group}->{Module};
otrs2-6.0.30/Kernel/Modules/AgentPreferences.pm:208:            if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($Module) ) {
otrs2-6.0.30/Kernel/Modules/AgentPreferences.pm-209-                return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AgentPreferences.pm-723-        my $Module = $Preference{Module} || 'Kernel::Output::HTML::Preferences::Generic';
otrs2-6.0.30/Kernel/Modules/AgentPreferences.pm:724:        if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($Module) ) {
otrs2-6.0.30/Kernel/Modules/AgentPreferences.pm-725-            return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AgentTicketProcess.pm-5906-    my $FieldObject;
otrs2-6.0.30/Kernel/Modules/AgentTicketProcess.pm:5907:    if ( $Kernel::OM->Get('Kernel::System::Main')->Require( 'Kernel::System::' . $ObjectName, Silent => 1 ) ) {
otrs2-6.0.30/Kernel/Modules/AgentTicketProcess.pm-5908-        $FieldObject = $Kernel::OM->Get( 'Kernel::System::' . $ObjectName );
##############################################
otrs2-6.0.30/Kernel/Modules/CustomerTicketProcess.pm-4306-    my $FieldObject;
otrs2-6.0.30/Kernel/Modules/CustomerTicketProcess.pm:4307:    if ( $Kernel::OM->Get('Kernel::System::Main')->Require( 'Kernel::System::' . $ObjectName, Silent => 1 ) ) {
otrs2-6.0.30/Kernel/Modules/CustomerTicketProcess.pm-4308-        $FieldObject = $Kernel::OM->Get( 'Kernel::System::' . $ObjectName );
##############################################
otrs2-6.0.30/Kernel/Modules/AdminSLA.pm-131-                    # load module
otrs2-6.0.30/Kernel/Modules/AdminSLA.pm:132:                    if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($Module) ) {
otrs2-6.0.30/Kernel/Modules/AdminSLA.pm-133-                        return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AdminSLA.pm-477-        # load module
otrs2-6.0.30/Kernel/Modules/AdminSLA.pm:478:        if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($Module) ) {
otrs2-6.0.30/Kernel/Modules/AdminSLA.pm-479-            return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AdminNotificationEvent.pm-208-
otrs2-6.0.30/Kernel/Modules/AdminNotificationEvent.pm:209:                if ( !$MainObject->Require( $RegisteredTransports{$Transport}->{Module}, Silent => 1 ) ) {
otrs2-6.0.30/Kernel/Modules/AdminNotificationEvent.pm-210-                    next TRANSPORT;
##############################################
otrs2-6.0.30/Kernel/Modules/AdminNotificationEvent.pm-452-
otrs2-6.0.30/Kernel/Modules/AdminNotificationEvent.pm:453:                if ( !$MainObject->Require( $RegisteredTransports{$Transport}->{Module}, Silent => 1 ) ) {
otrs2-6.0.30/Kernel/Modules/AdminNotificationEvent.pm-454-                    next TRANSPORT;
##############################################
otrs2-6.0.30/Kernel/Modules/AdminNotificationEvent.pm-1371-
otrs2-6.0.30/Kernel/Modules/AdminNotificationEvent.pm:1372:            if ( !$MainObject->Require( $RegisteredTransports{$Transport}->{Module}, Silent => 1 ) ) {
otrs2-6.0.30/Kernel/Modules/AdminNotificationEvent.pm-1373-
##############################################
otrs2-6.0.30/Kernel/Modules/AgentStatistics.pm-791-
otrs2-6.0.30/Kernel/Modules/AgentStatistics.pm:792:        next DYNAMIC_FILE if !$Kernel::OM->Get('Kernel::System::Main')->Require($ObjectName);
otrs2-6.0.30/Kernel/Modules/AgentStatistics.pm-793-        my $Object = $ObjectName->new();
##############################################
otrs2-6.0.30/Kernel/Modules/AgentTicketForward.pm-532-            # load module
otrs2-6.0.30/Kernel/Modules/AgentTicketForward.pm:533:            if ( !$Kernel::OM->Get('Kernel::System::Main')->Require( $Jobs{$Job}->{Module} ) ) {
otrs2-6.0.30/Kernel/Modules/AgentTicketForward.pm-534-                return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AgentTicketForward.pm-1087-            # load module
otrs2-6.0.30/Kernel/Modules/AgentTicketForward.pm:1088:            if ( !$Kernel::OM->Get('Kernel::System::Main')->Require( $Jobs{$Job}->{Module} ) ) {
otrs2-6.0.30/Kernel/Modules/AgentTicketForward.pm-1089-                return $LayoutObject->FatalError();
##############################################
otrs2-6.0.30/Kernel/Modules/AgentTicketForward.pm-1427-            # load module
otrs2-6.0.30/Kernel/Modules/AgentTicketForward.pm:1428:            next JOB if !$Kernel::OM->Get('Kernel::System::Main')->Require( $Jobs{$Job}->{Module} );
otrs2-6.0.30/Kernel/Modules/AgentTicketForward.pm-1429-
##############################################
otrs2-6.0.30/Kernel/Modules/Installer.pm-506-                @Statements = (
otrs2-6.0.30/Kernel/Modules/Installer.pm:507:                    "CREATE DATABASE `$DB{DBName}` charset utf8",
otrs2-6.0.30/Kernel/Modules/Installer.pm:508:                    "GRANT ALL PRIVILEGES ON `$DB{DBName}`.* TO `$DB{OTRSDBUser}`\@`$DB{Host}` IDENTIFIED BY '$DB{OTRSDBPassword}' WITH GRANT OPTION",
otrs2-6.0.30/Kernel/Modules/Installer.pm-509-                    "FLUSH PRIVILEGES",
##############################################
otrs2-6.0.30/Kernel/Modules/Installer.pm-1144-    my ($Driver) = ( $Param{DSN} =~ /^DBI:(.*?):/ );
otrs2-6.0.30/Kernel/Modules/Installer.pm:1145:    if ( !$Kernel::OM->Get('Kernel::System::Main')->Require( 'DBD::' . $Driver ) ) {
otrs2-6.0.30/Kernel/Modules/Installer.pm-1146-        return (
##############################################
otrs2-6.0.30/Kernel/GenericInterface/ErrorHandling.pm-182-        # Check if backend field exists.
otrs2-6.0.30/Kernel/GenericInterface/ErrorHandling.pm:183:        if ( !$MainObject->Require($ErrorHandlingModule) ) {
otrs2-6.0.30/Kernel/GenericInterface/ErrorHandling.pm-184-            $Kernel::OM->Get('Kernel::System::Log')->Log(
##############################################
otrs2-6.0.30/Kernel/GenericInterface/Operation.pm-87-    my $GenericModule = 'Kernel::GenericInterface::Operation::' . $Param{OperationType};
otrs2-6.0.30/Kernel/GenericInterface/Operation.pm:88:    if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($GenericModule) ) {
otrs2-6.0.30/Kernel/GenericInterface/Operation.pm-89-
##############################################
otrs2-6.0.30/Kernel/GenericInterface/Invoker.pm-101-    my $GenericModule = 'Kernel::GenericInterface::Invoker::' . $Param{InvokerType};
otrs2-6.0.30/Kernel/GenericInterface/Invoker.pm:102:    if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($GenericModule) ) {
otrs2-6.0.30/Kernel/GenericInterface/Invoker.pm-103-
##############################################
otrs2-6.0.30/Kernel/GenericInterface/Mapping.pm-115-    my $GenericModule = 'Kernel::GenericInterface::Mapping::' . $Param{MappingConfig}->{Type};
otrs2-6.0.30/Kernel/GenericInterface/Mapping.pm:116:    if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($GenericModule) ) {
otrs2-6.0.30/Kernel/GenericInterface/Mapping.pm-117-
##############################################
otrs2-6.0.30/Kernel/GenericInterface/Mapping/XSLT.pm-146-    for my $LibRequired (qw(XML::LibXML XML::LibXSLT)) {
otrs2-6.0.30/Kernel/GenericInterface/Mapping/XSLT.pm:147:        my $LibFound = $Kernel::OM->Get('Kernel::System::Main')->Require($LibRequired);
otrs2-6.0.30/Kernel/GenericInterface/Mapping/XSLT.pm-148-        next LIBREQUIRED if $LibFound;
##############################################
otrs2-6.0.30/Kernel/GenericInterface/Transport/HTTP/SOAP.pm-998-        DebugLevel => $DebugLevel,
otrs2-6.0.30/Kernel/GenericInterface/Transport/HTTP/SOAP.pm:999:        Summary    => "Returning provider data to remote system (HTTP Code: $Param{HTTPCode})",
otrs2-6.0.30/Kernel/GenericInterface/Transport/HTTP/SOAP.pm-1000-        Data       => $Param{Content},
##############################################
otrs2-6.0.30/Kernel/GenericInterface/Transport/HTTP/REST.pm-925-        DebugLevel => $DebugLevel,
otrs2-6.0.30/Kernel/GenericInterface/Transport/HTTP/REST.pm:926:        Summary    => "Returning provider data to remote system (HTTP Code: $Param{HTTPCode})",
otrs2-6.0.30/Kernel/GenericInterface/Transport/HTTP/REST.pm-927-        Data       => $Param{Content},
##############################################
otrs2-6.0.30/Kernel/GenericInterface/Transport.pm-69-
otrs2-6.0.30/Kernel/GenericInterface/Transport.pm:70:    if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($Backend) ) {
otrs2-6.0.30/Kernel/GenericInterface/Transport.pm-71-        return $Self->{DebuggerObject}->Error( Summary => "Backend $Backend not found." );
##############################################
otrs2-6.0.30/scripts/test/DB/XML/TableAlter.t-307-        $DBObject->Prepare(
otrs2-6.0.30/scripts/test/DB/XML/TableAlter.t:308:            SQL   => "SELECT $Column FROM test_f WHERE id = $ID",
otrs2-6.0.30/scripts/test/DB/XML/TableAlter.t-309-            Limit => 1,
##############################################
otrs2-6.0.30/scripts/test/DB/XML/TableAlter.t-485-        $DBObject->Prepare(
otrs2-6.0.30/scripts/test/DB/XML/TableAlter.t:486:            SQL   => "SELECT $Column FROM test_f WHERE id = $ID",
otrs2-6.0.30/scripts/test/DB/XML/TableAlter.t-487-            Limit => 1,
##############################################
otrs2-6.0.30/scripts/test/DB/XML/TableAlter.t-645-        $DBObject->Prepare(
otrs2-6.0.30/scripts/test/DB/XML/TableAlter.t:646:            SQL   => "SELECT $Column FROM test_f WHERE id = $ID",
otrs2-6.0.30/scripts/test/DB/XML/TableAlter.t-647-            Limit => 1,
##############################################
otrs2-6.0.30/scripts/test/DB/XML/Size.t-151-        $DBObject->Prepare(
otrs2-6.0.30/scripts/test/DB/XML/Size.t:152:            SQL => 'SELECT name_b FROM test_a WHERE name_a = \'' . $Key . '\'',
otrs2-6.0.30/scripts/test/DB/XML/Size.t-153-        );
##############################################
otrs2-6.0.30/scripts/test/DB/XML/Size.t-208-    $DBObject->Prepare(
otrs2-6.0.30/scripts/test/DB/XML/Size.t:209:        SQL => 'SELECT name_b FROM test_a WHERE name_a = \'' . $Key . '\'',
otrs2-6.0.30/scripts/test/DB/XML/Size.t-210-    );
##############################################
otrs2-6.0.30/scripts/test/DB/XML/Size.t-250-    $DBObject->Prepare(
otrs2-6.0.30/scripts/test/DB/XML/Size.t:251:        SQL => 'SELECT name_b FROM test_a WHERE name_a = \'' . $Key . '\'',
otrs2-6.0.30/scripts/test/DB/XML/Size.t-252-    );
##############################################
otrs2-6.0.30/scripts/test/DB/XML/Limit.t-80-        $DBObject->Prepare(
otrs2-6.0.30/scripts/test/DB/XML/Limit.t:81:            SQL => 'SELECT name_a FROM test_b WHERE name_b = \'' . $Count . '\'',
otrs2-6.0.30/scripts/test/DB/XML/Limit.t-82-        );
##############################################
otrs2-6.0.30/scripts/test/DB/XML/DefaultValue.t-152-        $DBObject->Prepare(
otrs2-6.0.30/scripts/test/DB/XML/DefaultValue.t:153:            SQL   => "SELECT $Column FROM test_e WHERE id = $ID",
otrs2-6.0.30/scripts/test/DB/XML/DefaultValue.t-154-            Limit => 1,
##############################################
otrs2-6.0.30/scripts/test/Main/Require.t-26-$Self->Is(
otrs2-6.0.30/scripts/test/Main/Require.t:27:    $MainObject->Require($TestPackage),
otrs2-6.0.30/scripts/test/Main/Require.t-28-    1,
##############################################
otrs2-6.0.30/scripts/test/Main/Require.t-45-$Self->Is(
otrs2-6.0.30/scripts/test/Main/Require.t:46:    $MainObject->Require($TestPackage),
otrs2-6.0.30/scripts/test/Main/Require.t-47-    1,
##############################################
otrs2-6.0.30/scripts/test/Main/Require.t-57-$Self->Is(
otrs2-6.0.30/scripts/test/Main/Require.t:58:    scalar $MainObject->Require( "${TestPackage}::Invalid", Silent => 1 ),
otrs2-6.0.30/scripts/test/Main/Require.t-59-    scalar undef,
##############################################
otrs2-6.0.30/scripts/test/Daemon/SchedulerDBFutureTask.t-20-# get current daemon status
otrs2-6.0.30/scripts/test/Daemon/SchedulerDBFutureTask.t:21:my $PreviousDaemonStatus = `$Daemon status`;
otrs2-6.0.30/scripts/test/Daemon/SchedulerDBFutureTask.t-22-
##############################################
otrs2-6.0.30/scripts/test/Daemon/SchedulerDBFutureTask.t-24-if ( $PreviousDaemonStatus =~ m{Daemon running}i ) {
otrs2-6.0.30/scripts/test/Daemon/SchedulerDBFutureTask.t:25:    `$^X $Daemon stop`;
otrs2-6.0.30/scripts/test/Daemon/SchedulerDBFutureTask.t-26-
##############################################
otrs2-6.0.30/scripts/test/Daemon/SchedulerDBFutureTask.t-566-if ( $PreviousDaemonStatus =~ m{Daemon running}i ) {
otrs2-6.0.30/scripts/test/Daemon/SchedulerDBFutureTask.t:567:    system("$^X $Daemon start");
otrs2-6.0.30/scripts/test/Daemon/SchedulerDBFutureTask.t-568-}
##############################################
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerTaskWorker/GenericAgent.t-60-
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerTaskWorker/GenericAgent.t:61:# execution failure test
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerTaskWorker/GenericAgent.t-62-my $JobAdd = $GenericAgentObject->JobAdd(
##############################################
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerTaskWorker/SystemCallTask.t-22-# Get current daemon status.
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerTaskWorker/SystemCallTask.t:23:my $PreviousDaemonStatus = `$Daemon status`;
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerTaskWorker/SystemCallTask.t-24-
##############################################
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerTaskWorker/SystemCallTask.t-26-if ( $PreviousDaemonStatus =~ m{Daemon running}i ) {
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerTaskWorker/SystemCallTask.t:27:    `$^X $Daemon stop`;
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerTaskWorker/SystemCallTask.t-28-
##############################################
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerTaskWorker/SystemCallTask.t-275-if ( $PreviousDaemonStatus =~ m{Daemon running}i ) {
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerTaskWorker/SystemCallTask.t:276:    system("$^X $Daemon start");
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerTaskWorker/SystemCallTask.t-277-}
##############################################
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerGenericAgentTaskManager.t-20-# get current daemon status
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerGenericAgentTaskManager.t:21:my $PreviousDaemonStatus = `$Daemon status`;
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerGenericAgentTaskManager.t-22-
##############################################
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerGenericAgentTaskManager.t-24-if ( $PreviousDaemonStatus =~ m{Daemon running}i ) {
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerGenericAgentTaskManager.t:25:    `$^X $Daemon stop`;
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerGenericAgentTaskManager.t-26-
##############################################
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerGenericAgentTaskManager.t-504-if ( $PreviousDaemonStatus =~ m{Daemon running}i ) {
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerGenericAgentTaskManager.t:505:    system("$^X $Daemon start");
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerGenericAgentTaskManager.t-506-}
##############################################
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerCronTaskManager.t-39-# get current daemon status
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerCronTaskManager.t:40:my $PreviousDaemonStatus = `$Daemon status`;
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerCronTaskManager.t-41-
##############################################
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerCronTaskManager.t-43-if ( $PreviousDaemonStatus =~ m{Daemon running}i ) {
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerCronTaskManager.t:44:    `$^X $Daemon stop`;
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerCronTaskManager.t-45-
##############################################
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerCronTaskManager.t-484-if ( $PreviousDaemonStatus =~ m{Daemon running}i ) {
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerCronTaskManager.t:485:    system("$^X $Daemon start");
otrs2-6.0.30/scripts/test/Daemon/DaemonModules/SchedulerCronTaskManager.t-486-}
##############################################
otrs2-6.0.30/scripts/test/Daemon/SchedulerDBRecurrentTask.t-20-# get current daemon status
otrs2-6.0.30/scripts/test/Daemon/SchedulerDBRecurrentTask.t:21:my $PreviousDaemonStatus = `$Daemon status`;
otrs2-6.0.30/scripts/test/Daemon/SchedulerDBRecurrentTask.t-22-
##############################################
otrs2-6.0.30/scripts/test/Daemon/SchedulerDBRecurrentTask.t-24-if ( $PreviousDaemonStatus =~ m{Daemon running}i ) {
otrs2-6.0.30/scripts/test/Daemon/SchedulerDBRecurrentTask.t:25:    `$^X $Daemon stop`;
otrs2-6.0.30/scripts/test/Daemon/SchedulerDBRecurrentTask.t-26-
##############################################
otrs2-6.0.30/scripts/test/Daemon/SchedulerDBRecurrentTask.t-654-if ( $PreviousDaemonStatus =~ m{Daemon running}i ) {
otrs2-6.0.30/scripts/test/Daemon/SchedulerDBRecurrentTask.t:655:    system("$^X $Daemon start");
otrs2-6.0.30/scripts/test/Daemon/SchedulerDBRecurrentTask.t-656-}
##############################################
otrs2-6.0.30/scripts/test/Daemon/SchedulerDB/CronTaskToExecute.t-21-# Get current daemon status.
otrs2-6.0.30/scripts/test/Daemon/SchedulerDB/CronTaskToExecute.t:22:my $PreviousDaemonStatus = `$Daemon status`;
otrs2-6.0.30/scripts/test/Daemon/SchedulerDB/CronTaskToExecute.t-23-
##############################################
otrs2-6.0.30/scripts/test/Daemon/SchedulerDB/CronTaskToExecute.t-34-if ( $PreviousDaemonStatus =~ m{Daemon running}i ) {
otrs2-6.0.30/scripts/test/Daemon/SchedulerDB/CronTaskToExecute.t:35:    `$^X $Daemon stop`;
otrs2-6.0.30/scripts/test/Daemon/SchedulerDB/CronTaskToExecute.t-36-
##############################################
otrs2-6.0.30/scripts/test/Daemon/SchedulerDB.t-20-# get current daemon status
otrs2-6.0.30/scripts/test/Daemon/SchedulerDB.t:21:my $PreviousDaemonStatus = `$Daemon status`;
otrs2-6.0.30/scripts/test/Daemon/SchedulerDB.t-22-
##############################################
otrs2-6.0.30/scripts/test/Daemon/SchedulerDB.t-24-if ( $PreviousDaemonStatus =~ m{Daemon running}i ) {
otrs2-6.0.30/scripts/test/Daemon/SchedulerDB.t:25:    `$^X $Daemon stop`;
otrs2-6.0.30/scripts/test/Daemon/SchedulerDB.t-26-
##############################################
otrs2-6.0.30/scripts/test/Daemon/SchedulerDB.t-873-if ( $PreviousDaemonStatus =~ m{Daemon running}i ) {
otrs2-6.0.30/scripts/test/Daemon/SchedulerDB.t:874:    system("$^X $Daemon start");
otrs2-6.0.30/scripts/test/Daemon/SchedulerDB.t-875-}
##############################################
otrs2-6.0.30/scripts/test/Calendar/Plugin.t-64-    $Self->True(
otrs2-6.0.30/scripts/test/Calendar/Plugin.t:65:        $MainObject->Require($GenericModule),
otrs2-6.0.30/scripts/test/Calendar/Plugin.t-66-        "Required '$GenericModule' plugin module",
##############################################
otrs2-6.0.30/scripts/test/AsynchronousExecutor.t-21-# Get current daemon status.
otrs2-6.0.30/scripts/test/AsynchronousExecutor.t:22:my $PreviousDaemonStatus = `$Daemon status`;
otrs2-6.0.30/scripts/test/AsynchronousExecutor.t-23-
##############################################
otrs2-6.0.30/scripts/test/AsynchronousExecutor.t-34-if ( $PreviousDaemonStatus =~ m{Daemon running}i ) {
otrs2-6.0.30/scripts/test/AsynchronousExecutor.t:35:    `$^X $Daemon stop`;
otrs2-6.0.30/scripts/test/AsynchronousExecutor.t-36-
##############################################
otrs2-6.0.30/scripts/test/AsynchronousExecutor.t-178-if ( $PreviousDaemonStatus =~ m{Daemon running}i ) {
otrs2-6.0.30/scripts/test/AsynchronousExecutor.t:179:    system("perl $Daemon start");
otrs2-6.0.30/scripts/test/AsynchronousExecutor.t-180-}
##############################################
otrs2-6.0.30/scripts/test/SupportDataCollector.t-69-
otrs2-6.0.30/scripts/test/SupportDataCollector.t:70:    if ( !$MainObject->Require($PluginFile) ) {
otrs2-6.0.30/scripts/test/SupportDataCollector.t-71-        return (
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketEscalationView.t-285-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketEscalationView.t:286:                SQL => "DELETE FROM queue WHERE id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketEscalationView.t-287-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminSystemAddress.t-509-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminSystemAddress.t:510:            SQL => "DELETE FROM auto_response WHERE id = $AutoResponseID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminSystemAddress.t-511-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminSystemAddress.t-518-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminSystemAddress.t:519:            SQL => "DELETE FROM system_address WHERE value0 = \'$SysAddRandom\'",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminSystemAddress.t-520-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminSystemAddress.t-525-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminSystemAddress.t:526:            SQL => "DELETE FROM queue WHERE id = \'$QueueID\'",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminSystemAddress.t-527-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminService.t-248-            my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminService.t:249:                SQL => "DELETE FROM service_preferences WHERE service_id = $ServiceID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminService.t-250-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminService.t-255-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminService.t:256:                SQL => "DELETE FROM service WHERE id = $ServiceID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminService.t-257-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminCustomerUserGroup.t-214-            my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminCustomerUserGroup.t:215:                SQL => "DELETE FROM groups WHERE id = $GroupID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminCustomerUserGroup.t-216-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminRoleGroup.t-229-            my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminRoleGroup.t:230:                SQL => "DELETE FROM group_role WHERE group_id = $GroupID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminRoleGroup.t-231-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminRoleGroup.t-238-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminRoleGroup.t:239:                SQL => "DELETE FROM groups WHERE id = $GroupID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminRoleGroup.t-240-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminRoleGroup.t-250-            my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminRoleGroup.t:251:                SQL => "DELETE FROM roles WHERE id = $RoleID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminRoleGroup.t-252-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminCustomerUserService.t-161-            my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminCustomerUserService.t:162:                SQL => "DELETE FROM service_customer_user WHERE service_id = $ServiceID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminCustomerUserService.t-163-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminGroup.t-378-            my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminGroup.t:379:                SQL => "DELETE FROM group_user WHERE group_id = $GroupID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminGroup.t-380-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminUserGroup.t-334-            my $Success  = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminUserGroup.t:335:                SQL => "DELETE FROM group_user WHERE group_id = $GroupID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminUserGroup.t-336-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminRoleUser.t-187-            my $Success = $Kernel::OM->Get('Kernel::System::DB')->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminRoleUser.t:188:                SQL => "DELETE FROM roles WHERE id = $RoleID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminRoleUser.t-189-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueueAutoResponse.t-290-        my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueueAutoResponse.t:291:            SQL => "DELETE FROM queue_auto_response WHERE queue_id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueueAutoResponse.t-292-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueueAutoResponse.t-300-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueueAutoResponse.t:301:                SQL => "DELETE FROM auto_response WHERE id = $AutoResponse->{ID}",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueueAutoResponse.t-302-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueueAutoResponse.t-311-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueueAutoResponse.t:312:                SQL => "DELETE FROM queue WHERE id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueueAutoResponse.t-313-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueueAutoResponse.t-324-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueueAutoResponse.t:325:                SQL => "DELETE FROM system_address WHERE id= $SystemAddressID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueueAutoResponse.t-326-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueueTemplates.t-216-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueueTemplates.t:217:                SQL => "DELETE FROM queue_standard_template WHERE queue_id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueueTemplates.t-218-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueueTemplates.t-224-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueueTemplates.t:225:                SQL => "DELETE FROM queue WHERE id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueueTemplates.t-226-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AgentTicketEmailPGP.t-379-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AgentTicketEmailPGP.t:380:                SQL => "DELETE FROM system_address WHERE id= $SystemAddressID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AgentTicketEmailPGP.t-381-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminAppointmentCalendarManage.t-294-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminAppointmentCalendarManage.t:295:            SQL => "DELETE FROM group_user WHERE group_id = $GroupID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminAppointmentCalendarManage.t-296-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminACL.t-722-                my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminACL.t:723:                    SQL => "DELETE FROM queue WHERE id = $Item",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminACL.t-724-                );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminSLA.t-170-            my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminSLA.t:171:                SQL => "DELETE FROM sla_preferences WHERE sla_id = $SLAID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminSLA.t-172-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminSLA.t-177-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminSLA.t:178:                SQL => "DELETE FROM sla WHERE id = $SLAID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminSLA.t-179-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AgentTicketEmailSMIME.t-275-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AgentTicketEmailSMIME.t:276:                SQL => "DELETE FROM system_address WHERE id= $SystemAddressID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AgentTicketEmailSMIME.t-277-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueue.t-282-        my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueue.t:283:            SQL => "DELETE FROM queue_preferences WHERE queue_id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueue.t-284-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueue.t-289-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueue.t:290:            SQL => "DELETE FROM queue WHERE id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminQueue.t-291-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/Installer.t-67-            # Make a copy of original configuration file.
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/Installer.t:68:            system("cp $ConfigPmFile $ConfigPmFileBackup");
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/Installer.t-69-            $Self->True(
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/Installer.t-311-        # Restore original configuration.
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/Installer.t:312:        system("cp $ConfigPmFileBackup $ConfigPmFile") if -e $ConfigPmFileBackup;
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/Installer.t:313:        system("rm $ConfigPmFileBackup")               if -e $ConfigPmFileBackup;
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/Installer.t-314-    }
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminUser.t-432-        my $Success  = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminUser.t:433:            SQL => "DELETE FROM personal_queues WHERE queue_id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminUser.t-434-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminUser.t-439-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminUser.t:440:            SQL => "DELETE FROM queue WHERE id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminUser.t-441-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminUser.t-448-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminUser.t:449:            SQL => "DELETE FROM personal_services WHERE service_id = $ServiceID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminUser.t-450-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminUser.t-455-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminUser.t:456:            SQL => "DELETE FROM service WHERE id = $ServiceID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminUser.t-457-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/TicketAppointments.t-27-            if ( !$DaemonExitCode ) {
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/TicketAppointments.t:28:                `$^X $Daemon stop`;
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/TicketAppointments.t-29-
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/TicketAppointments.t-163-        # Get current daemon status.
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/TicketAppointments.t:164:        my $PreviousDaemonStatus = `$Daemon status`;
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/TicketAppointments.t-165-
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/TicketAppointments.t-175-        else {
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/TicketAppointments.t:176:            $DaemonExitCode = system("$Daemon start > /dev/null");
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/TicketAppointments.t-177-            $Self->False(
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/TicketAppointments.t-766-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/TicketAppointments.t:767:            SQL => "DELETE FROM group_user WHERE group_id = $GroupID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/TicketAppointments.t-768-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminState.t-240-        my $Success = $Kernel::OM->Get('Kernel::System::DB')->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminState.t:241:            SQL => "DELETE FROM ticket_state WHERE id = $StateIDTest",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminState.t-242-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminCustomerGroup.t-244-            my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminCustomerGroup.t:245:                SQL => "DELETE FROM groups WHERE id = $GroupID",
otrs2-6.0.30/scripts/test/Selenium/Agent/Admin/AdminCustomerGroup.t-246-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketActionCommon/AgentTicketFreeText.t-515-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketActionCommon/AgentTicketFreeText.t:516:            SQL => "DELETE FROM service_sla WHERE service_id = $ServiceID OR sla_id = $SLAID",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketActionCommon/AgentTicketFreeText.t-517-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketActionCommon/AgentTicketFreeText.t-524-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketActionCommon/AgentTicketFreeText.t:525:            SQL => "DELETE FROM service WHERE id = $ServiceID",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketActionCommon/AgentTicketFreeText.t-526-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketActionCommon/AgentTicketFreeText.t-533-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketActionCommon/AgentTicketFreeText.t:534:            SQL => "DELETE FROM sla WHERE id = $SLAID",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketActionCommon/AgentTicketFreeText.t-535-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketActionCommon/AgentTicketFreeText.t-542-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketActionCommon/AgentTicketFreeText.t:543:            SQL => "DELETE FROM ticket_state WHERE id = $StateID",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketActionCommon/AgentTicketFreeText.t-544-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketActionCommon/AgentTicketFreeText.t-551-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketActionCommon/AgentTicketFreeText.t:552:            SQL => "DELETE FROM queue WHERE id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketActionCommon/AgentTicketFreeText.t-553-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketSearchACL.t-166-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketSearchACL.t:167:            SQL => "DELETE FROM ticket_priority WHERE id = $PriorityID",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketSearchACL.t-168-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Add.t-467-            my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Add.t:468:                SQL => "DELETE FROM service_sla WHERE sla_id = $SLAID",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Add.t-469-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Add.t-475-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Add.t:476:                SQL => "DELETE FROM sla WHERE id = $SLAID",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Add.t-477-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Add.t-485-            my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Add.t:486:                SQL => "DELETE FROM service_customer_user WHERE service_id = $ServiceID",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Add.t-487-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Add.t-493-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Add.t:494:                SQL => "DELETE FROM service WHERE id = $ServiceID",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Add.t-495-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Import.t-315-            my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Import.t:316:                SQL => "DELETE FROM service_sla WHERE sla_id = $SLAID",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Import.t-317-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Import.t-323-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Import.t:324:                SQL => "DELETE FROM sla WHERE id = $SLAID",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Import.t-325-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Import.t-333-            my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Import.t:334:                SQL => "DELETE FROM service_customer_user WHERE service_id = $ServiceID",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Import.t-335-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Import.t-341-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Import.t:342:                SQL => "DELETE FROM service WHERE id = $ServiceID",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentStatistics/Import.t-343-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentAppointmentCalendarOverview.t-906-            my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentAppointmentCalendarOverview.t:907:                SQL => "DELETE FROM calendar WHERE id = $CalendarID",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentAppointmentCalendarOverview.t-908-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentAppointmentCalendarOverview.t-955-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentAppointmentCalendarOverview.t:956:            SQL => "DELETE FROM group_user WHERE group_id = $GroupID OR group_id = $GroupID2",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentAppointmentCalendarOverview.t-957-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentAppointmentCalendarOverview.t-966-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentAppointmentCalendarOverview.t:967:            SQL => "DELETE FROM groups WHERE id = $GroupID OR id = $GroupID2",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentAppointmentCalendarOverview.t-968-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketService.t-245-            $Success = $Kernel::OM->Get('Kernel::System::DB')->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketService.t:246:                SQL => "DELETE FROM service WHERE id = $ServiceDelete",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketService.t-247-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentLinkObject.t-734-        $Success = $Kernel::OM->Get('Kernel::System::DB')->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentLinkObject.t:735:            SQL => "DELETE FROM calendar WHERE id = $Calendar{CalendarID}",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentLinkObject.t-736-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketHistory.t-341-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketHistory.t:342:            SQL => "DELETE FROM ticket_type WHERE id = $TypeID",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketHistory.t-343-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketPhone/ServiceDropdown.t-169-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketPhone/ServiceDropdown.t:170:            SQL => "DELETE FROM service_customer_user WHERE service_id = $ServiceID",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketPhone/ServiceDropdown.t-171-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketPhone/ServiceDropdown.t-177-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketPhone/ServiceDropdown.t:178:            SQL => "DELETE FROM service WHERE id = $ServiceID",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketPhone/ServiceDropdown.t-179-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketMove.t-380-            $Success = $Kernel::OM->Get('Kernel::System::DB')->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketMove.t:381:                SQL => "DELETE FROM queue WHERE id = $QueueDelete",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketMove.t-382-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketQueue.t-452-                $Success = $Kernel::OM->Get('Kernel::System::DB')->Do(
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketQueue.t:453:                    SQL => "DELETE FROM queue WHERE id = $Queue->{QueueID}",
otrs2-6.0.30/scripts/test/Selenium/Agent/AgentTicketQueue.t-454-                );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Customer/CustomerGroupPermission.t-145-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Customer/CustomerGroupPermission.t:146:            SQL => "DELETE FROM group_customer_user WHERE group_id = $GroupID",
otrs2-6.0.30/scripts/test/Selenium/Customer/CustomerGroupPermission.t-147-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Customer/CustomerGroupCheck.t-264-            my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Customer/CustomerGroupCheck.t:265:                SQL => "DELETE FROM queue WHERE id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Customer/CustomerGroupCheck.t-266-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Customer/CustomerGroupCheck.t-276-            my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Customer/CustomerGroupCheck.t:277:                SQL => "DELETE FROM group_customer WHERE group_id = $GroupID",
otrs2-6.0.30/scripts/test/Selenium/Customer/CustomerGroupCheck.t-278-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Customer/CustomerGroupCheck.t-286-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Customer/CustomerGroupCheck.t:287:                SQL => "DELETE FROM groups WHERE id = $GroupID",
otrs2-6.0.30/scripts/test/Selenium/Customer/CustomerGroupCheck.t-288-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Customer/UpdateQueueGroup.t-136-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Customer/UpdateQueueGroup.t:137:                SQL => "DELETE FROM queue WHERE id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Customer/UpdateQueueGroup.t-138-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Customer/UpdateQueueGroup.t-146-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Customer/UpdateQueueGroup.t:147:                SQL => "DELETE FROM groups WHERE id = $GroupID",
otrs2-6.0.30/scripts/test/Selenium/Customer/UpdateQueueGroup.t-148-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/Preferences/Agent/CustomQueue.t-91-        my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/Preferences/Agent/CustomQueue.t:92:            SQL => "DELETE FROM personal_queues WHERE queue_id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Output/Preferences/Agent/CustomQueue.t-93-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/Preferences/Agent/CustomQueue.t-100-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/Preferences/Agent/CustomQueue.t:101:            SQL => "DELETE FROM queue WHERE id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Output/Preferences/Agent/CustomQueue.t-102-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/Preferences/Agent/CustomService.t-154-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/Preferences/Agent/CustomService.t:155:            SQL => "DELETE FROM personal_services WHERE service_id = $ServiceIDs[1]",
otrs2-6.0.30/scripts/test/Selenium/Output/Preferences/Agent/CustomService.t-156-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/Preferences/Agent/CustomService.t-164-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/Preferences/Agent/CustomService.t:165:                SQL => "DELETE FROM service WHERE id = $ServiceIDs[$Index]",
otrs2-6.0.30/scripts/test/Selenium/Output/Preferences/Agent/CustomService.t-166-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/SLAPreferencesGeneric.t-138-        my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/SLAPreferencesGeneric.t:139:            SQL => "DELETE FROM sla_preferences WHERE sla_id = $SLAID",
otrs2-6.0.30/scripts/test/Selenium/Output/SLAPreferencesGeneric.t-140-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/SLAPreferencesGeneric.t-146-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/SLAPreferencesGeneric.t:147:            SQL => "DELETE FROM sla WHERE id = $SLAID",
otrs2-6.0.30/scripts/test/Selenium/Output/SLAPreferencesGeneric.t-148-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/MenuPermission.t-141-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/MenuPermission.t:142:            SQL => "DELETE FROM group_user WHERE user_id = $TestUserID AND group_id = $TestGroupID",
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/MenuPermission.t-143-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/MenuPermission.t-150-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/MenuPermission.t:151:            SQL => "DELETE FROM groups WHERE id = $TestGroupID",
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/MenuPermission.t-152-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewMedium.t-213-        $Success = $Kernel::OM->Get('Kernel::System::DB')->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewMedium.t:214:            SQL => "DELETE FROM queue WHERE id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewMedium.t-215-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewSmall.t-437-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewSmall.t:438:                SQL => "DELETE FROM user_preferences WHERE user_id = $UserID",
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewSmall.t-439-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewSmall.t-444-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewSmall.t:445:                SQL => "DELETE FROM users WHERE id = $UserID",
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewSmall.t-446-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewSmall.t-454-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewSmall.t:455:            SQL => "DELETE FROM queue WHERE id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewSmall.t-456-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewPreview.t-386-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewPreview.t:387:            SQL => "DELETE FROM queue_auto_response WHERE auto_response_id = $AutoResponseID",
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewPreview.t-388-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewPreview.t-395-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewPreview.t:396:            SQL => "DELETE FROM auto_response WHERE id = $AutoResponseID",
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewPreview.t-397-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewPreview.t-404-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewPreview.t:405:            SQL => "DELETE FROM queue WHERE id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Output/Ticket/OverviewPreview.t-406-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/ServicePreferencesGeneric.t-137-        my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/ServicePreferencesGeneric.t:138:            SQL => "DELETE FROM service_preferences WHERE service_id = $ServiceID",
otrs2-6.0.30/scripts/test/Selenium/Output/ServicePreferencesGeneric.t-139-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/ServicePreferencesGeneric.t-145-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/ServicePreferencesGeneric.t:146:            SQL => "DELETE FROM service WHERE id = $ServiceID",
otrs2-6.0.30/scripts/test/Selenium/Output/ServicePreferencesGeneric.t-147-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/TicketZoom/TicketInformation.t-465-            {
otrs2-6.0.30/scripts/test/Selenium/Output/TicketZoom/TicketInformation.t:466:                SQL     => "DELETE FROM ticket_type WHERE id = $TypeID",
otrs2-6.0.30/scripts/test/Selenium/Output/TicketZoom/TicketInformation.t-467-                Message => "TypeID $TypeID is deleted",
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/TicketZoom/TicketInformation.t-469-            {
otrs2-6.0.30/scripts/test/Selenium/Output/TicketZoom/TicketInformation.t:470:                SQL     => "DELETE FROM service_sla WHERE sla_id = $SLAID",
otrs2-6.0.30/scripts/test/Selenium/Output/TicketZoom/TicketInformation.t-471-                Message => "Service-SLA relation deleted",
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/TicketZoom/TicketInformation.t-473-            {
otrs2-6.0.30/scripts/test/Selenium/Output/TicketZoom/TicketInformation.t:474:                SQL     => "DELETE FROM sla WHERE id = $SLAID",
otrs2-6.0.30/scripts/test/Selenium/Output/TicketZoom/TicketInformation.t-475-                Message => "SLAID $SLAID is deleted",
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/TicketZoom/TicketInformation.t-477-            {
otrs2-6.0.30/scripts/test/Selenium/Output/TicketZoom/TicketInformation.t:478:                SQL     => "DELETE FROM service WHERE id = $ServiceID",
otrs2-6.0.30/scripts/test/Selenium/Output/TicketZoom/TicketInformation.t-479-                Message => "ServiceID $ServiceID is deleted",
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/TicketZoom/TicketInformation.t-481-            {
otrs2-6.0.30/scripts/test/Selenium/Output/TicketZoom/TicketInformation.t:482:                SQL     => "DELETE FROM queue WHERE id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Output/TicketZoom/TicketInformation.t-483-                Message => "QueueID $QueueID is deleted",
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/CustomerNewTicket/QueueSelectionGeneric.t-115-        my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/CustomerNewTicket/QueueSelectionGeneric.t:116:            SQL => "DELETE FROM system_address WHERE value0 = \'$SystemAddressName\'",
otrs2-6.0.30/scripts/test/Selenium/Output/CustomerNewTicket/QueueSelectionGeneric.t-117-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/CustomerNewTicket/QueueSelectionGeneric.t-125-            $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/CustomerNewTicket/QueueSelectionGeneric.t:126:                SQL => "DELETE FROM queue WHERE id = $QueueDelete",
otrs2-6.0.30/scripts/test/Selenium/Output/CustomerNewTicket/QueueSelectionGeneric.t-127-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/QueuePreferencesGeneric.t-172-        my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/QueuePreferencesGeneric.t:173:            SQL => "DELETE FROM queue_preferences WHERE queue_id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Output/QueuePreferencesGeneric.t-174-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/QueuePreferencesGeneric.t-179-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/QueuePreferencesGeneric.t:180:            SQL => "DELETE FROM queue WHERE id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Output/QueuePreferencesGeneric.t-181-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/Dashboard/Calendar.t-179-        $Success = $Kernel::OM->Get('Kernel::System::DB')->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/Dashboard/Calendar.t:180:            SQL => "DELETE FROM queue WHERE id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Output/Dashboard/Calendar.t-181-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/Dashboard/TicketGenericSortOrder.t-308-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/Dashboard/TicketGenericSortOrder.t:309:            SQL => "DELETE FROM personal_queues WHERE queue_id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Output/Dashboard/TicketGenericSortOrder.t-310-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/Dashboard/TicketGenericSortOrder.t-317-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/Dashboard/TicketGenericSortOrder.t:318:            SQL => "DELETE FROM queue WHERE id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Output/Dashboard/TicketGenericSortOrder.t-319-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/Dashboard/TicketQueueOverview.t-140-        $Success = $Kernel::OM->Get('Kernel::System::DB')->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/Dashboard/TicketQueueOverview.t:141:            SQL => "DELETE FROM queue WHERE id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Output/Dashboard/TicketQueueOverview.t-142-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/Dashboard/TicketGeneric.t-445-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/Dashboard/TicketGeneric.t:446:            SQL => "DELETE FROM personal_queues WHERE queue_id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Output/Dashboard/TicketGeneric.t-447-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/Dashboard/TicketGeneric.t-454-        $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/Dashboard/TicketGeneric.t:455:            SQL => "DELETE FROM queue WHERE id = $QueueID",
otrs2-6.0.30/scripts/test/Selenium/Output/Dashboard/TicketGeneric.t-456-        );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/ToolBar/TicketLocked.t-196-            my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/ToolBar/TicketLocked.t:197:                SQL => "DELETE FROM queue WHERE id = $Queue->{QueueID}",
otrs2-6.0.30/scripts/test/Selenium/Output/ToolBar/TicketLocked.t-198-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/ToolBar/TicketLocked.t-207-            my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/ToolBar/TicketLocked.t:208:                SQL => "DELETE FROM group_user WHERE group_id = $Group->{GroupID}",
otrs2-6.0.30/scripts/test/Selenium/Output/ToolBar/TicketLocked.t-209-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/ToolBar/TicketWatcher.t-201-            my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/ToolBar/TicketWatcher.t:202:                SQL => "DELETE FROM queue WHERE id = $Queue->{QueueID}",
otrs2-6.0.30/scripts/test/Selenium/Output/ToolBar/TicketWatcher.t-203-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/Output/ToolBar/TicketWatcher.t-212-            my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/Selenium/Output/ToolBar/TicketWatcher.t:213:                SQL => "DELETE FROM group_user WHERE group_id = $Group->{GroupID}",
otrs2-6.0.30/scripts/test/Selenium/Output/ToolBar/TicketWatcher.t-214-            );
##############################################
otrs2-6.0.30/scripts/test/Selenium/SysConfig/AgentSetting.t-78-        if ( !-e $Home . '/Kernel/Config/Files/User' ) {
otrs2-6.0.30/scripts/test/Selenium/SysConfig/AgentSetting.t:79:            system("mkdir $Home/Kernel/Config/Files/User");
otrs2-6.0.30/scripts/test/Selenium/SysConfig/AgentSetting.t-80-        }
##############################################
otrs2-6.0.30/scripts/test/Console/Command/Dev/Tools/Shell.t-19-for my $Dependency ( 'Devel::REPL', 'Data::Printer' ) {
otrs2-6.0.30/scripts/test/Console/Command/Dev/Tools/Shell.t:20:    $DependencyMissing = 1 if !$Kernel::OM->Get('Kernel::System::Main')->Require( $Dependency, Silent => 1 );
otrs2-6.0.30/scripts/test/Console/Command/Dev/Tools/Shell.t-21-}
##############################################
otrs2-6.0.30/scripts/test/SysConfig/ConfigurationDeploy.t-484-    delete $INC{$FilePath};
otrs2-6.0.30/scripts/test/SysConfig/ConfigurationDeploy.t:485:    $MainObject->Require($FileClass);
otrs2-6.0.30/scripts/test/SysConfig/ConfigurationDeploy.t-486-    $FileClass->Load( \%Config );
##############################################
otrs2-6.0.30/scripts/test/SysConfig/ConfigurationDeploy.t-531-# Move file to another localtion. At this point $SettingName5 is invalid, make sure deployment fails.
otrs2-6.0.30/scripts/test/SysConfig/ConfigurationDeploy.t:532:`mv $FileLocation $FileLocation2`;
otrs2-6.0.30/scripts/test/SysConfig/ConfigurationDeploy.t-533-
##############################################
otrs2-6.0.30/scripts/test/SysConfig/RebuildConfigBug14259.t-43-        # Execute console command.
otrs2-6.0.30/scripts/test/SysConfig/RebuildConfigBug14259.t:44:        `$^X bin/otrs.Console.pl Maint::Config::Rebuild --time 180`;
otrs2-6.0.30/scripts/test/SysConfig/RebuildConfigBug14259.t-45-        my $ExitCode = $? >> 8;
##############################################
otrs2-6.0.30/scripts/test/SysConfig/ConfigurationMigratePackage.t-74-    # execute ARCHIVE generator tool
otrs2-6.0.30/scripts/test/SysConfig/ConfigurationMigratePackage.t:75:    my $Result = `$ArchiveGeneratorTool -a create`;
otrs2-6.0.30/scripts/test/SysConfig/ConfigurationMigratePackage.t-76-
##############################################
otrs2-6.0.30/scripts/test/SysConfig/ConfigurationMigrate.t-58-delete $INC{$TestPath};
otrs2-6.0.30/scripts/test/SysConfig/ConfigurationMigrate.t:59:$Kernel::OM->Get('Kernel::System::Main')->Require($TestFileClass);
otrs2-6.0.30/scripts/test/SysConfig/ConfigurationMigrate.t-60-$TestFileClass->Load( \%OTRS5Config );
##############################################
otrs2-6.0.30/scripts/test/SupportBundleGenerator.t-96-# execute ARCHIVE generator tool
otrs2-6.0.30/scripts/test/SupportBundleGenerator.t:97:my $Result = `$ArchiveGeneratorTool -a create`;
otrs2-6.0.30/scripts/test/SupportBundleGenerator.t-98-
##############################################
otrs2-6.0.30/scripts/test/DynamicField/ObjectType/ObjectDataGet.t-41-    # Check if backend field exists
otrs2-6.0.30/scripts/test/DynamicField/ObjectType/ObjectDataGet.t:42:    my $LoadSuccess = $MainObject->Require($ObjectHandlerModule);
otrs2-6.0.30/scripts/test/DynamicField/ObjectType/ObjectDataGet.t-43-
##############################################
otrs2-6.0.30/scripts/test/DateTime/ComparisonOperators.t-88-        $Self->Is(
otrs2-6.0.30/scripts/test/DateTime/ComparisonOperators.t:89:            eval( '$DateTimeObject1 ' . $Operator . ' $DateTimeObject2' ),    ## no critic
otrs2-6.0.30/scripts/test/DateTime/ComparisonOperators.t-90-            $TestConfig->{ExpectedResults}->{$Operator},
##############################################
otrs2-6.0.30/scripts/test/DateTime/ComparisonOperators.t-111-    $Self->False(
otrs2-6.0.30/scripts/test/DateTime/ComparisonOperators.t:112:        eval( '$DateTimeObject ' . $Operator . ' 2' ),    ## no critic
otrs2-6.0.30/scripts/test/DateTime/ComparisonOperators.t-113-        'Comparison via ' . $Operator . ' with integer instead of DateTime object must fail',
##############################################
otrs2-6.0.30/scripts/test/DateTime/ComparisonOperators.t-116-    $Self->False(
otrs2-6.0.30/scripts/test/DateTime/ComparisonOperators.t:117:        eval( '$DateTimeObject ' . $Operator . ' undef' ),    ## no critic
otrs2-6.0.30/scripts/test/DateTime/ComparisonOperators.t-118-        'Comparison via ' . $Operator . ' with undef instead of DateTime object must fail',
##############################################
otrs2-6.0.30/scripts/test/DateTime/ComparisonOperators.t-122-    $Self->False(
otrs2-6.0.30/scripts/test/DateTime/ComparisonOperators.t:123:        eval( '$DateTimeObject ' . $Operator . ' $Kernel::OM->Create("Kernel::System::Time")' ),    ## no critic
otrs2-6.0.30/scripts/test/DateTime/ComparisonOperators.t-124-        'Comparison via ' . $Operator . ' with Time object instead of DateTime object must fail',
##############################################
otrs2-6.0.30/scripts/test/UnitTest/Helper.t-146-# Require custom code file.
otrs2-6.0.30/scripts/test/UnitTest/Helper.t:147:my $Loaded = $Kernel::OM->Get('Kernel::System::Main')->Require($PackageName);
otrs2-6.0.30/scripts/test/UnitTest/Helper.t-148-$Self->True(
##############################################
otrs2-6.0.30/scripts/test/DBUpdate/MigrateTicketMergedHistory.t-74-        FROM ticket_history
otrs2-6.0.30/scripts/test/DBUpdate/MigrateTicketMergedHistory.t:75:        WHERE history_type_id = $TicketMergedHistoryTypeID
otrs2-6.0.30/scripts/test/DBUpdate/MigrateTicketMergedHistory.t-76-        AND ticket_id = $TicketData[0]->{TicketID}
##############################################
otrs2-6.0.30/scripts/test/DBUpdate/MigrateTicketMergedHistory.t-108-        FROM ticket_history
otrs2-6.0.30/scripts/test/DBUpdate/MigrateTicketMergedHistory.t:109:        WHERE history_type_id = $TicketMergedHistoryTypeID
otrs2-6.0.30/scripts/test/DBUpdate/MigrateTicketMergedHistory.t-110-        AND ticket_id = $TicketData[0]->{TicketID}
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t-46-# get daemon status (stop if necessary to reload configuration with planner daemon disabled)
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t:47:my $PreviousDaemonStatus = `perl $Daemon status`;
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t-48-
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t-58-
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t:59:    my $ResultMessage = system("perl $Daemon stop");
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t-60-}
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t-72-for my $Seconds ( 1 .. $SleepTime ) {
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t:73:    my $DaemonStatus = `perl $Daemon status`;
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t-74-    if ( $DaemonStatus =~ m{Daemon not running}i ) {
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t-80-
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t:81:my $CurrentDaemonStatus = `perl $Daemon status`;
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t-82-
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t-606-if ( $PreviousDaemonStatus =~ m{Daemon running}i ) {
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t:607:    my $Result = system("perl $Daemon start");
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t-608-    $Self->Is(
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t-618-    for my $Seconds ( 1 .. $SleepTime ) {
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t:619:        my $DaemonStatus = `perl $Daemon status`;
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t-620-        if ( $DaemonStatus =~ m{Daemon running}i ) {
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t-627-
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t:628:$CurrentDaemonStatus = `perl $Daemon status`;
otrs2-6.0.30/scripts/test/GenericInterface/Event/Handler.t-629-
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Event/ObjectType/DataGet.t-30-    # Check if backend field exists
otrs2-6.0.30/scripts/test/GenericInterface/Event/ObjectType/DataGet.t:31:    my $LoadSuccess = $MainObject->Require($ObjectHandlerModule);
otrs2-6.0.30/scripts/test/GenericInterface/Event/ObjectType/DataGet.t-32-
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketSearch.t-2111-my $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketSearch.t:2112:    SQL => "DELETE FROM user_preferences WHERE user_id = $UserID",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketSearch.t-2113-);
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketSearch.t-2118-$Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketSearch.t:2119:    SQL => "DELETE FROM users WHERE id = $UserID",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketSearch.t-2120-);
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketSearch.t-2127-$Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketSearch.t:2128:    SQL => "DELETE FROM ticket_type WHERE id = $TypeID",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketSearch.t-2129-);
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t-4967-    $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t:4968:        SQL => "DELETE FROM queue WHERE id = $QueueData->{QueueID}",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t-4969-    );
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t-4977-$Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t:4978:    SQL => "DELETE FROM groups WHERE id = $GroupID",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t-4979-);
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t-4986-$Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t:4987:    SQL => "DELETE FROM ticket_type WHERE id = $TypeID",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t-4988-);
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t-4995-$Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t:4996:    SQL => "DELETE FROM service_customer_user WHERE service_id = $ServiceID",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t-4997-);
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t-5003-$Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t:5004:    SQL => "DELETE FROM service_sla WHERE service_id = $ServiceID OR sla_id = $SLAID",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t-5005-);
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t-5011-$Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t:5012:    SQL => "DELETE FROM service WHERE id = $ServiceID",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t-5013-);
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t-5020-$Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t:5021:    SQL => "DELETE FROM sla WHERE id = $SLAID",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t-5022-);
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t-5029-$Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t:5030:    SQL => "DELETE FROM ticket_state WHERE id = $StateID",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t-5031-);
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t-5038-$Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t:5039:    SQL => "DELETE FROM ticket_priority WHERE id = $PriorityID",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreate.t-5040-);
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t-876-    $Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t:877:        SQL => "DELETE FROM queue WHERE id = $QueueData->{QueueID}",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t-878-    );
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t-886-$Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t:887:    SQL => "DELETE FROM groups WHERE id = $GroupID",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t-888-);
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t-895-$Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t:896:    SQL => "DELETE FROM ticket_type WHERE id = $TypeID",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t-897-);
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t-904-$Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t:905:    SQL => "DELETE FROM service_customer_user WHERE service_id = $ServiceID",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t-906-);
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t-912-$Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t:913:    SQL => "DELETE FROM service_sla WHERE service_id = $ServiceID OR sla_id = $SLAID",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t-914-);
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t-920-$Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t:921:    SQL => "DELETE FROM service WHERE id = $ServiceID",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t-922-);
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t-929-$Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t:930:    SQL => "DELETE FROM sla WHERE id = $SLAID",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t-931-);
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t-938-$Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t:939:    SQL => "DELETE FROM ticket_state WHERE id = $StateID",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t-940-);
##############################################
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t-947-$Success = $DBObject->Do(
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t:948:    SQL => "DELETE FROM ticket_priority WHERE id = $PriorityID",
otrs2-6.0.30/scripts/test/GenericInterface/Operation/Ticket/TicketCreateIncludeTicketData.t-949-);
##############################################
otrs2-6.0.30/scripts/DBUpdateTo6.pm-127-        my $ModuleName = "scripts::DBUpdateTo6::$Task->{Module}";
otrs2-6.0.30/scripts/DBUpdateTo6.pm:128:        if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($ModuleName) ) {
otrs2-6.0.30/scripts/DBUpdateTo6.pm-129-            $SuccessfulMigration = 0;
##############################################
otrs2-6.0.30/scripts/auto_build/spec/suse13-otrs.spec-44-# copy all crontab dist files
otrs2-6.0.30/scripts/auto_build/spec/suse13-otrs.spec:45:for foo in var/cron/*.dist; do mv $foo var/cron/`basename $foo .dist`; done
otrs2-6.0.30/scripts/auto_build/spec/suse13-otrs.spec-46-# copy all .dist files
##############################################
otrs2-6.0.30/scripts/auto_build/spec/fedora25-otrs.spec-42-# copy all crontab dist files
otrs2-6.0.30/scripts/auto_build/spec/fedora25-otrs.spec:43:for foo in var/cron/*.dist; do mv $foo var/cron/`basename $foo .dist`; done
otrs2-6.0.30/scripts/auto_build/spec/fedora25-otrs.spec-44-# copy all .dist files
##############################################
otrs2-6.0.30/scripts/auto_build/spec/rhel7-otrs.spec-42-# copy all crontab dist files
otrs2-6.0.30/scripts/auto_build/spec/rhel7-otrs.spec:43:for foo in var/cron/*.dist; do mv $foo var/cron/`basename $foo .dist`; done
otrs2-6.0.30/scripts/auto_build/spec/rhel7-otrs.spec-44-# copy all .dist files
##############################################
otrs2-6.0.30/scripts/auto_build/spec/suse12-otrs.spec-44-# copy all crontab dist files
otrs2-6.0.30/scripts/auto_build/spec/suse12-otrs.spec:45:for foo in var/cron/*.dist; do mv $foo var/cron/`basename $foo .dist`; done
otrs2-6.0.30/scripts/auto_build/spec/suse12-otrs.spec-46-# copy all .dist files
##############################################
otrs2-6.0.30/scripts/auto_build/spec/fedora26-otrs.spec-42-# copy all crontab dist files
otrs2-6.0.30/scripts/auto_build/spec/fedora26-otrs.spec:43:for foo in var/cron/*.dist; do mv $foo var/cron/`basename $foo .dist`; done
otrs2-6.0.30/scripts/auto_build/spec/fedora26-otrs.spec-44-# copy all .dist files
##############################################
otrs2-6.0.30/scripts/auto_build/spec/templates/includes/build.tt-5-[% '#' %] copy all crontab dist files
otrs2-6.0.30/scripts/auto_build/spec/templates/includes/build.tt:6:for foo in var/cron/*.dist; do mv $foo var/cron/`basename $foo .dist`; done
otrs2-6.0.30/scripts/auto_build/spec/templates/includes/build.tt-7-[% '#' %] copy all .dist files
##############################################
otrs2-6.0.30/scripts/DBUpdateTo6/UpgradeDatabaseStructure.pm-124-        my $ModuleName = "scripts::DBUpdateTo6::UpgradeDatabaseStructure::$Task->{Module}";
otrs2-6.0.30/scripts/DBUpdateTo6/UpgradeDatabaseStructure.pm:125:        if ( !$Kernel::OM->Get('Kernel::System::Main')->Require($ModuleName) ) {
otrs2-6.0.30/scripts/DBUpdateTo6/UpgradeDatabaseStructure.pm-126-            next TASK;
##############################################
otrs2-6.0.30/scripts/DBUpdateTo6/MigrateConfigEffectiveValues.pm-106-    # move it to new location and rename it
otrs2-6.0.30/scripts/DBUpdateTo6/MigrateConfigEffectiveValues.pm:107:    system("mv $OldLocation $NewLocation");
otrs2-6.0.30/scripts/DBUpdateTo6/MigrateConfigEffectiveValues.pm-108-
##############################################
otrs2-6.0.30/scripts/DBUpdateTo6/PerlModulesCheck.pm-64-
otrs2-6.0.30/scripts/DBUpdateTo6/PerlModulesCheck.pm:65:    my $ExitCode = system("$PerlBinary $ScriptPath");
otrs2-6.0.30/scripts/DBUpdateTo6/PerlModulesCheck.pm-66-
##############################################
otrs2-6.0.30/scripts/backup.pl-184-    print "Backup $Directory/Config.tar.$CompressEXT ... ";
otrs2-6.0.30/scripts/backup.pl:185:    if ( !system("tar -ch -$Compress -f $Directory/Config.tar.$CompressEXT Kernel/Config*") ) {
otrs2-6.0.30/scripts/backup.pl-186-        print "done\n";
##############################################
otrs2-6.0.30/scripts/backup.pl-196-        my $Excludes = "--exclude=var/tmp --exclude=js-cache --exclude=css-cache --exclude=.git";
otrs2-6.0.30/scripts/backup.pl:197:        if ( !system("tar $Excludes -ch -$Compress -f $Directory/Application.tar.$CompressEXT .") ) {
otrs2-6.0.30/scripts/backup.pl-198-            print "done\n";
##############################################
otrs2-6.0.30/scripts/backup.pl-209-        print "Backup $Directory/VarDir.tar.$CompressEXT ... ";
otrs2-6.0.30/scripts/backup.pl:210:        if ( !system("tar -ch -$Compress -f $Directory/VarDir.tar.$CompressEXT var/") ) {
otrs2-6.0.30/scripts/backup.pl-211-            print "done\n";
##############################################
otrs2-6.0.30/scripts/backup.pl-222-        print "Backup $Directory/DataDir.tar.$CompressEXT ... ";
otrs2-6.0.30/scripts/backup.pl:223:        if ( !system("tar -ch -$Compress -f $Directory/DataDir.tar.$CompressEXT $ArticleDir") ) {
otrs2-6.0.30/scripts/backup.pl-224-            print "done\n";
##############################################
otrs2-6.0.30/scripts/restore.pl-100-    print "Restore $ConfigBackupGz ...\n";
otrs2-6.0.30/scripts/restore.pl:101:    system("tar -xzf $ConfigBackupGz");
otrs2-6.0.30/scripts/restore.pl-102-}
##############################################
otrs2-6.0.30/scripts/restore.pl-104-    print "Restore $ConfigBackupBz2 ...\n";
otrs2-6.0.30/scripts/restore.pl:105:    system("tar -xjf $ConfigBackupBz2");
otrs2-6.0.30/scripts/restore.pl-106-}
##############################################
otrs2-6.0.30/scripts/restore.pl-203-    print "Restore $ApplicationBackupGz ...\n";
otrs2-6.0.30/scripts/restore.pl:204:    system("tar -xzf $ApplicationBackupGz");
otrs2-6.0.30/scripts/restore.pl-205-}
##############################################
otrs2-6.0.30/scripts/restore.pl-207-    print "Restore $ApplicationBackupBz2 ...\n";
otrs2-6.0.30/scripts/restore.pl:208:    system("tar -xjf $ApplicationBackupBz2");
otrs2-6.0.30/scripts/restore.pl-209-}
##############################################
otrs2-6.0.30/scripts/restore.pl-215-    print "Restore $VarDirBackupGz ...\n";
otrs2-6.0.30/scripts/restore.pl:216:    system("tar -xzf $VarDirBackupGz");
otrs2-6.0.30/scripts/restore.pl-217-}
##############################################
otrs2-6.0.30/scripts/restore.pl-219-    print "Restore $VarDirBackupBz2 ...\n";
otrs2-6.0.30/scripts/restore.pl:220:    system("tar -xjf $VarDirBackupBz2");
otrs2-6.0.30/scripts/restore.pl-221-}
##############################################
otrs2-6.0.30/scripts/restore.pl-227-    print "Restore $DataDirBackupGz ...\n";
otrs2-6.0.30/scripts/restore.pl:228:    system("tar -xzf $DataDirBackupGz");
otrs2-6.0.30/scripts/restore.pl-229-}
##############################################
otrs2-6.0.30/scripts/restore.pl-231-    print "Restore $DataDirBackupBz2 ...\n";
otrs2-6.0.30/scripts/restore.pl:232:    system("tar -xjf $DataDirBackupBz2");
otrs2-6.0.30/scripts/restore.pl-233-}
##############################################
otrs2-6.0.30/scripts/restore.pl-239-	# deflate Symlinks into temporary directory
otrs2-6.0.30/scripts/restore.pl:240:	system("cd $Opts{'d'}.\"/tmpdir/\" && tar -xzf $Opts{'b'}/SymLinks.tar.gz");
otrs2-6.0.30/scripts/restore.pl-241-	# check if the destination files exist or abort
otrs2-6.0.30/scripts/restore.pl:242:	system("cd $Opts{'d'} && ".'find tmpdir/ -type l -print0 | xargs -0 perl -e \'foreach(@ARGV) { die "Destination: ".readlink($_)." exists! Abort." if (not -x readlink) }\'');
otrs2-6.0.30/scripts/restore.pl-243-	# otherwise restore them to the location from the symlink
otrs2-6.0.30/scripts/restore.pl:244:	system("cd $Opts{'d'} && ".'find tmpdir/ -type l -print0 | xargs -0 perl -e \'foreach (@ARGV) { $link = readlink; $_ =~ s|[^/]*/||; system("mv $_ $link"); symlink $link, $_ }\'');
otrs2-6.0.30/scripts/restore.pl-245-	# delete temporary directory
otrs2-6.0.30/scripts/restore.pl:246:	system("cd $Opts{'d'} && rm -rf tmpdir");
otrs2-6.0.30/scripts/restore.pl-247-}
##############################################
otrs2-6.0.30/.bash_completion-27-if [ -L $THIS_FILE ]; then
otrs2-6.0.30/.bash_completion:28:    THIS_FILE=`readlink $THIS_FILE`;
otrs2-6.0.30/.bash_completion-29-fi
##############################################
otrs2-6.0.30/CHANGES.md-7374- - 2008-05-08 Fixed bug#[2683](http://bugs.otrs.org/show_bug.cgi?id=2683) -
otrs2-6.0.30/CHANGES.md:7375: ```$QData{"OrigFrom"}``` in Reply leads to wrong
otrs2-6.0.30/CHANGES.md-7376-    quote in email answer if sender is agent (To of origin email is used).
##############################################
otrs2-6.0.30/debian/otrs2.postrm-21-if [ "$1" = purge ]; then
otrs2-6.0.30/debian/otrs2.postrm:22:	for PID in `ps aux|grep "^otrs .*/usr/share/otrs/bin/otrs.Daemon.pl start$"|awk '{print $2;}'`; do
otrs2-6.0.30/debian/otrs2.postrm-23-		kill -9 $PID
##############################################
otrs2-6.0.30/debian/patches/03-backup.diff-9-     print "Backup $Directory/Config.tar.$CompressEXT ... ";
otrs2-6.0.30/debian/patches/03-backup.diff:10:-    if ( !system("tar -c -$Compress -f $Directory/Config.tar.$CompressEXT Kernel/Config*") ) {
otrs2-6.0.30/debian/patches/03-backup.diff:11:+    if ( !system("tar -ch -$Compress -f $Directory/Config.tar.$CompressEXT Kernel/Config*") ) {
otrs2-6.0.30/debian/patches/03-backup.diff-12-         print "done\n";
##############################################
otrs2-6.0.30/debian/patches/03-backup.diff-18-         my $Excludes = "--exclude=var/tmp --exclude=js-cache --exclude=css-cache --exclude=.git";
otrs2-6.0.30/debian/patches/03-backup.diff:19:-        if ( !system("tar $Excludes -c -$Compress -f $Directory/Application.tar.$CompressEXT .") ) {
otrs2-6.0.30/debian/patches/03-backup.diff:20:+        if ( !system("tar $Excludes -ch -$Compress -f $Directory/Application.tar.$CompressEXT .") ) {
otrs2-6.0.30/debian/patches/03-backup.diff-21-             print "done\n";
##############################################
otrs2-6.0.30/debian/patches/03-backup.diff-27-         print "Backup $Directory/VarDir.tar.$CompressEXT ... ";
otrs2-6.0.30/debian/patches/03-backup.diff:28:-        if ( !system("tar -c -$Compress -f $Directory/VarDir.tar.$CompressEXT var/") ) {
otrs2-6.0.30/debian/patches/03-backup.diff:29:+        if ( !system("tar -ch -$Compress -f $Directory/VarDir.tar.$CompressEXT var/") ) {
otrs2-6.0.30/debian/patches/03-backup.diff-30-             print "done\n";
##############################################
otrs2-6.0.30/debian/patches/03-backup.diff-36-         print "Backup $Directory/DataDir.tar.$CompressEXT ... ";
otrs2-6.0.30/debian/patches/03-backup.diff:37:-        if ( !system("tar -c -$Compress -f $Directory/DataDir.tar.$CompressEXT $ArticleDir") ) {
otrs2-6.0.30/debian/patches/03-backup.diff:38:+        if ( !system("tar -ch -$Compress -f $Directory/DataDir.tar.$CompressEXT $ArticleDir") ) {
otrs2-6.0.30/debian/patches/03-backup.diff-39-             print "done\n";
##############################################
otrs2-6.0.30/debian/patches/03-backup.diff-45-@@ -232,6 +232,20 @@
otrs2-6.0.30/debian/patches/03-backup.diff:46:     system("tar -xjf $DataDirBackupBz2");
otrs2-6.0.30/debian/patches/03-backup.diff-47- }
##############################################
otrs2-6.0.30/debian/patches/03-backup.diff-53-+	# deflate Symlinks into temporary directory
otrs2-6.0.30/debian/patches/03-backup.diff:54:+	system("cd $Opts{'d'}.\"/tmpdir/\" && tar -xzf $Opts{'b'}/SymLinks.tar.gz");
otrs2-6.0.30/debian/patches/03-backup.diff-55-+	# check if the destination files exist or abort
otrs2-6.0.30/debian/patches/03-backup.diff:56:+	system("cd $Opts{'d'} && ".'find tmpdir/ -type l -print0 | xargs -0 perl -e \'foreach(@ARGV) { die "Destination: ".readlink($_)." exists! Abort." if (not -x readlink) }\'');
otrs2-6.0.30/debian/patches/03-backup.diff-57-+	# otherwise restore them to the location from the symlink
otrs2-6.0.30/debian/patches/03-backup.diff:58:+	system("cd $Opts{'d'} && ".'find tmpdir/ -type l -print0 | xargs -0 perl -e \'foreach (@ARGV) { $link = readlink; $_ =~ s|[^/]*/||; system("mv $_ $link"); symlink $link, $_ }\'');
otrs2-6.0.30/debian/patches/03-backup.diff-59-+	# delete temporary directory
otrs2-6.0.30/debian/patches/03-backup.diff:60:+	system("cd $Opts{'d'} && rm -rf tmpdir");
otrs2-6.0.30/debian/patches/03-backup.diff-61-+}
##############################################
otrs2-6.0.30/.pc/03-backup.diff/scripts/backup.pl-184-    print "Backup $Directory/Config.tar.$CompressEXT ... ";
otrs2-6.0.30/.pc/03-backup.diff/scripts/backup.pl:185:    if ( !system("tar -c -$Compress -f $Directory/Config.tar.$CompressEXT Kernel/Config*") ) {
otrs2-6.0.30/.pc/03-backup.diff/scripts/backup.pl-186-        print "done\n";
##############################################
otrs2-6.0.30/.pc/03-backup.diff/scripts/backup.pl-196-        my $Excludes = "--exclude=var/tmp --exclude=js-cache --exclude=css-cache --exclude=.git";
otrs2-6.0.30/.pc/03-backup.diff/scripts/backup.pl:197:        if ( !system("tar $Excludes -c -$Compress -f $Directory/Application.tar.$CompressEXT .") ) {
otrs2-6.0.30/.pc/03-backup.diff/scripts/backup.pl-198-            print "done\n";
##############################################
otrs2-6.0.30/.pc/03-backup.diff/scripts/backup.pl-209-        print "Backup $Directory/VarDir.tar.$CompressEXT ... ";
otrs2-6.0.30/.pc/03-backup.diff/scripts/backup.pl:210:        if ( !system("tar -c -$Compress -f $Directory/VarDir.tar.$CompressEXT var/") ) {
otrs2-6.0.30/.pc/03-backup.diff/scripts/backup.pl-211-            print "done\n";
##############################################
otrs2-6.0.30/.pc/03-backup.diff/scripts/backup.pl-222-        print "Backup $Directory/DataDir.tar.$CompressEXT ... ";
otrs2-6.0.30/.pc/03-backup.diff/scripts/backup.pl:223:        if ( !system("tar -c -$Compress -f $Directory/DataDir.tar.$CompressEXT $ArticleDir") ) {
otrs2-6.0.30/.pc/03-backup.diff/scripts/backup.pl-224-            print "done\n";
##############################################
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl-100-    print "Restore $ConfigBackupGz ...\n";
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl:101:    system("tar -xzf $ConfigBackupGz");
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl-102-}
##############################################
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl-104-    print "Restore $ConfigBackupBz2 ...\n";
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl:105:    system("tar -xjf $ConfigBackupBz2");
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl-106-}
##############################################
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl-203-    print "Restore $ApplicationBackupGz ...\n";
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl:204:    system("tar -xzf $ApplicationBackupGz");
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl-205-}
##############################################
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl-207-    print "Restore $ApplicationBackupBz2 ...\n";
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl:208:    system("tar -xjf $ApplicationBackupBz2");
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl-209-}
##############################################
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl-215-    print "Restore $VarDirBackupGz ...\n";
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl:216:    system("tar -xzf $VarDirBackupGz");
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl-217-}
##############################################
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl-219-    print "Restore $VarDirBackupBz2 ...\n";
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl:220:    system("tar -xjf $VarDirBackupBz2");
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl-221-}
##############################################
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl-227-    print "Restore $DataDirBackupGz ...\n";
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl:228:    system("tar -xzf $DataDirBackupGz");
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl-229-}
##############################################
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl-231-    print "Restore $DataDirBackupBz2 ...\n";
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl:232:    system("tar -xjf $DataDirBackupBz2");
otrs2-6.0.30/.pc/03-backup.diff/scripts/restore.pl-233-}