diff --git a/build/ng-admin-only.min.js b/build/ng-admin-only.min.js index 4925eeb9..37f292e9 100644 --- a/build/ng-admin-only.min.js +++ b/build/ng-admin-only.min.js @@ -1,47 +1,47 @@ -!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="http://localhost:8080/",t(0)}([function(e,t,n){n(52),e.exports=n(147)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n0}},{key:"removeFields",value:function(){return this._fields=[],this}},{key:"getFields",value:function(){return this._fields}},{key:"getField",value:function(e){return this._fields.filter(function(t){return t.name()===e})[0]}},{key:"getFieldsOfType",value:function(e){return this._fields.filter(function(t){return t.type()===e})}},{key:"addField",value:function(e){return null===e.order()&&e.order(this._fields.length,!0),this._fields.push(e),this._fields=this._fields.sort(function(e,t){return e.order()-t.order()}),this}},{key:"order",value:function(e){return arguments.length?(this._order=e,this):this._order}},{key:"getReferences",value:function(e){var t={},n=this._fields.filter(function(e){return"reference"===e.type()||"reference_many"===e.type()}),r=null;e===!0?r=function(e){return e.remoteComplete()}:e===!1&&(r=function(e){return!e.remoteComplete()}),null!==r&&(n=n.filter(r));for(var i=0,o=n.length;o>i;i++){var a=n[i];t[a.name()]=a}return t}},{key:"getNonOptimizedReferences",value:function(e){return this._getReferencesByOptimizationType(!1,e)}},{key:"getOptimizedReferences",value:function(e){return this._getReferencesByOptimizationType(!0,e)}},{key:"getReferencedLists",value:function(){for(var e={},t=this._fields.filter(function(e){return"referenced_list"===e.type()}),n=0,r=t.length;r>n;n++){var i=t[n];e[i.name()]=i}return e}},{key:"template",value:function(e){return arguments.length?(this._template=e,this):this._template}},{key:"identifier",value:function(){return this.entity.identifier()}},{key:"actions",value:function(e){return arguments.length?(this._actions=e,this):this._actions}},{key:"getErrorMessage",value:function(e){return"function"==typeof this._errorMessage?this._errorMessage(e):this._errorMessage}},{key:"errorMessage",value:function(e){return arguments.length?(this._errorMessage=e,this):this._errorMessage}},{key:"url",value:function(e){return arguments.length?(this._url=e,this):this._url}},{key:"getUrl",value:function(e){return"function"==typeof this._url?this._url(e):this._url}},{key:"validate",value:function(e){this._fields.map(function(t){var n=t.validation();"function"==typeof n.validator&&n.validator(e.values[t.name()])})}},{key:"mapEntry",value:function(e){return s["default"].createFromRest(e,this._fields,this.entity.name(),this.entity.identifier().name())}},{key:"mapEntries",value:function(e){return s["default"].createArrayFromRest(e,this._fields,this.entity.name(),this.entity.identifier().name())}},{key:"transformEntry",value:function(e){return e.transformToRest(this._fields)}},{key:"_getReferencesByOptimizationType",value:function(){var e=arguments.length<=0||void 0===arguments[0]?!0:arguments[0],t=arguments.length<=1||void 0===arguments[1]?null:arguments[1],n={},r=this.getReferences(t);for(var i in r){var o=r[i];!!o.getSingleApiCall()===e&&(n[i]=o)}return n}},{key:"enabled",get:function(){return this._enabled||!!this._fields.length}},{key:"type",get:function(){return this._type}}],[{key:"flatten",value:function(t){if("Object"===t.constructor.name){console.warn("Passing literal of Field to fields method is deprecated use array instead");var n=[];for(var r in t)n=n.concat(e.flatten(t[r]));return n}return Array.isArray(t)?t.reduce(function(t,n){return t.concat(e.flatten(n))},[]):[t]}}]),e}());t["default"]=l,e.exports=t["default"]},function(e,t,n){!function(t){e.exports=t()}(function(){"use strict";function e(n,r){if(!(this instanceof e))return new e(n,r);this.options=r=r?Pi(r):{},Pi(Ko,r,!1),p(r);var i=r.value;"string"==typeof i&&(i=new ya(i,r.mode,null,r.lineSeparator)),this.doc=i;var o=new e.inputStyles[r.inputStyle](this),a=this.display=new t(n,i,o);a.wrapper.CodeMirror=this,u(this),s(this),r.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),r.autofocus&&!Co&&a.input.focus(),m(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,draggingText:!1,highlight:new Ei,keySeq:null,specialChars:null};var l=this;ho&&11>go&&setTimeout(function(){l.display.input.reset(!0)},20),Ht(this),qi(),bt(this),this.curOp.forceUpdate=!0,Gr(this,i),r.autofocus&&!Co||l.hasFocus()?setTimeout(Fi(hn,this),20):gn(this);for(var c in Yo)Yo.hasOwnProperty(c)&&Yo[c](this,r[c],Qo);x(this),r.finishInit&&r.finishInit(this);for(var f=0;fgo&&(r.gutters.style.zIndex=-1,r.scroller.style.paddingRight=0),vo||co&&Co||(r.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(r.wrapper):e(r.wrapper)),r.viewFrom=r.viewTo=t.first,r.reportedViewFrom=r.reportedViewTo=t.first,r.view=[],r.renderedView=null,r.externalMeasured=null,r.viewOffset=0,r.lastWrapHeight=r.lastWrapWidth=0,r.updateLineNumbers=null,r.nativeBarWidth=r.barHeight=r.barWidth=0,r.scrollbarsClipped=!1,r.lineNumWidth=r.lineNumInnerWidth=r.lineNumChars=null,r.alignWidgets=!1,r.cachedCharWidth=r.cachedTextHeight=r.cachedPaddingH=null,r.maxLine=null,r.maxLineLength=0,r.maxLineChanged=!1,r.wheelDX=r.wheelDY=r.wheelStartX=r.wheelStartY=null,r.shift=!1,r.selForContextMenu=null,r.activeTouch=null,n.init(r)}function n(t){t.doc.mode=e.getMode(t.options,t.doc.modeOption),r(t)}function r(e){e.doc.iter(function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)}),e.doc.frontier=e.doc.first,je(e,100),e.state.modeGen++,e.curOp&&Pt(e)}function i(e){e.options.lineWrapping?(za(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(Ua(e.display.wrapper,"CodeMirror-wrap"),d(e)),a(e),Pt(e),at(e),setTimeout(function(){y(e)},100)}function o(e){var t=mt(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/yt(e.display)-3);return function(i){if(br(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;at.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}function p(e){var t=Ai(e.gutters,"CodeMirror-linenumbers");-1==t&&e.lineNumbers?e.gutters=e.gutters.concat(["CodeMirror-linenumbers"]):t>-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}function h(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Ue(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+Be(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}function g(e,t,n){this.cm=n;var r=this.vert=Ii("div",[Ii("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=Ii("div",[Ii("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");e(r),e(i),Ca(r,"scroll",function(){r.clientHeight&&t(r.scrollTop,"vertical")}),Ca(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal")}),this.checkedOverlay=!1,ho&&8>go&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")}function v(){}function m(t){t.display.scrollbars&&(t.display.scrollbars.clear(),t.display.scrollbars.addClass&&Ua(t.display.wrapper,t.display.scrollbars.addClass)),t.display.scrollbars=new e.scrollbarModel[t.options.scrollbarStyle](function(e){t.display.wrapper.insertBefore(e,t.display.scrollbarFiller),Ca(e,"mousedown",function(){t.state.focused&&setTimeout(function(){t.display.input.focus()},0)}),e.setAttribute("cm-not-content","true")},function(e,n){"horizontal"==n?tn(t,e):en(t,e)},t),t.display.scrollbars.addClass&&za(t.display.wrapper,t.display.scrollbars.addClass)}function y(e,t){t||(t=h(e));var n=e.display.barWidth,r=e.display.barHeight;b(e,t);for(var i=0;4>i&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&M(e),b(e,h(e)),n=e.display.barWidth,r=e.display.barHeight}function b(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}function w(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-We(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=Zr(t,r),a=Zr(t,i);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;o>s?(o=s,a=Zr(t,ei(Kr(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=Zr(t,ei(Kr(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function $(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=C(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==Vt(e))return!1;x(e)&&(Lt(e),t.dims=D(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Mo&&(o=mr(e.doc,o),a=yr(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;It(e,o,a),n.viewOffset=ei(Kr(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var l=Vt(e);if(!s&&0==l&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=Wi();return l>4&&(n.lineDiv.style.display="none"),P(e,n.updateLineNumbers,t.dims),l>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,u&&Wi()!=u&&u.offsetHeight&&u.focus(),Vi(n.cursorDiv),Vi(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,je(e,400)),n.updateLineNumbers=null,!0}function O(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=qe(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Ue(e.display)-Ge(e),n.top)}),t.visible=w(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&S(e,t);r=!1){M(e);var i=h(e);De(e),A(e,i),y(e,i)}t.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function T(e,t){var n=new k(e,t);if(S(e,n)){M(e),O(e,n);var r=h(e);De(e),A(e,r),y(e,r),n.finish()}}function A(e,t){e.display.sizer.style.minHeight=t.docHeight+"px";var n=t.docHeight+e.display.barHeight;e.display.heightForcer.style.top=n+"px",e.display.gutters.style.height=Math.max(n+Be(e),t.clientHeight)+"px"}function M(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;rgo){var a=o.node.offsetTop+o.node.offsetHeight;i=a-n,n=a}else{var s=o.node.getBoundingClientRect();i=s.bottom-s.top}var l=o.line.height-i;if(2>i&&(i=mt(t)),(l>.001||-.001>l)&&(Xr(o.line,i),R(o.line),o.rest))for(var u=0;u=t&&f.lineNumber;f.changes&&(Ai(f.changes,"gutter")>-1&&(d=!1),F(e,f,u,n)),d&&(Vi(f.lineNumber),f.lineNumber.appendChild(document.createTextNode(_(e.options,u)))),s=f.node.nextSibling}else{var p=U(e,f,u,n);a.insertBefore(p,s)}u+=f.size}for(;s;)s=r(s)}function F(e,t,n,r){for(var i=0;igo&&(e.node.style.zIndex=2)),e.node}function N(e){var t=e.bgClass?e.bgClass+" "+(e.line.bgClass||""):e.line.bgClass;if(t&&(t+=" CodeMirror-linebackground"),e.background)t?e.background.className=t:(e.background.parentNode.removeChild(e.background),e.background=null);else if(t){var n=L(e);e.background=n.insertBefore(Ii("div",null,t),n.firstChild)}}function j(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):Fr(e,t)}function I(e,t){var n=t.text.className,r=j(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,V(t)):n&&(t.text.className=n)}function V(e){N(e),e.line.wrapClass?L(e).className=e.line.wrapClass:e.node!=e.text&&(e.node.className="");var t=e.textClass?e.textClass+" "+(e.line.textClass||""):e.line.textClass;e.text.className=t||""}function H(e,t,n,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=L(t);t.gutterBackground=Ii("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var i=L(t),a=t.gutter=Ii("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(e.display.input.setUneditable(a),i.insertBefore(a,t.text),t.line.gutterClass&&(a.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=a.appendChild(Ii("div",_(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var s=0;s1)if(Po&&Po.join("\n")==t){if(r.ranges.length%Po.length==0){l=[];for(var u=0;u=0;u--){var c=r.ranges[u],f=c.from(),d=c.to();c.empty()&&(n&&n>0?f=Ro(f.line,f.ch-n):e.state.overwrite&&!a&&(d=Ro(d.line,Math.min(Kr(o,d.line).text.length,d.ch+Ti(s).length))));var p=e.curOp.updateInput,h={from:f,to:d,text:l?l[u%l.length]:s,origin:i||(a?"paste":e.state.cutIncoming?"cut":"+input")};_n(e.doc,h),wi(e,"inputRead",e,h)}t&&!a&&ee(e,t),Fn(e),e.curOp.updateInput=p,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function Z(e,t){var n=e.clipboardData&&e.clipboardData.getData("text/plain");return n?(e.preventDefault(),Ot(t,function(){J(t,n,0,null,"paste")}),!0):void 0}function ee(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s-1){a=Nn(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(Kr(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Nn(e,i.head.line,"smart"));a&&wi(e,"electricInput",e,i.head.line)}}}function te(e){for(var t=[],n=[],r=0;ri?u.map:c[i],a=0;ai?e.line:e.rest[i]),f=o[a]+r;return(0>r||s!=t)&&(f=o[a+(r?1:0)]),Ro(l,f)}}}var i=e.text.firstChild,o=!1;if(!t||!Va(i,t))return se(Ro(Jr(e.line),0),!0);if(t==i&&(o=!0,t=i.childNodes[n],n=0,!t)){var a=e.rest?Ti(e.rest):e.line;return se(Ro(Jr(a),a.text.length),o)}var s=3==t.nodeType?t:null,l=t;for(s||1!=t.childNodes.length||3!=t.firstChild.nodeType||(s=t.firstChild,n&&(n=s.nodeValue.length));l.parentNode!=i;)l=l.parentNode;var u=e.measure,c=u.maps,f=r(s,l,n);if(f)return se(f,o);for(var d=l.nextSibling,p=s?s.nodeValue.length-n:0;d;d=d.nextSibling){if(f=r(d,d.firstChild,0))return se(Ro(f.line,f.ch-p),o);p+=d.textContent.length}for(var h=l.previousSibling,p=n;h;h=h.previousSibling){if(f=r(h,h.firstChild,-1))return se(Ro(f.line,f.ch+p),o);p+=d.textContent.length}}function ce(e,t,n,r,i){function o(e){return function(t){return t.id==e}}function a(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(null!=n)return""==n&&(n=t.textContent.replace(/\u200b/g,"")),void(s+=n);var c,f=t.getAttribute("cm-marker");if(f){var d=e.findMarks(Ro(r,0),Ro(i+1,0),o(+f));return void(d.length&&(c=d[0].find())&&(s+=Yr(e.doc,c.from,c.to).join(u)))}if("false"==t.getAttribute("contenteditable"))return;for(var p=0;p=0){var a=Y(o.from(),i.from()),s=K(o.to(),i.to()),l=o.empty()?i.from()==i.head:o.from()==o.head;t>=r&&--t,e.splice(--r,2,new de(l?s:a,l?a:s))}}return new fe(e,t)}function he(e,t){return new fe([new de(e,t||e)],0)}function ge(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function ve(e,t){if(t.linen?Ro(n,Kr(e,n).text.length):me(t,Kr(e,t.line).text.length)}function me(e,t){var n=e.ch;return null==n||n>t?Ro(e.line,t):0>n?Ro(e.line,0):e}function ye(e,t){return t>=e.first&&t=o.ch:u.to>o.ch))){if(r&&(Ea(c,"beforeCursorEnter"),c.explicitlyCleared)){if(s.markedSpans){--l;continue}break}if(!c.atomic)continue;var f=c.find(0>a?-1:1);if(0==Do(f,o)&&(f.ch+=a,f.ch<0?f=f.line>e.first?ve(e,Ro(f.line-1)):null:f.ch>s.text.length&&(f=f.linet&&(t=0),t=Math.round(t),r=Math.round(r),s.appendChild(Ii("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px; top: "+t+"px; width: "+(null==n?c-e:n)+"px; height: "+(r-t)+"px"))}function i(t,n,i){function o(n,r){return ft(e,Ro(t,n),"div",f,r)}var s,l,f=Kr(a,t),d=f.text.length;return Xi(ti(f),n||0,null==i?d:i,function(e,t,a){var f,p,h,g=o(e,"left");if(e==t)f=g,p=h=g.left;else{if(f=o(t-1,"right"),"rtl"==a){var v=g;g=f,f=v}p=g.left,h=f.right}null==n&&0==e&&(p=u),f.top-g.top>3&&(r(p,g.top,null,g.bottom),p=u,g.bottoml.bottom||f.bottom==l.bottom&&f.right>l.right)&&(l=f),u+1>p&&(p=u),r(p,f.top,h-p,f.bottom)}),{start:s,end:l}}var o=e.display,a=e.doc,s=document.createDocumentFragment(),l=ze(e.display),u=l.left,c=Math.max(o.sizerWidth,qe(e)-o.sizer.offsetLeft)-l.right,f=t.from(),d=t.to();if(f.line==d.line)i(f.line,f.ch,d.ch);else{var p=Kr(a,f.line),h=Kr(a,d.line),g=gr(p)==gr(h),v=i(f.line,f.ch,g?p.text.length+1:null).end,m=i(d.line,g?0:null,d.ch).start;g&&(v.top0?t.blinker=setInterval(function(){t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function je(e,t){e.doc.mode.startState&&e.doc.frontier=e.display.viewTo)){var n=+new Date+e.options.workTime,r=na(t.mode,He(e,t.frontier)),i=[];t.iter(t.frontier,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(t.frontier>=e.display.viewFrom){var a=o.styles,s=Mr(e,o,r,!0);o.styles=s.styles;var l=o.styleClasses,u=s.classes;u?o.styleClasses=u:l&&(o.styleClasses=null);for(var c=!a||a.length!=o.styles.length||l!=u&&(!l||!u||l.bgClass!=u.bgClass||l.textClass!=u.textClass),f=0;!c&&fn?(je(e,e.options.workDelay),!0):void 0}),i.length&&Ot(e,function(){for(var t=0;ta;--s){if(s<=o.first)return o.first;var l=Kr(o,s-1);if(l.stateAfter&&(!n||s<=o.frontier))return s;var u=Da(l.text,null,e.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}function He(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return!0;var o=Ve(e,t,n),a=o>r.first&&Kr(r,o-1).stateAfter;return a=a?na(r.mode,a):ra(r.mode),r.iter(o,t,function(n){Dr(e,n.text,a);var s=o==t-1||o%5==0||o>=i.viewFrom&&o2&&o.push((l.bottom+u.top)/2-n.top)}}o.push(n.bottom-n.top)}}function Ye(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;rn)return{map:e.measure.maps[r],cache:e.measure.caches[r],before:!0}}function Qe(e,t){t=gr(t);var n=Jr(t),r=e.display.externalMeasured=new Rt(e.doc,t,n);r.lineN=n;var i=r.built=Fr(e,r);return r.text=i.pre,Hi(e.display.lineMeasure,i.pre),r}function Xe(e,t,n,r){return et(e,Ze(e,t),n,r)}function Je(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&tt?(i=0,o=1,a="left"):u>t?(i=t-l,o=i+1):(s==e.length-3||t==u&&e[s+3]>t)&&(o=u-l,i=o-1,t>=u&&(a="right")),null!=i){if(r=e[s+2],l==u&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;s&&e[s-2]==e[s-3]&&e[s-1].insertLeft;)r=e[(s-=3)+2],a="left";if("right"==n&&i==u-l)for(;sc;c++){for(;s&&ji(t.line.text.charAt(o.coverStart+s));)--s;for(;o.coverStart+lgo&&0==s&&l==o.coverEnd-o.coverStart)i=a.parentNode.getBoundingClientRect();else if(ho&&e.options.lineWrapping){var f=La(a,s,l).getClientRects();i=f.length?f["right"==r?f.length-1:0]:jo}else i=La(a,s,l).getBoundingClientRect()||jo;if(i.left||i.right||0==s)break;l=s,s-=1,u="right"}ho&&11>go&&(i=rt(e.display.measure,i))}else{s>0&&(u=r="right");var f;i=e.options.lineWrapping&&(f=a.getClientRects()).length>1?f["right"==r?f.length-1:0]:a.getBoundingClientRect()}if(ho&&9>go&&!s&&(!i||!i.left&&!i.right)){var d=a.parentNode.getClientRects()[0];i=d?{left:d.left,right:d.left+yt(e.display),top:d.top,bottom:d.bottom}:jo}for(var p=i.top-t.rect.top,h=i.bottom-t.rect.top,g=(p+h)/2,v=t.view.measure.heights,c=0;cn.from?a(e-1):a(e,r)}r=r||Kr(e.doc,t.line),i||(i=Ze(e,r));var l=ti(r),u=t.ch;if(!l)return a(u);var c=ao(l,u),f=s(u,c);return null!=Ja&&(f.other=s(u,Ja)),f}function pt(e,t){var n=0,t=ve(e.doc,t);e.options.lineWrapping||(n=yt(e.display)*t.ch);var r=Kr(e.doc,t.line),i=ei(r)+We(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function ht(e,t,n,r){var i=Ro(e,t);return i.xRel=r,n&&(i.outside=!0),i}function gt(e,t,n){var r=e.doc;if(n+=e.display.viewOffset,0>n)return ht(r.first,0,!0,-1);var i=Zr(r,n),o=r.first+r.size-1;if(i>o)return ht(r.first+r.size-1,Kr(r,o).text.length,!0,1);0>t&&(t=0);for(var a=Kr(r,i);;){var s=vt(e,a,i,t,n),l=pr(a),u=l&&l.find(0,!0);if(!l||!(s.ch>u.from.ch||s.ch==u.from.ch&&s.xRel>0))return s;i=Jr(a=u.to.line)}}function vt(e,t,n,r,i){function o(r){var i=dt(e,Ro(n,r),"line",t,u);return s=!0,a>i.bottom?i.left-l:av)return ht(n,p,m,1);for(;;){if(c?p==d||p==lo(t,d,1):1>=p-d){for(var y=h>r||v-r>=r-h?d:p,b=r-(y==d?h:v);ji(t.text.charAt(y));)++y;var w=ht(n,y,y==d?g:m,-1>b?-1:b>1?1:0);return w}var $=Math.ceil(f/2),x=d+$;if(c){x=d;for(var _=0;$>_;++_)x=lo(t,x,1)}var C=o(x);C>r?(p=x,v=C,(m=s)&&(v+=1e3),f=$):(d=x,h=C,g=s,f-=$)}}function mt(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Fo){Fo=Ii("pre");for(var t=0;49>t;++t)Fo.appendChild(document.createTextNode("x")),Fo.appendChild(Ii("br"));Fo.appendChild(document.createTextNode("x"))}Hi(e.measure,Fo);var n=Fo.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),Vi(e.measure),n||1}function yt(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=Ii("span","xxxxxxxxxx"),n=Ii("pre",[t]);Hi(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function bt(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Vo},Io?Io.ops.push(e.curOp):e.curOp.ownsGroup=Io={ops:[e.curOp],delayedCallbacks:[]}}function wt(e){var t=e.delayedCallbacks,n=0;do{for(;n=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new k(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Ct(e){e.updatedDisplay=e.mustUpdate&&S(e.cm,e.update)}function kt(e){var t=e.cm,n=t.display;e.updatedDisplay&&M(t),e.barMeasure=h(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Xe(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Be(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-qe(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Et(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLefto;o=r){var a=new Rt(e.doc,Kr(e.doc,o),o);r=o+a.size,i.push(a)}return i}function Pt(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&nt)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Mo&&mr(e.doc,t)i.viewFrom?Lt(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)Lt(e);else if(t<=i.viewFrom){var o=jt(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):Lt(e)}else if(n>=i.viewTo){var o=jt(e,t,t,-1);o?(i.view=i.view.slice(0,o.index),i.viewTo=o.lineN):Lt(e)}else{var a=jt(e,t,t,-1),s=jt(e,n,n+r,1);a&&s?(i.view=i.view.slice(0,a.index).concat(Dt(e,a.lineN,s.lineN)).concat(i.view.slice(s.index)),i.viewTo+=r):Lt(e)}var l=i.externalMeasured;l&&(n=i.lineN&&t=r.viewTo)){var o=r.view[Nt(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==Ai(a,n)&&a.push(n)}}}function Lt(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Nt(e,t){if(t>=e.display.viewTo)return null;if(t-=e.display.viewFrom,0>t)return null;for(var n=e.display.view,r=0;rt)return r}function jt(e,t,n,r){var i,o=Nt(e,t),a=e.display.view;if(!Mo||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=0,l=e.display.viewFrom;o>s;s++)l+=a[s].size;if(l!=t){if(r>0){if(o==a.length-1)return null;i=l+a[o].size-t,o++}else i=l-t;t+=i,n+=i}for(;mr(e.doc,n)!=n;){if(o==(0>r?0:a.length-1))return null;n+=r*a[o-(0>r?1:0)].size,o+=r}return{index:o,lineN:n}}function It(e,t,n){var r=e.display,i=r.view;0==i.length||t>=r.viewTo||n<=r.viewFrom?(r.view=Dt(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=Dt(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,Nt(e,n)))),r.viewTo=n}function Vt(e){for(var t=e.display.view,n=0,r=0;r400}var i=e.display;Ca(i.scroller,"mousedown",Tt(e,qt)),ho&&11>go?Ca(i.scroller,"dblclick",Tt(e,function(t){if(!xi(e,t)){var n=Bt(e,t);if(n&&!Xt(e,t)&&!zt(e.display,t)){$a(t);var r=e.findWordAt(n);$e(e.doc,r.anchor,r.head)}}})):Ca(i.scroller,"dblclick",function(t){xi(e,t)||$a(t)}),To||Ca(i.scroller,"contextmenu",function(t){vn(e,t)});var o,a={end:0};Ca(i.scroller,"touchstart",function(e){if(!n(e)){clearTimeout(o);var t=+new Date;i.activeTouch={start:t,moved:!1,prev:t-a.end<=300?a:null},1==e.touches.length&&(i.activeTouch.left=e.touches[0].pageX,i.activeTouch.top=e.touches[0].pageY)}}),Ca(i.scroller,"touchmove",function(){i.activeTouch&&(i.activeTouch.moved=!0)}),Ca(i.scroller,"touchend",function(n){var o=i.activeTouch;if(o&&!zt(i,n)&&null!=o.left&&!o.moved&&new Date-o.start<300){var a,s=e.coordsChar(i.activeTouch,"page");a=!o.prev||r(o,o.prev)?new de(s,s):!o.prev.prev||r(o,o.prev.prev)?e.findWordAt(s):new de(Ro(s.line,0),ve(e.doc,Ro(s.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),$a(n)}t()}),Ca(i.scroller,"touchcancel",t),Ca(i.scroller,"scroll",function(){i.scroller.clientHeight&&(en(e,i.scroller.scrollTop),tn(e,i.scroller.scrollLeft,!0),Ea(e,"scroll",e))}),Ca(i.scroller,"mousewheel",function(t){nn(e,t)}),Ca(i.scroller,"DOMMouseScroll",function(t){nn(e,t)}),Ca(i.wrapper,"scroll",function(){i.wrapper.scrollTop=i.wrapper.scrollLeft=0}),i.dragFunctions={simple:function(t){xi(e,t)||_a(t)},start:function(t){Zt(e,t)},drop:Tt(e,Jt)};var s=i.input.getField();Ca(s,"keyup",function(t){fn.call(e,t)}),Ca(s,"keydown",Tt(e,un)),Ca(s,"keypress",Tt(e,dn)),Ca(s,"focus",Fi(hn,e)),Ca(s,"blur",Fi(gn,e))}function Wt(t,n,r){var i=r&&r!=e.Init;if(!n!=!i){var o=t.display.dragFunctions,a=n?Ca:ka;a(t.display.scroller,"dragstart",o.start),a(t.display.scroller,"dragenter",o.simple),a(t.display.scroller,"dragover",o.simple),a(t.display.scroller,"drop",o.drop)}}function Ut(e){var t=e.display;(t.lastWrapHeight!=t.wrapper.clientHeight||t.lastWrapWidth!=t.wrapper.clientWidth)&&(t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize())}function zt(e,t){for(var n=yi(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return!0}function Bt(e,t,n,r){var i=e.display;if(!n&&"true"==yi(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(t){return null}var l,u=gt(e,o,a);if(r&&1==u.xRel&&(l=Kr(e.doc,u.line).text).length==u.ch){var c=Da(l,l.length,e.options.tabSize)-l.length;u=Ro(u.line,Math.max(0,Math.round((o-ze(e.display).left)/yt(e.display))-c))}return u}function qt(e){var t=this,n=t.display;if(!(n.activeTouch&&n.input.supportsTouch()||xi(t,e))){if(n.shift=e.shiftKey,zt(n,e))return void(vo||(n.scroller.draggable=!1,setTimeout(function(){n.scroller.draggable=!0},100)));if(!Xt(t,e)){var r=Bt(t,e);switch(window.focus(),bi(e)){case 1:r?Gt(t,e,r):yi(e)==n.scroller&&$a(e);break;case 2:vo&&(t.state.lastMiddleDown=+new Date),r&&$e(t.doc,r),setTimeout(function(){n.input.focus()},20),$a(e);break;case 3:To?vn(t,e):pn(t)}}}}function Gt(e,t,n){ho?setTimeout(Fi(Q,e),0):e.curOp.focus=Wi();var r,i=+new Date;No&&No.time>i-400&&0==Do(No.pos,n)?r="triple":Lo&&Lo.time>i-400&&0==Do(Lo.pos,n)?(r="double",No={time:i,pos:n}):(r="single",Lo={time:i,pos:n});var o,a=e.doc.sel,s=ko?t.metaKey:t.ctrlKey;e.options.dragDrop&&qa&&!X(e)&&"single"==r&&(o=a.contains(n))>-1&&(Do((o=a.ranges[o]).from(),n)<0||n.xRel>0)&&(Do(o.to(),n)>0||n.xRel<0)?Kt(e,t,n,s):Yt(e,t,n,r,s)}function Kt(e,t,n,r){var i=e.display,o=+new Date,a=Tt(e,function(s){vo&&(i.scroller.draggable=!1),e.state.draggingText=!1,ka(document,"mouseup",a),ka(i.scroller,"drop",a),Math.abs(t.clientX-s.clientX)+Math.abs(t.clientY-s.clientY)<10&&($a(s),!r&&+new Date-200=h;h++){var m=Kr(u,h).text,y=Si(m,l,o);l==p?i.push(new de(Ro(h,y),Ro(h,y))):m.length>y&&i.push(new de(Ro(h,y),Ro(h,Si(m,p,o))))}i.length||i.push(new de(n,n)),Se(u,pe(d.ranges.slice(0,f).concat(i),f),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b=c,w=b.anchor,$=t;if("single"!=r){if("double"==r)var x=e.findWordAt(t);else var x=new de(Ro(t.line,0),ve(u,Ro(t.line+1,0)));Do(x.anchor,w)>0?($=x.head,w=Y(b.from(),x.anchor)):($=x.anchor,w=K(b.to(),x.head))}var i=d.ranges.slice(0);i[f]=new de(ve(u,w),$),Se(u,pe(i,f),Ma)}}function a(t){var n=++y,i=Bt(e,t,!0,"rect"==r);if(i)if(0!=Do(i,v)){e.curOp.focus=Wi(),o(i);var s=w(l,u);(i.line>=s.to||i.linem.bottom?20:0;c&&setTimeout(Tt(e,function(){y==n&&(l.scroller.scrollTop+=c,a(t))}),50)}}function s(e){y=1/0,$a(e),l.input.focus(),ka(document,"mousemove",b),ka(document,"mouseup",$),u.history.lastSelOrigin=null}var l=e.display,u=e.doc;$a(t);var c,f,d=u.sel,p=d.ranges;if(i&&!t.shiftKey?(f=u.sel.contains(n),c=f>-1?p[f]:new de(n,n)):(c=u.sel.primary(),f=u.sel.primIndex),t.altKey)r="rect",i||(c=new de(n,n)),n=Bt(e,t,!0,!0),f=-1;else if("double"==r){var h=e.findWordAt(n);c=e.display.shift||u.extend?we(u,c,h.anchor,h.head):h}else if("triple"==r){var g=new de(Ro(n.line,0),ve(u,Ro(n.line+1,0)));c=e.display.shift||u.extend?we(u,c,g.anchor,g.head):g}else c=we(u,c,n);i?-1==f?(f=p.length,Se(u,pe(p.concat([c]),f),{scroll:!1,origin:"*mouse"})):p.length>1&&p[f].empty()&&"single"==r&&!t.shiftKey?(Se(u,pe(p.slice(0,f).concat(p.slice(f+1)),0)),d=u.sel):_e(u,f,c,Ma):(f=0,Se(u,new fe([c],0),Ma),d=u.sel);var v=n,m=l.wrapper.getBoundingClientRect(),y=0,b=Tt(e,function(e){bi(e)?a(e):s(e)}),$=Tt(e,s);Ca(document,"mousemove",b),Ca(document,"mouseup",$)}function Qt(e,t,n,r,i){try{var o=t.clientX,a=t.clientY}catch(t){return!1}if(o>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&$a(t);var s=e.display,l=s.lineDiv.getBoundingClientRect();if(a>l.bottom||!Ci(e,n))return mi(t);a-=l.top-s.viewOffset;for(var u=0;u=o){var f=Zr(e.doc,a),d=e.options.gutters[u];return i(e,n,e,f,d,t),mi(t)}}}function Xt(e,t){return Qt(e,t,"gutterClick",!0,wi)}function Jt(e){var t=this;if(!xi(t,e)&&!zt(t.display,e)){$a(e),ho&&(Ho=+new Date);var n=Bt(t,e,!0),r=e.dataTransfer.files;if(n&&!X(t))if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),a=0,s=function(e,r){var s=new FileReader;s.onload=Tt(t,function(){if(o[r]=s.result,++a==i){n=ve(t.doc,n);var e={from:n,to:n,text:t.doc.splitLines(o.join(t.doc.lineSeparator())),origin:"paste"};_n(t.doc,e),Ee(t.doc,he(n,Go(e)))}}),s.readAsText(e)},l=0;i>l;++l)s(r[l],l);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout(function(){t.display.input.focus()},20);try{var o=e.dataTransfer.getData("Text");if(o){if(t.state.draggingText&&!(ko?e.altKey:e.ctrlKey))var u=t.listSelections();if(Oe(t.doc,he(n,n)),u)for(var l=0;la.clientWidth||i&&a.scrollHeight>a.clientHeight){if(i&&ko&&vo)e:for(var s=t.target,l=o.view;s!=a;s=s.parentNode)for(var u=0;uc?f=Math.max(0,f+c-50):d=Math.min(e.doc.height,d+c+50),T(e,{top:f,bottom:d})}20>Wo&&(null==o.wheelStartX?(o.wheelStartX=a.scrollLeft,o.wheelStartY=a.scrollTop,o.wheelDX=r,o.wheelDY=i,setTimeout(function(){if(null!=o.wheelStartX){var e=a.scrollLeft-o.wheelStartX,t=a.scrollTop-o.wheelStartY,n=t&&o.wheelDY&&t/o.wheelDY||e&&o.wheelDX&&e/o.wheelDX;o.wheelStartX=o.wheelStartY=null,n&&(Uo=(Uo*Wo+n)/(Wo+1),++Wo)}},200)):(o.wheelDX+=r,o.wheelDY+=i))}}function rn(e,t,n){if("string"==typeof t&&(t=ia[t],!t))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{X(e)&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=Ta}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}function on(e,t,n){for(var r=0;rgo&&27==e.keyCode&&(e.returnValue=!1);var n=e.keyCode;t.display.shift=16==n||e.shiftKey;var r=sn(t,e);bo&&(qo=r?n:null,!r&&88==n&&!Ya&&(ko?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),18!=n||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||cn(t)}}function cn(e){function t(e){18!=e.keyCode&&e.altKey||(Ua(n,"CodeMirror-crosshair"),ka(document,"keyup",t),ka(document,"mouseover",t))}var n=e.display.lineDiv;za(n,"CodeMirror-crosshair"),Ca(document,"keyup",t),Ca(document,"mouseover",t)}function fn(e){16==e.keyCode&&(this.doc.sel.shift=!1),xi(this,e)}function dn(e){var t=this;if(!(zt(t.display,e)||xi(t,e)||e.ctrlKey&&!e.altKey||ko&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(bo&&n==qo)return qo=null,void $a(e);if(!bo||e.which&&!(e.which<10)||!sn(t,e)){var i=String.fromCharCode(null==r?n:r);ln(t,e,i)||t.display.input.onKeyPress(e)}}}function pn(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,gn(e))},100)}function hn(e){ -e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(Ea(e,"focus",e),e.state.focused=!0,za(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),vo&&setTimeout(function(){e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Ne(e))}function gn(e){e.state.delayingBlurEvent||(e.state.focused&&(Ea(e,"blur",e),e.state.focused=!1,Ua(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function vn(e,t){zt(e.display,t)||mn(e,t)||e.display.input.onContextMenu(t)}function mn(e,t){return Ci(e,"gutterContextMenu")?Qt(e,t,"gutterContextMenu",!1,Ea):!1}function yn(e,t){if(Do(e,t.from)<0)return e;if(Do(e,t.to)<=0)return Go(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=Go(t).ch-t.to.ch),Ro(n,r)}function bn(e,t){for(var n=[],r=0;r=0;--i)Cn(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text});else Cn(e,t)}}function Cn(e,t){if(1!=t.text.length||""!=t.text[0]||0!=Do(t.from,t.to)){var n=bn(e,t);ai(e,t,n,e.cm?e.cm.curOp.id:NaN),Sn(e,t,n,nr(e,t));var r=[];qr(e,function(e,n){n||-1!=Ai(r,e.history)||(vi(e.history,t),r.push(e.history)),Sn(e,t,null,nr(e,t))})}}function kn(e,t,n){if(!e.cm||!e.cm.state.suppressEdits){for(var r,i=e.history,o=e.sel,a="undo"==t?i.done:i.undone,s="undo"==t?i.undone:i.done,l=0;l=0;--l){var f=r.changes[l];if(f.origin=t,c&&!xn(e,f,!1))return void(a.length=0);u.push(ri(e,f));var d=l?bn(e,f):Ti(a);Sn(e,f,d,ir(e,f)),!l&&e.cm&&e.cm.scrollIntoView({from:f.from,to:Go(f)});var p=[];qr(e,function(e,t){t||-1!=Ai(p,e.history)||(vi(e.history,f),p.push(e.history)),Sn(e,f,null,ir(e,f))})}}}}function En(e,t){if(0!=t&&(e.first+=t,e.sel=new fe(Mi(e.sel.ranges,function(e){return new de(Ro(e.anchor.line+t,e.anchor.ch),Ro(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){Pt(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:Ro(o,Kr(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Yr(e,t.from,t.to),n||(n=bn(e,t)),e.cm?On(e.cm,t,r):Ur(e,t,r),Oe(e,n,Aa)}}function On(e,t,n){var r=e.doc,i=e.display,a=t.from,s=t.to,l=!1,u=a.line;e.options.lineWrapping||(u=Jr(gr(Kr(r,a.line))),r.iter(u,s.line+1,function(e){return e==i.maxLine?(l=!0,!0):void 0})),r.sel.contains(t.from,t.to)>-1&&_i(e),Ur(r,t,n,o(e)),e.options.lineWrapping||(r.iter(u,a.line+t.text.length,function(e){var t=f(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,l=!1)}),l&&(e.curOp.updateMaxLine=!0)),r.frontier=Math.min(r.frontier,a.line),je(e,400);var c=t.text.length-(s.line-a.line)-1;t.full?Pt(e):a.line!=s.line||1!=t.text.length||Wr(e.doc,t)?Pt(e,a.line,s.line+1,c):Ft(e,a.line,"text");var d=Ci(e,"changes"),p=Ci(e,"change");if(p||d){var h={from:a,to:s,text:t.text,removed:t.removed,origin:t.origin};p&&wi(e,"change",e,h),d&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(h)}e.display.selForContextMenu=null}function Tn(e,t,n,r,i){if(r||(r=n),Do(r,n)<0){var o=r;r=n,n=o}"string"==typeof t&&(t=e.splitLines(t)),_n(e,{from:n,to:r,text:t,origin:i})}function An(e,t){if(!xi(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!xo){var o=Ii("div","​",null,"position: absolute; top: "+(t.top-n.viewOffset-We(e.display))+"px; height: "+(t.bottom-t.top+Be(e)+n.barHeight)+"px; left: "+t.left+"px; width: 2px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}function Mn(e,t,n,r){null==r&&(r=0);for(var i=0;5>i;i++){var o=!1,a=dt(e,t),s=n&&n!=t?dt(e,n):a,l=Dn(e,Math.min(a.left,s.left),Math.min(a.top,s.top)-r,Math.max(a.left,s.left),Math.max(a.bottom,s.bottom)+r),u=e.doc.scrollTop,c=e.doc.scrollLeft;if(null!=l.scrollTop&&(en(e,l.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(o=!0)),null!=l.scrollLeft&&(tn(e,l.scrollLeft),Math.abs(e.doc.scrollLeft-c)>1&&(o=!0)),!o)break}return a}function Rn(e,t,n,r,i){var o=Dn(e,t,n,r,i);null!=o.scrollTop&&en(e,o.scrollTop),null!=o.scrollLeft&&tn(e,o.scrollLeft)}function Dn(e,t,n,r,i){var o=e.display,a=mt(e.display);0>n&&(n=0);var s=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:o.scroller.scrollTop,l=Ge(e),u={};i-n>l&&(i=n+l);var c=e.doc.height+Ue(o),f=a>n,d=i>c-a;if(s>n)u.scrollTop=f?0:n;else if(i>s+l){var p=Math.min(n,(d?c:i)-l);p!=s&&(u.scrollTop=p)}var h=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:o.scroller.scrollLeft,g=qe(e)-(e.options.fixedGutter?o.gutters.offsetWidth:0),v=r-t>g;return v&&(r=t+g),10>t?u.scrollLeft=0:h>t?u.scrollLeft=Math.max(0,t-(v?0:10)):r>g+h-3&&(u.scrollLeft=r+(v?0:10)-g),u}function Pn(e,t,n){(null!=t||null!=n)&&Ln(e),null!=t&&(e.curOp.scrollLeft=(null==e.curOp.scrollLeft?e.doc.scrollLeft:e.curOp.scrollLeft)+t),null!=n&&(e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+n)}function Fn(e){Ln(e);var t=e.getCursor(),n=t,r=t;e.options.lineWrapping||(n=t.ch?Ro(t.line,t.ch-1):t,r=Ro(t.line,t.ch+1)),e.curOp.scrollToPos={from:n,to:r,margin:e.options.cursorScrollMargin,isCursor:!0}}function Ln(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=pt(e,t.from),r=pt(e,t.to),i=Dn(e,Math.min(n.left,r.left),Math.min(n.top,r.top)-t.margin,Math.max(n.right,r.right),Math.max(n.bottom,r.bottom)+t.margin);e.scrollTo(i.scrollLeft,i.scrollTop)}}function Nn(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=He(e,t):n="prev");var a=e.options.tabSize,s=Kr(o,t),l=Da(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var u,c=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&(u=o.mode.indent(i,s.text.slice(c.length),s.text),u==Ta||u>150)){if(!r)return;n="prev"}}else u=0,n="not";"prev"==n?u=t>o.first?Da(Kr(o,t-1).text,null,a):0:"add"==n?u=l+e.options.indentUnit:"subtract"==n?u=l-e.options.indentUnit:"number"==typeof n&&(u=l+n),u=Math.max(0,u);var f="",d=0;if(e.options.indentWithTabs)for(var p=Math.floor(u/a);p;--p)d+=a,f+=" ";if(u>d&&(f+=Oi(u-d)),f!=c)return Tn(o,f,Ro(t,0),Ro(t,c.length),"+input"),s.stateAfter=null,!0;for(var p=0;p=0;t--)Tn(e.doc,"",r[t].from,r[t].to,"+delete");Fn(e)})}function Vn(e,t,n,r,i){function o(){var t=s+n;return t=e.first+e.size?f=!1:(s=t,c=Kr(e,t))}function a(e){var t=(i?lo:uo)(c,l,n,!0);if(null==t){if(e||!o())return f=!1;l=i?(0>n?to:eo)(c):0>n?c.text.length:0}else l=t;return!0}var s=t.line,l=t.ch,u=n,c=Kr(e,s),f=!0;if("char"==r)a();else if("column"==r)a(!0);else if("word"==r||"group"==r)for(var d=null,p="group"==r,h=e.cm&&e.cm.getHelper(t,"wordChars"),g=!0;!(0>n)||a(!g);g=!1){var v=c.text.charAt(l)||"\n",m=Li(v,h)?"w":p&&"\n"==v?"n":!p||/\s/.test(v)?null:"p";if(!p||g||m||(m="s"),d&&d!=m){0>n&&(n=1,a());break}if(m&&(d=m),n>0&&!a(!g))break}var y=Re(e,Ro(s,l),u,!0);return f||(y.hitSide=!0),y}function Hn(e,t,n,r){var i,o=e.doc,a=t.left;if("page"==r){var s=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight);i=t.top+n*(s-(0>n?1.5:.5)*mt(e.display))}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;;){var l=gt(e,a,i);if(!l.outside)break;if(0>n?0>=i:i>=o.height){l.hitSide=!0;break}i+=5*n}return l}function Wn(t,n,r,i){e.defaults[t]=n,r&&(Yo[t]=i?function(e,t,n){n!=Qo&&r(e,t,n)}:r)}function Un(e){for(var t,n,r,i,o=e.split(/-(?!$)/),e=o[o.length-1],a=0;a0||0==a&&o.clearWhenEmpty!==!1)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=Ii("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(hr(e,t.line,t,n,o)||t.line!=n.line&&hr(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Mo=!0}o.addToHistory&&ai(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,u=e.cm;if(e.iter(l,n.line+1,function(e){u&&o.collapsed&&!u.options.lineWrapping&&gr(e)==u.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&Xr(e,0),Zn(e,new Qn(o,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l}),o.collapsed&&e.iter(t.line,n.line+1,function(t){br(e,t)&&Xr(t,0)}),o.clearOnEnter&&Ca(o,"beforeCursorEnter",function(){o.clear()}),o.readOnly&&(Ao=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++ca,o.atomic=!0),u){if(s&&(u.curOp.updateMaxLine=!0),o.collapsed)Pt(u,t.line,n.line+1);else if(o.className||o.title||o.startStyle||o.endStyle||o.css)for(var c=t.line;c<=n.line;c++)Ft(u,c,"text");o.atomic&&Ae(u.doc),wi(u,"markerAdded",u,o)}return o}function qn(e,t,n,r,i){r=Pi(r),r.shared=!1;var o=[Bn(e,t,n,r,i)],a=o[0],s=r.widgetNode;return qr(e,function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(Bn(e,ve(e,t),ve(e,n),r,i));for(var l=0;l=t:o.to>t);(r||(r=[])).push(new Qn(a,o.from,l?null:o.to))}}return r}function tr(e,t,n){if(e)for(var r,i=0;i=t:o.to>t);if(s||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var l=null==o.from||(a.inclusiveLeft?o.from<=t:o.from0&&s)for(var f=0;ff;++f)h.push(g);h.push(l)}return h}function rr(e){for(var t=0;t0)){var c=[l,1],f=Do(u.from,s.from),d=Do(u.to,s.to);(0>f||!a.inclusiveLeft&&!f)&&c.push({from:u.from,to:s.from}),(d>0||!a.inclusiveRight&&!d)&&c.push({from:s.to,to:u.to}),i.splice.apply(i,c),l+=c.length-1}}return i}function ar(e){var t=e.markedSpans;if(t){for(var n=0;n=0&&0>=f||0>=c&&f>=0)&&(0>=c&&(Do(u.to,n)>0||l.marker.inclusiveRight&&i.inclusiveLeft)||c>=0&&(Do(u.from,r)<0||l.marker.inclusiveLeft&&i.inclusiveRight)))return!0}}}function gr(e){for(var t;t=dr(e);)e=t.find(-1,!0).line;return e}function vr(e){for(var t,n;t=pr(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function mr(e,t){var n=Kr(e,t),r=gr(n);return n==r?t:Jr(r)}function yr(e,t){if(t>e.lastLine())return t;var n,r=Kr(e,t);if(!br(e,r))return t;for(;n=pr(r);)r=n.find(1,!0).line;return Jr(r)+1}function br(e,t){var n=Mo&&t.markedSpans;if(n)for(var r,i=0;io;o++){i&&(i[0]=e.innerMode(t,r).mode);var a=t.token(n,r);if(n.pos>n.start)return a}throw new Error("Mode "+t.name+" failed to advance stream.")}function Tr(e,t,n,r){function i(e){return{start:f.start,end:f.pos,string:f.current(),type:o||null,state:e?na(a.mode,c):c}}var o,a=e.doc,s=a.mode;t=ve(a,t);var l,u=Kr(a,t.line),c=He(e,t.line,n),f=new ua(u.text,e.options.tabSize);for(r&&(l=[]);(r||f.pose.options.maxHighlightLength?(s=!1,a&&Dr(e,t,r,f.pos),f.pos=t.length,l=null):l=Er(Or(n,f,r,d),o),d){var p=d[0].name;p&&(l="m-"+(l?p+" "+l:p))}if(!s||c!=l){for(;uu;){var r=i[l];r>e&&i.splice(l,1,e,i[l+1],r),l+=2,u=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,"cm-overlay "+t),l=n+2;else for(;l>n;n+=2){var o=i[n+1];i[n+1]=(o?o+" ":"")+"cm-overlay "+t}},o)}return{styles:i,classes:o.bgClass||o.textClass?o:null}}function Rr(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=Mr(e,t,t.stateAfter=He(e,Jr(t)));t.styles=r.styles,r.classes?t.styleClasses=r.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.frontier&&e.doc.frontier++}return t.styles}function Dr(e,t,n,r){var i=e.doc.mode,o=new ua(t,e.options.tabSize);for(o.start=o.pos=r||0,""==t&&Sr(i,n);!o.eol()&&o.pos<=e.options.maxHighlightLength;)Or(i,o,n),o.start=o.pos}function Pr(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?va:ga;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function Fr(e,t){var n=Ii("span",null,null,vo?"padding-right: .1px":null),r={pre:Ii("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,splitSpaces:(ho||vo)&&e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o,a=i?t.rest[i-1]:t.line;r.pos=0,r.addToken=Nr,Yi(e.display.measure)&&(o=ti(a))&&(r.addToken=Ir(r.addToken,o)),r.map=[];var s=t!=e.display.externalMeasured&&Jr(a);Hr(a,r,Rr(e,a,s)),a.styleClasses&&(a.styleClasses.bgClass&&(r.bgClass=zi(a.styleClasses.bgClass,r.bgClass||"")),a.styleClasses.textClass&&(r.textClass=zi(a.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Ki(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}return vo&&/\bcm-tab\b/.test(r.content.lastChild.className)&&(r.content.className="cm-tab-wrap-hack"),Ea(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=zi(r.pre.className,r.textClass||"")),r}function Lr(e){var t=Ii("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Nr(e,t,n,r,i,o,a){if(t){var s=e.splitSpaces?t.replace(/ {3,}/g,jr):t,l=e.cm.state.specialChars,u=!1;if(l.test(t))for(var c=document.createDocumentFragment(),f=0;;){l.lastIndex=f;var d=l.exec(t),p=d?d.index-f:t.length-f;if(p){var h=document.createTextNode(s.slice(f,f+p));ho&&9>go?c.appendChild(Ii("span",[h])):c.appendChild(h),e.map.push(e.pos,e.pos+p,h),e.col+=p,e.pos+=p}if(!d)break;if(f+=p+1," "==d[0]){var g=e.cm.options.tabSize,v=g-e.col%g,h=c.appendChild(Ii("span",Oi(v),"cm-tab"));h.setAttribute("role","presentation"),h.setAttribute("cm-text"," "),e.col+=v}else if("\r"==d[0]||"\n"==d[0]){var h=c.appendChild(Ii("span","\r"==d[0]?"␍":"␤","cm-invalidchar"));h.setAttribute("cm-text",d[0]),e.col+=1}else{var h=e.cm.options.specialCharPlaceholder(d[0]);h.setAttribute("cm-text",d[0]),ho&&9>go?c.appendChild(Ii("span",[h])):c.appendChild(h),e.col+=1}e.map.push(e.pos,e.pos+1,h),e.pos++}else{e.col+=t.length;var c=document.createTextNode(s);e.map.push(e.pos,e.pos+t.length,c),ho&&9>go&&(u=!0),e.pos+=t.length}if(n||r||i||u||a){var m=n||"";r&&(m+=r),i&&(m+=i);var y=Ii("span",[c],m,a);return o&&(y.title=o),e.content.appendChild(y)}e.content.appendChild(c)}}function jr(e){for(var t=" ",n=0;nu&&d.from<=u)break}if(d.to>=c)return e(n,r,i,o,a,s,l);e(n,r.slice(0,d.to-u),i,o,null,s,l),o=null,r=r.slice(d.to-u),u=d.to}}}function Vr(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t}function Hr(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,u,c,f,d,p=i.length,h=0,g=1,v="",m=0;;){if(m==h){l=u=c=f=s="",d=null,m=1/0;for(var y=[],b=0;bh||$.collapsed&&w.to==h&&w.from==h)?(null!=w.to&&w.to!=h&&m>w.to&&(m=w.to,u=""),$.className&&(l+=" "+$.className),$.css&&(s=$.css),$.startStyle&&w.from==h&&(c+=" "+$.startStyle),$.endStyle&&w.to==m&&(u+=" "+$.endStyle),$.title&&!f&&(f=$.title),$.collapsed&&(!d||cr(d.marker,$)<0)&&(d=w)):w.from>h&&m>w.from&&(m=w.from)}if(d&&(d.from||0)==h){if(Vr(t,(null==d.to?p+1:d.to)-h,d.marker,null==d.from),null==d.to)return;d.to==h&&(d=!1)}if(!d&&y.length)for(var b=0;b=p)break;for(var x=Math.min(p,m);;){if(v){var _=h+v.length;if(!d){var C=_>x?v.slice(0,x-h):v;t.addToken(t,C,a?a+l:l,c,h+C.length==m?u:"",f,s)}if(_>=x){v=v.slice(x-h),h=x;break}h=_,c=""}v=i.slice(o,o=n[g++]),a=Pr(n[g++],t.cm.options)}}else for(var g=1;gn;++n)o.push(new ha(u[n],i(n),r));return o}var s=t.from,l=t.to,u=t.text,c=Kr(e,s.line),f=Kr(e,l.line),d=Ti(u),p=i(u.length-1),h=l.line-s.line;if(t.full)e.insert(0,a(0,u.length)),e.remove(u.length,e.size-u.length);else if(Wr(e,t)){var g=a(0,u.length-1);o(f,f.text,p),h&&e.remove(s.line,h),g.length&&e.insert(s.line,g)}else if(c==f)if(1==u.length)o(c,c.text.slice(0,s.ch)+d+c.text.slice(l.ch),p);else{var g=a(1,u.length-1);g.push(new ha(d+c.text.slice(l.ch),p,r)),o(c,c.text.slice(0,s.ch)+u[0],i(0)),e.insert(s.line+1,g)}else if(1==u.length)o(c,c.text.slice(0,s.ch)+u[0]+f.text.slice(l.ch),i(0)),e.remove(s.line+1,h);else{o(c,c.text.slice(0,s.ch)+u[0],i(0)),o(f,d+f.text.slice(l.ch),p);var g=a(1,u.length-1);h>1&&e.remove(s.line+1,h-1),e.insert(s.line+1,g)}wi(e,"change",e,t)}function zr(e){this.lines=e,this.parent=null;for(var t=0,n=0;tt||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(o>t){n=i;break}t-=o}return n.lines[t]}function Yr(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i}),r}function Qr(e,t,n){var r=[];return e.iter(t,n,function(e){r.push(e.text)}),r}function Xr(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function Jr(e){if(null==e.parent)return null;for(var t=e.parent,n=Ai(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function Zr(e,t){var n=e.first;e:do{for(var r=0;rt){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var r=0;rt)break;t-=s}return n+r}function ei(e){e=gr(e);for(var t=0,n=e.parent,r=0;r1&&!e.done[e.done.length-2].ranges?(e.done.pop(),Ti(e.done)):void 0}function ai(e,t,n,r){var i=e.history;i.undone.length=0;var o,a=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&e.cm&&i.lastModTime>a-e.cm.options.historyEventDelay||"*"==t.origin.charAt(0)))&&(o=oi(i,i.lastOp==r))){var s=Ti(o.changes);0==Do(t.from,t.to)&&0==Do(t.from,s.to)?s.to=Go(t):o.changes.push(ri(e,t))}else{var l=Ti(i.done);for(l&&l.ranges||ui(e.sel,i.done),o={changes:[ri(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=a,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,s||Ea(e,"historyAdded")}function si(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function li(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||si(e,o,Ti(i.done),t))?i.done[i.done.length-1]=t:ui(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&r.clearRedo!==!1&&ii(i.undone)}function ui(e,t){var n=Ti(t);n&&n.ranges&&n.equals(e)||t.push(e)}function ci(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o})}function fi(e){if(!e)return null;for(var t,n=0;n-1&&(Ti(s)[f]=c[f],delete c[f])}}}return i}function hi(e,t,n,r){n0}function ki(e){e.prototype.on=function(e,t){Ca(this,e,t); -},e.prototype.off=function(e,t){ka(this,e,t)}}function Ei(){this.id=null}function Si(e,t,n){for(var r=0,i=0;;){var o=e.indexOf(" ",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}}function Oi(e){for(;Pa.length<=e;)Pa.push(Ti(Pa)+" ");return Pa[e]}function Ti(e){return e[e.length-1]}function Ai(e,t){for(var n=0;n-1&&ja(e)?!0:t.test(e):ja(e)}function Ni(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}function ji(e){return e.charCodeAt(0)>=768&&Ia.test(e)}function Ii(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o0;--t)e.removeChild(e.firstChild);return e}function Hi(e,t){return Vi(e).appendChild(t)}function Wi(){for(var e=document.activeElement;e&&e.root&&e.root.activeElement;)e=e.root.activeElement;return e}function Ui(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}function zi(e,t){for(var n=e.split(" "),r=0;r2&&!(ho&&8>go))}var n=Ha?Ii("span","​"):Ii("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Yi(e){if(null!=Wa)return Wa;var t=Hi(e,document.createTextNode("AخA")),n=La(t,0,1).getBoundingClientRect();if(!n||n.left==n.right)return!1;var r=La(t,1,2).getBoundingClientRect();return Wa=r.right-n.right<3}function Qi(e){if(null!=Qa)return Qa;var t=Hi(e,Ii("span","x")),n=t.getBoundingClientRect(),r=La(t,0,1).getBoundingClientRect();return Qa=Math.abs(n.left-r.left)>1}function Xi(e,t,n,r){if(!e)return r(t,n,"ltr");for(var i=!1,o=0;ot||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr"),i=!0)}i||r(t,n,"ltr")}function Ji(e){return e.level%2?e.to:e.from}function Zi(e){return e.level%2?e.from:e.to}function eo(e){var t=ti(e);return t?Ji(t[0]):0}function to(e){var t=ti(e);return t?Zi(Ti(t)):e.text.length}function no(e,t){var n=Kr(e.doc,t),r=gr(n);r!=n&&(t=Jr(r));var i=ti(r),o=i?i[0].level%2?to(r):eo(r):0;return Ro(t,o)}function ro(e,t){for(var n,r=Kr(e.doc,t);n=pr(r);)r=n.find(1,!0).line,t=null;var i=ti(r),o=i?i[0].level%2?eo(r):to(r):r.text.length;return Ro(null==t?Jr(r):t,o)}function io(e,t){var n=no(e,t.line),r=Kr(e.doc,n.line),i=ti(r);if(!i||0==i[0].level){var o=Math.max(0,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return Ro(n.line,a?0:o)}return n}function oo(e,t,n){var r=e[0].level;return t==r?!0:n==r?!1:n>t}function ao(e,t){Ja=null;for(var n,r=0;rt)return r;if(i.from==t||i.to==t){if(null!=n)return oo(e,i.level,e[n].level)?(i.from!=i.to&&(Ja=n),r):(i.from!=i.to&&(Ja=r),n);n=r}}return n}function so(e,t,n,r){if(!r)return t+n;do t+=n;while(t>0&&ji(e.text.charAt(t)));return t}function lo(e,t,n,r){var i=ti(e);if(!i)return uo(e,t,n,r);for(var o=ao(i,t),a=i[o],s=so(e,t,a.level%2?-n:n,r);;){if(s>a.from&&s0==a.level%2?a.to:a.from);if(a=i[o+=n],!a)return null;s=n>0==a.level%2?so(e,a.to,-1,r):so(e,a.from,1,r)}}function uo(e,t,n,r){var i=t+n;if(r)for(;i>0&&ji(e.text.charAt(i));)i+=n;return 0>i||i>e.text.length?null:i}var co=/gecko\/\d/i.test(navigator.userAgent),fo=/MSIE \d/.test(navigator.userAgent),po=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),ho=fo||po,go=ho&&(fo?document.documentMode||6:po[1]),vo=/WebKit\//.test(navigator.userAgent),mo=vo&&/Qt\/\d+\.\d+/.test(navigator.userAgent),yo=/Chrome\//.test(navigator.userAgent),bo=/Opera\//.test(navigator.userAgent),wo=/Apple Computer/.test(navigator.vendor),$o=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(navigator.userAgent),xo=/PhantomJS/.test(navigator.userAgent),_o=/AppleWebKit/.test(navigator.userAgent)&&/Mobile\/\w+/.test(navigator.userAgent),Co=_o||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(navigator.userAgent),ko=_o||/Mac/.test(navigator.platform),Eo=/win/i.test(navigator.platform),So=bo&&navigator.userAgent.match(/Version\/(\d*\.\d*)/);So&&(So=Number(So[1])),So&&So>=15&&(bo=!1,vo=!0);var Oo=ko&&(mo||bo&&(null==So||12.11>So)),To=co||ho&&go>=9,Ao=!1,Mo=!1;g.prototype=Pi({update:function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=e.scrollWidth-e.clientWidth+o+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedOverlay&&e.clientHeight>0&&(0==r&&this.overlayHack(),this.checkedOverlay=!0),{right:n?r:0,bottom:t?r:0}},setScrollLeft:function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e)},setScrollTop:function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e)},overlayHack:function(){var e=ko&&!$o?"12px":"18px";this.horiz.style.minHeight=this.vert.style.minWidth=e;var t=this,n=function(e){yi(e)!=t.vert&&yi(e)!=t.horiz&&Tt(t.cm,qt)(e)};Ca(this.vert,"mousedown",n),Ca(this.horiz,"mousedown",n)},clear:function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)}},g.prototype),v.prototype=Pi({update:function(){return{bottom:0,right:0}},setScrollLeft:function(){},setScrollTop:function(){},clear:function(){}},v.prototype),e.scrollbarModel={"native":g,"null":v},k.prototype.signal=function(e,t){Ci(e,t)&&this.events.push(arguments)},k.prototype.finish=function(){for(var e=0;e=9&&n.hasSelection&&(n.hasSelection=null),n.poll()}),Ca(o,"paste",function(e){return Z(e,r)?!0:(r.state.pasteIncoming=!0,void n.fastPoll())}),Ca(o,"cut",t),Ca(o,"copy",t),Ca(e.scroller,"paste",function(t){zt(e,t)||(r.state.pasteIncoming=!0,n.focus())}),Ca(e.lineSpace,"selectstart",function(t){zt(e,t)||$a(t)}),Ca(o,"compositionstart",function(){var e=r.getCursor("from");n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}}),Ca(o,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},prepareSelection:function(){var e=this.cm,t=e.display,n=e.doc,r=Pe(e);if(e.options.moveInputWithCursor){var i=dt(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},showSelection:function(e){var t=this.cm,n=t.display;Hi(n.cursorDiv,e.cursors),Hi(n.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},reset:function(e){if(!this.contextMenuPending){var t,n,r=this.cm,i=r.doc;if(r.somethingSelected()){this.prevInput="";var o=i.sel.primary();t=Ya&&(o.to().line-o.from().line>100||(n=r.getSelection()).length>1e3);var a=t?"-":n||r.getSelection();this.textarea.value=a,r.state.focused&&Fa(this.textarea),ho&&go>=9&&(this.hasSelection=a)}else e||(this.prevInput=this.textarea.value="",ho&&go>=9&&(this.hasSelection=null));this.inaccurateSelection=t}},getField:function(){return this.textarea},supportsTouch:function(){return!1},focus:function(){if("nocursor"!=this.cm.options.readOnly&&(!Co||Wi()!=this.textarea))try{this.textarea.focus()}catch(e){}},blur:function(){this.textarea.blur()},resetPosition:function(){this.wrapper.style.top=this.wrapper.style.left=0},receivedFocus:function(){this.slowPoll()},slowPoll:function(){var e=this;e.pollingFast||e.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},fastPoll:function(){function e(){var r=n.poll();r||t?(n.pollingFast=!1,n.slowPoll()):(t=!0,n.polling.set(60,e))}var t=!1,n=this;n.pollingFast=!0,n.polling.set(20,e)},poll:function(){var e=this.cm,t=this.textarea,n=this.prevInput;if(this.contextMenuPending||!e.state.focused||Ka(t)&&!n&&!this.composing||X(e)||e.options.disableInput||e.state.keySeq)return!1;var r=t.value;if(r==n&&!e.somethingSelected())return!1;if(ho&&go>=9&&this.hasSelection===r||ko&&/[\uf700-\uf7ff]/.test(r))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){var i=r.charCodeAt(0);if(8203!=i||n||(n="​"),8666==i)return this.reset(),this.cm.execCommand("undo")}for(var o=0,a=Math.min(n.length,r.length);a>o&&n.charCodeAt(o)==r.charCodeAt(o);)++o;var s=this;return Ot(e,function(){J(e,r.slice(o),n.length-o,null,s.composing?"*compose":null),r.length>1e3||r.indexOf("\n")>-1?t.value=s.prevInput="":s.prevInput=r,s.composing&&(s.composing.range.clear(),s.composing.range=e.markText(s.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ensurePolled:function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},onKeyPress:function(){ho&&go>=9&&(this.hasSelection=null),this.fastPoll()},onContextMenu:function(e){function t(){if(null!=a.selectionStart){var e=i.somethingSelected(),t="​"+(e?a.value:"");a.value="⇚",a.value=t,r.prevInput=e?"":"​",a.selectionStart=1,a.selectionEnd=t.length,o.selForContextMenu=i.doc.sel}}function n(){if(r.contextMenuPending=!1,r.wrapper.style.position="relative",a.style.cssText=c,ho&&9>go&&o.scrollbars.setScrollTop(o.scroller.scrollTop=l),null!=a.selectionStart){(!ho||ho&&9>go)&&t();var e=0,n=function(){o.selForContextMenu==i.doc.sel&&0==a.selectionStart&&a.selectionEnd>0&&"​"==r.prevInput?Tt(i,ia.selectAll)(i):e++<10?o.detectingSelectAll=setTimeout(n,500):o.input.reset()};o.detectingSelectAll=setTimeout(n,200)}}var r=this,i=r.cm,o=i.display,a=r.textarea,s=Bt(i,e),l=o.scroller.scrollTop;if(s&&!bo){var u=i.options.resetSelectionOnContextMenu;u&&-1==i.doc.sel.contains(s)&&Tt(i,Se)(i.doc,he(s),Aa);var c=a.style.cssText;if(r.wrapper.style.position="absolute",a.style.cssText="position: fixed; width: 30px; height: 30px; top: "+(e.clientY-5)+"px; left: "+(e.clientX-5)+"px; z-index: 1000; background: "+(ho?"rgba(255, 255, 255, .05)":"transparent")+"; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",vo)var f=window.scrollY;if(o.input.focus(),vo&&window.scrollTo(null,f),o.input.reset(),i.somethingSelected()||(a.value=r.prevInput=" "),r.contextMenuPending=!0,o.selForContextMenu=i.doc.sel,clearTimeout(o.detectingSelectAll),ho&&go>=9&&t(),To){_a(e);var d=function(){ka(window,"mouseup",d),setTimeout(n,20)};Ca(window,"mouseup",d)}else setTimeout(n,50)}},setUneditable:Ri,needsContentAttribute:!1},re.prototype),oe.prototype=Pi({init:function(e){function t(e){if(r.somethingSelected())Po=r.getSelections(),"cut"==e.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var t=te(r);Po=t.text,"cut"==e.type&&r.operation(function(){r.setSelections(t.ranges,0,Aa),r.replaceSelection("",null,"cut")})}if(e.clipboardData&&!_o)e.preventDefault(),e.clipboardData.clearData(),e.clipboardData.setData("text/plain",Po.join("\n"));else{var n=ie(),i=n.firstChild;r.display.lineSpace.insertBefore(n,r.display.lineSpace.firstChild),i.value=Po.join("\n");var o=document.activeElement;Fa(i),setTimeout(function(){r.display.lineSpace.removeChild(n),o.focus()},50)}}var n=this,r=n.cm,i=n.div=e.lineDiv;i.contentEditable="true",ne(i),Ca(i,"paste",function(e){Z(e,r)}),Ca(i,"compositionstart",function(e){var t=e.data;if(n.composing={sel:r.doc.sel,data:t,startData:t},t){var i=r.doc.sel.primary(),o=r.getLine(i.head.line),a=o.indexOf(t,Math.max(0,i.head.ch-t.length));a>-1&&a<=i.head.ch&&(n.composing.sel=he(Ro(i.head.line,a),Ro(i.head.line,a+t.length)))}}),Ca(i,"compositionupdate",function(e){n.composing.data=e.data}),Ca(i,"compositionend",function(e){var t=n.composing;t&&(e.data==t.startData||/\u200b/.test(e.data)||(t.data=e.data),setTimeout(function(){t.handled||n.applyComposition(t),n.composing==t&&(n.composing=null)},50))}),Ca(i,"touchstart",function(){n.forceCompositionEnd()}),Ca(i,"input",function(){n.composing||n.pollContent()||Ot(n.cm,function(){Pt(r)})}),Ca(i,"copy",t),Ca(i,"cut",t)},prepareSelection:function(){var e=Pe(this.cm,!1);return e.focus=this.cm.state.focused,e},showSelection:function(e){e&&this.cm.display.view.length&&(e.focus&&this.showPrimarySelection(),this.showMultipleSelections(e))},showPrimarySelection:function(){var e=window.getSelection(),t=this.cm.doc.sel.primary(),n=le(this.cm,e.anchorNode,e.anchorOffset),r=le(this.cm,e.focusNode,e.focusOffset);if(!n||n.bad||!r||r.bad||0!=Do(Y(n,r),t.from())||0!=Do(K(n,r),t.to())){var i=ae(this.cm,t.from()),o=ae(this.cm,t.to());if(i||o){var a=this.cm.display.view,s=e.rangeCount&&e.getRangeAt(0);if(i){if(!o){var l=a[a.length-1].measure,u=l.maps?l.maps[l.maps.length-1]:l.map;o={node:u[u.length-1],offset:u[u.length-2]-u[u.length-3]}}}else i={node:a[0].measure.map[2],offset:0};try{var c=La(i.node,i.offset,o.offset,o.node)}catch(f){}c&&(e.removeAllRanges(),e.addRange(c),s&&null==e.anchorNode?e.addRange(s):co&&this.startGracePeriod()),this.rememberSelection()}}},startGracePeriod:function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){e.cm.curOp.selectionChanged=!0})},20)},showMultipleSelections:function(e){Hi(this.cm.display.cursorDiv,e.cursors),Hi(this.cm.display.selectionDiv,e.selection)},rememberSelection:function(){var e=window.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},selectionInEditor:function(){var e=window.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return Va(this.div,t)},focus:function(){"nocursor"!=this.cm.options.readOnly&&this.div.focus()},blur:function(){this.div.blur()},getField:function(){return this.div},supportsTouch:function(){return!0},receivedFocus:function(){function e(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,e))}var t=this;this.selectionInEditor()?this.pollSelection():Ot(this.cm,function(){t.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,e)},selectionChanged:function(){var e=window.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},pollSelection:function(){if(!this.composing&&!this.gracePeriod&&this.selectionChanged()){var e=window.getSelection(),t=this.cm;this.rememberSelection();var n=le(t,e.anchorNode,e.anchorOffset),r=le(t,e.focusNode,e.focusOffset);n&&r&&Ot(t,function(){Se(t.doc,he(n,r),Aa),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)})}},pollContent:function(){var e=this.cm,t=e.display,n=e.doc.sel.primary(),r=n.from(),i=n.to();if(r.linet.viewTo-1)return!1;var o;if(r.line==t.viewFrom||0==(o=Nt(e,r.line)))var a=Jr(t.view[0].line),s=t.view[0].node;else var a=Jr(t.view[o].line),s=t.view[o-1].node.nextSibling;var l=Nt(e,i.line);if(l==t.view.length-1)var u=t.viewTo-1,c=t.lineDiv.lastChild;else var u=Jr(t.view[l+1].line)-1,c=t.view[l+1].node.previousSibling;for(var f=e.doc.splitLines(ce(e,s,c,a,u)),d=Yr(e.doc,Ro(a,0),Ro(u,Kr(e.doc,u).text.length));f.length>1&&d.length>1;)if(Ti(f)==Ti(d))f.pop(),d.pop(),u--;else{if(f[0]!=d[0])break;f.shift(),d.shift(),a++}for(var p=0,h=0,g=f[0],v=d[0],m=Math.min(g.length,v.length);m>p&&g.charCodeAt(p)==v.charCodeAt(p);)++p;for(var y=Ti(f),b=Ti(d),w=Math.min(y.length-(1==f.length?p:0),b.length-(1==d.length?p:0));w>h&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1);)++h;f[f.length-1]=y.slice(0,y.length-h),f[0]=f[0].slice(p);var $=Ro(a,p),x=Ro(u,d.length?Ti(d).length-h:0);return f.length>1||f[0]||Do($,x)?(Tn(e.doc,f,$,x,"+input"),!0):void 0},ensurePolled:function(){this.forceCompositionEnd()},reset:function(){this.forceCompositionEnd()},forceCompositionEnd:function(){this.composing&&!this.composing.handled&&(this.applyComposition(this.composing),this.composing.handled=!0,this.div.blur(),this.div.focus())},applyComposition:function(e){e.data&&e.data!=e.startData&&Tt(this.cm,J)(this.cm,e.data,0,e.sel)},setUneditable:function(e){e.setAttribute("contenteditable","false")},onKeyPress:function(e){e.preventDefault(),Tt(this.cm,J)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0)},onContextMenu:Ri,resetPosition:Ri,needsContentAttribute:!0},oe.prototype),e.inputStyles={textarea:re,contenteditable:oe},fe.prototype={primary:function(){return this.ranges[this.primIndex]},equals:function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t=0&&Do(e,r.to())<=0)return n}return-1}},de.prototype={from:function(){return Y(this.anchor,this.head)},to:function(){return K(this.anchor,this.head)},empty:function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}};var Fo,Lo,No,jo={left:0,right:0,top:0,bottom:0},Io=null,Vo=0,Ho=0,Wo=0,Uo=null;ho?Uo=-.53:co?Uo=15:yo?Uo=-.7:wo&&(Uo=-1/3);var zo=function(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}};e.wheelEventPixels=function(e){var t=zo(e);return t.x*=Uo,t.y*=Uo,t};var Bo=new Ei,qo=null,Go=e.changeEnd=function(e){return e.text?Ro(e.from.line+e.text.length-1,Ti(e.text).length+(1==e.text.length?e.from.ch:0)):e.to};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,t){var n=this.options,r=n[e];(n[e]!=t||"mode"==e)&&(n[e]=t,Yo.hasOwnProperty(e)&&Tt(this,Yo[e])(this,t,r))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](zn(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nn&&(Nn(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&Fn(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;n>l;++l)Nn(this,l,e);var u=this.doc.sel.ranges;0==o.ch&&t.length==u.length&&u[r].from().ch>0&&_e(this.doc,r,new de(o,u[r].to()),Aa)}}}),getTokenAt:function(e,t){return Tr(this,e,t)},getLineTokens:function(e,t){return Tr(this,Ro(e),t,!0)},getTokenTypeAt:function(e){e=ve(this.doc,e);var t,n=Rr(this,Kr(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]s?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var n=[];if(!ta.hasOwnProperty(t))return n;var r=ta[t],i=this.getModeAt(e);if("string"==typeof i[t])r[i[t]]&&n.push(r[i[t]]);else if(i[t])for(var o=0;oi&&(e=i,r=!0),n=Kr(this.doc,e)}else n=e;return ut(this,n,{top:0,left:0},t||"page").top+(r?this.doc.height-ei(n):0)},defaultTextHeight:function(){return mt(this.display)},defaultCharWidth:function(){return yt(this.display)},setGutterMarker:At(function(e,t,n){return jn(this.doc,e,"gutter",function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&Ni(r)&&(e.gutterMarkers=null),!0})}),clearGutter:At(function(e){var t=this,n=t.doc,r=n.first;n.iter(function(n){n.gutterMarkers&&n.gutterMarkers[e]&&(n.gutterMarkers[e]=null,Ft(t,r,"gutter"),Ni(n.gutterMarkers)&&(n.gutterMarkers=null)),++r})}),lineInfo:function(e){if("number"==typeof e){if(!ye(this.doc,e))return null;var t=e;if(e=Kr(this.doc,e),!e)return null}else{var t=Jr(e);if(null==t)return null}return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display;e=dt(this,ve(this.doc,e));var a=e.bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),u=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>u&&(s=u-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&Rn(this,s,a,s+t.offsetWidth,a+t.offsetHeight)},triggerOnKeyDown:At(un),triggerOnKeyPress:At(dn),triggerOnKeyUp:fn,execCommand:function(e){return ia.hasOwnProperty(e)?ia[e](this):void 0},triggerElectric:At(function(e){ee(this,e)}),findPosH:function(e,t,n,r){var i=1;0>t&&(i=-1,t=-t);for(var o=0,a=ve(this.doc,e);t>o&&(a=Vn(this.doc,a,i,n,r),!a.hitSide);++o);return a},moveH:At(function(e,t){var n=this;n.extendSelectionsBy(function(r){return n.display.shift||n.doc.extend||r.empty()?Vn(n.doc,r.head,e,t,n.options.rtlMoveVisually):0>e?r.from():r.to()},Ra)}),deleteH:At(function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):In(this,function(n){var i=Vn(r,n.head,e,t,!1);return 0>e?{from:i,to:n.head}:{from:n.head,to:i}})}),findPosV:function(e,t,n,r){var i=1,o=r;0>t&&(i=-1,t=-t);for(var a=0,s=ve(this.doc,e);t>a;++a){var l=dt(this,s,"div");if(null==o?o=l.left:l.left=o,s=Hn(this,l,i,n),s.hitSide)break}return s},moveV:At(function(e,t){var n=this,r=this.doc,i=[],o=!n.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy(function(a){if(o)return 0>e?a.from():a.to();var s=dt(n,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=Hn(n,s,e,t);return"page"==t&&a==r.sel.primary()&&Pn(n,null,ft(n,l,"div").top-s.top),l},Ra),i.length)for(var a=0;a0&&s(n.charAt(r-1));)--r;for(;i.5)&&a(this),Ea(this,"refresh",this)}),swapDoc:At(function(e){var t=this.doc;return t.cm=null,Gr(this,e),at(this),this.display.input.reset(),this.scrollTo(e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,wi(this,"swapDoc",this,t),t}),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}},ki(e);var Ko=e.defaults={},Yo=e.optionHandlers={},Qo=e.Init={toString:function(){return"CodeMirror.Init"}};Wn("value","",function(e,t){e.setValue(t)},!0),Wn("mode",null,function(e,t){e.doc.modeOption=t,n(e)},!0),Wn("indentUnit",2,n,!0),Wn("indentWithTabs",!1),Wn("smartIndent",!0),Wn("tabSize",4,function(e){r(e),at(e),Pt(e)},!0),Wn("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter(function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(Ro(r,o))}r++});for(var i=n.length-1;i>=0;i--)Tn(e.doc,t,n[i],Ro(n[i].line,n[i].ch+t.length))}}),Wn("specialChars",/[\t\u0000-\u0019\u00ad\u200b-\u200f\u2028\u2029\ufeff]/g,function(t,n,r){t.state.specialChars=new RegExp(n.source+(n.test(" ")?"":"| "),"g"),r!=e.Init&&t.refresh()}),Wn("specialCharPlaceholder",Lr,function(e){e.refresh()},!0),Wn("electricChars",!0),Wn("inputStyle",Co?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),Wn("rtlMoveVisually",!Eo),Wn("wholeLineUpdateBefore",!0),Wn("theme","default",function(e){s(e),l(e)},!0),Wn("keyMap","default",function(t,n,r){var i=zn(n),o=r!=e.Init&&zn(r);o&&o.detach&&o.detach(t,i),i.attach&&i.attach(t,o||null)}),Wn("extraKeys",null),Wn("lineWrapping",!1,i,!0),Wn("gutters",[],function(e){p(e.options),l(e)},!0),Wn("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?C(e.display)+"px":"0",e.refresh()},!0),Wn("coverGutterNextToScrollbar",!1,function(e){y(e)},!0),Wn("scrollbarStyle","native",function(e){m(e),y(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),Wn("lineNumbers",!1,function(e){p(e.options),l(e)},!0),Wn("firstLineNumber",1,l,!0),Wn("lineNumberFormatter",function(e){return e},l,!0),Wn("showCursorWhenSelecting",!1,De,!0),Wn("resetSelectionOnContextMenu",!0),Wn("lineWiseCopyCut",!0),Wn("readOnly",!1,function(e,t){"nocursor"==t?(gn(e),e.display.input.blur(),e.display.disabled=!0):(e.display.disabled=!1,t||e.display.input.reset())}),Wn("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),Wn("dragDrop",!0,Wt),Wn("cursorBlinkRate",530),Wn("cursorScrollMargin",0),Wn("cursorHeight",1,De,!0),Wn("singleCursorHeightPerLine",!0,De,!0),Wn("workTime",100),Wn("workDelay",100),Wn("flattenSpans",!0,r,!0),Wn("addModeClass",!1,r,!0),Wn("pollInterval",100),Wn("undoDepth",200,function(e,t){e.doc.history.undoDepth=t}),Wn("historyEventDelay",1250),Wn("viewportMargin",10,function(e){e.refresh()},!0),Wn("maxHighlightLength",1e4,r,!0),Wn("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),Wn("tabindex",null,function(e,t){e.display.input.getField().tabIndex=t||""}),Wn("autofocus",null);var Xo=e.modes={},Jo=e.mimeModes={};e.defineMode=function(t,n){e.defaults.mode||"null"==t||(e.defaults.mode=t),arguments.length>2&&(n.dependencies=Array.prototype.slice.call(arguments,2)), -Xo[t]=n},e.defineMIME=function(e,t){Jo[e]=t},e.resolveMode=function(t){if("string"==typeof t&&Jo.hasOwnProperty(t))t=Jo[t];else if(t&&"string"==typeof t.name&&Jo.hasOwnProperty(t.name)){var n=Jo[t.name];"string"==typeof n&&(n={name:n}),t=Di(n,t),t.name=n.name}else if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+xml$/.test(t))return e.resolveMode("application/xml");return"string"==typeof t?{name:t}:t||{name:"null"}},e.getMode=function(t,n){var n=e.resolveMode(n),r=Xo[n.name];if(!r)return e.getMode(t,"text/plain");var i=r(t,n);if(Zo.hasOwnProperty(n.name)){var o=Zo[n.name];for(var a in o)o.hasOwnProperty(a)&&(i.hasOwnProperty(a)&&(i["_"+a]=i[a]),i[a]=o[a])}if(i.name=n.name,n.helperType&&(i.helperType=n.helperType),n.modeProps)for(var a in n.modeProps)i[a]=n.modeProps[a];return i},e.defineMode("null",function(){return{token:function(e){e.skipToEnd()}}}),e.defineMIME("text/plain","null");var Zo=e.modeExtensions={};e.extendMode=function(e,t){var n=Zo.hasOwnProperty(e)?Zo[e]:Zo[e]={};Pi(t,n)},e.defineExtension=function(t,n){e.prototype[t]=n},e.defineDocExtension=function(e,t){ya.prototype[e]=t},e.defineOption=Wn;var ea=[];e.defineInitHook=function(e){ea.push(e)};var ta=e.helpers={};e.registerHelper=function(t,n,r){ta.hasOwnProperty(t)||(ta[t]=e[t]={_global:[]}),ta[t][n]=r},e.registerGlobalHelper=function(t,n,r,i){e.registerHelper(t,n,i),ta[t]._global.push({pred:r,val:i})};var na=e.copyState=function(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n},ra=e.startState=function(e,t,n){return e.startState?e.startState(t,n):!0};e.innerMode=function(e,t){for(;e.innerMode;){var n=e.innerMode(t);if(!n||n.mode==e)break;t=n.state,e=n.mode}return n||{mode:e,state:t}};var ia=e.commands={selectAll:function(e){e.setSelection(Ro(e.firstLine(),0),Ro(e.lastLine()),Aa)},singleSelection:function(e){e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Aa)},killLine:function(e){In(e,function(t){if(t.empty()){var n=Kr(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)i=new Ro(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),Ro(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=Kr(e.doc,i.line-1).text;a&&e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),Ro(i.line-1,a.length-1),Ro(i.line,1),"+transpose")}n.push(new de(i,i))}e.setSelections(n)})},newlineAndIndent:function(e){Ot(e,function(){for(var t=e.listSelections().length,n=0;t>n;n++){var r=e.listSelections()[n];e.replaceRange(e.doc.lineSeparator(),r.anchor,r.head,"+input"),e.indentLine(r.from().line+1,null,!0),Fn(e)}})},toggleOverwrite:function(e){e.toggleOverwrite()}},oa=e.keyMap={};oa.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"},oa.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"},oa.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"},oa.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"]},oa["default"]=ko?oa.macDefault:oa.pcDefault,e.normalizeKeyMap=function(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete e[n];continue}for(var i=Mi(n.split(" "),Un),o=0;o=this.string.length},sol:function(){return this.pos==this.lineStart},peek:function(){return this.string.charAt(this.pos)||void 0},next:function(){return this.post},eatSpace:function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},skipToEnd:function(){this.pos=this.string.length},skipTo:function(e){var t=this.string.indexOf(e,this.pos);return t>-1?(this.pos=t,!0):void 0},backUp:function(e){this.pos-=e},column:function(){return this.lastColumnPos0?null:(r&&t!==!1&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e},o=this.string.substr(this.pos,e.length);return i(o)==i(e)?(t!==!1&&(this.pos+=e.length),!0):void 0},current:function(){return this.string.slice(this.start,this.pos)},hideFirstChars:function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}}};var ca=0,fa=e.TextMarker=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++ca};ki(fa),fa.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&bt(e),Ci(this,"clear")){var n=this.find();n&&wi(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;oe.display.maxLineLength&&(e.display.maxLine=l,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Pt(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Ae(e.doc)),e&&wi(e,"markerCleared",e,this),t&&$t(e),this.parent&&this.parent.clear()}},fa.prototype.find=function(e,t){null==e&&"bookmark"==this.type&&(e=1);for(var n,r,i=0;in;++n){var i=this.lines[n];this.height-=i.height,kr(i),wi(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;re;++e)if(n(this.lines[e]))return!0}},Br.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var n=0;ne){var o=Math.min(t,i-e),a=r.height;if(r.removeInner(e,o),this.height-=a-r.height,i==o&&(this.children.splice(n--,1),r.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof zr))){var s=[];this.collapse(s),this.children=[new zr(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t=e){if(i.insertInner(e,t,n),i.lines&&i.lines.length>50){for(;i.lines.length>50;){var a=i.lines.splice(i.lines.length-25,25),s=new zr(a);i.height-=s.height,this.children.splice(r+1,0,s),s.parent=this}this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),n=new Br(t);if(e.parent){e.size-=n.size,e.height-=n.height;var r=Ai(e.parent.children,e);e.parent.children.splice(r+1,0,n)}else{var i=new Br(e.children);i.parent=e,e.children=[i,n],e=i}n.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;re){var a=Math.min(t,o-e);if(i.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var ma=0,ya=e.Doc=function(e,t,n,r){if(!(this instanceof ya))return new ya(e,t,n,r);null==n&&(n=0),Br.call(this,[new zr([new ha("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.frontier=n;var i=Ro(n,0);this.sel=he(i),this.history=new ni(null),this.id=++ma,this.modeOption=t,this.lineSep=r,"string"==typeof e&&(e=this.splitLines(e)),Ur(this,{from:i,to:i,text:e}),Se(this,he(i),Aa)};ya.prototype=Di(Br.prototype,{constructor:ya,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r=0;o--)_n(this,r[o]);s?Ee(this,s):this.cm&&Fn(this.cm)}),undo:Mt(function(){kn(this,"undo")}),redo:Mt(function(){kn(this,"redo")}),undoSelection:Mt(function(){kn(this,"undo",!0)}),redoSelection:Mt(function(){kn(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=ve(this,e),t=ve(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var a=o.markedSpans;if(a)for(var s=0;sl.to||null==l.from&&i!=e.line||i==t.line&&l.from>t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var r=0;re?(t=e,!0):(e-=i,void++n)}),ve(this,Ro(n,t))},indexFromPos:function(e){e=ve(this,e);var t=e.ch;return e.linet&&(t=e.from),null!=e.to&&e.tos||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}},Pa=[""],Fa=function(e){e.select()};_o?Fa=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:ho&&(Fa=function(e){try{e.select()}catch(t){}});var La,Na=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,ja=e.isWordChar=function(e){return/\w/.test(e)||e>"€"&&(e.toUpperCase()!=e.toLowerCase()||Na.test(e))},Ia=/[\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]/;La=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(i){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var Va=e.contains=function(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do if(11==t.nodeType&&(t=t.host),t==e)return!0;while(t=t.parentNode)};ho&&11>go&&(Wi=function(){try{return document.activeElement}catch(e){return document.body}});var Ha,Wa,Ua=e.rmClass=function(e,t){var n=e.className,r=Ui(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}},za=e.addClass=function(e,t){var n=e.className;Ui(t).test(n)||(e.className+=(n?" ":"")+t)},Ba=!1,qa=function(){if(ho&&9>go)return!1;var e=Ii("div");return"draggable"in e||"dragDrop"in e}(),Ga=e.splitLines=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;r>=t;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Ka=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){try{var t=e.ownerDocument.selection.createRange()}catch(n){}return t&&t.parentElement()==e?0!=t.compareEndPoints("StartToEnd",t):!1},Ya=function(){var e=Ii("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),Qa=null,Xa={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",107:"=",109:"-",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"};e.keyNames=Xa,function(){for(var e=0;10>e;e++)Xa[e+48]=Xa[e+96]=String(e);for(var e=65;90>=e;e++)Xa[e]=String.fromCharCode(e);for(var e=1;12>=e;e++)Xa[e+111]=Xa[e+63235]="F"+e}();var Ja,Za=function(){function e(e){return 247>=e?n.charAt(e):e>=1424&&1524>=e?"R":e>=1536&&1773>=e?r.charAt(e-1536):e>=1774&&2220>=e?"r":e>=8192&&8203>=e?"w":8204==e?"b":"L"}function t(e,t,n){this.level=e,this.from=t,this.to=n}var n="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",r="rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm",i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,o=/[stwN]/,a=/[LRr]/,s=/[Lb1n]/,l=/[1n]/,u="L";return function(n){if(!i.test(n))return!1;for(var r,c=n.length,f=[],d=0;c>d;++d)f.push(r=e(n.charCodeAt(d))); -for(var d=0,p=u;c>d;++d){var r=f[d];"m"==r?f[d]=p:p=r}for(var d=0,h=u;c>d;++d){var r=f[d];"1"==r&&"r"==h?f[d]="n":a.test(r)&&(h=r,"r"==r&&(f[d]="R"))}for(var d=1,p=f[0];c-1>d;++d){var r=f[d];"+"==r&&"1"==p&&"1"==f[d+1]?f[d]="1":","!=r||p!=f[d+1]||"1"!=p&&"n"!=p||(f[d]=p),p=r}for(var d=0;c>d;++d){var r=f[d];if(","==r)f[d]="N";else if("%"==r){for(var g=d+1;c>g&&"%"==f[g];++g);for(var v=d&&"!"==f[d-1]||c>g&&"1"==f[g]?"1":"N",m=d;g>m;++m)f[m]=v;d=g-1}}for(var d=0,h=u;c>d;++d){var r=f[d];"L"==h&&"1"==r?f[d]="L":a.test(r)&&(h=r)}for(var d=0;c>d;++d)if(o.test(f[d])){for(var g=d+1;c>g&&o.test(f[g]);++g);for(var y="L"==(d?f[d-1]:u),b="L"==(c>g?f[g]:u),v=y||b?"L":"R",m=d;g>m;++m)f[m]=v;d=g-1}for(var w,$=[],d=0;c>d;)if(s.test(f[d])){var x=d;for(++d;c>d&&s.test(f[d]);++d);$.push(new t(0,x,d))}else{var _=d,C=$.length;for(++d;c>d&&"L"!=f[d];++d);for(var m=_;d>m;)if(l.test(f[m])){m>_&&$.splice(C,0,new t(1,_,m));var k=m;for(++m;d>m&&l.test(f[m]);++m);$.splice(C,0,new t(2,k,m)),_=m}else++m;d>_&&$.splice(C,0,new t(1,_,d))}return 1==$[0].level&&(w=n.match(/^\s+/))&&($[0].from=w[0].length,$.unshift(new t(0,0,w[0].length))),1==Ti($).level&&(w=n.match(/\s+$/))&&(Ti($).to-=w[0].length,$.push(new t(0,c-w[0].length,c))),2==$[0].level&&$.unshift(new t(1,$[0].to,$[0].to)),$[0].level!=Ti($).level&&$.push(new t($[0].level,c,c)),$}}();return e.version="5.5.0",e})},function(e,t,n){n(161),e.exports=angular},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;ni;i++){var a=n[i];t[a.name()]=a}return t}},{key:"listActions",value:function(e){return arguments.length?(this._listActions=e,this):this._listActions}}]),t}(u["default"]);t["default"]=d,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;nr;r++){var o=e[r][n];if(o)if(o instanceof Array)for(var a in o)t[o[a]]=!0;else t[o]=!0}return Object.keys(t)}},{key:"getSortFieldName",value:function(){return this.sortField()?this._targetEntity.name()+"_ListView."+this.sortField():null}},{key:"remoteComplete",value:function(e,t){return arguments.length?(this._remoteComplete=e,t&&this.remoteCompleteOptions(t),this):this._remoteComplete}},{key:"remoteCompleteOptions",value:function(e){return arguments.length?(this._remoteCompleteOptions=e,this):this._remoteCompleteOptions}}]),t}(u["default"]);t["default"]=c,e.exports=t["default"]},function(e,t){function n(){u=!1,a.length?l=a.concat(l):c=-1,l.length&&r()}function r(){if(!u){var e=setTimeout(n);u=!0;for(var t=l.length;t;){for(a=l,l=[];++c1)for(var n=1;n=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},t.setImmediate="function"==typeof e?e:function(e){var n=u++,r=arguments.length<2?!1:s.call(arguments,1);return l[n]=!0,o(function(){l[n]&&(r?e.apply(null,r):e.call(null),t.clearImmediate(n))}),n},t.clearImmediate="function"==typeof r?r:function(e){delete l[e]}}).call(t,n(10).setImmediate,n(10).clearImmediate)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n0}},{key:"template",value:function(e){return arguments.length?(this._template=e,this):this._template}}]),e}();t["default"]=i,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n0}},{key:"addChild",value:function(t){if(!(t instanceof e))throw new Error("Only Menu instances are accepted as children of a Menu");return this._children.push(t),this}},{key:"hasChild",value:function(){return this._children.length>0}},{key:"getChildByTitle",value:function(e){return this.children().filter(function(t){return t.title()==e}).pop()}},{key:"children",value:function(){return arguments.length?(this._children=arguments[0],this):this._children}},{key:"icon",value:function(){return arguments.length?(this._icon=arguments[0],this):this._icon}},{key:"template",value:function(){return arguments.length?(this._template=arguments[0],this):this._template}},{key:"populateFromEntity",value:function(e){if(!(e instanceof l["default"]))throw new Error("populateFromEntity() only accepts an Entity parameter");return this.title(e.label()),this.active(function(t){return 0===t.indexOf("/"+e.name()+"/")}),this.link("/"+e.name()+"/list"),this.icon(e.menuView().icon()),this}}]),e}();t["default"]=c,e.exports=t["default"]},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function i(e,t,r){n(this,i),this._restWrapper=e,this._promisesResolver=t,this._application=r};t["default"]=r,e.exports=t["default"]},function(e,t){"use strict";function n(e){return null===e?!1:"object"!=typeof e?!1:Array.isArray(e)?!1:"[object Date]"===Object.prototype.toString.call(e)?!1:!0}function r(e){return Object.keys(e).reduce(function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t},{})}function i(e){var t=arguments.length<=1||void 0===arguments[1]?[]:arguments[1];if("object"!=typeof e)throw new Error("Expecting an object parameter");return Object.keys(e).reduce(function(o,a){return e.hasOwnProperty(a)?(n(e[a])?-1===t.indexOf(a)?!function(){var t=i(e[a]);Object.keys(t).forEach(function(e){t.hasOwnProperty(e)&&(o[a+"."+e]=t[e])})}():o[a]=r(e[a]):o[a]=e[a],o):o},{})}function o(e){if("object"!=typeof e)throw new Error("Expecting an object parameter");return Object.keys(e).reduce(function(t,n){return e.hasOwnProperty(n)?(n.split(".").reduce(function(t,r,i,o){return"undefined"==typeof t[r]&&(t[r]={}),i'},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return'
'}}},function(e,t,n){var r;(function(e,i){(function(){function o(e,t){if(e!==t){var n=null===e,r=e===S,i=e===e,o=null===t,a=t===S,s=t===t;if(e>t&&!o||!i||n&&!a&&s||r&&s)return 1;if(t>e&&!n||!s||o&&!r&&i||a&&i)return-1}return 0}function a(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i-1;);return n}function f(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function d(e,t){return o(e.criteria,t.criteria)||e.index-t.index}function p(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,s=i.length,l=n.length;++r=l)return u;var c=n[r];return u*("asc"===c||c===!0?1:-1)}}return e.index-t.index}function h(e){return qe[e]}function g(e){return Ge[e]}function v(e,t,n){return t?e=Qe[e]:n&&(e=Xe[e]),"\\"+e}function m(e){return"\\"+Xe[e]}function y(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i=e&&e>=9&&13>=e||32==e||160==e||5760==e||6158==e||e>=8192&&(8202>=e||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function $(e,t){for(var n=-1,r=e.length,i=-1,o=[];++nt,i=n?e.length:0,o=qn(0,i,this.__views__),a=o.start,s=o.end,l=s-a,u=r?s:a-1,c=this.__iteratees__,f=c.length,d=0,p=_a(l,this.__takeCount__);if(!n||W>i||i==l&&p==l)return nn(r&&n?e.reverse():e,this.__actions__);var h=[];e:for(;l--&&p>d;){u+=t;for(var g=-1,v=e[u];++g=W?gn(t):null,u=t.length;l&&(o=Xe,a=!1,t=l);e:for(;++in&&(n=-n>i?0:i+n),r=r===S||r>i?i:+r||0,0>r&&(r+=i),i=n>r?0:r>>>0,n>>>=0;i>n;)e[n++]=t;return e}function St(e,t){var n=[];return La(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function Ot(e,t,n,r){var i;return n(e,function(e,n,o){return t(e,n,o)?(i=r?n:e,!1):void 0}),i}function Tt(e,t,n,r){r||(r=[]);for(var i=-1,o=e.length;++ir;)e=e[t[r++]];return r&&r==i?e:S}}function Ft(e,t,n,r,i,o){return e===t?!0:null==e||null==t||!Pi(e)&&!b(t)?e!==e&&t!==t:Lt(e,t,Ft,n,r,i,o)}function Lt(e,t,n,r,i,o,a){var s=Ts(e),l=Ts(t),u=K,c=K;s||(u=ra.call(e),u==G?u=te:u!=te&&(s=Ui(e))),l||(c=ra.call(t),c==G?c=te:c!=te&&(l=Ui(t)));var f=u==te,d=c==te,p=u==c;if(p&&!s&&!f)return In(e,t,u);if(!i){var h=f&&ta.call(e,"__wrapped__"),g=d&&ta.call(t,"__wrapped__");if(h||g)return n(h?e.value():e,g?t.value():t,r,i,o,a)}if(!p)return!1;o||(o=[]),a||(a=[]);for(var v=o.length;v--;)if(o[v]==e)return a[v]==t;o.push(e),a.push(t);var m=(s?jn:Vn)(e,t,n,r,i,o,a);return o.pop(),a.pop(),m}function Nt(e,t,n){var r=t.length,i=r,o=!n;if(null==e)return!i;for(e=fr(e);r--;){var a=t[r];if(o&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++rt&&(t=-t>i?0:i+t),n=n===S||n>i?i:+n||0,0>n&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Ho(i);++r=W,l=a?gn():null,u=[];l?(r=Xe,o=!1):(a=!1,l=t?[]:u);e:for(;++n=i){for(;i>r;){var o=r+i>>>1,a=e[o];(n?t>=a:t>a)&&null!==a?r=o+1:i=o}return i}return on(e,t,Oo,n)}function on(e,t,n,r){t=n(t);for(var i=0,o=e?e.length:0,a=t!==t,s=null===t,l=t===S;o>i;){var u=ya((i+o)/2),c=n(e[u]),f=c!==S,d=c===c;if(a)var p=d||r;else p=s?d&&f&&(r||null!=c):l?d&&(r||f):null==c?!1:r?t>=c:t>c;p?i=u+1:o=u}return _a(o,Aa)}function an(e,t,n){if("function"!=typeof e)return Oo;if(t===S)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)};case 5:return function(n,r,i,o,a){return e.call(t,n,r,i,o,a)}}return function(){return e.apply(t,arguments)}}function sn(e){var t=new aa(e.byteLength),n=new ha(t);return n.set(new ha(e)),t}function ln(e,t,n){for(var r=n.length,i=-1,o=xa(e.length-r,0),a=-1,s=t.length,l=Ho(s+o);++a2?n[i-2]:S,a=i>2?n[2]:S,s=i>1?n[i-1]:S;for("function"==typeof o?(o=an(o,s,5),i-=2):(o="function"==typeof s?s:S,i-=o?1:0),a&&Zn(n[0],n[1],a)&&(o=3>i?S:o,i=1);++r-1?n[o]:S}return Ot(n,r,e)}}function xn(e){return function(t,n,r){return t&&t.length?(n=Hn(n,r,3),a(t,n,e)):-1}}function _n(e){return function(t,n,r){return n=Hn(n,r,3),Ot(t,n,e,!0)}}function Cn(e){return function(){for(var t,n=arguments.length,i=e?n:-1,o=0,a=Ho(n);e?i--:++i=W)return t.plant(r).value();for(var i=0,o=n?a[i].apply(this,e):r;++iy){var C=s?et(s):S,k=xa(u-y,0),E=h?_:S,O=h?S:_,M=h?w:S,R=h?S:w;t|=h?P:F,t&=~(h?F:P),g||(t&=~(T|A));var D=[e,t,n,M,E,R,O,C,l,k],L=Rn.apply(S,D);return tr(e)&&Ua(L,D),L.placeholder=x,L}}var N=d?n:this,j=p?N[e]:e;return s&&(w=lr(w,s)),f&&l=t||!wa(t))return"";var i=t-r;return n=null==n?" ":n+"",mo(n,va(i/n.length)).slice(0,i)}function Pn(e,t,n,r){function i(){for(var t=-1,s=arguments.length,l=-1,u=r.length,c=Ho(u+s);++ll))return!1;for(;++s-1&&e%1==0&&t>e}function Zn(e,t,n){if(!Pi(n))return!1;var r=typeof t;if("number"==r?Xn(n)&&Jn(t,n.length):"string"==r&&t in n){var i=n[t];return e===e?e===i:i!==i}return!1}function er(e,t){var n=typeof e;if("string"==n&&Se.test(e)||"number"==n)return!0;if(Ts(e))return!1;var r=!Ee.test(e);return r||null!=t&&e in fr(t)}function tr(e){var n=Wn(e);if(!(n in i.prototype))return!1;var r=t[n];if(e===r)return!0;var o=Ha(r);return!!o&&e===o[0]}function nr(e){return"number"==typeof e&&e>-1&&e%1==0&&Ra>=e}function rr(e){return e===e&&!Pi(e)}function ir(e,t){var n=e[1],r=t[1],i=n|r,o=L>i,a=r==L&&n==R||r==L&&n==N&&e[7].length<=t[8]||r==(L|N)&&n==R;if(!o&&!a)return e;r&T&&(e[2]=t[2],i|=n&T?0:M);var s=t[3];if(s){var l=e[3];e[3]=l?ln(l,s,t[4]):et(s),e[4]=l?$(e[3],q):et(t[4])}return s=t[5],s&&(l=e[5],e[5]=l?un(l,s,t[6]):et(s),e[6]=l?$(e[5],q):et(t[6])),s=t[7],s&&(e[7]=et(s)),r&L&&(e[8]=null==e[8]?t[8]:_a(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function or(e,t){return e===S?t:As(e,t,or)}function ar(e,t){e=fr(e);for(var n=-1,r=t.length,i={};++nr;)a[++o]=Kt(e,r,r+=t);return a}function gr(e){for(var t=-1,n=e?e.length:0,r=-1,i=[];++tt?0:t)):[]}function mr(e,t,n){var r=e?e.length:0;return r?((n?Zn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Kt(e,0,0>t?0:t)):[]}function yr(e,t,n){return e&&e.length?tn(e,Hn(t,n,3),!0,!0):[]}function br(e,t,n){return e&&e.length?tn(e,Hn(t,n,3),!0):[]}function wr(e,t,n,r){var i=e?e.length:0;return i?(n&&"number"!=typeof n&&Zn(e,t,n)&&(n=0,r=i),Et(e,t,n,r)):[]}function $r(e){return e?e[0]:S}function xr(e,t,n){var r=e?e.length:0;return n&&Zn(e,t,n)&&(t=!1),r?Tt(e,t):[]}function _r(e){var t=e?e.length:0;return t?Tt(e,!0):[]}function Cr(e,t,n){var r=e?e.length:0;if(!r)return-1;if("number"==typeof n)n=0>n?xa(r+n,0):n;else if(n){var i=rn(e,t);return r>i&&(t===t?t===e[i]:e[i]!==e[i])?i:-1}return s(e,t,n||0)}function kr(e){return mr(e,1)}function Er(e){var t=e?e.length:0;return t?e[t-1]:S}function Sr(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if("number"==typeof n)i=(0>n?xa(r+n,0):_a(n||0,r-1))+1;else if(n){i=rn(e,t,!0)-1;var o=e[i];return(t===t?t===o:o!==o)?i:-1}if(t!==t)return y(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1}function Or(){var e=arguments,t=e[0];if(!t||!t.length)return t;for(var n=0,r=Un(),i=e.length;++n-1;)pa.call(t,o,1);return t}function Tr(e,t,n){var r=[];if(!e||!e.length)return r;var i=-1,o=[],a=e.length;for(t=Hn(t,n,3);++it?0:t)):[]}function Dr(e,t,n){var r=e?e.length:0;return r?((n?Zn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Kt(e,0>t?0:t)):[]}function Pr(e,t,n){return e&&e.length?tn(e,Hn(t,n,3),!1,!0):[]}function Fr(e,t,n){return e&&e.length?tn(e,Hn(t,n,3)):[]}function Lr(e,t,n,r){var i=e?e.length:0;if(!i)return[];null!=t&&"boolean"!=typeof t&&(r=n,n=Zn(e,t,r)?S:t,t=!1);var o=Hn();return(null!=n||o!==wt)&&(n=o(n,r,3)),t&&Un()==s?x(e,n):Zt(e,n)}function Nr(e){if(!e||!e.length)return[];var t=-1,n=0;e=st(e,function(e){return Xn(e)?(n=xa(e.length,n),!0):void 0});for(var r=Ho(n);++tn?xa(i+n,0):n||0,"string"==typeof e||!Ts(e)&&Wi(e)?i>=n&&e.indexOf(t,n)>-1:!!i&&Un(e,t,n)>-1}function ei(e,t,n){var r=Ts(e)?lt:jt;return t=Hn(t,n,3),r(e,t)}function ti(e,t){return ei(e,Po(t))}function ni(e,t,n){var r=Ts(e)?st:St;return t=Hn(t,n,3),r(e,function(e,n,r){return!t(e,n,r)})}function ri(e,t,n){if(n?Zn(e,t,n):null==t){e=cr(e);var r=e.length;return r>0?e[qt(0,r-1)]:S}var i=-1,o=Gi(e),r=o.length,a=r-1;for(t=_a(0>t?0:+t||0,r);++i0&&(n=t.apply(this,arguments)),1>=e&&(t=S),n}}function pi(e,t,n){function r(){p&&sa(p),u&&sa(u),g=0,u=p=h=S}function i(t,n){n&&sa(n),u=p=h=S,t&&(g=gs(),c=e.apply(d,l),p||u||(l=d=S))}function o(){var e=t-(gs()-f);0>=e||e>t?i(h,u):p=da(o,e)}function a(){i(m,p)}function s(){if(l=arguments,f=gs(),d=this,h=m&&(p||!y),v===!1)var n=y&&!p;else{u||y||(g=f);var r=v-(f-g),i=0>=r||r>v;i?(u&&(u=sa(u)),g=f,c=e.apply(d,l)):u||(u=da(a,r))}return i&&p?p=sa(p):p||t===v||(p=da(o,t)),n&&(i=!0,c=e.apply(d,l)),!i||p||u||(l=d=S),c}var l,u,c,f,d,p,h,g=0,v=!1,m=!0;if("function"!=typeof e)throw new Qo(B);if(t=0>t?0:+t||0,n===!0){var y=!0;m=!1}else Pi(n)&&(y=!!n.leading,v="maxWait"in n&&xa(+n.maxWait||0,t),m="trailing"in n?!!n.trailing:m);return s.cancel=r,s}function hi(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new Qo(B);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new hi.Cache,n}function gi(e){if("function"!=typeof e)throw new Qo(B);return function(){return!e.apply(this,arguments)}}function vi(e){return di(2,e)}function mi(e,t){if("function"!=typeof e)throw new Qo(B);return t=xa(t===S?e.length-1:+t||0,0),function(){for(var n=arguments,r=-1,i=xa(n.length-t,0),o=Ho(i);++rt}function Ci(e,t){return e>=t}function ki(e){return b(e)&&Xn(e)&&ta.call(e,"callee")&&!ca.call(e,"callee")}function Ei(e){return e===!0||e===!1||b(e)&&ra.call(e)==Y}function Si(e){return b(e)&&ra.call(e)==Q}function Oi(e){return!!e&&1===e.nodeType&&b(e)&&!Vi(e)}function Ti(e){return null==e?!0:Xn(e)&&(Ts(e)||Wi(e)||ki(e)||b(e)&&Di(e.splice))?!e.length:!Vs(e).length}function Ai(e,t,n,r){n="function"==typeof n?an(n,r,3):S;var i=n?n(e,t):S;return i===S?Ft(e,t,n):!!i}function Mi(e){return b(e)&&"string"==typeof e.message&&ra.call(e)==X}function Ri(e){return"number"==typeof e&&wa(e)}function Di(e){return Pi(e)&&ra.call(e)==J}function Pi(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Fi(e,t,n,r){return n="function"==typeof n?an(n,r,3):S,Nt(e,zn(t),n)}function Li(e){return Ii(e)&&e!=+e}function Ni(e){return null==e?!1:Di(e)?oa.test(ea.call(e)):b(e)&&Le.test(e)}function ji(e){return null===e}function Ii(e){return"number"==typeof e||b(e)&&ra.call(e)==ee}function Vi(e){var t;if(!b(e)||ra.call(e)!=te||ki(e)||!ta.call(e,"constructor")&&(t=e.constructor,"function"==typeof t&&!(t instanceof t)))return!1;var n;return At(e,function(e,t){n=t}),n===S||ta.call(e,n)}function Hi(e){return Pi(e)&&ra.call(e)==ne}function Wi(e){return"string"==typeof e||b(e)&&ra.call(e)==ie}function Ui(e){return b(e)&&nr(e.length)&&!!ze[ra.call(e)]}function zi(e){return e===S}function Bi(e,t){return t>e}function qi(e,t){return t>=e}function Gi(e){var t=e?Wa(e):0;return nr(t)?t?et(e):[]:oo(e)}function Ki(e){return bt(e,eo(e))}function Yi(e,t,n){var r=Fa(e);return n&&Zn(e,t,n)&&(t=S),t?mt(r,t):r}function Qi(e){return Dt(e,eo(e))}function Xi(e,t,n){var r=null==e?S:Pt(e,dr(t),t+"");return r===S?n:r}function Ji(e,t){if(null==e)return!1;var n=ta.call(e,t);if(!n&&!er(t)){if(t=dr(t),e=1==t.length?e:Pt(e,Kt(t,0,-1)),null==e)return!1;t=Er(t),n=ta.call(e,t)}return n||nr(e.length)&&Jn(t,e.length)&&(Ts(e)||ki(e))}function Zi(e,t,n){n&&Zn(e,t,n)&&(t=S);for(var r=-1,i=Vs(e),o=i.length,a={};++r0;++r=_a(t,n)&&en?0:+n||0,r),n-=t.length,n>=0&&e.indexOf(t,n)==n}function po(e){return e=u(e),e&&xe.test(e)?e.replace(we,g):e}function ho(e){return e=u(e),e&&Ae.test(e)?e.replace(Te,v):e||"(?:)"}function go(e,t,n){e=u(e),t=+t;var r=e.length;if(r>=t||!wa(t))return e;var i=(t-r)/2,o=ya(i),a=va(i);return n=Dn("",a,n),n.slice(0,o)+e+n}function vo(e,t,n){return(n?Zn(e,t,n):null==t)?t=0:t&&(t=+t),e=wo(e),ka(e,t||(Fe.test(e)?16:10))}function mo(e,t){var n="";if(e=u(e),t=+t,1>t||!e||!wa(t))return n;do t%2&&(n+=e),t=ya(t/2),e+=e;while(t);return n}function yo(e,t,n){return e=u(e),n=null==n?0:_a(0>n?0:+n||0,e.length),e.lastIndexOf(t,n)==n}function bo(e,n,r){var i=t.templateSettings;r&&Zn(e,n,r)&&(n=r=S),e=u(e),n=vt(mt({},r||n),i,gt);var o,a,s=vt(mt({},n.imports),i.imports,gt),l=Vs(s),c=en(s,l),f=0,d=n.interpolate||Ie,p="__p += '",h=Ko((n.escape||Ie).source+"|"+d.source+"|"+(d===ke?De:Ie).source+"|"+(n.evaluate||Ie).source+"|$","g"),g="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++Ue+"]")+"\n";e.replace(h,function(t,n,r,i,s,l){return r||(r=i),p+=e.slice(f,l).replace(Ve,m),n&&(o=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=l+t.length,t}),p+="';\n";var v=n.variable;v||(p="with (obj) {\n"+p+"\n}\n"),p=(a?p.replace(ve,""):p).replace(me,"$1").replace(ye,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var y=Xs(function(){return zo(l,g+"return "+p).apply(S,c)});if(y.source=p,Mi(y))throw y;return y}function wo(e,t,n){var r=e;return(e=u(e))?(n?Zn(r,t,n):null==t)?e.slice(_(e),C(e)+1):(t+="",e.slice(c(e,t),f(e,t)+1)):e}function $o(e,t,n){var r=e;return e=u(e),e?(n?Zn(r,t,n):null==t)?e.slice(_(e)):e.slice(c(e,t+"")):e}function xo(e,t,n){var r=e;return e=u(e),e?(n?Zn(r,t,n):null==t)?e.slice(0,C(e)+1):e.slice(0,f(e,t+"")+1):e}function _o(e,t,n){n&&Zn(e,t,n)&&(t=S);var r=j,i=I;if(null!=t)if(Pi(t)){var o="separator"in t?t.separator:o;r="length"in t?+t.length||0:r,i="omission"in t?u(t.omission):i}else r=+t||0;if(e=u(e),r>=e.length)return e;var a=r-i.length;if(1>a)return i;var s=e.slice(0,a);if(null==o)return s+i;if(Hi(o)){if(e.slice(a).search(o)){var l,c,f=e.slice(0,a);for(o.global||(o=Ko(o.source,(Pe.exec(o)||"")+"g")),o.lastIndex=0;l=o.exec(f);)c=l.index;s=s.slice(0,null==c?a:c)}}else if(e.indexOf(o,a)!=a){var d=s.lastIndexOf(o);d>-1&&(s=s.slice(0,d))}return s+i}function Co(e){return e=u(e),e&&$e.test(e)?e.replace(be,k):e}function ko(e,t,n){return n&&Zn(e,t,n)&&(t=S),e=u(e),e.match(t||He)||[]}function Eo(e,t,n){return n&&Zn(e,t,n)&&(t=S),b(e)?To(e):wt(e,t)}function So(e){return function(){return e}}function Oo(e){return e}function To(e){return It($t(e,!0))}function Ao(e,t){return Vt(e,$t(t,!0))}function Mo(e,t,n){if(null==n){var r=Pi(t),i=r?Vs(t):S,o=i&&i.length?Dt(t,i):S;(o?o.length:r)||(o=!1,n=t,t=e,e=this)}o||(o=Dt(t,Vs(t)));var a=!0,s=-1,l=Di(e),u=o.length;n===!1?a=!1:Pi(n)&&"chain"in n&&(a=n.chain);for(;++se||!wa(e))return[];var r=-1,i=Ho(_a(e,Ta));for(t=an(t,n,1);++rr?i[r]=t(r):t(r);return i}function jo(e){var t=++na;return u(e)+t}function Io(e,t){return(+e||0)+(+t||0)}function Vo(e,t,n){return n&&Zn(e,t,n)&&(t=S),t=Hn(t,n,3),1==t.length?pt(Ts(e)?e:cr(e),t):Jt(e,t)}e=e?it.defaults(rt.Object(),e,it.pick(rt,We)):rt;var Ho=e.Array,Wo=e.Date,Uo=e.Error,zo=e.Function,Bo=e.Math,qo=e.Number,Go=e.Object,Ko=e.RegExp,Yo=e.String,Qo=e.TypeError,Xo=Ho.prototype,Jo=Go.prototype,Zo=Yo.prototype,ea=zo.prototype.toString,ta=Jo.hasOwnProperty,na=0,ra=Jo.toString,ia=rt._,oa=Ko("^"+ea.call(ta).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),aa=e.ArrayBuffer,sa=e.clearTimeout,la=e.parseFloat,ua=Bo.pow,ca=Jo.propertyIsEnumerable,fa=Bn(e,"Set"),da=e.setTimeout,pa=Xo.splice,ha=e.Uint8Array,ga=Bn(e,"WeakMap"),va=Bo.ceil,ma=Bn(Go,"create"),ya=Bo.floor,ba=Bn(Ho,"isArray"),wa=e.isFinite,$a=Bn(Go,"keys"),xa=Bo.max,_a=Bo.min,Ca=Bn(Wo,"now"),ka=e.parseInt,Ea=Bo.random,Sa=qo.NEGATIVE_INFINITY,Oa=qo.POSITIVE_INFINITY,Ta=4294967295,Aa=Ta-1,Ma=Ta>>>1,Ra=9007199254740991,Da=ga&&new ga,Pa={}; -t.support={};t.templateSettings={escape:_e,evaluate:Ce,interpolate:ke,variable:"",imports:{_:t}};var Fa=function(){function e(){}return function(t){if(Pi(t)){e.prototype=t;var n=new e;e.prototype=S}return n||{}}}(),La=dn(Mt),Na=dn(Rt,!0),ja=pn(),Ia=pn(!0),Va=Da?function(e,t){return Da.set(e,t),e}:Oo,Ha=Da?function(e){return Da.get(e)}:Do,Wa=Ut("length"),Ua=function(){var e=0,t=0;return function(n,r){var i=gs(),o=H-(i-t);if(t=i,o>0){if(++e>=V)return n}else e=0;return Va(n,r)}}(),za=mi(function(e,t){return b(e)&&Xn(e)?_t(e,Tt(t,!1,!0)):[]}),Ba=xn(),qa=xn(!0),Ga=mi(function(e){for(var t=e.length,n=t,r=Ho(f),i=Un(),o=i==s,a=[];n--;){var l=e[n]=Xn(l=e[n])?l:[];r[n]=o&&l.length>=120?gn(n&&l):null}var u=e[0],c=-1,f=u?u.length:0,d=r[0];e:for(;++c2?e[t-2]:S,r=t>1?e[t-1]:S;return t>2&&"function"==typeof n?t-=2:(n=t>1&&"function"==typeof r?(--t,r):S,r=S),e.length=t,jr(e,n,r)}),ts=mi(function(e){return e=Tt(e),this.thru(function(t){return Ze(Ts(t)?t:[fr(t)],e)})}),ns=mi(function(e,t){return yt(e,Tt(t))}),rs=cn(function(e,t,n){ta.call(e,n)?++e[n]:e[n]=1}),is=$n(La),os=$n(Na,!0),as=kn(tt,La),ss=kn(nt,Na),ls=cn(function(e,t,n){ta.call(e,n)?e[n].push(t):e[n]=[t]}),us=cn(function(e,t,n){e[n]=t}),cs=mi(function(e,t,n){var r=-1,i="function"==typeof t,o=er(t),a=Xn(e)?Ho(e.length):[];return La(e,function(e){var s=i?t:o&&null!=e?e[t]:S;a[++r]=s?s.apply(e,n):Qn(e,t,n)}),a}),fs=cn(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),ds=Mn(ct,La),ps=Mn(ft,Na),hs=mi(function(e,t){if(null==e)return[];var n=t[2];return n&&Zn(t[0],t[1],n)&&(t.length=1),Xt(e,Tt(t),[])}),gs=Ca||function(){return(new Wo).getTime()},vs=mi(function(e,t,n){var r=T;if(n.length){var i=$(n,vs.placeholder);r|=P}return Nn(e,r,t,n,i)}),ms=mi(function(e,t){t=t.length?Tt(t):Qi(e);for(var n=-1,r=t.length;++n0||0>t)?new i(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==S&&(t=+t||0,n=0>t?n.dropRight(-t):n.take(t-e)),n)},i.prototype.takeRightWhile=function(e,t){return this.reverse().takeWhile(e,t).reverse()},i.prototype.toArray=function(){return this.take(Oa)},Mt(i.prototype,function(e,n){var o=/^(?:filter|map|reject)|While$/.test(n),a=/^(?:first|last)$/.test(n),s=t[a?"take"+("last"==n?"Right":""):n];s&&(t.prototype[n]=function(){var t=a?[1]:arguments,n=this.__chain__,l=this.__wrapped__,u=!!this.__actions__.length,c=l instanceof i,f=t[0],d=c||Ts(l);d&&o&&"function"==typeof f&&1!=f.length&&(c=d=!1);var p=function(e){return a&&n?s(e,1)[0]:s.apply(S,ut([e],t))},h={func:Ur,args:[p],thisArg:S},g=c&&!u;if(a&&!n)return g?(l=l.clone(),l.__actions__.push(h),e.call(l)):s.call(S,this.value())[0];if(!a&&d){l=g?l:new i(this);var v=e.apply(l,t);return v.__actions__.push(h),new r(v,n)}return this.thru(p)})}),tt(["join","pop","push","replace","shift","sort","splice","split","unshift"],function(e){var n=(/^(?:replace|split)$/.test(e)?Zo:Xo)[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:join|pop|replace|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;return i&&!this.__chain__?n.apply(this.value(),e):this[r](function(t){return n.apply(t,e)})}}),Mt(i.prototype,function(e,n){var r=t[n];if(r){var i=r.name,o=Pa[i]||(Pa[i]=[]);o.push({name:n,func:r})}}),Pa[Rn(S,A).name]=[{name:"wrapper",func:S}],i.prototype.clone=w,i.prototype.reverse=Z,i.prototype.value=re,t.prototype.chain=zr,t.prototype.commit=Br,t.prototype.concat=ts,t.prototype.plant=qr,t.prototype.reverse=Gr,t.prototype.toString=Kr,t.prototype.run=t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=Yr,t.prototype.collect=t.prototype.map,t.prototype.head=t.prototype.first,t.prototype.select=t.prototype.filter,t.prototype.tail=t.prototype.rest,t}var S,O="3.10.1",T=1,A=2,M=4,R=8,D=16,P=32,F=64,L=128,N=256,j=30,I="...",V=150,H=16,W=200,U=1,z=2,B="Expected a function",q="__lodash_placeholder__",G="[object Arguments]",K="[object Array]",Y="[object Boolean]",Q="[object Date]",X="[object Error]",J="[object Function]",Z="[object Map]",ee="[object Number]",te="[object Object]",ne="[object RegExp]",re="[object Set]",ie="[object String]",oe="[object WeakMap]",ae="[object ArrayBuffer]",se="[object Float32Array]",le="[object Float64Array]",ue="[object Int8Array]",ce="[object Int16Array]",fe="[object Int32Array]",de="[object Uint8Array]",pe="[object Uint8ClampedArray]",he="[object Uint16Array]",ge="[object Uint32Array]",ve=/\b__p \+= '';/g,me=/\b(__p \+=) '' \+/g,ye=/(__e\(.*?\)|\b__t\)) \+\n'';/g,be=/&(?:amp|lt|gt|quot|#39|#96);/g,we=/[&<>"'`]/g,$e=RegExp(be.source),xe=RegExp(we.source),_e=/<%-([\s\S]+?)%>/g,Ce=/<%([\s\S]+?)%>/g,ke=/<%=([\s\S]+?)%>/g,Ee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,Se=/^\w*$/,Oe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,Te=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,Ae=RegExp(Te.source),Me=/[\u0300-\u036f\ufe20-\ufe23]/g,Re=/\\(\\)?/g,De=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Pe=/\w*$/,Fe=/^0[xX]/,Le=/^\[object .+?Constructor\]$/,Ne=/^\d+$/,je=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Ie=/($^)/,Ve=/['\n\r\u2028\u2029\\]/g,He=function(){var e="[A-Z\\xc0-\\xd6\\xd8-\\xde]",t="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(e+"+(?="+e+t+")|"+e+"?"+t+"|"+e+"+|[0-9]+","g")}(),We=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"],Ue=-1,ze={};ze[se]=ze[le]=ze[ue]=ze[ce]=ze[fe]=ze[de]=ze[pe]=ze[he]=ze[ge]=!0,ze[G]=ze[K]=ze[ae]=ze[Y]=ze[Q]=ze[X]=ze[J]=ze[Z]=ze[ee]=ze[te]=ze[ne]=ze[re]=ze[ie]=ze[oe]=!1;var Be={};Be[G]=Be[K]=Be[ae]=Be[Y]=Be[Q]=Be[se]=Be[le]=Be[ue]=Be[ce]=Be[fe]=Be[ee]=Be[te]=Be[ne]=Be[ie]=Be[de]=Be[pe]=Be[he]=Be[ge]=!0,Be[X]=Be[J]=Be[Z]=Be[re]=Be[oe]=!1;var qe={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},Ge={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Ke={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},Ye={"function":!0,object:!0},Qe={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},Xe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Je=Ye[typeof t]&&t&&!t.nodeType&&t,Ze=Ye[typeof e]&&e&&!e.nodeType&&e,et=Je&&Ze&&"object"==typeof i&&i&&i.Object&&i,tt=Ye[typeof self]&&self&&self.Object&&self,nt=Ye[typeof window]&&window&&window.Object&&window,rt=(Ze&&Ze.exports===Je&&Je,et||nt!==(this&&this.window)&&nt||tt||this),it=E();rt._=it,r=function(){return it}.call(t,n,t,e),!(r!==S&&(e.exports=r))}).call(this)}).call(t,n(23)(e),function(){return this}())},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t){/** +!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="http://localhost:8000/",t(0)}([function(e,t,n){n(52),e.exports=n(148)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n0}},{key:"removeFields",value:function(){return this._fields=[],this}},{key:"getFields",value:function(){return this._fields}},{key:"getField",value:function(e){return this._fields.filter(function(t){return t.name()===e})[0]}},{key:"getFieldsOfType",value:function(e){return this._fields.filter(function(t){return t.type()===e})}},{key:"addField",value:function(e){return null===e.order()&&e.order(this._fields.length,!0),this._fields.push(e),this._fields=this._fields.sort(function(e,t){return e.order()-t.order()}),this}},{key:"order",value:function(e){return arguments.length?(this._order=e,this):this._order}},{key:"getReferences",value:function(e){var t={},n=this._fields.filter(function(e){return"reference"===e.type()||"reference_many"===e.type()}),r=null;e===!0?r=function(e){return e.remoteComplete()}:e===!1&&(r=function(e){return!e.remoteComplete()}),null!==r&&(n=n.filter(r));for(var i=0,o=n.length;o>i;i++){var a=n[i];t[a.name()]=a}return t}},{key:"getNonOptimizedReferences",value:function(e){return this._getReferencesByOptimizationType(!1,e)}},{key:"getOptimizedReferences",value:function(e){return this._getReferencesByOptimizationType(!0,e)}},{key:"getReferencedLists",value:function(){for(var e={},t=this._fields.filter(function(e){return"referenced_list"===e.type()}),n=0,r=t.length;r>n;n++){var i=t[n];e[i.name()]=i}return e}},{key:"template",value:function(e){return arguments.length?(this._template=e,this):this._template}},{key:"identifier",value:function(){return this.entity.identifier()}},{key:"actions",value:function(e){return arguments.length?(this._actions=e,this):this._actions}},{key:"getErrorMessage",value:function(e){return"function"==typeof this._errorMessage?this._errorMessage(e):this._errorMessage}},{key:"errorMessage",value:function(e){return arguments.length?(this._errorMessage=e,this):this._errorMessage}},{key:"url",value:function(e){return arguments.length?(this._url=e,this):this._url}},{key:"getUrl",value:function(e){return"function"==typeof this._url?this._url(e):this._url}},{key:"validate",value:function(e){this._fields.map(function(t){var n=t.validation();"function"==typeof n.validator&&n.validator(e.values[t.name()])})}},{key:"mapEntry",value:function(e){return s["default"].createFromRest(e,this._fields,this.entity.name(),this.entity.identifier().name())}},{key:"mapEntries",value:function(e){return s["default"].createArrayFromRest(e,this._fields,this.entity.name(),this.entity.identifier().name())}},{key:"transformEntry",value:function(e){return e.transformToRest(this._fields)}},{key:"_getReferencesByOptimizationType",value:function(){var e=arguments.length<=0||void 0===arguments[0]?!0:arguments[0],t=arguments.length<=1||void 0===arguments[1]?null:arguments[1],n={},r=this.getReferences(t);for(var i in r){var o=r[i];!!o.getSingleApiCall()===e&&(n[i]=o)}return n}},{key:"enabled",get:function(){return this._enabled||!!this._fields.length}},{key:"type",get:function(){return this._type}}],[{key:"flatten",value:function(t){if("Object"===t.constructor.name){console.warn("Passing literal of Field to fields method is deprecated use array instead");var n=[];for(var r in t)n=n.concat(e.flatten(t[r]));return n}return Array.isArray(t)?t.reduce(function(t,n){return t.concat(e.flatten(n))},[]):[t]}}]),e}());t["default"]=l,e.exports=t["default"]},function(e,t,n){!function(t){e.exports=t()}(function(){"use strict";function e(n,r){if(!(this instanceof e))return new e(n,r);this.options=r=r?Pi(r):{},Pi(Ko,r,!1),p(r);var i=r.value;"string"==typeof i&&(i=new ya(i,r.mode,null,r.lineSeparator)),this.doc=i;var o=new e.inputStyles[r.inputStyle](this),a=this.display=new t(n,i,o);a.wrapper.CodeMirror=this,u(this),s(this),r.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),r.autofocus&&!Co&&a.input.focus(),m(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,draggingText:!1,highlight:new Ei,keySeq:null,specialChars:null};var l=this;ho&&11>go&&setTimeout(function(){l.display.input.reset(!0)},20),Wt(this),qi(),bt(this),this.curOp.forceUpdate=!0,Gr(this,i),r.autofocus&&!Co||l.hasFocus()?setTimeout(Fi(hn,this),20):gn(this);for(var c in Yo)Yo.hasOwnProperty(c)&&Yo[c](this,r[c],Qo);x(this),r.finishInit&&r.finishInit(this);for(var f=0;fgo&&(r.gutters.style.zIndex=-1,r.scroller.style.paddingRight=0),vo||co&&Co||(r.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(r.wrapper):e(r.wrapper)),r.viewFrom=r.viewTo=t.first,r.reportedViewFrom=r.reportedViewTo=t.first,r.view=[],r.renderedView=null,r.externalMeasured=null,r.viewOffset=0,r.lastWrapHeight=r.lastWrapWidth=0,r.updateLineNumbers=null,r.nativeBarWidth=r.barHeight=r.barWidth=0,r.scrollbarsClipped=!1,r.lineNumWidth=r.lineNumInnerWidth=r.lineNumChars=null,r.alignWidgets=!1,r.cachedCharWidth=r.cachedTextHeight=r.cachedPaddingH=null,r.maxLine=null,r.maxLineLength=0,r.maxLineChanged=!1,r.wheelDX=r.wheelDY=r.wheelStartX=r.wheelStartY=null,r.shift=!1,r.selForContextMenu=null,r.activeTouch=null,n.init(r)}function n(t){t.doc.mode=e.getMode(t.options,t.doc.modeOption),r(t)}function r(e){e.doc.iter(function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)}),e.doc.frontier=e.doc.first,je(e,100),e.state.modeGen++,e.curOp&&Pt(e)}function i(e){e.options.lineWrapping?(za(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(Ua(e.display.wrapper,"CodeMirror-wrap"),d(e)),a(e),Pt(e),at(e),setTimeout(function(){y(e)},100)}function o(e){var t=mt(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/yt(e.display)-3);return function(i){if(br(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;at.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}function p(e){var t=Ai(e.gutters,"CodeMirror-linenumbers");-1==t&&e.lineNumbers?e.gutters=e.gutters.concat(["CodeMirror-linenumbers"]):t>-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}function h(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Ue(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+Be(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}function g(e,t,n){this.cm=n;var r=this.vert=Ii("div",[Ii("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=Ii("div",[Ii("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");e(r),e(i),Ca(r,"scroll",function(){r.clientHeight&&t(r.scrollTop,"vertical")}),Ca(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal")}),this.checkedOverlay=!1,ho&&8>go&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")}function v(){}function m(t){t.display.scrollbars&&(t.display.scrollbars.clear(),t.display.scrollbars.addClass&&Ua(t.display.wrapper,t.display.scrollbars.addClass)),t.display.scrollbars=new e.scrollbarModel[t.options.scrollbarStyle](function(e){t.display.wrapper.insertBefore(e,t.display.scrollbarFiller),Ca(e,"mousedown",function(){t.state.focused&&setTimeout(function(){t.display.input.focus()},0)}),e.setAttribute("cm-not-content","true")},function(e,n){"horizontal"==n?tn(t,e):en(t,e)},t),t.display.scrollbars.addClass&&za(t.display.wrapper,t.display.scrollbars.addClass)}function y(e,t){t||(t=h(e));var n=e.display.barWidth,r=e.display.barHeight;b(e,t);for(var i=0;4>i&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&M(e),b(e,h(e)),n=e.display.barWidth,r=e.display.barHeight}function b(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}function w(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-He(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=Zr(t,r),a=Zr(t,i);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;o>s?(o=s,a=Zr(t,ei(Kr(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=Zr(t,ei(Kr(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function $(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=C(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==Vt(e))return!1;x(e)&&(Lt(e),t.dims=D(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Mo&&(o=mr(e.doc,o),a=yr(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;It(e,o,a),n.viewOffset=ei(Kr(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var l=Vt(e);if(!s&&0==l&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=Hi();return l>4&&(n.lineDiv.style.display="none"),P(e,n.updateLineNumbers,t.dims),l>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,u&&Hi()!=u&&u.offsetHeight&&u.focus(),Vi(n.cursorDiv),Vi(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,je(e,400)),n.updateLineNumbers=null,!0}function O(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=qe(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Ue(e.display)-Ge(e),n.top)}),t.visible=w(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&S(e,t);r=!1){M(e);var i=h(e);De(e),A(e,i),y(e,i)}t.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function T(e,t){var n=new k(e,t);if(S(e,n)){M(e),O(e,n);var r=h(e);De(e),A(e,r),y(e,r),n.finish()}}function A(e,t){e.display.sizer.style.minHeight=t.docHeight+"px";var n=t.docHeight+e.display.barHeight;e.display.heightForcer.style.top=n+"px",e.display.gutters.style.height=Math.max(n+Be(e),t.clientHeight)+"px"}function M(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;rgo){var a=o.node.offsetTop+o.node.offsetHeight;i=a-n,n=a}else{var s=o.node.getBoundingClientRect();i=s.bottom-s.top}var l=o.line.height-i;if(2>i&&(i=mt(t)),(l>.001||-.001>l)&&(Xr(o.line,i),R(o.line),o.rest))for(var u=0;u=t&&f.lineNumber;f.changes&&(Ai(f.changes,"gutter")>-1&&(d=!1),F(e,f,u,n)),d&&(Vi(f.lineNumber),f.lineNumber.appendChild(document.createTextNode(_(e.options,u)))),s=f.node.nextSibling}else{var p=U(e,f,u,n);a.insertBefore(p,s)}u+=f.size}for(;s;)s=r(s)}function F(e,t,n,r){for(var i=0;igo&&(e.node.style.zIndex=2)),e.node}function N(e){var t=e.bgClass?e.bgClass+" "+(e.line.bgClass||""):e.line.bgClass;if(t&&(t+=" CodeMirror-linebackground"),e.background)t?e.background.className=t:(e.background.parentNode.removeChild(e.background),e.background=null);else if(t){var n=L(e);e.background=n.insertBefore(Ii("div",null,t),n.firstChild)}}function j(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):Fr(e,t)}function I(e,t){var n=t.text.className,r=j(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,V(t)):n&&(t.text.className=n)}function V(e){N(e),e.line.wrapClass?L(e).className=e.line.wrapClass:e.node!=e.text&&(e.node.className="");var t=e.textClass?e.textClass+" "+(e.line.textClass||""):e.line.textClass;e.text.className=t||""}function W(e,t,n,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=L(t);t.gutterBackground=Ii("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var i=L(t),a=t.gutter=Ii("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(e.display.input.setUneditable(a),i.insertBefore(a,t.text),t.line.gutterClass&&(a.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=a.appendChild(Ii("div",_(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var s=0;s1)if(Po&&Po.join("\n")==t){if(r.ranges.length%Po.length==0){l=[];for(var u=0;u=0;u--){var c=r.ranges[u],f=c.from(),d=c.to();c.empty()&&(n&&n>0?f=Ro(f.line,f.ch-n):e.state.overwrite&&!a&&(d=Ro(d.line,Math.min(Kr(o,d.line).text.length,d.ch+Ti(s).length))));var p=e.curOp.updateInput,h={from:f,to:d,text:l?l[u%l.length]:s,origin:i||(a?"paste":e.state.cutIncoming?"cut":"+input")};_n(e.doc,h),wi(e,"inputRead",e,h)}t&&!a&&ee(e,t),Fn(e),e.curOp.updateInput=p,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function Z(e,t){var n=e.clipboardData&&e.clipboardData.getData("text/plain");return n?(e.preventDefault(),Ot(t,function(){J(t,n,0,null,"paste")}),!0):void 0}function ee(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s-1){a=Nn(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(Kr(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Nn(e,i.head.line,"smart"));a&&wi(e,"electricInput",e,i.head.line)}}}function te(e){for(var t=[],n=[],r=0;ri?u.map:c[i],a=0;ai?e.line:e.rest[i]),f=o[a]+r;return(0>r||s!=t)&&(f=o[a+(r?1:0)]),Ro(l,f)}}}var i=e.text.firstChild,o=!1;if(!t||!Va(i,t))return se(Ro(Jr(e.line),0),!0);if(t==i&&(o=!0,t=i.childNodes[n],n=0,!t)){var a=e.rest?Ti(e.rest):e.line;return se(Ro(Jr(a),a.text.length),o)}var s=3==t.nodeType?t:null,l=t;for(s||1!=t.childNodes.length||3!=t.firstChild.nodeType||(s=t.firstChild,n&&(n=s.nodeValue.length));l.parentNode!=i;)l=l.parentNode;var u=e.measure,c=u.maps,f=r(s,l,n);if(f)return se(f,o);for(var d=l.nextSibling,p=s?s.nodeValue.length-n:0;d;d=d.nextSibling){if(f=r(d,d.firstChild,0))return se(Ro(f.line,f.ch-p),o);p+=d.textContent.length}for(var h=l.previousSibling,p=n;h;h=h.previousSibling){if(f=r(h,h.firstChild,-1))return se(Ro(f.line,f.ch+p),o);p+=d.textContent.length}}function ce(e,t,n,r,i){function o(e){return function(t){return t.id==e}}function a(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(null!=n)return""==n&&(n=t.textContent.replace(/\u200b/g,"")),void(s+=n);var c,f=t.getAttribute("cm-marker");if(f){var d=e.findMarks(Ro(r,0),Ro(i+1,0),o(+f));return void(d.length&&(c=d[0].find())&&(s+=Yr(e.doc,c.from,c.to).join(u)))}if("false"==t.getAttribute("contenteditable"))return;for(var p=0;p=0){var a=Y(o.from(),i.from()),s=K(o.to(),i.to()),l=o.empty()?i.from()==i.head:o.from()==o.head;t>=r&&--t,e.splice(--r,2,new de(l?s:a,l?a:s))}}return new fe(e,t)}function he(e,t){return new fe([new de(e,t||e)],0)}function ge(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function ve(e,t){if(t.linen?Ro(n,Kr(e,n).text.length):me(t,Kr(e,t.line).text.length)}function me(e,t){var n=e.ch;return null==n||n>t?Ro(e.line,t):0>n?Ro(e.line,0):e}function ye(e,t){return t>=e.first&&t=o.ch:u.to>o.ch))){if(r&&(Ea(c,"beforeCursorEnter"),c.explicitlyCleared)){if(s.markedSpans){--l;continue}break}if(!c.atomic)continue;var f=c.find(0>a?-1:1);if(0==Do(f,o)&&(f.ch+=a,f.ch<0?f=f.line>e.first?ve(e,Ro(f.line-1)):null:f.ch>s.text.length&&(f=f.linet&&(t=0),t=Math.round(t),r=Math.round(r),s.appendChild(Ii("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px; top: "+t+"px; width: "+(null==n?c-e:n)+"px; height: "+(r-t)+"px"))}function i(t,n,i){function o(n,r){return ft(e,Ro(t,n),"div",f,r)}var s,l,f=Kr(a,t),d=f.text.length;return Xi(ti(f),n||0,null==i?d:i,function(e,t,a){var f,p,h,g=o(e,"left");if(e==t)f=g,p=h=g.left;else{if(f=o(t-1,"right"),"rtl"==a){var v=g;g=f,f=v}p=g.left,h=f.right}null==n&&0==e&&(p=u),f.top-g.top>3&&(r(p,g.top,null,g.bottom),p=u,g.bottoml.bottom||f.bottom==l.bottom&&f.right>l.right)&&(l=f),u+1>p&&(p=u),r(p,f.top,h-p,f.bottom)}),{start:s,end:l}}var o=e.display,a=e.doc,s=document.createDocumentFragment(),l=ze(e.display),u=l.left,c=Math.max(o.sizerWidth,qe(e)-o.sizer.offsetLeft)-l.right,f=t.from(),d=t.to();if(f.line==d.line)i(f.line,f.ch,d.ch);else{var p=Kr(a,f.line),h=Kr(a,d.line),g=gr(p)==gr(h),v=i(f.line,f.ch,g?p.text.length+1:null).end,m=i(d.line,g?0:null,d.ch).start;g&&(v.top0?t.blinker=setInterval(function(){t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function je(e,t){e.doc.mode.startState&&e.doc.frontier=e.display.viewTo)){var n=+new Date+e.options.workTime,r=na(t.mode,We(e,t.frontier)),i=[];t.iter(t.frontier,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(t.frontier>=e.display.viewFrom){var a=o.styles,s=Mr(e,o,r,!0);o.styles=s.styles;var l=o.styleClasses,u=s.classes;u?o.styleClasses=u:l&&(o.styleClasses=null);for(var c=!a||a.length!=o.styles.length||l!=u&&(!l||!u||l.bgClass!=u.bgClass||l.textClass!=u.textClass),f=0;!c&&fn?(je(e,e.options.workDelay),!0):void 0}),i.length&&Ot(e,function(){for(var t=0;ta;--s){if(s<=o.first)return o.first;var l=Kr(o,s-1);if(l.stateAfter&&(!n||s<=o.frontier))return s;var u=Da(l.text,null,e.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}function We(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return!0;var o=Ve(e,t,n),a=o>r.first&&Kr(r,o-1).stateAfter;return a=a?na(r.mode,a):ra(r.mode),r.iter(o,t,function(n){Dr(e,n.text,a);var s=o==t-1||o%5==0||o>=i.viewFrom&&o2&&o.push((l.bottom+u.top)/2-n.top)}}o.push(n.bottom-n.top)}}function Ye(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;rn)return{map:e.measure.maps[r],cache:e.measure.caches[r],before:!0}}function Qe(e,t){t=gr(t);var n=Jr(t),r=e.display.externalMeasured=new Rt(e.doc,t,n);r.lineN=n;var i=r.built=Fr(e,r);return r.text=i.pre,Wi(e.display.lineMeasure,i.pre),r}function Xe(e,t,n,r){return et(e,Ze(e,t),n,r)}function Je(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&tt?(i=0,o=1,a="left"):u>t?(i=t-l,o=i+1):(s==e.length-3||t==u&&e[s+3]>t)&&(o=u-l,i=o-1,t>=u&&(a="right")),null!=i){if(r=e[s+2],l==u&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;s&&e[s-2]==e[s-3]&&e[s-1].insertLeft;)r=e[(s-=3)+2],a="left";if("right"==n&&i==u-l)for(;sc;c++){for(;s&&ji(t.line.text.charAt(o.coverStart+s));)--s;for(;o.coverStart+lgo&&0==s&&l==o.coverEnd-o.coverStart)i=a.parentNode.getBoundingClientRect();else if(ho&&e.options.lineWrapping){var f=La(a,s,l).getClientRects();i=f.length?f["right"==r?f.length-1:0]:jo}else i=La(a,s,l).getBoundingClientRect()||jo;if(i.left||i.right||0==s)break;l=s,s-=1,u="right"}ho&&11>go&&(i=rt(e.display.measure,i))}else{s>0&&(u=r="right");var f;i=e.options.lineWrapping&&(f=a.getClientRects()).length>1?f["right"==r?f.length-1:0]:a.getBoundingClientRect()}if(ho&&9>go&&!s&&(!i||!i.left&&!i.right)){var d=a.parentNode.getClientRects()[0];i=d?{left:d.left,right:d.left+yt(e.display),top:d.top,bottom:d.bottom}:jo}for(var p=i.top-t.rect.top,h=i.bottom-t.rect.top,g=(p+h)/2,v=t.view.measure.heights,c=0;cn.from?a(e-1):a(e,r)}r=r||Kr(e.doc,t.line),i||(i=Ze(e,r));var l=ti(r),u=t.ch;if(!l)return a(u);var c=ao(l,u),f=s(u,c);return null!=Ja&&(f.other=s(u,Ja)),f}function pt(e,t){var n=0,t=ve(e.doc,t);e.options.lineWrapping||(n=yt(e.display)*t.ch);var r=Kr(e.doc,t.line),i=ei(r)+He(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function ht(e,t,n,r){var i=Ro(e,t);return i.xRel=r,n&&(i.outside=!0),i}function gt(e,t,n){var r=e.doc;if(n+=e.display.viewOffset,0>n)return ht(r.first,0,!0,-1);var i=Zr(r,n),o=r.first+r.size-1;if(i>o)return ht(r.first+r.size-1,Kr(r,o).text.length,!0,1);0>t&&(t=0);for(var a=Kr(r,i);;){var s=vt(e,a,i,t,n),l=pr(a),u=l&&l.find(0,!0);if(!l||!(s.ch>u.from.ch||s.ch==u.from.ch&&s.xRel>0))return s;i=Jr(a=u.to.line)}}function vt(e,t,n,r,i){function o(r){var i=dt(e,Ro(n,r),"line",t,u);return s=!0,a>i.bottom?i.left-l:av)return ht(n,p,m,1);for(;;){if(c?p==d||p==lo(t,d,1):1>=p-d){for(var y=h>r||v-r>=r-h?d:p,b=r-(y==d?h:v);ji(t.text.charAt(y));)++y;var w=ht(n,y,y==d?g:m,-1>b?-1:b>1?1:0);return w}var $=Math.ceil(f/2),x=d+$;if(c){x=d;for(var _=0;$>_;++_)x=lo(t,x,1)}var C=o(x);C>r?(p=x,v=C,(m=s)&&(v+=1e3),f=$):(d=x,h=C,g=s,f-=$)}}function mt(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Fo){Fo=Ii("pre");for(var t=0;49>t;++t)Fo.appendChild(document.createTextNode("x")),Fo.appendChild(Ii("br"));Fo.appendChild(document.createTextNode("x"))}Wi(e.measure,Fo);var n=Fo.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),Vi(e.measure),n||1}function yt(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=Ii("span","xxxxxxxxxx"),n=Ii("pre",[t]);Wi(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function bt(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Vo},Io?Io.ops.push(e.curOp):e.curOp.ownsGroup=Io={ops:[e.curOp],delayedCallbacks:[]}}function wt(e){var t=e.delayedCallbacks,n=0;do{for(;n=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new k(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Ct(e){e.updatedDisplay=e.mustUpdate&&S(e.cm,e.update)}function kt(e){var t=e.cm,n=t.display;e.updatedDisplay&&M(t),e.barMeasure=h(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Xe(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Be(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-qe(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Et(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLefto;o=r){var a=new Rt(e.doc,Kr(e.doc,o),o);r=o+a.size,i.push(a)}return i}function Pt(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&nt)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Mo&&mr(e.doc,t)i.viewFrom?Lt(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)Lt(e);else if(t<=i.viewFrom){var o=jt(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):Lt(e)}else if(n>=i.viewTo){var o=jt(e,t,t,-1);o?(i.view=i.view.slice(0,o.index),i.viewTo=o.lineN):Lt(e)}else{var a=jt(e,t,t,-1),s=jt(e,n,n+r,1);a&&s?(i.view=i.view.slice(0,a.index).concat(Dt(e,a.lineN,s.lineN)).concat(i.view.slice(s.index)),i.viewTo+=r):Lt(e)}var l=i.externalMeasured;l&&(n=i.lineN&&t=r.viewTo)){var o=r.view[Nt(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==Ai(a,n)&&a.push(n)}}}function Lt(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Nt(e,t){if(t>=e.display.viewTo)return null;if(t-=e.display.viewFrom,0>t)return null;for(var n=e.display.view,r=0;rt)return r}function jt(e,t,n,r){var i,o=Nt(e,t),a=e.display.view;if(!Mo||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=0,l=e.display.viewFrom;o>s;s++)l+=a[s].size;if(l!=t){if(r>0){if(o==a.length-1)return null;i=l+a[o].size-t,o++}else i=l-t;t+=i,n+=i}for(;mr(e.doc,n)!=n;){if(o==(0>r?0:a.length-1))return null;n+=r*a[o-(0>r?1:0)].size,o+=r}return{index:o,lineN:n}}function It(e,t,n){var r=e.display,i=r.view;0==i.length||t>=r.viewTo||n<=r.viewFrom?(r.view=Dt(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=Dt(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,Nt(e,n)))),r.viewTo=n}function Vt(e){for(var t=e.display.view,n=0,r=0;r400}var i=e.display;Ca(i.scroller,"mousedown",Tt(e,qt)),ho&&11>go?Ca(i.scroller,"dblclick",Tt(e,function(t){if(!xi(e,t)){var n=Bt(e,t);if(n&&!Xt(e,t)&&!zt(e.display,t)){$a(t);var r=e.findWordAt(n);$e(e.doc,r.anchor,r.head)}}})):Ca(i.scroller,"dblclick",function(t){xi(e,t)||$a(t)}),To||Ca(i.scroller,"contextmenu",function(t){vn(e,t)});var o,a={end:0};Ca(i.scroller,"touchstart",function(e){if(!n(e)){clearTimeout(o);var t=+new Date;i.activeTouch={start:t,moved:!1,prev:t-a.end<=300?a:null},1==e.touches.length&&(i.activeTouch.left=e.touches[0].pageX,i.activeTouch.top=e.touches[0].pageY)}}),Ca(i.scroller,"touchmove",function(){i.activeTouch&&(i.activeTouch.moved=!0)}),Ca(i.scroller,"touchend",function(n){var o=i.activeTouch;if(o&&!zt(i,n)&&null!=o.left&&!o.moved&&new Date-o.start<300){var a,s=e.coordsChar(i.activeTouch,"page");a=!o.prev||r(o,o.prev)?new de(s,s):!o.prev.prev||r(o,o.prev.prev)?e.findWordAt(s):new de(Ro(s.line,0),ve(e.doc,Ro(s.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),$a(n)}t()}),Ca(i.scroller,"touchcancel",t),Ca(i.scroller,"scroll",function(){i.scroller.clientHeight&&(en(e,i.scroller.scrollTop),tn(e,i.scroller.scrollLeft,!0),Ea(e,"scroll",e))}),Ca(i.scroller,"mousewheel",function(t){nn(e,t)}),Ca(i.scroller,"DOMMouseScroll",function(t){nn(e,t)}),Ca(i.wrapper,"scroll",function(){i.wrapper.scrollTop=i.wrapper.scrollLeft=0}),i.dragFunctions={simple:function(t){xi(e,t)||_a(t)},start:function(t){Zt(e,t)},drop:Tt(e,Jt)};var s=i.input.getField();Ca(s,"keyup",function(t){fn.call(e,t)}),Ca(s,"keydown",Tt(e,un)),Ca(s,"keypress",Tt(e,dn)),Ca(s,"focus",Fi(hn,e)),Ca(s,"blur",Fi(gn,e))}function Ht(t,n,r){var i=r&&r!=e.Init;if(!n!=!i){var o=t.display.dragFunctions,a=n?Ca:ka;a(t.display.scroller,"dragstart",o.start),a(t.display.scroller,"dragenter",o.simple),a(t.display.scroller,"dragover",o.simple),a(t.display.scroller,"drop",o.drop)}}function Ut(e){var t=e.display;(t.lastWrapHeight!=t.wrapper.clientHeight||t.lastWrapWidth!=t.wrapper.clientWidth)&&(t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize())}function zt(e,t){for(var n=yi(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return!0}function Bt(e,t,n,r){var i=e.display;if(!n&&"true"==yi(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(t){return null}var l,u=gt(e,o,a);if(r&&1==u.xRel&&(l=Kr(e.doc,u.line).text).length==u.ch){var c=Da(l,l.length,e.options.tabSize)-l.length;u=Ro(u.line,Math.max(0,Math.round((o-ze(e.display).left)/yt(e.display))-c))}return u}function qt(e){var t=this,n=t.display;if(!(n.activeTouch&&n.input.supportsTouch()||xi(t,e))){if(n.shift=e.shiftKey,zt(n,e))return void(vo||(n.scroller.draggable=!1,setTimeout(function(){n.scroller.draggable=!0},100)));if(!Xt(t,e)){var r=Bt(t,e);switch(window.focus(),bi(e)){case 1:r?Gt(t,e,r):yi(e)==n.scroller&&$a(e);break;case 2:vo&&(t.state.lastMiddleDown=+new Date),r&&$e(t.doc,r),setTimeout(function(){n.input.focus()},20),$a(e);break;case 3:To?vn(t,e):pn(t)}}}}function Gt(e,t,n){ho?setTimeout(Fi(Q,e),0):e.curOp.focus=Hi();var r,i=+new Date;No&&No.time>i-400&&0==Do(No.pos,n)?r="triple":Lo&&Lo.time>i-400&&0==Do(Lo.pos,n)?(r="double",No={time:i,pos:n}):(r="single",Lo={time:i,pos:n});var o,a=e.doc.sel,s=ko?t.metaKey:t.ctrlKey;e.options.dragDrop&&qa&&!X(e)&&"single"==r&&(o=a.contains(n))>-1&&(Do((o=a.ranges[o]).from(),n)<0||n.xRel>0)&&(Do(o.to(),n)>0||n.xRel<0)?Kt(e,t,n,s):Yt(e,t,n,r,s)}function Kt(e,t,n,r){var i=e.display,o=+new Date,a=Tt(e,function(s){vo&&(i.scroller.draggable=!1),e.state.draggingText=!1,ka(document,"mouseup",a),ka(i.scroller,"drop",a),Math.abs(t.clientX-s.clientX)+Math.abs(t.clientY-s.clientY)<10&&($a(s),!r&&+new Date-200=h;h++){var m=Kr(u,h).text,y=Si(m,l,o);l==p?i.push(new de(Ro(h,y),Ro(h,y))):m.length>y&&i.push(new de(Ro(h,y),Ro(h,Si(m,p,o))))}i.length||i.push(new de(n,n)),Se(u,pe(d.ranges.slice(0,f).concat(i),f),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b=c,w=b.anchor,$=t;if("single"!=r){if("double"==r)var x=e.findWordAt(t);else var x=new de(Ro(t.line,0),ve(u,Ro(t.line+1,0)));Do(x.anchor,w)>0?($=x.head,w=Y(b.from(),x.anchor)):($=x.anchor,w=K(b.to(),x.head))}var i=d.ranges.slice(0);i[f]=new de(ve(u,w),$),Se(u,pe(i,f),Ma)}}function a(t){var n=++y,i=Bt(e,t,!0,"rect"==r);if(i)if(0!=Do(i,v)){e.curOp.focus=Hi(),o(i);var s=w(l,u);(i.line>=s.to||i.linem.bottom?20:0;c&&setTimeout(Tt(e,function(){y==n&&(l.scroller.scrollTop+=c,a(t))}),50)}}function s(e){y=1/0,$a(e),l.input.focus(),ka(document,"mousemove",b),ka(document,"mouseup",$),u.history.lastSelOrigin=null}var l=e.display,u=e.doc;$a(t);var c,f,d=u.sel,p=d.ranges;if(i&&!t.shiftKey?(f=u.sel.contains(n),c=f>-1?p[f]:new de(n,n)):(c=u.sel.primary(),f=u.sel.primIndex),t.altKey)r="rect",i||(c=new de(n,n)),n=Bt(e,t,!0,!0),f=-1;else if("double"==r){var h=e.findWordAt(n);c=e.display.shift||u.extend?we(u,c,h.anchor,h.head):h}else if("triple"==r){var g=new de(Ro(n.line,0),ve(u,Ro(n.line+1,0)));c=e.display.shift||u.extend?we(u,c,g.anchor,g.head):g}else c=we(u,c,n);i?-1==f?(f=p.length,Se(u,pe(p.concat([c]),f),{scroll:!1,origin:"*mouse"})):p.length>1&&p[f].empty()&&"single"==r&&!t.shiftKey?(Se(u,pe(p.slice(0,f).concat(p.slice(f+1)),0)),d=u.sel):_e(u,f,c,Ma):(f=0,Se(u,new fe([c],0),Ma),d=u.sel);var v=n,m=l.wrapper.getBoundingClientRect(),y=0,b=Tt(e,function(e){bi(e)?a(e):s(e)}),$=Tt(e,s);Ca(document,"mousemove",b),Ca(document,"mouseup",$)}function Qt(e,t,n,r,i){try{var o=t.clientX,a=t.clientY}catch(t){return!1}if(o>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&$a(t);var s=e.display,l=s.lineDiv.getBoundingClientRect();if(a>l.bottom||!Ci(e,n))return mi(t);a-=l.top-s.viewOffset;for(var u=0;u=o){var f=Zr(e.doc,a),d=e.options.gutters[u];return i(e,n,e,f,d,t),mi(t)}}}function Xt(e,t){return Qt(e,t,"gutterClick",!0,wi)}function Jt(e){var t=this;if(!xi(t,e)&&!zt(t.display,e)){$a(e),ho&&(Wo=+new Date);var n=Bt(t,e,!0),r=e.dataTransfer.files;if(n&&!X(t))if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),a=0,s=function(e,r){var s=new FileReader;s.onload=Tt(t,function(){if(o[r]=s.result,++a==i){n=ve(t.doc,n);var e={from:n,to:n,text:t.doc.splitLines(o.join(t.doc.lineSeparator())),origin:"paste"};_n(t.doc,e),Ee(t.doc,he(n,Go(e)))}}),s.readAsText(e)},l=0;i>l;++l)s(r[l],l);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout(function(){t.display.input.focus()},20);try{var o=e.dataTransfer.getData("Text");if(o){if(t.state.draggingText&&!(ko?e.altKey:e.ctrlKey))var u=t.listSelections();if(Oe(t.doc,he(n,n)),u)for(var l=0;la.clientWidth||i&&a.scrollHeight>a.clientHeight){if(i&&ko&&vo)e:for(var s=t.target,l=o.view;s!=a;s=s.parentNode)for(var u=0;uc?f=Math.max(0,f+c-50):d=Math.min(e.doc.height,d+c+50),T(e,{top:f,bottom:d})}20>Ho&&(null==o.wheelStartX?(o.wheelStartX=a.scrollLeft,o.wheelStartY=a.scrollTop,o.wheelDX=r,o.wheelDY=i,setTimeout(function(){if(null!=o.wheelStartX){var e=a.scrollLeft-o.wheelStartX,t=a.scrollTop-o.wheelStartY,n=t&&o.wheelDY&&t/o.wheelDY||e&&o.wheelDX&&e/o.wheelDX;o.wheelStartX=o.wheelStartY=null,n&&(Uo=(Uo*Ho+n)/(Ho+1),++Ho)}},200)):(o.wheelDX+=r,o.wheelDY+=i))}}function rn(e,t,n){if("string"==typeof t&&(t=ia[t],!t))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{X(e)&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=Ta}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}function on(e,t,n){for(var r=0;rgo&&27==e.keyCode&&(e.returnValue=!1);var n=e.keyCode;t.display.shift=16==n||e.shiftKey;var r=sn(t,e);bo&&(qo=r?n:null,!r&&88==n&&!Ya&&(ko?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),18!=n||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||cn(t)}}function cn(e){function t(e){18!=e.keyCode&&e.altKey||(Ua(n,"CodeMirror-crosshair"),ka(document,"keyup",t),ka(document,"mouseover",t))}var n=e.display.lineDiv;za(n,"CodeMirror-crosshair"),Ca(document,"keyup",t),Ca(document,"mouseover",t)}function fn(e){16==e.keyCode&&(this.doc.sel.shift=!1),xi(this,e)}function dn(e){var t=this;if(!(zt(t.display,e)||xi(t,e)||e.ctrlKey&&!e.altKey||ko&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(bo&&n==qo)return qo=null,void $a(e);if(!bo||e.which&&!(e.which<10)||!sn(t,e)){var i=String.fromCharCode(null==r?n:r);ln(t,e,i)||t.display.input.onKeyPress(e)}}}function pn(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,gn(e))},100)}function hn(e){ +e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(Ea(e,"focus",e),e.state.focused=!0,za(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),vo&&setTimeout(function(){e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Ne(e))}function gn(e){e.state.delayingBlurEvent||(e.state.focused&&(Ea(e,"blur",e),e.state.focused=!1,Ua(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function vn(e,t){zt(e.display,t)||mn(e,t)||e.display.input.onContextMenu(t)}function mn(e,t){return Ci(e,"gutterContextMenu")?Qt(e,t,"gutterContextMenu",!1,Ea):!1}function yn(e,t){if(Do(e,t.from)<0)return e;if(Do(e,t.to)<=0)return Go(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=Go(t).ch-t.to.ch),Ro(n,r)}function bn(e,t){for(var n=[],r=0;r=0;--i)Cn(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text});else Cn(e,t)}}function Cn(e,t){if(1!=t.text.length||""!=t.text[0]||0!=Do(t.from,t.to)){var n=bn(e,t);ai(e,t,n,e.cm?e.cm.curOp.id:NaN),Sn(e,t,n,nr(e,t));var r=[];qr(e,function(e,n){n||-1!=Ai(r,e.history)||(vi(e.history,t),r.push(e.history)),Sn(e,t,null,nr(e,t))})}}function kn(e,t,n){if(!e.cm||!e.cm.state.suppressEdits){for(var r,i=e.history,o=e.sel,a="undo"==t?i.done:i.undone,s="undo"==t?i.undone:i.done,l=0;l=0;--l){var f=r.changes[l];if(f.origin=t,c&&!xn(e,f,!1))return void(a.length=0);u.push(ri(e,f));var d=l?bn(e,f):Ti(a);Sn(e,f,d,ir(e,f)),!l&&e.cm&&e.cm.scrollIntoView({from:f.from,to:Go(f)});var p=[];qr(e,function(e,t){t||-1!=Ai(p,e.history)||(vi(e.history,f),p.push(e.history)),Sn(e,f,null,ir(e,f))})}}}}function En(e,t){if(0!=t&&(e.first+=t,e.sel=new fe(Mi(e.sel.ranges,function(e){return new de(Ro(e.anchor.line+t,e.anchor.ch),Ro(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){Pt(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:Ro(o,Kr(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Yr(e,t.from,t.to),n||(n=bn(e,t)),e.cm?On(e.cm,t,r):Ur(e,t,r),Oe(e,n,Aa)}}function On(e,t,n){var r=e.doc,i=e.display,a=t.from,s=t.to,l=!1,u=a.line;e.options.lineWrapping||(u=Jr(gr(Kr(r,a.line))),r.iter(u,s.line+1,function(e){return e==i.maxLine?(l=!0,!0):void 0})),r.sel.contains(t.from,t.to)>-1&&_i(e),Ur(r,t,n,o(e)),e.options.lineWrapping||(r.iter(u,a.line+t.text.length,function(e){var t=f(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,l=!1)}),l&&(e.curOp.updateMaxLine=!0)),r.frontier=Math.min(r.frontier,a.line),je(e,400);var c=t.text.length-(s.line-a.line)-1;t.full?Pt(e):a.line!=s.line||1!=t.text.length||Hr(e.doc,t)?Pt(e,a.line,s.line+1,c):Ft(e,a.line,"text");var d=Ci(e,"changes"),p=Ci(e,"change");if(p||d){var h={from:a,to:s,text:t.text,removed:t.removed,origin:t.origin};p&&wi(e,"change",e,h),d&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(h)}e.display.selForContextMenu=null}function Tn(e,t,n,r,i){if(r||(r=n),Do(r,n)<0){var o=r;r=n,n=o}"string"==typeof t&&(t=e.splitLines(t)),_n(e,{from:n,to:r,text:t,origin:i})}function An(e,t){if(!xi(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!xo){var o=Ii("div","​",null,"position: absolute; top: "+(t.top-n.viewOffset-He(e.display))+"px; height: "+(t.bottom-t.top+Be(e)+n.barHeight)+"px; left: "+t.left+"px; width: 2px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}function Mn(e,t,n,r){null==r&&(r=0);for(var i=0;5>i;i++){var o=!1,a=dt(e,t),s=n&&n!=t?dt(e,n):a,l=Dn(e,Math.min(a.left,s.left),Math.min(a.top,s.top)-r,Math.max(a.left,s.left),Math.max(a.bottom,s.bottom)+r),u=e.doc.scrollTop,c=e.doc.scrollLeft;if(null!=l.scrollTop&&(en(e,l.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(o=!0)),null!=l.scrollLeft&&(tn(e,l.scrollLeft),Math.abs(e.doc.scrollLeft-c)>1&&(o=!0)),!o)break}return a}function Rn(e,t,n,r,i){var o=Dn(e,t,n,r,i);null!=o.scrollTop&&en(e,o.scrollTop),null!=o.scrollLeft&&tn(e,o.scrollLeft)}function Dn(e,t,n,r,i){var o=e.display,a=mt(e.display);0>n&&(n=0);var s=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:o.scroller.scrollTop,l=Ge(e),u={};i-n>l&&(i=n+l);var c=e.doc.height+Ue(o),f=a>n,d=i>c-a;if(s>n)u.scrollTop=f?0:n;else if(i>s+l){var p=Math.min(n,(d?c:i)-l);p!=s&&(u.scrollTop=p)}var h=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:o.scroller.scrollLeft,g=qe(e)-(e.options.fixedGutter?o.gutters.offsetWidth:0),v=r-t>g;return v&&(r=t+g),10>t?u.scrollLeft=0:h>t?u.scrollLeft=Math.max(0,t-(v?0:10)):r>g+h-3&&(u.scrollLeft=r+(v?0:10)-g),u}function Pn(e,t,n){(null!=t||null!=n)&&Ln(e),null!=t&&(e.curOp.scrollLeft=(null==e.curOp.scrollLeft?e.doc.scrollLeft:e.curOp.scrollLeft)+t),null!=n&&(e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+n)}function Fn(e){Ln(e);var t=e.getCursor(),n=t,r=t;e.options.lineWrapping||(n=t.ch?Ro(t.line,t.ch-1):t,r=Ro(t.line,t.ch+1)),e.curOp.scrollToPos={from:n,to:r,margin:e.options.cursorScrollMargin,isCursor:!0}}function Ln(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=pt(e,t.from),r=pt(e,t.to),i=Dn(e,Math.min(n.left,r.left),Math.min(n.top,r.top)-t.margin,Math.max(n.right,r.right),Math.max(n.bottom,r.bottom)+t.margin);e.scrollTo(i.scrollLeft,i.scrollTop)}}function Nn(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=We(e,t):n="prev");var a=e.options.tabSize,s=Kr(o,t),l=Da(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var u,c=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&(u=o.mode.indent(i,s.text.slice(c.length),s.text),u==Ta||u>150)){if(!r)return;n="prev"}}else u=0,n="not";"prev"==n?u=t>o.first?Da(Kr(o,t-1).text,null,a):0:"add"==n?u=l+e.options.indentUnit:"subtract"==n?u=l-e.options.indentUnit:"number"==typeof n&&(u=l+n),u=Math.max(0,u);var f="",d=0;if(e.options.indentWithTabs)for(var p=Math.floor(u/a);p;--p)d+=a,f+=" ";if(u>d&&(f+=Oi(u-d)),f!=c)return Tn(o,f,Ro(t,0),Ro(t,c.length),"+input"),s.stateAfter=null,!0;for(var p=0;p=0;t--)Tn(e.doc,"",r[t].from,r[t].to,"+delete");Fn(e)})}function Vn(e,t,n,r,i){function o(){var t=s+n;return t=e.first+e.size?f=!1:(s=t,c=Kr(e,t))}function a(e){var t=(i?lo:uo)(c,l,n,!0);if(null==t){if(e||!o())return f=!1;l=i?(0>n?to:eo)(c):0>n?c.text.length:0}else l=t;return!0}var s=t.line,l=t.ch,u=n,c=Kr(e,s),f=!0;if("char"==r)a();else if("column"==r)a(!0);else if("word"==r||"group"==r)for(var d=null,p="group"==r,h=e.cm&&e.cm.getHelper(t,"wordChars"),g=!0;!(0>n)||a(!g);g=!1){var v=c.text.charAt(l)||"\n",m=Li(v,h)?"w":p&&"\n"==v?"n":!p||/\s/.test(v)?null:"p";if(!p||g||m||(m="s"),d&&d!=m){0>n&&(n=1,a());break}if(m&&(d=m),n>0&&!a(!g))break}var y=Re(e,Ro(s,l),u,!0);return f||(y.hitSide=!0),y}function Wn(e,t,n,r){var i,o=e.doc,a=t.left;if("page"==r){var s=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight);i=t.top+n*(s-(0>n?1.5:.5)*mt(e.display))}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;;){var l=gt(e,a,i);if(!l.outside)break;if(0>n?0>=i:i>=o.height){l.hitSide=!0;break}i+=5*n}return l}function Hn(t,n,r,i){e.defaults[t]=n,r&&(Yo[t]=i?function(e,t,n){n!=Qo&&r(e,t,n)}:r)}function Un(e){for(var t,n,r,i,o=e.split(/-(?!$)/),e=o[o.length-1],a=0;a0||0==a&&o.clearWhenEmpty!==!1)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=Ii("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(hr(e,t.line,t,n,o)||t.line!=n.line&&hr(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Mo=!0}o.addToHistory&&ai(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,u=e.cm;if(e.iter(l,n.line+1,function(e){u&&o.collapsed&&!u.options.lineWrapping&&gr(e)==u.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&Xr(e,0),Zn(e,new Qn(o,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l}),o.collapsed&&e.iter(t.line,n.line+1,function(t){br(e,t)&&Xr(t,0)}),o.clearOnEnter&&Ca(o,"beforeCursorEnter",function(){o.clear()}),o.readOnly&&(Ao=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++ca,o.atomic=!0),u){if(s&&(u.curOp.updateMaxLine=!0),o.collapsed)Pt(u,t.line,n.line+1);else if(o.className||o.title||o.startStyle||o.endStyle||o.css)for(var c=t.line;c<=n.line;c++)Ft(u,c,"text");o.atomic&&Ae(u.doc),wi(u,"markerAdded",u,o)}return o}function qn(e,t,n,r,i){r=Pi(r),r.shared=!1;var o=[Bn(e,t,n,r,i)],a=o[0],s=r.widgetNode;return qr(e,function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(Bn(e,ve(e,t),ve(e,n),r,i));for(var l=0;l=t:o.to>t);(r||(r=[])).push(new Qn(a,o.from,l?null:o.to))}}return r}function tr(e,t,n){if(e)for(var r,i=0;i=t:o.to>t);if(s||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var l=null==o.from||(a.inclusiveLeft?o.from<=t:o.from0&&s)for(var f=0;ff;++f)h.push(g);h.push(l)}return h}function rr(e){for(var t=0;t0)){var c=[l,1],f=Do(u.from,s.from),d=Do(u.to,s.to);(0>f||!a.inclusiveLeft&&!f)&&c.push({from:u.from,to:s.from}),(d>0||!a.inclusiveRight&&!d)&&c.push({from:s.to,to:u.to}),i.splice.apply(i,c),l+=c.length-1}}return i}function ar(e){var t=e.markedSpans;if(t){for(var n=0;n=0&&0>=f||0>=c&&f>=0)&&(0>=c&&(Do(u.to,n)>0||l.marker.inclusiveRight&&i.inclusiveLeft)||c>=0&&(Do(u.from,r)<0||l.marker.inclusiveLeft&&i.inclusiveRight)))return!0}}}function gr(e){for(var t;t=dr(e);)e=t.find(-1,!0).line;return e}function vr(e){for(var t,n;t=pr(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function mr(e,t){var n=Kr(e,t),r=gr(n);return n==r?t:Jr(r)}function yr(e,t){if(t>e.lastLine())return t;var n,r=Kr(e,t);if(!br(e,r))return t;for(;n=pr(r);)r=n.find(1,!0).line;return Jr(r)+1}function br(e,t){var n=Mo&&t.markedSpans;if(n)for(var r,i=0;io;o++){i&&(i[0]=e.innerMode(t,r).mode);var a=t.token(n,r);if(n.pos>n.start)return a}throw new Error("Mode "+t.name+" failed to advance stream.")}function Tr(e,t,n,r){function i(e){return{start:f.start,end:f.pos,string:f.current(),type:o||null,state:e?na(a.mode,c):c}}var o,a=e.doc,s=a.mode;t=ve(a,t);var l,u=Kr(a,t.line),c=We(e,t.line,n),f=new ua(u.text,e.options.tabSize);for(r&&(l=[]);(r||f.pose.options.maxHighlightLength?(s=!1,a&&Dr(e,t,r,f.pos),f.pos=t.length,l=null):l=Er(Or(n,f,r,d),o),d){var p=d[0].name;p&&(l="m-"+(l?p+" "+l:p))}if(!s||c!=l){for(;uu;){var r=i[l];r>e&&i.splice(l,1,e,i[l+1],r),l+=2,u=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,"cm-overlay "+t),l=n+2;else for(;l>n;n+=2){var o=i[n+1];i[n+1]=(o?o+" ":"")+"cm-overlay "+t}},o)}return{styles:i,classes:o.bgClass||o.textClass?o:null}}function Rr(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=Mr(e,t,t.stateAfter=We(e,Jr(t)));t.styles=r.styles,r.classes?t.styleClasses=r.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.frontier&&e.doc.frontier++}return t.styles}function Dr(e,t,n,r){var i=e.doc.mode,o=new ua(t,e.options.tabSize);for(o.start=o.pos=r||0,""==t&&Sr(i,n);!o.eol()&&o.pos<=e.options.maxHighlightLength;)Or(i,o,n),o.start=o.pos}function Pr(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?va:ga;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function Fr(e,t){var n=Ii("span",null,null,vo?"padding-right: .1px":null),r={pre:Ii("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,splitSpaces:(ho||vo)&&e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o,a=i?t.rest[i-1]:t.line;r.pos=0,r.addToken=Nr,Yi(e.display.measure)&&(o=ti(a))&&(r.addToken=Ir(r.addToken,o)),r.map=[];var s=t!=e.display.externalMeasured&&Jr(a);Wr(a,r,Rr(e,a,s)),a.styleClasses&&(a.styleClasses.bgClass&&(r.bgClass=zi(a.styleClasses.bgClass,r.bgClass||"")),a.styleClasses.textClass&&(r.textClass=zi(a.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Ki(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}return vo&&/\bcm-tab\b/.test(r.content.lastChild.className)&&(r.content.className="cm-tab-wrap-hack"),Ea(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=zi(r.pre.className,r.textClass||"")),r}function Lr(e){var t=Ii("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Nr(e,t,n,r,i,o,a){if(t){var s=e.splitSpaces?t.replace(/ {3,}/g,jr):t,l=e.cm.state.specialChars,u=!1;if(l.test(t))for(var c=document.createDocumentFragment(),f=0;;){l.lastIndex=f;var d=l.exec(t),p=d?d.index-f:t.length-f;if(p){var h=document.createTextNode(s.slice(f,f+p));ho&&9>go?c.appendChild(Ii("span",[h])):c.appendChild(h),e.map.push(e.pos,e.pos+p,h),e.col+=p,e.pos+=p}if(!d)break;if(f+=p+1," "==d[0]){var g=e.cm.options.tabSize,v=g-e.col%g,h=c.appendChild(Ii("span",Oi(v),"cm-tab"));h.setAttribute("role","presentation"),h.setAttribute("cm-text"," "),e.col+=v}else if("\r"==d[0]||"\n"==d[0]){var h=c.appendChild(Ii("span","\r"==d[0]?"␍":"␤","cm-invalidchar"));h.setAttribute("cm-text",d[0]),e.col+=1}else{var h=e.cm.options.specialCharPlaceholder(d[0]);h.setAttribute("cm-text",d[0]),ho&&9>go?c.appendChild(Ii("span",[h])):c.appendChild(h),e.col+=1}e.map.push(e.pos,e.pos+1,h),e.pos++}else{e.col+=t.length;var c=document.createTextNode(s);e.map.push(e.pos,e.pos+t.length,c),ho&&9>go&&(u=!0),e.pos+=t.length}if(n||r||i||u||a){var m=n||"";r&&(m+=r),i&&(m+=i);var y=Ii("span",[c],m,a);return o&&(y.title=o),e.content.appendChild(y)}e.content.appendChild(c)}}function jr(e){for(var t=" ",n=0;nu&&d.from<=u)break}if(d.to>=c)return e(n,r,i,o,a,s,l);e(n,r.slice(0,d.to-u),i,o,null,s,l),o=null,r=r.slice(d.to-u),u=d.to}}}function Vr(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t}function Wr(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,u,c,f,d,p=i.length,h=0,g=1,v="",m=0;;){if(m==h){l=u=c=f=s="",d=null,m=1/0;for(var y=[],b=0;bh||$.collapsed&&w.to==h&&w.from==h)?(null!=w.to&&w.to!=h&&m>w.to&&(m=w.to,u=""),$.className&&(l+=" "+$.className),$.css&&(s=$.css),$.startStyle&&w.from==h&&(c+=" "+$.startStyle),$.endStyle&&w.to==m&&(u+=" "+$.endStyle),$.title&&!f&&(f=$.title),$.collapsed&&(!d||cr(d.marker,$)<0)&&(d=w)):w.from>h&&m>w.from&&(m=w.from)}if(d&&(d.from||0)==h){if(Vr(t,(null==d.to?p+1:d.to)-h,d.marker,null==d.from),null==d.to)return;d.to==h&&(d=!1)}if(!d&&y.length)for(var b=0;b=p)break;for(var x=Math.min(p,m);;){if(v){var _=h+v.length;if(!d){var C=_>x?v.slice(0,x-h):v;t.addToken(t,C,a?a+l:l,c,h+C.length==m?u:"",f,s)}if(_>=x){v=v.slice(x-h),h=x;break}h=_,c=""}v=i.slice(o,o=n[g++]),a=Pr(n[g++],t.cm.options)}}else for(var g=1;gn;++n)o.push(new ha(u[n],i(n),r));return o}var s=t.from,l=t.to,u=t.text,c=Kr(e,s.line),f=Kr(e,l.line),d=Ti(u),p=i(u.length-1),h=l.line-s.line;if(t.full)e.insert(0,a(0,u.length)),e.remove(u.length,e.size-u.length);else if(Hr(e,t)){var g=a(0,u.length-1);o(f,f.text,p),h&&e.remove(s.line,h),g.length&&e.insert(s.line,g)}else if(c==f)if(1==u.length)o(c,c.text.slice(0,s.ch)+d+c.text.slice(l.ch),p);else{var g=a(1,u.length-1);g.push(new ha(d+c.text.slice(l.ch),p,r)),o(c,c.text.slice(0,s.ch)+u[0],i(0)),e.insert(s.line+1,g)}else if(1==u.length)o(c,c.text.slice(0,s.ch)+u[0]+f.text.slice(l.ch),i(0)),e.remove(s.line+1,h);else{o(c,c.text.slice(0,s.ch)+u[0],i(0)),o(f,d+f.text.slice(l.ch),p);var g=a(1,u.length-1);h>1&&e.remove(s.line+1,h-1),e.insert(s.line+1,g)}wi(e,"change",e,t)}function zr(e){this.lines=e,this.parent=null;for(var t=0,n=0;tt||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(o>t){n=i;break}t-=o}return n.lines[t]}function Yr(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i}),r}function Qr(e,t,n){var r=[];return e.iter(t,n,function(e){r.push(e.text)}),r}function Xr(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function Jr(e){if(null==e.parent)return null;for(var t=e.parent,n=Ai(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function Zr(e,t){var n=e.first;e:do{for(var r=0;rt){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var r=0;rt)break;t-=s}return n+r}function ei(e){e=gr(e);for(var t=0,n=e.parent,r=0;r1&&!e.done[e.done.length-2].ranges?(e.done.pop(),Ti(e.done)):void 0}function ai(e,t,n,r){var i=e.history;i.undone.length=0;var o,a=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&e.cm&&i.lastModTime>a-e.cm.options.historyEventDelay||"*"==t.origin.charAt(0)))&&(o=oi(i,i.lastOp==r))){var s=Ti(o.changes);0==Do(t.from,t.to)&&0==Do(t.from,s.to)?s.to=Go(t):o.changes.push(ri(e,t))}else{var l=Ti(i.done);for(l&&l.ranges||ui(e.sel,i.done),o={changes:[ri(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=a,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,s||Ea(e,"historyAdded")}function si(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function li(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||si(e,o,Ti(i.done),t))?i.done[i.done.length-1]=t:ui(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&r.clearRedo!==!1&&ii(i.undone)}function ui(e,t){var n=Ti(t);n&&n.ranges&&n.equals(e)||t.push(e)}function ci(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o})}function fi(e){if(!e)return null;for(var t,n=0;n-1&&(Ti(s)[f]=c[f],delete c[f])}}}return i}function hi(e,t,n,r){n0}function ki(e){e.prototype.on=function(e,t){Ca(this,e,t); +},e.prototype.off=function(e,t){ka(this,e,t)}}function Ei(){this.id=null}function Si(e,t,n){for(var r=0,i=0;;){var o=e.indexOf(" ",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}}function Oi(e){for(;Pa.length<=e;)Pa.push(Ti(Pa)+" ");return Pa[e]}function Ti(e){return e[e.length-1]}function Ai(e,t){for(var n=0;n-1&&ja(e)?!0:t.test(e):ja(e)}function Ni(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}function ji(e){return e.charCodeAt(0)>=768&&Ia.test(e)}function Ii(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o0;--t)e.removeChild(e.firstChild);return e}function Wi(e,t){return Vi(e).appendChild(t)}function Hi(){for(var e=document.activeElement;e&&e.root&&e.root.activeElement;)e=e.root.activeElement;return e}function Ui(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}function zi(e,t){for(var n=e.split(" "),r=0;r2&&!(ho&&8>go))}var n=Wa?Ii("span","​"):Ii("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Yi(e){if(null!=Ha)return Ha;var t=Wi(e,document.createTextNode("AخA")),n=La(t,0,1).getBoundingClientRect();if(!n||n.left==n.right)return!1;var r=La(t,1,2).getBoundingClientRect();return Ha=r.right-n.right<3}function Qi(e){if(null!=Qa)return Qa;var t=Wi(e,Ii("span","x")),n=t.getBoundingClientRect(),r=La(t,0,1).getBoundingClientRect();return Qa=Math.abs(n.left-r.left)>1}function Xi(e,t,n,r){if(!e)return r(t,n,"ltr");for(var i=!1,o=0;ot||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr"),i=!0)}i||r(t,n,"ltr")}function Ji(e){return e.level%2?e.to:e.from}function Zi(e){return e.level%2?e.from:e.to}function eo(e){var t=ti(e);return t?Ji(t[0]):0}function to(e){var t=ti(e);return t?Zi(Ti(t)):e.text.length}function no(e,t){var n=Kr(e.doc,t),r=gr(n);r!=n&&(t=Jr(r));var i=ti(r),o=i?i[0].level%2?to(r):eo(r):0;return Ro(t,o)}function ro(e,t){for(var n,r=Kr(e.doc,t);n=pr(r);)r=n.find(1,!0).line,t=null;var i=ti(r),o=i?i[0].level%2?eo(r):to(r):r.text.length;return Ro(null==t?Jr(r):t,o)}function io(e,t){var n=no(e,t.line),r=Kr(e.doc,n.line),i=ti(r);if(!i||0==i[0].level){var o=Math.max(0,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return Ro(n.line,a?0:o)}return n}function oo(e,t,n){var r=e[0].level;return t==r?!0:n==r?!1:n>t}function ao(e,t){Ja=null;for(var n,r=0;rt)return r;if(i.from==t||i.to==t){if(null!=n)return oo(e,i.level,e[n].level)?(i.from!=i.to&&(Ja=n),r):(i.from!=i.to&&(Ja=r),n);n=r}}return n}function so(e,t,n,r){if(!r)return t+n;do t+=n;while(t>0&&ji(e.text.charAt(t)));return t}function lo(e,t,n,r){var i=ti(e);if(!i)return uo(e,t,n,r);for(var o=ao(i,t),a=i[o],s=so(e,t,a.level%2?-n:n,r);;){if(s>a.from&&s0==a.level%2?a.to:a.from);if(a=i[o+=n],!a)return null;s=n>0==a.level%2?so(e,a.to,-1,r):so(e,a.from,1,r)}}function uo(e,t,n,r){var i=t+n;if(r)for(;i>0&&ji(e.text.charAt(i));)i+=n;return 0>i||i>e.text.length?null:i}var co=/gecko\/\d/i.test(navigator.userAgent),fo=/MSIE \d/.test(navigator.userAgent),po=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),ho=fo||po,go=ho&&(fo?document.documentMode||6:po[1]),vo=/WebKit\//.test(navigator.userAgent),mo=vo&&/Qt\/\d+\.\d+/.test(navigator.userAgent),yo=/Chrome\//.test(navigator.userAgent),bo=/Opera\//.test(navigator.userAgent),wo=/Apple Computer/.test(navigator.vendor),$o=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(navigator.userAgent),xo=/PhantomJS/.test(navigator.userAgent),_o=/AppleWebKit/.test(navigator.userAgent)&&/Mobile\/\w+/.test(navigator.userAgent),Co=_o||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(navigator.userAgent),ko=_o||/Mac/.test(navigator.platform),Eo=/win/i.test(navigator.platform),So=bo&&navigator.userAgent.match(/Version\/(\d*\.\d*)/);So&&(So=Number(So[1])),So&&So>=15&&(bo=!1,vo=!0);var Oo=ko&&(mo||bo&&(null==So||12.11>So)),To=co||ho&&go>=9,Ao=!1,Mo=!1;g.prototype=Pi({update:function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=e.scrollWidth-e.clientWidth+o+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedOverlay&&e.clientHeight>0&&(0==r&&this.overlayHack(),this.checkedOverlay=!0),{right:n?r:0,bottom:t?r:0}},setScrollLeft:function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e)},setScrollTop:function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e)},overlayHack:function(){var e=ko&&!$o?"12px":"18px";this.horiz.style.minHeight=this.vert.style.minWidth=e;var t=this,n=function(e){yi(e)!=t.vert&&yi(e)!=t.horiz&&Tt(t.cm,qt)(e)};Ca(this.vert,"mousedown",n),Ca(this.horiz,"mousedown",n)},clear:function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)}},g.prototype),v.prototype=Pi({update:function(){return{bottom:0,right:0}},setScrollLeft:function(){},setScrollTop:function(){},clear:function(){}},v.prototype),e.scrollbarModel={"native":g,"null":v},k.prototype.signal=function(e,t){Ci(e,t)&&this.events.push(arguments)},k.prototype.finish=function(){for(var e=0;e=9&&n.hasSelection&&(n.hasSelection=null),n.poll()}),Ca(o,"paste",function(e){return Z(e,r)?!0:(r.state.pasteIncoming=!0,void n.fastPoll())}),Ca(o,"cut",t),Ca(o,"copy",t),Ca(e.scroller,"paste",function(t){zt(e,t)||(r.state.pasteIncoming=!0,n.focus())}),Ca(e.lineSpace,"selectstart",function(t){zt(e,t)||$a(t)}),Ca(o,"compositionstart",function(){var e=r.getCursor("from");n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}}),Ca(o,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},prepareSelection:function(){var e=this.cm,t=e.display,n=e.doc,r=Pe(e);if(e.options.moveInputWithCursor){var i=dt(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},showSelection:function(e){var t=this.cm,n=t.display;Wi(n.cursorDiv,e.cursors),Wi(n.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},reset:function(e){if(!this.contextMenuPending){var t,n,r=this.cm,i=r.doc;if(r.somethingSelected()){this.prevInput="";var o=i.sel.primary();t=Ya&&(o.to().line-o.from().line>100||(n=r.getSelection()).length>1e3);var a=t?"-":n||r.getSelection();this.textarea.value=a,r.state.focused&&Fa(this.textarea),ho&&go>=9&&(this.hasSelection=a)}else e||(this.prevInput=this.textarea.value="",ho&&go>=9&&(this.hasSelection=null));this.inaccurateSelection=t}},getField:function(){return this.textarea},supportsTouch:function(){return!1},focus:function(){if("nocursor"!=this.cm.options.readOnly&&(!Co||Hi()!=this.textarea))try{this.textarea.focus()}catch(e){}},blur:function(){this.textarea.blur()},resetPosition:function(){this.wrapper.style.top=this.wrapper.style.left=0},receivedFocus:function(){this.slowPoll()},slowPoll:function(){var e=this;e.pollingFast||e.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},fastPoll:function(){function e(){var r=n.poll();r||t?(n.pollingFast=!1,n.slowPoll()):(t=!0,n.polling.set(60,e))}var t=!1,n=this;n.pollingFast=!0,n.polling.set(20,e)},poll:function(){var e=this.cm,t=this.textarea,n=this.prevInput;if(this.contextMenuPending||!e.state.focused||Ka(t)&&!n&&!this.composing||X(e)||e.options.disableInput||e.state.keySeq)return!1;var r=t.value;if(r==n&&!e.somethingSelected())return!1;if(ho&&go>=9&&this.hasSelection===r||ko&&/[\uf700-\uf7ff]/.test(r))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){var i=r.charCodeAt(0);if(8203!=i||n||(n="​"),8666==i)return this.reset(),this.cm.execCommand("undo")}for(var o=0,a=Math.min(n.length,r.length);a>o&&n.charCodeAt(o)==r.charCodeAt(o);)++o;var s=this;return Ot(e,function(){J(e,r.slice(o),n.length-o,null,s.composing?"*compose":null),r.length>1e3||r.indexOf("\n")>-1?t.value=s.prevInput="":s.prevInput=r,s.composing&&(s.composing.range.clear(),s.composing.range=e.markText(s.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ensurePolled:function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},onKeyPress:function(){ho&&go>=9&&(this.hasSelection=null),this.fastPoll()},onContextMenu:function(e){function t(){if(null!=a.selectionStart){var e=i.somethingSelected(),t="​"+(e?a.value:"");a.value="⇚",a.value=t,r.prevInput=e?"":"​",a.selectionStart=1,a.selectionEnd=t.length,o.selForContextMenu=i.doc.sel}}function n(){if(r.contextMenuPending=!1,r.wrapper.style.position="relative",a.style.cssText=c,ho&&9>go&&o.scrollbars.setScrollTop(o.scroller.scrollTop=l),null!=a.selectionStart){(!ho||ho&&9>go)&&t();var e=0,n=function(){o.selForContextMenu==i.doc.sel&&0==a.selectionStart&&a.selectionEnd>0&&"​"==r.prevInput?Tt(i,ia.selectAll)(i):e++<10?o.detectingSelectAll=setTimeout(n,500):o.input.reset()};o.detectingSelectAll=setTimeout(n,200)}}var r=this,i=r.cm,o=i.display,a=r.textarea,s=Bt(i,e),l=o.scroller.scrollTop;if(s&&!bo){var u=i.options.resetSelectionOnContextMenu;u&&-1==i.doc.sel.contains(s)&&Tt(i,Se)(i.doc,he(s),Aa);var c=a.style.cssText;if(r.wrapper.style.position="absolute",a.style.cssText="position: fixed; width: 30px; height: 30px; top: "+(e.clientY-5)+"px; left: "+(e.clientX-5)+"px; z-index: 1000; background: "+(ho?"rgba(255, 255, 255, .05)":"transparent")+"; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",vo)var f=window.scrollY;if(o.input.focus(),vo&&window.scrollTo(null,f),o.input.reset(),i.somethingSelected()||(a.value=r.prevInput=" "),r.contextMenuPending=!0,o.selForContextMenu=i.doc.sel,clearTimeout(o.detectingSelectAll),ho&&go>=9&&t(),To){_a(e);var d=function(){ka(window,"mouseup",d),setTimeout(n,20)};Ca(window,"mouseup",d)}else setTimeout(n,50)}},setUneditable:Ri,needsContentAttribute:!1},re.prototype),oe.prototype=Pi({init:function(e){function t(e){if(r.somethingSelected())Po=r.getSelections(),"cut"==e.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var t=te(r);Po=t.text,"cut"==e.type&&r.operation(function(){r.setSelections(t.ranges,0,Aa),r.replaceSelection("",null,"cut")})}if(e.clipboardData&&!_o)e.preventDefault(),e.clipboardData.clearData(),e.clipboardData.setData("text/plain",Po.join("\n"));else{var n=ie(),i=n.firstChild;r.display.lineSpace.insertBefore(n,r.display.lineSpace.firstChild),i.value=Po.join("\n");var o=document.activeElement;Fa(i),setTimeout(function(){r.display.lineSpace.removeChild(n),o.focus()},50)}}var n=this,r=n.cm,i=n.div=e.lineDiv;i.contentEditable="true",ne(i),Ca(i,"paste",function(e){Z(e,r)}),Ca(i,"compositionstart",function(e){var t=e.data;if(n.composing={sel:r.doc.sel,data:t,startData:t},t){var i=r.doc.sel.primary(),o=r.getLine(i.head.line),a=o.indexOf(t,Math.max(0,i.head.ch-t.length));a>-1&&a<=i.head.ch&&(n.composing.sel=he(Ro(i.head.line,a),Ro(i.head.line,a+t.length)))}}),Ca(i,"compositionupdate",function(e){n.composing.data=e.data}),Ca(i,"compositionend",function(e){var t=n.composing;t&&(e.data==t.startData||/\u200b/.test(e.data)||(t.data=e.data),setTimeout(function(){t.handled||n.applyComposition(t),n.composing==t&&(n.composing=null)},50))}),Ca(i,"touchstart",function(){n.forceCompositionEnd()}),Ca(i,"input",function(){n.composing||n.pollContent()||Ot(n.cm,function(){Pt(r)})}),Ca(i,"copy",t),Ca(i,"cut",t)},prepareSelection:function(){var e=Pe(this.cm,!1);return e.focus=this.cm.state.focused,e},showSelection:function(e){e&&this.cm.display.view.length&&(e.focus&&this.showPrimarySelection(),this.showMultipleSelections(e))},showPrimarySelection:function(){var e=window.getSelection(),t=this.cm.doc.sel.primary(),n=le(this.cm,e.anchorNode,e.anchorOffset),r=le(this.cm,e.focusNode,e.focusOffset);if(!n||n.bad||!r||r.bad||0!=Do(Y(n,r),t.from())||0!=Do(K(n,r),t.to())){var i=ae(this.cm,t.from()),o=ae(this.cm,t.to());if(i||o){var a=this.cm.display.view,s=e.rangeCount&&e.getRangeAt(0);if(i){if(!o){var l=a[a.length-1].measure,u=l.maps?l.maps[l.maps.length-1]:l.map;o={node:u[u.length-1],offset:u[u.length-2]-u[u.length-3]}}}else i={node:a[0].measure.map[2],offset:0};try{var c=La(i.node,i.offset,o.offset,o.node)}catch(f){}c&&(e.removeAllRanges(),e.addRange(c),s&&null==e.anchorNode?e.addRange(s):co&&this.startGracePeriod()),this.rememberSelection()}}},startGracePeriod:function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){e.cm.curOp.selectionChanged=!0})},20)},showMultipleSelections:function(e){Wi(this.cm.display.cursorDiv,e.cursors),Wi(this.cm.display.selectionDiv,e.selection)},rememberSelection:function(){var e=window.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},selectionInEditor:function(){var e=window.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return Va(this.div,t)},focus:function(){"nocursor"!=this.cm.options.readOnly&&this.div.focus()},blur:function(){this.div.blur()},getField:function(){return this.div},supportsTouch:function(){return!0},receivedFocus:function(){function e(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,e))}var t=this;this.selectionInEditor()?this.pollSelection():Ot(this.cm,function(){t.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,e)},selectionChanged:function(){var e=window.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},pollSelection:function(){if(!this.composing&&!this.gracePeriod&&this.selectionChanged()){var e=window.getSelection(),t=this.cm;this.rememberSelection();var n=le(t,e.anchorNode,e.anchorOffset),r=le(t,e.focusNode,e.focusOffset);n&&r&&Ot(t,function(){Se(t.doc,he(n,r),Aa),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)})}},pollContent:function(){var e=this.cm,t=e.display,n=e.doc.sel.primary(),r=n.from(),i=n.to();if(r.linet.viewTo-1)return!1;var o;if(r.line==t.viewFrom||0==(o=Nt(e,r.line)))var a=Jr(t.view[0].line),s=t.view[0].node;else var a=Jr(t.view[o].line),s=t.view[o-1].node.nextSibling;var l=Nt(e,i.line);if(l==t.view.length-1)var u=t.viewTo-1,c=t.lineDiv.lastChild;else var u=Jr(t.view[l+1].line)-1,c=t.view[l+1].node.previousSibling;for(var f=e.doc.splitLines(ce(e,s,c,a,u)),d=Yr(e.doc,Ro(a,0),Ro(u,Kr(e.doc,u).text.length));f.length>1&&d.length>1;)if(Ti(f)==Ti(d))f.pop(),d.pop(),u--;else{if(f[0]!=d[0])break;f.shift(),d.shift(),a++}for(var p=0,h=0,g=f[0],v=d[0],m=Math.min(g.length,v.length);m>p&&g.charCodeAt(p)==v.charCodeAt(p);)++p;for(var y=Ti(f),b=Ti(d),w=Math.min(y.length-(1==f.length?p:0),b.length-(1==d.length?p:0));w>h&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1);)++h;f[f.length-1]=y.slice(0,y.length-h),f[0]=f[0].slice(p);var $=Ro(a,p),x=Ro(u,d.length?Ti(d).length-h:0);return f.length>1||f[0]||Do($,x)?(Tn(e.doc,f,$,x,"+input"),!0):void 0},ensurePolled:function(){this.forceCompositionEnd()},reset:function(){this.forceCompositionEnd()},forceCompositionEnd:function(){this.composing&&!this.composing.handled&&(this.applyComposition(this.composing),this.composing.handled=!0,this.div.blur(),this.div.focus())},applyComposition:function(e){e.data&&e.data!=e.startData&&Tt(this.cm,J)(this.cm,e.data,0,e.sel)},setUneditable:function(e){e.setAttribute("contenteditable","false")},onKeyPress:function(e){e.preventDefault(),Tt(this.cm,J)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0)},onContextMenu:Ri,resetPosition:Ri,needsContentAttribute:!0},oe.prototype),e.inputStyles={textarea:re,contenteditable:oe},fe.prototype={primary:function(){return this.ranges[this.primIndex]},equals:function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t=0&&Do(e,r.to())<=0)return n}return-1}},de.prototype={from:function(){return Y(this.anchor,this.head)},to:function(){return K(this.anchor,this.head)},empty:function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}};var Fo,Lo,No,jo={left:0,right:0,top:0,bottom:0},Io=null,Vo=0,Wo=0,Ho=0,Uo=null;ho?Uo=-.53:co?Uo=15:yo?Uo=-.7:wo&&(Uo=-1/3);var zo=function(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}};e.wheelEventPixels=function(e){var t=zo(e);return t.x*=Uo,t.y*=Uo,t};var Bo=new Ei,qo=null,Go=e.changeEnd=function(e){return e.text?Ro(e.from.line+e.text.length-1,Ti(e.text).length+(1==e.text.length?e.from.ch:0)):e.to};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,t){var n=this.options,r=n[e];(n[e]!=t||"mode"==e)&&(n[e]=t,Yo.hasOwnProperty(e)&&Tt(this,Yo[e])(this,t,r))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](zn(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nn&&(Nn(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&Fn(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;n>l;++l)Nn(this,l,e);var u=this.doc.sel.ranges;0==o.ch&&t.length==u.length&&u[r].from().ch>0&&_e(this.doc,r,new de(o,u[r].to()),Aa)}}}),getTokenAt:function(e,t){return Tr(this,e,t)},getLineTokens:function(e,t){return Tr(this,Ro(e),t,!0)},getTokenTypeAt:function(e){e=ve(this.doc,e);var t,n=Rr(this,Kr(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]s?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var n=[];if(!ta.hasOwnProperty(t))return n;var r=ta[t],i=this.getModeAt(e);if("string"==typeof i[t])r[i[t]]&&n.push(r[i[t]]);else if(i[t])for(var o=0;oi&&(e=i,r=!0),n=Kr(this.doc,e)}else n=e;return ut(this,n,{top:0,left:0},t||"page").top+(r?this.doc.height-ei(n):0)},defaultTextHeight:function(){return mt(this.display)},defaultCharWidth:function(){return yt(this.display)},setGutterMarker:At(function(e,t,n){return jn(this.doc,e,"gutter",function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&Ni(r)&&(e.gutterMarkers=null),!0})}),clearGutter:At(function(e){var t=this,n=t.doc,r=n.first;n.iter(function(n){n.gutterMarkers&&n.gutterMarkers[e]&&(n.gutterMarkers[e]=null,Ft(t,r,"gutter"),Ni(n.gutterMarkers)&&(n.gutterMarkers=null)),++r})}),lineInfo:function(e){if("number"==typeof e){if(!ye(this.doc,e))return null;var t=e;if(e=Kr(this.doc,e),!e)return null}else{var t=Jr(e);if(null==t)return null}return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display;e=dt(this,ve(this.doc,e));var a=e.bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),u=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>u&&(s=u-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&Rn(this,s,a,s+t.offsetWidth,a+t.offsetHeight)},triggerOnKeyDown:At(un),triggerOnKeyPress:At(dn),triggerOnKeyUp:fn,execCommand:function(e){return ia.hasOwnProperty(e)?ia[e](this):void 0},triggerElectric:At(function(e){ee(this,e)}),findPosH:function(e,t,n,r){var i=1;0>t&&(i=-1,t=-t);for(var o=0,a=ve(this.doc,e);t>o&&(a=Vn(this.doc,a,i,n,r),!a.hitSide);++o);return a},moveH:At(function(e,t){var n=this;n.extendSelectionsBy(function(r){return n.display.shift||n.doc.extend||r.empty()?Vn(n.doc,r.head,e,t,n.options.rtlMoveVisually):0>e?r.from():r.to()},Ra)}),deleteH:At(function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):In(this,function(n){var i=Vn(r,n.head,e,t,!1);return 0>e?{from:i,to:n.head}:{from:n.head,to:i}})}),findPosV:function(e,t,n,r){var i=1,o=r;0>t&&(i=-1,t=-t);for(var a=0,s=ve(this.doc,e);t>a;++a){var l=dt(this,s,"div");if(null==o?o=l.left:l.left=o,s=Wn(this,l,i,n),s.hitSide)break}return s},moveV:At(function(e,t){var n=this,r=this.doc,i=[],o=!n.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy(function(a){if(o)return 0>e?a.from():a.to();var s=dt(n,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=Wn(n,s,e,t);return"page"==t&&a==r.sel.primary()&&Pn(n,null,ft(n,l,"div").top-s.top),l},Ra),i.length)for(var a=0;a0&&s(n.charAt(r-1));)--r;for(;i.5)&&a(this),Ea(this,"refresh",this)}),swapDoc:At(function(e){var t=this.doc;return t.cm=null,Gr(this,e),at(this),this.display.input.reset(),this.scrollTo(e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,wi(this,"swapDoc",this,t),t}),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}},ki(e);var Ko=e.defaults={},Yo=e.optionHandlers={},Qo=e.Init={toString:function(){return"CodeMirror.Init"}};Hn("value","",function(e,t){e.setValue(t)},!0),Hn("mode",null,function(e,t){e.doc.modeOption=t,n(e)},!0),Hn("indentUnit",2,n,!0),Hn("indentWithTabs",!1),Hn("smartIndent",!0),Hn("tabSize",4,function(e){r(e),at(e),Pt(e)},!0),Hn("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter(function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(Ro(r,o))}r++});for(var i=n.length-1;i>=0;i--)Tn(e.doc,t,n[i],Ro(n[i].line,n[i].ch+t.length))}}),Hn("specialChars",/[\t\u0000-\u0019\u00ad\u200b-\u200f\u2028\u2029\ufeff]/g,function(t,n,r){t.state.specialChars=new RegExp(n.source+(n.test(" ")?"":"| "),"g"),r!=e.Init&&t.refresh()}),Hn("specialCharPlaceholder",Lr,function(e){e.refresh()},!0),Hn("electricChars",!0),Hn("inputStyle",Co?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),Hn("rtlMoveVisually",!Eo),Hn("wholeLineUpdateBefore",!0),Hn("theme","default",function(e){s(e),l(e)},!0),Hn("keyMap","default",function(t,n,r){var i=zn(n),o=r!=e.Init&&zn(r);o&&o.detach&&o.detach(t,i),i.attach&&i.attach(t,o||null)}),Hn("extraKeys",null),Hn("lineWrapping",!1,i,!0),Hn("gutters",[],function(e){p(e.options),l(e)},!0),Hn("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?C(e.display)+"px":"0",e.refresh()},!0),Hn("coverGutterNextToScrollbar",!1,function(e){y(e)},!0),Hn("scrollbarStyle","native",function(e){m(e),y(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),Hn("lineNumbers",!1,function(e){p(e.options),l(e)},!0),Hn("firstLineNumber",1,l,!0),Hn("lineNumberFormatter",function(e){return e},l,!0),Hn("showCursorWhenSelecting",!1,De,!0),Hn("resetSelectionOnContextMenu",!0),Hn("lineWiseCopyCut",!0),Hn("readOnly",!1,function(e,t){"nocursor"==t?(gn(e),e.display.input.blur(),e.display.disabled=!0):(e.display.disabled=!1,t||e.display.input.reset())}),Hn("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),Hn("dragDrop",!0,Ht),Hn("cursorBlinkRate",530),Hn("cursorScrollMargin",0),Hn("cursorHeight",1,De,!0),Hn("singleCursorHeightPerLine",!0,De,!0),Hn("workTime",100),Hn("workDelay",100),Hn("flattenSpans",!0,r,!0),Hn("addModeClass",!1,r,!0),Hn("pollInterval",100),Hn("undoDepth",200,function(e,t){e.doc.history.undoDepth=t}),Hn("historyEventDelay",1250),Hn("viewportMargin",10,function(e){e.refresh()},!0),Hn("maxHighlightLength",1e4,r,!0),Hn("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),Hn("tabindex",null,function(e,t){e.display.input.getField().tabIndex=t||""}),Hn("autofocus",null);var Xo=e.modes={},Jo=e.mimeModes={};e.defineMode=function(t,n){e.defaults.mode||"null"==t||(e.defaults.mode=t),arguments.length>2&&(n.dependencies=Array.prototype.slice.call(arguments,2)), +Xo[t]=n},e.defineMIME=function(e,t){Jo[e]=t},e.resolveMode=function(t){if("string"==typeof t&&Jo.hasOwnProperty(t))t=Jo[t];else if(t&&"string"==typeof t.name&&Jo.hasOwnProperty(t.name)){var n=Jo[t.name];"string"==typeof n&&(n={name:n}),t=Di(n,t),t.name=n.name}else if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+xml$/.test(t))return e.resolveMode("application/xml");return"string"==typeof t?{name:t}:t||{name:"null"}},e.getMode=function(t,n){var n=e.resolveMode(n),r=Xo[n.name];if(!r)return e.getMode(t,"text/plain");var i=r(t,n);if(Zo.hasOwnProperty(n.name)){var o=Zo[n.name];for(var a in o)o.hasOwnProperty(a)&&(i.hasOwnProperty(a)&&(i["_"+a]=i[a]),i[a]=o[a])}if(i.name=n.name,n.helperType&&(i.helperType=n.helperType),n.modeProps)for(var a in n.modeProps)i[a]=n.modeProps[a];return i},e.defineMode("null",function(){return{token:function(e){e.skipToEnd()}}}),e.defineMIME("text/plain","null");var Zo=e.modeExtensions={};e.extendMode=function(e,t){var n=Zo.hasOwnProperty(e)?Zo[e]:Zo[e]={};Pi(t,n)},e.defineExtension=function(t,n){e.prototype[t]=n},e.defineDocExtension=function(e,t){ya.prototype[e]=t},e.defineOption=Hn;var ea=[];e.defineInitHook=function(e){ea.push(e)};var ta=e.helpers={};e.registerHelper=function(t,n,r){ta.hasOwnProperty(t)||(ta[t]=e[t]={_global:[]}),ta[t][n]=r},e.registerGlobalHelper=function(t,n,r,i){e.registerHelper(t,n,i),ta[t]._global.push({pred:r,val:i})};var na=e.copyState=function(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n},ra=e.startState=function(e,t,n){return e.startState?e.startState(t,n):!0};e.innerMode=function(e,t){for(;e.innerMode;){var n=e.innerMode(t);if(!n||n.mode==e)break;t=n.state,e=n.mode}return n||{mode:e,state:t}};var ia=e.commands={selectAll:function(e){e.setSelection(Ro(e.firstLine(),0),Ro(e.lastLine()),Aa)},singleSelection:function(e){e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Aa)},killLine:function(e){In(e,function(t){if(t.empty()){var n=Kr(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)i=new Ro(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),Ro(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=Kr(e.doc,i.line-1).text;a&&e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),Ro(i.line-1,a.length-1),Ro(i.line,1),"+transpose")}n.push(new de(i,i))}e.setSelections(n)})},newlineAndIndent:function(e){Ot(e,function(){for(var t=e.listSelections().length,n=0;t>n;n++){var r=e.listSelections()[n];e.replaceRange(e.doc.lineSeparator(),r.anchor,r.head,"+input"),e.indentLine(r.from().line+1,null,!0),Fn(e)}})},toggleOverwrite:function(e){e.toggleOverwrite()}},oa=e.keyMap={};oa.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"},oa.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"},oa.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"},oa.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"]},oa["default"]=ko?oa.macDefault:oa.pcDefault,e.normalizeKeyMap=function(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete e[n];continue}for(var i=Mi(n.split(" "),Un),o=0;o=this.string.length},sol:function(){return this.pos==this.lineStart},peek:function(){return this.string.charAt(this.pos)||void 0},next:function(){return this.post},eatSpace:function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},skipToEnd:function(){this.pos=this.string.length},skipTo:function(e){var t=this.string.indexOf(e,this.pos);return t>-1?(this.pos=t,!0):void 0},backUp:function(e){this.pos-=e},column:function(){return this.lastColumnPos0?null:(r&&t!==!1&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e},o=this.string.substr(this.pos,e.length);return i(o)==i(e)?(t!==!1&&(this.pos+=e.length),!0):void 0},current:function(){return this.string.slice(this.start,this.pos)},hideFirstChars:function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}}};var ca=0,fa=e.TextMarker=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++ca};ki(fa),fa.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&bt(e),Ci(this,"clear")){var n=this.find();n&&wi(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;oe.display.maxLineLength&&(e.display.maxLine=l,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Pt(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Ae(e.doc)),e&&wi(e,"markerCleared",e,this),t&&$t(e),this.parent&&this.parent.clear()}},fa.prototype.find=function(e,t){null==e&&"bookmark"==this.type&&(e=1);for(var n,r,i=0;in;++n){var i=this.lines[n];this.height-=i.height,kr(i),wi(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;re;++e)if(n(this.lines[e]))return!0}},Br.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var n=0;ne){var o=Math.min(t,i-e),a=r.height;if(r.removeInner(e,o),this.height-=a-r.height,i==o&&(this.children.splice(n--,1),r.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof zr))){var s=[];this.collapse(s),this.children=[new zr(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t=e){if(i.insertInner(e,t,n),i.lines&&i.lines.length>50){for(;i.lines.length>50;){var a=i.lines.splice(i.lines.length-25,25),s=new zr(a);i.height-=s.height,this.children.splice(r+1,0,s),s.parent=this}this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),n=new Br(t);if(e.parent){e.size-=n.size,e.height-=n.height;var r=Ai(e.parent.children,e);e.parent.children.splice(r+1,0,n)}else{var i=new Br(e.children);i.parent=e,e.children=[i,n],e=i}n.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;re){var a=Math.min(t,o-e);if(i.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var ma=0,ya=e.Doc=function(e,t,n,r){if(!(this instanceof ya))return new ya(e,t,n,r);null==n&&(n=0),Br.call(this,[new zr([new ha("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.frontier=n;var i=Ro(n,0);this.sel=he(i),this.history=new ni(null),this.id=++ma,this.modeOption=t,this.lineSep=r,"string"==typeof e&&(e=this.splitLines(e)),Ur(this,{from:i,to:i,text:e}),Se(this,he(i),Aa)};ya.prototype=Di(Br.prototype,{constructor:ya,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r=0;o--)_n(this,r[o]);s?Ee(this,s):this.cm&&Fn(this.cm)}),undo:Mt(function(){kn(this,"undo")}),redo:Mt(function(){kn(this,"redo")}),undoSelection:Mt(function(){kn(this,"undo",!0)}),redoSelection:Mt(function(){kn(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=ve(this,e),t=ve(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var a=o.markedSpans;if(a)for(var s=0;sl.to||null==l.from&&i!=e.line||i==t.line&&l.from>t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var r=0;re?(t=e,!0):(e-=i,void++n)}),ve(this,Ro(n,t))},indexFromPos:function(e){e=ve(this,e);var t=e.ch;return e.linet&&(t=e.from),null!=e.to&&e.tos||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}},Pa=[""],Fa=function(e){e.select()};_o?Fa=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:ho&&(Fa=function(e){try{e.select()}catch(t){}});var La,Na=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,ja=e.isWordChar=function(e){return/\w/.test(e)||e>"€"&&(e.toUpperCase()!=e.toLowerCase()||Na.test(e))},Ia=/[\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]/;La=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(i){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var Va=e.contains=function(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do if(11==t.nodeType&&(t=t.host),t==e)return!0;while(t=t.parentNode)};ho&&11>go&&(Hi=function(){try{return document.activeElement}catch(e){return document.body}});var Wa,Ha,Ua=e.rmClass=function(e,t){var n=e.className,r=Ui(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}},za=e.addClass=function(e,t){var n=e.className;Ui(t).test(n)||(e.className+=(n?" ":"")+t)},Ba=!1,qa=function(){if(ho&&9>go)return!1;var e=Ii("div");return"draggable"in e||"dragDrop"in e}(),Ga=e.splitLines=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;r>=t;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Ka=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){try{var t=e.ownerDocument.selection.createRange()}catch(n){}return t&&t.parentElement()==e?0!=t.compareEndPoints("StartToEnd",t):!1},Ya=function(){var e=Ii("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),Qa=null,Xa={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",107:"=",109:"-",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"};e.keyNames=Xa,function(){for(var e=0;10>e;e++)Xa[e+48]=Xa[e+96]=String(e);for(var e=65;90>=e;e++)Xa[e]=String.fromCharCode(e);for(var e=1;12>=e;e++)Xa[e+111]=Xa[e+63235]="F"+e}();var Ja,Za=function(){function e(e){return 247>=e?n.charAt(e):e>=1424&&1524>=e?"R":e>=1536&&1773>=e?r.charAt(e-1536):e>=1774&&2220>=e?"r":e>=8192&&8203>=e?"w":8204==e?"b":"L"}function t(e,t,n){this.level=e,this.from=t,this.to=n}var n="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",r="rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm",i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,o=/[stwN]/,a=/[LRr]/,s=/[Lb1n]/,l=/[1n]/,u="L";return function(n){if(!i.test(n))return!1;for(var r,c=n.length,f=[],d=0;c>d;++d)f.push(r=e(n.charCodeAt(d))); +for(var d=0,p=u;c>d;++d){var r=f[d];"m"==r?f[d]=p:p=r}for(var d=0,h=u;c>d;++d){var r=f[d];"1"==r&&"r"==h?f[d]="n":a.test(r)&&(h=r,"r"==r&&(f[d]="R"))}for(var d=1,p=f[0];c-1>d;++d){var r=f[d];"+"==r&&"1"==p&&"1"==f[d+1]?f[d]="1":","!=r||p!=f[d+1]||"1"!=p&&"n"!=p||(f[d]=p),p=r}for(var d=0;c>d;++d){var r=f[d];if(","==r)f[d]="N";else if("%"==r){for(var g=d+1;c>g&&"%"==f[g];++g);for(var v=d&&"!"==f[d-1]||c>g&&"1"==f[g]?"1":"N",m=d;g>m;++m)f[m]=v;d=g-1}}for(var d=0,h=u;c>d;++d){var r=f[d];"L"==h&&"1"==r?f[d]="L":a.test(r)&&(h=r)}for(var d=0;c>d;++d)if(o.test(f[d])){for(var g=d+1;c>g&&o.test(f[g]);++g);for(var y="L"==(d?f[d-1]:u),b="L"==(c>g?f[g]:u),v=y||b?"L":"R",m=d;g>m;++m)f[m]=v;d=g-1}for(var w,$=[],d=0;c>d;)if(s.test(f[d])){var x=d;for(++d;c>d&&s.test(f[d]);++d);$.push(new t(0,x,d))}else{var _=d,C=$.length;for(++d;c>d&&"L"!=f[d];++d);for(var m=_;d>m;)if(l.test(f[m])){m>_&&$.splice(C,0,new t(1,_,m));var k=m;for(++m;d>m&&l.test(f[m]);++m);$.splice(C,0,new t(2,k,m)),_=m}else++m;d>_&&$.splice(C,0,new t(1,_,d))}return 1==$[0].level&&(w=n.match(/^\s+/))&&($[0].from=w[0].length,$.unshift(new t(0,0,w[0].length))),1==Ti($).level&&(w=n.match(/\s+$/))&&(Ti($).to-=w[0].length,$.push(new t(0,c-w[0].length,c))),2==$[0].level&&$.unshift(new t(1,$[0].to,$[0].to)),$[0].level!=Ti($).level&&$.push(new t($[0].level,c,c)),$}}();return e.version="5.5.0",e})},function(e,t,n){n(162),e.exports=angular},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;ni;i++){var a=n[i];t[a.name()]=a}return t}},{key:"listActions",value:function(e){return arguments.length?(this._listActions=e,this):this._listActions}}]),t}(u["default"]);t["default"]=d,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;nr;r++){var o=e[r][n];if(o)if(o instanceof Array)for(var a in o)t[o[a]]=!0;else t[o]=!0}return Object.keys(t)}},{key:"getSortFieldName",value:function(){return this.sortField()?this._targetEntity.name()+"_ListView."+this.sortField():null}},{key:"remoteComplete",value:function(e,t){return arguments.length?(this._remoteComplete=e,t&&this.remoteCompleteOptions(t),this):this._remoteComplete}},{key:"remoteCompleteOptions",value:function(e){return arguments.length?(this._remoteCompleteOptions=e,this):this._remoteCompleteOptions}}]),t}(u["default"]);t["default"]=c,e.exports=t["default"]},function(e,t){function n(){u=!1,a.length?l=a.concat(l):c=-1,l.length&&r()}function r(){if(!u){var e=setTimeout(n);u=!0;for(var t=l.length;t;){for(a=l,l=[];++c1)for(var n=1;n=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},t.setImmediate="function"==typeof e?e:function(e){var n=u++,r=arguments.length<2?!1:s.call(arguments,1);return l[n]=!0,o(function(){l[n]&&(r?e.apply(null,r):e.call(null),t.clearImmediate(n))}),n},t.clearImmediate="function"==typeof r?r:function(e){delete l[e]}}).call(t,n(10).setImmediate,n(10).clearImmediate)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n0}},{key:"template",value:function(e){return arguments.length?(this._template=e,this):this._template}}]),e}();t["default"]=i,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;nr;r++)e[r]=this.fillReferencesValuesFromEntry(e[r],t,n);return e}},{key:"mapEntry",value:function(e,t,n,r){return console.log("DataStore.mapEntry() is deprecated, please use Entry.createFromRest() instead"),new s["default"].createFromRest(r,n,e,t.name())}},{key:"mapEntries",value:function(e,t,n,r){return console.log("DataStore.mapEntries() is deprecated, please use Entry.createArrayFromRest() instead"),s["default"].createArrayFromRest(r,n,e,t.name())}},{key:"fillReferencesValuesFromEntry",value:function(e,t,n){for(var r in t){var i=t[r],o=this.getReferenceChoicesById(i),a=[],s=i.getMappedValue(e.values[r],e.values);if("reference_many"===i.type()){for(var l in s){var u=s[l];a.push(o[u])}e.listValues[r]=a}else n&&s&&s in o&&(e.listValues[r]=i.getMappedValue(o[s],e.values))}return e}},{key:"getReferenceChoicesById",value:function(e){for(var t={},n=e.targetField().name(),r=e.targetEntity().identifier().name(),i=this.getEntries(e.targetEntity().uniqueId+"_values"),o=0,a=i.length;a>o;o++){var s=i[o];t[s.values[r]]=s.values[n]}return t}}]),e}();t["default"]=l,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n0}},{key:"addChild",value:function(t){if(!(t instanceof e))throw new Error("Only Menu instances are accepted as children of a Menu");return this._children.push(t),this}},{key:"hasChild",value:function(){return this._children.length>0}},{key:"getChildByTitle",value:function(e){return this.children().filter(function(t){return t.title()==e}).pop()}},{key:"children",value:function(){return arguments.length?(this._children=arguments[0],this):this._children}},{key:"icon",value:function(){return arguments.length?(this._icon=arguments[0],this):this._icon}},{key:"template",value:function(){return arguments.length?(this._template=arguments[0],this):this._template}},{key:"populateFromEntity",value:function(e){if(!(e instanceof l["default"]))throw new Error("populateFromEntity() only accepts an Entity parameter");return this.title(e.label()),this.active(function(t){return 0===t.indexOf("/"+e.name()+"/")}),this.link("/"+e.name()+"/list"),this.icon(e.menuView().icon()),this}}]),e}();t["default"]=c,e.exports=t["default"]},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function i(e,t,r){n(this,i),this._restWrapper=e,this._promisesResolver=t,this._application=r};t["default"]=r,e.exports=t["default"]},function(e,t){"use strict";function n(e){return null===e?!1:"object"!=typeof e?!1:Array.isArray(e)?!1:"[object Date]"===Object.prototype.toString.call(e)?!1:!0}function r(e){return Object.keys(e).reduce(function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t},{})}function i(e){var t=arguments.length<=1||void 0===arguments[1]?[]:arguments[1];if("object"!=typeof e)throw new Error("Expecting an object parameter");return Object.keys(e).reduce(function(o,a){return e.hasOwnProperty(a)?(n(e[a])?-1===t.indexOf(a)?!function(){var t=i(e[a]);Object.keys(t).forEach(function(e){t.hasOwnProperty(e)&&(o[a+"."+e]=t[e])})}():o[a]=r(e[a]):o[a]=e[a],o):o},{})}function o(e){if("object"!=typeof e)throw new Error("Expecting an object parameter");return Object.keys(e).reduce(function(t,n){return e.hasOwnProperty(n)?(n.split(".").reduce(function(t,r,i,o){return"undefined"==typeof t[r]&&(t[r]={}),i'},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return'
'}}},function(e,t,n){var r;(function(e,i){(function(){function o(e,t){if(e!==t){var n=null===e,r=e===S,i=e===e,o=null===t,a=t===S,s=t===t;if(e>t&&!o||!i||n&&!a&&s||r&&s)return 1;if(t>e&&!n||!s||o&&!r&&i||a&&i)return-1}return 0}function a(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i-1;);return n}function f(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function d(e,t){return o(e.criteria,t.criteria)||e.index-t.index}function p(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,s=i.length,l=n.length;++r=l)return u;var c=n[r];return u*("asc"===c||c===!0?1:-1)}}return e.index-t.index}function h(e){return qe[e]}function g(e){return Ge[e]}function v(e,t,n){return t?e=Qe[e]:n&&(e=Xe[e]),"\\"+e}function m(e){return"\\"+Xe[e]}function y(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i=e&&e>=9&&13>=e||32==e||160==e||5760==e||6158==e||e>=8192&&(8202>=e||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function $(e,t){for(var n=-1,r=e.length,i=-1,o=[];++nt,i=n?e.length:0,o=qn(0,i,this.__views__),a=o.start,s=o.end,l=s-a,u=r?s:a-1,c=this.__iteratees__,f=c.length,d=0,p=_a(l,this.__takeCount__);if(!n||H>i||i==l&&p==l)return nn(r&&n?e.reverse():e,this.__actions__);var h=[];e:for(;l--&&p>d;){u+=t;for(var g=-1,v=e[u];++g=H?gn(t):null,u=t.length;l&&(o=Xe,a=!1,t=l);e:for(;++in&&(n=-n>i?0:i+n),r=r===S||r>i?i:+r||0,0>r&&(r+=i),i=n>r?0:r>>>0,n>>>=0;i>n;)e[n++]=t;return e}function St(e,t){var n=[];return La(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function Ot(e,t,n,r){var i;return n(e,function(e,n,o){return t(e,n,o)?(i=r?n:e,!1):void 0}),i}function Tt(e,t,n,r){r||(r=[]);for(var i=-1,o=e.length;++ir;)e=e[t[r++]];return r&&r==i?e:S}}function Ft(e,t,n,r,i,o){return e===t?!0:null==e||null==t||!Pi(e)&&!b(t)?e!==e&&t!==t:Lt(e,t,Ft,n,r,i,o)}function Lt(e,t,n,r,i,o,a){var s=Ts(e),l=Ts(t),u=K,c=K;s||(u=ra.call(e),u==G?u=te:u!=te&&(s=Ui(e))),l||(c=ra.call(t),c==G?c=te:c!=te&&(l=Ui(t)));var f=u==te,d=c==te,p=u==c;if(p&&!s&&!f)return In(e,t,u);if(!i){var h=f&&ta.call(e,"__wrapped__"),g=d&&ta.call(t,"__wrapped__");if(h||g)return n(h?e.value():e,g?t.value():t,r,i,o,a)}if(!p)return!1;o||(o=[]),a||(a=[]);for(var v=o.length;v--;)if(o[v]==e)return a[v]==t;o.push(e),a.push(t);var m=(s?jn:Vn)(e,t,n,r,i,o,a);return o.pop(),a.pop(),m}function Nt(e,t,n){var r=t.length,i=r,o=!n;if(null==e)return!i;for(e=fr(e);r--;){var a=t[r];if(o&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++rt&&(t=-t>i?0:i+t),n=n===S||n>i?i:+n||0,0>n&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Wo(i);++r=H,l=a?gn():null,u=[];l?(r=Xe,o=!1):(a=!1,l=t?[]:u);e:for(;++n=i){for(;i>r;){var o=r+i>>>1,a=e[o];(n?t>=a:t>a)&&null!==a?r=o+1:i=o}return i}return on(e,t,Oo,n)}function on(e,t,n,r){t=n(t);for(var i=0,o=e?e.length:0,a=t!==t,s=null===t,l=t===S;o>i;){var u=ya((i+o)/2),c=n(e[u]),f=c!==S,d=c===c;if(a)var p=d||r;else p=s?d&&f&&(r||null!=c):l?d&&(r||f):null==c?!1:r?t>=c:t>c;p?i=u+1:o=u}return _a(o,Aa)}function an(e,t,n){if("function"!=typeof e)return Oo;if(t===S)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)};case 5:return function(n,r,i,o,a){return e.call(t,n,r,i,o,a)}}return function(){return e.apply(t,arguments)}}function sn(e){var t=new aa(e.byteLength),n=new ha(t);return n.set(new ha(e)),t}function ln(e,t,n){for(var r=n.length,i=-1,o=xa(e.length-r,0),a=-1,s=t.length,l=Wo(s+o);++a2?n[i-2]:S,a=i>2?n[2]:S,s=i>1?n[i-1]:S;for("function"==typeof o?(o=an(o,s,5),i-=2):(o="function"==typeof s?s:S,i-=o?1:0),a&&Zn(n[0],n[1],a)&&(o=3>i?S:o,i=1);++r-1?n[o]:S}return Ot(n,r,e)}}function xn(e){return function(t,n,r){return t&&t.length?(n=Wn(n,r,3),a(t,n,e)):-1}}function _n(e){return function(t,n,r){return n=Wn(n,r,3),Ot(t,n,e,!0)}}function Cn(e){return function(){for(var t,n=arguments.length,i=e?n:-1,o=0,a=Wo(n);e?i--:++i=H)return t.plant(r).value();for(var i=0,o=n?a[i].apply(this,e):r;++iy){var C=s?et(s):S,k=xa(u-y,0),E=h?_:S,O=h?S:_,M=h?w:S,R=h?S:w;t|=h?P:F,t&=~(h?F:P),g||(t&=~(T|A));var D=[e,t,n,M,E,R,O,C,l,k],L=Rn.apply(S,D);return tr(e)&&Ua(L,D),L.placeholder=x,L}}var N=d?n:this,j=p?N[e]:e;return s&&(w=lr(w,s)),f&&l=t||!wa(t))return"";var i=t-r;return n=null==n?" ":n+"",mo(n,va(i/n.length)).slice(0,i)}function Pn(e,t,n,r){function i(){for(var t=-1,s=arguments.length,l=-1,u=r.length,c=Wo(u+s);++ll))return!1;for(;++s-1&&e%1==0&&t>e}function Zn(e,t,n){if(!Pi(n))return!1;var r=typeof t;if("number"==r?Xn(n)&&Jn(t,n.length):"string"==r&&t in n){var i=n[t];return e===e?e===i:i!==i}return!1}function er(e,t){var n=typeof e;if("string"==n&&Se.test(e)||"number"==n)return!0;if(Ts(e))return!1;var r=!Ee.test(e);return r||null!=t&&e in fr(t)}function tr(e){var n=Hn(e);if(!(n in i.prototype))return!1;var r=t[n];if(e===r)return!0;var o=Wa(r);return!!o&&e===o[0]}function nr(e){return"number"==typeof e&&e>-1&&e%1==0&&Ra>=e}function rr(e){return e===e&&!Pi(e)}function ir(e,t){var n=e[1],r=t[1],i=n|r,o=L>i,a=r==L&&n==R||r==L&&n==N&&e[7].length<=t[8]||r==(L|N)&&n==R;if(!o&&!a)return e;r&T&&(e[2]=t[2],i|=n&T?0:M);var s=t[3];if(s){var l=e[3];e[3]=l?ln(l,s,t[4]):et(s),e[4]=l?$(e[3],q):et(t[4])}return s=t[5],s&&(l=e[5],e[5]=l?un(l,s,t[6]):et(s),e[6]=l?$(e[5],q):et(t[6])),s=t[7],s&&(e[7]=et(s)),r&L&&(e[8]=null==e[8]?t[8]:_a(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function or(e,t){return e===S?t:As(e,t,or)}function ar(e,t){e=fr(e);for(var n=-1,r=t.length,i={};++nr;)a[++o]=Kt(e,r,r+=t);return a}function gr(e){for(var t=-1,n=e?e.length:0,r=-1,i=[];++tt?0:t)):[]}function mr(e,t,n){var r=e?e.length:0;return r?((n?Zn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Kt(e,0,0>t?0:t)):[]}function yr(e,t,n){return e&&e.length?tn(e,Wn(t,n,3),!0,!0):[]}function br(e,t,n){return e&&e.length?tn(e,Wn(t,n,3),!0):[]}function wr(e,t,n,r){var i=e?e.length:0;return i?(n&&"number"!=typeof n&&Zn(e,t,n)&&(n=0,r=i),Et(e,t,n,r)):[]}function $r(e){return e?e[0]:S}function xr(e,t,n){var r=e?e.length:0;return n&&Zn(e,t,n)&&(t=!1),r?Tt(e,t):[]}function _r(e){var t=e?e.length:0;return t?Tt(e,!0):[]}function Cr(e,t,n){var r=e?e.length:0;if(!r)return-1;if("number"==typeof n)n=0>n?xa(r+n,0):n;else if(n){var i=rn(e,t);return r>i&&(t===t?t===e[i]:e[i]!==e[i])?i:-1}return s(e,t,n||0)}function kr(e){return mr(e,1)}function Er(e){var t=e?e.length:0;return t?e[t-1]:S}function Sr(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if("number"==typeof n)i=(0>n?xa(r+n,0):_a(n||0,r-1))+1;else if(n){i=rn(e,t,!0)-1;var o=e[i];return(t===t?t===o:o!==o)?i:-1}if(t!==t)return y(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1}function Or(){var e=arguments,t=e[0];if(!t||!t.length)return t;for(var n=0,r=Un(),i=e.length;++n-1;)pa.call(t,o,1);return t}function Tr(e,t,n){var r=[];if(!e||!e.length)return r;var i=-1,o=[],a=e.length;for(t=Wn(t,n,3);++it?0:t)):[]}function Dr(e,t,n){var r=e?e.length:0;return r?((n?Zn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Kt(e,0>t?0:t)):[]}function Pr(e,t,n){return e&&e.length?tn(e,Wn(t,n,3),!1,!0):[]}function Fr(e,t,n){return e&&e.length?tn(e,Wn(t,n,3)):[]}function Lr(e,t,n,r){var i=e?e.length:0;if(!i)return[];null!=t&&"boolean"!=typeof t&&(r=n,n=Zn(e,t,r)?S:t,t=!1);var o=Wn();return(null!=n||o!==wt)&&(n=o(n,r,3)),t&&Un()==s?x(e,n):Zt(e,n)}function Nr(e){if(!e||!e.length)return[];var t=-1,n=0;e=st(e,function(e){return Xn(e)?(n=xa(e.length,n),!0):void 0});for(var r=Wo(n);++tn?xa(i+n,0):n||0,"string"==typeof e||!Ts(e)&&Hi(e)?i>=n&&e.indexOf(t,n)>-1:!!i&&Un(e,t,n)>-1}function ei(e,t,n){var r=Ts(e)?lt:jt;return t=Wn(t,n,3),r(e,t)}function ti(e,t){return ei(e,Po(t))}function ni(e,t,n){var r=Ts(e)?st:St;return t=Wn(t,n,3),r(e,function(e,n,r){return!t(e,n,r)})}function ri(e,t,n){if(n?Zn(e,t,n):null==t){e=cr(e);var r=e.length;return r>0?e[qt(0,r-1)]:S}var i=-1,o=Gi(e),r=o.length,a=r-1;for(t=_a(0>t?0:+t||0,r);++i0&&(n=t.apply(this,arguments)),1>=e&&(t=S),n}}function pi(e,t,n){function r(){p&&sa(p),u&&sa(u),g=0,u=p=h=S}function i(t,n){n&&sa(n),u=p=h=S,t&&(g=gs(),c=e.apply(d,l),p||u||(l=d=S))}function o(){var e=t-(gs()-f);0>=e||e>t?i(h,u):p=da(o,e)}function a(){i(m,p)}function s(){if(l=arguments,f=gs(),d=this,h=m&&(p||!y),v===!1)var n=y&&!p;else{u||y||(g=f);var r=v-(f-g),i=0>=r||r>v;i?(u&&(u=sa(u)),g=f,c=e.apply(d,l)):u||(u=da(a,r))}return i&&p?p=sa(p):p||t===v||(p=da(o,t)),n&&(i=!0,c=e.apply(d,l)),!i||p||u||(l=d=S),c}var l,u,c,f,d,p,h,g=0,v=!1,m=!0;if("function"!=typeof e)throw new Qo(B);if(t=0>t?0:+t||0,n===!0){var y=!0;m=!1}else Pi(n)&&(y=!!n.leading,v="maxWait"in n&&xa(+n.maxWait||0,t),m="trailing"in n?!!n.trailing:m);return s.cancel=r,s}function hi(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new Qo(B);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new hi.Cache,n}function gi(e){if("function"!=typeof e)throw new Qo(B);return function(){return!e.apply(this,arguments)}}function vi(e){return di(2,e)}function mi(e,t){if("function"!=typeof e)throw new Qo(B);return t=xa(t===S?e.length-1:+t||0,0),function(){for(var n=arguments,r=-1,i=xa(n.length-t,0),o=Wo(i);++rt}function Ci(e,t){return e>=t}function ki(e){return b(e)&&Xn(e)&&ta.call(e,"callee")&&!ca.call(e,"callee")}function Ei(e){return e===!0||e===!1||b(e)&&ra.call(e)==Y}function Si(e){return b(e)&&ra.call(e)==Q}function Oi(e){return!!e&&1===e.nodeType&&b(e)&&!Vi(e)}function Ti(e){return null==e?!0:Xn(e)&&(Ts(e)||Hi(e)||ki(e)||b(e)&&Di(e.splice))?!e.length:!Vs(e).length}function Ai(e,t,n,r){n="function"==typeof n?an(n,r,3):S;var i=n?n(e,t):S;return i===S?Ft(e,t,n):!!i}function Mi(e){return b(e)&&"string"==typeof e.message&&ra.call(e)==X}function Ri(e){return"number"==typeof e&&wa(e)}function Di(e){return Pi(e)&&ra.call(e)==J}function Pi(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Fi(e,t,n,r){return n="function"==typeof n?an(n,r,3):S,Nt(e,zn(t),n)}function Li(e){return Ii(e)&&e!=+e}function Ni(e){return null==e?!1:Di(e)?oa.test(ea.call(e)):b(e)&&Le.test(e)}function ji(e){return null===e}function Ii(e){return"number"==typeof e||b(e)&&ra.call(e)==ee}function Vi(e){var t;if(!b(e)||ra.call(e)!=te||ki(e)||!ta.call(e,"constructor")&&(t=e.constructor,"function"==typeof t&&!(t instanceof t)))return!1;var n;return At(e,function(e,t){n=t}),n===S||ta.call(e,n)}function Wi(e){return Pi(e)&&ra.call(e)==ne}function Hi(e){return"string"==typeof e||b(e)&&ra.call(e)==ie}function Ui(e){return b(e)&&nr(e.length)&&!!ze[ra.call(e)]}function zi(e){return e===S}function Bi(e,t){return t>e}function qi(e,t){return t>=e}function Gi(e){var t=e?Ha(e):0;return nr(t)?t?et(e):[]:oo(e)}function Ki(e){return bt(e,eo(e))}function Yi(e,t,n){var r=Fa(e);return n&&Zn(e,t,n)&&(t=S),t?mt(r,t):r}function Qi(e){return Dt(e,eo(e))}function Xi(e,t,n){var r=null==e?S:Pt(e,dr(t),t+"");return r===S?n:r}function Ji(e,t){if(null==e)return!1;var n=ta.call(e,t);if(!n&&!er(t)){if(t=dr(t),e=1==t.length?e:Pt(e,Kt(t,0,-1)),null==e)return!1;t=Er(t),n=ta.call(e,t)}return n||nr(e.length)&&Jn(t,e.length)&&(Ts(e)||ki(e))}function Zi(e,t,n){n&&Zn(e,t,n)&&(t=S);for(var r=-1,i=Vs(e),o=i.length,a={};++r0;++r=_a(t,n)&&en?0:+n||0,r),n-=t.length,n>=0&&e.indexOf(t,n)==n}function po(e){return e=u(e),e&&xe.test(e)?e.replace(we,g):e}function ho(e){return e=u(e),e&&Ae.test(e)?e.replace(Te,v):e||"(?:)"}function go(e,t,n){e=u(e),t=+t;var r=e.length;if(r>=t||!wa(t))return e;var i=(t-r)/2,o=ya(i),a=va(i);return n=Dn("",a,n),n.slice(0,o)+e+n}function vo(e,t,n){return(n?Zn(e,t,n):null==t)?t=0:t&&(t=+t),e=wo(e),ka(e,t||(Fe.test(e)?16:10))}function mo(e,t){var n="";if(e=u(e),t=+t,1>t||!e||!wa(t))return n;do t%2&&(n+=e),t=ya(t/2),e+=e;while(t);return n}function yo(e,t,n){return e=u(e),n=null==n?0:_a(0>n?0:+n||0,e.length),e.lastIndexOf(t,n)==n}function bo(e,n,r){var i=t.templateSettings;r&&Zn(e,n,r)&&(n=r=S),e=u(e),n=vt(mt({},r||n),i,gt);var o,a,s=vt(mt({},n.imports),i.imports,gt),l=Vs(s),c=en(s,l),f=0,d=n.interpolate||Ie,p="__p += '",h=Ko((n.escape||Ie).source+"|"+d.source+"|"+(d===ke?De:Ie).source+"|"+(n.evaluate||Ie).source+"|$","g"),g="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++Ue+"]")+"\n";e.replace(h,function(t,n,r,i,s,l){return r||(r=i),p+=e.slice(f,l).replace(Ve,m),n&&(o=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=l+t.length,t}),p+="';\n";var v=n.variable;v||(p="with (obj) {\n"+p+"\n}\n"),p=(a?p.replace(ve,""):p).replace(me,"$1").replace(ye,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var y=Xs(function(){return zo(l,g+"return "+p).apply(S,c)});if(y.source=p,Mi(y))throw y;return y}function wo(e,t,n){var r=e;return(e=u(e))?(n?Zn(r,t,n):null==t)?e.slice(_(e),C(e)+1):(t+="",e.slice(c(e,t),f(e,t)+1)):e}function $o(e,t,n){ +var r=e;return e=u(e),e?(n?Zn(r,t,n):null==t)?e.slice(_(e)):e.slice(c(e,t+"")):e}function xo(e,t,n){var r=e;return e=u(e),e?(n?Zn(r,t,n):null==t)?e.slice(0,C(e)+1):e.slice(0,f(e,t+"")+1):e}function _o(e,t,n){n&&Zn(e,t,n)&&(t=S);var r=j,i=I;if(null!=t)if(Pi(t)){var o="separator"in t?t.separator:o;r="length"in t?+t.length||0:r,i="omission"in t?u(t.omission):i}else r=+t||0;if(e=u(e),r>=e.length)return e;var a=r-i.length;if(1>a)return i;var s=e.slice(0,a);if(null==o)return s+i;if(Wi(o)){if(e.slice(a).search(o)){var l,c,f=e.slice(0,a);for(o.global||(o=Ko(o.source,(Pe.exec(o)||"")+"g")),o.lastIndex=0;l=o.exec(f);)c=l.index;s=s.slice(0,null==c?a:c)}}else if(e.indexOf(o,a)!=a){var d=s.lastIndexOf(o);d>-1&&(s=s.slice(0,d))}return s+i}function Co(e){return e=u(e),e&&$e.test(e)?e.replace(be,k):e}function ko(e,t,n){return n&&Zn(e,t,n)&&(t=S),e=u(e),e.match(t||We)||[]}function Eo(e,t,n){return n&&Zn(e,t,n)&&(t=S),b(e)?To(e):wt(e,t)}function So(e){return function(){return e}}function Oo(e){return e}function To(e){return It($t(e,!0))}function Ao(e,t){return Vt(e,$t(t,!0))}function Mo(e,t,n){if(null==n){var r=Pi(t),i=r?Vs(t):S,o=i&&i.length?Dt(t,i):S;(o?o.length:r)||(o=!1,n=t,t=e,e=this)}o||(o=Dt(t,Vs(t)));var a=!0,s=-1,l=Di(e),u=o.length;n===!1?a=!1:Pi(n)&&"chain"in n&&(a=n.chain);for(;++se||!wa(e))return[];var r=-1,i=Wo(_a(e,Ta));for(t=an(t,n,1);++rr?i[r]=t(r):t(r);return i}function jo(e){var t=++na;return u(e)+t}function Io(e,t){return(+e||0)+(+t||0)}function Vo(e,t,n){return n&&Zn(e,t,n)&&(t=S),t=Wn(t,n,3),1==t.length?pt(Ts(e)?e:cr(e),t):Jt(e,t)}e=e?it.defaults(rt.Object(),e,it.pick(rt,He)):rt;var Wo=e.Array,Ho=e.Date,Uo=e.Error,zo=e.Function,Bo=e.Math,qo=e.Number,Go=e.Object,Ko=e.RegExp,Yo=e.String,Qo=e.TypeError,Xo=Wo.prototype,Jo=Go.prototype,Zo=Yo.prototype,ea=zo.prototype.toString,ta=Jo.hasOwnProperty,na=0,ra=Jo.toString,ia=rt._,oa=Ko("^"+ea.call(ta).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),aa=e.ArrayBuffer,sa=e.clearTimeout,la=e.parseFloat,ua=Bo.pow,ca=Jo.propertyIsEnumerable,fa=Bn(e,"Set"),da=e.setTimeout,pa=Xo.splice,ha=e.Uint8Array,ga=Bn(e,"WeakMap"),va=Bo.ceil,ma=Bn(Go,"create"),ya=Bo.floor,ba=Bn(Wo,"isArray"),wa=e.isFinite,$a=Bn(Go,"keys"),xa=Bo.max,_a=Bo.min,Ca=Bn(Ho,"now"),ka=e.parseInt,Ea=Bo.random,Sa=qo.NEGATIVE_INFINITY,Oa=qo.POSITIVE_INFINITY,Ta=4294967295,Aa=Ta-1,Ma=Ta>>>1,Ra=9007199254740991,Da=ga&&new ga,Pa={};t.support={};t.templateSettings={escape:_e,evaluate:Ce,interpolate:ke,variable:"",imports:{_:t}};var Fa=function(){function e(){}return function(t){if(Pi(t)){e.prototype=t;var n=new e;e.prototype=S}return n||{}}}(),La=dn(Mt),Na=dn(Rt,!0),ja=pn(),Ia=pn(!0),Va=Da?function(e,t){return Da.set(e,t),e}:Oo,Wa=Da?function(e){return Da.get(e)}:Do,Ha=Ut("length"),Ua=function(){var e=0,t=0;return function(n,r){var i=gs(),o=W-(i-t);if(t=i,o>0){if(++e>=V)return n}else e=0;return Va(n,r)}}(),za=mi(function(e,t){return b(e)&&Xn(e)?_t(e,Tt(t,!1,!0)):[]}),Ba=xn(),qa=xn(!0),Ga=mi(function(e){for(var t=e.length,n=t,r=Wo(f),i=Un(),o=i==s,a=[];n--;){var l=e[n]=Xn(l=e[n])?l:[];r[n]=o&&l.length>=120?gn(n&&l):null}var u=e[0],c=-1,f=u?u.length:0,d=r[0];e:for(;++c2?e[t-2]:S,r=t>1?e[t-1]:S;return t>2&&"function"==typeof n?t-=2:(n=t>1&&"function"==typeof r?(--t,r):S,r=S),e.length=t,jr(e,n,r)}),ts=mi(function(e){return e=Tt(e),this.thru(function(t){return Ze(Ts(t)?t:[fr(t)],e)})}),ns=mi(function(e,t){return yt(e,Tt(t))}),rs=cn(function(e,t,n){ta.call(e,n)?++e[n]:e[n]=1}),is=$n(La),os=$n(Na,!0),as=kn(tt,La),ss=kn(nt,Na),ls=cn(function(e,t,n){ta.call(e,n)?e[n].push(t):e[n]=[t]}),us=cn(function(e,t,n){e[n]=t}),cs=mi(function(e,t,n){var r=-1,i="function"==typeof t,o=er(t),a=Xn(e)?Wo(e.length):[];return La(e,function(e){var s=i?t:o&&null!=e?e[t]:S;a[++r]=s?s.apply(e,n):Qn(e,t,n)}),a}),fs=cn(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),ds=Mn(ct,La),ps=Mn(ft,Na),hs=mi(function(e,t){if(null==e)return[];var n=t[2];return n&&Zn(t[0],t[1],n)&&(t.length=1),Xt(e,Tt(t),[])}),gs=Ca||function(){return(new Ho).getTime()},vs=mi(function(e,t,n){var r=T;if(n.length){var i=$(n,vs.placeholder);r|=P}return Nn(e,r,t,n,i)}),ms=mi(function(e,t){t=t.length?Tt(t):Qi(e);for(var n=-1,r=t.length;++n0||0>t)?new i(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==S&&(t=+t||0,n=0>t?n.dropRight(-t):n.take(t-e)),n)},i.prototype.takeRightWhile=function(e,t){return this.reverse().takeWhile(e,t).reverse()},i.prototype.toArray=function(){return this.take(Oa)},Mt(i.prototype,function(e,n){var o=/^(?:filter|map|reject)|While$/.test(n),a=/^(?:first|last)$/.test(n),s=t[a?"take"+("last"==n?"Right":""):n];s&&(t.prototype[n]=function(){var t=a?[1]:arguments,n=this.__chain__,l=this.__wrapped__,u=!!this.__actions__.length,c=l instanceof i,f=t[0],d=c||Ts(l);d&&o&&"function"==typeof f&&1!=f.length&&(c=d=!1);var p=function(e){return a&&n?s(e,1)[0]:s.apply(S,ut([e],t))},h={func:Ur,args:[p],thisArg:S},g=c&&!u;if(a&&!n)return g?(l=l.clone(),l.__actions__.push(h),e.call(l)):s.call(S,this.value())[0];if(!a&&d){l=g?l:new i(this);var v=e.apply(l,t);return v.__actions__.push(h),new r(v,n)}return this.thru(p)})}),tt(["join","pop","push","replace","shift","sort","splice","split","unshift"],function(e){var n=(/^(?:replace|split)$/.test(e)?Zo:Xo)[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:join|pop|replace|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;return i&&!this.__chain__?n.apply(this.value(),e):this[r](function(t){return n.apply(t,e)})}}),Mt(i.prototype,function(e,n){var r=t[n];if(r){var i=r.name,o=Pa[i]||(Pa[i]=[]);o.push({name:n,func:r})}}),Pa[Rn(S,A).name]=[{name:"wrapper",func:S}],i.prototype.clone=w,i.prototype.reverse=Z,i.prototype.value=re,t.prototype.chain=zr,t.prototype.commit=Br,t.prototype.concat=ts,t.prototype.plant=qr,t.prototype.reverse=Gr,t.prototype.toString=Kr,t.prototype.run=t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=Yr,t.prototype.collect=t.prototype.map,t.prototype.head=t.prototype.first,t.prototype.select=t.prototype.filter,t.prototype.tail=t.prototype.rest,t}var S,O="3.10.0",T=1,A=2,M=4,R=8,D=16,P=32,F=64,L=128,N=256,j=30,I="...",V=150,W=16,H=200,U=1,z=2,B="Expected a function",q="__lodash_placeholder__",G="[object Arguments]",K="[object Array]",Y="[object Boolean]",Q="[object Date]",X="[object Error]",J="[object Function]",Z="[object Map]",ee="[object Number]",te="[object Object]",ne="[object RegExp]",re="[object Set]",ie="[object String]",oe="[object WeakMap]",ae="[object ArrayBuffer]",se="[object Float32Array]",le="[object Float64Array]",ue="[object Int8Array]",ce="[object Int16Array]",fe="[object Int32Array]",de="[object Uint8Array]",pe="[object Uint8ClampedArray]",he="[object Uint16Array]",ge="[object Uint32Array]",ve=/\b__p \+= '';/g,me=/\b(__p \+=) '' \+/g,ye=/(__e\(.*?\)|\b__t\)) \+\n'';/g,be=/&(?:amp|lt|gt|quot|#39|#96);/g,we=/[&<>"'`]/g,$e=RegExp(be.source),xe=RegExp(we.source),_e=/<%-([\s\S]+?)%>/g,Ce=/<%([\s\S]+?)%>/g,ke=/<%=([\s\S]+?)%>/g,Ee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,Se=/^\w*$/,Oe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,Te=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,Ae=RegExp(Te.source),Me=/[\u0300-\u036f\ufe20-\ufe23]/g,Re=/\\(\\)?/g,De=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Pe=/\w*$/,Fe=/^0[xX]/,Le=/^\[object .+?Constructor\]$/,Ne=/^\d+$/,je=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Ie=/($^)/,Ve=/['\n\r\u2028\u2029\\]/g,We=function(){var e="[A-Z\\xc0-\\xd6\\xd8-\\xde]",t="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(e+"+(?="+e+t+")|"+e+"?"+t+"|"+e+"+|[0-9]+","g")}(),He=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"],Ue=-1,ze={};ze[se]=ze[le]=ze[ue]=ze[ce]=ze[fe]=ze[de]=ze[pe]=ze[he]=ze[ge]=!0,ze[G]=ze[K]=ze[ae]=ze[Y]=ze[Q]=ze[X]=ze[J]=ze[Z]=ze[ee]=ze[te]=ze[ne]=ze[re]=ze[ie]=ze[oe]=!1;var Be={};Be[G]=Be[K]=Be[ae]=Be[Y]=Be[Q]=Be[se]=Be[le]=Be[ue]=Be[ce]=Be[fe]=Be[ee]=Be[te]=Be[ne]=Be[ie]=Be[de]=Be[pe]=Be[he]=Be[ge]=!0,Be[X]=Be[J]=Be[Z]=Be[re]=Be[oe]=!1;var qe={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},Ge={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Ke={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},Ye={"function":!0,object:!0},Qe={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},Xe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Je=Ye[typeof t]&&t&&!t.nodeType&&t,Ze=Ye[typeof e]&&e&&!e.nodeType&&e,et=Je&&Ze&&"object"==typeof i&&i&&i.Object&&i,tt=Ye[typeof self]&&self&&self.Object&&self,nt=Ye[typeof window]&&window&&window.Object&&window,rt=(Ze&&Ze.exports===Je&&Je,et||nt!==(this&&this.window)&&nt||tt||this),it=E();rt._=it,r=function(){return it}.call(t,n,t,e),!(r!==S&&(e.exports=r))}).call(this)}).call(t,n(24)(e),function(){return this}())},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t){/** * State-based routing for AngularJS * @version v0.2.15 * @link http://angular-ui.github.com/ * @license MIT License, http://www.opensource.org/licenses/MIT */ -"undefined"!=typeof e&&"undefined"!=typeof t&&e.exports===t&&(e.exports="ui.router"),function(e,t,n){"use strict";function r(e,t){return I(new(I(function(){},{prototype:e})),t)}function i(e){return j(arguments,function(t){t!==e&&j(t,function(t,n){e.hasOwnProperty(n)||(e[n]=t)})}),e}function o(e,t){var n=[];for(var r in e.path){if(e.path[r]!==t.path[r])break;n.push(e.path[r])}return n}function a(e){if(Object.keys)return Object.keys(e);var t=[];return j(e,function(e,n){t.push(n)}),t}function s(e,t){if(Array.prototype.indexOf)return e.indexOf(t,Number(arguments[2])||0);var n=e.length>>>0,r=Number(arguments[2])||0;for(r=0>r?Math.ceil(r):Math.floor(r),0>r&&(r+=n);n>r;r++)if(r in e&&e[r]===t)return r;return-1}function l(e,t,n,r){var i,l=o(n,r),u={},c=[];for(var f in l)if(l[f].params&&(i=a(l[f].params),i.length))for(var d in i)s(c,i[d])>=0||(c.push(i[d]),u[i[d]]=e[i[d]]);return I({},u,t)}function u(e,t,n){if(!n){n=[];for(var r in e)n.push(r)}for(var i=0;i "));if(y[n]=r,F(e))v.push(n,[function(){return t.get(e)}],u);else{var i=t.annotate(e);j(i,function(e){e!==n&&l.hasOwnProperty(e)&&p(l[e],e)}),v.push(n,e,i)}m.pop(),y[n]=o}}function h(e){return L(e)&&e.then&&e.$$promises}if(!L(l))throw new Error("'invocables' must be an object");var g=a(l||{}),v=[],m=[],y={};return j(l,p),l=m=y=null,function(r,o,a){function s(){--w||($||i(b,o.$$values),m.$$values=b,m.$$promises=m.$$promises||!0,delete m.$$inheritedValues,p.resolve(b))}function l(e){m.$$failure=e,p.reject(e)}function u(n,i,o){function u(e){f.reject(e),l(e)}function c(){if(!D(m.$$failure))try{f.resolve(t.invoke(i,a,b)),f.promise.then(function(e){b[n]=e,s()},u)}catch(e){u(e)}}var f=e.defer(),d=0;j(o,function(e){y.hasOwnProperty(e)&&!r.hasOwnProperty(e)&&(d++,y[e].then(function(t){b[e]=t,--d||c()},u))}),d||c(),y[n]=f.promise}if(h(r)&&a===n&&(a=o,o=r,r=null),r){if(!L(r))throw new Error("'locals' must be an object")}else r=c;if(o){if(!h(o))throw new Error("'parent' must be a promise returned by $resolve.resolve()")}else o=f;var p=e.defer(),m=p.promise,y=m.$$promises={},b=I({},r),w=1+v.length/3,$=!1;if(D(o.$$failure))return l(o.$$failure),m;o.$$inheritedValues&&i(b,d(o.$$inheritedValues,g)),I(y,o.$$promises),o.$$values?($=i(b,d(o.$$values,g)),m.$$inheritedValues=d(o.$$values,g),s()):(o.$$inheritedValues&&(m.$$inheritedValues=d(o.$$inheritedValues,g)),o.then(s,l));for(var x=0,_=v.length;_>x;x+=3)r.hasOwnProperty(v[x])?s():u(v[x],v[x+1],v[x+2]);return m}},this.resolve=function(e,t,n,r){return this.study(e)(t,n,r)}}function v(e,t,n){this.fromConfig=function(e,t,n){return D(e.template)?this.fromString(e.template,t):D(e.templateUrl)?this.fromUrl(e.templateUrl,t):D(e.templateProvider)?this.fromProvider(e.templateProvider,t,n):null},this.fromString=function(e,t){return P(e)?e(t):e},this.fromUrl=function(n,r){return P(n)&&(n=n(r)),null==n?null:e.get(n,{cache:t,headers:{Accept:"text/html"}}).then(function(e){return e.data})},this.fromProvider=function(e,t,r){return n.invoke(e,null,r||{params:t})}}function m(e,t,i){function o(t,n,r,i){if(v.push(t),h[t])return h[t];if(!/^\w+(-+\w+)*(?:\[\])?$/.test(t))throw new Error("Invalid parameter name '"+t+"' in pattern '"+e+"'");if(g[t])throw new Error("Duplicate parameter name '"+t+"' in pattern '"+e+"'");return g[t]=new H.Param(t,n,r,i),g[t]}function a(e,t,n,r){var i=["",""],o=e.replace(/[\\\[\]\^$*+?.()|{}]/g,"\\$&");if(!t)return o;switch(n){case!1:i=["(",")"+(r?"?":"")];break;case!0:i=["?(",")?"];break;default:i=["("+n+"|",")?"]}return o+i[0]+t+i[1]}function s(i,o){var a,s,l,u,c;return a=i[2]||i[3],c=t.params[a],l=e.substring(d,i.index),s=o?i[4]:i[4]||("*"==i[1]?".*":null),u=H.type(s||"string")||r(H.type("string"),{pattern:new RegExp(s,t.caseInsensitive?"i":n)}),{id:a,regexp:s,segment:l,type:u,cfg:c}}t=I({params:{}},L(t)?t:{});var l,u=/([:*])([\w\[\]]+)|\{([\w\[\]]+)(?:\:((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,c=/([:]?)([\w\[\]-]+)|\{([\w\[\]-]+)(?:\:((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,f="^",d=0,p=this.segments=[],h=i?i.params:{},g=this.params=i?i.params.$$new():new H.ParamSet,v=[];this.source=e;for(var m,y,b;(l=u.exec(e))&&(m=s(l,!1),!(m.segment.indexOf("?")>=0));)y=o(m.id,m.type,m.cfg,"path"),f+=a(m.segment,y.type.pattern.source,y.squash,y.isOptional),p.push(m.segment),d=u.lastIndex;b=e.substring(d);var w=b.indexOf("?");if(w>=0){var $=this.sourceSearch=b.substring(w);if(b=b.substring(0,w),this.sourcePath=e.substring(0,d+w),$.length>0)for(d=0;l=c.exec($);)m=s(l,!0),y=o(m.id,m.type,m.cfg,"search"),d=u.lastIndex}else this.sourcePath=e,this.sourceSearch="";f+=a(b)+(t.strict===!1?"/?":"")+"$",p.push(b),this.regexp=new RegExp(f,t.caseInsensitive?"i":n),this.prefix=p[0],this.$$paramNames=v}function y(e){I(this,e)}function b(){function e(e){return null!=e?e.toString().replace(/\//g,"%2F"):e}function i(e){return null!=e?e.toString().replace(/%2F/g,"/"):e}function o(){return{strict:g,caseInsensitive:d}}function l(e){return P(e)||N(e)&&P(e[e.length-1])}function u(){for(;x.length;){var e=x.shift();if(e.pattern)throw new Error("You cannot override a type's .pattern at runtime.");t.extend(w[e.name],f.invoke(e.def))}}function c(e){I(this,e||{})}H=this;var f,d=!1,g=!0,v=!1,w={},$=!0,x=[],_={string:{encode:e,decode:i,is:function(e){return null==e||!D(e)||"string"==typeof e},pattern:/[^/]*/},"int":{encode:e,decode:function(e){return parseInt(e,10)},is:function(e){return D(e)&&this.decode(e.toString())===e},pattern:/\d+/},bool:{encode:function(e){return e?1:0},decode:function(e){return 0!==parseInt(e,10)},is:function(e){return e===!0||e===!1},pattern:/0|1/},date:{encode:function(e){return this.is(e)?[e.getFullYear(),("0"+(e.getMonth()+1)).slice(-2),("0"+e.getDate()).slice(-2)].join("-"):n},decode:function(e){if(this.is(e))return e;var t=this.capture.exec(e);return t?new Date(t[1],t[2]-1,t[3]):n},is:function(e){return e instanceof Date&&!isNaN(e.valueOf())},equals:function(e,t){return this.is(e)&&this.is(t)&&e.toISOString()===t.toISOString()},pattern:/[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])/,capture:/([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])/},json:{encode:t.toJson,decode:t.fromJson,is:t.isObject,equals:t.equals,pattern:/[^/]*/},any:{encode:t.identity,decode:t.identity,equals:t.equals,pattern:/.*/}};b.$$getDefaultValue=function(e){if(!l(e.value))return e.value;if(!f)throw new Error("Injectable functions cannot be called at configuration time");return f.invoke(e.value)},this.caseInsensitive=function(e){return D(e)&&(d=e),d},this.strictMode=function(e){return D(e)&&(g=e),g},this.defaultSquashPolicy=function(e){if(!D(e))return v;if(e!==!0&&e!==!1&&!F(e))throw new Error("Invalid squash policy: "+e+". Valid policies: false, true, arbitrary-string");return v=e,e},this.compile=function(e,t){return new m(e,I(o(),t))},this.isMatcher=function(e){if(!L(e))return!1;var t=!0;return j(m.prototype,function(n,r){P(n)&&(t=t&&D(e[r])&&P(e[r]))}),t},this.type=function(e,t,n){if(!D(t))return w[e];if(w.hasOwnProperty(e))throw new Error("A type named '"+e+"' has already been defined.");return w[e]=new y(I({name:e},t)),n&&(x.push({name:e,def:n}),$||u()),this},j(_,function(e,t){w[t]=new y(I({name:t},e))}),w=r(w,{}),this.$get=["$injector",function(e){return f=e,$=!1,u(),j(_,function(e,t){w[t]||(w[t]=new y(e))}),this}],this.Param=function(e,t,r,i){function o(e){var t=L(e)?a(e):[],n=-1===s(t,"value")&&-1===s(t,"type")&&-1===s(t,"squash")&&-1===s(t,"array");return n&&(e={value:e}),e.$$fn=l(e.value)?e.value:function(){return e.value},e}function u(t,n,r){if(t.type&&n)throw new Error("Param '"+e+"' has two type configurations.");return n?n:t.type?t.type instanceof y?t.type:new y(t.type):"config"===r?w.any:w.string}function c(){var t={array:"search"===i?"auto":!1},n=e.match(/\[\]$/)?{array:!0}:{};return I(t,n,r).array}function d(e,t){var n=e.squash;if(!t||n===!1)return!1;if(!D(n)||null==n)return v;if(n===!0||F(n))return n;throw new Error("Invalid squash policy: '"+n+"'. Valid policies: false, true, or arbitrary string")}function g(e,t,r,i){var o,a,l=[{from:"",to:r||t?n:""},{from:null,to:r||t?n:""}];return o=N(e.replace)?e.replace:[],F(i)&&o.push({from:i,to:n}),a=h(o,function(e){return e.from}),p(l,function(e){return-1===s(a,e.from)}).concat(o)}function m(){if(!f)throw new Error("Injectable functions cannot be called at configuration time");var e=f.invoke(r.$$fn);if(null!==e&&e!==n&&!x.type.is(e))throw new Error("Default value ("+e+") for parameter '"+x.id+"' is not an instance of Type ("+x.type.name+")");return e}function b(e){function t(e){return function(t){return t.from===e}}function n(e){var n=h(p(x.replace,t(e)),function(e){return e.to});return n.length?n[0]:e}return e=n(e),D(e)?x.type.$normalize(e):m()}function $(){return"{Param:"+e+" "+t+" squash: '"+k+"' optional: "+C+"}"}var x=this;r=o(r),t=u(r,t,i);var _=c();t=_?t.$asArray(_,"search"===i):t,"string"!==t.name||_||"path"!==i||r.value!==n||(r.value="");var C=r.value!==n,k=d(r,C),E=g(r,_,C,k);I(this,{id:e,type:t,location:i,array:_,squash:k,replace:E,isOptional:C,value:b,dynamic:n,config:r,toString:$})},c.prototype={$$new:function(){return r(this,I(new c,{$$parent:this}))},$$keys:function(){for(var e=[],t=[],n=this,r=a(c.prototype);n;)t.push(n),n=n.$$parent;return t.reverse(),j(t,function(t){j(a(t),function(t){-1===s(e,t)&&-1===s(r,t)&&e.push(t)})}),e},$$values:function(e){var t={},n=this;return j(n.$$keys(),function(r){t[r]=n[r].value(e&&e[r])}),t},$$equals:function(e,t){var n=!0,r=this;return j(r.$$keys(),function(i){var o=e&&e[i],a=t&&t[i];r[i].type.equals(o,a)||(n=!1)}),n},$$validates:function(e){var r,i,o,a,s,l=this.$$keys();for(r=0;ri;i++)if(t(u[i]))return;c&&t(c)}}function p(){return l=l||i.$on("$locationChangeSuccess",d)}var h,g=a.baseHref(),v=r.url();return f||p(),{sync:function(){d()},listen:function(){return p()},update:function(e){return e?void(v=r.url()):void(r.url()!==v&&(r.url(v),r.replace()))},push:function(e,t,i){var o=e.format(t||{});null!==o&&t&&t["#"]&&(o+="#"+t["#"]),r.url(o),h=i&&i.$$avoidResync?r.url():n,i&&i.replace&&r.replace()},href:function(n,i,o){if(!n.validates(i))return null;var a=e.html5Mode();t.isObject(a)&&(a=a.enabled);var l=n.format(i);if(o=o||{},a||null===l||(l="#"+e.hashPrefix()+l),null!==l&&i&&i["#"]&&(l+="#"+i["#"]),l=s(l,a,o.absolute),!o.absolute||!l)return l;var u=!a&&l?"/":"",c=r.port();return c=80===c||443===c?"":":"+c,[r.protocol(),"://",r.host(),c,u,l].join("")}}}var l,u=[],c=null,f=!1;this.rule=function(e){if(!P(e))throw new Error("'rule' must be a function");return u.push(e),this},this.otherwise=function(e){if(F(e)){var t=e;e=function(){return t}}else if(!P(e))throw new Error("'rule' must be a function");return c=e,this},this.when=function(e,t){var n,s=F(t);if(F(e)&&(e=r.compile(e)),!s&&!P(t)&&!N(t))throw new Error("invalid 'handler' in when()");var l={matcher:function(e,t){return s&&(n=r.compile(t),t=["$match",function(e){return n.format(e)}]),I(function(n,r){return a(n,t,e.exec(r.path(),r.search()))},{prefix:F(e.prefix)?e.prefix:""})},regex:function(e,t){if(e.global||e.sticky)throw new Error("when() RegExp must not be global or sticky");return s&&(n=t,t=["$match",function(e){return o(n,e)}]),I(function(n,r){return a(n,t,e.exec(r.path()))},{prefix:i(e)})}},u={matcher:r.isMatcher(e),regex:e instanceof RegExp};for(var c in u)if(u[c])return this.rule(l[c](e,t));throw new Error("invalid 'what' in when()")},this.deferIntercept=function(e){e===n&&(e=!0),f=e},this.$get=s,s.$inject=["$location","$rootScope","$injector","$browser"]}function $(e,i){function o(e){return 0===e.indexOf(".")||0===e.indexOf("^")}function d(e,t){if(!e)return n;var r=F(e),i=r?e:e.name,a=o(i);if(a){if(!t)throw new Error("No reference point given for path '"+i+"'");t=d(t);for(var s=i.split("."),l=0,u=s.length,c=t;u>l;l++)if(""!==s[l]||0!==l){if("^"!==s[l])break;if(!c.parent)throw new Error("Path '"+i+"' not valid for state '"+t.name+"'");c=c.parent}else c=t;s=s.slice(l).join("."),i=c.name+(c.name&&s?".":"")+s}var f=k[i];return!f||!r&&(r||f!==e&&f.self!==e)?n:f}function p(e,t){E[e]||(E[e]=[]),E[e].push(t)}function g(e){for(var t=E[e]||[];t.length;)v(t.shift())}function v(t){t=r(t,{self:t,resolve:t.resolve||{},toString:function(){return this.name}});var n=t.name;if(!F(n)||n.indexOf("@")>=0)throw new Error("State must have a valid name");if(k.hasOwnProperty(n))throw new Error("State '"+n+"'' is already defined");var i=-1!==n.indexOf(".")?n.substring(0,n.lastIndexOf(".")):F(t.parent)?t.parent:L(t.parent)&&F(t.parent.name)?t.parent.name:"";if(i&&!k[i])return p(i,t.self);for(var o in O)P(O[o])&&(t[o]=O[o](t,O.$delegates[o]));return k[n]=t,!t[S]&&t.url&&e.when(t.url,["$match","$stateParams",function(e,n){C.$current.navigable==t&&u(e,n)||C.transitionTo(t,e,{inherit:!0,location:!1})}]),g(n),t}function m(e){return e.indexOf("*")>-1}function y(e){for(var t=e.split("."),n=C.$current.name.split("."),r=0,i=t.length;i>r;r++)"*"===t[r]&&(n[r]="*");return"**"===t[0]&&(n=n.slice(s(n,t[1])),n.unshift("**")),"**"===t[t.length-1]&&(n.splice(s(n,t[t.length-2])+1,Number.MAX_VALUE),n.push("**")),t.length!=n.length?!1:n.join("")===t.join("")}function b(e,t){return F(e)&&!D(t)?O[e]:P(t)&&F(e)?(O[e]&&!O.$delegates[e]&&(O.$delegates[e]=O[e]),O[e]=t,this):this}function w(e,t){return L(e)?t=e:t.name=e,v(t),this}function $(e,i,o,s,f,p,g,v,b){function w(t,n,r,o){var a=e.$broadcast("$stateNotFound",t,n,r);if(a.defaultPrevented)return g.update(),T;if(!a.retry)return null;if(o.$retry)return g.update(),A;var s=C.transition=i.when(a.retry);return s.then(function(){return s!==C.transition?E:(t.options.$retry=!0,C.transitionTo(t.to,t.toParams,t.options))},function(){return T}),g.update(),s}function $(e,n,r,a,l,u){function d(){var n=[];return j(e.views,function(r,i){var a=r.resolve&&r.resolve!==e.resolve?r.resolve:{};a.$template=[function(){return o.load(i,{view:r,locals:l.globals,params:p,notify:u.notify})||""}],n.push(f.resolve(a,l.globals,l.resolve,e).then(function(n){if(P(r.controllerProvider)||N(r.controllerProvider)){var o=t.extend({},a,l.globals);n.$$controller=s.invoke(r.controllerProvider,null,o)}else n.$$controller=r.controller;n.$$state=e,n.$$controllerAs=r.controllerAs,l[i]=n}))}),i.all(n).then(function(){return l.globals})}var p=r?n:c(e.params.$$keys(),n),h={$stateParams:p};l.resolve=f.resolve(e.resolve,h,l.resolve,e);var g=[l.resolve.then(function(e){l.globals=e})];return a&&g.push(a),i.all(g).then(d).then(function(e){return l})}var E=i.reject(new Error("transition superseded")),O=i.reject(new Error("transition prevented")),T=i.reject(new Error("transition aborted")),A=i.reject(new Error("transition failed"));return _.locals={resolve:null,globals:{$stateParams:{}}},C={params:{},current:_.self,$current:_,transition:null},C.reload=function(e){return C.transitionTo(C.current,p,{reload:e||!0,inherit:!1,notify:!0})},C.go=function(e,t,n){return C.transitionTo(e,t,I({inherit:!0,relative:C.$current},n))},C.transitionTo=function(t,n,o){n=n||{},o=I({location:!0,inherit:!1,relative:null,notify:!0,reload:!1,$retry:!1},o||{});var a,u=C.$current,f=C.params,h=u.path,v=d(t,o.relative),m=n["#"];if(!D(v)){var y={to:t,toParams:n,options:o},b=w(y,u.self,f,o);if(b)return b;if(t=y.to,n=y.toParams,o=y.options,v=d(t,o.relative),!D(v)){if(!o.relative)throw new Error("No such state '"+t+"'");throw new Error("Could not resolve '"+t+"' from state '"+o.relative+"'")}}if(v[S])throw new Error("Cannot transition to abstract state '"+t+"'");if(o.inherit&&(n=l(p,n||{},C.$current,v)),!v.params.$$validates(n))return A;n=v.params.$$values(n),t=v;var k=t.path,T=0,M=k[T],R=_.locals,P=[];if(o.reload){if(F(o.reload)||L(o.reload)){if(L(o.reload)&&!o.reload.name)throw new Error("Invalid reload state object");var N=o.reload===!0?h[0]:d(o.reload);if(o.reload&&!N)throw new Error("No such reload state '"+(F(o.reload)?o.reload:o.reload.name)+"'");for(;M&&M===h[T]&&M!==N;)R=P[T]=M.locals,T++,M=k[T]}}else for(;M&&M===h[T]&&M.ownParams.$$equals(n,f);)R=P[T]=M.locals,T++,M=k[T];if(x(t,n,u,f,R,o))return m&&(n["#"]=m),C.params=n,V(C.params,p),o.location&&t.navigable&&t.navigable.url&&(g.push(t.navigable.url,n,{$$avoidResync:!0,replace:"replace"===o.location}),g.update(!0)),C.transition=null,i.when(C.current);if(n=c(t.params.$$keys(),n||{}),o.notify&&e.$broadcast("$stateChangeStart",t.self,n,u.self,f).defaultPrevented)return e.$broadcast("$stateChangeCancel",t.self,n,u.self,f),g.update(),O;for(var j=i.when(R),H=T;H=T;r--)a=h[r],a.self.onExit&&s.invoke(a.self.onExit,a.self,a.locals.globals),a.locals=null;for(r=T;r=0?i:i+"@"+(o?o.state.name:"")}function S(e,t){var n,r=e.match(/^\s*({[^}]*})\s*$/);if(r&&(e=t+"("+r[1]+")"),n=e.replace(/\n/g," ").match(/^([^(]+?)\s*(\((.*)\))?$/),!n||4!==n.length)throw new Error("Invalid state ref '"+e+"'");return{state:n[1],paramExpr:n[3]||null}}function O(e){var t=e.parent().inheritedData("$uiView");return t&&t.state&&t.state.name?t.state:void 0}function T(e,n){var r=["location","inherit","reload","absolute"];return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(i,o,a,s){var l=S(a.uiSref,e.current.name),u=null,c=O(o)||e.$current,f="[object SVGAnimatedString]"===Object.prototype.toString.call(o.prop("href"))?"xlink:href":"href",d=null,p="A"===o.prop("tagName").toUpperCase(),h="FORM"===o[0].nodeName,g=h?"action":f,v=!0,m={relative:c,inherit:!0},y=i.$eval(a.uiSrefOpts)||{};t.forEach(r,function(e){e in y&&(m[e]=y[e])});var b=function(n){if(n&&(u=t.copy(n)),v){d=e.href(l.state,u,m);var r=s[1]||s[0];return r&&r.$$addStateInfo(l.state,u),null===d?(v=!1,!1):void a.$set(g,d)}};l.paramExpr&&(i.$watch(l.paramExpr,function(e,t){e!==u&&b(e)},!0),u=t.copy(i.$eval(l.paramExpr))),b(),h||o.bind("click",function(t){var r=t.which||t.button;if(!(r>1||t.ctrlKey||t.metaKey||t.shiftKey||o.attr("target"))){var i=n(function(){e.go(l.state,u,m)});t.preventDefault();var a=p&&!d?1:0;t.preventDefault=function(){a--<=0&&n.cancel(i)}}})}}}function A(e,t,n){return{restrict:"A",controller:["$scope","$element","$attrs",function(t,r,i){function o(){a()?r.addClass(l):r.removeClass(l)}function a(){for(var e=0;ei;i++){a=s[i];var f=this.params[a],d=r[i+1];for(o=0;oi;i++)a=s[i],c[a]=this.params[a].value(t[a]);return c},m.prototype.parameters=function(e){return D(e)?this.params[e]||null:this.$$paramNames},m.prototype.validates=function(e){return this.params.$$validates(e)},m.prototype.format=function(e){function t(e){return encodeURIComponent(e).replace(/-/g,function(e){return"%5C%"+e.charCodeAt(0).toString(16).toUpperCase()})}e=e||{};var n=this.segments,r=this.parameters(),i=this.params;if(!this.validates(e))return null;var o,a=!1,s=n.length-1,l=r.length,u=n[0];for(o=0;l>o;o++){var c=s>o,f=r[o],d=i[f],p=d.value(e[f]),g=d.isOptional&&d.type.equals(d.value(),p),v=g?d.squash:!1,m=d.type.encode(p);if(c){var y=n[o+1];if(v===!1)null!=m&&(u+=N(m)?h(m,t).join("-"):encodeURIComponent(m)),u+=y;else if(v===!0){var b=u.match(/\/$/)?/\/?(.*)/:/(.*)/;u+=y.match(b)[1]}else F(v)&&(u+=v+y)}else{if(null==m||g&&v!==!1)continue;N(m)||(m=[m]),m=h(m,encodeURIComponent).join("&"+f+"="),u+=(a?"&":"?")+(f+"="+m),a=!0}}return u},y.prototype.is=function(e,t){return!0},y.prototype.encode=function(e,t){return e},y.prototype.decode=function(e,t){return e},y.prototype.equals=function(e,t){return e==t},y.prototype.$subPattern=function(){var e=this.pattern.toString();return e.substr(1,e.length-2)},y.prototype.pattern=/.*/,y.prototype.toString=function(){return"{Type:"+this.name+"}"},y.prototype.$normalize=function(e){return this.is(e)?e:this.decode(e)},y.prototype.$asArray=function(e,t){function r(e,t){function r(e,t){return function(){return e[t].apply(e,arguments)}}function i(e){return N(e)?e:D(e)?[e]:[]}function o(e){switch(e.length){case 0:return n;case 1:return"auto"===t?e[0]:e;default:return e}}function a(e){return!e}function s(e,t){return function(n){n=i(n);var r=h(n,e);return t===!0?0===p(r,a).length:o(r)}}function l(e){return function(t,n){var r=i(t),o=i(n);if(r.length!==o.length)return!1;for(var a=0;at})),e.addCollection(r)}),e}},{key:"customTemplate",value:function(e){return arguments.length?(this._customTemplate=e,this):this._customTemplate}},{key:"baseApiUrl",value:function(e){return arguments.length?(this._baseApiUrl=e,this):this._baseApiUrl}},{key:"addEntity",value:function(e){if(!e)throw new Error("No entity given");return this._entities.push(e),this}},{key:"getEntity",value:function(e){var t=this._entities.filter(function(t){return t.name()===e})[0];if(!t)throw new Error('Unable to find entity "'+e+'"');return t}},{key:"hasEntity",value:function(e){return!!this._entities.filter(function(t){return t.name()===e}).length}},{key:"getViewByEntityAndType",value:function(e,t){return this._entities.filter(function(t){return t.name()===e})[0].views[t]}},{key:"getErrorMessage",value:function(e){return"function"==typeof this._errorMessage?this._errorMessage(e):this._errorMessage}},{key:"errorMessage",value:function(e){return arguments.length?(this._errorMessage=e,this):this._errorMessage}},{key:"getErrorMessageFor",value:function(e,t){return e.getErrorMessage(t)||e.getEntity().getErrorMessage(t)||this.getErrorMessage(t)}},{key:"getEntityNames",value:function(){return this.entities.map(function(e){return e.name()})}},{key:"entities",get:function(){return this._entities}}]),e}();t["default"]=h,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;nr;r++)e[r]=this.fillReferencesValuesFromEntry(e[r],t,n);return e}},{key:"mapEntry",value:function(e,t,n,r){return console.log("DataStore.mapEntry() is deprecated, please use Entry.createFromRest() instead"),new s["default"].createFromRest(r,n,e,t.name())}},{key:"mapEntries",value:function(e,t,n,r){return console.log("DataStore.mapEntries() is deprecated, please use Entry.createArrayFromRest() instead"),s["default"].createArrayFromRest(r,n,e,t.name())}},{key:"fillReferencesValuesFromEntry",value:function(e,t,n){for(var r in t){var i=t[r],o=this.getReferenceChoicesById(i),a=[],s=i.getMappedValue(e.values[r],e.values);if("reference_many"===i.type()){for(var l in s){var u=s[l];a.push(o[u])}e.listValues[r]=a}else n&&s&&s in o&&(e.listValues[r]=i.getMappedValue(o[s],e.values))}return e}},{key:"getReferenceChoicesById",value:function(e){for(var t={},n=e.targetField().name(),r=e.targetEntity().identifier().name(),i=this.getEntries(e.targetEntity().uniqueId+"_values"),o=0,a=i.length;a>o;o++){var s=i[o];t[s.values[r]]=s.values[n]}return t}}]),e}();t["default"]=l,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;nt;t++){var r=this._targetFields[t];e.push({field:r,label:r.label()})}return e}},{key:"getSortFieldName",value:function(){return this.sortField()?this._targetEntity.name()+"_ListView."+this.sortField():null}}]),t}(u["default"]);t["default"]=c,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n':this._icon}},{key:"enabled",get:function(){return this._enabled||this.entity.views.ListView.enabled}}]),t}(u["default"]);t["default"]=c,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e,t,n){for(var r=!0;r;){var i=e,o=t,a=n;s=u=l=void 0,r=!1,null===i&&(i=Function.prototype);var s=Object.getOwnPropertyDescriptor(i,o);if(void 0!==s){if("value"in s)return s.value;var l=s.get;return void 0===l?void 0:l.call(a)}var u=Object.getPrototypeOf(i);if(null===u)return void 0;e=u,t=o,n=a,r=!0}},s=n(2),l=r(s),u=function(e){function t(e){i(this,t),a(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this._type="ShowView"}return o(t,e),t}(l["default"]);t["default"]=u,e.exports=t["default"]},function(e,t,n){"use strict";n(168).polyfill(),n(135),n(53);var r=n(27),i=angular.module("AdminDescriptionModule",[]);i.constant("AdminDescription",new r);var o=angular.module("ng-admin",["ui.select","main","crud","AdminDescriptionModule"]);o.config(["NgAdminConfigurationProvider","AdminDescription",function(e,t){e.setAdminDescription(t)}]),o.config(["uiSelectConfig",function(e){e.theme="bootstrap"}])},function(e,t,n){"use strict";var r=n(4),i=r.module("crud",["ui.router","ui.bootstrap","ngSanitize","textAngular","ngInflection","ui.codemirror","ngFileUpload","ngNumeraljs"]);i.controller("ListLayoutController",n(115)),i.controller("ListController",n(114)),i.controller("ShowController",n(133)),i.controller("FormController",n(113)),i.controller("DeleteController",n(77)),i.controller("BatchDeleteController",n(76)),i.service("EntryFormatter",n(125)),i.service("PromisesResolver",n(126)),i.service("ReadQueries",n(129)),i.service("ReferenceRefresher",n(130)),i.service("WriteQueries",n(131)),i.service("RestWrapper",n(127)),i.directive("maJsonValidator",n(134)),i.directive("datepickerPopup",n(78)),i.directive("maField",n(84)),i.directive("maButtonField",n(79)),i.directive("maChoiceField",n(81)),i.directive("maChoicesField",n(82)),i.directive("maDateField",n(83)),i.directive("maInputField",n(86)),i.directive("maJsonField",n(87)),i.directive("maFileField",n(85)),i.directive("maCheckboxField",n(80)),i.directive("maReferenceField",n(88)),i.directive("maReferenceManyField",n(89)),i.directive("maTextField",n(91)),i.directive("maWysiwygField",n(92)),i.directive("maTemplateField",n(90)),i.directive("uiSelectRequired",n(93)),i.provider("FieldViewConfiguration",n(98)),i.directive("maListActions",n(123)),i.directive("maDatagrid",n(116)),i.directive("maDatagridPagination",n(121)),i.directive("maDatagridInfinitePagination",n(118)),i.directive("maDatagridItemSelector",n(119)),i.directive("maDatagridMultiSelector",n(120)),i.directive("maFilter",n(111)),i.directive("maFilterButton",n(112)),i.directive("maColumn",n(66)),i.directive("maBooleanColumn",n(64)),i.directive("maChoicesColumn",n(65)),i.directive("maDateColumn",n(67)),i.directive("maJsonColumn",n(68)),i.directive("maNumberColumn",n(69)),i.directive("maReferenceManyColumn",n(70)),i.directive("maReferenceManyLinkColumn",n(71)),i.directive("maStringColumn",n(72)),i.directive("maTemplateColumn",n(73)),i.directive("maWysiwygColumn",n(74)),i.directive("maBackButton",n(54)),i.directive("maCreateButton",n(56)),i.directive("maEditButton",n(58)),i.directive("maFilteredListButton",n(60)),i.directive("maShowButton",n(62)),i.directive("maListButton",n(61)),i.directive("maDeleteButton",n(57)),i.directive("maBatchDeleteButton",n(55)),i.directive("maExportToCsvButton",n(59)),i.directive("maViewBatchActions",n(63)),i.directive("maViewActions",n(128)),i.directive("compile",n(124)),i.config(n(132)),i.config(n(75)),i.factory("Papa",function(){return n(172)}),i.factory("notification",function(){var e=n(169);return e.timeout=5e3,e.clickToClose=!0,e}),i.factory("progression",function(){return n(171)}),e.exports=i},function(e,t,n){var r;r=function(){"use strict";function e(e){return{restrict:"E",scope:{size:"@",label:"@"},link:function(t){t.label=t.label||"Back",t.back=function(){e.history.back()}},template:' \n  {{ ::label }}\n'}}return e.$inject=["$window"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){return{restrict:"E",scope:{entity:"&",selection:"&",label:"@"},link:function(t){t.label=t.label||"Delete",t.gotoBatchDelete=function(){var n=(t.entity(),t.selection().map(function(e){return e.identifierValue}));e.go("batchDelete",angular.extend({ids:n,entity:t.entity().name()},e.params))}},template:'\n  {{ ::label }}\n'}}return e.$inject=["$state"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){return{restrict:"E",scope:{entity:"&",size:"@",label:"@"},link:function(t){t.label=t.label||"Create",t.gotoCreate=function(){e.go(e.get("create"),angular.extend({entity:t.entity().name()},e.params))}},template:' \n  {{ ::label }}\n'}}return e.$inject=["$state"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){return{restrict:"E",scope:{entity:"&",entry:"&",size:"@",label:"@"},link:function(t){t.label=t.label||"Delete",t.gotoDelete=function(){e.go(e.get("delete"),angular.extend({entity:t.entity().name(),id:t.entry().identifierValue},e.params))}},template:' \n  {{ ::label }}\n'}}return e.$inject=["$state"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){return{restrict:"E",scope:{entity:"&",entry:"&",size:"@",label:"@"},link:function(t){t.label=t.label||"Edit",t.gotoEdit=function(){e.go(e.get("edit"),angular.extend({entity:t.entity().name(),id:t.entry().identifierValue},e.params))}},template:' \n  {{ ::label }}\n'}}return e.$inject=["$state"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e,t,n,r,i,o){return{restrict:"E",scope:{entity:"&",label:"@",datastore:"&",search:"&"},link:function(a){a.label=a.label||"Export",a.datastore=a.datastore(),a.entity=a.entity();var s=a.entity.exportView(),l=a.entity.listView();if(0===s.fields().length){var u=l.exportFields();null===u&&(u=l.fields()),s.fields(u),s.filters(l.filters())}a.has_export=s.fields().length>0;var c=i.getFormatter(s.fields());a.exportToCsv=function(){var i,l,u;o.getAll(s,-1,a.search(),e.sortField,e.sortDir).then(function(e){return i=e.data}).then(function(e){return o.getFilteredReferenceData(s.getNonOptimizedReferences(),e)}).then(function(e){return l=e,o.getOptimizedReferencedData(s.getOptimizedReferences(),i)}).then(function(e){u=e;var t,n=s.getReferences(),i=angular.extend(l,u);for(var o in i)t=r.getEntryConstructor().createArrayFromRest(i[o],[n[o].targetField()],n[o].targetEntity().name(),n[o].targetEntity().identifier().name()),a.datastore.setEntries(n[o].targetEntity().uniqueId+"_values",t)}).then(function(){var e=s.mapEntries(i);a.datastore.fillReferencesValuesFromCollection(e,s.getReferences(),!0);for(var n=[],r=e.length-1;r>=0;r--)n[r]=c(e[r]);var o=t.unparse(n),l=document.createElement("a");document.body.appendChild(l),l.setAttribute("href","data:application/octet-stream;charset=utf-8,"+encodeURIComponent(o)),l.setAttribute("download",a.entity.name()+".csv"),l.click()},function(e){n.log(e.message,{addnCls:"humane-flatty-error"})})}},template:'\n \n  {{ ::label }}\n \n'}}return e.$inject=["$stateParams","Papa","notification","AdminDescription","EntryFormatter","ReadQueries"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){return{restrict:"E",scope:{entityName:"@",filter:"&",label:"@",size:"@"},link:function(t){t.label=t.label||"See all related "+t.entityName,t.gotoList=function(){e.go(e.get("list"),{entity:t.entityName,search:t.filter()})}},template:' \n  {{ ::label }}\n'}}return e.$inject=["$state"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){return{restrict:"E",scope:{entity:"&",size:"@",label:"@"},link:function(t){t.label=t.label||"List";var n=t.$parent.entity?t.$parent.entity.name():null,r=t.entity().name(),i={entity:r};r===n&&angular.extend(i,e.params),t.gotoList=function(){e.go(e.get("list"),i)}},template:' \n  {{ ::label }}\n'}}return e.$inject=["$state"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){return{restrict:"E",scope:{entity:"&",entry:"&",size:"@",label:"@"},link:function(t){t.label=t.label||"Show",t.gotoShow=function(){e.go(e.get("show"),angular.extend({entity:t.entity().name(),id:t.entry().identifierValue},e.params))}},template:' \n  {{ ::label }}\n'}}return e.$inject=["$state"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t){"use strict";function n(e){e.get("$compile");return{restrict:"E",scope:{entity:"=",selection:"=",buttons:"&"},link:function(e){e.isopen=!1,e.toggleDropdown=function(t){t.preventDefault(),t.stopPropagation(),e.isopen=!e.isopen},e.buttons=e.buttons(),"string"==typeof e.buttons&&(e.customTemplate=e.buttons,e.buttons=null)},template:' \n \n \n'}}n.$inject=["$injector"],e.exports=n},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",scope:{value:"&"},link:function(e){e.value=e.value()},template:""}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",scope:{values:"&"},template:'{{ ref }}'}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(e,t,n,r,i){function o(e,t){return t.isReadOnly?t.showView().enabled?"show":!1:"edit"==e.detailLinkRoute()&&t.editionView().enabled?"edit":t.showView().enabled?"show":!1}function a(e,t){if(e.isDetailLink()===!1)return!1;if("reference"==e.type()||"reference_many"==e.type()){var n=r().getEntity(e.targetEntity().name());return n?o(e,n)!==!1:!1}return o(e,t)!==!1}return{restrict:"E",scope:{field:"&",entry:"&",entity:"&",datastore:"&"},link:function(t,s){t.datastore=t.datastore(),t.field=t.field(),t.entry=t.entry(),t.entity=t.entity();var l=t.field.type();a(t.field,t.entity)?s.append(i[l].getLinkWidget()):s.append(i[l].getReadWidget()),n(s.contents())(t),t.gotoDetail=function(){var n=o(t.field,t.entity);e.go(e.get(n),angular.extend({},e.params,{entity:t.entry.entityName,id:t.entry.identifierValue}))},t.gotoReference=function(){var n=t.field.targetEntity().name(),i=r().getEntity(n),a=t.entry.values[t.field.name()],s=o(t.field,i);e.go(e.get(s),{entity:n,id:a})}}}}return t.$inject=["$state","$anchorScroll","$compile","NgAdminConfiguration","FieldViewConfiguration"],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(){return{restrict:"E",scope:{value:"&",field:"&"},link:function(e){var t=e.field();e.format=t.format(),e.format||(e.format="date"===t.type()?"yyyy-MM-dd":"yyyy-MM-dd HH:mm:ss")},template:"{{ value() | date:format }}"}}return e.$inject=[],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(e){return{restrict:"E",scope:{value:"&"},link:function(t,n){t.guessType=function(e){var t=Object.prototype.toString.call(e);return"[object Object]"===t?"Object":"[object Array]"===t?"Array":"Literal"};var r='
{{ val }}
{{ key }}{{ val }}
',i=angular.element(r);e(i)(t),n.replaceWith(i)}}}return t.$inject=["$compile"],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",scope:{value:"&",field:"&"},template:"{{ value() | numeraljs:field().format() }}"}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",scope:{values:"&"},template:'{{ ref }}'}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(e,t){return{restrict:"E",scope:{field:"&",values:"&",ids:"&"},link:function(n){n.field=n.field(),n.values=n.values(),n.ids=n.ids();var r=n.field.targetEntity().name(),i=t().getEntity(r);n.gotoReference=function(t){var n=i.isReadOnly?"show":"edit";e.go(e.get(n),{entity:r,id:t})}},template:'{{ ref }}'}}return t.$inject=["$state","NgAdminConfiguration"],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",scope:{value:"&"},template:"{{ value() }}"}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",scope:{field:"&",entry:"&",entity:"&"},link:function(e){e.field=e.field(),e.entry=e.entry(),e.entity=e.entity()},template:''}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(e){return{restrict:"E",scope:{value:"&",field:"&"},link:function(t){var n=t.value();t.field().stripTags()&&(n=e("stripTags")(n)),t.htmlValue=n},template:''}}return t.$inject=["$filter"],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){"use strict";function r(e){e.registerFieldView("boolean",n(94)),e.registerFieldView("choice",n(95)),e.registerFieldView("choices",n(96)),e.registerFieldView("date",n(21)),e.registerFieldView("datetime",n(21)),e.registerFieldView("email",n(97)),e.registerFieldView("file",n(99)),e.registerFieldView("float",n(100)),e.registerFieldView("json",n(101)),e.registerFieldView("number",n(102)),e.registerFieldView("password",n(103)),e.registerFieldView("referenced_list",n(106)),e.registerFieldView("reference",n(104)),e.registerFieldView("reference_many",n(105)),e.registerFieldView("string",n(107)),e.registerFieldView("template",n(108)),e.registerFieldView("text",n(109)),e.registerFieldView("wysiwyg",n(110))}r.$inject=["FieldViewConfigurationProvider"],e.exports=r},function(e,t,n){var r;r=function(){"use strict";var e=function(e,t,n,r,i){this.$scope=e,this.$state=t,this.WriteQueries=n,this.notification=r,this.view=i,this.entity=i.getEntity(),this.entityIds=t.params.ids,this.selection=[],this.title=i.title(),this.description=i.description(),this.actions=i.actions(),this.loadingPage=!1,this.fields=i.fields(),e.$on("$destroy",this.destroy.bind(this))};return e.prototype.batchDelete=function(){var e=this.notification,t=this.$state,n=this.entity.name();this.WriteQueries.batchDelete(this.view,this.entityIds).then(function(){t.go(t.get("list"),angular.extend({entity:n},t.params)),e.log("Elements successfully deleted.",{addnCls:"humane-flatty-success"})},function(t){var n=t.data;"object"==typeof n&&(n=JSON.stringify(n)),e.log("Oops, an error occured : (code: "+t.status+") "+n,{addnCls:"humane-flatty-error"})})},e.prototype.back=function(){this.$state.go(this.$state.get("list"),angular.extend({entity:this.entity.name()},this.$state.params))},e.prototype.destroy=function(){this.$scope=void 0,this.$state=void 0,this.WriteQueries=void 0},e.$inject=["$scope","$state","WriteQueries","notification","view"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";var e=function(e,t,n,r,i,o,a){this.$scope=e,this.$window=t,this.WriteQueries=n,this.entityLabel=i.entity,this.entityId=i.id,this.view=o,this.title=o.title(),this.description=o.description(),this.actions=o.actions(),this.entity=o.getEntity(),this.notification=r,this.$scope.entry=a,this.$scope.view=o,e.$on("$destroy",this.destroy.bind(this))};return e.prototype.deleteOne=function(){var e=this.notification;this.entity.name(),this.$window;this.WriteQueries.deleteOne(this.view,this.entityId).then(function(){this.back(),e.log("Element successfully deleted.",{addnCls:"humane-flatty-success"})}.bind(this),function(t){var n=t.data;"object"==typeof n&&(n=JSON.stringify(n)),e.log("Oops, an error occured : (code: "+t.status+") "+n,{addnCls:"humane-flatty-error"})})},e.prototype.back=function(){this.$window.history.back()},e.prototype.destroy=function(){this.$scope=void 0,this.WriteQueries=void 0,this.view=void 0,this.entity=void 0},e.$inject=["$scope","$window","WriteQueries","notification","params","view","entry"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){return{restrict:"EAC",require:"ngModel",link:function(e,t,n,r){r.$formatters.shift()}}};n.$inject=[],t["default"]=n,e.exports=t["default"]},function(e,t,n){var r;r=function(){"use strict";function e(){return{scope:{field:"&",value:"="},restrict:"E",link:function(e,t){var n=e.field();e.name=n.name(),e.label=n.label(),e.value=!!e.value;var r=t.children()[0],i=n.attributes();for(var o in i)r.setAttribute(o,i[o]);e.toggle=function(){this.value=!this.value},e.isActive=function(){return!!this.value}},template:'{{ label }}'}}return e.$inject=[],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{scope:{field:"&",value:"="},restrict:"E",link:function(e,t){var n=e.field();e.name=n.name(),e.v=n.validation(),e.value=!!e.value;var r=t.children()[0],i=n.attributes();for(var o in i)r.setAttribute(o,i[o])},template:''}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t){"use strict";function n(e,t){e.choices=t,e.$root.$$phase||e.$digest()}function r(e){return{scope:{field:"&",value:"=",entry:"=?",datastore:"&?",refresh:"&",choices:"&?"},restrict:"E",compile:function(){return{pre:function(t,n){var r=t.field();t.name=r.name(),t.v=r.validation(),t.$watch("value",function(e,n){e!==n&&void 0===e&&(t.value=null)});var i="";0===r.type().indexOf("reference")&&r.remoteComplete()&&(t.refreshDelay=r.remoteCompleteOptions().refreshDelay,i='refresh-delay="refreshDelay" refresh="refresh({ $search: $select.search })"');var o=t.choices()?t.choices:r.choices?r.choices():[],a=r.attributes();t.placeholder=a&&a.placeholder||"Filter values";var s='\n \n {{ $select.selected.label }}\n \n {{ item.label }}\n \n ';t.choices="function"==typeof o?o(t.entry):o,n.html(s);var l=n.children()[0];for(var u in a)l.setAttribute(u,a[u]);e(n.contents())(t)},post:function(e){e.$on("choices:update",function(t,r){n(e,r.choices)})}}}}}r.$inject=["$compile"],e.exports=r},function(e,t){"use strict";function n(e){return{scope:{field:"&",value:"=",entry:"=?",datastore:"&?",refresh:"&"},restrict:"E",compile:function(){return{ -pre:function(t,n){var r=t.field();t.name=r.name(),t.v=r.validation();var i="";0===r.type().indexOf("reference")&&r.remoteComplete()&&(t.refreshDelay=r.remoteCompleteOptions().refreshDelay,i='refresh-delay="refreshDelay" refresh="refresh({ $search: $select.search })"');var o=r.choices?r.choices():[],a=r.attributes();t.placeholder=a&&a.placeholder||"Filter values";var s="\n \n {{ $item.label }}\n \n {{ item.label }}\n \n ';t.choices="function"==typeof o?o(t.entry):o,n.html(s);var l=n.children()[0];for(var u in a)l.setAttribute(u,a[u]);e(n.contents())(t)},post:function(e){e.$on("choices:update",function(t,n){e.choices=n.choices,e.$root.$$phase||e.$digest()})}}}}}n.$inject=["$compile"],e.exports=n},function(e,t){"use strict";function n(){return{scope:{field:"&",value:"="},restrict:"E",link:function(e,t){var n=e.field();e.name=n.name(),e.rawValue=e.value,e.$watch("rawValue",function(t){e.value=n.parse()(t)}),e.format=n.format(),e.format||(e.format="date"===n.type()?"yyyy-MM-dd":"yyyy-MM-dd HH:mm:ss"),e.v=n.validation(),e.isOpen=!1;var r=t.find("input").eq(0),i=n.attributes();for(var o in i)r.attr(o,i[o]);e.toggleDatePicker=function(t){t.preventDefault(),t.stopPropagation(),e.isOpen=!e.isOpen}},template:'\n
\n \n \n \n \n
\n '}}Object.defineProperty(t,"__esModule",{value:!0}),n.$inject=[],t["default"]=n,e.exports=t["default"]},function(e,t,n){var r;r=function(e){"use strict";function t(e){var t=r(e).map(function(e,t){return''+e.getWriteWidget()+""}).join(""),n='
'+t+'

';return{restrict:"E",scope:{field:"&",entry:"=",entity:"&",form:"&",datastore:"&"},link:function(e){e.field=e.field(),e.type=e.field.type(),e.entity=e.entity(),e.form=e.form(),e.datastore=e.datastore(),e.getClassesForField=function(e,t){return"ng-admin-field-"+e.name().replace(".","_")+" "+(e.getCssClasses(t)||"col-sm-10 col-md-8 col-lg-7")},e.getInputForField=function(t){return e.form[t.name()]},e.fieldHasValidation=function(e){var t=this.getInputForField(e);return t&&t.$dirty},e.fieldIsValid=function(e){var t=this.getInputForField(e);return t&&t.$valid},e.getFieldValidationClass=function(e){return this.fieldHasValidation(e)?this.fieldIsValid(e)?"has-success":"has-error":void 0}},template:n}}var r=n(22);return t.$inject=["FieldViewConfiguration"],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(e){return{scope:{field:"&",value:"="},restrict:"E",link:{pre:function(e){var t=e.field().uploadInformation();if(!t.hasOwnProperty("url"))throw new Error("You must provide a URL property to allow the upload of files.");e.multiple=t.hasOwnProperty("multiple")?t.multiple:!1,e.accept="*",t.hasOwnProperty("accept")&&(e.accept=t.accept),e.apifilename=t.hasOwnProperty("apifilename")?t.apifilename:!1;var n=e.value?e.value.split(","):[];e.files={};for(var r in n)e.files[n[r]]={name:n[r],progress:0}},post:function(t,n){var r=t.field();t.name=r.name(),t.v=r.validation(),t.value&&(t.v.required=!1);var i=n.find("input")[0],o=r.attributes();for(var a in o)i.setAttribute(a,o[a]);t.fileSelected=function(n){if(n&&n.length){var r;t.files={};for(var i in n)r=angular.copy(t.field().uploadInformation()),r.file=n[i],e.upload(r).progress(function(e){t.files[e.config.file.name]={name:e.config.file.name,progress:Math.min(100,parseInt(100*e.loaded/e.total))}}).success(function(e,n,r,i){if(t.files[i.file.name]={name:t.apifilename?e[t.apifilename]:i.file.name,progress:0},t.apifilename){var o=Object.keys(t.files).map(function(e){return t.files[e].name});t.value=o.join(",")}else t.value=Object.keys(t.files).join(",")}).error(function(e,n,r,i){delete t.files[i.file.name],t.value=Object.keys(t.files).join(",")})}},t.selectFile=function(){i.click()}}},template:'
{{ file.progress }}% Complete
{{ file.name }}
'}}return t.$inject=["Upload"],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{scope:{type:"@",step:"@?",field:"&",value:"="},restrict:"E",link:function(e,t){var n=e.field();e.name=n.name(),e.v=n.validation();var r=t.children()[0],i=n.attributes();for(var o in i)"step"!==o?r.setAttribute(o,i[o]):e.step=i[o]},template:''}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){(function(t){"use strict";function r(){return{scope:{field:"&",value:"="},restrict:"E",link:function(e,t){var n=e.field();e.name=n.name(),e.v=n.validation(),e.jsonValue=null===e.value?"":angular.toJson(e.value,!0);var r=t.children()[0],i=n.attributes();for(var o in i)r.setAttribute(o,i[o]);e.$watch("jsonValue",function(t){if(""==t||"undefined"==typeof t)return void(e.value=null);try{var n=angular.fromJson(t);e.value=n}catch(r){}})},template:''}}var i=n(3);t.jsonlint=n(170),n(162),n(163),n(165),n(164),n(166),n(167),i.defineOption("matchBrackets",!0),i.defineOption("autoCloseBrackets",!0),i.defineOption("lineWrapping",!0),i.defineOption("tabSize",2),i.defineOption("mode","application/json"),i.defineOption("gutters",["CodeMirror-lint-markers"]),i.defineOption("lint",!0),i.defineOption("styleActiveLine",!0),t.CodeMirror=i,r.$inject=[],e.exports=r}).call(t,function(){return this}())},function(e,t){"use strict";function n(e){return{scope:{field:"&",value:"=",entry:"=?",datastore:"&?"},restrict:"E",link:function(t){function n(n){return e.refresh(r,t.value,n).then(function(e){t.$broadcast("choices:update",{choices:e})})}var r=t.field();t.name=r.name(),t.v=r.validation(),r.remoteComplete()?(e.getInitialChoices(r,[t.value]).then(function(e){t.$broadcast("choices:update",{choices:e})}),t.refresh=n):n()},template:'\n '}}n.$inject=["ReferenceRefresher"],e.exports=n},function(e,t){"use strict";function n(e){return{scope:{field:"&",value:"=",entry:"=?",datastore:"&?"},restrict:"E",link:function(t){function n(n){return e.refresh(r,t.value,n).then(function(e){t.$broadcast("choices:update",{choices:e})})}var r=t.field();t.name=r.name(),t.v=r.validation(),t.choices=[],t.value&&t.value.length?e.getInitialChoices(r,t.value).then(function(e){t.$broadcast("choices:update",{choices:e}),r.remoteComplete()?t.refresh=n:n()}):r.remoteComplete()?t.refresh=n:n()},template:'\n '}}n.$inject=["ReferenceRefresher"],e.exports=n},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",scope:{field:"&",entry:"&",entity:"&",value:"="},link:function(e){e.field=e.field(),e.entry=e.entry(),e.entity=e.entity()},template:''}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{scope:{field:"&",value:"="},restrict:"E",link:function(e,t){var n=e.field();e.name=n.name(),e.v=n.validation();var r=t.children()[0],i=n.attributes();for(var o in i)r.setAttribute(o,i[o])},template:''}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{scope:{field:"&",value:"="},restrict:"E",link:function(e,t){var n=e.field();e.name=n.name()},template:'
'}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t){"use strict";function n(){return{restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$validators.uiSelectRequired=function(e,t){var n;if(angular.isArray(e))n=e;else{if(!angular.isArray(t))return!1;n=t}return n.length>0}}}}n.$inject=[],e.exports=n},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return""},getWriteWidget:function(){return'
'}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t,n){var r;r=function(){"use strict";function e(){this.fieldViews={}}return e.prototype.registerFieldView=function(e,t){this.fieldViews[e]=t},e.prototype.$get=function(){return this.fieldViews},e.$inject=[],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t){"use strict";e.exports={getReadWidget:function(){return"error: cannot display file field as readable"},getLinkWidget:function(){return"error: cannot display file field as linkable"},getFilterWidget:function(){return"error: cannot display file field as filter"},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return"error: cannot display a json field as linkable"},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return"error: cannot display password field as readable"},getLinkWidget:function(){return"error: cannot display password field as linkable"},getFilterWidget:function(){return"error: cannot display password field as filter"},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return"error: cannot display referenced_list field as linkable"},getFilterWidget:function(){return"error: cannot display referenced_list field as filter"},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t,n){"use strict";function r(e){var t=i(e).map(function(e,t){return''+e.getFilterWidget()+""}).join(""),n='\n
\n
\n
\n
\n \n
\n \n
\n '+t+"\n
\n
\n
\n
\n ";return{restrict:"E",template:n,scope:{filters:"=",datastore:"&",values:"&",removeFilter:"&"},link:function(e){e.values=e.values(),e.datastore=e.datastore(),e.removeFilter=e.removeFilter(),e.shouldFilter=function(){return Object.keys(e.filters).length}}}}var i=n(22);r.$inject=["FieldViewConfiguration"],e.exports=r},function(e,t){"use strict";function n(){return{restrict:"E",scope:{filters:"&",enabledFilters:"=",enableFilter:"&"},link:function(e){e.notYetEnabledFilters=function(){return e.filters().filter(function(t){return-1===e.enabledFilters.indexOf(t)})},e.hasFilters=function(){return e.notYetEnabledFilters().length>0}},template:'\n \n \n'}}n.$inject=[],e.exports=n},function(e,t){"use strict";var n=function(e,t,n,r,i,o,a,s){this.$scope=e,this.$state=t,this.WriteQueries=n,this.dataStore=s,this.progression=i,this.notification=o,this.title=a.title(),this.description=a.description(),this.actions=a.actions(),this.fields=a.fields(),this.config=r(),this.view=a,this.entity=this.view.getEntity(),this.$scope.entry=s.getFirstEntry(this.entity.uniqueId),this.$scope.view=a,this.$scope.entity=this.entity,this.originEntityId=this.$scope.entry.values[this.entity.identifier().name()],e.$on("$destroy",this.destroy.bind(this))};n.prototype.validateEntry=function(){if(!this.form.$valid)return this.notification.log("invalid form",{addnCls:"humane-flatty-error"}),!1;try{this.view.validate(this.$scope.entry)}catch(e){return this.notification.log(e,{addnCls:"humane-flatty-error"}),!1}return!0},n.prototype.submitCreation=function(e){var t=this;if(e.preventDefault(),this.validateEntry()){var n=this.entity,r=this.view,i=n.editionView().enabled?"edit":"show",o=this.$scope.entry.transformToRest(r.fields());this.progression.start(),this.WriteQueries.createOne(r,o).then(function(e){t.progression.done(),t.notification.log("Element successfully created.",{addnCls:"humane-flatty-success"});var o=r.mapEntry(e);t.$state.go(t.$state.get(i),{entity:n.name(),id:o.identifierValue})},this.handleError.bind(this))}},n.prototype.submitEdition=function(e){var t=this;if(e.preventDefault(),this.validateEntry()){var n=this.view,r=this.$scope.entry.transformToRest(n.fields());this.progression.start(),this.WriteQueries.updateOne(n,r,this.originEntityId).then(function(){t.progression.done(),t.notification.log("Changes successfully saved.",{addnCls:"humane-flatty-success"})},this.handleError.bind(this))}},n.prototype.handleError=function(e){var t=this.config.getErrorMessageFor(this.view,e);this.progression.done(),this.notification.log(t,{addnCls:"humane-flatty-error"})},n.prototype.destroy=function(){this.$scope=void 0,this.$state=void 0,this.WriteQueries=void 0,this.dataStore=void 0,this.view=void 0,this.entity=void 0},n.$inject=["$scope","$state","WriteQueries","NgAdminConfiguration","progression","notification","view","dataStore"],e.exports=n},function(e,t,n){var r;r=function(){"use strict";var e=function(e,t,n,r,i,o,a,s,l){this.$scope=e,this.$stateParams=t,this.$location=n,this.$anchorScroll=r,this.ReadQueries=i,this.progression=o,this.view=a,this.entity=a.getEntity(),this.loadingPage=!1,this.search=t.search,this.dataStore=s,this.fields=a.fields(),this.listActions=a.listActions(),this.totalItems=l,this.page=t.page||1,this.infinitePagination=this.view.infinitePagination(),this.nextPageCallback=this.nextPage.bind(this),this.setPageCallback=this.setPage.bind(this),this.sortField=this.$stateParams.sortField||this.view.getSortFieldName(),this.sortDir=this.$stateParams.sortDir||this.view.sortDir(),e.selectionUpdater?(e.selection=e.selection||[],e.$watch("selection",e.selectionUpdater)):e.selection=null,e.$on("$destroy",this.destroy.bind(this))};return e.prototype.nextPage=function(e){var t=this;if(!this.loadingPage){var n=this.view,r=this.dataStore;this.progression.start(),this.ReadQueries.getAll(n,e,this.search,this.sortField,this.sortDir).then(function(e){t.progression.done();var i=n.getReferences();n.mapEntries(e.data).map(function(e){r.fillReferencesValuesFromEntry(e,i,!0),r.addEntry(t.entity.uniqueId,e)}),t.loadingPage=!1})}},e.prototype.setPage=function(e){this.$location.search("page",e),this.$anchorScroll(0)},e.prototype.destroy=function(){this.$scope=void 0,this.$stateParams=void 0,this.$location=void 0,this.$anchorScroll=void 0,this.dataStore=void 0},e.$inject=["$scope","$stateParams","$location","$anchorScroll","ReadQueries","progression","view","dataStore","totalItems"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t){"use strict";var n=function(e,t,n,r,i,o,a){var s=this;this.$scope=e,this.$state=n,this.$stateParams=t,this.$timeout=i,this.view=o,this.dataStore=a,this.entity=o.getEntity(),this.actions=o.actions(),this.batchActions=o.batchActions(),this.loadingPage=!1,this.search=r.search().search?JSON.parse(r.search().search):{},e.$watch(function(){return s.search},_.debounce(function(e,t){e!=t&&s.updateFilters()},500),!0),this.filters=o.filters(),this.enabledFilters=this.filters.filter(function(e){return e.pinned()?!0:s.search&&e.name()in s.search}),this.hasFilters=Object.keys(this.filters).length>0,this.focusedFilterId=null,this.enableFilter=this.enableFilter.bind(this),this.removeFilter=this.removeFilter.bind(this),this.batchActions.length&&(e.selectionUpdater=function(t){return e.selection=t},e.selection=[]),e.$on("$destroy",this.destroy.bind(this))};n.prototype.enableFilter=function(e){var t=this,n=e.defaultValue();null!==n&&(this.search[e.name()]=n),this.enabledFilters.push(e),this.focusedFilterId=e.name(),this.$timeout(function(){var e=window.document.getElementById(t.focusedFilterId);e&&e.focus&&e.focus()},200,!1)},n.prototype.updateFilters=function(){var e,t,n,r={},i=this.enabledFilters;for(n in i)t=i[n],e=t.name(),""!==this.search[e]?("boolean"===t.type()&&this.search[e]||"boolean"!==t.type()&&null!==this.search[e])&&(r[e]=this.search[e]):delete this.search[e];this.$stateParams.search=r,this.$stateParams.page=1,this.$state.go("list",this.$stateParams)},n.prototype.removeFilter=function(e){delete this.search[e.name()],this.enabledFilters=this.enabledFilters.filter(function(t){return t!==e})},n.prototype.destroy=function(){this.$scope=void 0,this.$state=void 0,this.$stateParams=void 0,this.$timeout=void 0,this.dataStore=void 0},n.$inject=["$scope","$stateParams","$state","$location","$timeout","view","dataStore"],e.exports=n},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",scope:{name:"@",entries:"=",selection:"=",fields:"&",listActions:"&",entity:"&"},controllerAs:"datagrid",controller:r,template:'\n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n
\n \n \n \n \n\n {{ field.label() }}\n \n \n Actions\n
\n \n \n \n \n \n
'}}var r=n(117);return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e,t,n,r){e.entity=e.entity(),this.$scope=e,this.$location=t,this.$anchorScroll=r,this.filters={},this.shouldDisplayActions=this.$scope.listActions()&&this.$scope.listActions().length>0,e.toggleSelect=this.toggleSelect.bind(this),e.toggleSelectAll=this.toggleSelectAll.bind(this),this.sortField="sortField"in n?n.sortField:null,this.sortDir="sortDir"in n?n.sortDir:null}return e.prototype.isSorting=function(e){return this.sortField===this.getSortName(e)},e.prototype.itemClass=function(e){return e%2===0?"even":"odd"},e.prototype.sort=function(e){var t="ASC",n=this.getSortName(e);this.sortField===n&&(t="ASC"===this.sortDir?"DESC":"ASC"),this.$location.search("sortField",n),this.$location.search("sortDir",t)},e.prototype.getSortName=function(e){return this.$scope.name+"."+e.name()},e.prototype.toggleSelect=function(e){var t=this.$scope.selection.slice(),n=t.indexOf(e);return-1===n?void(this.$scope.selection=t.concat(e)):(t.splice(n,1),void(this.$scope.selection=t))},e.prototype.toggleSelectAll=function(){return this.$scope.selection.length=l)return;u++,t.nextPage()(u)}}var a=parseInt(t.perPage,10)||1,s=parseInt(t.totalItems,10),l=Math.ceil(s/a)||1,u=1;n.bind("scroll",r),t.$on("$destroy",function(){n.unbind("scroll",r)})}}}var r=n(4);return t.$inject=["$window","$document"],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(){return{restrict:"E",scope:{entry:"=",selection:"=",toggleSelect:"&"},template:'',link:function(e){e.toggle=function(t){return e.toggleSelect({entry:t})};var t=e.entry;e.isInSelection=function(){return e.selection.filter(function(e){return e._entityName==t._entityName&&e._identifierValue==t._identifierValue}).length>0}}}}return e.$inject=[],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r; -r=function(){"use strict";function e(){return{restrict:"E",scope:{entries:"=",selection:"=",toggleSelectAll:"&"},template:'',link:function(e,t){e.$watch("selection",function(n){t.children()[0].indeterminate=n.length>0&&n.length!=e.entries.length}),e.$watch("entries",function(n){t.children()[0].indeterminate=e.selection.length>0&&e.selection.length!=n.length})}}}return e.$inject=[],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",scope:{page:"@",perPage:"@",totalItems:"@",setPage:"&"},template:r,controllerAs:"paginationCtrl",controller:i}}var r=n(154),i=n(122);return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(e){this.$scope=e;var t=parseInt(this.$scope.perPage,10)||1,n=parseInt(this.$scope.totalItems,10),r=Math.max(parseInt(this.$scope.page,10),1);this.nbPages=Math.ceil(n/t)||1,this.page=Math.min(this.nbPages,r),this.offsetEnd=Math.min(this.page*t,n),this.offsetBegin=Math.min((this.page-1)*t+1,this.offsetEnd),this.totalItems=n,this.displayPagination=n>t,e.$on("$destroy",this.destroy.bind(this))}n(4);return t.prototype.range=function(e){var t=[],n=this.nbPages;return e>2&&t.push("1"),4==e&&t.push("2"),e>4&&t.push("."),e>1&&t.push(e-1),t.push(e),n>e&&t.push(e+1),e==n-3&&t.push(n-1),n-3>e&&t.push("."),n-1>e&&t.push(n),t},t.prototype.setPage=function(e){0>=e||e>this.nbPages||this.$scope.setPage()(e)},t.prototype.destroy=function(){this.$scope=void 0},t.$inject=["$scope"],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",transclude:!0,scope:{buttons:"&",entry:"&",entity:"&"},link:function(e){e.buttons=e.buttons(),e.entry=e.entry(),e.entity=e.entity(),e.customTemplate=!1,"string"==typeof e.buttons&&(e.customTemplate=e.buttons,e.buttons=null)},template:'\n \n \n \n \n \n \n'}}return t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){var t=e.get("$compile");return{transclude:!0,link:function(e,n,r,i,o){var a=e.$watch(function(e){return e.$eval(r.compile)},function(i){return!1===i?void o(e,function(e){n.append(e)}):(n.html(i),t(n.contents())(e),void("true"==r.compileOnce&&a()))})}}}return e.$inject=["$injector"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){this.formatDate=function(t){return function(n){return e("date")(n,t)}},this.formatNumber=function(t){return function(n){return e("numeraljs")(n,t)}}}return e.prototype.formatField=function(e){var t=e.label()||e.name(),n=e.type();switch(n){case"boolean":case"choice":case"choices":case"string":case"text":case"wysiwyg":case"email":case"json":case"file":case"template":return function(n){return{name:t,value:n.values[e.name()]}};case"number":case"float":var r=e.format(),i=this.formatNumber(r);return function(n){return{name:t,value:i(n.values[e.name()])}};case"date":case"datetime":var r=e.format();r||(r="date"===n?"yyyy-MM-dd":"yyyy-MM-dd HH:mm:ss");var o=this.formatDate(r);return function(n){return{name:t,value:o(n.values[e.name()])}};case"reference":return function(n){return{name:t,value:n.listValues[e.name()]}};case"referenced_many":case"referenced_list":return}},e.prototype.getFormatter=function(e){var t=e.map(this.formatField.bind(this));return function(e){var n={};return t.map(function(t){return t?t(e):void 0}).forEach(function(e){e&&(n[e.name]=e.value)}),n}},e.$inject=["$filter"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){return e.getPromisesResolver()}return e.$inject=["AdminDescription"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){this.Restangular=e,e.setFullResponse(!0)}return e.prototype.getOne=function(e,t){return this.Restangular.oneUrl(e,t).get().then(function(e){return e.data})},e.prototype.getList=function(e,t,n){return this.Restangular.allUrl(t,n).getList(e)},e.prototype.createOne=function(e,t,n,r){var i=this.Restangular.oneUrl(t,n),o=r?i.customOperation(r,null,{},{},e):i.customPOST(e);return o.then(function(e){return e.data})},e.prototype.updateOne=function(e,t,n,r){var i=this.Restangular.oneUrl(t,n),o=r?i.customOperation(r,null,{},{},e):i.customPUT(e);return o.then(function(e){return e.data})},e.prototype.deleteOne=function(e,t){return this.Restangular.oneUrl(e,t).customDELETE()},e.$inject=["Restangular"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(e){var t=e.get("$compile");return{restrict:"E",transclude:!0,scope:{override:"&",entry:"=",entity:"=",selection:"=",batchButtons:"&",datastore:"=",search:"=",filters:"&",enabledFilters:"=",enableFilter:"&"},template:r,link:function(e,n,r,i,o){var a=e.override();return a?"string"==typeof a?(n.html(a),void t(n.contents())(e)):void(e.buttons=a):void o(e,function(e){n.append(e)})}}}var r=n(155);return t.$inject=["$injector"],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e,t,n,r){return n.getReadQueries(e,r,t())}return e.$inject=["RestWrapper","NgAdminConfiguration","AdminDescription","PromisesResolver"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n{{ collection().title() || collection().entity.label() }}'}}n.$inject=["$state"],e.exports=n},function(e,t,n){"use strict";function r(e,t,n){return{restrict:"E",scope:{menu:"&"},link:function(r,a){function s(){a.html(i),n(a.contents())(r)}function l(e){var t=c(e);t.ul.addClass("collapsed"),t.arrow.removeClass("glyphicon-menu-down"),t.arrow.addClass("glyphicon-menu-right")}function u(e){var t=c(e);t.ul.removeClass("collapsed"),t.arrow.removeClass("glyphicon-menu-right"),t.arrow.addClass("glyphicon-menu-down")}function c(e){var t;return o.forEach(a.find("li"),function(n){var r=o.element(n);r.attr("data-menu-id")==e.uuid&&(t=r)}),{arrow:o.element(t.find("a")[0].getElementsByClassName("arrow")[0]),ul:t.find("ul").eq(0)}}r.menu=r.menu(),r.path=e.path();var f=[],d=t.$on("$locationChangeSuccess",function(){r.path=e.path(),s()});t.$on("$destroy",d),r.toggleMenu=function(e){if(-1!==f.indexOf(e)){if(e.isChildActive(r.path))return;f.splice(f.indexOf(e),1),l(e)}else f.push(e),u(e)},r.gotoLink=function(t){t.link()&&(f=[],e.url(t.link()))},r.isOpen=function(e){return e.isChildActive(r.path)||-1!==f.indexOf(e)},s()}}}var i=n(160),o=n(4);r.$inject=["$location","$rootScope","$compile"],e.exports=r},function(e,t,n){var r;r=function(){"use strict";function e(){return function(e){var t,n=[];for(t in e)n.push(e[t]);return n.sort(function(e,t){return"function"==typeof e.order?e.order()-t.order():e.order-t.order}),n}}return e.$inject=[],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(){return function(e){return e.replace(/(<([^>]+)>)/gi,"")}}return e.$inject=[],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t){"use strict";function n(e){this.config=null,this.adminDescription=null,this.$compileProvider=e}n.prototype.setAdminDescription=function(e){this.adminDescription=e},n.prototype.configure=function(e){this.config=e,this.$compileProvider.debugInfoEnabled(this.config.debug())},n.prototype.$get=function(){var e=this.config;return function(){return e}},n.prototype.application=function(e,t){return this.adminDescription.application(e,t)},n.prototype.entity=function(e){return this.adminDescription.entity(e)},n.prototype.field=function(e,t){return this.adminDescription.field(e,t)},n.prototype.registerFieldType=function(e,t){return this.adminDescription.registerFieldType(e,t)},n.prototype.menu=function(e){return this.adminDescription.menu(e)},n.prototype.collection=function(e){return this.adminDescription.collection(e)},n.prototype.dashboard=function(e){return this.adminDescription.dashboard(e)},n.$inject=["$compileProvider"],e.exports=n},function(e,t,n){var r;r=function(){"use strict";function e(e){e.useApplyAsync(!0)}return e.$inject=["$httpProvider"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){"use strict";function r(){return["AdminDescription",function(e){return e.getDataStore()}]}function i(){return["AdminDescription",function(e){return e.getEntryConstructor()}]}function o(e,t){e.state("main",{"abstract":!0,controller:"AppController",controllerAs:"appController",templateProvider:["NgAdminConfiguration",function(e){return e().layout()||a}]}),e.state("dashboard",{parent:"main",url:"/dashboard?sortField&sortDir",params:{sortField:null,sortDir:null},controller:"DashboardController",controllerAs:"dashboardController",templateProvider:["NgAdminConfiguration",function(e){return e().dashboard().template()||s}],resolve:{dataStore:r(),Entry:i(),hasEntities:["NgAdminConfiguration",function(e){return e().entities.length>0}],collections:["NgAdminConfiguration",function(e){return e().dashboard().collections()}],responses:["$stateParams","$q","collections","dataStore","Entry","ReadQueries",function(e,t,n,r,i,o){var a,s,l,u,c="sortField"in e?e.sortField:null,f="sortDir"in e?e.sortDir:null,d={};for(u in n)a=n[u],s=a.getSortFieldName(),l=a.sortDir(),c&&c.split(".")[0]===a.name()&&(s=c,l=f),d[u]=function(e,t,n){var a,s,l;return o.getAll(e,1,{},t,n).then(function(e){return a=e.data}).then(function(t){return o.getFilteredReferenceData(e.getNonOptimizedReferences(),t)}).then(function(t){return s=t,o.getOptimizedReferencedData(e.getOptimizedReferences(),a)}).then(function(t){l=t;var n,o=e.getReferences(),a=angular.extend(s,l);for(var u in a)n=i.createArrayFromRest(a[u],[o[u].targetField()],o[u].targetEntity().name(),o[u].targetEntity().identifier().name()),r.setEntries(o[u].targetEntity().uniqueId+"_values",n)}).then(function(){var t=e.mapEntries(a);return r.fillReferencesValuesFromCollection(t,e.getReferences(),!0),t})}(a,s,l);return t.all(d)}],entries:["responses","collections",function(e,t){var n,r={};for(n in e)r[t[n].name()]=e[n];return r}]}}),e.state("ma-404",{parent:"main",template:l}),t.when("","/dashboard"),t.otherwise(function(e,t){var n=e.get("$state");return n.go("ma-404"),t.path()})}var a=n(159),s=n(158),l=n(157);o.$inject=["$stateProvider","$urlRouterProvider"],e.exports=o},function(e,t,n){var r;r=function(){"use strict";function e(e,t,n){e.$on("$stateChangeError",function(e,r,i,o,a,s){if(404!=s.status)throw n.log("State change error: "+s.message,{addnCls:"humane-flatty-error"}),s;t.go("ma-404"),e.preventDefault()})}return e.$inject=["$rootScope","$state","notification"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e,t,n){e.$on("$stateChangeStart",function(){n.start()}),e.$on("$stateChangeSuccess",function(){n.done(),t.scrollTo(0,0)}),e.$on("$stateChangeError",function(){n.done()})}return e.$inject=["$rootScope","$window","progression"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t){},function(e,t){e.exports='

Are you sure ?

'},function(e,t){e.exports='

Are you sure ?

'},function(e,t){e.exports='
'},function(e,t){e.exports='
'},function(e,t){e.exports='
'},function(e,t){e.exports='
'},function(e,t){e.exports=''; -},function(e,t){e.exports=''},function(e,t){e.exports='
'},function(e,t){e.exports="
The page you are looking for cannot be found. Take a break before trying again.



\n\n       |\\      _,,,---,,_\n       /,`.-'`'    -.  ;-;;,_\n      |,4-  ) )-,_..;\\ (  `'-'\n     '---''(_/--'  `-'\\_)\n\n    
"},function(e,t){e.exports='

All dependencies are set, ng-admin is ready to run!

Now you can update the configuration: add entities to the admin, then refresh.

'},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){/** +"undefined"!=typeof e&&"undefined"!=typeof t&&e.exports===t&&(e.exports="ui.router"),function(e,t,n){"use strict";function r(e,t){return I(new(I(function(){},{prototype:e})),t)}function i(e){return j(arguments,function(t){t!==e&&j(t,function(t,n){e.hasOwnProperty(n)||(e[n]=t)})}),e}function o(e,t){var n=[];for(var r in e.path){if(e.path[r]!==t.path[r])break;n.push(e.path[r])}return n}function a(e){if(Object.keys)return Object.keys(e);var t=[];return j(e,function(e,n){t.push(n)}),t}function s(e,t){if(Array.prototype.indexOf)return e.indexOf(t,Number(arguments[2])||0);var n=e.length>>>0,r=Number(arguments[2])||0;for(r=0>r?Math.ceil(r):Math.floor(r),0>r&&(r+=n);n>r;r++)if(r in e&&e[r]===t)return r;return-1}function l(e,t,n,r){var i,l=o(n,r),u={},c=[];for(var f in l)if(l[f].params&&(i=a(l[f].params),i.length))for(var d in i)s(c,i[d])>=0||(c.push(i[d]),u[i[d]]=e[i[d]]);return I({},u,t)}function u(e,t,n){if(!n){n=[];for(var r in e)n.push(r)}for(var i=0;i "));if(y[n]=r,F(e))v.push(n,[function(){return t.get(e)}],u);else{var i=t.annotate(e);j(i,function(e){e!==n&&l.hasOwnProperty(e)&&p(l[e],e)}),v.push(n,e,i)}m.pop(),y[n]=o}}function h(e){return L(e)&&e.then&&e.$$promises}if(!L(l))throw new Error("'invocables' must be an object");var g=a(l||{}),v=[],m=[],y={};return j(l,p),l=m=y=null,function(r,o,a){function s(){--w||($||i(b,o.$$values),m.$$values=b,m.$$promises=m.$$promises||!0,delete m.$$inheritedValues,p.resolve(b))}function l(e){m.$$failure=e,p.reject(e)}function u(n,i,o){function u(e){f.reject(e),l(e)}function c(){if(!D(m.$$failure))try{f.resolve(t.invoke(i,a,b)),f.promise.then(function(e){b[n]=e,s()},u)}catch(e){u(e)}}var f=e.defer(),d=0;j(o,function(e){y.hasOwnProperty(e)&&!r.hasOwnProperty(e)&&(d++,y[e].then(function(t){b[e]=t,--d||c()},u))}),d||c(),y[n]=f.promise}if(h(r)&&a===n&&(a=o,o=r,r=null),r){if(!L(r))throw new Error("'locals' must be an object")}else r=c;if(o){if(!h(o))throw new Error("'parent' must be a promise returned by $resolve.resolve()")}else o=f;var p=e.defer(),m=p.promise,y=m.$$promises={},b=I({},r),w=1+v.length/3,$=!1;if(D(o.$$failure))return l(o.$$failure),m;o.$$inheritedValues&&i(b,d(o.$$inheritedValues,g)),I(y,o.$$promises),o.$$values?($=i(b,d(o.$$values,g)),m.$$inheritedValues=d(o.$$values,g),s()):(o.$$inheritedValues&&(m.$$inheritedValues=d(o.$$inheritedValues,g)),o.then(s,l));for(var x=0,_=v.length;_>x;x+=3)r.hasOwnProperty(v[x])?s():u(v[x],v[x+1],v[x+2]);return m}},this.resolve=function(e,t,n,r){return this.study(e)(t,n,r)}}function v(e,t,n){this.fromConfig=function(e,t,n){return D(e.template)?this.fromString(e.template,t):D(e.templateUrl)?this.fromUrl(e.templateUrl,t):D(e.templateProvider)?this.fromProvider(e.templateProvider,t,n):null},this.fromString=function(e,t){return P(e)?e(t):e},this.fromUrl=function(n,r){return P(n)&&(n=n(r)),null==n?null:e.get(n,{cache:t,headers:{Accept:"text/html"}}).then(function(e){return e.data})},this.fromProvider=function(e,t,r){return n.invoke(e,null,r||{params:t})}}function m(e,t,i){function o(t,n,r,i){if(v.push(t),h[t])return h[t];if(!/^\w+(-+\w+)*(?:\[\])?$/.test(t))throw new Error("Invalid parameter name '"+t+"' in pattern '"+e+"'");if(g[t])throw new Error("Duplicate parameter name '"+t+"' in pattern '"+e+"'");return g[t]=new W.Param(t,n,r,i),g[t]}function a(e,t,n,r){var i=["",""],o=e.replace(/[\\\[\]\^$*+?.()|{}]/g,"\\$&");if(!t)return o;switch(n){case!1:i=["(",")"+(r?"?":"")];break;case!0:i=["?(",")?"];break;default:i=["("+n+"|",")?"]}return o+i[0]+t+i[1]}function s(i,o){var a,s,l,u,c;return a=i[2]||i[3],c=t.params[a],l=e.substring(d,i.index),s=o?i[4]:i[4]||("*"==i[1]?".*":null),u=W.type(s||"string")||r(W.type("string"),{pattern:new RegExp(s,t.caseInsensitive?"i":n)}),{id:a,regexp:s,segment:l,type:u,cfg:c}}t=I({params:{}},L(t)?t:{});var l,u=/([:*])([\w\[\]]+)|\{([\w\[\]]+)(?:\:((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,c=/([:]?)([\w\[\]-]+)|\{([\w\[\]-]+)(?:\:((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,f="^",d=0,p=this.segments=[],h=i?i.params:{},g=this.params=i?i.params.$$new():new W.ParamSet,v=[];this.source=e;for(var m,y,b;(l=u.exec(e))&&(m=s(l,!1),!(m.segment.indexOf("?")>=0));)y=o(m.id,m.type,m.cfg,"path"),f+=a(m.segment,y.type.pattern.source,y.squash,y.isOptional),p.push(m.segment),d=u.lastIndex;b=e.substring(d);var w=b.indexOf("?");if(w>=0){var $=this.sourceSearch=b.substring(w);if(b=b.substring(0,w),this.sourcePath=e.substring(0,d+w),$.length>0)for(d=0;l=c.exec($);)m=s(l,!0),y=o(m.id,m.type,m.cfg,"search"),d=u.lastIndex}else this.sourcePath=e,this.sourceSearch="";f+=a(b)+(t.strict===!1?"/?":"")+"$",p.push(b),this.regexp=new RegExp(f,t.caseInsensitive?"i":n),this.prefix=p[0],this.$$paramNames=v}function y(e){I(this,e)}function b(){function e(e){return null!=e?e.toString().replace(/\//g,"%2F"):e}function i(e){return null!=e?e.toString().replace(/%2F/g,"/"):e}function o(){return{strict:g,caseInsensitive:d}}function l(e){return P(e)||N(e)&&P(e[e.length-1])}function u(){for(;x.length;){var e=x.shift();if(e.pattern)throw new Error("You cannot override a type's .pattern at runtime.");t.extend(w[e.name],f.invoke(e.def))}}function c(e){I(this,e||{})}W=this;var f,d=!1,g=!0,v=!1,w={},$=!0,x=[],_={string:{encode:e,decode:i,is:function(e){return null==e||!D(e)||"string"==typeof e},pattern:/[^/]*/},"int":{encode:e,decode:function(e){return parseInt(e,10)},is:function(e){return D(e)&&this.decode(e.toString())===e},pattern:/\d+/},bool:{encode:function(e){return e?1:0},decode:function(e){return 0!==parseInt(e,10)},is:function(e){return e===!0||e===!1},pattern:/0|1/},date:{encode:function(e){return this.is(e)?[e.getFullYear(),("0"+(e.getMonth()+1)).slice(-2),("0"+e.getDate()).slice(-2)].join("-"):n},decode:function(e){if(this.is(e))return e;var t=this.capture.exec(e);return t?new Date(t[1],t[2]-1,t[3]):n},is:function(e){return e instanceof Date&&!isNaN(e.valueOf())},equals:function(e,t){return this.is(e)&&this.is(t)&&e.toISOString()===t.toISOString()},pattern:/[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])/,capture:/([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])/},json:{encode:t.toJson,decode:t.fromJson,is:t.isObject,equals:t.equals,pattern:/[^/]*/},any:{encode:t.identity,decode:t.identity,equals:t.equals,pattern:/.*/}};b.$$getDefaultValue=function(e){if(!l(e.value))return e.value;if(!f)throw new Error("Injectable functions cannot be called at configuration time");return f.invoke(e.value)},this.caseInsensitive=function(e){return D(e)&&(d=e),d},this.strictMode=function(e){return D(e)&&(g=e),g},this.defaultSquashPolicy=function(e){if(!D(e))return v;if(e!==!0&&e!==!1&&!F(e))throw new Error("Invalid squash policy: "+e+". Valid policies: false, true, arbitrary-string");return v=e,e},this.compile=function(e,t){return new m(e,I(o(),t))},this.isMatcher=function(e){if(!L(e))return!1;var t=!0;return j(m.prototype,function(n,r){P(n)&&(t=t&&D(e[r])&&P(e[r]))}),t},this.type=function(e,t,n){if(!D(t))return w[e];if(w.hasOwnProperty(e))throw new Error("A type named '"+e+"' has already been defined.");return w[e]=new y(I({name:e},t)),n&&(x.push({name:e,def:n}),$||u()),this},j(_,function(e,t){w[t]=new y(I({name:t},e))}),w=r(w,{}),this.$get=["$injector",function(e){return f=e,$=!1,u(),j(_,function(e,t){w[t]||(w[t]=new y(e))}),this}],this.Param=function(e,t,r,i){function o(e){var t=L(e)?a(e):[],n=-1===s(t,"value")&&-1===s(t,"type")&&-1===s(t,"squash")&&-1===s(t,"array");return n&&(e={value:e}),e.$$fn=l(e.value)?e.value:function(){return e.value},e}function u(t,n,r){if(t.type&&n)throw new Error("Param '"+e+"' has two type configurations.");return n?n:t.type?t.type instanceof y?t.type:new y(t.type):"config"===r?w.any:w.string}function c(){var t={array:"search"===i?"auto":!1},n=e.match(/\[\]$/)?{array:!0}:{};return I(t,n,r).array}function d(e,t){var n=e.squash;if(!t||n===!1)return!1;if(!D(n)||null==n)return v;if(n===!0||F(n))return n;throw new Error("Invalid squash policy: '"+n+"'. Valid policies: false, true, or arbitrary string")}function g(e,t,r,i){var o,a,l=[{from:"",to:r||t?n:""},{from:null,to:r||t?n:""}];return o=N(e.replace)?e.replace:[],F(i)&&o.push({from:i,to:n}),a=h(o,function(e){return e.from}),p(l,function(e){return-1===s(a,e.from)}).concat(o)}function m(){if(!f)throw new Error("Injectable functions cannot be called at configuration time");var e=f.invoke(r.$$fn);if(null!==e&&e!==n&&!x.type.is(e))throw new Error("Default value ("+e+") for parameter '"+x.id+"' is not an instance of Type ("+x.type.name+")");return e}function b(e){function t(e){return function(t){return t.from===e}}function n(e){var n=h(p(x.replace,t(e)),function(e){return e.to});return n.length?n[0]:e}return e=n(e),D(e)?x.type.$normalize(e):m()}function $(){return"{Param:"+e+" "+t+" squash: '"+k+"' optional: "+C+"}"}var x=this;r=o(r),t=u(r,t,i);var _=c();t=_?t.$asArray(_,"search"===i):t,"string"!==t.name||_||"path"!==i||r.value!==n||(r.value="");var C=r.value!==n,k=d(r,C),E=g(r,_,C,k);I(this,{id:e,type:t,location:i,array:_,squash:k,replace:E,isOptional:C,value:b,dynamic:n,config:r,toString:$})},c.prototype={$$new:function(){return r(this,I(new c,{$$parent:this}))},$$keys:function(){for(var e=[],t=[],n=this,r=a(c.prototype);n;)t.push(n),n=n.$$parent;return t.reverse(),j(t,function(t){j(a(t),function(t){-1===s(e,t)&&-1===s(r,t)&&e.push(t)})}),e},$$values:function(e){var t={},n=this;return j(n.$$keys(),function(r){t[r]=n[r].value(e&&e[r])}),t},$$equals:function(e,t){var n=!0,r=this;return j(r.$$keys(),function(i){var o=e&&e[i],a=t&&t[i];r[i].type.equals(o,a)||(n=!1)}),n},$$validates:function(e){var r,i,o,a,s,l=this.$$keys();for(r=0;ri;i++)if(t(u[i]))return;c&&t(c)}}function p(){return l=l||i.$on("$locationChangeSuccess",d)}var h,g=a.baseHref(),v=r.url();return f||p(),{sync:function(){d()},listen:function(){return p()},update:function(e){return e?void(v=r.url()):void(r.url()!==v&&(r.url(v),r.replace()))},push:function(e,t,i){var o=e.format(t||{});null!==o&&t&&t["#"]&&(o+="#"+t["#"]),r.url(o),h=i&&i.$$avoidResync?r.url():n,i&&i.replace&&r.replace()},href:function(n,i,o){if(!n.validates(i))return null;var a=e.html5Mode();t.isObject(a)&&(a=a.enabled);var l=n.format(i);if(o=o||{},a||null===l||(l="#"+e.hashPrefix()+l),null!==l&&i&&i["#"]&&(l+="#"+i["#"]),l=s(l,a,o.absolute),!o.absolute||!l)return l;var u=!a&&l?"/":"",c=r.port();return c=80===c||443===c?"":":"+c,[r.protocol(),"://",r.host(),c,u,l].join("")}}}var l,u=[],c=null,f=!1;this.rule=function(e){if(!P(e))throw new Error("'rule' must be a function");return u.push(e),this},this.otherwise=function(e){if(F(e)){var t=e;e=function(){return t}}else if(!P(e))throw new Error("'rule' must be a function");return c=e,this},this.when=function(e,t){var n,s=F(t);if(F(e)&&(e=r.compile(e)),!s&&!P(t)&&!N(t))throw new Error("invalid 'handler' in when()");var l={matcher:function(e,t){return s&&(n=r.compile(t),t=["$match",function(e){return n.format(e)}]),I(function(n,r){return a(n,t,e.exec(r.path(),r.search()))},{prefix:F(e.prefix)?e.prefix:""})},regex:function(e,t){if(e.global||e.sticky)throw new Error("when() RegExp must not be global or sticky");return s&&(n=t,t=["$match",function(e){return o(n,e)}]),I(function(n,r){return a(n,t,e.exec(r.path()))},{prefix:i(e)})}},u={matcher:r.isMatcher(e),regex:e instanceof RegExp};for(var c in u)if(u[c])return this.rule(l[c](e,t));throw new Error("invalid 'what' in when()")},this.deferIntercept=function(e){e===n&&(e=!0),f=e},this.$get=s,s.$inject=["$location","$rootScope","$injector","$browser"]}function $(e,i){function o(e){return 0===e.indexOf(".")||0===e.indexOf("^")}function d(e,t){if(!e)return n;var r=F(e),i=r?e:e.name,a=o(i);if(a){if(!t)throw new Error("No reference point given for path '"+i+"'");t=d(t);for(var s=i.split("."),l=0,u=s.length,c=t;u>l;l++)if(""!==s[l]||0!==l){if("^"!==s[l])break;if(!c.parent)throw new Error("Path '"+i+"' not valid for state '"+t.name+"'");c=c.parent}else c=t;s=s.slice(l).join("."),i=c.name+(c.name&&s?".":"")+s}var f=k[i];return!f||!r&&(r||f!==e&&f.self!==e)?n:f}function p(e,t){E[e]||(E[e]=[]),E[e].push(t)}function g(e){for(var t=E[e]||[];t.length;)v(t.shift())}function v(t){t=r(t,{self:t,resolve:t.resolve||{},toString:function(){return this.name}});var n=t.name;if(!F(n)||n.indexOf("@")>=0)throw new Error("State must have a valid name");if(k.hasOwnProperty(n))throw new Error("State '"+n+"'' is already defined");var i=-1!==n.indexOf(".")?n.substring(0,n.lastIndexOf(".")):F(t.parent)?t.parent:L(t.parent)&&F(t.parent.name)?t.parent.name:"";if(i&&!k[i])return p(i,t.self);for(var o in O)P(O[o])&&(t[o]=O[o](t,O.$delegates[o]));return k[n]=t,!t[S]&&t.url&&e.when(t.url,["$match","$stateParams",function(e,n){C.$current.navigable==t&&u(e,n)||C.transitionTo(t,e,{inherit:!0,location:!1})}]),g(n),t}function m(e){return e.indexOf("*")>-1}function y(e){for(var t=e.split("."),n=C.$current.name.split("."),r=0,i=t.length;i>r;r++)"*"===t[r]&&(n[r]="*");return"**"===t[0]&&(n=n.slice(s(n,t[1])),n.unshift("**")),"**"===t[t.length-1]&&(n.splice(s(n,t[t.length-2])+1,Number.MAX_VALUE),n.push("**")),t.length!=n.length?!1:n.join("")===t.join("")}function b(e,t){return F(e)&&!D(t)?O[e]:P(t)&&F(e)?(O[e]&&!O.$delegates[e]&&(O.$delegates[e]=O[e]),O[e]=t,this):this}function w(e,t){return L(e)?t=e:t.name=e,v(t),this}function $(e,i,o,s,f,p,g,v,b){function w(t,n,r,o){var a=e.$broadcast("$stateNotFound",t,n,r);if(a.defaultPrevented)return g.update(),T;if(!a.retry)return null;if(o.$retry)return g.update(),A;var s=C.transition=i.when(a.retry);return s.then(function(){return s!==C.transition?E:(t.options.$retry=!0,C.transitionTo(t.to,t.toParams,t.options))},function(){return T}),g.update(),s}function $(e,n,r,a,l,u){function d(){var n=[];return j(e.views,function(r,i){var a=r.resolve&&r.resolve!==e.resolve?r.resolve:{};a.$template=[function(){return o.load(i,{view:r,locals:l.globals,params:p,notify:u.notify})||""}],n.push(f.resolve(a,l.globals,l.resolve,e).then(function(n){if(P(r.controllerProvider)||N(r.controllerProvider)){var o=t.extend({},a,l.globals);n.$$controller=s.invoke(r.controllerProvider,null,o)}else n.$$controller=r.controller;n.$$state=e,n.$$controllerAs=r.controllerAs,l[i]=n}))}),i.all(n).then(function(){return l.globals})}var p=r?n:c(e.params.$$keys(),n),h={$stateParams:p};l.resolve=f.resolve(e.resolve,h,l.resolve,e);var g=[l.resolve.then(function(e){l.globals=e})];return a&&g.push(a),i.all(g).then(d).then(function(e){return l})}var E=i.reject(new Error("transition superseded")),O=i.reject(new Error("transition prevented")),T=i.reject(new Error("transition aborted")),A=i.reject(new Error("transition failed"));return _.locals={resolve:null,globals:{$stateParams:{}}},C={params:{},current:_.self,$current:_,transition:null},C.reload=function(e){return C.transitionTo(C.current,p,{reload:e||!0,inherit:!1,notify:!0})},C.go=function(e,t,n){return C.transitionTo(e,t,I({inherit:!0,relative:C.$current},n))},C.transitionTo=function(t,n,o){n=n||{},o=I({location:!0,inherit:!1,relative:null,notify:!0,reload:!1,$retry:!1},o||{});var a,u=C.$current,f=C.params,h=u.path,v=d(t,o.relative),m=n["#"];if(!D(v)){var y={to:t,toParams:n,options:o},b=w(y,u.self,f,o);if(b)return b;if(t=y.to,n=y.toParams,o=y.options,v=d(t,o.relative),!D(v)){if(!o.relative)throw new Error("No such state '"+t+"'");throw new Error("Could not resolve '"+t+"' from state '"+o.relative+"'")}}if(v[S])throw new Error("Cannot transition to abstract state '"+t+"'");if(o.inherit&&(n=l(p,n||{},C.$current,v)),!v.params.$$validates(n))return A;n=v.params.$$values(n),t=v;var k=t.path,T=0,M=k[T],R=_.locals,P=[];if(o.reload){if(F(o.reload)||L(o.reload)){if(L(o.reload)&&!o.reload.name)throw new Error("Invalid reload state object");var N=o.reload===!0?h[0]:d(o.reload);if(o.reload&&!N)throw new Error("No such reload state '"+(F(o.reload)?o.reload:o.reload.name)+"'");for(;M&&M===h[T]&&M!==N;)R=P[T]=M.locals,T++,M=k[T]}}else for(;M&&M===h[T]&&M.ownParams.$$equals(n,f);)R=P[T]=M.locals,T++,M=k[T];if(x(t,n,u,f,R,o))return m&&(n["#"]=m),C.params=n,V(C.params,p),o.location&&t.navigable&&t.navigable.url&&(g.push(t.navigable.url,n,{$$avoidResync:!0,replace:"replace"===o.location}),g.update(!0)),C.transition=null,i.when(C.current);if(n=c(t.params.$$keys(),n||{}),o.notify&&e.$broadcast("$stateChangeStart",t.self,n,u.self,f).defaultPrevented)return e.$broadcast("$stateChangeCancel",t.self,n,u.self,f),g.update(),O;for(var j=i.when(R),W=T;W=T;r--)a=h[r],a.self.onExit&&s.invoke(a.self.onExit,a.self,a.locals.globals),a.locals=null;for(r=T;r=0?i:i+"@"+(o?o.state.name:"")}function S(e,t){var n,r=e.match(/^\s*({[^}]*})\s*$/);if(r&&(e=t+"("+r[1]+")"),n=e.replace(/\n/g," ").match(/^([^(]+?)\s*(\((.*)\))?$/),!n||4!==n.length)throw new Error("Invalid state ref '"+e+"'");return{state:n[1],paramExpr:n[3]||null}}function O(e){var t=e.parent().inheritedData("$uiView");return t&&t.state&&t.state.name?t.state:void 0}function T(e,n){var r=["location","inherit","reload","absolute"];return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(i,o,a,s){var l=S(a.uiSref,e.current.name),u=null,c=O(o)||e.$current,f="[object SVGAnimatedString]"===Object.prototype.toString.call(o.prop("href"))?"xlink:href":"href",d=null,p="A"===o.prop("tagName").toUpperCase(),h="FORM"===o[0].nodeName,g=h?"action":f,v=!0,m={relative:c,inherit:!0},y=i.$eval(a.uiSrefOpts)||{};t.forEach(r,function(e){e in y&&(m[e]=y[e])});var b=function(n){if(n&&(u=t.copy(n)),v){d=e.href(l.state,u,m);var r=s[1]||s[0];return r&&r.$$addStateInfo(l.state,u),null===d?(v=!1,!1):void a.$set(g,d)}};l.paramExpr&&(i.$watch(l.paramExpr,function(e,t){e!==u&&b(e)},!0),u=t.copy(i.$eval(l.paramExpr))),b(),h||o.bind("click",function(t){var r=t.which||t.button;if(!(r>1||t.ctrlKey||t.metaKey||t.shiftKey||o.attr("target"))){var i=n(function(){e.go(l.state,u,m)});t.preventDefault();var a=p&&!d?1:0;t.preventDefault=function(){a--<=0&&n.cancel(i)}}})}}}function A(e,t,n){return{restrict:"A",controller:["$scope","$element","$attrs",function(t,r,i){function o(){a()?r.addClass(l):r.removeClass(l)}function a(){for(var e=0;ei;i++){a=s[i];var f=this.params[a],d=r[i+1];for(o=0;oi;i++)a=s[i],c[a]=this.params[a].value(t[a]);return c},m.prototype.parameters=function(e){return D(e)?this.params[e]||null:this.$$paramNames},m.prototype.validates=function(e){return this.params.$$validates(e)},m.prototype.format=function(e){function t(e){return encodeURIComponent(e).replace(/-/g,function(e){return"%5C%"+e.charCodeAt(0).toString(16).toUpperCase()})}e=e||{};var n=this.segments,r=this.parameters(),i=this.params;if(!this.validates(e))return null;var o,a=!1,s=n.length-1,l=r.length,u=n[0];for(o=0;l>o;o++){var c=s>o,f=r[o],d=i[f],p=d.value(e[f]),g=d.isOptional&&d.type.equals(d.value(),p),v=g?d.squash:!1,m=d.type.encode(p);if(c){var y=n[o+1];if(v===!1)null!=m&&(u+=N(m)?h(m,t).join("-"):encodeURIComponent(m)),u+=y;else if(v===!0){var b=u.match(/\/$/)?/\/?(.*)/:/(.*)/;u+=y.match(b)[1]}else F(v)&&(u+=v+y)}else{if(null==m||g&&v!==!1)continue;N(m)||(m=[m]),m=h(m,encodeURIComponent).join("&"+f+"="),u+=(a?"&":"?")+(f+"="+m),a=!0}}return u},y.prototype.is=function(e,t){return!0},y.prototype.encode=function(e,t){return e},y.prototype.decode=function(e,t){return e},y.prototype.equals=function(e,t){return e==t},y.prototype.$subPattern=function(){var e=this.pattern.toString();return e.substr(1,e.length-2)},y.prototype.pattern=/.*/,y.prototype.toString=function(){return"{Type:"+this.name+"}"},y.prototype.$normalize=function(e){return this.is(e)?e:this.decode(e)},y.prototype.$asArray=function(e,t){function r(e,t){function r(e,t){return function(){return e[t].apply(e,arguments)}}function i(e){return N(e)?e:D(e)?[e]:[]}function o(e){switch(e.length){case 0:return n;case 1:return"auto"===t?e[0]:e;default:return e}}function a(e){return!e}function s(e,t){return function(n){n=i(n);var r=h(n,e);return t===!0?0===p(r,a).length:o(r)}}function l(e){return function(t,n){var r=i(t),o=i(n);if(r.length!==o.length)return!1;for(var a=0;at})),e.addCollection(r)}),e}},{key:"customTemplate",value:function(e){return arguments.length?(this._customTemplate=e,this):this._customTemplate}},{key:"baseApiUrl",value:function(e){return arguments.length?(this._baseApiUrl=e,this):this._baseApiUrl}},{key:"addEntity",value:function(e){if(!e)throw new Error("No entity given");return this._entities.push(e),this}},{key:"getEntity",value:function(e){var t=this._entities.filter(function(t){return t.name()===e})[0];if(!t)throw new Error('Unable to find entity "'+e+'"');return t}},{key:"hasEntity",value:function(e){return!!this._entities.filter(function(t){return t.name()===e}).length}},{key:"getViewByEntityAndType",value:function(e,t){return this._entities.filter(function(t){return t.name()===e})[0].views[t]}},{key:"getErrorMessage",value:function(e){return"function"==typeof this._errorMessage?this._errorMessage(e):this._errorMessage}},{key:"errorMessage",value:function(e){return arguments.length?(this._errorMessage=e,this):this._errorMessage}},{key:"getErrorMessageFor",value:function(e,t){return e.getErrorMessage(t)||e.getEntity().getErrorMessage(t)||this.getErrorMessage(t)}},{key:"getEntityNames",value:function(){return this.entities.map(function(e){return e.name()})}},{key:"entities",get:function(){return this._entities}}]),e}();t["default"]=h,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;nt;t++){var r=this._targetFields[t];e.push({field:r,label:r.label()})}return e}},{key:"getSortFieldName",value:function(){return this.sortField()?this._targetEntity.name()+"_ListView."+this.sortField():null}},{key:"listActions",value:function(e){return arguments.length?(this._listActions=e,this):this._listActions}}]),t}(u["default"]);t["default"]=c,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n':this._icon}},{key:"enabled",get:function(){return this._enabled||this.entity.views.ListView.enabled}}]),t}(u["default"]);t["default"]=c,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e,t,n){for(var r=!0;r;){var i=e,o=t,a=n;s=u=l=void 0,r=!1,null===i&&(i=Function.prototype);var s=Object.getOwnPropertyDescriptor(i,o);if(void 0!==s){if("value"in s)return s.value;var l=s.get;return void 0===l?void 0:l.call(a)}var u=Object.getPrototypeOf(i);if(null===u)return void 0;e=u,t=o,n=a,r=!0}},s=n(2),l=r(s),u=function(e){function t(e){i(this,t),a(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this._type="ShowView"}return o(t,e),t}(l["default"]);t["default"]=u,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var i=n(27),o=r(i);n(169).polyfill(),n(136),n(53);var a=angular.module("AdminDescriptionModule",[]);a.constant("AdminDescription",new o["default"]);var s=angular.module("ng-admin",["ui.select","main","crud","AdminDescriptionModule"]);s.config(["NgAdminConfigurationProvider","AdminDescription",function(e,t){e.setAdminDescription(t)}]),s.config(["uiSelectConfig",function(e){e.theme="bootstrap"}])},function(e,t,n){"use strict";var r=n(4),i=r.module("crud",["ui.router","ui.bootstrap","ngSanitize","textAngular","ngInflection","ui.codemirror","ngFileUpload","ngNumeraljs"]);i.controller("ListLayoutController",n(116)),i.controller("ListController",n(115)),i.controller("ShowController",n(134)),i.controller("FormController",n(114)),i.controller("DeleteController",n(78)),i.controller("BatchDeleteController",n(77)),i.service("EntryFormatter",n(126)),i.service("PromisesResolver",n(127)),i.service("ReadQueries",n(130)),i.service("ReferenceRefresher",n(131)),i.service("WriteQueries",n(132)),i.service("RestWrapper",n(128)),i.directive("maJsonValidator",n(135)),i.directive("datepickerPopup",n(79)),i.directive("maField",n(85)),i.directive("maButtonField",n(80)),i.directive("maChoiceField",n(82)),i.directive("maChoicesField",n(83)),i.directive("maDateField",n(84)),i.directive("maInputField",n(87)),i.directive("maJsonField",n(88)),i.directive("maFileField",n(86)),i.directive("maCheckboxField",n(81)),i.directive("maReferenceField",n(89)),i.directive("maReferenceManyField",n(90)),i.directive("maTextField",n(92)),i.directive("maWysiwygField",n(93)),i.directive("maTemplateField",n(91)),i.directive("uiSelectRequired",n(94)),i.provider("FieldViewConfiguration",n(99)),i.directive("maListActions",n(124)),i.directive("maDatagrid",n(117)),i.directive("maDatagridPagination",n(122)),i.directive("maDatagridInfinitePagination",n(119)),i.directive("maDatagridItemSelector",n(120)),i.directive("maDatagridMultiSelector",n(121)),i.directive("maFilter",n(112)),i.directive("maFilterButton",n(113)),i.directive("maColumn",n(66)),i.directive("maBooleanColumn",n(64)),i.directive("maChoicesColumn",n(65)),i.directive("maDateColumn",n(67)),i.directive("maJsonColumn",n(68)),i.directive("maNumberColumn",n(69)),i.directive("maReferencedListColumn",n(72)),i.directive("maReferenceManyColumn",n(70)),i.directive("maReferenceManyLinkColumn",n(71)),i.directive("maStringColumn",n(73)),i.directive("maTemplateColumn",n(74)),i.directive("maWysiwygColumn",n(75)),i.directive("maBackButton",n(54)),i.directive("maCreateButton",n(56)),i.directive("maEditButton",n(58)),i.directive("maFilteredListButton",n(60)),i.directive("maShowButton",n(62)),i.directive("maListButton",n(61)),i.directive("maDeleteButton",n(57)),i.directive("maBatchDeleteButton",n(55)),i.directive("maExportToCsvButton",n(59)),i.directive("maViewBatchActions",n(63)),i.directive("maViewActions",n(129)),i.directive("compile",n(125)),i.config(n(133)),i.config(n(76)),i.factory("Papa",function(){return n(173)}),i.factory("notification",function(){var e=n(170);return e.timeout=5e3,e.clickToClose=!0,e}),i.factory("progression",function(){return n(172)}),e.exports=i},function(e,t,n){var r;r=function(){"use strict";function e(e){return{restrict:"E",scope:{size:"@",label:"@"},link:function(t){t.label=t.label||"Back",t.back=function(){e.history.back()}},template:' \n  {{ ::label }}\n'}}return e.$inject=["$window"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){return{restrict:"E",scope:{entity:"&",selection:"&",label:"@"},link:function(t){t.label=t.label||"Delete",t.gotoBatchDelete=function(){var n=(t.entity(),t.selection().map(function(e){return e.identifierValue}));e.go("batchDelete",angular.extend({ids:n,entity:t.entity().name()},e.params))}},template:'\n  {{ ::label }}\n'}}return e.$inject=["$state"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){return{restrict:"E",scope:{entity:"&",size:"@",label:"@"},link:function(t){t.label=t.label||"Create",t.gotoCreate=function(){e.params.entity==t.entity().name()?e.go(e.get("create"),angular.extend({entity:t.entity().name()},e.params)):e.go(e.get("create"),{entity:t.entity().name()})}},template:' \n  {{ ::label }}\n'}}return e.$inject=["$state"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){return{restrict:"E",scope:{entity:"&",entry:"&",size:"@",label:"@"},link:function(t){t.label=t.label||"Delete",t.gotoDelete=function(){e.params.entity==t.entity().name()?e.go(e.get("delete"),angular.extend({entity:t.entity().name(),id:t.entry().identifierValue},e.params)):e.go(e.get("delete"),{entity:t.entity().name(),id:t.entry().identifierValue})}},template:' \n  {{ ::label }}\n'}}return e.$inject=["$state"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){return{restrict:"E",scope:{entity:"&",entry:"&",size:"@",label:"@"},link:function(t){t.label=t.label||"Edit",t.gotoEdit=function(){e.params.entity==t.entity().name()?e.go(e.get("edit"),angular.extend({entity:t.entity().name(),id:t.entry().identifierValue},e.params)):e.go(e.get("edit"),{entity:t.entity().name(),id:t.entry().identifierValue})}},template:' \n  {{ ::label }}\n'}}return e.$inject=["$state"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e,t,n,r,i,o){return{restrict:"E",scope:{entity:"&",label:"@",datastore:"&",search:"&"},link:function(a){a.label=a.label||"Export",a.datastore=a.datastore(),a.entity=a.entity();var s=a.entity.exportView(),l=a.entity.listView();if(0===s.fields().length){var u=l.exportFields();null===u&&(u=l.fields()),s.fields(u),s.filters(l.filters())}a.has_export=s.fields().length>0;var c=i.getFormatter(s.fields());a.exportToCsv=function(){var i,l,u;o.getAll(s,-1,a.search(),e.sortField,e.sortDir).then(function(e){return i=e.data}).then(function(e){return o.getFilteredReferenceData(s.getNonOptimizedReferences(),e)}).then(function(e){return l=e,o.getOptimizedReferencedData(s.getOptimizedReferences(),i)}).then(function(e){u=e;var t,n=s.getReferences(),i=angular.extend(l,u);for(var o in i)t=r.getEntryConstructor().createArrayFromRest(i[o],[n[o].targetField()],n[o].targetEntity().name(),n[o].targetEntity().identifier().name()),a.datastore.setEntries(n[o].targetEntity().uniqueId+"_values",t)}).then(function(){var e=s.mapEntries(i);a.datastore.fillReferencesValuesFromCollection(e,s.getReferences(),!0);for(var n=[],r=e.length-1;r>=0;r--)n[r]=c(e[r]);var o=t.unparse(n),l=document.createElement("a");document.body.appendChild(l),l.setAttribute("href","data:application/octet-stream;charset=utf-8,"+encodeURIComponent(o)),l.setAttribute("download",a.entity.name()+".csv"),l.click()},function(e){n.log(e.message,{addnCls:"humane-flatty-error"})})}},template:'\n \n  {{ ::label }}\n \n'}}return e.$inject=["$stateParams","Papa","notification","AdminDescription","EntryFormatter","ReadQueries"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){return{restrict:"E",scope:{entityName:"@",filter:"&",label:"@",size:"@"},link:function(t){t.label=t.label||"See all related "+t.entityName,t.gotoList=function(){e.go(e.get("list"),{entity:t.entityName,search:t.filter()})}},template:' \n  {{ ::label }}\n'}}return e.$inject=["$state"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){return{restrict:"E",scope:{entity:"&",size:"@",label:"@"},link:function(t){t.label=t.label||"List";var n=t.$parent.entity?t.$parent.entity.name():null,r=t.entity().name(),i={entity:r};r===n&&angular.extend(i,e.params),t.gotoList=function(){e.go(e.get("list"),i)}},template:' \n  {{ ::label }}\n'}}return e.$inject=["$state"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){return{restrict:"E",scope:{entity:"&",entry:"&",size:"@",label:"@"},link:function(t){t.label=t.label||"Show",t.gotoShow=function(){e.params.entity==t.entity().name()?e.go(e.get("show"),angular.extend({entity:t.entity().name(),id:t.entry().identifierValue},e.params)):e.go(e.get("show"),{entity:t.entity().name(),id:t.entry().identifierValue})}},template:' \n  {{ ::label }}\n'}}return e.$inject=["$state"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t){"use strict";function n(e){e.get("$compile");return{restrict:"E",scope:{entity:"=",selection:"=",buttons:"&"},link:function(e){e.isopen=!1,e.toggleDropdown=function(t){t.preventDefault(),t.stopPropagation(),e.isopen=!e.isopen},e.buttons=e.buttons(),"string"==typeof e.buttons&&(e.customTemplate=e.buttons,e.buttons=null)},template:' \n \n \n'}}n.$inject=["$injector"],e.exports=n},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",scope:{value:"&"},link:function(e){e.value=e.value()},template:""}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",scope:{values:"&"},template:'{{ ref }}'}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(e,t,n,r,i){function o(e,t){return t.isReadOnly?t.showView().enabled?"show":!1:"edit"==e.detailLinkRoute()&&t.editionView().enabled?"edit":t.showView().enabled?"show":!1}function a(e,t){if(e.isDetailLink()===!1)return!1;if("reference"==e.type()||"reference_many"==e.type()){var n=r().getEntity(e.targetEntity().name());return n?o(e,n)!==!1:!1}return o(e,t)!==!1}return{restrict:"E",scope:{field:"&",entry:"&",entity:"&",datastore:"&"},link:function(t,s){t.datastore=t.datastore(),t.field=t.field(),t.entry=t.entry(),t.entity=t.entity();var l=t.field.type();a(t.field,t.entity)?s.append(i[l].getLinkWidget()):s.append(i[l].getReadWidget()),n(s.contents())(t),t.gotoDetail=function(){var n=o(t.field,t.entity);e.go(e.get(n),angular.extend({},e.params,{entity:t.entry.entityName,id:t.entry.identifierValue}))},t.gotoReference=function(){var n=t.field.targetEntity().name(),i=r().getEntity(n),a=t.entry.values[t.field.name()],s=o(t.field,i);e.go(e.get(s),{entity:n,id:a})}}}}return t.$inject=["$state","$anchorScroll","$compile","NgAdminConfiguration","FieldViewConfiguration"],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(){return{restrict:"E",scope:{value:"&",field:"&"},link:function(e){var t=e.field();e.format=t.format(),e.format||(e.format="date"===t.type()?"yyyy-MM-dd":"yyyy-MM-dd HH:mm:ss")},template:"{{ value() | date:format }}"}}return e.$inject=[],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(e){return{restrict:"E",scope:{value:"&"},link:function(t,n){t.guessType=function(e){var t=Object.prototype.toString.call(e);return"[object Object]"===t?"Object":"[object Array]"===t?"Array":"Literal"};var r='
{{ val }}
{{ key }}{{ val }}
',i=angular.element(r);e(i)(t),n.replaceWith(i)}}}return t.$inject=["$compile"],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",scope:{value:"&",field:"&"},template:"{{ value() | numeraljs:field().format() }}"}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",scope:{values:"&"},template:'{{ ref }}'}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(e,t){return{restrict:"E",scope:{field:"&",values:"&",ids:"&"},link:function(n){n.field=n.field(),n.values=n.values(),n.ids=n.ids();var r=n.field.targetEntity().name(),i=t().getEntity(r);n.gotoReference=function(t){var n=i.isReadOnly?"show":"edit";e.go(e.get(n),{entity:r,id:t})}},template:'{{ ref }}'}}return t.$inject=["$state","NgAdminConfiguration"],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t){"use strict";function n(e){return{scope:{field:"&",datastore:"&"},restrict:"E",link:{pre:function(t){t.field=t.field();var n=t.field.targetEntity();t.entries=t.datastore().getEntries(n.uniqueId+"_list"),t.entity=e().getEntity(n.name())}},template:'\n\n'}}n.$inject=["NgAdminConfiguration"],e.exports=n},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",scope:{value:"&"},template:"{{ value() }}"}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",scope:{field:"&",entry:"&",entity:"&"},link:function(e){e.field=e.field(),e.entry=e.entry(),e.entity=e.entity()},template:''}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(e){return{restrict:"E",scope:{value:"&",field:"&"},link:function(t){var n=t.value();t.field().stripTags()&&(n=e("stripTags")(n)),t.htmlValue=n},template:''}}return t.$inject=["$filter"],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){"use strict";function r(e){e.registerFieldView("boolean",n(95)),e.registerFieldView("choice",n(96)),e.registerFieldView("choices",n(97)),e.registerFieldView("date",n(22)),e.registerFieldView("datetime",n(22)),e.registerFieldView("email",n(98)),e.registerFieldView("file",n(100)),e.registerFieldView("float",n(101)),e.registerFieldView("json",n(102)),e.registerFieldView("number",n(103)),e.registerFieldView("password",n(104)),e.registerFieldView("referenced_list",n(107)),e.registerFieldView("reference",n(105)),e.registerFieldView("reference_many",n(106)),e.registerFieldView("string",n(108)),e.registerFieldView("template",n(109)),e.registerFieldView("text",n(110)),e.registerFieldView("wysiwyg",n(111))}r.$inject=["FieldViewConfigurationProvider"],e.exports=r},function(e,t,n){var r;r=function(){"use strict";var e=function(e,t,n,r,i){this.$scope=e,this.$state=t,this.WriteQueries=n,this.notification=r,this.view=i,this.entity=i.getEntity(),this.entityIds=t.params.ids,this.selection=[],this.title=i.title(),this.description=i.description(),this.actions=i.actions(),this.loadingPage=!1,this.fields=i.fields(),e.$on("$destroy",this.destroy.bind(this))};return e.prototype.batchDelete=function(){var e=this.notification,t=this.$state,n=this.entity.name();this.WriteQueries.batchDelete(this.view,this.entityIds).then(function(){t.go(t.get("list"),angular.extend({entity:n},t.params)),e.log("Elements successfully deleted.",{addnCls:"humane-flatty-success"})},function(t){var n=t.data;"object"==typeof n&&(n=JSON.stringify(n)),e.log("Oops, an error occured : (code: "+t.status+") "+n,{addnCls:"humane-flatty-error"})})},e.prototype.back=function(){this.$state.go(this.$state.get("list"),angular.extend({entity:this.entity.name()},this.$state.params))},e.prototype.destroy=function(){this.$scope=void 0,this.$state=void 0,this.WriteQueries=void 0},e.$inject=["$scope","$state","WriteQueries","notification","view"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";var e=function(e,t,n,r,i,o,a){this.$scope=e,this.$window=t,this.WriteQueries=n,this.entityLabel=i.entity,this.entityId=i.id,this.view=o,this.title=o.title(),this.description=o.description(),this.actions=o.actions(),this.entity=o.getEntity(),this.notification=r,this.$scope.entry=a,this.$scope.view=o,e.$on("$destroy",this.destroy.bind(this))};return e.prototype.deleteOne=function(){var e=this.notification;this.entity.name(),this.$window;this.WriteQueries.deleteOne(this.view,this.entityId).then(function(){this.back(),e.log("Element successfully deleted.",{addnCls:"humane-flatty-success"})}.bind(this),function(t){var n=t.data;"object"==typeof n&&(n=JSON.stringify(n)),e.log("Oops, an error occured : (code: "+t.status+") "+n,{addnCls:"humane-flatty-error"})})},e.prototype.back=function(){this.$window.history.back()},e.prototype.destroy=function(){this.$scope=void 0,this.WriteQueries=void 0,this.view=void 0,this.entity=void 0},e.$inject=["$scope","$window","WriteQueries","notification","params","view","entry"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){return{restrict:"EAC",require:"ngModel",link:function(e,t,n,r){r.$formatters.shift()}}};n.$inject=[],t["default"]=n,e.exports=t["default"]},function(e,t,n){var r;r=function(){"use strict";function e(){return{scope:{field:"&",value:"="},restrict:"E",link:function(e,t){var n=e.field();e.name=n.name(),e.label=n.label(),e.value=!!e.value;var r=t.children()[0],i=n.attributes();for(var o in i)r.setAttribute(o,i[o]);e.toggle=function(){this.value=!this.value},e.isActive=function(){return!!this.value}},template:'{{ label }}'}}return e.$inject=[],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{scope:{field:"&",value:"="},restrict:"E",link:function(e,t){var n=e.field();e.name=n.name(),e.v=n.validation(),e.value=!!e.value;var r=t.children()[0],i=n.attributes();for(var o in i)r.setAttribute(o,i[o])},template:''}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t){"use strict";function n(e,t){e.choices=t,e.$root.$$phase||e.$digest()}function r(e){return{scope:{field:"&",value:"=",entry:"=?",datastore:"&?",refresh:"&",choices:"&?"},restrict:"E",compile:function(){return{pre:function(t,n){var r=t.field();t.name=r.name(),t.v=r.validation(),t.$watch("value",function(e,n){e!==n&&void 0===e&&(t.value=null)});var i="";0===r.type().indexOf("reference")&&r.remoteComplete()&&(t.refreshDelay=r.remoteCompleteOptions().refreshDelay,i='refresh-delay="refreshDelay" refresh="refresh({ $search: $select.search })"');var o=t.choices()?t.choices:r.choices?r.choices():[],a=r.attributes();t.placeholder=a&&a.placeholder||"Filter values";var s='\n \n {{ $select.selected.label }}\n \n {{ item.label }}\n \n ';t.choices="function"==typeof o?o(t.entry):o,n.html(s);var l=n.children()[0];for(var u in a)l.setAttribute(u,a[u]);e(n.contents())(t)},post:function(e){e.$on("choices:update",function(t,r){n(e,r.choices)})}}}}}r.$inject=["$compile"],e.exports=r},function(e,t){"use strict";function n(e){return{scope:{field:"&",value:"=",entry:"=?",datastore:"&?",refresh:"&"},restrict:"E",compile:function(){return{pre:function(t,n){var r=t.field();t.name=r.name(),t.v=r.validation();var i="";0===r.type().indexOf("reference")&&r.remoteComplete()&&(t.refreshDelay=r.remoteCompleteOptions().refreshDelay,i='refresh-delay="refreshDelay" refresh="refresh({ $search: $select.search })"');var o=r.choices?r.choices():[],a=r.attributes();t.placeholder=a&&a.placeholder||"Filter values";var s="\n \n {{ $item.label }}\n \n {{ item.label }}\n \n ';t.choices="function"==typeof o?o(t.entry):o,n.html(s);var l=n.children()[0];for(var u in a)l.setAttribute(u,a[u]);e(n.contents())(t)},post:function(e){e.$on("choices:update",function(t,n){e.choices=n.choices,e.$root.$$phase||e.$digest(); +})}}}}}n.$inject=["$compile"],e.exports=n},function(e,t){"use strict";function n(){return{scope:{field:"&",value:"="},restrict:"E",link:function(e,t){var n=e.field();e.name=n.name(),e.rawValue=e.value,e.$watch("rawValue",function(t){e.value=n.parse()(t)}),e.format=n.format(),e.format||(e.format="date"===n.type()?"yyyy-MM-dd":"yyyy-MM-dd HH:mm:ss"),e.v=n.validation(),e.isOpen=!1;var r=t.find("input").eq(0),i=n.attributes();for(var o in i)r.attr(o,i[o]);e.toggleDatePicker=function(t){t.preventDefault(),t.stopPropagation(),e.isOpen=!e.isOpen}},template:'\n
\n \n \n \n \n
\n '}}Object.defineProperty(t,"__esModule",{value:!0}),n.$inject=[],t["default"]=n,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){var t=i(e).map(function(e,t){return''+e.getWriteWidget()+""}).join(""),n='
'+t+'

';return{restrict:"E",scope:{field:"&",entry:"=",entity:"&",form:"&",datastore:"&"},link:function(e){e.field=e.field(),e.type=e.field.type(),e.entity=e.entity(),e.form=e.form(),e.datastore=e.datastore(),e.getClassesForField=function(e,t){return"ng-admin-field-"+e.name().replace(".","_")+" "+(e.getCssClasses(t)||"col-sm-10 col-md-8 col-lg-7")},e.getInputForField=function(t){return e.form[t.name()]},e.fieldHasValidation=function(e){var t=this.getInputForField(e);return t&&t.$dirty},e.fieldIsValid=function(e){var t=this.getInputForField(e);return t&&t.$valid},e.getFieldValidationClass=function(e){return this.fieldHasValidation(e)?this.fieldIsValid(e)?"has-success":"has-error":void 0}},template:n}}var i=n(23);r.$inject=["FieldViewConfiguration"],e.exports=r},function(e,t,n){var r;r=function(e){"use strict";function t(e){return{scope:{field:"&",value:"="},restrict:"E",link:{pre:function(e){var t=e.field().uploadInformation();if(!t.hasOwnProperty("url"))throw new Error("You must provide a URL property to allow the upload of files.");e.multiple=t.hasOwnProperty("multiple")?t.multiple:!1,e.accept="*",t.hasOwnProperty("accept")&&(e.accept=t.accept),e.apifilename=t.hasOwnProperty("apifilename")?t.apifilename:!1;var n=e.value?e.value.split(","):[];e.files={};for(var r in n)e.files[n[r]]={name:n[r],progress:0}},post:function(t,n){var r=t.field();t.name=r.name(),t.v=r.validation(),t.value&&(t.v.required=!1);var i=n.find("input")[0],o=r.attributes();for(var a in o)i.setAttribute(a,o[a]);t.fileSelected=function(n){if(n&&n.length){var r;t.files={};for(var i in n)r=angular.copy(t.field().uploadInformation()),r.file=n[i],e.upload(r).progress(function(e){t.files[e.config.file.name]={name:e.config.file.name,progress:Math.min(100,parseInt(100*e.loaded/e.total))}}).success(function(e,n,r,i){if(t.files[i.file.name]={name:t.apifilename?e[t.apifilename]:i.file.name,progress:0},t.apifilename){var o=Object.keys(t.files).map(function(e){return t.files[e].name});t.value=o.join(",")}else t.value=Object.keys(t.files).join(",")}).error(function(e,n,r,i){delete t.files[i.file.name],t.value=Object.keys(t.files).join(",")})}},t.selectFile=function(){i.click()}}},template:'
{{ file.progress }}% Complete
{{ file.name }}
'}}return t.$inject=["Upload"],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{scope:{type:"@",step:"@?",field:"&",value:"="},restrict:"E",link:function(e,t){var n=e.field();e.name=n.name(),e.v=n.validation();var r=t.children()[0],i=n.attributes();for(var o in i)"step"!==o?r.setAttribute(o,i[o]):e.step=i[o]},template:''}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){(function(t){"use strict";function r(){return{scope:{field:"&",value:"="},restrict:"E",link:function(e,t){var n=e.field();e.name=n.name(),e.v=n.validation(),e.jsonValue=null===e.value?"":angular.toJson(e.value,!0);var r=t.children()[0],i=n.attributes();for(var o in i)r.setAttribute(o,i[o]);e.$watch("jsonValue",function(t){if(""==t||"undefined"==typeof t)return void(e.value=null);try{var n=angular.fromJson(t);e.value=n}catch(r){}})},template:''}}var i=n(3);t.jsonlint=n(171),n(163),n(164),n(166),n(165),n(167),n(168),i.defineOption("matchBrackets",!0),i.defineOption("autoCloseBrackets",!0),i.defineOption("lineWrapping",!0),i.defineOption("tabSize",2),i.defineOption("mode","application/json"),i.defineOption("gutters",["CodeMirror-lint-markers"]),i.defineOption("lint",!0),i.defineOption("styleActiveLine",!0),t.CodeMirror=i,r.$inject=[],e.exports=r}).call(t,function(){return this}())},function(e,t){"use strict";function n(e){return{scope:{field:"&",value:"=",entry:"=?",datastore:"&?"},restrict:"E",link:function(t){function n(n){return e.refresh(r,t.value,n).then(function(e){t.$broadcast("choices:update",{choices:e})})}var r=t.field();t.name=r.name(),t.v=r.validation(),r.remoteComplete()?(e.getInitialChoices(r,[t.value]).then(function(e){t.$broadcast("choices:update",{choices:e})}),t.refresh=n):n()},template:'\n '}}n.$inject=["ReferenceRefresher"],e.exports=n},function(e,t){"use strict";function n(e){return{scope:{field:"&",value:"=",entry:"=?",datastore:"&?"},restrict:"E",link:function(t){function n(n){return e.refresh(r,t.value,n).then(function(e){t.$broadcast("choices:update",{choices:e})})}var r=t.field();t.name=r.name(),t.v=r.validation(),t.choices=[],t.value&&t.value.length?e.getInitialChoices(r,t.value).then(function(e){t.$broadcast("choices:update",{choices:e}),r.remoteComplete()?t.refresh=n:n()}):r.remoteComplete()?t.refresh=n:n()},template:'\n '}}n.$inject=["ReferenceRefresher"],e.exports=n},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",scope:{field:"&",entry:"&",entity:"&",value:"="},link:function(e){e.field=e.field(),e.entry=e.entry(),e.entity=e.entity()},template:''}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{scope:{field:"&",value:"="},restrict:"E",link:function(e,t){var n=e.field();e.name=n.name(),e.v=n.validation();var r=t.children()[0],i=n.attributes();for(var o in i)r.setAttribute(o,i[o])},template:''}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{scope:{field:"&",value:"="},restrict:"E",link:function(e,t){var n=e.field();e.name=n.name()},template:'
'}}return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t){"use strict";function n(){return{restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$validators.uiSelectRequired=function(e,t){var n;if(angular.isArray(e))n=e;else{if(!angular.isArray(t))return!1;n=t}return n.length>0}}}}n.$inject=[],e.exports=n},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return""},getWriteWidget:function(){return'
'}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t,n){var r;r=function(){"use strict";function e(){this.fieldViews={}}return e.prototype.registerFieldView=function(e,t){this.fieldViews[e]=t},e.prototype.$get=function(){return this.fieldViews},e.$inject=[],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t){"use strict";e.exports={getReadWidget:function(){return"error: cannot display file field as readable"},getLinkWidget:function(){return"error: cannot display file field as linkable"},getFilterWidget:function(){return"error: cannot display file field as filter"},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return"error: cannot display a json field as linkable"},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return"error: cannot display password field as readable"},getLinkWidget:function(){return"error: cannot display password field as linkable"},getFilterWidget:function(){return"error: cannot display password field as filter"},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return"error: cannot display referenced_list field as linkable"},getFilterWidget:function(){return"error: cannot display referenced_list field as filter"},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t){"use strict";e.exports={getReadWidget:function(){return''},getLinkWidget:function(){return''+e.exports.getReadWidget()+""},getFilterWidget:function(){return''},getWriteWidget:function(){return''}}},function(e,t,n){"use strict";function r(e){var t=i(e).map(function(e,t){return''+e.getFilterWidget()+""}).join(""),n='\n
\n
\n
\n
\n \n
\n \n
\n '+t+"\n
\n
\n
\n
\n ";return{restrict:"E",template:n,scope:{filters:"=",datastore:"&",values:"=",removeFilter:"&"},link:function(e){e.datastore=e.datastore(),e.removeFilter=e.removeFilter(),e.shouldFilter=function(){return Object.keys(e.filters).length}}}}var i=n(23);r.$inject=["FieldViewConfiguration"],e.exports=r},function(e,t){"use strict";function n(){return{restrict:"E",scope:{filters:"&",enabledFilters:"=",enableFilter:"&"},link:function(e){e.notYetEnabledFilters=function(){return e.filters().filter(function(t){return-1===e.enabledFilters.indexOf(t)})},e.hasFilters=function(){return e.notYetEnabledFilters().length>0}},template:'\n \n \n'}}n.$inject=[],e.exports=n},function(e,t){"use strict";var n=function(e,t,n,r,i,o,a,s){this.$scope=e,this.$state=t,this.WriteQueries=n,this.dataStore=s,this.progression=i,this.notification=o,this.title=a.title(),this.description=a.description(),this.actions=a.actions(),this.fields=a.fields(),this.config=r(),this.view=a,this.entity=this.view.getEntity(),this.$scope.entry=s.getFirstEntry(this.entity.uniqueId),this.$scope.view=a,this.$scope.entity=this.entity,this.originEntityId=this.$scope.entry.values[this.entity.identifier().name()],e.$on("$destroy",this.destroy.bind(this))};n.prototype.validateEntry=function(){if(!this.form.$valid)return this.notification.log("invalid form",{addnCls:"humane-flatty-error"}),!1;try{this.view.validate(this.$scope.entry)}catch(e){return this.notification.log(e,{addnCls:"humane-flatty-error"}),!1}return!0},n.prototype.submitCreation=function(e){var t=this;if(e.preventDefault(),this.validateEntry()){var n=this.entity,r=this.view,i=n.editionView().enabled?"edit":"show",o=this.$scope.entry.transformToRest(r.fields());this.progression.start(),this.WriteQueries.createOne(r,o).then(function(e){t.progression.done(),t.notification.log("Element successfully created.",{addnCls:"humane-flatty-success"});var o=r.mapEntry(e);t.$state.go(t.$state.get(i),{entity:n.name(),id:o.identifierValue})},this.handleError.bind(this))}},n.prototype.submitEdition=function(e){var t=this;if(e.preventDefault(),this.validateEntry()){var n=this.view,r=this.$scope.entry.transformToRest(n.fields());this.progression.start(),this.WriteQueries.updateOne(n,r,this.originEntityId).then(function(){t.progression.done(),t.notification.log("Changes successfully saved.",{addnCls:"humane-flatty-success"})},this.handleError.bind(this))}},n.prototype.handleError=function(e){var t=this.config.getErrorMessageFor(this.view,e);this.progression.done(),this.notification.log(t,{addnCls:"humane-flatty-error"})},n.prototype.destroy=function(){this.$scope=void 0,this.$state=void 0,this.WriteQueries=void 0,this.dataStore=void 0,this.view=void 0,this.entity=void 0},n.$inject=["$scope","$state","WriteQueries","NgAdminConfiguration","progression","notification","view","dataStore"],e.exports=n},function(e,t,n){var r;r=function(){"use strict";var e=function(e,t,n,r,i,o,a,s,l){this.$scope=e,this.$stateParams=t,this.$location=n,this.$anchorScroll=r,this.ReadQueries=i,this.progression=o,this.view=a,this.entity=a.getEntity(),this.loadingPage=!1,this.search=t.search,this.dataStore=s,this.fields=a.fields(),this.listActions=a.listActions(),this.totalItems=l,this.page=t.page||1,this.infinitePagination=this.view.infinitePagination(),this.nextPageCallback=this.nextPage.bind(this),this.setPageCallback=this.setPage.bind(this),this.sortField=this.$stateParams.sortField||this.view.getSortFieldName(),this.sortDir=this.$stateParams.sortDir||this.view.sortDir(),e.selectionUpdater?(e.selection=e.selection||[],e.$watch("selection",e.selectionUpdater)):e.selection=null,e.$on("$destroy",this.destroy.bind(this))};return e.prototype.nextPage=function(e){var t=this;if(!this.loadingPage){var n=this.view,r=this.dataStore;this.progression.start(),this.ReadQueries.getAll(n,e,this.search,this.sortField,this.sortDir).then(function(e){t.progression.done();var i=n.getReferences();n.mapEntries(e.data).map(function(e){r.fillReferencesValuesFromEntry(e,i,!0),r.addEntry(t.entity.uniqueId,e)}),t.loadingPage=!1})}},e.prototype.setPage=function(e){this.$location.search("page",e),this.$anchorScroll(0)},e.prototype.destroy=function(){this.$scope=void 0,this.$stateParams=void 0,this.$location=void 0,this.$anchorScroll=void 0,this.dataStore=void 0},e.$inject=["$scope","$stateParams","$location","$anchorScroll","ReadQueries","progression","view","dataStore","totalItems"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t){"use strict";var n=function(e,t,n,r,i,o,a){var s=this;this.$scope=e,this.$state=n,this.$stateParams=t,this.$timeout=i,this.view=o,this.dataStore=a,this.entity=o.getEntity(),this.actions=o.actions(),this.batchActions=o.batchActions(),this.loadingPage=!1,this.search=r.search().search?JSON.parse(r.search().search):{},e.$watch(function(){return r.search()&&r.search().search},function(e){return s.search=r.search().search?JSON.parse(r.search().search):{}}),e.$watch(function(){return s.search},_.debounce(function(e,t){e!=t&&s.updateFilters()},500),!0),this.filters=o.filters(),this.enabledFilters=this.filters.filter(function(e){return e.pinned()?!0:s.search&&e.name()in s.search}),this.hasFilters=Object.keys(this.filters).length>0,this.focusedFilterId=null,this.enableFilter=this.enableFilter.bind(this),this.removeFilter=this.removeFilter.bind(this),this.batchActions.length&&(e.selectionUpdater=function(t){return e.selection=t},e.selection=[]),e.$on("$destroy",this.destroy.bind(this))};n.prototype.enableFilter=function(e){var t=this,n=e.defaultValue();null!==n&&(this.search[e.name()]=n),this.enabledFilters.push(e),this.focusedFilterId=e.name(),this.$timeout(function(){var e=window.document.getElementById(t.focusedFilterId);e&&e.focus&&e.focus()},200,!1)},n.prototype.updateFilters=function(){var e,t,n,r={},i=this.enabledFilters;for(n in i)t=i[n],e=t.name(),""!==this.search[e]?("boolean"===t.type()&&this.search[e]||"boolean"!==t.type()&&null!==this.search[e])&&(r[e]=this.search[e]):delete this.search[e];this.$stateParams.search=r,this.$stateParams.page=1,this.$state.go("list",this.$stateParams)},n.prototype.removeFilter=function(e){delete this.search[e.name()],this.enabledFilters=this.enabledFilters.filter(function(t){return t!==e})},n.prototype.destroy=function(){this.$scope=void 0,this.$state=void 0,this.$stateParams=void 0,this.$timeout=void 0,this.dataStore=void 0},n.$inject=["$scope","$stateParams","$state","$location","$timeout","view","dataStore"],e.exports=n},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",scope:{name:"@",entries:"=",selection:"=",fields:"&",listActions:"&",entity:"&"},controllerAs:"datagrid",controller:r,template:'\n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n
\n \n \n \n \n\n {{ field.label() }}\n \n \n Actions\n
\n \n \n \n \n \n
'}}var r=n(118);return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e,t,n,r){e.entity=e.entity(),this.$scope=e,this.$location=t,this.$anchorScroll=r,this.filters={},this.shouldDisplayActions=this.$scope.listActions()&&this.$scope.listActions().length>0,e.toggleSelect=this.toggleSelect.bind(this),e.toggleSelectAll=this.toggleSelectAll.bind(this),this.sortField="sortField"in n?n.sortField:null,this.sortDir="sortDir"in n?n.sortDir:null}return e.prototype.isSorting=function(e){return this.sortField===this.getSortName(e)},e.prototype.itemClass=function(e){return e%2===0?"even":"odd"},e.prototype.sort=function(e){var t="ASC",n=this.getSortName(e);this.sortField===n&&(t="ASC"===this.sortDir?"DESC":"ASC"),this.$location.search("sortField",n),this.$location.search("sortDir",t)},e.prototype.getSortName=function(e){return this.$scope.name+"."+e.name()},e.prototype.toggleSelect=function(e){var t=this.$scope.selection.slice(),n=t.indexOf(e);return-1===n?void(this.$scope.selection=t.concat(e)):(t.splice(n,1),void(this.$scope.selection=t))},e.prototype.toggleSelectAll=function(){return this.$scope.selection.length=l)return;u++,t.nextPage()(u)}}var a=parseInt(t.perPage,10)||1,s=parseInt(t.totalItems,10),l=Math.ceil(s/a)||1,u=1;n.bind("scroll",r),t.$on("$destroy",function(){n.unbind("scroll",r)})}}}var r=n(4);return t.$inject=["$window","$document"],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(){return{restrict:"E",scope:{entry:"=",selection:"=",toggleSelect:"&"},template:'',link:function(e){e.toggle=function(t){return e.toggleSelect({entry:t})};var t=e.entry;e.isInSelection=function(){return e.selection.filter(function(e){return e._entityName==t._entityName&&e._identifierValue==t._identifierValue}).length>0}}}}return e.$inject=[],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(){return{restrict:"E",scope:{entries:"=",selection:"=",toggleSelectAll:"&"},template:'',link:function(e,t){e.$watch("selection",function(n){t.children()[0].indeterminate=n.length>0&&n.length!=e.entries.length}),e.$watch("entries",function(n){t.children()[0].indeterminate=e.selection.length>0&&e.selection.length!=n.length})}}}return e.$inject=[],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",scope:{page:"@",perPage:"@",totalItems:"@",setPage:"&"},template:r,controllerAs:"paginationCtrl",controller:i}}var r=n(155),i=n(123);return t.$inject=[],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(e){this.$scope=e;var t=parseInt(this.$scope.perPage,10)||1,n=parseInt(this.$scope.totalItems,10),r=Math.max(parseInt(this.$scope.page,10),1);this.nbPages=Math.ceil(n/t)||1,this.page=Math.min(this.nbPages,r),this.offsetEnd=Math.min(this.page*t,n),this.offsetBegin=Math.min((this.page-1)*t+1,this.offsetEnd),this.totalItems=n,this.displayPagination=n>t,e.$on("$destroy",this.destroy.bind(this))}n(4);return t.prototype.range=function(e){var t=[],n=this.nbPages;return e>2&&t.push("1"),4==e&&t.push("2"),e>4&&t.push("."), +e>1&&t.push(e-1),t.push(e),n>e&&t.push(e+1),e==n-3&&t.push(n-1),n-3>e&&t.push("."),n-1>e&&t.push(n),t},t.prototype.setPage=function(e){0>=e||e>this.nbPages||this.$scope.setPage()(e)},t.prototype.destroy=function(){this.$scope=void 0},t.$inject=["$scope"],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(){return{restrict:"E",transclude:!0,scope:{buttons:"&",entry:"&",entity:"&"},link:function(e){e.buttons=e.buttons(),e.entry=e.entry(),e.entity=e.entity(),e.customTemplate=!1,"string"==typeof e.buttons&&(e.customTemplate=e.buttons,e.buttons=null)},template:'\n \n \n \n \n \n \n'}}return t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){var t=e.get("$compile");return{transclude:!0,link:function(e,n,r,i,o){var a=e.$watch(function(e){return e.$eval(r.compile)},function(i){return!1===i?void o(e,function(e){n.append(e)}):(n.html(i),t(n.contents())(e),void("true"==r.compileOnce&&a()))})}}}return e.$inject=["$injector"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){this.formatDate=function(t){return function(n){return e("date")(n,t)}},this.formatNumber=function(t){return function(n){return e("numeraljs")(n,t)}}}return e.prototype.formatField=function(e){var t=e.label()||e.name(),n=e.type();switch(n){case"boolean":case"choice":case"choices":case"string":case"text":case"wysiwyg":case"email":case"json":case"file":case"template":return function(n){return{name:t,value:n.values[e.name()]}};case"number":case"float":var r=e.format(),i=this.formatNumber(r);return function(n){return{name:t,value:i(n.values[e.name()])}};case"date":case"datetime":var r=e.format();r||(r="date"===n?"yyyy-MM-dd":"yyyy-MM-dd HH:mm:ss");var o=this.formatDate(r);return function(n){return{name:t,value:o(n.values[e.name()])}};case"reference":return function(n){return{name:t,value:n.listValues[e.name()]}};case"referenced_many":case"referenced_list":return}},e.prototype.getFormatter=function(e){var t=e.map(this.formatField.bind(this));return function(e){var n={};return t.map(function(t){return t?t(e):void 0}).forEach(function(e){e&&(n[e.name]=e.value)}),n}},e.$inject=["$filter"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){return e.getPromisesResolver()}return e.$inject=["AdminDescription"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e){this.Restangular=e,e.setFullResponse(!0)}return e.prototype.getOne=function(e,t){return this.Restangular.oneUrl(e,t).get().then(function(e){return e.data})},e.prototype.getList=function(e,t,n){return this.Restangular.allUrl(t,n).getList(e)},e.prototype.createOne=function(e,t,n,r){var i=this.Restangular.oneUrl(t,n),o=r?i.customOperation(r,null,{},{},e):i.customPOST(e);return o.then(function(e){return e.data})},e.prototype.updateOne=function(e,t,n,r){var i=this.Restangular.oneUrl(t,n),o=r?i.customOperation(r,null,{},{},e):i.customPUT(e);return o.then(function(e){return e.data})},e.prototype.deleteOne=function(e,t){return this.Restangular.oneUrl(e,t).customDELETE()},e.$inject=["Restangular"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e){"use strict";function t(e){var t=e.get("$compile");return{restrict:"E",transclude:!0,scope:{override:"&",entry:"=",entity:"=",selection:"=",batchButtons:"&",datastore:"=",search:"=",filters:"&",enabledFilters:"=",enableFilter:"&"},template:r,link:function(e,n,r,i,o){var a=e.override();return a?"string"==typeof a?(n.html(a),void t(n.contents())(e)):void(e.buttons=a):void o(e,function(e){n.append(e)})}}}var r=n(156);return t.$inject=["$injector"],t}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e,t,n,r){return n.getReadQueries(e,r,t())}return e.$inject=["RestWrapper","NgAdminConfiguration","AdminDescription","PromisesResolver"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n{{ collection().title() || collection().entity.label() }}'}}n.$inject=["$state"],e.exports=n},function(e,t,n){"use strict";function r(e,t,n){return{restrict:"E",scope:{menu:"&"},link:function(r,a){function s(){a.html(i),n(a.contents())(r)}function l(e){var t=c(e);t.ul.addClass("collapsed"),t.arrow.removeClass("glyphicon-menu-down"),t.arrow.addClass("glyphicon-menu-right")}function u(e){var t=c(e);t.ul.removeClass("collapsed"),t.arrow.removeClass("glyphicon-menu-right"),t.arrow.addClass("glyphicon-menu-down")}function c(e){var t;return o.forEach(a.find("li"),function(n){var r=o.element(n);r.attr("data-menu-id")==e.uuid&&(t=r)}),{arrow:o.element(t.find("a")[0].getElementsByClassName("arrow")[0]),ul:t.find("ul").eq(0)}}r.menu=r.menu(),r.path=e.path();var f=[],d=t.$on("$locationChangeSuccess",function(){r.path=e.path(),s()});t.$on("$destroy",d),r.toggleMenu=function(e){if(-1!==f.indexOf(e)){if(e.isChildActive(r.path))return;f.splice(f.indexOf(e),1),l(e)}else f.push(e),u(e)},r.gotoLink=function(t){t.link()&&(f=[],e.url(t.link()))},r.isOpen=function(e){return e.isChildActive(r.path)||-1!==f.indexOf(e)},s()}}}var i=n(161),o=n(4);r.$inject=["$location","$rootScope","$compile"],e.exports=r},function(e,t,n){var r;r=function(){"use strict";function e(){return function(e){var t,n=[];for(t in e)n.push(e[t]);return n.sort(function(e,t){return"function"==typeof e.order?e.order()-t.order():e.order-t.order}),n}}return e.$inject=[],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(){return function(e){return e.replace(/(<([^>]+)>)/gi,"")}}return e.$inject=[],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t){"use strict";function n(e){this.config=null,this.adminDescription=null,this.$compileProvider=e}n.prototype.setAdminDescription=function(e){this.adminDescription=e},n.prototype.configure=function(e){this.config=e,this.$compileProvider.debugInfoEnabled(this.config.debug())},n.prototype.$get=function(){var e=this.config;return function(){return e}},n.prototype.application=function(e,t){return this.adminDescription.application(e,t)},n.prototype.entity=function(e){return this.adminDescription.entity(e)},n.prototype.field=function(e,t){return this.adminDescription.field(e,t)},n.prototype.registerFieldType=function(e,t){return this.adminDescription.registerFieldType(e,t)},n.prototype.getFieldConstructor=function(e){return this.adminDescription.getFieldConstructor(e)},n.prototype.menu=function(e){return this.adminDescription.menu(e)},n.prototype.collection=function(e){return this.adminDescription.collection(e)},n.prototype.dashboard=function(e){return this.adminDescription.dashboard(e)},n.$inject=["$compileProvider"],e.exports=n},function(e,t,n){var r;r=function(){"use strict";function e(e){e.useApplyAsync(!0)}return e.$inject=["$httpProvider"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){"use strict";function r(){return["AdminDescription",function(e){return e.getDataStore()}]}function i(){return["AdminDescription",function(e){return e.getEntryConstructor()}]}function o(e,t){e.state("main",{"abstract":!0,controller:"AppController",controllerAs:"appController",templateProvider:["NgAdminConfiguration",function(e){return e().layout()||a}]}),e.state("dashboard",{parent:"main",url:"/dashboard?sortField&sortDir",params:{sortField:null,sortDir:null},controller:"DashboardController",controllerAs:"dashboardController",templateProvider:["NgAdminConfiguration",function(e){return e().dashboard().template()||s}],resolve:{dataStore:r(),Entry:i(),hasEntities:["NgAdminConfiguration",function(e){return e().entities.length>0}],collections:["NgAdminConfiguration",function(e){return e().dashboard().collections()}],responses:["$stateParams","$q","collections","dataStore","Entry","ReadQueries",function(e,t,n,r,i,o){var a,s,l,u,c="sortField"in e?e.sortField:null,f="sortDir"in e?e.sortDir:null,d={};for(u in n)a=n[u],s=a.getSortFieldName(),l=a.sortDir(),c&&c.split(".")[0]===a.name()&&(s=c,l=f),d[u]=function(e,t,n){var a,s,l;return o.getAll(e,1,{},t,n).then(function(e){return a=e.data}).then(function(t){return o.getFilteredReferenceData(e.getNonOptimizedReferences(),t)}).then(function(t){return s=t,o.getOptimizedReferencedData(e.getOptimizedReferences(),a)}).then(function(t){l=t;var n,o=e.getReferences(),a=angular.extend(s,l);for(var u in a)n=i.createArrayFromRest(a[u],[o[u].targetField()],o[u].targetEntity().name(),o[u].targetEntity().identifier().name()),r.setEntries(o[u].targetEntity().uniqueId+"_values",n)}).then(function(){var t=e.mapEntries(a);return r.fillReferencesValuesFromCollection(t,e.getReferences(),!0),t})}(a,s,l);return t.all(d)}],entries:["responses","collections",function(e,t){var n,r={};for(n in e)r[t[n].name()]=e[n];return r}]}}),e.state("ma-404",{parent:"main",template:l}),t.when("","/dashboard"),t.otherwise(function(e,t){var n=e.get("$state");return n.go("ma-404"),t.path()})}var a=n(160),s=n(159),l=n(158);o.$inject=["$stateProvider","$urlRouterProvider"],e.exports=o},function(e,t,n){var r;r=function(){"use strict";function e(e,t,n){e.$on("$stateChangeError",function(e,r,i,o,a,s){if(404!=s.status)throw n.log("State change error: "+s.message,{addnCls:"humane-flatty-error"}),s;t.go("ma-404"),e.preventDefault()})}return e.$inject=["$rootScope","$state","notification"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(){"use strict";function e(e,t,n){e.$on("$stateChangeStart",function(){n.start()}),e.$on("$stateChangeSuccess",function(){n.done(),t.scrollTo(0,0)}),e.$on("$stateChangeError",function(){n.done()})}return e.$inject=["$rootScope","$window","progression"],e}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t){},function(e,t){e.exports='

Are you sure ?

'},function(e,t){e.exports='

Are you sure ?

'},function(e,t){e.exports='
'},function(e,t){e.exports='
'},function(e,t){e.exports='
'},function(e,t){e.exports='
'},function(e,t){e.exports=''},function(e,t){e.exports=''; +},function(e,t){e.exports='
'},function(e,t){e.exports="
The page you are looking for cannot be found. Take a break before trying again.



\n\n       |\\      _,,,---,,_\n       /,`.-'`'    -.  ;-;;,_\n      |,4-  ) )-,_..;\\ (  `'-'\n     '---''(_/--'  `-'\\_)\n\n    
"},function(e,t){e.exports='

All dependencies are set, ng-admin is ready to run!

Now you can update the configuration: add entities to the admin, then refresh.

'},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){/** * @license AngularJS v1.3.17 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ -!function(e,t,n){"use strict";function r(e,t){return t=t||Error,function(){var n,r,i=arguments[0],o="["+(e?e+":":"")+i+"] ",a=arguments[1],s=arguments;for(n=o+a.replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1);return t+20&&t-1 in e}function o(e,t,n){var r,a;if(e)if(_(e))for(r in e)"prototype"==r||"length"==r||"name"==r||e.hasOwnProperty&&!e.hasOwnProperty(r)||t.call(n,e[r],r,e);else if(dr(e)||i(e)){var s="object"!=typeof e;for(r=0,a=e.length;a>r;r++)(s||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==o)e.forEach(t,n,e);else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);return e}function a(e){return Object.keys(e).sort()}function s(e,t,n){for(var r=a(e),i=0;in;n++){var i=arguments[n];if(i)for(var o=Object.keys(i),a=0,s=o.length;s>a;a++){var l=o[a];e[l]=i[l]}}return c(e,t),e}function d(e){return parseInt(e,10)}function p(e,t){return f(Object.create(e),t)}function h(){}function g(e){return e}function v(e){return function(){return e}}function m(e){return"undefined"==typeof e}function y(e){return"undefined"!=typeof e}function b(e){return null!==e&&"object"==typeof e}function w(e){return"string"==typeof e}function $(e){return"number"==typeof e}function x(e){return"[object Date]"===sr.call(e)}function _(e){return"function"==typeof e}function C(e){return"[object RegExp]"===sr.call(e)}function k(e){return e&&e.window===e}function E(e){return e&&e.$evalAsync&&e.$watch}function S(e){return"[object File]"===sr.call(e)}function O(e){return"[object FormData]"===sr.call(e)}function T(e){return"[object Blob]"===sr.call(e)}function A(e){return"boolean"==typeof e}function M(e){return e&&_(e.then)}function R(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function D(e){var t,n={},r=e.split(",");for(t=0;t=0&&e.splice(n,1),t}function L(e,t,n,r){if(k(e)||E(e))throw lr("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");if(t){if(e===t)throw lr("cpi","Can't copy! Source and destination are identical.");if(n=n||[],r=r||[],b(e)){var i=n.indexOf(e);if(-1!==i)return r[i];n.push(e),r.push(t)}var a;if(dr(e)){t.length=0;for(var s=0;sn;n++)t[n]=e[n]}else if(b(e)){t=t||{};for(var i in e)("$"!==i.charAt(0)||"$"!==i.charAt(1))&&(t[i]=e[i])}return t||e}function j(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var r,i,o,a=typeof e,s=typeof t;if(a==s&&"object"==a){if(!dr(e)){if(x(e))return x(t)?j(e.getTime(),t.getTime()):!1;if(C(e))return C(t)?e.toString()==t.toString():!1;if(E(e)||E(t)||k(e)||k(t)||dr(t)||x(t)||C(t))return!1;o={};for(i in e)if("$"!==i.charAt(0)&&!_(e[i])){if(!j(e[i],t[i]))return!1;o[i]=!0}for(i in t)if(!o.hasOwnProperty(i)&&"$"!==i.charAt(0)&&t[i]!==n&&!_(t[i]))return!1;return!0}if(!dr(t))return!1;if((r=e.length)==t.length){for(i=0;r>i;i++)if(!j(e[i],t[i]))return!1;return!0}}return!1}function I(e,t,n){return e.concat(ir.call(t,n))}function V(e,t){return ir.call(e,t||0)}function H(e,t){var n=arguments.length>2?V(arguments,2):[];return!_(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,I(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function W(e,r){var i=r;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?i=n:k(r)?i="$WINDOW":r&&t===r?i="$DOCUMENT":E(r)&&(i="$SCOPE"),i}function U(e,t){return"undefined"==typeof e?n:($(t)||(t=t?2:null),JSON.stringify(e,W,t))}function z(e){return w(e)?JSON.parse(e):e}function B(e){e=tr(e).clone();try{e.empty()}catch(t){}var n=tr("
").append(e).html();try{return e[0].nodeType===$r?Yn(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Yn(t)})}catch(t){return Yn(n)}}function q(e){try{return decodeURIComponent(e)}catch(t){}}function G(e){var t,n,r={};return o((e||"").split("&"),function(e){if(e&&(t=e.replace(/\+/g,"%20").split("="),n=q(t[0]),y(n))){var i=y(t[1])?q(t[1]):!0;Qn.call(r,n)?dr(r[n])?r[n].push(i):r[n]=[r[n],i]:r[n]=i}}),r}function K(e){var t=[];return o(e,function(e,n){dr(e)?o(e,function(e){t.push(Q(n,!0)+(e===!0?"":"="+Q(e,!0)))}):t.push(Q(n,!0)+(e===!0?"":"="+Q(e,!0)))}),t.length?t.join("&"):""}function Y(e){return Q(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Q(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function X(e,t){var n,r,i=vr.length;for(e=tr(e),r=0;i>r;++r)if(n=vr[r]+t,w(n=e.attr(n)))return n;return null}function J(e,t){var n,r,i={};o(vr,function(t){var i=t+"app";!n&&e.hasAttribute&&e.hasAttribute(i)&&(n=e,r=e.getAttribute(i))}),o(vr,function(t){var i,o=t+"app";!n&&(i=e.querySelector("["+o.replace(":","\\:")+"]"))&&(n=i,r=i.getAttribute(o))}),n&&(i.strictDi=null!==X(n,"strict-di"),t(n,r?[r]:[],i))}function Z(n,r,i){b(i)||(i={});var a={strictDi:!1};i=f(a,i);var s=function(){if(n=tr(n),n.injector()){var e=n[0]===t?"document":B(n);throw lr("btstrpd","App Already Bootstrapped with this Element '{0}'",e.replace(//,">"))}r=r||[],r.unshift(["$provide",function(e){e.value("$rootElement",n)}]),i.debugInfoEnabled&&r.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),r.unshift("ng");var o=ze(r,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},l=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;return e&&l.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(l,"")),e&&!u.test(e.name)?s():(e.name=e.name.replace(u,""),ur.resumeBootstrap=function(e){return o(e,function(e){r.push(e)}),s()},void(_(ur.resumeDeferredBootstrap)&&ur.resumeDeferredBootstrap()))}function ee(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function te(e){var t=ur.element(e).injector();if(!t)throw lr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function ne(e,t){return t=t||"_",e.replace(mr,function(e,n){return(n?t:"")+e.toLowerCase()})}function re(){var t;yr||(nr=e.jQuery,nr&&nr.fn.on?(tr=nr,f(nr.fn,{scope:Ir.scope,isolateScope:Ir.isolateScope,controller:Ir.controller,injector:Ir.injector,inheritedData:Ir.inheritedData}),t=nr.cleanData,nr.cleanData=function(e){var n;if(fr)fr=!1;else for(var r,i=0;null!=(r=e[i]);i++)n=nr._data(r,"events"),n&&n.$destroy&&nr(r).triggerHandler("$destroy");t(e)}):tr=we,ur.element=tr,yr=!0)}function ie(e,t,n){if(!e)throw lr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function oe(e,t,n){return n&&dr(e)&&(e=e[e.length-1]),ie(_(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function ae(e,t){if("hasOwnProperty"===e)throw lr("badname","hasOwnProperty is not a valid {0} name",t)}function se(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;a>s;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&_(e)?H(o,e):e}function le(e){var t=e[0],n=e[e.length-1],r=[t];do{if(t=t.nextSibling,!t)break;r.push(t)}while(t!==n);return tr(r)}function ue(){return Object.create(null)}function ce(e){function t(e,t,n){return e[t]||(e[t]=n())}var n=r("$injector"),i=r("ng"),o=t(e,"angular",Object);return o.$$minErr=o.$$minErr||r,t(o,"module",function(){var e={};return function(r,o,a){var s=function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)};return s(r,"module"),o&&e.hasOwnProperty(r)&&(e[r]=null),t(e,r,function(){function e(e,n,r,i){return i||(i=t),function(){return i[r||"push"]([e,n,arguments]),u}}if(!o)throw n("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",r);var t=[],i=[],s=[],l=e("$injector","invoke","push",i),u={_invokeQueue:t,_configBlocks:i,_runBlocks:s,requires:o,name:r,provider:e("$provide","provider"),factory:e("$provide","factory"),service:e("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),animation:e("$animateProvider","register"),filter:e("$filterProvider","register"),controller:e("$controllerProvider","register"),directive:e("$compileProvider","directive"),config:l,run:function(e){return s.push(e),this}};return a&&l(a),u})}})}function fe(e){var t=[];return JSON.stringify(e,function(e,n){if(n=W(e,n),b(n)){if(t.indexOf(n)>=0)return"<>";t.push(n)}return n})}function de(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof e?"undefined":"string"!=typeof e?fe(e):e}function pe(t){f(t,{bootstrap:Z,copy:L,extend:f,equals:j,element:tr,forEach:o,injector:ze,noop:h,bind:H,toJson:U,fromJson:z,identity:g,isUndefined:m,isDefined:y,isString:w,isFunction:_,isObject:b,isNumber:$,isElement:R,isArray:dr,version:kr,isDate:x,lowercase:Yn,uppercase:Xn,callbacks:{counter:0},getTestability:te,$$minErr:r,$$csp:gr,reloadWithDebugInfo:ee}),rr=ce(e);try{rr("ngLocale")}catch(n){rr("ngLocale",[]).provider("$locale",vt)}rr("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Kt}),e.provider("$compile",Xe).directive({a:Mi,input:Ki,textarea:Ki,form:Li,script:jo,select:Ho,style:Uo,option:Wo,ngBind:Xi,ngBindHtml:Zi,ngBindTemplate:Ji,ngClass:to,ngClassEven:ro,ngClassOdd:no,ngCloak:io,ngController:oo,ngForm:Ni,ngHide:Ro,ngIf:lo,ngInclude:uo,ngInit:fo,ngNonBindable:Eo,ngPluralize:So,ngRepeat:Oo,ngShow:Mo,ngStyle:Do,ngSwitch:Po,ngSwitchWhen:Fo,ngSwitchDefault:Lo,ngOptions:Vo,ngTransclude:No,ngModel:_o,ngList:po,ngChange:eo,pattern:Bo,ngPattern:Bo,required:zo,ngRequired:zo,minlength:Go,ngMinlength:Go,maxlength:qo,ngMaxlength:qo,ngValue:Qi,ngModelOptions:ko}).directive({ngInclude:co}).directive(Ri).directive(ao),e.provider({$anchorScroll:Be,$animate:Yr,$browser:Ke,$cacheFactory:Ye,$controller:tt,$document:nt,$exceptionHandler:rt,$filter:sn,$interpolate:ht,$interval:gt,$http:ct,$httpBackend:dt,$location:At,$log:Mt,$parse:Wt,$rootScope:Gt,$q:Ut,$$q:zt,$sce:Jt,$sceDelegate:Xt,$sniffer:Zt,$templateCache:Qe,$templateRequest:en,$$testability:tn,$timeout:nn,$window:an,$$rAF:qt,$$asyncCallback:qe,$$jqLite:Ie})}])}function he(){return++Sr}function ge(e){return e.replace(Ar,function(e,t,n,r){return r?n.toUpperCase():n}).replace(Mr,"Moz$1")}function ve(e){return!Fr.test(e)}function me(e){var t=e.nodeType;return t===br||!t||t===_r}function ye(e,t){var n,r,i,a,s=t.createDocumentFragment(),l=[];if(ve(e))l.push(t.createTextNode(e));else{for(n=n||s.appendChild(t.createElement("div")),r=(Lr.exec(e)||["",""])[1].toLowerCase(),i=jr[r]||jr._default,n.innerHTML=i[1]+e.replace(Nr,"<$1>")+i[2],a=i[0];a--;)n=n.lastChild;l=I(l,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",o(l,function(e){s.appendChild(e)}),s}function be(e,n){n=n||t;var r;return(r=Pr.exec(e))?[n.createElement(r[1])]:(r=ye(e,n))?r.childNodes:[]}function we(e){if(e instanceof we)return e;var t;if(w(e)&&(e=pr(e),t=!0),!(this instanceof we)){if(t&&"<"!=e.charAt(0))throw Dr("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new we(e)}t?Ae(this,be(e)):Ae(this,e)}function $e(e){return e.cloneNode(!0)}function xe(e,t){if(t||Ce(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;i>r;r++)Ce(n[r])}function _e(e,t,n,r){if(y(r))throw Dr("offargs","jqLite#off() does not support the `selector` argument");var i=ke(e),a=i&&i.events,s=i&&i.handle;if(s)if(t)o(t.split(" "),function(t){if(y(n)){var r=a[t];if(F(r||[],n),r&&r.length>0)return}Tr(e,t,s),delete a[t]});else for(t in a)"$destroy"!==t&&Tr(e,t,s),delete a[t]}function Ce(e,t){var r=e.ng339,i=r&&Er[r];if(i){if(t)return void delete i.data[t];i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),_e(e)),delete Er[r],e.ng339=n}}function ke(e,t){var r=e.ng339,i=r&&Er[r];return t&&!i&&(e.ng339=r=he(),i=Er[r]={events:{},data:{},handle:n}),i}function Ee(e,t,n){if(me(e)){var r=y(n),i=!r&&t&&!b(t),o=!t,a=ke(e,!i),s=a&&a.data;if(r)s[t]=n;else{if(o)return s;if(i)return s&&s[t];f(s,t)}}}function Se(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function Oe(e,t){t&&e.setAttribute&&o(t.split(" "),function(t){e.setAttribute("class",pr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+pr(t)+" "," ")))})}function Te(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(t.split(" "),function(e){e=pr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",pr(n))}}function Ae(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;n>r;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function Me(e,t){return Re(e,"$"+(t||"ngController")+"Controller")}function Re(e,t,r){e.nodeType==_r&&(e=e.documentElement);for(var i=dr(t)?t:[t];e;){for(var o=0,a=i.length;a>o;o++)if((r=tr.data(e,i[o]))!==n)return r;e=e.parentNode||e.nodeType===Cr&&e.host}}function De(e){for(xe(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Pe(e,t){t||xe(e);var n=e.parentNode;n&&n.removeChild(e)}function Fe(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):tr(n).on("load",t)}function Le(e,t){var n=Vr[t.toLowerCase()];return n&&Hr[P(e)]&&n}function Ne(e,t){var n=e.nodeName;return("INPUT"===n||"TEXTAREA"===n)&&Wr[t]}function je(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(m(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return n.immediatePropagationStopped===!0},o>1&&(i=N(i));for(var s=0;o>s;s++)n.isImmediatePropagationStopped()||i[s].call(e,n)}};return n.elem=e,n}function Ie(){this.$get=function(){return f(we,{hasClass:function(e,t){return e.attr&&(e=e[0]),Se(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Te(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),Oe(e,t)}})}}function Ve(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"==r||"object"==r&&null!==e?e.$$hashKey=r+":"+(t||u)():r+":"+e}function He(e,t){if(t){var n=0;this.nextUid=function(){return++n}}o(e,this.put,this)}function We(e){var t=e.toString().replace(qr,""),n=t.match(Ur);return n?"function("+(n[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function Ue(e,t,n){var r,i,a,s;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw w(n)&&n||(n=e.name||We(e)),Gr("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);i=e.toString().replace(qr,""),a=i.match(Ur),o(a[1].split(zr),function(e){e.replace(Br,function(e,t,n){r.push(n)})})}e.$inject=r}}else dr(e)?(s=e.length-1,oe(e[s],"fn"),r=e.slice(0,s)):oe(e,"fn",!0);return r}function ze(e,t){function r(e){return function(t,n){return b(t)?void o(t,l(e)):e(t,n)}}function i(e,t){if(ae(e,"service"),(_(t)||dr(t))&&(t=E.instantiate(t)),!t.$get)throw Gr("pget","Provider '{0}' must define $get factory method.",e);return k[e+$]=t}function a(e,t){return function(){var n=O.invoke(t,this);if(m(n))throw Gr("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function s(e,t,n){return i(e,{$get:n!==!1?a(e,t):t})}function u(e,t){return s(e,["$injector",function(e){return e.instantiate(t)}])}function c(e,t){return s(e,v(t),!1)}function f(e,t){ae(e,"constant"),k[e]=t,S[e]=t}function d(e,t){var n=E.get(e+$),r=n.$get;n.$get=function(){var e=O.invoke(r,n);return O.invoke(t,null,{$delegate:e})}}function p(e){var t,n=[];return o(e,function(e){function r(e){var t,n;for(t=0,n=e.length;n>t;t++){var r=e[t],i=E.get(r[0]);i[r[1]].apply(i,r[2])}}if(!C.get(e)){C.put(e,!0);try{w(e)?(t=rr(e),n=n.concat(p(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):_(e)?n.push(E.invoke(e)):dr(e)?n.push(E.invoke(e)):oe(e,"module")}catch(i){throw dr(e)&&(e=e[e.length-1]),i.message&&i.stack&&-1==i.stack.indexOf(i.message)&&(i=i.message+"\n"+i.stack),Gr("modulerr","Failed to instantiate module {0} due to:\n{1}",e,i.stack||i.message||i)}}}),n}function g(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===y)throw Gr("cdep","Circular dependency found: {0}",t+" <- "+x.join(" <- "));return e[t]}try{return x.unshift(t),e[t]=y,e[t]=n(t,r)}catch(i){throw e[t]===y&&delete e[t],i}finally{x.shift()}}function i(e,n,i,o){"string"==typeof i&&(o=i,i=null);var a,s,l,u=[],c=ze.$$annotate(e,t,o);for(s=0,a=c.length;a>s;s++){if(l=c[s],"string"!=typeof l)throw Gr("itkn","Incorrect injection token! Expected service name as string, got {0}",l);u.push(i&&i.hasOwnProperty(l)?i[l]:r(l,o))}return dr(e)&&(e=e[a]),e.apply(n,u)}function o(e,t,n){var r=Object.create((dr(e)?e[e.length-1]:e).prototype||null),o=i(e,r,t,n);return b(o)||_(o)?o:r}return{invoke:i,instantiate:o,get:r,annotate:ze.$$annotate,has:function(t){return k.hasOwnProperty(t+$)||e.hasOwnProperty(t)}}}t=t===!0;var y={},$="Provider",x=[],C=new He([],!0),k={$provide:{provider:r(i),factory:r(s),service:r(u),value:r(c),constant:r(f),decorator:d}},E=k.$injector=g(k,function(e,t){throw ur.isString(t)&&x.push(t),Gr("unpr","Unknown provider: {0}",x.join(" <- "))}),S={},O=S.$injector=g(S,function(e,t){var r=E.get(e+$,t);return O.invoke(r.$get,r,n,e)});return o(p(e),function(e){O.invoke(e||h)}),O}function Be(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){return"a"===P(e)?(t=e,!0):void 0}),t}function o(){var e=s.yOffset;if(_(e))e=e();else if(R(e)){var n=e[0],r=t.getComputedStyle(n);e="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else $(e)||(e=0);return e}function a(e){if(e){e.scrollIntoView();var n=o();if(n){var r=e.getBoundingClientRect().top;t.scrollBy(0,r-n)}}else t.scrollTo(0,0)}function s(){var e,t=n.hash();t?(e=l.getElementById(t))?a(e):(e=i(l.getElementsByName(t)))?a(e):"top"===t&&a(null):a(null)}var l=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){(e!==t||""!==e)&&Fe(function(){r.$evalAsync(s)})}),s}]}function qe(){this.$get=["$$rAF","$timeout",function(e,t){return e.supported?function(t){return e(t)}:function(e){return t(e,0,!1)}}]}function Ge(e,t,r,i){function a(e){try{e.apply(null,V(arguments,1))}finally{if(C--,0===C)for(;k.length;)try{k.pop()()}catch(t){r.error(t)}}}function s(e){var t=e.indexOf("#");return-1===t?"":e.substr(t)}function l(e,t){!function n(){o(S,function(e){e()}),E=t(n,e)}()}function u(){f(),d()}function c(){try{return b.state}catch(e){}}function f(){O=c(),O=m(O)?null:O,j(O,F)&&(O=F),F=O}function d(){(A!==g.url()||T!==O)&&(A=g.url(),T=O,o(D,function(e){e(g.url(),O)}))}function p(e){try{return decodeURIComponent(e)}catch(t){return e}}var g=this,v=t[0],y=e.location,b=e.history,$=e.setTimeout,x=e.clearTimeout,_={};g.isMock=!1;var C=0,k=[];g.$$completeOutstandingRequest=a,g.$$incOutstandingRequestCount=function(){C++},g.notifyWhenNoOutstandingRequests=function(e){o(S,function(e){e()}),0===C?e():k.push(e)};var E,S=[];g.addPollFn=function(e){return m(E)&&l(100,$),S.push(e),e};var O,T,A=y.href,M=t.find("base"),R=null;f(),T=O,g.url=function(t,n,r){if(m(r)&&(r=null),y!==e.location&&(y=e.location),b!==e.history&&(b=e.history),t){var o=T===r;if(A===t&&(!i.history||o))return g;var a=A&&$t(A)===$t(t);return A=t,T=r,!i.history||a&&o?((!a||R)&&(R=t),n?y.replace(t):a?y.hash=s(t):y.href=t):(b[n?"replaceState":"pushState"](r,"",t),f(),T=O),g}return R||y.href.replace(/%27/g,"'")},g.state=function(){return O};var D=[],P=!1,F=null;g.onUrlChange=function(t){return P||(i.history&&tr(e).on("popstate",u),tr(e).on("hashchange",u),P=!0),D.push(t),t},g.$$checkUrlChange=d,g.baseHref=function(){var e=M.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var L={},N="",I=g.baseHref();g.cookies=function(e,t){var i,o,a,s,l;if(!e){if(v.cookie!==N)for(N=v.cookie,o=N.split("; "),L={},s=0;s0&&(e=p(a.substring(0,l)),L[e]===n&&(L[e]=p(a.substring(l+1))));return L}t===n?v.cookie=encodeURIComponent(e)+"=;path="+I+";expires=Thu, 01 Jan 1970 00:00:00 GMT":w(t)&&(i=(v.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+";path="+I).length+1,i>4096&&r.warn("Cookie '"+e+"' possibly not set or overflowed because it was too large ("+i+" > 4096 bytes)!"))},g.defer=function(e,t){var n;return C++,n=$(function(){delete _[n],a(e)},t||0),_[n]=!0,n},g.defer.cancel=function(e){return _[e]?(delete _[e],x(e),a(h),!0):!1}}function Ke(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new Ge(e,r,t,n)}]}function Ye(){this.$get=function(){function e(e,n){function i(e){e!=d&&(p?p==e&&(p=e.n):p=e,o(e.n,e.p),o(e,d),d=e,d.n=null)}function o(e,t){e!=t&&(e&&(e.p=t),t&&(t.n=e))}if(e in t)throw r("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var a=0,s=f({},n,{id:e}),l={},u=n&&n.capacity||Number.MAX_VALUE,c={},d=null,p=null;return t[e]={put:function(e,t){if(uu&&this.remove(p.key),t},get:function(e){if(u").parent()[0])});var a=D(e,t,e,n,r,i);M.$$addScopeClass(e);var s=null;return function(t,n,r){ie(t,"scope"),r=r||{};var i=r.parentBoundTranscludeFn,o=r.transcludeControllers,l=r.futureParentElement;i&&i.$$boundTransclude&&(i=i.$$boundTransclude),s||(s=R(l));var u;if(u="html"!==s?tr(J(s,tr("
").append(e).html())):n?Ir.clone.call(e):e,o)for(var c in o)u.data("$"+c+"Controller",o[c].instance);return M.$$addScopeInfo(u,t),n&&n(u,t),a&&a(t,u,u,i),u}}function R(e){var t=e&&e[0];return t&&"foreignobject"!==P(t)&&t.toString().match(/SVG/)?"svg":"html"}function D(e,t,r,i,o,a){function s(e,r,i,o){var a,s,l,u,c,f,d,p,v;if(h){var m=r.length;for(v=new Array(m),c=0;cc;)l=v[g[c++]],a=g[c++],s=g[c++],a?(a.scope?(u=e.$new(),M.$$addScopeInfo(tr(l),u)):u=e,p=a.transcludeOnThisElement?L(e,a.transclude,o,a.elementTranscludeOnThisElement):!a.templateOnThisElement&&o?o:!o&&t?L(e,t):null,a(s,u,l,i,p)):s&&s(e,l.childNodes,n,o)}for(var l,u,c,f,d,p,h,g=[],v=0;vy;y++){var x=!1,_=!1;u=m[y],f=u.name,g=pr(u.value),h=Je(f),(v=fe.test(h))&&(f=f.replace(Xr,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var C=h.replace(/(Start|End)$/,"");q(C)&&h===C+"Start"&&(x=f,_=f.substr(0,f.length-5)+"end",f=f.substr(0,f.length-6)),p=Je(f.toLowerCase()),l[p]=f,(v||!n.hasOwnProperty(p))&&(n[p]=g,Le(e,p)&&(n[p]=!0)),ee(e,t,g,p,v),z(t,p,"A",r,i,x,_)}if(a=e.className,b(a)&&(a=a.animVal),w(a)&&""!==a)for(;o=d.exec(a);)p=Je(o[2]),z(t,p,"C",r,i)&&(n[p]=pr(o[3])),a=a.substr(o.index+o[0].length);break;case $r:X(t,e.nodeValue);break;case xr:try{o=c.exec(e.nodeValue),o&&(p=Je(o[1]),z(t,p,"M",r,i)&&(n[p]=pr(o[2])))}catch(k){}}return t.sort(Y),t}function I(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Qr("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==br&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return tr(r)}function H(e,t,n){return function(r,i,o,a,s){return i=I(i[0],t,n),e(r,i,o,a,s)}}function W(e,a,s,u,c,f,d,p,h){function g(e,t,n,r){e&&(n&&(e=H(e,n,r)),e.require=k.require,e.directiveName=S,(P===k||k.$$isolateScope)&&(e=re(e,{isolateScope:!0})),d.push(e)),t&&(n&&(t=H(t,n,r)),t.require=k.require,t.directiveName=S,(P===k||k.$$isolateScope)&&(t=re(t,{isolateScope:!0})),p.push(t))}function m(e,t,n,r){var i,a,s="data",l=!1,u=n;if(w(t)){if(a=t.match($),t=t.substring(a[0].length),a[3]&&(a[1]?a[3]=null:a[1]=a[3]),"^"===a[1]?s="inheritedData":"^^"===a[1]&&(s="inheritedData",u=n.parent()),"?"===a[2]&&(l=!0),i=null,r&&"data"===s&&(i=r[t])&&(i=i.instance),i=i||u[s]("$"+t+"Controller"),!i&&!l)throw Qr("ctreq","Controller '{0}', required by directive '{1}', can't be found!",t,e);return i||null}return dr(t)&&(i=[],o(t,function(t){i.push(m(e,t,n,r))})),i}function y(e,t,i,u,c){function f(e,t,r){var i;return E(e)||(r=t,t=e,e=n),q&&(i=$),r||(r=q?_.parent():_),c(e,t,i,r,T)}var h,g,y,b,w,$,x,_,k;if(a===i?(k=s,_=s.$$element):(_=tr(i),k=new ae(_,s)),P&&(w=t.$new(!0)),c&&(x=f,x.$$boundTransclude=c),D&&(C={},$={},o(D,function(e){var n,r={$scope:e===P||e.$$isolateScope?w:t,$element:_,$attrs:k,$transclude:x};b=e.controller,"@"==b&&(b=k[e.name]),n=v(b,r,!0,e.controllerAs),$[e.name]=n,q||_.data("$"+e.name+"Controller",n.instance),C[e.name]=n})),P){M.$$addScopeInfo(_,w,!0,!(F&&(F===P||F===P.$$originalDirective))),M.$$addScopeClass(_,!0);var S=C&&C[P.name],O=w;S&&S.identifier&&P.bindToController===!0&&(O=S.instance),o(w.$$isolateBindings=P.$$isolateBindings,function(e,n){var i,o,a,s,u=e.attrName,c=e.optional,f=e.mode;switch(f){case"@":k.$observe(u,function(e){O[n]=e}),k.$$observers[u].$$scope=t,k[u]&&(O[n]=r(k[u])(t));break;case"=":if(c&&!k[u])return;o=l(k[u]),s=o.literal?j:function(e,t){return e===t||e!==e&&t!==t},a=o.assign||function(){throw i=O[n]=o(t),Qr("nonassign","Expression '{0}' used with directive '{1}' is non-assignable!",k[u],P.name)},i=O[n]=o(t);var d=function(e){return s(e,O[n])||(s(e,i)?a(t,e=O[n]):O[n]=e),i=e};d.$stateful=!0;var p;p=e.collection?t.$watchCollection(k[u],d):t.$watch(l(k[u],d),null,o.literal),w.$on("$destroy",p);break;case"&":o=l(k[u]),O[n]=function(e){return o(t,e)}}})}for(C&&(o(C,function(e){e()}),C=null),h=0,g=d.length;g>h;h++)y=d[h],oe(y,y.isolateScope?w:t,_,k,y.require&&m(y.directiveName,y.require,_,$),x);var T=t;for(P&&(P.template||null===P.templateUrl)&&(T=w),e&&e(T,i.childNodes,n,c),h=p.length-1;h>=0;h--)y=p[h],oe(y,y.isolateScope?w:t,_,k,y.require&&m(y.directiveName,y.require,_,$),x)}h=h||{};for(var x,C,k,S,O,T,A,R=-Number.MAX_VALUE,D=h.controllerDirectives,P=h.newIsolateScopeDirective,F=h.templateDirective,L=h.nonTlbTranscludeDirective,W=!1,z=!1,q=h.hasElementTranscludeDirective,Y=s.$$element=tr(a),X=f,Z=u,ee=0,ne=e.length;ne>ee;ee++){k=e[ee];var ie=k.$$start,se=k.$$end;if(ie&&(Y=I(a,ie,se)),O=n,R>k.priority)break;if((A=k.scope)&&(k.templateUrl||(b(A)?(Q("new/isolated scope",P||x,k,Y),P=k):Q("new/isolated scope",P,k,Y)),x=x||k),S=k.name,!k.templateUrl&&k.controller&&(A=k.controller,D=D||{},Q("'"+S+"' controller",D[S],k,Y),D[S]=k),(A=k.transclude)&&(W=!0,k.$$tlb||(Q("transclusion",L,k,Y),L=k),"element"==A?(q=!0,R=k.priority,O=Y,Y=s.$$element=tr(t.createComment(" "+S+": "+s[S]+" ")),a=Y[0],te(c,V(O),a),Z=M(O,u,R,X&&X.name,{nonTlbTranscludeDirective:L})):(O=tr($e(a)).contents(),Y.empty(),Z=M(O,u))),k.template)if(z=!0,Q("template",F,k,Y),F=k,A=_(k.template)?k.template(Y,s):k.template,A=ce(A),k.replace){if(X=k,O=ve(A)?[]:et(J(k.templateNamespace,pr(A))),a=O[0],1!=O.length||a.nodeType!==br)throw Qr("tplrt","Template for directive '{0}' must have exactly one root element. {1}",S,"");te(c,Y,a);var le={$attr:{}},ue=N(a,[],le),fe=e.splice(ee+1,e.length-(ee+1));P&&U(ue),e=e.concat(ue).concat(fe),G(s,le),ne=e.length}else Y.html(A);if(k.templateUrl)z=!0,Q("template",F,k,Y),F=k,k.replace&&(X=k),y=K(e.splice(ee,e.length-ee),Y,s,c,W&&Z,d,p,{controllerDirectives:D,newIsolateScopeDirective:P,templateDirective:F,nonTlbTranscludeDirective:L}),ne=e.length;else if(k.compile)try{T=k.compile(Y,s,Z),_(T)?g(null,T,ie,se):T&&g(T.pre,T.post,ie,se)}catch(de){i(de,B(Y))}k.terminal&&(y.terminal=!0,R=Math.max(R,k.priority))}return y.scope=x&&x.scope===!0,y.transcludeOnThisElement=W,y.elementTranscludeOnThisElement=q,y.templateOnThisElement=z,y.transclude=Z,h.hasElementTranscludeDirective=q,y}function U(e){for(var t=0,n=e.length;n>t;t++)e[t]=p(e[t],{$$isolateScope:!0})}function z(t,r,o,a,l,c,f){ -if(r===l)return null;var d=null;if(s.hasOwnProperty(r))for(var h,g=e.get(r+u),v=0,m=g.length;m>v;v++)try{h=g[v],(a===n||a>h.priority)&&-1!=h.restrict.indexOf(o)&&(c&&(h=p(h,{$$start:c,$$end:f})),t.push(h),d=h)}catch(y){i(y)}return d}function q(t){if(s.hasOwnProperty(t))for(var n,r=e.get(t+u),i=0,o=r.length;o>i;i++)if(n=r[i],n.multiElement)return!0;return!1}function G(e,t){var n=t.$attr,r=e.$attr,i=e.$$element;o(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),o(t,function(t,o){"class"==o?(A(i,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==o?(i.attr("style",i.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==o.charAt(0)||e.hasOwnProperty(o)||(e[o]=t,r[o]=n[o])})}function K(e,t,n,r,i,s,l,u){var c,f,d=[],h=t[0],g=e.shift(),v=p(g,{templateUrl:null,transclude:null,replace:null,$$originalDirective:g}),m=_(g.templateUrl)?g.templateUrl(t,n):g.templateUrl,y=g.templateNamespace;return t.empty(),a(m).then(function(a){var p,w,$,x;if(a=ce(a),g.replace){if($=ve(a)?[]:et(J(y,pr(a))),p=$[0],1!=$.length||p.nodeType!==br)throw Qr("tplrt","Template for directive '{0}' must have exactly one root element. {1}",g.name,m);w={$attr:{}},te(r,t,p);var _=N(p,[],w);b(g.scope)&&U(_),e=_.concat(e),G(n,w)}else p=h,t.html(a);for(e.unshift(v),c=W(e,p,n,i,t,g,s,l,u),o(r,function(e,n){e==p&&(r[n]=t[0])}),f=D(t[0].childNodes,i);d.length;){var C=d.shift(),k=d.shift(),E=d.shift(),S=d.shift(),O=t[0];if(!C.$$destroyed){if(k!==h){var T=k.className;u.hasElementTranscludeDirective&&g.replace||(O=$e(p)),te(E,tr(k),O),A(tr(O),T)}x=c.transcludeOnThisElement?L(C,c.transclude,S):S,c(f,C,O,r,x)}}d=null}),function(e,t,n,r,i){var o=i;t.$$destroyed||(d?d.push(t,n,r,o):(c.transcludeOnThisElement&&(o=L(t,c.transclude,i)),c(f,t,n,r,o)))}}function Y(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name"+n+"",r.childNodes[0].childNodes;default:return n}}function Z(e,t){if("srcdoc"==t)return S.HTML;var n=P(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?S.RESOURCE_URL:void 0}function ee(e,t,n,i,o){var a=Z(e,i);o=m[i]||o;var s=r(n,!0,a,o);if(s){if("multiple"===i&&"select"===P(e))throw Qr("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",B(e));t.push({priority:100,compile:function(){return{pre:function(e,t,l){var u=l.$$observers||(l.$$observers={});if(x.test(i))throw Qr("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var c=l[i];c!==n&&(s=c&&r(c,!0,a,o),n=c),s&&(l[i]=s(e),(u[i]||(u[i]=[])).$$inter=!0,(l.$$observers&&l.$$observers[i].$$scope||e).$watch(s,function(e,t){"class"===i&&e!=t?l.$updateClass(e,t):l.$set(i,e)}))}}}})}}function te(e,n,r){var i,o,a=n[0],s=n.length,l=a.parentNode;if(e)for(i=0,o=e.length;o>i;i++)if(e[i]==a){e[i++]=r;for(var u=i,c=u+s-1,f=e.length;f>u;u++,c++)f>c?e[u]=e[c]:delete e[u];e.length-=s-1,e.context===a&&(e.context=r);break}l&&l.replaceChild(r,a);var d=t.createDocumentFragment();d.appendChild(a),tr(r).data(tr(a).data()),nr?(fr=!0,nr.cleanData([a])):delete tr.cache[a[tr.expando]];for(var p=1,h=n.length;h>p;p++){var g=n[p];tr(g).remove(),d.appendChild(g),delete n[p]}n[0]=r,n.length=1}function re(e,t){return f(function(){return e.apply(null,arguments)},e,t)}function oe(e,t,n,r,o,a){try{e(t,n,r,o,a)}catch(s){i(s,B(n))}}var ae=function(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;r>n;n++)i=o[n],this[i]=t[i]}else this.$attr={};this.$$element=e};ae.prototype={$normalize:Je,$addClass:function(e){e&&e.length>0&&O.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&O.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=Ze(e,t);n&&n.length&&O.addClass(this.$$element,n);var r=Ze(t,e);r&&r.length&&O.removeClass(this.$$element,r)},$set:function(e,t,r,a){var s,l=this.$$element[0],u=Le(l,e),c=Ne(l,e),f=e;if(u?(this.$$element.prop(e,t),a=u):c&&(this[c]=t,f=c),this[e]=t,a?this.$attr[e]=a:(a=this.$attr[e],a||(this.$attr[e]=a=ne(e,"-"))),s=P(this.$$element),"a"===s&&"href"===e||"img"===s&&"src"===e)this[e]=t=T(t,"src"===e);else if("img"===s&&"srcset"===e){for(var d="",p=pr(t),h=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,g=/\s/.test(p)?h:/(,)/,v=p.split(g),m=Math.floor(v.length/2),y=0;m>y;y++){var b=2*y;d+=T(pr(v[b]),!0),d+=" "+pr(v[b+1])}var w=pr(v[2*y]).split(/\s/);d+=T(pr(w[0]),!0),2===w.length&&(d+=" "+pr(w[1])),this[e]=t=d}r!==!1&&(null===t||t===n?this.$$element.removeAttr(a):this.$$element.attr(a,t));var $=this.$$observers;$&&o($[f],function(e){try{e(t)}catch(n){i(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=ue()),i=r[e]||(r[e]=[]);return i.push(t),y.$evalAsync(function(){!i.$$inter&&n.hasOwnProperty(e)&&t(n[e])}),function(){F(i,t)}}};var se=r.startSymbol(),le=r.endSymbol(),ce="{{"==se||"}}"==le?g:function(e){return e.replace(/\{\{/g,se).replace(/}}/g,le)},fe=/^ngAttr[A-Z]/;return M.$$addBindingInfo=C?function(e,t){var n=e.data("$binding")||[];dr(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:h,M.$$addBindingClass=C?function(e){A(e,"ng-binding")}:h,M.$$addScopeInfo=C?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:h,M.$$addScopeClass=C?function(e,t){A(e,t?"ng-isolate-scope":"ng-scope")}:h,M}]}function Je(e){return ge(e.replace(Xr,""))}function Ze(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o0?" ":"")+a}return n}function et(e){e=tr(e);var t=e.length;if(1>=t)return e;for(;t--;){var n=e[t];n.nodeType===xr&&or.call(e,t,1)}return e}function tt(){var e={},t=!1,i=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(t,n){ae(t,"controller"),b(t)?f(e,t):e[t]=n},this.allowGlobals=function(){t=!0},this.$get=["$injector","$window",function(o,a){function s(e,t,n,i){if(!e||!b(e.$scope))throw r("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,t);e.$scope[t]=n}return function(r,l,u,c){var d,p,h,g;if(u=u===!0,c&&w(c)&&(g=c),w(r)){if(p=r.match(i),!p)throw Jr("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);h=p[1],g=g||p[3],r=e.hasOwnProperty(h)?e[h]:se(l.$scope,h,!0)||(t?se(a,h,!0):n),oe(r,h,!0)}if(u){var v=(dr(r)?r[r.length-1]:r).prototype;return d=Object.create(v||null),g&&s(l,g,d,h||r.name),f(function(){return o.invoke(r,d,l,h),d},{instance:d,identifier:g})}return d=o.instantiate(r,l,h),g&&s(l,g,d,h||r.name),d}}]}function nt(){this.$get=["$window",function(e){return tr(e.document)}]}function rt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function it(e,t){if(w(e)){var n=e.replace(ri,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Zr)||ot(n))&&(e=z(n))}}return e}function ot(e){var t=e.match(ti);return t&&ni[t[0]].test(e)}function at(e){var t,n,r,i=ue();return e?(o(e.split("\n"),function(e){r=e.indexOf(":"),t=Yn(pr(e.substr(0,r))),n=pr(e.substr(r+1)),t&&(i[t]=i[t]?i[t]+", "+n:n)}),i):i}function st(e){var t=b(e)?e:n;return function(n){if(t||(t=at(e)),n){var r=t[Yn(n)];return void 0===r&&(r=null),r}return t}}function lt(e,t,n,r){return _(r)?r(e,t,n):(o(r,function(r){e=r(e,t,n)}),e)}function ut(e){return e>=200&&300>e}function ct(){var e=this.defaults={transformResponse:[it],transformRequest:[function(e){return!b(e)||S(e)||T(e)||O(e)?e:U(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:N(ei),put:N(ei),patch:N(ei)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},t=!1;this.useApplyAsync=function(e){return y(e)?(t=!!e,this):t};var i=this.interceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(a,l,u,c,d,p){function h(t){function i(e){var t=f({},e);return e.data?t.data=lt(e.data,e.headers,e.status,l.transformResponse):t.data=e.data,ut(e.status)?t:d.reject(t)}function a(e){var t,n={};return o(e,function(e,r){_(e)?(t=e(),null!=t&&(n[r]=t)):n[r]=e}),n}function s(t){var n,r,i,o=e.headers,s=f({},t.headers);o=f({},o.common,o[Yn(t.method)]);e:for(n in o){r=Yn(n);for(i in s)if(Yn(i)===r)continue e;s[n]=o[n]}return a(s)}if(!ur.isObject(t))throw r("$http")("badreq","Http request configuration must be an object. Received: {0}",t);var l=f({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse},t);l.headers=s(t),l.method=Xn(l.method);var u=function(t){var r=t.headers,a=lt(t.data,st(r),n,t.transformRequest);return m(a)&&o(r,function(e,t){"content-type"===Yn(t)&&delete r[t]}),m(t.withCredentials)&&!m(e.withCredentials)&&(t.withCredentials=e.withCredentials),$(t,a).then(i,i)},c=[u,n],p=d.when(l);for(o(E,function(e){(e.request||e.requestError)&&c.unshift(e.request,e.requestError),(e.response||e.responseError)&&c.push(e.response,e.responseError)});c.length;){var h=c.shift(),g=c.shift();p=p.then(h,g)}return p.success=function(e){return oe(e,"fn"),p.then(function(t){e(t.data,t.status,t.headers,l)}),p},p.error=function(e){return oe(e,"fn"),p.then(null,function(t){e(t.data,t.status,t.headers,l)}),p},p}function g(e){o(arguments,function(e){h[e]=function(t,n){return h(f(n||{},{method:e,url:t}))}})}function v(e){o(arguments,function(e){h[e]=function(t,n,r){return h(f(r||{},{method:e,url:t,data:n}))}})}function $(r,i){function o(e,n,r,i){function o(){s(n,e,r,i)}p&&(ut(e)?p.put(x,[e,n,at(r),i]):p.remove(x)),t?c.$applyAsync(o):(o(),c.$$phase||c.$apply())}function s(e,t,n,i){t=Math.max(t,0),(ut(t)?v.resolve:v.reject)({data:e,status:t,headers:st(n),config:r,statusText:i})}function u(e){s(e.data,e.status,N(e.headers()),e.statusText)}function f(){var e=h.pendingRequests.indexOf(r);-1!==e&&h.pendingRequests.splice(e,1)}var p,g,v=d.defer(),w=v.promise,$=r.headers,x=C(r.url,r.params);if(h.pendingRequests.push(r),w.then(f,f),!r.cache&&!e.cache||r.cache===!1||"GET"!==r.method&&"JSONP"!==r.method||(p=b(r.cache)?r.cache:b(e.cache)?e.cache:k),p&&(g=p.get(x),y(g)?M(g)?g.then(u,u):dr(g)?s(g[1],g[0],N(g[2]),g[3]):s(g,200,{},"OK"):p.put(x,w)),m(g)){var _=on(r.url)?l.cookies()[r.xsrfCookieName||e.xsrfCookieName]:n;_&&($[r.xsrfHeaderName||e.xsrfHeaderName]=_),a(r.method,x,i,o,$,r.timeout,r.withCredentials,r.responseType)}return w}function C(e,t){if(!t)return e;var n=[];return s(t,function(e,t){null===e||m(e)||(dr(e)||(e=[e]),o(e,function(e){b(e)&&(e=x(e)?e.toISOString():U(e)),n.push(Q(t)+"="+Q(e))}))}),n.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+n.join("&")),e}var k=u("$http"),E=[];return o(i,function(e){E.unshift(w(e)?p.get(e):p.invoke(e))}),h.pendingRequests=[],g("get","delete","head","jsonp"),v("post","put","patch"),h.defaults=e,h}]}function ft(){return new e.XMLHttpRequest}function dt(){this.$get=["$browser","$window","$document",function(e,t,n){return pt(e,ft,e.defer,t.angular.callbacks,n[0])}]}function pt(e,t,r,i,a){function s(e,t,n){var r=a.createElement("script"),o=null;return r.type="text/javascript",r.src=e,r.async=!0,o=function(e){Tr(r,"load",o),Tr(r,"error",o),a.body.removeChild(r),r=null;var s=-1,l="unknown";e&&("load"!==e.type||i[t].called||(e={type:"error"}),l=e.type,s="error"===e.type?404:200),n&&n(s,l)},Or(r,"load",o),Or(r,"error",o),a.body.appendChild(r),o}return function(a,l,u,c,f,d,p,g){function v(){w&&w(),$&&$.abort()}function m(t,i,o,a,s){C!==n&&r.cancel(C),w=$=null,t(i,o,a,s),e.$$completeOutstandingRequest(h)}if(e.$$incOutstandingRequestCount(),l=l||e.url(),"jsonp"==Yn(a)){var b="_"+(i.counter++).toString(36);i[b]=function(e){i[b].data=e,i[b].called=!0};var w=s(l.replace("JSON_CALLBACK","angular.callbacks."+b),b,function(e,t){m(c,e,i[b].data,"",t),i[b]=h})}else{var $=t();$.open(a,l,!0),o(f,function(e,t){y(e)&&$.setRequestHeader(t,e)}),$.onload=function(){var e=$.statusText||"",t="response"in $?$.response:$.responseText,n=1223===$.status?204:$.status;0===n&&(n=t?200:"file"==rn(l).protocol?404:0),m(c,n,t,$.getAllResponseHeaders(),e)};var x=function(){m(c,-1,null,null,"")};if($.onerror=x,$.onabort=x,p&&($.withCredentials=!0),g)try{$.responseType=g}catch(_){if("json"!==g)throw _}$.send(u||null)}if(d>0)var C=r(v,d);else M(d)&&d.then(v)}}function ht(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(e){return"\\\\\\"+e}function a(o,a,d,p){function h(n){return n.replace(u,e).replace(c,t)}function g(e){try{return e=T(e),p&&!y(e)?e:A(e)}catch(t){var n=ii("interr","Can't interpolate: {0}\n{1}",o,t.toString());r(n)}}p=!!p;for(var v,b,w,$=0,x=[],C=[],k=o.length,E=[],S=[];k>$;){if(-1==(v=o.indexOf(e,$))||-1==(b=o.indexOf(t,v+s))){$!==k&&E.push(h(o.substring($)));break}$!==v&&E.push(h(o.substring($,v))),w=o.substring(v+s,b),x.push(w),C.push(n(w,g)),$=b+l,S.push(E.length),E.push("")}if(d&&E.length>1)throw ii("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce",o);if(!a||x.length){var O=function(e){for(var t=0,n=x.length;n>t;t++){if(p&&m(e[t]))return;E[S[t]]=e[t]}return E.join("")},T=function(e){return d?i.getTrusted(d,e):i.valueOf(e)},A=function(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=U(e)}return e};return f(function(e){var t=0,n=x.length,i=new Array(n);try{for(;n>t;t++)i[t]=C[t](e);return O(i)}catch(a){var s=ii("interr","Can't interpolate: {0}\n{1}",o,a.toString());r(s)}},{exp:o,expressions:x,$$watchDelegate:function(e,t,n){var r;return e.$watchGroup(C,function(n,i){var o=O(n);_(t)&&t.call(this,o,n!==i?r:o,e),r=o},n)}})}}var s=e.length,l=t.length,u=new RegExp(e.replace(/./g,o),"g"),c=new RegExp(t.replace(/./g,o),"g");return a.startSymbol=function(){return e},a.endSymbol=function(){return t},a}]}function gt(){this.$get=["$rootScope","$window","$q","$$q",function(e,t,n,r){function i(i,a,s,l){var u=t.setInterval,c=t.clearInterval,f=0,d=y(l)&&!l,p=(d?r:n).defer(),h=p.promise;return s=y(s)?s:0,h.then(null,null,i),h.$$intervalId=u(function(){p.notify(f++),s>0&&f>=s&&(p.resolve(f),c(h.$$intervalId),delete o[h.$$intervalId]),d||e.$apply()},a),o[h.$$intervalId]=p,h}var o={};return i.cancel=function(e){return e&&e.$$intervalId in o?(o[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete o[e.$$intervalId],!0):!1},i}]}function vt(){this.$get=function(){return{id:"en-us",NUMBER_FORMATS:{DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{minInt:1,minFrac:0,maxFrac:3,posPre:"",posSuf:"",negPre:"-",negSuf:"",gSize:3,lgSize:3},{minInt:1,minFrac:2,maxFrac:2,posPre:"¤",posSuf:"",negPre:"(¤",negSuf:")",gSize:3,lgSize:3}],CURRENCY_SYM:"$"},DATETIME_FORMATS:{MONTH:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),SHORTMONTH:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),DAY:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),SHORTDAY:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(","),AMPMS:["AM","PM"],medium:"MMM d, y h:mm:ss a","short":"M/d/yy h:mm a",fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",mediumDate:"MMM d, y",shortDate:"M/d/yy",mediumTime:"h:mm:ss a",shortTime:"h:mm a",ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"]},pluralCat:function(e){return 1===e?"one":"other"}}}}function mt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=Y(t[n]);return t.join("/")}function yt(e,t){var n=rn(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=d(n.port)||ai[n.protocol]||null}function bt(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=rn(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=G(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function wt(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function $t(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function xt(e){return e.replace(/(#.+)|#$/,"$1")}function _t(e){return e.substr(0,$t(e).lastIndexOf("/")+1)}function Ct(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function kt(e,t){this.$$html5=!0,t=t||"";var r=_t(e);yt(e,this),this.$$parse=function(e){var t=wt(r,e);if(!w(t))throw si("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,r);bt(t,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=K(this.$$search),t=this.$$hash?"#"+Y(this.$$hash):"";this.$$url=mt(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=r+this.$$url.substr(1)},this.$$parseLinkUrl=function(i,o){if(o&&"#"===o[0])return this.hash(o.slice(1)),!0;var a,s,l;return(a=wt(e,i))!==n?(s=a,l=(a=wt(t,a))!==n?r+(wt("/",a)||a):e+s):(a=wt(r,i))!==n?l=r+a:r==i+"/"&&(l=r),l&&this.$$parse(l),!!l}}function Et(e,t){var n=_t(e);yt(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}var o,a=wt(e,r)||wt(n,r);m(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",m(a)&&(e=r,this.replace())):(o=wt(t,a),m(o)&&(o=a)),bt(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var n=K(this.$$search),r=this.$$hash?"#"+Y(this.$$hash):"";this.$$url=mt(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=e+(this.$$url?t+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return $t(e)==$t(t)?(this.$$parse(t),!0):!1}}function St(e,t){this.$$html5=!0,Et.apply(this,arguments);var n=_t(e);this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e==$t(r)?o=r:(a=wt(n,r))?o=e+t+a:n===r+"/"&&(o=n),o&&this.$$parse(o),!!o},this.$$compose=function(){var n=K(this.$$search),r=this.$$hash?"#"+Y(this.$$hash):"";this.$$url=mt(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=e+t+this.$$url}}function Ot(e){return function(){return this[e]}}function Tt(e,t){return function(n){return m(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function At(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return y(t)?(e=t,this):e},this.html5Mode=function(e){return A(e)?(t.enabled=e,this):b(e)?(A(e.enabled)&&(t.enabled=e.enabled),A(e.requireBase)&&(t.requireBase=e.requireBase),A(e.rewriteLinks)&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(e,t,n){var i=u.url(),o=u.$$state;try{r.url(e,t,n),u.$$state=r.state()}catch(a){throw u.url(i),u.$$state=o,a}}function l(e,t){n.$broadcast("$locationChangeSuccess",u.absUrl(),e,u.$$state,t)}var u,c,f,d=r.baseHref(),p=r.url();if(t.enabled){if(!d&&t.requireBase)throw si("nobase","$location in HTML5 mode requires a tag to be present!");f=Ct(p)+(d||"/"),c=i.history?kt:St}else f=$t(p),c=Et;u=new c(f,"#"+e),u.$$parseLinkUrl(p,p),u.$$state=r.state();var h=/^\s*(javascript|mailto):/i;o.on("click",function(e){if(t.rewriteLinks&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!=e.which&&2!=e.button){for(var i=tr(e.target);"a"!==P(i[0]);)if(i[0]===o[0]||!(i=i.parent())[0])return;var s=i.prop("href"),l=i.attr("href")||i.attr("xlink:href");b(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=rn(s.animVal).href),h.test(s)||!s||i.attr("target")||e.isDefaultPrevented()||u.$$parseLinkUrl(s,l)&&(e.preventDefault(),u.absUrl()!=r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}),xt(u.absUrl())!=xt(p)&&r.url(u.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){n.$evalAsync(function(){var r,i=u.absUrl(),o=u.$$state;u.$$parse(e),u.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,u.absUrl()===e&&(r?(u.$$parse(i),u.$$state=o,s(i,!1,o)):(g=!1,l(i,o)))}),n.$$phase||n.$digest()}),n.$watch(function(){var e=xt(r.url()),t=xt(u.absUrl()),o=r.state(),a=u.$$replace,c=e!==t||u.$$html5&&i.history&&o!==u.$$state;(g||c)&&(g=!1,n.$evalAsync(function(){var t=u.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,u.$$state,o).defaultPrevented;u.absUrl()===t&&(r?(u.$$parse(e),u.$$state=o):(c&&s(t,a,o===u.$$state?null:u.$$state),l(e,o)))})),u.$$replace=!1}),u}]}function Mt(){var e=!0,t=this;this.debugEnabled=function(t){return y(t)?(e=t,this):e},this.$get=["$window",function(n){function r(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function i(e){var t=n.console||{},i=t[e]||t.log||h,a=!1;try{a=!!i.apply}catch(s){}return a?function(){var e=[];return o(arguments,function(t){e.push(r(t))}),i.apply(t,e)}:function(e,t){i(e,null==t?"":t)}}return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function Rt(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw ui("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function Dt(e,t){if(e){if(e.constructor===e)throw ui("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw ui("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw ui("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw ui("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function Pt(e,t){if(e){if(e.constructor===e)throw ui("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===ci||e===fi||e===di)throw ui("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function Ft(e){return e.constant}function Lt(e,t,n,r,i){Dt(e,i),Dt(t,i);for(var o,a=n.split("."),s=0;a.length>1;s++){o=Rt(a.shift(),i);var l=0===s&&t&&t[o]||e[o];l||(l={},e[o]=l),e=Dt(l,i)}return o=Rt(a.shift(),i),Dt(e[o],i),e[o]=r,r}function Nt(e){return"constructor"==e}function jt(e,t,r,i,o,a,s){Rt(e,a),Rt(t,a),Rt(r,a),Rt(i,a),Rt(o,a);var l=function(e){return Dt(e,a)},u=s||Nt(e)?l:g,c=s||Nt(t)?l:g,f=s||Nt(r)?l:g,d=s||Nt(i)?l:g,p=s||Nt(o)?l:g;return function(a,s){var l=s&&s.hasOwnProperty(e)?s:a;return null==l?l:(l=u(l[e]),t?null==l?n:(l=c(l[t]),r?null==l?n:(l=f(l[r]),i?null==l?n:(l=d(l[i]),o?null==l?n:l=p(l[o]):l):l):l):l)}}function It(e,t){return function(n,r){return e(n,r,Dt,t)}}function Vt(e,t,r){var i=t.expensiveChecks,a=i?bi:yi,s=a[e];if(s)return s;var l=e.split("."),u=l.length;if(t.csp)s=6>u?jt(l[0],l[1],l[2],l[3],l[4],r,i):function(e,t){var o,a=0;do o=jt(l[a++],l[a++],l[a++],l[a++],l[a++],r,i)(e,t),t=n,e=o;while(u>a);return o};else{var c="";i&&(c+="s = eso(s, fe);\nl = eso(l, fe);\n");var f=i;o(l,function(e,t){Rt(e,r);var n=(t?"s":'((l&&l.hasOwnProperty("'+e+'"))?l:s)')+"."+e;(i||Nt(e))&&(n="eso("+n+", fe)",f=!0),c+="if(s == null) return undefined;\ns="+n+";\n"}),c+="return s;";var d=new Function("s","l","eso","fe",c);d.toString=v(c),f&&(d=It(d,r)),s=d}return s.sharedGetter=!0,s.assign=function(t,n,r){return Lt(t,r,e,n,e)},a[e]=s,s}function Ht(e){return _(e.valueOf)?e.valueOf():wi.call(e)}function Wt(){var e=ue(),t=ue();this.$get=["$filter","$sniffer",function(n,r){function i(e){var t=e;return e.sharedGetter&&(t=function(t,n){return e(t,n)},t.literal=e.literal,t.constant=e.constant,t.assign=e.assign),t}function a(e,t){for(var n=0,r=e.length;r>n;n++){var i=e[n];i.constant||(i.inputs?a(i.inputs,t):-1===t.indexOf(i)&&t.push(i))}return t}function s(e,t){return null==e||null==t?e===t:"object"==typeof e&&(e=Ht(e),"object"==typeof e)?!1:e===t||e!==e&&t!==t}function l(e,t,n,r){var i,o=r.$$inputs||(r.$$inputs=a(r.inputs,[]));if(1===o.length){var l=s;return o=o[0],e.$watch(function(e){var t=o(e);return s(t,l)||(i=r(e),l=t&&Ht(t)),i},t,n)}for(var u=[],c=0,f=o.length;f>c;c++)u[c]=s;return e.$watch(function(e){for(var t=!1,n=0,a=o.length;a>n;n++){var l=o[n](e);(t||(t=!s(l,u[n])))&&(u[n]=l&&Ht(l))}return t&&(i=r(e)),i},t,n)}function u(e,t,n,r){var i,o;return i=e.$watch(function(e){return r(e)},function(e,n,r){o=e,_(t)&&t.apply(this,arguments),y(e)&&r.$$postDigest(function(){y(o)&&i()})},n)}function c(e,t,n,r){function i(e){var t=!0;return o(e,function(e){y(e)||(t=!1)}),t}var a,s;return a=e.$watch(function(e){return r(e)},function(e,n,r){s=e,_(t)&&t.call(this,e,n,r),i(e)&&r.$$postDigest(function(){i(s)&&a()})},n)}function f(e,t,n,r){var i;return i=e.$watch(function(e){return r(e)},function(e,n,r){_(t)&&t.apply(this,arguments),i()},n)}function d(e,t){if(!t)return e;var n=e.$$watchDelegate,r=n!==c&&n!==u,i=r?function(n,r){var i=e(n,r);return t(i,n,r)}:function(n,r){var i=e(n,r),o=t(i,n,r);return y(i)?o:i};return e.$$watchDelegate&&e.$$watchDelegate!==l?i.$$watchDelegate=e.$$watchDelegate:t.$stateful||(i.$$watchDelegate=l,i.inputs=[e]),i}var p={csp:r.csp,expensiveChecks:!1},g={csp:r.csp,expensiveChecks:!0};return function(r,o,a){var s,v,m;switch(typeof r){case"string":m=r=r.trim();var y=a?t:e;if(s=y[m],!s){":"===r.charAt(0)&&":"===r.charAt(1)&&(v=!0,r=r.substring(2));var b=a?g:p,w=new vi(b),$=new mi(w,n,b);s=$.parse(r),s.constant?s.$$watchDelegate=f:v?(s=i(s),s.$$watchDelegate=s.literal?c:u):s.inputs&&(s.$$watchDelegate=l),y[m]=s}return d(s,o);case"function":return d(r,o);default:return d(h,o)}}}]}function Ut(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return Bt(function(t){e.$evalAsync(t)},t)}]}function zt(){this.$get=["$browser","$exceptionHandler",function(e,t){return Bt(function(t){e.defer(t)},t)}]}function Bt(e,t){function i(e,t,n){function r(t){return function(n){i||(i=!0,t.call(e,n))}}var i=!1;return[r(t),r(n)]}function a(){this.$$state={status:0}}function s(e,t){return function(n){t.call(e,n)}}function l(e){var r,i,o;o=e.pending,e.processScheduled=!1,e.pending=n;for(var a=0,s=o.length;s>a;++a){i=o[a][0],r=o[a][e.status];try{_(r)?i.resolve(r(e.value)):1===e.status?i.resolve(e.value):i.reject(e.value)}catch(l){i.reject(l),t(l)}}}function u(t){!t.processScheduled&&t.pending&&(t.processScheduled=!0,e(function(){l(t)}))}function c(){this.promise=new a,this.resolve=s(this,this.resolve),this.reject=s(this,this.reject),this.notify=s(this,this.notify)}function f(e){var t=new c,n=0,r=dr(e)?[]:{};return o(e,function(e,i){n++,m(e).then(function(e){r.hasOwnProperty(i)||(r[i]=e,--n||t.resolve(r))},function(e){r.hasOwnProperty(i)||t.reject(e)})}),0===n&&t.resolve(r),t.promise}var d=r("$q",TypeError),p=function(){return new c};a.prototype={then:function(e,t,n){var r=new c;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&u(this.$$state),r.promise},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return v(t,!0,e)},function(t){return v(t,!1,e)},t)}},c.prototype={resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(d("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){var n,r;r=i(this,this.$$resolve,this.$$reject);try{(b(e)||_(e))&&(n=e&&e.then),_(n)?(this.promise.$$state.status=-1,n.call(e,r[0],r[1],this.notify)):(this.promise.$$state.value=e,this.promise.$$state.status=1,u(this.promise.$$state))}catch(o){r[1](o),t(o)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,u(this.promise.$$state)},notify:function(n){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&e(function(){for(var e,i,o=0,a=r.length;a>o;o++){i=r[o][0],e=r[o][3];try{i.notify(_(e)?e(n):n)}catch(s){t(s)}}})}};var h=function(e){var t=new c;return t.reject(e),t.promise},g=function(e,t){var n=new c;return t?n.resolve(e):n.reject(e),n.promise},v=function(e,t,n){var r=null;try{_(n)&&(r=n())}catch(i){return g(i,!1)}return M(r)?r.then(function(){return g(e,t)},function(e){return g(e,!1)}):g(e,t)},m=function(e,t,n,r){var i=new c;return i.resolve(e),i.promise.then(t,n,r)},y=function w(e){function t(e){r.resolve(e)}function n(e){r.reject(e)}if(!_(e))throw d("norslvr","Expected resolverFn, got '{0}'",e);if(!(this instanceof w))return new w(e);var r=new c;return e(t,n),r.promise};return y.defer=p,y.reject=h,y.when=m,y.all=f,y}function qt(){this.$get=["$window","$timeout",function(e,t){function n(){for(var e=0;e=0&&(c[t]=null,t=null,0===--u&&l&&(l(),l=null,c.length=0))}}var i=e.requestAnimationFrame||e.webkitRequestAnimationFrame,o=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,a=!!i,s=a?function(e){var t=i(e);return function(){o(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};r.supported=a;var l,u=0,c=[];return r}]}function Gt(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$id=u(),this.$$ChildScope=null}return t.prototype=e,t}var t=10,n=r("$rootScope"),a=null,s=null;this.digestTtl=function(e){return arguments.length&&(t=e),t},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(r,l,c,f){function d(e){e.currentScope.$$destroyed=!0}function p(){this.$id=u(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$isolateBindings=null}function g(e){if(C.$$phase)throw n("inprog","{0} already in progress",C.$$phase);C.$$phase=e}function v(){C.$$phase=null}function y(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function w(){}function $(){for(;S.length;)try{S.shift()()}catch(e){l(e)}s=null}function x(){null===s&&(s=f.defer(function(){C.$apply($)}))}p.prototype={constructor:p,$new:function(t,n){var r;return n=n||this,t?(r=new p,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!=this)&&r.$on("$destroy",d),r},$watch:function(e,t,n){var r=c(e);if(r.$$watchDelegate)return r.$$watchDelegate(this,t,n,r);var i=this,o=i.$$watchers,s={fn:t,last:w,get:r,exp:e,eq:!!n};return a=null,_(t)||(s.fn=h),o||(o=i.$$watchers=[]),o.unshift(s),function(){F(o,s),a=null}},$watchGroup:function(e,t){function n(){l=!1,u?(u=!1,t(i,i,s)):t(i,r,s)}var r=new Array(e.length),i=new Array(e.length),a=[],s=this,l=!1,u=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(i,i,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,o){i[0]=e,r[0]=n,t(i,e===n?i:r,o)}):(o(e,function(e,t){var o=s.$watch(e,function(e,o){i[t]=e,r[t]=o,l||(l=!0,s.$evalAsync(n))});a.push(o)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function n(e){o=e;var t,n,r,s,l;if(!m(o)){if(b(o))if(i(o)){a!==p&&(a=p,v=a.length=0,f++),t=o.length,v!==t&&(f++,a.length=v=t);for(var u=0;t>u;u++)l=a[u],s=o[u],r=l!==l&&s!==s,r||l===s||(f++,a[u]=s)}else{a!==h&&(a=h={},v=0,f++),t=0;for(n in o)o.hasOwnProperty(n)&&(t++,s=o[n],l=a[n],n in a?(r=l!==l&&s!==s,r||l===s||(f++,a[n]=s)):(v++,a[n]=s,f++));if(v>t){f++;for(n in a)o.hasOwnProperty(n)||(v--,delete a[n])}}else a!==o&&(a=o, -f++);return f}}function r(){if(g?(g=!1,t(o,o,l)):t(o,s,l),u)if(b(o))if(i(o)){s=new Array(o.length);for(var e=0;e1,f=0,d=c(e,n),p=[],h={},g=!0,v=0;return this.$watch(d,r)},$digest:function(){var e,r,i,o,u,c,d,p,h,m,y=t,b=this,x=[];g("$digest"),f.$$checkUrlChange(),this===C&&null!==s&&(f.defer.cancel(s),$()),a=null;do{for(c=!1,p=b;k.length;){try{m=k.shift(),m.scope.$eval(m.expression,m.locals)}catch(S){l(S)}a=null}e:do{if(o=p.$$watchers)for(u=o.length;u--;)try{if(e=o[u])if((r=e.get(p))===(i=e.last)||(e.eq?j(r,i):"number"==typeof r&&"number"==typeof i&&isNaN(r)&&isNaN(i))){if(e===a){c=!1;break e}}else c=!0,a=e,e.last=e.eq?L(r,null):r,e.fn(r,i===w?r:i,p),5>y&&(h=4-y,x[h]||(x[h]=[]),x[h].push({msg:_(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:r,oldVal:i}))}catch(S){l(S)}if(!(d=p.$$childHead||p!==b&&p.$$nextSibling))for(;p!==b&&!(d=p.$$nextSibling);)p=p.$parent}while(p=d);if((c||k.length)&&!y--)throw v(),n("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",t,x)}while(c||k.length);for(v();E.length;)try{E.shift()()}catch(S){l(S)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;if(this.$broadcast("$destroy"),this.$$destroyed=!0,this!==C){for(var t in this.$$listenerCount)y(this,this.$$listenerCount[t],t);e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=h,this.$on=this.$watch=this.$watchGroup=function(){return h},this.$$listeners={},this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=this.$$watchers=null}}},$eval:function(e,t){return c(e)(this,t)},$evalAsync:function(e,t){C.$$phase||k.length||f.defer(function(){k.length&&C.$digest()}),k.push({scope:this,expression:e,locals:t})},$$postDigest:function(e){E.push(e)},$apply:function(e){try{return g("$apply"),this.$eval(e)}catch(t){l(t)}finally{v();try{C.$digest()}catch(t){throw l(t),t}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&S.push(t),x()},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++;while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(n[r]=null,y(i,1,e))}},$emit:function(e,t){var n,r,i,o=[],a=this,s=!1,u={name:e,targetScope:a,stopPropagation:function(){s=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=I([u],arguments,1);do{for(n=a.$$listeners[e]||o,u.currentScope=a,r=0,i=n.length;i>r;r++)if(n[r])try{n[r].apply(null,c)}catch(f){l(f)}else n.splice(r,1),r--,i--;if(s)return u.currentScope=null,u;a=a.$parent}while(a);return u.currentScope=null,u},$broadcast:function(e,t){var n=this,r=n,i=n,o={name:e,targetScope:n,preventDefault:function(){o.defaultPrevented=!0},defaultPrevented:!1};if(!n.$$listenerCount[e])return o;for(var a,s,u,c=I([o],arguments,1);r=i;){for(o.currentScope=r,a=r.$$listeners[e]||[],s=0,u=a.length;u>s;s++)if(a[s])try{a[s].apply(null,c)}catch(f){l(f)}else a.splice(s,1),s--,u--;if(!(i=r.$$listenerCount[e]&&r.$$childHead||r!==n&&r.$$nextSibling))for(;r!==n&&!(i=r.$$nextSibling);)r=r.$parent}return o.currentScope=null,o}};var C=new p,k=C.$$asyncQueue=[],E=C.$$postDigestQueue=[],S=C.$$applyAsyncQueue=[];return C}]}function Kt(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return y(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return y(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return i=rn(n).href,""===i||i.match(o)?n:"unsafe:"+i}}}function Yt(e){if("self"===e)return e;if(w(e)){if(e.indexOf("***")>-1)throw $i("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=hr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(C(e))return new RegExp("^"+e.source+"$");throw $i("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Qt(e){var t=[];return y(e)&&o(e,function(e){t.push(Yt(e))}),t}function Xt(){this.SCE_CONTEXTS=xi;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Qt(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Qt(e)),t},this.$get=["$injector",function(r){function i(e,t){return"self"===e?on(t):!!e.exec(t.href)}function o(n){var r,o,a=rn(n.toString()),s=!1;for(r=0,o=e.length;o>r;r++)if(i(e[r],a)){s=!0;break}if(s)for(r=0,o=t.length;o>r;r++)if(i(t[r],a)){s=!1;break}return s}function a(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function s(e,t){var r=d.hasOwnProperty(e)?d[e]:null;if(!r)throw $i("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||t===n||""===t)return t;if("string"!=typeof t)throw $i("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new r(t)}function l(e){return e instanceof f?e.$$unwrapTrustedValue():e}function u(e,t){if(null===t||t===n||""===t)return t;var r=d.hasOwnProperty(e)?d[e]:null;if(r&&t instanceof r)return t.$$unwrapTrustedValue();if(e===xi.RESOURCE_URL){if(o(t))return t;throw $i("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===xi.HTML)return c(t);throw $i("unsafe","Attempting to use an unsafe value in a safe context.")}var c=function(e){throw $i("unsafe","Attempting to use an unsafe value in a safe context.")};r.has("$sanitize")&&(c=r.get("$sanitize"));var f=a(),d={};return d[xi.HTML]=a(f),d[xi.CSS]=a(f),d[xi.URL]=a(f),d[xi.JS]=a(f),d[xi.RESOURCE_URL]=a(d[xi.URL]),{trustAs:s,getTrusted:u,valueOf:l}}]}function Jt(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>er)throw $i("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var r=N(xi);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(e,t){return t},r.valueOf=g),r.parseAs=function(e,n){var i=t(n);return i.literal&&i.constant?i:t(n,function(t){return r.getTrusted(e,t)})};var i=r.parseAs,a=r.getTrusted,s=r.trustAs;return o(xi,function(e,t){var n=Yn(t);r[ge("parse_as_"+n)]=function(t){return i(e,t)},r[ge("get_trusted_"+n)]=function(t){return a(e,t)},r[ge("trust_as_"+n)]=function(t){return s(e,t)}}),r}]}function Zt(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=d((/android (\d+)/.exec(Yn((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},l=/^(Moz|webkit|ms)(?=[A-Z])/,u=s.body&&s.body.style,c=!1,f=!1;if(u){for(var p in u)if(r=l.exec(p)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in u&&"webkit"),c=!!("transition"in u||n+"Transition"in u),f=!!("animation"in u||n+"Animation"in u),!o||c&&f||(c=w(s.body.style.webkitTransition),f=w(s.body.style.webkitAnimation))}return{history:!(!e.history||!e.history.pushState||4>o||a),hasEvent:function(e){if("input"===e&&11>=er)return!1;if(m(i[e])){var t=s.createElement("div");i[e]="on"+e in t}return i[e]},csp:gr(),vendorPrefix:n,transitions:c,animations:f,android:o}}]}function en(){this.$get=["$templateCache","$http","$q","$sce",function(e,t,n,r){function i(o,a){function s(e){if(!a)throw Qr("tpload","Failed to load template: {0}",o);return n.reject(e)}i.totalPendingRequests++,w(o)&&e.get(o)||(o=r.getTrustedResourceUrl(o));var l=t.defaults&&t.defaults.transformResponse;dr(l)?l=l.filter(function(e){return e!==it}):l===it&&(l=null);var u={cache:e,transformResponse:l};return t.get(o,u)["finally"](function(){i.totalPendingRequests--}).then(function(e){return e.data},s)}return i.totalPendingRequests=0,i}]}function tn(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var r={};return r.findBindings=function(e,t,n){var r=e.getElementsByClassName("ng-binding"),i=[];return o(r,function(e){var r=ur.element(e).data("$binding");r&&o(r,function(r){if(n){var o=new RegExp("(^|\\s)"+hr(t)+"(\\s|\\||$)");o.test(r)&&i.push(e)}else-1!=r.indexOf(t)&&i.push(e)})}),i},r.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;ie;e=Math.abs(e);var a=e+"",s="",l=[],u=!1;if(-1!==a.indexOf("e")){var c=a.match(/([\d\.]+)e(-?)(\d+)/);c&&"-"==c[2]&&c[3]>i+1?e=0:(s=a,u=!0)}if(u)i>0&&1>e&&(s=e.toFixed(i),e=parseFloat(s));else{var f=(a.split(ki)[1]||"").length;m(i)&&(i=Math.min(Math.max(t.minFrac,f),t.maxFrac)),e=+(Math.round(+(e.toString()+"e"+i)).toString()+"e"+-i);var d=(""+e).split(ki),p=d[0];d=d[1]||"";var h,g=0,v=t.lgSize,y=t.gSize;if(p.length>=v+y)for(g=p.length-v,h=0;g>h;h++)(g-h)%y===0&&0!==h&&(s+=n),s+=p.charAt(h);for(h=g;he&&(r="-",e=-e),e=""+e;e.length0||o>-n)&&(o+=n),0===o&&-12==n&&(o=12),hn(o,t,r)}}function vn(e,t){return function(n,r){var i=n["get"+e](),o=Xn(t?"SHORT"+e:e);return r[o][i]}}function mn(e){var t=-1*e.getTimezoneOffset(),n=t>=0?"+":"";return n+=hn(Math[t>0?"floor":"ceil"](t/60),2)+hn(Math.abs(t%60),2)}function yn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function bn(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function wn(e){return function(t){var n=yn(t.getFullYear()),r=bn(t),i=+r-+n,o=1+Math.round(i/6048e5);return hn(o,e)}}function $n(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function xn(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function _n(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function Cn(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=d(t[9]+t[10]),o=d(t[9]+t[11])),a.call(r,d(t[1]),d(t[2])-1,d(t[3]));var l=d(t[4]||0)-i,u=d(t[5]||0)-o,c=d(t[6]||0),f=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,l,u,c,f),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r,i){var a,s,l="",u=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,w(n)&&(n=Oi.test(n)?d(n):t(n)),$(n)&&(n=new Date(n)),!x(n))return n;for(;r;)s=Si.exec(r),s?(u=I(u,s,1),r=u.pop()):(u.push(r),r=null);return i&&"UTC"===i&&(n=new Date(n.getTime()),n.setMinutes(n.getMinutes()+n.getTimezoneOffset())),o(u,function(t){a=Ei[t],l+=a?a(n,e.DATETIME_FORMATS):t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}}function kn(){return function(e,t){return m(t)&&(t=2),U(e,t)}}function En(){return function(e,t){return $(e)&&(e=e.toString()),dr(e)||w(e)?(t=Math.abs(Number(t))===1/0?Number(t):d(t),t?t>0?e.slice(0,t):e.slice(t):w(e)?"":[]):e}}function Sn(e){return function(t,n,r){function o(e,t){for(var r=0;re?-1:1):r>n?-1:1}return i(t)?(n=dr(n)?n:[n],0===n.length&&(n=["+"]),n=n.map(function(t){var n=!1,r=t||g;if(w(t)){if(("+"==t.charAt(0)||"-"==t.charAt(0))&&(n="-"==t.charAt(0),t=t.substring(1)),""===t)return a(u,n);if(r=e(t),r.constant){var i=r();return a(function(e,t){return u(e[i],t[i])},n)}}return a(function(e,t){return u(r(e),r(t))},n)}),ir.call(t).sort(a(o,r))):t}}function On(e){return _(e)&&(e={link:e}),e.restrict=e.restrict||"AC",v(e)}function Tn(e,t){e.$name=t}function An(e,t,r,i,a){var s=this,l=[],u=s.$$parentForm=e.parent().controller("form")||Di;s.$error={},s.$$success={},s.$pending=n,s.$name=a(t.name||t.ngForm||"")(r),s.$dirty=!1,s.$pristine=!0,s.$valid=!0,s.$invalid=!1,s.$submitted=!1,u.$addControl(s),s.$rollbackViewValue=function(){o(l,function(e){e.$rollbackViewValue()})},s.$commitViewValue=function(){o(l,function(e){e.$commitViewValue()})},s.$addControl=function(e){ae(e.$name,"input"),l.push(e),e.$name&&(s[e.$name]=e)},s.$$renameControl=function(e,t){var n=e.$name;s[n]===e&&delete s[n],s[t]=e,e.$name=t},s.$removeControl=function(e){e.$name&&s[e.$name]===e&&delete s[e.$name],o(s.$pending,function(t,n){s.$setValidity(n,null,e)}),o(s.$error,function(t,n){s.$setValidity(n,null,e)}),o(s.$$success,function(t,n){s.$setValidity(n,null,e)}),F(l,e)},Bn({ctrl:this,$element:e,set:function(e,t,n){var r=e[t];if(r){var i=r.indexOf(n);-1===i&&r.push(n)}else e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(F(r,n),0===r.length&&delete e[t])},parentForm:u,$animate:i}),s.$setDirty=function(){i.removeClass(e,vo),i.addClass(e,mo),s.$dirty=!0,s.$pristine=!1,u.$setDirty()},s.$setPristine=function(){i.setClass(e,vo,mo+" "+Pi),s.$dirty=!1,s.$pristine=!0,s.$submitted=!1,o(l,function(e){e.$setPristine()})},s.$setUntouched=function(){o(l,function(e){e.$setUntouched()})},s.$setSubmitted=function(){i.addClass(e,Pi),s.$submitted=!0,u.$setSubmitted()}}function Mn(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function Rn(e,t,n,r,i,o){Dn(e,t,n,r,i,o),Mn(r)}function Dn(e,t,n,r,i,o){var a=Yn(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(e){s=!0}),t.on("compositionend",function(){s=!1,l()})}var l=function(e){if(u&&(o.defer.cancel(u),u=null),!s){var i=t.val(),l=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=pr(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,l)}};if(i.hasEvent("input"))t.on("input",l);else{var u,c=function(e,t,n){u||(u=o.defer(function(){u=null,t&&t.value===n||l(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||t>15&&19>t||t>=37&&40>=t||c(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut",c)}t.on("change",l),r.$render=function(){t.val(r.$isEmpty(r.$viewValue)?"":r.$viewValue)}}function Pn(e,t){if(x(e))return e;if(w(e)){zi.lastIndex=0;var n=zi.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,l=0,u=yn(r),c=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),l=t.getMilliseconds()),new Date(r,0,u.getDate()+c,o,a,s,l)}}return NaN}function Fn(e,t){return function(n,r){var i,a;if(x(n))return n;if(w(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),ji.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n))return i.shift(),a=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},o(i,function(e,n){n=v},s.$observe("min",function(e){v=p(e),l.$validate()})}if(y(s.max)||s.ngMax){var b;l.$validators.max=function(e){return!d(e)||m(b)||r(e)<=b},s.$observe("max",function(e){b=p(e),l.$validate()})}}}function Nn(e,t,r,i){var o=t[0],a=i.$$hasNativeValidators=b(o.validity);a&&i.$parsers.push(function(e){var r=t.prop(Kn)||{};return r.badInput&&!r.typeMismatch?n:e})}function jn(e,t,r,i,o,a){if(Nn(e,t,r,i),Dn(e,t,r,i,o,a),i.$$parserName="number",i.$parsers.push(function(e){return i.$isEmpty(e)?null:Hi.test(e)?parseFloat(e):n}),i.$formatters.push(function(e){if(!i.$isEmpty(e)){if(!$(e))throw $o("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),y(r.min)||r.ngMin){var s;i.$validators.min=function(e){return i.$isEmpty(e)||m(s)||e>=s},r.$observe("min",function(e){y(e)&&!$(e)&&(e=parseFloat(e,10)),s=$(e)&&!isNaN(e)?e:n,i.$validate()})}if(y(r.max)||r.ngMax){var l;i.$validators.max=function(e){return i.$isEmpty(e)||m(l)||l>=e},r.$observe("max",function(e){y(e)&&!$(e)&&(e=parseFloat(e,10)),l=$(e)&&!isNaN(e)?e:n,i.$validate()})}}function In(e,t,n,r,i,o){Dn(e,t,n,r,i,o),Mn(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Ii.test(n)}}function Vn(e,t,n,r,i,o){Dn(e,t,n,r,i,o),Mn(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Vi.test(n)}}function Hn(e,t,n,r){m(n.name)&&t.attr("name",u());var i=function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)};t.on("click",i),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function Wn(e,t,n,i,o){var a;if(y(i)){if(a=e(i),!a.constant)throw r("ngModel")("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,i);return a(t)}return o}function Un(e,t,n,r,i,o,a,s){var l=Wn(s,e,"ngTrueValue",n.ngTrueValue,!0),u=Wn(s,e,"ngFalseValue",n.ngFalseValue,!1),c=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("click",c),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return e===!1},r.$formatters.push(function(e){return j(e,l)}),r.$parsers.push(function(e){return e?l:u})}function zn(e,t){return e="ngClass"+e,["$animate",function(n){function r(e,t){var n=[];e:for(var r=0;r0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&r.push(e))}),s.data("$classCounts",n),r.join(" ")}function d(e,t){var i=r(t,e),o=r(e,t);i=f(i,1),o=f(o,-1),i&&i.length&&n.addClass(s,i),o&&o.length&&n.removeClass(s,o)}function p(e){if(t===!0||a.$index%2===t){var n=i(e||[]);if(h){if(!j(e,h)){var r=i(h);d(r,n)}}else u(n)}h=N(e)}var h;a.$watch(l[e],p,!0),l.$observe("class",function(t){p(a.$eval(l[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var o=1&n;if(o!==(1&r)){var s=i(a.$eval(l[e]));o===t?u(s):c(s)}})}}}]}function Bn(e){function t(e,t,l){t===n?r("$pending",e,l):i("$pending",e,l),A(t)?t?(f(s.$error,e,l),c(s.$$success,e,l)):(c(s.$error,e,l),f(s.$$success,e,l)):(f(s.$error,e,l),f(s.$$success,e,l)),s.$pending?(o(wo,!0),s.$valid=s.$invalid=n,a("",null)):(o(wo,!1),s.$valid=qn(s.$error),s.$invalid=!s.$valid,a("",s.$valid));var u;u=s.$pending&&s.$pending[e]?n:s.$error[e]?!1:s.$$success[e]?!0:null,a(e,u),d.$setValidity(e,u,s)}function r(e,t,n){s[e]||(s[e]={}),c(s[e],t,n)}function i(e,t,r){s[e]&&f(s[e],t,r),qn(s[e])&&(s[e]=n)}function o(e,t){t&&!u[e]?(p.addClass(l,e),u[e]=!0):!t&&u[e]&&(p.removeClass(l,e),u[e]=!1)}function a(e,t){e=e?"-"+ne(e,"-"):"",o(ho+e,t===!0),o(go+e,t===!1)}var s=e.ctrl,l=e.$element,u={},c=e.set,f=e.unset,d=e.parentForm,p=e.$animate;u[go]=!(u[ho]=l.hasClass(ho)),s.$setValidity=t}function qn(e){if(e)for(var t in e)return!1;return!0}var Gn=/^\/(.+)\/([a-z]*)$/,Kn="validity",Yn=function(e){return w(e)?e.toLowerCase():e},Qn=Object.prototype.hasOwnProperty,Xn=function(e){return w(e)?e.toUpperCase():e},Jn=function(e){return w(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Zn=function(e){return w(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(Yn=Jn,Xn=Zn);var er,tr,nr,rr,ir=[].slice,or=[].splice,ar=[].push,sr=Object.prototype.toString,lr=r("ng"),ur=e.angular||(e.angular={}),cr=0;er=t.documentMode,h.$inject=[],g.$inject=[];var fr,dr=Array.isArray,pr=function(e){return w(e)?e.trim():e},hr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#(?:<\/\1>|)$/,Fr=/<|&#?\w+;/,Lr=/<([\w:]+)/,Nr=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jr={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};jr.optgroup=jr.option,jr.tbody=jr.tfoot=jr.colgroup=jr.caption=jr.thead,jr.th=jr.td;var Ir=we.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===t.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),we(e).on("load",r))},toString:function(){var e=[];return o(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return tr(e>=0?this[e]:this[this.length+e])},length:0,push:ar,sort:[].sort,splice:[].splice},Vr={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Vr[Yn(e)]=e});var Hr={};o("input,select,option,textarea,button,form,details".split(","),function(e){Hr[e]=!0});var Wr={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};o({data:Ee,removeData:Ce},function(e,t){we[t]=e}),o({data:Ee,inheritedData:Re,scope:function(e){return tr.data(e,"$scope")||Re(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return tr.data(e,"$isolateScope")||tr.data(e,"$isolateScopeNoTemplate")},controller:Me,injector:function(e){return Re(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Se,css:function(e,t,n){return t=ge(t),y(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,r){var i=e.nodeType;if(i!==$r&&i!==wr&&i!==xr){var o=Yn(t);if(Vr[o]){if(!y(r))return e[t]||(e.attributes.getNamedItem(t)||h).specified?o:n;r?(e[t]=!0,e.setAttribute(t,o)):(e[t]=!1,e.removeAttribute(o))}else if(y(r))e.setAttribute(t,r);else if(e.getAttribute){var a=e.getAttribute(t,2);return null===a?n:a}}},prop:function(e,t,n){return y(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(m(t)){var n=e.nodeType;return n===br||n===$r?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(m(t)){if(e.multiple&&"select"===P(e)){var n=[];return o(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){return m(t)?e.innerHTML:(xe(e,!0),void(e.innerHTML=t))},empty:De},function(e,t){we.prototype[t]=function(t,r){var i,o,a=this.length;if(e!==De&&(2==e.length&&e!==Se&&e!==Me?t:r)===n){if(b(t)){for(i=0;a>i;i++)if(e===Ee)e(this[i],t);else for(o in t)e(this[i],o,t[o]);return this}for(var s=e.$dv,l=s===n?Math.min(a,1):a,u=0;l>u;u++){var c=e(this[u],t,r);s=s?s+c:c}return s}for(i=0;a>i;i++)e(this[i],t,r);return this}}),o({removeData:Ce,on:function Ko(e,t,n,r){if(y(r))throw Dr("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(me(e)){var i=ke(e,!0),o=i.events,a=i.handle;a||(a=i.handle=je(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],l=s.length;l--;){t=s[l];var u=o[t];u||(o[t]=[],"mouseenter"===t||"mouseleave"===t?Ko(e,Rr[t],function(e){var n=this,r=e.relatedTarget;(!r||r!==n&&!n.contains(r))&&a(e,t)}):"$destroy"!==t&&Or(e,t,a),u=o[t]),u.push(n)}}},off:_e,one:function(e,t,n){e=tr(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;xe(e),o(new we(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return o(e.childNodes,function(e){e.nodeType===br&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===br||n===Cr){t=new we(t);for(var r=0,i=t.length;i>r;r++){var o=t[r];e.appendChild(o)}}},prepend:function(e,t){if(e.nodeType===br){var n=e.firstChild;o(new we(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){t=tr(t).eq(0).clone()[0];var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)},remove:Pe,detach:function(e){Pe(e,!0)},after:function(e,t){var n=e,r=e.parentNode;t=new we(t);for(var i=0,o=t.length;o>i;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:Te,removeClass:Oe,toggleClass:function(e,t,n){t&&o(t.split(" "),function(t){var r=n;m(r)&&(r=!Se(e,t)),(r?Te:Oe)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==Cr?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:$e,triggerHandler:function(e,t,n){var r,i,a,s=t.type||t,l=ke(e),u=l&&l.events,c=u&&u[s];c&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:h,type:s,target:e},t.type&&(r=f(r,t)),i=N(c),a=n?[r].concat(n):[r],o(i,function(t){r.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){we.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;a>o;o++)m(i)?(i=e(this[o],t,n,r),y(i)&&(i=tr(i))):Ae(i,e(this[o],t,n,r));return y(i)?i:this},we.prototype.bind=we.prototype.on,we.prototype.unbind=we.prototype.off}),He.prototype={put:function(e,t){this[Ve(e,this.nextUid)]=t},get:function(e){return this[Ve(e,this.nextUid)]},remove:function(e){var t=this[e=Ve(e,this.nextUid)];return delete this[e],t}};var Ur=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,zr=/,/,Br=/^\s*(_?)(\S+?)\1\s*$/,qr=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Gr=r("$injector");ze.$$annotate=Ue;var Kr=r("$animate"),Yr=["$provide",function(e){this.$$selectors={},this.register=function(t,n){var r=t+"-animation";if(t&&"."!=t.charAt(0))throw Kr("notcsel","Expecting class selector starting with '.' got '{0}'.",t);this.$$selectors[t.substr(1)]=r,e.factory(r,n)},this.classNameFilter=function(e){return 1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null),this.$$classNameFilter},this.$get=["$$q","$$asyncCallback","$rootScope",function(e,t,n){function r(t){var r,i=e.defer();return i.promise.$$cancelFn=function(){r&&r()},n.$$postDigest(function(){r=t(function(){i.resolve()})}),i.promise}function i(e,t){var n=[],r=[],i=ue();return o((e.attr("class")||"").split(/\s+/),function(e){i[e]=!0}),o(t,function(e,t){var o=i[t];e===!1&&o?r.push(t):e!==!0||o||n.push(t)}),n.length+r.length>0&&[n.length?n:null,r.length?r:null]}function a(e,t,n){for(var r=0,i=t.length;i>r;++r){var o=t[r];e[o]=n}}function s(){return u||(u=e.defer(),t(function(){u.resolve(),u=null})),u.promise}function l(e,t){if(ur.isObject(t)){var n=f(t.from||{},t.to||{});e.css(n)}}var u;return{animate:function(e,t,n){return l(e,{from:t,to:n}),s()},enter:function(e,t,n,r){return l(e,r),n?n.after(e):t.prepend(e),s()},leave:function(e,t){return l(e,t),e.remove(),s()},move:function(e,t,n,r){return this.enter(e,t,n,r)},addClass:function(e,t,n){return this.setClass(e,t,[],n)},$$addClassImmediately:function(e,t,n){return e=tr(e),t=w(t)?t:dr(t)?t.join(" "):"",o(e,function(e){Te(e,t)}),l(e,n),s()},removeClass:function(e,t,n){ -return this.setClass(e,[],t,n)},$$removeClassImmediately:function(e,t,n){return e=tr(e),t=w(t)?t:dr(t)?t.join(" "):"",o(e,function(e){Oe(e,t)}),l(e,n),s()},setClass:function(e,t,n,o){var s=this,l="$$animateClasses",u=!1;e=tr(e);var c=e.data(l);c?o&&c.options&&(c.options=ur.extend(c.options||{},o)):(c={classes:{},options:o},u=!0);var f=c.classes;return t=dr(t)?t:t.split(" "),n=dr(n)?n:n.split(" "),a(f,t,!0),a(f,n,!1),u&&(c.promise=r(function(t){var n=e.data(l);if(e.removeData(l),n){var r=i(e,n.classes);r&&s.$$setClassImmediately(e,r[0],r[1],n.options)}t()}),e.data(l,c)),c.promise},$$setClassImmediately:function(e,t,n,r){return t&&this.$$addClassImmediately(e,t),n&&this.$$removeClassImmediately(e,n),l(e,r),s()},enabled:h,cancel:h}}]}],Qr=r("$compile");Xe.$inject=["$provide","$$sanitizeUriProvider"];var Xr=/^((?:x|data)[\:\-_])/i,Jr=r("$controller"),Zr="application/json",ei={"Content-Type":Zr+";charset=utf-8"},ti=/^\[|^\{(?!\{)/,ni={"[":/]$/,"{":/}$/},ri=/^\)\]\}',?\n/,ii=r("$interpolate"),oi=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,ai={http:80,https:443,ftp:21},si=r("$location"),li={$$html5:!1,$$replace:!1,absUrl:Ot("$$absUrl"),url:function(e){if(m(e))return this.$$url;var t=oi.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:Ot("$$protocol"),host:Ot("$$host"),port:Ot("$$port"),path:Tt("$$path",function(e){return e=null!==e?e.toString():"","/"==e.charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(w(e)||$(e))e=e.toString(),this.$$search=G(e);else{if(!b(e))throw si("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");e=L(e,{}),o(e,function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:m(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:Tt("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};o([St,Et,kt],function(e){e.prototype=Object.create(li),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==kt||!this.$$html5)throw si("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=m(t)?null:t,this}});var ui=r("$parse"),ci=Function.prototype.call,fi=Function.prototype.apply,di=Function.prototype.bind,pi=ue();o({"null":function(){return null},"true":function(){return!0},"false":function(){return!1},undefined:function(){}},function(e,t){e.constant=e.literal=e.sharedGetter=!0,pi[t]=e}),pi["this"]=function(e){return e},pi["this"].sharedGetter=!0;var hi=f(ue(),{"+":function(e,t,r,i){return r=r(e,t),i=i(e,t),y(r)?y(i)?r+i:r:y(i)?i:n},"-":function(e,t,n,r){return n=n(e,t),r=r(e,t),(y(n)?n:0)-(y(r)?r:0)},"*":function(e,t,n,r){return n(e,t)*r(e,t)},"/":function(e,t,n,r){return n(e,t)/r(e,t)},"%":function(e,t,n,r){return n(e,t)%r(e,t)},"===":function(e,t,n,r){return n(e,t)===r(e,t)},"!==":function(e,t,n,r){return n(e,t)!==r(e,t)},"==":function(e,t,n,r){return n(e,t)==r(e,t)},"!=":function(e,t,n,r){return n(e,t)!=r(e,t)},"<":function(e,t,n,r){return n(e,t)":function(e,t,n,r){return n(e,t)>r(e,t)},"<=":function(e,t,n,r){return n(e,t)<=r(e,t)},">=":function(e,t,n,r){return n(e,t)>=r(e,t)},"&&":function(e,t,n,r){return n(e,t)&&r(e,t)},"||":function(e,t,n,r){return n(e,t)||r(e,t)},"!":function(e,t,n){return!n(e,t)},"=":!0,"|":!0}),gi={n:"\n",f:"\f",r:"\r",t:" ",v:" ","'":"'",'"':'"'},vi=function(e){this.options=e};vi.prototype={constructor:vi,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index="0"&&"9">=e&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||" "===e||"\n"===e||" "===e||" "===e},isIdent:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=y(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw ui("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.indexe){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return i?(this.tokens.shift(),i):!1},consume:function(e){if(0===this.tokens.length)throw ui("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},unaryFn:function(e,t){var n=hi[e];return f(function(e,r){return n(e,r,t)},{constant:t.constant,inputs:[t]})},binaryFn:function(e,t,n,r){var i=hi[t];return f(function(t,r){return i(t,r,e,n)},{constant:e.constant&&n.constant,inputs:!r&&[e,n]})},identifier:function(){for(var e=this.consume().text;this.peek(".")&&this.peekAhead(1).identifier&&!this.peekAhead(2,"(");)e+=this.consume().text+this.consume().text;return Vt(e,this.options,this.text)},constant:function(){var e=this.consume().value;return f(function(){return e},{constant:!0,literal:!0})},statements:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.filterChain()),!this.expect(";"))return 1===e.length?e[0]:function(t,n){for(var r,i=0,o=e.length;o>i;i++)r=e[i](t,n);return r}},filterChain:function(){for(var e,t=this.expression();e=this.expect("|");)t=this.filter(t);return t},filter:function(e){var t,r,i=this.$filter(this.consume().text);if(this.peek(":"))for(t=[],r=[];this.expect(":");)t.push(this.expression());var o=[e].concat(t||[]);return f(function(o,a){var s=e(o,a);if(r){r[0]=s;for(var l=t.length;l--;)r[l+1]=t[l](o,a);return i.apply(n,r)}return i(s)},{constant:!i.$stateful&&o.every(Ft),inputs:!i.$stateful&&o})},expression:function(){return this.assignment()},assignment:function(){var e,t,n=this.ternary();return(t=this.expect("="))?(n.assign||this.throwError("implies assignment but ["+this.text.substring(0,t.index)+"] can not be assigned to",t),e=this.ternary(),f(function(t,r){return n.assign(t,e(t,r),r)},{inputs:[n,e]})):n},ternary:function(){var e,t,n=this.logicalOR();if((t=this.expect("?"))&&(e=this.assignment(),this.consume(":"))){var r=this.assignment();return f(function(t,i){return n(t,i)?e(t,i):r(t,i)},{constant:n.constant&&e.constant&&r.constant})}return n},logicalOR:function(){for(var e,t=this.logicalAND();e=this.expect("||");)t=this.binaryFn(t,e.text,this.logicalAND(),!0);return t},logicalAND:function(){for(var e,t=this.equality();e=this.expect("&&");)t=this.binaryFn(t,e.text,this.equality(),!0);return t},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t=this.binaryFn(t,e.text,this.relational());return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t=this.binaryFn(t,e.text,this.additive());return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t=this.binaryFn(t,e.text,this.multiplicative());return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t=this.binaryFn(t,e.text,this.unary());return t},unary:function(){var e;return this.expect("+")?this.primary():(e=this.expect("-"))?this.binaryFn(mi.ZERO,e.text,this.unary()):(e=this.expect("!"))?this.unaryFn(e.text,this.unary()):this.primary()},fieldAccess:function(e){var t=this.identifier();return f(function(r,i,o){var a=o||e(r,i);return null==a?n:t(a)},{assign:function(n,r,i){var o=e(n,i);return o||e.assign(n,o={},i),t.assign(o,r)}})},objectIndex:function(e){var t=this.text,r=this.expression();return this.consume("]"),f(function(i,o){var a,s=e(i,o),l=r(i,o);return Rt(l,t),s?a=Dt(s[l],t):n},{assign:function(n,i,o){var a=Rt(r(n,o),t),s=Dt(e(n,o),t);return s||e.assign(n,s={},o),s[a]=i}})},functionCall:function(e,t){var r=[];if(")"!==this.peekToken().text)do r.push(this.expression());while(this.expect(","));this.consume(")");var i=this.text,o=r.length?[]:null;return function(a,s){var l=t?t(a,s):y(t)?n:a,u=e(a,s,l)||h;if(o)for(var c=r.length;c--;)o[c]=Dt(r[c](a,s),i);Dt(l,i),Pt(u,i);var f=u.apply?u.apply(l,o):u(o[0],o[1],o[2],o[3],o[4]);return o&&(o.length=0),Dt(f,i)}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),f(function(t,n){for(var r=[],i=0,o=e.length;o>i;i++)r.push(e[i](t,n));return r},{literal:!0,constant:e.every(Ft),inputs:e})},object:function(){var e=[],t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;var n=this.consume();n.constant?e.push(n.value):n.identifier?e.push(n.text):this.throwError("invalid key",n),this.consume(":"),t.push(this.expression())}while(this.expect(","));return this.consume("}"),f(function(n,r){for(var i={},o=0,a=t.length;a>o;o++)i[e[o]]=t[o](n,r);return i},{literal:!0,constant:t.every(Ft),inputs:t})}};var yi=ue(),bi=ue(),wi=Object.prototype.valueOf,$i=r("$sce"),xi={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Qr=r("$compile"),_i=t.createElement("a"),Ci=rn(e.location.href);sn.$inject=["$provide"],fn.$inject=["$locale"],dn.$inject=["$locale"];var ki=".",Ei={yyyy:gn("FullYear",4),yy:gn("FullYear",2,0,!0),y:gn("FullYear",1),MMMM:vn("Month"),MMM:vn("Month",!0),MM:gn("Month",2,1),M:gn("Month",1,1),dd:gn("Date",2),d:gn("Date",1),HH:gn("Hours",2),H:gn("Hours",1),hh:gn("Hours",2,-12),h:gn("Hours",1,-12),mm:gn("Minutes",2),m:gn("Minutes",1),ss:gn("Seconds",2),s:gn("Seconds",1),sss:gn("Milliseconds",3),EEEE:vn("Day"),EEE:vn("Day",!0),a:$n,Z:mn,ww:wn(2),w:wn(1),G:xn,GG:xn,GGG:xn,GGGG:_n},Si=/((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Oi=/^\-?\d+$/;Cn.$inject=["$locale"];var Ti=v(Yn),Ai=v(Xn);Sn.$inject=["$parse"];var Mi=v({restrict:"E",compile:function(e,t){return t.href||t.xlinkHref||t.name?void 0:function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===sr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Ri={};o(Vr,function(e,t){if("multiple"!=e){var n=Je("ng-"+t);Ri[n]=function(){return{restrict:"A",priority:100,link:function(e,r,i){e.$watch(i[n],function(e){i.$set(t,!!e)})}}}}}),o(Wr,function(e,t){Ri[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(Gn);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),o(["src","srcset","href"],function(e){var t=Je("ng-"+e);Ri[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===sr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(t){return t?(i.$set(a,t),void(er&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Di={$addControl:h,$$renameControl:Tn,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},Pi="ng-submitted";An.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Fi=function(e){return["$timeout",function(t){var r={name:"form",restrict:e?"EAC":"E",controller:An,compile:function(r,i){r.addClass(vo).addClass(ho);var o=i.name?"name":e&&i.ngForm?"ngForm":!1;return{pre:function(e,r,i,a){if(!("action"in i)){var s=function(t){e.$apply(function(){a.$commitViewValue(),a.$setSubmitted()}),t.preventDefault()};Or(r[0],"submit",s),r.on("$destroy",function(){t(function(){Tr(r[0],"submit",s)},0,!1)})}var l=a.$$parentForm;o&&(Lt(e,null,a.$name,a,a.$name),i.$observe(o,function(t){a.$name!==t&&(Lt(e,null,a.$name,n,a.$name),l.$$renameControl(a,t),Lt(e,null,a.$name,a,a.$name))})),r.on("$destroy",function(){l.$removeControl(a),o&&Lt(e,null,i[o],n,a.$name),f(a,Di)})}}}};return r}]},Li=Fi(),Ni=Fi(!0),ji=/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/,Ii=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,Vi=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Hi=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,Wi=/^(\d{4})-(\d{2})-(\d{2})$/,Ui=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,zi=/^(\d{4})-W(\d\d)$/,Bi=/^(\d{4})-(\d\d)$/,qi=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Gi={text:Rn,date:Ln("date",Wi,Fn(Wi,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Ln("datetimelocal",Ui,Fn(Ui,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:Ln("time",qi,Fn(qi,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:Ln("week",zi,Pn,"yyyy-Www"),month:Ln("month",Bi,Fn(Bi,["yyyy","MM"]),"yyyy-MM"),number:jn,url:In,email:Vn,radio:Hn,checkbox:Un,hidden:h,button:h,submit:h,reset:h,file:h},Ki=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Gi[Yn(a.type)]||Gi.text)(i,o,a,s[0],t,e,n,r)}}}}],Yi=/^(true|false|\d+)$/,Qi=function(){return{restrict:"A",priority:100,compile:function(e,t){return Yi.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},Xi=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,r,i){e.$$addBindingInfo(r,i.ngBind),r=r[0],t.$watch(i.ngBind,function(e){r.textContent=e===n?"":e})}}}}],Ji=["$interpolate","$compile",function(e,t){return{compile:function(r){return t.$$addBindingClass(r),function(r,i,o){var a=e(i.attr(o.$attr.ngBindTemplate));t.$$addBindingInfo(i,a.expressions),i=i[0],o.$observe("ngBindTemplate",function(e){i.textContent=e===n?"":e})}}}}],Zi=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(e){return(e||"").toString()});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){r.html(e.getTrustedHtml(o(t))||"")})}}}}],eo=v({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),to=zn("",!0),no=zn("Odd",0),ro=zn("Even",1),io=On({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),oo=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],ao={},so={blur:!0,focus:!0};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=Je("ng-"+e);ao[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[t],null,!0);return function(t,n){n.on(e,function(n){var i=function(){a(t,{$event:n})};so[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var lo=["$animate",function(e){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,l,u;n.$watch(i.ngIf,function(n){n?l||a(function(n,o){l=o,n[n.length++]=t.createComment(" end ngIf: "+i.ngIf+" "),s={clone:n},e.enter(n,r.parent(),r)}):(u&&(u.remove(),u=null),l&&(l.$destroy(),l=null),s&&(u=le(s.clone),e.leave(u).then(function(){u=null}),s=null))})}}}],uo=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:ur.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,l,u,c){var f,d,p,h=0,g=function(){d&&(d.remove(),d=null),f&&(f.$destroy(),f=null),p&&(n.leave(p).then(function(){d=null}),d=p,p=null)};r.$watch(o,function(o){var l=function(){!y(s)||s&&!r.$eval(s)||t()},d=++h;o?(e(o,!0).then(function(e){if(d===h){var t=r.$new();u.template=e;var s=c(t,function(e){g(),n.enter(e,null,i).then(l)});f=t,p=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){d===h&&(g(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(g(),u.template=null)})}}}}],co=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return/SVG/.test(r[0].toString())?(r.empty(),void e(ye(o.template,t).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void e(r.contents())(n))}}}],fo=On({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),po=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,r,i){var a=t.attr(r.$attr.ngList)||", ",s="false"!==r.ngTrim,l=s?pr(a):a,u=function(e){if(!m(e)){var t=[];return e&&o(e.split(l),function(e){e&&t.push(s?pr(e):e)}),t}};i.$parsers.push(u),i.$formatters.push(function(e){return dr(e)?e.join(a):n}),i.$isEmpty=function(e){return!e||!e.length}}}},ho="ng-valid",go="ng-invalid",vo="ng-pristine",mo="ng-dirty",yo="ng-untouched",bo="ng-touched",wo="ng-pending",$o=new r("ngModel"),xo=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,r,i,a,s,l,u,c,f){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=n,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=n,this.$name=f(r.name||"",!1)(e);var d,p=a(r.ngModel),g=p.assign,v=p,b=g,w=null,x=this;this.$$setOptions=function(e){if(x.$options=e,e&&e.getterSetter){var t=a(r.ngModel+"()"),n=a(r.ngModel+"($$$p)");v=function(e){var n=p(e);return _(n)&&(n=t(e)),n},b=function(e,t){_(p(e))?n(e,{$$$p:x.$modelValue}):g(e,x.$modelValue)}}else if(!p.assign)throw $o("nonassign","Expression '{0}' is non-assignable. Element: {1}",r.ngModel,B(i))},this.$render=h,this.$isEmpty=function(e){return m(e)||""===e||null===e||e!==e};var C=i.inheritedData("$formController")||Di,k=0;Bn({ctrl:this,$element:i,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},parentForm:C,$animate:s}),this.$setPristine=function(){x.$dirty=!1,x.$pristine=!0,s.removeClass(i,mo),s.addClass(i,vo)},this.$setDirty=function(){x.$dirty=!0,x.$pristine=!1,s.removeClass(i,vo),s.addClass(i,mo),C.$setDirty()},this.$setUntouched=function(){x.$touched=!1,x.$untouched=!0,s.setClass(i,yo,bo)},this.$setTouched=function(){x.$touched=!0,x.$untouched=!1,s.setClass(i,bo,yo)},this.$rollbackViewValue=function(){l.cancel(w),x.$viewValue=x.$$lastCommittedViewValue,x.$render()},this.$validate=function(){if(!$(x.$modelValue)||!isNaN(x.$modelValue)){var e=x.$$lastCommittedViewValue,t=x.$$rawModelValue,r=x.$valid,i=x.$modelValue,o=x.$options&&x.$options.allowInvalid;x.$$runValidators(t,e,function(e){o||r===e||(x.$modelValue=e?t:n,x.$modelValue!==i&&x.$$writeModelToScope())})}},this.$$runValidators=function(e,t,r){function i(){var e=x.$$parserName||"parse";return d!==n?(d||(o(x.$validators,function(e,t){l(t,null)}),o(x.$asyncValidators,function(e,t){l(t,null)})),l(e,d),d):(l(e,null),!0)}function a(){var n=!0;return o(x.$validators,function(r,i){var o=r(e,t);n=n&&o,l(i,o)}),n?!0:(o(x.$asyncValidators,function(e,t){l(t,null)}),!1)}function s(){var r=[],i=!0;o(x.$asyncValidators,function(o,a){var s=o(e,t);if(!M(s))throw $o("$asyncValidators","Expected asynchronous validator to return a promise but got '{0}' instead.",s);l(a,n),r.push(s.then(function(){l(a,!0)},function(e){i=!1,l(a,!1)}))}),r.length?c.all(r).then(function(){u(i)},h):u(!0)}function l(e,t){f===k&&x.$setValidity(e,t)}function u(e){f===k&&r(e)}k++;var f=k;return i()&&a()?void s():void u(!1)},this.$commitViewValue=function(){var e=x.$viewValue;l.cancel(w),(x.$$lastCommittedViewValue!==e||""===e&&x.$$hasNativeValidators)&&(x.$$lastCommittedViewValue=e,x.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){x.$modelValue!==a&&x.$$writeModelToScope()}var r=x.$$lastCommittedViewValue,i=r;if(d=m(i)?n:!0)for(var o=0;od;d++)if(E=r===A?d:A[d],S=r[E],O=T(E,S,d),v[O])M=v[O],delete v[O],F[O]=M,R[d]=M;else{if(F[O])throw o(R,function(e){e&&e.scope&&(v[e.id]=e)}),l("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",p,O,S);R[d]={id:O,scope:n,clone:n},F[O]=!0}for(var N in v){if(M=v[N],D=le(M.clone),a.leave(D),D[0].parentNode)for(d=0,m=D.length;m>d;d++)D[d][s]=!0;M.scope.$destroy()}for(d=0;x>d;d++)if(E=r===A?d:A[d],S=r[E],M=R[d],M.scope){b=P;do b=b.nextSibling;while(b&&b[s]);c(M)!=b&&a.move(le(M.clone),null,tr(P)),P=f(M),u(M.scope,d,w,S,$,E,x)}else g(function(e,t){M.scope=t;var n=h.cloneNode(!1);e[e.length++]=n,a.enter(e,null,tr(P)),P=n,M.clone=e,F[M.id]=M,u(M.scope,d,w,S,$,E,x)});v=F})}}}}],To="ng-hide",Ao="ng-hide-animate",Mo=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,To,{tempClasses:Ao})})}}}],Ro=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,To,{tempClasses:Ao})})}}}],Do=On(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&o(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),Po=["$animate",function(e){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,a){var s=i.ngSwitch||i.on,l=[],u=[],c=[],f=[],d=function(e,t){return function(){e.splice(t,1)}};n.$watch(s,function(n){var r,i;for(r=0,i=c.length;i>r;++r)e.cancel(c[r]);for(c.length=0,r=0,i=f.length;i>r;++r){var s=le(u[r].clone);f[r].$destroy();var p=c[r]=e.leave(s);p.then(d(c,r))}u.length=0,f.length=0,(l=a.cases["!"+n]||a.cases["?"])&&o(l,function(n){n.transclude(function(r,i){f.push(i);var o=n.element;r[r.length++]=t.createComment(" end ngSwitchWhen: ");var a={clone:r};u.push(a),e.enter(r,o.parent(),o)})})})}}}],Fo=On({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),Lo=On({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),No=On({restrict:"EAC",link:function(e,t,n,i,o){if(!o)throw r("ngTransclude")("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",B(t));o(function(e){t.empty(),t.append(e)})}}),jo=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"==n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],Io=r("ngOptions"),Vo=v({restrict:"A",terminal:!0}),Ho=["$compile","$parse",function(e,r){var i=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,s={$setViewValue:h};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(e,t,n){var r,i,o=this,a={},l=s;o.databound=n.ngModel,o.init=function(e,t,n){l=e,r=t,i=n},o.addOption=function(t,n){ae(t,'"option value"'),a[t]=!0,l.$viewValue==t&&(e.val(t),i.parent()&&i.remove()),n&&n[0].hasAttribute("selected")&&(n[0].selected=!0)},o.removeOption=function(e){this.hasOption(e)&&(delete a[e],l.$viewValue===e&&this.renderUnknownOption(e))},o.renderUnknownOption=function(t){var n="? "+Ve(t)+" ?";i.val(n),e.prepend(i),e.val(n),i.prop("selected",!0)},o.hasOption=function(e){return a.hasOwnProperty(e)},t.$on("$destroy",function(){o.renderUnknownOption=h})}],link:function(s,l,u,c){function f(e,t,n,r){n.$render=function(){var e=n.$viewValue;r.hasOption(e)?(C.parent()&&C.remove(),t.val(e),""===e&&h.prop("selected",!0)):null==e&&h?t.val(""):r.renderUnknownOption(e)},t.on("change",function(){e.$apply(function(){C.parent()&&C.remove(),n.$setViewValue(t.val())})})}function d(e,t,n){var r;n.$render=function(){var e=new He(n.$viewValue);o(t.find("option"),function(t){t.selected=y(e.get(t.value))})},e.$watch(function(){j(r,n.$viewValue)||(r=N(n.$viewValue),n.$render())}),t.on("change",function(){e.$apply(function(){ -var e=[];o(t.find("option"),function(t){t.selected&&e.push(t.value)}),n.$setViewValue(e)})})}function p(t,s,l){function u(e,n,r){return j[S]=r,A&&(j[A]=n),e(t,j)}function c(){t.$apply(function(){var e,n=D(t)||[];if(m)e=[],o(s.val(),function(t){t=F?L[t]:t,e.push(f(t,n[t]))});else{var r=F?L[s.val()]:s.val();e=f(r,n[r])}l.$setViewValue(e),C()})}function f(e,t){if("?"===e)return n;if(""===e)return null;var r=T?T:R;return u(r,e,t)}function d(){var e,n=D(t);if(n&&dr(n)){e=new Array(n.length);for(var r=0,i=n.length;i>r;r++)e[r]=u(E,r,n[r]);return e}if(n){e={};for(var o in n)n.hasOwnProperty(o)&&(e[o]=u(E,o,n[o]))}return e}function p(e){var t;if(m)if(F&&dr(e)){t=new He([]);for(var n=0;nS;S++)d=S,A&&(d=z[S],"$"===d.charAt(0))||(h=U[d],e=u(M,d,h)||"",(n=V[e])||(n=V[e]=[],H.push(e)),O=q(d,h),G=G||O,P=u(E,d,h),P=y(P)?P:"",I=F?F(t,j):A?z[S]:S,F&&(L[I]=d),n.push({id:I,label:P,selected:O}));for(m||(w||null===W?V[""].unshift({id:"",label:"",selected:!G}):G||V[""].unshift({id:"?",label:"",selected:!0})),k=0,b=H.length;b>k;k++){for(e=H[k],n=V[e],N.length<=k?(i={element:_.clone().attr("label",e),label:n.label},c=[i],N.push(c),s.append(i.element)):(c=N[k],i=c[0],i.label!=e&&i.element.attr("label",i.label=e)),T=null,S=0,C=n.length;C>S;S++)r=n[S],(f=c[S+1])?(T=f.element,f.label!==r.label&&(v(B,f.label,!1),v(B,r.label,!0),T.text(f.label=r.label),T.prop("label",f.label)),f.id!==r.id&&T.val(f.id=r.id),T[0].selected!==r.selected&&(T.prop("selected",f.selected=r.selected),er&&T.prop("selected",f.selected))):(""===r.id&&w?R=w:(R=x.clone()).val(r.id).prop("selected",r.selected).attr("selected",r.selected).prop("label",r.label).text(r.label),c.push(f={element:R,label:r.label,id:r.id,selected:r.selected}),v(B,r.label,!0),T?T.after(R):i.element.append(R),T=R);for(S++;c.length>S;)r=c.pop(),v(B,r.label,!1),r.element.remove()}for(;N.length>k;){for(n=N.pop(),S=1;S0?g.addOption(t):0>e&&g.removeOption(t)})}var k;if(!(k=b.match(i)))throw Io("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",b,B(s));var E=r(k[2]||k[1]),S=k[4]||k[6],O=/ as /.test(k[0])&&k[1],T=O?r(O):null,A=k[5],M=r(k[3]||""),R=r(k[2]?k[1]:S),D=r(k[7]),P=k[8],F=P?r(k[8]):null,L={},N=[[{element:s,label:""}]],j={};w&&(e(w)(t),w.removeClass("ng-scope"),w.remove()),s.empty(),s.on("change",c),l.$render=C,t.$watchCollection(D,h),t.$watchCollection(d,h),m&&t.$watchCollection(function(){return l.$modelValue},h)}if(c[1]){for(var h,g=c[0],v=c[1],m=u.multiple,b=u.ngOptions,w=!1,$=!1,x=tr(t.createElement("option")),_=tr(t.createElement("optgroup")),C=x.clone(),k=0,E=l.children(),S=E.length;S>k;k++)if(""===E[k].value){h=w=E.eq(k);break}g.init(v,w,C),m&&(v.$isEmpty=function(e){return!e||0===e.length}),b?p(s,l,v):m?d(s,l,v):f(s,l,v,g)}}}}],Wo=["$interpolate",function(e){var t={addOption:h,removeOption:h};return{restrict:"E",priority:100,compile:function(n,r){if(m(r.value)){var i=e(n.text(),!0);i||r.$set("value",n.text())}return function(e,n,r){var o="$selectController",a=n.parent(),s=a.data(o)||a.parent().data(o);s&&s.databound||(s=t),i?e.$watch(i,function(e,t){r.$set("value",e),t!==e&&s.removeOption(t),s.addOption(e,n)}):s.addOption(r.value,n),n.on("$destroy",function(){s.removeOption(r.value)})}}}}],Uo=v({restrict:"E",terminal:!1}),zo=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},Bo=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,i,o){if(o){var a,s=i.ngPattern||i.pattern;i.$observe("pattern",function(e){if(w(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw r("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",s,e,B(t));a=e||n,o.$validate()}),o.$validators.pattern=function(e){return o.$isEmpty(e)||m(a)||a.test(e)}}}}},qo=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=d(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return 0>i||r.$isEmpty(t)||t.length<=i}}}}},Go=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=d(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void console.log("WARNING: Tried to load angular more than once."):(re(),pe(ur),void tr(t).ready(function(){J(t,Z)}))}(window,document),!window.angular.$$csp()&&window.angular.element(document).find("head").prepend('')},function(e,t,n){!function(e){e(n(3))}(function(e){function t(e,t){return"pairs"==t&&"string"==typeof e?e:"object"==typeof e&&null!=e[t]?e[t]:c[t]}function n(e){return function(t){return a(t,e)}}function r(e){var t=e.state.closeBrackets;if(!t)return null;var n=e.getModeAt(e.getCursor());return n.closeBrackets||t}function i(n){var i=r(n);if(!i||n.getOption("disableInput"))return e.Pass;for(var o=t(i,"pairs"),a=n.listSelections(),s=0;s=0;s--){var c=a[s].head;n.replaceRange("",f(c.line,c.ch-1),f(c.line,c.ch+1))}}function o(n){var i=r(n),o=i&&t(i,"explode");if(!o||n.getOption("disableInput"))return e.Pass;for(var a=n.listSelections(),s=0;s1&&p.indexOf(i)>=0&&n.getRange(f(w.line,w.ch-2),w)==i+i&&(w.ch<=2||n.getRange(f(w.line,w.ch-3),f(w.line,w.ch-2))!=i))y="addFour";else if(h){if(e.isWordChar(d)||!u(n,w,i))return e.Pass;y="both"}else{if(!v||n.getLine(w.line).length!=w.ch&&!s(d,a)&&!/\s/.test(d))return e.Pass;y="both"}else y=p.indexOf(i)>=0&&n.getRange(w,f(w.line,w.ch+3))==i+i+i?"skipThree":"skip";if(c){if(c!=y)return e.Pass}else c=y}var $=l%2?a.charAt(l-1):i,x=l%2?i:a.charAt(l+1);n.operation(function(){if("skip"==c)n.execCommand("goCharRight");else if("skipThree"==c)for(var e=0;3>e;e++)n.execCommand("goCharRight");else if("surround"==c){for(var t=n.getSelections(),e=0;e-1&&n%2==1}function l(e,t){var n=e.getRange(f(t.line,t.ch-1),f(t.line,t.ch+1));return 2==n.length?n:null}function u(t,n,r){var i=t.getLine(n.line),o=t.getTokenAt(n);if(/\bstring2?\b/.test(o.type))return!1;var a=new e.StringStream(i.slice(0,n.ch)+r+i.slice(n.ch),4);for(a.pos=a.start=o.start;;){var s=t.getMode().token(a,o.state);if(a.pos>=n.ch+1)return/\bstring2?\b/.test(s);a.start=a.pos}}var c={pairs:"()[]{}''\"\"",triples:"",explode:"[]{}"},f=e.Pos;e.defineOption("autoCloseBrackets",!1,function(t,n,r){r&&r!=e.Init&&(t.removeKeyMap(p),t.state.closeBrackets=null),n&&(t.state.closeBrackets=n,t.addKeyMap(p))});for(var d=c.pairs+"`",p={Backspace:i,Enter:o},h=0;h=0&&s[o.text.charAt(l)]||s[o.text.charAt(++l)];if(!u)return null;var c=">"==u.charAt(1)?1:-1;if(r&&c>0!=(l==t.ch))return null;var f=e.getTokenTypeAt(a(t.line,l+1)),d=n(e,a(t.line,l+(c>0?1:0)),c,f||null,i);return null==d?null:{from:a(t.line,l),to:d&&d.pos,match:d&&d.ch==u.charAt(0),forward:c>0}}function n(e,t,n,r,i){for(var o=i&&i.maxScanLineLength||1e4,l=i&&i.maxScanLines||1e3,u=[],c=i&&i.bracketRegex?i.bracketRegex:/[(){}[\]]/,f=n>0?Math.min(t.line+l,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-l),d=t.line;d!=f;d+=n){var p=e.getLine(d);if(p){var h=n>0?0:p.length-1,g=n>0?p.length:-1;if(!(p.length>o))for(d==t.line&&(h=t.ch-(0>n?1:0));h!=g;h+=n){var v=p.charAt(h);if(c.test(v)&&(void 0===r||e.getTokenTypeAt(a(d,h+1))==r)){var m=s[v];if(">"==m.charAt(1)==n>0)u.push(v);else{if(!u.length)return{pos:a(d,h),ch:v};u.pop()}}}}}return d-n==(n>0?e.lastLine():e.firstLine())?!1:null}function r(e,n,r){for(var i=e.state.matchBrackets.maxHighlightLineLength||1e3,s=[],l=e.listSelections(),u=0;u",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"},l=null;e.defineOption("matchBrackets",!1,function(t,n,r){r&&r!=e.Init&&t.off("cursorActivity",i),n&&(t.state.matchBrackets="object"==typeof n?n:{},t.on("cursorActivity",i))}),e.defineExtension("matchBrackets",function(){r(this,!0)}),e.defineExtension("findMatchingBracket",function(e,n,r){return t(this,e,n,r)}),e.defineExtension("scanForBracket",function(e,t,r,i){return n(this,e,t,r,i)})})},function(e,t,n){!function(e){e(n(3))}(function(e){"use strict";e.registerHelper("lint","json",function(t){var n=[];jsonlint.parseError=function(t,r){var i=r.loc;n.push({from:e.Pos(i.first_line-1,i.first_column),to:e.Pos(i.last_line-1,i.last_column),message:t})};try{jsonlint.parse(t)}catch(r){}return n})})},function(e,t,n){!function(e){e(n(3))}(function(e){"use strict";function t(t,n){function r(t){return i.parentNode?(i.style.top=Math.max(0,t.clientY-i.offsetHeight-5)+"px",void(i.style.left=t.clientX+5+"px")):e.off(document,"mousemove",r)}var i=document.createElement("div");return i.className="CodeMirror-lint-tooltip",i.appendChild(n.cloneNode(!0)),document.body.appendChild(i),e.on(document,"mousemove",r),r(t),null!=i.style.opacity&&(i.style.opacity=1),i}function n(e){e.parentNode&&e.parentNode.removeChild(e)}function r(e){e.parentNode&&(null==e.style.opacity&&n(e),e.style.opacity=0,setTimeout(function(){n(e)},600))}function i(n,i,o){function a(){e.off(o,"mouseout",a),s&&(r(s),s=null)}var s=t(n,i),l=setInterval(function(){if(s)for(var e=o;;e=e.parentNode){if(e&&11==e.nodeType&&(e=e.host),e==document.body)return;if(!e){a();break}}return s?void 0:clearInterval(l)},400);e.on(o,"mouseout",a)}function o(e,t,n){this.marked=[],this.options=t,this.timeout=null,this.hasGutter=n,this.onMouseOver=function(t){v(e,t)}}function a(e,t){return t instanceof Function?{getAnnotations:t}:(t&&t!==!0||(t={}),t)}function s(e){var t=e.state.lint;t.hasGutter&&e.clearGutter(m);for(var n=0;n1,n.options.tooltips))}}r.onUpdateLinting&&r.onUpdateLinting(t,i,e)}function h(e){var t=e.state.lint;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(function(){d(e)},t.options.delay||500))}function g(e,t){var n=t.target||t.srcElement;i(t,f(e),n)}function v(e,t){var n=t.target||t.srcElement;if(/\bCodeMirror-lint-mark-/.test(n.className))for(var r=n.getBoundingClientRect(),i=(r.left+r.right)/2,o=(r.top+r.bottom)/2,a=e.findMarksAt(e.coordsChar({left:i,top:o},"client")),s=0;s"))return i("=>","operator");if("0"==n&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),i("number","number");if(/\d/.test(n))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),i("number","number");if("/"==n)return e.eat("*")?(t.tokenize=s,s(e,t)):e.eat("/")?(e.skipToEnd(),i("comment","comment")):"operator"==t.lastType||"keyword c"==t.lastType||"sof"==t.lastType||/^[\[{}\(,;:]$/.test(t.lastType)?(r(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),i("regexp","string-2")):(e.eatWhile(Ee),i("operator","operator",e.current()));if("`"==n)return t.tokenize=l,l(e,t);if("#"==n)return e.skipToEnd(),i("error","error");if(Ee.test(n))return e.eatWhile(Ee),i("operator","operator",e.current());if(Ce.test(n)){e.eatWhile(Ce);var o=e.current(),u=ke.propertyIsEnumerable(o)&&ke[o];return u&&"."!=t.lastType?i(u.type,u.style,o):i("variable","variable",o)}}function a(e){return function(t,n){var r,a=!1;if($e&&"@"==t.peek()&&t.match(Se))return n.tokenize=o,i("jsonld-keyword","meta");for(;null!=(r=t.next())&&(r!=e||a);)a=!a&&"\\"==r;return a||(n.tokenize=o),i("string","string")}}function s(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=o;break}r="*"==n}return i("comment","comment")}function l(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=o;break}r=!r&&"\\"==n}return i("quasi","string-2",e.current())}function u(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(0>n)){for(var r=0,i=!1,o=n-1;o>=0;--o){var a=e.string.charAt(o),s=Oe.indexOf(a);if(s>=0&&3>s){if(!r){++o;break}if(0==--r)break}else if(s>=3&&6>s)++r;else if(Ce.test(a))i=!0;else{if(/["'\/]/.test(a))return;if(i&&!r){++o;break}}}i&&!r&&(t.fatArrowAt=o)}}function c(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=r&&(this.align=r)}function f(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(var n=r.vars;n;n=n.next)if(n.name==t)return!0}function d(e,t,n,r,i){var o=e.cc;for(Ae.state=e,Ae.stream=i,Ae.marked=null,Ae.cc=o,Ae.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){var a=o.length?o.pop():xe?x:$;if(a(n,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return Ae.marked?Ae.marked:"variable"==n&&f(e,r)?"variable-2":t}}}function p(){for(var e=arguments.length-1;e>=0;e--)Ae.cc.push(arguments[e])}function h(){return p.apply(null,arguments),!0}function g(e){function t(t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}var r=Ae.state;if(r.context){if(Ae.marked="def",t(r.localVars))return;r.localVars={name:e,next:r.localVars}}else{if(t(r.globalVars))return;n.globalVars&&(r.globalVars={name:e,next:r.globalVars})}}function v(){Ae.state.context={prev:Ae.state.context,vars:Ae.state.localVars},Ae.state.localVars=Me}function m(){Ae.state.localVars=Ae.state.context.vars,Ae.state.context=Ae.state.context.prev}function y(e,t){var n=function(){var n=Ae.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var i=n.lexical;i&&")"==i.type&&i.align;i=i.prev)r=i.indented;n.lexical=new c(r,Ae.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function b(){var e=Ae.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function w(e){function t(n){return n==e?h():";"==e?p():h(t)}return t}function $(e,t){return"var"==e?h(y("vardef",t.length),z,w(";"),b):"keyword a"==e?h(y("form"),x,$,b):"keyword b"==e?h(y("form"),$,b):"{"==e?h(y("}"),V,b):";"==e?h():"if"==e?("else"==Ae.state.lexical.info&&Ae.state.cc[Ae.state.cc.length-1]==b&&Ae.state.cc.pop()(),h(y("form"),x,$,b,Y)):"function"==e?h(te):"for"==e?h(y("form"),Q,$,b):"variable"==e?h(y("stat"),D):"switch"==e?h(y("form"),x,y("}","switch"),w("{"),V,b,b):"case"==e?h(x,w(":")):"default"==e?h(w(":")):"catch"==e?h(y("form"),v,w("("),ne,w(")"),$,b,m):"module"==e?h(y("form"),v,se,m,b):"class"==e?h(y("form"),re,b):"export"==e?h(y("form"),le,b):"import"==e?h(y("form"),ue,b):p(y("stat"),x,w(";"),b)}function x(e){return C(e,!1)}function _(e){return C(e,!0)}function C(e,t){if(Ae.state.fatArrowAt==Ae.stream.start){var n=t?R:M;if("("==e)return h(v,y(")"),j(B,")"),b,w("=>"),n,m);if("variable"==e)return p(v,B,w("=>"),n,m)}var r=t?O:S;return Te.hasOwnProperty(e)?h(r):"function"==e?h(te,r):"keyword c"==e?h(t?E:k):"("==e?h(y(")"),k,ge,w(")"),b,r):"operator"==e||"spread"==e?h(t?_:x):"["==e?h(y("]"),pe,b,r):"{"==e?I(F,"}",null,r):"quasi"==e?p(T,r):h()}function k(e){return e.match(/[;\}\)\],]/)?p():p(x)}function E(e){return e.match(/[;\}\)\],]/)?p():p(_)}function S(e,t){return","==e?h(x):O(e,t,!1)}function O(e,t,n){var r=0==n?S:O,i=0==n?x:_;return"=>"==e?h(v,n?R:M,m):"operator"==e?/\+\+|--/.test(t)?h(r):"?"==t?h(x,w(":"),i):h(i):"quasi"==e?p(T,r):";"!=e?"("==e?I(_,")","call",r):"."==e?h(P,r):"["==e?h(y("]"),k,w("]"),b,r):void 0:void 0}function T(e,t){return"quasi"!=e?p():"${"!=t.slice(t.length-2)?h(T):h(x,A)}function A(e){return"}"==e?(Ae.marked="string-2",Ae.state.tokenize=l,h(T)):void 0}function M(e){return u(Ae.stream,Ae.state),p("{"==e?$:x)}function R(e){return u(Ae.stream,Ae.state),p("{"==e?$:_)}function D(e){return":"==e?h(b,$):p(S,w(";"),b)}function P(e){return"variable"==e?(Ae.marked="property",h()):void 0}function F(e,t){return"variable"==e||"keyword"==Ae.style?(Ae.marked="property",h("get"==t||"set"==t?L:N)):"number"==e||"string"==e?(Ae.marked=$e?"property":Ae.style+" property",h(N)):"jsonld-keyword"==e?h(N):"["==e?h(x,w("]"),N):void 0}function L(e){return"variable"!=e?p(N):(Ae.marked="property",h(te))}function N(e){return":"==e?h(_):"("==e?p(te):void 0}function j(e,t){function n(r){if(","==r){var i=Ae.state.lexical;return"call"==i.info&&(i.pos=(i.pos||0)+1),h(e,n)}return r==t?h():h(w(t))}return function(r){return r==t?h():p(e,n)}}function I(e,t,n){for(var r=3;r!?|~^]/,Se=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,Oe="([{}])",Te={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,"this":!0,"jsonld-keyword":!0},Ae={state:null,column:null,marked:null,cc:null},Me={name:"this",next:{name:"arguments"}};return b.lex=!0,{startState:function(e){var t={tokenize:o,lastType:"sof",cc:[],lexical:new c((e||0)-be,0,"block",!1),localVars:n.localVars,context:n.localVars&&{vars:n.localVars},indented:0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),u(e,t)),t.tokenize!=s&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==me?n:(t.lastType="operator"!=me||"++"!=ye&&"--"!=ye?me:"incdec",d(t,n,me,ye,e))},indent:function(t,r){if(t.tokenize==s)return e.Pass;if(t.tokenize!=o)return 0;var i=r&&r.charAt(0),a=t.lexical;if(!/^\s*else\b/.test(r))for(var l=t.cc.length-1;l>=0;--l){var u=t.cc[l];if(u==b)a=a.prev;else if(u!=Y)break}"stat"==a.type&&"}"==i&&(a=a.prev),we&&")"==a.type&&"stat"==a.prev.type&&(a=a.prev);var c=a.type,f=i==c;return"vardef"==c?a.indented+("operator"==t.lastType||","==t.lastType?a.info+1:0):"form"==c&&"{"==i?a.indented:"form"==c?a.indented+be:"stat"==c?a.indented+(ve(t,r)?we||be:0):"switch"!=a.info||f||0==n.doubleIndentSwitch?a.align?a.column+(f?0:1):a.indented+(f?0:be):a.indented+(/^(?:case|default)\b/.test(r)?be:2*be)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:xe?null:"/*",blockCommentEnd:xe?null:"*/",lineComment:xe?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:xe?"json":"javascript",jsonldMode:$e,jsonMode:xe}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},function(e,t,n){var r;(function(e,i,o,a){/*! +!function(e,t,n){"use strict";function r(e,t){return t=t||Error,function(){var n,r,i=arguments[0],o="["+(e?e+":":"")+i+"] ",a=arguments[1],s=arguments;for(n=o+a.replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1);return t+20&&t-1 in e}function o(e,t,n){var r,a;if(e)if(_(e))for(r in e)"prototype"==r||"length"==r||"name"==r||e.hasOwnProperty&&!e.hasOwnProperty(r)||t.call(n,e[r],r,e);else if(dr(e)||i(e)){var s="object"!=typeof e;for(r=0,a=e.length;a>r;r++)(s||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==o)e.forEach(t,n,e);else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);return e}function a(e){return Object.keys(e).sort()}function s(e,t,n){for(var r=a(e),i=0;in;n++){var i=arguments[n];if(i)for(var o=Object.keys(i),a=0,s=o.length;s>a;a++){var l=o[a];e[l]=i[l]}}return c(e,t),e}function d(e){return parseInt(e,10)}function p(e,t){return f(Object.create(e),t)}function h(){}function g(e){return e}function v(e){return function(){return e}}function m(e){return"undefined"==typeof e}function y(e){return"undefined"!=typeof e}function b(e){return null!==e&&"object"==typeof e}function w(e){return"string"==typeof e}function $(e){return"number"==typeof e}function x(e){return"[object Date]"===sr.call(e)}function _(e){return"function"==typeof e}function C(e){return"[object RegExp]"===sr.call(e)}function k(e){return e&&e.window===e}function E(e){return e&&e.$evalAsync&&e.$watch}function S(e){return"[object File]"===sr.call(e)}function O(e){return"[object FormData]"===sr.call(e)}function T(e){return"[object Blob]"===sr.call(e)}function A(e){return"boolean"==typeof e}function M(e){return e&&_(e.then)}function R(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function D(e){var t,n={},r=e.split(",");for(t=0;t=0&&e.splice(n,1),t}function L(e,t,n,r){if(k(e)||E(e))throw lr("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");if(t){if(e===t)throw lr("cpi","Can't copy! Source and destination are identical.");if(n=n||[],r=r||[],b(e)){var i=n.indexOf(e);if(-1!==i)return r[i];n.push(e),r.push(t)}var a;if(dr(e)){t.length=0;for(var s=0;sn;n++)t[n]=e[n]}else if(b(e)){t=t||{};for(var i in e)("$"!==i.charAt(0)||"$"!==i.charAt(1))&&(t[i]=e[i])}return t||e}function j(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var r,i,o,a=typeof e,s=typeof t;if(a==s&&"object"==a){if(!dr(e)){if(x(e))return x(t)?j(e.getTime(),t.getTime()):!1;if(C(e))return C(t)?e.toString()==t.toString():!1;if(E(e)||E(t)||k(e)||k(t)||dr(t)||x(t)||C(t))return!1;o={};for(i in e)if("$"!==i.charAt(0)&&!_(e[i])){if(!j(e[i],t[i]))return!1;o[i]=!0}for(i in t)if(!o.hasOwnProperty(i)&&"$"!==i.charAt(0)&&t[i]!==n&&!_(t[i]))return!1;return!0}if(!dr(t))return!1;if((r=e.length)==t.length){for(i=0;r>i;i++)if(!j(e[i],t[i]))return!1;return!0}}return!1}function I(e,t,n){return e.concat(ir.call(t,n))}function V(e,t){return ir.call(e,t||0)}function W(e,t){var n=arguments.length>2?V(arguments,2):[];return!_(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,I(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function H(e,r){var i=r;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?i=n:k(r)?i="$WINDOW":r&&t===r?i="$DOCUMENT":E(r)&&(i="$SCOPE"),i}function U(e,t){return"undefined"==typeof e?n:($(t)||(t=t?2:null),JSON.stringify(e,H,t))}function z(e){return w(e)?JSON.parse(e):e}function B(e){e=tr(e).clone();try{e.empty()}catch(t){}var n=tr("
").append(e).html();try{return e[0].nodeType===$r?Yn(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Yn(t)})}catch(t){return Yn(n)}}function q(e){try{return decodeURIComponent(e)}catch(t){}}function G(e){var t,n,r={};return o((e||"").split("&"),function(e){if(e&&(t=e.replace(/\+/g,"%20").split("="),n=q(t[0]),y(n))){var i=y(t[1])?q(t[1]):!0;Qn.call(r,n)?dr(r[n])?r[n].push(i):r[n]=[r[n],i]:r[n]=i}}),r}function K(e){var t=[];return o(e,function(e,n){dr(e)?o(e,function(e){t.push(Q(n,!0)+(e===!0?"":"="+Q(e,!0)))}):t.push(Q(n,!0)+(e===!0?"":"="+Q(e,!0)))}),t.length?t.join("&"):""}function Y(e){return Q(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Q(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function X(e,t){var n,r,i=vr.length;for(e=tr(e),r=0;i>r;++r)if(n=vr[r]+t,w(n=e.attr(n)))return n;return null}function J(e,t){var n,r,i={};o(vr,function(t){var i=t+"app";!n&&e.hasAttribute&&e.hasAttribute(i)&&(n=e,r=e.getAttribute(i))}),o(vr,function(t){var i,o=t+"app";!n&&(i=e.querySelector("["+o.replace(":","\\:")+"]"))&&(n=i,r=i.getAttribute(o))}),n&&(i.strictDi=null!==X(n,"strict-di"),t(n,r?[r]:[],i))}function Z(n,r,i){b(i)||(i={});var a={strictDi:!1};i=f(a,i);var s=function(){if(n=tr(n),n.injector()){var e=n[0]===t?"document":B(n);throw lr("btstrpd","App Already Bootstrapped with this Element '{0}'",e.replace(//,">"))}r=r||[],r.unshift(["$provide",function(e){e.value("$rootElement",n)}]),i.debugInfoEnabled&&r.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),r.unshift("ng");var o=ze(r,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},l=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;return e&&l.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(l,"")),e&&!u.test(e.name)?s():(e.name=e.name.replace(u,""),ur.resumeBootstrap=function(e){return o(e,function(e){r.push(e)}),s()},void(_(ur.resumeDeferredBootstrap)&&ur.resumeDeferredBootstrap()))}function ee(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function te(e){var t=ur.element(e).injector();if(!t)throw lr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function ne(e,t){return t=t||"_",e.replace(mr,function(e,n){return(n?t:"")+e.toLowerCase()})}function re(){var t;yr||(nr=e.jQuery,nr&&nr.fn.on?(tr=nr,f(nr.fn,{scope:Ir.scope,isolateScope:Ir.isolateScope,controller:Ir.controller,injector:Ir.injector,inheritedData:Ir.inheritedData}),t=nr.cleanData,nr.cleanData=function(e){var n;if(fr)fr=!1;else for(var r,i=0;null!=(r=e[i]);i++)n=nr._data(r,"events"),n&&n.$destroy&&nr(r).triggerHandler("$destroy");t(e)}):tr=we,ur.element=tr,yr=!0)}function ie(e,t,n){if(!e)throw lr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function oe(e,t,n){return n&&dr(e)&&(e=e[e.length-1]),ie(_(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function ae(e,t){if("hasOwnProperty"===e)throw lr("badname","hasOwnProperty is not a valid {0} name",t)}function se(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;a>s;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&_(e)?W(o,e):e}function le(e){var t=e[0],n=e[e.length-1],r=[t];do{if(t=t.nextSibling,!t)break;r.push(t)}while(t!==n);return tr(r)}function ue(){return Object.create(null)}function ce(e){function t(e,t,n){return e[t]||(e[t]=n())}var n=r("$injector"),i=r("ng"),o=t(e,"angular",Object);return o.$$minErr=o.$$minErr||r,t(o,"module",function(){var e={};return function(r,o,a){var s=function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)};return s(r,"module"),o&&e.hasOwnProperty(r)&&(e[r]=null),t(e,r,function(){function e(e,n,r,i){return i||(i=t),function(){return i[r||"push"]([e,n,arguments]),u}}if(!o)throw n("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",r);var t=[],i=[],s=[],l=e("$injector","invoke","push",i),u={_invokeQueue:t,_configBlocks:i,_runBlocks:s,requires:o,name:r,provider:e("$provide","provider"),factory:e("$provide","factory"),service:e("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),animation:e("$animateProvider","register"),filter:e("$filterProvider","register"),controller:e("$controllerProvider","register"),directive:e("$compileProvider","directive"),config:l,run:function(e){return s.push(e),this}};return a&&l(a),u})}})}function fe(e){var t=[];return JSON.stringify(e,function(e,n){if(n=H(e,n),b(n)){if(t.indexOf(n)>=0)return"<>";t.push(n)}return n})}function de(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof e?"undefined":"string"!=typeof e?fe(e):e}function pe(t){f(t,{bootstrap:Z,copy:L,extend:f,equals:j,element:tr,forEach:o,injector:ze,noop:h,bind:W,toJson:U,fromJson:z,identity:g,isUndefined:m,isDefined:y,isString:w,isFunction:_,isObject:b,isNumber:$,isElement:R,isArray:dr,version:kr,isDate:x,lowercase:Yn,uppercase:Xn,callbacks:{counter:0},getTestability:te,$$minErr:r,$$csp:gr,reloadWithDebugInfo:ee}),rr=ce(e);try{rr("ngLocale")}catch(n){rr("ngLocale",[]).provider("$locale",vt)}rr("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Kt}),e.provider("$compile",Xe).directive({a:Mi,input:Ki,textarea:Ki,form:Li,script:jo,select:Wo,style:Uo,option:Ho,ngBind:Xi,ngBindHtml:Zi,ngBindTemplate:Ji,ngClass:to,ngClassEven:ro,ngClassOdd:no,ngCloak:io,ngController:oo,ngForm:Ni,ngHide:Ro,ngIf:lo,ngInclude:uo,ngInit:fo,ngNonBindable:Eo,ngPluralize:So,ngRepeat:Oo,ngShow:Mo,ngStyle:Do,ngSwitch:Po,ngSwitchWhen:Fo,ngSwitchDefault:Lo,ngOptions:Vo,ngTransclude:No,ngModel:_o,ngList:po,ngChange:eo,pattern:Bo,ngPattern:Bo,required:zo,ngRequired:zo,minlength:Go,ngMinlength:Go,maxlength:qo,ngMaxlength:qo,ngValue:Qi,ngModelOptions:ko}).directive({ngInclude:co}).directive(Ri).directive(ao),e.provider({$anchorScroll:Be,$animate:Yr,$browser:Ke,$cacheFactory:Ye,$controller:tt,$document:nt,$exceptionHandler:rt,$filter:sn,$interpolate:ht,$interval:gt,$http:ct,$httpBackend:dt,$location:At,$log:Mt,$parse:Ht,$rootScope:Gt,$q:Ut,$$q:zt,$sce:Jt,$sceDelegate:Xt,$sniffer:Zt,$templateCache:Qe,$templateRequest:en,$$testability:tn,$timeout:nn,$window:an,$$rAF:qt,$$asyncCallback:qe,$$jqLite:Ie})}])}function he(){return++Sr}function ge(e){return e.replace(Ar,function(e,t,n,r){return r?n.toUpperCase():n}).replace(Mr,"Moz$1")}function ve(e){return!Fr.test(e)}function me(e){var t=e.nodeType;return t===br||!t||t===_r}function ye(e,t){var n,r,i,a,s=t.createDocumentFragment(),l=[];if(ve(e))l.push(t.createTextNode(e));else{for(n=n||s.appendChild(t.createElement("div")),r=(Lr.exec(e)||["",""])[1].toLowerCase(),i=jr[r]||jr._default,n.innerHTML=i[1]+e.replace(Nr,"<$1>")+i[2],a=i[0];a--;)n=n.lastChild;l=I(l,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",o(l,function(e){s.appendChild(e)}),s}function be(e,n){n=n||t;var r;return(r=Pr.exec(e))?[n.createElement(r[1])]:(r=ye(e,n))?r.childNodes:[]}function we(e){if(e instanceof we)return e;var t;if(w(e)&&(e=pr(e),t=!0),!(this instanceof we)){if(t&&"<"!=e.charAt(0))throw Dr("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new we(e)}t?Ae(this,be(e)):Ae(this,e)}function $e(e){return e.cloneNode(!0)}function xe(e,t){if(t||Ce(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;i>r;r++)Ce(n[r])}function _e(e,t,n,r){if(y(r))throw Dr("offargs","jqLite#off() does not support the `selector` argument");var i=ke(e),a=i&&i.events,s=i&&i.handle;if(s)if(t)o(t.split(" "),function(t){if(y(n)){var r=a[t];if(F(r||[],n),r&&r.length>0)return}Tr(e,t,s),delete a[t]});else for(t in a)"$destroy"!==t&&Tr(e,t,s),delete a[t]}function Ce(e,t){var r=e.ng339,i=r&&Er[r];if(i){if(t)return void delete i.data[t];i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),_e(e)),delete Er[r],e.ng339=n}}function ke(e,t){var r=e.ng339,i=r&&Er[r];return t&&!i&&(e.ng339=r=he(),i=Er[r]={events:{},data:{},handle:n}),i}function Ee(e,t,n){if(me(e)){var r=y(n),i=!r&&t&&!b(t),o=!t,a=ke(e,!i),s=a&&a.data;if(r)s[t]=n;else{if(o)return s;if(i)return s&&s[t];f(s,t)}}}function Se(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function Oe(e,t){t&&e.setAttribute&&o(t.split(" "),function(t){e.setAttribute("class",pr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+pr(t)+" "," ")))})}function Te(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(t.split(" "),function(e){e=pr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",pr(n))}}function Ae(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;n>r;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function Me(e,t){return Re(e,"$"+(t||"ngController")+"Controller")}function Re(e,t,r){e.nodeType==_r&&(e=e.documentElement);for(var i=dr(t)?t:[t];e;){for(var o=0,a=i.length;a>o;o++)if((r=tr.data(e,i[o]))!==n)return r;e=e.parentNode||e.nodeType===Cr&&e.host}}function De(e){for(xe(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Pe(e,t){t||xe(e);var n=e.parentNode;n&&n.removeChild(e)}function Fe(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):tr(n).on("load",t)}function Le(e,t){var n=Vr[t.toLowerCase()];return n&&Wr[P(e)]&&n}function Ne(e,t){var n=e.nodeName;return("INPUT"===n||"TEXTAREA"===n)&&Hr[t]}function je(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(m(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return n.immediatePropagationStopped===!0},o>1&&(i=N(i));for(var s=0;o>s;s++)n.isImmediatePropagationStopped()||i[s].call(e,n)}};return n.elem=e,n}function Ie(){this.$get=function(){return f(we,{hasClass:function(e,t){return e.attr&&(e=e[0]),Se(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Te(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),Oe(e,t)}})}}function Ve(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"==r||"object"==r&&null!==e?e.$$hashKey=r+":"+(t||u)():r+":"+e}function We(e,t){if(t){var n=0;this.nextUid=function(){return++n}}o(e,this.put,this)}function He(e){var t=e.toString().replace(qr,""),n=t.match(Ur);return n?"function("+(n[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function Ue(e,t,n){var r,i,a,s;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw w(n)&&n||(n=e.name||He(e)),Gr("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);i=e.toString().replace(qr,""),a=i.match(Ur),o(a[1].split(zr),function(e){e.replace(Br,function(e,t,n){r.push(n)})})}e.$inject=r}}else dr(e)?(s=e.length-1,oe(e[s],"fn"),r=e.slice(0,s)):oe(e,"fn",!0);return r}function ze(e,t){function r(e){return function(t,n){return b(t)?void o(t,l(e)):e(t,n)}}function i(e,t){if(ae(e,"service"),(_(t)||dr(t))&&(t=E.instantiate(t)),!t.$get)throw Gr("pget","Provider '{0}' must define $get factory method.",e);return k[e+$]=t}function a(e,t){return function(){var n=O.invoke(t,this);if(m(n))throw Gr("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function s(e,t,n){return i(e,{$get:n!==!1?a(e,t):t})}function u(e,t){return s(e,["$injector",function(e){return e.instantiate(t)}])}function c(e,t){return s(e,v(t),!1)}function f(e,t){ae(e,"constant"),k[e]=t,S[e]=t}function d(e,t){var n=E.get(e+$),r=n.$get;n.$get=function(){var e=O.invoke(r,n);return O.invoke(t,null,{$delegate:e})}}function p(e){var t,n=[];return o(e,function(e){function r(e){var t,n;for(t=0,n=e.length;n>t;t++){var r=e[t],i=E.get(r[0]);i[r[1]].apply(i,r[2])}}if(!C.get(e)){C.put(e,!0);try{w(e)?(t=rr(e),n=n.concat(p(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):_(e)?n.push(E.invoke(e)):dr(e)?n.push(E.invoke(e)):oe(e,"module")}catch(i){throw dr(e)&&(e=e[e.length-1]),i.message&&i.stack&&-1==i.stack.indexOf(i.message)&&(i=i.message+"\n"+i.stack),Gr("modulerr","Failed to instantiate module {0} due to:\n{1}",e,i.stack||i.message||i)}}}),n}function g(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===y)throw Gr("cdep","Circular dependency found: {0}",t+" <- "+x.join(" <- "));return e[t]}try{return x.unshift(t),e[t]=y,e[t]=n(t,r)}catch(i){throw e[t]===y&&delete e[t],i}finally{x.shift()}}function i(e,n,i,o){"string"==typeof i&&(o=i,i=null);var a,s,l,u=[],c=ze.$$annotate(e,t,o);for(s=0,a=c.length;a>s;s++){if(l=c[s],"string"!=typeof l)throw Gr("itkn","Incorrect injection token! Expected service name as string, got {0}",l);u.push(i&&i.hasOwnProperty(l)?i[l]:r(l,o))}return dr(e)&&(e=e[a]),e.apply(n,u)}function o(e,t,n){var r=Object.create((dr(e)?e[e.length-1]:e).prototype||null),o=i(e,r,t,n);return b(o)||_(o)?o:r}return{invoke:i,instantiate:o,get:r,annotate:ze.$$annotate,has:function(t){return k.hasOwnProperty(t+$)||e.hasOwnProperty(t)}}}t=t===!0;var y={},$="Provider",x=[],C=new We([],!0),k={$provide:{provider:r(i),factory:r(s),service:r(u),value:r(c),constant:r(f),decorator:d}},E=k.$injector=g(k,function(e,t){throw ur.isString(t)&&x.push(t),Gr("unpr","Unknown provider: {0}",x.join(" <- "))}),S={},O=S.$injector=g(S,function(e,t){var r=E.get(e+$,t);return O.invoke(r.$get,r,n,e)});return o(p(e),function(e){O.invoke(e||h)}),O}function Be(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){return"a"===P(e)?(t=e,!0):void 0}),t}function o(){var e=s.yOffset;if(_(e))e=e();else if(R(e)){var n=e[0],r=t.getComputedStyle(n);e="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else $(e)||(e=0);return e}function a(e){if(e){e.scrollIntoView();var n=o();if(n){var r=e.getBoundingClientRect().top;t.scrollBy(0,r-n)}}else t.scrollTo(0,0)}function s(){var e,t=n.hash();t?(e=l.getElementById(t))?a(e):(e=i(l.getElementsByName(t)))?a(e):"top"===t&&a(null):a(null)}var l=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){(e!==t||""!==e)&&Fe(function(){r.$evalAsync(s)})}),s}]}function qe(){this.$get=["$$rAF","$timeout",function(e,t){return e.supported?function(t){return e(t)}:function(e){return t(e,0,!1)}}]}function Ge(e,t,r,i){function a(e){try{e.apply(null,V(arguments,1))}finally{if(C--,0===C)for(;k.length;)try{k.pop()()}catch(t){r.error(t)}}}function s(e){var t=e.indexOf("#");return-1===t?"":e.substr(t)}function l(e,t){!function n(){o(S,function(e){e()}),E=t(n,e)}()}function u(){f(),d()}function c(){try{return b.state}catch(e){}}function f(){O=c(),O=m(O)?null:O,j(O,F)&&(O=F),F=O}function d(){(A!==g.url()||T!==O)&&(A=g.url(),T=O,o(D,function(e){e(g.url(),O)}))}function p(e){try{return decodeURIComponent(e)}catch(t){return e}}var g=this,v=t[0],y=e.location,b=e.history,$=e.setTimeout,x=e.clearTimeout,_={};g.isMock=!1;var C=0,k=[];g.$$completeOutstandingRequest=a,g.$$incOutstandingRequestCount=function(){C++},g.notifyWhenNoOutstandingRequests=function(e){o(S,function(e){e()}),0===C?e():k.push(e)};var E,S=[];g.addPollFn=function(e){return m(E)&&l(100,$),S.push(e),e};var O,T,A=y.href,M=t.find("base"),R=null;f(),T=O,g.url=function(t,n,r){if(m(r)&&(r=null),y!==e.location&&(y=e.location),b!==e.history&&(b=e.history),t){var o=T===r;if(A===t&&(!i.history||o))return g;var a=A&&$t(A)===$t(t);return A=t,T=r,!i.history||a&&o?((!a||R)&&(R=t),n?y.replace(t):a?y.hash=s(t):y.href=t):(b[n?"replaceState":"pushState"](r,"",t),f(),T=O),g}return R||y.href.replace(/%27/g,"'")},g.state=function(){return O};var D=[],P=!1,F=null;g.onUrlChange=function(t){return P||(i.history&&tr(e).on("popstate",u),tr(e).on("hashchange",u),P=!0),D.push(t),t},g.$$checkUrlChange=d,g.baseHref=function(){var e=M.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var L={},N="",I=g.baseHref();g.cookies=function(e,t){var i,o,a,s,l;if(!e){if(v.cookie!==N)for(N=v.cookie,o=N.split("; "),L={},s=0;s0&&(e=p(a.substring(0,l)),L[e]===n&&(L[e]=p(a.substring(l+1))));return L}t===n?v.cookie=encodeURIComponent(e)+"=;path="+I+";expires=Thu, 01 Jan 1970 00:00:00 GMT":w(t)&&(i=(v.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+";path="+I).length+1,i>4096&&r.warn("Cookie '"+e+"' possibly not set or overflowed because it was too large ("+i+" > 4096 bytes)!"))},g.defer=function(e,t){var n;return C++,n=$(function(){delete _[n],a(e)},t||0),_[n]=!0,n},g.defer.cancel=function(e){return _[e]?(delete _[e],x(e),a(h),!0):!1}}function Ke(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new Ge(e,r,t,n)}]}function Ye(){this.$get=function(){function e(e,n){function i(e){e!=d&&(p?p==e&&(p=e.n):p=e,o(e.n,e.p),o(e,d),d=e,d.n=null)}function o(e,t){e!=t&&(e&&(e.p=t),t&&(t.n=e))}if(e in t)throw r("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var a=0,s=f({},n,{id:e}),l={},u=n&&n.capacity||Number.MAX_VALUE,c={},d=null,p=null;return t[e]={put:function(e,t){if(uu&&this.remove(p.key),t},get:function(e){if(u").parent()[0])});var a=D(e,t,e,n,r,i);M.$$addScopeClass(e);var s=null;return function(t,n,r){ie(t,"scope"),r=r||{};var i=r.parentBoundTranscludeFn,o=r.transcludeControllers,l=r.futureParentElement;i&&i.$$boundTransclude&&(i=i.$$boundTransclude),s||(s=R(l));var u;if(u="html"!==s?tr(J(s,tr("
").append(e).html())):n?Ir.clone.call(e):e,o)for(var c in o)u.data("$"+c+"Controller",o[c].instance);return M.$$addScopeInfo(u,t),n&&n(u,t),a&&a(t,u,u,i),u}}function R(e){var t=e&&e[0];return t&&"foreignobject"!==P(t)&&t.toString().match(/SVG/)?"svg":"html"}function D(e,t,r,i,o,a){function s(e,r,i,o){var a,s,l,u,c,f,d,p,v;if(h){var m=r.length;for(v=new Array(m),c=0;cc;)l=v[g[c++]],a=g[c++],s=g[c++],a?(a.scope?(u=e.$new(),M.$$addScopeInfo(tr(l),u)):u=e,p=a.transcludeOnThisElement?L(e,a.transclude,o,a.elementTranscludeOnThisElement):!a.templateOnThisElement&&o?o:!o&&t?L(e,t):null,a(s,u,l,i,p)):s&&s(e,l.childNodes,n,o)}for(var l,u,c,f,d,p,h,g=[],v=0;vy;y++){var x=!1,_=!1;u=m[y],f=u.name,g=pr(u.value),h=Je(f),(v=fe.test(h))&&(f=f.replace(Xr,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var C=h.replace(/(Start|End)$/,"");q(C)&&h===C+"Start"&&(x=f,_=f.substr(0,f.length-5)+"end",f=f.substr(0,f.length-6)),p=Je(f.toLowerCase()),l[p]=f,(v||!n.hasOwnProperty(p))&&(n[p]=g,Le(e,p)&&(n[p]=!0)),ee(e,t,g,p,v),z(t,p,"A",r,i,x,_)}if(a=e.className,b(a)&&(a=a.animVal),w(a)&&""!==a)for(;o=d.exec(a);)p=Je(o[2]),z(t,p,"C",r,i)&&(n[p]=pr(o[3])),a=a.substr(o.index+o[0].length);break;case $r:X(t,e.nodeValue);break;case xr:try{o=c.exec(e.nodeValue),o&&(p=Je(o[1]),z(t,p,"M",r,i)&&(n[p]=pr(o[2])))}catch(k){}}return t.sort(Y),t}function I(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Qr("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==br&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return tr(r)}function W(e,t,n){return function(r,i,o,a,s){return i=I(i[0],t,n),e(r,i,o,a,s)}}function H(e,a,s,u,c,f,d,p,h){function g(e,t,n,r){e&&(n&&(e=W(e,n,r)),e.require=k.require,e.directiveName=S,(P===k||k.$$isolateScope)&&(e=re(e,{isolateScope:!0})),d.push(e)),t&&(n&&(t=W(t,n,r)),t.require=k.require,t.directiveName=S,(P===k||k.$$isolateScope)&&(t=re(t,{isolateScope:!0})),p.push(t))}function m(e,t,n,r){var i,a,s="data",l=!1,u=n;if(w(t)){if(a=t.match($),t=t.substring(a[0].length),a[3]&&(a[1]?a[3]=null:a[1]=a[3]),"^"===a[1]?s="inheritedData":"^^"===a[1]&&(s="inheritedData",u=n.parent()),"?"===a[2]&&(l=!0),i=null,r&&"data"===s&&(i=r[t])&&(i=i.instance),i=i||u[s]("$"+t+"Controller"),!i&&!l)throw Qr("ctreq","Controller '{0}', required by directive '{1}', can't be found!",t,e);return i||null}return dr(t)&&(i=[],o(t,function(t){i.push(m(e,t,n,r))})),i}function y(e,t,i,u,c){function f(e,t,r){var i;return E(e)||(r=t,t=e,e=n),q&&(i=$),r||(r=q?_.parent():_),c(e,t,i,r,T)}var h,g,y,b,w,$,x,_,k;if(a===i?(k=s,_=s.$$element):(_=tr(i),k=new ae(_,s)),P&&(w=t.$new(!0)),c&&(x=f,x.$$boundTransclude=c),D&&(C={},$={},o(D,function(e){var n,r={$scope:e===P||e.$$isolateScope?w:t,$element:_,$attrs:k,$transclude:x};b=e.controller,"@"==b&&(b=k[e.name]),n=v(b,r,!0,e.controllerAs),$[e.name]=n,q||_.data("$"+e.name+"Controller",n.instance),C[e.name]=n})),P){M.$$addScopeInfo(_,w,!0,!(F&&(F===P||F===P.$$originalDirective))),M.$$addScopeClass(_,!0);var S=C&&C[P.name],O=w;S&&S.identifier&&P.bindToController===!0&&(O=S.instance),o(w.$$isolateBindings=P.$$isolateBindings,function(e,n){var i,o,a,s,u=e.attrName,c=e.optional,f=e.mode;switch(f){case"@":k.$observe(u,function(e){O[n]=e}),k.$$observers[u].$$scope=t,k[u]&&(O[n]=r(k[u])(t));break;case"=":if(c&&!k[u])return;o=l(k[u]),s=o.literal?j:function(e,t){return e===t||e!==e&&t!==t},a=o.assign||function(){throw i=O[n]=o(t),Qr("nonassign","Expression '{0}' used with directive '{1}' is non-assignable!",k[u],P.name)},i=O[n]=o(t);var d=function(e){return s(e,O[n])||(s(e,i)?a(t,e=O[n]):O[n]=e),i=e};d.$stateful=!0;var p;p=e.collection?t.$watchCollection(k[u],d):t.$watch(l(k[u],d),null,o.literal),w.$on("$destroy",p);break;case"&":o=l(k[u]),O[n]=function(e){return o(t,e)}}})}for(C&&(o(C,function(e){e()}),C=null),h=0,g=d.length;g>h;h++)y=d[h],oe(y,y.isolateScope?w:t,_,k,y.require&&m(y.directiveName,y.require,_,$),x);var T=t;for(P&&(P.template||null===P.templateUrl)&&(T=w),e&&e(T,i.childNodes,n,c),h=p.length-1;h>=0;h--)y=p[h],oe(y,y.isolateScope?w:t,_,k,y.require&&m(y.directiveName,y.require,_,$),x)}h=h||{};for(var x,C,k,S,O,T,A,R=-Number.MAX_VALUE,D=h.controllerDirectives,P=h.newIsolateScopeDirective,F=h.templateDirective,L=h.nonTlbTranscludeDirective,H=!1,z=!1,q=h.hasElementTranscludeDirective,Y=s.$$element=tr(a),X=f,Z=u,ee=0,ne=e.length;ne>ee;ee++){k=e[ee];var ie=k.$$start,se=k.$$end;if(ie&&(Y=I(a,ie,se)),O=n,R>k.priority)break;if((A=k.scope)&&(k.templateUrl||(b(A)?(Q("new/isolated scope",P||x,k,Y),P=k):Q("new/isolated scope",P,k,Y)),x=x||k),S=k.name,!k.templateUrl&&k.controller&&(A=k.controller,D=D||{},Q("'"+S+"' controller",D[S],k,Y),D[S]=k),(A=k.transclude)&&(H=!0,k.$$tlb||(Q("transclusion",L,k,Y),L=k),"element"==A?(q=!0,R=k.priority,O=Y,Y=s.$$element=tr(t.createComment(" "+S+": "+s[S]+" ")),a=Y[0],te(c,V(O),a),Z=M(O,u,R,X&&X.name,{nonTlbTranscludeDirective:L})):(O=tr($e(a)).contents(),Y.empty(),Z=M(O,u))),k.template)if(z=!0,Q("template",F,k,Y),F=k,A=_(k.template)?k.template(Y,s):k.template,A=ce(A),k.replace){if(X=k,O=ve(A)?[]:et(J(k.templateNamespace,pr(A))),a=O[0],1!=O.length||a.nodeType!==br)throw Qr("tplrt","Template for directive '{0}' must have exactly one root element. {1}",S,"");te(c,Y,a);var le={$attr:{}},ue=N(a,[],le),fe=e.splice(ee+1,e.length-(ee+1));P&&U(ue),e=e.concat(ue).concat(fe),G(s,le),ne=e.length}else Y.html(A);if(k.templateUrl)z=!0,Q("template",F,k,Y),F=k,k.replace&&(X=k),y=K(e.splice(ee,e.length-ee),Y,s,c,H&&Z,d,p,{controllerDirectives:D,newIsolateScopeDirective:P,templateDirective:F,nonTlbTranscludeDirective:L}),ne=e.length;else if(k.compile)try{T=k.compile(Y,s,Z),_(T)?g(null,T,ie,se):T&&g(T.pre,T.post,ie,se)}catch(de){i(de,B(Y))}k.terminal&&(y.terminal=!0,R=Math.max(R,k.priority))}return y.scope=x&&x.scope===!0,y.transcludeOnThisElement=H,y.elementTranscludeOnThisElement=q,y.templateOnThisElement=z,y.transclude=Z,h.hasElementTranscludeDirective=q,y}function U(e){for(var t=0,n=e.length;n>t;t++)e[t]=p(e[t],{$$isolateScope:!0})}function z(t,r,o,a,l,c,f){ +if(r===l)return null;var d=null;if(s.hasOwnProperty(r))for(var h,g=e.get(r+u),v=0,m=g.length;m>v;v++)try{h=g[v],(a===n||a>h.priority)&&-1!=h.restrict.indexOf(o)&&(c&&(h=p(h,{$$start:c,$$end:f})),t.push(h),d=h)}catch(y){i(y)}return d}function q(t){if(s.hasOwnProperty(t))for(var n,r=e.get(t+u),i=0,o=r.length;o>i;i++)if(n=r[i],n.multiElement)return!0;return!1}function G(e,t){var n=t.$attr,r=e.$attr,i=e.$$element;o(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),o(t,function(t,o){"class"==o?(A(i,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==o?(i.attr("style",i.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==o.charAt(0)||e.hasOwnProperty(o)||(e[o]=t,r[o]=n[o])})}function K(e,t,n,r,i,s,l,u){var c,f,d=[],h=t[0],g=e.shift(),v=p(g,{templateUrl:null,transclude:null,replace:null,$$originalDirective:g}),m=_(g.templateUrl)?g.templateUrl(t,n):g.templateUrl,y=g.templateNamespace;return t.empty(),a(m).then(function(a){var p,w,$,x;if(a=ce(a),g.replace){if($=ve(a)?[]:et(J(y,pr(a))),p=$[0],1!=$.length||p.nodeType!==br)throw Qr("tplrt","Template for directive '{0}' must have exactly one root element. {1}",g.name,m);w={$attr:{}},te(r,t,p);var _=N(p,[],w);b(g.scope)&&U(_),e=_.concat(e),G(n,w)}else p=h,t.html(a);for(e.unshift(v),c=H(e,p,n,i,t,g,s,l,u),o(r,function(e,n){e==p&&(r[n]=t[0])}),f=D(t[0].childNodes,i);d.length;){var C=d.shift(),k=d.shift(),E=d.shift(),S=d.shift(),O=t[0];if(!C.$$destroyed){if(k!==h){var T=k.className;u.hasElementTranscludeDirective&&g.replace||(O=$e(p)),te(E,tr(k),O),A(tr(O),T)}x=c.transcludeOnThisElement?L(C,c.transclude,S):S,c(f,C,O,r,x)}}d=null}),function(e,t,n,r,i){var o=i;t.$$destroyed||(d?d.push(t,n,r,o):(c.transcludeOnThisElement&&(o=L(t,c.transclude,i)),c(f,t,n,r,o)))}}function Y(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name"+n+"",r.childNodes[0].childNodes;default:return n}}function Z(e,t){if("srcdoc"==t)return S.HTML;var n=P(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?S.RESOURCE_URL:void 0}function ee(e,t,n,i,o){var a=Z(e,i);o=m[i]||o;var s=r(n,!0,a,o);if(s){if("multiple"===i&&"select"===P(e))throw Qr("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",B(e));t.push({priority:100,compile:function(){return{pre:function(e,t,l){var u=l.$$observers||(l.$$observers={});if(x.test(i))throw Qr("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var c=l[i];c!==n&&(s=c&&r(c,!0,a,o),n=c),s&&(l[i]=s(e),(u[i]||(u[i]=[])).$$inter=!0,(l.$$observers&&l.$$observers[i].$$scope||e).$watch(s,function(e,t){"class"===i&&e!=t?l.$updateClass(e,t):l.$set(i,e)}))}}}})}}function te(e,n,r){var i,o,a=n[0],s=n.length,l=a.parentNode;if(e)for(i=0,o=e.length;o>i;i++)if(e[i]==a){e[i++]=r;for(var u=i,c=u+s-1,f=e.length;f>u;u++,c++)f>c?e[u]=e[c]:delete e[u];e.length-=s-1,e.context===a&&(e.context=r);break}l&&l.replaceChild(r,a);var d=t.createDocumentFragment();d.appendChild(a),tr(r).data(tr(a).data()),nr?(fr=!0,nr.cleanData([a])):delete tr.cache[a[tr.expando]];for(var p=1,h=n.length;h>p;p++){var g=n[p];tr(g).remove(),d.appendChild(g),delete n[p]}n[0]=r,n.length=1}function re(e,t){return f(function(){return e.apply(null,arguments)},e,t)}function oe(e,t,n,r,o,a){try{e(t,n,r,o,a)}catch(s){i(s,B(n))}}var ae=function(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;r>n;n++)i=o[n],this[i]=t[i]}else this.$attr={};this.$$element=e};ae.prototype={$normalize:Je,$addClass:function(e){e&&e.length>0&&O.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&O.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=Ze(e,t);n&&n.length&&O.addClass(this.$$element,n);var r=Ze(t,e);r&&r.length&&O.removeClass(this.$$element,r)},$set:function(e,t,r,a){var s,l=this.$$element[0],u=Le(l,e),c=Ne(l,e),f=e;if(u?(this.$$element.prop(e,t),a=u):c&&(this[c]=t,f=c),this[e]=t,a?this.$attr[e]=a:(a=this.$attr[e],a||(this.$attr[e]=a=ne(e,"-"))),s=P(this.$$element),"a"===s&&"href"===e||"img"===s&&"src"===e)this[e]=t=T(t,"src"===e);else if("img"===s&&"srcset"===e){for(var d="",p=pr(t),h=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,g=/\s/.test(p)?h:/(,)/,v=p.split(g),m=Math.floor(v.length/2),y=0;m>y;y++){var b=2*y;d+=T(pr(v[b]),!0),d+=" "+pr(v[b+1])}var w=pr(v[2*y]).split(/\s/);d+=T(pr(w[0]),!0),2===w.length&&(d+=" "+pr(w[1])),this[e]=t=d}r!==!1&&(null===t||t===n?this.$$element.removeAttr(a):this.$$element.attr(a,t));var $=this.$$observers;$&&o($[f],function(e){try{e(t)}catch(n){i(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=ue()),i=r[e]||(r[e]=[]);return i.push(t),y.$evalAsync(function(){!i.$$inter&&n.hasOwnProperty(e)&&t(n[e])}),function(){F(i,t)}}};var se=r.startSymbol(),le=r.endSymbol(),ce="{{"==se||"}}"==le?g:function(e){return e.replace(/\{\{/g,se).replace(/}}/g,le)},fe=/^ngAttr[A-Z]/;return M.$$addBindingInfo=C?function(e,t){var n=e.data("$binding")||[];dr(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:h,M.$$addBindingClass=C?function(e){A(e,"ng-binding")}:h,M.$$addScopeInfo=C?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:h,M.$$addScopeClass=C?function(e,t){A(e,t?"ng-isolate-scope":"ng-scope")}:h,M}]}function Je(e){return ge(e.replace(Xr,""))}function Ze(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o0?" ":"")+a}return n}function et(e){e=tr(e);var t=e.length;if(1>=t)return e;for(;t--;){var n=e[t];n.nodeType===xr&&or.call(e,t,1)}return e}function tt(){var e={},t=!1,i=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(t,n){ae(t,"controller"),b(t)?f(e,t):e[t]=n},this.allowGlobals=function(){t=!0},this.$get=["$injector","$window",function(o,a){function s(e,t,n,i){if(!e||!b(e.$scope))throw r("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,t);e.$scope[t]=n}return function(r,l,u,c){var d,p,h,g;if(u=u===!0,c&&w(c)&&(g=c),w(r)){if(p=r.match(i),!p)throw Jr("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);h=p[1],g=g||p[3],r=e.hasOwnProperty(h)?e[h]:se(l.$scope,h,!0)||(t?se(a,h,!0):n),oe(r,h,!0)}if(u){var v=(dr(r)?r[r.length-1]:r).prototype;return d=Object.create(v||null),g&&s(l,g,d,h||r.name),f(function(){return o.invoke(r,d,l,h),d},{instance:d,identifier:g})}return d=o.instantiate(r,l,h),g&&s(l,g,d,h||r.name),d}}]}function nt(){this.$get=["$window",function(e){return tr(e.document)}]}function rt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function it(e,t){if(w(e)){var n=e.replace(ri,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Zr)||ot(n))&&(e=z(n))}}return e}function ot(e){var t=e.match(ti);return t&&ni[t[0]].test(e)}function at(e){var t,n,r,i=ue();return e?(o(e.split("\n"),function(e){r=e.indexOf(":"),t=Yn(pr(e.substr(0,r))),n=pr(e.substr(r+1)),t&&(i[t]=i[t]?i[t]+", "+n:n)}),i):i}function st(e){var t=b(e)?e:n;return function(n){if(t||(t=at(e)),n){var r=t[Yn(n)];return void 0===r&&(r=null),r}return t}}function lt(e,t,n,r){return _(r)?r(e,t,n):(o(r,function(r){e=r(e,t,n)}),e)}function ut(e){return e>=200&&300>e}function ct(){var e=this.defaults={transformResponse:[it],transformRequest:[function(e){return!b(e)||S(e)||T(e)||O(e)?e:U(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:N(ei),put:N(ei),patch:N(ei)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},t=!1;this.useApplyAsync=function(e){return y(e)?(t=!!e,this):t};var i=this.interceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(a,l,u,c,d,p){function h(t){function i(e){var t=f({},e);return e.data?t.data=lt(e.data,e.headers,e.status,l.transformResponse):t.data=e.data,ut(e.status)?t:d.reject(t)}function a(e){var t,n={};return o(e,function(e,r){_(e)?(t=e(),null!=t&&(n[r]=t)):n[r]=e}),n}function s(t){var n,r,i,o=e.headers,s=f({},t.headers);o=f({},o.common,o[Yn(t.method)]);e:for(n in o){r=Yn(n);for(i in s)if(Yn(i)===r)continue e;s[n]=o[n]}return a(s)}if(!ur.isObject(t))throw r("$http")("badreq","Http request configuration must be an object. Received: {0}",t);var l=f({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse},t);l.headers=s(t),l.method=Xn(l.method);var u=function(t){var r=t.headers,a=lt(t.data,st(r),n,t.transformRequest);return m(a)&&o(r,function(e,t){"content-type"===Yn(t)&&delete r[t]}),m(t.withCredentials)&&!m(e.withCredentials)&&(t.withCredentials=e.withCredentials),$(t,a).then(i,i)},c=[u,n],p=d.when(l);for(o(E,function(e){(e.request||e.requestError)&&c.unshift(e.request,e.requestError),(e.response||e.responseError)&&c.push(e.response,e.responseError)});c.length;){var h=c.shift(),g=c.shift();p=p.then(h,g)}return p.success=function(e){return oe(e,"fn"),p.then(function(t){e(t.data,t.status,t.headers,l)}),p},p.error=function(e){return oe(e,"fn"),p.then(null,function(t){e(t.data,t.status,t.headers,l)}),p},p}function g(e){o(arguments,function(e){h[e]=function(t,n){return h(f(n||{},{method:e,url:t}))}})}function v(e){o(arguments,function(e){h[e]=function(t,n,r){return h(f(r||{},{method:e,url:t,data:n}))}})}function $(r,i){function o(e,n,r,i){function o(){s(n,e,r,i)}p&&(ut(e)?p.put(x,[e,n,at(r),i]):p.remove(x)),t?c.$applyAsync(o):(o(),c.$$phase||c.$apply())}function s(e,t,n,i){t=Math.max(t,0),(ut(t)?v.resolve:v.reject)({data:e,status:t,headers:st(n),config:r,statusText:i})}function u(e){s(e.data,e.status,N(e.headers()),e.statusText)}function f(){var e=h.pendingRequests.indexOf(r);-1!==e&&h.pendingRequests.splice(e,1)}var p,g,v=d.defer(),w=v.promise,$=r.headers,x=C(r.url,r.params);if(h.pendingRequests.push(r),w.then(f,f),!r.cache&&!e.cache||r.cache===!1||"GET"!==r.method&&"JSONP"!==r.method||(p=b(r.cache)?r.cache:b(e.cache)?e.cache:k),p&&(g=p.get(x),y(g)?M(g)?g.then(u,u):dr(g)?s(g[1],g[0],N(g[2]),g[3]):s(g,200,{},"OK"):p.put(x,w)),m(g)){var _=on(r.url)?l.cookies()[r.xsrfCookieName||e.xsrfCookieName]:n;_&&($[r.xsrfHeaderName||e.xsrfHeaderName]=_),a(r.method,x,i,o,$,r.timeout,r.withCredentials,r.responseType)}return w}function C(e,t){if(!t)return e;var n=[];return s(t,function(e,t){null===e||m(e)||(dr(e)||(e=[e]),o(e,function(e){b(e)&&(e=x(e)?e.toISOString():U(e)),n.push(Q(t)+"="+Q(e))}))}),n.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+n.join("&")),e}var k=u("$http"),E=[];return o(i,function(e){E.unshift(w(e)?p.get(e):p.invoke(e))}),h.pendingRequests=[],g("get","delete","head","jsonp"),v("post","put","patch"),h.defaults=e,h}]}function ft(){return new e.XMLHttpRequest}function dt(){this.$get=["$browser","$window","$document",function(e,t,n){return pt(e,ft,e.defer,t.angular.callbacks,n[0])}]}function pt(e,t,r,i,a){function s(e,t,n){var r=a.createElement("script"),o=null;return r.type="text/javascript",r.src=e,r.async=!0,o=function(e){Tr(r,"load",o),Tr(r,"error",o),a.body.removeChild(r),r=null;var s=-1,l="unknown";e&&("load"!==e.type||i[t].called||(e={type:"error"}),l=e.type,s="error"===e.type?404:200),n&&n(s,l)},Or(r,"load",o),Or(r,"error",o),a.body.appendChild(r),o}return function(a,l,u,c,f,d,p,g){function v(){w&&w(),$&&$.abort()}function m(t,i,o,a,s){C!==n&&r.cancel(C),w=$=null,t(i,o,a,s),e.$$completeOutstandingRequest(h)}if(e.$$incOutstandingRequestCount(),l=l||e.url(),"jsonp"==Yn(a)){var b="_"+(i.counter++).toString(36);i[b]=function(e){i[b].data=e,i[b].called=!0};var w=s(l.replace("JSON_CALLBACK","angular.callbacks."+b),b,function(e,t){m(c,e,i[b].data,"",t),i[b]=h})}else{var $=t();$.open(a,l,!0),o(f,function(e,t){y(e)&&$.setRequestHeader(t,e)}),$.onload=function(){var e=$.statusText||"",t="response"in $?$.response:$.responseText,n=1223===$.status?204:$.status;0===n&&(n=t?200:"file"==rn(l).protocol?404:0),m(c,n,t,$.getAllResponseHeaders(),e)};var x=function(){m(c,-1,null,null,"")};if($.onerror=x,$.onabort=x,p&&($.withCredentials=!0),g)try{$.responseType=g}catch(_){if("json"!==g)throw _}$.send(u||null)}if(d>0)var C=r(v,d);else M(d)&&d.then(v)}}function ht(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(e){return"\\\\\\"+e}function a(o,a,d,p){function h(n){return n.replace(u,e).replace(c,t)}function g(e){try{return e=T(e),p&&!y(e)?e:A(e)}catch(t){var n=ii("interr","Can't interpolate: {0}\n{1}",o,t.toString());r(n)}}p=!!p;for(var v,b,w,$=0,x=[],C=[],k=o.length,E=[],S=[];k>$;){if(-1==(v=o.indexOf(e,$))||-1==(b=o.indexOf(t,v+s))){$!==k&&E.push(h(o.substring($)));break}$!==v&&E.push(h(o.substring($,v))),w=o.substring(v+s,b),x.push(w),C.push(n(w,g)),$=b+l,S.push(E.length),E.push("")}if(d&&E.length>1)throw ii("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce",o);if(!a||x.length){var O=function(e){for(var t=0,n=x.length;n>t;t++){if(p&&m(e[t]))return;E[S[t]]=e[t]}return E.join("")},T=function(e){return d?i.getTrusted(d,e):i.valueOf(e)},A=function(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=U(e)}return e};return f(function(e){var t=0,n=x.length,i=new Array(n);try{for(;n>t;t++)i[t]=C[t](e);return O(i)}catch(a){var s=ii("interr","Can't interpolate: {0}\n{1}",o,a.toString());r(s)}},{exp:o,expressions:x,$$watchDelegate:function(e,t,n){var r;return e.$watchGroup(C,function(n,i){var o=O(n);_(t)&&t.call(this,o,n!==i?r:o,e),r=o},n)}})}}var s=e.length,l=t.length,u=new RegExp(e.replace(/./g,o),"g"),c=new RegExp(t.replace(/./g,o),"g");return a.startSymbol=function(){return e},a.endSymbol=function(){return t},a}]}function gt(){this.$get=["$rootScope","$window","$q","$$q",function(e,t,n,r){function i(i,a,s,l){var u=t.setInterval,c=t.clearInterval,f=0,d=y(l)&&!l,p=(d?r:n).defer(),h=p.promise;return s=y(s)?s:0,h.then(null,null,i),h.$$intervalId=u(function(){p.notify(f++),s>0&&f>=s&&(p.resolve(f),c(h.$$intervalId),delete o[h.$$intervalId]),d||e.$apply()},a),o[h.$$intervalId]=p,h}var o={};return i.cancel=function(e){return e&&e.$$intervalId in o?(o[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete o[e.$$intervalId],!0):!1},i}]}function vt(){this.$get=function(){return{id:"en-us",NUMBER_FORMATS:{DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{minInt:1,minFrac:0,maxFrac:3,posPre:"",posSuf:"",negPre:"-",negSuf:"",gSize:3,lgSize:3},{minInt:1,minFrac:2,maxFrac:2,posPre:"¤",posSuf:"",negPre:"(¤",negSuf:")",gSize:3,lgSize:3}],CURRENCY_SYM:"$"},DATETIME_FORMATS:{MONTH:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),SHORTMONTH:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),DAY:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),SHORTDAY:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(","),AMPMS:["AM","PM"],medium:"MMM d, y h:mm:ss a","short":"M/d/yy h:mm a",fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",mediumDate:"MMM d, y",shortDate:"M/d/yy",mediumTime:"h:mm:ss a",shortTime:"h:mm a",ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"]},pluralCat:function(e){return 1===e?"one":"other"}}}}function mt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=Y(t[n]);return t.join("/")}function yt(e,t){var n=rn(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=d(n.port)||ai[n.protocol]||null}function bt(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=rn(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=G(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function wt(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function $t(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function xt(e){return e.replace(/(#.+)|#$/,"$1")}function _t(e){return e.substr(0,$t(e).lastIndexOf("/")+1)}function Ct(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function kt(e,t){this.$$html5=!0,t=t||"";var r=_t(e);yt(e,this),this.$$parse=function(e){var t=wt(r,e);if(!w(t))throw si("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,r);bt(t,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=K(this.$$search),t=this.$$hash?"#"+Y(this.$$hash):"";this.$$url=mt(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=r+this.$$url.substr(1)},this.$$parseLinkUrl=function(i,o){if(o&&"#"===o[0])return this.hash(o.slice(1)),!0;var a,s,l;return(a=wt(e,i))!==n?(s=a,l=(a=wt(t,a))!==n?r+(wt("/",a)||a):e+s):(a=wt(r,i))!==n?l=r+a:r==i+"/"&&(l=r),l&&this.$$parse(l),!!l}}function Et(e,t){var n=_t(e);yt(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}var o,a=wt(e,r)||wt(n,r);m(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",m(a)&&(e=r,this.replace())):(o=wt(t,a),m(o)&&(o=a)),bt(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var n=K(this.$$search),r=this.$$hash?"#"+Y(this.$$hash):"";this.$$url=mt(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=e+(this.$$url?t+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return $t(e)==$t(t)?(this.$$parse(t),!0):!1}}function St(e,t){this.$$html5=!0,Et.apply(this,arguments);var n=_t(e);this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e==$t(r)?o=r:(a=wt(n,r))?o=e+t+a:n===r+"/"&&(o=n),o&&this.$$parse(o),!!o},this.$$compose=function(){var n=K(this.$$search),r=this.$$hash?"#"+Y(this.$$hash):"";this.$$url=mt(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=e+t+this.$$url}}function Ot(e){return function(){return this[e]}}function Tt(e,t){return function(n){return m(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function At(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return y(t)?(e=t,this):e},this.html5Mode=function(e){return A(e)?(t.enabled=e,this):b(e)?(A(e.enabled)&&(t.enabled=e.enabled),A(e.requireBase)&&(t.requireBase=e.requireBase),A(e.rewriteLinks)&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(e,t,n){var i=u.url(),o=u.$$state;try{r.url(e,t,n),u.$$state=r.state()}catch(a){throw u.url(i),u.$$state=o,a}}function l(e,t){n.$broadcast("$locationChangeSuccess",u.absUrl(),e,u.$$state,t)}var u,c,f,d=r.baseHref(),p=r.url();if(t.enabled){if(!d&&t.requireBase)throw si("nobase","$location in HTML5 mode requires a tag to be present!");f=Ct(p)+(d||"/"),c=i.history?kt:St}else f=$t(p),c=Et;u=new c(f,"#"+e),u.$$parseLinkUrl(p,p),u.$$state=r.state();var h=/^\s*(javascript|mailto):/i;o.on("click",function(e){if(t.rewriteLinks&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!=e.which&&2!=e.button){for(var i=tr(e.target);"a"!==P(i[0]);)if(i[0]===o[0]||!(i=i.parent())[0])return;var s=i.prop("href"),l=i.attr("href")||i.attr("xlink:href");b(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=rn(s.animVal).href),h.test(s)||!s||i.attr("target")||e.isDefaultPrevented()||u.$$parseLinkUrl(s,l)&&(e.preventDefault(),u.absUrl()!=r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}),xt(u.absUrl())!=xt(p)&&r.url(u.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){n.$evalAsync(function(){var r,i=u.absUrl(),o=u.$$state;u.$$parse(e),u.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,u.absUrl()===e&&(r?(u.$$parse(i),u.$$state=o,s(i,!1,o)):(g=!1,l(i,o)))}),n.$$phase||n.$digest()}),n.$watch(function(){var e=xt(r.url()),t=xt(u.absUrl()),o=r.state(),a=u.$$replace,c=e!==t||u.$$html5&&i.history&&o!==u.$$state;(g||c)&&(g=!1,n.$evalAsync(function(){var t=u.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,u.$$state,o).defaultPrevented;u.absUrl()===t&&(r?(u.$$parse(e),u.$$state=o):(c&&s(t,a,o===u.$$state?null:u.$$state),l(e,o)))})),u.$$replace=!1}),u}]}function Mt(){var e=!0,t=this;this.debugEnabled=function(t){return y(t)?(e=t,this):e},this.$get=["$window",function(n){function r(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function i(e){var t=n.console||{},i=t[e]||t.log||h,a=!1;try{a=!!i.apply}catch(s){}return a?function(){var e=[];return o(arguments,function(t){e.push(r(t))}),i.apply(t,e)}:function(e,t){i(e,null==t?"":t)}}return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function Rt(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw ui("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function Dt(e,t){if(e){if(e.constructor===e)throw ui("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw ui("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw ui("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw ui("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function Pt(e,t){if(e){if(e.constructor===e)throw ui("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===ci||e===fi||e===di)throw ui("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function Ft(e){return e.constant}function Lt(e,t,n,r,i){Dt(e,i),Dt(t,i);for(var o,a=n.split("."),s=0;a.length>1;s++){o=Rt(a.shift(),i);var l=0===s&&t&&t[o]||e[o];l||(l={},e[o]=l),e=Dt(l,i)}return o=Rt(a.shift(),i),Dt(e[o],i),e[o]=r,r}function Nt(e){return"constructor"==e}function jt(e,t,r,i,o,a,s){Rt(e,a),Rt(t,a),Rt(r,a),Rt(i,a),Rt(o,a);var l=function(e){return Dt(e,a)},u=s||Nt(e)?l:g,c=s||Nt(t)?l:g,f=s||Nt(r)?l:g,d=s||Nt(i)?l:g,p=s||Nt(o)?l:g;return function(a,s){var l=s&&s.hasOwnProperty(e)?s:a;return null==l?l:(l=u(l[e]),t?null==l?n:(l=c(l[t]),r?null==l?n:(l=f(l[r]),i?null==l?n:(l=d(l[i]),o?null==l?n:l=p(l[o]):l):l):l):l)}}function It(e,t){return function(n,r){return e(n,r,Dt,t)}}function Vt(e,t,r){var i=t.expensiveChecks,a=i?bi:yi,s=a[e];if(s)return s;var l=e.split("."),u=l.length;if(t.csp)s=6>u?jt(l[0],l[1],l[2],l[3],l[4],r,i):function(e,t){var o,a=0;do o=jt(l[a++],l[a++],l[a++],l[a++],l[a++],r,i)(e,t),t=n,e=o;while(u>a);return o};else{var c="";i&&(c+="s = eso(s, fe);\nl = eso(l, fe);\n");var f=i;o(l,function(e,t){Rt(e,r);var n=(t?"s":'((l&&l.hasOwnProperty("'+e+'"))?l:s)')+"."+e;(i||Nt(e))&&(n="eso("+n+", fe)",f=!0),c+="if(s == null) return undefined;\ns="+n+";\n"}),c+="return s;";var d=new Function("s","l","eso","fe",c);d.toString=v(c),f&&(d=It(d,r)),s=d}return s.sharedGetter=!0,s.assign=function(t,n,r){return Lt(t,r,e,n,e)},a[e]=s,s}function Wt(e){return _(e.valueOf)?e.valueOf():wi.call(e)}function Ht(){var e=ue(),t=ue();this.$get=["$filter","$sniffer",function(n,r){function i(e){var t=e;return e.sharedGetter&&(t=function(t,n){return e(t,n)},t.literal=e.literal,t.constant=e.constant,t.assign=e.assign),t}function a(e,t){for(var n=0,r=e.length;r>n;n++){var i=e[n];i.constant||(i.inputs?a(i.inputs,t):-1===t.indexOf(i)&&t.push(i))}return t}function s(e,t){return null==e||null==t?e===t:"object"==typeof e&&(e=Wt(e),"object"==typeof e)?!1:e===t||e!==e&&t!==t}function l(e,t,n,r){var i,o=r.$$inputs||(r.$$inputs=a(r.inputs,[]));if(1===o.length){var l=s;return o=o[0],e.$watch(function(e){var t=o(e);return s(t,l)||(i=r(e),l=t&&Wt(t)),i},t,n)}for(var u=[],c=0,f=o.length;f>c;c++)u[c]=s;return e.$watch(function(e){for(var t=!1,n=0,a=o.length;a>n;n++){var l=o[n](e);(t||(t=!s(l,u[n])))&&(u[n]=l&&Wt(l))}return t&&(i=r(e)),i},t,n)}function u(e,t,n,r){var i,o;return i=e.$watch(function(e){return r(e)},function(e,n,r){o=e,_(t)&&t.apply(this,arguments),y(e)&&r.$$postDigest(function(){y(o)&&i()})},n)}function c(e,t,n,r){function i(e){var t=!0;return o(e,function(e){y(e)||(t=!1)}),t}var a,s;return a=e.$watch(function(e){return r(e)},function(e,n,r){s=e,_(t)&&t.call(this,e,n,r),i(e)&&r.$$postDigest(function(){i(s)&&a()})},n)}function f(e,t,n,r){var i;return i=e.$watch(function(e){return r(e)},function(e,n,r){_(t)&&t.apply(this,arguments),i()},n)}function d(e,t){if(!t)return e;var n=e.$$watchDelegate,r=n!==c&&n!==u,i=r?function(n,r){var i=e(n,r);return t(i,n,r)}:function(n,r){var i=e(n,r),o=t(i,n,r);return y(i)?o:i};return e.$$watchDelegate&&e.$$watchDelegate!==l?i.$$watchDelegate=e.$$watchDelegate:t.$stateful||(i.$$watchDelegate=l,i.inputs=[e]),i}var p={csp:r.csp,expensiveChecks:!1},g={csp:r.csp,expensiveChecks:!0};return function(r,o,a){var s,v,m;switch(typeof r){case"string":m=r=r.trim();var y=a?t:e;if(s=y[m],!s){":"===r.charAt(0)&&":"===r.charAt(1)&&(v=!0,r=r.substring(2));var b=a?g:p,w=new vi(b),$=new mi(w,n,b);s=$.parse(r),s.constant?s.$$watchDelegate=f:v?(s=i(s),s.$$watchDelegate=s.literal?c:u):s.inputs&&(s.$$watchDelegate=l),y[m]=s}return d(s,o);case"function":return d(r,o);default:return d(h,o)}}}]}function Ut(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return Bt(function(t){e.$evalAsync(t)},t)}]}function zt(){this.$get=["$browser","$exceptionHandler",function(e,t){return Bt(function(t){e.defer(t)},t)}]}function Bt(e,t){function i(e,t,n){function r(t){return function(n){i||(i=!0,t.call(e,n))}}var i=!1;return[r(t),r(n)]}function a(){this.$$state={status:0}}function s(e,t){return function(n){t.call(e,n)}}function l(e){var r,i,o;o=e.pending,e.processScheduled=!1,e.pending=n;for(var a=0,s=o.length;s>a;++a){i=o[a][0],r=o[a][e.status];try{_(r)?i.resolve(r(e.value)):1===e.status?i.resolve(e.value):i.reject(e.value)}catch(l){i.reject(l),t(l)}}}function u(t){!t.processScheduled&&t.pending&&(t.processScheduled=!0,e(function(){l(t)}))}function c(){this.promise=new a,this.resolve=s(this,this.resolve),this.reject=s(this,this.reject),this.notify=s(this,this.notify)}function f(e){var t=new c,n=0,r=dr(e)?[]:{};return o(e,function(e,i){n++,m(e).then(function(e){r.hasOwnProperty(i)||(r[i]=e,--n||t.resolve(r))},function(e){r.hasOwnProperty(i)||t.reject(e)})}),0===n&&t.resolve(r),t.promise}var d=r("$q",TypeError),p=function(){return new c};a.prototype={then:function(e,t,n){var r=new c;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&u(this.$$state),r.promise},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return v(t,!0,e)},function(t){return v(t,!1,e)},t)}},c.prototype={resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(d("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){var n,r;r=i(this,this.$$resolve,this.$$reject);try{(b(e)||_(e))&&(n=e&&e.then),_(n)?(this.promise.$$state.status=-1,n.call(e,r[0],r[1],this.notify)):(this.promise.$$state.value=e,this.promise.$$state.status=1,u(this.promise.$$state))}catch(o){r[1](o),t(o)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,u(this.promise.$$state)},notify:function(n){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&e(function(){for(var e,i,o=0,a=r.length;a>o;o++){i=r[o][0],e=r[o][3];try{i.notify(_(e)?e(n):n)}catch(s){t(s)}}})}};var h=function(e){var t=new c;return t.reject(e),t.promise},g=function(e,t){var n=new c;return t?n.resolve(e):n.reject(e),n.promise},v=function(e,t,n){var r=null;try{_(n)&&(r=n())}catch(i){return g(i,!1)}return M(r)?r.then(function(){return g(e,t)},function(e){return g(e,!1)}):g(e,t)},m=function(e,t,n,r){var i=new c;return i.resolve(e),i.promise.then(t,n,r)},y=function w(e){function t(e){r.resolve(e)}function n(e){r.reject(e)}if(!_(e))throw d("norslvr","Expected resolverFn, got '{0}'",e);if(!(this instanceof w))return new w(e);var r=new c;return e(t,n),r.promise};return y.defer=p,y.reject=h,y.when=m,y.all=f,y}function qt(){this.$get=["$window","$timeout",function(e,t){function n(){for(var e=0;e=0&&(c[t]=null,t=null,0===--u&&l&&(l(),l=null,c.length=0))}}var i=e.requestAnimationFrame||e.webkitRequestAnimationFrame,o=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,a=!!i,s=a?function(e){var t=i(e);return function(){o(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};r.supported=a;var l,u=0,c=[];return r}]}function Gt(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$id=u(),this.$$ChildScope=null}return t.prototype=e,t}var t=10,n=r("$rootScope"),a=null,s=null;this.digestTtl=function(e){return arguments.length&&(t=e),t},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(r,l,c,f){function d(e){e.currentScope.$$destroyed=!0}function p(){this.$id=u(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$isolateBindings=null}function g(e){if(C.$$phase)throw n("inprog","{0} already in progress",C.$$phase);C.$$phase=e}function v(){C.$$phase=null}function y(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function w(){}function $(){for(;S.length;)try{S.shift()()}catch(e){l(e)}s=null}function x(){null===s&&(s=f.defer(function(){C.$apply($)}))}p.prototype={constructor:p,$new:function(t,n){var r;return n=n||this,t?(r=new p,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!=this)&&r.$on("$destroy",d),r},$watch:function(e,t,n){var r=c(e);if(r.$$watchDelegate)return r.$$watchDelegate(this,t,n,r);var i=this,o=i.$$watchers,s={fn:t,last:w,get:r,exp:e,eq:!!n};return a=null,_(t)||(s.fn=h),o||(o=i.$$watchers=[]),o.unshift(s),function(){F(o,s),a=null}},$watchGroup:function(e,t){function n(){l=!1,u?(u=!1,t(i,i,s)):t(i,r,s)}var r=new Array(e.length),i=new Array(e.length),a=[],s=this,l=!1,u=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(i,i,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,o){i[0]=e,r[0]=n,t(i,e===n?i:r,o)}):(o(e,function(e,t){var o=s.$watch(e,function(e,o){i[t]=e,r[t]=o,l||(l=!0,s.$evalAsync(n))});a.push(o)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function n(e){o=e;var t,n,r,s,l;if(!m(o)){if(b(o))if(i(o)){a!==p&&(a=p,v=a.length=0,f++),t=o.length,v!==t&&(f++,a.length=v=t);for(var u=0;t>u;u++)l=a[u],s=o[u],r=l!==l&&s!==s,r||l===s||(f++,a[u]=s)}else{a!==h&&(a=h={},v=0,f++),t=0;for(n in o)o.hasOwnProperty(n)&&(t++,s=o[n],l=a[n],n in a?(r=l!==l&&s!==s,r||l===s||(f++,a[n]=s)):(v++,a[n]=s,f++));if(v>t){f++;for(n in a)o.hasOwnProperty(n)||(v--,delete a[n])}}else a!==o&&(a=o, +f++);return f}}function r(){if(g?(g=!1,t(o,o,l)):t(o,s,l),u)if(b(o))if(i(o)){s=new Array(o.length);for(var e=0;e1,f=0,d=c(e,n),p=[],h={},g=!0,v=0;return this.$watch(d,r)},$digest:function(){var e,r,i,o,u,c,d,p,h,m,y=t,b=this,x=[];g("$digest"),f.$$checkUrlChange(),this===C&&null!==s&&(f.defer.cancel(s),$()),a=null;do{for(c=!1,p=b;k.length;){try{m=k.shift(),m.scope.$eval(m.expression,m.locals)}catch(S){l(S)}a=null}e:do{if(o=p.$$watchers)for(u=o.length;u--;)try{if(e=o[u])if((r=e.get(p))===(i=e.last)||(e.eq?j(r,i):"number"==typeof r&&"number"==typeof i&&isNaN(r)&&isNaN(i))){if(e===a){c=!1;break e}}else c=!0,a=e,e.last=e.eq?L(r,null):r,e.fn(r,i===w?r:i,p),5>y&&(h=4-y,x[h]||(x[h]=[]),x[h].push({msg:_(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:r,oldVal:i}))}catch(S){l(S)}if(!(d=p.$$childHead||p!==b&&p.$$nextSibling))for(;p!==b&&!(d=p.$$nextSibling);)p=p.$parent}while(p=d);if((c||k.length)&&!y--)throw v(),n("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",t,x)}while(c||k.length);for(v();E.length;)try{E.shift()()}catch(S){l(S)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;if(this.$broadcast("$destroy"),this.$$destroyed=!0,this!==C){for(var t in this.$$listenerCount)y(this,this.$$listenerCount[t],t);e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=h,this.$on=this.$watch=this.$watchGroup=function(){return h},this.$$listeners={},this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=this.$$watchers=null}}},$eval:function(e,t){return c(e)(this,t)},$evalAsync:function(e,t){C.$$phase||k.length||f.defer(function(){k.length&&C.$digest()}),k.push({scope:this,expression:e,locals:t})},$$postDigest:function(e){E.push(e)},$apply:function(e){try{return g("$apply"),this.$eval(e)}catch(t){l(t)}finally{v();try{C.$digest()}catch(t){throw l(t),t}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&S.push(t),x()},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++;while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(n[r]=null,y(i,1,e))}},$emit:function(e,t){var n,r,i,o=[],a=this,s=!1,u={name:e,targetScope:a,stopPropagation:function(){s=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=I([u],arguments,1);do{for(n=a.$$listeners[e]||o,u.currentScope=a,r=0,i=n.length;i>r;r++)if(n[r])try{n[r].apply(null,c)}catch(f){l(f)}else n.splice(r,1),r--,i--;if(s)return u.currentScope=null,u;a=a.$parent}while(a);return u.currentScope=null,u},$broadcast:function(e,t){var n=this,r=n,i=n,o={name:e,targetScope:n,preventDefault:function(){o.defaultPrevented=!0},defaultPrevented:!1};if(!n.$$listenerCount[e])return o;for(var a,s,u,c=I([o],arguments,1);r=i;){for(o.currentScope=r,a=r.$$listeners[e]||[],s=0,u=a.length;u>s;s++)if(a[s])try{a[s].apply(null,c)}catch(f){l(f)}else a.splice(s,1),s--,u--;if(!(i=r.$$listenerCount[e]&&r.$$childHead||r!==n&&r.$$nextSibling))for(;r!==n&&!(i=r.$$nextSibling);)r=r.$parent}return o.currentScope=null,o}};var C=new p,k=C.$$asyncQueue=[],E=C.$$postDigestQueue=[],S=C.$$applyAsyncQueue=[];return C}]}function Kt(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return y(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return y(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return i=rn(n).href,""===i||i.match(o)?n:"unsafe:"+i}}}function Yt(e){if("self"===e)return e;if(w(e)){if(e.indexOf("***")>-1)throw $i("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=hr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(C(e))return new RegExp("^"+e.source+"$");throw $i("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Qt(e){var t=[];return y(e)&&o(e,function(e){t.push(Yt(e))}),t}function Xt(){this.SCE_CONTEXTS=xi;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Qt(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Qt(e)),t},this.$get=["$injector",function(r){function i(e,t){return"self"===e?on(t):!!e.exec(t.href)}function o(n){var r,o,a=rn(n.toString()),s=!1;for(r=0,o=e.length;o>r;r++)if(i(e[r],a)){s=!0;break}if(s)for(r=0,o=t.length;o>r;r++)if(i(t[r],a)){s=!1;break}return s}function a(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function s(e,t){var r=d.hasOwnProperty(e)?d[e]:null;if(!r)throw $i("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||t===n||""===t)return t;if("string"!=typeof t)throw $i("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new r(t)}function l(e){return e instanceof f?e.$$unwrapTrustedValue():e}function u(e,t){if(null===t||t===n||""===t)return t;var r=d.hasOwnProperty(e)?d[e]:null;if(r&&t instanceof r)return t.$$unwrapTrustedValue();if(e===xi.RESOURCE_URL){if(o(t))return t;throw $i("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===xi.HTML)return c(t);throw $i("unsafe","Attempting to use an unsafe value in a safe context.")}var c=function(e){throw $i("unsafe","Attempting to use an unsafe value in a safe context.")};r.has("$sanitize")&&(c=r.get("$sanitize"));var f=a(),d={};return d[xi.HTML]=a(f),d[xi.CSS]=a(f),d[xi.URL]=a(f),d[xi.JS]=a(f),d[xi.RESOURCE_URL]=a(d[xi.URL]),{trustAs:s,getTrusted:u,valueOf:l}}]}function Jt(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>er)throw $i("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var r=N(xi);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(e,t){return t},r.valueOf=g),r.parseAs=function(e,n){var i=t(n);return i.literal&&i.constant?i:t(n,function(t){return r.getTrusted(e,t)})};var i=r.parseAs,a=r.getTrusted,s=r.trustAs;return o(xi,function(e,t){var n=Yn(t);r[ge("parse_as_"+n)]=function(t){return i(e,t)},r[ge("get_trusted_"+n)]=function(t){return a(e,t)},r[ge("trust_as_"+n)]=function(t){return s(e,t)}}),r}]}function Zt(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=d((/android (\d+)/.exec(Yn((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},l=/^(Moz|webkit|ms)(?=[A-Z])/,u=s.body&&s.body.style,c=!1,f=!1;if(u){for(var p in u)if(r=l.exec(p)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in u&&"webkit"),c=!!("transition"in u||n+"Transition"in u),f=!!("animation"in u||n+"Animation"in u),!o||c&&f||(c=w(s.body.style.webkitTransition),f=w(s.body.style.webkitAnimation))}return{history:!(!e.history||!e.history.pushState||4>o||a),hasEvent:function(e){if("input"===e&&11>=er)return!1;if(m(i[e])){var t=s.createElement("div");i[e]="on"+e in t}return i[e]},csp:gr(),vendorPrefix:n,transitions:c,animations:f,android:o}}]}function en(){this.$get=["$templateCache","$http","$q","$sce",function(e,t,n,r){function i(o,a){function s(e){if(!a)throw Qr("tpload","Failed to load template: {0}",o);return n.reject(e)}i.totalPendingRequests++,w(o)&&e.get(o)||(o=r.getTrustedResourceUrl(o));var l=t.defaults&&t.defaults.transformResponse;dr(l)?l=l.filter(function(e){return e!==it}):l===it&&(l=null);var u={cache:e,transformResponse:l};return t.get(o,u)["finally"](function(){i.totalPendingRequests--}).then(function(e){return e.data},s)}return i.totalPendingRequests=0,i}]}function tn(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var r={};return r.findBindings=function(e,t,n){var r=e.getElementsByClassName("ng-binding"),i=[];return o(r,function(e){var r=ur.element(e).data("$binding");r&&o(r,function(r){if(n){var o=new RegExp("(^|\\s)"+hr(t)+"(\\s|\\||$)");o.test(r)&&i.push(e)}else-1!=r.indexOf(t)&&i.push(e)})}),i},r.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;ie;e=Math.abs(e);var a=e+"",s="",l=[],u=!1;if(-1!==a.indexOf("e")){var c=a.match(/([\d\.]+)e(-?)(\d+)/);c&&"-"==c[2]&&c[3]>i+1?e=0:(s=a,u=!0)}if(u)i>0&&1>e&&(s=e.toFixed(i),e=parseFloat(s));else{var f=(a.split(ki)[1]||"").length;m(i)&&(i=Math.min(Math.max(t.minFrac,f),t.maxFrac)),e=+(Math.round(+(e.toString()+"e"+i)).toString()+"e"+-i);var d=(""+e).split(ki),p=d[0];d=d[1]||"";var h,g=0,v=t.lgSize,y=t.gSize;if(p.length>=v+y)for(g=p.length-v,h=0;g>h;h++)(g-h)%y===0&&0!==h&&(s+=n),s+=p.charAt(h);for(h=g;he&&(r="-",e=-e),e=""+e;e.length0||o>-n)&&(o+=n),0===o&&-12==n&&(o=12),hn(o,t,r)}}function vn(e,t){return function(n,r){var i=n["get"+e](),o=Xn(t?"SHORT"+e:e);return r[o][i]}}function mn(e){var t=-1*e.getTimezoneOffset(),n=t>=0?"+":"";return n+=hn(Math[t>0?"floor":"ceil"](t/60),2)+hn(Math.abs(t%60),2)}function yn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function bn(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function wn(e){return function(t){var n=yn(t.getFullYear()),r=bn(t),i=+r-+n,o=1+Math.round(i/6048e5);return hn(o,e)}}function $n(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function xn(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function _n(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function Cn(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=d(t[9]+t[10]),o=d(t[9]+t[11])),a.call(r,d(t[1]),d(t[2])-1,d(t[3]));var l=d(t[4]||0)-i,u=d(t[5]||0)-o,c=d(t[6]||0),f=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,l,u,c,f),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r,i){var a,s,l="",u=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,w(n)&&(n=Oi.test(n)?d(n):t(n)),$(n)&&(n=new Date(n)),!x(n))return n;for(;r;)s=Si.exec(r),s?(u=I(u,s,1),r=u.pop()):(u.push(r),r=null);return i&&"UTC"===i&&(n=new Date(n.getTime()),n.setMinutes(n.getMinutes()+n.getTimezoneOffset())),o(u,function(t){a=Ei[t],l+=a?a(n,e.DATETIME_FORMATS):t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}}function kn(){return function(e,t){return m(t)&&(t=2),U(e,t)}}function En(){return function(e,t){return $(e)&&(e=e.toString()),dr(e)||w(e)?(t=Math.abs(Number(t))===1/0?Number(t):d(t),t?t>0?e.slice(0,t):e.slice(t):w(e)?"":[]):e}}function Sn(e){return function(t,n,r){function o(e,t){for(var r=0;re?-1:1):r>n?-1:1}return i(t)?(n=dr(n)?n:[n],0===n.length&&(n=["+"]),n=n.map(function(t){var n=!1,r=t||g;if(w(t)){if(("+"==t.charAt(0)||"-"==t.charAt(0))&&(n="-"==t.charAt(0),t=t.substring(1)),""===t)return a(u,n);if(r=e(t),r.constant){var i=r();return a(function(e,t){return u(e[i],t[i])},n)}}return a(function(e,t){return u(r(e),r(t))},n)}),ir.call(t).sort(a(o,r))):t}}function On(e){return _(e)&&(e={link:e}),e.restrict=e.restrict||"AC",v(e)}function Tn(e,t){e.$name=t}function An(e,t,r,i,a){var s=this,l=[],u=s.$$parentForm=e.parent().controller("form")||Di;s.$error={},s.$$success={},s.$pending=n,s.$name=a(t.name||t.ngForm||"")(r),s.$dirty=!1,s.$pristine=!0,s.$valid=!0,s.$invalid=!1,s.$submitted=!1,u.$addControl(s),s.$rollbackViewValue=function(){o(l,function(e){e.$rollbackViewValue()})},s.$commitViewValue=function(){o(l,function(e){e.$commitViewValue()})},s.$addControl=function(e){ae(e.$name,"input"),l.push(e),e.$name&&(s[e.$name]=e)},s.$$renameControl=function(e,t){var n=e.$name;s[n]===e&&delete s[n],s[t]=e,e.$name=t},s.$removeControl=function(e){e.$name&&s[e.$name]===e&&delete s[e.$name],o(s.$pending,function(t,n){s.$setValidity(n,null,e)}),o(s.$error,function(t,n){s.$setValidity(n,null,e)}),o(s.$$success,function(t,n){s.$setValidity(n,null,e)}),F(l,e)},Bn({ctrl:this,$element:e,set:function(e,t,n){var r=e[t];if(r){var i=r.indexOf(n);-1===i&&r.push(n)}else e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(F(r,n),0===r.length&&delete e[t])},parentForm:u,$animate:i}),s.$setDirty=function(){i.removeClass(e,vo),i.addClass(e,mo),s.$dirty=!0,s.$pristine=!1,u.$setDirty()},s.$setPristine=function(){i.setClass(e,vo,mo+" "+Pi),s.$dirty=!1,s.$pristine=!0,s.$submitted=!1,o(l,function(e){e.$setPristine()})},s.$setUntouched=function(){o(l,function(e){e.$setUntouched()})},s.$setSubmitted=function(){i.addClass(e,Pi),s.$submitted=!0,u.$setSubmitted()}}function Mn(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function Rn(e,t,n,r,i,o){Dn(e,t,n,r,i,o),Mn(r)}function Dn(e,t,n,r,i,o){var a=Yn(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(e){s=!0}),t.on("compositionend",function(){s=!1,l()})}var l=function(e){if(u&&(o.defer.cancel(u),u=null),!s){var i=t.val(),l=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=pr(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,l)}};if(i.hasEvent("input"))t.on("input",l);else{var u,c=function(e,t,n){u||(u=o.defer(function(){u=null,t&&t.value===n||l(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||t>15&&19>t||t>=37&&40>=t||c(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut",c)}t.on("change",l),r.$render=function(){t.val(r.$isEmpty(r.$viewValue)?"":r.$viewValue)}}function Pn(e,t){if(x(e))return e;if(w(e)){zi.lastIndex=0;var n=zi.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,l=0,u=yn(r),c=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),l=t.getMilliseconds()),new Date(r,0,u.getDate()+c,o,a,s,l)}}return NaN}function Fn(e,t){return function(n,r){var i,a;if(x(n))return n;if(w(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),ji.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n))return i.shift(),a=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},o(i,function(e,n){n=v},s.$observe("min",function(e){v=p(e),l.$validate()})}if(y(s.max)||s.ngMax){var b;l.$validators.max=function(e){return!d(e)||m(b)||r(e)<=b},s.$observe("max",function(e){b=p(e),l.$validate()})}}}function Nn(e,t,r,i){var o=t[0],a=i.$$hasNativeValidators=b(o.validity);a&&i.$parsers.push(function(e){var r=t.prop(Kn)||{};return r.badInput&&!r.typeMismatch?n:e})}function jn(e,t,r,i,o,a){if(Nn(e,t,r,i),Dn(e,t,r,i,o,a),i.$$parserName="number",i.$parsers.push(function(e){return i.$isEmpty(e)?null:Wi.test(e)?parseFloat(e):n}),i.$formatters.push(function(e){if(!i.$isEmpty(e)){if(!$(e))throw $o("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),y(r.min)||r.ngMin){var s;i.$validators.min=function(e){return i.$isEmpty(e)||m(s)||e>=s},r.$observe("min",function(e){y(e)&&!$(e)&&(e=parseFloat(e,10)),s=$(e)&&!isNaN(e)?e:n,i.$validate()})}if(y(r.max)||r.ngMax){var l;i.$validators.max=function(e){return i.$isEmpty(e)||m(l)||l>=e},r.$observe("max",function(e){y(e)&&!$(e)&&(e=parseFloat(e,10)),l=$(e)&&!isNaN(e)?e:n,i.$validate()})}}function In(e,t,n,r,i,o){Dn(e,t,n,r,i,o),Mn(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Ii.test(n)}}function Vn(e,t,n,r,i,o){Dn(e,t,n,r,i,o),Mn(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Vi.test(n)}}function Wn(e,t,n,r){m(n.name)&&t.attr("name",u());var i=function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)};t.on("click",i),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function Hn(e,t,n,i,o){var a;if(y(i)){if(a=e(i),!a.constant)throw r("ngModel")("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,i);return a(t)}return o}function Un(e,t,n,r,i,o,a,s){var l=Hn(s,e,"ngTrueValue",n.ngTrueValue,!0),u=Hn(s,e,"ngFalseValue",n.ngFalseValue,!1),c=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("click",c),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return e===!1},r.$formatters.push(function(e){return j(e,l)}),r.$parsers.push(function(e){return e?l:u})}function zn(e,t){return e="ngClass"+e,["$animate",function(n){function r(e,t){var n=[];e:for(var r=0;r0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&r.push(e))}),s.data("$classCounts",n),r.join(" ")}function d(e,t){var i=r(t,e),o=r(e,t);i=f(i,1),o=f(o,-1),i&&i.length&&n.addClass(s,i),o&&o.length&&n.removeClass(s,o)}function p(e){if(t===!0||a.$index%2===t){var n=i(e||[]);if(h){if(!j(e,h)){var r=i(h);d(r,n)}}else u(n)}h=N(e)}var h;a.$watch(l[e],p,!0),l.$observe("class",function(t){p(a.$eval(l[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var o=1&n;if(o!==(1&r)){var s=i(a.$eval(l[e]));o===t?u(s):c(s)}})}}}]}function Bn(e){function t(e,t,l){t===n?r("$pending",e,l):i("$pending",e,l),A(t)?t?(f(s.$error,e,l),c(s.$$success,e,l)):(c(s.$error,e,l),f(s.$$success,e,l)):(f(s.$error,e,l),f(s.$$success,e,l)),s.$pending?(o(wo,!0),s.$valid=s.$invalid=n,a("",null)):(o(wo,!1),s.$valid=qn(s.$error),s.$invalid=!s.$valid,a("",s.$valid));var u;u=s.$pending&&s.$pending[e]?n:s.$error[e]?!1:s.$$success[e]?!0:null,a(e,u),d.$setValidity(e,u,s)}function r(e,t,n){s[e]||(s[e]={}),c(s[e],t,n)}function i(e,t,r){s[e]&&f(s[e],t,r),qn(s[e])&&(s[e]=n)}function o(e,t){t&&!u[e]?(p.addClass(l,e),u[e]=!0):!t&&u[e]&&(p.removeClass(l,e),u[e]=!1)}function a(e,t){e=e?"-"+ne(e,"-"):"",o(ho+e,t===!0),o(go+e,t===!1)}var s=e.ctrl,l=e.$element,u={},c=e.set,f=e.unset,d=e.parentForm,p=e.$animate;u[go]=!(u[ho]=l.hasClass(ho)),s.$setValidity=t}function qn(e){if(e)for(var t in e)return!1;return!0}var Gn=/^\/(.+)\/([a-z]*)$/,Kn="validity",Yn=function(e){return w(e)?e.toLowerCase():e},Qn=Object.prototype.hasOwnProperty,Xn=function(e){return w(e)?e.toUpperCase():e},Jn=function(e){return w(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Zn=function(e){return w(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(Yn=Jn,Xn=Zn);var er,tr,nr,rr,ir=[].slice,or=[].splice,ar=[].push,sr=Object.prototype.toString,lr=r("ng"),ur=e.angular||(e.angular={}),cr=0;er=t.documentMode,h.$inject=[],g.$inject=[];var fr,dr=Array.isArray,pr=function(e){return w(e)?e.trim():e},hr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#(?:<\/\1>|)$/,Fr=/<|&#?\w+;/,Lr=/<([\w:]+)/,Nr=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jr={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};jr.optgroup=jr.option,jr.tbody=jr.tfoot=jr.colgroup=jr.caption=jr.thead,jr.th=jr.td;var Ir=we.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===t.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),we(e).on("load",r))},toString:function(){var e=[];return o(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return tr(e>=0?this[e]:this[this.length+e])},length:0,push:ar,sort:[].sort,splice:[].splice},Vr={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Vr[Yn(e)]=e});var Wr={};o("input,select,option,textarea,button,form,details".split(","),function(e){Wr[e]=!0});var Hr={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};o({data:Ee,removeData:Ce},function(e,t){we[t]=e}),o({data:Ee,inheritedData:Re,scope:function(e){return tr.data(e,"$scope")||Re(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return tr.data(e,"$isolateScope")||tr.data(e,"$isolateScopeNoTemplate")},controller:Me,injector:function(e){return Re(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Se,css:function(e,t,n){return t=ge(t),y(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,r){var i=e.nodeType;if(i!==$r&&i!==wr&&i!==xr){var o=Yn(t);if(Vr[o]){if(!y(r))return e[t]||(e.attributes.getNamedItem(t)||h).specified?o:n;r?(e[t]=!0,e.setAttribute(t,o)):(e[t]=!1,e.removeAttribute(o))}else if(y(r))e.setAttribute(t,r);else if(e.getAttribute){var a=e.getAttribute(t,2);return null===a?n:a}}},prop:function(e,t,n){return y(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(m(t)){var n=e.nodeType;return n===br||n===$r?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(m(t)){if(e.multiple&&"select"===P(e)){var n=[];return o(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){return m(t)?e.innerHTML:(xe(e,!0),void(e.innerHTML=t))},empty:De},function(e,t){we.prototype[t]=function(t,r){var i,o,a=this.length;if(e!==De&&(2==e.length&&e!==Se&&e!==Me?t:r)===n){if(b(t)){for(i=0;a>i;i++)if(e===Ee)e(this[i],t);else for(o in t)e(this[i],o,t[o]);return this}for(var s=e.$dv,l=s===n?Math.min(a,1):a,u=0;l>u;u++){var c=e(this[u],t,r);s=s?s+c:c}return s}for(i=0;a>i;i++)e(this[i],t,r);return this}}),o({removeData:Ce,on:function Ko(e,t,n,r){if(y(r))throw Dr("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(me(e)){var i=ke(e,!0),o=i.events,a=i.handle;a||(a=i.handle=je(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],l=s.length;l--;){t=s[l];var u=o[t];u||(o[t]=[],"mouseenter"===t||"mouseleave"===t?Ko(e,Rr[t],function(e){var n=this,r=e.relatedTarget;(!r||r!==n&&!n.contains(r))&&a(e,t)}):"$destroy"!==t&&Or(e,t,a),u=o[t]),u.push(n)}}},off:_e,one:function(e,t,n){e=tr(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;xe(e),o(new we(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return o(e.childNodes,function(e){e.nodeType===br&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===br||n===Cr){t=new we(t);for(var r=0,i=t.length;i>r;r++){var o=t[r];e.appendChild(o)}}},prepend:function(e,t){if(e.nodeType===br){var n=e.firstChild;o(new we(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){t=tr(t).eq(0).clone()[0];var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)},remove:Pe,detach:function(e){Pe(e,!0)},after:function(e,t){var n=e,r=e.parentNode;t=new we(t);for(var i=0,o=t.length;o>i;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:Te,removeClass:Oe,toggleClass:function(e,t,n){t&&o(t.split(" "),function(t){var r=n;m(r)&&(r=!Se(e,t)),(r?Te:Oe)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==Cr?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:$e,triggerHandler:function(e,t,n){var r,i,a,s=t.type||t,l=ke(e),u=l&&l.events,c=u&&u[s];c&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:h,type:s,target:e},t.type&&(r=f(r,t)),i=N(c),a=n?[r].concat(n):[r],o(i,function(t){r.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){we.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;a>o;o++)m(i)?(i=e(this[o],t,n,r),y(i)&&(i=tr(i))):Ae(i,e(this[o],t,n,r));return y(i)?i:this},we.prototype.bind=we.prototype.on,we.prototype.unbind=we.prototype.off}),We.prototype={put:function(e,t){this[Ve(e,this.nextUid)]=t},get:function(e){return this[Ve(e,this.nextUid)]},remove:function(e){var t=this[e=Ve(e,this.nextUid)];return delete this[e],t}};var Ur=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,zr=/,/,Br=/^\s*(_?)(\S+?)\1\s*$/,qr=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Gr=r("$injector");ze.$$annotate=Ue;var Kr=r("$animate"),Yr=["$provide",function(e){this.$$selectors={},this.register=function(t,n){var r=t+"-animation";if(t&&"."!=t.charAt(0))throw Kr("notcsel","Expecting class selector starting with '.' got '{0}'.",t);this.$$selectors[t.substr(1)]=r,e.factory(r,n)},this.classNameFilter=function(e){return 1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null),this.$$classNameFilter},this.$get=["$$q","$$asyncCallback","$rootScope",function(e,t,n){function r(t){var r,i=e.defer();return i.promise.$$cancelFn=function(){r&&r()},n.$$postDigest(function(){r=t(function(){i.resolve()})}),i.promise}function i(e,t){var n=[],r=[],i=ue();return o((e.attr("class")||"").split(/\s+/),function(e){i[e]=!0}),o(t,function(e,t){var o=i[t];e===!1&&o?r.push(t):e!==!0||o||n.push(t)}),n.length+r.length>0&&[n.length?n:null,r.length?r:null]}function a(e,t,n){for(var r=0,i=t.length;i>r;++r){var o=t[r];e[o]=n}}function s(){return u||(u=e.defer(),t(function(){u.resolve(),u=null})),u.promise}function l(e,t){if(ur.isObject(t)){var n=f(t.from||{},t.to||{});e.css(n)}}var u;return{animate:function(e,t,n){return l(e,{from:t,to:n}),s()},enter:function(e,t,n,r){return l(e,r),n?n.after(e):t.prepend(e),s()},leave:function(e,t){return l(e,t),e.remove(),s()},move:function(e,t,n,r){return this.enter(e,t,n,r)},addClass:function(e,t,n){return this.setClass(e,t,[],n)},$$addClassImmediately:function(e,t,n){return e=tr(e),t=w(t)?t:dr(t)?t.join(" "):"",o(e,function(e){Te(e,t)}),l(e,n),s()},removeClass:function(e,t,n){ +return this.setClass(e,[],t,n)},$$removeClassImmediately:function(e,t,n){return e=tr(e),t=w(t)?t:dr(t)?t.join(" "):"",o(e,function(e){Oe(e,t)}),l(e,n),s()},setClass:function(e,t,n,o){var s=this,l="$$animateClasses",u=!1;e=tr(e);var c=e.data(l);c?o&&c.options&&(c.options=ur.extend(c.options||{},o)):(c={classes:{},options:o},u=!0);var f=c.classes;return t=dr(t)?t:t.split(" "),n=dr(n)?n:n.split(" "),a(f,t,!0),a(f,n,!1),u&&(c.promise=r(function(t){var n=e.data(l);if(e.removeData(l),n){var r=i(e,n.classes);r&&s.$$setClassImmediately(e,r[0],r[1],n.options)}t()}),e.data(l,c)),c.promise},$$setClassImmediately:function(e,t,n,r){return t&&this.$$addClassImmediately(e,t),n&&this.$$removeClassImmediately(e,n),l(e,r),s()},enabled:h,cancel:h}}]}],Qr=r("$compile");Xe.$inject=["$provide","$$sanitizeUriProvider"];var Xr=/^((?:x|data)[\:\-_])/i,Jr=r("$controller"),Zr="application/json",ei={"Content-Type":Zr+";charset=utf-8"},ti=/^\[|^\{(?!\{)/,ni={"[":/]$/,"{":/}$/},ri=/^\)\]\}',?\n/,ii=r("$interpolate"),oi=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,ai={http:80,https:443,ftp:21},si=r("$location"),li={$$html5:!1,$$replace:!1,absUrl:Ot("$$absUrl"),url:function(e){if(m(e))return this.$$url;var t=oi.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:Ot("$$protocol"),host:Ot("$$host"),port:Ot("$$port"),path:Tt("$$path",function(e){return e=null!==e?e.toString():"","/"==e.charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(w(e)||$(e))e=e.toString(),this.$$search=G(e);else{if(!b(e))throw si("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");e=L(e,{}),o(e,function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:m(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:Tt("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};o([St,Et,kt],function(e){e.prototype=Object.create(li),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==kt||!this.$$html5)throw si("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=m(t)?null:t,this}});var ui=r("$parse"),ci=Function.prototype.call,fi=Function.prototype.apply,di=Function.prototype.bind,pi=ue();o({"null":function(){return null},"true":function(){return!0},"false":function(){return!1},undefined:function(){}},function(e,t){e.constant=e.literal=e.sharedGetter=!0,pi[t]=e}),pi["this"]=function(e){return e},pi["this"].sharedGetter=!0;var hi=f(ue(),{"+":function(e,t,r,i){return r=r(e,t),i=i(e,t),y(r)?y(i)?r+i:r:y(i)?i:n},"-":function(e,t,n,r){return n=n(e,t),r=r(e,t),(y(n)?n:0)-(y(r)?r:0)},"*":function(e,t,n,r){return n(e,t)*r(e,t)},"/":function(e,t,n,r){return n(e,t)/r(e,t)},"%":function(e,t,n,r){return n(e,t)%r(e,t)},"===":function(e,t,n,r){return n(e,t)===r(e,t)},"!==":function(e,t,n,r){return n(e,t)!==r(e,t)},"==":function(e,t,n,r){return n(e,t)==r(e,t)},"!=":function(e,t,n,r){return n(e,t)!=r(e,t)},"<":function(e,t,n,r){return n(e,t)":function(e,t,n,r){return n(e,t)>r(e,t)},"<=":function(e,t,n,r){return n(e,t)<=r(e,t)},">=":function(e,t,n,r){return n(e,t)>=r(e,t)},"&&":function(e,t,n,r){return n(e,t)&&r(e,t)},"||":function(e,t,n,r){return n(e,t)||r(e,t)},"!":function(e,t,n){return!n(e,t)},"=":!0,"|":!0}),gi={n:"\n",f:"\f",r:"\r",t:" ",v:" ","'":"'",'"':'"'},vi=function(e){this.options=e};vi.prototype={constructor:vi,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index="0"&&"9">=e&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||" "===e||"\n"===e||" "===e||" "===e},isIdent:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=y(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw ui("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.indexe){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return i?(this.tokens.shift(),i):!1},consume:function(e){if(0===this.tokens.length)throw ui("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},unaryFn:function(e,t){var n=hi[e];return f(function(e,r){return n(e,r,t)},{constant:t.constant,inputs:[t]})},binaryFn:function(e,t,n,r){var i=hi[t];return f(function(t,r){return i(t,r,e,n)},{constant:e.constant&&n.constant,inputs:!r&&[e,n]})},identifier:function(){for(var e=this.consume().text;this.peek(".")&&this.peekAhead(1).identifier&&!this.peekAhead(2,"(");)e+=this.consume().text+this.consume().text;return Vt(e,this.options,this.text)},constant:function(){var e=this.consume().value;return f(function(){return e},{constant:!0,literal:!0})},statements:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.filterChain()),!this.expect(";"))return 1===e.length?e[0]:function(t,n){for(var r,i=0,o=e.length;o>i;i++)r=e[i](t,n);return r}},filterChain:function(){for(var e,t=this.expression();e=this.expect("|");)t=this.filter(t);return t},filter:function(e){var t,r,i=this.$filter(this.consume().text);if(this.peek(":"))for(t=[],r=[];this.expect(":");)t.push(this.expression());var o=[e].concat(t||[]);return f(function(o,a){var s=e(o,a);if(r){r[0]=s;for(var l=t.length;l--;)r[l+1]=t[l](o,a);return i.apply(n,r)}return i(s)},{constant:!i.$stateful&&o.every(Ft),inputs:!i.$stateful&&o})},expression:function(){return this.assignment()},assignment:function(){var e,t,n=this.ternary();return(t=this.expect("="))?(n.assign||this.throwError("implies assignment but ["+this.text.substring(0,t.index)+"] can not be assigned to",t),e=this.ternary(),f(function(t,r){return n.assign(t,e(t,r),r)},{inputs:[n,e]})):n},ternary:function(){var e,t,n=this.logicalOR();if((t=this.expect("?"))&&(e=this.assignment(),this.consume(":"))){var r=this.assignment();return f(function(t,i){return n(t,i)?e(t,i):r(t,i)},{constant:n.constant&&e.constant&&r.constant})}return n},logicalOR:function(){for(var e,t=this.logicalAND();e=this.expect("||");)t=this.binaryFn(t,e.text,this.logicalAND(),!0);return t},logicalAND:function(){for(var e,t=this.equality();e=this.expect("&&");)t=this.binaryFn(t,e.text,this.equality(),!0);return t},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t=this.binaryFn(t,e.text,this.relational());return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t=this.binaryFn(t,e.text,this.additive());return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t=this.binaryFn(t,e.text,this.multiplicative());return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t=this.binaryFn(t,e.text,this.unary());return t},unary:function(){var e;return this.expect("+")?this.primary():(e=this.expect("-"))?this.binaryFn(mi.ZERO,e.text,this.unary()):(e=this.expect("!"))?this.unaryFn(e.text,this.unary()):this.primary()},fieldAccess:function(e){var t=this.identifier();return f(function(r,i,o){var a=o||e(r,i);return null==a?n:t(a)},{assign:function(n,r,i){var o=e(n,i);return o||e.assign(n,o={},i),t.assign(o,r)}})},objectIndex:function(e){var t=this.text,r=this.expression();return this.consume("]"),f(function(i,o){var a,s=e(i,o),l=r(i,o);return Rt(l,t),s?a=Dt(s[l],t):n},{assign:function(n,i,o){var a=Rt(r(n,o),t),s=Dt(e(n,o),t);return s||e.assign(n,s={},o),s[a]=i}})},functionCall:function(e,t){var r=[];if(")"!==this.peekToken().text)do r.push(this.expression());while(this.expect(","));this.consume(")");var i=this.text,o=r.length?[]:null;return function(a,s){var l=t?t(a,s):y(t)?n:a,u=e(a,s,l)||h;if(o)for(var c=r.length;c--;)o[c]=Dt(r[c](a,s),i);Dt(l,i),Pt(u,i);var f=u.apply?u.apply(l,o):u(o[0],o[1],o[2],o[3],o[4]);return o&&(o.length=0),Dt(f,i)}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),f(function(t,n){for(var r=[],i=0,o=e.length;o>i;i++)r.push(e[i](t,n));return r},{literal:!0,constant:e.every(Ft),inputs:e})},object:function(){var e=[],t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;var n=this.consume();n.constant?e.push(n.value):n.identifier?e.push(n.text):this.throwError("invalid key",n),this.consume(":"),t.push(this.expression())}while(this.expect(","));return this.consume("}"),f(function(n,r){for(var i={},o=0,a=t.length;a>o;o++)i[e[o]]=t[o](n,r);return i},{literal:!0,constant:t.every(Ft),inputs:t})}};var yi=ue(),bi=ue(),wi=Object.prototype.valueOf,$i=r("$sce"),xi={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Qr=r("$compile"),_i=t.createElement("a"),Ci=rn(e.location.href);sn.$inject=["$provide"],fn.$inject=["$locale"],dn.$inject=["$locale"];var ki=".",Ei={yyyy:gn("FullYear",4),yy:gn("FullYear",2,0,!0),y:gn("FullYear",1),MMMM:vn("Month"),MMM:vn("Month",!0),MM:gn("Month",2,1),M:gn("Month",1,1),dd:gn("Date",2),d:gn("Date",1),HH:gn("Hours",2),H:gn("Hours",1),hh:gn("Hours",2,-12),h:gn("Hours",1,-12),mm:gn("Minutes",2),m:gn("Minutes",1),ss:gn("Seconds",2),s:gn("Seconds",1),sss:gn("Milliseconds",3),EEEE:vn("Day"),EEE:vn("Day",!0),a:$n,Z:mn,ww:wn(2),w:wn(1),G:xn,GG:xn,GGG:xn,GGGG:_n},Si=/((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Oi=/^\-?\d+$/;Cn.$inject=["$locale"];var Ti=v(Yn),Ai=v(Xn);Sn.$inject=["$parse"];var Mi=v({restrict:"E",compile:function(e,t){return t.href||t.xlinkHref||t.name?void 0:function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===sr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Ri={};o(Vr,function(e,t){if("multiple"!=e){var n=Je("ng-"+t);Ri[n]=function(){return{restrict:"A",priority:100,link:function(e,r,i){e.$watch(i[n],function(e){i.$set(t,!!e)})}}}}}),o(Hr,function(e,t){Ri[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(Gn);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),o(["src","srcset","href"],function(e){var t=Je("ng-"+e);Ri[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===sr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(t){return t?(i.$set(a,t),void(er&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Di={$addControl:h,$$renameControl:Tn,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},Pi="ng-submitted";An.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Fi=function(e){return["$timeout",function(t){var r={name:"form",restrict:e?"EAC":"E",controller:An,compile:function(r,i){r.addClass(vo).addClass(ho);var o=i.name?"name":e&&i.ngForm?"ngForm":!1;return{pre:function(e,r,i,a){if(!("action"in i)){var s=function(t){e.$apply(function(){a.$commitViewValue(),a.$setSubmitted()}),t.preventDefault()};Or(r[0],"submit",s),r.on("$destroy",function(){t(function(){Tr(r[0],"submit",s)},0,!1)})}var l=a.$$parentForm;o&&(Lt(e,null,a.$name,a,a.$name),i.$observe(o,function(t){a.$name!==t&&(Lt(e,null,a.$name,n,a.$name),l.$$renameControl(a,t),Lt(e,null,a.$name,a,a.$name))})),r.on("$destroy",function(){l.$removeControl(a),o&&Lt(e,null,i[o],n,a.$name),f(a,Di)})}}}};return r}]},Li=Fi(),Ni=Fi(!0),ji=/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/,Ii=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,Vi=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Wi=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,Hi=/^(\d{4})-(\d{2})-(\d{2})$/,Ui=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,zi=/^(\d{4})-W(\d\d)$/,Bi=/^(\d{4})-(\d\d)$/,qi=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Gi={text:Rn,date:Ln("date",Hi,Fn(Hi,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Ln("datetimelocal",Ui,Fn(Ui,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:Ln("time",qi,Fn(qi,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:Ln("week",zi,Pn,"yyyy-Www"),month:Ln("month",Bi,Fn(Bi,["yyyy","MM"]),"yyyy-MM"),number:jn,url:In,email:Vn,radio:Wn,checkbox:Un,hidden:h,button:h,submit:h,reset:h,file:h},Ki=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Gi[Yn(a.type)]||Gi.text)(i,o,a,s[0],t,e,n,r)}}}}],Yi=/^(true|false|\d+)$/,Qi=function(){return{restrict:"A",priority:100,compile:function(e,t){return Yi.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},Xi=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,r,i){e.$$addBindingInfo(r,i.ngBind),r=r[0],t.$watch(i.ngBind,function(e){r.textContent=e===n?"":e})}}}}],Ji=["$interpolate","$compile",function(e,t){return{compile:function(r){return t.$$addBindingClass(r),function(r,i,o){var a=e(i.attr(o.$attr.ngBindTemplate));t.$$addBindingInfo(i,a.expressions),i=i[0],o.$observe("ngBindTemplate",function(e){i.textContent=e===n?"":e})}}}}],Zi=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(e){return(e||"").toString()});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){r.html(e.getTrustedHtml(o(t))||"")})}}}}],eo=v({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),to=zn("",!0),no=zn("Odd",0),ro=zn("Even",1),io=On({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),oo=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],ao={},so={blur:!0,focus:!0};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=Je("ng-"+e);ao[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[t],null,!0);return function(t,n){n.on(e,function(n){var i=function(){a(t,{$event:n})};so[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var lo=["$animate",function(e){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,l,u;n.$watch(i.ngIf,function(n){n?l||a(function(n,o){l=o,n[n.length++]=t.createComment(" end ngIf: "+i.ngIf+" "),s={clone:n},e.enter(n,r.parent(),r)}):(u&&(u.remove(),u=null),l&&(l.$destroy(),l=null),s&&(u=le(s.clone),e.leave(u).then(function(){u=null}),s=null))})}}}],uo=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:ur.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,l,u,c){var f,d,p,h=0,g=function(){d&&(d.remove(),d=null),f&&(f.$destroy(),f=null),p&&(n.leave(p).then(function(){d=null}),d=p,p=null)};r.$watch(o,function(o){var l=function(){!y(s)||s&&!r.$eval(s)||t()},d=++h;o?(e(o,!0).then(function(e){if(d===h){var t=r.$new();u.template=e;var s=c(t,function(e){g(),n.enter(e,null,i).then(l)});f=t,p=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){d===h&&(g(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(g(),u.template=null)})}}}}],co=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return/SVG/.test(r[0].toString())?(r.empty(),void e(ye(o.template,t).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void e(r.contents())(n))}}}],fo=On({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),po=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,r,i){var a=t.attr(r.$attr.ngList)||", ",s="false"!==r.ngTrim,l=s?pr(a):a,u=function(e){if(!m(e)){var t=[];return e&&o(e.split(l),function(e){e&&t.push(s?pr(e):e)}),t}};i.$parsers.push(u),i.$formatters.push(function(e){return dr(e)?e.join(a):n}),i.$isEmpty=function(e){return!e||!e.length}}}},ho="ng-valid",go="ng-invalid",vo="ng-pristine",mo="ng-dirty",yo="ng-untouched",bo="ng-touched",wo="ng-pending",$o=new r("ngModel"),xo=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,r,i,a,s,l,u,c,f){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=n,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=n,this.$name=f(r.name||"",!1)(e);var d,p=a(r.ngModel),g=p.assign,v=p,b=g,w=null,x=this;this.$$setOptions=function(e){if(x.$options=e,e&&e.getterSetter){var t=a(r.ngModel+"()"),n=a(r.ngModel+"($$$p)");v=function(e){var n=p(e);return _(n)&&(n=t(e)),n},b=function(e,t){_(p(e))?n(e,{$$$p:x.$modelValue}):g(e,x.$modelValue)}}else if(!p.assign)throw $o("nonassign","Expression '{0}' is non-assignable. Element: {1}",r.ngModel,B(i))},this.$render=h,this.$isEmpty=function(e){return m(e)||""===e||null===e||e!==e};var C=i.inheritedData("$formController")||Di,k=0;Bn({ctrl:this,$element:i,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},parentForm:C,$animate:s}),this.$setPristine=function(){x.$dirty=!1,x.$pristine=!0,s.removeClass(i,mo),s.addClass(i,vo)},this.$setDirty=function(){x.$dirty=!0,x.$pristine=!1,s.removeClass(i,vo),s.addClass(i,mo),C.$setDirty()},this.$setUntouched=function(){x.$touched=!1,x.$untouched=!0,s.setClass(i,yo,bo)},this.$setTouched=function(){x.$touched=!0,x.$untouched=!1,s.setClass(i,bo,yo)},this.$rollbackViewValue=function(){l.cancel(w),x.$viewValue=x.$$lastCommittedViewValue,x.$render()},this.$validate=function(){if(!$(x.$modelValue)||!isNaN(x.$modelValue)){var e=x.$$lastCommittedViewValue,t=x.$$rawModelValue,r=x.$valid,i=x.$modelValue,o=x.$options&&x.$options.allowInvalid;x.$$runValidators(t,e,function(e){o||r===e||(x.$modelValue=e?t:n,x.$modelValue!==i&&x.$$writeModelToScope())})}},this.$$runValidators=function(e,t,r){function i(){var e=x.$$parserName||"parse";return d!==n?(d||(o(x.$validators,function(e,t){l(t,null)}),o(x.$asyncValidators,function(e,t){l(t,null)})),l(e,d),d):(l(e,null),!0)}function a(){var n=!0;return o(x.$validators,function(r,i){var o=r(e,t);n=n&&o,l(i,o)}),n?!0:(o(x.$asyncValidators,function(e,t){l(t,null)}),!1)}function s(){var r=[],i=!0;o(x.$asyncValidators,function(o,a){var s=o(e,t);if(!M(s))throw $o("$asyncValidators","Expected asynchronous validator to return a promise but got '{0}' instead.",s);l(a,n),r.push(s.then(function(){l(a,!0)},function(e){i=!1,l(a,!1)}))}),r.length?c.all(r).then(function(){u(i)},h):u(!0)}function l(e,t){f===k&&x.$setValidity(e,t)}function u(e){f===k&&r(e)}k++;var f=k;return i()&&a()?void s():void u(!1)},this.$commitViewValue=function(){var e=x.$viewValue;l.cancel(w),(x.$$lastCommittedViewValue!==e||""===e&&x.$$hasNativeValidators)&&(x.$$lastCommittedViewValue=e,x.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){x.$modelValue!==a&&x.$$writeModelToScope()}var r=x.$$lastCommittedViewValue,i=r;if(d=m(i)?n:!0)for(var o=0;od;d++)if(E=r===A?d:A[d],S=r[E],O=T(E,S,d),v[O])M=v[O],delete v[O],F[O]=M,R[d]=M;else{if(F[O])throw o(R,function(e){e&&e.scope&&(v[e.id]=e)}),l("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",p,O,S);R[d]={id:O,scope:n,clone:n},F[O]=!0}for(var N in v){if(M=v[N],D=le(M.clone),a.leave(D),D[0].parentNode)for(d=0,m=D.length;m>d;d++)D[d][s]=!0;M.scope.$destroy()}for(d=0;x>d;d++)if(E=r===A?d:A[d],S=r[E],M=R[d],M.scope){b=P;do b=b.nextSibling;while(b&&b[s]);c(M)!=b&&a.move(le(M.clone),null,tr(P)),P=f(M),u(M.scope,d,w,S,$,E,x)}else g(function(e,t){M.scope=t;var n=h.cloneNode(!1);e[e.length++]=n,a.enter(e,null,tr(P)),P=n,M.clone=e,F[M.id]=M,u(M.scope,d,w,S,$,E,x)});v=F})}}}}],To="ng-hide",Ao="ng-hide-animate",Mo=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,To,{tempClasses:Ao})})}}}],Ro=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,To,{tempClasses:Ao})})}}}],Do=On(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&o(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),Po=["$animate",function(e){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,a){var s=i.ngSwitch||i.on,l=[],u=[],c=[],f=[],d=function(e,t){return function(){e.splice(t,1)}};n.$watch(s,function(n){var r,i;for(r=0,i=c.length;i>r;++r)e.cancel(c[r]);for(c.length=0,r=0,i=f.length;i>r;++r){var s=le(u[r].clone);f[r].$destroy();var p=c[r]=e.leave(s);p.then(d(c,r))}u.length=0,f.length=0,(l=a.cases["!"+n]||a.cases["?"])&&o(l,function(n){n.transclude(function(r,i){f.push(i);var o=n.element;r[r.length++]=t.createComment(" end ngSwitchWhen: ");var a={clone:r};u.push(a),e.enter(r,o.parent(),o)})})})}}}],Fo=On({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),Lo=On({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),No=On({restrict:"EAC",link:function(e,t,n,i,o){if(!o)throw r("ngTransclude")("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",B(t));o(function(e){t.empty(),t.append(e)})}}),jo=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"==n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],Io=r("ngOptions"),Vo=v({restrict:"A",terminal:!0}),Wo=["$compile","$parse",function(e,r){var i=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,s={$setViewValue:h};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(e,t,n){var r,i,o=this,a={},l=s;o.databound=n.ngModel,o.init=function(e,t,n){l=e,r=t,i=n},o.addOption=function(t,n){ae(t,'"option value"'),a[t]=!0,l.$viewValue==t&&(e.val(t),i.parent()&&i.remove()),n&&n[0].hasAttribute("selected")&&(n[0].selected=!0)},o.removeOption=function(e){this.hasOption(e)&&(delete a[e],l.$viewValue===e&&this.renderUnknownOption(e))},o.renderUnknownOption=function(t){var n="? "+Ve(t)+" ?";i.val(n),e.prepend(i),e.val(n),i.prop("selected",!0)},o.hasOption=function(e){return a.hasOwnProperty(e)},t.$on("$destroy",function(){o.renderUnknownOption=h})}],link:function(s,l,u,c){function f(e,t,n,r){n.$render=function(){var e=n.$viewValue;r.hasOption(e)?(C.parent()&&C.remove(),t.val(e),""===e&&h.prop("selected",!0)):null==e&&h?t.val(""):r.renderUnknownOption(e)},t.on("change",function(){e.$apply(function(){C.parent()&&C.remove(),n.$setViewValue(t.val())})})}function d(e,t,n){var r;n.$render=function(){var e=new We(n.$viewValue);o(t.find("option"),function(t){t.selected=y(e.get(t.value))})},e.$watch(function(){j(r,n.$viewValue)||(r=N(n.$viewValue),n.$render())}),t.on("change",function(){e.$apply(function(){ +var e=[];o(t.find("option"),function(t){t.selected&&e.push(t.value)}),n.$setViewValue(e)})})}function p(t,s,l){function u(e,n,r){return j[S]=r,A&&(j[A]=n),e(t,j)}function c(){t.$apply(function(){var e,n=D(t)||[];if(m)e=[],o(s.val(),function(t){t=F?L[t]:t,e.push(f(t,n[t]))});else{var r=F?L[s.val()]:s.val();e=f(r,n[r])}l.$setViewValue(e),C()})}function f(e,t){if("?"===e)return n;if(""===e)return null;var r=T?T:R;return u(r,e,t)}function d(){var e,n=D(t);if(n&&dr(n)){e=new Array(n.length);for(var r=0,i=n.length;i>r;r++)e[r]=u(E,r,n[r]);return e}if(n){e={};for(var o in n)n.hasOwnProperty(o)&&(e[o]=u(E,o,n[o]))}return e}function p(e){var t;if(m)if(F&&dr(e)){t=new We([]);for(var n=0;nS;S++)d=S,A&&(d=z[S],"$"===d.charAt(0))||(h=U[d],e=u(M,d,h)||"",(n=V[e])||(n=V[e]=[],W.push(e)),O=q(d,h),G=G||O,P=u(E,d,h),P=y(P)?P:"",I=F?F(t,j):A?z[S]:S,F&&(L[I]=d),n.push({id:I,label:P,selected:O}));for(m||(w||null===H?V[""].unshift({id:"",label:"",selected:!G}):G||V[""].unshift({id:"?",label:"",selected:!0})),k=0,b=W.length;b>k;k++){for(e=W[k],n=V[e],N.length<=k?(i={element:_.clone().attr("label",e),label:n.label},c=[i],N.push(c),s.append(i.element)):(c=N[k],i=c[0],i.label!=e&&i.element.attr("label",i.label=e)),T=null,S=0,C=n.length;C>S;S++)r=n[S],(f=c[S+1])?(T=f.element,f.label!==r.label&&(v(B,f.label,!1),v(B,r.label,!0),T.text(f.label=r.label),T.prop("label",f.label)),f.id!==r.id&&T.val(f.id=r.id),T[0].selected!==r.selected&&(T.prop("selected",f.selected=r.selected),er&&T.prop("selected",f.selected))):(""===r.id&&w?R=w:(R=x.clone()).val(r.id).prop("selected",r.selected).attr("selected",r.selected).prop("label",r.label).text(r.label),c.push(f={element:R,label:r.label,id:r.id,selected:r.selected}),v(B,r.label,!0),T?T.after(R):i.element.append(R),T=R);for(S++;c.length>S;)r=c.pop(),v(B,r.label,!1),r.element.remove()}for(;N.length>k;){for(n=N.pop(),S=1;S0?g.addOption(t):0>e&&g.removeOption(t)})}var k;if(!(k=b.match(i)))throw Io("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",b,B(s));var E=r(k[2]||k[1]),S=k[4]||k[6],O=/ as /.test(k[0])&&k[1],T=O?r(O):null,A=k[5],M=r(k[3]||""),R=r(k[2]?k[1]:S),D=r(k[7]),P=k[8],F=P?r(k[8]):null,L={},N=[[{element:s,label:""}]],j={};w&&(e(w)(t),w.removeClass("ng-scope"),w.remove()),s.empty(),s.on("change",c),l.$render=C,t.$watchCollection(D,h),t.$watchCollection(d,h),m&&t.$watchCollection(function(){return l.$modelValue},h)}if(c[1]){for(var h,g=c[0],v=c[1],m=u.multiple,b=u.ngOptions,w=!1,$=!1,x=tr(t.createElement("option")),_=tr(t.createElement("optgroup")),C=x.clone(),k=0,E=l.children(),S=E.length;S>k;k++)if(""===E[k].value){h=w=E.eq(k);break}g.init(v,w,C),m&&(v.$isEmpty=function(e){return!e||0===e.length}),b?p(s,l,v):m?d(s,l,v):f(s,l,v,g)}}}}],Ho=["$interpolate",function(e){var t={addOption:h,removeOption:h};return{restrict:"E",priority:100,compile:function(n,r){if(m(r.value)){var i=e(n.text(),!0);i||r.$set("value",n.text())}return function(e,n,r){var o="$selectController",a=n.parent(),s=a.data(o)||a.parent().data(o);s&&s.databound||(s=t),i?e.$watch(i,function(e,t){r.$set("value",e),t!==e&&s.removeOption(t),s.addOption(e,n)}):s.addOption(r.value,n),n.on("$destroy",function(){s.removeOption(r.value)})}}}}],Uo=v({restrict:"E",terminal:!1}),zo=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},Bo=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,i,o){if(o){var a,s=i.ngPattern||i.pattern;i.$observe("pattern",function(e){if(w(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw r("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",s,e,B(t));a=e||n,o.$validate()}),o.$validators.pattern=function(e){return o.$isEmpty(e)||m(a)||a.test(e)}}}}},qo=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=d(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return 0>i||r.$isEmpty(t)||t.length<=i}}}}},Go=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=d(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void console.log("WARNING: Tried to load angular more than once."):(re(),pe(ur),void tr(t).ready(function(){J(t,Z)}))}(window,document),!window.angular.$$csp()&&window.angular.element(document).find("head").prepend('')},function(e,t,n){!function(e){e(n(3))}(function(e){function t(e,t){return"pairs"==t&&"string"==typeof e?e:"object"==typeof e&&null!=e[t]?e[t]:c[t]}function n(e){return function(t){return a(t,e)}}function r(e){var t=e.state.closeBrackets;if(!t)return null;var n=e.getModeAt(e.getCursor());return n.closeBrackets||t}function i(n){var i=r(n);if(!i||n.getOption("disableInput"))return e.Pass;for(var o=t(i,"pairs"),a=n.listSelections(),s=0;s=0;s--){var c=a[s].head;n.replaceRange("",f(c.line,c.ch-1),f(c.line,c.ch+1))}}function o(n){var i=r(n),o=i&&t(i,"explode");if(!o||n.getOption("disableInput"))return e.Pass;for(var a=n.listSelections(),s=0;s1&&p.indexOf(i)>=0&&n.getRange(f(w.line,w.ch-2),w)==i+i&&(w.ch<=2||n.getRange(f(w.line,w.ch-3),f(w.line,w.ch-2))!=i))y="addFour";else if(h){if(e.isWordChar(d)||!u(n,w,i))return e.Pass;y="both"}else{if(!v||n.getLine(w.line).length!=w.ch&&!s(d,a)&&!/\s/.test(d))return e.Pass;y="both"}else y=p.indexOf(i)>=0&&n.getRange(w,f(w.line,w.ch+3))==i+i+i?"skipThree":"skip";if(c){if(c!=y)return e.Pass}else c=y}var $=l%2?a.charAt(l-1):i,x=l%2?i:a.charAt(l+1);n.operation(function(){if("skip"==c)n.execCommand("goCharRight");else if("skipThree"==c)for(var e=0;3>e;e++)n.execCommand("goCharRight");else if("surround"==c){for(var t=n.getSelections(),e=0;e-1&&n%2==1}function l(e,t){var n=e.getRange(f(t.line,t.ch-1),f(t.line,t.ch+1));return 2==n.length?n:null}function u(t,n,r){var i=t.getLine(n.line),o=t.getTokenAt(n);if(/\bstring2?\b/.test(o.type))return!1;var a=new e.StringStream(i.slice(0,n.ch)+r+i.slice(n.ch),4);for(a.pos=a.start=o.start;;){var s=t.getMode().token(a,o.state);if(a.pos>=n.ch+1)return/\bstring2?\b/.test(s);a.start=a.pos}}var c={pairs:"()[]{}''\"\"",triples:"",explode:"[]{}"},f=e.Pos;e.defineOption("autoCloseBrackets",!1,function(t,n,r){r&&r!=e.Init&&(t.removeKeyMap(p),t.state.closeBrackets=null),n&&(t.state.closeBrackets=n,t.addKeyMap(p))});for(var d=c.pairs+"`",p={Backspace:i,Enter:o},h=0;h=0&&s[o.text.charAt(l)]||s[o.text.charAt(++l)];if(!u)return null;var c=">"==u.charAt(1)?1:-1;if(r&&c>0!=(l==t.ch))return null;var f=e.getTokenTypeAt(a(t.line,l+1)),d=n(e,a(t.line,l+(c>0?1:0)),c,f||null,i);return null==d?null:{from:a(t.line,l),to:d&&d.pos,match:d&&d.ch==u.charAt(0),forward:c>0}}function n(e,t,n,r,i){for(var o=i&&i.maxScanLineLength||1e4,l=i&&i.maxScanLines||1e3,u=[],c=i&&i.bracketRegex?i.bracketRegex:/[(){}[\]]/,f=n>0?Math.min(t.line+l,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-l),d=t.line;d!=f;d+=n){var p=e.getLine(d);if(p){var h=n>0?0:p.length-1,g=n>0?p.length:-1;if(!(p.length>o))for(d==t.line&&(h=t.ch-(0>n?1:0));h!=g;h+=n){var v=p.charAt(h);if(c.test(v)&&(void 0===r||e.getTokenTypeAt(a(d,h+1))==r)){var m=s[v];if(">"==m.charAt(1)==n>0)u.push(v);else{if(!u.length)return{pos:a(d,h),ch:v};u.pop()}}}}}return d-n==(n>0?e.lastLine():e.firstLine())?!1:null}function r(e,n,r){for(var i=e.state.matchBrackets.maxHighlightLineLength||1e3,s=[],l=e.listSelections(),u=0;u",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"},l=null;e.defineOption("matchBrackets",!1,function(t,n,r){r&&r!=e.Init&&t.off("cursorActivity",i),n&&(t.state.matchBrackets="object"==typeof n?n:{},t.on("cursorActivity",i))}),e.defineExtension("matchBrackets",function(){r(this,!0)}),e.defineExtension("findMatchingBracket",function(e,n,r){return t(this,e,n,r)}),e.defineExtension("scanForBracket",function(e,t,r,i){return n(this,e,t,r,i)})})},function(e,t,n){!function(e){e(n(3))}(function(e){"use strict";e.registerHelper("lint","json",function(t){var n=[];jsonlint.parseError=function(t,r){var i=r.loc;n.push({from:e.Pos(i.first_line-1,i.first_column),to:e.Pos(i.last_line-1,i.last_column),message:t})};try{jsonlint.parse(t)}catch(r){}return n})})},function(e,t,n){!function(e){e(n(3))}(function(e){"use strict";function t(t,n){function r(t){return i.parentNode?(i.style.top=Math.max(0,t.clientY-i.offsetHeight-5)+"px",void(i.style.left=t.clientX+5+"px")):e.off(document,"mousemove",r)}var i=document.createElement("div");return i.className="CodeMirror-lint-tooltip",i.appendChild(n.cloneNode(!0)),document.body.appendChild(i),e.on(document,"mousemove",r),r(t),null!=i.style.opacity&&(i.style.opacity=1),i}function n(e){e.parentNode&&e.parentNode.removeChild(e)}function r(e){e.parentNode&&(null==e.style.opacity&&n(e),e.style.opacity=0,setTimeout(function(){n(e)},600))}function i(n,i,o){function a(){e.off(o,"mouseout",a),s&&(r(s),s=null)}var s=t(n,i),l=setInterval(function(){if(s)for(var e=o;;e=e.parentNode){if(e&&11==e.nodeType&&(e=e.host),e==document.body)return;if(!e){a();break}}return s?void 0:clearInterval(l)},400);e.on(o,"mouseout",a)}function o(e,t,n){this.marked=[],this.options=t,this.timeout=null,this.hasGutter=n,this.onMouseOver=function(t){v(e,t)}}function a(e,t){return t instanceof Function?{getAnnotations:t}:(t&&t!==!0||(t={}),t)}function s(e){var t=e.state.lint;t.hasGutter&&e.clearGutter(m);for(var n=0;n1,n.options.tooltips))}}r.onUpdateLinting&&r.onUpdateLinting(t,i,e)}function h(e){var t=e.state.lint;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(function(){d(e)},t.options.delay||500))}function g(e,t){var n=t.target||t.srcElement;i(t,f(e),n)}function v(e,t){var n=t.target||t.srcElement;if(/\bCodeMirror-lint-mark-/.test(n.className))for(var r=n.getBoundingClientRect(),i=(r.left+r.right)/2,o=(r.top+r.bottom)/2,a=e.findMarksAt(e.coordsChar({left:i,top:o},"client")),s=0;s"))return i("=>","operator");if("0"==n&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),i("number","number");if(/\d/.test(n))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),i("number","number");if("/"==n)return e.eat("*")?(t.tokenize=s,s(e,t)):e.eat("/")?(e.skipToEnd(),i("comment","comment")):"operator"==t.lastType||"keyword c"==t.lastType||"sof"==t.lastType||/^[\[{}\(,;:]$/.test(t.lastType)?(r(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),i("regexp","string-2")):(e.eatWhile(Ee),i("operator","operator",e.current()));if("`"==n)return t.tokenize=l,l(e,t);if("#"==n)return e.skipToEnd(),i("error","error");if(Ee.test(n))return e.eatWhile(Ee),i("operator","operator",e.current());if(Ce.test(n)){e.eatWhile(Ce);var o=e.current(),u=ke.propertyIsEnumerable(o)&&ke[o];return u&&"."!=t.lastType?i(u.type,u.style,o):i("variable","variable",o)}}function a(e){return function(t,n){var r,a=!1;if($e&&"@"==t.peek()&&t.match(Se))return n.tokenize=o,i("jsonld-keyword","meta");for(;null!=(r=t.next())&&(r!=e||a);)a=!a&&"\\"==r;return a||(n.tokenize=o),i("string","string")}}function s(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=o;break}r="*"==n}return i("comment","comment")}function l(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=o;break}r=!r&&"\\"==n}return i("quasi","string-2",e.current())}function u(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(0>n)){for(var r=0,i=!1,o=n-1;o>=0;--o){var a=e.string.charAt(o),s=Oe.indexOf(a);if(s>=0&&3>s){if(!r){++o;break}if(0==--r)break}else if(s>=3&&6>s)++r;else if(Ce.test(a))i=!0;else{if(/["'\/]/.test(a))return;if(i&&!r){++o;break}}}i&&!r&&(t.fatArrowAt=o)}}function c(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=r&&(this.align=r)}function f(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(var n=r.vars;n;n=n.next)if(n.name==t)return!0}function d(e,t,n,r,i){var o=e.cc;for(Ae.state=e,Ae.stream=i,Ae.marked=null,Ae.cc=o,Ae.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){var a=o.length?o.pop():xe?x:$;if(a(n,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return Ae.marked?Ae.marked:"variable"==n&&f(e,r)?"variable-2":t}}}function p(){for(var e=arguments.length-1;e>=0;e--)Ae.cc.push(arguments[e])}function h(){return p.apply(null,arguments),!0}function g(e){function t(t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}var r=Ae.state;if(r.context){if(Ae.marked="def",t(r.localVars))return;r.localVars={name:e,next:r.localVars}}else{if(t(r.globalVars))return;n.globalVars&&(r.globalVars={name:e,next:r.globalVars})}}function v(){Ae.state.context={prev:Ae.state.context,vars:Ae.state.localVars},Ae.state.localVars=Me}function m(){Ae.state.localVars=Ae.state.context.vars,Ae.state.context=Ae.state.context.prev}function y(e,t){var n=function(){var n=Ae.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var i=n.lexical;i&&")"==i.type&&i.align;i=i.prev)r=i.indented;n.lexical=new c(r,Ae.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function b(){var e=Ae.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function w(e){function t(n){return n==e?h():";"==e?p():h(t)}return t}function $(e,t){return"var"==e?h(y("vardef",t.length),z,w(";"),b):"keyword a"==e?h(y("form"),x,$,b):"keyword b"==e?h(y("form"),$,b):"{"==e?h(y("}"),V,b):";"==e?h():"if"==e?("else"==Ae.state.lexical.info&&Ae.state.cc[Ae.state.cc.length-1]==b&&Ae.state.cc.pop()(),h(y("form"),x,$,b,Y)):"function"==e?h(te):"for"==e?h(y("form"),Q,$,b):"variable"==e?h(y("stat"),D):"switch"==e?h(y("form"),x,y("}","switch"),w("{"),V,b,b):"case"==e?h(x,w(":")):"default"==e?h(w(":")):"catch"==e?h(y("form"),v,w("("),ne,w(")"),$,b,m):"module"==e?h(y("form"),v,se,m,b):"class"==e?h(y("form"),re,b):"export"==e?h(y("form"),le,b):"import"==e?h(y("form"),ue,b):p(y("stat"),x,w(";"),b)}function x(e){return C(e,!1)}function _(e){return C(e,!0)}function C(e,t){if(Ae.state.fatArrowAt==Ae.stream.start){var n=t?R:M;if("("==e)return h(v,y(")"),j(B,")"),b,w("=>"),n,m);if("variable"==e)return p(v,B,w("=>"),n,m)}var r=t?O:S;return Te.hasOwnProperty(e)?h(r):"function"==e?h(te,r):"keyword c"==e?h(t?E:k):"("==e?h(y(")"),k,ge,w(")"),b,r):"operator"==e||"spread"==e?h(t?_:x):"["==e?h(y("]"),pe,b,r):"{"==e?I(F,"}",null,r):"quasi"==e?p(T,r):h()}function k(e){return e.match(/[;\}\)\],]/)?p():p(x)}function E(e){return e.match(/[;\}\)\],]/)?p():p(_)}function S(e,t){return","==e?h(x):O(e,t,!1)}function O(e,t,n){var r=0==n?S:O,i=0==n?x:_;return"=>"==e?h(v,n?R:M,m):"operator"==e?/\+\+|--/.test(t)?h(r):"?"==t?h(x,w(":"),i):h(i):"quasi"==e?p(T,r):";"!=e?"("==e?I(_,")","call",r):"."==e?h(P,r):"["==e?h(y("]"),k,w("]"),b,r):void 0:void 0}function T(e,t){return"quasi"!=e?p():"${"!=t.slice(t.length-2)?h(T):h(x,A)}function A(e){return"}"==e?(Ae.marked="string-2",Ae.state.tokenize=l,h(T)):void 0}function M(e){return u(Ae.stream,Ae.state),p("{"==e?$:x)}function R(e){return u(Ae.stream,Ae.state),p("{"==e?$:_)}function D(e){return":"==e?h(b,$):p(S,w(";"),b)}function P(e){return"variable"==e?(Ae.marked="property",h()):void 0}function F(e,t){return"variable"==e||"keyword"==Ae.style?(Ae.marked="property",h("get"==t||"set"==t?L:N)):"number"==e||"string"==e?(Ae.marked=$e?"property":Ae.style+" property",h(N)):"jsonld-keyword"==e?h(N):"["==e?h(x,w("]"),N):void 0}function L(e){return"variable"!=e?p(N):(Ae.marked="property",h(te))}function N(e){return":"==e?h(_):"("==e?p(te):void 0}function j(e,t){function n(r){if(","==r){var i=Ae.state.lexical;return"call"==i.info&&(i.pos=(i.pos||0)+1),h(e,n)}return r==t?h():h(w(t))}return function(r){return r==t?h():p(e,n)}}function I(e,t,n){for(var r=3;r!?|~^]/,Se=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,Oe="([{}])",Te={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,"this":!0,"jsonld-keyword":!0},Ae={state:null,column:null,marked:null,cc:null},Me={name:"this",next:{name:"arguments"}};return b.lex=!0,{startState:function(e){var t={tokenize:o,lastType:"sof",cc:[],lexical:new c((e||0)-be,0,"block",!1),localVars:n.localVars,context:n.localVars&&{vars:n.localVars},indented:0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),u(e,t)),t.tokenize!=s&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==me?n:(t.lastType="operator"!=me||"++"!=ye&&"--"!=ye?me:"incdec",d(t,n,me,ye,e))},indent:function(t,r){if(t.tokenize==s)return e.Pass;if(t.tokenize!=o)return 0;var i=r&&r.charAt(0),a=t.lexical;if(!/^\s*else\b/.test(r))for(var l=t.cc.length-1;l>=0;--l){var u=t.cc[l];if(u==b)a=a.prev;else if(u!=Y)break}"stat"==a.type&&"}"==i&&(a=a.prev),we&&")"==a.type&&"stat"==a.prev.type&&(a=a.prev);var c=a.type,f=i==c;return"vardef"==c?a.indented+("operator"==t.lastType||","==t.lastType?a.info+1:0):"form"==c&&"{"==i?a.indented:"form"==c?a.indented+be:"stat"==c?a.indented+(ve(t,r)?we||be:0):"switch"!=a.info||f||0==n.doubleIndentSwitch?a.align?a.column+(f?0:1):a.indented+(f?0:be):a.indented+(/^(?:case|default)\b/.test(r)?be:2*be)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:xe?null:"/*",blockCommentEnd:xe?null:"*/",lineComment:xe?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:xe?"json":"javascript",jsonldMode:$e,jsonMode:xe}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},function(e,t,n){var r;(function(e,i,o,a){/*! * @overview es6-promise - a tiny implementation of Promises/A+. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) * @license Licensed under MIT license * See https://raw.githubusercontent.com/jakearchibald/es6-promise/master/LICENSE * @version 2.3.0 */ -(function(){"use strict";function s(e){return"function"==typeof e||"object"==typeof e&&null!==e}function l(e){return"function"==typeof e}function u(e){return"object"==typeof e&&null!==e}function c(e){K=e}function f(e){J=e}function d(){var t=e.nextTick,n=e.versions.node.match(/^(?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+)$/);return Array.isArray(n)&&"0"===n[1]&&"10"===n[2]&&(t=i),function(){t(m)}}function p(){return function(){G(m)}}function h(){var e=0,t=new te(m),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function g(){var e=new MessageChannel;return e.port1.onmessage=m,function(){e.port2.postMessage(0)}}function v(){return function(){setTimeout(m,1)}}function m(){for(var e=0;X>e;e+=2){var t=ie[e],n=ie[e+1];t(n),ie[e]=void 0,ie[e+1]=void 0}X=0}function y(){try{var e=n(175);return G=e.runOnLoop||e.runOnContext,p()}catch(t){return v()}}function b(){}function w(){return new TypeError("You cannot resolve a promise with itself")}function $(){return new TypeError("A promises callback cannot return that same promise.")}function x(e){try{return e.then}catch(t){return le.error=t,le}}function _(e,t,n,r){try{e.call(t,n,r)}catch(i){return i}}function C(e,t,n){J(function(e){var r=!1,i=_(n,t,function(n){r||(r=!0,t!==n?S(e,n):T(e,n))},function(t){r||(r=!0,A(e,t))},"Settle: "+(e._label||" unknown promise"));!r&&i&&(r=!0,A(e,i))},e)}function k(e,t){t._state===ae?T(e,t._result):t._state===se?A(e,t._result):M(t,void 0,function(t){S(e,t)},function(t){A(e,t)})}function E(e,t){if(t.constructor===e.constructor)k(e,t);else{var n=x(t);n===le?A(e,le.error):void 0===n?T(e,t):l(n)?C(e,t,n):T(e,t)}}function S(e,t){e===t?A(e,w()):s(t)?E(e,t):T(e,t)}function O(e){e._onerror&&e._onerror(e._result),R(e)}function T(e,t){e._state===oe&&(e._result=t,e._state=ae,0!==e._subscribers.length&&J(R,e))}function A(e,t){e._state===oe&&(e._state=se,e._result=t,J(O,e))}function M(e,t,n,r){var i=e._subscribers,o=i.length;e._onerror=null,i[o]=t,i[o+ae]=n,i[o+se]=r,0===o&&e._state&&J(R,e)}function R(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r,i,o=e._result,a=0;aa;a++)M(r.resolve(e[a]),void 0,t,n);return i}function V(e){var t=this;if(e&&"object"==typeof e&&e.constructor===t)return e;var n=new t(b);return S(n,e),n}function H(e){var t=this,n=new t(b);return A(n,e),n}function W(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function U(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function z(e){this._id=ge++,this._state=void 0,this._result=void 0,this._subscribers=[],b!==e&&(l(e)||W(),this instanceof z||U(),L(this,e))}function B(){var e;if("undefined"!=typeof o)e=o;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var n=e.Promise;(!n||"[object Promise]"!==Object.prototype.toString.call(n.resolve())||n.cast)&&(e.Promise=ve)}var q;q=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var G,K,Y,Q=q,X=0,J=({}.toString,function(e,t){ie[X]=e,ie[X+1]=t,X+=2,2===X&&(K?K(m):Y())}),Z="undefined"!=typeof window?window:void 0,ee=Z||{},te=ee.MutationObserver||ee.WebKitMutationObserver,ne="undefined"!=typeof e&&"[object process]"==={}.toString.call(e),re="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,ie=new Array(1e3);Y=ne?d():te?h():re?g():void 0===Z?y():v();var oe=void 0,ae=1,se=2,le=new D,ue=new D;N.prototype._validateInput=function(e){return Q(e)},N.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},N.prototype._init=function(){this._result=new Array(this.length)};var ce=N;N.prototype._enumerate=function(){for(var e=this,t=e.length,n=e.promise,r=e._input,i=0;n._state===oe&&t>i;i++)e._eachEntry(r[i],i)},N.prototype._eachEntry=function(e,t){var n=this,r=n._instanceConstructor;u(e)?e.constructor===r&&e._state!==oe?(e._onerror=null,n._settledAt(e._state,t,e._result)):n._willSettleAt(r.resolve(e),t):(n._remaining--,n._result[t]=e)},N.prototype._settledAt=function(e,t,n){var r=this,i=r.promise;i._state===oe&&(r._remaining--,e===se?A(i,n):r._result[t]=n),0===r._remaining&&T(i,r._result)},N.prototype._willSettleAt=function(e,t){var n=this;M(e,void 0,function(e){n._settledAt(ae,t,e)},function(e){n._settledAt(se,t,e)})};var fe=j,de=I,pe=V,he=H,ge=0,ve=z;z.all=fe,z.race=de,z.resolve=pe,z.reject=he,z._setScheduler=c,z._setAsap=f,z._asap=J,z.prototype={constructor:z,then:function(e,t){var n=this,r=n._state;if(r===ae&&!e||r===se&&!t)return this;var i=new this.constructor(b),o=n._result;if(r){var a=arguments[r-1];J(function(){F(r,i,a,o)})}else M(n,i,e,t);return i},"catch":function(e){return this.then(null,e)}};var me=B,ye={Promise:ve,polyfill:me};n(174).amd?(r=function(){return ye}.call(t,n,t,a),!(void 0!==r&&(a.exports=r))):"undefined"!=typeof a&&a.exports?a.exports=ye:"undefined"!=typeof this&&(this.ES6Promise=ye),me()}).call(this)}).call(t,n(9),n(10).setImmediate,function(){return this}(),n(23)(e))},function(e,t,n){!function(t,n,r){e.exports=r(t,n)}("humane",this,function(e,t){var n=window,r=document,i={on:function(e,t,r){"addEventListener"in n?e.addEventListener(t,r,!1):e.attachEvent("on"+t,r)},off:function(e,t,r){"removeEventListener"in n?e.removeEventListener(t,r,!1):e.detachEvent("on"+t,r)},bind:function(e,t){return function(){e.apply(t,arguments)}},isArray:Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},config:function(e,t){return null!=e?e:t},transSupport:!1,useFilter:/msie [678]/i.test(navigator.userAgent),_checkTransition:function(){var e=r.createElement("div"),t={webkit:"webkit",Moz:"",O:"o",ms:"MS"};for(var n in t)n+"Transition"in e.style&&(this.vendorPrefix=t[n],this.transSupport=!0)}};i._checkTransition();var o=function(e){e||(e={}),this.queue=[],this.baseCls=e.baseCls||"humane",this.addnCls=e.addnCls||"",this.timeout="timeout"in e?e.timeout:2500,this.waitForMove=e.waitForMove||!1,this.clickToClose=e.clickToClose||!1,this.timeoutAfterMove=e.timeoutAfterMove||!1,this.container=e.container;try{this._setupEl()}catch(t){i.on(n,"load",i.bind(this._setupEl,this))}};return o.prototype={constructor:o,_setupEl:function(){var e=r.createElement("div");if(e.style.display="none",!this.container){if(!r.body)throw"document.body is null";this.container=r.body}this.container.appendChild(e),this.el=e,this.removeEvent=i.bind(function(){var e=i.config(this.currentMsg.timeoutAfterMove,this.timeoutAfterMove);e?setTimeout(i.bind(this.remove,this),e):this.remove()},this),this.transEvent=i.bind(this._afterAnimation,this),this._run()},_afterTimeout:function(){i.config(this.currentMsg.waitForMove,this.waitForMove)?this.removeEventsSet||(i.on(r.body,"mousemove",this.removeEvent),i.on(r.body,"click",this.removeEvent),i.on(r.body,"keypress",this.removeEvent),i.on(r.body,"touchstart",this.removeEvent),this.removeEventsSet=!0):this.remove()},_run:function(){if(!this._animating&&this.queue.length&&this.el){this._animating=!0,this.currentTimer&&(clearTimeout(this.currentTimer),this.currentTimer=null);var e=this.queue.shift(),t=i.config(e.clickToClose,this.clickToClose);t&&(i.on(this.el,"click",this.removeEvent),i.on(this.el,"touchstart",this.removeEvent));var n=i.config(e.timeout,this.timeout);n>0&&(this.currentTimer=setTimeout(i.bind(this._afterTimeout,this),n)),i.isArray(e.html)&&(e.html="
  • "+e.html.join("
  • ")+"
"),this.el.innerHTML=e.html,this.currentMsg=e,this.el.className=this.baseCls,i.transSupport?(this.el.style.display="block",setTimeout(i.bind(this._showMsg,this),50)):this._showMsg()}},_setOpacity:function(e){if(i.useFilter)try{this.el.filters.item("DXImageTransform.Microsoft.Alpha").Opacity=100*e}catch(t){}else this.el.style.opacity=String(e)},_showMsg:function(){var e=i.config(this.currentMsg.addnCls,this.addnCls);if(i.transSupport)this.el.className=this.baseCls+" "+e+" "+this.baseCls+"-animate";else{var t=0;this.el.className=this.baseCls+" "+e+" "+this.baseCls+"-js-animate",this._setOpacity(0),this.el.style.display="block";var n=this,r=setInterval(function(){1>t?(t+=.1,t>1&&(t=1),n._setOpacity(t)):clearInterval(r)},30)}},_hideMsg:function(){var e=i.config(this.currentMsg.addnCls,this.addnCls);if(i.transSupport)this.el.className=this.baseCls+" "+e,i.on(this.el,i.vendorPrefix?i.vendorPrefix+"TransitionEnd":"transitionend",this.transEvent);else var t=1,n=this,r=setInterval(function(){t>0?(t-=.1,0>t&&(t=0),n._setOpacity(t)):(n.el.className=n.baseCls+" "+e,clearInterval(r),n._afterAnimation())},30)},_afterAnimation:function(){i.transSupport&&i.off(this.el,i.vendorPrefix?i.vendorPrefix+"TransitionEnd":"transitionend",this.transEvent),this.currentMsg.cb&&this.currentMsg.cb(),this.el.style.display="none",this._animating=!1,this._run()},remove:function(e){var t="function"==typeof e?e:null;i.off(r.body,"mousemove",this.removeEvent),i.off(r.body,"click",this.removeEvent),i.off(r.body,"keypress",this.removeEvent),i.off(r.body,"touchstart",this.removeEvent),i.off(this.el,"click",this.removeEvent),i.off(this.el,"touchstart",this.removeEvent),this.removeEventsSet=!1,t&&this.currentMsg&&(this.currentMsg.cb=t),this._animating?this._hideMsg():t&&t()},log:function(e,t,n,r){var i={};if(r)for(var o in r)i[o]=r[o];if("function"==typeof t)n=t;else if(t)for(var o in t)i[o]=t[o];return i.html=e,n&&(i.cb=n),this.queue.push(i),this._run(),this},spawn:function(e){var t=this;return function(n,r,i){return t.log.call(t,n,r,i,e),t}},create:function(e){return new o(e)}},new o})},function(e,t,n){(function(e){(function(){var t=!0,n=!1,r={},i=function(){var e={trace:function(){},yy:{},symbols_:{error:2,JSONString:3,STRING:4,JSONNumber:5,NUMBER:6,JSONNullLiteral:7,NULL:8,JSONBooleanLiteral:9,TRUE:10,FALSE:11,JSONText:12,JSONValue:13,EOF:14,JSONObject:15,JSONArray:16,"{":17,"}":18,JSONMemberList:19,JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(e,t,n,r,i,o,a){var s=o.length-1;switch(i){case 1:this.$=e.replace(/\\(\\|")/g,"$1").replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g," ").replace(/\\v/g," ").replace(/\\f/g,"\f").replace(/\\b/g,"\b");break;case 2:this.$=Number(e);break;case 3:this.$=null;break;case 4:this.$=!0;break;case 5:this.$=!1;break;case 6:return this.$=o[s-1];case 13:this.$={};break;case 14:this.$=o[s-1];break;case 15:this.$=[o[s-2],o[s]];break;case 16:this.$={},this.$[o[s][0]]=o[s][1];break;case 17:this.$=o[s-2],o[s-2][o[s][0]]=o[s][1];break;case 18:this.$=[];break;case 19:this.$=o[s-1];break;case 20:this.$=[o[s]];break;case 21:this.$=o[s-2],o[s-2].push(o[s])}},table:[{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],12:1,13:2,15:7,16:8,17:[1,14],23:[1,15]},{1:[3]},{14:[1,16]},{14:[2,7],18:[2,7],22:[2,7],24:[2,7]},{14:[2,8],18:[2,8],22:[2,8],24:[2,8]},{14:[2,9],18:[2,9],22:[2,9],24:[2,9]},{14:[2,10],18:[2,10],22:[2,10],24:[2,10]},{14:[2,11],18:[2,11],22:[2,11],24:[2,11]},{14:[2,12],18:[2,12],22:[2,12],24:[2,12]},{14:[2,3],18:[2,3],22:[2,3],24:[2,3]},{14:[2,4],18:[2,4],22:[2,4],24:[2,4]},{14:[2,5],18:[2,5],22:[2,5],24:[2,5]},{14:[2,1],18:[2,1],21:[2,1],22:[2,1],24:[2,1]},{14:[2,2],18:[2,2],22:[2,2],24:[2,2]},{3:20,4:[1,12],18:[1,17],19:18,20:19},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:23,15:7,16:8,17:[1,14],23:[1,15],24:[1,21],25:22},{1:[2,6]},{14:[2,13],18:[2,13],22:[2,13],24:[2,13]},{18:[1,24],22:[1,25]},{18:[2,16],22:[2,16]},{21:[1,26]},{14:[2,18],18:[2,18],22:[2,18],24:[2,18]},{22:[1,28],24:[1,27]},{22:[2,20],24:[2,20]},{14:[2,14],18:[2,14],22:[2,14],24:[2,14]},{3:20,4:[1,12],20:29},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:30,15:7,16:8,17:[1,14],23:[1,15]},{14:[2,19],18:[2,19],22:[2,19],24:[2,19]},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:31,15:7,16:8,17:[1,14],23:[1,15]},{18:[2,17],22:[2,17]},{18:[2,15],22:[2,15]},{22:[2,21],24:[2,21]}],defaultActions:{16:[2,6]},parseError:function(e,t){throw new Error(e)},parse:function(e){function t(e){i.length=i.length-2*e,o.length=o.length-e,a.length=a.length-e}function n(){var e;return e=r.lexer.lex()||1,"number"!=typeof e&&(e=r.symbols_[e]||e),e}var r=this,i=[0],o=[null],a=[],s=this.table,l="",u=0,c=0,f=0,d=2,p=1;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,"undefined"==typeof this.lexer.yylloc&&(this.lexer.yylloc={});var h=this.lexer.yylloc;a.push(h),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var g,v,m,y,b,w,$,x,_,C={};;){if(m=i[i.length-1],this.defaultActions[m]?y=this.defaultActions[m]:(null==g&&(g=n()),y=s[m]&&s[m][g]),"undefined"==typeof y||!y.length||!y[0]){if(!f){_=[];for(w in s[m])this.terminals_[w]&&w>2&&_.push("'"+this.terminals_[w]+"'");var k="";k=this.lexer.showPosition?"Parse error on line "+(u+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+_.join(", ")+", got '"+this.terminals_[g]+"'":"Parse error on line "+(u+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(k,{text:this.lexer.match,token:this.terminals_[g]||g,line:this.lexer.yylineno,loc:h,expected:_})}if(3==f){if(g==p)throw new Error(k||"Parsing halted.");c=this.lexer.yyleng,l=this.lexer.yytext,u=this.lexer.yylineno,h=this.lexer.yylloc,g=n()}for(;!(d.toString()in s[m]);){if(0==m)throw new Error(k||"Parsing halted.");t(1),m=i[i.length-1]}v=g,g=d,m=i[i.length-1],y=s[m]&&s[m][d],f=3}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+g);switch(y[0]){case 1:i.push(g),o.push(this.lexer.yytext),a.push(this.lexer.yylloc),i.push(y[1]),g=null,v?(g=v,v=null):(c=this.lexer.yyleng,l=this.lexer.yytext,u=this.lexer.yylineno,h=this.lexer.yylloc,f>0&&f--);break;case 2:if($=this.productions_[y[1]][1],C.$=o[o.length-$],C._$={first_line:a[a.length-($||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-($||1)].first_column,last_column:a[a.length-1].last_column},b=this.performAction.call(C,l,c,u,this.yy,y[1],o,a),"undefined"!=typeof b)return b;$&&(i=i.slice(0,-1*$*2),o=o.slice(0,-1*$),a=a.slice(0,-1*$)),i.push(this.productions_[y[1]][0]),o.push(C.$),a.push(C._$),x=s[i[i.length-2]][i[i.length-1]],i.push(x);break;case 3:return!0}}return!0}},t=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parseError)throw new Error(e);this.yy.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var e=this._input[0];this.yytext+=e,this.yyleng++,this.match+=e,this.matched+=e;var t=e.match(/\n/);return t&&this.yylineno++,this._input=this._input.slice(1),e},unput:function(e){return this._input=e+this._input,this},more:function(){return this._more=!0,this},less:function(e){this._input=this.match.slice(e)+this._input},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r,i;this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),a=0;at[0].length)||(t=n,r=a,this.options.flex));a++);return t?(i=t[0].match(/\n.*/g),i&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-1:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,o[r],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e?e:void 0):""===this._input?this.EOF:void this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return"undefined"!=typeof e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)}};return e.options={},e.performAction=function(e,t,n,r){switch(n){case 0:break;case 1:return 6;case 2:return t.yytext=t.yytext.substr(1,t.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},e.rules=[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],e.conditions={INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}},e}();return e.lexer=t,e}();return"undefined"!=typeof t&&"undefined"!=typeof r&&(r.parser=i,r.parse=function(){return i.parse.apply(i,arguments)},r.main=function(n){if(!n[1])throw new Error("Usage: "+n[0]+" FILE");if("undefined"!=typeof e)var i=t("fs").readFileSync(t("path").join(e.cwd(),n[1]),"utf8");else var o=t("file").path(t("file").cwd()),i=o.join(n[1]).read({charset:"utf-8"});return r.parser.parse(i)},"undefined"!=typeof n&&t.main===n&&r.main("undefined"!=typeof e?e.argv.slice(1):t("system").args)),r})()}).call(t,n(9))},function(e,t,n){var r,i;!function(o,a){r=a,i="function"==typeof r?r.call(t,n,t,e):r,!(void 0!==i&&(e.exports=i))}(this,function(){function e(e,t,n){return t>e?t:e>n?n:e}function t(e){return 100*(-1+e)}function n(e,n,r){var i;return i="translate3d"===u.positionUsing?{transform:"translate3d("+t(e)+"%,0,0)"}:"translate"===u.positionUsing?{transform:"translate("+t(e)+"%,0)"}:{"margin-left":t(e)+"%"},i.transition="all "+n+"ms "+r,i}function r(e,t){var n="string"==typeof e?e:a(e);return n.indexOf(" "+t+" ")>=0}function i(e,t){var n=a(e),i=n+t;r(n,t)||(e.className=i.substring(1))}function o(e,t){var n,i=a(e);r(e,t)&&(n=i.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function a(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function s(e){e&&e.parentNode&&e.parentNode.removeChild(e)}var l={};l.version="0.2.0";var u=l.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};l.configure=function(e){var t,n;for(t in e)n=e[t],void 0!==n&&e.hasOwnProperty(t)&&(u[t]=n);return this},l.status=null,l.set=function(t){var r=l.isStarted();t=e(t,u.minimum,1),l.status=1===t?null:t;var i=l.render(!r),o=i.querySelector(u.barSelector),a=u.speed,s=u.easing;return i.offsetWidth,c(function(e){""===u.positionUsing&&(u.positionUsing=l.getPositioningCSS()),f(o,n(t,a,s)),1===t?(f(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout(function(){f(i,{transition:"all "+a+"ms linear",opacity:0}),setTimeout(function(){l.remove(),e()},a)},a)):setTimeout(e,a)}),this},l.isStarted=function(){return"number"==typeof l.status},l.start=function(){l.status||l.set(0);var e=function(){setTimeout(function(){l.status&&(l.trickle(),e())},u.trickleSpeed)};return u.trickle&&e(),this},l.done=function(e){return e||l.status?l.inc(.3+.5*Math.random()).set(1):this},l.inc=function(t){var n=l.status;return n?("number"!=typeof t&&(t=(1-n)*e(Math.random()*n,.1,.95)),n=e(n+t,0,.994),l.set(n)):l.start()},l.trickle=function(){return l.inc(Math.random()*u.trickleRate)},function(){var e=0,t=0;l.promise=function(n){return n&&"resolved"!==n.state()?(0===t&&l.start(),e++,t++,n.always(function(){t--,0===t?(e=0,l.done()):l.set((e-t)/e)}),this):this}}(),l.render=function(e){if(l.isRendered())return document.getElementById("nprogress");i(document.documentElement,"nprogress-busy");var n=document.createElement("div");n.id="nprogress",n.innerHTML=u.template;var r,o=n.querySelector(u.barSelector),a=e?"-100":t(l.status||0),c=document.querySelector(u.parent);return f(o,{transition:"all 0 linear",transform:"translate3d("+a+"%,0,0)"}),u.showSpinner||(r=n.querySelector(u.spinnerSelector),r&&s(r)),c!=document.body&&i(c,"nprogress-custom-parent"),c.appendChild(n),n},l.remove=function(){o(document.documentElement,"nprogress-busy"),o(document.querySelector(u.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&s(e)},l.isRendered=function(){return!!document.getElementById("nprogress")},l.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var c=function(){function e(){var n=t.shift();n&&n(e)}var t=[];return function(n){t.push(n),1==t.length&&e()}}(),f=function(){function e(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})}function t(e){var t=document.body.style;if(e in t)return e;for(var n,r=i.length,o=e.charAt(0).toUpperCase()+e.slice(1);r--;)if(n=i[r]+o,n in t)return n;return e}function n(n){return n=e(n),o[n]||(o[n]=t(n))}function r(e,t,r){t=n(t),e.style[t]=r}var i=["Webkit","O","Moz","ms"],o={};return function(e,t){var n,i,o=arguments;if(2==o.length)for(n in t)i=t[n],void 0!==i&&t.hasOwnProperty(n)&&r(e,n,i);else r(e,o[1],o[2])}}();return l})},function(e,t,n){var r;/*! +(function(){"use strict";function s(e){return"function"==typeof e||"object"==typeof e&&null!==e}function l(e){return"function"==typeof e}function u(e){return"object"==typeof e&&null!==e}function c(e){K=e}function f(e){J=e}function d(){var t=e.nextTick,n=e.versions.node.match(/^(?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+)$/);return Array.isArray(n)&&"0"===n[1]&&"10"===n[2]&&(t=i),function(){t(m)}}function p(){return function(){G(m)}}function h(){var e=0,t=new te(m),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function g(){var e=new MessageChannel;return e.port1.onmessage=m,function(){e.port2.postMessage(0)}}function v(){return function(){setTimeout(m,1)}}function m(){for(var e=0;X>e;e+=2){var t=ie[e],n=ie[e+1];t(n),ie[e]=void 0,ie[e+1]=void 0}X=0}function y(){try{var e=n(176);return G=e.runOnLoop||e.runOnContext,p()}catch(t){return v()}}function b(){}function w(){return new TypeError("You cannot resolve a promise with itself")}function $(){return new TypeError("A promises callback cannot return that same promise.")}function x(e){try{return e.then}catch(t){return le.error=t,le}}function _(e,t,n,r){try{e.call(t,n,r)}catch(i){return i}}function C(e,t,n){J(function(e){var r=!1,i=_(n,t,function(n){r||(r=!0,t!==n?S(e,n):T(e,n))},function(t){r||(r=!0,A(e,t))},"Settle: "+(e._label||" unknown promise"));!r&&i&&(r=!0,A(e,i))},e)}function k(e,t){t._state===ae?T(e,t._result):t._state===se?A(e,t._result):M(t,void 0,function(t){S(e,t)},function(t){A(e,t)})}function E(e,t){if(t.constructor===e.constructor)k(e,t);else{var n=x(t);n===le?A(e,le.error):void 0===n?T(e,t):l(n)?C(e,t,n):T(e,t)}}function S(e,t){e===t?A(e,w()):s(t)?E(e,t):T(e,t)}function O(e){e._onerror&&e._onerror(e._result),R(e)}function T(e,t){e._state===oe&&(e._result=t,e._state=ae,0!==e._subscribers.length&&J(R,e))}function A(e,t){e._state===oe&&(e._state=se,e._result=t,J(O,e))}function M(e,t,n,r){var i=e._subscribers,o=i.length;e._onerror=null,i[o]=t,i[o+ae]=n,i[o+se]=r,0===o&&e._state&&J(R,e)}function R(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r,i,o=e._result,a=0;aa;a++)M(r.resolve(e[a]),void 0,t,n);return i}function V(e){var t=this;if(e&&"object"==typeof e&&e.constructor===t)return e;var n=new t(b);return S(n,e),n}function W(e){var t=this,n=new t(b);return A(n,e),n}function H(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function U(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function z(e){this._id=ge++,this._state=void 0,this._result=void 0,this._subscribers=[],b!==e&&(l(e)||H(),this instanceof z||U(),L(this,e))}function B(){var e;if("undefined"!=typeof o)e=o;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var n=e.Promise;(!n||"[object Promise]"!==Object.prototype.toString.call(n.resolve())||n.cast)&&(e.Promise=ve)}var q;q=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var G,K,Y,Q=q,X=0,J=({}.toString,function(e,t){ie[X]=e,ie[X+1]=t,X+=2,2===X&&(K?K(m):Y())}),Z="undefined"!=typeof window?window:void 0,ee=Z||{},te=ee.MutationObserver||ee.WebKitMutationObserver,ne="undefined"!=typeof e&&"[object process]"==={}.toString.call(e),re="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,ie=new Array(1e3);Y=ne?d():te?h():re?g():void 0===Z?y():v();var oe=void 0,ae=1,se=2,le=new D,ue=new D;N.prototype._validateInput=function(e){return Q(e)},N.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},N.prototype._init=function(){this._result=new Array(this.length)};var ce=N;N.prototype._enumerate=function(){for(var e=this,t=e.length,n=e.promise,r=e._input,i=0;n._state===oe&&t>i;i++)e._eachEntry(r[i],i)},N.prototype._eachEntry=function(e,t){var n=this,r=n._instanceConstructor;u(e)?e.constructor===r&&e._state!==oe?(e._onerror=null,n._settledAt(e._state,t,e._result)):n._willSettleAt(r.resolve(e),t):(n._remaining--,n._result[t]=e)},N.prototype._settledAt=function(e,t,n){var r=this,i=r.promise;i._state===oe&&(r._remaining--,e===se?A(i,n):r._result[t]=n),0===r._remaining&&T(i,r._result)},N.prototype._willSettleAt=function(e,t){var n=this;M(e,void 0,function(e){n._settledAt(ae,t,e)},function(e){n._settledAt(se,t,e)})};var fe=j,de=I,pe=V,he=W,ge=0,ve=z;z.all=fe,z.race=de,z.resolve=pe,z.reject=he,z._setScheduler=c,z._setAsap=f,z._asap=J,z.prototype={constructor:z,then:function(e,t){var n=this,r=n._state;if(r===ae&&!e||r===se&&!t)return this;var i=new this.constructor(b),o=n._result;if(r){var a=arguments[r-1];J(function(){F(r,i,a,o)})}else M(n,i,e,t);return i},"catch":function(e){return this.then(null,e)}};var me=B,ye={Promise:ve,polyfill:me};n(175).amd?(r=function(){return ye}.call(t,n,t,a),!(void 0!==r&&(a.exports=r))):"undefined"!=typeof a&&a.exports?a.exports=ye:"undefined"!=typeof this&&(this.ES6Promise=ye),me()}).call(this)}).call(t,n(9),n(10).setImmediate,function(){return this}(),n(24)(e))},function(e,t,n){!function(t,n,r){e.exports=r(t,n)}("humane",this,function(e,t){var n=window,r=document,i={on:function(e,t,r){"addEventListener"in n?e.addEventListener(t,r,!1):e.attachEvent("on"+t,r)},off:function(e,t,r){"removeEventListener"in n?e.removeEventListener(t,r,!1):e.detachEvent("on"+t,r)},bind:function(e,t){return function(){e.apply(t,arguments)}},isArray:Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},config:function(e,t){return null!=e?e:t},transSupport:!1,useFilter:/msie [678]/i.test(navigator.userAgent),_checkTransition:function(){var e=r.createElement("div"),t={webkit:"webkit",Moz:"",O:"o",ms:"MS"};for(var n in t)n+"Transition"in e.style&&(this.vendorPrefix=t[n],this.transSupport=!0)}};i._checkTransition();var o=function(e){e||(e={}),this.queue=[],this.baseCls=e.baseCls||"humane",this.addnCls=e.addnCls||"",this.timeout="timeout"in e?e.timeout:2500,this.waitForMove=e.waitForMove||!1,this.clickToClose=e.clickToClose||!1,this.timeoutAfterMove=e.timeoutAfterMove||!1,this.container=e.container;try{this._setupEl()}catch(t){i.on(n,"load",i.bind(this._setupEl,this))}};return o.prototype={constructor:o,_setupEl:function(){var e=r.createElement("div");if(e.style.display="none",!this.container){if(!r.body)throw"document.body is null";this.container=r.body}this.container.appendChild(e),this.el=e,this.removeEvent=i.bind(function(){var e=i.config(this.currentMsg.timeoutAfterMove,this.timeoutAfterMove);e?setTimeout(i.bind(this.remove,this),e):this.remove()},this),this.transEvent=i.bind(this._afterAnimation,this),this._run()},_afterTimeout:function(){i.config(this.currentMsg.waitForMove,this.waitForMove)?this.removeEventsSet||(i.on(r.body,"mousemove",this.removeEvent),i.on(r.body,"click",this.removeEvent),i.on(r.body,"keypress",this.removeEvent),i.on(r.body,"touchstart",this.removeEvent),this.removeEventsSet=!0):this.remove()},_run:function(){if(!this._animating&&this.queue.length&&this.el){this._animating=!0,this.currentTimer&&(clearTimeout(this.currentTimer),this.currentTimer=null);var e=this.queue.shift(),t=i.config(e.clickToClose,this.clickToClose);t&&(i.on(this.el,"click",this.removeEvent),i.on(this.el,"touchstart",this.removeEvent));var n=i.config(e.timeout,this.timeout);n>0&&(this.currentTimer=setTimeout(i.bind(this._afterTimeout,this),n)),i.isArray(e.html)&&(e.html="
  • "+e.html.join("
  • ")+"
"),this.el.innerHTML=e.html,this.currentMsg=e,this.el.className=this.baseCls,i.transSupport?(this.el.style.display="block",setTimeout(i.bind(this._showMsg,this),50)):this._showMsg()}},_setOpacity:function(e){if(i.useFilter)try{this.el.filters.item("DXImageTransform.Microsoft.Alpha").Opacity=100*e}catch(t){}else this.el.style.opacity=String(e)},_showMsg:function(){var e=i.config(this.currentMsg.addnCls,this.addnCls);if(i.transSupport)this.el.className=this.baseCls+" "+e+" "+this.baseCls+"-animate";else{var t=0;this.el.className=this.baseCls+" "+e+" "+this.baseCls+"-js-animate",this._setOpacity(0),this.el.style.display="block";var n=this,r=setInterval(function(){1>t?(t+=.1,t>1&&(t=1),n._setOpacity(t)):clearInterval(r)},30)}},_hideMsg:function(){var e=i.config(this.currentMsg.addnCls,this.addnCls);if(i.transSupport)this.el.className=this.baseCls+" "+e,i.on(this.el,i.vendorPrefix?i.vendorPrefix+"TransitionEnd":"transitionend",this.transEvent);else var t=1,n=this,r=setInterval(function(){t>0?(t-=.1,0>t&&(t=0),n._setOpacity(t)):(n.el.className=n.baseCls+" "+e,clearInterval(r),n._afterAnimation())},30)},_afterAnimation:function(){i.transSupport&&i.off(this.el,i.vendorPrefix?i.vendorPrefix+"TransitionEnd":"transitionend",this.transEvent),this.currentMsg.cb&&this.currentMsg.cb(),this.el.style.display="none",this._animating=!1,this._run()},remove:function(e){var t="function"==typeof e?e:null;i.off(r.body,"mousemove",this.removeEvent),i.off(r.body,"click",this.removeEvent),i.off(r.body,"keypress",this.removeEvent),i.off(r.body,"touchstart",this.removeEvent),i.off(this.el,"click",this.removeEvent),i.off(this.el,"touchstart",this.removeEvent),this.removeEventsSet=!1,t&&this.currentMsg&&(this.currentMsg.cb=t),this._animating?this._hideMsg():t&&t()},log:function(e,t,n,r){var i={};if(r)for(var o in r)i[o]=r[o];if("function"==typeof t)n=t;else if(t)for(var o in t)i[o]=t[o];return i.html=e,n&&(i.cb=n),this.queue.push(i),this._run(),this},spawn:function(e){var t=this;return function(n,r,i){return t.log.call(t,n,r,i,e),t}},create:function(e){return new o(e)}},new o})},function(e,t,n){(function(e){(function(){var t=!0,n=!1,r={},i=function(){var e={trace:function(){},yy:{},symbols_:{error:2,JSONString:3,STRING:4,JSONNumber:5,NUMBER:6,JSONNullLiteral:7,NULL:8,JSONBooleanLiteral:9,TRUE:10,FALSE:11,JSONText:12,JSONValue:13,EOF:14,JSONObject:15,JSONArray:16,"{":17,"}":18,JSONMemberList:19,JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(e,t,n,r,i,o,a){var s=o.length-1;switch(i){case 1:this.$=e.replace(/\\(\\|")/g,"$1").replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g," ").replace(/\\v/g," ").replace(/\\f/g,"\f").replace(/\\b/g,"\b");break;case 2:this.$=Number(e);break;case 3:this.$=null;break;case 4:this.$=!0;break;case 5:this.$=!1;break;case 6:return this.$=o[s-1];case 13:this.$={};break;case 14:this.$=o[s-1];break;case 15:this.$=[o[s-2],o[s]];break;case 16:this.$={},this.$[o[s][0]]=o[s][1];break;case 17:this.$=o[s-2],o[s-2][o[s][0]]=o[s][1];break;case 18:this.$=[];break;case 19:this.$=o[s-1];break;case 20:this.$=[o[s]];break;case 21:this.$=o[s-2],o[s-2].push(o[s])}},table:[{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],12:1,13:2,15:7,16:8,17:[1,14],23:[1,15]},{1:[3]},{14:[1,16]},{14:[2,7],18:[2,7],22:[2,7],24:[2,7]},{14:[2,8],18:[2,8],22:[2,8],24:[2,8]},{14:[2,9],18:[2,9],22:[2,9],24:[2,9]},{14:[2,10],18:[2,10],22:[2,10],24:[2,10]},{14:[2,11],18:[2,11],22:[2,11],24:[2,11]},{14:[2,12],18:[2,12],22:[2,12],24:[2,12]},{14:[2,3],18:[2,3],22:[2,3],24:[2,3]},{14:[2,4],18:[2,4],22:[2,4],24:[2,4]},{14:[2,5],18:[2,5],22:[2,5],24:[2,5]},{14:[2,1],18:[2,1],21:[2,1],22:[2,1],24:[2,1]},{14:[2,2],18:[2,2],22:[2,2],24:[2,2]},{3:20,4:[1,12],18:[1,17],19:18,20:19},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:23,15:7,16:8,17:[1,14],23:[1,15],24:[1,21],25:22},{1:[2,6]},{14:[2,13],18:[2,13],22:[2,13],24:[2,13]},{18:[1,24],22:[1,25]},{18:[2,16],22:[2,16]},{21:[1,26]},{14:[2,18],18:[2,18],22:[2,18],24:[2,18]},{22:[1,28],24:[1,27]},{22:[2,20],24:[2,20]},{14:[2,14],18:[2,14],22:[2,14],24:[2,14]},{3:20,4:[1,12],20:29},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:30,15:7,16:8,17:[1,14],23:[1,15]},{14:[2,19],18:[2,19],22:[2,19],24:[2,19]},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:31,15:7,16:8,17:[1,14],23:[1,15]},{18:[2,17],22:[2,17]},{18:[2,15],22:[2,15]},{22:[2,21],24:[2,21]}],defaultActions:{16:[2,6]},parseError:function(e,t){throw new Error(e)},parse:function(e){function t(e){i.length=i.length-2*e,o.length=o.length-e,a.length=a.length-e}function n(){var e;return e=r.lexer.lex()||1,"number"!=typeof e&&(e=r.symbols_[e]||e),e}var r=this,i=[0],o=[null],a=[],s=this.table,l="",u=0,c=0,f=0,d=2,p=1;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,"undefined"==typeof this.lexer.yylloc&&(this.lexer.yylloc={});var h=this.lexer.yylloc;a.push(h),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var g,v,m,y,b,w,$,x,_,C={};;){if(m=i[i.length-1],this.defaultActions[m]?y=this.defaultActions[m]:(null==g&&(g=n()),y=s[m]&&s[m][g]),"undefined"==typeof y||!y.length||!y[0]){if(!f){_=[];for(w in s[m])this.terminals_[w]&&w>2&&_.push("'"+this.terminals_[w]+"'");var k="";k=this.lexer.showPosition?"Parse error on line "+(u+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+_.join(", ")+", got '"+this.terminals_[g]+"'":"Parse error on line "+(u+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(k,{text:this.lexer.match,token:this.terminals_[g]||g,line:this.lexer.yylineno,loc:h,expected:_})}if(3==f){if(g==p)throw new Error(k||"Parsing halted.");c=this.lexer.yyleng,l=this.lexer.yytext,u=this.lexer.yylineno,h=this.lexer.yylloc,g=n()}for(;!(d.toString()in s[m]);){if(0==m)throw new Error(k||"Parsing halted.");t(1),m=i[i.length-1]}v=g,g=d,m=i[i.length-1],y=s[m]&&s[m][d],f=3}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+g);switch(y[0]){case 1:i.push(g),o.push(this.lexer.yytext),a.push(this.lexer.yylloc),i.push(y[1]),g=null,v?(g=v,v=null):(c=this.lexer.yyleng,l=this.lexer.yytext,u=this.lexer.yylineno,h=this.lexer.yylloc,f>0&&f--);break;case 2:if($=this.productions_[y[1]][1],C.$=o[o.length-$],C._$={first_line:a[a.length-($||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-($||1)].first_column,last_column:a[a.length-1].last_column},b=this.performAction.call(C,l,c,u,this.yy,y[1],o,a),"undefined"!=typeof b)return b;$&&(i=i.slice(0,-1*$*2),o=o.slice(0,-1*$),a=a.slice(0,-1*$)),i.push(this.productions_[y[1]][0]),o.push(C.$),a.push(C._$),x=s[i[i.length-2]][i[i.length-1]],i.push(x);break;case 3:return!0}}return!0}},t=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parseError)throw new Error(e);this.yy.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var e=this._input[0];this.yytext+=e,this.yyleng++,this.match+=e,this.matched+=e;var t=e.match(/\n/);return t&&this.yylineno++,this._input=this._input.slice(1),e},unput:function(e){return this._input=e+this._input,this},more:function(){return this._more=!0,this},less:function(e){this._input=this.match.slice(e)+this._input},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r,i;this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),a=0;at[0].length)||(t=n,r=a,this.options.flex));a++);return t?(i=t[0].match(/\n.*/g),i&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-1:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,o[r],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e?e:void 0):""===this._input?this.EOF:void this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return"undefined"!=typeof e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)}};return e.options={},e.performAction=function(e,t,n,r){switch(n){case 0:break;case 1:return 6;case 2:return t.yytext=t.yytext.substr(1,t.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},e.rules=[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],e.conditions={INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}},e}();return e.lexer=t,e}();return"undefined"!=typeof t&&"undefined"!=typeof r&&(r.parser=i,r.parse=function(){return i.parse.apply(i,arguments)},r.main=function(n){if(!n[1])throw new Error("Usage: "+n[0]+" FILE");if("undefined"!=typeof e)var i=t("fs").readFileSync(t("path").join(e.cwd(),n[1]),"utf8");else var o=t("file").path(t("file").cwd()),i=o.join(n[1]).read({charset:"utf-8"});return r.parser.parse(i)},"undefined"!=typeof n&&t.main===n&&r.main("undefined"!=typeof e?e.argv.slice(1):t("system").args)),r})()}).call(t,n(9))},function(e,t,n){var r,i;!function(o,a){r=a,i="function"==typeof r?r.call(t,n,t,e):r,!(void 0!==i&&(e.exports=i))}(this,function(){function e(e,t,n){return t>e?t:e>n?n:e}function t(e){return 100*(-1+e)}function n(e,n,r){var i;return i="translate3d"===u.positionUsing?{transform:"translate3d("+t(e)+"%,0,0)"}:"translate"===u.positionUsing?{transform:"translate("+t(e)+"%,0)"}:{"margin-left":t(e)+"%"},i.transition="all "+n+"ms "+r,i}function r(e,t){var n="string"==typeof e?e:a(e);return n.indexOf(" "+t+" ")>=0}function i(e,t){var n=a(e),i=n+t;r(n,t)||(e.className=i.substring(1))}function o(e,t){var n,i=a(e);r(e,t)&&(n=i.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function a(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function s(e){e&&e.parentNode&&e.parentNode.removeChild(e)}var l={};l.version="0.2.0";var u=l.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};l.configure=function(e){var t,n;for(t in e)n=e[t],void 0!==n&&e.hasOwnProperty(t)&&(u[t]=n);return this},l.status=null,l.set=function(t){var r=l.isStarted();t=e(t,u.minimum,1),l.status=1===t?null:t;var i=l.render(!r),o=i.querySelector(u.barSelector),a=u.speed,s=u.easing;return i.offsetWidth,c(function(e){""===u.positionUsing&&(u.positionUsing=l.getPositioningCSS()),f(o,n(t,a,s)),1===t?(f(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout(function(){f(i,{transition:"all "+a+"ms linear",opacity:0}),setTimeout(function(){l.remove(),e()},a)},a)):setTimeout(e,a)}),this},l.isStarted=function(){return"number"==typeof l.status},l.start=function(){l.status||l.set(0);var e=function(){setTimeout(function(){l.status&&(l.trickle(),e())},u.trickleSpeed)};return u.trickle&&e(),this},l.done=function(e){return e||l.status?l.inc(.3+.5*Math.random()).set(1):this},l.inc=function(t){var n=l.status;return n?("number"!=typeof t&&(t=(1-n)*e(Math.random()*n,.1,.95)),n=e(n+t,0,.994),l.set(n)):l.start()},l.trickle=function(){return l.inc(Math.random()*u.trickleRate)},function(){var e=0,t=0;l.promise=function(n){return n&&"resolved"!==n.state()?(0===t&&l.start(),e++,t++,n.always(function(){t--,0===t?(e=0,l.done()):l.set((e-t)/e)}),this):this}}(),l.render=function(e){if(l.isRendered())return document.getElementById("nprogress");i(document.documentElement,"nprogress-busy");var n=document.createElement("div");n.id="nprogress",n.innerHTML=u.template;var r,o=n.querySelector(u.barSelector),a=e?"-100":t(l.status||0),c=document.querySelector(u.parent);return f(o,{transition:"all 0 linear",transform:"translate3d("+a+"%,0,0)"}),u.showSpinner||(r=n.querySelector(u.spinnerSelector),r&&s(r)),c!=document.body&&i(c,"nprogress-custom-parent"),c.appendChild(n),n},l.remove=function(){o(document.documentElement,"nprogress-busy"),o(document.querySelector(u.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&s(e)},l.isRendered=function(){return!!document.getElementById("nprogress")},l.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var c=function(){function e(){var n=t.shift();n&&n(e)}var t=[];return function(n){t.push(n),1==t.length&&e()}}(),f=function(){function e(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})}function t(e){var t=document.body.style;if(e in t)return e;for(var n,r=i.length,o=e.charAt(0).toUpperCase()+e.slice(1);r--;)if(n=i[r]+o,n in t)return n;return e}function n(n){return n=e(n),o[n]||(o[n]=t(n))}function r(e,t,r){t=n(t),e.style[t]=r}var i=["Webkit","O","Moz","ms"],o={};return function(e,t){var n,i,o=arguments;if(2==o.length)for(n in t)i=t[n],void 0!==i&&t.hasOwnProperty(n)&&r(e,n,i);else r(e,o[1],o[2])}}();return l})},function(e,t){/*! Papa Parse - v4.1.2 + v4.1.1 https://github.com/mholt/PapaParse */ -!function(i){"use strict";function o(e,t){if(t=t||{},t.worker&&O.WORKERS_SUPPORTED){var n=h();return n.userStep=t.step,n.userChunk=t.chunk,n.userComplete=t.complete,n.userError=t.error,t.step=$(t.step),t.chunk=$(t.chunk),t.complete=$(t.complete),t.error=$(t.error),delete t.worker,void n.postMessage({input:e,config:t,workerId:n.id})}var r=null;return"string"==typeof e?r=t.download?new l(t):new c(t):(i.File&&e instanceof File||e instanceof Object)&&(r=new u(t)),r.stream(e)}function a(e,t){function n(){"object"==typeof t&&("string"==typeof t.delimiter&&1==t.delimiter.length&&-1==O.BAD_DELIMITERS.indexOf(t.delimiter)&&(l=t.delimiter),("boolean"==typeof t.quotes||t.quotes instanceof Array)&&(s=t.quotes),"string"==typeof t.newline&&(u=t.newline))}function r(e){if("object"!=typeof e)return[];var t=[];for(var n in e)t.push(n);return t}function i(e,t){var n="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var r=e instanceof Array&&e.length>0,i=!(t[0]instanceof Array);if(r){for(var a=0;a0&&(n+=l),n+=o(e[a],a);t.length>0&&(n+=u)}for(var s=0;sf;f++){f>0&&(n+=l);var d=r&&i?e[f]:f;n+=o(t[s][d],f)}s-1||" "==e.charAt(0)||" "==e.charAt(e.length-1);return n?'"'+e+'"':e}function a(e,t){for(var n=0;n-1)return!0;return!1}var s=!1,l=",",u="\r\n";if(n(),"string"==typeof e&&(e=JSON.parse(e)),e instanceof Array){if(!e.length||e[0]instanceof Array)return i(null,e);if("object"==typeof e[0])return i(r(e[0]),e)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),e.data instanceof Array&&(e.fields||(e.fields=e.data[0]instanceof Array?e.fields:r(e.data[0])),e.data[0]instanceof Array||"object"==typeof e.data[0]||(e.data=[e.data])),i(e.fields||[],e.data||[]);throw"exception: Unable to serialize unrecognized input"}function s(e){function t(e){var t=b(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new f(t),this._handle.streamer=this,this._config=t}this._handle=null,this._paused=!1,this._finished=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},t.call(this,e),this.parseChunk=function(e){if(this.isFirstChunk&&$(this._config.beforeFirstChunk)){var t=this._config.beforeFirstChunk(e);void 0!==t&&(e=t)}this.isFirstChunk=!1;var n=this._partialLine+e;this._partialLine="";var r=this._handle.parse(n,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var o=r.meta.cursor;this._finished||(this._partialLine=n.substring(o-this._baseIndex),this._baseIndex=o),r&&r.data&&(this._rowCount+=r.data.length);var a=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(C)i.postMessage({results:r,workerId:O.WORKER_ID,finished:a});else if($(this._config.chunk)){if(this._config.chunk(r,this._handle),this._paused)return;r=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(r.data),this._completeResults.errors=this._completeResults.errors.concat(r.errors),this._completeResults.meta=r.meta),!a||!$(this._config.complete)||r&&r.meta.aborted||this._config.complete(this._completeResults),a||r&&r.meta.paused||this._nextChunk(),r}},this._sendError=function(e){$(this._config.error)?this._config.error(e):C&&this._config.error&&i.postMessage({workerId:O.WORKER_ID,error:e,finished:!1})}}function l(e){function t(e){var t=e.getResponseHeader("Content-Range");return parseInt(t.substr(t.lastIndexOf("/")+1))}e=e||{},e.chunkSize||(e.chunkSize=O.RemoteChunkSize),s.call(this,e);var n;_?this._nextChunk=function(){this._readChunk(),this._chunkLoaded()}:this._nextChunk=function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)return void this._chunkLoaded();if(n=new XMLHttpRequest,_||(n.onload=w(this._chunkLoaded,this),n.onerror=w(this._chunkError,this)),n.open("GET",this._input,!_),this._config.chunkSize){var e=this._start+this._config.chunkSize-1;n.setRequestHeader("Range","bytes="+this._start+"-"+e),n.setRequestHeader("If-None-Match","webkit-no-cache")}try{n.send()}catch(t){this._chunkError(t.message)}_&&0==n.status?this._chunkError():this._start+=this._config.chunkSize},this._chunkLoaded=function(){if(4==n.readyState){if(n.status<200||n.status>=400)return void this._chunkError();this._finished=!this._config.chunkSize||this._start>t(n),this.parseChunk(n.responseText)}},this._chunkError=function(e){var t=n.statusText||e;this._sendError(t)}}function u(e){e=e||{},e.chunkSize||(e.chunkSize=O.LocalChunkSize),s.call(this,e);var t,n,r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?(t=new FileReader,t.onload=w(this._chunkLoaded,this),t.onerror=w(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function c(e){e=e||{},s.call(this,e);var t,n;this.stream=function(e){return t=e,n=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e=this._config.chunkSize,t=e?n.substr(0,e):n;return n=e?n.substr(e):"",this._finished=!n,this.parseChunk(t)}}}function f(e){function t(){if(w&&f&&(l("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+O.DefaultDelimiter+"'"),f=!1),e.skipEmptyLines)for(var t=0;t=y.length?(n.__parsed_extra||(n.__parsed_extra=[]),n.__parsed_extra.push(w.data[t][r])):n[y[r]]=w.data[t][r])}e.header&&(w.data[t]=n,r>y.length?l("FieldMismatch","TooManyFields","Too many fields: expected "+y.length+" fields but parsed "+r,t):r1&&(l+=Math.abs(p-i),i=p):i=p}c.data.length>0&&(u/=c.data.length),("undefined"==typeof r||r>l)&&u>1.99&&(r=l,n=s)}return e.delimiter=n,{successful:!!n,bestDelimiter:n}}function a(e){e=e.substr(0,1048576);var t=e.split("\r");if(1==t.length)return"\n";for(var n=0,r=0;r=t.length/2?"\r\n":"\r"}function s(e){var t=p.test(e);return t?parseFloat(e):e}function l(e,t,n,r){w.errors.push({type:e,code:t,message:n,row:r})}var u,c,f,p=/^\s*-?(\d*\.?\d+|\d+\.?\d*)(e[-+]?\d+)?\s*$/i,h=this,g=0,v=!1,m=!1,y=[],w={data:[],errors:[],meta:{}};if($(e.step)){var x=e.step;e.step=function(r){if(w=r,n())t();else{if(t(),0==w.data.length)return;g+=r.data.length,e.preview&&g>e.preview?c.abort():x(w,h)}}}this.parse=function(n,r,i){if(e.newline||(e.newline=a(n)),f=!1,!e.delimiter){var s=o(n);s.successful?e.delimiter=s.bestDelimiter:(f=!0,e.delimiter=O.DefaultDelimiter),w.meta.delimiter=e.delimiter}var l=b(e);return e.preview&&e.header&&l.preview++,u=n,c=new d(l),w=c.parse(u,r,i),t(),v?{meta:{paused:!0}}:w||{meta:{paused:!1}}},this.paused=function(){return v},this.pause=function(){v=!0,c.abort(),u=u.substr(c.getCharIndex())},this.resume=function(){v=!1,h.streamer.parseChunk(u)},this.aborted=function(){return m},this.abort=function(){m=!0,c.abort(),w.meta.aborted=!0,$(e.complete)&&e.complete(w),u=""}}function d(e){e=e||{};var t=e.delimiter,n=e.newline,r=e.comments,i=e.step,o=e.preview,a=e.fastMode;if(("string"!=typeof t||O.BAD_DELIMITERS.indexOf(t)>-1)&&(t=","),r===t)throw"Comment character same as delimiter";r===!0?r="#":("string"!=typeof r||O.BAD_DELIMITERS.indexOf(r)>-1)&&(r=!1),"\n"!=n&&"\r"!=n&&"\r\n"!=n&&(n="\n");var s=0,l=!1;this.parse=function(e,u,c){function f(e){$.push(e),C=s}function d(t){return c?h():("undefined"==typeof t&&(t=e.substr(s)),_.push(t),s=v,f(_),w&&g(),h())}function p(t){s=t,f(_),_=[],O=e.indexOf(n,s)}function h(e){return{data:$,errors:x,meta:{delimiter:t,linebreak:n,aborted:l,truncated:!!e,cursor:C+(u||0)}}}function g(){i(h()),$=[],x=[]}if("string"!=typeof e)throw"Input must be a string";var v=e.length,m=t.length,y=n.length,b=r.length,w="function"==typeof i;s=0;var $=[],x=[],_=[],C=0;if(!e)return h();if(a||a!==!1&&-1===e.indexOf('"')){for(var k=e.split(n),E=0;E=o)return $=$.slice(0,o),h(!0)}}return h()}for(var S=e.indexOf(t,s),O=e.indexOf(n,s);;)if('"'!=e[s])if(r&&0===_.length&&e.substr(s,b)===r){if(-1==O)return h();s=O+y,O=e.indexOf(n,s),S=e.indexOf(t,s)}else if(-1!==S&&(O>S||-1===O))_.push(e.substring(s,S)),s=S+m,S=e.indexOf(t,s);else{if(-1===O)break;if(_.push(e.substring(s,O)),p(O+y),w&&(g(),l))return h();if(o&&$.length>=o)return h(!0)}else{var T=s;for(s++;;){var T=e.indexOf('"',T+1);if(-1===T)return c||x.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:$.length,index:s}),d();if(T===v-1){var A=e.substring(s,T).replace(/""/g,'"');return d(A)}if('"'!=e[T+1]){if(e[T+1]==t){_.push(e.substring(s,T).replace(/""/g,'"')),s=T+1+m,S=e.indexOf(t,s),O=e.indexOf(n,s);break}if(e.substr(T+1,y)===n){if(_.push(e.substring(s,T).replace(/""/g,'"')),p(T+1+y),S=e.indexOf(t,s),w&&(g(),l))return h();if(o&&$.length>=o)return h(!0);break}}else T++}}return d()},this.abort=function(){l=!0},this.getCharIndex=function(){return s}}function p(){var e=document.getElementsByTagName("script");return e.length?e[e.length-1].src:""}function h(){if(!O.WORKERS_SUPPORTED)return!1;if(!k&&null===O.SCRIPT_PATH)throw new Error("Script path cannot be determined automatically when Papa Parse is loaded asynchronously. You need to set Papa.SCRIPT_PATH manually.");var e=O.SCRIPT_PATH||x;e+=(-1!==e.indexOf("?")?"&":"?")+"papaworker";var t=new i.Worker(e);return t.onmessage=g,t.id=S++,E[t.id]=t,t}function g(e){var t=e.data,n=E[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var i=function(){r=!0,v(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},o={abort:i,pause:m,resume:m};if($(n.userStep)){for(var a=0;a0,i=!(t[0]instanceof Array);if(r){for(var a=0;a0&&(n+=l),n+=o(e[a],a);t.length>0&&(n+=u)}for(var s=0;sf;f++){f>0&&(n+=l);var d=r&&i?e[f]:f;n+=o(t[s][d],f)}s-1||" "==e.charAt(0)||" "==e.charAt(e.length-1);return n?'"'+e+'"':e}function a(e,t){for(var n=0;n-1)return!0;return!1}var s=!1,l=",",u="\r\n";if(n(),"string"==typeof e&&(e=JSON.parse(e)),e instanceof Array){if(!e.length||e[0]instanceof Array)return i(null,e);if("object"==typeof e[0])return i(r(e[0]),e)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),e.data instanceof Array&&(e.fields||(e.fields=e.data[0]instanceof Array?e.fields:r(e.data[0])),e.data[0]instanceof Array||"object"==typeof e.data[0]||(e.data=[e.data])),i(e.fields||[],e.data||[]);throw"exception: Unable to serialize unrecognized input"}function i(e){function n(e){var t=v(e);t.chunkSize=parseInt(t.chunkSize),this._handle=new l(t),this._handle.streamer=this,this._config=t}this._handle=null,this._paused=!1,this._finished=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this._completeResults={data:[],errors:[],meta:{}},n.call(this,e),this.parseChunk=function(e){var n=this._partialLine+e;this._partialLine="";var r=this._handle.parse(n,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var i=r.meta.cursor;this._finished||(this._partialLine=n.substring(i-this._baseIndex),this._baseIndex=i),r&&r.data&&(this._rowCount+=r.data.length);var o=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(w)t.postMessage({results:r,workerId:C.WORKER_ID,finished:o});else if(y(this._config.chunk)){if(this._config.chunk(r,this._handle),this._paused)return;r=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(r.data),this._completeResults.errors=this._completeResults.errors.concat(r.errors),this._completeResults.meta=r.meta),!o||!y(this._config.complete)||r&&r.meta.aborted||this._config.complete(this._completeResults),o||r&&r.meta.paused||this._nextChunk(),r}},this._sendError=function(e){y(this._config.error)?this._config.error(e):w&&this._config.error&&t.postMessage({workerId:C.WORKER_ID,error:e,finished:!1})}}function o(e){function t(e){var t=e.getResponseHeader("Content-Range");return parseInt(t.substr(t.lastIndexOf("/")+1))}e=e||{},e.chunkSize||(e.chunkSize=C.RemoteChunkSize),i.call(this,e);var n;w?this._nextChunk=function(){this._readChunk(),this._chunkLoaded()}:this._nextChunk=function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)return void this._chunkLoaded();if(n=new XMLHttpRequest,w||(n.onload=m(this._chunkLoaded,this),n.onerror=m(this._chunkError,this)),n.open("GET",this._input,!w),this._config.chunkSize){var e=this._start+this._config.chunkSize-1;n.setRequestHeader("Range","bytes="+this._start+"-"+e),n.setRequestHeader("If-None-Match","webkit-no-cache")}try{n.send()}catch(t){this._chunkError(t.message)}w&&0==n.status?this._chunkError():this._start+=this._config.chunkSize},this._chunkLoaded=function(){if(4==n.readyState){if(n.status<200||n.status>=400)return void this._chunkError();this._finished=!this._config.chunkSize||this._start>t(n),this.parseChunk(n.responseText)}},this._chunkError=function(e){var t=n.statusText||e;this._sendError(t)}}function a(e){e=e||{},e.chunkSize||(e.chunkSize=C.LocalChunkSize),i.call(this,e);var t,n,r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?(t=new FileReader,t.onload=m(this._chunkLoaded,this),t.onerror=m(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function s(e){e=e||{},i.call(this,e);var t,n;this.stream=function(e){return t=e,n=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e=this._config.chunkSize,t=e?n.substr(0,e):n;return n=e?n.substr(e):"",this._finished=!n,this.parseChunk(t)}}}function l(e){function t(){if($&&d&&(l("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+C.DefaultDelimiter+"'"),d=!1),e.skipEmptyLines)for(var t=0;t<$.data.length;t++)1==$.data[t].length&&""==$.data[t][0]&&$.data.splice(t--,1);return n()&&r(),i()}function n(){return e.header&&0==w.length}function r(){if($){for(var e=0;n()&&e<$.data.length;e++)for(var t=0;t<$.data[e].length;t++)w.push($.data[e][t]);$.data.splice(0,1)}}function i(){if(!$||!e.header&&!e.dynamicTyping)return $;for(var t=0;t<$.data.length;t++){for(var n={},r=0;r<$.data[t].length;r++){if(e.dynamicTyping){var i=$.data[t][r];"true"==i||"TRUE"==i?$.data[t][r]=!0:"false"==i||"FALSE"==i?$.data[t][r]=!1:$.data[t][r]=s(i)}e.header&&(r>=w.length?(n.__parsed_extra||(n.__parsed_extra=[]),n.__parsed_extra.push($.data[t][r])):n[w[r]]=$.data[t][r])}e.header&&($.data[t]=n,r>w.length?l("FieldMismatch","TooManyFields","Too many fields: expected "+w.length+" fields but parsed "+r,t):r1&&(l+=Math.abs(p-i),i=p):i=p}c/=f.data.length,("undefined"==typeof r||r>l)&&c>1.99&&(r=l,n=s)}return e.delimiter=n,{successful:!!n,bestDelimiter:n}}function a(e){e=e.substr(0,1048576);var t=e.split("\r");if(1==t.length)return"\n";for(var n=0,r=0;r=t.length/2?"\r\n":"\r"}function s(e){var t=p.test(e);return t?parseFloat(e):e}function l(e,t,n,r){$.errors.push({type:e,code:t,message:n,row:r})}var c,f,d,p=/^\s*-?(\d*\.?\d+|\d+\.?\d*)(e[-+]?\d+)?\s*$/i,h=this,g=0,m=!1,b=!1,w=[],$={data:[],errors:[],meta:{}};if(y(e.step)){var x=e.step;e.step=function(r){if($=r,n())t();else{if(t(),0==$.data.length)return;g+=r.data.length,e.preview&&g>e.preview?f.abort():x($,h)}}}this.parse=function(n,r,i){if(e.newline||(e.newline=a(n)),d=!1,!e.delimiter){var s=o(n);s.successful?e.delimiter=s.bestDelimiter:(d=!0,e.delimiter=C.DefaultDelimiter),$.meta.delimiter=e.delimiter}var l=v(e);return e.preview&&e.header&&l.preview++,c=n,f=new u(l),$=f.parse(c,r,i),t(),m?{meta:{paused:!0}}:$||{meta:{paused:!1}}},this.paused=function(){return m},this.pause=function(){m=!0,f.abort(),c=c.substr(f.getCharIndex())},this.resume=function(){m=!1,h.streamer.parseChunk(c)},this.aborted=function(){return b},this.abort=function(){b=!0,f.abort(),$.meta.aborted=!0,y(e.complete)&&e.complete($),c=""}}function u(e){e=e||{};var t=e.delimiter,n=e.newline,r=e.comments,i=e.step,o=e.preview,a=e.fastMode;if(("string"!=typeof t||C.BAD_DELIMITERS.indexOf(t)>-1)&&(t=","),r===t)throw"Comment character same as delimiter";r===!0?r="#":("string"!=typeof r||C.BAD_DELIMITERS.indexOf(r)>-1)&&(r=!1),"\n"!=n&&"\r"!=n&&"\r\n"!=n&&(n="\n");var s=0,l=!1;this.parse=function(e,u,c){function f(e){$.push(e),C=s}function d(t){return c?h():(t||(t=e.substr(s)),_.push(t),s=v,f(_),w&&g(),h())}function p(t){s=t,f(_),_=[],O=e.indexOf(n,s)}function h(e){return{data:$,errors:x,meta:{delimiter:t,linebreak:n,aborted:l,truncated:!!e,cursor:C+(u||0)}}}function g(){i(h()),$=[],x=[]}if("string"!=typeof e)throw"Input must be a string";var v=e.length,m=t.length,y=n.length,b=r.length,w="function"==typeof i;s=0;var $=[],x=[],_=[],C=0;if(!e)return h();if(a||a!==!1&&-1===e.indexOf('"')){for(var k=e.split(n),E=0;E=o)return $=$.slice(0,o),h(!0)}}return h()}for(var S=e.indexOf(t,s),O=e.indexOf(n,s);;)if('"'!=e[s])if(r&&0===_.length&&e.substr(s,b)===r){if(-1==O)return h();s=O+y,O=e.indexOf(n,s),S=e.indexOf(t,s)}else if(-1!==S&&(O>S||-1===O))_.push(e.substring(s,S)),s=S+m,S=e.indexOf(t,s);else{if(-1===O)break;if(_.push(e.substring(s,O)),p(O+y),w&&(g(),l))return h();if(o&&$.length>=o)return h(!0)}else{var T=s;for(s++;;){var T=e.indexOf('"',T+1);if(-1===T)return c||x.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:$.length,index:s}),d();if(T===v-1){var A=e.substring(s,T).replace(/""/g,'"');return d(A)}if('"'!=e[T+1]){if(e[T+1]==t){_.push(e.substring(s,T).replace(/""/g,'"')),s=T+1+m,S=e.indexOf(t,s),O=e.indexOf(n,s);break}if(e.substr(T+1,y)===n){if(_.push(e.substring(s,T).replace(/""/g,'"')),p(T+1+y),S=e.indexOf(t,s),w&&(g(),l))return h();if(o&&$.length>=o)return h(!0);break}}else T++}}return d()},this.abort=function(){l=!0},this.getCharIndex=function(){return s}}function c(){var e=document.getElementsByTagName("script");return e.length?e[e.length-1].src:""}function f(){if(!C.WORKERS_SUPPORTED)return!1;if(!$&&null===C.SCRIPT_PATH)throw new Error("Script path cannot be determined automatically when Papa Parse is loaded asynchronously. You need to set Papa.SCRIPT_PATH manually.");var e=new t.Worker(C.SCRIPT_PATH||b);return e.onmessage=d,e.id=_++,x[e.id]=e,e}function d(e){var t=e.data,n=x[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var i=function(){r=!0,p(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},o={abort:i,pause:h,resume:h};if(y(n.userStep)){for(var a=0;a * @license MIT License, http://www.opensource.org/licenses/MIT */ -!function(){var e=angular.module("restangular",[]);e.provider("Restangular",function(){var e={};e.init=function(e,t){function n(e,t,n,r){var i={};return _.each(_.keys(r),function(o){var a=r[o];a.params=_.extend({},a.params,e.defaultRequestParams[a.method.toLowerCase()]),_.isEmpty(a.params)&&delete a.params,i[o]=e.isSafe(a.method)?function(){return t(_.extend(a,{url:n}))}:function(e){return t(_.extend(a,{url:n,data:e}))}}),i}e.configuration=t;var r=["get","head","options","trace","getlist"];t.isSafe=function(e){return _.contains(r,e.toLowerCase())};var i=/^https?:\/\//i;t.isAbsoluteUrl=function(e){return _.isUndefined(t.absoluteUrl)||_.isNull(t.absoluteUrl)?e&&i.test(e):t.absoluteUrl},t.absoluteUrl=_.isUndefined(t.absoluteUrl)?!0:t.absoluteUrl,e.setSelfLinkAbsoluteUrl=function(e){t.absoluteUrl=e},t.baseUrl=_.isUndefined(t.baseUrl)?"":t.baseUrl,e.setBaseUrl=function(e){return t.baseUrl=/\/$/.test(e)?e.substring(0,e.length-1):e,this},t.extraFields=t.extraFields||[],e.setExtraFields=function(e){return t.extraFields=e,this},t.defaultHttpFields=t.defaultHttpFields||{},e.setDefaultHttpFields=function(e){return t.defaultHttpFields=e,this},t.withHttpValues=function(e,n){return _.defaults(n,e,t.defaultHttpFields)},t.encodeIds=_.isUndefined(t.encodeIds)?!0:t.encodeIds,e.setEncodeIds=function(e){t.encodeIds=e},t.defaultRequestParams=t.defaultRequestParams||{get:{},post:{},put:{},remove:{},common:{}},e.setDefaultRequestParams=function(e,n){var r=[],i=n||e;return _.isUndefined(n)?r.push("common"):_.isArray(e)?r=e:r.push(e),_.each(r,function(e){t.defaultRequestParams[e]=i}),this},e.requestParams=t.defaultRequestParams,t.defaultHeaders=t.defaultHeaders||{},e.setDefaultHeaders=function(n){return t.defaultHeaders=n,e.defaultHeaders=t.defaultHeaders,this},e.defaultHeaders=t.defaultHeaders,t.methodOverriders=t.methodOverriders||[],e.setMethodOverriders=function(e){var n=_.extend([],e);return t.isOverridenMethod("delete",n)&&n.push("remove"),t.methodOverriders=n,this},t.jsonp=_.isUndefined(t.jsonp)?!1:t.jsonp,e.setJsonp=function(e){t.jsonp=e},t.isOverridenMethod=function(e,n){var r=n||t.methodOverriders;return!_.isUndefined(_.find(r,function(t){return t.toLowerCase()===e.toLowerCase()}))},t.urlCreator=t.urlCreator||"path",e.setUrlCreator=function(e){if(!_.has(t.urlCreatorFactory,e))throw new Error("URL Path selected isn't valid");return t.urlCreator=e,this},t.restangularFields=t.restangularFields||{id:"id",route:"route",parentResource:"parentResource",restangularCollection:"restangularCollection",cannonicalId:"__cannonicalId",etag:"restangularEtag",selfLink:"href",get:"get",getList:"getList",put:"put",post:"post",remove:"remove",head:"head",trace:"trace",options:"options",patch:"patch",getRestangularUrl:"getRestangularUrl",getRequestedUrl:"getRequestedUrl",putElement:"putElement",addRestangularMethod:"addRestangularMethod",getParentList:"getParentList",clone:"clone",ids:"ids",httpConfig:"_$httpConfig",reqParams:"reqParams",one:"one",all:"all",several:"several",oneUrl:"oneUrl",allUrl:"allUrl",customPUT:"customPUT",customPOST:"customPOST",customDELETE:"customDELETE",customGET:"customGET",customGETLIST:"customGETLIST",customOperation:"customOperation",doPUT:"doPUT",doPOST:"doPOST",doDELETE:"doDELETE",doGET:"doGET",doGETLIST:"doGETLIST",fromServer:"fromServer",withConfig:"withConfig",withHttpConfig:"withHttpConfig",singleOne:"singleOne",plain:"plain",save:"save",restangularized:"restangularized"},e.setRestangularFields=function(e){return t.restangularFields=_.extend(t.restangularFields,e),this},t.isRestangularized=function(e){return!!e[t.restangularFields.restangularized]},t.setFieldToElem=function(e,t,n){var r=e.split("."),i=t;return _.each(_.initial(r),function(e){i[e]={},i=i[e]}),i[_.last(r)]=n,this},t.getFieldFromElem=function(e,t){var n=e.split("."),r=t;return _.each(n,function(e){r&&(r=r[e])}),angular.copy(r)},t.setIdToElem=function(e,n){return t.setFieldToElem(t.restangularFields.id,e,n),this},t.getIdFromElem=function(e){return t.getFieldFromElem(t.restangularFields.id,e)},t.isValidId=function(e){return""!==e&&!_.isUndefined(e)&&!_.isNull(e)},t.setUrlToElem=function(e,n){return t.setFieldToElem(t.restangularFields.selfLink,e,n),this},t.getUrlFromElem=function(e){return t.getFieldFromElem(t.restangularFields.selfLink,e)},t.useCannonicalId=_.isUndefined(t.useCannonicalId)?!1:t.useCannonicalId,e.setUseCannonicalId=function(e){return t.useCannonicalId=e,this},t.getCannonicalIdFromElem=function(e){var n=e[t.restangularFields.cannonicalId],r=t.isValidId(n)?n:t.getIdFromElem(e);return r},t.responseInterceptors=t.responseInterceptors||[],t.defaultResponseInterceptor=function(e){return e},t.responseExtractor=function(e,n,r,i,o,a){var s=angular.copy(t.responseInterceptors);s.push(t.defaultResponseInterceptor);var l=e;return _.each(s,function(e){l=e(l,n,r,i,o,a)}),l},e.addResponseInterceptor=function(e){return t.responseInterceptors.push(e),this},t.errorInterceptors=t.errorInterceptors||[],e.addErrorInterceptor=function(e){return t.errorInterceptors.push(e),this},e.setResponseInterceptor=e.addResponseInterceptor,e.setResponseExtractor=e.addResponseInterceptor,e.setErrorInterceptor=e.addErrorInterceptor,t.requestInterceptors=t.requestInterceptors||[],t.defaultInterceptor=function(e,t,n,r,i,o,a){return{element:e,headers:i,params:o,httpConfig:a}},t.fullRequestInterceptor=function(e,n,r,i,o,a,s){var l=angular.copy(t.requestInterceptors),u=t.defaultInterceptor(e,n,r,i,o,a,s);return _.reduce(l,function(e,t){return _.extend(e,t(e.element,n,r,i,e.headers,e.params,e.httpConfig))},u)},e.addRequestInterceptor=function(e){return t.requestInterceptors.push(function(t,n,r,i,o,a,s){return{headers:o,params:a,element:e(t,n,r,i),httpConfig:s}}),this},e.setRequestInterceptor=e.addRequestInterceptor,e.addFullRequestInterceptor=function(e){return t.requestInterceptors.push(e),this},e.setFullRequestInterceptor=e.addFullRequestInterceptor,t.onBeforeElemRestangularized=t.onBeforeElemRestangularized||function(e){return e},e.setOnBeforeElemRestangularized=function(e){return t.onBeforeElemRestangularized=e,this},e.setRestangularizePromiseInterceptor=function(e){return t.restangularizePromiseInterceptor=e,this},t.onElemRestangularized=t.onElemRestangularized||function(e){return e},e.setOnElemRestangularized=function(e){return t.onElemRestangularized=e,this},t.shouldSaveParent=t.shouldSaveParent||function(){return!0},e.setParentless=function(e){return _.isArray(e)?t.shouldSaveParent=function(t){return!_.contains(e,t)}:_.isBoolean(e)&&(t.shouldSaveParent=function(){return!e}),this},t.suffix=_.isUndefined(t.suffix)?null:t.suffix,e.setRequestSuffix=function(e){return t.suffix=e,this},t.transformers=t.transformers||{},e.addElementTransformer=function(n,r,i){var o=null,a=null;2===arguments.length?a=r:(a=i,o=r);var s=t.transformers[n];return s||(s=t.transformers[n]=[]),s.push(function(e,t){return _.isNull(o)||e===o?a(t):t}),e},e.extendCollection=function(t,n){return e.addElementTransformer(t,!0,n)},e.extendModel=function(t,n){return e.addElementTransformer(t,!1,n)},t.transformElem=function(e,n,r,i,o){if(!o&&!t.transformLocalElements&&!e[t.restangularFields.fromServer])return e;var a=t.transformers[r],s=e;return a&&_.each(a,function(e){s=e(n,s)}),t.onElemRestangularized(s,n,r,i)},t.transformLocalElements=_.isUndefined(t.transformLocalElements)?!1:t.transformLocalElements,e.setTransformOnlyServerElements=function(e){t.transformLocalElements=!e},t.fullResponse=_.isUndefined(t.fullResponse)?!1:t.fullResponse,e.setFullResponse=function(e){return t.fullResponse=e,this},t.urlCreatorFactory={};var o=function(){};o.prototype.setConfig=function(e){return this.config=e,this},o.prototype.parentsArray=function(e){for(var t=[];e;)t.push(e),e=e[this.config.restangularFields.parentResource];return t.reverse()},o.prototype.resource=function(e,r,i,o,a,s,l,u){var c=_.defaults(a||{},this.config.defaultRequestParams.common),f=_.defaults(o||{},this.config.defaultHeaders);l&&(t.isSafe(u)?f["If-None-Match"]=l:f["If-Match"]=l);var d=this.base(e);if(s){var p="";/\/$/.test(d)||(p+="/"),p+=s,d+=p}return this.config.suffix&&-1===d.indexOf(this.config.suffix,d.length-this.config.suffix.length)&&!this.config.getUrlFromElem(e)&&(d+=this.config.suffix),e[this.config.restangularFields.httpConfig]=void 0,n(this.config,r,d,{getList:this.config.withHttpValues(i,{method:"GET",params:c,headers:f}),get:this.config.withHttpValues(i,{method:"GET",params:c,headers:f}),jsonp:this.config.withHttpValues(i,{method:"jsonp",params:c,headers:f}),put:this.config.withHttpValues(i,{method:"PUT",params:c,headers:f}),post:this.config.withHttpValues(i,{method:"POST",params:c,headers:f}),remove:this.config.withHttpValues(i,{method:"DELETE",params:c,headers:f}),head:this.config.withHttpValues(i,{method:"HEAD",params:c,headers:f}),trace:this.config.withHttpValues(i,{method:"TRACE",params:c,headers:f}),options:this.config.withHttpValues(i,{method:"OPTIONS",params:c,headers:f}),patch:this.config.withHttpValues(i,{method:"PATCH",params:c,headers:f})})};var a=function(){};a.prototype=new o,a.prototype.normalizeUrl=function(e){var t=/(http[s]?:\/\/)?(.*)?/.exec(e);return t[2]=t[2].replace(/[\\\/]+/g,"/"),"undefined"!=typeof t[1]?t[1]+t[2]:t[2]},a.prototype.base=function(e){var n=this;return _.reduce(this.parentsArray(e),function(e,r){var i,o=n.config.getUrlFromElem(r);if(o){if(n.config.isAbsoluteUrl(o))return o;i=o}else if(i=r[n.config.restangularFields.route],r[n.config.restangularFields.restangularCollection]){var a=r[n.config.restangularFields.ids];a&&(i+="/"+a.join(","))}else{var s;s=n.config.useCannonicalId?n.config.getCannonicalIdFromElem(r):n.config.getIdFromElem(r),t.isValidId(s)&&!r.singleOne&&(i+="/"+(n.config.encodeIds?encodeURIComponent(s):s))}return e=e.replace(/\/$/,"")+"/"+i,n.normalizeUrl(e)},this.config.baseUrl)},a.prototype.fetchUrl=function(e,t){var n=this.base(e);return t&&(n+="/"+t),n},a.prototype.fetchRequestedUrl=function(e,n){function r(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t.sort()}function i(e,t,n){for(var i=r(e),o=0;o","\"","'","`","&","<",">",""","'","`","objectTypes","function","0","1","2","4","5","6","7","A","B","C","D","E","F","t","u","v","\\","\n","\r","
","
","freeExports","freeModule","freeGlobal","freeSelf","freeWindow","webpackPolyfill","deprecate","paths","inherit","extra","dst","ancestors","second","objectKeys","inheritParams","currentParams","newParams","$current","$to","parentParams","parents","inherited","inheritList","params","equalForKeys","filterByKeys","$Resolve","$q","$injector","VISIT_IN_PROGRESS","VISIT_DONE","NOTHING","NO_DEPENDENCIES","NO_LOCALS","NO_PARENT","when","$$promises","$$values","study","invocables","visit","visited","cycle","plan","annotate","param","isResolve","then","invocableKeys","locals","$$inheritedValues","resolution","resolve","fail","reason","$$failure","invocable","onfailure","invocation","proceed","isDefined","promise","waitParams","dep","promises","ii","$TemplateFactory","$http","$templateCache","fromConfig","config","fromString","templateUrl","fromUrl","templateProvider","fromProvider","headers","Accept","provider","UrlMatcher","parentMatcher","addParameter","location","paramNames","$$UMFP","Param","quoteRegExp","squash","optional","surroundPattern","matchDetails","isSearch","regexp","segment","cfg","searchPlaceholder","compiled","segments","$$new","ParamSet","isOptional","sourceSearch","sourcePath","strict","$$paramNames","Type","$UrlMatcherFactory","valToString","valFromString","getDefaultConfig","isStrictMode","isCaseInsensitive","isInjectable","flushTypeQueue","typeQueue","$types","injector","def","defaultSquashPolicy","enqueue","defaultTypes","encode","decode","is","int","bool","getFullYear","getMonth","getDate","capture","toISOString","json","toJson","fromJson","$$getDefaultValue","strictMode","compile","isMatcher","definition","definitionFn","$get","unwrapShorthand","isShorthand","$$fn","getType","urlType","getArrayMode","arrayDefaults","arrayParamNomenclature","getSquashPolicy","getReplace","arrayMode","configuredKeys","defaultPolicy","$value","hasReplaceVal","$replace","replacement","$normalize","$asArray","dynamic","$$parent","$$keys","ignore","paramset","paramValues","$$equals","paramValues1","paramValues2","equal","$$validates","rawVal","normalized","encoded","$UrlRouterProvider","$locationProvider","$urlMatcherFactory","regExpPrefix","re","what","handleIfMatch","handler","$match","$location","$rootScope","$browser","appendBasePath","isHtml5","absolute","baseHref","evt","rule","lastPushedUrl","rules","otherwise","listen","listener","$on","interceptDeferred","sync","urlMatcher","$$avoidResync","href","validates","html5Mode","hashPrefix","slash","port","protocol","redirect","handlerIsString","strategies","matcher","regex","sticky","deferIntercept","$inject","$StateProvider","$urlRouterProvider","isRelative","stateName","findState","stateOrName","isStr","pathLength","states","queueState","parentName","flushQueuedChildren","queued","registerState","stateBuilder","$delegates","abstractKey","$stateParams","$state","navigable","transitionTo","isGlob","doesStateMatchGlob","glob","globSegments","MAX_VALUE","decorator","$view","$resolve","$urlRouter","handleRedirect","$broadcast","TransitionAborted","retry","$retry","TransitionFailed","retryTransition","transition","TransitionSuperseded","toParams","resolveState","paramsAreFiltered","resolveViews","viewsPromises","views","injectables","$template","load","globals","notify","controllerProvider","injectLocals","$$controller","controller","$$state","$$controllerAs","controllerAs","TransitionPrevented","reload","go","relative","fromParams","fromPath","toState","redirectResult","keep","toLocals","reloadState","ownParams","shouldSkipReload","resolved","entering","exiting","onExit","onEnter","error","lossy","nav","nonSearchParamsEqual","fromAndToState","notSearchParam","nonQueryParamKeys","nonQueryParams","nonQueryParamSet","reloadOnSearch","compositeName","abstract","$ViewProvider","$templateFactory","async","$ViewScrollProvider","useAnchorScroll","$anchorScroll","$timeout","$element","$ViewDirective","$uiViewScroll","$interpolate","getService","service","getRenderer","attrs","scope","statics","enter","element","cb","leave","$animate","$animator","animate","directive","restrict","terminal","priority","transclude","tElement","tAttrs","$transclude","cleanupLastView","previousEl","currentScope","$destroy","currentEl","renderer","updateView","firstTime","newScope","getUiViewName","previousLocals","latestLocals","$new","$emit","autoScrollExp","$eval","onloadExp","autoscroll","$ViewDirectiveFill","$compile","$controller","html","contents","$scope","uiView","inheritedData","parseStateRef","parsed","preparsed","paramExpr","stateContext","el","stateData","$StateRefDirective","allowedOptions","require","uiSrefActive","uiSref","hrefKind","newHref","isAnchor","isForm","attr","optionsOverride","uiSrefOpts","newVal","activeDirective","$$addStateInfo","$set","$watch","oldVal","ignorePreventDefaultCount","$StateRefActiveDirective","$attrs","anyMatch","activeClass","removeClass","uiSrefActiveEq","newState","$IsStateFilter","$stateful","$IncludedByStateFilter","includesFilter","defaultConfig","searchParams","decodePathArray","reverseString","unquoteDashes","allReversed","paramName","parameters","nTotal","nPath","paramVal","encodeDashes","encodeURIComponent","isPathParam","isDefaultValue","nextSegment","$subPattern","ArrayType","bindTo","callbackName","arrayWrap","arrayUnwrap","falsey","arrayHandler","allTruthyMode","arrayEqualsHandler","val1","val2","$arrayMode","_MenuMenu","_MenuMenu2","_Collection","_Collection2","_Dashboard","_Dashboard2","debug","_customTemplate","viewName","_menu","_dashboard","_layout","_header","_entities","defaultErrorMessage","_debug","JSON","stringify","status","entities","viewUrl","baseApiUrl","getUrl","buildMenuFromEntities","populateFromEntity","buildDashboardFromEntities","dashboardView","addCollection","hasCollections","listView","sortDir","foundEntity","getErrorMessage","getEntity","DataStore","_entries","entries","getEntries","targetEntity","targetField","referencedValues","fillSimpleReference","fillReferencesValuesFromEntry","log","referenceField","getReferenceChoicesById","targetIdentifier","_Application","_Application2","_DataStoreDataStore","_DataStoreDataStore2","_UtilsPromisesResolver","_UtilsPromisesResolver2","_QueriesReadQueries","_QueriesReadQueries2","_QueriesWriteQueries","_QueriesWriteQueries2","_FieldBooleanField","_FieldBooleanField2","_FieldChoiceField","_FieldChoiceField2","_FieldChoicesField","_FieldChoicesField2","_FieldDateField","_FieldDateField2","_FieldDateTimeField","_FieldDateTimeField2","_FieldEmailField","_FieldEmailField2","_FieldFloatFieldJs","_FieldFloatFieldJs2","_FieldFileField","_FieldFileField2","_FieldJsonField","_FieldJsonField2","_FieldNumberField","_FieldNumberField2","_FieldPasswordField","_FieldPasswordField2","_FieldReferenceField","_FieldReferenceField2","_FieldReferencedListField","_FieldReferencedListField2","_FieldReferenceManyField","_FieldReferenceManyField2","_FieldTemplateField","_FieldTemplateField2","_FieldTextField","_FieldTextField2","_FieldWysiwygField","_FieldWysiwygField2","Factory","_fieldTypes","_init","registerFieldType","_ChoiceField2","_ChoiceField3","BooleanField","_ChoiceField","ChoicesField","_DateField2","_DateField3","DateTimeField","_DateField","EmailField","FileField","_uploadInformation","accept","information","_NumberField2","_NumberField3","FloatField","_NumberField","JsonField","PasswordField","_ReferenceField2","_ReferenceField3","ReferenceManyField","_ReferenceField","ReferencedListField","_targetReferenceField","_targetFields","columns","TemplateField","TextField","WysiwygField","_stripTags","_sanitize","_Queries2","_Queries3","ReadQueries","_Queries","getOne","getRouteFor","retrieveMethod","page","filterValues","getSortFieldName","allFilterValues","getRawValues","totalItems","totalCount","filterFields","_page","filterName","mappedValue","hasMaps","getList","calls","getIdentifierValues","fillFilteredReferencedData","singleCallFilters","fillOptimizedReferencedData","_loop","searchQuery","filterValuesFromRemoteComplete","apiCalls","allEvenFailed","responses","referencedData","referencedLists","entityId","referencedList","datagridName","currentSortField","currentSortDir","targetReferenceField","ids","WriteQueries","rawEntity","createOne","createMethod","originEntityId","updateOne","updateMethod","deleteOne","deleteMethod","entityIds","Promise","resolveSuccess","resolveError","_ListView2","_ListView3","polyfill","factory","ngadmin","NgAdminConfigurationProvider","AdminDescription","setAdminDescription","uiSelectConfig","CrudModule","humane","clickToClose","maBackButtonDirective","$window","back","maBatchDeleteButtonDirective","gotoBatchDelete","maCreateButtonDirective","gotoCreate","maDeleteButtonDirective","gotoDelete","maEditButtonDirective","gotoEdit","maExportToCsvButton","Papa","notification","entryFormatter","datastore","exportView","exportFields","has_export","formatEntry","getFormatter","exportToCsv","rawEntries","nonOptimizedReferencedData","optimizedReferencedData","getAll","getFilteredReferenceData","getNonOptimizedReferences","nonOptimizedReference","getOptimizedReferencedData","getOptimizedReferences","optimizedReference","referencedEntries","getEntryConstructor","setEntries","mapEntries","fillReferencesValuesFromCollection","csv","unparse","fakeLink","click","addnCls","maFilteredListButtonDirective","gotoList","maListButtonDirective","parentEntityName","$parent","maShowButtonDirective","gotoShow","maViewBatchActionsDirective","buttons","isopen","toggleDropdown","$event","customTemplate","maBooleanColumn","maChoicesColumn","maColumn","Configuration","FieldViewConfiguration","getDetailLinkRouteName","showView","detailLinkRoute","editionView","relatedEntity","append","gotoDetail","gotoReference","referenceEntity","referenceId","maDateColumn","maJsonColumn","guessType","newElement","replaceWith","maNumberColumn","maReferenceManyColumn","maReferenceManyLinkColumn","maStringColumn","maTemplateColumn","maWysiwygColumn","$filter","stripTags","htmlValue","factories","fvp","registerFieldView","BatchDeleteController","description","loadingPage","destroy","batchDelete","DeleteController","entityLabel","datepickerPopup","$formatters","maButtonField","attributes","maCheckboxField","updateChoices","$root","$$phase","$digest","maChoiceField","newValue","oldValue","refreshAttributes","post","maChoicesField","maDateField","rawValue","parse","isOpen","toggleDatePicker","maField","writeWidgetTypes","fieldView","getClassesForField","getCssClasses","getInputForField","fieldHasValidation","$dirty","fieldIsValid","$valid","getFieldValidationClass","maFileField","Upload","uploadInformation","multiple","apifilename","progress","fileSelected","selectedFiles","uploadParams","upload","success","apiNames","fileindex","selectFile","maInputField","maJsonField","jsonValue","codemirror","jsonlint","maReferenceField","ReferenceRefresher","formattedResults","getInitialChoices","maReferenceManyField","maTemplateField","maTextField","maWysiwygField","uiSelectRequired","elm","$validators","modelValue","viewValue","determineVal","fieldViews","FieldView","maFilterDirective","filterWidgetTypes","removeFilter","shouldFilter","maFilterButtonDirective","enabledFilters","enableFilter","notYetEnabledFilters","hasFilters","FormController","progression","dataStore","getFirstEntry","validateEntry","validate","submitCreation","rawEntry","mapEntry","handleError","submitEdition","_this2","errorMessage","getErrorMessageFor","ListController","listActions","infinitePagination","nextPageCallback","nextPage","setPageCallback","setPage","selectionUpdater","addEntry","ListLayoutController","batchActions","newValues","oldValues","updateFilters","pinned","focusedFilterId","getElementById","maDatagridDirective","maDatagridController","DatagridController","shouldDisplayActions","toggleSelect","toggleSelectAll","isSorting","getSortName","itemClass","DatagridInfinitePaginationDirective","$document","windowElement","nbPages","unbind","DatagridItemSelectorDirective","isInSelection","s","DatagridMultiSelectorDirective","indeterminate","DatagridPaginationDirective","paginationView","DatagridPaginationController","offsetEnd","offsetBegin","displayPagination","ListActionsDirective","Compile","transcludeFn","unbindWatcher","compileOnce","EntryFormatter","formatDate","formatNumber","formatField","fieldsFormatters","formatter","getPromisesResolver","Restangular","setFullResponse","oneUrl","allUrl","resource","customOperation","customPOST","customPUT","customDELETE","ViewActionsDirective","batchButtons","viewActionsTemplate","getReadQueries","currentValue","referenceFields","getAllReferencedData","_transformRecords","_removeDuplicates","getRecordsByIds","records","fr","valueFieldName","labelFieldName","getWriteQueries","defaultView","getViewByEntityAndType","viewProvider","error404","dataStoreProvider","getDataStore","entryConstructorProvider","routing","$stateProvider","listLayoutTemplate","filterData","getFilterReferences","filterEntries","grid","listTemplate","showTemplate","referencedListData","getReferencedLists","getReferencedListData","referencedListEntries","targetFields","entryWithReferences","createTemplate","getFields","choiceData","choiceEntries","editTemplate","deleteTemplate","batchDeleteTemplate","ShowController","maJsonValidator","$isEmpty","MainModule","AppController","application","applicationName","header","displayHome","DashboardController","collections","hasEntities","maDashboardPanel","maMenuBar","render","menuBarView","closeMenu","elements","getElementsForMenu","ul","arrow","openMenu","parentLi","li","liElement","openMenus","toggleMenu","gotoLink","OrderElement","field1","field2","NgAdminConfiguration","$compileProvider","adminDescription","configure","debugInfoEnabled","http","$httpProvider","useApplyAsync","layout","layoutTemplate","dashboardTemplate","collectionSortField","collectionSortDir","collectionName","errorTemplate","errorHandler","fromState","loader","minErr","ErrorConstructor","templateArgs","toDebugString","isWindow","NODE_TYPE_ELEMENT","iterator","isPrimitive","sortedKeys","forEachSorted","reverseParams","iteratorFn","nextUid","uid","setHashKey","$$hashKey","jj","$","valueFn","isScope","$evalAsync","isFile","isFormData","isBlob","isPromiseLike","makeMap","items","nodeName_","lowercase","arrayRemove","destination","stackSource","stackDest","ngMinErr","emptyObject","shallowCopy","o1","o2","keySet","t1","t2","array1","array2","sliceArgs","curryArgs","toJsonReplacer","pretty","startingTag","jqLite","elemHtml","NODE_TYPE_TEXT","tryDecodeURIComponent","decodeURIComponent","parseKeyValue","keyValue","key_value","toKeyValue","arrayValue","encodeUriQuery","encodeUriSegment","pctEncodeSpaces","getNgAttribute","ngAttr","ngAttrPrefixes","angularInit","bootstrap","appElement","hasAttribute","candidate","querySelector","strictDi","doBootstrap","$provide","createInjector","$apply","NG_ENABLE_DEBUG_INFO","NG_DEFER_BOOTSTRAP","resumeBootstrap","extraModules","resumeDeferredBootstrap","reloadWithDebugInfo","getTestability","rootElement","snake_case","SNAKE_CASE_REGEXP","bindJQuery","originalCleanData","bindJQueryFired","jQuery","JQLitePrototype","isolateScope","cleanData","elems","skipDestroyOnNextJQueryCleanData","elem","_data","triggerHandler","JQLite","assertArg","assertArgFn","acceptArrayAnnotation","assertNotHasOwnProperty","bindFnToScope","lastInstance","getBlockNodes","nodes","blockNodes","createMap","setupModuleLoader","$injectorMinErr","$$minErr","requires","configFn","invokeLater","insertMethod","invokeQueue","moduleInstance","configBlocks","runBlocks","_invokeQueue","_configBlocks","_runBlocks","animation","block","serializeObject","publishExternalAPI","uppercase","$$csp","csp","angularModule","$LocaleProvider","$$sanitizeUri","$$SanitizeUriProvider","$CompileProvider","htmlAnchorDirective","inputDirective","formDirective","script","scriptDirective","selectDirective","styleDirective","optionDirective","ngBind","ngBindDirective","ngBindHtml","ngBindHtmlDirective","ngBindTemplate","ngBindTemplateDirective","ngClass","ngClassDirective","ngClassEven","ngClassEvenDirective","ngClassOdd","ngClassOddDirective","ngCloak","ngCloakDirective","ngController","ngControllerDirective","ngForm","ngFormDirective","ngHide","ngHideDirective","ngIf","ngIfDirective","ngInclude","ngIncludeDirective","ngInit","ngInitDirective","ngNonBindable","ngNonBindableDirective","ngPluralize","ngPluralizeDirective","ngRepeat","ngRepeatDirective","ngShow","ngShowDirective","ngStyle","ngStyleDirective","ngSwitch","ngSwitchDirective","ngSwitchWhen","ngSwitchWhenDirective","ngSwitchDefault","ngSwitchDefaultDirective","ngOptions","ngOptionsDirective","ngTransclude","ngTranscludeDirective","ngModel","ngModelDirective","ngList","ngListDirective","ngChange","ngChangeDirective","patternDirective","ngPattern","requiredDirective","ngRequired","minlengthDirective","ngMinlength","maxlengthDirective","ngMaxlength","ngValue","ngValueDirective","ngModelOptions","ngModelOptionsDirective","ngIncludeFillContentDirective","ngAttributeAliasDirectives","ngEventDirectives","$AnchorScrollProvider","$AnimateProvider","$BrowserProvider","$cacheFactory","$CacheFactoryProvider","$ControllerProvider","$DocumentProvider","$exceptionHandler","$ExceptionHandlerProvider","$FilterProvider","$InterpolateProvider","$interval","$IntervalProvider","$HttpProvider","$httpBackend","$HttpBackendProvider","$LocationProvider","$log","$LogProvider","$parse","$ParseProvider","$RootScopeProvider","$QProvider","$$q","$$QProvider","$sce","$SceProvider","$sceDelegate","$SceDelegateProvider","$sniffer","$SnifferProvider","$TemplateCacheProvider","$templateRequest","$TemplateRequestProvider","$$testability","$$TestabilityProvider","$TimeoutProvider","$WindowProvider","$$rAF","$$RAFProvider","$$asyncCallback","$$AsyncCallbackProvider","$$jqLite","$$jqLiteProvider","jqNextId","jqId","SPECIAL_CHARS_REGEXP","MOZ_HACK_REGEXP","jqLiteIsTextNode","HTML_REGEXP","jqLiteAcceptsData","NODE_TYPE_DOCUMENT","jqLiteBuildFragment","TAG_NAME_REGEXP","wrapMap","_default","innerHTML","XHTML_TAG_REGEXP","jqLiteParseHTML","SINGLE_TAG_REGEXP","argIsString","jqLiteMinErr","jqLiteAddNodes","jqLiteClone","jqLiteDealoc","onlyDescendants","jqLiteRemoveData","querySelectorAll","descendants","jqLiteOff","unsupported","expandoStore","jqLiteExpandoStore","listenerFns","removeEventListenerFn","expandoId","ng339","jqCache","createIfNecessary","jqLiteData","isSimpleSetter","isSimpleGetter","massGetter","jqLiteHasClass","selector","jqLiteRemoveClass","cssClasses","cssClass","jqLiteAddClass","existingClasses","jqLiteController","jqLiteInheritedData","NODE_TYPE_DOCUMENT_FRAGMENT","jqLiteEmpty","jqLiteRemove","keepData","jqLiteDocumentLoaded","win","readyState","getBooleanAttrName","booleanAttr","BOOLEAN_ATTR","BOOLEAN_ELEMENTS","getAliasedAttrName","ALIASED_ATTR","createEventHandler","eventHandler","isDefaultPrevented","eventFns","eventFnsLength","immediatePropagationStopped","originalStopImmediatePropagation","stopImmediatePropagation","isImmediatePropagationStopped","hasClass","hashKey","nextUidFn","objType","HashMap","isolatedUid","put","anonFn","fnText","STRIP_COMMENTS","FN_ARGS","argDecl","FN_ARG_SPLIT","FN_ARG","underscore","modulesToLoad","supportObject","delegate","provider_","providerInjector","instantiate","providerCache","providerSuffix","enforceReturnValue","instanceInjector","factoryFn","enforce","instanceCache","serviceName","decorFn","origProvider","orig$get","origInstance","$delegate","loadModules","moduleFn","runInvokeQueue","invokeArgs","loadedModules","stack","createInternalInjector","caller","INSTANTIATING","err","$$annotate","returnedValue","autoScrollingEnabled","disableAutoScrolling","getFirstAnchor","getYOffset","yOffset","elemTop","scrollBy","getElementsByName","supported","Browser","completeOutstandingRequest","outstandingRequestCount","outstandingRequestCallbacks","getHash","startPoller","interval","pollFns","pollFn","pollTimeout","cacheStateAndFireUrlChange","cacheState","fireUrlChange","getCurrentState","cachedState","lastCachedState","lastBrowserUrl","lastHistoryState","urlChangeListeners","safeDecodeURIComponent","rawDocument","pendingDeferIds","isMock","$$completeOutstandingRequest","$$incOutstandingRequestCount","notifyWhenNoOutstandingRequests","addPollFn","baseElement","reloadLocation","sameState","sameBase","stripHash","urlChangeInit","onUrlChange","$$checkUrlChange","lastCookies","lastCookieString","cookiePath","cookies","cookieLength","cookieArray","cookie","deferId","cacheFactory","cacheId","freshEnd","staleEnd","nextEntry","prevEntry","stats","capacity","lruHash","lruEntry","removeAll","$$sanitizeUriProvider","parseIsolateBindings","directiveName","LOCAL_REGEXP","bindings","scopeName","$compileMinErr","attrName","assertValidDirectiveName","hasDirectives","Suffix","COMMENT_DIRECTIVE_REGEXP","CLASS_DIRECTIVE_REGEXP","ALL_OR_NOTHING_ATTRS","REQUIRE_PREFIX_REGEXP","EVENT_HANDLER_ATTR_REGEXP","registerDirective","directiveFactory","directives","$$isolateBindings","aHrefSanitizationWhitelist","imgSrcSanitizationWhitelist","safeAddClass","$compileNodes","maxPriority","ignoreDirective","previousCompileContext","compositeLinkFn","compileNodes","$$addScopeClass","namespace","cloneConnectFn","parentBoundTranscludeFn","transcludeControllers","futureParentElement","$$boundTransclude","detectNamespaceForChildElements","$linkNode","wrapTemplate","controllerName","$$addScopeInfo","nodeList","$rootElement","nodeLinkFn","childLinkFn","childScope","idx","childBoundTranscludeFn","stableNodeList","nodeLinkFnFound","nodeListLength","linkFns","transcludeOnThisElement","createBoundTranscludeFn","elementTranscludeOnThisElement","templateOnThisElement","linkFnFound","Attributes","collectDirectives","applyDirectivesToNode","$$element","previousBoundTranscludeFn","elementTransclusion","boundTranscludeFn","transcludedScope","cloneFn","controllers","containingScope","$$transcluded","attrsMap","$attr","addDirective","directiveNormalize","nName","ngAttrName","isNgAttr","nAttrs","attrStartName","attrEndName","NG_ATTR_BINDING","PREFIX_REGEXP","directiveNName","directiveIsMultiElement","addAttrInterpolateDirective","animVal","addTextInterpolateDirective","NODE_TYPE_COMMENT","byPriority","groupScan","attrStart","attrEnd","depth","groupElementsLinkFnWrapper","linkFn","compileNode","templateAttrs","jqCollection","originalReplaceDirective","preLinkFns","postLinkFns","addLinkFns","newIsolateScopeDirective","$$isolateScope","cloneAndAnnotateFn","getControllers","elementControllers","retrievalMethod","$searchElement","linkNode","controllersBoundTransclude","cloneAttachFn","hasElementTranscludeDirective","scopeToChild","controllerDirectives","controllerInstance","templateDirective","$$originalDirective","isolateScopeController","isolateBindingContext","bindToController","lastValue","parentGet","parentSet","compare","$observe","$$observers","$$scope","literal","parentValueWatch","parentValue","unwatch","$watchCollection","invokeLinkFn","newScopeDirective","directiveValue","terminalPriority","nonTlbTranscludeDirective","hasTranscludeDirective","hasTemplate","$compileNode","replaceDirective","childTranscludeFn","$$start","$$end","assertNoDuplicate","$$tlb","createComment","denormalizeTemplate","removeComments","templateNamespace","newTemplateAttrs","templateDirectives","unprocessedDirectives","markDirectivesAsIsolate","mergeTemplateAttributes","compileTemplateUrl","tDirectives","startAttrName","endAttrName","multiElement","srcAttr","dstAttr","afterTemplateNodeLinkFn","afterTemplateChildLinkFn","linkQueue","beforeTemplateCompileNode","origAsyncDirective","derivedSyncDirective","tempTemplateAttrs","beforeTemplateLinkNode","linkRootElement","$$destroyed","oldClasses","ignoreChildLinkFn","previousDirective","interpolateFn","templateNode","templateNodeParent","hasCompileParent","$$addBindingClass","$$addBindingInfo","expressions","getTrustedContext","attrNormalizedName","HTML","RESOURCE_URL","allOrNothing","trustedContext","$$inter","$updateClass","elementsToRemove","newNode","firstElementToRemove","removeCount","j2","expando","kk","annotation","attributesToCopy","$addClass","classVal","$removeClass","newClasses","toAdd","tokenDifference","toRemove","writeAttr","booleanKey","aliasedKey","observer","trimmedSrcset","srcPattern","rawUris","nbrUrisWith2parts","innerIdx","lastTuple","removeAttr","listeners","startSymbol","endSymbol","isolated","noTemplate","dataName","str1","str2","tokens1","tokens2","jqNodes","CNTRL_REG","register","allowGlobals","addIdentifier","expression","later","ident","$controllerMinErr","controllerPrototype","exception","cause","defaultHttpResponseTransform","tempData","JSON_PROTECTION_PREFIX","contentType","APPLICATION_JSON","isJsonLike","jsonStart","JSON_START","JSON_ENDS","parseHeaders","headersGetter","headersObj","transformData","fns","isSuccess","transformResponse","transformRequest","common","CONTENT_TYPE_APPLICATION_JSON","patch","xsrfCookieName","xsrfHeaderName","interceptorFactories","interceptors","requestConfig","resp","executeHeaderFns","headerContent","processedHeaders","headerFn","mergeHeaders","defHeaderName","lowercaseDefHeaderName","reqHeaderName","defHeaders","reqHeaders","defaultHeadersIteration","serverRequest","reqData","withCredentials","sendReq","reversedInterceptors","request","requestError","responseError","thenFn","rejectFn","createShortMethods","createShortMethodsWithData","headersString","statusText","resolveHttpPromise","resolvePromise","$applyAsync","deferred","resolvePromiseWithResult","removePendingReq","pendingRequests","cachedResp","buildUrl","defaultCache","xsrfValue","urlIsSameOrigin","responseType","interceptorFactory","createXhr","XMLHttpRequest","createHttpBackend","$browserDefer","jsonpReq","callbackId","called","addEventListenerFn","timeoutRequest","jsonpDone","xhr","abort","completeRequest","open","setRequestHeader","responseText","urlResolve","getAllResponseHeaders","onerror","onabort","send","mustHaveExpression","unescapeText","escapedStartRegexp","escapedEndRegexp","parseStringifyInterceptor","newErr","$interpolateMinErr","endIndex","exp","parseFns","textLength","expressionPositions","startSymbolLength","endSymbolLength","getTrusted","$$watchDelegate","objectEquality","$watchGroup","currValue","invokeApply","iteration","skipApply","$$intervalId","intervals","NUMBER_FORMATS","DECIMAL_SEP","GROUP_SEP","PATTERNS","minInt","minFrac","maxFrac","posPre","posSuf","negPre","negSuf","gSize","lgSize","CURRENCY_SYM","DATETIME_FORMATS","MONTH","SHORTMONTH","DAY","SHORTDAY","AMPMS","medium","short","fullDate","longDate","mediumDate","shortDate","mediumTime","shortTime","ERANAMES","ERAS","pluralCat","num","encodePath","parseAbsoluteUrl","absoluteUrl","locationObj","parsedUrl","$$protocol","$$host","hostname","$$port","DEFAULT_PORTS","parseAppUrl","relativeUrl","prefixed","$$path","pathname","$$search","$$hash","beginsWith","begin","whole","trimEmptyHash","stripFile","serverBase","LocationHtml5Url","appBase","basePrefix","$$html5","appBaseNoFile","$$parse","pathUrl","$locationMinErr","$$compose","$$url","$$absUrl","$$parseLinkUrl","relHref","appUrl","prevAppUrl","rewrittenUrl","LocationHashbangUrl","removeWindowsDriveName","firstPathSegmentMatch","windowsFilePathExp","withoutHashUrl","withoutBaseUrl","LocationHashbangInHtml5Url","locationGetter","locationGetterSetter","preprocess","requireBase","rewriteLinks","setBrowserUrlWithFallback","oldUrl","oldState","afterLocationChange","absUrl","LocationMode","initialUrl","IGNORE_URI_REGEXP","absHref","initializing","newUrl","currentReplace","$$replace","urlOrStateChanged","debugEnabled","formatError","consoleLog","logFn","hasApply","arg1","arg2","ensureSafeMemberName","fullExpression","$parseMinErr","ensureSafeObject","ensureSafeFunction","CALL","APPLY","BIND","isConstant","fullExp","propertyObj","isPossiblyDangerousMemberName","cspSafeGetterFn","key0","key1","key2","key3","key4","expensiveChecks","eso","eso0","eso1","eso2","eso3","eso4","pathVal","getterFnWithEnsureSafeObject","getterFn","getterFnCache","getterFnCacheExpensive","getterFnCacheDefault","pathKeys","pathKeysLength","needsEnsureSafeObject","lookupJs","evaledFnGetter","sharedGetter","getValueOf","objectValueOf","cacheDefault","cacheExpensive","wrapSharedExpression","collectExpressionInputs","inputs","expressionInputDirtyCheck","oldValueOfValue","inputsWatchDelegate","parsedExpression","lastResult","inputExpressions","$$inputs","oldInputValue","newInputValue","oldInputValueOfValues","oneTimeWatchDelegate","$$postDigest","oneTimeLiteralWatchDelegate","isAllDefined","allDefined","constantWatchDelegate","addInterceptor","interceptorFn","watchDelegate","regularWatch","$parseOptions","$parseOptionsExpensive","oneTime","cacheKey","parseOptions","lexer","Lexer","parser","Parser","qFactory","exceptionHandler","callOnce","resolveFn","simpleBind","processQueue","pending","processScheduled","scheduleProcessQueue","Deferred","$qMinErr","onFulfilled","onRejected","progressBack","catch","finally","handleCallback","$$reject","$$resolve","makePromise","isResolved","callbackOutput","errback","$Q","Q","flush","taskQueue","task","taskCount","queueFn","asyncFn","cancelLastRAF","rafFn","requestAnimationFrame","webkitRequestAnimationFrame","cancelAnimationFrame","webkitCancelAnimationFrame","webkitCancelRequestAnimationFrame","rafSupported","timer","createChildScopeClass","ChildScope","$$watchers","$$nextSibling","$$childHead","$$childTail","$$listeners","$$listenerCount","$id","$$ChildScope","TTL","$rootScopeMinErr","lastDirtyWatch","applyAsyncId","digestTtl","destroyChildScope","Scope","$$prevSibling","beginPhase","phase","clearPhase","decrementListenerCount","initWatchVal","flushApplyAsync","applyAsyncQueue","scheduleApplyAsync","isolate","watchExp","watcher","watchExpressions","watchGroupAction","changeReactionScheduled","firstRun","deregisterFns","shouldCall","expr","unwatchFn","$watchCollectionInterceptor","_value","newLength","bothNaN","newItem","oldItem","internalArray","oldLength","changeDetected","internalObject","$watchCollectionAction","initRun","veryOldValue","trackVeryOldValue","changeDetector","watch","watchers","logIdx","asyncTask","ttl","watchLog","asyncQueue","traverseScopesLoop","msg","postDigestQueue","eventName","$applyAsyncExpression","namedListeners","indexOfListener","targetScope","listenerArgs","$$asyncQueue","$$postDigestQueue","$$applyAsyncQueue","uri","isImage","normalizedVal","adjustMatcher","$sceMinErr","escapeForRegexp","adjustMatchers","matchers","adjustedMatchers","SCE_CONTEXTS","resourceUrlWhitelist","resourceUrlBlacklist","matchUrl","isResourceUrlAllowedByPolicy","allowed","generateHolderType","Base","holderType","trustedValue","$$unwrapTrustedValue","trustAs","byType","maybeTrusted","trustedValueHolderBase","htmlSanitizer","CSS","URL","JS","msie","sce","isEnabled","parseAs","enumValue","lName","vendorPrefix","eventSupport","android","boxee","vendorRegex","bodyStyle","transitions","animations","webkitTransition","webkitAnimation","pushState","hasEvent","divElm","handleRequestFn","tpl","ignoreRequestError","totalPendingRequests","getTrustedResourceUrl","transformer","httpOptions","testability","findBindings","opt_exactMatch","dataBinding","bindingName","findModels","prefixes","attributeEquals","getLocation","setLocation","whenStable","deferreds","$$timeoutId","urlParsingNode","requestUrl","originUrl","suffix","currencyFilter","dateFilter","filterFilter","jsonFilter","limitToFilter","lowercaseFilter","numberFilter","orderByFilter","uppercaseFilter","predicateFn","matchAgainstAnyProp","expressionType","createPredicateFn","shouldMatchPrimitives","actual","expected","deepCompare","dontMatchWholeObject","actualType","expectedType","expectedVal","matchAnyProperty","actualVal","$locale","formats","currencySymbol","fractionSize","groupSep","decimalSep","isNegative","numStr","formatedText","hasExponent","toFixed","fractionLen","fraction","lgroup","padNumber","digits","neg","dateGetter","dateStrGetter","shortForm","timeZoneGetter","zone","paddedZone","getFirstThursdayOfYear","year","dayOfWeekOnFirst","getDay","getThursdayThisWeek","datetime","weekGetter","firstThurs","thisThurs","ampmGetter","getHours","eraGetter","longEraGetter","jsonStringToDate","R_ISO8601_STR","tzHour","tzMin","dateSetter","setUTCFullYear","setFullYear","timeSetter","setUTCHours","setHours","timezone","NUMBER_STRING","DATE_FORMATS_SPLIT","DATE_FORMATS","spacing","sortPredicate","reverseOrder","reverseComparator","descending","objectToString","v1","v2","ngDirective","nullFormRenameControl","control","$name","controls","parentForm","$$parentForm","nullFormCtrl","$error","$$success","$pending","$pristine","$invalid","$submitted","$addControl","$rollbackViewValue","$commitViewValue","$$renameControl","newName","oldName","$removeControl","$setValidity","addSetValidityMethod","unset","$setDirty","PRISTINE_CLASS","DIRTY_CLASS","$setPristine","setClass","SUBMITTED_CLASS","$setUntouched","$setSubmitted","stringBasedInputType","textInputType","baseInputType","ev","ngTrim","$viewValue","$$hasNativeValidators","$setViewValue","deferListener","origValue","$render","weekParser","isoWeek","existingDate","WEEK_REGEXP","week","hours","minutes","seconds","milliseconds","addDays","getSeconds","getMilliseconds","createDateParser","mapping","iso","ISO_DATE_REGEXP","yyyy","MM","dd","HH","mm","ss","sss","createDateInputType","parseDate","isValidDate","parseObservedDateValue","badInputChecker","previousDate","$options","$$parserName","$parsers","parsedDate","$ngModelMinErr","timezoneOffset","ngMin","minVal","$validate","ngMax","maxVal","nativeValidation","validity","VALIDITY_STATE_PROPERTY","badInput","typeMismatch","numberInputType","NUMBER_REGEXP","urlInputType","URL_REGEXP","emailInputType","email","EMAIL_REGEXP","radioInputType","checked","parseConstantExpr","fallback","parseFn","checkboxInputType","trueValue","ngTrueValue","falseValue","ngFalseValue","classDirective","arrayDifference","arrayClasses","addClasses","digestClassCounts","removeClasses","classCounts","classesToUpdate","updateClasses","ngClassWatchAction","$index","old$index","setValidity","validationErrorKey","createAndSet","unsetAndCleanup","cachedToggleClass","PENDING_CLASS","toggleValidationCss","isObjectEmpty","combinedState","switchValue","classCache","isValid","VALID_CLASS","INVALID_CLASS","REGEX_STRING_REGEXP","manualLowercase","manualUppercase","isActive_","NODE_TYPE_ATTRIBUTE","major","minor","dot","codeName","MOUSE_EVENT_MAP","mouseleave","mouseenter","thead","tr","td","optgroup","tbody","tfoot","colgroup","caption","ready","trigger","fired","removeData","removeAttribute","lowercasedName","getNamedItem","specified","ret","getText","$dv","nodeCount","jqLiteOn","related","relatedTarget","one","onFn","replaceNode","contentDocument","prepend","wrapNode","toggleClass","condition","classCondition","nextElementSibling","getElementsByTagName","extraParameters","dummyEvent","eventFnsCopy","handlerArgs","arg3","$animateMinErr","$$selectors","classNameFilter","$$classNameFilter","runAnimationPostDigest","cancelFn","$$cancelFn","resolveElementClasses","hasClasses","cachedClassManipulation","asyncPromise","currentDefer","applyStyles","$$addClassImmediately","$$removeClassImmediately","STORAGE_KEY","createdCache","$$setClassImmediately","Content-Type","[","{","PATH_MATCH","https","ftp","locationPrototype","paramValue","Location","CONSTANTS","true","false","constantGetter","OPERATORS","+","-","*","/","%","===","!==","==","!=","<=",">=","&&","||","!","=","|","ESCAPE","lex","readString","readNumber","isIdent","readIdent","isWhitespace","ch2","ch3","op1","op2","op3","operator","throwError","isExpOperator","colStr","peekCh","rawString","hex","rep","ZERO","statements","expect","filterChain","arrayDeclaration","functionCall","objectIndex","fieldAccess","peekToken","e3","e4","peekAhead","unaryFn","binaryFn","isBranching","inputFn","argsFn","assignment","ternary","logicalOR","logicalAND","equality","relational","additive","multiplicative","unary","indexFn","fnGetter","contextGetter","expressionText","elementFns","valueFns","yy","MMMM","MMM","M","H","hh","EEEE","EEE","Z","ww","G","GG","GGG","GGGG","xlinkHref","propName","htmlAttr","formDirectiveFactory","isNgForm","formElement","nameAttr","handleFormSubmission","parentFormCtrl","DATE_REGEXP","DATETIMELOCAL_REGEXP","MONTH_REGEXP","TIME_REGEXP","inputType","datetime-local","month","radio","checkbox","ctrls","CONSTANT_VALUE_REGEXP","tplAttr","templateElement","ngBindHtmlGetter","ngBindHtmlWatch","getTrustedHtml","$viewChangeListeners","forceAsyncEvents","previousElements","srcExp","previousElement","currentElement","changeCounter","cleanupLastIncludeContent","afterAnimation","thisChangeId","trimValues","UNTOUCHED_CLASS","TOUCHED_CLASS","NgModelController","$modelValue","$$rawModelValue","$asyncValidators","$untouched","$touched","parserValid","parsedNgModel","parsedNgModelAssign","ngModelGet","ngModelSet","pendingDebounce","$$setOptions","getterSetter","invokeModelGetter","invokeModelSetter","$$$p","currentValidationRunId","$setTouched","$$lastCommittedViewValue","prevValid","prevModelValue","allowInvalid","$$runValidators","allValid","$$writeModelToScope","doneCallback","processParseErrors","errorKey","processSyncValidators","syncValidatorsValid","processAsyncValidators","validatorPromises","validationDone","localValidationRunId","$$parseAndValidate","writeToModelIfNeeded","updateOnDefault","$$debounceViewValueCommit","debounceDelay","formatters","modelCtrl","formCtrl","updateOn","DEFAULT_REGEXP","that","BRACE","IS_WHEN","updateElementText","lastCount","numberExp","whenExp","whens","whensExpFns","braceReplacement","watchRemover","attributeName","tmpMatch","whenKey","countIsNaN","NG_REMOVED","ngRepeatMinErr","updateScope","valueIdentifier","keyIdentifier","arrayLength","$first","$last","$middle","$odd","$even","getBlockStart","getBlockEnd","ngRepeatEndComment","lhs","rhs","aliasAs","trackByExp","trackByExpGetter","trackByIdExpFn","trackByIdArrayFn","trackByIdObjFn","hashFnLocals","lastBlockMap","nextNode","collectionLength","trackById","trackByIdFn","collectionKeys","nextBlockOrder","previousNode","nextBlockMap","itemKey","blockKey","NG_HIDE_CLASS","NG_HIDE_IN_PROGRESS_CLASS","tempClasses","newStyles","cases","ngSwitchController","watchExpr","selectedTranscludes","selectedElements","previousLeaveAnimations","selectedScopes","spliceFactory","selectedTransclude","caseElement","selectedScope","ngOptionsMinErr","NG_OPTIONS_REGEXP","nullModelCtrl","nullOption","unknownOption","optionsMap","ngModelCtrl","databound","ngModelCtrl_","nullOption_","unknownOption_","addOption","removeOption","hasOption","renderUnknownOption","unknownVal","setupAsSingle","selectElement","selectCtrl","emptyOption","setupAsMultiple","lastView","setupAsOptions","callExpression","exprFn","valueName","valuesFn","selectedKey","trackFn","trackKeysCache","getViewValue","viewValueFn","selectAsFn","getLabels","toDisplay","displayFn","createIsSelectedFn","selectedSet","trackIndex","compareValueFn","scheduleRendering","renderScheduled","updateLabelMap","labelMap","optionGroupName","optionGroup","existingParent","existingOptions","existingOption","groupLength","groupIndex","lastElement","optionId","optionGroups","optionGroupNames","isSelected","anySelected","groupByFn","optionGroupsCache","optGroupTemplate","optionTemplate","optionsExp","selectAs","track","nullSelectCtrl","selectCtrlName","patternExp","intVal","conf","handleChar","getConfig","closeBrackets","handleBackspace","around","charsAround","handleEnter","explode","triples","identical","opening","curType","enteringString","isClosingBracket","sels","type1","findMatchingBracket","matching","scanForBracket","forward","maxScanLen","maxScanLineLength","maxScanLines","bracketRegex","matchBrackets","autoclear","maxHighlightLen","maxHighlightLineLength","marks","ie_lt8","doMatchBrackets","currentlyHighlighted","(",")","]","}","parseError","loc","first_line","first_column","last_line","last_column","showTooltip","tt","opacity","hideTooltip","showTooltipFor","hide","tooltip","LintState","hasGutter","marked","onMouseOver","_cm","getAnnotations","clearMarks","lint","GUTTER_ID","makeMarker","labels","severity","tooltips","getMaxSeverity","groupByLine","annotations","ann","annotationTooltip","tip","startLinting","passOptions","updateLinting","annotationsNotSorted","anns","maxSeverity","tipLabel","formatAnnotation","__annotation","onUpdateLinting","onChange","popupSpanTooltip","hasLintGutter","clearActiveLines","activeLines","WRAP_CLASS","BACK_CLASS","sameArray","updateActiveLines","selectionChange","parserConfig","readRegexp","escaped","inSet","tp","cont","tokenBase","tokenize","tokenString","tokenComment","lastType","isOperatorChar","tokenQuasi","wordRE","known","keywords","jsonldMode","isJsonldKeyword","maybeEnd","findFatArrow","fatArrowAt","sawSomething","bracket","brackets","JSLexical","inScope","varname","localVars","cx","vars","parseJS","cc","lexical","combinator","jsonMode","statement","pass","inList","globalVars","pushcontext","defaultVars","popcontext","pushlex","poplex","wanted","vardef","maybeelse","functiondef","forspec","maybelabel","funarg","afterModule","afterExport","afterImport","expressionInner","expressionNoComma","noComma","arrowBodyNoComma","arrowBody","commasep","maybeop","maybeoperatorNoComma","maybeoperatorComma","atomicTypes","maybeexpressionNoComma","maybeexpression","comprehension","arrayLiteral","contCommasep","objprop","quasi","continueQuasi","afterprop","maybetype","isTS","typedef","maybedefault","maybeAssign","vardefCont","proppattern","forspec1","forspec2","formaybeinof","forspec3","classNameAfter","classBody","classGetterSetter","maybeFrom","importSpec","maybeAs","maybeArrayComprehension","isContinuedStatement","textAfter","statementIndent","jsonld","typescript","wordCharacters","kw","atom","jsKeywords","if","while","with","else","do","try","return","break","continue","new","delete","throw","debugger","var","const","let","for","switch","case","in","typeof","instanceof","class","super","yield","export","import","extends","tsKeywords","interface","public","private","protected","static","jsonld-keyword","basecolumn","firstChar","doubleIndentSwitch","blockCommentStart","blockCommentEnd","lineComment","fold","lib$es6$promise$utils$$objectOrFunction","lib$es6$promise$utils$$isFunction","lib$es6$promise$utils$$isMaybeThenable","lib$es6$promise$asap$$setScheduler","scheduleFn","lib$es6$promise$asap$$customSchedulerFn","lib$es6$promise$asap$$setAsap","asapFn","lib$es6$promise$asap$$asap","lib$es6$promise$asap$$useNextTick","lib$es6$promise$asap$$flush","lib$es6$promise$asap$$useVertxTimer","lib$es6$promise$asap$$vertxNext","lib$es6$promise$asap$$useMutationObserver","iterations","lib$es6$promise$asap$$BrowserMutationObserver","observe","characterData","lib$es6$promise$asap$$useMessageChannel","channel","MessageChannel","port1","onmessage","port2","postMessage","lib$es6$promise$asap$$useSetTimeout","lib$es6$promise$asap$$len","lib$es6$promise$asap$$queue","lib$es6$promise$asap$$attemptVertex","vertx","runOnLoop","runOnContext","lib$es6$promise$$internal$$noop","lib$es6$promise$$internal$$selfFullfillment","lib$es6$promise$$internal$$cannotReturnOwn","lib$es6$promise$$internal$$getThen","lib$es6$promise$$internal$$GET_THEN_ERROR","lib$es6$promise$$internal$$tryThen","fulfillmentHandler","rejectionHandler","lib$es6$promise$$internal$$handleForeignThenable","thenable","sealed","lib$es6$promise$$internal$$resolve","lib$es6$promise$$internal$$fulfill","lib$es6$promise$$internal$$reject","lib$es6$promise$$internal$$handleOwnThenable","_state","lib$es6$promise$$internal$$FULFILLED","_result","lib$es6$promise$$internal$$REJECTED","lib$es6$promise$$internal$$subscribe","lib$es6$promise$$internal$$handleMaybeThenable","maybeThenable","lib$es6$promise$$internal$$publishRejection","_onerror","lib$es6$promise$$internal$$publish","lib$es6$promise$$internal$$PENDING","_subscribers","onFulfillment","onRejection","subscribers","settled","lib$es6$promise$$internal$$invokeCallback","lib$es6$promise$$internal$$ErrorObject","lib$es6$promise$$internal$$tryCatch","lib$es6$promise$$internal$$TRY_CATCH_ERROR","succeeded","failed","hasCallback","lib$es6$promise$$internal$$initializePromise","lib$es6$promise$enumerator$$Enumerator","enumerator","_instanceConstructor","_validateInput","_input","_remaining","_enumerate","_validationError","lib$es6$promise$promise$all$$all","lib$es6$promise$enumerator$$default","lib$es6$promise$promise$race$$race","lib$es6$promise$utils$$isArray","lib$es6$promise$promise$resolve$$resolve","lib$es6$promise$promise$reject$$reject","lib$es6$promise$promise$$needsResolver","lib$es6$promise$promise$$needsNew","lib$es6$promise$promise$$Promise","lib$es6$promise$promise$$counter","lib$es6$promise$polyfill$$polyfill","local","P","cast","lib$es6$promise$promise$$default","lib$es6$promise$utils$$_isArray","lib$es6$promise$asap$$scheduleFlush","lib$es6$promise$asap$$browserWindow","lib$es6$promise$asap$$browserGlobal","MutationObserver","WebKitMutationObserver","lib$es6$promise$asap$$isNode","lib$es6$promise$asap$$isWorker","Uint8ClampedArray","importScripts","_eachEntry","_settledAt","_willSettleAt","lib$es6$promise$promise$all$$default","lib$es6$promise$promise$race$$default","lib$es6$promise$promise$resolve$$default","lib$es6$promise$promise$reject$$default","race","_setScheduler","_setAsap","_asap","lib$es6$promise$polyfill$$default","lib$es6$promise$umd$$ES6Promise","ENV","ctx","preferred","transSupport","useFilter","_checkTransition","vendors","Moz","O","Humane","baseCls","waitForMove","timeoutAfterMove","_setupEl","removeEvent","currentMsg","transEvent","_afterAnimation","_run","_afterTimeout","removeEventsSet","_animating","currentTimer","_showMsg","_setOpacity","Opacity","_hideMsg","spawn","trace","symbols_","JSONString","STRING","JSONNumber","NUMBER","JSONNullLiteral","NULL","JSONBooleanLiteral","TRUE","FALSE","JSONText","JSONValue","EOF","JSONObject","JSONArray","JSONMemberList","JSONMember",":",",","JSONElementList","$accept","$end","terminals_",10,11,14,21,22,23,24,"productions_","performAction","table",12,15,25,"defaultActions","setInput","yylloc","q","z","showPosition","yylineno","yyleng","yytext","_$","_more","_less","matched","conditionStack","unput","more","less","pastInput","upcomingInput","_currentRules","flex","popState","conditions","topState","INITIAL","inclusive","main","readFileSync","charset","__WEBPACK_AMD_DEFINE_FACTORY__","clamp","toBarPerc","barPositionCSS","speed","ease","barCSS","Settings","positionUsing","margin-left","classList","oldList","newList","removeElement","NProgress","minimum","easing","trickle","trickleRate","trickleSpeed","showSpinner","barSelector","spinnerSelector","started","isStarted","bar","getPositioningCSS","work","inc","$promise","always","fromStart","isRendered","spinner","perc","getVendorProp","vendorName","cssPrefixes","capName","getStyleProp","cssProps","applyCss","CsvToJson","_config","worker","WORKERS_SUPPORTED","newWorker","userStep","userChunk","userComplete","userError","workerId","streamer","download","NetworkStreamer","StringStreamer","FileStreamer","JsonToCsv","unpackConfig","delimiter","BAD_DELIMITERS","_delimiter","quotes","_quotes","newline","_newline","serialize","hasHeader","dataKeyedByField","safe","row","maxCol","colIdx","needsQuotes","hasAny","substrings","ChunkStreamer","replaceConfig","configCopy","_handle","ParserHandle","_paused","_finished","_baseIndex","_partialLine","_rowCount","_start","_nextChunk","isFirstChunk","_completeResults","errors","meta","parseChunk","beforeFirstChunk","modifiedChunk","aggregate","paused","aborted","finishedIncludingPreview","preview","IS_PAPA_WORKER","WORKER_ID","finished","_sendError","getFileSize","contentRange","getResponseHeader","RemoteChunkSize","IS_WORKER","_readChunk","_chunkLoaded","bindFunction","_chunkError","errorText","LocalChunkSize","usingAsyncReader","webkitSlice","mozSlice","FileReaderSync","encoding","processResults","_results","_delimiterError","addError","DefaultDelimiter","skipEmptyLines","needsHeaderRow","fillHeaderFields","applyHeaderAndDynamicTyping","dynamicTyping","tryParseFloat","guessDelimiter","bestDelim","bestDelta","fieldCountPrevRow","delimChoices","RECORD_SEP","UNIT_SEP","delim","avgFieldCount","fieldCount","successful","bestDelimiter","guessLineEndings","numWithN","FLOAT","_parser","_stepCounter","_aborted","baseIndex","ignoreLastRow","delimGuess","pause","getCharIndex","resume","comments","fastMode","pushRow","lastCursor","returnable","inputLen","stepIsFunction","doStep","saveRow","newCursor","nextNewline","stopped","linebreak","truncated","delimLen","newlineLen","commentsLen","rows","nextDelim","quoteSearch","getScriptPath","scripts","LOADED_SYNC","SCRIPT_PATH","workerUrl","AUTO_SCRIPT_PATH","Worker","mainThreadReceivedMessage","workerIdCounter","workers","completeWorker","notImplemented","terminate","workerThreadReceivedMessage","cpy","BYTE_ORDER_MARK","define","amd","parseNextFile","returned","inputElem","fileComplete","instanceConfig","userCompleteFunc","defaultRequestParams","isSafe","configuration","isAbsoluteUrl","setSelfLinkAbsoluteUrl","baseUrl","setBaseUrl","extraFields","setExtraFields","defaultHttpFields","setDefaultHttpFields","withHttpValues","encodeIds","setEncodeIds","setDefaultRequestParams","requestParams","defaultHeaders","setDefaultHeaders","methodOverriders","setMethodOverriders","isOverridenMethod","jsonp","setJsonp","urlCreator","setUrlCreator","urlCreatorFactory","restangularFields","parentResource","restangularCollection","cannonicalId","etag","selfLink","getRestangularUrl","getRequestedUrl","putElement","addRestangularMethod","getParentList","httpConfig","reqParams","several","customGET","customGETLIST","doPUT","doPOST","doDELETE","doGET","doGETLIST","fromServer","withConfig","withHttpConfig","singleOne","plain","restangularized","setRestangularFields","isRestangularized","setFieldToElem","getFieldFromElem","setIdToElem","getIdFromElem","isValidId","setUrlToElem","getUrlFromElem","useCannonicalId","setUseCannonicalId","getCannonicalIdFromElem","responseInterceptors","defaultResponseInterceptor","responseExtractor","addResponseInterceptor","errorInterceptors","addErrorInterceptor","setResponseInterceptor","setResponseExtractor","setErrorInterceptor","requestInterceptors","defaultInterceptor","fullRequestInterceptor","addRequestInterceptor","setRequestInterceptor","addFullRequestInterceptor","setFullRequestInterceptor","onBeforeElemRestangularized","setOnBeforeElemRestangularized","setRestangularizePromiseInterceptor","restangularizePromiseInterceptor","onElemRestangularized","setOnElemRestangularized","shouldSaveParent","setParentless","setRequestSuffix","transformers","addElementTransformer","extendCollection","extendModel","transformElem","transformLocalElements","setTransformOnlyServerElements","fullResponse","setConfig","parentsArray","normalizeUrl","fetchUrl","fetchRequestedUrl","L","$object","K","I","J","X-HTTP-Method-Override","N","stripRestangular","restangularizeElement","restangularizeCollection"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAE,WACAE,GAAAJ,EACAK,QAAA,EAUA,OANAP,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,QAAA,EAGAF,EAAAD,QAvBA,GAAAD,KAqCA,OATAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EAAAU,EAAA,yBAGAV,EAAA,KDMM,SAASI,EAAQD,EAASH,GAE/BA,EAAoB,IACpBI,EAAOD,QAAUH,EAAoB,MAKhC,SAASI,EAAQD,EAASH,GAE/B,YAQA,SAASW,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,UAAWF,GAEzF,QAASG,GAAgBC,EAAUC,GAAe,KAAMD,YAAoBC,IAAgB,KAAM,IAAIC,WAAU,qCARhHC,OAAOC,eAAejB,EAAS,cAC3BkB,OAAO,GAGX,IAAIC,GAAe,WAAe,QAASC,GAAiBC,EAAQC,GAAS,IAAK,GAAIC,GAAI,EAAGA,EAAID,EAAME,OAAQD,IAAK,CAAE,GAAIE,GAAaH,EAAMC,EAAIE,GAAWC,WAAaD,EAAWC,aAAc,EAAOD,EAAWE,cAAe,EAAU,SAAWF,KAAYA,EAAWG,UAAW,GAAMZ,OAAOC,eAAeI,EAAQI,EAAWI,IAAKJ,IAAiB,MAAO,UAAUX,EAAagB,EAAYC,GAAiJ,MAA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webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"http://localhost:8080/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(52);\n\tmodule.exports = __webpack_require__(147);\n\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar _UtilsStringUtils = __webpack_require__(20);\n\t\n\tvar _UtilsStringUtils2 = _interopRequireDefault(_UtilsStringUtils);\n\t\n\tvar Field = (function () {\n\t function Field(name) {\n\t _classCallCheck(this, Field);\n\t\n\t this._name = name || Math.random().toString(36).substring(7);\n\t this._detailLink = name === 'id';\n\t this._type = \"string\";\n\t this._order = null;\n\t this._label = null;\n\t this._maps = [];\n\t this._transforms = [];\n\t this._attributes = {};\n\t this._cssClasses = null;\n\t this._validation = { required: false, minlength: 0, maxlength: 99999 };\n\t this._defaultValue = null;\n\t this._editable = true;\n\t this._detailLinkRoute = 'edit';\n\t this._pinned = false;\n\t this._flattenable = true;\n\t this.dashboard = true;\n\t this.list = true;\n\t }\n\t\n\t _createClass(Field, [{\n\t key: \"label\",\n\t value: function label() {\n\t if (arguments.length) {\n\t this._label = arguments[0];\n\t return this;\n\t }\n\t\n\t if (this._label === null) {\n\t return _UtilsStringUtils2[\"default\"].camelCase(this._name);\n\t }\n\t\n\t return this._label;\n\t }\n\t }, {\n\t key: \"type\",\n\t value: function type() {\n\t return this._type;\n\t }\n\t }, {\n\t key: \"name\",\n\t value: function name() {\n\t if (arguments.length) {\n\t this._name = arguments[0];\n\t return this;\n\t }\n\t\n\t return this._name;\n\t }\n\t }, {\n\t key: \"order\",\n\t value: function order() {\n\t if (arguments.length) {\n\t if (arguments[1] !== true) {\n\t console.warn('Setting order with Field.order is deprecated, order directly in fields array');\n\t }\n\t this._order = arguments[0];\n\t return this;\n\t }\n\t\n\t return this._order;\n\t }\n\t }, {\n\t key: \"isDetailLink\",\n\t value: function isDetailLink(detailLink) {\n\t if (arguments.length) {\n\t this._detailLink = arguments[0];\n\t return this;\n\t }\n\t\n\t if (this._detailLink === null) {\n\t return this._name === 'id';\n\t }\n\t\n\t return this._detailLink;\n\t }\n\t }, {\n\t key: \"map\",\n\t\n\t /**\n\t * Add a function to be applied to the response object to turn it into an entry\n\t */\n\t value: function map(fn) {\n\t if (!fn) return this._maps;\n\t if (typeof fn !== \"function\") {\n\t var type = typeof fn;\n\t throw new Error(\"Map argument should be a function, \" + type + \" given.\");\n\t }\n\t\n\t this._maps.push(fn);\n\t\n\t return this;\n\t }\n\t }, {\n\t key: \"hasMaps\",\n\t value: function hasMaps() {\n\t return !!this._maps.length;\n\t }\n\t }, {\n\t key: \"getMappedValue\",\n\t value: function getMappedValue(value, entry) {\n\t for (var i in this._maps) {\n\t value = this._maps[i](value, entry);\n\t }\n\t\n\t return value;\n\t }\n\t\n\t /**\n\t * Add a function to be applied to the entry to turn it into a response object\n\t */\n\t }, {\n\t key: \"transform\",\n\t value: function transform(fn) {\n\t if (!fn) return this._transforms;\n\t if (typeof fn !== \"function\") {\n\t var type = typeof fn;\n\t throw new Error(\"transform argument should be a function, \" + type + \" given.\");\n\t }\n\t\n\t this._transforms.push(fn);\n\t\n\t return this;\n\t }\n\t }, {\n\t key: \"hasTranforms\",\n\t value: function hasTranforms() {\n\t return !!this._transforms.length;\n\t }\n\t }, {\n\t key: \"getTransformedValue\",\n\t value: function getTransformedValue(value, entry) {\n\t for (var i in this._transforms) {\n\t value = this._transforms[i](value, entry);\n\t }\n\t\n\t return value;\n\t }\n\t }, {\n\t key: \"attributes\",\n\t value: function attributes(_attributes) {\n\t if (!arguments.length) {\n\t return this._attributes;\n\t }\n\t\n\t this._attributes = _attributes;\n\t\n\t return this;\n\t }\n\t }, {\n\t key: \"cssClasses\",\n\t value: function cssClasses(classes) {\n\t if (!arguments.length) return this._cssClasses;\n\t this._cssClasses = classes;\n\t return this;\n\t }\n\t }, {\n\t key: \"getCssClasses\",\n\t value: function getCssClasses(entry) {\n\t if (!this._cssClasses) {\n\t return '';\n\t }\n\t\n\t if (this._cssClasses.constructor === Array) {\n\t return this._cssClasses.join(' ');\n\t }\n\t\n\t if (typeof this._cssClasses === 'function') {\n\t return this._cssClasses(entry);\n\t }\n\t\n\t return this._cssClasses;\n\t }\n\t }, {\n\t key: \"validation\",\n\t value: function validation(_validation) {\n\t if (!arguments.length) {\n\t return this._validation;\n\t }\n\t\n\t for (var property in _validation) {\n\t if (!_validation.hasOwnProperty(property)) continue;\n\t if (_validation[property] === null) {\n\t delete this._validation[property];\n\t } else {\n\t this._validation[property] = _validation[property];\n\t }\n\t }\n\t\n\t return this;\n\t }\n\t }, {\n\t key: \"defaultValue\",\n\t value: function defaultValue(_defaultValue) {\n\t if (!arguments.length) return this._defaultValue;\n\t this._defaultValue = _defaultValue;\n\t return this;\n\t }\n\t }, {\n\t key: \"editable\",\n\t value: function editable(_editable) {\n\t if (!arguments.length) return this._editable;\n\t this._editable = _editable;\n\t return this;\n\t }\n\t }, {\n\t key: \"detailLinkRoute\",\n\t value: function detailLinkRoute(route) {\n\t if (!arguments.length) return this._detailLinkRoute;\n\t this._detailLinkRoute = route;\n\t return this;\n\t }\n\t }, {\n\t key: \"pinned\",\n\t value: function pinned(_pinned) {\n\t if (!arguments.length) return this._pinned;\n\t this._pinned = _pinned;\n\t return this;\n\t }\n\t }, {\n\t key: \"flattenable\",\n\t value: function flattenable() {\n\t return this._flattenable;\n\t }\n\t }, {\n\t key: \"detailLink\",\n\t set: function set(isDetailLink) {\n\t return this._detailLink = isDetailLink;\n\t }\n\t }]);\n\t\n\t return Field;\n\t})();\n\t\n\texports[\"default\"] = Field;\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tvar _Entry = __webpack_require__(6);\n\t\n\tvar _Entry2 = _interopRequireDefault(_Entry);\n\t\n\tvar _UtilsObjectProperties = __webpack_require__(18);\n\t\n\tvar View = (function () {\n\t function View(name) {\n\t _classCallCheck(this, View);\n\t\n\t this.entity = null;\n\t this._actions = null;\n\t this._title = false;\n\t this._description = '';\n\t this._template = null;\n\t\n\t this._enabled = false;\n\t this._fields = [];\n\t this._type = null;\n\t this._name = name;\n\t this._order = 0;\n\t this._errorMessage = null;\n\t this._url = null;\n\t }\n\t\n\t _createClass(View, [{\n\t key: 'title',\n\t value: function title(_title) {\n\t if (!arguments.length) return this._title;\n\t this._title = _title;\n\t return this;\n\t }\n\t }, {\n\t key: 'description',\n\t value: function description() {\n\t if (arguments.length) {\n\t this._description = arguments[0];\n\t return this;\n\t }\n\t\n\t return this._description;\n\t }\n\t }, {\n\t key: 'name',\n\t value: function name(_name) {\n\t if (!arguments.length) {\n\t return this._name || this.entity.name() + '_' + this._type;\n\t }\n\t\n\t this._name = _name;\n\t return this;\n\t }\n\t }, {\n\t key: 'disable',\n\t value: function disable() {\n\t this._enabled = false;\n\t\n\t return this;\n\t }\n\t }, {\n\t key: 'enable',\n\t value: function enable() {\n\t this._enabled = true;\n\t\n\t return this;\n\t }\n\t\n\t /**\n\t * @deprecated Use getter \"enabled\" instead\n\t */\n\t }, {\n\t key: 'isEnabled',\n\t value: function isEnabled() {\n\t return this.enabled;\n\t }\n\t\n\t /**\n\t * @deprecated Use getter \"entity\" instead\n\t */\n\t }, {\n\t key: 'getEntity',\n\t value: function getEntity() {\n\t return this.entity;\n\t }\n\t\n\t /**\n\t * @deprecated Specify entity at view creation or use \"entity\" setter instead\n\t */\n\t }, {\n\t key: 'setEntity',\n\t value: function setEntity(entity) {\n\t this.entity = entity;\n\t if (!this._name) {\n\t this._name = entity.name() + '_' + this._type;\n\t }\n\t\n\t return this;\n\t }\n\t\n\t /*\n\t * Supports various syntax\n\t * fields([ Field1, Field2 ])\n\t * fields(Field1, Field2)\n\t * fields([Field1, {Field2, Field3}])\n\t * fields(Field1, {Field2, Field3})\n\t * fields({Field2, Field3})\n\t */\n\t }, {\n\t key: 'fields',\n\t value: function fields() {\n\t if (!arguments.length) return this._fields;\n\t\n\t [].slice.call(arguments).map(function (argument) {\n\t var _this = this;\n\t\n\t View.flatten(argument).map(function (arg) {\n\t return _this.addField(arg);\n\t });\n\t }, this);\n\t\n\t return this;\n\t }\n\t }, {\n\t key: 'hasFields',\n\t value: function hasFields() {\n\t return this.fields.length > 0;\n\t }\n\t }, {\n\t key: 'removeFields',\n\t value: function removeFields() {\n\t this._fields = [];\n\t return this;\n\t }\n\t }, {\n\t key: 'getFields',\n\t value: function getFields() {\n\t return this._fields;\n\t }\n\t }, {\n\t key: 'getField',\n\t value: function getField(fieldName) {\n\t return this._fields.filter(function (f) {\n\t return f.name() === fieldName;\n\t })[0];\n\t }\n\t }, {\n\t key: 'getFieldsOfType',\n\t value: function getFieldsOfType(type) {\n\t return this._fields.filter(function (f) {\n\t return f.type() === type;\n\t });\n\t }\n\t }, {\n\t key: 'addField',\n\t value: function addField(field) {\n\t if (field.order() === null) {\n\t field.order(this._fields.length, true);\n\t }\n\t this._fields.push(field);\n\t this._fields = this._fields.sort(function (a, b) {\n\t return a.order() - b.order();\n\t });\n\t\n\t return this;\n\t }\n\t }, {\n\t key: 'order',\n\t value: function order(_order) {\n\t if (!arguments.length) return this._order;\n\t this._order = _order;\n\t return this;\n\t }\n\t }, {\n\t key: 'getReferences',\n\t value: function getReferences(withRemoteComplete) {\n\t var result = {};\n\t var lists = this._fields.filter(function (f) {\n\t return f.type() === 'reference' || f.type() === 'reference_many';\n\t });\n\t\n\t var filterFunction = null;\n\t if (withRemoteComplete === true) {\n\t filterFunction = function (f) {\n\t return f.remoteComplete();\n\t };\n\t } else if (withRemoteComplete === false) {\n\t filterFunction = function (f) {\n\t return !f.remoteComplete();\n\t };\n\t }\n\t\n\t if (filterFunction !== null) {\n\t lists = lists.filter(filterFunction);\n\t }\n\t\n\t for (var i = 0, c = lists.length; i < c; i++) {\n\t var list = lists[i];\n\t result[list.name()] = list;\n\t }\n\t\n\t return result;\n\t }\n\t }, {\n\t key: 'getNonOptimizedReferences',\n\t value: function getNonOptimizedReferences(withRemoteComplete) {\n\t return this._getReferencesByOptimizationType(false, withRemoteComplete);\n\t }\n\t }, {\n\t key: 'getOptimizedReferences',\n\t value: function getOptimizedReferences(withRemoteComplete) {\n\t return this._getReferencesByOptimizationType(true, withRemoteComplete);\n\t }\n\t }, {\n\t key: 'getReferencedLists',\n\t value: function getReferencedLists() {\n\t var result = {};\n\t var lists = this._fields.filter(function (f) {\n\t return f.type() === 'referenced_list';\n\t });\n\t for (var i = 0, c = lists.length; i < c; i++) {\n\t var list = lists[i];\n\t result[list.name()] = list;\n\t }\n\t\n\t return result;\n\t }\n\t }, {\n\t key: 'template',\n\t value: function template(_template) {\n\t if (!arguments.length) {\n\t return this._template;\n\t }\n\t\n\t this._template = _template;\n\t\n\t return this;\n\t }\n\t }, {\n\t key: 'identifier',\n\t value: function identifier() {\n\t return this.entity.identifier();\n\t }\n\t }, {\n\t key: 'actions',\n\t value: function actions(_actions) {\n\t if (!arguments.length) return this._actions;\n\t this._actions = _actions;\n\t return this;\n\t }\n\t }, {\n\t key: 'getErrorMessage',\n\t value: function getErrorMessage(response) {\n\t if (typeof this._errorMessage === 'function') {\n\t return this._errorMessage(response);\n\t }\n\t\n\t return this._errorMessage;\n\t }\n\t }, {\n\t key: 'errorMessage',\n\t value: function errorMessage(_errorMessage) {\n\t if (!arguments.length) return this._errorMessage;\n\t this._errorMessage = _errorMessage;\n\t return this;\n\t }\n\t }, {\n\t key: 'url',\n\t value: function url(_url) {\n\t if (!arguments.length) return this._url;\n\t this._url = _url;\n\t return this;\n\t }\n\t }, {\n\t key: 'getUrl',\n\t value: function getUrl(identifierValue) {\n\t if (typeof this._url === 'function') {\n\t return this._url(identifierValue);\n\t }\n\t\n\t return this._url;\n\t }\n\t }, {\n\t key: 'validate',\n\t value: function validate(entry) {\n\t this._fields.map(function (field) {\n\t var validation = field.validation();\n\t\n\t if (typeof validation.validator === 'function') {\n\t validation.validator(entry.values[field.name()]);\n\t }\n\t });\n\t }\n\t\n\t /**\n\t * Map a JS object from the REST API Response to an Entry\n\t */\n\t }, {\n\t key: 'mapEntry',\n\t value: function mapEntry(restEntry) {\n\t return _Entry2['default'].createFromRest(restEntry, this._fields, this.entity.name(), this.entity.identifier().name());\n\t }\n\t }, {\n\t key: 'mapEntries',\n\t value: function mapEntries(restEntries) {\n\t return _Entry2['default'].createArrayFromRest(restEntries, this._fields, this.entity.name(), this.entity.identifier().name());\n\t }\n\t\n\t /**\n\t * Transform an Entry to a JS object for the REST API Request\n\t */\n\t }, {\n\t key: 'transformEntry',\n\t value: function transformEntry(entry) {\n\t return entry.transformToRest(this._fields);\n\t }\n\t\n\t /**\n\t * @param {Boolean} optimized\n\t * @param {Boolean} withRemoteComplete\n\t * @returns {[Reference]}\n\t * @private\n\t */\n\t }, {\n\t key: '_getReferencesByOptimizationType',\n\t value: function _getReferencesByOptimizationType() {\n\t var optimized = arguments.length <= 0 || arguments[0] === undefined ? true : arguments[0];\n\t var withRemoteComplete = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];\n\t\n\t var result = {},\n\t references = this.getReferences(withRemoteComplete);\n\t\n\t for (var i in references) {\n\t var reference = references[i];\n\t\n\t if (!!reference.getSingleApiCall() === optimized) {\n\t result[i] = reference;\n\t }\n\t }\n\t\n\t return result;\n\t }\n\t }, {\n\t key: 'enabled',\n\t get: function get() {\n\t return this._enabled || !!this._fields.length;\n\t }\n\t }, {\n\t key: 'type',\n\t get: function get() {\n\t return this._type;\n\t }\n\t }], [{\n\t key: 'flatten',\n\t value: function flatten(arg) {\n\t if (arg.constructor.name === 'Object') {\n\t console.warn('Passing literal of Field to fields method is deprecated use array instead');\n\t var result = [];\n\t for (var fieldName in arg) {\n\t result = result.concat(View.flatten(arg[fieldName]));\n\t }\n\t return result;\n\t }\n\t if (Array.isArray(arg)) {\n\t return arg.reduce(function (previous, current) {\n\t return previous.concat(View.flatten(current));\n\t }, []);\n\t }\n\t // arg is a scalar\n\t return [arg];\n\t }\n\t }]);\n\t\n\t return View;\n\t})();\n\t\n\texports['default'] = View;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 3 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// CodeMirror, copyright (c) by Marijn Haverbeke and others\n\t// Distributed under an MIT license: http://codemirror.net/LICENSE\n\t\n\t// This is CodeMirror (http://codemirror.net), a code editor\n\t// implemented in JavaScript on top of the browser's DOM.\n\t//\n\t// You can find some technical background for some of the code below\n\t// at http://marijnhaverbeke.nl/blog/#cm-internals .\n\t\n\t(function(mod) {\n\t if (true) // CommonJS\n\t module.exports = mod();\n\t else if (typeof define == \"function\" && define.amd) // AMD\n\t return define([], mod);\n\t else // Plain browser env\n\t this.CodeMirror = mod();\n\t})(function() {\n\t \"use strict\";\n\t\n\t // BROWSER SNIFFING\n\t\n\t // Kludges for bugs and behavior differences that can't be feature\n\t // detected are enabled based on userAgent etc sniffing.\n\t\n\t var gecko = /gecko\\/\\d/i.test(navigator.userAgent);\n\t var ie_upto10 = /MSIE \\d/.test(navigator.userAgent);\n\t var ie_11up = /Trident\\/(?:[7-9]|\\d{2,})\\..*rv:(\\d+)/.exec(navigator.userAgent);\n\t var ie = ie_upto10 || ie_11up;\n\t var ie_version = ie && (ie_upto10 ? document.documentMode || 6 : ie_11up[1]);\n\t var webkit = /WebKit\\//.test(navigator.userAgent);\n\t var qtwebkit = webkit && /Qt\\/\\d+\\.\\d+/.test(navigator.userAgent);\n\t var chrome = /Chrome\\//.test(navigator.userAgent);\n\t var presto = /Opera\\//.test(navigator.userAgent);\n\t var safari = /Apple Computer/.test(navigator.vendor);\n\t var mac_geMountainLion = /Mac OS X 1\\d\\D([8-9]|\\d\\d)\\D/.test(navigator.userAgent);\n\t var phantom = /PhantomJS/.test(navigator.userAgent);\n\t\n\t var ios = /AppleWebKit/.test(navigator.userAgent) && /Mobile\\/\\w+/.test(navigator.userAgent);\n\t // This is woefully incomplete. Suggestions for alternative methods welcome.\n\t var mobile = ios || /Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(navigator.userAgent);\n\t var mac = ios || /Mac/.test(navigator.platform);\n\t var windows = /win/i.test(navigator.platform);\n\t\n\t var presto_version = presto && navigator.userAgent.match(/Version\\/(\\d*\\.\\d*)/);\n\t if (presto_version) presto_version = Number(presto_version[1]);\n\t if (presto_version && presto_version >= 15) { presto = false; webkit = true; }\n\t // Some browsers use the wrong event properties to signal cmd/ctrl on OS X\n\t var flipCtrlCmd = mac && (qtwebkit || presto && (presto_version == null || presto_version < 12.11));\n\t var captureRightClick = gecko || (ie && ie_version >= 9);\n\t\n\t // Optimize some code when these features are not used.\n\t var sawReadOnlySpans = false, sawCollapsedSpans = false;\n\t\n\t // EDITOR CONSTRUCTOR\n\t\n\t // A CodeMirror instance represents an editor. This is the object\n\t // that user code is usually dealing with.\n\t\n\t function CodeMirror(place, options) {\n\t if (!(this instanceof CodeMirror)) return new CodeMirror(place, options);\n\t\n\t this.options = options = options ? copyObj(options) : {};\n\t // Determine effective options based on given values and defaults.\n\t copyObj(defaults, options, false);\n\t setGuttersForLineNumbers(options);\n\t\n\t var doc = options.value;\n\t if (typeof doc == \"string\") doc = new Doc(doc, options.mode, null, options.lineSeparator);\n\t this.doc = doc;\n\t\n\t var input = new CodeMirror.inputStyles[options.inputStyle](this);\n\t var display = this.display = new Display(place, doc, input);\n\t display.wrapper.CodeMirror = this;\n\t updateGutters(this);\n\t themeChanged(this);\n\t if (options.lineWrapping)\n\t this.display.wrapper.className += \" CodeMirror-wrap\";\n\t if (options.autofocus && !mobile) display.input.focus();\n\t initScrollbars(this);\n\t\n\t this.state = {\n\t keyMaps: [], // stores maps added by addKeyMap\n\t overlays: [], // highlighting overlays, as added by addOverlay\n\t modeGen: 0, // bumped when mode/overlay changes, used to invalidate highlighting info\n\t overwrite: false,\n\t delayingBlurEvent: false,\n\t focused: false,\n\t suppressEdits: false, // used to disable editing during key handlers when in readOnly mode\n\t pasteIncoming: false, cutIncoming: false, // help recognize paste/cut edits in input.poll\n\t draggingText: false,\n\t highlight: new Delayed(), // stores highlight worker timeout\n\t keySeq: null, // Unfinished key sequence\n\t specialChars: null\n\t };\n\t\n\t var cm = this;\n\t\n\t // Override magic textarea content restore that IE sometimes does\n\t // on our hidden textarea on reload\n\t if (ie && ie_version < 11) setTimeout(function() { cm.display.input.reset(true); }, 20);\n\t\n\t registerEventHandlers(this);\n\t ensureGlobalHandlers();\n\t\n\t startOperation(this);\n\t this.curOp.forceUpdate = true;\n\t attachDoc(this, doc);\n\t\n\t if ((options.autofocus && !mobile) || cm.hasFocus())\n\t setTimeout(bind(onFocus, this), 20);\n\t else\n\t onBlur(this);\n\t\n\t for (var opt in optionHandlers) if (optionHandlers.hasOwnProperty(opt))\n\t optionHandlers[opt](this, options[opt], Init);\n\t maybeUpdateLineNumberWidth(this);\n\t if (options.finishInit) options.finishInit(this);\n\t for (var i = 0; i < initHooks.length; ++i) initHooks[i](this);\n\t endOperation(this);\n\t // Suppress optimizelegibility in Webkit, since it breaks text\n\t // measuring on line wrapping boundaries.\n\t if (webkit && options.lineWrapping &&\n\t getComputedStyle(display.lineDiv).textRendering == \"optimizelegibility\")\n\t display.lineDiv.style.textRendering = \"auto\";\n\t }\n\t\n\t // DISPLAY CONSTRUCTOR\n\t\n\t // The display handles the DOM integration, both for input reading\n\t // and content drawing. It holds references to DOM nodes and\n\t // display-related state.\n\t\n\t function Display(place, doc, input) {\n\t var d = this;\n\t this.input = input;\n\t\n\t // Covers bottom-right square when both scrollbars are present.\n\t d.scrollbarFiller = elt(\"div\", null, \"CodeMirror-scrollbar-filler\");\n\t d.scrollbarFiller.setAttribute(\"cm-not-content\", \"true\");\n\t // Covers bottom of gutter when coverGutterNextToScrollbar is on\n\t // and h scrollbar is present.\n\t d.gutterFiller = elt(\"div\", null, \"CodeMirror-gutter-filler\");\n\t d.gutterFiller.setAttribute(\"cm-not-content\", \"true\");\n\t // Will contain the actual code, positioned to cover the viewport.\n\t d.lineDiv = elt(\"div\", null, \"CodeMirror-code\");\n\t // Elements are added to these to represent selection and cursors.\n\t d.selectionDiv = elt(\"div\", null, null, \"position: relative; z-index: 1\");\n\t d.cursorDiv = elt(\"div\", null, \"CodeMirror-cursors\");\n\t // A visibility: hidden element used to find the size of things.\n\t d.measure = elt(\"div\", null, \"CodeMirror-measure\");\n\t // When lines outside of the viewport are measured, they are drawn in this.\n\t d.lineMeasure = elt(\"div\", null, \"CodeMirror-measure\");\n\t // Wraps everything that needs to exist inside the vertically-padded coordinate system\n\t d.lineSpace = elt(\"div\", [d.measure, d.lineMeasure, d.selectionDiv, d.cursorDiv, d.lineDiv],\n\t null, \"position: relative; outline: none\");\n\t // Moved around its parent to cover visible view.\n\t d.mover = elt(\"div\", [elt(\"div\", [d.lineSpace], \"CodeMirror-lines\")], null, \"position: relative\");\n\t // Set to the height of the document, allowing scrolling.\n\t d.sizer = elt(\"div\", [d.mover], \"CodeMirror-sizer\");\n\t d.sizerWidth = null;\n\t // Behavior of elts with overflow: auto and padding is\n\t // inconsistent across browsers. This is used to ensure the\n\t // scrollable area is big enough.\n\t d.heightForcer = elt(\"div\", null, null, \"position: absolute; height: \" + scrollerGap + \"px; width: 1px;\");\n\t // Will contain the gutters, if any.\n\t d.gutters = elt(\"div\", null, \"CodeMirror-gutters\");\n\t d.lineGutter = null;\n\t // Actual scrollable element.\n\t d.scroller = elt(\"div\", [d.sizer, d.heightForcer, d.gutters], \"CodeMirror-scroll\");\n\t d.scroller.setAttribute(\"tabIndex\", \"-1\");\n\t // The element in which the editor lives.\n\t d.wrapper = elt(\"div\", [d.scrollbarFiller, d.gutterFiller, d.scroller], \"CodeMirror\");\n\t\n\t // Work around IE7 z-index bug (not perfect, hence IE7 not really being supported)\n\t if (ie && ie_version < 8) { d.gutters.style.zIndex = -1; d.scroller.style.paddingRight = 0; }\n\t if (!webkit && !(gecko && mobile)) d.scroller.draggable = true;\n\t\n\t if (place) {\n\t if (place.appendChild) place.appendChild(d.wrapper);\n\t else place(d.wrapper);\n\t }\n\t\n\t // Current rendered range (may be bigger than the view window).\n\t d.viewFrom = d.viewTo = doc.first;\n\t d.reportedViewFrom = d.reportedViewTo = doc.first;\n\t // Information about the rendered lines.\n\t d.view = [];\n\t d.renderedView = null;\n\t // Holds info about a single rendered line when it was rendered\n\t // for measurement, while not in view.\n\t d.externalMeasured = null;\n\t // Empty space (in pixels) above the view\n\t d.viewOffset = 0;\n\t d.lastWrapHeight = d.lastWrapWidth = 0;\n\t d.updateLineNumbers = null;\n\t\n\t d.nativeBarWidth = d.barHeight = d.barWidth = 0;\n\t d.scrollbarsClipped = false;\n\t\n\t // Used to only resize the line number gutter when necessary (when\n\t // the amount of lines crosses a boundary that makes its width change)\n\t d.lineNumWidth = d.lineNumInnerWidth = d.lineNumChars = null;\n\t // Set to true when a non-horizontal-scrolling line widget is\n\t // added. As an optimization, line widget aligning is skipped when\n\t // this is false.\n\t d.alignWidgets = false;\n\t\n\t d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null;\n\t\n\t // Tracks the maximum line length so that the horizontal scrollbar\n\t // can be kept static when scrolling.\n\t d.maxLine = null;\n\t d.maxLineLength = 0;\n\t d.maxLineChanged = false;\n\t\n\t // Used for measuring wheel scrolling granularity\n\t d.wheelDX = d.wheelDY = d.wheelStartX = d.wheelStartY = null;\n\t\n\t // True when shift is held down.\n\t d.shift = false;\n\t\n\t // Used to track whether anything happened since the context menu\n\t // was opened.\n\t d.selForContextMenu = null;\n\t\n\t d.activeTouch = null;\n\t\n\t input.init(d);\n\t }\n\t\n\t // STATE UPDATES\n\t\n\t // Used to get the editor into a consistent state again when options change.\n\t\n\t function loadMode(cm) {\n\t cm.doc.mode = CodeMirror.getMode(cm.options, cm.doc.modeOption);\n\t resetModeState(cm);\n\t }\n\t\n\t function resetModeState(cm) {\n\t cm.doc.iter(function(line) {\n\t if (line.stateAfter) line.stateAfter = null;\n\t if (line.styles) line.styles = null;\n\t });\n\t cm.doc.frontier = cm.doc.first;\n\t startWorker(cm, 100);\n\t cm.state.modeGen++;\n\t if (cm.curOp) regChange(cm);\n\t }\n\t\n\t function wrappingChanged(cm) {\n\t if (cm.options.lineWrapping) {\n\t addClass(cm.display.wrapper, \"CodeMirror-wrap\");\n\t cm.display.sizer.style.minWidth = \"\";\n\t cm.display.sizerWidth = null;\n\t } else {\n\t rmClass(cm.display.wrapper, \"CodeMirror-wrap\");\n\t findMaxLine(cm);\n\t }\n\t estimateLineHeights(cm);\n\t regChange(cm);\n\t clearCaches(cm);\n\t setTimeout(function(){updateScrollbars(cm);}, 100);\n\t }\n\t\n\t // Returns a function that estimates the height of a line, to use as\n\t // first approximation until the line becomes visible (and is thus\n\t // properly measurable).\n\t function estimateHeight(cm) {\n\t var th = textHeight(cm.display), wrapping = cm.options.lineWrapping;\n\t var perLine = wrapping && Math.max(5, cm.display.scroller.clientWidth / charWidth(cm.display) - 3);\n\t return function(line) {\n\t if (lineIsHidden(cm.doc, line)) return 0;\n\t\n\t var widgetsHeight = 0;\n\t if (line.widgets) for (var i = 0; i < line.widgets.length; i++) {\n\t if (line.widgets[i].height) widgetsHeight += line.widgets[i].height;\n\t }\n\t\n\t if (wrapping)\n\t return widgetsHeight + (Math.ceil(line.text.length / perLine) || 1) * th;\n\t else\n\t return widgetsHeight + th;\n\t };\n\t }\n\t\n\t function estimateLineHeights(cm) {\n\t var doc = cm.doc, est = estimateHeight(cm);\n\t doc.iter(function(line) {\n\t var estHeight = est(line);\n\t if (estHeight != line.height) updateLineHeight(line, estHeight);\n\t });\n\t }\n\t\n\t function themeChanged(cm) {\n\t cm.display.wrapper.className = cm.display.wrapper.className.replace(/\\s*cm-s-\\S+/g, \"\") +\n\t cm.options.theme.replace(/(^|\\s)\\s*/g, \" cm-s-\");\n\t clearCaches(cm);\n\t }\n\t\n\t function guttersChanged(cm) {\n\t updateGutters(cm);\n\t regChange(cm);\n\t setTimeout(function(){alignHorizontally(cm);}, 20);\n\t }\n\t\n\t // Rebuild the gutter elements, ensure the margin to the left of the\n\t // code matches their width.\n\t function updateGutters(cm) {\n\t var gutters = cm.display.gutters, specs = cm.options.gutters;\n\t removeChildren(gutters);\n\t for (var i = 0; i < specs.length; ++i) {\n\t var gutterClass = specs[i];\n\t var gElt = gutters.appendChild(elt(\"div\", null, \"CodeMirror-gutter \" + gutterClass));\n\t if (gutterClass == \"CodeMirror-linenumbers\") {\n\t cm.display.lineGutter = gElt;\n\t gElt.style.width = (cm.display.lineNumWidth || 1) + \"px\";\n\t }\n\t }\n\t gutters.style.display = i ? \"\" : \"none\";\n\t updateGutterSpace(cm);\n\t }\n\t\n\t function updateGutterSpace(cm) {\n\t var width = cm.display.gutters.offsetWidth;\n\t cm.display.sizer.style.marginLeft = width + \"px\";\n\t }\n\t\n\t // Compute the character length of a line, taking into account\n\t // collapsed ranges (see markText) that might hide parts, and join\n\t // other lines onto it.\n\t function lineLength(line) {\n\t if (line.height == 0) return 0;\n\t var len = line.text.length, merged, cur = line;\n\t while (merged = collapsedSpanAtStart(cur)) {\n\t var found = merged.find(0, true);\n\t cur = found.from.line;\n\t len += found.from.ch - found.to.ch;\n\t }\n\t cur = line;\n\t while (merged = collapsedSpanAtEnd(cur)) {\n\t var found = merged.find(0, true);\n\t len -= cur.text.length - found.from.ch;\n\t cur = found.to.line;\n\t len += cur.text.length - found.to.ch;\n\t }\n\t return len;\n\t }\n\t\n\t // Find the longest line in the document.\n\t function findMaxLine(cm) {\n\t var d = cm.display, doc = cm.doc;\n\t d.maxLine = getLine(doc, doc.first);\n\t d.maxLineLength = lineLength(d.maxLine);\n\t d.maxLineChanged = true;\n\t doc.iter(function(line) {\n\t var len = lineLength(line);\n\t if (len > d.maxLineLength) {\n\t d.maxLineLength = len;\n\t d.maxLine = line;\n\t }\n\t });\n\t }\n\t\n\t // Make sure the gutters options contains the element\n\t // \"CodeMirror-linenumbers\" when the lineNumbers option is true.\n\t function setGuttersForLineNumbers(options) {\n\t var found = indexOf(options.gutters, \"CodeMirror-linenumbers\");\n\t if (found == -1 && options.lineNumbers) {\n\t options.gutters = options.gutters.concat([\"CodeMirror-linenumbers\"]);\n\t } else if (found > -1 && !options.lineNumbers) {\n\t options.gutters = options.gutters.slice(0);\n\t options.gutters.splice(found, 1);\n\t }\n\t }\n\t\n\t // SCROLLBARS\n\t\n\t // Prepare DOM reads needed to update the scrollbars. Done in one\n\t // shot to minimize update/measure roundtrips.\n\t function measureForScrollbars(cm) {\n\t var d = cm.display, gutterW = d.gutters.offsetWidth;\n\t var docH = Math.round(cm.doc.height + paddingVert(cm.display));\n\t return {\n\t clientHeight: d.scroller.clientHeight,\n\t viewHeight: d.wrapper.clientHeight,\n\t scrollWidth: d.scroller.scrollWidth, clientWidth: d.scroller.clientWidth,\n\t viewWidth: d.wrapper.clientWidth,\n\t barLeft: cm.options.fixedGutter ? gutterW : 0,\n\t docHeight: docH,\n\t scrollHeight: docH + scrollGap(cm) + d.barHeight,\n\t nativeBarWidth: d.nativeBarWidth,\n\t gutterWidth: gutterW\n\t };\n\t }\n\t\n\t function NativeScrollbars(place, scroll, cm) {\n\t this.cm = cm;\n\t var vert = this.vert = elt(\"div\", [elt(\"div\", null, null, \"min-width: 1px\")], \"CodeMirror-vscrollbar\");\n\t var horiz = this.horiz = elt(\"div\", [elt(\"div\", null, null, \"height: 100%; min-height: 1px\")], \"CodeMirror-hscrollbar\");\n\t place(vert); place(horiz);\n\t\n\t on(vert, \"scroll\", function() {\n\t if (vert.clientHeight) scroll(vert.scrollTop, \"vertical\");\n\t });\n\t on(horiz, \"scroll\", function() {\n\t if (horiz.clientWidth) scroll(horiz.scrollLeft, \"horizontal\");\n\t });\n\t\n\t this.checkedOverlay = false;\n\t // Need to set a minimum width to see the scrollbar on IE7 (but must not set it on IE8).\n\t if (ie && ie_version < 8) this.horiz.style.minHeight = this.vert.style.minWidth = \"18px\";\n\t }\n\t\n\t NativeScrollbars.prototype = copyObj({\n\t update: function(measure) {\n\t var needsH = measure.scrollWidth > measure.clientWidth + 1;\n\t var needsV = measure.scrollHeight > measure.clientHeight + 1;\n\t var sWidth = measure.nativeBarWidth;\n\t\n\t if (needsV) {\n\t this.vert.style.display = \"block\";\n\t this.vert.style.bottom = needsH ? sWidth + \"px\" : \"0\";\n\t var totalHeight = measure.viewHeight - (needsH ? sWidth : 0);\n\t // A bug in IE8 can cause this value to be negative, so guard it.\n\t this.vert.firstChild.style.height =\n\t Math.max(0, measure.scrollHeight - measure.clientHeight + totalHeight) + \"px\";\n\t } else {\n\t this.vert.style.display = \"\";\n\t this.vert.firstChild.style.height = \"0\";\n\t }\n\t\n\t if (needsH) {\n\t this.horiz.style.display = \"block\";\n\t this.horiz.style.right = needsV ? sWidth + \"px\" : \"0\";\n\t this.horiz.style.left = measure.barLeft + \"px\";\n\t var totalWidth = measure.viewWidth - measure.barLeft - (needsV ? sWidth : 0);\n\t this.horiz.firstChild.style.width =\n\t (measure.scrollWidth - measure.clientWidth + totalWidth) + \"px\";\n\t } else {\n\t this.horiz.style.display = \"\";\n\t this.horiz.firstChild.style.width = \"0\";\n\t }\n\t\n\t if (!this.checkedOverlay && measure.clientHeight > 0) {\n\t if (sWidth == 0) this.overlayHack();\n\t this.checkedOverlay = true;\n\t }\n\t\n\t return {right: needsV ? sWidth : 0, bottom: needsH ? sWidth : 0};\n\t },\n\t setScrollLeft: function(pos) {\n\t if (this.horiz.scrollLeft != pos) this.horiz.scrollLeft = pos;\n\t },\n\t setScrollTop: function(pos) {\n\t if (this.vert.scrollTop != pos) this.vert.scrollTop = pos;\n\t },\n\t overlayHack: function() {\n\t var w = mac && !mac_geMountainLion ? \"12px\" : \"18px\";\n\t this.horiz.style.minHeight = this.vert.style.minWidth = w;\n\t var self = this;\n\t var barMouseDown = function(e) {\n\t if (e_target(e) != self.vert && e_target(e) != self.horiz)\n\t operation(self.cm, onMouseDown)(e);\n\t };\n\t on(this.vert, \"mousedown\", barMouseDown);\n\t on(this.horiz, \"mousedown\", barMouseDown);\n\t },\n\t clear: function() {\n\t var parent = this.horiz.parentNode;\n\t parent.removeChild(this.horiz);\n\t parent.removeChild(this.vert);\n\t }\n\t }, NativeScrollbars.prototype);\n\t\n\t function NullScrollbars() {}\n\t\n\t NullScrollbars.prototype = copyObj({\n\t update: function() { return {bottom: 0, right: 0}; },\n\t setScrollLeft: function() {},\n\t setScrollTop: function() {},\n\t clear: function() {}\n\t }, NullScrollbars.prototype);\n\t\n\t CodeMirror.scrollbarModel = {\"native\": NativeScrollbars, \"null\": NullScrollbars};\n\t\n\t function initScrollbars(cm) {\n\t if (cm.display.scrollbars) {\n\t cm.display.scrollbars.clear();\n\t if (cm.display.scrollbars.addClass)\n\t rmClass(cm.display.wrapper, cm.display.scrollbars.addClass);\n\t }\n\t\n\t cm.display.scrollbars = new CodeMirror.scrollbarModel[cm.options.scrollbarStyle](function(node) {\n\t cm.display.wrapper.insertBefore(node, cm.display.scrollbarFiller);\n\t // Prevent clicks in the scrollbars from killing focus\n\t on(node, \"mousedown\", function() {\n\t if (cm.state.focused) setTimeout(function() { cm.display.input.focus(); }, 0);\n\t });\n\t node.setAttribute(\"cm-not-content\", \"true\");\n\t }, function(pos, axis) {\n\t if (axis == \"horizontal\") setScrollLeft(cm, pos);\n\t else setScrollTop(cm, pos);\n\t }, cm);\n\t if (cm.display.scrollbars.addClass)\n\t addClass(cm.display.wrapper, cm.display.scrollbars.addClass);\n\t }\n\t\n\t function updateScrollbars(cm, measure) {\n\t if (!measure) measure = measureForScrollbars(cm);\n\t var startWidth = cm.display.barWidth, startHeight = cm.display.barHeight;\n\t updateScrollbarsInner(cm, measure);\n\t for (var i = 0; i < 4 && startWidth != cm.display.barWidth || startHeight != cm.display.barHeight; i++) {\n\t if (startWidth != cm.display.barWidth && cm.options.lineWrapping)\n\t updateHeightsInViewport(cm);\n\t updateScrollbarsInner(cm, measureForScrollbars(cm));\n\t startWidth = cm.display.barWidth; startHeight = cm.display.barHeight;\n\t }\n\t }\n\t\n\t // Re-synchronize the fake scrollbars with the actual size of the\n\t // content.\n\t function updateScrollbarsInner(cm, measure) {\n\t var d = cm.display;\n\t var sizes = d.scrollbars.update(measure);\n\t\n\t d.sizer.style.paddingRight = (d.barWidth = sizes.right) + \"px\";\n\t d.sizer.style.paddingBottom = (d.barHeight = sizes.bottom) + \"px\";\n\t\n\t if (sizes.right && sizes.bottom) {\n\t d.scrollbarFiller.style.display = \"block\";\n\t d.scrollbarFiller.style.height = sizes.bottom + \"px\";\n\t d.scrollbarFiller.style.width = sizes.right + \"px\";\n\t } else d.scrollbarFiller.style.display = \"\";\n\t if (sizes.bottom && cm.options.coverGutterNextToScrollbar && cm.options.fixedGutter) {\n\t d.gutterFiller.style.display = \"block\";\n\t d.gutterFiller.style.height = sizes.bottom + \"px\";\n\t d.gutterFiller.style.width = measure.gutterWidth + \"px\";\n\t } else d.gutterFiller.style.display = \"\";\n\t }\n\t\n\t // Compute the lines that are visible in a given viewport (defaults\n\t // the the current scroll position). viewport may contain top,\n\t // height, and ensure (see op.scrollToPos) properties.\n\t function visibleLines(display, doc, viewport) {\n\t var top = viewport && viewport.top != null ? Math.max(0, viewport.top) : display.scroller.scrollTop;\n\t top = Math.floor(top - paddingTop(display));\n\t var bottom = viewport && viewport.bottom != null ? viewport.bottom : top + display.wrapper.clientHeight;\n\t\n\t var from = lineAtHeight(doc, top), to = lineAtHeight(doc, bottom);\n\t // Ensure is a {from: {line, ch}, to: {line, ch}} object, and\n\t // forces those lines into the viewport (if possible).\n\t if (viewport && viewport.ensure) {\n\t var ensureFrom = viewport.ensure.from.line, ensureTo = viewport.ensure.to.line;\n\t if (ensureFrom < from) {\n\t from = ensureFrom;\n\t to = lineAtHeight(doc, heightAtLine(getLine(doc, ensureFrom)) + display.wrapper.clientHeight);\n\t } else if (Math.min(ensureTo, doc.lastLine()) >= to) {\n\t from = lineAtHeight(doc, heightAtLine(getLine(doc, ensureTo)) - display.wrapper.clientHeight);\n\t to = ensureTo;\n\t }\n\t }\n\t return {from: from, to: Math.max(to, from + 1)};\n\t }\n\t\n\t // LINE NUMBERS\n\t\n\t // Re-align line numbers and gutter marks to compensate for\n\t // horizontal scrolling.\n\t function alignHorizontally(cm) {\n\t var display = cm.display, view = display.view;\n\t if (!display.alignWidgets && (!display.gutters.firstChild || !cm.options.fixedGutter)) return;\n\t var comp = compensateForHScroll(display) - display.scroller.scrollLeft + cm.doc.scrollLeft;\n\t var gutterW = display.gutters.offsetWidth, left = comp + \"px\";\n\t for (var i = 0; i < view.length; i++) if (!view[i].hidden) {\n\t if (cm.options.fixedGutter && view[i].gutter)\n\t view[i].gutter.style.left = left;\n\t var align = view[i].alignable;\n\t if (align) for (var j = 0; j < align.length; j++)\n\t align[j].style.left = left;\n\t }\n\t if (cm.options.fixedGutter)\n\t display.gutters.style.left = (comp + gutterW) + \"px\";\n\t }\n\t\n\t // Used to ensure that the line number gutter is still the right\n\t // size for the current document size. Returns true when an update\n\t // is needed.\n\t function maybeUpdateLineNumberWidth(cm) {\n\t if (!cm.options.lineNumbers) return false;\n\t var doc = cm.doc, last = lineNumberFor(cm.options, doc.first + doc.size - 1), display = cm.display;\n\t if (last.length != display.lineNumChars) {\n\t var test = display.measure.appendChild(elt(\"div\", [elt(\"div\", last)],\n\t \"CodeMirror-linenumber CodeMirror-gutter-elt\"));\n\t var innerW = test.firstChild.offsetWidth, padding = test.offsetWidth - innerW;\n\t display.lineGutter.style.width = \"\";\n\t display.lineNumInnerWidth = Math.max(innerW, display.lineGutter.offsetWidth - padding) + 1;\n\t display.lineNumWidth = display.lineNumInnerWidth + padding;\n\t display.lineNumChars = display.lineNumInnerWidth ? last.length : -1;\n\t display.lineGutter.style.width = display.lineNumWidth + \"px\";\n\t updateGutterSpace(cm);\n\t return true;\n\t }\n\t return false;\n\t }\n\t\n\t function lineNumberFor(options, i) {\n\t return String(options.lineNumberFormatter(i + options.firstLineNumber));\n\t }\n\t\n\t // Computes display.scroller.scrollLeft + display.gutters.offsetWidth,\n\t // but using getBoundingClientRect to get a sub-pixel-accurate\n\t // result.\n\t function compensateForHScroll(display) {\n\t return display.scroller.getBoundingClientRect().left - display.sizer.getBoundingClientRect().left;\n\t }\n\t\n\t // DISPLAY DRAWING\n\t\n\t function DisplayUpdate(cm, viewport, force) {\n\t var display = cm.display;\n\t\n\t this.viewport = viewport;\n\t // Store some values that we'll need later (but don't want to force a relayout for)\n\t this.visible = visibleLines(display, cm.doc, viewport);\n\t this.editorIsHidden = !display.wrapper.offsetWidth;\n\t this.wrapperHeight = display.wrapper.clientHeight;\n\t this.wrapperWidth = display.wrapper.clientWidth;\n\t this.oldDisplayWidth = displayWidth(cm);\n\t this.force = force;\n\t this.dims = getDimensions(cm);\n\t this.events = [];\n\t }\n\t\n\t DisplayUpdate.prototype.signal = function(emitter, type) {\n\t if (hasHandler(emitter, type))\n\t this.events.push(arguments);\n\t };\n\t DisplayUpdate.prototype.finish = function() {\n\t for (var i = 0; i < this.events.length; i++)\n\t signal.apply(null, this.events[i]);\n\t };\n\t\n\t function maybeClipScrollbars(cm) {\n\t var display = cm.display;\n\t if (!display.scrollbarsClipped && display.scroller.offsetWidth) {\n\t display.nativeBarWidth = display.scroller.offsetWidth - display.scroller.clientWidth;\n\t display.heightForcer.style.height = scrollGap(cm) + \"px\";\n\t display.sizer.style.marginBottom = -display.nativeBarWidth + \"px\";\n\t display.sizer.style.borderRightWidth = scrollGap(cm) + \"px\";\n\t display.scrollbarsClipped = true;\n\t }\n\t }\n\t\n\t // Does the actual updating of the line display. Bails out\n\t // (returning false) when there is nothing to be done and forced is\n\t // false.\n\t function updateDisplayIfNeeded(cm, update) {\n\t var display = cm.display, doc = cm.doc;\n\t\n\t if (update.editorIsHidden) {\n\t resetView(cm);\n\t return false;\n\t }\n\t\n\t // Bail out if the visible area is already rendered and nothing changed.\n\t if (!update.force &&\n\t update.visible.from >= display.viewFrom && update.visible.to <= display.viewTo &&\n\t (display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo) &&\n\t display.renderedView == display.view && countDirtyView(cm) == 0)\n\t return false;\n\t\n\t if (maybeUpdateLineNumberWidth(cm)) {\n\t resetView(cm);\n\t update.dims = getDimensions(cm);\n\t }\n\t\n\t // Compute a suitable new viewport (from & to)\n\t var end = doc.first + doc.size;\n\t var from = Math.max(update.visible.from - cm.options.viewportMargin, doc.first);\n\t var to = Math.min(end, update.visible.to + cm.options.viewportMargin);\n\t if (display.viewFrom < from && from - display.viewFrom < 20) from = Math.max(doc.first, display.viewFrom);\n\t if (display.viewTo > to && display.viewTo - to < 20) to = Math.min(end, display.viewTo);\n\t if (sawCollapsedSpans) {\n\t from = visualLineNo(cm.doc, from);\n\t to = visualLineEndNo(cm.doc, to);\n\t }\n\t\n\t var different = from != display.viewFrom || to != display.viewTo ||\n\t display.lastWrapHeight != update.wrapperHeight || display.lastWrapWidth != update.wrapperWidth;\n\t adjustView(cm, from, to);\n\t\n\t display.viewOffset = heightAtLine(getLine(cm.doc, display.viewFrom));\n\t // Position the mover div to align with the current scroll position\n\t cm.display.mover.style.top = display.viewOffset + \"px\";\n\t\n\t var toUpdate = countDirtyView(cm);\n\t if (!different && toUpdate == 0 && !update.force && display.renderedView == display.view &&\n\t (display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo))\n\t return false;\n\t\n\t // For big changes, we hide the enclosing element during the\n\t // update, since that speeds up the operations on most browsers.\n\t var focused = activeElt();\n\t if (toUpdate > 4) display.lineDiv.style.display = \"none\";\n\t patchDisplay(cm, display.updateLineNumbers, update.dims);\n\t if (toUpdate > 4) display.lineDiv.style.display = \"\";\n\t display.renderedView = display.view;\n\t // There might have been a widget with a focused element that got\n\t // hidden or updated, if so re-focus it.\n\t if (focused && activeElt() != focused && focused.offsetHeight) focused.focus();\n\t\n\t // Prevent selection and cursors from interfering with the scroll\n\t // width and height.\n\t removeChildren(display.cursorDiv);\n\t removeChildren(display.selectionDiv);\n\t display.gutters.style.height = display.sizer.style.minHeight = 0;\n\t\n\t if (different) {\n\t display.lastWrapHeight = update.wrapperHeight;\n\t display.lastWrapWidth = update.wrapperWidth;\n\t startWorker(cm, 400);\n\t }\n\t\n\t display.updateLineNumbers = null;\n\t\n\t return true;\n\t }\n\t\n\t function postUpdateDisplay(cm, update) {\n\t var viewport = update.viewport;\n\t for (var first = true;; first = false) {\n\t if (!first || !cm.options.lineWrapping || update.oldDisplayWidth == displayWidth(cm)) {\n\t // Clip forced viewport to actual scrollable area.\n\t if (viewport && viewport.top != null)\n\t viewport = {top: Math.min(cm.doc.height + paddingVert(cm.display) - displayHeight(cm), viewport.top)};\n\t // Updated line heights might result in the drawn area not\n\t // actually covering the viewport. Keep looping until it does.\n\t update.visible = visibleLines(cm.display, cm.doc, viewport);\n\t if (update.visible.from >= cm.display.viewFrom && update.visible.to <= cm.display.viewTo)\n\t break;\n\t }\n\t if (!updateDisplayIfNeeded(cm, update)) break;\n\t updateHeightsInViewport(cm);\n\t var barMeasure = measureForScrollbars(cm);\n\t updateSelection(cm);\n\t setDocumentHeight(cm, barMeasure);\n\t updateScrollbars(cm, barMeasure);\n\t }\n\t\n\t update.signal(cm, \"update\", cm);\n\t if (cm.display.viewFrom != cm.display.reportedViewFrom || cm.display.viewTo != cm.display.reportedViewTo) {\n\t update.signal(cm, \"viewportChange\", cm, cm.display.viewFrom, cm.display.viewTo);\n\t cm.display.reportedViewFrom = cm.display.viewFrom; cm.display.reportedViewTo = cm.display.viewTo;\n\t }\n\t }\n\t\n\t function updateDisplaySimple(cm, viewport) {\n\t var update = new DisplayUpdate(cm, viewport);\n\t if (updateDisplayIfNeeded(cm, update)) {\n\t updateHeightsInViewport(cm);\n\t postUpdateDisplay(cm, update);\n\t var barMeasure = measureForScrollbars(cm);\n\t updateSelection(cm);\n\t setDocumentHeight(cm, barMeasure);\n\t updateScrollbars(cm, barMeasure);\n\t update.finish();\n\t }\n\t }\n\t\n\t function setDocumentHeight(cm, measure) {\n\t cm.display.sizer.style.minHeight = measure.docHeight + \"px\";\n\t var total = measure.docHeight + cm.display.barHeight;\n\t cm.display.heightForcer.style.top = total + \"px\";\n\t cm.display.gutters.style.height = Math.max(total + scrollGap(cm), measure.clientHeight) + \"px\";\n\t }\n\t\n\t // Read the actual heights of the rendered lines, and update their\n\t // stored heights to match.\n\t function updateHeightsInViewport(cm) {\n\t var display = cm.display;\n\t var prevBottom = display.lineDiv.offsetTop;\n\t for (var i = 0; i < display.view.length; i++) {\n\t var cur = display.view[i], height;\n\t if (cur.hidden) continue;\n\t if (ie && ie_version < 8) {\n\t var bot = cur.node.offsetTop + cur.node.offsetHeight;\n\t height = bot - prevBottom;\n\t prevBottom = bot;\n\t } else {\n\t var box = cur.node.getBoundingClientRect();\n\t height = box.bottom - box.top;\n\t }\n\t var diff = cur.line.height - height;\n\t if (height < 2) height = textHeight(display);\n\t if (diff > .001 || diff < -.001) {\n\t updateLineHeight(cur.line, height);\n\t updateWidgetHeight(cur.line);\n\t if (cur.rest) for (var j = 0; j < cur.rest.length; j++)\n\t updateWidgetHeight(cur.rest[j]);\n\t }\n\t }\n\t }\n\t\n\t // Read and store the height of line widgets associated with the\n\t // given line.\n\t function updateWidgetHeight(line) {\n\t if (line.widgets) for (var i = 0; i < line.widgets.length; ++i)\n\t line.widgets[i].height = line.widgets[i].node.offsetHeight;\n\t }\n\t\n\t // Do a bulk-read of the DOM positions and sizes needed to draw the\n\t // view, so that we don't interleave reading and writing to the DOM.\n\t function getDimensions(cm) {\n\t var d = cm.display, left = {}, width = {};\n\t var gutterLeft = d.gutters.clientLeft;\n\t for (var n = d.gutters.firstChild, i = 0; n; n = n.nextSibling, ++i) {\n\t left[cm.options.gutters[i]] = n.offsetLeft + n.clientLeft + gutterLeft;\n\t width[cm.options.gutters[i]] = n.clientWidth;\n\t }\n\t return {fixedPos: compensateForHScroll(d),\n\t gutterTotalWidth: d.gutters.offsetWidth,\n\t gutterLeft: left,\n\t gutterWidth: width,\n\t wrapperWidth: d.wrapper.clientWidth};\n\t }\n\t\n\t // Sync the actual display DOM structure with display.view, removing\n\t // nodes for lines that are no longer in view, and creating the ones\n\t // that are not there yet, and updating the ones that are out of\n\t // date.\n\t function patchDisplay(cm, updateNumbersFrom, dims) {\n\t var display = cm.display, lineNumbers = cm.options.lineNumbers;\n\t var container = display.lineDiv, cur = container.firstChild;\n\t\n\t function rm(node) {\n\t var next = node.nextSibling;\n\t // Works around a throw-scroll bug in OS X Webkit\n\t if (webkit && mac && cm.display.currentWheelTarget == node)\n\t node.style.display = \"none\";\n\t else\n\t node.parentNode.removeChild(node);\n\t return next;\n\t }\n\t\n\t var view = display.view, lineN = display.viewFrom;\n\t // Loop over the elements in the view, syncing cur (the DOM nodes\n\t // in display.lineDiv) with the view as we go.\n\t for (var i = 0; i < view.length; i++) {\n\t var lineView = view[i];\n\t if (lineView.hidden) {\n\t } else if (!lineView.node || lineView.node.parentNode != container) { // Not drawn yet\n\t var node = buildLineElement(cm, lineView, lineN, dims);\n\t container.insertBefore(node, cur);\n\t } else { // Already drawn\n\t while (cur != lineView.node) cur = rm(cur);\n\t var updateNumber = lineNumbers && updateNumbersFrom != null &&\n\t updateNumbersFrom <= lineN && lineView.lineNumber;\n\t if (lineView.changes) {\n\t if (indexOf(lineView.changes, \"gutter\") > -1) updateNumber = false;\n\t updateLineForChanges(cm, lineView, lineN, dims);\n\t }\n\t if (updateNumber) {\n\t removeChildren(lineView.lineNumber);\n\t lineView.lineNumber.appendChild(document.createTextNode(lineNumberFor(cm.options, lineN)));\n\t }\n\t cur = lineView.node.nextSibling;\n\t }\n\t lineN += lineView.size;\n\t }\n\t while (cur) cur = rm(cur);\n\t }\n\t\n\t // When an aspect of a line changes, a string is added to\n\t // lineView.changes. This updates the relevant part of the line's\n\t // DOM structure.\n\t function updateLineForChanges(cm, lineView, lineN, dims) {\n\t for (var j = 0; j < lineView.changes.length; j++) {\n\t var type = lineView.changes[j];\n\t if (type == \"text\") updateLineText(cm, lineView);\n\t else if (type == \"gutter\") updateLineGutter(cm, lineView, lineN, dims);\n\t else if (type == \"class\") updateLineClasses(lineView);\n\t else if (type == \"widget\") updateLineWidgets(cm, lineView, dims);\n\t }\n\t lineView.changes = null;\n\t }\n\t\n\t // Lines with gutter elements, widgets or a background class need to\n\t // be wrapped, and have the extra elements added to the wrapper div\n\t function ensureLineWrapped(lineView) {\n\t if (lineView.node == lineView.text) {\n\t lineView.node = elt(\"div\", null, null, \"position: relative\");\n\t if (lineView.text.parentNode)\n\t lineView.text.parentNode.replaceChild(lineView.node, lineView.text);\n\t lineView.node.appendChild(lineView.text);\n\t if (ie && ie_version < 8) lineView.node.style.zIndex = 2;\n\t }\n\t return lineView.node;\n\t }\n\t\n\t function updateLineBackground(lineView) {\n\t var cls = lineView.bgClass ? lineView.bgClass + \" \" + (lineView.line.bgClass || \"\") : lineView.line.bgClass;\n\t if (cls) cls += \" CodeMirror-linebackground\";\n\t if (lineView.background) {\n\t if (cls) lineView.background.className = cls;\n\t else { lineView.background.parentNode.removeChild(lineView.background); lineView.background = null; }\n\t } else if (cls) {\n\t var wrap = ensureLineWrapped(lineView);\n\t lineView.background = wrap.insertBefore(elt(\"div\", null, cls), wrap.firstChild);\n\t }\n\t }\n\t\n\t // Wrapper around buildLineContent which will reuse the structure\n\t // in display.externalMeasured when possible.\n\t function getLineContent(cm, lineView) {\n\t var ext = cm.display.externalMeasured;\n\t if (ext && ext.line == lineView.line) {\n\t cm.display.externalMeasured = null;\n\t lineView.measure = ext.measure;\n\t return ext.built;\n\t }\n\t return buildLineContent(cm, lineView);\n\t }\n\t\n\t // Redraw the line's text. Interacts with the background and text\n\t // classes because the mode may output tokens that influence these\n\t // classes.\n\t function updateLineText(cm, lineView) {\n\t var cls = lineView.text.className;\n\t var built = getLineContent(cm, lineView);\n\t if (lineView.text == lineView.node) lineView.node = built.pre;\n\t lineView.text.parentNode.replaceChild(built.pre, lineView.text);\n\t lineView.text = built.pre;\n\t if (built.bgClass != lineView.bgClass || built.textClass != lineView.textClass) {\n\t lineView.bgClass = built.bgClass;\n\t lineView.textClass = built.textClass;\n\t updateLineClasses(lineView);\n\t } else if (cls) {\n\t lineView.text.className = cls;\n\t }\n\t }\n\t\n\t function updateLineClasses(lineView) {\n\t updateLineBackground(lineView);\n\t if (lineView.line.wrapClass)\n\t ensureLineWrapped(lineView).className = lineView.line.wrapClass;\n\t else if (lineView.node != lineView.text)\n\t lineView.node.className = \"\";\n\t var textClass = lineView.textClass ? lineView.textClass + \" \" + (lineView.line.textClass || \"\") : lineView.line.textClass;\n\t lineView.text.className = textClass || \"\";\n\t }\n\t\n\t function updateLineGutter(cm, lineView, lineN, dims) {\n\t if (lineView.gutter) {\n\t lineView.node.removeChild(lineView.gutter);\n\t lineView.gutter = null;\n\t }\n\t if (lineView.gutterBackground) {\n\t lineView.node.removeChild(lineView.gutterBackground);\n\t lineView.gutterBackground = null;\n\t }\n\t if (lineView.line.gutterClass) {\n\t var wrap = ensureLineWrapped(lineView);\n\t lineView.gutterBackground = elt(\"div\", null, \"CodeMirror-gutter-background \" + lineView.line.gutterClass,\n\t \"left: \" + (cm.options.fixedGutter ? dims.fixedPos : -dims.gutterTotalWidth) +\n\t \"px; width: \" + dims.gutterTotalWidth + \"px\");\n\t wrap.insertBefore(lineView.gutterBackground, lineView.text);\n\t }\n\t var markers = lineView.line.gutterMarkers;\n\t if (cm.options.lineNumbers || markers) {\n\t var wrap = ensureLineWrapped(lineView);\n\t var gutterWrap = lineView.gutter = elt(\"div\", null, \"CodeMirror-gutter-wrapper\", \"left: \" +\n\t (cm.options.fixedGutter ? dims.fixedPos : -dims.gutterTotalWidth) + \"px\");\n\t cm.display.input.setUneditable(gutterWrap);\n\t wrap.insertBefore(gutterWrap, lineView.text);\n\t if (lineView.line.gutterClass)\n\t gutterWrap.className += \" \" + lineView.line.gutterClass;\n\t if (cm.options.lineNumbers && (!markers || !markers[\"CodeMirror-linenumbers\"]))\n\t lineView.lineNumber = gutterWrap.appendChild(\n\t elt(\"div\", lineNumberFor(cm.options, lineN),\n\t \"CodeMirror-linenumber CodeMirror-gutter-elt\",\n\t \"left: \" + dims.gutterLeft[\"CodeMirror-linenumbers\"] + \"px; width: \"\n\t + cm.display.lineNumInnerWidth + \"px\"));\n\t if (markers) for (var k = 0; k < cm.options.gutters.length; ++k) {\n\t var id = cm.options.gutters[k], found = markers.hasOwnProperty(id) && markers[id];\n\t if (found)\n\t gutterWrap.appendChild(elt(\"div\", [found], \"CodeMirror-gutter-elt\", \"left: \" +\n\t dims.gutterLeft[id] + \"px; width: \" + dims.gutterWidth[id] + \"px\"));\n\t }\n\t }\n\t }\n\t\n\t function updateLineWidgets(cm, lineView, dims) {\n\t if (lineView.alignable) lineView.alignable = null;\n\t for (var node = lineView.node.firstChild, next; node; node = next) {\n\t var next = node.nextSibling;\n\t if (node.className == \"CodeMirror-linewidget\")\n\t lineView.node.removeChild(node);\n\t }\n\t insertLineWidgets(cm, lineView, dims);\n\t }\n\t\n\t // Build a line's DOM representation from scratch\n\t function buildLineElement(cm, lineView, lineN, dims) {\n\t var built = getLineContent(cm, lineView);\n\t lineView.text = lineView.node = built.pre;\n\t if (built.bgClass) lineView.bgClass = built.bgClass;\n\t if (built.textClass) lineView.textClass = built.textClass;\n\t\n\t updateLineClasses(lineView);\n\t updateLineGutter(cm, lineView, lineN, dims);\n\t insertLineWidgets(cm, lineView, dims);\n\t return lineView.node;\n\t }\n\t\n\t // A lineView may contain multiple logical lines (when merged by\n\t // collapsed spans). The widgets for all of them need to be drawn.\n\t function insertLineWidgets(cm, lineView, dims) {\n\t insertLineWidgetsFor(cm, lineView.line, lineView, dims, true);\n\t if (lineView.rest) for (var i = 0; i < lineView.rest.length; i++)\n\t insertLineWidgetsFor(cm, lineView.rest[i], lineView, dims, false);\n\t }\n\t\n\t function insertLineWidgetsFor(cm, line, lineView, dims, allowAbove) {\n\t if (!line.widgets) return;\n\t var wrap = ensureLineWrapped(lineView);\n\t for (var i = 0, ws = line.widgets; i < ws.length; ++i) {\n\t var widget = ws[i], node = elt(\"div\", [widget.node], \"CodeMirror-linewidget\");\n\t if (!widget.handleMouseEvents) node.setAttribute(\"cm-ignore-events\", \"true\");\n\t positionLineWidget(widget, node, lineView, dims);\n\t cm.display.input.setUneditable(node);\n\t if (allowAbove && widget.above)\n\t wrap.insertBefore(node, lineView.gutter || lineView.text);\n\t else\n\t wrap.appendChild(node);\n\t signalLater(widget, \"redraw\");\n\t }\n\t }\n\t\n\t function positionLineWidget(widget, node, lineView, dims) {\n\t if (widget.noHScroll) {\n\t (lineView.alignable || (lineView.alignable = [])).push(node);\n\t var width = dims.wrapperWidth;\n\t node.style.left = dims.fixedPos + \"px\";\n\t if (!widget.coverGutter) {\n\t width -= dims.gutterTotalWidth;\n\t node.style.paddingLeft = dims.gutterTotalWidth + \"px\";\n\t }\n\t node.style.width = width + \"px\";\n\t }\n\t if (widget.coverGutter) {\n\t node.style.zIndex = 5;\n\t node.style.position = \"relative\";\n\t if (!widget.noHScroll) node.style.marginLeft = -dims.gutterTotalWidth + \"px\";\n\t }\n\t }\n\t\n\t // POSITION OBJECT\n\t\n\t // A Pos instance represents a position within the text.\n\t var Pos = CodeMirror.Pos = function(line, ch) {\n\t if (!(this instanceof Pos)) return new Pos(line, ch);\n\t this.line = line; this.ch = ch;\n\t };\n\t\n\t // Compare two positions, return 0 if they are the same, a negative\n\t // number when a is less, and a positive number otherwise.\n\t var cmp = CodeMirror.cmpPos = function(a, b) { return a.line - b.line || a.ch - b.ch; };\n\t\n\t function copyPos(x) {return Pos(x.line, x.ch);}\n\t function maxPos(a, b) { return cmp(a, b) < 0 ? b : a; }\n\t function minPos(a, b) { return cmp(a, b) < 0 ? a : b; }\n\t\n\t // INPUT HANDLING\n\t\n\t function ensureFocus(cm) {\n\t if (!cm.state.focused) { cm.display.input.focus(); onFocus(cm); }\n\t }\n\t\n\t function isReadOnly(cm) {\n\t return cm.options.readOnly || cm.doc.cantEdit;\n\t }\n\t\n\t // This will be set to an array of strings when copying, so that,\n\t // when pasting, we know what kind of selections the copied text\n\t // was made out of.\n\t var lastCopied = null;\n\t\n\t function applyTextInput(cm, inserted, deleted, sel, origin) {\n\t var doc = cm.doc;\n\t cm.display.shift = false;\n\t if (!sel) sel = doc.sel;\n\t\n\t var paste = cm.state.pasteIncoming || origin == \"paste\";\n\t var textLines = doc.splitLines(inserted), multiPaste = null;\n\t // When pasing N lines into N selections, insert one line per selection\n\t if (paste && sel.ranges.length > 1) {\n\t if (lastCopied && lastCopied.join(\"\\n\") == inserted) {\n\t if (sel.ranges.length % lastCopied.length == 0) {\n\t multiPaste = [];\n\t for (var i = 0; i < lastCopied.length; i++)\n\t multiPaste.push(doc.splitLines(lastCopied[i]));\n\t }\n\t } else if (textLines.length == sel.ranges.length) {\n\t multiPaste = map(textLines, function(l) { return [l]; });\n\t }\n\t }\n\t\n\t // Normal behavior is to insert the new text into every selection\n\t for (var i = sel.ranges.length - 1; i >= 0; i--) {\n\t var range = sel.ranges[i];\n\t var from = range.from(), to = range.to();\n\t if (range.empty()) {\n\t if (deleted && deleted > 0) // Handle deletion\n\t from = Pos(from.line, from.ch - deleted);\n\t else if (cm.state.overwrite && !paste) // Handle overwrite\n\t to = Pos(to.line, Math.min(getLine(doc, to.line).text.length, to.ch + lst(textLines).length));\n\t }\n\t var updateInput = cm.curOp.updateInput;\n\t var changeEvent = {from: from, to: to, text: multiPaste ? multiPaste[i % multiPaste.length] : textLines,\n\t origin: origin || (paste ? \"paste\" : cm.state.cutIncoming ? \"cut\" : \"+input\")};\n\t makeChange(cm.doc, changeEvent);\n\t signalLater(cm, \"inputRead\", cm, changeEvent);\n\t }\n\t if (inserted && !paste)\n\t triggerElectric(cm, inserted);\n\t\n\t ensureCursorVisible(cm);\n\t cm.curOp.updateInput = updateInput;\n\t cm.curOp.typing = true;\n\t cm.state.pasteIncoming = cm.state.cutIncoming = false;\n\t }\n\t\n\t function handlePaste(e, cm) {\n\t var pasted = e.clipboardData && e.clipboardData.getData(\"text/plain\");\n\t if (pasted) {\n\t e.preventDefault();\n\t runInOp(cm, function() { applyTextInput(cm, pasted, 0, null, \"paste\"); });\n\t return true;\n\t }\n\t }\n\t\n\t function triggerElectric(cm, inserted) {\n\t // When an 'electric' character is inserted, immediately trigger a reindent\n\t if (!cm.options.electricChars || !cm.options.smartIndent) return;\n\t var sel = cm.doc.sel;\n\t\n\t for (var i = sel.ranges.length - 1; i >= 0; i--) {\n\t var range = sel.ranges[i];\n\t if (range.head.ch > 100 || (i && sel.ranges[i - 1].head.line == range.head.line)) continue;\n\t var mode = cm.getModeAt(range.head);\n\t var indented = false;\n\t if (mode.electricChars) {\n\t for (var j = 0; j < mode.electricChars.length; j++)\n\t if (inserted.indexOf(mode.electricChars.charAt(j)) > -1) {\n\t indented = indentLine(cm, range.head.line, \"smart\");\n\t break;\n\t }\n\t } else if (mode.electricInput) {\n\t if (mode.electricInput.test(getLine(cm.doc, range.head.line).text.slice(0, range.head.ch)))\n\t indented = indentLine(cm, range.head.line, \"smart\");\n\t }\n\t if (indented) signalLater(cm, \"electricInput\", cm, range.head.line);\n\t }\n\t }\n\t\n\t function copyableRanges(cm) {\n\t var text = [], ranges = [];\n\t for (var i = 0; i < cm.doc.sel.ranges.length; i++) {\n\t var line = cm.doc.sel.ranges[i].head.line;\n\t var lineRange = {anchor: Pos(line, 0), head: Pos(line + 1, 0)};\n\t ranges.push(lineRange);\n\t text.push(cm.getRange(lineRange.anchor, lineRange.head));\n\t }\n\t return {text: text, ranges: ranges};\n\t }\n\t\n\t function disableBrowserMagic(field) {\n\t field.setAttribute(\"autocorrect\", \"off\");\n\t field.setAttribute(\"autocapitalize\", \"off\");\n\t field.setAttribute(\"spellcheck\", \"false\");\n\t }\n\t\n\t // TEXTAREA INPUT STYLE\n\t\n\t function TextareaInput(cm) {\n\t this.cm = cm;\n\t // See input.poll and input.reset\n\t this.prevInput = \"\";\n\t\n\t // Flag that indicates whether we expect input to appear real soon\n\t // now (after some event like 'keypress' or 'input') and are\n\t // polling intensively.\n\t this.pollingFast = false;\n\t // Self-resetting timeout for the poller\n\t this.polling = new Delayed();\n\t // Tracks when input.reset has punted to just putting a short\n\t // string into the textarea instead of the full selection.\n\t this.inaccurateSelection = false;\n\t // Used to work around IE issue with selection being forgotten when focus moves away from textarea\n\t this.hasSelection = false;\n\t this.composing = null;\n\t };\n\t\n\t function hiddenTextarea() {\n\t var te = elt(\"textarea\", null, null, \"position: absolute; padding: 0; width: 1px; height: 1em; outline: none\");\n\t var div = elt(\"div\", [te], null, \"overflow: hidden; position: relative; width: 3px; height: 0px;\");\n\t // The textarea is kept positioned near the cursor to prevent the\n\t // fact that it'll be scrolled into view on input from scrolling\n\t // our fake cursor out of view. On webkit, when wrap=off, paste is\n\t // very slow. So make the area wide instead.\n\t if (webkit) te.style.width = \"1000px\";\n\t else te.setAttribute(\"wrap\", \"off\");\n\t // If border: 0; -- iOS fails to open keyboard (issue #1287)\n\t if (ios) te.style.border = \"1px solid black\";\n\t disableBrowserMagic(te);\n\t return div;\n\t }\n\t\n\t TextareaInput.prototype = copyObj({\n\t init: function(display) {\n\t var input = this, cm = this.cm;\n\t\n\t // Wraps and hides input textarea\n\t var div = this.wrapper = hiddenTextarea();\n\t // The semihidden textarea that is focused when the editor is\n\t // focused, and receives input.\n\t var te = this.textarea = div.firstChild;\n\t display.wrapper.insertBefore(div, display.wrapper.firstChild);\n\t\n\t // Needed to hide big blue blinking cursor on Mobile Safari (doesn't seem to work in iOS 8 anymore)\n\t if (ios) te.style.width = \"0px\";\n\t\n\t on(te, \"input\", function() {\n\t if (ie && ie_version >= 9 && input.hasSelection) input.hasSelection = null;\n\t input.poll();\n\t });\n\t\n\t on(te, \"paste\", function(e) {\n\t if (handlePaste(e, cm)) return true;\n\t\n\t cm.state.pasteIncoming = true;\n\t input.fastPoll();\n\t });\n\t\n\t function prepareCopyCut(e) {\n\t if (cm.somethingSelected()) {\n\t lastCopied = cm.getSelections();\n\t if (input.inaccurateSelection) {\n\t input.prevInput = \"\";\n\t input.inaccurateSelection = false;\n\t te.value = lastCopied.join(\"\\n\");\n\t selectInput(te);\n\t }\n\t } else if (!cm.options.lineWiseCopyCut) {\n\t return;\n\t } else {\n\t var ranges = copyableRanges(cm);\n\t lastCopied = ranges.text;\n\t if (e.type == \"cut\") {\n\t cm.setSelections(ranges.ranges, null, sel_dontScroll);\n\t } else {\n\t input.prevInput = \"\";\n\t te.value = ranges.text.join(\"\\n\");\n\t selectInput(te);\n\t }\n\t }\n\t if (e.type == \"cut\") cm.state.cutIncoming = true;\n\t }\n\t on(te, \"cut\", prepareCopyCut);\n\t on(te, \"copy\", prepareCopyCut);\n\t\n\t on(display.scroller, \"paste\", function(e) {\n\t if (eventInWidget(display, e)) return;\n\t cm.state.pasteIncoming = true;\n\t input.focus();\n\t });\n\t\n\t // Prevent normal selection in the editor (we handle our own)\n\t on(display.lineSpace, \"selectstart\", function(e) {\n\t if (!eventInWidget(display, e)) e_preventDefault(e);\n\t });\n\t\n\t on(te, \"compositionstart\", function() {\n\t var start = cm.getCursor(\"from\");\n\t input.composing = {\n\t start: start,\n\t range: cm.markText(start, cm.getCursor(\"to\"), {className: \"CodeMirror-composing\"})\n\t };\n\t });\n\t on(te, \"compositionend\", function() {\n\t if (input.composing) {\n\t input.poll();\n\t input.composing.range.clear();\n\t input.composing = null;\n\t }\n\t });\n\t },\n\t\n\t prepareSelection: function() {\n\t // Redraw the selection and/or cursor\n\t var cm = this.cm, display = cm.display, doc = cm.doc;\n\t var result = prepareSelection(cm);\n\t\n\t // Move the hidden textarea near the cursor to prevent scrolling artifacts\n\t if (cm.options.moveInputWithCursor) {\n\t var headPos = cursorCoords(cm, doc.sel.primary().head, \"div\");\n\t var wrapOff = display.wrapper.getBoundingClientRect(), lineOff = display.lineDiv.getBoundingClientRect();\n\t result.teTop = Math.max(0, Math.min(display.wrapper.clientHeight - 10,\n\t headPos.top + lineOff.top - wrapOff.top));\n\t result.teLeft = Math.max(0, Math.min(display.wrapper.clientWidth - 10,\n\t headPos.left + lineOff.left - wrapOff.left));\n\t }\n\t\n\t return result;\n\t },\n\t\n\t showSelection: function(drawn) {\n\t var cm = this.cm, display = cm.display;\n\t removeChildrenAndAdd(display.cursorDiv, drawn.cursors);\n\t removeChildrenAndAdd(display.selectionDiv, drawn.selection);\n\t if (drawn.teTop != null) {\n\t this.wrapper.style.top = drawn.teTop + \"px\";\n\t this.wrapper.style.left = drawn.teLeft + \"px\";\n\t }\n\t },\n\t\n\t // Reset the input to correspond to the selection (or to be empty,\n\t // when not typing and nothing is selected)\n\t reset: function(typing) {\n\t if (this.contextMenuPending) return;\n\t var minimal, selected, cm = this.cm, doc = cm.doc;\n\t if (cm.somethingSelected()) {\n\t this.prevInput = \"\";\n\t var range = doc.sel.primary();\n\t minimal = hasCopyEvent &&\n\t (range.to().line - range.from().line > 100 || (selected = cm.getSelection()).length > 1000);\n\t var content = minimal ? \"-\" : selected || cm.getSelection();\n\t this.textarea.value = content;\n\t if (cm.state.focused) selectInput(this.textarea);\n\t if (ie && ie_version >= 9) this.hasSelection = content;\n\t } else if (!typing) {\n\t this.prevInput = this.textarea.value = \"\";\n\t if (ie && ie_version >= 9) this.hasSelection = null;\n\t }\n\t this.inaccurateSelection = minimal;\n\t },\n\t\n\t getField: function() { return this.textarea; },\n\t\n\t supportsTouch: function() { return false; },\n\t\n\t focus: function() {\n\t if (this.cm.options.readOnly != \"nocursor\" && (!mobile || activeElt() != this.textarea)) {\n\t try { this.textarea.focus(); }\n\t catch (e) {} // IE8 will throw if the textarea is display: none or not in DOM\n\t }\n\t },\n\t\n\t blur: function() { this.textarea.blur(); },\n\t\n\t resetPosition: function() {\n\t this.wrapper.style.top = this.wrapper.style.left = 0;\n\t },\n\t\n\t receivedFocus: function() { this.slowPoll(); },\n\t\n\t // Poll for input changes, using the normal rate of polling. This\n\t // runs as long as the editor is focused.\n\t slowPoll: function() {\n\t var input = this;\n\t if (input.pollingFast) return;\n\t input.polling.set(this.cm.options.pollInterval, function() {\n\t input.poll();\n\t if (input.cm.state.focused) input.slowPoll();\n\t });\n\t },\n\t\n\t // When an event has just come in that is likely to add or change\n\t // something in the input textarea, we poll faster, to ensure that\n\t // the change appears on the screen quickly.\n\t fastPoll: function() {\n\t var missed = false, input = this;\n\t input.pollingFast = true;\n\t function p() {\n\t var changed = input.poll();\n\t if (!changed && !missed) {missed = true; input.polling.set(60, p);}\n\t else {input.pollingFast = false; input.slowPoll();}\n\t }\n\t input.polling.set(20, p);\n\t },\n\t\n\t // Read input from the textarea, and update the document to match.\n\t // When something is selected, it is present in the textarea, and\n\t // selected (unless it is huge, in which case a placeholder is\n\t // used). When nothing is selected, the cursor sits after previously\n\t // seen text (can be empty), which is stored in prevInput (we must\n\t // not reset the textarea when typing, because that breaks IME).\n\t poll: function() {\n\t var cm = this.cm, input = this.textarea, prevInput = this.prevInput;\n\t // Since this is called a *lot*, try to bail out as cheaply as\n\t // possible when it is clear that nothing happened. hasSelection\n\t // will be the case when there is a lot of text in the textarea,\n\t // in which case reading its value would be expensive.\n\t if (this.contextMenuPending || !cm.state.focused ||\n\t (hasSelection(input) && !prevInput && !this.composing) ||\n\t isReadOnly(cm) || cm.options.disableInput || cm.state.keySeq)\n\t return false;\n\t\n\t var text = input.value;\n\t // If nothing changed, bail.\n\t if (text == prevInput && !cm.somethingSelected()) return false;\n\t // Work around nonsensical selection resetting in IE9/10, and\n\t // inexplicable appearance of private area unicode characters on\n\t // some key combos in Mac (#2689).\n\t if (ie && ie_version >= 9 && this.hasSelection === text ||\n\t mac && /[\\uf700-\\uf7ff]/.test(text)) {\n\t cm.display.input.reset();\n\t return false;\n\t }\n\t\n\t if (cm.doc.sel == cm.display.selForContextMenu) {\n\t var first = text.charCodeAt(0);\n\t if (first == 0x200b && !prevInput) prevInput = \"\\u200b\";\n\t if (first == 0x21da) { this.reset(); return this.cm.execCommand(\"undo\"); }\n\t }\n\t // Find the part of the input that is actually new\n\t var same = 0, l = Math.min(prevInput.length, text.length);\n\t while (same < l && prevInput.charCodeAt(same) == text.charCodeAt(same)) ++same;\n\t\n\t var self = this;\n\t runInOp(cm, function() {\n\t applyTextInput(cm, text.slice(same), prevInput.length - same,\n\t null, self.composing ? \"*compose\" : null);\n\t\n\t // Don't leave long text in the textarea, since it makes further polling slow\n\t if (text.length > 1000 || text.indexOf(\"\\n\") > -1) input.value = self.prevInput = \"\";\n\t else self.prevInput = text;\n\t\n\t if (self.composing) {\n\t self.composing.range.clear();\n\t self.composing.range = cm.markText(self.composing.start, cm.getCursor(\"to\"),\n\t {className: \"CodeMirror-composing\"});\n\t }\n\t });\n\t return true;\n\t },\n\t\n\t ensurePolled: function() {\n\t if (this.pollingFast && this.poll()) this.pollingFast = false;\n\t },\n\t\n\t onKeyPress: function() {\n\t if (ie && ie_version >= 9) this.hasSelection = null;\n\t this.fastPoll();\n\t },\n\t\n\t onContextMenu: function(e) {\n\t var input = this, cm = input.cm, display = cm.display, te = input.textarea;\n\t var pos = posFromMouse(cm, e), scrollPos = display.scroller.scrollTop;\n\t if (!pos || presto) return; // Opera is difficult.\n\t\n\t // Reset the current text selection only if the click is done outside of the selection\n\t // and 'resetSelectionOnContextMenu' option is true.\n\t var reset = cm.options.resetSelectionOnContextMenu;\n\t if (reset && cm.doc.sel.contains(pos) == -1)\n\t operation(cm, setSelection)(cm.doc, simpleSelection(pos), sel_dontScroll);\n\t\n\t var oldCSS = te.style.cssText;\n\t input.wrapper.style.position = \"absolute\";\n\t te.style.cssText = \"position: fixed; width: 30px; height: 30px; top: \" + (e.clientY - 5) +\n\t \"px; left: \" + (e.clientX - 5) + \"px; z-index: 1000; background: \" +\n\t (ie ? \"rgba(255, 255, 255, .05)\" : \"transparent\") +\n\t \"; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);\";\n\t if (webkit) var oldScrollY = window.scrollY; // Work around Chrome issue (#2712)\n\t display.input.focus();\n\t if (webkit) window.scrollTo(null, oldScrollY);\n\t display.input.reset();\n\t // Adds \"Select all\" to context menu in FF\n\t if (!cm.somethingSelected()) te.value = input.prevInput = \" \";\n\t input.contextMenuPending = true;\n\t display.selForContextMenu = cm.doc.sel;\n\t clearTimeout(display.detectingSelectAll);\n\t\n\t // Select-all will be greyed out if there's nothing to select, so\n\t // this adds a zero-width space so that we can later check whether\n\t // it got selected.\n\t function prepareSelectAllHack() {\n\t if (te.selectionStart != null) {\n\t var selected = cm.somethingSelected();\n\t var extval = \"\\u200b\" + (selected ? te.value : \"\");\n\t te.value = \"\\u21da\"; // Used to catch context-menu undo\n\t te.value = extval;\n\t input.prevInput = selected ? \"\" : \"\\u200b\";\n\t te.selectionStart = 1; te.selectionEnd = extval.length;\n\t // Re-set this, in case some other handler touched the\n\t // selection in the meantime.\n\t display.selForContextMenu = cm.doc.sel;\n\t }\n\t }\n\t function rehide() {\n\t input.contextMenuPending = false;\n\t input.wrapper.style.position = \"relative\";\n\t te.style.cssText = oldCSS;\n\t if (ie && ie_version < 9) display.scrollbars.setScrollTop(display.scroller.scrollTop = scrollPos);\n\t\n\t // Try to detect the user choosing select-all\n\t if (te.selectionStart != null) {\n\t if (!ie || (ie && ie_version < 9)) prepareSelectAllHack();\n\t var i = 0, poll = function() {\n\t if (display.selForContextMenu == cm.doc.sel && te.selectionStart == 0 &&\n\t te.selectionEnd > 0 && input.prevInput == \"\\u200b\")\n\t operation(cm, commands.selectAll)(cm);\n\t else if (i++ < 10) display.detectingSelectAll = setTimeout(poll, 500);\n\t else display.input.reset();\n\t };\n\t display.detectingSelectAll = setTimeout(poll, 200);\n\t }\n\t }\n\t\n\t if (ie && ie_version >= 9) prepareSelectAllHack();\n\t if (captureRightClick) {\n\t e_stop(e);\n\t var mouseup = function() {\n\t off(window, \"mouseup\", mouseup);\n\t setTimeout(rehide, 20);\n\t };\n\t on(window, \"mouseup\", mouseup);\n\t } else {\n\t setTimeout(rehide, 50);\n\t }\n\t },\n\t\n\t setUneditable: nothing,\n\t\n\t needsContentAttribute: false\n\t }, TextareaInput.prototype);\n\t\n\t // CONTENTEDITABLE INPUT STYLE\n\t\n\t function ContentEditableInput(cm) {\n\t this.cm = cm;\n\t this.lastAnchorNode = this.lastAnchorOffset = this.lastFocusNode = this.lastFocusOffset = null;\n\t this.polling = new Delayed();\n\t this.gracePeriod = false;\n\t }\n\t\n\t ContentEditableInput.prototype = copyObj({\n\t init: function(display) {\n\t var input = this, cm = input.cm;\n\t var div = input.div = display.lineDiv;\n\t div.contentEditable = \"true\";\n\t disableBrowserMagic(div);\n\t\n\t on(div, \"paste\", function(e) { handlePaste(e, cm); })\n\t\n\t on(div, \"compositionstart\", function(e) {\n\t var data = e.data;\n\t input.composing = {sel: cm.doc.sel, data: data, startData: data};\n\t if (!data) return;\n\t var prim = cm.doc.sel.primary();\n\t var line = cm.getLine(prim.head.line);\n\t var found = line.indexOf(data, Math.max(0, prim.head.ch - data.length));\n\t if (found > -1 && found <= prim.head.ch)\n\t input.composing.sel = simpleSelection(Pos(prim.head.line, found),\n\t Pos(prim.head.line, found + data.length));\n\t });\n\t on(div, \"compositionupdate\", function(e) {\n\t input.composing.data = e.data;\n\t });\n\t on(div, \"compositionend\", function(e) {\n\t var ours = input.composing;\n\t if (!ours) return;\n\t if (e.data != ours.startData && !/\\u200b/.test(e.data))\n\t ours.data = e.data;\n\t // Need a small delay to prevent other code (input event,\n\t // selection polling) from doing damage when fired right after\n\t // compositionend.\n\t setTimeout(function() {\n\t if (!ours.handled)\n\t input.applyComposition(ours);\n\t if (input.composing == ours)\n\t input.composing = null;\n\t }, 50);\n\t });\n\t\n\t on(div, \"touchstart\", function() {\n\t input.forceCompositionEnd();\n\t });\n\t\n\t on(div, \"input\", function() {\n\t if (input.composing) return;\n\t if (!input.pollContent())\n\t runInOp(input.cm, function() {regChange(cm);});\n\t });\n\t\n\t function onCopyCut(e) {\n\t if (cm.somethingSelected()) {\n\t lastCopied = cm.getSelections();\n\t if (e.type == \"cut\") cm.replaceSelection(\"\", null, \"cut\");\n\t } else if (!cm.options.lineWiseCopyCut) {\n\t return;\n\t } else {\n\t var ranges = copyableRanges(cm);\n\t lastCopied = ranges.text;\n\t if (e.type == \"cut\") {\n\t cm.operation(function() {\n\t cm.setSelections(ranges.ranges, 0, sel_dontScroll);\n\t cm.replaceSelection(\"\", null, \"cut\");\n\t });\n\t }\n\t }\n\t // iOS exposes the clipboard API, but seems to discard content inserted into it\n\t if (e.clipboardData && !ios) {\n\t e.preventDefault();\n\t e.clipboardData.clearData();\n\t e.clipboardData.setData(\"text/plain\", lastCopied.join(\"\\n\"));\n\t } else {\n\t // Old-fashioned briefly-focus-a-textarea hack\n\t var kludge = hiddenTextarea(), te = kludge.firstChild;\n\t cm.display.lineSpace.insertBefore(kludge, cm.display.lineSpace.firstChild);\n\t te.value = lastCopied.join(\"\\n\");\n\t var hadFocus = document.activeElement;\n\t selectInput(te);\n\t setTimeout(function() {\n\t cm.display.lineSpace.removeChild(kludge);\n\t hadFocus.focus();\n\t }, 50);\n\t }\n\t }\n\t on(div, \"copy\", onCopyCut);\n\t on(div, \"cut\", onCopyCut);\n\t },\n\t\n\t prepareSelection: function() {\n\t var result = prepareSelection(this.cm, false);\n\t result.focus = this.cm.state.focused;\n\t return result;\n\t },\n\t\n\t showSelection: function(info) {\n\t if (!info || !this.cm.display.view.length) return;\n\t if (info.focus) this.showPrimarySelection();\n\t this.showMultipleSelections(info);\n\t },\n\t\n\t showPrimarySelection: function() {\n\t var sel = window.getSelection(), prim = this.cm.doc.sel.primary();\n\t var curAnchor = domToPos(this.cm, sel.anchorNode, sel.anchorOffset);\n\t var curFocus = domToPos(this.cm, sel.focusNode, sel.focusOffset);\n\t if (curAnchor && !curAnchor.bad && curFocus && !curFocus.bad &&\n\t cmp(minPos(curAnchor, curFocus), prim.from()) == 0 &&\n\t cmp(maxPos(curAnchor, curFocus), prim.to()) == 0)\n\t return;\n\t\n\t var start = posToDOM(this.cm, prim.from());\n\t var end = posToDOM(this.cm, prim.to());\n\t if (!start && !end) return;\n\t\n\t var view = this.cm.display.view;\n\t var old = sel.rangeCount && sel.getRangeAt(0);\n\t if (!start) {\n\t start = {node: view[0].measure.map[2], offset: 0};\n\t } else if (!end) { // FIXME dangerously hacky\n\t var measure = view[view.length - 1].measure;\n\t var map = measure.maps ? measure.maps[measure.maps.length - 1] : measure.map;\n\t end = {node: map[map.length - 1], offset: map[map.length - 2] - map[map.length - 3]};\n\t }\n\t\n\t try { var rng = range(start.node, start.offset, end.offset, end.node); }\n\t catch(e) {} // Our model of the DOM might be outdated, in which case the range we try to set can be impossible\n\t if (rng) {\n\t sel.removeAllRanges();\n\t sel.addRange(rng);\n\t if (old && sel.anchorNode == null) sel.addRange(old);\n\t else if (gecko) this.startGracePeriod();\n\t }\n\t this.rememberSelection();\n\t },\n\t\n\t startGracePeriod: function() {\n\t var input = this;\n\t clearTimeout(this.gracePeriod);\n\t this.gracePeriod = setTimeout(function() {\n\t input.gracePeriod = false;\n\t if (input.selectionChanged())\n\t input.cm.operation(function() { input.cm.curOp.selectionChanged = true; });\n\t }, 20);\n\t },\n\t\n\t showMultipleSelections: function(info) {\n\t removeChildrenAndAdd(this.cm.display.cursorDiv, info.cursors);\n\t removeChildrenAndAdd(this.cm.display.selectionDiv, info.selection);\n\t },\n\t\n\t rememberSelection: function() {\n\t var sel = window.getSelection();\n\t this.lastAnchorNode = sel.anchorNode; this.lastAnchorOffset = sel.anchorOffset;\n\t this.lastFocusNode = sel.focusNode; this.lastFocusOffset = sel.focusOffset;\n\t },\n\t\n\t selectionInEditor: function() {\n\t var sel = window.getSelection();\n\t if (!sel.rangeCount) return false;\n\t var node = sel.getRangeAt(0).commonAncestorContainer;\n\t return contains(this.div, node);\n\t },\n\t\n\t focus: function() {\n\t if (this.cm.options.readOnly != \"nocursor\") this.div.focus();\n\t },\n\t blur: function() { this.div.blur(); },\n\t getField: function() { return this.div; },\n\t\n\t supportsTouch: function() { return true; },\n\t\n\t receivedFocus: function() {\n\t var input = this;\n\t if (this.selectionInEditor())\n\t this.pollSelection();\n\t else\n\t runInOp(this.cm, function() { input.cm.curOp.selectionChanged = true; });\n\t\n\t function poll() {\n\t if (input.cm.state.focused) {\n\t input.pollSelection();\n\t input.polling.set(input.cm.options.pollInterval, poll);\n\t }\n\t }\n\t this.polling.set(this.cm.options.pollInterval, poll);\n\t },\n\t\n\t selectionChanged: function() {\n\t var sel = window.getSelection();\n\t return sel.anchorNode != this.lastAnchorNode || sel.anchorOffset != this.lastAnchorOffset ||\n\t sel.focusNode != this.lastFocusNode || sel.focusOffset != this.lastFocusOffset;\n\t },\n\t\n\t pollSelection: function() {\n\t if (!this.composing && !this.gracePeriod && this.selectionChanged()) {\n\t var sel = window.getSelection(), cm = this.cm;\n\t this.rememberSelection();\n\t var anchor = domToPos(cm, sel.anchorNode, sel.anchorOffset);\n\t var head = domToPos(cm, sel.focusNode, sel.focusOffset);\n\t if (anchor && head) runInOp(cm, function() {\n\t setSelection(cm.doc, simpleSelection(anchor, head), sel_dontScroll);\n\t if (anchor.bad || head.bad) cm.curOp.selectionChanged = true;\n\t });\n\t }\n\t },\n\t\n\t pollContent: function() {\n\t var cm = this.cm, display = cm.display, sel = cm.doc.sel.primary();\n\t var from = sel.from(), to = sel.to();\n\t if (from.line < display.viewFrom || to.line > display.viewTo - 1) return false;\n\t\n\t var fromIndex;\n\t if (from.line == display.viewFrom || (fromIndex = findViewIndex(cm, from.line)) == 0) {\n\t var fromLine = lineNo(display.view[0].line);\n\t var fromNode = display.view[0].node;\n\t } else {\n\t var fromLine = lineNo(display.view[fromIndex].line);\n\t var fromNode = display.view[fromIndex - 1].node.nextSibling;\n\t }\n\t var toIndex = findViewIndex(cm, to.line);\n\t if (toIndex == display.view.length - 1) {\n\t var toLine = display.viewTo - 1;\n\t var toNode = display.lineDiv.lastChild;\n\t } else {\n\t var toLine = lineNo(display.view[toIndex + 1].line) - 1;\n\t var toNode = display.view[toIndex + 1].node.previousSibling;\n\t }\n\t\n\t var newText = cm.doc.splitLines(domTextBetween(cm, fromNode, toNode, fromLine, toLine));\n\t var oldText = getBetween(cm.doc, Pos(fromLine, 0), Pos(toLine, getLine(cm.doc, toLine).text.length));\n\t while (newText.length > 1 && oldText.length > 1) {\n\t if (lst(newText) == lst(oldText)) { newText.pop(); oldText.pop(); toLine--; }\n\t else if (newText[0] == oldText[0]) { newText.shift(); oldText.shift(); fromLine++; }\n\t else break;\n\t }\n\t\n\t var cutFront = 0, cutEnd = 0;\n\t var newTop = newText[0], oldTop = oldText[0], maxCutFront = Math.min(newTop.length, oldTop.length);\n\t while (cutFront < maxCutFront && newTop.charCodeAt(cutFront) == oldTop.charCodeAt(cutFront))\n\t ++cutFront;\n\t var newBot = lst(newText), oldBot = lst(oldText);\n\t var maxCutEnd = Math.min(newBot.length - (newText.length == 1 ? cutFront : 0),\n\t oldBot.length - (oldText.length == 1 ? cutFront : 0));\n\t while (cutEnd < maxCutEnd &&\n\t newBot.charCodeAt(newBot.length - cutEnd - 1) == oldBot.charCodeAt(oldBot.length - cutEnd - 1))\n\t ++cutEnd;\n\t\n\t newText[newText.length - 1] = newBot.slice(0, newBot.length - cutEnd);\n\t newText[0] = newText[0].slice(cutFront);\n\t\n\t var chFrom = Pos(fromLine, cutFront);\n\t var chTo = Pos(toLine, oldText.length ? lst(oldText).length - cutEnd : 0);\n\t if (newText.length > 1 || newText[0] || cmp(chFrom, chTo)) {\n\t replaceRange(cm.doc, newText, chFrom, chTo, \"+input\");\n\t return true;\n\t }\n\t },\n\t\n\t ensurePolled: function() {\n\t this.forceCompositionEnd();\n\t },\n\t reset: function() {\n\t this.forceCompositionEnd();\n\t },\n\t forceCompositionEnd: function() {\n\t if (!this.composing || this.composing.handled) return;\n\t this.applyComposition(this.composing);\n\t this.composing.handled = true;\n\t this.div.blur();\n\t this.div.focus();\n\t },\n\t applyComposition: function(composing) {\n\t if (composing.data && composing.data != composing.startData)\n\t operation(this.cm, applyTextInput)(this.cm, composing.data, 0, composing.sel);\n\t },\n\t\n\t setUneditable: function(node) {\n\t node.setAttribute(\"contenteditable\", \"false\");\n\t },\n\t\n\t onKeyPress: function(e) {\n\t e.preventDefault();\n\t operation(this.cm, applyTextInput)(this.cm, String.fromCharCode(e.charCode == null ? e.keyCode : e.charCode), 0);\n\t },\n\t\n\t onContextMenu: nothing,\n\t resetPosition: nothing,\n\t\n\t needsContentAttribute: true\n\t }, ContentEditableInput.prototype);\n\t\n\t function posToDOM(cm, pos) {\n\t var view = findViewForLine(cm, pos.line);\n\t if (!view || view.hidden) return null;\n\t var line = getLine(cm.doc, pos.line);\n\t var info = mapFromLineView(view, line, pos.line);\n\t\n\t var order = getOrder(line), side = \"left\";\n\t if (order) {\n\t var partPos = getBidiPartAt(order, pos.ch);\n\t side = partPos % 2 ? \"right\" : \"left\";\n\t }\n\t var result = nodeAndOffsetInLineMap(info.map, pos.ch, side);\n\t result.offset = result.collapse == \"right\" ? result.end : result.start;\n\t return result;\n\t }\n\t\n\t function badPos(pos, bad) { if (bad) pos.bad = true; return pos; }\n\t\n\t function domToPos(cm, node, offset) {\n\t var lineNode;\n\t if (node == cm.display.lineDiv) {\n\t lineNode = cm.display.lineDiv.childNodes[offset];\n\t if (!lineNode) return badPos(cm.clipPos(Pos(cm.display.viewTo - 1)), true);\n\t node = null; offset = 0;\n\t } else {\n\t for (lineNode = node;; lineNode = lineNode.parentNode) {\n\t if (!lineNode || lineNode == cm.display.lineDiv) return null;\n\t if (lineNode.parentNode && lineNode.parentNode == cm.display.lineDiv) break;\n\t }\n\t }\n\t for (var i = 0; i < cm.display.view.length; i++) {\n\t var lineView = cm.display.view[i];\n\t if (lineView.node == lineNode)\n\t return locateNodeInLineView(lineView, node, offset);\n\t }\n\t }\n\t\n\t function locateNodeInLineView(lineView, node, offset) {\n\t var wrapper = lineView.text.firstChild, bad = false;\n\t if (!node || !contains(wrapper, node)) return badPos(Pos(lineNo(lineView.line), 0), true);\n\t if (node == wrapper) {\n\t bad = true;\n\t node = wrapper.childNodes[offset];\n\t offset = 0;\n\t if (!node) {\n\t var line = lineView.rest ? lst(lineView.rest) : lineView.line;\n\t return badPos(Pos(lineNo(line), line.text.length), bad);\n\t }\n\t }\n\t\n\t var textNode = node.nodeType == 3 ? node : null, topNode = node;\n\t if (!textNode && node.childNodes.length == 1 && node.firstChild.nodeType == 3) {\n\t textNode = node.firstChild;\n\t if (offset) offset = textNode.nodeValue.length;\n\t }\n\t while (topNode.parentNode != wrapper) topNode = topNode.parentNode;\n\t var measure = lineView.measure, maps = measure.maps;\n\t\n\t function find(textNode, topNode, offset) {\n\t for (var i = -1; i < (maps ? maps.length : 0); i++) {\n\t var map = i < 0 ? measure.map : maps[i];\n\t for (var j = 0; j < map.length; j += 3) {\n\t var curNode = map[j + 2];\n\t if (curNode == textNode || curNode == topNode) {\n\t var line = lineNo(i < 0 ? lineView.line : lineView.rest[i]);\n\t var ch = map[j] + offset;\n\t if (offset < 0 || curNode != textNode) ch = map[j + (offset ? 1 : 0)];\n\t return Pos(line, ch);\n\t }\n\t }\n\t }\n\t }\n\t var found = find(textNode, topNode, offset);\n\t if (found) return badPos(found, bad);\n\t\n\t // FIXME this is all really shaky. might handle the few cases it needs to handle, but likely to cause problems\n\t for (var after = topNode.nextSibling, dist = textNode ? textNode.nodeValue.length - offset : 0; after; after = after.nextSibling) {\n\t found = find(after, after.firstChild, 0);\n\t if (found)\n\t return badPos(Pos(found.line, found.ch - dist), bad);\n\t else\n\t dist += after.textContent.length;\n\t }\n\t for (var before = topNode.previousSibling, dist = offset; before; before = before.previousSibling) {\n\t found = find(before, before.firstChild, -1);\n\t if (found)\n\t return badPos(Pos(found.line, found.ch + dist), bad);\n\t else\n\t dist += after.textContent.length;\n\t }\n\t }\n\t\n\t function domTextBetween(cm, from, to, fromLine, toLine) {\n\t var text = \"\", closing = false, lineSep = cm.doc.lineSeparator();\n\t function recognizeMarker(id) { return function(marker) { return marker.id == id; }; }\n\t function walk(node) {\n\t if (node.nodeType == 1) {\n\t var cmText = node.getAttribute(\"cm-text\");\n\t if (cmText != null) {\n\t if (cmText == \"\") cmText = node.textContent.replace(/\\u200b/g, \"\");\n\t text += cmText;\n\t return;\n\t }\n\t var markerID = node.getAttribute(\"cm-marker\"), range;\n\t if (markerID) {\n\t var found = cm.findMarks(Pos(fromLine, 0), Pos(toLine + 1, 0), recognizeMarker(+markerID));\n\t if (found.length && (range = found[0].find()))\n\t text += getBetween(cm.doc, range.from, range.to).join(lineSep);\n\t return;\n\t }\n\t if (node.getAttribute(\"contenteditable\") == \"false\") return;\n\t for (var i = 0; i < node.childNodes.length; i++)\n\t walk(node.childNodes[i]);\n\t if (/^(pre|div|p)$/i.test(node.nodeName))\n\t closing = true;\n\t } else if (node.nodeType == 3) {\n\t var val = node.nodeValue;\n\t if (!val) return;\n\t if (closing) {\n\t text += lineSep;\n\t closing = false;\n\t }\n\t text += val;\n\t }\n\t }\n\t for (;;) {\n\t walk(from);\n\t if (from == to) break;\n\t from = from.nextSibling;\n\t }\n\t return text;\n\t }\n\t\n\t CodeMirror.inputStyles = {\"textarea\": TextareaInput, \"contenteditable\": ContentEditableInput};\n\t\n\t // SELECTION / CURSOR\n\t\n\t // Selection objects are immutable. A new one is created every time\n\t // the selection changes. A selection is one or more non-overlapping\n\t // (and non-touching) ranges, sorted, and an integer that indicates\n\t // which one is the primary selection (the one that's scrolled into\n\t // view, that getCursor returns, etc).\n\t function Selection(ranges, primIndex) {\n\t this.ranges = ranges;\n\t this.primIndex = primIndex;\n\t }\n\t\n\t Selection.prototype = {\n\t primary: function() { return this.ranges[this.primIndex]; },\n\t equals: function(other) {\n\t if (other == this) return true;\n\t if (other.primIndex != this.primIndex || other.ranges.length != this.ranges.length) return false;\n\t for (var i = 0; i < this.ranges.length; i++) {\n\t var here = this.ranges[i], there = other.ranges[i];\n\t if (cmp(here.anchor, there.anchor) != 0 || cmp(here.head, there.head) != 0) return false;\n\t }\n\t return true;\n\t },\n\t deepCopy: function() {\n\t for (var out = [], i = 0; i < this.ranges.length; i++)\n\t out[i] = new Range(copyPos(this.ranges[i].anchor), copyPos(this.ranges[i].head));\n\t return new Selection(out, this.primIndex);\n\t },\n\t somethingSelected: function() {\n\t for (var i = 0; i < this.ranges.length; i++)\n\t if (!this.ranges[i].empty()) return true;\n\t return false;\n\t },\n\t contains: function(pos, end) {\n\t if (!end) end = pos;\n\t for (var i = 0; i < this.ranges.length; i++) {\n\t var range = this.ranges[i];\n\t if (cmp(end, range.from()) >= 0 && cmp(pos, range.to()) <= 0)\n\t return i;\n\t }\n\t return -1;\n\t }\n\t };\n\t\n\t function Range(anchor, head) {\n\t this.anchor = anchor; this.head = head;\n\t }\n\t\n\t Range.prototype = {\n\t from: function() { return minPos(this.anchor, this.head); },\n\t to: function() { return maxPos(this.anchor, this.head); },\n\t empty: function() {\n\t return this.head.line == this.anchor.line && this.head.ch == this.anchor.ch;\n\t }\n\t };\n\t\n\t // Take an unsorted, potentially overlapping set of ranges, and\n\t // build a selection out of it. 'Consumes' ranges array (modifying\n\t // it).\n\t function normalizeSelection(ranges, primIndex) {\n\t var prim = ranges[primIndex];\n\t ranges.sort(function(a, b) { return cmp(a.from(), b.from()); });\n\t primIndex = indexOf(ranges, prim);\n\t for (var i = 1; i < ranges.length; i++) {\n\t var cur = ranges[i], prev = ranges[i - 1];\n\t if (cmp(prev.to(), cur.from()) >= 0) {\n\t var from = minPos(prev.from(), cur.from()), to = maxPos(prev.to(), cur.to());\n\t var inv = prev.empty() ? cur.from() == cur.head : prev.from() == prev.head;\n\t if (i <= primIndex) --primIndex;\n\t ranges.splice(--i, 2, new Range(inv ? to : from, inv ? from : to));\n\t }\n\t }\n\t return new Selection(ranges, primIndex);\n\t }\n\t\n\t function simpleSelection(anchor, head) {\n\t return new Selection([new Range(anchor, head || anchor)], 0);\n\t }\n\t\n\t // Most of the external API clips given positions to make sure they\n\t // actually exist within the document.\n\t function clipLine(doc, n) {return Math.max(doc.first, Math.min(n, doc.first + doc.size - 1));}\n\t function clipPos(doc, pos) {\n\t if (pos.line < doc.first) return Pos(doc.first, 0);\n\t var last = doc.first + doc.size - 1;\n\t if (pos.line > last) return Pos(last, getLine(doc, last).text.length);\n\t return clipToLen(pos, getLine(doc, pos.line).text.length);\n\t }\n\t function clipToLen(pos, linelen) {\n\t var ch = pos.ch;\n\t if (ch == null || ch > linelen) return Pos(pos.line, linelen);\n\t else if (ch < 0) return Pos(pos.line, 0);\n\t else return pos;\n\t }\n\t function isLine(doc, l) {return l >= doc.first && l < doc.first + doc.size;}\n\t function clipPosArray(doc, array) {\n\t for (var out = [], i = 0; i < array.length; i++) out[i] = clipPos(doc, array[i]);\n\t return out;\n\t }\n\t\n\t // SELECTION UPDATES\n\t\n\t // The 'scroll' parameter given to many of these indicated whether\n\t // the new cursor position should be scrolled into view after\n\t // modifying the selection.\n\t\n\t // If shift is held or the extend flag is set, extends a range to\n\t // include a given position (and optionally a second position).\n\t // Otherwise, simply returns the range between the given positions.\n\t // Used for cursor motion and such.\n\t function extendRange(doc, range, head, other) {\n\t if (doc.cm && doc.cm.display.shift || doc.extend) {\n\t var anchor = range.anchor;\n\t if (other) {\n\t var posBefore = cmp(head, anchor) < 0;\n\t if (posBefore != (cmp(other, anchor) < 0)) {\n\t anchor = head;\n\t head = other;\n\t } else if (posBefore != (cmp(head, other) < 0)) {\n\t head = other;\n\t }\n\t }\n\t return new Range(anchor, head);\n\t } else {\n\t return new Range(other || head, head);\n\t }\n\t }\n\t\n\t // Extend the primary selection range, discard the rest.\n\t function extendSelection(doc, head, other, options) {\n\t setSelection(doc, new Selection([extendRange(doc, doc.sel.primary(), head, other)], 0), options);\n\t }\n\t\n\t // Extend all selections (pos is an array of selections with length\n\t // equal the number of selections)\n\t function extendSelections(doc, heads, options) {\n\t for (var out = [], i = 0; i < doc.sel.ranges.length; i++)\n\t out[i] = extendRange(doc, doc.sel.ranges[i], heads[i], null);\n\t var newSel = normalizeSelection(out, doc.sel.primIndex);\n\t setSelection(doc, newSel, options);\n\t }\n\t\n\t // Updates a single range in the selection.\n\t function replaceOneSelection(doc, i, range, options) {\n\t var ranges = doc.sel.ranges.slice(0);\n\t ranges[i] = range;\n\t setSelection(doc, normalizeSelection(ranges, doc.sel.primIndex), options);\n\t }\n\t\n\t // Reset the selection to a single range.\n\t function setSimpleSelection(doc, anchor, head, options) {\n\t setSelection(doc, simpleSelection(anchor, head), options);\n\t }\n\t\n\t // Give beforeSelectionChange handlers a change to influence a\n\t // selection update.\n\t function filterSelectionChange(doc, sel) {\n\t var obj = {\n\t ranges: sel.ranges,\n\t update: function(ranges) {\n\t this.ranges = [];\n\t for (var i = 0; i < ranges.length; i++)\n\t this.ranges[i] = new Range(clipPos(doc, ranges[i].anchor),\n\t clipPos(doc, ranges[i].head));\n\t }\n\t };\n\t signal(doc, \"beforeSelectionChange\", doc, obj);\n\t if (doc.cm) signal(doc.cm, \"beforeSelectionChange\", doc.cm, obj);\n\t if (obj.ranges != sel.ranges) return normalizeSelection(obj.ranges, obj.ranges.length - 1);\n\t else return sel;\n\t }\n\t\n\t function setSelectionReplaceHistory(doc, sel, options) {\n\t var done = doc.history.done, last = lst(done);\n\t if (last && last.ranges) {\n\t done[done.length - 1] = sel;\n\t setSelectionNoUndo(doc, sel, options);\n\t } else {\n\t setSelection(doc, sel, options);\n\t }\n\t }\n\t\n\t // Set a new selection.\n\t function setSelection(doc, sel, options) {\n\t setSelectionNoUndo(doc, sel, options);\n\t addSelectionToHistory(doc, doc.sel, doc.cm ? doc.cm.curOp.id : NaN, options);\n\t }\n\t\n\t function setSelectionNoUndo(doc, sel, options) {\n\t if (hasHandler(doc, \"beforeSelectionChange\") || doc.cm && hasHandler(doc.cm, \"beforeSelectionChange\"))\n\t sel = filterSelectionChange(doc, sel);\n\t\n\t var bias = options && options.bias ||\n\t (cmp(sel.primary().head, doc.sel.primary().head) < 0 ? -1 : 1);\n\t setSelectionInner(doc, skipAtomicInSelection(doc, sel, bias, true));\n\t\n\t if (!(options && options.scroll === false) && doc.cm)\n\t ensureCursorVisible(doc.cm);\n\t }\n\t\n\t function setSelectionInner(doc, sel) {\n\t if (sel.equals(doc.sel)) return;\n\t\n\t doc.sel = sel;\n\t\n\t if (doc.cm) {\n\t doc.cm.curOp.updateInput = doc.cm.curOp.selectionChanged = true;\n\t signalCursorActivity(doc.cm);\n\t }\n\t signalLater(doc, \"cursorActivity\", doc);\n\t }\n\t\n\t // Verify that the selection does not partially select any atomic\n\t // marked ranges.\n\t function reCheckSelection(doc) {\n\t setSelectionInner(doc, skipAtomicInSelection(doc, doc.sel, null, false), sel_dontScroll);\n\t }\n\t\n\t // Return a selection that does not partially select any atomic\n\t // ranges.\n\t function skipAtomicInSelection(doc, sel, bias, mayClear) {\n\t var out;\n\t for (var i = 0; i < sel.ranges.length; i++) {\n\t var range = sel.ranges[i];\n\t var newAnchor = skipAtomic(doc, range.anchor, bias, mayClear);\n\t var newHead = skipAtomic(doc, range.head, bias, mayClear);\n\t if (out || newAnchor != range.anchor || newHead != range.head) {\n\t if (!out) out = sel.ranges.slice(0, i);\n\t out[i] = new Range(newAnchor, newHead);\n\t }\n\t }\n\t return out ? normalizeSelection(out, sel.primIndex) : sel;\n\t }\n\t\n\t // Ensure a given position is not inside an atomic range.\n\t function skipAtomic(doc, pos, bias, mayClear) {\n\t var flipped = false, curPos = pos;\n\t var dir = bias || 1;\n\t doc.cantEdit = false;\n\t search: for (;;) {\n\t var line = getLine(doc, curPos.line);\n\t if (line.markedSpans) {\n\t for (var i = 0; i < line.markedSpans.length; ++i) {\n\t var sp = line.markedSpans[i], m = sp.marker;\n\t if ((sp.from == null || (m.inclusiveLeft ? sp.from <= curPos.ch : sp.from < curPos.ch)) &&\n\t (sp.to == null || (m.inclusiveRight ? sp.to >= curPos.ch : sp.to > curPos.ch))) {\n\t if (mayClear) {\n\t signal(m, \"beforeCursorEnter\");\n\t if (m.explicitlyCleared) {\n\t if (!line.markedSpans) break;\n\t else {--i; continue;}\n\t }\n\t }\n\t if (!m.atomic) continue;\n\t var newPos = m.find(dir < 0 ? -1 : 1);\n\t if (cmp(newPos, curPos) == 0) {\n\t newPos.ch += dir;\n\t if (newPos.ch < 0) {\n\t if (newPos.line > doc.first) newPos = clipPos(doc, Pos(newPos.line - 1));\n\t else newPos = null;\n\t } else if (newPos.ch > line.text.length) {\n\t if (newPos.line < doc.first + doc.size - 1) newPos = Pos(newPos.line + 1, 0);\n\t else newPos = null;\n\t }\n\t if (!newPos) {\n\t if (flipped) {\n\t // Driven in a corner -- no valid cursor position found at all\n\t // -- try again *with* clearing, if we didn't already\n\t if (!mayClear) return skipAtomic(doc, pos, bias, true);\n\t // Otherwise, turn off editing until further notice, and return the start of the doc\n\t doc.cantEdit = true;\n\t return Pos(doc.first, 0);\n\t }\n\t flipped = true; newPos = pos; dir = -dir;\n\t }\n\t }\n\t curPos = newPos;\n\t continue search;\n\t }\n\t }\n\t }\n\t return curPos;\n\t }\n\t }\n\t\n\t // SELECTION DRAWING\n\t\n\t function updateSelection(cm) {\n\t cm.display.input.showSelection(cm.display.input.prepareSelection());\n\t }\n\t\n\t function prepareSelection(cm, primary) {\n\t var doc = cm.doc, result = {};\n\t var curFragment = result.cursors = document.createDocumentFragment();\n\t var selFragment = result.selection = document.createDocumentFragment();\n\t\n\t for (var i = 0; i < doc.sel.ranges.length; i++) {\n\t if (primary === false && i == doc.sel.primIndex) continue;\n\t var range = doc.sel.ranges[i];\n\t var collapsed = range.empty();\n\t if (collapsed || cm.options.showCursorWhenSelecting)\n\t drawSelectionCursor(cm, range, curFragment);\n\t if (!collapsed)\n\t drawSelectionRange(cm, range, selFragment);\n\t }\n\t return result;\n\t }\n\t\n\t // Draws a cursor for the given range\n\t function drawSelectionCursor(cm, range, output) {\n\t var pos = cursorCoords(cm, range.head, \"div\", null, null, !cm.options.singleCursorHeightPerLine);\n\t\n\t var cursor = output.appendChild(elt(\"div\", \"\\u00a0\", \"CodeMirror-cursor\"));\n\t cursor.style.left = pos.left + \"px\";\n\t cursor.style.top = pos.top + \"px\";\n\t cursor.style.height = Math.max(0, pos.bottom - pos.top) * cm.options.cursorHeight + \"px\";\n\t\n\t if (pos.other) {\n\t // Secondary cursor, shown when on a 'jump' in bi-directional text\n\t var otherCursor = output.appendChild(elt(\"div\", \"\\u00a0\", \"CodeMirror-cursor CodeMirror-secondarycursor\"));\n\t otherCursor.style.display = \"\";\n\t otherCursor.style.left = pos.other.left + \"px\";\n\t otherCursor.style.top = pos.other.top + \"px\";\n\t otherCursor.style.height = (pos.other.bottom - pos.other.top) * .85 + \"px\";\n\t }\n\t }\n\t\n\t // Draws the given range as a highlighted selection\n\t function drawSelectionRange(cm, range, output) {\n\t var display = cm.display, doc = cm.doc;\n\t var fragment = document.createDocumentFragment();\n\t var padding = paddingH(cm.display), leftSide = padding.left;\n\t var rightSide = Math.max(display.sizerWidth, displayWidth(cm) - display.sizer.offsetLeft) - padding.right;\n\t\n\t function add(left, top, width, bottom) {\n\t if (top < 0) top = 0;\n\t top = Math.round(top);\n\t bottom = Math.round(bottom);\n\t fragment.appendChild(elt(\"div\", null, \"CodeMirror-selected\", \"position: absolute; left: \" + left +\n\t \"px; top: \" + top + \"px; width: \" + (width == null ? rightSide - left : width) +\n\t \"px; height: \" + (bottom - top) + \"px\"));\n\t }\n\t\n\t function drawForLine(line, fromArg, toArg) {\n\t var lineObj = getLine(doc, line);\n\t var lineLen = lineObj.text.length;\n\t var start, end;\n\t function coords(ch, bias) {\n\t return charCoords(cm, Pos(line, ch), \"div\", lineObj, bias);\n\t }\n\t\n\t iterateBidiSections(getOrder(lineObj), fromArg || 0, toArg == null ? lineLen : toArg, function(from, to, dir) {\n\t var leftPos = coords(from, \"left\"), rightPos, left, right;\n\t if (from == to) {\n\t rightPos = leftPos;\n\t left = right = leftPos.left;\n\t } else {\n\t rightPos = coords(to - 1, \"right\");\n\t if (dir == \"rtl\") { var tmp = leftPos; leftPos = rightPos; rightPos = tmp; }\n\t left = leftPos.left;\n\t right = rightPos.right;\n\t }\n\t if (fromArg == null && from == 0) left = leftSide;\n\t if (rightPos.top - leftPos.top > 3) { // Different lines, draw top part\n\t add(left, leftPos.top, null, leftPos.bottom);\n\t left = leftSide;\n\t if (leftPos.bottom < rightPos.top) add(left, leftPos.bottom, null, rightPos.top);\n\t }\n\t if (toArg == null && to == lineLen) right = rightSide;\n\t if (!start || leftPos.top < start.top || leftPos.top == start.top && leftPos.left < start.left)\n\t start = leftPos;\n\t if (!end || rightPos.bottom > end.bottom || rightPos.bottom == end.bottom && rightPos.right > end.right)\n\t end = rightPos;\n\t if (left < leftSide + 1) left = leftSide;\n\t add(left, rightPos.top, right - left, rightPos.bottom);\n\t });\n\t return {start: start, end: end};\n\t }\n\t\n\t var sFrom = range.from(), sTo = range.to();\n\t if (sFrom.line == sTo.line) {\n\t drawForLine(sFrom.line, sFrom.ch, sTo.ch);\n\t } else {\n\t var fromLine = getLine(doc, sFrom.line), toLine = getLine(doc, sTo.line);\n\t var singleVLine = visualLine(fromLine) == visualLine(toLine);\n\t var leftEnd = drawForLine(sFrom.line, sFrom.ch, singleVLine ? fromLine.text.length + 1 : null).end;\n\t var rightStart = drawForLine(sTo.line, singleVLine ? 0 : null, sTo.ch).start;\n\t if (singleVLine) {\n\t if (leftEnd.top < rightStart.top - 2) {\n\t add(leftEnd.right, leftEnd.top, null, leftEnd.bottom);\n\t add(leftSide, rightStart.top, rightStart.left, rightStart.bottom);\n\t } else {\n\t add(leftEnd.right, leftEnd.top, rightStart.left - leftEnd.right, leftEnd.bottom);\n\t }\n\t }\n\t if (leftEnd.bottom < rightStart.top)\n\t add(leftSide, leftEnd.bottom, null, rightStart.top);\n\t }\n\t\n\t output.appendChild(fragment);\n\t }\n\t\n\t // Cursor-blinking\n\t function restartBlink(cm) {\n\t if (!cm.state.focused) return;\n\t var display = cm.display;\n\t clearInterval(display.blinker);\n\t var on = true;\n\t display.cursorDiv.style.visibility = \"\";\n\t if (cm.options.cursorBlinkRate > 0)\n\t display.blinker = setInterval(function() {\n\t display.cursorDiv.style.visibility = (on = !on) ? \"\" : \"hidden\";\n\t }, cm.options.cursorBlinkRate);\n\t else if (cm.options.cursorBlinkRate < 0)\n\t display.cursorDiv.style.visibility = \"hidden\";\n\t }\n\t\n\t // HIGHLIGHT WORKER\n\t\n\t function startWorker(cm, time) {\n\t if (cm.doc.mode.startState && cm.doc.frontier < cm.display.viewTo)\n\t cm.state.highlight.set(time, bind(highlightWorker, cm));\n\t }\n\t\n\t function highlightWorker(cm) {\n\t var doc = cm.doc;\n\t if (doc.frontier < doc.first) doc.frontier = doc.first;\n\t if (doc.frontier >= cm.display.viewTo) return;\n\t var end = +new Date + cm.options.workTime;\n\t var state = copyState(doc.mode, getStateBefore(cm, doc.frontier));\n\t var changedLines = [];\n\t\n\t doc.iter(doc.frontier, Math.min(doc.first + doc.size, cm.display.viewTo + 500), function(line) {\n\t if (doc.frontier >= cm.display.viewFrom) { // Visible\n\t var oldStyles = line.styles;\n\t var highlighted = highlightLine(cm, line, state, true);\n\t line.styles = highlighted.styles;\n\t var oldCls = line.styleClasses, newCls = highlighted.classes;\n\t if (newCls) line.styleClasses = newCls;\n\t else if (oldCls) line.styleClasses = null;\n\t var ischange = !oldStyles || oldStyles.length != line.styles.length ||\n\t oldCls != newCls && (!oldCls || !newCls || oldCls.bgClass != newCls.bgClass || oldCls.textClass != newCls.textClass);\n\t for (var i = 0; !ischange && i < oldStyles.length; ++i) ischange = oldStyles[i] != line.styles[i];\n\t if (ischange) changedLines.push(doc.frontier);\n\t line.stateAfter = copyState(doc.mode, state);\n\t } else {\n\t processLine(cm, line.text, state);\n\t line.stateAfter = doc.frontier % 5 == 0 ? copyState(doc.mode, state) : null;\n\t }\n\t ++doc.frontier;\n\t if (+new Date > end) {\n\t startWorker(cm, cm.options.workDelay);\n\t return true;\n\t }\n\t });\n\t if (changedLines.length) runInOp(cm, function() {\n\t for (var i = 0; i < changedLines.length; i++)\n\t regLineChange(cm, changedLines[i], \"text\");\n\t });\n\t }\n\t\n\t // Finds the line to start with when starting a parse. Tries to\n\t // find a line with a stateAfter, so that it can start with a\n\t // valid state. If that fails, it returns the line with the\n\t // smallest indentation, which tends to need the least context to\n\t // parse correctly.\n\t function findStartLine(cm, n, precise) {\n\t var minindent, minline, doc = cm.doc;\n\t var lim = precise ? -1 : n - (cm.doc.mode.innerMode ? 1000 : 100);\n\t for (var search = n; search > lim; --search) {\n\t if (search <= doc.first) return doc.first;\n\t var line = getLine(doc, search - 1);\n\t if (line.stateAfter && (!precise || search <= doc.frontier)) return search;\n\t var indented = countColumn(line.text, null, cm.options.tabSize);\n\t if (minline == null || minindent > indented) {\n\t minline = search - 1;\n\t minindent = indented;\n\t }\n\t }\n\t return minline;\n\t }\n\t\n\t function getStateBefore(cm, n, precise) {\n\t var doc = cm.doc, display = cm.display;\n\t if (!doc.mode.startState) return true;\n\t var pos = findStartLine(cm, n, precise), state = pos > doc.first && getLine(doc, pos-1).stateAfter;\n\t if (!state) state = startState(doc.mode);\n\t else state = copyState(doc.mode, state);\n\t doc.iter(pos, n, function(line) {\n\t processLine(cm, line.text, state);\n\t var save = pos == n - 1 || pos % 5 == 0 || pos >= display.viewFrom && pos < display.viewTo;\n\t line.stateAfter = save ? copyState(doc.mode, state) : null;\n\t ++pos;\n\t });\n\t if (precise) doc.frontier = pos;\n\t return state;\n\t }\n\t\n\t // POSITION MEASUREMENT\n\t\n\t function paddingTop(display) {return display.lineSpace.offsetTop;}\n\t function paddingVert(display) {return display.mover.offsetHeight - display.lineSpace.offsetHeight;}\n\t function paddingH(display) {\n\t if (display.cachedPaddingH) return display.cachedPaddingH;\n\t var e = removeChildrenAndAdd(display.measure, elt(\"pre\", \"x\"));\n\t var style = window.getComputedStyle ? window.getComputedStyle(e) : e.currentStyle;\n\t var data = {left: parseInt(style.paddingLeft), right: parseInt(style.paddingRight)};\n\t if (!isNaN(data.left) && !isNaN(data.right)) display.cachedPaddingH = data;\n\t return data;\n\t }\n\t\n\t function scrollGap(cm) { return scrollerGap - cm.display.nativeBarWidth; }\n\t function displayWidth(cm) {\n\t return cm.display.scroller.clientWidth - scrollGap(cm) - cm.display.barWidth;\n\t }\n\t function displayHeight(cm) {\n\t return cm.display.scroller.clientHeight - scrollGap(cm) - cm.display.barHeight;\n\t }\n\t\n\t // Ensure the lineView.wrapping.heights array is populated. This is\n\t // an array of bottom offsets for the lines that make up a drawn\n\t // line. When lineWrapping is on, there might be more than one\n\t // height.\n\t function ensureLineHeights(cm, lineView, rect) {\n\t var wrapping = cm.options.lineWrapping;\n\t var curWidth = wrapping && displayWidth(cm);\n\t if (!lineView.measure.heights || wrapping && lineView.measure.width != curWidth) {\n\t var heights = lineView.measure.heights = [];\n\t if (wrapping) {\n\t lineView.measure.width = curWidth;\n\t var rects = lineView.text.firstChild.getClientRects();\n\t for (var i = 0; i < rects.length - 1; i++) {\n\t var cur = rects[i], next = rects[i + 1];\n\t if (Math.abs(cur.bottom - next.bottom) > 2)\n\t heights.push((cur.bottom + next.top) / 2 - rect.top);\n\t }\n\t }\n\t heights.push(rect.bottom - rect.top);\n\t }\n\t }\n\t\n\t // Find a line map (mapping character offsets to text nodes) and a\n\t // measurement cache for the given line number. (A line view might\n\t // contain multiple lines when collapsed ranges are present.)\n\t function mapFromLineView(lineView, line, lineN) {\n\t if (lineView.line == line)\n\t return {map: lineView.measure.map, cache: lineView.measure.cache};\n\t for (var i = 0; i < lineView.rest.length; i++)\n\t if (lineView.rest[i] == line)\n\t return {map: lineView.measure.maps[i], cache: lineView.measure.caches[i]};\n\t for (var i = 0; i < lineView.rest.length; i++)\n\t if (lineNo(lineView.rest[i]) > lineN)\n\t return {map: lineView.measure.maps[i], cache: lineView.measure.caches[i], before: true};\n\t }\n\t\n\t // Render a line into the hidden node display.externalMeasured. Used\n\t // when measurement is needed for a line that's not in the viewport.\n\t function updateExternalMeasurement(cm, line) {\n\t line = visualLine(line);\n\t var lineN = lineNo(line);\n\t var view = cm.display.externalMeasured = new LineView(cm.doc, line, lineN);\n\t view.lineN = lineN;\n\t var built = view.built = buildLineContent(cm, view);\n\t view.text = built.pre;\n\t removeChildrenAndAdd(cm.display.lineMeasure, built.pre);\n\t return view;\n\t }\n\t\n\t // Get a {top, bottom, left, right} box (in line-local coordinates)\n\t // for a given character.\n\t function measureChar(cm, line, ch, bias) {\n\t return measureCharPrepared(cm, prepareMeasureForLine(cm, line), ch, bias);\n\t }\n\t\n\t // Find a line view that corresponds to the given line number.\n\t function findViewForLine(cm, lineN) {\n\t if (lineN >= cm.display.viewFrom && lineN < cm.display.viewTo)\n\t return cm.display.view[findViewIndex(cm, lineN)];\n\t var ext = cm.display.externalMeasured;\n\t if (ext && lineN >= ext.lineN && lineN < ext.lineN + ext.size)\n\t return ext;\n\t }\n\t\n\t // Measurement can be split in two steps, the set-up work that\n\t // applies to the whole line, and the measurement of the actual\n\t // character. Functions like coordsChar, that need to do a lot of\n\t // measurements in a row, can thus ensure that the set-up work is\n\t // only done once.\n\t function prepareMeasureForLine(cm, line) {\n\t var lineN = lineNo(line);\n\t var view = findViewForLine(cm, lineN);\n\t if (view && !view.text) {\n\t view = null;\n\t } else if (view && view.changes) {\n\t updateLineForChanges(cm, view, lineN, getDimensions(cm));\n\t cm.curOp.forceUpdate = true;\n\t }\n\t if (!view)\n\t view = updateExternalMeasurement(cm, line);\n\t\n\t var info = mapFromLineView(view, line, lineN);\n\t return {\n\t line: line, view: view, rect: null,\n\t map: info.map, cache: info.cache, before: info.before,\n\t hasHeights: false\n\t };\n\t }\n\t\n\t // Given a prepared measurement object, measures the position of an\n\t // actual character (or fetches it from the cache).\n\t function measureCharPrepared(cm, prepared, ch, bias, varHeight) {\n\t if (prepared.before) ch = -1;\n\t var key = ch + (bias || \"\"), found;\n\t if (prepared.cache.hasOwnProperty(key)) {\n\t found = prepared.cache[key];\n\t } else {\n\t if (!prepared.rect)\n\t prepared.rect = prepared.view.text.getBoundingClientRect();\n\t if (!prepared.hasHeights) {\n\t ensureLineHeights(cm, prepared.view, prepared.rect);\n\t prepared.hasHeights = true;\n\t }\n\t found = measureCharInner(cm, prepared, ch, bias);\n\t if (!found.bogus) prepared.cache[key] = found;\n\t }\n\t return {left: found.left, right: found.right,\n\t top: varHeight ? found.rtop : found.top,\n\t bottom: varHeight ? found.rbottom : found.bottom};\n\t }\n\t\n\t var nullRect = {left: 0, right: 0, top: 0, bottom: 0};\n\t\n\t function nodeAndOffsetInLineMap(map, ch, bias) {\n\t var node, start, end, collapse;\n\t // First, search the line map for the text node corresponding to,\n\t // or closest to, the target character.\n\t for (var i = 0; i < map.length; i += 3) {\n\t var mStart = map[i], mEnd = map[i + 1];\n\t if (ch < mStart) {\n\t start = 0; end = 1;\n\t collapse = \"left\";\n\t } else if (ch < mEnd) {\n\t start = ch - mStart;\n\t end = start + 1;\n\t } else if (i == map.length - 3 || ch == mEnd && map[i + 3] > ch) {\n\t end = mEnd - mStart;\n\t start = end - 1;\n\t if (ch >= mEnd) collapse = \"right\";\n\t }\n\t if (start != null) {\n\t node = map[i + 2];\n\t if (mStart == mEnd && bias == (node.insertLeft ? \"left\" : \"right\"))\n\t collapse = bias;\n\t if (bias == \"left\" && start == 0)\n\t while (i && map[i - 2] == map[i - 3] && map[i - 1].insertLeft) {\n\t node = map[(i -= 3) + 2];\n\t collapse = \"left\";\n\t }\n\t if (bias == \"right\" && start == mEnd - mStart)\n\t while (i < map.length - 3 && map[i + 3] == map[i + 4] && !map[i + 5].insertLeft) {\n\t node = map[(i += 3) + 2];\n\t collapse = \"right\";\n\t }\n\t break;\n\t }\n\t }\n\t return {node: node, start: start, end: end, collapse: collapse, coverStart: mStart, coverEnd: mEnd};\n\t }\n\t\n\t function measureCharInner(cm, prepared, ch, bias) {\n\t var place = nodeAndOffsetInLineMap(prepared.map, ch, bias);\n\t var node = place.node, start = place.start, end = place.end, collapse = place.collapse;\n\t\n\t var rect;\n\t if (node.nodeType == 3) { // If it is a text node, use a range to retrieve the coordinates.\n\t for (var i = 0; i < 4; i++) { // Retry a maximum of 4 times when nonsense rectangles are returned\n\t while (start && isExtendingChar(prepared.line.text.charAt(place.coverStart + start))) --start;\n\t while (place.coverStart + end < place.coverEnd && isExtendingChar(prepared.line.text.charAt(place.coverStart + end))) ++end;\n\t if (ie && ie_version < 9 && start == 0 && end == place.coverEnd - place.coverStart) {\n\t rect = node.parentNode.getBoundingClientRect();\n\t } else if (ie && cm.options.lineWrapping) {\n\t var rects = range(node, start, end).getClientRects();\n\t if (rects.length)\n\t rect = rects[bias == \"right\" ? rects.length - 1 : 0];\n\t else\n\t rect = nullRect;\n\t } else {\n\t rect = range(node, start, end).getBoundingClientRect() || nullRect;\n\t }\n\t if (rect.left || rect.right || start == 0) break;\n\t end = start;\n\t start = start - 1;\n\t collapse = \"right\";\n\t }\n\t if (ie && ie_version < 11) rect = maybeUpdateRectForZooming(cm.display.measure, rect);\n\t } else { // If it is a widget, simply get the box for the whole widget.\n\t if (start > 0) collapse = bias = \"right\";\n\t var rects;\n\t if (cm.options.lineWrapping && (rects = node.getClientRects()).length > 1)\n\t rect = rects[bias == \"right\" ? rects.length - 1 : 0];\n\t else\n\t rect = node.getBoundingClientRect();\n\t }\n\t if (ie && ie_version < 9 && !start && (!rect || !rect.left && !rect.right)) {\n\t var rSpan = node.parentNode.getClientRects()[0];\n\t if (rSpan)\n\t rect = {left: rSpan.left, right: rSpan.left + charWidth(cm.display), top: rSpan.top, bottom: rSpan.bottom};\n\t else\n\t rect = nullRect;\n\t }\n\t\n\t var rtop = rect.top - prepared.rect.top, rbot = rect.bottom - prepared.rect.top;\n\t var mid = (rtop + rbot) / 2;\n\t var heights = prepared.view.measure.heights;\n\t for (var i = 0; i < heights.length - 1; i++)\n\t if (mid < heights[i]) break;\n\t var top = i ? heights[i - 1] : 0, bot = heights[i];\n\t var result = {left: (collapse == \"right\" ? rect.right : rect.left) - prepared.rect.left,\n\t right: (collapse == \"left\" ? rect.left : rect.right) - prepared.rect.left,\n\t top: top, bottom: bot};\n\t if (!rect.left && !rect.right) result.bogus = true;\n\t if (!cm.options.singleCursorHeightPerLine) { result.rtop = rtop; result.rbottom = rbot; }\n\t\n\t return result;\n\t }\n\t\n\t // Work around problem with bounding client rects on ranges being\n\t // returned incorrectly when zoomed on IE10 and below.\n\t function maybeUpdateRectForZooming(measure, rect) {\n\t if (!window.screen || screen.logicalXDPI == null ||\n\t screen.logicalXDPI == screen.deviceXDPI || !hasBadZoomedRects(measure))\n\t return rect;\n\t var scaleX = screen.logicalXDPI / screen.deviceXDPI;\n\t var scaleY = screen.logicalYDPI / screen.deviceYDPI;\n\t return {left: rect.left * scaleX, right: rect.right * scaleX,\n\t top: rect.top * scaleY, bottom: rect.bottom * scaleY};\n\t }\n\t\n\t function clearLineMeasurementCacheFor(lineView) {\n\t if (lineView.measure) {\n\t lineView.measure.cache = {};\n\t lineView.measure.heights = null;\n\t if (lineView.rest) for (var i = 0; i < lineView.rest.length; i++)\n\t lineView.measure.caches[i] = {};\n\t }\n\t }\n\t\n\t function clearLineMeasurementCache(cm) {\n\t cm.display.externalMeasure = null;\n\t removeChildren(cm.display.lineMeasure);\n\t for (var i = 0; i < cm.display.view.length; i++)\n\t clearLineMeasurementCacheFor(cm.display.view[i]);\n\t }\n\t\n\t function clearCaches(cm) {\n\t clearLineMeasurementCache(cm);\n\t cm.display.cachedCharWidth = cm.display.cachedTextHeight = cm.display.cachedPaddingH = null;\n\t if (!cm.options.lineWrapping) cm.display.maxLineChanged = true;\n\t cm.display.lineNumChars = null;\n\t }\n\t\n\t function pageScrollX() { return window.pageXOffset || (document.documentElement || document.body).scrollLeft; }\n\t function pageScrollY() { return window.pageYOffset || (document.documentElement || document.body).scrollTop; }\n\t\n\t // Converts a {top, bottom, left, right} box from line-local\n\t // coordinates into another coordinate system. Context may be one of\n\t // \"line\", \"div\" (display.lineDiv), \"local\"/null (editor), \"window\",\n\t // or \"page\".\n\t function intoCoordSystem(cm, lineObj, rect, context) {\n\t if (lineObj.widgets) for (var i = 0; i < lineObj.widgets.length; ++i) if (lineObj.widgets[i].above) {\n\t var size = widgetHeight(lineObj.widgets[i]);\n\t rect.top += size; rect.bottom += size;\n\t }\n\t if (context == \"line\") return rect;\n\t if (!context) context = \"local\";\n\t var yOff = heightAtLine(lineObj);\n\t if (context == \"local\") yOff += paddingTop(cm.display);\n\t else yOff -= cm.display.viewOffset;\n\t if (context == \"page\" || context == \"window\") {\n\t var lOff = cm.display.lineSpace.getBoundingClientRect();\n\t yOff += lOff.top + (context == \"window\" ? 0 : pageScrollY());\n\t var xOff = lOff.left + (context == \"window\" ? 0 : pageScrollX());\n\t rect.left += xOff; rect.right += xOff;\n\t }\n\t rect.top += yOff; rect.bottom += yOff;\n\t return rect;\n\t }\n\t\n\t // Coverts a box from \"div\" coords to another coordinate system.\n\t // Context may be \"window\", \"page\", \"div\", or \"local\"/null.\n\t function fromCoordSystem(cm, coords, context) {\n\t if (context == \"div\") return coords;\n\t var left = coords.left, top = coords.top;\n\t // First move into \"page\" coordinate system\n\t if (context == \"page\") {\n\t left -= pageScrollX();\n\t top -= pageScrollY();\n\t } else if (context == \"local\" || !context) {\n\t var localBox = cm.display.sizer.getBoundingClientRect();\n\t left += localBox.left;\n\t top += localBox.top;\n\t }\n\t\n\t var lineSpaceBox = cm.display.lineSpace.getBoundingClientRect();\n\t return {left: left - lineSpaceBox.left, top: top - lineSpaceBox.top};\n\t }\n\t\n\t function charCoords(cm, pos, context, lineObj, bias) {\n\t if (!lineObj) lineObj = getLine(cm.doc, pos.line);\n\t return intoCoordSystem(cm, lineObj, measureChar(cm, lineObj, pos.ch, bias), context);\n\t }\n\t\n\t // Returns a box for a given cursor position, which may have an\n\t // 'other' property containing the position of the secondary cursor\n\t // on a bidi boundary.\n\t function cursorCoords(cm, pos, context, lineObj, preparedMeasure, varHeight) {\n\t lineObj = lineObj || getLine(cm.doc, pos.line);\n\t if (!preparedMeasure) preparedMeasure = prepareMeasureForLine(cm, lineObj);\n\t function get(ch, right) {\n\t var m = measureCharPrepared(cm, preparedMeasure, ch, right ? \"right\" : \"left\", varHeight);\n\t if (right) m.left = m.right; else m.right = m.left;\n\t return intoCoordSystem(cm, lineObj, m, context);\n\t }\n\t function getBidi(ch, partPos) {\n\t var part = order[partPos], right = part.level % 2;\n\t if (ch == bidiLeft(part) && partPos && part.level < order[partPos - 1].level) {\n\t part = order[--partPos];\n\t ch = bidiRight(part) - (part.level % 2 ? 0 : 1);\n\t right = true;\n\t } else if (ch == bidiRight(part) && partPos < order.length - 1 && part.level < order[partPos + 1].level) {\n\t part = order[++partPos];\n\t ch = bidiLeft(part) - part.level % 2;\n\t right = false;\n\t }\n\t if (right && ch == part.to && ch > part.from) return get(ch - 1);\n\t return get(ch, right);\n\t }\n\t var order = getOrder(lineObj), ch = pos.ch;\n\t if (!order) return get(ch);\n\t var partPos = getBidiPartAt(order, ch);\n\t var val = getBidi(ch, partPos);\n\t if (bidiOther != null) val.other = getBidi(ch, bidiOther);\n\t return val;\n\t }\n\t\n\t // Used to cheaply estimate the coordinates for a position. Used for\n\t // intermediate scroll updates.\n\t function estimateCoords(cm, pos) {\n\t var left = 0, pos = clipPos(cm.doc, pos);\n\t if (!cm.options.lineWrapping) left = charWidth(cm.display) * pos.ch;\n\t var lineObj = getLine(cm.doc, pos.line);\n\t var top = heightAtLine(lineObj) + paddingTop(cm.display);\n\t return {left: left, right: left, top: top, bottom: top + lineObj.height};\n\t }\n\t\n\t // Positions returned by coordsChar contain some extra information.\n\t // xRel is the relative x position of the input coordinates compared\n\t // to the found position (so xRel > 0 means the coordinates are to\n\t // the right of the character position, for example). When outside\n\t // is true, that means the coordinates lie outside the line's\n\t // vertical range.\n\t function PosWithInfo(line, ch, outside, xRel) {\n\t var pos = Pos(line, ch);\n\t pos.xRel = xRel;\n\t if (outside) pos.outside = true;\n\t return pos;\n\t }\n\t\n\t // Compute the character position closest to the given coordinates.\n\t // Input must be lineSpace-local (\"div\" coordinate system).\n\t function coordsChar(cm, x, y) {\n\t var doc = cm.doc;\n\t y += cm.display.viewOffset;\n\t if (y < 0) return PosWithInfo(doc.first, 0, true, -1);\n\t var lineN = lineAtHeight(doc, y), last = doc.first + doc.size - 1;\n\t if (lineN > last)\n\t return PosWithInfo(doc.first + doc.size - 1, getLine(doc, last).text.length, true, 1);\n\t if (x < 0) x = 0;\n\t\n\t var lineObj = getLine(doc, lineN);\n\t for (;;) {\n\t var found = coordsCharInner(cm, lineObj, lineN, x, y);\n\t var merged = collapsedSpanAtEnd(lineObj);\n\t var mergedPos = merged && merged.find(0, true);\n\t if (merged && (found.ch > mergedPos.from.ch || found.ch == mergedPos.from.ch && found.xRel > 0))\n\t lineN = lineNo(lineObj = mergedPos.to.line);\n\t else\n\t return found;\n\t }\n\t }\n\t\n\t function coordsCharInner(cm, lineObj, lineNo, x, y) {\n\t var innerOff = y - heightAtLine(lineObj);\n\t var wrongLine = false, adjust = 2 * cm.display.wrapper.clientWidth;\n\t var preparedMeasure = prepareMeasureForLine(cm, lineObj);\n\t\n\t function getX(ch) {\n\t var sp = cursorCoords(cm, Pos(lineNo, ch), \"line\", lineObj, preparedMeasure);\n\t wrongLine = true;\n\t if (innerOff > sp.bottom) return sp.left - adjust;\n\t else if (innerOff < sp.top) return sp.left + adjust;\n\t else wrongLine = false;\n\t return sp.left;\n\t }\n\t\n\t var bidi = getOrder(lineObj), dist = lineObj.text.length;\n\t var from = lineLeft(lineObj), to = lineRight(lineObj);\n\t var fromX = getX(from), fromOutside = wrongLine, toX = getX(to), toOutside = wrongLine;\n\t\n\t if (x > toX) return PosWithInfo(lineNo, to, toOutside, 1);\n\t // Do a binary search between these bounds.\n\t for (;;) {\n\t if (bidi ? to == from || to == moveVisually(lineObj, from, 1) : to - from <= 1) {\n\t var ch = x < fromX || x - fromX <= toX - x ? from : to;\n\t var xDiff = x - (ch == from ? fromX : toX);\n\t while (isExtendingChar(lineObj.text.charAt(ch))) ++ch;\n\t var pos = PosWithInfo(lineNo, ch, ch == from ? fromOutside : toOutside,\n\t xDiff < -1 ? -1 : xDiff > 1 ? 1 : 0);\n\t return pos;\n\t }\n\t var step = Math.ceil(dist / 2), middle = from + step;\n\t if (bidi) {\n\t middle = from;\n\t for (var i = 0; i < step; ++i) middle = moveVisually(lineObj, middle, 1);\n\t }\n\t var middleX = getX(middle);\n\t if (middleX > x) {to = middle; toX = middleX; if (toOutside = wrongLine) toX += 1000; dist = step;}\n\t else {from = middle; fromX = middleX; fromOutside = wrongLine; dist -= step;}\n\t }\n\t }\n\t\n\t var measureText;\n\t // Compute the default text height.\n\t function textHeight(display) {\n\t if (display.cachedTextHeight != null) return display.cachedTextHeight;\n\t if (measureText == null) {\n\t measureText = elt(\"pre\");\n\t // Measure a bunch of lines, for browsers that compute\n\t // fractional heights.\n\t for (var i = 0; i < 49; ++i) {\n\t measureText.appendChild(document.createTextNode(\"x\"));\n\t measureText.appendChild(elt(\"br\"));\n\t }\n\t measureText.appendChild(document.createTextNode(\"x\"));\n\t }\n\t removeChildrenAndAdd(display.measure, measureText);\n\t var height = measureText.offsetHeight / 50;\n\t if (height > 3) display.cachedTextHeight = height;\n\t removeChildren(display.measure);\n\t return height || 1;\n\t }\n\t\n\t // Compute the default character width.\n\t function charWidth(display) {\n\t if (display.cachedCharWidth != null) return display.cachedCharWidth;\n\t var anchor = elt(\"span\", \"xxxxxxxxxx\");\n\t var pre = elt(\"pre\", [anchor]);\n\t removeChildrenAndAdd(display.measure, pre);\n\t var rect = anchor.getBoundingClientRect(), width = (rect.right - rect.left) / 10;\n\t if (width > 2) display.cachedCharWidth = width;\n\t return width || 10;\n\t }\n\t\n\t // OPERATIONS\n\t\n\t // Operations are used to wrap a series of changes to the editor\n\t // state in such a way that each change won't have to update the\n\t // cursor and display (which would be awkward, slow, and\n\t // error-prone). Instead, display updates are batched and then all\n\t // combined and executed at once.\n\t\n\t var operationGroup = null;\n\t\n\t var nextOpId = 0;\n\t // Start a new operation.\n\t function startOperation(cm) {\n\t cm.curOp = {\n\t cm: cm,\n\t viewChanged: false, // Flag that indicates that lines might need to be redrawn\n\t startHeight: cm.doc.height, // Used to detect need to update scrollbar\n\t forceUpdate: false, // Used to force a redraw\n\t updateInput: null, // Whether to reset the input textarea\n\t typing: false, // Whether this reset should be careful to leave existing text (for compositing)\n\t changeObjs: null, // Accumulated changes, for firing change events\n\t cursorActivityHandlers: null, // Set of handlers to fire cursorActivity on\n\t cursorActivityCalled: 0, // Tracks which cursorActivity handlers have been called already\n\t selectionChanged: false, // Whether the selection needs to be redrawn\n\t updateMaxLine: false, // Set when the widest line needs to be determined anew\n\t scrollLeft: null, scrollTop: null, // Intermediate scroll position, not pushed to DOM yet\n\t scrollToPos: null, // Used to scroll to a specific position\n\t focus: false,\n\t id: ++nextOpId // Unique ID\n\t };\n\t if (operationGroup) {\n\t operationGroup.ops.push(cm.curOp);\n\t } else {\n\t cm.curOp.ownsGroup = operationGroup = {\n\t ops: [cm.curOp],\n\t delayedCallbacks: []\n\t };\n\t }\n\t }\n\t\n\t function fireCallbacksForOps(group) {\n\t // Calls delayed callbacks and cursorActivity handlers until no\n\t // new ones appear\n\t var callbacks = group.delayedCallbacks, i = 0;\n\t do {\n\t for (; i < callbacks.length; i++)\n\t callbacks[i]();\n\t for (var j = 0; j < group.ops.length; j++) {\n\t var op = group.ops[j];\n\t if (op.cursorActivityHandlers)\n\t while (op.cursorActivityCalled < op.cursorActivityHandlers.length)\n\t op.cursorActivityHandlers[op.cursorActivityCalled++](op.cm);\n\t }\n\t } while (i < callbacks.length);\n\t }\n\t\n\t // Finish an operation, updating the display and signalling delayed events\n\t function endOperation(cm) {\n\t var op = cm.curOp, group = op.ownsGroup;\n\t if (!group) return;\n\t\n\t try { fireCallbacksForOps(group); }\n\t finally {\n\t operationGroup = null;\n\t for (var i = 0; i < group.ops.length; i++)\n\t group.ops[i].cm.curOp = null;\n\t endOperations(group);\n\t }\n\t }\n\t\n\t // The DOM updates done when an operation finishes are batched so\n\t // that the minimum number of relayouts are required.\n\t function endOperations(group) {\n\t var ops = group.ops;\n\t for (var i = 0; i < ops.length; i++) // Read DOM\n\t endOperation_R1(ops[i]);\n\t for (var i = 0; i < ops.length; i++) // Write DOM (maybe)\n\t endOperation_W1(ops[i]);\n\t for (var i = 0; i < ops.length; i++) // Read DOM\n\t endOperation_R2(ops[i]);\n\t for (var i = 0; i < ops.length; i++) // Write DOM (maybe)\n\t endOperation_W2(ops[i]);\n\t for (var i = 0; i < ops.length; i++) // Read DOM\n\t endOperation_finish(ops[i]);\n\t }\n\t\n\t function endOperation_R1(op) {\n\t var cm = op.cm, display = cm.display;\n\t maybeClipScrollbars(cm);\n\t if (op.updateMaxLine) findMaxLine(cm);\n\t\n\t op.mustUpdate = op.viewChanged || op.forceUpdate || op.scrollTop != null ||\n\t op.scrollToPos && (op.scrollToPos.from.line < display.viewFrom ||\n\t op.scrollToPos.to.line >= display.viewTo) ||\n\t display.maxLineChanged && cm.options.lineWrapping;\n\t op.update = op.mustUpdate &&\n\t new DisplayUpdate(cm, op.mustUpdate && {top: op.scrollTop, ensure: op.scrollToPos}, op.forceUpdate);\n\t }\n\t\n\t function endOperation_W1(op) {\n\t op.updatedDisplay = op.mustUpdate && updateDisplayIfNeeded(op.cm, op.update);\n\t }\n\t\n\t function endOperation_R2(op) {\n\t var cm = op.cm, display = cm.display;\n\t if (op.updatedDisplay) updateHeightsInViewport(cm);\n\t\n\t op.barMeasure = measureForScrollbars(cm);\n\t\n\t // If the max line changed since it was last measured, measure it,\n\t // and ensure the document's width matches it.\n\t // updateDisplay_W2 will use these properties to do the actual resizing\n\t if (display.maxLineChanged && !cm.options.lineWrapping) {\n\t op.adjustWidthTo = measureChar(cm, display.maxLine, display.maxLine.text.length).left + 3;\n\t cm.display.sizerWidth = op.adjustWidthTo;\n\t op.barMeasure.scrollWidth =\n\t Math.max(display.scroller.clientWidth, display.sizer.offsetLeft + op.adjustWidthTo + scrollGap(cm) + cm.display.barWidth);\n\t op.maxScrollLeft = Math.max(0, display.sizer.offsetLeft + op.adjustWidthTo - displayWidth(cm));\n\t }\n\t\n\t if (op.updatedDisplay || op.selectionChanged)\n\t op.preparedSelection = display.input.prepareSelection();\n\t }\n\t\n\t function endOperation_W2(op) {\n\t var cm = op.cm;\n\t\n\t if (op.adjustWidthTo != null) {\n\t cm.display.sizer.style.minWidth = op.adjustWidthTo + \"px\";\n\t if (op.maxScrollLeft < cm.doc.scrollLeft)\n\t setScrollLeft(cm, Math.min(cm.display.scroller.scrollLeft, op.maxScrollLeft), true);\n\t cm.display.maxLineChanged = false;\n\t }\n\t\n\t if (op.preparedSelection)\n\t cm.display.input.showSelection(op.preparedSelection);\n\t if (op.updatedDisplay)\n\t setDocumentHeight(cm, op.barMeasure);\n\t if (op.updatedDisplay || op.startHeight != cm.doc.height)\n\t updateScrollbars(cm, op.barMeasure);\n\t\n\t if (op.selectionChanged) restartBlink(cm);\n\t\n\t if (cm.state.focused && op.updateInput)\n\t cm.display.input.reset(op.typing);\n\t if (op.focus && op.focus == activeElt()) ensureFocus(op.cm);\n\t }\n\t\n\t function endOperation_finish(op) {\n\t var cm = op.cm, display = cm.display, doc = cm.doc;\n\t\n\t if (op.updatedDisplay) postUpdateDisplay(cm, op.update);\n\t\n\t // Abort mouse wheel delta measurement, when scrolling explicitly\n\t if (display.wheelStartX != null && (op.scrollTop != null || op.scrollLeft != null || op.scrollToPos))\n\t display.wheelStartX = display.wheelStartY = null;\n\t\n\t // Propagate the scroll position to the actual DOM scroller\n\t if (op.scrollTop != null && (display.scroller.scrollTop != op.scrollTop || op.forceScroll)) {\n\t doc.scrollTop = Math.max(0, Math.min(display.scroller.scrollHeight - display.scroller.clientHeight, op.scrollTop));\n\t display.scrollbars.setScrollTop(doc.scrollTop);\n\t display.scroller.scrollTop = doc.scrollTop;\n\t }\n\t if (op.scrollLeft != null && (display.scroller.scrollLeft != op.scrollLeft || op.forceScroll)) {\n\t doc.scrollLeft = Math.max(0, Math.min(display.scroller.scrollWidth - displayWidth(cm), op.scrollLeft));\n\t display.scrollbars.setScrollLeft(doc.scrollLeft);\n\t display.scroller.scrollLeft = doc.scrollLeft;\n\t alignHorizontally(cm);\n\t }\n\t // If we need to scroll a specific position into view, do so.\n\t if (op.scrollToPos) {\n\t var coords = scrollPosIntoView(cm, clipPos(doc, op.scrollToPos.from),\n\t clipPos(doc, op.scrollToPos.to), op.scrollToPos.margin);\n\t if (op.scrollToPos.isCursor && cm.state.focused) maybeScrollWindow(cm, coords);\n\t }\n\t\n\t // Fire events for markers that are hidden/unidden by editing or\n\t // undoing\n\t var hidden = op.maybeHiddenMarkers, unhidden = op.maybeUnhiddenMarkers;\n\t if (hidden) for (var i = 0; i < hidden.length; ++i)\n\t if (!hidden[i].lines.length) signal(hidden[i], \"hide\");\n\t if (unhidden) for (var i = 0; i < unhidden.length; ++i)\n\t if (unhidden[i].lines.length) signal(unhidden[i], \"unhide\");\n\t\n\t if (display.wrapper.offsetHeight)\n\t doc.scrollTop = cm.display.scroller.scrollTop;\n\t\n\t // Fire change events, and delayed event handlers\n\t if (op.changeObjs)\n\t signal(cm, \"changes\", cm, op.changeObjs);\n\t if (op.update)\n\t op.update.finish();\n\t }\n\t\n\t // Run the given function in an operation\n\t function runInOp(cm, f) {\n\t if (cm.curOp) return f();\n\t startOperation(cm);\n\t try { return f(); }\n\t finally { endOperation(cm); }\n\t }\n\t // Wraps a function in an operation. Returns the wrapped function.\n\t function operation(cm, f) {\n\t return function() {\n\t if (cm.curOp) return f.apply(cm, arguments);\n\t startOperation(cm);\n\t try { return f.apply(cm, arguments); }\n\t finally { endOperation(cm); }\n\t };\n\t }\n\t // Used to add methods to editor and doc instances, wrapping them in\n\t // operations.\n\t function methodOp(f) {\n\t return function() {\n\t if (this.curOp) return f.apply(this, arguments);\n\t startOperation(this);\n\t try { return f.apply(this, arguments); }\n\t finally { endOperation(this); }\n\t };\n\t }\n\t function docMethodOp(f) {\n\t return function() {\n\t var cm = this.cm;\n\t if (!cm || cm.curOp) return f.apply(this, arguments);\n\t startOperation(cm);\n\t try { return f.apply(this, arguments); }\n\t finally { endOperation(cm); }\n\t };\n\t }\n\t\n\t // VIEW TRACKING\n\t\n\t // These objects are used to represent the visible (currently drawn)\n\t // part of the document. A LineView may correspond to multiple\n\t // logical lines, if those are connected by collapsed ranges.\n\t function LineView(doc, line, lineN) {\n\t // The starting line\n\t this.line = line;\n\t // Continuing lines, if any\n\t this.rest = visualLineContinued(line);\n\t // Number of logical lines in this visual line\n\t this.size = this.rest ? lineNo(lst(this.rest)) - lineN + 1 : 1;\n\t this.node = this.text = null;\n\t this.hidden = lineIsHidden(doc, line);\n\t }\n\t\n\t // Create a range of LineView objects for the given lines.\n\t function buildViewArray(cm, from, to) {\n\t var array = [], nextPos;\n\t for (var pos = from; pos < to; pos = nextPos) {\n\t var view = new LineView(cm.doc, getLine(cm.doc, pos), pos);\n\t nextPos = pos + view.size;\n\t array.push(view);\n\t }\n\t return array;\n\t }\n\t\n\t // Updates the display.view data structure for a given change to the\n\t // document. From and to are in pre-change coordinates. Lendiff is\n\t // the amount of lines added or subtracted by the change. This is\n\t // used for changes that span multiple lines, or change the way\n\t // lines are divided into visual lines. regLineChange (below)\n\t // registers single-line changes.\n\t function regChange(cm, from, to, lendiff) {\n\t if (from == null) from = cm.doc.first;\n\t if (to == null) to = cm.doc.first + cm.doc.size;\n\t if (!lendiff) lendiff = 0;\n\t\n\t var display = cm.display;\n\t if (lendiff && to < display.viewTo &&\n\t (display.updateLineNumbers == null || display.updateLineNumbers > from))\n\t display.updateLineNumbers = from;\n\t\n\t cm.curOp.viewChanged = true;\n\t\n\t if (from >= display.viewTo) { // Change after\n\t if (sawCollapsedSpans && visualLineNo(cm.doc, from) < display.viewTo)\n\t resetView(cm);\n\t } else if (to <= display.viewFrom) { // Change before\n\t if (sawCollapsedSpans && visualLineEndNo(cm.doc, to + lendiff) > display.viewFrom) {\n\t resetView(cm);\n\t } else {\n\t display.viewFrom += lendiff;\n\t display.viewTo += lendiff;\n\t }\n\t } else if (from <= display.viewFrom && to >= display.viewTo) { // Full overlap\n\t resetView(cm);\n\t } else if (from <= display.viewFrom) { // Top overlap\n\t var cut = viewCuttingPoint(cm, to, to + lendiff, 1);\n\t if (cut) {\n\t display.view = display.view.slice(cut.index);\n\t display.viewFrom = cut.lineN;\n\t display.viewTo += lendiff;\n\t } else {\n\t resetView(cm);\n\t }\n\t } else if (to >= display.viewTo) { // Bottom overlap\n\t var cut = viewCuttingPoint(cm, from, from, -1);\n\t if (cut) {\n\t display.view = display.view.slice(0, cut.index);\n\t display.viewTo = cut.lineN;\n\t } else {\n\t resetView(cm);\n\t }\n\t } else { // Gap in the middle\n\t var cutTop = viewCuttingPoint(cm, from, from, -1);\n\t var cutBot = viewCuttingPoint(cm, to, to + lendiff, 1);\n\t if (cutTop && cutBot) {\n\t display.view = display.view.slice(0, cutTop.index)\n\t .concat(buildViewArray(cm, cutTop.lineN, cutBot.lineN))\n\t .concat(display.view.slice(cutBot.index));\n\t display.viewTo += lendiff;\n\t } else {\n\t resetView(cm);\n\t }\n\t }\n\t\n\t var ext = display.externalMeasured;\n\t if (ext) {\n\t if (to < ext.lineN)\n\t ext.lineN += lendiff;\n\t else if (from < ext.lineN + ext.size)\n\t display.externalMeasured = null;\n\t }\n\t }\n\t\n\t // Register a change to a single line. Type must be one of \"text\",\n\t // \"gutter\", \"class\", \"widget\"\n\t function regLineChange(cm, line, type) {\n\t cm.curOp.viewChanged = true;\n\t var display = cm.display, ext = cm.display.externalMeasured;\n\t if (ext && line >= ext.lineN && line < ext.lineN + ext.size)\n\t display.externalMeasured = null;\n\t\n\t if (line < display.viewFrom || line >= display.viewTo) return;\n\t var lineView = display.view[findViewIndex(cm, line)];\n\t if (lineView.node == null) return;\n\t var arr = lineView.changes || (lineView.changes = []);\n\t if (indexOf(arr, type) == -1) arr.push(type);\n\t }\n\t\n\t // Clear the view.\n\t function resetView(cm) {\n\t cm.display.viewFrom = cm.display.viewTo = cm.doc.first;\n\t cm.display.view = [];\n\t cm.display.viewOffset = 0;\n\t }\n\t\n\t // Find the view element corresponding to a given line. Return null\n\t // when the line isn't visible.\n\t function findViewIndex(cm, n) {\n\t if (n >= cm.display.viewTo) return null;\n\t n -= cm.display.viewFrom;\n\t if (n < 0) return null;\n\t var view = cm.display.view;\n\t for (var i = 0; i < view.length; i++) {\n\t n -= view[i].size;\n\t if (n < 0) return i;\n\t }\n\t }\n\t\n\t function viewCuttingPoint(cm, oldN, newN, dir) {\n\t var index = findViewIndex(cm, oldN), diff, view = cm.display.view;\n\t if (!sawCollapsedSpans || newN == cm.doc.first + cm.doc.size)\n\t return {index: index, lineN: newN};\n\t for (var i = 0, n = cm.display.viewFrom; i < index; i++)\n\t n += view[i].size;\n\t if (n != oldN) {\n\t if (dir > 0) {\n\t if (index == view.length - 1) return null;\n\t diff = (n + view[index].size) - oldN;\n\t index++;\n\t } else {\n\t diff = n - oldN;\n\t }\n\t oldN += diff; newN += diff;\n\t }\n\t while (visualLineNo(cm.doc, newN) != newN) {\n\t if (index == (dir < 0 ? 0 : view.length - 1)) return null;\n\t newN += dir * view[index - (dir < 0 ? 1 : 0)].size;\n\t index += dir;\n\t }\n\t return {index: index, lineN: newN};\n\t }\n\t\n\t // Force the view to cover a given range, adding empty view element\n\t // or clipping off existing ones as needed.\n\t function adjustView(cm, from, to) {\n\t var display = cm.display, view = display.view;\n\t if (view.length == 0 || from >= display.viewTo || to <= display.viewFrom) {\n\t display.view = buildViewArray(cm, from, to);\n\t display.viewFrom = from;\n\t } else {\n\t if (display.viewFrom > from)\n\t display.view = buildViewArray(cm, from, display.viewFrom).concat(display.view);\n\t else if (display.viewFrom < from)\n\t display.view = display.view.slice(findViewIndex(cm, from));\n\t display.viewFrom = from;\n\t if (display.viewTo < to)\n\t display.view = display.view.concat(buildViewArray(cm, display.viewTo, to));\n\t else if (display.viewTo > to)\n\t display.view = display.view.slice(0, findViewIndex(cm, to));\n\t }\n\t display.viewTo = to;\n\t }\n\t\n\t // Count the number of lines in the view whose DOM representation is\n\t // out of date (or nonexistent).\n\t function countDirtyView(cm) {\n\t var view = cm.display.view, dirty = 0;\n\t for (var i = 0; i < view.length; i++) {\n\t var lineView = view[i];\n\t if (!lineView.hidden && (!lineView.node || lineView.changes)) ++dirty;\n\t }\n\t return dirty;\n\t }\n\t\n\t // EVENT HANDLERS\n\t\n\t // Attach the necessary event handlers when initializing the editor\n\t function registerEventHandlers(cm) {\n\t var d = cm.display;\n\t on(d.scroller, \"mousedown\", operation(cm, onMouseDown));\n\t // Older IE's will not fire a second mousedown for a double click\n\t if (ie && ie_version < 11)\n\t on(d.scroller, \"dblclick\", operation(cm, function(e) {\n\t if (signalDOMEvent(cm, e)) return;\n\t var pos = posFromMouse(cm, e);\n\t if (!pos || clickInGutter(cm, e) || eventInWidget(cm.display, e)) return;\n\t e_preventDefault(e);\n\t var word = cm.findWordAt(pos);\n\t extendSelection(cm.doc, word.anchor, word.head);\n\t }));\n\t else\n\t on(d.scroller, \"dblclick\", function(e) { signalDOMEvent(cm, e) || e_preventDefault(e); });\n\t // Some browsers fire contextmenu *after* opening the menu, at\n\t // which point we can't mess with it anymore. Context menu is\n\t // handled in onMouseDown for these browsers.\n\t if (!captureRightClick) on(d.scroller, \"contextmenu\", function(e) {onContextMenu(cm, e);});\n\t\n\t // Used to suppress mouse event handling when a touch happens\n\t var touchFinished, prevTouch = {end: 0};\n\t function finishTouch() {\n\t if (d.activeTouch) {\n\t touchFinished = setTimeout(function() {d.activeTouch = null;}, 1000);\n\t prevTouch = d.activeTouch;\n\t prevTouch.end = +new Date;\n\t }\n\t };\n\t function isMouseLikeTouchEvent(e) {\n\t if (e.touches.length != 1) return false;\n\t var touch = e.touches[0];\n\t return touch.radiusX <= 1 && touch.radiusY <= 1;\n\t }\n\t function farAway(touch, other) {\n\t if (other.left == null) return true;\n\t var dx = other.left - touch.left, dy = other.top - touch.top;\n\t return dx * dx + dy * dy > 20 * 20;\n\t }\n\t on(d.scroller, \"touchstart\", function(e) {\n\t if (!isMouseLikeTouchEvent(e)) {\n\t clearTimeout(touchFinished);\n\t var now = +new Date;\n\t d.activeTouch = {start: now, moved: false,\n\t prev: now - prevTouch.end <= 300 ? prevTouch : null};\n\t if (e.touches.length == 1) {\n\t d.activeTouch.left = e.touches[0].pageX;\n\t d.activeTouch.top = e.touches[0].pageY;\n\t }\n\t }\n\t });\n\t on(d.scroller, \"touchmove\", function() {\n\t if (d.activeTouch) d.activeTouch.moved = true;\n\t });\n\t on(d.scroller, \"touchend\", function(e) {\n\t var touch = d.activeTouch;\n\t if (touch && !eventInWidget(d, e) && touch.left != null &&\n\t !touch.moved && new Date - touch.start < 300) {\n\t var pos = cm.coordsChar(d.activeTouch, \"page\"), range;\n\t if (!touch.prev || farAway(touch, touch.prev)) // Single tap\n\t range = new Range(pos, pos);\n\t else if (!touch.prev.prev || farAway(touch, touch.prev.prev)) // Double tap\n\t range = cm.findWordAt(pos);\n\t else // Triple tap\n\t range = new Range(Pos(pos.line, 0), clipPos(cm.doc, Pos(pos.line + 1, 0)));\n\t cm.setSelection(range.anchor, range.head);\n\t cm.focus();\n\t e_preventDefault(e);\n\t }\n\t finishTouch();\n\t });\n\t on(d.scroller, \"touchcancel\", finishTouch);\n\t\n\t // Sync scrolling between fake scrollbars and real scrollable\n\t // area, ensure viewport is updated when scrolling.\n\t on(d.scroller, \"scroll\", function() {\n\t if (d.scroller.clientHeight) {\n\t setScrollTop(cm, d.scroller.scrollTop);\n\t setScrollLeft(cm, d.scroller.scrollLeft, true);\n\t signal(cm, \"scroll\", cm);\n\t }\n\t });\n\t\n\t // Listen to wheel events in order to try and update the viewport on time.\n\t on(d.scroller, \"mousewheel\", function(e){onScrollWheel(cm, e);});\n\t on(d.scroller, \"DOMMouseScroll\", function(e){onScrollWheel(cm, e);});\n\t\n\t // Prevent wrapper from ever scrolling\n\t on(d.wrapper, \"scroll\", function() { d.wrapper.scrollTop = d.wrapper.scrollLeft = 0; });\n\t\n\t d.dragFunctions = {\n\t simple: function(e) {if (!signalDOMEvent(cm, e)) e_stop(e);},\n\t start: function(e){onDragStart(cm, e);},\n\t drop: operation(cm, onDrop)\n\t };\n\t\n\t var inp = d.input.getField();\n\t on(inp, \"keyup\", function(e) { onKeyUp.call(cm, e); });\n\t on(inp, \"keydown\", operation(cm, onKeyDown));\n\t on(inp, \"keypress\", operation(cm, onKeyPress));\n\t on(inp, \"focus\", bind(onFocus, cm));\n\t on(inp, \"blur\", bind(onBlur, cm));\n\t }\n\t\n\t function dragDropChanged(cm, value, old) {\n\t var wasOn = old && old != CodeMirror.Init;\n\t if (!value != !wasOn) {\n\t var funcs = cm.display.dragFunctions;\n\t var toggle = value ? on : off;\n\t toggle(cm.display.scroller, \"dragstart\", funcs.start);\n\t toggle(cm.display.scroller, \"dragenter\", funcs.simple);\n\t toggle(cm.display.scroller, \"dragover\", funcs.simple);\n\t toggle(cm.display.scroller, \"drop\", funcs.drop);\n\t }\n\t }\n\t\n\t // Called when the window resizes\n\t function onResize(cm) {\n\t var d = cm.display;\n\t if (d.lastWrapHeight == d.wrapper.clientHeight && d.lastWrapWidth == d.wrapper.clientWidth)\n\t return;\n\t // Might be a text scaling operation, clear size caches.\n\t d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null;\n\t d.scrollbarsClipped = false;\n\t cm.setSize();\n\t }\n\t\n\t // MOUSE EVENTS\n\t\n\t // Return true when the given mouse event happened in a widget\n\t function eventInWidget(display, e) {\n\t for (var n = e_target(e); n != display.wrapper; n = n.parentNode) {\n\t if (!n || (n.nodeType == 1 && n.getAttribute(\"cm-ignore-events\") == \"true\") ||\n\t (n.parentNode == display.sizer && n != display.mover))\n\t return true;\n\t }\n\t }\n\t\n\t // Given a mouse event, find the corresponding position. If liberal\n\t // is false, it checks whether a gutter or scrollbar was clicked,\n\t // and returns null if it was. forRect is used by rectangular\n\t // selections, and tries to estimate a character position even for\n\t // coordinates beyond the right of the text.\n\t function posFromMouse(cm, e, liberal, forRect) {\n\t var display = cm.display;\n\t if (!liberal && e_target(e).getAttribute(\"cm-not-content\") == \"true\") return null;\n\t\n\t var x, y, space = display.lineSpace.getBoundingClientRect();\n\t // Fails unpredictably on IE[67] when mouse is dragged around quickly.\n\t try { x = e.clientX - space.left; y = e.clientY - space.top; }\n\t catch (e) { return null; }\n\t var coords = coordsChar(cm, x, y), line;\n\t if (forRect && coords.xRel == 1 && (line = getLine(cm.doc, coords.line).text).length == coords.ch) {\n\t var colDiff = countColumn(line, line.length, cm.options.tabSize) - line.length;\n\t coords = Pos(coords.line, Math.max(0, Math.round((x - paddingH(cm.display).left) / charWidth(cm.display)) - colDiff));\n\t }\n\t return coords;\n\t }\n\t\n\t // A mouse down can be a single click, double click, triple click,\n\t // start of selection drag, start of text drag, new cursor\n\t // (ctrl-click), rectangle drag (alt-drag), or xwin\n\t // middle-click-paste. Or it might be a click on something we should\n\t // not interfere with, such as a scrollbar or widget.\n\t function onMouseDown(e) {\n\t var cm = this, display = cm.display;\n\t if (display.activeTouch && display.input.supportsTouch() || signalDOMEvent(cm, e)) return;\n\t display.shift = e.shiftKey;\n\t\n\t if (eventInWidget(display, e)) {\n\t if (!webkit) {\n\t // Briefly turn off draggability, to allow widgets to do\n\t // normal dragging things.\n\t display.scroller.draggable = false;\n\t setTimeout(function(){display.scroller.draggable = true;}, 100);\n\t }\n\t return;\n\t }\n\t if (clickInGutter(cm, e)) return;\n\t var start = posFromMouse(cm, e);\n\t window.focus();\n\t\n\t switch (e_button(e)) {\n\t case 1:\n\t if (start)\n\t leftButtonDown(cm, e, start);\n\t else if (e_target(e) == display.scroller)\n\t e_preventDefault(e);\n\t break;\n\t case 2:\n\t if (webkit) cm.state.lastMiddleDown = +new Date;\n\t if (start) extendSelection(cm.doc, start);\n\t setTimeout(function() {display.input.focus();}, 20);\n\t e_preventDefault(e);\n\t break;\n\t case 3:\n\t if (captureRightClick) onContextMenu(cm, e);\n\t else delayBlurEvent(cm);\n\t break;\n\t }\n\t }\n\t\n\t var lastClick, lastDoubleClick;\n\t function leftButtonDown(cm, e, start) {\n\t if (ie) setTimeout(bind(ensureFocus, cm), 0);\n\t else cm.curOp.focus = activeElt();\n\t\n\t var now = +new Date, type;\n\t if (lastDoubleClick && lastDoubleClick.time > now - 400 && cmp(lastDoubleClick.pos, start) == 0) {\n\t type = \"triple\";\n\t } else if (lastClick && lastClick.time > now - 400 && cmp(lastClick.pos, start) == 0) {\n\t type = \"double\";\n\t lastDoubleClick = {time: now, pos: start};\n\t } else {\n\t type = \"single\";\n\t lastClick = {time: now, pos: start};\n\t }\n\t\n\t var sel = cm.doc.sel, modifier = mac ? e.metaKey : e.ctrlKey, contained;\n\t if (cm.options.dragDrop && dragAndDrop && !isReadOnly(cm) &&\n\t type == \"single\" && (contained = sel.contains(start)) > -1 &&\n\t (cmp((contained = sel.ranges[contained]).from(), start) < 0 || start.xRel > 0) &&\n\t (cmp(contained.to(), start) > 0 || start.xRel < 0))\n\t leftButtonStartDrag(cm, e, start, modifier);\n\t else\n\t leftButtonSelect(cm, e, start, type, modifier);\n\t }\n\t\n\t // Start a text drag. When it ends, see if any dragging actually\n\t // happen, and treat as a click if it didn't.\n\t function leftButtonStartDrag(cm, e, start, modifier) {\n\t var display = cm.display, startTime = +new Date;\n\t var dragEnd = operation(cm, function(e2) {\n\t if (webkit) display.scroller.draggable = false;\n\t cm.state.draggingText = false;\n\t off(document, \"mouseup\", dragEnd);\n\t off(display.scroller, \"drop\", dragEnd);\n\t if (Math.abs(e.clientX - e2.clientX) + Math.abs(e.clientY - e2.clientY) < 10) {\n\t e_preventDefault(e2);\n\t if (!modifier && +new Date - 200 < startTime)\n\t extendSelection(cm.doc, start);\n\t // Work around unexplainable focus problem in IE9 (#2127) and Chrome (#3081)\n\t if (webkit || ie && ie_version == 9)\n\t setTimeout(function() {document.body.focus(); display.input.focus();}, 20);\n\t else\n\t display.input.focus();\n\t }\n\t });\n\t // Let the drag handler handle this.\n\t if (webkit) display.scroller.draggable = true;\n\t cm.state.draggingText = dragEnd;\n\t // IE's approach to draggable\n\t if (display.scroller.dragDrop) display.scroller.dragDrop();\n\t on(document, \"mouseup\", dragEnd);\n\t on(display.scroller, \"drop\", dragEnd);\n\t }\n\t\n\t // Normal selection, as opposed to text dragging.\n\t function leftButtonSelect(cm, e, start, type, addNew) {\n\t var display = cm.display, doc = cm.doc;\n\t e_preventDefault(e);\n\t\n\t var ourRange, ourIndex, startSel = doc.sel, ranges = startSel.ranges;\n\t if (addNew && !e.shiftKey) {\n\t ourIndex = doc.sel.contains(start);\n\t if (ourIndex > -1)\n\t ourRange = ranges[ourIndex];\n\t else\n\t ourRange = new Range(start, start);\n\t } else {\n\t ourRange = doc.sel.primary();\n\t ourIndex = doc.sel.primIndex;\n\t }\n\t\n\t if (e.altKey) {\n\t type = \"rect\";\n\t if (!addNew) ourRange = new Range(start, start);\n\t start = posFromMouse(cm, e, true, true);\n\t ourIndex = -1;\n\t } else if (type == \"double\") {\n\t var word = cm.findWordAt(start);\n\t if (cm.display.shift || doc.extend)\n\t ourRange = extendRange(doc, ourRange, word.anchor, word.head);\n\t else\n\t ourRange = word;\n\t } else if (type == \"triple\") {\n\t var line = new Range(Pos(start.line, 0), clipPos(doc, Pos(start.line + 1, 0)));\n\t if (cm.display.shift || doc.extend)\n\t ourRange = extendRange(doc, ourRange, line.anchor, line.head);\n\t else\n\t ourRange = line;\n\t } else {\n\t ourRange = extendRange(doc, ourRange, start);\n\t }\n\t\n\t if (!addNew) {\n\t ourIndex = 0;\n\t setSelection(doc, new Selection([ourRange], 0), sel_mouse);\n\t startSel = doc.sel;\n\t } else if (ourIndex == -1) {\n\t ourIndex = ranges.length;\n\t setSelection(doc, normalizeSelection(ranges.concat([ourRange]), ourIndex),\n\t {scroll: false, origin: \"*mouse\"});\n\t } else if (ranges.length > 1 && ranges[ourIndex].empty() && type == \"single\" && !e.shiftKey) {\n\t setSelection(doc, normalizeSelection(ranges.slice(0, ourIndex).concat(ranges.slice(ourIndex + 1)), 0));\n\t startSel = doc.sel;\n\t } else {\n\t replaceOneSelection(doc, ourIndex, ourRange, sel_mouse);\n\t }\n\t\n\t var lastPos = start;\n\t function extendTo(pos) {\n\t if (cmp(lastPos, pos) == 0) return;\n\t lastPos = pos;\n\t\n\t if (type == \"rect\") {\n\t var ranges = [], tabSize = cm.options.tabSize;\n\t var startCol = countColumn(getLine(doc, start.line).text, start.ch, tabSize);\n\t var posCol = countColumn(getLine(doc, pos.line).text, pos.ch, tabSize);\n\t var left = Math.min(startCol, posCol), right = Math.max(startCol, posCol);\n\t for (var line = Math.min(start.line, pos.line), end = Math.min(cm.lastLine(), Math.max(start.line, pos.line));\n\t line <= end; line++) {\n\t var text = getLine(doc, line).text, leftPos = findColumn(text, left, tabSize);\n\t if (left == right)\n\t ranges.push(new Range(Pos(line, leftPos), Pos(line, leftPos)));\n\t else if (text.length > leftPos)\n\t ranges.push(new Range(Pos(line, leftPos), Pos(line, findColumn(text, right, tabSize))));\n\t }\n\t if (!ranges.length) ranges.push(new Range(start, start));\n\t setSelection(doc, normalizeSelection(startSel.ranges.slice(0, ourIndex).concat(ranges), ourIndex),\n\t {origin: \"*mouse\", scroll: false});\n\t cm.scrollIntoView(pos);\n\t } else {\n\t var oldRange = ourRange;\n\t var anchor = oldRange.anchor, head = pos;\n\t if (type != \"single\") {\n\t if (type == \"double\")\n\t var range = cm.findWordAt(pos);\n\t else\n\t var range = new Range(Pos(pos.line, 0), clipPos(doc, Pos(pos.line + 1, 0)));\n\t if (cmp(range.anchor, anchor) > 0) {\n\t head = range.head;\n\t anchor = minPos(oldRange.from(), range.anchor);\n\t } else {\n\t head = range.anchor;\n\t anchor = maxPos(oldRange.to(), range.head);\n\t }\n\t }\n\t var ranges = startSel.ranges.slice(0);\n\t ranges[ourIndex] = new Range(clipPos(doc, anchor), head);\n\t setSelection(doc, normalizeSelection(ranges, ourIndex), sel_mouse);\n\t }\n\t }\n\t\n\t var editorSize = display.wrapper.getBoundingClientRect();\n\t // Used to ensure timeout re-tries don't fire when another extend\n\t // happened in the meantime (clearTimeout isn't reliable -- at\n\t // least on Chrome, the timeouts still happen even when cleared,\n\t // if the clear happens after their scheduled firing time).\n\t var counter = 0;\n\t\n\t function extend(e) {\n\t var curCount = ++counter;\n\t var cur = posFromMouse(cm, e, true, type == \"rect\");\n\t if (!cur) return;\n\t if (cmp(cur, lastPos) != 0) {\n\t cm.curOp.focus = activeElt();\n\t extendTo(cur);\n\t var visible = visibleLines(display, doc);\n\t if (cur.line >= visible.to || cur.line < visible.from)\n\t setTimeout(operation(cm, function(){if (counter == curCount) extend(e);}), 150);\n\t } else {\n\t var outside = e.clientY < editorSize.top ? -20 : e.clientY > editorSize.bottom ? 20 : 0;\n\t if (outside) setTimeout(operation(cm, function() {\n\t if (counter != curCount) return;\n\t display.scroller.scrollTop += outside;\n\t extend(e);\n\t }), 50);\n\t }\n\t }\n\t\n\t function done(e) {\n\t counter = Infinity;\n\t e_preventDefault(e);\n\t display.input.focus();\n\t off(document, \"mousemove\", move);\n\t off(document, \"mouseup\", up);\n\t doc.history.lastSelOrigin = null;\n\t }\n\t\n\t var move = operation(cm, function(e) {\n\t if (!e_button(e)) done(e);\n\t else extend(e);\n\t });\n\t var up = operation(cm, done);\n\t on(document, \"mousemove\", move);\n\t on(document, \"mouseup\", up);\n\t }\n\t\n\t // Determines whether an event happened in the gutter, and fires the\n\t // handlers for the corresponding event.\n\t function gutterEvent(cm, e, type, prevent, signalfn) {\n\t try { var mX = e.clientX, mY = e.clientY; }\n\t catch(e) { return false; }\n\t if (mX >= Math.floor(cm.display.gutters.getBoundingClientRect().right)) return false;\n\t if (prevent) e_preventDefault(e);\n\t\n\t var display = cm.display;\n\t var lineBox = display.lineDiv.getBoundingClientRect();\n\t\n\t if (mY > lineBox.bottom || !hasHandler(cm, type)) return e_defaultPrevented(e);\n\t mY -= lineBox.top - display.viewOffset;\n\t\n\t for (var i = 0; i < cm.options.gutters.length; ++i) {\n\t var g = display.gutters.childNodes[i];\n\t if (g && g.getBoundingClientRect().right >= mX) {\n\t var line = lineAtHeight(cm.doc, mY);\n\t var gutter = cm.options.gutters[i];\n\t signalfn(cm, type, cm, line, gutter, e);\n\t return e_defaultPrevented(e);\n\t }\n\t }\n\t }\n\t\n\t function clickInGutter(cm, e) {\n\t return gutterEvent(cm, e, \"gutterClick\", true, signalLater);\n\t }\n\t\n\t // Kludge to work around strange IE behavior where it'll sometimes\n\t // re-fire a series of drag-related events right after the drop (#1551)\n\t var lastDrop = 0;\n\t\n\t function onDrop(e) {\n\t var cm = this;\n\t if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e))\n\t return;\n\t e_preventDefault(e);\n\t if (ie) lastDrop = +new Date;\n\t var pos = posFromMouse(cm, e, true), files = e.dataTransfer.files;\n\t if (!pos || isReadOnly(cm)) return;\n\t // Might be a file drop, in which case we simply extract the text\n\t // and insert it.\n\t if (files && files.length && window.FileReader && window.File) {\n\t var n = files.length, text = Array(n), read = 0;\n\t var loadFile = function(file, i) {\n\t var reader = new FileReader;\n\t reader.onload = operation(cm, function() {\n\t text[i] = reader.result;\n\t if (++read == n) {\n\t pos = clipPos(cm.doc, pos);\n\t var change = {from: pos, to: pos,\n\t text: cm.doc.splitLines(text.join(cm.doc.lineSeparator())),\n\t origin: \"paste\"};\n\t makeChange(cm.doc, change);\n\t setSelectionReplaceHistory(cm.doc, simpleSelection(pos, changeEnd(change)));\n\t }\n\t });\n\t reader.readAsText(file);\n\t };\n\t for (var i = 0; i < n; ++i) loadFile(files[i], i);\n\t } else { // Normal drop\n\t // Don't do a replace if the drop happened inside of the selected text.\n\t if (cm.state.draggingText && cm.doc.sel.contains(pos) > -1) {\n\t cm.state.draggingText(e);\n\t // Ensure the editor is re-focused\n\t setTimeout(function() {cm.display.input.focus();}, 20);\n\t return;\n\t }\n\t try {\n\t var text = e.dataTransfer.getData(\"Text\");\n\t if (text) {\n\t if (cm.state.draggingText && !(mac ? e.altKey : e.ctrlKey))\n\t var selected = cm.listSelections();\n\t setSelectionNoUndo(cm.doc, simpleSelection(pos, pos));\n\t if (selected) for (var i = 0; i < selected.length; ++i)\n\t replaceRange(cm.doc, \"\", selected[i].anchor, selected[i].head, \"drag\");\n\t cm.replaceSelection(text, \"around\", \"paste\");\n\t cm.display.input.focus();\n\t }\n\t }\n\t catch(e){}\n\t }\n\t }\n\t\n\t function onDragStart(cm, e) {\n\t if (ie && (!cm.state.draggingText || +new Date - lastDrop < 100)) { e_stop(e); return; }\n\t if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e)) return;\n\t\n\t e.dataTransfer.setData(\"Text\", cm.getSelection());\n\t\n\t // Use dummy image instead of default browsers image.\n\t // Recent Safari (~6.0.2) have a tendency to segfault when this happens, so we don't do it there.\n\t if (e.dataTransfer.setDragImage && !safari) {\n\t var img = elt(\"img\", null, null, \"position: fixed; left: 0; top: 0;\");\n\t img.src = \"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\";\n\t if (presto) {\n\t img.width = img.height = 1;\n\t cm.display.wrapper.appendChild(img);\n\t // Force a relayout, or Opera won't use our image for some obscure reason\n\t img._top = img.offsetTop;\n\t }\n\t e.dataTransfer.setDragImage(img, 0, 0);\n\t if (presto) img.parentNode.removeChild(img);\n\t }\n\t }\n\t\n\t // SCROLL EVENTS\n\t\n\t // Sync the scrollable area and scrollbars, ensure the viewport\n\t // covers the visible area.\n\t function setScrollTop(cm, val) {\n\t if (Math.abs(cm.doc.scrollTop - val) < 2) return;\n\t cm.doc.scrollTop = val;\n\t if (!gecko) updateDisplaySimple(cm, {top: val});\n\t if (cm.display.scroller.scrollTop != val) cm.display.scroller.scrollTop = val;\n\t cm.display.scrollbars.setScrollTop(val);\n\t if (gecko) updateDisplaySimple(cm);\n\t startWorker(cm, 100);\n\t }\n\t // Sync scroller and scrollbar, ensure the gutter elements are\n\t // aligned.\n\t function setScrollLeft(cm, val, isScroller) {\n\t if (isScroller ? val == cm.doc.scrollLeft : Math.abs(cm.doc.scrollLeft - val) < 2) return;\n\t val = Math.min(val, cm.display.scroller.scrollWidth - cm.display.scroller.clientWidth);\n\t cm.doc.scrollLeft = val;\n\t alignHorizontally(cm);\n\t if (cm.display.scroller.scrollLeft != val) cm.display.scroller.scrollLeft = val;\n\t cm.display.scrollbars.setScrollLeft(val);\n\t }\n\t\n\t // Since the delta values reported on mouse wheel events are\n\t // unstandardized between browsers and even browser versions, and\n\t // generally horribly unpredictable, this code starts by measuring\n\t // the scroll effect that the first few mouse wheel events have,\n\t // and, from that, detects the way it can convert deltas to pixel\n\t // offsets afterwards.\n\t //\n\t // The reason we want to know the amount a wheel event will scroll\n\t // is that it gives us a chance to update the display before the\n\t // actual scrolling happens, reducing flickering.\n\t\n\t var wheelSamples = 0, wheelPixelsPerUnit = null;\n\t // Fill in a browser-detected starting value on browsers where we\n\t // know one. These don't have to be accurate -- the result of them\n\t // being wrong would just be a slight flicker on the first wheel\n\t // scroll (if it is large enough).\n\t if (ie) wheelPixelsPerUnit = -.53;\n\t else if (gecko) wheelPixelsPerUnit = 15;\n\t else if (chrome) wheelPixelsPerUnit = -.7;\n\t else if (safari) wheelPixelsPerUnit = -1/3;\n\t\n\t var wheelEventDelta = function(e) {\n\t var dx = e.wheelDeltaX, dy = e.wheelDeltaY;\n\t if (dx == null && e.detail && e.axis == e.HORIZONTAL_AXIS) dx = e.detail;\n\t if (dy == null && e.detail && e.axis == e.VERTICAL_AXIS) dy = e.detail;\n\t else if (dy == null) dy = e.wheelDelta;\n\t return {x: dx, y: dy};\n\t };\n\t CodeMirror.wheelEventPixels = function(e) {\n\t var delta = wheelEventDelta(e);\n\t delta.x *= wheelPixelsPerUnit;\n\t delta.y *= wheelPixelsPerUnit;\n\t return delta;\n\t };\n\t\n\t function onScrollWheel(cm, e) {\n\t var delta = wheelEventDelta(e), dx = delta.x, dy = delta.y;\n\t\n\t var display = cm.display, scroll = display.scroller;\n\t // Quit if there's nothing to scroll here\n\t if (!(dx && scroll.scrollWidth > scroll.clientWidth ||\n\t dy && scroll.scrollHeight > scroll.clientHeight)) return;\n\t\n\t // Webkit browsers on OS X abort momentum scrolls when the target\n\t // of the scroll event is removed from the scrollable element.\n\t // This hack (see related code in patchDisplay) makes sure the\n\t // element is kept around.\n\t if (dy && mac && webkit) {\n\t outer: for (var cur = e.target, view = display.view; cur != scroll; cur = cur.parentNode) {\n\t for (var i = 0; i < view.length; i++) {\n\t if (view[i].node == cur) {\n\t cm.display.currentWheelTarget = cur;\n\t break outer;\n\t }\n\t }\n\t }\n\t }\n\t\n\t // On some browsers, horizontal scrolling will cause redraws to\n\t // happen before the gutter has been realigned, causing it to\n\t // wriggle around in a most unseemly way. When we have an\n\t // estimated pixels/delta value, we just handle horizontal\n\t // scrolling entirely here. It'll be slightly off from native, but\n\t // better than glitching out.\n\t if (dx && !gecko && !presto && wheelPixelsPerUnit != null) {\n\t if (dy)\n\t setScrollTop(cm, Math.max(0, Math.min(scroll.scrollTop + dy * wheelPixelsPerUnit, scroll.scrollHeight - scroll.clientHeight)));\n\t setScrollLeft(cm, Math.max(0, Math.min(scroll.scrollLeft + dx * wheelPixelsPerUnit, scroll.scrollWidth - scroll.clientWidth)));\n\t e_preventDefault(e);\n\t display.wheelStartX = null; // Abort measurement, if in progress\n\t return;\n\t }\n\t\n\t // 'Project' the visible viewport to cover the area that is being\n\t // scrolled into view (if we know enough to estimate it).\n\t if (dy && wheelPixelsPerUnit != null) {\n\t var pixels = dy * wheelPixelsPerUnit;\n\t var top = cm.doc.scrollTop, bot = top + display.wrapper.clientHeight;\n\t if (pixels < 0) top = Math.max(0, top + pixels - 50);\n\t else bot = Math.min(cm.doc.height, bot + pixels + 50);\n\t updateDisplaySimple(cm, {top: top, bottom: bot});\n\t }\n\t\n\t if (wheelSamples < 20) {\n\t if (display.wheelStartX == null) {\n\t display.wheelStartX = scroll.scrollLeft; display.wheelStartY = scroll.scrollTop;\n\t display.wheelDX = dx; display.wheelDY = dy;\n\t setTimeout(function() {\n\t if (display.wheelStartX == null) return;\n\t var movedX = scroll.scrollLeft - display.wheelStartX;\n\t var movedY = scroll.scrollTop - display.wheelStartY;\n\t var sample = (movedY && display.wheelDY && movedY / display.wheelDY) ||\n\t (movedX && display.wheelDX && movedX / display.wheelDX);\n\t display.wheelStartX = display.wheelStartY = null;\n\t if (!sample) return;\n\t wheelPixelsPerUnit = (wheelPixelsPerUnit * wheelSamples + sample) / (wheelSamples + 1);\n\t ++wheelSamples;\n\t }, 200);\n\t } else {\n\t display.wheelDX += dx; display.wheelDY += dy;\n\t }\n\t }\n\t }\n\t\n\t // KEY EVENTS\n\t\n\t // Run a handler that was bound to a key.\n\t function doHandleBinding(cm, bound, dropShift) {\n\t if (typeof bound == \"string\") {\n\t bound = commands[bound];\n\t if (!bound) return false;\n\t }\n\t // Ensure previous input has been read, so that the handler sees a\n\t // consistent view of the document\n\t cm.display.input.ensurePolled();\n\t var prevShift = cm.display.shift, done = false;\n\t try {\n\t if (isReadOnly(cm)) cm.state.suppressEdits = true;\n\t if (dropShift) cm.display.shift = false;\n\t done = bound(cm) != Pass;\n\t } finally {\n\t cm.display.shift = prevShift;\n\t cm.state.suppressEdits = false;\n\t }\n\t return done;\n\t }\n\t\n\t function lookupKeyForEditor(cm, name, handle) {\n\t for (var i = 0; i < cm.state.keyMaps.length; i++) {\n\t var result = lookupKey(name, cm.state.keyMaps[i], handle, cm);\n\t if (result) return result;\n\t }\n\t return (cm.options.extraKeys && lookupKey(name, cm.options.extraKeys, handle, cm))\n\t || lookupKey(name, cm.options.keyMap, handle, cm);\n\t }\n\t\n\t var stopSeq = new Delayed;\n\t function dispatchKey(cm, name, e, handle) {\n\t var seq = cm.state.keySeq;\n\t if (seq) {\n\t if (isModifierKey(name)) return \"handled\";\n\t stopSeq.set(50, function() {\n\t if (cm.state.keySeq == seq) {\n\t cm.state.keySeq = null;\n\t cm.display.input.reset();\n\t }\n\t });\n\t name = seq + \" \" + name;\n\t }\n\t var result = lookupKeyForEditor(cm, name, handle);\n\t\n\t if (result == \"multi\")\n\t cm.state.keySeq = name;\n\t if (result == \"handled\")\n\t signalLater(cm, \"keyHandled\", cm, name, e);\n\t\n\t if (result == \"handled\" || result == \"multi\") {\n\t e_preventDefault(e);\n\t restartBlink(cm);\n\t }\n\t\n\t if (seq && !result && /\\'$/.test(name)) {\n\t e_preventDefault(e);\n\t return true;\n\t }\n\t return !!result;\n\t }\n\t\n\t // Handle a key from the keydown event.\n\t function handleKeyBinding(cm, e) {\n\t var name = keyName(e, true);\n\t if (!name) return false;\n\t\n\t if (e.shiftKey && !cm.state.keySeq) {\n\t // First try to resolve full name (including 'Shift-'). Failing\n\t // that, see if there is a cursor-motion command (starting with\n\t // 'go') bound to the keyname without 'Shift-'.\n\t return dispatchKey(cm, \"Shift-\" + name, e, function(b) {return doHandleBinding(cm, b, true);})\n\t || dispatchKey(cm, name, e, function(b) {\n\t if (typeof b == \"string\" ? /^go[A-Z]/.test(b) : b.motion)\n\t return doHandleBinding(cm, b);\n\t });\n\t } else {\n\t return dispatchKey(cm, name, e, function(b) { return doHandleBinding(cm, b); });\n\t }\n\t }\n\t\n\t // Handle a key from the keypress event\n\t function handleCharBinding(cm, e, ch) {\n\t return dispatchKey(cm, \"'\" + ch + \"'\", e,\n\t function(b) { return doHandleBinding(cm, b, true); });\n\t }\n\t\n\t var lastStoppedKey = null;\n\t function onKeyDown(e) {\n\t var cm = this;\n\t cm.curOp.focus = activeElt();\n\t if (signalDOMEvent(cm, e)) return;\n\t // IE does strange things with escape.\n\t if (ie && ie_version < 11 && e.keyCode == 27) e.returnValue = false;\n\t var code = e.keyCode;\n\t cm.display.shift = code == 16 || e.shiftKey;\n\t var handled = handleKeyBinding(cm, e);\n\t if (presto) {\n\t lastStoppedKey = handled ? code : null;\n\t // Opera has no cut event... we try to at least catch the key combo\n\t if (!handled && code == 88 && !hasCopyEvent && (mac ? e.metaKey : e.ctrlKey))\n\t cm.replaceSelection(\"\", null, \"cut\");\n\t }\n\t\n\t // Turn mouse into crosshair when Alt is held on Mac.\n\t if (code == 18 && !/\\bCodeMirror-crosshair\\b/.test(cm.display.lineDiv.className))\n\t showCrossHair(cm);\n\t }\n\t\n\t function showCrossHair(cm) {\n\t var lineDiv = cm.display.lineDiv;\n\t addClass(lineDiv, \"CodeMirror-crosshair\");\n\t\n\t function up(e) {\n\t if (e.keyCode == 18 || !e.altKey) {\n\t rmClass(lineDiv, \"CodeMirror-crosshair\");\n\t off(document, \"keyup\", up);\n\t off(document, \"mouseover\", up);\n\t }\n\t }\n\t on(document, \"keyup\", up);\n\t on(document, \"mouseover\", up);\n\t }\n\t\n\t function onKeyUp(e) {\n\t if (e.keyCode == 16) this.doc.sel.shift = false;\n\t signalDOMEvent(this, e);\n\t }\n\t\n\t function onKeyPress(e) {\n\t var cm = this;\n\t if (eventInWidget(cm.display, e) || signalDOMEvent(cm, e) || e.ctrlKey && !e.altKey || mac && e.metaKey) return;\n\t var keyCode = e.keyCode, charCode = e.charCode;\n\t if (presto && keyCode == lastStoppedKey) {lastStoppedKey = null; e_preventDefault(e); return;}\n\t if ((presto && (!e.which || e.which < 10)) && handleKeyBinding(cm, e)) return;\n\t var ch = String.fromCharCode(charCode == null ? keyCode : charCode);\n\t if (handleCharBinding(cm, e, ch)) return;\n\t cm.display.input.onKeyPress(e);\n\t }\n\t\n\t // FOCUS/BLUR EVENTS\n\t\n\t function delayBlurEvent(cm) {\n\t cm.state.delayingBlurEvent = true;\n\t setTimeout(function() {\n\t if (cm.state.delayingBlurEvent) {\n\t cm.state.delayingBlurEvent = false;\n\t onBlur(cm);\n\t }\n\t }, 100);\n\t }\n\t\n\t function onFocus(cm) {\n\t if (cm.state.delayingBlurEvent) cm.state.delayingBlurEvent = false;\n\t\n\t if (cm.options.readOnly == \"nocursor\") return;\n\t if (!cm.state.focused) {\n\t signal(cm, \"focus\", cm);\n\t cm.state.focused = true;\n\t addClass(cm.display.wrapper, \"CodeMirror-focused\");\n\t // This test prevents this from firing when a context\n\t // menu is closed (since the input reset would kill the\n\t // select-all detection hack)\n\t if (!cm.curOp && cm.display.selForContextMenu != cm.doc.sel) {\n\t cm.display.input.reset();\n\t if (webkit) setTimeout(function() { cm.display.input.reset(true); }, 20); // Issue #1730\n\t }\n\t cm.display.input.receivedFocus();\n\t }\n\t restartBlink(cm);\n\t }\n\t function onBlur(cm) {\n\t if (cm.state.delayingBlurEvent) return;\n\t\n\t if (cm.state.focused) {\n\t signal(cm, \"blur\", cm);\n\t cm.state.focused = false;\n\t rmClass(cm.display.wrapper, \"CodeMirror-focused\");\n\t }\n\t clearInterval(cm.display.blinker);\n\t setTimeout(function() {if (!cm.state.focused) cm.display.shift = false;}, 150);\n\t }\n\t\n\t // CONTEXT MENU HANDLING\n\t\n\t // To make the context menu work, we need to briefly unhide the\n\t // textarea (making it as unobtrusive as possible) to let the\n\t // right-click take effect on it.\n\t function onContextMenu(cm, e) {\n\t if (eventInWidget(cm.display, e) || contextMenuInGutter(cm, e)) return;\n\t cm.display.input.onContextMenu(e);\n\t }\n\t\n\t function contextMenuInGutter(cm, e) {\n\t if (!hasHandler(cm, \"gutterContextMenu\")) return false;\n\t return gutterEvent(cm, e, \"gutterContextMenu\", false, signal);\n\t }\n\t\n\t // UPDATING\n\t\n\t // Compute the position of the end of a change (its 'to' property\n\t // refers to the pre-change end).\n\t var changeEnd = CodeMirror.changeEnd = function(change) {\n\t if (!change.text) return change.to;\n\t return Pos(change.from.line + change.text.length - 1,\n\t lst(change.text).length + (change.text.length == 1 ? change.from.ch : 0));\n\t };\n\t\n\t // Adjust a position to refer to the post-change position of the\n\t // same text, or the end of the change if the change covers it.\n\t function adjustForChange(pos, change) {\n\t if (cmp(pos, change.from) < 0) return pos;\n\t if (cmp(pos, change.to) <= 0) return changeEnd(change);\n\t\n\t var line = pos.line + change.text.length - (change.to.line - change.from.line) - 1, ch = pos.ch;\n\t if (pos.line == change.to.line) ch += changeEnd(change).ch - change.to.ch;\n\t return Pos(line, ch);\n\t }\n\t\n\t function computeSelAfterChange(doc, change) {\n\t var out = [];\n\t for (var i = 0; i < doc.sel.ranges.length; i++) {\n\t var range = doc.sel.ranges[i];\n\t out.push(new Range(adjustForChange(range.anchor, change),\n\t adjustForChange(range.head, change)));\n\t }\n\t return normalizeSelection(out, doc.sel.primIndex);\n\t }\n\t\n\t function offsetPos(pos, old, nw) {\n\t if (pos.line == old.line)\n\t return Pos(nw.line, pos.ch - old.ch + nw.ch);\n\t else\n\t return Pos(nw.line + (pos.line - old.line), pos.ch);\n\t }\n\t\n\t // Used by replaceSelections to allow moving the selection to the\n\t // start or around the replaced test. Hint may be \"start\" or \"around\".\n\t function computeReplacedSel(doc, changes, hint) {\n\t var out = [];\n\t var oldPrev = Pos(doc.first, 0), newPrev = oldPrev;\n\t for (var i = 0; i < changes.length; i++) {\n\t var change = changes[i];\n\t var from = offsetPos(change.from, oldPrev, newPrev);\n\t var to = offsetPos(changeEnd(change), oldPrev, newPrev);\n\t oldPrev = change.to;\n\t newPrev = to;\n\t if (hint == \"around\") {\n\t var range = doc.sel.ranges[i], inv = cmp(range.head, range.anchor) < 0;\n\t out[i] = new Range(inv ? to : from, inv ? from : to);\n\t } else {\n\t out[i] = new Range(from, from);\n\t }\n\t }\n\t return new Selection(out, doc.sel.primIndex);\n\t }\n\t\n\t // Allow \"beforeChange\" event handlers to influence a change\n\t function filterChange(doc, change, update) {\n\t var obj = {\n\t canceled: false,\n\t from: change.from,\n\t to: change.to,\n\t text: change.text,\n\t origin: change.origin,\n\t cancel: function() { this.canceled = true; }\n\t };\n\t if (update) obj.update = function(from, to, text, origin) {\n\t if (from) this.from = clipPos(doc, from);\n\t if (to) this.to = clipPos(doc, to);\n\t if (text) this.text = text;\n\t if (origin !== undefined) this.origin = origin;\n\t };\n\t signal(doc, \"beforeChange\", doc, obj);\n\t if (doc.cm) signal(doc.cm, \"beforeChange\", doc.cm, obj);\n\t\n\t if (obj.canceled) return null;\n\t return {from: obj.from, to: obj.to, text: obj.text, origin: obj.origin};\n\t }\n\t\n\t // Apply a change to a document, and add it to the document's\n\t // history, and propagating it to all linked documents.\n\t function makeChange(doc, change, ignoreReadOnly) {\n\t if (doc.cm) {\n\t if (!doc.cm.curOp) return operation(doc.cm, makeChange)(doc, change, ignoreReadOnly);\n\t if (doc.cm.state.suppressEdits) return;\n\t }\n\t\n\t if (hasHandler(doc, \"beforeChange\") || doc.cm && hasHandler(doc.cm, \"beforeChange\")) {\n\t change = filterChange(doc, change, true);\n\t if (!change) return;\n\t }\n\t\n\t // Possibly split or suppress the update based on the presence\n\t // of read-only spans in its range.\n\t var split = sawReadOnlySpans && !ignoreReadOnly && removeReadOnlyRanges(doc, change.from, change.to);\n\t if (split) {\n\t for (var i = split.length - 1; i >= 0; --i)\n\t makeChangeInner(doc, {from: split[i].from, to: split[i].to, text: i ? [\"\"] : change.text});\n\t } else {\n\t makeChangeInner(doc, change);\n\t }\n\t }\n\t\n\t function makeChangeInner(doc, change) {\n\t if (change.text.length == 1 && change.text[0] == \"\" && cmp(change.from, change.to) == 0) return;\n\t var selAfter = computeSelAfterChange(doc, change);\n\t addChangeToHistory(doc, change, selAfter, doc.cm ? doc.cm.curOp.id : NaN);\n\t\n\t makeChangeSingleDoc(doc, change, selAfter, stretchSpansOverChange(doc, change));\n\t var rebased = [];\n\t\n\t linkedDocs(doc, function(doc, sharedHist) {\n\t if (!sharedHist && indexOf(rebased, doc.history) == -1) {\n\t rebaseHist(doc.history, change);\n\t rebased.push(doc.history);\n\t }\n\t makeChangeSingleDoc(doc, change, null, stretchSpansOverChange(doc, change));\n\t });\n\t }\n\t\n\t // Revert a change stored in a document's history.\n\t function makeChangeFromHistory(doc, type, allowSelectionOnly) {\n\t if (doc.cm && doc.cm.state.suppressEdits) return;\n\t\n\t var hist = doc.history, event, selAfter = doc.sel;\n\t var source = type == \"undo\" ? hist.done : hist.undone, dest = type == \"undo\" ? hist.undone : hist.done;\n\t\n\t // Verify that there is a useable event (so that ctrl-z won't\n\t // needlessly clear selection events)\n\t for (var i = 0; i < source.length; i++) {\n\t event = source[i];\n\t if (allowSelectionOnly ? event.ranges && !event.equals(doc.sel) : !event.ranges)\n\t break;\n\t }\n\t if (i == source.length) return;\n\t hist.lastOrigin = hist.lastSelOrigin = null;\n\t\n\t for (;;) {\n\t event = source.pop();\n\t if (event.ranges) {\n\t pushSelectionToHistory(event, dest);\n\t if (allowSelectionOnly && !event.equals(doc.sel)) {\n\t setSelection(doc, event, {clearRedo: false});\n\t return;\n\t }\n\t selAfter = event;\n\t }\n\t else break;\n\t }\n\t\n\t // Build up a reverse change object to add to the opposite history\n\t // stack (redo when undoing, and vice versa).\n\t var antiChanges = [];\n\t pushSelectionToHistory(selAfter, dest);\n\t dest.push({changes: antiChanges, generation: hist.generation});\n\t hist.generation = event.generation || ++hist.maxGeneration;\n\t\n\t var filter = hasHandler(doc, \"beforeChange\") || doc.cm && hasHandler(doc.cm, \"beforeChange\");\n\t\n\t for (var i = event.changes.length - 1; i >= 0; --i) {\n\t var change = event.changes[i];\n\t change.origin = type;\n\t if (filter && !filterChange(doc, change, false)) {\n\t source.length = 0;\n\t return;\n\t }\n\t\n\t antiChanges.push(historyChangeFromChange(doc, change));\n\t\n\t var after = i ? computeSelAfterChange(doc, change) : lst(source);\n\t makeChangeSingleDoc(doc, change, after, mergeOldSpans(doc, change));\n\t if (!i && doc.cm) doc.cm.scrollIntoView({from: change.from, to: changeEnd(change)});\n\t var rebased = [];\n\t\n\t // Propagate to the linked documents\n\t linkedDocs(doc, function(doc, sharedHist) {\n\t if (!sharedHist && indexOf(rebased, doc.history) == -1) {\n\t rebaseHist(doc.history, change);\n\t rebased.push(doc.history);\n\t }\n\t makeChangeSingleDoc(doc, change, null, mergeOldSpans(doc, change));\n\t });\n\t }\n\t }\n\t\n\t // Sub-views need their line numbers shifted when text is added\n\t // above or below them in the parent document.\n\t function shiftDoc(doc, distance) {\n\t if (distance == 0) return;\n\t doc.first += distance;\n\t doc.sel = new Selection(map(doc.sel.ranges, function(range) {\n\t return new Range(Pos(range.anchor.line + distance, range.anchor.ch),\n\t Pos(range.head.line + distance, range.head.ch));\n\t }), doc.sel.primIndex);\n\t if (doc.cm) {\n\t regChange(doc.cm, doc.first, doc.first - distance, distance);\n\t for (var d = doc.cm.display, l = d.viewFrom; l < d.viewTo; l++)\n\t regLineChange(doc.cm, l, \"gutter\");\n\t }\n\t }\n\t\n\t // More lower-level change function, handling only a single document\n\t // (not linked ones).\n\t function makeChangeSingleDoc(doc, change, selAfter, spans) {\n\t if (doc.cm && !doc.cm.curOp)\n\t return operation(doc.cm, makeChangeSingleDoc)(doc, change, selAfter, spans);\n\t\n\t if (change.to.line < doc.first) {\n\t shiftDoc(doc, change.text.length - 1 - (change.to.line - change.from.line));\n\t return;\n\t }\n\t if (change.from.line > doc.lastLine()) return;\n\t\n\t // Clip the change to the size of this doc\n\t if (change.from.line < doc.first) {\n\t var shift = change.text.length - 1 - (doc.first - change.from.line);\n\t shiftDoc(doc, shift);\n\t change = {from: Pos(doc.first, 0), to: Pos(change.to.line + shift, change.to.ch),\n\t text: [lst(change.text)], origin: change.origin};\n\t }\n\t var last = doc.lastLine();\n\t if (change.to.line > last) {\n\t change = {from: change.from, to: Pos(last, getLine(doc, last).text.length),\n\t text: [change.text[0]], origin: change.origin};\n\t }\n\t\n\t change.removed = getBetween(doc, change.from, change.to);\n\t\n\t if (!selAfter) selAfter = computeSelAfterChange(doc, change);\n\t if (doc.cm) makeChangeSingleDocInEditor(doc.cm, change, spans);\n\t else updateDoc(doc, change, spans);\n\t setSelectionNoUndo(doc, selAfter, sel_dontScroll);\n\t }\n\t\n\t // Handle the interaction of a change to a document with the editor\n\t // that this document is part of.\n\t function makeChangeSingleDocInEditor(cm, change, spans) {\n\t var doc = cm.doc, display = cm.display, from = change.from, to = change.to;\n\t\n\t var recomputeMaxLength = false, checkWidthStart = from.line;\n\t if (!cm.options.lineWrapping) {\n\t checkWidthStart = lineNo(visualLine(getLine(doc, from.line)));\n\t doc.iter(checkWidthStart, to.line + 1, function(line) {\n\t if (line == display.maxLine) {\n\t recomputeMaxLength = true;\n\t return true;\n\t }\n\t });\n\t }\n\t\n\t if (doc.sel.contains(change.from, change.to) > -1)\n\t signalCursorActivity(cm);\n\t\n\t updateDoc(doc, change, spans, estimateHeight(cm));\n\t\n\t if (!cm.options.lineWrapping) {\n\t doc.iter(checkWidthStart, from.line + change.text.length, function(line) {\n\t var len = lineLength(line);\n\t if (len > display.maxLineLength) {\n\t display.maxLine = line;\n\t display.maxLineLength = len;\n\t display.maxLineChanged = true;\n\t recomputeMaxLength = false;\n\t }\n\t });\n\t if (recomputeMaxLength) cm.curOp.updateMaxLine = true;\n\t }\n\t\n\t // Adjust frontier, schedule worker\n\t doc.frontier = Math.min(doc.frontier, from.line);\n\t startWorker(cm, 400);\n\t\n\t var lendiff = change.text.length - (to.line - from.line) - 1;\n\t // Remember that these lines changed, for updating the display\n\t if (change.full)\n\t regChange(cm);\n\t else if (from.line == to.line && change.text.length == 1 && !isWholeLineUpdate(cm.doc, change))\n\t regLineChange(cm, from.line, \"text\");\n\t else\n\t regChange(cm, from.line, to.line + 1, lendiff);\n\t\n\t var changesHandler = hasHandler(cm, \"changes\"), changeHandler = hasHandler(cm, \"change\");\n\t if (changeHandler || changesHandler) {\n\t var obj = {\n\t from: from, to: to,\n\t text: change.text,\n\t removed: change.removed,\n\t origin: change.origin\n\t };\n\t if (changeHandler) signalLater(cm, \"change\", cm, obj);\n\t if (changesHandler) (cm.curOp.changeObjs || (cm.curOp.changeObjs = [])).push(obj);\n\t }\n\t cm.display.selForContextMenu = null;\n\t }\n\t\n\t function replaceRange(doc, code, from, to, origin) {\n\t if (!to) to = from;\n\t if (cmp(to, from) < 0) { var tmp = to; to = from; from = tmp; }\n\t if (typeof code == \"string\") code = doc.splitLines(code);\n\t makeChange(doc, {from: from, to: to, text: code, origin: origin});\n\t }\n\t\n\t // SCROLLING THINGS INTO VIEW\n\t\n\t // If an editor sits on the top or bottom of the window, partially\n\t // scrolled out of view, this ensures that the cursor is visible.\n\t function maybeScrollWindow(cm, coords) {\n\t if (signalDOMEvent(cm, \"scrollCursorIntoView\")) return;\n\t\n\t var display = cm.display, box = display.sizer.getBoundingClientRect(), doScroll = null;\n\t if (coords.top + box.top < 0) doScroll = true;\n\t else if (coords.bottom + box.top > (window.innerHeight || document.documentElement.clientHeight)) doScroll = false;\n\t if (doScroll != null && !phantom) {\n\t var scrollNode = elt(\"div\", \"\\u200b\", null, \"position: absolute; top: \" +\n\t (coords.top - display.viewOffset - paddingTop(cm.display)) + \"px; height: \" +\n\t (coords.bottom - coords.top + scrollGap(cm) + display.barHeight) + \"px; left: \" +\n\t coords.left + \"px; width: 2px;\");\n\t cm.display.lineSpace.appendChild(scrollNode);\n\t scrollNode.scrollIntoView(doScroll);\n\t cm.display.lineSpace.removeChild(scrollNode);\n\t }\n\t }\n\t\n\t // Scroll a given position into view (immediately), verifying that\n\t // it actually became visible (as line heights are accurately\n\t // measured, the position of something may 'drift' during drawing).\n\t function scrollPosIntoView(cm, pos, end, margin) {\n\t if (margin == null) margin = 0;\n\t for (var limit = 0; limit < 5; limit++) {\n\t var changed = false, coords = cursorCoords(cm, pos);\n\t var endCoords = !end || end == pos ? coords : cursorCoords(cm, end);\n\t var scrollPos = calculateScrollPos(cm, Math.min(coords.left, endCoords.left),\n\t Math.min(coords.top, endCoords.top) - margin,\n\t Math.max(coords.left, endCoords.left),\n\t Math.max(coords.bottom, endCoords.bottom) + margin);\n\t var startTop = cm.doc.scrollTop, startLeft = cm.doc.scrollLeft;\n\t if (scrollPos.scrollTop != null) {\n\t setScrollTop(cm, scrollPos.scrollTop);\n\t if (Math.abs(cm.doc.scrollTop - startTop) > 1) changed = true;\n\t }\n\t if (scrollPos.scrollLeft != null) {\n\t setScrollLeft(cm, scrollPos.scrollLeft);\n\t if (Math.abs(cm.doc.scrollLeft - startLeft) > 1) changed = true;\n\t }\n\t if (!changed) break;\n\t }\n\t return coords;\n\t }\n\t\n\t // Scroll a given set of coordinates into view (immediately).\n\t function scrollIntoView(cm, x1, y1, x2, y2) {\n\t var scrollPos = calculateScrollPos(cm, x1, y1, x2, y2);\n\t if (scrollPos.scrollTop != null) setScrollTop(cm, scrollPos.scrollTop);\n\t if (scrollPos.scrollLeft != null) setScrollLeft(cm, scrollPos.scrollLeft);\n\t }\n\t\n\t // Calculate a new scroll position needed to scroll the given\n\t // rectangle into view. Returns an object with scrollTop and\n\t // scrollLeft properties. When these are undefined, the\n\t // vertical/horizontal position does not need to be adjusted.\n\t function calculateScrollPos(cm, x1, y1, x2, y2) {\n\t var display = cm.display, snapMargin = textHeight(cm.display);\n\t if (y1 < 0) y1 = 0;\n\t var screentop = cm.curOp && cm.curOp.scrollTop != null ? cm.curOp.scrollTop : display.scroller.scrollTop;\n\t var screen = displayHeight(cm), result = {};\n\t if (y2 - y1 > screen) y2 = y1 + screen;\n\t var docBottom = cm.doc.height + paddingVert(display);\n\t var atTop = y1 < snapMargin, atBottom = y2 > docBottom - snapMargin;\n\t if (y1 < screentop) {\n\t result.scrollTop = atTop ? 0 : y1;\n\t } else if (y2 > screentop + screen) {\n\t var newTop = Math.min(y1, (atBottom ? docBottom : y2) - screen);\n\t if (newTop != screentop) result.scrollTop = newTop;\n\t }\n\t\n\t var screenleft = cm.curOp && cm.curOp.scrollLeft != null ? cm.curOp.scrollLeft : display.scroller.scrollLeft;\n\t var screenw = displayWidth(cm) - (cm.options.fixedGutter ? display.gutters.offsetWidth : 0);\n\t var tooWide = x2 - x1 > screenw;\n\t if (tooWide) x2 = x1 + screenw;\n\t if (x1 < 10)\n\t result.scrollLeft = 0;\n\t else if (x1 < screenleft)\n\t result.scrollLeft = Math.max(0, x1 - (tooWide ? 0 : 10));\n\t else if (x2 > screenw + screenleft - 3)\n\t result.scrollLeft = x2 + (tooWide ? 0 : 10) - screenw;\n\t return result;\n\t }\n\t\n\t // Store a relative adjustment to the scroll position in the current\n\t // operation (to be applied when the operation finishes).\n\t function addToScrollPos(cm, left, top) {\n\t if (left != null || top != null) resolveScrollToPos(cm);\n\t if (left != null)\n\t cm.curOp.scrollLeft = (cm.curOp.scrollLeft == null ? cm.doc.scrollLeft : cm.curOp.scrollLeft) + left;\n\t if (top != null)\n\t cm.curOp.scrollTop = (cm.curOp.scrollTop == null ? cm.doc.scrollTop : cm.curOp.scrollTop) + top;\n\t }\n\t\n\t // Make sure that at the end of the operation the current cursor is\n\t // shown.\n\t function ensureCursorVisible(cm) {\n\t resolveScrollToPos(cm);\n\t var cur = cm.getCursor(), from = cur, to = cur;\n\t if (!cm.options.lineWrapping) {\n\t from = cur.ch ? Pos(cur.line, cur.ch - 1) : cur;\n\t to = Pos(cur.line, cur.ch + 1);\n\t }\n\t cm.curOp.scrollToPos = {from: from, to: to, margin: cm.options.cursorScrollMargin, isCursor: true};\n\t }\n\t\n\t // When an operation has its scrollToPos property set, and another\n\t // scroll action is applied before the end of the operation, this\n\t // 'simulates' scrolling that position into view in a cheap way, so\n\t // that the effect of intermediate scroll commands is not ignored.\n\t function resolveScrollToPos(cm) {\n\t var range = cm.curOp.scrollToPos;\n\t if (range) {\n\t cm.curOp.scrollToPos = null;\n\t var from = estimateCoords(cm, range.from), to = estimateCoords(cm, range.to);\n\t var sPos = calculateScrollPos(cm, Math.min(from.left, to.left),\n\t Math.min(from.top, to.top) - range.margin,\n\t Math.max(from.right, to.right),\n\t Math.max(from.bottom, to.bottom) + range.margin);\n\t cm.scrollTo(sPos.scrollLeft, sPos.scrollTop);\n\t }\n\t }\n\t\n\t // API UTILITIES\n\t\n\t // Indent the given line. The how parameter can be \"smart\",\n\t // \"add\"/null, \"subtract\", or \"prev\". When aggressive is false\n\t // (typically set to true for forced single-line indents), empty\n\t // lines are not indented, and places where the mode returns Pass\n\t // are left alone.\n\t function indentLine(cm, n, how, aggressive) {\n\t var doc = cm.doc, state;\n\t if (how == null) how = \"add\";\n\t if (how == \"smart\") {\n\t // Fall back to \"prev\" when the mode doesn't have an indentation\n\t // method.\n\t if (!doc.mode.indent) how = \"prev\";\n\t else state = getStateBefore(cm, n);\n\t }\n\t\n\t var tabSize = cm.options.tabSize;\n\t var line = getLine(doc, n), curSpace = countColumn(line.text, null, tabSize);\n\t if (line.stateAfter) line.stateAfter = null;\n\t var curSpaceString = line.text.match(/^\\s*/)[0], indentation;\n\t if (!aggressive && !/\\S/.test(line.text)) {\n\t indentation = 0;\n\t how = \"not\";\n\t } else if (how == \"smart\") {\n\t indentation = doc.mode.indent(state, line.text.slice(curSpaceString.length), line.text);\n\t if (indentation == Pass || indentation > 150) {\n\t if (!aggressive) return;\n\t how = \"prev\";\n\t }\n\t }\n\t if (how == \"prev\") {\n\t if (n > doc.first) indentation = countColumn(getLine(doc, n-1).text, null, tabSize);\n\t else indentation = 0;\n\t } else if (how == \"add\") {\n\t indentation = curSpace + cm.options.indentUnit;\n\t } else if (how == \"subtract\") {\n\t indentation = curSpace - cm.options.indentUnit;\n\t } else if (typeof how == \"number\") {\n\t indentation = curSpace + how;\n\t }\n\t indentation = Math.max(0, indentation);\n\t\n\t var indentString = \"\", pos = 0;\n\t if (cm.options.indentWithTabs)\n\t for (var i = Math.floor(indentation / tabSize); i; --i) {pos += tabSize; indentString += \"\\t\";}\n\t if (pos < indentation) indentString += spaceStr(indentation - pos);\n\t\n\t if (indentString != curSpaceString) {\n\t replaceRange(doc, indentString, Pos(n, 0), Pos(n, curSpaceString.length), \"+input\");\n\t line.stateAfter = null;\n\t return true;\n\t } else {\n\t // Ensure that, if the cursor was in the whitespace at the start\n\t // of the line, it is moved to the end of that space.\n\t for (var i = 0; i < doc.sel.ranges.length; i++) {\n\t var range = doc.sel.ranges[i];\n\t if (range.head.line == n && range.head.ch < curSpaceString.length) {\n\t var pos = Pos(n, curSpaceString.length);\n\t replaceOneSelection(doc, i, new Range(pos, pos));\n\t break;\n\t }\n\t }\n\t }\n\t }\n\t\n\t // Utility for applying a change to a line by handle or number,\n\t // returning the number and optionally registering the line as\n\t // changed.\n\t function changeLine(doc, handle, changeType, op) {\n\t var no = handle, line = handle;\n\t if (typeof handle == \"number\") line = getLine(doc, clipLine(doc, handle));\n\t else no = lineNo(handle);\n\t if (no == null) return null;\n\t if (op(line, no) && doc.cm) regLineChange(doc.cm, no, changeType);\n\t return line;\n\t }\n\t\n\t // Helper for deleting text near the selection(s), used to implement\n\t // backspace, delete, and similar functionality.\n\t function deleteNearSelection(cm, compute) {\n\t var ranges = cm.doc.sel.ranges, kill = [];\n\t // Build up a set of ranges to kill first, merging overlapping\n\t // ranges.\n\t for (var i = 0; i < ranges.length; i++) {\n\t var toKill = compute(ranges[i]);\n\t while (kill.length && cmp(toKill.from, lst(kill).to) <= 0) {\n\t var replaced = kill.pop();\n\t if (cmp(replaced.from, toKill.from) < 0) {\n\t toKill.from = replaced.from;\n\t break;\n\t }\n\t }\n\t kill.push(toKill);\n\t }\n\t // Next, remove those actual ranges.\n\t runInOp(cm, function() {\n\t for (var i = kill.length - 1; i >= 0; i--)\n\t replaceRange(cm.doc, \"\", kill[i].from, kill[i].to, \"+delete\");\n\t ensureCursorVisible(cm);\n\t });\n\t }\n\t\n\t // Used for horizontal relative motion. Dir is -1 or 1 (left or\n\t // right), unit can be \"char\", \"column\" (like char, but doesn't\n\t // cross line boundaries), \"word\" (across next word), or \"group\" (to\n\t // the start of next group of word or non-word-non-whitespace\n\t // chars). The visually param controls whether, in right-to-left\n\t // text, direction 1 means to move towards the next index in the\n\t // string, or towards the character to the right of the current\n\t // position. The resulting position will have a hitSide=true\n\t // property if it reached the end of the document.\n\t function findPosH(doc, pos, dir, unit, visually) {\n\t var line = pos.line, ch = pos.ch, origDir = dir;\n\t var lineObj = getLine(doc, line);\n\t var possible = true;\n\t function findNextLine() {\n\t var l = line + dir;\n\t if (l < doc.first || l >= doc.first + doc.size) return (possible = false);\n\t line = l;\n\t return lineObj = getLine(doc, l);\n\t }\n\t function moveOnce(boundToLine) {\n\t var next = (visually ? moveVisually : moveLogically)(lineObj, ch, dir, true);\n\t if (next == null) {\n\t if (!boundToLine && findNextLine()) {\n\t if (visually) ch = (dir < 0 ? lineRight : lineLeft)(lineObj);\n\t else ch = dir < 0 ? lineObj.text.length : 0;\n\t } else return (possible = false);\n\t } else ch = next;\n\t return true;\n\t }\n\t\n\t if (unit == \"char\") moveOnce();\n\t else if (unit == \"column\") moveOnce(true);\n\t else if (unit == \"word\" || unit == \"group\") {\n\t var sawType = null, group = unit == \"group\";\n\t var helper = doc.cm && doc.cm.getHelper(pos, \"wordChars\");\n\t for (var first = true;; first = false) {\n\t if (dir < 0 && !moveOnce(!first)) break;\n\t var cur = lineObj.text.charAt(ch) || \"\\n\";\n\t var type = isWordChar(cur, helper) ? \"w\"\n\t : group && cur == \"\\n\" ? \"n\"\n\t : !group || /\\s/.test(cur) ? null\n\t : \"p\";\n\t if (group && !first && !type) type = \"s\";\n\t if (sawType && sawType != type) {\n\t if (dir < 0) {dir = 1; moveOnce();}\n\t break;\n\t }\n\t\n\t if (type) sawType = type;\n\t if (dir > 0 && !moveOnce(!first)) break;\n\t }\n\t }\n\t var result = skipAtomic(doc, Pos(line, ch), origDir, true);\n\t if (!possible) result.hitSide = true;\n\t return result;\n\t }\n\t\n\t // For relative vertical movement. Dir may be -1 or 1. Unit can be\n\t // \"page\" or \"line\". The resulting position will have a hitSide=true\n\t // property if it reached the end of the document.\n\t function findPosV(cm, pos, dir, unit) {\n\t var doc = cm.doc, x = pos.left, y;\n\t if (unit == \"page\") {\n\t var pageSize = Math.min(cm.display.wrapper.clientHeight, window.innerHeight || document.documentElement.clientHeight);\n\t y = pos.top + dir * (pageSize - (dir < 0 ? 1.5 : .5) * textHeight(cm.display));\n\t } else if (unit == \"line\") {\n\t y = dir > 0 ? pos.bottom + 3 : pos.top - 3;\n\t }\n\t for (;;) {\n\t var target = coordsChar(cm, x, y);\n\t if (!target.outside) break;\n\t if (dir < 0 ? y <= 0 : y >= doc.height) { target.hitSide = true; break; }\n\t y += dir * 5;\n\t }\n\t return target;\n\t }\n\t\n\t // EDITOR METHODS\n\t\n\t // The publicly visible API. Note that methodOp(f) means\n\t // 'wrap f in an operation, performed on its `this` parameter'.\n\t\n\t // This is not the complete set of editor methods. Most of the\n\t // methods defined on the Doc type are also injected into\n\t // CodeMirror.prototype, for backwards compatibility and\n\t // convenience.\n\t\n\t CodeMirror.prototype = {\n\t constructor: CodeMirror,\n\t focus: function(){window.focus(); this.display.input.focus();},\n\t\n\t setOption: function(option, value) {\n\t var options = this.options, old = options[option];\n\t if (options[option] == value && option != \"mode\") return;\n\t options[option] = value;\n\t if (optionHandlers.hasOwnProperty(option))\n\t operation(this, optionHandlers[option])(this, value, old);\n\t },\n\t\n\t getOption: function(option) {return this.options[option];},\n\t getDoc: function() {return this.doc;},\n\t\n\t addKeyMap: function(map, bottom) {\n\t this.state.keyMaps[bottom ? \"push\" : \"unshift\"](getKeyMap(map));\n\t },\n\t removeKeyMap: function(map) {\n\t var maps = this.state.keyMaps;\n\t for (var i = 0; i < maps.length; ++i)\n\t if (maps[i] == map || maps[i].name == map) {\n\t maps.splice(i, 1);\n\t return true;\n\t }\n\t },\n\t\n\t addOverlay: methodOp(function(spec, options) {\n\t var mode = spec.token ? spec : CodeMirror.getMode(this.options, spec);\n\t if (mode.startState) throw new Error(\"Overlays may not be stateful.\");\n\t this.state.overlays.push({mode: mode, modeSpec: spec, opaque: options && options.opaque});\n\t this.state.modeGen++;\n\t regChange(this);\n\t }),\n\t removeOverlay: methodOp(function(spec) {\n\t var overlays = this.state.overlays;\n\t for (var i = 0; i < overlays.length; ++i) {\n\t var cur = overlays[i].modeSpec;\n\t if (cur == spec || typeof spec == \"string\" && cur.name == spec) {\n\t overlays.splice(i, 1);\n\t this.state.modeGen++;\n\t regChange(this);\n\t return;\n\t }\n\t }\n\t }),\n\t\n\t indentLine: methodOp(function(n, dir, aggressive) {\n\t if (typeof dir != \"string\" && typeof dir != \"number\") {\n\t if (dir == null) dir = this.options.smartIndent ? \"smart\" : \"prev\";\n\t else dir = dir ? \"add\" : \"subtract\";\n\t }\n\t if (isLine(this.doc, n)) indentLine(this, n, dir, aggressive);\n\t }),\n\t indentSelection: methodOp(function(how) {\n\t var ranges = this.doc.sel.ranges, end = -1;\n\t for (var i = 0; i < ranges.length; i++) {\n\t var range = ranges[i];\n\t if (!range.empty()) {\n\t var from = range.from(), to = range.to();\n\t var start = Math.max(end, from.line);\n\t end = Math.min(this.lastLine(), to.line - (to.ch ? 0 : 1)) + 1;\n\t for (var j = start; j < end; ++j)\n\t indentLine(this, j, how);\n\t var newRanges = this.doc.sel.ranges;\n\t if (from.ch == 0 && ranges.length == newRanges.length && newRanges[i].from().ch > 0)\n\t replaceOneSelection(this.doc, i, new Range(from, newRanges[i].to()), sel_dontScroll);\n\t } else if (range.head.line > end) {\n\t indentLine(this, range.head.line, how, true);\n\t end = range.head.line;\n\t if (i == this.doc.sel.primIndex) ensureCursorVisible(this);\n\t }\n\t }\n\t }),\n\t\n\t // Fetch the parser token for a given character. Useful for hacks\n\t // that want to inspect the mode state (say, for completion).\n\t getTokenAt: function(pos, precise) {\n\t return takeToken(this, pos, precise);\n\t },\n\t\n\t getLineTokens: function(line, precise) {\n\t return takeToken(this, Pos(line), precise, true);\n\t },\n\t\n\t getTokenTypeAt: function(pos) {\n\t pos = clipPos(this.doc, pos);\n\t var styles = getLineStyles(this, getLine(this.doc, pos.line));\n\t var before = 0, after = (styles.length - 1) / 2, ch = pos.ch;\n\t var type;\n\t if (ch == 0) type = styles[2];\n\t else for (;;) {\n\t var mid = (before + after) >> 1;\n\t if ((mid ? styles[mid * 2 - 1] : 0) >= ch) after = mid;\n\t else if (styles[mid * 2 + 1] < ch) before = mid + 1;\n\t else { type = styles[mid * 2 + 2]; break; }\n\t }\n\t var cut = type ? type.indexOf(\"cm-overlay \") : -1;\n\t return cut < 0 ? type : cut == 0 ? null : type.slice(0, cut - 1);\n\t },\n\t\n\t getModeAt: function(pos) {\n\t var mode = this.doc.mode;\n\t if (!mode.innerMode) return mode;\n\t return CodeMirror.innerMode(mode, this.getTokenAt(pos).state).mode;\n\t },\n\t\n\t getHelper: function(pos, type) {\n\t return this.getHelpers(pos, type)[0];\n\t },\n\t\n\t getHelpers: function(pos, type) {\n\t var found = [];\n\t if (!helpers.hasOwnProperty(type)) return found;\n\t var help = helpers[type], mode = this.getModeAt(pos);\n\t if (typeof mode[type] == \"string\") {\n\t if (help[mode[type]]) found.push(help[mode[type]]);\n\t } else if (mode[type]) {\n\t for (var i = 0; i < mode[type].length; i++) {\n\t var val = help[mode[type][i]];\n\t if (val) found.push(val);\n\t }\n\t } else if (mode.helperType && help[mode.helperType]) {\n\t found.push(help[mode.helperType]);\n\t } else if (help[mode.name]) {\n\t found.push(help[mode.name]);\n\t }\n\t for (var i = 0; i < help._global.length; i++) {\n\t var cur = help._global[i];\n\t if (cur.pred(mode, this) && indexOf(found, cur.val) == -1)\n\t found.push(cur.val);\n\t }\n\t return found;\n\t },\n\t\n\t getStateAfter: function(line, precise) {\n\t var doc = this.doc;\n\t line = clipLine(doc, line == null ? doc.first + doc.size - 1: line);\n\t return getStateBefore(this, line + 1, precise);\n\t },\n\t\n\t cursorCoords: function(start, mode) {\n\t var pos, range = this.doc.sel.primary();\n\t if (start == null) pos = range.head;\n\t else if (typeof start == \"object\") pos = clipPos(this.doc, start);\n\t else pos = start ? range.from() : range.to();\n\t return cursorCoords(this, pos, mode || \"page\");\n\t },\n\t\n\t charCoords: function(pos, mode) {\n\t return charCoords(this, clipPos(this.doc, pos), mode || \"page\");\n\t },\n\t\n\t coordsChar: function(coords, mode) {\n\t coords = fromCoordSystem(this, coords, mode || \"page\");\n\t return coordsChar(this, coords.left, coords.top);\n\t },\n\t\n\t lineAtHeight: function(height, mode) {\n\t height = fromCoordSystem(this, {top: height, left: 0}, mode || \"page\").top;\n\t return lineAtHeight(this.doc, height + this.display.viewOffset);\n\t },\n\t heightAtLine: function(line, mode) {\n\t var end = false, lineObj;\n\t if (typeof line == \"number\") {\n\t var last = this.doc.first + this.doc.size - 1;\n\t if (line < this.doc.first) line = this.doc.first;\n\t else if (line > last) { line = last; end = true; }\n\t lineObj = getLine(this.doc, line);\n\t } else {\n\t lineObj = line;\n\t }\n\t return intoCoordSystem(this, lineObj, {top: 0, left: 0}, mode || \"page\").top +\n\t (end ? this.doc.height - heightAtLine(lineObj) : 0);\n\t },\n\t\n\t defaultTextHeight: function() { return textHeight(this.display); },\n\t defaultCharWidth: function() { return charWidth(this.display); },\n\t\n\t setGutterMarker: methodOp(function(line, gutterID, value) {\n\t return changeLine(this.doc, line, \"gutter\", function(line) {\n\t var markers = line.gutterMarkers || (line.gutterMarkers = {});\n\t markers[gutterID] = value;\n\t if (!value && isEmpty(markers)) line.gutterMarkers = null;\n\t return true;\n\t });\n\t }),\n\t\n\t clearGutter: methodOp(function(gutterID) {\n\t var cm = this, doc = cm.doc, i = doc.first;\n\t doc.iter(function(line) {\n\t if (line.gutterMarkers && line.gutterMarkers[gutterID]) {\n\t line.gutterMarkers[gutterID] = null;\n\t regLineChange(cm, i, \"gutter\");\n\t if (isEmpty(line.gutterMarkers)) line.gutterMarkers = null;\n\t }\n\t ++i;\n\t });\n\t }),\n\t\n\t lineInfo: function(line) {\n\t if (typeof line == \"number\") {\n\t if (!isLine(this.doc, line)) return null;\n\t var n = line;\n\t line = getLine(this.doc, line);\n\t if (!line) return null;\n\t } else {\n\t var n = lineNo(line);\n\t if (n == null) return null;\n\t }\n\t return {line: n, handle: line, text: line.text, gutterMarkers: line.gutterMarkers,\n\t textClass: line.textClass, bgClass: line.bgClass, wrapClass: line.wrapClass,\n\t widgets: line.widgets};\n\t },\n\t\n\t getViewport: function() { return {from: this.display.viewFrom, to: this.display.viewTo};},\n\t\n\t addWidget: function(pos, node, scroll, vert, horiz) {\n\t var display = this.display;\n\t pos = cursorCoords(this, clipPos(this.doc, pos));\n\t var top = pos.bottom, left = pos.left;\n\t node.style.position = \"absolute\";\n\t node.setAttribute(\"cm-ignore-events\", \"true\");\n\t this.display.input.setUneditable(node);\n\t display.sizer.appendChild(node);\n\t if (vert == \"over\") {\n\t top = pos.top;\n\t } else if (vert == \"above\" || vert == \"near\") {\n\t var vspace = Math.max(display.wrapper.clientHeight, this.doc.height),\n\t hspace = Math.max(display.sizer.clientWidth, display.lineSpace.clientWidth);\n\t // Default to positioning above (if specified and possible); otherwise default to positioning below\n\t if ((vert == 'above' || pos.bottom + node.offsetHeight > vspace) && pos.top > node.offsetHeight)\n\t top = pos.top - node.offsetHeight;\n\t else if (pos.bottom + node.offsetHeight <= vspace)\n\t top = pos.bottom;\n\t if (left + node.offsetWidth > hspace)\n\t left = hspace - node.offsetWidth;\n\t }\n\t node.style.top = top + \"px\";\n\t node.style.left = node.style.right = \"\";\n\t if (horiz == \"right\") {\n\t left = display.sizer.clientWidth - node.offsetWidth;\n\t node.style.right = \"0px\";\n\t } else {\n\t if (horiz == \"left\") left = 0;\n\t else if (horiz == \"middle\") left = (display.sizer.clientWidth - node.offsetWidth) / 2;\n\t node.style.left = left + \"px\";\n\t }\n\t if (scroll)\n\t scrollIntoView(this, left, top, left + node.offsetWidth, top + node.offsetHeight);\n\t },\n\t\n\t triggerOnKeyDown: methodOp(onKeyDown),\n\t triggerOnKeyPress: methodOp(onKeyPress),\n\t triggerOnKeyUp: onKeyUp,\n\t\n\t execCommand: function(cmd) {\n\t if (commands.hasOwnProperty(cmd))\n\t return commands[cmd](this);\n\t },\n\t\n\t triggerElectric: methodOp(function(text) { triggerElectric(this, text); }),\n\t\n\t findPosH: function(from, amount, unit, visually) {\n\t var dir = 1;\n\t if (amount < 0) { dir = -1; amount = -amount; }\n\t for (var i = 0, cur = clipPos(this.doc, from); i < amount; ++i) {\n\t cur = findPosH(this.doc, cur, dir, unit, visually);\n\t if (cur.hitSide) break;\n\t }\n\t return cur;\n\t },\n\t\n\t moveH: methodOp(function(dir, unit) {\n\t var cm = this;\n\t cm.extendSelectionsBy(function(range) {\n\t if (cm.display.shift || cm.doc.extend || range.empty())\n\t return findPosH(cm.doc, range.head, dir, unit, cm.options.rtlMoveVisually);\n\t else\n\t return dir < 0 ? range.from() : range.to();\n\t }, sel_move);\n\t }),\n\t\n\t deleteH: methodOp(function(dir, unit) {\n\t var sel = this.doc.sel, doc = this.doc;\n\t if (sel.somethingSelected())\n\t doc.replaceSelection(\"\", null, \"+delete\");\n\t else\n\t deleteNearSelection(this, function(range) {\n\t var other = findPosH(doc, range.head, dir, unit, false);\n\t return dir < 0 ? {from: other, to: range.head} : {from: range.head, to: other};\n\t });\n\t }),\n\t\n\t findPosV: function(from, amount, unit, goalColumn) {\n\t var dir = 1, x = goalColumn;\n\t if (amount < 0) { dir = -1; amount = -amount; }\n\t for (var i = 0, cur = clipPos(this.doc, from); i < amount; ++i) {\n\t var coords = cursorCoords(this, cur, \"div\");\n\t if (x == null) x = coords.left;\n\t else coords.left = x;\n\t cur = findPosV(this, coords, dir, unit);\n\t if (cur.hitSide) break;\n\t }\n\t return cur;\n\t },\n\t\n\t moveV: methodOp(function(dir, unit) {\n\t var cm = this, doc = this.doc, goals = [];\n\t var collapse = !cm.display.shift && !doc.extend && doc.sel.somethingSelected();\n\t doc.extendSelectionsBy(function(range) {\n\t if (collapse)\n\t return dir < 0 ? range.from() : range.to();\n\t var headPos = cursorCoords(cm, range.head, \"div\");\n\t if (range.goalColumn != null) headPos.left = range.goalColumn;\n\t goals.push(headPos.left);\n\t var pos = findPosV(cm, headPos, dir, unit);\n\t if (unit == \"page\" && range == doc.sel.primary())\n\t addToScrollPos(cm, null, charCoords(cm, pos, \"div\").top - headPos.top);\n\t return pos;\n\t }, sel_move);\n\t if (goals.length) for (var i = 0; i < doc.sel.ranges.length; i++)\n\t doc.sel.ranges[i].goalColumn = goals[i];\n\t }),\n\t\n\t // Find the word at the given position (as returned by coordsChar).\n\t findWordAt: function(pos) {\n\t var doc = this.doc, line = getLine(doc, pos.line).text;\n\t var start = pos.ch, end = pos.ch;\n\t if (line) {\n\t var helper = this.getHelper(pos, \"wordChars\");\n\t if ((pos.xRel < 0 || end == line.length) && start) --start; else ++end;\n\t var startChar = line.charAt(start);\n\t var check = isWordChar(startChar, helper)\n\t ? function(ch) { return isWordChar(ch, helper); }\n\t : /\\s/.test(startChar) ? function(ch) {return /\\s/.test(ch);}\n\t : function(ch) {return !/\\s/.test(ch) && !isWordChar(ch);};\n\t while (start > 0 && check(line.charAt(start - 1))) --start;\n\t while (end < line.length && check(line.charAt(end))) ++end;\n\t }\n\t return new Range(Pos(pos.line, start), Pos(pos.line, end));\n\t },\n\t\n\t toggleOverwrite: function(value) {\n\t if (value != null && value == this.state.overwrite) return;\n\t if (this.state.overwrite = !this.state.overwrite)\n\t addClass(this.display.cursorDiv, \"CodeMirror-overwrite\");\n\t else\n\t rmClass(this.display.cursorDiv, \"CodeMirror-overwrite\");\n\t\n\t signal(this, \"overwriteToggle\", this, this.state.overwrite);\n\t },\n\t hasFocus: function() { return this.display.input.getField() == activeElt(); },\n\t\n\t scrollTo: methodOp(function(x, y) {\n\t if (x != null || y != null) resolveScrollToPos(this);\n\t if (x != null) this.curOp.scrollLeft = x;\n\t if (y != null) this.curOp.scrollTop = y;\n\t }),\n\t getScrollInfo: function() {\n\t var scroller = this.display.scroller;\n\t return {left: scroller.scrollLeft, top: scroller.scrollTop,\n\t height: scroller.scrollHeight - scrollGap(this) - this.display.barHeight,\n\t width: scroller.scrollWidth - scrollGap(this) - this.display.barWidth,\n\t clientHeight: displayHeight(this), clientWidth: displayWidth(this)};\n\t },\n\t\n\t scrollIntoView: methodOp(function(range, margin) {\n\t if (range == null) {\n\t range = {from: this.doc.sel.primary().head, to: null};\n\t if (margin == null) margin = this.options.cursorScrollMargin;\n\t } else if (typeof range == \"number\") {\n\t range = {from: Pos(range, 0), to: null};\n\t } else if (range.from == null) {\n\t range = {from: range, to: null};\n\t }\n\t if (!range.to) range.to = range.from;\n\t range.margin = margin || 0;\n\t\n\t if (range.from.line != null) {\n\t resolveScrollToPos(this);\n\t this.curOp.scrollToPos = range;\n\t } else {\n\t var sPos = calculateScrollPos(this, Math.min(range.from.left, range.to.left),\n\t Math.min(range.from.top, range.to.top) - range.margin,\n\t Math.max(range.from.right, range.to.right),\n\t Math.max(range.from.bottom, range.to.bottom) + range.margin);\n\t this.scrollTo(sPos.scrollLeft, sPos.scrollTop);\n\t }\n\t }),\n\t\n\t setSize: methodOp(function(width, height) {\n\t var cm = this;\n\t function interpret(val) {\n\t return typeof val == \"number\" || /^\\d+$/.test(String(val)) ? val + \"px\" : val;\n\t }\n\t if (width != null) cm.display.wrapper.style.width = interpret(width);\n\t if (height != null) cm.display.wrapper.style.height = interpret(height);\n\t if (cm.options.lineWrapping) clearLineMeasurementCache(this);\n\t var lineNo = cm.display.viewFrom;\n\t cm.doc.iter(lineNo, cm.display.viewTo, function(line) {\n\t if (line.widgets) for (var i = 0; i < line.widgets.length; i++)\n\t if (line.widgets[i].noHScroll) { regLineChange(cm, lineNo, \"widget\"); break; }\n\t ++lineNo;\n\t });\n\t cm.curOp.forceUpdate = true;\n\t signal(cm, \"refresh\", this);\n\t }),\n\t\n\t operation: function(f){return runInOp(this, f);},\n\t\n\t refresh: methodOp(function() {\n\t var oldHeight = this.display.cachedTextHeight;\n\t regChange(this);\n\t this.curOp.forceUpdate = true;\n\t clearCaches(this);\n\t this.scrollTo(this.doc.scrollLeft, this.doc.scrollTop);\n\t updateGutterSpace(this);\n\t if (oldHeight == null || Math.abs(oldHeight - textHeight(this.display)) > .5)\n\t estimateLineHeights(this);\n\t signal(this, \"refresh\", this);\n\t }),\n\t\n\t swapDoc: methodOp(function(doc) {\n\t var old = this.doc;\n\t old.cm = null;\n\t attachDoc(this, doc);\n\t clearCaches(this);\n\t this.display.input.reset();\n\t this.scrollTo(doc.scrollLeft, doc.scrollTop);\n\t this.curOp.forceScroll = true;\n\t signalLater(this, \"swapDoc\", this, old);\n\t return old;\n\t }),\n\t\n\t getInputField: function(){return this.display.input.getField();},\n\t getWrapperElement: function(){return this.display.wrapper;},\n\t getScrollerElement: function(){return this.display.scroller;},\n\t getGutterElement: function(){return this.display.gutters;}\n\t };\n\t eventMixin(CodeMirror);\n\t\n\t // OPTION DEFAULTS\n\t\n\t // The default configuration options.\n\t var defaults = CodeMirror.defaults = {};\n\t // Functions to run when options are changed.\n\t var optionHandlers = CodeMirror.optionHandlers = {};\n\t\n\t function option(name, deflt, handle, notOnInit) {\n\t CodeMirror.defaults[name] = deflt;\n\t if (handle) optionHandlers[name] =\n\t notOnInit ? function(cm, val, old) {if (old != Init) handle(cm, val, old);} : handle;\n\t }\n\t\n\t // Passed to option handlers when there is no old value.\n\t var Init = CodeMirror.Init = {toString: function(){return \"CodeMirror.Init\";}};\n\t\n\t // These two are, on init, called from the constructor because they\n\t // have to be initialized before the editor can start at all.\n\t option(\"value\", \"\", function(cm, val) {\n\t cm.setValue(val);\n\t }, true);\n\t option(\"mode\", null, function(cm, val) {\n\t cm.doc.modeOption = val;\n\t loadMode(cm);\n\t }, true);\n\t\n\t option(\"indentUnit\", 2, loadMode, true);\n\t option(\"indentWithTabs\", false);\n\t option(\"smartIndent\", true);\n\t option(\"tabSize\", 4, function(cm) {\n\t resetModeState(cm);\n\t clearCaches(cm);\n\t regChange(cm);\n\t }, true);\n\t option(\"lineSeparator\", null, function(cm, val) {\n\t cm.doc.lineSep = val;\n\t if (!val) return;\n\t var newBreaks = [], lineNo = cm.doc.first;\n\t cm.doc.iter(function(line) {\n\t for (var pos = 0;;) {\n\t var found = line.text.indexOf(val, pos);\n\t if (found == -1) break;\n\t pos = found + val.length;\n\t newBreaks.push(Pos(lineNo, found));\n\t }\n\t lineNo++;\n\t });\n\t for (var i = newBreaks.length - 1; i >= 0; i--)\n\t replaceRange(cm.doc, val, newBreaks[i], Pos(newBreaks[i].line, newBreaks[i].ch + val.length))\n\t });\n\t option(\"specialChars\", /[\\t\\u0000-\\u0019\\u00ad\\u200b-\\u200f\\u2028\\u2029\\ufeff]/g, function(cm, val, old) {\n\t cm.state.specialChars = new RegExp(val.source + (val.test(\"\\t\") ? \"\" : \"|\\t\"), \"g\");\n\t if (old != CodeMirror.Init) cm.refresh();\n\t });\n\t option(\"specialCharPlaceholder\", defaultSpecialCharPlaceholder, function(cm) {cm.refresh();}, true);\n\t option(\"electricChars\", true);\n\t option(\"inputStyle\", mobile ? \"contenteditable\" : \"textarea\", function() {\n\t throw new Error(\"inputStyle can not (yet) be changed in a running editor\"); // FIXME\n\t }, true);\n\t option(\"rtlMoveVisually\", !windows);\n\t option(\"wholeLineUpdateBefore\", true);\n\t\n\t option(\"theme\", \"default\", function(cm) {\n\t themeChanged(cm);\n\t guttersChanged(cm);\n\t }, true);\n\t option(\"keyMap\", \"default\", function(cm, val, old) {\n\t var next = getKeyMap(val);\n\t var prev = old != CodeMirror.Init && getKeyMap(old);\n\t if (prev && prev.detach) prev.detach(cm, next);\n\t if (next.attach) next.attach(cm, prev || null);\n\t });\n\t option(\"extraKeys\", null);\n\t\n\t option(\"lineWrapping\", false, wrappingChanged, true);\n\t option(\"gutters\", [], function(cm) {\n\t setGuttersForLineNumbers(cm.options);\n\t guttersChanged(cm);\n\t }, true);\n\t option(\"fixedGutter\", true, function(cm, val) {\n\t cm.display.gutters.style.left = val ? compensateForHScroll(cm.display) + \"px\" : \"0\";\n\t cm.refresh();\n\t }, true);\n\t option(\"coverGutterNextToScrollbar\", false, function(cm) {updateScrollbars(cm);}, true);\n\t option(\"scrollbarStyle\", \"native\", function(cm) {\n\t initScrollbars(cm);\n\t updateScrollbars(cm);\n\t cm.display.scrollbars.setScrollTop(cm.doc.scrollTop);\n\t cm.display.scrollbars.setScrollLeft(cm.doc.scrollLeft);\n\t }, true);\n\t option(\"lineNumbers\", false, function(cm) {\n\t setGuttersForLineNumbers(cm.options);\n\t guttersChanged(cm);\n\t }, true);\n\t option(\"firstLineNumber\", 1, guttersChanged, true);\n\t option(\"lineNumberFormatter\", function(integer) {return integer;}, guttersChanged, true);\n\t option(\"showCursorWhenSelecting\", false, updateSelection, true);\n\t\n\t option(\"resetSelectionOnContextMenu\", true);\n\t option(\"lineWiseCopyCut\", true);\n\t\n\t option(\"readOnly\", false, function(cm, val) {\n\t if (val == \"nocursor\") {\n\t onBlur(cm);\n\t cm.display.input.blur();\n\t cm.display.disabled = true;\n\t } else {\n\t cm.display.disabled = false;\n\t if (!val) cm.display.input.reset();\n\t }\n\t });\n\t option(\"disableInput\", false, function(cm, val) {if (!val) cm.display.input.reset();}, true);\n\t option(\"dragDrop\", true, dragDropChanged);\n\t\n\t option(\"cursorBlinkRate\", 530);\n\t option(\"cursorScrollMargin\", 0);\n\t option(\"cursorHeight\", 1, updateSelection, true);\n\t option(\"singleCursorHeightPerLine\", true, updateSelection, true);\n\t option(\"workTime\", 100);\n\t option(\"workDelay\", 100);\n\t option(\"flattenSpans\", true, resetModeState, true);\n\t option(\"addModeClass\", false, resetModeState, true);\n\t option(\"pollInterval\", 100);\n\t option(\"undoDepth\", 200, function(cm, val){cm.doc.history.undoDepth = val;});\n\t option(\"historyEventDelay\", 1250);\n\t option(\"viewportMargin\", 10, function(cm){cm.refresh();}, true);\n\t option(\"maxHighlightLength\", 10000, resetModeState, true);\n\t option(\"moveInputWithCursor\", true, function(cm, val) {\n\t if (!val) cm.display.input.resetPosition();\n\t });\n\t\n\t option(\"tabindex\", null, function(cm, val) {\n\t cm.display.input.getField().tabIndex = val || \"\";\n\t });\n\t option(\"autofocus\", null);\n\t\n\t // MODE DEFINITION AND QUERYING\n\t\n\t // Known modes, by name and by MIME\n\t var modes = CodeMirror.modes = {}, mimeModes = CodeMirror.mimeModes = {};\n\t\n\t // Extra arguments are stored as the mode's dependencies, which is\n\t // used by (legacy) mechanisms like loadmode.js to automatically\n\t // load a mode. (Preferred mechanism is the require/define calls.)\n\t CodeMirror.defineMode = function(name, mode) {\n\t if (!CodeMirror.defaults.mode && name != \"null\") CodeMirror.defaults.mode = name;\n\t if (arguments.length > 2)\n\t mode.dependencies = Array.prototype.slice.call(arguments, 2);\n\t modes[name] = mode;\n\t };\n\t\n\t CodeMirror.defineMIME = function(mime, spec) {\n\t mimeModes[mime] = spec;\n\t };\n\t\n\t // Given a MIME type, a {name, ...options} config object, or a name\n\t // string, return a mode config object.\n\t CodeMirror.resolveMode = function(spec) {\n\t if (typeof spec == \"string\" && mimeModes.hasOwnProperty(spec)) {\n\t spec = mimeModes[spec];\n\t } else if (spec && typeof spec.name == \"string\" && mimeModes.hasOwnProperty(spec.name)) {\n\t var found = mimeModes[spec.name];\n\t if (typeof found == \"string\") found = {name: found};\n\t spec = createObj(found, spec);\n\t spec.name = found.name;\n\t } else if (typeof spec == \"string\" && /^[\\w\\-]+\\/[\\w\\-]+\\+xml$/.test(spec)) {\n\t return CodeMirror.resolveMode(\"application/xml\");\n\t }\n\t if (typeof spec == \"string\") return {name: spec};\n\t else return spec || {name: \"null\"};\n\t };\n\t\n\t // Given a mode spec (anything that resolveMode accepts), find and\n\t // initialize an actual mode object.\n\t CodeMirror.getMode = function(options, spec) {\n\t var spec = CodeMirror.resolveMode(spec);\n\t var mfactory = modes[spec.name];\n\t if (!mfactory) return CodeMirror.getMode(options, \"text/plain\");\n\t var modeObj = mfactory(options, spec);\n\t if (modeExtensions.hasOwnProperty(spec.name)) {\n\t var exts = modeExtensions[spec.name];\n\t for (var prop in exts) {\n\t if (!exts.hasOwnProperty(prop)) continue;\n\t if (modeObj.hasOwnProperty(prop)) modeObj[\"_\" + prop] = modeObj[prop];\n\t modeObj[prop] = exts[prop];\n\t }\n\t }\n\t modeObj.name = spec.name;\n\t if (spec.helperType) modeObj.helperType = spec.helperType;\n\t if (spec.modeProps) for (var prop in spec.modeProps)\n\t modeObj[prop] = spec.modeProps[prop];\n\t\n\t return modeObj;\n\t };\n\t\n\t // Minimal default mode.\n\t CodeMirror.defineMode(\"null\", function() {\n\t return {token: function(stream) {stream.skipToEnd();}};\n\t });\n\t CodeMirror.defineMIME(\"text/plain\", \"null\");\n\t\n\t // This can be used to attach properties to mode objects from\n\t // outside the actual mode definition.\n\t var modeExtensions = CodeMirror.modeExtensions = {};\n\t CodeMirror.extendMode = function(mode, properties) {\n\t var exts = modeExtensions.hasOwnProperty(mode) ? modeExtensions[mode] : (modeExtensions[mode] = {});\n\t copyObj(properties, exts);\n\t };\n\t\n\t // EXTENSIONS\n\t\n\t CodeMirror.defineExtension = function(name, func) {\n\t CodeMirror.prototype[name] = func;\n\t };\n\t CodeMirror.defineDocExtension = function(name, func) {\n\t Doc.prototype[name] = func;\n\t };\n\t CodeMirror.defineOption = option;\n\t\n\t var initHooks = [];\n\t CodeMirror.defineInitHook = function(f) {initHooks.push(f);};\n\t\n\t var helpers = CodeMirror.helpers = {};\n\t CodeMirror.registerHelper = function(type, name, value) {\n\t if (!helpers.hasOwnProperty(type)) helpers[type] = CodeMirror[type] = {_global: []};\n\t helpers[type][name] = value;\n\t };\n\t CodeMirror.registerGlobalHelper = function(type, name, predicate, value) {\n\t CodeMirror.registerHelper(type, name, value);\n\t helpers[type]._global.push({pred: predicate, val: value});\n\t };\n\t\n\t // MODE STATE HANDLING\n\t\n\t // Utility functions for working with state. Exported because nested\n\t // modes need to do this for their inner modes.\n\t\n\t var copyState = CodeMirror.copyState = function(mode, state) {\n\t if (state === true) return state;\n\t if (mode.copyState) return mode.copyState(state);\n\t var nstate = {};\n\t for (var n in state) {\n\t var val = state[n];\n\t if (val instanceof Array) val = val.concat([]);\n\t nstate[n] = val;\n\t }\n\t return nstate;\n\t };\n\t\n\t var startState = CodeMirror.startState = function(mode, a1, a2) {\n\t return mode.startState ? mode.startState(a1, a2) : true;\n\t };\n\t\n\t // Given a mode and a state (for that mode), find the inner mode and\n\t // state at the position that the state refers to.\n\t CodeMirror.innerMode = function(mode, state) {\n\t while (mode.innerMode) {\n\t var info = mode.innerMode(state);\n\t if (!info || info.mode == mode) break;\n\t state = info.state;\n\t mode = info.mode;\n\t }\n\t return info || {mode: mode, state: state};\n\t };\n\t\n\t // STANDARD COMMANDS\n\t\n\t // Commands are parameter-less actions that can be performed on an\n\t // editor, mostly used for keybindings.\n\t var commands = CodeMirror.commands = {\n\t selectAll: function(cm) {cm.setSelection(Pos(cm.firstLine(), 0), Pos(cm.lastLine()), sel_dontScroll);},\n\t singleSelection: function(cm) {\n\t cm.setSelection(cm.getCursor(\"anchor\"), cm.getCursor(\"head\"), sel_dontScroll);\n\t },\n\t killLine: function(cm) {\n\t deleteNearSelection(cm, function(range) {\n\t if (range.empty()) {\n\t var len = getLine(cm.doc, range.head.line).text.length;\n\t if (range.head.ch == len && range.head.line < cm.lastLine())\n\t return {from: range.head, to: Pos(range.head.line + 1, 0)};\n\t else\n\t return {from: range.head, to: Pos(range.head.line, len)};\n\t } else {\n\t return {from: range.from(), to: range.to()};\n\t }\n\t });\n\t },\n\t deleteLine: function(cm) {\n\t deleteNearSelection(cm, function(range) {\n\t return {from: Pos(range.from().line, 0),\n\t to: clipPos(cm.doc, Pos(range.to().line + 1, 0))};\n\t });\n\t },\n\t delLineLeft: function(cm) {\n\t deleteNearSelection(cm, function(range) {\n\t return {from: Pos(range.from().line, 0), to: range.from()};\n\t });\n\t },\n\t delWrappedLineLeft: function(cm) {\n\t deleteNearSelection(cm, function(range) {\n\t var top = cm.charCoords(range.head, \"div\").top + 5;\n\t var leftPos = cm.coordsChar({left: 0, top: top}, \"div\");\n\t return {from: leftPos, to: range.from()};\n\t });\n\t },\n\t delWrappedLineRight: function(cm) {\n\t deleteNearSelection(cm, function(range) {\n\t var top = cm.charCoords(range.head, \"div\").top + 5;\n\t var rightPos = cm.coordsChar({left: cm.display.lineDiv.offsetWidth + 100, top: top}, \"div\");\n\t return {from: range.from(), to: rightPos };\n\t });\n\t },\n\t undo: function(cm) {cm.undo();},\n\t redo: function(cm) {cm.redo();},\n\t undoSelection: function(cm) {cm.undoSelection();},\n\t redoSelection: function(cm) {cm.redoSelection();},\n\t goDocStart: function(cm) {cm.extendSelection(Pos(cm.firstLine(), 0));},\n\t goDocEnd: function(cm) {cm.extendSelection(Pos(cm.lastLine()));},\n\t goLineStart: function(cm) {\n\t cm.extendSelectionsBy(function(range) { return lineStart(cm, range.head.line); },\n\t {origin: \"+move\", bias: 1});\n\t },\n\t goLineStartSmart: function(cm) {\n\t cm.extendSelectionsBy(function(range) {\n\t return lineStartSmart(cm, range.head);\n\t }, {origin: \"+move\", bias: 1});\n\t },\n\t goLineEnd: function(cm) {\n\t cm.extendSelectionsBy(function(range) { return lineEnd(cm, range.head.line); },\n\t {origin: \"+move\", bias: -1});\n\t },\n\t goLineRight: function(cm) {\n\t cm.extendSelectionsBy(function(range) {\n\t var top = cm.charCoords(range.head, \"div\").top + 5;\n\t return cm.coordsChar({left: cm.display.lineDiv.offsetWidth + 100, top: top}, \"div\");\n\t }, sel_move);\n\t },\n\t goLineLeft: function(cm) {\n\t cm.extendSelectionsBy(function(range) {\n\t var top = cm.charCoords(range.head, \"div\").top + 5;\n\t return cm.coordsChar({left: 0, top: top}, \"div\");\n\t }, sel_move);\n\t },\n\t goLineLeftSmart: function(cm) {\n\t cm.extendSelectionsBy(function(range) {\n\t var top = cm.charCoords(range.head, \"div\").top + 5;\n\t var pos = cm.coordsChar({left: 0, top: top}, \"div\");\n\t if (pos.ch < cm.getLine(pos.line).search(/\\S/)) return lineStartSmart(cm, range.head);\n\t return pos;\n\t }, sel_move);\n\t },\n\t goLineUp: function(cm) {cm.moveV(-1, \"line\");},\n\t goLineDown: function(cm) {cm.moveV(1, \"line\");},\n\t goPageUp: function(cm) {cm.moveV(-1, \"page\");},\n\t goPageDown: function(cm) {cm.moveV(1, \"page\");},\n\t goCharLeft: function(cm) {cm.moveH(-1, \"char\");},\n\t goCharRight: function(cm) {cm.moveH(1, \"char\");},\n\t goColumnLeft: function(cm) {cm.moveH(-1, \"column\");},\n\t goColumnRight: function(cm) {cm.moveH(1, \"column\");},\n\t goWordLeft: function(cm) {cm.moveH(-1, \"word\");},\n\t goGroupRight: function(cm) {cm.moveH(1, \"group\");},\n\t goGroupLeft: function(cm) {cm.moveH(-1, \"group\");},\n\t goWordRight: function(cm) {cm.moveH(1, \"word\");},\n\t delCharBefore: function(cm) {cm.deleteH(-1, \"char\");},\n\t delCharAfter: function(cm) {cm.deleteH(1, \"char\");},\n\t delWordBefore: function(cm) {cm.deleteH(-1, \"word\");},\n\t delWordAfter: function(cm) {cm.deleteH(1, \"word\");},\n\t delGroupBefore: function(cm) {cm.deleteH(-1, \"group\");},\n\t delGroupAfter: function(cm) {cm.deleteH(1, \"group\");},\n\t indentAuto: function(cm) {cm.indentSelection(\"smart\");},\n\t indentMore: function(cm) {cm.indentSelection(\"add\");},\n\t indentLess: function(cm) {cm.indentSelection(\"subtract\");},\n\t insertTab: function(cm) {cm.replaceSelection(\"\\t\");},\n\t insertSoftTab: function(cm) {\n\t var spaces = [], ranges = cm.listSelections(), tabSize = cm.options.tabSize;\n\t for (var i = 0; i < ranges.length; i++) {\n\t var pos = ranges[i].from();\n\t var col = countColumn(cm.getLine(pos.line), pos.ch, tabSize);\n\t spaces.push(new Array(tabSize - col % tabSize + 1).join(\" \"));\n\t }\n\t cm.replaceSelections(spaces);\n\t },\n\t defaultTab: function(cm) {\n\t if (cm.somethingSelected()) cm.indentSelection(\"add\");\n\t else cm.execCommand(\"insertTab\");\n\t },\n\t transposeChars: function(cm) {\n\t runInOp(cm, function() {\n\t var ranges = cm.listSelections(), newSel = [];\n\t for (var i = 0; i < ranges.length; i++) {\n\t var cur = ranges[i].head, line = getLine(cm.doc, cur.line).text;\n\t if (line) {\n\t if (cur.ch == line.length) cur = new Pos(cur.line, cur.ch - 1);\n\t if (cur.ch > 0) {\n\t cur = new Pos(cur.line, cur.ch + 1);\n\t cm.replaceRange(line.charAt(cur.ch - 1) + line.charAt(cur.ch - 2),\n\t Pos(cur.line, cur.ch - 2), cur, \"+transpose\");\n\t } else if (cur.line > cm.doc.first) {\n\t var prev = getLine(cm.doc, cur.line - 1).text;\n\t if (prev)\n\t cm.replaceRange(line.charAt(0) + cm.doc.lineSeparator() +\n\t prev.charAt(prev.length - 1),\n\t Pos(cur.line - 1, prev.length - 1), Pos(cur.line, 1), \"+transpose\");\n\t }\n\t }\n\t newSel.push(new Range(cur, cur));\n\t }\n\t cm.setSelections(newSel);\n\t });\n\t },\n\t newlineAndIndent: function(cm) {\n\t runInOp(cm, function() {\n\t var len = cm.listSelections().length;\n\t for (var i = 0; i < len; i++) {\n\t var range = cm.listSelections()[i];\n\t cm.replaceRange(cm.doc.lineSeparator(), range.anchor, range.head, \"+input\");\n\t cm.indentLine(range.from().line + 1, null, true);\n\t ensureCursorVisible(cm);\n\t }\n\t });\n\t },\n\t toggleOverwrite: function(cm) {cm.toggleOverwrite();}\n\t };\n\t\n\t\n\t // STANDARD KEYMAPS\n\t\n\t var keyMap = CodeMirror.keyMap = {};\n\t\n\t keyMap.basic = {\n\t \"Left\": \"goCharLeft\", \"Right\": \"goCharRight\", \"Up\": \"goLineUp\", \"Down\": \"goLineDown\",\n\t \"End\": \"goLineEnd\", \"Home\": \"goLineStartSmart\", \"PageUp\": \"goPageUp\", \"PageDown\": \"goPageDown\",\n\t \"Delete\": \"delCharAfter\", \"Backspace\": \"delCharBefore\", \"Shift-Backspace\": \"delCharBefore\",\n\t \"Tab\": \"defaultTab\", \"Shift-Tab\": \"indentAuto\",\n\t \"Enter\": \"newlineAndIndent\", \"Insert\": \"toggleOverwrite\",\n\t \"Esc\": \"singleSelection\"\n\t };\n\t // Note that the save and find-related commands aren't defined by\n\t // default. User code or addons can define them. Unknown commands\n\t // are simply ignored.\n\t keyMap.pcDefault = {\n\t \"Ctrl-A\": \"selectAll\", \"Ctrl-D\": \"deleteLine\", \"Ctrl-Z\": \"undo\", \"Shift-Ctrl-Z\": \"redo\", \"Ctrl-Y\": \"redo\",\n\t \"Ctrl-Home\": \"goDocStart\", \"Ctrl-End\": \"goDocEnd\", \"Ctrl-Up\": \"goLineUp\", \"Ctrl-Down\": \"goLineDown\",\n\t \"Ctrl-Left\": \"goGroupLeft\", \"Ctrl-Right\": \"goGroupRight\", \"Alt-Left\": \"goLineStart\", \"Alt-Right\": \"goLineEnd\",\n\t \"Ctrl-Backspace\": \"delGroupBefore\", \"Ctrl-Delete\": \"delGroupAfter\", \"Ctrl-S\": \"save\", \"Ctrl-F\": \"find\",\n\t \"Ctrl-G\": \"findNext\", \"Shift-Ctrl-G\": \"findPrev\", \"Shift-Ctrl-F\": \"replace\", \"Shift-Ctrl-R\": \"replaceAll\",\n\t \"Ctrl-[\": \"indentLess\", \"Ctrl-]\": \"indentMore\",\n\t \"Ctrl-U\": \"undoSelection\", \"Shift-Ctrl-U\": \"redoSelection\", \"Alt-U\": \"redoSelection\",\n\t fallthrough: \"basic\"\n\t };\n\t // Very basic readline/emacs-style bindings, which are standard on Mac.\n\t keyMap.emacsy = {\n\t \"Ctrl-F\": \"goCharRight\", \"Ctrl-B\": \"goCharLeft\", \"Ctrl-P\": \"goLineUp\", \"Ctrl-N\": \"goLineDown\",\n\t \"Alt-F\": \"goWordRight\", \"Alt-B\": \"goWordLeft\", \"Ctrl-A\": \"goLineStart\", \"Ctrl-E\": \"goLineEnd\",\n\t \"Ctrl-V\": \"goPageDown\", \"Shift-Ctrl-V\": \"goPageUp\", \"Ctrl-D\": \"delCharAfter\", \"Ctrl-H\": \"delCharBefore\",\n\t \"Alt-D\": \"delWordAfter\", \"Alt-Backspace\": \"delWordBefore\", \"Ctrl-K\": \"killLine\", \"Ctrl-T\": \"transposeChars\"\n\t };\n\t keyMap.macDefault = {\n\t \"Cmd-A\": \"selectAll\", \"Cmd-D\": \"deleteLine\", \"Cmd-Z\": \"undo\", \"Shift-Cmd-Z\": \"redo\", \"Cmd-Y\": \"redo\",\n\t \"Cmd-Home\": \"goDocStart\", \"Cmd-Up\": \"goDocStart\", \"Cmd-End\": \"goDocEnd\", \"Cmd-Down\": \"goDocEnd\", \"Alt-Left\": \"goGroupLeft\",\n\t \"Alt-Right\": \"goGroupRight\", \"Cmd-Left\": \"goLineLeft\", \"Cmd-Right\": \"goLineRight\", \"Alt-Backspace\": \"delGroupBefore\",\n\t \"Ctrl-Alt-Backspace\": \"delGroupAfter\", \"Alt-Delete\": \"delGroupAfter\", \"Cmd-S\": \"save\", \"Cmd-F\": \"find\",\n\t \"Cmd-G\": \"findNext\", \"Shift-Cmd-G\": \"findPrev\", \"Cmd-Alt-F\": \"replace\", \"Shift-Cmd-Alt-F\": \"replaceAll\",\n\t \"Cmd-[\": \"indentLess\", \"Cmd-]\": \"indentMore\", \"Cmd-Backspace\": \"delWrappedLineLeft\", \"Cmd-Delete\": \"delWrappedLineRight\",\n\t \"Cmd-U\": \"undoSelection\", \"Shift-Cmd-U\": \"redoSelection\", \"Ctrl-Up\": \"goDocStart\", \"Ctrl-Down\": \"goDocEnd\",\n\t fallthrough: [\"basic\", \"emacsy\"]\n\t };\n\t keyMap[\"default\"] = mac ? keyMap.macDefault : keyMap.pcDefault;\n\t\n\t // KEYMAP DISPATCH\n\t\n\t function normalizeKeyName(name) {\n\t var parts = name.split(/-(?!$)/), name = parts[parts.length - 1];\n\t var alt, ctrl, shift, cmd;\n\t for (var i = 0; i < parts.length - 1; i++) {\n\t var mod = parts[i];\n\t if (/^(cmd|meta|m)$/i.test(mod)) cmd = true;\n\t else if (/^a(lt)?$/i.test(mod)) alt = true;\n\t else if (/^(c|ctrl|control)$/i.test(mod)) ctrl = true;\n\t else if (/^s(hift)$/i.test(mod)) shift = true;\n\t else throw new Error(\"Unrecognized modifier name: \" + mod);\n\t }\n\t if (alt) name = \"Alt-\" + name;\n\t if (ctrl) name = \"Ctrl-\" + name;\n\t if (cmd) name = \"Cmd-\" + name;\n\t if (shift) name = \"Shift-\" + name;\n\t return name;\n\t }\n\t\n\t // This is a kludge to keep keymaps mostly working as raw objects\n\t // (backwards compatibility) while at the same time support features\n\t // like normalization and multi-stroke key bindings. It compiles a\n\t // new normalized keymap, and then updates the old object to reflect\n\t // this.\n\t CodeMirror.normalizeKeyMap = function(keymap) {\n\t var copy = {};\n\t for (var keyname in keymap) if (keymap.hasOwnProperty(keyname)) {\n\t var value = keymap[keyname];\n\t if (/^(name|fallthrough|(de|at)tach)$/.test(keyname)) continue;\n\t if (value == \"...\") { delete keymap[keyname]; continue; }\n\t\n\t var keys = map(keyname.split(\" \"), normalizeKeyName);\n\t for (var i = 0; i < keys.length; i++) {\n\t var val, name;\n\t if (i == keys.length - 1) {\n\t name = keys.join(\" \");\n\t val = value;\n\t } else {\n\t name = keys.slice(0, i + 1).join(\" \");\n\t val = \"...\";\n\t }\n\t var prev = copy[name];\n\t if (!prev) copy[name] = val;\n\t else if (prev != val) throw new Error(\"Inconsistent bindings for \" + name);\n\t }\n\t delete keymap[keyname];\n\t }\n\t for (var prop in copy) keymap[prop] = copy[prop];\n\t return keymap;\n\t };\n\t\n\t var lookupKey = CodeMirror.lookupKey = function(key, map, handle, context) {\n\t map = getKeyMap(map);\n\t var found = map.call ? map.call(key, context) : map[key];\n\t if (found === false) return \"nothing\";\n\t if (found === \"...\") return \"multi\";\n\t if (found != null && handle(found)) return \"handled\";\n\t\n\t if (map.fallthrough) {\n\t if (Object.prototype.toString.call(map.fallthrough) != \"[object Array]\")\n\t return lookupKey(key, map.fallthrough, handle, context);\n\t for (var i = 0; i < map.fallthrough.length; i++) {\n\t var result = lookupKey(key, map.fallthrough[i], handle, context);\n\t if (result) return result;\n\t }\n\t }\n\t };\n\t\n\t // Modifier key presses don't count as 'real' key presses for the\n\t // purpose of keymap fallthrough.\n\t var isModifierKey = CodeMirror.isModifierKey = function(value) {\n\t var name = typeof value == \"string\" ? value : keyNames[value.keyCode];\n\t return name == \"Ctrl\" || name == \"Alt\" || name == \"Shift\" || name == \"Mod\";\n\t };\n\t\n\t // Look up the name of a key as indicated by an event object.\n\t var keyName = CodeMirror.keyName = function(event, noShift) {\n\t if (presto && event.keyCode == 34 && event[\"char\"]) return false;\n\t var base = keyNames[event.keyCode], name = base;\n\t if (name == null || event.altGraphKey) return false;\n\t if (event.altKey && base != \"Alt\") name = \"Alt-\" + name;\n\t if ((flipCtrlCmd ? event.metaKey : event.ctrlKey) && base != \"Ctrl\") name = \"Ctrl-\" + name;\n\t if ((flipCtrlCmd ? event.ctrlKey : event.metaKey) && base != \"Cmd\") name = \"Cmd-\" + name;\n\t if (!noShift && event.shiftKey && base != \"Shift\") name = \"Shift-\" + name;\n\t return name;\n\t };\n\t\n\t function getKeyMap(val) {\n\t return typeof val == \"string\" ? keyMap[val] : val;\n\t }\n\t\n\t // FROMTEXTAREA\n\t\n\t CodeMirror.fromTextArea = function(textarea, options) {\n\t options = options ? copyObj(options) : {};\n\t options.value = textarea.value;\n\t if (!options.tabindex && textarea.tabIndex)\n\t options.tabindex = textarea.tabIndex;\n\t if (!options.placeholder && textarea.placeholder)\n\t options.placeholder = textarea.placeholder;\n\t // Set autofocus to true if this textarea is focused, or if it has\n\t // autofocus and no other element is focused.\n\t if (options.autofocus == null) {\n\t var hasFocus = activeElt();\n\t options.autofocus = hasFocus == textarea ||\n\t textarea.getAttribute(\"autofocus\") != null && hasFocus == document.body;\n\t }\n\t\n\t function save() {textarea.value = cm.getValue();}\n\t if (textarea.form) {\n\t on(textarea.form, \"submit\", save);\n\t // Deplorable hack to make the submit method do the right thing.\n\t if (!options.leaveSubmitMethodAlone) {\n\t var form = textarea.form, realSubmit = form.submit;\n\t try {\n\t var wrappedSubmit = form.submit = function() {\n\t save();\n\t form.submit = realSubmit;\n\t form.submit();\n\t form.submit = wrappedSubmit;\n\t };\n\t } catch(e) {}\n\t }\n\t }\n\t\n\t options.finishInit = function(cm) {\n\t cm.save = save;\n\t cm.getTextArea = function() { return textarea; };\n\t cm.toTextArea = function() {\n\t cm.toTextArea = isNaN; // Prevent this from being ran twice\n\t save();\n\t textarea.parentNode.removeChild(cm.getWrapperElement());\n\t textarea.style.display = \"\";\n\t if (textarea.form) {\n\t off(textarea.form, \"submit\", save);\n\t if (typeof textarea.form.submit == \"function\")\n\t textarea.form.submit = realSubmit;\n\t }\n\t };\n\t };\n\t\n\t textarea.style.display = \"none\";\n\t var cm = CodeMirror(function(node) {\n\t textarea.parentNode.insertBefore(node, textarea.nextSibling);\n\t }, options);\n\t return cm;\n\t };\n\t\n\t // STRING STREAM\n\t\n\t // Fed to the mode parsers, provides helper functions to make\n\t // parsers more succinct.\n\t\n\t var StringStream = CodeMirror.StringStream = function(string, tabSize) {\n\t this.pos = this.start = 0;\n\t this.string = string;\n\t this.tabSize = tabSize || 8;\n\t this.lastColumnPos = this.lastColumnValue = 0;\n\t this.lineStart = 0;\n\t };\n\t\n\t StringStream.prototype = {\n\t eol: function() {return this.pos >= this.string.length;},\n\t sol: function() {return this.pos == this.lineStart;},\n\t peek: function() {return this.string.charAt(this.pos) || undefined;},\n\t next: function() {\n\t if (this.pos < this.string.length)\n\t return this.string.charAt(this.pos++);\n\t },\n\t eat: function(match) {\n\t var ch = this.string.charAt(this.pos);\n\t if (typeof match == \"string\") var ok = ch == match;\n\t else var ok = ch && (match.test ? match.test(ch) : match(ch));\n\t if (ok) {++this.pos; return ch;}\n\t },\n\t eatWhile: function(match) {\n\t var start = this.pos;\n\t while (this.eat(match)){}\n\t return this.pos > start;\n\t },\n\t eatSpace: function() {\n\t var start = this.pos;\n\t while (/[\\s\\u00a0]/.test(this.string.charAt(this.pos))) ++this.pos;\n\t return this.pos > start;\n\t },\n\t skipToEnd: function() {this.pos = this.string.length;},\n\t skipTo: function(ch) {\n\t var found = this.string.indexOf(ch, this.pos);\n\t if (found > -1) {this.pos = found; return true;}\n\t },\n\t backUp: function(n) {this.pos -= n;},\n\t column: function() {\n\t if (this.lastColumnPos < this.start) {\n\t this.lastColumnValue = countColumn(this.string, this.start, this.tabSize, this.lastColumnPos, this.lastColumnValue);\n\t this.lastColumnPos = this.start;\n\t }\n\t return this.lastColumnValue - (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0);\n\t },\n\t indentation: function() {\n\t return countColumn(this.string, null, this.tabSize) -\n\t (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0);\n\t },\n\t match: function(pattern, consume, caseInsensitive) {\n\t if (typeof pattern == \"string\") {\n\t var cased = function(str) {return caseInsensitive ? str.toLowerCase() : str;};\n\t var substr = this.string.substr(this.pos, pattern.length);\n\t if (cased(substr) == cased(pattern)) {\n\t if (consume !== false) this.pos += pattern.length;\n\t return true;\n\t }\n\t } else {\n\t var match = this.string.slice(this.pos).match(pattern);\n\t if (match && match.index > 0) return null;\n\t if (match && consume !== false) this.pos += match[0].length;\n\t return match;\n\t }\n\t },\n\t current: function(){return this.string.slice(this.start, this.pos);},\n\t hideFirstChars: function(n, inner) {\n\t this.lineStart += n;\n\t try { return inner(); }\n\t finally { this.lineStart -= n; }\n\t }\n\t };\n\t\n\t // TEXTMARKERS\n\t\n\t // Created with markText and setBookmark methods. A TextMarker is a\n\t // handle that can be used to clear or find a marked position in the\n\t // document. Line objects hold arrays (markedSpans) containing\n\t // {from, to, marker} object pointing to such marker objects, and\n\t // indicating that such a marker is present on that line. Multiple\n\t // lines may point to the same marker when it spans across lines.\n\t // The spans will have null for their from/to properties when the\n\t // marker continues beyond the start/end of the line. Markers have\n\t // links back to the lines they currently touch.\n\t\n\t var nextMarkerId = 0;\n\t\n\t var TextMarker = CodeMirror.TextMarker = function(doc, type) {\n\t this.lines = [];\n\t this.type = type;\n\t this.doc = doc;\n\t this.id = ++nextMarkerId;\n\t };\n\t eventMixin(TextMarker);\n\t\n\t // Clear the marker.\n\t TextMarker.prototype.clear = function() {\n\t if (this.explicitlyCleared) return;\n\t var cm = this.doc.cm, withOp = cm && !cm.curOp;\n\t if (withOp) startOperation(cm);\n\t if (hasHandler(this, \"clear\")) {\n\t var found = this.find();\n\t if (found) signalLater(this, \"clear\", found.from, found.to);\n\t }\n\t var min = null, max = null;\n\t for (var i = 0; i < this.lines.length; ++i) {\n\t var line = this.lines[i];\n\t var span = getMarkedSpanFor(line.markedSpans, this);\n\t if (cm && !this.collapsed) regLineChange(cm, lineNo(line), \"text\");\n\t else if (cm) {\n\t if (span.to != null) max = lineNo(line);\n\t if (span.from != null) min = lineNo(line);\n\t }\n\t line.markedSpans = removeMarkedSpan(line.markedSpans, span);\n\t if (span.from == null && this.collapsed && !lineIsHidden(this.doc, line) && cm)\n\t updateLineHeight(line, textHeight(cm.display));\n\t }\n\t if (cm && this.collapsed && !cm.options.lineWrapping) for (var i = 0; i < this.lines.length; ++i) {\n\t var visual = visualLine(this.lines[i]), len = lineLength(visual);\n\t if (len > cm.display.maxLineLength) {\n\t cm.display.maxLine = visual;\n\t cm.display.maxLineLength = len;\n\t cm.display.maxLineChanged = true;\n\t }\n\t }\n\t\n\t if (min != null && cm && this.collapsed) regChange(cm, min, max + 1);\n\t this.lines.length = 0;\n\t this.explicitlyCleared = true;\n\t if (this.atomic && this.doc.cantEdit) {\n\t this.doc.cantEdit = false;\n\t if (cm) reCheckSelection(cm.doc);\n\t }\n\t if (cm) signalLater(cm, \"markerCleared\", cm, this);\n\t if (withOp) endOperation(cm);\n\t if (this.parent) this.parent.clear();\n\t };\n\t\n\t // Find the position of the marker in the document. Returns a {from,\n\t // to} object by default. Side can be passed to get a specific side\n\t // -- 0 (both), -1 (left), or 1 (right). When lineObj is true, the\n\t // Pos objects returned contain a line object, rather than a line\n\t // number (used to prevent looking up the same line twice).\n\t TextMarker.prototype.find = function(side, lineObj) {\n\t if (side == null && this.type == \"bookmark\") side = 1;\n\t var from, to;\n\t for (var i = 0; i < this.lines.length; ++i) {\n\t var line = this.lines[i];\n\t var span = getMarkedSpanFor(line.markedSpans, this);\n\t if (span.from != null) {\n\t from = Pos(lineObj ? line : lineNo(line), span.from);\n\t if (side == -1) return from;\n\t }\n\t if (span.to != null) {\n\t to = Pos(lineObj ? line : lineNo(line), span.to);\n\t if (side == 1) return to;\n\t }\n\t }\n\t return from && {from: from, to: to};\n\t };\n\t\n\t // Signals that the marker's widget changed, and surrounding layout\n\t // should be recomputed.\n\t TextMarker.prototype.changed = function() {\n\t var pos = this.find(-1, true), widget = this, cm = this.doc.cm;\n\t if (!pos || !cm) return;\n\t runInOp(cm, function() {\n\t var line = pos.line, lineN = lineNo(pos.line);\n\t var view = findViewForLine(cm, lineN);\n\t if (view) {\n\t clearLineMeasurementCacheFor(view);\n\t cm.curOp.selectionChanged = cm.curOp.forceUpdate = true;\n\t }\n\t cm.curOp.updateMaxLine = true;\n\t if (!lineIsHidden(widget.doc, line) && widget.height != null) {\n\t var oldHeight = widget.height;\n\t widget.height = null;\n\t var dHeight = widgetHeight(widget) - oldHeight;\n\t if (dHeight)\n\t updateLineHeight(line, line.height + dHeight);\n\t }\n\t });\n\t };\n\t\n\t TextMarker.prototype.attachLine = function(line) {\n\t if (!this.lines.length && this.doc.cm) {\n\t var op = this.doc.cm.curOp;\n\t if (!op.maybeHiddenMarkers || indexOf(op.maybeHiddenMarkers, this) == -1)\n\t (op.maybeUnhiddenMarkers || (op.maybeUnhiddenMarkers = [])).push(this);\n\t }\n\t this.lines.push(line);\n\t };\n\t TextMarker.prototype.detachLine = function(line) {\n\t this.lines.splice(indexOf(this.lines, line), 1);\n\t if (!this.lines.length && this.doc.cm) {\n\t var op = this.doc.cm.curOp;\n\t (op.maybeHiddenMarkers || (op.maybeHiddenMarkers = [])).push(this);\n\t }\n\t };\n\t\n\t // Collapsed markers have unique ids, in order to be able to order\n\t // them, which is needed for uniquely determining an outer marker\n\t // when they overlap (they may nest, but not partially overlap).\n\t var nextMarkerId = 0;\n\t\n\t // Create a marker, wire it up to the right lines, and\n\t function markText(doc, from, to, options, type) {\n\t // Shared markers (across linked documents) are handled separately\n\t // (markTextShared will call out to this again, once per\n\t // document).\n\t if (options && options.shared) return markTextShared(doc, from, to, options, type);\n\t // Ensure we are in an operation.\n\t if (doc.cm && !doc.cm.curOp) return operation(doc.cm, markText)(doc, from, to, options, type);\n\t\n\t var marker = new TextMarker(doc, type), diff = cmp(from, to);\n\t if (options) copyObj(options, marker, false);\n\t // Don't connect empty markers unless clearWhenEmpty is false\n\t if (diff > 0 || diff == 0 && marker.clearWhenEmpty !== false)\n\t return marker;\n\t if (marker.replacedWith) {\n\t // Showing up as a widget implies collapsed (widget replaces text)\n\t marker.collapsed = true;\n\t marker.widgetNode = elt(\"span\", [marker.replacedWith], \"CodeMirror-widget\");\n\t if (!options.handleMouseEvents) marker.widgetNode.setAttribute(\"cm-ignore-events\", \"true\");\n\t if (options.insertLeft) marker.widgetNode.insertLeft = true;\n\t }\n\t if (marker.collapsed) {\n\t if (conflictingCollapsedRange(doc, from.line, from, to, marker) ||\n\t from.line != to.line && conflictingCollapsedRange(doc, to.line, from, to, marker))\n\t throw new Error(\"Inserting collapsed marker partially overlapping an existing one\");\n\t sawCollapsedSpans = true;\n\t }\n\t\n\t if (marker.addToHistory)\n\t addChangeToHistory(doc, {from: from, to: to, origin: \"markText\"}, doc.sel, NaN);\n\t\n\t var curLine = from.line, cm = doc.cm, updateMaxLine;\n\t doc.iter(curLine, to.line + 1, function(line) {\n\t if (cm && marker.collapsed && !cm.options.lineWrapping && visualLine(line) == cm.display.maxLine)\n\t updateMaxLine = true;\n\t if (marker.collapsed && curLine != from.line) updateLineHeight(line, 0);\n\t addMarkedSpan(line, new MarkedSpan(marker,\n\t curLine == from.line ? from.ch : null,\n\t curLine == to.line ? to.ch : null));\n\t ++curLine;\n\t });\n\t // lineIsHidden depends on the presence of the spans, so needs a second pass\n\t if (marker.collapsed) doc.iter(from.line, to.line + 1, function(line) {\n\t if (lineIsHidden(doc, line)) updateLineHeight(line, 0);\n\t });\n\t\n\t if (marker.clearOnEnter) on(marker, \"beforeCursorEnter\", function() { marker.clear(); });\n\t\n\t if (marker.readOnly) {\n\t sawReadOnlySpans = true;\n\t if (doc.history.done.length || doc.history.undone.length)\n\t doc.clearHistory();\n\t }\n\t if (marker.collapsed) {\n\t marker.id = ++nextMarkerId;\n\t marker.atomic = true;\n\t }\n\t if (cm) {\n\t // Sync editor state\n\t if (updateMaxLine) cm.curOp.updateMaxLine = true;\n\t if (marker.collapsed)\n\t regChange(cm, from.line, to.line + 1);\n\t else if (marker.className || marker.title || marker.startStyle || marker.endStyle || marker.css)\n\t for (var i = from.line; i <= to.line; i++) regLineChange(cm, i, \"text\");\n\t if (marker.atomic) reCheckSelection(cm.doc);\n\t signalLater(cm, \"markerAdded\", cm, marker);\n\t }\n\t return marker;\n\t }\n\t\n\t // SHARED TEXTMARKERS\n\t\n\t // A shared marker spans multiple linked documents. It is\n\t // implemented as a meta-marker-object controlling multiple normal\n\t // markers.\n\t var SharedTextMarker = CodeMirror.SharedTextMarker = function(markers, primary) {\n\t this.markers = markers;\n\t this.primary = primary;\n\t for (var i = 0; i < markers.length; ++i)\n\t markers[i].parent = this;\n\t };\n\t eventMixin(SharedTextMarker);\n\t\n\t SharedTextMarker.prototype.clear = function() {\n\t if (this.explicitlyCleared) return;\n\t this.explicitlyCleared = true;\n\t for (var i = 0; i < this.markers.length; ++i)\n\t this.markers[i].clear();\n\t signalLater(this, \"clear\");\n\t };\n\t SharedTextMarker.prototype.find = function(side, lineObj) {\n\t return this.primary.find(side, lineObj);\n\t };\n\t\n\t function markTextShared(doc, from, to, options, type) {\n\t options = copyObj(options);\n\t options.shared = false;\n\t var markers = [markText(doc, from, to, options, type)], primary = markers[0];\n\t var widget = options.widgetNode;\n\t linkedDocs(doc, function(doc) {\n\t if (widget) options.widgetNode = widget.cloneNode(true);\n\t markers.push(markText(doc, clipPos(doc, from), clipPos(doc, to), options, type));\n\t for (var i = 0; i < doc.linked.length; ++i)\n\t if (doc.linked[i].isParent) return;\n\t primary = lst(markers);\n\t });\n\t return new SharedTextMarker(markers, primary);\n\t }\n\t\n\t function findSharedMarkers(doc) {\n\t return doc.findMarks(Pos(doc.first, 0), doc.clipPos(Pos(doc.lastLine())),\n\t function(m) { return m.parent; });\n\t }\n\t\n\t function copySharedMarkers(doc, markers) {\n\t for (var i = 0; i < markers.length; i++) {\n\t var marker = markers[i], pos = marker.find();\n\t var mFrom = doc.clipPos(pos.from), mTo = doc.clipPos(pos.to);\n\t if (cmp(mFrom, mTo)) {\n\t var subMark = markText(doc, mFrom, mTo, marker.primary, marker.primary.type);\n\t marker.markers.push(subMark);\n\t subMark.parent = marker;\n\t }\n\t }\n\t }\n\t\n\t function detachSharedMarkers(markers) {\n\t for (var i = 0; i < markers.length; i++) {\n\t var marker = markers[i], linked = [marker.primary.doc];;\n\t linkedDocs(marker.primary.doc, function(d) { linked.push(d); });\n\t for (var j = 0; j < marker.markers.length; j++) {\n\t var subMarker = marker.markers[j];\n\t if (indexOf(linked, subMarker.doc) == -1) {\n\t subMarker.parent = null;\n\t marker.markers.splice(j--, 1);\n\t }\n\t }\n\t }\n\t }\n\t\n\t // TEXTMARKER SPANS\n\t\n\t function MarkedSpan(marker, from, to) {\n\t this.marker = marker;\n\t this.from = from; this.to = to;\n\t }\n\t\n\t // Search an array of spans for a span matching the given marker.\n\t function getMarkedSpanFor(spans, marker) {\n\t if (spans) for (var i = 0; i < spans.length; ++i) {\n\t var span = spans[i];\n\t if (span.marker == marker) return span;\n\t }\n\t }\n\t // Remove a span from an array, returning undefined if no spans are\n\t // left (we don't store arrays for lines without spans).\n\t function removeMarkedSpan(spans, span) {\n\t for (var r, i = 0; i < spans.length; ++i)\n\t if (spans[i] != span) (r || (r = [])).push(spans[i]);\n\t return r;\n\t }\n\t // Add a span to a line.\n\t function addMarkedSpan(line, span) {\n\t line.markedSpans = line.markedSpans ? line.markedSpans.concat([span]) : [span];\n\t span.marker.attachLine(line);\n\t }\n\t\n\t // Used for the algorithm that adjusts markers for a change in the\n\t // document. These functions cut an array of spans at a given\n\t // character position, returning an array of remaining chunks (or\n\t // undefined if nothing remains).\n\t function markedSpansBefore(old, startCh, isInsert) {\n\t if (old) for (var i = 0, nw; i < old.length; ++i) {\n\t var span = old[i], marker = span.marker;\n\t var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= startCh : span.from < startCh);\n\t if (startsBefore || span.from == startCh && marker.type == \"bookmark\" && (!isInsert || !span.marker.insertLeft)) {\n\t var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= startCh : span.to > startCh);\n\t (nw || (nw = [])).push(new MarkedSpan(marker, span.from, endsAfter ? null : span.to));\n\t }\n\t }\n\t return nw;\n\t }\n\t function markedSpansAfter(old, endCh, isInsert) {\n\t if (old) for (var i = 0, nw; i < old.length; ++i) {\n\t var span = old[i], marker = span.marker;\n\t var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= endCh : span.to > endCh);\n\t if (endsAfter || span.from == endCh && marker.type == \"bookmark\" && (!isInsert || span.marker.insertLeft)) {\n\t var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= endCh : span.from < endCh);\n\t (nw || (nw = [])).push(new MarkedSpan(marker, startsBefore ? null : span.from - endCh,\n\t span.to == null ? null : span.to - endCh));\n\t }\n\t }\n\t return nw;\n\t }\n\t\n\t // Given a change object, compute the new set of marker spans that\n\t // cover the line in which the change took place. Removes spans\n\t // entirely within the change, reconnects spans belonging to the\n\t // same marker that appear on both sides of the change, and cuts off\n\t // spans partially within the change. Returns an array of span\n\t // arrays with one element for each line in (after) the change.\n\t function stretchSpansOverChange(doc, change) {\n\t if (change.full) return null;\n\t var oldFirst = isLine(doc, change.from.line) && getLine(doc, change.from.line).markedSpans;\n\t var oldLast = isLine(doc, change.to.line) && getLine(doc, change.to.line).markedSpans;\n\t if (!oldFirst && !oldLast) return null;\n\t\n\t var startCh = change.from.ch, endCh = change.to.ch, isInsert = cmp(change.from, change.to) == 0;\n\t // Get the spans that 'stick out' on both sides\n\t var first = markedSpansBefore(oldFirst, startCh, isInsert);\n\t var last = markedSpansAfter(oldLast, endCh, isInsert);\n\t\n\t // Next, merge those two ends\n\t var sameLine = change.text.length == 1, offset = lst(change.text).length + (sameLine ? startCh : 0);\n\t if (first) {\n\t // Fix up .to properties of first\n\t for (var i = 0; i < first.length; ++i) {\n\t var span = first[i];\n\t if (span.to == null) {\n\t var found = getMarkedSpanFor(last, span.marker);\n\t if (!found) span.to = startCh;\n\t else if (sameLine) span.to = found.to == null ? null : found.to + offset;\n\t }\n\t }\n\t }\n\t if (last) {\n\t // Fix up .from in last (or move them into first in case of sameLine)\n\t for (var i = 0; i < last.length; ++i) {\n\t var span = last[i];\n\t if (span.to != null) span.to += offset;\n\t if (span.from == null) {\n\t var found = getMarkedSpanFor(first, span.marker);\n\t if (!found) {\n\t span.from = offset;\n\t if (sameLine) (first || (first = [])).push(span);\n\t }\n\t } else {\n\t span.from += offset;\n\t if (sameLine) (first || (first = [])).push(span);\n\t }\n\t }\n\t }\n\t // Make sure we didn't create any zero-length spans\n\t if (first) first = clearEmptySpans(first);\n\t if (last && last != first) last = clearEmptySpans(last);\n\t\n\t var newMarkers = [first];\n\t if (!sameLine) {\n\t // Fill gap with whole-line-spans\n\t var gap = change.text.length - 2, gapMarkers;\n\t if (gap > 0 && first)\n\t for (var i = 0; i < first.length; ++i)\n\t if (first[i].to == null)\n\t (gapMarkers || (gapMarkers = [])).push(new MarkedSpan(first[i].marker, null, null));\n\t for (var i = 0; i < gap; ++i)\n\t newMarkers.push(gapMarkers);\n\t newMarkers.push(last);\n\t }\n\t return newMarkers;\n\t }\n\t\n\t // Remove spans that are empty and don't have a clearWhenEmpty\n\t // option of false.\n\t function clearEmptySpans(spans) {\n\t for (var i = 0; i < spans.length; ++i) {\n\t var span = spans[i];\n\t if (span.from != null && span.from == span.to && span.marker.clearWhenEmpty !== false)\n\t spans.splice(i--, 1);\n\t }\n\t if (!spans.length) return null;\n\t return spans;\n\t }\n\t\n\t // Used for un/re-doing changes from the history. Combines the\n\t // result of computing the existing spans with the set of spans that\n\t // existed in the history (so that deleting around a span and then\n\t // undoing brings back the span).\n\t function mergeOldSpans(doc, change) {\n\t var old = getOldSpans(doc, change);\n\t var stretched = stretchSpansOverChange(doc, change);\n\t if (!old) return stretched;\n\t if (!stretched) return old;\n\t\n\t for (var i = 0; i < old.length; ++i) {\n\t var oldCur = old[i], stretchCur = stretched[i];\n\t if (oldCur && stretchCur) {\n\t spans: for (var j = 0; j < stretchCur.length; ++j) {\n\t var span = stretchCur[j];\n\t for (var k = 0; k < oldCur.length; ++k)\n\t if (oldCur[k].marker == span.marker) continue spans;\n\t oldCur.push(span);\n\t }\n\t } else if (stretchCur) {\n\t old[i] = stretchCur;\n\t }\n\t }\n\t return old;\n\t }\n\t\n\t // Used to 'clip' out readOnly ranges when making a change.\n\t function removeReadOnlyRanges(doc, from, to) {\n\t var markers = null;\n\t doc.iter(from.line, to.line + 1, function(line) {\n\t if (line.markedSpans) for (var i = 0; i < line.markedSpans.length; ++i) {\n\t var mark = line.markedSpans[i].marker;\n\t if (mark.readOnly && (!markers || indexOf(markers, mark) == -1))\n\t (markers || (markers = [])).push(mark);\n\t }\n\t });\n\t if (!markers) return null;\n\t var parts = [{from: from, to: to}];\n\t for (var i = 0; i < markers.length; ++i) {\n\t var mk = markers[i], m = mk.find(0);\n\t for (var j = 0; j < parts.length; ++j) {\n\t var p = parts[j];\n\t if (cmp(p.to, m.from) < 0 || cmp(p.from, m.to) > 0) continue;\n\t var newParts = [j, 1], dfrom = cmp(p.from, m.from), dto = cmp(p.to, m.to);\n\t if (dfrom < 0 || !mk.inclusiveLeft && !dfrom)\n\t newParts.push({from: p.from, to: m.from});\n\t if (dto > 0 || !mk.inclusiveRight && !dto)\n\t newParts.push({from: m.to, to: p.to});\n\t parts.splice.apply(parts, newParts);\n\t j += newParts.length - 1;\n\t }\n\t }\n\t return parts;\n\t }\n\t\n\t // Connect or disconnect spans from a line.\n\t function detachMarkedSpans(line) {\n\t var spans = line.markedSpans;\n\t if (!spans) return;\n\t for (var i = 0; i < spans.length; ++i)\n\t spans[i].marker.detachLine(line);\n\t line.markedSpans = null;\n\t }\n\t function attachMarkedSpans(line, spans) {\n\t if (!spans) return;\n\t for (var i = 0; i < spans.length; ++i)\n\t spans[i].marker.attachLine(line);\n\t line.markedSpans = spans;\n\t }\n\t\n\t // Helpers used when computing which overlapping collapsed span\n\t // counts as the larger one.\n\t function extraLeft(marker) { return marker.inclusiveLeft ? -1 : 0; }\n\t function extraRight(marker) { return marker.inclusiveRight ? 1 : 0; }\n\t\n\t // Returns a number indicating which of two overlapping collapsed\n\t // spans is larger (and thus includes the other). Falls back to\n\t // comparing ids when the spans cover exactly the same range.\n\t function compareCollapsedMarkers(a, b) {\n\t var lenDiff = a.lines.length - b.lines.length;\n\t if (lenDiff != 0) return lenDiff;\n\t var aPos = a.find(), bPos = b.find();\n\t var fromCmp = cmp(aPos.from, bPos.from) || extraLeft(a) - extraLeft(b);\n\t if (fromCmp) return -fromCmp;\n\t var toCmp = cmp(aPos.to, bPos.to) || extraRight(a) - extraRight(b);\n\t if (toCmp) return toCmp;\n\t return b.id - a.id;\n\t }\n\t\n\t // Find out whether a line ends or starts in a collapsed span. If\n\t // so, return the marker for that span.\n\t function collapsedSpanAtSide(line, start) {\n\t var sps = sawCollapsedSpans && line.markedSpans, found;\n\t if (sps) for (var sp, i = 0; i < sps.length; ++i) {\n\t sp = sps[i];\n\t if (sp.marker.collapsed && (start ? sp.from : sp.to) == null &&\n\t (!found || compareCollapsedMarkers(found, sp.marker) < 0))\n\t found = sp.marker;\n\t }\n\t return found;\n\t }\n\t function collapsedSpanAtStart(line) { return collapsedSpanAtSide(line, true); }\n\t function collapsedSpanAtEnd(line) { return collapsedSpanAtSide(line, false); }\n\t\n\t // Test whether there exists a collapsed span that partially\n\t // overlaps (covers the start or end, but not both) of a new span.\n\t // Such overlap is not allowed.\n\t function conflictingCollapsedRange(doc, lineNo, from, to, marker) {\n\t var line = getLine(doc, lineNo);\n\t var sps = sawCollapsedSpans && line.markedSpans;\n\t if (sps) for (var i = 0; i < sps.length; ++i) {\n\t var sp = sps[i];\n\t if (!sp.marker.collapsed) continue;\n\t var found = sp.marker.find(0);\n\t var fromCmp = cmp(found.from, from) || extraLeft(sp.marker) - extraLeft(marker);\n\t var toCmp = cmp(found.to, to) || extraRight(sp.marker) - extraRight(marker);\n\t if (fromCmp >= 0 && toCmp <= 0 || fromCmp <= 0 && toCmp >= 0) continue;\n\t if (fromCmp <= 0 && (cmp(found.to, from) > 0 || (sp.marker.inclusiveRight && marker.inclusiveLeft)) ||\n\t fromCmp >= 0 && (cmp(found.from, to) < 0 || (sp.marker.inclusiveLeft && marker.inclusiveRight)))\n\t return true;\n\t }\n\t }\n\t\n\t // A visual line is a line as drawn on the screen. Folding, for\n\t // example, can cause multiple logical lines to appear on the same\n\t // visual line. This finds the start of the visual line that the\n\t // given line is part of (usually that is the line itself).\n\t function visualLine(line) {\n\t var merged;\n\t while (merged = collapsedSpanAtStart(line))\n\t line = merged.find(-1, true).line;\n\t return line;\n\t }\n\t\n\t // Returns an array of logical lines that continue the visual line\n\t // started by the argument, or undefined if there are no such lines.\n\t function visualLineContinued(line) {\n\t var merged, lines;\n\t while (merged = collapsedSpanAtEnd(line)) {\n\t line = merged.find(1, true).line;\n\t (lines || (lines = [])).push(line);\n\t }\n\t return lines;\n\t }\n\t\n\t // Get the line number of the start of the visual line that the\n\t // given line number is part of.\n\t function visualLineNo(doc, lineN) {\n\t var line = getLine(doc, lineN), vis = visualLine(line);\n\t if (line == vis) return lineN;\n\t return lineNo(vis);\n\t }\n\t // Get the line number of the start of the next visual line after\n\t // the given line.\n\t function visualLineEndNo(doc, lineN) {\n\t if (lineN > doc.lastLine()) return lineN;\n\t var line = getLine(doc, lineN), merged;\n\t if (!lineIsHidden(doc, line)) return lineN;\n\t while (merged = collapsedSpanAtEnd(line))\n\t line = merged.find(1, true).line;\n\t return lineNo(line) + 1;\n\t }\n\t\n\t // Compute whether a line is hidden. Lines count as hidden when they\n\t // are part of a visual line that starts with another line, or when\n\t // they are entirely covered by collapsed, non-widget span.\n\t function lineIsHidden(doc, line) {\n\t var sps = sawCollapsedSpans && line.markedSpans;\n\t if (sps) for (var sp, i = 0; i < sps.length; ++i) {\n\t sp = sps[i];\n\t if (!sp.marker.collapsed) continue;\n\t if (sp.from == null) return true;\n\t if (sp.marker.widgetNode) continue;\n\t if (sp.from == 0 && sp.marker.inclusiveLeft && lineIsHiddenInner(doc, line, sp))\n\t return true;\n\t }\n\t }\n\t function lineIsHiddenInner(doc, line, span) {\n\t if (span.to == null) {\n\t var end = span.marker.find(1, true);\n\t return lineIsHiddenInner(doc, end.line, getMarkedSpanFor(end.line.markedSpans, span.marker));\n\t }\n\t if (span.marker.inclusiveRight && span.to == line.text.length)\n\t return true;\n\t for (var sp, i = 0; i < line.markedSpans.length; ++i) {\n\t sp = line.markedSpans[i];\n\t if (sp.marker.collapsed && !sp.marker.widgetNode && sp.from == span.to &&\n\t (sp.to == null || sp.to != span.from) &&\n\t (sp.marker.inclusiveLeft || span.marker.inclusiveRight) &&\n\t lineIsHiddenInner(doc, line, sp)) return true;\n\t }\n\t }\n\t\n\t // LINE WIDGETS\n\t\n\t // Line widgets are block elements displayed above or below a line.\n\t\n\t var LineWidget = CodeMirror.LineWidget = function(doc, node, options) {\n\t if (options) for (var opt in options) if (options.hasOwnProperty(opt))\n\t this[opt] = options[opt];\n\t this.doc = doc;\n\t this.node = node;\n\t };\n\t eventMixin(LineWidget);\n\t\n\t function adjustScrollWhenAboveVisible(cm, line, diff) {\n\t if (heightAtLine(line) < ((cm.curOp && cm.curOp.scrollTop) || cm.doc.scrollTop))\n\t addToScrollPos(cm, null, diff);\n\t }\n\t\n\t LineWidget.prototype.clear = function() {\n\t var cm = this.doc.cm, ws = this.line.widgets, line = this.line, no = lineNo(line);\n\t if (no == null || !ws) return;\n\t for (var i = 0; i < ws.length; ++i) if (ws[i] == this) ws.splice(i--, 1);\n\t if (!ws.length) line.widgets = null;\n\t var height = widgetHeight(this);\n\t updateLineHeight(line, Math.max(0, line.height - height));\n\t if (cm) runInOp(cm, function() {\n\t adjustScrollWhenAboveVisible(cm, line, -height);\n\t regLineChange(cm, no, \"widget\");\n\t });\n\t };\n\t LineWidget.prototype.changed = function() {\n\t var oldH = this.height, cm = this.doc.cm, line = this.line;\n\t this.height = null;\n\t var diff = widgetHeight(this) - oldH;\n\t if (!diff) return;\n\t updateLineHeight(line, line.height + diff);\n\t if (cm) runInOp(cm, function() {\n\t cm.curOp.forceUpdate = true;\n\t adjustScrollWhenAboveVisible(cm, line, diff);\n\t });\n\t };\n\t\n\t function widgetHeight(widget) {\n\t if (widget.height != null) return widget.height;\n\t var cm = widget.doc.cm;\n\t if (!cm) return 0;\n\t if (!contains(document.body, widget.node)) {\n\t var parentStyle = \"position: relative;\";\n\t if (widget.coverGutter)\n\t parentStyle += \"margin-left: -\" + cm.display.gutters.offsetWidth + \"px;\";\n\t if (widget.noHScroll)\n\t parentStyle += \"width: \" + cm.display.wrapper.clientWidth + \"px;\";\n\t removeChildrenAndAdd(cm.display.measure, elt(\"div\", [widget.node], null, parentStyle));\n\t }\n\t return widget.height = widget.node.offsetHeight;\n\t }\n\t\n\t function addLineWidget(doc, handle, node, options) {\n\t var widget = new LineWidget(doc, node, options);\n\t var cm = doc.cm;\n\t if (cm && widget.noHScroll) cm.display.alignWidgets = true;\n\t changeLine(doc, handle, \"widget\", function(line) {\n\t var widgets = line.widgets || (line.widgets = []);\n\t if (widget.insertAt == null) widgets.push(widget);\n\t else widgets.splice(Math.min(widgets.length - 1, Math.max(0, widget.insertAt)), 0, widget);\n\t widget.line = line;\n\t if (cm && !lineIsHidden(doc, line)) {\n\t var aboveVisible = heightAtLine(line) < doc.scrollTop;\n\t updateLineHeight(line, line.height + widgetHeight(widget));\n\t if (aboveVisible) addToScrollPos(cm, null, widget.height);\n\t cm.curOp.forceUpdate = true;\n\t }\n\t return true;\n\t });\n\t return widget;\n\t }\n\t\n\t // LINE DATA STRUCTURE\n\t\n\t // Line objects. These hold state related to a line, including\n\t // highlighting info (the styles array).\n\t var Line = CodeMirror.Line = function(text, markedSpans, estimateHeight) {\n\t this.text = text;\n\t attachMarkedSpans(this, markedSpans);\n\t this.height = estimateHeight ? estimateHeight(this) : 1;\n\t };\n\t eventMixin(Line);\n\t Line.prototype.lineNo = function() { return lineNo(this); };\n\t\n\t // Change the content (text, markers) of a line. Automatically\n\t // invalidates cached information and tries to re-estimate the\n\t // line's height.\n\t function updateLine(line, text, markedSpans, estimateHeight) {\n\t line.text = text;\n\t if (line.stateAfter) line.stateAfter = null;\n\t if (line.styles) line.styles = null;\n\t if (line.order != null) line.order = null;\n\t detachMarkedSpans(line);\n\t attachMarkedSpans(line, markedSpans);\n\t var estHeight = estimateHeight ? estimateHeight(line) : 1;\n\t if (estHeight != line.height) updateLineHeight(line, estHeight);\n\t }\n\t\n\t // Detach a line from the document tree and its markers.\n\t function cleanUpLine(line) {\n\t line.parent = null;\n\t detachMarkedSpans(line);\n\t }\n\t\n\t function extractLineClasses(type, output) {\n\t if (type) for (;;) {\n\t var lineClass = type.match(/(?:^|\\s+)line-(background-)?(\\S+)/);\n\t if (!lineClass) break;\n\t type = type.slice(0, lineClass.index) + type.slice(lineClass.index + lineClass[0].length);\n\t var prop = lineClass[1] ? \"bgClass\" : \"textClass\";\n\t if (output[prop] == null)\n\t output[prop] = lineClass[2];\n\t else if (!(new RegExp(\"(?:^|\\s)\" + lineClass[2] + \"(?:$|\\s)\")).test(output[prop]))\n\t output[prop] += \" \" + lineClass[2];\n\t }\n\t return type;\n\t }\n\t\n\t function callBlankLine(mode, state) {\n\t if (mode.blankLine) return mode.blankLine(state);\n\t if (!mode.innerMode) return;\n\t var inner = CodeMirror.innerMode(mode, state);\n\t if (inner.mode.blankLine) return inner.mode.blankLine(inner.state);\n\t }\n\t\n\t function readToken(mode, stream, state, inner) {\n\t for (var i = 0; i < 10; i++) {\n\t if (inner) inner[0] = CodeMirror.innerMode(mode, state).mode;\n\t var style = mode.token(stream, state);\n\t if (stream.pos > stream.start) return style;\n\t }\n\t throw new Error(\"Mode \" + mode.name + \" failed to advance stream.\");\n\t }\n\t\n\t // Utility for getTokenAt and getLineTokens\n\t function takeToken(cm, pos, precise, asArray) {\n\t function getObj(copy) {\n\t return {start: stream.start, end: stream.pos,\n\t string: stream.current(),\n\t type: style || null,\n\t state: copy ? copyState(doc.mode, state) : state};\n\t }\n\t\n\t var doc = cm.doc, mode = doc.mode, style;\n\t pos = clipPos(doc, pos);\n\t var line = getLine(doc, pos.line), state = getStateBefore(cm, pos.line, precise);\n\t var stream = new StringStream(line.text, cm.options.tabSize), tokens;\n\t if (asArray) tokens = [];\n\t while ((asArray || stream.pos < pos.ch) && !stream.eol()) {\n\t stream.start = stream.pos;\n\t style = readToken(mode, stream, state);\n\t if (asArray) tokens.push(getObj(true));\n\t }\n\t return asArray ? tokens : getObj();\n\t }\n\t\n\t // Run the given mode's parser over a line, calling f for each token.\n\t function runMode(cm, text, mode, state, f, lineClasses, forceToEnd) {\n\t var flattenSpans = mode.flattenSpans;\n\t if (flattenSpans == null) flattenSpans = cm.options.flattenSpans;\n\t var curStart = 0, curStyle = null;\n\t var stream = new StringStream(text, cm.options.tabSize), style;\n\t var inner = cm.options.addModeClass && [null];\n\t if (text == \"\") extractLineClasses(callBlankLine(mode, state), lineClasses);\n\t while (!stream.eol()) {\n\t if (stream.pos > cm.options.maxHighlightLength) {\n\t flattenSpans = false;\n\t if (forceToEnd) processLine(cm, text, state, stream.pos);\n\t stream.pos = text.length;\n\t style = null;\n\t } else {\n\t style = extractLineClasses(readToken(mode, stream, state, inner), lineClasses);\n\t }\n\t if (inner) {\n\t var mName = inner[0].name;\n\t if (mName) style = \"m-\" + (style ? mName + \" \" + style : mName);\n\t }\n\t if (!flattenSpans || curStyle != style) {\n\t while (curStart < stream.start) {\n\t curStart = Math.min(stream.start, curStart + 50000);\n\t f(curStart, curStyle);\n\t }\n\t curStyle = style;\n\t }\n\t stream.start = stream.pos;\n\t }\n\t while (curStart < stream.pos) {\n\t // Webkit seems to refuse to render text nodes longer than 57444 characters\n\t var pos = Math.min(stream.pos, curStart + 50000);\n\t f(pos, curStyle);\n\t curStart = pos;\n\t }\n\t }\n\t\n\t // Compute a style array (an array starting with a mode generation\n\t // -- for invalidation -- followed by pairs of end positions and\n\t // style strings), which is used to highlight the tokens on the\n\t // line.\n\t function highlightLine(cm, line, state, forceToEnd) {\n\t // A styles array always starts with a number identifying the\n\t // mode/overlays that it is based on (for easy invalidation).\n\t var st = [cm.state.modeGen], lineClasses = {};\n\t // Compute the base array of styles\n\t runMode(cm, line.text, cm.doc.mode, state, function(end, style) {\n\t st.push(end, style);\n\t }, lineClasses, forceToEnd);\n\t\n\t // Run overlays, adjust style array.\n\t for (var o = 0; o < cm.state.overlays.length; ++o) {\n\t var overlay = cm.state.overlays[o], i = 1, at = 0;\n\t runMode(cm, line.text, overlay.mode, true, function(end, style) {\n\t var start = i;\n\t // Ensure there's a token end at the current position, and that i points at it\n\t while (at < end) {\n\t var i_end = st[i];\n\t if (i_end > end)\n\t st.splice(i, 1, end, st[i+1], i_end);\n\t i += 2;\n\t at = Math.min(end, i_end);\n\t }\n\t if (!style) return;\n\t if (overlay.opaque) {\n\t st.splice(start, i - start, end, \"cm-overlay \" + style);\n\t i = start + 2;\n\t } else {\n\t for (; start < i; start += 2) {\n\t var cur = st[start+1];\n\t st[start+1] = (cur ? cur + \" \" : \"\") + \"cm-overlay \" + style;\n\t }\n\t }\n\t }, lineClasses);\n\t }\n\t\n\t return {styles: st, classes: lineClasses.bgClass || lineClasses.textClass ? lineClasses : null};\n\t }\n\t\n\t function getLineStyles(cm, line, updateFrontier) {\n\t if (!line.styles || line.styles[0] != cm.state.modeGen) {\n\t var result = highlightLine(cm, line, line.stateAfter = getStateBefore(cm, lineNo(line)));\n\t line.styles = result.styles;\n\t if (result.classes) line.styleClasses = result.classes;\n\t else if (line.styleClasses) line.styleClasses = null;\n\t if (updateFrontier === cm.doc.frontier) cm.doc.frontier++;\n\t }\n\t return line.styles;\n\t }\n\t\n\t // Lightweight form of highlight -- proceed over this line and\n\t // update state, but don't save a style array. Used for lines that\n\t // aren't currently visible.\n\t function processLine(cm, text, state, startAt) {\n\t var mode = cm.doc.mode;\n\t var stream = new StringStream(text, cm.options.tabSize);\n\t stream.start = stream.pos = startAt || 0;\n\t if (text == \"\") callBlankLine(mode, state);\n\t while (!stream.eol() && stream.pos <= cm.options.maxHighlightLength) {\n\t readToken(mode, stream, state);\n\t stream.start = stream.pos;\n\t }\n\t }\n\t\n\t // Convert a style as returned by a mode (either null, or a string\n\t // containing one or more styles) to a CSS style. This is cached,\n\t // and also looks for line-wide styles.\n\t var styleToClassCache = {}, styleToClassCacheWithMode = {};\n\t function interpretTokenStyle(style, options) {\n\t if (!style || /^\\s*$/.test(style)) return null;\n\t var cache = options.addModeClass ? styleToClassCacheWithMode : styleToClassCache;\n\t return cache[style] ||\n\t (cache[style] = style.replace(/\\S+/g, \"cm-$&\"));\n\t }\n\t\n\t // Render the DOM representation of the text of a line. Also builds\n\t // up a 'line map', which points at the DOM nodes that represent\n\t // specific stretches of text, and is used by the measuring code.\n\t // The returned object contains the DOM node, this map, and\n\t // information about line-wide styles that were set by the mode.\n\t function buildLineContent(cm, lineView) {\n\t // The padding-right forces the element to have a 'border', which\n\t // is needed on Webkit to be able to get line-level bounding\n\t // rectangles for it (in measureChar).\n\t var content = elt(\"span\", null, null, webkit ? \"padding-right: .1px\" : null);\n\t var builder = {pre: elt(\"pre\", [content], \"CodeMirror-line\"), content: content,\n\t col: 0, pos: 0, cm: cm,\n\t splitSpaces: (ie || webkit) && cm.getOption(\"lineWrapping\")};\n\t lineView.measure = {};\n\t\n\t // Iterate over the logical lines that make up this visual line.\n\t for (var i = 0; i <= (lineView.rest ? lineView.rest.length : 0); i++) {\n\t var line = i ? lineView.rest[i - 1] : lineView.line, order;\n\t builder.pos = 0;\n\t builder.addToken = buildToken;\n\t // Optionally wire in some hacks into the token-rendering\n\t // algorithm, to deal with browser quirks.\n\t if (hasBadBidiRects(cm.display.measure) && (order = getOrder(line)))\n\t builder.addToken = buildTokenBadBidi(builder.addToken, order);\n\t builder.map = [];\n\t var allowFrontierUpdate = lineView != cm.display.externalMeasured && lineNo(line);\n\t insertLineContent(line, builder, getLineStyles(cm, line, allowFrontierUpdate));\n\t if (line.styleClasses) {\n\t if (line.styleClasses.bgClass)\n\t builder.bgClass = joinClasses(line.styleClasses.bgClass, builder.bgClass || \"\");\n\t if (line.styleClasses.textClass)\n\t builder.textClass = joinClasses(line.styleClasses.textClass, builder.textClass || \"\");\n\t }\n\t\n\t // Ensure at least a single node is present, for measuring.\n\t if (builder.map.length == 0)\n\t builder.map.push(0, 0, builder.content.appendChild(zeroWidthElement(cm.display.measure)));\n\t\n\t // Store the map and a cache object for the current logical line\n\t if (i == 0) {\n\t lineView.measure.map = builder.map;\n\t lineView.measure.cache = {};\n\t } else {\n\t (lineView.measure.maps || (lineView.measure.maps = [])).push(builder.map);\n\t (lineView.measure.caches || (lineView.measure.caches = [])).push({});\n\t }\n\t }\n\t\n\t // See issue #2901\n\t if (webkit && /\\bcm-tab\\b/.test(builder.content.lastChild.className))\n\t builder.content.className = \"cm-tab-wrap-hack\";\n\t\n\t signal(cm, \"renderLine\", cm, lineView.line, builder.pre);\n\t if (builder.pre.className)\n\t builder.textClass = joinClasses(builder.pre.className, builder.textClass || \"\");\n\t\n\t return builder;\n\t }\n\t\n\t function defaultSpecialCharPlaceholder(ch) {\n\t var token = elt(\"span\", \"\\u2022\", \"cm-invalidchar\");\n\t token.title = \"\\\\u\" + ch.charCodeAt(0).toString(16);\n\t token.setAttribute(\"aria-label\", token.title);\n\t return token;\n\t }\n\t\n\t // Build up the DOM representation for a single token, and add it to\n\t // the line map. Takes care to render special characters separately.\n\t function buildToken(builder, text, style, startStyle, endStyle, title, css) {\n\t if (!text) return;\n\t var displayText = builder.splitSpaces ? text.replace(/ {3,}/g, splitSpaces) : text;\n\t var special = builder.cm.state.specialChars, mustWrap = false;\n\t if (!special.test(text)) {\n\t builder.col += text.length;\n\t var content = document.createTextNode(displayText);\n\t builder.map.push(builder.pos, builder.pos + text.length, content);\n\t if (ie && ie_version < 9) mustWrap = true;\n\t builder.pos += text.length;\n\t } else {\n\t var content = document.createDocumentFragment(), pos = 0;\n\t while (true) {\n\t special.lastIndex = pos;\n\t var m = special.exec(text);\n\t var skipped = m ? m.index - pos : text.length - pos;\n\t if (skipped) {\n\t var txt = document.createTextNode(displayText.slice(pos, pos + skipped));\n\t if (ie && ie_version < 9) content.appendChild(elt(\"span\", [txt]));\n\t else content.appendChild(txt);\n\t builder.map.push(builder.pos, builder.pos + skipped, txt);\n\t builder.col += skipped;\n\t builder.pos += skipped;\n\t }\n\t if (!m) break;\n\t pos += skipped + 1;\n\t if (m[0] == \"\\t\") {\n\t var tabSize = builder.cm.options.tabSize, tabWidth = tabSize - builder.col % tabSize;\n\t var txt = content.appendChild(elt(\"span\", spaceStr(tabWidth), \"cm-tab\"));\n\t txt.setAttribute(\"role\", \"presentation\");\n\t txt.setAttribute(\"cm-text\", \"\\t\");\n\t builder.col += tabWidth;\n\t } else if (m[0] == \"\\r\" || m[0] == \"\\n\") {\n\t var txt = content.appendChild(elt(\"span\", m[0] == \"\\r\" ? \"␍\" : \"␤\", \"cm-invalidchar\"));\n\t txt.setAttribute(\"cm-text\", m[0]);\n\t builder.col += 1;\n\t } else {\n\t var txt = builder.cm.options.specialCharPlaceholder(m[0]);\n\t txt.setAttribute(\"cm-text\", m[0]);\n\t if (ie && ie_version < 9) content.appendChild(elt(\"span\", [txt]));\n\t else content.appendChild(txt);\n\t builder.col += 1;\n\t }\n\t builder.map.push(builder.pos, builder.pos + 1, txt);\n\t builder.pos++;\n\t }\n\t }\n\t if (style || startStyle || endStyle || mustWrap || css) {\n\t var fullStyle = style || \"\";\n\t if (startStyle) fullStyle += startStyle;\n\t if (endStyle) fullStyle += endStyle;\n\t var token = elt(\"span\", [content], fullStyle, css);\n\t if (title) token.title = title;\n\t return builder.content.appendChild(token);\n\t }\n\t builder.content.appendChild(content);\n\t }\n\t\n\t function splitSpaces(old) {\n\t var out = \" \";\n\t for (var i = 0; i < old.length - 2; ++i) out += i % 2 ? \" \" : \"\\u00a0\";\n\t out += \" \";\n\t return out;\n\t }\n\t\n\t // Work around nonsense dimensions being reported for stretches of\n\t // right-to-left text.\n\t function buildTokenBadBidi(inner, order) {\n\t return function(builder, text, style, startStyle, endStyle, title, css) {\n\t style = style ? style + \" cm-force-border\" : \"cm-force-border\";\n\t var start = builder.pos, end = start + text.length;\n\t for (;;) {\n\t // Find the part that overlaps with the start of this text\n\t for (var i = 0; i < order.length; i++) {\n\t var part = order[i];\n\t if (part.to > start && part.from <= start) break;\n\t }\n\t if (part.to >= end) return inner(builder, text, style, startStyle, endStyle, title, css);\n\t inner(builder, text.slice(0, part.to - start), style, startStyle, null, title, css);\n\t startStyle = null;\n\t text = text.slice(part.to - start);\n\t start = part.to;\n\t }\n\t };\n\t }\n\t\n\t function buildCollapsedSpan(builder, size, marker, ignoreWidget) {\n\t var widget = !ignoreWidget && marker.widgetNode;\n\t if (widget) builder.map.push(builder.pos, builder.pos + size, widget);\n\t if (!ignoreWidget && builder.cm.display.input.needsContentAttribute) {\n\t if (!widget)\n\t widget = builder.content.appendChild(document.createElement(\"span\"));\n\t widget.setAttribute(\"cm-marker\", marker.id);\n\t }\n\t if (widget) {\n\t builder.cm.display.input.setUneditable(widget);\n\t builder.content.appendChild(widget);\n\t }\n\t builder.pos += size;\n\t }\n\t\n\t // Outputs a number of spans to make up a line, taking highlighting\n\t // and marked text into account.\n\t function insertLineContent(line, builder, styles) {\n\t var spans = line.markedSpans, allText = line.text, at = 0;\n\t if (!spans) {\n\t for (var i = 1; i < styles.length; i+=2)\n\t builder.addToken(builder, allText.slice(at, at = styles[i]), interpretTokenStyle(styles[i+1], builder.cm.options));\n\t return;\n\t }\n\t\n\t var len = allText.length, pos = 0, i = 1, text = \"\", style, css;\n\t var nextChange = 0, spanStyle, spanEndStyle, spanStartStyle, title, collapsed;\n\t for (;;) {\n\t if (nextChange == pos) { // Update current marker set\n\t spanStyle = spanEndStyle = spanStartStyle = title = css = \"\";\n\t collapsed = null; nextChange = Infinity;\n\t var foundBookmarks = [];\n\t for (var j = 0; j < spans.length; ++j) {\n\t var sp = spans[j], m = sp.marker;\n\t if (m.type == \"bookmark\" && sp.from == pos && m.widgetNode) {\n\t foundBookmarks.push(m);\n\t } else if (sp.from <= pos && (sp.to == null || sp.to > pos || m.collapsed && sp.to == pos && sp.from == pos)) {\n\t if (sp.to != null && sp.to != pos && nextChange > sp.to) {\n\t nextChange = sp.to;\n\t spanEndStyle = \"\";\n\t }\n\t if (m.className) spanStyle += \" \" + m.className;\n\t if (m.css) css = m.css;\n\t if (m.startStyle && sp.from == pos) spanStartStyle += \" \" + m.startStyle;\n\t if (m.endStyle && sp.to == nextChange) spanEndStyle += \" \" + m.endStyle;\n\t if (m.title && !title) title = m.title;\n\t if (m.collapsed && (!collapsed || compareCollapsedMarkers(collapsed.marker, m) < 0))\n\t collapsed = sp;\n\t } else if (sp.from > pos && nextChange > sp.from) {\n\t nextChange = sp.from;\n\t }\n\t }\n\t if (collapsed && (collapsed.from || 0) == pos) {\n\t buildCollapsedSpan(builder, (collapsed.to == null ? len + 1 : collapsed.to) - pos,\n\t collapsed.marker, collapsed.from == null);\n\t if (collapsed.to == null) return;\n\t if (collapsed.to == pos) collapsed = false;\n\t }\n\t if (!collapsed && foundBookmarks.length) for (var j = 0; j < foundBookmarks.length; ++j)\n\t buildCollapsedSpan(builder, 0, foundBookmarks[j]);\n\t }\n\t if (pos >= len) break;\n\t\n\t var upto = Math.min(len, nextChange);\n\t while (true) {\n\t if (text) {\n\t var end = pos + text.length;\n\t if (!collapsed) {\n\t var tokenText = end > upto ? text.slice(0, upto - pos) : text;\n\t builder.addToken(builder, tokenText, style ? style + spanStyle : spanStyle,\n\t spanStartStyle, pos + tokenText.length == nextChange ? spanEndStyle : \"\", title, css);\n\t }\n\t if (end >= upto) {text = text.slice(upto - pos); pos = upto; break;}\n\t pos = end;\n\t spanStartStyle = \"\";\n\t }\n\t text = allText.slice(at, at = styles[i++]);\n\t style = interpretTokenStyle(styles[i++], builder.cm.options);\n\t }\n\t }\n\t }\n\t\n\t // DOCUMENT DATA STRUCTURE\n\t\n\t // By default, updates that start and end at the beginning of a line\n\t // are treated specially, in order to make the association of line\n\t // widgets and marker elements with the text behave more intuitive.\n\t function isWholeLineUpdate(doc, change) {\n\t return change.from.ch == 0 && change.to.ch == 0 && lst(change.text) == \"\" &&\n\t (!doc.cm || doc.cm.options.wholeLineUpdateBefore);\n\t }\n\t\n\t // Perform a change on the document data structure.\n\t function updateDoc(doc, change, markedSpans, estimateHeight) {\n\t function spansFor(n) {return markedSpans ? markedSpans[n] : null;}\n\t function update(line, text, spans) {\n\t updateLine(line, text, spans, estimateHeight);\n\t signalLater(line, \"change\", line, change);\n\t }\n\t function linesFor(start, end) {\n\t for (var i = start, result = []; i < end; ++i)\n\t result.push(new Line(text[i], spansFor(i), estimateHeight));\n\t return result;\n\t }\n\t\n\t var from = change.from, to = change.to, text = change.text;\n\t var firstLine = getLine(doc, from.line), lastLine = getLine(doc, to.line);\n\t var lastText = lst(text), lastSpans = spansFor(text.length - 1), nlines = to.line - from.line;\n\t\n\t // Adjust the line structure\n\t if (change.full) {\n\t doc.insert(0, linesFor(0, text.length));\n\t doc.remove(text.length, doc.size - text.length);\n\t } else if (isWholeLineUpdate(doc, change)) {\n\t // This is a whole-line replace. Treated specially to make\n\t // sure line objects move the way they are supposed to.\n\t var added = linesFor(0, text.length - 1);\n\t update(lastLine, lastLine.text, lastSpans);\n\t if (nlines) doc.remove(from.line, nlines);\n\t if (added.length) doc.insert(from.line, added);\n\t } else if (firstLine == lastLine) {\n\t if (text.length == 1) {\n\t update(firstLine, firstLine.text.slice(0, from.ch) + lastText + firstLine.text.slice(to.ch), lastSpans);\n\t } else {\n\t var added = linesFor(1, text.length - 1);\n\t added.push(new Line(lastText + firstLine.text.slice(to.ch), lastSpans, estimateHeight));\n\t update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0));\n\t doc.insert(from.line + 1, added);\n\t }\n\t } else if (text.length == 1) {\n\t update(firstLine, firstLine.text.slice(0, from.ch) + text[0] + lastLine.text.slice(to.ch), spansFor(0));\n\t doc.remove(from.line + 1, nlines);\n\t } else {\n\t update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0));\n\t update(lastLine, lastText + lastLine.text.slice(to.ch), lastSpans);\n\t var added = linesFor(1, text.length - 1);\n\t if (nlines > 1) doc.remove(from.line + 1, nlines - 1);\n\t doc.insert(from.line + 1, added);\n\t }\n\t\n\t signalLater(doc, \"change\", doc, change);\n\t }\n\t\n\t // The document is represented as a BTree consisting of leaves, with\n\t // chunk of lines in them, and branches, with up to ten leaves or\n\t // other branch nodes below them. The top node is always a branch\n\t // node, and is the document object itself (meaning it has\n\t // additional methods and properties).\n\t //\n\t // All nodes have parent links. The tree is used both to go from\n\t // line numbers to line objects, and to go from objects to numbers.\n\t // It also indexes by height, and is used to convert between height\n\t // and line object, and to find the total height of the document.\n\t //\n\t // See also http://marijnhaverbeke.nl/blog/codemirror-line-tree.html\n\t\n\t function LeafChunk(lines) {\n\t this.lines = lines;\n\t this.parent = null;\n\t for (var i = 0, height = 0; i < lines.length; ++i) {\n\t lines[i].parent = this;\n\t height += lines[i].height;\n\t }\n\t this.height = height;\n\t }\n\t\n\t LeafChunk.prototype = {\n\t chunkSize: function() { return this.lines.length; },\n\t // Remove the n lines at offset 'at'.\n\t removeInner: function(at, n) {\n\t for (var i = at, e = at + n; i < e; ++i) {\n\t var line = this.lines[i];\n\t this.height -= line.height;\n\t cleanUpLine(line);\n\t signalLater(line, \"delete\");\n\t }\n\t this.lines.splice(at, n);\n\t },\n\t // Helper used to collapse a small branch into a single leaf.\n\t collapse: function(lines) {\n\t lines.push.apply(lines, this.lines);\n\t },\n\t // Insert the given array of lines at offset 'at', count them as\n\t // having the given height.\n\t insertInner: function(at, lines, height) {\n\t this.height += height;\n\t this.lines = this.lines.slice(0, at).concat(lines).concat(this.lines.slice(at));\n\t for (var i = 0; i < lines.length; ++i) lines[i].parent = this;\n\t },\n\t // Used to iterate over a part of the tree.\n\t iterN: function(at, n, op) {\n\t for (var e = at + n; at < e; ++at)\n\t if (op(this.lines[at])) return true;\n\t }\n\t };\n\t\n\t function BranchChunk(children) {\n\t this.children = children;\n\t var size = 0, height = 0;\n\t for (var i = 0; i < children.length; ++i) {\n\t var ch = children[i];\n\t size += ch.chunkSize(); height += ch.height;\n\t ch.parent = this;\n\t }\n\t this.size = size;\n\t this.height = height;\n\t this.parent = null;\n\t }\n\t\n\t BranchChunk.prototype = {\n\t chunkSize: function() { return this.size; },\n\t removeInner: function(at, n) {\n\t this.size -= n;\n\t for (var i = 0; i < this.children.length; ++i) {\n\t var child = this.children[i], sz = child.chunkSize();\n\t if (at < sz) {\n\t var rm = Math.min(n, sz - at), oldHeight = child.height;\n\t child.removeInner(at, rm);\n\t this.height -= oldHeight - child.height;\n\t if (sz == rm) { this.children.splice(i--, 1); child.parent = null; }\n\t if ((n -= rm) == 0) break;\n\t at = 0;\n\t } else at -= sz;\n\t }\n\t // If the result is smaller than 25 lines, ensure that it is a\n\t // single leaf node.\n\t if (this.size - n < 25 &&\n\t (this.children.length > 1 || !(this.children[0] instanceof LeafChunk))) {\n\t var lines = [];\n\t this.collapse(lines);\n\t this.children = [new LeafChunk(lines)];\n\t this.children[0].parent = this;\n\t }\n\t },\n\t collapse: function(lines) {\n\t for (var i = 0; i < this.children.length; ++i) this.children[i].collapse(lines);\n\t },\n\t insertInner: function(at, lines, height) {\n\t this.size += lines.length;\n\t this.height += height;\n\t for (var i = 0; i < this.children.length; ++i) {\n\t var child = this.children[i], sz = child.chunkSize();\n\t if (at <= sz) {\n\t child.insertInner(at, lines, height);\n\t if (child.lines && child.lines.length > 50) {\n\t while (child.lines.length > 50) {\n\t var spilled = child.lines.splice(child.lines.length - 25, 25);\n\t var newleaf = new LeafChunk(spilled);\n\t child.height -= newleaf.height;\n\t this.children.splice(i + 1, 0, newleaf);\n\t newleaf.parent = this;\n\t }\n\t this.maybeSpill();\n\t }\n\t break;\n\t }\n\t at -= sz;\n\t }\n\t },\n\t // When a node has grown, check whether it should be split.\n\t maybeSpill: function() {\n\t if (this.children.length <= 10) return;\n\t var me = this;\n\t do {\n\t var spilled = me.children.splice(me.children.length - 5, 5);\n\t var sibling = new BranchChunk(spilled);\n\t if (!me.parent) { // Become the parent node\n\t var copy = new BranchChunk(me.children);\n\t copy.parent = me;\n\t me.children = [copy, sibling];\n\t me = copy;\n\t } else {\n\t me.size -= sibling.size;\n\t me.height -= sibling.height;\n\t var myIndex = indexOf(me.parent.children, me);\n\t me.parent.children.splice(myIndex + 1, 0, sibling);\n\t }\n\t sibling.parent = me.parent;\n\t } while (me.children.length > 10);\n\t me.parent.maybeSpill();\n\t },\n\t iterN: function(at, n, op) {\n\t for (var i = 0; i < this.children.length; ++i) {\n\t var child = this.children[i], sz = child.chunkSize();\n\t if (at < sz) {\n\t var used = Math.min(n, sz - at);\n\t if (child.iterN(at, used, op)) return true;\n\t if ((n -= used) == 0) break;\n\t at = 0;\n\t } else at -= sz;\n\t }\n\t }\n\t };\n\t\n\t var nextDocId = 0;\n\t var Doc = CodeMirror.Doc = function(text, mode, firstLine, lineSep) {\n\t if (!(this instanceof Doc)) return new Doc(text, mode, firstLine, lineSep);\n\t if (firstLine == null) firstLine = 0;\n\t\n\t BranchChunk.call(this, [new LeafChunk([new Line(\"\", null)])]);\n\t this.first = firstLine;\n\t this.scrollTop = this.scrollLeft = 0;\n\t this.cantEdit = false;\n\t this.cleanGeneration = 1;\n\t this.frontier = firstLine;\n\t var start = Pos(firstLine, 0);\n\t this.sel = simpleSelection(start);\n\t this.history = new History(null);\n\t this.id = ++nextDocId;\n\t this.modeOption = mode;\n\t this.lineSep = lineSep;\n\t\n\t if (typeof text == \"string\") text = this.splitLines(text);\n\t updateDoc(this, {from: start, to: start, text: text});\n\t setSelection(this, simpleSelection(start), sel_dontScroll);\n\t };\n\t\n\t Doc.prototype = createObj(BranchChunk.prototype, {\n\t constructor: Doc,\n\t // Iterate over the document. Supports two forms -- with only one\n\t // argument, it calls that for each line in the document. With\n\t // three, it iterates over the range given by the first two (with\n\t // the second being non-inclusive).\n\t iter: function(from, to, op) {\n\t if (op) this.iterN(from - this.first, to - from, op);\n\t else this.iterN(this.first, this.first + this.size, from);\n\t },\n\t\n\t // Non-public interface for adding and removing lines.\n\t insert: function(at, lines) {\n\t var height = 0;\n\t for (var i = 0; i < lines.length; ++i) height += lines[i].height;\n\t this.insertInner(at - this.first, lines, height);\n\t },\n\t remove: function(at, n) { this.removeInner(at - this.first, n); },\n\t\n\t // From here, the methods are part of the public interface. Most\n\t // are also available from CodeMirror (editor) instances.\n\t\n\t getValue: function(lineSep) {\n\t var lines = getLines(this, this.first, this.first + this.size);\n\t if (lineSep === false) return lines;\n\t return lines.join(lineSep || this.lineSeparator());\n\t },\n\t setValue: docMethodOp(function(code) {\n\t var top = Pos(this.first, 0), last = this.first + this.size - 1;\n\t makeChange(this, {from: top, to: Pos(last, getLine(this, last).text.length),\n\t text: this.splitLines(code), origin: \"setValue\", full: true}, true);\n\t setSelection(this, simpleSelection(top));\n\t }),\n\t replaceRange: function(code, from, to, origin) {\n\t from = clipPos(this, from);\n\t to = to ? clipPos(this, to) : from;\n\t replaceRange(this, code, from, to, origin);\n\t },\n\t getRange: function(from, to, lineSep) {\n\t var lines = getBetween(this, clipPos(this, from), clipPos(this, to));\n\t if (lineSep === false) return lines;\n\t return lines.join(lineSep || this.lineSeparator());\n\t },\n\t\n\t getLine: function(line) {var l = this.getLineHandle(line); return l && l.text;},\n\t\n\t getLineHandle: function(line) {if (isLine(this, line)) return getLine(this, line);},\n\t getLineNumber: function(line) {return lineNo(line);},\n\t\n\t getLineHandleVisualStart: function(line) {\n\t if (typeof line == \"number\") line = getLine(this, line);\n\t return visualLine(line);\n\t },\n\t\n\t lineCount: function() {return this.size;},\n\t firstLine: function() {return this.first;},\n\t lastLine: function() {return this.first + this.size - 1;},\n\t\n\t clipPos: function(pos) {return clipPos(this, pos);},\n\t\n\t getCursor: function(start) {\n\t var range = this.sel.primary(), pos;\n\t if (start == null || start == \"head\") pos = range.head;\n\t else if (start == \"anchor\") pos = range.anchor;\n\t else if (start == \"end\" || start == \"to\" || start === false) pos = range.to();\n\t else pos = range.from();\n\t return pos;\n\t },\n\t listSelections: function() { return this.sel.ranges; },\n\t somethingSelected: function() {return this.sel.somethingSelected();},\n\t\n\t setCursor: docMethodOp(function(line, ch, options) {\n\t setSimpleSelection(this, clipPos(this, typeof line == \"number\" ? Pos(line, ch || 0) : line), null, options);\n\t }),\n\t setSelection: docMethodOp(function(anchor, head, options) {\n\t setSimpleSelection(this, clipPos(this, anchor), clipPos(this, head || anchor), options);\n\t }),\n\t extendSelection: docMethodOp(function(head, other, options) {\n\t extendSelection(this, clipPos(this, head), other && clipPos(this, other), options);\n\t }),\n\t extendSelections: docMethodOp(function(heads, options) {\n\t extendSelections(this, clipPosArray(this, heads, options));\n\t }),\n\t extendSelectionsBy: docMethodOp(function(f, options) {\n\t extendSelections(this, map(this.sel.ranges, f), options);\n\t }),\n\t setSelections: docMethodOp(function(ranges, primary, options) {\n\t if (!ranges.length) return;\n\t for (var i = 0, out = []; i < ranges.length; i++)\n\t out[i] = new Range(clipPos(this, ranges[i].anchor),\n\t clipPos(this, ranges[i].head));\n\t if (primary == null) primary = Math.min(ranges.length - 1, this.sel.primIndex);\n\t setSelection(this, normalizeSelection(out, primary), options);\n\t }),\n\t addSelection: docMethodOp(function(anchor, head, options) {\n\t var ranges = this.sel.ranges.slice(0);\n\t ranges.push(new Range(clipPos(this, anchor), clipPos(this, head || anchor)));\n\t setSelection(this, normalizeSelection(ranges, ranges.length - 1), options);\n\t }),\n\t\n\t getSelection: function(lineSep) {\n\t var ranges = this.sel.ranges, lines;\n\t for (var i = 0; i < ranges.length; i++) {\n\t var sel = getBetween(this, ranges[i].from(), ranges[i].to());\n\t lines = lines ? lines.concat(sel) : sel;\n\t }\n\t if (lineSep === false) return lines;\n\t else return lines.join(lineSep || this.lineSeparator());\n\t },\n\t getSelections: function(lineSep) {\n\t var parts = [], ranges = this.sel.ranges;\n\t for (var i = 0; i < ranges.length; i++) {\n\t var sel = getBetween(this, ranges[i].from(), ranges[i].to());\n\t if (lineSep !== false) sel = sel.join(lineSep || this.lineSeparator());\n\t parts[i] = sel;\n\t }\n\t return parts;\n\t },\n\t replaceSelection: function(code, collapse, origin) {\n\t var dup = [];\n\t for (var i = 0; i < this.sel.ranges.length; i++)\n\t dup[i] = code;\n\t this.replaceSelections(dup, collapse, origin || \"+input\");\n\t },\n\t replaceSelections: docMethodOp(function(code, collapse, origin) {\n\t var changes = [], sel = this.sel;\n\t for (var i = 0; i < sel.ranges.length; i++) {\n\t var range = sel.ranges[i];\n\t changes[i] = {from: range.from(), to: range.to(), text: this.splitLines(code[i]), origin: origin};\n\t }\n\t var newSel = collapse && collapse != \"end\" && computeReplacedSel(this, changes, collapse);\n\t for (var i = changes.length - 1; i >= 0; i--)\n\t makeChange(this, changes[i]);\n\t if (newSel) setSelectionReplaceHistory(this, newSel);\n\t else if (this.cm) ensureCursorVisible(this.cm);\n\t }),\n\t undo: docMethodOp(function() {makeChangeFromHistory(this, \"undo\");}),\n\t redo: docMethodOp(function() {makeChangeFromHistory(this, \"redo\");}),\n\t undoSelection: docMethodOp(function() {makeChangeFromHistory(this, \"undo\", true);}),\n\t redoSelection: docMethodOp(function() {makeChangeFromHistory(this, \"redo\", true);}),\n\t\n\t setExtending: function(val) {this.extend = val;},\n\t getExtending: function() {return this.extend;},\n\t\n\t historySize: function() {\n\t var hist = this.history, done = 0, undone = 0;\n\t for (var i = 0; i < hist.done.length; i++) if (!hist.done[i].ranges) ++done;\n\t for (var i = 0; i < hist.undone.length; i++) if (!hist.undone[i].ranges) ++undone;\n\t return {undo: done, redo: undone};\n\t },\n\t clearHistory: function() {this.history = new History(this.history.maxGeneration);},\n\t\n\t markClean: function() {\n\t this.cleanGeneration = this.changeGeneration(true);\n\t },\n\t changeGeneration: function(forceSplit) {\n\t if (forceSplit)\n\t this.history.lastOp = this.history.lastSelOp = this.history.lastOrigin = null;\n\t return this.history.generation;\n\t },\n\t isClean: function (gen) {\n\t return this.history.generation == (gen || this.cleanGeneration);\n\t },\n\t\n\t getHistory: function() {\n\t return {done: copyHistoryArray(this.history.done),\n\t undone: copyHistoryArray(this.history.undone)};\n\t },\n\t setHistory: function(histData) {\n\t var hist = this.history = new History(this.history.maxGeneration);\n\t hist.done = copyHistoryArray(histData.done.slice(0), null, true);\n\t hist.undone = copyHistoryArray(histData.undone.slice(0), null, true);\n\t },\n\t\n\t addLineClass: docMethodOp(function(handle, where, cls) {\n\t return changeLine(this, handle, where == \"gutter\" ? \"gutter\" : \"class\", function(line) {\n\t var prop = where == \"text\" ? \"textClass\"\n\t : where == \"background\" ? \"bgClass\"\n\t : where == \"gutter\" ? \"gutterClass\" : \"wrapClass\";\n\t if (!line[prop]) line[prop] = cls;\n\t else if (classTest(cls).test(line[prop])) return false;\n\t else line[prop] += \" \" + cls;\n\t return true;\n\t });\n\t }),\n\t removeLineClass: docMethodOp(function(handle, where, cls) {\n\t return changeLine(this, handle, where == \"gutter\" ? \"gutter\" : \"class\", function(line) {\n\t var prop = where == \"text\" ? \"textClass\"\n\t : where == \"background\" ? \"bgClass\"\n\t : where == \"gutter\" ? \"gutterClass\" : \"wrapClass\";\n\t var cur = line[prop];\n\t if (!cur) return false;\n\t else if (cls == null) line[prop] = null;\n\t else {\n\t var found = cur.match(classTest(cls));\n\t if (!found) return false;\n\t var end = found.index + found[0].length;\n\t line[prop] = cur.slice(0, found.index) + (!found.index || end == cur.length ? \"\" : \" \") + cur.slice(end) || null;\n\t }\n\t return true;\n\t });\n\t }),\n\t\n\t addLineWidget: docMethodOp(function(handle, node, options) {\n\t return addLineWidget(this, handle, node, options);\n\t }),\n\t removeLineWidget: function(widget) { widget.clear(); },\n\t\n\t markText: function(from, to, options) {\n\t return markText(this, clipPos(this, from), clipPos(this, to), options, \"range\");\n\t },\n\t setBookmark: function(pos, options) {\n\t var realOpts = {replacedWith: options && (options.nodeType == null ? options.widget : options),\n\t insertLeft: options && options.insertLeft,\n\t clearWhenEmpty: false, shared: options && options.shared,\n\t handleMouseEvents: options && options.handleMouseEvents};\n\t pos = clipPos(this, pos);\n\t return markText(this, pos, pos, realOpts, \"bookmark\");\n\t },\n\t findMarksAt: function(pos) {\n\t pos = clipPos(this, pos);\n\t var markers = [], spans = getLine(this, pos.line).markedSpans;\n\t if (spans) for (var i = 0; i < spans.length; ++i) {\n\t var span = spans[i];\n\t if ((span.from == null || span.from <= pos.ch) &&\n\t (span.to == null || span.to >= pos.ch))\n\t markers.push(span.marker.parent || span.marker);\n\t }\n\t return markers;\n\t },\n\t findMarks: function(from, to, filter) {\n\t from = clipPos(this, from); to = clipPos(this, to);\n\t var found = [], lineNo = from.line;\n\t this.iter(from.line, to.line + 1, function(line) {\n\t var spans = line.markedSpans;\n\t if (spans) for (var i = 0; i < spans.length; i++) {\n\t var span = spans[i];\n\t if (!(lineNo == from.line && from.ch > span.to ||\n\t span.from == null && lineNo != from.line||\n\t lineNo == to.line && span.from > to.ch) &&\n\t (!filter || filter(span.marker)))\n\t found.push(span.marker.parent || span.marker);\n\t }\n\t ++lineNo;\n\t });\n\t return found;\n\t },\n\t getAllMarks: function() {\n\t var markers = [];\n\t this.iter(function(line) {\n\t var sps = line.markedSpans;\n\t if (sps) for (var i = 0; i < sps.length; ++i)\n\t if (sps[i].from != null) markers.push(sps[i].marker);\n\t });\n\t return markers;\n\t },\n\t\n\t posFromIndex: function(off) {\n\t var ch, lineNo = this.first;\n\t this.iter(function(line) {\n\t var sz = line.text.length + 1;\n\t if (sz > off) { ch = off; return true; }\n\t off -= sz;\n\t ++lineNo;\n\t });\n\t return clipPos(this, Pos(lineNo, ch));\n\t },\n\t indexFromPos: function (coords) {\n\t coords = clipPos(this, coords);\n\t var index = coords.ch;\n\t if (coords.line < this.first || coords.ch < 0) return 0;\n\t this.iter(this.first, coords.line, function (line) {\n\t index += line.text.length + 1;\n\t });\n\t return index;\n\t },\n\t\n\t copy: function(copyHistory) {\n\t var doc = new Doc(getLines(this, this.first, this.first + this.size),\n\t this.modeOption, this.first, this.lineSep);\n\t doc.scrollTop = this.scrollTop; doc.scrollLeft = this.scrollLeft;\n\t doc.sel = this.sel;\n\t doc.extend = false;\n\t if (copyHistory) {\n\t doc.history.undoDepth = this.history.undoDepth;\n\t doc.setHistory(this.getHistory());\n\t }\n\t return doc;\n\t },\n\t\n\t linkedDoc: function(options) {\n\t if (!options) options = {};\n\t var from = this.first, to = this.first + this.size;\n\t if (options.from != null && options.from > from) from = options.from;\n\t if (options.to != null && options.to < to) to = options.to;\n\t var copy = new Doc(getLines(this, from, to), options.mode || this.modeOption, from, this.lineSep);\n\t if (options.sharedHist) copy.history = this.history;\n\t (this.linked || (this.linked = [])).push({doc: copy, sharedHist: options.sharedHist});\n\t copy.linked = [{doc: this, isParent: true, sharedHist: options.sharedHist}];\n\t copySharedMarkers(copy, findSharedMarkers(this));\n\t return copy;\n\t },\n\t unlinkDoc: function(other) {\n\t if (other instanceof CodeMirror) other = other.doc;\n\t if (this.linked) for (var i = 0; i < this.linked.length; ++i) {\n\t var link = this.linked[i];\n\t if (link.doc != other) continue;\n\t this.linked.splice(i, 1);\n\t other.unlinkDoc(this);\n\t detachSharedMarkers(findSharedMarkers(this));\n\t break;\n\t }\n\t // If the histories were shared, split them again\n\t if (other.history == this.history) {\n\t var splitIds = [other.id];\n\t linkedDocs(other, function(doc) {splitIds.push(doc.id);}, true);\n\t other.history = new History(null);\n\t other.history.done = copyHistoryArray(this.history.done, splitIds);\n\t other.history.undone = copyHistoryArray(this.history.undone, splitIds);\n\t }\n\t },\n\t iterLinkedDocs: function(f) {linkedDocs(this, f);},\n\t\n\t getMode: function() {return this.mode;},\n\t getEditor: function() {return this.cm;},\n\t\n\t splitLines: function(str) {\n\t if (this.lineSep) return str.split(this.lineSep);\n\t return splitLinesAuto(str);\n\t },\n\t lineSeparator: function() { return this.lineSep || \"\\n\"; }\n\t });\n\t\n\t // Public alias.\n\t Doc.prototype.eachLine = Doc.prototype.iter;\n\t\n\t // Set up methods on CodeMirror's prototype to redirect to the editor's document.\n\t var dontDelegate = \"iter insert remove copy getEditor constructor\".split(\" \");\n\t for (var prop in Doc.prototype) if (Doc.prototype.hasOwnProperty(prop) && indexOf(dontDelegate, prop) < 0)\n\t CodeMirror.prototype[prop] = (function(method) {\n\t return function() {return method.apply(this.doc, arguments);};\n\t })(Doc.prototype[prop]);\n\t\n\t eventMixin(Doc);\n\t\n\t // Call f for all linked documents.\n\t function linkedDocs(doc, f, sharedHistOnly) {\n\t function propagate(doc, skip, sharedHist) {\n\t if (doc.linked) for (var i = 0; i < doc.linked.length; ++i) {\n\t var rel = doc.linked[i];\n\t if (rel.doc == skip) continue;\n\t var shared = sharedHist && rel.sharedHist;\n\t if (sharedHistOnly && !shared) continue;\n\t f(rel.doc, shared);\n\t propagate(rel.doc, doc, shared);\n\t }\n\t }\n\t propagate(doc, null, true);\n\t }\n\t\n\t // Attach a document to an editor.\n\t function attachDoc(cm, doc) {\n\t if (doc.cm) throw new Error(\"This document is already in use.\");\n\t cm.doc = doc;\n\t doc.cm = cm;\n\t estimateLineHeights(cm);\n\t loadMode(cm);\n\t if (!cm.options.lineWrapping) findMaxLine(cm);\n\t cm.options.mode = doc.modeOption;\n\t regChange(cm);\n\t }\n\t\n\t // LINE UTILITIES\n\t\n\t // Find the line object corresponding to the given line number.\n\t function getLine(doc, n) {\n\t n -= doc.first;\n\t if (n < 0 || n >= doc.size) throw new Error(\"There is no line \" + (n + doc.first) + \" in the document.\");\n\t for (var chunk = doc; !chunk.lines;) {\n\t for (var i = 0;; ++i) {\n\t var child = chunk.children[i], sz = child.chunkSize();\n\t if (n < sz) { chunk = child; break; }\n\t n -= sz;\n\t }\n\t }\n\t return chunk.lines[n];\n\t }\n\t\n\t // Get the part of a document between two positions, as an array of\n\t // strings.\n\t function getBetween(doc, start, end) {\n\t var out = [], n = start.line;\n\t doc.iter(start.line, end.line + 1, function(line) {\n\t var text = line.text;\n\t if (n == end.line) text = text.slice(0, end.ch);\n\t if (n == start.line) text = text.slice(start.ch);\n\t out.push(text);\n\t ++n;\n\t });\n\t return out;\n\t }\n\t // Get the lines between from and to, as array of strings.\n\t function getLines(doc, from, to) {\n\t var out = [];\n\t doc.iter(from, to, function(line) { out.push(line.text); });\n\t return out;\n\t }\n\t\n\t // Update the height of a line, propagating the height change\n\t // upwards to parent nodes.\n\t function updateLineHeight(line, height) {\n\t var diff = height - line.height;\n\t if (diff) for (var n = line; n; n = n.parent) n.height += diff;\n\t }\n\t\n\t // Given a line object, find its line number by walking up through\n\t // its parent links.\n\t function lineNo(line) {\n\t if (line.parent == null) return null;\n\t var cur = line.parent, no = indexOf(cur.lines, line);\n\t for (var chunk = cur.parent; chunk; cur = chunk, chunk = chunk.parent) {\n\t for (var i = 0;; ++i) {\n\t if (chunk.children[i] == cur) break;\n\t no += chunk.children[i].chunkSize();\n\t }\n\t }\n\t return no + cur.first;\n\t }\n\t\n\t // Find the line at the given vertical position, using the height\n\t // information in the document tree.\n\t function lineAtHeight(chunk, h) {\n\t var n = chunk.first;\n\t outer: do {\n\t for (var i = 0; i < chunk.children.length; ++i) {\n\t var child = chunk.children[i], ch = child.height;\n\t if (h < ch) { chunk = child; continue outer; }\n\t h -= ch;\n\t n += child.chunkSize();\n\t }\n\t return n;\n\t } while (!chunk.lines);\n\t for (var i = 0; i < chunk.lines.length; ++i) {\n\t var line = chunk.lines[i], lh = line.height;\n\t if (h < lh) break;\n\t h -= lh;\n\t }\n\t return n + i;\n\t }\n\t\n\t\n\t // Find the height above the given line.\n\t function heightAtLine(lineObj) {\n\t lineObj = visualLine(lineObj);\n\t\n\t var h = 0, chunk = lineObj.parent;\n\t for (var i = 0; i < chunk.lines.length; ++i) {\n\t var line = chunk.lines[i];\n\t if (line == lineObj) break;\n\t else h += line.height;\n\t }\n\t for (var p = chunk.parent; p; chunk = p, p = chunk.parent) {\n\t for (var i = 0; i < p.children.length; ++i) {\n\t var cur = p.children[i];\n\t if (cur == chunk) break;\n\t else h += cur.height;\n\t }\n\t }\n\t return h;\n\t }\n\t\n\t // Get the bidi ordering for the given line (and cache it). Returns\n\t // false for lines that are fully left-to-right, and an array of\n\t // BidiSpan objects otherwise.\n\t function getOrder(line) {\n\t var order = line.order;\n\t if (order == null) order = line.order = bidiOrdering(line.text);\n\t return order;\n\t }\n\t\n\t // HISTORY\n\t\n\t function History(startGen) {\n\t // Arrays of change events and selections. Doing something adds an\n\t // event to done and clears undo. Undoing moves events from done\n\t // to undone, redoing moves them in the other direction.\n\t this.done = []; this.undone = [];\n\t this.undoDepth = Infinity;\n\t // Used to track when changes can be merged into a single undo\n\t // event\n\t this.lastModTime = this.lastSelTime = 0;\n\t this.lastOp = this.lastSelOp = null;\n\t this.lastOrigin = this.lastSelOrigin = null;\n\t // Used by the isClean() method\n\t this.generation = this.maxGeneration = startGen || 1;\n\t }\n\t\n\t // Create a history change event from an updateDoc-style change\n\t // object.\n\t function historyChangeFromChange(doc, change) {\n\t var histChange = {from: copyPos(change.from), to: changeEnd(change), text: getBetween(doc, change.from, change.to)};\n\t attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1);\n\t linkedDocs(doc, function(doc) {attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1);}, true);\n\t return histChange;\n\t }\n\t\n\t // Pop all selection events off the end of a history array. Stop at\n\t // a change event.\n\t function clearSelectionEvents(array) {\n\t while (array.length) {\n\t var last = lst(array);\n\t if (last.ranges) array.pop();\n\t else break;\n\t }\n\t }\n\t\n\t // Find the top change event in the history. Pop off selection\n\t // events that are in the way.\n\t function lastChangeEvent(hist, force) {\n\t if (force) {\n\t clearSelectionEvents(hist.done);\n\t return lst(hist.done);\n\t } else if (hist.done.length && !lst(hist.done).ranges) {\n\t return lst(hist.done);\n\t } else if (hist.done.length > 1 && !hist.done[hist.done.length - 2].ranges) {\n\t hist.done.pop();\n\t return lst(hist.done);\n\t }\n\t }\n\t\n\t // Register a change in the history. Merges changes that are within\n\t // a single operation, ore are close together with an origin that\n\t // allows merging (starting with \"+\") into a single event.\n\t function addChangeToHistory(doc, change, selAfter, opId) {\n\t var hist = doc.history;\n\t hist.undone.length = 0;\n\t var time = +new Date, cur;\n\t\n\t if ((hist.lastOp == opId ||\n\t hist.lastOrigin == change.origin && change.origin &&\n\t ((change.origin.charAt(0) == \"+\" && doc.cm && hist.lastModTime > time - doc.cm.options.historyEventDelay) ||\n\t change.origin.charAt(0) == \"*\")) &&\n\t (cur = lastChangeEvent(hist, hist.lastOp == opId))) {\n\t // Merge this change into the last event\n\t var last = lst(cur.changes);\n\t if (cmp(change.from, change.to) == 0 && cmp(change.from, last.to) == 0) {\n\t // Optimized case for simple insertion -- don't want to add\n\t // new changesets for every character typed\n\t last.to = changeEnd(change);\n\t } else {\n\t // Add new sub-event\n\t cur.changes.push(historyChangeFromChange(doc, change));\n\t }\n\t } else {\n\t // Can not be merged, start a new event.\n\t var before = lst(hist.done);\n\t if (!before || !before.ranges)\n\t pushSelectionToHistory(doc.sel, hist.done);\n\t cur = {changes: [historyChangeFromChange(doc, change)],\n\t generation: hist.generation};\n\t hist.done.push(cur);\n\t while (hist.done.length > hist.undoDepth) {\n\t hist.done.shift();\n\t if (!hist.done[0].ranges) hist.done.shift();\n\t }\n\t }\n\t hist.done.push(selAfter);\n\t hist.generation = ++hist.maxGeneration;\n\t hist.lastModTime = hist.lastSelTime = time;\n\t hist.lastOp = hist.lastSelOp = opId;\n\t hist.lastOrigin = hist.lastSelOrigin = change.origin;\n\t\n\t if (!last) signal(doc, \"historyAdded\");\n\t }\n\t\n\t function selectionEventCanBeMerged(doc, origin, prev, sel) {\n\t var ch = origin.charAt(0);\n\t return ch == \"*\" ||\n\t ch == \"+\" &&\n\t prev.ranges.length == sel.ranges.length &&\n\t prev.somethingSelected() == sel.somethingSelected() &&\n\t new Date - doc.history.lastSelTime <= (doc.cm ? doc.cm.options.historyEventDelay : 500);\n\t }\n\t\n\t // Called whenever the selection changes, sets the new selection as\n\t // the pending selection in the history, and pushes the old pending\n\t // selection into the 'done' array when it was significantly\n\t // different (in number of selected ranges, emptiness, or time).\n\t function addSelectionToHistory(doc, sel, opId, options) {\n\t var hist = doc.history, origin = options && options.origin;\n\t\n\t // A new event is started when the previous origin does not match\n\t // the current, or the origins don't allow matching. Origins\n\t // starting with * are always merged, those starting with + are\n\t // merged when similar and close together in time.\n\t if (opId == hist.lastSelOp ||\n\t (origin && hist.lastSelOrigin == origin &&\n\t (hist.lastModTime == hist.lastSelTime && hist.lastOrigin == origin ||\n\t selectionEventCanBeMerged(doc, origin, lst(hist.done), sel))))\n\t hist.done[hist.done.length - 1] = sel;\n\t else\n\t pushSelectionToHistory(sel, hist.done);\n\t\n\t hist.lastSelTime = +new Date;\n\t hist.lastSelOrigin = origin;\n\t hist.lastSelOp = opId;\n\t if (options && options.clearRedo !== false)\n\t clearSelectionEvents(hist.undone);\n\t }\n\t\n\t function pushSelectionToHistory(sel, dest) {\n\t var top = lst(dest);\n\t if (!(top && top.ranges && top.equals(sel)))\n\t dest.push(sel);\n\t }\n\t\n\t // Used to store marked span information in the history.\n\t function attachLocalSpans(doc, change, from, to) {\n\t var existing = change[\"spans_\" + doc.id], n = 0;\n\t doc.iter(Math.max(doc.first, from), Math.min(doc.first + doc.size, to), function(line) {\n\t if (line.markedSpans)\n\t (existing || (existing = change[\"spans_\" + doc.id] = {}))[n] = line.markedSpans;\n\t ++n;\n\t });\n\t }\n\t\n\t // When un/re-doing restores text containing marked spans, those\n\t // that have been explicitly cleared should not be restored.\n\t function removeClearedSpans(spans) {\n\t if (!spans) return null;\n\t for (var i = 0, out; i < spans.length; ++i) {\n\t if (spans[i].marker.explicitlyCleared) { if (!out) out = spans.slice(0, i); }\n\t else if (out) out.push(spans[i]);\n\t }\n\t return !out ? spans : out.length ? out : null;\n\t }\n\t\n\t // Retrieve and filter the old marked spans stored in a change event.\n\t function getOldSpans(doc, change) {\n\t var found = change[\"spans_\" + doc.id];\n\t if (!found) return null;\n\t for (var i = 0, nw = []; i < change.text.length; ++i)\n\t nw.push(removeClearedSpans(found[i]));\n\t return nw;\n\t }\n\t\n\t // Used both to provide a JSON-safe object in .getHistory, and, when\n\t // detaching a document, to split the history in two\n\t function copyHistoryArray(events, newGroup, instantiateSel) {\n\t for (var i = 0, copy = []; i < events.length; ++i) {\n\t var event = events[i];\n\t if (event.ranges) {\n\t copy.push(instantiateSel ? Selection.prototype.deepCopy.call(event) : event);\n\t continue;\n\t }\n\t var changes = event.changes, newChanges = [];\n\t copy.push({changes: newChanges});\n\t for (var j = 0; j < changes.length; ++j) {\n\t var change = changes[j], m;\n\t newChanges.push({from: change.from, to: change.to, text: change.text});\n\t if (newGroup) for (var prop in change) if (m = prop.match(/^spans_(\\d+)$/)) {\n\t if (indexOf(newGroup, Number(m[1])) > -1) {\n\t lst(newChanges)[prop] = change[prop];\n\t delete change[prop];\n\t }\n\t }\n\t }\n\t }\n\t return copy;\n\t }\n\t\n\t // Rebasing/resetting history to deal with externally-sourced changes\n\t\n\t function rebaseHistSelSingle(pos, from, to, diff) {\n\t if (to < pos.line) {\n\t pos.line += diff;\n\t } else if (from < pos.line) {\n\t pos.line = from;\n\t pos.ch = 0;\n\t }\n\t }\n\t\n\t // Tries to rebase an array of history events given a change in the\n\t // document. If the change touches the same lines as the event, the\n\t // event, and everything 'behind' it, is discarded. If the change is\n\t // before the event, the event's positions are updated. Uses a\n\t // copy-on-write scheme for the positions, to avoid having to\n\t // reallocate them all on every rebase, but also avoid problems with\n\t // shared position objects being unsafely updated.\n\t function rebaseHistArray(array, from, to, diff) {\n\t for (var i = 0; i < array.length; ++i) {\n\t var sub = array[i], ok = true;\n\t if (sub.ranges) {\n\t if (!sub.copied) { sub = array[i] = sub.deepCopy(); sub.copied = true; }\n\t for (var j = 0; j < sub.ranges.length; j++) {\n\t rebaseHistSelSingle(sub.ranges[j].anchor, from, to, diff);\n\t rebaseHistSelSingle(sub.ranges[j].head, from, to, diff);\n\t }\n\t continue;\n\t }\n\t for (var j = 0; j < sub.changes.length; ++j) {\n\t var cur = sub.changes[j];\n\t if (to < cur.from.line) {\n\t cur.from = Pos(cur.from.line + diff, cur.from.ch);\n\t cur.to = Pos(cur.to.line + diff, cur.to.ch);\n\t } else if (from <= cur.to.line) {\n\t ok = false;\n\t break;\n\t }\n\t }\n\t if (!ok) {\n\t array.splice(0, i + 1);\n\t i = 0;\n\t }\n\t }\n\t }\n\t\n\t function rebaseHist(hist, change) {\n\t var from = change.from.line, to = change.to.line, diff = change.text.length - (to - from) - 1;\n\t rebaseHistArray(hist.done, from, to, diff);\n\t rebaseHistArray(hist.undone, from, to, diff);\n\t }\n\t\n\t // EVENT UTILITIES\n\t\n\t // Due to the fact that we still support jurassic IE versions, some\n\t // compatibility wrappers are needed.\n\t\n\t var e_preventDefault = CodeMirror.e_preventDefault = function(e) {\n\t if (e.preventDefault) e.preventDefault();\n\t else e.returnValue = false;\n\t };\n\t var e_stopPropagation = CodeMirror.e_stopPropagation = function(e) {\n\t if (e.stopPropagation) e.stopPropagation();\n\t else e.cancelBubble = true;\n\t };\n\t function e_defaultPrevented(e) {\n\t return e.defaultPrevented != null ? e.defaultPrevented : e.returnValue == false;\n\t }\n\t var e_stop = CodeMirror.e_stop = function(e) {e_preventDefault(e); e_stopPropagation(e);};\n\t\n\t function e_target(e) {return e.target || e.srcElement;}\n\t function e_button(e) {\n\t var b = e.which;\n\t if (b == null) {\n\t if (e.button & 1) b = 1;\n\t else if (e.button & 2) b = 3;\n\t else if (e.button & 4) b = 2;\n\t }\n\t if (mac && e.ctrlKey && b == 1) b = 3;\n\t return b;\n\t }\n\t\n\t // EVENT HANDLING\n\t\n\t // Lightweight event framework. on/off also work on DOM nodes,\n\t // registering native DOM handlers.\n\t\n\t var on = CodeMirror.on = function(emitter, type, f) {\n\t if (emitter.addEventListener)\n\t emitter.addEventListener(type, f, false);\n\t else if (emitter.attachEvent)\n\t emitter.attachEvent(\"on\" + type, f);\n\t else {\n\t var map = emitter._handlers || (emitter._handlers = {});\n\t var arr = map[type] || (map[type] = []);\n\t arr.push(f);\n\t }\n\t };\n\t\n\t var off = CodeMirror.off = function(emitter, type, f) {\n\t if (emitter.removeEventListener)\n\t emitter.removeEventListener(type, f, false);\n\t else if (emitter.detachEvent)\n\t emitter.detachEvent(\"on\" + type, f);\n\t else {\n\t var arr = emitter._handlers && emitter._handlers[type];\n\t if (!arr) return;\n\t for (var i = 0; i < arr.length; ++i)\n\t if (arr[i] == f) { arr.splice(i, 1); break; }\n\t }\n\t };\n\t\n\t var signal = CodeMirror.signal = function(emitter, type /*, values...*/) {\n\t var arr = emitter._handlers && emitter._handlers[type];\n\t if (!arr) return;\n\t var args = Array.prototype.slice.call(arguments, 2);\n\t for (var i = 0; i < arr.length; ++i) arr[i].apply(null, args);\n\t };\n\t\n\t var orphanDelayedCallbacks = null;\n\t\n\t // Often, we want to signal events at a point where we are in the\n\t // middle of some work, but don't want the handler to start calling\n\t // other methods on the editor, which might be in an inconsistent\n\t // state or simply not expect any other events to happen.\n\t // signalLater looks whether there are any handlers, and schedules\n\t // them to be executed when the last operation ends, or, if no\n\t // operation is active, when a timeout fires.\n\t function signalLater(emitter, type /*, values...*/) {\n\t var arr = emitter._handlers && emitter._handlers[type];\n\t if (!arr) return;\n\t var args = Array.prototype.slice.call(arguments, 2), list;\n\t if (operationGroup) {\n\t list = operationGroup.delayedCallbacks;\n\t } else if (orphanDelayedCallbacks) {\n\t list = orphanDelayedCallbacks;\n\t } else {\n\t list = orphanDelayedCallbacks = [];\n\t setTimeout(fireOrphanDelayed, 0);\n\t }\n\t function bnd(f) {return function(){f.apply(null, args);};};\n\t for (var i = 0; i < arr.length; ++i)\n\t list.push(bnd(arr[i]));\n\t }\n\t\n\t function fireOrphanDelayed() {\n\t var delayed = orphanDelayedCallbacks;\n\t orphanDelayedCallbacks = null;\n\t for (var i = 0; i < delayed.length; ++i) delayed[i]();\n\t }\n\t\n\t // The DOM events that CodeMirror handles can be overridden by\n\t // registering a (non-DOM) handler on the editor for the event name,\n\t // and preventDefault-ing the event in that handler.\n\t function signalDOMEvent(cm, e, override) {\n\t if (typeof e == \"string\")\n\t e = {type: e, preventDefault: function() { this.defaultPrevented = true; }};\n\t signal(cm, override || e.type, cm, e);\n\t return e_defaultPrevented(e) || e.codemirrorIgnore;\n\t }\n\t\n\t function signalCursorActivity(cm) {\n\t var arr = cm._handlers && cm._handlers.cursorActivity;\n\t if (!arr) return;\n\t var set = cm.curOp.cursorActivityHandlers || (cm.curOp.cursorActivityHandlers = []);\n\t for (var i = 0; i < arr.length; ++i) if (indexOf(set, arr[i]) == -1)\n\t set.push(arr[i]);\n\t }\n\t\n\t function hasHandler(emitter, type) {\n\t var arr = emitter._handlers && emitter._handlers[type];\n\t return arr && arr.length > 0;\n\t }\n\t\n\t // Add on and off methods to a constructor's prototype, to make\n\t // registering events on such objects more convenient.\n\t function eventMixin(ctor) {\n\t ctor.prototype.on = function(type, f) {on(this, type, f);};\n\t ctor.prototype.off = function(type, f) {off(this, type, f);};\n\t }\n\t\n\t // MISC UTILITIES\n\t\n\t // Number of pixels added to scroller and sizer to hide scrollbar\n\t var scrollerGap = 30;\n\t\n\t // Returned or thrown by various protocols to signal 'I'm not\n\t // handling this'.\n\t var Pass = CodeMirror.Pass = {toString: function(){return \"CodeMirror.Pass\";}};\n\t\n\t // Reused option objects for setSelection & friends\n\t var sel_dontScroll = {scroll: false}, sel_mouse = {origin: \"*mouse\"}, sel_move = {origin: \"+move\"};\n\t\n\t function Delayed() {this.id = null;}\n\t Delayed.prototype.set = function(ms, f) {\n\t clearTimeout(this.id);\n\t this.id = setTimeout(f, ms);\n\t };\n\t\n\t // Counts the column offset in a string, taking tabs into account.\n\t // Used mostly to find indentation.\n\t var countColumn = CodeMirror.countColumn = function(string, end, tabSize, startIndex, startValue) {\n\t if (end == null) {\n\t end = string.search(/[^\\s\\u00a0]/);\n\t if (end == -1) end = string.length;\n\t }\n\t for (var i = startIndex || 0, n = startValue || 0;;) {\n\t var nextTab = string.indexOf(\"\\t\", i);\n\t if (nextTab < 0 || nextTab >= end)\n\t return n + (end - i);\n\t n += nextTab - i;\n\t n += tabSize - (n % tabSize);\n\t i = nextTab + 1;\n\t }\n\t };\n\t\n\t // The inverse of countColumn -- find the offset that corresponds to\n\t // a particular column.\n\t function findColumn(string, goal, tabSize) {\n\t for (var pos = 0, col = 0;;) {\n\t var nextTab = string.indexOf(\"\\t\", pos);\n\t if (nextTab == -1) nextTab = string.length;\n\t var skipped = nextTab - pos;\n\t if (nextTab == string.length || col + skipped >= goal)\n\t return pos + Math.min(skipped, goal - col);\n\t col += nextTab - pos;\n\t col += tabSize - (col % tabSize);\n\t pos = nextTab + 1;\n\t if (col >= goal) return pos;\n\t }\n\t }\n\t\n\t var spaceStrs = [\"\"];\n\t function spaceStr(n) {\n\t while (spaceStrs.length <= n)\n\t spaceStrs.push(lst(spaceStrs) + \" \");\n\t return spaceStrs[n];\n\t }\n\t\n\t function lst(arr) { return arr[arr.length-1]; }\n\t\n\t var selectInput = function(node) { node.select(); };\n\t if (ios) // Mobile Safari apparently has a bug where select() is broken.\n\t selectInput = function(node) { node.selectionStart = 0; node.selectionEnd = node.value.length; };\n\t else if (ie) // Suppress mysterious IE10 errors\n\t selectInput = function(node) { try { node.select(); } catch(_e) {} };\n\t\n\t function indexOf(array, elt) {\n\t for (var i = 0; i < array.length; ++i)\n\t if (array[i] == elt) return i;\n\t return -1;\n\t }\n\t function map(array, f) {\n\t var out = [];\n\t for (var i = 0; i < array.length; i++) out[i] = f(array[i], i);\n\t return out;\n\t }\n\t\n\t function nothing() {}\n\t\n\t function createObj(base, props) {\n\t var inst;\n\t if (Object.create) {\n\t inst = Object.create(base);\n\t } else {\n\t nothing.prototype = base;\n\t inst = new nothing();\n\t }\n\t if (props) copyObj(props, inst);\n\t return inst;\n\t };\n\t\n\t function copyObj(obj, target, overwrite) {\n\t if (!target) target = {};\n\t for (var prop in obj)\n\t if (obj.hasOwnProperty(prop) && (overwrite !== false || !target.hasOwnProperty(prop)))\n\t target[prop] = obj[prop];\n\t return target;\n\t }\n\t\n\t function bind(f) {\n\t var args = Array.prototype.slice.call(arguments, 1);\n\t return function(){return f.apply(null, args);};\n\t }\n\t\n\t var nonASCIISingleCaseWordChar = /[\\u00df\\u0587\\u0590-\\u05f4\\u0600-\\u06ff\\u3040-\\u309f\\u30a0-\\u30ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\uac00-\\ud7af]/;\n\t var isWordCharBasic = CodeMirror.isWordChar = function(ch) {\n\t return /\\w/.test(ch) || ch > \"\\x80\" &&\n\t (ch.toUpperCase() != ch.toLowerCase() || nonASCIISingleCaseWordChar.test(ch));\n\t };\n\t function isWordChar(ch, helper) {\n\t if (!helper) return isWordCharBasic(ch);\n\t if (helper.source.indexOf(\"\\\\w\") > -1 && isWordCharBasic(ch)) return true;\n\t return helper.test(ch);\n\t }\n\t\n\t function isEmpty(obj) {\n\t for (var n in obj) if (obj.hasOwnProperty(n) && obj[n]) return false;\n\t return true;\n\t }\n\t\n\t // Extending unicode characters. A series of a non-extending char +\n\t // any number of extending chars is treated as a single unit as far\n\t // as editing and measuring is concerned. This is not fully correct,\n\t // since some scripts/fonts/browsers also treat other configurations\n\t // of code points as a group.\n\t var extendingChars = /[\\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]/;\n\t function isExtendingChar(ch) { return ch.charCodeAt(0) >= 768 && extendingChars.test(ch); }\n\t\n\t // DOM UTILITIES\n\t\n\t function elt(tag, content, className, style) {\n\t var e = document.createElement(tag);\n\t if (className) e.className = className;\n\t if (style) e.style.cssText = style;\n\t if (typeof content == \"string\") e.appendChild(document.createTextNode(content));\n\t else if (content) for (var i = 0; i < content.length; ++i) e.appendChild(content[i]);\n\t return e;\n\t }\n\t\n\t var range;\n\t if (document.createRange) range = function(node, start, end, endNode) {\n\t var r = document.createRange();\n\t r.setEnd(endNode || node, end);\n\t r.setStart(node, start);\n\t return r;\n\t };\n\t else range = function(node, start, end) {\n\t var r = document.body.createTextRange();\n\t try { r.moveToElementText(node.parentNode); }\n\t catch(e) { return r; }\n\t r.collapse(true);\n\t r.moveEnd(\"character\", end);\n\t r.moveStart(\"character\", start);\n\t return r;\n\t };\n\t\n\t function removeChildren(e) {\n\t for (var count = e.childNodes.length; count > 0; --count)\n\t e.removeChild(e.firstChild);\n\t return e;\n\t }\n\t\n\t function removeChildrenAndAdd(parent, e) {\n\t return removeChildren(parent).appendChild(e);\n\t }\n\t\n\t var contains = CodeMirror.contains = function(parent, child) {\n\t if (child.nodeType == 3) // Android browser always returns false when child is a textnode\n\t child = child.parentNode;\n\t if (parent.contains)\n\t return parent.contains(child);\n\t do {\n\t if (child.nodeType == 11) child = child.host;\n\t if (child == parent) return true;\n\t } while (child = child.parentNode);\n\t };\n\t\n\t function activeElt() {\n\t var activeElement = document.activeElement;\n\t while (activeElement && activeElement.root && activeElement.root.activeElement)\n\t activeElement = activeElement.root.activeElement;\n\t return activeElement;\n\t }\n\t // Older versions of IE throws unspecified error when touching\n\t // document.activeElement in some cases (during loading, in iframe)\n\t if (ie && ie_version < 11) activeElt = function() {\n\t try { return document.activeElement; }\n\t catch(e) { return document.body; }\n\t };\n\t\n\t function classTest(cls) { return new RegExp(\"(^|\\\\s)\" + cls + \"(?:$|\\\\s)\\\\s*\"); }\n\t var rmClass = CodeMirror.rmClass = function(node, cls) {\n\t var current = node.className;\n\t var match = classTest(cls).exec(current);\n\t if (match) {\n\t var after = current.slice(match.index + match[0].length);\n\t node.className = current.slice(0, match.index) + (after ? match[1] + after : \"\");\n\t }\n\t };\n\t var addClass = CodeMirror.addClass = function(node, cls) {\n\t var current = node.className;\n\t if (!classTest(cls).test(current)) node.className += (current ? \" \" : \"\") + cls;\n\t };\n\t function joinClasses(a, b) {\n\t var as = a.split(\" \");\n\t for (var i = 0; i < as.length; i++)\n\t if (as[i] && !classTest(as[i]).test(b)) b += \" \" + as[i];\n\t return b;\n\t }\n\t\n\t // WINDOW-WIDE EVENTS\n\t\n\t // These must be handled carefully, because naively registering a\n\t // handler for each editor will cause the editors to never be\n\t // garbage collected.\n\t\n\t function forEachCodeMirror(f) {\n\t if (!document.body.getElementsByClassName) return;\n\t var byClass = document.body.getElementsByClassName(\"CodeMirror\");\n\t for (var i = 0; i < byClass.length; i++) {\n\t var cm = byClass[i].CodeMirror;\n\t if (cm) f(cm);\n\t }\n\t }\n\t\n\t var globalsRegistered = false;\n\t function ensureGlobalHandlers() {\n\t if (globalsRegistered) return;\n\t registerGlobalHandlers();\n\t globalsRegistered = true;\n\t }\n\t function registerGlobalHandlers() {\n\t // When the window resizes, we need to refresh active editors.\n\t var resizeTimer;\n\t on(window, \"resize\", function() {\n\t if (resizeTimer == null) resizeTimer = setTimeout(function() {\n\t resizeTimer = null;\n\t forEachCodeMirror(onResize);\n\t }, 100);\n\t });\n\t // When the window loses focus, we want to show the editor as blurred\n\t on(window, \"blur\", function() {\n\t forEachCodeMirror(onBlur);\n\t });\n\t }\n\t\n\t // FEATURE DETECTION\n\t\n\t // Detect drag-and-drop\n\t var dragAndDrop = function() {\n\t // There is *some* kind of drag-and-drop support in IE6-8, but I\n\t // couldn't get it to work yet.\n\t if (ie && ie_version < 9) return false;\n\t var div = elt('div');\n\t return \"draggable\" in div || \"dragDrop\" in div;\n\t }();\n\t\n\t var zwspSupported;\n\t function zeroWidthElement(measure) {\n\t if (zwspSupported == null) {\n\t var test = elt(\"span\", \"\\u200b\");\n\t removeChildrenAndAdd(measure, elt(\"span\", [test, document.createTextNode(\"x\")]));\n\t if (measure.firstChild.offsetHeight != 0)\n\t zwspSupported = test.offsetWidth <= 1 && test.offsetHeight > 2 && !(ie && ie_version < 8);\n\t }\n\t var node = zwspSupported ? elt(\"span\", \"\\u200b\") :\n\t elt(\"span\", \"\\u00a0\", null, \"display: inline-block; width: 1px; margin-right: -1px\");\n\t node.setAttribute(\"cm-text\", \"\");\n\t return node;\n\t }\n\t\n\t // Feature-detect IE's crummy client rect reporting for bidi text\n\t var badBidiRects;\n\t function hasBadBidiRects(measure) {\n\t if (badBidiRects != null) return badBidiRects;\n\t var txt = removeChildrenAndAdd(measure, document.createTextNode(\"A\\u062eA\"));\n\t var r0 = range(txt, 0, 1).getBoundingClientRect();\n\t if (!r0 || r0.left == r0.right) return false; // Safari returns null in some cases (#2780)\n\t var r1 = range(txt, 1, 2).getBoundingClientRect();\n\t return badBidiRects = (r1.right - r0.right < 3);\n\t }\n\t\n\t // See if \"\".split is the broken IE version, if so, provide an\n\t // alternative way to split lines.\n\t var splitLinesAuto = CodeMirror.splitLines = \"\\n\\nb\".split(/\\n/).length != 3 ? function(string) {\n\t var pos = 0, result = [], l = string.length;\n\t while (pos <= l) {\n\t var nl = string.indexOf(\"\\n\", pos);\n\t if (nl == -1) nl = string.length;\n\t var line = string.slice(pos, string.charAt(nl - 1) == \"\\r\" ? nl - 1 : nl);\n\t var rt = line.indexOf(\"\\r\");\n\t if (rt != -1) {\n\t result.push(line.slice(0, rt));\n\t pos += rt + 1;\n\t } else {\n\t result.push(line);\n\t pos = nl + 1;\n\t }\n\t }\n\t return result;\n\t } : function(string){return string.split(/\\r\\n?|\\n/);};\n\t\n\t var hasSelection = window.getSelection ? function(te) {\n\t try { return te.selectionStart != te.selectionEnd; }\n\t catch(e) { return false; }\n\t } : function(te) {\n\t try {var range = te.ownerDocument.selection.createRange();}\n\t catch(e) {}\n\t if (!range || range.parentElement() != te) return false;\n\t return range.compareEndPoints(\"StartToEnd\", range) != 0;\n\t };\n\t\n\t var hasCopyEvent = (function() {\n\t var e = elt(\"div\");\n\t if (\"oncopy\" in e) return true;\n\t e.setAttribute(\"oncopy\", \"return;\");\n\t return typeof e.oncopy == \"function\";\n\t })();\n\t\n\t var badZoomedRects = null;\n\t function hasBadZoomedRects(measure) {\n\t if (badZoomedRects != null) return badZoomedRects;\n\t var node = removeChildrenAndAdd(measure, elt(\"span\", \"x\"));\n\t var normal = node.getBoundingClientRect();\n\t var fromRange = range(node, 0, 1).getBoundingClientRect();\n\t return badZoomedRects = Math.abs(normal.left - fromRange.left) > 1;\n\t }\n\t\n\t // KEY NAMES\n\t\n\t var keyNames = {3: \"Enter\", 8: \"Backspace\", 9: \"Tab\", 13: \"Enter\", 16: \"Shift\", 17: \"Ctrl\", 18: \"Alt\",\n\t 19: \"Pause\", 20: \"CapsLock\", 27: \"Esc\", 32: \"Space\", 33: \"PageUp\", 34: \"PageDown\", 35: \"End\",\n\t 36: \"Home\", 37: \"Left\", 38: \"Up\", 39: \"Right\", 40: \"Down\", 44: \"PrintScrn\", 45: \"Insert\",\n\t 46: \"Delete\", 59: \";\", 61: \"=\", 91: \"Mod\", 92: \"Mod\", 93: \"Mod\", 107: \"=\", 109: \"-\", 127: \"Delete\",\n\t 173: \"-\", 186: \";\", 187: \"=\", 188: \",\", 189: \"-\", 190: \".\", 191: \"/\", 192: \"`\", 219: \"[\", 220: \"\\\\\",\n\t 221: \"]\", 222: \"'\", 63232: \"Up\", 63233: \"Down\", 63234: \"Left\", 63235: \"Right\", 63272: \"Delete\",\n\t 63273: \"Home\", 63275: \"End\", 63276: \"PageUp\", 63277: \"PageDown\", 63302: \"Insert\"};\n\t CodeMirror.keyNames = keyNames;\n\t (function() {\n\t // Number keys\n\t for (var i = 0; i < 10; i++) keyNames[i + 48] = keyNames[i + 96] = String(i);\n\t // Alphabetic keys\n\t for (var i = 65; i <= 90; i++) keyNames[i] = String.fromCharCode(i);\n\t // Function keys\n\t for (var i = 1; i <= 12; i++) keyNames[i + 111] = keyNames[i + 63235] = \"F\" + i;\n\t })();\n\t\n\t // BIDI HELPERS\n\t\n\t function iterateBidiSections(order, from, to, f) {\n\t if (!order) return f(from, to, \"ltr\");\n\t var found = false;\n\t for (var i = 0; i < order.length; ++i) {\n\t var part = order[i];\n\t if (part.from < to && part.to > from || from == to && part.to == from) {\n\t f(Math.max(part.from, from), Math.min(part.to, to), part.level == 1 ? \"rtl\" : \"ltr\");\n\t found = true;\n\t }\n\t }\n\t if (!found) f(from, to, \"ltr\");\n\t }\n\t\n\t function bidiLeft(part) { return part.level % 2 ? part.to : part.from; }\n\t function bidiRight(part) { return part.level % 2 ? part.from : part.to; }\n\t\n\t function lineLeft(line) { var order = getOrder(line); return order ? bidiLeft(order[0]) : 0; }\n\t function lineRight(line) {\n\t var order = getOrder(line);\n\t if (!order) return line.text.length;\n\t return bidiRight(lst(order));\n\t }\n\t\n\t function lineStart(cm, lineN) {\n\t var line = getLine(cm.doc, lineN);\n\t var visual = visualLine(line);\n\t if (visual != line) lineN = lineNo(visual);\n\t var order = getOrder(visual);\n\t var ch = !order ? 0 : order[0].level % 2 ? lineRight(visual) : lineLeft(visual);\n\t return Pos(lineN, ch);\n\t }\n\t function lineEnd(cm, lineN) {\n\t var merged, line = getLine(cm.doc, lineN);\n\t while (merged = collapsedSpanAtEnd(line)) {\n\t line = merged.find(1, true).line;\n\t lineN = null;\n\t }\n\t var order = getOrder(line);\n\t var ch = !order ? line.text.length : order[0].level % 2 ? lineLeft(line) : lineRight(line);\n\t return Pos(lineN == null ? lineNo(line) : lineN, ch);\n\t }\n\t function lineStartSmart(cm, pos) {\n\t var start = lineStart(cm, pos.line);\n\t var line = getLine(cm.doc, start.line);\n\t var order = getOrder(line);\n\t if (!order || order[0].level == 0) {\n\t var firstNonWS = Math.max(0, line.text.search(/\\S/));\n\t var inWS = pos.line == start.line && pos.ch <= firstNonWS && pos.ch;\n\t return Pos(start.line, inWS ? 0 : firstNonWS);\n\t }\n\t return start;\n\t }\n\t\n\t function compareBidiLevel(order, a, b) {\n\t var linedir = order[0].level;\n\t if (a == linedir) return true;\n\t if (b == linedir) return false;\n\t return a < b;\n\t }\n\t var bidiOther;\n\t function getBidiPartAt(order, pos) {\n\t bidiOther = null;\n\t for (var i = 0, found; i < order.length; ++i) {\n\t var cur = order[i];\n\t if (cur.from < pos && cur.to > pos) return i;\n\t if ((cur.from == pos || cur.to == pos)) {\n\t if (found == null) {\n\t found = i;\n\t } else if (compareBidiLevel(order, cur.level, order[found].level)) {\n\t if (cur.from != cur.to) bidiOther = found;\n\t return i;\n\t } else {\n\t if (cur.from != cur.to) bidiOther = i;\n\t return found;\n\t }\n\t }\n\t }\n\t return found;\n\t }\n\t\n\t function moveInLine(line, pos, dir, byUnit) {\n\t if (!byUnit) return pos + dir;\n\t do pos += dir;\n\t while (pos > 0 && isExtendingChar(line.text.charAt(pos)));\n\t return pos;\n\t }\n\t\n\t // This is needed in order to move 'visually' through bi-directional\n\t // text -- i.e., pressing left should make the cursor go left, even\n\t // when in RTL text. The tricky part is the 'jumps', where RTL and\n\t // LTR text touch each other. This often requires the cursor offset\n\t // to move more than one unit, in order to visually move one unit.\n\t function moveVisually(line, start, dir, byUnit) {\n\t var bidi = getOrder(line);\n\t if (!bidi) return moveLogically(line, start, dir, byUnit);\n\t var pos = getBidiPartAt(bidi, start), part = bidi[pos];\n\t var target = moveInLine(line, start, part.level % 2 ? -dir : dir, byUnit);\n\t\n\t for (;;) {\n\t if (target > part.from && target < part.to) return target;\n\t if (target == part.from || target == part.to) {\n\t if (getBidiPartAt(bidi, target) == pos) return target;\n\t part = bidi[pos += dir];\n\t return (dir > 0) == part.level % 2 ? part.to : part.from;\n\t } else {\n\t part = bidi[pos += dir];\n\t if (!part) return null;\n\t if ((dir > 0) == part.level % 2)\n\t target = moveInLine(line, part.to, -1, byUnit);\n\t else\n\t target = moveInLine(line, part.from, 1, byUnit);\n\t }\n\t }\n\t }\n\t\n\t function moveLogically(line, start, dir, byUnit) {\n\t var target = start + dir;\n\t if (byUnit) while (target > 0 && isExtendingChar(line.text.charAt(target))) target += dir;\n\t return target < 0 || target > line.text.length ? null : target;\n\t }\n\t\n\t // Bidirectional ordering algorithm\n\t // See http://unicode.org/reports/tr9/tr9-13.html for the algorithm\n\t // that this (partially) implements.\n\t\n\t // One-char codes used for character types:\n\t // L (L): Left-to-Right\n\t // R (R): Right-to-Left\n\t // r (AL): Right-to-Left Arabic\n\t // 1 (EN): European Number\n\t // + (ES): European Number Separator\n\t // % (ET): European Number Terminator\n\t // n (AN): Arabic Number\n\t // , (CS): Common Number Separator\n\t // m (NSM): Non-Spacing Mark\n\t // b (BN): Boundary Neutral\n\t // s (B): Paragraph Separator\n\t // t (S): Segment Separator\n\t // w (WS): Whitespace\n\t // N (ON): Other Neutrals\n\t\n\t // Returns null if characters are ordered as they appear\n\t // (left-to-right), or an array of sections ({from, to, level}\n\t // objects) in the order in which they occur visually.\n\t var bidiOrdering = (function() {\n\t // Character types for codepoints 0 to 0xff\n\t var lowTypes = \"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN\";\n\t // Character types for codepoints 0x600 to 0x6ff\n\t var arabicTypes = \"rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm\";\n\t function charType(code) {\n\t if (code <= 0xf7) return lowTypes.charAt(code);\n\t else if (0x590 <= code && code <= 0x5f4) return \"R\";\n\t else if (0x600 <= code && code <= 0x6ed) return arabicTypes.charAt(code - 0x600);\n\t else if (0x6ee <= code && code <= 0x8ac) return \"r\";\n\t else if (0x2000 <= code && code <= 0x200b) return \"w\";\n\t else if (code == 0x200c) return \"b\";\n\t else return \"L\";\n\t }\n\t\n\t var bidiRE = /[\\u0590-\\u05f4\\u0600-\\u06ff\\u0700-\\u08ac]/;\n\t var isNeutral = /[stwN]/, isStrong = /[LRr]/, countsAsLeft = /[Lb1n]/, countsAsNum = /[1n]/;\n\t // Browsers seem to always treat the boundaries of block elements as being L.\n\t var outerType = \"L\";\n\t\n\t function BidiSpan(level, from, to) {\n\t this.level = level;\n\t this.from = from; this.to = to;\n\t }\n\t\n\t return function(str) {\n\t if (!bidiRE.test(str)) return false;\n\t var len = str.length, types = [];\n\t for (var i = 0, type; i < len; ++i)\n\t types.push(type = charType(str.charCodeAt(i)));\n\t\n\t // W1. Examine each non-spacing mark (NSM) in the level run, and\n\t // change the type of the NSM to the type of the previous\n\t // character. If the NSM is at the start of the level run, it will\n\t // get the type of sor.\n\t for (var i = 0, prev = outerType; i < len; ++i) {\n\t var type = types[i];\n\t if (type == \"m\") types[i] = prev;\n\t else prev = type;\n\t }\n\t\n\t // W2. Search backwards from each instance of a European number\n\t // until the first strong type (R, L, AL, or sor) is found. If an\n\t // AL is found, change the type of the European number to Arabic\n\t // number.\n\t // W3. Change all ALs to R.\n\t for (var i = 0, cur = outerType; i < len; ++i) {\n\t var type = types[i];\n\t if (type == \"1\" && cur == \"r\") types[i] = \"n\";\n\t else if (isStrong.test(type)) { cur = type; if (type == \"r\") types[i] = \"R\"; }\n\t }\n\t\n\t // W4. A single European separator between two European numbers\n\t // changes to a European number. A single common separator between\n\t // two numbers of the same type changes to that type.\n\t for (var i = 1, prev = types[0]; i < len - 1; ++i) {\n\t var type = types[i];\n\t if (type == \"+\" && prev == \"1\" && types[i+1] == \"1\") types[i] = \"1\";\n\t else if (type == \",\" && prev == types[i+1] &&\n\t (prev == \"1\" || prev == \"n\")) types[i] = prev;\n\t prev = type;\n\t }\n\t\n\t // W5. A sequence of European terminators adjacent to European\n\t // numbers changes to all European numbers.\n\t // W6. Otherwise, separators and terminators change to Other\n\t // Neutral.\n\t for (var i = 0; i < len; ++i) {\n\t var type = types[i];\n\t if (type == \",\") types[i] = \"N\";\n\t else if (type == \"%\") {\n\t for (var end = i + 1; end < len && types[end] == \"%\"; ++end) {}\n\t var replace = (i && types[i-1] == \"!\") || (end < len && types[end] == \"1\") ? \"1\" : \"N\";\n\t for (var j = i; j < end; ++j) types[j] = replace;\n\t i = end - 1;\n\t }\n\t }\n\t\n\t // W7. Search backwards from each instance of a European number\n\t // until the first strong type (R, L, or sor) is found. If an L is\n\t // found, then change the type of the European number to L.\n\t for (var i = 0, cur = outerType; i < len; ++i) {\n\t var type = types[i];\n\t if (cur == \"L\" && type == \"1\") types[i] = \"L\";\n\t else if (isStrong.test(type)) cur = type;\n\t }\n\t\n\t // N1. A sequence of neutrals takes the direction of the\n\t // surrounding strong text if the text on both sides has the same\n\t // direction. European and Arabic numbers act as if they were R in\n\t // terms of their influence on neutrals. Start-of-level-run (sor)\n\t // and end-of-level-run (eor) are used at level run boundaries.\n\t // N2. Any remaining neutrals take the embedding direction.\n\t for (var i = 0; i < len; ++i) {\n\t if (isNeutral.test(types[i])) {\n\t for (var end = i + 1; end < len && isNeutral.test(types[end]); ++end) {}\n\t var before = (i ? types[i-1] : outerType) == \"L\";\n\t var after = (end < len ? types[end] : outerType) == \"L\";\n\t var replace = before || after ? \"L\" : \"R\";\n\t for (var j = i; j < end; ++j) types[j] = replace;\n\t i = end - 1;\n\t }\n\t }\n\t\n\t // Here we depart from the documented algorithm, in order to avoid\n\t // building up an actual levels array. Since there are only three\n\t // levels (0, 1, 2) in an implementation that doesn't take\n\t // explicit embedding into account, we can build up the order on\n\t // the fly, without following the level-based algorithm.\n\t var order = [], m;\n\t for (var i = 0; i < len;) {\n\t if (countsAsLeft.test(types[i])) {\n\t var start = i;\n\t for (++i; i < len && countsAsLeft.test(types[i]); ++i) {}\n\t order.push(new BidiSpan(0, start, i));\n\t } else {\n\t var pos = i, at = order.length;\n\t for (++i; i < len && types[i] != \"L\"; ++i) {}\n\t for (var j = pos; j < i;) {\n\t if (countsAsNum.test(types[j])) {\n\t if (pos < j) order.splice(at, 0, new BidiSpan(1, pos, j));\n\t var nstart = j;\n\t for (++j; j < i && countsAsNum.test(types[j]); ++j) {}\n\t order.splice(at, 0, new BidiSpan(2, nstart, j));\n\t pos = j;\n\t } else ++j;\n\t }\n\t if (pos < i) order.splice(at, 0, new BidiSpan(1, pos, i));\n\t }\n\t }\n\t if (order[0].level == 1 && (m = str.match(/^\\s+/))) {\n\t order[0].from = m[0].length;\n\t order.unshift(new BidiSpan(0, 0, m[0].length));\n\t }\n\t if (lst(order).level == 1 && (m = str.match(/\\s+$/))) {\n\t lst(order).to -= m[0].length;\n\t order.push(new BidiSpan(0, len - m[0].length, len));\n\t }\n\t if (order[0].level == 2)\n\t order.unshift(new BidiSpan(1, order[0].to, order[0].to));\n\t if (order[0].level != lst(order).level)\n\t order.push(new BidiSpan(order[0].level, len, len));\n\t\n\t return order;\n\t };\n\t })();\n\t\n\t // THE END\n\t\n\t CodeMirror.version = \"5.5.0\";\n\t\n\t return CodeMirror;\n\t});\n\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(161);\n\tmodule.exports = angular;\n\n\n/***/ },\n/* 5 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _View2 = __webpack_require__(2);\n\t\n\tvar _View3 = _interopRequireDefault(_View2);\n\t\n\tvar _UtilsOrderElement = __webpack_require__(19);\n\t\n\tvar _UtilsOrderElement2 = _interopRequireDefault(_UtilsOrderElement);\n\t\n\tvar ListView = (function (_View) {\n\t _inherits(ListView, _View);\n\t\n\t function ListView(name) {\n\t _classCallCheck(this, ListView);\n\t\n\t _get(Object.getPrototypeOf(ListView.prototype), 'constructor', this).call(this, name);\n\t\n\t this._type = 'ListView';\n\t this._perPage = 30;\n\t this._infinitePagination = false;\n\t this._listActions = [];\n\t this._batchActions = ['delete'];\n\t this._filters = [];\n\t this._permanentFilters = {};\n\t this._exportFields = null;\n\t\n\t this._sortField = 'id';\n\t this._sortDir = 'DESC';\n\t }\n\t\n\t _createClass(ListView, [{\n\t key: 'perPage',\n\t value: function perPage() {\n\t if (!arguments.length) {\n\t return this._perPage;\n\t }\n\t this._perPage = arguments[0];\n\t return this;\n\t }\n\t\n\t /** @deprecated Use perPage instead */\n\t }, {\n\t key: 'limit',\n\t value: function limit() {\n\t if (!arguments.length) {\n\t return this.perPage();\n\t }\n\t return this.perPage(arguments[0]);\n\t }\n\t }, {\n\t key: 'sortField',\n\t value: function sortField() {\n\t if (arguments.length) {\n\t this._sortField = arguments[0];\n\t return this;\n\t }\n\t\n\t return this._sortField;\n\t }\n\t }, {\n\t key: 'sortDir',\n\t value: function sortDir() {\n\t if (arguments.length) {\n\t this._sortDir = arguments[0];\n\t return this;\n\t }\n\t\n\t return this._sortDir;\n\t }\n\t }, {\n\t key: 'getSortFieldName',\n\t value: function getSortFieldName() {\n\t return this.name() + '.' + this._sortField;\n\t }\n\t }, {\n\t key: 'infinitePagination',\n\t value: function infinitePagination() {\n\t if (arguments.length) {\n\t this._infinitePagination = arguments[0];\n\t return this;\n\t }\n\t\n\t return this._infinitePagination;\n\t }\n\t }, {\n\t key: 'actions',\n\t value: function actions(_actions) {\n\t if (!arguments.length) {\n\t return this._actions;\n\t }\n\t\n\t this._actions = _actions;\n\t\n\t return this;\n\t }\n\t }, {\n\t key: 'exportFields',\n\t value: function exportFields(_exportFields) {\n\t if (!arguments.length) {\n\t return this._exportFields;\n\t }\n\t\n\t this._exportFields = _exportFields;\n\t\n\t return this;\n\t }\n\t }, {\n\t key: 'batchActions',\n\t value: function batchActions(actions) {\n\t if (!arguments.length) {\n\t return this._batchActions;\n\t }\n\t\n\t this._batchActions = actions;\n\t\n\t return this;\n\t }\n\t\n\t /**\n\t * Define permanent filters to be added to the REST API calls\n\t *\n\t * posts.listView().permanentFilters({\n\t * published: true\n\t * });\n\t * // related API call will be /posts?published=true\n\t *\n\t * @param {Object} filters list of filters to apply to the call\n\t */\n\t }, {\n\t key: 'permanentFilters',\n\t value: function permanentFilters(filters) {\n\t if (!arguments.length) {\n\t return this._permanentFilters;\n\t }\n\t\n\t this._permanentFilters = filters;\n\t\n\t return this;\n\t }\n\t\n\t /**\n\t * Define filters the user can add to the datagrid\n\t *\n\t * posts.listView().filters([\n\t * nga.field('title'),\n\t * nga.field('age', 'number')\n\t * ]);\n\t *\n\t * @param {Field[]} filters list of filters to add to the GUI\n\t */\n\t }, {\n\t key: 'filters',\n\t value: function filters(_filters) {\n\t if (!arguments.length) {\n\t return this._filters;\n\t }\n\t\n\t this._filters = _UtilsOrderElement2['default'].order(_filters);\n\t\n\t return this;\n\t }\n\t }, {\n\t key: 'getFilterReferences',\n\t value: function getFilterReferences(withRemoteComplete) {\n\t var result = {};\n\t var lists = this._filters.filter(function (f) {\n\t return f.type() === 'reference';\n\t });\n\t\n\t var filterFunction = null;\n\t if (withRemoteComplete === true) {\n\t filterFunction = function (f) {\n\t return f.remoteComplete();\n\t };\n\t } else if (withRemoteComplete === false) {\n\t filterFunction = function (f) {\n\t return !f.remoteComplete();\n\t };\n\t }\n\t\n\t if (filterFunction !== null) {\n\t lists = lists.filter(filterFunction);\n\t }\n\t\n\t for (var i = 0, c = lists.length; i < c; i++) {\n\t var list = lists[i];\n\t result[list.name()] = list;\n\t }\n\t\n\t return result;\n\t }\n\t }, {\n\t key: 'listActions',\n\t value: function listActions(actions) {\n\t if (!arguments.length) {\n\t return this._listActions;\n\t }\n\t\n\t this._listActions = actions;\n\t\n\t return this;\n\t }\n\t }]);\n\t\n\t return ListView;\n\t})(_View3['default']);\n\t\n\texports['default'] = ListView;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 6 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tvar _UtilsObjectProperties = __webpack_require__(18);\n\t\n\tvar Entry = (function () {\n\t function Entry(entityName, values, identifierValue) {\n\t _classCallCheck(this, Entry);\n\t\n\t this._entityName = entityName;\n\t this.values = values || {};\n\t this._identifierValue = identifierValue;\n\t this.listValues = {};\n\t }\n\t\n\t _createClass(Entry, [{\n\t key: 'transformToRest',\n\t\n\t /**\n\t * Transform an Entry to a JS object for the REST API Request\n\t *\n\t * @return {Object}\n\t */\n\t value: function transformToRest(fields) {\n\t\n\t var restEntry = (0, _UtilsObjectProperties.clone)(this.values);\n\t fields.forEach(function (field) {\n\t var fieldName = field.name();\n\t if (fieldName in restEntry) {\n\t restEntry[fieldName] = field.getTransformedValue(restEntry[fieldName]);\n\t }\n\t });\n\t\n\t return (0, _UtilsObjectProperties.cloneAndNest)(restEntry);\n\t }\n\t }, {\n\t key: 'entityName',\n\t get: function get() {\n\t return this._entityName;\n\t }\n\t }, {\n\t key: 'identifierValue',\n\t get: function get() {\n\t return this._identifierValue;\n\t }\n\t }], [{\n\t key: 'createForFields',\n\t value: function createForFields(fields, entityName) {\n\t var entry = new Entry(entityName);\n\t fields.forEach(function (field) {\n\t entry.values[field.name()] = field.defaultValue();\n\t });\n\t return entry;\n\t }\n\t\n\t /**\n\t * Map a JS object from the REST API Response to an Entry\n\t *\n\t * @return {Entry}\n\t */\n\t }, {\n\t key: 'createFromRest',\n\t value: function createFromRest(restEntry) {\n\t var fields = arguments.length <= 1 || arguments[1] === undefined ? [] : arguments[1];\n\t var entityName = arguments.length <= 2 || arguments[2] === undefined ? '' : arguments[2];\n\t var identifierName = arguments.length <= 3 || arguments[3] === undefined ? 'id' : arguments[3];\n\t\n\t if (!restEntry || Object.keys(restEntry).length == 0) {\n\t return Entry.createForFields(fields, entityName);\n\t }\n\t var excludedFields = fields.filter(function (f) {\n\t return !f.flattenable();\n\t }).map(function (f) {\n\t return f.name();\n\t });\n\t\n\t var values = (0, _UtilsObjectProperties.cloneAndFlatten)(restEntry, excludedFields);\n\t\n\t fields.forEach(function (field) {\n\t var fieldName = field.name();\n\t values[fieldName] = field.getMappedValue(values[fieldName], values);\n\t });\n\t\n\t return new Entry(entityName, values, values[identifierName]);\n\t }\n\t\n\t /**\n\t * Map an array of JS objects from the REST API Response to an array of Entries\n\t *\n\t * @return {Array[Entry]}\n\t */\n\t }, {\n\t key: 'createArrayFromRest',\n\t value: function createArrayFromRest(restEntries, fields, entityName, identifierName) {\n\t return restEntries.map(function (e) {\n\t return Entry.createFromRest(e, fields, entityName, identifierName);\n\t });\n\t }\n\t }]);\n\t\n\t return Entry;\n\t})();\n\t\n\texports['default'] = Entry;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _Field2 = __webpack_require__(1);\n\t\n\tvar _Field3 = _interopRequireDefault(_Field2);\n\t\n\tvar ChoiceField = (function (_Field) {\n\t _inherits(ChoiceField, _Field);\n\t\n\t function ChoiceField(name) {\n\t _classCallCheck(this, ChoiceField);\n\t\n\t _get(Object.getPrototypeOf(ChoiceField.prototype), \"constructor\", this).call(this, name);\n\t this._type = \"choice\";\n\t this._choices = [];\n\t }\n\t\n\t _createClass(ChoiceField, [{\n\t key: \"choices\",\n\t value: function choices(_choices) {\n\t if (!arguments.length) return this._choices;\n\t this._choices = _choices;\n\t\n\t return this;\n\t }\n\t }, {\n\t key: \"getLabelForChoice\",\n\t value: function getLabelForChoice(value, entry) {\n\t var choices = typeof this._choices === 'function' ? this._choices(entry) : this._choices;\n\t var choice = choices.filter(function (c) {\n\t return c.value == value;\n\t }).pop();\n\t return choice ? choice.label : null;\n\t }\n\t }]);\n\t\n\t return ChoiceField;\n\t})(_Field3[\"default\"]);\n\t\n\texports[\"default\"] = ChoiceField;\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _Field2 = __webpack_require__(1);\n\t\n\tvar _Field3 = _interopRequireDefault(_Field2);\n\t\n\tvar ReferenceField = (function (_Field) {\n\t _inherits(ReferenceField, _Field);\n\t\n\t function ReferenceField(name) {\n\t _classCallCheck(this, ReferenceField);\n\t\n\t _get(Object.getPrototypeOf(ReferenceField.prototype), 'constructor', this).call(this, name);\n\t this._type = 'reference';\n\t this._targetEntity = null;\n\t this._targetField = null;\n\t this._perPage = 30;\n\t this._permanentFilters = null;\n\t this._sortField = null;\n\t this._sortDir = null;\n\t this._singleApiCall = false;\n\t this._detailLink = true;\n\t this._remoteComplete = false;\n\t this._remoteCompleteOptions = {\n\t refreshDelay: 500\n\t };\n\t }\n\t\n\t _createClass(ReferenceField, [{\n\t key: 'perPage',\n\t value: function perPage(_perPage) {\n\t if (!arguments.length) return this._perPage;\n\t this._perPage = _perPage;\n\t return this;\n\t }\n\t }, {\n\t key: 'datagridName',\n\t value: function datagridName() {\n\t return this._targetEntity.name() + '_ListView';\n\t }\n\t }, {\n\t key: 'targetEntity',\n\t value: function targetEntity(entity) {\n\t if (!arguments.length) {\n\t return this._targetEntity;\n\t }\n\t this._targetEntity = entity;\n\t\n\t return this;\n\t }\n\t }, {\n\t key: 'targetField',\n\t value: function targetField(field) {\n\t if (!arguments.length) return this._targetField;\n\t this._targetField = field;\n\t\n\t return this;\n\t }\n\t\n\t /**\n\t * Define permanent filters to be added to the REST API calls\n\t *\n\t * nga.field('post_id', 'reference').permanentFilters({\n\t * published: true\n\t * });\n\t * // related API call will be /posts/:id?published=true\n\t *\n\t * @param {Object} filters list of filters to apply to the call\n\t */\n\t }, {\n\t key: 'permanentFilters',\n\t value: function permanentFilters(filters) {\n\t if (!arguments.length) {\n\t return this._permanentFilters;\n\t }\n\t\n\t this._permanentFilters = filters;\n\t\n\t return this;\n\t }\n\t\n\t /**\n\t * @deprecated use permanentFilters() instead\n\t */\n\t }, {\n\t key: 'filters',\n\t value: function filters(_filters) {\n\t console.warn('ReferenceField.filters() is deprecated, please use ReferenceField.permanentFilters() instead');\n\t return this.permanentFilters(_filters);\n\t }\n\t }, {\n\t key: 'sortField',\n\t value: function sortField() {\n\t if (arguments.length) {\n\t this._sortField = arguments[0];\n\t return this;\n\t }\n\t\n\t return this._sortField;\n\t }\n\t }, {\n\t key: 'sortDir',\n\t value: function sortDir() {\n\t if (arguments.length) {\n\t this._sortDir = arguments[0];\n\t return this;\n\t }\n\t\n\t return this._sortDir;\n\t }\n\t }, {\n\t key: 'singleApiCall',\n\t value: function singleApiCall(_singleApiCall) {\n\t if (!arguments.length) return this._singleApiCall;\n\t this._singleApiCall = _singleApiCall;\n\t return this;\n\t }\n\t }, {\n\t key: 'hasSingleApiCall',\n\t value: function hasSingleApiCall() {\n\t return typeof this._singleApiCall === 'function';\n\t }\n\t }, {\n\t key: 'getSingleApiCall',\n\t value: function getSingleApiCall(identifiers) {\n\t return this.hasSingleApiCall() ? this._singleApiCall(identifiers) : this._singleApiCall;\n\t }\n\t }, {\n\t key: 'getIdentifierValues',\n\t value: function getIdentifierValues(rawValues) {\n\t var results = {};\n\t var identifierName = this._name;\n\t for (var i = 0, l = rawValues.length; i < l; i++) {\n\t var identifier = rawValues[i][identifierName];\n\t if (!identifier) {\n\t continue;\n\t }\n\t\n\t if (identifier instanceof Array) {\n\t for (var j in identifier) {\n\t results[identifier[j]] = true;\n\t }\n\t continue;\n\t }\n\t\n\t results[identifier] = true;\n\t }\n\t\n\t return Object.keys(results);\n\t }\n\t }, {\n\t key: 'getSortFieldName',\n\t value: function getSortFieldName() {\n\t if (!this.sortField()) {\n\t return null;\n\t }\n\t\n\t return this._targetEntity.name() + '_ListView.' + this.sortField();\n\t }\n\t\n\t /**\n\t * Enable autocompletion using REST API for choices.\n\t *\n\t * Available options are:\n\t *\n\t * * `refreshDelay`: minimal delay between two API calls in milliseconds. By default: 500.\n\t * * `searchQuery`: a function returning the parameters to add to the query string basd on the input string.\n\t *\n\t * new ReferenceField('authors')\n\t * .targetEntity(author)\n\t * .targetField(new Field('name'))\n\t * .remoteComplete(true, {\n\t * refreshDelay: 300,\n\t * // populate choices from the response of GET /tags?q=XXX\n\t * searchQuery: function(search) { return { q: search }; }\n\t * })\n\t * .perPage(10) // limit the number of results to 10\n\t *\n\t * @param {Boolean} remoteComplete true to enable remote complete. False by default\n\t * @param {Object} options Remote completion options (optional)\n\t */\n\t }, {\n\t key: 'remoteComplete',\n\t value: function remoteComplete(_remoteComplete, options) {\n\t if (!arguments.length) return this._remoteComplete;\n\t this._remoteComplete = _remoteComplete;\n\t if (options) {\n\t this.remoteCompleteOptions(options);\n\t }\n\t return this;\n\t }\n\t }, {\n\t key: 'remoteCompleteOptions',\n\t value: function remoteCompleteOptions(options) {\n\t if (!arguments.length) return this._remoteCompleteOptions;\n\t this._remoteCompleteOptions = options;\n\t return this;\n\t }\n\t }]);\n\t\n\t return ReferenceField;\n\t})(_Field3['default']);\n\t\n\texports['default'] = ReferenceField;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 9 */\n/***/ function(module, exports) {\n\n\t// shim for using process in browser\n\t\n\tvar process = module.exports = {};\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = setTimeout(cleanUpNextTick);\n\t draining = true;\n\t\n\t var len = queue.length;\n\t while(len) {\n\t currentQueue = queue;\n\t queue = [];\n\t while (++queueIndex < len) {\n\t currentQueue[queueIndex].run();\n\t }\n\t queueIndex = -1;\n\t len = queue.length;\n\t }\n\t currentQueue = null;\n\t draining = false;\n\t clearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t var args = new Array(arguments.length - 1);\n\t if (arguments.length > 1) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t args[i - 1] = arguments[i];\n\t }\n\t }\n\t queue.push(new Item(fun, args));\n\t if (queue.length === 1 && !draining) {\n\t setTimeout(drainQueue, 0);\n\t }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t this.fun = fun;\n\t this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t};\n\t\n\t// TODO(shtylman)\n\tprocess.cwd = function () { return '/' };\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function() { return 0; };\n\n\n/***/ },\n/* 10 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(setImmediate, clearImmediate) {var nextTick = __webpack_require__(9).nextTick;\n\tvar apply = Function.prototype.apply;\n\tvar slice = Array.prototype.slice;\n\tvar immediateIds = {};\n\tvar nextImmediateId = 0;\n\t\n\t// DOM APIs, for completeness\n\t\n\texports.setTimeout = function() {\n\t return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);\n\t};\n\texports.setInterval = function() {\n\t return new Timeout(apply.call(setInterval, window, arguments), clearInterval);\n\t};\n\texports.clearTimeout =\n\texports.clearInterval = function(timeout) { timeout.close(); };\n\t\n\tfunction Timeout(id, clearFn) {\n\t this._id = id;\n\t this._clearFn = clearFn;\n\t}\n\tTimeout.prototype.unref = Timeout.prototype.ref = function() {};\n\tTimeout.prototype.close = function() {\n\t this._clearFn.call(window, this._id);\n\t};\n\t\n\t// Does not start the time, just sets up the members needed.\n\texports.enroll = function(item, msecs) {\n\t clearTimeout(item._idleTimeoutId);\n\t item._idleTimeout = msecs;\n\t};\n\t\n\texports.unenroll = function(item) {\n\t clearTimeout(item._idleTimeoutId);\n\t item._idleTimeout = -1;\n\t};\n\t\n\texports._unrefActive = exports.active = function(item) {\n\t clearTimeout(item._idleTimeoutId);\n\t\n\t var msecs = item._idleTimeout;\n\t if (msecs >= 0) {\n\t item._idleTimeoutId = setTimeout(function onTimeout() {\n\t if (item._onTimeout)\n\t item._onTimeout();\n\t }, msecs);\n\t }\n\t};\n\t\n\t// That's not how node.js implements it but the exposed api is the same.\n\texports.setImmediate = typeof setImmediate === \"function\" ? setImmediate : function(fn) {\n\t var id = nextImmediateId++;\n\t var args = arguments.length < 2 ? false : slice.call(arguments, 1);\n\t\n\t immediateIds[id] = true;\n\t\n\t nextTick(function onNextTick() {\n\t if (immediateIds[id]) {\n\t // fn.call() is faster so we optimize for the common use-case\n\t // @see http://jsperf.com/call-apply-segu\n\t if (args) {\n\t fn.apply(null, args);\n\t } else {\n\t fn.call(null);\n\t }\n\t // Prevent ids from leaking\n\t exports.clearImmediate(id);\n\t }\n\t });\n\t\n\t return id;\n\t};\n\t\n\texports.clearImmediate = typeof clearImmediate === \"function\" ? clearImmediate : function(id) {\n\t delete immediateIds[id];\n\t};\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(10).setImmediate, __webpack_require__(10).clearImmediate))\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _ViewListView = __webpack_require__(5);\n\t\n\tvar _ViewListView2 = _interopRequireDefault(_ViewListView);\n\t\n\tvar Collection = (function (_ListView) {\n\t _inherits(Collection, _ListView);\n\t\n\t function Collection() {\n\t _classCallCheck(this, Collection);\n\t\n\t _get(Object.getPrototypeOf(Collection.prototype), 'constructor', this).apply(this, arguments);\n\t }\n\t\n\t _createClass(Collection, [{\n\t key: 'setEntity',\n\t value: function setEntity(entity) {\n\t this.entity = entity;\n\t if (!this._name) {\n\t this._name = entity.name();\n\t }\n\t return this;\n\t }\n\t }]);\n\t\n\t return Collection;\n\t})(_ViewListView2['default']);\n\t\n\texports['default'] = Collection;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 12 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar Dashboard = (function () {\n\t function Dashboard() {\n\t _classCallCheck(this, Dashboard);\n\t\n\t this._collections = {};\n\t this._template = null;\n\t }\n\t\n\t _createClass(Dashboard, [{\n\t key: \"addCollection\",\n\t value: function addCollection(collection) {\n\t this._collections[collection.name()] = collection;\n\t return this;\n\t }\n\t }, {\n\t key: \"collections\",\n\t value: function collections(_collections) {\n\t if (arguments.length) {\n\t this._collections = _collections;\n\t return this;\n\t }\n\t return this._collections;\n\t }\n\t }, {\n\t key: \"hasCollections\",\n\t value: function hasCollections() {\n\t return Object.keys(this._collections).length > 0;\n\t }\n\t }, {\n\t key: \"template\",\n\t value: function template(_template) {\n\t if (arguments.length) {\n\t this._template = _template;\n\t return this;\n\t }\n\t return this._template;\n\t }\n\t }]);\n\t\n\t return Dashboard;\n\t})();\n\t\n\texports[\"default\"] = Dashboard;\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 13 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar _UtilsStringUtils = __webpack_require__(20);\n\t\n\tvar _UtilsStringUtils2 = _interopRequireDefault(_UtilsStringUtils);\n\t\n\tvar _FieldField = __webpack_require__(1);\n\t\n\tvar _FieldField2 = _interopRequireDefault(_FieldField);\n\t\n\tvar _ViewDashboardView = __webpack_require__(46);\n\t\n\tvar _ViewDashboardView2 = _interopRequireDefault(_ViewDashboardView);\n\t\n\tvar _ViewMenuView = __webpack_require__(50);\n\t\n\tvar _ViewMenuView2 = _interopRequireDefault(_ViewMenuView);\n\t\n\tvar _ViewListView = __webpack_require__(5);\n\t\n\tvar _ViewListView2 = _interopRequireDefault(_ViewListView);\n\t\n\tvar _ViewCreateView = __webpack_require__(45);\n\t\n\tvar _ViewCreateView2 = _interopRequireDefault(_ViewCreateView);\n\t\n\tvar _ViewEditView = __webpack_require__(48);\n\t\n\tvar _ViewEditView2 = _interopRequireDefault(_ViewEditView);\n\t\n\tvar _ViewDeleteView = __webpack_require__(47);\n\t\n\tvar _ViewDeleteView2 = _interopRequireDefault(_ViewDeleteView);\n\t\n\tvar _ViewShowView = __webpack_require__(51);\n\t\n\tvar _ViewShowView2 = _interopRequireDefault(_ViewShowView);\n\t\n\tvar _ViewBatchDeleteView = __webpack_require__(44);\n\t\n\tvar _ViewBatchDeleteView2 = _interopRequireDefault(_ViewBatchDeleteView);\n\t\n\tvar _ViewExportView = __webpack_require__(49);\n\t\n\tvar _ViewExportView2 = _interopRequireDefault(_ViewExportView);\n\t\n\tvar index = 0;\n\t\n\tvar Entity = (function () {\n\t function Entity(name) {\n\t _classCallCheck(this, Entity);\n\t\n\t this._name = name;\n\t this._uniqueId = this._name + '_' + index++;\n\t this._baseApiUrl = null;\n\t this._label = null;\n\t this._identifierField = new _FieldField2[\"default\"](\"id\");\n\t this._isReadOnly = false;\n\t this._errorMessage = null;\n\t this._order = 0;\n\t this._url = null;\n\t this._createMethod = null; // manually set the HTTP-method for create operation, defaults to post\n\t this._updateMethod = null; // manually set the HTTP-method for update operation, defaults to put\n\t this._retrieveMethod = null; // manually set the HTTP-method for the get operation, defaults to get\n\t this._deleteMethod = null; // manually set the HTTP-method for the delete operation, defaults to delete\n\t\n\t this._initViews();\n\t }\n\t\n\t _createClass(Entity, [{\n\t key: \"label\",\n\t value: function label() {\n\t if (arguments.length) {\n\t this._label = arguments[0];\n\t return this;\n\t }\n\t\n\t if (this._label === null) {\n\t return _UtilsStringUtils2[\"default\"].camelCase(this._name);\n\t }\n\t\n\t return this._label;\n\t }\n\t }, {\n\t key: \"name\",\n\t value: function name() {\n\t if (arguments.length) {\n\t this._name = arguments[0];\n\t return this;\n\t }\n\t\n\t return this._name;\n\t }\n\t }, {\n\t key: \"menuView\",\n\t value: function menuView() {\n\t return this._views[\"MenuView\"];\n\t }\n\t }, {\n\t key: \"dashboardView\",\n\t value: function dashboardView() {\n\t return this._views[\"DashboardView\"];\n\t }\n\t }, {\n\t key: \"listView\",\n\t value: function listView() {\n\t return this._views[\"ListView\"];\n\t }\n\t }, {\n\t key: \"creationView\",\n\t value: function creationView() {\n\t return this._views[\"CreateView\"];\n\t }\n\t }, {\n\t key: \"editionView\",\n\t value: function editionView() {\n\t return this._views[\"EditView\"];\n\t }\n\t }, {\n\t key: \"deletionView\",\n\t value: function deletionView() {\n\t return this._views[\"DeleteView\"];\n\t }\n\t }, {\n\t key: \"batchDeleteView\",\n\t value: function batchDeleteView() {\n\t return this._views[\"BatchDeleteView\"];\n\t }\n\t }, {\n\t key: \"exportView\",\n\t value: function exportView() {\n\t return this._views[\"ExportView\"];\n\t }\n\t }, {\n\t key: \"showView\",\n\t value: function showView() {\n\t return this._views[\"ShowView\"];\n\t }\n\t }, {\n\t key: \"baseApiUrl\",\n\t value: function baseApiUrl(_baseApiUrl) {\n\t if (!arguments.length) return this._baseApiUrl;\n\t this._baseApiUrl = _baseApiUrl;\n\t return this;\n\t }\n\t }, {\n\t key: \"_initViews\",\n\t value: function _initViews() {\n\t this._views = {\n\t \"DashboardView\": new _ViewDashboardView2[\"default\"]().setEntity(this),\n\t \"MenuView\": new _ViewMenuView2[\"default\"]().setEntity(this),\n\t \"ListView\": new _ViewListView2[\"default\"]().setEntity(this),\n\t \"CreateView\": new _ViewCreateView2[\"default\"]().setEntity(this),\n\t \"EditView\": new _ViewEditView2[\"default\"]().setEntity(this),\n\t \"DeleteView\": new _ViewDeleteView2[\"default\"]().setEntity(this),\n\t \"BatchDeleteView\": new _ViewBatchDeleteView2[\"default\"]().setEntity(this),\n\t \"ExportView\": new _ViewExportView2[\"default\"]().setEntity(this),\n\t \"ShowView\": new _ViewShowView2[\"default\"]().setEntity(this)\n\t };\n\t }\n\t }, {\n\t key: \"identifier\",\n\t value: function identifier(value) {\n\t if (!arguments.length) return this._identifierField;\n\t if (!(value instanceof _FieldField2[\"default\"])) {\n\t throw new Error('Entity ' + this.name() + ': identifier must be an instance of Field.');\n\t }\n\t this._identifierField = value;\n\t return this;\n\t }\n\t }, {\n\t key: \"readOnly\",\n\t value: function readOnly() {\n\t this._isReadOnly = true;\n\t\n\t this._views[\"CreateView\"].disable();\n\t this._views[\"EditView\"].disable();\n\t this._views[\"DeleteView\"].disable();\n\t this._views[\"BatchDeleteView\"].disable();\n\t\n\t return this;\n\t }\n\t }, {\n\t key: \"getErrorMessage\",\n\t value: function getErrorMessage(response) {\n\t if (typeof this._errorMessage === 'function') {\n\t return this._errorMessage(response);\n\t }\n\t\n\t return this._errorMessage;\n\t }\n\t }, {\n\t key: \"errorMessage\",\n\t value: function errorMessage(_errorMessage) {\n\t if (!arguments.length) return this._errorMessage;\n\t this._errorMessage = _errorMessage;\n\t return this;\n\t }\n\t }, {\n\t key: \"order\",\n\t value: function order(_order) {\n\t if (!arguments.length) return this._order;\n\t this._order = _order;\n\t return this;\n\t }\n\t }, {\n\t key: \"url\",\n\t value: function url(_url) {\n\t if (!arguments.length) return this._url;\n\t this._url = _url;\n\t return this;\n\t }\n\t }, {\n\t key: \"getUrl\",\n\t value: function getUrl(viewType, identifierValue, identifierName) {\n\t if (typeof this._url === 'function') {\n\t return this._url(this.name(), viewType, identifierValue, identifierName);\n\t }\n\t\n\t return this._url;\n\t }\n\t }, {\n\t key: \"createMethod\",\n\t value: function createMethod(_createMethod) {\n\t if (!arguments.length) return this._createMethod;\n\t this._createMethod = _createMethod;\n\t return this;\n\t }\n\t }, {\n\t key: \"updateMethod\",\n\t value: function updateMethod(_updateMethod) {\n\t if (!arguments.length) return this._updateMethod;\n\t this._updateMethod = _updateMethod;\n\t return this;\n\t }\n\t }, {\n\t key: \"retrieveMethod\",\n\t value: function retrieveMethod(_retrieveMethod) {\n\t if (!arguments.length) return this._retrieveMethod;\n\t this._retrieveMethod = _retrieveMethod;\n\t return this;\n\t }\n\t }, {\n\t key: \"deleteMethod\",\n\t value: function deleteMethod(_deleteMethod) {\n\t if (!arguments.length) return this._deleteMethod;\n\t this._deleteMethod = _deleteMethod;\n\t return this;\n\t }\n\t }, {\n\t key: \"uniqueId\",\n\t get: function get() {\n\t return this._uniqueId;\n\t }\n\t }, {\n\t key: \"views\",\n\t get: function get() {\n\t return this._views;\n\t }\n\t }, {\n\t key: \"isReadOnly\",\n\t get: function get() {\n\t return this._isReadOnly;\n\t }\n\t }]);\n\t\n\t return Entity;\n\t})();\n\t\n\texports[\"default\"] = Entity;\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 14 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _Field2 = __webpack_require__(1);\n\t\n\tvar _Field3 = _interopRequireDefault(_Field2);\n\t\n\tvar DateField = (function (_Field) {\n\t _inherits(DateField, _Field);\n\t\n\t function DateField(name) {\n\t _classCallCheck(this, DateField);\n\t\n\t _get(Object.getPrototypeOf(DateField.prototype), \"constructor\", this).call(this, name);\n\t\n\t this._format = null;\n\t this._parse = function (date) {\n\t if (date instanceof Date) {\n\t // the datepicker returns a JS Date object, with hours, minutes and timezone\n\t // in order to convert it back to date, we must remove the timezone, then\n\t // remove hours and minutes\n\t date.setMinutes(date.getMinutes() - date.getTimezoneOffset());\n\t\n\t var dateString = date.toJSON();\n\t return dateString ? dateString.substr(0, 10) : null;\n\t }\n\t };\n\t this._type = \"date\";\n\t }\n\t\n\t _createClass(DateField, [{\n\t key: \"format\",\n\t value: function format(value) {\n\t if (!arguments.length) return this._format;\n\t this._format = value;\n\t return this;\n\t }\n\t }, {\n\t key: \"parse\",\n\t value: function parse(value) {\n\t if (!arguments.length) return this._parse;\n\t this._parse = value;\n\t return this;\n\t }\n\t }]);\n\t\n\t return DateField;\n\t})(_Field3[\"default\"]);\n\t\n\texports[\"default\"] = DateField;\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 15 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _Field2 = __webpack_require__(1);\n\t\n\tvar _Field3 = _interopRequireDefault(_Field2);\n\t\n\tvar NumberField = (function (_Field) {\n\t _inherits(NumberField, _Field);\n\t\n\t function NumberField(name) {\n\t _classCallCheck(this, NumberField);\n\t\n\t _get(Object.getPrototypeOf(NumberField.prototype), \"constructor\", this).call(this, name);\n\t this._type = \"number\";\n\t this._format = undefined;\n\t }\n\t\n\t /**\n\t * Specify format pattern for number to string conversion. \n\t *\n\t * Based on NumeralJs, which uses a syntax similar to Excel.\n\t *\n\t * {@link} http://numeraljs.com/\n\t * {@link} https://github.com/baumandm/angular-numeraljs\n\t * {@example}\n\t *\n\t * nga.field('height', 'number').format('$0,0.00');\n\t */\n\t\n\t _createClass(NumberField, [{\n\t key: \"format\",\n\t value: function format(value) {\n\t if (!arguments.length) return this._format;\n\t this._format = value;\n\t return this;\n\t }\n\t }, {\n\t key: \"fractionSize\",\n\t value: function fractionSize(decimals) {\n\t console.warn('NumberField.fractionSize() is deprecated, use NumberField.format() instead');\n\t this.format('0.' + '0'.repeat(decimals));\n\t return this;\n\t }\n\t }]);\n\t\n\t return NumberField;\n\t})(_Field3[\"default\"]);\n\t\n\texports[\"default\"] = NumberField;\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 16 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tvar _EntityEntity = __webpack_require__(13);\n\t\n\tvar _EntityEntity2 = _interopRequireDefault(_EntityEntity);\n\t\n\tfunction alwaysFalse() {\n\t return false;\n\t}\n\t\n\tvar uuid = 0;\n\t\n\tvar Menu = (function () {\n\t function Menu() {\n\t _classCallCheck(this, Menu);\n\t\n\t this._link = null;\n\t this._activeFunc = alwaysFalse;\n\t this._title = null;\n\t this._icon = false;\n\t this._children = [];\n\t this._template = false;\n\t this.uuid = uuid++;\n\t }\n\t\n\t _createClass(Menu, [{\n\t key: 'title',\n\t value: function title() {\n\t if (arguments.length) {\n\t this._title = arguments[0];\n\t return this;\n\t }\n\t return this._title;\n\t }\n\t }, {\n\t key: 'isLink',\n\t value: function isLink() {\n\t return !!this._link;\n\t }\n\t }, {\n\t key: 'link',\n\t value: function link() {\n\t var _this = this;\n\t\n\t if (arguments.length) {\n\t this._link = arguments[0];\n\t if (this._activeFunc == alwaysFalse) {\n\t this._activeFunc = function (url) {\n\t return url.indexOf(_this._link) === 0;\n\t };\n\t }\n\t return this;\n\t }\n\t return this._link;\n\t }\n\t }, {\n\t key: 'active',\n\t value: function active(activeFunc) {\n\t if (arguments.length) {\n\t this._activeFunc = arguments[0];\n\t return this;\n\t }\n\t return this._activeFunc;\n\t }\n\t }, {\n\t key: 'isActive',\n\t value: function isActive(url) {\n\t return this._activeFunc(url);\n\t }\n\t }, {\n\t key: 'isChildActive',\n\t value: function isChildActive(url) {\n\t return this.isActive(url) || this.children().filter(function (menu) {\n\t return menu.isChildActive(url);\n\t }).length > 0;\n\t }\n\t }, {\n\t key: 'addChild',\n\t value: function addChild(child) {\n\t if (!(child instanceof Menu)) {\n\t throw new Error('Only Menu instances are accepted as children of a Menu');\n\t }\n\t this._children.push(child);\n\t return this;\n\t }\n\t }, {\n\t key: 'hasChild',\n\t value: function hasChild() {\n\t return this._children.length > 0;\n\t }\n\t }, {\n\t key: 'getChildByTitle',\n\t value: function getChildByTitle(title) {\n\t return this.children().filter(function (child) {\n\t return child.title() == title;\n\t }).pop();\n\t }\n\t }, {\n\t key: 'children',\n\t value: function children() {\n\t if (arguments.length) {\n\t this._children = arguments[0];\n\t return this;\n\t }\n\t return this._children;\n\t }\n\t }, {\n\t key: 'icon',\n\t value: function icon() {\n\t if (arguments.length) {\n\t this._icon = arguments[0];\n\t return this;\n\t }\n\t return this._icon;\n\t }\n\t }, {\n\t key: 'template',\n\t value: function template() {\n\t if (arguments.length) {\n\t this._template = arguments[0];\n\t return this;\n\t }\n\t return this._template;\n\t }\n\t }, {\n\t key: 'populateFromEntity',\n\t value: function populateFromEntity(entity) {\n\t if (!(entity instanceof _EntityEntity2['default'])) {\n\t throw new Error('populateFromEntity() only accepts an Entity parameter');\n\t }\n\t this.title(entity.label());\n\t this.active(function (path) {\n\t return path.indexOf('/' + entity.name() + '/') === 0;\n\t });\n\t this.link('/' + entity.name() + '/list');\n\t // deprecated\n\t this.icon(entity.menuView().icon());\n\t return this;\n\t }\n\t }]);\n\t\n\t return Menu;\n\t})();\n\t\n\texports['default'] = Menu;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 17 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar Queries = function Queries(RestWrapper, PromisesResolver, Application) {\n\t _classCallCheck(this, Queries);\n\t\n\t this._restWrapper = RestWrapper;\n\t this._promisesResolver = PromisesResolver;\n\t this._application = Application;\n\t};\n\t\n\texports[\"default\"] = Queries;\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 18 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\texports.clone = clone;\n\texports.cloneAndFlatten = cloneAndFlatten;\n\texports.cloneAndNest = cloneAndNest;\n\tfunction isObject(value) {\n\t if (value === null) return false;\n\t if (typeof value !== 'object') return false;\n\t if (Array.isArray(value)) return false;\n\t if (Object.prototype.toString.call(value) === '[object Date]') return false;\n\t return true;\n\t}\n\t\n\tfunction clone(object) {\n\t return Object.keys(object).reduce(function (values, name) {\n\t if (object.hasOwnProperty(name)) {\n\t values[name] = object[name];\n\t }\n\t return values;\n\t }, {});\n\t}\n\t\n\t/*\n\t * Flatten nested object into a single level object with 'foo.bar' property names\n\t *\n\t * The parameter object is left unchanged. All values in the returned object are scalar.\n\t *\n\t * cloneAndFlatten({ a: 1, b: { c: 2 }, d: { e: 3, f: { g: 4, h: 5 } }, i: { j: 6 } }, ['i'])\n\t * // { a: 1, 'b.c': 2, 'd.e': 3, 'd.f.g': 4, 'd.f.h': 5, i: { j: 6 } } }\n\t *\n\t * @param {Object} object\n\t * @param {String[]} excludedProperties\n\t * @return {Object}\n\t */\n\t\n\tfunction cloneAndFlatten(object) {\n\t var excludedProperties = arguments.length <= 1 || arguments[1] === undefined ? [] : arguments[1];\n\t\n\t if (typeof object !== 'object') {\n\t throw new Error('Expecting an object parameter');\n\t }\n\t return Object.keys(object).reduce(function (values, name) {\n\t if (!object.hasOwnProperty(name)) return values;\n\t if (isObject(object[name])) {\n\t if (excludedProperties.indexOf(name) === -1) {\n\t (function () {\n\t var flatObject = cloneAndFlatten(object[name]);\n\t Object.keys(flatObject).forEach(function (flatObjectKey) {\n\t if (!flatObject.hasOwnProperty(flatObjectKey)) return;\n\t values[name + '.' + flatObjectKey] = flatObject[flatObjectKey];\n\t });\n\t })();\n\t } else {\n\t values[name] = clone(object[name]);\n\t }\n\t } else {\n\t values[name] = object[name];\n\t }\n\t return values;\n\t }, {});\n\t}\n\t\n\t;\n\t\n\t/*\n\t * Clone flattened object into a nested object\n\t *\n\t * The parameter object is left unchanged.\n\t *\n\t * cloneAndNest({ a: 1, 'b.c': 2, 'd.e': 3, 'd.f.g': 4, 'd.f.h': 5 } )\n\t * // { a: 1, b: { c: 2 }, d: { e: 3, f: { g: 4, h: 5 } } }\n\t *\n\t * @param {Object} object\n\t * @return {Object}\n\t */\n\t\n\tfunction cloneAndNest(object) {\n\t if (typeof object !== 'object') {\n\t throw new Error('Expecting an object parameter');\n\t }\n\t return Object.keys(object).reduce(function (values, name) {\n\t if (!object.hasOwnProperty(name)) return values;\n\t name.split('.').reduce(function (previous, current, index, list) {\n\t if (typeof previous[current] === 'undefined') previous[current] = {};\n\t if (index < list.length - 1) {\n\t return previous[current];\n\t };\n\t previous[current] = object[name];\n\t }, values);\n\t return values;\n\t }, {});\n\t}\n\n/***/ },\n/* 19 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports[\"default\"] = {\n\t order: function order(input) {\n\t var results = [],\n\t objectKey;\n\t\n\t for (objectKey in input) {\n\t results.push(input[objectKey]);\n\t }\n\t\n\t return results.sort(function (e1, e2) {\n\t return e1.order() - e2.order();\n\t });\n\t }\n\t};\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 20 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\texports['default'] = {\n\t /**\n\t * @see http://stackoverflow.com/questions/10425287/convert-string-to-camelcase-with-regular-expression\n\t * @see http://phpjs.org/functions/ucfirst/\n\t */\n\t camelCase: function camelCase(text) {\n\t if (!text) {\n\t return text;\n\t }\n\t\n\t var f = text.charAt(0).toUpperCase();\n\t text = f + text.substr(1);\n\t\n\t return text.replace(/[-_.\\s](.)/g, function (match, group1) {\n\t return ' ' + group1.toUpperCase();\n\t });\n\t }\n\t};\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 21 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t getReadWidget: function getReadWidget() {\n\t return '';\n\t },\n\t getLinkWidget: function getLinkWidget() {\n\t return '' + module.exports.getReadWidget() + '';\n\t },\n\t getFilterWidget: function getFilterWidget() {\n\t return '';\n\t },\n\t getWriteWidget: function getWriteWidget() {\n\t return '
';\n\t }\n\t};\n\n/***/ },\n/* 22 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(module, global) {/**\n\t * @license\n\t * lodash 3.10.1 (Custom Build) \n\t * Build: `lodash modern -d -o ./index.js`\n\t * Copyright 2012-2015 The Dojo Foundation \n\t * Based on Underscore.js 1.8.3 \n\t * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t * Available under MIT license \n\t */\n\t;(function() {\n\t\n\t /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n\t var undefined;\n\t\n\t /** Used as the semantic version number. */\n\t var VERSION = '3.10.1';\n\t\n\t /** Used to compose bitmasks for wrapper metadata. */\n\t var BIND_FLAG = 1,\n\t BIND_KEY_FLAG = 2,\n\t CURRY_BOUND_FLAG = 4,\n\t CURRY_FLAG = 8,\n\t CURRY_RIGHT_FLAG = 16,\n\t PARTIAL_FLAG = 32,\n\t PARTIAL_RIGHT_FLAG = 64,\n\t ARY_FLAG = 128,\n\t REARG_FLAG = 256;\n\t\n\t /** Used as default options for `_.trunc`. */\n\t var DEFAULT_TRUNC_LENGTH = 30,\n\t DEFAULT_TRUNC_OMISSION = '...';\n\t\n\t /** Used to detect when a function becomes hot. */\n\t var HOT_COUNT = 150,\n\t HOT_SPAN = 16;\n\t\n\t /** Used as the size to enable large array optimizations. */\n\t var LARGE_ARRAY_SIZE = 200;\n\t\n\t /** Used to indicate the type of lazy iteratees. */\n\t var LAZY_FILTER_FLAG = 1,\n\t LAZY_MAP_FLAG = 2;\n\t\n\t /** Used as the `TypeError` message for \"Functions\" methods. */\n\t var FUNC_ERROR_TEXT = 'Expected a function';\n\t\n\t /** Used as the internal argument placeholder. */\n\t var PLACEHOLDER = '__lodash_placeholder__';\n\t\n\t /** `Object#toString` result references. */\n\t var argsTag = '[object Arguments]',\n\t arrayTag = '[object Array]',\n\t boolTag = '[object Boolean]',\n\t dateTag = '[object Date]',\n\t errorTag = '[object Error]',\n\t funcTag = '[object Function]',\n\t mapTag = '[object Map]',\n\t numberTag = '[object Number]',\n\t objectTag = '[object Object]',\n\t regexpTag = '[object RegExp]',\n\t setTag = '[object Set]',\n\t stringTag = '[object String]',\n\t weakMapTag = '[object WeakMap]';\n\t\n\t var arrayBufferTag = '[object ArrayBuffer]',\n\t float32Tag = '[object Float32Array]',\n\t float64Tag = '[object Float64Array]',\n\t int8Tag = '[object Int8Array]',\n\t int16Tag = '[object Int16Array]',\n\t int32Tag = '[object Int32Array]',\n\t uint8Tag = '[object Uint8Array]',\n\t uint8ClampedTag = '[object Uint8ClampedArray]',\n\t uint16Tag = '[object Uint16Array]',\n\t uint32Tag = '[object Uint32Array]';\n\t\n\t /** Used to match empty string literals in compiled template source. */\n\t var reEmptyStringLeading = /\\b__p \\+= '';/g,\n\t reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n\t reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\t\n\t /** Used to match HTML entities and HTML characters. */\n\t var reEscapedHtml = /&(?:amp|lt|gt|quot|#39|#96);/g,\n\t reUnescapedHtml = /[&<>\"'`]/g,\n\t reHasEscapedHtml = RegExp(reEscapedHtml.source),\n\t reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\t\n\t /** Used to match template delimiters. */\n\t var reEscape = /<%-([\\s\\S]+?)%>/g,\n\t reEvaluate = /<%([\\s\\S]+?)%>/g,\n\t reInterpolate = /<%=([\\s\\S]+?)%>/g;\n\t\n\t /** Used to match property names within property paths. */\n\t var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\n\\\\]|\\\\.)*?\\1)\\]/,\n\t reIsPlainProp = /^\\w*$/,\n\t rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\n\\\\]|\\\\.)*?)\\2)\\]/g;\n\t\n\t /**\n\t * Used to match `RegExp` [syntax characters](http://ecma-international.org/ecma-262/6.0/#sec-patterns)\n\t * and those outlined by [`EscapeRegExpPattern`](http://ecma-international.org/ecma-262/6.0/#sec-escaperegexppattern).\n\t */\n\t var reRegExpChars = /^[:!,]|[\\\\^$.*+?()[\\]{}|\\/]|(^[0-9a-fA-Fnrtuvx])|([\\n\\r\\u2028\\u2029])/g,\n\t reHasRegExpChars = RegExp(reRegExpChars.source);\n\t\n\t /** Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks). */\n\t var reComboMark = /[\\u0300-\\u036f\\ufe20-\\ufe23]/g;\n\t\n\t /** Used to match backslashes in property paths. */\n\t var reEscapeChar = /\\\\(\\\\)?/g;\n\t\n\t /** Used to match [ES template delimiters](http://ecma-international.org/ecma-262/6.0/#sec-template-literal-lexical-components). */\n\t var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n\t\n\t /** Used to match `RegExp` flags from their coerced string values. */\n\t var reFlags = /\\w*$/;\n\t\n\t /** Used to detect hexadecimal string values. */\n\t var reHasHexPrefix = /^0[xX]/;\n\t\n\t /** Used to detect host constructors (Safari > 5). */\n\t var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\t\n\t /** Used to detect unsigned integer values. */\n\t var reIsUint = /^\\d+$/;\n\t\n\t /** Used to match latin-1 supplementary letters (excluding mathematical operators). */\n\t var reLatin1 = /[\\xc0-\\xd6\\xd8-\\xde\\xdf-\\xf6\\xf8-\\xff]/g;\n\t\n\t /** Used to ensure capturing order of template delimiters. */\n\t var reNoMatch = /($^)/;\n\t\n\t /** Used to match unescaped characters in compiled string literals. */\n\t var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n\t\n\t /** Used to match words to create compound words. */\n\t var reWords = (function() {\n\t var upper = '[A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde]',\n\t lower = '[a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff]+';\n\t\n\t return RegExp(upper + '+(?=' + upper + lower + ')|' + upper + '?' + lower + '|' + upper + '+|[0-9]+', 'g');\n\t }());\n\t\n\t /** Used to assign default `context` object properties. */\n\t var contextProps = [\n\t 'Array', 'ArrayBuffer', 'Date', 'Error', 'Float32Array', 'Float64Array',\n\t 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Math', 'Number',\n\t 'Object', 'RegExp', 'Set', 'String', '_', 'clearTimeout', 'isFinite',\n\t 'parseFloat', 'parseInt', 'setTimeout', 'TypeError', 'Uint8Array',\n\t 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap'\n\t ];\n\t\n\t /** Used to make template sourceURLs easier to identify. */\n\t var templateCounter = -1;\n\t\n\t /** Used to identify `toStringTag` values of typed arrays. */\n\t var typedArrayTags = {};\n\t typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\n\t typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\n\t typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\n\t typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\n\t typedArrayTags[uint32Tag] = true;\n\t typedArrayTags[argsTag] = typedArrayTags[arrayTag] =\n\t typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\n\t typedArrayTags[dateTag] = typedArrayTags[errorTag] =\n\t typedArrayTags[funcTag] = typedArrayTags[mapTag] =\n\t typedArrayTags[numberTag] = typedArrayTags[objectTag] =\n\t typedArrayTags[regexpTag] = typedArrayTags[setTag] =\n\t typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;\n\t\n\t /** Used to identify `toStringTag` values supported by `_.clone`. */\n\t var cloneableTags = {};\n\t cloneableTags[argsTag] = cloneableTags[arrayTag] =\n\t cloneableTags[arrayBufferTag] = cloneableTags[boolTag] =\n\t cloneableTags[dateTag] = cloneableTags[float32Tag] =\n\t cloneableTags[float64Tag] = cloneableTags[int8Tag] =\n\t cloneableTags[int16Tag] = cloneableTags[int32Tag] =\n\t cloneableTags[numberTag] = cloneableTags[objectTag] =\n\t cloneableTags[regexpTag] = cloneableTags[stringTag] =\n\t cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\n\t cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n\t cloneableTags[errorTag] = cloneableTags[funcTag] =\n\t cloneableTags[mapTag] = cloneableTags[setTag] =\n\t cloneableTags[weakMapTag] = false;\n\t\n\t /** Used to map latin-1 supplementary letters to basic latin letters. */\n\t var deburredLetters = {\n\t '\\xc0': 'A', '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n\t '\\xe0': 'a', '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n\t '\\xc7': 'C', '\\xe7': 'c',\n\t '\\xd0': 'D', '\\xf0': 'd',\n\t '\\xc8': 'E', '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n\t '\\xe8': 'e', '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n\t '\\xcC': 'I', '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n\t '\\xeC': 'i', '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n\t '\\xd1': 'N', '\\xf1': 'n',\n\t '\\xd2': 'O', '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n\t '\\xf2': 'o', '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n\t '\\xd9': 'U', '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n\t '\\xf9': 'u', '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n\t '\\xdd': 'Y', '\\xfd': 'y', '\\xff': 'y',\n\t '\\xc6': 'Ae', '\\xe6': 'ae',\n\t '\\xde': 'Th', '\\xfe': 'th',\n\t '\\xdf': 'ss'\n\t };\n\t\n\t /** Used to map characters to HTML entities. */\n\t var htmlEscapes = {\n\t '&': '&',\n\t '<': '<',\n\t '>': '>',\n\t '\"': '"',\n\t \"'\": ''',\n\t '`': '`'\n\t };\n\t\n\t /** Used to map HTML entities to characters. */\n\t var htmlUnescapes = {\n\t '&': '&',\n\t '<': '<',\n\t '>': '>',\n\t '"': '\"',\n\t ''': \"'\",\n\t '`': '`'\n\t };\n\t\n\t /** Used to determine if values are of the language type `Object`. */\n\t var objectTypes = {\n\t 'function': true,\n\t 'object': true\n\t };\n\t\n\t /** Used to escape characters for inclusion in compiled regexes. */\n\t var regexpEscapes = {\n\t '0': 'x30', '1': 'x31', '2': 'x32', '3': 'x33', '4': 'x34',\n\t '5': 'x35', '6': 'x36', '7': 'x37', '8': 'x38', '9': 'x39',\n\t 'A': 'x41', 'B': 'x42', 'C': 'x43', 'D': 'x44', 'E': 'x45', 'F': 'x46',\n\t 'a': 'x61', 'b': 'x62', 'c': 'x63', 'd': 'x64', 'e': 'x65', 'f': 'x66',\n\t 'n': 'x6e', 'r': 'x72', 't': 'x74', 'u': 'x75', 'v': 'x76', 'x': 'x78'\n\t };\n\t\n\t /** Used to escape characters for inclusion in compiled string literals. */\n\t var stringEscapes = {\n\t '\\\\': '\\\\',\n\t \"'\": \"'\",\n\t '\\n': 'n',\n\t '\\r': 'r',\n\t '\\u2028': 'u2028',\n\t '\\u2029': 'u2029'\n\t };\n\t\n\t /** Detect free variable `exports`. */\n\t var freeExports = objectTypes[typeof exports] && exports && !exports.nodeType && exports;\n\t\n\t /** Detect free variable `module`. */\n\t var freeModule = objectTypes[typeof module] && module && !module.nodeType && module;\n\t\n\t /** Detect free variable `global` from Node.js. */\n\t var freeGlobal = freeExports && freeModule && typeof global == 'object' && global && global.Object && global;\n\t\n\t /** Detect free variable `self`. */\n\t var freeSelf = objectTypes[typeof self] && self && self.Object && self;\n\t\n\t /** Detect free variable `window`. */\n\t var freeWindow = objectTypes[typeof window] && window && window.Object && window;\n\t\n\t /** Detect the popular CommonJS extension `module.exports`. */\n\t var moduleExports = freeModule && freeModule.exports === freeExports && freeExports;\n\t\n\t /**\n\t * Used as a reference to the global object.\n\t *\n\t * The `this` value is used if it's the global object to avoid Greasemonkey's\n\t * restricted `window` object, otherwise the `window` object is used.\n\t */\n\t var root = freeGlobal || ((freeWindow !== (this && this.window)) && freeWindow) || freeSelf || this;\n\t\n\t /*--------------------------------------------------------------------------*/\n\t\n\t /**\n\t * The base implementation of `compareAscending` which compares values and\n\t * sorts them in ascending order without guaranteeing a stable sort.\n\t *\n\t * @private\n\t * @param {*} value The value to compare.\n\t * @param {*} other The other value to compare.\n\t * @returns {number} Returns the sort order indicator for `value`.\n\t */\n\t function baseCompareAscending(value, other) {\n\t if (value !== other) {\n\t var valIsNull = value === null,\n\t valIsUndef = value === undefined,\n\t valIsReflexive = value === value;\n\t\n\t var othIsNull = other === null,\n\t othIsUndef = other === undefined,\n\t othIsReflexive = other === other;\n\t\n\t if ((value > other && !othIsNull) || !valIsReflexive ||\n\t (valIsNull && !othIsUndef && othIsReflexive) ||\n\t (valIsUndef && othIsReflexive)) {\n\t return 1;\n\t }\n\t if ((value < other && !valIsNull) || !othIsReflexive ||\n\t (othIsNull && !valIsUndef && valIsReflexive) ||\n\t (othIsUndef && valIsReflexive)) {\n\t return -1;\n\t }\n\t }\n\t return 0;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.findIndex` and `_.findLastIndex` without\n\t * support for callback shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Array} array The array to search.\n\t * @param {Function} predicate The function invoked per iteration.\n\t * @param {boolean} [fromRight] Specify iterating from right to left.\n\t * @returns {number} Returns the index of the matched value, else `-1`.\n\t */\n\t function baseFindIndex(array, predicate, fromRight) {\n\t var length = array.length,\n\t index = fromRight ? length : -1;\n\t\n\t while ((fromRight ? index-- : ++index < length)) {\n\t if (predicate(array[index], index, array)) {\n\t return index;\n\t }\n\t }\n\t return -1;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.indexOf` without support for binary searches.\n\t *\n\t * @private\n\t * @param {Array} array The array to search.\n\t * @param {*} value The value to search for.\n\t * @param {number} fromIndex The index to search from.\n\t * @returns {number} Returns the index of the matched value, else `-1`.\n\t */\n\t function baseIndexOf(array, value, fromIndex) {\n\t if (value !== value) {\n\t return indexOfNaN(array, fromIndex);\n\t }\n\t var index = fromIndex - 1,\n\t length = array.length;\n\t\n\t while (++index < length) {\n\t if (array[index] === value) {\n\t return index;\n\t }\n\t }\n\t return -1;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.isFunction` without support for environments\n\t * with incorrect `typeof` results.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t */\n\t function baseIsFunction(value) {\n\t // Avoid a Chakra JIT bug in compatibility modes of IE 11.\n\t // See https://github.com/jashkenas/underscore/issues/1621 for more details.\n\t return typeof value == 'function' || false;\n\t }\n\t\n\t /**\n\t * Converts `value` to a string if it's not one. An empty string is returned\n\t * for `null` or `undefined` values.\n\t *\n\t * @private\n\t * @param {*} value The value to process.\n\t * @returns {string} Returns the string.\n\t */\n\t function baseToString(value) {\n\t return value == null ? '' : (value + '');\n\t }\n\t\n\t /**\n\t * Used by `_.trim` and `_.trimLeft` to get the index of the first character\n\t * of `string` that is not found in `chars`.\n\t *\n\t * @private\n\t * @param {string} string The string to inspect.\n\t * @param {string} chars The characters to find.\n\t * @returns {number} Returns the index of the first character not found in `chars`.\n\t */\n\t function charsLeftIndex(string, chars) {\n\t var index = -1,\n\t length = string.length;\n\t\n\t while (++index < length && chars.indexOf(string.charAt(index)) > -1) {}\n\t return index;\n\t }\n\t\n\t /**\n\t * Used by `_.trim` and `_.trimRight` to get the index of the last character\n\t * of `string` that is not found in `chars`.\n\t *\n\t * @private\n\t * @param {string} string The string to inspect.\n\t * @param {string} chars The characters to find.\n\t * @returns {number} Returns the index of the last character not found in `chars`.\n\t */\n\t function charsRightIndex(string, chars) {\n\t var index = string.length;\n\t\n\t while (index-- && chars.indexOf(string.charAt(index)) > -1) {}\n\t return index;\n\t }\n\t\n\t /**\n\t * Used by `_.sortBy` to compare transformed elements of a collection and stable\n\t * sort them in ascending order.\n\t *\n\t * @private\n\t * @param {Object} object The object to compare.\n\t * @param {Object} other The other object to compare.\n\t * @returns {number} Returns the sort order indicator for `object`.\n\t */\n\t function compareAscending(object, other) {\n\t return baseCompareAscending(object.criteria, other.criteria) || (object.index - other.index);\n\t }\n\t\n\t /**\n\t * Used by `_.sortByOrder` to compare multiple properties of a value to another\n\t * and stable sort them.\n\t *\n\t * If `orders` is unspecified, all valuess are sorted in ascending order. Otherwise,\n\t * a value is sorted in ascending order if its corresponding order is \"asc\", and\n\t * descending if \"desc\".\n\t *\n\t * @private\n\t * @param {Object} object The object to compare.\n\t * @param {Object} other The other object to compare.\n\t * @param {boolean[]} orders The order to sort by for each property.\n\t * @returns {number} Returns the sort order indicator for `object`.\n\t */\n\t function compareMultiple(object, other, orders) {\n\t var index = -1,\n\t objCriteria = object.criteria,\n\t othCriteria = other.criteria,\n\t length = objCriteria.length,\n\t ordersLength = orders.length;\n\t\n\t while (++index < length) {\n\t var result = baseCompareAscending(objCriteria[index], othCriteria[index]);\n\t if (result) {\n\t if (index >= ordersLength) {\n\t return result;\n\t }\n\t var order = orders[index];\n\t return result * ((order === 'asc' || order === true) ? 1 : -1);\n\t }\n\t }\n\t // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n\t // that causes it, under certain circumstances, to provide the same value for\n\t // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n\t // for more details.\n\t //\n\t // This also ensures a stable sort in V8 and other engines.\n\t // See https://code.google.com/p/v8/issues/detail?id=90 for more details.\n\t return object.index - other.index;\n\t }\n\t\n\t /**\n\t * Used by `_.deburr` to convert latin-1 supplementary letters to basic latin letters.\n\t *\n\t * @private\n\t * @param {string} letter The matched letter to deburr.\n\t * @returns {string} Returns the deburred letter.\n\t */\n\t function deburrLetter(letter) {\n\t return deburredLetters[letter];\n\t }\n\t\n\t /**\n\t * Used by `_.escape` to convert characters to HTML entities.\n\t *\n\t * @private\n\t * @param {string} chr The matched character to escape.\n\t * @returns {string} Returns the escaped character.\n\t */\n\t function escapeHtmlChar(chr) {\n\t return htmlEscapes[chr];\n\t }\n\t\n\t /**\n\t * Used by `_.escapeRegExp` to escape characters for inclusion in compiled regexes.\n\t *\n\t * @private\n\t * @param {string} chr The matched character to escape.\n\t * @param {string} leadingChar The capture group for a leading character.\n\t * @param {string} whitespaceChar The capture group for a whitespace character.\n\t * @returns {string} Returns the escaped character.\n\t */\n\t function escapeRegExpChar(chr, leadingChar, whitespaceChar) {\n\t if (leadingChar) {\n\t chr = regexpEscapes[chr];\n\t } else if (whitespaceChar) {\n\t chr = stringEscapes[chr];\n\t }\n\t return '\\\\' + chr;\n\t }\n\t\n\t /**\n\t * Used by `_.template` to escape characters for inclusion in compiled string literals.\n\t *\n\t * @private\n\t * @param {string} chr The matched character to escape.\n\t * @returns {string} Returns the escaped character.\n\t */\n\t function escapeStringChar(chr) {\n\t return '\\\\' + stringEscapes[chr];\n\t }\n\t\n\t /**\n\t * Gets the index at which the first occurrence of `NaN` is found in `array`.\n\t *\n\t * @private\n\t * @param {Array} array The array to search.\n\t * @param {number} fromIndex The index to search from.\n\t * @param {boolean} [fromRight] Specify iterating from right to left.\n\t * @returns {number} Returns the index of the matched `NaN`, else `-1`.\n\t */\n\t function indexOfNaN(array, fromIndex, fromRight) {\n\t var length = array.length,\n\t index = fromIndex + (fromRight ? 0 : -1);\n\t\n\t while ((fromRight ? index-- : ++index < length)) {\n\t var other = array[index];\n\t if (other !== other) {\n\t return index;\n\t }\n\t }\n\t return -1;\n\t }\n\t\n\t /**\n\t * Checks if `value` is object-like.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n\t */\n\t function isObjectLike(value) {\n\t return !!value && typeof value == 'object';\n\t }\n\t\n\t /**\n\t * Used by `trimmedLeftIndex` and `trimmedRightIndex` to determine if a\n\t * character code is whitespace.\n\t *\n\t * @private\n\t * @param {number} charCode The character code to inspect.\n\t * @returns {boolean} Returns `true` if `charCode` is whitespace, else `false`.\n\t */\n\t function isSpace(charCode) {\n\t return ((charCode <= 160 && (charCode >= 9 && charCode <= 13) || charCode == 32 || charCode == 160) || charCode == 5760 || charCode == 6158 ||\n\t (charCode >= 8192 && (charCode <= 8202 || charCode == 8232 || charCode == 8233 || charCode == 8239 || charCode == 8287 || charCode == 12288 || charCode == 65279)));\n\t }\n\t\n\t /**\n\t * Replaces all `placeholder` elements in `array` with an internal placeholder\n\t * and returns an array of their indexes.\n\t *\n\t * @private\n\t * @param {Array} array The array to modify.\n\t * @param {*} placeholder The placeholder to replace.\n\t * @returns {Array} Returns the new array of placeholder indexes.\n\t */\n\t function replaceHolders(array, placeholder) {\n\t var index = -1,\n\t length = array.length,\n\t resIndex = -1,\n\t result = [];\n\t\n\t while (++index < length) {\n\t if (array[index] === placeholder) {\n\t array[index] = PLACEHOLDER;\n\t result[++resIndex] = index;\n\t }\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * An implementation of `_.uniq` optimized for sorted arrays without support\n\t * for callback shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Array} array The array to inspect.\n\t * @param {Function} [iteratee] The function invoked per iteration.\n\t * @returns {Array} Returns the new duplicate-value-free array.\n\t */\n\t function sortedUniq(array, iteratee) {\n\t var seen,\n\t index = -1,\n\t length = array.length,\n\t resIndex = -1,\n\t result = [];\n\t\n\t while (++index < length) {\n\t var value = array[index],\n\t computed = iteratee ? iteratee(value, index, array) : value;\n\t\n\t if (!index || seen !== computed) {\n\t seen = computed;\n\t result[++resIndex] = value;\n\t }\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * Used by `_.trim` and `_.trimLeft` to get the index of the first non-whitespace\n\t * character of `string`.\n\t *\n\t * @private\n\t * @param {string} string The string to inspect.\n\t * @returns {number} Returns the index of the first non-whitespace character.\n\t */\n\t function trimmedLeftIndex(string) {\n\t var index = -1,\n\t length = string.length;\n\t\n\t while (++index < length && isSpace(string.charCodeAt(index))) {}\n\t return index;\n\t }\n\t\n\t /**\n\t * Used by `_.trim` and `_.trimRight` to get the index of the last non-whitespace\n\t * character of `string`.\n\t *\n\t * @private\n\t * @param {string} string The string to inspect.\n\t * @returns {number} Returns the index of the last non-whitespace character.\n\t */\n\t function trimmedRightIndex(string) {\n\t var index = string.length;\n\t\n\t while (index-- && isSpace(string.charCodeAt(index))) {}\n\t return index;\n\t }\n\t\n\t /**\n\t * Used by `_.unescape` to convert HTML entities to characters.\n\t *\n\t * @private\n\t * @param {string} chr The matched character to unescape.\n\t * @returns {string} Returns the unescaped character.\n\t */\n\t function unescapeHtmlChar(chr) {\n\t return htmlUnescapes[chr];\n\t }\n\t\n\t /*--------------------------------------------------------------------------*/\n\t\n\t /**\n\t * Create a new pristine `lodash` function using the given `context` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Utility\n\t * @param {Object} [context=root] The context object.\n\t * @returns {Function} Returns a new `lodash` function.\n\t * @example\n\t *\n\t * _.mixin({ 'foo': _.constant('foo') });\n\t *\n\t * var lodash = _.runInContext();\n\t * lodash.mixin({ 'bar': lodash.constant('bar') });\n\t *\n\t * _.isFunction(_.foo);\n\t * // => true\n\t * _.isFunction(_.bar);\n\t * // => false\n\t *\n\t * lodash.isFunction(lodash.foo);\n\t * // => false\n\t * lodash.isFunction(lodash.bar);\n\t * // => true\n\t *\n\t * // using `context` to mock `Date#getTime` use in `_.now`\n\t * var mock = _.runInContext({\n\t * 'Date': function() {\n\t * return { 'getTime': getTimeMock };\n\t * }\n\t * });\n\t *\n\t * // or creating a suped-up `defer` in Node.js\n\t * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n\t */\n\t function runInContext(context) {\n\t // Avoid issues with some ES3 environments that attempt to use values, named\n\t // after built-in constructors like `Object`, for the creation of literals.\n\t // ES5 clears this up by stating that literals must use built-in constructors.\n\t // See https://es5.github.io/#x11.1.5 for more details.\n\t context = context ? _.defaults(root.Object(), context, _.pick(root, contextProps)) : root;\n\t\n\t /** Native constructor references. */\n\t var Array = context.Array,\n\t Date = context.Date,\n\t Error = context.Error,\n\t Function = context.Function,\n\t Math = context.Math,\n\t Number = context.Number,\n\t Object = context.Object,\n\t RegExp = context.RegExp,\n\t String = context.String,\n\t TypeError = context.TypeError;\n\t\n\t /** Used for native method references. */\n\t var arrayProto = Array.prototype,\n\t objectProto = Object.prototype,\n\t stringProto = String.prototype;\n\t\n\t /** Used to resolve the decompiled source of functions. */\n\t var fnToString = Function.prototype.toString;\n\t\n\t /** Used to check objects for own properties. */\n\t var hasOwnProperty = objectProto.hasOwnProperty;\n\t\n\t /** Used to generate unique IDs. */\n\t var idCounter = 0;\n\t\n\t /**\n\t * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n\t * of values.\n\t */\n\t var objToString = objectProto.toString;\n\t\n\t /** Used to restore the original `_` reference in `_.noConflict`. */\n\t var oldDash = root._;\n\t\n\t /** Used to detect if a method is native. */\n\t var reIsNative = RegExp('^' +\n\t fnToString.call(hasOwnProperty).replace(/[\\\\^$.*+?()[\\]{}|]/g, '\\\\$&')\n\t .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n\t );\n\t\n\t /** Native method references. */\n\t var ArrayBuffer = context.ArrayBuffer,\n\t clearTimeout = context.clearTimeout,\n\t parseFloat = context.parseFloat,\n\t pow = Math.pow,\n\t propertyIsEnumerable = objectProto.propertyIsEnumerable,\n\t Set = getNative(context, 'Set'),\n\t setTimeout = context.setTimeout,\n\t splice = arrayProto.splice,\n\t Uint8Array = context.Uint8Array,\n\t WeakMap = getNative(context, 'WeakMap');\n\t\n\t /* Native method references for those with the same name as other `lodash` methods. */\n\t var nativeCeil = Math.ceil,\n\t nativeCreate = getNative(Object, 'create'),\n\t nativeFloor = Math.floor,\n\t nativeIsArray = getNative(Array, 'isArray'),\n\t nativeIsFinite = context.isFinite,\n\t nativeKeys = getNative(Object, 'keys'),\n\t nativeMax = Math.max,\n\t nativeMin = Math.min,\n\t nativeNow = getNative(Date, 'now'),\n\t nativeParseInt = context.parseInt,\n\t nativeRandom = Math.random;\n\t\n\t /** Used as references for `-Infinity` and `Infinity`. */\n\t var NEGATIVE_INFINITY = Number.NEGATIVE_INFINITY,\n\t POSITIVE_INFINITY = Number.POSITIVE_INFINITY;\n\t\n\t /** Used as references for the maximum length and index of an array. */\n\t var MAX_ARRAY_LENGTH = 4294967295,\n\t MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n\t HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n\t\n\t /**\n\t * Used as the [maximum length](http://ecma-international.org/ecma-262/6.0/#sec-number.max_safe_integer)\n\t * of an array-like value.\n\t */\n\t var MAX_SAFE_INTEGER = 9007199254740991;\n\t\n\t /** Used to store function metadata. */\n\t var metaMap = WeakMap && new WeakMap;\n\t\n\t /** Used to lookup unminified function names. */\n\t var realNames = {};\n\t\n\t /*------------------------------------------------------------------------*/\n\t\n\t /**\n\t * Creates a `lodash` object which wraps `value` to enable implicit chaining.\n\t * Methods that operate on and return arrays, collections, and functions can\n\t * be chained together. Methods that retrieve a single value or may return a\n\t * primitive value will automatically end the chain returning the unwrapped\n\t * value. Explicit chaining may be enabled using `_.chain`. The execution of\n\t * chained methods is lazy, that is, execution is deferred until `_#value`\n\t * is implicitly or explicitly called.\n\t *\n\t * Lazy evaluation allows several methods to support shortcut fusion. Shortcut\n\t * fusion is an optimization strategy which merge iteratee calls; this can help\n\t * to avoid the creation of intermediate data structures and greatly reduce the\n\t * number of iteratee executions.\n\t *\n\t * Chaining is supported in custom builds as long as the `_#value` method is\n\t * directly or indirectly included in the build.\n\t *\n\t * In addition to lodash methods, wrappers have `Array` and `String` methods.\n\t *\n\t * The wrapper `Array` methods are:\n\t * `concat`, `join`, `pop`, `push`, `reverse`, `shift`, `slice`, `sort`,\n\t * `splice`, and `unshift`\n\t *\n\t * The wrapper `String` methods are:\n\t * `replace` and `split`\n\t *\n\t * The wrapper methods that support shortcut fusion are:\n\t * `compact`, `drop`, `dropRight`, `dropRightWhile`, `dropWhile`, `filter`,\n\t * `first`, `initial`, `last`, `map`, `pluck`, `reject`, `rest`, `reverse`,\n\t * `slice`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, `toArray`,\n\t * and `where`\n\t *\n\t * The chainable wrapper methods are:\n\t * `after`, `ary`, `assign`, `at`, `before`, `bind`, `bindAll`, `bindKey`,\n\t * `callback`, `chain`, `chunk`, `commit`, `compact`, `concat`, `constant`,\n\t * `countBy`, `create`, `curry`, `debounce`, `defaults`, `defaultsDeep`,\n\t * `defer`, `delay`, `difference`, `drop`, `dropRight`, `dropRightWhile`,\n\t * `dropWhile`, `fill`, `filter`, `flatten`, `flattenDeep`, `flow`, `flowRight`,\n\t * `forEach`, `forEachRight`, `forIn`, `forInRight`, `forOwn`, `forOwnRight`,\n\t * `functions`, `groupBy`, `indexBy`, `initial`, `intersection`, `invert`,\n\t * `invoke`, `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`,\n\t * `matchesProperty`, `memoize`, `merge`, `method`, `methodOf`, `mixin`,\n\t * `modArgs`, `negate`, `omit`, `once`, `pairs`, `partial`, `partialRight`,\n\t * `partition`, `pick`, `plant`, `pluck`, `property`, `propertyOf`, `pull`,\n\t * `pullAt`, `push`, `range`, `rearg`, `reject`, `remove`, `rest`, `restParam`,\n\t * `reverse`, `set`, `shuffle`, `slice`, `sort`, `sortBy`, `sortByAll`,\n\t * `sortByOrder`, `splice`, `spread`, `take`, `takeRight`, `takeRightWhile`,\n\t * `takeWhile`, `tap`, `throttle`, `thru`, `times`, `toArray`, `toPlainObject`,\n\t * `transform`, `union`, `uniq`, `unshift`, `unzip`, `unzipWith`, `values`,\n\t * `valuesIn`, `where`, `without`, `wrap`, `xor`, `zip`, `zipObject`, `zipWith`\n\t *\n\t * The wrapper methods that are **not** chainable by default are:\n\t * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clone`, `cloneDeep`,\n\t * `deburr`, `endsWith`, `escape`, `escapeRegExp`, `every`, `find`, `findIndex`,\n\t * `findKey`, `findLast`, `findLastIndex`, `findLastKey`, `findWhere`, `first`,\n\t * `floor`, `get`, `gt`, `gte`, `has`, `identity`, `includes`, `indexOf`,\n\t * `inRange`, `isArguments`, `isArray`, `isBoolean`, `isDate`, `isElement`,\n\t * `isEmpty`, `isEqual`, `isError`, `isFinite` `isFunction`, `isMatch`,\n\t * `isNative`, `isNaN`, `isNull`, `isNumber`, `isObject`, `isPlainObject`,\n\t * `isRegExp`, `isString`, `isUndefined`, `isTypedArray`, `join`, `kebabCase`,\n\t * `last`, `lastIndexOf`, `lt`, `lte`, `max`, `min`, `noConflict`, `noop`,\n\t * `now`, `pad`, `padLeft`, `padRight`, `parseInt`, `pop`, `random`, `reduce`,\n\t * `reduceRight`, `repeat`, `result`, `round`, `runInContext`, `shift`, `size`,\n\t * `snakeCase`, `some`, `sortedIndex`, `sortedLastIndex`, `startCase`,\n\t * `startsWith`, `sum`, `template`, `trim`, `trimLeft`, `trimRight`, `trunc`,\n\t * `unescape`, `uniqueId`, `value`, and `words`\n\t *\n\t * The wrapper method `sample` will return a wrapped value when `n` is provided,\n\t * otherwise an unwrapped value is returned.\n\t *\n\t * @name _\n\t * @constructor\n\t * @category Chain\n\t * @param {*} value The value to wrap in a `lodash` instance.\n\t * @returns {Object} Returns the new `lodash` wrapper instance.\n\t * @example\n\t *\n\t * var wrapped = _([1, 2, 3]);\n\t *\n\t * // returns an unwrapped value\n\t * wrapped.reduce(function(total, n) {\n\t * return total + n;\n\t * });\n\t * // => 6\n\t *\n\t * // returns a wrapped value\n\t * var squares = wrapped.map(function(n) {\n\t * return n * n;\n\t * });\n\t *\n\t * _.isArray(squares);\n\t * // => false\n\t *\n\t * _.isArray(squares.value());\n\t * // => true\n\t */\n\t function lodash(value) {\n\t if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n\t if (value instanceof LodashWrapper) {\n\t return value;\n\t }\n\t if (hasOwnProperty.call(value, '__chain__') && hasOwnProperty.call(value, '__wrapped__')) {\n\t return wrapperClone(value);\n\t }\n\t }\n\t return new LodashWrapper(value);\n\t }\n\t\n\t /**\n\t * The function whose prototype all chaining wrappers inherit from.\n\t *\n\t * @private\n\t */\n\t function baseLodash() {\n\t // No operation performed.\n\t }\n\t\n\t /**\n\t * The base constructor for creating `lodash` wrapper objects.\n\t *\n\t * @private\n\t * @param {*} value The value to wrap.\n\t * @param {boolean} [chainAll] Enable chaining for all wrapper methods.\n\t * @param {Array} [actions=[]] Actions to peform to resolve the unwrapped value.\n\t */\n\t function LodashWrapper(value, chainAll, actions) {\n\t this.__wrapped__ = value;\n\t this.__actions__ = actions || [];\n\t this.__chain__ = !!chainAll;\n\t }\n\t\n\t /**\n\t * An object environment feature flags.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @type Object\n\t */\n\t var support = lodash.support = {};\n\t\n\t /**\n\t * By default, the template delimiters used by lodash are like those in\n\t * embedded Ruby (ERB). Change the following template settings to use\n\t * alternative delimiters.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @type Object\n\t */\n\t lodash.templateSettings = {\n\t\n\t /**\n\t * Used to detect `data` property values to be HTML-escaped.\n\t *\n\t * @memberOf _.templateSettings\n\t * @type RegExp\n\t */\n\t 'escape': reEscape,\n\t\n\t /**\n\t * Used to detect code to be evaluated.\n\t *\n\t * @memberOf _.templateSettings\n\t * @type RegExp\n\t */\n\t 'evaluate': reEvaluate,\n\t\n\t /**\n\t * Used to detect `data` property values to inject.\n\t *\n\t * @memberOf _.templateSettings\n\t * @type RegExp\n\t */\n\t 'interpolate': reInterpolate,\n\t\n\t /**\n\t * Used to reference the data object in the template text.\n\t *\n\t * @memberOf _.templateSettings\n\t * @type string\n\t */\n\t 'variable': '',\n\t\n\t /**\n\t * Used to import variables into the compiled template.\n\t *\n\t * @memberOf _.templateSettings\n\t * @type Object\n\t */\n\t 'imports': {\n\t\n\t /**\n\t * A reference to the `lodash` function.\n\t *\n\t * @memberOf _.templateSettings.imports\n\t * @type Function\n\t */\n\t '_': lodash\n\t }\n\t };\n\t\n\t /*------------------------------------------------------------------------*/\n\t\n\t /**\n\t * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n\t *\n\t * @private\n\t * @param {*} value The value to wrap.\n\t */\n\t function LazyWrapper(value) {\n\t this.__wrapped__ = value;\n\t this.__actions__ = [];\n\t this.__dir__ = 1;\n\t this.__filtered__ = false;\n\t this.__iteratees__ = [];\n\t this.__takeCount__ = POSITIVE_INFINITY;\n\t this.__views__ = [];\n\t }\n\t\n\t /**\n\t * Creates a clone of the lazy wrapper object.\n\t *\n\t * @private\n\t * @name clone\n\t * @memberOf LazyWrapper\n\t * @returns {Object} Returns the cloned `LazyWrapper` object.\n\t */\n\t function lazyClone() {\n\t var result = new LazyWrapper(this.__wrapped__);\n\t result.__actions__ = arrayCopy(this.__actions__);\n\t result.__dir__ = this.__dir__;\n\t result.__filtered__ = this.__filtered__;\n\t result.__iteratees__ = arrayCopy(this.__iteratees__);\n\t result.__takeCount__ = this.__takeCount__;\n\t result.__views__ = arrayCopy(this.__views__);\n\t return result;\n\t }\n\t\n\t /**\n\t * Reverses the direction of lazy iteration.\n\t *\n\t * @private\n\t * @name reverse\n\t * @memberOf LazyWrapper\n\t * @returns {Object} Returns the new reversed `LazyWrapper` object.\n\t */\n\t function lazyReverse() {\n\t if (this.__filtered__) {\n\t var result = new LazyWrapper(this);\n\t result.__dir__ = -1;\n\t result.__filtered__ = true;\n\t } else {\n\t result = this.clone();\n\t result.__dir__ *= -1;\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * Extracts the unwrapped value from its lazy wrapper.\n\t *\n\t * @private\n\t * @name value\n\t * @memberOf LazyWrapper\n\t * @returns {*} Returns the unwrapped value.\n\t */\n\t function lazyValue() {\n\t var array = this.__wrapped__.value(),\n\t dir = this.__dir__,\n\t isArr = isArray(array),\n\t isRight = dir < 0,\n\t arrLength = isArr ? array.length : 0,\n\t view = getView(0, arrLength, this.__views__),\n\t start = view.start,\n\t end = view.end,\n\t length = end - start,\n\t index = isRight ? end : (start - 1),\n\t iteratees = this.__iteratees__,\n\t iterLength = iteratees.length,\n\t resIndex = 0,\n\t takeCount = nativeMin(length, this.__takeCount__);\n\t\n\t if (!isArr || arrLength < LARGE_ARRAY_SIZE || (arrLength == length && takeCount == length)) {\n\t return baseWrapperValue((isRight && isArr) ? array.reverse() : array, this.__actions__);\n\t }\n\t var result = [];\n\t\n\t outer:\n\t while (length-- && resIndex < takeCount) {\n\t index += dir;\n\t\n\t var iterIndex = -1,\n\t value = array[index];\n\t\n\t while (++iterIndex < iterLength) {\n\t var data = iteratees[iterIndex],\n\t iteratee = data.iteratee,\n\t type = data.type,\n\t computed = iteratee(value);\n\t\n\t if (type == LAZY_MAP_FLAG) {\n\t value = computed;\n\t } else if (!computed) {\n\t if (type == LAZY_FILTER_FLAG) {\n\t continue outer;\n\t } else {\n\t break outer;\n\t }\n\t }\n\t }\n\t result[resIndex++] = value;\n\t }\n\t return result;\n\t }\n\t\n\t /*------------------------------------------------------------------------*/\n\t\n\t /**\n\t * Creates a cache object to store key/value pairs.\n\t *\n\t * @private\n\t * @static\n\t * @name Cache\n\t * @memberOf _.memoize\n\t */\n\t function MapCache() {\n\t this.__data__ = {};\n\t }\n\t\n\t /**\n\t * Removes `key` and its value from the cache.\n\t *\n\t * @private\n\t * @name delete\n\t * @memberOf _.memoize.Cache\n\t * @param {string} key The key of the value to remove.\n\t * @returns {boolean} Returns `true` if the entry was removed successfully, else `false`.\n\t */\n\t function mapDelete(key) {\n\t return this.has(key) && delete this.__data__[key];\n\t }\n\t\n\t /**\n\t * Gets the cached value for `key`.\n\t *\n\t * @private\n\t * @name get\n\t * @memberOf _.memoize.Cache\n\t * @param {string} key The key of the value to get.\n\t * @returns {*} Returns the cached value.\n\t */\n\t function mapGet(key) {\n\t return key == '__proto__' ? undefined : this.__data__[key];\n\t }\n\t\n\t /**\n\t * Checks if a cached value for `key` exists.\n\t *\n\t * @private\n\t * @name has\n\t * @memberOf _.memoize.Cache\n\t * @param {string} key The key of the entry to check.\n\t * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n\t */\n\t function mapHas(key) {\n\t return key != '__proto__' && hasOwnProperty.call(this.__data__, key);\n\t }\n\t\n\t /**\n\t * Sets `value` to `key` of the cache.\n\t *\n\t * @private\n\t * @name set\n\t * @memberOf _.memoize.Cache\n\t * @param {string} key The key of the value to cache.\n\t * @param {*} value The value to cache.\n\t * @returns {Object} Returns the cache object.\n\t */\n\t function mapSet(key, value) {\n\t if (key != '__proto__') {\n\t this.__data__[key] = value;\n\t }\n\t return this;\n\t }\n\t\n\t /*------------------------------------------------------------------------*/\n\t\n\t /**\n\t *\n\t * Creates a cache object to store unique values.\n\t *\n\t * @private\n\t * @param {Array} [values] The values to cache.\n\t */\n\t function SetCache(values) {\n\t var length = values ? values.length : 0;\n\t\n\t this.data = { 'hash': nativeCreate(null), 'set': new Set };\n\t while (length--) {\n\t this.push(values[length]);\n\t }\n\t }\n\t\n\t /**\n\t * Checks if `value` is in `cache` mimicking the return signature of\n\t * `_.indexOf` by returning `0` if the value is found, else `-1`.\n\t *\n\t * @private\n\t * @param {Object} cache The cache to search.\n\t * @param {*} value The value to search for.\n\t * @returns {number} Returns `0` if `value` is found, else `-1`.\n\t */\n\t function cacheIndexOf(cache, value) {\n\t var data = cache.data,\n\t result = (typeof value == 'string' || isObject(value)) ? data.set.has(value) : data.hash[value];\n\t\n\t return result ? 0 : -1;\n\t }\n\t\n\t /**\n\t * Adds `value` to the cache.\n\t *\n\t * @private\n\t * @name push\n\t * @memberOf SetCache\n\t * @param {*} value The value to cache.\n\t */\n\t function cachePush(value) {\n\t var data = this.data;\n\t if (typeof value == 'string' || isObject(value)) {\n\t data.set.add(value);\n\t } else {\n\t data.hash[value] = true;\n\t }\n\t }\n\t\n\t /*------------------------------------------------------------------------*/\n\t\n\t /**\n\t * Creates a new array joining `array` with `other`.\n\t *\n\t * @private\n\t * @param {Array} array The array to join.\n\t * @param {Array} other The other array to join.\n\t * @returns {Array} Returns the new concatenated array.\n\t */\n\t function arrayConcat(array, other) {\n\t var index = -1,\n\t length = array.length,\n\t othIndex = -1,\n\t othLength = other.length,\n\t result = Array(length + othLength);\n\t\n\t while (++index < length) {\n\t result[index] = array[index];\n\t }\n\t while (++othIndex < othLength) {\n\t result[index++] = other[othIndex];\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * Copies the values of `source` to `array`.\n\t *\n\t * @private\n\t * @param {Array} source The array to copy values from.\n\t * @param {Array} [array=[]] The array to copy values to.\n\t * @returns {Array} Returns `array`.\n\t */\n\t function arrayCopy(source, array) {\n\t var index = -1,\n\t length = source.length;\n\t\n\t array || (array = Array(length));\n\t while (++index < length) {\n\t array[index] = source[index];\n\t }\n\t return array;\n\t }\n\t\n\t /**\n\t * A specialized version of `_.forEach` for arrays without support for callback\n\t * shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {Array} Returns `array`.\n\t */\n\t function arrayEach(array, iteratee) {\n\t var index = -1,\n\t length = array.length;\n\t\n\t while (++index < length) {\n\t if (iteratee(array[index], index, array) === false) {\n\t break;\n\t }\n\t }\n\t return array;\n\t }\n\t\n\t /**\n\t * A specialized version of `_.forEachRight` for arrays without support for\n\t * callback shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {Array} Returns `array`.\n\t */\n\t function arrayEachRight(array, iteratee) {\n\t var length = array.length;\n\t\n\t while (length--) {\n\t if (iteratee(array[length], length, array) === false) {\n\t break;\n\t }\n\t }\n\t return array;\n\t }\n\t\n\t /**\n\t * A specialized version of `_.every` for arrays without support for callback\n\t * shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} predicate The function invoked per iteration.\n\t * @returns {boolean} Returns `true` if all elements pass the predicate check,\n\t * else `false`.\n\t */\n\t function arrayEvery(array, predicate) {\n\t var index = -1,\n\t length = array.length;\n\t\n\t while (++index < length) {\n\t if (!predicate(array[index], index, array)) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\t\n\t /**\n\t * A specialized version of `baseExtremum` for arrays which invokes `iteratee`\n\t * with one argument: (value).\n\t *\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @param {Function} comparator The function used to compare values.\n\t * @param {*} exValue The initial extremum value.\n\t * @returns {*} Returns the extremum value.\n\t */\n\t function arrayExtremum(array, iteratee, comparator, exValue) {\n\t var index = -1,\n\t length = array.length,\n\t computed = exValue,\n\t result = computed;\n\t\n\t while (++index < length) {\n\t var value = array[index],\n\t current = +iteratee(value);\n\t\n\t if (comparator(current, computed)) {\n\t computed = current;\n\t result = value;\n\t }\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * A specialized version of `_.filter` for arrays without support for callback\n\t * shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} predicate The function invoked per iteration.\n\t * @returns {Array} Returns the new filtered array.\n\t */\n\t function arrayFilter(array, predicate) {\n\t var index = -1,\n\t length = array.length,\n\t resIndex = -1,\n\t result = [];\n\t\n\t while (++index < length) {\n\t var value = array[index];\n\t if (predicate(value, index, array)) {\n\t result[++resIndex] = value;\n\t }\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * A specialized version of `_.map` for arrays without support for callback\n\t * shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {Array} Returns the new mapped array.\n\t */\n\t function arrayMap(array, iteratee) {\n\t var index = -1,\n\t length = array.length,\n\t result = Array(length);\n\t\n\t while (++index < length) {\n\t result[index] = iteratee(array[index], index, array);\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * Appends the elements of `values` to `array`.\n\t *\n\t * @private\n\t * @param {Array} array The array to modify.\n\t * @param {Array} values The values to append.\n\t * @returns {Array} Returns `array`.\n\t */\n\t function arrayPush(array, values) {\n\t var index = -1,\n\t length = values.length,\n\t offset = array.length;\n\t\n\t while (++index < length) {\n\t array[offset + index] = values[index];\n\t }\n\t return array;\n\t }\n\t\n\t /**\n\t * A specialized version of `_.reduce` for arrays without support for callback\n\t * shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @param {*} [accumulator] The initial value.\n\t * @param {boolean} [initFromArray] Specify using the first element of `array`\n\t * as the initial value.\n\t * @returns {*} Returns the accumulated value.\n\t */\n\t function arrayReduce(array, iteratee, accumulator, initFromArray) {\n\t var index = -1,\n\t length = array.length;\n\t\n\t if (initFromArray && length) {\n\t accumulator = array[++index];\n\t }\n\t while (++index < length) {\n\t accumulator = iteratee(accumulator, array[index], index, array);\n\t }\n\t return accumulator;\n\t }\n\t\n\t /**\n\t * A specialized version of `_.reduceRight` for arrays without support for\n\t * callback shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @param {*} [accumulator] The initial value.\n\t * @param {boolean} [initFromArray] Specify using the last element of `array`\n\t * as the initial value.\n\t * @returns {*} Returns the accumulated value.\n\t */\n\t function arrayReduceRight(array, iteratee, accumulator, initFromArray) {\n\t var length = array.length;\n\t if (initFromArray && length) {\n\t accumulator = array[--length];\n\t }\n\t while (length--) {\n\t accumulator = iteratee(accumulator, array[length], length, array);\n\t }\n\t return accumulator;\n\t }\n\t\n\t /**\n\t * A specialized version of `_.some` for arrays without support for callback\n\t * shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} predicate The function invoked per iteration.\n\t * @returns {boolean} Returns `true` if any element passes the predicate check,\n\t * else `false`.\n\t */\n\t function arraySome(array, predicate) {\n\t var index = -1,\n\t length = array.length;\n\t\n\t while (++index < length) {\n\t if (predicate(array[index], index, array)) {\n\t return true;\n\t }\n\t }\n\t return false;\n\t }\n\t\n\t /**\n\t * A specialized version of `_.sum` for arrays without support for callback\n\t * shorthands and `this` binding..\n\t *\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {number} Returns the sum.\n\t */\n\t function arraySum(array, iteratee) {\n\t var length = array.length,\n\t result = 0;\n\t\n\t while (length--) {\n\t result += +iteratee(array[length]) || 0;\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * Used by `_.defaults` to customize its `_.assign` use.\n\t *\n\t * @private\n\t * @param {*} objectValue The destination object property value.\n\t * @param {*} sourceValue The source object property value.\n\t * @returns {*} Returns the value to assign to the destination object.\n\t */\n\t function assignDefaults(objectValue, sourceValue) {\n\t return objectValue === undefined ? sourceValue : objectValue;\n\t }\n\t\n\t /**\n\t * Used by `_.template` to customize its `_.assign` use.\n\t *\n\t * **Note:** This function is like `assignDefaults` except that it ignores\n\t * inherited property values when checking if a property is `undefined`.\n\t *\n\t * @private\n\t * @param {*} objectValue The destination object property value.\n\t * @param {*} sourceValue The source object property value.\n\t * @param {string} key The key associated with the object and source values.\n\t * @param {Object} object The destination object.\n\t * @returns {*} Returns the value to assign to the destination object.\n\t */\n\t function assignOwnDefaults(objectValue, sourceValue, key, object) {\n\t return (objectValue === undefined || !hasOwnProperty.call(object, key))\n\t ? sourceValue\n\t : objectValue;\n\t }\n\t\n\t /**\n\t * A specialized version of `_.assign` for customizing assigned values without\n\t * support for argument juggling, multiple sources, and `this` binding `customizer`\n\t * functions.\n\t *\n\t * @private\n\t * @param {Object} object The destination object.\n\t * @param {Object} source The source object.\n\t * @param {Function} customizer The function to customize assigned values.\n\t * @returns {Object} Returns `object`.\n\t */\n\t function assignWith(object, source, customizer) {\n\t var index = -1,\n\t props = keys(source),\n\t length = props.length;\n\t\n\t while (++index < length) {\n\t var key = props[index],\n\t value = object[key],\n\t result = customizer(value, source[key], key, object, source);\n\t\n\t if ((result === result ? (result !== value) : (value === value)) ||\n\t (value === undefined && !(key in object))) {\n\t object[key] = result;\n\t }\n\t }\n\t return object;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.assign` without support for argument juggling,\n\t * multiple sources, and `customizer` functions.\n\t *\n\t * @private\n\t * @param {Object} object The destination object.\n\t * @param {Object} source The source object.\n\t * @returns {Object} Returns `object`.\n\t */\n\t function baseAssign(object, source) {\n\t return source == null\n\t ? object\n\t : baseCopy(source, keys(source), object);\n\t }\n\t\n\t /**\n\t * The base implementation of `_.at` without support for string collections\n\t * and individual key arguments.\n\t *\n\t * @private\n\t * @param {Array|Object} collection The collection to iterate over.\n\t * @param {number[]|string[]} props The property names or indexes of elements to pick.\n\t * @returns {Array} Returns the new array of picked elements.\n\t */\n\t function baseAt(collection, props) {\n\t var index = -1,\n\t isNil = collection == null,\n\t isArr = !isNil && isArrayLike(collection),\n\t length = isArr ? collection.length : 0,\n\t propsLength = props.length,\n\t result = Array(propsLength);\n\t\n\t while(++index < propsLength) {\n\t var key = props[index];\n\t if (isArr) {\n\t result[index] = isIndex(key, length) ? collection[key] : undefined;\n\t } else {\n\t result[index] = isNil ? undefined : collection[key];\n\t }\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * Copies properties of `source` to `object`.\n\t *\n\t * @private\n\t * @param {Object} source The object to copy properties from.\n\t * @param {Array} props The property names to copy.\n\t * @param {Object} [object={}] The object to copy properties to.\n\t * @returns {Object} Returns `object`.\n\t */\n\t function baseCopy(source, props, object) {\n\t object || (object = {});\n\t\n\t var index = -1,\n\t length = props.length;\n\t\n\t while (++index < length) {\n\t var key = props[index];\n\t object[key] = source[key];\n\t }\n\t return object;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.callback` which supports specifying the\n\t * number of arguments to provide to `func`.\n\t *\n\t * @private\n\t * @param {*} [func=_.identity] The value to convert to a callback.\n\t * @param {*} [thisArg] The `this` binding of `func`.\n\t * @param {number} [argCount] The number of arguments to provide to `func`.\n\t * @returns {Function} Returns the callback.\n\t */\n\t function baseCallback(func, thisArg, argCount) {\n\t var type = typeof func;\n\t if (type == 'function') {\n\t return thisArg === undefined\n\t ? func\n\t : bindCallback(func, thisArg, argCount);\n\t }\n\t if (func == null) {\n\t return identity;\n\t }\n\t if (type == 'object') {\n\t return baseMatches(func);\n\t }\n\t return thisArg === undefined\n\t ? property(func)\n\t : baseMatchesProperty(func, thisArg);\n\t }\n\t\n\t /**\n\t * The base implementation of `_.clone` without support for argument juggling\n\t * and `this` binding `customizer` functions.\n\t *\n\t * @private\n\t * @param {*} value The value to clone.\n\t * @param {boolean} [isDeep] Specify a deep clone.\n\t * @param {Function} [customizer] The function to customize cloning values.\n\t * @param {string} [key] The key of `value`.\n\t * @param {Object} [object] The object `value` belongs to.\n\t * @param {Array} [stackA=[]] Tracks traversed source objects.\n\t * @param {Array} [stackB=[]] Associates clones with source counterparts.\n\t * @returns {*} Returns the cloned value.\n\t */\n\t function baseClone(value, isDeep, customizer, key, object, stackA, stackB) {\n\t var result;\n\t if (customizer) {\n\t result = object ? customizer(value, key, object) : customizer(value);\n\t }\n\t if (result !== undefined) {\n\t return result;\n\t }\n\t if (!isObject(value)) {\n\t return value;\n\t }\n\t var isArr = isArray(value);\n\t if (isArr) {\n\t result = initCloneArray(value);\n\t if (!isDeep) {\n\t return arrayCopy(value, result);\n\t }\n\t } else {\n\t var tag = objToString.call(value),\n\t isFunc = tag == funcTag;\n\t\n\t if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n\t result = initCloneObject(isFunc ? {} : value);\n\t if (!isDeep) {\n\t return baseAssign(result, value);\n\t }\n\t } else {\n\t return cloneableTags[tag]\n\t ? initCloneByTag(value, tag, isDeep)\n\t : (object ? value : {});\n\t }\n\t }\n\t // Check for circular references and return its corresponding clone.\n\t stackA || (stackA = []);\n\t stackB || (stackB = []);\n\t\n\t var length = stackA.length;\n\t while (length--) {\n\t if (stackA[length] == value) {\n\t return stackB[length];\n\t }\n\t }\n\t // Add the source value to the stack of traversed objects and associate it with its clone.\n\t stackA.push(value);\n\t stackB.push(result);\n\t\n\t // Recursively populate clone (susceptible to call stack limits).\n\t (isArr ? arrayEach : baseForOwn)(value, function(subValue, key) {\n\t result[key] = baseClone(subValue, isDeep, customizer, key, value, stackA, stackB);\n\t });\n\t return result;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.create` without support for assigning\n\t * properties to the created object.\n\t *\n\t * @private\n\t * @param {Object} prototype The object to inherit from.\n\t * @returns {Object} Returns the new object.\n\t */\n\t var baseCreate = (function() {\n\t function object() {}\n\t return function(prototype) {\n\t if (isObject(prototype)) {\n\t object.prototype = prototype;\n\t var result = new object;\n\t object.prototype = undefined;\n\t }\n\t return result || {};\n\t };\n\t }());\n\t\n\t /**\n\t * The base implementation of `_.delay` and `_.defer` which accepts an index\n\t * of where to slice the arguments to provide to `func`.\n\t *\n\t * @private\n\t * @param {Function} func The function to delay.\n\t * @param {number} wait The number of milliseconds to delay invocation.\n\t * @param {Object} args The arguments provide to `func`.\n\t * @returns {number} Returns the timer id.\n\t */\n\t function baseDelay(func, wait, args) {\n\t if (typeof func != 'function') {\n\t throw new TypeError(FUNC_ERROR_TEXT);\n\t }\n\t return setTimeout(function() { func.apply(undefined, args); }, wait);\n\t }\n\t\n\t /**\n\t * The base implementation of `_.difference` which accepts a single array\n\t * of values to exclude.\n\t *\n\t * @private\n\t * @param {Array} array The array to inspect.\n\t * @param {Array} values The values to exclude.\n\t * @returns {Array} Returns the new array of filtered values.\n\t */\n\t function baseDifference(array, values) {\n\t var length = array ? array.length : 0,\n\t result = [];\n\t\n\t if (!length) {\n\t return result;\n\t }\n\t var index = -1,\n\t indexOf = getIndexOf(),\n\t isCommon = indexOf == baseIndexOf,\n\t cache = (isCommon && values.length >= LARGE_ARRAY_SIZE) ? createCache(values) : null,\n\t valuesLength = values.length;\n\t\n\t if (cache) {\n\t indexOf = cacheIndexOf;\n\t isCommon = false;\n\t values = cache;\n\t }\n\t outer:\n\t while (++index < length) {\n\t var value = array[index];\n\t\n\t if (isCommon && value === value) {\n\t var valuesIndex = valuesLength;\n\t while (valuesIndex--) {\n\t if (values[valuesIndex] === value) {\n\t continue outer;\n\t }\n\t }\n\t result.push(value);\n\t }\n\t else if (indexOf(values, value, 0) < 0) {\n\t result.push(value);\n\t }\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.forEach` without support for callback\n\t * shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {Array|Object|string} Returns `collection`.\n\t */\n\t var baseEach = createBaseEach(baseForOwn);\n\t\n\t /**\n\t * The base implementation of `_.forEachRight` without support for callback\n\t * shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {Array|Object|string} Returns `collection`.\n\t */\n\t var baseEachRight = createBaseEach(baseForOwnRight, true);\n\t\n\t /**\n\t * The base implementation of `_.every` without support for callback\n\t * shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function} predicate The function invoked per iteration.\n\t * @returns {boolean} Returns `true` if all elements pass the predicate check,\n\t * else `false`\n\t */\n\t function baseEvery(collection, predicate) {\n\t var result = true;\n\t baseEach(collection, function(value, index, collection) {\n\t result = !!predicate(value, index, collection);\n\t return result;\n\t });\n\t return result;\n\t }\n\t\n\t /**\n\t * Gets the extremum value of `collection` invoking `iteratee` for each value\n\t * in `collection` to generate the criterion by which the value is ranked.\n\t * The `iteratee` is invoked with three arguments: (value, index|key, collection).\n\t *\n\t * @private\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @param {Function} comparator The function used to compare values.\n\t * @param {*} exValue The initial extremum value.\n\t * @returns {*} Returns the extremum value.\n\t */\n\t function baseExtremum(collection, iteratee, comparator, exValue) {\n\t var computed = exValue,\n\t result = computed;\n\t\n\t baseEach(collection, function(value, index, collection) {\n\t var current = +iteratee(value, index, collection);\n\t if (comparator(current, computed) || (current === exValue && current === result)) {\n\t computed = current;\n\t result = value;\n\t }\n\t });\n\t return result;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.fill` without an iteratee call guard.\n\t *\n\t * @private\n\t * @param {Array} array The array to fill.\n\t * @param {*} value The value to fill `array` with.\n\t * @param {number} [start=0] The start position.\n\t * @param {number} [end=array.length] The end position.\n\t * @returns {Array} Returns `array`.\n\t */\n\t function baseFill(array, value, start, end) {\n\t var length = array.length;\n\t\n\t start = start == null ? 0 : (+start || 0);\n\t if (start < 0) {\n\t start = -start > length ? 0 : (length + start);\n\t }\n\t end = (end === undefined || end > length) ? length : (+end || 0);\n\t if (end < 0) {\n\t end += length;\n\t }\n\t length = start > end ? 0 : (end >>> 0);\n\t start >>>= 0;\n\t\n\t while (start < length) {\n\t array[start++] = value;\n\t }\n\t return array;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.filter` without support for callback\n\t * shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function} predicate The function invoked per iteration.\n\t * @returns {Array} Returns the new filtered array.\n\t */\n\t function baseFilter(collection, predicate) {\n\t var result = [];\n\t baseEach(collection, function(value, index, collection) {\n\t if (predicate(value, index, collection)) {\n\t result.push(value);\n\t }\n\t });\n\t return result;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.find`, `_.findLast`, `_.findKey`, and `_.findLastKey`,\n\t * without support for callback shorthands and `this` binding, which iterates\n\t * over `collection` using the provided `eachFunc`.\n\t *\n\t * @private\n\t * @param {Array|Object|string} collection The collection to search.\n\t * @param {Function} predicate The function invoked per iteration.\n\t * @param {Function} eachFunc The function to iterate over `collection`.\n\t * @param {boolean} [retKey] Specify returning the key of the found element\n\t * instead of the element itself.\n\t * @returns {*} Returns the found element or its key, else `undefined`.\n\t */\n\t function baseFind(collection, predicate, eachFunc, retKey) {\n\t var result;\n\t eachFunc(collection, function(value, key, collection) {\n\t if (predicate(value, key, collection)) {\n\t result = retKey ? key : value;\n\t return false;\n\t }\n\t });\n\t return result;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.flatten` with added support for restricting\n\t * flattening and specifying the start index.\n\t *\n\t * @private\n\t * @param {Array} array The array to flatten.\n\t * @param {boolean} [isDeep] Specify a deep flatten.\n\t * @param {boolean} [isStrict] Restrict flattening to arrays-like objects.\n\t * @param {Array} [result=[]] The initial result value.\n\t * @returns {Array} Returns the new flattened array.\n\t */\n\t function baseFlatten(array, isDeep, isStrict, result) {\n\t result || (result = []);\n\t\n\t var index = -1,\n\t length = array.length;\n\t\n\t while (++index < length) {\n\t var value = array[index];\n\t if (isObjectLike(value) && isArrayLike(value) &&\n\t (isStrict || isArray(value) || isArguments(value))) {\n\t if (isDeep) {\n\t // Recursively flatten arrays (susceptible to call stack limits).\n\t baseFlatten(value, isDeep, isStrict, result);\n\t } else {\n\t arrayPush(result, value);\n\t }\n\t } else if (!isStrict) {\n\t result[result.length] = value;\n\t }\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * The base implementation of `baseForIn` and `baseForOwn` which iterates\n\t * over `object` properties returned by `keysFunc` invoking `iteratee` for\n\t * each property. Iteratee functions may exit iteration early by explicitly\n\t * returning `false`.\n\t *\n\t * @private\n\t * @param {Object} object The object to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @param {Function} keysFunc The function to get the keys of `object`.\n\t * @returns {Object} Returns `object`.\n\t */\n\t var baseFor = createBaseFor();\n\t\n\t /**\n\t * This function is like `baseFor` except that it iterates over properties\n\t * in the opposite order.\n\t *\n\t * @private\n\t * @param {Object} object The object to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @param {Function} keysFunc The function to get the keys of `object`.\n\t * @returns {Object} Returns `object`.\n\t */\n\t var baseForRight = createBaseFor(true);\n\t\n\t /**\n\t * The base implementation of `_.forIn` without support for callback\n\t * shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Object} object The object to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {Object} Returns `object`.\n\t */\n\t function baseForIn(object, iteratee) {\n\t return baseFor(object, iteratee, keysIn);\n\t }\n\t\n\t /**\n\t * The base implementation of `_.forOwn` without support for callback\n\t * shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Object} object The object to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {Object} Returns `object`.\n\t */\n\t function baseForOwn(object, iteratee) {\n\t return baseFor(object, iteratee, keys);\n\t }\n\t\n\t /**\n\t * The base implementation of `_.forOwnRight` without support for callback\n\t * shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Object} object The object to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {Object} Returns `object`.\n\t */\n\t function baseForOwnRight(object, iteratee) {\n\t return baseForRight(object, iteratee, keys);\n\t }\n\t\n\t /**\n\t * The base implementation of `_.functions` which creates an array of\n\t * `object` function property names filtered from those provided.\n\t *\n\t * @private\n\t * @param {Object} object The object to inspect.\n\t * @param {Array} props The property names to filter.\n\t * @returns {Array} Returns the new array of filtered property names.\n\t */\n\t function baseFunctions(object, props) {\n\t var index = -1,\n\t length = props.length,\n\t resIndex = -1,\n\t result = [];\n\t\n\t while (++index < length) {\n\t var key = props[index];\n\t if (isFunction(object[key])) {\n\t result[++resIndex] = key;\n\t }\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * The base implementation of `get` without support for string paths\n\t * and default values.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {Array} path The path of the property to get.\n\t * @param {string} [pathKey] The key representation of path.\n\t * @returns {*} Returns the resolved value.\n\t */\n\t function baseGet(object, path, pathKey) {\n\t if (object == null) {\n\t return;\n\t }\n\t if (pathKey !== undefined && pathKey in toObject(object)) {\n\t path = [pathKey];\n\t }\n\t var index = 0,\n\t length = path.length;\n\t\n\t while (object != null && index < length) {\n\t object = object[path[index++]];\n\t }\n\t return (index && index == length) ? object : undefined;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.isEqual` without support for `this` binding\n\t * `customizer` functions.\n\t *\n\t * @private\n\t * @param {*} value The value to compare.\n\t * @param {*} other The other value to compare.\n\t * @param {Function} [customizer] The function to customize comparing values.\n\t * @param {boolean} [isLoose] Specify performing partial comparisons.\n\t * @param {Array} [stackA] Tracks traversed `value` objects.\n\t * @param {Array} [stackB] Tracks traversed `other` objects.\n\t * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n\t */\n\t function baseIsEqual(value, other, customizer, isLoose, stackA, stackB) {\n\t if (value === other) {\n\t return true;\n\t }\n\t if (value == null || other == null || (!isObject(value) && !isObjectLike(other))) {\n\t return value !== value && other !== other;\n\t }\n\t return baseIsEqualDeep(value, other, baseIsEqual, customizer, isLoose, stackA, stackB);\n\t }\n\t\n\t /**\n\t * A specialized version of `baseIsEqual` for arrays and objects which performs\n\t * deep comparisons and tracks traversed objects enabling objects with circular\n\t * references to be compared.\n\t *\n\t * @private\n\t * @param {Object} object The object to compare.\n\t * @param {Object} other The other object to compare.\n\t * @param {Function} equalFunc The function to determine equivalents of values.\n\t * @param {Function} [customizer] The function to customize comparing objects.\n\t * @param {boolean} [isLoose] Specify performing partial comparisons.\n\t * @param {Array} [stackA=[]] Tracks traversed `value` objects.\n\t * @param {Array} [stackB=[]] Tracks traversed `other` objects.\n\t * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n\t */\n\t function baseIsEqualDeep(object, other, equalFunc, customizer, isLoose, stackA, stackB) {\n\t var objIsArr = isArray(object),\n\t othIsArr = isArray(other),\n\t objTag = arrayTag,\n\t othTag = arrayTag;\n\t\n\t if (!objIsArr) {\n\t objTag = objToString.call(object);\n\t if (objTag == argsTag) {\n\t objTag = objectTag;\n\t } else if (objTag != objectTag) {\n\t objIsArr = isTypedArray(object);\n\t }\n\t }\n\t if (!othIsArr) {\n\t othTag = objToString.call(other);\n\t if (othTag == argsTag) {\n\t othTag = objectTag;\n\t } else if (othTag != objectTag) {\n\t othIsArr = isTypedArray(other);\n\t }\n\t }\n\t var objIsObj = objTag == objectTag,\n\t othIsObj = othTag == objectTag,\n\t isSameTag = objTag == othTag;\n\t\n\t if (isSameTag && !(objIsArr || objIsObj)) {\n\t return equalByTag(object, other, objTag);\n\t }\n\t if (!isLoose) {\n\t var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n\t othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\t\n\t if (objIsWrapped || othIsWrapped) {\n\t return equalFunc(objIsWrapped ? object.value() : object, othIsWrapped ? other.value() : other, customizer, isLoose, stackA, stackB);\n\t }\n\t }\n\t if (!isSameTag) {\n\t return false;\n\t }\n\t // Assume cyclic values are equal.\n\t // For more information on detecting circular references see https://es5.github.io/#JO.\n\t stackA || (stackA = []);\n\t stackB || (stackB = []);\n\t\n\t var length = stackA.length;\n\t while (length--) {\n\t if (stackA[length] == object) {\n\t return stackB[length] == other;\n\t }\n\t }\n\t // Add `object` and `other` to the stack of traversed objects.\n\t stackA.push(object);\n\t stackB.push(other);\n\t\n\t var result = (objIsArr ? equalArrays : equalObjects)(object, other, equalFunc, customizer, isLoose, stackA, stackB);\n\t\n\t stackA.pop();\n\t stackB.pop();\n\t\n\t return result;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.isMatch` without support for callback\n\t * shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Object} object The object to inspect.\n\t * @param {Array} matchData The propery names, values, and compare flags to match.\n\t * @param {Function} [customizer] The function to customize comparing objects.\n\t * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n\t */\n\t function baseIsMatch(object, matchData, customizer) {\n\t var index = matchData.length,\n\t length = index,\n\t noCustomizer = !customizer;\n\t\n\t if (object == null) {\n\t return !length;\n\t }\n\t object = toObject(object);\n\t while (index--) {\n\t var data = matchData[index];\n\t if ((noCustomizer && data[2])\n\t ? data[1] !== object[data[0]]\n\t : !(data[0] in object)\n\t ) {\n\t return false;\n\t }\n\t }\n\t while (++index < length) {\n\t data = matchData[index];\n\t var key = data[0],\n\t objValue = object[key],\n\t srcValue = data[1];\n\t\n\t if (noCustomizer && data[2]) {\n\t if (objValue === undefined && !(key in object)) {\n\t return false;\n\t }\n\t } else {\n\t var result = customizer ? customizer(objValue, srcValue, key) : undefined;\n\t if (!(result === undefined ? baseIsEqual(srcValue, objValue, customizer, true) : result)) {\n\t return false;\n\t }\n\t }\n\t }\n\t return true;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.map` without support for callback shorthands\n\t * and `this` binding.\n\t *\n\t * @private\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {Array} Returns the new mapped array.\n\t */\n\t function baseMap(collection, iteratee) {\n\t var index = -1,\n\t result = isArrayLike(collection) ? Array(collection.length) : [];\n\t\n\t baseEach(collection, function(value, key, collection) {\n\t result[++index] = iteratee(value, key, collection);\n\t });\n\t return result;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.matches` which does not clone `source`.\n\t *\n\t * @private\n\t * @param {Object} source The object of property values to match.\n\t * @returns {Function} Returns the new function.\n\t */\n\t function baseMatches(source) {\n\t var matchData = getMatchData(source);\n\t if (matchData.length == 1 && matchData[0][2]) {\n\t var key = matchData[0][0],\n\t value = matchData[0][1];\n\t\n\t return function(object) {\n\t if (object == null) {\n\t return false;\n\t }\n\t return object[key] === value && (value !== undefined || (key in toObject(object)));\n\t };\n\t }\n\t return function(object) {\n\t return baseIsMatch(object, matchData);\n\t };\n\t }\n\t\n\t /**\n\t * The base implementation of `_.matchesProperty` which does not clone `srcValue`.\n\t *\n\t * @private\n\t * @param {string} path The path of the property to get.\n\t * @param {*} srcValue The value to compare.\n\t * @returns {Function} Returns the new function.\n\t */\n\t function baseMatchesProperty(path, srcValue) {\n\t var isArr = isArray(path),\n\t isCommon = isKey(path) && isStrictComparable(srcValue),\n\t pathKey = (path + '');\n\t\n\t path = toPath(path);\n\t return function(object) {\n\t if (object == null) {\n\t return false;\n\t }\n\t var key = pathKey;\n\t object = toObject(object);\n\t if ((isArr || !isCommon) && !(key in object)) {\n\t object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\n\t if (object == null) {\n\t return false;\n\t }\n\t key = last(path);\n\t object = toObject(object);\n\t }\n\t return object[key] === srcValue\n\t ? (srcValue !== undefined || (key in object))\n\t : baseIsEqual(srcValue, object[key], undefined, true);\n\t };\n\t }\n\t\n\t /**\n\t * The base implementation of `_.merge` without support for argument juggling,\n\t * multiple sources, and `this` binding `customizer` functions.\n\t *\n\t * @private\n\t * @param {Object} object The destination object.\n\t * @param {Object} source The source object.\n\t * @param {Function} [customizer] The function to customize merged values.\n\t * @param {Array} [stackA=[]] Tracks traversed source objects.\n\t * @param {Array} [stackB=[]] Associates values with source counterparts.\n\t * @returns {Object} Returns `object`.\n\t */\n\t function baseMerge(object, source, customizer, stackA, stackB) {\n\t if (!isObject(object)) {\n\t return object;\n\t }\n\t var isSrcArr = isArrayLike(source) && (isArray(source) || isTypedArray(source)),\n\t props = isSrcArr ? undefined : keys(source);\n\t\n\t arrayEach(props || source, function(srcValue, key) {\n\t if (props) {\n\t key = srcValue;\n\t srcValue = source[key];\n\t }\n\t if (isObjectLike(srcValue)) {\n\t stackA || (stackA = []);\n\t stackB || (stackB = []);\n\t baseMergeDeep(object, source, key, baseMerge, customizer, stackA, stackB);\n\t }\n\t else {\n\t var value = object[key],\n\t result = customizer ? customizer(value, srcValue, key, object, source) : undefined,\n\t isCommon = result === undefined;\n\t\n\t if (isCommon) {\n\t result = srcValue;\n\t }\n\t if ((result !== undefined || (isSrcArr && !(key in object))) &&\n\t (isCommon || (result === result ? (result !== value) : (value === value)))) {\n\t object[key] = result;\n\t }\n\t }\n\t });\n\t return object;\n\t }\n\t\n\t /**\n\t * A specialized version of `baseMerge` for arrays and objects which performs\n\t * deep merges and tracks traversed objects enabling objects with circular\n\t * references to be merged.\n\t *\n\t * @private\n\t * @param {Object} object The destination object.\n\t * @param {Object} source The source object.\n\t * @param {string} key The key of the value to merge.\n\t * @param {Function} mergeFunc The function to merge values.\n\t * @param {Function} [customizer] The function to customize merged values.\n\t * @param {Array} [stackA=[]] Tracks traversed source objects.\n\t * @param {Array} [stackB=[]] Associates values with source counterparts.\n\t * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n\t */\n\t function baseMergeDeep(object, source, key, mergeFunc, customizer, stackA, stackB) {\n\t var length = stackA.length,\n\t srcValue = source[key];\n\t\n\t while (length--) {\n\t if (stackA[length] == srcValue) {\n\t object[key] = stackB[length];\n\t return;\n\t }\n\t }\n\t var value = object[key],\n\t result = customizer ? customizer(value, srcValue, key, object, source) : undefined,\n\t isCommon = result === undefined;\n\t\n\t if (isCommon) {\n\t result = srcValue;\n\t if (isArrayLike(srcValue) && (isArray(srcValue) || isTypedArray(srcValue))) {\n\t result = isArray(value)\n\t ? value\n\t : (isArrayLike(value) ? arrayCopy(value) : []);\n\t }\n\t else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n\t result = isArguments(value)\n\t ? toPlainObject(value)\n\t : (isPlainObject(value) ? value : {});\n\t }\n\t else {\n\t isCommon = false;\n\t }\n\t }\n\t // Add the source value to the stack of traversed objects and associate\n\t // it with its merged value.\n\t stackA.push(srcValue);\n\t stackB.push(result);\n\t\n\t if (isCommon) {\n\t // Recursively merge objects and arrays (susceptible to call stack limits).\n\t object[key] = mergeFunc(result, srcValue, customizer, stackA, stackB);\n\t } else if (result === result ? (result !== value) : (value === value)) {\n\t object[key] = result;\n\t }\n\t }\n\t\n\t /**\n\t * The base implementation of `_.property` without support for deep paths.\n\t *\n\t * @private\n\t * @param {string} key The key of the property to get.\n\t * @returns {Function} Returns the new function.\n\t */\n\t function baseProperty(key) {\n\t return function(object) {\n\t return object == null ? undefined : object[key];\n\t };\n\t }\n\t\n\t /**\n\t * A specialized version of `baseProperty` which supports deep paths.\n\t *\n\t * @private\n\t * @param {Array|string} path The path of the property to get.\n\t * @returns {Function} Returns the new function.\n\t */\n\t function basePropertyDeep(path) {\n\t var pathKey = (path + '');\n\t path = toPath(path);\n\t return function(object) {\n\t return baseGet(object, path, pathKey);\n\t };\n\t }\n\t\n\t /**\n\t * The base implementation of `_.pullAt` without support for individual\n\t * index arguments and capturing the removed elements.\n\t *\n\t * @private\n\t * @param {Array} array The array to modify.\n\t * @param {number[]} indexes The indexes of elements to remove.\n\t * @returns {Array} Returns `array`.\n\t */\n\t function basePullAt(array, indexes) {\n\t var length = array ? indexes.length : 0;\n\t while (length--) {\n\t var index = indexes[length];\n\t if (index != previous && isIndex(index)) {\n\t var previous = index;\n\t splice.call(array, index, 1);\n\t }\n\t }\n\t return array;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.random` without support for argument juggling\n\t * and returning floating-point numbers.\n\t *\n\t * @private\n\t * @param {number} min The minimum possible value.\n\t * @param {number} max The maximum possible value.\n\t * @returns {number} Returns the random number.\n\t */\n\t function baseRandom(min, max) {\n\t return min + nativeFloor(nativeRandom() * (max - min + 1));\n\t }\n\t\n\t /**\n\t * The base implementation of `_.reduce` and `_.reduceRight` without support\n\t * for callback shorthands and `this` binding, which iterates over `collection`\n\t * using the provided `eachFunc`.\n\t *\n\t * @private\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @param {*} accumulator The initial value.\n\t * @param {boolean} initFromCollection Specify using the first or last element\n\t * of `collection` as the initial value.\n\t * @param {Function} eachFunc The function to iterate over `collection`.\n\t * @returns {*} Returns the accumulated value.\n\t */\n\t function baseReduce(collection, iteratee, accumulator, initFromCollection, eachFunc) {\n\t eachFunc(collection, function(value, index, collection) {\n\t accumulator = initFromCollection\n\t ? (initFromCollection = false, value)\n\t : iteratee(accumulator, value, index, collection);\n\t });\n\t return accumulator;\n\t }\n\t\n\t /**\n\t * The base implementation of `setData` without support for hot loop detection.\n\t *\n\t * @private\n\t * @param {Function} func The function to associate metadata with.\n\t * @param {*} data The metadata.\n\t * @returns {Function} Returns `func`.\n\t */\n\t var baseSetData = !metaMap ? identity : function(func, data) {\n\t metaMap.set(func, data);\n\t return func;\n\t };\n\t\n\t /**\n\t * The base implementation of `_.slice` without an iteratee call guard.\n\t *\n\t * @private\n\t * @param {Array} array The array to slice.\n\t * @param {number} [start=0] The start position.\n\t * @param {number} [end=array.length] The end position.\n\t * @returns {Array} Returns the slice of `array`.\n\t */\n\t function baseSlice(array, start, end) {\n\t var index = -1,\n\t length = array.length;\n\t\n\t start = start == null ? 0 : (+start || 0);\n\t if (start < 0) {\n\t start = -start > length ? 0 : (length + start);\n\t }\n\t end = (end === undefined || end > length) ? length : (+end || 0);\n\t if (end < 0) {\n\t end += length;\n\t }\n\t length = start > end ? 0 : ((end - start) >>> 0);\n\t start >>>= 0;\n\t\n\t var result = Array(length);\n\t while (++index < length) {\n\t result[index] = array[index + start];\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.some` without support for callback shorthands\n\t * and `this` binding.\n\t *\n\t * @private\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function} predicate The function invoked per iteration.\n\t * @returns {boolean} Returns `true` if any element passes the predicate check,\n\t * else `false`.\n\t */\n\t function baseSome(collection, predicate) {\n\t var result;\n\t\n\t baseEach(collection, function(value, index, collection) {\n\t result = predicate(value, index, collection);\n\t return !result;\n\t });\n\t return !!result;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.sortBy` which uses `comparer` to define\n\t * the sort order of `array` and replaces criteria objects with their\n\t * corresponding values.\n\t *\n\t * @private\n\t * @param {Array} array The array to sort.\n\t * @param {Function} comparer The function to define sort order.\n\t * @returns {Array} Returns `array`.\n\t */\n\t function baseSortBy(array, comparer) {\n\t var length = array.length;\n\t\n\t array.sort(comparer);\n\t while (length--) {\n\t array[length] = array[length].value;\n\t }\n\t return array;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.sortByOrder` without param guards.\n\t *\n\t * @private\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n\t * @param {boolean[]} orders The sort orders of `iteratees`.\n\t * @returns {Array} Returns the new sorted array.\n\t */\n\t function baseSortByOrder(collection, iteratees, orders) {\n\t var callback = getCallback(),\n\t index = -1;\n\t\n\t iteratees = arrayMap(iteratees, function(iteratee) { return callback(iteratee); });\n\t\n\t var result = baseMap(collection, function(value) {\n\t var criteria = arrayMap(iteratees, function(iteratee) { return iteratee(value); });\n\t return { 'criteria': criteria, 'index': ++index, 'value': value };\n\t });\n\t\n\t return baseSortBy(result, function(object, other) {\n\t return compareMultiple(object, other, orders);\n\t });\n\t }\n\t\n\t /**\n\t * The base implementation of `_.sum` without support for callback shorthands\n\t * and `this` binding.\n\t *\n\t * @private\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {number} Returns the sum.\n\t */\n\t function baseSum(collection, iteratee) {\n\t var result = 0;\n\t baseEach(collection, function(value, index, collection) {\n\t result += +iteratee(value, index, collection) || 0;\n\t });\n\t return result;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.uniq` without support for callback shorthands\n\t * and `this` binding.\n\t *\n\t * @private\n\t * @param {Array} array The array to inspect.\n\t * @param {Function} [iteratee] The function invoked per iteration.\n\t * @returns {Array} Returns the new duplicate-value-free array.\n\t */\n\t function baseUniq(array, iteratee) {\n\t var index = -1,\n\t indexOf = getIndexOf(),\n\t length = array.length,\n\t isCommon = indexOf == baseIndexOf,\n\t isLarge = isCommon && length >= LARGE_ARRAY_SIZE,\n\t seen = isLarge ? createCache() : null,\n\t result = [];\n\t\n\t if (seen) {\n\t indexOf = cacheIndexOf;\n\t isCommon = false;\n\t } else {\n\t isLarge = false;\n\t seen = iteratee ? [] : result;\n\t }\n\t outer:\n\t while (++index < length) {\n\t var value = array[index],\n\t computed = iteratee ? iteratee(value, index, array) : value;\n\t\n\t if (isCommon && value === value) {\n\t var seenIndex = seen.length;\n\t while (seenIndex--) {\n\t if (seen[seenIndex] === computed) {\n\t continue outer;\n\t }\n\t }\n\t if (iteratee) {\n\t seen.push(computed);\n\t }\n\t result.push(value);\n\t }\n\t else if (indexOf(seen, computed, 0) < 0) {\n\t if (iteratee || isLarge) {\n\t seen.push(computed);\n\t }\n\t result.push(value);\n\t }\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.values` and `_.valuesIn` which creates an\n\t * array of `object` property values corresponding to the property names\n\t * of `props`.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {Array} props The property names to get values for.\n\t * @returns {Object} Returns the array of property values.\n\t */\n\t function baseValues(object, props) {\n\t var index = -1,\n\t length = props.length,\n\t result = Array(length);\n\t\n\t while (++index < length) {\n\t result[index] = object[props[index]];\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * The base implementation of `_.dropRightWhile`, `_.dropWhile`, `_.takeRightWhile`,\n\t * and `_.takeWhile` without support for callback shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Array} array The array to query.\n\t * @param {Function} predicate The function invoked per iteration.\n\t * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n\t * @param {boolean} [fromRight] Specify iterating from right to left.\n\t * @returns {Array} Returns the slice of `array`.\n\t */\n\t function baseWhile(array, predicate, isDrop, fromRight) {\n\t var length = array.length,\n\t index = fromRight ? length : -1;\n\t\n\t while ((fromRight ? index-- : ++index < length) && predicate(array[index], index, array)) {}\n\t return isDrop\n\t ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))\n\t : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));\n\t }\n\t\n\t /**\n\t * The base implementation of `wrapperValue` which returns the result of\n\t * performing a sequence of actions on the unwrapped `value`, where each\n\t * successive action is supplied the return value of the previous.\n\t *\n\t * @private\n\t * @param {*} value The unwrapped value.\n\t * @param {Array} actions Actions to peform to resolve the unwrapped value.\n\t * @returns {*} Returns the resolved value.\n\t */\n\t function baseWrapperValue(value, actions) {\n\t var result = value;\n\t if (result instanceof LazyWrapper) {\n\t result = result.value();\n\t }\n\t var index = -1,\n\t length = actions.length;\n\t\n\t while (++index < length) {\n\t var action = actions[index];\n\t result = action.func.apply(action.thisArg, arrayPush([result], action.args));\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * Performs a binary search of `array` to determine the index at which `value`\n\t * should be inserted into `array` in order to maintain its sort order.\n\t *\n\t * @private\n\t * @param {Array} array The sorted array to inspect.\n\t * @param {*} value The value to evaluate.\n\t * @param {boolean} [retHighest] Specify returning the highest qualified index.\n\t * @returns {number} Returns the index at which `value` should be inserted\n\t * into `array`.\n\t */\n\t function binaryIndex(array, value, retHighest) {\n\t var low = 0,\n\t high = array ? array.length : low;\n\t\n\t if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n\t while (low < high) {\n\t var mid = (low + high) >>> 1,\n\t computed = array[mid];\n\t\n\t if ((retHighest ? (computed <= value) : (computed < value)) && computed !== null) {\n\t low = mid + 1;\n\t } else {\n\t high = mid;\n\t }\n\t }\n\t return high;\n\t }\n\t return binaryIndexBy(array, value, identity, retHighest);\n\t }\n\t\n\t /**\n\t * This function is like `binaryIndex` except that it invokes `iteratee` for\n\t * `value` and each element of `array` to compute their sort ranking. The\n\t * iteratee is invoked with one argument; (value).\n\t *\n\t * @private\n\t * @param {Array} array The sorted array to inspect.\n\t * @param {*} value The value to evaluate.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @param {boolean} [retHighest] Specify returning the highest qualified index.\n\t * @returns {number} Returns the index at which `value` should be inserted\n\t * into `array`.\n\t */\n\t function binaryIndexBy(array, value, iteratee, retHighest) {\n\t value = iteratee(value);\n\t\n\t var low = 0,\n\t high = array ? array.length : 0,\n\t valIsNaN = value !== value,\n\t valIsNull = value === null,\n\t valIsUndef = value === undefined;\n\t\n\t while (low < high) {\n\t var mid = nativeFloor((low + high) / 2),\n\t computed = iteratee(array[mid]),\n\t isDef = computed !== undefined,\n\t isReflexive = computed === computed;\n\t\n\t if (valIsNaN) {\n\t var setLow = isReflexive || retHighest;\n\t } else if (valIsNull) {\n\t setLow = isReflexive && isDef && (retHighest || computed != null);\n\t } else if (valIsUndef) {\n\t setLow = isReflexive && (retHighest || isDef);\n\t } else if (computed == null) {\n\t setLow = false;\n\t } else {\n\t setLow = retHighest ? (computed <= value) : (computed < value);\n\t }\n\t if (setLow) {\n\t low = mid + 1;\n\t } else {\n\t high = mid;\n\t }\n\t }\n\t return nativeMin(high, MAX_ARRAY_INDEX);\n\t }\n\t\n\t /**\n\t * A specialized version of `baseCallback` which only supports `this` binding\n\t * and specifying the number of arguments to provide to `func`.\n\t *\n\t * @private\n\t * @param {Function} func The function to bind.\n\t * @param {*} thisArg The `this` binding of `func`.\n\t * @param {number} [argCount] The number of arguments to provide to `func`.\n\t * @returns {Function} Returns the callback.\n\t */\n\t function bindCallback(func, thisArg, argCount) {\n\t if (typeof func != 'function') {\n\t return identity;\n\t }\n\t if (thisArg === undefined) {\n\t return func;\n\t }\n\t switch (argCount) {\n\t case 1: return function(value) {\n\t return func.call(thisArg, value);\n\t };\n\t case 3: return function(value, index, collection) {\n\t return func.call(thisArg, value, index, collection);\n\t };\n\t case 4: return function(accumulator, value, index, collection) {\n\t return func.call(thisArg, accumulator, value, index, collection);\n\t };\n\t case 5: return function(value, other, key, object, source) {\n\t return func.call(thisArg, value, other, key, object, source);\n\t };\n\t }\n\t return function() {\n\t return func.apply(thisArg, arguments);\n\t };\n\t }\n\t\n\t /**\n\t * Creates a clone of the given array buffer.\n\t *\n\t * @private\n\t * @param {ArrayBuffer} buffer The array buffer to clone.\n\t * @returns {ArrayBuffer} Returns the cloned array buffer.\n\t */\n\t function bufferClone(buffer) {\n\t var result = new ArrayBuffer(buffer.byteLength),\n\t view = new Uint8Array(result);\n\t\n\t view.set(new Uint8Array(buffer));\n\t return result;\n\t }\n\t\n\t /**\n\t * Creates an array that is the composition of partially applied arguments,\n\t * placeholders, and provided arguments into a single array of arguments.\n\t *\n\t * @private\n\t * @param {Array|Object} args The provided arguments.\n\t * @param {Array} partials The arguments to prepend to those provided.\n\t * @param {Array} holders The `partials` placeholder indexes.\n\t * @returns {Array} Returns the new array of composed arguments.\n\t */\n\t function composeArgs(args, partials, holders) {\n\t var holdersLength = holders.length,\n\t argsIndex = -1,\n\t argsLength = nativeMax(args.length - holdersLength, 0),\n\t leftIndex = -1,\n\t leftLength = partials.length,\n\t result = Array(leftLength + argsLength);\n\t\n\t while (++leftIndex < leftLength) {\n\t result[leftIndex] = partials[leftIndex];\n\t }\n\t while (++argsIndex < holdersLength) {\n\t result[holders[argsIndex]] = args[argsIndex];\n\t }\n\t while (argsLength--) {\n\t result[leftIndex++] = args[argsIndex++];\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * This function is like `composeArgs` except that the arguments composition\n\t * is tailored for `_.partialRight`.\n\t *\n\t * @private\n\t * @param {Array|Object} args The provided arguments.\n\t * @param {Array} partials The arguments to append to those provided.\n\t * @param {Array} holders The `partials` placeholder indexes.\n\t * @returns {Array} Returns the new array of composed arguments.\n\t */\n\t function composeArgsRight(args, partials, holders) {\n\t var holdersIndex = -1,\n\t holdersLength = holders.length,\n\t argsIndex = -1,\n\t argsLength = nativeMax(args.length - holdersLength, 0),\n\t rightIndex = -1,\n\t rightLength = partials.length,\n\t result = Array(argsLength + rightLength);\n\t\n\t while (++argsIndex < argsLength) {\n\t result[argsIndex] = args[argsIndex];\n\t }\n\t var offset = argsIndex;\n\t while (++rightIndex < rightLength) {\n\t result[offset + rightIndex] = partials[rightIndex];\n\t }\n\t while (++holdersIndex < holdersLength) {\n\t result[offset + holders[holdersIndex]] = args[argsIndex++];\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * Creates a `_.countBy`, `_.groupBy`, `_.indexBy`, or `_.partition` function.\n\t *\n\t * @private\n\t * @param {Function} setter The function to set keys and values of the accumulator object.\n\t * @param {Function} [initializer] The function to initialize the accumulator object.\n\t * @returns {Function} Returns the new aggregator function.\n\t */\n\t function createAggregator(setter, initializer) {\n\t return function(collection, iteratee, thisArg) {\n\t var result = initializer ? initializer() : {};\n\t iteratee = getCallback(iteratee, thisArg, 3);\n\t\n\t if (isArray(collection)) {\n\t var index = -1,\n\t length = collection.length;\n\t\n\t while (++index < length) {\n\t var value = collection[index];\n\t setter(result, value, iteratee(value, index, collection), collection);\n\t }\n\t } else {\n\t baseEach(collection, function(value, key, collection) {\n\t setter(result, value, iteratee(value, key, collection), collection);\n\t });\n\t }\n\t return result;\n\t };\n\t }\n\t\n\t /**\n\t * Creates a `_.assign`, `_.defaults`, or `_.merge` function.\n\t *\n\t * @private\n\t * @param {Function} assigner The function to assign values.\n\t * @returns {Function} Returns the new assigner function.\n\t */\n\t function createAssigner(assigner) {\n\t return restParam(function(object, sources) {\n\t var index = -1,\n\t length = object == null ? 0 : sources.length,\n\t customizer = length > 2 ? sources[length - 2] : undefined,\n\t guard = length > 2 ? sources[2] : undefined,\n\t thisArg = length > 1 ? sources[length - 1] : undefined;\n\t\n\t if (typeof customizer == 'function') {\n\t customizer = bindCallback(customizer, thisArg, 5);\n\t length -= 2;\n\t } else {\n\t customizer = typeof thisArg == 'function' ? thisArg : undefined;\n\t length -= (customizer ? 1 : 0);\n\t }\n\t if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n\t customizer = length < 3 ? undefined : customizer;\n\t length = 1;\n\t }\n\t while (++index < length) {\n\t var source = sources[index];\n\t if (source) {\n\t assigner(object, source, customizer);\n\t }\n\t }\n\t return object;\n\t });\n\t }\n\t\n\t /**\n\t * Creates a `baseEach` or `baseEachRight` function.\n\t *\n\t * @private\n\t * @param {Function} eachFunc The function to iterate over a collection.\n\t * @param {boolean} [fromRight] Specify iterating from right to left.\n\t * @returns {Function} Returns the new base function.\n\t */\n\t function createBaseEach(eachFunc, fromRight) {\n\t return function(collection, iteratee) {\n\t var length = collection ? getLength(collection) : 0;\n\t if (!isLength(length)) {\n\t return eachFunc(collection, iteratee);\n\t }\n\t var index = fromRight ? length : -1,\n\t iterable = toObject(collection);\n\t\n\t while ((fromRight ? index-- : ++index < length)) {\n\t if (iteratee(iterable[index], index, iterable) === false) {\n\t break;\n\t }\n\t }\n\t return collection;\n\t };\n\t }\n\t\n\t /**\n\t * Creates a base function for `_.forIn` or `_.forInRight`.\n\t *\n\t * @private\n\t * @param {boolean} [fromRight] Specify iterating from right to left.\n\t * @returns {Function} Returns the new base function.\n\t */\n\t function createBaseFor(fromRight) {\n\t return function(object, iteratee, keysFunc) {\n\t var iterable = toObject(object),\n\t props = keysFunc(object),\n\t length = props.length,\n\t index = fromRight ? length : -1;\n\t\n\t while ((fromRight ? index-- : ++index < length)) {\n\t var key = props[index];\n\t if (iteratee(iterable[key], key, iterable) === false) {\n\t break;\n\t }\n\t }\n\t return object;\n\t };\n\t }\n\t\n\t /**\n\t * Creates a function that wraps `func` and invokes it with the `this`\n\t * binding of `thisArg`.\n\t *\n\t * @private\n\t * @param {Function} func The function to bind.\n\t * @param {*} [thisArg] The `this` binding of `func`.\n\t * @returns {Function} Returns the new bound function.\n\t */\n\t function createBindWrapper(func, thisArg) {\n\t var Ctor = createCtorWrapper(func);\n\t\n\t function wrapper() {\n\t var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\t return fn.apply(thisArg, arguments);\n\t }\n\t return wrapper;\n\t }\n\t\n\t /**\n\t * Creates a `Set` cache object to optimize linear searches of large arrays.\n\t *\n\t * @private\n\t * @param {Array} [values] The values to cache.\n\t * @returns {null|Object} Returns the new cache object if `Set` is supported, else `null`.\n\t */\n\t function createCache(values) {\n\t return (nativeCreate && Set) ? new SetCache(values) : null;\n\t }\n\t\n\t /**\n\t * Creates a function that produces compound words out of the words in a\n\t * given string.\n\t *\n\t * @private\n\t * @param {Function} callback The function to combine each word.\n\t * @returns {Function} Returns the new compounder function.\n\t */\n\t function createCompounder(callback) {\n\t return function(string) {\n\t var index = -1,\n\t array = words(deburr(string)),\n\t length = array.length,\n\t result = '';\n\t\n\t while (++index < length) {\n\t result = callback(result, array[index], index);\n\t }\n\t return result;\n\t };\n\t }\n\t\n\t /**\n\t * Creates a function that produces an instance of `Ctor` regardless of\n\t * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n\t *\n\t * @private\n\t * @param {Function} Ctor The constructor to wrap.\n\t * @returns {Function} Returns the new wrapped function.\n\t */\n\t function createCtorWrapper(Ctor) {\n\t return function() {\n\t // Use a `switch` statement to work with class constructors.\n\t // See http://ecma-international.org/ecma-262/6.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist\n\t // for more details.\n\t var args = arguments;\n\t switch (args.length) {\n\t case 0: return new Ctor;\n\t case 1: return new Ctor(args[0]);\n\t case 2: return new Ctor(args[0], args[1]);\n\t case 3: return new Ctor(args[0], args[1], args[2]);\n\t case 4: return new Ctor(args[0], args[1], args[2], args[3]);\n\t case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);\n\t case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);\n\t case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);\n\t }\n\t var thisBinding = baseCreate(Ctor.prototype),\n\t result = Ctor.apply(thisBinding, args);\n\t\n\t // Mimic the constructor's `return` behavior.\n\t // See https://es5.github.io/#x13.2.2 for more details.\n\t return isObject(result) ? result : thisBinding;\n\t };\n\t }\n\t\n\t /**\n\t * Creates a `_.curry` or `_.curryRight` function.\n\t *\n\t * @private\n\t * @param {boolean} flag The curry bit flag.\n\t * @returns {Function} Returns the new curry function.\n\t */\n\t function createCurry(flag) {\n\t function curryFunc(func, arity, guard) {\n\t if (guard && isIterateeCall(func, arity, guard)) {\n\t arity = undefined;\n\t }\n\t var result = createWrapper(func, flag, undefined, undefined, undefined, undefined, undefined, arity);\n\t result.placeholder = curryFunc.placeholder;\n\t return result;\n\t }\n\t return curryFunc;\n\t }\n\t\n\t /**\n\t * Creates a `_.defaults` or `_.defaultsDeep` function.\n\t *\n\t * @private\n\t * @param {Function} assigner The function to assign values.\n\t * @param {Function} customizer The function to customize assigned values.\n\t * @returns {Function} Returns the new defaults function.\n\t */\n\t function createDefaults(assigner, customizer) {\n\t return restParam(function(args) {\n\t var object = args[0];\n\t if (object == null) {\n\t return object;\n\t }\n\t args.push(customizer);\n\t return assigner.apply(undefined, args);\n\t });\n\t }\n\t\n\t /**\n\t * Creates a `_.max` or `_.min` function.\n\t *\n\t * @private\n\t * @param {Function} comparator The function used to compare values.\n\t * @param {*} exValue The initial extremum value.\n\t * @returns {Function} Returns the new extremum function.\n\t */\n\t function createExtremum(comparator, exValue) {\n\t return function(collection, iteratee, thisArg) {\n\t if (thisArg && isIterateeCall(collection, iteratee, thisArg)) {\n\t iteratee = undefined;\n\t }\n\t iteratee = getCallback(iteratee, thisArg, 3);\n\t if (iteratee.length == 1) {\n\t collection = isArray(collection) ? collection : toIterable(collection);\n\t var result = arrayExtremum(collection, iteratee, comparator, exValue);\n\t if (!(collection.length && result === exValue)) {\n\t return result;\n\t }\n\t }\n\t return baseExtremum(collection, iteratee, comparator, exValue);\n\t };\n\t }\n\t\n\t /**\n\t * Creates a `_.find` or `_.findLast` function.\n\t *\n\t * @private\n\t * @param {Function} eachFunc The function to iterate over a collection.\n\t * @param {boolean} [fromRight] Specify iterating from right to left.\n\t * @returns {Function} Returns the new find function.\n\t */\n\t function createFind(eachFunc, fromRight) {\n\t return function(collection, predicate, thisArg) {\n\t predicate = getCallback(predicate, thisArg, 3);\n\t if (isArray(collection)) {\n\t var index = baseFindIndex(collection, predicate, fromRight);\n\t return index > -1 ? collection[index] : undefined;\n\t }\n\t return baseFind(collection, predicate, eachFunc);\n\t };\n\t }\n\t\n\t /**\n\t * Creates a `_.findIndex` or `_.findLastIndex` function.\n\t *\n\t * @private\n\t * @param {boolean} [fromRight] Specify iterating from right to left.\n\t * @returns {Function} Returns the new find function.\n\t */\n\t function createFindIndex(fromRight) {\n\t return function(array, predicate, thisArg) {\n\t if (!(array && array.length)) {\n\t return -1;\n\t }\n\t predicate = getCallback(predicate, thisArg, 3);\n\t return baseFindIndex(array, predicate, fromRight);\n\t };\n\t }\n\t\n\t /**\n\t * Creates a `_.findKey` or `_.findLastKey` function.\n\t *\n\t * @private\n\t * @param {Function} objectFunc The function to iterate over an object.\n\t * @returns {Function} Returns the new find function.\n\t */\n\t function createFindKey(objectFunc) {\n\t return function(object, predicate, thisArg) {\n\t predicate = getCallback(predicate, thisArg, 3);\n\t return baseFind(object, predicate, objectFunc, true);\n\t };\n\t }\n\t\n\t /**\n\t * Creates a `_.flow` or `_.flowRight` function.\n\t *\n\t * @private\n\t * @param {boolean} [fromRight] Specify iterating from right to left.\n\t * @returns {Function} Returns the new flow function.\n\t */\n\t function createFlow(fromRight) {\n\t return function() {\n\t var wrapper,\n\t length = arguments.length,\n\t index = fromRight ? length : -1,\n\t leftIndex = 0,\n\t funcs = Array(length);\n\t\n\t while ((fromRight ? index-- : ++index < length)) {\n\t var func = funcs[leftIndex++] = arguments[index];\n\t if (typeof func != 'function') {\n\t throw new TypeError(FUNC_ERROR_TEXT);\n\t }\n\t if (!wrapper && LodashWrapper.prototype.thru && getFuncName(func) == 'wrapper') {\n\t wrapper = new LodashWrapper([], true);\n\t }\n\t }\n\t index = wrapper ? -1 : length;\n\t while (++index < length) {\n\t func = funcs[index];\n\t\n\t var funcName = getFuncName(func),\n\t data = funcName == 'wrapper' ? getData(func) : undefined;\n\t\n\t if (data && isLaziable(data[0]) && data[1] == (ARY_FLAG | CURRY_FLAG | PARTIAL_FLAG | REARG_FLAG) && !data[4].length && data[9] == 1) {\n\t wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n\t } else {\n\t wrapper = (func.length == 1 && isLaziable(func)) ? wrapper[funcName]() : wrapper.thru(func);\n\t }\n\t }\n\t return function() {\n\t var args = arguments,\n\t value = args[0];\n\t\n\t if (wrapper && args.length == 1 && isArray(value) && value.length >= LARGE_ARRAY_SIZE) {\n\t return wrapper.plant(value).value();\n\t }\n\t var index = 0,\n\t result = length ? funcs[index].apply(this, args) : value;\n\t\n\t while (++index < length) {\n\t result = funcs[index].call(this, result);\n\t }\n\t return result;\n\t };\n\t };\n\t }\n\t\n\t /**\n\t * Creates a function for `_.forEach` or `_.forEachRight`.\n\t *\n\t * @private\n\t * @param {Function} arrayFunc The function to iterate over an array.\n\t * @param {Function} eachFunc The function to iterate over a collection.\n\t * @returns {Function} Returns the new each function.\n\t */\n\t function createForEach(arrayFunc, eachFunc) {\n\t return function(collection, iteratee, thisArg) {\n\t return (typeof iteratee == 'function' && thisArg === undefined && isArray(collection))\n\t ? arrayFunc(collection, iteratee)\n\t : eachFunc(collection, bindCallback(iteratee, thisArg, 3));\n\t };\n\t }\n\t\n\t /**\n\t * Creates a function for `_.forIn` or `_.forInRight`.\n\t *\n\t * @private\n\t * @param {Function} objectFunc The function to iterate over an object.\n\t * @returns {Function} Returns the new each function.\n\t */\n\t function createForIn(objectFunc) {\n\t return function(object, iteratee, thisArg) {\n\t if (typeof iteratee != 'function' || thisArg !== undefined) {\n\t iteratee = bindCallback(iteratee, thisArg, 3);\n\t }\n\t return objectFunc(object, iteratee, keysIn);\n\t };\n\t }\n\t\n\t /**\n\t * Creates a function for `_.forOwn` or `_.forOwnRight`.\n\t *\n\t * @private\n\t * @param {Function} objectFunc The function to iterate over an object.\n\t * @returns {Function} Returns the new each function.\n\t */\n\t function createForOwn(objectFunc) {\n\t return function(object, iteratee, thisArg) {\n\t if (typeof iteratee != 'function' || thisArg !== undefined) {\n\t iteratee = bindCallback(iteratee, thisArg, 3);\n\t }\n\t return objectFunc(object, iteratee);\n\t };\n\t }\n\t\n\t /**\n\t * Creates a function for `_.mapKeys` or `_.mapValues`.\n\t *\n\t * @private\n\t * @param {boolean} [isMapKeys] Specify mapping keys instead of values.\n\t * @returns {Function} Returns the new map function.\n\t */\n\t function createObjectMapper(isMapKeys) {\n\t return function(object, iteratee, thisArg) {\n\t var result = {};\n\t iteratee = getCallback(iteratee, thisArg, 3);\n\t\n\t baseForOwn(object, function(value, key, object) {\n\t var mapped = iteratee(value, key, object);\n\t key = isMapKeys ? mapped : key;\n\t value = isMapKeys ? value : mapped;\n\t result[key] = value;\n\t });\n\t return result;\n\t };\n\t }\n\t\n\t /**\n\t * Creates a function for `_.padLeft` or `_.padRight`.\n\t *\n\t * @private\n\t * @param {boolean} [fromRight] Specify padding from the right.\n\t * @returns {Function} Returns the new pad function.\n\t */\n\t function createPadDir(fromRight) {\n\t return function(string, length, chars) {\n\t string = baseToString(string);\n\t return (fromRight ? string : '') + createPadding(string, length, chars) + (fromRight ? '' : string);\n\t };\n\t }\n\t\n\t /**\n\t * Creates a `_.partial` or `_.partialRight` function.\n\t *\n\t * @private\n\t * @param {boolean} flag The partial bit flag.\n\t * @returns {Function} Returns the new partial function.\n\t */\n\t function createPartial(flag) {\n\t var partialFunc = restParam(function(func, partials) {\n\t var holders = replaceHolders(partials, partialFunc.placeholder);\n\t return createWrapper(func, flag, undefined, partials, holders);\n\t });\n\t return partialFunc;\n\t }\n\t\n\t /**\n\t * Creates a function for `_.reduce` or `_.reduceRight`.\n\t *\n\t * @private\n\t * @param {Function} arrayFunc The function to iterate over an array.\n\t * @param {Function} eachFunc The function to iterate over a collection.\n\t * @returns {Function} Returns the new each function.\n\t */\n\t function createReduce(arrayFunc, eachFunc) {\n\t return function(collection, iteratee, accumulator, thisArg) {\n\t var initFromArray = arguments.length < 3;\n\t return (typeof iteratee == 'function' && thisArg === undefined && isArray(collection))\n\t ? arrayFunc(collection, iteratee, accumulator, initFromArray)\n\t : baseReduce(collection, getCallback(iteratee, thisArg, 4), accumulator, initFromArray, eachFunc);\n\t };\n\t }\n\t\n\t /**\n\t * Creates a function that wraps `func` and invokes it with optional `this`\n\t * binding of, partial application, and currying.\n\t *\n\t * @private\n\t * @param {Function|string} func The function or method name to reference.\n\t * @param {number} bitmask The bitmask of flags. See `createWrapper` for more details.\n\t * @param {*} [thisArg] The `this` binding of `func`.\n\t * @param {Array} [partials] The arguments to prepend to those provided to the new function.\n\t * @param {Array} [holders] The `partials` placeholder indexes.\n\t * @param {Array} [partialsRight] The arguments to append to those provided to the new function.\n\t * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n\t * @param {Array} [argPos] The argument positions of the new function.\n\t * @param {number} [ary] The arity cap of `func`.\n\t * @param {number} [arity] The arity of `func`.\n\t * @returns {Function} Returns the new wrapped function.\n\t */\n\t function createHybridWrapper(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n\t var isAry = bitmask & ARY_FLAG,\n\t isBind = bitmask & BIND_FLAG,\n\t isBindKey = bitmask & BIND_KEY_FLAG,\n\t isCurry = bitmask & CURRY_FLAG,\n\t isCurryBound = bitmask & CURRY_BOUND_FLAG,\n\t isCurryRight = bitmask & CURRY_RIGHT_FLAG,\n\t Ctor = isBindKey ? undefined : createCtorWrapper(func);\n\t\n\t function wrapper() {\n\t // Avoid `arguments` object use disqualifying optimizations by\n\t // converting it to an array before providing it to other functions.\n\t var length = arguments.length,\n\t index = length,\n\t args = Array(length);\n\t\n\t while (index--) {\n\t args[index] = arguments[index];\n\t }\n\t if (partials) {\n\t args = composeArgs(args, partials, holders);\n\t }\n\t if (partialsRight) {\n\t args = composeArgsRight(args, partialsRight, holdersRight);\n\t }\n\t if (isCurry || isCurryRight) {\n\t var placeholder = wrapper.placeholder,\n\t argsHolders = replaceHolders(args, placeholder);\n\t\n\t length -= argsHolders.length;\n\t if (length < arity) {\n\t var newArgPos = argPos ? arrayCopy(argPos) : undefined,\n\t newArity = nativeMax(arity - length, 0),\n\t newsHolders = isCurry ? argsHolders : undefined,\n\t newHoldersRight = isCurry ? undefined : argsHolders,\n\t newPartials = isCurry ? args : undefined,\n\t newPartialsRight = isCurry ? undefined : args;\n\t\n\t bitmask |= (isCurry ? PARTIAL_FLAG : PARTIAL_RIGHT_FLAG);\n\t bitmask &= ~(isCurry ? PARTIAL_RIGHT_FLAG : PARTIAL_FLAG);\n\t\n\t if (!isCurryBound) {\n\t bitmask &= ~(BIND_FLAG | BIND_KEY_FLAG);\n\t }\n\t var newData = [func, bitmask, thisArg, newPartials, newsHolders, newPartialsRight, newHoldersRight, newArgPos, ary, newArity],\n\t result = createHybridWrapper.apply(undefined, newData);\n\t\n\t if (isLaziable(func)) {\n\t setData(result, newData);\n\t }\n\t result.placeholder = placeholder;\n\t return result;\n\t }\n\t }\n\t var thisBinding = isBind ? thisArg : this,\n\t fn = isBindKey ? thisBinding[func] : func;\n\t\n\t if (argPos) {\n\t args = reorder(args, argPos);\n\t }\n\t if (isAry && ary < args.length) {\n\t args.length = ary;\n\t }\n\t if (this && this !== root && this instanceof wrapper) {\n\t fn = Ctor || createCtorWrapper(func);\n\t }\n\t return fn.apply(thisBinding, args);\n\t }\n\t return wrapper;\n\t }\n\t\n\t /**\n\t * Creates the padding required for `string` based on the given `length`.\n\t * The `chars` string is truncated if the number of characters exceeds `length`.\n\t *\n\t * @private\n\t * @param {string} string The string to create padding for.\n\t * @param {number} [length=0] The padding length.\n\t * @param {string} [chars=' '] The string used as padding.\n\t * @returns {string} Returns the pad for `string`.\n\t */\n\t function createPadding(string, length, chars) {\n\t var strLength = string.length;\n\t length = +length;\n\t\n\t if (strLength >= length || !nativeIsFinite(length)) {\n\t return '';\n\t }\n\t var padLength = length - strLength;\n\t chars = chars == null ? ' ' : (chars + '');\n\t return repeat(chars, nativeCeil(padLength / chars.length)).slice(0, padLength);\n\t }\n\t\n\t /**\n\t * Creates a function that wraps `func` and invokes it with the optional `this`\n\t * binding of `thisArg` and the `partials` prepended to those provided to\n\t * the wrapper.\n\t *\n\t * @private\n\t * @param {Function} func The function to partially apply arguments to.\n\t * @param {number} bitmask The bitmask of flags. See `createWrapper` for more details.\n\t * @param {*} thisArg The `this` binding of `func`.\n\t * @param {Array} partials The arguments to prepend to those provided to the new function.\n\t * @returns {Function} Returns the new bound function.\n\t */\n\t function createPartialWrapper(func, bitmask, thisArg, partials) {\n\t var isBind = bitmask & BIND_FLAG,\n\t Ctor = createCtorWrapper(func);\n\t\n\t function wrapper() {\n\t // Avoid `arguments` object use disqualifying optimizations by\n\t // converting it to an array before providing it `func`.\n\t var argsIndex = -1,\n\t argsLength = arguments.length,\n\t leftIndex = -1,\n\t leftLength = partials.length,\n\t args = Array(leftLength + argsLength);\n\t\n\t while (++leftIndex < leftLength) {\n\t args[leftIndex] = partials[leftIndex];\n\t }\n\t while (argsLength--) {\n\t args[leftIndex++] = arguments[++argsIndex];\n\t }\n\t var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\t return fn.apply(isBind ? thisArg : this, args);\n\t }\n\t return wrapper;\n\t }\n\t\n\t /**\n\t * Creates a `_.ceil`, `_.floor`, or `_.round` function.\n\t *\n\t * @private\n\t * @param {string} methodName The name of the `Math` method to use when rounding.\n\t * @returns {Function} Returns the new round function.\n\t */\n\t function createRound(methodName) {\n\t var func = Math[methodName];\n\t return function(number, precision) {\n\t precision = precision === undefined ? 0 : (+precision || 0);\n\t if (precision) {\n\t precision = pow(10, precision);\n\t return func(number * precision) / precision;\n\t }\n\t return func(number);\n\t };\n\t }\n\t\n\t /**\n\t * Creates a `_.sortedIndex` or `_.sortedLastIndex` function.\n\t *\n\t * @private\n\t * @param {boolean} [retHighest] Specify returning the highest qualified index.\n\t * @returns {Function} Returns the new index function.\n\t */\n\t function createSortedIndex(retHighest) {\n\t return function(array, value, iteratee, thisArg) {\n\t var callback = getCallback(iteratee);\n\t return (iteratee == null && callback === baseCallback)\n\t ? binaryIndex(array, value, retHighest)\n\t : binaryIndexBy(array, value, callback(iteratee, thisArg, 1), retHighest);\n\t };\n\t }\n\t\n\t /**\n\t * Creates a function that either curries or invokes `func` with optional\n\t * `this` binding and partially applied arguments.\n\t *\n\t * @private\n\t * @param {Function|string} func The function or method name to reference.\n\t * @param {number} bitmask The bitmask of flags.\n\t * The bitmask may be composed of the following flags:\n\t * 1 - `_.bind`\n\t * 2 - `_.bindKey`\n\t * 4 - `_.curry` or `_.curryRight` of a bound function\n\t * 8 - `_.curry`\n\t * 16 - `_.curryRight`\n\t * 32 - `_.partial`\n\t * 64 - `_.partialRight`\n\t * 128 - `_.rearg`\n\t * 256 - `_.ary`\n\t * @param {*} [thisArg] The `this` binding of `func`.\n\t * @param {Array} [partials] The arguments to be partially applied.\n\t * @param {Array} [holders] The `partials` placeholder indexes.\n\t * @param {Array} [argPos] The argument positions of the new function.\n\t * @param {number} [ary] The arity cap of `func`.\n\t * @param {number} [arity] The arity of `func`.\n\t * @returns {Function} Returns the new wrapped function.\n\t */\n\t function createWrapper(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n\t var isBindKey = bitmask & BIND_KEY_FLAG;\n\t if (!isBindKey && typeof func != 'function') {\n\t throw new TypeError(FUNC_ERROR_TEXT);\n\t }\n\t var length = partials ? partials.length : 0;\n\t if (!length) {\n\t bitmask &= ~(PARTIAL_FLAG | PARTIAL_RIGHT_FLAG);\n\t partials = holders = undefined;\n\t }\n\t length -= (holders ? holders.length : 0);\n\t if (bitmask & PARTIAL_RIGHT_FLAG) {\n\t var partialsRight = partials,\n\t holdersRight = holders;\n\t\n\t partials = holders = undefined;\n\t }\n\t var data = isBindKey ? undefined : getData(func),\n\t newData = [func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity];\n\t\n\t if (data) {\n\t mergeData(newData, data);\n\t bitmask = newData[1];\n\t arity = newData[9];\n\t }\n\t newData[9] = arity == null\n\t ? (isBindKey ? 0 : func.length)\n\t : (nativeMax(arity - length, 0) || 0);\n\t\n\t if (bitmask == BIND_FLAG) {\n\t var result = createBindWrapper(newData[0], newData[2]);\n\t } else if ((bitmask == PARTIAL_FLAG || bitmask == (BIND_FLAG | PARTIAL_FLAG)) && !newData[4].length) {\n\t result = createPartialWrapper.apply(undefined, newData);\n\t } else {\n\t result = createHybridWrapper.apply(undefined, newData);\n\t }\n\t var setter = data ? baseSetData : setData;\n\t return setter(result, newData);\n\t }\n\t\n\t /**\n\t * A specialized version of `baseIsEqualDeep` for arrays with support for\n\t * partial deep comparisons.\n\t *\n\t * @private\n\t * @param {Array} array The array to compare.\n\t * @param {Array} other The other array to compare.\n\t * @param {Function} equalFunc The function to determine equivalents of values.\n\t * @param {Function} [customizer] The function to customize comparing arrays.\n\t * @param {boolean} [isLoose] Specify performing partial comparisons.\n\t * @param {Array} [stackA] Tracks traversed `value` objects.\n\t * @param {Array} [stackB] Tracks traversed `other` objects.\n\t * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n\t */\n\t function equalArrays(array, other, equalFunc, customizer, isLoose, stackA, stackB) {\n\t var index = -1,\n\t arrLength = array.length,\n\t othLength = other.length;\n\t\n\t if (arrLength != othLength && !(isLoose && othLength > arrLength)) {\n\t return false;\n\t }\n\t // Ignore non-index properties.\n\t while (++index < arrLength) {\n\t var arrValue = array[index],\n\t othValue = other[index],\n\t result = customizer ? customizer(isLoose ? othValue : arrValue, isLoose ? arrValue : othValue, index) : undefined;\n\t\n\t if (result !== undefined) {\n\t if (result) {\n\t continue;\n\t }\n\t return false;\n\t }\n\t // Recursively compare arrays (susceptible to call stack limits).\n\t if (isLoose) {\n\t if (!arraySome(other, function(othValue) {\n\t return arrValue === othValue || equalFunc(arrValue, othValue, customizer, isLoose, stackA, stackB);\n\t })) {\n\t return false;\n\t }\n\t } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, customizer, isLoose, stackA, stackB))) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\t\n\t /**\n\t * A specialized version of `baseIsEqualDeep` for comparing objects of\n\t * the same `toStringTag`.\n\t *\n\t * **Note:** This function only supports comparing values with tags of\n\t * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n\t *\n\t * @private\n\t * @param {Object} object The object to compare.\n\t * @param {Object} other The other object to compare.\n\t * @param {string} tag The `toStringTag` of the objects to compare.\n\t * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n\t */\n\t function equalByTag(object, other, tag) {\n\t switch (tag) {\n\t case boolTag:\n\t case dateTag:\n\t // Coerce dates and booleans to numbers, dates to milliseconds and booleans\n\t // to `1` or `0` treating invalid dates coerced to `NaN` as not equal.\n\t return +object == +other;\n\t\n\t case errorTag:\n\t return object.name == other.name && object.message == other.message;\n\t\n\t case numberTag:\n\t // Treat `NaN` vs. `NaN` as equal.\n\t return (object != +object)\n\t ? other != +other\n\t : object == +other;\n\t\n\t case regexpTag:\n\t case stringTag:\n\t // Coerce regexes to strings and treat strings primitives and string\n\t // objects as equal. See https://es5.github.io/#x15.10.6.4 for more details.\n\t return object == (other + '');\n\t }\n\t return false;\n\t }\n\t\n\t /**\n\t * A specialized version of `baseIsEqualDeep` for objects with support for\n\t * partial deep comparisons.\n\t *\n\t * @private\n\t * @param {Object} object The object to compare.\n\t * @param {Object} other The other object to compare.\n\t * @param {Function} equalFunc The function to determine equivalents of values.\n\t * @param {Function} [customizer] The function to customize comparing values.\n\t * @param {boolean} [isLoose] Specify performing partial comparisons.\n\t * @param {Array} [stackA] Tracks traversed `value` objects.\n\t * @param {Array} [stackB] Tracks traversed `other` objects.\n\t * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n\t */\n\t function equalObjects(object, other, equalFunc, customizer, isLoose, stackA, stackB) {\n\t var objProps = keys(object),\n\t objLength = objProps.length,\n\t othProps = keys(other),\n\t othLength = othProps.length;\n\t\n\t if (objLength != othLength && !isLoose) {\n\t return false;\n\t }\n\t var index = objLength;\n\t while (index--) {\n\t var key = objProps[index];\n\t if (!(isLoose ? key in other : hasOwnProperty.call(other, key))) {\n\t return false;\n\t }\n\t }\n\t var skipCtor = isLoose;\n\t while (++index < objLength) {\n\t key = objProps[index];\n\t var objValue = object[key],\n\t othValue = other[key],\n\t result = customizer ? customizer(isLoose ? othValue : objValue, isLoose? objValue : othValue, key) : undefined;\n\t\n\t // Recursively compare objects (susceptible to call stack limits).\n\t if (!(result === undefined ? equalFunc(objValue, othValue, customizer, isLoose, stackA, stackB) : result)) {\n\t return false;\n\t }\n\t skipCtor || (skipCtor = key == 'constructor');\n\t }\n\t if (!skipCtor) {\n\t var objCtor = object.constructor,\n\t othCtor = other.constructor;\n\t\n\t // Non `Object` object instances with different constructors are not equal.\n\t if (objCtor != othCtor &&\n\t ('constructor' in object && 'constructor' in other) &&\n\t !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n\t typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\t\n\t /**\n\t * Gets the appropriate \"callback\" function. If the `_.callback` method is\n\t * customized this function returns the custom method, otherwise it returns\n\t * the `baseCallback` function. If arguments are provided the chosen function\n\t * is invoked with them and its result is returned.\n\t *\n\t * @private\n\t * @returns {Function} Returns the chosen function or its result.\n\t */\n\t function getCallback(func, thisArg, argCount) {\n\t var result = lodash.callback || callback;\n\t result = result === callback ? baseCallback : result;\n\t return argCount ? result(func, thisArg, argCount) : result;\n\t }\n\t\n\t /**\n\t * Gets metadata for `func`.\n\t *\n\t * @private\n\t * @param {Function} func The function to query.\n\t * @returns {*} Returns the metadata for `func`.\n\t */\n\t var getData = !metaMap ? noop : function(func) {\n\t return metaMap.get(func);\n\t };\n\t\n\t /**\n\t * Gets the name of `func`.\n\t *\n\t * @private\n\t * @param {Function} func The function to query.\n\t * @returns {string} Returns the function name.\n\t */\n\t function getFuncName(func) {\n\t var result = func.name,\n\t array = realNames[result],\n\t length = array ? array.length : 0;\n\t\n\t while (length--) {\n\t var data = array[length],\n\t otherFunc = data.func;\n\t if (otherFunc == null || otherFunc == func) {\n\t return data.name;\n\t }\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * Gets the appropriate \"indexOf\" function. If the `_.indexOf` method is\n\t * customized this function returns the custom method, otherwise it returns\n\t * the `baseIndexOf` function. If arguments are provided the chosen function\n\t * is invoked with them and its result is returned.\n\t *\n\t * @private\n\t * @returns {Function|number} Returns the chosen function or its result.\n\t */\n\t function getIndexOf(collection, target, fromIndex) {\n\t var result = lodash.indexOf || indexOf;\n\t result = result === indexOf ? baseIndexOf : result;\n\t return collection ? result(collection, target, fromIndex) : result;\n\t }\n\t\n\t /**\n\t * Gets the \"length\" property value of `object`.\n\t *\n\t * **Note:** This function is used to avoid a [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792)\n\t * that affects Safari on at least iOS 8.1-8.3 ARM64.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @returns {*} Returns the \"length\" value.\n\t */\n\t var getLength = baseProperty('length');\n\t\n\t /**\n\t * Gets the propery names, values, and compare flags of `object`.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @returns {Array} Returns the match data of `object`.\n\t */\n\t function getMatchData(object) {\n\t var result = pairs(object),\n\t length = result.length;\n\t\n\t while (length--) {\n\t result[length][2] = isStrictComparable(result[length][1]);\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * Gets the native function at `key` of `object`.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {string} key The key of the method to get.\n\t * @returns {*} Returns the function if it's native, else `undefined`.\n\t */\n\t function getNative(object, key) {\n\t var value = object == null ? undefined : object[key];\n\t return isNative(value) ? value : undefined;\n\t }\n\t\n\t /**\n\t * Gets the view, applying any `transforms` to the `start` and `end` positions.\n\t *\n\t * @private\n\t * @param {number} start The start of the view.\n\t * @param {number} end The end of the view.\n\t * @param {Array} transforms The transformations to apply to the view.\n\t * @returns {Object} Returns an object containing the `start` and `end`\n\t * positions of the view.\n\t */\n\t function getView(start, end, transforms) {\n\t var index = -1,\n\t length = transforms.length;\n\t\n\t while (++index < length) {\n\t var data = transforms[index],\n\t size = data.size;\n\t\n\t switch (data.type) {\n\t case 'drop': start += size; break;\n\t case 'dropRight': end -= size; break;\n\t case 'take': end = nativeMin(end, start + size); break;\n\t case 'takeRight': start = nativeMax(start, end - size); break;\n\t }\n\t }\n\t return { 'start': start, 'end': end };\n\t }\n\t\n\t /**\n\t * Initializes an array clone.\n\t *\n\t * @private\n\t * @param {Array} array The array to clone.\n\t * @returns {Array} Returns the initialized clone.\n\t */\n\t function initCloneArray(array) {\n\t var length = array.length,\n\t result = new array.constructor(length);\n\t\n\t // Add array properties assigned by `RegExp#exec`.\n\t if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n\t result.index = array.index;\n\t result.input = array.input;\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * Initializes an object clone.\n\t *\n\t * @private\n\t * @param {Object} object The object to clone.\n\t * @returns {Object} Returns the initialized clone.\n\t */\n\t function initCloneObject(object) {\n\t var Ctor = object.constructor;\n\t if (!(typeof Ctor == 'function' && Ctor instanceof Ctor)) {\n\t Ctor = Object;\n\t }\n\t return new Ctor;\n\t }\n\t\n\t /**\n\t * Initializes an object clone based on its `toStringTag`.\n\t *\n\t * **Note:** This function only supports cloning values with tags of\n\t * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n\t *\n\t * @private\n\t * @param {Object} object The object to clone.\n\t * @param {string} tag The `toStringTag` of the object to clone.\n\t * @param {boolean} [isDeep] Specify a deep clone.\n\t * @returns {Object} Returns the initialized clone.\n\t */\n\t function initCloneByTag(object, tag, isDeep) {\n\t var Ctor = object.constructor;\n\t switch (tag) {\n\t case arrayBufferTag:\n\t return bufferClone(object);\n\t\n\t case boolTag:\n\t case dateTag:\n\t return new Ctor(+object);\n\t\n\t case float32Tag: case float64Tag:\n\t case int8Tag: case int16Tag: case int32Tag:\n\t case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n\t var buffer = object.buffer;\n\t return new Ctor(isDeep ? bufferClone(buffer) : buffer, object.byteOffset, object.length);\n\t\n\t case numberTag:\n\t case stringTag:\n\t return new Ctor(object);\n\t\n\t case regexpTag:\n\t var result = new Ctor(object.source, reFlags.exec(object));\n\t result.lastIndex = object.lastIndex;\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * Invokes the method at `path` on `object`.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {Array|string} path The path of the method to invoke.\n\t * @param {Array} args The arguments to invoke the method with.\n\t * @returns {*} Returns the result of the invoked method.\n\t */\n\t function invokePath(object, path, args) {\n\t if (object != null && !isKey(path, object)) {\n\t path = toPath(path);\n\t object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\n\t path = last(path);\n\t }\n\t var func = object == null ? object : object[path];\n\t return func == null ? undefined : func.apply(object, args);\n\t }\n\t\n\t /**\n\t * Checks if `value` is array-like.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n\t */\n\t function isArrayLike(value) {\n\t return value != null && isLength(getLength(value));\n\t }\n\t\n\t /**\n\t * Checks if `value` is a valid array-like index.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n\t * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n\t */\n\t function isIndex(value, length) {\n\t value = (typeof value == 'number' || reIsUint.test(value)) ? +value : -1;\n\t length = length == null ? MAX_SAFE_INTEGER : length;\n\t return value > -1 && value % 1 == 0 && value < length;\n\t }\n\t\n\t /**\n\t * Checks if the provided arguments are from an iteratee call.\n\t *\n\t * @private\n\t * @param {*} value The potential iteratee value argument.\n\t * @param {*} index The potential iteratee index or key argument.\n\t * @param {*} object The potential iteratee object argument.\n\t * @returns {boolean} Returns `true` if the arguments are from an iteratee call, else `false`.\n\t */\n\t function isIterateeCall(value, index, object) {\n\t if (!isObject(object)) {\n\t return false;\n\t }\n\t var type = typeof index;\n\t if (type == 'number'\n\t ? (isArrayLike(object) && isIndex(index, object.length))\n\t : (type == 'string' && index in object)) {\n\t var other = object[index];\n\t return value === value ? (value === other) : (other !== other);\n\t }\n\t return false;\n\t }\n\t\n\t /**\n\t * Checks if `value` is a property name and not a property path.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @param {Object} [object] The object to query keys on.\n\t * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n\t */\n\t function isKey(value, object) {\n\t var type = typeof value;\n\t if ((type == 'string' && reIsPlainProp.test(value)) || type == 'number') {\n\t return true;\n\t }\n\t if (isArray(value)) {\n\t return false;\n\t }\n\t var result = !reIsDeepProp.test(value);\n\t return result || (object != null && value in toObject(object));\n\t }\n\t\n\t /**\n\t * Checks if `func` has a lazy counterpart.\n\t *\n\t * @private\n\t * @param {Function} func The function to check.\n\t * @returns {boolean} Returns `true` if `func` has a lazy counterpart, else `false`.\n\t */\n\t function isLaziable(func) {\n\t var funcName = getFuncName(func);\n\t if (!(funcName in LazyWrapper.prototype)) {\n\t return false;\n\t }\n\t var other = lodash[funcName];\n\t if (func === other) {\n\t return true;\n\t }\n\t var data = getData(other);\n\t return !!data && func === data[0];\n\t }\n\t\n\t /**\n\t * Checks if `value` is a valid array-like length.\n\t *\n\t * **Note:** This function is based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n\t */\n\t function isLength(value) {\n\t return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n\t }\n\t\n\t /**\n\t * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` if suitable for strict\n\t * equality comparisons, else `false`.\n\t */\n\t function isStrictComparable(value) {\n\t return value === value && !isObject(value);\n\t }\n\t\n\t /**\n\t * Merges the function metadata of `source` into `data`.\n\t *\n\t * Merging metadata reduces the number of wrappers required to invoke a function.\n\t * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n\t * may be applied regardless of execution order. Methods like `_.ary` and `_.rearg`\n\t * augment function arguments, making the order in which they are executed important,\n\t * preventing the merging of metadata. However, we make an exception for a safe\n\t * common case where curried functions have `_.ary` and or `_.rearg` applied.\n\t *\n\t * @private\n\t * @param {Array} data The destination metadata.\n\t * @param {Array} source The source metadata.\n\t * @returns {Array} Returns `data`.\n\t */\n\t function mergeData(data, source) {\n\t var bitmask = data[1],\n\t srcBitmask = source[1],\n\t newBitmask = bitmask | srcBitmask,\n\t isCommon = newBitmask < ARY_FLAG;\n\t\n\t var isCombo =\n\t (srcBitmask == ARY_FLAG && bitmask == CURRY_FLAG) ||\n\t (srcBitmask == ARY_FLAG && bitmask == REARG_FLAG && data[7].length <= source[8]) ||\n\t (srcBitmask == (ARY_FLAG | REARG_FLAG) && bitmask == CURRY_FLAG);\n\t\n\t // Exit early if metadata can't be merged.\n\t if (!(isCommon || isCombo)) {\n\t return data;\n\t }\n\t // Use source `thisArg` if available.\n\t if (srcBitmask & BIND_FLAG) {\n\t data[2] = source[2];\n\t // Set when currying a bound function.\n\t newBitmask |= (bitmask & BIND_FLAG) ? 0 : CURRY_BOUND_FLAG;\n\t }\n\t // Compose partial arguments.\n\t var value = source[3];\n\t if (value) {\n\t var partials = data[3];\n\t data[3] = partials ? composeArgs(partials, value, source[4]) : arrayCopy(value);\n\t data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : arrayCopy(source[4]);\n\t }\n\t // Compose partial right arguments.\n\t value = source[5];\n\t if (value) {\n\t partials = data[5];\n\t data[5] = partials ? composeArgsRight(partials, value, source[6]) : arrayCopy(value);\n\t data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : arrayCopy(source[6]);\n\t }\n\t // Use source `argPos` if available.\n\t value = source[7];\n\t if (value) {\n\t data[7] = arrayCopy(value);\n\t }\n\t // Use source `ary` if it's smaller.\n\t if (srcBitmask & ARY_FLAG) {\n\t data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n\t }\n\t // Use source `arity` if one is not provided.\n\t if (data[9] == null) {\n\t data[9] = source[9];\n\t }\n\t // Use source `func` and merge bitmasks.\n\t data[0] = source[0];\n\t data[1] = newBitmask;\n\t\n\t return data;\n\t }\n\t\n\t /**\n\t * Used by `_.defaultsDeep` to customize its `_.merge` use.\n\t *\n\t * @private\n\t * @param {*} objectValue The destination object property value.\n\t * @param {*} sourceValue The source object property value.\n\t * @returns {*} Returns the value to assign to the destination object.\n\t */\n\t function mergeDefaults(objectValue, sourceValue) {\n\t return objectValue === undefined ? sourceValue : merge(objectValue, sourceValue, mergeDefaults);\n\t }\n\t\n\t /**\n\t * A specialized version of `_.pick` which picks `object` properties specified\n\t * by `props`.\n\t *\n\t * @private\n\t * @param {Object} object The source object.\n\t * @param {string[]} props The property names to pick.\n\t * @returns {Object} Returns the new object.\n\t */\n\t function pickByArray(object, props) {\n\t object = toObject(object);\n\t\n\t var index = -1,\n\t length = props.length,\n\t result = {};\n\t\n\t while (++index < length) {\n\t var key = props[index];\n\t if (key in object) {\n\t result[key] = object[key];\n\t }\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * A specialized version of `_.pick` which picks `object` properties `predicate`\n\t * returns truthy for.\n\t *\n\t * @private\n\t * @param {Object} object The source object.\n\t * @param {Function} predicate The function invoked per iteration.\n\t * @returns {Object} Returns the new object.\n\t */\n\t function pickByCallback(object, predicate) {\n\t var result = {};\n\t baseForIn(object, function(value, key, object) {\n\t if (predicate(value, key, object)) {\n\t result[key] = value;\n\t }\n\t });\n\t return result;\n\t }\n\t\n\t /**\n\t * Reorder `array` according to the specified indexes where the element at\n\t * the first index is assigned as the first element, the element at\n\t * the second index is assigned as the second element, and so on.\n\t *\n\t * @private\n\t * @param {Array} array The array to reorder.\n\t * @param {Array} indexes The arranged array indexes.\n\t * @returns {Array} Returns `array`.\n\t */\n\t function reorder(array, indexes) {\n\t var arrLength = array.length,\n\t length = nativeMin(indexes.length, arrLength),\n\t oldArray = arrayCopy(array);\n\t\n\t while (length--) {\n\t var index = indexes[length];\n\t array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n\t }\n\t return array;\n\t }\n\t\n\t /**\n\t * Sets metadata for `func`.\n\t *\n\t * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n\t * period of time, it will trip its breaker and transition to an identity function\n\t * to avoid garbage collection pauses in V8. See [V8 issue 2070](https://code.google.com/p/v8/issues/detail?id=2070)\n\t * for more details.\n\t *\n\t * @private\n\t * @param {Function} func The function to associate metadata with.\n\t * @param {*} data The metadata.\n\t * @returns {Function} Returns `func`.\n\t */\n\t var setData = (function() {\n\t var count = 0,\n\t lastCalled = 0;\n\t\n\t return function(key, value) {\n\t var stamp = now(),\n\t remaining = HOT_SPAN - (stamp - lastCalled);\n\t\n\t lastCalled = stamp;\n\t if (remaining > 0) {\n\t if (++count >= HOT_COUNT) {\n\t return key;\n\t }\n\t } else {\n\t count = 0;\n\t }\n\t return baseSetData(key, value);\n\t };\n\t }());\n\t\n\t /**\n\t * A fallback implementation of `Object.keys` which creates an array of the\n\t * own enumerable property names of `object`.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @returns {Array} Returns the array of property names.\n\t */\n\t function shimKeys(object) {\n\t var props = keysIn(object),\n\t propsLength = props.length,\n\t length = propsLength && object.length;\n\t\n\t var allowIndexes = !!length && isLength(length) &&\n\t (isArray(object) || isArguments(object));\n\t\n\t var index = -1,\n\t result = [];\n\t\n\t while (++index < propsLength) {\n\t var key = props[index];\n\t if ((allowIndexes && isIndex(key, length)) || hasOwnProperty.call(object, key)) {\n\t result.push(key);\n\t }\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * Converts `value` to an array-like object if it's not one.\n\t *\n\t * @private\n\t * @param {*} value The value to process.\n\t * @returns {Array|Object} Returns the array-like object.\n\t */\n\t function toIterable(value) {\n\t if (value == null) {\n\t return [];\n\t }\n\t if (!isArrayLike(value)) {\n\t return values(value);\n\t }\n\t return isObject(value) ? value : Object(value);\n\t }\n\t\n\t /**\n\t * Converts `value` to an object if it's not one.\n\t *\n\t * @private\n\t * @param {*} value The value to process.\n\t * @returns {Object} Returns the object.\n\t */\n\t function toObject(value) {\n\t return isObject(value) ? value : Object(value);\n\t }\n\t\n\t /**\n\t * Converts `value` to property path array if it's not one.\n\t *\n\t * @private\n\t * @param {*} value The value to process.\n\t * @returns {Array} Returns the property path array.\n\t */\n\t function toPath(value) {\n\t if (isArray(value)) {\n\t return value;\n\t }\n\t var result = [];\n\t baseToString(value).replace(rePropName, function(match, number, quote, string) {\n\t result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));\n\t });\n\t return result;\n\t }\n\t\n\t /**\n\t * Creates a clone of `wrapper`.\n\t *\n\t * @private\n\t * @param {Object} wrapper The wrapper to clone.\n\t * @returns {Object} Returns the cloned wrapper.\n\t */\n\t function wrapperClone(wrapper) {\n\t return wrapper instanceof LazyWrapper\n\t ? wrapper.clone()\n\t : new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__, arrayCopy(wrapper.__actions__));\n\t }\n\t\n\t /*------------------------------------------------------------------------*/\n\t\n\t /**\n\t * Creates an array of elements split into groups the length of `size`.\n\t * If `collection` can't be split evenly, the final chunk will be the remaining\n\t * elements.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to process.\n\t * @param {number} [size=1] The length of each chunk.\n\t * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t * @returns {Array} Returns the new array containing chunks.\n\t * @example\n\t *\n\t * _.chunk(['a', 'b', 'c', 'd'], 2);\n\t * // => [['a', 'b'], ['c', 'd']]\n\t *\n\t * _.chunk(['a', 'b', 'c', 'd'], 3);\n\t * // => [['a', 'b', 'c'], ['d']]\n\t */\n\t function chunk(array, size, guard) {\n\t if (guard ? isIterateeCall(array, size, guard) : size == null) {\n\t size = 1;\n\t } else {\n\t size = nativeMax(nativeFloor(size) || 1, 1);\n\t }\n\t var index = 0,\n\t length = array ? array.length : 0,\n\t resIndex = -1,\n\t result = Array(nativeCeil(length / size));\n\t\n\t while (index < length) {\n\t result[++resIndex] = baseSlice(array, index, (index += size));\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * Creates an array with all falsey values removed. The values `false`, `null`,\n\t * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to compact.\n\t * @returns {Array} Returns the new array of filtered values.\n\t * @example\n\t *\n\t * _.compact([0, 1, false, 2, '', 3]);\n\t * // => [1, 2, 3]\n\t */\n\t function compact(array) {\n\t var index = -1,\n\t length = array ? array.length : 0,\n\t resIndex = -1,\n\t result = [];\n\t\n\t while (++index < length) {\n\t var value = array[index];\n\t if (value) {\n\t result[++resIndex] = value;\n\t }\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * Creates an array of unique `array` values not included in the other\n\t * provided arrays using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n\t * for equality comparisons.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to inspect.\n\t * @param {...Array} [values] The arrays of values to exclude.\n\t * @returns {Array} Returns the new array of filtered values.\n\t * @example\n\t *\n\t * _.difference([1, 2, 3], [4, 2]);\n\t * // => [1, 3]\n\t */\n\t var difference = restParam(function(array, values) {\n\t return (isObjectLike(array) && isArrayLike(array))\n\t ? baseDifference(array, baseFlatten(values, false, true))\n\t : [];\n\t });\n\t\n\t /**\n\t * Creates a slice of `array` with `n` elements dropped from the beginning.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to query.\n\t * @param {number} [n=1] The number of elements to drop.\n\t * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t * @returns {Array} Returns the slice of `array`.\n\t * @example\n\t *\n\t * _.drop([1, 2, 3]);\n\t * // => [2, 3]\n\t *\n\t * _.drop([1, 2, 3], 2);\n\t * // => [3]\n\t *\n\t * _.drop([1, 2, 3], 5);\n\t * // => []\n\t *\n\t * _.drop([1, 2, 3], 0);\n\t * // => [1, 2, 3]\n\t */\n\t function drop(array, n, guard) {\n\t var length = array ? array.length : 0;\n\t if (!length) {\n\t return [];\n\t }\n\t if (guard ? isIterateeCall(array, n, guard) : n == null) {\n\t n = 1;\n\t }\n\t return baseSlice(array, n < 0 ? 0 : n);\n\t }\n\t\n\t /**\n\t * Creates a slice of `array` with `n` elements dropped from the end.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to query.\n\t * @param {number} [n=1] The number of elements to drop.\n\t * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t * @returns {Array} Returns the slice of `array`.\n\t * @example\n\t *\n\t * _.dropRight([1, 2, 3]);\n\t * // => [1, 2]\n\t *\n\t * _.dropRight([1, 2, 3], 2);\n\t * // => [1]\n\t *\n\t * _.dropRight([1, 2, 3], 5);\n\t * // => []\n\t *\n\t * _.dropRight([1, 2, 3], 0);\n\t * // => [1, 2, 3]\n\t */\n\t function dropRight(array, n, guard) {\n\t var length = array ? array.length : 0;\n\t if (!length) {\n\t return [];\n\t }\n\t if (guard ? isIterateeCall(array, n, guard) : n == null) {\n\t n = 1;\n\t }\n\t n = length - (+n || 0);\n\t return baseSlice(array, 0, n < 0 ? 0 : n);\n\t }\n\t\n\t /**\n\t * Creates a slice of `array` excluding elements dropped from the end.\n\t * Elements are dropped until `predicate` returns falsey. The predicate is\n\t * bound to `thisArg` and invoked with three arguments: (value, index, array).\n\t *\n\t * If a property name is provided for `predicate` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `predicate` the created `_.matches` style\n\t * callback returns `true` for elements that match the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to query.\n\t * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `predicate`.\n\t * @returns {Array} Returns the slice of `array`.\n\t * @example\n\t *\n\t * _.dropRightWhile([1, 2, 3], function(n) {\n\t * return n > 1;\n\t * });\n\t * // => [1]\n\t *\n\t * var users = [\n\t * { 'user': 'barney', 'active': true },\n\t * { 'user': 'fred', 'active': false },\n\t * { 'user': 'pebbles', 'active': false }\n\t * ];\n\t *\n\t * // using the `_.matches` callback shorthand\n\t * _.pluck(_.dropRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user');\n\t * // => ['barney', 'fred']\n\t *\n\t * // using the `_.matchesProperty` callback shorthand\n\t * _.pluck(_.dropRightWhile(users, 'active', false), 'user');\n\t * // => ['barney']\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.pluck(_.dropRightWhile(users, 'active'), 'user');\n\t * // => ['barney', 'fred', 'pebbles']\n\t */\n\t function dropRightWhile(array, predicate, thisArg) {\n\t return (array && array.length)\n\t ? baseWhile(array, getCallback(predicate, thisArg, 3), true, true)\n\t : [];\n\t }\n\t\n\t /**\n\t * Creates a slice of `array` excluding elements dropped from the beginning.\n\t * Elements are dropped until `predicate` returns falsey. The predicate is\n\t * bound to `thisArg` and invoked with three arguments: (value, index, array).\n\t *\n\t * If a property name is provided for `predicate` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `predicate` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to query.\n\t * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `predicate`.\n\t * @returns {Array} Returns the slice of `array`.\n\t * @example\n\t *\n\t * _.dropWhile([1, 2, 3], function(n) {\n\t * return n < 3;\n\t * });\n\t * // => [3]\n\t *\n\t * var users = [\n\t * { 'user': 'barney', 'active': false },\n\t * { 'user': 'fred', 'active': false },\n\t * { 'user': 'pebbles', 'active': true }\n\t * ];\n\t *\n\t * // using the `_.matches` callback shorthand\n\t * _.pluck(_.dropWhile(users, { 'user': 'barney', 'active': false }), 'user');\n\t * // => ['fred', 'pebbles']\n\t *\n\t * // using the `_.matchesProperty` callback shorthand\n\t * _.pluck(_.dropWhile(users, 'active', false), 'user');\n\t * // => ['pebbles']\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.pluck(_.dropWhile(users, 'active'), 'user');\n\t * // => ['barney', 'fred', 'pebbles']\n\t */\n\t function dropWhile(array, predicate, thisArg) {\n\t return (array && array.length)\n\t ? baseWhile(array, getCallback(predicate, thisArg, 3), true)\n\t : [];\n\t }\n\t\n\t /**\n\t * Fills elements of `array` with `value` from `start` up to, but not\n\t * including, `end`.\n\t *\n\t * **Note:** This method mutates `array`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to fill.\n\t * @param {*} value The value to fill `array` with.\n\t * @param {number} [start=0] The start position.\n\t * @param {number} [end=array.length] The end position.\n\t * @returns {Array} Returns `array`.\n\t * @example\n\t *\n\t * var array = [1, 2, 3];\n\t *\n\t * _.fill(array, 'a');\n\t * console.log(array);\n\t * // => ['a', 'a', 'a']\n\t *\n\t * _.fill(Array(3), 2);\n\t * // => [2, 2, 2]\n\t *\n\t * _.fill([4, 6, 8], '*', 1, 2);\n\t * // => [4, '*', 8]\n\t */\n\t function fill(array, value, start, end) {\n\t var length = array ? array.length : 0;\n\t if (!length) {\n\t return [];\n\t }\n\t if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n\t start = 0;\n\t end = length;\n\t }\n\t return baseFill(array, value, start, end);\n\t }\n\t\n\t /**\n\t * This method is like `_.find` except that it returns the index of the first\n\t * element `predicate` returns truthy for instead of the element itself.\n\t *\n\t * If a property name is provided for `predicate` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `predicate` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to search.\n\t * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `predicate`.\n\t * @returns {number} Returns the index of the found element, else `-1`.\n\t * @example\n\t *\n\t * var users = [\n\t * { 'user': 'barney', 'active': false },\n\t * { 'user': 'fred', 'active': false },\n\t * { 'user': 'pebbles', 'active': true }\n\t * ];\n\t *\n\t * _.findIndex(users, function(chr) {\n\t * return chr.user == 'barney';\n\t * });\n\t * // => 0\n\t *\n\t * // using the `_.matches` callback shorthand\n\t * _.findIndex(users, { 'user': 'fred', 'active': false });\n\t * // => 1\n\t *\n\t * // using the `_.matchesProperty` callback shorthand\n\t * _.findIndex(users, 'active', false);\n\t * // => 0\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.findIndex(users, 'active');\n\t * // => 2\n\t */\n\t var findIndex = createFindIndex();\n\t\n\t /**\n\t * This method is like `_.findIndex` except that it iterates over elements\n\t * of `collection` from right to left.\n\t *\n\t * If a property name is provided for `predicate` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `predicate` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to search.\n\t * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `predicate`.\n\t * @returns {number} Returns the index of the found element, else `-1`.\n\t * @example\n\t *\n\t * var users = [\n\t * { 'user': 'barney', 'active': true },\n\t * { 'user': 'fred', 'active': false },\n\t * { 'user': 'pebbles', 'active': false }\n\t * ];\n\t *\n\t * _.findLastIndex(users, function(chr) {\n\t * return chr.user == 'pebbles';\n\t * });\n\t * // => 2\n\t *\n\t * // using the `_.matches` callback shorthand\n\t * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n\t * // => 0\n\t *\n\t * // using the `_.matchesProperty` callback shorthand\n\t * _.findLastIndex(users, 'active', false);\n\t * // => 2\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.findLastIndex(users, 'active');\n\t * // => 0\n\t */\n\t var findLastIndex = createFindIndex(true);\n\t\n\t /**\n\t * Gets the first element of `array`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @alias head\n\t * @category Array\n\t * @param {Array} array The array to query.\n\t * @returns {*} Returns the first element of `array`.\n\t * @example\n\t *\n\t * _.first([1, 2, 3]);\n\t * // => 1\n\t *\n\t * _.first([]);\n\t * // => undefined\n\t */\n\t function first(array) {\n\t return array ? array[0] : undefined;\n\t }\n\t\n\t /**\n\t * Flattens a nested array. If `isDeep` is `true` the array is recursively\n\t * flattened, otherwise it is only flattened a single level.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to flatten.\n\t * @param {boolean} [isDeep] Specify a deep flatten.\n\t * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t * @returns {Array} Returns the new flattened array.\n\t * @example\n\t *\n\t * _.flatten([1, [2, 3, [4]]]);\n\t * // => [1, 2, 3, [4]]\n\t *\n\t * // using `isDeep`\n\t * _.flatten([1, [2, 3, [4]]], true);\n\t * // => [1, 2, 3, 4]\n\t */\n\t function flatten(array, isDeep, guard) {\n\t var length = array ? array.length : 0;\n\t if (guard && isIterateeCall(array, isDeep, guard)) {\n\t isDeep = false;\n\t }\n\t return length ? baseFlatten(array, isDeep) : [];\n\t }\n\t\n\t /**\n\t * Recursively flattens a nested array.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to recursively flatten.\n\t * @returns {Array} Returns the new flattened array.\n\t * @example\n\t *\n\t * _.flattenDeep([1, [2, 3, [4]]]);\n\t * // => [1, 2, 3, 4]\n\t */\n\t function flattenDeep(array) {\n\t var length = array ? array.length : 0;\n\t return length ? baseFlatten(array, true) : [];\n\t }\n\t\n\t /**\n\t * Gets the index at which the first occurrence of `value` is found in `array`\n\t * using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n\t * for equality comparisons. If `fromIndex` is negative, it is used as the offset\n\t * from the end of `array`. If `array` is sorted providing `true` for `fromIndex`\n\t * performs a faster binary search.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to search.\n\t * @param {*} value The value to search for.\n\t * @param {boolean|number} [fromIndex=0] The index to search from or `true`\n\t * to perform a binary search on a sorted array.\n\t * @returns {number} Returns the index of the matched value, else `-1`.\n\t * @example\n\t *\n\t * _.indexOf([1, 2, 1, 2], 2);\n\t * // => 1\n\t *\n\t * // using `fromIndex`\n\t * _.indexOf([1, 2, 1, 2], 2, 2);\n\t * // => 3\n\t *\n\t * // performing a binary search\n\t * _.indexOf([1, 1, 2, 2], 2, true);\n\t * // => 2\n\t */\n\t function indexOf(array, value, fromIndex) {\n\t var length = array ? array.length : 0;\n\t if (!length) {\n\t return -1;\n\t }\n\t if (typeof fromIndex == 'number') {\n\t fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : fromIndex;\n\t } else if (fromIndex) {\n\t var index = binaryIndex(array, value);\n\t if (index < length &&\n\t (value === value ? (value === array[index]) : (array[index] !== array[index]))) {\n\t return index;\n\t }\n\t return -1;\n\t }\n\t return baseIndexOf(array, value, fromIndex || 0);\n\t }\n\t\n\t /**\n\t * Gets all but the last element of `array`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to query.\n\t * @returns {Array} Returns the slice of `array`.\n\t * @example\n\t *\n\t * _.initial([1, 2, 3]);\n\t * // => [1, 2]\n\t */\n\t function initial(array) {\n\t return dropRight(array, 1);\n\t }\n\t\n\t /**\n\t * Creates an array of unique values that are included in all of the provided\n\t * arrays using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n\t * for equality comparisons.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {...Array} [arrays] The arrays to inspect.\n\t * @returns {Array} Returns the new array of shared values.\n\t * @example\n\t * _.intersection([1, 2], [4, 2], [2, 1]);\n\t * // => [2]\n\t */\n\t var intersection = restParam(function(arrays) {\n\t var othLength = arrays.length,\n\t othIndex = othLength,\n\t caches = Array(length),\n\t indexOf = getIndexOf(),\n\t isCommon = indexOf == baseIndexOf,\n\t result = [];\n\t\n\t while (othIndex--) {\n\t var value = arrays[othIndex] = isArrayLike(value = arrays[othIndex]) ? value : [];\n\t caches[othIndex] = (isCommon && value.length >= 120) ? createCache(othIndex && value) : null;\n\t }\n\t var array = arrays[0],\n\t index = -1,\n\t length = array ? array.length : 0,\n\t seen = caches[0];\n\t\n\t outer:\n\t while (++index < length) {\n\t value = array[index];\n\t if ((seen ? cacheIndexOf(seen, value) : indexOf(result, value, 0)) < 0) {\n\t var othIndex = othLength;\n\t while (--othIndex) {\n\t var cache = caches[othIndex];\n\t if ((cache ? cacheIndexOf(cache, value) : indexOf(arrays[othIndex], value, 0)) < 0) {\n\t continue outer;\n\t }\n\t }\n\t if (seen) {\n\t seen.push(value);\n\t }\n\t result.push(value);\n\t }\n\t }\n\t return result;\n\t });\n\t\n\t /**\n\t * Gets the last element of `array`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to query.\n\t * @returns {*} Returns the last element of `array`.\n\t * @example\n\t *\n\t * _.last([1, 2, 3]);\n\t * // => 3\n\t */\n\t function last(array) {\n\t var length = array ? array.length : 0;\n\t return length ? array[length - 1] : undefined;\n\t }\n\t\n\t /**\n\t * This method is like `_.indexOf` except that it iterates over elements of\n\t * `array` from right to left.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to search.\n\t * @param {*} value The value to search for.\n\t * @param {boolean|number} [fromIndex=array.length-1] The index to search from\n\t * or `true` to perform a binary search on a sorted array.\n\t * @returns {number} Returns the index of the matched value, else `-1`.\n\t * @example\n\t *\n\t * _.lastIndexOf([1, 2, 1, 2], 2);\n\t * // => 3\n\t *\n\t * // using `fromIndex`\n\t * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n\t * // => 1\n\t *\n\t * // performing a binary search\n\t * _.lastIndexOf([1, 1, 2, 2], 2, true);\n\t * // => 3\n\t */\n\t function lastIndexOf(array, value, fromIndex) {\n\t var length = array ? array.length : 0;\n\t if (!length) {\n\t return -1;\n\t }\n\t var index = length;\n\t if (typeof fromIndex == 'number') {\n\t index = (fromIndex < 0 ? nativeMax(length + fromIndex, 0) : nativeMin(fromIndex || 0, length - 1)) + 1;\n\t } else if (fromIndex) {\n\t index = binaryIndex(array, value, true) - 1;\n\t var other = array[index];\n\t if (value === value ? (value === other) : (other !== other)) {\n\t return index;\n\t }\n\t return -1;\n\t }\n\t if (value !== value) {\n\t return indexOfNaN(array, index, true);\n\t }\n\t while (index--) {\n\t if (array[index] === value) {\n\t return index;\n\t }\n\t }\n\t return -1;\n\t }\n\t\n\t /**\n\t * Removes all provided values from `array` using\n\t * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n\t * for equality comparisons.\n\t *\n\t * **Note:** Unlike `_.without`, this method mutates `array`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to modify.\n\t * @param {...*} [values] The values to remove.\n\t * @returns {Array} Returns `array`.\n\t * @example\n\t *\n\t * var array = [1, 2, 3, 1, 2, 3];\n\t *\n\t * _.pull(array, 2, 3);\n\t * console.log(array);\n\t * // => [1, 1]\n\t */\n\t function pull() {\n\t var args = arguments,\n\t array = args[0];\n\t\n\t if (!(array && array.length)) {\n\t return array;\n\t }\n\t var index = 0,\n\t indexOf = getIndexOf(),\n\t length = args.length;\n\t\n\t while (++index < length) {\n\t var fromIndex = 0,\n\t value = args[index];\n\t\n\t while ((fromIndex = indexOf(array, value, fromIndex)) > -1) {\n\t splice.call(array, fromIndex, 1);\n\t }\n\t }\n\t return array;\n\t }\n\t\n\t /**\n\t * Removes elements from `array` corresponding to the given indexes and returns\n\t * an array of the removed elements. Indexes may be specified as an array of\n\t * indexes or as individual arguments.\n\t *\n\t * **Note:** Unlike `_.at`, this method mutates `array`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to modify.\n\t * @param {...(number|number[])} [indexes] The indexes of elements to remove,\n\t * specified as individual indexes or arrays of indexes.\n\t * @returns {Array} Returns the new array of removed elements.\n\t * @example\n\t *\n\t * var array = [5, 10, 15, 20];\n\t * var evens = _.pullAt(array, 1, 3);\n\t *\n\t * console.log(array);\n\t * // => [5, 15]\n\t *\n\t * console.log(evens);\n\t * // => [10, 20]\n\t */\n\t var pullAt = restParam(function(array, indexes) {\n\t indexes = baseFlatten(indexes);\n\t\n\t var result = baseAt(array, indexes);\n\t basePullAt(array, indexes.sort(baseCompareAscending));\n\t return result;\n\t });\n\t\n\t /**\n\t * Removes all elements from `array` that `predicate` returns truthy for\n\t * and returns an array of the removed elements. The predicate is bound to\n\t * `thisArg` and invoked with three arguments: (value, index, array).\n\t *\n\t * If a property name is provided for `predicate` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `predicate` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * **Note:** Unlike `_.filter`, this method mutates `array`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to modify.\n\t * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `predicate`.\n\t * @returns {Array} Returns the new array of removed elements.\n\t * @example\n\t *\n\t * var array = [1, 2, 3, 4];\n\t * var evens = _.remove(array, function(n) {\n\t * return n % 2 == 0;\n\t * });\n\t *\n\t * console.log(array);\n\t * // => [1, 3]\n\t *\n\t * console.log(evens);\n\t * // => [2, 4]\n\t */\n\t function remove(array, predicate, thisArg) {\n\t var result = [];\n\t if (!(array && array.length)) {\n\t return result;\n\t }\n\t var index = -1,\n\t indexes = [],\n\t length = array.length;\n\t\n\t predicate = getCallback(predicate, thisArg, 3);\n\t while (++index < length) {\n\t var value = array[index];\n\t if (predicate(value, index, array)) {\n\t result.push(value);\n\t indexes.push(index);\n\t }\n\t }\n\t basePullAt(array, indexes);\n\t return result;\n\t }\n\t\n\t /**\n\t * Gets all but the first element of `array`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @alias tail\n\t * @category Array\n\t * @param {Array} array The array to query.\n\t * @returns {Array} Returns the slice of `array`.\n\t * @example\n\t *\n\t * _.rest([1, 2, 3]);\n\t * // => [2, 3]\n\t */\n\t function rest(array) {\n\t return drop(array, 1);\n\t }\n\t\n\t /**\n\t * Creates a slice of `array` from `start` up to, but not including, `end`.\n\t *\n\t * **Note:** This method is used instead of `Array#slice` to support node\n\t * lists in IE < 9 and to ensure dense arrays are returned.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to slice.\n\t * @param {number} [start=0] The start position.\n\t * @param {number} [end=array.length] The end position.\n\t * @returns {Array} Returns the slice of `array`.\n\t */\n\t function slice(array, start, end) {\n\t var length = array ? array.length : 0;\n\t if (!length) {\n\t return [];\n\t }\n\t if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n\t start = 0;\n\t end = length;\n\t }\n\t return baseSlice(array, start, end);\n\t }\n\t\n\t /**\n\t * Uses a binary search to determine the lowest index at which `value` should\n\t * be inserted into `array` in order to maintain its sort order. If an iteratee\n\t * function is provided it is invoked for `value` and each element of `array`\n\t * to compute their sort ranking. The iteratee is bound to `thisArg` and\n\t * invoked with one argument; (value).\n\t *\n\t * If a property name is provided for `iteratee` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `iteratee` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The sorted array to inspect.\n\t * @param {*} value The value to evaluate.\n\t * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {number} Returns the index at which `value` should be inserted\n\t * into `array`.\n\t * @example\n\t *\n\t * _.sortedIndex([30, 50], 40);\n\t * // => 1\n\t *\n\t * _.sortedIndex([4, 4, 5, 5], 5);\n\t * // => 2\n\t *\n\t * var dict = { 'data': { 'thirty': 30, 'forty': 40, 'fifty': 50 } };\n\t *\n\t * // using an iteratee function\n\t * _.sortedIndex(['thirty', 'fifty'], 'forty', function(word) {\n\t * return this.data[word];\n\t * }, dict);\n\t * // => 1\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.sortedIndex([{ 'x': 30 }, { 'x': 50 }], { 'x': 40 }, 'x');\n\t * // => 1\n\t */\n\t var sortedIndex = createSortedIndex();\n\t\n\t /**\n\t * This method is like `_.sortedIndex` except that it returns the highest\n\t * index at which `value` should be inserted into `array` in order to\n\t * maintain its sort order.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The sorted array to inspect.\n\t * @param {*} value The value to evaluate.\n\t * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {number} Returns the index at which `value` should be inserted\n\t * into `array`.\n\t * @example\n\t *\n\t * _.sortedLastIndex([4, 4, 5, 5], 5);\n\t * // => 4\n\t */\n\t var sortedLastIndex = createSortedIndex(true);\n\t\n\t /**\n\t * Creates a slice of `array` with `n` elements taken from the beginning.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to query.\n\t * @param {number} [n=1] The number of elements to take.\n\t * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t * @returns {Array} Returns the slice of `array`.\n\t * @example\n\t *\n\t * _.take([1, 2, 3]);\n\t * // => [1]\n\t *\n\t * _.take([1, 2, 3], 2);\n\t * // => [1, 2]\n\t *\n\t * _.take([1, 2, 3], 5);\n\t * // => [1, 2, 3]\n\t *\n\t * _.take([1, 2, 3], 0);\n\t * // => []\n\t */\n\t function take(array, n, guard) {\n\t var length = array ? array.length : 0;\n\t if (!length) {\n\t return [];\n\t }\n\t if (guard ? isIterateeCall(array, n, guard) : n == null) {\n\t n = 1;\n\t }\n\t return baseSlice(array, 0, n < 0 ? 0 : n);\n\t }\n\t\n\t /**\n\t * Creates a slice of `array` with `n` elements taken from the end.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to query.\n\t * @param {number} [n=1] The number of elements to take.\n\t * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t * @returns {Array} Returns the slice of `array`.\n\t * @example\n\t *\n\t * _.takeRight([1, 2, 3]);\n\t * // => [3]\n\t *\n\t * _.takeRight([1, 2, 3], 2);\n\t * // => [2, 3]\n\t *\n\t * _.takeRight([1, 2, 3], 5);\n\t * // => [1, 2, 3]\n\t *\n\t * _.takeRight([1, 2, 3], 0);\n\t * // => []\n\t */\n\t function takeRight(array, n, guard) {\n\t var length = array ? array.length : 0;\n\t if (!length) {\n\t return [];\n\t }\n\t if (guard ? isIterateeCall(array, n, guard) : n == null) {\n\t n = 1;\n\t }\n\t n = length - (+n || 0);\n\t return baseSlice(array, n < 0 ? 0 : n);\n\t }\n\t\n\t /**\n\t * Creates a slice of `array` with elements taken from the end. Elements are\n\t * taken until `predicate` returns falsey. The predicate is bound to `thisArg`\n\t * and invoked with three arguments: (value, index, array).\n\t *\n\t * If a property name is provided for `predicate` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `predicate` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to query.\n\t * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `predicate`.\n\t * @returns {Array} Returns the slice of `array`.\n\t * @example\n\t *\n\t * _.takeRightWhile([1, 2, 3], function(n) {\n\t * return n > 1;\n\t * });\n\t * // => [2, 3]\n\t *\n\t * var users = [\n\t * { 'user': 'barney', 'active': true },\n\t * { 'user': 'fred', 'active': false },\n\t * { 'user': 'pebbles', 'active': false }\n\t * ];\n\t *\n\t * // using the `_.matches` callback shorthand\n\t * _.pluck(_.takeRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user');\n\t * // => ['pebbles']\n\t *\n\t * // using the `_.matchesProperty` callback shorthand\n\t * _.pluck(_.takeRightWhile(users, 'active', false), 'user');\n\t * // => ['fred', 'pebbles']\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.pluck(_.takeRightWhile(users, 'active'), 'user');\n\t * // => []\n\t */\n\t function takeRightWhile(array, predicate, thisArg) {\n\t return (array && array.length)\n\t ? baseWhile(array, getCallback(predicate, thisArg, 3), false, true)\n\t : [];\n\t }\n\t\n\t /**\n\t * Creates a slice of `array` with elements taken from the beginning. Elements\n\t * are taken until `predicate` returns falsey. The predicate is bound to\n\t * `thisArg` and invoked with three arguments: (value, index, array).\n\t *\n\t * If a property name is provided for `predicate` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `predicate` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to query.\n\t * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `predicate`.\n\t * @returns {Array} Returns the slice of `array`.\n\t * @example\n\t *\n\t * _.takeWhile([1, 2, 3], function(n) {\n\t * return n < 3;\n\t * });\n\t * // => [1, 2]\n\t *\n\t * var users = [\n\t * { 'user': 'barney', 'active': false },\n\t * { 'user': 'fred', 'active': false},\n\t * { 'user': 'pebbles', 'active': true }\n\t * ];\n\t *\n\t * // using the `_.matches` callback shorthand\n\t * _.pluck(_.takeWhile(users, { 'user': 'barney', 'active': false }), 'user');\n\t * // => ['barney']\n\t *\n\t * // using the `_.matchesProperty` callback shorthand\n\t * _.pluck(_.takeWhile(users, 'active', false), 'user');\n\t * // => ['barney', 'fred']\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.pluck(_.takeWhile(users, 'active'), 'user');\n\t * // => []\n\t */\n\t function takeWhile(array, predicate, thisArg) {\n\t return (array && array.length)\n\t ? baseWhile(array, getCallback(predicate, thisArg, 3))\n\t : [];\n\t }\n\t\n\t /**\n\t * Creates an array of unique values, in order, from all of the provided arrays\n\t * using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n\t * for equality comparisons.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {...Array} [arrays] The arrays to inspect.\n\t * @returns {Array} Returns the new array of combined values.\n\t * @example\n\t *\n\t * _.union([1, 2], [4, 2], [2, 1]);\n\t * // => [1, 2, 4]\n\t */\n\t var union = restParam(function(arrays) {\n\t return baseUniq(baseFlatten(arrays, false, true));\n\t });\n\t\n\t /**\n\t * Creates a duplicate-free version of an array, using\n\t * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n\t * for equality comparisons, in which only the first occurence of each element\n\t * is kept. Providing `true` for `isSorted` performs a faster search algorithm\n\t * for sorted arrays. If an iteratee function is provided it is invoked for\n\t * each element in the array to generate the criterion by which uniqueness\n\t * is computed. The `iteratee` is bound to `thisArg` and invoked with three\n\t * arguments: (value, index, array).\n\t *\n\t * If a property name is provided for `iteratee` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `iteratee` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @alias unique\n\t * @category Array\n\t * @param {Array} array The array to inspect.\n\t * @param {boolean} [isSorted] Specify the array is sorted.\n\t * @param {Function|Object|string} [iteratee] The function invoked per iteration.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {Array} Returns the new duplicate-value-free array.\n\t * @example\n\t *\n\t * _.uniq([2, 1, 2]);\n\t * // => [2, 1]\n\t *\n\t * // using `isSorted`\n\t * _.uniq([1, 1, 2], true);\n\t * // => [1, 2]\n\t *\n\t * // using an iteratee function\n\t * _.uniq([1, 2.5, 1.5, 2], function(n) {\n\t * return this.floor(n);\n\t * }, Math);\n\t * // => [1, 2.5]\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.uniq([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n\t * // => [{ 'x': 1 }, { 'x': 2 }]\n\t */\n\t function uniq(array, isSorted, iteratee, thisArg) {\n\t var length = array ? array.length : 0;\n\t if (!length) {\n\t return [];\n\t }\n\t if (isSorted != null && typeof isSorted != 'boolean') {\n\t thisArg = iteratee;\n\t iteratee = isIterateeCall(array, isSorted, thisArg) ? undefined : isSorted;\n\t isSorted = false;\n\t }\n\t var callback = getCallback();\n\t if (!(iteratee == null && callback === baseCallback)) {\n\t iteratee = callback(iteratee, thisArg, 3);\n\t }\n\t return (isSorted && getIndexOf() == baseIndexOf)\n\t ? sortedUniq(array, iteratee)\n\t : baseUniq(array, iteratee);\n\t }\n\t\n\t /**\n\t * This method is like `_.zip` except that it accepts an array of grouped\n\t * elements and creates an array regrouping the elements to their pre-zip\n\t * configuration.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array of grouped elements to process.\n\t * @returns {Array} Returns the new array of regrouped elements.\n\t * @example\n\t *\n\t * var zipped = _.zip(['fred', 'barney'], [30, 40], [true, false]);\n\t * // => [['fred', 30, true], ['barney', 40, false]]\n\t *\n\t * _.unzip(zipped);\n\t * // => [['fred', 'barney'], [30, 40], [true, false]]\n\t */\n\t function unzip(array) {\n\t if (!(array && array.length)) {\n\t return [];\n\t }\n\t var index = -1,\n\t length = 0;\n\t\n\t array = arrayFilter(array, function(group) {\n\t if (isArrayLike(group)) {\n\t length = nativeMax(group.length, length);\n\t return true;\n\t }\n\t });\n\t var result = Array(length);\n\t while (++index < length) {\n\t result[index] = arrayMap(array, baseProperty(index));\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * This method is like `_.unzip` except that it accepts an iteratee to specify\n\t * how regrouped values should be combined. The `iteratee` is bound to `thisArg`\n\t * and invoked with four arguments: (accumulator, value, index, group).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array of grouped elements to process.\n\t * @param {Function} [iteratee] The function to combine regrouped values.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {Array} Returns the new array of regrouped elements.\n\t * @example\n\t *\n\t * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n\t * // => [[1, 10, 100], [2, 20, 200]]\n\t *\n\t * _.unzipWith(zipped, _.add);\n\t * // => [3, 30, 300]\n\t */\n\t function unzipWith(array, iteratee, thisArg) {\n\t var length = array ? array.length : 0;\n\t if (!length) {\n\t return [];\n\t }\n\t var result = unzip(array);\n\t if (iteratee == null) {\n\t return result;\n\t }\n\t iteratee = bindCallback(iteratee, thisArg, 4);\n\t return arrayMap(result, function(group) {\n\t return arrayReduce(group, iteratee, undefined, true);\n\t });\n\t }\n\t\n\t /**\n\t * Creates an array excluding all provided values using\n\t * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n\t * for equality comparisons.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to filter.\n\t * @param {...*} [values] The values to exclude.\n\t * @returns {Array} Returns the new array of filtered values.\n\t * @example\n\t *\n\t * _.without([1, 2, 1, 3], 1, 2);\n\t * // => [3]\n\t */\n\t var without = restParam(function(array, values) {\n\t return isArrayLike(array)\n\t ? baseDifference(array, values)\n\t : [];\n\t });\n\t\n\t /**\n\t * Creates an array of unique values that is the [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n\t * of the provided arrays.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {...Array} [arrays] The arrays to inspect.\n\t * @returns {Array} Returns the new array of values.\n\t * @example\n\t *\n\t * _.xor([1, 2], [4, 2]);\n\t * // => [1, 4]\n\t */\n\t function xor() {\n\t var index = -1,\n\t length = arguments.length;\n\t\n\t while (++index < length) {\n\t var array = arguments[index];\n\t if (isArrayLike(array)) {\n\t var result = result\n\t ? arrayPush(baseDifference(result, array), baseDifference(array, result))\n\t : array;\n\t }\n\t }\n\t return result ? baseUniq(result) : [];\n\t }\n\t\n\t /**\n\t * Creates an array of grouped elements, the first of which contains the first\n\t * elements of the given arrays, the second of which contains the second elements\n\t * of the given arrays, and so on.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {...Array} [arrays] The arrays to process.\n\t * @returns {Array} Returns the new array of grouped elements.\n\t * @example\n\t *\n\t * _.zip(['fred', 'barney'], [30, 40], [true, false]);\n\t * // => [['fred', 30, true], ['barney', 40, false]]\n\t */\n\t var zip = restParam(unzip);\n\t\n\t /**\n\t * The inverse of `_.pairs`; this method returns an object composed from arrays\n\t * of property names and values. Provide either a single two dimensional array,\n\t * e.g. `[[key1, value1], [key2, value2]]` or two arrays, one of property names\n\t * and one of corresponding values.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @alias object\n\t * @category Array\n\t * @param {Array} props The property names.\n\t * @param {Array} [values=[]] The property values.\n\t * @returns {Object} Returns the new object.\n\t * @example\n\t *\n\t * _.zipObject([['fred', 30], ['barney', 40]]);\n\t * // => { 'fred': 30, 'barney': 40 }\n\t *\n\t * _.zipObject(['fred', 'barney'], [30, 40]);\n\t * // => { 'fred': 30, 'barney': 40 }\n\t */\n\t function zipObject(props, values) {\n\t var index = -1,\n\t length = props ? props.length : 0,\n\t result = {};\n\t\n\t if (length && !values && !isArray(props[0])) {\n\t values = [];\n\t }\n\t while (++index < length) {\n\t var key = props[index];\n\t if (values) {\n\t result[key] = values[index];\n\t } else if (key) {\n\t result[key[0]] = key[1];\n\t }\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * This method is like `_.zip` except that it accepts an iteratee to specify\n\t * how grouped values should be combined. The `iteratee` is bound to `thisArg`\n\t * and invoked with four arguments: (accumulator, value, index, group).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {...Array} [arrays] The arrays to process.\n\t * @param {Function} [iteratee] The function to combine grouped values.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {Array} Returns the new array of grouped elements.\n\t * @example\n\t *\n\t * _.zipWith([1, 2], [10, 20], [100, 200], _.add);\n\t * // => [111, 222]\n\t */\n\t var zipWith = restParam(function(arrays) {\n\t var length = arrays.length,\n\t iteratee = length > 2 ? arrays[length - 2] : undefined,\n\t thisArg = length > 1 ? arrays[length - 1] : undefined;\n\t\n\t if (length > 2 && typeof iteratee == 'function') {\n\t length -= 2;\n\t } else {\n\t iteratee = (length > 1 && typeof thisArg == 'function') ? (--length, thisArg) : undefined;\n\t thisArg = undefined;\n\t }\n\t arrays.length = length;\n\t return unzipWith(arrays, iteratee, thisArg);\n\t });\n\t\n\t /*------------------------------------------------------------------------*/\n\t\n\t /**\n\t * Creates a `lodash` object that wraps `value` with explicit method\n\t * chaining enabled.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Chain\n\t * @param {*} value The value to wrap.\n\t * @returns {Object} Returns the new `lodash` wrapper instance.\n\t * @example\n\t *\n\t * var users = [\n\t * { 'user': 'barney', 'age': 36 },\n\t * { 'user': 'fred', 'age': 40 },\n\t * { 'user': 'pebbles', 'age': 1 }\n\t * ];\n\t *\n\t * var youngest = _.chain(users)\n\t * .sortBy('age')\n\t * .map(function(chr) {\n\t * return chr.user + ' is ' + chr.age;\n\t * })\n\t * .first()\n\t * .value();\n\t * // => 'pebbles is 1'\n\t */\n\t function chain(value) {\n\t var result = lodash(value);\n\t result.__chain__ = true;\n\t return result;\n\t }\n\t\n\t /**\n\t * This method invokes `interceptor` and returns `value`. The interceptor is\n\t * bound to `thisArg` and invoked with one argument; (value). The purpose of\n\t * this method is to \"tap into\" a method chain in order to perform operations\n\t * on intermediate results within the chain.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Chain\n\t * @param {*} value The value to provide to `interceptor`.\n\t * @param {Function} interceptor The function to invoke.\n\t * @param {*} [thisArg] The `this` binding of `interceptor`.\n\t * @returns {*} Returns `value`.\n\t * @example\n\t *\n\t * _([1, 2, 3])\n\t * .tap(function(array) {\n\t * array.pop();\n\t * })\n\t * .reverse()\n\t * .value();\n\t * // => [2, 1]\n\t */\n\t function tap(value, interceptor, thisArg) {\n\t interceptor.call(thisArg, value);\n\t return value;\n\t }\n\t\n\t /**\n\t * This method is like `_.tap` except that it returns the result of `interceptor`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Chain\n\t * @param {*} value The value to provide to `interceptor`.\n\t * @param {Function} interceptor The function to invoke.\n\t * @param {*} [thisArg] The `this` binding of `interceptor`.\n\t * @returns {*} Returns the result of `interceptor`.\n\t * @example\n\t *\n\t * _(' abc ')\n\t * .chain()\n\t * .trim()\n\t * .thru(function(value) {\n\t * return [value];\n\t * })\n\t * .value();\n\t * // => ['abc']\n\t */\n\t function thru(value, interceptor, thisArg) {\n\t return interceptor.call(thisArg, value);\n\t }\n\t\n\t /**\n\t * Enables explicit method chaining on the wrapper object.\n\t *\n\t * @name chain\n\t * @memberOf _\n\t * @category Chain\n\t * @returns {Object} Returns the new `lodash` wrapper instance.\n\t * @example\n\t *\n\t * var users = [\n\t * { 'user': 'barney', 'age': 36 },\n\t * { 'user': 'fred', 'age': 40 }\n\t * ];\n\t *\n\t * // without explicit chaining\n\t * _(users).first();\n\t * // => { 'user': 'barney', 'age': 36 }\n\t *\n\t * // with explicit chaining\n\t * _(users).chain()\n\t * .first()\n\t * .pick('user')\n\t * .value();\n\t * // => { 'user': 'barney' }\n\t */\n\t function wrapperChain() {\n\t return chain(this);\n\t }\n\t\n\t /**\n\t * Executes the chained sequence and returns the wrapped result.\n\t *\n\t * @name commit\n\t * @memberOf _\n\t * @category Chain\n\t * @returns {Object} Returns the new `lodash` wrapper instance.\n\t * @example\n\t *\n\t * var array = [1, 2];\n\t * var wrapped = _(array).push(3);\n\t *\n\t * console.log(array);\n\t * // => [1, 2]\n\t *\n\t * wrapped = wrapped.commit();\n\t * console.log(array);\n\t * // => [1, 2, 3]\n\t *\n\t * wrapped.last();\n\t * // => 3\n\t *\n\t * console.log(array);\n\t * // => [1, 2, 3]\n\t */\n\t function wrapperCommit() {\n\t return new LodashWrapper(this.value(), this.__chain__);\n\t }\n\t\n\t /**\n\t * Creates a new array joining a wrapped array with any additional arrays\n\t * and/or values.\n\t *\n\t * @name concat\n\t * @memberOf _\n\t * @category Chain\n\t * @param {...*} [values] The values to concatenate.\n\t * @returns {Array} Returns the new concatenated array.\n\t * @example\n\t *\n\t * var array = [1];\n\t * var wrapped = _(array).concat(2, [3], [[4]]);\n\t *\n\t * console.log(wrapped.value());\n\t * // => [1, 2, 3, [4]]\n\t *\n\t * console.log(array);\n\t * // => [1]\n\t */\n\t var wrapperConcat = restParam(function(values) {\n\t values = baseFlatten(values);\n\t return this.thru(function(array) {\n\t return arrayConcat(isArray(array) ? array : [toObject(array)], values);\n\t });\n\t });\n\t\n\t /**\n\t * Creates a clone of the chained sequence planting `value` as the wrapped value.\n\t *\n\t * @name plant\n\t * @memberOf _\n\t * @category Chain\n\t * @returns {Object} Returns the new `lodash` wrapper instance.\n\t * @example\n\t *\n\t * var array = [1, 2];\n\t * var wrapped = _(array).map(function(value) {\n\t * return Math.pow(value, 2);\n\t * });\n\t *\n\t * var other = [3, 4];\n\t * var otherWrapped = wrapped.plant(other);\n\t *\n\t * otherWrapped.value();\n\t * // => [9, 16]\n\t *\n\t * wrapped.value();\n\t * // => [1, 4]\n\t */\n\t function wrapperPlant(value) {\n\t var result,\n\t parent = this;\n\t\n\t while (parent instanceof baseLodash) {\n\t var clone = wrapperClone(parent);\n\t if (result) {\n\t previous.__wrapped__ = clone;\n\t } else {\n\t result = clone;\n\t }\n\t var previous = clone;\n\t parent = parent.__wrapped__;\n\t }\n\t previous.__wrapped__ = value;\n\t return result;\n\t }\n\t\n\t /**\n\t * Reverses the wrapped array so the first element becomes the last, the\n\t * second element becomes the second to last, and so on.\n\t *\n\t * **Note:** This method mutates the wrapped array.\n\t *\n\t * @name reverse\n\t * @memberOf _\n\t * @category Chain\n\t * @returns {Object} Returns the new reversed `lodash` wrapper instance.\n\t * @example\n\t *\n\t * var array = [1, 2, 3];\n\t *\n\t * _(array).reverse().value()\n\t * // => [3, 2, 1]\n\t *\n\t * console.log(array);\n\t * // => [3, 2, 1]\n\t */\n\t function wrapperReverse() {\n\t var value = this.__wrapped__;\n\t\n\t var interceptor = function(value) {\n\t return (wrapped && wrapped.__dir__ < 0) ? value : value.reverse();\n\t };\n\t if (value instanceof LazyWrapper) {\n\t var wrapped = value;\n\t if (this.__actions__.length) {\n\t wrapped = new LazyWrapper(this);\n\t }\n\t wrapped = wrapped.reverse();\n\t wrapped.__actions__.push({ 'func': thru, 'args': [interceptor], 'thisArg': undefined });\n\t return new LodashWrapper(wrapped, this.__chain__);\n\t }\n\t return this.thru(interceptor);\n\t }\n\t\n\t /**\n\t * Produces the result of coercing the unwrapped value to a string.\n\t *\n\t * @name toString\n\t * @memberOf _\n\t * @category Chain\n\t * @returns {string} Returns the coerced string value.\n\t * @example\n\t *\n\t * _([1, 2, 3]).toString();\n\t * // => '1,2,3'\n\t */\n\t function wrapperToString() {\n\t return (this.value() + '');\n\t }\n\t\n\t /**\n\t * Executes the chained sequence to extract the unwrapped value.\n\t *\n\t * @name value\n\t * @memberOf _\n\t * @alias run, toJSON, valueOf\n\t * @category Chain\n\t * @returns {*} Returns the resolved unwrapped value.\n\t * @example\n\t *\n\t * _([1, 2, 3]).value();\n\t * // => [1, 2, 3]\n\t */\n\t function wrapperValue() {\n\t return baseWrapperValue(this.__wrapped__, this.__actions__);\n\t }\n\t\n\t /*------------------------------------------------------------------------*/\n\t\n\t /**\n\t * Creates an array of elements corresponding to the given keys, or indexes,\n\t * of `collection`. Keys may be specified as individual arguments or as arrays\n\t * of keys.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {...(number|number[]|string|string[])} [props] The property names\n\t * or indexes of elements to pick, specified individually or in arrays.\n\t * @returns {Array} Returns the new array of picked elements.\n\t * @example\n\t *\n\t * _.at(['a', 'b', 'c'], [0, 2]);\n\t * // => ['a', 'c']\n\t *\n\t * _.at(['barney', 'fred', 'pebbles'], 0, 2);\n\t * // => ['barney', 'pebbles']\n\t */\n\t var at = restParam(function(collection, props) {\n\t return baseAt(collection, baseFlatten(props));\n\t });\n\t\n\t /**\n\t * Creates an object composed of keys generated from the results of running\n\t * each element of `collection` through `iteratee`. The corresponding value\n\t * of each key is the number of times the key was returned by `iteratee`.\n\t * The `iteratee` is bound to `thisArg` and invoked with three arguments:\n\t * (value, index|key, collection).\n\t *\n\t * If a property name is provided for `iteratee` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `iteratee` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {Object} Returns the composed aggregate object.\n\t * @example\n\t *\n\t * _.countBy([4.3, 6.1, 6.4], function(n) {\n\t * return Math.floor(n);\n\t * });\n\t * // => { '4': 1, '6': 2 }\n\t *\n\t * _.countBy([4.3, 6.1, 6.4], function(n) {\n\t * return this.floor(n);\n\t * }, Math);\n\t * // => { '4': 1, '6': 2 }\n\t *\n\t * _.countBy(['one', 'two', 'three'], 'length');\n\t * // => { '3': 2, '5': 1 }\n\t */\n\t var countBy = createAggregator(function(result, value, key) {\n\t hasOwnProperty.call(result, key) ? ++result[key] : (result[key] = 1);\n\t });\n\t\n\t /**\n\t * Checks if `predicate` returns truthy for **all** elements of `collection`.\n\t * The predicate is bound to `thisArg` and invoked with three arguments:\n\t * (value, index|key, collection).\n\t *\n\t * If a property name is provided for `predicate` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `predicate` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @alias all\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `predicate`.\n\t * @returns {boolean} Returns `true` if all elements pass the predicate check,\n\t * else `false`.\n\t * @example\n\t *\n\t * _.every([true, 1, null, 'yes'], Boolean);\n\t * // => false\n\t *\n\t * var users = [\n\t * { 'user': 'barney', 'active': false },\n\t * { 'user': 'fred', 'active': false }\n\t * ];\n\t *\n\t * // using the `_.matches` callback shorthand\n\t * _.every(users, { 'user': 'barney', 'active': false });\n\t * // => false\n\t *\n\t * // using the `_.matchesProperty` callback shorthand\n\t * _.every(users, 'active', false);\n\t * // => true\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.every(users, 'active');\n\t * // => false\n\t */\n\t function every(collection, predicate, thisArg) {\n\t var func = isArray(collection) ? arrayEvery : baseEvery;\n\t if (thisArg && isIterateeCall(collection, predicate, thisArg)) {\n\t predicate = undefined;\n\t }\n\t if (typeof predicate != 'function' || thisArg !== undefined) {\n\t predicate = getCallback(predicate, thisArg, 3);\n\t }\n\t return func(collection, predicate);\n\t }\n\t\n\t /**\n\t * Iterates over elements of `collection`, returning an array of all elements\n\t * `predicate` returns truthy for. The predicate is bound to `thisArg` and\n\t * invoked with three arguments: (value, index|key, collection).\n\t *\n\t * If a property name is provided for `predicate` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `predicate` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @alias select\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `predicate`.\n\t * @returns {Array} Returns the new filtered array.\n\t * @example\n\t *\n\t * _.filter([4, 5, 6], function(n) {\n\t * return n % 2 == 0;\n\t * });\n\t * // => [4, 6]\n\t *\n\t * var users = [\n\t * { 'user': 'barney', 'age': 36, 'active': true },\n\t * { 'user': 'fred', 'age': 40, 'active': false }\n\t * ];\n\t *\n\t * // using the `_.matches` callback shorthand\n\t * _.pluck(_.filter(users, { 'age': 36, 'active': true }), 'user');\n\t * // => ['barney']\n\t *\n\t * // using the `_.matchesProperty` callback shorthand\n\t * _.pluck(_.filter(users, 'active', false), 'user');\n\t * // => ['fred']\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.pluck(_.filter(users, 'active'), 'user');\n\t * // => ['barney']\n\t */\n\t function filter(collection, predicate, thisArg) {\n\t var func = isArray(collection) ? arrayFilter : baseFilter;\n\t predicate = getCallback(predicate, thisArg, 3);\n\t return func(collection, predicate);\n\t }\n\t\n\t /**\n\t * Iterates over elements of `collection`, returning the first element\n\t * `predicate` returns truthy for. The predicate is bound to `thisArg` and\n\t * invoked with three arguments: (value, index|key, collection).\n\t *\n\t * If a property name is provided for `predicate` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `predicate` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @alias detect\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to search.\n\t * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `predicate`.\n\t * @returns {*} Returns the matched element, else `undefined`.\n\t * @example\n\t *\n\t * var users = [\n\t * { 'user': 'barney', 'age': 36, 'active': true },\n\t * { 'user': 'fred', 'age': 40, 'active': false },\n\t * { 'user': 'pebbles', 'age': 1, 'active': true }\n\t * ];\n\t *\n\t * _.result(_.find(users, function(chr) {\n\t * return chr.age < 40;\n\t * }), 'user');\n\t * // => 'barney'\n\t *\n\t * // using the `_.matches` callback shorthand\n\t * _.result(_.find(users, { 'age': 1, 'active': true }), 'user');\n\t * // => 'pebbles'\n\t *\n\t * // using the `_.matchesProperty` callback shorthand\n\t * _.result(_.find(users, 'active', false), 'user');\n\t * // => 'fred'\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.result(_.find(users, 'active'), 'user');\n\t * // => 'barney'\n\t */\n\t var find = createFind(baseEach);\n\t\n\t /**\n\t * This method is like `_.find` except that it iterates over elements of\n\t * `collection` from right to left.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to search.\n\t * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `predicate`.\n\t * @returns {*} Returns the matched element, else `undefined`.\n\t * @example\n\t *\n\t * _.findLast([1, 2, 3, 4], function(n) {\n\t * return n % 2 == 1;\n\t * });\n\t * // => 3\n\t */\n\t var findLast = createFind(baseEachRight, true);\n\t\n\t /**\n\t * Performs a deep comparison between each element in `collection` and the\n\t * source object, returning the first element that has equivalent property\n\t * values.\n\t *\n\t * **Note:** This method supports comparing arrays, booleans, `Date` objects,\n\t * numbers, `Object` objects, regexes, and strings. Objects are compared by\n\t * their own, not inherited, enumerable properties. For comparing a single\n\t * own or inherited property value see `_.matchesProperty`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to search.\n\t * @param {Object} source The object of property values to match.\n\t * @returns {*} Returns the matched element, else `undefined`.\n\t * @example\n\t *\n\t * var users = [\n\t * { 'user': 'barney', 'age': 36, 'active': true },\n\t * { 'user': 'fred', 'age': 40, 'active': false }\n\t * ];\n\t *\n\t * _.result(_.findWhere(users, { 'age': 36, 'active': true }), 'user');\n\t * // => 'barney'\n\t *\n\t * _.result(_.findWhere(users, { 'age': 40, 'active': false }), 'user');\n\t * // => 'fred'\n\t */\n\t function findWhere(collection, source) {\n\t return find(collection, baseMatches(source));\n\t }\n\t\n\t /**\n\t * Iterates over elements of `collection` invoking `iteratee` for each element.\n\t * The `iteratee` is bound to `thisArg` and invoked with three arguments:\n\t * (value, index|key, collection). Iteratee functions may exit iteration early\n\t * by explicitly returning `false`.\n\t *\n\t * **Note:** As with other \"Collections\" methods, objects with a \"length\" property\n\t * are iterated like arrays. To avoid this behavior `_.forIn` or `_.forOwn`\n\t * may be used for object iteration.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @alias each\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {Array|Object|string} Returns `collection`.\n\t * @example\n\t *\n\t * _([1, 2]).forEach(function(n) {\n\t * console.log(n);\n\t * }).value();\n\t * // => logs each value from left to right and returns the array\n\t *\n\t * _.forEach({ 'a': 1, 'b': 2 }, function(n, key) {\n\t * console.log(n, key);\n\t * });\n\t * // => logs each value-key pair and returns the object (iteration order is not guaranteed)\n\t */\n\t var forEach = createForEach(arrayEach, baseEach);\n\t\n\t /**\n\t * This method is like `_.forEach` except that it iterates over elements of\n\t * `collection` from right to left.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @alias eachRight\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {Array|Object|string} Returns `collection`.\n\t * @example\n\t *\n\t * _([1, 2]).forEachRight(function(n) {\n\t * console.log(n);\n\t * }).value();\n\t * // => logs each value from right to left and returns the array\n\t */\n\t var forEachRight = createForEach(arrayEachRight, baseEachRight);\n\t\n\t /**\n\t * Creates an object composed of keys generated from the results of running\n\t * each element of `collection` through `iteratee`. The corresponding value\n\t * of each key is an array of the elements responsible for generating the key.\n\t * The `iteratee` is bound to `thisArg` and invoked with three arguments:\n\t * (value, index|key, collection).\n\t *\n\t * If a property name is provided for `iteratee` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `iteratee` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {Object} Returns the composed aggregate object.\n\t * @example\n\t *\n\t * _.groupBy([4.2, 6.1, 6.4], function(n) {\n\t * return Math.floor(n);\n\t * });\n\t * // => { '4': [4.2], '6': [6.1, 6.4] }\n\t *\n\t * _.groupBy([4.2, 6.1, 6.4], function(n) {\n\t * return this.floor(n);\n\t * }, Math);\n\t * // => { '4': [4.2], '6': [6.1, 6.4] }\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.groupBy(['one', 'two', 'three'], 'length');\n\t * // => { '3': ['one', 'two'], '5': ['three'] }\n\t */\n\t var groupBy = createAggregator(function(result, value, key) {\n\t if (hasOwnProperty.call(result, key)) {\n\t result[key].push(value);\n\t } else {\n\t result[key] = [value];\n\t }\n\t });\n\t\n\t /**\n\t * Checks if `value` is in `collection` using\n\t * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n\t * for equality comparisons. If `fromIndex` is negative, it is used as the offset\n\t * from the end of `collection`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @alias contains, include\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to search.\n\t * @param {*} target The value to search for.\n\t * @param {number} [fromIndex=0] The index to search from.\n\t * @param- {Object} [guard] Enables use as a callback for functions like `_.reduce`.\n\t * @returns {boolean} Returns `true` if a matching element is found, else `false`.\n\t * @example\n\t *\n\t * _.includes([1, 2, 3], 1);\n\t * // => true\n\t *\n\t * _.includes([1, 2, 3], 1, 2);\n\t * // => false\n\t *\n\t * _.includes({ 'user': 'fred', 'age': 40 }, 'fred');\n\t * // => true\n\t *\n\t * _.includes('pebbles', 'eb');\n\t * // => true\n\t */\n\t function includes(collection, target, fromIndex, guard) {\n\t var length = collection ? getLength(collection) : 0;\n\t if (!isLength(length)) {\n\t collection = values(collection);\n\t length = collection.length;\n\t }\n\t if (typeof fromIndex != 'number' || (guard && isIterateeCall(target, fromIndex, guard))) {\n\t fromIndex = 0;\n\t } else {\n\t fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : (fromIndex || 0);\n\t }\n\t return (typeof collection == 'string' || !isArray(collection) && isString(collection))\n\t ? (fromIndex <= length && collection.indexOf(target, fromIndex) > -1)\n\t : (!!length && getIndexOf(collection, target, fromIndex) > -1);\n\t }\n\t\n\t /**\n\t * Creates an object composed of keys generated from the results of running\n\t * each element of `collection` through `iteratee`. The corresponding value\n\t * of each key is the last element responsible for generating the key. The\n\t * iteratee function is bound to `thisArg` and invoked with three arguments:\n\t * (value, index|key, collection).\n\t *\n\t * If a property name is provided for `iteratee` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `iteratee` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {Object} Returns the composed aggregate object.\n\t * @example\n\t *\n\t * var keyData = [\n\t * { 'dir': 'left', 'code': 97 },\n\t * { 'dir': 'right', 'code': 100 }\n\t * ];\n\t *\n\t * _.indexBy(keyData, 'dir');\n\t * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n\t *\n\t * _.indexBy(keyData, function(object) {\n\t * return String.fromCharCode(object.code);\n\t * });\n\t * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n\t *\n\t * _.indexBy(keyData, function(object) {\n\t * return this.fromCharCode(object.code);\n\t * }, String);\n\t * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n\t */\n\t var indexBy = createAggregator(function(result, value, key) {\n\t result[key] = value;\n\t });\n\t\n\t /**\n\t * Invokes the method at `path` of each element in `collection`, returning\n\t * an array of the results of each invoked method. Any additional arguments\n\t * are provided to each invoked method. If `methodName` is a function it is\n\t * invoked for, and `this` bound to, each element in `collection`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Array|Function|string} path The path of the method to invoke or\n\t * the function invoked per iteration.\n\t * @param {...*} [args] The arguments to invoke the method with.\n\t * @returns {Array} Returns the array of results.\n\t * @example\n\t *\n\t * _.invoke([[5, 1, 7], [3, 2, 1]], 'sort');\n\t * // => [[1, 5, 7], [1, 2, 3]]\n\t *\n\t * _.invoke([123, 456], String.prototype.split, '');\n\t * // => [['1', '2', '3'], ['4', '5', '6']]\n\t */\n\t var invoke = restParam(function(collection, path, args) {\n\t var index = -1,\n\t isFunc = typeof path == 'function',\n\t isProp = isKey(path),\n\t result = isArrayLike(collection) ? Array(collection.length) : [];\n\t\n\t baseEach(collection, function(value) {\n\t var func = isFunc ? path : ((isProp && value != null) ? value[path] : undefined);\n\t result[++index] = func ? func.apply(value, args) : invokePath(value, path, args);\n\t });\n\t return result;\n\t });\n\t\n\t /**\n\t * Creates an array of values by running each element in `collection` through\n\t * `iteratee`. The `iteratee` is bound to `thisArg` and invoked with three\n\t * arguments: (value, index|key, collection).\n\t *\n\t * If a property name is provided for `iteratee` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `iteratee` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * Many lodash methods are guarded to work as iteratees for methods like\n\t * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n\t *\n\t * The guarded methods are:\n\t * `ary`, `callback`, `chunk`, `clone`, `create`, `curry`, `curryRight`,\n\t * `drop`, `dropRight`, `every`, `fill`, `flatten`, `invert`, `max`, `min`,\n\t * `parseInt`, `slice`, `sortBy`, `take`, `takeRight`, `template`, `trim`,\n\t * `trimLeft`, `trimRight`, `trunc`, `random`, `range`, `sample`, `some`,\n\t * `sum`, `uniq`, and `words`\n\t *\n\t * @static\n\t * @memberOf _\n\t * @alias collect\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {Array} Returns the new mapped array.\n\t * @example\n\t *\n\t * function timesThree(n) {\n\t * return n * 3;\n\t * }\n\t *\n\t * _.map([1, 2], timesThree);\n\t * // => [3, 6]\n\t *\n\t * _.map({ 'a': 1, 'b': 2 }, timesThree);\n\t * // => [3, 6] (iteration order is not guaranteed)\n\t *\n\t * var users = [\n\t * { 'user': 'barney' },\n\t * { 'user': 'fred' }\n\t * ];\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.map(users, 'user');\n\t * // => ['barney', 'fred']\n\t */\n\t function map(collection, iteratee, thisArg) {\n\t var func = isArray(collection) ? arrayMap : baseMap;\n\t iteratee = getCallback(iteratee, thisArg, 3);\n\t return func(collection, iteratee);\n\t }\n\t\n\t /**\n\t * Creates an array of elements split into two groups, the first of which\n\t * contains elements `predicate` returns truthy for, while the second of which\n\t * contains elements `predicate` returns falsey for. The predicate is bound\n\t * to `thisArg` and invoked with three arguments: (value, index|key, collection).\n\t *\n\t * If a property name is provided for `predicate` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `predicate` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `predicate`.\n\t * @returns {Array} Returns the array of grouped elements.\n\t * @example\n\t *\n\t * _.partition([1, 2, 3], function(n) {\n\t * return n % 2;\n\t * });\n\t * // => [[1, 3], [2]]\n\t *\n\t * _.partition([1.2, 2.3, 3.4], function(n) {\n\t * return this.floor(n) % 2;\n\t * }, Math);\n\t * // => [[1.2, 3.4], [2.3]]\n\t *\n\t * var users = [\n\t * { 'user': 'barney', 'age': 36, 'active': false },\n\t * { 'user': 'fred', 'age': 40, 'active': true },\n\t * { 'user': 'pebbles', 'age': 1, 'active': false }\n\t * ];\n\t *\n\t * var mapper = function(array) {\n\t * return _.pluck(array, 'user');\n\t * };\n\t *\n\t * // using the `_.matches` callback shorthand\n\t * _.map(_.partition(users, { 'age': 1, 'active': false }), mapper);\n\t * // => [['pebbles'], ['barney', 'fred']]\n\t *\n\t * // using the `_.matchesProperty` callback shorthand\n\t * _.map(_.partition(users, 'active', false), mapper);\n\t * // => [['barney', 'pebbles'], ['fred']]\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.map(_.partition(users, 'active'), mapper);\n\t * // => [['fred'], ['barney', 'pebbles']]\n\t */\n\t var partition = createAggregator(function(result, value, key) {\n\t result[key ? 0 : 1].push(value);\n\t }, function() { return [[], []]; });\n\t\n\t /**\n\t * Gets the property value of `path` from all elements in `collection`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Array|string} path The path of the property to pluck.\n\t * @returns {Array} Returns the property values.\n\t * @example\n\t *\n\t * var users = [\n\t * { 'user': 'barney', 'age': 36 },\n\t * { 'user': 'fred', 'age': 40 }\n\t * ];\n\t *\n\t * _.pluck(users, 'user');\n\t * // => ['barney', 'fred']\n\t *\n\t * var userIndex = _.indexBy(users, 'user');\n\t * _.pluck(userIndex, 'age');\n\t * // => [36, 40] (iteration order is not guaranteed)\n\t */\n\t function pluck(collection, path) {\n\t return map(collection, property(path));\n\t }\n\t\n\t /**\n\t * Reduces `collection` to a value which is the accumulated result of running\n\t * each element in `collection` through `iteratee`, where each successive\n\t * invocation is supplied the return value of the previous. If `accumulator`\n\t * is not provided the first element of `collection` is used as the initial\n\t * value. The `iteratee` is bound to `thisArg` and invoked with four arguments:\n\t * (accumulator, value, index|key, collection).\n\t *\n\t * Many lodash methods are guarded to work as iteratees for methods like\n\t * `_.reduce`, `_.reduceRight`, and `_.transform`.\n\t *\n\t * The guarded methods are:\n\t * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `sortByAll`,\n\t * and `sortByOrder`\n\t *\n\t * @static\n\t * @memberOf _\n\t * @alias foldl, inject\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t * @param {*} [accumulator] The initial value.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {*} Returns the accumulated value.\n\t * @example\n\t *\n\t * _.reduce([1, 2], function(total, n) {\n\t * return total + n;\n\t * });\n\t * // => 3\n\t *\n\t * _.reduce({ 'a': 1, 'b': 2 }, function(result, n, key) {\n\t * result[key] = n * 3;\n\t * return result;\n\t * }, {});\n\t * // => { 'a': 3, 'b': 6 } (iteration order is not guaranteed)\n\t */\n\t var reduce = createReduce(arrayReduce, baseEach);\n\t\n\t /**\n\t * This method is like `_.reduce` except that it iterates over elements of\n\t * `collection` from right to left.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @alias foldr\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t * @param {*} [accumulator] The initial value.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {*} Returns the accumulated value.\n\t * @example\n\t *\n\t * var array = [[0, 1], [2, 3], [4, 5]];\n\t *\n\t * _.reduceRight(array, function(flattened, other) {\n\t * return flattened.concat(other);\n\t * }, []);\n\t * // => [4, 5, 2, 3, 0, 1]\n\t */\n\t var reduceRight = createReduce(arrayReduceRight, baseEachRight);\n\t\n\t /**\n\t * The opposite of `_.filter`; this method returns the elements of `collection`\n\t * that `predicate` does **not** return truthy for.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `predicate`.\n\t * @returns {Array} Returns the new filtered array.\n\t * @example\n\t *\n\t * _.reject([1, 2, 3, 4], function(n) {\n\t * return n % 2 == 0;\n\t * });\n\t * // => [1, 3]\n\t *\n\t * var users = [\n\t * { 'user': 'barney', 'age': 36, 'active': false },\n\t * { 'user': 'fred', 'age': 40, 'active': true }\n\t * ];\n\t *\n\t * // using the `_.matches` callback shorthand\n\t * _.pluck(_.reject(users, { 'age': 40, 'active': true }), 'user');\n\t * // => ['barney']\n\t *\n\t * // using the `_.matchesProperty` callback shorthand\n\t * _.pluck(_.reject(users, 'active', false), 'user');\n\t * // => ['fred']\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.pluck(_.reject(users, 'active'), 'user');\n\t * // => ['barney']\n\t */\n\t function reject(collection, predicate, thisArg) {\n\t var func = isArray(collection) ? arrayFilter : baseFilter;\n\t predicate = getCallback(predicate, thisArg, 3);\n\t return func(collection, function(value, index, collection) {\n\t return !predicate(value, index, collection);\n\t });\n\t }\n\t\n\t /**\n\t * Gets a random element or `n` random elements from a collection.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to sample.\n\t * @param {number} [n] The number of elements to sample.\n\t * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t * @returns {*} Returns the random sample(s).\n\t * @example\n\t *\n\t * _.sample([1, 2, 3, 4]);\n\t * // => 2\n\t *\n\t * _.sample([1, 2, 3, 4], 2);\n\t * // => [3, 1]\n\t */\n\t function sample(collection, n, guard) {\n\t if (guard ? isIterateeCall(collection, n, guard) : n == null) {\n\t collection = toIterable(collection);\n\t var length = collection.length;\n\t return length > 0 ? collection[baseRandom(0, length - 1)] : undefined;\n\t }\n\t var index = -1,\n\t result = toArray(collection),\n\t length = result.length,\n\t lastIndex = length - 1;\n\t\n\t n = nativeMin(n < 0 ? 0 : (+n || 0), length);\n\t while (++index < n) {\n\t var rand = baseRandom(index, lastIndex),\n\t value = result[rand];\n\t\n\t result[rand] = result[index];\n\t result[index] = value;\n\t }\n\t result.length = n;\n\t return result;\n\t }\n\t\n\t /**\n\t * Creates an array of shuffled values, using a version of the\n\t * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to shuffle.\n\t * @returns {Array} Returns the new shuffled array.\n\t * @example\n\t *\n\t * _.shuffle([1, 2, 3, 4]);\n\t * // => [4, 1, 3, 2]\n\t */\n\t function shuffle(collection) {\n\t return sample(collection, POSITIVE_INFINITY);\n\t }\n\t\n\t /**\n\t * Gets the size of `collection` by returning its length for array-like\n\t * values or the number of own enumerable properties for objects.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to inspect.\n\t * @returns {number} Returns the size of `collection`.\n\t * @example\n\t *\n\t * _.size([1, 2, 3]);\n\t * // => 3\n\t *\n\t * _.size({ 'a': 1, 'b': 2 });\n\t * // => 2\n\t *\n\t * _.size('pebbles');\n\t * // => 7\n\t */\n\t function size(collection) {\n\t var length = collection ? getLength(collection) : 0;\n\t return isLength(length) ? length : keys(collection).length;\n\t }\n\t\n\t /**\n\t * Checks if `predicate` returns truthy for **any** element of `collection`.\n\t * The function returns as soon as it finds a passing value and does not iterate\n\t * over the entire collection. The predicate is bound to `thisArg` and invoked\n\t * with three arguments: (value, index|key, collection).\n\t *\n\t * If a property name is provided for `predicate` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `predicate` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @alias any\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `predicate`.\n\t * @returns {boolean} Returns `true` if any element passes the predicate check,\n\t * else `false`.\n\t * @example\n\t *\n\t * _.some([null, 0, 'yes', false], Boolean);\n\t * // => true\n\t *\n\t * var users = [\n\t * { 'user': 'barney', 'active': true },\n\t * { 'user': 'fred', 'active': false }\n\t * ];\n\t *\n\t * // using the `_.matches` callback shorthand\n\t * _.some(users, { 'user': 'barney', 'active': false });\n\t * // => false\n\t *\n\t * // using the `_.matchesProperty` callback shorthand\n\t * _.some(users, 'active', false);\n\t * // => true\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.some(users, 'active');\n\t * // => true\n\t */\n\t function some(collection, predicate, thisArg) {\n\t var func = isArray(collection) ? arraySome : baseSome;\n\t if (thisArg && isIterateeCall(collection, predicate, thisArg)) {\n\t predicate = undefined;\n\t }\n\t if (typeof predicate != 'function' || thisArg !== undefined) {\n\t predicate = getCallback(predicate, thisArg, 3);\n\t }\n\t return func(collection, predicate);\n\t }\n\t\n\t /**\n\t * Creates an array of elements, sorted in ascending order by the results of\n\t * running each element in a collection through `iteratee`. This method performs\n\t * a stable sort, that is, it preserves the original sort order of equal elements.\n\t * The `iteratee` is bound to `thisArg` and invoked with three arguments:\n\t * (value, index|key, collection).\n\t *\n\t * If a property name is provided for `iteratee` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `iteratee` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {Array} Returns the new sorted array.\n\t * @example\n\t *\n\t * _.sortBy([1, 2, 3], function(n) {\n\t * return Math.sin(n);\n\t * });\n\t * // => [3, 1, 2]\n\t *\n\t * _.sortBy([1, 2, 3], function(n) {\n\t * return this.sin(n);\n\t * }, Math);\n\t * // => [3, 1, 2]\n\t *\n\t * var users = [\n\t * { 'user': 'fred' },\n\t * { 'user': 'pebbles' },\n\t * { 'user': 'barney' }\n\t * ];\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.pluck(_.sortBy(users, 'user'), 'user');\n\t * // => ['barney', 'fred', 'pebbles']\n\t */\n\t function sortBy(collection, iteratee, thisArg) {\n\t if (collection == null) {\n\t return [];\n\t }\n\t if (thisArg && isIterateeCall(collection, iteratee, thisArg)) {\n\t iteratee = undefined;\n\t }\n\t var index = -1;\n\t iteratee = getCallback(iteratee, thisArg, 3);\n\t\n\t var result = baseMap(collection, function(value, key, collection) {\n\t return { 'criteria': iteratee(value, key, collection), 'index': ++index, 'value': value };\n\t });\n\t return baseSortBy(result, compareAscending);\n\t }\n\t\n\t /**\n\t * This method is like `_.sortBy` except that it can sort by multiple iteratees\n\t * or property names.\n\t *\n\t * If a property name is provided for an iteratee the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If an object is provided for an iteratee the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {...(Function|Function[]|Object|Object[]|string|string[])} iteratees\n\t * The iteratees to sort by, specified as individual values or arrays of values.\n\t * @returns {Array} Returns the new sorted array.\n\t * @example\n\t *\n\t * var users = [\n\t * { 'user': 'fred', 'age': 48 },\n\t * { 'user': 'barney', 'age': 36 },\n\t * { 'user': 'fred', 'age': 42 },\n\t * { 'user': 'barney', 'age': 34 }\n\t * ];\n\t *\n\t * _.map(_.sortByAll(users, ['user', 'age']), _.values);\n\t * // => [['barney', 34], ['barney', 36], ['fred', 42], ['fred', 48]]\n\t *\n\t * _.map(_.sortByAll(users, 'user', function(chr) {\n\t * return Math.floor(chr.age / 10);\n\t * }), _.values);\n\t * // => [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]]\n\t */\n\t var sortByAll = restParam(function(collection, iteratees) {\n\t if (collection == null) {\n\t return [];\n\t }\n\t var guard = iteratees[2];\n\t if (guard && isIterateeCall(iteratees[0], iteratees[1], guard)) {\n\t iteratees.length = 1;\n\t }\n\t return baseSortByOrder(collection, baseFlatten(iteratees), []);\n\t });\n\t\n\t /**\n\t * This method is like `_.sortByAll` except that it allows specifying the\n\t * sort orders of the iteratees to sort by. If `orders` is unspecified, all\n\t * values are sorted in ascending order. Otherwise, a value is sorted in\n\t * ascending order if its corresponding order is \"asc\", and descending if \"desc\".\n\t *\n\t * If a property name is provided for an iteratee the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If an object is provided for an iteratee the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to iterate over.\n\t * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n\t * @param {boolean[]} [orders] The sort orders of `iteratees`.\n\t * @param- {Object} [guard] Enables use as a callback for functions like `_.reduce`.\n\t * @returns {Array} Returns the new sorted array.\n\t * @example\n\t *\n\t * var users = [\n\t * { 'user': 'fred', 'age': 48 },\n\t * { 'user': 'barney', 'age': 34 },\n\t * { 'user': 'fred', 'age': 42 },\n\t * { 'user': 'barney', 'age': 36 }\n\t * ];\n\t *\n\t * // sort by `user` in ascending order and by `age` in descending order\n\t * _.map(_.sortByOrder(users, ['user', 'age'], ['asc', 'desc']), _.values);\n\t * // => [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]]\n\t */\n\t function sortByOrder(collection, iteratees, orders, guard) {\n\t if (collection == null) {\n\t return [];\n\t }\n\t if (guard && isIterateeCall(iteratees, orders, guard)) {\n\t orders = undefined;\n\t }\n\t if (!isArray(iteratees)) {\n\t iteratees = iteratees == null ? [] : [iteratees];\n\t }\n\t if (!isArray(orders)) {\n\t orders = orders == null ? [] : [orders];\n\t }\n\t return baseSortByOrder(collection, iteratees, orders);\n\t }\n\t\n\t /**\n\t * Performs a deep comparison between each element in `collection` and the\n\t * source object, returning an array of all elements that have equivalent\n\t * property values.\n\t *\n\t * **Note:** This method supports comparing arrays, booleans, `Date` objects,\n\t * numbers, `Object` objects, regexes, and strings. Objects are compared by\n\t * their own, not inherited, enumerable properties. For comparing a single\n\t * own or inherited property value see `_.matchesProperty`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Collection\n\t * @param {Array|Object|string} collection The collection to search.\n\t * @param {Object} source The object of property values to match.\n\t * @returns {Array} Returns the new filtered array.\n\t * @example\n\t *\n\t * var users = [\n\t * { 'user': 'barney', 'age': 36, 'active': false, 'pets': ['hoppy'] },\n\t * { 'user': 'fred', 'age': 40, 'active': true, 'pets': ['baby puss', 'dino'] }\n\t * ];\n\t *\n\t * _.pluck(_.where(users, { 'age': 36, 'active': false }), 'user');\n\t * // => ['barney']\n\t *\n\t * _.pluck(_.where(users, { 'pets': ['dino'] }), 'user');\n\t * // => ['fred']\n\t */\n\t function where(collection, source) {\n\t return filter(collection, baseMatches(source));\n\t }\n\t\n\t /*------------------------------------------------------------------------*/\n\t\n\t /**\n\t * Gets the number of milliseconds that have elapsed since the Unix epoch\n\t * (1 January 1970 00:00:00 UTC).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Date\n\t * @example\n\t *\n\t * _.defer(function(stamp) {\n\t * console.log(_.now() - stamp);\n\t * }, _.now());\n\t * // => logs the number of milliseconds it took for the deferred function to be invoked\n\t */\n\t var now = nativeNow || function() {\n\t return new Date().getTime();\n\t };\n\t\n\t /*------------------------------------------------------------------------*/\n\t\n\t /**\n\t * The opposite of `_.before`; this method creates a function that invokes\n\t * `func` once it is called `n` or more times.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {number} n The number of calls before `func` is invoked.\n\t * @param {Function} func The function to restrict.\n\t * @returns {Function} Returns the new restricted function.\n\t * @example\n\t *\n\t * var saves = ['profile', 'settings'];\n\t *\n\t * var done = _.after(saves.length, function() {\n\t * console.log('done saving!');\n\t * });\n\t *\n\t * _.forEach(saves, function(type) {\n\t * asyncSave({ 'type': type, 'complete': done });\n\t * });\n\t * // => logs 'done saving!' after the two async saves have completed\n\t */\n\t function after(n, func) {\n\t if (typeof func != 'function') {\n\t if (typeof n == 'function') {\n\t var temp = n;\n\t n = func;\n\t func = temp;\n\t } else {\n\t throw new TypeError(FUNC_ERROR_TEXT);\n\t }\n\t }\n\t n = nativeIsFinite(n = +n) ? n : 0;\n\t return function() {\n\t if (--n < 1) {\n\t return func.apply(this, arguments);\n\t }\n\t };\n\t }\n\t\n\t /**\n\t * Creates a function that accepts up to `n` arguments ignoring any\n\t * additional arguments.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Function} func The function to cap arguments for.\n\t * @param {number} [n=func.length] The arity cap.\n\t * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t * @returns {Function} Returns the new function.\n\t * @example\n\t *\n\t * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n\t * // => [6, 8, 10]\n\t */\n\t function ary(func, n, guard) {\n\t if (guard && isIterateeCall(func, n, guard)) {\n\t n = undefined;\n\t }\n\t n = (func && n == null) ? func.length : nativeMax(+n || 0, 0);\n\t return createWrapper(func, ARY_FLAG, undefined, undefined, undefined, undefined, n);\n\t }\n\t\n\t /**\n\t * Creates a function that invokes `func`, with the `this` binding and arguments\n\t * of the created function, while it is called less than `n` times. Subsequent\n\t * calls to the created function return the result of the last `func` invocation.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {number} n The number of calls at which `func` is no longer invoked.\n\t * @param {Function} func The function to restrict.\n\t * @returns {Function} Returns the new restricted function.\n\t * @example\n\t *\n\t * jQuery('#add').on('click', _.before(5, addContactToList));\n\t * // => allows adding up to 4 contacts to the list\n\t */\n\t function before(n, func) {\n\t var result;\n\t if (typeof func != 'function') {\n\t if (typeof n == 'function') {\n\t var temp = n;\n\t n = func;\n\t func = temp;\n\t } else {\n\t throw new TypeError(FUNC_ERROR_TEXT);\n\t }\n\t }\n\t return function() {\n\t if (--n > 0) {\n\t result = func.apply(this, arguments);\n\t }\n\t if (n <= 1) {\n\t func = undefined;\n\t }\n\t return result;\n\t };\n\t }\n\t\n\t /**\n\t * Creates a function that invokes `func` with the `this` binding of `thisArg`\n\t * and prepends any additional `_.bind` arguments to those provided to the\n\t * bound function.\n\t *\n\t * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n\t * may be used as a placeholder for partially applied arguments.\n\t *\n\t * **Note:** Unlike native `Function#bind` this method does not set the \"length\"\n\t * property of bound functions.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Function} func The function to bind.\n\t * @param {*} thisArg The `this` binding of `func`.\n\t * @param {...*} [partials] The arguments to be partially applied.\n\t * @returns {Function} Returns the new bound function.\n\t * @example\n\t *\n\t * var greet = function(greeting, punctuation) {\n\t * return greeting + ' ' + this.user + punctuation;\n\t * };\n\t *\n\t * var object = { 'user': 'fred' };\n\t *\n\t * var bound = _.bind(greet, object, 'hi');\n\t * bound('!');\n\t * // => 'hi fred!'\n\t *\n\t * // using placeholders\n\t * var bound = _.bind(greet, object, _, '!');\n\t * bound('hi');\n\t * // => 'hi fred!'\n\t */\n\t var bind = restParam(function(func, thisArg, partials) {\n\t var bitmask = BIND_FLAG;\n\t if (partials.length) {\n\t var holders = replaceHolders(partials, bind.placeholder);\n\t bitmask |= PARTIAL_FLAG;\n\t }\n\t return createWrapper(func, bitmask, thisArg, partials, holders);\n\t });\n\t\n\t /**\n\t * Binds methods of an object to the object itself, overwriting the existing\n\t * method. Method names may be specified as individual arguments or as arrays\n\t * of method names. If no method names are provided all enumerable function\n\t * properties, own and inherited, of `object` are bound.\n\t *\n\t * **Note:** This method does not set the \"length\" property of bound functions.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Object} object The object to bind and assign the bound methods to.\n\t * @param {...(string|string[])} [methodNames] The object method names to bind,\n\t * specified as individual method names or arrays of method names.\n\t * @returns {Object} Returns `object`.\n\t * @example\n\t *\n\t * var view = {\n\t * 'label': 'docs',\n\t * 'onClick': function() {\n\t * console.log('clicked ' + this.label);\n\t * }\n\t * };\n\t *\n\t * _.bindAll(view);\n\t * jQuery('#docs').on('click', view.onClick);\n\t * // => logs 'clicked docs' when the element is clicked\n\t */\n\t var bindAll = restParam(function(object, methodNames) {\n\t methodNames = methodNames.length ? baseFlatten(methodNames) : functions(object);\n\t\n\t var index = -1,\n\t length = methodNames.length;\n\t\n\t while (++index < length) {\n\t var key = methodNames[index];\n\t object[key] = createWrapper(object[key], BIND_FLAG, object);\n\t }\n\t return object;\n\t });\n\t\n\t /**\n\t * Creates a function that invokes the method at `object[key]` and prepends\n\t * any additional `_.bindKey` arguments to those provided to the bound function.\n\t *\n\t * This method differs from `_.bind` by allowing bound functions to reference\n\t * methods that may be redefined or don't yet exist.\n\t * See [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n\t * for more details.\n\t *\n\t * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n\t * builds, may be used as a placeholder for partially applied arguments.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Object} object The object the method belongs to.\n\t * @param {string} key The key of the method.\n\t * @param {...*} [partials] The arguments to be partially applied.\n\t * @returns {Function} Returns the new bound function.\n\t * @example\n\t *\n\t * var object = {\n\t * 'user': 'fred',\n\t * 'greet': function(greeting, punctuation) {\n\t * return greeting + ' ' + this.user + punctuation;\n\t * }\n\t * };\n\t *\n\t * var bound = _.bindKey(object, 'greet', 'hi');\n\t * bound('!');\n\t * // => 'hi fred!'\n\t *\n\t * object.greet = function(greeting, punctuation) {\n\t * return greeting + 'ya ' + this.user + punctuation;\n\t * };\n\t *\n\t * bound('!');\n\t * // => 'hiya fred!'\n\t *\n\t * // using placeholders\n\t * var bound = _.bindKey(object, 'greet', _, '!');\n\t * bound('hi');\n\t * // => 'hiya fred!'\n\t */\n\t var bindKey = restParam(function(object, key, partials) {\n\t var bitmask = BIND_FLAG | BIND_KEY_FLAG;\n\t if (partials.length) {\n\t var holders = replaceHolders(partials, bindKey.placeholder);\n\t bitmask |= PARTIAL_FLAG;\n\t }\n\t return createWrapper(key, bitmask, object, partials, holders);\n\t });\n\t\n\t /**\n\t * Creates a function that accepts one or more arguments of `func` that when\n\t * called either invokes `func` returning its result, if all `func` arguments\n\t * have been provided, or returns a function that accepts one or more of the\n\t * remaining `func` arguments, and so on. The arity of `func` may be specified\n\t * if `func.length` is not sufficient.\n\t *\n\t * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n\t * may be used as a placeholder for provided arguments.\n\t *\n\t * **Note:** This method does not set the \"length\" property of curried functions.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Function} func The function to curry.\n\t * @param {number} [arity=func.length] The arity of `func`.\n\t * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t * @returns {Function} Returns the new curried function.\n\t * @example\n\t *\n\t * var abc = function(a, b, c) {\n\t * return [a, b, c];\n\t * };\n\t *\n\t * var curried = _.curry(abc);\n\t *\n\t * curried(1)(2)(3);\n\t * // => [1, 2, 3]\n\t *\n\t * curried(1, 2)(3);\n\t * // => [1, 2, 3]\n\t *\n\t * curried(1, 2, 3);\n\t * // => [1, 2, 3]\n\t *\n\t * // using placeholders\n\t * curried(1)(_, 3)(2);\n\t * // => [1, 2, 3]\n\t */\n\t var curry = createCurry(CURRY_FLAG);\n\t\n\t /**\n\t * This method is like `_.curry` except that arguments are applied to `func`\n\t * in the manner of `_.partialRight` instead of `_.partial`.\n\t *\n\t * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n\t * builds, may be used as a placeholder for provided arguments.\n\t *\n\t * **Note:** This method does not set the \"length\" property of curried functions.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Function} func The function to curry.\n\t * @param {number} [arity=func.length] The arity of `func`.\n\t * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t * @returns {Function} Returns the new curried function.\n\t * @example\n\t *\n\t * var abc = function(a, b, c) {\n\t * return [a, b, c];\n\t * };\n\t *\n\t * var curried = _.curryRight(abc);\n\t *\n\t * curried(3)(2)(1);\n\t * // => [1, 2, 3]\n\t *\n\t * curried(2, 3)(1);\n\t * // => [1, 2, 3]\n\t *\n\t * curried(1, 2, 3);\n\t * // => [1, 2, 3]\n\t *\n\t * // using placeholders\n\t * curried(3)(1, _)(2);\n\t * // => [1, 2, 3]\n\t */\n\t var curryRight = createCurry(CURRY_RIGHT_FLAG);\n\t\n\t /**\n\t * Creates a debounced function that delays invoking `func` until after `wait`\n\t * milliseconds have elapsed since the last time the debounced function was\n\t * invoked. The debounced function comes with a `cancel` method to cancel\n\t * delayed invocations. Provide an options object to indicate that `func`\n\t * should be invoked on the leading and/or trailing edge of the `wait` timeout.\n\t * Subsequent calls to the debounced function return the result of the last\n\t * `func` invocation.\n\t *\n\t * **Note:** If `leading` and `trailing` options are `true`, `func` is invoked\n\t * on the trailing edge of the timeout only if the the debounced function is\n\t * invoked more than once during the `wait` timeout.\n\t *\n\t * See [David Corbacho's article](http://drupalmotion.com/article/debounce-and-throttle-visual-explanation)\n\t * for details over the differences between `_.debounce` and `_.throttle`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Function} func The function to debounce.\n\t * @param {number} [wait=0] The number of milliseconds to delay.\n\t * @param {Object} [options] The options object.\n\t * @param {boolean} [options.leading=false] Specify invoking on the leading\n\t * edge of the timeout.\n\t * @param {number} [options.maxWait] The maximum time `func` is allowed to be\n\t * delayed before it is invoked.\n\t * @param {boolean} [options.trailing=true] Specify invoking on the trailing\n\t * edge of the timeout.\n\t * @returns {Function} Returns the new debounced function.\n\t * @example\n\t *\n\t * // avoid costly calculations while the window size is in flux\n\t * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n\t *\n\t * // invoke `sendMail` when the click event is fired, debouncing subsequent calls\n\t * jQuery('#postbox').on('click', _.debounce(sendMail, 300, {\n\t * 'leading': true,\n\t * 'trailing': false\n\t * }));\n\t *\n\t * // ensure `batchLog` is invoked once after 1 second of debounced calls\n\t * var source = new EventSource('/stream');\n\t * jQuery(source).on('message', _.debounce(batchLog, 250, {\n\t * 'maxWait': 1000\n\t * }));\n\t *\n\t * // cancel a debounced call\n\t * var todoChanges = _.debounce(batchLog, 1000);\n\t * Object.observe(models.todo, todoChanges);\n\t *\n\t * Object.observe(models, function(changes) {\n\t * if (_.find(changes, { 'user': 'todo', 'type': 'delete'})) {\n\t * todoChanges.cancel();\n\t * }\n\t * }, ['delete']);\n\t *\n\t * // ...at some point `models.todo` is changed\n\t * models.todo.completed = true;\n\t *\n\t * // ...before 1 second has passed `models.todo` is deleted\n\t * // which cancels the debounced `todoChanges` call\n\t * delete models.todo;\n\t */\n\t function debounce(func, wait, options) {\n\t var args,\n\t maxTimeoutId,\n\t result,\n\t stamp,\n\t thisArg,\n\t timeoutId,\n\t trailingCall,\n\t lastCalled = 0,\n\t maxWait = false,\n\t trailing = true;\n\t\n\t if (typeof func != 'function') {\n\t throw new TypeError(FUNC_ERROR_TEXT);\n\t }\n\t wait = wait < 0 ? 0 : (+wait || 0);\n\t if (options === true) {\n\t var leading = true;\n\t trailing = false;\n\t } else if (isObject(options)) {\n\t leading = !!options.leading;\n\t maxWait = 'maxWait' in options && nativeMax(+options.maxWait || 0, wait);\n\t trailing = 'trailing' in options ? !!options.trailing : trailing;\n\t }\n\t\n\t function cancel() {\n\t if (timeoutId) {\n\t clearTimeout(timeoutId);\n\t }\n\t if (maxTimeoutId) {\n\t clearTimeout(maxTimeoutId);\n\t }\n\t lastCalled = 0;\n\t maxTimeoutId = timeoutId = trailingCall = undefined;\n\t }\n\t\n\t function complete(isCalled, id) {\n\t if (id) {\n\t clearTimeout(id);\n\t }\n\t maxTimeoutId = timeoutId = trailingCall = undefined;\n\t if (isCalled) {\n\t lastCalled = now();\n\t result = func.apply(thisArg, args);\n\t if (!timeoutId && !maxTimeoutId) {\n\t args = thisArg = undefined;\n\t }\n\t }\n\t }\n\t\n\t function delayed() {\n\t var remaining = wait - (now() - stamp);\n\t if (remaining <= 0 || remaining > wait) {\n\t complete(trailingCall, maxTimeoutId);\n\t } else {\n\t timeoutId = setTimeout(delayed, remaining);\n\t }\n\t }\n\t\n\t function maxDelayed() {\n\t complete(trailing, timeoutId);\n\t }\n\t\n\t function debounced() {\n\t args = arguments;\n\t stamp = now();\n\t thisArg = this;\n\t trailingCall = trailing && (timeoutId || !leading);\n\t\n\t if (maxWait === false) {\n\t var leadingCall = leading && !timeoutId;\n\t } else {\n\t if (!maxTimeoutId && !leading) {\n\t lastCalled = stamp;\n\t }\n\t var remaining = maxWait - (stamp - lastCalled),\n\t isCalled = remaining <= 0 || remaining > maxWait;\n\t\n\t if (isCalled) {\n\t if (maxTimeoutId) {\n\t maxTimeoutId = clearTimeout(maxTimeoutId);\n\t }\n\t lastCalled = stamp;\n\t result = func.apply(thisArg, args);\n\t }\n\t else if (!maxTimeoutId) {\n\t maxTimeoutId = setTimeout(maxDelayed, remaining);\n\t }\n\t }\n\t if (isCalled && timeoutId) {\n\t timeoutId = clearTimeout(timeoutId);\n\t }\n\t else if (!timeoutId && wait !== maxWait) {\n\t timeoutId = setTimeout(delayed, wait);\n\t }\n\t if (leadingCall) {\n\t isCalled = true;\n\t result = func.apply(thisArg, args);\n\t }\n\t if (isCalled && !timeoutId && !maxTimeoutId) {\n\t args = thisArg = undefined;\n\t }\n\t return result;\n\t }\n\t debounced.cancel = cancel;\n\t return debounced;\n\t }\n\t\n\t /**\n\t * Defers invoking the `func` until the current call stack has cleared. Any\n\t * additional arguments are provided to `func` when it is invoked.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Function} func The function to defer.\n\t * @param {...*} [args] The arguments to invoke the function with.\n\t * @returns {number} Returns the timer id.\n\t * @example\n\t *\n\t * _.defer(function(text) {\n\t * console.log(text);\n\t * }, 'deferred');\n\t * // logs 'deferred' after one or more milliseconds\n\t */\n\t var defer = restParam(function(func, args) {\n\t return baseDelay(func, 1, args);\n\t });\n\t\n\t /**\n\t * Invokes `func` after `wait` milliseconds. Any additional arguments are\n\t * provided to `func` when it is invoked.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Function} func The function to delay.\n\t * @param {number} wait The number of milliseconds to delay invocation.\n\t * @param {...*} [args] The arguments to invoke the function with.\n\t * @returns {number} Returns the timer id.\n\t * @example\n\t *\n\t * _.delay(function(text) {\n\t * console.log(text);\n\t * }, 1000, 'later');\n\t * // => logs 'later' after one second\n\t */\n\t var delay = restParam(function(func, wait, args) {\n\t return baseDelay(func, wait, args);\n\t });\n\t\n\t /**\n\t * Creates a function that returns the result of invoking the provided\n\t * functions with the `this` binding of the created function, where each\n\t * successive invocation is supplied the return value of the previous.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {...Function} [funcs] Functions to invoke.\n\t * @returns {Function} Returns the new function.\n\t * @example\n\t *\n\t * function square(n) {\n\t * return n * n;\n\t * }\n\t *\n\t * var addSquare = _.flow(_.add, square);\n\t * addSquare(1, 2);\n\t * // => 9\n\t */\n\t var flow = createFlow();\n\t\n\t /**\n\t * This method is like `_.flow` except that it creates a function that\n\t * invokes the provided functions from right to left.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @alias backflow, compose\n\t * @category Function\n\t * @param {...Function} [funcs] Functions to invoke.\n\t * @returns {Function} Returns the new function.\n\t * @example\n\t *\n\t * function square(n) {\n\t * return n * n;\n\t * }\n\t *\n\t * var addSquare = _.flowRight(square, _.add);\n\t * addSquare(1, 2);\n\t * // => 9\n\t */\n\t var flowRight = createFlow(true);\n\t\n\t /**\n\t * Creates a function that memoizes the result of `func`. If `resolver` is\n\t * provided it determines the cache key for storing the result based on the\n\t * arguments provided to the memoized function. By default, the first argument\n\t * provided to the memoized function is coerced to a string and used as the\n\t * cache key. The `func` is invoked with the `this` binding of the memoized\n\t * function.\n\t *\n\t * **Note:** The cache is exposed as the `cache` property on the memoized\n\t * function. Its creation may be customized by replacing the `_.memoize.Cache`\n\t * constructor with one whose instances implement the [`Map`](http://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-map-prototype-object)\n\t * method interface of `get`, `has`, and `set`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Function} func The function to have its output memoized.\n\t * @param {Function} [resolver] The function to resolve the cache key.\n\t * @returns {Function} Returns the new memoizing function.\n\t * @example\n\t *\n\t * var upperCase = _.memoize(function(string) {\n\t * return string.toUpperCase();\n\t * });\n\t *\n\t * upperCase('fred');\n\t * // => 'FRED'\n\t *\n\t * // modifying the result cache\n\t * upperCase.cache.set('fred', 'BARNEY');\n\t * upperCase('fred');\n\t * // => 'BARNEY'\n\t *\n\t * // replacing `_.memoize.Cache`\n\t * var object = { 'user': 'fred' };\n\t * var other = { 'user': 'barney' };\n\t * var identity = _.memoize(_.identity);\n\t *\n\t * identity(object);\n\t * // => { 'user': 'fred' }\n\t * identity(other);\n\t * // => { 'user': 'fred' }\n\t *\n\t * _.memoize.Cache = WeakMap;\n\t * var identity = _.memoize(_.identity);\n\t *\n\t * identity(object);\n\t * // => { 'user': 'fred' }\n\t * identity(other);\n\t * // => { 'user': 'barney' }\n\t */\n\t function memoize(func, resolver) {\n\t if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {\n\t throw new TypeError(FUNC_ERROR_TEXT);\n\t }\n\t var memoized = function() {\n\t var args = arguments,\n\t key = resolver ? resolver.apply(this, args) : args[0],\n\t cache = memoized.cache;\n\t\n\t if (cache.has(key)) {\n\t return cache.get(key);\n\t }\n\t var result = func.apply(this, args);\n\t memoized.cache = cache.set(key, result);\n\t return result;\n\t };\n\t memoized.cache = new memoize.Cache;\n\t return memoized;\n\t }\n\t\n\t /**\n\t * Creates a function that runs each argument through a corresponding\n\t * transform function.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Function} func The function to wrap.\n\t * @param {...(Function|Function[])} [transforms] The functions to transform\n\t * arguments, specified as individual functions or arrays of functions.\n\t * @returns {Function} Returns the new function.\n\t * @example\n\t *\n\t * function doubled(n) {\n\t * return n * 2;\n\t * }\n\t *\n\t * function square(n) {\n\t * return n * n;\n\t * }\n\t *\n\t * var modded = _.modArgs(function(x, y) {\n\t * return [x, y];\n\t * }, square, doubled);\n\t *\n\t * modded(1, 2);\n\t * // => [1, 4]\n\t *\n\t * modded(5, 10);\n\t * // => [25, 20]\n\t */\n\t var modArgs = restParam(function(func, transforms) {\n\t transforms = baseFlatten(transforms);\n\t if (typeof func != 'function' || !arrayEvery(transforms, baseIsFunction)) {\n\t throw new TypeError(FUNC_ERROR_TEXT);\n\t }\n\t var length = transforms.length;\n\t return restParam(function(args) {\n\t var index = nativeMin(args.length, length);\n\t while (index--) {\n\t args[index] = transforms[index](args[index]);\n\t }\n\t return func.apply(this, args);\n\t });\n\t });\n\t\n\t /**\n\t * Creates a function that negates the result of the predicate `func`. The\n\t * `func` predicate is invoked with the `this` binding and arguments of the\n\t * created function.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Function} predicate The predicate to negate.\n\t * @returns {Function} Returns the new function.\n\t * @example\n\t *\n\t * function isEven(n) {\n\t * return n % 2 == 0;\n\t * }\n\t *\n\t * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n\t * // => [1, 3, 5]\n\t */\n\t function negate(predicate) {\n\t if (typeof predicate != 'function') {\n\t throw new TypeError(FUNC_ERROR_TEXT);\n\t }\n\t return function() {\n\t return !predicate.apply(this, arguments);\n\t };\n\t }\n\t\n\t /**\n\t * Creates a function that is restricted to invoking `func` once. Repeat calls\n\t * to the function return the value of the first call. The `func` is invoked\n\t * with the `this` binding and arguments of the created function.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Function} func The function to restrict.\n\t * @returns {Function} Returns the new restricted function.\n\t * @example\n\t *\n\t * var initialize = _.once(createApplication);\n\t * initialize();\n\t * initialize();\n\t * // `initialize` invokes `createApplication` once\n\t */\n\t function once(func) {\n\t return before(2, func);\n\t }\n\t\n\t /**\n\t * Creates a function that invokes `func` with `partial` arguments prepended\n\t * to those provided to the new function. This method is like `_.bind` except\n\t * it does **not** alter the `this` binding.\n\t *\n\t * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n\t * builds, may be used as a placeholder for partially applied arguments.\n\t *\n\t * **Note:** This method does not set the \"length\" property of partially\n\t * applied functions.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Function} func The function to partially apply arguments to.\n\t * @param {...*} [partials] The arguments to be partially applied.\n\t * @returns {Function} Returns the new partially applied function.\n\t * @example\n\t *\n\t * var greet = function(greeting, name) {\n\t * return greeting + ' ' + name;\n\t * };\n\t *\n\t * var sayHelloTo = _.partial(greet, 'hello');\n\t * sayHelloTo('fred');\n\t * // => 'hello fred'\n\t *\n\t * // using placeholders\n\t * var greetFred = _.partial(greet, _, 'fred');\n\t * greetFred('hi');\n\t * // => 'hi fred'\n\t */\n\t var partial = createPartial(PARTIAL_FLAG);\n\t\n\t /**\n\t * This method is like `_.partial` except that partially applied arguments\n\t * are appended to those provided to the new function.\n\t *\n\t * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n\t * builds, may be used as a placeholder for partially applied arguments.\n\t *\n\t * **Note:** This method does not set the \"length\" property of partially\n\t * applied functions.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Function} func The function to partially apply arguments to.\n\t * @param {...*} [partials] The arguments to be partially applied.\n\t * @returns {Function} Returns the new partially applied function.\n\t * @example\n\t *\n\t * var greet = function(greeting, name) {\n\t * return greeting + ' ' + name;\n\t * };\n\t *\n\t * var greetFred = _.partialRight(greet, 'fred');\n\t * greetFred('hi');\n\t * // => 'hi fred'\n\t *\n\t * // using placeholders\n\t * var sayHelloTo = _.partialRight(greet, 'hello', _);\n\t * sayHelloTo('fred');\n\t * // => 'hello fred'\n\t */\n\t var partialRight = createPartial(PARTIAL_RIGHT_FLAG);\n\t\n\t /**\n\t * Creates a function that invokes `func` with arguments arranged according\n\t * to the specified indexes where the argument value at the first index is\n\t * provided as the first argument, the argument value at the second index is\n\t * provided as the second argument, and so on.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Function} func The function to rearrange arguments for.\n\t * @param {...(number|number[])} indexes The arranged argument indexes,\n\t * specified as individual indexes or arrays of indexes.\n\t * @returns {Function} Returns the new function.\n\t * @example\n\t *\n\t * var rearged = _.rearg(function(a, b, c) {\n\t * return [a, b, c];\n\t * }, 2, 0, 1);\n\t *\n\t * rearged('b', 'c', 'a')\n\t * // => ['a', 'b', 'c']\n\t *\n\t * var map = _.rearg(_.map, [1, 0]);\n\t * map(function(n) {\n\t * return n * 3;\n\t * }, [1, 2, 3]);\n\t * // => [3, 6, 9]\n\t */\n\t var rearg = restParam(function(func, indexes) {\n\t return createWrapper(func, REARG_FLAG, undefined, undefined, undefined, baseFlatten(indexes));\n\t });\n\t\n\t /**\n\t * Creates a function that invokes `func` with the `this` binding of the\n\t * created function and arguments from `start` and beyond provided as an array.\n\t *\n\t * **Note:** This method is based on the [rest parameter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Function} func The function to apply a rest parameter to.\n\t * @param {number} [start=func.length-1] The start position of the rest parameter.\n\t * @returns {Function} Returns the new function.\n\t * @example\n\t *\n\t * var say = _.restParam(function(what, names) {\n\t * return what + ' ' + _.initial(names).join(', ') +\n\t * (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n\t * });\n\t *\n\t * say('hello', 'fred', 'barney', 'pebbles');\n\t * // => 'hello fred, barney, & pebbles'\n\t */\n\t function restParam(func, start) {\n\t if (typeof func != 'function') {\n\t throw new TypeError(FUNC_ERROR_TEXT);\n\t }\n\t start = nativeMax(start === undefined ? (func.length - 1) : (+start || 0), 0);\n\t return function() {\n\t var args = arguments,\n\t index = -1,\n\t length = nativeMax(args.length - start, 0),\n\t rest = Array(length);\n\t\n\t while (++index < length) {\n\t rest[index] = args[start + index];\n\t }\n\t switch (start) {\n\t case 0: return func.call(this, rest);\n\t case 1: return func.call(this, args[0], rest);\n\t case 2: return func.call(this, args[0], args[1], rest);\n\t }\n\t var otherArgs = Array(start + 1);\n\t index = -1;\n\t while (++index < start) {\n\t otherArgs[index] = args[index];\n\t }\n\t otherArgs[start] = rest;\n\t return func.apply(this, otherArgs);\n\t };\n\t }\n\t\n\t /**\n\t * Creates a function that invokes `func` with the `this` binding of the created\n\t * function and an array of arguments much like [`Function#apply`](https://es5.github.io/#x15.3.4.3).\n\t *\n\t * **Note:** This method is based on the [spread operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Function} func The function to spread arguments over.\n\t * @returns {Function} Returns the new function.\n\t * @example\n\t *\n\t * var say = _.spread(function(who, what) {\n\t * return who + ' says ' + what;\n\t * });\n\t *\n\t * say(['fred', 'hello']);\n\t * // => 'fred says hello'\n\t *\n\t * // with a Promise\n\t * var numbers = Promise.all([\n\t * Promise.resolve(40),\n\t * Promise.resolve(36)\n\t * ]);\n\t *\n\t * numbers.then(_.spread(function(x, y) {\n\t * return x + y;\n\t * }));\n\t * // => a Promise of 76\n\t */\n\t function spread(func) {\n\t if (typeof func != 'function') {\n\t throw new TypeError(FUNC_ERROR_TEXT);\n\t }\n\t return function(array) {\n\t return func.apply(this, array);\n\t };\n\t }\n\t\n\t /**\n\t * Creates a throttled function that only invokes `func` at most once per\n\t * every `wait` milliseconds. The throttled function comes with a `cancel`\n\t * method to cancel delayed invocations. Provide an options object to indicate\n\t * that `func` should be invoked on the leading and/or trailing edge of the\n\t * `wait` timeout. Subsequent calls to the throttled function return the\n\t * result of the last `func` call.\n\t *\n\t * **Note:** If `leading` and `trailing` options are `true`, `func` is invoked\n\t * on the trailing edge of the timeout only if the the throttled function is\n\t * invoked more than once during the `wait` timeout.\n\t *\n\t * See [David Corbacho's article](http://drupalmotion.com/article/debounce-and-throttle-visual-explanation)\n\t * for details over the differences between `_.throttle` and `_.debounce`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Function} func The function to throttle.\n\t * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n\t * @param {Object} [options] The options object.\n\t * @param {boolean} [options.leading=true] Specify invoking on the leading\n\t * edge of the timeout.\n\t * @param {boolean} [options.trailing=true] Specify invoking on the trailing\n\t * edge of the timeout.\n\t * @returns {Function} Returns the new throttled function.\n\t * @example\n\t *\n\t * // avoid excessively updating the position while scrolling\n\t * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n\t *\n\t * // invoke `renewToken` when the click event is fired, but not more than once every 5 minutes\n\t * jQuery('.interactive').on('click', _.throttle(renewToken, 300000, {\n\t * 'trailing': false\n\t * }));\n\t *\n\t * // cancel a trailing throttled call\n\t * jQuery(window).on('popstate', throttled.cancel);\n\t */\n\t function throttle(func, wait, options) {\n\t var leading = true,\n\t trailing = true;\n\t\n\t if (typeof func != 'function') {\n\t throw new TypeError(FUNC_ERROR_TEXT);\n\t }\n\t if (options === false) {\n\t leading = false;\n\t } else if (isObject(options)) {\n\t leading = 'leading' in options ? !!options.leading : leading;\n\t trailing = 'trailing' in options ? !!options.trailing : trailing;\n\t }\n\t return debounce(func, wait, { 'leading': leading, 'maxWait': +wait, 'trailing': trailing });\n\t }\n\t\n\t /**\n\t * Creates a function that provides `value` to the wrapper function as its\n\t * first argument. Any additional arguments provided to the function are\n\t * appended to those provided to the wrapper function. The wrapper is invoked\n\t * with the `this` binding of the created function.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {*} value The value to wrap.\n\t * @param {Function} wrapper The wrapper function.\n\t * @returns {Function} Returns the new function.\n\t * @example\n\t *\n\t * var p = _.wrap(_.escape, function(func, text) {\n\t * return '

' + func(text) + '

';\n\t * });\n\t *\n\t * p('fred, barney, & pebbles');\n\t * // => '

fred, barney, & pebbles

'\n\t */\n\t function wrap(value, wrapper) {\n\t wrapper = wrapper == null ? identity : wrapper;\n\t return createWrapper(wrapper, PARTIAL_FLAG, undefined, [value], []);\n\t }\n\t\n\t /*------------------------------------------------------------------------*/\n\t\n\t /**\n\t * Creates a clone of `value`. If `isDeep` is `true` nested objects are cloned,\n\t * otherwise they are assigned by reference. If `customizer` is provided it is\n\t * invoked to produce the cloned values. If `customizer` returns `undefined`\n\t * cloning is handled by the method instead. The `customizer` is bound to\n\t * `thisArg` and invoked with two argument; (value [, index|key, object]).\n\t *\n\t * **Note:** This method is loosely based on the\n\t * [structured clone algorithm](http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm).\n\t * The enumerable properties of `arguments` objects and objects created by\n\t * constructors other than `Object` are cloned to plain `Object` objects. An\n\t * empty object is returned for uncloneable values such as functions, DOM nodes,\n\t * Maps, Sets, and WeakMaps.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to clone.\n\t * @param {boolean} [isDeep] Specify a deep clone.\n\t * @param {Function} [customizer] The function to customize cloning values.\n\t * @param {*} [thisArg] The `this` binding of `customizer`.\n\t * @returns {*} Returns the cloned value.\n\t * @example\n\t *\n\t * var users = [\n\t * { 'user': 'barney' },\n\t * { 'user': 'fred' }\n\t * ];\n\t *\n\t * var shallow = _.clone(users);\n\t * shallow[0] === users[0];\n\t * // => true\n\t *\n\t * var deep = _.clone(users, true);\n\t * deep[0] === users[0];\n\t * // => false\n\t *\n\t * // using a customizer callback\n\t * var el = _.clone(document.body, function(value) {\n\t * if (_.isElement(value)) {\n\t * return value.cloneNode(false);\n\t * }\n\t * });\n\t *\n\t * el === document.body\n\t * // => false\n\t * el.nodeName\n\t * // => BODY\n\t * el.childNodes.length;\n\t * // => 0\n\t */\n\t function clone(value, isDeep, customizer, thisArg) {\n\t if (isDeep && typeof isDeep != 'boolean' && isIterateeCall(value, isDeep, customizer)) {\n\t isDeep = false;\n\t }\n\t else if (typeof isDeep == 'function') {\n\t thisArg = customizer;\n\t customizer = isDeep;\n\t isDeep = false;\n\t }\n\t return typeof customizer == 'function'\n\t ? baseClone(value, isDeep, bindCallback(customizer, thisArg, 1))\n\t : baseClone(value, isDeep);\n\t }\n\t\n\t /**\n\t * Creates a deep clone of `value`. If `customizer` is provided it is invoked\n\t * to produce the cloned values. If `customizer` returns `undefined` cloning\n\t * is handled by the method instead. The `customizer` is bound to `thisArg`\n\t * and invoked with two argument; (value [, index|key, object]).\n\t *\n\t * **Note:** This method is loosely based on the\n\t * [structured clone algorithm](http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm).\n\t * The enumerable properties of `arguments` objects and objects created by\n\t * constructors other than `Object` are cloned to plain `Object` objects. An\n\t * empty object is returned for uncloneable values such as functions, DOM nodes,\n\t * Maps, Sets, and WeakMaps.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to deep clone.\n\t * @param {Function} [customizer] The function to customize cloning values.\n\t * @param {*} [thisArg] The `this` binding of `customizer`.\n\t * @returns {*} Returns the deep cloned value.\n\t * @example\n\t *\n\t * var users = [\n\t * { 'user': 'barney' },\n\t * { 'user': 'fred' }\n\t * ];\n\t *\n\t * var deep = _.cloneDeep(users);\n\t * deep[0] === users[0];\n\t * // => false\n\t *\n\t * // using a customizer callback\n\t * var el = _.cloneDeep(document.body, function(value) {\n\t * if (_.isElement(value)) {\n\t * return value.cloneNode(true);\n\t * }\n\t * });\n\t *\n\t * el === document.body\n\t * // => false\n\t * el.nodeName\n\t * // => BODY\n\t * el.childNodes.length;\n\t * // => 20\n\t */\n\t function cloneDeep(value, customizer, thisArg) {\n\t return typeof customizer == 'function'\n\t ? baseClone(value, true, bindCallback(customizer, thisArg, 1))\n\t : baseClone(value, true);\n\t }\n\t\n\t /**\n\t * Checks if `value` is greater than `other`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to compare.\n\t * @param {*} other The other value to compare.\n\t * @returns {boolean} Returns `true` if `value` is greater than `other`, else `false`.\n\t * @example\n\t *\n\t * _.gt(3, 1);\n\t * // => true\n\t *\n\t * _.gt(3, 3);\n\t * // => false\n\t *\n\t * _.gt(1, 3);\n\t * // => false\n\t */\n\t function gt(value, other) {\n\t return value > other;\n\t }\n\t\n\t /**\n\t * Checks if `value` is greater than or equal to `other`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to compare.\n\t * @param {*} other The other value to compare.\n\t * @returns {boolean} Returns `true` if `value` is greater than or equal to `other`, else `false`.\n\t * @example\n\t *\n\t * _.gte(3, 1);\n\t * // => true\n\t *\n\t * _.gte(3, 3);\n\t * // => true\n\t *\n\t * _.gte(1, 3);\n\t * // => false\n\t */\n\t function gte(value, other) {\n\t return value >= other;\n\t }\n\t\n\t /**\n\t * Checks if `value` is classified as an `arguments` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isArguments(function() { return arguments; }());\n\t * // => true\n\t *\n\t * _.isArguments([1, 2, 3]);\n\t * // => false\n\t */\n\t function isArguments(value) {\n\t return isObjectLike(value) && isArrayLike(value) &&\n\t hasOwnProperty.call(value, 'callee') && !propertyIsEnumerable.call(value, 'callee');\n\t }\n\t\n\t /**\n\t * Checks if `value` is classified as an `Array` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isArray([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isArray(function() { return arguments; }());\n\t * // => false\n\t */\n\t var isArray = nativeIsArray || function(value) {\n\t return isObjectLike(value) && isLength(value.length) && objToString.call(value) == arrayTag;\n\t };\n\t\n\t /**\n\t * Checks if `value` is classified as a boolean primitive or object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isBoolean(false);\n\t * // => true\n\t *\n\t * _.isBoolean(null);\n\t * // => false\n\t */\n\t function isBoolean(value) {\n\t return value === true || value === false || (isObjectLike(value) && objToString.call(value) == boolTag);\n\t }\n\t\n\t /**\n\t * Checks if `value` is classified as a `Date` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isDate(new Date);\n\t * // => true\n\t *\n\t * _.isDate('Mon April 23 2012');\n\t * // => false\n\t */\n\t function isDate(value) {\n\t return isObjectLike(value) && objToString.call(value) == dateTag;\n\t }\n\t\n\t /**\n\t * Checks if `value` is a DOM element.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n\t * @example\n\t *\n\t * _.isElement(document.body);\n\t * // => true\n\t *\n\t * _.isElement('');\n\t * // => false\n\t */\n\t function isElement(value) {\n\t return !!value && value.nodeType === 1 && isObjectLike(value) && !isPlainObject(value);\n\t }\n\t\n\t /**\n\t * Checks if `value` is empty. A value is considered empty unless it is an\n\t * `arguments` object, array, string, or jQuery-like collection with a length\n\t * greater than `0` or an object with own enumerable properties.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {Array|Object|string} value The value to inspect.\n\t * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n\t * @example\n\t *\n\t * _.isEmpty(null);\n\t * // => true\n\t *\n\t * _.isEmpty(true);\n\t * // => true\n\t *\n\t * _.isEmpty(1);\n\t * // => true\n\t *\n\t * _.isEmpty([1, 2, 3]);\n\t * // => false\n\t *\n\t * _.isEmpty({ 'a': 1 });\n\t * // => false\n\t */\n\t function isEmpty(value) {\n\t if (value == null) {\n\t return true;\n\t }\n\t if (isArrayLike(value) && (isArray(value) || isString(value) || isArguments(value) ||\n\t (isObjectLike(value) && isFunction(value.splice)))) {\n\t return !value.length;\n\t }\n\t return !keys(value).length;\n\t }\n\t\n\t /**\n\t * Performs a deep comparison between two values to determine if they are\n\t * equivalent. If `customizer` is provided it is invoked to compare values.\n\t * If `customizer` returns `undefined` comparisons are handled by the method\n\t * instead. The `customizer` is bound to `thisArg` and invoked with three\n\t * arguments: (value, other [, index|key]).\n\t *\n\t * **Note:** This method supports comparing arrays, booleans, `Date` objects,\n\t * numbers, `Object` objects, regexes, and strings. Objects are compared by\n\t * their own, not inherited, enumerable properties. Functions and DOM nodes\n\t * are **not** supported. Provide a customizer function to extend support\n\t * for comparing other values.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @alias eq\n\t * @category Lang\n\t * @param {*} value The value to compare.\n\t * @param {*} other The other value to compare.\n\t * @param {Function} [customizer] The function to customize value comparisons.\n\t * @param {*} [thisArg] The `this` binding of `customizer`.\n\t * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n\t * @example\n\t *\n\t * var object = { 'user': 'fred' };\n\t * var other = { 'user': 'fred' };\n\t *\n\t * object == other;\n\t * // => false\n\t *\n\t * _.isEqual(object, other);\n\t * // => true\n\t *\n\t * // using a customizer callback\n\t * var array = ['hello', 'goodbye'];\n\t * var other = ['hi', 'goodbye'];\n\t *\n\t * _.isEqual(array, other, function(value, other) {\n\t * if (_.every([value, other], RegExp.prototype.test, /^h(?:i|ello)$/)) {\n\t * return true;\n\t * }\n\t * });\n\t * // => true\n\t */\n\t function isEqual(value, other, customizer, thisArg) {\n\t customizer = typeof customizer == 'function' ? bindCallback(customizer, thisArg, 3) : undefined;\n\t var result = customizer ? customizer(value, other) : undefined;\n\t return result === undefined ? baseIsEqual(value, other, customizer) : !!result;\n\t }\n\t\n\t /**\n\t * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n\t * `SyntaxError`, `TypeError`, or `URIError` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n\t * @example\n\t *\n\t * _.isError(new Error);\n\t * // => true\n\t *\n\t * _.isError(Error);\n\t * // => false\n\t */\n\t function isError(value) {\n\t return isObjectLike(value) && typeof value.message == 'string' && objToString.call(value) == errorTag;\n\t }\n\t\n\t /**\n\t * Checks if `value` is a finite primitive number.\n\t *\n\t * **Note:** This method is based on [`Number.isFinite`](http://ecma-international.org/ecma-262/6.0/#sec-number.isfinite).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\n\t * @example\n\t *\n\t * _.isFinite(10);\n\t * // => true\n\t *\n\t * _.isFinite('10');\n\t * // => false\n\t *\n\t * _.isFinite(true);\n\t * // => false\n\t *\n\t * _.isFinite(Object(10));\n\t * // => false\n\t *\n\t * _.isFinite(Infinity);\n\t * // => false\n\t */\n\t function isFinite(value) {\n\t return typeof value == 'number' && nativeIsFinite(value);\n\t }\n\t\n\t /**\n\t * Checks if `value` is classified as a `Function` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isFunction(_);\n\t * // => true\n\t *\n\t * _.isFunction(/abc/);\n\t * // => false\n\t */\n\t function isFunction(value) {\n\t // The use of `Object#toString` avoids issues with the `typeof` operator\n\t // in older versions of Chrome and Safari which return 'function' for regexes\n\t // and Safari 8 equivalents which return 'object' for typed array constructors.\n\t return isObject(value) && objToString.call(value) == funcTag;\n\t }\n\t\n\t /**\n\t * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.\n\t * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n\t * @example\n\t *\n\t * _.isObject({});\n\t * // => true\n\t *\n\t * _.isObject([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObject(1);\n\t * // => false\n\t */\n\t function isObject(value) {\n\t // Avoid a V8 JIT bug in Chrome 19-20.\n\t // See https://code.google.com/p/v8/issues/detail?id=2291 for more details.\n\t var type = typeof value;\n\t return !!value && (type == 'object' || type == 'function');\n\t }\n\t\n\t /**\n\t * Performs a deep comparison between `object` and `source` to determine if\n\t * `object` contains equivalent property values. If `customizer` is provided\n\t * it is invoked to compare values. If `customizer` returns `undefined`\n\t * comparisons are handled by the method instead. The `customizer` is bound\n\t * to `thisArg` and invoked with three arguments: (value, other, index|key).\n\t *\n\t * **Note:** This method supports comparing properties of arrays, booleans,\n\t * `Date` objects, numbers, `Object` objects, regexes, and strings. Functions\n\t * and DOM nodes are **not** supported. Provide a customizer function to extend\n\t * support for comparing other values.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {Object} object The object to inspect.\n\t * @param {Object} source The object of property values to match.\n\t * @param {Function} [customizer] The function to customize value comparisons.\n\t * @param {*} [thisArg] The `this` binding of `customizer`.\n\t * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n\t * @example\n\t *\n\t * var object = { 'user': 'fred', 'age': 40 };\n\t *\n\t * _.isMatch(object, { 'age': 40 });\n\t * // => true\n\t *\n\t * _.isMatch(object, { 'age': 36 });\n\t * // => false\n\t *\n\t * // using a customizer callback\n\t * var object = { 'greeting': 'hello' };\n\t * var source = { 'greeting': 'hi' };\n\t *\n\t * _.isMatch(object, source, function(value, other) {\n\t * return _.every([value, other], RegExp.prototype.test, /^h(?:i|ello)$/) || undefined;\n\t * });\n\t * // => true\n\t */\n\t function isMatch(object, source, customizer, thisArg) {\n\t customizer = typeof customizer == 'function' ? bindCallback(customizer, thisArg, 3) : undefined;\n\t return baseIsMatch(object, getMatchData(source), customizer);\n\t }\n\t\n\t /**\n\t * Checks if `value` is `NaN`.\n\t *\n\t * **Note:** This method is not the same as [`isNaN`](https://es5.github.io/#x15.1.2.4)\n\t * which returns `true` for `undefined` and other non-numeric values.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n\t * @example\n\t *\n\t * _.isNaN(NaN);\n\t * // => true\n\t *\n\t * _.isNaN(new Number(NaN));\n\t * // => true\n\t *\n\t * isNaN(undefined);\n\t * // => true\n\t *\n\t * _.isNaN(undefined);\n\t * // => false\n\t */\n\t function isNaN(value) {\n\t // An `NaN` primitive is the only value that is not equal to itself.\n\t // Perform the `toStringTag` check first to avoid errors with some host objects in IE.\n\t return isNumber(value) && value != +value;\n\t }\n\t\n\t /**\n\t * Checks if `value` is a native function.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a native function, else `false`.\n\t * @example\n\t *\n\t * _.isNative(Array.prototype.push);\n\t * // => true\n\t *\n\t * _.isNative(_);\n\t * // => false\n\t */\n\t function isNative(value) {\n\t if (value == null) {\n\t return false;\n\t }\n\t if (isFunction(value)) {\n\t return reIsNative.test(fnToString.call(value));\n\t }\n\t return isObjectLike(value) && reIsHostCtor.test(value);\n\t }\n\t\n\t /**\n\t * Checks if `value` is `null`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n\t * @example\n\t *\n\t * _.isNull(null);\n\t * // => true\n\t *\n\t * _.isNull(void 0);\n\t * // => false\n\t */\n\t function isNull(value) {\n\t return value === null;\n\t }\n\t\n\t /**\n\t * Checks if `value` is classified as a `Number` primitive or object.\n\t *\n\t * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are classified\n\t * as numbers, use the `_.isFinite` method.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isNumber(8.4);\n\t * // => true\n\t *\n\t * _.isNumber(NaN);\n\t * // => true\n\t *\n\t * _.isNumber('8.4');\n\t * // => false\n\t */\n\t function isNumber(value) {\n\t return typeof value == 'number' || (isObjectLike(value) && objToString.call(value) == numberTag);\n\t }\n\t\n\t /**\n\t * Checks if `value` is a plain object, that is, an object created by the\n\t * `Object` constructor or one with a `[[Prototype]]` of `null`.\n\t *\n\t * **Note:** This method assumes objects created by the `Object` constructor\n\t * have no inherited enumerable properties.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n\t * @example\n\t *\n\t * function Foo() {\n\t * this.a = 1;\n\t * }\n\t *\n\t * _.isPlainObject(new Foo);\n\t * // => false\n\t *\n\t * _.isPlainObject([1, 2, 3]);\n\t * // => false\n\t *\n\t * _.isPlainObject({ 'x': 0, 'y': 0 });\n\t * // => true\n\t *\n\t * _.isPlainObject(Object.create(null));\n\t * // => true\n\t */\n\t function isPlainObject(value) {\n\t var Ctor;\n\t\n\t // Exit early for non `Object` objects.\n\t if (!(isObjectLike(value) && objToString.call(value) == objectTag && !isArguments(value)) ||\n\t (!hasOwnProperty.call(value, 'constructor') && (Ctor = value.constructor, typeof Ctor == 'function' && !(Ctor instanceof Ctor)))) {\n\t return false;\n\t }\n\t // IE < 9 iterates inherited properties before own properties. If the first\n\t // iterated property is an object's own property then there are no inherited\n\t // enumerable properties.\n\t var result;\n\t // In most environments an object's own properties are iterated before\n\t // its inherited properties. If the last iterated property is an object's\n\t // own property then there are no inherited enumerable properties.\n\t baseForIn(value, function(subValue, key) {\n\t result = key;\n\t });\n\t return result === undefined || hasOwnProperty.call(value, result);\n\t }\n\t\n\t /**\n\t * Checks if `value` is classified as a `RegExp` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isRegExp(/abc/);\n\t * // => true\n\t *\n\t * _.isRegExp('/abc/');\n\t * // => false\n\t */\n\t function isRegExp(value) {\n\t return isObject(value) && objToString.call(value) == regexpTag;\n\t }\n\t\n\t /**\n\t * Checks if `value` is classified as a `String` primitive or object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isString('abc');\n\t * // => true\n\t *\n\t * _.isString(1);\n\t * // => false\n\t */\n\t function isString(value) {\n\t return typeof value == 'string' || (isObjectLike(value) && objToString.call(value) == stringTag);\n\t }\n\t\n\t /**\n\t * Checks if `value` is classified as a typed array.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isTypedArray(new Uint8Array);\n\t * // => true\n\t *\n\t * _.isTypedArray([]);\n\t * // => false\n\t */\n\t function isTypedArray(value) {\n\t return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[objToString.call(value)];\n\t }\n\t\n\t /**\n\t * Checks if `value` is `undefined`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n\t * @example\n\t *\n\t * _.isUndefined(void 0);\n\t * // => true\n\t *\n\t * _.isUndefined(null);\n\t * // => false\n\t */\n\t function isUndefined(value) {\n\t return value === undefined;\n\t }\n\t\n\t /**\n\t * Checks if `value` is less than `other`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to compare.\n\t * @param {*} other The other value to compare.\n\t * @returns {boolean} Returns `true` if `value` is less than `other`, else `false`.\n\t * @example\n\t *\n\t * _.lt(1, 3);\n\t * // => true\n\t *\n\t * _.lt(3, 3);\n\t * // => false\n\t *\n\t * _.lt(3, 1);\n\t * // => false\n\t */\n\t function lt(value, other) {\n\t return value < other;\n\t }\n\t\n\t /**\n\t * Checks if `value` is less than or equal to `other`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to compare.\n\t * @param {*} other The other value to compare.\n\t * @returns {boolean} Returns `true` if `value` is less than or equal to `other`, else `false`.\n\t * @example\n\t *\n\t * _.lte(1, 3);\n\t * // => true\n\t *\n\t * _.lte(3, 3);\n\t * // => true\n\t *\n\t * _.lte(3, 1);\n\t * // => false\n\t */\n\t function lte(value, other) {\n\t return value <= other;\n\t }\n\t\n\t /**\n\t * Converts `value` to an array.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to convert.\n\t * @returns {Array} Returns the converted array.\n\t * @example\n\t *\n\t * (function() {\n\t * return _.toArray(arguments).slice(1);\n\t * }(1, 2, 3));\n\t * // => [2, 3]\n\t */\n\t function toArray(value) {\n\t var length = value ? getLength(value) : 0;\n\t if (!isLength(length)) {\n\t return values(value);\n\t }\n\t if (!length) {\n\t return [];\n\t }\n\t return arrayCopy(value);\n\t }\n\t\n\t /**\n\t * Converts `value` to a plain object flattening inherited enumerable\n\t * properties of `value` to own properties of the plain object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to convert.\n\t * @returns {Object} Returns the converted plain object.\n\t * @example\n\t *\n\t * function Foo() {\n\t * this.b = 2;\n\t * }\n\t *\n\t * Foo.prototype.c = 3;\n\t *\n\t * _.assign({ 'a': 1 }, new Foo);\n\t * // => { 'a': 1, 'b': 2 }\n\t *\n\t * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n\t * // => { 'a': 1, 'b': 2, 'c': 3 }\n\t */\n\t function toPlainObject(value) {\n\t return baseCopy(value, keysIn(value));\n\t }\n\t\n\t /*------------------------------------------------------------------------*/\n\t\n\t /**\n\t * Recursively merges own enumerable properties of the source object(s), that\n\t * don't resolve to `undefined` into the destination object. Subsequent sources\n\t * overwrite property assignments of previous sources. If `customizer` is\n\t * provided it is invoked to produce the merged values of the destination and\n\t * source properties. If `customizer` returns `undefined` merging is handled\n\t * by the method instead. The `customizer` is bound to `thisArg` and invoked\n\t * with five arguments: (objectValue, sourceValue, key, object, source).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The destination object.\n\t * @param {...Object} [sources] The source objects.\n\t * @param {Function} [customizer] The function to customize assigned values.\n\t * @param {*} [thisArg] The `this` binding of `customizer`.\n\t * @returns {Object} Returns `object`.\n\t * @example\n\t *\n\t * var users = {\n\t * 'data': [{ 'user': 'barney' }, { 'user': 'fred' }]\n\t * };\n\t *\n\t * var ages = {\n\t * 'data': [{ 'age': 36 }, { 'age': 40 }]\n\t * };\n\t *\n\t * _.merge(users, ages);\n\t * // => { 'data': [{ 'user': 'barney', 'age': 36 }, { 'user': 'fred', 'age': 40 }] }\n\t *\n\t * // using a customizer callback\n\t * var object = {\n\t * 'fruits': ['apple'],\n\t * 'vegetables': ['beet']\n\t * };\n\t *\n\t * var other = {\n\t * 'fruits': ['banana'],\n\t * 'vegetables': ['carrot']\n\t * };\n\t *\n\t * _.merge(object, other, function(a, b) {\n\t * if (_.isArray(a)) {\n\t * return a.concat(b);\n\t * }\n\t * });\n\t * // => { 'fruits': ['apple', 'banana'], 'vegetables': ['beet', 'carrot'] }\n\t */\n\t var merge = createAssigner(baseMerge);\n\t\n\t /**\n\t * Assigns own enumerable properties of source object(s) to the destination\n\t * object. Subsequent sources overwrite property assignments of previous sources.\n\t * If `customizer` is provided it is invoked to produce the assigned values.\n\t * The `customizer` is bound to `thisArg` and invoked with five arguments:\n\t * (objectValue, sourceValue, key, object, source).\n\t *\n\t * **Note:** This method mutates `object` and is based on\n\t * [`Object.assign`](http://ecma-international.org/ecma-262/6.0/#sec-object.assign).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @alias extend\n\t * @category Object\n\t * @param {Object} object The destination object.\n\t * @param {...Object} [sources] The source objects.\n\t * @param {Function} [customizer] The function to customize assigned values.\n\t * @param {*} [thisArg] The `this` binding of `customizer`.\n\t * @returns {Object} Returns `object`.\n\t * @example\n\t *\n\t * _.assign({ 'user': 'barney' }, { 'age': 40 }, { 'user': 'fred' });\n\t * // => { 'user': 'fred', 'age': 40 }\n\t *\n\t * // using a customizer callback\n\t * var defaults = _.partialRight(_.assign, function(value, other) {\n\t * return _.isUndefined(value) ? other : value;\n\t * });\n\t *\n\t * defaults({ 'user': 'barney' }, { 'age': 36 }, { 'user': 'fred' });\n\t * // => { 'user': 'barney', 'age': 36 }\n\t */\n\t var assign = createAssigner(function(object, source, customizer) {\n\t return customizer\n\t ? assignWith(object, source, customizer)\n\t : baseAssign(object, source);\n\t });\n\t\n\t /**\n\t * Creates an object that inherits from the given `prototype` object. If a\n\t * `properties` object is provided its own enumerable properties are assigned\n\t * to the created object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} prototype The object to inherit from.\n\t * @param {Object} [properties] The properties to assign to the object.\n\t * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t * @returns {Object} Returns the new object.\n\t * @example\n\t *\n\t * function Shape() {\n\t * this.x = 0;\n\t * this.y = 0;\n\t * }\n\t *\n\t * function Circle() {\n\t * Shape.call(this);\n\t * }\n\t *\n\t * Circle.prototype = _.create(Shape.prototype, {\n\t * 'constructor': Circle\n\t * });\n\t *\n\t * var circle = new Circle;\n\t * circle instanceof Circle;\n\t * // => true\n\t *\n\t * circle instanceof Shape;\n\t * // => true\n\t */\n\t function create(prototype, properties, guard) {\n\t var result = baseCreate(prototype);\n\t if (guard && isIterateeCall(prototype, properties, guard)) {\n\t properties = undefined;\n\t }\n\t return properties ? baseAssign(result, properties) : result;\n\t }\n\t\n\t /**\n\t * Assigns own enumerable properties of source object(s) to the destination\n\t * object for all destination properties that resolve to `undefined`. Once a\n\t * property is set, additional values of the same property are ignored.\n\t *\n\t * **Note:** This method mutates `object`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The destination object.\n\t * @param {...Object} [sources] The source objects.\n\t * @returns {Object} Returns `object`.\n\t * @example\n\t *\n\t * _.defaults({ 'user': 'barney' }, { 'age': 36 }, { 'user': 'fred' });\n\t * // => { 'user': 'barney', 'age': 36 }\n\t */\n\t var defaults = createDefaults(assign, assignDefaults);\n\t\n\t /**\n\t * This method is like `_.defaults` except that it recursively assigns\n\t * default properties.\n\t *\n\t * **Note:** This method mutates `object`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The destination object.\n\t * @param {...Object} [sources] The source objects.\n\t * @returns {Object} Returns `object`.\n\t * @example\n\t *\n\t * _.defaultsDeep({ 'user': { 'name': 'barney' } }, { 'user': { 'name': 'fred', 'age': 36 } });\n\t * // => { 'user': { 'name': 'barney', 'age': 36 } }\n\t *\n\t */\n\t var defaultsDeep = createDefaults(merge, mergeDefaults);\n\t\n\t /**\n\t * This method is like `_.find` except that it returns the key of the first\n\t * element `predicate` returns truthy for instead of the element itself.\n\t *\n\t * If a property name is provided for `predicate` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `predicate` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to search.\n\t * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `predicate`.\n\t * @returns {string|undefined} Returns the key of the matched element, else `undefined`.\n\t * @example\n\t *\n\t * var users = {\n\t * 'barney': { 'age': 36, 'active': true },\n\t * 'fred': { 'age': 40, 'active': false },\n\t * 'pebbles': { 'age': 1, 'active': true }\n\t * };\n\t *\n\t * _.findKey(users, function(chr) {\n\t * return chr.age < 40;\n\t * });\n\t * // => 'barney' (iteration order is not guaranteed)\n\t *\n\t * // using the `_.matches` callback shorthand\n\t * _.findKey(users, { 'age': 1, 'active': true });\n\t * // => 'pebbles'\n\t *\n\t * // using the `_.matchesProperty` callback shorthand\n\t * _.findKey(users, 'active', false);\n\t * // => 'fred'\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.findKey(users, 'active');\n\t * // => 'barney'\n\t */\n\t var findKey = createFindKey(baseForOwn);\n\t\n\t /**\n\t * This method is like `_.findKey` except that it iterates over elements of\n\t * a collection in the opposite order.\n\t *\n\t * If a property name is provided for `predicate` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `predicate` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to search.\n\t * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `predicate`.\n\t * @returns {string|undefined} Returns the key of the matched element, else `undefined`.\n\t * @example\n\t *\n\t * var users = {\n\t * 'barney': { 'age': 36, 'active': true },\n\t * 'fred': { 'age': 40, 'active': false },\n\t * 'pebbles': { 'age': 1, 'active': true }\n\t * };\n\t *\n\t * _.findLastKey(users, function(chr) {\n\t * return chr.age < 40;\n\t * });\n\t * // => returns `pebbles` assuming `_.findKey` returns `barney`\n\t *\n\t * // using the `_.matches` callback shorthand\n\t * _.findLastKey(users, { 'age': 36, 'active': true });\n\t * // => 'barney'\n\t *\n\t * // using the `_.matchesProperty` callback shorthand\n\t * _.findLastKey(users, 'active', false);\n\t * // => 'fred'\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.findLastKey(users, 'active');\n\t * // => 'pebbles'\n\t */\n\t var findLastKey = createFindKey(baseForOwnRight);\n\t\n\t /**\n\t * Iterates over own and inherited enumerable properties of an object invoking\n\t * `iteratee` for each property. The `iteratee` is bound to `thisArg` and invoked\n\t * with three arguments: (value, key, object). Iteratee functions may exit\n\t * iteration early by explicitly returning `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to iterate over.\n\t * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {Object} Returns `object`.\n\t * @example\n\t *\n\t * function Foo() {\n\t * this.a = 1;\n\t * this.b = 2;\n\t * }\n\t *\n\t * Foo.prototype.c = 3;\n\t *\n\t * _.forIn(new Foo, function(value, key) {\n\t * console.log(key);\n\t * });\n\t * // => logs 'a', 'b', and 'c' (iteration order is not guaranteed)\n\t */\n\t var forIn = createForIn(baseFor);\n\t\n\t /**\n\t * This method is like `_.forIn` except that it iterates over properties of\n\t * `object` in the opposite order.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to iterate over.\n\t * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {Object} Returns `object`.\n\t * @example\n\t *\n\t * function Foo() {\n\t * this.a = 1;\n\t * this.b = 2;\n\t * }\n\t *\n\t * Foo.prototype.c = 3;\n\t *\n\t * _.forInRight(new Foo, function(value, key) {\n\t * console.log(key);\n\t * });\n\t * // => logs 'c', 'b', and 'a' assuming `_.forIn ` logs 'a', 'b', and 'c'\n\t */\n\t var forInRight = createForIn(baseForRight);\n\t\n\t /**\n\t * Iterates over own enumerable properties of an object invoking `iteratee`\n\t * for each property. The `iteratee` is bound to `thisArg` and invoked with\n\t * three arguments: (value, key, object). Iteratee functions may exit iteration\n\t * early by explicitly returning `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to iterate over.\n\t * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {Object} Returns `object`.\n\t * @example\n\t *\n\t * function Foo() {\n\t * this.a = 1;\n\t * this.b = 2;\n\t * }\n\t *\n\t * Foo.prototype.c = 3;\n\t *\n\t * _.forOwn(new Foo, function(value, key) {\n\t * console.log(key);\n\t * });\n\t * // => logs 'a' and 'b' (iteration order is not guaranteed)\n\t */\n\t var forOwn = createForOwn(baseForOwn);\n\t\n\t /**\n\t * This method is like `_.forOwn` except that it iterates over properties of\n\t * `object` in the opposite order.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to iterate over.\n\t * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {Object} Returns `object`.\n\t * @example\n\t *\n\t * function Foo() {\n\t * this.a = 1;\n\t * this.b = 2;\n\t * }\n\t *\n\t * Foo.prototype.c = 3;\n\t *\n\t * _.forOwnRight(new Foo, function(value, key) {\n\t * console.log(key);\n\t * });\n\t * // => logs 'b' and 'a' assuming `_.forOwn` logs 'a' and 'b'\n\t */\n\t var forOwnRight = createForOwn(baseForOwnRight);\n\t\n\t /**\n\t * Creates an array of function property names from all enumerable properties,\n\t * own and inherited, of `object`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @alias methods\n\t * @category Object\n\t * @param {Object} object The object to inspect.\n\t * @returns {Array} Returns the new array of property names.\n\t * @example\n\t *\n\t * _.functions(_);\n\t * // => ['after', 'ary', 'assign', ...]\n\t */\n\t function functions(object) {\n\t return baseFunctions(object, keysIn(object));\n\t }\n\t\n\t /**\n\t * Gets the property value at `path` of `object`. If the resolved value is\n\t * `undefined` the `defaultValue` is used in its place.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to query.\n\t * @param {Array|string} path The path of the property to get.\n\t * @param {*} [defaultValue] The value returned if the resolved value is `undefined`.\n\t * @returns {*} Returns the resolved value.\n\t * @example\n\t *\n\t * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n\t *\n\t * _.get(object, 'a[0].b.c');\n\t * // => 3\n\t *\n\t * _.get(object, ['a', '0', 'b', 'c']);\n\t * // => 3\n\t *\n\t * _.get(object, 'a.b.c', 'default');\n\t * // => 'default'\n\t */\n\t function get(object, path, defaultValue) {\n\t var result = object == null ? undefined : baseGet(object, toPath(path), path + '');\n\t return result === undefined ? defaultValue : result;\n\t }\n\t\n\t /**\n\t * Checks if `path` is a direct property.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to query.\n\t * @param {Array|string} path The path to check.\n\t * @returns {boolean} Returns `true` if `path` is a direct property, else `false`.\n\t * @example\n\t *\n\t * var object = { 'a': { 'b': { 'c': 3 } } };\n\t *\n\t * _.has(object, 'a');\n\t * // => true\n\t *\n\t * _.has(object, 'a.b.c');\n\t * // => true\n\t *\n\t * _.has(object, ['a', 'b', 'c']);\n\t * // => true\n\t */\n\t function has(object, path) {\n\t if (object == null) {\n\t return false;\n\t }\n\t var result = hasOwnProperty.call(object, path);\n\t if (!result && !isKey(path)) {\n\t path = toPath(path);\n\t object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\n\t if (object == null) {\n\t return false;\n\t }\n\t path = last(path);\n\t result = hasOwnProperty.call(object, path);\n\t }\n\t return result || (isLength(object.length) && isIndex(path, object.length) &&\n\t (isArray(object) || isArguments(object)));\n\t }\n\t\n\t /**\n\t * Creates an object composed of the inverted keys and values of `object`.\n\t * If `object` contains duplicate values, subsequent values overwrite property\n\t * assignments of previous values unless `multiValue` is `true`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to invert.\n\t * @param {boolean} [multiValue] Allow multiple values per key.\n\t * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t * @returns {Object} Returns the new inverted object.\n\t * @example\n\t *\n\t * var object = { 'a': 1, 'b': 2, 'c': 1 };\n\t *\n\t * _.invert(object);\n\t * // => { '1': 'c', '2': 'b' }\n\t *\n\t * // with `multiValue`\n\t * _.invert(object, true);\n\t * // => { '1': ['a', 'c'], '2': ['b'] }\n\t */\n\t function invert(object, multiValue, guard) {\n\t if (guard && isIterateeCall(object, multiValue, guard)) {\n\t multiValue = undefined;\n\t }\n\t var index = -1,\n\t props = keys(object),\n\t length = props.length,\n\t result = {};\n\t\n\t while (++index < length) {\n\t var key = props[index],\n\t value = object[key];\n\t\n\t if (multiValue) {\n\t if (hasOwnProperty.call(result, value)) {\n\t result[value].push(key);\n\t } else {\n\t result[value] = [key];\n\t }\n\t }\n\t else {\n\t result[value] = key;\n\t }\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * Creates an array of the own enumerable property names of `object`.\n\t *\n\t * **Note:** Non-object values are coerced to objects. See the\n\t * [ES spec](http://ecma-international.org/ecma-262/6.0/#sec-object.keys)\n\t * for more details.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to query.\n\t * @returns {Array} Returns the array of property names.\n\t * @example\n\t *\n\t * function Foo() {\n\t * this.a = 1;\n\t * this.b = 2;\n\t * }\n\t *\n\t * Foo.prototype.c = 3;\n\t *\n\t * _.keys(new Foo);\n\t * // => ['a', 'b'] (iteration order is not guaranteed)\n\t *\n\t * _.keys('hi');\n\t * // => ['0', '1']\n\t */\n\t var keys = !nativeKeys ? shimKeys : function(object) {\n\t var Ctor = object == null ? undefined : object.constructor;\n\t if ((typeof Ctor == 'function' && Ctor.prototype === object) ||\n\t (typeof object != 'function' && isArrayLike(object))) {\n\t return shimKeys(object);\n\t }\n\t return isObject(object) ? nativeKeys(object) : [];\n\t };\n\t\n\t /**\n\t * Creates an array of the own and inherited enumerable property names of `object`.\n\t *\n\t * **Note:** Non-object values are coerced to objects.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to query.\n\t * @returns {Array} Returns the array of property names.\n\t * @example\n\t *\n\t * function Foo() {\n\t * this.a = 1;\n\t * this.b = 2;\n\t * }\n\t *\n\t * Foo.prototype.c = 3;\n\t *\n\t * _.keysIn(new Foo);\n\t * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n\t */\n\t function keysIn(object) {\n\t if (object == null) {\n\t return [];\n\t }\n\t if (!isObject(object)) {\n\t object = Object(object);\n\t }\n\t var length = object.length;\n\t length = (length && isLength(length) &&\n\t (isArray(object) || isArguments(object)) && length) || 0;\n\t\n\t var Ctor = object.constructor,\n\t index = -1,\n\t isProto = typeof Ctor == 'function' && Ctor.prototype === object,\n\t result = Array(length),\n\t skipIndexes = length > 0;\n\t\n\t while (++index < length) {\n\t result[index] = (index + '');\n\t }\n\t for (var key in object) {\n\t if (!(skipIndexes && isIndex(key, length)) &&\n\t !(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n\t result.push(key);\n\t }\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * The opposite of `_.mapValues`; this method creates an object with the\n\t * same values as `object` and keys generated by running each own enumerable\n\t * property of `object` through `iteratee`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to iterate over.\n\t * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {Object} Returns the new mapped object.\n\t * @example\n\t *\n\t * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n\t * return key + value;\n\t * });\n\t * // => { 'a1': 1, 'b2': 2 }\n\t */\n\t var mapKeys = createObjectMapper(true);\n\t\n\t /**\n\t * Creates an object with the same keys as `object` and values generated by\n\t * running each own enumerable property of `object` through `iteratee`. The\n\t * iteratee function is bound to `thisArg` and invoked with three arguments:\n\t * (value, key, object).\n\t *\n\t * If a property name is provided for `iteratee` the created `_.property`\n\t * style callback returns the property value of the given element.\n\t *\n\t * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t * style callback returns `true` for elements that have a matching property\n\t * value, else `false`.\n\t *\n\t * If an object is provided for `iteratee` the created `_.matches` style\n\t * callback returns `true` for elements that have the properties of the given\n\t * object, else `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to iterate over.\n\t * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t * per iteration.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {Object} Returns the new mapped object.\n\t * @example\n\t *\n\t * _.mapValues({ 'a': 1, 'b': 2 }, function(n) {\n\t * return n * 3;\n\t * });\n\t * // => { 'a': 3, 'b': 6 }\n\t *\n\t * var users = {\n\t * 'fred': { 'user': 'fred', 'age': 40 },\n\t * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n\t * };\n\t *\n\t * // using the `_.property` callback shorthand\n\t * _.mapValues(users, 'age');\n\t * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n\t */\n\t var mapValues = createObjectMapper();\n\t\n\t /**\n\t * The opposite of `_.pick`; this method creates an object composed of the\n\t * own and inherited enumerable properties of `object` that are not omitted.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The source object.\n\t * @param {Function|...(string|string[])} [predicate] The function invoked per\n\t * iteration or property names to omit, specified as individual property\n\t * names or arrays of property names.\n\t * @param {*} [thisArg] The `this` binding of `predicate`.\n\t * @returns {Object} Returns the new object.\n\t * @example\n\t *\n\t * var object = { 'user': 'fred', 'age': 40 };\n\t *\n\t * _.omit(object, 'age');\n\t * // => { 'user': 'fred' }\n\t *\n\t * _.omit(object, _.isNumber);\n\t * // => { 'user': 'fred' }\n\t */\n\t var omit = restParam(function(object, props) {\n\t if (object == null) {\n\t return {};\n\t }\n\t if (typeof props[0] != 'function') {\n\t var props = arrayMap(baseFlatten(props), String);\n\t return pickByArray(object, baseDifference(keysIn(object), props));\n\t }\n\t var predicate = bindCallback(props[0], props[1], 3);\n\t return pickByCallback(object, function(value, key, object) {\n\t return !predicate(value, key, object);\n\t });\n\t });\n\t\n\t /**\n\t * Creates a two dimensional array of the key-value pairs for `object`,\n\t * e.g. `[[key1, value1], [key2, value2]]`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to query.\n\t * @returns {Array} Returns the new array of key-value pairs.\n\t * @example\n\t *\n\t * _.pairs({ 'barney': 36, 'fred': 40 });\n\t * // => [['barney', 36], ['fred', 40]] (iteration order is not guaranteed)\n\t */\n\t function pairs(object) {\n\t object = toObject(object);\n\t\n\t var index = -1,\n\t props = keys(object),\n\t length = props.length,\n\t result = Array(length);\n\t\n\t while (++index < length) {\n\t var key = props[index];\n\t result[index] = [key, object[key]];\n\t }\n\t return result;\n\t }\n\t\n\t /**\n\t * Creates an object composed of the picked `object` properties. Property\n\t * names may be specified as individual arguments or as arrays of property\n\t * names. If `predicate` is provided it is invoked for each property of `object`\n\t * picking the properties `predicate` returns truthy for. The predicate is\n\t * bound to `thisArg` and invoked with three arguments: (value, key, object).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The source object.\n\t * @param {Function|...(string|string[])} [predicate] The function invoked per\n\t * iteration or property names to pick, specified as individual property\n\t * names or arrays of property names.\n\t * @param {*} [thisArg] The `this` binding of `predicate`.\n\t * @returns {Object} Returns the new object.\n\t * @example\n\t *\n\t * var object = { 'user': 'fred', 'age': 40 };\n\t *\n\t * _.pick(object, 'user');\n\t * // => { 'user': 'fred' }\n\t *\n\t * _.pick(object, _.isString);\n\t * // => { 'user': 'fred' }\n\t */\n\t var pick = restParam(function(object, props) {\n\t if (object == null) {\n\t return {};\n\t }\n\t return typeof props[0] == 'function'\n\t ? pickByCallback(object, bindCallback(props[0], props[1], 3))\n\t : pickByArray(object, baseFlatten(props));\n\t });\n\t\n\t /**\n\t * This method is like `_.get` except that if the resolved value is a function\n\t * it is invoked with the `this` binding of its parent object and its result\n\t * is returned.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to query.\n\t * @param {Array|string} path The path of the property to resolve.\n\t * @param {*} [defaultValue] The value returned if the resolved value is `undefined`.\n\t * @returns {*} Returns the resolved value.\n\t * @example\n\t *\n\t * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n\t *\n\t * _.result(object, 'a[0].b.c1');\n\t * // => 3\n\t *\n\t * _.result(object, 'a[0].b.c2');\n\t * // => 4\n\t *\n\t * _.result(object, 'a.b.c', 'default');\n\t * // => 'default'\n\t *\n\t * _.result(object, 'a.b.c', _.constant('default'));\n\t * // => 'default'\n\t */\n\t function result(object, path, defaultValue) {\n\t var result = object == null ? undefined : object[path];\n\t if (result === undefined) {\n\t if (object != null && !isKey(path, object)) {\n\t path = toPath(path);\n\t object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\n\t result = object == null ? undefined : object[last(path)];\n\t }\n\t result = result === undefined ? defaultValue : result;\n\t }\n\t return isFunction(result) ? result.call(object) : result;\n\t }\n\t\n\t /**\n\t * Sets the property value of `path` on `object`. If a portion of `path`\n\t * does not exist it is created.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to augment.\n\t * @param {Array|string} path The path of the property to set.\n\t * @param {*} value The value to set.\n\t * @returns {Object} Returns `object`.\n\t * @example\n\t *\n\t * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n\t *\n\t * _.set(object, 'a[0].b.c', 4);\n\t * console.log(object.a[0].b.c);\n\t * // => 4\n\t *\n\t * _.set(object, 'x[0].y.z', 5);\n\t * console.log(object.x[0].y.z);\n\t * // => 5\n\t */\n\t function set(object, path, value) {\n\t if (object == null) {\n\t return object;\n\t }\n\t var pathKey = (path + '');\n\t path = (object[pathKey] != null || isKey(path, object)) ? [pathKey] : toPath(path);\n\t\n\t var index = -1,\n\t length = path.length,\n\t lastIndex = length - 1,\n\t nested = object;\n\t\n\t while (nested != null && ++index < length) {\n\t var key = path[index];\n\t if (isObject(nested)) {\n\t if (index == lastIndex) {\n\t nested[key] = value;\n\t } else if (nested[key] == null) {\n\t nested[key] = isIndex(path[index + 1]) ? [] : {};\n\t }\n\t }\n\t nested = nested[key];\n\t }\n\t return object;\n\t }\n\t\n\t /**\n\t * An alternative to `_.reduce`; this method transforms `object` to a new\n\t * `accumulator` object which is the result of running each of its own enumerable\n\t * properties through `iteratee`, with each invocation potentially mutating\n\t * the `accumulator` object. The `iteratee` is bound to `thisArg` and invoked\n\t * with four arguments: (accumulator, value, key, object). Iteratee functions\n\t * may exit iteration early by explicitly returning `false`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Array|Object} object The object to iterate over.\n\t * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t * @param {*} [accumulator] The custom accumulator value.\n\t * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t * @returns {*} Returns the accumulated value.\n\t * @example\n\t *\n\t * _.transform([2, 3, 4], function(result, n) {\n\t * result.push(n *= n);\n\t * return n % 2 == 0;\n\t * });\n\t * // => [4, 9]\n\t *\n\t * _.transform({ 'a': 1, 'b': 2 }, function(result, n, key) {\n\t * result[key] = n * 3;\n\t * });\n\t * // => { 'a': 3, 'b': 6 }\n\t */\n\t function transform(object, iteratee, accumulator, thisArg) {\n\t var isArr = isArray(object) || isTypedArray(object);\n\t iteratee = getCallback(iteratee, thisArg, 4);\n\t\n\t if (accumulator == null) {\n\t if (isArr || isObject(object)) {\n\t var Ctor = object.constructor;\n\t if (isArr) {\n\t accumulator = isArray(object) ? new Ctor : [];\n\t } else {\n\t accumulator = baseCreate(isFunction(Ctor) ? Ctor.prototype : undefined);\n\t }\n\t } else {\n\t accumulator = {};\n\t }\n\t }\n\t (isArr ? arrayEach : baseForOwn)(object, function(value, index, object) {\n\t return iteratee(accumulator, value, index, object);\n\t });\n\t return accumulator;\n\t }\n\t\n\t /**\n\t * Creates an array of the own enumerable property values of `object`.\n\t *\n\t * **Note:** Non-object values are coerced to objects.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to query.\n\t * @returns {Array} Returns the array of property values.\n\t * @example\n\t *\n\t * function Foo() {\n\t * this.a = 1;\n\t * this.b = 2;\n\t * }\n\t *\n\t * Foo.prototype.c = 3;\n\t *\n\t * _.values(new Foo);\n\t * // => [1, 2] (iteration order is not guaranteed)\n\t *\n\t * _.values('hi');\n\t * // => ['h', 'i']\n\t */\n\t function values(object) {\n\t return baseValues(object, keys(object));\n\t }\n\t\n\t /**\n\t * Creates an array of the own and inherited enumerable property values\n\t * of `object`.\n\t *\n\t * **Note:** Non-object values are coerced to objects.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to query.\n\t * @returns {Array} Returns the array of property values.\n\t * @example\n\t *\n\t * function Foo() {\n\t * this.a = 1;\n\t * this.b = 2;\n\t * }\n\t *\n\t * Foo.prototype.c = 3;\n\t *\n\t * _.valuesIn(new Foo);\n\t * // => [1, 2, 3] (iteration order is not guaranteed)\n\t */\n\t function valuesIn(object) {\n\t return baseValues(object, keysIn(object));\n\t }\n\t\n\t /*------------------------------------------------------------------------*/\n\t\n\t /**\n\t * Checks if `n` is between `start` and up to but not including, `end`. If\n\t * `end` is not specified it is set to `start` with `start` then set to `0`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Number\n\t * @param {number} n The number to check.\n\t * @param {number} [start=0] The start of the range.\n\t * @param {number} end The end of the range.\n\t * @returns {boolean} Returns `true` if `n` is in the range, else `false`.\n\t * @example\n\t *\n\t * _.inRange(3, 2, 4);\n\t * // => true\n\t *\n\t * _.inRange(4, 8);\n\t * // => true\n\t *\n\t * _.inRange(4, 2);\n\t * // => false\n\t *\n\t * _.inRange(2, 2);\n\t * // => false\n\t *\n\t * _.inRange(1.2, 2);\n\t * // => true\n\t *\n\t * _.inRange(5.2, 4);\n\t * // => false\n\t */\n\t function inRange(value, start, end) {\n\t start = +start || 0;\n\t if (end === undefined) {\n\t end = start;\n\t start = 0;\n\t } else {\n\t end = +end || 0;\n\t }\n\t return value >= nativeMin(start, end) && value < nativeMax(start, end);\n\t }\n\t\n\t /**\n\t * Produces a random number between `min` and `max` (inclusive). If only one\n\t * argument is provided a number between `0` and the given number is returned.\n\t * If `floating` is `true`, or either `min` or `max` are floats, a floating-point\n\t * number is returned instead of an integer.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Number\n\t * @param {number} [min=0] The minimum possible value.\n\t * @param {number} [max=1] The maximum possible value.\n\t * @param {boolean} [floating] Specify returning a floating-point number.\n\t * @returns {number} Returns the random number.\n\t * @example\n\t *\n\t * _.random(0, 5);\n\t * // => an integer between 0 and 5\n\t *\n\t * _.random(5);\n\t * // => also an integer between 0 and 5\n\t *\n\t * _.random(5, true);\n\t * // => a floating-point number between 0 and 5\n\t *\n\t * _.random(1.2, 5.2);\n\t * // => a floating-point number between 1.2 and 5.2\n\t */\n\t function random(min, max, floating) {\n\t if (floating && isIterateeCall(min, max, floating)) {\n\t max = floating = undefined;\n\t }\n\t var noMin = min == null,\n\t noMax = max == null;\n\t\n\t if (floating == null) {\n\t if (noMax && typeof min == 'boolean') {\n\t floating = min;\n\t min = 1;\n\t }\n\t else if (typeof max == 'boolean') {\n\t floating = max;\n\t noMax = true;\n\t }\n\t }\n\t if (noMin && noMax) {\n\t max = 1;\n\t noMax = false;\n\t }\n\t min = +min || 0;\n\t if (noMax) {\n\t max = min;\n\t min = 0;\n\t } else {\n\t max = +max || 0;\n\t }\n\t if (floating || min % 1 || max % 1) {\n\t var rand = nativeRandom();\n\t return nativeMin(min + (rand * (max - min + parseFloat('1e-' + ((rand + '').length - 1)))), max);\n\t }\n\t return baseRandom(min, max);\n\t }\n\t\n\t /*------------------------------------------------------------------------*/\n\t\n\t /**\n\t * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category String\n\t * @param {string} [string=''] The string to convert.\n\t * @returns {string} Returns the camel cased string.\n\t * @example\n\t *\n\t * _.camelCase('Foo Bar');\n\t * // => 'fooBar'\n\t *\n\t * _.camelCase('--foo-bar');\n\t * // => 'fooBar'\n\t *\n\t * _.camelCase('__foo_bar__');\n\t * // => 'fooBar'\n\t */\n\t var camelCase = createCompounder(function(result, word, index) {\n\t word = word.toLowerCase();\n\t return result + (index ? (word.charAt(0).toUpperCase() + word.slice(1)) : word);\n\t });\n\t\n\t /**\n\t * Capitalizes the first character of `string`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category String\n\t * @param {string} [string=''] The string to capitalize.\n\t * @returns {string} Returns the capitalized string.\n\t * @example\n\t *\n\t * _.capitalize('fred');\n\t * // => 'Fred'\n\t */\n\t function capitalize(string) {\n\t string = baseToString(string);\n\t return string && (string.charAt(0).toUpperCase() + string.slice(1));\n\t }\n\t\n\t /**\n\t * Deburrs `string` by converting [latin-1 supplementary letters](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n\t * to basic latin letters and removing [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category String\n\t * @param {string} [string=''] The string to deburr.\n\t * @returns {string} Returns the deburred string.\n\t * @example\n\t *\n\t * _.deburr('déjà vu');\n\t * // => 'deja vu'\n\t */\n\t function deburr(string) {\n\t string = baseToString(string);\n\t return string && string.replace(reLatin1, deburrLetter).replace(reComboMark, '');\n\t }\n\t\n\t /**\n\t * Checks if `string` ends with the given target string.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category String\n\t * @param {string} [string=''] The string to search.\n\t * @param {string} [target] The string to search for.\n\t * @param {number} [position=string.length] The position to search from.\n\t * @returns {boolean} Returns `true` if `string` ends with `target`, else `false`.\n\t * @example\n\t *\n\t * _.endsWith('abc', 'c');\n\t * // => true\n\t *\n\t * _.endsWith('abc', 'b');\n\t * // => false\n\t *\n\t * _.endsWith('abc', 'b', 2);\n\t * // => true\n\t */\n\t function endsWith(string, target, position) {\n\t string = baseToString(string);\n\t target = (target + '');\n\t\n\t var length = string.length;\n\t position = position === undefined\n\t ? length\n\t : nativeMin(position < 0 ? 0 : (+position || 0), length);\n\t\n\t position -= target.length;\n\t return position >= 0 && string.indexOf(target, position) == position;\n\t }\n\t\n\t /**\n\t * Converts the characters \"&\", \"<\", \">\", '\"', \"'\", and \"\\`\", in `string` to\n\t * their corresponding HTML entities.\n\t *\n\t * **Note:** No other characters are escaped. To escape additional characters\n\t * use a third-party library like [_he_](https://mths.be/he).\n\t *\n\t * Though the \">\" character is escaped for symmetry, characters like\n\t * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n\t * unless they're part of a tag or unquoted attribute value.\n\t * See [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n\t * (under \"semi-related fun fact\") for more details.\n\t *\n\t * Backticks are escaped because in Internet Explorer < 9, they can break out\n\t * of attribute values or HTML comments. See [#59](https://html5sec.org/#59),\n\t * [#102](https://html5sec.org/#102), [#108](https://html5sec.org/#108), and\n\t * [#133](https://html5sec.org/#133) of the [HTML5 Security Cheatsheet](https://html5sec.org/)\n\t * for more details.\n\t *\n\t * When working with HTML you should always [quote attribute values](http://wonko.com/post/html-escaping)\n\t * to reduce XSS vectors.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category String\n\t * @param {string} [string=''] The string to escape.\n\t * @returns {string} Returns the escaped string.\n\t * @example\n\t *\n\t * _.escape('fred, barney, & pebbles');\n\t * // => 'fred, barney, & pebbles'\n\t */\n\t function escape(string) {\n\t // Reset `lastIndex` because in IE < 9 `String#replace` does not.\n\t string = baseToString(string);\n\t return (string && reHasUnescapedHtml.test(string))\n\t ? string.replace(reUnescapedHtml, escapeHtmlChar)\n\t : string;\n\t }\n\t\n\t /**\n\t * Escapes the `RegExp` special characters \"\\\", \"/\", \"^\", \"$\", \".\", \"|\", \"?\",\n\t * \"*\", \"+\", \"(\", \")\", \"[\", \"]\", \"{\" and \"}\" in `string`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category String\n\t * @param {string} [string=''] The string to escape.\n\t * @returns {string} Returns the escaped string.\n\t * @example\n\t *\n\t * _.escapeRegExp('[lodash](https://lodash.com/)');\n\t * // => '\\[lodash\\]\\(https:\\/\\/lodash\\.com\\/\\)'\n\t */\n\t function escapeRegExp(string) {\n\t string = baseToString(string);\n\t return (string && reHasRegExpChars.test(string))\n\t ? string.replace(reRegExpChars, escapeRegExpChar)\n\t : (string || '(?:)');\n\t }\n\t\n\t /**\n\t * Converts `string` to [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category String\n\t * @param {string} [string=''] The string to convert.\n\t * @returns {string} Returns the kebab cased string.\n\t * @example\n\t *\n\t * _.kebabCase('Foo Bar');\n\t * // => 'foo-bar'\n\t *\n\t * _.kebabCase('fooBar');\n\t * // => 'foo-bar'\n\t *\n\t * _.kebabCase('__foo_bar__');\n\t * // => 'foo-bar'\n\t */\n\t var kebabCase = createCompounder(function(result, word, index) {\n\t return result + (index ? '-' : '') + word.toLowerCase();\n\t });\n\t\n\t /**\n\t * Pads `string` on the left and right sides if it's shorter than `length`.\n\t * Padding characters are truncated if they can't be evenly divided by `length`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category String\n\t * @param {string} [string=''] The string to pad.\n\t * @param {number} [length=0] The padding length.\n\t * @param {string} [chars=' '] The string used as padding.\n\t * @returns {string} Returns the padded string.\n\t * @example\n\t *\n\t * _.pad('abc', 8);\n\t * // => ' abc '\n\t *\n\t * _.pad('abc', 8, '_-');\n\t * // => '_-abc_-_'\n\t *\n\t * _.pad('abc', 3);\n\t * // => 'abc'\n\t */\n\t function pad(string, length, chars) {\n\t string = baseToString(string);\n\t length = +length;\n\t\n\t var strLength = string.length;\n\t if (strLength >= length || !nativeIsFinite(length)) {\n\t return string;\n\t }\n\t var mid = (length - strLength) / 2,\n\t leftLength = nativeFloor(mid),\n\t rightLength = nativeCeil(mid);\n\t\n\t chars = createPadding('', rightLength, chars);\n\t return chars.slice(0, leftLength) + string + chars;\n\t }\n\t\n\t /**\n\t * Pads `string` on the left side if it's shorter than `length`. Padding\n\t * characters are truncated if they exceed `length`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category String\n\t * @param {string} [string=''] The string to pad.\n\t * @param {number} [length=0] The padding length.\n\t * @param {string} [chars=' '] The string used as padding.\n\t * @returns {string} Returns the padded string.\n\t * @example\n\t *\n\t * _.padLeft('abc', 6);\n\t * // => ' abc'\n\t *\n\t * _.padLeft('abc', 6, '_-');\n\t * // => '_-_abc'\n\t *\n\t * _.padLeft('abc', 3);\n\t * // => 'abc'\n\t */\n\t var padLeft = createPadDir();\n\t\n\t /**\n\t * Pads `string` on the right side if it's shorter than `length`. Padding\n\t * characters are truncated if they exceed `length`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category String\n\t * @param {string} [string=''] The string to pad.\n\t * @param {number} [length=0] The padding length.\n\t * @param {string} [chars=' '] The string used as padding.\n\t * @returns {string} Returns the padded string.\n\t * @example\n\t *\n\t * _.padRight('abc', 6);\n\t * // => 'abc '\n\t *\n\t * _.padRight('abc', 6, '_-');\n\t * // => 'abc_-_'\n\t *\n\t * _.padRight('abc', 3);\n\t * // => 'abc'\n\t */\n\t var padRight = createPadDir(true);\n\t\n\t /**\n\t * Converts `string` to an integer of the specified radix. If `radix` is\n\t * `undefined` or `0`, a `radix` of `10` is used unless `value` is a hexadecimal,\n\t * in which case a `radix` of `16` is used.\n\t *\n\t * **Note:** This method aligns with the [ES5 implementation](https://es5.github.io/#E)\n\t * of `parseInt`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category String\n\t * @param {string} string The string to convert.\n\t * @param {number} [radix] The radix to interpret `value` by.\n\t * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t * @returns {number} Returns the converted integer.\n\t * @example\n\t *\n\t * _.parseInt('08');\n\t * // => 8\n\t *\n\t * _.map(['6', '08', '10'], _.parseInt);\n\t * // => [6, 8, 10]\n\t */\n\t function parseInt(string, radix, guard) {\n\t // Firefox < 21 and Opera < 15 follow ES3 for `parseInt`.\n\t // Chrome fails to trim leading whitespace characters.\n\t // See https://code.google.com/p/v8/issues/detail?id=3109 for more details.\n\t if (guard ? isIterateeCall(string, radix, guard) : radix == null) {\n\t radix = 0;\n\t } else if (radix) {\n\t radix = +radix;\n\t }\n\t string = trim(string);\n\t return nativeParseInt(string, radix || (reHasHexPrefix.test(string) ? 16 : 10));\n\t }\n\t\n\t /**\n\t * Repeats the given string `n` times.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category String\n\t * @param {string} [string=''] The string to repeat.\n\t * @param {number} [n=0] The number of times to repeat the string.\n\t * @returns {string} Returns the repeated string.\n\t * @example\n\t *\n\t * _.repeat('*', 3);\n\t * // => '***'\n\t *\n\t * _.repeat('abc', 2);\n\t * // => 'abcabc'\n\t *\n\t * _.repeat('abc', 0);\n\t * // => ''\n\t */\n\t function repeat(string, n) {\n\t var result = '';\n\t string = baseToString(string);\n\t n = +n;\n\t if (n < 1 || !string || !nativeIsFinite(n)) {\n\t return result;\n\t }\n\t // Leverage the exponentiation by squaring algorithm for a faster repeat.\n\t // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n\t do {\n\t if (n % 2) {\n\t result += string;\n\t }\n\t n = nativeFloor(n / 2);\n\t string += string;\n\t } while (n);\n\t\n\t return result;\n\t }\n\t\n\t /**\n\t * Converts `string` to [snake case](https://en.wikipedia.org/wiki/Snake_case).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category String\n\t * @param {string} [string=''] The string to convert.\n\t * @returns {string} Returns the snake cased string.\n\t * @example\n\t *\n\t * _.snakeCase('Foo Bar');\n\t * // => 'foo_bar'\n\t *\n\t * _.snakeCase('fooBar');\n\t * // => 'foo_bar'\n\t *\n\t * _.snakeCase('--foo-bar');\n\t * // => 'foo_bar'\n\t */\n\t var snakeCase = createCompounder(function(result, word, index) {\n\t return result + (index ? '_' : '') + word.toLowerCase();\n\t });\n\t\n\t /**\n\t * Converts `string` to [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category String\n\t * @param {string} [string=''] The string to convert.\n\t * @returns {string} Returns the start cased string.\n\t * @example\n\t *\n\t * _.startCase('--foo-bar');\n\t * // => 'Foo Bar'\n\t *\n\t * _.startCase('fooBar');\n\t * // => 'Foo Bar'\n\t *\n\t * _.startCase('__foo_bar__');\n\t * // => 'Foo Bar'\n\t */\n\t var startCase = createCompounder(function(result, word, index) {\n\t return result + (index ? ' ' : '') + (word.charAt(0).toUpperCase() + word.slice(1));\n\t });\n\t\n\t /**\n\t * Checks if `string` starts with the given target string.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category String\n\t * @param {string} [string=''] The string to search.\n\t * @param {string} [target] The string to search for.\n\t * @param {number} [position=0] The position to search from.\n\t * @returns {boolean} Returns `true` if `string` starts with `target`, else `false`.\n\t * @example\n\t *\n\t * _.startsWith('abc', 'a');\n\t * // => true\n\t *\n\t * _.startsWith('abc', 'b');\n\t * // => false\n\t *\n\t * _.startsWith('abc', 'b', 1);\n\t * // => true\n\t */\n\t function startsWith(string, target, position) {\n\t string = baseToString(string);\n\t position = position == null\n\t ? 0\n\t : nativeMin(position < 0 ? 0 : (+position || 0), string.length);\n\t\n\t return string.lastIndexOf(target, position) == position;\n\t }\n\t\n\t /**\n\t * Creates a compiled template function that can interpolate data properties\n\t * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n\t * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n\t * properties may be accessed as free variables in the template. If a setting\n\t * object is provided it takes precedence over `_.templateSettings` values.\n\t *\n\t * **Note:** In the development build `_.template` utilizes\n\t * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n\t * for easier debugging.\n\t *\n\t * For more information on precompiling templates see\n\t * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n\t *\n\t * For more information on Chrome extension sandboxes see\n\t * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category String\n\t * @param {string} [string=''] The template string.\n\t * @param {Object} [options] The options object.\n\t * @param {RegExp} [options.escape] The HTML \"escape\" delimiter.\n\t * @param {RegExp} [options.evaluate] The \"evaluate\" delimiter.\n\t * @param {Object} [options.imports] An object to import into the template as free variables.\n\t * @param {RegExp} [options.interpolate] The \"interpolate\" delimiter.\n\t * @param {string} [options.sourceURL] The sourceURL of the template's compiled source.\n\t * @param {string} [options.variable] The data object variable name.\n\t * @param- {Object} [otherOptions] Enables the legacy `options` param signature.\n\t * @returns {Function} Returns the compiled template function.\n\t * @example\n\t *\n\t * // using the \"interpolate\" delimiter to create a compiled template\n\t * var compiled = _.template('hello <%= user %>!');\n\t * compiled({ 'user': 'fred' });\n\t * // => 'hello fred!'\n\t *\n\t * // using the HTML \"escape\" delimiter to escape data property values\n\t * var compiled = _.template('<%- value %>');\n\t * compiled({ 'value': '\n\t * \n\t * \n\t * \n\t * \n\t * \n\t * \n\t * \n\t * \n\t */\n\tangular.module('ui.router', ['ui.router.state']);\n\t\n\tangular.module('ui.router.compat', ['ui.router']);\n\t\n\t/**\n\t * @ngdoc object\n\t * @name ui.router.util.$resolve\n\t *\n\t * @requires $q\n\t * @requires $injector\n\t *\n\t * @description\n\t * Manages resolution of (acyclic) graphs of promises.\n\t */\n\t$Resolve.$inject = ['$q', '$injector'];\n\tfunction $Resolve( $q, $injector) {\n\t \n\t var VISIT_IN_PROGRESS = 1,\n\t VISIT_DONE = 2,\n\t NOTHING = {},\n\t NO_DEPENDENCIES = [],\n\t NO_LOCALS = NOTHING,\n\t NO_PARENT = extend($q.when(NOTHING), { $$promises: NOTHING, $$values: NOTHING });\n\t \n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.util.$resolve#study\n\t * @methodOf ui.router.util.$resolve\n\t *\n\t * @description\n\t * Studies a set of invocables that are likely to be used multiple times.\n\t *
\n\t   * $resolve.study(invocables)(locals, parent, self)\n\t   * 
\n\t * is equivalent to\n\t *
\n\t   * $resolve.resolve(invocables, locals, parent, self)\n\t   * 
\n\t * but the former is more efficient (in fact `resolve` just calls `study` \n\t * internally).\n\t *\n\t * @param {object} invocables Invocable objects\n\t * @return {function} a function to pass in locals, parent and self\n\t */\n\t this.study = function (invocables) {\n\t if (!isObject(invocables)) throw new Error(\"'invocables' must be an object\");\n\t var invocableKeys = objectKeys(invocables || {});\n\t \n\t // Perform a topological sort of invocables to build an ordered plan\n\t var plan = [], cycle = [], visited = {};\n\t function visit(value, key) {\n\t if (visited[key] === VISIT_DONE) return;\n\t \n\t cycle.push(key);\n\t if (visited[key] === VISIT_IN_PROGRESS) {\n\t cycle.splice(0, indexOf(cycle, key));\n\t throw new Error(\"Cyclic dependency: \" + cycle.join(\" -> \"));\n\t }\n\t visited[key] = VISIT_IN_PROGRESS;\n\t \n\t if (isString(value)) {\n\t plan.push(key, [ function() { return $injector.get(value); }], NO_DEPENDENCIES);\n\t } else {\n\t var params = $injector.annotate(value);\n\t forEach(params, function (param) {\n\t if (param !== key && invocables.hasOwnProperty(param)) visit(invocables[param], param);\n\t });\n\t plan.push(key, value, params);\n\t }\n\t \n\t cycle.pop();\n\t visited[key] = VISIT_DONE;\n\t }\n\t forEach(invocables, visit);\n\t invocables = cycle = visited = null; // plan is all that's required\n\t \n\t function isResolve(value) {\n\t return isObject(value) && value.then && value.$$promises;\n\t }\n\t \n\t return function (locals, parent, self) {\n\t if (isResolve(locals) && self === undefined) {\n\t self = parent; parent = locals; locals = null;\n\t }\n\t if (!locals) locals = NO_LOCALS;\n\t else if (!isObject(locals)) {\n\t throw new Error(\"'locals' must be an object\");\n\t } \n\t if (!parent) parent = NO_PARENT;\n\t else if (!isResolve(parent)) {\n\t throw new Error(\"'parent' must be a promise returned by $resolve.resolve()\");\n\t }\n\t \n\t // To complete the overall resolution, we have to wait for the parent\n\t // promise and for the promise for each invokable in our plan.\n\t var resolution = $q.defer(),\n\t result = resolution.promise,\n\t promises = result.$$promises = {},\n\t values = extend({}, locals),\n\t wait = 1 + plan.length/3,\n\t merged = false;\n\t \n\t function done() {\n\t // Merge parent values we haven't got yet and publish our own $$values\n\t if (!--wait) {\n\t if (!merged) merge(values, parent.$$values); \n\t result.$$values = values;\n\t result.$$promises = result.$$promises || true; // keep for isResolve()\n\t delete result.$$inheritedValues;\n\t resolution.resolve(values);\n\t }\n\t }\n\t \n\t function fail(reason) {\n\t result.$$failure = reason;\n\t resolution.reject(reason);\n\t }\n\t\n\t // Short-circuit if parent has already failed\n\t if (isDefined(parent.$$failure)) {\n\t fail(parent.$$failure);\n\t return result;\n\t }\n\t \n\t if (parent.$$inheritedValues) {\n\t merge(values, omit(parent.$$inheritedValues, invocableKeys));\n\t }\n\t\n\t // Merge parent values if the parent has already resolved, or merge\n\t // parent promises and wait if the parent resolve is still in progress.\n\t extend(promises, parent.$$promises);\n\t if (parent.$$values) {\n\t merged = merge(values, omit(parent.$$values, invocableKeys));\n\t result.$$inheritedValues = omit(parent.$$values, invocableKeys);\n\t done();\n\t } else {\n\t if (parent.$$inheritedValues) {\n\t result.$$inheritedValues = omit(parent.$$inheritedValues, invocableKeys);\n\t } \n\t parent.then(done, fail);\n\t }\n\t \n\t // Process each invocable in the plan, but ignore any where a local of the same name exists.\n\t for (var i=0, ii=plan.length; i} The template html as a string, or a promise \n\t * for that string.\n\t */\n\t this.fromUrl = function (url, params) {\n\t if (isFunction(url)) url = url(params);\n\t if (url == null) return null;\n\t else return $http\n\t .get(url, { cache: $templateCache, headers: { Accept: 'text/html' }})\n\t .then(function(response) { return response.data; });\n\t };\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.util.$templateFactory#fromProvider\n\t * @methodOf ui.router.util.$templateFactory\n\t *\n\t * @description\n\t * Creates a template by invoking an injectable provider function.\n\t *\n\t * @param {Function} provider Function to invoke via `$injector.invoke`\n\t * @param {Object} params Parameters for the template.\n\t * @param {Object} locals Locals to pass to `invoke`. Defaults to \n\t * `{ params: params }`.\n\t * @return {string|Promise.} The template html as a string, or a promise \n\t * for that string.\n\t */\n\t this.fromProvider = function (provider, params, locals) {\n\t return $injector.invoke(provider, null, locals || { params: params });\n\t };\n\t}\n\t\n\tangular.module('ui.router.util').service('$templateFactory', $TemplateFactory);\n\t\n\tvar $$UMFP; // reference to $UrlMatcherFactoryProvider\n\t\n\t/**\n\t * @ngdoc object\n\t * @name ui.router.util.type:UrlMatcher\n\t *\n\t * @description\n\t * Matches URLs against patterns and extracts named parameters from the path or the search\n\t * part of the URL. A URL pattern consists of a path pattern, optionally followed by '?' and a list\n\t * of search parameters. Multiple search parameter names are separated by '&'. Search parameters\n\t * do not influence whether or not a URL is matched, but their values are passed through into\n\t * the matched parameters returned by {@link ui.router.util.type:UrlMatcher#methods_exec exec}.\n\t *\n\t * Path parameter placeholders can be specified using simple colon/catch-all syntax or curly brace\n\t * syntax, which optionally allows a regular expression for the parameter to be specified:\n\t *\n\t * * `':'` name - colon placeholder\n\t * * `'*'` name - catch-all placeholder\n\t * * `'{' name '}'` - curly placeholder\n\t * * `'{' name ':' regexp|type '}'` - curly placeholder with regexp or type name. Should the\n\t * regexp itself contain curly braces, they must be in matched pairs or escaped with a backslash.\n\t *\n\t * Parameter names may contain only word characters (latin letters, digits, and underscore) and\n\t * must be unique within the pattern (across both path and search parameters). For colon\n\t * placeholders or curly placeholders without an explicit regexp, a path parameter matches any\n\t * number of characters other than '/'. For catch-all placeholders the path parameter matches\n\t * any number of characters.\n\t *\n\t * Examples:\n\t *\n\t * * `'/hello/'` - Matches only if the path is exactly '/hello/'. There is no special treatment for\n\t * trailing slashes, and patterns have to match the entire path, not just a prefix.\n\t * * `'/user/:id'` - Matches '/user/bob' or '/user/1234!!!' or even '/user/' but not '/user' or\n\t * '/user/bob/details'. The second path segment will be captured as the parameter 'id'.\n\t * * `'/user/{id}'` - Same as the previous example, but using curly brace syntax.\n\t * * `'/user/{id:[^/]*}'` - Same as the previous example.\n\t * * `'/user/{id:[0-9a-fA-F]{1,8}}'` - Similar to the previous example, but only matches if the id\n\t * parameter consists of 1 to 8 hex digits.\n\t * * `'/files/{path:.*}'` - Matches any URL starting with '/files/' and captures the rest of the\n\t * path into the parameter 'path'.\n\t * * `'/files/*path'` - ditto.\n\t * * `'/calendar/{start:date}'` - Matches \"/calendar/2014-11-12\" (because the pattern defined\n\t * in the built-in `date` Type matches `2014-11-12`) and provides a Date object in $stateParams.start\n\t *\n\t * @param {string} pattern The pattern to compile into a matcher.\n\t * @param {Object} config A configuration object hash:\n\t * @param {Object=} parentMatcher Used to concatenate the pattern/config onto\n\t * an existing UrlMatcher\n\t *\n\t * * `caseInsensitive` - `true` if URL matching should be case insensitive, otherwise `false`, the default value (for backward compatibility) is `false`.\n\t * * `strict` - `false` if matching against a URL with a trailing slash should be treated as equivalent to a URL without a trailing slash, the default value is `true`.\n\t *\n\t * @property {string} prefix A static prefix of this pattern. The matcher guarantees that any\n\t * URL matching this matcher (i.e. any string for which {@link ui.router.util.type:UrlMatcher#methods_exec exec()} returns\n\t * non-null) will start with this prefix.\n\t *\n\t * @property {string} source The pattern that was passed into the constructor\n\t *\n\t * @property {string} sourcePath The path portion of the source property\n\t *\n\t * @property {string} sourceSearch The search portion of the source property\n\t *\n\t * @property {string} regex The constructed regex that will be used to match against the url when\n\t * it is time to determine which url will match.\n\t *\n\t * @returns {Object} New `UrlMatcher` object\n\t */\n\tfunction UrlMatcher(pattern, config, parentMatcher) {\n\t config = extend({ params: {} }, isObject(config) ? config : {});\n\t\n\t // Find all placeholders and create a compiled pattern, using either classic or curly syntax:\n\t // '*' name\n\t // ':' name\n\t // '{' name '}'\n\t // '{' name ':' regexp '}'\n\t // The regular expression is somewhat complicated due to the need to allow curly braces\n\t // inside the regular expression. The placeholder regexp breaks down as follows:\n\t // ([:*])([\\w\\[\\]]+) - classic placeholder ($1 / $2) (search version has - for snake-case)\n\t // \\{([\\w\\[\\]]+)(?:\\:( ... ))?\\} - curly brace placeholder ($3) with optional regexp/type ... ($4) (search version has - for snake-case\n\t // (?: ... | ... | ... )+ - the regexp consists of any number of atoms, an atom being either\n\t // [^{}\\\\]+ - anything other than curly braces or backslash\n\t // \\\\. - a backslash escape\n\t // \\{(?:[^{}\\\\]+|\\\\.)*\\} - a matched set of curly braces containing other atoms\n\t var placeholder = /([:*])([\\w\\[\\]]+)|\\{([\\w\\[\\]]+)(?:\\:((?:[^{}\\\\]+|\\\\.|\\{(?:[^{}\\\\]+|\\\\.)*\\})+))?\\}/g,\n\t searchPlaceholder = /([:]?)([\\w\\[\\]-]+)|\\{([\\w\\[\\]-]+)(?:\\:((?:[^{}\\\\]+|\\\\.|\\{(?:[^{}\\\\]+|\\\\.)*\\})+))?\\}/g,\n\t compiled = '^', last = 0, m,\n\t segments = this.segments = [],\n\t parentParams = parentMatcher ? parentMatcher.params : {},\n\t params = this.params = parentMatcher ? parentMatcher.params.$$new() : new $$UMFP.ParamSet(),\n\t paramNames = [];\n\t\n\t function addParameter(id, type, config, location) {\n\t paramNames.push(id);\n\t if (parentParams[id]) return parentParams[id];\n\t if (!/^\\w+(-+\\w+)*(?:\\[\\])?$/.test(id)) throw new Error(\"Invalid parameter name '\" + id + \"' in pattern '\" + pattern + \"'\");\n\t if (params[id]) throw new Error(\"Duplicate parameter name '\" + id + \"' in pattern '\" + pattern + \"'\");\n\t params[id] = new $$UMFP.Param(id, type, config, location);\n\t return params[id];\n\t }\n\t\n\t function quoteRegExp(string, pattern, squash, optional) {\n\t var surroundPattern = ['',''], result = string.replace(/[\\\\\\[\\]\\^$*+?.()|{}]/g, \"\\\\$&\");\n\t if (!pattern) return result;\n\t switch(squash) {\n\t case false: surroundPattern = ['(', ')' + (optional ? \"?\" : \"\")]; break;\n\t case true: surroundPattern = ['?(', ')?']; break;\n\t default: surroundPattern = ['(' + squash + \"|\", ')?']; break;\n\t }\n\t return result + surroundPattern[0] + pattern + surroundPattern[1];\n\t }\n\t\n\t this.source = pattern;\n\t\n\t // Split into static segments separated by path parameter placeholders.\n\t // The number of segments is always 1 more than the number of parameters.\n\t function matchDetails(m, isSearch) {\n\t var id, regexp, segment, type, cfg, arrayMode;\n\t id = m[2] || m[3]; // IE[78] returns '' for unmatched groups instead of null\n\t cfg = config.params[id];\n\t segment = pattern.substring(last, m.index);\n\t regexp = isSearch ? m[4] : m[4] || (m[1] == '*' ? '.*' : null);\n\t type = $$UMFP.type(regexp || \"string\") || inherit($$UMFP.type(\"string\"), { pattern: new RegExp(regexp, config.caseInsensitive ? 'i' : undefined) });\n\t return {\n\t id: id, regexp: regexp, segment: segment, type: type, cfg: cfg\n\t };\n\t }\n\t\n\t var p, param, segment;\n\t while ((m = placeholder.exec(pattern))) {\n\t p = matchDetails(m, false);\n\t if (p.segment.indexOf('?') >= 0) break; // we're into the search part\n\t\n\t param = addParameter(p.id, p.type, p.cfg, \"path\");\n\t compiled += quoteRegExp(p.segment, param.type.pattern.source, param.squash, param.isOptional);\n\t segments.push(p.segment);\n\t last = placeholder.lastIndex;\n\t }\n\t segment = pattern.substring(last);\n\t\n\t // Find any search parameter names and remove them from the last segment\n\t var i = segment.indexOf('?');\n\t\n\t if (i >= 0) {\n\t var search = this.sourceSearch = segment.substring(i);\n\t segment = segment.substring(0, i);\n\t this.sourcePath = pattern.substring(0, last + i);\n\t\n\t if (search.length > 0) {\n\t last = 0;\n\t while ((m = searchPlaceholder.exec(search))) {\n\t p = matchDetails(m, true);\n\t param = addParameter(p.id, p.type, p.cfg, \"search\");\n\t last = placeholder.lastIndex;\n\t // check if ?&\n\t }\n\t }\n\t } else {\n\t this.sourcePath = pattern;\n\t this.sourceSearch = '';\n\t }\n\t\n\t compiled += quoteRegExp(segment) + (config.strict === false ? '\\/?' : '') + '$';\n\t segments.push(segment);\n\t\n\t this.regexp = new RegExp(compiled, config.caseInsensitive ? 'i' : undefined);\n\t this.prefix = segments[0];\n\t this.$$paramNames = paramNames;\n\t}\n\t\n\t/**\n\t * @ngdoc function\n\t * @name ui.router.util.type:UrlMatcher#concat\n\t * @methodOf ui.router.util.type:UrlMatcher\n\t *\n\t * @description\n\t * Returns a new matcher for a pattern constructed by appending the path part and adding the\n\t * search parameters of the specified pattern to this pattern. The current pattern is not\n\t * modified. This can be understood as creating a pattern for URLs that are relative to (or\n\t * suffixes of) the current pattern.\n\t *\n\t * @example\n\t * The following two matchers are equivalent:\n\t *
\n\t * new UrlMatcher('/user/{id}?q').concat('/details?date');\n\t * new UrlMatcher('/user/{id}/details?q&date');\n\t * 
\n\t *\n\t * @param {string} pattern The pattern to append.\n\t * @param {Object} config An object hash of the configuration for the matcher.\n\t * @returns {UrlMatcher} A matcher for the concatenated pattern.\n\t */\n\tUrlMatcher.prototype.concat = function (pattern, config) {\n\t // Because order of search parameters is irrelevant, we can add our own search\n\t // parameters to the end of the new pattern. Parse the new pattern by itself\n\t // and then join the bits together, but it's much easier to do this on a string level.\n\t var defaultConfig = {\n\t caseInsensitive: $$UMFP.caseInsensitive(),\n\t strict: $$UMFP.strictMode(),\n\t squash: $$UMFP.defaultSquashPolicy()\n\t };\n\t return new UrlMatcher(this.sourcePath + pattern + this.sourceSearch, extend(defaultConfig, config), this);\n\t};\n\t\n\tUrlMatcher.prototype.toString = function () {\n\t return this.source;\n\t};\n\t\n\t/**\n\t * @ngdoc function\n\t * @name ui.router.util.type:UrlMatcher#exec\n\t * @methodOf ui.router.util.type:UrlMatcher\n\t *\n\t * @description\n\t * Tests the specified path against this matcher, and returns an object containing the captured\n\t * parameter values, or null if the path does not match. The returned object contains the values\n\t * of any search parameters that are mentioned in the pattern, but their value may be null if\n\t * they are not present in `searchParams`. This means that search parameters are always treated\n\t * as optional.\n\t *\n\t * @example\n\t *
\n\t * new UrlMatcher('/user/{id}?q&r').exec('/user/bob', {\n\t *   x: '1', q: 'hello'\n\t * });\n\t * // returns { id: 'bob', q: 'hello', r: null }\n\t * 
\n\t *\n\t * @param {string} path The URL path to match, e.g. `$location.path()`.\n\t * @param {Object} searchParams URL search parameters, e.g. `$location.search()`.\n\t * @returns {Object} The captured parameter values.\n\t */\n\tUrlMatcher.prototype.exec = function (path, searchParams) {\n\t var m = this.regexp.exec(path);\n\t if (!m) return null;\n\t searchParams = searchParams || {};\n\t\n\t var paramNames = this.parameters(), nTotal = paramNames.length,\n\t nPath = this.segments.length - 1,\n\t values = {}, i, j, cfg, paramName;\n\t\n\t if (nPath !== m.length - 1) throw new Error(\"Unbalanced capture group in route '\" + this.source + \"'\");\n\t\n\t function decodePathArray(string) {\n\t function reverseString(str) { return str.split(\"\").reverse().join(\"\"); }\n\t function unquoteDashes(str) { return str.replace(/\\\\-/g, \"-\"); }\n\t\n\t var split = reverseString(string).split(/-(?!\\\\)/);\n\t var allReversed = map(split, reverseString);\n\t return map(allReversed, unquoteDashes).reverse();\n\t }\n\t\n\t for (i = 0; i < nPath; i++) {\n\t paramName = paramNames[i];\n\t var param = this.params[paramName];\n\t var paramVal = m[i+1];\n\t // if the param value matches a pre-replace pair, replace the value before decoding.\n\t for (j = 0; j < param.replace; j++) {\n\t if (param.replace[j].from === paramVal) paramVal = param.replace[j].to;\n\t }\n\t if (paramVal && param.array === true) paramVal = decodePathArray(paramVal);\n\t values[paramName] = param.value(paramVal);\n\t }\n\t for (/**/; i < nTotal; i++) {\n\t paramName = paramNames[i];\n\t values[paramName] = this.params[paramName].value(searchParams[paramName]);\n\t }\n\t\n\t return values;\n\t};\n\t\n\t/**\n\t * @ngdoc function\n\t * @name ui.router.util.type:UrlMatcher#parameters\n\t * @methodOf ui.router.util.type:UrlMatcher\n\t *\n\t * @description\n\t * Returns the names of all path and search parameters of this pattern in an unspecified order.\n\t *\n\t * @returns {Array.} An array of parameter names. Must be treated as read-only. If the\n\t * pattern has no parameters, an empty array is returned.\n\t */\n\tUrlMatcher.prototype.parameters = function (param) {\n\t if (!isDefined(param)) return this.$$paramNames;\n\t return this.params[param] || null;\n\t};\n\t\n\t/**\n\t * @ngdoc function\n\t * @name ui.router.util.type:UrlMatcher#validate\n\t * @methodOf ui.router.util.type:UrlMatcher\n\t *\n\t * @description\n\t * Checks an object hash of parameters to validate their correctness according to the parameter\n\t * types of this `UrlMatcher`.\n\t *\n\t * @param {Object} params The object hash of parameters to validate.\n\t * @returns {boolean} Returns `true` if `params` validates, otherwise `false`.\n\t */\n\tUrlMatcher.prototype.validates = function (params) {\n\t return this.params.$$validates(params);\n\t};\n\t\n\t/**\n\t * @ngdoc function\n\t * @name ui.router.util.type:UrlMatcher#format\n\t * @methodOf ui.router.util.type:UrlMatcher\n\t *\n\t * @description\n\t * Creates a URL that matches this pattern by substituting the specified values\n\t * for the path and search parameters. Null values for path parameters are\n\t * treated as empty strings.\n\t *\n\t * @example\n\t *
\n\t * new UrlMatcher('/user/{id}?q').format({ id:'bob', q:'yes' });\n\t * // returns '/user/bob?q=yes'\n\t * 
\n\t *\n\t * @param {Object} values the values to substitute for the parameters in this pattern.\n\t * @returns {string} the formatted URL (path and optionally search part).\n\t */\n\tUrlMatcher.prototype.format = function (values) {\n\t values = values || {};\n\t var segments = this.segments, params = this.parameters(), paramset = this.params;\n\t if (!this.validates(values)) return null;\n\t\n\t var i, search = false, nPath = segments.length - 1, nTotal = params.length, result = segments[0];\n\t\n\t function encodeDashes(str) { // Replace dashes with encoded \"\\-\"\n\t return encodeURIComponent(str).replace(/-/g, function(c) { return '%5C%' + c.charCodeAt(0).toString(16).toUpperCase(); });\n\t }\n\t\n\t for (i = 0; i < nTotal; i++) {\n\t var isPathParam = i < nPath;\n\t var name = params[i], param = paramset[name], value = param.value(values[name]);\n\t var isDefaultValue = param.isOptional && param.type.equals(param.value(), value);\n\t var squash = isDefaultValue ? param.squash : false;\n\t var encoded = param.type.encode(value);\n\t\n\t if (isPathParam) {\n\t var nextSegment = segments[i + 1];\n\t if (squash === false) {\n\t if (encoded != null) {\n\t if (isArray(encoded)) {\n\t result += map(encoded, encodeDashes).join(\"-\");\n\t } else {\n\t result += encodeURIComponent(encoded);\n\t }\n\t }\n\t result += nextSegment;\n\t } else if (squash === true) {\n\t var capture = result.match(/\\/$/) ? /\\/?(.*)/ : /(.*)/;\n\t result += nextSegment.match(capture)[1];\n\t } else if (isString(squash)) {\n\t result += squash + nextSegment;\n\t }\n\t } else {\n\t if (encoded == null || (isDefaultValue && squash !== false)) continue;\n\t if (!isArray(encoded)) encoded = [ encoded ];\n\t encoded = map(encoded, encodeURIComponent).join('&' + name + '=');\n\t result += (search ? '&' : '?') + (name + '=' + encoded);\n\t search = true;\n\t }\n\t }\n\t\n\t return result;\n\t};\n\t\n\t/**\n\t * @ngdoc object\n\t * @name ui.router.util.type:Type\n\t *\n\t * @description\n\t * Implements an interface to define custom parameter types that can be decoded from and encoded to\n\t * string parameters matched in a URL. Used by {@link ui.router.util.type:UrlMatcher `UrlMatcher`}\n\t * objects when matching or formatting URLs, or comparing or validating parameter values.\n\t *\n\t * See {@link ui.router.util.$urlMatcherFactory#methods_type `$urlMatcherFactory#type()`} for more\n\t * information on registering custom types.\n\t *\n\t * @param {Object} config A configuration object which contains the custom type definition. The object's\n\t * properties will override the default methods and/or pattern in `Type`'s public interface.\n\t * @example\n\t *
\n\t * {\n\t *   decode: function(val) { return parseInt(val, 10); },\n\t *   encode: function(val) { return val && val.toString(); },\n\t *   equals: function(a, b) { return this.is(a) && a === b; },\n\t *   is: function(val) { return angular.isNumber(val) isFinite(val) && val % 1 === 0; },\n\t *   pattern: /\\d+/\n\t * }\n\t * 
\n\t *\n\t * @property {RegExp} pattern The regular expression pattern used to match values of this type when\n\t * coming from a substring of a URL.\n\t *\n\t * @returns {Object} Returns a new `Type` object.\n\t */\n\tfunction Type(config) {\n\t extend(this, config);\n\t}\n\t\n\t/**\n\t * @ngdoc function\n\t * @name ui.router.util.type:Type#is\n\t * @methodOf ui.router.util.type:Type\n\t *\n\t * @description\n\t * Detects whether a value is of a particular type. Accepts a native (decoded) value\n\t * and determines whether it matches the current `Type` object.\n\t *\n\t * @param {*} val The value to check.\n\t * @param {string} key Optional. If the type check is happening in the context of a specific\n\t * {@link ui.router.util.type:UrlMatcher `UrlMatcher`} object, this is the name of the\n\t * parameter in which `val` is stored. Can be used for meta-programming of `Type` objects.\n\t * @returns {Boolean} Returns `true` if the value matches the type, otherwise `false`.\n\t */\n\tType.prototype.is = function(val, key) {\n\t return true;\n\t};\n\t\n\t/**\n\t * @ngdoc function\n\t * @name ui.router.util.type:Type#encode\n\t * @methodOf ui.router.util.type:Type\n\t *\n\t * @description\n\t * Encodes a custom/native type value to a string that can be embedded in a URL. Note that the\n\t * return value does *not* need to be URL-safe (i.e. passed through `encodeURIComponent()`), it\n\t * only needs to be a representation of `val` that has been coerced to a string.\n\t *\n\t * @param {*} val The value to encode.\n\t * @param {string} key The name of the parameter in which `val` is stored. Can be used for\n\t * meta-programming of `Type` objects.\n\t * @returns {string} Returns a string representation of `val` that can be encoded in a URL.\n\t */\n\tType.prototype.encode = function(val, key) {\n\t return val;\n\t};\n\t\n\t/**\n\t * @ngdoc function\n\t * @name ui.router.util.type:Type#decode\n\t * @methodOf ui.router.util.type:Type\n\t *\n\t * @description\n\t * Converts a parameter value (from URL string or transition param) to a custom/native value.\n\t *\n\t * @param {string} val The URL parameter value to decode.\n\t * @param {string} key The name of the parameter in which `val` is stored. Can be used for\n\t * meta-programming of `Type` objects.\n\t * @returns {*} Returns a custom representation of the URL parameter value.\n\t */\n\tType.prototype.decode = function(val, key) {\n\t return val;\n\t};\n\t\n\t/**\n\t * @ngdoc function\n\t * @name ui.router.util.type:Type#equals\n\t * @methodOf ui.router.util.type:Type\n\t *\n\t * @description\n\t * Determines whether two decoded values are equivalent.\n\t *\n\t * @param {*} a A value to compare against.\n\t * @param {*} b A value to compare against.\n\t * @returns {Boolean} Returns `true` if the values are equivalent/equal, otherwise `false`.\n\t */\n\tType.prototype.equals = function(a, b) {\n\t return a == b;\n\t};\n\t\n\tType.prototype.$subPattern = function() {\n\t var sub = this.pattern.toString();\n\t return sub.substr(1, sub.length - 2);\n\t};\n\t\n\tType.prototype.pattern = /.*/;\n\t\n\tType.prototype.toString = function() { return \"{Type:\" + this.name + \"}\"; };\n\t\n\t/** Given an encoded string, or a decoded object, returns a decoded object */\n\tType.prototype.$normalize = function(val) {\n\t return this.is(val) ? val : this.decode(val);\n\t};\n\t\n\t/*\n\t * Wraps an existing custom Type as an array of Type, depending on 'mode'.\n\t * e.g.:\n\t * - urlmatcher pattern \"/path?{queryParam[]:int}\"\n\t * - url: \"/path?queryParam=1&queryParam=2\n\t * - $stateParams.queryParam will be [1, 2]\n\t * if `mode` is \"auto\", then\n\t * - url: \"/path?queryParam=1 will create $stateParams.queryParam: 1\n\t * - url: \"/path?queryParam=1&queryParam=2 will create $stateParams.queryParam: [1, 2]\n\t */\n\tType.prototype.$asArray = function(mode, isSearch) {\n\t if (!mode) return this;\n\t if (mode === \"auto\" && !isSearch) throw new Error(\"'auto' array mode is for query parameters only\");\n\t\n\t function ArrayType(type, mode) {\n\t function bindTo(type, callbackName) {\n\t return function() {\n\t return type[callbackName].apply(type, arguments);\n\t };\n\t }\n\t\n\t // Wrap non-array value as array\n\t function arrayWrap(val) { return isArray(val) ? val : (isDefined(val) ? [ val ] : []); }\n\t // Unwrap array value for \"auto\" mode. Return undefined for empty array.\n\t function arrayUnwrap(val) {\n\t switch(val.length) {\n\t case 0: return undefined;\n\t case 1: return mode === \"auto\" ? val[0] : val;\n\t default: return val;\n\t }\n\t }\n\t function falsey(val) { return !val; }\n\t\n\t // Wraps type (.is/.encode/.decode) functions to operate on each value of an array\n\t function arrayHandler(callback, allTruthyMode) {\n\t return function handleArray(val) {\n\t val = arrayWrap(val);\n\t var result = map(val, callback);\n\t if (allTruthyMode === true)\n\t return filter(result, falsey).length === 0;\n\t return arrayUnwrap(result);\n\t };\n\t }\n\t\n\t // Wraps type (.equals) functions to operate on each value of an array\n\t function arrayEqualsHandler(callback) {\n\t return function handleArray(val1, val2) {\n\t var left = arrayWrap(val1), right = arrayWrap(val2);\n\t if (left.length !== right.length) return false;\n\t for (var i = 0; i < left.length; i++) {\n\t if (!callback(left[i], right[i])) return false;\n\t }\n\t return true;\n\t };\n\t }\n\t\n\t this.encode = arrayHandler(bindTo(type, 'encode'));\n\t this.decode = arrayHandler(bindTo(type, 'decode'));\n\t this.is = arrayHandler(bindTo(type, 'is'), true);\n\t this.equals = arrayEqualsHandler(bindTo(type, 'equals'));\n\t this.pattern = type.pattern;\n\t this.$normalize = arrayHandler(bindTo(type, '$normalize'));\n\t this.name = type.name;\n\t this.$arrayMode = mode;\n\t }\n\t\n\t return new ArrayType(this, mode);\n\t};\n\t\n\t\n\t\n\t/**\n\t * @ngdoc object\n\t * @name ui.router.util.$urlMatcherFactory\n\t *\n\t * @description\n\t * Factory for {@link ui.router.util.type:UrlMatcher `UrlMatcher`} instances. The factory\n\t * is also available to providers under the name `$urlMatcherFactoryProvider`.\n\t */\n\tfunction $UrlMatcherFactory() {\n\t $$UMFP = this;\n\t\n\t var isCaseInsensitive = false, isStrictMode = true, defaultSquashPolicy = false;\n\t\n\t function valToString(val) { return val != null ? val.toString().replace(/\\//g, \"%2F\") : val; }\n\t function valFromString(val) { return val != null ? val.toString().replace(/%2F/g, \"/\") : val; }\n\t\n\t var $types = {}, enqueue = true, typeQueue = [], injector, defaultTypes = {\n\t string: {\n\t encode: valToString,\n\t decode: valFromString,\n\t // TODO: in 1.0, make string .is() return false if value is undefined/null by default.\n\t // In 0.2.x, string params are optional by default for backwards compat\n\t is: function(val) { return val == null || !isDefined(val) || typeof val === \"string\"; },\n\t pattern: /[^/]*/\n\t },\n\t int: {\n\t encode: valToString,\n\t decode: function(val) { return parseInt(val, 10); },\n\t is: function(val) { return isDefined(val) && this.decode(val.toString()) === val; },\n\t pattern: /\\d+/\n\t },\n\t bool: {\n\t encode: function(val) { return val ? 1 : 0; },\n\t decode: function(val) { return parseInt(val, 10) !== 0; },\n\t is: function(val) { return val === true || val === false; },\n\t pattern: /0|1/\n\t },\n\t date: {\n\t encode: function (val) {\n\t if (!this.is(val))\n\t return undefined;\n\t return [ val.getFullYear(),\n\t ('0' + (val.getMonth() + 1)).slice(-2),\n\t ('0' + val.getDate()).slice(-2)\n\t ].join(\"-\");\n\t },\n\t decode: function (val) {\n\t if (this.is(val)) return val;\n\t var match = this.capture.exec(val);\n\t return match ? new Date(match[1], match[2] - 1, match[3]) : undefined;\n\t },\n\t is: function(val) { return val instanceof Date && !isNaN(val.valueOf()); },\n\t equals: function (a, b) { return this.is(a) && this.is(b) && a.toISOString() === b.toISOString(); },\n\t pattern: /[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])/,\n\t capture: /([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])/\n\t },\n\t json: {\n\t encode: angular.toJson,\n\t decode: angular.fromJson,\n\t is: angular.isObject,\n\t equals: angular.equals,\n\t pattern: /[^/]*/\n\t },\n\t any: { // does not encode/decode\n\t encode: angular.identity,\n\t decode: angular.identity,\n\t equals: angular.equals,\n\t pattern: /.*/\n\t }\n\t };\n\t\n\t function getDefaultConfig() {\n\t return {\n\t strict: isStrictMode,\n\t caseInsensitive: isCaseInsensitive\n\t };\n\t }\n\t\n\t function isInjectable(value) {\n\t return (isFunction(value) || (isArray(value) && isFunction(value[value.length - 1])));\n\t }\n\t\n\t /**\n\t * [Internal] Get the default value of a parameter, which may be an injectable function.\n\t */\n\t $UrlMatcherFactory.$$getDefaultValue = function(config) {\n\t if (!isInjectable(config.value)) return config.value;\n\t if (!injector) throw new Error(\"Injectable functions cannot be called at configuration time\");\n\t return injector.invoke(config.value);\n\t };\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.util.$urlMatcherFactory#caseInsensitive\n\t * @methodOf ui.router.util.$urlMatcherFactory\n\t *\n\t * @description\n\t * Defines whether URL matching should be case sensitive (the default behavior), or not.\n\t *\n\t * @param {boolean} value `false` to match URL in a case sensitive manner; otherwise `true`;\n\t * @returns {boolean} the current value of caseInsensitive\n\t */\n\t this.caseInsensitive = function(value) {\n\t if (isDefined(value))\n\t isCaseInsensitive = value;\n\t return isCaseInsensitive;\n\t };\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.util.$urlMatcherFactory#strictMode\n\t * @methodOf ui.router.util.$urlMatcherFactory\n\t *\n\t * @description\n\t * Defines whether URLs should match trailing slashes, or not (the default behavior).\n\t *\n\t * @param {boolean=} value `false` to match trailing slashes in URLs, otherwise `true`.\n\t * @returns {boolean} the current value of strictMode\n\t */\n\t this.strictMode = function(value) {\n\t if (isDefined(value))\n\t isStrictMode = value;\n\t return isStrictMode;\n\t };\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.util.$urlMatcherFactory#defaultSquashPolicy\n\t * @methodOf ui.router.util.$urlMatcherFactory\n\t *\n\t * @description\n\t * Sets the default behavior when generating or matching URLs with default parameter values.\n\t *\n\t * @param {string} value A string that defines the default parameter URL squashing behavior.\n\t * `nosquash`: When generating an href with a default parameter value, do not squash the parameter value from the URL\n\t * `slash`: When generating an href with a default parameter value, squash (remove) the parameter value, and, if the\n\t * parameter is surrounded by slashes, squash (remove) one slash from the URL\n\t * any other string, e.g. \"~\": When generating an href with a default parameter value, squash (remove)\n\t * the parameter value from the URL and replace it with this string.\n\t */\n\t this.defaultSquashPolicy = function(value) {\n\t if (!isDefined(value)) return defaultSquashPolicy;\n\t if (value !== true && value !== false && !isString(value))\n\t throw new Error(\"Invalid squash policy: \" + value + \". Valid policies: false, true, arbitrary-string\");\n\t defaultSquashPolicy = value;\n\t return value;\n\t };\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.util.$urlMatcherFactory#compile\n\t * @methodOf ui.router.util.$urlMatcherFactory\n\t *\n\t * @description\n\t * Creates a {@link ui.router.util.type:UrlMatcher `UrlMatcher`} for the specified pattern.\n\t *\n\t * @param {string} pattern The URL pattern.\n\t * @param {Object} config The config object hash.\n\t * @returns {UrlMatcher} The UrlMatcher.\n\t */\n\t this.compile = function (pattern, config) {\n\t return new UrlMatcher(pattern, extend(getDefaultConfig(), config));\n\t };\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.util.$urlMatcherFactory#isMatcher\n\t * @methodOf ui.router.util.$urlMatcherFactory\n\t *\n\t * @description\n\t * Returns true if the specified object is a `UrlMatcher`, or false otherwise.\n\t *\n\t * @param {Object} object The object to perform the type check against.\n\t * @returns {Boolean} Returns `true` if the object matches the `UrlMatcher` interface, by\n\t * implementing all the same methods.\n\t */\n\t this.isMatcher = function (o) {\n\t if (!isObject(o)) return false;\n\t var result = true;\n\t\n\t forEach(UrlMatcher.prototype, function(val, name) {\n\t if (isFunction(val)) {\n\t result = result && (isDefined(o[name]) && isFunction(o[name]));\n\t }\n\t });\n\t return result;\n\t };\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.util.$urlMatcherFactory#type\n\t * @methodOf ui.router.util.$urlMatcherFactory\n\t *\n\t * @description\n\t * Registers a custom {@link ui.router.util.type:Type `Type`} object that can be used to\n\t * generate URLs with typed parameters.\n\t *\n\t * @param {string} name The type name.\n\t * @param {Object|Function} definition The type definition. See\n\t * {@link ui.router.util.type:Type `Type`} for information on the values accepted.\n\t * @param {Object|Function} definitionFn (optional) A function that is injected before the app\n\t * runtime starts. The result of this function is merged into the existing `definition`.\n\t * See {@link ui.router.util.type:Type `Type`} for information on the values accepted.\n\t *\n\t * @returns {Object} Returns `$urlMatcherFactoryProvider`.\n\t *\n\t * @example\n\t * This is a simple example of a custom type that encodes and decodes items from an\n\t * array, using the array index as the URL-encoded value:\n\t *\n\t *
\n\t   * var list = ['John', 'Paul', 'George', 'Ringo'];\n\t   *\n\t   * $urlMatcherFactoryProvider.type('listItem', {\n\t   *   encode: function(item) {\n\t   *     // Represent the list item in the URL using its corresponding index\n\t   *     return list.indexOf(item);\n\t   *   },\n\t   *   decode: function(item) {\n\t   *     // Look up the list item by index\n\t   *     return list[parseInt(item, 10)];\n\t   *   },\n\t   *   is: function(item) {\n\t   *     // Ensure the item is valid by checking to see that it appears\n\t   *     // in the list\n\t   *     return list.indexOf(item) > -1;\n\t   *   }\n\t   * });\n\t   *\n\t   * $stateProvider.state('list', {\n\t   *   url: \"/list/{item:listItem}\",\n\t   *   controller: function($scope, $stateParams) {\n\t   *     console.log($stateParams.item);\n\t   *   }\n\t   * });\n\t   *\n\t   * // ...\n\t   *\n\t   * // Changes URL to '/list/3', logs \"Ringo\" to the console\n\t   * $state.go('list', { item: \"Ringo\" });\n\t   * 
\n\t *\n\t * This is a more complex example of a type that relies on dependency injection to\n\t * interact with services, and uses the parameter name from the URL to infer how to\n\t * handle encoding and decoding parameter values:\n\t *\n\t *
\n\t   * // Defines a custom type that gets a value from a service,\n\t   * // where each service gets different types of values from\n\t   * // a backend API:\n\t   * $urlMatcherFactoryProvider.type('dbObject', {}, function(Users, Posts) {\n\t   *\n\t   *   // Matches up services to URL parameter names\n\t   *   var services = {\n\t   *     user: Users,\n\t   *     post: Posts\n\t   *   };\n\t   *\n\t   *   return {\n\t   *     encode: function(object) {\n\t   *       // Represent the object in the URL using its unique ID\n\t   *       return object.id;\n\t   *     },\n\t   *     decode: function(value, key) {\n\t   *       // Look up the object by ID, using the parameter\n\t   *       // name (key) to call the correct service\n\t   *       return services[key].findById(value);\n\t   *     },\n\t   *     is: function(object, key) {\n\t   *       // Check that object is a valid dbObject\n\t   *       return angular.isObject(object) && object.id && services[key];\n\t   *     }\n\t   *     equals: function(a, b) {\n\t   *       // Check the equality of decoded objects by comparing\n\t   *       // their unique IDs\n\t   *       return a.id === b.id;\n\t   *     }\n\t   *   };\n\t   * });\n\t   *\n\t   * // In a config() block, you can then attach URLs with\n\t   * // type-annotated parameters:\n\t   * $stateProvider.state('users', {\n\t   *   url: \"/users\",\n\t   *   // ...\n\t   * }).state('users.item', {\n\t   *   url: \"/{user:dbObject}\",\n\t   *   controller: function($scope, $stateParams) {\n\t   *     // $stateParams.user will now be an object returned from\n\t   *     // the Users service\n\t   *   },\n\t   *   // ...\n\t   * });\n\t   * 
\n\t */\n\t this.type = function (name, definition, definitionFn) {\n\t if (!isDefined(definition)) return $types[name];\n\t if ($types.hasOwnProperty(name)) throw new Error(\"A type named '\" + name + \"' has already been defined.\");\n\t\n\t $types[name] = new Type(extend({ name: name }, definition));\n\t if (definitionFn) {\n\t typeQueue.push({ name: name, def: definitionFn });\n\t if (!enqueue) flushTypeQueue();\n\t }\n\t return this;\n\t };\n\t\n\t // `flushTypeQueue()` waits until `$urlMatcherFactory` is injected before invoking the queued `definitionFn`s\n\t function flushTypeQueue() {\n\t while(typeQueue.length) {\n\t var type = typeQueue.shift();\n\t if (type.pattern) throw new Error(\"You cannot override a type's .pattern at runtime.\");\n\t angular.extend($types[type.name], injector.invoke(type.def));\n\t }\n\t }\n\t\n\t // Register default types. Store them in the prototype of $types.\n\t forEach(defaultTypes, function(type, name) { $types[name] = new Type(extend({name: name}, type)); });\n\t $types = inherit($types, {});\n\t\n\t /* No need to document $get, since it returns this */\n\t this.$get = ['$injector', function ($injector) {\n\t injector = $injector;\n\t enqueue = false;\n\t flushTypeQueue();\n\t\n\t forEach(defaultTypes, function(type, name) {\n\t if (!$types[name]) $types[name] = new Type(type);\n\t });\n\t return this;\n\t }];\n\t\n\t this.Param = function Param(id, type, config, location) {\n\t var self = this;\n\t config = unwrapShorthand(config);\n\t type = getType(config, type, location);\n\t var arrayMode = getArrayMode();\n\t type = arrayMode ? type.$asArray(arrayMode, location === \"search\") : type;\n\t if (type.name === \"string\" && !arrayMode && location === \"path\" && config.value === undefined)\n\t config.value = \"\"; // for 0.2.x; in 0.3.0+ do not automatically default to \"\"\n\t var isOptional = config.value !== undefined;\n\t var squash = getSquashPolicy(config, isOptional);\n\t var replace = getReplace(config, arrayMode, isOptional, squash);\n\t\n\t function unwrapShorthand(config) {\n\t var keys = isObject(config) ? objectKeys(config) : [];\n\t var isShorthand = indexOf(keys, \"value\") === -1 && indexOf(keys, \"type\") === -1 &&\n\t indexOf(keys, \"squash\") === -1 && indexOf(keys, \"array\") === -1;\n\t if (isShorthand) config = { value: config };\n\t config.$$fn = isInjectable(config.value) ? config.value : function () { return config.value; };\n\t return config;\n\t }\n\t\n\t function getType(config, urlType, location) {\n\t if (config.type && urlType) throw new Error(\"Param '\"+id+\"' has two type configurations.\");\n\t if (urlType) return urlType;\n\t if (!config.type) return (location === \"config\" ? $types.any : $types.string);\n\t return config.type instanceof Type ? config.type : new Type(config.type);\n\t }\n\t\n\t // array config: param name (param[]) overrides default settings. explicit config overrides param name.\n\t function getArrayMode() {\n\t var arrayDefaults = { array: (location === \"search\" ? \"auto\" : false) };\n\t var arrayParamNomenclature = id.match(/\\[\\]$/) ? { array: true } : {};\n\t return extend(arrayDefaults, arrayParamNomenclature, config).array;\n\t }\n\t\n\t /**\n\t * returns false, true, or the squash value to indicate the \"default parameter url squash policy\".\n\t */\n\t function getSquashPolicy(config, isOptional) {\n\t var squash = config.squash;\n\t if (!isOptional || squash === false) return false;\n\t if (!isDefined(squash) || squash == null) return defaultSquashPolicy;\n\t if (squash === true || isString(squash)) return squash;\n\t throw new Error(\"Invalid squash policy: '\" + squash + \"'. Valid policies: false, true, or arbitrary string\");\n\t }\n\t\n\t function getReplace(config, arrayMode, isOptional, squash) {\n\t var replace, configuredKeys, defaultPolicy = [\n\t { from: \"\", to: (isOptional || arrayMode ? undefined : \"\") },\n\t { from: null, to: (isOptional || arrayMode ? undefined : \"\") }\n\t ];\n\t replace = isArray(config.replace) ? config.replace : [];\n\t if (isString(squash))\n\t replace.push({ from: squash, to: undefined });\n\t configuredKeys = map(replace, function(item) { return item.from; } );\n\t return filter(defaultPolicy, function(item) { return indexOf(configuredKeys, item.from) === -1; }).concat(replace);\n\t }\n\t\n\t /**\n\t * [Internal] Get the default value of a parameter, which may be an injectable function.\n\t */\n\t function $$getDefaultValue() {\n\t if (!injector) throw new Error(\"Injectable functions cannot be called at configuration time\");\n\t var defaultValue = injector.invoke(config.$$fn);\n\t if (defaultValue !== null && defaultValue !== undefined && !self.type.is(defaultValue))\n\t throw new Error(\"Default value (\" + defaultValue + \") for parameter '\" + self.id + \"' is not an instance of Type (\" + self.type.name + \")\");\n\t return defaultValue;\n\t }\n\t\n\t /**\n\t * [Internal] Gets the decoded representation of a value if the value is defined, otherwise, returns the\n\t * default value, which may be the result of an injectable function.\n\t */\n\t function $value(value) {\n\t function hasReplaceVal(val) { return function(obj) { return obj.from === val; }; }\n\t function $replace(value) {\n\t var replacement = map(filter(self.replace, hasReplaceVal(value)), function(obj) { return obj.to; });\n\t return replacement.length ? replacement[0] : value;\n\t }\n\t value = $replace(value);\n\t return !isDefined(value) ? $$getDefaultValue() : self.type.$normalize(value);\n\t }\n\t\n\t function toString() { return \"{Param:\" + id + \" \" + type + \" squash: '\" + squash + \"' optional: \" + isOptional + \"}\"; }\n\t\n\t extend(this, {\n\t id: id,\n\t type: type,\n\t location: location,\n\t array: arrayMode,\n\t squash: squash,\n\t replace: replace,\n\t isOptional: isOptional,\n\t value: $value,\n\t dynamic: undefined,\n\t config: config,\n\t toString: toString\n\t });\n\t };\n\t\n\t function ParamSet(params) {\n\t extend(this, params || {});\n\t }\n\t\n\t ParamSet.prototype = {\n\t $$new: function() {\n\t return inherit(this, extend(new ParamSet(), { $$parent: this}));\n\t },\n\t $$keys: function () {\n\t var keys = [], chain = [], parent = this,\n\t ignore = objectKeys(ParamSet.prototype);\n\t while (parent) { chain.push(parent); parent = parent.$$parent; }\n\t chain.reverse();\n\t forEach(chain, function(paramset) {\n\t forEach(objectKeys(paramset), function(key) {\n\t if (indexOf(keys, key) === -1 && indexOf(ignore, key) === -1) keys.push(key);\n\t });\n\t });\n\t return keys;\n\t },\n\t $$values: function(paramValues) {\n\t var values = {}, self = this;\n\t forEach(self.$$keys(), function(key) {\n\t values[key] = self[key].value(paramValues && paramValues[key]);\n\t });\n\t return values;\n\t },\n\t $$equals: function(paramValues1, paramValues2) {\n\t var equal = true, self = this;\n\t forEach(self.$$keys(), function(key) {\n\t var left = paramValues1 && paramValues1[key], right = paramValues2 && paramValues2[key];\n\t if (!self[key].type.equals(left, right)) equal = false;\n\t });\n\t return equal;\n\t },\n\t $$validates: function $$validate(paramValues) {\n\t var keys = this.$$keys(), i, param, rawVal, normalized, encoded;\n\t for (i = 0; i < keys.length; i++) {\n\t param = this[keys[i]];\n\t rawVal = paramValues[keys[i]];\n\t if ((rawVal === undefined || rawVal === null) && param.isOptional)\n\t break; // There was no parameter value, but the param is optional\n\t normalized = param.type.$normalize(rawVal);\n\t if (!param.type.is(normalized))\n\t return false; // The value was not of the correct Type, and could not be decoded to the correct Type\n\t encoded = param.type.encode(normalized);\n\t if (angular.isString(encoded) && !param.type.pattern.exec(encoded))\n\t return false; // The value was of the correct type, but when encoded, did not match the Type's regexp\n\t }\n\t return true;\n\t },\n\t $$parent: undefined\n\t };\n\t\n\t this.ParamSet = ParamSet;\n\t}\n\t\n\t// Register as a provider so it's available to other providers\n\tangular.module('ui.router.util').provider('$urlMatcherFactory', $UrlMatcherFactory);\n\tangular.module('ui.router.util').run(['$urlMatcherFactory', function($urlMatcherFactory) { }]);\n\t\n\t/**\n\t * @ngdoc object\n\t * @name ui.router.router.$urlRouterProvider\n\t *\n\t * @requires ui.router.util.$urlMatcherFactoryProvider\n\t * @requires $locationProvider\n\t *\n\t * @description\n\t * `$urlRouterProvider` has the responsibility of watching `$location`. \n\t * When `$location` changes it runs through a list of rules one by one until a \n\t * match is found. `$urlRouterProvider` is used behind the scenes anytime you specify \n\t * a url in a state configuration. All urls are compiled into a UrlMatcher object.\n\t *\n\t * There are several methods on `$urlRouterProvider` that make it useful to use directly\n\t * in your module config.\n\t */\n\t$UrlRouterProvider.$inject = ['$locationProvider', '$urlMatcherFactoryProvider'];\n\tfunction $UrlRouterProvider( $locationProvider, $urlMatcherFactory) {\n\t var rules = [], otherwise = null, interceptDeferred = false, listener;\n\t\n\t // Returns a string that is a prefix of all strings matching the RegExp\n\t function regExpPrefix(re) {\n\t var prefix = /^\\^((?:\\\\[^a-zA-Z0-9]|[^\\\\\\[\\]\\^$*+?.()|{}]+)*)/.exec(re.source);\n\t return (prefix != null) ? prefix[1].replace(/\\\\(.)/g, \"$1\") : '';\n\t }\n\t\n\t // Interpolates matched values into a String.replace()-style pattern\n\t function interpolate(pattern, match) {\n\t return pattern.replace(/\\$(\\$|\\d{1,2})/, function (m, what) {\n\t return match[what === '$' ? 0 : Number(what)];\n\t });\n\t }\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.router.$urlRouterProvider#rule\n\t * @methodOf ui.router.router.$urlRouterProvider\n\t *\n\t * @description\n\t * Defines rules that are used by `$urlRouterProvider` to find matches for\n\t * specific URLs.\n\t *\n\t * @example\n\t *
\n\t   * var app = angular.module('app', ['ui.router.router']);\n\t   *\n\t   * app.config(function ($urlRouterProvider) {\n\t   *   // Here's an example of how you might allow case insensitive urls\n\t   *   $urlRouterProvider.rule(function ($injector, $location) {\n\t   *     var path = $location.path(),\n\t   *         normalized = path.toLowerCase();\n\t   *\n\t   *     if (path !== normalized) {\n\t   *       return normalized;\n\t   *     }\n\t   *   });\n\t   * });\n\t   * 
\n\t *\n\t * @param {object} rule Handler function that takes `$injector` and `$location`\n\t * services as arguments. You can use them to return a valid path as a string.\n\t *\n\t * @return {object} `$urlRouterProvider` - `$urlRouterProvider` instance\n\t */\n\t this.rule = function (rule) {\n\t if (!isFunction(rule)) throw new Error(\"'rule' must be a function\");\n\t rules.push(rule);\n\t return this;\n\t };\n\t\n\t /**\n\t * @ngdoc object\n\t * @name ui.router.router.$urlRouterProvider#otherwise\n\t * @methodOf ui.router.router.$urlRouterProvider\n\t *\n\t * @description\n\t * Defines a path that is used when an invalid route is requested.\n\t *\n\t * @example\n\t *
\n\t   * var app = angular.module('app', ['ui.router.router']);\n\t   *\n\t   * app.config(function ($urlRouterProvider) {\n\t   *   // if the path doesn't match any of the urls you configured\n\t   *   // otherwise will take care of routing the user to the\n\t   *   // specified url\n\t   *   $urlRouterProvider.otherwise('/index');\n\t   *\n\t   *   // Example of using function rule as param\n\t   *   $urlRouterProvider.otherwise(function ($injector, $location) {\n\t   *     return '/a/valid/url';\n\t   *   });\n\t   * });\n\t   * 
\n\t *\n\t * @param {string|object} rule The url path you want to redirect to or a function \n\t * rule that returns the url path. The function version is passed two params: \n\t * `$injector` and `$location` services, and must return a url string.\n\t *\n\t * @return {object} `$urlRouterProvider` - `$urlRouterProvider` instance\n\t */\n\t this.otherwise = function (rule) {\n\t if (isString(rule)) {\n\t var redirect = rule;\n\t rule = function () { return redirect; };\n\t }\n\t else if (!isFunction(rule)) throw new Error(\"'rule' must be a function\");\n\t otherwise = rule;\n\t return this;\n\t };\n\t\n\t\n\t function handleIfMatch($injector, handler, match) {\n\t if (!match) return false;\n\t var result = $injector.invoke(handler, handler, { $match: match });\n\t return isDefined(result) ? result : true;\n\t }\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.router.$urlRouterProvider#when\n\t * @methodOf ui.router.router.$urlRouterProvider\n\t *\n\t * @description\n\t * Registers a handler for a given url matching. if handle is a string, it is\n\t * treated as a redirect, and is interpolated according to the syntax of match\n\t * (i.e. like `String.replace()` for `RegExp`, or like a `UrlMatcher` pattern otherwise).\n\t *\n\t * If the handler is a function, it is injectable. It gets invoked if `$location`\n\t * matches. You have the option of inject the match object as `$match`.\n\t *\n\t * The handler can return\n\t *\n\t * - **falsy** to indicate that the rule didn't match after all, then `$urlRouter`\n\t * will continue trying to find another one that matches.\n\t * - **string** which is treated as a redirect and passed to `$location.url()`\n\t * - **void** or any **truthy** value tells `$urlRouter` that the url was handled.\n\t *\n\t * @example\n\t *
\n\t   * var app = angular.module('app', ['ui.router.router']);\n\t   *\n\t   * app.config(function ($urlRouterProvider) {\n\t   *   $urlRouterProvider.when($state.url, function ($match, $stateParams) {\n\t   *     if ($state.$current.navigable !== state ||\n\t   *         !equalForKeys($match, $stateParams) {\n\t   *      $state.transitionTo(state, $match, false);\n\t   *     }\n\t   *   });\n\t   * });\n\t   * 
\n\t *\n\t * @param {string|object} what The incoming path that you want to redirect.\n\t * @param {string|object} handler The path you want to redirect your user to.\n\t */\n\t this.when = function (what, handler) {\n\t var redirect, handlerIsString = isString(handler);\n\t if (isString(what)) what = $urlMatcherFactory.compile(what);\n\t\n\t if (!handlerIsString && !isFunction(handler) && !isArray(handler))\n\t throw new Error(\"invalid 'handler' in when()\");\n\t\n\t var strategies = {\n\t matcher: function (what, handler) {\n\t if (handlerIsString) {\n\t redirect = $urlMatcherFactory.compile(handler);\n\t handler = ['$match', function ($match) { return redirect.format($match); }];\n\t }\n\t return extend(function ($injector, $location) {\n\t return handleIfMatch($injector, handler, what.exec($location.path(), $location.search()));\n\t }, {\n\t prefix: isString(what.prefix) ? what.prefix : ''\n\t });\n\t },\n\t regex: function (what, handler) {\n\t if (what.global || what.sticky) throw new Error(\"when() RegExp must not be global or sticky\");\n\t\n\t if (handlerIsString) {\n\t redirect = handler;\n\t handler = ['$match', function ($match) { return interpolate(redirect, $match); }];\n\t }\n\t return extend(function ($injector, $location) {\n\t return handleIfMatch($injector, handler, what.exec($location.path()));\n\t }, {\n\t prefix: regExpPrefix(what)\n\t });\n\t }\n\t };\n\t\n\t var check = { matcher: $urlMatcherFactory.isMatcher(what), regex: what instanceof RegExp };\n\t\n\t for (var n in check) {\n\t if (check[n]) return this.rule(strategies[n](what, handler));\n\t }\n\t\n\t throw new Error(\"invalid 'what' in when()\");\n\t };\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.router.$urlRouterProvider#deferIntercept\n\t * @methodOf ui.router.router.$urlRouterProvider\n\t *\n\t * @description\n\t * Disables (or enables) deferring location change interception.\n\t *\n\t * If you wish to customize the behavior of syncing the URL (for example, if you wish to\n\t * defer a transition but maintain the current URL), call this method at configuration time.\n\t * Then, at run time, call `$urlRouter.listen()` after you have configured your own\n\t * `$locationChangeSuccess` event handler.\n\t *\n\t * @example\n\t *
\n\t   * var app = angular.module('app', ['ui.router.router']);\n\t   *\n\t   * app.config(function ($urlRouterProvider) {\n\t   *\n\t   *   // Prevent $urlRouter from automatically intercepting URL changes;\n\t   *   // this allows you to configure custom behavior in between\n\t   *   // location changes and route synchronization:\n\t   *   $urlRouterProvider.deferIntercept();\n\t   *\n\t   * }).run(function ($rootScope, $urlRouter, UserService) {\n\t   *\n\t   *   $rootScope.$on('$locationChangeSuccess', function(e) {\n\t   *     // UserService is an example service for managing user state\n\t   *     if (UserService.isLoggedIn()) return;\n\t   *\n\t   *     // Prevent $urlRouter's default handler from firing\n\t   *     e.preventDefault();\n\t   *\n\t   *     UserService.handleLogin().then(function() {\n\t   *       // Once the user has logged in, sync the current URL\n\t   *       // to the router:\n\t   *       $urlRouter.sync();\n\t   *     });\n\t   *   });\n\t   *\n\t   *   // Configures $urlRouter's listener *after* your custom listener\n\t   *   $urlRouter.listen();\n\t   * });\n\t   * 
\n\t *\n\t * @param {boolean} defer Indicates whether to defer location change interception. Passing\n\t no parameter is equivalent to `true`.\n\t */\n\t this.deferIntercept = function (defer) {\n\t if (defer === undefined) defer = true;\n\t interceptDeferred = defer;\n\t };\n\t\n\t /**\n\t * @ngdoc object\n\t * @name ui.router.router.$urlRouter\n\t *\n\t * @requires $location\n\t * @requires $rootScope\n\t * @requires $injector\n\t * @requires $browser\n\t *\n\t * @description\n\t *\n\t */\n\t this.$get = $get;\n\t $get.$inject = ['$location', '$rootScope', '$injector', '$browser'];\n\t function $get( $location, $rootScope, $injector, $browser) {\n\t\n\t var baseHref = $browser.baseHref(), location = $location.url(), lastPushedUrl;\n\t\n\t function appendBasePath(url, isHtml5, absolute) {\n\t if (baseHref === '/') return url;\n\t if (isHtml5) return baseHref.slice(0, -1) + url;\n\t if (absolute) return baseHref.slice(1) + url;\n\t return url;\n\t }\n\t\n\t // TODO: Optimize groups of rules with non-empty prefix into some sort of decision tree\n\t function update(evt) {\n\t if (evt && evt.defaultPrevented) return;\n\t var ignoreUpdate = lastPushedUrl && $location.url() === lastPushedUrl;\n\t lastPushedUrl = undefined;\n\t // TODO: Re-implement this in 1.0 for https://github.com/angular-ui/ui-router/issues/1573\n\t //if (ignoreUpdate) return true;\n\t\n\t function check(rule) {\n\t var handled = rule($injector, $location);\n\t\n\t if (!handled) return false;\n\t if (isString(handled)) $location.replace().url(handled);\n\t return true;\n\t }\n\t var n = rules.length, i;\n\t\n\t for (i = 0; i < n; i++) {\n\t if (check(rules[i])) return;\n\t }\n\t // always check otherwise last to allow dynamic updates to the set of rules\n\t if (otherwise) check(otherwise);\n\t }\n\t\n\t function listen() {\n\t listener = listener || $rootScope.$on('$locationChangeSuccess', update);\n\t return listener;\n\t }\n\t\n\t if (!interceptDeferred) listen();\n\t\n\t return {\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.router.$urlRouter#sync\n\t * @methodOf ui.router.router.$urlRouter\n\t *\n\t * @description\n\t * Triggers an update; the same update that happens when the address bar url changes, aka `$locationChangeSuccess`.\n\t * This method is useful when you need to use `preventDefault()` on the `$locationChangeSuccess` event,\n\t * perform some custom logic (route protection, auth, config, redirection, etc) and then finally proceed\n\t * with the transition by calling `$urlRouter.sync()`.\n\t *\n\t * @example\n\t *
\n\t       * angular.module('app', ['ui.router'])\n\t       *   .run(function($rootScope, $urlRouter) {\n\t       *     $rootScope.$on('$locationChangeSuccess', function(evt) {\n\t       *       // Halt state change from even starting\n\t       *       evt.preventDefault();\n\t       *       // Perform custom logic\n\t       *       var meetsRequirement = ...\n\t       *       // Continue with the update and state transition if logic allows\n\t       *       if (meetsRequirement) $urlRouter.sync();\n\t       *     });\n\t       * });\n\t       * 
\n\t */\n\t sync: function() {\n\t update();\n\t },\n\t\n\t listen: function() {\n\t return listen();\n\t },\n\t\n\t update: function(read) {\n\t if (read) {\n\t location = $location.url();\n\t return;\n\t }\n\t if ($location.url() === location) return;\n\t\n\t $location.url(location);\n\t $location.replace();\n\t },\n\t\n\t push: function(urlMatcher, params, options) {\n\t var url = urlMatcher.format(params || {});\n\t\n\t // Handle the special hash param, if needed\n\t if (url !== null && params && params['#']) {\n\t url += '#' + params['#'];\n\t }\n\t\n\t $location.url(url);\n\t lastPushedUrl = options && options.$$avoidResync ? $location.url() : undefined;\n\t if (options && options.replace) $location.replace();\n\t },\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.router.$urlRouter#href\n\t * @methodOf ui.router.router.$urlRouter\n\t *\n\t * @description\n\t * A URL generation method that returns the compiled URL for a given\n\t * {@link ui.router.util.type:UrlMatcher `UrlMatcher`}, populated with the provided parameters.\n\t *\n\t * @example\n\t *
\n\t       * $bob = $urlRouter.href(new UrlMatcher(\"/about/:person\"), {\n\t       *   person: \"bob\"\n\t       * });\n\t       * // $bob == \"/about/bob\";\n\t       * 
\n\t *\n\t * @param {UrlMatcher} urlMatcher The `UrlMatcher` object which is used as the template of the URL to generate.\n\t * @param {object=} params An object of parameter values to fill the matcher's required parameters.\n\t * @param {object=} options Options object. The options are:\n\t *\n\t * - **`absolute`** - {boolean=false}, If true will generate an absolute url, e.g. \"http://www.example.com/fullurl\".\n\t *\n\t * @returns {string} Returns the fully compiled URL, or `null` if `params` fail validation against `urlMatcher`\n\t */\n\t href: function(urlMatcher, params, options) {\n\t if (!urlMatcher.validates(params)) return null;\n\t\n\t var isHtml5 = $locationProvider.html5Mode();\n\t if (angular.isObject(isHtml5)) {\n\t isHtml5 = isHtml5.enabled;\n\t }\n\t \n\t var url = urlMatcher.format(params);\n\t options = options || {};\n\t\n\t if (!isHtml5 && url !== null) {\n\t url = \"#\" + $locationProvider.hashPrefix() + url;\n\t }\n\t\n\t // Handle special hash param, if needed\n\t if (url !== null && params && params['#']) {\n\t url += '#' + params['#'];\n\t }\n\t\n\t url = appendBasePath(url, isHtml5, options.absolute);\n\t\n\t if (!options.absolute || !url) {\n\t return url;\n\t }\n\t\n\t var slash = (!isHtml5 && url ? '/' : ''), port = $location.port();\n\t port = (port === 80 || port === 443 ? '' : ':' + port);\n\t\n\t return [$location.protocol(), '://', $location.host(), port, slash, url].join('');\n\t }\n\t };\n\t }\n\t}\n\t\n\tangular.module('ui.router.router').provider('$urlRouter', $UrlRouterProvider);\n\t\n\t/**\n\t * @ngdoc object\n\t * @name ui.router.state.$stateProvider\n\t *\n\t * @requires ui.router.router.$urlRouterProvider\n\t * @requires ui.router.util.$urlMatcherFactoryProvider\n\t *\n\t * @description\n\t * The new `$stateProvider` works similar to Angular's v1 router, but it focuses purely\n\t * on state.\n\t *\n\t * A state corresponds to a \"place\" in the application in terms of the overall UI and\n\t * navigation. A state describes (via the controller / template / view properties) what\n\t * the UI looks like and does at that place.\n\t *\n\t * States often have things in common, and the primary way of factoring out these\n\t * commonalities in this model is via the state hierarchy, i.e. parent/child states aka\n\t * nested states.\n\t *\n\t * The `$stateProvider` provides interfaces to declare these states for your app.\n\t */\n\t$StateProvider.$inject = ['$urlRouterProvider', '$urlMatcherFactoryProvider'];\n\tfunction $StateProvider( $urlRouterProvider, $urlMatcherFactory) {\n\t\n\t var root, states = {}, $state, queue = {}, abstractKey = 'abstract';\n\t\n\t // Builds state properties from definition passed to registerState()\n\t var stateBuilder = {\n\t\n\t // Derive parent state from a hierarchical name only if 'parent' is not explicitly defined.\n\t // state.children = [];\n\t // if (parent) parent.children.push(state);\n\t parent: function(state) {\n\t if (isDefined(state.parent) && state.parent) return findState(state.parent);\n\t // regex matches any valid composite state name\n\t // would match \"contact.list\" but not \"contacts\"\n\t var compositeName = /^(.+)\\.[^.]+$/.exec(state.name);\n\t return compositeName ? findState(compositeName[1]) : root;\n\t },\n\t\n\t // inherit 'data' from parent and override by own values (if any)\n\t data: function(state) {\n\t if (state.parent && state.parent.data) {\n\t state.data = state.self.data = extend({}, state.parent.data, state.data);\n\t }\n\t return state.data;\n\t },\n\t\n\t // Build a URLMatcher if necessary, either via a relative or absolute URL\n\t url: function(state) {\n\t var url = state.url, config = { params: state.params || {} };\n\t\n\t if (isString(url)) {\n\t if (url.charAt(0) == '^') return $urlMatcherFactory.compile(url.substring(1), config);\n\t return (state.parent.navigable || root).url.concat(url, config);\n\t }\n\t\n\t if (!url || $urlMatcherFactory.isMatcher(url)) return url;\n\t throw new Error(\"Invalid url '\" + url + \"' in state '\" + state + \"'\");\n\t },\n\t\n\t // Keep track of the closest ancestor state that has a URL (i.e. is navigable)\n\t navigable: function(state) {\n\t return state.url ? state : (state.parent ? state.parent.navigable : null);\n\t },\n\t\n\t // Own parameters for this state. state.url.params is already built at this point. Create and add non-url params\n\t ownParams: function(state) {\n\t var params = state.url && state.url.params || new $$UMFP.ParamSet();\n\t forEach(state.params || {}, function(config, id) {\n\t if (!params[id]) params[id] = new $$UMFP.Param(id, null, config, \"config\");\n\t });\n\t return params;\n\t },\n\t\n\t // Derive parameters for this state and ensure they're a super-set of parent's parameters\n\t params: function(state) {\n\t return state.parent && state.parent.params ? extend(state.parent.params.$$new(), state.ownParams) : new $$UMFP.ParamSet();\n\t },\n\t\n\t // If there is no explicit multi-view configuration, make one up so we don't have\n\t // to handle both cases in the view directive later. Note that having an explicit\n\t // 'views' property will mean the default unnamed view properties are ignored. This\n\t // is also a good time to resolve view names to absolute names, so everything is a\n\t // straight lookup at link time.\n\t views: function(state) {\n\t var views = {};\n\t\n\t forEach(isDefined(state.views) ? state.views : { '': state }, function (view, name) {\n\t if (name.indexOf('@') < 0) name += '@' + state.parent.name;\n\t views[name] = view;\n\t });\n\t return views;\n\t },\n\t\n\t // Keep a full path from the root down to this state as this is needed for state activation.\n\t path: function(state) {\n\t return state.parent ? state.parent.path.concat(state) : []; // exclude root from path\n\t },\n\t\n\t // Speed up $state.contains() as it's used a lot\n\t includes: function(state) {\n\t var includes = state.parent ? extend({}, state.parent.includes) : {};\n\t includes[state.name] = true;\n\t return includes;\n\t },\n\t\n\t $delegates: {}\n\t };\n\t\n\t function isRelative(stateName) {\n\t return stateName.indexOf(\".\") === 0 || stateName.indexOf(\"^\") === 0;\n\t }\n\t\n\t function findState(stateOrName, base) {\n\t if (!stateOrName) return undefined;\n\t\n\t var isStr = isString(stateOrName),\n\t name = isStr ? stateOrName : stateOrName.name,\n\t path = isRelative(name);\n\t\n\t if (path) {\n\t if (!base) throw new Error(\"No reference point given for path '\" + name + \"'\");\n\t base = findState(base);\n\t \n\t var rel = name.split(\".\"), i = 0, pathLength = rel.length, current = base;\n\t\n\t for (; i < pathLength; i++) {\n\t if (rel[i] === \"\" && i === 0) {\n\t current = base;\n\t continue;\n\t }\n\t if (rel[i] === \"^\") {\n\t if (!current.parent) throw new Error(\"Path '\" + name + \"' not valid for state '\" + base.name + \"'\");\n\t current = current.parent;\n\t continue;\n\t }\n\t break;\n\t }\n\t rel = rel.slice(i).join(\".\");\n\t name = current.name + (current.name && rel ? \".\" : \"\") + rel;\n\t }\n\t var state = states[name];\n\t\n\t if (state && (isStr || (!isStr && (state === stateOrName || state.self === stateOrName)))) {\n\t return state;\n\t }\n\t return undefined;\n\t }\n\t\n\t function queueState(parentName, state) {\n\t if (!queue[parentName]) {\n\t queue[parentName] = [];\n\t }\n\t queue[parentName].push(state);\n\t }\n\t\n\t function flushQueuedChildren(parentName) {\n\t var queued = queue[parentName] || [];\n\t while(queued.length) {\n\t registerState(queued.shift());\n\t }\n\t }\n\t\n\t function registerState(state) {\n\t // Wrap a new object around the state so we can store our private details easily.\n\t state = inherit(state, {\n\t self: state,\n\t resolve: state.resolve || {},\n\t toString: function() { return this.name; }\n\t });\n\t\n\t var name = state.name;\n\t if (!isString(name) || name.indexOf('@') >= 0) throw new Error(\"State must have a valid name\");\n\t if (states.hasOwnProperty(name)) throw new Error(\"State '\" + name + \"'' is already defined\");\n\t\n\t // Get parent name\n\t var parentName = (name.indexOf('.') !== -1) ? name.substring(0, name.lastIndexOf('.'))\n\t : (isString(state.parent)) ? state.parent\n\t : (isObject(state.parent) && isString(state.parent.name)) ? state.parent.name\n\t : '';\n\t\n\t // If parent is not registered yet, add state to queue and register later\n\t if (parentName && !states[parentName]) {\n\t return queueState(parentName, state.self);\n\t }\n\t\n\t for (var key in stateBuilder) {\n\t if (isFunction(stateBuilder[key])) state[key] = stateBuilder[key](state, stateBuilder.$delegates[key]);\n\t }\n\t states[name] = state;\n\t\n\t // Register the state in the global state list and with $urlRouter if necessary.\n\t if (!state[abstractKey] && state.url) {\n\t $urlRouterProvider.when(state.url, ['$match', '$stateParams', function ($match, $stateParams) {\n\t if ($state.$current.navigable != state || !equalForKeys($match, $stateParams)) {\n\t $state.transitionTo(state, $match, { inherit: true, location: false });\n\t }\n\t }]);\n\t }\n\t\n\t // Register any queued children\n\t flushQueuedChildren(name);\n\t\n\t return state;\n\t }\n\t\n\t // Checks text to see if it looks like a glob.\n\t function isGlob (text) {\n\t return text.indexOf('*') > -1;\n\t }\n\t\n\t // Returns true if glob matches current $state name.\n\t function doesStateMatchGlob (glob) {\n\t var globSegments = glob.split('.'),\n\t segments = $state.$current.name.split('.');\n\t\n\t //match single stars\n\t for (var i = 0, l = globSegments.length; i < l; i++) {\n\t if (globSegments[i] === '*') {\n\t segments[i] = '*';\n\t }\n\t }\n\t\n\t //match greedy starts\n\t if (globSegments[0] === '**') {\n\t segments = segments.slice(indexOf(segments, globSegments[1]));\n\t segments.unshift('**');\n\t }\n\t //match greedy ends\n\t if (globSegments[globSegments.length - 1] === '**') {\n\t segments.splice(indexOf(segments, globSegments[globSegments.length - 2]) + 1, Number.MAX_VALUE);\n\t segments.push('**');\n\t }\n\t\n\t if (globSegments.length != segments.length) {\n\t return false;\n\t }\n\t\n\t return segments.join('') === globSegments.join('');\n\t }\n\t\n\t\n\t // Implicit root state that is always active\n\t root = registerState({\n\t name: '',\n\t url: '^',\n\t views: null,\n\t 'abstract': true\n\t });\n\t root.navigable = null;\n\t\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.state.$stateProvider#decorator\n\t * @methodOf ui.router.state.$stateProvider\n\t *\n\t * @description\n\t * Allows you to extend (carefully) or override (at your own peril) the \n\t * `stateBuilder` object used internally by `$stateProvider`. This can be used \n\t * to add custom functionality to ui-router, for example inferring templateUrl \n\t * based on the state name.\n\t *\n\t * When passing only a name, it returns the current (original or decorated) builder\n\t * function that matches `name`.\n\t *\n\t * The builder functions that can be decorated are listed below. Though not all\n\t * necessarily have a good use case for decoration, that is up to you to decide.\n\t *\n\t * In addition, users can attach custom decorators, which will generate new \n\t * properties within the state's internal definition. There is currently no clear \n\t * use-case for this beyond accessing internal states (i.e. $state.$current), \n\t * however, expect this to become increasingly relevant as we introduce additional \n\t * meta-programming features.\n\t *\n\t * **Warning**: Decorators should not be interdependent because the order of \n\t * execution of the builder functions in non-deterministic. Builder functions \n\t * should only be dependent on the state definition object and super function.\n\t *\n\t *\n\t * Existing builder functions and current return values:\n\t *\n\t * - **parent** `{object}` - returns the parent state object.\n\t * - **data** `{object}` - returns state data, including any inherited data that is not\n\t * overridden by own values (if any).\n\t * - **url** `{object}` - returns a {@link ui.router.util.type:UrlMatcher UrlMatcher}\n\t * or `null`.\n\t * - **navigable** `{object}` - returns closest ancestor state that has a URL (aka is \n\t * navigable).\n\t * - **params** `{object}` - returns an array of state params that are ensured to \n\t * be a super-set of parent's params.\n\t * - **views** `{object}` - returns a views object where each key is an absolute view \n\t * name (i.e. \"viewName@stateName\") and each value is the config object \n\t * (template, controller) for the view. Even when you don't use the views object \n\t * explicitly on a state config, one is still created for you internally.\n\t * So by decorating this builder function you have access to decorating template \n\t * and controller properties.\n\t * - **ownParams** `{object}` - returns an array of params that belong to the state, \n\t * not including any params defined by ancestor states.\n\t * - **path** `{string}` - returns the full path from the root down to this state. \n\t * Needed for state activation.\n\t * - **includes** `{object}` - returns an object that includes every state that \n\t * would pass a `$state.includes()` test.\n\t *\n\t * @example\n\t *
\n\t   * // Override the internal 'views' builder with a function that takes the state\n\t   * // definition, and a reference to the internal function being overridden:\n\t   * $stateProvider.decorator('views', function (state, parent) {\n\t   *   var result = {},\n\t   *       views = parent(state);\n\t   *\n\t   *   angular.forEach(views, function (config, name) {\n\t   *     var autoName = (state.name + '.' + name).replace('.', '/');\n\t   *     config.templateUrl = config.templateUrl || '/partials/' + autoName + '.html';\n\t   *     result[name] = config;\n\t   *   });\n\t   *   return result;\n\t   * });\n\t   *\n\t   * $stateProvider.state('home', {\n\t   *   views: {\n\t   *     'contact.list': { controller: 'ListController' },\n\t   *     'contact.item': { controller: 'ItemController' }\n\t   *   }\n\t   * });\n\t   *\n\t   * // ...\n\t   *\n\t   * $state.go('home');\n\t   * // Auto-populates list and item views with /partials/home/contact/list.html,\n\t   * // and /partials/home/contact/item.html, respectively.\n\t   * 
\n\t *\n\t * @param {string} name The name of the builder function to decorate. \n\t * @param {object} func A function that is responsible for decorating the original \n\t * builder function. The function receives two parameters:\n\t *\n\t * - `{object}` - state - The state config object.\n\t * - `{object}` - super - The original builder function.\n\t *\n\t * @return {object} $stateProvider - $stateProvider instance\n\t */\n\t this.decorator = decorator;\n\t function decorator(name, func) {\n\t /*jshint validthis: true */\n\t if (isString(name) && !isDefined(func)) {\n\t return stateBuilder[name];\n\t }\n\t if (!isFunction(func) || !isString(name)) {\n\t return this;\n\t }\n\t if (stateBuilder[name] && !stateBuilder.$delegates[name]) {\n\t stateBuilder.$delegates[name] = stateBuilder[name];\n\t }\n\t stateBuilder[name] = func;\n\t return this;\n\t }\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.state.$stateProvider#state\n\t * @methodOf ui.router.state.$stateProvider\n\t *\n\t * @description\n\t * Registers a state configuration under a given state name. The stateConfig object\n\t * has the following acceptable properties.\n\t *\n\t * @param {string} name A unique state name, e.g. \"home\", \"about\", \"contacts\".\n\t * To create a parent/child state use a dot, e.g. \"about.sales\", \"home.newest\".\n\t * @param {object} stateConfig State configuration object.\n\t * @param {string|function=} stateConfig.template\n\t * \n\t * html template as a string or a function that returns\n\t * an html template as a string which should be used by the uiView directives. This property \n\t * takes precedence over templateUrl.\n\t * \n\t * If `template` is a function, it will be called with the following parameters:\n\t *\n\t * - {array.<object>} - state parameters extracted from the current $location.path() by\n\t * applying the current state\n\t *\n\t *
template:\n\t   *   \"

inline template definition

\" +\n\t * \"
\"
\n\t *
template: function(params) {\n\t   *       return \"

generated template

\"; }
\n\t *
\n\t *\n\t * @param {string|function=} stateConfig.templateUrl\n\t * \n\t *\n\t * path or function that returns a path to an html\n\t * template that should be used by uiView.\n\t * \n\t * If `templateUrl` is a function, it will be called with the following parameters:\n\t *\n\t * - {array.<object>} - state parameters extracted from the current $location.path() by \n\t * applying the current state\n\t *\n\t *
templateUrl: \"home.html\"
\n\t *
templateUrl: function(params) {\n\t   *     return myTemplates[params.pageId]; }
\n\t *\n\t * @param {function=} stateConfig.templateProvider\n\t * \n\t * Provider function that returns HTML content string.\n\t *
 templateProvider:\n\t   *       function(MyTemplateService, params) {\n\t   *         return MyTemplateService.getTemplate(params.pageId);\n\t   *       }
\n\t *\n\t * @param {string|function=} stateConfig.controller\n\t * \n\t *\n\t * Controller fn that should be associated with newly\n\t * related scope or the name of a registered controller if passed as a string.\n\t * Optionally, the ControllerAs may be declared here.\n\t *
controller: \"MyRegisteredController\"
\n\t *
controller:\n\t   *     \"MyRegisteredController as fooCtrl\"}
\n\t *
controller: function($scope, MyService) {\n\t   *     $scope.data = MyService.getData(); }
\n\t *\n\t * @param {function=} stateConfig.controllerProvider\n\t * \n\t *\n\t * Injectable provider function that returns the actual controller or string.\n\t *
controllerProvider:\n\t   *   function(MyResolveData) {\n\t   *     if (MyResolveData.foo)\n\t   *       return \"FooCtrl\"\n\t   *     else if (MyResolveData.bar)\n\t   *       return \"BarCtrl\";\n\t   *     else return function($scope) {\n\t   *       $scope.baz = \"Qux\";\n\t   *     }\n\t   *   }
\n\t *\n\t * @param {string=} stateConfig.controllerAs\n\t * \n\t * \n\t * A controller alias name. If present the controller will be\n\t * published to scope under the controllerAs name.\n\t *
controllerAs: \"myCtrl\"
\n\t *\n\t * @param {string|object=} stateConfig.parent\n\t * \n\t * Optionally specifies the parent state of this state.\n\t *\n\t *
parent: 'parentState'
\n\t *
parent: parentState // JS variable
\n\t *\n\t * @param {object=} stateConfig.resolve\n\t * \n\t *\n\t * An optional map<string, function> of dependencies which\n\t * should be injected into the controller. If any of these dependencies are promises, \n\t * the router will wait for them all to be resolved before the controller is instantiated.\n\t * If all the promises are resolved successfully, the $stateChangeSuccess event is fired\n\t * and the values of the resolved promises are injected into any controllers that reference them.\n\t * If any of the promises are rejected the $stateChangeError event is fired.\n\t *\n\t * The map object is:\n\t * \n\t * - key - {string}: name of dependency to be injected into controller\n\t * - factory - {string|function}: If string then it is alias for service. Otherwise if function, \n\t * it is injected and return value it treated as dependency. If result is a promise, it is \n\t * resolved before its value is injected into controller.\n\t *\n\t *
resolve: {\n\t   *     myResolve1:\n\t   *       function($http, $stateParams) {\n\t   *         return $http.get(\"/api/foos/\"+stateParams.fooID);\n\t   *       }\n\t   *     }
\n\t *\n\t * @param {string=} stateConfig.url\n\t * \n\t *\n\t * A url fragment with optional parameters. When a state is navigated or\n\t * transitioned to, the `$stateParams` service will be populated with any \n\t * parameters that were passed.\n\t *\n\t * (See {@link ui.router.util.type:UrlMatcher UrlMatcher} `UrlMatcher`} for\n\t * more details on acceptable patterns )\n\t *\n\t * examples:\n\t *
url: \"/home\"\n\t   * url: \"/users/:userid\"\n\t   * url: \"/books/{bookid:[a-zA-Z_-]}\"\n\t   * url: \"/books/{categoryid:int}\"\n\t   * url: \"/books/{publishername:string}/{categoryid:int}\"\n\t   * url: \"/messages?before&after\"\n\t   * url: \"/messages?{before:date}&{after:date}\"\n\t   * url: \"/messages/:mailboxid?{before:date}&{after:date}\"\n\t   * 
\n\t *\n\t * @param {object=} stateConfig.views\n\t * \n\t * an optional map<string, object> which defined multiple views, or targets views\n\t * manually/explicitly.\n\t *\n\t * Examples:\n\t *\n\t * Targets three named `ui-view`s in the parent state's template\n\t *
views: {\n\t   *     header: {\n\t   *       controller: \"headerCtrl\",\n\t   *       templateUrl: \"header.html\"\n\t   *     }, body: {\n\t   *       controller: \"bodyCtrl\",\n\t   *       templateUrl: \"body.html\"\n\t   *     }, footer: {\n\t   *       controller: \"footCtrl\",\n\t   *       templateUrl: \"footer.html\"\n\t   *     }\n\t   *   }
\n\t *\n\t * Targets named `ui-view=\"header\"` from grandparent state 'top''s template, and named `ui-view=\"body\" from parent state's template.\n\t *
views: {\n\t   *     'header@top': {\n\t   *       controller: \"msgHeaderCtrl\",\n\t   *       templateUrl: \"msgHeader.html\"\n\t   *     }, 'body': {\n\t   *       controller: \"messagesCtrl\",\n\t   *       templateUrl: \"messages.html\"\n\t   *     }\n\t   *   }
\n\t *\n\t * @param {boolean=} [stateConfig.abstract=false]\n\t * \n\t * An abstract state will never be directly activated,\n\t * but can provide inherited properties to its common children states.\n\t *
abstract: true
\n\t *\n\t * @param {function=} stateConfig.onEnter\n\t * \n\t *\n\t * Callback function for when a state is entered. Good way\n\t * to trigger an action or dispatch an event, such as opening a dialog.\n\t * If minifying your scripts, make sure to explictly annotate this function,\n\t * because it won't be automatically annotated by your build tools.\n\t *\n\t *
onEnter: function(MyService, $stateParams) {\n\t   *     MyService.foo($stateParams.myParam);\n\t   * }
\n\t *\n\t * @param {function=} stateConfig.onExit\n\t * \n\t *\n\t * Callback function for when a state is exited. Good way to\n\t * trigger an action or dispatch an event, such as opening a dialog.\n\t * If minifying your scripts, make sure to explictly annotate this function,\n\t * because it won't be automatically annotated by your build tools.\n\t *\n\t *
onExit: function(MyService, $stateParams) {\n\t   *     MyService.cleanup($stateParams.myParam);\n\t   * }
\n\t *\n\t * @param {boolean=} [stateConfig.reloadOnSearch=true]\n\t * \n\t *\n\t * If `false`, will not retrigger the same state\n\t * just because a search/query parameter has changed (via $location.search() or $location.hash()). \n\t * Useful for when you'd like to modify $location.search() without triggering a reload.\n\t *
reloadOnSearch: false
\n\t *\n\t * @param {object=} stateConfig.data\n\t * \n\t *\n\t * Arbitrary data object, useful for custom configuration. The parent state's `data` is\n\t * prototypally inherited. In other words, adding a data property to a state adds it to\n\t * the entire subtree via prototypal inheritance.\n\t *\n\t *
data: {\n\t   *     requiredRole: 'foo'\n\t   * } 
\n\t *\n\t * @param {object=} stateConfig.params\n\t * \n\t *\n\t * A map which optionally configures parameters declared in the `url`, or\n\t * defines additional non-url parameters. For each parameter being\n\t * configured, add a configuration object keyed to the name of the parameter.\n\t *\n\t * Each parameter configuration object may contain the following properties:\n\t *\n\t * - ** value ** - {object|function=}: specifies the default value for this\n\t * parameter. This implicitly sets this parameter as optional.\n\t *\n\t * When UI-Router routes to a state and no value is\n\t * specified for this parameter in the URL or transition, the\n\t * default value will be used instead. If `value` is a function,\n\t * it will be injected and invoked, and the return value used.\n\t *\n\t * *Note*: `undefined` is treated as \"no default value\" while `null`\n\t * is treated as \"the default value is `null`\".\n\t *\n\t * *Shorthand*: If you only need to configure the default value of the\n\t * parameter, you may use a shorthand syntax. In the **`params`**\n\t * map, instead mapping the param name to a full parameter configuration\n\t * object, simply set map it to the default parameter value, e.g.:\n\t *\n\t *
// define a parameter's default value\n\t   * params: {\n\t   *     param1: { value: \"defaultValue\" }\n\t   * }\n\t   * // shorthand default values\n\t   * params: {\n\t   *     param1: \"defaultValue\",\n\t   *     param2: \"param2Default\"\n\t   * }
\n\t *\n\t * - ** array ** - {boolean=}: *(default: false)* If true, the param value will be\n\t * treated as an array of values. If you specified a Type, the value will be\n\t * treated as an array of the specified Type. Note: query parameter values\n\t * default to a special `\"auto\"` mode.\n\t *\n\t * For query parameters in `\"auto\"` mode, if multiple values for a single parameter\n\t * are present in the URL (e.g.: `/foo?bar=1&bar=2&bar=3`) then the values\n\t * are mapped to an array (e.g.: `{ foo: [ '1', '2', '3' ] }`). However, if\n\t * only one value is present (e.g.: `/foo?bar=1`) then the value is treated as single\n\t * value (e.g.: `{ foo: '1' }`).\n\t *\n\t *
params: {\n\t   *     param1: { array: true }\n\t   * }
\n\t *\n\t * - ** squash ** - {bool|string=}: `squash` configures how a default parameter value is represented in the URL when\n\t * the current parameter value is the same as the default value. If `squash` is not set, it uses the\n\t * configured default squash policy.\n\t * (See {@link ui.router.util.$urlMatcherFactory#methods_defaultSquashPolicy `defaultSquashPolicy()`})\n\t *\n\t * There are three squash settings:\n\t *\n\t * - false: The parameter's default value is not squashed. It is encoded and included in the URL\n\t * - true: The parameter's default value is omitted from the URL. If the parameter is preceeded and followed\n\t * by slashes in the state's `url` declaration, then one of those slashes are omitted.\n\t * This can allow for cleaner looking URLs.\n\t * - `\"\"`: The parameter's default value is replaced with an arbitrary placeholder of your choice.\n\t *\n\t *
params: {\n\t   *     param1: {\n\t   *       value: \"defaultId\",\n\t   *       squash: true\n\t   * } }\n\t   * // squash \"defaultValue\" to \"~\"\n\t   * params: {\n\t   *     param1: {\n\t   *       value: \"defaultValue\",\n\t   *       squash: \"~\"\n\t   * } }\n\t   * 
\n\t *\n\t *\n\t * @example\n\t *
\n\t   * // Some state name examples\n\t   *\n\t   * // stateName can be a single top-level name (must be unique).\n\t   * $stateProvider.state(\"home\", {});\n\t   *\n\t   * // Or it can be a nested state name. This state is a child of the\n\t   * // above \"home\" state.\n\t   * $stateProvider.state(\"home.newest\", {});\n\t   *\n\t   * // Nest states as deeply as needed.\n\t   * $stateProvider.state(\"home.newest.abc.xyz.inception\", {});\n\t   *\n\t   * // state() returns $stateProvider, so you can chain state declarations.\n\t   * $stateProvider\n\t   *   .state(\"home\", {})\n\t   *   .state(\"about\", {})\n\t   *   .state(\"contacts\", {});\n\t   * 
\n\t *\n\t */\n\t this.state = state;\n\t function state(name, definition) {\n\t /*jshint validthis: true */\n\t if (isObject(name)) definition = name;\n\t else definition.name = name;\n\t registerState(definition);\n\t return this;\n\t }\n\t\n\t /**\n\t * @ngdoc object\n\t * @name ui.router.state.$state\n\t *\n\t * @requires $rootScope\n\t * @requires $q\n\t * @requires ui.router.state.$view\n\t * @requires $injector\n\t * @requires ui.router.util.$resolve\n\t * @requires ui.router.state.$stateParams\n\t * @requires ui.router.router.$urlRouter\n\t *\n\t * @property {object} params A param object, e.g. {sectionId: section.id)}, that \n\t * you'd like to test against the current active state.\n\t * @property {object} current A reference to the state's config object. However \n\t * you passed it in. Useful for accessing custom data.\n\t * @property {object} transition Currently pending transition. A promise that'll \n\t * resolve or reject.\n\t *\n\t * @description\n\t * `$state` service is responsible for representing states as well as transitioning\n\t * between them. It also provides interfaces to ask for current state or even states\n\t * you're coming from.\n\t */\n\t this.$get = $get;\n\t $get.$inject = ['$rootScope', '$q', '$view', '$injector', '$resolve', '$stateParams', '$urlRouter', '$location', '$urlMatcherFactory'];\n\t function $get( $rootScope, $q, $view, $injector, $resolve, $stateParams, $urlRouter, $location, $urlMatcherFactory) {\n\t\n\t var TransitionSuperseded = $q.reject(new Error('transition superseded'));\n\t var TransitionPrevented = $q.reject(new Error('transition prevented'));\n\t var TransitionAborted = $q.reject(new Error('transition aborted'));\n\t var TransitionFailed = $q.reject(new Error('transition failed'));\n\t\n\t // Handles the case where a state which is the target of a transition is not found, and the user\n\t // can optionally retry or defer the transition\n\t function handleRedirect(redirect, state, params, options) {\n\t /**\n\t * @ngdoc event\n\t * @name ui.router.state.$state#$stateNotFound\n\t * @eventOf ui.router.state.$state\n\t * @eventType broadcast on root scope\n\t * @description\n\t * Fired when a requested state **cannot be found** using the provided state name during transition.\n\t * The event is broadcast allowing any handlers a single chance to deal with the error (usually by\n\t * lazy-loading the unfound state). A special `unfoundState` object is passed to the listener handler,\n\t * you can see its three properties in the example. You can use `event.preventDefault()` to abort the\n\t * transition and the promise returned from `go` will be rejected with a `'transition aborted'` value.\n\t *\n\t * @param {Object} event Event object.\n\t * @param {Object} unfoundState Unfound State information. Contains: `to, toParams, options` properties.\n\t * @param {State} fromState Current state object.\n\t * @param {Object} fromParams Current state params.\n\t *\n\t * @example\n\t *\n\t *
\n\t       * // somewhere, assume lazy.state has not been defined\n\t       * $state.go(\"lazy.state\", {a:1, b:2}, {inherit:false});\n\t       *\n\t       * // somewhere else\n\t       * $scope.$on('$stateNotFound',\n\t       * function(event, unfoundState, fromState, fromParams){\n\t       *     console.log(unfoundState.to); // \"lazy.state\"\n\t       *     console.log(unfoundState.toParams); // {a:1, b:2}\n\t       *     console.log(unfoundState.options); // {inherit:false} + default options\n\t       * })\n\t       * 
\n\t */\n\t var evt = $rootScope.$broadcast('$stateNotFound', redirect, state, params);\n\t\n\t if (evt.defaultPrevented) {\n\t $urlRouter.update();\n\t return TransitionAborted;\n\t }\n\t\n\t if (!evt.retry) {\n\t return null;\n\t }\n\t\n\t // Allow the handler to return a promise to defer state lookup retry\n\t if (options.$retry) {\n\t $urlRouter.update();\n\t return TransitionFailed;\n\t }\n\t var retryTransition = $state.transition = $q.when(evt.retry);\n\t\n\t retryTransition.then(function() {\n\t if (retryTransition !== $state.transition) return TransitionSuperseded;\n\t redirect.options.$retry = true;\n\t return $state.transitionTo(redirect.to, redirect.toParams, redirect.options);\n\t }, function() {\n\t return TransitionAborted;\n\t });\n\t $urlRouter.update();\n\t\n\t return retryTransition;\n\t }\n\t\n\t root.locals = { resolve: null, globals: { $stateParams: {} } };\n\t\n\t $state = {\n\t params: {},\n\t current: root.self,\n\t $current: root,\n\t transition: null\n\t };\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.state.$state#reload\n\t * @methodOf ui.router.state.$state\n\t *\n\t * @description\n\t * A method that force reloads the current state. All resolves are re-resolved,\n\t * controllers reinstantiated, and events re-fired.\n\t *\n\t * @example\n\t *
\n\t     * var app angular.module('app', ['ui.router']);\n\t     *\n\t     * app.controller('ctrl', function ($scope, $state) {\n\t     *   $scope.reload = function(){\n\t     *     $state.reload();\n\t     *   }\n\t     * });\n\t     * 
\n\t *\n\t * `reload()` is just an alias for:\n\t *
\n\t     * $state.transitionTo($state.current, $stateParams, { \n\t     *   reload: true, inherit: false, notify: true\n\t     * });\n\t     * 
\n\t *\n\t * @param {string=|object=} state - A state name or a state object, which is the root of the resolves to be re-resolved.\n\t * @example\n\t *
\n\t     * //assuming app application consists of 3 states: 'contacts', 'contacts.detail', 'contacts.detail.item' \n\t     * //and current state is 'contacts.detail.item'\n\t     * var app angular.module('app', ['ui.router']);\n\t     *\n\t     * app.controller('ctrl', function ($scope, $state) {\n\t     *   $scope.reload = function(){\n\t     *     //will reload 'contact.detail' and 'contact.detail.item' states\n\t     *     $state.reload('contact.detail');\n\t     *   }\n\t     * });\n\t     * 
\n\t *\n\t * `reload()` is just an alias for:\n\t *
\n\t     * $state.transitionTo($state.current, $stateParams, { \n\t     *   reload: true, inherit: false, notify: true\n\t     * });\n\t     * 
\n\t\n\t * @returns {promise} A promise representing the state of the new transition. See\n\t * {@link ui.router.state.$state#methods_go $state.go}.\n\t */\n\t $state.reload = function reload(state) {\n\t return $state.transitionTo($state.current, $stateParams, { reload: state || true, inherit: false, notify: true});\n\t };\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.state.$state#go\n\t * @methodOf ui.router.state.$state\n\t *\n\t * @description\n\t * Convenience method for transitioning to a new state. `$state.go` calls \n\t * `$state.transitionTo` internally but automatically sets options to \n\t * `{ location: true, inherit: true, relative: $state.$current, notify: true }`. \n\t * This allows you to easily use an absolute or relative to path and specify \n\t * only the parameters you'd like to update (while letting unspecified parameters \n\t * inherit from the currently active ancestor states).\n\t *\n\t * @example\n\t *
\n\t     * var app = angular.module('app', ['ui.router']);\n\t     *\n\t     * app.controller('ctrl', function ($scope, $state) {\n\t     *   $scope.changeState = function () {\n\t     *     $state.go('contact.detail');\n\t     *   };\n\t     * });\n\t     * 
\n\t * \n\t *\n\t * @param {string} to Absolute state name or relative state path. Some examples:\n\t *\n\t * - `$state.go('contact.detail')` - will go to the `contact.detail` state\n\t * - `$state.go('^')` - will go to a parent state\n\t * - `$state.go('^.sibling')` - will go to a sibling state\n\t * - `$state.go('.child.grandchild')` - will go to grandchild state\n\t *\n\t * @param {object=} params A map of the parameters that will be sent to the state, \n\t * will populate $stateParams. Any parameters that are not specified will be inherited from currently \n\t * defined parameters. This allows, for example, going to a sibling state that shares parameters\n\t * specified in a parent state. Parameter inheritance only works between common ancestor states, I.e.\n\t * transitioning to a sibling will get you the parameters for all parents, transitioning to a child\n\t * will get you all current parameters, etc.\n\t * @param {object=} options Options object. The options are:\n\t *\n\t * - **`location`** - {boolean=true|string=} - If `true` will update the url in the location bar, if `false`\n\t * will not. If string, must be `\"replace\"`, which will update url and also replace last history record.\n\t * - **`inherit`** - {boolean=true}, If `true` will inherit url parameters from current url.\n\t * - **`relative`** - {object=$state.$current}, When transitioning with relative path (e.g '^'), \n\t * defines which state to be relative from.\n\t * - **`notify`** - {boolean=true}, If `true` will broadcast $stateChangeStart and $stateChangeSuccess events.\n\t * - **`reload`** (v0.2.5) - {boolean=false}, If `true` will force transition even if the state or params \n\t * have not changed, aka a reload of the same state. It differs from reloadOnSearch because you'd\n\t * use this when you want to force a reload when *everything* is the same, including search params.\n\t *\n\t * @returns {promise} A promise representing the state of the new transition.\n\t *\n\t * Possible success values:\n\t *\n\t * - $state.current\n\t *\n\t *
Possible rejection values:\n\t *\n\t * - 'transition superseded' - when a newer transition has been started after this one\n\t * - 'transition prevented' - when `event.preventDefault()` has been called in a `$stateChangeStart` listener\n\t * - 'transition aborted' - when `event.preventDefault()` has been called in a `$stateNotFound` listener or\n\t * when a `$stateNotFound` `event.retry` promise errors.\n\t * - 'transition failed' - when a state has been unsuccessfully found after 2 tries.\n\t * - *resolve error* - when an error has occurred with a `resolve`\n\t *\n\t */\n\t $state.go = function go(to, params, options) {\n\t return $state.transitionTo(to, params, extend({ inherit: true, relative: $state.$current }, options));\n\t };\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.state.$state#transitionTo\n\t * @methodOf ui.router.state.$state\n\t *\n\t * @description\n\t * Low-level method for transitioning to a new state. {@link ui.router.state.$state#methods_go $state.go}\n\t * uses `transitionTo` internally. `$state.go` is recommended in most situations.\n\t *\n\t * @example\n\t *
\n\t     * var app = angular.module('app', ['ui.router']);\n\t     *\n\t     * app.controller('ctrl', function ($scope, $state) {\n\t     *   $scope.changeState = function () {\n\t     *     $state.transitionTo('contact.detail');\n\t     *   };\n\t     * });\n\t     * 
\n\t *\n\t * @param {string} to State name.\n\t * @param {object=} toParams A map of the parameters that will be sent to the state,\n\t * will populate $stateParams.\n\t * @param {object=} options Options object. The options are:\n\t *\n\t * - **`location`** - {boolean=true|string=} - If `true` will update the url in the location bar, if `false`\n\t * will not. If string, must be `\"replace\"`, which will update url and also replace last history record.\n\t * - **`inherit`** - {boolean=false}, If `true` will inherit url parameters from current url.\n\t * - **`relative`** - {object=}, When transitioning with relative path (e.g '^'), \n\t * defines which state to be relative from.\n\t * - **`notify`** - {boolean=true}, If `true` will broadcast $stateChangeStart and $stateChangeSuccess events.\n\t * - **`reload`** (v0.2.5) - {boolean=false|string=|object=}, If `true` will force transition even if the state or params \n\t * have not changed, aka a reload of the same state. It differs from reloadOnSearch because you'd\n\t * use this when you want to force a reload when *everything* is the same, including search params.\n\t * if String, then will reload the state with the name given in reload, and any children.\n\t * if Object, then a stateObj is expected, will reload the state found in stateObj, and any children.\n\t *\n\t * @returns {promise} A promise representing the state of the new transition. See\n\t * {@link ui.router.state.$state#methods_go $state.go}.\n\t */\n\t $state.transitionTo = function transitionTo(to, toParams, options) {\n\t toParams = toParams || {};\n\t options = extend({\n\t location: true, inherit: false, relative: null, notify: true, reload: false, $retry: false\n\t }, options || {});\n\t\n\t var from = $state.$current, fromParams = $state.params, fromPath = from.path;\n\t var evt, toState = findState(to, options.relative);\n\t\n\t // Store the hash param for later (since it will be stripped out by various methods)\n\t var hash = toParams['#'];\n\t\n\t if (!isDefined(toState)) {\n\t var redirect = { to: to, toParams: toParams, options: options };\n\t var redirectResult = handleRedirect(redirect, from.self, fromParams, options);\n\t\n\t if (redirectResult) {\n\t return redirectResult;\n\t }\n\t\n\t // Always retry once if the $stateNotFound was not prevented\n\t // (handles either redirect changed or state lazy-definition)\n\t to = redirect.to;\n\t toParams = redirect.toParams;\n\t options = redirect.options;\n\t toState = findState(to, options.relative);\n\t\n\t if (!isDefined(toState)) {\n\t if (!options.relative) throw new Error(\"No such state '\" + to + \"'\");\n\t throw new Error(\"Could not resolve '\" + to + \"' from state '\" + options.relative + \"'\");\n\t }\n\t }\n\t if (toState[abstractKey]) throw new Error(\"Cannot transition to abstract state '\" + to + \"'\");\n\t if (options.inherit) toParams = inheritParams($stateParams, toParams || {}, $state.$current, toState);\n\t if (!toState.params.$$validates(toParams)) return TransitionFailed;\n\t\n\t toParams = toState.params.$$values(toParams);\n\t to = toState;\n\t\n\t var toPath = to.path;\n\t\n\t // Starting from the root of the path, keep all levels that haven't changed\n\t var keep = 0, state = toPath[keep], locals = root.locals, toLocals = [];\n\t\n\t if (!options.reload) {\n\t while (state && state === fromPath[keep] && state.ownParams.$$equals(toParams, fromParams)) {\n\t locals = toLocals[keep] = state.locals;\n\t keep++;\n\t state = toPath[keep];\n\t }\n\t } else if (isString(options.reload) || isObject(options.reload)) {\n\t if (isObject(options.reload) && !options.reload.name) {\n\t throw new Error('Invalid reload state object');\n\t }\n\t \n\t var reloadState = options.reload === true ? fromPath[0] : findState(options.reload);\n\t if (options.reload && !reloadState) {\n\t throw new Error(\"No such reload state '\" + (isString(options.reload) ? options.reload : options.reload.name) + \"'\");\n\t }\n\t\n\t while (state && state === fromPath[keep] && state !== reloadState) {\n\t locals = toLocals[keep] = state.locals;\n\t keep++;\n\t state = toPath[keep];\n\t }\n\t }\n\t\n\t // If we're going to the same state and all locals are kept, we've got nothing to do.\n\t // But clear 'transition', as we still want to cancel any other pending transitions.\n\t // TODO: We may not want to bump 'transition' if we're called from a location change\n\t // that we've initiated ourselves, because we might accidentally abort a legitimate\n\t // transition initiated from code?\n\t if (shouldSkipReload(to, toParams, from, fromParams, locals, options)) {\n\t if (hash) toParams['#'] = hash;\n\t $state.params = toParams;\n\t copy($state.params, $stateParams);\n\t if (options.location && to.navigable && to.navigable.url) {\n\t $urlRouter.push(to.navigable.url, toParams, {\n\t $$avoidResync: true, replace: options.location === 'replace'\n\t });\n\t $urlRouter.update(true);\n\t }\n\t $state.transition = null;\n\t return $q.when($state.current);\n\t }\n\t\n\t // Filter parameters before we pass them to event handlers etc.\n\t toParams = filterByKeys(to.params.$$keys(), toParams || {});\n\t\n\t // Broadcast start event and cancel the transition if requested\n\t if (options.notify) {\n\t /**\n\t * @ngdoc event\n\t * @name ui.router.state.$state#$stateChangeStart\n\t * @eventOf ui.router.state.$state\n\t * @eventType broadcast on root scope\n\t * @description\n\t * Fired when the state transition **begins**. You can use `event.preventDefault()`\n\t * to prevent the transition from happening and then the transition promise will be\n\t * rejected with a `'transition prevented'` value.\n\t *\n\t * @param {Object} event Event object.\n\t * @param {State} toState The state being transitioned to.\n\t * @param {Object} toParams The params supplied to the `toState`.\n\t * @param {State} fromState The current state, pre-transition.\n\t * @param {Object} fromParams The params supplied to the `fromState`.\n\t *\n\t * @example\n\t *\n\t *
\n\t         * $rootScope.$on('$stateChangeStart',\n\t         * function(event, toState, toParams, fromState, fromParams){\n\t         *     event.preventDefault();\n\t         *     // transitionTo() promise will be rejected with\n\t         *     // a 'transition prevented' error\n\t         * })\n\t         * 
\n\t */\n\t if ($rootScope.$broadcast('$stateChangeStart', to.self, toParams, from.self, fromParams).defaultPrevented) {\n\t $rootScope.$broadcast('$stateChangeCancel', to.self, toParams, from.self, fromParams);\n\t $urlRouter.update();\n\t return TransitionPrevented;\n\t }\n\t }\n\t\n\t // Resolve locals for the remaining states, but don't update any global state just\n\t // yet -- if anything fails to resolve the current state needs to remain untouched.\n\t // We also set up an inheritance chain for the locals here. This allows the view directive\n\t // to quickly look up the correct definition for each view in the current state. Even\n\t // though we create the locals object itself outside resolveState(), it is initially\n\t // empty and gets filled asynchronously. We need to keep track of the promise for the\n\t // (fully resolved) current locals, and pass this down the chain.\n\t var resolved = $q.when(locals);\n\t\n\t for (var l = keep; l < toPath.length; l++, state = toPath[l]) {\n\t locals = toLocals[l] = inherit(locals);\n\t resolved = resolveState(state, toParams, state === to, resolved, locals, options);\n\t }\n\t\n\t // Once everything is resolved, we are ready to perform the actual transition\n\t // and return a promise for the new state. We also keep track of what the\n\t // current promise is, so that we can detect overlapping transitions and\n\t // keep only the outcome of the last transition.\n\t var transition = $state.transition = resolved.then(function () {\n\t var l, entering, exiting;\n\t\n\t if ($state.transition !== transition) return TransitionSuperseded;\n\t\n\t // Exit 'from' states not kept\n\t for (l = fromPath.length - 1; l >= keep; l--) {\n\t exiting = fromPath[l];\n\t if (exiting.self.onExit) {\n\t $injector.invoke(exiting.self.onExit, exiting.self, exiting.locals.globals);\n\t }\n\t exiting.locals = null;\n\t }\n\t\n\t // Enter 'to' states not kept\n\t for (l = keep; l < toPath.length; l++) {\n\t entering = toPath[l];\n\t entering.locals = toLocals[l];\n\t if (entering.self.onEnter) {\n\t $injector.invoke(entering.self.onEnter, entering.self, entering.locals.globals);\n\t }\n\t }\n\t\n\t // Re-add the saved hash before we start returning things\n\t if (hash) toParams['#'] = hash;\n\t\n\t // Run it again, to catch any transitions in callbacks\n\t if ($state.transition !== transition) return TransitionSuperseded;\n\t\n\t // Update globals in $state\n\t $state.$current = to;\n\t $state.current = to.self;\n\t $state.params = toParams;\n\t copy($state.params, $stateParams);\n\t $state.transition = null;\n\t\n\t if (options.location && to.navigable) {\n\t $urlRouter.push(to.navigable.url, to.navigable.locals.globals.$stateParams, {\n\t $$avoidResync: true, replace: options.location === 'replace'\n\t });\n\t }\n\t\n\t if (options.notify) {\n\t /**\n\t * @ngdoc event\n\t * @name ui.router.state.$state#$stateChangeSuccess\n\t * @eventOf ui.router.state.$state\n\t * @eventType broadcast on root scope\n\t * @description\n\t * Fired once the state transition is **complete**.\n\t *\n\t * @param {Object} event Event object.\n\t * @param {State} toState The state being transitioned to.\n\t * @param {Object} toParams The params supplied to the `toState`.\n\t * @param {State} fromState The current state, pre-transition.\n\t * @param {Object} fromParams The params supplied to the `fromState`.\n\t */\n\t $rootScope.$broadcast('$stateChangeSuccess', to.self, toParams, from.self, fromParams);\n\t }\n\t $urlRouter.update(true);\n\t\n\t return $state.current;\n\t }, function (error) {\n\t if ($state.transition !== transition) return TransitionSuperseded;\n\t\n\t $state.transition = null;\n\t /**\n\t * @ngdoc event\n\t * @name ui.router.state.$state#$stateChangeError\n\t * @eventOf ui.router.state.$state\n\t * @eventType broadcast on root scope\n\t * @description\n\t * Fired when an **error occurs** during transition. It's important to note that if you\n\t * have any errors in your resolve functions (javascript errors, non-existent services, etc)\n\t * they will not throw traditionally. You must listen for this $stateChangeError event to\n\t * catch **ALL** errors.\n\t *\n\t * @param {Object} event Event object.\n\t * @param {State} toState The state being transitioned to.\n\t * @param {Object} toParams The params supplied to the `toState`.\n\t * @param {State} fromState The current state, pre-transition.\n\t * @param {Object} fromParams The params supplied to the `fromState`.\n\t * @param {Error} error The resolve error object.\n\t */\n\t evt = $rootScope.$broadcast('$stateChangeError', to.self, toParams, from.self, fromParams, error);\n\t\n\t if (!evt.defaultPrevented) {\n\t $urlRouter.update();\n\t }\n\t\n\t return $q.reject(error);\n\t });\n\t\n\t return transition;\n\t };\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.state.$state#is\n\t * @methodOf ui.router.state.$state\n\t *\n\t * @description\n\t * Similar to {@link ui.router.state.$state#methods_includes $state.includes},\n\t * but only checks for the full state name. If params is supplied then it will be\n\t * tested for strict equality against the current active params object, so all params\n\t * must match with none missing and no extras.\n\t *\n\t * @example\n\t *
\n\t     * $state.$current.name = 'contacts.details.item';\n\t     *\n\t     * // absolute name\n\t     * $state.is('contact.details.item'); // returns true\n\t     * $state.is(contactDetailItemStateObject); // returns true\n\t     *\n\t     * // relative name (. and ^), typically from a template\n\t     * // E.g. from the 'contacts.details' template\n\t     * 
Item
\n\t *
\n\t *\n\t * @param {string|object} stateOrName The state name (absolute or relative) or state object you'd like to check.\n\t * @param {object=} params A param object, e.g. `{sectionId: section.id}`, that you'd like\n\t * to test against the current active state.\n\t * @param {object=} options An options object. The options are:\n\t *\n\t * - **`relative`** - {string|object} - If `stateOrName` is a relative state name and `options.relative` is set, .is will\n\t * test relative to `options.relative` state (or name).\n\t *\n\t * @returns {boolean} Returns true if it is the state.\n\t */\n\t $state.is = function is(stateOrName, params, options) {\n\t options = extend({ relative: $state.$current }, options || {});\n\t var state = findState(stateOrName, options.relative);\n\t\n\t if (!isDefined(state)) { return undefined; }\n\t if ($state.$current !== state) { return false; }\n\t return params ? equalForKeys(state.params.$$values(params), $stateParams) : true;\n\t };\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.state.$state#includes\n\t * @methodOf ui.router.state.$state\n\t *\n\t * @description\n\t * A method to determine if the current active state is equal to or is the child of the\n\t * state stateName. If any params are passed then they will be tested for a match as well.\n\t * Not all the parameters need to be passed, just the ones you'd like to test for equality.\n\t *\n\t * @example\n\t * Partial and relative names\n\t *
\n\t     * $state.$current.name = 'contacts.details.item';\n\t     *\n\t     * // Using partial names\n\t     * $state.includes(\"contacts\"); // returns true\n\t     * $state.includes(\"contacts.details\"); // returns true\n\t     * $state.includes(\"contacts.details.item\"); // returns true\n\t     * $state.includes(\"contacts.list\"); // returns false\n\t     * $state.includes(\"about\"); // returns false\n\t     *\n\t     * // Using relative names (. and ^), typically from a template\n\t     * // E.g. from the 'contacts.details' template\n\t     * 
Item
\n\t *
\n\t *\n\t * Basic globbing patterns\n\t *
\n\t     * $state.$current.name = 'contacts.details.item.url';\n\t     *\n\t     * $state.includes(\"*.details.*.*\"); // returns true\n\t     * $state.includes(\"*.details.**\"); // returns true\n\t     * $state.includes(\"**.item.**\"); // returns true\n\t     * $state.includes(\"*.details.item.url\"); // returns true\n\t     * $state.includes(\"*.details.*.url\"); // returns true\n\t     * $state.includes(\"*.details.*\"); // returns false\n\t     * $state.includes(\"item.**\"); // returns false\n\t     * 
\n\t *\n\t * @param {string} stateOrName A partial name, relative name, or glob pattern\n\t * to be searched for within the current state name.\n\t * @param {object=} params A param object, e.g. `{sectionId: section.id}`,\n\t * that you'd like to test against the current active state.\n\t * @param {object=} options An options object. The options are:\n\t *\n\t * - **`relative`** - {string|object=} - If `stateOrName` is a relative state reference and `options.relative` is set,\n\t * .includes will test relative to `options.relative` state (or name).\n\t *\n\t * @returns {boolean} Returns true if it does include the state\n\t */\n\t $state.includes = function includes(stateOrName, params, options) {\n\t options = extend({ relative: $state.$current }, options || {});\n\t if (isString(stateOrName) && isGlob(stateOrName)) {\n\t if (!doesStateMatchGlob(stateOrName)) {\n\t return false;\n\t }\n\t stateOrName = $state.$current.name;\n\t }\n\t\n\t var state = findState(stateOrName, options.relative);\n\t if (!isDefined(state)) { return undefined; }\n\t if (!isDefined($state.$current.includes[state.name])) { return false; }\n\t return params ? equalForKeys(state.params.$$values(params), $stateParams, objectKeys(params)) : true;\n\t };\n\t\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.state.$state#href\n\t * @methodOf ui.router.state.$state\n\t *\n\t * @description\n\t * A url generation method that returns the compiled url for the given state populated with the given params.\n\t *\n\t * @example\n\t *
\n\t     * expect($state.href(\"about.person\", { person: \"bob\" })).toEqual(\"/about/bob\");\n\t     * 
\n\t *\n\t * @param {string|object} stateOrName The state name or state object you'd like to generate a url from.\n\t * @param {object=} params An object of parameter values to fill the state's required parameters.\n\t * @param {object=} options Options object. The options are:\n\t *\n\t * - **`lossy`** - {boolean=true} - If true, and if there is no url associated with the state provided in the\n\t * first parameter, then the constructed href url will be built from the first navigable ancestor (aka\n\t * ancestor with a valid url).\n\t * - **`inherit`** - {boolean=true}, If `true` will inherit url parameters from current url.\n\t * - **`relative`** - {object=$state.$current}, When transitioning with relative path (e.g '^'), \n\t * defines which state to be relative from.\n\t * - **`absolute`** - {boolean=false}, If true will generate an absolute url, e.g. \"http://www.example.com/fullurl\".\n\t * \n\t * @returns {string} compiled state url\n\t */\n\t $state.href = function href(stateOrName, params, options) {\n\t options = extend({\n\t lossy: true,\n\t inherit: true,\n\t absolute: false,\n\t relative: $state.$current\n\t }, options || {});\n\t\n\t var state = findState(stateOrName, options.relative);\n\t\n\t if (!isDefined(state)) return null;\n\t if (options.inherit) params = inheritParams($stateParams, params || {}, $state.$current, state);\n\t \n\t var nav = (state && options.lossy) ? state.navigable : state;\n\t\n\t if (!nav || nav.url === undefined || nav.url === null) {\n\t return null;\n\t }\n\t return $urlRouter.href(nav.url, filterByKeys(state.params.$$keys().concat('#'), params || {}), {\n\t absolute: options.absolute\n\t });\n\t };\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.state.$state#get\n\t * @methodOf ui.router.state.$state\n\t *\n\t * @description\n\t * Returns the state configuration object for any specific state or all states.\n\t *\n\t * @param {string|object=} stateOrName (absolute or relative) If provided, will only get the config for\n\t * the requested state. If not provided, returns an array of ALL state configs.\n\t * @param {string|object=} context When stateOrName is a relative state reference, the state will be retrieved relative to context.\n\t * @returns {Object|Array} State configuration object or array of all objects.\n\t */\n\t $state.get = function (stateOrName, context) {\n\t if (arguments.length === 0) return map(objectKeys(states), function(name) { return states[name].self; });\n\t var state = findState(stateOrName, context || $state.$current);\n\t return (state && state.self) ? state.self : null;\n\t };\n\t\n\t function resolveState(state, params, paramsAreFiltered, inherited, dst, options) {\n\t // Make a restricted $stateParams with only the parameters that apply to this state if\n\t // necessary. In addition to being available to the controller and onEnter/onExit callbacks,\n\t // we also need $stateParams to be available for any $injector calls we make during the\n\t // dependency resolution process.\n\t var $stateParams = (paramsAreFiltered) ? params : filterByKeys(state.params.$$keys(), params);\n\t var locals = { $stateParams: $stateParams };\n\t\n\t // Resolve 'global' dependencies for the state, i.e. those not specific to a view.\n\t // We're also including $stateParams in this; that way the parameters are restricted\n\t // to the set that should be visible to the state, and are independent of when we update\n\t // the global $state and $stateParams values.\n\t dst.resolve = $resolve.resolve(state.resolve, locals, dst.resolve, state);\n\t var promises = [dst.resolve.then(function (globals) {\n\t dst.globals = globals;\n\t })];\n\t if (inherited) promises.push(inherited);\n\t\n\t function resolveViews() {\n\t var viewsPromises = [];\n\t\n\t // Resolve template and dependencies for all views.\n\t forEach(state.views, function (view, name) {\n\t var injectables = (view.resolve && view.resolve !== state.resolve ? view.resolve : {});\n\t injectables.$template = [ function () {\n\t return $view.load(name, { view: view, locals: dst.globals, params: $stateParams, notify: options.notify }) || '';\n\t }];\n\t\n\t viewsPromises.push($resolve.resolve(injectables, dst.globals, dst.resolve, state).then(function (result) {\n\t // References to the controller (only instantiated at link time)\n\t if (isFunction(view.controllerProvider) || isArray(view.controllerProvider)) {\n\t var injectLocals = angular.extend({}, injectables, dst.globals);\n\t result.$$controller = $injector.invoke(view.controllerProvider, null, injectLocals);\n\t } else {\n\t result.$$controller = view.controller;\n\t }\n\t // Provide access to the state itself for internal use\n\t result.$$state = state;\n\t result.$$controllerAs = view.controllerAs;\n\t dst[name] = result;\n\t }));\n\t });\n\t\n\t return $q.all(viewsPromises).then(function(){\n\t return dst.globals;\n\t });\n\t }\n\t\n\t // Wait for all the promises and then return the activation object\n\t return $q.all(promises).then(resolveViews).then(function (values) {\n\t return dst;\n\t });\n\t }\n\t\n\t return $state;\n\t }\n\t\n\t function shouldSkipReload(to, toParams, from, fromParams, locals, options) {\n\t // Return true if there are no differences in non-search (path/object) params, false if there are differences\n\t function nonSearchParamsEqual(fromAndToState, fromParams, toParams) {\n\t // Identify whether all the parameters that differ between `fromParams` and `toParams` were search params.\n\t function notSearchParam(key) {\n\t return fromAndToState.params[key].location != \"search\";\n\t }\n\t var nonQueryParamKeys = fromAndToState.params.$$keys().filter(notSearchParam);\n\t var nonQueryParams = pick.apply({}, [fromAndToState.params].concat(nonQueryParamKeys));\n\t var nonQueryParamSet = new $$UMFP.ParamSet(nonQueryParams);\n\t return nonQueryParamSet.$$equals(fromParams, toParams);\n\t }\n\t\n\t // If reload was not explicitly requested\n\t // and we're transitioning to the same state we're already in\n\t // and the locals didn't change\n\t // or they changed in a way that doesn't merit reloading\n\t // (reloadOnParams:false, or reloadOnSearch.false and only search params changed)\n\t // Then return true.\n\t if (!options.reload && to === from &&\n\t (locals === from.locals || (to.self.reloadOnSearch === false && nonSearchParamsEqual(from, fromParams, toParams)))) {\n\t return true;\n\t }\n\t }\n\t}\n\t\n\tangular.module('ui.router.state')\n\t .value('$stateParams', {})\n\t .provider('$state', $StateProvider);\n\t\n\t\n\t$ViewProvider.$inject = [];\n\tfunction $ViewProvider() {\n\t\n\t this.$get = $get;\n\t /**\n\t * @ngdoc object\n\t * @name ui.router.state.$view\n\t *\n\t * @requires ui.router.util.$templateFactory\n\t * @requires $rootScope\n\t *\n\t * @description\n\t *\n\t */\n\t $get.$inject = ['$rootScope', '$templateFactory'];\n\t function $get( $rootScope, $templateFactory) {\n\t return {\n\t // $view.load('full.viewName', { template: ..., controller: ..., resolve: ..., async: false, params: ... })\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.state.$view#load\n\t * @methodOf ui.router.state.$view\n\t *\n\t * @description\n\t *\n\t * @param {string} name name\n\t * @param {object} options option object.\n\t */\n\t load: function load(name, options) {\n\t var result, defaults = {\n\t template: null, controller: null, view: null, locals: null, notify: true, async: true, params: {}\n\t };\n\t options = extend(defaults, options);\n\t\n\t if (options.view) {\n\t result = $templateFactory.fromConfig(options.view, options.params, options.locals);\n\t }\n\t if (result && options.notify) {\n\t /**\n\t * @ngdoc event\n\t * @name ui.router.state.$state#$viewContentLoading\n\t * @eventOf ui.router.state.$view\n\t * @eventType broadcast on root scope\n\t * @description\n\t *\n\t * Fired once the view **begins loading**, *before* the DOM is rendered.\n\t *\n\t * @param {Object} event Event object.\n\t * @param {Object} viewConfig The view config properties (template, controller, etc).\n\t *\n\t * @example\n\t *\n\t *
\n\t         * $scope.$on('$viewContentLoading',\n\t         * function(event, viewConfig){\n\t         *     // Access to all the view config properties.\n\t         *     // and one special property 'targetView'\n\t         *     // viewConfig.targetView\n\t         * });\n\t         * 
\n\t */\n\t $rootScope.$broadcast('$viewContentLoading', options);\n\t }\n\t return result;\n\t }\n\t };\n\t }\n\t}\n\t\n\tangular.module('ui.router.state').provider('$view', $ViewProvider);\n\t\n\t/**\n\t * @ngdoc object\n\t * @name ui.router.state.$uiViewScrollProvider\n\t *\n\t * @description\n\t * Provider that returns the {@link ui.router.state.$uiViewScroll} service function.\n\t */\n\tfunction $ViewScrollProvider() {\n\t\n\t var useAnchorScroll = false;\n\t\n\t /**\n\t * @ngdoc function\n\t * @name ui.router.state.$uiViewScrollProvider#useAnchorScroll\n\t * @methodOf ui.router.state.$uiViewScrollProvider\n\t *\n\t * @description\n\t * Reverts back to using the core [`$anchorScroll`](http://docs.angularjs.org/api/ng.$anchorScroll) service for\n\t * scrolling based on the url anchor.\n\t */\n\t this.useAnchorScroll = function () {\n\t useAnchorScroll = true;\n\t };\n\t\n\t /**\n\t * @ngdoc object\n\t * @name ui.router.state.$uiViewScroll\n\t *\n\t * @requires $anchorScroll\n\t * @requires $timeout\n\t *\n\t * @description\n\t * When called with a jqLite element, it scrolls the element into view (after a\n\t * `$timeout` so the DOM has time to refresh).\n\t *\n\t * If you prefer to rely on `$anchorScroll` to scroll the view to the anchor,\n\t * this can be enabled by calling {@link ui.router.state.$uiViewScrollProvider#methods_useAnchorScroll `$uiViewScrollProvider.useAnchorScroll()`}.\n\t */\n\t this.$get = ['$anchorScroll', '$timeout', function ($anchorScroll, $timeout) {\n\t if (useAnchorScroll) {\n\t return $anchorScroll;\n\t }\n\t\n\t return function ($element) {\n\t return $timeout(function () {\n\t $element[0].scrollIntoView();\n\t }, 0, false);\n\t };\n\t }];\n\t}\n\t\n\tangular.module('ui.router.state').provider('$uiViewScroll', $ViewScrollProvider);\n\t\n\t/**\n\t * @ngdoc directive\n\t * @name ui.router.state.directive:ui-view\n\t *\n\t * @requires ui.router.state.$state\n\t * @requires $compile\n\t * @requires $controller\n\t * @requires $injector\n\t * @requires ui.router.state.$uiViewScroll\n\t * @requires $document\n\t *\n\t * @restrict ECA\n\t *\n\t * @description\n\t * The ui-view directive tells $state where to place your templates.\n\t *\n\t * @param {string=} name A view name. The name should be unique amongst the other views in the\n\t * same state. You can have views of the same name that live in different states.\n\t *\n\t * @param {string=} autoscroll It allows you to set the scroll behavior of the browser window\n\t * when a view is populated. By default, $anchorScroll is overridden by ui-router's custom scroll\n\t * service, {@link ui.router.state.$uiViewScroll}. This custom service let's you\n\t * scroll ui-view elements into view when they are populated during a state activation.\n\t *\n\t * *Note: To revert back to old [`$anchorScroll`](http://docs.angularjs.org/api/ng.$anchorScroll)\n\t * functionality, call `$uiViewScrollProvider.useAnchorScroll()`.*\n\t *\n\t * @param {string=} onload Expression to evaluate whenever the view updates.\n\t * \n\t * @example\n\t * A view can be unnamed or named. \n\t *
\n\t * \n\t * 
\n\t * \n\t * \n\t *
\n\t *
\n\t *\n\t * You can only have one unnamed view within any template (or root html). If you are only using a \n\t * single view and it is unnamed then you can populate it like so:\n\t *
\n\t * 
\n\t * $stateProvider.state(\"home\", {\n\t * template: \"

HELLO!

\"\n\t * })\n\t *
\n\t * \n\t * The above is a convenient shortcut equivalent to specifying your view explicitly with the {@link ui.router.state.$stateProvider#views `views`}\n\t * config property, by name, in this case an empty name:\n\t *
\n\t * $stateProvider.state(\"home\", {\n\t *   views: {\n\t *     \"\": {\n\t *       template: \"

HELLO!

\"\n\t * }\n\t * } \n\t * })\n\t *
\n\t * \n\t * But typically you'll only use the views property if you name your view or have more than one view \n\t * in the same template. There's not really a compelling reason to name a view if its the only one, \n\t * but you could if you wanted, like so:\n\t *
\n\t * 
\n\t *
\n\t *
\n\t * $stateProvider.state(\"home\", {\n\t *   views: {\n\t *     \"main\": {\n\t *       template: \"

HELLO!

\"\n\t * }\n\t * } \n\t * })\n\t *
\n\t * \n\t * Really though, you'll use views to set up multiple views:\n\t *
\n\t * 
\n\t *
\n\t *
\n\t *
\n\t * \n\t *
\n\t * $stateProvider.state(\"home\", {\n\t *   views: {\n\t *     \"\": {\n\t *       template: \"

HELLO!

\"\n\t * },\n\t * \"chart\": {\n\t * template: \"\"\n\t * },\n\t * \"data\": {\n\t * template: \"\"\n\t * }\n\t * } \n\t * })\n\t *
\n\t *\n\t * Examples for `autoscroll`:\n\t *\n\t *
\n\t * \n\t * \n\t *\n\t * \n\t * \n\t * \n\t * \n\t * 
\n\t */\n\t$ViewDirective.$inject = ['$state', '$injector', '$uiViewScroll', '$interpolate'];\n\tfunction $ViewDirective( $state, $injector, $uiViewScroll, $interpolate) {\n\t\n\t function getService() {\n\t return ($injector.has) ? function(service) {\n\t return $injector.has(service) ? $injector.get(service) : null;\n\t } : function(service) {\n\t try {\n\t return $injector.get(service);\n\t } catch (e) {\n\t return null;\n\t }\n\t };\n\t }\n\t\n\t var service = getService(),\n\t $animator = service('$animator'),\n\t $animate = service('$animate');\n\t\n\t // Returns a set of DOM manipulation functions based on which Angular version\n\t // it should use\n\t function getRenderer(attrs, scope) {\n\t var statics = function() {\n\t return {\n\t enter: function (element, target, cb) { target.after(element); cb(); },\n\t leave: function (element, cb) { element.remove(); cb(); }\n\t };\n\t };\n\t\n\t if ($animate) {\n\t return {\n\t enter: function(element, target, cb) {\n\t var promise = $animate.enter(element, null, target, cb);\n\t if (promise && promise.then) promise.then(cb);\n\t },\n\t leave: function(element, cb) {\n\t var promise = $animate.leave(element, cb);\n\t if (promise && promise.then) promise.then(cb);\n\t }\n\t };\n\t }\n\t\n\t if ($animator) {\n\t var animate = $animator && $animator(scope, attrs);\n\t\n\t return {\n\t enter: function(element, target, cb) {animate.enter(element, null, target); cb(); },\n\t leave: function(element, cb) { animate.leave(element); cb(); }\n\t };\n\t }\n\t\n\t return statics();\n\t }\n\t\n\t var directive = {\n\t restrict: 'ECA',\n\t terminal: true,\n\t priority: 400,\n\t transclude: 'element',\n\t compile: function (tElement, tAttrs, $transclude) {\n\t return function (scope, $element, attrs) {\n\t var previousEl, currentEl, currentScope, latestLocals,\n\t onloadExp = attrs.onload || '',\n\t autoScrollExp = attrs.autoscroll,\n\t renderer = getRenderer(attrs, scope);\n\t\n\t scope.$on('$stateChangeSuccess', function() {\n\t updateView(false);\n\t });\n\t scope.$on('$viewContentLoading', function() {\n\t updateView(false);\n\t });\n\t\n\t updateView(true);\n\t\n\t function cleanupLastView() {\n\t if (previousEl) {\n\t previousEl.remove();\n\t previousEl = null;\n\t }\n\t\n\t if (currentScope) {\n\t currentScope.$destroy();\n\t currentScope = null;\n\t }\n\t\n\t if (currentEl) {\n\t renderer.leave(currentEl, function() {\n\t previousEl = null;\n\t });\n\t\n\t previousEl = currentEl;\n\t currentEl = null;\n\t }\n\t }\n\t\n\t function updateView(firstTime) {\n\t var newScope,\n\t name = getUiViewName(scope, attrs, $element, $interpolate),\n\t previousLocals = name && $state.$current && $state.$current.locals[name];\n\t\n\t if (!firstTime && previousLocals === latestLocals) return; // nothing to do\n\t newScope = scope.$new();\n\t latestLocals = $state.$current.locals[name];\n\t\n\t var clone = $transclude(newScope, function(clone) {\n\t renderer.enter(clone, $element, function onUiViewEnter() {\n\t if(currentScope) {\n\t currentScope.$emit('$viewContentAnimationEnded');\n\t }\n\t\n\t if (angular.isDefined(autoScrollExp) && !autoScrollExp || scope.$eval(autoScrollExp)) {\n\t $uiViewScroll(clone);\n\t }\n\t });\n\t cleanupLastView();\n\t });\n\t\n\t currentEl = clone;\n\t currentScope = newScope;\n\t /**\n\t * @ngdoc event\n\t * @name ui.router.state.directive:ui-view#$viewContentLoaded\n\t * @eventOf ui.router.state.directive:ui-view\n\t * @eventType emits on ui-view directive scope\n\t * @description *\n\t * Fired once the view is **loaded**, *after* the DOM is rendered.\n\t *\n\t * @param {Object} event Event object.\n\t */\n\t currentScope.$emit('$viewContentLoaded');\n\t currentScope.$eval(onloadExp);\n\t }\n\t };\n\t }\n\t };\n\t\n\t return directive;\n\t}\n\t\n\t$ViewDirectiveFill.$inject = ['$compile', '$controller', '$state', '$interpolate'];\n\tfunction $ViewDirectiveFill ( $compile, $controller, $state, $interpolate) {\n\t return {\n\t restrict: 'ECA',\n\t priority: -400,\n\t compile: function (tElement) {\n\t var initial = tElement.html();\n\t return function (scope, $element, attrs) {\n\t var current = $state.$current,\n\t name = getUiViewName(scope, attrs, $element, $interpolate),\n\t locals = current && current.locals[name];\n\t\n\t if (! locals) {\n\t return;\n\t }\n\t\n\t $element.data('$uiView', { name: name, state: locals.$$state });\n\t $element.html(locals.$template ? locals.$template : initial);\n\t\n\t var link = $compile($element.contents());\n\t\n\t if (locals.$$controller) {\n\t locals.$scope = scope;\n\t locals.$element = $element;\n\t var controller = $controller(locals.$$controller, locals);\n\t if (locals.$$controllerAs) {\n\t scope[locals.$$controllerAs] = controller;\n\t }\n\t $element.data('$ngControllerController', controller);\n\t $element.children().data('$ngControllerController', controller);\n\t }\n\t\n\t link(scope);\n\t };\n\t }\n\t };\n\t}\n\t\n\t/**\n\t * Shared ui-view code for both directives:\n\t * Given scope, element, and its attributes, return the view's name\n\t */\n\tfunction getUiViewName(scope, attrs, element, $interpolate) {\n\t var name = $interpolate(attrs.uiView || attrs.name || '')(scope);\n\t var inherited = element.inheritedData('$uiView');\n\t return name.indexOf('@') >= 0 ? name : (name + '@' + (inherited ? inherited.state.name : ''));\n\t}\n\t\n\tangular.module('ui.router.state').directive('uiView', $ViewDirective);\n\tangular.module('ui.router.state').directive('uiView', $ViewDirectiveFill);\n\t\n\tfunction parseStateRef(ref, current) {\n\t var preparsed = ref.match(/^\\s*({[^}]*})\\s*$/), parsed;\n\t if (preparsed) ref = current + '(' + preparsed[1] + ')';\n\t parsed = ref.replace(/\\n/g, \" \").match(/^([^(]+?)\\s*(\\((.*)\\))?$/);\n\t if (!parsed || parsed.length !== 4) throw new Error(\"Invalid state ref '\" + ref + \"'\");\n\t return { state: parsed[1], paramExpr: parsed[3] || null };\n\t}\n\t\n\tfunction stateContext(el) {\n\t var stateData = el.parent().inheritedData('$uiView');\n\t\n\t if (stateData && stateData.state && stateData.state.name) {\n\t return stateData.state;\n\t }\n\t}\n\t\n\t/**\n\t * @ngdoc directive\n\t * @name ui.router.state.directive:ui-sref\n\t *\n\t * @requires ui.router.state.$state\n\t * @requires $timeout\n\t *\n\t * @restrict A\n\t *\n\t * @description\n\t * A directive that binds a link (`` tag) to a state. If the state has an associated \n\t * URL, the directive will automatically generate & update the `href` attribute via \n\t * the {@link ui.router.state.$state#methods_href $state.href()} method. Clicking \n\t * the link will trigger a state transition with optional parameters. \n\t *\n\t * Also middle-clicking, right-clicking, and ctrl-clicking on the link will be \n\t * handled natively by the browser.\n\t *\n\t * You can also use relative state paths within ui-sref, just like the relative \n\t * paths passed to `$state.go()`. You just need to be aware that the path is relative\n\t * to the state that the link lives in, in other words the state that loaded the \n\t * template containing the link.\n\t *\n\t * You can specify options to pass to {@link ui.router.state.$state#go $state.go()}\n\t * using the `ui-sref-opts` attribute. Options are restricted to `location`, `inherit`,\n\t * and `reload`.\n\t *\n\t * @example\n\t * Here's an example of how you'd use ui-sref and how it would compile. If you have the \n\t * following template:\n\t *
\n\t * Home | About | Next page\n\t * \n\t * \n\t * 
\n\t * \n\t * Then the compiled html would be (assuming Html5Mode is off and current state is contacts):\n\t *
\n\t * Home | About | Next page\n\t * \n\t * 
    \n\t *
  • \n\t * Joe\n\t *
  • \n\t *
  • \n\t * Alice\n\t *
  • \n\t *
  • \n\t * Bob\n\t *
  • \n\t *
\n\t *\n\t * Home\n\t *
\n\t *\n\t * @param {string} ui-sref 'stateName' can be any valid absolute or relative state\n\t * @param {Object} ui-sref-opts options to pass to {@link ui.router.state.$state#go $state.go()}\n\t */\n\t$StateRefDirective.$inject = ['$state', '$timeout'];\n\tfunction $StateRefDirective($state, $timeout) {\n\t var allowedOptions = ['location', 'inherit', 'reload', 'absolute'];\n\t\n\t return {\n\t restrict: 'A',\n\t require: ['?^uiSrefActive', '?^uiSrefActiveEq'],\n\t link: function(scope, element, attrs, uiSrefActive) {\n\t var ref = parseStateRef(attrs.uiSref, $state.current.name);\n\t var params = null, url = null, base = stateContext(element) || $state.$current;\n\t // SVGAElement does not use the href attribute, but rather the 'xlinkHref' attribute.\n\t var hrefKind = Object.prototype.toString.call(element.prop('href')) === '[object SVGAnimatedString]' ?\n\t 'xlink:href' : 'href';\n\t var newHref = null, isAnchor = element.prop(\"tagName\").toUpperCase() === \"A\";\n\t var isForm = element[0].nodeName === \"FORM\";\n\t var attr = isForm ? \"action\" : hrefKind, nav = true;\n\t\n\t var options = { relative: base, inherit: true };\n\t var optionsOverride = scope.$eval(attrs.uiSrefOpts) || {};\n\t\n\t angular.forEach(allowedOptions, function(option) {\n\t if (option in optionsOverride) {\n\t options[option] = optionsOverride[option];\n\t }\n\t });\n\t\n\t var update = function(newVal) {\n\t if (newVal) params = angular.copy(newVal);\n\t if (!nav) return;\n\t\n\t newHref = $state.href(ref.state, params, options);\n\t\n\t var activeDirective = uiSrefActive[1] || uiSrefActive[0];\n\t if (activeDirective) {\n\t activeDirective.$$addStateInfo(ref.state, params);\n\t }\n\t if (newHref === null) {\n\t nav = false;\n\t return false;\n\t }\n\t attrs.$set(attr, newHref);\n\t };\n\t\n\t if (ref.paramExpr) {\n\t scope.$watch(ref.paramExpr, function(newVal, oldVal) {\n\t if (newVal !== params) update(newVal);\n\t }, true);\n\t params = angular.copy(scope.$eval(ref.paramExpr));\n\t }\n\t update();\n\t\n\t if (isForm) return;\n\t\n\t element.bind(\"click\", function(e) {\n\t var button = e.which || e.button;\n\t if ( !(button > 1 || e.ctrlKey || e.metaKey || e.shiftKey || element.attr('target')) ) {\n\t // HACK: This is to allow ng-clicks to be processed before the transition is initiated:\n\t var transition = $timeout(function() {\n\t $state.go(ref.state, params, options);\n\t });\n\t e.preventDefault();\n\t\n\t // if the state has no URL, ignore one preventDefault from the directive.\n\t var ignorePreventDefaultCount = isAnchor && !newHref ? 1: 0;\n\t e.preventDefault = function() {\n\t if (ignorePreventDefaultCount-- <= 0)\n\t $timeout.cancel(transition);\n\t };\n\t }\n\t });\n\t }\n\t };\n\t}\n\t\n\t/**\n\t * @ngdoc directive\n\t * @name ui.router.state.directive:ui-sref-active\n\t *\n\t * @requires ui.router.state.$state\n\t * @requires ui.router.state.$stateParams\n\t * @requires $interpolate\n\t *\n\t * @restrict A\n\t *\n\t * @description\n\t * A directive working alongside ui-sref to add classes to an element when the\n\t * related ui-sref directive's state is active, and removing them when it is inactive.\n\t * The primary use-case is to simplify the special appearance of navigation menus\n\t * relying on `ui-sref`, by having the \"active\" state's menu button appear different,\n\t * distinguishing it from the inactive menu items.\n\t *\n\t * ui-sref-active can live on the same element as ui-sref or on a parent element. The first\n\t * ui-sref-active found at the same level or above the ui-sref will be used.\n\t *\n\t * Will activate when the ui-sref's target state or any child state is active. If you\n\t * need to activate only when the ui-sref target state is active and *not* any of\n\t * it's children, then you will use\n\t * {@link ui.router.state.directive:ui-sref-active-eq ui-sref-active-eq}\n\t *\n\t * @example\n\t * Given the following template:\n\t *
\n\t * \n\t * 
\n\t *\n\t *\n\t * When the app state is \"app.user\" (or any children states), and contains the state parameter \"user\" with value \"bilbobaggins\",\n\t * the resulting HTML will appear as (note the 'active' class):\n\t *
\n\t * \n\t * 
\n\t *\n\t * The class name is interpolated **once** during the directives link time (any further changes to the\n\t * interpolated value are ignored).\n\t *\n\t * Multiple classes may be specified in a space-separated format:\n\t *
\n\t * 
    \n\t *
  • \n\t * link\n\t *
  • \n\t *
\n\t *
\n\t */\n\t\n\t/**\n\t * @ngdoc directive\n\t * @name ui.router.state.directive:ui-sref-active-eq\n\t *\n\t * @requires ui.router.state.$state\n\t * @requires ui.router.state.$stateParams\n\t * @requires $interpolate\n\t *\n\t * @restrict A\n\t *\n\t * @description\n\t * The same as {@link ui.router.state.directive:ui-sref-active ui-sref-active} but will only activate\n\t * when the exact target state used in the `ui-sref` is active; no child states.\n\t *\n\t */\n\t$StateRefActiveDirective.$inject = ['$state', '$stateParams', '$interpolate'];\n\tfunction $StateRefActiveDirective($state, $stateParams, $interpolate) {\n\t return {\n\t restrict: \"A\",\n\t controller: ['$scope', '$element', '$attrs', function ($scope, $element, $attrs) {\n\t var states = [], activeClass;\n\t\n\t // There probably isn't much point in $observing this\n\t // uiSrefActive and uiSrefActiveEq share the same directive object with some\n\t // slight difference in logic routing\n\t activeClass = $interpolate($attrs.uiSrefActiveEq || $attrs.uiSrefActive || '', false)($scope);\n\t\n\t // Allow uiSref to communicate with uiSrefActive[Equals]\n\t this.$$addStateInfo = function (newState, newParams) {\n\t var state = $state.get(newState, stateContext($element));\n\t\n\t states.push({\n\t state: state || { name: newState },\n\t params: newParams\n\t });\n\t\n\t update();\n\t };\n\t\n\t $scope.$on('$stateChangeSuccess', update);\n\t\n\t // Update route state\n\t function update() {\n\t if (anyMatch()) {\n\t $element.addClass(activeClass);\n\t } else {\n\t $element.removeClass(activeClass);\n\t }\n\t }\n\t\n\t function anyMatch() {\n\t for (var i = 0; i < states.length; i++) {\n\t if (isMatch(states[i].state, states[i].params)) {\n\t return true;\n\t }\n\t }\n\t return false;\n\t }\n\t\n\t function isMatch(state, params) {\n\t if (typeof $attrs.uiSrefActiveEq !== 'undefined') {\n\t return $state.is(state.name, params);\n\t } else {\n\t return $state.includes(state.name, params);\n\t }\n\t }\n\t }]\n\t };\n\t}\n\t\n\tangular.module('ui.router.state')\n\t .directive('uiSref', $StateRefDirective)\n\t .directive('uiSrefActive', $StateRefActiveDirective)\n\t .directive('uiSrefActiveEq', $StateRefActiveDirective);\n\t\n\t/**\n\t * @ngdoc filter\n\t * @name ui.router.state.filter:isState\n\t *\n\t * @requires ui.router.state.$state\n\t *\n\t * @description\n\t * Translates to {@link ui.router.state.$state#methods_is $state.is(\"stateName\")}.\n\t */\n\t$IsStateFilter.$inject = ['$state'];\n\tfunction $IsStateFilter($state) {\n\t var isFilter = function (state) {\n\t return $state.is(state);\n\t };\n\t isFilter.$stateful = true;\n\t return isFilter;\n\t}\n\t\n\t/**\n\t * @ngdoc filter\n\t * @name ui.router.state.filter:includedByState\n\t *\n\t * @requires ui.router.state.$state\n\t *\n\t * @description\n\t * Translates to {@link ui.router.state.$state#methods_includes $state.includes('fullOrPartialStateName')}.\n\t */\n\t$IncludedByStateFilter.$inject = ['$state'];\n\tfunction $IncludedByStateFilter($state) {\n\t var includesFilter = function (state) {\n\t return $state.includes(state);\n\t };\n\t includesFilter.$stateful = true;\n\t return includesFilter;\n\t}\n\t\n\tangular.module('ui.router.state')\n\t .filter('isState', $IsStateFilter)\n\t .filter('includedByState', $IncludedByStateFilter);\n\t})(window, window.angular);\n\n/***/ },\n/* 25 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tvar _MenuMenu = __webpack_require__(16);\n\t\n\tvar _MenuMenu2 = _interopRequireDefault(_MenuMenu);\n\t\n\tvar _Collection = __webpack_require__(11);\n\t\n\tvar _Collection2 = _interopRequireDefault(_Collection);\n\t\n\tvar _Dashboard = __webpack_require__(12);\n\t\n\tvar _Dashboard2 = _interopRequireDefault(_Dashboard);\n\t\n\tvar _UtilsOrderElement = __webpack_require__(19);\n\t\n\tvar _UtilsOrderElement2 = _interopRequireDefault(_UtilsOrderElement);\n\t\n\tvar Application = (function () {\n\t function Application() {\n\t var title = arguments.length <= 0 || arguments[0] === undefined ? 'ng-admin' : arguments[0];\n\t var debug = arguments.length <= 1 || arguments[1] === undefined ? true : arguments[1];\n\t\n\t _classCallCheck(this, Application);\n\t\n\t this._baseApiUrl = '';\n\t this._customTemplate = function (viewName) {};\n\t this._title = title;\n\t this._menu = null;\n\t this._dashboard = null;\n\t this._layout = false;\n\t this._header = false;\n\t this._entities = [];\n\t this._errorMessage = this.defaultErrorMessage;\n\t this._debug = debug;\n\t }\n\t\n\t _createClass(Application, [{\n\t key: 'defaultErrorMessage',\n\t value: function defaultErrorMessage(response) {\n\t var body = response.data;\n\t\n\t if (typeof body === 'object') {\n\t body = JSON.stringify(body);\n\t }\n\t\n\t return 'Oops, an error occured : (code: ' + response.status + ') ' + body;\n\t }\n\t }, {\n\t key: 'getViewsOfType',\n\t value: function getViewsOfType(type) {\n\t return _UtilsOrderElement2['default'].order(this.entities.map(function (entity) {\n\t return entity.views[type];\n\t }).filter(function (view) {\n\t return view.enabled;\n\t }));\n\t }\n\t }, {\n\t key: 'getRouteFor',\n\t value: function getRouteFor(entity, viewUrl, viewType, identifierValue, identifierName) {\n\t var baseApiUrl = entity.baseApiUrl() || this.baseApiUrl(),\n\t url = viewUrl || entity.getUrl(viewType, identifierValue, identifierName);\n\t\n\t // If the view or the entity don't define the url, retrieve it from the baseURL of the entity or the app\n\t if (!url) {\n\t url = baseApiUrl + entity.name();\n\t if (identifierValue) {\n\t url += '/' + identifierValue;\n\t }\n\t } else if (!/^(?:[a-z]+:)?\\/\\//.test(url)) {\n\t // Add baseUrl for relative URL\n\t url = baseApiUrl + url;\n\t }\n\t\n\t return url;\n\t }\n\t }, {\n\t key: 'debug',\n\t value: function debug(_debug) {\n\t if (!arguments.length) return this._debug;\n\t this._debug = _debug;\n\t return this;\n\t }\n\t }, {\n\t key: 'layout',\n\t value: function layout(_layout) {\n\t if (!arguments.length) return this._layout;\n\t this._layout = _layout;\n\t return this;\n\t }\n\t }, {\n\t key: 'header',\n\t value: function header(_header) {\n\t if (!arguments.length) return this._header;\n\t this._header = _header;\n\t return this;\n\t }\n\t }, {\n\t key: 'title',\n\t value: function title(_title) {\n\t if (!arguments.length) return this._title;\n\t this._title = _title;\n\t return this;\n\t }\n\t\n\t /**\n\t * Getter/Setter for the main application menu\n\t *\n\t * If the getter is called first, it will return a menu based on entities.\n\t *\n\t * application.addEntity(new Entity('posts'));\n\t * application.addEntity(new Entity('comments'));\n\t * application.menu(); // Menu { children: [ Menu { title: \"Posts\" }, Menu { title: \"Comments\" } ]}\n\t *\n\t * If the setter is called first, all subsequent calls to the getter will return the set menu.\n\t *\n\t * application.addEntity(new Entity('posts'));\n\t * application.addEntity(new Entity('comments'));\n\t * application.menu(new Menu().addChild(new Menu().title('Foo')));\n\t * application.menu(); // Menu { children: [ Menu { title: \"Foo\" } ]}\n\t *\n\t * @see Menu\n\t */\n\t }, {\n\t key: 'menu',\n\t value: function menu(_menu) {\n\t if (!arguments.length) {\n\t if (!this._menu) {\n\t this._menu = this.buildMenuFromEntities();\n\t }\n\t return this._menu;\n\t }\n\t\n\t this._menu = _menu;\n\t return this;\n\t }\n\t }, {\n\t key: 'buildMenuFromEntities',\n\t value: function buildMenuFromEntities() {\n\t return new _MenuMenu2['default']().children(this.entities.filter(function (entity) {\n\t return entity.menuView().enabled;\n\t }).sort(function (e1, e2) {\n\t return e1.menuView().order() - e2.menuView().order();\n\t }).map(function (entity) {\n\t return new _MenuMenu2['default']().populateFromEntity(entity);\n\t }));\n\t }\n\t }, {\n\t key: 'dashboard',\n\t value: function dashboard(_dashboard) {\n\t if (!arguments.length) {\n\t if (!this._dashboard) {\n\t this._dashboard = this.buildDashboardFromEntities();\n\t }\n\t return this._dashboard;\n\t }\n\t this._dashboard = _dashboard;\n\t return this;\n\t }\n\t }, {\n\t key: 'buildDashboardFromEntities',\n\t value: function buildDashboardFromEntities() {\n\t var dashboard = new _Dashboard2['default']();\n\t this.entities.filter(function (entity) {\n\t return entity.dashboardView().enabled;\n\t }).map(function (entity) {\n\t dashboard.addCollection(entity.dashboardView()); // yep, a collection is a ListView, and so is a DashboardView - forgive this duck typing for BC sake\n\t });\n\t if (!dashboard.hasCollections()) {\n\t // still no collection from dashboardViews, let's use listViews instead\n\t this.entities.filter(function (entity) {\n\t return entity.listView().enabled;\n\t }).map(function (entity, index) {\n\t var collection = new _Collection2['default']();\n\t var listView = entity.listView();\n\t collection.setEntity(entity);\n\t collection.perPage(listView.perPage());\n\t collection.sortField(listView.sortField());\n\t collection.sortDir(listView.sortDir());\n\t collection.order(index);\n\t // use only the first 3 cols\n\t collection.fields(listView.fields().filter(function (el, index) {\n\t return index < 3;\n\t }));\n\t dashboard.addCollection(collection);\n\t });\n\t }\n\t return dashboard;\n\t }\n\t }, {\n\t key: 'customTemplate',\n\t value: function customTemplate(_customTemplate) {\n\t if (!arguments.length) return this._customTemplate;\n\t this._customTemplate = _customTemplate;\n\t return this;\n\t }\n\t }, {\n\t key: 'baseApiUrl',\n\t value: function baseApiUrl(url) {\n\t if (!arguments.length) return this._baseApiUrl;\n\t this._baseApiUrl = url;\n\t return this;\n\t }\n\t }, {\n\t key: 'addEntity',\n\t value: function addEntity(entity) {\n\t if (!entity) {\n\t throw new Error(\"No entity given\");\n\t }\n\t\n\t this._entities.push(entity);\n\t\n\t return this;\n\t }\n\t }, {\n\t key: 'getEntity',\n\t value: function getEntity(entityName) {\n\t var foundEntity = this._entities.filter(function (e) {\n\t return e.name() === entityName;\n\t })[0];\n\t if (!foundEntity) {\n\t throw new Error('Unable to find entity \"' + entityName + '\"');\n\t }\n\t\n\t return foundEntity;\n\t }\n\t }, {\n\t key: 'hasEntity',\n\t value: function hasEntity(fieldName) {\n\t return !!this._entities.filter(function (f) {\n\t return f.name() === fieldName;\n\t }).length;\n\t }\n\t }, {\n\t key: 'getViewByEntityAndType',\n\t value: function getViewByEntityAndType(entityName, type) {\n\t return this._entities.filter(function (e) {\n\t return e.name() === entityName;\n\t })[0].views[type];\n\t }\n\t }, {\n\t key: 'getErrorMessage',\n\t value: function getErrorMessage(response) {\n\t if (typeof this._errorMessage === 'function') {\n\t return this._errorMessage(response);\n\t }\n\t\n\t return this._errorMessage;\n\t }\n\t }, {\n\t key: 'errorMessage',\n\t value: function errorMessage(_errorMessage) {\n\t if (!arguments.length) return this._errorMessage;\n\t this._errorMessage = _errorMessage;\n\t return this;\n\t }\n\t }, {\n\t key: 'getErrorMessageFor',\n\t value: function getErrorMessageFor(view, response) {\n\t return view.getErrorMessage(response) || view.getEntity().getErrorMessage(response) || this.getErrorMessage(response);\n\t }\n\t }, {\n\t key: 'getEntityNames',\n\t value: function getEntityNames() {\n\t return this.entities.map(function (f) {\n\t return f.name();\n\t });\n\t }\n\t }, {\n\t key: 'entities',\n\t get: function get() {\n\t return this._entities;\n\t }\n\t }]);\n\t\n\t return Application;\n\t})();\n\t\n\texports['default'] = Application;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 26 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tvar _Entry = __webpack_require__(6);\n\t\n\tvar _Entry2 = _interopRequireDefault(_Entry);\n\t\n\tvar DataStore = (function () {\n\t function DataStore() {\n\t _classCallCheck(this, DataStore);\n\t\n\t this._entries = {};\n\t }\n\t\n\t _createClass(DataStore, [{\n\t key: 'setEntries',\n\t value: function setEntries(name, entries) {\n\t this._entries[name] = entries;\n\t\n\t return this;\n\t }\n\t }, {\n\t key: 'addEntry',\n\t value: function addEntry(name, entry) {\n\t if (!(name in this._entries)) {\n\t this._entries[name] = [];\n\t }\n\t\n\t this._entries[name].push(entry);\n\t }\n\t }, {\n\t key: 'getEntries',\n\t value: function getEntries(name) {\n\t return this._entries[name] || [];\n\t }\n\t }, {\n\t key: 'getFirstEntry',\n\t value: function getFirstEntry(name) {\n\t var entries = this.getEntries(name);\n\t\n\t return entries.length ? entries[0] : null;\n\t }\n\t }, {\n\t key: 'getChoices',\n\t value: function getChoices(field) {\n\t var identifier = field.targetEntity().identifier().name();\n\t var name = field.targetField().name();\n\t\n\t return this.getEntries(field.targetEntity().uniqueId + '_choices').map(function (entry) {\n\t return {\n\t value: entry.values[identifier],\n\t label: entry.values[name]\n\t };\n\t });\n\t }\n\t }, {\n\t key: 'fillReferencesValuesFromCollection',\n\t value: function fillReferencesValuesFromCollection(collection, referencedValues, fillSimpleReference) {\n\t fillSimpleReference = typeof fillSimpleReference === 'undefined' ? false : fillSimpleReference;\n\t\n\t for (var i = 0, l = collection.length; i < l; i++) {\n\t collection[i] = this.fillReferencesValuesFromEntry(collection[i], referencedValues, fillSimpleReference);\n\t }\n\t\n\t return collection;\n\t }\n\t\n\t /**\n\t * Map a JS object from the REST API Response to an Entry\n\t *\n\t * @deprecated use Entry.createFromRest() instead\n\t */\n\t }, {\n\t key: 'mapEntry',\n\t value: function mapEntry(entityName, identifier, fields, restEntry) {\n\t console.log('DataStore.mapEntry() is deprecated, please use Entry.createFromRest() instead');\n\t return new _Entry2['default'].createFromRest(restEntry, fields, entityName, identifier.name());\n\t }\n\t\n\t /**\n\t * Map an array of JS objects from the REST API Response to an array of Entries\n\t *\n\t * @deprecated use Entry.createArrayFromRest() instead\n\t */\n\t }, {\n\t key: 'mapEntries',\n\t value: function mapEntries(entityName, identifier, fields, restEntries) {\n\t console.log('DataStore.mapEntries() is deprecated, please use Entry.createArrayFromRest() instead');\n\t return _Entry2['default'].createArrayFromRest(restEntries, fields, entityName, identifier.name());\n\t }\n\t }, {\n\t key: 'fillReferencesValuesFromEntry',\n\t value: function fillReferencesValuesFromEntry(entry, referencedValues, fillSimpleReference) {\n\t for (var referenceField in referencedValues) {\n\t var reference = referencedValues[referenceField],\n\t choices = this.getReferenceChoicesById(reference),\n\t entries = [],\n\t identifier = reference.getMappedValue(entry.values[referenceField], entry.values);\n\t\n\t if (reference.type() === 'reference_many') {\n\t for (var i in identifier) {\n\t var id = identifier[i];\n\t entries.push(choices[id]);\n\t }\n\t\n\t entry.listValues[referenceField] = entries;\n\t } else if (fillSimpleReference && identifier && identifier in choices) {\n\t entry.listValues[referenceField] = reference.getMappedValue(choices[identifier], entry.values);\n\t }\n\t }\n\t\n\t return entry;\n\t }\n\t }, {\n\t key: 'getReferenceChoicesById',\n\t value: function getReferenceChoicesById(field) {\n\t var result = {},\n\t targetField = field.targetField().name(),\n\t targetIdentifier = field.targetEntity().identifier().name(),\n\t entries = this.getEntries(field.targetEntity().uniqueId + '_values');\n\t\n\t for (var i = 0, l = entries.length; i < l; i++) {\n\t var entry = entries[i];\n\t result[entry.values[targetIdentifier]] = entry.values[targetField];\n\t }\n\t\n\t return result;\n\t }\n\t }]);\n\t\n\t return DataStore;\n\t})();\n\t\n\texports['default'] = DataStore;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 27 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar _Application = __webpack_require__(25);\n\t\n\tvar _Application2 = _interopRequireDefault(_Application);\n\t\n\tvar _EntityEntity = __webpack_require__(13);\n\t\n\tvar _EntityEntity2 = _interopRequireDefault(_EntityEntity);\n\t\n\tvar _DataStoreDataStore = __webpack_require__(26);\n\t\n\tvar _DataStoreDataStore2 = _interopRequireDefault(_DataStoreDataStore);\n\t\n\tvar _UtilsPromisesResolver = __webpack_require__(43);\n\t\n\tvar _UtilsPromisesResolver2 = _interopRequireDefault(_UtilsPromisesResolver);\n\t\n\tvar _QueriesReadQueries = __webpack_require__(41);\n\t\n\tvar _QueriesReadQueries2 = _interopRequireDefault(_QueriesReadQueries);\n\t\n\tvar _QueriesWriteQueries = __webpack_require__(42);\n\t\n\tvar _QueriesWriteQueries2 = _interopRequireDefault(_QueriesWriteQueries);\n\t\n\tvar _FieldField = __webpack_require__(1);\n\t\n\tvar _FieldField2 = _interopRequireDefault(_FieldField);\n\t\n\tvar _FieldBooleanField = __webpack_require__(28);\n\t\n\tvar _FieldBooleanField2 = _interopRequireDefault(_FieldBooleanField);\n\t\n\tvar _FieldChoiceField = __webpack_require__(7);\n\t\n\tvar _FieldChoiceField2 = _interopRequireDefault(_FieldChoiceField);\n\t\n\tvar _FieldChoicesField = __webpack_require__(29);\n\t\n\tvar _FieldChoicesField2 = _interopRequireDefault(_FieldChoicesField);\n\t\n\tvar _FieldDateField = __webpack_require__(14);\n\t\n\tvar _FieldDateField2 = _interopRequireDefault(_FieldDateField);\n\t\n\tvar _FieldDateTimeField = __webpack_require__(30);\n\t\n\tvar _FieldDateTimeField2 = _interopRequireDefault(_FieldDateTimeField);\n\t\n\tvar _FieldEmailField = __webpack_require__(31);\n\t\n\tvar _FieldEmailField2 = _interopRequireDefault(_FieldEmailField);\n\t\n\tvar _FieldFloatFieldJs = __webpack_require__(33);\n\t\n\tvar _FieldFloatFieldJs2 = _interopRequireDefault(_FieldFloatFieldJs);\n\t\n\tvar _FieldFileField = __webpack_require__(32);\n\t\n\tvar _FieldFileField2 = _interopRequireDefault(_FieldFileField);\n\t\n\tvar _FieldJsonField = __webpack_require__(34);\n\t\n\tvar _FieldJsonField2 = _interopRequireDefault(_FieldJsonField);\n\t\n\tvar _FieldNumberField = __webpack_require__(15);\n\t\n\tvar _FieldNumberField2 = _interopRequireDefault(_FieldNumberField);\n\t\n\tvar _FieldPasswordField = __webpack_require__(35);\n\t\n\tvar _FieldPasswordField2 = _interopRequireDefault(_FieldPasswordField);\n\t\n\tvar _FieldReferenceField = __webpack_require__(8);\n\t\n\tvar _FieldReferenceField2 = _interopRequireDefault(_FieldReferenceField);\n\t\n\tvar _FieldReferencedListField = __webpack_require__(37);\n\t\n\tvar _FieldReferencedListField2 = _interopRequireDefault(_FieldReferencedListField);\n\t\n\tvar _FieldReferenceManyField = __webpack_require__(36);\n\t\n\tvar _FieldReferenceManyField2 = _interopRequireDefault(_FieldReferenceManyField);\n\t\n\tvar _FieldTemplateField = __webpack_require__(38);\n\t\n\tvar _FieldTemplateField2 = _interopRequireDefault(_FieldTemplateField);\n\t\n\tvar _FieldTextField = __webpack_require__(39);\n\t\n\tvar _FieldTextField2 = _interopRequireDefault(_FieldTextField);\n\t\n\tvar _FieldWysiwygField = __webpack_require__(40);\n\t\n\tvar _FieldWysiwygField2 = _interopRequireDefault(_FieldWysiwygField);\n\t\n\tvar _MenuMenu = __webpack_require__(16);\n\t\n\tvar _MenuMenu2 = _interopRequireDefault(_MenuMenu);\n\t\n\tvar _Collection = __webpack_require__(11);\n\t\n\tvar _Collection2 = _interopRequireDefault(_Collection);\n\t\n\tvar _Dashboard = __webpack_require__(12);\n\t\n\tvar _Dashboard2 = _interopRequireDefault(_Dashboard);\n\t\n\tvar _Entry = __webpack_require__(6);\n\t\n\tvar _Entry2 = _interopRequireDefault(_Entry);\n\t\n\tvar Factory = (function () {\n\t function Factory() {\n\t _classCallCheck(this, Factory);\n\t\n\t this._fieldTypes = [];\n\t this._init();\n\t }\n\t\n\t _createClass(Factory, [{\n\t key: \"application\",\n\t value: function application(name, baseApiUrl) {\n\t return new _Application2[\"default\"](name, baseApiUrl);\n\t }\n\t }, {\n\t key: \"entity\",\n\t value: function entity(name) {\n\t return new _EntityEntity2[\"default\"](name);\n\t }\n\t }, {\n\t key: \"field\",\n\t value: function field(name, type) {\n\t type = type || 'string';\n\t\n\t if (!(type in this._fieldTypes)) {\n\t throw new Error(\"Unknown field type \\\"\" + type + \"\\\".\");\n\t }\n\t\n\t return new this._fieldTypes[type](name);\n\t }\n\t }, {\n\t key: \"registerFieldType\",\n\t value: function registerFieldType(name, constructor) {\n\t this._fieldTypes[name] = constructor;\n\t }\n\t }, {\n\t key: \"getFieldConstructor\",\n\t value: function getFieldConstructor(name) {\n\t return this._fieldTypes[name];\n\t }\n\t }, {\n\t key: \"menu\",\n\t value: function menu(entity) {\n\t var menu = new _MenuMenu2[\"default\"]();\n\t if (entity) {\n\t menu.populateFromEntity(entity);\n\t }\n\t return menu;\n\t }\n\t }, {\n\t key: \"dashboard\",\n\t value: function dashboard() {\n\t return new _Dashboard2[\"default\"]();\n\t }\n\t }, {\n\t key: \"collection\",\n\t value: function collection(entity) {\n\t var collection = new _Collection2[\"default\"]();\n\t if (entity) {\n\t collection.setEntity(entity);\n\t }\n\t return collection;\n\t }\n\t }, {\n\t key: \"getEntryConstructor\",\n\t value: function getEntryConstructor() {\n\t return _Entry2[\"default\"];\n\t }\n\t }, {\n\t key: \"getDataStore\",\n\t value: function getDataStore() {\n\t return new _DataStoreDataStore2[\"default\"]();\n\t }\n\t }, {\n\t key: \"getReadQueries\",\n\t value: function getReadQueries(RestWrapper, PromisesResolver, Application) {\n\t return new _QueriesReadQueries2[\"default\"](RestWrapper, PromisesResolver, Application);\n\t }\n\t }, {\n\t key: \"getWriteQueries\",\n\t value: function getWriteQueries(RestWrapper, PromisesResolver, Application) {\n\t return new _QueriesWriteQueries2[\"default\"](RestWrapper, PromisesResolver, Application);\n\t }\n\t }, {\n\t key: \"getPromisesResolver\",\n\t value: function getPromisesResolver() {\n\t return _UtilsPromisesResolver2[\"default\"];\n\t }\n\t }, {\n\t key: \"_init\",\n\t value: function _init() {\n\t this.registerFieldType('boolean', _FieldBooleanField2[\"default\"]);\n\t this.registerFieldType('choice', _FieldChoiceField2[\"default\"]);\n\t this.registerFieldType('choices', _FieldChoicesField2[\"default\"]);\n\t this.registerFieldType('date', _FieldDateField2[\"default\"]);\n\t this.registerFieldType('datetime', _FieldDateTimeField2[\"default\"]);\n\t this.registerFieldType('email', _FieldEmailField2[\"default\"]);\n\t this.registerFieldType('float', _FieldFloatFieldJs2[\"default\"]);\n\t this.registerFieldType('string', _FieldField2[\"default\"]);\n\t this.registerFieldType('file', _FieldFileField2[\"default\"]);\n\t this.registerFieldType('json', _FieldJsonField2[\"default\"]);\n\t this.registerFieldType('number', _FieldNumberField2[\"default\"]);\n\t this.registerFieldType('password', _FieldPasswordField2[\"default\"]);\n\t this.registerFieldType('reference', _FieldReferenceField2[\"default\"]);\n\t this.registerFieldType('reference_many', _FieldReferenceManyField2[\"default\"]);\n\t this.registerFieldType('referenced_list', _FieldReferencedListField2[\"default\"]);\n\t this.registerFieldType('template', _FieldTemplateField2[\"default\"]);\n\t this.registerFieldType('text', _FieldTextField2[\"default\"]);\n\t this.registerFieldType('wysiwyg', _FieldWysiwygField2[\"default\"]);\n\t }\n\t }]);\n\t\n\t return Factory;\n\t})();\n\t\n\texports[\"default\"] = Factory;\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 28 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _ChoiceField2 = __webpack_require__(7);\n\t\n\tvar _ChoiceField3 = _interopRequireDefault(_ChoiceField2);\n\t\n\tvar BooleanField = (function (_ChoiceField) {\n\t _inherits(BooleanField, _ChoiceField);\n\t\n\t function BooleanField(name) {\n\t _classCallCheck(this, BooleanField);\n\t\n\t _get(Object.getPrototypeOf(BooleanField.prototype), \"constructor\", this).call(this, name);\n\t this._type = \"boolean\";\n\t this._choices = [{ value: null, label: 'undefined' }, { value: true, label: 'true' }, { value: false, label: 'false' }];\n\t }\n\t\n\t return BooleanField;\n\t})(_ChoiceField3[\"default\"]);\n\t\n\texports[\"default\"] = BooleanField;\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 29 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _ChoiceField2 = __webpack_require__(7);\n\t\n\tvar _ChoiceField3 = _interopRequireDefault(_ChoiceField2);\n\t\n\tvar ChoicesField = (function (_ChoiceField) {\n\t _inherits(ChoicesField, _ChoiceField);\n\t\n\t function ChoicesField(name) {\n\t _classCallCheck(this, ChoicesField);\n\t\n\t _get(Object.getPrototypeOf(ChoicesField.prototype), \"constructor\", this).call(this, name);\n\t this._type = \"choices\";\n\t }\n\t\n\t return ChoicesField;\n\t})(_ChoiceField3[\"default\"]);\n\t\n\texports[\"default\"] = ChoicesField;\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 30 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _DateField2 = __webpack_require__(14);\n\t\n\tvar _DateField3 = _interopRequireDefault(_DateField2);\n\t\n\tvar DateTimeField = (function (_DateField) {\n\t _inherits(DateTimeField, _DateField);\n\t\n\t function DateTimeField(name) {\n\t _classCallCheck(this, DateTimeField);\n\t\n\t _get(Object.getPrototypeOf(DateTimeField.prototype), \"constructor\", this).call(this, name);\n\t\n\t this._format = null;\n\t this._parse = function (date) {\n\t return date;\n\t };\n\t\n\t this._type = 'datetime';\n\t }\n\t\n\t return DateTimeField;\n\t})(_DateField3[\"default\"]);\n\t\n\texports[\"default\"] = DateTimeField;\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 31 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _Field2 = __webpack_require__(1);\n\t\n\tvar _Field3 = _interopRequireDefault(_Field2);\n\t\n\tvar EmailField = (function (_Field) {\n\t _inherits(EmailField, _Field);\n\t\n\t function EmailField(name) {\n\t _classCallCheck(this, EmailField);\n\t\n\t _get(Object.getPrototypeOf(EmailField.prototype), \"constructor\", this).call(this, name);\n\t this._type = \"email\";\n\t }\n\t\n\t return EmailField;\n\t})(_Field3[\"default\"]);\n\t\n\texports[\"default\"] = EmailField;\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 32 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _Field2 = __webpack_require__(1);\n\t\n\tvar _Field3 = _interopRequireDefault(_Field2);\n\t\n\tvar FileField = (function (_Field) {\n\t _inherits(FileField, _Field);\n\t\n\t function FileField(name) {\n\t _classCallCheck(this, FileField);\n\t\n\t _get(Object.getPrototypeOf(FileField.prototype), \"constructor\", this).call(this, name);\n\t this._type = \"file\";\n\t this._uploadInformation = {\n\t url: '/upload',\n\t accept: '*'\n\t };\n\t }\n\t\n\t _createClass(FileField, [{\n\t key: \"uploadInformation\",\n\t value: function uploadInformation(information) {\n\t if (!arguments.length) return this._uploadInformation;\n\t this._uploadInformation = information;\n\t return this;\n\t }\n\t }]);\n\t\n\t return FileField;\n\t})(_Field3[\"default\"]);\n\t\n\texports[\"default\"] = FileField;\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 33 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _NumberField2 = __webpack_require__(15);\n\t\n\tvar _NumberField3 = _interopRequireDefault(_NumberField2);\n\t\n\tvar FloatField = (function (_NumberField) {\n\t _inherits(FloatField, _NumberField);\n\t\n\t function FloatField(name) {\n\t _classCallCheck(this, FloatField);\n\t\n\t _get(Object.getPrototypeOf(FloatField.prototype), 'constructor', this).call(this, name);\n\t this._type = 'float';\n\t this._format = '0.000';\n\t }\n\t\n\t return FloatField;\n\t})(_NumberField3['default']);\n\t\n\texports['default'] = FloatField;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 34 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _Field2 = __webpack_require__(1);\n\t\n\tvar _Field3 = _interopRequireDefault(_Field2);\n\t\n\tvar JsonField = (function (_Field) {\n\t _inherits(JsonField, _Field);\n\t\n\t function JsonField(name) {\n\t _classCallCheck(this, JsonField);\n\t\n\t _get(Object.getPrototypeOf(JsonField.prototype), \"constructor\", this).call(this, name);\n\t this._type = \"json\";\n\t this._flattenable = false;\n\t }\n\t\n\t return JsonField;\n\t})(_Field3[\"default\"]);\n\t\n\texports[\"default\"] = JsonField;\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 35 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _Field2 = __webpack_require__(1);\n\t\n\tvar _Field3 = _interopRequireDefault(_Field2);\n\t\n\tvar PasswordField = (function (_Field) {\n\t _inherits(PasswordField, _Field);\n\t\n\t function PasswordField(name) {\n\t _classCallCheck(this, PasswordField);\n\t\n\t _get(Object.getPrototypeOf(PasswordField.prototype), \"constructor\", this).call(this, name);\n\t this._type = \"password\";\n\t }\n\t\n\t return PasswordField;\n\t})(_Field3[\"default\"]);\n\t\n\texports[\"default\"] = PasswordField;\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 36 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _ReferenceField2 = __webpack_require__(8);\n\t\n\tvar _ReferenceField3 = _interopRequireDefault(_ReferenceField2);\n\t\n\tvar ReferenceManyField = (function (_ReferenceField) {\n\t _inherits(ReferenceManyField, _ReferenceField);\n\t\n\t function ReferenceManyField(name) {\n\t _classCallCheck(this, ReferenceManyField);\n\t\n\t _get(Object.getPrototypeOf(ReferenceManyField.prototype), \"constructor\", this).call(this, name);\n\t this._type = 'reference_many';\n\t }\n\t\n\t return ReferenceManyField;\n\t})(_ReferenceField3[\"default\"]);\n\t\n\texports[\"default\"] = ReferenceManyField;\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 37 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _ReferenceField2 = __webpack_require__(8);\n\t\n\tvar _ReferenceField3 = _interopRequireDefault(_ReferenceField2);\n\t\n\tvar ReferencedListField = (function (_ReferenceField) {\n\t _inherits(ReferencedListField, _ReferenceField);\n\t\n\t function ReferencedListField(name) {\n\t _classCallCheck(this, ReferencedListField);\n\t\n\t _get(Object.getPrototypeOf(ReferencedListField.prototype), 'constructor', this).call(this, name);\n\t this._type = 'referenced_list';\n\t this._targetReferenceField = null;\n\t this._targetFields = [];\n\t this._detailLink = false;\n\t }\n\t\n\t _createClass(ReferencedListField, [{\n\t key: 'targetReferenceField',\n\t value: function targetReferenceField(value) {\n\t if (!arguments.length) return this._targetReferenceField;\n\t this._targetReferenceField = value;\n\t return this;\n\t }\n\t }, {\n\t key: 'targetFields',\n\t value: function targetFields(value) {\n\t if (!arguments.length) return this._targetFields;\n\t this._targetFields = value;\n\t\n\t return this;\n\t }\n\t }, {\n\t key: 'getGridColumns',\n\t value: function getGridColumns() {\n\t var columns = [];\n\t for (var i = 0, l = this._targetFields.length; i < l; i++) {\n\t var field = this._targetFields[i];\n\t columns.push({\n\t field: field,\n\t label: field.label()\n\t });\n\t }\n\t\n\t return columns;\n\t }\n\t }, {\n\t key: 'getSortFieldName',\n\t value: function getSortFieldName() {\n\t if (!this.sortField()) {\n\t return null;\n\t }\n\t\n\t return this._targetEntity.name() + '_ListView.' + this.sortField();\n\t }\n\t }]);\n\t\n\t return ReferencedListField;\n\t})(_ReferenceField3['default']);\n\t\n\texports['default'] = ReferencedListField;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 38 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _Field2 = __webpack_require__(1);\n\t\n\tvar _Field3 = _interopRequireDefault(_Field2);\n\t\n\tvar TemplateField = (function (_Field) {\n\t _inherits(TemplateField, _Field);\n\t\n\t function TemplateField(name) {\n\t _classCallCheck(this, TemplateField);\n\t\n\t _get(Object.getPrototypeOf(TemplateField.prototype), \"constructor\", this).call(this, name);\n\t this._template = function () {\n\t return '';\n\t };\n\t this._type = \"template\";\n\t }\n\t\n\t _createClass(TemplateField, [{\n\t key: \"getTemplateValue\",\n\t value: function getTemplateValue(data) {\n\t if (typeof this._template === 'function') {\n\t return this._template(data);\n\t }\n\t\n\t return this._template;\n\t }\n\t }, {\n\t key: \"template\",\n\t value: function template(_template) {\n\t if (!arguments.length) return this._template;\n\t this._template = _template;\n\t return this;\n\t }\n\t }]);\n\t\n\t return TemplateField;\n\t})(_Field3[\"default\"]);\n\t\n\texports[\"default\"] = TemplateField;\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 39 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _Field2 = __webpack_require__(1);\n\t\n\tvar _Field3 = _interopRequireDefault(_Field2);\n\t\n\tvar TextField = (function (_Field) {\n\t _inherits(TextField, _Field);\n\t\n\t function TextField(name) {\n\t _classCallCheck(this, TextField);\n\t\n\t _get(Object.getPrototypeOf(TextField.prototype), \"constructor\", this).call(this, name);\n\t this._type = \"text\";\n\t }\n\t\n\t return TextField;\n\t})(_Field3[\"default\"]);\n\t\n\texports[\"default\"] = TextField;\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 40 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _Field2 = __webpack_require__(1);\n\t\n\tvar _Field3 = _interopRequireDefault(_Field2);\n\t\n\tvar WysiwygField = (function (_Field) {\n\t _inherits(WysiwygField, _Field);\n\t\n\t function WysiwygField(name) {\n\t _classCallCheck(this, WysiwygField);\n\t\n\t _get(Object.getPrototypeOf(WysiwygField.prototype), \"constructor\", this).call(this, name);\n\t this._type = \"wysiwyg\";\n\t this._stripTags = false;\n\t this._sanitize = true;\n\t }\n\t\n\t _createClass(WysiwygField, [{\n\t key: \"stripTags\",\n\t value: function stripTags(value) {\n\t if (!arguments.length) return this._stripTags;\n\t this._stripTags = value;\n\t return this;\n\t }\n\t }, {\n\t key: \"sanitize\",\n\t value: function sanitize(value) {\n\t if (!arguments.length) return this._sanitize;\n\t this._sanitize = value;\n\t return this;\n\t }\n\t }]);\n\t\n\t return WysiwygField;\n\t})(_Field3[\"default\"]);\n\t\n\texports[\"default\"] = WysiwygField;\n\tmodule.exports = exports[\"default\"];\n\n/***/ },\n/* 41 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _Queries2 = __webpack_require__(17);\n\t\n\tvar _Queries3 = _interopRequireDefault(_Queries2);\n\t\n\tvar ReadQueries = (function (_Queries) {\n\t _inherits(ReadQueries, _Queries);\n\t\n\t function ReadQueries() {\n\t _classCallCheck(this, ReadQueries);\n\t\n\t _get(Object.getPrototypeOf(ReadQueries.prototype), 'constructor', this).apply(this, arguments);\n\t }\n\t\n\t _createClass(ReadQueries, [{\n\t key: 'getOne',\n\t\n\t /**\n\t * Get one entity\n\t *\n\t * @param {Entity} entity\n\t * @param {String} viewType\n\t * @param {mixed} identifierValue\n\t * @param {String} identifierName\n\t * @param {String} url\n\t *\n\t * @returns {promise} (list of fields (with their values if set) & the entity name, label & id-\n\t */\n\t value: function getOne(entity, viewType, identifierValue, identifierName, url) {\n\t return this._restWrapper.getOne(entity.name(), this._application.getRouteFor(entity, url, viewType, identifierValue, identifierName), entity.retrieveMethod());\n\t }\n\t\n\t /**\n\t * Return the list of all object of entityName type\n\t * Get all the object from the API\n\t *\n\t * @param {ListView} view the view associated to the entity\n\t * @param {Number} page the page number\n\t * @param {Object} filterValues searchQuery to filter elements\n\t * @param {String} sortField the field to be sorted ex: entity.fieldName\n\t * @param {String} sortDir the direction of the sort\n\t *\n\t * @returns {promise} the entity config & the list of objects\n\t */\n\t }, {\n\t key: 'getAll',\n\t value: function getAll(view, page, filterValues, sortField, sortDir) {\n\t page = page || 1;\n\t filterValues = filterValues || {};\n\t var url = view.getUrl();\n\t\n\t if (sortField && sortField.split('.')[0] === view.name()) {\n\t sortField = sortField;\n\t sortDir = sortDir;\n\t } else {\n\t sortField = view.getSortFieldName();\n\t sortDir = view.sortDir();\n\t }\n\t\n\t var allFilterValues = {};\n\t var permanentFilters = view.permanentFilters();\n\t Object.keys(filterValues).forEach(function (key) {\n\t allFilterValues[key] = filterValues[key];\n\t });\n\t Object.keys(permanentFilters).forEach(function (key) {\n\t allFilterValues[key] = permanentFilters[key];\n\t });\n\t\n\t return this.getRawValues(view.entity, view.name(), view.type, page, view.perPage(), allFilterValues, view.filters(), sortField, sortDir, url).then(function (values) {\n\t return {\n\t data: values.data,\n\t totalItems: values.totalCount || values.headers('X-Total-Count') || values.data.length\n\t };\n\t });\n\t }\n\t\n\t /**\n\t * Return the list of all object of entityName type\n\t * Get all the object from the API\n\t *\n\t * @param {Entity} entity\n\t * @param {String} viewName\n\t * @param {String} viewType\n\t * @param {Number} page\n\t * @param {Number} perPage\n\t * @param {Object} filterValues\n\t * @param {Object} filterFields\n\t * @param {String} sortField\n\t * @param {String} sortDir\n\t * @param {String} url\n\t *\n\t * @returns {promise} the entity config & the list of objects\n\t */\n\t }, {\n\t key: 'getRawValues',\n\t value: function getRawValues(entity, viewName, viewType, page, perPage, filterValues, filterFields, sortField, sortDir, url) {\n\t var params = {};\n\t\n\t // Compute pagination\n\t if (page !== -1) {\n\t params._page = typeof page === 'undefined' ? 1 : parseInt(page, 10);\n\t params._perPage = perPage;\n\t }\n\t\n\t // Compute sorting\n\t if (sortField && sortField.split('.')[0] === viewName) {\n\t params._sortField = sortField.split('.')[1];\n\t params._sortDir = sortDir;\n\t }\n\t\n\t // Compute filtering\n\t if (filterValues && Object.keys(filterValues).length !== 0) {\n\t (function () {\n\t params._filters = {};\n\t var filterName = undefined,\n\t mappedValue = undefined;\n\t for (filterName in filterValues) {\n\t if (filterFields.hasOwnProperty(filterName) && filterFields[filterName].hasMaps()) {\n\t mappedValue = filterFields[filterName].getMappedValue(filterValues[filterName]);\n\t Object.keys(mappedValue).forEach(function (key) {\n\t params._filters[key] = mappedValue[key];\n\t });\n\t continue;\n\t }\n\t\n\t // It's weird to not map, but why not.\n\t params._filters[filterName] = filterValues[filterName];\n\t }\n\t })();\n\t }\n\t\n\t // Get grid data\n\t return this._restWrapper.getList(params, entity.name(), this._application.getRouteFor(entity, url, viewType), entity.retrieveMethod());\n\t }\n\t\n\t /**\n\t * Returns all References for an entity with associated values [{targetEntity.identifier: targetLabel}, ...]\n\t * by calling the API for each entries\n\t *\n\t * @param {ReferenceField} references A hash of Reference and ReferenceMany objects\n\t * @param {Array} rawValues\n\t *\n\t * @returns {Promise}\n\t */\n\t }, {\n\t key: 'getFilteredReferenceData',\n\t value: function getFilteredReferenceData(references, rawValues) {\n\t if (!references || !Object.keys(references).length) {\n\t return this._promisesResolver.empty({});\n\t }\n\t\n\t var getOne = this.getOne.bind(this),\n\t calls = [];\n\t\n\t for (var i in references) {\n\t var reference = references[i],\n\t targetEntity = reference.targetEntity(),\n\t identifiers = reference.getIdentifierValues(rawValues);\n\t\n\t for (var k in identifiers) {\n\t calls.push(getOne(targetEntity, 'listView', identifiers[k], reference.name()));\n\t }\n\t }\n\t\n\t return this.fillFilteredReferencedData(calls, references, rawValues);\n\t }\n\t\n\t /**\n\t * Returns all References for an entity with associated values [{targetEntity.identifier: targetLabel}, ...]\n\t * by calling the API once\n\t *\n\t * @param {[ReferenceField]} references A hash of Reference and ReferenceMany objects\n\t * @param {Array} rawValues\n\t *\n\t * @returns {Promise}\n\t */\n\t }, {\n\t key: 'getOptimizedReferencedData',\n\t value: function getOptimizedReferencedData(references, rawValues) {\n\t if (!references || !Object.keys(references).length) {\n\t return this._promisesResolver.empty({});\n\t }\n\t\n\t var getRawValues = this.getRawValues.bind(this),\n\t calls = [];\n\t\n\t for (var i in references) {\n\t var reference = references[i],\n\t targetEntity = reference.targetEntity(),\n\t identifiers = reference.getIdentifierValues(rawValues);\n\t\n\t // Check if we should retrieve values with 1 or multiple requests\n\t var singleCallFilters = reference.getSingleApiCall(identifiers);\n\t calls.push(getRawValues(targetEntity, targetEntity.name() + '_ListView', 'listView', 1, reference.perPage(), singleCallFilters, {}, reference.sortField(), reference.sortDir()));\n\t }\n\t\n\t return this.fillOptimizedReferencedData(calls, references);\n\t }\n\t\n\t /**\n\t * Returns all References for an entity with associated values [{targetEntity.identifier: targetLabel}, ...]\n\t * without filters on an entity\n\t *\n\t * @param {[ReferenceField]} references A hash of Reference and ReferenceMany objects\n\t *\n\t * @returns {Promise}\n\t */\n\t }, {\n\t key: 'getAllReferencedData',\n\t value: function getAllReferencedData(references, search) {\n\t if (!references || !Object.keys(references).length) {\n\t return this._promisesResolver.empty({});\n\t }\n\t\n\t var calls = [],\n\t getRawValues = this.getRawValues.bind(this);\n\t\n\t var _loop = function (i) {\n\t var reference = references[i];\n\t var targetEntity = reference.targetEntity();\n\t\n\t var permanentFilters = reference.permanentFilters();\n\t var filterValues = permanentFilters || {};\n\t\n\t if (typeof permanentFilters === 'function') {\n\t console.warn('Reference.permanentFilters() called with a function is deprecated. Use the searchQuery option for remoteComplete() instead');\n\t filterValues = permanentFilters(search);\n\t }\n\t\n\t if (search) {\n\t // remote complete situation\n\t var options = reference.remoteCompleteOptions();\n\t if (options.searchQuery) {\n\t (function () {\n\t var filterValuesFromRemoteComplete = options.searchQuery(search);\n\t Object.keys(filterValuesFromRemoteComplete).forEach(function (key) {\n\t filterValues[key] = filterValuesFromRemoteComplete[key];\n\t });\n\t })();\n\t } else {\n\t // by default, filter the list by the referenceField name\n\t filterValues[reference.targetField().name()] = search;\n\t }\n\t }\n\t\n\t var filterFields = {};\n\t filterFields[reference.name()] = reference;\n\t\n\t calls.push(getRawValues(targetEntity, targetEntity.name() + '_ListView', 'listView', 1, reference.perPage(), filterValues, filterFields, reference.getSortFieldName(), reference.sortDir()));\n\t };\n\t\n\t for (var i in references) {\n\t _loop(i);\n\t }\n\t\n\t return this.fillOptimizedReferencedData(calls, references);\n\t }\n\t\n\t /**\n\t * Fill all reference entries to return [{targetEntity.identifier: targetLabel}, ...]\n\t *\n\t * @param {[Promise]} apiCalls\n\t * @param {[Reference]} references\n\t * @returns {Promise}\n\t */\n\t }, {\n\t key: 'fillOptimizedReferencedData',\n\t value: function fillOptimizedReferencedData(apiCalls, references) {\n\t return this._promisesResolver.allEvenFailed(apiCalls).then(function (responses) {\n\t if (responses.length === 0) {\n\t return {};\n\t }\n\t\n\t var referencedData = {},\n\t i = 0;\n\t\n\t for (var j in references) {\n\t var reference = references[j],\n\t response = responses[i++];\n\t\n\t // Retrieve entries depending on 1 or many request was done\n\t if (response.status == 'error') {\n\t // the response failed\n\t continue;\n\t }\n\t\n\t referencedData[reference.name()] = response.result.data;\n\t }\n\t\n\t return referencedData;\n\t });\n\t }\n\t\n\t /**\n\t * Fill all reference entries to return [{targetEntity.identifier: targetLabel}, ...]\n\t *\n\t * @param {[Promise]} apiCalls\n\t * @param {[Reference]} references\n\t * @param {[Object]} rawValues\n\t * @returns {Promise}\n\t */\n\t }, {\n\t key: 'fillFilteredReferencedData',\n\t value: function fillFilteredReferencedData(apiCalls, references, rawValues) {\n\t return this._promisesResolver.allEvenFailed(apiCalls).then(function (responses) {\n\t if (responses.length === 0) {\n\t return {};\n\t }\n\t\n\t var referencedData = {},\n\t response = undefined,\n\t i = 0;\n\t\n\t for (var j in references) {\n\t var data = [],\n\t reference = references[j],\n\t identifiers = reference.getIdentifierValues(rawValues);\n\t\n\t for (var k in identifiers) {\n\t response = responses[i++];\n\t if (response.status == 'error') {\n\t // one of the responses failed\n\t continue;\n\t }\n\t data.push(response.result);\n\t }\n\t\n\t if (!data.length) {\n\t continue;\n\t }\n\t\n\t referencedData[reference.name()] = data;\n\t }\n\t\n\t return referencedData;\n\t });\n\t }\n\t\n\t /**\n\t * Returns all ReferencedList for an entity for associated values [{targetEntity.identifier: [targetFields, ...]}}\n\t *\n\t * @param {View} referencedLists\n\t * @param {String} sortField\n\t * @param {String} sortDir\n\t * @param {*} entityId\n\t *\n\t * @returns {promise}\n\t */\n\t }, {\n\t key: 'getReferencedListData',\n\t value: function getReferencedListData(referencedLists, sortField, sortDir, entityId) {\n\t var getRawValues = this.getRawValues.bind(this),\n\t calls = [];\n\t\n\t for (var i in referencedLists) {\n\t var referencedList = referencedLists[i],\n\t targetEntity = referencedList.targetEntity(),\n\t viewName = referencedList.datagridName(),\n\t currentSortField = referencedList.getSortFieldName(),\n\t currentSortDir = referencedList.sortDir(),\n\t filter = {};\n\t\n\t if (sortField && sortField.split('.')[0] === viewName) {\n\t currentSortField = sortField;\n\t currentSortDir = sortDir || 'ASC';\n\t }\n\t\n\t filter[referencedList.targetReferenceField()] = entityId;\n\t\n\t calls.push(getRawValues(targetEntity, viewName, 'listView', 1, referencedList.perPage(), filter, {}, currentSortField, currentSortDir));\n\t }\n\t\n\t return this._promisesResolver.allEvenFailed(calls).then(function (responses) {\n\t var j = 0,\n\t entries = {};\n\t\n\t for (var i in referencedLists) {\n\t var response = responses[j++];\n\t if (response.status == 'error') {\n\t // If a response fail, skip it\n\t continue;\n\t }\n\t\n\t entries[i] = response.result.data;\n\t }\n\t\n\t return entries;\n\t });\n\t }\n\t }, {\n\t key: 'getRecordsByIds',\n\t value: function getRecordsByIds(entity, ids) {\n\t var _this = this;\n\t\n\t if (!ids || !ids.length) {\n\t return this._promisesResolver.empty();\n\t }\n\t\n\t var calls = ids.map(function (id) {\n\t return _this.getOne(entity, 'listView', id, entity.identifier().name());\n\t });\n\t\n\t return this._promisesResolver.allEvenFailed(calls).then(function (responses) {\n\t return responses.filter(function (r) {\n\t return r.status != 'error';\n\t }).map(function (r) {\n\t return r.result;\n\t });\n\t });\n\t }\n\t }]);\n\t\n\t return ReadQueries;\n\t})(_Queries3['default']);\n\t\n\texports['default'] = ReadQueries;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 42 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _Queries2 = __webpack_require__(17);\n\t\n\tvar _Queries3 = _interopRequireDefault(_Queries2);\n\t\n\tvar WriteQueries = (function (_Queries) {\n\t _inherits(WriteQueries, _Queries);\n\t\n\t function WriteQueries() {\n\t _classCallCheck(this, WriteQueries);\n\t\n\t _get(Object.getPrototypeOf(WriteQueries.prototype), 'constructor', this).apply(this, arguments);\n\t }\n\t\n\t _createClass(WriteQueries, [{\n\t key: 'createOne',\n\t\n\t /**\n\t * Create a new entity\n\t * Post the data to the API to create the new object\n\t *\n\t * @param {View} view the formView related to the entity\n\t * @param {Object} rawEntity the entity's object\n\t *\n\t * @returns {promise} the new object\n\t */\n\t value: function createOne(view, rawEntity) {\n\t return this._restWrapper.createOne(rawEntity, view.entity.name(), this._application.getRouteFor(view.entity, view.getUrl(), view.type), view.entity.createMethod());\n\t }\n\t\n\t /**\n\t * Update an entity\n\t * Put the data to the API to create the new object\n\t *\n\t * @param {View} view the formView related to the entity\n\t * @param {Object} rawEntity the entity's object\n\t * @param {String} originEntityId if entity identifier is modified\n\t *\n\t * @returns {promise} the updated object\n\t */\n\t }, {\n\t key: 'updateOne',\n\t value: function updateOne(view, rawEntity, originEntityId) {\n\t var entityId = originEntityId || rawEntity[view.entity.identifier().name()];\n\t\n\t // Update element data\n\t return this._restWrapper.updateOne(rawEntity, view.entity.name(), this._application.getRouteFor(view.entity, view.getUrl(entityId), view.type, entityId, view.identifier()), view.entity.updateMethod());\n\t }\n\t\n\t /**\n\t * Delete an entity\n\t * Delete the data to the API\n\t *\n\t * @param {String} view the formView related to the entity\n\t * @param {*} entityId the entity's id\n\t *\n\t * @returns {promise}\n\t */\n\t }, {\n\t key: 'deleteOne',\n\t value: function deleteOne(view, entityId) {\n\t return this._restWrapper.deleteOne(view.entity.name(), this._application.getRouteFor(view.entity, view.getUrl(entityId), view.type, entityId, view.identifier()), view.entity.deleteMethod());\n\t }\n\t\n\t /**\n\t * Delete a batch of entity\n\t * Delete the data to the API\n\t *\n\t * @param {String} view the formView related to the entity\n\t * @param {*} entityIds the entities ids\n\t *\n\t * @returns {promise}\n\t */\n\t }, {\n\t key: 'batchDelete',\n\t value: function batchDelete(view, entityIds) {\n\t var deleteOne = this.deleteOne.bind(this);\n\t var promises = entityIds.map(function (id) {\n\t return deleteOne(view, id);\n\t });\n\t\n\t return this._promisesResolver.allEvenFailed(promises);\n\t }\n\t }]);\n\t\n\t return WriteQueries;\n\t})(_Queries3['default']);\n\t\n\texports['default'] = WriteQueries;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 43 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tvar PromisesResolver = (function () {\n\t function PromisesResolver() {\n\t _classCallCheck(this, PromisesResolver);\n\t }\n\t\n\t _createClass(PromisesResolver, null, [{\n\t key: 'empty',\n\t value: function empty(value) {\n\t return new Promise(function (resolve) {\n\t resolve(value);\n\t });\n\t }\n\t }, {\n\t key: 'allEvenFailed',\n\t value: function allEvenFailed(promises) {\n\t if (!Array.isArray(promises)) {\n\t throw Error('allEvenFailed can only handle an array of promises');\n\t }\n\t\n\t return new Promise(function (resolve, reject) {\n\t if (promises.length === 0) {\n\t return resolve([]);\n\t }\n\t\n\t var states = [],\n\t results = [];\n\t\n\t promises.forEach(function (promise, key) {\n\t states[key] = false; // promises are not resolved by default\n\t });\n\t\n\t promises.forEach(function (promise, key) {\n\t function resolveState(result) {\n\t states[key] = true;\n\t results[key] = result; // result may be an error\n\t for (var i in states) {\n\t if (!states[i]) {\n\t return;\n\t }\n\t }\n\t\n\t resolve(results);\n\t }\n\t\n\t function resolveSuccess(result) {\n\t return resolveState({ status: 'success', result: result });\n\t }\n\t\n\t function resolveError(result) {\n\t return resolveState({ status: 'error', error: result });\n\t }\n\t\n\t // whether the promise ends with success or error, consider it done\n\t promise.then(resolveSuccess, resolveError);\n\t });\n\t });\n\t }\n\t }]);\n\t\n\t return PromisesResolver;\n\t})();\n\t\n\texports['default'] = PromisesResolver;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 44 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _View2 = __webpack_require__(2);\n\t\n\tvar _View3 = _interopRequireDefault(_View2);\n\t\n\tvar BatchDeleteView = (function (_View) {\n\t _inherits(BatchDeleteView, _View);\n\t\n\t function BatchDeleteView(name) {\n\t _classCallCheck(this, BatchDeleteView);\n\t\n\t _get(Object.getPrototypeOf(BatchDeleteView.prototype), 'constructor', this).call(this, name);\n\t\n\t this._type = 'BatchDeleteView';\n\t this._enabled = true;\n\t }\n\t\n\t return BatchDeleteView;\n\t})(_View3['default']);\n\t\n\texports['default'] = BatchDeleteView;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 45 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _View2 = __webpack_require__(2);\n\t\n\tvar _View3 = _interopRequireDefault(_View2);\n\t\n\tvar CreateView = (function (_View) {\n\t _inherits(CreateView, _View);\n\t\n\t function CreateView(name) {\n\t _classCallCheck(this, CreateView);\n\t\n\t _get(Object.getPrototypeOf(CreateView.prototype), 'constructor', this).call(this, name);\n\t this._type = 'CreateView';\n\t }\n\t\n\t return CreateView;\n\t})(_View3['default']);\n\t\n\texports['default'] = CreateView;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 46 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _ListView2 = __webpack_require__(5);\n\t\n\tvar _ListView3 = _interopRequireDefault(_ListView2);\n\t\n\tvar DashboardView = (function (_ListView) {\n\t _inherits(DashboardView, _ListView);\n\t\n\t function DashboardView() {\n\t _classCallCheck(this, DashboardView);\n\t\n\t _get(Object.getPrototypeOf(DashboardView.prototype), 'constructor', this).apply(this, arguments);\n\t }\n\t\n\t _createClass(DashboardView, [{\n\t key: 'setEntity',\n\t value: function setEntity(entity) {\n\t this.entity = entity;\n\t if (!this._name) {\n\t this._name = entity.name();\n\t }\n\t return this;\n\t }\n\t }]);\n\t\n\t return DashboardView;\n\t})(_ListView3['default']);\n\t\n\texports['default'] = DashboardView;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 47 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _View2 = __webpack_require__(2);\n\t\n\tvar _View3 = _interopRequireDefault(_View2);\n\t\n\tvar DeleteView = (function (_View) {\n\t _inherits(DeleteView, _View);\n\t\n\t function DeleteView(name) {\n\t _classCallCheck(this, DeleteView);\n\t\n\t _get(Object.getPrototypeOf(DeleteView.prototype), 'constructor', this).call(this, name);\n\t this._type = 'DeleteView';\n\t this._enabled = true;\n\t }\n\t\n\t return DeleteView;\n\t})(_View3['default']);\n\t\n\texports['default'] = DeleteView;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 48 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _View2 = __webpack_require__(2);\n\t\n\tvar _View3 = _interopRequireDefault(_View2);\n\t\n\tvar EditView = (function (_View) {\n\t _inherits(EditView, _View);\n\t\n\t function EditView(name) {\n\t _classCallCheck(this, EditView);\n\t\n\t _get(Object.getPrototypeOf(EditView.prototype), 'constructor', this).call(this, name);\n\t this._type = 'EditView';\n\t }\n\t\n\t return EditView;\n\t})(_View3['default']);\n\t\n\texports['default'] = EditView;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 49 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _ListView2 = __webpack_require__(5);\n\t\n\tvar _ListView3 = _interopRequireDefault(_ListView2);\n\t\n\tvar ExportView = (function (_ListView) {\n\t _inherits(ExportView, _ListView);\n\t\n\t function ExportView(name) {\n\t _classCallCheck(this, ExportView);\n\t\n\t _get(Object.getPrototypeOf(ExportView.prototype), 'constructor', this).call(this, name);\n\t this._fields = [];\n\t this._type = 'ExportView';\n\t }\n\t\n\t return ExportView;\n\t})(_ListView3['default']);\n\t\n\texports['default'] = ExportView;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 50 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _View2 = __webpack_require__(2);\n\t\n\tvar _View3 = _interopRequireDefault(_View2);\n\t\n\tvar MenuView = (function (_View) {\n\t _inherits(MenuView, _View);\n\t\n\t function MenuView(name) {\n\t _classCallCheck(this, MenuView);\n\t\n\t _get(Object.getPrototypeOf(MenuView.prototype), 'constructor', this).call(this, name);\n\t this._type = 'MenuView';\n\t this._icon = null;\n\t }\n\t\n\t _createClass(MenuView, [{\n\t key: 'icon',\n\t value: function icon() {\n\t if (arguments.length) {\n\t console.warn('entity.menuView() is deprecated. Please use the Menu class instead');\n\t this._icon = arguments[0];\n\t return this;\n\t }\n\t\n\t if (this._icon === null) {\n\t return '';\n\t }\n\t\n\t return this._icon;\n\t }\n\t }, {\n\t key: 'enabled',\n\t get: function get() {\n\t return this._enabled || this.entity.views['ListView'].enabled;\n\t }\n\t }]);\n\t\n\t return MenuView;\n\t})(_View3['default']);\n\t\n\texports['default'] = MenuView;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 51 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _View2 = __webpack_require__(2);\n\t\n\tvar _View3 = _interopRequireDefault(_View2);\n\t\n\tvar ShowView = (function (_View) {\n\t _inherits(ShowView, _View);\n\t\n\t function ShowView(name) {\n\t _classCallCheck(this, ShowView);\n\t\n\t _get(Object.getPrototypeOf(ShowView.prototype), 'constructor', this).call(this, name);\n\t this._type = 'ShowView';\n\t }\n\t\n\t return ShowView;\n\t})(_View3['default']);\n\t\n\texports['default'] = ShowView;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 52 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t__webpack_require__(168).polyfill(); // for IE\n\t\n\t__webpack_require__(135);\n\t__webpack_require__(53);\n\t\n\tvar Factory = __webpack_require__(27);\n\t\n\tvar factory = angular.module('AdminDescriptionModule', []);\n\tfactory.constant('AdminDescription', new Factory());\n\t\n\tvar ngadmin = angular.module('ng-admin', ['ui.select', 'main', 'crud', 'AdminDescriptionModule']);\n\tngadmin.config([\"NgAdminConfigurationProvider\", \"AdminDescription\", function (NgAdminConfigurationProvider, AdminDescription) {\n\t NgAdminConfigurationProvider.setAdminDescription(AdminDescription);\n\t}]);\n\t\n\tngadmin.config([\"uiSelectConfig\", function (uiSelectConfig) {\n\t uiSelectConfig.theme = 'bootstrap';\n\t}]);\n\n/***/ },\n/* 53 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar angular = __webpack_require__(4);\n\t\n\tvar CrudModule = angular.module('crud', ['ui.router', 'ui.bootstrap', 'ngSanitize', 'textAngular', 'ngInflection', 'ui.codemirror', 'ngFileUpload', 'ngNumeraljs']);\n\t\n\tCrudModule.controller('ListLayoutController', __webpack_require__(115));\n\tCrudModule.controller('ListController', __webpack_require__(114));\n\tCrudModule.controller('ShowController', __webpack_require__(133));\n\tCrudModule.controller('FormController', __webpack_require__(113));\n\tCrudModule.controller('DeleteController', __webpack_require__(77));\n\tCrudModule.controller('BatchDeleteController', __webpack_require__(76));\n\t\n\tCrudModule.service('EntryFormatter', __webpack_require__(125));\n\tCrudModule.service('PromisesResolver', __webpack_require__(126));\n\tCrudModule.service('ReadQueries', __webpack_require__(129));\n\tCrudModule.service('ReferenceRefresher', __webpack_require__(130));\n\tCrudModule.service('WriteQueries', __webpack_require__(131));\n\t\n\tCrudModule.service('RestWrapper', __webpack_require__(127));\n\t\n\tCrudModule.directive('maJsonValidator', __webpack_require__(134));\n\t\n\tCrudModule.directive('datepickerPopup', __webpack_require__(78));\n\tCrudModule.directive('maField', __webpack_require__(84));\n\tCrudModule.directive('maButtonField', __webpack_require__(79));\n\tCrudModule.directive('maChoiceField', __webpack_require__(81));\n\tCrudModule.directive('maChoicesField', __webpack_require__(82));\n\tCrudModule.directive('maDateField', __webpack_require__(83));\n\tCrudModule.directive('maInputField', __webpack_require__(86));\n\tCrudModule.directive('maJsonField', __webpack_require__(87));\n\tCrudModule.directive('maFileField', __webpack_require__(85));\n\tCrudModule.directive('maCheckboxField', __webpack_require__(80));\n\tCrudModule.directive('maReferenceField', __webpack_require__(88));\n\tCrudModule.directive('maReferenceManyField', __webpack_require__(89));\n\tCrudModule.directive('maTextField', __webpack_require__(91));\n\tCrudModule.directive('maWysiwygField', __webpack_require__(92));\n\tCrudModule.directive('maTemplateField', __webpack_require__(90));\n\tCrudModule.directive('uiSelectRequired', __webpack_require__(93));\n\t\n\tCrudModule.provider('FieldViewConfiguration', __webpack_require__(98));\n\t\n\tCrudModule.directive('maListActions', __webpack_require__(123));\n\tCrudModule.directive('maDatagrid', __webpack_require__(116));\n\tCrudModule.directive('maDatagridPagination', __webpack_require__(121));\n\tCrudModule.directive('maDatagridInfinitePagination', __webpack_require__(118));\n\tCrudModule.directive('maDatagridItemSelector', __webpack_require__(119));\n\tCrudModule.directive('maDatagridMultiSelector', __webpack_require__(120));\n\tCrudModule.directive('maFilter', __webpack_require__(111));\n\tCrudModule.directive('maFilterButton', __webpack_require__(112));\n\t\n\tCrudModule.directive('maColumn', __webpack_require__(66));\n\tCrudModule.directive('maBooleanColumn', __webpack_require__(64));\n\tCrudModule.directive('maChoicesColumn', __webpack_require__(65));\n\tCrudModule.directive('maDateColumn', __webpack_require__(67));\n\tCrudModule.directive('maJsonColumn', __webpack_require__(68));\n\tCrudModule.directive('maNumberColumn', __webpack_require__(69));\n\tCrudModule.directive('maReferenceManyColumn', __webpack_require__(70));\n\tCrudModule.directive('maReferenceManyLinkColumn', __webpack_require__(71));\n\tCrudModule.directive('maStringColumn', __webpack_require__(72));\n\tCrudModule.directive('maTemplateColumn', __webpack_require__(73));\n\tCrudModule.directive('maWysiwygColumn', __webpack_require__(74));\n\t\n\tCrudModule.directive('maBackButton', __webpack_require__(54));\n\tCrudModule.directive('maCreateButton', __webpack_require__(56));\n\tCrudModule.directive('maEditButton', __webpack_require__(58));\n\tCrudModule.directive('maFilteredListButton', __webpack_require__(60));\n\tCrudModule.directive('maShowButton', __webpack_require__(62));\n\tCrudModule.directive('maListButton', __webpack_require__(61));\n\tCrudModule.directive('maDeleteButton', __webpack_require__(57));\n\tCrudModule.directive('maBatchDeleteButton', __webpack_require__(55));\n\tCrudModule.directive('maExportToCsvButton', __webpack_require__(59));\n\tCrudModule.directive('maViewBatchActions', __webpack_require__(63));\n\t\n\tCrudModule.directive('maViewActions', __webpack_require__(128));\n\tCrudModule.directive('compile', __webpack_require__(124));\n\t\n\tCrudModule.config(__webpack_require__(132));\n\tCrudModule.config(__webpack_require__(75));\n\t\n\tCrudModule.factory('Papa', function () {\n\t return __webpack_require__(172);\n\t});\n\t\n\tCrudModule.factory('notification', function () {\n\t var humane = __webpack_require__(169);\n\t humane.timeout = 5000;\n\t humane.clickToClose = true;\n\t return humane;\n\t});\n\t\n\tCrudModule.factory('progression', function () {\n\t return __webpack_require__(171);\n\t});\n\t\n\tmodule.exports = CrudModule;\n\n/***/ },\n/* 54 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t function maBackButtonDirective($window) {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t size: '@',\n\t label: '@'\n\t },\n\t link: function link($scope) {\n\t $scope.label = $scope.label || 'Back';\n\t\n\t $scope.back = function () {\n\t $window.history.back();\n\t };\n\t },\n\t template: ' \\n  {{ ::label }}\\n'\n\t };\n\t }\n\t\n\t maBackButtonDirective.$inject = ['$window'];\n\t\n\t return maBackButtonDirective;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 55 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t function maBatchDeleteButtonDirective($state) {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t entity: '&',\n\t selection: '&',\n\t label: '@'\n\t },\n\t link: function link($scope) {\n\t $scope.label = $scope.label || 'Delete';\n\t\n\t $scope.gotoBatchDelete = function () {\n\t var entity = $scope.entity();\n\t var ids = $scope.selection().map(function (entry) {\n\t return entry.identifierValue;\n\t });\n\t\n\t $state.go('batchDelete', angular.extend({\n\t ids: ids,\n\t entity: $scope.entity().name()\n\t }, $state.params));\n\t };\n\t },\n\t template: '\\n  {{ ::label }}\\n'\n\t\n\t };\n\t }\n\t\n\t maBatchDeleteButtonDirective.$inject = ['$state'];\n\t\n\t return maBatchDeleteButtonDirective;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 56 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t function maCreateButtonDirective($state) {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t entity: '&',\n\t size: '@',\n\t label: '@'\n\t },\n\t link: function link(scope) {\n\t scope.label = scope.label || 'Create';\n\t\n\t scope.gotoCreate = function () {\n\t $state.go($state.get('create'), angular.extend({ entity: scope.entity().name() }, $state.params));\n\t };\n\t },\n\t template: ' \\n  {{ ::label }}\\n'\n\t };\n\t }\n\t\n\t maCreateButtonDirective.$inject = ['$state'];\n\t\n\t return maCreateButtonDirective;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 57 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t function maDeleteButtonDirective($state) {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t entity: '&',\n\t entry: '&',\n\t size: '@',\n\t label: '@'\n\t },\n\t link: function link(scope) {\n\t scope.label = scope.label || 'Delete';\n\t\n\t scope.gotoDelete = function () {\n\t $state.go($state.get('delete'), angular.extend({\n\t entity: scope.entity().name(),\n\t id: scope.entry().identifierValue\n\t }, $state.params));\n\t };\n\t },\n\t template: ' \\n  {{ ::label }}\\n'\n\t\n\t };\n\t }\n\t\n\t maDeleteButtonDirective.$inject = ['$state'];\n\t\n\t return maDeleteButtonDirective;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 58 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t function maEditButtonDirective($state) {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t entity: '&',\n\t entry: '&',\n\t size: '@',\n\t label: '@'\n\t },\n\t link: function link(scope) {\n\t scope.label = scope.label || 'Edit';\n\t scope.gotoEdit = function () {\n\t $state.go($state.get('edit'), angular.extend({\n\t entity: scope.entity().name(),\n\t id: scope.entry().identifierValue\n\t }, $state.params));\n\t };\n\t },\n\t template: ' \\n  {{ ::label }}\\n'\n\t };\n\t }\n\t\n\t maEditButtonDirective.$inject = ['$state'];\n\t\n\t return maEditButtonDirective;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 59 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t function maExportToCsvButton($stateParams, Papa, notification, AdminDescription, entryFormatter, ReadQueries) {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t entity: '&',\n\t label: '@',\n\t datastore: '&',\n\t search: '&'\n\t },\n\t link: function link(scope) {\n\t scope.label = scope.label || 'Export';\n\t\n\t scope.datastore = scope.datastore();\n\t scope.entity = scope.entity();\n\t var exportView = scope.entity.exportView();\n\t var listView = scope.entity.listView();\n\t if (exportView.fields().length === 0) {\n\t var exportFields = listView.exportFields();\n\t if (exportFields === null) {\n\t exportFields = listView.fields();\n\t }\n\t exportView.fields(exportFields);\n\t exportView.filters(listView.filters());\n\t }\n\t scope.has_export = exportView.fields().length > 0;\n\t var formatEntry = entryFormatter.getFormatter(exportView.fields());\n\t\n\t scope.exportToCsv = function () {\n\t var rawEntries;\n\t var nonOptimizedReferencedData;\n\t var optimizedReferencedData;\n\t\n\t ReadQueries.getAll(exportView, -1, scope.search(), $stateParams.sortField, $stateParams.sortDir).then(function (response) {\n\t rawEntries = response.data;\n\t return rawEntries;\n\t }).then(function (rawEntries) {\n\t return ReadQueries.getFilteredReferenceData(exportView.getNonOptimizedReferences(), rawEntries);\n\t }).then(function (nonOptimizedReference) {\n\t nonOptimizedReferencedData = nonOptimizedReference;\n\t return ReadQueries.getOptimizedReferencedData(exportView.getOptimizedReferences(), rawEntries);\n\t }).then(function (optimizedReference) {\n\t optimizedReferencedData = optimizedReference;\n\t var references = exportView.getReferences(),\n\t referencedData = angular.extend(nonOptimizedReferencedData, optimizedReferencedData),\n\t referencedEntries;\n\t\n\t for (var name in referencedData) {\n\t referencedEntries = AdminDescription.getEntryConstructor().createArrayFromRest(referencedData[name], [references[name].targetField()], references[name].targetEntity().name(), references[name].targetEntity().identifier().name());\n\t\n\t scope.datastore.setEntries(references[name].targetEntity().uniqueId + '_values', referencedEntries);\n\t }\n\t }).then(function () {\n\t var entries = exportView.mapEntries(rawEntries);\n\t\n\t // shortcut to diplay collection of entry with included referenced values\n\t scope.datastore.fillReferencesValuesFromCollection(entries, exportView.getReferences(), true);\n\t\n\t var results = [];\n\t for (var i = entries.length - 1; i >= 0; i--) {\n\t results[i] = formatEntry(entries[i]);\n\t }\n\t var csv = Papa.unparse(results);\n\t var fakeLink = document.createElement('a');\n\t document.body.appendChild(fakeLink);\n\t\n\t fakeLink.setAttribute('href', 'data:application/octet-stream;charset=utf-8,' + encodeURIComponent(csv));\n\t fakeLink.setAttribute('download', scope.entity.name() + '.csv');\n\t fakeLink.click();\n\t }, function (error) {\n\t notification.log(error.message, { addnCls: 'humane-flatty-error' });\n\t });\n\t };\n\t },\n\t template: '\\n \\n  {{ ::label }}\\n \\n'\n\t };\n\t }\n\t\n\t maExportToCsvButton.$inject = ['$stateParams', 'Papa', 'notification', 'AdminDescription', 'EntryFormatter', 'ReadQueries'];\n\t\n\t return maExportToCsvButton;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 60 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t /**\n\t * Link to filtered list\n\t * \n\t * Usage:\n\t *\n\t * \n\t * \n\t * ')\n\t *\n\t * Usage as a template field:\n\t *\n\t * nga.field('', 'template')\n\t * .label('')\n\t * .template('')\n\t */\n\t function maFilteredListButtonDirective($state) {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t entityName: '@',\n\t filter: '&',\n\t label: '@',\n\t size: '@'\n\t },\n\t link: function link(scope) {\n\t scope.label = scope.label || 'See all related ' + scope.entityName;\n\t scope.gotoList = function () {\n\t $state.go($state.get('list'), { 'entity': scope.entityName, 'search': scope.filter() });\n\t };\n\t },\n\t template: ' \\n  {{ ::label }}\\n'\n\t };\n\t }\n\t\n\t maFilteredListButtonDirective.$inject = ['$state'];\n\t\n\t return maFilteredListButtonDirective;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 61 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t /**\n\t * Link to list\n\t *\n\t * Usage:\n\t * \n\t */\n\t function maListButtonDirective($state) {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t entity: '&',\n\t size: '@',\n\t label: '@'\n\t },\n\t link: function link(scope) {\n\t scope.label = scope.label || 'List';\n\t var parentEntityName = scope.$parent.entity ? scope.$parent.entity.name() : null;\n\t var entityName = scope.entity().name();\n\t\n\t var params = {\n\t entity: entityName\n\t };\n\t if (entityName === parentEntityName) {\n\t angular.extend(params, $state.params);\n\t }\n\t\n\t scope.gotoList = function () {\n\t $state.go($state.get('list'), params);\n\t };\n\t },\n\t template: ' \\n  {{ ::label }}\\n'\n\t };\n\t }\n\t\n\t maListButtonDirective.$inject = ['$state'];\n\t\n\t return maListButtonDirective;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 62 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t function maShowButtonDirective($state) {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t entity: '&',\n\t entry: '&',\n\t size: '@',\n\t label: '@'\n\t },\n\t link: function link(scope) {\n\t scope.label = scope.label || 'Show';\n\t\n\t scope.gotoShow = function () {\n\t $state.go($state.get('show'), angular.extend({\n\t entity: scope.entity().name(),\n\t id: scope.entry().identifierValue\n\t }, $state.params));\n\t };\n\t },\n\t template: ' \\n  {{ ::label }}\\n'\n\t };\n\t }\n\t\n\t maShowButtonDirective.$inject = ['$state'];\n\t\n\t return maShowButtonDirective;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 63 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tfunction maViewBatchActionsDirective($injector) {\n\t var $compile = $injector.get('$compile');\n\t\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t 'entity': '=',\n\t 'selection': '=',\n\t 'buttons': '&'\n\t },\n\t link: function link(scope) {\n\t scope.isopen = false;\n\t\n\t scope.toggleDropdown = function ($event) {\n\t $event.preventDefault();\n\t $event.stopPropagation();\n\t scope.isopen = !scope.isopen;\n\t };\n\t\n\t scope.buttons = scope.buttons();\n\t if (typeof scope.buttons === 'string') {\n\t scope.customTemplate = scope.buttons;\n\t scope.buttons = null;\n\t }\n\t },\n\t // the ng-class hidden is necessary to hide the inner blank space used for spacing buttons when the selection is not empty\n\t template: ' \\n \\n \\n'\n\t };\n\t}\n\t\n\tmaViewBatchActionsDirective.$inject = ['$injector'];\n\t\n\tmodule.exports = maViewBatchActionsDirective;\n\n/***/ },\n/* 64 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t function maBooleanColumn() {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t value: '&'\n\t },\n\t link: function link(scope) {\n\t scope.value = scope.value();\n\t },\n\t template: ''\n\t };\n\t }\n\t\n\t maBooleanColumn.$inject = [];\n\t\n\t return maBooleanColumn;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 65 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t function maChoicesColumn() {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t values: '&'\n\t },\n\t template: '{{ ref }}'\n\t };\n\t }\n\t\n\t maChoicesColumn.$inject = [];\n\t\n\t return maChoicesColumn;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 66 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t function maColumn($state, $anchorScroll, $compile, Configuration, FieldViewConfiguration) {\n\t\n\t function getDetailLinkRouteName(field, entity) {\n\t if (entity.isReadOnly) {\n\t return entity.showView().enabled ? 'show' : false;\n\t }\n\t if (field.detailLinkRoute() == 'edit' && entity.editionView().enabled) {\n\t return 'edit';\n\t }\n\t return entity.showView().enabled ? 'show' : false;\n\t }\n\t\n\t function isDetailLink(field, entity) {\n\t if (field.isDetailLink() === false) {\n\t return false;\n\t }\n\t if (field.type() == 'reference' || field.type() == 'reference_many') {\n\t var relatedEntity = Configuration().getEntity(field.targetEntity().name());\n\t if (!relatedEntity) {\n\t return false;\n\t }\n\t return getDetailLinkRouteName(field, relatedEntity) !== false;\n\t }\n\t return getDetailLinkRouteName(field, entity) !== false;\n\t }\n\t\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t field: '&',\n\t entry: '&',\n\t entity: '&',\n\t datastore: '&'\n\t },\n\t link: function link(scope, element) {\n\t scope.datastore = scope.datastore();\n\t scope.field = scope.field();\n\t scope.entry = scope.entry();\n\t scope.entity = scope.entity();\n\t var type = scope.field.type();\n\t if (isDetailLink(scope.field, scope.entity)) {\n\t element.append(FieldViewConfiguration[type].getLinkWidget());\n\t } else {\n\t element.append(FieldViewConfiguration[type].getReadWidget());\n\t }\n\t $compile(element.contents())(scope);\n\t scope.gotoDetail = function () {\n\t var route = getDetailLinkRouteName(scope.field, scope.entity);\n\t $state.go($state.get(route), angular.extend({}, $state.params, {\n\t entity: scope.entry.entityName,\n\t id: scope.entry.identifierValue\n\t }));\n\t };\n\t scope.gotoReference = function () {\n\t var referenceEntity = scope.field.targetEntity().name();\n\t var relatedEntity = Configuration().getEntity(referenceEntity);\n\t var referenceId = scope.entry.values[scope.field.name()];\n\t var route = getDetailLinkRouteName(scope.field, relatedEntity);\n\t $state.go($state.get(route), {\n\t entity: referenceEntity,\n\t id: referenceId\n\t });\n\t };\n\t }\n\t };\n\t }\n\t\n\t maColumn.$inject = ['$state', '$anchorScroll', '$compile', 'NgAdminConfiguration', 'FieldViewConfiguration'];\n\t\n\t return maColumn;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 67 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t function maDateColumn() {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t value: '&',\n\t field: '&'\n\t },\n\t link: function link(scope) {\n\t var field = scope.field();\n\t scope.format = field.format();\n\t if (!scope.format) {\n\t scope.format = field.type() === 'date' ? 'yyyy-MM-dd' : 'yyyy-MM-dd HH:mm:ss';\n\t }\n\t },\n\t template: '{{ value() | date:format }}'\n\t };\n\t }\n\t\n\t maDateColumn.$inject = [];\n\t\n\t return maDateColumn;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 68 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t function maJsonColumn($compile) {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t value: '&'\n\t },\n\t link: function link(scope, element) {\n\t scope.guessType = function (obj) {\n\t var type = Object.prototype.toString.call(obj);\n\t\n\t if (type === \"[object Object]\") {\n\t return \"Object\";\n\t }\n\t\n\t if (type === \"[object Array]\") {\n\t return \"Array\";\n\t }\n\t\n\t return \"Literal\";\n\t };\n\t\n\t var template = '' + '' + '' + '' + '' + '' + '' + '
' + '' + '' + '{{ val }}' + '
' + '' + '' + '' + '' + '' + '' + '' + '
{{ key }}' + '' + '' + '{{ val }}' + '
' + '
';\n\t\n\t var newElement = angular.element(template);\n\t $compile(newElement)(scope);\n\t element.replaceWith(newElement);\n\t }\n\t };\n\t }\n\t\n\t maJsonColumn.$inject = ['$compile'];\n\t\n\t return maJsonColumn;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 69 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t function maNumberColumn() {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t value: '&',\n\t field: '&'\n\t },\n\t template: '{{ value() | numeraljs:field().format() }}'\n\t };\n\t }\n\t\n\t maNumberColumn.$inject = [];\n\t\n\t return maNumberColumn;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 70 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t function maReferenceManyColumn() {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t values: '&'\n\t },\n\t template: '' + '{{ ref }}' + ''\n\t };\n\t }\n\t\n\t maReferenceManyColumn.$inject = [];\n\t\n\t return maReferenceManyColumn;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 71 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t function maReferenceManyLinkColumn($state, Configuration) {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t field: '&',\n\t values: '&',\n\t ids: '&'\n\t },\n\t link: function link(scope) {\n\t scope.field = scope.field();\n\t scope.values = scope.values();\n\t scope.ids = scope.ids();\n\t var referenceEntity = scope.field.targetEntity().name(),\n\t relatedEntity = Configuration().getEntity(referenceEntity);\n\t scope.gotoReference = function (referenceId) {\n\t var route = relatedEntity.isReadOnly ? 'show' : 'edit';\n\t $state.go($state.get(route), { entity: referenceEntity, id: referenceId });\n\t };\n\t },\n\t template: '' + '{{ ref }}' + ''\n\t };\n\t }\n\t\n\t maReferenceManyLinkColumn.$inject = ['$state', 'NgAdminConfiguration'];\n\t\n\t return maReferenceManyLinkColumn;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 72 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t function maStringColumn() {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t value: '&'\n\t },\n\t template: '{{ value() }}'\n\t };\n\t }\n\t\n\t maStringColumn.$inject = [];\n\t\n\t return maStringColumn;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 73 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t function maTemplateColumn() {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t field: '&',\n\t entry: '&',\n\t entity: '&'\n\t },\n\t link: function link(scope) {\n\t scope.field = scope.field();\n\t scope.entry = scope.entry();\n\t scope.entity = scope.entity();\n\t },\n\t template: ''\n\t };\n\t }\n\t\n\t maTemplateColumn.$inject = [];\n\t\n\t return maTemplateColumn;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 74 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t function maWysiwygColumn($filter) {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t value: '&',\n\t field: '&'\n\t },\n\t link: function link(scope) {\n\t var value = scope.value();\n\t if (scope.field().stripTags()) {\n\t value = $filter('stripTags')(value);\n\t }\n\t scope.htmlValue = value;\n\t },\n\t template: ''\n\t };\n\t }\n\t\n\t maWysiwygColumn.$inject = ['$filter'];\n\t\n\t return maWysiwygColumn;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 75 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tfunction factories(fvp) {\n\t fvp.registerFieldView('boolean', __webpack_require__(94));\n\t fvp.registerFieldView('choice', __webpack_require__(95));\n\t fvp.registerFieldView('choices', __webpack_require__(96));\n\t fvp.registerFieldView('date', __webpack_require__(21));\n\t fvp.registerFieldView('datetime', __webpack_require__(21));\n\t fvp.registerFieldView('email', __webpack_require__(97));\n\t fvp.registerFieldView('file', __webpack_require__(99));\n\t fvp.registerFieldView('float', __webpack_require__(100));\n\t fvp.registerFieldView('json', __webpack_require__(101));\n\t fvp.registerFieldView('number', __webpack_require__(102));\n\t fvp.registerFieldView('password', __webpack_require__(103));\n\t fvp.registerFieldView('referenced_list', __webpack_require__(106));\n\t fvp.registerFieldView('reference', __webpack_require__(104));\n\t fvp.registerFieldView('reference_many', __webpack_require__(105));\n\t fvp.registerFieldView('string', __webpack_require__(107));\n\t fvp.registerFieldView('template', __webpack_require__(108));\n\t fvp.registerFieldView('text', __webpack_require__(109));\n\t fvp.registerFieldView('wysiwyg', __webpack_require__(110));\n\t}\n\t\n\tfactories.$inject = ['FieldViewConfigurationProvider'];\n\t\n\tmodule.exports = factories;\n\n/***/ },\n/* 76 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t var BatchDeleteController = function BatchDeleteController($scope, $state, WriteQueries, notification, view) {\n\t\n\t this.$scope = $scope;\n\t this.$state = $state;\n\t this.WriteQueries = WriteQueries;\n\t this.notification = notification;\n\t this.view = view;\n\t this.entity = view.getEntity();\n\t this.entityIds = $state.params.ids;\n\t this.selection = []; // fixme: query db to get selection\n\t this.title = view.title();\n\t this.description = view.description();\n\t this.actions = view.actions();\n\t this.loadingPage = false;\n\t this.fields = view.fields();\n\t\n\t $scope.$on('$destroy', this.destroy.bind(this));\n\t };\n\t\n\t BatchDeleteController.prototype.batchDelete = function () {\n\t var notification = this.notification,\n\t $state = this.$state,\n\t entityName = this.entity.name();\n\t\n\t this.WriteQueries.batchDelete(this.view, this.entityIds).then(function () {\n\t $state.go($state.get('list'), angular.extend({\n\t entity: entityName\n\t }, $state.params));\n\t notification.log('Elements successfully deleted.', { addnCls: 'humane-flatty-success' });\n\t }, function (response) {\n\t // @TODO: share this method when splitting controllers\n\t var body = response.data;\n\t if (typeof body === 'object') {\n\t body = JSON.stringify(body);\n\t }\n\t\n\t notification.log('Oops, an error occured : (code: ' + response.status + ') ' + body, { addnCls: 'humane-flatty-error' });\n\t });\n\t };\n\t\n\t BatchDeleteController.prototype.back = function () {\n\t\n\t this.$state.go(this.$state.get('list'), angular.extend({\n\t entity: this.entity.name()\n\t }, this.$state.params));\n\t };\n\t\n\t BatchDeleteController.prototype.destroy = function () {\n\t this.$scope = undefined;\n\t this.$state = undefined;\n\t this.WriteQueries = undefined;\n\t };\n\t\n\t BatchDeleteController.$inject = ['$scope', '$state', 'WriteQueries', 'notification', 'view'];\n\t\n\t return BatchDeleteController;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 77 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t var DeleteController = function DeleteController($scope, $window, WriteQueries, notification, params, view, entry) {\n\t this.$scope = $scope;\n\t this.$window = $window;\n\t this.WriteQueries = WriteQueries;\n\t this.entityLabel = params.entity;\n\t this.entityId = params.id;\n\t this.view = view;\n\t this.title = view.title();\n\t this.description = view.description();\n\t this.actions = view.actions();\n\t this.entity = view.getEntity();\n\t this.notification = notification;\n\t this.$scope.entry = entry;\n\t this.$scope.view = view;\n\t $scope.$on('$destroy', this.destroy.bind(this));\n\t };\n\t\n\t DeleteController.prototype.deleteOne = function () {\n\t var notification = this.notification,\n\t entityName = this.entity.name(),\n\t $window = this.$window;\n\t\n\t this.WriteQueries.deleteOne(this.view, this.entityId).then((function () {\n\t this.back();\n\t notification.log('Element successfully deleted.', { addnCls: 'humane-flatty-success' });\n\t }).bind(this), function (response) {\n\t // @TODO: share this method when splitting controllers\n\t var body = response.data;\n\t if (typeof body === 'object') {\n\t body = JSON.stringify(body);\n\t }\n\t\n\t notification.log('Oops, an error occured : (code: ' + response.status + ') ' + body, { addnCls: 'humane-flatty-error' });\n\t });\n\t };\n\t\n\t DeleteController.prototype.back = function () {\n\t this.$window.history.back();\n\t };\n\t\n\t DeleteController.prototype.destroy = function () {\n\t this.$scope = undefined;\n\t this.WriteQueries = undefined;\n\t this.view = undefined;\n\t this.entity = undefined;\n\t };\n\t\n\t DeleteController.$inject = ['$scope', '$window', 'WriteQueries', 'notification', 'params', 'view', 'entry'];\n\t\n\t return DeleteController;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 78 */\n/***/ function(module, exports) {\n\n\t/* Fixes an issue with Bootstrap Date Picker\n\t @see https://github.com/angular-ui/bootstrap/issues/2659 */\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\tvar datepickerPopup = function datepickerPopup() {\n\t return {\n\t restrict: 'EAC',\n\t require: 'ngModel',\n\t link: function link(scope, element, attr, controller) {\n\t //remove the default formatter from the input directive to prevent conflict\n\t controller.$formatters.shift();\n\t }\n\t };\n\t};\n\t\n\tdatepickerPopup.$inject = [];\n\t\n\texports['default'] = datepickerPopup;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 79 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t /**\n\t * Toggle input\n\t *\n\t * @example \n\t */\n\t function maButtonField() {\n\t return {\n\t scope: {\n\t 'field': '&',\n\t 'value': '='\n\t },\n\t restrict: 'E',\n\t link: function link(scope, element) {\n\t var field = scope.field();\n\t scope.name = field.name();\n\t scope.label = field.label();\n\t scope.value = !!scope.value;\n\t var a = element.children()[0];\n\t var attributes = field.attributes();\n\t for (var name in attributes) {\n\t a.setAttribute(name, attributes[name]);\n\t }\n\t scope.toggle = function () {\n\t this.value = !this.value;\n\t };\n\t scope.isActive = function () {\n\t return !!this.value;\n\t };\n\t },\n\t template: '{{ label }}'\n\t };\n\t }\n\t\n\t maButtonField.$inject = [];\n\t\n\t return maButtonField;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 80 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t /**\n\t * Generic edition field\n\t *\n\t * @example \n\t */\n\t function maCheckboxField() {\n\t return {\n\t scope: {\n\t 'field': '&',\n\t 'value': '='\n\t },\n\t restrict: 'E',\n\t link: function link(scope, element) {\n\t var field = scope.field();\n\t scope.name = field.name();\n\t scope.v = field.validation();\n\t scope.value = !!scope.value;\n\t var input = element.children()[0];\n\t var attributes = field.attributes();\n\t for (var name in attributes) {\n\t input.setAttribute(name, attributes[name]);\n\t }\n\t },\n\t template: ''\n\t };\n\t }\n\t\n\t maCheckboxField.$inject = [];\n\t\n\t return maCheckboxField;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 81 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tfunction updateChoices(scope, choices) {\n\t scope.choices = choices;\n\t scope.$root.$$phase || scope.$digest();\n\t}\n\t\n\tfunction maChoiceField($compile) {\n\t return {\n\t scope: {\n\t 'field': '&',\n\t 'value': '=',\n\t 'entry': '=?',\n\t 'datastore': '&?',\n\t 'refresh': '&',\n\t 'choices': '&?'\n\t },\n\t restrict: 'E',\n\t compile: function compile() {\n\t return {\n\t pre: function pre(scope, element) {\n\t var field = scope.field();\n\t scope.name = field.name();\n\t scope.v = field.validation();\n\t scope.$watch('value', function (newValue, oldValue) {\n\t if (newValue !== oldValue && newValue === undefined) {\n\t // fix for https://github.com/angular-ui/ui-select/issues/863\n\t scope.value = null;\n\t }\n\t });\n\t\n\t var refreshAttributes = '';\n\t if (field.type().indexOf('reference') === 0 && field.remoteComplete()) {\n\t scope.refreshDelay = field.remoteCompleteOptions().refreshDelay;\n\t refreshAttributes = 'refresh-delay=\"refreshDelay\" refresh=\"refresh({ $search: $select.search })\"';\n\t }\n\t\n\t var choices = scope.choices() ? scope.choices : field.choices ? field.choices() : [];\n\t var attributes = field.attributes();\n\t scope.placeholder = attributes && attributes.placeholder || 'Filter values';\n\t\n\t var template = '\\n \\n {{ $select.selected.label }}\\n \\n {{ item.label }}\\n \\n ';\n\t\n\t scope.choices = typeof choices === 'function' ? choices(scope.entry) : choices;\n\t element.html(template);\n\t\n\t var select = element.children()[0];\n\t for (var name in attributes) {\n\t select.setAttribute(name, attributes[name]);\n\t }\n\t\n\t $compile(element.contents())(scope);\n\t },\n\t post: function post(scope) {\n\t scope.$on('choices:update', function (e, data) {\n\t updateChoices(scope, data.choices);\n\t });\n\t }\n\t };\n\t }\n\t };\n\t}\n\t\n\tmaChoiceField.$inject = ['$compile'];\n\t\n\tmodule.exports = maChoiceField;\n\n/***/ },\n/* 82 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Edition field for a selection of elements in a list - a multiple select.\n\t *\n\t * @example \n\t */\n\t'use strict';\n\t\n\tfunction maChoicesField($compile) {\n\t 'use strict';\n\t\n\t return {\n\t scope: {\n\t 'field': '&',\n\t 'value': '=',\n\t 'entry': '=?',\n\t 'datastore': '&?',\n\t 'refresh': '&'\n\t },\n\t restrict: 'E',\n\t compile: function compile() {\n\t return {\n\t pre: function pre(scope, element) {\n\t var field = scope.field();\n\t scope.name = field.name();\n\t scope.v = field.validation();\n\t\n\t var refreshAttributes = '';\n\t if (field.type().indexOf('reference') === 0 && field.remoteComplete()) {\n\t scope.refreshDelay = field.remoteCompleteOptions().refreshDelay;\n\t refreshAttributes = 'refresh-delay=\"refreshDelay\" refresh=\"refresh({ $search: $select.search })\"';\n\t }\n\t\n\t var choices = field.choices ? field.choices() : [];\n\t var attributes = field.attributes();\n\t scope.placeholder = attributes && attributes.placeholder || 'Filter values';\n\t\n\t var template = '\\n \\n {{ $item.label }}\\n \\n {{ item.label }}\\n \\n ';\n\t\n\t scope.choices = typeof choices === 'function' ? choices(scope.entry) : choices;\n\t element.html(template);\n\t\n\t var select = element.children()[0];\n\t\n\t for (var name in attributes) {\n\t select.setAttribute(name, attributes[name]);\n\t }\n\t\n\t $compile(element.contents())(scope);\n\t },\n\t post: function post(scope) {\n\t scope.$on('choices:update', function (e, data) {\n\t scope.choices = data.choices;\n\t scope.$root.$$phase || scope.$digest();\n\t });\n\t }\n\t };\n\t }\n\t };\n\t}\n\t\n\tmaChoicesField.$inject = ['$compile'];\n\t\n\tmodule.exports = maChoicesField;\n\n/***/ },\n/* 83 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Edition field for a date - a text input with a datepicker.\n\t *\n\t * @example \n\t */\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\tfunction maDateField() {\n\t return {\n\t scope: {\n\t 'field': '&',\n\t 'value': '='\n\t },\n\t restrict: 'E',\n\t link: function link(scope, element) {\n\t var field = scope.field();\n\t scope.name = field.name();\n\t scope.rawValue = scope.value;\n\t scope.$watch('rawValue', function (rawValue) {\n\t scope.value = field.parse()(rawValue);\n\t });\n\t scope.format = field.format();\n\t if (!scope.format) {\n\t scope.format = field.type() === 'date' ? 'yyyy-MM-dd' : 'yyyy-MM-dd HH:mm:ss';\n\t }\n\t\n\t scope.v = field.validation();\n\t scope.isOpen = false;\n\t var input = element.find('input').eq(0);\n\t var attributes = field.attributes();\n\t for (var name in attributes) {\n\t input.attr(name, attributes[name]);\n\t }\n\t scope.toggleDatePicker = function ($event) {\n\t $event.preventDefault();\n\t $event.stopPropagation();\n\t scope.isOpen = !scope.isOpen;\n\t };\n\t },\n\t template: '\\n
\\n \\n \\n \\n \\n
\\n '\n\t };\n\t}\n\t\n\tmaDateField.$inject = [];\n\t\n\texports['default'] = maDateField;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 84 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t var _ = __webpack_require__(22);\n\t\n\t function maField(FieldViewConfiguration) {\n\t var writeWidgetTypes = _(FieldViewConfiguration).map(function (fieldView, field) {\n\t return '' + fieldView.getWriteWidget() + '';\n\t }).join('');\n\t var template = '
' + '' + '
' + writeWidgetTypes + '' + '
' + '
' + '

' + '' + '

' + '
' + '
';\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t field: '&',\n\t entry: '=',\n\t entity: '&',\n\t form: '&',\n\t 'datastore': '&'\n\t },\n\t link: function link(scope) {\n\t scope.field = scope.field();\n\t scope.type = scope.field.type();\n\t scope.entity = scope.entity();\n\t scope.form = scope.form();\n\t scope.datastore = scope.datastore();\n\t\n\t scope.getClassesForField = function (field, entry) {\n\t return 'ng-admin-field-' + field.name().replace('.', '_') + ' ' + (field.getCssClasses(entry) || 'col-sm-10 col-md-8 col-lg-7');\n\t };\n\t\n\t scope.getInputForField = function (field) {\n\t return scope.form[field.name()];\n\t };\n\t\n\t /**\n\t * Should validation status be displayed for a given field?\n\t *\n\t * - No for non-editable fields, or template fields which not have a corresponding input\n\t * - No for non-altered input\n\t * - Yes otherwise\n\t */\n\t scope.fieldHasValidation = function (field) {\n\t var input = this.getInputForField(field);\n\t return input && input.$dirty;\n\t };\n\t\n\t scope.fieldIsValid = function (field) {\n\t var input = this.getInputForField(field);\n\t return input && input.$valid;\n\t };\n\t\n\t scope.getFieldValidationClass = function (field) {\n\t if (this.fieldHasValidation(field)) {\n\t return this.fieldIsValid(field) ? 'has-success' : 'has-error';\n\t }\n\t };\n\t },\n\t template: template\n\t };\n\t }\n\t\n\t maField.$inject = ['FieldViewConfiguration'];\n\t\n\t return maField;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 85 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t /**\n\t * Edition field for a file - a file uploader.\n\t *\n\t * @example \n\t */\n\t function maFileField(Upload) {\n\t return {\n\t scope: {\n\t 'field': '&',\n\t 'value': '='\n\t },\n\t restrict: 'E',\n\t link: {\n\t pre: function pre(scope) {\n\t var uploadInformation = scope.field().uploadInformation();\n\t if (!uploadInformation.hasOwnProperty('url')) {\n\t throw new Error('You must provide a URL property to allow the upload of files.');\n\t }\n\t\n\t scope.multiple = uploadInformation.hasOwnProperty('multiple') ? uploadInformation.multiple : false;\n\t scope.accept = \"*\";\n\t if (uploadInformation.hasOwnProperty('accept')) {\n\t scope.accept = uploadInformation.accept;\n\t }\n\t scope.apifilename = uploadInformation.hasOwnProperty('apifilename') ? uploadInformation.apifilename : false;\n\t\n\t var files = scope.value ? scope.value.split(',') : [];\n\t scope.files = {};\n\t for (var file in files) {\n\t scope.files[files[file]] = {\n\t \"name\": files[file],\n\t \"progress\": 0\n\t };\n\t }\n\t },\n\t post: function post(scope, element) {\n\t var field = scope.field();\n\t scope.name = field.name();\n\t scope.v = field.validation();\n\t if (scope.value) {\n\t scope.v.required = false;\n\t }\n\t var input = element.find('input')[0];\n\t var attributes = field.attributes();\n\t for (var name in attributes) {\n\t input.setAttribute(name, attributes[name]);\n\t }\n\t\n\t scope.fileSelected = function (selectedFiles) {\n\t if (!selectedFiles || !selectedFiles.length) {\n\t return;\n\t }\n\t\n\t var uploadParams;\n\t\n\t scope.files = {};\n\t for (var file in selectedFiles) {\n\t uploadParams = angular.copy(scope.field().uploadInformation());\n\t uploadParams.file = selectedFiles[file];\n\t Upload.upload(uploadParams).progress(function (evt) {\n\t scope.files[evt.config.file.name] = {\n\t \"name\": evt.config.file.name,\n\t \"progress\": Math.min(100, parseInt(100.0 * evt.loaded / evt.total))\n\t };\n\t }).success(function (data, status, headers, config) {\n\t scope.files[config.file.name] = {\n\t \"name\": scope.apifilename ? data[scope.apifilename] : config.file.name,\n\t \"progress\": 0\n\t };\n\t if (scope.apifilename) {\n\t var apiNames = Object.keys(scope.files).map(function (fileindex) {\n\t return scope.files[fileindex].name;\n\t });\n\t scope.value = apiNames.join(',');\n\t } else {\n\t scope.value = Object.keys(scope.files).join(',');\n\t }\n\t }).error(function (data, status, headers, config) {\n\t delete scope.files[config.file.name];\n\t\n\t scope.value = Object.keys(scope.files).join(',');\n\t });\n\t }\n\t };\n\t\n\t scope.selectFile = function () {\n\t input.click();\n\t };\n\t }\n\t },\n\t template: '
' + '' + '
' + '
' + '
' + '
' + '
' + '{{ file.progress }}% Complete' + '
' + '
' + '
' + '
{{ file.name }}
' + '
' + '
' + '
' + ''\n\t };\n\t }\n\t\n\t maFileField.$inject = ['Upload'];\n\t\n\t return maFileField;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 86 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t /**\n\t * Generic edition field\n\t *\n\t * @example \n\t */\n\t function maInputField() {\n\t return {\n\t scope: {\n\t 'type': '@',\n\t 'step': '@?',\n\t 'field': '&',\n\t 'value': '='\n\t },\n\t restrict: 'E',\n\t link: function link(scope, element) {\n\t var field = scope.field();\n\t scope.name = field.name();\n\t scope.v = field.validation();\n\t var input = element.children()[0];\n\t var attributes = field.attributes();\n\t for (var name in attributes) {\n\t if (name === 'step') {\n\t // allow to use `step` attribute instead of `scope.step`\n\t scope.step = attributes[name];\n\t continue;\n\t }\n\t\n\t input.setAttribute(name, attributes[name]);\n\t }\n\t },\n\t template: ''\n\t };\n\t }\n\t\n\t maInputField.$inject = [];\n\t\n\t return maInputField;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 87 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {'use strict';\n\t\n\tvar codemirror = __webpack_require__(3);\n\t\n\tglobal.jsonlint = __webpack_require__(170);\n\t\n\t__webpack_require__(162);\n\t__webpack_require__(163);\n\t__webpack_require__(165);\n\t__webpack_require__(164);\n\t__webpack_require__(166);\n\t__webpack_require__(167);\n\t\n\tcodemirror.defineOption(\"matchBrackets\", true);\n\tcodemirror.defineOption(\"autoCloseBrackets\", true);\n\tcodemirror.defineOption(\"lineWrapping\", true);\n\tcodemirror.defineOption(\"tabSize\", 2);\n\tcodemirror.defineOption(\"mode\", \"application/json\");\n\tcodemirror.defineOption(\"gutters\", [\"CodeMirror-lint-markers\"]);\n\tcodemirror.defineOption(\"lint\", true);\n\tcodemirror.defineOption(\"styleActiveLine\", true);\n\t\n\tglobal.CodeMirror = codemirror;\n\t\n\t/**\n\t * Edition field for a JSON string in a textarea.\n\t *\n\t * @example \n\t */\n\tfunction maJsonField() {\n\t return {\n\t scope: {\n\t 'field': '&',\n\t 'value': '='\n\t },\n\t restrict: 'E',\n\t link: function link(scope, element) {\n\t var field = scope.field();\n\t scope.name = field.name();\n\t scope.v = field.validation();\n\t scope.jsonValue = scope.value === null ? '' : angular.toJson(scope.value, true);\n\t var input = element.children()[0];\n\t var attributes = field.attributes();\n\t for (var name in attributes) {\n\t input.setAttribute(name, attributes[name]);\n\t }\n\t scope.$watch('jsonValue', function (jsonValue) {\n\t if (jsonValue == '' || typeof jsonValue === 'undefined') {\n\t scope.value = null;\n\t\n\t return;\n\t }\n\t try {\n\t var value = angular.fromJson(jsonValue);\n\t scope.value = value;\n\t } catch (e) {\n\t // incorrect JSON, do not convert back to value\n\t }\n\t });\n\t },\n\t template: ''\n\t };\n\t}\n\t\n\tmaJsonField.$inject = [];\n\t\n\tmodule.exports = maJsonField;\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 88 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tfunction maReferenceField(ReferenceRefresher) {\n\t return {\n\t scope: {\n\t 'field': '&',\n\t 'value': '=',\n\t 'entry': '=?',\n\t 'datastore': '&?'\n\t },\n\t restrict: 'E',\n\t link: function link(scope) {\n\t var field = scope.field();\n\t scope.name = field.name();\n\t scope.v = field.validation();\n\t\n\t function refresh(search) {\n\t return ReferenceRefresher.refresh(field, scope.value, search).then(function (formattedResults) {\n\t scope.$broadcast('choices:update', { choices: formattedResults });\n\t });\n\t }\n\t\n\t if (field.remoteComplete()) {\n\t ReferenceRefresher.getInitialChoices(field, [scope.value]).then(function (options) {\n\t scope.$broadcast('choices:update', { choices: options });\n\t });\n\t\n\t scope.refresh = refresh;\n\t } else {\n\t refresh();\n\t }\n\t },\n\t template: '\\n '\n\t };\n\t}\n\t\n\tmaReferenceField.$inject = ['ReferenceRefresher'];\n\t\n\tmodule.exports = maReferenceField;\n\n/***/ },\n/* 89 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tfunction maReferenceManyField(ReferenceRefresher) {\n\t 'use strict';\n\t\n\t return {\n\t scope: {\n\t 'field': '&',\n\t 'value': '=',\n\t 'entry': '=?',\n\t 'datastore': '&?'\n\t },\n\t restrict: 'E',\n\t link: function link(scope) {\n\t var field = scope.field();\n\t scope.name = field.name();\n\t scope.v = field.validation();\n\t scope.choices = [];\n\t\n\t function refresh(search) {\n\t return ReferenceRefresher.refresh(field, scope.value, search).then(function (formattedResults) {\n\t scope.$broadcast('choices:update', { choices: formattedResults });\n\t });\n\t }\n\t\n\t // if value is set, we should retrieve references label from server\n\t if (scope.value && scope.value.length) {\n\t ReferenceRefresher.getInitialChoices(field, scope.value).then(function (options) {\n\t scope.$broadcast('choices:update', { choices: options });\n\t\n\t if (field.remoteComplete()) {\n\t scope.refresh = refresh;\n\t } else {\n\t refresh();\n\t }\n\t });\n\t } else {\n\t if (field.remoteComplete()) {\n\t scope.refresh = refresh;\n\t } else {\n\t refresh();\n\t }\n\t }\n\t },\n\t template: '\\n '\n\t };\n\t}\n\t\n\tmaReferenceManyField.$inject = ['ReferenceRefresher'];\n\t\n\tmodule.exports = maReferenceManyField;\n\n/***/ },\n/* 90 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t function maTemplateField() {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t field: '&',\n\t entry: '&',\n\t entity: '&',\n\t value: '='\n\t },\n\t link: function link(scope) {\n\t scope.field = scope.field();\n\t scope.entry = scope.entry();\n\t scope.entity = scope.entity();\n\t },\n\t template: ''\n\t };\n\t }\n\t\n\t maTemplateField.$inject = [];\n\t\n\t return maTemplateField;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 91 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t /**\n\t * Edition field for a multiline string - a textarea.\n\t *\n\t * @example \n\t */\n\t function maTextField() {\n\t return {\n\t scope: {\n\t 'field': '&',\n\t 'value': '='\n\t },\n\t restrict: 'E',\n\t link: function link(scope, element) {\n\t var field = scope.field();\n\t scope.name = field.name();\n\t scope.v = field.validation();\n\t var input = element.children()[0];\n\t var attributes = field.attributes();\n\t for (var name in attributes) {\n\t input.setAttribute(name, attributes[name]);\n\t }\n\t },\n\t template: ''\n\t };\n\t }\n\t\n\t maTextField.$inject = [];\n\t\n\t return maTextField;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 92 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t /**\n\t * Edition field for a multiline HTML string - a rich text editor.\n\t *\n\t * @example \n\t */\n\t function maWysiwygField() {\n\t return {\n\t scope: {\n\t 'field': '&',\n\t 'value': '='\n\t },\n\t restrict: 'E',\n\t link: function link(scope, element) {\n\t var field = scope.field();\n\t scope.name = field.name();\n\t },\n\t template: '
' + '
'\n\t };\n\t }\n\t\n\t maWysiwygField.$inject = [];\n\t\n\t return maWysiwygField;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 93 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Directive created to fix a bug with ui-select and multiple required values.\n\t * @see https://github.com/angular-ui/ui-select/issues/258\n\t */\n\t'use strict';\n\t\n\tfunction uiSelectRequired() {\n\t 'use strict';\n\t\n\t return {\n\t restrict: 'A',\n\t require: 'ngModel',\n\t link: function link(scope, elm, attrs, ctrl) {\n\t ctrl.$validators.uiSelectRequired = function (modelValue, viewValue) {\n\t var determineVal;\n\t if (angular.isArray(modelValue)) {\n\t determineVal = modelValue;\n\t } else if (angular.isArray(viewValue)) {\n\t determineVal = viewValue;\n\t } else {\n\t return false;\n\t }\n\t\n\t return determineVal.length > 0;\n\t };\n\t }\n\t };\n\t}\n\t\n\tuiSelectRequired.$inject = [];\n\t\n\tmodule.exports = uiSelectRequired;\n\n/***/ },\n/* 94 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t getReadWidget: function getReadWidget() {\n\t return '';\n\t },\n\t getLinkWidget: function getLinkWidget() {\n\t return '' + module.exports.getReadWidget() + '';\n\t },\n\t getFilterWidget: function getFilterWidget() {\n\t return '';\n\t },\n\t getWriteWidget: function getWriteWidget() {\n\t return '
';\n\t }\n\t};\n\n/***/ },\n/* 95 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t getReadWidget: function getReadWidget() {\n\t return '';\n\t },\n\t getLinkWidget: function getLinkWidget() {\n\t return '' + module.exports.getReadWidget() + '';\n\t },\n\t getFilterWidget: function getFilterWidget() {\n\t return '';\n\t },\n\t getWriteWidget: function getWriteWidget() {\n\t return '';\n\t }\n\t};\n\n/***/ },\n/* 96 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t getReadWidget: function getReadWidget() {\n\t return '';\n\t },\n\t getLinkWidget: function getLinkWidget() {\n\t return '' + module.exports.getReadWidget() + '';\n\t },\n\t getFilterWidget: function getFilterWidget() {\n\t return '';\n\t },\n\t getWriteWidget: function getWriteWidget() {\n\t return '';\n\t }\n\t};\n\n/***/ },\n/* 97 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t getReadWidget: function getReadWidget() {\n\t return '';\n\t },\n\t getLinkWidget: function getLinkWidget() {\n\t return '' + module.exports.getReadWidget() + '';\n\t },\n\t getFilterWidget: function getFilterWidget() {\n\t return '';\n\t },\n\t getWriteWidget: function getWriteWidget() {\n\t return '';\n\t }\n\t};\n\n/***/ },\n/* 98 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t function FieldViewConfiguration() {\n\t this.fieldViews = {};\n\t }\n\t\n\t FieldViewConfiguration.prototype.registerFieldView = function (type, FieldView) {\n\t this.fieldViews[type] = FieldView;\n\t };\n\t\n\t FieldViewConfiguration.prototype.$get = function () {\n\t return this.fieldViews;\n\t };\n\t\n\t FieldViewConfiguration.$inject = [];\n\t\n\t return FieldViewConfiguration;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 99 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t getReadWidget: function getReadWidget() {\n\t return 'error: cannot display file field as readable';\n\t },\n\t getLinkWidget: function getLinkWidget() {\n\t return 'error: cannot display file field as linkable';\n\t },\n\t getFilterWidget: function getFilterWidget() {\n\t return 'error: cannot display file field as filter';\n\t },\n\t getWriteWidget: function getWriteWidget() {\n\t return '';\n\t }\n\t};\n\n/***/ },\n/* 100 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t getReadWidget: function getReadWidget() {\n\t return '';\n\t },\n\t getLinkWidget: function getLinkWidget() {\n\t return '' + module.exports.getReadWidget() + '';\n\t },\n\t getFilterWidget: function getFilterWidget() {\n\t return '';\n\t },\n\t getWriteWidget: function getWriteWidget() {\n\t return '';\n\t }\n\t};\n\n/***/ },\n/* 101 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t getReadWidget: function getReadWidget() {\n\t return '';\n\t },\n\t getLinkWidget: function getLinkWidget() {\n\t return 'error: cannot display a json field as linkable';\n\t },\n\t getFilterWidget: function getFilterWidget() {\n\t return '';\n\t },\n\t getWriteWidget: function getWriteWidget() {\n\t return '';\n\t }\n\t};\n\n/***/ },\n/* 102 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t getReadWidget: function getReadWidget() {\n\t return '';\n\t },\n\t getLinkWidget: function getLinkWidget() {\n\t return '' + module.exports.getReadWidget() + '';\n\t },\n\t getFilterWidget: function getFilterWidget() {\n\t return '';\n\t },\n\t getWriteWidget: function getWriteWidget() {\n\t return '';\n\t }\n\t};\n\n/***/ },\n/* 103 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t getReadWidget: function getReadWidget() {\n\t return 'error: cannot display password field as readable';\n\t },\n\t getLinkWidget: function getLinkWidget() {\n\t return 'error: cannot display password field as linkable';\n\t },\n\t getFilterWidget: function getFilterWidget() {\n\t return 'error: cannot display password field as filter';\n\t },\n\t getWriteWidget: function getWriteWidget() {\n\t return '';\n\t }\n\t};\n\n/***/ },\n/* 104 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t getReadWidget: function getReadWidget() {\n\t return '';\n\t },\n\t getLinkWidget: function getLinkWidget() {\n\t return '' + module.exports.getReadWidget() + '';\n\t },\n\t getFilterWidget: function getFilterWidget() {\n\t return '';\n\t },\n\t getWriteWidget: function getWriteWidget() {\n\t return '';\n\t }\n\t};\n\n/***/ },\n/* 105 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t getReadWidget: function getReadWidget() {\n\t return '';\n\t },\n\t getLinkWidget: function getLinkWidget() {\n\t return '';\n\t },\n\t getFilterWidget: function getFilterWidget() {\n\t return '';\n\t },\n\t getWriteWidget: function getWriteWidget() {\n\t return '';\n\t }\n\t};\n\n/***/ },\n/* 106 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t getReadWidget: function getReadWidget() {\n\t return '' + '';\n\t },\n\t getLinkWidget: function getLinkWidget() {\n\t return 'error: cannot display referenced_list field as linkable';\n\t },\n\t getFilterWidget: function getFilterWidget() {\n\t return 'error: cannot display referenced_list field as filter';\n\t },\n\t getWriteWidget: function getWriteWidget() {\n\t return '' + '';\n\t }\n\t};\n\n/***/ },\n/* 107 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t getReadWidget: function getReadWidget() {\n\t return '';\n\t },\n\t getLinkWidget: function getLinkWidget() {\n\t return '' + module.exports.getReadWidget() + '';\n\t },\n\t getFilterWidget: function getFilterWidget() {\n\t return '';\n\t },\n\t getWriteWidget: function getWriteWidget() {\n\t return '';\n\t }\n\t};\n\n/***/ },\n/* 108 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t getReadWidget: function getReadWidget() {\n\t return '';\n\t },\n\t getLinkWidget: function getLinkWidget() {\n\t return '' + module.exports.getReadWidget() + '';\n\t },\n\t getFilterWidget: function getFilterWidget() {\n\t return '';\n\t },\n\t getWriteWidget: function getWriteWidget() {\n\t return '';\n\t }\n\t};\n\n/***/ },\n/* 109 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t getReadWidget: function getReadWidget() {\n\t return '';\n\t },\n\t getLinkWidget: function getLinkWidget() {\n\t return '' + module.exports.getReadWidget() + '';\n\t },\n\t getFilterWidget: function getFilterWidget() {\n\t return '';\n\t },\n\t getWriteWidget: function getWriteWidget() {\n\t return '';\n\t }\n\t};\n\n/***/ },\n/* 110 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t getReadWidget: function getReadWidget() {\n\t return '';\n\t },\n\t getLinkWidget: function getLinkWidget() {\n\t return '' + module.exports.getReadWidget() + '';\n\t },\n\t getFilterWidget: function getFilterWidget() {\n\t return '';\n\t },\n\t getWriteWidget: function getWriteWidget() {\n\t return '';\n\t }\n\t};\n\n/***/ },\n/* 111 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _ = __webpack_require__(22);\n\t\n\tfunction maFilterDirective(FieldViewConfiguration) {\n\t 'use strict';\n\t\n\t var filterWidgetTypes = _(FieldViewConfiguration).map(function (fieldView, field) {\n\t return '' + fieldView.getFilterWidget() + '';\n\t }).join('');\n\t\n\t var template = '\\n
\\n
\\n
\\n
\\n \\n
\\n \\n
\\n ' + filterWidgetTypes + '\\n
\\n
\\n
\\n
\\n ';\n\t\n\t return {\n\t restrict: 'E',\n\t template: template,\n\t scope: {\n\t filters: '=',\n\t datastore: '&',\n\t values: '&',\n\t removeFilter: '&'\n\t },\n\t link: function link(scope) {\n\t scope.values = scope.values();\n\t scope.datastore = scope.datastore();\n\t scope.removeFilter = scope.removeFilter();\n\t scope.shouldFilter = function () {\n\t return Object.keys(scope.filters).length;\n\t };\n\t }\n\t };\n\t}\n\t\n\tmaFilterDirective.$inject = ['FieldViewConfiguration'];\n\t\n\tmodule.exports = maFilterDirective;\n\n/***/ },\n/* 112 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tfunction maFilterButtonDirective() {\n\t 'use strict';\n\t\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t filters: '&',\n\t enabledFilters: '=',\n\t enableFilter: '&'\n\t },\n\t link: function link(scope) {\n\t scope.notYetEnabledFilters = function () {\n\t return scope.filters().filter(function (filter) {\n\t return scope.enabledFilters.indexOf(filter) === -1;\n\t });\n\t };\n\t scope.hasFilters = function () {\n\t return scope.notYetEnabledFilters().length > 0;\n\t };\n\t },\n\t template: '\\n \\n \\n'\n\t };\n\t}\n\t\n\tmaFilterButtonDirective.$inject = [];\n\t\n\tmodule.exports = maFilterButtonDirective;\n\n/***/ },\n/* 113 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar FormController = function FormController($scope, $state, WriteQueries, Configuration, progression, notification, view, dataStore) {\n\t\n\t this.$scope = $scope;\n\t this.$state = $state;\n\t this.WriteQueries = WriteQueries;\n\t this.dataStore = dataStore;\n\t this.progression = progression;\n\t this.notification = notification;\n\t this.title = view.title();\n\t this.description = view.description();\n\t this.actions = view.actions();\n\t this.fields = view.fields();\n\t this.config = Configuration();\n\t this.view = view;\n\t this.entity = this.view.getEntity();\n\t this.$scope.entry = dataStore.getFirstEntry(this.entity.uniqueId);\n\t this.$scope.view = view;\n\t this.$scope.entity = this.entity;\n\t\n\t // in case of entity identifier being modified\n\t this.originEntityId = this.$scope.entry.values[this.entity.identifier().name()];\n\t\n\t $scope.$on('$destroy', this.destroy.bind(this));\n\t};\n\t\n\tFormController.prototype.validateEntry = function () {\n\t if (!this.form.$valid) {\n\t this.notification.log('invalid form', { addnCls: 'humane-flatty-error' });\n\t return false;\n\t }\n\t\n\t try {\n\t this.view.validate(this.$scope.entry);\n\t } catch (e) {\n\t this.notification.log(e, { addnCls: 'humane-flatty-error' });\n\t return false;\n\t }\n\t\n\t return true;\n\t};\n\t\n\tFormController.prototype.submitCreation = function ($event) {\n\t var _this = this;\n\t\n\t $event.preventDefault();\n\t if (!this.validateEntry()) {\n\t return;\n\t }\n\t var entity = this.entity;\n\t var view = this.view;\n\t var route = !entity.editionView().enabled ? 'show' : 'edit';\n\t var restEntry = this.$scope.entry.transformToRest(view.fields());\n\t this.progression.start();\n\t this.WriteQueries.createOne(view, restEntry).then(function (rawEntry) {\n\t _this.progression.done();\n\t _this.notification.log('Element successfully created.', { addnCls: 'humane-flatty-success' });\n\t var entry = view.mapEntry(rawEntry);\n\t _this.$state.go(_this.$state.get(route), { entity: entity.name(), id: entry.identifierValue });\n\t }, this.handleError.bind(this));\n\t};\n\t\n\tFormController.prototype.submitEdition = function ($event) {\n\t var _this2 = this;\n\t\n\t $event.preventDefault();\n\t if (!this.validateEntry()) {\n\t return;\n\t }\n\t var view = this.view;\n\t var restEntry = this.$scope.entry.transformToRest(view.fields());\n\t this.progression.start();\n\t this.WriteQueries.updateOne(view, restEntry, this.originEntityId).then(function () {\n\t _this2.progression.done();\n\t _this2.notification.log('Changes successfully saved.', { addnCls: 'humane-flatty-success' });\n\t }, this.handleError.bind(this));\n\t};\n\t\n\t/**\n\t * Handle create or update errors\n\t *\n\t * @param {Object} response\n\t */\n\tFormController.prototype.handleError = function (response) {\n\t var errorMessage = this.config.getErrorMessageFor(this.view, response);\n\t\n\t this.progression.done();\n\t this.notification.log(errorMessage, { addnCls: 'humane-flatty-error' });\n\t};\n\t\n\tFormController.prototype.destroy = function () {\n\t this.$scope = undefined;\n\t this.$state = undefined;\n\t this.WriteQueries = undefined;\n\t this.dataStore = undefined;\n\t this.view = undefined;\n\t this.entity = undefined;\n\t};\n\t\n\tFormController.$inject = ['$scope', '$state', 'WriteQueries', 'NgAdminConfiguration', 'progression', 'notification', 'view', 'dataStore'];\n\t\n\tmodule.exports = FormController;\n\n/***/ },\n/* 114 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t var ListController = function ListController($scope, $stateParams, $location, $anchorScroll, ReadQueries, progression, view, dataStore, totalItems) {\n\t this.$scope = $scope;\n\t this.$stateParams = $stateParams;\n\t this.$location = $location;\n\t this.$anchorScroll = $anchorScroll;\n\t this.ReadQueries = ReadQueries;\n\t this.progression = progression;\n\t this.view = view;\n\t this.entity = view.getEntity();\n\t this.loadingPage = false;\n\t this.search = $stateParams.search;\n\t this.dataStore = dataStore;\n\t this.fields = view.fields();\n\t this.listActions = view.listActions();\n\t this.totalItems = totalItems;\n\t this.page = $stateParams.page || 1;\n\t this.infinitePagination = this.view.infinitePagination();\n\t this.nextPageCallback = this.nextPage.bind(this);\n\t this.setPageCallback = this.setPage.bind(this);\n\t this.sortField = this.$stateParams.sortField || this.view.getSortFieldName();\n\t this.sortDir = this.$stateParams.sortDir || this.view.sortDir();\n\t\n\t if ($scope.selectionUpdater) {\n\t $scope.selection = $scope.selection || [];\n\t $scope.$watch('selection', $scope.selectionUpdater);\n\t } else {\n\t $scope.selection = null;\n\t }\n\t\n\t $scope.$on('$destroy', this.destroy.bind(this));\n\t };\n\t\n\t ListController.prototype.nextPage = function (page) {\n\t var _this = this;\n\t\n\t if (this.loadingPage) {\n\t return;\n\t }\n\t\n\t var view = this.view,\n\t dataStore = this.dataStore;\n\t\n\t this.progression.start();\n\t\n\t this.ReadQueries.getAll(view, page, this.search, this.sortField, this.sortDir).then(function (response) {\n\t _this.progression.done();\n\t var references = view.getReferences();\n\t\n\t view.mapEntries(response.data).map(function (entry) {\n\t dataStore.fillReferencesValuesFromEntry(entry, references, true);\n\t dataStore.addEntry(_this.entity.uniqueId, entry);\n\t });\n\t\n\t _this.loadingPage = false;\n\t });\n\t };\n\t\n\t ListController.prototype.setPage = function (number) {\n\t this.$location.search('page', number);\n\t this.$anchorScroll(0);\n\t };\n\t\n\t ListController.prototype.destroy = function () {\n\t this.$scope = undefined;\n\t this.$stateParams = undefined;\n\t this.$location = undefined;\n\t this.$anchorScroll = undefined;\n\t this.dataStore = undefined;\n\t };\n\t\n\t ListController.$inject = ['$scope', '$stateParams', '$location', '$anchorScroll', 'ReadQueries', 'progression', 'view', 'dataStore', 'totalItems'];\n\t\n\t return ListController;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 115 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar ListLayoutController = function ListLayoutController($scope, $stateParams, $state, $location, $timeout, view, dataStore) {\n\t var _this = this;\n\t\n\t this.$scope = $scope;\n\t this.$state = $state;\n\t this.$stateParams = $stateParams;\n\t this.$timeout = $timeout;\n\t this.view = view;\n\t this.dataStore = dataStore;\n\t this.entity = view.getEntity();\n\t this.actions = view.actions();\n\t this.batchActions = view.batchActions();\n\t this.loadingPage = false;\n\t this.search = $location.search().search ? JSON.parse($location.search().search) : {};\n\t $scope.$watch(function () {\n\t return _this.search;\n\t }, _.debounce(function (newValues, oldValues) {\n\t if (newValues != oldValues) {\n\t _this.updateFilters();\n\t }\n\t }, 500), true);\n\t this.filters = view.filters();\n\t this.enabledFilters = this.filters.filter(function (filter) {\n\t if (filter.pinned()) return true;\n\t return _this.search && filter.name() in _this.search;\n\t });\n\t this.hasFilters = Object.keys(this.filters).length > 0;\n\t this.focusedFilterId = null;\n\t this.enableFilter = this.enableFilter.bind(this);\n\t this.removeFilter = this.removeFilter.bind(this);\n\t if (this.batchActions.length) {\n\t // required in scope to communicate with listView\n\t $scope.selectionUpdater = function (selection) {\n\t return $scope.selection = selection;\n\t };\n\t $scope.selection = [];\n\t }\n\t\n\t $scope.$on('$destroy', this.destroy.bind(this));\n\t};\n\t\n\tListLayoutController.prototype.enableFilter = function (filter) {\n\t var _this2 = this;\n\t\n\t var defaultValue = filter.defaultValue();\n\t if (defaultValue !== null) {\n\t this.search[filter.name()] = defaultValue;\n\t }\n\t this.enabledFilters.push(filter);\n\t this.focusedFilterId = filter.name();\n\t this.$timeout(function () {\n\t var el = window.document.getElementById(_this2.focusedFilterId);\n\t el && el.focus && el.focus();\n\t }, 200, false);\n\t};\n\t\n\tListLayoutController.prototype.updateFilters = function () {\n\t var values = {},\n\t filters = this.enabledFilters,\n\t fieldName,\n\t field,\n\t i;\n\t for (i in filters) {\n\t field = filters[i];\n\t fieldName = field.name();\n\t if (this.search[fieldName] === '') {\n\t delete this.search[fieldName];\n\t continue;\n\t }\n\t\n\t if (field.type() === 'boolean' && this.search[fieldName] || // for boolean false is the same as null\n\t field.type() !== 'boolean' && this.search[fieldName] !== null) {\n\t values[fieldName] = this.search[fieldName];\n\t }\n\t }\n\t\n\t this.$stateParams.search = values;\n\t this.$stateParams.page = 1;\n\t this.$state.go('list', this.$stateParams);\n\t};\n\t\n\tListLayoutController.prototype.removeFilter = function (filter) {\n\t delete this.search[filter.name()];\n\t this.enabledFilters = this.enabledFilters.filter(function (f) {\n\t return f !== filter;\n\t });\n\t};\n\t\n\tListLayoutController.prototype.destroy = function () {\n\t this.$scope = undefined;\n\t this.$state = undefined;\n\t this.$stateParams = undefined;\n\t this.$timeout = undefined;\n\t this.dataStore = undefined;\n\t};\n\t\n\tListLayoutController.$inject = ['$scope', '$stateParams', '$state', '$location', '$timeout', 'view', 'dataStore'];\n\t\n\tmodule.exports = ListLayoutController;\n\n/***/ },\n/* 116 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t var maDatagridController = __webpack_require__(117);\n\t\n\t function maDatagridDirective() {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t name: '@',\n\t entries: '=',\n\t selection: '=',\n\t fields: '&',\n\t listActions: '&',\n\t entity: '&'\n\t },\n\t controllerAs: 'datagrid',\n\t controller: maDatagridController,\n\t template: '\\n \\n \\n \\n \\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n
\\n \\n \\n \\n \\n\\n {{ field.label() }}\\n \\n \\n Actions\\n
\\n \\n \\n \\n \\n \\n
'\n\t };\n\t }\n\t\n\t maDatagridDirective.$inject = [];\n\t\n\t return maDatagridDirective;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 117 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t /**\n\t *\n\t * @param {$scope} $scope\n\t * @param {$location} $location\n\t * @param {$stateParams} $stateParams\n\t * @param {$anchorScroll} $anchorScroll\n\t *\n\t * @constructor\n\t */\n\t function DatagridController($scope, $location, $stateParams, $anchorScroll) {\n\t $scope.entity = $scope.entity();\n\t this.$scope = $scope;\n\t this.$location = $location;\n\t this.$anchorScroll = $anchorScroll;\n\t this.filters = {};\n\t this.shouldDisplayActions = this.$scope.listActions() && this.$scope.listActions().length > 0;\n\t\n\t $scope.toggleSelect = this.toggleSelect.bind(this);\n\t $scope.toggleSelectAll = this.toggleSelectAll.bind(this);\n\t\n\t this.sortField = 'sortField' in $stateParams ? $stateParams.sortField : null;\n\t this.sortDir = 'sortDir' in $stateParams ? $stateParams.sortDir : null;\n\t }\n\t\n\t /**\n\t * Return true if a column is being sorted\n\t *\n\t * @param {Field} field\n\t *\n\t * @returns {Boolean}\n\t */\n\t DatagridController.prototype.isSorting = function (field) {\n\t return this.sortField === this.getSortName(field);\n\t };\n\t\n\t /**\n\t * Return 'even'|'odd' based on the index parameter\n\t *\n\t * @param {Number} index\n\t * @returns {string}\n\t */\n\t DatagridController.prototype.itemClass = function (index) {\n\t return index % 2 === 0 ? 'even' : 'odd';\n\t };\n\t\n\t /**\n\t *\n\t * @param {Field} field\n\t */\n\t DatagridController.prototype.sort = function (field) {\n\t var dir = 'ASC',\n\t fieldName = this.getSortName(field);\n\t\n\t if (this.sortField === fieldName) {\n\t dir = this.sortDir === 'ASC' ? 'DESC' : 'ASC';\n\t }\n\t\n\t this.$location.search('sortField', fieldName);\n\t this.$location.search('sortDir', dir);\n\t };\n\t\n\t /**\n\t * Return fieldName like (view.fieldName) to sort\n\t *\n\t * @param {Field} field\n\t *\n\t * @returns {String}\n\t */\n\t DatagridController.prototype.getSortName = function (field) {\n\t return this.$scope.name + '.' + field.name();\n\t };\n\t\n\t DatagridController.prototype.toggleSelect = function (entry) {\n\t var selection = this.$scope.selection.slice();\n\t\n\t var index = selection.indexOf(entry);\n\t\n\t if (index === -1) {\n\t this.$scope.selection = selection.concat(entry);\n\t return;\n\t }\n\t selection.splice(index, 1);\n\t this.$scope.selection = selection;\n\t };\n\t\n\t DatagridController.prototype.toggleSelectAll = function () {\n\t\n\t if (this.$scope.selection.length < this.$scope.entries.length) {\n\t this.$scope.selection = this.$scope.entries;\n\t return;\n\t }\n\t\n\t this.$scope.selection = [];\n\t };\n\t\n\t DatagridController.$inject = ['$scope', '$location', '$stateParams', '$anchorScroll'];\n\t\n\t return DatagridController;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 118 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t var angular = __webpack_require__(4);\n\t\n\t function DatagridInfinitePaginationDirective($window, $document) {\n\t\n\t var windowElement = angular.element($window);\n\t var offset = 100,\n\t body = $document[0].body;\n\t\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t perPage: '@',\n\t totalItems: '@',\n\t nextPage: '&'\n\t },\n\t link: function link(scope) {\n\t var perPage = parseInt(scope.perPage, 10) || 1,\n\t totalItems = parseInt(scope.totalItems, 10),\n\t nbPages = Math.ceil(totalItems / perPage) || 1,\n\t page = 1;\n\t function handler() {\n\t if (body.offsetHeight - $window.innerHeight - $window.scrollY < offset) {\n\t if (page >= nbPages) {\n\t return;\n\t }\n\t page++;\n\t scope.nextPage()(page);\n\t }\n\t }\n\t windowElement.bind('scroll', handler);\n\t scope.$on('$destroy', function destroy() {\n\t windowElement.unbind('scroll', handler);\n\t });\n\t }\n\t };\n\t }\n\t\n\t DatagridInfinitePaginationDirective.$inject = ['$window', '$document'];\n\t\n\t return DatagridInfinitePaginationDirective;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 119 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t function DatagridItemSelectorDirective() {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t entry: '=',\n\t selection: '=',\n\t toggleSelect: '&'\n\t },\n\t template: '',\n\t link: function link(scope) {\n\t scope.toggle = function (entry) {\n\t return scope.toggleSelect({ entry: entry });\n\t };\n\t var e = scope.entry;\n\t scope.isInSelection = function () {\n\t return scope.selection.filter(function (s) {\n\t return s._entityName == e._entityName && s._identifierValue == e._identifierValue;\n\t }).length > 0;\n\t };\n\t }\n\t };\n\t }\n\t\n\t DatagridItemSelectorDirective.$inject = [];\n\t\n\t return DatagridItemSelectorDirective;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 120 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t function DatagridMultiSelectorDirective() {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t entries: '=',\n\t selection: '=',\n\t toggleSelectAll: '&'\n\t },\n\t template: '',\n\t link: function link(scope, element) {\n\t scope.$watch('selection', function (selection) {\n\t element.children()[0].indeterminate = selection.length > 0 && selection.length != scope.entries.length;\n\t });\n\t scope.$watch('entries', function (entries) {\n\t element.children()[0].indeterminate = scope.selection.length > 0 && scope.selection.length != entries.length;\n\t });\n\t }\n\t };\n\t }\n\t\n\t DatagridMultiSelectorDirective.$inject = [];\n\t\n\t return DatagridMultiSelectorDirective;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 121 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t var paginationView = __webpack_require__(154),\n\t DatagridPaginationController = __webpack_require__(122);\n\t\n\t function DatagridPaginationDirective() {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t page: '@',\n\t perPage: '@',\n\t totalItems: '@',\n\t setPage: '&'\n\t },\n\t template: paginationView,\n\t controllerAs: 'paginationCtrl',\n\t controller: DatagridPaginationController\n\t };\n\t }\n\t\n\t DatagridPaginationDirective.$inject = [];\n\t\n\t return DatagridPaginationDirective;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 122 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t var angular = __webpack_require__(4);\n\t\n\t function DatagridPaginationController($scope) {\n\t this.$scope = $scope;\n\t var perPage = parseInt(this.$scope.perPage, 10) || 1,\n\t totalItems = parseInt(this.$scope.totalItems, 10),\n\t page = Math.max(parseInt(this.$scope.page, 10), 1);\n\t\n\t this.nbPages = Math.ceil(totalItems / perPage) || 1;\n\t this.page = Math.min(this.nbPages, page);\n\t this.offsetEnd = Math.min(this.page * perPage, totalItems);\n\t this.offsetBegin = Math.min((this.page - 1) * perPage + 1, this.offsetEnd);\n\t this.totalItems = totalItems;\n\t this.displayPagination = perPage < totalItems;\n\t\n\t $scope.$on('$destroy', this.destroy.bind(this));\n\t }\n\t\n\t /**\n\t * Return an array with the range between min & max, useful for pagination\n\t *\n\t * @param {int} min\n\t * @param {int} max\n\t * @returns {Array}\n\t */\n\t DatagridPaginationController.prototype.range = function (page) {\n\t var input = [],\n\t nbPages = this.nbPages;\n\t\n\t // display page links around the current page\n\t if (page > 2) {\n\t input.push('1');\n\t }\n\t if (page == 4) {\n\t input.push('2');\n\t }\n\t if (page > 4) {\n\t input.push('.');\n\t }\n\t if (page > 1) {\n\t input.push(page - 1);\n\t }\n\t input.push(page);\n\t if (page < nbPages) {\n\t input.push(page + 1);\n\t }\n\t if (page == nbPages - 3) {\n\t input.push(nbPages - 1);\n\t }\n\t if (page < nbPages - 3) {\n\t input.push('.');\n\t }\n\t if (page < nbPages - 1) {\n\t input.push(nbPages);\n\t }\n\t\n\t return input;\n\t };\n\t\n\t /**\n\t * Link to page number of the list\n\t *\n\t * @param {int} number\n\t */\n\t DatagridPaginationController.prototype.setPage = function (number) {\n\t if (number <= 0 || number > this.nbPages) {\n\t return;\n\t }\n\t this.$scope.setPage()(number);\n\t };\n\t\n\t DatagridPaginationController.prototype.destroy = function () {\n\t this.$scope = undefined;\n\t };\n\t\n\t DatagridPaginationController.$inject = ['$scope'];\n\t\n\t return DatagridPaginationController;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 123 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t function ListActionsDirective() {\n\t\n\t return {\n\t restrict: 'E',\n\t transclude: true,\n\t scope: {\n\t 'buttons': '&',\n\t 'entry': '&',\n\t 'entity': '&'\n\t },\n\t link: function link($scope) {\n\t $scope.buttons = $scope.buttons();\n\t $scope.entry = $scope.entry();\n\t $scope.entity = $scope.entity();\n\t $scope.customTemplate = false;\n\t if (typeof $scope.buttons === 'string') {\n\t $scope.customTemplate = $scope.buttons;\n\t $scope.buttons = null;\n\t }\n\t },\n\t template: '\\n \\n \\n \\n \\n \\n \\n'\n\t };\n\t }\n\t\n\t return ListActionsDirective;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 124 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t// @see https://docs.angularjs.org/api/ng/service/$compile\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t function Compile($injector) {\n\t var $compile = $injector.get('$compile');\n\t\n\t return {\n\t transclude: true,\n\t link: function link(scope, element, attrs, controller, transcludeFn) {\n\t var unbindWatcher = scope.$watch(function (scope) {\n\t // watch the 'compile' expression for changes\n\t return scope.$eval(attrs.compile);\n\t }, function (value) {\n\t if (false === value) {\n\t // use the default tag content\n\t transcludeFn(scope, function (clone) {\n\t element.append(clone);\n\t });\n\t return;\n\t }\n\t // when the 'compile' expression changes assign it into the current DOM\n\t element.html(value);\n\t\n\t // compile the new DOM and link it to the current scope.\n\t $compile(element.contents())(scope);\n\t\n\t if (attrs.compileOnce == 'true') {\n\t unbindWatcher();\n\t };\n\t });\n\t }\n\t };\n\t }\n\t\n\t Compile.$inject = ['$injector'];\n\t\n\t return Compile;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 125 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t function EntryFormatter($filter) {\n\t this.formatDate = function (format) {\n\t return function (date) {\n\t return $filter('date')(date, format);\n\t };\n\t };\n\t this.formatNumber = function (format) {\n\t return function (number) {\n\t return $filter('numeraljs')(number, format);\n\t };\n\t };\n\t }\n\t\n\t EntryFormatter.prototype.formatField = function formatField(field) {\n\t var label = field.label() || field.name();\n\t var type = field.type();\n\t\n\t switch (type) {\n\t case 'boolean':\n\t case 'choice':\n\t case 'choices':\n\t case 'string':\n\t case 'text':\n\t case 'wysiwyg':\n\t case 'email':\n\t case 'json':\n\t case 'file':\n\t case 'template':\n\t return function (entry) {\n\t return {\n\t name: label,\n\t value: entry.values[field.name()]\n\t };\n\t };\n\t case 'number':\n\t case 'float':\n\t var format = field.format();\n\t var formatNumber = this.formatNumber(format);\n\t return function (entry) {\n\t return {\n\t name: label,\n\t value: formatNumber(entry.values[field.name()])\n\t };\n\t };\n\t case 'date':\n\t case 'datetime':\n\t var format = field.format();\n\t if (!format) {\n\t format = type === 'date' ? 'yyyy-MM-dd' : 'yyyy-MM-dd HH:mm:ss';\n\t }\n\t\n\t var formatDate = this.formatDate(format);\n\t return function (entry) {\n\t return {\n\t name: label,\n\t value: formatDate(entry.values[field.name()])\n\t };\n\t };\n\t case 'reference':\n\t return function (entry) {\n\t return {\n\t name: label,\n\t value: entry.listValues[field.name()]\n\t };\n\t };\n\t case 'referenced_many':\n\t case 'referenced_list':\n\t return; //ignored\n\t }\n\t };\n\t\n\t EntryFormatter.prototype.getFormatter = function getFormatter(fields) {\n\t var fieldsFormatters = fields.map(this.formatField.bind(this));\n\t\n\t return function formatEntry(entry) {\n\t var result = {};\n\t fieldsFormatters.map(function (formatter) {\n\t if (!formatter) return;\n\t return formatter(entry);\n\t }).forEach(function (field) {\n\t if (!field) return;\n\t result[field.name] = field.value;\n\t });\n\t\n\t return result;\n\t };\n\t };\n\t\n\t EntryFormatter.$inject = ['$filter'];\n\t\n\t return EntryFormatter;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 126 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t function PromisesResolver(AdminDescription) {\n\t return AdminDescription.getPromisesResolver();\n\t }\n\t\n\t PromisesResolver.$inject = ['AdminDescription'];\n\t\n\t return PromisesResolver;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 127 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t function RestWrapper(Restangular) {\n\t this.Restangular = Restangular;\n\t\n\t Restangular.setFullResponse(true);\n\t }\n\t\n\t /**\n\t * Returns the promise of one resource by URL\n\t *\n\t * @param {String} entityName\n\t * @param {String} url\n\t *\n\t * @returns {promise}\n\t */\n\t RestWrapper.prototype.getOne = function (entityName, url) {\n\t return this.Restangular.oneUrl(entityName, url).get().then(function (response) {\n\t return response.data;\n\t });\n\t };\n\t\n\t /**\n\t * Returns the promise of a list of resources\n\t *\n\t * @param {Object} params\n\t * @param {String} entityName\n\t * @param {String} url\n\t *\n\t * @returns {promise}\n\t */\n\t RestWrapper.prototype.getList = function (params, entityName, url) {\n\t return this.Restangular.allUrl(entityName, url).getList(params);\n\t };\n\t\n\t RestWrapper.prototype.createOne = function (rawEntity, entityName, url, method) {\n\t var resource = this.Restangular.oneUrl(entityName, url),\n\t operation = method ? resource.customOperation(method, null, {}, {}, rawEntity) : resource.customPOST(rawEntity);\n\t\n\t return operation.then(function (response) {\n\t return response.data;\n\t });\n\t };\n\t\n\t RestWrapper.prototype.updateOne = function (rawEntity, entityName, url, method) {\n\t var resource = this.Restangular.oneUrl(entityName, url),\n\t operation = method ? resource.customOperation(method, null, {}, {}, rawEntity) : resource.customPUT(rawEntity);\n\t\n\t return operation.then(function (response) {\n\t return response.data;\n\t });\n\t };\n\t\n\t RestWrapper.prototype.deleteOne = function (entityName, url) {\n\t return this.Restangular.oneUrl(entityName, url).customDELETE();\n\t };\n\t\n\t RestWrapper.$inject = ['Restangular'];\n\t\n\t return RestWrapper;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 128 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t var viewActionsTemplate = __webpack_require__(155);\n\t\n\t function ViewActionsDirective($injector) {\n\t var $compile = $injector.get('$compile');\n\t\n\t return {\n\t restrict: 'E',\n\t transclude: true,\n\t scope: {\n\t override: '&',\n\t entry: '=',\n\t entity: '=',\n\t selection: '=',\n\t batchButtons: '&',\n\t datastore: '=',\n\t search: '=',\n\t filters: '&',\n\t enabledFilters: '=',\n\t enableFilter: '&'\n\t },\n\t template: viewActionsTemplate,\n\t link: function link($scope, element, attrs, controller, transcludeFn) {\n\t var override = $scope.override();\n\t if (!override) {\n\t // use the default tag content\n\t transcludeFn($scope, function (clone) {\n\t element.append(clone);\n\t });\n\t return;\n\t }\n\t if (typeof override == 'string') {\n\t // custom template, use it instead of default template\n\t element.html(override);\n\t $compile(element.contents())($scope);\n\t return;\n\t }\n\t // list of buttons - default template\n\t $scope.buttons = override;\n\t }\n\t };\n\t }\n\t\n\t ViewActionsDirective.$inject = ['$injector'];\n\t\n\t return ViewActionsDirective;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 129 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t /**\n\t *\n\t * @param {RestWrapper} RestWrapper\n\t * @param {Configuration} Configuration\n\t * @param {AdminDescription} AdminDescription\n\t * @param {PromisesResolver} PromisesResolver\n\t *\n\t * @returns {ReadQueries}\n\t * @constructor\n\t */\n\t function ReadQueries(RestWrapper, Configuration, AdminDescription, PromisesResolver) {\n\t return AdminDescription.getReadQueries(RestWrapper, PromisesResolver, Configuration());\n\t }\n\t\n\t ReadQueries.$inject = ['RestWrapper', 'NgAdminConfiguration', 'AdminDescription', 'PromisesResolver'];\n\t\n\t return ReadQueries;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 130 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tvar ReferenceRefresher = (function () {\n\t function ReferenceRefresher(ReadQueries) {\n\t _classCallCheck(this, ReferenceRefresher);\n\t\n\t this.ReadQueries = ReadQueries;\n\t }\n\t\n\t _createClass(ReferenceRefresher, [{\n\t key: 'refresh',\n\t value: function refresh(field, currentValue, search) {\n\t var _this = this;\n\t\n\t var referenceFields = {};\n\t referenceFields[field.name()] = field;\n\t\n\t var promise = this.ReadQueries.getAllReferencedData(referenceFields, search).then(function (r) {\n\t return r[field.name()];\n\t }).then(function (results) {\n\t return _this._transformRecords(field, results);\n\t });\n\t\n\t if (field.type() === 'reference_many' || field.type() === 'choices') {\n\t promise = promise.then(function (formattedResults) {\n\t return _this._removeDuplicates(formattedResults, currentValue);\n\t });\n\t }\n\t\n\t return promise;\n\t }\n\t }, {\n\t key: 'getInitialChoices',\n\t value: function getInitialChoices(field, values) {\n\t var _this2 = this;\n\t\n\t return this.ReadQueries.getRecordsByIds(field.targetEntity(), values).then(function (results) {\n\t return _this2._removeDuplicates(results, values);\n\t }).then(function (records) {\n\t return _this2._transformRecords(field, records);\n\t });\n\t }\n\t }, {\n\t key: '_removeDuplicates',\n\t value: function _removeDuplicates(results, currentValue) {\n\t // remove already assigned values: ui-select still return them if multiple\n\t if (!currentValue) {\n\t return results;\n\t }\n\t\n\t if (!Array.isArray(currentValue)) {\n\t currentValue = [currentValue];\n\t }\n\t\n\t return results.filter(function (fr) {\n\t return currentValue.indexOf(fr.value) === -1;\n\t });\n\t }\n\t }, {\n\t key: '_transformRecords',\n\t value: function _transformRecords(field, records) {\n\t var valueFieldName = field.targetEntity().identifier().name();\n\t var labelFieldName = field.targetField().name();\n\t\n\t return records.map(function (r) {\n\t return {\n\t value: r[valueFieldName],\n\t label: field.getMappedValue(r[labelFieldName], r)\n\t };\n\t });\n\t }\n\t }]);\n\t\n\t return ReferenceRefresher;\n\t})();\n\t\n\tReferenceRefresher.$inject = ['ReadQueries'];\n\t\n\texports['default'] = ReferenceRefresher;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 131 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t /**\n\t *\n\t * @param {RestWrapper} RestWrapper\n\t * @param {Configuration} Configuration\n\t * @param {AdminDescription} AdminDescription\n\t * @param {PromisesResolver} PromisesResolver\n\t *\n\t * @returns {ReadQueries}\n\t * @constructor\n\t */\n\t function WriteQueries(RestWrapper, Configuration, AdminDescription, PromisesResolver) {\n\t return AdminDescription.getWriteQueries(RestWrapper, PromisesResolver, Configuration());\n\t }\n\t\n\t WriteQueries.$inject = ['RestWrapper', 'NgAdminConfiguration', 'AdminDescription', 'PromisesResolver'];\n\t\n\t return WriteQueries;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 132 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar listLayoutTemplate = __webpack_require__(153),\n\t listTemplate = __webpack_require__(152),\n\t showTemplate = __webpack_require__(156),\n\t createTemplate = __webpack_require__(150),\n\t editTemplate = __webpack_require__(151),\n\t deleteTemplate = __webpack_require__(149),\n\t batchDeleteTemplate = __webpack_require__(148);\n\t\n\tfunction templateProvider(viewName, defaultView) {\n\t return ['$stateParams', 'NgAdminConfiguration', function ($stateParams, Configuration) {\n\t var customTemplate;\n\t var view = Configuration().getViewByEntityAndType($stateParams.entity, viewName);\n\t customTemplate = view.template();\n\t if (customTemplate) return customTemplate;\n\t customTemplate = Configuration().customTemplate()(viewName);\n\t if (customTemplate) return customTemplate;\n\t return defaultView;\n\t }];\n\t}\n\t\n\tfunction viewProvider(viewName) {\n\t return ['$stateParams', 'NgAdminConfiguration', function ($stateParams, Configuration) {\n\t var view;\n\t try {\n\t view = Configuration().getViewByEntityAndType($stateParams.entity, viewName);\n\t } catch (e) {\n\t var error404 = new Error('Unknown view or entity name');\n\t error404.status = 404; // trigger the 404 error\n\t throw error404;\n\t }\n\t if (!view.enabled) {\n\t throw new Error('The ' + viewName + ' is disabled for this entity');\n\t }\n\t return view;\n\t }];\n\t}\n\t\n\tfunction dataStoreProvider() {\n\t return ['AdminDescription', function (AdminDescription) {\n\t return AdminDescription.getDataStore();\n\t }];\n\t}\n\t\n\tfunction entryConstructorProvider() {\n\t return ['AdminDescription', function (AdminDescription) {\n\t return AdminDescription.getEntryConstructor();\n\t }];\n\t}\n\t\n\tfunction routing($stateProvider) {\n\t\n\t $stateProvider.state('listLayout', {\n\t abstract: true,\n\t url: '/:entity/list',\n\t params: {\n\t entity: null\n\t },\n\t parent: 'main',\n\t controller: 'ListLayoutController',\n\t controllerAs: 'llCtrl',\n\t templateProvider: templateProvider('ListView', listLayoutTemplate),\n\t resolve: {\n\t dataStore: dataStoreProvider(),\n\t Entry: entryConstructorProvider(),\n\t view: viewProvider('ListView'),\n\t filterData: ['ReadQueries', 'view', function (ReadQueries, view) {\n\t return ReadQueries.getAllReferencedData(view.getFilterReferences(false));\n\t }],\n\t filterEntries: ['dataStore', 'view', 'filterData', 'Entry', function (dataStore, view, filterData, Entry) {\n\t var filters = view.getFilterReferences(false);\n\t var filterEntries;\n\t\n\t for (var name in filterData) {\n\t filterEntries = Entry.createArrayFromRest(filterData[name], [filters[name].targetField()], filters[name].targetEntity().name(), filters[name].targetEntity().identifier().name());\n\t\n\t dataStore.setEntries(filters[name].targetEntity().uniqueId + '_choices', filterEntries);\n\t }\n\t\n\t return true;\n\t }]\n\t }\n\t }).state('list', {\n\t url: '?{search:json}&page&sortField&sortDir',\n\t params: {\n\t page: null,\n\t search: null,\n\t sortField: null,\n\t sortDir: null\n\t },\n\t parent: 'listLayout',\n\t views: {\n\t grid: {\n\t controller: 'ListController',\n\t controllerAs: 'listController',\n\t template: listTemplate,\n\t resolve: {\n\t dataStore: dataStoreProvider(),\n\t Entry: entryConstructorProvider(),\n\t view: viewProvider('ListView'),\n\t response: ['$stateParams', 'ReadQueries', 'view', function ($stateParams, ReadQueries, view) {\n\t var page = $stateParams.page,\n\t filters = $stateParams.search,\n\t sortField = $stateParams.sortField,\n\t sortDir = $stateParams.sortDir;\n\t\n\t return ReadQueries.getAll(view, page, filters, sortField, sortDir);\n\t }],\n\t totalItems: ['response', function (response) {\n\t return response.totalItems;\n\t }],\n\t nonOptimizedReferencedData: ['ReadQueries', 'view', 'response', function (ReadQueries, view, response) {\n\t return ReadQueries.getFilteredReferenceData(view.getNonOptimizedReferences(), response.data);\n\t }],\n\t optimizedReferencedData: ['ReadQueries', 'view', 'response', function (ReadQueries, view, response) {\n\t return ReadQueries.getOptimizedReferencedData(view.getOptimizedReferences(), response.data);\n\t }],\n\t referencedEntries: ['dataStore', 'Entry', 'view', 'nonOptimizedReferencedData', 'optimizedReferencedData', function (dataStore, Entry, view, nonOptimizedReferencedData, optimizedReferencedData) {\n\t var references = view.getReferences(),\n\t referencedData = angular.extend(nonOptimizedReferencedData, optimizedReferencedData),\n\t referencedEntries;\n\t\n\t for (var name in referencedData) {\n\t referencedEntries = Entry.createArrayFromRest(referencedData[name], [references[name].targetField()], references[name].targetEntity().name(), references[name].targetEntity().identifier().name());\n\t referencedEntries.map(function (entry) {\n\t return dataStore.addEntry(references[name].targetEntity().uniqueId + '_values', entry);\n\t });\n\t }\n\t\n\t return true;\n\t }],\n\t entries: ['dataStore', 'view', 'response', 'referencedEntries', function (dataStore, view, response, referencedEntries) {\n\t var entries = view.mapEntries(response.data);\n\t\n\t // shortcut to diplay collection of entry with included referenced values\n\t dataStore.fillReferencesValuesFromCollection(entries, view.getReferences(), true);\n\t\n\t // set entries here ???\n\t dataStore.setEntries(view.getEntity().uniqueId, entries);\n\t\n\t return true;\n\t }]\n\t }\n\t }\n\t }\n\t });\n\t\n\t $stateProvider.state('show', {\n\t parent: 'main',\n\t url: '/:entity/show/:id?sortField&sortDir',\n\t controller: 'ShowController',\n\t controllerAs: 'showController',\n\t templateProvider: templateProvider('ShowView', showTemplate),\n\t params: {\n\t entity: null,\n\t id: null,\n\t page: null,\n\t search: null,\n\t sortField: null,\n\t sortDir: null\n\t },\n\t resolve: {\n\t dataStore: dataStoreProvider(),\n\t Entry: entryConstructorProvider(),\n\t view: viewProvider('ShowView'),\n\t rawEntry: ['$stateParams', 'ReadQueries', 'view', function ($stateParams, ReadQueries, view) {\n\t return ReadQueries.getOne(view.getEntity(), view.type, $stateParams.id, view.identifier(), view.getUrl());\n\t }],\n\t entry: ['view', 'rawEntry', function (view, rawEntry) {\n\t return view.mapEntry(rawEntry);\n\t }],\n\t nonOptimizedReferencedData: ['ReadQueries', 'view', 'entry', function (ReadQueries, view, entry) {\n\t return ReadQueries.getFilteredReferenceData(view.getNonOptimizedReferences(), [entry.values]);\n\t }],\n\t optimizedReferencedData: ['ReadQueries', 'view', 'entry', function (ReadQueries, view, entry) {\n\t return ReadQueries.getOptimizedReferencedData(view.getOptimizedReferences(), [entry.values]);\n\t }],\n\t referencedEntries: ['dataStore', 'Entry', 'view', 'nonOptimizedReferencedData', 'optimizedReferencedData', function (dataStore, Entry, view, nonOptimizedReferencedData, optimizedReferencedData) {\n\t var references = view.getReferences(),\n\t referencedData = angular.extend(nonOptimizedReferencedData, optimizedReferencedData),\n\t referencedEntries;\n\t\n\t for (var name in referencedData) {\n\t referencedEntries = Entry.createArrayFromRest(referencedData[name], [references[name].targetField()], references[name].targetEntity().name(), references[name].targetEntity().identifier().name());\n\t referencedEntries.map(function (entry) {\n\t return dataStore.addEntry(references[name].targetEntity().uniqueId + '_values', entry);\n\t });\n\t }\n\t\n\t return true;\n\t }],\n\t referencedListData: ['$stateParams', 'ReadQueries', 'view', 'entry', function ($stateParams, ReadQueries, view, entry) {\n\t var referencedLists = view.getReferencedLists();\n\t var sortField = $stateParams.sortField;\n\t var sortDir = $stateParams.sortDir;\n\t\n\t return ReadQueries.getReferencedListData(referencedLists, sortField, sortDir, entry.identifierValue);\n\t }],\n\t referencedListEntries: ['dataStore', 'Entry', 'view', 'referencedListData', function (dataStore, Entry, view, referencedListData) {\n\t var referencedLists = view.getReferencedLists();\n\t var referencedList;\n\t var referencedListEntries;\n\t\n\t for (var i in referencedLists) {\n\t referencedList = referencedLists[i];\n\t referencedListEntries = referencedListData[i];\n\t\n\t referencedListEntries = Entry.createArrayFromRest(referencedListEntries, referencedList.targetFields(), referencedList.targetEntity().name(), referencedList.targetEntity().identifier().name());\n\t\n\t dataStore.setEntries(referencedList.targetEntity().uniqueId + '_list', referencedListEntries);\n\t }\n\t }],\n\t entryWithReferences: ['dataStore', 'view', 'entry', 'referencedEntries', function (dataStore, view, entry, referencedEntries) {\n\t dataStore.fillReferencesValuesFromEntry(entry, view.getReferences(), true);\n\t\n\t dataStore.addEntry(view.getEntity().uniqueId, entry);\n\t\n\t return true;\n\t }]\n\t }\n\t });\n\t\n\t $stateProvider.state('create', {\n\t parent: 'main',\n\t url: '/:entity/create',\n\t controller: 'FormController',\n\t controllerAs: 'formController',\n\t templateProvider: templateProvider('CreateView', createTemplate),\n\t params: {\n\t page: null,\n\t search: null,\n\t sortField: null,\n\t sortDir: null\n\t },\n\t resolve: {\n\t dataStore: dataStoreProvider(),\n\t view: viewProvider('CreateView'),\n\t Entry: entryConstructorProvider(),\n\t entry: ['dataStore', 'Entry', 'view', function (dataStore, Entry, view) {\n\t var entry = Entry.createForFields(view.getFields(), view.entity.name());\n\t dataStore.addEntry(view.getEntity().uniqueId, entry);\n\t\n\t return entry;\n\t }],\n\t choiceData: ['ReadQueries', 'view', function (ReadQueries, view) {\n\t return ReadQueries.getAllReferencedData(view.getReferences(false));\n\t }],\n\t choiceEntries: ['dataStore', 'Entry', 'view', 'choiceData', function (dataStore, Entry, view, filterData) {\n\t var choices = view.getReferences(false);\n\t var choiceEntries;\n\t\n\t for (var name in filterData) {\n\t choiceEntries = Entry.createArrayFromRest(filterData[name], [choices[name].targetField()], choices[name].targetEntity().name(), choices[name].targetEntity().identifier().name());\n\t\n\t dataStore.setEntries(choices[name].targetEntity().uniqueId + '_choices', choiceEntries);\n\t }\n\t\n\t return true;\n\t }]\n\t }\n\t });\n\t\n\t $stateProvider.state('edit', {\n\t parent: 'main',\n\t url: '/:entity/edit/:id?sortField&sortDir',\n\t controller: 'FormController',\n\t controllerAs: 'formController',\n\t templateProvider: templateProvider('EditView', editTemplate),\n\t params: {\n\t entity: null,\n\t id: null,\n\t page: null,\n\t search: null,\n\t sortField: null,\n\t sortDir: null\n\t },\n\t resolve: {\n\t dataStore: dataStoreProvider(),\n\t Entry: entryConstructorProvider(),\n\t view: viewProvider('EditView'),\n\t rawEntry: ['$stateParams', 'ReadQueries', 'view', function ($stateParams, ReadQueries, view) {\n\t return ReadQueries.getOne(view.getEntity(), view.type, $stateParams.id, view.identifier(), view.getUrl());\n\t }],\n\t entry: ['view', 'rawEntry', function (view, rawEntry) {\n\t return view.mapEntry(rawEntry);\n\t }],\n\t nonOptimizedReferencedData: ['ReadQueries', 'view', 'entry', function (ReadQueries, view, entry) {\n\t return ReadQueries.getFilteredReferenceData(view.getNonOptimizedReferences(), [entry.values]);\n\t }],\n\t optimizedReferencedData: ['ReadQueries', 'view', 'entry', function (ReadQueries, view, entry) {\n\t return ReadQueries.getOptimizedReferencedData(view.getOptimizedReferences(), [entry.values]);\n\t }],\n\t referencedEntries: ['dataStore', 'Entry', 'view', 'nonOptimizedReferencedData', 'optimizedReferencedData', function (dataStore, Entry, view, nonOptimizedReferencedData, optimizedReferencedData) {\n\t var references = view.getReferences(),\n\t referencedData = angular.extend(nonOptimizedReferencedData, optimizedReferencedData),\n\t referencedEntries;\n\t\n\t for (var name in referencedData) {\n\t referencedEntries = Entry.createArrayFromRest(referencedData[name], [references[name].targetField()], references[name].targetEntity().name(), references[name].targetEntity().identifier().name());\n\t referencedEntries.map(function (entry) {\n\t return dataStore.addEntry(references[name].targetEntity().uniqueId + '_values', entry);\n\t });\n\t }\n\t\n\t return true;\n\t }],\n\t referencedListData: ['$stateParams', 'ReadQueries', 'view', 'entry', function ($stateParams, ReadQueries, view, entry) {\n\t var referencedLists = view.getReferencedLists();\n\t var sortField = $stateParams.sortField;\n\t var sortDir = $stateParams.sortDir;\n\t\n\t return ReadQueries.getReferencedListData(referencedLists, sortField, sortDir, entry.identifierValue);\n\t }],\n\t referencedListEntries: ['dataStore', 'Entry', 'view', 'referencedListData', function (dataStore, Entry, view, referencedListData) {\n\t var referencedLists = view.getReferencedLists();\n\t var referencedList;\n\t var referencedListEntries;\n\t\n\t for (var i in referencedLists) {\n\t referencedList = referencedLists[i];\n\t referencedListEntries = referencedListData[i];\n\t\n\t referencedListEntries = Entry.createArrayFromRest(referencedListEntries, referencedList.targetFields(), referencedList.targetEntity().name(), referencedList.targetEntity().identifier().name());\n\t\n\t dataStore.setEntries(referencedList.targetEntity().uniqueId + '_list', referencedListEntries);\n\t }\n\t }],\n\t entryWithReferences: ['dataStore', 'view', 'entry', 'referencedEntries', function (dataStore, view, entry, referencedEntries) {\n\t dataStore.fillReferencesValuesFromEntry(entry, view.getReferences(), true);\n\t\n\t dataStore.addEntry(view.getEntity().uniqueId, entry);\n\t return true;\n\t }],\n\t choiceData: ['ReadQueries', 'view', function (ReadQueries, view) {\n\t return ReadQueries.getAllReferencedData(view.getReferences(false));\n\t }],\n\t choiceEntries: ['dataStore', 'Entry', 'view', 'choiceData', function (dataStore, Entry, view, filterData) {\n\t var choices = view.getReferences(false);\n\t var choiceEntries;\n\t\n\t for (var name in filterData) {\n\t choiceEntries = Entry.createArrayFromRest(filterData[name], [choices[name].targetField()], choices[name].targetEntity().name(), choices[name].targetEntity().identifier().name());\n\t\n\t dataStore.setEntries(choices[name].targetEntity().uniqueId + '_choices', choiceEntries);\n\t }\n\t\n\t return true;\n\t }]\n\t }\n\t });\n\t\n\t $stateProvider.state('delete', {\n\t parent: 'main',\n\t url: '/:entity/delete/:id',\n\t controller: 'DeleteController',\n\t controllerAs: 'deleteController',\n\t templateProvider: templateProvider('DeleteView', deleteTemplate),\n\t params: {\n\t page: null,\n\t search: null,\n\t sortField: null,\n\t sortDir: null\n\t },\n\t resolve: {\n\t dataStore: dataStoreProvider(),\n\t view: viewProvider('DeleteView'),\n\t params: ['$stateParams', function ($stateParams) {\n\t return $stateParams;\n\t }],\n\t rawEntry: ['$stateParams', 'ReadQueries', 'view', function ($stateParams, ReadQueries, view) {\n\t return ReadQueries.getOne(view.getEntity(), view.type, $stateParams.id, view.identifier(), view.getUrl());\n\t }],\n\t entry: ['view', 'rawEntry', function (view, rawEntry) {\n\t return view.mapEntry(rawEntry);\n\t }]\n\t }\n\t });\n\t\n\t $stateProvider.state('batchDelete', {\n\t parent: 'main',\n\t url: '/:entity/batch-delete/{ids:json}',\n\t controller: 'BatchDeleteController',\n\t controllerAs: 'batchDeleteController',\n\t templateProvider: templateProvider('BatchDeleteView', batchDeleteTemplate),\n\t params: {\n\t entity: null,\n\t ids: [],\n\t page: null,\n\t search: null,\n\t sortField: null,\n\t sortDir: null\n\t },\n\t resolve: {\n\t view: viewProvider('BatchDeleteView'),\n\t params: ['$stateParams', function ($stateParams) {\n\t return $stateParams;\n\t }]\n\t }\n\t });\n\t}\n\t\n\trouting.$inject = ['$stateProvider'];\n\t\n\tmodule.exports = routing;\n\n/***/ },\n/* 133 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t var ShowController = function ShowController($scope, $location, view, dataStore) {\n\t this.$scope = $scope;\n\t this.$location = $location;\n\t this.title = view.title();\n\t this.description = view.description();\n\t this.actions = view.actions();\n\t\n\t this.fields = view.fields();\n\t this.$scope.entry = dataStore.getFirstEntry(view.getEntity().uniqueId);\n\t this.$scope.view = view;\n\t this.view = view;\n\t this.entity = this.view.getEntity();\n\t this.dataStore = dataStore;\n\t\n\t $scope.$on('$destroy', this.destroy.bind(this));\n\t };\n\t\n\t ShowController.prototype.destroy = function () {\n\t this.$scope = undefined;\n\t this.$location = undefined;\n\t this.view = undefined;\n\t this.entity = undefined;\n\t this.dataStore = undefined;\n\t };\n\t\n\t ShowController.$inject = ['$scope', '$location', 'view', 'dataStore'];\n\t\n\t return ShowController;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 134 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t function maJsonValidator() {\n\t return {\n\t require: 'ngModel',\n\t link: function link(scope, elm, attr, ctrl) {\n\t ctrl.$validators.json = function (value) {\n\t if (ctrl.$isEmpty(value)) {\n\t return true;\n\t }\n\t\n\t try {\n\t angular.fromJson(value);\n\t\n\t return true;\n\t } catch (e) {\n\t return false;\n\t }\n\t };\n\t }\n\t };\n\t }\n\t\n\t maJsonValidator.$inject = [];\n\t\n\t return maJsonValidator;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 135 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar angular = __webpack_require__(4);\n\t\n\t__webpack_require__(24);\n\t__webpack_require__(173);\n\t\n\tvar MainModule = angular.module('main', ['ui.router', 'restangular']);\n\t\n\tMainModule.controller('AppController', __webpack_require__(136));\n\tMainModule.controller('DashboardController', __webpack_require__(137));\n\t\n\tMainModule.provider('NgAdminConfiguration', __webpack_require__(142));\n\t\n\tMainModule.filter('orderElement', __webpack_require__(140));\n\tMainModule.filter('stripTags', __webpack_require__(141));\n\t\n\tMainModule.directive('maDashboardPanel', __webpack_require__(138));\n\tMainModule.directive('maMenuBar', __webpack_require__(139));\n\t\n\tMainModule.config(__webpack_require__(143));\n\tMainModule.config(__webpack_require__(144));\n\t\n\tMainModule.run(__webpack_require__(145));\n\tMainModule.run(__webpack_require__(146));\n\n/***/ },\n/* 136 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t /**\n\t *\n\t * @param {$scope} $scope\n\t * @param {$state} $state\n\t * @param {NgAdmin} Configuration\n\t * @constructor\n\t */\n\t var AppController = function AppController($scope, $state, Configuration) {\n\t var application = Configuration();\n\t this.$scope = $scope;\n\t this.$state = $state;\n\t this.menu = application.menu();\n\t this.applicationName = application.title();\n\t this.header = application.header();\n\t\n\t $scope.$on('$destroy', this.destroy.bind(this));\n\t };\n\t\n\t AppController.prototype.displayHome = function () {\n\t this.$state.go(this.$state.get('dashboard'));\n\t };\n\t\n\t AppController.prototype.destroy = function () {\n\t this.$scope = undefined;\n\t this.$state = undefined;\n\t };\n\t\n\t AppController.$inject = ['$scope', '$state', 'NgAdminConfiguration'];\n\t\n\t return AppController;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 137 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require) {\n\t 'use strict';\n\t\n\t /**\n\t *\n\t * @param {$scope} $scope\n\t * @param {$state} $state\n\t * @param {PanelBuilder} PanelBuilder\n\t * @constructor\n\t */\n\t function DashboardController($scope, $state, collections, entries, hasEntities) {\n\t this.$state = $state;\n\t this.collections = collections;\n\t this.entries = entries;\n\t this.hasEntities = hasEntities;\n\t\n\t $scope.$on('$destroy', this.destroy.bind(this));\n\t }\n\t\n\t DashboardController.prototype.gotoList = function (entityName) {\n\t this.$state.go(this.$state.get('list'), { entity: entityName });\n\t };\n\t\n\t DashboardController.prototype.destroy = function () {\n\t this.$state = undefined;\n\t };\n\t\n\t DashboardController.$inject = ['$scope', '$state', 'collections', 'entries', 'hasEntities'];\n\t\n\t return DashboardController;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 138 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tfunction maDashboardPanel($state) {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t collection: '&',\n\t entries: '&'\n\t },\n\t link: function link(scope) {\n\t scope.gotoList = function () {\n\t $state.go($state.get('list'), { entity: scope.collection().entity.name() });\n\t };\n\t },\n\t template: '' + '' + ''\n\t };\n\t}\n\t\n\tmaDashboardPanel.$inject = ['$state'];\n\t\n\tmodule.exports = maDashboardPanel;\n\n/***/ },\n/* 139 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar menuBarView = __webpack_require__(160);\n\tvar angular = __webpack_require__(4);\n\t\n\tfunction maMenuBar($location, $rootScope, $compile) {\n\t return {\n\t restrict: 'E',\n\t scope: {\n\t 'menu': '&'\n\t },\n\t link: function link(scope, element) {\n\t scope.menu = scope.menu();\n\t scope.path = $location.path();\n\t var openMenus = [];\n\t // manually render on change to avoid checking menu.isActive at each dirty check\n\t var listener = $rootScope.$on('$locationChangeSuccess', function () {\n\t scope.path = $location.path();\n\t render();\n\t });\n\t $rootScope.$on('$destroy', listener);\n\t scope.toggleMenu = function (menu) {\n\t // handle click on parent menu manually\n\t // because we chose bindOnce in the template for performance reasons\n\t if (openMenus.indexOf(menu) !== -1) {\n\t // menu is already open, the click closes it\n\t // except if a submenu is open\n\t if (menu.isChildActive(scope.path)) {\n\t return;\n\t }\n\t openMenus.splice(openMenus.indexOf(menu), 1);\n\t closeMenu(menu);\n\t } else {\n\t // menu is closed, the click opens it\n\t openMenus.push(menu);\n\t openMenu(menu);\n\t }\n\t // we don't render() in that case because it would cut the animation\n\t return;\n\t };\n\t scope.gotoLink = function (menu) {\n\t if (!menu.link()) {\n\t return;\n\t }\n\t // close all open menus\n\t // no need to close the menus with animation using closeMenu(),\n\t // the menu will rerender anyway because of the listener on $locationChangeSuccess\n\t // so the animation don't work in that case\n\t openMenus = [];\n\t $location.url(menu.link());\n\t };\n\t scope.isOpen = function (menu) {\n\t return menu.isChildActive(scope.path) || openMenus.indexOf(menu) !== -1;\n\t };\n\t render();\n\t\n\t function render() {\n\t element.html(menuBarView);\n\t $compile(element.contents())(scope);\n\t }\n\t function closeMenu(menu) {\n\t var elements = getElementsForMenu(menu);\n\t elements.ul.addClass('collapsed');\n\t elements.arrow.removeClass('glyphicon-menu-down');\n\t elements.arrow.addClass('glyphicon-menu-right');\n\t }\n\t function openMenu(menu) {\n\t var elements = getElementsForMenu(menu);\n\t elements.ul.removeClass('collapsed');\n\t elements.arrow.removeClass('glyphicon-menu-right');\n\t elements.arrow.addClass('glyphicon-menu-down');\n\t }\n\t function getElementsForMenu(menu) {\n\t var parentLi;\n\t angular.forEach(element.find('li'), function (li) {\n\t var liElement = angular.element(li);\n\t if (liElement.attr('data-menu-id') == menu.uuid) {\n\t parentLi = liElement;\n\t }\n\t });\n\t return {\n\t arrow: angular.element(parentLi.find('a')[0].getElementsByClassName('arrow')[0]),\n\t ul: parentLi.find('ul').eq(0)\n\t };\n\t }\n\t }\n\t };\n\t}\n\t\n\tmaMenuBar.$inject = ['$location', '$rootScope', '$compile'];\n\t\n\tmodule.exports = maMenuBar;\n\n/***/ },\n/* 140 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t function OrderElement() {\n\t return function (input) {\n\t var results = [],\n\t objectKey;\n\t\n\t for (objectKey in input) {\n\t results.push(input[objectKey]);\n\t }\n\t\n\t results.sort(function (field1, field2) {\n\t return typeof field1.order === 'function' ? field1.order() - field2.order() : field1.order - field2.order;\n\t });\n\t\n\t return results;\n\t };\n\t }\n\t\n\t OrderElement.$inject = [];\n\t\n\t return OrderElement;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 141 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t function stripTags() {\n\t return function (input) {\n\t return input.replace(/(<([^>]+)>)/ig, '');\n\t };\n\t }\n\t\n\t stripTags.$inject = [];\n\t\n\t return stripTags;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 142 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tfunction NgAdminConfiguration($compileProvider) {\n\t this.config = null;\n\t this.adminDescription = null;\n\t this.$compileProvider = $compileProvider;\n\t}\n\t\n\tNgAdminConfiguration.prototype.setAdminDescription = function (adminDescription) {\n\t this.adminDescription = adminDescription;\n\t};\n\t\n\tNgAdminConfiguration.prototype.configure = function (config) {\n\t this.config = config;\n\t\n\t this.$compileProvider.debugInfoEnabled(this.config.debug());\n\t};\n\t\n\tNgAdminConfiguration.prototype.$get = function () {\n\t var config = this.config;\n\t return function () {\n\t return config;\n\t };\n\t};\n\t\n\tNgAdminConfiguration.prototype.application = function (name, debug) {\n\t return this.adminDescription.application(name, debug);\n\t};\n\t\n\tNgAdminConfiguration.prototype.entity = function (name) {\n\t return this.adminDescription.entity(name);\n\t};\n\t\n\tNgAdminConfiguration.prototype.field = function (name, type) {\n\t return this.adminDescription.field(name, type);\n\t};\n\t\n\tNgAdminConfiguration.prototype.registerFieldType = function (name, type) {\n\t return this.adminDescription.registerFieldType(name, type);\n\t};\n\t\n\tNgAdminConfiguration.prototype.menu = function (entity) {\n\t return this.adminDescription.menu(entity);\n\t};\n\t\n\tNgAdminConfiguration.prototype.collection = function (collection) {\n\t return this.adminDescription.collection(collection);\n\t};\n\t\n\tNgAdminConfiguration.prototype.dashboard = function (dashboard) {\n\t return this.adminDescription.dashboard(dashboard);\n\t};\n\t\n\tNgAdminConfiguration.$inject = ['$compileProvider'];\n\t\n\tmodule.exports = NgAdminConfiguration;\n\n/***/ },\n/* 143 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t function http($httpProvider) {\n\t\n\t $httpProvider.useApplyAsync(true);\n\t }\n\t\n\t http.$inject = ['$httpProvider'];\n\t\n\t return http;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 144 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar layoutTemplate = __webpack_require__(159),\n\t dashboardTemplate = __webpack_require__(158),\n\t errorTemplate = __webpack_require__(157);\n\t\n\tfunction dataStoreProvider() {\n\t return ['AdminDescription', function (AdminDescription) {\n\t return AdminDescription.getDataStore();\n\t }];\n\t}\n\t\n\tfunction entryConstructorProvider() {\n\t return ['AdminDescription', function (AdminDescription) {\n\t return AdminDescription.getEntryConstructor();\n\t }];\n\t}\n\t\n\tfunction routing($stateProvider, $urlRouterProvider) {\n\t\n\t $stateProvider.state('main', {\n\t abstract: true,\n\t controller: 'AppController',\n\t controllerAs: 'appController',\n\t templateProvider: ['NgAdminConfiguration', function (Configuration) {\n\t return Configuration().layout() || layoutTemplate;\n\t }]\n\t });\n\t\n\t $stateProvider.state('dashboard', {\n\t parent: 'main',\n\t url: '/dashboard?sortField&sortDir',\n\t params: {\n\t sortField: null,\n\t sortDir: null\n\t },\n\t controller: 'DashboardController',\n\t controllerAs: 'dashboardController',\n\t templateProvider: ['NgAdminConfiguration', function (Configuration) {\n\t return Configuration().dashboard().template() || dashboardTemplate;\n\t }],\n\t resolve: {\n\t dataStore: dataStoreProvider(),\n\t Entry: entryConstructorProvider(),\n\t hasEntities: ['NgAdminConfiguration', function (Configuration) {\n\t return Configuration().entities.length > 0;\n\t }],\n\t collections: ['NgAdminConfiguration', function (Configuration) {\n\t return Configuration().dashboard().collections();\n\t }],\n\t responses: ['$stateParams', '$q', 'collections', 'dataStore', 'Entry', 'ReadQueries', function ($stateParams, $q, collections, dataStore, Entry, ReadQueries) {\n\t var sortField = 'sortField' in $stateParams ? $stateParams.sortField : null;\n\t var sortDir = 'sortDir' in $stateParams ? $stateParams.sortDir : null;\n\t\n\t var promises = {},\n\t collection,\n\t collectionSortField,\n\t collectionSortDir,\n\t collectionName;\n\t\n\t for (collectionName in collections) {\n\t collection = collections[collectionName];\n\t collectionSortField = collection.getSortFieldName();\n\t collectionSortDir = collection.sortDir();\n\t if (sortField && sortField.split('.')[0] === collection.name()) {\n\t collectionSortField = sortField;\n\t collectionSortDir = sortDir;\n\t }\n\t promises[collectionName] = (function (collection, collectionSortField, collectionSortDir) {\n\t var rawEntries, nonOptimizedReferencedData, optimizedReferencedData;\n\t\n\t return ReadQueries.getAll(collection, 1, {}, collectionSortField, collectionSortDir).then(function (response) {\n\t rawEntries = response.data;\n\t return rawEntries;\n\t }).then(function (rawEntries) {\n\t return ReadQueries.getFilteredReferenceData(collection.getNonOptimizedReferences(), rawEntries);\n\t }).then(function (nonOptimizedReference) {\n\t nonOptimizedReferencedData = nonOptimizedReference;\n\t return ReadQueries.getOptimizedReferencedData(collection.getOptimizedReferences(), rawEntries);\n\t }).then(function (optimizedReference) {\n\t optimizedReferencedData = optimizedReference;\n\t\n\t var references = collection.getReferences(),\n\t referencedData = angular.extend(nonOptimizedReferencedData, optimizedReferencedData),\n\t referencedEntries;\n\t\n\t for (var name in referencedData) {\n\t referencedEntries = Entry.createArrayFromRest(referencedData[name], [references[name].targetField()], references[name].targetEntity().name(), references[name].targetEntity().identifier().name());\n\t\n\t dataStore.setEntries(references[name].targetEntity().uniqueId + '_values', referencedEntries);\n\t }\n\t }).then(function () {\n\t var entries = collection.mapEntries(rawEntries);\n\t\n\t // shortcut to display collection of entry with included referenced values\n\t dataStore.fillReferencesValuesFromCollection(entries, collection.getReferences(), true);\n\t\n\t return entries;\n\t });\n\t })(collection, collectionSortField, collectionSortDir);\n\t }\n\t\n\t return $q.all(promises);\n\t }],\n\t entries: ['responses', 'collections', function (responses, collections) {\n\t var collectionName,\n\t entries = {};\n\t\n\t for (collectionName in responses) {\n\t entries[collections[collectionName].name()] = responses[collectionName];\n\t }\n\t\n\t return entries;\n\t }]\n\t }\n\t });\n\t\n\t $stateProvider.state('ma-404', {\n\t parent: 'main',\n\t template: errorTemplate\n\t });\n\t\n\t $urlRouterProvider.when('', '/dashboard');\n\t\n\t $urlRouterProvider.otherwise(function ($injector, $location) {\n\t var state = $injector.get('$state');\n\t state.go('ma-404');\n\t return $location.path();\n\t });\n\t}\n\t\n\trouting.$inject = ['$stateProvider', '$urlRouterProvider'];\n\t\n\tmodule.exports = routing;\n\n/***/ },\n/* 145 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t function errorHandler($rootScope, $state, notification) {\n\t $rootScope.$on(\"$stateChangeError\", function handleError(event, toState, toParams, fromState, fromParams, error) {\n\t if (error.status == 404) {\n\t $state.go('ma-404');\n\t event.preventDefault();\n\t } else {\n\t notification.log('State change error: ' + error.message, { addnCls: 'humane-flatty-error' });\n\t throw error;\n\t }\n\t });\n\t }\n\t\n\t errorHandler.$inject = ['$rootScope', '$state', 'notification'];\n\t\n\t return errorHandler;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 146 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*global define*/\n\t\n\t'use strict';\n\t\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t 'use strict';\n\t\n\t /**\n\t * Display loader on each route change\n\t *\n\t * @param {$rootScope} $rootScope\n\t * @param {$window} $window\n\t * @param {progression} progression\n\t */\n\t function loader($rootScope, $window, progression) {\n\t $rootScope.$on('$stateChangeStart', function () {\n\t progression.start();\n\t });\n\t\n\t $rootScope.$on('$stateChangeSuccess', function () {\n\t progression.done();\n\t $window.scrollTo(0, 0);\n\t });\n\t\n\t $rootScope.$on(\"$stateChangeError\", function () {\n\t progression.done();\n\t });\n\t }\n\t\n\t loader.$inject = ['$rootScope', '$window', 'progression'];\n\t\n\t return loader;\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n/***/ },\n/* 147 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 148 */\n/***/ function(module, exports) {\n\n\tmodule.exports = \"

Are you sure ?

\";\n\n/***/ },\n/* 149 */\n/***/ function(module, exports) {\n\n\tmodule.exports = \"

Are you sure ?

\";\n\n/***/ },\n/* 150 */\n/***/ function(module, exports) {\n\n\tmodule.exports = \"
\";\n\n/***/ },\n/* 151 */\n/***/ function(module, exports) {\n\n\tmodule.exports = \"
\";\n\n/***/ },\n/* 152 */\n/***/ function(module, exports) {\n\n\tmodule.exports = \"
\";\n\n/***/ },\n/* 153 */\n/***/ function(module, exports) {\n\n\tmodule.exports = \"
\";\n\n/***/ },\n/* 154 */\n/***/ function(module, exports) {\n\n\tmodule.exports = \"\";\n\n/***/ },\n/* 155 */\n/***/ function(module, exports) {\n\n\tmodule.exports = \"\";\n\n/***/ },\n/* 156 */\n/***/ function(module, exports) {\n\n\tmodule.exports = \"
\";\n\n/***/ },\n/* 157 */\n/***/ function(module, exports) {\n\n\tmodule.exports = \"
The page you are looking for cannot be found. Take a break before trying again.



\\n\\n       |\\\\      _,,,---,,_\\n       /,`.-'`'    -.  ;-;;,_\\n      |,4-  ) )-,_..;\\\\ (  `'-'\\n     '---''(_/--'  `-'\\\\_)\\n\\n    
\";\n\n/***/ },\n/* 158 */\n/***/ function(module, exports) {\n\n\tmodule.exports = \"

All dependencies are set, ng-admin is ready to run!

Now you can update the configuration: add entities to the admin, then refresh.

\";\n\n/***/ },\n/* 159 */\n/***/ function(module, exports) {\n\n\tmodule.exports = \"\";\n\n/***/ },\n/* 160 */\n/***/ function(module, exports) {\n\n\tmodule.exports = \"\";\n\n/***/ },\n/* 161 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar require;/**\n\t * @license AngularJS v1.3.17\n\t * (c) 2010-2014 Google, Inc. http://angularjs.org\n\t * License: MIT\n\t */\n\t(function(window, document, undefined) {'use strict';\n\t\n\t/**\n\t * @description\n\t *\n\t * This object provides a utility for producing rich Error messages within\n\t * Angular. It can be called as follows:\n\t *\n\t * var exampleMinErr = minErr('example');\n\t * throw exampleMinErr('one', 'This {0} is {1}', foo, bar);\n\t *\n\t * The above creates an instance of minErr in the example namespace. The\n\t * resulting error will have a namespaced error code of example.one. The\n\t * resulting error will replace {0} with the value of foo, and {1} with the\n\t * value of bar. The object is not restricted in the number of arguments it can\n\t * take.\n\t *\n\t * If fewer arguments are specified than necessary for interpolation, the extra\n\t * interpolation markers will be preserved in the final string.\n\t *\n\t * Since data will be parsed statically during a build step, some restrictions\n\t * are applied with respect to how minErr instances are created and called.\n\t * Instances should have names of the form namespaceMinErr for a minErr created\n\t * using minErr('namespace') . Error codes, namespaces and template strings\n\t * should all be static strings, not variables or general expressions.\n\t *\n\t * @param {string} module The namespace to use for the new minErr instance.\n\t * @param {function} ErrorConstructor Custom error constructor to be instantiated when returning\n\t * error from returned function, for cases when a particular type of error is useful.\n\t * @returns {function(code:string, template:string, ...templateArgs): Error} minErr instance\n\t */\n\t\n\tfunction minErr(module, ErrorConstructor) {\n\t ErrorConstructor = ErrorConstructor || Error;\n\t return function() {\n\t var code = arguments[0],\n\t prefix = '[' + (module ? module + ':' : '') + code + '] ',\n\t template = arguments[1],\n\t templateArgs = arguments,\n\t\n\t message, i;\n\t\n\t message = prefix + template.replace(/\\{\\d+\\}/g, function(match) {\n\t var index = +match.slice(1, -1), arg;\n\t\n\t if (index + 2 < templateArgs.length) {\n\t return toDebugString(templateArgs[index + 2]);\n\t }\n\t return match;\n\t });\n\t\n\t message = message + '\\nhttp://errors.angularjs.org/1.3.17/' +\n\t (module ? module + '/' : '') + code;\n\t for (i = 2; i < arguments.length; i++) {\n\t message = message + (i == 2 ? '?' : '&') + 'p' + (i - 2) + '=' +\n\t encodeURIComponent(toDebugString(arguments[i]));\n\t }\n\t return new ErrorConstructor(message);\n\t };\n\t}\n\t\n\t/* We need to tell jshint what variables are being exported */\n\t/* global angular: true,\n\t msie: true,\n\t jqLite: true,\n\t jQuery: true,\n\t slice: true,\n\t splice: true,\n\t push: true,\n\t toString: true,\n\t ngMinErr: true,\n\t angularModule: true,\n\t uid: true,\n\t REGEX_STRING_REGEXP: true,\n\t VALIDITY_STATE_PROPERTY: true,\n\t\n\t lowercase: true,\n\t uppercase: true,\n\t manualLowercase: true,\n\t manualUppercase: true,\n\t nodeName_: true,\n\t isArrayLike: true,\n\t forEach: true,\n\t sortedKeys: true,\n\t forEachSorted: true,\n\t reverseParams: true,\n\t nextUid: true,\n\t setHashKey: true,\n\t extend: true,\n\t int: true,\n\t inherit: true,\n\t noop: true,\n\t identity: true,\n\t valueFn: true,\n\t isUndefined: true,\n\t isDefined: true,\n\t isObject: true,\n\t isString: true,\n\t isNumber: true,\n\t isDate: true,\n\t isArray: true,\n\t isFunction: true,\n\t isRegExp: true,\n\t isWindow: true,\n\t isScope: true,\n\t isFile: true,\n\t isFormData: true,\n\t isBlob: true,\n\t isBoolean: true,\n\t isPromiseLike: true,\n\t trim: true,\n\t escapeForRegexp: true,\n\t isElement: true,\n\t makeMap: true,\n\t includes: true,\n\t arrayRemove: true,\n\t copy: true,\n\t shallowCopy: true,\n\t equals: true,\n\t csp: true,\n\t concat: true,\n\t sliceArgs: true,\n\t bind: true,\n\t toJsonReplacer: true,\n\t toJson: true,\n\t fromJson: true,\n\t startingTag: true,\n\t tryDecodeURIComponent: true,\n\t parseKeyValue: true,\n\t toKeyValue: true,\n\t encodeUriSegment: true,\n\t encodeUriQuery: true,\n\t angularInit: true,\n\t bootstrap: true,\n\t getTestability: true,\n\t snake_case: true,\n\t bindJQuery: true,\n\t assertArg: true,\n\t assertArgFn: true,\n\t assertNotHasOwnProperty: true,\n\t getter: true,\n\t getBlockNodes: true,\n\t hasOwnProperty: true,\n\t createMap: true,\n\t\n\t NODE_TYPE_ELEMENT: true,\n\t NODE_TYPE_ATTRIBUTE: true,\n\t NODE_TYPE_TEXT: true,\n\t NODE_TYPE_COMMENT: true,\n\t NODE_TYPE_DOCUMENT: true,\n\t NODE_TYPE_DOCUMENT_FRAGMENT: true,\n\t*/\n\t\n\t////////////////////////////////////\n\t\n\t/**\n\t * @ngdoc module\n\t * @name ng\n\t * @module ng\n\t * @description\n\t *\n\t * # ng (core module)\n\t * The ng module is loaded by default when an AngularJS application is started. The module itself\n\t * contains the essential components for an AngularJS application to function. The table below\n\t * lists a high level breakdown of each of the services/factories, filters, directives and testing\n\t * components available within this core module.\n\t *\n\t *
\n\t */\n\t\n\tvar REGEX_STRING_REGEXP = /^\\/(.+)\\/([a-z]*)$/;\n\t\n\t// The name of a form control's ValidityState property.\n\t// This is used so that it's possible for internal tests to create mock ValidityStates.\n\tvar VALIDITY_STATE_PROPERTY = 'validity';\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.lowercase\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description Converts the specified string to lowercase.\n\t * @param {string} string String to be converted to lowercase.\n\t * @returns {string} Lowercased string.\n\t */\n\tvar lowercase = function(string) {return isString(string) ? string.toLowerCase() : string;};\n\tvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.uppercase\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description Converts the specified string to uppercase.\n\t * @param {string} string String to be converted to uppercase.\n\t * @returns {string} Uppercased string.\n\t */\n\tvar uppercase = function(string) {return isString(string) ? string.toUpperCase() : string;};\n\t\n\t\n\tvar manualLowercase = function(s) {\n\t /* jshint bitwise: false */\n\t return isString(s)\n\t ? s.replace(/[A-Z]/g, function(ch) {return String.fromCharCode(ch.charCodeAt(0) | 32);})\n\t : s;\n\t};\n\tvar manualUppercase = function(s) {\n\t /* jshint bitwise: false */\n\t return isString(s)\n\t ? s.replace(/[a-z]/g, function(ch) {return String.fromCharCode(ch.charCodeAt(0) & ~32);})\n\t : s;\n\t};\n\t\n\t\n\t// String#toLowerCase and String#toUpperCase don't produce correct results in browsers with Turkish\n\t// locale, for this reason we need to detect this case and redefine lowercase/uppercase methods\n\t// with correct but slower alternatives.\n\tif ('i' !== 'I'.toLowerCase()) {\n\t lowercase = manualLowercase;\n\t uppercase = manualUppercase;\n\t}\n\t\n\t\n\tvar\n\t msie, // holds major version number for IE, or NaN if UA is not IE.\n\t jqLite, // delay binding since jQuery could be loaded after us.\n\t jQuery, // delay binding\n\t slice = [].slice,\n\t splice = [].splice,\n\t push = [].push,\n\t toString = Object.prototype.toString,\n\t ngMinErr = minErr('ng'),\n\t\n\t /** @name angular */\n\t angular = window.angular || (window.angular = {}),\n\t angularModule,\n\t uid = 0;\n\t\n\t/**\n\t * documentMode is an IE-only property\n\t * http://msdn.microsoft.com/en-us/library/ie/cc196988(v=vs.85).aspx\n\t */\n\tmsie = document.documentMode;\n\t\n\t\n\t/**\n\t * @private\n\t * @param {*} obj\n\t * @return {boolean} Returns true if `obj` is an array or array-like object (NodeList, Arguments,\n\t * String ...)\n\t */\n\tfunction isArrayLike(obj) {\n\t if (obj == null || isWindow(obj)) {\n\t return false;\n\t }\n\t\n\t // Support: iOS 8.2 (not reproducible in simulator)\n\t // \"length\" in obj used to prevent JIT error (gh-11508)\n\t var length = \"length\" in Object(obj) && obj.length;\n\t\n\t if (obj.nodeType === NODE_TYPE_ELEMENT && length) {\n\t return true;\n\t }\n\t\n\t return isString(obj) || isArray(obj) || length === 0 ||\n\t typeof length === 'number' && length > 0 && (length - 1) in obj;\n\t}\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.forEach\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description\n\t * Invokes the `iterator` function once for each item in `obj` collection, which can be either an\n\t * object or an array. The `iterator` function is invoked with `iterator(value, key, obj)`, where `value`\n\t * is the value of an object property or an array element, `key` is the object property key or\n\t * array element index and obj is the `obj` itself. Specifying a `context` for the function is optional.\n\t *\n\t * It is worth noting that `.forEach` does not iterate over inherited properties because it filters\n\t * using the `hasOwnProperty` method.\n\t *\n\t * Unlike ES262's\n\t * [Array.prototype.forEach](http://www.ecma-international.org/ecma-262/5.1/#sec-15.4.4.18),\n\t * Providing 'undefined' or 'null' values for `obj` will not throw a TypeError, but rather just\n\t * return the value provided.\n\t *\n\t ```js\n\t var values = {name: 'misko', gender: 'male'};\n\t var log = [];\n\t angular.forEach(values, function(value, key) {\n\t this.push(key + ': ' + value);\n\t }, log);\n\t expect(log).toEqual(['name: misko', 'gender: male']);\n\t ```\n\t *\n\t * @param {Object|Array} obj Object to iterate over.\n\t * @param {Function} iterator Iterator function.\n\t * @param {Object=} context Object to become context (`this`) for the iterator function.\n\t * @returns {Object|Array} Reference to `obj`.\n\t */\n\t\n\tfunction forEach(obj, iterator, context) {\n\t var key, length;\n\t if (obj) {\n\t if (isFunction(obj)) {\n\t for (key in obj) {\n\t // Need to check if hasOwnProperty exists,\n\t // as on IE8 the result of querySelectorAll is an object without a hasOwnProperty function\n\t if (key != 'prototype' && key != 'length' && key != 'name' && (!obj.hasOwnProperty || obj.hasOwnProperty(key))) {\n\t iterator.call(context, obj[key], key, obj);\n\t }\n\t }\n\t } else if (isArray(obj) || isArrayLike(obj)) {\n\t var isPrimitive = typeof obj !== 'object';\n\t for (key = 0, length = obj.length; key < length; key++) {\n\t if (isPrimitive || key in obj) {\n\t iterator.call(context, obj[key], key, obj);\n\t }\n\t }\n\t } else if (obj.forEach && obj.forEach !== forEach) {\n\t obj.forEach(iterator, context, obj);\n\t } else {\n\t for (key in obj) {\n\t if (obj.hasOwnProperty(key)) {\n\t iterator.call(context, obj[key], key, obj);\n\t }\n\t }\n\t }\n\t }\n\t return obj;\n\t}\n\t\n\tfunction sortedKeys(obj) {\n\t return Object.keys(obj).sort();\n\t}\n\t\n\tfunction forEachSorted(obj, iterator, context) {\n\t var keys = sortedKeys(obj);\n\t for (var i = 0; i < keys.length; i++) {\n\t iterator.call(context, obj[keys[i]], keys[i]);\n\t }\n\t return keys;\n\t}\n\t\n\t\n\t/**\n\t * when using forEach the params are value, key, but it is often useful to have key, value.\n\t * @param {function(string, *)} iteratorFn\n\t * @returns {function(*, string)}\n\t */\n\tfunction reverseParams(iteratorFn) {\n\t return function(value, key) { iteratorFn(key, value); };\n\t}\n\t\n\t/**\n\t * A consistent way of creating unique IDs in angular.\n\t *\n\t * Using simple numbers allows us to generate 28.6 million unique ids per second for 10 years before\n\t * we hit number precision issues in JavaScript.\n\t *\n\t * Math.pow(2,53) / 60 / 60 / 24 / 365 / 10 = 28.6M\n\t *\n\t * @returns {number} an unique alpha-numeric string\n\t */\n\tfunction nextUid() {\n\t return ++uid;\n\t}\n\t\n\t\n\t/**\n\t * Set or clear the hashkey for an object.\n\t * @param obj object\n\t * @param h the hashkey (!truthy to delete the hashkey)\n\t */\n\tfunction setHashKey(obj, h) {\n\t if (h) {\n\t obj.$$hashKey = h;\n\t } else {\n\t delete obj.$$hashKey;\n\t }\n\t}\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.extend\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description\n\t * Extends the destination object `dst` by copying own enumerable properties from the `src` object(s)\n\t * to `dst`. You can specify multiple `src` objects. If you want to preserve original objects, you can do so\n\t * by passing an empty object as the target: `var object = angular.extend({}, object1, object2)`.\n\t * Note: Keep in mind that `angular.extend` does not support recursive merge (deep copy).\n\t *\n\t * @param {Object} dst Destination object.\n\t * @param {...Object} src Source object(s).\n\t * @returns {Object} Reference to `dst`.\n\t */\n\tfunction extend(dst) {\n\t var h = dst.$$hashKey;\n\t\n\t for (var i = 1, ii = arguments.length; i < ii; i++) {\n\t var obj = arguments[i];\n\t if (obj) {\n\t var keys = Object.keys(obj);\n\t for (var j = 0, jj = keys.length; j < jj; j++) {\n\t var key = keys[j];\n\t dst[key] = obj[key];\n\t }\n\t }\n\t }\n\t\n\t setHashKey(dst, h);\n\t return dst;\n\t}\n\t\n\tfunction int(str) {\n\t return parseInt(str, 10);\n\t}\n\t\n\t\n\tfunction inherit(parent, extra) {\n\t return extend(Object.create(parent), extra);\n\t}\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.noop\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description\n\t * A function that performs no operations. This function can be useful when writing code in the\n\t * functional style.\n\t ```js\n\t function foo(callback) {\n\t var result = calculateResult();\n\t (callback || angular.noop)(result);\n\t }\n\t ```\n\t */\n\tfunction noop() {}\n\tnoop.$inject = [];\n\t\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.identity\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description\n\t * A function that returns its first argument. This function is useful when writing code in the\n\t * functional style.\n\t *\n\t ```js\n\t function transformer(transformationFn, value) {\n\t return (transformationFn || angular.identity)(value);\n\t };\n\t ```\n\t * @param {*} value to be returned.\n\t * @returns {*} the value passed in.\n\t */\n\tfunction identity($) {return $;}\n\tidentity.$inject = [];\n\t\n\t\n\tfunction valueFn(value) {return function() {return value;};}\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.isUndefined\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description\n\t * Determines if a reference is undefined.\n\t *\n\t * @param {*} value Reference to check.\n\t * @returns {boolean} True if `value` is undefined.\n\t */\n\tfunction isUndefined(value) {return typeof value === 'undefined';}\n\t\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.isDefined\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description\n\t * Determines if a reference is defined.\n\t *\n\t * @param {*} value Reference to check.\n\t * @returns {boolean} True if `value` is defined.\n\t */\n\tfunction isDefined(value) {return typeof value !== 'undefined';}\n\t\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.isObject\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description\n\t * Determines if a reference is an `Object`. Unlike `typeof` in JavaScript, `null`s are not\n\t * considered to be objects. Note that JavaScript arrays are objects.\n\t *\n\t * @param {*} value Reference to check.\n\t * @returns {boolean} True if `value` is an `Object` but not `null`.\n\t */\n\tfunction isObject(value) {\n\t // http://jsperf.com/isobject4\n\t return value !== null && typeof value === 'object';\n\t}\n\t\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.isString\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description\n\t * Determines if a reference is a `String`.\n\t *\n\t * @param {*} value Reference to check.\n\t * @returns {boolean} True if `value` is a `String`.\n\t */\n\tfunction isString(value) {return typeof value === 'string';}\n\t\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.isNumber\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description\n\t * Determines if a reference is a `Number`.\n\t *\n\t * This includes the \"special\" numbers `NaN`, `+Infinity` and `-Infinity`.\n\t *\n\t * If you wish to exclude these then you can use the native\n\t * [`isFinite'](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/isFinite)\n\t * method.\n\t *\n\t * @param {*} value Reference to check.\n\t * @returns {boolean} True if `value` is a `Number`.\n\t */\n\tfunction isNumber(value) {return typeof value === 'number';}\n\t\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.isDate\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description\n\t * Determines if a value is a date.\n\t *\n\t * @param {*} value Reference to check.\n\t * @returns {boolean} True if `value` is a `Date`.\n\t */\n\tfunction isDate(value) {\n\t return toString.call(value) === '[object Date]';\n\t}\n\t\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.isArray\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description\n\t * Determines if a reference is an `Array`.\n\t *\n\t * @param {*} value Reference to check.\n\t * @returns {boolean} True if `value` is an `Array`.\n\t */\n\tvar isArray = Array.isArray;\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.isFunction\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description\n\t * Determines if a reference is a `Function`.\n\t *\n\t * @param {*} value Reference to check.\n\t * @returns {boolean} True if `value` is a `Function`.\n\t */\n\tfunction isFunction(value) {return typeof value === 'function';}\n\t\n\t\n\t/**\n\t * Determines if a value is a regular expression object.\n\t *\n\t * @private\n\t * @param {*} value Reference to check.\n\t * @returns {boolean} True if `value` is a `RegExp`.\n\t */\n\tfunction isRegExp(value) {\n\t return toString.call(value) === '[object RegExp]';\n\t}\n\t\n\t\n\t/**\n\t * Checks if `obj` is a window object.\n\t *\n\t * @private\n\t * @param {*} obj Object to check\n\t * @returns {boolean} True if `obj` is a window obj.\n\t */\n\tfunction isWindow(obj) {\n\t return obj && obj.window === obj;\n\t}\n\t\n\t\n\tfunction isScope(obj) {\n\t return obj && obj.$evalAsync && obj.$watch;\n\t}\n\t\n\t\n\tfunction isFile(obj) {\n\t return toString.call(obj) === '[object File]';\n\t}\n\t\n\t\n\tfunction isFormData(obj) {\n\t return toString.call(obj) === '[object FormData]';\n\t}\n\t\n\t\n\tfunction isBlob(obj) {\n\t return toString.call(obj) === '[object Blob]';\n\t}\n\t\n\t\n\tfunction isBoolean(value) {\n\t return typeof value === 'boolean';\n\t}\n\t\n\t\n\tfunction isPromiseLike(obj) {\n\t return obj && isFunction(obj.then);\n\t}\n\t\n\t\n\tvar trim = function(value) {\n\t return isString(value) ? value.trim() : value;\n\t};\n\t\n\t// Copied from:\n\t// http://docs.closure-library.googlecode.com/git/local_closure_goog_string_string.js.source.html#line1021\n\t// Prereq: s is a string.\n\tvar escapeForRegexp = function(s) {\n\t return s.replace(/([-()\\[\\]{}+?*.$\\^|,:#= 0)\n\t array.splice(index, 1);\n\t return value;\n\t}\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.copy\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description\n\t * Creates a deep copy of `source`, which should be an object or an array.\n\t *\n\t * * If no destination is supplied, a copy of the object or array is created.\n\t * * If a destination is provided, all of its elements (for arrays) or properties (for objects)\n\t * are deleted and then all elements/properties from the source are copied to it.\n\t * * If `source` is not an object or array (inc. `null` and `undefined`), `source` is returned.\n\t * * If `source` is identical to 'destination' an exception will be thrown.\n\t *\n\t * @param {*} source The source that will be used to make a copy.\n\t * Can be any type, including primitives, `null`, and `undefined`.\n\t * @param {(Object|Array)=} destination Destination into which the source is copied. If\n\t * provided, must be of the same type as `source`.\n\t * @returns {*} The copy or updated `destination`, if `destination` was specified.\n\t *\n\t * @example\n\t \n\t \n\t
\n\t
\n\t Name:
\n\t E-mail:
\n\t Gender: male\n\t female
\n\t \n\t \n\t
\n\t
form = {{user | json}}
\n\t
master = {{master | json}}
\n\t
\n\t\n\t \n\t
\n\t
\n\t */\n\tfunction copy(source, destination, stackSource, stackDest) {\n\t if (isWindow(source) || isScope(source)) {\n\t throw ngMinErr('cpws',\n\t \"Can't copy! Making copies of Window or Scope instances is not supported.\");\n\t }\n\t\n\t if (!destination) {\n\t destination = source;\n\t if (source) {\n\t if (isArray(source)) {\n\t destination = copy(source, [], stackSource, stackDest);\n\t } else if (isDate(source)) {\n\t destination = new Date(source.getTime());\n\t } else if (isRegExp(source)) {\n\t destination = new RegExp(source.source, source.toString().match(/[^\\/]*$/)[0]);\n\t destination.lastIndex = source.lastIndex;\n\t } else if (isObject(source)) {\n\t var emptyObject = Object.create(Object.getPrototypeOf(source));\n\t destination = copy(source, emptyObject, stackSource, stackDest);\n\t }\n\t }\n\t } else {\n\t if (source === destination) throw ngMinErr('cpi',\n\t \"Can't copy! Source and destination are identical.\");\n\t\n\t stackSource = stackSource || [];\n\t stackDest = stackDest || [];\n\t\n\t if (isObject(source)) {\n\t var index = stackSource.indexOf(source);\n\t if (index !== -1) return stackDest[index];\n\t\n\t stackSource.push(source);\n\t stackDest.push(destination);\n\t }\n\t\n\t var result;\n\t if (isArray(source)) {\n\t destination.length = 0;\n\t for (var i = 0; i < source.length; i++) {\n\t result = copy(source[i], null, stackSource, stackDest);\n\t if (isObject(source[i])) {\n\t stackSource.push(source[i]);\n\t stackDest.push(result);\n\t }\n\t destination.push(result);\n\t }\n\t } else {\n\t var h = destination.$$hashKey;\n\t if (isArray(destination)) {\n\t destination.length = 0;\n\t } else {\n\t forEach(destination, function(value, key) {\n\t delete destination[key];\n\t });\n\t }\n\t for (var key in source) {\n\t if (source.hasOwnProperty(key)) {\n\t result = copy(source[key], null, stackSource, stackDest);\n\t if (isObject(source[key])) {\n\t stackSource.push(source[key]);\n\t stackDest.push(result);\n\t }\n\t destination[key] = result;\n\t }\n\t }\n\t setHashKey(destination,h);\n\t }\n\t\n\t }\n\t return destination;\n\t}\n\t\n\t/**\n\t * Creates a shallow copy of an object, an array or a primitive.\n\t *\n\t * Assumes that there are no proto properties for objects.\n\t */\n\tfunction shallowCopy(src, dst) {\n\t if (isArray(src)) {\n\t dst = dst || [];\n\t\n\t for (var i = 0, ii = src.length; i < ii; i++) {\n\t dst[i] = src[i];\n\t }\n\t } else if (isObject(src)) {\n\t dst = dst || {};\n\t\n\t for (var key in src) {\n\t if (!(key.charAt(0) === '$' && key.charAt(1) === '$')) {\n\t dst[key] = src[key];\n\t }\n\t }\n\t }\n\t\n\t return dst || src;\n\t}\n\t\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.equals\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description\n\t * Determines if two objects or two values are equivalent. Supports value types, regular\n\t * expressions, arrays and objects.\n\t *\n\t * Two objects or values are considered equivalent if at least one of the following is true:\n\t *\n\t * * Both objects or values pass `===` comparison.\n\t * * Both objects or values are of the same type and all of their properties are equal by\n\t * comparing them with `angular.equals`.\n\t * * Both values are NaN. (In JavaScript, NaN == NaN => false. But we consider two NaN as equal)\n\t * * Both values represent the same regular expression (In JavaScript,\n\t * /abc/ == /abc/ => false. But we consider two regular expressions as equal when their textual\n\t * representation matches).\n\t *\n\t * During a property comparison, properties of `function` type and properties with names\n\t * that begin with `$` are ignored.\n\t *\n\t * Scope and DOMWindow objects are being compared only by identify (`===`).\n\t *\n\t * @param {*} o1 Object or value to compare.\n\t * @param {*} o2 Object or value to compare.\n\t * @returns {boolean} True if arguments are equal.\n\t */\n\tfunction equals(o1, o2) {\n\t if (o1 === o2) return true;\n\t if (o1 === null || o2 === null) return false;\n\t if (o1 !== o1 && o2 !== o2) return true; // NaN === NaN\n\t var t1 = typeof o1, t2 = typeof o2, length, key, keySet;\n\t if (t1 == t2) {\n\t if (t1 == 'object') {\n\t if (isArray(o1)) {\n\t if (!isArray(o2)) return false;\n\t if ((length = o1.length) == o2.length) {\n\t for (key = 0; key < length; key++) {\n\t if (!equals(o1[key], o2[key])) return false;\n\t }\n\t return true;\n\t }\n\t } else if (isDate(o1)) {\n\t if (!isDate(o2)) return false;\n\t return equals(o1.getTime(), o2.getTime());\n\t } else if (isRegExp(o1)) {\n\t return isRegExp(o2) ? o1.toString() == o2.toString() : false;\n\t } else {\n\t if (isScope(o1) || isScope(o2) || isWindow(o1) || isWindow(o2) ||\n\t isArray(o2) || isDate(o2) || isRegExp(o2)) return false;\n\t keySet = {};\n\t for (key in o1) {\n\t if (key.charAt(0) === '$' || isFunction(o1[key])) continue;\n\t if (!equals(o1[key], o2[key])) return false;\n\t keySet[key] = true;\n\t }\n\t for (key in o2) {\n\t if (!keySet.hasOwnProperty(key) &&\n\t key.charAt(0) !== '$' &&\n\t o2[key] !== undefined &&\n\t !isFunction(o2[key])) return false;\n\t }\n\t return true;\n\t }\n\t }\n\t }\n\t return false;\n\t}\n\t\n\tvar csp = function() {\n\t if (isDefined(csp.isActive_)) return csp.isActive_;\n\t\n\t var active = !!(document.querySelector('[ng-csp]') ||\n\t document.querySelector('[data-ng-csp]'));\n\t\n\t if (!active) {\n\t try {\n\t /* jshint -W031, -W054 */\n\t new Function('');\n\t /* jshint +W031, +W054 */\n\t } catch (e) {\n\t active = true;\n\t }\n\t }\n\t\n\t return (csp.isActive_ = active);\n\t};\n\t\n\t\n\t\n\tfunction concat(array1, array2, index) {\n\t return array1.concat(slice.call(array2, index));\n\t}\n\t\n\tfunction sliceArgs(args, startIndex) {\n\t return slice.call(args, startIndex || 0);\n\t}\n\t\n\t\n\t/* jshint -W101 */\n\t/**\n\t * @ngdoc function\n\t * @name angular.bind\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description\n\t * Returns a function which calls function `fn` bound to `self` (`self` becomes the `this` for\n\t * `fn`). You can supply optional `args` that are prebound to the function. This feature is also\n\t * known as [partial application](http://en.wikipedia.org/wiki/Partial_application), as\n\t * distinguished from [function currying](http://en.wikipedia.org/wiki/Currying#Contrast_with_partial_function_application).\n\t *\n\t * @param {Object} self Context which `fn` should be evaluated in.\n\t * @param {function()} fn Function to be bound.\n\t * @param {...*} args Optional arguments to be prebound to the `fn` function call.\n\t * @returns {function()} Function that wraps the `fn` with all the specified bindings.\n\t */\n\t/* jshint +W101 */\n\tfunction bind(self, fn) {\n\t var curryArgs = arguments.length > 2 ? sliceArgs(arguments, 2) : [];\n\t if (isFunction(fn) && !(fn instanceof RegExp)) {\n\t return curryArgs.length\n\t ? function() {\n\t return arguments.length\n\t ? fn.apply(self, concat(curryArgs, arguments, 0))\n\t : fn.apply(self, curryArgs);\n\t }\n\t : function() {\n\t return arguments.length\n\t ? fn.apply(self, arguments)\n\t : fn.call(self);\n\t };\n\t } else {\n\t // in IE, native methods are not functions so they cannot be bound (note: they don't need to be)\n\t return fn;\n\t }\n\t}\n\t\n\t\n\tfunction toJsonReplacer(key, value) {\n\t var val = value;\n\t\n\t if (typeof key === 'string' && key.charAt(0) === '$' && key.charAt(1) === '$') {\n\t val = undefined;\n\t } else if (isWindow(value)) {\n\t val = '$WINDOW';\n\t } else if (value && document === value) {\n\t val = '$DOCUMENT';\n\t } else if (isScope(value)) {\n\t val = '$SCOPE';\n\t }\n\t\n\t return val;\n\t}\n\t\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.toJson\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description\n\t * Serializes input into a JSON-formatted string. Properties with leading $$ characters will be\n\t * stripped since angular uses this notation internally.\n\t *\n\t * @param {Object|Array|Date|string|number} obj Input to be serialized into JSON.\n\t * @param {boolean|number} [pretty=2] If set to true, the JSON output will contain newlines and whitespace.\n\t * If set to an integer, the JSON output will contain that many spaces per indentation.\n\t * @returns {string|undefined} JSON-ified string representing `obj`.\n\t */\n\tfunction toJson(obj, pretty) {\n\t if (typeof obj === 'undefined') return undefined;\n\t if (!isNumber(pretty)) {\n\t pretty = pretty ? 2 : null;\n\t }\n\t return JSON.stringify(obj, toJsonReplacer, pretty);\n\t}\n\t\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.fromJson\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description\n\t * Deserializes a JSON string.\n\t *\n\t * @param {string} json JSON string to deserialize.\n\t * @returns {Object|Array|string|number} Deserialized JSON string.\n\t */\n\tfunction fromJson(json) {\n\t return isString(json)\n\t ? JSON.parse(json)\n\t : json;\n\t}\n\t\n\t\n\t/**\n\t * @returns {string} Returns the string representation of the element.\n\t */\n\tfunction startingTag(element) {\n\t element = jqLite(element).clone();\n\t try {\n\t // turns out IE does not let you set .html() on elements which\n\t // are not allowed to have children. So we just ignore it.\n\t element.empty();\n\t } catch (e) {}\n\t var elemHtml = jqLite('
').append(element).html();\n\t try {\n\t return element[0].nodeType === NODE_TYPE_TEXT ? lowercase(elemHtml) :\n\t elemHtml.\n\t match(/^(<[^>]+>)/)[1].\n\t replace(/^<([\\w\\-]+)/, function(match, nodeName) { return '<' + lowercase(nodeName); });\n\t } catch (e) {\n\t return lowercase(elemHtml);\n\t }\n\t\n\t}\n\t\n\t\n\t/////////////////////////////////////////////////\n\t\n\t/**\n\t * Tries to decode the URI component without throwing an exception.\n\t *\n\t * @private\n\t * @param str value potential URI component to check.\n\t * @returns {boolean} True if `value` can be decoded\n\t * with the decodeURIComponent function.\n\t */\n\tfunction tryDecodeURIComponent(value) {\n\t try {\n\t return decodeURIComponent(value);\n\t } catch (e) {\n\t // Ignore any invalid uri component\n\t }\n\t}\n\t\n\t\n\t/**\n\t * Parses an escaped url query string into key-value pairs.\n\t * @returns {Object.}\n\t */\n\tfunction parseKeyValue(/**string*/keyValue) {\n\t var obj = {}, key_value, key;\n\t forEach((keyValue || \"\").split('&'), function(keyValue) {\n\t if (keyValue) {\n\t key_value = keyValue.replace(/\\+/g,'%20').split('=');\n\t key = tryDecodeURIComponent(key_value[0]);\n\t if (isDefined(key)) {\n\t var val = isDefined(key_value[1]) ? tryDecodeURIComponent(key_value[1]) : true;\n\t if (!hasOwnProperty.call(obj, key)) {\n\t obj[key] = val;\n\t } else if (isArray(obj[key])) {\n\t obj[key].push(val);\n\t } else {\n\t obj[key] = [obj[key],val];\n\t }\n\t }\n\t }\n\t });\n\t return obj;\n\t}\n\t\n\tfunction toKeyValue(obj) {\n\t var parts = [];\n\t forEach(obj, function(value, key) {\n\t if (isArray(value)) {\n\t forEach(value, function(arrayValue) {\n\t parts.push(encodeUriQuery(key, true) +\n\t (arrayValue === true ? '' : '=' + encodeUriQuery(arrayValue, true)));\n\t });\n\t } else {\n\t parts.push(encodeUriQuery(key, true) +\n\t (value === true ? '' : '=' + encodeUriQuery(value, true)));\n\t }\n\t });\n\t return parts.length ? parts.join('&') : '';\n\t}\n\t\n\t\n\t/**\n\t * We need our custom method because encodeURIComponent is too aggressive and doesn't follow\n\t * http://www.ietf.org/rfc/rfc3986.txt with regards to the character set (pchar) allowed in path\n\t * segments:\n\t * segment = *pchar\n\t * pchar = unreserved / pct-encoded / sub-delims / \":\" / \"@\"\n\t * pct-encoded = \"%\" HEXDIG HEXDIG\n\t * unreserved = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\n\t * sub-delims = \"!\" / \"$\" / \"&\" / \"'\" / \"(\" / \")\"\n\t * / \"*\" / \"+\" / \",\" / \";\" / \"=\"\n\t */\n\tfunction encodeUriSegment(val) {\n\t return encodeUriQuery(val, true).\n\t replace(/%26/gi, '&').\n\t replace(/%3D/gi, '=').\n\t replace(/%2B/gi, '+');\n\t}\n\t\n\t\n\t/**\n\t * This method is intended for encoding *key* or *value* parts of query component. We need a custom\n\t * method because encodeURIComponent is too aggressive and encodes stuff that doesn't have to be\n\t * encoded per http://tools.ietf.org/html/rfc3986:\n\t * query = *( pchar / \"/\" / \"?\" )\n\t * pchar = unreserved / pct-encoded / sub-delims / \":\" / \"@\"\n\t * unreserved = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\n\t * pct-encoded = \"%\" HEXDIG HEXDIG\n\t * sub-delims = \"!\" / \"$\" / \"&\" / \"'\" / \"(\" / \")\"\n\t * / \"*\" / \"+\" / \",\" / \";\" / \"=\"\n\t */\n\tfunction encodeUriQuery(val, pctEncodeSpaces) {\n\t return encodeURIComponent(val).\n\t replace(/%40/gi, '@').\n\t replace(/%3A/gi, ':').\n\t replace(/%24/g, '$').\n\t replace(/%2C/gi, ',').\n\t replace(/%3B/gi, ';').\n\t replace(/%20/g, (pctEncodeSpaces ? '%20' : '+'));\n\t}\n\t\n\tvar ngAttrPrefixes = ['ng-', 'data-ng-', 'ng:', 'x-ng-'];\n\t\n\tfunction getNgAttribute(element, ngAttr) {\n\t var attr, i, ii = ngAttrPrefixes.length;\n\t element = jqLite(element);\n\t for (i = 0; i < ii; ++i) {\n\t attr = ngAttrPrefixes[i] + ngAttr;\n\t if (isString(attr = element.attr(attr))) {\n\t return attr;\n\t }\n\t }\n\t return null;\n\t}\n\t\n\t/**\n\t * @ngdoc directive\n\t * @name ngApp\n\t * @module ng\n\t *\n\t * @element ANY\n\t * @param {angular.Module} ngApp an optional application\n\t * {@link angular.module module} name to load.\n\t * @param {boolean=} ngStrictDi if this attribute is present on the app element, the injector will be\n\t * created in \"strict-di\" mode. This means that the application will fail to invoke functions which\n\t * do not use explicit function annotation (and are thus unsuitable for minification), as described\n\t * in {@link guide/di the Dependency Injection guide}, and useful debugging info will assist in\n\t * tracking down the root of these bugs.\n\t *\n\t * @description\n\t *\n\t * Use this directive to **auto-bootstrap** an AngularJS application. The `ngApp` directive\n\t * designates the **root element** of the application and is typically placed near the root element\n\t * of the page - e.g. on the `` or `` tags.\n\t *\n\t * Only one AngularJS application can be auto-bootstrapped per HTML document. The first `ngApp`\n\t * found in the document will be used to define the root element to auto-bootstrap as an\n\t * application. To run multiple applications in an HTML document you must manually bootstrap them using\n\t * {@link angular.bootstrap} instead. AngularJS applications cannot be nested within each other.\n\t *\n\t * You can specify an **AngularJS module** to be used as the root module for the application. This\n\t * module will be loaded into the {@link auto.$injector} when the application is bootstrapped. It\n\t * should contain the application code needed or have dependencies on other modules that will\n\t * contain the code. See {@link angular.module} for more information.\n\t *\n\t * In the example below if the `ngApp` directive were not placed on the `html` element then the\n\t * document would not be compiled, the `AppController` would not be instantiated and the `{{ a+b }}`\n\t * would not be resolved to `3`.\n\t *\n\t * `ngApp` is the easiest, and most common way to bootstrap an application.\n\t *\n\t \n\t \n\t
\n\t I can add: {{a}} + {{b}} = {{ a+b }}\n\t
\n\t
\n\t \n\t angular.module('ngAppDemo', []).controller('ngAppDemoController', function($scope) {\n\t $scope.a = 1;\n\t $scope.b = 2;\n\t });\n\t \n\t
\n\t *\n\t * Using `ngStrictDi`, you would see something like this:\n\t *\n\t \n\t \n\t
\n\t
\n\t I can add: {{a}} + {{b}} = {{ a+b }}\n\t\n\t

This renders because the controller does not fail to\n\t instantiate, by using explicit annotation style (see\n\t script.js for details)\n\t

\n\t
\n\t\n\t
\n\t Name:
\n\t Hello, {{name}}!\n\t\n\t

This renders because the controller does not fail to\n\t instantiate, by using explicit annotation style\n\t (see script.js for details)\n\t

\n\t
\n\t\n\t
\n\t I can add: {{a}} + {{b}} = {{ a+b }}\n\t\n\t

The controller could not be instantiated, due to relying\n\t on automatic function annotations (which are disabled in\n\t strict mode). As such, the content of this section is not\n\t interpolated, and there should be an error in your web console.\n\t

\n\t
\n\t
\n\t
\n\t \n\t angular.module('ngAppStrictDemo', [])\n\t // BadController will fail to instantiate, due to relying on automatic function annotation,\n\t // rather than an explicit annotation\n\t .controller('BadController', function($scope) {\n\t $scope.a = 1;\n\t $scope.b = 2;\n\t })\n\t // Unlike BadController, GoodController1 and GoodController2 will not fail to be instantiated,\n\t // due to using explicit annotations using the array style and $inject property, respectively.\n\t .controller('GoodController1', ['$scope', function($scope) {\n\t $scope.a = 1;\n\t $scope.b = 2;\n\t }])\n\t .controller('GoodController2', GoodController2);\n\t function GoodController2($scope) {\n\t $scope.name = \"World\";\n\t }\n\t GoodController2.$inject = ['$scope'];\n\t \n\t \n\t div[ng-controller] {\n\t margin-bottom: 1em;\n\t -webkit-border-radius: 4px;\n\t border-radius: 4px;\n\t border: 1px solid;\n\t padding: .5em;\n\t }\n\t div[ng-controller^=Good] {\n\t border-color: #d6e9c6;\n\t background-color: #dff0d8;\n\t color: #3c763d;\n\t }\n\t div[ng-controller^=Bad] {\n\t border-color: #ebccd1;\n\t background-color: #f2dede;\n\t color: #a94442;\n\t margin-bottom: 0;\n\t }\n\t \n\t
\n\t */\n\tfunction angularInit(element, bootstrap) {\n\t var appElement,\n\t module,\n\t config = {};\n\t\n\t // The element `element` has priority over any other element\n\t forEach(ngAttrPrefixes, function(prefix) {\n\t var name = prefix + 'app';\n\t\n\t if (!appElement && element.hasAttribute && element.hasAttribute(name)) {\n\t appElement = element;\n\t module = element.getAttribute(name);\n\t }\n\t });\n\t forEach(ngAttrPrefixes, function(prefix) {\n\t var name = prefix + 'app';\n\t var candidate;\n\t\n\t if (!appElement && (candidate = element.querySelector('[' + name.replace(':', '\\\\:') + ']'))) {\n\t appElement = candidate;\n\t module = candidate.getAttribute(name);\n\t }\n\t });\n\t if (appElement) {\n\t config.strictDi = getNgAttribute(appElement, \"strict-di\") !== null;\n\t bootstrap(appElement, module ? [module] : [], config);\n\t }\n\t}\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.bootstrap\n\t * @module ng\n\t * @description\n\t * Use this function to manually start up angular application.\n\t *\n\t * See: {@link guide/bootstrap Bootstrap}\n\t *\n\t * Note that Protractor based end-to-end tests cannot use this function to bootstrap manually.\n\t * They must use {@link ng.directive:ngApp ngApp}.\n\t *\n\t * Angular will detect if it has been loaded into the browser more than once and only allow the\n\t * first loaded script to be bootstrapped and will report a warning to the browser console for\n\t * each of the subsequent scripts. This prevents strange results in applications, where otherwise\n\t * multiple instances of Angular try to work on the DOM.\n\t *\n\t * ```html\n\t * \n\t * \n\t * \n\t *
\n\t * {{greeting}}\n\t *
\n\t *\n\t * \n\t * \n\t * \n\t * \n\t * ```\n\t *\n\t * @param {DOMElement} element DOM element which is the root of angular application.\n\t * @param {Array=} modules an array of modules to load into the application.\n\t * Each item in the array should be the name of a predefined module or a (DI annotated)\n\t * function that will be invoked by the injector as a `config` block.\n\t * See: {@link angular.module modules}\n\t * @param {Object=} config an object for defining configuration options for the application. The\n\t * following keys are supported:\n\t *\n\t * * `strictDi` - disable automatic function annotation for the application. This is meant to\n\t * assist in finding bugs which break minified code. Defaults to `false`.\n\t *\n\t * @returns {auto.$injector} Returns the newly created injector for this app.\n\t */\n\tfunction bootstrap(element, modules, config) {\n\t if (!isObject(config)) config = {};\n\t var defaultConfig = {\n\t strictDi: false\n\t };\n\t config = extend(defaultConfig, config);\n\t var doBootstrap = function() {\n\t element = jqLite(element);\n\t\n\t if (element.injector()) {\n\t var tag = (element[0] === document) ? 'document' : startingTag(element);\n\t //Encode angle brackets to prevent input from being sanitized to empty string #8683\n\t throw ngMinErr(\n\t 'btstrpd',\n\t \"App Already Bootstrapped with this Element '{0}'\",\n\t tag.replace(//,'>'));\n\t }\n\t\n\t modules = modules || [];\n\t modules.unshift(['$provide', function($provide) {\n\t $provide.value('$rootElement', element);\n\t }]);\n\t\n\t if (config.debugInfoEnabled) {\n\t // Pushing so that this overrides `debugInfoEnabled` setting defined in user's `modules`.\n\t modules.push(['$compileProvider', function($compileProvider) {\n\t $compileProvider.debugInfoEnabled(true);\n\t }]);\n\t }\n\t\n\t modules.unshift('ng');\n\t var injector = createInjector(modules, config.strictDi);\n\t injector.invoke(['$rootScope', '$rootElement', '$compile', '$injector',\n\t function bootstrapApply(scope, element, compile, injector) {\n\t scope.$apply(function() {\n\t element.data('$injector', injector);\n\t compile(element)(scope);\n\t });\n\t }]\n\t );\n\t return injector;\n\t };\n\t\n\t var NG_ENABLE_DEBUG_INFO = /^NG_ENABLE_DEBUG_INFO!/;\n\t var NG_DEFER_BOOTSTRAP = /^NG_DEFER_BOOTSTRAP!/;\n\t\n\t if (window && NG_ENABLE_DEBUG_INFO.test(window.name)) {\n\t config.debugInfoEnabled = true;\n\t window.name = window.name.replace(NG_ENABLE_DEBUG_INFO, '');\n\t }\n\t\n\t if (window && !NG_DEFER_BOOTSTRAP.test(window.name)) {\n\t return doBootstrap();\n\t }\n\t\n\t window.name = window.name.replace(NG_DEFER_BOOTSTRAP, '');\n\t angular.resumeBootstrap = function(extraModules) {\n\t forEach(extraModules, function(module) {\n\t modules.push(module);\n\t });\n\t return doBootstrap();\n\t };\n\t\n\t if (isFunction(angular.resumeDeferredBootstrap)) {\n\t angular.resumeDeferredBootstrap();\n\t }\n\t}\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.reloadWithDebugInfo\n\t * @module ng\n\t * @description\n\t * Use this function to reload the current application with debug information turned on.\n\t * This takes precedence over a call to `$compileProvider.debugInfoEnabled(false)`.\n\t *\n\t * See {@link ng.$compileProvider#debugInfoEnabled} for more.\n\t */\n\tfunction reloadWithDebugInfo() {\n\t window.name = 'NG_ENABLE_DEBUG_INFO!' + window.name;\n\t window.location.reload();\n\t}\n\t\n\t/**\n\t * @name angular.getTestability\n\t * @module ng\n\t * @description\n\t * Get the testability service for the instance of Angular on the given\n\t * element.\n\t * @param {DOMElement} element DOM element which is the root of angular application.\n\t */\n\tfunction getTestability(rootElement) {\n\t var injector = angular.element(rootElement).injector();\n\t if (!injector) {\n\t throw ngMinErr('test',\n\t 'no injector found for element argument to getTestability');\n\t }\n\t return injector.get('$$testability');\n\t}\n\t\n\tvar SNAKE_CASE_REGEXP = /[A-Z]/g;\n\tfunction snake_case(name, separator) {\n\t separator = separator || '_';\n\t return name.replace(SNAKE_CASE_REGEXP, function(letter, pos) {\n\t return (pos ? separator : '') + letter.toLowerCase();\n\t });\n\t}\n\t\n\tvar bindJQueryFired = false;\n\tvar skipDestroyOnNextJQueryCleanData;\n\tfunction bindJQuery() {\n\t var originalCleanData;\n\t\n\t if (bindJQueryFired) {\n\t return;\n\t }\n\t\n\t // bind to jQuery if present;\n\t jQuery = window.jQuery;\n\t // Use jQuery if it exists with proper functionality, otherwise default to us.\n\t // Angular 1.2+ requires jQuery 1.7+ for on()/off() support.\n\t // Angular 1.3+ technically requires at least jQuery 2.1+ but it may work with older\n\t // versions. It will not work for sure with jQuery <1.7, though.\n\t if (jQuery && jQuery.fn.on) {\n\t jqLite = jQuery;\n\t extend(jQuery.fn, {\n\t scope: JQLitePrototype.scope,\n\t isolateScope: JQLitePrototype.isolateScope,\n\t controller: JQLitePrototype.controller,\n\t injector: JQLitePrototype.injector,\n\t inheritedData: JQLitePrototype.inheritedData\n\t });\n\t\n\t // All nodes removed from the DOM via various jQuery APIs like .remove()\n\t // are passed through jQuery.cleanData. Monkey-patch this method to fire\n\t // the $destroy event on all removed nodes.\n\t originalCleanData = jQuery.cleanData;\n\t jQuery.cleanData = function(elems) {\n\t var events;\n\t if (!skipDestroyOnNextJQueryCleanData) {\n\t for (var i = 0, elem; (elem = elems[i]) != null; i++) {\n\t events = jQuery._data(elem, \"events\");\n\t if (events && events.$destroy) {\n\t jQuery(elem).triggerHandler('$destroy');\n\t }\n\t }\n\t } else {\n\t skipDestroyOnNextJQueryCleanData = false;\n\t }\n\t originalCleanData(elems);\n\t };\n\t } else {\n\t jqLite = JQLite;\n\t }\n\t\n\t angular.element = jqLite;\n\t\n\t // Prevent double-proxying.\n\t bindJQueryFired = true;\n\t}\n\t\n\t/**\n\t * throw error if the argument is falsy.\n\t */\n\tfunction assertArg(arg, name, reason) {\n\t if (!arg) {\n\t throw ngMinErr('areq', \"Argument '{0}' is {1}\", (name || '?'), (reason || \"required\"));\n\t }\n\t return arg;\n\t}\n\t\n\tfunction assertArgFn(arg, name, acceptArrayAnnotation) {\n\t if (acceptArrayAnnotation && isArray(arg)) {\n\t arg = arg[arg.length - 1];\n\t }\n\t\n\t assertArg(isFunction(arg), name, 'not a function, got ' +\n\t (arg && typeof arg === 'object' ? arg.constructor.name || 'Object' : typeof arg));\n\t return arg;\n\t}\n\t\n\t/**\n\t * throw error if the name given is hasOwnProperty\n\t * @param {String} name the name to test\n\t * @param {String} context the context in which the name is used, such as module or directive\n\t */\n\tfunction assertNotHasOwnProperty(name, context) {\n\t if (name === 'hasOwnProperty') {\n\t throw ngMinErr('badname', \"hasOwnProperty is not a valid {0} name\", context);\n\t }\n\t}\n\t\n\t/**\n\t * Return the value accessible from the object by path. Any undefined traversals are ignored\n\t * @param {Object} obj starting object\n\t * @param {String} path path to traverse\n\t * @param {boolean} [bindFnToScope=true]\n\t * @returns {Object} value as accessible by path\n\t */\n\t//TODO(misko): this function needs to be removed\n\tfunction getter(obj, path, bindFnToScope) {\n\t if (!path) return obj;\n\t var keys = path.split('.');\n\t var key;\n\t var lastInstance = obj;\n\t var len = keys.length;\n\t\n\t for (var i = 0; i < len; i++) {\n\t key = keys[i];\n\t if (obj) {\n\t obj = (lastInstance = obj)[key];\n\t }\n\t }\n\t if (!bindFnToScope && isFunction(obj)) {\n\t return bind(lastInstance, obj);\n\t }\n\t return obj;\n\t}\n\t\n\t/**\n\t * Return the DOM siblings between the first and last node in the given array.\n\t * @param {Array} array like object\n\t * @returns {jqLite} jqLite collection containing the nodes\n\t */\n\tfunction getBlockNodes(nodes) {\n\t // TODO(perf): just check if all items in `nodes` are siblings and if they are return the original\n\t // collection, otherwise update the original collection.\n\t var node = nodes[0];\n\t var endNode = nodes[nodes.length - 1];\n\t var blockNodes = [node];\n\t\n\t do {\n\t node = node.nextSibling;\n\t if (!node) break;\n\t blockNodes.push(node);\n\t } while (node !== endNode);\n\t\n\t return jqLite(blockNodes);\n\t}\n\t\n\t\n\t/**\n\t * Creates a new object without a prototype. This object is useful for lookup without having to\n\t * guard against prototypically inherited properties via hasOwnProperty.\n\t *\n\t * Related micro-benchmarks:\n\t * - http://jsperf.com/object-create2\n\t * - http://jsperf.com/proto-map-lookup/2\n\t * - http://jsperf.com/for-in-vs-object-keys2\n\t *\n\t * @returns {Object}\n\t */\n\tfunction createMap() {\n\t return Object.create(null);\n\t}\n\t\n\tvar NODE_TYPE_ELEMENT = 1;\n\tvar NODE_TYPE_ATTRIBUTE = 2;\n\tvar NODE_TYPE_TEXT = 3;\n\tvar NODE_TYPE_COMMENT = 8;\n\tvar NODE_TYPE_DOCUMENT = 9;\n\tvar NODE_TYPE_DOCUMENT_FRAGMENT = 11;\n\t\n\t/**\n\t * @ngdoc type\n\t * @name angular.Module\n\t * @module ng\n\t * @description\n\t *\n\t * Interface for configuring angular {@link angular.module modules}.\n\t */\n\t\n\tfunction setupModuleLoader(window) {\n\t\n\t var $injectorMinErr = minErr('$injector');\n\t var ngMinErr = minErr('ng');\n\t\n\t function ensure(obj, name, factory) {\n\t return obj[name] || (obj[name] = factory());\n\t }\n\t\n\t var angular = ensure(window, 'angular', Object);\n\t\n\t // We need to expose `angular.$$minErr` to modules such as `ngResource` that reference it during bootstrap\n\t angular.$$minErr = angular.$$minErr || minErr;\n\t\n\t return ensure(angular, 'module', function() {\n\t /** @type {Object.} */\n\t var modules = {};\n\t\n\t /**\n\t * @ngdoc function\n\t * @name angular.module\n\t * @module ng\n\t * @description\n\t *\n\t * The `angular.module` is a global place for creating, registering and retrieving Angular\n\t * modules.\n\t * All modules (angular core or 3rd party) that should be available to an application must be\n\t * registered using this mechanism.\n\t *\n\t * When passed two or more arguments, a new module is created. If passed only one argument, an\n\t * existing module (the name passed as the first argument to `module`) is retrieved.\n\t *\n\t *\n\t * # Module\n\t *\n\t * A module is a collection of services, directives, controllers, filters, and configuration information.\n\t * `angular.module` is used to configure the {@link auto.$injector $injector}.\n\t *\n\t * ```js\n\t * // Create a new module\n\t * var myModule = angular.module('myModule', []);\n\t *\n\t * // register a new service\n\t * myModule.value('appName', 'MyCoolApp');\n\t *\n\t * // configure existing services inside initialization blocks.\n\t * myModule.config(['$locationProvider', function($locationProvider) {\n\t * // Configure existing providers\n\t * $locationProvider.hashPrefix('!');\n\t * }]);\n\t * ```\n\t *\n\t * Then you can create an injector and load your modules like this:\n\t *\n\t * ```js\n\t * var injector = angular.injector(['ng', 'myModule'])\n\t * ```\n\t *\n\t * However it's more likely that you'll just use\n\t * {@link ng.directive:ngApp ngApp} or\n\t * {@link angular.bootstrap} to simplify this process for you.\n\t *\n\t * @param {!string} name The name of the module to create or retrieve.\n\t * @param {!Array.=} requires If specified then new module is being created. If\n\t * unspecified then the module is being retrieved for further configuration.\n\t * @param {Function=} configFn Optional configuration function for the module. Same as\n\t * {@link angular.Module#config Module#config()}.\n\t * @returns {module} new module with the {@link angular.Module} api.\n\t */\n\t return function module(name, requires, configFn) {\n\t var assertNotHasOwnProperty = function(name, context) {\n\t if (name === 'hasOwnProperty') {\n\t throw ngMinErr('badname', 'hasOwnProperty is not a valid {0} name', context);\n\t }\n\t };\n\t\n\t assertNotHasOwnProperty(name, 'module');\n\t if (requires && modules.hasOwnProperty(name)) {\n\t modules[name] = null;\n\t }\n\t return ensure(modules, name, function() {\n\t if (!requires) {\n\t throw $injectorMinErr('nomod', \"Module '{0}' is not available! You either misspelled \" +\n\t \"the module name or forgot to load it. If registering a module ensure that you \" +\n\t \"specify the dependencies as the second argument.\", name);\n\t }\n\t\n\t /** @type {!Array.>} */\n\t var invokeQueue = [];\n\t\n\t /** @type {!Array.} */\n\t var configBlocks = [];\n\t\n\t /** @type {!Array.} */\n\t var runBlocks = [];\n\t\n\t var config = invokeLater('$injector', 'invoke', 'push', configBlocks);\n\t\n\t /** @type {angular.Module} */\n\t var moduleInstance = {\n\t // Private state\n\t _invokeQueue: invokeQueue,\n\t _configBlocks: configBlocks,\n\t _runBlocks: runBlocks,\n\t\n\t /**\n\t * @ngdoc property\n\t * @name angular.Module#requires\n\t * @module ng\n\t *\n\t * @description\n\t * Holds the list of modules which the injector will load before the current module is\n\t * loaded.\n\t */\n\t requires: requires,\n\t\n\t /**\n\t * @ngdoc property\n\t * @name angular.Module#name\n\t * @module ng\n\t *\n\t * @description\n\t * Name of the module.\n\t */\n\t name: name,\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name angular.Module#provider\n\t * @module ng\n\t * @param {string} name service name\n\t * @param {Function} providerType Construction function for creating new instance of the\n\t * service.\n\t * @description\n\t * See {@link auto.$provide#provider $provide.provider()}.\n\t */\n\t provider: invokeLater('$provide', 'provider'),\n\t\n\t /**\n\t * @ngdoc method\n\t * @name angular.Module#factory\n\t * @module ng\n\t * @param {string} name service name\n\t * @param {Function} providerFunction Function for creating new instance of the service.\n\t * @description\n\t * See {@link auto.$provide#factory $provide.factory()}.\n\t */\n\t factory: invokeLater('$provide', 'factory'),\n\t\n\t /**\n\t * @ngdoc method\n\t * @name angular.Module#service\n\t * @module ng\n\t * @param {string} name service name\n\t * @param {Function} constructor A constructor function that will be instantiated.\n\t * @description\n\t * See {@link auto.$provide#service $provide.service()}.\n\t */\n\t service: invokeLater('$provide', 'service'),\n\t\n\t /**\n\t * @ngdoc method\n\t * @name angular.Module#value\n\t * @module ng\n\t * @param {string} name service name\n\t * @param {*} object Service instance object.\n\t * @description\n\t * See {@link auto.$provide#value $provide.value()}.\n\t */\n\t value: invokeLater('$provide', 'value'),\n\t\n\t /**\n\t * @ngdoc method\n\t * @name angular.Module#constant\n\t * @module ng\n\t * @param {string} name constant name\n\t * @param {*} object Constant value.\n\t * @description\n\t * Because the constant are fixed, they get applied before other provide methods.\n\t * See {@link auto.$provide#constant $provide.constant()}.\n\t */\n\t constant: invokeLater('$provide', 'constant', 'unshift'),\n\t\n\t /**\n\t * @ngdoc method\n\t * @name angular.Module#animation\n\t * @module ng\n\t * @param {string} name animation name\n\t * @param {Function} animationFactory Factory function for creating new instance of an\n\t * animation.\n\t * @description\n\t *\n\t * **NOTE**: animations take effect only if the **ngAnimate** module is loaded.\n\t *\n\t *\n\t * Defines an animation hook that can be later used with\n\t * {@link ngAnimate.$animate $animate} service and directives that use this service.\n\t *\n\t * ```js\n\t * module.animation('.animation-name', function($inject1, $inject2) {\n\t * return {\n\t * eventName : function(element, done) {\n\t * //code to run the animation\n\t * //once complete, then run done()\n\t * return function cancellationFunction(element) {\n\t * //code to cancel the animation\n\t * }\n\t * }\n\t * }\n\t * })\n\t * ```\n\t *\n\t * See {@link ng.$animateProvider#register $animateProvider.register()} and\n\t * {@link ngAnimate ngAnimate module} for more information.\n\t */\n\t animation: invokeLater('$animateProvider', 'register'),\n\t\n\t /**\n\t * @ngdoc method\n\t * @name angular.Module#filter\n\t * @module ng\n\t * @param {string} name Filter name - this must be a valid angular expression identifier\n\t * @param {Function} filterFactory Factory function for creating new instance of filter.\n\t * @description\n\t * See {@link ng.$filterProvider#register $filterProvider.register()}.\n\t *\n\t *
\n\t * **Note:** Filter names must be valid angular {@link expression} identifiers, such as `uppercase` or `orderBy`.\n\t * Names with special characters, such as hyphens and dots, are not allowed. If you wish to namespace\n\t * your filters, then you can use capitalization (`myappSubsectionFilterx`) or underscores\n\t * (`myapp_subsection_filterx`).\n\t *
\n\t */\n\t filter: invokeLater('$filterProvider', 'register'),\n\t\n\t /**\n\t * @ngdoc method\n\t * @name angular.Module#controller\n\t * @module ng\n\t * @param {string|Object} name Controller name, or an object map of controllers where the\n\t * keys are the names and the values are the constructors.\n\t * @param {Function} constructor Controller constructor function.\n\t * @description\n\t * See {@link ng.$controllerProvider#register $controllerProvider.register()}.\n\t */\n\t controller: invokeLater('$controllerProvider', 'register'),\n\t\n\t /**\n\t * @ngdoc method\n\t * @name angular.Module#directive\n\t * @module ng\n\t * @param {string|Object} name Directive name, or an object map of directives where the\n\t * keys are the names and the values are the factories.\n\t * @param {Function} directiveFactory Factory function for creating new instance of\n\t * directives.\n\t * @description\n\t * See {@link ng.$compileProvider#directive $compileProvider.directive()}.\n\t */\n\t directive: invokeLater('$compileProvider', 'directive'),\n\t\n\t /**\n\t * @ngdoc method\n\t * @name angular.Module#config\n\t * @module ng\n\t * @param {Function} configFn Execute this function on module load. Useful for service\n\t * configuration.\n\t * @description\n\t * Use this method to register work which needs to be performed on module loading.\n\t * For more about how to configure services, see\n\t * {@link providers#provider-recipe Provider Recipe}.\n\t */\n\t config: config,\n\t\n\t /**\n\t * @ngdoc method\n\t * @name angular.Module#run\n\t * @module ng\n\t * @param {Function} initializationFn Execute this function after injector creation.\n\t * Useful for application initialization.\n\t * @description\n\t * Use this method to register work which should be performed when the injector is done\n\t * loading all modules.\n\t */\n\t run: function(block) {\n\t runBlocks.push(block);\n\t return this;\n\t }\n\t };\n\t\n\t if (configFn) {\n\t config(configFn);\n\t }\n\t\n\t return moduleInstance;\n\t\n\t /**\n\t * @param {string} provider\n\t * @param {string} method\n\t * @param {String=} insertMethod\n\t * @returns {angular.Module}\n\t */\n\t function invokeLater(provider, method, insertMethod, queue) {\n\t if (!queue) queue = invokeQueue;\n\t return function() {\n\t queue[insertMethod || 'push']([provider, method, arguments]);\n\t return moduleInstance;\n\t };\n\t }\n\t });\n\t };\n\t });\n\t\n\t}\n\t\n\t/* global: toDebugString: true */\n\t\n\tfunction serializeObject(obj) {\n\t var seen = [];\n\t\n\t return JSON.stringify(obj, function(key, val) {\n\t val = toJsonReplacer(key, val);\n\t if (isObject(val)) {\n\t\n\t if (seen.indexOf(val) >= 0) return '<>';\n\t\n\t seen.push(val);\n\t }\n\t return val;\n\t });\n\t}\n\t\n\tfunction toDebugString(obj) {\n\t if (typeof obj === 'function') {\n\t return obj.toString().replace(/ \\{[\\s\\S]*$/, '');\n\t } else if (typeof obj === 'undefined') {\n\t return 'undefined';\n\t } else if (typeof obj !== 'string') {\n\t return serializeObject(obj);\n\t }\n\t return obj;\n\t}\n\t\n\t/* global angularModule: true,\n\t version: true,\n\t\n\t $LocaleProvider,\n\t $CompileProvider,\n\t\n\t htmlAnchorDirective,\n\t inputDirective,\n\t inputDirective,\n\t formDirective,\n\t scriptDirective,\n\t selectDirective,\n\t styleDirective,\n\t optionDirective,\n\t ngBindDirective,\n\t ngBindHtmlDirective,\n\t ngBindTemplateDirective,\n\t ngClassDirective,\n\t ngClassEvenDirective,\n\t ngClassOddDirective,\n\t ngCspDirective,\n\t ngCloakDirective,\n\t ngControllerDirective,\n\t ngFormDirective,\n\t ngHideDirective,\n\t ngIfDirective,\n\t ngIncludeDirective,\n\t ngIncludeFillContentDirective,\n\t ngInitDirective,\n\t ngNonBindableDirective,\n\t ngPluralizeDirective,\n\t ngRepeatDirective,\n\t ngShowDirective,\n\t ngStyleDirective,\n\t ngSwitchDirective,\n\t ngSwitchWhenDirective,\n\t ngSwitchDefaultDirective,\n\t ngOptionsDirective,\n\t ngTranscludeDirective,\n\t ngModelDirective,\n\t ngListDirective,\n\t ngChangeDirective,\n\t patternDirective,\n\t patternDirective,\n\t requiredDirective,\n\t requiredDirective,\n\t minlengthDirective,\n\t minlengthDirective,\n\t maxlengthDirective,\n\t maxlengthDirective,\n\t ngValueDirective,\n\t ngModelOptionsDirective,\n\t ngAttributeAliasDirectives,\n\t ngEventDirectives,\n\t\n\t $AnchorScrollProvider,\n\t $AnimateProvider,\n\t $BrowserProvider,\n\t $CacheFactoryProvider,\n\t $ControllerProvider,\n\t $DocumentProvider,\n\t $ExceptionHandlerProvider,\n\t $FilterProvider,\n\t $InterpolateProvider,\n\t $IntervalProvider,\n\t $HttpProvider,\n\t $HttpBackendProvider,\n\t $LocationProvider,\n\t $LogProvider,\n\t $ParseProvider,\n\t $RootScopeProvider,\n\t $QProvider,\n\t $$QProvider,\n\t $$SanitizeUriProvider,\n\t $SceProvider,\n\t $SceDelegateProvider,\n\t $SnifferProvider,\n\t $TemplateCacheProvider,\n\t $TemplateRequestProvider,\n\t $$TestabilityProvider,\n\t $TimeoutProvider,\n\t $$RAFProvider,\n\t $$AsyncCallbackProvider,\n\t $WindowProvider,\n\t $$jqLiteProvider\n\t*/\n\t\n\t\n\t/**\n\t * @ngdoc object\n\t * @name angular.version\n\t * @module ng\n\t * @description\n\t * An object that contains information about the current AngularJS version. This object has the\n\t * following properties:\n\t *\n\t * - `full` – `{string}` – Full version string, such as \"0.9.18\".\n\t * - `major` – `{number}` – Major version number, such as \"0\".\n\t * - `minor` – `{number}` – Minor version number, such as \"9\".\n\t * - `dot` – `{number}` – Dot version number, such as \"18\".\n\t * - `codeName` – `{string}` – Code name of the release, such as \"jiggling-armfat\".\n\t */\n\tvar version = {\n\t full: '1.3.17', // all of these placeholder strings will be replaced by grunt's\n\t major: 1, // package task\n\t minor: 3,\n\t dot: 17,\n\t codeName: 'tsktskskly-euouae'\n\t};\n\t\n\t\n\tfunction publishExternalAPI(angular) {\n\t extend(angular, {\n\t 'bootstrap': bootstrap,\n\t 'copy': copy,\n\t 'extend': extend,\n\t 'equals': equals,\n\t 'element': jqLite,\n\t 'forEach': forEach,\n\t 'injector': createInjector,\n\t 'noop': noop,\n\t 'bind': bind,\n\t 'toJson': toJson,\n\t 'fromJson': fromJson,\n\t 'identity': identity,\n\t 'isUndefined': isUndefined,\n\t 'isDefined': isDefined,\n\t 'isString': isString,\n\t 'isFunction': isFunction,\n\t 'isObject': isObject,\n\t 'isNumber': isNumber,\n\t 'isElement': isElement,\n\t 'isArray': isArray,\n\t 'version': version,\n\t 'isDate': isDate,\n\t 'lowercase': lowercase,\n\t 'uppercase': uppercase,\n\t 'callbacks': {counter: 0},\n\t 'getTestability': getTestability,\n\t '$$minErr': minErr,\n\t '$$csp': csp,\n\t 'reloadWithDebugInfo': reloadWithDebugInfo\n\t });\n\t\n\t angularModule = setupModuleLoader(window);\n\t try {\n\t angularModule('ngLocale');\n\t } catch (e) {\n\t angularModule('ngLocale', []).provider('$locale', $LocaleProvider);\n\t }\n\t\n\t angularModule('ng', ['ngLocale'], ['$provide',\n\t function ngModule($provide) {\n\t // $$sanitizeUriProvider needs to be before $compileProvider as it is used by it.\n\t $provide.provider({\n\t $$sanitizeUri: $$SanitizeUriProvider\n\t });\n\t $provide.provider('$compile', $CompileProvider).\n\t directive({\n\t a: htmlAnchorDirective,\n\t input: inputDirective,\n\t textarea: inputDirective,\n\t form: formDirective,\n\t script: scriptDirective,\n\t select: selectDirective,\n\t style: styleDirective,\n\t option: optionDirective,\n\t ngBind: ngBindDirective,\n\t ngBindHtml: ngBindHtmlDirective,\n\t ngBindTemplate: ngBindTemplateDirective,\n\t ngClass: ngClassDirective,\n\t ngClassEven: ngClassEvenDirective,\n\t ngClassOdd: ngClassOddDirective,\n\t ngCloak: ngCloakDirective,\n\t ngController: ngControllerDirective,\n\t ngForm: ngFormDirective,\n\t ngHide: ngHideDirective,\n\t ngIf: ngIfDirective,\n\t ngInclude: ngIncludeDirective,\n\t ngInit: ngInitDirective,\n\t ngNonBindable: ngNonBindableDirective,\n\t ngPluralize: ngPluralizeDirective,\n\t ngRepeat: ngRepeatDirective,\n\t ngShow: ngShowDirective,\n\t ngStyle: ngStyleDirective,\n\t ngSwitch: ngSwitchDirective,\n\t ngSwitchWhen: ngSwitchWhenDirective,\n\t ngSwitchDefault: ngSwitchDefaultDirective,\n\t ngOptions: ngOptionsDirective,\n\t ngTransclude: ngTranscludeDirective,\n\t ngModel: ngModelDirective,\n\t ngList: ngListDirective,\n\t ngChange: ngChangeDirective,\n\t pattern: patternDirective,\n\t ngPattern: patternDirective,\n\t required: requiredDirective,\n\t ngRequired: requiredDirective,\n\t minlength: minlengthDirective,\n\t ngMinlength: minlengthDirective,\n\t maxlength: maxlengthDirective,\n\t ngMaxlength: maxlengthDirective,\n\t ngValue: ngValueDirective,\n\t ngModelOptions: ngModelOptionsDirective\n\t }).\n\t directive({\n\t ngInclude: ngIncludeFillContentDirective\n\t }).\n\t directive(ngAttributeAliasDirectives).\n\t directive(ngEventDirectives);\n\t $provide.provider({\n\t $anchorScroll: $AnchorScrollProvider,\n\t $animate: $AnimateProvider,\n\t $browser: $BrowserProvider,\n\t $cacheFactory: $CacheFactoryProvider,\n\t $controller: $ControllerProvider,\n\t $document: $DocumentProvider,\n\t $exceptionHandler: $ExceptionHandlerProvider,\n\t $filter: $FilterProvider,\n\t $interpolate: $InterpolateProvider,\n\t $interval: $IntervalProvider,\n\t $http: $HttpProvider,\n\t $httpBackend: $HttpBackendProvider,\n\t $location: $LocationProvider,\n\t $log: $LogProvider,\n\t $parse: $ParseProvider,\n\t $rootScope: $RootScopeProvider,\n\t $q: $QProvider,\n\t $$q: $$QProvider,\n\t $sce: $SceProvider,\n\t $sceDelegate: $SceDelegateProvider,\n\t $sniffer: $SnifferProvider,\n\t $templateCache: $TemplateCacheProvider,\n\t $templateRequest: $TemplateRequestProvider,\n\t $$testability: $$TestabilityProvider,\n\t $timeout: $TimeoutProvider,\n\t $window: $WindowProvider,\n\t $$rAF: $$RAFProvider,\n\t $$asyncCallback: $$AsyncCallbackProvider,\n\t $$jqLite: $$jqLiteProvider\n\t });\n\t }\n\t ]);\n\t}\n\t\n\t/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n\t * Any commits to this file should be reviewed with security in mind. *\n\t * Changes to this file can potentially create security vulnerabilities. *\n\t * An approval from 2 Core members with history of modifying *\n\t * this file is required. *\n\t * *\n\t * Does the change somehow allow for arbitrary javascript to be executed? *\n\t * Or allows for someone to change the prototype of built-in objects? *\n\t * Or gives undesired access to variables likes document or window? *\n\t * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\t\n\t/* global JQLitePrototype: true,\n\t addEventListenerFn: true,\n\t removeEventListenerFn: true,\n\t BOOLEAN_ATTR: true,\n\t ALIASED_ATTR: true,\n\t*/\n\t\n\t//////////////////////////////////\n\t//JQLite\n\t//////////////////////////////////\n\t\n\t/**\n\t * @ngdoc function\n\t * @name angular.element\n\t * @module ng\n\t * @kind function\n\t *\n\t * @description\n\t * Wraps a raw DOM element or HTML string as a [jQuery](http://jquery.com) element.\n\t *\n\t * If jQuery is available, `angular.element` is an alias for the\n\t * [jQuery](http://api.jquery.com/jQuery/) function. If jQuery is not available, `angular.element`\n\t * delegates to Angular's built-in subset of jQuery, called \"jQuery lite\" or \"jqLite.\"\n\t *\n\t *
jqLite is a tiny, API-compatible subset of jQuery that allows\n\t * Angular to manipulate the DOM in a cross-browser compatible way. **jqLite** implements only the most\n\t * commonly needed functionality with the goal of having a very small footprint.
\n\t *\n\t * To use `jQuery`, simply ensure it is loaded before the `angular.js` file.\n\t *\n\t *
**Note:** all element references in Angular are always wrapped with jQuery or\n\t * jqLite; they are never raw DOM references.
\n\t *\n\t * ## Angular's jqLite\n\t * jqLite provides only the following jQuery methods:\n\t *\n\t * - [`addClass()`](http://api.jquery.com/addClass/)\n\t * - [`after()`](http://api.jquery.com/after/)\n\t * - [`append()`](http://api.jquery.com/append/)\n\t * - [`attr()`](http://api.jquery.com/attr/) - Does not support functions as parameters\n\t * - [`bind()`](http://api.jquery.com/bind/) - Does not support namespaces, selectors or eventData\n\t * - [`children()`](http://api.jquery.com/children/) - Does not support selectors\n\t * - [`clone()`](http://api.jquery.com/clone/)\n\t * - [`contents()`](http://api.jquery.com/contents/)\n\t * - [`css()`](http://api.jquery.com/css/) - Only retrieves inline-styles, does not call `getComputedStyle()`. As a setter, does not convert numbers to strings or append 'px'.\n\t * - [`data()`](http://api.jquery.com/data/)\n\t * - [`detach()`](http://api.jquery.com/detach/)\n\t * - [`empty()`](http://api.jquery.com/empty/)\n\t * - [`eq()`](http://api.jquery.com/eq/)\n\t * - [`find()`](http://api.jquery.com/find/) - Limited to lookups by tag name\n\t * - [`hasClass()`](http://api.jquery.com/hasClass/)\n\t * - [`html()`](http://api.jquery.com/html/)\n\t * - [`next()`](http://api.jquery.com/next/) - Does not support selectors\n\t * - [`on()`](http://api.jquery.com/on/) - Does not support namespaces, selectors or eventData\n\t * - [`off()`](http://api.jquery.com/off/) - Does not support namespaces or selectors\n\t * - [`one()`](http://api.jquery.com/one/) - Does not support namespaces or selectors\n\t * - [`parent()`](http://api.jquery.com/parent/) - Does not support selectors\n\t * - [`prepend()`](http://api.jquery.com/prepend/)\n\t * - [`prop()`](http://api.jquery.com/prop/)\n\t * - [`ready()`](http://api.jquery.com/ready/)\n\t * - [`remove()`](http://api.jquery.com/remove/)\n\t * - [`removeAttr()`](http://api.jquery.com/removeAttr/)\n\t * - [`removeClass()`](http://api.jquery.com/removeClass/)\n\t * - [`removeData()`](http://api.jquery.com/removeData/)\n\t * - [`replaceWith()`](http://api.jquery.com/replaceWith/)\n\t * - [`text()`](http://api.jquery.com/text/)\n\t * - [`toggleClass()`](http://api.jquery.com/toggleClass/)\n\t * - [`triggerHandler()`](http://api.jquery.com/triggerHandler/) - Passes a dummy event object to handlers.\n\t * - [`unbind()`](http://api.jquery.com/unbind/) - Does not support namespaces\n\t * - [`val()`](http://api.jquery.com/val/)\n\t * - [`wrap()`](http://api.jquery.com/wrap/)\n\t *\n\t * ## jQuery/jqLite Extras\n\t * Angular also provides the following additional methods and events to both jQuery and jqLite:\n\t *\n\t * ### Events\n\t * - `$destroy` - AngularJS intercepts all jqLite/jQuery's DOM destruction apis and fires this event\n\t * on all DOM nodes being removed. This can be used to clean up any 3rd party bindings to the DOM\n\t * element before it is removed.\n\t *\n\t * ### Methods\n\t * - `controller(name)` - retrieves the controller of the current element or its parent. By default\n\t * retrieves controller associated with the `ngController` directive. If `name` is provided as\n\t * camelCase directive name, then the controller for this directive will be retrieved (e.g.\n\t * `'ngModel'`).\n\t * - `injector()` - retrieves the injector of the current element or its parent.\n\t * - `scope()` - retrieves the {@link ng.$rootScope.Scope scope} of the current\n\t * element or its parent. Requires {@link guide/production#disabling-debug-data Debug Data} to\n\t * be enabled.\n\t * - `isolateScope()` - retrieves an isolate {@link ng.$rootScope.Scope scope} if one is attached directly to the\n\t * current element. This getter should be used only on elements that contain a directive which starts a new isolate\n\t * scope. Calling `scope()` on this element always returns the original non-isolate scope.\n\t * Requires {@link guide/production#disabling-debug-data Debug Data} to be enabled.\n\t * - `inheritedData()` - same as `data()`, but walks up the DOM until a value is found or the top\n\t * parent element is reached.\n\t *\n\t * @param {string|DOMElement} element HTML string or DOMElement to be wrapped into jQuery.\n\t * @returns {Object} jQuery object.\n\t */\n\t\n\tJQLite.expando = 'ng339';\n\t\n\tvar jqCache = JQLite.cache = {},\n\t jqId = 1,\n\t addEventListenerFn = function(element, type, fn) {\n\t element.addEventListener(type, fn, false);\n\t },\n\t removeEventListenerFn = function(element, type, fn) {\n\t element.removeEventListener(type, fn, false);\n\t };\n\t\n\t/*\n\t * !!! This is an undocumented \"private\" function !!!\n\t */\n\tJQLite._data = function(node) {\n\t //jQuery always returns an object on cache miss\n\t return this.cache[node[this.expando]] || {};\n\t};\n\t\n\tfunction jqNextId() { return ++jqId; }\n\t\n\t\n\tvar SPECIAL_CHARS_REGEXP = /([\\:\\-\\_]+(.))/g;\n\tvar MOZ_HACK_REGEXP = /^moz([A-Z])/;\n\tvar MOUSE_EVENT_MAP= { mouseleave: \"mouseout\", mouseenter: \"mouseover\"};\n\tvar jqLiteMinErr = minErr('jqLite');\n\t\n\t/**\n\t * Converts snake_case to camelCase.\n\t * Also there is special case for Moz prefix starting with upper case letter.\n\t * @param name Name to normalize\n\t */\n\tfunction camelCase(name) {\n\t return name.\n\t replace(SPECIAL_CHARS_REGEXP, function(_, separator, letter, offset) {\n\t return offset ? letter.toUpperCase() : letter;\n\t }).\n\t replace(MOZ_HACK_REGEXP, 'Moz$1');\n\t}\n\t\n\tvar SINGLE_TAG_REGEXP = /^<(\\w+)\\s*\\/?>(?:<\\/\\1>|)$/;\n\tvar HTML_REGEXP = /<|&#?\\w+;/;\n\tvar TAG_NAME_REGEXP = /<([\\w:]+)/;\n\tvar XHTML_TAG_REGEXP = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\\w:]+)[^>]*)\\/>/gi;\n\t\n\tvar wrapMap = {\n\t 'option': [1, ''],\n\t\n\t 'thead': [1, '', '
'],\n\t 'col': [2, '', '
'],\n\t 'tr': [2, '', '
'],\n\t 'td': [3, '', '
'],\n\t '_default': [0, \"\", \"\"]\n\t};\n\t\n\twrapMap.optgroup = wrapMap.option;\n\twrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;\n\twrapMap.th = wrapMap.td;\n\t\n\t\n\tfunction jqLiteIsTextNode(html) {\n\t return !HTML_REGEXP.test(html);\n\t}\n\t\n\tfunction jqLiteAcceptsData(node) {\n\t // The window object can accept data but has no nodeType\n\t // Otherwise we are only interested in elements (1) and documents (9)\n\t var nodeType = node.nodeType;\n\t return nodeType === NODE_TYPE_ELEMENT || !nodeType || nodeType === NODE_TYPE_DOCUMENT;\n\t}\n\t\n\tfunction jqLiteBuildFragment(html, context) {\n\t var tmp, tag, wrap,\n\t fragment = context.createDocumentFragment(),\n\t nodes = [], i;\n\t\n\t if (jqLiteIsTextNode(html)) {\n\t // Convert non-html into a text node\n\t nodes.push(context.createTextNode(html));\n\t } else {\n\t // Convert html into DOM nodes\n\t tmp = tmp || fragment.appendChild(context.createElement(\"div\"));\n\t tag = (TAG_NAME_REGEXP.exec(html) || [\"\", \"\"])[1].toLowerCase();\n\t wrap = wrapMap[tag] || wrapMap._default;\n\t tmp.innerHTML = wrap[1] + html.replace(XHTML_TAG_REGEXP, \"<$1>\") + wrap[2];\n\t\n\t // Descend through wrappers to the right content\n\t i = wrap[0];\n\t while (i--) {\n\t tmp = tmp.lastChild;\n\t }\n\t\n\t nodes = concat(nodes, tmp.childNodes);\n\t\n\t tmp = fragment.firstChild;\n\t tmp.textContent = \"\";\n\t }\n\t\n\t // Remove wrapper from fragment\n\t fragment.textContent = \"\";\n\t fragment.innerHTML = \"\"; // Clear inner HTML\n\t forEach(nodes, function(node) {\n\t fragment.appendChild(node);\n\t });\n\t\n\t return fragment;\n\t}\n\t\n\tfunction jqLiteParseHTML(html, context) {\n\t context = context || document;\n\t var parsed;\n\t\n\t if ((parsed = SINGLE_TAG_REGEXP.exec(html))) {\n\t return [context.createElement(parsed[1])];\n\t }\n\t\n\t if ((parsed = jqLiteBuildFragment(html, context))) {\n\t return parsed.childNodes;\n\t }\n\t\n\t return [];\n\t}\n\t\n\t/////////////////////////////////////////////\n\tfunction JQLite(element) {\n\t if (element instanceof JQLite) {\n\t return element;\n\t }\n\t\n\t var argIsString;\n\t\n\t if (isString(element)) {\n\t element = trim(element);\n\t argIsString = true;\n\t }\n\t if (!(this instanceof JQLite)) {\n\t if (argIsString && element.charAt(0) != '<') {\n\t throw jqLiteMinErr('nosel', 'Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element');\n\t }\n\t return new JQLite(element);\n\t }\n\t\n\t if (argIsString) {\n\t jqLiteAddNodes(this, jqLiteParseHTML(element));\n\t } else {\n\t jqLiteAddNodes(this, element);\n\t }\n\t}\n\t\n\tfunction jqLiteClone(element) {\n\t return element.cloneNode(true);\n\t}\n\t\n\tfunction jqLiteDealoc(element, onlyDescendants) {\n\t if (!onlyDescendants) jqLiteRemoveData(element);\n\t\n\t if (element.querySelectorAll) {\n\t var descendants = element.querySelectorAll('*');\n\t for (var i = 0, l = descendants.length; i < l; i++) {\n\t jqLiteRemoveData(descendants[i]);\n\t }\n\t }\n\t}\n\t\n\tfunction jqLiteOff(element, type, fn, unsupported) {\n\t if (isDefined(unsupported)) throw jqLiteMinErr('offargs', 'jqLite#off() does not support the `selector` argument');\n\t\n\t var expandoStore = jqLiteExpandoStore(element);\n\t var events = expandoStore && expandoStore.events;\n\t var handle = expandoStore && expandoStore.handle;\n\t\n\t if (!handle) return; //no listeners registered\n\t\n\t if (!type) {\n\t for (type in events) {\n\t if (type !== '$destroy') {\n\t removeEventListenerFn(element, type, handle);\n\t }\n\t delete events[type];\n\t }\n\t } else {\n\t forEach(type.split(' '), function(type) {\n\t if (isDefined(fn)) {\n\t var listenerFns = events[type];\n\t arrayRemove(listenerFns || [], fn);\n\t if (listenerFns && listenerFns.length > 0) {\n\t return;\n\t }\n\t }\n\t\n\t removeEventListenerFn(element, type, handle);\n\t delete events[type];\n\t });\n\t }\n\t}\n\t\n\tfunction jqLiteRemoveData(element, name) {\n\t var expandoId = element.ng339;\n\t var expandoStore = expandoId && jqCache[expandoId];\n\t\n\t if (expandoStore) {\n\t if (name) {\n\t delete expandoStore.data[name];\n\t return;\n\t }\n\t\n\t if (expandoStore.handle) {\n\t if (expandoStore.events.$destroy) {\n\t expandoStore.handle({}, '$destroy');\n\t }\n\t jqLiteOff(element);\n\t }\n\t delete jqCache[expandoId];\n\t element.ng339 = undefined; // don't delete DOM expandos. IE and Chrome don't like it\n\t }\n\t}\n\t\n\t\n\tfunction jqLiteExpandoStore(element, createIfNecessary) {\n\t var expandoId = element.ng339,\n\t expandoStore = expandoId && jqCache[expandoId];\n\t\n\t if (createIfNecessary && !expandoStore) {\n\t element.ng339 = expandoId = jqNextId();\n\t expandoStore = jqCache[expandoId] = {events: {}, data: {}, handle: undefined};\n\t }\n\t\n\t return expandoStore;\n\t}\n\t\n\t\n\tfunction jqLiteData(element, key, value) {\n\t if (jqLiteAcceptsData(element)) {\n\t\n\t var isSimpleSetter = isDefined(value);\n\t var isSimpleGetter = !isSimpleSetter && key && !isObject(key);\n\t var massGetter = !key;\n\t var expandoStore = jqLiteExpandoStore(element, !isSimpleGetter);\n\t var data = expandoStore && expandoStore.data;\n\t\n\t if (isSimpleSetter) { // data('key', value)\n\t data[key] = value;\n\t } else {\n\t if (massGetter) { // data()\n\t return data;\n\t } else {\n\t if (isSimpleGetter) { // data('key')\n\t // don't force creation of expandoStore if it doesn't exist yet\n\t return data && data[key];\n\t } else { // mass-setter: data({key1: val1, key2: val2})\n\t extend(data, key);\n\t }\n\t }\n\t }\n\t }\n\t}\n\t\n\tfunction jqLiteHasClass(element, selector) {\n\t if (!element.getAttribute) return false;\n\t return ((\" \" + (element.getAttribute('class') || '') + \" \").replace(/[\\n\\t]/g, \" \").\n\t indexOf(\" \" + selector + \" \") > -1);\n\t}\n\t\n\tfunction jqLiteRemoveClass(element, cssClasses) {\n\t if (cssClasses && element.setAttribute) {\n\t forEach(cssClasses.split(' '), function(cssClass) {\n\t element.setAttribute('class', trim(\n\t (\" \" + (element.getAttribute('class') || '') + \" \")\n\t .replace(/[\\n\\t]/g, \" \")\n\t .replace(\" \" + trim(cssClass) + \" \", \" \"))\n\t );\n\t });\n\t }\n\t}\n\t\n\tfunction jqLiteAddClass(element, cssClasses) {\n\t if (cssClasses && element.setAttribute) {\n\t var existingClasses = (' ' + (element.getAttribute('class') || '') + ' ')\n\t .replace(/[\\n\\t]/g, \" \");\n\t\n\t forEach(cssClasses.split(' '), function(cssClass) {\n\t cssClass = trim(cssClass);\n\t if (existingClasses.indexOf(' ' + cssClass + ' ') === -1) {\n\t existingClasses += cssClass + ' ';\n\t }\n\t });\n\t\n\t element.setAttribute('class', trim(existingClasses));\n\t }\n\t}\n\t\n\t\n\tfunction jqLiteAddNodes(root, elements) {\n\t // THIS CODE IS VERY HOT. Don't make changes without benchmarking.\n\t\n\t if (elements) {\n\t\n\t // if a Node (the most common case)\n\t if (elements.nodeType) {\n\t root[root.length++] = elements;\n\t } else {\n\t var length = elements.length;\n\t\n\t // if an Array or NodeList and not a Window\n\t if (typeof length === 'number' && elements.window !== elements) {\n\t if (length) {\n\t for (var i = 0; i < length; i++) {\n\t root[root.length++] = elements[i];\n\t }\n\t }\n\t } else {\n\t root[root.length++] = elements;\n\t }\n\t }\n\t }\n\t}\n\t\n\t\n\tfunction jqLiteController(element, name) {\n\t return jqLiteInheritedData(element, '$' + (name || 'ngController') + 'Controller');\n\t}\n\t\n\tfunction jqLiteInheritedData(element, name, value) {\n\t // if element is the document object work with the html element instead\n\t // this makes $(document).scope() possible\n\t if (element.nodeType == NODE_TYPE_DOCUMENT) {\n\t element = element.documentElement;\n\t }\n\t var names = isArray(name) ? name : [name];\n\t\n\t while (element) {\n\t for (var i = 0, ii = names.length; i < ii; i++) {\n\t if ((value = jqLite.data(element, names[i])) !== undefined) return value;\n\t }\n\t\n\t // If dealing with a document fragment node with a host element, and no parent, use the host\n\t // element as the parent. This enables directives within a Shadow DOM or polyfilled Shadow DOM\n\t // to lookup parent controllers.\n\t element = element.parentNode || (element.nodeType === NODE_TYPE_DOCUMENT_FRAGMENT && element.host);\n\t }\n\t}\n\t\n\tfunction jqLiteEmpty(element) {\n\t jqLiteDealoc(element, true);\n\t while (element.firstChild) {\n\t element.removeChild(element.firstChild);\n\t }\n\t}\n\t\n\tfunction jqLiteRemove(element, keepData) {\n\t if (!keepData) jqLiteDealoc(element);\n\t var parent = element.parentNode;\n\t if (parent) parent.removeChild(element);\n\t}\n\t\n\t\n\tfunction jqLiteDocumentLoaded(action, win) {\n\t win = win || window;\n\t if (win.document.readyState === 'complete') {\n\t // Force the action to be run async for consistent behaviour\n\t // from the action's point of view\n\t // i.e. it will definitely not be in a $apply\n\t win.setTimeout(action);\n\t } else {\n\t // No need to unbind this handler as load is only ever called once\n\t jqLite(win).on('load', action);\n\t }\n\t}\n\t\n\t//////////////////////////////////////////\n\t// Functions which are declared directly.\n\t//////////////////////////////////////////\n\tvar JQLitePrototype = JQLite.prototype = {\n\t ready: function(fn) {\n\t var fired = false;\n\t\n\t function trigger() {\n\t if (fired) return;\n\t fired = true;\n\t fn();\n\t }\n\t\n\t // check if document is already loaded\n\t if (document.readyState === 'complete') {\n\t setTimeout(trigger);\n\t } else {\n\t this.on('DOMContentLoaded', trigger); // works for modern browsers and IE9\n\t // we can not use jqLite since we are not done loading and jQuery could be loaded later.\n\t // jshint -W064\n\t JQLite(window).on('load', trigger); // fallback to window.onload for others\n\t // jshint +W064\n\t }\n\t },\n\t toString: function() {\n\t var value = [];\n\t forEach(this, function(e) { value.push('' + e);});\n\t return '[' + value.join(', ') + ']';\n\t },\n\t\n\t eq: function(index) {\n\t return (index >= 0) ? jqLite(this[index]) : jqLite(this[this.length + index]);\n\t },\n\t\n\t length: 0,\n\t push: push,\n\t sort: [].sort,\n\t splice: [].splice\n\t};\n\t\n\t//////////////////////////////////////////\n\t// Functions iterating getter/setters.\n\t// these functions return self on setter and\n\t// value on get.\n\t//////////////////////////////////////////\n\tvar BOOLEAN_ATTR = {};\n\tforEach('multiple,selected,checked,disabled,readOnly,required,open'.split(','), function(value) {\n\t BOOLEAN_ATTR[lowercase(value)] = value;\n\t});\n\tvar BOOLEAN_ELEMENTS = {};\n\tforEach('input,select,option,textarea,button,form,details'.split(','), function(value) {\n\t BOOLEAN_ELEMENTS[value] = true;\n\t});\n\tvar ALIASED_ATTR = {\n\t 'ngMinlength': 'minlength',\n\t 'ngMaxlength': 'maxlength',\n\t 'ngMin': 'min',\n\t 'ngMax': 'max',\n\t 'ngPattern': 'pattern'\n\t};\n\t\n\tfunction getBooleanAttrName(element, name) {\n\t // check dom last since we will most likely fail on name\n\t var booleanAttr = BOOLEAN_ATTR[name.toLowerCase()];\n\t\n\t // booleanAttr is here twice to minimize DOM access\n\t return booleanAttr && BOOLEAN_ELEMENTS[nodeName_(element)] && booleanAttr;\n\t}\n\t\n\tfunction getAliasedAttrName(element, name) {\n\t var nodeName = element.nodeName;\n\t return (nodeName === 'INPUT' || nodeName === 'TEXTAREA') && ALIASED_ATTR[name];\n\t}\n\t\n\tforEach({\n\t data: jqLiteData,\n\t removeData: jqLiteRemoveData\n\t}, function(fn, name) {\n\t JQLite[name] = fn;\n\t});\n\t\n\tforEach({\n\t data: jqLiteData,\n\t inheritedData: jqLiteInheritedData,\n\t\n\t scope: function(element) {\n\t // Can't use jqLiteData here directly so we stay compatible with jQuery!\n\t return jqLite.data(element, '$scope') || jqLiteInheritedData(element.parentNode || element, ['$isolateScope', '$scope']);\n\t },\n\t\n\t isolateScope: function(element) {\n\t // Can't use jqLiteData here directly so we stay compatible with jQuery!\n\t return jqLite.data(element, '$isolateScope') || jqLite.data(element, '$isolateScopeNoTemplate');\n\t },\n\t\n\t controller: jqLiteController,\n\t\n\t injector: function(element) {\n\t return jqLiteInheritedData(element, '$injector');\n\t },\n\t\n\t removeAttr: function(element, name) {\n\t element.removeAttribute(name);\n\t },\n\t\n\t hasClass: jqLiteHasClass,\n\t\n\t css: function(element, name, value) {\n\t name = camelCase(name);\n\t\n\t if (isDefined(value)) {\n\t element.style[name] = value;\n\t } else {\n\t return element.style[name];\n\t }\n\t },\n\t\n\t attr: function(element, name, value) {\n\t var nodeType = element.nodeType;\n\t if (nodeType === NODE_TYPE_TEXT || nodeType === NODE_TYPE_ATTRIBUTE || nodeType === NODE_TYPE_COMMENT) {\n\t return;\n\t }\n\t var lowercasedName = lowercase(name);\n\t if (BOOLEAN_ATTR[lowercasedName]) {\n\t if (isDefined(value)) {\n\t if (!!value) {\n\t element[name] = true;\n\t element.setAttribute(name, lowercasedName);\n\t } else {\n\t element[name] = false;\n\t element.removeAttribute(lowercasedName);\n\t }\n\t } else {\n\t return (element[name] ||\n\t (element.attributes.getNamedItem(name) || noop).specified)\n\t ? lowercasedName\n\t : undefined;\n\t }\n\t } else if (isDefined(value)) {\n\t element.setAttribute(name, value);\n\t } else if (element.getAttribute) {\n\t // the extra argument \"2\" is to get the right thing for a.href in IE, see jQuery code\n\t // some elements (e.g. Document) don't have get attribute, so return undefined\n\t var ret = element.getAttribute(name, 2);\n\t // normalize non-existing attributes to undefined (as jQuery)\n\t return ret === null ? undefined : ret;\n\t }\n\t },\n\t\n\t prop: function(element, name, value) {\n\t if (isDefined(value)) {\n\t element[name] = value;\n\t } else {\n\t return element[name];\n\t }\n\t },\n\t\n\t text: (function() {\n\t getText.$dv = '';\n\t return getText;\n\t\n\t function getText(element, value) {\n\t if (isUndefined(value)) {\n\t var nodeType = element.nodeType;\n\t return (nodeType === NODE_TYPE_ELEMENT || nodeType === NODE_TYPE_TEXT) ? element.textContent : '';\n\t }\n\t element.textContent = value;\n\t }\n\t })(),\n\t\n\t val: function(element, value) {\n\t if (isUndefined(value)) {\n\t if (element.multiple && nodeName_(element) === 'select') {\n\t var result = [];\n\t forEach(element.options, function(option) {\n\t if (option.selected) {\n\t result.push(option.value || option.text);\n\t }\n\t });\n\t return result.length === 0 ? null : result;\n\t }\n\t return element.value;\n\t }\n\t element.value = value;\n\t },\n\t\n\t html: function(element, value) {\n\t if (isUndefined(value)) {\n\t return element.innerHTML;\n\t }\n\t jqLiteDealoc(element, true);\n\t element.innerHTML = value;\n\t },\n\t\n\t empty: jqLiteEmpty\n\t}, function(fn, name) {\n\t /**\n\t * Properties: writes return selection, reads return first value\n\t */\n\t JQLite.prototype[name] = function(arg1, arg2) {\n\t var i, key;\n\t var nodeCount = this.length;\n\t\n\t // jqLiteHasClass has only two arguments, but is a getter-only fn, so we need to special-case it\n\t // in a way that survives minification.\n\t // jqLiteEmpty takes no arguments but is a setter.\n\t if (fn !== jqLiteEmpty &&\n\t (((fn.length == 2 && (fn !== jqLiteHasClass && fn !== jqLiteController)) ? arg1 : arg2) === undefined)) {\n\t if (isObject(arg1)) {\n\t\n\t // we are a write, but the object properties are the key/values\n\t for (i = 0; i < nodeCount; i++) {\n\t if (fn === jqLiteData) {\n\t // data() takes the whole object in jQuery\n\t fn(this[i], arg1);\n\t } else {\n\t for (key in arg1) {\n\t fn(this[i], key, arg1[key]);\n\t }\n\t }\n\t }\n\t // return self for chaining\n\t return this;\n\t } else {\n\t // we are a read, so read the first child.\n\t // TODO: do we still need this?\n\t var value = fn.$dv;\n\t // Only if we have $dv do we iterate over all, otherwise it is just the first element.\n\t var jj = (value === undefined) ? Math.min(nodeCount, 1) : nodeCount;\n\t for (var j = 0; j < jj; j++) {\n\t var nodeValue = fn(this[j], arg1, arg2);\n\t value = value ? value + nodeValue : nodeValue;\n\t }\n\t return value;\n\t }\n\t } else {\n\t // we are a write, so apply to all children\n\t for (i = 0; i < nodeCount; i++) {\n\t fn(this[i], arg1, arg2);\n\t }\n\t // return self for chaining\n\t return this;\n\t }\n\t };\n\t});\n\t\n\tfunction createEventHandler(element, events) {\n\t var eventHandler = function(event, type) {\n\t // jQuery specific api\n\t event.isDefaultPrevented = function() {\n\t return event.defaultPrevented;\n\t };\n\t\n\t var eventFns = events[type || event.type];\n\t var eventFnsLength = eventFns ? eventFns.length : 0;\n\t\n\t if (!eventFnsLength) return;\n\t\n\t if (isUndefined(event.immediatePropagationStopped)) {\n\t var originalStopImmediatePropagation = event.stopImmediatePropagation;\n\t event.stopImmediatePropagation = function() {\n\t event.immediatePropagationStopped = true;\n\t\n\t if (event.stopPropagation) {\n\t event.stopPropagation();\n\t }\n\t\n\t if (originalStopImmediatePropagation) {\n\t originalStopImmediatePropagation.call(event);\n\t }\n\t };\n\t }\n\t\n\t event.isImmediatePropagationStopped = function() {\n\t return event.immediatePropagationStopped === true;\n\t };\n\t\n\t // Copy event handlers in case event handlers array is modified during execution.\n\t if ((eventFnsLength > 1)) {\n\t eventFns = shallowCopy(eventFns);\n\t }\n\t\n\t for (var i = 0; i < eventFnsLength; i++) {\n\t if (!event.isImmediatePropagationStopped()) {\n\t eventFns[i].call(element, event);\n\t }\n\t }\n\t };\n\t\n\t // TODO: this is a hack for angularMocks/clearDataCache that makes it possible to deregister all\n\t // events on `element`\n\t eventHandler.elem = element;\n\t return eventHandler;\n\t}\n\t\n\t//////////////////////////////////////////\n\t// Functions iterating traversal.\n\t// These functions chain results into a single\n\t// selector.\n\t//////////////////////////////////////////\n\tforEach({\n\t removeData: jqLiteRemoveData,\n\t\n\t on: function jqLiteOn(element, type, fn, unsupported) {\n\t if (isDefined(unsupported)) throw jqLiteMinErr('onargs', 'jqLite#on() does not support the `selector` or `eventData` parameters');\n\t\n\t // Do not add event handlers to non-elements because they will not be cleaned up.\n\t if (!jqLiteAcceptsData(element)) {\n\t return;\n\t }\n\t\n\t var expandoStore = jqLiteExpandoStore(element, true);\n\t var events = expandoStore.events;\n\t var handle = expandoStore.handle;\n\t\n\t if (!handle) {\n\t handle = expandoStore.handle = createEventHandler(element, events);\n\t }\n\t\n\t // http://jsperf.com/string-indexof-vs-split\n\t var types = type.indexOf(' ') >= 0 ? type.split(' ') : [type];\n\t var i = types.length;\n\t\n\t while (i--) {\n\t type = types[i];\n\t var eventFns = events[type];\n\t\n\t if (!eventFns) {\n\t events[type] = [];\n\t\n\t if (type === 'mouseenter' || type === 'mouseleave') {\n\t // Refer to jQuery's implementation of mouseenter & mouseleave\n\t // Read about mouseenter and mouseleave:\n\t // http://www.quirksmode.org/js/events_mouse.html#link8\n\t\n\t jqLiteOn(element, MOUSE_EVENT_MAP[type], function(event) {\n\t var target = this, related = event.relatedTarget;\n\t // For mousenter/leave call the handler if related is outside the target.\n\t // NB: No relatedTarget if the mouse left/entered the browser window\n\t if (!related || (related !== target && !target.contains(related))) {\n\t handle(event, type);\n\t }\n\t });\n\t\n\t } else {\n\t if (type !== '$destroy') {\n\t addEventListenerFn(element, type, handle);\n\t }\n\t }\n\t eventFns = events[type];\n\t }\n\t eventFns.push(fn);\n\t }\n\t },\n\t\n\t off: jqLiteOff,\n\t\n\t one: function(element, type, fn) {\n\t element = jqLite(element);\n\t\n\t //add the listener twice so that when it is called\n\t //you can remove the original function and still be\n\t //able to call element.off(ev, fn) normally\n\t element.on(type, function onFn() {\n\t element.off(type, fn);\n\t element.off(type, onFn);\n\t });\n\t element.on(type, fn);\n\t },\n\t\n\t replaceWith: function(element, replaceNode) {\n\t var index, parent = element.parentNode;\n\t jqLiteDealoc(element);\n\t forEach(new JQLite(replaceNode), function(node) {\n\t if (index) {\n\t parent.insertBefore(node, index.nextSibling);\n\t } else {\n\t parent.replaceChild(node, element);\n\t }\n\t index = node;\n\t });\n\t },\n\t\n\t children: function(element) {\n\t var children = [];\n\t forEach(element.childNodes, function(element) {\n\t if (element.nodeType === NODE_TYPE_ELEMENT)\n\t children.push(element);\n\t });\n\t return children;\n\t },\n\t\n\t contents: function(element) {\n\t return element.contentDocument || element.childNodes || [];\n\t },\n\t\n\t append: function(element, node) {\n\t var nodeType = element.nodeType;\n\t if (nodeType !== NODE_TYPE_ELEMENT && nodeType !== NODE_TYPE_DOCUMENT_FRAGMENT) return;\n\t\n\t node = new JQLite(node);\n\t\n\t for (var i = 0, ii = node.length; i < ii; i++) {\n\t var child = node[i];\n\t element.appendChild(child);\n\t }\n\t },\n\t\n\t prepend: function(element, node) {\n\t if (element.nodeType === NODE_TYPE_ELEMENT) {\n\t var index = element.firstChild;\n\t forEach(new JQLite(node), function(child) {\n\t element.insertBefore(child, index);\n\t });\n\t }\n\t },\n\t\n\t wrap: function(element, wrapNode) {\n\t wrapNode = jqLite(wrapNode).eq(0).clone()[0];\n\t var parent = element.parentNode;\n\t if (parent) {\n\t parent.replaceChild(wrapNode, element);\n\t }\n\t wrapNode.appendChild(element);\n\t },\n\t\n\t remove: jqLiteRemove,\n\t\n\t detach: function(element) {\n\t jqLiteRemove(element, true);\n\t },\n\t\n\t after: function(element, newElement) {\n\t var index = element, parent = element.parentNode;\n\t newElement = new JQLite(newElement);\n\t\n\t for (var i = 0, ii = newElement.length; i < ii; i++) {\n\t var node = newElement[i];\n\t parent.insertBefore(node, index.nextSibling);\n\t index = node;\n\t }\n\t },\n\t\n\t addClass: jqLiteAddClass,\n\t removeClass: jqLiteRemoveClass,\n\t\n\t toggleClass: function(element, selector, condition) {\n\t if (selector) {\n\t forEach(selector.split(' '), function(className) {\n\t var classCondition = condition;\n\t if (isUndefined(classCondition)) {\n\t classCondition = !jqLiteHasClass(element, className);\n\t }\n\t (classCondition ? jqLiteAddClass : jqLiteRemoveClass)(element, className);\n\t });\n\t }\n\t },\n\t\n\t parent: function(element) {\n\t var parent = element.parentNode;\n\t return parent && parent.nodeType !== NODE_TYPE_DOCUMENT_FRAGMENT ? parent : null;\n\t },\n\t\n\t next: function(element) {\n\t return element.nextElementSibling;\n\t },\n\t\n\t find: function(element, selector) {\n\t if (element.getElementsByTagName) {\n\t return element.getElementsByTagName(selector);\n\t } else {\n\t return [];\n\t }\n\t },\n\t\n\t clone: jqLiteClone,\n\t\n\t triggerHandler: function(element, event, extraParameters) {\n\t\n\t var dummyEvent, eventFnsCopy, handlerArgs;\n\t var eventName = event.type || event;\n\t var expandoStore = jqLiteExpandoStore(element);\n\t var events = expandoStore && expandoStore.events;\n\t var eventFns = events && events[eventName];\n\t\n\t if (eventFns) {\n\t // Create a dummy event to pass to the handlers\n\t dummyEvent = {\n\t preventDefault: function() { this.defaultPrevented = true; },\n\t isDefaultPrevented: function() { return this.defaultPrevented === true; },\n\t stopImmediatePropagation: function() { this.immediatePropagationStopped = true; },\n\t isImmediatePropagationStopped: function() { return this.immediatePropagationStopped === true; },\n\t stopPropagation: noop,\n\t type: eventName,\n\t target: element\n\t };\n\t\n\t // If a custom event was provided then extend our dummy event with it\n\t if (event.type) {\n\t dummyEvent = extend(dummyEvent, event);\n\t }\n\t\n\t // Copy event handlers in case event handlers array is modified during execution.\n\t eventFnsCopy = shallowCopy(eventFns);\n\t handlerArgs = extraParameters ? [dummyEvent].concat(extraParameters) : [dummyEvent];\n\t\n\t forEach(eventFnsCopy, function(fn) {\n\t if (!dummyEvent.isImmediatePropagationStopped()) {\n\t fn.apply(element, handlerArgs);\n\t }\n\t });\n\t }\n\t }\n\t}, function(fn, name) {\n\t /**\n\t * chaining functions\n\t */\n\t JQLite.prototype[name] = function(arg1, arg2, arg3) {\n\t var value;\n\t\n\t for (var i = 0, ii = this.length; i < ii; i++) {\n\t if (isUndefined(value)) {\n\t value = fn(this[i], arg1, arg2, arg3);\n\t if (isDefined(value)) {\n\t // any function which returns a value needs to be wrapped\n\t value = jqLite(value);\n\t }\n\t } else {\n\t jqLiteAddNodes(value, fn(this[i], arg1, arg2, arg3));\n\t }\n\t }\n\t return isDefined(value) ? value : this;\n\t };\n\t\n\t // bind legacy bind/unbind to on/off\n\t JQLite.prototype.bind = JQLite.prototype.on;\n\t JQLite.prototype.unbind = JQLite.prototype.off;\n\t});\n\t\n\t\n\t// Provider for private $$jqLite service\n\tfunction $$jqLiteProvider() {\n\t this.$get = function $$jqLite() {\n\t return extend(JQLite, {\n\t hasClass: function(node, classes) {\n\t if (node.attr) node = node[0];\n\t return jqLiteHasClass(node, classes);\n\t },\n\t addClass: function(node, classes) {\n\t if (node.attr) node = node[0];\n\t return jqLiteAddClass(node, classes);\n\t },\n\t removeClass: function(node, classes) {\n\t if (node.attr) node = node[0];\n\t return jqLiteRemoveClass(node, classes);\n\t }\n\t });\n\t };\n\t}\n\t\n\t/**\n\t * Computes a hash of an 'obj'.\n\t * Hash of a:\n\t * string is string\n\t * number is number as string\n\t * object is either result of calling $$hashKey function on the object or uniquely generated id,\n\t * that is also assigned to the $$hashKey property of the object.\n\t *\n\t * @param obj\n\t * @returns {string} hash string such that the same input will have the same hash string.\n\t * The resulting string key is in 'type:hashKey' format.\n\t */\n\tfunction hashKey(obj, nextUidFn) {\n\t var key = obj && obj.$$hashKey;\n\t\n\t if (key) {\n\t if (typeof key === 'function') {\n\t key = obj.$$hashKey();\n\t }\n\t return key;\n\t }\n\t\n\t var objType = typeof obj;\n\t if (objType == 'function' || (objType == 'object' && obj !== null)) {\n\t key = obj.$$hashKey = objType + ':' + (nextUidFn || nextUid)();\n\t } else {\n\t key = objType + ':' + obj;\n\t }\n\t\n\t return key;\n\t}\n\t\n\t/**\n\t * HashMap which can use objects as keys\n\t */\n\tfunction HashMap(array, isolatedUid) {\n\t if (isolatedUid) {\n\t var uid = 0;\n\t this.nextUid = function() {\n\t return ++uid;\n\t };\n\t }\n\t forEach(array, this.put, this);\n\t}\n\tHashMap.prototype = {\n\t /**\n\t * Store key value pair\n\t * @param key key to store can be any type\n\t * @param value value to store can be any type\n\t */\n\t put: function(key, value) {\n\t this[hashKey(key, this.nextUid)] = value;\n\t },\n\t\n\t /**\n\t * @param key\n\t * @returns {Object} the value for the key\n\t */\n\t get: function(key) {\n\t return this[hashKey(key, this.nextUid)];\n\t },\n\t\n\t /**\n\t * Remove the key/value pair\n\t * @param key\n\t */\n\t remove: function(key) {\n\t var value = this[key = hashKey(key, this.nextUid)];\n\t delete this[key];\n\t return value;\n\t }\n\t};\n\t\n\t/**\n\t * @ngdoc function\n\t * @module ng\n\t * @name angular.injector\n\t * @kind function\n\t *\n\t * @description\n\t * Creates an injector object that can be used for retrieving services as well as for\n\t * dependency injection (see {@link guide/di dependency injection}).\n\t *\n\t * @param {Array.} modules A list of module functions or their aliases. See\n\t * {@link angular.module}. The `ng` module must be explicitly added.\n\t * @param {boolean=} [strictDi=false] Whether the injector should be in strict mode, which\n\t * disallows argument name annotation inference.\n\t * @returns {injector} Injector object. See {@link auto.$injector $injector}.\n\t *\n\t * @example\n\t * Typical usage\n\t * ```js\n\t * // create an injector\n\t * var $injector = angular.injector(['ng']);\n\t *\n\t * // use the injector to kick off your application\n\t * // use the type inference to auto inject arguments, or use implicit injection\n\t * $injector.invoke(function($rootScope, $compile, $document) {\n\t * $compile($document)($rootScope);\n\t * $rootScope.$digest();\n\t * });\n\t * ```\n\t *\n\t * Sometimes you want to get access to the injector of a currently running Angular app\n\t * from outside Angular. Perhaps, you want to inject and compile some markup after the\n\t * application has been bootstrapped. You can do this using the extra `injector()` added\n\t * to JQuery/jqLite elements. See {@link angular.element}.\n\t *\n\t * *This is fairly rare but could be the case if a third party library is injecting the\n\t * markup.*\n\t *\n\t * In the following example a new block of HTML containing a `ng-controller`\n\t * directive is added to the end of the document body by JQuery. We then compile and link\n\t * it into the current AngularJS scope.\n\t *\n\t * ```js\n\t * var $div = $('
{{content.label}}
');\n\t * $(document.body).append($div);\n\t *\n\t * angular.element(document).injector().invoke(function($compile) {\n\t * var scope = angular.element($div).scope();\n\t * $compile($div)(scope);\n\t * });\n\t * ```\n\t */\n\t\n\t\n\t/**\n\t * @ngdoc module\n\t * @name auto\n\t * @description\n\t *\n\t * Implicit module which gets automatically added to each {@link auto.$injector $injector}.\n\t */\n\t\n\tvar FN_ARGS = /^function\\s*[^\\(]*\\(\\s*([^\\)]*)\\)/m;\n\tvar FN_ARG_SPLIT = /,/;\n\tvar FN_ARG = /^\\s*(_?)(\\S+?)\\1\\s*$/;\n\tvar STRIP_COMMENTS = /((\\/\\/.*$)|(\\/\\*[\\s\\S]*?\\*\\/))/mg;\n\tvar $injectorMinErr = minErr('$injector');\n\t\n\tfunction anonFn(fn) {\n\t // For anonymous functions, showing at the very least the function signature can help in\n\t // debugging.\n\t var fnText = fn.toString().replace(STRIP_COMMENTS, ''),\n\t args = fnText.match(FN_ARGS);\n\t if (args) {\n\t return 'function(' + (args[1] || '').replace(/[\\s\\r\\n]+/, ' ') + ')';\n\t }\n\t return 'fn';\n\t}\n\t\n\tfunction annotate(fn, strictDi, name) {\n\t var $inject,\n\t fnText,\n\t argDecl,\n\t last;\n\t\n\t if (typeof fn === 'function') {\n\t if (!($inject = fn.$inject)) {\n\t $inject = [];\n\t if (fn.length) {\n\t if (strictDi) {\n\t if (!isString(name) || !name) {\n\t name = fn.name || anonFn(fn);\n\t }\n\t throw $injectorMinErr('strictdi',\n\t '{0} is not using explicit annotation and cannot be invoked in strict mode', name);\n\t }\n\t fnText = fn.toString().replace(STRIP_COMMENTS, '');\n\t argDecl = fnText.match(FN_ARGS);\n\t forEach(argDecl[1].split(FN_ARG_SPLIT), function(arg) {\n\t arg.replace(FN_ARG, function(all, underscore, name) {\n\t $inject.push(name);\n\t });\n\t });\n\t }\n\t fn.$inject = $inject;\n\t }\n\t } else if (isArray(fn)) {\n\t last = fn.length - 1;\n\t assertArgFn(fn[last], 'fn');\n\t $inject = fn.slice(0, last);\n\t } else {\n\t assertArgFn(fn, 'fn', true);\n\t }\n\t return $inject;\n\t}\n\t\n\t///////////////////////////////////////\n\t\n\t/**\n\t * @ngdoc service\n\t * @name $injector\n\t *\n\t * @description\n\t *\n\t * `$injector` is used to retrieve object instances as defined by\n\t * {@link auto.$provide provider}, instantiate types, invoke methods,\n\t * and load modules.\n\t *\n\t * The following always holds true:\n\t *\n\t * ```js\n\t * var $injector = angular.injector();\n\t * expect($injector.get('$injector')).toBe($injector);\n\t * expect($injector.invoke(function($injector) {\n\t * return $injector;\n\t * })).toBe($injector);\n\t * ```\n\t *\n\t * # Injection Function Annotation\n\t *\n\t * JavaScript does not have annotations, and annotations are needed for dependency injection. The\n\t * following are all valid ways of annotating function with injection arguments and are equivalent.\n\t *\n\t * ```js\n\t * // inferred (only works if code not minified/obfuscated)\n\t * $injector.invoke(function(serviceA){});\n\t *\n\t * // annotated\n\t * function explicit(serviceA) {};\n\t * explicit.$inject = ['serviceA'];\n\t * $injector.invoke(explicit);\n\t *\n\t * // inline\n\t * $injector.invoke(['serviceA', function(serviceA){}]);\n\t * ```\n\t *\n\t * ## Inference\n\t *\n\t * In JavaScript calling `toString()` on a function returns the function definition. The definition\n\t * can then be parsed and the function arguments can be extracted. This method of discovering\n\t * annotations is disallowed when the injector is in strict mode.\n\t * *NOTE:* This does not work with minification, and obfuscation tools since these tools change the\n\t * argument names.\n\t *\n\t * ## `$inject` Annotation\n\t * By adding an `$inject` property onto a function the injection parameters can be specified.\n\t *\n\t * ## Inline\n\t * As an array of injection names, where the last item in the array is the function to call.\n\t */\n\t\n\t/**\n\t * @ngdoc method\n\t * @name $injector#get\n\t *\n\t * @description\n\t * Return an instance of the service.\n\t *\n\t * @param {string} name The name of the instance to retrieve.\n\t * @param {string=} caller An optional string to provide the origin of the function call for error messages.\n\t * @return {*} The instance.\n\t */\n\t\n\t/**\n\t * @ngdoc method\n\t * @name $injector#invoke\n\t *\n\t * @description\n\t * Invoke the method and supply the method arguments from the `$injector`.\n\t *\n\t * @param {Function|Array.} fn The injectable function to invoke. Function parameters are\n\t * injected according to the {@link guide/di $inject Annotation} rules.\n\t * @param {Object=} self The `this` for the invoked method.\n\t * @param {Object=} locals Optional object. If preset then any argument names are read from this\n\t * object first, before the `$injector` is consulted.\n\t * @returns {*} the value returned by the invoked `fn` function.\n\t */\n\t\n\t/**\n\t * @ngdoc method\n\t * @name $injector#has\n\t *\n\t * @description\n\t * Allows the user to query if the particular service exists.\n\t *\n\t * @param {string} name Name of the service to query.\n\t * @returns {boolean} `true` if injector has given service.\n\t */\n\t\n\t/**\n\t * @ngdoc method\n\t * @name $injector#instantiate\n\t * @description\n\t * Create a new instance of JS type. The method takes a constructor function, invokes the new\n\t * operator, and supplies all of the arguments to the constructor function as specified by the\n\t * constructor annotation.\n\t *\n\t * @param {Function} Type Annotated constructor function.\n\t * @param {Object=} locals Optional object. If preset then any argument names are read from this\n\t * object first, before the `$injector` is consulted.\n\t * @returns {Object} new instance of `Type`.\n\t */\n\t\n\t/**\n\t * @ngdoc method\n\t * @name $injector#annotate\n\t *\n\t * @description\n\t * Returns an array of service names which the function is requesting for injection. This API is\n\t * used by the injector to determine which services need to be injected into the function when the\n\t * function is invoked. There are three ways in which the function can be annotated with the needed\n\t * dependencies.\n\t *\n\t * # Argument names\n\t *\n\t * The simplest form is to extract the dependencies from the arguments of the function. This is done\n\t * by converting the function into a string using `toString()` method and extracting the argument\n\t * names.\n\t * ```js\n\t * // Given\n\t * function MyController($scope, $route) {\n\t * // ...\n\t * }\n\t *\n\t * // Then\n\t * expect(injector.annotate(MyController)).toEqual(['$scope', '$route']);\n\t * ```\n\t *\n\t * You can disallow this method by using strict injection mode.\n\t *\n\t * This method does not work with code minification / obfuscation. For this reason the following\n\t * annotation strategies are supported.\n\t *\n\t * # The `$inject` property\n\t *\n\t * If a function has an `$inject` property and its value is an array of strings, then the strings\n\t * represent names of services to be injected into the function.\n\t * ```js\n\t * // Given\n\t * var MyController = function(obfuscatedScope, obfuscatedRoute) {\n\t * // ...\n\t * }\n\t * // Define function dependencies\n\t * MyController['$inject'] = ['$scope', '$route'];\n\t *\n\t * // Then\n\t * expect(injector.annotate(MyController)).toEqual(['$scope', '$route']);\n\t * ```\n\t *\n\t * # The array notation\n\t *\n\t * It is often desirable to inline Injected functions and that's when setting the `$inject` property\n\t * is very inconvenient. In these situations using the array notation to specify the dependencies in\n\t * a way that survives minification is a better choice:\n\t *\n\t * ```js\n\t * // We wish to write this (not minification / obfuscation safe)\n\t * injector.invoke(function($compile, $rootScope) {\n\t * // ...\n\t * });\n\t *\n\t * // We are forced to write break inlining\n\t * var tmpFn = function(obfuscatedCompile, obfuscatedRootScope) {\n\t * // ...\n\t * };\n\t * tmpFn.$inject = ['$compile', '$rootScope'];\n\t * injector.invoke(tmpFn);\n\t *\n\t * // To better support inline function the inline annotation is supported\n\t * injector.invoke(['$compile', '$rootScope', function(obfCompile, obfRootScope) {\n\t * // ...\n\t * }]);\n\t *\n\t * // Therefore\n\t * expect(injector.annotate(\n\t * ['$compile', '$rootScope', function(obfus_$compile, obfus_$rootScope) {}])\n\t * ).toEqual(['$compile', '$rootScope']);\n\t * ```\n\t *\n\t * @param {Function|Array.} fn Function for which dependent service names need to\n\t * be retrieved as described above.\n\t *\n\t * @param {boolean=} [strictDi=false] Disallow argument name annotation inference.\n\t *\n\t * @returns {Array.} The names of the services which the function requires.\n\t */\n\t\n\t\n\t\n\t\n\t/**\n\t * @ngdoc service\n\t * @name $provide\n\t *\n\t * @description\n\t *\n\t * The {@link auto.$provide $provide} service has a number of methods for registering components\n\t * with the {@link auto.$injector $injector}. Many of these functions are also exposed on\n\t * {@link angular.Module}.\n\t *\n\t * An Angular **service** is a singleton object created by a **service factory**. These **service\n\t * factories** are functions which, in turn, are created by a **service provider**.\n\t * The **service providers** are constructor functions. When instantiated they must contain a\n\t * property called `$get`, which holds the **service factory** function.\n\t *\n\t * When you request a service, the {@link auto.$injector $injector} is responsible for finding the\n\t * correct **service provider**, instantiating it and then calling its `$get` **service factory**\n\t * function to get the instance of the **service**.\n\t *\n\t * Often services have no configuration options and there is no need to add methods to the service\n\t * provider. The provider will be no more than a constructor function with a `$get` property. For\n\t * these cases the {@link auto.$provide $provide} service has additional helper methods to register\n\t * services without specifying a provider.\n\t *\n\t * * {@link auto.$provide#provider provider(provider)} - registers a **service provider** with the\n\t * {@link auto.$injector $injector}\n\t * * {@link auto.$provide#constant constant(obj)} - registers a value/object that can be accessed by\n\t * providers and services.\n\t * * {@link auto.$provide#value value(obj)} - registers a value/object that can only be accessed by\n\t * services, not providers.\n\t * * {@link auto.$provide#factory factory(fn)} - registers a service **factory function**, `fn`,\n\t * that will be wrapped in a **service provider** object, whose `$get` property will contain the\n\t * given factory function.\n\t * * {@link auto.$provide#service service(class)} - registers a **constructor function**, `class`\n\t * that will be wrapped in a **service provider** object, whose `$get` property will instantiate\n\t * a new object using the given constructor function.\n\t *\n\t * See the individual methods for more information and examples.\n\t */\n\t\n\t/**\n\t * @ngdoc method\n\t * @name $provide#provider\n\t * @description\n\t *\n\t * Register a **provider function** with the {@link auto.$injector $injector}. Provider functions\n\t * are constructor functions, whose instances are responsible for \"providing\" a factory for a\n\t * service.\n\t *\n\t * Service provider names start with the name of the service they provide followed by `Provider`.\n\t * For example, the {@link ng.$log $log} service has a provider called\n\t * {@link ng.$logProvider $logProvider}.\n\t *\n\t * Service provider objects can have additional methods which allow configuration of the provider\n\t * and its service. Importantly, you can configure what kind of service is created by the `$get`\n\t * method, or how that service will act. For example, the {@link ng.$logProvider $logProvider} has a\n\t * method {@link ng.$logProvider#debugEnabled debugEnabled}\n\t * which lets you specify whether the {@link ng.$log $log} service will log debug messages to the\n\t * console or not.\n\t *\n\t * @param {string} name The name of the instance. NOTE: the provider will be available under `name +\n\t 'Provider'` key.\n\t * @param {(Object|function())} provider If the provider is:\n\t *\n\t * - `Object`: then it should have a `$get` method. The `$get` method will be invoked using\n\t * {@link auto.$injector#invoke $injector.invoke()} when an instance needs to be created.\n\t * - `Constructor`: a new instance of the provider will be created using\n\t * {@link auto.$injector#instantiate $injector.instantiate()}, then treated as `object`.\n\t *\n\t * @returns {Object} registered provider instance\n\t\n\t * @example\n\t *\n\t * The following example shows how to create a simple event tracking service and register it using\n\t * {@link auto.$provide#provider $provide.provider()}.\n\t *\n\t * ```js\n\t * // Define the eventTracker provider\n\t * function EventTrackerProvider() {\n\t * var trackingUrl = '/track';\n\t *\n\t * // A provider method for configuring where the tracked events should been saved\n\t * this.setTrackingUrl = function(url) {\n\t * trackingUrl = url;\n\t * };\n\t *\n\t * // The service factory function\n\t * this.$get = ['$http', function($http) {\n\t * var trackedEvents = {};\n\t * return {\n\t * // Call this to track an event\n\t * event: function(event) {\n\t * var count = trackedEvents[event] || 0;\n\t * count += 1;\n\t * trackedEvents[event] = count;\n\t * return count;\n\t * },\n\t * // Call this to save the tracked events to the trackingUrl\n\t * save: function() {\n\t * $http.post(trackingUrl, trackedEvents);\n\t * }\n\t * };\n\t * }];\n\t * }\n\t *\n\t * describe('eventTracker', function() {\n\t * var postSpy;\n\t *\n\t * beforeEach(module(function($provide) {\n\t * // Register the eventTracker provider\n\t * $provide.provider('eventTracker', EventTrackerProvider);\n\t * }));\n\t *\n\t * beforeEach(module(function(eventTrackerProvider) {\n\t * // Configure eventTracker provider\n\t * eventTrackerProvider.setTrackingUrl('/custom-track');\n\t * }));\n\t *\n\t * it('tracks events', inject(function(eventTracker) {\n\t * expect(eventTracker.event('login')).toEqual(1);\n\t * expect(eventTracker.event('login')).toEqual(2);\n\t * }));\n\t *\n\t * it('saves to the tracking url', inject(function(eventTracker, $http) {\n\t * postSpy = spyOn($http, 'post');\n\t * eventTracker.event('login');\n\t * eventTracker.save();\n\t * expect(postSpy).toHaveBeenCalled();\n\t * expect(postSpy.mostRecentCall.args[0]).not.toEqual('/track');\n\t * expect(postSpy.mostRecentCall.args[0]).toEqual('/custom-track');\n\t * expect(postSpy.mostRecentCall.args[1]).toEqual({ 'login': 1 });\n\t * }));\n\t * });\n\t * ```\n\t */\n\t\n\t/**\n\t * @ngdoc method\n\t * @name $provide#factory\n\t * @description\n\t *\n\t * Register a **service factory**, which will be called to return the service instance.\n\t * This is short for registering a service where its provider consists of only a `$get` property,\n\t * which is the given service factory function.\n\t * You should use {@link auto.$provide#factory $provide.factory(getFn)} if you do not need to\n\t * configure your service in a provider.\n\t *\n\t * @param {string} name The name of the instance.\n\t * @param {Function|Array.} $getFn The injectable $getFn for the instance creation.\n\t * Internally this is a short hand for `$provide.provider(name, {$get: $getFn})`.\n\t * @returns {Object} registered provider instance\n\t *\n\t * @example\n\t * Here is an example of registering a service\n\t * ```js\n\t * $provide.factory('ping', ['$http', function($http) {\n\t * return function ping() {\n\t * return $http.send('/ping');\n\t * };\n\t * }]);\n\t * ```\n\t * You would then inject and use this service like this:\n\t * ```js\n\t * someModule.controller('Ctrl', ['ping', function(ping) {\n\t * ping();\n\t * }]);\n\t * ```\n\t */\n\t\n\t\n\t/**\n\t * @ngdoc method\n\t * @name $provide#service\n\t * @description\n\t *\n\t * Register a **service constructor**, which will be invoked with `new` to create the service\n\t * instance.\n\t * This is short for registering a service where its provider's `$get` property is the service\n\t * constructor function that will be used to instantiate the service instance.\n\t *\n\t * You should use {@link auto.$provide#service $provide.service(class)} if you define your service\n\t * as a type/class.\n\t *\n\t * @param {string} name The name of the instance.\n\t * @param {Function|Array.} constructor An injectable class (constructor function)\n\t * that will be instantiated.\n\t * @returns {Object} registered provider instance\n\t *\n\t * @example\n\t * Here is an example of registering a service using\n\t * {@link auto.$provide#service $provide.service(class)}.\n\t * ```js\n\t * var Ping = function($http) {\n\t * this.$http = $http;\n\t * };\n\t *\n\t * Ping.$inject = ['$http'];\n\t *\n\t * Ping.prototype.send = function() {\n\t * return this.$http.get('/ping');\n\t * };\n\t * $provide.service('ping', Ping);\n\t * ```\n\t * You would then inject and use this service like this:\n\t * ```js\n\t * someModule.controller('Ctrl', ['ping', function(ping) {\n\t * ping.send();\n\t * }]);\n\t * ```\n\t */\n\t\n\t\n\t/**\n\t * @ngdoc method\n\t * @name $provide#value\n\t * @description\n\t *\n\t * Register a **value service** with the {@link auto.$injector $injector}, such as a string, a\n\t * number, an array, an object or a function. This is short for registering a service where its\n\t * provider's `$get` property is a factory function that takes no arguments and returns the **value\n\t * service**.\n\t *\n\t * Value services are similar to constant services, except that they cannot be injected into a\n\t * module configuration function (see {@link angular.Module#config}) but they can be overridden by\n\t * an Angular\n\t * {@link auto.$provide#decorator decorator}.\n\t *\n\t * @param {string} name The name of the instance.\n\t * @param {*} value The value.\n\t * @returns {Object} registered provider instance\n\t *\n\t * @example\n\t * Here are some examples of creating value services.\n\t * ```js\n\t * $provide.value('ADMIN_USER', 'admin');\n\t *\n\t * $provide.value('RoleLookup', { admin: 0, writer: 1, reader: 2 });\n\t *\n\t * $provide.value('halfOf', function(value) {\n\t * return value / 2;\n\t * });\n\t * ```\n\t */\n\t\n\t\n\t/**\n\t * @ngdoc method\n\t * @name $provide#constant\n\t * @description\n\t *\n\t * Register a **constant service**, such as a string, a number, an array, an object or a function,\n\t * with the {@link auto.$injector $injector}. Unlike {@link auto.$provide#value value} it can be\n\t * injected into a module configuration function (see {@link angular.Module#config}) and it cannot\n\t * be overridden by an Angular {@link auto.$provide#decorator decorator}.\n\t *\n\t * @param {string} name The name of the constant.\n\t * @param {*} value The constant value.\n\t * @returns {Object} registered instance\n\t *\n\t * @example\n\t * Here a some examples of creating constants:\n\t * ```js\n\t * $provide.constant('SHARD_HEIGHT', 306);\n\t *\n\t * $provide.constant('MY_COLOURS', ['red', 'blue', 'grey']);\n\t *\n\t * $provide.constant('double', function(value) {\n\t * return value * 2;\n\t * });\n\t * ```\n\t */\n\t\n\t\n\t/**\n\t * @ngdoc method\n\t * @name $provide#decorator\n\t * @description\n\t *\n\t * Register a **service decorator** with the {@link auto.$injector $injector}. A service decorator\n\t * intercepts the creation of a service, allowing it to override or modify the behaviour of the\n\t * service. The object returned by the decorator may be the original service, or a new service\n\t * object which replaces or wraps and delegates to the original service.\n\t *\n\t * @param {string} name The name of the service to decorate.\n\t * @param {Function|Array.} decorator This function will be invoked when the service needs to be\n\t * instantiated and should return the decorated service instance. The function is called using\n\t * the {@link auto.$injector#invoke injector.invoke} method and is therefore fully injectable.\n\t * Local injection arguments:\n\t *\n\t * * `$delegate` - The original service instance, which can be monkey patched, configured,\n\t * decorated or delegated to.\n\t *\n\t * @example\n\t * Here we decorate the {@link ng.$log $log} service to convert warnings to errors by intercepting\n\t * calls to {@link ng.$log#error $log.warn()}.\n\t * ```js\n\t * $provide.decorator('$log', ['$delegate', function($delegate) {\n\t * $delegate.warn = $delegate.error;\n\t * return $delegate;\n\t * }]);\n\t * ```\n\t */\n\t\n\t\n\tfunction createInjector(modulesToLoad, strictDi) {\n\t strictDi = (strictDi === true);\n\t var INSTANTIATING = {},\n\t providerSuffix = 'Provider',\n\t path = [],\n\t loadedModules = new HashMap([], true),\n\t providerCache = {\n\t $provide: {\n\t provider: supportObject(provider),\n\t factory: supportObject(factory),\n\t service: supportObject(service),\n\t value: supportObject(value),\n\t constant: supportObject(constant),\n\t decorator: decorator\n\t }\n\t },\n\t providerInjector = (providerCache.$injector =\n\t createInternalInjector(providerCache, function(serviceName, caller) {\n\t if (angular.isString(caller)) {\n\t path.push(caller);\n\t }\n\t throw $injectorMinErr('unpr', \"Unknown provider: {0}\", path.join(' <- '));\n\t })),\n\t instanceCache = {},\n\t instanceInjector = (instanceCache.$injector =\n\t createInternalInjector(instanceCache, function(serviceName, caller) {\n\t var provider = providerInjector.get(serviceName + providerSuffix, caller);\n\t return instanceInjector.invoke(provider.$get, provider, undefined, serviceName);\n\t }));\n\t\n\t\n\t forEach(loadModules(modulesToLoad), function(fn) { instanceInjector.invoke(fn || noop); });\n\t\n\t return instanceInjector;\n\t\n\t ////////////////////////////////////\n\t // $provider\n\t ////////////////////////////////////\n\t\n\t function supportObject(delegate) {\n\t return function(key, value) {\n\t if (isObject(key)) {\n\t forEach(key, reverseParams(delegate));\n\t } else {\n\t return delegate(key, value);\n\t }\n\t };\n\t }\n\t\n\t function provider(name, provider_) {\n\t assertNotHasOwnProperty(name, 'service');\n\t if (isFunction(provider_) || isArray(provider_)) {\n\t provider_ = providerInjector.instantiate(provider_);\n\t }\n\t if (!provider_.$get) {\n\t throw $injectorMinErr('pget', \"Provider '{0}' must define $get factory method.\", name);\n\t }\n\t return providerCache[name + providerSuffix] = provider_;\n\t }\n\t\n\t function enforceReturnValue(name, factory) {\n\t return function enforcedReturnValue() {\n\t var result = instanceInjector.invoke(factory, this);\n\t if (isUndefined(result)) {\n\t throw $injectorMinErr('undef', \"Provider '{0}' must return a value from $get factory method.\", name);\n\t }\n\t return result;\n\t };\n\t }\n\t\n\t function factory(name, factoryFn, enforce) {\n\t return provider(name, {\n\t $get: enforce !== false ? enforceReturnValue(name, factoryFn) : factoryFn\n\t });\n\t }\n\t\n\t function service(name, constructor) {\n\t return factory(name, ['$injector', function($injector) {\n\t return $injector.instantiate(constructor);\n\t }]);\n\t }\n\t\n\t function value(name, val) { return factory(name, valueFn(val), false); }\n\t\n\t function constant(name, value) {\n\t assertNotHasOwnProperty(name, 'constant');\n\t providerCache[name] = value;\n\t instanceCache[name] = value;\n\t }\n\t\n\t function decorator(serviceName, decorFn) {\n\t var origProvider = providerInjector.get(serviceName + providerSuffix),\n\t orig$get = origProvider.$get;\n\t\n\t origProvider.$get = function() {\n\t var origInstance = instanceInjector.invoke(orig$get, origProvider);\n\t return instanceInjector.invoke(decorFn, null, {$delegate: origInstance});\n\t };\n\t }\n\t\n\t ////////////////////////////////////\n\t // Module Loading\n\t ////////////////////////////////////\n\t function loadModules(modulesToLoad) {\n\t var runBlocks = [], moduleFn;\n\t forEach(modulesToLoad, function(module) {\n\t if (loadedModules.get(module)) return;\n\t loadedModules.put(module, true);\n\t\n\t function runInvokeQueue(queue) {\n\t var i, ii;\n\t for (i = 0, ii = queue.length; i < ii; i++) {\n\t var invokeArgs = queue[i],\n\t provider = providerInjector.get(invokeArgs[0]);\n\t\n\t provider[invokeArgs[1]].apply(provider, invokeArgs[2]);\n\t }\n\t }\n\t\n\t try {\n\t if (isString(module)) {\n\t moduleFn = angularModule(module);\n\t runBlocks = runBlocks.concat(loadModules(moduleFn.requires)).concat(moduleFn._runBlocks);\n\t runInvokeQueue(moduleFn._invokeQueue);\n\t runInvokeQueue(moduleFn._configBlocks);\n\t } else if (isFunction(module)) {\n\t runBlocks.push(providerInjector.invoke(module));\n\t } else if (isArray(module)) {\n\t runBlocks.push(providerInjector.invoke(module));\n\t } else {\n\t assertArgFn(module, 'module');\n\t }\n\t } catch (e) {\n\t if (isArray(module)) {\n\t module = module[module.length - 1];\n\t }\n\t if (e.message && e.stack && e.stack.indexOf(e.message) == -1) {\n\t // Safari & FF's stack traces don't contain error.message content\n\t // unlike those of Chrome and IE\n\t // So if stack doesn't contain message, we create a new string that contains both.\n\t // Since error.stack is read-only in Safari, I'm overriding e and not e.stack here.\n\t /* jshint -W022 */\n\t e = e.message + '\\n' + e.stack;\n\t }\n\t throw $injectorMinErr('modulerr', \"Failed to instantiate module {0} due to:\\n{1}\",\n\t module, e.stack || e.message || e);\n\t }\n\t });\n\t return runBlocks;\n\t }\n\t\n\t ////////////////////////////////////\n\t // internal Injector\n\t ////////////////////////////////////\n\t\n\t function createInternalInjector(cache, factory) {\n\t\n\t function getService(serviceName, caller) {\n\t if (cache.hasOwnProperty(serviceName)) {\n\t if (cache[serviceName] === INSTANTIATING) {\n\t throw $injectorMinErr('cdep', 'Circular dependency found: {0}',\n\t serviceName + ' <- ' + path.join(' <- '));\n\t }\n\t return cache[serviceName];\n\t } else {\n\t try {\n\t path.unshift(serviceName);\n\t cache[serviceName] = INSTANTIATING;\n\t return cache[serviceName] = factory(serviceName, caller);\n\t } catch (err) {\n\t if (cache[serviceName] === INSTANTIATING) {\n\t delete cache[serviceName];\n\t }\n\t throw err;\n\t } finally {\n\t path.shift();\n\t }\n\t }\n\t }\n\t\n\t function invoke(fn, self, locals, serviceName) {\n\t if (typeof locals === 'string') {\n\t serviceName = locals;\n\t locals = null;\n\t }\n\t\n\t var args = [],\n\t $inject = createInjector.$$annotate(fn, strictDi, serviceName),\n\t length, i,\n\t key;\n\t\n\t for (i = 0, length = $inject.length; i < length; i++) {\n\t key = $inject[i];\n\t if (typeof key !== 'string') {\n\t throw $injectorMinErr('itkn',\n\t 'Incorrect injection token! Expected service name as string, got {0}', key);\n\t }\n\t args.push(\n\t locals && locals.hasOwnProperty(key)\n\t ? locals[key]\n\t : getService(key, serviceName)\n\t );\n\t }\n\t if (isArray(fn)) {\n\t fn = fn[length];\n\t }\n\t\n\t // http://jsperf.com/angularjs-invoke-apply-vs-switch\n\t // #5388\n\t return fn.apply(self, args);\n\t }\n\t\n\t function instantiate(Type, locals, serviceName) {\n\t // Check if Type is annotated and use just the given function at n-1 as parameter\n\t // e.g. someModule.factory('greeter', ['$window', function(renamed$window) {}]);\n\t // Object creation: http://jsperf.com/create-constructor/2\n\t var instance = Object.create((isArray(Type) ? Type[Type.length - 1] : Type).prototype || null);\n\t var returnedValue = invoke(Type, instance, locals, serviceName);\n\t\n\t return isObject(returnedValue) || isFunction(returnedValue) ? returnedValue : instance;\n\t }\n\t\n\t return {\n\t invoke: invoke,\n\t instantiate: instantiate,\n\t get: getService,\n\t annotate: createInjector.$$annotate,\n\t has: function(name) {\n\t return providerCache.hasOwnProperty(name + providerSuffix) || cache.hasOwnProperty(name);\n\t }\n\t };\n\t }\n\t}\n\t\n\tcreateInjector.$$annotate = annotate;\n\t\n\t/**\n\t * @ngdoc provider\n\t * @name $anchorScrollProvider\n\t *\n\t * @description\n\t * Use `$anchorScrollProvider` to disable automatic scrolling whenever\n\t * {@link ng.$location#hash $location.hash()} changes.\n\t */\n\tfunction $AnchorScrollProvider() {\n\t\n\t var autoScrollingEnabled = true;\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $anchorScrollProvider#disableAutoScrolling\n\t *\n\t * @description\n\t * By default, {@link ng.$anchorScroll $anchorScroll()} will automatically detect changes to\n\t * {@link ng.$location#hash $location.hash()} and scroll to the element matching the new hash.
\n\t * Use this method to disable automatic scrolling.\n\t *\n\t * If automatic scrolling is disabled, one must explicitly call\n\t * {@link ng.$anchorScroll $anchorScroll()} in order to scroll to the element related to the\n\t * current hash.\n\t */\n\t this.disableAutoScrolling = function() {\n\t autoScrollingEnabled = false;\n\t };\n\t\n\t /**\n\t * @ngdoc service\n\t * @name $anchorScroll\n\t * @kind function\n\t * @requires $window\n\t * @requires $location\n\t * @requires $rootScope\n\t *\n\t * @description\n\t * When called, it checks the current value of {@link ng.$location#hash $location.hash()} and\n\t * scrolls to the related element, according to the rules specified in the\n\t * [Html5 spec](http://dev.w3.org/html5/spec/Overview.html#the-indicated-part-of-the-document).\n\t *\n\t * It also watches the {@link ng.$location#hash $location.hash()} and automatically scrolls to\n\t * match any anchor whenever it changes. This can be disabled by calling\n\t * {@link ng.$anchorScrollProvider#disableAutoScrolling $anchorScrollProvider.disableAutoScrolling()}.\n\t *\n\t * Additionally, you can use its {@link ng.$anchorScroll#yOffset yOffset} property to specify a\n\t * vertical scroll-offset (either fixed or dynamic).\n\t *\n\t * @property {(number|function|jqLite)} yOffset\n\t * If set, specifies a vertical scroll-offset. This is often useful when there are fixed\n\t * positioned elements at the top of the page, such as navbars, headers etc.\n\t *\n\t * `yOffset` can be specified in various ways:\n\t * - **number**: A fixed number of pixels to be used as offset.

\n\t * - **function**: A getter function called everytime `$anchorScroll()` is executed. Must return\n\t * a number representing the offset (in pixels).

\n\t * - **jqLite**: A jqLite/jQuery element to be used for specifying the offset. The distance from\n\t * the top of the page to the element's bottom will be used as offset.
\n\t * **Note**: The element will be taken into account only as long as its `position` is set to\n\t * `fixed`. This option is useful, when dealing with responsive navbars/headers that adjust\n\t * their height and/or positioning according to the viewport's size.\n\t *\n\t *
\n\t *
\n\t * In order for `yOffset` to work properly, scrolling should take place on the document's root and\n\t * not some child element.\n\t *
\n\t *\n\t * @example\n\t \n\t \n\t
\n\t Go to bottom\n\t You're at the bottom!\n\t
\n\t
\n\t \n\t angular.module('anchorScrollExample', [])\n\t .controller('ScrollController', ['$scope', '$location', '$anchorScroll',\n\t function ($scope, $location, $anchorScroll) {\n\t $scope.gotoBottom = function() {\n\t // set the location.hash to the id of\n\t // the element you wish to scroll to.\n\t $location.hash('bottom');\n\t\n\t // call $anchorScroll()\n\t $anchorScroll();\n\t };\n\t }]);\n\t \n\t \n\t #scrollArea {\n\t height: 280px;\n\t overflow: auto;\n\t }\n\t\n\t #bottom {\n\t display: block;\n\t margin-top: 2000px;\n\t }\n\t \n\t
\n\t *\n\t *
\n\t * The example below illustrates the use of a vertical scroll-offset (specified as a fixed value).\n\t * See {@link ng.$anchorScroll#yOffset $anchorScroll.yOffset} for more details.\n\t *\n\t * @example\n\t \n\t \n\t \n\t
\n\t Anchor {{x}} of 5\n\t
\n\t
\n\t \n\t angular.module('anchorScrollOffsetExample', [])\n\t .run(['$anchorScroll', function($anchorScroll) {\n\t $anchorScroll.yOffset = 50; // always scroll by 50 extra pixels\n\t }])\n\t .controller('headerCtrl', ['$anchorScroll', '$location', '$scope',\n\t function ($anchorScroll, $location, $scope) {\n\t $scope.gotoAnchor = function(x) {\n\t var newHash = 'anchor' + x;\n\t if ($location.hash() !== newHash) {\n\t // set the $location.hash to `newHash` and\n\t // $anchorScroll will automatically scroll to it\n\t $location.hash('anchor' + x);\n\t } else {\n\t // call $anchorScroll() explicitly,\n\t // since $location.hash hasn't changed\n\t $anchorScroll();\n\t }\n\t };\n\t }\n\t ]);\n\t \n\t \n\t body {\n\t padding-top: 50px;\n\t }\n\t\n\t .anchor {\n\t border: 2px dashed DarkOrchid;\n\t padding: 10px 10px 200px 10px;\n\t }\n\t\n\t .fixed-header {\n\t background-color: rgba(0, 0, 0, 0.2);\n\t height: 50px;\n\t position: fixed;\n\t top: 0; left: 0; right: 0;\n\t }\n\t\n\t .fixed-header > a {\n\t display: inline-block;\n\t margin: 5px 15px;\n\t }\n\t \n\t
\n\t */\n\t this.$get = ['$window', '$location', '$rootScope', function($window, $location, $rootScope) {\n\t var document = $window.document;\n\t\n\t // Helper function to get first anchor from a NodeList\n\t // (using `Array#some()` instead of `angular#forEach()` since it's more performant\n\t // and working in all supported browsers.)\n\t function getFirstAnchor(list) {\n\t var result = null;\n\t Array.prototype.some.call(list, function(element) {\n\t if (nodeName_(element) === 'a') {\n\t result = element;\n\t return true;\n\t }\n\t });\n\t return result;\n\t }\n\t\n\t function getYOffset() {\n\t\n\t var offset = scroll.yOffset;\n\t\n\t if (isFunction(offset)) {\n\t offset = offset();\n\t } else if (isElement(offset)) {\n\t var elem = offset[0];\n\t var style = $window.getComputedStyle(elem);\n\t if (style.position !== 'fixed') {\n\t offset = 0;\n\t } else {\n\t offset = elem.getBoundingClientRect().bottom;\n\t }\n\t } else if (!isNumber(offset)) {\n\t offset = 0;\n\t }\n\t\n\t return offset;\n\t }\n\t\n\t function scrollTo(elem) {\n\t if (elem) {\n\t elem.scrollIntoView();\n\t\n\t var offset = getYOffset();\n\t\n\t if (offset) {\n\t // `offset` is the number of pixels we should scroll UP in order to align `elem` properly.\n\t // This is true ONLY if the call to `elem.scrollIntoView()` initially aligns `elem` at the\n\t // top of the viewport.\n\t //\n\t // IF the number of pixels from the top of `elem` to the end of the page's content is less\n\t // than the height of the viewport, then `elem.scrollIntoView()` will align the `elem` some\n\t // way down the page.\n\t //\n\t // This is often the case for elements near the bottom of the page.\n\t //\n\t // In such cases we do not need to scroll the whole `offset` up, just the difference between\n\t // the top of the element and the offset, which is enough to align the top of `elem` at the\n\t // desired position.\n\t var elemTop = elem.getBoundingClientRect().top;\n\t $window.scrollBy(0, elemTop - offset);\n\t }\n\t } else {\n\t $window.scrollTo(0, 0);\n\t }\n\t }\n\t\n\t function scroll() {\n\t var hash = $location.hash(), elm;\n\t\n\t // empty hash, scroll to the top of the page\n\t if (!hash) scrollTo(null);\n\t\n\t // element with given id\n\t else if ((elm = document.getElementById(hash))) scrollTo(elm);\n\t\n\t // first anchor with given name :-D\n\t else if ((elm = getFirstAnchor(document.getElementsByName(hash)))) scrollTo(elm);\n\t\n\t // no element and hash == 'top', scroll to the top of the page\n\t else if (hash === 'top') scrollTo(null);\n\t }\n\t\n\t // does not scroll when user clicks on anchor link that is currently on\n\t // (no url change, no $location.hash() change), browser native does scroll\n\t if (autoScrollingEnabled) {\n\t $rootScope.$watch(function autoScrollWatch() {return $location.hash();},\n\t function autoScrollWatchAction(newVal, oldVal) {\n\t // skip the initial scroll if $location.hash is empty\n\t if (newVal === oldVal && newVal === '') return;\n\t\n\t jqLiteDocumentLoaded(function() {\n\t $rootScope.$evalAsync(scroll);\n\t });\n\t });\n\t }\n\t\n\t return scroll;\n\t }];\n\t}\n\t\n\tvar $animateMinErr = minErr('$animate');\n\t\n\t/**\n\t * @ngdoc provider\n\t * @name $animateProvider\n\t *\n\t * @description\n\t * Default implementation of $animate that doesn't perform any animations, instead just\n\t * synchronously performs DOM\n\t * updates and calls done() callbacks.\n\t *\n\t * In order to enable animations the ngAnimate module has to be loaded.\n\t *\n\t * To see the functional implementation check out src/ngAnimate/animate.js\n\t */\n\tvar $AnimateProvider = ['$provide', function($provide) {\n\t\n\t\n\t this.$$selectors = {};\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $animateProvider#register\n\t *\n\t * @description\n\t * Registers a new injectable animation factory function. The factory function produces the\n\t * animation object which contains callback functions for each event that is expected to be\n\t * animated.\n\t *\n\t * * `eventFn`: `function(Element, doneFunction)` The element to animate, the `doneFunction`\n\t * must be called once the element animation is complete. If a function is returned then the\n\t * animation service will use this function to cancel the animation whenever a cancel event is\n\t * triggered.\n\t *\n\t *\n\t * ```js\n\t * return {\n\t * eventFn : function(element, done) {\n\t * //code to run the animation\n\t * //once complete, then run done()\n\t * return function cancellationFunction() {\n\t * //code to cancel the animation\n\t * }\n\t * }\n\t * }\n\t * ```\n\t *\n\t * @param {string} name The name of the animation.\n\t * @param {Function} factory The factory function that will be executed to return the animation\n\t * object.\n\t */\n\t this.register = function(name, factory) {\n\t var key = name + '-animation';\n\t if (name && name.charAt(0) != '.') throw $animateMinErr('notcsel',\n\t \"Expecting class selector starting with '.' got '{0}'.\", name);\n\t this.$$selectors[name.substr(1)] = key;\n\t $provide.factory(key, factory);\n\t };\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $animateProvider#classNameFilter\n\t *\n\t * @description\n\t * Sets and/or returns the CSS class regular expression that is checked when performing\n\t * an animation. Upon bootstrap the classNameFilter value is not set at all and will\n\t * therefore enable $animate to attempt to perform an animation on any element.\n\t * When setting the classNameFilter value, animations will only be performed on elements\n\t * that successfully match the filter expression. This in turn can boost performance\n\t * for low-powered devices as well as applications containing a lot of structural operations.\n\t * @param {RegExp=} expression The className expression which will be checked against all animations\n\t * @return {RegExp} The current CSS className expression value. If null then there is no expression value\n\t */\n\t this.classNameFilter = function(expression) {\n\t if (arguments.length === 1) {\n\t this.$$classNameFilter = (expression instanceof RegExp) ? expression : null;\n\t }\n\t return this.$$classNameFilter;\n\t };\n\t\n\t this.$get = ['$$q', '$$asyncCallback', '$rootScope', function($$q, $$asyncCallback, $rootScope) {\n\t\n\t var currentDefer;\n\t\n\t function runAnimationPostDigest(fn) {\n\t var cancelFn, defer = $$q.defer();\n\t defer.promise.$$cancelFn = function ngAnimateMaybeCancel() {\n\t cancelFn && cancelFn();\n\t };\n\t\n\t $rootScope.$$postDigest(function ngAnimatePostDigest() {\n\t cancelFn = fn(function ngAnimateNotifyComplete() {\n\t defer.resolve();\n\t });\n\t });\n\t\n\t return defer.promise;\n\t }\n\t\n\t function resolveElementClasses(element, classes) {\n\t var toAdd = [], toRemove = [];\n\t\n\t var hasClasses = createMap();\n\t forEach((element.attr('class') || '').split(/\\s+/), function(className) {\n\t hasClasses[className] = true;\n\t });\n\t\n\t forEach(classes, function(status, className) {\n\t var hasClass = hasClasses[className];\n\t\n\t // If the most recent class manipulation (via $animate) was to remove the class, and the\n\t // element currently has the class, the class is scheduled for removal. Otherwise, if\n\t // the most recent class manipulation (via $animate) was to add the class, and the\n\t // element does not currently have the class, the class is scheduled to be added.\n\t if (status === false && hasClass) {\n\t toRemove.push(className);\n\t } else if (status === true && !hasClass) {\n\t toAdd.push(className);\n\t }\n\t });\n\t\n\t return (toAdd.length + toRemove.length) > 0 &&\n\t [toAdd.length ? toAdd : null, toRemove.length ? toRemove : null];\n\t }\n\t\n\t function cachedClassManipulation(cache, classes, op) {\n\t for (var i=0, ii = classes.length; i < ii; ++i) {\n\t var className = classes[i];\n\t cache[className] = op;\n\t }\n\t }\n\t\n\t function asyncPromise() {\n\t // only serve one instance of a promise in order to save CPU cycles\n\t if (!currentDefer) {\n\t currentDefer = $$q.defer();\n\t $$asyncCallback(function() {\n\t currentDefer.resolve();\n\t currentDefer = null;\n\t });\n\t }\n\t return currentDefer.promise;\n\t }\n\t\n\t function applyStyles(element, options) {\n\t if (angular.isObject(options)) {\n\t var styles = extend(options.from || {}, options.to || {});\n\t element.css(styles);\n\t }\n\t }\n\t\n\t /**\n\t *\n\t * @ngdoc service\n\t * @name $animate\n\t * @description The $animate service provides rudimentary DOM manipulation functions to\n\t * insert, remove and move elements within the DOM, as well as adding and removing classes.\n\t * This service is the core service used by the ngAnimate $animator service which provides\n\t * high-level animation hooks for CSS and JavaScript.\n\t *\n\t * $animate is available in the AngularJS core, however, the ngAnimate module must be included\n\t * to enable full out animation support. Otherwise, $animate will only perform simple DOM\n\t * manipulation operations.\n\t *\n\t * To learn more about enabling animation support, click here to visit the {@link ngAnimate\n\t * ngAnimate module page} as well as the {@link ngAnimate.$animate ngAnimate $animate service\n\t * page}.\n\t */\n\t return {\n\t animate: function(element, from, to) {\n\t applyStyles(element, { from: from, to: to });\n\t return asyncPromise();\n\t },\n\t\n\t /**\n\t *\n\t * @ngdoc method\n\t * @name $animate#enter\n\t * @kind function\n\t * @description Inserts the element into the DOM either after the `after` element or\n\t * as the first child within the `parent` element. When the function is called a promise\n\t * is returned that will be resolved at a later time.\n\t * @param {DOMElement} element the element which will be inserted into the DOM\n\t * @param {DOMElement} parent the parent element which will append the element as\n\t * a child (if the after element is not present)\n\t * @param {DOMElement} after the sibling element which will append the element\n\t * after itself\n\t * @param {object=} options an optional collection of styles that will be applied to the element.\n\t * @return {Promise} the animation callback promise\n\t */\n\t enter: function(element, parent, after, options) {\n\t applyStyles(element, options);\n\t after ? after.after(element)\n\t : parent.prepend(element);\n\t return asyncPromise();\n\t },\n\t\n\t /**\n\t *\n\t * @ngdoc method\n\t * @name $animate#leave\n\t * @kind function\n\t * @description Removes the element from the DOM. When the function is called a promise\n\t * is returned that will be resolved at a later time.\n\t * @param {DOMElement} element the element which will be removed from the DOM\n\t * @param {object=} options an optional collection of options that will be applied to the element.\n\t * @return {Promise} the animation callback promise\n\t */\n\t leave: function(element, options) {\n\t applyStyles(element, options);\n\t element.remove();\n\t return asyncPromise();\n\t },\n\t\n\t /**\n\t *\n\t * @ngdoc method\n\t * @name $animate#move\n\t * @kind function\n\t * @description Moves the position of the provided element within the DOM to be placed\n\t * either after the `after` element or inside of the `parent` element. When the function\n\t * is called a promise is returned that will be resolved at a later time.\n\t *\n\t * @param {DOMElement} element the element which will be moved around within the\n\t * DOM\n\t * @param {DOMElement} parent the parent element where the element will be\n\t * inserted into (if the after element is not present)\n\t * @param {DOMElement} after the sibling element where the element will be\n\t * positioned next to\n\t * @param {object=} options an optional collection of options that will be applied to the element.\n\t * @return {Promise} the animation callback promise\n\t */\n\t move: function(element, parent, after, options) {\n\t // Do not remove element before insert. Removing will cause data associated with the\n\t // element to be dropped. Insert will implicitly do the remove.\n\t return this.enter(element, parent, after, options);\n\t },\n\t\n\t /**\n\t *\n\t * @ngdoc method\n\t * @name $animate#addClass\n\t * @kind function\n\t * @description Adds the provided className CSS class value to the provided element.\n\t * When the function is called a promise is returned that will be resolved at a later time.\n\t * @param {DOMElement} element the element which will have the className value\n\t * added to it\n\t * @param {string} className the CSS class which will be added to the element\n\t * @param {object=} options an optional collection of options that will be applied to the element.\n\t * @return {Promise} the animation callback promise\n\t */\n\t addClass: function(element, className, options) {\n\t return this.setClass(element, className, [], options);\n\t },\n\t\n\t $$addClassImmediately: function(element, className, options) {\n\t element = jqLite(element);\n\t className = !isString(className)\n\t ? (isArray(className) ? className.join(' ') : '')\n\t : className;\n\t forEach(element, function(element) {\n\t jqLiteAddClass(element, className);\n\t });\n\t applyStyles(element, options);\n\t return asyncPromise();\n\t },\n\t\n\t /**\n\t *\n\t * @ngdoc method\n\t * @name $animate#removeClass\n\t * @kind function\n\t * @description Removes the provided className CSS class value from the provided element.\n\t * When the function is called a promise is returned that will be resolved at a later time.\n\t * @param {DOMElement} element the element which will have the className value\n\t * removed from it\n\t * @param {string} className the CSS class which will be removed from the element\n\t * @param {object=} options an optional collection of options that will be applied to the element.\n\t * @return {Promise} the animation callback promise\n\t */\n\t removeClass: function(element, className, options) {\n\t return this.setClass(element, [], className, options);\n\t },\n\t\n\t $$removeClassImmediately: function(element, className, options) {\n\t element = jqLite(element);\n\t className = !isString(className)\n\t ? (isArray(className) ? className.join(' ') : '')\n\t : className;\n\t forEach(element, function(element) {\n\t jqLiteRemoveClass(element, className);\n\t });\n\t applyStyles(element, options);\n\t return asyncPromise();\n\t },\n\t\n\t /**\n\t *\n\t * @ngdoc method\n\t * @name $animate#setClass\n\t * @kind function\n\t * @description Adds and/or removes the given CSS classes to and from the element.\n\t * When the function is called a promise is returned that will be resolved at a later time.\n\t * @param {DOMElement} element the element which will have its CSS classes changed\n\t * removed from it\n\t * @param {string} add the CSS classes which will be added to the element\n\t * @param {string} remove the CSS class which will be removed from the element\n\t * @param {object=} options an optional collection of options that will be applied to the element.\n\t * @return {Promise} the animation callback promise\n\t */\n\t setClass: function(element, add, remove, options) {\n\t var self = this;\n\t var STORAGE_KEY = '$$animateClasses';\n\t var createdCache = false;\n\t element = jqLite(element);\n\t\n\t var cache = element.data(STORAGE_KEY);\n\t if (!cache) {\n\t cache = {\n\t classes: {},\n\t options: options\n\t };\n\t createdCache = true;\n\t } else if (options && cache.options) {\n\t cache.options = angular.extend(cache.options || {}, options);\n\t }\n\t\n\t var classes = cache.classes;\n\t\n\t add = isArray(add) ? add : add.split(' ');\n\t remove = isArray(remove) ? remove : remove.split(' ');\n\t cachedClassManipulation(classes, add, true);\n\t cachedClassManipulation(classes, remove, false);\n\t\n\t if (createdCache) {\n\t cache.promise = runAnimationPostDigest(function(done) {\n\t var cache = element.data(STORAGE_KEY);\n\t element.removeData(STORAGE_KEY);\n\t\n\t // in the event that the element is removed before postDigest\n\t // is run then the cache will be undefined and there will be\n\t // no need anymore to add or remove and of the element classes\n\t if (cache) {\n\t var classes = resolveElementClasses(element, cache.classes);\n\t if (classes) {\n\t self.$$setClassImmediately(element, classes[0], classes[1], cache.options);\n\t }\n\t }\n\t\n\t done();\n\t });\n\t element.data(STORAGE_KEY, cache);\n\t }\n\t\n\t return cache.promise;\n\t },\n\t\n\t $$setClassImmediately: function(element, add, remove, options) {\n\t add && this.$$addClassImmediately(element, add);\n\t remove && this.$$removeClassImmediately(element, remove);\n\t applyStyles(element, options);\n\t return asyncPromise();\n\t },\n\t\n\t enabled: noop,\n\t cancel: noop\n\t };\n\t }];\n\t}];\n\t\n\tfunction $$AsyncCallbackProvider() {\n\t this.$get = ['$$rAF', '$timeout', function($$rAF, $timeout) {\n\t return $$rAF.supported\n\t ? function(fn) { return $$rAF(fn); }\n\t : function(fn) {\n\t return $timeout(fn, 0, false);\n\t };\n\t }];\n\t}\n\t\n\t/* global stripHash: true */\n\t\n\t/**\n\t * ! This is a private undocumented service !\n\t *\n\t * @name $browser\n\t * @requires $log\n\t * @description\n\t * This object has two goals:\n\t *\n\t * - hide all the global state in the browser caused by the window object\n\t * - abstract away all the browser specific features and inconsistencies\n\t *\n\t * For tests we provide {@link ngMock.$browser mock implementation} of the `$browser`\n\t * service, which can be used for convenient testing of the application without the interaction with\n\t * the real browser apis.\n\t */\n\t/**\n\t * @param {object} window The global window object.\n\t * @param {object} document jQuery wrapped document.\n\t * @param {object} $log window.console or an object with the same interface.\n\t * @param {object} $sniffer $sniffer service\n\t */\n\tfunction Browser(window, document, $log, $sniffer) {\n\t var self = this,\n\t rawDocument = document[0],\n\t location = window.location,\n\t history = window.history,\n\t setTimeout = window.setTimeout,\n\t clearTimeout = window.clearTimeout,\n\t pendingDeferIds = {};\n\t\n\t self.isMock = false;\n\t\n\t var outstandingRequestCount = 0;\n\t var outstandingRequestCallbacks = [];\n\t\n\t // TODO(vojta): remove this temporary api\n\t self.$$completeOutstandingRequest = completeOutstandingRequest;\n\t self.$$incOutstandingRequestCount = function() { outstandingRequestCount++; };\n\t\n\t /**\n\t * Executes the `fn` function(supports currying) and decrements the `outstandingRequestCallbacks`\n\t * counter. If the counter reaches 0, all the `outstandingRequestCallbacks` are executed.\n\t */\n\t function completeOutstandingRequest(fn) {\n\t try {\n\t fn.apply(null, sliceArgs(arguments, 1));\n\t } finally {\n\t outstandingRequestCount--;\n\t if (outstandingRequestCount === 0) {\n\t while (outstandingRequestCallbacks.length) {\n\t try {\n\t outstandingRequestCallbacks.pop()();\n\t } catch (e) {\n\t $log.error(e);\n\t }\n\t }\n\t }\n\t }\n\t }\n\t\n\t function getHash(url) {\n\t var index = url.indexOf('#');\n\t return index === -1 ? '' : url.substr(index);\n\t }\n\t\n\t /**\n\t * @private\n\t * Note: this method is used only by scenario runner\n\t * TODO(vojta): prefix this method with $$ ?\n\t * @param {function()} callback Function that will be called when no outstanding request\n\t */\n\t self.notifyWhenNoOutstandingRequests = function(callback) {\n\t // force browser to execute all pollFns - this is needed so that cookies and other pollers fire\n\t // at some deterministic time in respect to the test runner's actions. Leaving things up to the\n\t // regular poller would result in flaky tests.\n\t forEach(pollFns, function(pollFn) { pollFn(); });\n\t\n\t if (outstandingRequestCount === 0) {\n\t callback();\n\t } else {\n\t outstandingRequestCallbacks.push(callback);\n\t }\n\t };\n\t\n\t //////////////////////////////////////////////////////////////\n\t // Poll Watcher API\n\t //////////////////////////////////////////////////////////////\n\t var pollFns = [],\n\t pollTimeout;\n\t\n\t /**\n\t * @name $browser#addPollFn\n\t *\n\t * @param {function()} fn Poll function to add\n\t *\n\t * @description\n\t * Adds a function to the list of functions that poller periodically executes,\n\t * and starts polling if not started yet.\n\t *\n\t * @returns {function()} the added function\n\t */\n\t self.addPollFn = function(fn) {\n\t if (isUndefined(pollTimeout)) startPoller(100, setTimeout);\n\t pollFns.push(fn);\n\t return fn;\n\t };\n\t\n\t /**\n\t * @param {number} interval How often should browser call poll functions (ms)\n\t * @param {function()} setTimeout Reference to a real or fake `setTimeout` function.\n\t *\n\t * @description\n\t * Configures the poller to run in the specified intervals, using the specified\n\t * setTimeout fn and kicks it off.\n\t */\n\t function startPoller(interval, setTimeout) {\n\t (function check() {\n\t forEach(pollFns, function(pollFn) { pollFn(); });\n\t pollTimeout = setTimeout(check, interval);\n\t })();\n\t }\n\t\n\t //////////////////////////////////////////////////////////////\n\t // URL API\n\t //////////////////////////////////////////////////////////////\n\t\n\t var cachedState, lastHistoryState,\n\t lastBrowserUrl = location.href,\n\t baseElement = document.find('base'),\n\t reloadLocation = null;\n\t\n\t cacheState();\n\t lastHistoryState = cachedState;\n\t\n\t /**\n\t * @name $browser#url\n\t *\n\t * @description\n\t * GETTER:\n\t * Without any argument, this method just returns current value of location.href.\n\t *\n\t * SETTER:\n\t * With at least one argument, this method sets url to new value.\n\t * If html5 history api supported, pushState/replaceState is used, otherwise\n\t * location.href/location.replace is used.\n\t * Returns its own instance to allow chaining\n\t *\n\t * NOTE: this api is intended for use only by the $location service. Please use the\n\t * {@link ng.$location $location service} to change url.\n\t *\n\t * @param {string} url New url (when used as setter)\n\t * @param {boolean=} replace Should new url replace current history record?\n\t * @param {object=} state object to use with pushState/replaceState\n\t */\n\t self.url = function(url, replace, state) {\n\t // In modern browsers `history.state` is `null` by default; treating it separately\n\t // from `undefined` would cause `$browser.url('/foo')` to change `history.state`\n\t // to undefined via `pushState`. Instead, let's change `undefined` to `null` here.\n\t if (isUndefined(state)) {\n\t state = null;\n\t }\n\t\n\t // Android Browser BFCache causes location, history reference to become stale.\n\t if (location !== window.location) location = window.location;\n\t if (history !== window.history) history = window.history;\n\t\n\t // setter\n\t if (url) {\n\t var sameState = lastHistoryState === state;\n\t\n\t // Don't change anything if previous and current URLs and states match. This also prevents\n\t // IE<10 from getting into redirect loop when in LocationHashbangInHtml5Url mode.\n\t // See https://github.com/angular/angular.js/commit/ffb2701\n\t if (lastBrowserUrl === url && (!$sniffer.history || sameState)) {\n\t return self;\n\t }\n\t var sameBase = lastBrowserUrl && stripHash(lastBrowserUrl) === stripHash(url);\n\t lastBrowserUrl = url;\n\t lastHistoryState = state;\n\t // Don't use history API if only the hash changed\n\t // due to a bug in IE10/IE11 which leads\n\t // to not firing a `hashchange` nor `popstate` event\n\t // in some cases (see #9143).\n\t if ($sniffer.history && (!sameBase || !sameState)) {\n\t history[replace ? 'replaceState' : 'pushState'](state, '', url);\n\t cacheState();\n\t // Do the assignment again so that those two variables are referentially identical.\n\t lastHistoryState = cachedState;\n\t } else {\n\t if (!sameBase || reloadLocation) {\n\t reloadLocation = url;\n\t }\n\t if (replace) {\n\t location.replace(url);\n\t } else if (!sameBase) {\n\t location.href = url;\n\t } else {\n\t location.hash = getHash(url);\n\t }\n\t }\n\t return self;\n\t // getter\n\t } else {\n\t // - reloadLocation is needed as browsers don't allow to read out\n\t // the new location.href if a reload happened.\n\t // - the replacement is a workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=407172\n\t return reloadLocation || location.href.replace(/%27/g,\"'\");\n\t }\n\t };\n\t\n\t /**\n\t * @name $browser#state\n\t *\n\t * @description\n\t * This method is a getter.\n\t *\n\t * Return history.state or null if history.state is undefined.\n\t *\n\t * @returns {object} state\n\t */\n\t self.state = function() {\n\t return cachedState;\n\t };\n\t\n\t var urlChangeListeners = [],\n\t urlChangeInit = false;\n\t\n\t function cacheStateAndFireUrlChange() {\n\t cacheState();\n\t fireUrlChange();\n\t }\n\t\n\t function getCurrentState() {\n\t try {\n\t return history.state;\n\t } catch (e) {\n\t // MSIE can reportedly throw when there is no state (UNCONFIRMED).\n\t }\n\t }\n\t\n\t // This variable should be used *only* inside the cacheState function.\n\t var lastCachedState = null;\n\t function cacheState() {\n\t // This should be the only place in $browser where `history.state` is read.\n\t cachedState = getCurrentState();\n\t cachedState = isUndefined(cachedState) ? null : cachedState;\n\t\n\t // Prevent callbacks fo fire twice if both hashchange & popstate were fired.\n\t if (equals(cachedState, lastCachedState)) {\n\t cachedState = lastCachedState;\n\t }\n\t lastCachedState = cachedState;\n\t }\n\t\n\t function fireUrlChange() {\n\t if (lastBrowserUrl === self.url() && lastHistoryState === cachedState) {\n\t return;\n\t }\n\t\n\t lastBrowserUrl = self.url();\n\t lastHistoryState = cachedState;\n\t forEach(urlChangeListeners, function(listener) {\n\t listener(self.url(), cachedState);\n\t });\n\t }\n\t\n\t /**\n\t * @name $browser#onUrlChange\n\t *\n\t * @description\n\t * Register callback function that will be called, when url changes.\n\t *\n\t * It's only called when the url is changed from outside of angular:\n\t * - user types different url into address bar\n\t * - user clicks on history (forward/back) button\n\t * - user clicks on a link\n\t *\n\t * It's not called when url is changed by $browser.url() method\n\t *\n\t * The listener gets called with new url as parameter.\n\t *\n\t * NOTE: this api is intended for use only by the $location service. Please use the\n\t * {@link ng.$location $location service} to monitor url changes in angular apps.\n\t *\n\t * @param {function(string)} listener Listener function to be called when url changes.\n\t * @return {function(string)} Returns the registered listener fn - handy if the fn is anonymous.\n\t */\n\t self.onUrlChange = function(callback) {\n\t // TODO(vojta): refactor to use node's syntax for events\n\t if (!urlChangeInit) {\n\t // We listen on both (hashchange/popstate) when available, as some browsers (e.g. Opera)\n\t // don't fire popstate when user change the address bar and don't fire hashchange when url\n\t // changed by push/replaceState\n\t\n\t // html5 history api - popstate event\n\t if ($sniffer.history) jqLite(window).on('popstate', cacheStateAndFireUrlChange);\n\t // hashchange event\n\t jqLite(window).on('hashchange', cacheStateAndFireUrlChange);\n\t\n\t urlChangeInit = true;\n\t }\n\t\n\t urlChangeListeners.push(callback);\n\t return callback;\n\t };\n\t\n\t /**\n\t * Checks whether the url has changed outside of Angular.\n\t * Needs to be exported to be able to check for changes that have been done in sync,\n\t * as hashchange/popstate events fire in async.\n\t */\n\t self.$$checkUrlChange = fireUrlChange;\n\t\n\t //////////////////////////////////////////////////////////////\n\t // Misc API\n\t //////////////////////////////////////////////////////////////\n\t\n\t /**\n\t * @name $browser#baseHref\n\t *\n\t * @description\n\t * Returns current \n\t * (always relative - without domain)\n\t *\n\t * @returns {string} The current base href\n\t */\n\t self.baseHref = function() {\n\t var href = baseElement.attr('href');\n\t return href ? href.replace(/^(https?\\:)?\\/\\/[^\\/]*/, '') : '';\n\t };\n\t\n\t //////////////////////////////////////////////////////////////\n\t // Cookies API\n\t //////////////////////////////////////////////////////////////\n\t var lastCookies = {};\n\t var lastCookieString = '';\n\t var cookiePath = self.baseHref();\n\t\n\t function safeDecodeURIComponent(str) {\n\t try {\n\t return decodeURIComponent(str);\n\t } catch (e) {\n\t return str;\n\t }\n\t }\n\t\n\t /**\n\t * @name $browser#cookies\n\t *\n\t * @param {string=} name Cookie name\n\t * @param {string=} value Cookie value\n\t *\n\t * @description\n\t * The cookies method provides a 'private' low level access to browser cookies.\n\t * It is not meant to be used directly, use the $cookie service instead.\n\t *\n\t * The return values vary depending on the arguments that the method was called with as follows:\n\t *\n\t * - cookies() -> hash of all cookies, this is NOT a copy of the internal state, so do not modify\n\t * it\n\t * - cookies(name, value) -> set name to value, if value is undefined delete the cookie\n\t * - cookies(name) -> the same as (name, undefined) == DELETES (no one calls it right now that\n\t * way)\n\t *\n\t * @returns {Object} Hash of all cookies (if called without any parameter)\n\t */\n\t self.cookies = function(name, value) {\n\t var cookieLength, cookieArray, cookie, i, index;\n\t\n\t if (name) {\n\t if (value === undefined) {\n\t rawDocument.cookie = encodeURIComponent(name) + \"=;path=\" + cookiePath +\n\t \";expires=Thu, 01 Jan 1970 00:00:00 GMT\";\n\t } else {\n\t if (isString(value)) {\n\t cookieLength = (rawDocument.cookie = encodeURIComponent(name) + '=' + encodeURIComponent(value) +\n\t ';path=' + cookiePath).length + 1;\n\t\n\t // per http://www.ietf.org/rfc/rfc2109.txt browser must allow at minimum:\n\t // - 300 cookies\n\t // - 20 cookies per unique domain\n\t // - 4096 bytes per cookie\n\t if (cookieLength > 4096) {\n\t $log.warn(\"Cookie '\" + name +\n\t \"' possibly not set or overflowed because it was too large (\" +\n\t cookieLength + \" > 4096 bytes)!\");\n\t }\n\t }\n\t }\n\t } else {\n\t if (rawDocument.cookie !== lastCookieString) {\n\t lastCookieString = rawDocument.cookie;\n\t cookieArray = lastCookieString.split(\"; \");\n\t lastCookies = {};\n\t\n\t for (i = 0; i < cookieArray.length; i++) {\n\t cookie = cookieArray[i];\n\t index = cookie.indexOf('=');\n\t if (index > 0) { //ignore nameless cookies\n\t name = safeDecodeURIComponent(cookie.substring(0, index));\n\t // the first value that is seen for a cookie is the most\n\t // specific one. values for the same cookie name that\n\t // follow are for less specific paths.\n\t if (lastCookies[name] === undefined) {\n\t lastCookies[name] = safeDecodeURIComponent(cookie.substring(index + 1));\n\t }\n\t }\n\t }\n\t }\n\t return lastCookies;\n\t }\n\t };\n\t\n\t\n\t /**\n\t * @name $browser#defer\n\t * @param {function()} fn A function, who's execution should be deferred.\n\t * @param {number=} [delay=0] of milliseconds to defer the function execution.\n\t * @returns {*} DeferId that can be used to cancel the task via `$browser.defer.cancel()`.\n\t *\n\t * @description\n\t * Executes a fn asynchronously via `setTimeout(fn, delay)`.\n\t *\n\t * Unlike when calling `setTimeout` directly, in test this function is mocked and instead of using\n\t * `setTimeout` in tests, the fns are queued in an array, which can be programmatically flushed\n\t * via `$browser.defer.flush()`.\n\t *\n\t */\n\t self.defer = function(fn, delay) {\n\t var timeoutId;\n\t outstandingRequestCount++;\n\t timeoutId = setTimeout(function() {\n\t delete pendingDeferIds[timeoutId];\n\t completeOutstandingRequest(fn);\n\t }, delay || 0);\n\t pendingDeferIds[timeoutId] = true;\n\t return timeoutId;\n\t };\n\t\n\t\n\t /**\n\t * @name $browser#defer.cancel\n\t *\n\t * @description\n\t * Cancels a deferred task identified with `deferId`.\n\t *\n\t * @param {*} deferId Token returned by the `$browser.defer` function.\n\t * @returns {boolean} Returns `true` if the task hasn't executed yet and was successfully\n\t * canceled.\n\t */\n\t self.defer.cancel = function(deferId) {\n\t if (pendingDeferIds[deferId]) {\n\t delete pendingDeferIds[deferId];\n\t clearTimeout(deferId);\n\t completeOutstandingRequest(noop);\n\t return true;\n\t }\n\t return false;\n\t };\n\t\n\t}\n\t\n\tfunction $BrowserProvider() {\n\t this.$get = ['$window', '$log', '$sniffer', '$document',\n\t function($window, $log, $sniffer, $document) {\n\t return new Browser($window, $document, $log, $sniffer);\n\t }];\n\t}\n\t\n\t/**\n\t * @ngdoc service\n\t * @name $cacheFactory\n\t *\n\t * @description\n\t * Factory that constructs {@link $cacheFactory.Cache Cache} objects and gives access to\n\t * them.\n\t *\n\t * ```js\n\t *\n\t * var cache = $cacheFactory('cacheId');\n\t * expect($cacheFactory.get('cacheId')).toBe(cache);\n\t * expect($cacheFactory.get('noSuchCacheId')).not.toBeDefined();\n\t *\n\t * cache.put(\"key\", \"value\");\n\t * cache.put(\"another key\", \"another value\");\n\t *\n\t * // We've specified no options on creation\n\t * expect(cache.info()).toEqual({id: 'cacheId', size: 2});\n\t *\n\t * ```\n\t *\n\t *\n\t * @param {string} cacheId Name or id of the newly created cache.\n\t * @param {object=} options Options object that specifies the cache behavior. Properties:\n\t *\n\t * - `{number=}` `capacity` — turns the cache into LRU cache.\n\t *\n\t * @returns {object} Newly created cache object with the following set of methods:\n\t *\n\t * - `{object}` `info()` — Returns id, size, and options of cache.\n\t * - `{{*}}` `put({string} key, {*} value)` — Puts a new key-value pair into the cache and returns\n\t * it.\n\t * - `{{*}}` `get({string} key)` — Returns cached value for `key` or undefined for cache miss.\n\t * - `{void}` `remove({string} key)` — Removes a key-value pair from the cache.\n\t * - `{void}` `removeAll()` — Removes all cached values.\n\t * - `{void}` `destroy()` — Removes references to this cache from $cacheFactory.\n\t *\n\t * @example\n\t \n\t \n\t
\n\t \n\t \n\t \n\t\n\t

Cached Values

\n\t
\n\t \n\t : \n\t \n\t
\n\t\n\t

Cache Info

\n\t
\n\t \n\t : \n\t \n\t
\n\t
\n\t
\n\t \n\t angular.module('cacheExampleApp', []).\n\t controller('CacheController', ['$scope', '$cacheFactory', function($scope, $cacheFactory) {\n\t $scope.keys = [];\n\t $scope.cache = $cacheFactory('cacheId');\n\t $scope.put = function(key, value) {\n\t if ($scope.cache.get(key) === undefined) {\n\t $scope.keys.push(key);\n\t }\n\t $scope.cache.put(key, value === undefined ? null : value);\n\t };\n\t }]);\n\t \n\t \n\t p {\n\t margin: 10px 0 3px;\n\t }\n\t \n\t
\n\t */\n\tfunction $CacheFactoryProvider() {\n\t\n\t this.$get = function() {\n\t var caches = {};\n\t\n\t function cacheFactory(cacheId, options) {\n\t if (cacheId in caches) {\n\t throw minErr('$cacheFactory')('iid', \"CacheId '{0}' is already taken!\", cacheId);\n\t }\n\t\n\t var size = 0,\n\t stats = extend({}, options, {id: cacheId}),\n\t data = {},\n\t capacity = (options && options.capacity) || Number.MAX_VALUE,\n\t lruHash = {},\n\t freshEnd = null,\n\t staleEnd = null;\n\t\n\t /**\n\t * @ngdoc type\n\t * @name $cacheFactory.Cache\n\t *\n\t * @description\n\t * A cache object used to store and retrieve data, primarily used by\n\t * {@link $http $http} and the {@link ng.directive:script script} directive to cache\n\t * templates and other data.\n\t *\n\t * ```js\n\t * angular.module('superCache')\n\t * .factory('superCache', ['$cacheFactory', function($cacheFactory) {\n\t * return $cacheFactory('super-cache');\n\t * }]);\n\t * ```\n\t *\n\t * Example test:\n\t *\n\t * ```js\n\t * it('should behave like a cache', inject(function(superCache) {\n\t * superCache.put('key', 'value');\n\t * superCache.put('another key', 'another value');\n\t *\n\t * expect(superCache.info()).toEqual({\n\t * id: 'super-cache',\n\t * size: 2\n\t * });\n\t *\n\t * superCache.remove('another key');\n\t * expect(superCache.get('another key')).toBeUndefined();\n\t *\n\t * superCache.removeAll();\n\t * expect(superCache.info()).toEqual({\n\t * id: 'super-cache',\n\t * size: 0\n\t * });\n\t * }));\n\t * ```\n\t */\n\t return caches[cacheId] = {\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $cacheFactory.Cache#put\n\t * @kind function\n\t *\n\t * @description\n\t * Inserts a named entry into the {@link $cacheFactory.Cache Cache} object to be\n\t * retrieved later, and incrementing the size of the cache if the key was not already\n\t * present in the cache. If behaving like an LRU cache, it will also remove stale\n\t * entries from the set.\n\t *\n\t * It will not insert undefined values into the cache.\n\t *\n\t * @param {string} key the key under which the cached data is stored.\n\t * @param {*} value the value to store alongside the key. If it is undefined, the key\n\t * will not be stored.\n\t * @returns {*} the value stored.\n\t */\n\t put: function(key, value) {\n\t if (capacity < Number.MAX_VALUE) {\n\t var lruEntry = lruHash[key] || (lruHash[key] = {key: key});\n\t\n\t refresh(lruEntry);\n\t }\n\t\n\t if (isUndefined(value)) return;\n\t if (!(key in data)) size++;\n\t data[key] = value;\n\t\n\t if (size > capacity) {\n\t this.remove(staleEnd.key);\n\t }\n\t\n\t return value;\n\t },\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $cacheFactory.Cache#get\n\t * @kind function\n\t *\n\t * @description\n\t * Retrieves named data stored in the {@link $cacheFactory.Cache Cache} object.\n\t *\n\t * @param {string} key the key of the data to be retrieved\n\t * @returns {*} the value stored.\n\t */\n\t get: function(key) {\n\t if (capacity < Number.MAX_VALUE) {\n\t var lruEntry = lruHash[key];\n\t\n\t if (!lruEntry) return;\n\t\n\t refresh(lruEntry);\n\t }\n\t\n\t return data[key];\n\t },\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $cacheFactory.Cache#remove\n\t * @kind function\n\t *\n\t * @description\n\t * Removes an entry from the {@link $cacheFactory.Cache Cache} object.\n\t *\n\t * @param {string} key the key of the entry to be removed\n\t */\n\t remove: function(key) {\n\t if (capacity < Number.MAX_VALUE) {\n\t var lruEntry = lruHash[key];\n\t\n\t if (!lruEntry) return;\n\t\n\t if (lruEntry == freshEnd) freshEnd = lruEntry.p;\n\t if (lruEntry == staleEnd) staleEnd = lruEntry.n;\n\t link(lruEntry.n,lruEntry.p);\n\t\n\t delete lruHash[key];\n\t }\n\t\n\t delete data[key];\n\t size--;\n\t },\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $cacheFactory.Cache#removeAll\n\t * @kind function\n\t *\n\t * @description\n\t * Clears the cache object of any entries.\n\t */\n\t removeAll: function() {\n\t data = {};\n\t size = 0;\n\t lruHash = {};\n\t freshEnd = staleEnd = null;\n\t },\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $cacheFactory.Cache#destroy\n\t * @kind function\n\t *\n\t * @description\n\t * Destroys the {@link $cacheFactory.Cache Cache} object entirely,\n\t * removing it from the {@link $cacheFactory $cacheFactory} set.\n\t */\n\t destroy: function() {\n\t data = null;\n\t stats = null;\n\t lruHash = null;\n\t delete caches[cacheId];\n\t },\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $cacheFactory.Cache#info\n\t * @kind function\n\t *\n\t * @description\n\t * Retrieve information regarding a particular {@link $cacheFactory.Cache Cache}.\n\t *\n\t * @returns {object} an object with the following properties:\n\t *
    \n\t *
  • **id**: the id of the cache instance
  • \n\t *
  • **size**: the number of entries kept in the cache instance
  • \n\t *
  • **...**: any additional properties from the options object when creating the\n\t * cache.
  • \n\t *
\n\t */\n\t info: function() {\n\t return extend({}, stats, {size: size});\n\t }\n\t };\n\t\n\t\n\t /**\n\t * makes the `entry` the freshEnd of the LRU linked list\n\t */\n\t function refresh(entry) {\n\t if (entry != freshEnd) {\n\t if (!staleEnd) {\n\t staleEnd = entry;\n\t } else if (staleEnd == entry) {\n\t staleEnd = entry.n;\n\t }\n\t\n\t link(entry.n, entry.p);\n\t link(entry, freshEnd);\n\t freshEnd = entry;\n\t freshEnd.n = null;\n\t }\n\t }\n\t\n\t\n\t /**\n\t * bidirectionally links two entries of the LRU linked list\n\t */\n\t function link(nextEntry, prevEntry) {\n\t if (nextEntry != prevEntry) {\n\t if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify\n\t if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify\n\t }\n\t }\n\t }\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $cacheFactory#info\n\t *\n\t * @description\n\t * Get information about all the caches that have been created\n\t *\n\t * @returns {Object} - key-value map of `cacheId` to the result of calling `cache#info`\n\t */\n\t cacheFactory.info = function() {\n\t var info = {};\n\t forEach(caches, function(cache, cacheId) {\n\t info[cacheId] = cache.info();\n\t });\n\t return info;\n\t };\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $cacheFactory#get\n\t *\n\t * @description\n\t * Get access to a cache object by the `cacheId` used when it was created.\n\t *\n\t * @param {string} cacheId Name or id of a cache to access.\n\t * @returns {object} Cache object identified by the cacheId or undefined if no such cache.\n\t */\n\t cacheFactory.get = function(cacheId) {\n\t return caches[cacheId];\n\t };\n\t\n\t\n\t return cacheFactory;\n\t };\n\t}\n\t\n\t/**\n\t * @ngdoc service\n\t * @name $templateCache\n\t *\n\t * @description\n\t * The first time a template is used, it is loaded in the template cache for quick retrieval. You\n\t * can load templates directly into the cache in a `script` tag, or by consuming the\n\t * `$templateCache` service directly.\n\t *\n\t * Adding via the `script` tag:\n\t *\n\t * ```html\n\t * \n\t * ```\n\t *\n\t * **Note:** the `script` tag containing the template does not need to be included in the `head` of\n\t * the document, but it must be a descendent of the {@link ng.$rootElement $rootElement} (IE,\n\t * element with ng-app attribute), otherwise the template will be ignored.\n\t *\n\t * Adding via the `$templateCache` service:\n\t *\n\t * ```js\n\t * var myApp = angular.module('myApp', []);\n\t * myApp.run(function($templateCache) {\n\t * $templateCache.put('templateId.html', 'This is the content of the template');\n\t * });\n\t * ```\n\t *\n\t * To retrieve the template later, simply use it in your HTML:\n\t * ```html\n\t *
\n\t * ```\n\t *\n\t * or get it via Javascript:\n\t * ```js\n\t * $templateCache.get('templateId.html')\n\t * ```\n\t *\n\t * See {@link ng.$cacheFactory $cacheFactory}.\n\t *\n\t */\n\tfunction $TemplateCacheProvider() {\n\t this.$get = ['$cacheFactory', function($cacheFactory) {\n\t return $cacheFactory('templates');\n\t }];\n\t}\n\t\n\t/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n\t * Any commits to this file should be reviewed with security in mind. *\n\t * Changes to this file can potentially create security vulnerabilities. *\n\t * An approval from 2 Core members with history of modifying *\n\t * this file is required. *\n\t * *\n\t * Does the change somehow allow for arbitrary javascript to be executed? *\n\t * Or allows for someone to change the prototype of built-in objects? *\n\t * Or gives undesired access to variables likes document or window? *\n\t * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\t\n\t/* ! VARIABLE/FUNCTION NAMING CONVENTIONS THAT APPLY TO THIS FILE!\n\t *\n\t * DOM-related variables:\n\t *\n\t * - \"node\" - DOM Node\n\t * - \"element\" - DOM Element or Node\n\t * - \"$node\" or \"$element\" - jqLite-wrapped node or element\n\t *\n\t *\n\t * Compiler related stuff:\n\t *\n\t * - \"linkFn\" - linking fn of a single directive\n\t * - \"nodeLinkFn\" - function that aggregates all linking fns for a particular node\n\t * - \"childLinkFn\" - function that aggregates all linking fns for child nodes of a particular node\n\t * - \"compositeLinkFn\" - function that aggregates all linking fns for a compilation root (nodeList)\n\t */\n\t\n\t\n\t/**\n\t * @ngdoc service\n\t * @name $compile\n\t * @kind function\n\t *\n\t * @description\n\t * Compiles an HTML string or DOM into a template and produces a template function, which\n\t * can then be used to link {@link ng.$rootScope.Scope `scope`} and the template together.\n\t *\n\t * The compilation is a process of walking the DOM tree and matching DOM elements to\n\t * {@link ng.$compileProvider#directive directives}.\n\t *\n\t *
\n\t * **Note:** This document is an in-depth reference of all directive options.\n\t * For a gentle introduction to directives with examples of common use cases,\n\t * see the {@link guide/directive directive guide}.\n\t *
\n\t *\n\t * ## Comprehensive Directive API\n\t *\n\t * There are many different options for a directive.\n\t *\n\t * The difference resides in the return value of the factory function.\n\t * You can either return a \"Directive Definition Object\" (see below) that defines the directive properties,\n\t * or just the `postLink` function (all other properties will have the default values).\n\t *\n\t *
\n\t * **Best Practice:** It's recommended to use the \"directive definition object\" form.\n\t *
\n\t *\n\t * Here's an example directive declared with a Directive Definition Object:\n\t *\n\t * ```js\n\t * var myModule = angular.module(...);\n\t *\n\t * myModule.directive('directiveName', function factory(injectables) {\n\t * var directiveDefinitionObject = {\n\t * priority: 0,\n\t * template: '
', // or // function(tElement, tAttrs) { ... },\n\t * // or\n\t * // templateUrl: 'directive.html', // or // function(tElement, tAttrs) { ... },\n\t * transclude: false,\n\t * restrict: 'A',\n\t * templateNamespace: 'html',\n\t * scope: false,\n\t * controller: function($scope, $element, $attrs, $transclude, otherInjectables) { ... },\n\t * controllerAs: 'stringIdentifier',\n\t * bindToController: false,\n\t * require: 'siblingDirectiveName', // or // ['^parentDirectiveName', '?optionalDirectiveName', '?^optionalParent'],\n\t * compile: function compile(tElement, tAttrs, transclude) {\n\t * return {\n\t * pre: function preLink(scope, iElement, iAttrs, controller) { ... },\n\t * post: function postLink(scope, iElement, iAttrs, controller) { ... }\n\t * }\n\t * // or\n\t * // return function postLink( ... ) { ... }\n\t * },\n\t * // or\n\t * // link: {\n\t * // pre: function preLink(scope, iElement, iAttrs, controller) { ... },\n\t * // post: function postLink(scope, iElement, iAttrs, controller) { ... }\n\t * // }\n\t * // or\n\t * // link: function postLink( ... ) { ... }\n\t * };\n\t * return directiveDefinitionObject;\n\t * });\n\t * ```\n\t *\n\t *
\n\t * **Note:** Any unspecified options will use the default value. You can see the default values below.\n\t *
\n\t *\n\t * Therefore the above can be simplified as:\n\t *\n\t * ```js\n\t * var myModule = angular.module(...);\n\t *\n\t * myModule.directive('directiveName', function factory(injectables) {\n\t * var directiveDefinitionObject = {\n\t * link: function postLink(scope, iElement, iAttrs) { ... }\n\t * };\n\t * return directiveDefinitionObject;\n\t * // or\n\t * // return function postLink(scope, iElement, iAttrs) { ... }\n\t * });\n\t * ```\n\t *\n\t *\n\t *\n\t * ### Directive Definition Object\n\t *\n\t * The directive definition object provides instructions to the {@link ng.$compile\n\t * compiler}. The attributes are:\n\t *\n\t * #### `multiElement`\n\t * When this property is set to true, the HTML compiler will collect DOM nodes between\n\t * nodes with the attributes `directive-name-start` and `directive-name-end`, and group them\n\t * together as the directive elements. It is recommended that this feature be used on directives\n\t * which are not strictly behavioural (such as {@link ngClick}), and which\n\t * do not manipulate or replace child nodes (such as {@link ngInclude}).\n\t *\n\t * #### `priority`\n\t * When there are multiple directives defined on a single DOM element, sometimes it\n\t * is necessary to specify the order in which the directives are applied. The `priority` is used\n\t * to sort the directives before their `compile` functions get called. Priority is defined as a\n\t * number. Directives with greater numerical `priority` are compiled first. Pre-link functions\n\t * are also run in priority order, but post-link functions are run in reverse order. The order\n\t * of directives with the same priority is undefined. The default priority is `0`.\n\t *\n\t * #### `terminal`\n\t * If set to true then the current `priority` will be the last set of directives\n\t * which will execute (any directives at the current priority will still execute\n\t * as the order of execution on same `priority` is undefined). Note that expressions\n\t * and other directives used in the directive's template will also be excluded from execution.\n\t *\n\t * #### `scope`\n\t * **If set to `true`,** then a new scope will be created for this directive. If multiple directives on the\n\t * same element request a new scope, only one new scope is created. The new scope rule does not\n\t * apply for the root of the template since the root of the template always gets a new scope.\n\t *\n\t * **If set to `{}` (object hash),** then a new \"isolate\" scope is created. The 'isolate' scope differs from\n\t * normal scope in that it does not prototypically inherit from the parent scope. This is useful\n\t * when creating reusable components, which should not accidentally read or modify data in the\n\t * parent scope.\n\t *\n\t * The 'isolate' scope takes an object hash which defines a set of local scope properties\n\t * derived from the parent scope. These local properties are useful for aliasing values for\n\t * templates. Locals definition is a hash of local scope property to its source:\n\t *\n\t * * `@` or `@attr` - bind a local scope property to the value of DOM attribute. The result is\n\t * always a string since DOM attributes are strings. If no `attr` name is specified then the\n\t * attribute name is assumed to be the same as the local name.\n\t * Given `` and widget definition\n\t * of `scope: { localName:'@myAttr' }`, then widget scope property `localName` will reflect\n\t * the interpolated value of `hello {{name}}`. As the `name` attribute changes so will the\n\t * `localName` property on the widget scope. The `name` is read from the parent scope (not\n\t * component scope).\n\t *\n\t * * `=` or `=attr` - set up bi-directional binding between a local scope property and the\n\t * parent scope property of name defined via the value of the `attr` attribute. If no `attr`\n\t * name is specified then the attribute name is assumed to be the same as the local name.\n\t * Given `` and widget definition of\n\t * `scope: { localModel:'=myAttr' }`, then widget scope property `localModel` will reflect the\n\t * value of `parentModel` on the parent scope. Any changes to `parentModel` will be reflected\n\t * in `localModel` and any changes in `localModel` will reflect in `parentModel`. If the parent\n\t * scope property doesn't exist, it will throw a NON_ASSIGNABLE_MODEL_EXPRESSION exception. You\n\t * can avoid this behavior using `=?` or `=?attr` in order to flag the property as optional. If\n\t * you want to shallow watch for changes (i.e. $watchCollection instead of $watch) you can use\n\t * `=*` or `=*attr` (`=*?` or `=*?attr` if the property is optional).\n\t *\n\t * * `&` or `&attr` - provides a way to execute an expression in the context of the parent scope.\n\t * If no `attr` name is specified then the attribute name is assumed to be the same as the\n\t * local name. Given `` and widget definition of\n\t * `scope: { localFn:'&myAttr' }`, then isolate scope property `localFn` will point to\n\t * a function wrapper for the `count = count + value` expression. Often it's desirable to\n\t * pass data from the isolated scope via an expression to the parent scope, this can be\n\t * done by passing a map of local variable names and values into the expression wrapper fn.\n\t * For example, if the expression is `increment(amount)` then we can specify the amount value\n\t * by calling the `localFn` as `localFn({amount: 22})`.\n\t *\n\t *\n\t * #### `bindToController`\n\t * When an isolate scope is used for a component (see above), and `controllerAs` is used, `bindToController: true` will\n\t * allow a component to have its properties bound to the controller, rather than to scope. When the controller\n\t * is instantiated, the initial values of the isolate scope bindings are already available.\n\t *\n\t * #### `controller`\n\t * Controller constructor function. The controller is instantiated before the\n\t * pre-linking phase and it is shared with other directives (see\n\t * `require` attribute). This allows the directives to communicate with each other and augment\n\t * each other's behavior. The controller is injectable (and supports bracket notation) with the following locals:\n\t *\n\t * * `$scope` - Current scope associated with the element\n\t * * `$element` - Current element\n\t * * `$attrs` - Current attributes object for the element\n\t * * `$transclude` - A transclude linking function pre-bound to the correct transclusion scope:\n\t * `function([scope], cloneLinkingFn, futureParentElement)`.\n\t * * `scope`: optional argument to override the scope.\n\t * * `cloneLinkingFn`: optional argument to create clones of the original transcluded content.\n\t * * `futureParentElement`:\n\t * * defines the parent to which the `cloneLinkingFn` will add the cloned elements.\n\t * * default: `$element.parent()` resp. `$element` for `transclude:'element'` resp. `transclude:true`.\n\t * * only needed for transcludes that are allowed to contain non html elements (e.g. SVG elements)\n\t * and when the `cloneLinkinFn` is passed,\n\t * as those elements need to created and cloned in a special way when they are defined outside their\n\t * usual containers (e.g. like ``).\n\t * * See also the `directive.templateNamespace` property.\n\t *\n\t *\n\t * #### `require`\n\t * Require another directive and inject its controller as the fourth argument to the linking function. The\n\t * `require` takes a string name (or array of strings) of the directive(s) to pass in. If an array is used, the\n\t * injected argument will be an array in corresponding order. If no such directive can be\n\t * found, or if the directive does not have a controller, then an error is raised (unless no link function\n\t * is specified, in which case error checking is skipped). The name can be prefixed with:\n\t *\n\t * * (no prefix) - Locate the required controller on the current element. Throw an error if not found.\n\t * * `?` - Attempt to locate the required controller or pass `null` to the `link` fn if not found.\n\t * * `^` - Locate the required controller by searching the element and its parents. Throw an error if not found.\n\t * * `^^` - Locate the required controller by searching the element's parents. Throw an error if not found.\n\t * * `?^` - Attempt to locate the required controller by searching the element and its parents or pass\n\t * `null` to the `link` fn if not found.\n\t * * `?^^` - Attempt to locate the required controller by searching the element's parents, or pass\n\t * `null` to the `link` fn if not found.\n\t *\n\t *\n\t * #### `controllerAs`\n\t * Controller alias at the directive scope. An alias for the controller so it\n\t * can be referenced at the directive template. The directive needs to define a scope for this\n\t * configuration to be used. Useful in the case when directive is used as component.\n\t *\n\t *\n\t * #### `restrict`\n\t * String of subset of `EACM` which restricts the directive to a specific directive\n\t * declaration style. If omitted, the defaults (elements and attributes) are used.\n\t *\n\t * * `E` - Element name (default): ``\n\t * * `A` - Attribute (default): `
`\n\t * * `C` - Class: `
`\n\t * * `M` - Comment: ``\n\t *\n\t *\n\t * #### `templateNamespace`\n\t * String representing the document type used by the markup in the template.\n\t * AngularJS needs this information as those elements need to be created and cloned\n\t * in a special way when they are defined outside their usual containers like `` and ``.\n\t *\n\t * * `html` - All root nodes in the template are HTML. Root nodes may also be\n\t * top-level elements such as `` or ``.\n\t * * `svg` - The root nodes in the template are SVG elements (excluding ``).\n\t * * `math` - The root nodes in the template are MathML elements (excluding ``).\n\t *\n\t * If no `templateNamespace` is specified, then the namespace is considered to be `html`.\n\t *\n\t * #### `template`\n\t * HTML markup that may:\n\t * * Replace the contents of the directive's element (default).\n\t * * Replace the directive's element itself (if `replace` is true - DEPRECATED).\n\t * * Wrap the contents of the directive's element (if `transclude` is true).\n\t *\n\t * Value may be:\n\t *\n\t * * A string. For example `
{{delete_str}}
`.\n\t * * A function which takes two arguments `tElement` and `tAttrs` (described in the `compile`\n\t * function api below) and returns a string value.\n\t *\n\t *\n\t * #### `templateUrl`\n\t * This is similar to `template` but the template is loaded from the specified URL, asynchronously.\n\t *\n\t * Because template loading is asynchronous the compiler will suspend compilation of directives on that element\n\t * for later when the template has been resolved. In the meantime it will continue to compile and link\n\t * sibling and parent elements as though this element had not contained any directives.\n\t *\n\t * The compiler does not suspend the entire compilation to wait for templates to be loaded because this\n\t * would result in the whole app \"stalling\" until all templates are loaded asynchronously - even in the\n\t * case when only one deeply nested directive has `templateUrl`.\n\t *\n\t * Template loading is asynchronous even if the template has been preloaded into the {@link $templateCache}\n\t *\n\t * You can specify `templateUrl` as a string representing the URL or as a function which takes two\n\t * arguments `tElement` and `tAttrs` (described in the `compile` function api below) and returns\n\t * a string value representing the url. In either case, the template URL is passed through {@link\n\t * $sce#getTrustedResourceUrl $sce.getTrustedResourceUrl}.\n\t *\n\t *\n\t * #### `replace` ([*DEPRECATED*!], will be removed in next major release - i.e. v2.0)\n\t * specify what the template should replace. Defaults to `false`.\n\t *\n\t * * `true` - the template will replace the directive's element.\n\t * * `false` - the template will replace the contents of the directive's element.\n\t *\n\t * The replacement process migrates all of the attributes / classes from the old element to the new\n\t * one. See the {@link guide/directive#template-expanding-directive\n\t * Directives Guide} for an example.\n\t *\n\t * There are very few scenarios where element replacement is required for the application function,\n\t * the main one being reusable custom components that are used within SVG contexts\n\t * (because SVG doesn't work with custom elements in the DOM tree).\n\t *\n\t * #### `transclude`\n\t * Extract the contents of the element where the directive appears and make it available to the directive.\n\t * The contents are compiled and provided to the directive as a **transclusion function**. See the\n\t * {@link $compile#transclusion Transclusion} section below.\n\t *\n\t * There are two kinds of transclusion depending upon whether you want to transclude just the contents of the\n\t * directive's element or the entire element:\n\t *\n\t * * `true` - transclude the content (i.e. the child nodes) of the directive's element.\n\t * * `'element'` - transclude the whole of the directive's element including any directives on this\n\t * element that defined at a lower priority than this directive. When used, the `template`\n\t * property is ignored.\n\t *\n\t *\n\t * #### `compile`\n\t *\n\t * ```js\n\t * function compile(tElement, tAttrs, transclude) { ... }\n\t * ```\n\t *\n\t * The compile function deals with transforming the template DOM. Since most directives do not do\n\t * template transformation, it is not used often. The compile function takes the following arguments:\n\t *\n\t * * `tElement` - template element - The element where the directive has been declared. It is\n\t * safe to do template transformation on the element and child elements only.\n\t *\n\t * * `tAttrs` - template attributes - Normalized list of attributes declared on this element shared\n\t * between all directive compile functions.\n\t *\n\t * * `transclude` - [*DEPRECATED*!] A transclude linking function: `function(scope, cloneLinkingFn)`\n\t *\n\t *
\n\t * **Note:** The template instance and the link instance may be different objects if the template has\n\t * been cloned. For this reason it is **not** safe to do anything other than DOM transformations that\n\t * apply to all cloned DOM nodes within the compile function. Specifically, DOM listener registration\n\t * should be done in a linking function rather than in a compile function.\n\t *
\n\t\n\t *
\n\t * **Note:** The compile function cannot handle directives that recursively use themselves in their\n\t * own templates or compile functions. Compiling these directives results in an infinite loop and a\n\t * stack overflow errors.\n\t *\n\t * This can be avoided by manually using $compile in the postLink function to imperatively compile\n\t * a directive's template instead of relying on automatic template compilation via `template` or\n\t * `templateUrl` declaration or manual compilation inside the compile function.\n\t *
\n\t *\n\t *
\n\t * **Note:** The `transclude` function that is passed to the compile function is deprecated, as it\n\t * e.g. does not know about the right outer scope. Please use the transclude function that is passed\n\t * to the link function instead.\n\t *
\n\t\n\t * A compile function can have a return value which can be either a function or an object.\n\t *\n\t * * returning a (post-link) function - is equivalent to registering the linking function via the\n\t * `link` property of the config object when the compile function is empty.\n\t *\n\t * * returning an object with function(s) registered via `pre` and `post` properties - allows you to\n\t * control when a linking function should be called during the linking phase. See info about\n\t * pre-linking and post-linking functions below.\n\t *\n\t *\n\t * #### `link`\n\t * This property is used only if the `compile` property is not defined.\n\t *\n\t * ```js\n\t * function link(scope, iElement, iAttrs, controller, transcludeFn) { ... }\n\t * ```\n\t *\n\t * The link function is responsible for registering DOM listeners as well as updating the DOM. It is\n\t * executed after the template has been cloned. This is where most of the directive logic will be\n\t * put.\n\t *\n\t * * `scope` - {@link ng.$rootScope.Scope Scope} - The scope to be used by the\n\t * directive for registering {@link ng.$rootScope.Scope#$watch watches}.\n\t *\n\t * * `iElement` - instance element - The element where the directive is to be used. It is safe to\n\t * manipulate the children of the element only in `postLink` function since the children have\n\t * already been linked.\n\t *\n\t * * `iAttrs` - instance attributes - Normalized list of attributes declared on this element shared\n\t * between all directive linking functions.\n\t *\n\t * * `controller` - the directive's required controller instance(s) - Instances are shared\n\t * among all directives, which allows the directives to use the controllers as a communication\n\t * channel. The exact value depends on the directive's `require` property:\n\t * * `string`: the controller instance\n\t * * `array`: array of controller instances\n\t * * no controller(s) required: `undefined`\n\t *\n\t * If a required controller cannot be found, and it is optional, the instance is `null`,\n\t * otherwise the {@link error:$compile:ctreq Missing Required Controller} error is thrown.\n\t *\n\t * * `transcludeFn` - A transclude linking function pre-bound to the correct transclusion scope.\n\t * This is the same as the `$transclude`\n\t * parameter of directive controllers, see there for details.\n\t * `function([scope], cloneLinkingFn, futureParentElement)`.\n\t *\n\t * #### Pre-linking function\n\t *\n\t * Executed before the child elements are linked. Not safe to do DOM transformation since the\n\t * compiler linking function will fail to locate the correct elements for linking.\n\t *\n\t * #### Post-linking function\n\t *\n\t * Executed after the child elements are linked.\n\t *\n\t * Note that child elements that contain `templateUrl` directives will not have been compiled\n\t * and linked since they are waiting for their template to load asynchronously and their own\n\t * compilation and linking has been suspended until that occurs.\n\t *\n\t * It is safe to do DOM transformation in the post-linking function on elements that are not waiting\n\t * for their async templates to be resolved.\n\t *\n\t *\n\t * ### Transclusion\n\t *\n\t * Transclusion is the process of extracting a collection of DOM element from one part of the DOM and\n\t * copying them to another part of the DOM, while maintaining their connection to the original AngularJS\n\t * scope from where they were taken.\n\t *\n\t * Transclusion is used (often with {@link ngTransclude}) to insert the\n\t * original contents of a directive's element into a specified place in the template of the directive.\n\t * The benefit of transclusion, over simply moving the DOM elements manually, is that the transcluded\n\t * content has access to the properties on the scope from which it was taken, even if the directive\n\t * has isolated scope.\n\t * See the {@link guide/directive#creating-a-directive-that-wraps-other-elements Directives Guide}.\n\t *\n\t * This makes it possible for the widget to have private state for its template, while the transcluded\n\t * content has access to its originating scope.\n\t *\n\t *
\n\t * **Note:** When testing an element transclude directive you must not place the directive at the root of the\n\t * DOM fragment that is being compiled. See {@link guide/unit-testing#testing-transclusion-directives\n\t * Testing Transclusion Directives}.\n\t *
\n\t *\n\t * #### Transclusion Functions\n\t *\n\t * When a directive requests transclusion, the compiler extracts its contents and provides a **transclusion\n\t * function** to the directive's `link` function and `controller`. This transclusion function is a special\n\t * **linking function** that will return the compiled contents linked to a new transclusion scope.\n\t *\n\t *
\n\t * If you are just using {@link ngTransclude} then you don't need to worry about this function, since\n\t * ngTransclude will deal with it for us.\n\t *
\n\t *\n\t * If you want to manually control the insertion and removal of the transcluded content in your directive\n\t * then you must use this transclude function. When you call a transclude function it returns a a jqLite/JQuery\n\t * object that contains the compiled DOM, which is linked to the correct transclusion scope.\n\t *\n\t * When you call a transclusion function you can pass in a **clone attach function**. This function accepts\n\t * two parameters, `function(clone, scope) { ... }`, where the `clone` is a fresh compiled copy of your transcluded\n\t * content and the `scope` is the newly created transclusion scope, to which the clone is bound.\n\t *\n\t *
\n\t * **Best Practice**: Always provide a `cloneFn` (clone attach function) when you call a translude function\n\t * since you then get a fresh clone of the original DOM and also have access to the new transclusion scope.\n\t *
\n\t *\n\t * It is normal practice to attach your transcluded content (`clone`) to the DOM inside your **clone\n\t * attach function**:\n\t *\n\t * ```js\n\t * var transcludedContent, transclusionScope;\n\t *\n\t * $transclude(function(clone, scope) {\n\t * element.append(clone);\n\t * transcludedContent = clone;\n\t * transclusionScope = scope;\n\t * });\n\t * ```\n\t *\n\t * Later, if you want to remove the transcluded content from your DOM then you should also destroy the\n\t * associated transclusion scope:\n\t *\n\t * ```js\n\t * transcludedContent.remove();\n\t * transclusionScope.$destroy();\n\t * ```\n\t *\n\t *
\n\t * **Best Practice**: if you intend to add and remove transcluded content manually in your directive\n\t * (by calling the transclude function to get the DOM and and calling `element.remove()` to remove it),\n\t * then you are also responsible for calling `$destroy` on the transclusion scope.\n\t *
\n\t *\n\t * The built-in DOM manipulation directives, such as {@link ngIf}, {@link ngSwitch} and {@link ngRepeat}\n\t * automatically destroy their transluded clones as necessary so you do not need to worry about this if\n\t * you are simply using {@link ngTransclude} to inject the transclusion into your directive.\n\t *\n\t *\n\t * #### Transclusion Scopes\n\t *\n\t * When you call a transclude function it returns a DOM fragment that is pre-bound to a **transclusion\n\t * scope**. This scope is special, in that it is a child of the directive's scope (and so gets destroyed\n\t * when the directive's scope gets destroyed) but it inherits the properties of the scope from which it\n\t * was taken.\n\t *\n\t * For example consider a directive that uses transclusion and isolated scope. The DOM hierarchy might look\n\t * like this:\n\t *\n\t * ```html\n\t *
\n\t *
\n\t *
\n\t *
\n\t *
\n\t *
\n\t * ```\n\t *\n\t * The `$parent` scope hierarchy will look like this:\n\t *\n\t * ```\n\t * - $rootScope\n\t * - isolate\n\t * - transclusion\n\t * ```\n\t *\n\t * but the scopes will inherit prototypically from different scopes to their `$parent`.\n\t *\n\t * ```\n\t * - $rootScope\n\t * - transclusion\n\t * - isolate\n\t * ```\n\t *\n\t *\n\t * ### Attributes\n\t *\n\t * The {@link ng.$compile.directive.Attributes Attributes} object - passed as a parameter in the\n\t * `link()` or `compile()` functions. It has a variety of uses.\n\t *\n\t * accessing *Normalized attribute names:*\n\t * Directives like 'ngBind' can be expressed in many ways: 'ng:bind', `data-ng-bind`, or 'x-ng-bind'.\n\t * the attributes object allows for normalized access to\n\t * the attributes.\n\t *\n\t * * *Directive inter-communication:* All directives share the same instance of the attributes\n\t * object which allows the directives to use the attributes object as inter directive\n\t * communication.\n\t *\n\t * * *Supports interpolation:* Interpolation attributes are assigned to the attribute object\n\t * allowing other directives to read the interpolated value.\n\t *\n\t * * *Observing interpolated attributes:* Use `$observe` to observe the value changes of attributes\n\t * that contain interpolation (e.g. `src=\"{{bar}}\"`). Not only is this very efficient but it's also\n\t * the only way to easily get the actual value because during the linking phase the interpolation\n\t * hasn't been evaluated yet and so the value is at this time set to `undefined`.\n\t *\n\t * ```js\n\t * function linkingFn(scope, elm, attrs, ctrl) {\n\t * // get the attribute value\n\t * console.log(attrs.ngModel);\n\t *\n\t * // change the attribute\n\t * attrs.$set('ngModel', 'new value');\n\t *\n\t * // observe changes to interpolated attribute\n\t * attrs.$observe('ngModel', function(value) {\n\t * console.log('ngModel has changed value to ' + value);\n\t * });\n\t * }\n\t * ```\n\t *\n\t * ## Example\n\t *\n\t *
\n\t * **Note**: Typically directives are registered with `module.directive`. The example below is\n\t * to illustrate how `$compile` works.\n\t *
\n\t *\n\t \n\t \n\t \n\t
\n\t
\n\t
\n\t
\n\t
\n\t
\n\t \n\t it('should auto compile', function() {\n\t var textarea = $('textarea');\n\t var output = $('div[compile]');\n\t // The initial state reads 'Hello Angular'.\n\t expect(output.getText()).toBe('Hello Angular');\n\t textarea.clear();\n\t textarea.sendKeys('{{name}}!');\n\t expect(output.getText()).toBe('Angular!');\n\t });\n\t \n\t
\n\t\n\t *\n\t *\n\t * @param {string|DOMElement} element Element or HTML string to compile into a template function.\n\t * @param {function(angular.Scope, cloneAttachFn=)} transclude function available to directives - DEPRECATED.\n\t *\n\t *
\n\t * **Note:** Passing a `transclude` function to the $compile function is deprecated, as it\n\t * e.g. will not use the right outer scope. Please pass the transclude function as a\n\t * `parentBoundTranscludeFn` to the link function instead.\n\t *
\n\t *\n\t * @param {number} maxPriority only apply directives lower than given priority (Only effects the\n\t * root element(s), not their children)\n\t * @returns {function(scope, cloneAttachFn=, options=)} a link function which is used to bind template\n\t * (a DOM element/tree) to a scope. Where:\n\t *\n\t * * `scope` - A {@link ng.$rootScope.Scope Scope} to bind to.\n\t * * `cloneAttachFn` - If `cloneAttachFn` is provided, then the link function will clone the\n\t * `template` and call the `cloneAttachFn` function allowing the caller to attach the\n\t * cloned elements to the DOM document at the appropriate place. The `cloneAttachFn` is\n\t * called as:
`cloneAttachFn(clonedElement, scope)` where:\n\t *\n\t * * `clonedElement` - is a clone of the original `element` passed into the compiler.\n\t * * `scope` - is the current scope with which the linking function is working with.\n\t *\n\t * * `options` - An optional object hash with linking options. If `options` is provided, then the following\n\t * keys may be used to control linking behavior:\n\t *\n\t * * `parentBoundTranscludeFn` - the transclude function made available to\n\t * directives; if given, it will be passed through to the link functions of\n\t * directives found in `element` during compilation.\n\t * * `transcludeControllers` - an object hash with keys that map controller names\n\t * to controller instances; if given, it will make the controllers\n\t * available to directives.\n\t * * `futureParentElement` - defines the parent to which the `cloneAttachFn` will add\n\t * the cloned elements; only needed for transcludes that are allowed to contain non html\n\t * elements (e.g. SVG elements). See also the directive.controller property.\n\t *\n\t * Calling the linking function returns the element of the template. It is either the original\n\t * element passed in, or the clone of the element if the `cloneAttachFn` is provided.\n\t *\n\t * After linking the view is not updated until after a call to $digest which typically is done by\n\t * Angular automatically.\n\t *\n\t * If you need access to the bound view, there are two ways to do it:\n\t *\n\t * - If you are not asking the linking function to clone the template, create the DOM element(s)\n\t * before you send them to the compiler and keep this reference around.\n\t * ```js\n\t * var element = $compile('

{{total}}

')(scope);\n\t * ```\n\t *\n\t * - if on the other hand, you need the element to be cloned, the view reference from the original\n\t * example would not point to the clone, but rather to the original template that was cloned. In\n\t * this case, you can access the clone via the cloneAttachFn:\n\t * ```js\n\t * var templateElement = angular.element('

{{total}}

'),\n\t * scope = ....;\n\t *\n\t * var clonedElement = $compile(templateElement)(scope, function(clonedElement, scope) {\n\t * //attach the clone to DOM document at the right place\n\t * });\n\t *\n\t * //now we have reference to the cloned DOM via `clonedElement`\n\t * ```\n\t *\n\t *\n\t * For information on how the compiler works, see the\n\t * {@link guide/compiler Angular HTML Compiler} section of the Developer Guide.\n\t */\n\t\n\tvar $compileMinErr = minErr('$compile');\n\t\n\t/**\n\t * @ngdoc provider\n\t * @name $compileProvider\n\t *\n\t * @description\n\t */\n\t$CompileProvider.$inject = ['$provide', '$$sanitizeUriProvider'];\n\tfunction $CompileProvider($provide, $$sanitizeUriProvider) {\n\t var hasDirectives = {},\n\t Suffix = 'Directive',\n\t COMMENT_DIRECTIVE_REGEXP = /^\\s*directive\\:\\s*([\\w\\-]+)\\s+(.*)$/,\n\t CLASS_DIRECTIVE_REGEXP = /(([\\w\\-]+)(?:\\:([^;]+))?;?)/,\n\t ALL_OR_NOTHING_ATTRS = makeMap('ngSrc,ngSrcset,src,srcset'),\n\t REQUIRE_PREFIX_REGEXP = /^(?:(\\^\\^?)?(\\?)?(\\^\\^?)?)?/;\n\t\n\t // Ref: http://developers.whatwg.org/webappapis.html#event-handler-idl-attributes\n\t // The assumption is that future DOM event attribute names will begin with\n\t // 'on' and be composed of only English letters.\n\t var EVENT_HANDLER_ATTR_REGEXP = /^(on[a-z]+|formaction)$/;\n\t\n\t function parseIsolateBindings(scope, directiveName) {\n\t var LOCAL_REGEXP = /^\\s*([@&]|=(\\*?))(\\??)\\s*(\\w*)\\s*$/;\n\t\n\t var bindings = {};\n\t\n\t forEach(scope, function(definition, scopeName) {\n\t var match = definition.match(LOCAL_REGEXP);\n\t\n\t if (!match) {\n\t throw $compileMinErr('iscp',\n\t \"Invalid isolate scope definition for directive '{0}'.\" +\n\t \" Definition: {... {1}: '{2}' ...}\",\n\t directiveName, scopeName, definition);\n\t }\n\t\n\t bindings[scopeName] = {\n\t mode: match[1][0],\n\t collection: match[2] === '*',\n\t optional: match[3] === '?',\n\t attrName: match[4] || scopeName\n\t };\n\t });\n\t\n\t return bindings;\n\t }\n\t\n\t function assertValidDirectiveName(name) {\n\t var letter = name.charAt(0);\n\t if (!letter || letter !== lowercase(letter)) {\n\t throw $compileMinErr('baddir', \"Directive name '{0}' is invalid. The first character must be a lowercase letter\", name);\n\t }\n\t return name;\n\t }\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $compileProvider#directive\n\t * @kind function\n\t *\n\t * @description\n\t * Register a new directive with the compiler.\n\t *\n\t * @param {string|Object} name Name of the directive in camel-case (i.e. ngBind which\n\t * will match as ng-bind), or an object map of directives where the keys are the\n\t * names and the values are the factories.\n\t * @param {Function|Array} directiveFactory An injectable directive factory function. See\n\t * {@link guide/directive} for more info.\n\t * @returns {ng.$compileProvider} Self for chaining.\n\t */\n\t this.directive = function registerDirective(name, directiveFactory) {\n\t assertNotHasOwnProperty(name, 'directive');\n\t if (isString(name)) {\n\t assertValidDirectiveName(name);\n\t assertArg(directiveFactory, 'directiveFactory');\n\t if (!hasDirectives.hasOwnProperty(name)) {\n\t hasDirectives[name] = [];\n\t $provide.factory(name + Suffix, ['$injector', '$exceptionHandler',\n\t function($injector, $exceptionHandler) {\n\t var directives = [];\n\t forEach(hasDirectives[name], function(directiveFactory, index) {\n\t try {\n\t var directive = $injector.invoke(directiveFactory);\n\t if (isFunction(directive)) {\n\t directive = { compile: valueFn(directive) };\n\t } else if (!directive.compile && directive.link) {\n\t directive.compile = valueFn(directive.link);\n\t }\n\t directive.priority = directive.priority || 0;\n\t directive.index = index;\n\t directive.name = directive.name || name;\n\t directive.require = directive.require || (directive.controller && directive.name);\n\t directive.restrict = directive.restrict || 'EA';\n\t if (isObject(directive.scope)) {\n\t directive.$$isolateBindings = parseIsolateBindings(directive.scope, directive.name);\n\t }\n\t directives.push(directive);\n\t } catch (e) {\n\t $exceptionHandler(e);\n\t }\n\t });\n\t return directives;\n\t }]);\n\t }\n\t hasDirectives[name].push(directiveFactory);\n\t } else {\n\t forEach(name, reverseParams(registerDirective));\n\t }\n\t return this;\n\t };\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $compileProvider#aHrefSanitizationWhitelist\n\t * @kind function\n\t *\n\t * @description\n\t * Retrieves or overrides the default regular expression that is used for whitelisting of safe\n\t * urls during a[href] sanitization.\n\t *\n\t * The sanitization is a security measure aimed at preventing XSS attacks via html links.\n\t *\n\t * Any url about to be assigned to a[href] via data-binding is first normalized and turned into\n\t * an absolute url. Afterwards, the url is matched against the `aHrefSanitizationWhitelist`\n\t * regular expression. If a match is found, the original url is written into the dom. Otherwise,\n\t * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.\n\t *\n\t * @param {RegExp=} regexp New regexp to whitelist urls with.\n\t * @returns {RegExp|ng.$compileProvider} Current RegExp if called without value or self for\n\t * chaining otherwise.\n\t */\n\t this.aHrefSanitizationWhitelist = function(regexp) {\n\t if (isDefined(regexp)) {\n\t $$sanitizeUriProvider.aHrefSanitizationWhitelist(regexp);\n\t return this;\n\t } else {\n\t return $$sanitizeUriProvider.aHrefSanitizationWhitelist();\n\t }\n\t };\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $compileProvider#imgSrcSanitizationWhitelist\n\t * @kind function\n\t *\n\t * @description\n\t * Retrieves or overrides the default regular expression that is used for whitelisting of safe\n\t * urls during img[src] sanitization.\n\t *\n\t * The sanitization is a security measure aimed at prevent XSS attacks via html links.\n\t *\n\t * Any url about to be assigned to img[src] via data-binding is first normalized and turned into\n\t * an absolute url. Afterwards, the url is matched against the `imgSrcSanitizationWhitelist`\n\t * regular expression. If a match is found, the original url is written into the dom. Otherwise,\n\t * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.\n\t *\n\t * @param {RegExp=} regexp New regexp to whitelist urls with.\n\t * @returns {RegExp|ng.$compileProvider} Current RegExp if called without value or self for\n\t * chaining otherwise.\n\t */\n\t this.imgSrcSanitizationWhitelist = function(regexp) {\n\t if (isDefined(regexp)) {\n\t $$sanitizeUriProvider.imgSrcSanitizationWhitelist(regexp);\n\t return this;\n\t } else {\n\t return $$sanitizeUriProvider.imgSrcSanitizationWhitelist();\n\t }\n\t };\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $compileProvider#debugInfoEnabled\n\t *\n\t * @param {boolean=} enabled update the debugInfoEnabled state if provided, otherwise just return the\n\t * current debugInfoEnabled state\n\t * @returns {*} current value if used as getter or itself (chaining) if used as setter\n\t *\n\t * @kind function\n\t *\n\t * @description\n\t * Call this method to enable/disable various debug runtime information in the compiler such as adding\n\t * binding information and a reference to the current scope on to DOM elements.\n\t * If enabled, the compiler will add the following to DOM elements that have been bound to the scope\n\t * * `ng-binding` CSS class\n\t * * `$binding` data property containing an array of the binding expressions\n\t *\n\t * You may want to disable this in production for a significant performance boost. See\n\t * {@link guide/production#disabling-debug-data Disabling Debug Data} for more.\n\t *\n\t * The default value is true.\n\t */\n\t var debugInfoEnabled = true;\n\t this.debugInfoEnabled = function(enabled) {\n\t if (isDefined(enabled)) {\n\t debugInfoEnabled = enabled;\n\t return this;\n\t }\n\t return debugInfoEnabled;\n\t };\n\t\n\t this.$get = [\n\t '$injector', '$interpolate', '$exceptionHandler', '$templateRequest', '$parse',\n\t '$controller', '$rootScope', '$document', '$sce', '$animate', '$$sanitizeUri',\n\t function($injector, $interpolate, $exceptionHandler, $templateRequest, $parse,\n\t $controller, $rootScope, $document, $sce, $animate, $$sanitizeUri) {\n\t\n\t var Attributes = function(element, attributesToCopy) {\n\t if (attributesToCopy) {\n\t var keys = Object.keys(attributesToCopy);\n\t var i, l, key;\n\t\n\t for (i = 0, l = keys.length; i < l; i++) {\n\t key = keys[i];\n\t this[key] = attributesToCopy[key];\n\t }\n\t } else {\n\t this.$attr = {};\n\t }\n\t\n\t this.$$element = element;\n\t };\n\t\n\t Attributes.prototype = {\n\t /**\n\t * @ngdoc method\n\t * @name $compile.directive.Attributes#$normalize\n\t * @kind function\n\t *\n\t * @description\n\t * Converts an attribute name (e.g. dash/colon/underscore-delimited string, optionally prefixed with `x-` or\n\t * `data-`) to its normalized, camelCase form.\n\t *\n\t * Also there is special case for Moz prefix starting with upper case letter.\n\t *\n\t * For further information check out the guide on {@link guide/directive#matching-directives Matching Directives}\n\t *\n\t * @param {string} name Name to normalize\n\t */\n\t $normalize: directiveNormalize,\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $compile.directive.Attributes#$addClass\n\t * @kind function\n\t *\n\t * @description\n\t * Adds the CSS class value specified by the classVal parameter to the element. If animations\n\t * are enabled then an animation will be triggered for the class addition.\n\t *\n\t * @param {string} classVal The className value that will be added to the element\n\t */\n\t $addClass: function(classVal) {\n\t if (classVal && classVal.length > 0) {\n\t $animate.addClass(this.$$element, classVal);\n\t }\n\t },\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $compile.directive.Attributes#$removeClass\n\t * @kind function\n\t *\n\t * @description\n\t * Removes the CSS class value specified by the classVal parameter from the element. If\n\t * animations are enabled then an animation will be triggered for the class removal.\n\t *\n\t * @param {string} classVal The className value that will be removed from the element\n\t */\n\t $removeClass: function(classVal) {\n\t if (classVal && classVal.length > 0) {\n\t $animate.removeClass(this.$$element, classVal);\n\t }\n\t },\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $compile.directive.Attributes#$updateClass\n\t * @kind function\n\t *\n\t * @description\n\t * Adds and removes the appropriate CSS class values to the element based on the difference\n\t * between the new and old CSS class values (specified as newClasses and oldClasses).\n\t *\n\t * @param {string} newClasses The current CSS className value\n\t * @param {string} oldClasses The former CSS className value\n\t */\n\t $updateClass: function(newClasses, oldClasses) {\n\t var toAdd = tokenDifference(newClasses, oldClasses);\n\t if (toAdd && toAdd.length) {\n\t $animate.addClass(this.$$element, toAdd);\n\t }\n\t\n\t var toRemove = tokenDifference(oldClasses, newClasses);\n\t if (toRemove && toRemove.length) {\n\t $animate.removeClass(this.$$element, toRemove);\n\t }\n\t },\n\t\n\t /**\n\t * Set a normalized attribute on the element in a way such that all directives\n\t * can share the attribute. This function properly handles boolean attributes.\n\t * @param {string} key Normalized key. (ie ngAttribute)\n\t * @param {string|boolean} value The value to set. If `null` attribute will be deleted.\n\t * @param {boolean=} writeAttr If false, does not write the value to DOM element attribute.\n\t * Defaults to true.\n\t * @param {string=} attrName Optional none normalized name. Defaults to key.\n\t */\n\t $set: function(key, value, writeAttr, attrName) {\n\t // TODO: decide whether or not to throw an error if \"class\"\n\t //is set through this function since it may cause $updateClass to\n\t //become unstable.\n\t\n\t var node = this.$$element[0],\n\t booleanKey = getBooleanAttrName(node, key),\n\t aliasedKey = getAliasedAttrName(node, key),\n\t observer = key,\n\t nodeName;\n\t\n\t if (booleanKey) {\n\t this.$$element.prop(key, value);\n\t attrName = booleanKey;\n\t } else if (aliasedKey) {\n\t this[aliasedKey] = value;\n\t observer = aliasedKey;\n\t }\n\t\n\t this[key] = value;\n\t\n\t // translate normalized key to actual key\n\t if (attrName) {\n\t this.$attr[key] = attrName;\n\t } else {\n\t attrName = this.$attr[key];\n\t if (!attrName) {\n\t this.$attr[key] = attrName = snake_case(key, '-');\n\t }\n\t }\n\t\n\t nodeName = nodeName_(this.$$element);\n\t\n\t if ((nodeName === 'a' && key === 'href') ||\n\t (nodeName === 'img' && key === 'src')) {\n\t // sanitize a[href] and img[src] values\n\t this[key] = value = $$sanitizeUri(value, key === 'src');\n\t } else if (nodeName === 'img' && key === 'srcset') {\n\t // sanitize img[srcset] values\n\t var result = \"\";\n\t\n\t // first check if there are spaces because it's not the same pattern\n\t var trimmedSrcset = trim(value);\n\t // ( 999x ,| 999w ,| ,|, )\n\t var srcPattern = /(\\s+\\d+x\\s*,|\\s+\\d+w\\s*,|\\s+,|,\\s+)/;\n\t var pattern = /\\s/.test(trimmedSrcset) ? srcPattern : /(,)/;\n\t\n\t // split srcset into tuple of uri and descriptor except for the last item\n\t var rawUris = trimmedSrcset.split(pattern);\n\t\n\t // for each tuples\n\t var nbrUrisWith2parts = Math.floor(rawUris.length / 2);\n\t for (var i = 0; i < nbrUrisWith2parts; i++) {\n\t var innerIdx = i * 2;\n\t // sanitize the uri\n\t result += $$sanitizeUri(trim(rawUris[innerIdx]), true);\n\t // add the descriptor\n\t result += (\" \" + trim(rawUris[innerIdx + 1]));\n\t }\n\t\n\t // split the last item into uri and descriptor\n\t var lastTuple = trim(rawUris[i * 2]).split(/\\s/);\n\t\n\t // sanitize the last uri\n\t result += $$sanitizeUri(trim(lastTuple[0]), true);\n\t\n\t // and add the last descriptor if any\n\t if (lastTuple.length === 2) {\n\t result += (\" \" + trim(lastTuple[1]));\n\t }\n\t this[key] = value = result;\n\t }\n\t\n\t if (writeAttr !== false) {\n\t if (value === null || value === undefined) {\n\t this.$$element.removeAttr(attrName);\n\t } else {\n\t this.$$element.attr(attrName, value);\n\t }\n\t }\n\t\n\t // fire observers\n\t var $$observers = this.$$observers;\n\t $$observers && forEach($$observers[observer], function(fn) {\n\t try {\n\t fn(value);\n\t } catch (e) {\n\t $exceptionHandler(e);\n\t }\n\t });\n\t },\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $compile.directive.Attributes#$observe\n\t * @kind function\n\t *\n\t * @description\n\t * Observes an interpolated attribute.\n\t *\n\t * The observer function will be invoked once during the next `$digest` following\n\t * compilation. The observer is then invoked whenever the interpolated value\n\t * changes.\n\t *\n\t * @param {string} key Normalized key. (ie ngAttribute) .\n\t * @param {function(interpolatedValue)} fn Function that will be called whenever\n\t the interpolated value of the attribute changes.\n\t * See the {@link guide/directive#text-and-attribute-bindings Directives} guide for more info.\n\t * @returns {function()} Returns a deregistration function for this observer.\n\t */\n\t $observe: function(key, fn) {\n\t var attrs = this,\n\t $$observers = (attrs.$$observers || (attrs.$$observers = createMap())),\n\t listeners = ($$observers[key] || ($$observers[key] = []));\n\t\n\t listeners.push(fn);\n\t $rootScope.$evalAsync(function() {\n\t if (!listeners.$$inter && attrs.hasOwnProperty(key)) {\n\t // no one registered attribute interpolation function, so lets call it manually\n\t fn(attrs[key]);\n\t }\n\t });\n\t\n\t return function() {\n\t arrayRemove(listeners, fn);\n\t };\n\t }\n\t };\n\t\n\t\n\t function safeAddClass($element, className) {\n\t try {\n\t $element.addClass(className);\n\t } catch (e) {\n\t // ignore, since it means that we are trying to set class on\n\t // SVG element, where class name is read-only.\n\t }\n\t }\n\t\n\t\n\t var startSymbol = $interpolate.startSymbol(),\n\t endSymbol = $interpolate.endSymbol(),\n\t denormalizeTemplate = (startSymbol == '{{' || endSymbol == '}}')\n\t ? identity\n\t : function denormalizeTemplate(template) {\n\t return template.replace(/\\{\\{/g, startSymbol).replace(/}}/g, endSymbol);\n\t },\n\t NG_ATTR_BINDING = /^ngAttr[A-Z]/;\n\t\n\t compile.$$addBindingInfo = debugInfoEnabled ? function $$addBindingInfo($element, binding) {\n\t var bindings = $element.data('$binding') || [];\n\t\n\t if (isArray(binding)) {\n\t bindings = bindings.concat(binding);\n\t } else {\n\t bindings.push(binding);\n\t }\n\t\n\t $element.data('$binding', bindings);\n\t } : noop;\n\t\n\t compile.$$addBindingClass = debugInfoEnabled ? function $$addBindingClass($element) {\n\t safeAddClass($element, 'ng-binding');\n\t } : noop;\n\t\n\t compile.$$addScopeInfo = debugInfoEnabled ? function $$addScopeInfo($element, scope, isolated, noTemplate) {\n\t var dataName = isolated ? (noTemplate ? '$isolateScopeNoTemplate' : '$isolateScope') : '$scope';\n\t $element.data(dataName, scope);\n\t } : noop;\n\t\n\t compile.$$addScopeClass = debugInfoEnabled ? function $$addScopeClass($element, isolated) {\n\t safeAddClass($element, isolated ? 'ng-isolate-scope' : 'ng-scope');\n\t } : noop;\n\t\n\t return compile;\n\t\n\t //================================\n\t\n\t function compile($compileNodes, transcludeFn, maxPriority, ignoreDirective,\n\t previousCompileContext) {\n\t if (!($compileNodes instanceof jqLite)) {\n\t // jquery always rewraps, whereas we need to preserve the original selector so that we can\n\t // modify it.\n\t $compileNodes = jqLite($compileNodes);\n\t }\n\t // We can not compile top level text elements since text nodes can be merged and we will\n\t // not be able to attach scope data to them, so we will wrap them in \n\t forEach($compileNodes, function(node, index) {\n\t if (node.nodeType == NODE_TYPE_TEXT && node.nodeValue.match(/\\S+/) /* non-empty */ ) {\n\t $compileNodes[index] = jqLite(node).wrap('').parent()[0];\n\t }\n\t });\n\t var compositeLinkFn =\n\t compileNodes($compileNodes, transcludeFn, $compileNodes,\n\t maxPriority, ignoreDirective, previousCompileContext);\n\t compile.$$addScopeClass($compileNodes);\n\t var namespace = null;\n\t return function publicLinkFn(scope, cloneConnectFn, options) {\n\t assertArg(scope, 'scope');\n\t\n\t options = options || {};\n\t var parentBoundTranscludeFn = options.parentBoundTranscludeFn,\n\t transcludeControllers = options.transcludeControllers,\n\t futureParentElement = options.futureParentElement;\n\t\n\t // When `parentBoundTranscludeFn` is passed, it is a\n\t // `controllersBoundTransclude` function (it was previously passed\n\t // as `transclude` to directive.link) so we must unwrap it to get\n\t // its `boundTranscludeFn`\n\t if (parentBoundTranscludeFn && parentBoundTranscludeFn.$$boundTransclude) {\n\t parentBoundTranscludeFn = parentBoundTranscludeFn.$$boundTransclude;\n\t }\n\t\n\t if (!namespace) {\n\t namespace = detectNamespaceForChildElements(futureParentElement);\n\t }\n\t var $linkNode;\n\t if (namespace !== 'html') {\n\t // When using a directive with replace:true and templateUrl the $compileNodes\n\t // (or a child element inside of them)\n\t // might change, so we need to recreate the namespace adapted compileNodes\n\t // for call to the link function.\n\t // Note: This will already clone the nodes...\n\t $linkNode = jqLite(\n\t wrapTemplate(namespace, jqLite('
').append($compileNodes).html())\n\t );\n\t } else if (cloneConnectFn) {\n\t // important!!: we must call our jqLite.clone() since the jQuery one is trying to be smart\n\t // and sometimes changes the structure of the DOM.\n\t $linkNode = JQLitePrototype.clone.call($compileNodes);\n\t } else {\n\t $linkNode = $compileNodes;\n\t }\n\t\n\t if (transcludeControllers) {\n\t for (var controllerName in transcludeControllers) {\n\t $linkNode.data('$' + controllerName + 'Controller', transcludeControllers[controllerName].instance);\n\t }\n\t }\n\t\n\t compile.$$addScopeInfo($linkNode, scope);\n\t\n\t if (cloneConnectFn) cloneConnectFn($linkNode, scope);\n\t if (compositeLinkFn) compositeLinkFn(scope, $linkNode, $linkNode, parentBoundTranscludeFn);\n\t return $linkNode;\n\t };\n\t }\n\t\n\t function detectNamespaceForChildElements(parentElement) {\n\t // TODO: Make this detect MathML as well...\n\t var node = parentElement && parentElement[0];\n\t if (!node) {\n\t return 'html';\n\t } else {\n\t return nodeName_(node) !== 'foreignobject' && node.toString().match(/SVG/) ? 'svg' : 'html';\n\t }\n\t }\n\t\n\t /**\n\t * Compile function matches each node in nodeList against the directives. Once all directives\n\t * for a particular node are collected their compile functions are executed. The compile\n\t * functions return values - the linking functions - are combined into a composite linking\n\t * function, which is the a linking function for the node.\n\t *\n\t * @param {NodeList} nodeList an array of nodes or NodeList to compile\n\t * @param {function(angular.Scope, cloneAttachFn=)} transcludeFn A linking function, where the\n\t * scope argument is auto-generated to the new child of the transcluded parent scope.\n\t * @param {DOMElement=} $rootElement If the nodeList is the root of the compilation tree then\n\t * the rootElement must be set the jqLite collection of the compile root. This is\n\t * needed so that the jqLite collection items can be replaced with widgets.\n\t * @param {number=} maxPriority Max directive priority.\n\t * @returns {Function} A composite linking function of all of the matched directives or null.\n\t */\n\t function compileNodes(nodeList, transcludeFn, $rootElement, maxPriority, ignoreDirective,\n\t previousCompileContext) {\n\t var linkFns = [],\n\t attrs, directives, nodeLinkFn, childNodes, childLinkFn, linkFnFound, nodeLinkFnFound;\n\t\n\t for (var i = 0; i < nodeList.length; i++) {\n\t attrs = new Attributes();\n\t\n\t // we must always refer to nodeList[i] since the nodes can be replaced underneath us.\n\t directives = collectDirectives(nodeList[i], [], attrs, i === 0 ? maxPriority : undefined,\n\t ignoreDirective);\n\t\n\t nodeLinkFn = (directives.length)\n\t ? applyDirectivesToNode(directives, nodeList[i], attrs, transcludeFn, $rootElement,\n\t null, [], [], previousCompileContext)\n\t : null;\n\t\n\t if (nodeLinkFn && nodeLinkFn.scope) {\n\t compile.$$addScopeClass(attrs.$$element);\n\t }\n\t\n\t childLinkFn = (nodeLinkFn && nodeLinkFn.terminal ||\n\t !(childNodes = nodeList[i].childNodes) ||\n\t !childNodes.length)\n\t ? null\n\t : compileNodes(childNodes,\n\t nodeLinkFn ? (\n\t (nodeLinkFn.transcludeOnThisElement || !nodeLinkFn.templateOnThisElement)\n\t && nodeLinkFn.transclude) : transcludeFn);\n\t\n\t if (nodeLinkFn || childLinkFn) {\n\t linkFns.push(i, nodeLinkFn, childLinkFn);\n\t linkFnFound = true;\n\t nodeLinkFnFound = nodeLinkFnFound || nodeLinkFn;\n\t }\n\t\n\t //use the previous context only for the first element in the virtual group\n\t previousCompileContext = null;\n\t }\n\t\n\t // return a linking function if we have found anything, null otherwise\n\t return linkFnFound ? compositeLinkFn : null;\n\t\n\t function compositeLinkFn(scope, nodeList, $rootElement, parentBoundTranscludeFn) {\n\t var nodeLinkFn, childLinkFn, node, childScope, i, ii, idx, childBoundTranscludeFn;\n\t var stableNodeList;\n\t\n\t\n\t if (nodeLinkFnFound) {\n\t // copy nodeList so that if a nodeLinkFn removes or adds an element at this DOM level our\n\t // offsets don't get screwed up\n\t var nodeListLength = nodeList.length;\n\t stableNodeList = new Array(nodeListLength);\n\t\n\t // create a sparse array by only copying the elements which have a linkFn\n\t for (i = 0; i < linkFns.length; i+=3) {\n\t idx = linkFns[i];\n\t stableNodeList[idx] = nodeList[idx];\n\t }\n\t } else {\n\t stableNodeList = nodeList;\n\t }\n\t\n\t for (i = 0, ii = linkFns.length; i < ii;) {\n\t node = stableNodeList[linkFns[i++]];\n\t nodeLinkFn = linkFns[i++];\n\t childLinkFn = linkFns[i++];\n\t\n\t if (nodeLinkFn) {\n\t if (nodeLinkFn.scope) {\n\t childScope = scope.$new();\n\t compile.$$addScopeInfo(jqLite(node), childScope);\n\t } else {\n\t childScope = scope;\n\t }\n\t\n\t if (nodeLinkFn.transcludeOnThisElement) {\n\t childBoundTranscludeFn = createBoundTranscludeFn(\n\t scope, nodeLinkFn.transclude, parentBoundTranscludeFn,\n\t nodeLinkFn.elementTranscludeOnThisElement);\n\t\n\t } else if (!nodeLinkFn.templateOnThisElement && parentBoundTranscludeFn) {\n\t childBoundTranscludeFn = parentBoundTranscludeFn;\n\t\n\t } else if (!parentBoundTranscludeFn && transcludeFn) {\n\t childBoundTranscludeFn = createBoundTranscludeFn(scope, transcludeFn);\n\t\n\t } else {\n\t childBoundTranscludeFn = null;\n\t }\n\t\n\t nodeLinkFn(childLinkFn, childScope, node, $rootElement, childBoundTranscludeFn);\n\t\n\t } else if (childLinkFn) {\n\t childLinkFn(scope, node.childNodes, undefined, parentBoundTranscludeFn);\n\t }\n\t }\n\t }\n\t }\n\t\n\t function createBoundTranscludeFn(scope, transcludeFn, previousBoundTranscludeFn, elementTransclusion) {\n\t\n\t var boundTranscludeFn = function(transcludedScope, cloneFn, controllers, futureParentElement, containingScope) {\n\t\n\t if (!transcludedScope) {\n\t transcludedScope = scope.$new(false, containingScope);\n\t transcludedScope.$$transcluded = true;\n\t }\n\t\n\t return transcludeFn(transcludedScope, cloneFn, {\n\t parentBoundTranscludeFn: previousBoundTranscludeFn,\n\t transcludeControllers: controllers,\n\t futureParentElement: futureParentElement\n\t });\n\t };\n\t\n\t return boundTranscludeFn;\n\t }\n\t\n\t /**\n\t * Looks for directives on the given node and adds them to the directive collection which is\n\t * sorted.\n\t *\n\t * @param node Node to search.\n\t * @param directives An array to which the directives are added to. This array is sorted before\n\t * the function returns.\n\t * @param attrs The shared attrs object which is used to populate the normalized attributes.\n\t * @param {number=} maxPriority Max directive priority.\n\t */\n\t function collectDirectives(node, directives, attrs, maxPriority, ignoreDirective) {\n\t var nodeType = node.nodeType,\n\t attrsMap = attrs.$attr,\n\t match,\n\t className;\n\t\n\t switch (nodeType) {\n\t case NODE_TYPE_ELEMENT: /* Element */\n\t // use the node name: \n\t addDirective(directives,\n\t directiveNormalize(nodeName_(node)), 'E', maxPriority, ignoreDirective);\n\t\n\t // iterate over the attributes\n\t for (var attr, name, nName, ngAttrName, value, isNgAttr, nAttrs = node.attributes,\n\t j = 0, jj = nAttrs && nAttrs.length; j < jj; j++) {\n\t var attrStartName = false;\n\t var attrEndName = false;\n\t\n\t attr = nAttrs[j];\n\t name = attr.name;\n\t value = trim(attr.value);\n\t\n\t // support ngAttr attribute binding\n\t ngAttrName = directiveNormalize(name);\n\t if (isNgAttr = NG_ATTR_BINDING.test(ngAttrName)) {\n\t name = name.replace(PREFIX_REGEXP, '')\n\t .substr(8).replace(/_(.)/g, function(match, letter) {\n\t return letter.toUpperCase();\n\t });\n\t }\n\t\n\t var directiveNName = ngAttrName.replace(/(Start|End)$/, '');\n\t if (directiveIsMultiElement(directiveNName)) {\n\t if (ngAttrName === directiveNName + 'Start') {\n\t attrStartName = name;\n\t attrEndName = name.substr(0, name.length - 5) + 'end';\n\t name = name.substr(0, name.length - 6);\n\t }\n\t }\n\t\n\t nName = directiveNormalize(name.toLowerCase());\n\t attrsMap[nName] = name;\n\t if (isNgAttr || !attrs.hasOwnProperty(nName)) {\n\t attrs[nName] = value;\n\t if (getBooleanAttrName(node, nName)) {\n\t attrs[nName] = true; // presence means true\n\t }\n\t }\n\t addAttrInterpolateDirective(node, directives, value, nName, isNgAttr);\n\t addDirective(directives, nName, 'A', maxPriority, ignoreDirective, attrStartName,\n\t attrEndName);\n\t }\n\t\n\t // use class as directive\n\t className = node.className;\n\t if (isObject(className)) {\n\t // Maybe SVGAnimatedString\n\t className = className.animVal;\n\t }\n\t if (isString(className) && className !== '') {\n\t while (match = CLASS_DIRECTIVE_REGEXP.exec(className)) {\n\t nName = directiveNormalize(match[2]);\n\t if (addDirective(directives, nName, 'C', maxPriority, ignoreDirective)) {\n\t attrs[nName] = trim(match[3]);\n\t }\n\t className = className.substr(match.index + match[0].length);\n\t }\n\t }\n\t break;\n\t case NODE_TYPE_TEXT: /* Text Node */\n\t addTextInterpolateDirective(directives, node.nodeValue);\n\t break;\n\t case NODE_TYPE_COMMENT: /* Comment */\n\t try {\n\t match = COMMENT_DIRECTIVE_REGEXP.exec(node.nodeValue);\n\t if (match) {\n\t nName = directiveNormalize(match[1]);\n\t if (addDirective(directives, nName, 'M', maxPriority, ignoreDirective)) {\n\t attrs[nName] = trim(match[2]);\n\t }\n\t }\n\t } catch (e) {\n\t // turns out that under some circumstances IE9 throws errors when one attempts to read\n\t // comment's node value.\n\t // Just ignore it and continue. (Can't seem to reproduce in test case.)\n\t }\n\t break;\n\t }\n\t\n\t directives.sort(byPriority);\n\t return directives;\n\t }\n\t\n\t /**\n\t * Given a node with an directive-start it collects all of the siblings until it finds\n\t * directive-end.\n\t * @param node\n\t * @param attrStart\n\t * @param attrEnd\n\t * @returns {*}\n\t */\n\t function groupScan(node, attrStart, attrEnd) {\n\t var nodes = [];\n\t var depth = 0;\n\t if (attrStart && node.hasAttribute && node.hasAttribute(attrStart)) {\n\t do {\n\t if (!node) {\n\t throw $compileMinErr('uterdir',\n\t \"Unterminated attribute, found '{0}' but no matching '{1}' found.\",\n\t attrStart, attrEnd);\n\t }\n\t if (node.nodeType == NODE_TYPE_ELEMENT) {\n\t if (node.hasAttribute(attrStart)) depth++;\n\t if (node.hasAttribute(attrEnd)) depth--;\n\t }\n\t nodes.push(node);\n\t node = node.nextSibling;\n\t } while (depth > 0);\n\t } else {\n\t nodes.push(node);\n\t }\n\t\n\t return jqLite(nodes);\n\t }\n\t\n\t /**\n\t * Wrapper for linking function which converts normal linking function into a grouped\n\t * linking function.\n\t * @param linkFn\n\t * @param attrStart\n\t * @param attrEnd\n\t * @returns {Function}\n\t */\n\t function groupElementsLinkFnWrapper(linkFn, attrStart, attrEnd) {\n\t return function(scope, element, attrs, controllers, transcludeFn) {\n\t element = groupScan(element[0], attrStart, attrEnd);\n\t return linkFn(scope, element, attrs, controllers, transcludeFn);\n\t };\n\t }\n\t\n\t /**\n\t * Once the directives have been collected, their compile functions are executed. This method\n\t * is responsible for inlining directive templates as well as terminating the application\n\t * of the directives if the terminal directive has been reached.\n\t *\n\t * @param {Array} directives Array of collected directives to execute their compile function.\n\t * this needs to be pre-sorted by priority order.\n\t * @param {Node} compileNode The raw DOM node to apply the compile functions to\n\t * @param {Object} templateAttrs The shared attribute function\n\t * @param {function(angular.Scope, cloneAttachFn=)} transcludeFn A linking function, where the\n\t * scope argument is auto-generated to the new\n\t * child of the transcluded parent scope.\n\t * @param {JQLite} jqCollection If we are working on the root of the compile tree then this\n\t * argument has the root jqLite array so that we can replace nodes\n\t * on it.\n\t * @param {Object=} originalReplaceDirective An optional directive that will be ignored when\n\t * compiling the transclusion.\n\t * @param {Array.} preLinkFns\n\t * @param {Array.} postLinkFns\n\t * @param {Object} previousCompileContext Context used for previous compilation of the current\n\t * node\n\t * @returns {Function} linkFn\n\t */\n\t function applyDirectivesToNode(directives, compileNode, templateAttrs, transcludeFn,\n\t jqCollection, originalReplaceDirective, preLinkFns, postLinkFns,\n\t previousCompileContext) {\n\t previousCompileContext = previousCompileContext || {};\n\t\n\t var terminalPriority = -Number.MAX_VALUE,\n\t newScopeDirective,\n\t controllerDirectives = previousCompileContext.controllerDirectives,\n\t controllers,\n\t newIsolateScopeDirective = previousCompileContext.newIsolateScopeDirective,\n\t templateDirective = previousCompileContext.templateDirective,\n\t nonTlbTranscludeDirective = previousCompileContext.nonTlbTranscludeDirective,\n\t hasTranscludeDirective = false,\n\t hasTemplate = false,\n\t hasElementTranscludeDirective = previousCompileContext.hasElementTranscludeDirective,\n\t $compileNode = templateAttrs.$$element = jqLite(compileNode),\n\t directive,\n\t directiveName,\n\t $template,\n\t replaceDirective = originalReplaceDirective,\n\t childTranscludeFn = transcludeFn,\n\t linkFn,\n\t directiveValue;\n\t\n\t // executes all directives on the current element\n\t for (var i = 0, ii = directives.length; i < ii; i++) {\n\t directive = directives[i];\n\t var attrStart = directive.$$start;\n\t var attrEnd = directive.$$end;\n\t\n\t // collect multiblock sections\n\t if (attrStart) {\n\t $compileNode = groupScan(compileNode, attrStart, attrEnd);\n\t }\n\t $template = undefined;\n\t\n\t if (terminalPriority > directive.priority) {\n\t break; // prevent further processing of directives\n\t }\n\t\n\t if (directiveValue = directive.scope) {\n\t\n\t // skip the check for directives with async templates, we'll check the derived sync\n\t // directive when the template arrives\n\t if (!directive.templateUrl) {\n\t if (isObject(directiveValue)) {\n\t // This directive is trying to add an isolated scope.\n\t // Check that there is no scope of any kind already\n\t assertNoDuplicate('new/isolated scope', newIsolateScopeDirective || newScopeDirective,\n\t directive, $compileNode);\n\t newIsolateScopeDirective = directive;\n\t } else {\n\t // This directive is trying to add a child scope.\n\t // Check that there is no isolated scope already\n\t assertNoDuplicate('new/isolated scope', newIsolateScopeDirective, directive,\n\t $compileNode);\n\t }\n\t }\n\t\n\t newScopeDirective = newScopeDirective || directive;\n\t }\n\t\n\t directiveName = directive.name;\n\t\n\t if (!directive.templateUrl && directive.controller) {\n\t directiveValue = directive.controller;\n\t controllerDirectives = controllerDirectives || {};\n\t assertNoDuplicate(\"'\" + directiveName + \"' controller\",\n\t controllerDirectives[directiveName], directive, $compileNode);\n\t controllerDirectives[directiveName] = directive;\n\t }\n\t\n\t if (directiveValue = directive.transclude) {\n\t hasTranscludeDirective = true;\n\t\n\t // Special case ngIf and ngRepeat so that we don't complain about duplicate transclusion.\n\t // This option should only be used by directives that know how to safely handle element transclusion,\n\t // where the transcluded nodes are added or replaced after linking.\n\t if (!directive.$$tlb) {\n\t assertNoDuplicate('transclusion', nonTlbTranscludeDirective, directive, $compileNode);\n\t nonTlbTranscludeDirective = directive;\n\t }\n\t\n\t if (directiveValue == 'element') {\n\t hasElementTranscludeDirective = true;\n\t terminalPriority = directive.priority;\n\t $template = $compileNode;\n\t $compileNode = templateAttrs.$$element =\n\t jqLite(document.createComment(' ' + directiveName + ': ' +\n\t templateAttrs[directiveName] + ' '));\n\t compileNode = $compileNode[0];\n\t replaceWith(jqCollection, sliceArgs($template), compileNode);\n\t\n\t childTranscludeFn = compile($template, transcludeFn, terminalPriority,\n\t replaceDirective && replaceDirective.name, {\n\t // Don't pass in:\n\t // - controllerDirectives - otherwise we'll create duplicates controllers\n\t // - newIsolateScopeDirective or templateDirective - combining templates with\n\t // element transclusion doesn't make sense.\n\t //\n\t // We need only nonTlbTranscludeDirective so that we prevent putting transclusion\n\t // on the same element more than once.\n\t nonTlbTranscludeDirective: nonTlbTranscludeDirective\n\t });\n\t } else {\n\t $template = jqLite(jqLiteClone(compileNode)).contents();\n\t $compileNode.empty(); // clear contents\n\t childTranscludeFn = compile($template, transcludeFn);\n\t }\n\t }\n\t\n\t if (directive.template) {\n\t hasTemplate = true;\n\t assertNoDuplicate('template', templateDirective, directive, $compileNode);\n\t templateDirective = directive;\n\t\n\t directiveValue = (isFunction(directive.template))\n\t ? directive.template($compileNode, templateAttrs)\n\t : directive.template;\n\t\n\t directiveValue = denormalizeTemplate(directiveValue);\n\t\n\t if (directive.replace) {\n\t replaceDirective = directive;\n\t if (jqLiteIsTextNode(directiveValue)) {\n\t $template = [];\n\t } else {\n\t $template = removeComments(wrapTemplate(directive.templateNamespace, trim(directiveValue)));\n\t }\n\t compileNode = $template[0];\n\t\n\t if ($template.length != 1 || compileNode.nodeType !== NODE_TYPE_ELEMENT) {\n\t throw $compileMinErr('tplrt',\n\t \"Template for directive '{0}' must have exactly one root element. {1}\",\n\t directiveName, '');\n\t }\n\t\n\t replaceWith(jqCollection, $compileNode, compileNode);\n\t\n\t var newTemplateAttrs = {$attr: {}};\n\t\n\t // combine directives from the original node and from the template:\n\t // - take the array of directives for this element\n\t // - split it into two parts, those that already applied (processed) and those that weren't (unprocessed)\n\t // - collect directives from the template and sort them by priority\n\t // - combine directives as: processed + template + unprocessed\n\t var templateDirectives = collectDirectives(compileNode, [], newTemplateAttrs);\n\t var unprocessedDirectives = directives.splice(i + 1, directives.length - (i + 1));\n\t\n\t if (newIsolateScopeDirective) {\n\t markDirectivesAsIsolate(templateDirectives);\n\t }\n\t directives = directives.concat(templateDirectives).concat(unprocessedDirectives);\n\t mergeTemplateAttributes(templateAttrs, newTemplateAttrs);\n\t\n\t ii = directives.length;\n\t } else {\n\t $compileNode.html(directiveValue);\n\t }\n\t }\n\t\n\t if (directive.templateUrl) {\n\t hasTemplate = true;\n\t assertNoDuplicate('template', templateDirective, directive, $compileNode);\n\t templateDirective = directive;\n\t\n\t if (directive.replace) {\n\t replaceDirective = directive;\n\t }\n\t\n\t nodeLinkFn = compileTemplateUrl(directives.splice(i, directives.length - i), $compileNode,\n\t templateAttrs, jqCollection, hasTranscludeDirective && childTranscludeFn, preLinkFns, postLinkFns, {\n\t controllerDirectives: controllerDirectives,\n\t newIsolateScopeDirective: newIsolateScopeDirective,\n\t templateDirective: templateDirective,\n\t nonTlbTranscludeDirective: nonTlbTranscludeDirective\n\t });\n\t ii = directives.length;\n\t } else if (directive.compile) {\n\t try {\n\t linkFn = directive.compile($compileNode, templateAttrs, childTranscludeFn);\n\t if (isFunction(linkFn)) {\n\t addLinkFns(null, linkFn, attrStart, attrEnd);\n\t } else if (linkFn) {\n\t addLinkFns(linkFn.pre, linkFn.post, attrStart, attrEnd);\n\t }\n\t } catch (e) {\n\t $exceptionHandler(e, startingTag($compileNode));\n\t }\n\t }\n\t\n\t if (directive.terminal) {\n\t nodeLinkFn.terminal = true;\n\t terminalPriority = Math.max(terminalPriority, directive.priority);\n\t }\n\t\n\t }\n\t\n\t nodeLinkFn.scope = newScopeDirective && newScopeDirective.scope === true;\n\t nodeLinkFn.transcludeOnThisElement = hasTranscludeDirective;\n\t nodeLinkFn.elementTranscludeOnThisElement = hasElementTranscludeDirective;\n\t nodeLinkFn.templateOnThisElement = hasTemplate;\n\t nodeLinkFn.transclude = childTranscludeFn;\n\t\n\t previousCompileContext.hasElementTranscludeDirective = hasElementTranscludeDirective;\n\t\n\t // might be normal or delayed nodeLinkFn depending on if templateUrl is present\n\t return nodeLinkFn;\n\t\n\t ////////////////////\n\t\n\t function addLinkFns(pre, post, attrStart, attrEnd) {\n\t if (pre) {\n\t if (attrStart) pre = groupElementsLinkFnWrapper(pre, attrStart, attrEnd);\n\t pre.require = directive.require;\n\t pre.directiveName = directiveName;\n\t if (newIsolateScopeDirective === directive || directive.$$isolateScope) {\n\t pre = cloneAndAnnotateFn(pre, {isolateScope: true});\n\t }\n\t preLinkFns.push(pre);\n\t }\n\t if (post) {\n\t if (attrStart) post = groupElementsLinkFnWrapper(post, attrStart, attrEnd);\n\t post.require = directive.require;\n\t post.directiveName = directiveName;\n\t if (newIsolateScopeDirective === directive || directive.$$isolateScope) {\n\t post = cloneAndAnnotateFn(post, {isolateScope: true});\n\t }\n\t postLinkFns.push(post);\n\t }\n\t }\n\t\n\t\n\t function getControllers(directiveName, require, $element, elementControllers) {\n\t var value, retrievalMethod = 'data', optional = false;\n\t var $searchElement = $element;\n\t var match;\n\t if (isString(require)) {\n\t match = require.match(REQUIRE_PREFIX_REGEXP);\n\t require = require.substring(match[0].length);\n\t\n\t if (match[3]) {\n\t if (match[1]) match[3] = null;\n\t else match[1] = match[3];\n\t }\n\t if (match[1] === '^') {\n\t retrievalMethod = 'inheritedData';\n\t } else if (match[1] === '^^') {\n\t retrievalMethod = 'inheritedData';\n\t $searchElement = $element.parent();\n\t }\n\t if (match[2] === '?') {\n\t optional = true;\n\t }\n\t\n\t value = null;\n\t\n\t if (elementControllers && retrievalMethod === 'data') {\n\t if (value = elementControllers[require]) {\n\t value = value.instance;\n\t }\n\t }\n\t value = value || $searchElement[retrievalMethod]('$' + require + 'Controller');\n\t\n\t if (!value && !optional) {\n\t throw $compileMinErr('ctreq',\n\t \"Controller '{0}', required by directive '{1}', can't be found!\",\n\t require, directiveName);\n\t }\n\t return value || null;\n\t } else if (isArray(require)) {\n\t value = [];\n\t forEach(require, function(require) {\n\t value.push(getControllers(directiveName, require, $element, elementControllers));\n\t });\n\t }\n\t return value;\n\t }\n\t\n\t\n\t function nodeLinkFn(childLinkFn, scope, linkNode, $rootElement, boundTranscludeFn) {\n\t var i, ii, linkFn, controller, isolateScope, elementControllers, transcludeFn, $element,\n\t attrs;\n\t\n\t if (compileNode === linkNode) {\n\t attrs = templateAttrs;\n\t $element = templateAttrs.$$element;\n\t } else {\n\t $element = jqLite(linkNode);\n\t attrs = new Attributes($element, templateAttrs);\n\t }\n\t\n\t if (newIsolateScopeDirective) {\n\t isolateScope = scope.$new(true);\n\t }\n\t\n\t if (boundTranscludeFn) {\n\t // track `boundTranscludeFn` so it can be unwrapped if `transcludeFn`\n\t // is later passed as `parentBoundTranscludeFn` to `publicLinkFn`\n\t transcludeFn = controllersBoundTransclude;\n\t transcludeFn.$$boundTransclude = boundTranscludeFn;\n\t }\n\t\n\t if (controllerDirectives) {\n\t // TODO: merge `controllers` and `elementControllers` into single object.\n\t controllers = {};\n\t elementControllers = {};\n\t forEach(controllerDirectives, function(directive) {\n\t var locals = {\n\t $scope: directive === newIsolateScopeDirective || directive.$$isolateScope ? isolateScope : scope,\n\t $element: $element,\n\t $attrs: attrs,\n\t $transclude: transcludeFn\n\t }, controllerInstance;\n\t\n\t controller = directive.controller;\n\t if (controller == '@') {\n\t controller = attrs[directive.name];\n\t }\n\t\n\t controllerInstance = $controller(controller, locals, true, directive.controllerAs);\n\t\n\t // For directives with element transclusion the element is a comment,\n\t // but jQuery .data doesn't support attaching data to comment nodes as it's hard to\n\t // clean up (http://bugs.jquery.com/ticket/8335).\n\t // Instead, we save the controllers for the element in a local hash and attach to .data\n\t // later, once we have the actual element.\n\t elementControllers[directive.name] = controllerInstance;\n\t if (!hasElementTranscludeDirective) {\n\t $element.data('$' + directive.name + 'Controller', controllerInstance.instance);\n\t }\n\t\n\t controllers[directive.name] = controllerInstance;\n\t });\n\t }\n\t\n\t if (newIsolateScopeDirective) {\n\t compile.$$addScopeInfo($element, isolateScope, true, !(templateDirective && (templateDirective === newIsolateScopeDirective ||\n\t templateDirective === newIsolateScopeDirective.$$originalDirective)));\n\t compile.$$addScopeClass($element, true);\n\t\n\t var isolateScopeController = controllers && controllers[newIsolateScopeDirective.name];\n\t var isolateBindingContext = isolateScope;\n\t if (isolateScopeController && isolateScopeController.identifier &&\n\t newIsolateScopeDirective.bindToController === true) {\n\t isolateBindingContext = isolateScopeController.instance;\n\t }\n\t\n\t forEach(isolateScope.$$isolateBindings = newIsolateScopeDirective.$$isolateBindings, function(definition, scopeName) {\n\t var attrName = definition.attrName,\n\t optional = definition.optional,\n\t mode = definition.mode, // @, =, or &\n\t lastValue,\n\t parentGet, parentSet, compare;\n\t\n\t switch (mode) {\n\t\n\t case '@':\n\t attrs.$observe(attrName, function(value) {\n\t isolateBindingContext[scopeName] = value;\n\t });\n\t attrs.$$observers[attrName].$$scope = scope;\n\t if (attrs[attrName]) {\n\t // If the attribute has been provided then we trigger an interpolation to ensure\n\t // the value is there for use in the link fn\n\t isolateBindingContext[scopeName] = $interpolate(attrs[attrName])(scope);\n\t }\n\t break;\n\t\n\t case '=':\n\t if (optional && !attrs[attrName]) {\n\t return;\n\t }\n\t parentGet = $parse(attrs[attrName]);\n\t if (parentGet.literal) {\n\t compare = equals;\n\t } else {\n\t compare = function(a, b) { return a === b || (a !== a && b !== b); };\n\t }\n\t parentSet = parentGet.assign || function() {\n\t // reset the change, or we will throw this exception on every $digest\n\t lastValue = isolateBindingContext[scopeName] = parentGet(scope);\n\t throw $compileMinErr('nonassign',\n\t \"Expression '{0}' used with directive '{1}' is non-assignable!\",\n\t attrs[attrName], newIsolateScopeDirective.name);\n\t };\n\t lastValue = isolateBindingContext[scopeName] = parentGet(scope);\n\t var parentValueWatch = function parentValueWatch(parentValue) {\n\t if (!compare(parentValue, isolateBindingContext[scopeName])) {\n\t // we are out of sync and need to copy\n\t if (!compare(parentValue, lastValue)) {\n\t // parent changed and it has precedence\n\t isolateBindingContext[scopeName] = parentValue;\n\t } else {\n\t // if the parent can be assigned then do so\n\t parentSet(scope, parentValue = isolateBindingContext[scopeName]);\n\t }\n\t }\n\t return lastValue = parentValue;\n\t };\n\t parentValueWatch.$stateful = true;\n\t var unwatch;\n\t if (definition.collection) {\n\t unwatch = scope.$watchCollection(attrs[attrName], parentValueWatch);\n\t } else {\n\t unwatch = scope.$watch($parse(attrs[attrName], parentValueWatch), null, parentGet.literal);\n\t }\n\t isolateScope.$on('$destroy', unwatch);\n\t break;\n\t\n\t case '&':\n\t parentGet = $parse(attrs[attrName]);\n\t isolateBindingContext[scopeName] = function(locals) {\n\t return parentGet(scope, locals);\n\t };\n\t break;\n\t }\n\t });\n\t }\n\t if (controllers) {\n\t forEach(controllers, function(controller) {\n\t controller();\n\t });\n\t controllers = null;\n\t }\n\t\n\t // PRELINKING\n\t for (i = 0, ii = preLinkFns.length; i < ii; i++) {\n\t linkFn = preLinkFns[i];\n\t invokeLinkFn(linkFn,\n\t linkFn.isolateScope ? isolateScope : scope,\n\t $element,\n\t attrs,\n\t linkFn.require && getControllers(linkFn.directiveName, linkFn.require, $element, elementControllers),\n\t transcludeFn\n\t );\n\t }\n\t\n\t // RECURSION\n\t // We only pass the isolate scope, if the isolate directive has a template,\n\t // otherwise the child elements do not belong to the isolate directive.\n\t var scopeToChild = scope;\n\t if (newIsolateScopeDirective && (newIsolateScopeDirective.template || newIsolateScopeDirective.templateUrl === null)) {\n\t scopeToChild = isolateScope;\n\t }\n\t childLinkFn && childLinkFn(scopeToChild, linkNode.childNodes, undefined, boundTranscludeFn);\n\t\n\t // POSTLINKING\n\t for (i = postLinkFns.length - 1; i >= 0; i--) {\n\t linkFn = postLinkFns[i];\n\t invokeLinkFn(linkFn,\n\t linkFn.isolateScope ? isolateScope : scope,\n\t $element,\n\t attrs,\n\t linkFn.require && getControllers(linkFn.directiveName, linkFn.require, $element, elementControllers),\n\t transcludeFn\n\t );\n\t }\n\t\n\t // This is the function that is injected as `$transclude`.\n\t // Note: all arguments are optional!\n\t function controllersBoundTransclude(scope, cloneAttachFn, futureParentElement) {\n\t var transcludeControllers;\n\t\n\t // No scope passed in:\n\t if (!isScope(scope)) {\n\t futureParentElement = cloneAttachFn;\n\t cloneAttachFn = scope;\n\t scope = undefined;\n\t }\n\t\n\t if (hasElementTranscludeDirective) {\n\t transcludeControllers = elementControllers;\n\t }\n\t if (!futureParentElement) {\n\t futureParentElement = hasElementTranscludeDirective ? $element.parent() : $element;\n\t }\n\t return boundTranscludeFn(scope, cloneAttachFn, transcludeControllers, futureParentElement, scopeToChild);\n\t }\n\t }\n\t }\n\t\n\t function markDirectivesAsIsolate(directives) {\n\t // mark all directives as needing isolate scope.\n\t for (var j = 0, jj = directives.length; j < jj; j++) {\n\t directives[j] = inherit(directives[j], {$$isolateScope: true});\n\t }\n\t }\n\t\n\t /**\n\t * looks up the directive and decorates it with exception handling and proper parameters. We\n\t * call this the boundDirective.\n\t *\n\t * @param {string} name name of the directive to look up.\n\t * @param {string} location The directive must be found in specific format.\n\t * String containing any of theses characters:\n\t *\n\t * * `E`: element name\n\t * * `A': attribute\n\t * * `C`: class\n\t * * `M`: comment\n\t * @returns {boolean} true if directive was added.\n\t */\n\t function addDirective(tDirectives, name, location, maxPriority, ignoreDirective, startAttrName,\n\t endAttrName) {\n\t if (name === ignoreDirective) return null;\n\t var match = null;\n\t if (hasDirectives.hasOwnProperty(name)) {\n\t for (var directive, directives = $injector.get(name + Suffix),\n\t i = 0, ii = directives.length; i < ii; i++) {\n\t try {\n\t directive = directives[i];\n\t if ((maxPriority === undefined || maxPriority > directive.priority) &&\n\t directive.restrict.indexOf(location) != -1) {\n\t if (startAttrName) {\n\t directive = inherit(directive, {$$start: startAttrName, $$end: endAttrName});\n\t }\n\t tDirectives.push(directive);\n\t match = directive;\n\t }\n\t } catch (e) { $exceptionHandler(e); }\n\t }\n\t }\n\t return match;\n\t }\n\t\n\t\n\t /**\n\t * looks up the directive and returns true if it is a multi-element directive,\n\t * and therefore requires DOM nodes between -start and -end markers to be grouped\n\t * together.\n\t *\n\t * @param {string} name name of the directive to look up.\n\t * @returns true if directive was registered as multi-element.\n\t */\n\t function directiveIsMultiElement(name) {\n\t if (hasDirectives.hasOwnProperty(name)) {\n\t for (var directive, directives = $injector.get(name + Suffix),\n\t i = 0, ii = directives.length; i < ii; i++) {\n\t directive = directives[i];\n\t if (directive.multiElement) {\n\t return true;\n\t }\n\t }\n\t }\n\t return false;\n\t }\n\t\n\t /**\n\t * When the element is replaced with HTML template then the new attributes\n\t * on the template need to be merged with the existing attributes in the DOM.\n\t * The desired effect is to have both of the attributes present.\n\t *\n\t * @param {object} dst destination attributes (original DOM)\n\t * @param {object} src source attributes (from the directive template)\n\t */\n\t function mergeTemplateAttributes(dst, src) {\n\t var srcAttr = src.$attr,\n\t dstAttr = dst.$attr,\n\t $element = dst.$$element;\n\t\n\t // reapply the old attributes to the new element\n\t forEach(dst, function(value, key) {\n\t if (key.charAt(0) != '$') {\n\t if (src[key] && src[key] !== value) {\n\t value += (key === 'style' ? ';' : ' ') + src[key];\n\t }\n\t dst.$set(key, value, true, srcAttr[key]);\n\t }\n\t });\n\t\n\t // copy the new attributes on the old attrs object\n\t forEach(src, function(value, key) {\n\t if (key == 'class') {\n\t safeAddClass($element, value);\n\t dst['class'] = (dst['class'] ? dst['class'] + ' ' : '') + value;\n\t } else if (key == 'style') {\n\t $element.attr('style', $element.attr('style') + ';' + value);\n\t dst['style'] = (dst['style'] ? dst['style'] + ';' : '') + value;\n\t // `dst` will never contain hasOwnProperty as DOM parser won't let it.\n\t // You will get an \"InvalidCharacterError: DOM Exception 5\" error if you\n\t // have an attribute like \"has-own-property\" or \"data-has-own-property\", etc.\n\t } else if (key.charAt(0) != '$' && !dst.hasOwnProperty(key)) {\n\t dst[key] = value;\n\t dstAttr[key] = srcAttr[key];\n\t }\n\t });\n\t }\n\t\n\t\n\t function compileTemplateUrl(directives, $compileNode, tAttrs,\n\t $rootElement, childTranscludeFn, preLinkFns, postLinkFns, previousCompileContext) {\n\t var linkQueue = [],\n\t afterTemplateNodeLinkFn,\n\t afterTemplateChildLinkFn,\n\t beforeTemplateCompileNode = $compileNode[0],\n\t origAsyncDirective = directives.shift(),\n\t derivedSyncDirective = inherit(origAsyncDirective, {\n\t templateUrl: null, transclude: null, replace: null, $$originalDirective: origAsyncDirective\n\t }),\n\t templateUrl = (isFunction(origAsyncDirective.templateUrl))\n\t ? origAsyncDirective.templateUrl($compileNode, tAttrs)\n\t : origAsyncDirective.templateUrl,\n\t templateNamespace = origAsyncDirective.templateNamespace;\n\t\n\t $compileNode.empty();\n\t\n\t $templateRequest(templateUrl)\n\t .then(function(content) {\n\t var compileNode, tempTemplateAttrs, $template, childBoundTranscludeFn;\n\t\n\t content = denormalizeTemplate(content);\n\t\n\t if (origAsyncDirective.replace) {\n\t if (jqLiteIsTextNode(content)) {\n\t $template = [];\n\t } else {\n\t $template = removeComments(wrapTemplate(templateNamespace, trim(content)));\n\t }\n\t compileNode = $template[0];\n\t\n\t if ($template.length != 1 || compileNode.nodeType !== NODE_TYPE_ELEMENT) {\n\t throw $compileMinErr('tplrt',\n\t \"Template for directive '{0}' must have exactly one root element. {1}\",\n\t origAsyncDirective.name, templateUrl);\n\t }\n\t\n\t tempTemplateAttrs = {$attr: {}};\n\t replaceWith($rootElement, $compileNode, compileNode);\n\t var templateDirectives = collectDirectives(compileNode, [], tempTemplateAttrs);\n\t\n\t if (isObject(origAsyncDirective.scope)) {\n\t markDirectivesAsIsolate(templateDirectives);\n\t }\n\t directives = templateDirectives.concat(directives);\n\t mergeTemplateAttributes(tAttrs, tempTemplateAttrs);\n\t } else {\n\t compileNode = beforeTemplateCompileNode;\n\t $compileNode.html(content);\n\t }\n\t\n\t directives.unshift(derivedSyncDirective);\n\t\n\t afterTemplateNodeLinkFn = applyDirectivesToNode(directives, compileNode, tAttrs,\n\t childTranscludeFn, $compileNode, origAsyncDirective, preLinkFns, postLinkFns,\n\t previousCompileContext);\n\t forEach($rootElement, function(node, i) {\n\t if (node == compileNode) {\n\t $rootElement[i] = $compileNode[0];\n\t }\n\t });\n\t afterTemplateChildLinkFn = compileNodes($compileNode[0].childNodes, childTranscludeFn);\n\t\n\t while (linkQueue.length) {\n\t var scope = linkQueue.shift(),\n\t beforeTemplateLinkNode = linkQueue.shift(),\n\t linkRootElement = linkQueue.shift(),\n\t boundTranscludeFn = linkQueue.shift(),\n\t linkNode = $compileNode[0];\n\t\n\t if (scope.$$destroyed) continue;\n\t\n\t if (beforeTemplateLinkNode !== beforeTemplateCompileNode) {\n\t var oldClasses = beforeTemplateLinkNode.className;\n\t\n\t if (!(previousCompileContext.hasElementTranscludeDirective &&\n\t origAsyncDirective.replace)) {\n\t // it was cloned therefore we have to clone as well.\n\t linkNode = jqLiteClone(compileNode);\n\t }\n\t replaceWith(linkRootElement, jqLite(beforeTemplateLinkNode), linkNode);\n\t\n\t // Copy in CSS classes from original node\n\t safeAddClass(jqLite(linkNode), oldClasses);\n\t }\n\t if (afterTemplateNodeLinkFn.transcludeOnThisElement) {\n\t childBoundTranscludeFn = createBoundTranscludeFn(scope, afterTemplateNodeLinkFn.transclude, boundTranscludeFn);\n\t } else {\n\t childBoundTranscludeFn = boundTranscludeFn;\n\t }\n\t afterTemplateNodeLinkFn(afterTemplateChildLinkFn, scope, linkNode, $rootElement,\n\t childBoundTranscludeFn);\n\t }\n\t linkQueue = null;\n\t });\n\t\n\t return function delayedNodeLinkFn(ignoreChildLinkFn, scope, node, rootElement, boundTranscludeFn) {\n\t var childBoundTranscludeFn = boundTranscludeFn;\n\t if (scope.$$destroyed) return;\n\t if (linkQueue) {\n\t linkQueue.push(scope,\n\t node,\n\t rootElement,\n\t childBoundTranscludeFn);\n\t } else {\n\t if (afterTemplateNodeLinkFn.transcludeOnThisElement) {\n\t childBoundTranscludeFn = createBoundTranscludeFn(scope, afterTemplateNodeLinkFn.transclude, boundTranscludeFn);\n\t }\n\t afterTemplateNodeLinkFn(afterTemplateChildLinkFn, scope, node, rootElement, childBoundTranscludeFn);\n\t }\n\t };\n\t }\n\t\n\t\n\t /**\n\t * Sorting function for bound directives.\n\t */\n\t function byPriority(a, b) {\n\t var diff = b.priority - a.priority;\n\t if (diff !== 0) return diff;\n\t if (a.name !== b.name) return (a.name < b.name) ? -1 : 1;\n\t return a.index - b.index;\n\t }\n\t\n\t\n\t function assertNoDuplicate(what, previousDirective, directive, element) {\n\t if (previousDirective) {\n\t throw $compileMinErr('multidir', 'Multiple directives [{0}, {1}] asking for {2} on: {3}',\n\t previousDirective.name, directive.name, what, startingTag(element));\n\t }\n\t }\n\t\n\t\n\t function addTextInterpolateDirective(directives, text) {\n\t var interpolateFn = $interpolate(text, true);\n\t if (interpolateFn) {\n\t directives.push({\n\t priority: 0,\n\t compile: function textInterpolateCompileFn(templateNode) {\n\t var templateNodeParent = templateNode.parent(),\n\t hasCompileParent = !!templateNodeParent.length;\n\t\n\t // When transcluding a template that has bindings in the root\n\t // we don't have a parent and thus need to add the class during linking fn.\n\t if (hasCompileParent) compile.$$addBindingClass(templateNodeParent);\n\t\n\t return function textInterpolateLinkFn(scope, node) {\n\t var parent = node.parent();\n\t if (!hasCompileParent) compile.$$addBindingClass(parent);\n\t compile.$$addBindingInfo(parent, interpolateFn.expressions);\n\t scope.$watch(interpolateFn, function interpolateFnWatchAction(value) {\n\t node[0].nodeValue = value;\n\t });\n\t };\n\t }\n\t });\n\t }\n\t }\n\t\n\t\n\t function wrapTemplate(type, template) {\n\t type = lowercase(type || 'html');\n\t switch (type) {\n\t case 'svg':\n\t case 'math':\n\t var wrapper = document.createElement('div');\n\t wrapper.innerHTML = '<' + type + '>' + template + '';\n\t return wrapper.childNodes[0].childNodes;\n\t default:\n\t return template;\n\t }\n\t }\n\t\n\t\n\t function getTrustedContext(node, attrNormalizedName) {\n\t if (attrNormalizedName == \"srcdoc\") {\n\t return $sce.HTML;\n\t }\n\t var tag = nodeName_(node);\n\t // maction[xlink:href] can source SVG. It's not limited to .\n\t if (attrNormalizedName == \"xlinkHref\" ||\n\t (tag == \"form\" && attrNormalizedName == \"action\") ||\n\t (tag != \"img\" && (attrNormalizedName == \"src\" ||\n\t attrNormalizedName == \"ngSrc\"))) {\n\t return $sce.RESOURCE_URL;\n\t }\n\t }\n\t\n\t\n\t function addAttrInterpolateDirective(node, directives, value, name, allOrNothing) {\n\t var trustedContext = getTrustedContext(node, name);\n\t allOrNothing = ALL_OR_NOTHING_ATTRS[name] || allOrNothing;\n\t\n\t var interpolateFn = $interpolate(value, true, trustedContext, allOrNothing);\n\t\n\t // no interpolation found -> ignore\n\t if (!interpolateFn) return;\n\t\n\t\n\t if (name === \"multiple\" && nodeName_(node) === \"select\") {\n\t throw $compileMinErr(\"selmulti\",\n\t \"Binding to the 'multiple' attribute is not supported. Element: {0}\",\n\t startingTag(node));\n\t }\n\t\n\t directives.push({\n\t priority: 100,\n\t compile: function() {\n\t return {\n\t pre: function attrInterpolatePreLinkFn(scope, element, attr) {\n\t var $$observers = (attr.$$observers || (attr.$$observers = {}));\n\t\n\t if (EVENT_HANDLER_ATTR_REGEXP.test(name)) {\n\t throw $compileMinErr('nodomevents',\n\t \"Interpolations for HTML DOM event attributes are disallowed. Please use the \" +\n\t \"ng- versions (such as ng-click instead of onclick) instead.\");\n\t }\n\t\n\t // If the attribute has changed since last $interpolate()ed\n\t var newValue = attr[name];\n\t if (newValue !== value) {\n\t // we need to interpolate again since the attribute value has been updated\n\t // (e.g. by another directive's compile function)\n\t // ensure unset/empty values make interpolateFn falsy\n\t interpolateFn = newValue && $interpolate(newValue, true, trustedContext, allOrNothing);\n\t value = newValue;\n\t }\n\t\n\t // if attribute was updated so that there is no interpolation going on we don't want to\n\t // register any observers\n\t if (!interpolateFn) return;\n\t\n\t // initialize attr object so that it's ready in case we need the value for isolate\n\t // scope initialization, otherwise the value would not be available from isolate\n\t // directive's linking fn during linking phase\n\t attr[name] = interpolateFn(scope);\n\t\n\t ($$observers[name] || ($$observers[name] = [])).$$inter = true;\n\t (attr.$$observers && attr.$$observers[name].$$scope || scope).\n\t $watch(interpolateFn, function interpolateFnWatchAction(newValue, oldValue) {\n\t //special case for class attribute addition + removal\n\t //so that class changes can tap into the animation\n\t //hooks provided by the $animate service. Be sure to\n\t //skip animations when the first digest occurs (when\n\t //both the new and the old values are the same) since\n\t //the CSS classes are the non-interpolated values\n\t if (name === 'class' && newValue != oldValue) {\n\t attr.$updateClass(newValue, oldValue);\n\t } else {\n\t attr.$set(name, newValue);\n\t }\n\t });\n\t }\n\t };\n\t }\n\t });\n\t }\n\t\n\t\n\t /**\n\t * This is a special jqLite.replaceWith, which can replace items which\n\t * have no parents, provided that the containing jqLite collection is provided.\n\t *\n\t * @param {JqLite=} $rootElement The root of the compile tree. Used so that we can replace nodes\n\t * in the root of the tree.\n\t * @param {JqLite} elementsToRemove The jqLite element which we are going to replace. We keep\n\t * the shell, but replace its DOM node reference.\n\t * @param {Node} newNode The new DOM node.\n\t */\n\t function replaceWith($rootElement, elementsToRemove, newNode) {\n\t var firstElementToRemove = elementsToRemove[0],\n\t removeCount = elementsToRemove.length,\n\t parent = firstElementToRemove.parentNode,\n\t i, ii;\n\t\n\t if ($rootElement) {\n\t for (i = 0, ii = $rootElement.length; i < ii; i++) {\n\t if ($rootElement[i] == firstElementToRemove) {\n\t $rootElement[i++] = newNode;\n\t for (var j = i, j2 = j + removeCount - 1,\n\t jj = $rootElement.length;\n\t j < jj; j++, j2++) {\n\t if (j2 < jj) {\n\t $rootElement[j] = $rootElement[j2];\n\t } else {\n\t delete $rootElement[j];\n\t }\n\t }\n\t $rootElement.length -= removeCount - 1;\n\t\n\t // If the replaced element is also the jQuery .context then replace it\n\t // .context is a deprecated jQuery api, so we should set it only when jQuery set it\n\t // http://api.jquery.com/context/\n\t if ($rootElement.context === firstElementToRemove) {\n\t $rootElement.context = newNode;\n\t }\n\t break;\n\t }\n\t }\n\t }\n\t\n\t if (parent) {\n\t parent.replaceChild(newNode, firstElementToRemove);\n\t }\n\t\n\t // TODO(perf): what's this document fragment for? is it needed? can we at least reuse it?\n\t var fragment = document.createDocumentFragment();\n\t fragment.appendChild(firstElementToRemove);\n\t\n\t // Copy over user data (that includes Angular's $scope etc.). Don't copy private\n\t // data here because there's no public interface in jQuery to do that and copying over\n\t // event listeners (which is the main use of private data) wouldn't work anyway.\n\t jqLite(newNode).data(jqLite(firstElementToRemove).data());\n\t\n\t // Remove data of the replaced element. We cannot just call .remove()\n\t // on the element it since that would deallocate scope that is needed\n\t // for the new node. Instead, remove the data \"manually\".\n\t if (!jQuery) {\n\t delete jqLite.cache[firstElementToRemove[jqLite.expando]];\n\t } else {\n\t // jQuery 2.x doesn't expose the data storage. Use jQuery.cleanData to clean up after\n\t // the replaced element. The cleanData version monkey-patched by Angular would cause\n\t // the scope to be trashed and we do need the very same scope to work with the new\n\t // element. However, we cannot just cache the non-patched version and use it here as\n\t // that would break if another library patches the method after Angular does (one\n\t // example is jQuery UI). Instead, set a flag indicating scope destroying should be\n\t // skipped this one time.\n\t skipDestroyOnNextJQueryCleanData = true;\n\t jQuery.cleanData([firstElementToRemove]);\n\t }\n\t\n\t for (var k = 1, kk = elementsToRemove.length; k < kk; k++) {\n\t var element = elementsToRemove[k];\n\t jqLite(element).remove(); // must do this way to clean up expando\n\t fragment.appendChild(element);\n\t delete elementsToRemove[k];\n\t }\n\t\n\t elementsToRemove[0] = newNode;\n\t elementsToRemove.length = 1;\n\t }\n\t\n\t\n\t function cloneAndAnnotateFn(fn, annotation) {\n\t return extend(function() { return fn.apply(null, arguments); }, fn, annotation);\n\t }\n\t\n\t\n\t function invokeLinkFn(linkFn, scope, $element, attrs, controllers, transcludeFn) {\n\t try {\n\t linkFn(scope, $element, attrs, controllers, transcludeFn);\n\t } catch (e) {\n\t $exceptionHandler(e, startingTag($element));\n\t }\n\t }\n\t }];\n\t}\n\t\n\tvar PREFIX_REGEXP = /^((?:x|data)[\\:\\-_])/i;\n\t/**\n\t * Converts all accepted directives format into proper directive name.\n\t * @param name Name to normalize\n\t */\n\tfunction directiveNormalize(name) {\n\t return camelCase(name.replace(PREFIX_REGEXP, ''));\n\t}\n\t\n\t/**\n\t * @ngdoc type\n\t * @name $compile.directive.Attributes\n\t *\n\t * @description\n\t * A shared object between directive compile / linking functions which contains normalized DOM\n\t * element attributes. The values reflect current binding state `{{ }}`. The normalization is\n\t * needed since all of these are treated as equivalent in Angular:\n\t *\n\t * ```\n\t * \n\t * ```\n\t */\n\t\n\t/**\n\t * @ngdoc property\n\t * @name $compile.directive.Attributes#$attr\n\t *\n\t * @description\n\t * A map of DOM element attribute names to the normalized name. This is\n\t * needed to do reverse lookup from normalized name back to actual name.\n\t */\n\t\n\t\n\t/**\n\t * @ngdoc method\n\t * @name $compile.directive.Attributes#$set\n\t * @kind function\n\t *\n\t * @description\n\t * Set DOM element attribute value.\n\t *\n\t *\n\t * @param {string} name Normalized element attribute name of the property to modify. The name is\n\t * reverse-translated using the {@link ng.$compile.directive.Attributes#$attr $attr}\n\t * property to the original name.\n\t * @param {string} value Value to set the attribute to. The value can be an interpolated string.\n\t */\n\t\n\t\n\t\n\t/**\n\t * Closure compiler type information\n\t */\n\t\n\tfunction nodesetLinkingFn(\n\t /* angular.Scope */ scope,\n\t /* NodeList */ nodeList,\n\t /* Element */ rootElement,\n\t /* function(Function) */ boundTranscludeFn\n\t) {}\n\t\n\tfunction directiveLinkingFn(\n\t /* nodesetLinkingFn */ nodesetLinkingFn,\n\t /* angular.Scope */ scope,\n\t /* Node */ node,\n\t /* Element */ rootElement,\n\t /* function(Function) */ boundTranscludeFn\n\t) {}\n\t\n\tfunction tokenDifference(str1, str2) {\n\t var values = '',\n\t tokens1 = str1.split(/\\s+/),\n\t tokens2 = str2.split(/\\s+/);\n\t\n\t outer:\n\t for (var i = 0; i < tokens1.length; i++) {\n\t var token = tokens1[i];\n\t for (var j = 0; j < tokens2.length; j++) {\n\t if (token == tokens2[j]) continue outer;\n\t }\n\t values += (values.length > 0 ? ' ' : '') + token;\n\t }\n\t return values;\n\t}\n\t\n\tfunction removeComments(jqNodes) {\n\t jqNodes = jqLite(jqNodes);\n\t var i = jqNodes.length;\n\t\n\t if (i <= 1) {\n\t return jqNodes;\n\t }\n\t\n\t while (i--) {\n\t var node = jqNodes[i];\n\t if (node.nodeType === NODE_TYPE_COMMENT) {\n\t splice.call(jqNodes, i, 1);\n\t }\n\t }\n\t return jqNodes;\n\t}\n\t\n\tvar $controllerMinErr = minErr('$controller');\n\t\n\t/**\n\t * @ngdoc provider\n\t * @name $controllerProvider\n\t * @description\n\t * The {@link ng.$controller $controller service} is used by Angular to create new\n\t * controllers.\n\t *\n\t * This provider allows controller registration via the\n\t * {@link ng.$controllerProvider#register register} method.\n\t */\n\tfunction $ControllerProvider() {\n\t var controllers = {},\n\t globals = false,\n\t CNTRL_REG = /^(\\S+)(\\s+as\\s+(\\w+))?$/;\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $controllerProvider#register\n\t * @param {string|Object} name Controller name, or an object map of controllers where the keys are\n\t * the names and the values are the constructors.\n\t * @param {Function|Array} constructor Controller constructor fn (optionally decorated with DI\n\t * annotations in the array notation).\n\t */\n\t this.register = function(name, constructor) {\n\t assertNotHasOwnProperty(name, 'controller');\n\t if (isObject(name)) {\n\t extend(controllers, name);\n\t } else {\n\t controllers[name] = constructor;\n\t }\n\t };\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $controllerProvider#allowGlobals\n\t * @description If called, allows `$controller` to find controller constructors on `window`\n\t */\n\t this.allowGlobals = function() {\n\t globals = true;\n\t };\n\t\n\t\n\t this.$get = ['$injector', '$window', function($injector, $window) {\n\t\n\t /**\n\t * @ngdoc service\n\t * @name $controller\n\t * @requires $injector\n\t *\n\t * @param {Function|string} constructor If called with a function then it's considered to be the\n\t * controller constructor function. Otherwise it's considered to be a string which is used\n\t * to retrieve the controller constructor using the following steps:\n\t *\n\t * * check if a controller with given name is registered via `$controllerProvider`\n\t * * check if evaluating the string on the current scope returns a constructor\n\t * * if $controllerProvider#allowGlobals, check `window[constructor]` on the global\n\t * `window` object (not recommended)\n\t *\n\t * The string can use the `controller as property` syntax, where the controller instance is published\n\t * as the specified property on the `scope`; the `scope` must be injected into `locals` param for this\n\t * to work correctly.\n\t *\n\t * @param {Object} locals Injection locals for Controller.\n\t * @return {Object} Instance of given controller.\n\t *\n\t * @description\n\t * `$controller` service is responsible for instantiating controllers.\n\t *\n\t * It's just a simple call to {@link auto.$injector $injector}, but extracted into\n\t * a service, so that one can override this service with [BC version](https://gist.github.com/1649788).\n\t */\n\t return function(expression, locals, later, ident) {\n\t // PRIVATE API:\n\t // param `later` --- indicates that the controller's constructor is invoked at a later time.\n\t // If true, $controller will allocate the object with the correct\n\t // prototype chain, but will not invoke the controller until a returned\n\t // callback is invoked.\n\t // param `ident` --- An optional label which overrides the label parsed from the controller\n\t // expression, if any.\n\t var instance, match, constructor, identifier;\n\t later = later === true;\n\t if (ident && isString(ident)) {\n\t identifier = ident;\n\t }\n\t\n\t if (isString(expression)) {\n\t match = expression.match(CNTRL_REG);\n\t if (!match) {\n\t throw $controllerMinErr('ctrlfmt',\n\t \"Badly formed controller string '{0}'. \" +\n\t \"Must match `__name__ as __id__` or `__name__`.\", expression);\n\t }\n\t constructor = match[1],\n\t identifier = identifier || match[3];\n\t expression = controllers.hasOwnProperty(constructor)\n\t ? controllers[constructor]\n\t : getter(locals.$scope, constructor, true) ||\n\t (globals ? getter($window, constructor, true) : undefined);\n\t\n\t assertArgFn(expression, constructor, true);\n\t }\n\t\n\t if (later) {\n\t // Instantiate controller later:\n\t // This machinery is used to create an instance of the object before calling the\n\t // controller's constructor itself.\n\t //\n\t // This allows properties to be added to the controller before the constructor is\n\t // invoked. Primarily, this is used for isolate scope bindings in $compile.\n\t //\n\t // This feature is not intended for use by applications, and is thus not documented\n\t // publicly.\n\t // Object creation: http://jsperf.com/create-constructor/2\n\t var controllerPrototype = (isArray(expression) ?\n\t expression[expression.length - 1] : expression).prototype;\n\t instance = Object.create(controllerPrototype || null);\n\t\n\t if (identifier) {\n\t addIdentifier(locals, identifier, instance, constructor || expression.name);\n\t }\n\t\n\t return extend(function() {\n\t $injector.invoke(expression, instance, locals, constructor);\n\t return instance;\n\t }, {\n\t instance: instance,\n\t identifier: identifier\n\t });\n\t }\n\t\n\t instance = $injector.instantiate(expression, locals, constructor);\n\t\n\t if (identifier) {\n\t addIdentifier(locals, identifier, instance, constructor || expression.name);\n\t }\n\t\n\t return instance;\n\t };\n\t\n\t function addIdentifier(locals, identifier, instance, name) {\n\t if (!(locals && isObject(locals.$scope))) {\n\t throw minErr('$controller')('noscp',\n\t \"Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.\",\n\t name, identifier);\n\t }\n\t\n\t locals.$scope[identifier] = instance;\n\t }\n\t }];\n\t}\n\t\n\t/**\n\t * @ngdoc service\n\t * @name $document\n\t * @requires $window\n\t *\n\t * @description\n\t * A {@link angular.element jQuery or jqLite} wrapper for the browser's `window.document` object.\n\t *\n\t * @example\n\t \n\t \n\t
\n\t

$document title:

\n\t

window.document title:

\n\t
\n\t
\n\t \n\t angular.module('documentExample', [])\n\t .controller('ExampleController', ['$scope', '$document', function($scope, $document) {\n\t $scope.title = $document[0].title;\n\t $scope.windowTitle = angular.element(window.document)[0].title;\n\t }]);\n\t \n\t
\n\t */\n\tfunction $DocumentProvider() {\n\t this.$get = ['$window', function(window) {\n\t return jqLite(window.document);\n\t }];\n\t}\n\t\n\t/**\n\t * @ngdoc service\n\t * @name $exceptionHandler\n\t * @requires ng.$log\n\t *\n\t * @description\n\t * Any uncaught exception in angular expressions is delegated to this service.\n\t * The default implementation simply delegates to `$log.error` which logs it into\n\t * the browser console.\n\t *\n\t * In unit tests, if `angular-mocks.js` is loaded, this service is overridden by\n\t * {@link ngMock.$exceptionHandler mock $exceptionHandler} which aids in testing.\n\t *\n\t * ## Example:\n\t *\n\t * ```js\n\t * angular.module('exceptionOverride', []).factory('$exceptionHandler', function() {\n\t * return function(exception, cause) {\n\t * exception.message += ' (caused by \"' + cause + '\")';\n\t * throw exception;\n\t * };\n\t * });\n\t * ```\n\t *\n\t * This example will override the normal action of `$exceptionHandler`, to make angular\n\t * exceptions fail hard when they happen, instead of just logging to the console.\n\t *\n\t *
\n\t * Note, that code executed in event-listeners (even those registered using jqLite's `on`/`bind`\n\t * methods) does not delegate exceptions to the {@link ng.$exceptionHandler $exceptionHandler}\n\t * (unless executed during a digest).\n\t *\n\t * If you wish, you can manually delegate exceptions, e.g.\n\t * `try { ... } catch(e) { $exceptionHandler(e); }`\n\t *\n\t * @param {Error} exception Exception associated with the error.\n\t * @param {string=} cause optional information about the context in which\n\t * the error was thrown.\n\t *\n\t */\n\tfunction $ExceptionHandlerProvider() {\n\t this.$get = ['$log', function($log) {\n\t return function(exception, cause) {\n\t $log.error.apply($log, arguments);\n\t };\n\t }];\n\t}\n\t\n\tvar APPLICATION_JSON = 'application/json';\n\tvar CONTENT_TYPE_APPLICATION_JSON = {'Content-Type': APPLICATION_JSON + ';charset=utf-8'};\n\tvar JSON_START = /^\\[|^\\{(?!\\{)/;\n\tvar JSON_ENDS = {\n\t '[': /]$/,\n\t '{': /}$/\n\t};\n\tvar JSON_PROTECTION_PREFIX = /^\\)\\]\\}',?\\n/;\n\t\n\tfunction defaultHttpResponseTransform(data, headers) {\n\t if (isString(data)) {\n\t // Strip json vulnerability protection prefix and trim whitespace\n\t var tempData = data.replace(JSON_PROTECTION_PREFIX, '').trim();\n\t\n\t if (tempData) {\n\t var contentType = headers('Content-Type');\n\t if ((contentType && (contentType.indexOf(APPLICATION_JSON) === 0)) || isJsonLike(tempData)) {\n\t data = fromJson(tempData);\n\t }\n\t }\n\t }\n\t\n\t return data;\n\t}\n\t\n\tfunction isJsonLike(str) {\n\t var jsonStart = str.match(JSON_START);\n\t return jsonStart && JSON_ENDS[jsonStart[0]].test(str);\n\t}\n\t\n\t/**\n\t * Parse headers into key value object\n\t *\n\t * @param {string} headers Raw headers as a string\n\t * @returns {Object} Parsed headers as key value object\n\t */\n\tfunction parseHeaders(headers) {\n\t var parsed = createMap(), key, val, i;\n\t\n\t if (!headers) return parsed;\n\t\n\t forEach(headers.split('\\n'), function(line) {\n\t i = line.indexOf(':');\n\t key = lowercase(trim(line.substr(0, i)));\n\t val = trim(line.substr(i + 1));\n\t\n\t if (key) {\n\t parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n\t }\n\t });\n\t\n\t return parsed;\n\t}\n\t\n\t\n\t/**\n\t * Returns a function that provides access to parsed headers.\n\t *\n\t * Headers are lazy parsed when first requested.\n\t * @see parseHeaders\n\t *\n\t * @param {(string|Object)} headers Headers to provide access to.\n\t * @returns {function(string=)} Returns a getter function which if called with:\n\t *\n\t * - if called with single an argument returns a single header value or null\n\t * - if called with no arguments returns an object containing all headers.\n\t */\n\tfunction headersGetter(headers) {\n\t var headersObj = isObject(headers) ? headers : undefined;\n\t\n\t return function(name) {\n\t if (!headersObj) headersObj = parseHeaders(headers);\n\t\n\t if (name) {\n\t var value = headersObj[lowercase(name)];\n\t if (value === void 0) {\n\t value = null;\n\t }\n\t return value;\n\t }\n\t\n\t return headersObj;\n\t };\n\t}\n\t\n\t\n\t/**\n\t * Chain all given functions\n\t *\n\t * This function is used for both request and response transforming\n\t *\n\t * @param {*} data Data to transform.\n\t * @param {function(string=)} headers HTTP headers getter fn.\n\t * @param {number} status HTTP status code of the response.\n\t * @param {(Function|Array.)} fns Function or an array of functions.\n\t * @returns {*} Transformed data.\n\t */\n\tfunction transformData(data, headers, status, fns) {\n\t if (isFunction(fns))\n\t return fns(data, headers, status);\n\t\n\t forEach(fns, function(fn) {\n\t data = fn(data, headers, status);\n\t });\n\t\n\t return data;\n\t}\n\t\n\t\n\tfunction isSuccess(status) {\n\t return 200 <= status && status < 300;\n\t}\n\t\n\t\n\t/**\n\t * @ngdoc provider\n\t * @name $httpProvider\n\t * @description\n\t * Use `$httpProvider` to change the default behavior of the {@link ng.$http $http} service.\n\t * */\n\tfunction $HttpProvider() {\n\t /**\n\t * @ngdoc property\n\t * @name $httpProvider#defaults\n\t * @description\n\t *\n\t * Object containing default values for all {@link ng.$http $http} requests.\n\t *\n\t * - **`defaults.cache`** - {Object} - an object built with {@link ng.$cacheFactory `$cacheFactory`}\n\t * that will provide the cache for all requests who set their `cache` property to `true`.\n\t * If you set the `default.cache = false` then only requests that specify their own custom\n\t * cache object will be cached. See {@link $http#caching $http Caching} for more information.\n\t *\n\t * - **`defaults.xsrfCookieName`** - {string} - Name of cookie containing the XSRF token.\n\t * Defaults value is `'XSRF-TOKEN'`.\n\t *\n\t * - **`defaults.xsrfHeaderName`** - {string} - Name of HTTP header to populate with the\n\t * XSRF token. Defaults value is `'X-XSRF-TOKEN'`.\n\t *\n\t * - **`defaults.headers`** - {Object} - Default headers for all $http requests.\n\t * Refer to {@link ng.$http#setting-http-headers $http} for documentation on\n\t * setting default headers.\n\t * - **`defaults.headers.common`**\n\t * - **`defaults.headers.post`**\n\t * - **`defaults.headers.put`**\n\t * - **`defaults.headers.patch`**\n\t *\n\t **/\n\t var defaults = this.defaults = {\n\t // transform incoming response data\n\t transformResponse: [defaultHttpResponseTransform],\n\t\n\t // transform outgoing request data\n\t transformRequest: [function(d) {\n\t return isObject(d) && !isFile(d) && !isBlob(d) && !isFormData(d) ? toJson(d) : d;\n\t }],\n\t\n\t // default headers\n\t headers: {\n\t common: {\n\t 'Accept': 'application/json, text/plain, */*'\n\t },\n\t post: shallowCopy(CONTENT_TYPE_APPLICATION_JSON),\n\t put: shallowCopy(CONTENT_TYPE_APPLICATION_JSON),\n\t patch: shallowCopy(CONTENT_TYPE_APPLICATION_JSON)\n\t },\n\t\n\t xsrfCookieName: 'XSRF-TOKEN',\n\t xsrfHeaderName: 'X-XSRF-TOKEN'\n\t };\n\t\n\t var useApplyAsync = false;\n\t /**\n\t * @ngdoc method\n\t * @name $httpProvider#useApplyAsync\n\t * @description\n\t *\n\t * Configure $http service to combine processing of multiple http responses received at around\n\t * the same time via {@link ng.$rootScope.Scope#$applyAsync $rootScope.$applyAsync}. This can result in\n\t * significant performance improvement for bigger applications that make many HTTP requests\n\t * concurrently (common during application bootstrap).\n\t *\n\t * Defaults to false. If no value is specifed, returns the current configured value.\n\t *\n\t * @param {boolean=} value If true, when requests are loaded, they will schedule a deferred\n\t * \"apply\" on the next tick, giving time for subsequent requests in a roughly ~10ms window\n\t * to load and share the same digest cycle.\n\t *\n\t * @returns {boolean|Object} If a value is specified, returns the $httpProvider for chaining.\n\t * otherwise, returns the current configured value.\n\t **/\n\t this.useApplyAsync = function(value) {\n\t if (isDefined(value)) {\n\t useApplyAsync = !!value;\n\t return this;\n\t }\n\t return useApplyAsync;\n\t };\n\t\n\t /**\n\t * @ngdoc property\n\t * @name $httpProvider#interceptors\n\t * @description\n\t *\n\t * Array containing service factories for all synchronous or asynchronous {@link ng.$http $http}\n\t * pre-processing of request or postprocessing of responses.\n\t *\n\t * These service factories are ordered by request, i.e. they are applied in the same order as the\n\t * array, on request, but reverse order, on response.\n\t *\n\t * {@link ng.$http#interceptors Interceptors detailed info}\n\t **/\n\t var interceptorFactories = this.interceptors = [];\n\t\n\t this.$get = ['$httpBackend', '$browser', '$cacheFactory', '$rootScope', '$q', '$injector',\n\t function($httpBackend, $browser, $cacheFactory, $rootScope, $q, $injector) {\n\t\n\t var defaultCache = $cacheFactory('$http');\n\t\n\t /**\n\t * Interceptors stored in reverse order. Inner interceptors before outer interceptors.\n\t * The reversal is needed so that we can build up the interception chain around the\n\t * server request.\n\t */\n\t var reversedInterceptors = [];\n\t\n\t forEach(interceptorFactories, function(interceptorFactory) {\n\t reversedInterceptors.unshift(isString(interceptorFactory)\n\t ? $injector.get(interceptorFactory) : $injector.invoke(interceptorFactory));\n\t });\n\t\n\t /**\n\t * @ngdoc service\n\t * @kind function\n\t * @name $http\n\t * @requires ng.$httpBackend\n\t * @requires $cacheFactory\n\t * @requires $rootScope\n\t * @requires $q\n\t * @requires $injector\n\t *\n\t * @description\n\t * The `$http` service is a core Angular service that facilitates communication with the remote\n\t * HTTP servers via the browser's [XMLHttpRequest](https://developer.mozilla.org/en/xmlhttprequest)\n\t * object or via [JSONP](http://en.wikipedia.org/wiki/JSONP).\n\t *\n\t * For unit testing applications that use `$http` service, see\n\t * {@link ngMock.$httpBackend $httpBackend mock}.\n\t *\n\t * For a higher level of abstraction, please check out the {@link ngResource.$resource\n\t * $resource} service.\n\t *\n\t * The $http API is based on the {@link ng.$q deferred/promise APIs} exposed by\n\t * the $q service. While for simple usage patterns this doesn't matter much, for advanced usage\n\t * it is important to familiarize yourself with these APIs and the guarantees they provide.\n\t *\n\t *\n\t * ## General usage\n\t * The `$http` service is a function which takes a single argument — a configuration object —\n\t * that is used to generate an HTTP request and returns a {@link ng.$q promise}\n\t * with two $http specific methods: `success` and `error`.\n\t *\n\t * ```js\n\t * // Simple GET request example :\n\t * $http.get('/someUrl').\n\t * success(function(data, status, headers, config) {\n\t * // this callback will be called asynchronously\n\t * // when the response is available\n\t * }).\n\t * error(function(data, status, headers, config) {\n\t * // called asynchronously if an error occurs\n\t * // or server returns response with an error status.\n\t * });\n\t * ```\n\t *\n\t * ```js\n\t * // Simple POST request example (passing data) :\n\t * $http.post('/someUrl', {msg:'hello word!'}).\n\t * success(function(data, status, headers, config) {\n\t * // this callback will be called asynchronously\n\t * // when the response is available\n\t * }).\n\t * error(function(data, status, headers, config) {\n\t * // called asynchronously if an error occurs\n\t * // or server returns response with an error status.\n\t * });\n\t * ```\n\t *\n\t *\n\t * Since the returned value of calling the $http function is a `promise`, you can also use\n\t * the `then` method to register callbacks, and these callbacks will receive a single argument –\n\t * an object representing the response. See the API signature and type info below for more\n\t * details.\n\t *\n\t * A response status code between 200 and 299 is considered a success status and\n\t * will result in the success callback being called. Note that if the response is a redirect,\n\t * XMLHttpRequest will transparently follow it, meaning that the error callback will not be\n\t * called for such responses.\n\t *\n\t * ## Writing Unit Tests that use $http\n\t * When unit testing (using {@link ngMock ngMock}), it is necessary to call\n\t * {@link ngMock.$httpBackend#flush $httpBackend.flush()} to flush each pending\n\t * request using trained responses.\n\t *\n\t * ```\n\t * $httpBackend.expectGET(...);\n\t * $http.get(...);\n\t * $httpBackend.flush();\n\t * ```\n\t *\n\t * ## Shortcut methods\n\t *\n\t * Shortcut methods are also available. All shortcut methods require passing in the URL, and\n\t * request data must be passed in for POST/PUT requests.\n\t *\n\t * ```js\n\t * $http.get('/someUrl').success(successCallback);\n\t * $http.post('/someUrl', data).success(successCallback);\n\t * ```\n\t *\n\t * Complete list of shortcut methods:\n\t *\n\t * - {@link ng.$http#get $http.get}\n\t * - {@link ng.$http#head $http.head}\n\t * - {@link ng.$http#post $http.post}\n\t * - {@link ng.$http#put $http.put}\n\t * - {@link ng.$http#delete $http.delete}\n\t * - {@link ng.$http#jsonp $http.jsonp}\n\t * - {@link ng.$http#patch $http.patch}\n\t *\n\t *\n\t * ## Setting HTTP Headers\n\t *\n\t * The $http service will automatically add certain HTTP headers to all requests. These defaults\n\t * can be fully configured by accessing the `$httpProvider.defaults.headers` configuration\n\t * object, which currently contains this default configuration:\n\t *\n\t * - `$httpProvider.defaults.headers.common` (headers that are common for all requests):\n\t * - `Accept: application/json, text/plain, * / *`\n\t * - `$httpProvider.defaults.headers.post`: (header defaults for POST requests)\n\t * - `Content-Type: application/json`\n\t * - `$httpProvider.defaults.headers.put` (header defaults for PUT requests)\n\t * - `Content-Type: application/json`\n\t *\n\t * To add or overwrite these defaults, simply add or remove a property from these configuration\n\t * objects. To add headers for an HTTP method other than POST or PUT, simply add a new object\n\t * with the lowercased HTTP method name as the key, e.g.\n\t * `$httpProvider.defaults.headers.get = { 'My-Header' : 'value' }.\n\t *\n\t * The defaults can also be set at runtime via the `$http.defaults` object in the same\n\t * fashion. For example:\n\t *\n\t * ```\n\t * module.run(function($http) {\n\t * $http.defaults.headers.common.Authorization = 'Basic YmVlcDpib29w'\n\t * });\n\t * ```\n\t *\n\t * In addition, you can supply a `headers` property in the config object passed when\n\t * calling `$http(config)`, which overrides the defaults without changing them globally.\n\t *\n\t * To explicitly remove a header automatically added via $httpProvider.defaults.headers on a per request basis,\n\t * Use the `headers` property, setting the desired header to `undefined`. For example:\n\t *\n\t * ```js\n\t * var req = {\n\t * method: 'POST',\n\t * url: 'http://example.com',\n\t * headers: {\n\t * 'Content-Type': undefined\n\t * },\n\t * data: { test: 'test' }\n\t * }\n\t *\n\t * $http(req).success(function(){...}).error(function(){...});\n\t * ```\n\t *\n\t * ## Transforming Requests and Responses\n\t *\n\t * Both requests and responses can be transformed using transformation functions: `transformRequest`\n\t * and `transformResponse`. These properties can be a single function that returns\n\t * the transformed value (`function(data, headersGetter, status)`) or an array of such transformation functions,\n\t * which allows you to `push` or `unshift` a new transformation function into the transformation chain.\n\t *\n\t * ### Default Transformations\n\t *\n\t * The `$httpProvider` provider and `$http` service expose `defaults.transformRequest` and\n\t * `defaults.transformResponse` properties. If a request does not provide its own transformations\n\t * then these will be applied.\n\t *\n\t * You can augment or replace the default transformations by modifying these properties by adding to or\n\t * replacing the array.\n\t *\n\t * Angular provides the following default transformations:\n\t *\n\t * Request transformations (`$httpProvider.defaults.transformRequest` and `$http.defaults.transformRequest`):\n\t *\n\t * - If the `data` property of the request configuration object contains an object, serialize it\n\t * into JSON format.\n\t *\n\t * Response transformations (`$httpProvider.defaults.transformResponse` and `$http.defaults.transformResponse`):\n\t *\n\t * - If XSRF prefix is detected, strip it (see Security Considerations section below).\n\t * - If JSON response is detected, deserialize it using a JSON parser.\n\t *\n\t *\n\t * ### Overriding the Default Transformations Per Request\n\t *\n\t * If you wish override the request/response transformations only for a single request then provide\n\t * `transformRequest` and/or `transformResponse` properties on the configuration object passed\n\t * into `$http`.\n\t *\n\t * Note that if you provide these properties on the config object the default transformations will be\n\t * overwritten. If you wish to augment the default transformations then you must include them in your\n\t * local transformation array.\n\t *\n\t * The following code demonstrates adding a new response transformation to be run after the default response\n\t * transformations have been run.\n\t *\n\t * ```js\n\t * function appendTransform(defaults, transform) {\n\t *\n\t * // We can't guarantee that the default transformation is an array\n\t * defaults = angular.isArray(defaults) ? defaults : [defaults];\n\t *\n\t * // Append the new transformation to the defaults\n\t * return defaults.concat(transform);\n\t * }\n\t *\n\t * $http({\n\t * url: '...',\n\t * method: 'GET',\n\t * transformResponse: appendTransform($http.defaults.transformResponse, function(value) {\n\t * return doTransform(value);\n\t * })\n\t * });\n\t * ```\n\t *\n\t *\n\t * ## Caching\n\t *\n\t * To enable caching, set the request configuration `cache` property to `true` (to use default\n\t * cache) or to a custom cache object (built with {@link ng.$cacheFactory `$cacheFactory`}).\n\t * When the cache is enabled, `$http` stores the response from the server in the specified\n\t * cache. The next time the same request is made, the response is served from the cache without\n\t * sending a request to the server.\n\t *\n\t * Note that even if the response is served from cache, delivery of the data is asynchronous in\n\t * the same way that real requests are.\n\t *\n\t * If there are multiple GET requests for the same URL that should be cached using the same\n\t * cache, but the cache is not populated yet, only one request to the server will be made and\n\t * the remaining requests will be fulfilled using the response from the first request.\n\t *\n\t * You can change the default cache to a new object (built with\n\t * {@link ng.$cacheFactory `$cacheFactory`}) by updating the\n\t * {@link ng.$http#defaults `$http.defaults.cache`} property. All requests who set\n\t * their `cache` property to `true` will now use this cache object.\n\t *\n\t * If you set the default cache to `false` then only requests that specify their own custom\n\t * cache object will be cached.\n\t *\n\t * ## Interceptors\n\t *\n\t * Before you start creating interceptors, be sure to understand the\n\t * {@link ng.$q $q and deferred/promise APIs}.\n\t *\n\t * For purposes of global error handling, authentication, or any kind of synchronous or\n\t * asynchronous pre-processing of request or postprocessing of responses, it is desirable to be\n\t * able to intercept requests before they are handed to the server and\n\t * responses before they are handed over to the application code that\n\t * initiated these requests. The interceptors leverage the {@link ng.$q\n\t * promise APIs} to fulfill this need for both synchronous and asynchronous pre-processing.\n\t *\n\t * The interceptors are service factories that are registered with the `$httpProvider` by\n\t * adding them to the `$httpProvider.interceptors` array. The factory is called and\n\t * injected with dependencies (if specified) and returns the interceptor.\n\t *\n\t * There are two kinds of interceptors (and two kinds of rejection interceptors):\n\t *\n\t * * `request`: interceptors get called with a http `config` object. The function is free to\n\t * modify the `config` object or create a new one. The function needs to return the `config`\n\t * object directly, or a promise containing the `config` or a new `config` object.\n\t * * `requestError`: interceptor gets called when a previous interceptor threw an error or\n\t * resolved with a rejection.\n\t * * `response`: interceptors get called with http `response` object. The function is free to\n\t * modify the `response` object or create a new one. The function needs to return the `response`\n\t * object directly, or as a promise containing the `response` or a new `response` object.\n\t * * `responseError`: interceptor gets called when a previous interceptor threw an error or\n\t * resolved with a rejection.\n\t *\n\t *\n\t * ```js\n\t * // register the interceptor as a service\n\t * $provide.factory('myHttpInterceptor', function($q, dependency1, dependency2) {\n\t * return {\n\t * // optional method\n\t * 'request': function(config) {\n\t * // do something on success\n\t * return config;\n\t * },\n\t *\n\t * // optional method\n\t * 'requestError': function(rejection) {\n\t * // do something on error\n\t * if (canRecover(rejection)) {\n\t * return responseOrNewPromise\n\t * }\n\t * return $q.reject(rejection);\n\t * },\n\t *\n\t *\n\t *\n\t * // optional method\n\t * 'response': function(response) {\n\t * // do something on success\n\t * return response;\n\t * },\n\t *\n\t * // optional method\n\t * 'responseError': function(rejection) {\n\t * // do something on error\n\t * if (canRecover(rejection)) {\n\t * return responseOrNewPromise\n\t * }\n\t * return $q.reject(rejection);\n\t * }\n\t * };\n\t * });\n\t *\n\t * $httpProvider.interceptors.push('myHttpInterceptor');\n\t *\n\t *\n\t * // alternatively, register the interceptor via an anonymous factory\n\t * $httpProvider.interceptors.push(function($q, dependency1, dependency2) {\n\t * return {\n\t * 'request': function(config) {\n\t * // same as above\n\t * },\n\t *\n\t * 'response': function(response) {\n\t * // same as above\n\t * }\n\t * };\n\t * });\n\t * ```\n\t *\n\t * ## Security Considerations\n\t *\n\t * When designing web applications, consider security threats from:\n\t *\n\t * - [JSON vulnerability](http://haacked.com/archive/2008/11/20/anatomy-of-a-subtle-json-vulnerability.aspx)\n\t * - [XSRF](http://en.wikipedia.org/wiki/Cross-site_request_forgery)\n\t *\n\t * Both server and the client must cooperate in order to eliminate these threats. Angular comes\n\t * pre-configured with strategies that address these issues, but for this to work backend server\n\t * cooperation is required.\n\t *\n\t * ### JSON Vulnerability Protection\n\t *\n\t * A [JSON vulnerability](http://haacked.com/archive/2008/11/20/anatomy-of-a-subtle-json-vulnerability.aspx)\n\t * allows third party website to turn your JSON resource URL into\n\t * [JSONP](http://en.wikipedia.org/wiki/JSONP) request under some conditions. To\n\t * counter this your server can prefix all JSON requests with following string `\")]}',\\n\"`.\n\t * Angular will automatically strip the prefix before processing it as JSON.\n\t *\n\t * For example if your server needs to return:\n\t * ```js\n\t * ['one','two']\n\t * ```\n\t *\n\t * which is vulnerable to attack, your server can return:\n\t * ```js\n\t * )]}',\n\t * ['one','two']\n\t * ```\n\t *\n\t * Angular will strip the prefix, before processing the JSON.\n\t *\n\t *\n\t * ### Cross Site Request Forgery (XSRF) Protection\n\t *\n\t * [XSRF](http://en.wikipedia.org/wiki/Cross-site_request_forgery) is a technique by which\n\t * an unauthorized site can gain your user's private data. Angular provides a mechanism\n\t * to counter XSRF. When performing XHR requests, the $http service reads a token from a cookie\n\t * (by default, `XSRF-TOKEN`) and sets it as an HTTP header (`X-XSRF-TOKEN`). Since only\n\t * JavaScript that runs on your domain could read the cookie, your server can be assured that\n\t * the XHR came from JavaScript running on your domain. The header will not be set for\n\t * cross-domain requests.\n\t *\n\t * To take advantage of this, your server needs to set a token in a JavaScript readable session\n\t * cookie called `XSRF-TOKEN` on the first HTTP GET request. On subsequent XHR requests the\n\t * server can verify that the cookie matches `X-XSRF-TOKEN` HTTP header, and therefore be sure\n\t * that only JavaScript running on your domain could have sent the request. The token must be\n\t * unique for each user and must be verifiable by the server (to prevent the JavaScript from\n\t * making up its own tokens). We recommend that the token is a digest of your site's\n\t * authentication cookie with a [salt](https://en.wikipedia.org/wiki/Salt_(cryptography))\n\t * for added security.\n\t *\n\t * The name of the headers can be specified using the xsrfHeaderName and xsrfCookieName\n\t * properties of either $httpProvider.defaults at config-time, $http.defaults at run-time,\n\t * or the per-request config object.\n\t *\n\t *\n\t * @param {object} config Object describing the request to be made and how it should be\n\t * processed. The object has following properties:\n\t *\n\t * - **method** – `{string}` – HTTP method (e.g. 'GET', 'POST', etc)\n\t * - **url** – `{string}` – Absolute or relative URL of the resource that is being requested.\n\t * - **params** – `{Object.}` – Map of strings or objects which will be turned\n\t * to `?key1=value1&key2=value2` after the url. If the value is not a string, it will be\n\t * JSONified.\n\t * - **data** – `{string|Object}` – Data to be sent as the request message data.\n\t * - **headers** – `{Object}` – Map of strings or functions which return strings representing\n\t * HTTP headers to send to the server. If the return value of a function is null, the\n\t * header will not be sent.\n\t * - **xsrfHeaderName** – `{string}` – Name of HTTP header to populate with the XSRF token.\n\t * - **xsrfCookieName** – `{string}` – Name of cookie containing the XSRF token.\n\t * - **transformRequest** –\n\t * `{function(data, headersGetter)|Array.}` –\n\t * transform function or an array of such functions. The transform function takes the http\n\t * request body and headers and returns its transformed (typically serialized) version.\n\t * See {@link ng.$http#overriding-the-default-transformations-per-request\n\t * Overriding the Default Transformations}\n\t * - **transformResponse** –\n\t * `{function(data, headersGetter, status)|Array.}` –\n\t * transform function or an array of such functions. The transform function takes the http\n\t * response body, headers and status and returns its transformed (typically deserialized) version.\n\t * See {@link ng.$http#overriding-the-default-transformations-per-request\n\t * Overriding the Default Transformations}\n\t * - **cache** – `{boolean|Cache}` – If true, a default $http cache will be used to cache the\n\t * GET request, otherwise if a cache instance built with\n\t * {@link ng.$cacheFactory $cacheFactory}, this cache will be used for\n\t * caching.\n\t * - **timeout** – `{number|Promise}` – timeout in milliseconds, or {@link ng.$q promise}\n\t * that should abort the request when resolved.\n\t * - **withCredentials** - `{boolean}` - whether to set the `withCredentials` flag on the\n\t * XHR object. See [requests with credentials](https://developer.mozilla.org/docs/Web/HTTP/Access_control_CORS#Requests_with_credentials)\n\t * for more information.\n\t * - **responseType** - `{string}` - see\n\t * [requestType](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#responseType).\n\t *\n\t * @returns {HttpPromise} Returns a {@link ng.$q promise} object with the\n\t * standard `then` method and two http specific methods: `success` and `error`. The `then`\n\t * method takes two arguments a success and an error callback which will be called with a\n\t * response object. The `success` and `error` methods take a single argument - a function that\n\t * will be called when the request succeeds or fails respectively. The arguments passed into\n\t * these functions are destructured representation of the response object passed into the\n\t * `then` method. The response object has these properties:\n\t *\n\t * - **data** – `{string|Object}` – The response body transformed with the transform\n\t * functions.\n\t * - **status** – `{number}` – HTTP status code of the response.\n\t * - **headers** – `{function([headerName])}` – Header getter function.\n\t * - **config** – `{Object}` – The configuration object that was used to generate the request.\n\t * - **statusText** – `{string}` – HTTP status text of the response.\n\t *\n\t * @property {Array.} pendingRequests Array of config objects for currently pending\n\t * requests. This is primarily meant to be used for debugging purposes.\n\t *\n\t *\n\t * @example\n\t\n\t\n\t
\n\t \n\t \n\t
\n\t \n\t \n\t \n\t
http status code: {{status}}
\n\t
http response data: {{data}}
\n\t
\n\t
\n\t\n\t angular.module('httpExample', [])\n\t .controller('FetchController', ['$scope', '$http', '$templateCache',\n\t function($scope, $http, $templateCache) {\n\t $scope.method = 'GET';\n\t $scope.url = 'http-hello.html';\n\t\n\t $scope.fetch = function() {\n\t $scope.code = null;\n\t $scope.response = null;\n\t\n\t $http({method: $scope.method, url: $scope.url, cache: $templateCache}).\n\t success(function(data, status) {\n\t $scope.status = status;\n\t $scope.data = data;\n\t }).\n\t error(function(data, status) {\n\t $scope.data = data || \"Request failed\";\n\t $scope.status = status;\n\t });\n\t };\n\t\n\t $scope.updateModel = function(method, url) {\n\t $scope.method = method;\n\t $scope.url = url;\n\t };\n\t }]);\n\t\n\t\n\t Hello, $http!\n\t\n\t\n\t var status = element(by.binding('status'));\n\t var data = element(by.binding('data'));\n\t var fetchBtn = element(by.id('fetchbtn'));\n\t var sampleGetBtn = element(by.id('samplegetbtn'));\n\t var sampleJsonpBtn = element(by.id('samplejsonpbtn'));\n\t var invalidJsonpBtn = element(by.id('invalidjsonpbtn'));\n\t\n\t it('should make an xhr GET request', function() {\n\t sampleGetBtn.click();\n\t fetchBtn.click();\n\t expect(status.getText()).toMatch('200');\n\t expect(data.getText()).toMatch(/Hello, \\$http!/);\n\t });\n\t\n\t// Commented out due to flakes. See https://github.com/angular/angular.js/issues/9185\n\t// it('should make a JSONP request to angularjs.org', function() {\n\t// sampleJsonpBtn.click();\n\t// fetchBtn.click();\n\t// expect(status.getText()).toMatch('200');\n\t// expect(data.getText()).toMatch(/Super Hero!/);\n\t// });\n\t\n\t it('should make JSONP request to invalid URL and invoke the error handler',\n\t function() {\n\t invalidJsonpBtn.click();\n\t fetchBtn.click();\n\t expect(status.getText()).toMatch('0');\n\t expect(data.getText()).toMatch('Request failed');\n\t });\n\t\n\t
\n\t */\n\t function $http(requestConfig) {\n\t\n\t if (!angular.isObject(requestConfig)) {\n\t throw minErr('$http')('badreq', 'Http request configuration must be an object. Received: {0}', requestConfig);\n\t }\n\t\n\t var config = extend({\n\t method: 'get',\n\t transformRequest: defaults.transformRequest,\n\t transformResponse: defaults.transformResponse\n\t }, requestConfig);\n\t\n\t config.headers = mergeHeaders(requestConfig);\n\t config.method = uppercase(config.method);\n\t\n\t var serverRequest = function(config) {\n\t var headers = config.headers;\n\t var reqData = transformData(config.data, headersGetter(headers), undefined, config.transformRequest);\n\t\n\t // strip content-type if data is undefined\n\t if (isUndefined(reqData)) {\n\t forEach(headers, function(value, header) {\n\t if (lowercase(header) === 'content-type') {\n\t delete headers[header];\n\t }\n\t });\n\t }\n\t\n\t if (isUndefined(config.withCredentials) && !isUndefined(defaults.withCredentials)) {\n\t config.withCredentials = defaults.withCredentials;\n\t }\n\t\n\t // send request\n\t return sendReq(config, reqData).then(transformResponse, transformResponse);\n\t };\n\t\n\t var chain = [serverRequest, undefined];\n\t var promise = $q.when(config);\n\t\n\t // apply interceptors\n\t forEach(reversedInterceptors, function(interceptor) {\n\t if (interceptor.request || interceptor.requestError) {\n\t chain.unshift(interceptor.request, interceptor.requestError);\n\t }\n\t if (interceptor.response || interceptor.responseError) {\n\t chain.push(interceptor.response, interceptor.responseError);\n\t }\n\t });\n\t\n\t while (chain.length) {\n\t var thenFn = chain.shift();\n\t var rejectFn = chain.shift();\n\t\n\t promise = promise.then(thenFn, rejectFn);\n\t }\n\t\n\t promise.success = function(fn) {\n\t assertArgFn(fn, 'fn');\n\t\n\t promise.then(function(response) {\n\t fn(response.data, response.status, response.headers, config);\n\t });\n\t return promise;\n\t };\n\t\n\t promise.error = function(fn) {\n\t assertArgFn(fn, 'fn');\n\t\n\t promise.then(null, function(response) {\n\t fn(response.data, response.status, response.headers, config);\n\t });\n\t return promise;\n\t };\n\t\n\t return promise;\n\t\n\t function transformResponse(response) {\n\t // make a copy since the response must be cacheable\n\t var resp = extend({}, response);\n\t if (!response.data) {\n\t resp.data = response.data;\n\t } else {\n\t resp.data = transformData(response.data, response.headers, response.status, config.transformResponse);\n\t }\n\t return (isSuccess(response.status))\n\t ? resp\n\t : $q.reject(resp);\n\t }\n\t\n\t function executeHeaderFns(headers) {\n\t var headerContent, processedHeaders = {};\n\t\n\t forEach(headers, function(headerFn, header) {\n\t if (isFunction(headerFn)) {\n\t headerContent = headerFn();\n\t if (headerContent != null) {\n\t processedHeaders[header] = headerContent;\n\t }\n\t } else {\n\t processedHeaders[header] = headerFn;\n\t }\n\t });\n\t\n\t return processedHeaders;\n\t }\n\t\n\t function mergeHeaders(config) {\n\t var defHeaders = defaults.headers,\n\t reqHeaders = extend({}, config.headers),\n\t defHeaderName, lowercaseDefHeaderName, reqHeaderName;\n\t\n\t defHeaders = extend({}, defHeaders.common, defHeaders[lowercase(config.method)]);\n\t\n\t // using for-in instead of forEach to avoid unecessary iteration after header has been found\n\t defaultHeadersIteration:\n\t for (defHeaderName in defHeaders) {\n\t lowercaseDefHeaderName = lowercase(defHeaderName);\n\t\n\t for (reqHeaderName in reqHeaders) {\n\t if (lowercase(reqHeaderName) === lowercaseDefHeaderName) {\n\t continue defaultHeadersIteration;\n\t }\n\t }\n\t\n\t reqHeaders[defHeaderName] = defHeaders[defHeaderName];\n\t }\n\t\n\t // execute if header value is a function for merged headers\n\t return executeHeaderFns(reqHeaders);\n\t }\n\t }\n\t\n\t $http.pendingRequests = [];\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $http#get\n\t *\n\t * @description\n\t * Shortcut method to perform `GET` request.\n\t *\n\t * @param {string} url Relative or absolute URL specifying the destination of the request\n\t * @param {Object=} config Optional configuration object\n\t * @returns {HttpPromise} Future object\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $http#delete\n\t *\n\t * @description\n\t * Shortcut method to perform `DELETE` request.\n\t *\n\t * @param {string} url Relative or absolute URL specifying the destination of the request\n\t * @param {Object=} config Optional configuration object\n\t * @returns {HttpPromise} Future object\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $http#head\n\t *\n\t * @description\n\t * Shortcut method to perform `HEAD` request.\n\t *\n\t * @param {string} url Relative or absolute URL specifying the destination of the request\n\t * @param {Object=} config Optional configuration object\n\t * @returns {HttpPromise} Future object\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $http#jsonp\n\t *\n\t * @description\n\t * Shortcut method to perform `JSONP` request.\n\t *\n\t * @param {string} url Relative or absolute URL specifying the destination of the request.\n\t * The name of the callback should be the string `JSON_CALLBACK`.\n\t * @param {Object=} config Optional configuration object\n\t * @returns {HttpPromise} Future object\n\t */\n\t createShortMethods('get', 'delete', 'head', 'jsonp');\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $http#post\n\t *\n\t * @description\n\t * Shortcut method to perform `POST` request.\n\t *\n\t * @param {string} url Relative or absolute URL specifying the destination of the request\n\t * @param {*} data Request content\n\t * @param {Object=} config Optional configuration object\n\t * @returns {HttpPromise} Future object\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $http#put\n\t *\n\t * @description\n\t * Shortcut method to perform `PUT` request.\n\t *\n\t * @param {string} url Relative or absolute URL specifying the destination of the request\n\t * @param {*} data Request content\n\t * @param {Object=} config Optional configuration object\n\t * @returns {HttpPromise} Future object\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $http#patch\n\t *\n\t * @description\n\t * Shortcut method to perform `PATCH` request.\n\t *\n\t * @param {string} url Relative or absolute URL specifying the destination of the request\n\t * @param {*} data Request content\n\t * @param {Object=} config Optional configuration object\n\t * @returns {HttpPromise} Future object\n\t */\n\t createShortMethodsWithData('post', 'put', 'patch');\n\t\n\t /**\n\t * @ngdoc property\n\t * @name $http#defaults\n\t *\n\t * @description\n\t * Runtime equivalent of the `$httpProvider.defaults` property. Allows configuration of\n\t * default headers, withCredentials as well as request and response transformations.\n\t *\n\t * See \"Setting HTTP Headers\" and \"Transforming Requests and Responses\" sections above.\n\t */\n\t $http.defaults = defaults;\n\t\n\t\n\t return $http;\n\t\n\t\n\t function createShortMethods(names) {\n\t forEach(arguments, function(name) {\n\t $http[name] = function(url, config) {\n\t return $http(extend(config || {}, {\n\t method: name,\n\t url: url\n\t }));\n\t };\n\t });\n\t }\n\t\n\t\n\t function createShortMethodsWithData(name) {\n\t forEach(arguments, function(name) {\n\t $http[name] = function(url, data, config) {\n\t return $http(extend(config || {}, {\n\t method: name,\n\t url: url,\n\t data: data\n\t }));\n\t };\n\t });\n\t }\n\t\n\t\n\t /**\n\t * Makes the request.\n\t *\n\t * !!! ACCESSES CLOSURE VARS:\n\t * $httpBackend, defaults, $log, $rootScope, defaultCache, $http.pendingRequests\n\t */\n\t function sendReq(config, reqData) {\n\t var deferred = $q.defer(),\n\t promise = deferred.promise,\n\t cache,\n\t cachedResp,\n\t reqHeaders = config.headers,\n\t url = buildUrl(config.url, config.params);\n\t\n\t $http.pendingRequests.push(config);\n\t promise.then(removePendingReq, removePendingReq);\n\t\n\t\n\t if ((config.cache || defaults.cache) && config.cache !== false &&\n\t (config.method === 'GET' || config.method === 'JSONP')) {\n\t cache = isObject(config.cache) ? config.cache\n\t : isObject(defaults.cache) ? defaults.cache\n\t : defaultCache;\n\t }\n\t\n\t if (cache) {\n\t cachedResp = cache.get(url);\n\t if (isDefined(cachedResp)) {\n\t if (isPromiseLike(cachedResp)) {\n\t // cached request has already been sent, but there is no response yet\n\t cachedResp.then(resolvePromiseWithResult, resolvePromiseWithResult);\n\t } else {\n\t // serving from cache\n\t if (isArray(cachedResp)) {\n\t resolvePromise(cachedResp[1], cachedResp[0], shallowCopy(cachedResp[2]), cachedResp[3]);\n\t } else {\n\t resolvePromise(cachedResp, 200, {}, 'OK');\n\t }\n\t }\n\t } else {\n\t // put the promise for the non-transformed response into cache as a placeholder\n\t cache.put(url, promise);\n\t }\n\t }\n\t\n\t\n\t // if we won't have the response in cache, set the xsrf headers and\n\t // send the request to the backend\n\t if (isUndefined(cachedResp)) {\n\t var xsrfValue = urlIsSameOrigin(config.url)\n\t ? $browser.cookies()[config.xsrfCookieName || defaults.xsrfCookieName]\n\t : undefined;\n\t if (xsrfValue) {\n\t reqHeaders[(config.xsrfHeaderName || defaults.xsrfHeaderName)] = xsrfValue;\n\t }\n\t\n\t $httpBackend(config.method, url, reqData, done, reqHeaders, config.timeout,\n\t config.withCredentials, config.responseType);\n\t }\n\t\n\t return promise;\n\t\n\t\n\t /**\n\t * Callback registered to $httpBackend():\n\t * - caches the response if desired\n\t * - resolves the raw $http promise\n\t * - calls $apply\n\t */\n\t function done(status, response, headersString, statusText) {\n\t if (cache) {\n\t if (isSuccess(status)) {\n\t cache.put(url, [status, response, parseHeaders(headersString), statusText]);\n\t } else {\n\t // remove promise from the cache\n\t cache.remove(url);\n\t }\n\t }\n\t\n\t function resolveHttpPromise() {\n\t resolvePromise(response, status, headersString, statusText);\n\t }\n\t\n\t if (useApplyAsync) {\n\t $rootScope.$applyAsync(resolveHttpPromise);\n\t } else {\n\t resolveHttpPromise();\n\t if (!$rootScope.$$phase) $rootScope.$apply();\n\t }\n\t }\n\t\n\t\n\t /**\n\t * Resolves the raw $http promise.\n\t */\n\t function resolvePromise(response, status, headers, statusText) {\n\t // normalize internal statuses to 0\n\t status = Math.max(status, 0);\n\t\n\t (isSuccess(status) ? deferred.resolve : deferred.reject)({\n\t data: response,\n\t status: status,\n\t headers: headersGetter(headers),\n\t config: config,\n\t statusText: statusText\n\t });\n\t }\n\t\n\t function resolvePromiseWithResult(result) {\n\t resolvePromise(result.data, result.status, shallowCopy(result.headers()), result.statusText);\n\t }\n\t\n\t function removePendingReq() {\n\t var idx = $http.pendingRequests.indexOf(config);\n\t if (idx !== -1) $http.pendingRequests.splice(idx, 1);\n\t }\n\t }\n\t\n\t\n\t function buildUrl(url, params) {\n\t if (!params) return url;\n\t var parts = [];\n\t forEachSorted(params, function(value, key) {\n\t if (value === null || isUndefined(value)) return;\n\t if (!isArray(value)) value = [value];\n\t\n\t forEach(value, function(v) {\n\t if (isObject(v)) {\n\t if (isDate(v)) {\n\t v = v.toISOString();\n\t } else {\n\t v = toJson(v);\n\t }\n\t }\n\t parts.push(encodeUriQuery(key) + '=' +\n\t encodeUriQuery(v));\n\t });\n\t });\n\t if (parts.length > 0) {\n\t url += ((url.indexOf('?') == -1) ? '?' : '&') + parts.join('&');\n\t }\n\t return url;\n\t }\n\t }];\n\t}\n\t\n\tfunction createXhr() {\n\t return new window.XMLHttpRequest();\n\t}\n\t\n\t/**\n\t * @ngdoc service\n\t * @name $httpBackend\n\t * @requires $window\n\t * @requires $document\n\t *\n\t * @description\n\t * HTTP backend used by the {@link ng.$http service} that delegates to\n\t * XMLHttpRequest object or JSONP and deals with browser incompatibilities.\n\t *\n\t * You should never need to use this service directly, instead use the higher-level abstractions:\n\t * {@link ng.$http $http} or {@link ngResource.$resource $resource}.\n\t *\n\t * During testing this implementation is swapped with {@link ngMock.$httpBackend mock\n\t * $httpBackend} which can be trained with responses.\n\t */\n\tfunction $HttpBackendProvider() {\n\t this.$get = ['$browser', '$window', '$document', function($browser, $window, $document) {\n\t return createHttpBackend($browser, createXhr, $browser.defer, $window.angular.callbacks, $document[0]);\n\t }];\n\t}\n\t\n\tfunction createHttpBackend($browser, createXhr, $browserDefer, callbacks, rawDocument) {\n\t // TODO(vojta): fix the signature\n\t return function(method, url, post, callback, headers, timeout, withCredentials, responseType) {\n\t $browser.$$incOutstandingRequestCount();\n\t url = url || $browser.url();\n\t\n\t if (lowercase(method) == 'jsonp') {\n\t var callbackId = '_' + (callbacks.counter++).toString(36);\n\t callbacks[callbackId] = function(data) {\n\t callbacks[callbackId].data = data;\n\t callbacks[callbackId].called = true;\n\t };\n\t\n\t var jsonpDone = jsonpReq(url.replace('JSON_CALLBACK', 'angular.callbacks.' + callbackId),\n\t callbackId, function(status, text) {\n\t completeRequest(callback, status, callbacks[callbackId].data, \"\", text);\n\t callbacks[callbackId] = noop;\n\t });\n\t } else {\n\t\n\t var xhr = createXhr();\n\t\n\t xhr.open(method, url, true);\n\t forEach(headers, function(value, key) {\n\t if (isDefined(value)) {\n\t xhr.setRequestHeader(key, value);\n\t }\n\t });\n\t\n\t xhr.onload = function requestLoaded() {\n\t var statusText = xhr.statusText || '';\n\t\n\t // responseText is the old-school way of retrieving response (supported by IE8 & 9)\n\t // response/responseType properties were introduced in XHR Level2 spec (supported by IE10)\n\t var response = ('response' in xhr) ? xhr.response : xhr.responseText;\n\t\n\t // normalize IE9 bug (http://bugs.jquery.com/ticket/1450)\n\t var status = xhr.status === 1223 ? 204 : xhr.status;\n\t\n\t // fix status code when it is 0 (0 status is undocumented).\n\t // Occurs when accessing file resources or on Android 4.1 stock browser\n\t // while retrieving files from application cache.\n\t if (status === 0) {\n\t status = response ? 200 : urlResolve(url).protocol == 'file' ? 404 : 0;\n\t }\n\t\n\t completeRequest(callback,\n\t status,\n\t response,\n\t xhr.getAllResponseHeaders(),\n\t statusText);\n\t };\n\t\n\t var requestError = function() {\n\t // The response is always empty\n\t // See https://xhr.spec.whatwg.org/#request-error-steps and https://fetch.spec.whatwg.org/#concept-network-error\n\t completeRequest(callback, -1, null, null, '');\n\t };\n\t\n\t xhr.onerror = requestError;\n\t xhr.onabort = requestError;\n\t\n\t if (withCredentials) {\n\t xhr.withCredentials = true;\n\t }\n\t\n\t if (responseType) {\n\t try {\n\t xhr.responseType = responseType;\n\t } catch (e) {\n\t // WebKit added support for the json responseType value on 09/03/2013\n\t // https://bugs.webkit.org/show_bug.cgi?id=73648. Versions of Safari prior to 7 are\n\t // known to throw when setting the value \"json\" as the response type. Other older\n\t // browsers implementing the responseType\n\t //\n\t // The json response type can be ignored if not supported, because JSON payloads are\n\t // parsed on the client-side regardless.\n\t if (responseType !== 'json') {\n\t throw e;\n\t }\n\t }\n\t }\n\t\n\t xhr.send(post || null);\n\t }\n\t\n\t if (timeout > 0) {\n\t var timeoutId = $browserDefer(timeoutRequest, timeout);\n\t } else if (isPromiseLike(timeout)) {\n\t timeout.then(timeoutRequest);\n\t }\n\t\n\t\n\t function timeoutRequest() {\n\t jsonpDone && jsonpDone();\n\t xhr && xhr.abort();\n\t }\n\t\n\t function completeRequest(callback, status, response, headersString, statusText) {\n\t // cancel timeout and subsequent timeout promise resolution\n\t if (timeoutId !== undefined) {\n\t $browserDefer.cancel(timeoutId);\n\t }\n\t jsonpDone = xhr = null;\n\t\n\t callback(status, response, headersString, statusText);\n\t $browser.$$completeOutstandingRequest(noop);\n\t }\n\t };\n\t\n\t function jsonpReq(url, callbackId, done) {\n\t // we can't use jQuery/jqLite here because jQuery does crazy stuff with script elements, e.g.:\n\t // - fetches local scripts via XHR and evals them\n\t // - adds and immediately removes script elements from the document\n\t var script = rawDocument.createElement('script'), callback = null;\n\t script.type = \"text/javascript\";\n\t script.src = url;\n\t script.async = true;\n\t\n\t callback = function(event) {\n\t removeEventListenerFn(script, \"load\", callback);\n\t removeEventListenerFn(script, \"error\", callback);\n\t rawDocument.body.removeChild(script);\n\t script = null;\n\t var status = -1;\n\t var text = \"unknown\";\n\t\n\t if (event) {\n\t if (event.type === \"load\" && !callbacks[callbackId].called) {\n\t event = { type: \"error\" };\n\t }\n\t text = event.type;\n\t status = event.type === \"error\" ? 404 : 200;\n\t }\n\t\n\t if (done) {\n\t done(status, text);\n\t }\n\t };\n\t\n\t addEventListenerFn(script, \"load\", callback);\n\t addEventListenerFn(script, \"error\", callback);\n\t rawDocument.body.appendChild(script);\n\t return callback;\n\t }\n\t}\n\t\n\tvar $interpolateMinErr = minErr('$interpolate');\n\t\n\t/**\n\t * @ngdoc provider\n\t * @name $interpolateProvider\n\t *\n\t * @description\n\t *\n\t * Used for configuring the interpolation markup. Defaults to `{{` and `}}`.\n\t *\n\t * @example\n\t\n\t\n\t\n\t
\n\t //demo.label//\n\t
\n\t
\n\t\n\t it('should interpolate binding with custom symbols', function() {\n\t expect(element(by.binding('demo.label')).getText()).toBe('This binding is brought you by // interpolation symbols.');\n\t });\n\t\n\t
\n\t */\n\tfunction $InterpolateProvider() {\n\t var startSymbol = '{{';\n\t var endSymbol = '}}';\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $interpolateProvider#startSymbol\n\t * @description\n\t * Symbol to denote start of expression in the interpolated string. Defaults to `{{`.\n\t *\n\t * @param {string=} value new value to set the starting symbol to.\n\t * @returns {string|self} Returns the symbol when used as getter and self if used as setter.\n\t */\n\t this.startSymbol = function(value) {\n\t if (value) {\n\t startSymbol = value;\n\t return this;\n\t } else {\n\t return startSymbol;\n\t }\n\t };\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $interpolateProvider#endSymbol\n\t * @description\n\t * Symbol to denote the end of expression in the interpolated string. Defaults to `}}`.\n\t *\n\t * @param {string=} value new value to set the ending symbol to.\n\t * @returns {string|self} Returns the symbol when used as getter and self if used as setter.\n\t */\n\t this.endSymbol = function(value) {\n\t if (value) {\n\t endSymbol = value;\n\t return this;\n\t } else {\n\t return endSymbol;\n\t }\n\t };\n\t\n\t\n\t this.$get = ['$parse', '$exceptionHandler', '$sce', function($parse, $exceptionHandler, $sce) {\n\t var startSymbolLength = startSymbol.length,\n\t endSymbolLength = endSymbol.length,\n\t escapedStartRegexp = new RegExp(startSymbol.replace(/./g, escape), 'g'),\n\t escapedEndRegexp = new RegExp(endSymbol.replace(/./g, escape), 'g');\n\t\n\t function escape(ch) {\n\t return '\\\\\\\\\\\\' + ch;\n\t }\n\t\n\t /**\n\t * @ngdoc service\n\t * @name $interpolate\n\t * @kind function\n\t *\n\t * @requires $parse\n\t * @requires $sce\n\t *\n\t * @description\n\t *\n\t * Compiles a string with markup into an interpolation function. This service is used by the\n\t * HTML {@link ng.$compile $compile} service for data binding. See\n\t * {@link ng.$interpolateProvider $interpolateProvider} for configuring the\n\t * interpolation markup.\n\t *\n\t *\n\t * ```js\n\t * var $interpolate = ...; // injected\n\t * var exp = $interpolate('Hello {{name | uppercase}}!');\n\t * expect(exp({name:'Angular'}).toEqual('Hello ANGULAR!');\n\t * ```\n\t *\n\t * `$interpolate` takes an optional fourth argument, `allOrNothing`. If `allOrNothing` is\n\t * `true`, the interpolation function will return `undefined` unless all embedded expressions\n\t * evaluate to a value other than `undefined`.\n\t *\n\t * ```js\n\t * var $interpolate = ...; // injected\n\t * var context = {greeting: 'Hello', name: undefined };\n\t *\n\t * // default \"forgiving\" mode\n\t * var exp = $interpolate('{{greeting}} {{name}}!');\n\t * expect(exp(context)).toEqual('Hello !');\n\t *\n\t * // \"allOrNothing\" mode\n\t * exp = $interpolate('{{greeting}} {{name}}!', false, null, true);\n\t * expect(exp(context)).toBeUndefined();\n\t * context.name = 'Angular';\n\t * expect(exp(context)).toEqual('Hello Angular!');\n\t * ```\n\t *\n\t * `allOrNothing` is useful for interpolating URLs. `ngSrc` and `ngSrcset` use this behavior.\n\t *\n\t * ####Escaped Interpolation\n\t * $interpolate provides a mechanism for escaping interpolation markers. Start and end markers\n\t * can be escaped by preceding each of their characters with a REVERSE SOLIDUS U+005C (backslash).\n\t * It will be rendered as a regular start/end marker, and will not be interpreted as an expression\n\t * or binding.\n\t *\n\t * This enables web-servers to prevent script injection attacks and defacing attacks, to some\n\t * degree, while also enabling code examples to work without relying on the\n\t * {@link ng.directive:ngNonBindable ngNonBindable} directive.\n\t *\n\t * **For security purposes, it is strongly encouraged that web servers escape user-supplied data,\n\t * replacing angle brackets (<, >) with &lt; and &gt; respectively, and replacing all\n\t * interpolation start/end markers with their escaped counterparts.**\n\t *\n\t * Escaped interpolation markers are only replaced with the actual interpolation markers in rendered\n\t * output when the $interpolate service processes the text. So, for HTML elements interpolated\n\t * by {@link ng.$compile $compile}, or otherwise interpolated with the `mustHaveExpression` parameter\n\t * set to `true`, the interpolated text must contain an unescaped interpolation expression. As such,\n\t * this is typically useful only when user-data is used in rendering a template from the server, or\n\t * when otherwise untrusted data is used by a directive.\n\t *\n\t * \n\t * \n\t *
\n\t *

{{apptitle}}: \\{\\{ username = \"defaced value\"; \\}\\}\n\t *

\n\t *

{{username}} attempts to inject code which will deface the\n\t * application, but fails to accomplish their task, because the server has correctly\n\t * escaped the interpolation start/end markers with REVERSE SOLIDUS U+005C (backslash)\n\t * characters.

\n\t *

Instead, the result of the attempted script injection is visible, and can be removed\n\t * from the database by an administrator.

\n\t *
\n\t *
\n\t *
\n\t *\n\t * @param {string} text The text with markup to interpolate.\n\t * @param {boolean=} mustHaveExpression if set to true then the interpolation string must have\n\t * embedded expression in order to return an interpolation function. Strings with no\n\t * embedded expression will return null for the interpolation function.\n\t * @param {string=} trustedContext when provided, the returned function passes the interpolated\n\t * result through {@link ng.$sce#getTrusted $sce.getTrusted(interpolatedResult,\n\t * trustedContext)} before returning it. Refer to the {@link ng.$sce $sce} service that\n\t * provides Strict Contextual Escaping for details.\n\t * @param {boolean=} allOrNothing if `true`, then the returned function returns undefined\n\t * unless all embedded expressions evaluate to a value other than `undefined`.\n\t * @returns {function(context)} an interpolation function which is used to compute the\n\t * interpolated string. The function has these parameters:\n\t *\n\t * - `context`: evaluation context for all expressions embedded in the interpolated text\n\t */\n\t function $interpolate(text, mustHaveExpression, trustedContext, allOrNothing) {\n\t allOrNothing = !!allOrNothing;\n\t var startIndex,\n\t endIndex,\n\t index = 0,\n\t expressions = [],\n\t parseFns = [],\n\t textLength = text.length,\n\t exp,\n\t concat = [],\n\t expressionPositions = [];\n\t\n\t while (index < textLength) {\n\t if (((startIndex = text.indexOf(startSymbol, index)) != -1) &&\n\t ((endIndex = text.indexOf(endSymbol, startIndex + startSymbolLength)) != -1)) {\n\t if (index !== startIndex) {\n\t concat.push(unescapeText(text.substring(index, startIndex)));\n\t }\n\t exp = text.substring(startIndex + startSymbolLength, endIndex);\n\t expressions.push(exp);\n\t parseFns.push($parse(exp, parseStringifyInterceptor));\n\t index = endIndex + endSymbolLength;\n\t expressionPositions.push(concat.length);\n\t concat.push('');\n\t } else {\n\t // we did not find an interpolation, so we have to add the remainder to the separators array\n\t if (index !== textLength) {\n\t concat.push(unescapeText(text.substring(index)));\n\t }\n\t break;\n\t }\n\t }\n\t\n\t // Concatenating expressions makes it hard to reason about whether some combination of\n\t // concatenated values are unsafe to use and could easily lead to XSS. By requiring that a\n\t // single expression be used for iframe[src], object[src], etc., we ensure that the value\n\t // that's used is assigned or constructed by some JS code somewhere that is more testable or\n\t // make it obvious that you bound the value to some user controlled value. This helps reduce\n\t // the load when auditing for XSS issues.\n\t if (trustedContext && concat.length > 1) {\n\t throw $interpolateMinErr('noconcat',\n\t \"Error while interpolating: {0}\\nStrict Contextual Escaping disallows \" +\n\t \"interpolations that concatenate multiple expressions when a trusted value is \" +\n\t \"required. See http://docs.angularjs.org/api/ng.$sce\", text);\n\t }\n\t\n\t if (!mustHaveExpression || expressions.length) {\n\t var compute = function(values) {\n\t for (var i = 0, ii = expressions.length; i < ii; i++) {\n\t if (allOrNothing && isUndefined(values[i])) return;\n\t concat[expressionPositions[i]] = values[i];\n\t }\n\t return concat.join('');\n\t };\n\t\n\t var getValue = function(value) {\n\t return trustedContext ?\n\t $sce.getTrusted(trustedContext, value) :\n\t $sce.valueOf(value);\n\t };\n\t\n\t var stringify = function(value) {\n\t if (value == null) { // null || undefined\n\t return '';\n\t }\n\t switch (typeof value) {\n\t case 'string':\n\t break;\n\t case 'number':\n\t value = '' + value;\n\t break;\n\t default:\n\t value = toJson(value);\n\t }\n\t\n\t return value;\n\t };\n\t\n\t return extend(function interpolationFn(context) {\n\t var i = 0;\n\t var ii = expressions.length;\n\t var values = new Array(ii);\n\t\n\t try {\n\t for (; i < ii; i++) {\n\t values[i] = parseFns[i](context);\n\t }\n\t\n\t return compute(values);\n\t } catch (err) {\n\t var newErr = $interpolateMinErr('interr', \"Can't interpolate: {0}\\n{1}\", text,\n\t err.toString());\n\t $exceptionHandler(newErr);\n\t }\n\t\n\t }, {\n\t // all of these properties are undocumented for now\n\t exp: text, //just for compatibility with regular watchers created via $watch\n\t expressions: expressions,\n\t $$watchDelegate: function(scope, listener, objectEquality) {\n\t var lastValue;\n\t return scope.$watchGroup(parseFns, function interpolateFnWatcher(values, oldValues) {\n\t var currValue = compute(values);\n\t if (isFunction(listener)) {\n\t listener.call(this, currValue, values !== oldValues ? lastValue : currValue, scope);\n\t }\n\t lastValue = currValue;\n\t }, objectEquality);\n\t }\n\t });\n\t }\n\t\n\t function unescapeText(text) {\n\t return text.replace(escapedStartRegexp, startSymbol).\n\t replace(escapedEndRegexp, endSymbol);\n\t }\n\t\n\t function parseStringifyInterceptor(value) {\n\t try {\n\t value = getValue(value);\n\t return allOrNothing && !isDefined(value) ? value : stringify(value);\n\t } catch (err) {\n\t var newErr = $interpolateMinErr('interr', \"Can't interpolate: {0}\\n{1}\", text,\n\t err.toString());\n\t $exceptionHandler(newErr);\n\t }\n\t }\n\t }\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $interpolate#startSymbol\n\t * @description\n\t * Symbol to denote the start of expression in the interpolated string. Defaults to `{{`.\n\t *\n\t * Use {@link ng.$interpolateProvider#startSymbol `$interpolateProvider.startSymbol`} to change\n\t * the symbol.\n\t *\n\t * @returns {string} start symbol.\n\t */\n\t $interpolate.startSymbol = function() {\n\t return startSymbol;\n\t };\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $interpolate#endSymbol\n\t * @description\n\t * Symbol to denote the end of expression in the interpolated string. Defaults to `}}`.\n\t *\n\t * Use {@link ng.$interpolateProvider#endSymbol `$interpolateProvider.endSymbol`} to change\n\t * the symbol.\n\t *\n\t * @returns {string} end symbol.\n\t */\n\t $interpolate.endSymbol = function() {\n\t return endSymbol;\n\t };\n\t\n\t return $interpolate;\n\t }];\n\t}\n\t\n\tfunction $IntervalProvider() {\n\t this.$get = ['$rootScope', '$window', '$q', '$$q',\n\t function($rootScope, $window, $q, $$q) {\n\t var intervals = {};\n\t\n\t\n\t /**\n\t * @ngdoc service\n\t * @name $interval\n\t *\n\t * @description\n\t * Angular's wrapper for `window.setInterval`. The `fn` function is executed every `delay`\n\t * milliseconds.\n\t *\n\t * The return value of registering an interval function is a promise. This promise will be\n\t * notified upon each tick of the interval, and will be resolved after `count` iterations, or\n\t * run indefinitely if `count` is not defined. The value of the notification will be the\n\t * number of iterations that have run.\n\t * To cancel an interval, call `$interval.cancel(promise)`.\n\t *\n\t * In tests you can use {@link ngMock.$interval#flush `$interval.flush(millis)`} to\n\t * move forward by `millis` milliseconds and trigger any functions scheduled to run in that\n\t * time.\n\t *\n\t *
\n\t * **Note**: Intervals created by this service must be explicitly destroyed when you are finished\n\t * with them. In particular they are not automatically destroyed when a controller's scope or a\n\t * directive's element are destroyed.\n\t * You should take this into consideration and make sure to always cancel the interval at the\n\t * appropriate moment. See the example below for more details on how and when to do this.\n\t *
\n\t *\n\t * @param {function()} fn A function that should be called repeatedly.\n\t * @param {number} delay Number of milliseconds between each function call.\n\t * @param {number=} [count=0] Number of times to repeat. If not set, or 0, will repeat\n\t * indefinitely.\n\t * @param {boolean=} [invokeApply=true] If set to `false` skips model dirty checking, otherwise\n\t * will invoke `fn` within the {@link ng.$rootScope.Scope#$apply $apply} block.\n\t * @returns {promise} A promise which will be notified on each iteration.\n\t *\n\t * @example\n\t * \n\t * \n\t * \n\t *\n\t *
\n\t *
\n\t * Date format:
\n\t * Current time is: \n\t *
\n\t * Blood 1 : {{blood_1}}\n\t * Blood 2 : {{blood_2}}\n\t * \n\t * \n\t * \n\t *
\n\t *
\n\t *\n\t *
\n\t *
\n\t */\n\t function interval(fn, delay, count, invokeApply) {\n\t var setInterval = $window.setInterval,\n\t clearInterval = $window.clearInterval,\n\t iteration = 0,\n\t skipApply = (isDefined(invokeApply) && !invokeApply),\n\t deferred = (skipApply ? $$q : $q).defer(),\n\t promise = deferred.promise;\n\t\n\t count = isDefined(count) ? count : 0;\n\t\n\t promise.then(null, null, fn);\n\t\n\t promise.$$intervalId = setInterval(function tick() {\n\t deferred.notify(iteration++);\n\t\n\t if (count > 0 && iteration >= count) {\n\t deferred.resolve(iteration);\n\t clearInterval(promise.$$intervalId);\n\t delete intervals[promise.$$intervalId];\n\t }\n\t\n\t if (!skipApply) $rootScope.$apply();\n\t\n\t }, delay);\n\t\n\t intervals[promise.$$intervalId] = deferred;\n\t\n\t return promise;\n\t }\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $interval#cancel\n\t *\n\t * @description\n\t * Cancels a task associated with the `promise`.\n\t *\n\t * @param {promise} promise returned by the `$interval` function.\n\t * @returns {boolean} Returns `true` if the task was successfully canceled.\n\t */\n\t interval.cancel = function(promise) {\n\t if (promise && promise.$$intervalId in intervals) {\n\t intervals[promise.$$intervalId].reject('canceled');\n\t $window.clearInterval(promise.$$intervalId);\n\t delete intervals[promise.$$intervalId];\n\t return true;\n\t }\n\t return false;\n\t };\n\t\n\t return interval;\n\t }];\n\t}\n\t\n\t/**\n\t * @ngdoc service\n\t * @name $locale\n\t *\n\t * @description\n\t * $locale service provides localization rules for various Angular components. As of right now the\n\t * only public api is:\n\t *\n\t * * `id` – `{string}` – locale id formatted as `languageId-countryId` (e.g. `en-us`)\n\t */\n\tfunction $LocaleProvider() {\n\t this.$get = function() {\n\t return {\n\t id: 'en-us',\n\t\n\t NUMBER_FORMATS: {\n\t DECIMAL_SEP: '.',\n\t GROUP_SEP: ',',\n\t PATTERNS: [\n\t { // Decimal Pattern\n\t minInt: 1,\n\t minFrac: 0,\n\t maxFrac: 3,\n\t posPre: '',\n\t posSuf: '',\n\t negPre: '-',\n\t negSuf: '',\n\t gSize: 3,\n\t lgSize: 3\n\t },{ //Currency Pattern\n\t minInt: 1,\n\t minFrac: 2,\n\t maxFrac: 2,\n\t posPre: '\\u00A4',\n\t posSuf: '',\n\t negPre: '(\\u00A4',\n\t negSuf: ')',\n\t gSize: 3,\n\t lgSize: 3\n\t }\n\t ],\n\t CURRENCY_SYM: '$'\n\t },\n\t\n\t DATETIME_FORMATS: {\n\t MONTH:\n\t 'January,February,March,April,May,June,July,August,September,October,November,December'\n\t .split(','),\n\t SHORTMONTH: 'Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec'.split(','),\n\t DAY: 'Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday'.split(','),\n\t SHORTDAY: 'Sun,Mon,Tue,Wed,Thu,Fri,Sat'.split(','),\n\t AMPMS: ['AM','PM'],\n\t medium: 'MMM d, y h:mm:ss a',\n\t 'short': 'M/d/yy h:mm a',\n\t fullDate: 'EEEE, MMMM d, y',\n\t longDate: 'MMMM d, y',\n\t mediumDate: 'MMM d, y',\n\t shortDate: 'M/d/yy',\n\t mediumTime: 'h:mm:ss a',\n\t shortTime: 'h:mm a',\n\t ERANAMES: [\n\t \"Before Christ\",\n\t \"Anno Domini\"\n\t ],\n\t ERAS: [\n\t \"BC\",\n\t \"AD\"\n\t ]\n\t },\n\t\n\t pluralCat: function(num) {\n\t if (num === 1) {\n\t return 'one';\n\t }\n\t return 'other';\n\t }\n\t };\n\t };\n\t}\n\t\n\tvar PATH_MATCH = /^([^\\?#]*)(\\?([^#]*))?(#(.*))?$/,\n\t DEFAULT_PORTS = {'http': 80, 'https': 443, 'ftp': 21};\n\tvar $locationMinErr = minErr('$location');\n\t\n\t\n\t/**\n\t * Encode path using encodeUriSegment, ignoring forward slashes\n\t *\n\t * @param {string} path Path to encode\n\t * @returns {string}\n\t */\n\tfunction encodePath(path) {\n\t var segments = path.split('/'),\n\t i = segments.length;\n\t\n\t while (i--) {\n\t segments[i] = encodeUriSegment(segments[i]);\n\t }\n\t\n\t return segments.join('/');\n\t}\n\t\n\tfunction parseAbsoluteUrl(absoluteUrl, locationObj) {\n\t var parsedUrl = urlResolve(absoluteUrl);\n\t\n\t locationObj.$$protocol = parsedUrl.protocol;\n\t locationObj.$$host = parsedUrl.hostname;\n\t locationObj.$$port = int(parsedUrl.port) || DEFAULT_PORTS[parsedUrl.protocol] || null;\n\t}\n\t\n\t\n\tfunction parseAppUrl(relativeUrl, locationObj) {\n\t var prefixed = (relativeUrl.charAt(0) !== '/');\n\t if (prefixed) {\n\t relativeUrl = '/' + relativeUrl;\n\t }\n\t var match = urlResolve(relativeUrl);\n\t locationObj.$$path = decodeURIComponent(prefixed && match.pathname.charAt(0) === '/' ?\n\t match.pathname.substring(1) : match.pathname);\n\t locationObj.$$search = parseKeyValue(match.search);\n\t locationObj.$$hash = decodeURIComponent(match.hash);\n\t\n\t // make sure path starts with '/';\n\t if (locationObj.$$path && locationObj.$$path.charAt(0) != '/') {\n\t locationObj.$$path = '/' + locationObj.$$path;\n\t }\n\t}\n\t\n\t\n\t/**\n\t *\n\t * @param {string} begin\n\t * @param {string} whole\n\t * @returns {string} returns text from whole after begin or undefined if it does not begin with\n\t * expected string.\n\t */\n\tfunction beginsWith(begin, whole) {\n\t if (whole.indexOf(begin) === 0) {\n\t return whole.substr(begin.length);\n\t }\n\t}\n\t\n\t\n\tfunction stripHash(url) {\n\t var index = url.indexOf('#');\n\t return index == -1 ? url : url.substr(0, index);\n\t}\n\t\n\tfunction trimEmptyHash(url) {\n\t return url.replace(/(#.+)|#$/, '$1');\n\t}\n\t\n\t\n\tfunction stripFile(url) {\n\t return url.substr(0, stripHash(url).lastIndexOf('/') + 1);\n\t}\n\t\n\t/* return the server only (scheme://host:port) */\n\tfunction serverBase(url) {\n\t return url.substring(0, url.indexOf('/', url.indexOf('//') + 2));\n\t}\n\t\n\t\n\t/**\n\t * LocationHtml5Url represents an url\n\t * This object is exposed as $location service when HTML5 mode is enabled and supported\n\t *\n\t * @constructor\n\t * @param {string} appBase application base URL\n\t * @param {string} basePrefix url path prefix\n\t */\n\tfunction LocationHtml5Url(appBase, basePrefix) {\n\t this.$$html5 = true;\n\t basePrefix = basePrefix || '';\n\t var appBaseNoFile = stripFile(appBase);\n\t parseAbsoluteUrl(appBase, this);\n\t\n\t\n\t /**\n\t * Parse given html5 (regular) url string into properties\n\t * @param {string} url HTML5 url\n\t * @private\n\t */\n\t this.$$parse = function(url) {\n\t var pathUrl = beginsWith(appBaseNoFile, url);\n\t if (!isString(pathUrl)) {\n\t throw $locationMinErr('ipthprfx', 'Invalid url \"{0}\", missing path prefix \"{1}\".', url,\n\t appBaseNoFile);\n\t }\n\t\n\t parseAppUrl(pathUrl, this);\n\t\n\t if (!this.$$path) {\n\t this.$$path = '/';\n\t }\n\t\n\t this.$$compose();\n\t };\n\t\n\t /**\n\t * Compose url and update `absUrl` property\n\t * @private\n\t */\n\t this.$$compose = function() {\n\t var search = toKeyValue(this.$$search),\n\t hash = this.$$hash ? '#' + encodeUriSegment(this.$$hash) : '';\n\t\n\t this.$$url = encodePath(this.$$path) + (search ? '?' + search : '') + hash;\n\t this.$$absUrl = appBaseNoFile + this.$$url.substr(1); // first char is always '/'\n\t };\n\t\n\t this.$$parseLinkUrl = function(url, relHref) {\n\t if (relHref && relHref[0] === '#') {\n\t // special case for links to hash fragments:\n\t // keep the old url and only replace the hash fragment\n\t this.hash(relHref.slice(1));\n\t return true;\n\t }\n\t var appUrl, prevAppUrl;\n\t var rewrittenUrl;\n\t\n\t if ((appUrl = beginsWith(appBase, url)) !== undefined) {\n\t prevAppUrl = appUrl;\n\t if ((appUrl = beginsWith(basePrefix, appUrl)) !== undefined) {\n\t rewrittenUrl = appBaseNoFile + (beginsWith('/', appUrl) || appUrl);\n\t } else {\n\t rewrittenUrl = appBase + prevAppUrl;\n\t }\n\t } else if ((appUrl = beginsWith(appBaseNoFile, url)) !== undefined) {\n\t rewrittenUrl = appBaseNoFile + appUrl;\n\t } else if (appBaseNoFile == url + '/') {\n\t rewrittenUrl = appBaseNoFile;\n\t }\n\t if (rewrittenUrl) {\n\t this.$$parse(rewrittenUrl);\n\t }\n\t return !!rewrittenUrl;\n\t };\n\t}\n\t\n\t\n\t/**\n\t * LocationHashbangUrl represents url\n\t * This object is exposed as $location service when developer doesn't opt into html5 mode.\n\t * It also serves as the base class for html5 mode fallback on legacy browsers.\n\t *\n\t * @constructor\n\t * @param {string} appBase application base URL\n\t * @param {string} hashPrefix hashbang prefix\n\t */\n\tfunction LocationHashbangUrl(appBase, hashPrefix) {\n\t var appBaseNoFile = stripFile(appBase);\n\t\n\t parseAbsoluteUrl(appBase, this);\n\t\n\t\n\t /**\n\t * Parse given hashbang url into properties\n\t * @param {string} url Hashbang url\n\t * @private\n\t */\n\t this.$$parse = function(url) {\n\t var withoutBaseUrl = beginsWith(appBase, url) || beginsWith(appBaseNoFile, url);\n\t var withoutHashUrl;\n\t\n\t if (!isUndefined(withoutBaseUrl) && withoutBaseUrl.charAt(0) === '#') {\n\t\n\t // The rest of the url starts with a hash so we have\n\t // got either a hashbang path or a plain hash fragment\n\t withoutHashUrl = beginsWith(hashPrefix, withoutBaseUrl);\n\t if (isUndefined(withoutHashUrl)) {\n\t // There was no hashbang prefix so we just have a hash fragment\n\t withoutHashUrl = withoutBaseUrl;\n\t }\n\t\n\t } else {\n\t // There was no hashbang path nor hash fragment:\n\t // If we are in HTML5 mode we use what is left as the path;\n\t // Otherwise we ignore what is left\n\t if (this.$$html5) {\n\t withoutHashUrl = withoutBaseUrl;\n\t } else {\n\t withoutHashUrl = '';\n\t if (isUndefined(withoutBaseUrl)) {\n\t appBase = url;\n\t this.replace();\n\t }\n\t }\n\t }\n\t\n\t parseAppUrl(withoutHashUrl, this);\n\t\n\t this.$$path = removeWindowsDriveName(this.$$path, withoutHashUrl, appBase);\n\t\n\t this.$$compose();\n\t\n\t /*\n\t * In Windows, on an anchor node on documents loaded from\n\t * the filesystem, the browser will return a pathname\n\t * prefixed with the drive name ('/C:/path') when a\n\t * pathname without a drive is set:\n\t * * a.setAttribute('href', '/foo')\n\t * * a.pathname === '/C:/foo' //true\n\t *\n\t * Inside of Angular, we're always using pathnames that\n\t * do not include drive names for routing.\n\t */\n\t function removeWindowsDriveName(path, url, base) {\n\t /*\n\t Matches paths for file protocol on windows,\n\t such as /C:/foo/bar, and captures only /foo/bar.\n\t */\n\t var windowsFilePathExp = /^\\/[A-Z]:(\\/.*)/;\n\t\n\t var firstPathSegmentMatch;\n\t\n\t //Get the relative path from the input URL.\n\t if (url.indexOf(base) === 0) {\n\t url = url.replace(base, '');\n\t }\n\t\n\t // The input URL intentionally contains a first path segment that ends with a colon.\n\t if (windowsFilePathExp.exec(url)) {\n\t return path;\n\t }\n\t\n\t firstPathSegmentMatch = windowsFilePathExp.exec(path);\n\t return firstPathSegmentMatch ? firstPathSegmentMatch[1] : path;\n\t }\n\t };\n\t\n\t /**\n\t * Compose hashbang url and update `absUrl` property\n\t * @private\n\t */\n\t this.$$compose = function() {\n\t var search = toKeyValue(this.$$search),\n\t hash = this.$$hash ? '#' + encodeUriSegment(this.$$hash) : '';\n\t\n\t this.$$url = encodePath(this.$$path) + (search ? '?' + search : '') + hash;\n\t this.$$absUrl = appBase + (this.$$url ? hashPrefix + this.$$url : '');\n\t };\n\t\n\t this.$$parseLinkUrl = function(url, relHref) {\n\t if (stripHash(appBase) == stripHash(url)) {\n\t this.$$parse(url);\n\t return true;\n\t }\n\t return false;\n\t };\n\t}\n\t\n\t\n\t/**\n\t * LocationHashbangUrl represents url\n\t * This object is exposed as $location service when html5 history api is enabled but the browser\n\t * does not support it.\n\t *\n\t * @constructor\n\t * @param {string} appBase application base URL\n\t * @param {string} hashPrefix hashbang prefix\n\t */\n\tfunction LocationHashbangInHtml5Url(appBase, hashPrefix) {\n\t this.$$html5 = true;\n\t LocationHashbangUrl.apply(this, arguments);\n\t\n\t var appBaseNoFile = stripFile(appBase);\n\t\n\t this.$$parseLinkUrl = function(url, relHref) {\n\t if (relHref && relHref[0] === '#') {\n\t // special case for links to hash fragments:\n\t // keep the old url and only replace the hash fragment\n\t this.hash(relHref.slice(1));\n\t return true;\n\t }\n\t\n\t var rewrittenUrl;\n\t var appUrl;\n\t\n\t if (appBase == stripHash(url)) {\n\t rewrittenUrl = url;\n\t } else if ((appUrl = beginsWith(appBaseNoFile, url))) {\n\t rewrittenUrl = appBase + hashPrefix + appUrl;\n\t } else if (appBaseNoFile === url + '/') {\n\t rewrittenUrl = appBaseNoFile;\n\t }\n\t if (rewrittenUrl) {\n\t this.$$parse(rewrittenUrl);\n\t }\n\t return !!rewrittenUrl;\n\t };\n\t\n\t this.$$compose = function() {\n\t var search = toKeyValue(this.$$search),\n\t hash = this.$$hash ? '#' + encodeUriSegment(this.$$hash) : '';\n\t\n\t this.$$url = encodePath(this.$$path) + (search ? '?' + search : '') + hash;\n\t // include hashPrefix in $$absUrl when $$url is empty so IE8 & 9 do not reload page because of removal of '#'\n\t this.$$absUrl = appBase + hashPrefix + this.$$url;\n\t };\n\t\n\t}\n\t\n\t\n\tvar locationPrototype = {\n\t\n\t /**\n\t * Are we in html5 mode?\n\t * @private\n\t */\n\t $$html5: false,\n\t\n\t /**\n\t * Has any change been replacing?\n\t * @private\n\t */\n\t $$replace: false,\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $location#absUrl\n\t *\n\t * @description\n\t * This method is getter only.\n\t *\n\t * Return full url representation with all segments encoded according to rules specified in\n\t * [RFC 3986](http://www.ietf.org/rfc/rfc3986.txt).\n\t *\n\t *\n\t * ```js\n\t * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n\t * var absUrl = $location.absUrl();\n\t * // => \"http://example.com/#/some/path?foo=bar&baz=xoxo\"\n\t * ```\n\t *\n\t * @return {string} full url\n\t */\n\t absUrl: locationGetter('$$absUrl'),\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $location#url\n\t *\n\t * @description\n\t * This method is getter / setter.\n\t *\n\t * Return url (e.g. `/path?a=b#hash`) when called without any parameter.\n\t *\n\t * Change path, search and hash, when called with parameter and return `$location`.\n\t *\n\t *\n\t * ```js\n\t * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n\t * var url = $location.url();\n\t * // => \"/some/path?foo=bar&baz=xoxo\"\n\t * ```\n\t *\n\t * @param {string=} url New url without base prefix (e.g. `/path?a=b#hash`)\n\t * @return {string} url\n\t */\n\t url: function(url) {\n\t if (isUndefined(url))\n\t return this.$$url;\n\t\n\t var match = PATH_MATCH.exec(url);\n\t if (match[1] || url === '') this.path(decodeURIComponent(match[1]));\n\t if (match[2] || match[1] || url === '') this.search(match[3] || '');\n\t this.hash(match[5] || '');\n\t\n\t return this;\n\t },\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $location#protocol\n\t *\n\t * @description\n\t * This method is getter only.\n\t *\n\t * Return protocol of current url.\n\t *\n\t *\n\t * ```js\n\t * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n\t * var protocol = $location.protocol();\n\t * // => \"http\"\n\t * ```\n\t *\n\t * @return {string} protocol of current url\n\t */\n\t protocol: locationGetter('$$protocol'),\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $location#host\n\t *\n\t * @description\n\t * This method is getter only.\n\t *\n\t * Return host of current url.\n\t *\n\t * Note: compared to the non-angular version `location.host` which returns `hostname:port`, this returns the `hostname` portion only.\n\t *\n\t *\n\t * ```js\n\t * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n\t * var host = $location.host();\n\t * // => \"example.com\"\n\t *\n\t * // given url http://user:password@example.com:8080/#/some/path?foo=bar&baz=xoxo\n\t * host = $location.host();\n\t * // => \"example.com\"\n\t * host = location.host;\n\t * // => \"example.com:8080\"\n\t * ```\n\t *\n\t * @return {string} host of current url.\n\t */\n\t host: locationGetter('$$host'),\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $location#port\n\t *\n\t * @description\n\t * This method is getter only.\n\t *\n\t * Return port of current url.\n\t *\n\t *\n\t * ```js\n\t * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n\t * var port = $location.port();\n\t * // => 80\n\t * ```\n\t *\n\t * @return {Number} port\n\t */\n\t port: locationGetter('$$port'),\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $location#path\n\t *\n\t * @description\n\t * This method is getter / setter.\n\t *\n\t * Return path of current url when called without any parameter.\n\t *\n\t * Change path when called with parameter and return `$location`.\n\t *\n\t * Note: Path should always begin with forward slash (/), this method will add the forward slash\n\t * if it is missing.\n\t *\n\t *\n\t * ```js\n\t * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n\t * var path = $location.path();\n\t * // => \"/some/path\"\n\t * ```\n\t *\n\t * @param {(string|number)=} path New path\n\t * @return {string} path\n\t */\n\t path: locationGetterSetter('$$path', function(path) {\n\t path = path !== null ? path.toString() : '';\n\t return path.charAt(0) == '/' ? path : '/' + path;\n\t }),\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $location#search\n\t *\n\t * @description\n\t * This method is getter / setter.\n\t *\n\t * Return search part (as object) of current url when called without any parameter.\n\t *\n\t * Change search part when called with parameter and return `$location`.\n\t *\n\t *\n\t * ```js\n\t * // given url http://example.com/#/some/path?foo=bar&baz=xoxo\n\t * var searchObject = $location.search();\n\t * // => {foo: 'bar', baz: 'xoxo'}\n\t *\n\t * // set foo to 'yipee'\n\t * $location.search('foo', 'yipee');\n\t * // $location.search() => {foo: 'yipee', baz: 'xoxo'}\n\t * ```\n\t *\n\t * @param {string|Object.|Object.>} search New search params - string or\n\t * hash object.\n\t *\n\t * When called with a single argument the method acts as a setter, setting the `search` component\n\t * of `$location` to the specified value.\n\t *\n\t * If the argument is a hash object containing an array of values, these values will be encoded\n\t * as duplicate search parameters in the url.\n\t *\n\t * @param {(string|Number|Array|boolean)=} paramValue If `search` is a string or number, then `paramValue`\n\t * will override only a single search property.\n\t *\n\t * If `paramValue` is an array, it will override the property of the `search` component of\n\t * `$location` specified via the first argument.\n\t *\n\t * If `paramValue` is `null`, the property specified via the first argument will be deleted.\n\t *\n\t * If `paramValue` is `true`, the property specified via the first argument will be added with no\n\t * value nor trailing equal sign.\n\t *\n\t * @return {Object} If called with no arguments returns the parsed `search` object. If called with\n\t * one or more arguments returns `$location` object itself.\n\t */\n\t search: function(search, paramValue) {\n\t switch (arguments.length) {\n\t case 0:\n\t return this.$$search;\n\t case 1:\n\t if (isString(search) || isNumber(search)) {\n\t search = search.toString();\n\t this.$$search = parseKeyValue(search);\n\t } else if (isObject(search)) {\n\t search = copy(search, {});\n\t // remove object undefined or null properties\n\t forEach(search, function(value, key) {\n\t if (value == null) delete search[key];\n\t });\n\t\n\t this.$$search = search;\n\t } else {\n\t throw $locationMinErr('isrcharg',\n\t 'The first argument of the `$location#search()` call must be a string or an object.');\n\t }\n\t break;\n\t default:\n\t if (isUndefined(paramValue) || paramValue === null) {\n\t delete this.$$search[search];\n\t } else {\n\t this.$$search[search] = paramValue;\n\t }\n\t }\n\t\n\t this.$$compose();\n\t return this;\n\t },\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $location#hash\n\t *\n\t * @description\n\t * This method is getter / setter.\n\t *\n\t * Return hash fragment when called without any parameter.\n\t *\n\t * Change hash fragment when called with parameter and return `$location`.\n\t *\n\t *\n\t * ```js\n\t * // given url http://example.com/#/some/path?foo=bar&baz=xoxo#hashValue\n\t * var hash = $location.hash();\n\t * // => \"hashValue\"\n\t * ```\n\t *\n\t * @param {(string|number)=} hash New hash fragment\n\t * @return {string} hash\n\t */\n\t hash: locationGetterSetter('$$hash', function(hash) {\n\t return hash !== null ? hash.toString() : '';\n\t }),\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $location#replace\n\t *\n\t * @description\n\t * If called, all changes to $location during current `$digest` will be replacing current history\n\t * record, instead of adding new one.\n\t */\n\t replace: function() {\n\t this.$$replace = true;\n\t return this;\n\t }\n\t};\n\t\n\tforEach([LocationHashbangInHtml5Url, LocationHashbangUrl, LocationHtml5Url], function(Location) {\n\t Location.prototype = Object.create(locationPrototype);\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $location#state\n\t *\n\t * @description\n\t * This method is getter / setter.\n\t *\n\t * Return the history state object when called without any parameter.\n\t *\n\t * Change the history state object when called with one parameter and return `$location`.\n\t * The state object is later passed to `pushState` or `replaceState`.\n\t *\n\t * NOTE: This method is supported only in HTML5 mode and only in browsers supporting\n\t * the HTML5 History API (i.e. methods `pushState` and `replaceState`). If you need to support\n\t * older browsers (like IE9 or Android < 4.0), don't use this method.\n\t *\n\t * @param {object=} state State object for pushState or replaceState\n\t * @return {object} state\n\t */\n\t Location.prototype.state = function(state) {\n\t if (!arguments.length)\n\t return this.$$state;\n\t\n\t if (Location !== LocationHtml5Url || !this.$$html5) {\n\t throw $locationMinErr('nostate', 'History API state support is available only ' +\n\t 'in HTML5 mode and only in browsers supporting HTML5 History API');\n\t }\n\t // The user might modify `stateObject` after invoking `$location.state(stateObject)`\n\t // but we're changing the $$state reference to $browser.state() during the $digest\n\t // so the modification window is narrow.\n\t this.$$state = isUndefined(state) ? null : state;\n\t\n\t return this;\n\t };\n\t});\n\t\n\t\n\tfunction locationGetter(property) {\n\t return function() {\n\t return this[property];\n\t };\n\t}\n\t\n\t\n\tfunction locationGetterSetter(property, preprocess) {\n\t return function(value) {\n\t if (isUndefined(value))\n\t return this[property];\n\t\n\t this[property] = preprocess(value);\n\t this.$$compose();\n\t\n\t return this;\n\t };\n\t}\n\t\n\t\n\t/**\n\t * @ngdoc service\n\t * @name $location\n\t *\n\t * @requires $rootElement\n\t *\n\t * @description\n\t * The $location service parses the URL in the browser address bar (based on the\n\t * [window.location](https://developer.mozilla.org/en/window.location)) and makes the URL\n\t * available to your application. Changes to the URL in the address bar are reflected into\n\t * $location service and changes to $location are reflected into the browser address bar.\n\t *\n\t * **The $location service:**\n\t *\n\t * - Exposes the current URL in the browser address bar, so you can\n\t * - Watch and observe the URL.\n\t * - Change the URL.\n\t * - Synchronizes the URL with the browser when the user\n\t * - Changes the address bar.\n\t * - Clicks the back or forward button (or clicks a History link).\n\t * - Clicks on a link.\n\t * - Represents the URL object as a set of methods (protocol, host, port, path, search, hash).\n\t *\n\t * For more information see {@link guide/$location Developer Guide: Using $location}\n\t */\n\t\n\t/**\n\t * @ngdoc provider\n\t * @name $locationProvider\n\t * @description\n\t * Use the `$locationProvider` to configure how the application deep linking paths are stored.\n\t */\n\tfunction $LocationProvider() {\n\t var hashPrefix = '',\n\t html5Mode = {\n\t enabled: false,\n\t requireBase: true,\n\t rewriteLinks: true\n\t };\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $locationProvider#hashPrefix\n\t * @description\n\t * @param {string=} prefix Prefix for hash part (containing path and search)\n\t * @returns {*} current value if used as getter or itself (chaining) if used as setter\n\t */\n\t this.hashPrefix = function(prefix) {\n\t if (isDefined(prefix)) {\n\t hashPrefix = prefix;\n\t return this;\n\t } else {\n\t return hashPrefix;\n\t }\n\t };\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $locationProvider#html5Mode\n\t * @description\n\t * @param {(boolean|Object)=} mode If boolean, sets `html5Mode.enabled` to value.\n\t * If object, sets `enabled`, `requireBase` and `rewriteLinks` to respective values. Supported\n\t * properties:\n\t * - **enabled** – `{boolean}` – (default: false) If true, will rely on `history.pushState` to\n\t * change urls where supported. Will fall back to hash-prefixed paths in browsers that do not\n\t * support `pushState`.\n\t * - **requireBase** - `{boolean}` - (default: `true`) When html5Mode is enabled, specifies\n\t * whether or not a tag is required to be present. If `enabled` and `requireBase` are\n\t * true, and a base tag is not present, an error will be thrown when `$location` is injected.\n\t * See the {@link guide/$location $location guide for more information}\n\t * - **rewriteLinks** - `{boolean}` - (default: `true`) When html5Mode is enabled,\n\t * enables/disables url rewriting for relative links.\n\t *\n\t * @returns {Object} html5Mode object if used as getter or itself (chaining) if used as setter\n\t */\n\t this.html5Mode = function(mode) {\n\t if (isBoolean(mode)) {\n\t html5Mode.enabled = mode;\n\t return this;\n\t } else if (isObject(mode)) {\n\t\n\t if (isBoolean(mode.enabled)) {\n\t html5Mode.enabled = mode.enabled;\n\t }\n\t\n\t if (isBoolean(mode.requireBase)) {\n\t html5Mode.requireBase = mode.requireBase;\n\t }\n\t\n\t if (isBoolean(mode.rewriteLinks)) {\n\t html5Mode.rewriteLinks = mode.rewriteLinks;\n\t }\n\t\n\t return this;\n\t } else {\n\t return html5Mode;\n\t }\n\t };\n\t\n\t /**\n\t * @ngdoc event\n\t * @name $location#$locationChangeStart\n\t * @eventType broadcast on root scope\n\t * @description\n\t * Broadcasted before a URL will change.\n\t *\n\t * This change can be prevented by calling\n\t * `preventDefault` method of the event. See {@link ng.$rootScope.Scope#$on} for more\n\t * details about event object. Upon successful change\n\t * {@link ng.$location#$locationChangeSuccess $locationChangeSuccess} is fired.\n\t *\n\t * The `newState` and `oldState` parameters may be defined only in HTML5 mode and when\n\t * the browser supports the HTML5 History API.\n\t *\n\t * @param {Object} angularEvent Synthetic event object.\n\t * @param {string} newUrl New URL\n\t * @param {string=} oldUrl URL that was before it was changed.\n\t * @param {string=} newState New history state object\n\t * @param {string=} oldState History state object that was before it was changed.\n\t */\n\t\n\t /**\n\t * @ngdoc event\n\t * @name $location#$locationChangeSuccess\n\t * @eventType broadcast on root scope\n\t * @description\n\t * Broadcasted after a URL was changed.\n\t *\n\t * The `newState` and `oldState` parameters may be defined only in HTML5 mode and when\n\t * the browser supports the HTML5 History API.\n\t *\n\t * @param {Object} angularEvent Synthetic event object.\n\t * @param {string} newUrl New URL\n\t * @param {string=} oldUrl URL that was before it was changed.\n\t * @param {string=} newState New history state object\n\t * @param {string=} oldState History state object that was before it was changed.\n\t */\n\t\n\t this.$get = ['$rootScope', '$browser', '$sniffer', '$rootElement', '$window',\n\t function($rootScope, $browser, $sniffer, $rootElement, $window) {\n\t var $location,\n\t LocationMode,\n\t baseHref = $browser.baseHref(), // if base[href] is undefined, it defaults to ''\n\t initialUrl = $browser.url(),\n\t appBase;\n\t\n\t if (html5Mode.enabled) {\n\t if (!baseHref && html5Mode.requireBase) {\n\t throw $locationMinErr('nobase',\n\t \"$location in HTML5 mode requires a tag to be present!\");\n\t }\n\t appBase = serverBase(initialUrl) + (baseHref || '/');\n\t LocationMode = $sniffer.history ? LocationHtml5Url : LocationHashbangInHtml5Url;\n\t } else {\n\t appBase = stripHash(initialUrl);\n\t LocationMode = LocationHashbangUrl;\n\t }\n\t $location = new LocationMode(appBase, '#' + hashPrefix);\n\t $location.$$parseLinkUrl(initialUrl, initialUrl);\n\t\n\t $location.$$state = $browser.state();\n\t\n\t var IGNORE_URI_REGEXP = /^\\s*(javascript|mailto):/i;\n\t\n\t function setBrowserUrlWithFallback(url, replace, state) {\n\t var oldUrl = $location.url();\n\t var oldState = $location.$$state;\n\t try {\n\t $browser.url(url, replace, state);\n\t\n\t // Make sure $location.state() returns referentially identical (not just deeply equal)\n\t // state object; this makes possible quick checking if the state changed in the digest\n\t // loop. Checking deep equality would be too expensive.\n\t $location.$$state = $browser.state();\n\t } catch (e) {\n\t // Restore old values if pushState fails\n\t $location.url(oldUrl);\n\t $location.$$state = oldState;\n\t\n\t throw e;\n\t }\n\t }\n\t\n\t $rootElement.on('click', function(event) {\n\t // TODO(vojta): rewrite link when opening in new tab/window (in legacy browser)\n\t // currently we open nice url link and redirect then\n\t\n\t if (!html5Mode.rewriteLinks || event.ctrlKey || event.metaKey || event.shiftKey || event.which == 2 || event.button == 2) return;\n\t\n\t var elm = jqLite(event.target);\n\t\n\t // traverse the DOM up to find first A tag\n\t while (nodeName_(elm[0]) !== 'a') {\n\t // ignore rewriting if no A tag (reached root element, or no parent - removed from document)\n\t if (elm[0] === $rootElement[0] || !(elm = elm.parent())[0]) return;\n\t }\n\t\n\t var absHref = elm.prop('href');\n\t // get the actual href attribute - see\n\t // http://msdn.microsoft.com/en-us/library/ie/dd347148(v=vs.85).aspx\n\t var relHref = elm.attr('href') || elm.attr('xlink:href');\n\t\n\t if (isObject(absHref) && absHref.toString() === '[object SVGAnimatedString]') {\n\t // SVGAnimatedString.animVal should be identical to SVGAnimatedString.baseVal, unless during\n\t // an animation.\n\t absHref = urlResolve(absHref.animVal).href;\n\t }\n\t\n\t // Ignore when url is started with javascript: or mailto:\n\t if (IGNORE_URI_REGEXP.test(absHref)) return;\n\t\n\t if (absHref && !elm.attr('target') && !event.isDefaultPrevented()) {\n\t if ($location.$$parseLinkUrl(absHref, relHref)) {\n\t // We do a preventDefault for all urls that are part of the angular application,\n\t // in html5mode and also without, so that we are able to abort navigation without\n\t // getting double entries in the location history.\n\t event.preventDefault();\n\t // update location manually\n\t if ($location.absUrl() != $browser.url()) {\n\t $rootScope.$apply();\n\t // hack to work around FF6 bug 684208 when scenario runner clicks on links\n\t $window.angular['ff-684208-preventDefault'] = true;\n\t }\n\t }\n\t }\n\t });\n\t\n\t\n\t // rewrite hashbang url <> html5 url\n\t if (trimEmptyHash($location.absUrl()) != trimEmptyHash(initialUrl)) {\n\t $browser.url($location.absUrl(), true);\n\t }\n\t\n\t var initializing = true;\n\t\n\t // update $location when $browser url changes\n\t $browser.onUrlChange(function(newUrl, newState) {\n\t $rootScope.$evalAsync(function() {\n\t var oldUrl = $location.absUrl();\n\t var oldState = $location.$$state;\n\t var defaultPrevented;\n\t\n\t $location.$$parse(newUrl);\n\t $location.$$state = newState;\n\t\n\t defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl,\n\t newState, oldState).defaultPrevented;\n\t\n\t // if the location was changed by a `$locationChangeStart` handler then stop\n\t // processing this location change\n\t if ($location.absUrl() !== newUrl) return;\n\t\n\t if (defaultPrevented) {\n\t $location.$$parse(oldUrl);\n\t $location.$$state = oldState;\n\t setBrowserUrlWithFallback(oldUrl, false, oldState);\n\t } else {\n\t initializing = false;\n\t afterLocationChange(oldUrl, oldState);\n\t }\n\t });\n\t if (!$rootScope.$$phase) $rootScope.$digest();\n\t });\n\t\n\t // update browser\n\t $rootScope.$watch(function $locationWatch() {\n\t var oldUrl = trimEmptyHash($browser.url());\n\t var newUrl = trimEmptyHash($location.absUrl());\n\t var oldState = $browser.state();\n\t var currentReplace = $location.$$replace;\n\t var urlOrStateChanged = oldUrl !== newUrl ||\n\t ($location.$$html5 && $sniffer.history && oldState !== $location.$$state);\n\t\n\t if (initializing || urlOrStateChanged) {\n\t initializing = false;\n\t\n\t $rootScope.$evalAsync(function() {\n\t var newUrl = $location.absUrl();\n\t var defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl,\n\t $location.$$state, oldState).defaultPrevented;\n\t\n\t // if the location was changed by a `$locationChangeStart` handler then stop\n\t // processing this location change\n\t if ($location.absUrl() !== newUrl) return;\n\t\n\t if (defaultPrevented) {\n\t $location.$$parse(oldUrl);\n\t $location.$$state = oldState;\n\t } else {\n\t if (urlOrStateChanged) {\n\t setBrowserUrlWithFallback(newUrl, currentReplace,\n\t oldState === $location.$$state ? null : $location.$$state);\n\t }\n\t afterLocationChange(oldUrl, oldState);\n\t }\n\t });\n\t }\n\t\n\t $location.$$replace = false;\n\t\n\t // we don't need to return anything because $evalAsync will make the digest loop dirty when\n\t // there is a change\n\t });\n\t\n\t return $location;\n\t\n\t function afterLocationChange(oldUrl, oldState) {\n\t $rootScope.$broadcast('$locationChangeSuccess', $location.absUrl(), oldUrl,\n\t $location.$$state, oldState);\n\t }\n\t}];\n\t}\n\t\n\t/**\n\t * @ngdoc service\n\t * @name $log\n\t * @requires $window\n\t *\n\t * @description\n\t * Simple service for logging. Default implementation safely writes the message\n\t * into the browser's console (if present).\n\t *\n\t * The main purpose of this service is to simplify debugging and troubleshooting.\n\t *\n\t * The default is to log `debug` messages. You can use\n\t * {@link ng.$logProvider ng.$logProvider#debugEnabled} to change this.\n\t *\n\t * @example\n\t \n\t \n\t angular.module('logExample', [])\n\t .controller('LogController', ['$scope', '$log', function($scope, $log) {\n\t $scope.$log = $log;\n\t $scope.message = 'Hello World!';\n\t }]);\n\t \n\t \n\t
\n\t

Reload this page with open console, enter text and hit the log button...

\n\t Message:\n\t \n\t \n\t \n\t \n\t \n\t \n\t
\n\t
\n\t
\n\t */\n\t\n\t/**\n\t * @ngdoc provider\n\t * @name $logProvider\n\t * @description\n\t * Use the `$logProvider` to configure how the application logs messages\n\t */\n\tfunction $LogProvider() {\n\t var debug = true,\n\t self = this;\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $logProvider#debugEnabled\n\t * @description\n\t * @param {boolean=} flag enable or disable debug level messages\n\t * @returns {*} current value if used as getter or itself (chaining) if used as setter\n\t */\n\t this.debugEnabled = function(flag) {\n\t if (isDefined(flag)) {\n\t debug = flag;\n\t return this;\n\t } else {\n\t return debug;\n\t }\n\t };\n\t\n\t this.$get = ['$window', function($window) {\n\t return {\n\t /**\n\t * @ngdoc method\n\t * @name $log#log\n\t *\n\t * @description\n\t * Write a log message\n\t */\n\t log: consoleLog('log'),\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $log#info\n\t *\n\t * @description\n\t * Write an information message\n\t */\n\t info: consoleLog('info'),\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $log#warn\n\t *\n\t * @description\n\t * Write a warning message\n\t */\n\t warn: consoleLog('warn'),\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $log#error\n\t *\n\t * @description\n\t * Write an error message\n\t */\n\t error: consoleLog('error'),\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $log#debug\n\t *\n\t * @description\n\t * Write a debug message\n\t */\n\t debug: (function() {\n\t var fn = consoleLog('debug');\n\t\n\t return function() {\n\t if (debug) {\n\t fn.apply(self, arguments);\n\t }\n\t };\n\t }())\n\t };\n\t\n\t function formatError(arg) {\n\t if (arg instanceof Error) {\n\t if (arg.stack) {\n\t arg = (arg.message && arg.stack.indexOf(arg.message) === -1)\n\t ? 'Error: ' + arg.message + '\\n' + arg.stack\n\t : arg.stack;\n\t } else if (arg.sourceURL) {\n\t arg = arg.message + '\\n' + arg.sourceURL + ':' + arg.line;\n\t }\n\t }\n\t return arg;\n\t }\n\t\n\t function consoleLog(type) {\n\t var console = $window.console || {},\n\t logFn = console[type] || console.log || noop,\n\t hasApply = false;\n\t\n\t // Note: reading logFn.apply throws an error in IE11 in IE8 document mode.\n\t // The reason behind this is that console.log has type \"object\" in IE8...\n\t try {\n\t hasApply = !!logFn.apply;\n\t } catch (e) {}\n\t\n\t if (hasApply) {\n\t return function() {\n\t var args = [];\n\t forEach(arguments, function(arg) {\n\t args.push(formatError(arg));\n\t });\n\t return logFn.apply(console, args);\n\t };\n\t }\n\t\n\t // we are IE which either doesn't have window.console => this is noop and we do nothing,\n\t // or we are IE where console.log doesn't have apply so we log at least first 2 args\n\t return function(arg1, arg2) {\n\t logFn(arg1, arg2 == null ? '' : arg2);\n\t };\n\t }\n\t }];\n\t}\n\t\n\t/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n\t * Any commits to this file should be reviewed with security in mind. *\n\t * Changes to this file can potentially create security vulnerabilities. *\n\t * An approval from 2 Core members with history of modifying *\n\t * this file is required. *\n\t * *\n\t * Does the change somehow allow for arbitrary javascript to be executed? *\n\t * Or allows for someone to change the prototype of built-in objects? *\n\t * Or gives undesired access to variables likes document or window? *\n\t * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\t\n\tvar $parseMinErr = minErr('$parse');\n\t\n\t// Sandboxing Angular Expressions\n\t// ------------------------------\n\t// Angular expressions are generally considered safe because these expressions only have direct\n\t// access to `$scope` and locals. However, one can obtain the ability to execute arbitrary JS code by\n\t// obtaining a reference to native JS functions such as the Function constructor.\n\t//\n\t// As an example, consider the following Angular expression:\n\t//\n\t// {}.toString.constructor('alert(\"evil JS code\")')\n\t//\n\t// This sandboxing technique is not perfect and doesn't aim to be. The goal is to prevent exploits\n\t// against the expression language, but not to prevent exploits that were enabled by exposing\n\t// sensitive JavaScript or browser APIs on Scope. Exposing such objects on a Scope is never a good\n\t// practice and therefore we are not even trying to protect against interaction with an object\n\t// explicitly exposed in this way.\n\t//\n\t// In general, it is not possible to access a Window object from an angular expression unless a\n\t// window or some DOM object that has a reference to window is published onto a Scope.\n\t// Similarly we prevent invocations of function known to be dangerous, as well as assignments to\n\t// native objects.\n\t//\n\t// See https://docs.angularjs.org/guide/security\n\t\n\t\n\tfunction ensureSafeMemberName(name, fullExpression) {\n\t if (name === \"__defineGetter__\" || name === \"__defineSetter__\"\n\t || name === \"__lookupGetter__\" || name === \"__lookupSetter__\"\n\t || name === \"__proto__\") {\n\t throw $parseMinErr('isecfld',\n\t 'Attempting to access a disallowed field in Angular expressions! '\n\t + 'Expression: {0}', fullExpression);\n\t }\n\t return name;\n\t}\n\t\n\tfunction ensureSafeObject(obj, fullExpression) {\n\t // nifty check if obj is Function that is fast and works across iframes and other contexts\n\t if (obj) {\n\t if (obj.constructor === obj) {\n\t throw $parseMinErr('isecfn',\n\t 'Referencing Function in Angular expressions is disallowed! Expression: {0}',\n\t fullExpression);\n\t } else if (// isWindow(obj)\n\t obj.window === obj) {\n\t throw $parseMinErr('isecwindow',\n\t 'Referencing the Window in Angular expressions is disallowed! Expression: {0}',\n\t fullExpression);\n\t } else if (// isElement(obj)\n\t obj.children && (obj.nodeName || (obj.prop && obj.attr && obj.find))) {\n\t throw $parseMinErr('isecdom',\n\t 'Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}',\n\t fullExpression);\n\t } else if (// block Object so that we can't get hold of dangerous Object.* methods\n\t obj === Object) {\n\t throw $parseMinErr('isecobj',\n\t 'Referencing Object in Angular expressions is disallowed! Expression: {0}',\n\t fullExpression);\n\t }\n\t }\n\t return obj;\n\t}\n\t\n\tvar CALL = Function.prototype.call;\n\tvar APPLY = Function.prototype.apply;\n\tvar BIND = Function.prototype.bind;\n\t\n\tfunction ensureSafeFunction(obj, fullExpression) {\n\t if (obj) {\n\t if (obj.constructor === obj) {\n\t throw $parseMinErr('isecfn',\n\t 'Referencing Function in Angular expressions is disallowed! Expression: {0}',\n\t fullExpression);\n\t } else if (obj === CALL || obj === APPLY || obj === BIND) {\n\t throw $parseMinErr('isecff',\n\t 'Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}',\n\t fullExpression);\n\t }\n\t }\n\t}\n\t\n\t//Keyword constants\n\tvar CONSTANTS = createMap();\n\tforEach({\n\t 'null': function() { return null; },\n\t 'true': function() { return true; },\n\t 'false': function() { return false; },\n\t 'undefined': function() {}\n\t}, function(constantGetter, name) {\n\t constantGetter.constant = constantGetter.literal = constantGetter.sharedGetter = true;\n\t CONSTANTS[name] = constantGetter;\n\t});\n\t\n\t//Not quite a constant, but can be lex/parsed the same\n\tCONSTANTS['this'] = function(self) { return self; };\n\tCONSTANTS['this'].sharedGetter = true;\n\t\n\t\n\t//Operators - will be wrapped by binaryFn/unaryFn/assignment/filter\n\tvar OPERATORS = extend(createMap(), {\n\t '+':function(self, locals, a, b) {\n\t a=a(self, locals); b=b(self, locals);\n\t if (isDefined(a)) {\n\t if (isDefined(b)) {\n\t return a + b;\n\t }\n\t return a;\n\t }\n\t return isDefined(b) ? b : undefined;},\n\t '-':function(self, locals, a, b) {\n\t a=a(self, locals); b=b(self, locals);\n\t return (isDefined(a) ? a : 0) - (isDefined(b) ? b : 0);\n\t },\n\t '*':function(self, locals, a, b) {return a(self, locals) * b(self, locals);},\n\t '/':function(self, locals, a, b) {return a(self, locals) / b(self, locals);},\n\t '%':function(self, locals, a, b) {return a(self, locals) % b(self, locals);},\n\t '===':function(self, locals, a, b) {return a(self, locals) === b(self, locals);},\n\t '!==':function(self, locals, a, b) {return a(self, locals) !== b(self, locals);},\n\t '==':function(self, locals, a, b) {return a(self, locals) == b(self, locals);},\n\t '!=':function(self, locals, a, b) {return a(self, locals) != b(self, locals);},\n\t '<':function(self, locals, a, b) {return a(self, locals) < b(self, locals);},\n\t '>':function(self, locals, a, b) {return a(self, locals) > b(self, locals);},\n\t '<=':function(self, locals, a, b) {return a(self, locals) <= b(self, locals);},\n\t '>=':function(self, locals, a, b) {return a(self, locals) >= b(self, locals);},\n\t '&&':function(self, locals, a, b) {return a(self, locals) && b(self, locals);},\n\t '||':function(self, locals, a, b) {return a(self, locals) || b(self, locals);},\n\t '!':function(self, locals, a) {return !a(self, locals);},\n\t\n\t //Tokenized as operators but parsed as assignment/filters\n\t '=':true,\n\t '|':true\n\t});\n\tvar ESCAPE = {\"n\":\"\\n\", \"f\":\"\\f\", \"r\":\"\\r\", \"t\":\"\\t\", \"v\":\"\\v\", \"'\":\"'\", '\"':'\"'};\n\t\n\t\n\t/////////////////////////////////////////\n\t\n\t\n\t/**\n\t * @constructor\n\t */\n\tvar Lexer = function(options) {\n\t this.options = options;\n\t};\n\t\n\tLexer.prototype = {\n\t constructor: Lexer,\n\t\n\t lex: function(text) {\n\t this.text = text;\n\t this.index = 0;\n\t this.tokens = [];\n\t\n\t while (this.index < this.text.length) {\n\t var ch = this.text.charAt(this.index);\n\t if (ch === '\"' || ch === \"'\") {\n\t this.readString(ch);\n\t } else if (this.isNumber(ch) || ch === '.' && this.isNumber(this.peek())) {\n\t this.readNumber();\n\t } else if (this.isIdent(ch)) {\n\t this.readIdent();\n\t } else if (this.is(ch, '(){}[].,;:?')) {\n\t this.tokens.push({index: this.index, text: ch});\n\t this.index++;\n\t } else if (this.isWhitespace(ch)) {\n\t this.index++;\n\t } else {\n\t var ch2 = ch + this.peek();\n\t var ch3 = ch2 + this.peek(2);\n\t var op1 = OPERATORS[ch];\n\t var op2 = OPERATORS[ch2];\n\t var op3 = OPERATORS[ch3];\n\t if (op1 || op2 || op3) {\n\t var token = op3 ? ch3 : (op2 ? ch2 : ch);\n\t this.tokens.push({index: this.index, text: token, operator: true});\n\t this.index += token.length;\n\t } else {\n\t this.throwError('Unexpected next character ', this.index, this.index + 1);\n\t }\n\t }\n\t }\n\t return this.tokens;\n\t },\n\t\n\t is: function(ch, chars) {\n\t return chars.indexOf(ch) !== -1;\n\t },\n\t\n\t peek: function(i) {\n\t var num = i || 1;\n\t return (this.index + num < this.text.length) ? this.text.charAt(this.index + num) : false;\n\t },\n\t\n\t isNumber: function(ch) {\n\t return ('0' <= ch && ch <= '9') && typeof ch === \"string\";\n\t },\n\t\n\t isWhitespace: function(ch) {\n\t // IE treats non-breaking space as \\u00A0\n\t return (ch === ' ' || ch === '\\r' || ch === '\\t' ||\n\t ch === '\\n' || ch === '\\v' || ch === '\\u00A0');\n\t },\n\t\n\t isIdent: function(ch) {\n\t return ('a' <= ch && ch <= 'z' ||\n\t 'A' <= ch && ch <= 'Z' ||\n\t '_' === ch || ch === '$');\n\t },\n\t\n\t isExpOperator: function(ch) {\n\t return (ch === '-' || ch === '+' || this.isNumber(ch));\n\t },\n\t\n\t throwError: function(error, start, end) {\n\t end = end || this.index;\n\t var colStr = (isDefined(start)\n\t ? 's ' + start + '-' + this.index + ' [' + this.text.substring(start, end) + ']'\n\t : ' ' + end);\n\t throw $parseMinErr('lexerr', 'Lexer Error: {0} at column{1} in expression [{2}].',\n\t error, colStr, this.text);\n\t },\n\t\n\t readNumber: function() {\n\t var number = '';\n\t var start = this.index;\n\t while (this.index < this.text.length) {\n\t var ch = lowercase(this.text.charAt(this.index));\n\t if (ch == '.' || this.isNumber(ch)) {\n\t number += ch;\n\t } else {\n\t var peekCh = this.peek();\n\t if (ch == 'e' && this.isExpOperator(peekCh)) {\n\t number += ch;\n\t } else if (this.isExpOperator(ch) &&\n\t peekCh && this.isNumber(peekCh) &&\n\t number.charAt(number.length - 1) == 'e') {\n\t number += ch;\n\t } else if (this.isExpOperator(ch) &&\n\t (!peekCh || !this.isNumber(peekCh)) &&\n\t number.charAt(number.length - 1) == 'e') {\n\t this.throwError('Invalid exponent');\n\t } else {\n\t break;\n\t }\n\t }\n\t this.index++;\n\t }\n\t this.tokens.push({\n\t index: start,\n\t text: number,\n\t constant: true,\n\t value: Number(number)\n\t });\n\t },\n\t\n\t readIdent: function() {\n\t var start = this.index;\n\t while (this.index < this.text.length) {\n\t var ch = this.text.charAt(this.index);\n\t if (!(this.isIdent(ch) || this.isNumber(ch))) {\n\t break;\n\t }\n\t this.index++;\n\t }\n\t this.tokens.push({\n\t index: start,\n\t text: this.text.slice(start, this.index),\n\t identifier: true\n\t });\n\t },\n\t\n\t readString: function(quote) {\n\t var start = this.index;\n\t this.index++;\n\t var string = '';\n\t var rawString = quote;\n\t var escape = false;\n\t while (this.index < this.text.length) {\n\t var ch = this.text.charAt(this.index);\n\t rawString += ch;\n\t if (escape) {\n\t if (ch === 'u') {\n\t var hex = this.text.substring(this.index + 1, this.index + 5);\n\t if (!hex.match(/[\\da-f]{4}/i))\n\t this.throwError('Invalid unicode escape [\\\\u' + hex + ']');\n\t this.index += 4;\n\t string += String.fromCharCode(parseInt(hex, 16));\n\t } else {\n\t var rep = ESCAPE[ch];\n\t string = string + (rep || ch);\n\t }\n\t escape = false;\n\t } else if (ch === '\\\\') {\n\t escape = true;\n\t } else if (ch === quote) {\n\t this.index++;\n\t this.tokens.push({\n\t index: start,\n\t text: rawString,\n\t constant: true,\n\t value: string\n\t });\n\t return;\n\t } else {\n\t string += ch;\n\t }\n\t this.index++;\n\t }\n\t this.throwError('Unterminated quote', start);\n\t }\n\t};\n\t\n\t\n\tfunction isConstant(exp) {\n\t return exp.constant;\n\t}\n\t\n\t/**\n\t * @constructor\n\t */\n\tvar Parser = function(lexer, $filter, options) {\n\t this.lexer = lexer;\n\t this.$filter = $filter;\n\t this.options = options;\n\t};\n\t\n\tParser.ZERO = extend(function() {\n\t return 0;\n\t}, {\n\t sharedGetter: true,\n\t constant: true\n\t});\n\t\n\tParser.prototype = {\n\t constructor: Parser,\n\t\n\t parse: function(text) {\n\t this.text = text;\n\t this.tokens = this.lexer.lex(text);\n\t\n\t var value = this.statements();\n\t\n\t if (this.tokens.length !== 0) {\n\t this.throwError('is an unexpected token', this.tokens[0]);\n\t }\n\t\n\t value.literal = !!value.literal;\n\t value.constant = !!value.constant;\n\t\n\t return value;\n\t },\n\t\n\t primary: function() {\n\t var primary;\n\t if (this.expect('(')) {\n\t primary = this.filterChain();\n\t this.consume(')');\n\t } else if (this.expect('[')) {\n\t primary = this.arrayDeclaration();\n\t } else if (this.expect('{')) {\n\t primary = this.object();\n\t } else if (this.peek().identifier && this.peek().text in CONSTANTS) {\n\t primary = CONSTANTS[this.consume().text];\n\t } else if (this.peek().identifier) {\n\t primary = this.identifier();\n\t } else if (this.peek().constant) {\n\t primary = this.constant();\n\t } else {\n\t this.throwError('not a primary expression', this.peek());\n\t }\n\t\n\t var next, context;\n\t while ((next = this.expect('(', '[', '.'))) {\n\t if (next.text === '(') {\n\t primary = this.functionCall(primary, context);\n\t context = null;\n\t } else if (next.text === '[') {\n\t context = primary;\n\t primary = this.objectIndex(primary);\n\t } else if (next.text === '.') {\n\t context = primary;\n\t primary = this.fieldAccess(primary);\n\t } else {\n\t this.throwError('IMPOSSIBLE');\n\t }\n\t }\n\t return primary;\n\t },\n\t\n\t throwError: function(msg, token) {\n\t throw $parseMinErr('syntax',\n\t 'Syntax Error: Token \\'{0}\\' {1} at column {2} of the expression [{3}] starting at [{4}].',\n\t token.text, msg, (token.index + 1), this.text, this.text.substring(token.index));\n\t },\n\t\n\t peekToken: function() {\n\t if (this.tokens.length === 0)\n\t throw $parseMinErr('ueoe', 'Unexpected end of expression: {0}', this.text);\n\t return this.tokens[0];\n\t },\n\t\n\t peek: function(e1, e2, e3, e4) {\n\t return this.peekAhead(0, e1, e2, e3, e4);\n\t },\n\t peekAhead: function(i, e1, e2, e3, e4) {\n\t if (this.tokens.length > i) {\n\t var token = this.tokens[i];\n\t var t = token.text;\n\t if (t === e1 || t === e2 || t === e3 || t === e4 ||\n\t (!e1 && !e2 && !e3 && !e4)) {\n\t return token;\n\t }\n\t }\n\t return false;\n\t },\n\t\n\t expect: function(e1, e2, e3, e4) {\n\t var token = this.peek(e1, e2, e3, e4);\n\t if (token) {\n\t this.tokens.shift();\n\t return token;\n\t }\n\t return false;\n\t },\n\t\n\t consume: function(e1) {\n\t if (this.tokens.length === 0) {\n\t throw $parseMinErr('ueoe', 'Unexpected end of expression: {0}', this.text);\n\t }\n\t\n\t var token = this.expect(e1);\n\t if (!token) {\n\t this.throwError('is unexpected, expecting [' + e1 + ']', this.peek());\n\t }\n\t return token;\n\t },\n\t\n\t unaryFn: function(op, right) {\n\t var fn = OPERATORS[op];\n\t return extend(function $parseUnaryFn(self, locals) {\n\t return fn(self, locals, right);\n\t }, {\n\t constant:right.constant,\n\t inputs: [right]\n\t });\n\t },\n\t\n\t binaryFn: function(left, op, right, isBranching) {\n\t var fn = OPERATORS[op];\n\t return extend(function $parseBinaryFn(self, locals) {\n\t return fn(self, locals, left, right);\n\t }, {\n\t constant: left.constant && right.constant,\n\t inputs: !isBranching && [left, right]\n\t });\n\t },\n\t\n\t identifier: function() {\n\t var id = this.consume().text;\n\t\n\t //Continue reading each `.identifier` unless it is a method invocation\n\t while (this.peek('.') && this.peekAhead(1).identifier && !this.peekAhead(2, '(')) {\n\t id += this.consume().text + this.consume().text;\n\t }\n\t\n\t return getterFn(id, this.options, this.text);\n\t },\n\t\n\t constant: function() {\n\t var value = this.consume().value;\n\t\n\t return extend(function $parseConstant() {\n\t return value;\n\t }, {\n\t constant: true,\n\t literal: true\n\t });\n\t },\n\t\n\t statements: function() {\n\t var statements = [];\n\t while (true) {\n\t if (this.tokens.length > 0 && !this.peek('}', ')', ';', ']'))\n\t statements.push(this.filterChain());\n\t if (!this.expect(';')) {\n\t // optimize for the common case where there is only one statement.\n\t // TODO(size): maybe we should not support multiple statements?\n\t return (statements.length === 1)\n\t ? statements[0]\n\t : function $parseStatements(self, locals) {\n\t var value;\n\t for (var i = 0, ii = statements.length; i < ii; i++) {\n\t value = statements[i](self, locals);\n\t }\n\t return value;\n\t };\n\t }\n\t }\n\t },\n\t\n\t filterChain: function() {\n\t var left = this.expression();\n\t var token;\n\t while ((token = this.expect('|'))) {\n\t left = this.filter(left);\n\t }\n\t return left;\n\t },\n\t\n\t filter: function(inputFn) {\n\t var fn = this.$filter(this.consume().text);\n\t var argsFn;\n\t var args;\n\t\n\t if (this.peek(':')) {\n\t argsFn = [];\n\t args = []; // we can safely reuse the array\n\t while (this.expect(':')) {\n\t argsFn.push(this.expression());\n\t }\n\t }\n\t\n\t var inputs = [inputFn].concat(argsFn || []);\n\t\n\t return extend(function $parseFilter(self, locals) {\n\t var input = inputFn(self, locals);\n\t if (args) {\n\t args[0] = input;\n\t\n\t var i = argsFn.length;\n\t while (i--) {\n\t args[i + 1] = argsFn[i](self, locals);\n\t }\n\t\n\t return fn.apply(undefined, args);\n\t }\n\t\n\t return fn(input);\n\t }, {\n\t constant: !fn.$stateful && inputs.every(isConstant),\n\t inputs: !fn.$stateful && inputs\n\t });\n\t },\n\t\n\t expression: function() {\n\t return this.assignment();\n\t },\n\t\n\t assignment: function() {\n\t var left = this.ternary();\n\t var right;\n\t var token;\n\t if ((token = this.expect('='))) {\n\t if (!left.assign) {\n\t this.throwError('implies assignment but [' +\n\t this.text.substring(0, token.index) + '] can not be assigned to', token);\n\t }\n\t right = this.ternary();\n\t return extend(function $parseAssignment(scope, locals) {\n\t return left.assign(scope, right(scope, locals), locals);\n\t }, {\n\t inputs: [left, right]\n\t });\n\t }\n\t return left;\n\t },\n\t\n\t ternary: function() {\n\t var left = this.logicalOR();\n\t var middle;\n\t var token;\n\t if ((token = this.expect('?'))) {\n\t middle = this.assignment();\n\t if (this.consume(':')) {\n\t var right = this.assignment();\n\t\n\t return extend(function $parseTernary(self, locals) {\n\t return left(self, locals) ? middle(self, locals) : right(self, locals);\n\t }, {\n\t constant: left.constant && middle.constant && right.constant\n\t });\n\t }\n\t }\n\t\n\t return left;\n\t },\n\t\n\t logicalOR: function() {\n\t var left = this.logicalAND();\n\t var token;\n\t while ((token = this.expect('||'))) {\n\t left = this.binaryFn(left, token.text, this.logicalAND(), true);\n\t }\n\t return left;\n\t },\n\t\n\t logicalAND: function() {\n\t var left = this.equality();\n\t var token;\n\t while ((token = this.expect('&&'))) {\n\t left = this.binaryFn(left, token.text, this.equality(), true);\n\t }\n\t return left;\n\t },\n\t\n\t equality: function() {\n\t var left = this.relational();\n\t var token;\n\t while ((token = this.expect('==','!=','===','!=='))) {\n\t left = this.binaryFn(left, token.text, this.relational());\n\t }\n\t return left;\n\t },\n\t\n\t relational: function() {\n\t var left = this.additive();\n\t var token;\n\t while ((token = this.expect('<', '>', '<=', '>='))) {\n\t left = this.binaryFn(left, token.text, this.additive());\n\t }\n\t return left;\n\t },\n\t\n\t additive: function() {\n\t var left = this.multiplicative();\n\t var token;\n\t while ((token = this.expect('+','-'))) {\n\t left = this.binaryFn(left, token.text, this.multiplicative());\n\t }\n\t return left;\n\t },\n\t\n\t multiplicative: function() {\n\t var left = this.unary();\n\t var token;\n\t while ((token = this.expect('*','/','%'))) {\n\t left = this.binaryFn(left, token.text, this.unary());\n\t }\n\t return left;\n\t },\n\t\n\t unary: function() {\n\t var token;\n\t if (this.expect('+')) {\n\t return this.primary();\n\t } else if ((token = this.expect('-'))) {\n\t return this.binaryFn(Parser.ZERO, token.text, this.unary());\n\t } else if ((token = this.expect('!'))) {\n\t return this.unaryFn(token.text, this.unary());\n\t } else {\n\t return this.primary();\n\t }\n\t },\n\t\n\t fieldAccess: function(object) {\n\t var getter = this.identifier();\n\t\n\t return extend(function $parseFieldAccess(scope, locals, self) {\n\t var o = self || object(scope, locals);\n\t return (o == null) ? undefined : getter(o);\n\t }, {\n\t assign: function(scope, value, locals) {\n\t var o = object(scope, locals);\n\t if (!o) object.assign(scope, o = {}, locals);\n\t return getter.assign(o, value);\n\t }\n\t });\n\t },\n\t\n\t objectIndex: function(obj) {\n\t var expression = this.text;\n\t\n\t var indexFn = this.expression();\n\t this.consume(']');\n\t\n\t return extend(function $parseObjectIndex(self, locals) {\n\t var o = obj(self, locals),\n\t i = indexFn(self, locals),\n\t v;\n\t\n\t ensureSafeMemberName(i, expression);\n\t if (!o) return undefined;\n\t v = ensureSafeObject(o[i], expression);\n\t return v;\n\t }, {\n\t assign: function(self, value, locals) {\n\t var key = ensureSafeMemberName(indexFn(self, locals), expression);\n\t // prevent overwriting of Function.constructor which would break ensureSafeObject check\n\t var o = ensureSafeObject(obj(self, locals), expression);\n\t if (!o) obj.assign(self, o = {}, locals);\n\t return o[key] = value;\n\t }\n\t });\n\t },\n\t\n\t functionCall: function(fnGetter, contextGetter) {\n\t var argsFn = [];\n\t if (this.peekToken().text !== ')') {\n\t do {\n\t argsFn.push(this.expression());\n\t } while (this.expect(','));\n\t }\n\t this.consume(')');\n\t\n\t var expressionText = this.text;\n\t // we can safely reuse the array across invocations\n\t var args = argsFn.length ? [] : null;\n\t\n\t return function $parseFunctionCall(scope, locals) {\n\t var context = contextGetter ? contextGetter(scope, locals) : isDefined(contextGetter) ? undefined : scope;\n\t var fn = fnGetter(scope, locals, context) || noop;\n\t\n\t if (args) {\n\t var i = argsFn.length;\n\t while (i--) {\n\t args[i] = ensureSafeObject(argsFn[i](scope, locals), expressionText);\n\t }\n\t }\n\t\n\t ensureSafeObject(context, expressionText);\n\t ensureSafeFunction(fn, expressionText);\n\t\n\t // IE doesn't have apply for some native functions\n\t var v = fn.apply\n\t ? fn.apply(context, args)\n\t : fn(args[0], args[1], args[2], args[3], args[4]);\n\t\n\t if (args) {\n\t // Free-up the memory (arguments of the last function call).\n\t args.length = 0;\n\t }\n\t\n\t return ensureSafeObject(v, expressionText);\n\t };\n\t },\n\t\n\t // This is used with json array declaration\n\t arrayDeclaration: function() {\n\t var elementFns = [];\n\t if (this.peekToken().text !== ']') {\n\t do {\n\t if (this.peek(']')) {\n\t // Support trailing commas per ES5.1.\n\t break;\n\t }\n\t elementFns.push(this.expression());\n\t } while (this.expect(','));\n\t }\n\t this.consume(']');\n\t\n\t return extend(function $parseArrayLiteral(self, locals) {\n\t var array = [];\n\t for (var i = 0, ii = elementFns.length; i < ii; i++) {\n\t array.push(elementFns[i](self, locals));\n\t }\n\t return array;\n\t }, {\n\t literal: true,\n\t constant: elementFns.every(isConstant),\n\t inputs: elementFns\n\t });\n\t },\n\t\n\t object: function() {\n\t var keys = [], valueFns = [];\n\t if (this.peekToken().text !== '}') {\n\t do {\n\t if (this.peek('}')) {\n\t // Support trailing commas per ES5.1.\n\t break;\n\t }\n\t var token = this.consume();\n\t if (token.constant) {\n\t keys.push(token.value);\n\t } else if (token.identifier) {\n\t keys.push(token.text);\n\t } else {\n\t this.throwError(\"invalid key\", token);\n\t }\n\t this.consume(':');\n\t valueFns.push(this.expression());\n\t } while (this.expect(','));\n\t }\n\t this.consume('}');\n\t\n\t return extend(function $parseObjectLiteral(self, locals) {\n\t var object = {};\n\t for (var i = 0, ii = valueFns.length; i < ii; i++) {\n\t object[keys[i]] = valueFns[i](self, locals);\n\t }\n\t return object;\n\t }, {\n\t literal: true,\n\t constant: valueFns.every(isConstant),\n\t inputs: valueFns\n\t });\n\t }\n\t};\n\t\n\t\n\t//////////////////////////////////////////////////\n\t// Parser helper functions\n\t//////////////////////////////////////////////////\n\t\n\tfunction setter(obj, locals, path, setValue, fullExp) {\n\t ensureSafeObject(obj, fullExp);\n\t ensureSafeObject(locals, fullExp);\n\t\n\t var element = path.split('.'), key;\n\t for (var i = 0; element.length > 1; i++) {\n\t key = ensureSafeMemberName(element.shift(), fullExp);\n\t var propertyObj = (i === 0 && locals && locals[key]) || obj[key];\n\t if (!propertyObj) {\n\t propertyObj = {};\n\t obj[key] = propertyObj;\n\t }\n\t obj = ensureSafeObject(propertyObj, fullExp);\n\t }\n\t key = ensureSafeMemberName(element.shift(), fullExp);\n\t ensureSafeObject(obj[key], fullExp);\n\t obj[key] = setValue;\n\t return setValue;\n\t}\n\t\n\tvar getterFnCacheDefault = createMap();\n\tvar getterFnCacheExpensive = createMap();\n\t\n\tfunction isPossiblyDangerousMemberName(name) {\n\t return name == 'constructor';\n\t}\n\t\n\t/**\n\t * Implementation of the \"Black Hole\" variant from:\n\t * - http://jsperf.com/angularjs-parse-getter/4\n\t * - http://jsperf.com/path-evaluation-simplified/7\n\t */\n\tfunction cspSafeGetterFn(key0, key1, key2, key3, key4, fullExp, expensiveChecks) {\n\t ensureSafeMemberName(key0, fullExp);\n\t ensureSafeMemberName(key1, fullExp);\n\t ensureSafeMemberName(key2, fullExp);\n\t ensureSafeMemberName(key3, fullExp);\n\t ensureSafeMemberName(key4, fullExp);\n\t var eso = function(o) {\n\t return ensureSafeObject(o, fullExp);\n\t };\n\t var eso0 = (expensiveChecks || isPossiblyDangerousMemberName(key0)) ? eso : identity;\n\t var eso1 = (expensiveChecks || isPossiblyDangerousMemberName(key1)) ? eso : identity;\n\t var eso2 = (expensiveChecks || isPossiblyDangerousMemberName(key2)) ? eso : identity;\n\t var eso3 = (expensiveChecks || isPossiblyDangerousMemberName(key3)) ? eso : identity;\n\t var eso4 = (expensiveChecks || isPossiblyDangerousMemberName(key4)) ? eso : identity;\n\t\n\t return function cspSafeGetter(scope, locals) {\n\t var pathVal = (locals && locals.hasOwnProperty(key0)) ? locals : scope;\n\t\n\t if (pathVal == null) return pathVal;\n\t pathVal = eso0(pathVal[key0]);\n\t\n\t if (!key1) return pathVal;\n\t if (pathVal == null) return undefined;\n\t pathVal = eso1(pathVal[key1]);\n\t\n\t if (!key2) return pathVal;\n\t if (pathVal == null) return undefined;\n\t pathVal = eso2(pathVal[key2]);\n\t\n\t if (!key3) return pathVal;\n\t if (pathVal == null) return undefined;\n\t pathVal = eso3(pathVal[key3]);\n\t\n\t if (!key4) return pathVal;\n\t if (pathVal == null) return undefined;\n\t pathVal = eso4(pathVal[key4]);\n\t\n\t return pathVal;\n\t };\n\t}\n\t\n\tfunction getterFnWithEnsureSafeObject(fn, fullExpression) {\n\t return function(s, l) {\n\t return fn(s, l, ensureSafeObject, fullExpression);\n\t };\n\t}\n\t\n\tfunction getterFn(path, options, fullExp) {\n\t var expensiveChecks = options.expensiveChecks;\n\t var getterFnCache = (expensiveChecks ? getterFnCacheExpensive : getterFnCacheDefault);\n\t var fn = getterFnCache[path];\n\t if (fn) return fn;\n\t\n\t\n\t var pathKeys = path.split('.'),\n\t pathKeysLength = pathKeys.length;\n\t\n\t // http://jsperf.com/angularjs-parse-getter/6\n\t if (options.csp) {\n\t if (pathKeysLength < 6) {\n\t fn = cspSafeGetterFn(pathKeys[0], pathKeys[1], pathKeys[2], pathKeys[3], pathKeys[4], fullExp, expensiveChecks);\n\t } else {\n\t fn = function cspSafeGetter(scope, locals) {\n\t var i = 0, val;\n\t do {\n\t val = cspSafeGetterFn(pathKeys[i++], pathKeys[i++], pathKeys[i++], pathKeys[i++],\n\t pathKeys[i++], fullExp, expensiveChecks)(scope, locals);\n\t\n\t locals = undefined; // clear after first iteration\n\t scope = val;\n\t } while (i < pathKeysLength);\n\t return val;\n\t };\n\t }\n\t } else {\n\t var code = '';\n\t if (expensiveChecks) {\n\t code += 's = eso(s, fe);\\nl = eso(l, fe);\\n';\n\t }\n\t var needsEnsureSafeObject = expensiveChecks;\n\t forEach(pathKeys, function(key, index) {\n\t ensureSafeMemberName(key, fullExp);\n\t var lookupJs = (index\n\t // we simply dereference 's' on any .dot notation\n\t ? 's'\n\t // but if we are first then we check locals first, and if so read it first\n\t : '((l&&l.hasOwnProperty(\"' + key + '\"))?l:s)') + '.' + key;\n\t if (expensiveChecks || isPossiblyDangerousMemberName(key)) {\n\t lookupJs = 'eso(' + lookupJs + ', fe)';\n\t needsEnsureSafeObject = true;\n\t }\n\t code += 'if(s == null) return undefined;\\n' +\n\t 's=' + lookupJs + ';\\n';\n\t });\n\t code += 'return s;';\n\t\n\t /* jshint -W054 */\n\t var evaledFnGetter = new Function('s', 'l', 'eso', 'fe', code); // s=scope, l=locals, eso=ensureSafeObject\n\t /* jshint +W054 */\n\t evaledFnGetter.toString = valueFn(code);\n\t if (needsEnsureSafeObject) {\n\t evaledFnGetter = getterFnWithEnsureSafeObject(evaledFnGetter, fullExp);\n\t }\n\t fn = evaledFnGetter;\n\t }\n\t\n\t fn.sharedGetter = true;\n\t fn.assign = function(self, value, locals) {\n\t return setter(self, locals, path, value, path);\n\t };\n\t getterFnCache[path] = fn;\n\t return fn;\n\t}\n\t\n\tvar objectValueOf = Object.prototype.valueOf;\n\t\n\tfunction getValueOf(value) {\n\t return isFunction(value.valueOf) ? value.valueOf() : objectValueOf.call(value);\n\t}\n\t\n\t///////////////////////////////////\n\t\n\t/**\n\t * @ngdoc service\n\t * @name $parse\n\t * @kind function\n\t *\n\t * @description\n\t *\n\t * Converts Angular {@link guide/expression expression} into a function.\n\t *\n\t * ```js\n\t * var getter = $parse('user.name');\n\t * var setter = getter.assign;\n\t * var context = {user:{name:'angular'}};\n\t * var locals = {user:{name:'local'}};\n\t *\n\t * expect(getter(context)).toEqual('angular');\n\t * setter(context, 'newValue');\n\t * expect(context.user.name).toEqual('newValue');\n\t * expect(getter(context, locals)).toEqual('local');\n\t * ```\n\t *\n\t *\n\t * @param {string} expression String expression to compile.\n\t * @returns {function(context, locals)} a function which represents the compiled expression:\n\t *\n\t * * `context` – `{object}` – an object against which any expressions embedded in the strings\n\t * are evaluated against (typically a scope object).\n\t * * `locals` – `{object=}` – local variables context object, useful for overriding values in\n\t * `context`.\n\t *\n\t * The returned function also has the following properties:\n\t * * `literal` – `{boolean}` – whether the expression's top-level node is a JavaScript\n\t * literal.\n\t * * `constant` – `{boolean}` – whether the expression is made entirely of JavaScript\n\t * constant literals.\n\t * * `assign` – `{?function(context, value)}` – if the expression is assignable, this will be\n\t * set to a function to change its value on the given context.\n\t *\n\t */\n\t\n\t\n\t/**\n\t * @ngdoc provider\n\t * @name $parseProvider\n\t *\n\t * @description\n\t * `$parseProvider` can be used for configuring the default behavior of the {@link ng.$parse $parse}\n\t * service.\n\t */\n\tfunction $ParseProvider() {\n\t var cacheDefault = createMap();\n\t var cacheExpensive = createMap();\n\t\n\t\n\t\n\t this.$get = ['$filter', '$sniffer', function($filter, $sniffer) {\n\t var $parseOptions = {\n\t csp: $sniffer.csp,\n\t expensiveChecks: false\n\t },\n\t $parseOptionsExpensive = {\n\t csp: $sniffer.csp,\n\t expensiveChecks: true\n\t };\n\t\n\t function wrapSharedExpression(exp) {\n\t var wrapped = exp;\n\t\n\t if (exp.sharedGetter) {\n\t wrapped = function $parseWrapper(self, locals) {\n\t return exp(self, locals);\n\t };\n\t wrapped.literal = exp.literal;\n\t wrapped.constant = exp.constant;\n\t wrapped.assign = exp.assign;\n\t }\n\t\n\t return wrapped;\n\t }\n\t\n\t return function $parse(exp, interceptorFn, expensiveChecks) {\n\t var parsedExpression, oneTime, cacheKey;\n\t\n\t switch (typeof exp) {\n\t case 'string':\n\t cacheKey = exp = exp.trim();\n\t\n\t var cache = (expensiveChecks ? cacheExpensive : cacheDefault);\n\t parsedExpression = cache[cacheKey];\n\t\n\t if (!parsedExpression) {\n\t if (exp.charAt(0) === ':' && exp.charAt(1) === ':') {\n\t oneTime = true;\n\t exp = exp.substring(2);\n\t }\n\t\n\t var parseOptions = expensiveChecks ? $parseOptionsExpensive : $parseOptions;\n\t var lexer = new Lexer(parseOptions);\n\t var parser = new Parser(lexer, $filter, parseOptions);\n\t parsedExpression = parser.parse(exp);\n\t\n\t if (parsedExpression.constant) {\n\t parsedExpression.$$watchDelegate = constantWatchDelegate;\n\t } else if (oneTime) {\n\t //oneTime is not part of the exp passed to the Parser so we may have to\n\t //wrap the parsedExpression before adding a $$watchDelegate\n\t parsedExpression = wrapSharedExpression(parsedExpression);\n\t parsedExpression.$$watchDelegate = parsedExpression.literal ?\n\t oneTimeLiteralWatchDelegate : oneTimeWatchDelegate;\n\t } else if (parsedExpression.inputs) {\n\t parsedExpression.$$watchDelegate = inputsWatchDelegate;\n\t }\n\t\n\t cache[cacheKey] = parsedExpression;\n\t }\n\t return addInterceptor(parsedExpression, interceptorFn);\n\t\n\t case 'function':\n\t return addInterceptor(exp, interceptorFn);\n\t\n\t default:\n\t return addInterceptor(noop, interceptorFn);\n\t }\n\t };\n\t\n\t function collectExpressionInputs(inputs, list) {\n\t for (var i = 0, ii = inputs.length; i < ii; i++) {\n\t var input = inputs[i];\n\t if (!input.constant) {\n\t if (input.inputs) {\n\t collectExpressionInputs(input.inputs, list);\n\t } else if (list.indexOf(input) === -1) { // TODO(perf) can we do better?\n\t list.push(input);\n\t }\n\t }\n\t }\n\t\n\t return list;\n\t }\n\t\n\t function expressionInputDirtyCheck(newValue, oldValueOfValue) {\n\t\n\t if (newValue == null || oldValueOfValue == null) { // null/undefined\n\t return newValue === oldValueOfValue;\n\t }\n\t\n\t if (typeof newValue === 'object') {\n\t\n\t // attempt to convert the value to a primitive type\n\t // TODO(docs): add a note to docs that by implementing valueOf even objects and arrays can\n\t // be cheaply dirty-checked\n\t newValue = getValueOf(newValue);\n\t\n\t if (typeof newValue === 'object') {\n\t // objects/arrays are not supported - deep-watching them would be too expensive\n\t return false;\n\t }\n\t\n\t // fall-through to the primitive equality check\n\t }\n\t\n\t //Primitive or NaN\n\t return newValue === oldValueOfValue || (newValue !== newValue && oldValueOfValue !== oldValueOfValue);\n\t }\n\t\n\t function inputsWatchDelegate(scope, listener, objectEquality, parsedExpression) {\n\t var inputExpressions = parsedExpression.$$inputs ||\n\t (parsedExpression.$$inputs = collectExpressionInputs(parsedExpression.inputs, []));\n\t\n\t var lastResult;\n\t\n\t if (inputExpressions.length === 1) {\n\t var oldInputValue = expressionInputDirtyCheck; // init to something unique so that equals check fails\n\t inputExpressions = inputExpressions[0];\n\t return scope.$watch(function expressionInputWatch(scope) {\n\t var newInputValue = inputExpressions(scope);\n\t if (!expressionInputDirtyCheck(newInputValue, oldInputValue)) {\n\t lastResult = parsedExpression(scope);\n\t oldInputValue = newInputValue && getValueOf(newInputValue);\n\t }\n\t return lastResult;\n\t }, listener, objectEquality);\n\t }\n\t\n\t var oldInputValueOfValues = [];\n\t for (var i = 0, ii = inputExpressions.length; i < ii; i++) {\n\t oldInputValueOfValues[i] = expressionInputDirtyCheck; // init to something unique so that equals check fails\n\t }\n\t\n\t return scope.$watch(function expressionInputsWatch(scope) {\n\t var changed = false;\n\t\n\t for (var i = 0, ii = inputExpressions.length; i < ii; i++) {\n\t var newInputValue = inputExpressions[i](scope);\n\t if (changed || (changed = !expressionInputDirtyCheck(newInputValue, oldInputValueOfValues[i]))) {\n\t oldInputValueOfValues[i] = newInputValue && getValueOf(newInputValue);\n\t }\n\t }\n\t\n\t if (changed) {\n\t lastResult = parsedExpression(scope);\n\t }\n\t\n\t return lastResult;\n\t }, listener, objectEquality);\n\t }\n\t\n\t function oneTimeWatchDelegate(scope, listener, objectEquality, parsedExpression) {\n\t var unwatch, lastValue;\n\t return unwatch = scope.$watch(function oneTimeWatch(scope) {\n\t return parsedExpression(scope);\n\t }, function oneTimeListener(value, old, scope) {\n\t lastValue = value;\n\t if (isFunction(listener)) {\n\t listener.apply(this, arguments);\n\t }\n\t if (isDefined(value)) {\n\t scope.$$postDigest(function() {\n\t if (isDefined(lastValue)) {\n\t unwatch();\n\t }\n\t });\n\t }\n\t }, objectEquality);\n\t }\n\t\n\t function oneTimeLiteralWatchDelegate(scope, listener, objectEquality, parsedExpression) {\n\t var unwatch, lastValue;\n\t return unwatch = scope.$watch(function oneTimeWatch(scope) {\n\t return parsedExpression(scope);\n\t }, function oneTimeListener(value, old, scope) {\n\t lastValue = value;\n\t if (isFunction(listener)) {\n\t listener.call(this, value, old, scope);\n\t }\n\t if (isAllDefined(value)) {\n\t scope.$$postDigest(function() {\n\t if (isAllDefined(lastValue)) unwatch();\n\t });\n\t }\n\t }, objectEquality);\n\t\n\t function isAllDefined(value) {\n\t var allDefined = true;\n\t forEach(value, function(val) {\n\t if (!isDefined(val)) allDefined = false;\n\t });\n\t return allDefined;\n\t }\n\t }\n\t\n\t function constantWatchDelegate(scope, listener, objectEquality, parsedExpression) {\n\t var unwatch;\n\t return unwatch = scope.$watch(function constantWatch(scope) {\n\t return parsedExpression(scope);\n\t }, function constantListener(value, old, scope) {\n\t if (isFunction(listener)) {\n\t listener.apply(this, arguments);\n\t }\n\t unwatch();\n\t }, objectEquality);\n\t }\n\t\n\t function addInterceptor(parsedExpression, interceptorFn) {\n\t if (!interceptorFn) return parsedExpression;\n\t var watchDelegate = parsedExpression.$$watchDelegate;\n\t\n\t var regularWatch =\n\t watchDelegate !== oneTimeLiteralWatchDelegate &&\n\t watchDelegate !== oneTimeWatchDelegate;\n\t\n\t var fn = regularWatch ? function regularInterceptedExpression(scope, locals) {\n\t var value = parsedExpression(scope, locals);\n\t return interceptorFn(value, scope, locals);\n\t } : function oneTimeInterceptedExpression(scope, locals) {\n\t var value = parsedExpression(scope, locals);\n\t var result = interceptorFn(value, scope, locals);\n\t // we only return the interceptor's result if the\n\t // initial value is defined (for bind-once)\n\t return isDefined(value) ? result : value;\n\t };\n\t\n\t // Propagate $$watchDelegates other then inputsWatchDelegate\n\t if (parsedExpression.$$watchDelegate &&\n\t parsedExpression.$$watchDelegate !== inputsWatchDelegate) {\n\t fn.$$watchDelegate = parsedExpression.$$watchDelegate;\n\t } else if (!interceptorFn.$stateful) {\n\t // If there is an interceptor, but no watchDelegate then treat the interceptor like\n\t // we treat filters - it is assumed to be a pure function unless flagged with $stateful\n\t fn.$$watchDelegate = inputsWatchDelegate;\n\t fn.inputs = [parsedExpression];\n\t }\n\t\n\t return fn;\n\t }\n\t }];\n\t}\n\t\n\t/**\n\t * @ngdoc service\n\t * @name $q\n\t * @requires $rootScope\n\t *\n\t * @description\n\t * A service that helps you run functions asynchronously, and use their return values (or exceptions)\n\t * when they are done processing.\n\t *\n\t * This is an implementation of promises/deferred objects inspired by\n\t * [Kris Kowal's Q](https://github.com/kriskowal/q).\n\t *\n\t * $q can be used in two fashions --- one which is more similar to Kris Kowal's Q or jQuery's Deferred\n\t * implementations, and the other which resembles ES6 promises to some degree.\n\t *\n\t * # $q constructor\n\t *\n\t * The streamlined ES6 style promise is essentially just using $q as a constructor which takes a `resolver`\n\t * function as the first argument. This is similar to the native Promise implementation from ES6 Harmony,\n\t * see [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise).\n\t *\n\t * While the constructor-style use is supported, not all of the supporting methods from ES6 Harmony promises are\n\t * available yet.\n\t *\n\t * It can be used like so:\n\t *\n\t * ```js\n\t * // for the purpose of this example let's assume that variables `$q` and `okToGreet`\n\t * // are available in the current lexical scope (they could have been injected or passed in).\n\t *\n\t * function asyncGreet(name) {\n\t * // perform some asynchronous operation, resolve or reject the promise when appropriate.\n\t * return $q(function(resolve, reject) {\n\t * setTimeout(function() {\n\t * if (okToGreet(name)) {\n\t * resolve('Hello, ' + name + '!');\n\t * } else {\n\t * reject('Greeting ' + name + ' is not allowed.');\n\t * }\n\t * }, 1000);\n\t * });\n\t * }\n\t *\n\t * var promise = asyncGreet('Robin Hood');\n\t * promise.then(function(greeting) {\n\t * alert('Success: ' + greeting);\n\t * }, function(reason) {\n\t * alert('Failed: ' + reason);\n\t * });\n\t * ```\n\t *\n\t * Note: progress/notify callbacks are not currently supported via the ES6-style interface.\n\t *\n\t * However, the more traditional CommonJS-style usage is still available, and documented below.\n\t *\n\t * [The CommonJS Promise proposal](http://wiki.commonjs.org/wiki/Promises) describes a promise as an\n\t * interface for interacting with an object that represents the result of an action that is\n\t * performed asynchronously, and may or may not be finished at any given point in time.\n\t *\n\t * From the perspective of dealing with error handling, deferred and promise APIs are to\n\t * asynchronous programming what `try`, `catch` and `throw` keywords are to synchronous programming.\n\t *\n\t * ```js\n\t * // for the purpose of this example let's assume that variables `$q` and `okToGreet`\n\t * // are available in the current lexical scope (they could have been injected or passed in).\n\t *\n\t * function asyncGreet(name) {\n\t * var deferred = $q.defer();\n\t *\n\t * setTimeout(function() {\n\t * deferred.notify('About to greet ' + name + '.');\n\t *\n\t * if (okToGreet(name)) {\n\t * deferred.resolve('Hello, ' + name + '!');\n\t * } else {\n\t * deferred.reject('Greeting ' + name + ' is not allowed.');\n\t * }\n\t * }, 1000);\n\t *\n\t * return deferred.promise;\n\t * }\n\t *\n\t * var promise = asyncGreet('Robin Hood');\n\t * promise.then(function(greeting) {\n\t * alert('Success: ' + greeting);\n\t * }, function(reason) {\n\t * alert('Failed: ' + reason);\n\t * }, function(update) {\n\t * alert('Got notification: ' + update);\n\t * });\n\t * ```\n\t *\n\t * At first it might not be obvious why this extra complexity is worth the trouble. The payoff\n\t * comes in the way of guarantees that promise and deferred APIs make, see\n\t * https://github.com/kriskowal/uncommonjs/blob/master/promises/specification.md.\n\t *\n\t * Additionally the promise api allows for composition that is very hard to do with the\n\t * traditional callback ([CPS](http://en.wikipedia.org/wiki/Continuation-passing_style)) approach.\n\t * For more on this please see the [Q documentation](https://github.com/kriskowal/q) especially the\n\t * section on serial or parallel joining of promises.\n\t *\n\t * # The Deferred API\n\t *\n\t * A new instance of deferred is constructed by calling `$q.defer()`.\n\t *\n\t * The purpose of the deferred object is to expose the associated Promise instance as well as APIs\n\t * that can be used for signaling the successful or unsuccessful completion, as well as the status\n\t * of the task.\n\t *\n\t * **Methods**\n\t *\n\t * - `resolve(value)` – resolves the derived promise with the `value`. If the value is a rejection\n\t * constructed via `$q.reject`, the promise will be rejected instead.\n\t * - `reject(reason)` – rejects the derived promise with the `reason`. This is equivalent to\n\t * resolving it with a rejection constructed via `$q.reject`.\n\t * - `notify(value)` - provides updates on the status of the promise's execution. This may be called\n\t * multiple times before the promise is either resolved or rejected.\n\t *\n\t * **Properties**\n\t *\n\t * - promise – `{Promise}` – promise object associated with this deferred.\n\t *\n\t *\n\t * # The Promise API\n\t *\n\t * A new promise instance is created when a deferred instance is created and can be retrieved by\n\t * calling `deferred.promise`.\n\t *\n\t * The purpose of the promise object is to allow for interested parties to get access to the result\n\t * of the deferred task when it completes.\n\t *\n\t * **Methods**\n\t *\n\t * - `then(successCallback, errorCallback, notifyCallback)` – regardless of when the promise was or\n\t * will be resolved or rejected, `then` calls one of the success or error callbacks asynchronously\n\t * as soon as the result is available. The callbacks are called with a single argument: the result\n\t * or rejection reason. Additionally, the notify callback may be called zero or more times to\n\t * provide a progress indication, before the promise is resolved or rejected.\n\t *\n\t * This method *returns a new promise* which is resolved or rejected via the return value of the\n\t * `successCallback`, `errorCallback`. It also notifies via the return value of the\n\t * `notifyCallback` method. The promise cannot be resolved or rejected from the notifyCallback\n\t * method.\n\t *\n\t * - `catch(errorCallback)` – shorthand for `promise.then(null, errorCallback)`\n\t *\n\t * - `finally(callback, notifyCallback)` – allows you to observe either the fulfillment or rejection of a promise,\n\t * but to do so without modifying the final value. This is useful to release resources or do some\n\t * clean-up that needs to be done whether the promise was rejected or resolved. See the [full\n\t * specification](https://github.com/kriskowal/q/wiki/API-Reference#promisefinallycallback) for\n\t * more information.\n\t *\n\t * # Chaining promises\n\t *\n\t * Because calling the `then` method of a promise returns a new derived promise, it is easily\n\t * possible to create a chain of promises:\n\t *\n\t * ```js\n\t * promiseB = promiseA.then(function(result) {\n\t * return result + 1;\n\t * });\n\t *\n\t * // promiseB will be resolved immediately after promiseA is resolved and its value\n\t * // will be the result of promiseA incremented by 1\n\t * ```\n\t *\n\t * It is possible to create chains of any length and since a promise can be resolved with another\n\t * promise (which will defer its resolution further), it is possible to pause/defer resolution of\n\t * the promises at any point in the chain. This makes it possible to implement powerful APIs like\n\t * $http's response interceptors.\n\t *\n\t *\n\t * # Differences between Kris Kowal's Q and $q\n\t *\n\t * There are two main differences:\n\t *\n\t * - $q is integrated with the {@link ng.$rootScope.Scope} Scope model observation\n\t * mechanism in angular, which means faster propagation of resolution or rejection into your\n\t * models and avoiding unnecessary browser repaints, which would result in flickering UI.\n\t * - Q has many more features than $q, but that comes at a cost of bytes. $q is tiny, but contains\n\t * all the important functionality needed for common async tasks.\n\t *\n\t * # Testing\n\t *\n\t * ```js\n\t * it('should simulate promise', inject(function($q, $rootScope) {\n\t * var deferred = $q.defer();\n\t * var promise = deferred.promise;\n\t * var resolvedValue;\n\t *\n\t * promise.then(function(value) { resolvedValue = value; });\n\t * expect(resolvedValue).toBeUndefined();\n\t *\n\t * // Simulate resolving of promise\n\t * deferred.resolve(123);\n\t * // Note that the 'then' function does not get called synchronously.\n\t * // This is because we want the promise API to always be async, whether or not\n\t * // it got called synchronously or asynchronously.\n\t * expect(resolvedValue).toBeUndefined();\n\t *\n\t * // Propagate promise resolution to 'then' functions using $apply().\n\t * $rootScope.$apply();\n\t * expect(resolvedValue).toEqual(123);\n\t * }));\n\t * ```\n\t *\n\t * @param {function(function, function)} resolver Function which is responsible for resolving or\n\t * rejecting the newly created promise. The first parameter is a function which resolves the\n\t * promise, the second parameter is a function which rejects the promise.\n\t *\n\t * @returns {Promise} The newly created promise.\n\t */\n\tfunction $QProvider() {\n\t\n\t this.$get = ['$rootScope', '$exceptionHandler', function($rootScope, $exceptionHandler) {\n\t return qFactory(function(callback) {\n\t $rootScope.$evalAsync(callback);\n\t }, $exceptionHandler);\n\t }];\n\t}\n\t\n\tfunction $$QProvider() {\n\t this.$get = ['$browser', '$exceptionHandler', function($browser, $exceptionHandler) {\n\t return qFactory(function(callback) {\n\t $browser.defer(callback);\n\t }, $exceptionHandler);\n\t }];\n\t}\n\t\n\t/**\n\t * Constructs a promise manager.\n\t *\n\t * @param {function(function)} nextTick Function for executing functions in the next turn.\n\t * @param {function(...*)} exceptionHandler Function into which unexpected exceptions are passed for\n\t * debugging purposes.\n\t * @returns {object} Promise manager.\n\t */\n\tfunction qFactory(nextTick, exceptionHandler) {\n\t var $qMinErr = minErr('$q', TypeError);\n\t function callOnce(self, resolveFn, rejectFn) {\n\t var called = false;\n\t function wrap(fn) {\n\t return function(value) {\n\t if (called) return;\n\t called = true;\n\t fn.call(self, value);\n\t };\n\t }\n\t\n\t return [wrap(resolveFn), wrap(rejectFn)];\n\t }\n\t\n\t /**\n\t * @ngdoc method\n\t * @name ng.$q#defer\n\t * @kind function\n\t *\n\t * @description\n\t * Creates a `Deferred` object which represents a task which will finish in the future.\n\t *\n\t * @returns {Deferred} Returns a new instance of deferred.\n\t */\n\t var defer = function() {\n\t return new Deferred();\n\t };\n\t\n\t function Promise() {\n\t this.$$state = { status: 0 };\n\t }\n\t\n\t Promise.prototype = {\n\t then: function(onFulfilled, onRejected, progressBack) {\n\t var result = new Deferred();\n\t\n\t this.$$state.pending = this.$$state.pending || [];\n\t this.$$state.pending.push([result, onFulfilled, onRejected, progressBack]);\n\t if (this.$$state.status > 0) scheduleProcessQueue(this.$$state);\n\t\n\t return result.promise;\n\t },\n\t\n\t \"catch\": function(callback) {\n\t return this.then(null, callback);\n\t },\n\t\n\t \"finally\": function(callback, progressBack) {\n\t return this.then(function(value) {\n\t return handleCallback(value, true, callback);\n\t }, function(error) {\n\t return handleCallback(error, false, callback);\n\t }, progressBack);\n\t }\n\t };\n\t\n\t //Faster, more basic than angular.bind http://jsperf.com/angular-bind-vs-custom-vs-native\n\t function simpleBind(context, fn) {\n\t return function(value) {\n\t fn.call(context, value);\n\t };\n\t }\n\t\n\t function processQueue(state) {\n\t var fn, promise, pending;\n\t\n\t pending = state.pending;\n\t state.processScheduled = false;\n\t state.pending = undefined;\n\t for (var i = 0, ii = pending.length; i < ii; ++i) {\n\t promise = pending[i][0];\n\t fn = pending[i][state.status];\n\t try {\n\t if (isFunction(fn)) {\n\t promise.resolve(fn(state.value));\n\t } else if (state.status === 1) {\n\t promise.resolve(state.value);\n\t } else {\n\t promise.reject(state.value);\n\t }\n\t } catch (e) {\n\t promise.reject(e);\n\t exceptionHandler(e);\n\t }\n\t }\n\t }\n\t\n\t function scheduleProcessQueue(state) {\n\t if (state.processScheduled || !state.pending) return;\n\t state.processScheduled = true;\n\t nextTick(function() { processQueue(state); });\n\t }\n\t\n\t function Deferred() {\n\t this.promise = new Promise();\n\t //Necessary to support unbound execution :/\n\t this.resolve = simpleBind(this, this.resolve);\n\t this.reject = simpleBind(this, this.reject);\n\t this.notify = simpleBind(this, this.notify);\n\t }\n\t\n\t Deferred.prototype = {\n\t resolve: function(val) {\n\t if (this.promise.$$state.status) return;\n\t if (val === this.promise) {\n\t this.$$reject($qMinErr(\n\t 'qcycle',\n\t \"Expected promise to be resolved with value other than itself '{0}'\",\n\t val));\n\t } else {\n\t this.$$resolve(val);\n\t }\n\t\n\t },\n\t\n\t $$resolve: function(val) {\n\t var then, fns;\n\t\n\t fns = callOnce(this, this.$$resolve, this.$$reject);\n\t try {\n\t if ((isObject(val) || isFunction(val))) then = val && val.then;\n\t if (isFunction(then)) {\n\t this.promise.$$state.status = -1;\n\t then.call(val, fns[0], fns[1], this.notify);\n\t } else {\n\t this.promise.$$state.value = val;\n\t this.promise.$$state.status = 1;\n\t scheduleProcessQueue(this.promise.$$state);\n\t }\n\t } catch (e) {\n\t fns[1](e);\n\t exceptionHandler(e);\n\t }\n\t },\n\t\n\t reject: function(reason) {\n\t if (this.promise.$$state.status) return;\n\t this.$$reject(reason);\n\t },\n\t\n\t $$reject: function(reason) {\n\t this.promise.$$state.value = reason;\n\t this.promise.$$state.status = 2;\n\t scheduleProcessQueue(this.promise.$$state);\n\t },\n\t\n\t notify: function(progress) {\n\t var callbacks = this.promise.$$state.pending;\n\t\n\t if ((this.promise.$$state.status <= 0) && callbacks && callbacks.length) {\n\t nextTick(function() {\n\t var callback, result;\n\t for (var i = 0, ii = callbacks.length; i < ii; i++) {\n\t result = callbacks[i][0];\n\t callback = callbacks[i][3];\n\t try {\n\t result.notify(isFunction(callback) ? callback(progress) : progress);\n\t } catch (e) {\n\t exceptionHandler(e);\n\t }\n\t }\n\t });\n\t }\n\t }\n\t };\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $q#reject\n\t * @kind function\n\t *\n\t * @description\n\t * Creates a promise that is resolved as rejected with the specified `reason`. This api should be\n\t * used to forward rejection in a chain of promises. If you are dealing with the last promise in\n\t * a promise chain, you don't need to worry about it.\n\t *\n\t * When comparing deferreds/promises to the familiar behavior of try/catch/throw, think of\n\t * `reject` as the `throw` keyword in JavaScript. This also means that if you \"catch\" an error via\n\t * a promise error callback and you want to forward the error to the promise derived from the\n\t * current promise, you have to \"rethrow\" the error by returning a rejection constructed via\n\t * `reject`.\n\t *\n\t * ```js\n\t * promiseB = promiseA.then(function(result) {\n\t * // success: do something and resolve promiseB\n\t * // with the old or a new result\n\t * return result;\n\t * }, function(reason) {\n\t * // error: handle the error if possible and\n\t * // resolve promiseB with newPromiseOrValue,\n\t * // otherwise forward the rejection to promiseB\n\t * if (canHandle(reason)) {\n\t * // handle the error and recover\n\t * return newPromiseOrValue;\n\t * }\n\t * return $q.reject(reason);\n\t * });\n\t * ```\n\t *\n\t * @param {*} reason Constant, message, exception or an object representing the rejection reason.\n\t * @returns {Promise} Returns a promise that was already resolved as rejected with the `reason`.\n\t */\n\t var reject = function(reason) {\n\t var result = new Deferred();\n\t result.reject(reason);\n\t return result.promise;\n\t };\n\t\n\t var makePromise = function makePromise(value, resolved) {\n\t var result = new Deferred();\n\t if (resolved) {\n\t result.resolve(value);\n\t } else {\n\t result.reject(value);\n\t }\n\t return result.promise;\n\t };\n\t\n\t var handleCallback = function handleCallback(value, isResolved, callback) {\n\t var callbackOutput = null;\n\t try {\n\t if (isFunction(callback)) callbackOutput = callback();\n\t } catch (e) {\n\t return makePromise(e, false);\n\t }\n\t if (isPromiseLike(callbackOutput)) {\n\t return callbackOutput.then(function() {\n\t return makePromise(value, isResolved);\n\t }, function(error) {\n\t return makePromise(error, false);\n\t });\n\t } else {\n\t return makePromise(value, isResolved);\n\t }\n\t };\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $q#when\n\t * @kind function\n\t *\n\t * @description\n\t * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise.\n\t * This is useful when you are dealing with an object that might or might not be a promise, or if\n\t * the promise comes from a source that can't be trusted.\n\t *\n\t * @param {*} value Value or a promise\n\t * @returns {Promise} Returns a promise of the passed value or promise\n\t */\n\t\n\t\n\t var when = function(value, callback, errback, progressBack) {\n\t var result = new Deferred();\n\t result.resolve(value);\n\t return result.promise.then(callback, errback, progressBack);\n\t };\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $q#all\n\t * @kind function\n\t *\n\t * @description\n\t * Combines multiple promises into a single promise that is resolved when all of the input\n\t * promises are resolved.\n\t *\n\t * @param {Array.|Object.} promises An array or hash of promises.\n\t * @returns {Promise} Returns a single promise that will be resolved with an array/hash of values,\n\t * each value corresponding to the promise at the same index/key in the `promises` array/hash.\n\t * If any of the promises is resolved with a rejection, this resulting promise will be rejected\n\t * with the same rejection value.\n\t */\n\t\n\t function all(promises) {\n\t var deferred = new Deferred(),\n\t counter = 0,\n\t results = isArray(promises) ? [] : {};\n\t\n\t forEach(promises, function(promise, key) {\n\t counter++;\n\t when(promise).then(function(value) {\n\t if (results.hasOwnProperty(key)) return;\n\t results[key] = value;\n\t if (!(--counter)) deferred.resolve(results);\n\t }, function(reason) {\n\t if (results.hasOwnProperty(key)) return;\n\t deferred.reject(reason);\n\t });\n\t });\n\t\n\t if (counter === 0) {\n\t deferred.resolve(results);\n\t }\n\t\n\t return deferred.promise;\n\t }\n\t\n\t var $Q = function Q(resolver) {\n\t if (!isFunction(resolver)) {\n\t throw $qMinErr('norslvr', \"Expected resolverFn, got '{0}'\", resolver);\n\t }\n\t\n\t if (!(this instanceof Q)) {\n\t // More useful when $Q is the Promise itself.\n\t return new Q(resolver);\n\t }\n\t\n\t var deferred = new Deferred();\n\t\n\t function resolveFn(value) {\n\t deferred.resolve(value);\n\t }\n\t\n\t function rejectFn(reason) {\n\t deferred.reject(reason);\n\t }\n\t\n\t resolver(resolveFn, rejectFn);\n\t\n\t return deferred.promise;\n\t };\n\t\n\t $Q.defer = defer;\n\t $Q.reject = reject;\n\t $Q.when = when;\n\t $Q.all = all;\n\t\n\t return $Q;\n\t}\n\t\n\tfunction $$RAFProvider() { //rAF\n\t this.$get = ['$window', '$timeout', function($window, $timeout) {\n\t var requestAnimationFrame = $window.requestAnimationFrame ||\n\t $window.webkitRequestAnimationFrame;\n\t\n\t var cancelAnimationFrame = $window.cancelAnimationFrame ||\n\t $window.webkitCancelAnimationFrame ||\n\t $window.webkitCancelRequestAnimationFrame;\n\t\n\t var rafSupported = !!requestAnimationFrame;\n\t var rafFn = rafSupported\n\t ? function(fn) {\n\t var id = requestAnimationFrame(fn);\n\t return function() {\n\t cancelAnimationFrame(id);\n\t };\n\t }\n\t : function(fn) {\n\t var timer = $timeout(fn, 16.66, false); // 1000 / 60 = 16.666\n\t return function() {\n\t $timeout.cancel(timer);\n\t };\n\t };\n\t\n\t queueFn.supported = rafSupported;\n\t\n\t var cancelLastRAF;\n\t var taskCount = 0;\n\t var taskQueue = [];\n\t return queueFn;\n\t\n\t function flush() {\n\t for (var i = 0; i < taskQueue.length; i++) {\n\t var task = taskQueue[i];\n\t if (task) {\n\t taskQueue[i] = null;\n\t task();\n\t }\n\t }\n\t taskCount = taskQueue.length = 0;\n\t }\n\t\n\t function queueFn(asyncFn) {\n\t var index = taskQueue.length;\n\t\n\t taskCount++;\n\t taskQueue.push(asyncFn);\n\t\n\t if (index === 0) {\n\t cancelLastRAF = rafFn(flush);\n\t }\n\t\n\t return function cancelQueueFn() {\n\t if (index >= 0) {\n\t taskQueue[index] = null;\n\t index = null;\n\t\n\t if (--taskCount === 0 && cancelLastRAF) {\n\t cancelLastRAF();\n\t cancelLastRAF = null;\n\t taskQueue.length = 0;\n\t }\n\t }\n\t };\n\t }\n\t }];\n\t}\n\t\n\t/**\n\t * DESIGN NOTES\n\t *\n\t * The design decisions behind the scope are heavily favored for speed and memory consumption.\n\t *\n\t * The typical use of scope is to watch the expressions, which most of the time return the same\n\t * value as last time so we optimize the operation.\n\t *\n\t * Closures construction is expensive in terms of speed as well as memory:\n\t * - No closures, instead use prototypical inheritance for API\n\t * - Internal state needs to be stored on scope directly, which means that private state is\n\t * exposed as $$____ properties\n\t *\n\t * Loop operations are optimized by using while(count--) { ... }\n\t * - this means that in order to keep the same order of execution as addition we have to add\n\t * items to the array at the beginning (unshift) instead of at the end (push)\n\t *\n\t * Child scopes are created and removed often\n\t * - Using an array would be slow since inserts in middle are expensive so we use linked list\n\t *\n\t * There are few watches then a lot of observers. This is why you don't want the observer to be\n\t * implemented in the same way as watch. Watch requires return of initialization function which\n\t * are expensive to construct.\n\t */\n\t\n\t\n\t/**\n\t * @ngdoc provider\n\t * @name $rootScopeProvider\n\t * @description\n\t *\n\t * Provider for the $rootScope service.\n\t */\n\t\n\t/**\n\t * @ngdoc method\n\t * @name $rootScopeProvider#digestTtl\n\t * @description\n\t *\n\t * Sets the number of `$digest` iterations the scope should attempt to execute before giving up and\n\t * assuming that the model is unstable.\n\t *\n\t * The current default is 10 iterations.\n\t *\n\t * In complex applications it's possible that the dependencies between `$watch`s will result in\n\t * several digest iterations. However if an application needs more than the default 10 digest\n\t * iterations for its model to stabilize then you should investigate what is causing the model to\n\t * continuously change during the digest.\n\t *\n\t * Increasing the TTL could have performance implications, so you should not change it without\n\t * proper justification.\n\t *\n\t * @param {number} limit The number of digest iterations.\n\t */\n\t\n\t\n\t/**\n\t * @ngdoc service\n\t * @name $rootScope\n\t * @description\n\t *\n\t * Every application has a single root {@link ng.$rootScope.Scope scope}.\n\t * All other scopes are descendant scopes of the root scope. Scopes provide separation\n\t * between the model and the view, via a mechanism for watching the model for changes.\n\t * They also provide an event emission/broadcast and subscription facility. See the\n\t * {@link guide/scope developer guide on scopes}.\n\t */\n\tfunction $RootScopeProvider() {\n\t var TTL = 10;\n\t var $rootScopeMinErr = minErr('$rootScope');\n\t var lastDirtyWatch = null;\n\t var applyAsyncId = null;\n\t\n\t this.digestTtl = function(value) {\n\t if (arguments.length) {\n\t TTL = value;\n\t }\n\t return TTL;\n\t };\n\t\n\t function createChildScopeClass(parent) {\n\t function ChildScope() {\n\t this.$$watchers = this.$$nextSibling =\n\t this.$$childHead = this.$$childTail = null;\n\t this.$$listeners = {};\n\t this.$$listenerCount = {};\n\t this.$id = nextUid();\n\t this.$$ChildScope = null;\n\t }\n\t ChildScope.prototype = parent;\n\t return ChildScope;\n\t }\n\t\n\t this.$get = ['$injector', '$exceptionHandler', '$parse', '$browser',\n\t function($injector, $exceptionHandler, $parse, $browser) {\n\t\n\t function destroyChildScope($event) {\n\t $event.currentScope.$$destroyed = true;\n\t }\n\t\n\t /**\n\t * @ngdoc type\n\t * @name $rootScope.Scope\n\t *\n\t * @description\n\t * A root scope can be retrieved using the {@link ng.$rootScope $rootScope} key from the\n\t * {@link auto.$injector $injector}. Child scopes are created using the\n\t * {@link ng.$rootScope.Scope#$new $new()} method. (Most scopes are created automatically when\n\t * compiled HTML template is executed.)\n\t *\n\t * Here is a simple scope snippet to show how you can interact with the scope.\n\t * ```html\n\t * \n\t * ```\n\t *\n\t * # Inheritance\n\t * A scope can inherit from a parent scope, as in this example:\n\t * ```js\n\t var parent = $rootScope;\n\t var child = parent.$new();\n\t\n\t parent.salutation = \"Hello\";\n\t expect(child.salutation).toEqual('Hello');\n\t\n\t child.salutation = \"Welcome\";\n\t expect(child.salutation).toEqual('Welcome');\n\t expect(parent.salutation).toEqual('Hello');\n\t * ```\n\t *\n\t * When interacting with `Scope` in tests, additional helper methods are available on the\n\t * instances of `Scope` type. See {@link ngMock.$rootScope.Scope ngMock Scope} for additional\n\t * details.\n\t *\n\t *\n\t * @param {Object.=} providers Map of service factory which need to be\n\t * provided for the current scope. Defaults to {@link ng}.\n\t * @param {Object.=} instanceCache Provides pre-instantiated services which should\n\t * append/override services provided by `providers`. This is handy\n\t * when unit-testing and having the need to override a default\n\t * service.\n\t * @returns {Object} Newly created scope.\n\t *\n\t */\n\t function Scope() {\n\t this.$id = nextUid();\n\t this.$$phase = this.$parent = this.$$watchers =\n\t this.$$nextSibling = this.$$prevSibling =\n\t this.$$childHead = this.$$childTail = null;\n\t this.$root = this;\n\t this.$$destroyed = false;\n\t this.$$listeners = {};\n\t this.$$listenerCount = {};\n\t this.$$isolateBindings = null;\n\t }\n\t\n\t /**\n\t * @ngdoc property\n\t * @name $rootScope.Scope#$id\n\t *\n\t * @description\n\t * Unique scope ID (monotonically increasing) useful for debugging.\n\t */\n\t\n\t /**\n\t * @ngdoc property\n\t * @name $rootScope.Scope#$parent\n\t *\n\t * @description\n\t * Reference to the parent scope.\n\t */\n\t\n\t /**\n\t * @ngdoc property\n\t * @name $rootScope.Scope#$root\n\t *\n\t * @description\n\t * Reference to the root scope.\n\t */\n\t\n\t Scope.prototype = {\n\t constructor: Scope,\n\t /**\n\t * @ngdoc method\n\t * @name $rootScope.Scope#$new\n\t * @kind function\n\t *\n\t * @description\n\t * Creates a new child {@link ng.$rootScope.Scope scope}.\n\t *\n\t * The parent scope will propagate the {@link ng.$rootScope.Scope#$digest $digest()} event.\n\t * The scope can be removed from the scope hierarchy using {@link ng.$rootScope.Scope#$destroy $destroy()}.\n\t *\n\t * {@link ng.$rootScope.Scope#$destroy $destroy()} must be called on a scope when it is\n\t * desired for the scope and its child scopes to be permanently detached from the parent and\n\t * thus stop participating in model change detection and listener notification by invoking.\n\t *\n\t * @param {boolean} isolate If true, then the scope does not prototypically inherit from the\n\t * parent scope. The scope is isolated, as it can not see parent scope properties.\n\t * When creating widgets, it is useful for the widget to not accidentally read parent\n\t * state.\n\t *\n\t * @param {Scope} [parent=this] The {@link ng.$rootScope.Scope `Scope`} that will be the `$parent`\n\t * of the newly created scope. Defaults to `this` scope if not provided.\n\t * This is used when creating a transclude scope to correctly place it\n\t * in the scope hierarchy while maintaining the correct prototypical\n\t * inheritance.\n\t *\n\t * @returns {Object} The newly created child scope.\n\t *\n\t */\n\t $new: function(isolate, parent) {\n\t var child;\n\t\n\t parent = parent || this;\n\t\n\t if (isolate) {\n\t child = new Scope();\n\t child.$root = this.$root;\n\t } else {\n\t // Only create a child scope class if somebody asks for one,\n\t // but cache it to allow the VM to optimize lookups.\n\t if (!this.$$ChildScope) {\n\t this.$$ChildScope = createChildScopeClass(this);\n\t }\n\t child = new this.$$ChildScope();\n\t }\n\t child.$parent = parent;\n\t child.$$prevSibling = parent.$$childTail;\n\t if (parent.$$childHead) {\n\t parent.$$childTail.$$nextSibling = child;\n\t parent.$$childTail = child;\n\t } else {\n\t parent.$$childHead = parent.$$childTail = child;\n\t }\n\t\n\t // When the new scope is not isolated or we inherit from `this`, and\n\t // the parent scope is destroyed, the property `$$destroyed` is inherited\n\t // prototypically. In all other cases, this property needs to be set\n\t // when the parent scope is destroyed.\n\t // The listener needs to be added after the parent is set\n\t if (isolate || parent != this) child.$on('$destroy', destroyChildScope);\n\t\n\t return child;\n\t },\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $rootScope.Scope#$watch\n\t * @kind function\n\t *\n\t * @description\n\t * Registers a `listener` callback to be executed whenever the `watchExpression` changes.\n\t *\n\t * - The `watchExpression` is called on every call to {@link ng.$rootScope.Scope#$digest\n\t * $digest()} and should return the value that will be watched. (Since\n\t * {@link ng.$rootScope.Scope#$digest $digest()} reruns when it detects changes the\n\t * `watchExpression` can execute multiple times per\n\t * {@link ng.$rootScope.Scope#$digest $digest()} and should be idempotent.)\n\t * - The `listener` is called only when the value from the current `watchExpression` and the\n\t * previous call to `watchExpression` are not equal (with the exception of the initial run,\n\t * see below). Inequality is determined according to reference inequality,\n\t * [strict comparison](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comparison_Operators)\n\t * via the `!==` Javascript operator, unless `objectEquality == true`\n\t * (see next point)\n\t * - When `objectEquality == true`, inequality of the `watchExpression` is determined\n\t * according to the {@link angular.equals} function. To save the value of the object for\n\t * later comparison, the {@link angular.copy} function is used. This therefore means that\n\t * watching complex objects will have adverse memory and performance implications.\n\t * - The watch `listener` may change the model, which may trigger other `listener`s to fire.\n\t * This is achieved by rerunning the watchers until no changes are detected. The rerun\n\t * iteration limit is 10 to prevent an infinite loop deadlock.\n\t *\n\t *\n\t * If you want to be notified whenever {@link ng.$rootScope.Scope#$digest $digest} is called,\n\t * you can register a `watchExpression` function with no `listener`. (Since `watchExpression`\n\t * can execute multiple times per {@link ng.$rootScope.Scope#$digest $digest} cycle when a\n\t * change is detected, be prepared for multiple calls to your listener.)\n\t *\n\t * After a watcher is registered with the scope, the `listener` fn is called asynchronously\n\t * (via {@link ng.$rootScope.Scope#$evalAsync $evalAsync}) to initialize the\n\t * watcher. In rare cases, this is undesirable because the listener is called when the result\n\t * of `watchExpression` didn't change. To detect this scenario within the `listener` fn, you\n\t * can compare the `newVal` and `oldVal`. If these two values are identical (`===`) then the\n\t * listener was called due to initialization.\n\t *\n\t *\n\t *\n\t * # Example\n\t * ```js\n\t // let's assume that scope was dependency injected as the $rootScope\n\t var scope = $rootScope;\n\t scope.name = 'misko';\n\t scope.counter = 0;\n\t\n\t expect(scope.counter).toEqual(0);\n\t scope.$watch('name', function(newValue, oldValue) {\n\t scope.counter = scope.counter + 1;\n\t });\n\t expect(scope.counter).toEqual(0);\n\t\n\t scope.$digest();\n\t // the listener is always called during the first $digest loop after it was registered\n\t expect(scope.counter).toEqual(1);\n\t\n\t scope.$digest();\n\t // but now it will not be called unless the value changes\n\t expect(scope.counter).toEqual(1);\n\t\n\t scope.name = 'adam';\n\t scope.$digest();\n\t expect(scope.counter).toEqual(2);\n\t\n\t\n\t\n\t // Using a function as a watchExpression\n\t var food;\n\t scope.foodCounter = 0;\n\t expect(scope.foodCounter).toEqual(0);\n\t scope.$watch(\n\t // This function returns the value being watched. It is called for each turn of the $digest loop\n\t function() { return food; },\n\t // This is the change listener, called when the value returned from the above function changes\n\t function(newValue, oldValue) {\n\t if ( newValue !== oldValue ) {\n\t // Only increment the counter if the value changed\n\t scope.foodCounter = scope.foodCounter + 1;\n\t }\n\t }\n\t );\n\t // No digest has been run so the counter will be zero\n\t expect(scope.foodCounter).toEqual(0);\n\t\n\t // Run the digest but since food has not changed count will still be zero\n\t scope.$digest();\n\t expect(scope.foodCounter).toEqual(0);\n\t\n\t // Update food and run digest. Now the counter will increment\n\t food = 'cheeseburger';\n\t scope.$digest();\n\t expect(scope.foodCounter).toEqual(1);\n\t\n\t * ```\n\t *\n\t *\n\t *\n\t * @param {(function()|string)} watchExpression Expression that is evaluated on each\n\t * {@link ng.$rootScope.Scope#$digest $digest} cycle. A change in the return value triggers\n\t * a call to the `listener`.\n\t *\n\t * - `string`: Evaluated as {@link guide/expression expression}\n\t * - `function(scope)`: called with current `scope` as a parameter.\n\t * @param {function(newVal, oldVal, scope)} listener Callback called whenever the value\n\t * of `watchExpression` changes.\n\t *\n\t * - `newVal` contains the current value of the `watchExpression`\n\t * - `oldVal` contains the previous value of the `watchExpression`\n\t * - `scope` refers to the current scope\n\t * @param {boolean=} objectEquality Compare for object equality using {@link angular.equals} instead of\n\t * comparing for reference equality.\n\t * @returns {function()} Returns a deregistration function for this listener.\n\t */\n\t $watch: function(watchExp, listener, objectEquality) {\n\t var get = $parse(watchExp);\n\t\n\t if (get.$$watchDelegate) {\n\t return get.$$watchDelegate(this, listener, objectEquality, get);\n\t }\n\t var scope = this,\n\t array = scope.$$watchers,\n\t watcher = {\n\t fn: listener,\n\t last: initWatchVal,\n\t get: get,\n\t exp: watchExp,\n\t eq: !!objectEquality\n\t };\n\t\n\t lastDirtyWatch = null;\n\t\n\t if (!isFunction(listener)) {\n\t watcher.fn = noop;\n\t }\n\t\n\t if (!array) {\n\t array = scope.$$watchers = [];\n\t }\n\t // we use unshift since we use a while loop in $digest for speed.\n\t // the while loop reads in reverse order.\n\t array.unshift(watcher);\n\t\n\t return function deregisterWatch() {\n\t arrayRemove(array, watcher);\n\t lastDirtyWatch = null;\n\t };\n\t },\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $rootScope.Scope#$watchGroup\n\t * @kind function\n\t *\n\t * @description\n\t * A variant of {@link ng.$rootScope.Scope#$watch $watch()} where it watches an array of `watchExpressions`.\n\t * If any one expression in the collection changes the `listener` is executed.\n\t *\n\t * - The items in the `watchExpressions` array are observed via standard $watch operation and are examined on every\n\t * call to $digest() to see if any items changes.\n\t * - The `listener` is called whenever any expression in the `watchExpressions` array changes.\n\t *\n\t * @param {Array.} watchExpressions Array of expressions that will be individually\n\t * watched using {@link ng.$rootScope.Scope#$watch $watch()}\n\t *\n\t * @param {function(newValues, oldValues, scope)} listener Callback called whenever the return value of any\n\t * expression in `watchExpressions` changes\n\t * The `newValues` array contains the current values of the `watchExpressions`, with the indexes matching\n\t * those of `watchExpression`\n\t * and the `oldValues` array contains the previous values of the `watchExpressions`, with the indexes matching\n\t * those of `watchExpression`\n\t * The `scope` refers to the current scope.\n\t * @returns {function()} Returns a de-registration function for all listeners.\n\t */\n\t $watchGroup: function(watchExpressions, listener) {\n\t var oldValues = new Array(watchExpressions.length);\n\t var newValues = new Array(watchExpressions.length);\n\t var deregisterFns = [];\n\t var self = this;\n\t var changeReactionScheduled = false;\n\t var firstRun = true;\n\t\n\t if (!watchExpressions.length) {\n\t // No expressions means we call the listener ASAP\n\t var shouldCall = true;\n\t self.$evalAsync(function() {\n\t if (shouldCall) listener(newValues, newValues, self);\n\t });\n\t return function deregisterWatchGroup() {\n\t shouldCall = false;\n\t };\n\t }\n\t\n\t if (watchExpressions.length === 1) {\n\t // Special case size of one\n\t return this.$watch(watchExpressions[0], function watchGroupAction(value, oldValue, scope) {\n\t newValues[0] = value;\n\t oldValues[0] = oldValue;\n\t listener(newValues, (value === oldValue) ? newValues : oldValues, scope);\n\t });\n\t }\n\t\n\t forEach(watchExpressions, function(expr, i) {\n\t var unwatchFn = self.$watch(expr, function watchGroupSubAction(value, oldValue) {\n\t newValues[i] = value;\n\t oldValues[i] = oldValue;\n\t if (!changeReactionScheduled) {\n\t changeReactionScheduled = true;\n\t self.$evalAsync(watchGroupAction);\n\t }\n\t });\n\t deregisterFns.push(unwatchFn);\n\t });\n\t\n\t function watchGroupAction() {\n\t changeReactionScheduled = false;\n\t\n\t if (firstRun) {\n\t firstRun = false;\n\t listener(newValues, newValues, self);\n\t } else {\n\t listener(newValues, oldValues, self);\n\t }\n\t }\n\t\n\t return function deregisterWatchGroup() {\n\t while (deregisterFns.length) {\n\t deregisterFns.shift()();\n\t }\n\t };\n\t },\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $rootScope.Scope#$watchCollection\n\t * @kind function\n\t *\n\t * @description\n\t * Shallow watches the properties of an object and fires whenever any of the properties change\n\t * (for arrays, this implies watching the array items; for object maps, this implies watching\n\t * the properties). If a change is detected, the `listener` callback is fired.\n\t *\n\t * - The `obj` collection is observed via standard $watch operation and is examined on every\n\t * call to $digest() to see if any items have been added, removed, or moved.\n\t * - The `listener` is called whenever anything within the `obj` has changed. Examples include\n\t * adding, removing, and moving items belonging to an object or array.\n\t *\n\t *\n\t * # Example\n\t * ```js\n\t $scope.names = ['igor', 'matias', 'misko', 'james'];\n\t $scope.dataCount = 4;\n\t\n\t $scope.$watchCollection('names', function(newNames, oldNames) {\n\t $scope.dataCount = newNames.length;\n\t });\n\t\n\t expect($scope.dataCount).toEqual(4);\n\t $scope.$digest();\n\t\n\t //still at 4 ... no changes\n\t expect($scope.dataCount).toEqual(4);\n\t\n\t $scope.names.pop();\n\t $scope.$digest();\n\t\n\t //now there's been a change\n\t expect($scope.dataCount).toEqual(3);\n\t * ```\n\t *\n\t *\n\t * @param {string|function(scope)} obj Evaluated as {@link guide/expression expression}. The\n\t * expression value should evaluate to an object or an array which is observed on each\n\t * {@link ng.$rootScope.Scope#$digest $digest} cycle. Any shallow change within the\n\t * collection will trigger a call to the `listener`.\n\t *\n\t * @param {function(newCollection, oldCollection, scope)} listener a callback function called\n\t * when a change is detected.\n\t * - The `newCollection` object is the newly modified data obtained from the `obj` expression\n\t * - The `oldCollection` object is a copy of the former collection data.\n\t * Due to performance considerations, the`oldCollection` value is computed only if the\n\t * `listener` function declares two or more arguments.\n\t * - The `scope` argument refers to the current scope.\n\t *\n\t * @returns {function()} Returns a de-registration function for this listener. When the\n\t * de-registration function is executed, the internal watch operation is terminated.\n\t */\n\t $watchCollection: function(obj, listener) {\n\t $watchCollectionInterceptor.$stateful = true;\n\t\n\t var self = this;\n\t // the current value, updated on each dirty-check run\n\t var newValue;\n\t // a shallow copy of the newValue from the last dirty-check run,\n\t // updated to match newValue during dirty-check run\n\t var oldValue;\n\t // a shallow copy of the newValue from when the last change happened\n\t var veryOldValue;\n\t // only track veryOldValue if the listener is asking for it\n\t var trackVeryOldValue = (listener.length > 1);\n\t var changeDetected = 0;\n\t var changeDetector = $parse(obj, $watchCollectionInterceptor);\n\t var internalArray = [];\n\t var internalObject = {};\n\t var initRun = true;\n\t var oldLength = 0;\n\t\n\t function $watchCollectionInterceptor(_value) {\n\t newValue = _value;\n\t var newLength, key, bothNaN, newItem, oldItem;\n\t\n\t // If the new value is undefined, then return undefined as the watch may be a one-time watch\n\t if (isUndefined(newValue)) return;\n\t\n\t if (!isObject(newValue)) { // if primitive\n\t if (oldValue !== newValue) {\n\t oldValue = newValue;\n\t changeDetected++;\n\t }\n\t } else if (isArrayLike(newValue)) {\n\t if (oldValue !== internalArray) {\n\t // we are transitioning from something which was not an array into array.\n\t oldValue = internalArray;\n\t oldLength = oldValue.length = 0;\n\t changeDetected++;\n\t }\n\t\n\t newLength = newValue.length;\n\t\n\t if (oldLength !== newLength) {\n\t // if lengths do not match we need to trigger change notification\n\t changeDetected++;\n\t oldValue.length = oldLength = newLength;\n\t }\n\t // copy the items to oldValue and look for changes.\n\t for (var i = 0; i < newLength; i++) {\n\t oldItem = oldValue[i];\n\t newItem = newValue[i];\n\t\n\t bothNaN = (oldItem !== oldItem) && (newItem !== newItem);\n\t if (!bothNaN && (oldItem !== newItem)) {\n\t changeDetected++;\n\t oldValue[i] = newItem;\n\t }\n\t }\n\t } else {\n\t if (oldValue !== internalObject) {\n\t // we are transitioning from something which was not an object into object.\n\t oldValue = internalObject = {};\n\t oldLength = 0;\n\t changeDetected++;\n\t }\n\t // copy the items to oldValue and look for changes.\n\t newLength = 0;\n\t for (key in newValue) {\n\t if (newValue.hasOwnProperty(key)) {\n\t newLength++;\n\t newItem = newValue[key];\n\t oldItem = oldValue[key];\n\t\n\t if (key in oldValue) {\n\t bothNaN = (oldItem !== oldItem) && (newItem !== newItem);\n\t if (!bothNaN && (oldItem !== newItem)) {\n\t changeDetected++;\n\t oldValue[key] = newItem;\n\t }\n\t } else {\n\t oldLength++;\n\t oldValue[key] = newItem;\n\t changeDetected++;\n\t }\n\t }\n\t }\n\t if (oldLength > newLength) {\n\t // we used to have more keys, need to find them and destroy them.\n\t changeDetected++;\n\t for (key in oldValue) {\n\t if (!newValue.hasOwnProperty(key)) {\n\t oldLength--;\n\t delete oldValue[key];\n\t }\n\t }\n\t }\n\t }\n\t return changeDetected;\n\t }\n\t\n\t function $watchCollectionAction() {\n\t if (initRun) {\n\t initRun = false;\n\t listener(newValue, newValue, self);\n\t } else {\n\t listener(newValue, veryOldValue, self);\n\t }\n\t\n\t // make a copy for the next time a collection is changed\n\t if (trackVeryOldValue) {\n\t if (!isObject(newValue)) {\n\t //primitive\n\t veryOldValue = newValue;\n\t } else if (isArrayLike(newValue)) {\n\t veryOldValue = new Array(newValue.length);\n\t for (var i = 0; i < newValue.length; i++) {\n\t veryOldValue[i] = newValue[i];\n\t }\n\t } else { // if object\n\t veryOldValue = {};\n\t for (var key in newValue) {\n\t if (hasOwnProperty.call(newValue, key)) {\n\t veryOldValue[key] = newValue[key];\n\t }\n\t }\n\t }\n\t }\n\t }\n\t\n\t return this.$watch(changeDetector, $watchCollectionAction);\n\t },\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $rootScope.Scope#$digest\n\t * @kind function\n\t *\n\t * @description\n\t * Processes all of the {@link ng.$rootScope.Scope#$watch watchers} of the current scope and\n\t * its children. Because a {@link ng.$rootScope.Scope#$watch watcher}'s listener can change\n\t * the model, the `$digest()` keeps calling the {@link ng.$rootScope.Scope#$watch watchers}\n\t * until no more listeners are firing. This means that it is possible to get into an infinite\n\t * loop. This function will throw `'Maximum iteration limit exceeded.'` if the number of\n\t * iterations exceeds 10.\n\t *\n\t * Usually, you don't call `$digest()` directly in\n\t * {@link ng.directive:ngController controllers} or in\n\t * {@link ng.$compileProvider#directive directives}.\n\t * Instead, you should call {@link ng.$rootScope.Scope#$apply $apply()} (typically from within\n\t * a {@link ng.$compileProvider#directive directive}), which will force a `$digest()`.\n\t *\n\t * If you want to be notified whenever `$digest()` is called,\n\t * you can register a `watchExpression` function with\n\t * {@link ng.$rootScope.Scope#$watch $watch()} with no `listener`.\n\t *\n\t * In unit tests, you may need to call `$digest()` to simulate the scope life cycle.\n\t *\n\t * # Example\n\t * ```js\n\t var scope = ...;\n\t scope.name = 'misko';\n\t scope.counter = 0;\n\t\n\t expect(scope.counter).toEqual(0);\n\t scope.$watch('name', function(newValue, oldValue) {\n\t scope.counter = scope.counter + 1;\n\t });\n\t expect(scope.counter).toEqual(0);\n\t\n\t scope.$digest();\n\t // the listener is always called during the first $digest loop after it was registered\n\t expect(scope.counter).toEqual(1);\n\t\n\t scope.$digest();\n\t // but now it will not be called unless the value changes\n\t expect(scope.counter).toEqual(1);\n\t\n\t scope.name = 'adam';\n\t scope.$digest();\n\t expect(scope.counter).toEqual(2);\n\t * ```\n\t *\n\t */\n\t $digest: function() {\n\t var watch, value, last,\n\t watchers,\n\t length,\n\t dirty, ttl = TTL,\n\t next, current, target = this,\n\t watchLog = [],\n\t logIdx, logMsg, asyncTask;\n\t\n\t beginPhase('$digest');\n\t // Check for changes to browser url that happened in sync before the call to $digest\n\t $browser.$$checkUrlChange();\n\t\n\t if (this === $rootScope && applyAsyncId !== null) {\n\t // If this is the root scope, and $applyAsync has scheduled a deferred $apply(), then\n\t // cancel the scheduled $apply and flush the queue of expressions to be evaluated.\n\t $browser.defer.cancel(applyAsyncId);\n\t flushApplyAsync();\n\t }\n\t\n\t lastDirtyWatch = null;\n\t\n\t do { // \"while dirty\" loop\n\t dirty = false;\n\t current = target;\n\t\n\t while (asyncQueue.length) {\n\t try {\n\t asyncTask = asyncQueue.shift();\n\t asyncTask.scope.$eval(asyncTask.expression, asyncTask.locals);\n\t } catch (e) {\n\t $exceptionHandler(e);\n\t }\n\t lastDirtyWatch = null;\n\t }\n\t\n\t traverseScopesLoop:\n\t do { // \"traverse the scopes\" loop\n\t if ((watchers = current.$$watchers)) {\n\t // process our watches\n\t length = watchers.length;\n\t while (length--) {\n\t try {\n\t watch = watchers[length];\n\t // Most common watches are on primitives, in which case we can short\n\t // circuit it with === operator, only when === fails do we use .equals\n\t if (watch) {\n\t if ((value = watch.get(current)) !== (last = watch.last) &&\n\t !(watch.eq\n\t ? equals(value, last)\n\t : (typeof value === 'number' && typeof last === 'number'\n\t && isNaN(value) && isNaN(last)))) {\n\t dirty = true;\n\t lastDirtyWatch = watch;\n\t watch.last = watch.eq ? copy(value, null) : value;\n\t watch.fn(value, ((last === initWatchVal) ? value : last), current);\n\t if (ttl < 5) {\n\t logIdx = 4 - ttl;\n\t if (!watchLog[logIdx]) watchLog[logIdx] = [];\n\t watchLog[logIdx].push({\n\t msg: isFunction(watch.exp) ? 'fn: ' + (watch.exp.name || watch.exp.toString()) : watch.exp,\n\t newVal: value,\n\t oldVal: last\n\t });\n\t }\n\t } else if (watch === lastDirtyWatch) {\n\t // If the most recently dirty watcher is now clean, short circuit since the remaining watchers\n\t // have already been tested.\n\t dirty = false;\n\t break traverseScopesLoop;\n\t }\n\t }\n\t } catch (e) {\n\t $exceptionHandler(e);\n\t }\n\t }\n\t }\n\t\n\t // Insanity Warning: scope depth-first traversal\n\t // yes, this code is a bit crazy, but it works and we have tests to prove it!\n\t // this piece should be kept in sync with the traversal in $broadcast\n\t if (!(next = (current.$$childHead ||\n\t (current !== target && current.$$nextSibling)))) {\n\t while (current !== target && !(next = current.$$nextSibling)) {\n\t current = current.$parent;\n\t }\n\t }\n\t } while ((current = next));\n\t\n\t // `break traverseScopesLoop;` takes us to here\n\t\n\t if ((dirty || asyncQueue.length) && !(ttl--)) {\n\t clearPhase();\n\t throw $rootScopeMinErr('infdig',\n\t '{0} $digest() iterations reached. Aborting!\\n' +\n\t 'Watchers fired in the last 5 iterations: {1}',\n\t TTL, watchLog);\n\t }\n\t\n\t } while (dirty || asyncQueue.length);\n\t\n\t clearPhase();\n\t\n\t while (postDigestQueue.length) {\n\t try {\n\t postDigestQueue.shift()();\n\t } catch (e) {\n\t $exceptionHandler(e);\n\t }\n\t }\n\t },\n\t\n\t\n\t /**\n\t * @ngdoc event\n\t * @name $rootScope.Scope#$destroy\n\t * @eventType broadcast on scope being destroyed\n\t *\n\t * @description\n\t * Broadcasted when a scope and its children are being destroyed.\n\t *\n\t * Note that, in AngularJS, there is also a `$destroy` jQuery event, which can be used to\n\t * clean up DOM bindings before an element is removed from the DOM.\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $rootScope.Scope#$destroy\n\t * @kind function\n\t *\n\t * @description\n\t * Removes the current scope (and all of its children) from the parent scope. Removal implies\n\t * that calls to {@link ng.$rootScope.Scope#$digest $digest()} will no longer\n\t * propagate to the current scope and its children. Removal also implies that the current\n\t * scope is eligible for garbage collection.\n\t *\n\t * The `$destroy()` is usually used by directives such as\n\t * {@link ng.directive:ngRepeat ngRepeat} for managing the\n\t * unrolling of the loop.\n\t *\n\t * Just before a scope is destroyed, a `$destroy` event is broadcasted on this scope.\n\t * Application code can register a `$destroy` event handler that will give it a chance to\n\t * perform any necessary cleanup.\n\t *\n\t * Note that, in AngularJS, there is also a `$destroy` jQuery event, which can be used to\n\t * clean up DOM bindings before an element is removed from the DOM.\n\t */\n\t $destroy: function() {\n\t // we can't destroy the root scope or a scope that has been already destroyed\n\t if (this.$$destroyed) return;\n\t var parent = this.$parent;\n\t\n\t this.$broadcast('$destroy');\n\t this.$$destroyed = true;\n\t if (this === $rootScope) return;\n\t\n\t for (var eventName in this.$$listenerCount) {\n\t decrementListenerCount(this, this.$$listenerCount[eventName], eventName);\n\t }\n\t\n\t // sever all the references to parent scopes (after this cleanup, the current scope should\n\t // not be retained by any of our references and should be eligible for garbage collection)\n\t if (parent.$$childHead == this) parent.$$childHead = this.$$nextSibling;\n\t if (parent.$$childTail == this) parent.$$childTail = this.$$prevSibling;\n\t if (this.$$prevSibling) this.$$prevSibling.$$nextSibling = this.$$nextSibling;\n\t if (this.$$nextSibling) this.$$nextSibling.$$prevSibling = this.$$prevSibling;\n\t\n\t // Disable listeners, watchers and apply/digest methods\n\t this.$destroy = this.$digest = this.$apply = this.$evalAsync = this.$applyAsync = noop;\n\t this.$on = this.$watch = this.$watchGroup = function() { return noop; };\n\t this.$$listeners = {};\n\t\n\t // All of the code below is bogus code that works around V8's memory leak via optimized code\n\t // and inline caches.\n\t //\n\t // see:\n\t // - https://code.google.com/p/v8/issues/detail?id=2073#c26\n\t // - https://github.com/angular/angular.js/issues/6794#issuecomment-38648909\n\t // - https://github.com/angular/angular.js/issues/1313#issuecomment-10378451\n\t\n\t this.$parent = this.$$nextSibling = this.$$prevSibling = this.$$childHead =\n\t this.$$childTail = this.$root = this.$$watchers = null;\n\t },\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $rootScope.Scope#$eval\n\t * @kind function\n\t *\n\t * @description\n\t * Executes the `expression` on the current scope and returns the result. Any exceptions in\n\t * the expression are propagated (uncaught). This is useful when evaluating Angular\n\t * expressions.\n\t *\n\t * # Example\n\t * ```js\n\t var scope = ng.$rootScope.Scope();\n\t scope.a = 1;\n\t scope.b = 2;\n\t\n\t expect(scope.$eval('a+b')).toEqual(3);\n\t expect(scope.$eval(function(scope){ return scope.a + scope.b; })).toEqual(3);\n\t * ```\n\t *\n\t * @param {(string|function())=} expression An angular expression to be executed.\n\t *\n\t * - `string`: execute using the rules as defined in {@link guide/expression expression}.\n\t * - `function(scope)`: execute the function with the current `scope` parameter.\n\t *\n\t * @param {(object)=} locals Local variables object, useful for overriding values in scope.\n\t * @returns {*} The result of evaluating the expression.\n\t */\n\t $eval: function(expr, locals) {\n\t return $parse(expr)(this, locals);\n\t },\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $rootScope.Scope#$evalAsync\n\t * @kind function\n\t *\n\t * @description\n\t * Executes the expression on the current scope at a later point in time.\n\t *\n\t * The `$evalAsync` makes no guarantees as to when the `expression` will be executed, only\n\t * that:\n\t *\n\t * - it will execute after the function that scheduled the evaluation (preferably before DOM\n\t * rendering).\n\t * - at least one {@link ng.$rootScope.Scope#$digest $digest cycle} will be performed after\n\t * `expression` execution.\n\t *\n\t * Any exceptions from the execution of the expression are forwarded to the\n\t * {@link ng.$exceptionHandler $exceptionHandler} service.\n\t *\n\t * __Note:__ if this function is called outside of a `$digest` cycle, a new `$digest` cycle\n\t * will be scheduled. However, it is encouraged to always call code that changes the model\n\t * from within an `$apply` call. That includes code evaluated via `$evalAsync`.\n\t *\n\t * @param {(string|function())=} expression An angular expression to be executed.\n\t *\n\t * - `string`: execute using the rules as defined in {@link guide/expression expression}.\n\t * - `function(scope)`: execute the function with the current `scope` parameter.\n\t *\n\t * @param {(object)=} locals Local variables object, useful for overriding values in scope.\n\t */\n\t $evalAsync: function(expr, locals) {\n\t // if we are outside of an $digest loop and this is the first time we are scheduling async\n\t // task also schedule async auto-flush\n\t if (!$rootScope.$$phase && !asyncQueue.length) {\n\t $browser.defer(function() {\n\t if (asyncQueue.length) {\n\t $rootScope.$digest();\n\t }\n\t });\n\t }\n\t\n\t asyncQueue.push({scope: this, expression: expr, locals: locals});\n\t },\n\t\n\t $$postDigest: function(fn) {\n\t postDigestQueue.push(fn);\n\t },\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $rootScope.Scope#$apply\n\t * @kind function\n\t *\n\t * @description\n\t * `$apply()` is used to execute an expression in angular from outside of the angular\n\t * framework. (For example from browser DOM events, setTimeout, XHR or third party libraries).\n\t * Because we are calling into the angular framework we need to perform proper scope life\n\t * cycle of {@link ng.$exceptionHandler exception handling},\n\t * {@link ng.$rootScope.Scope#$digest executing watches}.\n\t *\n\t * ## Life cycle\n\t *\n\t * # Pseudo-Code of `$apply()`\n\t * ```js\n\t function $apply(expr) {\n\t try {\n\t return $eval(expr);\n\t } catch (e) {\n\t $exceptionHandler(e);\n\t } finally {\n\t $root.$digest();\n\t }\n\t }\n\t * ```\n\t *\n\t *\n\t * Scope's `$apply()` method transitions through the following stages:\n\t *\n\t * 1. The {@link guide/expression expression} is executed using the\n\t * {@link ng.$rootScope.Scope#$eval $eval()} method.\n\t * 2. Any exceptions from the execution of the expression are forwarded to the\n\t * {@link ng.$exceptionHandler $exceptionHandler} service.\n\t * 3. The {@link ng.$rootScope.Scope#$watch watch} listeners are fired immediately after the\n\t * expression was executed using the {@link ng.$rootScope.Scope#$digest $digest()} method.\n\t *\n\t *\n\t * @param {(string|function())=} exp An angular expression to be executed.\n\t *\n\t * - `string`: execute using the rules as defined in {@link guide/expression expression}.\n\t * - `function(scope)`: execute the function with current `scope` parameter.\n\t *\n\t * @returns {*} The result of evaluating the expression.\n\t */\n\t $apply: function(expr) {\n\t try {\n\t beginPhase('$apply');\n\t return this.$eval(expr);\n\t } catch (e) {\n\t $exceptionHandler(e);\n\t } finally {\n\t clearPhase();\n\t try {\n\t $rootScope.$digest();\n\t } catch (e) {\n\t $exceptionHandler(e);\n\t throw e;\n\t }\n\t }\n\t },\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $rootScope.Scope#$applyAsync\n\t * @kind function\n\t *\n\t * @description\n\t * Schedule the invocation of $apply to occur at a later time. The actual time difference\n\t * varies across browsers, but is typically around ~10 milliseconds.\n\t *\n\t * This can be used to queue up multiple expressions which need to be evaluated in the same\n\t * digest.\n\t *\n\t * @param {(string|function())=} exp An angular expression to be executed.\n\t *\n\t * - `string`: execute using the rules as defined in {@link guide/expression expression}.\n\t * - `function(scope)`: execute the function with current `scope` parameter.\n\t */\n\t $applyAsync: function(expr) {\n\t var scope = this;\n\t expr && applyAsyncQueue.push($applyAsyncExpression);\n\t scheduleApplyAsync();\n\t\n\t function $applyAsyncExpression() {\n\t scope.$eval(expr);\n\t }\n\t },\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $rootScope.Scope#$on\n\t * @kind function\n\t *\n\t * @description\n\t * Listens on events of a given type. See {@link ng.$rootScope.Scope#$emit $emit} for\n\t * discussion of event life cycle.\n\t *\n\t * The event listener function format is: `function(event, args...)`. The `event` object\n\t * passed into the listener has the following attributes:\n\t *\n\t * - `targetScope` - `{Scope}`: the scope on which the event was `$emit`-ed or\n\t * `$broadcast`-ed.\n\t * - `currentScope` - `{Scope}`: the scope that is currently handling the event. Once the\n\t * event propagates through the scope hierarchy, this property is set to null.\n\t * - `name` - `{string}`: name of the event.\n\t * - `stopPropagation` - `{function=}`: calling `stopPropagation` function will cancel\n\t * further event propagation (available only for events that were `$emit`-ed).\n\t * - `preventDefault` - `{function}`: calling `preventDefault` sets `defaultPrevented` flag\n\t * to true.\n\t * - `defaultPrevented` - `{boolean}`: true if `preventDefault` was called.\n\t *\n\t * @param {string} name Event name to listen on.\n\t * @param {function(event, ...args)} listener Function to call when the event is emitted.\n\t * @returns {function()} Returns a deregistration function for this listener.\n\t */\n\t $on: function(name, listener) {\n\t var namedListeners = this.$$listeners[name];\n\t if (!namedListeners) {\n\t this.$$listeners[name] = namedListeners = [];\n\t }\n\t namedListeners.push(listener);\n\t\n\t var current = this;\n\t do {\n\t if (!current.$$listenerCount[name]) {\n\t current.$$listenerCount[name] = 0;\n\t }\n\t current.$$listenerCount[name]++;\n\t } while ((current = current.$parent));\n\t\n\t var self = this;\n\t return function() {\n\t var indexOfListener = namedListeners.indexOf(listener);\n\t if (indexOfListener !== -1) {\n\t namedListeners[indexOfListener] = null;\n\t decrementListenerCount(self, 1, name);\n\t }\n\t };\n\t },\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $rootScope.Scope#$emit\n\t * @kind function\n\t *\n\t * @description\n\t * Dispatches an event `name` upwards through the scope hierarchy notifying the\n\t * registered {@link ng.$rootScope.Scope#$on} listeners.\n\t *\n\t * The event life cycle starts at the scope on which `$emit` was called. All\n\t * {@link ng.$rootScope.Scope#$on listeners} listening for `name` event on this scope get\n\t * notified. Afterwards, the event traverses upwards toward the root scope and calls all\n\t * registered listeners along the way. The event will stop propagating if one of the listeners\n\t * cancels it.\n\t *\n\t * Any exception emitted from the {@link ng.$rootScope.Scope#$on listeners} will be passed\n\t * onto the {@link ng.$exceptionHandler $exceptionHandler} service.\n\t *\n\t * @param {string} name Event name to emit.\n\t * @param {...*} args Optional one or more arguments which will be passed onto the event listeners.\n\t * @return {Object} Event object (see {@link ng.$rootScope.Scope#$on}).\n\t */\n\t $emit: function(name, args) {\n\t var empty = [],\n\t namedListeners,\n\t scope = this,\n\t stopPropagation = false,\n\t event = {\n\t name: name,\n\t targetScope: scope,\n\t stopPropagation: function() {stopPropagation = true;},\n\t preventDefault: function() {\n\t event.defaultPrevented = true;\n\t },\n\t defaultPrevented: false\n\t },\n\t listenerArgs = concat([event], arguments, 1),\n\t i, length;\n\t\n\t do {\n\t namedListeners = scope.$$listeners[name] || empty;\n\t event.currentScope = scope;\n\t for (i = 0, length = namedListeners.length; i < length; i++) {\n\t\n\t // if listeners were deregistered, defragment the array\n\t if (!namedListeners[i]) {\n\t namedListeners.splice(i, 1);\n\t i--;\n\t length--;\n\t continue;\n\t }\n\t try {\n\t //allow all listeners attached to the current scope to run\n\t namedListeners[i].apply(null, listenerArgs);\n\t } catch (e) {\n\t $exceptionHandler(e);\n\t }\n\t }\n\t //if any listener on the current scope stops propagation, prevent bubbling\n\t if (stopPropagation) {\n\t event.currentScope = null;\n\t return event;\n\t }\n\t //traverse upwards\n\t scope = scope.$parent;\n\t } while (scope);\n\t\n\t event.currentScope = null;\n\t\n\t return event;\n\t },\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $rootScope.Scope#$broadcast\n\t * @kind function\n\t *\n\t * @description\n\t * Dispatches an event `name` downwards to all child scopes (and their children) notifying the\n\t * registered {@link ng.$rootScope.Scope#$on} listeners.\n\t *\n\t * The event life cycle starts at the scope on which `$broadcast` was called. All\n\t * {@link ng.$rootScope.Scope#$on listeners} listening for `name` event on this scope get\n\t * notified. Afterwards, the event propagates to all direct and indirect scopes of the current\n\t * scope and calls all registered listeners along the way. The event cannot be canceled.\n\t *\n\t * Any exception emitted from the {@link ng.$rootScope.Scope#$on listeners} will be passed\n\t * onto the {@link ng.$exceptionHandler $exceptionHandler} service.\n\t *\n\t * @param {string} name Event name to broadcast.\n\t * @param {...*} args Optional one or more arguments which will be passed onto the event listeners.\n\t * @return {Object} Event object, see {@link ng.$rootScope.Scope#$on}\n\t */\n\t $broadcast: function(name, args) {\n\t var target = this,\n\t current = target,\n\t next = target,\n\t event = {\n\t name: name,\n\t targetScope: target,\n\t preventDefault: function() {\n\t event.defaultPrevented = true;\n\t },\n\t defaultPrevented: false\n\t };\n\t\n\t if (!target.$$listenerCount[name]) return event;\n\t\n\t var listenerArgs = concat([event], arguments, 1),\n\t listeners, i, length;\n\t\n\t //down while you can, then up and next sibling or up and next sibling until back at root\n\t while ((current = next)) {\n\t event.currentScope = current;\n\t listeners = current.$$listeners[name] || [];\n\t for (i = 0, length = listeners.length; i < length; i++) {\n\t // if listeners were deregistered, defragment the array\n\t if (!listeners[i]) {\n\t listeners.splice(i, 1);\n\t i--;\n\t length--;\n\t continue;\n\t }\n\t\n\t try {\n\t listeners[i].apply(null, listenerArgs);\n\t } catch (e) {\n\t $exceptionHandler(e);\n\t }\n\t }\n\t\n\t // Insanity Warning: scope depth-first traversal\n\t // yes, this code is a bit crazy, but it works and we have tests to prove it!\n\t // this piece should be kept in sync with the traversal in $digest\n\t // (though it differs due to having the extra check for $$listenerCount)\n\t if (!(next = ((current.$$listenerCount[name] && current.$$childHead) ||\n\t (current !== target && current.$$nextSibling)))) {\n\t while (current !== target && !(next = current.$$nextSibling)) {\n\t current = current.$parent;\n\t }\n\t }\n\t }\n\t\n\t event.currentScope = null;\n\t return event;\n\t }\n\t };\n\t\n\t var $rootScope = new Scope();\n\t\n\t //The internal queues. Expose them on the $rootScope for debugging/testing purposes.\n\t var asyncQueue = $rootScope.$$asyncQueue = [];\n\t var postDigestQueue = $rootScope.$$postDigestQueue = [];\n\t var applyAsyncQueue = $rootScope.$$applyAsyncQueue = [];\n\t\n\t return $rootScope;\n\t\n\t\n\t function beginPhase(phase) {\n\t if ($rootScope.$$phase) {\n\t throw $rootScopeMinErr('inprog', '{0} already in progress', $rootScope.$$phase);\n\t }\n\t\n\t $rootScope.$$phase = phase;\n\t }\n\t\n\t function clearPhase() {\n\t $rootScope.$$phase = null;\n\t }\n\t\n\t\n\t function decrementListenerCount(current, count, name) {\n\t do {\n\t current.$$listenerCount[name] -= count;\n\t\n\t if (current.$$listenerCount[name] === 0) {\n\t delete current.$$listenerCount[name];\n\t }\n\t } while ((current = current.$parent));\n\t }\n\t\n\t /**\n\t * function used as an initial value for watchers.\n\t * because it's unique we can easily tell it apart from other values\n\t */\n\t function initWatchVal() {}\n\t\n\t function flushApplyAsync() {\n\t while (applyAsyncQueue.length) {\n\t try {\n\t applyAsyncQueue.shift()();\n\t } catch (e) {\n\t $exceptionHandler(e);\n\t }\n\t }\n\t applyAsyncId = null;\n\t }\n\t\n\t function scheduleApplyAsync() {\n\t if (applyAsyncId === null) {\n\t applyAsyncId = $browser.defer(function() {\n\t $rootScope.$apply(flushApplyAsync);\n\t });\n\t }\n\t }\n\t }];\n\t}\n\t\n\t/**\n\t * @description\n\t * Private service to sanitize uris for links and images. Used by $compile and $sanitize.\n\t */\n\tfunction $$SanitizeUriProvider() {\n\t var aHrefSanitizationWhitelist = /^\\s*(https?|ftp|mailto|tel|file):/,\n\t imgSrcSanitizationWhitelist = /^\\s*((https?|ftp|file|blob):|data:image\\/)/;\n\t\n\t /**\n\t * @description\n\t * Retrieves or overrides the default regular expression that is used for whitelisting of safe\n\t * urls during a[href] sanitization.\n\t *\n\t * The sanitization is a security measure aimed at prevent XSS attacks via html links.\n\t *\n\t * Any url about to be assigned to a[href] via data-binding is first normalized and turned into\n\t * an absolute url. Afterwards, the url is matched against the `aHrefSanitizationWhitelist`\n\t * regular expression. If a match is found, the original url is written into the dom. Otherwise,\n\t * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.\n\t *\n\t * @param {RegExp=} regexp New regexp to whitelist urls with.\n\t * @returns {RegExp|ng.$compileProvider} Current RegExp if called without value or self for\n\t * chaining otherwise.\n\t */\n\t this.aHrefSanitizationWhitelist = function(regexp) {\n\t if (isDefined(regexp)) {\n\t aHrefSanitizationWhitelist = regexp;\n\t return this;\n\t }\n\t return aHrefSanitizationWhitelist;\n\t };\n\t\n\t\n\t /**\n\t * @description\n\t * Retrieves or overrides the default regular expression that is used for whitelisting of safe\n\t * urls during img[src] sanitization.\n\t *\n\t * The sanitization is a security measure aimed at prevent XSS attacks via html links.\n\t *\n\t * Any url about to be assigned to img[src] via data-binding is first normalized and turned into\n\t * an absolute url. Afterwards, the url is matched against the `imgSrcSanitizationWhitelist`\n\t * regular expression. If a match is found, the original url is written into the dom. Otherwise,\n\t * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.\n\t *\n\t * @param {RegExp=} regexp New regexp to whitelist urls with.\n\t * @returns {RegExp|ng.$compileProvider} Current RegExp if called without value or self for\n\t * chaining otherwise.\n\t */\n\t this.imgSrcSanitizationWhitelist = function(regexp) {\n\t if (isDefined(regexp)) {\n\t imgSrcSanitizationWhitelist = regexp;\n\t return this;\n\t }\n\t return imgSrcSanitizationWhitelist;\n\t };\n\t\n\t this.$get = function() {\n\t return function sanitizeUri(uri, isImage) {\n\t var regex = isImage ? imgSrcSanitizationWhitelist : aHrefSanitizationWhitelist;\n\t var normalizedVal;\n\t normalizedVal = urlResolve(uri).href;\n\t if (normalizedVal !== '' && !normalizedVal.match(regex)) {\n\t return 'unsafe:' + normalizedVal;\n\t }\n\t return uri;\n\t };\n\t };\n\t}\n\t\n\t/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n\t * Any commits to this file should be reviewed with security in mind. *\n\t * Changes to this file can potentially create security vulnerabilities. *\n\t * An approval from 2 Core members with history of modifying *\n\t * this file is required. *\n\t * *\n\t * Does the change somehow allow for arbitrary javascript to be executed? *\n\t * Or allows for someone to change the prototype of built-in objects? *\n\t * Or gives undesired access to variables likes document or window? *\n\t * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\t\n\tvar $sceMinErr = minErr('$sce');\n\t\n\tvar SCE_CONTEXTS = {\n\t HTML: 'html',\n\t CSS: 'css',\n\t URL: 'url',\n\t // RESOURCE_URL is a subtype of URL used in contexts where a privileged resource is sourced from a\n\t // url. (e.g. ng-include, script src, templateUrl)\n\t RESOURCE_URL: 'resourceUrl',\n\t JS: 'js'\n\t};\n\t\n\t// Helper functions follow.\n\t\n\tfunction adjustMatcher(matcher) {\n\t if (matcher === 'self') {\n\t return matcher;\n\t } else if (isString(matcher)) {\n\t // Strings match exactly except for 2 wildcards - '*' and '**'.\n\t // '*' matches any character except those from the set ':/.?&'.\n\t // '**' matches any character (like .* in a RegExp).\n\t // More than 2 *'s raises an error as it's ill defined.\n\t if (matcher.indexOf('***') > -1) {\n\t throw $sceMinErr('iwcard',\n\t 'Illegal sequence *** in string matcher. String: {0}', matcher);\n\t }\n\t matcher = escapeForRegexp(matcher).\n\t replace('\\\\*\\\\*', '.*').\n\t replace('\\\\*', '[^:/.?&;]*');\n\t return new RegExp('^' + matcher + '$');\n\t } else if (isRegExp(matcher)) {\n\t // The only other type of matcher allowed is a Regexp.\n\t // Match entire URL / disallow partial matches.\n\t // Flags are reset (i.e. no global, ignoreCase or multiline)\n\t return new RegExp('^' + matcher.source + '$');\n\t } else {\n\t throw $sceMinErr('imatcher',\n\t 'Matchers may only be \"self\", string patterns or RegExp objects');\n\t }\n\t}\n\t\n\t\n\tfunction adjustMatchers(matchers) {\n\t var adjustedMatchers = [];\n\t if (isDefined(matchers)) {\n\t forEach(matchers, function(matcher) {\n\t adjustedMatchers.push(adjustMatcher(matcher));\n\t });\n\t }\n\t return adjustedMatchers;\n\t}\n\t\n\t\n\t/**\n\t * @ngdoc service\n\t * @name $sceDelegate\n\t * @kind function\n\t *\n\t * @description\n\t *\n\t * `$sceDelegate` is a service that is used by the `$sce` service to provide {@link ng.$sce Strict\n\t * Contextual Escaping (SCE)} services to AngularJS.\n\t *\n\t * Typically, you would configure or override the {@link ng.$sceDelegate $sceDelegate} instead of\n\t * the `$sce` service to customize the way Strict Contextual Escaping works in AngularJS. This is\n\t * because, while the `$sce` provides numerous shorthand methods, etc., you really only need to\n\t * override 3 core functions (`trustAs`, `getTrusted` and `valueOf`) to replace the way things\n\t * work because `$sce` delegates to `$sceDelegate` for these operations.\n\t *\n\t * Refer {@link ng.$sceDelegateProvider $sceDelegateProvider} to configure this service.\n\t *\n\t * The default instance of `$sceDelegate` should work out of the box with little pain. While you\n\t * can override it completely to change the behavior of `$sce`, the common case would\n\t * involve configuring the {@link ng.$sceDelegateProvider $sceDelegateProvider} instead by setting\n\t * your own whitelists and blacklists for trusting URLs used for loading AngularJS resources such as\n\t * templates. Refer {@link ng.$sceDelegateProvider#resourceUrlWhitelist\n\t * $sceDelegateProvider.resourceUrlWhitelist} and {@link\n\t * ng.$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist}\n\t */\n\t\n\t/**\n\t * @ngdoc provider\n\t * @name $sceDelegateProvider\n\t * @description\n\t *\n\t * The `$sceDelegateProvider` provider allows developers to configure the {@link ng.$sceDelegate\n\t * $sceDelegate} service. This allows one to get/set the whitelists and blacklists used to ensure\n\t * that the URLs used for sourcing Angular templates are safe. Refer {@link\n\t * ng.$sceDelegateProvider#resourceUrlWhitelist $sceDelegateProvider.resourceUrlWhitelist} and\n\t * {@link ng.$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist}\n\t *\n\t * For the general details about this service in Angular, read the main page for {@link ng.$sce\n\t * Strict Contextual Escaping (SCE)}.\n\t *\n\t * **Example**: Consider the following case. \n\t *\n\t * - your app is hosted at url `http://myapp.example.com/`\n\t * - but some of your templates are hosted on other domains you control such as\n\t * `http://srv01.assets.example.com/`,  `http://srv02.assets.example.com/`, etc.\n\t * - and you have an open redirect at `http://myapp.example.com/clickThru?...`.\n\t *\n\t * Here is what a secure configuration for this scenario might look like:\n\t *\n\t * ```\n\t * angular.module('myApp', []).config(function($sceDelegateProvider) {\n\t * $sceDelegateProvider.resourceUrlWhitelist([\n\t * // Allow same origin resource loads.\n\t * 'self',\n\t * // Allow loading from our assets domain. Notice the difference between * and **.\n\t * 'http://srv*.assets.example.com/**'\n\t * ]);\n\t *\n\t * // The blacklist overrides the whitelist so the open redirect here is blocked.\n\t * $sceDelegateProvider.resourceUrlBlacklist([\n\t * 'http://myapp.example.com/clickThru**'\n\t * ]);\n\t * });\n\t * ```\n\t */\n\t\n\tfunction $SceDelegateProvider() {\n\t this.SCE_CONTEXTS = SCE_CONTEXTS;\n\t\n\t // Resource URLs can also be trusted by policy.\n\t var resourceUrlWhitelist = ['self'],\n\t resourceUrlBlacklist = [];\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sceDelegateProvider#resourceUrlWhitelist\n\t * @kind function\n\t *\n\t * @param {Array=} whitelist When provided, replaces the resourceUrlWhitelist with the value\n\t * provided. This must be an array or null. A snapshot of this array is used so further\n\t * changes to the array are ignored.\n\t *\n\t * Follow {@link ng.$sce#resourceUrlPatternItem this link} for a description of the items\n\t * allowed in this array.\n\t *\n\t * Note: **an empty whitelist array will block all URLs**!\n\t *\n\t * @return {Array} the currently set whitelist array.\n\t *\n\t * The **default value** when no whitelist has been explicitly set is `['self']` allowing only\n\t * same origin resource requests.\n\t *\n\t * @description\n\t * Sets/Gets the whitelist of trusted resource URLs.\n\t */\n\t this.resourceUrlWhitelist = function(value) {\n\t if (arguments.length) {\n\t resourceUrlWhitelist = adjustMatchers(value);\n\t }\n\t return resourceUrlWhitelist;\n\t };\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sceDelegateProvider#resourceUrlBlacklist\n\t * @kind function\n\t *\n\t * @param {Array=} blacklist When provided, replaces the resourceUrlBlacklist with the value\n\t * provided. This must be an array or null. A snapshot of this array is used so further\n\t * changes to the array are ignored.\n\t *\n\t * Follow {@link ng.$sce#resourceUrlPatternItem this link} for a description of the items\n\t * allowed in this array.\n\t *\n\t * The typical usage for the blacklist is to **block\n\t * [open redirects](http://cwe.mitre.org/data/definitions/601.html)** served by your domain as\n\t * these would otherwise be trusted but actually return content from the redirected domain.\n\t *\n\t * Finally, **the blacklist overrides the whitelist** and has the final say.\n\t *\n\t * @return {Array} the currently set blacklist array.\n\t *\n\t * The **default value** when no whitelist has been explicitly set is the empty array (i.e. there\n\t * is no blacklist.)\n\t *\n\t * @description\n\t * Sets/Gets the blacklist of trusted resource URLs.\n\t */\n\t\n\t this.resourceUrlBlacklist = function(value) {\n\t if (arguments.length) {\n\t resourceUrlBlacklist = adjustMatchers(value);\n\t }\n\t return resourceUrlBlacklist;\n\t };\n\t\n\t this.$get = ['$injector', function($injector) {\n\t\n\t var htmlSanitizer = function htmlSanitizer(html) {\n\t throw $sceMinErr('unsafe', 'Attempting to use an unsafe value in a safe context.');\n\t };\n\t\n\t if ($injector.has('$sanitize')) {\n\t htmlSanitizer = $injector.get('$sanitize');\n\t }\n\t\n\t\n\t function matchUrl(matcher, parsedUrl) {\n\t if (matcher === 'self') {\n\t return urlIsSameOrigin(parsedUrl);\n\t } else {\n\t // definitely a regex. See adjustMatchers()\n\t return !!matcher.exec(parsedUrl.href);\n\t }\n\t }\n\t\n\t function isResourceUrlAllowedByPolicy(url) {\n\t var parsedUrl = urlResolve(url.toString());\n\t var i, n, allowed = false;\n\t // Ensure that at least one item from the whitelist allows this url.\n\t for (i = 0, n = resourceUrlWhitelist.length; i < n; i++) {\n\t if (matchUrl(resourceUrlWhitelist[i], parsedUrl)) {\n\t allowed = true;\n\t break;\n\t }\n\t }\n\t if (allowed) {\n\t // Ensure that no item from the blacklist blocked this url.\n\t for (i = 0, n = resourceUrlBlacklist.length; i < n; i++) {\n\t if (matchUrl(resourceUrlBlacklist[i], parsedUrl)) {\n\t allowed = false;\n\t break;\n\t }\n\t }\n\t }\n\t return allowed;\n\t }\n\t\n\t function generateHolderType(Base) {\n\t var holderType = function TrustedValueHolderType(trustedValue) {\n\t this.$$unwrapTrustedValue = function() {\n\t return trustedValue;\n\t };\n\t };\n\t if (Base) {\n\t holderType.prototype = new Base();\n\t }\n\t holderType.prototype.valueOf = function sceValueOf() {\n\t return this.$$unwrapTrustedValue();\n\t };\n\t holderType.prototype.toString = function sceToString() {\n\t return this.$$unwrapTrustedValue().toString();\n\t };\n\t return holderType;\n\t }\n\t\n\t var trustedValueHolderBase = generateHolderType(),\n\t byType = {};\n\t\n\t byType[SCE_CONTEXTS.HTML] = generateHolderType(trustedValueHolderBase);\n\t byType[SCE_CONTEXTS.CSS] = generateHolderType(trustedValueHolderBase);\n\t byType[SCE_CONTEXTS.URL] = generateHolderType(trustedValueHolderBase);\n\t byType[SCE_CONTEXTS.JS] = generateHolderType(trustedValueHolderBase);\n\t byType[SCE_CONTEXTS.RESOURCE_URL] = generateHolderType(byType[SCE_CONTEXTS.URL]);\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sceDelegate#trustAs\n\t *\n\t * @description\n\t * Returns an object that is trusted by angular for use in specified strict\n\t * contextual escaping contexts (such as ng-bind-html, ng-include, any src\n\t * attribute interpolation, any dom event binding attribute interpolation\n\t * such as for onclick, etc.) that uses the provided value.\n\t * See {@link ng.$sce $sce} for enabling strict contextual escaping.\n\t *\n\t * @param {string} type The kind of context in which this value is safe for use. e.g. url,\n\t * resourceUrl, html, js and css.\n\t * @param {*} value The value that that should be considered trusted/safe.\n\t * @returns {*} A value that can be used to stand in for the provided `value` in places\n\t * where Angular expects a $sce.trustAs() return value.\n\t */\n\t function trustAs(type, trustedValue) {\n\t var Constructor = (byType.hasOwnProperty(type) ? byType[type] : null);\n\t if (!Constructor) {\n\t throw $sceMinErr('icontext',\n\t 'Attempted to trust a value in invalid context. Context: {0}; Value: {1}',\n\t type, trustedValue);\n\t }\n\t if (trustedValue === null || trustedValue === undefined || trustedValue === '') {\n\t return trustedValue;\n\t }\n\t // All the current contexts in SCE_CONTEXTS happen to be strings. In order to avoid trusting\n\t // mutable objects, we ensure here that the value passed in is actually a string.\n\t if (typeof trustedValue !== 'string') {\n\t throw $sceMinErr('itype',\n\t 'Attempted to trust a non-string value in a content requiring a string: Context: {0}',\n\t type);\n\t }\n\t return new Constructor(trustedValue);\n\t }\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sceDelegate#valueOf\n\t *\n\t * @description\n\t * If the passed parameter had been returned by a prior call to {@link ng.$sceDelegate#trustAs\n\t * `$sceDelegate.trustAs`}, returns the value that had been passed to {@link\n\t * ng.$sceDelegate#trustAs `$sceDelegate.trustAs`}.\n\t *\n\t * If the passed parameter is not a value that had been returned by {@link\n\t * ng.$sceDelegate#trustAs `$sceDelegate.trustAs`}, returns it as-is.\n\t *\n\t * @param {*} value The result of a prior {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs`}\n\t * call or anything else.\n\t * @returns {*} The `value` that was originally provided to {@link ng.$sceDelegate#trustAs\n\t * `$sceDelegate.trustAs`} if `value` is the result of such a call. Otherwise, returns\n\t * `value` unchanged.\n\t */\n\t function valueOf(maybeTrusted) {\n\t if (maybeTrusted instanceof trustedValueHolderBase) {\n\t return maybeTrusted.$$unwrapTrustedValue();\n\t } else {\n\t return maybeTrusted;\n\t }\n\t }\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sceDelegate#getTrusted\n\t *\n\t * @description\n\t * Takes the result of a {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs`} call and\n\t * returns the originally supplied value if the queried context type is a supertype of the\n\t * created type. If this condition isn't satisfied, throws an exception.\n\t *\n\t * @param {string} type The kind of context in which this value is to be used.\n\t * @param {*} maybeTrusted The result of a prior {@link ng.$sceDelegate#trustAs\n\t * `$sceDelegate.trustAs`} call.\n\t * @returns {*} The value the was originally provided to {@link ng.$sceDelegate#trustAs\n\t * `$sceDelegate.trustAs`} if valid in this context. Otherwise, throws an exception.\n\t */\n\t function getTrusted(type, maybeTrusted) {\n\t if (maybeTrusted === null || maybeTrusted === undefined || maybeTrusted === '') {\n\t return maybeTrusted;\n\t }\n\t var constructor = (byType.hasOwnProperty(type) ? byType[type] : null);\n\t if (constructor && maybeTrusted instanceof constructor) {\n\t return maybeTrusted.$$unwrapTrustedValue();\n\t }\n\t // If we get here, then we may only take one of two actions.\n\t // 1. sanitize the value for the requested type, or\n\t // 2. throw an exception.\n\t if (type === SCE_CONTEXTS.RESOURCE_URL) {\n\t if (isResourceUrlAllowedByPolicy(maybeTrusted)) {\n\t return maybeTrusted;\n\t } else {\n\t throw $sceMinErr('insecurl',\n\t 'Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}',\n\t maybeTrusted.toString());\n\t }\n\t } else if (type === SCE_CONTEXTS.HTML) {\n\t return htmlSanitizer(maybeTrusted);\n\t }\n\t throw $sceMinErr('unsafe', 'Attempting to use an unsafe value in a safe context.');\n\t }\n\t\n\t return { trustAs: trustAs,\n\t getTrusted: getTrusted,\n\t valueOf: valueOf };\n\t }];\n\t}\n\t\n\t\n\t/**\n\t * @ngdoc provider\n\t * @name $sceProvider\n\t * @description\n\t *\n\t * The $sceProvider provider allows developers to configure the {@link ng.$sce $sce} service.\n\t * - enable/disable Strict Contextual Escaping (SCE) in a module\n\t * - override the default implementation with a custom delegate\n\t *\n\t * Read more about {@link ng.$sce Strict Contextual Escaping (SCE)}.\n\t */\n\t\n\t/* jshint maxlen: false*/\n\t\n\t/**\n\t * @ngdoc service\n\t * @name $sce\n\t * @kind function\n\t *\n\t * @description\n\t *\n\t * `$sce` is a service that provides Strict Contextual Escaping services to AngularJS.\n\t *\n\t * # Strict Contextual Escaping\n\t *\n\t * Strict Contextual Escaping (SCE) is a mode in which AngularJS requires bindings in certain\n\t * contexts to result in a value that is marked as safe to use for that context. One example of\n\t * such a context is binding arbitrary html controlled by the user via `ng-bind-html`. We refer\n\t * to these contexts as privileged or SCE contexts.\n\t *\n\t * As of version 1.2, Angular ships with SCE enabled by default.\n\t *\n\t * Note: When enabled (the default), IE<11 in quirks mode is not supported. In this mode, IE<11 allow\n\t * one to execute arbitrary javascript by the use of the expression() syntax. Refer\n\t * to learn more about them.\n\t * You can ensure your document is in standards mode and not quirks mode by adding ``\n\t * to the top of your HTML document.\n\t *\n\t * SCE assists in writing code in way that (a) is secure by default and (b) makes auditing for\n\t * security vulnerabilities such as XSS, clickjacking, etc. a lot easier.\n\t *\n\t * Here's an example of a binding in a privileged context:\n\t *\n\t * ```\n\t * \n\t *
\n\t * ```\n\t *\n\t * Notice that `ng-bind-html` is bound to `userHtml` controlled by the user. With SCE\n\t * disabled, this application allows the user to render arbitrary HTML into the DIV.\n\t * In a more realistic example, one may be rendering user comments, blog articles, etc. via\n\t * bindings. (HTML is just one example of a context where rendering user controlled input creates\n\t * security vulnerabilities.)\n\t *\n\t * For the case of HTML, you might use a library, either on the client side, or on the server side,\n\t * to sanitize unsafe HTML before binding to the value and rendering it in the document.\n\t *\n\t * How would you ensure that every place that used these types of bindings was bound to a value that\n\t * was sanitized by your library (or returned as safe for rendering by your server?) How can you\n\t * ensure that you didn't accidentally delete the line that sanitized the value, or renamed some\n\t * properties/fields and forgot to update the binding to the sanitized value?\n\t *\n\t * To be secure by default, you want to ensure that any such bindings are disallowed unless you can\n\t * determine that something explicitly says it's safe to use a value for binding in that\n\t * context. You can then audit your code (a simple grep would do) to ensure that this is only done\n\t * for those values that you can easily tell are safe - because they were received from your server,\n\t * sanitized by your library, etc. You can organize your codebase to help with this - perhaps\n\t * allowing only the files in a specific directory to do this. Ensuring that the internal API\n\t * exposed by that code doesn't markup arbitrary values as safe then becomes a more manageable task.\n\t *\n\t * In the case of AngularJS' SCE service, one uses {@link ng.$sce#trustAs $sce.trustAs}\n\t * (and shorthand methods such as {@link ng.$sce#trustAsHtml $sce.trustAsHtml}, etc.) to\n\t * obtain values that will be accepted by SCE / privileged contexts.\n\t *\n\t *\n\t * ## How does it work?\n\t *\n\t * In privileged contexts, directives and code will bind to the result of {@link ng.$sce#getTrusted\n\t * $sce.getTrusted(context, value)} rather than to the value directly. Directives use {@link\n\t * ng.$sce#parseAs $sce.parseAs} rather than `$parse` to watch attribute bindings, which performs the\n\t * {@link ng.$sce#getTrusted $sce.getTrusted} behind the scenes on non-constant literals.\n\t *\n\t * As an example, {@link ng.directive:ngBindHtml ngBindHtml} uses {@link\n\t * ng.$sce#parseAsHtml $sce.parseAsHtml(binding expression)}. Here's the actual code (slightly\n\t * simplified):\n\t *\n\t * ```\n\t * var ngBindHtmlDirective = ['$sce', function($sce) {\n\t * return function(scope, element, attr) {\n\t * scope.$watch($sce.parseAsHtml(attr.ngBindHtml), function(value) {\n\t * element.html(value || '');\n\t * });\n\t * };\n\t * }];\n\t * ```\n\t *\n\t * ## Impact on loading templates\n\t *\n\t * This applies both to the {@link ng.directive:ngInclude `ng-include`} directive as well as\n\t * `templateUrl`'s specified by {@link guide/directive directives}.\n\t *\n\t * By default, Angular only loads templates from the same domain and protocol as the application\n\t * document. This is done by calling {@link ng.$sce#getTrustedResourceUrl\n\t * $sce.getTrustedResourceUrl} on the template URL. To load templates from other domains and/or\n\t * protocols, you may either either {@link ng.$sceDelegateProvider#resourceUrlWhitelist whitelist\n\t * them} or {@link ng.$sce#trustAsResourceUrl wrap it} into a trusted value.\n\t *\n\t * *Please note*:\n\t * The browser's\n\t * [Same Origin Policy](https://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy_for_XMLHttpRequest)\n\t * and [Cross-Origin Resource Sharing (CORS)](http://www.w3.org/TR/cors/)\n\t * policy apply in addition to this and may further restrict whether the template is successfully\n\t * loaded. This means that without the right CORS policy, loading templates from a different domain\n\t * won't work on all browsers. Also, loading templates from `file://` URL does not work on some\n\t * browsers.\n\t *\n\t * ## This feels like too much overhead\n\t *\n\t * It's important to remember that SCE only applies to interpolation expressions.\n\t *\n\t * If your expressions are constant literals, they're automatically trusted and you don't need to\n\t * call `$sce.trustAs` on them (remember to include the `ngSanitize` module) (e.g.\n\t * `
implicitly trusted'\">
`) just works.\n\t *\n\t * Additionally, `a[href]` and `img[src]` automatically sanitize their URLs and do not pass them\n\t * through {@link ng.$sce#getTrusted $sce.getTrusted}. SCE doesn't play a role here.\n\t *\n\t * The included {@link ng.$sceDelegate $sceDelegate} comes with sane defaults to allow you to load\n\t * templates in `ng-include` from your application's domain without having to even know about SCE.\n\t * It blocks loading templates from other domains or loading templates over http from an https\n\t * served document. You can change these by setting your own custom {@link\n\t * ng.$sceDelegateProvider#resourceUrlWhitelist whitelists} and {@link\n\t * ng.$sceDelegateProvider#resourceUrlBlacklist blacklists} for matching such URLs.\n\t *\n\t * This significantly reduces the overhead. It is far easier to pay the small overhead and have an\n\t * application that's secure and can be audited to verify that with much more ease than bolting\n\t * security onto an application later.\n\t *\n\t * \n\t * ## What trusted context types are supported?\n\t *\n\t * | Context | Notes |\n\t * |---------------------|----------------|\n\t * | `$sce.HTML` | For HTML that's safe to source into the application. The {@link ng.directive:ngBindHtml ngBindHtml} directive uses this context for bindings. If an unsafe value is encountered and the {@link ngSanitize $sanitize} module is present this will sanitize the value instead of throwing an error. |\n\t * | `$sce.CSS` | For CSS that's safe to source into the application. Currently unused. Feel free to use it in your own directives. |\n\t * | `$sce.URL` | For URLs that are safe to follow as links. Currently unused (`
Note that `$sce.RESOURCE_URL` makes a stronger statement about the URL than `$sce.URL` does and therefore contexts requiring values trusted for `$sce.RESOURCE_URL` can be used anywhere that values trusted for `$sce.URL` are required. |\n\t * | `$sce.JS` | For JavaScript that is safe to execute in your application's context. Currently unused. Feel free to use it in your own directives. |\n\t *\n\t * ## Format of items in {@link ng.$sceDelegateProvider#resourceUrlWhitelist resourceUrlWhitelist}/{@link ng.$sceDelegateProvider#resourceUrlBlacklist Blacklist}
\n\t *\n\t * Each element in these arrays must be one of the following:\n\t *\n\t * - **'self'**\n\t * - The special **string**, `'self'`, can be used to match against all URLs of the **same\n\t * domain** as the application document using the **same protocol**.\n\t * - **String** (except the special value `'self'`)\n\t * - The string is matched against the full *normalized / absolute URL* of the resource\n\t * being tested (substring matches are not good enough.)\n\t * - There are exactly **two wildcard sequences** - `*` and `**`. All other characters\n\t * match themselves.\n\t * - `*`: matches zero or more occurrences of any character other than one of the following 6\n\t * characters: '`:`', '`/`', '`.`', '`?`', '`&`' and ';'. It's a useful wildcard for use\n\t * in a whitelist.\n\t * - `**`: matches zero or more occurrences of *any* character. As such, it's not\n\t * not appropriate to use in for a scheme, domain, etc. as it would match too much. (e.g.\n\t * http://**.example.com/ would match http://evil.com/?ignore=.example.com/ and that might\n\t * not have been the intention.) Its usage at the very end of the path is ok. (e.g.\n\t * http://foo.example.com/templates/**).\n\t * - **RegExp** (*see caveat below*)\n\t * - *Caveat*: While regular expressions are powerful and offer great flexibility, their syntax\n\t * (and all the inevitable escaping) makes them *harder to maintain*. It's easy to\n\t * accidentally introduce a bug when one updates a complex expression (imho, all regexes should\n\t * have good test coverage.). For instance, the use of `.` in the regex is correct only in a\n\t * small number of cases. A `.` character in the regex used when matching the scheme or a\n\t * subdomain could be matched against a `:` or literal `.` that was likely not intended. It\n\t * is highly recommended to use the string patterns and only fall back to regular expressions\n\t * if they as a last resort.\n\t * - The regular expression must be an instance of RegExp (i.e. not a string.) It is\n\t * matched against the **entire** *normalized / absolute URL* of the resource being tested\n\t * (even when the RegExp did not have the `^` and `$` codes.) In addition, any flags\n\t * present on the RegExp (such as multiline, global, ignoreCase) are ignored.\n\t * - If you are generating your JavaScript from some other templating engine (not\n\t * recommended, e.g. in issue [#4006](https://github.com/angular/angular.js/issues/4006)),\n\t * remember to escape your regular expression (and be aware that you might need more than\n\t * one level of escaping depending on your templating engine and the way you interpolated\n\t * the value.) Do make use of your platform's escaping mechanism as it might be good\n\t * enough before coding your own. e.g. Ruby has\n\t * [Regexp.escape(str)](http://www.ruby-doc.org/core-2.0.0/Regexp.html#method-c-escape)\n\t * and Python has [re.escape](http://docs.python.org/library/re.html#re.escape).\n\t * Javascript lacks a similar built in function for escaping. Take a look at Google\n\t * Closure library's [goog.string.regExpEscape(s)](\n\t * http://docs.closure-library.googlecode.com/git/closure_goog_string_string.js.source.html#line962).\n\t *\n\t * Refer {@link ng.$sceDelegateProvider $sceDelegateProvider} for an example.\n\t *\n\t * ## Show me an example using SCE.\n\t *\n\t * \n\t * \n\t *
\n\t *

\n\t * User comments
\n\t * By default, HTML that isn't explicitly trusted (e.g. Alice's comment) is sanitized when\n\t * $sanitize is available. If $sanitize isn't available, this results in an error instead of an\n\t * exploit.\n\t *
\n\t *
\n\t * {{userComment.name}}:\n\t * \n\t *
\n\t *
\n\t *
\n\t *
\n\t *
\n\t *\n\t * \n\t * angular.module('mySceApp', ['ngSanitize'])\n\t * .controller('AppController', ['$http', '$templateCache', '$sce',\n\t * function($http, $templateCache, $sce) {\n\t * var self = this;\n\t * $http.get(\"test_data.json\", {cache: $templateCache}).success(function(userComments) {\n\t * self.userComments = userComments;\n\t * });\n\t * self.explicitlyTrustedHtml = $sce.trustAsHtml(\n\t * 'Hover over this text.');\n\t * }]);\n\t * \n\t *\n\t * \n\t * [\n\t * { \"name\": \"Alice\",\n\t * \"htmlComment\":\n\t * \"Is anyone reading this?\"\n\t * },\n\t * { \"name\": \"Bob\",\n\t * \"htmlComment\": \"Yes! Am I the only other one?\"\n\t * }\n\t * ]\n\t * \n\t *\n\t * \n\t * describe('SCE doc demo', function() {\n\t * it('should sanitize untrusted values', function() {\n\t * expect(element.all(by.css('.htmlComment')).first().getInnerHtml())\n\t * .toBe('Is anyone reading this?');\n\t * });\n\t *\n\t * it('should NOT sanitize explicitly trusted values', function() {\n\t * expect(element(by.id('explicitlyTrustedHtml')).getInnerHtml()).toBe(\n\t * 'Hover over this text.');\n\t * });\n\t * });\n\t * \n\t *
\n\t *\n\t *\n\t *\n\t * ## Can I disable SCE completely?\n\t *\n\t * Yes, you can. However, this is strongly discouraged. SCE gives you a lot of security benefits\n\t * for little coding overhead. It will be much harder to take an SCE disabled application and\n\t * either secure it on your own or enable SCE at a later stage. It might make sense to disable SCE\n\t * for cases where you have a lot of existing code that was written before SCE was introduced and\n\t * you're migrating them a module at a time.\n\t *\n\t * That said, here's how you can completely disable SCE:\n\t *\n\t * ```\n\t * angular.module('myAppWithSceDisabledmyApp', []).config(function($sceProvider) {\n\t * // Completely disable SCE. For demonstration purposes only!\n\t * // Do not use in new projects.\n\t * $sceProvider.enabled(false);\n\t * });\n\t * ```\n\t *\n\t */\n\t/* jshint maxlen: 100 */\n\t\n\tfunction $SceProvider() {\n\t var enabled = true;\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sceProvider#enabled\n\t * @kind function\n\t *\n\t * @param {boolean=} value If provided, then enables/disables SCE.\n\t * @return {boolean} true if SCE is enabled, false otherwise.\n\t *\n\t * @description\n\t * Enables/disables SCE and returns the current value.\n\t */\n\t this.enabled = function(value) {\n\t if (arguments.length) {\n\t enabled = !!value;\n\t }\n\t return enabled;\n\t };\n\t\n\t\n\t /* Design notes on the default implementation for SCE.\n\t *\n\t * The API contract for the SCE delegate\n\t * -------------------------------------\n\t * The SCE delegate object must provide the following 3 methods:\n\t *\n\t * - trustAs(contextEnum, value)\n\t * This method is used to tell the SCE service that the provided value is OK to use in the\n\t * contexts specified by contextEnum. It must return an object that will be accepted by\n\t * getTrusted() for a compatible contextEnum and return this value.\n\t *\n\t * - valueOf(value)\n\t * For values that were not produced by trustAs(), return them as is. For values that were\n\t * produced by trustAs(), return the corresponding input value to trustAs. Basically, if\n\t * trustAs is wrapping the given values into some type, this operation unwraps it when given\n\t * such a value.\n\t *\n\t * - getTrusted(contextEnum, value)\n\t * This function should return the a value that is safe to use in the context specified by\n\t * contextEnum or throw and exception otherwise.\n\t *\n\t * NOTE: This contract deliberately does NOT state that values returned by trustAs() must be\n\t * opaque or wrapped in some holder object. That happens to be an implementation detail. For\n\t * instance, an implementation could maintain a registry of all trusted objects by context. In\n\t * such a case, trustAs() would return the same object that was passed in. getTrusted() would\n\t * return the same object passed in if it was found in the registry under a compatible context or\n\t * throw an exception otherwise. An implementation might only wrap values some of the time based\n\t * on some criteria. getTrusted() might return a value and not throw an exception for special\n\t * constants or objects even if not wrapped. All such implementations fulfill this contract.\n\t *\n\t *\n\t * A note on the inheritance model for SCE contexts\n\t * ------------------------------------------------\n\t * I've used inheritance and made RESOURCE_URL wrapped types a subtype of URL wrapped types. This\n\t * is purely an implementation details.\n\t *\n\t * The contract is simply this:\n\t *\n\t * getTrusted($sce.RESOURCE_URL, value) succeeding implies that getTrusted($sce.URL, value)\n\t * will also succeed.\n\t *\n\t * Inheritance happens to capture this in a natural way. In some future, we\n\t * may not use inheritance anymore. That is OK because no code outside of\n\t * sce.js and sceSpecs.js would need to be aware of this detail.\n\t */\n\t\n\t this.$get = ['$parse', '$sceDelegate', function(\n\t $parse, $sceDelegate) {\n\t // Prereq: Ensure that we're not running in IE<11 quirks mode. In that mode, IE < 11 allow\n\t // the \"expression(javascript expression)\" syntax which is insecure.\n\t if (enabled && msie < 8) {\n\t throw $sceMinErr('iequirks',\n\t 'Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks ' +\n\t 'mode. You can fix this by adding the text to the top of your HTML ' +\n\t 'document. See http://docs.angularjs.org/api/ng.$sce for more information.');\n\t }\n\t\n\t var sce = shallowCopy(SCE_CONTEXTS);\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sce#isEnabled\n\t * @kind function\n\t *\n\t * @return {Boolean} true if SCE is enabled, false otherwise. If you want to set the value, you\n\t * have to do it at module config time on {@link ng.$sceProvider $sceProvider}.\n\t *\n\t * @description\n\t * Returns a boolean indicating if SCE is enabled.\n\t */\n\t sce.isEnabled = function() {\n\t return enabled;\n\t };\n\t sce.trustAs = $sceDelegate.trustAs;\n\t sce.getTrusted = $sceDelegate.getTrusted;\n\t sce.valueOf = $sceDelegate.valueOf;\n\t\n\t if (!enabled) {\n\t sce.trustAs = sce.getTrusted = function(type, value) { return value; };\n\t sce.valueOf = identity;\n\t }\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sce#parseAs\n\t *\n\t * @description\n\t * Converts Angular {@link guide/expression expression} into a function. This is like {@link\n\t * ng.$parse $parse} and is identical when the expression is a literal constant. Otherwise, it\n\t * wraps the expression in a call to {@link ng.$sce#getTrusted $sce.getTrusted(*type*,\n\t * *result*)}\n\t *\n\t * @param {string} type The kind of SCE context in which this result will be used.\n\t * @param {string} expression String expression to compile.\n\t * @returns {function(context, locals)} a function which represents the compiled expression:\n\t *\n\t * * `context` – `{object}` – an object against which any expressions embedded in the strings\n\t * are evaluated against (typically a scope object).\n\t * * `locals` – `{object=}` – local variables context object, useful for overriding values in\n\t * `context`.\n\t */\n\t sce.parseAs = function sceParseAs(type, expr) {\n\t var parsed = $parse(expr);\n\t if (parsed.literal && parsed.constant) {\n\t return parsed;\n\t } else {\n\t return $parse(expr, function(value) {\n\t return sce.getTrusted(type, value);\n\t });\n\t }\n\t };\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sce#trustAs\n\t *\n\t * @description\n\t * Delegates to {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs`}. As such,\n\t * returns an object that is trusted by angular for use in specified strict contextual\n\t * escaping contexts (such as ng-bind-html, ng-include, any src attribute\n\t * interpolation, any dom event binding attribute interpolation such as for onclick, etc.)\n\t * that uses the provided value. See * {@link ng.$sce $sce} for enabling strict contextual\n\t * escaping.\n\t *\n\t * @param {string} type The kind of context in which this value is safe for use. e.g. url,\n\t * resource_url, html, js and css.\n\t * @param {*} value The value that that should be considered trusted/safe.\n\t * @returns {*} A value that can be used to stand in for the provided `value` in places\n\t * where Angular expects a $sce.trustAs() return value.\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sce#trustAsHtml\n\t *\n\t * @description\n\t * Shorthand method. `$sce.trustAsHtml(value)` →\n\t * {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs($sce.HTML, value)`}\n\t *\n\t * @param {*} value The value to trustAs.\n\t * @returns {*} An object that can be passed to {@link ng.$sce#getTrustedHtml\n\t * $sce.getTrustedHtml(value)} to obtain the original value. (privileged directives\n\t * only accept expressions that are either literal constants or are the\n\t * return value of {@link ng.$sce#trustAs $sce.trustAs}.)\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sce#trustAsUrl\n\t *\n\t * @description\n\t * Shorthand method. `$sce.trustAsUrl(value)` →\n\t * {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs($sce.URL, value)`}\n\t *\n\t * @param {*} value The value to trustAs.\n\t * @returns {*} An object that can be passed to {@link ng.$sce#getTrustedUrl\n\t * $sce.getTrustedUrl(value)} to obtain the original value. (privileged directives\n\t * only accept expressions that are either literal constants or are the\n\t * return value of {@link ng.$sce#trustAs $sce.trustAs}.)\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sce#trustAsResourceUrl\n\t *\n\t * @description\n\t * Shorthand method. `$sce.trustAsResourceUrl(value)` →\n\t * {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs($sce.RESOURCE_URL, value)`}\n\t *\n\t * @param {*} value The value to trustAs.\n\t * @returns {*} An object that can be passed to {@link ng.$sce#getTrustedResourceUrl\n\t * $sce.getTrustedResourceUrl(value)} to obtain the original value. (privileged directives\n\t * only accept expressions that are either literal constants or are the return\n\t * value of {@link ng.$sce#trustAs $sce.trustAs}.)\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sce#trustAsJs\n\t *\n\t * @description\n\t * Shorthand method. `$sce.trustAsJs(value)` →\n\t * {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs($sce.JS, value)`}\n\t *\n\t * @param {*} value The value to trustAs.\n\t * @returns {*} An object that can be passed to {@link ng.$sce#getTrustedJs\n\t * $sce.getTrustedJs(value)} to obtain the original value. (privileged directives\n\t * only accept expressions that are either literal constants or are the\n\t * return value of {@link ng.$sce#trustAs $sce.trustAs}.)\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sce#getTrusted\n\t *\n\t * @description\n\t * Delegates to {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted`}. As such,\n\t * takes the result of a {@link ng.$sce#trustAs `$sce.trustAs`}() call and returns the\n\t * originally supplied value if the queried context type is a supertype of the created type.\n\t * If this condition isn't satisfied, throws an exception.\n\t *\n\t * @param {string} type The kind of context in which this value is to be used.\n\t * @param {*} maybeTrusted The result of a prior {@link ng.$sce#trustAs `$sce.trustAs`}\n\t * call.\n\t * @returns {*} The value the was originally provided to\n\t * {@link ng.$sce#trustAs `$sce.trustAs`} if valid in this context.\n\t * Otherwise, throws an exception.\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sce#getTrustedHtml\n\t *\n\t * @description\n\t * Shorthand method. `$sce.getTrustedHtml(value)` →\n\t * {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.HTML, value)`}\n\t *\n\t * @param {*} value The value to pass to `$sce.getTrusted`.\n\t * @returns {*} The return value of `$sce.getTrusted($sce.HTML, value)`\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sce#getTrustedCss\n\t *\n\t * @description\n\t * Shorthand method. `$sce.getTrustedCss(value)` →\n\t * {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.CSS, value)`}\n\t *\n\t * @param {*} value The value to pass to `$sce.getTrusted`.\n\t * @returns {*} The return value of `$sce.getTrusted($sce.CSS, value)`\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sce#getTrustedUrl\n\t *\n\t * @description\n\t * Shorthand method. `$sce.getTrustedUrl(value)` →\n\t * {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.URL, value)`}\n\t *\n\t * @param {*} value The value to pass to `$sce.getTrusted`.\n\t * @returns {*} The return value of `$sce.getTrusted($sce.URL, value)`\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sce#getTrustedResourceUrl\n\t *\n\t * @description\n\t * Shorthand method. `$sce.getTrustedResourceUrl(value)` →\n\t * {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.RESOURCE_URL, value)`}\n\t *\n\t * @param {*} value The value to pass to `$sceDelegate.getTrusted`.\n\t * @returns {*} The return value of `$sce.getTrusted($sce.RESOURCE_URL, value)`\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sce#getTrustedJs\n\t *\n\t * @description\n\t * Shorthand method. `$sce.getTrustedJs(value)` →\n\t * {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.JS, value)`}\n\t *\n\t * @param {*} value The value to pass to `$sce.getTrusted`.\n\t * @returns {*} The return value of `$sce.getTrusted($sce.JS, value)`\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sce#parseAsHtml\n\t *\n\t * @description\n\t * Shorthand method. `$sce.parseAsHtml(expression string)` →\n\t * {@link ng.$sce#parseAs `$sce.parseAs($sce.HTML, value)`}\n\t *\n\t * @param {string} expression String expression to compile.\n\t * @returns {function(context, locals)} a function which represents the compiled expression:\n\t *\n\t * * `context` – `{object}` – an object against which any expressions embedded in the strings\n\t * are evaluated against (typically a scope object).\n\t * * `locals` – `{object=}` – local variables context object, useful for overriding values in\n\t * `context`.\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sce#parseAsCss\n\t *\n\t * @description\n\t * Shorthand method. `$sce.parseAsCss(value)` →\n\t * {@link ng.$sce#parseAs `$sce.parseAs($sce.CSS, value)`}\n\t *\n\t * @param {string} expression String expression to compile.\n\t * @returns {function(context, locals)} a function which represents the compiled expression:\n\t *\n\t * * `context` – `{object}` – an object against which any expressions embedded in the strings\n\t * are evaluated against (typically a scope object).\n\t * * `locals` – `{object=}` – local variables context object, useful for overriding values in\n\t * `context`.\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sce#parseAsUrl\n\t *\n\t * @description\n\t * Shorthand method. `$sce.parseAsUrl(value)` →\n\t * {@link ng.$sce#parseAs `$sce.parseAs($sce.URL, value)`}\n\t *\n\t * @param {string} expression String expression to compile.\n\t * @returns {function(context, locals)} a function which represents the compiled expression:\n\t *\n\t * * `context` – `{object}` – an object against which any expressions embedded in the strings\n\t * are evaluated against (typically a scope object).\n\t * * `locals` – `{object=}` – local variables context object, useful for overriding values in\n\t * `context`.\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sce#parseAsResourceUrl\n\t *\n\t * @description\n\t * Shorthand method. `$sce.parseAsResourceUrl(value)` →\n\t * {@link ng.$sce#parseAs `$sce.parseAs($sce.RESOURCE_URL, value)`}\n\t *\n\t * @param {string} expression String expression to compile.\n\t * @returns {function(context, locals)} a function which represents the compiled expression:\n\t *\n\t * * `context` – `{object}` – an object against which any expressions embedded in the strings\n\t * are evaluated against (typically a scope object).\n\t * * `locals` – `{object=}` – local variables context object, useful for overriding values in\n\t * `context`.\n\t */\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $sce#parseAsJs\n\t *\n\t * @description\n\t * Shorthand method. `$sce.parseAsJs(value)` →\n\t * {@link ng.$sce#parseAs `$sce.parseAs($sce.JS, value)`}\n\t *\n\t * @param {string} expression String expression to compile.\n\t * @returns {function(context, locals)} a function which represents the compiled expression:\n\t *\n\t * * `context` – `{object}` – an object against which any expressions embedded in the strings\n\t * are evaluated against (typically a scope object).\n\t * * `locals` – `{object=}` – local variables context object, useful for overriding values in\n\t * `context`.\n\t */\n\t\n\t // Shorthand delegations.\n\t var parse = sce.parseAs,\n\t getTrusted = sce.getTrusted,\n\t trustAs = sce.trustAs;\n\t\n\t forEach(SCE_CONTEXTS, function(enumValue, name) {\n\t var lName = lowercase(name);\n\t sce[camelCase(\"parse_as_\" + lName)] = function(expr) {\n\t return parse(enumValue, expr);\n\t };\n\t sce[camelCase(\"get_trusted_\" + lName)] = function(value) {\n\t return getTrusted(enumValue, value);\n\t };\n\t sce[camelCase(\"trust_as_\" + lName)] = function(value) {\n\t return trustAs(enumValue, value);\n\t };\n\t });\n\t\n\t return sce;\n\t }];\n\t}\n\t\n\t/**\n\t * !!! This is an undocumented \"private\" service !!!\n\t *\n\t * @name $sniffer\n\t * @requires $window\n\t * @requires $document\n\t *\n\t * @property {boolean} history Does the browser support html5 history api ?\n\t * @property {boolean} transitions Does the browser support CSS transition events ?\n\t * @property {boolean} animations Does the browser support CSS animation events ?\n\t *\n\t * @description\n\t * This is very simple implementation of testing browser's features.\n\t */\n\tfunction $SnifferProvider() {\n\t this.$get = ['$window', '$document', function($window, $document) {\n\t var eventSupport = {},\n\t android =\n\t int((/android (\\d+)/.exec(lowercase(($window.navigator || {}).userAgent)) || [])[1]),\n\t boxee = /Boxee/i.test(($window.navigator || {}).userAgent),\n\t document = $document[0] || {},\n\t vendorPrefix,\n\t vendorRegex = /^(Moz|webkit|ms)(?=[A-Z])/,\n\t bodyStyle = document.body && document.body.style,\n\t transitions = false,\n\t animations = false,\n\t match;\n\t\n\t if (bodyStyle) {\n\t for (var prop in bodyStyle) {\n\t if (match = vendorRegex.exec(prop)) {\n\t vendorPrefix = match[0];\n\t vendorPrefix = vendorPrefix.substr(0, 1).toUpperCase() + vendorPrefix.substr(1);\n\t break;\n\t }\n\t }\n\t\n\t if (!vendorPrefix) {\n\t vendorPrefix = ('WebkitOpacity' in bodyStyle) && 'webkit';\n\t }\n\t\n\t transitions = !!(('transition' in bodyStyle) || (vendorPrefix + 'Transition' in bodyStyle));\n\t animations = !!(('animation' in bodyStyle) || (vendorPrefix + 'Animation' in bodyStyle));\n\t\n\t if (android && (!transitions || !animations)) {\n\t transitions = isString(document.body.style.webkitTransition);\n\t animations = isString(document.body.style.webkitAnimation);\n\t }\n\t }\n\t\n\t\n\t return {\n\t // Android has history.pushState, but it does not update location correctly\n\t // so let's not use the history API at all.\n\t // http://code.google.com/p/android/issues/detail?id=17471\n\t // https://github.com/angular/angular.js/issues/904\n\t\n\t // older webkit browser (533.9) on Boxee box has exactly the same problem as Android has\n\t // so let's not use the history API also\n\t // We are purposefully using `!(android < 4)` to cover the case when `android` is undefined\n\t // jshint -W018\n\t history: !!($window.history && $window.history.pushState && !(android < 4) && !boxee),\n\t // jshint +W018\n\t hasEvent: function(event) {\n\t // IE9 implements 'input' event it's so fubared that we rather pretend that it doesn't have\n\t // it. In particular the event is not fired when backspace or delete key are pressed or\n\t // when cut operation is performed.\n\t // IE10+ implements 'input' event but it erroneously fires under various situations,\n\t // e.g. when placeholder changes, or a form is focused.\n\t if (event === 'input' && msie <= 11) return false;\n\t\n\t if (isUndefined(eventSupport[event])) {\n\t var divElm = document.createElement('div');\n\t eventSupport[event] = 'on' + event in divElm;\n\t }\n\t\n\t return eventSupport[event];\n\t },\n\t csp: csp(),\n\t vendorPrefix: vendorPrefix,\n\t transitions: transitions,\n\t animations: animations,\n\t android: android\n\t };\n\t }];\n\t}\n\t\n\tvar $compileMinErr = minErr('$compile');\n\t\n\t/**\n\t * @ngdoc service\n\t * @name $templateRequest\n\t *\n\t * @description\n\t * The `$templateRequest` service runs security checks then downloads the provided template using\n\t * `$http` and, upon success, stores the contents inside of `$templateCache`. If the HTTP request\n\t * fails or the response data of the HTTP request is empty, a `$compile` error will be thrown (the\n\t * exception can be thwarted by setting the 2nd parameter of the function to true). Note that the\n\t * contents of `$templateCache` are trusted, so the call to `$sce.getTrustedUrl(tpl)` is omitted\n\t * when `tpl` is of type string and `$templateCache` has the matching entry.\n\t *\n\t * @param {string|TrustedResourceUrl} tpl The HTTP request template URL\n\t * @param {boolean=} ignoreRequestError Whether or not to ignore the exception when the request fails or the template is empty\n\t *\n\t * @return {Promise} the HTTP Promise for the given.\n\t *\n\t * @property {number} totalPendingRequests total amount of pending template requests being downloaded.\n\t */\n\tfunction $TemplateRequestProvider() {\n\t this.$get = ['$templateCache', '$http', '$q', '$sce', function($templateCache, $http, $q, $sce) {\n\t function handleRequestFn(tpl, ignoreRequestError) {\n\t handleRequestFn.totalPendingRequests++;\n\t\n\t // We consider the template cache holds only trusted templates, so\n\t // there's no need to go through whitelisting again for keys that already\n\t // are included in there. This also makes Angular accept any script\n\t // directive, no matter its name. However, we still need to unwrap trusted\n\t // types.\n\t if (!isString(tpl) || !$templateCache.get(tpl)) {\n\t tpl = $sce.getTrustedResourceUrl(tpl);\n\t }\n\t\n\t var transformResponse = $http.defaults && $http.defaults.transformResponse;\n\t\n\t if (isArray(transformResponse)) {\n\t transformResponse = transformResponse.filter(function(transformer) {\n\t return transformer !== defaultHttpResponseTransform;\n\t });\n\t } else if (transformResponse === defaultHttpResponseTransform) {\n\t transformResponse = null;\n\t }\n\t\n\t var httpOptions = {\n\t cache: $templateCache,\n\t transformResponse: transformResponse\n\t };\n\t\n\t return $http.get(tpl, httpOptions)\n\t ['finally'](function() {\n\t handleRequestFn.totalPendingRequests--;\n\t })\n\t .then(function(response) {\n\t return response.data;\n\t }, handleError);\n\t\n\t function handleError(resp) {\n\t if (!ignoreRequestError) {\n\t throw $compileMinErr('tpload', 'Failed to load template: {0}', tpl);\n\t }\n\t return $q.reject(resp);\n\t }\n\t }\n\t\n\t handleRequestFn.totalPendingRequests = 0;\n\t\n\t return handleRequestFn;\n\t }];\n\t}\n\t\n\tfunction $$TestabilityProvider() {\n\t this.$get = ['$rootScope', '$browser', '$location',\n\t function($rootScope, $browser, $location) {\n\t\n\t /**\n\t * @name $testability\n\t *\n\t * @description\n\t * The private $$testability service provides a collection of methods for use when debugging\n\t * or by automated test and debugging tools.\n\t */\n\t var testability = {};\n\t\n\t /**\n\t * @name $$testability#findBindings\n\t *\n\t * @description\n\t * Returns an array of elements that are bound (via ng-bind or {{}})\n\t * to expressions matching the input.\n\t *\n\t * @param {Element} element The element root to search from.\n\t * @param {string} expression The binding expression to match.\n\t * @param {boolean} opt_exactMatch If true, only returns exact matches\n\t * for the expression. Filters and whitespace are ignored.\n\t */\n\t testability.findBindings = function(element, expression, opt_exactMatch) {\n\t var bindings = element.getElementsByClassName('ng-binding');\n\t var matches = [];\n\t forEach(bindings, function(binding) {\n\t var dataBinding = angular.element(binding).data('$binding');\n\t if (dataBinding) {\n\t forEach(dataBinding, function(bindingName) {\n\t if (opt_exactMatch) {\n\t var matcher = new RegExp('(^|\\\\s)' + escapeForRegexp(expression) + '(\\\\s|\\\\||$)');\n\t if (matcher.test(bindingName)) {\n\t matches.push(binding);\n\t }\n\t } else {\n\t if (bindingName.indexOf(expression) != -1) {\n\t matches.push(binding);\n\t }\n\t }\n\t });\n\t }\n\t });\n\t return matches;\n\t };\n\t\n\t /**\n\t * @name $$testability#findModels\n\t *\n\t * @description\n\t * Returns an array of elements that are two-way found via ng-model to\n\t * expressions matching the input.\n\t *\n\t * @param {Element} element The element root to search from.\n\t * @param {string} expression The model expression to match.\n\t * @param {boolean} opt_exactMatch If true, only returns exact matches\n\t * for the expression.\n\t */\n\t testability.findModels = function(element, expression, opt_exactMatch) {\n\t var prefixes = ['ng-', 'data-ng-', 'ng\\\\:'];\n\t for (var p = 0; p < prefixes.length; ++p) {\n\t var attributeEquals = opt_exactMatch ? '=' : '*=';\n\t var selector = '[' + prefixes[p] + 'model' + attributeEquals + '\"' + expression + '\"]';\n\t var elements = element.querySelectorAll(selector);\n\t if (elements.length) {\n\t return elements;\n\t }\n\t }\n\t };\n\t\n\t /**\n\t * @name $$testability#getLocation\n\t *\n\t * @description\n\t * Shortcut for getting the location in a browser agnostic way. Returns\n\t * the path, search, and hash. (e.g. /path?a=b#hash)\n\t */\n\t testability.getLocation = function() {\n\t return $location.url();\n\t };\n\t\n\t /**\n\t * @name $$testability#setLocation\n\t *\n\t * @description\n\t * Shortcut for navigating to a location without doing a full page reload.\n\t *\n\t * @param {string} url The location url (path, search and hash,\n\t * e.g. /path?a=b#hash) to go to.\n\t */\n\t testability.setLocation = function(url) {\n\t if (url !== $location.url()) {\n\t $location.url(url);\n\t $rootScope.$digest();\n\t }\n\t };\n\t\n\t /**\n\t * @name $$testability#whenStable\n\t *\n\t * @description\n\t * Calls the callback when $timeout and $http requests are completed.\n\t *\n\t * @param {function} callback\n\t */\n\t testability.whenStable = function(callback) {\n\t $browser.notifyWhenNoOutstandingRequests(callback);\n\t };\n\t\n\t return testability;\n\t }];\n\t}\n\t\n\tfunction $TimeoutProvider() {\n\t this.$get = ['$rootScope', '$browser', '$q', '$$q', '$exceptionHandler',\n\t function($rootScope, $browser, $q, $$q, $exceptionHandler) {\n\t var deferreds = {};\n\t\n\t\n\t /**\n\t * @ngdoc service\n\t * @name $timeout\n\t *\n\t * @description\n\t * Angular's wrapper for `window.setTimeout`. The `fn` function is wrapped into a try/catch\n\t * block and delegates any exceptions to\n\t * {@link ng.$exceptionHandler $exceptionHandler} service.\n\t *\n\t * The return value of registering a timeout function is a promise, which will be resolved when\n\t * the timeout is reached and the timeout function is executed.\n\t *\n\t * To cancel a timeout request, call `$timeout.cancel(promise)`.\n\t *\n\t * In tests you can use {@link ngMock.$timeout `$timeout.flush()`} to\n\t * synchronously flush the queue of deferred functions.\n\t *\n\t * @param {function()} fn A function, whose execution should be delayed.\n\t * @param {number=} [delay=0] Delay in milliseconds.\n\t * @param {boolean=} [invokeApply=true] If set to `false` skips model dirty checking, otherwise\n\t * will invoke `fn` within the {@link ng.$rootScope.Scope#$apply $apply} block.\n\t * @returns {Promise} Promise that will be resolved when the timeout is reached. The value this\n\t * promise will be resolved with is the return value of the `fn` function.\n\t *\n\t */\n\t function timeout(fn, delay, invokeApply) {\n\t var skipApply = (isDefined(invokeApply) && !invokeApply),\n\t deferred = (skipApply ? $$q : $q).defer(),\n\t promise = deferred.promise,\n\t timeoutId;\n\t\n\t timeoutId = $browser.defer(function() {\n\t try {\n\t deferred.resolve(fn());\n\t } catch (e) {\n\t deferred.reject(e);\n\t $exceptionHandler(e);\n\t }\n\t finally {\n\t delete deferreds[promise.$$timeoutId];\n\t }\n\t\n\t if (!skipApply) $rootScope.$apply();\n\t }, delay);\n\t\n\t promise.$$timeoutId = timeoutId;\n\t deferreds[timeoutId] = deferred;\n\t\n\t return promise;\n\t }\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $timeout#cancel\n\t *\n\t * @description\n\t * Cancels a task associated with the `promise`. As a result of this, the promise will be\n\t * resolved with a rejection.\n\t *\n\t * @param {Promise=} promise Promise returned by the `$timeout` function.\n\t * @returns {boolean} Returns `true` if the task hasn't executed yet and was successfully\n\t * canceled.\n\t */\n\t timeout.cancel = function(promise) {\n\t if (promise && promise.$$timeoutId in deferreds) {\n\t deferreds[promise.$$timeoutId].reject('canceled');\n\t delete deferreds[promise.$$timeoutId];\n\t return $browser.defer.cancel(promise.$$timeoutId);\n\t }\n\t return false;\n\t };\n\t\n\t return timeout;\n\t }];\n\t}\n\t\n\t// NOTE: The usage of window and document instead of $window and $document here is\n\t// deliberate. This service depends on the specific behavior of anchor nodes created by the\n\t// browser (resolving and parsing URLs) that is unlikely to be provided by mock objects and\n\t// cause us to break tests. In addition, when the browser resolves a URL for XHR, it\n\t// doesn't know about mocked locations and resolves URLs to the real document - which is\n\t// exactly the behavior needed here. There is little value is mocking these out for this\n\t// service.\n\tvar urlParsingNode = document.createElement(\"a\");\n\tvar originUrl = urlResolve(window.location.href);\n\t\n\t\n\t/**\n\t *\n\t * Implementation Notes for non-IE browsers\n\t * ----------------------------------------\n\t * Assigning a URL to the href property of an anchor DOM node, even one attached to the DOM,\n\t * results both in the normalizing and parsing of the URL. Normalizing means that a relative\n\t * URL will be resolved into an absolute URL in the context of the application document.\n\t * Parsing means that the anchor node's host, hostname, protocol, port, pathname and related\n\t * properties are all populated to reflect the normalized URL. This approach has wide\n\t * compatibility - Safari 1+, Mozilla 1+, Opera 7+,e etc. See\n\t * http://www.aptana.com/reference/html/api/HTMLAnchorElement.html\n\t *\n\t * Implementation Notes for IE\n\t * ---------------------------\n\t * IE >= 8 and <= 10 normalizes the URL when assigned to the anchor node similar to the other\n\t * browsers. However, the parsed components will not be set if the URL assigned did not specify\n\t * them. (e.g. if you assign a.href = \"foo\", then a.protocol, a.host, etc. will be empty.) We\n\t * work around that by performing the parsing in a 2nd step by taking a previously normalized\n\t * URL (e.g. by assigning to a.href) and assigning it a.href again. This correctly populates the\n\t * properties such as protocol, hostname, port, etc.\n\t *\n\t * IE7 does not normalize the URL when assigned to an anchor node. (Apparently, it does, if one\n\t * uses the inner HTML approach to assign the URL as part of an HTML snippet -\n\t * http://stackoverflow.com/a/472729) However, setting img[src] does normalize the URL.\n\t * Unfortunately, setting img[src] to something like \"javascript:foo\" on IE throws an exception.\n\t * Since the primary usage for normalizing URLs is to sanitize such URLs, we can't use that\n\t * method and IE < 8 is unsupported.\n\t *\n\t * References:\n\t * http://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement\n\t * http://www.aptana.com/reference/html/api/HTMLAnchorElement.html\n\t * http://url.spec.whatwg.org/#urlutils\n\t * https://github.com/angular/angular.js/pull/2902\n\t * http://james.padolsey.com/javascript/parsing-urls-with-the-dom/\n\t *\n\t * @kind function\n\t * @param {string} url The URL to be parsed.\n\t * @description Normalizes and parses a URL.\n\t * @returns {object} Returns the normalized URL as a dictionary.\n\t *\n\t * | member name | Description |\n\t * |---------------|----------------|\n\t * | href | A normalized version of the provided URL if it was not an absolute URL |\n\t * | protocol | The protocol including the trailing colon |\n\t * | host | The host and port (if the port is non-default) of the normalizedUrl |\n\t * | search | The search params, minus the question mark |\n\t * | hash | The hash string, minus the hash symbol\n\t * | hostname | The hostname\n\t * | port | The port, without \":\"\n\t * | pathname | The pathname, beginning with \"/\"\n\t *\n\t */\n\tfunction urlResolve(url) {\n\t var href = url;\n\t\n\t if (msie) {\n\t // Normalize before parse. Refer Implementation Notes on why this is\n\t // done in two steps on IE.\n\t urlParsingNode.setAttribute(\"href\", href);\n\t href = urlParsingNode.href;\n\t }\n\t\n\t urlParsingNode.setAttribute('href', href);\n\t\n\t // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n\t return {\n\t href: urlParsingNode.href,\n\t protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n\t host: urlParsingNode.host,\n\t search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n\t hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n\t hostname: urlParsingNode.hostname,\n\t port: urlParsingNode.port,\n\t pathname: (urlParsingNode.pathname.charAt(0) === '/')\n\t ? urlParsingNode.pathname\n\t : '/' + urlParsingNode.pathname\n\t };\n\t}\n\t\n\t/**\n\t * Parse a request URL and determine whether this is a same-origin request as the application document.\n\t *\n\t * @param {string|object} requestUrl The url of the request as a string that will be resolved\n\t * or a parsed URL object.\n\t * @returns {boolean} Whether the request is for the same origin as the application document.\n\t */\n\tfunction urlIsSameOrigin(requestUrl) {\n\t var parsed = (isString(requestUrl)) ? urlResolve(requestUrl) : requestUrl;\n\t return (parsed.protocol === originUrl.protocol &&\n\t parsed.host === originUrl.host);\n\t}\n\t\n\t/**\n\t * @ngdoc service\n\t * @name $window\n\t *\n\t * @description\n\t * A reference to the browser's `window` object. While `window`\n\t * is globally available in JavaScript, it causes testability problems, because\n\t * it is a global variable. In angular we always refer to it through the\n\t * `$window` service, so it may be overridden, removed or mocked for testing.\n\t *\n\t * Expressions, like the one defined for the `ngClick` directive in the example\n\t * below, are evaluated with respect to the current scope. Therefore, there is\n\t * no risk of inadvertently coding in a dependency on a global value in such an\n\t * expression.\n\t *\n\t * @example\n\t \n\t \n\t \n\t
\n\t \n\t \n\t
\n\t
\n\t \n\t it('should display the greeting in the input box', function() {\n\t element(by.model('greeting')).sendKeys('Hello, E2E Tests');\n\t // If we click the button it will block the test runner\n\t // element(':button').click();\n\t });\n\t \n\t
\n\t */\n\tfunction $WindowProvider() {\n\t this.$get = valueFn(window);\n\t}\n\t\n\t/* global currencyFilter: true,\n\t dateFilter: true,\n\t filterFilter: true,\n\t jsonFilter: true,\n\t limitToFilter: true,\n\t lowercaseFilter: true,\n\t numberFilter: true,\n\t orderByFilter: true,\n\t uppercaseFilter: true,\n\t */\n\t\n\t/**\n\t * @ngdoc provider\n\t * @name $filterProvider\n\t * @description\n\t *\n\t * Filters are just functions which transform input to an output. However filters need to be\n\t * Dependency Injected. To achieve this a filter definition consists of a factory function which is\n\t * annotated with dependencies and is responsible for creating a filter function.\n\t *\n\t *
\n\t * **Note:** Filter names must be valid angular {@link expression} identifiers, such as `uppercase` or `orderBy`.\n\t * Names with special characters, such as hyphens and dots, are not allowed. If you wish to namespace\n\t * your filters, then you can use capitalization (`myappSubsectionFilterx`) or underscores\n\t * (`myapp_subsection_filterx`).\n\t *
\n\t *\n\t * ```js\n\t * // Filter registration\n\t * function MyModule($provide, $filterProvider) {\n\t * // create a service to demonstrate injection (not always needed)\n\t * $provide.value('greet', function(name){\n\t * return 'Hello ' + name + '!';\n\t * });\n\t *\n\t * // register a filter factory which uses the\n\t * // greet service to demonstrate DI.\n\t * $filterProvider.register('greet', function(greet){\n\t * // return the filter function which uses the greet service\n\t * // to generate salutation\n\t * return function(text) {\n\t * // filters need to be forgiving so check input validity\n\t * return text && greet(text) || text;\n\t * };\n\t * });\n\t * }\n\t * ```\n\t *\n\t * The filter function is registered with the `$injector` under the filter name suffix with\n\t * `Filter`.\n\t *\n\t * ```js\n\t * it('should be the same instance', inject(\n\t * function($filterProvider) {\n\t * $filterProvider.register('reverse', function(){\n\t * return ...;\n\t * });\n\t * },\n\t * function($filter, reverseFilter) {\n\t * expect($filter('reverse')).toBe(reverseFilter);\n\t * });\n\t * ```\n\t *\n\t *\n\t * For more information about how angular filters work, and how to create your own filters, see\n\t * {@link guide/filter Filters} in the Angular Developer Guide.\n\t */\n\t\n\t/**\n\t * @ngdoc service\n\t * @name $filter\n\t * @kind function\n\t * @description\n\t * Filters are used for formatting data displayed to the user.\n\t *\n\t * The general syntax in templates is as follows:\n\t *\n\t * {{ expression [| filter_name[:parameter_value] ... ] }}\n\t *\n\t * @param {String} name Name of the filter function to retrieve\n\t * @return {Function} the filter function\n\t * @example\n\t \n\t \n\t
\n\t

{{ originalText }}

\n\t

{{ filteredText }}

\n\t
\n\t
\n\t\n\t \n\t angular.module('filterExample', [])\n\t .controller('MainCtrl', function($scope, $filter) {\n\t $scope.originalText = 'hello';\n\t $scope.filteredText = $filter('uppercase')($scope.originalText);\n\t });\n\t \n\t
\n\t */\n\t$FilterProvider.$inject = ['$provide'];\n\tfunction $FilterProvider($provide) {\n\t var suffix = 'Filter';\n\t\n\t /**\n\t * @ngdoc method\n\t * @name $filterProvider#register\n\t * @param {string|Object} name Name of the filter function, or an object map of filters where\n\t * the keys are the filter names and the values are the filter factories.\n\t *\n\t *
\n\t * **Note:** Filter names must be valid angular {@link expression} identifiers, such as `uppercase` or `orderBy`.\n\t * Names with special characters, such as hyphens and dots, are not allowed. If you wish to namespace\n\t * your filters, then you can use capitalization (`myappSubsectionFilterx`) or underscores\n\t * (`myapp_subsection_filterx`).\n\t *
\n\t * @returns {Object} Registered filter instance, or if a map of filters was provided then a map\n\t * of the registered filter instances.\n\t */\n\t function register(name, factory) {\n\t if (isObject(name)) {\n\t var filters = {};\n\t forEach(name, function(filter, key) {\n\t filters[key] = register(key, filter);\n\t });\n\t return filters;\n\t } else {\n\t return $provide.factory(name + suffix, factory);\n\t }\n\t }\n\t this.register = register;\n\t\n\t this.$get = ['$injector', function($injector) {\n\t return function(name) {\n\t return $injector.get(name + suffix);\n\t };\n\t }];\n\t\n\t ////////////////////////////////////////\n\t\n\t /* global\n\t currencyFilter: false,\n\t dateFilter: false,\n\t filterFilter: false,\n\t jsonFilter: false,\n\t limitToFilter: false,\n\t lowercaseFilter: false,\n\t numberFilter: false,\n\t orderByFilter: false,\n\t uppercaseFilter: false,\n\t */\n\t\n\t register('currency', currencyFilter);\n\t register('date', dateFilter);\n\t register('filter', filterFilter);\n\t register('json', jsonFilter);\n\t register('limitTo', limitToFilter);\n\t register('lowercase', lowercaseFilter);\n\t register('number', numberFilter);\n\t register('orderBy', orderByFilter);\n\t register('uppercase', uppercaseFilter);\n\t}\n\t\n\t/**\n\t * @ngdoc filter\n\t * @name filter\n\t * @kind function\n\t *\n\t * @description\n\t * Selects a subset of items from `array` and returns it as a new array.\n\t *\n\t * @param {Array} array The source array.\n\t * @param {string|Object|function()} expression The predicate to be used for selecting items from\n\t * `array`.\n\t *\n\t * Can be one of:\n\t *\n\t * - `string`: The string is used for matching against the contents of the `array`. All strings or\n\t * objects with string properties in `array` that match this string will be returned. This also\n\t * applies to nested object properties.\n\t * The predicate can be negated by prefixing the string with `!`.\n\t *\n\t * - `Object`: A pattern object can be used to filter specific properties on objects contained\n\t * by `array`. For example `{name:\"M\", phone:\"1\"}` predicate will return an array of items\n\t * which have property `name` containing \"M\" and property `phone` containing \"1\". A special\n\t * property name `$` can be used (as in `{$:\"text\"}`) to accept a match against any\n\t * property of the object or its nested object properties. That's equivalent to the simple\n\t * substring match with a `string` as described above. The predicate can be negated by prefixing\n\t * the string with `!`.\n\t * For example `{name: \"!M\"}` predicate will return an array of items which have property `name`\n\t * not containing \"M\".\n\t *\n\t * Note that a named property will match properties on the same level only, while the special\n\t * `$` property will match properties on the same level or deeper. E.g. an array item like\n\t * `{name: {first: 'John', last: 'Doe'}}` will **not** be matched by `{name: 'John'}`, but\n\t * **will** be matched by `{$: 'John'}`.\n\t *\n\t * - `function(value, index)`: A predicate function can be used to write arbitrary filters. The\n\t * function is called for each element of `array`. The final result is an array of those\n\t * elements that the predicate returned true for.\n\t *\n\t * @param {function(actual, expected)|true|undefined} comparator Comparator which is used in\n\t * determining if the expected value (from the filter expression) and actual value (from\n\t * the object in the array) should be considered a match.\n\t *\n\t * Can be one of:\n\t *\n\t * - `function(actual, expected)`:\n\t * The function will be given the object value and the predicate value to compare and\n\t * should return true if both values should be considered equal.\n\t *\n\t * - `true`: A shorthand for `function(actual, expected) { return angular.equals(actual, expected)}`.\n\t * This is essentially strict comparison of expected and actual.\n\t *\n\t * - `false|undefined`: A short hand for a function which will look for a substring match in case\n\t * insensitive way.\n\t *\n\t * @example\n\t \n\t \n\t
\n\t\n\t Search: \n\t \n\t \n\t \n\t \n\t \n\t \n\t
NamePhone
{{friend.name}}{{friend.phone}}
\n\t
\n\t Any:
\n\t Name only
\n\t Phone only
\n\t Equality
\n\t \n\t \n\t \n\t \n\t \n\t \n\t
NamePhone
{{friendObj.name}}{{friendObj.phone}}
\n\t
\n\t \n\t var expectFriendNames = function(expectedNames, key) {\n\t element.all(by.repeater(key + ' in friends').column(key + '.name')).then(function(arr) {\n\t arr.forEach(function(wd, i) {\n\t expect(wd.getText()).toMatch(expectedNames[i]);\n\t });\n\t });\n\t };\n\t\n\t it('should search across all fields when filtering with a string', function() {\n\t var searchText = element(by.model('searchText'));\n\t searchText.clear();\n\t searchText.sendKeys('m');\n\t expectFriendNames(['Mary', 'Mike', 'Adam'], 'friend');\n\t\n\t searchText.clear();\n\t searchText.sendKeys('76');\n\t expectFriendNames(['John', 'Julie'], 'friend');\n\t });\n\t\n\t it('should search in specific fields when filtering with a predicate object', function() {\n\t var searchAny = element(by.model('search.$'));\n\t searchAny.clear();\n\t searchAny.sendKeys('i');\n\t expectFriendNames(['Mary', 'Mike', 'Julie', 'Juliette'], 'friendObj');\n\t });\n\t it('should use a equal comparison when comparator is true', function() {\n\t var searchName = element(by.model('search.name'));\n\t var strict = element(by.model('strict'));\n\t searchName.clear();\n\t searchName.sendKeys('Julie');\n\t strict.click();\n\t expectFriendNames(['Julie'], 'friendObj');\n\t });\n\t \n\t
\n\t */\n\tfunction filterFilter() {\n\t return function(array, expression, comparator) {\n\t if (!isArray(array)) return array;\n\t\n\t var expressionType = (expression !== null) ? typeof expression : 'null';\n\t var predicateFn;\n\t var matchAgainstAnyProp;\n\t\n\t switch (expressionType) {\n\t case 'function':\n\t predicateFn = expression;\n\t break;\n\t case 'boolean':\n\t case 'null':\n\t case 'number':\n\t case 'string':\n\t matchAgainstAnyProp = true;\n\t //jshint -W086\n\t case 'object':\n\t //jshint +W086\n\t predicateFn = createPredicateFn(expression, comparator, matchAgainstAnyProp);\n\t break;\n\t default:\n\t return array;\n\t }\n\t\n\t return array.filter(predicateFn);\n\t };\n\t}\n\t\n\t// Helper functions for `filterFilter`\n\tfunction createPredicateFn(expression, comparator, matchAgainstAnyProp) {\n\t var shouldMatchPrimitives = isObject(expression) && ('$' in expression);\n\t var predicateFn;\n\t\n\t if (comparator === true) {\n\t comparator = equals;\n\t } else if (!isFunction(comparator)) {\n\t comparator = function(actual, expected) {\n\t if (isUndefined(actual)) {\n\t // No substring matching against `undefined`\n\t return false;\n\t }\n\t if ((actual === null) || (expected === null)) {\n\t // No substring matching against `null`; only match against `null`\n\t return actual === expected;\n\t }\n\t if (isObject(actual) || isObject(expected)) {\n\t // Prevent an object to be considered equal to a string like `'[object'`\n\t return false;\n\t }\n\t\n\t actual = lowercase('' + actual);\n\t expected = lowercase('' + expected);\n\t return actual.indexOf(expected) !== -1;\n\t };\n\t }\n\t\n\t predicateFn = function(item) {\n\t if (shouldMatchPrimitives && !isObject(item)) {\n\t return deepCompare(item, expression.$, comparator, false);\n\t }\n\t return deepCompare(item, expression, comparator, matchAgainstAnyProp);\n\t };\n\t\n\t return predicateFn;\n\t}\n\t\n\tfunction deepCompare(actual, expected, comparator, matchAgainstAnyProp, dontMatchWholeObject) {\n\t var actualType = (actual !== null) ? typeof actual : 'null';\n\t var expectedType = (expected !== null) ? typeof expected : 'null';\n\t\n\t if ((expectedType === 'string') && (expected.charAt(0) === '!')) {\n\t return !deepCompare(actual, expected.substring(1), comparator, matchAgainstAnyProp);\n\t } else if (isArray(actual)) {\n\t // In case `actual` is an array, consider it a match\n\t // if ANY of it's items matches `expected`\n\t return actual.some(function(item) {\n\t return deepCompare(item, expected, comparator, matchAgainstAnyProp);\n\t });\n\t }\n\t\n\t switch (actualType) {\n\t case 'object':\n\t var key;\n\t if (matchAgainstAnyProp) {\n\t for (key in actual) {\n\t if ((key.charAt(0) !== '$') && deepCompare(actual[key], expected, comparator, true)) {\n\t return true;\n\t }\n\t }\n\t return dontMatchWholeObject ? false : deepCompare(actual, expected, comparator, false);\n\t } else if (expectedType === 'object') {\n\t for (key in expected) {\n\t var expectedVal = expected[key];\n\t if (isFunction(expectedVal) || isUndefined(expectedVal)) {\n\t continue;\n\t }\n\t\n\t var matchAnyProperty = key === '$';\n\t var actualVal = matchAnyProperty ? actual : actual[key];\n\t if (!deepCompare(actualVal, expectedVal, comparator, matchAnyProperty, matchAnyProperty)) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t } else {\n\t return comparator(actual, expected);\n\t }\n\t break;\n\t case 'function':\n\t return false;\n\t default:\n\t return comparator(actual, expected);\n\t }\n\t}\n\t\n\t/**\n\t * @ngdoc filter\n\t * @name currency\n\t * @kind function\n\t *\n\t * @description\n\t * Formats a number as a currency (ie $1,234.56). When no currency symbol is provided, default\n\t * symbol for current locale is used.\n\t *\n\t * @param {number} amount Input to filter.\n\t * @param {string=} symbol Currency symbol or identifier to be displayed.\n\t * @param {number=} fractionSize Number of decimal places to round the amount to, defaults to default max fraction size for current locale\n\t * @returns {string} Formatted number.\n\t *\n\t *\n\t * @example\n\t \n\t \n\t \n\t
\n\t
\n\t default currency symbol ($): {{amount | currency}}
\n\t custom currency identifier (USD$): {{amount | currency:\"USD$\"}}\n\t no fractions (0): {{amount | currency:\"USD$\":0}}\n\t
\n\t
\n\t \n\t it('should init with 1234.56', function() {\n\t expect(element(by.id('currency-default')).getText()).toBe('$1,234.56');\n\t expect(element(by.id('currency-custom')).getText()).toBe('USD$1,234.56');\n\t expect(element(by.id('currency-no-fractions')).getText()).toBe('USD$1,235');\n\t });\n\t it('should update', function() {\n\t if (browser.params.browser == 'safari') {\n\t // Safari does not understand the minus key. See\n\t // https://github.com/angular/protractor/issues/481\n\t return;\n\t }\n\t element(by.model('amount')).clear();\n\t element(by.model('amount')).sendKeys('-1234');\n\t expect(element(by.id('currency-default')).getText()).toBe('($1,234.00)');\n\t expect(element(by.id('currency-custom')).getText()).toBe('(USD$1,234.00)');\n\t expect(element(by.id('currency-no-fractions')).getText()).toBe('(USD$1,234)');\n\t });\n\t \n\t
\n\t */\n\tcurrencyFilter.$inject = ['$locale'];\n\tfunction currencyFilter($locale) {\n\t var formats = $locale.NUMBER_FORMATS;\n\t return function(amount, currencySymbol, fractionSize) {\n\t if (isUndefined(currencySymbol)) {\n\t currencySymbol = formats.CURRENCY_SYM;\n\t }\n\t\n\t if (isUndefined(fractionSize)) {\n\t fractionSize = formats.PATTERNS[1].maxFrac;\n\t }\n\t\n\t // if null or undefined pass it through\n\t return (amount == null)\n\t ? amount\n\t : formatNumber(amount, formats.PATTERNS[1], formats.GROUP_SEP, formats.DECIMAL_SEP, fractionSize).\n\t replace(/\\u00A4/g, currencySymbol);\n\t };\n\t}\n\t\n\t/**\n\t * @ngdoc filter\n\t * @name number\n\t * @kind function\n\t *\n\t * @description\n\t * Formats a number as text.\n\t *\n\t * If the input is null or undefined, it will just be returned.\n\t * If the input is infinite (Infinity/-Infinity) the Infinity symbol '∞' is returned.\n\t * If the input is not a number an empty string is returned.\n\t *\n\t * @param {number|string} number Number to format.\n\t * @param {(number|string)=} fractionSize Number of decimal places to round the number to.\n\t * If this is not provided then the fraction size is computed from the current locale's number\n\t * formatting pattern. In the case of the default locale, it will be 3.\n\t * @returns {string} Number rounded to decimalPlaces and places a “,” after each third digit.\n\t *\n\t * @example\n\t \n\t \n\t \n\t
\n\t Enter number:
\n\t Default formatting: {{val | number}}
\n\t No fractions: {{val | number:0}}
\n\t Negative number: {{-val | number:4}}\n\t
\n\t
\n\t \n\t it('should format numbers', function() {\n\t expect(element(by.id('number-default')).getText()).toBe('1,234.568');\n\t expect(element(by.binding('val | number:0')).getText()).toBe('1,235');\n\t expect(element(by.binding('-val | number:4')).getText()).toBe('-1,234.5679');\n\t });\n\t\n\t it('should update', function() {\n\t element(by.model('val')).clear();\n\t element(by.model('val')).sendKeys('3374.333');\n\t expect(element(by.id('number-default')).getText()).toBe('3,374.333');\n\t expect(element(by.binding('val | number:0')).getText()).toBe('3,374');\n\t expect(element(by.binding('-val | number:4')).getText()).toBe('-3,374.3330');\n\t });\n\t \n\t
\n\t */\n\t\n\t\n\tnumberFilter.$inject = ['$locale'];\n\tfunction numberFilter($locale) {\n\t var formats = $locale.NUMBER_FORMATS;\n\t return function(number, fractionSize) {\n\t\n\t // if null or undefined pass it through\n\t return (number == null)\n\t ? number\n\t : formatNumber(number, formats.PATTERNS[0], formats.GROUP_SEP, formats.DECIMAL_SEP,\n\t fractionSize);\n\t };\n\t}\n\t\n\tvar DECIMAL_SEP = '.';\n\tfunction formatNumber(number, pattern, groupSep, decimalSep, fractionSize) {\n\t if (!isFinite(number) || isObject(number)) return '';\n\t\n\t var isNegative = number < 0;\n\t number = Math.abs(number);\n\t var numStr = number + '',\n\t formatedText = '',\n\t parts = [];\n\t\n\t var hasExponent = false;\n\t if (numStr.indexOf('e') !== -1) {\n\t var match = numStr.match(/([\\d\\.]+)e(-?)(\\d+)/);\n\t if (match && match[2] == '-' && match[3] > fractionSize + 1) {\n\t number = 0;\n\t } else {\n\t formatedText = numStr;\n\t hasExponent = true;\n\t }\n\t }\n\t\n\t if (!hasExponent) {\n\t var fractionLen = (numStr.split(DECIMAL_SEP)[1] || '').length;\n\t\n\t // determine fractionSize if it is not specified\n\t if (isUndefined(fractionSize)) {\n\t fractionSize = Math.min(Math.max(pattern.minFrac, fractionLen), pattern.maxFrac);\n\t }\n\t\n\t // safely round numbers in JS without hitting imprecisions of floating-point arithmetics\n\t // inspired by:\n\t // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round\n\t number = +(Math.round(+(number.toString() + 'e' + fractionSize)).toString() + 'e' + -fractionSize);\n\t\n\t var fraction = ('' + number).split(DECIMAL_SEP);\n\t var whole = fraction[0];\n\t fraction = fraction[1] || '';\n\t\n\t var i, pos = 0,\n\t lgroup = pattern.lgSize,\n\t group = pattern.gSize;\n\t\n\t if (whole.length >= (lgroup + group)) {\n\t pos = whole.length - lgroup;\n\t for (i = 0; i < pos; i++) {\n\t if ((pos - i) % group === 0 && i !== 0) {\n\t formatedText += groupSep;\n\t }\n\t formatedText += whole.charAt(i);\n\t }\n\t }\n\t\n\t for (i = pos; i < whole.length; i++) {\n\t if ((whole.length - i) % lgroup === 0 && i !== 0) {\n\t formatedText += groupSep;\n\t }\n\t formatedText += whole.charAt(i);\n\t }\n\t\n\t // format fraction part.\n\t while (fraction.length < fractionSize) {\n\t fraction += '0';\n\t }\n\t\n\t if (fractionSize && fractionSize !== \"0\") formatedText += decimalSep + fraction.substr(0, fractionSize);\n\t } else {\n\t if (fractionSize > 0 && number < 1) {\n\t formatedText = number.toFixed(fractionSize);\n\t number = parseFloat(formatedText);\n\t }\n\t }\n\t\n\t if (number === 0) {\n\t isNegative = false;\n\t }\n\t\n\t parts.push(isNegative ? pattern.negPre : pattern.posPre,\n\t formatedText,\n\t isNegative ? pattern.negSuf : pattern.posSuf);\n\t return parts.join('');\n\t}\n\t\n\tfunction padNumber(num, digits, trim) {\n\t var neg = '';\n\t if (num < 0) {\n\t neg = '-';\n\t num = -num;\n\t }\n\t num = '' + num;\n\t while (num.length < digits) num = '0' + num;\n\t if (trim)\n\t num = num.substr(num.length - digits);\n\t return neg + num;\n\t}\n\t\n\t\n\tfunction dateGetter(name, size, offset, trim) {\n\t offset = offset || 0;\n\t return function(date) {\n\t var value = date['get' + name]();\n\t if (offset > 0 || value > -offset)\n\t value += offset;\n\t if (value === 0 && offset == -12) value = 12;\n\t return padNumber(value, size, trim);\n\t };\n\t}\n\t\n\tfunction dateStrGetter(name, shortForm) {\n\t return function(date, formats) {\n\t var value = date['get' + name]();\n\t var get = uppercase(shortForm ? ('SHORT' + name) : name);\n\t\n\t return formats[get][value];\n\t };\n\t}\n\t\n\tfunction timeZoneGetter(date) {\n\t var zone = -1 * date.getTimezoneOffset();\n\t var paddedZone = (zone >= 0) ? \"+\" : \"\";\n\t\n\t paddedZone += padNumber(Math[zone > 0 ? 'floor' : 'ceil'](zone / 60), 2) +\n\t padNumber(Math.abs(zone % 60), 2);\n\t\n\t return paddedZone;\n\t}\n\t\n\tfunction getFirstThursdayOfYear(year) {\n\t // 0 = index of January\n\t var dayOfWeekOnFirst = (new Date(year, 0, 1)).getDay();\n\t // 4 = index of Thursday (+1 to account for 1st = 5)\n\t // 11 = index of *next* Thursday (+1 account for 1st = 12)\n\t return new Date(year, 0, ((dayOfWeekOnFirst <= 4) ? 5 : 12) - dayOfWeekOnFirst);\n\t}\n\t\n\tfunction getThursdayThisWeek(datetime) {\n\t return new Date(datetime.getFullYear(), datetime.getMonth(),\n\t // 4 = index of Thursday\n\t datetime.getDate() + (4 - datetime.getDay()));\n\t}\n\t\n\tfunction weekGetter(size) {\n\t return function(date) {\n\t var firstThurs = getFirstThursdayOfYear(date.getFullYear()),\n\t thisThurs = getThursdayThisWeek(date);\n\t\n\t var diff = +thisThurs - +firstThurs,\n\t result = 1 + Math.round(diff / 6.048e8); // 6.048e8 ms per week\n\t\n\t return padNumber(result, size);\n\t };\n\t}\n\t\n\tfunction ampmGetter(date, formats) {\n\t return date.getHours() < 12 ? formats.AMPMS[0] : formats.AMPMS[1];\n\t}\n\t\n\tfunction eraGetter(date, formats) {\n\t return date.getFullYear() <= 0 ? formats.ERAS[0] : formats.ERAS[1];\n\t}\n\t\n\tfunction longEraGetter(date, formats) {\n\t return date.getFullYear() <= 0 ? formats.ERANAMES[0] : formats.ERANAMES[1];\n\t}\n\t\n\tvar DATE_FORMATS = {\n\t yyyy: dateGetter('FullYear', 4),\n\t yy: dateGetter('FullYear', 2, 0, true),\n\t y: dateGetter('FullYear', 1),\n\t MMMM: dateStrGetter('Month'),\n\t MMM: dateStrGetter('Month', true),\n\t MM: dateGetter('Month', 2, 1),\n\t M: dateGetter('Month', 1, 1),\n\t dd: dateGetter('Date', 2),\n\t d: dateGetter('Date', 1),\n\t HH: dateGetter('Hours', 2),\n\t H: dateGetter('Hours', 1),\n\t hh: dateGetter('Hours', 2, -12),\n\t h: dateGetter('Hours', 1, -12),\n\t mm: dateGetter('Minutes', 2),\n\t m: dateGetter('Minutes', 1),\n\t ss: dateGetter('Seconds', 2),\n\t s: dateGetter('Seconds', 1),\n\t // while ISO 8601 requires fractions to be prefixed with `.` or `,`\n\t // we can be just safely rely on using `sss` since we currently don't support single or two digit fractions\n\t sss: dateGetter('Milliseconds', 3),\n\t EEEE: dateStrGetter('Day'),\n\t EEE: dateStrGetter('Day', true),\n\t a: ampmGetter,\n\t Z: timeZoneGetter,\n\t ww: weekGetter(2),\n\t w: weekGetter(1),\n\t G: eraGetter,\n\t GG: eraGetter,\n\t GGG: eraGetter,\n\t GGGG: longEraGetter\n\t};\n\t\n\tvar DATE_FORMATS_SPLIT = /((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,\n\t NUMBER_STRING = /^\\-?\\d+$/;\n\t\n\t/**\n\t * @ngdoc filter\n\t * @name date\n\t * @kind function\n\t *\n\t * @description\n\t * Formats `date` to a string based on the requested `format`.\n\t *\n\t * `format` string can be composed of the following elements:\n\t *\n\t * * `'yyyy'`: 4 digit representation of year (e.g. AD 1 => 0001, AD 2010 => 2010)\n\t * * `'yy'`: 2 digit representation of year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10)\n\t * * `'y'`: 1 digit representation of year, e.g. (AD 1 => 1, AD 199 => 199)\n\t * * `'MMMM'`: Month in year (January-December)\n\t * * `'MMM'`: Month in year (Jan-Dec)\n\t * * `'MM'`: Month in year, padded (01-12)\n\t * * `'M'`: Month in year (1-12)\n\t * * `'dd'`: Day in month, padded (01-31)\n\t * * `'d'`: Day in month (1-31)\n\t * * `'EEEE'`: Day in Week,(Sunday-Saturday)\n\t * * `'EEE'`: Day in Week, (Sun-Sat)\n\t * * `'HH'`: Hour in day, padded (00-23)\n\t * * `'H'`: Hour in day (0-23)\n\t * * `'hh'`: Hour in AM/PM, padded (01-12)\n\t * * `'h'`: Hour in AM/PM, (1-12)\n\t * * `'mm'`: Minute in hour, padded (00-59)\n\t * * `'m'`: Minute in hour (0-59)\n\t * * `'ss'`: Second in minute, padded (00-59)\n\t * * `'s'`: Second in minute (0-59)\n\t * * `'sss'`: Millisecond in second, padded (000-999)\n\t * * `'a'`: AM/PM marker\n\t * * `'Z'`: 4 digit (+sign) representation of the timezone offset (-1200-+1200)\n\t * * `'ww'`: Week of year, padded (00-53). Week 01 is the week with the first Thursday of the year\n\t * * `'w'`: Week of year (0-53). Week 1 is the week with the first Thursday of the year\n\t * * `'G'`, `'GG'`, `'GGG'`: The abbreviated form of the era string (e.g. 'AD')\n\t * * `'GGGG'`: The long form of the era string (e.g. 'Anno Domini')\n\t *\n\t * `format` string can also be one of the following predefined\n\t * {@link guide/i18n localizable formats}:\n\t *\n\t * * `'medium'`: equivalent to `'MMM d, y h:mm:ss a'` for en_US locale\n\t * (e.g. Sep 3, 2010 12:05:08 PM)\n\t * * `'short'`: equivalent to `'M/d/yy h:mm a'` for en_US locale (e.g. 9/3/10 12:05 PM)\n\t * * `'fullDate'`: equivalent to `'EEEE, MMMM d, y'` for en_US locale\n\t * (e.g. Friday, September 3, 2010)\n\t * * `'longDate'`: equivalent to `'MMMM d, y'` for en_US locale (e.g. September 3, 2010)\n\t * * `'mediumDate'`: equivalent to `'MMM d, y'` for en_US locale (e.g. Sep 3, 2010)\n\t * * `'shortDate'`: equivalent to `'M/d/yy'` for en_US locale (e.g. 9/3/10)\n\t * * `'mediumTime'`: equivalent to `'h:mm:ss a'` for en_US locale (e.g. 12:05:08 PM)\n\t * * `'shortTime'`: equivalent to `'h:mm a'` for en_US locale (e.g. 12:05 PM)\n\t *\n\t * `format` string can contain literal values. These need to be escaped by surrounding with single quotes (e.g.\n\t * `\"h 'in the morning'\"`). In order to output a single quote, escape it - i.e., two single quotes in a sequence\n\t * (e.g. `\"h 'o''clock'\"`).\n\t *\n\t * @param {(Date|number|string)} date Date to format either as Date object, milliseconds (string or\n\t * number) or various ISO 8601 datetime string formats (e.g. yyyy-MM-ddTHH:mm:ss.sssZ and its\n\t * shorter versions like yyyy-MM-ddTHH:mmZ, yyyy-MM-dd or yyyyMMddTHHmmssZ). If no timezone is\n\t * specified in the string input, the time is considered to be in the local timezone.\n\t * @param {string=} format Formatting rules (see Description). If not specified,\n\t * `mediumDate` is used.\n\t * @param {string=} timezone Timezone to be used for formatting. Right now, only `'UTC'` is supported.\n\t * If not specified, the timezone of the browser will be used.\n\t * @returns {string} Formatted string or the input if input is not recognized as date/millis.\n\t *\n\t * @example\n\t \n\t \n\t {{1288323623006 | date:'medium'}}:\n\t {{1288323623006 | date:'medium'}}
\n\t {{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}}:\n\t {{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}}
\n\t {{1288323623006 | date:'MM/dd/yyyy @ h:mma'}}:\n\t {{'1288323623006' | date:'MM/dd/yyyy @ h:mma'}}
\n\t {{1288323623006 | date:\"MM/dd/yyyy 'at' h:mma\"}}:\n\t {{'1288323623006' | date:\"MM/dd/yyyy 'at' h:mma\"}}
\n\t
\n\t \n\t it('should format date', function() {\n\t expect(element(by.binding(\"1288323623006 | date:'medium'\")).getText()).\n\t toMatch(/Oct 2\\d, 2010 \\d{1,2}:\\d{2}:\\d{2} (AM|PM)/);\n\t expect(element(by.binding(\"1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'\")).getText()).\n\t toMatch(/2010\\-10\\-2\\d \\d{2}:\\d{2}:\\d{2} (\\-|\\+)?\\d{4}/);\n\t expect(element(by.binding(\"'1288323623006' | date:'MM/dd/yyyy @ h:mma'\")).getText()).\n\t toMatch(/10\\/2\\d\\/2010 @ \\d{1,2}:\\d{2}(AM|PM)/);\n\t expect(element(by.binding(\"'1288323623006' | date:\\\"MM/dd/yyyy 'at' h:mma\\\"\")).getText()).\n\t toMatch(/10\\/2\\d\\/2010 at \\d{1,2}:\\d{2}(AM|PM)/);\n\t });\n\t \n\t
\n\t */\n\tdateFilter.$inject = ['$locale'];\n\tfunction dateFilter($locale) {\n\t\n\t\n\t var R_ISO8601_STR = /^(\\d{4})-?(\\d\\d)-?(\\d\\d)(?:T(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:\\.(\\d+))?)?)?(Z|([+-])(\\d\\d):?(\\d\\d))?)?$/;\n\t // 1 2 3 4 5 6 7 8 9 10 11\n\t function jsonStringToDate(string) {\n\t var match;\n\t if (match = string.match(R_ISO8601_STR)) {\n\t var date = new Date(0),\n\t tzHour = 0,\n\t tzMin = 0,\n\t dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear,\n\t timeSetter = match[8] ? date.setUTCHours : date.setHours;\n\t\n\t if (match[9]) {\n\t tzHour = int(match[9] + match[10]);\n\t tzMin = int(match[9] + match[11]);\n\t }\n\t dateSetter.call(date, int(match[1]), int(match[2]) - 1, int(match[3]));\n\t var h = int(match[4] || 0) - tzHour;\n\t var m = int(match[5] || 0) - tzMin;\n\t var s = int(match[6] || 0);\n\t var ms = Math.round(parseFloat('0.' + (match[7] || 0)) * 1000);\n\t timeSetter.call(date, h, m, s, ms);\n\t return date;\n\t }\n\t return string;\n\t }\n\t\n\t\n\t return function(date, format, timezone) {\n\t var text = '',\n\t parts = [],\n\t fn, match;\n\t\n\t format = format || 'mediumDate';\n\t format = $locale.DATETIME_FORMATS[format] || format;\n\t if (isString(date)) {\n\t date = NUMBER_STRING.test(date) ? int(date) : jsonStringToDate(date);\n\t }\n\t\n\t if (isNumber(date)) {\n\t date = new Date(date);\n\t }\n\t\n\t if (!isDate(date)) {\n\t return date;\n\t }\n\t\n\t while (format) {\n\t match = DATE_FORMATS_SPLIT.exec(format);\n\t if (match) {\n\t parts = concat(parts, match, 1);\n\t format = parts.pop();\n\t } else {\n\t parts.push(format);\n\t format = null;\n\t }\n\t }\n\t\n\t if (timezone && timezone === 'UTC') {\n\t date = new Date(date.getTime());\n\t date.setMinutes(date.getMinutes() + date.getTimezoneOffset());\n\t }\n\t forEach(parts, function(value) {\n\t fn = DATE_FORMATS[value];\n\t text += fn ? fn(date, $locale.DATETIME_FORMATS)\n\t : value.replace(/(^'|'$)/g, '').replace(/''/g, \"'\");\n\t });\n\t\n\t return text;\n\t };\n\t}\n\t\n\t\n\t/**\n\t * @ngdoc filter\n\t * @name json\n\t * @kind function\n\t *\n\t * @description\n\t * Allows you to convert a JavaScript object into JSON string.\n\t *\n\t * This filter is mostly useful for debugging. When using the double curly {{value}} notation\n\t * the binding is automatically converted to JSON.\n\t *\n\t * @param {*} object Any JavaScript object (including arrays and primitive types) to filter.\n\t * @param {number=} spacing The number of spaces to use per indentation, defaults to 2.\n\t * @returns {string} JSON string.\n\t *\n\t *\n\t * @example\n\t \n\t \n\t
{{ {'name':'value'} | json }}
\n\t
{{ {'name':'value'} | json:4 }}
\n\t
\n\t \n\t it('should jsonify filtered objects', function() {\n\t expect(element(by.id('default-spacing')).getText()).toMatch(/\\{\\n \"name\": ?\"value\"\\n}/);\n\t expect(element(by.id('custom-spacing')).getText()).toMatch(/\\{\\n \"name\": ?\"value\"\\n}/);\n\t });\n\t \n\t
\n\t *\n\t */\n\tfunction jsonFilter() {\n\t return function(object, spacing) {\n\t if (isUndefined(spacing)) {\n\t spacing = 2;\n\t }\n\t return toJson(object, spacing);\n\t };\n\t}\n\t\n\t\n\t/**\n\t * @ngdoc filter\n\t * @name lowercase\n\t * @kind function\n\t * @description\n\t * Converts string to lowercase.\n\t * @see angular.lowercase\n\t */\n\tvar lowercaseFilter = valueFn(lowercase);\n\t\n\t\n\t/**\n\t * @ngdoc filter\n\t * @name uppercase\n\t * @kind function\n\t * @description\n\t * Converts string to uppercase.\n\t * @see angular.uppercase\n\t */\n\tvar uppercaseFilter = valueFn(uppercase);\n\t\n\t/**\n\t * @ngdoc filter\n\t * @name limitTo\n\t * @kind function\n\t *\n\t * @description\n\t * Creates a new array or string containing only a specified number of elements. The elements\n\t * are taken from either the beginning or the end of the source array, string or number, as specified by\n\t * the value and sign (positive or negative) of `limit`. If a number is used as input, it is\n\t * converted to a string.\n\t *\n\t * @param {Array|string|number} input Source array, string or number to be limited.\n\t * @param {string|number} limit The length of the returned array or string. If the `limit` number\n\t * is positive, `limit` number of items from the beginning of the source array/string are copied.\n\t * If the number is negative, `limit` number of items from the end of the source array/string\n\t * are copied. The `limit` will be trimmed if it exceeds `array.length`\n\t * @returns {Array|string} A new sub-array or substring of length `limit` or less if input array\n\t * had less than `limit` elements.\n\t *\n\t * @example\n\t \n\t \n\t \n\t
\n\t Limit {{numbers}} to: \n\t

Output numbers: {{ numbers | limitTo:numLimit }}

\n\t Limit {{letters}} to: \n\t

Output letters: {{ letters | limitTo:letterLimit }}

\n\t Limit {{longNumber}} to: \n\t

Output long number: {{ longNumber | limitTo:longNumberLimit }}

\n\t
\n\t
\n\t \n\t var numLimitInput = element(by.model('numLimit'));\n\t var letterLimitInput = element(by.model('letterLimit'));\n\t var longNumberLimitInput = element(by.model('longNumberLimit'));\n\t var limitedNumbers = element(by.binding('numbers | limitTo:numLimit'));\n\t var limitedLetters = element(by.binding('letters | limitTo:letterLimit'));\n\t var limitedLongNumber = element(by.binding('longNumber | limitTo:longNumberLimit'));\n\t\n\t it('should limit the number array to first three items', function() {\n\t expect(numLimitInput.getAttribute('value')).toBe('3');\n\t expect(letterLimitInput.getAttribute('value')).toBe('3');\n\t expect(longNumberLimitInput.getAttribute('value')).toBe('3');\n\t expect(limitedNumbers.getText()).toEqual('Output numbers: [1,2,3]');\n\t expect(limitedLetters.getText()).toEqual('Output letters: abc');\n\t expect(limitedLongNumber.getText()).toEqual('Output long number: 234');\n\t });\n\t\n\t // There is a bug in safari and protractor that doesn't like the minus key\n\t // it('should update the output when -3 is entered', function() {\n\t // numLimitInput.clear();\n\t // numLimitInput.sendKeys('-3');\n\t // letterLimitInput.clear();\n\t // letterLimitInput.sendKeys('-3');\n\t // longNumberLimitInput.clear();\n\t // longNumberLimitInput.sendKeys('-3');\n\t // expect(limitedNumbers.getText()).toEqual('Output numbers: [7,8,9]');\n\t // expect(limitedLetters.getText()).toEqual('Output letters: ghi');\n\t // expect(limitedLongNumber.getText()).toEqual('Output long number: 342');\n\t // });\n\t\n\t it('should not exceed the maximum size of input array', function() {\n\t numLimitInput.clear();\n\t numLimitInput.sendKeys('100');\n\t letterLimitInput.clear();\n\t letterLimitInput.sendKeys('100');\n\t longNumberLimitInput.clear();\n\t longNumberLimitInput.sendKeys('100');\n\t expect(limitedNumbers.getText()).toEqual('Output numbers: [1,2,3,4,5,6,7,8,9]');\n\t expect(limitedLetters.getText()).toEqual('Output letters: abcdefghi');\n\t expect(limitedLongNumber.getText()).toEqual('Output long number: 2345432342');\n\t });\n\t \n\t
\n\t*/\n\tfunction limitToFilter() {\n\t return function(input, limit) {\n\t if (isNumber(input)) input = input.toString();\n\t if (!isArray(input) && !isString(input)) return input;\n\t\n\t if (Math.abs(Number(limit)) === Infinity) {\n\t limit = Number(limit);\n\t } else {\n\t limit = int(limit);\n\t }\n\t\n\t //NaN check on limit\n\t if (limit) {\n\t return limit > 0 ? input.slice(0, limit) : input.slice(limit);\n\t } else {\n\t return isString(input) ? \"\" : [];\n\t }\n\t };\n\t}\n\t\n\t/**\n\t * @ngdoc filter\n\t * @name orderBy\n\t * @kind function\n\t *\n\t * @description\n\t * Orders a specified `array` by the `expression` predicate. It is ordered alphabetically\n\t * for strings and numerically for numbers. Note: if you notice numbers are not being sorted\n\t * correctly, make sure they are actually being saved as numbers and not strings.\n\t *\n\t * @param {Array} array The array to sort.\n\t * @param {function(*)|string|Array.<(function(*)|string)>=} expression A predicate to be\n\t * used by the comparator to determine the order of elements.\n\t *\n\t * Can be one of:\n\t *\n\t * - `function`: Getter function. The result of this function will be sorted using the\n\t * `<`, `===`, `>` operator.\n\t * - `string`: An Angular expression. The result of this expression is used to compare elements\n\t * (for example `name` to sort by a property called `name` or `name.substr(0, 3)` to sort by\n\t * 3 first characters of a property called `name`). The result of a constant expression\n\t * is interpreted as a property name to be used in comparisons (for example `\"special name\"`\n\t * to sort object by the value of their `special name` property). An expression can be\n\t * optionally prefixed with `+` or `-` to control ascending or descending sort order\n\t * (for example, `+name` or `-name`). If no property is provided, (e.g. `'+'`) then the array\n\t * element itself is used to compare where sorting.\n\t * - `Array`: An array of function or string predicates. The first predicate in the array\n\t * is used for sorting, but when two items are equivalent, the next predicate is used.\n\t *\n\t * If the predicate is missing or empty then it defaults to `'+'`.\n\t *\n\t * @param {boolean=} reverse Reverse the order of the array.\n\t * @returns {Array} Sorted copy of the source array.\n\t *\n\t *\n\t * @example\n\t * The example below demonstrates a simple ngRepeat, where the data is sorted\n\t * by age in descending order (predicate is set to `'-age'`).\n\t * `reverse` is not set, which means it defaults to `false`.\n\t \n\t \n\t \n\t
\n\t \n\t \n\t \n\t \n\t \n\t \n\t \n\t \n\t \n\t \n\t \n\t
NamePhone NumberAge
{{friend.name}}{{friend.phone}}{{friend.age}}
\n\t
\n\t
\n\t
\n\t *\n\t * The predicate and reverse parameters can be controlled dynamically through scope properties,\n\t * as shown in the next example.\n\t * @example\n\t \n\t \n\t \n\t
\n\t
Sorting predicate = {{predicate}}; reverse = {{reverse}}
\n\t
\n\t [ unsorted ]\n\t \n\t \n\t \n\t \n\t \n\t \n\t \n\t \n\t \n\t \n\t \n\t
Name\n\t (^)Phone NumberAge
{{friend.name}}{{friend.phone}}{{friend.age}}
\n\t
\n\t
\n\t
\n\t *\n\t * It's also possible to call the orderBy filter manually, by injecting `$filter`, retrieving the\n\t * filter routine with `$filter('orderBy')`, and calling the returned filter routine with the\n\t * desired parameters.\n\t *\n\t * Example:\n\t *\n\t * @example\n\t \n\t \n\t
\n\t \n\t \n\t \n\t \n\t \n\t \n\t \n\t \n\t \n\t \n\t \n\t
Name\n\t (^)Phone NumberAge
{{friend.name}}{{friend.phone}}{{friend.age}}
\n\t
\n\t
\n\t\n\t \n\t angular.module('orderByExample', [])\n\t .controller('ExampleController', ['$scope', '$filter', function($scope, $filter) {\n\t var orderBy = $filter('orderBy');\n\t $scope.friends = [\n\t { name: 'John', phone: '555-1212', age: 10 },\n\t { name: 'Mary', phone: '555-9876', age: 19 },\n\t { name: 'Mike', phone: '555-4321', age: 21 },\n\t { name: 'Adam', phone: '555-5678', age: 35 },\n\t { name: 'Julie', phone: '555-8765', age: 29 }\n\t ];\n\t $scope.order = function(predicate, reverse) {\n\t $scope.friends = orderBy($scope.friends, predicate, reverse);\n\t };\n\t $scope.order('-age',false);\n\t }]);\n\t \n\t
\n\t */\n\torderByFilter.$inject = ['$parse'];\n\tfunction orderByFilter($parse) {\n\t return function(array, sortPredicate, reverseOrder) {\n\t if (!(isArrayLike(array))) return array;\n\t sortPredicate = isArray(sortPredicate) ? sortPredicate : [sortPredicate];\n\t if (sortPredicate.length === 0) { sortPredicate = ['+']; }\n\t sortPredicate = sortPredicate.map(function(predicate) {\n\t var descending = false, get = predicate || identity;\n\t if (isString(predicate)) {\n\t if ((predicate.charAt(0) == '+' || predicate.charAt(0) == '-')) {\n\t descending = predicate.charAt(0) == '-';\n\t predicate = predicate.substring(1);\n\t }\n\t if (predicate === '') {\n\t // Effectively no predicate was passed so we compare identity\n\t return reverseComparator(compare, descending);\n\t }\n\t get = $parse(predicate);\n\t if (get.constant) {\n\t var key = get();\n\t return reverseComparator(function(a, b) {\n\t return compare(a[key], b[key]);\n\t }, descending);\n\t }\n\t }\n\t return reverseComparator(function(a, b) {\n\t return compare(get(a),get(b));\n\t }, descending);\n\t });\n\t return slice.call(array).sort(reverseComparator(comparator, reverseOrder));\n\t\n\t function comparator(o1, o2) {\n\t for (var i = 0; i < sortPredicate.length; i++) {\n\t var comp = sortPredicate[i](o1, o2);\n\t if (comp !== 0) return comp;\n\t }\n\t return 0;\n\t }\n\t function reverseComparator(comp, descending) {\n\t return descending\n\t ? function(a, b) {return comp(b,a);}\n\t : comp;\n\t }\n\t\n\t function isPrimitive(value) {\n\t switch (typeof value) {\n\t case 'number': /* falls through */\n\t case 'boolean': /* falls through */\n\t case 'string':\n\t return true;\n\t default:\n\t return false;\n\t }\n\t }\n\t\n\t function objectToString(value) {\n\t if (value === null) return 'null';\n\t if (typeof value.valueOf === 'function') {\n\t value = value.valueOf();\n\t if (isPrimitive(value)) return value;\n\t }\n\t if (typeof value.toString === 'function') {\n\t value = value.toString();\n\t if (isPrimitive(value)) return value;\n\t }\n\t return '';\n\t }\n\t\n\t function compare(v1, v2) {\n\t var t1 = typeof v1;\n\t var t2 = typeof v2;\n\t if (t1 === t2 && t1 === \"object\") {\n\t v1 = objectToString(v1);\n\t v2 = objectToString(v2);\n\t }\n\t if (t1 === t2) {\n\t if (t1 === \"string\") {\n\t v1 = v1.toLowerCase();\n\t v2 = v2.toLowerCase();\n\t }\n\t if (v1 === v2) return 0;\n\t return v1 < v2 ? -1 : 1;\n\t } else {\n\t return t1 < t2 ? -1 : 1;\n\t }\n\t }\n\t };\n\t}\n\t\n\tfunction ngDirective(directive) {\n\t if (isFunction(directive)) {\n\t directive = {\n\t link: directive\n\t };\n\t }\n\t directive.restrict = directive.restrict || 'AC';\n\t return valueFn(directive);\n\t}\n\t\n\t/**\n\t * @ngdoc directive\n\t * @name a\n\t * @restrict E\n\t *\n\t * @description\n\t * Modifies the default behavior of the html A tag so that the default action is prevented when\n\t * the href attribute is empty.\n\t *\n\t * This change permits the easy creation of action links with the `ngClick` directive\n\t * without changing the location or causing page reloads, e.g.:\n\t * `Add Item`\n\t */\n\tvar htmlAnchorDirective = valueFn({\n\t restrict: 'E',\n\t compile: function(element, attr) {\n\t if (!attr.href && !attr.xlinkHref && !attr.name) {\n\t return function(scope, element) {\n\t // If the linked element is not an anchor tag anymore, do nothing\n\t if (element[0].nodeName.toLowerCase() !== 'a') return;\n\t\n\t // SVGAElement does not use the href attribute, but rather the 'xlinkHref' attribute.\n\t var href = toString.call(element.prop('href')) === '[object SVGAnimatedString]' ?\n\t 'xlink:href' : 'href';\n\t element.on('click', function(event) {\n\t // if we have no href url, then don't navigate anywhere.\n\t if (!element.attr(href)) {\n\t event.preventDefault();\n\t }\n\t });\n\t };\n\t }\n\t }\n\t});\n\t\n\t/**\n\t * @ngdoc directive\n\t * @name ngHref\n\t * @restrict A\n\t * @priority 99\n\t *\n\t * @description\n\t * Using Angular markup like `{{hash}}` in an href attribute will\n\t * make the link go to the wrong URL if the user clicks it before\n\t * Angular has a chance to replace the `{{hash}}` markup with its\n\t * value. Until Angular replaces the markup the link will be broken\n\t * and will most likely return a 404 error. The `ngHref` directive\n\t * solves this problem.\n\t *\n\t * The wrong way to write it:\n\t * ```html\n\t * link1\n\t * ```\n\t *\n\t * The correct way to write it:\n\t * ```html\n\t * link1\n\t * ```\n\t *\n\t * @element A\n\t * @param {template} ngHref any string which can contain `{{}}` markup.\n\t *\n\t * @example\n\t * This example shows various combinations of `href`, `ng-href` and `ng-click` attributes\n\t * in links and their different behaviors:\n\t \n\t \n\t
\n\t link 1 (link, don't reload)
\n\t link 2 (link, don't reload)
\n\t link 3 (link, reload!)
\n\t anchor (link, don't reload)
\n\t anchor (no link)
\n\t link (link, change location)\n\t
\n\t \n\t it('should execute ng-click but not reload when href without value', function() {\n\t element(by.id('link-1')).click();\n\t expect(element(by.model('value')).getAttribute('value')).toEqual('1');\n\t expect(element(by.id('link-1')).getAttribute('href')).toBe('');\n\t });\n\t\n\t it('should execute ng-click but not reload when href empty string', function() {\n\t element(by.id('link-2')).click();\n\t expect(element(by.model('value')).getAttribute('value')).toEqual('2');\n\t expect(element(by.id('link-2')).getAttribute('href')).toBe('');\n\t });\n\t\n\t it('should execute ng-click and change url when ng-href specified', function() {\n\t expect(element(by.id('link-3')).getAttribute('href')).toMatch(/\\/123$/);\n\t\n\t element(by.id('link-3')).click();\n\t\n\t // At this point, we navigate away from an Angular page, so we need\n\t // to use browser.driver to get the base webdriver.\n\t\n\t browser.wait(function() {\n\t return browser.driver.getCurrentUrl().then(function(url) {\n\t return url.match(/\\/123$/);\n\t });\n\t }, 5000, 'page should navigate to /123');\n\t });\n\t\n\t xit('should execute ng-click but not reload when href empty string and name specified', function() {\n\t element(by.id('link-4')).click();\n\t expect(element(by.model('value')).getAttribute('value')).toEqual('4');\n\t expect(element(by.id('link-4')).getAttribute('href')).toBe('');\n\t });\n\t\n\t it('should execute ng-click but not reload when no href but name specified', function() {\n\t element(by.id('link-5')).click();\n\t expect(element(by.model('value')).getAttribute('value')).toEqual('5');\n\t expect(element(by.id('link-5')).getAttribute('href')).toBe(null);\n\t });\n\t\n\t it('should only change url when only ng-href', function() {\n\t element(by.model('value')).clear();\n\t element(by.model('value')).sendKeys('6');\n\t expect(element(by.id('link-6')).getAttribute('href')).toMatch(/\\/6$/);\n\t\n\t element(by.id('link-6')).click();\n\t\n\t // At this point, we navigate away from an Angular page, so we need\n\t // to use browser.driver to get the base webdriver.\n\t browser.wait(function() {\n\t return browser.driver.getCurrentUrl().then(function(url) {\n\t return url.match(/\\/6$/);\n\t });\n\t }, 5000, 'page should navigate to /6');\n\t });\n\t \n\t
\n\t */\n\t\n\t/**\n\t * @ngdoc directive\n\t * @name ngSrc\n\t * @restrict A\n\t * @priority 99\n\t *\n\t * @description\n\t * Using Angular markup like `{{hash}}` in a `src` attribute doesn't\n\t * work right: The browser will fetch from the URL with the literal\n\t * text `{{hash}}` until Angular replaces the expression inside\n\t * `{{hash}}`. The `ngSrc` directive solves this problem.\n\t *\n\t * The buggy way to write it:\n\t * ```html\n\t * \n\t * ```\n\t *\n\t * The correct way to write it:\n\t * ```html\n\t * \n\t * ```\n\t *\n\t * @element IMG\n\t * @param {template} ngSrc any string which can contain `{{}}` markup.\n\t */\n\t\n\t/**\n\t * @ngdoc directive\n\t * @name ngSrcset\n\t * @restrict A\n\t * @priority 99\n\t *\n\t * @description\n\t * Using Angular markup like `{{hash}}` in a `srcset` attribute doesn't\n\t * work right: The browser will fetch from the URL with the literal\n\t * text `{{hash}}` until Angular replaces the expression inside\n\t * `{{hash}}`. The `ngSrcset` directive solves this problem.\n\t *\n\t * The buggy way to write it:\n\t * ```html\n\t * \n\t * ```\n\t *\n\t * The correct way to write it:\n\t * ```html\n\t * \n\t * ```\n\t *\n\t * @element IMG\n\t * @param {template} ngSrcset any string which can contain `{{}}` markup.\n\t */\n\t\n\t/**\n\t * @ngdoc directive\n\t * @name ngDisabled\n\t * @restrict A\n\t * @priority 100\n\t *\n\t * @description\n\t *\n\t * This directive sets the `disabled` attribute on the element if the\n\t * {@link guide/expression expression} inside `ngDisabled` evaluates to truthy.\n\t *\n\t * A special directive is necessary because we cannot use interpolation inside the `disabled`\n\t * attribute. The following example would make the button enabled on Chrome/Firefox\n\t * but not on older IEs:\n\t *\n\t * ```html\n\t * \n\t *
\n\t * \n\t *
\n\t * ```\n\t *\n\t * This is because the HTML specification does not require browsers to preserve the values of\n\t * boolean attributes such as `disabled` (Their presence means true and their absence means false.)\n\t * If we put an Angular interpolation expression into such an attribute then the\n\t * binding information would be lost when the browser removes the attribute.\n\t *\n\t * @example\n\t \n\t \n\t Click me to toggle:
\n\t \n\t
\n\t \n\t it('should toggle button', function() {\n\t expect(element(by.css('button')).getAttribute('disabled')).toBeFalsy();\n\t element(by.model('checked')).click();\n\t expect(element(by.css('button')).getAttribute('disabled')).toBeTruthy();\n\t });\n\t \n\t
\n\t *\n\t * @element INPUT\n\t * @param {expression} ngDisabled If the {@link guide/expression expression} is truthy,\n\t * then the `disabled` attribute will be set on the element\n\t */\n\t\n\t\n\t/**\n\t * @ngdoc directive\n\t * @name ngChecked\n\t * @restrict A\n\t * @priority 100\n\t *\n\t * @description\n\t * The HTML specification does not require browsers to preserve the values of boolean attributes\n\t * such as checked. (Their presence means true and their absence means false.)\n\t * If we put an Angular interpolation expression into such an attribute then the\n\t * binding information would be lost when the browser removes the attribute.\n\t * The `ngChecked` directive solves this problem for the `checked` attribute.\n\t * This complementary directive is not removed by the browser and so provides\n\t * a permanent reliable place to store the binding information.\n\t * @example\n\t \n\t \n\t Check me to check both:
\n\t \n\t
\n\t \n\t it('should check both checkBoxes', function() {\n\t expect(element(by.id('checkSlave')).getAttribute('checked')).toBeFalsy();\n\t element(by.model('master')).click();\n\t expect(element(by.id('checkSlave')).getAttribute('checked')).toBeTruthy();\n\t });\n\t \n\t
\n\t *\n\t * @element INPUT\n\t * @param {expression} ngChecked If the {@link guide/expression expression} is truthy,\n\t * then special attribute \"checked\" will be set on the element\n\t */\n\t\n\t\n\t/**\n\t * @ngdoc directive\n\t * @name ngReadonly\n\t * @restrict A\n\t * @priority 100\n\t *\n\t * @description\n\t * The HTML specification does not require browsers to preserve the values of boolean attributes\n\t * such as readonly. (Their presence means true and their absence means false.)\n\t * If we put an Angular interpolation expression into such an attribute then the\n\t * binding information would be lost when the browser removes the attribute.\n\t * The `ngReadonly` directive solves this problem for the `readonly` attribute.\n\t * This complementary directive is not removed by the browser and so provides\n\t * a permanent reliable place to store the binding information.\n\t * @example\n\t \n\t \n\t Check me to make text readonly:
\n\t \n\t
\n\t \n\t it('should toggle readonly attr', function() {\n\t expect(element(by.css('[type=\"text\"]')).getAttribute('readonly')).toBeFalsy();\n\t element(by.model('checked')).click();\n\t expect(element(by.css('[type=\"text\"]')).getAttribute('readonly')).toBeTruthy();\n\t });\n\t \n\t
\n\t *\n\t * @element INPUT\n\t * @param {expression} ngReadonly If the {@link guide/expression expression} is truthy,\n\t * then special attribute \"readonly\" will be set on the element\n\t */\n\t\n\t\n\t/**\n\t * @ngdoc directive\n\t * @name ngSelected\n\t * @restrict A\n\t * @priority 100\n\t *\n\t * @description\n\t * The HTML specification does not require browsers to preserve the values of boolean attributes\n\t * such as selected. (Their presence means true and their absence means false.)\n\t * If we put an Angular interpolation expression into such an attribute then the\n\t * binding information would be lost when the browser removes the attribute.\n\t * The `ngSelected` directive solves this problem for the `selected` attribute.\n\t * This complementary directive is not removed by the browser and so provides\n\t * a permanent reliable place to store the binding information.\n\t *\n\t * @example\n\t \n\t \n\t Check me to select:
\n\t \n\t
\n\t \n\t it('should select Greetings!', function() {\n\t expect(element(by.id('greet')).getAttribute('selected')).toBeFalsy();\n\t element(by.model('selected')).click();\n\t expect(element(by.id('greet')).getAttribute('selected')).toBeTruthy();\n\t });\n\t \n\t
\n\t *\n\t * @element OPTION\n\t * @param {expression} ngSelected If the {@link guide/expression expression} is truthy,\n\t * then special attribute \"selected\" will be set on the element\n\t */\n\t\n\t/**\n\t * @ngdoc directive\n\t * @name ngOpen\n\t * @restrict A\n\t * @priority 100\n\t *\n\t * @description\n\t * The HTML specification does not require browsers to preserve the values of boolean attributes\n\t * such as open. (Their presence means true and their absence means false.)\n\t * If we put an Angular interpolation expression into such an attribute then the\n\t * binding information would be lost when the browser removes the attribute.\n\t * The `ngOpen` directive solves this problem for the `open` attribute.\n\t * This complementary directive is not removed by the browser and so provides\n\t * a permanent reliable place to store the binding information.\n\t * @example\n\t \n\t \n\t Check me check multiple:
\n\t
\n\t Show/Hide me\n\t
\n\t
\n\t \n\t it('should toggle open', function() {\n\t expect(element(by.id('details')).getAttribute('open')).toBeFalsy();\n\t element(by.model('open')).click();\n\t expect(element(by.id('details')).getAttribute('open')).toBeTruthy();\n\t });\n\t \n\t
\n\t *\n\t * @element DETAILS\n\t * @param {expression} ngOpen If the {@link guide/expression expression} is truthy,\n\t * then special attribute \"open\" will be set on the element\n\t */\n\t\n\tvar ngAttributeAliasDirectives = {};\n\t\n\t\n\t// boolean attrs are evaluated\n\tforEach(BOOLEAN_ATTR, function(propName, attrName) {\n\t // binding to multiple is not supported\n\t if (propName == \"multiple\") return;\n\t\n\t var normalized = directiveNormalize('ng-' + attrName);\n\t ngAttributeAliasDirectives[normalized] = function() {\n\t return {\n\t restrict: 'A',\n\t priority: 100,\n\t link: function(scope, element, attr) {\n\t scope.$watch(attr[normalized], function ngBooleanAttrWatchAction(value) {\n\t attr.$set(attrName, !!value);\n\t });\n\t }\n\t };\n\t };\n\t});\n\t\n\t// aliased input attrs are evaluated\n\tforEach(ALIASED_ATTR, function(htmlAttr, ngAttr) {\n\t ngAttributeAliasDirectives[ngAttr] = function() {\n\t return {\n\t priority: 100,\n\t link: function(scope, element, attr) {\n\t //special case ngPattern when a literal regular expression value\n\t //is used as the expression (this way we don't have to watch anything).\n\t if (ngAttr === \"ngPattern\" && attr.ngPattern.charAt(0) == \"/\") {\n\t var match = attr.ngPattern.match(REGEX_STRING_REGEXP);\n\t if (match) {\n\t attr.$set(\"ngPattern\", new RegExp(match[1], match[2]));\n\t return;\n\t }\n\t }\n\t\n\t scope.$watch(attr[ngAttr], function ngAttrAliasWatchAction(value) {\n\t attr.$set(ngAttr, value);\n\t });\n\t }\n\t };\n\t };\n\t});\n\t\n\t// ng-src, ng-srcset, ng-href are interpolated\n\tforEach(['src', 'srcset', 'href'], function(attrName) {\n\t var normalized = directiveNormalize('ng-' + attrName);\n\t ngAttributeAliasDirectives[normalized] = function() {\n\t return {\n\t priority: 99, // it needs to run after the attributes are interpolated\n\t link: function(scope, element, attr) {\n\t var propName = attrName,\n\t name = attrName;\n\t\n\t if (attrName === 'href' &&\n\t toString.call(element.prop('href')) === '[object SVGAnimatedString]') {\n\t name = 'xlinkHref';\n\t attr.$attr[name] = 'xlink:href';\n\t propName = null;\n\t }\n\t\n\t attr.$observe(normalized, function(value) {\n\t if (!value) {\n\t if (attrName === 'href') {\n\t attr.$set(name, null);\n\t }\n\t return;\n\t }\n\t\n\t attr.$set(name, value);\n\t\n\t // on IE, if \"ng:src\" directive declaration is used and \"src\" attribute doesn't exist\n\t // then calling element.setAttribute('src', 'foo') doesn't do anything, so we need\n\t // to set the property as well to achieve the desired effect.\n\t // we use attr[attrName] value since $set can sanitize the url.\n\t if (msie && propName) element.prop(propName, attr[name]);\n\t });\n\t }\n\t };\n\t };\n\t});\n\t\n\t/* global -nullFormCtrl, -SUBMITTED_CLASS, addSetValidityMethod: true\n\t */\n\tvar nullFormCtrl = {\n\t $addControl: noop,\n\t $$renameControl: nullFormRenameControl,\n\t $removeControl: noop,\n\t $setValidity: noop,\n\t $setDirty: noop,\n\t $setPristine: noop,\n\t $setSubmitted: noop\n\t},\n\tSUBMITTED_CLASS = 'ng-submitted';\n\t\n\tfunction nullFormRenameControl(control, name) {\n\t control.$name = name;\n\t}\n\t\n\t/**\n\t * @ngdoc type\n\t * @name form.FormController\n\t *\n\t * @property {boolean} $pristine True if user has not interacted with the form yet.\n\t * @property {boolean} $dirty True if user has already interacted with the form.\n\t * @property {boolean} $valid True if all of the containing forms and controls are valid.\n\t * @property {boolean} $invalid True if at least one containing control or form is invalid.\n\t * @property {boolean} $submitted True if user has submitted the form even if its invalid.\n\t *\n\t * @property {Object} $error Is an object hash, containing references to controls or\n\t * forms with failing validators, where:\n\t *\n\t * - keys are validation tokens (error names),\n\t * - values are arrays of controls or forms that have a failing validator for given error name.\n\t *\n\t * Built-in validation tokens:\n\t *\n\t * - `email`\n\t * - `max`\n\t * - `maxlength`\n\t * - `min`\n\t * - `minlength`\n\t * - `number`\n\t * - `pattern`\n\t * - `required`\n\t * - `url`\n\t * - `date`\n\t * - `datetimelocal`\n\t * - `time`\n\t * - `week`\n\t * - `month`\n\t *\n\t * @description\n\t * `FormController` keeps track of all its controls and nested forms as well as the state of them,\n\t * such as being valid/invalid or dirty/pristine.\n\t *\n\t * Each {@link ng.directive:form form} directive creates an instance\n\t * of `FormController`.\n\t *\n\t */\n\t//asks for $scope to fool the BC controller module\n\tFormController.$inject = ['$element', '$attrs', '$scope', '$animate', '$interpolate'];\n\tfunction FormController(element, attrs, $scope, $animate, $interpolate) {\n\t var form = this,\n\t controls = [];\n\t\n\t var parentForm = form.$$parentForm = element.parent().controller('form') || nullFormCtrl;\n\t\n\t // init state\n\t form.$error = {};\n\t form.$$success = {};\n\t form.$pending = undefined;\n\t form.$name = $interpolate(attrs.name || attrs.ngForm || '')($scope);\n\t form.$dirty = false;\n\t form.$pristine = true;\n\t form.$valid = true;\n\t form.$invalid = false;\n\t form.$submitted = false;\n\t\n\t parentForm.$addControl(form);\n\t\n\t /**\n\t * @ngdoc method\n\t * @name form.FormController#$rollbackViewValue\n\t *\n\t * @description\n\t * Rollback all form controls pending updates to the `$modelValue`.\n\t *\n\t * Updates may be pending by a debounced event or because the input is waiting for a some future\n\t * event defined in `ng-model-options`. This method is typically needed by the reset button of\n\t * a form that uses `ng-model-options` to pend updates.\n\t */\n\t form.$rollbackViewValue = function() {\n\t forEach(controls, function(control) {\n\t control.$rollbackViewValue();\n\t });\n\t };\n\t\n\t /**\n\t * @ngdoc method\n\t * @name form.FormController#$commitViewValue\n\t *\n\t * @description\n\t * Commit all form controls pending updates to the `$modelValue`.\n\t *\n\t * Updates may be pending by a debounced event or because the input is waiting for a some future\n\t * event defined in `ng-model-options`. This method is rarely needed as `NgModelController`\n\t * usually handles calling this in response to input events.\n\t */\n\t form.$commitViewValue = function() {\n\t forEach(controls, function(control) {\n\t control.$commitViewValue();\n\t });\n\t };\n\t\n\t /**\n\t * @ngdoc method\n\t * @name form.FormController#$addControl\n\t *\n\t * @description\n\t * Register a control with the form.\n\t *\n\t * Input elements using ngModelController do this automatically when they are linked.\n\t */\n\t form.$addControl = function(control) {\n\t // Breaking change - before, inputs whose name was \"hasOwnProperty\" were quietly ignored\n\t // and not added to the scope. Now we throw an error.\n\t assertNotHasOwnProperty(control.$name, 'input');\n\t controls.push(control);\n\t\n\t if (control.$name) {\n\t form[control.$name] = control;\n\t }\n\t };\n\t\n\t // Private API: rename a form control\n\t form.$$renameControl = function(control, newName) {\n\t var oldName = control.$name;\n\t\n\t if (form[oldName] === control) {\n\t delete form[oldName];\n\t }\n\t form[newName] = control;\n\t control.$name = newName;\n\t };\n\t\n\t /**\n\t * @ngdoc method\n\t * @name form.FormController#$removeControl\n\t *\n\t * @description\n\t * Deregister a control from the form.\n\t *\n\t * Input elements using ngModelController do this automatically when they are destroyed.\n\t */\n\t form.$removeControl = function(control) {\n\t if (control.$name && form[control.$name] === control) {\n\t delete form[control.$name];\n\t }\n\t forEach(form.$pending, function(value, name) {\n\t form.$setValidity(name, null, control);\n\t });\n\t forEach(form.$error, function(value, name) {\n\t form.$setValidity(name, null, control);\n\t });\n\t forEach(form.$$success, function(value, name) {\n\t form.$setValidity(name, null, control);\n\t });\n\t\n\t arrayRemove(controls, control);\n\t };\n\t\n\t\n\t /**\n\t * @ngdoc method\n\t * @name form.FormController#$setValidity\n\t *\n\t * @description\n\t * Sets the validity of a form control.\n\t *\n\t * This method will also propagate to parent forms.\n\t */\n\t addSetValidityMethod({\n\t ctrl: this,\n\t $element: element,\n\t set: function(object, property, controller) {\n\t var list = object[property];\n\t if (!list) {\n\t object[property] = [controller];\n\t } else {\n\t var index = list.indexOf(controller);\n\t if (index === -1) {\n\t list.push(controller);\n\t }\n\t }\n\t },\n\t unset: function(object, property, controller) {\n\t var list = object[property];\n\t if (!list) {\n\t return;\n\t }\n\t arrayRemove(list, controller);\n\t if (list.length === 0) {\n\t delete object[property];\n\t }\n\t },\n\t parentForm: parentForm,\n\t $animate: $animate\n\t });\n\t\n\t /**\n\t * @ngdoc method\n\t * @name form.FormController#$setDirty\n\t *\n\t * @description\n\t * Sets the form to a dirty state.\n\t *\n\t * This method can be called to add the 'ng-dirty' class and set the form to a dirty\n\t * state (ng-dirty class). This method will also propagate to parent forms.\n\t */\n\t form.$setDirty = function() {\n\t $animate.removeClass(element, PRISTINE_CLASS);\n\t $animate.addClass(element, DIRTY_CLASS);\n\t form.$dirty = true;\n\t form.$pristine = false;\n\t parentForm.$setDirty();\n\t };\n\t\n\t /**\n\t * @ngdoc method\n\t * @name form.FormController#$setPristine\n\t *\n\t * @description\n\t * Sets the form to its pristine state.\n\t *\n\t * This method can be called to remove the 'ng-dirty' class and set the form to its pristine\n\t * state (ng-pristine class). This method will also propagate to all the controls contained\n\t * in this form.\n\t *\n\t * Setting a form back to a pristine state is often useful when we want to 'reuse' a form after\n\t * saving or resetting it.\n\t */\n\t form.$setPristine = function() {\n\t $animate.setClass(element, PRISTINE_CLASS, DIRTY_CLASS + ' ' + SUBMITTED_CLASS);\n\t form.$dirty = false;\n\t form.$pristine = true;\n\t form.$submitted = false;\n\t forEach(controls, function(control) {\n\t control.$setPristine();\n\t });\n\t };\n\t\n\t /**\n\t * @ngdoc method\n\t * @name form.FormController#$setUntouched\n\t *\n\t * @description\n\t * Sets the form to its untouched state.\n\t *\n\t * This method can be called to remove the 'ng-touched' class and set the form controls to their\n\t * untouched state (ng-untouched class).\n\t *\n\t * Setting a form controls back to their untouched state is often useful when setting the form\n\t * back to its pristine state.\n\t */\n\t form.$setUntouched = function() {\n\t forEach(controls, function(control) {\n\t control.$setUntouched();\n\t });\n\t };\n\t\n\t /**\n\t * @ngdoc method\n\t * @name form.FormController#$setSubmitted\n\t *\n\t * @description\n\t * Sets the form to its submitted state.\n\t */\n\t form.$setSubmitted = function() {\n\t $animate.addClass(element, SUBMITTED_CLASS);\n\t form.$submitted = true;\n\t parentForm.$setSubmitted();\n\t };\n\t}\n\t\n\t/**\n\t * @ngdoc directive\n\t * @name ngForm\n\t * @restrict EAC\n\t *\n\t * @description\n\t * Nestable alias of {@link ng.directive:form `form`} directive. HTML\n\t * does not allow nesting of form elements. It is useful to nest forms, for example if the validity of a\n\t * sub-group of controls needs to be determined.\n\t *\n\t * Note: the purpose of `ngForm` is to group controls,\n\t * but not to be a replacement for the `
` tag with all of its capabilities\n\t * (e.g. posting to the server, ...).\n\t *\n\t * @param {string=} ngForm|name Name of the form. If specified, the form controller will be published into\n\t * related scope, under this name.\n\t *\n\t */\n\t\n\t /**\n\t * @ngdoc directive\n\t * @name form\n\t * @restrict E\n\t *\n\t * @description\n\t * Directive that instantiates\n\t * {@link form.FormController FormController}.\n\t *\n\t * If the `name` attribute is specified, the form controller is published onto the current scope under\n\t * this name.\n\t *\n\t * # Alias: {@link ng.directive:ngForm `ngForm`}\n\t *\n\t * In Angular, forms can be nested. This means that the outer form is valid when all of the child\n\t * forms are valid as well. However, browsers do not allow nesting of `` elements, so\n\t * Angular provides the {@link ng.directive:ngForm `ngForm`} directive which behaves identically to\n\t * `` but can be nested. This allows you to have nested forms, which is very useful when\n\t * using Angular validation directives in forms that are dynamically generated using the\n\t * {@link ng.directive:ngRepeat `ngRepeat`} directive. Since you cannot dynamically generate the `name`\n\t * attribute of input elements using interpolation, you have to wrap each set of repeated inputs in an\n\t * `ngForm` directive and nest these in an outer `form` element.\n\t *\n\t *\n\t * # CSS classes\n\t * - `ng-valid` is set if the form is valid.\n\t * - `ng-invalid` is set if the form is invalid.\n\t * - `ng-pristine` is set if the form is pristine.\n\t * - `ng-dirty` is set if the form is dirty.\n\t * - `ng-submitted` is set if the form was submitted.\n\t *\n\t * Keep in mind that ngAnimate can detect each of these classes when added and removed.\n\t *\n\t *\n\t * # Submitting a form and preventing the default action\n\t *\n\t * Since the role of forms in client-side Angular applications is different than in classical\n\t * roundtrip apps, it is desirable for the browser not to translate the form submission into a full\n\t * page reload that sends the data to the server. Instead some javascript logic should be triggered\n\t * to handle the form submission in an application-specific way.\n\t *\n\t * For this reason, Angular prevents the default action (form submission to the server) unless the\n\t * `` element has an `action` attribute specified.\n\t *\n\t * You can use one of the following two ways to specify what javascript method should be called when\n\t * a form is submitted:\n\t *\n\t * - {@link ng.directive:ngSubmit ngSubmit} directive on the form element\n\t * - {@link ng.directive:ngClick ngClick} directive on the first\n\t * button or input field of type submit (input[type=submit])\n\t *\n\t * To prevent double execution of the handler, use only one of the {@link ng.directive:ngSubmit ngSubmit}\n\t * or {@link ng.directive:ngClick ngClick} directives.\n\t * This is because of the following form submission rules in the HTML specification:\n\t *\n\t * - If a form has only one input field then hitting enter in this field triggers form submit\n\t * (`ngSubmit`)\n\t * - if a form has 2+ input fields and no buttons or input[type=submit] then hitting enter\n\t * doesn't trigger submit\n\t * - if a form has one or more input fields and one or more buttons or input[type=submit] then\n\t * hitting enter in any of the input fields will trigger the click handler on the *first* button or\n\t * input[type=submit] (`ngClick`) *and* a submit handler on the enclosing form (`ngSubmit`)\n\t *\n\t * Any pending `ngModelOptions` changes will take place immediately when an enclosing form is\n\t * submitted. Note that `ngClick` events will occur before the model is updated. Use `ngSubmit`\n\t * to have access to the updated model.\n\t *\n\t * ## Animation Hooks\n\t *\n\t * Animations in ngForm are triggered when any of the associated CSS classes are added and removed.\n\t * These classes are: `.ng-pristine`, `.ng-dirty`, `.ng-invalid` and `.ng-valid` as well as any\n\t * other validations that are performed within the form. Animations in ngForm are similar to how\n\t * they work in ngClass and animations can be hooked into using CSS transitions, keyframes as well\n\t * as JS animations.\n\t *\n\t * The following example shows a simple way to utilize CSS transitions to style a form element\n\t * that has been rendered as invalid after it has been validated:\n\t *\n\t *
\n\t * //be sure to include ngAnimate as a module to hook into more\n\t * //advanced animations\n\t * .my-form {\n\t *   transition:0.5s linear all;\n\t *   background: white;\n\t * }\n\t * .my-form.ng-invalid {\n\t *   background: red;\n\t *   color:white;\n\t * }\n\t * 
\n\t *\n\t * @example\n\t \n\t \n\t \n\t \n\t \n\t userType: \n\t Required!
\n\t userType = {{userType}}
\n\t myForm.input.$valid = {{myForm.input.$valid}}
\n\t myForm.input.$error = {{myForm.input.$error}}
\n\t myForm.$valid = {{myForm.$valid}}
\n\t myForm.$error.required = {{!!myForm.$error.required}}
\n\t \n\t
\n\t \n\t it('should initialize to model', function() {\n\t var userType = element(by.binding('userType'));\n\t var valid = element(by.binding('myForm.input.$valid'));\n\t\n\t expect(userType.getText()).toContain('guest');\n\t expect(valid.getText()).toContain('true');\n\t });\n\t\n\t it('should be invalid if empty', function() {\n\t var userType = element(by.binding('userType'));\n\t var valid = element(by.binding('myForm.input.$valid'));\n\t var userInput = element(by.model('userType'));\n\t\n\t userInput.clear();\n\t userInput.sendKeys('');\n\t\n\t expect(userType.getText()).toEqual('userType =');\n\t expect(valid.getText()).toContain('false');\n\t });\n\t \n\t
\n\t *\n\t * @param {string=} name Name of the form. If specified, the form controller will be published into\n\t * related scope, under this name.\n\t */\n\tvar formDirectiveFactory = function(isNgForm) {\n\t return ['$timeout', function($timeout) {\n\t var formDirective = {\n\t name: 'form',\n\t restrict: isNgForm ? 'EAC' : 'E',\n\t controller: FormController,\n\t compile: function ngFormCompile(formElement, attr) {\n\t // Setup initial state of the control\n\t formElement.addClass(PRISTINE_CLASS).addClass(VALID_CLASS);\n\t\n\t var nameAttr = attr.name ? 'name' : (isNgForm && attr.ngForm ? 'ngForm' : false);\n\t\n\t return {\n\t pre: function ngFormPreLink(scope, formElement, attr, controller) {\n\t // if `action` attr is not present on the form, prevent the default action (submission)\n\t if (!('action' in attr)) {\n\t // we can't use jq events because if a form is destroyed during submission the default\n\t // action is not prevented. see #1238\n\t //\n\t // IE 9 is not affected because it doesn't fire a submit event and try to do a full\n\t // page reload if the form was destroyed by submission of the form via a click handler\n\t // on a button in the form. Looks like an IE9 specific bug.\n\t var handleFormSubmission = function(event) {\n\t scope.$apply(function() {\n\t controller.$commitViewValue();\n\t controller.$setSubmitted();\n\t });\n\t\n\t event.preventDefault();\n\t };\n\t\n\t addEventListenerFn(formElement[0], 'submit', handleFormSubmission);\n\t\n\t // unregister the preventDefault listener so that we don't not leak memory but in a\n\t // way that will achieve the prevention of the default action.\n\t formElement.on('$destroy', function() {\n\t $timeout(function() {\n\t removeEventListenerFn(formElement[0], 'submit', handleFormSubmission);\n\t }, 0, false);\n\t });\n\t }\n\t\n\t var parentFormCtrl = controller.$$parentForm;\n\t\n\t if (nameAttr) {\n\t setter(scope, null, controller.$name, controller, controller.$name);\n\t attr.$observe(nameAttr, function(newValue) {\n\t if (controller.$name === newValue) return;\n\t setter(scope, null, controller.$name, undefined, controller.$name);\n\t parentFormCtrl.$$renameControl(controller, newValue);\n\t setter(scope, null, controller.$name, controller, controller.$name);\n\t });\n\t }\n\t formElement.on('$destroy', function() {\n\t parentFormCtrl.$removeControl(controller);\n\t if (nameAttr) {\n\t setter(scope, null, attr[nameAttr], undefined, controller.$name);\n\t }\n\t extend(controller, nullFormCtrl); //stop propagating child destruction handlers upwards\n\t });\n\t }\n\t };\n\t }\n\t };\n\t\n\t return formDirective;\n\t }];\n\t};\n\t\n\tvar formDirective = formDirectiveFactory();\n\tvar ngFormDirective = formDirectiveFactory(true);\n\t\n\t/* global VALID_CLASS: false,\n\t INVALID_CLASS: false,\n\t PRISTINE_CLASS: false,\n\t DIRTY_CLASS: false,\n\t UNTOUCHED_CLASS: false,\n\t TOUCHED_CLASS: false,\n\t $ngModelMinErr: false,\n\t*/\n\t\n\t// Regex code is obtained from SO: https://stackoverflow.com/questions/3143070/javascript-regex-iso-datetime#answer-3143231\n\tvar ISO_DATE_REGEXP = /\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d:[0-5]\\d\\.\\d+([+-][0-2]\\d:[0-5]\\d|Z)/;\n\tvar URL_REGEXP = /^(ftp|http|https):\\/\\/(\\w+:{0,1}\\w*@)?(\\S+)(:[0-9]+)?(\\/|\\/([\\w#!:.?+=&%@!\\-\\/]))?$/;\n\tvar EMAIL_REGEXP = /^[a-z0-9!#$%&'*+\\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i;\n\tvar NUMBER_REGEXP = /^\\s*(\\-|\\+)?(\\d+|(\\d*(\\.\\d*)))\\s*$/;\n\tvar DATE_REGEXP = /^(\\d{4})-(\\d{2})-(\\d{2})$/;\n\tvar DATETIMELOCAL_REGEXP = /^(\\d{4})-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d)(?::(\\d\\d)(\\.\\d{1,3})?)?$/;\n\tvar WEEK_REGEXP = /^(\\d{4})-W(\\d\\d)$/;\n\tvar MONTH_REGEXP = /^(\\d{4})-(\\d\\d)$/;\n\tvar TIME_REGEXP = /^(\\d\\d):(\\d\\d)(?::(\\d\\d)(\\.\\d{1,3})?)?$/;\n\t\n\tvar inputType = {\n\t\n\t /**\n\t * @ngdoc input\n\t * @name input[text]\n\t *\n\t * @description\n\t * Standard HTML text input with angular data binding, inherited by most of the `input` elements.\n\t *\n\t *\n\t * @param {string} ngModel Assignable angular expression to data-bind to.\n\t * @param {string=} name Property name of the form under which the control is published.\n\t * @param {string=} required Adds `required` validation error key if the value is not entered.\n\t * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n\t * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n\t * `required` when you want to data-bind to the `required` attribute.\n\t * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n\t * minlength.\n\t * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n\t * maxlength. Setting the attribute to a negative or non-numeric value, allows view values of\n\t * any length.\n\t * @param {string=} pattern Similar to `ngPattern` except that the attribute value is the actual string\n\t * that contains the regular expression body that will be converted to a regular expression\n\t * as in the ngPattern directive.\n\t * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel value does not match\n\t * a RegExp found by evaluating the Angular expression given in the attribute value.\n\t * If the expression evaluates to a RegExp object then this is used directly.\n\t * If the expression is a string then it will be converted to a RegExp after wrapping it in `^` and `$`\n\t * characters. For instance, `\"abc\"` will be converted to `new RegExp('^abc$')`.\n\t * @param {string=} ngChange Angular expression to be executed when input changes due to user\n\t * interaction with the input element.\n\t * @param {boolean=} [ngTrim=true] If set to false Angular will not automatically trim the input.\n\t * This parameter is ignored for input[type=password] controls, which will never trim the\n\t * input.\n\t *\n\t * @example\n\t \n\t \n\t \n\t
\n\t Single word: \n\t \n\t Required!\n\t \n\t Single word only!\n\t\n\t text = {{example.text}}
\n\t myForm.input.$valid = {{myForm.input.$valid}}
\n\t myForm.input.$error = {{myForm.input.$error}}
\n\t myForm.$valid = {{myForm.$valid}}
\n\t myForm.$error.required = {{!!myForm.$error.required}}
\n\t
\n\t
\n\t \n\t var text = element(by.binding('example.text'));\n\t var valid = element(by.binding('myForm.input.$valid'));\n\t var input = element(by.model('example.text'));\n\t\n\t it('should initialize to model', function() {\n\t expect(text.getText()).toContain('guest');\n\t expect(valid.getText()).toContain('true');\n\t });\n\t\n\t it('should be invalid if empty', function() {\n\t input.clear();\n\t input.sendKeys('');\n\t\n\t expect(text.getText()).toEqual('text =');\n\t expect(valid.getText()).toContain('false');\n\t });\n\t\n\t it('should be invalid if multi word', function() {\n\t input.clear();\n\t input.sendKeys('hello world');\n\t\n\t expect(valid.getText()).toContain('false');\n\t });\n\t \n\t
\n\t */\n\t 'text': textInputType,\n\t\n\t /**\n\t * @ngdoc input\n\t * @name input[date]\n\t *\n\t * @description\n\t * Input with date validation and transformation. In browsers that do not yet support\n\t * the HTML5 date input, a text element will be used. In that case, text must be entered in a valid ISO-8601\n\t * date format (yyyy-MM-dd), for example: `2009-01-06`. Since many\n\t * modern browsers do not yet support this input type, it is important to provide cues to users on the\n\t * expected input format via a placeholder or label.\n\t *\n\t * The model must always be a Date object, otherwise Angular will throw an error.\n\t * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n\t *\n\t * The timezone to be used to read/write the `Date` instance in the model can be defined using\n\t * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser.\n\t *\n\t * @param {string} ngModel Assignable angular expression to data-bind to.\n\t * @param {string=} name Property name of the form under which the control is published.\n\t * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`. This must be a\n\t * valid ISO date string (yyyy-MM-dd).\n\t * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`. This must be\n\t * a valid ISO date string (yyyy-MM-dd).\n\t * @param {string=} required Sets `required` validation error key if the value is not entered.\n\t * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n\t * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n\t * `required` when you want to data-bind to the `required` attribute.\n\t * @param {string=} ngChange Angular expression to be executed when input changes due to user\n\t * interaction with the input element.\n\t *\n\t * @example\n\t \n\t \n\t \n\t
\n\t Pick a date in 2013:\n\t \n\t \n\t Required!\n\t \n\t Not a valid date!\n\t value = {{example.value | date: \"yyyy-MM-dd\"}}
\n\t myForm.input.$valid = {{myForm.input.$valid}}
\n\t myForm.input.$error = {{myForm.input.$error}}
\n\t myForm.$valid = {{myForm.$valid}}
\n\t myForm.$error.required = {{!!myForm.$error.required}}
\n\t
\n\t
\n\t \n\t var value = element(by.binding('example.value | date: \"yyyy-MM-dd\"'));\n\t var valid = element(by.binding('myForm.input.$valid'));\n\t var input = element(by.model('example.value'));\n\t\n\t // currently protractor/webdriver does not support\n\t // sending keys to all known HTML5 input controls\n\t // for various browsers (see https://github.com/angular/protractor/issues/562).\n\t function setInput(val) {\n\t // set the value of the element and force validation.\n\t var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n\t \"ipt.value = '\" + val + \"';\" +\n\t \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n\t browser.executeScript(scr);\n\t }\n\t\n\t it('should initialize to model', function() {\n\t expect(value.getText()).toContain('2013-10-22');\n\t expect(valid.getText()).toContain('myForm.input.$valid = true');\n\t });\n\t\n\t it('should be invalid if empty', function() {\n\t setInput('');\n\t expect(value.getText()).toEqual('value =');\n\t expect(valid.getText()).toContain('myForm.input.$valid = false');\n\t });\n\t\n\t it('should be invalid if over max', function() {\n\t setInput('2015-01-01');\n\t expect(value.getText()).toContain('');\n\t expect(valid.getText()).toContain('myForm.input.$valid = false');\n\t });\n\t \n\t
\n\t */\n\t 'date': createDateInputType('date', DATE_REGEXP,\n\t createDateParser(DATE_REGEXP, ['yyyy', 'MM', 'dd']),\n\t 'yyyy-MM-dd'),\n\t\n\t /**\n\t * @ngdoc input\n\t * @name input[datetime-local]\n\t *\n\t * @description\n\t * Input with datetime validation and transformation. In browsers that do not yet support\n\t * the HTML5 date input, a text element will be used. In that case, the text must be entered in a valid ISO-8601\n\t * local datetime format (yyyy-MM-ddTHH:mm:ss), for example: `2010-12-28T14:57:00`.\n\t *\n\t * The model must always be a Date object, otherwise Angular will throw an error.\n\t * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n\t *\n\t * The timezone to be used to read/write the `Date` instance in the model can be defined using\n\t * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser.\n\t *\n\t * @param {string} ngModel Assignable angular expression to data-bind to.\n\t * @param {string=} name Property name of the form under which the control is published.\n\t * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`. This must be a\n\t * valid ISO datetime format (yyyy-MM-ddTHH:mm:ss).\n\t * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`. This must be\n\t * a valid ISO datetime format (yyyy-MM-ddTHH:mm:ss).\n\t * @param {string=} required Sets `required` validation error key if the value is not entered.\n\t * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n\t * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n\t * `required` when you want to data-bind to the `required` attribute.\n\t * @param {string=} ngChange Angular expression to be executed when input changes due to user\n\t * interaction with the input element.\n\t *\n\t * @example\n\t \n\t \n\t \n\t
\n\t Pick a date between in 2013:\n\t \n\t \n\t Required!\n\t \n\t Not a valid date!\n\t value = {{example.value | date: \"yyyy-MM-ddTHH:mm:ss\"}}
\n\t myForm.input.$valid = {{myForm.input.$valid}}
\n\t myForm.input.$error = {{myForm.input.$error}}
\n\t myForm.$valid = {{myForm.$valid}}
\n\t myForm.$error.required = {{!!myForm.$error.required}}
\n\t
\n\t
\n\t \n\t var value = element(by.binding('example.value | date: \"yyyy-MM-ddTHH:mm:ss\"'));\n\t var valid = element(by.binding('myForm.input.$valid'));\n\t var input = element(by.model('example.value'));\n\t\n\t // currently protractor/webdriver does not support\n\t // sending keys to all known HTML5 input controls\n\t // for various browsers (https://github.com/angular/protractor/issues/562).\n\t function setInput(val) {\n\t // set the value of the element and force validation.\n\t var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n\t \"ipt.value = '\" + val + \"';\" +\n\t \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n\t browser.executeScript(scr);\n\t }\n\t\n\t it('should initialize to model', function() {\n\t expect(value.getText()).toContain('2010-12-28T14:57:00');\n\t expect(valid.getText()).toContain('myForm.input.$valid = true');\n\t });\n\t\n\t it('should be invalid if empty', function() {\n\t setInput('');\n\t expect(value.getText()).toEqual('value =');\n\t expect(valid.getText()).toContain('myForm.input.$valid = false');\n\t });\n\t\n\t it('should be invalid if over max', function() {\n\t setInput('2015-01-01T23:59:00');\n\t expect(value.getText()).toContain('');\n\t expect(valid.getText()).toContain('myForm.input.$valid = false');\n\t });\n\t \n\t
\n\t */\n\t 'datetime-local': createDateInputType('datetimelocal', DATETIMELOCAL_REGEXP,\n\t createDateParser(DATETIMELOCAL_REGEXP, ['yyyy', 'MM', 'dd', 'HH', 'mm', 'ss', 'sss']),\n\t 'yyyy-MM-ddTHH:mm:ss.sss'),\n\t\n\t /**\n\t * @ngdoc input\n\t * @name input[time]\n\t *\n\t * @description\n\t * Input with time validation and transformation. In browsers that do not yet support\n\t * the HTML5 date input, a text element will be used. In that case, the text must be entered in a valid ISO-8601\n\t * local time format (HH:mm:ss), for example: `14:57:00`. Model must be a Date object. This binding will always output a\n\t * Date object to the model of January 1, 1970, or local date `new Date(1970, 0, 1, HH, mm, ss)`.\n\t *\n\t * The model must always be a Date object, otherwise Angular will throw an error.\n\t * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n\t *\n\t * The timezone to be used to read/write the `Date` instance in the model can be defined using\n\t * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser.\n\t *\n\t * @param {string} ngModel Assignable angular expression to data-bind to.\n\t * @param {string=} name Property name of the form under which the control is published.\n\t * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`. This must be a\n\t * valid ISO time format (HH:mm:ss).\n\t * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`. This must be a\n\t * valid ISO time format (HH:mm:ss).\n\t * @param {string=} required Sets `required` validation error key if the value is not entered.\n\t * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n\t * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n\t * `required` when you want to data-bind to the `required` attribute.\n\t * @param {string=} ngChange Angular expression to be executed when input changes due to user\n\t * interaction with the input element.\n\t *\n\t * @example\n\t \n\t \n\t \n\t
\n\t Pick a between 8am and 5pm:\n\t \n\t \n\t Required!\n\t \n\t Not a valid date!\n\t value = {{example.value | date: \"HH:mm:ss\"}}
\n\t myForm.input.$valid = {{myForm.input.$valid}}
\n\t myForm.input.$error = {{myForm.input.$error}}
\n\t myForm.$valid = {{myForm.$valid}}
\n\t myForm.$error.required = {{!!myForm.$error.required}}
\n\t
\n\t
\n\t \n\t var value = element(by.binding('example.value | date: \"HH:mm:ss\"'));\n\t var valid = element(by.binding('myForm.input.$valid'));\n\t var input = element(by.model('example.value'));\n\t\n\t // currently protractor/webdriver does not support\n\t // sending keys to all known HTML5 input controls\n\t // for various browsers (https://github.com/angular/protractor/issues/562).\n\t function setInput(val) {\n\t // set the value of the element and force validation.\n\t var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n\t \"ipt.value = '\" + val + \"';\" +\n\t \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n\t browser.executeScript(scr);\n\t }\n\t\n\t it('should initialize to model', function() {\n\t expect(value.getText()).toContain('14:57:00');\n\t expect(valid.getText()).toContain('myForm.input.$valid = true');\n\t });\n\t\n\t it('should be invalid if empty', function() {\n\t setInput('');\n\t expect(value.getText()).toEqual('value =');\n\t expect(valid.getText()).toContain('myForm.input.$valid = false');\n\t });\n\t\n\t it('should be invalid if over max', function() {\n\t setInput('23:59:00');\n\t expect(value.getText()).toContain('');\n\t expect(valid.getText()).toContain('myForm.input.$valid = false');\n\t });\n\t \n\t
\n\t */\n\t 'time': createDateInputType('time', TIME_REGEXP,\n\t createDateParser(TIME_REGEXP, ['HH', 'mm', 'ss', 'sss']),\n\t 'HH:mm:ss.sss'),\n\t\n\t /**\n\t * @ngdoc input\n\t * @name input[week]\n\t *\n\t * @description\n\t * Input with week-of-the-year validation and transformation to Date. In browsers that do not yet support\n\t * the HTML5 week input, a text element will be used. In that case, the text must be entered in a valid ISO-8601\n\t * week format (yyyy-W##), for example: `2013-W02`.\n\t *\n\t * The model must always be a Date object, otherwise Angular will throw an error.\n\t * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n\t *\n\t * The timezone to be used to read/write the `Date` instance in the model can be defined using\n\t * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser.\n\t *\n\t * @param {string} ngModel Assignable angular expression to data-bind to.\n\t * @param {string=} name Property name of the form under which the control is published.\n\t * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`. This must be a\n\t * valid ISO week format (yyyy-W##).\n\t * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`. This must be\n\t * a valid ISO week format (yyyy-W##).\n\t * @param {string=} required Sets `required` validation error key if the value is not entered.\n\t * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n\t * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n\t * `required` when you want to data-bind to the `required` attribute.\n\t * @param {string=} ngChange Angular expression to be executed when input changes due to user\n\t * interaction with the input element.\n\t *\n\t * @example\n\t \n\t \n\t \n\t
\n\t Pick a date between in 2013:\n\t \n\t \n\t Required!\n\t \n\t Not a valid date!\n\t value = {{example.value | date: \"yyyy-Www\"}}
\n\t myForm.input.$valid = {{myForm.input.$valid}}
\n\t myForm.input.$error = {{myForm.input.$error}}
\n\t myForm.$valid = {{myForm.$valid}}
\n\t myForm.$error.required = {{!!myForm.$error.required}}
\n\t
\n\t
\n\t \n\t var value = element(by.binding('example.value | date: \"yyyy-Www\"'));\n\t var valid = element(by.binding('myForm.input.$valid'));\n\t var input = element(by.model('example.value'));\n\t\n\t // currently protractor/webdriver does not support\n\t // sending keys to all known HTML5 input controls\n\t // for various browsers (https://github.com/angular/protractor/issues/562).\n\t function setInput(val) {\n\t // set the value of the element and force validation.\n\t var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n\t \"ipt.value = '\" + val + \"';\" +\n\t \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n\t browser.executeScript(scr);\n\t }\n\t\n\t it('should initialize to model', function() {\n\t expect(value.getText()).toContain('2013-W01');\n\t expect(valid.getText()).toContain('myForm.input.$valid = true');\n\t });\n\t\n\t it('should be invalid if empty', function() {\n\t setInput('');\n\t expect(value.getText()).toEqual('value =');\n\t expect(valid.getText()).toContain('myForm.input.$valid = false');\n\t });\n\t\n\t it('should be invalid if over max', function() {\n\t setInput('2015-W01');\n\t expect(value.getText()).toContain('');\n\t expect(valid.getText()).toContain('myForm.input.$valid = false');\n\t });\n\t \n\t
\n\t */\n\t 'week': createDateInputType('week', WEEK_REGEXP, weekParser, 'yyyy-Www'),\n\t\n\t /**\n\t * @ngdoc input\n\t * @name input[month]\n\t *\n\t * @description\n\t * Input with month validation and transformation. In browsers that do not yet support\n\t * the HTML5 month input, a text element will be used. In that case, the text must be entered in a valid ISO-8601\n\t * month format (yyyy-MM), for example: `2009-01`.\n\t *\n\t * The model must always be a Date object, otherwise Angular will throw an error.\n\t * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n\t * If the model is not set to the first of the month, the next view to model update will set it\n\t * to the first of the month.\n\t *\n\t * The timezone to be used to read/write the `Date` instance in the model can be defined using\n\t * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser.\n\t *\n\t * @param {string} ngModel Assignable angular expression to data-bind to.\n\t * @param {string=} name Property name of the form under which the control is published.\n\t * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`. This must be\n\t * a valid ISO month format (yyyy-MM).\n\t * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`. This must\n\t * be a valid ISO month format (yyyy-MM).\n\t * @param {string=} required Sets `required` validation error key if the value is not entered.\n\t * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n\t * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n\t * `required` when you want to data-bind to the `required` attribute.\n\t * @param {string=} ngChange Angular expression to be executed when input changes due to user\n\t * interaction with the input element.\n\t *\n\t * @example\n\t \n\t \n\t \n\t
\n\t Pick a month in 2013:\n\t \n\t \n\t Required!\n\t \n\t Not a valid month!\n\t value = {{example.value | date: \"yyyy-MM\"}}
\n\t myForm.input.$valid = {{myForm.input.$valid}}
\n\t myForm.input.$error = {{myForm.input.$error}}
\n\t myForm.$valid = {{myForm.$valid}}
\n\t myForm.$error.required = {{!!myForm.$error.required}}
\n\t
\n\t
\n\t \n\t var value = element(by.binding('example.value | date: \"yyyy-MM\"'));\n\t var valid = element(by.binding('myForm.input.$valid'));\n\t var input = element(by.model('example.value'));\n\t\n\t // currently protractor/webdriver does not support\n\t // sending keys to all known HTML5 input controls\n\t // for various browsers (https://github.com/angular/protractor/issues/562).\n\t function setInput(val) {\n\t // set the value of the element and force validation.\n\t var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n\t \"ipt.value = '\" + val + \"';\" +\n\t \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n\t browser.executeScript(scr);\n\t }\n\t\n\t it('should initialize to model', function() {\n\t expect(value.getText()).toContain('2013-10');\n\t expect(valid.getText()).toContain('myForm.input.$valid = true');\n\t });\n\t\n\t it('should be invalid if empty', function() {\n\t setInput('');\n\t expect(value.getText()).toEqual('value =');\n\t expect(valid.getText()).toContain('myForm.input.$valid = false');\n\t });\n\t\n\t it('should be invalid if over max', function() {\n\t setInput('2015-01');\n\t expect(value.getText()).toContain('');\n\t expect(valid.getText()).toContain('myForm.input.$valid = false');\n\t });\n\t \n\t
\n\t */\n\t 'month': createDateInputType('month', MONTH_REGEXP,\n\t createDateParser(MONTH_REGEXP, ['yyyy', 'MM']),\n\t 'yyyy-MM'),\n\t\n\t /**\n\t * @ngdoc input\n\t * @name input[number]\n\t *\n\t * @description\n\t * Text input with number validation and transformation. Sets the `number` validation\n\t * error if not a valid number.\n\t *\n\t *
\n\t * The model must always be of type `number` otherwise Angular will throw an error.\n\t * Be aware that a string containing a number is not enough. See the {@link ngModel:numfmt}\n\t * error docs for more information and an example of how to convert your model if necessary.\n\t *
\n\t *\n\t * @param {string} ngModel Assignable angular expression to data-bind to.\n\t * @param {string=} name Property name of the form under which the control is published.\n\t * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`.\n\t * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`.\n\t * @param {string=} required Sets `required` validation error key if the value is not entered.\n\t * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n\t * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n\t * `required` when you want to data-bind to the `required` attribute.\n\t * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n\t * minlength.\n\t * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n\t * maxlength. Setting the attribute to a negative or non-numeric value, allows view values of\n\t * any length.\n\t * @param {string=} pattern Similar to `ngPattern` except that the attribute value is the actual string\n\t * that contains the regular expression body that will be converted to a regular expression\n\t * as in the ngPattern directive.\n\t * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel value does not match\n\t * a RegExp found by evaluating the Angular expression given in the attribute value.\n\t * If the expression evaluates to a RegExp object then this is used directly.\n\t * If the expression is a string then it will be converted to a RegExp after wrapping it in `^` and `$`\n\t * characters. For instance, `\"abc\"` will be converted to `new RegExp('^abc$')`.\n\t * @param {string=} ngChange Angular expression to be executed when input changes due to user\n\t * interaction with the input element.\n\t *\n\t * @example\n\t \n\t \n\t \n\t
\n\t Number: \n\t \n\t Required!\n\t \n\t Not valid number!\n\t value = {{example.value}}
\n\t myForm.input.$valid = {{myForm.input.$valid}}
\n\t myForm.input.$error = {{myForm.input.$error}}
\n\t myForm.$valid = {{myForm.$valid}}
\n\t myForm.$error.required = {{!!myForm.$error.required}}
\n\t
\n\t
\n\t \n\t var value = element(by.binding('example.value'));\n\t var valid = element(by.binding('myForm.input.$valid'));\n\t var input = element(by.model('example.value'));\n\t\n\t it('should initialize to model', function() {\n\t expect(value.getText()).toContain('12');\n\t expect(valid.getText()).toContain('true');\n\t });\n\t\n\t it('should be invalid if empty', function() {\n\t input.clear();\n\t input.sendKeys('');\n\t expect(value.getText()).toEqual('value =');\n\t expect(valid.getText()).toContain('false');\n\t });\n\t\n\t it('should be invalid if over max', function() {\n\t input.clear();\n\t input.sendKeys('123');\n\t expect(value.getText()).toEqual('value =');\n\t expect(valid.getText()).toContain('false');\n\t });\n\t \n\t
\n\t */\n\t 'number': numberInputType,\n\t\n\t\n\t /**\n\t * @ngdoc input\n\t * @name input[url]\n\t *\n\t * @description\n\t * Text input with URL validation. Sets the `url` validation error key if the content is not a\n\t * valid URL.\n\t *\n\t *
\n\t * **Note:** `input[url]` uses a regex to validate urls that is derived from the regex\n\t * used in Chromium. If you need stricter validation, you can use `ng-pattern` or modify\n\t * the built-in validators (see the {@link guide/forms Forms guide})\n\t *
\n\t *\n\t * @param {string} ngModel Assignable angular expression to data-bind to.\n\t * @param {string=} name Property name of the form under which the control is published.\n\t * @param {string=} required Sets `required` validation error key if the value is not entered.\n\t * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n\t * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n\t * `required` when you want to data-bind to the `required` attribute.\n\t * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n\t * minlength.\n\t * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n\t * maxlength. Setting the attribute to a negative or non-numeric value, allows view values of\n\t * any length.\n\t * @param {string=} pattern Similar to `ngPattern` except that the attribute value is the actual string\n\t * that contains the regular expression body that will be converted to a regular expression\n\t * as in the ngPattern directive.\n\t * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel value does not match\n\t * a RegExp found by evaluating the Angular expression given in the attribute value.\n\t * If the expression evaluates to a RegExp object then this is used directly.\n\t * If the expression is a string then it will be converted to a RegExp after wrapping it in `^` and `$`\n\t * characters. For instance, `\"abc\"` will be converted to `new RegExp('^abc$')`.\n\t * @param {string=} ngChange Angular expression to be executed when input changes due to user\n\t * interaction with the input element.\n\t *\n\t * @example\n\t \n\t \n\t \n\t
\n\t URL: \n\t \n\t Required!\n\t \n\t Not valid url!\n\t text = {{url.text}}
\n\t myForm.input.$valid = {{myForm.input.$valid}}
\n\t myForm.input.$error = {{myForm.input.$error}}
\n\t myForm.$valid = {{myForm.$valid}}
\n\t myForm.$error.required = {{!!myForm.$error.required}}
\n\t myForm.$error.url = {{!!myForm.$error.url}}
\n\t
\n\t
\n\t \n\t var text = element(by.binding('url.text'));\n\t var valid = element(by.binding('myForm.input.$valid'));\n\t var input = element(by.model('url.text'));\n\t\n\t it('should initialize to model', function() {\n\t expect(text.getText()).toContain('http://google.com');\n\t expect(valid.getText()).toContain('true');\n\t });\n\t\n\t it('should be invalid if empty', function() {\n\t input.clear();\n\t input.sendKeys('');\n\t\n\t expect(text.getText()).toEqual('text =');\n\t expect(valid.getText()).toContain('false');\n\t });\n\t\n\t it('should be invalid if not url', function() {\n\t input.clear();\n\t input.sendKeys('box');\n\t\n\t expect(valid.getText()).toContain('false');\n\t });\n\t \n\t
\n\t */\n\t 'url': urlInputType,\n\t\n\t\n\t /**\n\t * @ngdoc input\n\t * @name input[email]\n\t *\n\t * @description\n\t * Text input with email validation. Sets the `email` validation error key if not a valid email\n\t * address.\n\t *\n\t *
\n\t * **Note:** `input[email]` uses a regex to validate email addresses that is derived from the regex\n\t * used in Chromium. If you need stricter validation (e.g. requiring a top-level domain), you can\n\t * use `ng-pattern` or modify the built-in validators (see the {@link guide/forms Forms guide})\n\t *
\n\t *\n\t * @param {string} ngModel Assignable angular expression to data-bind to.\n\t * @param {string=} name Property name of the form under which the control is published.\n\t * @param {string=} required Sets `required` validation error key if the value is not entered.\n\t * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n\t * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n\t * `required` when you want to data-bind to the `required` attribute.\n\t * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n\t * minlength.\n\t * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n\t * maxlength. Setting the attribute to a negative or non-numeric value, allows view values of\n\t * any length.\n\t * @param {string=} pattern Similar to `ngPattern` except that the attribute value is the actual string\n\t * that contains the regular expression body that will be converted to a regular expression\n\t * as in the ngPattern directive.\n\t * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel value does not match\n\t * a RegExp found by evaluating the Angular expression given in the attribute value.\n\t * If the expression evaluates to a RegExp object then this is used directly.\n\t * If the expression is a string then it will be converted to a RegExp after wrapping it in `^` and `$`\n\t * characters. For instance, `\"abc\"` will be converted to `new RegExp('^abc$')`.\n\t * @param {string=} ngChange Angular expression to be executed when input changes due to user\n\t * interaction with the input element.\n\t *\n\t * @example\n\t \n\t \n\t \n\t
\n\t Email: \n\t \n\t Required!\n\t \n\t Not valid email!\n\t text = {{email.text}}
\n\t myForm.input.$valid = {{myForm.input.$valid}}
\n\t myForm.input.$error = {{myForm.input.$error}}
\n\t myForm.$valid = {{myForm.$valid}}
\n\t myForm.$error.required = {{!!myForm.$error.required}}
\n\t myForm.$error.email = {{!!myForm.$error.email}}
\n\t
\n\t
\n\t \n\t var text = element(by.binding('email.text'));\n\t var valid = element(by.binding('myForm.input.$valid'));\n\t var input = element(by.model('email.text'));\n\t\n\t it('should initialize to model', function() {\n\t expect(text.getText()).toContain('me@example.com');\n\t expect(valid.getText()).toContain('true');\n\t });\n\t\n\t it('should be invalid if empty', function() {\n\t input.clear();\n\t input.sendKeys('');\n\t expect(text.getText()).toEqual('text =');\n\t expect(valid.getText()).toContain('false');\n\t });\n\t\n\t it('should be invalid if not email', function() {\n\t input.clear();\n\t input.sendKeys('xxx');\n\t\n\t expect(valid.getText()).toContain('false');\n\t });\n\t \n\t
\n\t */\n\t 'email': emailInputType,\n\t\n\t\n\t /**\n\t * @ngdoc input\n\t * @name input[radio]\n\t *\n\t * @description\n\t * HTML radio button.\n\t *\n\t * @param {string} ngModel Assignable angular expression to data-bind to.\n\t * @param {string} value The value to which the expression should be set when selected.\n\t * @param {string=} name Property name of the form under which the control is published.\n\t * @param {string=} ngChange Angular expression to be executed when input changes due to user\n\t * interaction with the input element.\n\t * @param {string} ngValue Angular expression which sets the value to which the expression should\n\t * be set when selected.\n\t *\n\t * @example\n\t \n\t \n\t \n\t
\n\t Red
\n\t Green
\n\t Blue
\n\t color = {{color.name | json}}
\n\t
\n\t Note that `ng-value=\"specialValue\"` sets radio item's value to be the value of `$scope.specialValue`.\n\t
\n\t \n\t it('should change state', function() {\n\t var color = element(by.binding('color.name'));\n\t\n\t expect(color.getText()).toContain('blue');\n\t\n\t element.all(by.model('color.name')).get(0).click();\n\t\n\t expect(color.getText()).toContain('red');\n\t });\n\t \n\t
\n\t */\n\t 'radio': radioInputType,\n\t\n\t\n\t /**\n\t * @ngdoc input\n\t * @name input[checkbox]\n\t *\n\t * @description\n\t * HTML checkbox.\n\t *\n\t * @param {string} ngModel Assignable angular expression to data-bind to.\n\t * @param {string=} name Property name of the form under which the control is published.\n\t * @param {expression=} ngTrueValue The value to which the expression should be set when selected.\n\t * @param {expression=} ngFalseValue The value to which the expression should be set when not selected.\n\t * @param {string=} ngChange Angular expression to be executed when input changes due to user\n\t * interaction with the input element.\n\t *\n\t * @example\n\t \n\t \n\t \n\t
\n\t Value1:
\n\t Value2:
\n\t value1 = {{checkboxModel.value1}}
\n\t value2 = {{checkboxModel.value2}}
\n\t
\n\t
\n\t \n\t it('should change state', function() {\n\t var value1 = element(by.binding('checkboxModel.value1'));\n\t var value2 = element(by.binding('checkboxModel.value2'));\n\t\n\t expect(value1.getText()).toContain('true');\n\t expect(value2.getText()).toContain('YES');\n\t\n\t element(by.model('checkboxModel.value1')).click();\n\t element(by.model('checkboxModel.value2')).click();\n\t\n\t expect(value1.getText()).toContain('false');\n\t expect(value2.getText()).toContain('NO');\n\t });\n\t \n\t
\n\t */\n\t 'checkbox': checkboxInputType,\n\t\n\t 'hidden': noop,\n\t 'button': noop,\n\t 'submit': noop,\n\t 'reset': noop,\n\t 'file': noop\n\t};\n\t\n\tfunction stringBasedInputType(ctrl) {\n\t ctrl.$formatters.push(function(value) {\n\t return ctrl.$isEmpty(value) ? value : value.toString();\n\t });\n\t}\n\t\n\tfunction textInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n\t baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n\t stringBasedInputType(ctrl);\n\t}\n\t\n\tfunction baseInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n\t var type = lowercase(element[0].type);\n\t\n\t // In composition mode, users are still inputing intermediate text buffer,\n\t // hold the listener until composition is done.\n\t // More about composition events: https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent\n\t if (!$sniffer.android) {\n\t var composing = false;\n\t\n\t element.on('compositionstart', function(data) {\n\t composing = true;\n\t });\n\t\n\t element.on('compositionend', function() {\n\t composing = false;\n\t listener();\n\t });\n\t }\n\t\n\t var listener = function(ev) {\n\t if (timeout) {\n\t $browser.defer.cancel(timeout);\n\t timeout = null;\n\t }\n\t if (composing) return;\n\t var value = element.val(),\n\t event = ev && ev.type;\n\t\n\t // By default we will trim the value\n\t // If the attribute ng-trim exists we will avoid trimming\n\t // If input type is 'password', the value is never trimmed\n\t if (type !== 'password' && (!attr.ngTrim || attr.ngTrim !== 'false')) {\n\t value = trim(value);\n\t }\n\t\n\t // If a control is suffering from bad input (due to native validators), browsers discard its\n\t // value, so it may be necessary to revalidate (by calling $setViewValue again) even if the\n\t // control's value is the same empty value twice in a row.\n\t if (ctrl.$viewValue !== value || (value === '' && ctrl.$$hasNativeValidators)) {\n\t ctrl.$setViewValue(value, event);\n\t }\n\t };\n\t\n\t // if the browser does support \"input\" event, we are fine - except on IE9 which doesn't fire the\n\t // input event on backspace, delete or cut\n\t if ($sniffer.hasEvent('input')) {\n\t element.on('input', listener);\n\t } else {\n\t var timeout;\n\t\n\t var deferListener = function(ev, input, origValue) {\n\t if (!timeout) {\n\t timeout = $browser.defer(function() {\n\t timeout = null;\n\t if (!input || input.value !== origValue) {\n\t listener(ev);\n\t }\n\t });\n\t }\n\t };\n\t\n\t element.on('keydown', function(event) {\n\t var key = event.keyCode;\n\t\n\t // ignore\n\t // command modifiers arrows\n\t if (key === 91 || (15 < key && key < 19) || (37 <= key && key <= 40)) return;\n\t\n\t deferListener(event, this, this.value);\n\t });\n\t\n\t // if user modifies input value using context menu in IE, we need \"paste\" and \"cut\" events to catch it\n\t if ($sniffer.hasEvent('paste')) {\n\t element.on('paste cut', deferListener);\n\t }\n\t }\n\t\n\t // if user paste into input using mouse on older browser\n\t // or form autocomplete on newer browser, we need \"change\" event to catch it\n\t element.on('change', listener);\n\t\n\t ctrl.$render = function() {\n\t element.val(ctrl.$isEmpty(ctrl.$viewValue) ? '' : ctrl.$viewValue);\n\t };\n\t}\n\t\n\tfunction weekParser(isoWeek, existingDate) {\n\t if (isDate(isoWeek)) {\n\t return isoWeek;\n\t }\n\t\n\t if (isString(isoWeek)) {\n\t WEEK_REGEXP.lastIndex = 0;\n\t var parts = WEEK_REGEXP.exec(isoWeek);\n\t if (parts) {\n\t var year = +parts[1],\n\t week = +parts[2],\n\t hours = 0,\n\t minutes = 0,\n\t seconds = 0,\n\t milliseconds = 0,\n\t firstThurs = getFirstThursdayOfYear(year),\n\t addDays = (week - 1) * 7;\n\t\n\t if (existingDate) {\n\t hours = existingDate.getHours();\n\t minutes = existingDate.getMinutes();\n\t seconds = existingDate.getSeconds();\n\t milliseconds = existingDate.getMilliseconds();\n\t }\n\t\n\t return new Date(year, 0, firstThurs.getDate() + addDays, hours, minutes, seconds, milliseconds);\n\t }\n\t }\n\t\n\t return NaN;\n\t}\n\t\n\tfunction createDateParser(regexp, mapping) {\n\t return function(iso, date) {\n\t var parts, map;\n\t\n\t if (isDate(iso)) {\n\t return iso;\n\t }\n\t\n\t if (isString(iso)) {\n\t // When a date is JSON'ified to wraps itself inside of an extra\n\t // set of double quotes. This makes the date parsing code unable\n\t // to match the date string and parse it as a date.\n\t if (iso.charAt(0) == '\"' && iso.charAt(iso.length - 1) == '\"') {\n\t iso = iso.substring(1, iso.length - 1);\n\t }\n\t if (ISO_DATE_REGEXP.test(iso)) {\n\t return new Date(iso);\n\t }\n\t regexp.lastIndex = 0;\n\t parts = regexp.exec(iso);\n\t\n\t if (parts) {\n\t parts.shift();\n\t if (date) {\n\t map = {\n\t yyyy: date.getFullYear(),\n\t MM: date.getMonth() + 1,\n\t dd: date.getDate(),\n\t HH: date.getHours(),\n\t mm: date.getMinutes(),\n\t ss: date.getSeconds(),\n\t sss: date.getMilliseconds() / 1000\n\t };\n\t } else {\n\t map = { yyyy: 1970, MM: 1, dd: 1, HH: 0, mm: 0, ss: 0, sss: 0 };\n\t }\n\t\n\t forEach(parts, function(part, index) {\n\t if (index < mapping.length) {\n\t map[mapping[index]] = +part;\n\t }\n\t });\n\t return new Date(map.yyyy, map.MM - 1, map.dd, map.HH, map.mm, map.ss || 0, map.sss * 1000 || 0);\n\t }\n\t }\n\t\n\t return NaN;\n\t };\n\t}\n\t\n\tfunction createDateInputType(type, regexp, parseDate, format) {\n\t return function dynamicDateInputType(scope, element, attr, ctrl, $sniffer, $browser, $filter) {\n\t badInputChecker(scope, element, attr, ctrl);\n\t baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n\t var timezone = ctrl && ctrl.$options && ctrl.$options.timezone;\n\t var previousDate;\n\t\n\t ctrl.$$parserName = type;\n\t ctrl.$parsers.push(function(value) {\n\t if (ctrl.$isEmpty(value)) return null;\n\t if (regexp.test(value)) {\n\t // Note: We cannot read ctrl.$modelValue, as there might be a different\n\t // parser/formatter in the processing chain so that the model\n\t // contains some different data format!\n\t var parsedDate = parseDate(value, previousDate);\n\t if (timezone === 'UTC') {\n\t parsedDate.setMinutes(parsedDate.getMinutes() - parsedDate.getTimezoneOffset());\n\t }\n\t return parsedDate;\n\t }\n\t return undefined;\n\t });\n\t\n\t ctrl.$formatters.push(function(value) {\n\t if (value && !isDate(value)) {\n\t throw $ngModelMinErr('datefmt', 'Expected `{0}` to be a date', value);\n\t }\n\t if (isValidDate(value)) {\n\t previousDate = value;\n\t if (previousDate && timezone === 'UTC') {\n\t var timezoneOffset = 60000 * previousDate.getTimezoneOffset();\n\t previousDate = new Date(previousDate.getTime() + timezoneOffset);\n\t }\n\t return $filter('date')(value, format, timezone);\n\t } else {\n\t previousDate = null;\n\t return '';\n\t }\n\t });\n\t\n\t if (isDefined(attr.min) || attr.ngMin) {\n\t var minVal;\n\t ctrl.$validators.min = function(value) {\n\t return !isValidDate(value) || isUndefined(minVal) || parseDate(value) >= minVal;\n\t };\n\t attr.$observe('min', function(val) {\n\t minVal = parseObservedDateValue(val);\n\t ctrl.$validate();\n\t });\n\t }\n\t\n\t if (isDefined(attr.max) || attr.ngMax) {\n\t var maxVal;\n\t ctrl.$validators.max = function(value) {\n\t return !isValidDate(value) || isUndefined(maxVal) || parseDate(value) <= maxVal;\n\t };\n\t attr.$observe('max', function(val) {\n\t maxVal = parseObservedDateValue(val);\n\t ctrl.$validate();\n\t });\n\t }\n\t\n\t function isValidDate(value) {\n\t // Invalid Date: getTime() returns NaN\n\t return value && !(value.getTime && value.getTime() !== value.getTime());\n\t }\n\t\n\t function parseObservedDateValue(val) {\n\t return isDefined(val) ? (isDate(val) ? val : parseDate(val)) : undefined;\n\t }\n\t };\n\t}\n\t\n\tfunction badInputChecker(scope, element, attr, ctrl) {\n\t var node = element[0];\n\t var nativeValidation = ctrl.$$hasNativeValidators = isObject(node.validity);\n\t if (nativeValidation) {\n\t ctrl.$parsers.push(function(value) {\n\t var validity = element.prop(VALIDITY_STATE_PROPERTY) || {};\n\t // Detect bug in FF35 for input[email] (https://bugzilla.mozilla.org/show_bug.cgi?id=1064430):\n\t // - also sets validity.badInput (should only be validity.typeMismatch).\n\t // - see http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#e-mail-state-(type=email)\n\t // - can ignore this case as we can still read out the erroneous email...\n\t return validity.badInput && !validity.typeMismatch ? undefined : value;\n\t });\n\t }\n\t}\n\t\n\tfunction numberInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n\t badInputChecker(scope, element, attr, ctrl);\n\t baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n\t\n\t ctrl.$$parserName = 'number';\n\t ctrl.$parsers.push(function(value) {\n\t if (ctrl.$isEmpty(value)) return null;\n\t if (NUMBER_REGEXP.test(value)) return parseFloat(value);\n\t return undefined;\n\t });\n\t\n\t ctrl.$formatters.push(function(value) {\n\t if (!ctrl.$isEmpty(value)) {\n\t if (!isNumber(value)) {\n\t throw $ngModelMinErr('numfmt', 'Expected `{0}` to be a number', value);\n\t }\n\t value = value.toString();\n\t }\n\t return value;\n\t });\n\t\n\t if (isDefined(attr.min) || attr.ngMin) {\n\t var minVal;\n\t ctrl.$validators.min = function(value) {\n\t return ctrl.$isEmpty(value) || isUndefined(minVal) || value >= minVal;\n\t };\n\t\n\t attr.$observe('min', function(val) {\n\t if (isDefined(val) && !isNumber(val)) {\n\t val = parseFloat(val, 10);\n\t }\n\t minVal = isNumber(val) && !isNaN(val) ? val : undefined;\n\t // TODO(matsko): implement validateLater to reduce number of validations\n\t ctrl.$validate();\n\t });\n\t }\n\t\n\t if (isDefined(attr.max) || attr.ngMax) {\n\t var maxVal;\n\t ctrl.$validators.max = function(value) {\n\t return ctrl.$isEmpty(value) || isUndefined(maxVal) || value <= maxVal;\n\t };\n\t\n\t attr.$observe('max', function(val) {\n\t if (isDefined(val) && !isNumber(val)) {\n\t val = parseFloat(val, 10);\n\t }\n\t maxVal = isNumber(val) && !isNaN(val) ? val : undefined;\n\t // TODO(matsko): implement validateLater to reduce number of validations\n\t ctrl.$validate();\n\t });\n\t }\n\t}\n\t\n\tfunction urlInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n\t // Note: no badInputChecker here by purpose as `url` is only a validation\n\t // in browsers, i.e. we can always read out input.value even if it is not valid!\n\t baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n\t stringBasedInputType(ctrl);\n\t\n\t ctrl.$$parserName = 'url';\n\t ctrl.$validators.url = function(modelValue, viewValue) {\n\t var value = modelValue || viewValue;\n\t return ctrl.$isEmpty(value) || URL_REGEXP.test(value);\n\t };\n\t}\n\t\n\tfunction emailInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n\t // Note: no badInputChecker here by purpose as `url` is only a validation\n\t // in browsers, i.e. we can always read out input.value even if it is not valid!\n\t baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n\t stringBasedInputType(ctrl);\n\t\n\t ctrl.$$parserName = 'email';\n\t ctrl.$validators.email = function(modelValue, viewValue) {\n\t var value = modelValue || viewValue;\n\t return ctrl.$isEmpty(value) || EMAIL_REGEXP.test(value);\n\t };\n\t}\n\t\n\tfunction radioInputType(scope, element, attr, ctrl) {\n\t // make the name unique, if not defined\n\t if (isUndefined(attr.name)) {\n\t element.attr('name', nextUid());\n\t }\n\t\n\t var listener = function(ev) {\n\t if (element[0].checked) {\n\t ctrl.$setViewValue(attr.value, ev && ev.type);\n\t }\n\t };\n\t\n\t element.on('click', listener);\n\t\n\t ctrl.$render = function() {\n\t var value = attr.value;\n\t element[0].checked = (value == ctrl.$viewValue);\n\t };\n\t\n\t attr.$observe('value', ctrl.$render);\n\t}\n\t\n\tfunction parseConstantExpr($parse, context, name, expression, fallback) {\n\t var parseFn;\n\t if (isDefined(expression)) {\n\t parseFn = $parse(expression);\n\t if (!parseFn.constant) {\n\t throw minErr('ngModel')('constexpr', 'Expected constant expression for `{0}`, but saw ' +\n\t '`{1}`.', name, expression);\n\t }\n\t return parseFn(context);\n\t }\n\t return fallback;\n\t}\n\t\n\tfunction checkboxInputType(scope, element, attr, ctrl, $sniffer, $browser, $filter, $parse) {\n\t var trueValue = parseConstantExpr($parse, scope, 'ngTrueValue', attr.ngTrueValue, true);\n\t var falseValue = parseConstantExpr($parse, scope, 'ngFalseValue', attr.ngFalseValue, false);\n\t\n\t var listener = function(ev) {\n\t ctrl.$setViewValue(element[0].checked, ev && ev.type);\n\t };\n\t\n\t element.on('click', listener);\n\t\n\t ctrl.$render = function() {\n\t element[0].checked = ctrl.$viewValue;\n\t };\n\t\n\t // Override the standard `$isEmpty` because the $viewValue of an empty checkbox is always set to `false`\n\t // This is because of the parser below, which compares the `$modelValue` with `trueValue` to convert\n\t // it to a boolean.\n\t ctrl.$isEmpty = function(value) {\n\t return value === false;\n\t };\n\t\n\t ctrl.$formatters.push(function(value) {\n\t return equals(value, trueValue);\n\t });\n\t\n\t ctrl.$parsers.push(function(value) {\n\t return value ? trueValue : falseValue;\n\t });\n\t}\n\t\n\t\n\t/**\n\t * @ngdoc directive\n\t * @name textarea\n\t * @restrict E\n\t *\n\t * @description\n\t * HTML textarea element control with angular data-binding. The data-binding and validation\n\t * properties of this element are exactly the same as those of the\n\t * {@link ng.directive:input input element}.\n\t *\n\t * @param {string} ngModel Assignable angular expression to data-bind to.\n\t * @param {string=} name Property name of the form under which the control is published.\n\t * @param {string=} required Sets `required` validation error key if the value is not entered.\n\t * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n\t * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n\t * `required` when you want to data-bind to the `required` attribute.\n\t * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n\t * minlength.\n\t * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n\t * maxlength. Setting the attribute to a negative or non-numeric value, allows view values of any\n\t * length.\n\t * @param {string=} ngPattern Sets `pattern` validation error key if the value does not match the\n\t * RegExp pattern expression. Expected value is `/regexp/` for inline patterns or `regexp` for\n\t * patterns defined as scope expressions.\n\t * @param {string=} ngChange Angular expression to be executed when input changes due to user\n\t * interaction with the input element.\n\t * @param {boolean=} [ngTrim=true] If set to false Angular will not automatically trim the input.\n\t */\n\t\n\t\n\t/**\n\t * @ngdoc directive\n\t * @name input\n\t * @restrict E\n\t *\n\t * @description\n\t * HTML input element control. When used together with {@link ngModel `ngModel`}, it provides data-binding,\n\t * input state control, and validation.\n\t * Input control follows HTML5 input types and polyfills the HTML5 validation behavior for older browsers.\n\t *\n\t *
\n\t * **Note:** Not every feature offered is available for all input types.\n\t * Specifically, data binding and event handling via `ng-model` is unsupported for `input[file]`.\n\t *
\n\t *\n\t * @param {string} ngModel Assignable angular expression to data-bind to.\n\t * @param {string=} name Property name of the form under which the control is published.\n\t * @param {string=} required Sets `required` validation error key if the value is not entered.\n\t * @param {boolean=} ngRequired Sets `required` attribute if set to true\n\t * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n\t * minlength.\n\t * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n\t * maxlength. Setting the attribute to a negative or non-numeric value, allows view values of any\n\t * length.\n\t * @param {string=} ngPattern Sets `pattern` validation error key if the value does not match the\n\t * RegExp pattern expression. Expected value is `/regexp/` for inline patterns or `regexp` for\n\t * patterns defined as scope expressions.\n\t * @param {string=} ngChange Angular expression to be executed when input changes due to user\n\t * interaction with the input element.\n\t * @param {boolean=} [ngTrim=true] If set to false Angular will not automatically trim the input.\n\t * This parameter is ignored for input[type=password] controls, which will never trim the\n\t * input.\n\t *\n\t * @example\n\t \n\t \n\t \n\t
\n\t
\n\t User name: \n\t \n\t Required!
\n\t Last name: \n\t \n\t Too short!\n\t \n\t Too long!
\n\t
\n\t
\n\t user = {{user}}
\n\t myForm.userName.$valid = {{myForm.userName.$valid}}
\n\t myForm.userName.$error = {{myForm.userName.$error}}
\n\t myForm.lastName.$valid = {{myForm.lastName.$valid}}
\n\t myForm.lastName.$error = {{myForm.lastName.$error}}
\n\t myForm.$valid = {{myForm.$valid}}
\n\t myForm.$error.required = {{!!myForm.$error.required}}
\n\t myForm.$error.minlength = {{!!myForm.$error.minlength}}
\n\t myForm.$error.maxlength = {{!!myForm.$error.maxlength}}
\n\t
\n\t
\n\t \n\t var user = element(by.exactBinding('user'));\n\t var userNameValid = element(by.binding('myForm.userName.$valid'));\n\t var lastNameValid = element(by.binding('myForm.lastName.$valid'));\n\t var lastNameError = element(by.binding('myForm.lastName.$error'));\n\t var formValid = element(by.binding('myForm.$valid'));\n\t var userNameInput = element(by.model('user.name'));\n\t var userLastInput = element(by.model('user.last'));\n\t\n\t it('should initialize to model', function() {\n\t expect(user.getText()).toContain('{\"name\":\"guest\",\"last\":\"visitor\"}');\n\t expect(userNameValid.getText()).toContain('true');\n\t expect(formValid.getText()).toContain('true');\n\t });\n\t\n\t it('should be invalid if empty when required', function() {\n\t userNameInput.clear();\n\t userNameInput.sendKeys('');\n\t\n\t expect(user.getText()).toContain('{\"last\":\"visitor\"}');\n\t expect(userNameValid.getText()).toContain('false');\n\t expect(formValid.getText()).toContain('false');\n\t });\n\t\n\t it('should be valid if empty when min length is set', function() {\n\t userLastInput.clear();\n\t userLastInput.sendKeys('');\n\t\n\t expect(user.getText()).toContain('{\"name\":\"guest\",\"last\":\"\"}');\n\t expect(lastNameValid.getText()).toContain('true');\n\t expect(formValid.getText()).toContain('true');\n\t });\n\t\n\t it('should be invalid if less than required min length', function() {\n\t userLastInput.clear();\n\t userLastInput.sendKeys('xx');\n\t\n\t expect(user.getText()).toContain('{\"name\":\"guest\"}');\n\t expect(lastNameValid.getText()).toContain('false');\n\t expect(lastNameError.getText()).toContain('minlength');\n\t expect(formValid.getText()).toContain('false');\n\t });\n\t\n\t it('should be invalid if longer than max length', function() {\n\t userLastInput.clear();\n\t userLastInput.sendKeys('some ridiculously long name');\n\t\n\t expect(user.getText()).toContain('{\"name\":\"guest\"}');\n\t expect(lastNameValid.getText()).toContain('false');\n\t expect(lastNameError.getText()).toContain('maxlength');\n\t expect(formValid.getText()).toContain('false');\n\t });\n\t \n\t
\n\t */\n\tvar inputDirective = ['$browser', '$sniffer', '$filter', '$parse',\n\t function($browser, $sniffer, $filter, $parse) {\n\t return {\n\t restrict: 'E',\n\t require: ['?ngModel'],\n\t link: {\n\t pre: function(scope, element, attr, ctrls) {\n\t if (ctrls[0]) {\n\t (inputType[lowercase(attr.type)] || inputType.text)(scope, element, attr, ctrls[0], $sniffer,\n\t $browser, $filter, $parse);\n\t }\n\t }\n\t }\n\t };\n\t}];\n\t\n\t\n\t\n\tvar CONSTANT_VALUE_REGEXP = /^(true|false|\\d+)$/;\n\t/**\n\t * @ngdoc directive\n\t * @name ngValue\n\t *\n\t * @description\n\t * Binds the given expression to the value of `
\n\t \n\t it('should load template defined inside script tag', function() {\n\t element(by.css('#tpl-link')).click();\n\t expect(element(by.css('#tpl-content')).getText()).toMatch(/Content of the template/);\n\t });\n\t \n\t \n\t */\n\tvar scriptDirective = ['$templateCache', function($templateCache) {\n\t return {\n\t restrict: 'E',\n\t terminal: true,\n\t compile: function(element, attr) {\n\t if (attr.type == 'text/ng-template') {\n\t var templateUrl = attr.id,\n\t text = element[0].text;\n\t\n\t $templateCache.put(templateUrl, text);\n\t }\n\t }\n\t };\n\t}];\n\t\n\tvar ngOptionsMinErr = minErr('ngOptions');\n\t/**\n\t * @ngdoc directive\n\t * @name select\n\t * @restrict E\n\t *\n\t * @description\n\t * HTML `SELECT` element with angular data-binding.\n\t *\n\t * # `ngOptions`\n\t *\n\t * The `ngOptions` attribute can be used to dynamically generate a list of `