--- a/src/iconolab/static/iconolab/js/iconolab.js Tue Oct 11 12:08:53 2016 +0200
+++ b/src/iconolab/static/iconolab/js/iconolab.js Tue Oct 11 12:17:31 2016 +0200
@@ -1,8 +1,8 @@
-!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}([function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}n(133),n(134),n(132);var i=n(122),o=(r(i),n(32)),a=r(o),s=n(127),u=r(s),l=n(50),c=r(l),f=n(138),h=r(f),d=n(49),p=r(d),v=n(16),g=r(v),m=n(99);Vue.config.ignoredElements=["mask"];var y={Cutout:u["default"],JsDiff:m,JsonDiff:g["default"],VueComponents:{Typeahead:a["default"],MergeTool:h["default"],Zoomview:c["default"],DiffViewer:p["default"]}};window.iconolab||(window.iconolab=y)},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},r="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array},i="function"==typeof Object.keys?function(t){return Object.keys(t)}:function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e},o=function(t){return"_"===t.substr(0,1)?t.slice(1):t},a=function(t){return"_t"===t?-1:"_"===t.substr(0,1)?parseInt(t.slice(1),10):parseInt(t,10)+.1},s=function(t,e){return a(t)-a(e)},u=function(){};u.prototype.format=function(t,e){var n={};return this.prepareContext(n),this.recurse(n,t,e),this.finalize(n)},u.prototype.prepareContext=function(t){t.buffer=[],t.out=function(){this.buffer.push.apply(this.buffer,arguments)}},u.prototype.typeFormattterNotFound=function(t,e){throw new Error("cannot format delta type: "+e)},u.prototype.typeFormattterErrorFormatter=function(t,e){return e.toString()},u.prototype.finalize=function(t){if(r(t.buffer))return t.buffer.join("")},u.prototype.recurse=function(t,e,n,r,i,o,a){var s=e&&o,u=s?o.value:n;if("undefined"!=typeof e||"undefined"!=typeof r){var l=this.getDeltaType(e,o),c="node"===l?"a"===e._t?"array":"object":"";"undefined"!=typeof r?this.nodeBegin(t,r,i,l,c,a):this.rootBegin(t,l,c);var f;try{f=this["format_"+l]||this.typeFormattterNotFound(t,l),f.call(this,t,e,u,r,i,o)}catch(h){this.typeFormattterErrorFormatter(t,h,e,u,r,i,o),"undefined"!=typeof console&&console.error&&console.error(h.stack)}"undefined"!=typeof r?this.nodeEnd(t,r,i,l,c,a):this.rootEnd(t,l,c)}},u.prototype.formatDeltaChildren=function(t,e,n){var r=this;this.forEachDeltaKey(e,n,function(i,o,a,s){r.recurse(t,e[i],n?n[o]:void 0,i,o,a,s)})},u.prototype.forEachDeltaKey=function(t,e,n){var a,u=i(t),l="a"===t._t,c={};if("undefined"!=typeof e)for(a in e)"undefined"!=typeof t[a]||l&&"undefined"!=typeof t["_"+a]||u.push(a);for(a in t){var f=t[a];r(f)&&3===f[2]&&(c[f[1].toString()]={key:a,value:e&&e[parseInt(a.substr(1))]},this.includeMoveDestinations!==!1&&"undefined"==typeof e&&"undefined"==typeof t[f[1]]&&u.push(f[1].toString()))}l?u.sort(s):u.sort();for(var h=0,d=u.length;h<d;h++){var p=u[h];if(!l||"_t"!==p){var v=l?"number"==typeof p?p:parseInt(o(p),10):p,g=h===d-1;n(p,v,c[v],g)}}},u.prototype.getDeltaType=function(t,e){if("undefined"==typeof t)return"undefined"!=typeof e?"movedestination":"unchanged";if(r(t)){if(1===t.length)return"added";if(2===t.length)return"modified";if(3===t.length&&0===t[2])return"deleted";if(3===t.length&&2===t[2])return"textdiff";if(3===t.length&&3===t[2])return"moved"}else if("object"===("undefined"==typeof t?"undefined":n(t)))return"node";return"unknown"},u.prototype.parseTextDiff=function(t){for(var e=[],n=t.split("\n@@ "),r=0,i=n.length;r<i;r++){var o=n[r],a={pieces:[]},s=/^(?:@@ )?[-+]?(\d+),(\d+)/.exec(o).slice(1);a.location={line:s[0],chr:s[1]};for(var u=o.split("\n").slice(1),l=0,c=u.length;l<c;l++){var f=u[l];if(f.length){var h={type:"context"};"+"===f.substr(0,1)?h.type="added":"-"===f.substr(0,1)&&(h.type="deleted"),h.text=f.slice(1),a.pieces.push(h)}}e.push(a)}return e},e.BaseFormatter=u},function(t,e){"use strict";function n(){}function r(t,e,n,r,i){for(var o=0,a=e.length,s=0,u=0;o<a;o++){var l=e[o];if(l.removed){if(l.value=r.slice(u,u+l.count).join(""),u+=l.count,o&&e[o-1].added){var c=e[o-1];e[o-1]=e[o],e[o]=c}}else{if(!l.added&&i){var f=n.slice(s,s+l.count);f=f.map(function(t,e){var n=r[u+e];return n.length>t.length?n:t}),l.value=f.join("")}else l.value=n.slice(s,s+l.count).join("");s+=l.count,l.added||(u+=l.count)}}var h=e[a-1];return a>1&&(h.added||h.removed)&&t.equals("",h.value)&&(e[a-2].value+=h.value,e.pop()),e}function i(t){return{newPos:t.newPos,components:t.components.slice(0)}}e.__esModule=!0,e["default"]=n,n.prototype={diff:function(t,e){function n(t){return s?(setTimeout(function(){s(void 0,t)},0),!0):t}function o(){for(var o=-1*f;o<=f;o+=2){var a=void 0,s=d[o-1],h=d[o+1],p=(h?h.newPos:0)-o;s&&(d[o-1]=void 0);var v=s&&s.newPos+1<l,g=h&&0<=p&&p<c;if(v||g){if(!v||g&&s.newPos<h.newPos?(a=i(h),u.pushComponent(a.components,void 0,!0)):(a=s,a.newPos++,u.pushComponent(a.components,!0,void 0)),p=u.extractCommon(a,e,t,o),a.newPos+1>=l&&p+1>=c)return n(r(u,a.components,e,t,u.useLongestToken));d[o]=a}else d[o]=void 0}f++}var a=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],s=a.callback;"function"==typeof a&&(s=a,a={}),this.options=a;var u=this;t=this.castInput(t),e=this.castInput(e),t=this.removeEmpty(this.tokenize(t)),e=this.removeEmpty(this.tokenize(e));var l=e.length,c=t.length,f=1,h=l+c,d=[{newPos:-1,components:[]}],p=this.extractCommon(d[0],e,t,0);if(d[0].newPos+1>=l&&p+1>=c)return n([{value:e.join(""),count:e.length}]);if(s)!function g(){setTimeout(function(){return f>h?s():void(o()||g())},0)}();else for(;f<=h;){var v=o();if(v)return v}},pushComponent:function(t,e,n){var r=t[t.length-1];r&&r.added===e&&r.removed===n?t[t.length-1]={count:r.count+1,added:e,removed:n}:t.push({count:1,added:e,removed:n})},extractCommon:function(t,e,n,r){for(var i=e.length,o=n.length,a=t.newPos,s=a-r,u=0;a+1<i&&s+1<o&&this.equals(e[a+1],n[s+1]);)a++,s++,u++;return u&&t.components.push({count:u}),t.newPos=a,s},equals:function(t,e){return t===e},removeEmpty:function(t){for(var e=[],n=0;n<t.length;n++)t[n]&&e.push(t[n]);return e},castInput:function(t){return t},tokenize:function(t){return t.split("")}}},function(t,e,n){"use strict";var r=n(17).Pipe,i=function(){};i.prototype.setResult=function(t){return this.result=t,this.hasResult=!0,this},i.prototype.exit=function(){return this.exiting=!0,this},i.prototype.switchTo=function(t,e){return"string"==typeof t||t instanceof r?this.nextPipe=t:(this.next=t,e&&(this.nextPipe=e)),this},i.prototype.push=function(t,e){return t.parent=this,"undefined"!=typeof e&&(t.childName=e),t.root=this.root||this,t.options=t.options||this.options,this.children?(this.children[this.children.length-1].next=t,this.children.push(t)):(this.children=[t],this.nextAfterChildren=this.next||null,this.next=t),t.next=this,this},e.Context=i},function(t,e,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},i=n(3).Context,o=n(14),a=function(t,e){this.left=t,this.right=e,this.pipe="diff"};a.prototype=new i,a.prototype.setResult=function(t){if(this.options.cloneDiffValues){var e="function"==typeof this.options.cloneDiffValues?this.options.cloneDiffValues:function(t){return JSON.parse(JSON.stringify(t),o)};"object"===r(t[0])&&(t[0]=e(t[0])),"object"===r(t[1])&&(t[1]=e(t[1]))}return i.prototype.setResult.apply(this,arguments)},e.DiffContext=a},function(t,e,n){"use strict";var r=n(3).Context,i=function(t,e){this.left=t,this.delta=e,this.pipe="patch"};i.prototype=new r,e.PatchContext=i},function(t,e,n){"use strict";var r=n(3).Context,i=function(t){this.delta=t,this.pipe="reverse"};i.prototype=new r,e.ReverseContext=i},function(t,e){"use strict";e.isBrowser="undefined"!=typeof window},function(t,e,n){"use strict";var r=n(1),i=r.BaseFormatter,o=function(){this.includeMoveDestinations=!1};o.prototype=new i,o.prototype.prepareContext=function(t){i.prototype.prepareContext.call(this,t),t.indent=function(t){this.indentLevel=(this.indentLevel||0)+("undefined"==typeof t?1:t),this.indentPad=new Array(this.indentLevel+1).join(" ")},t.row=function(e,n){t.out('<tr><td style="white-space: nowrap;"><pre class="jsondiffpatch-annotated-indent" style="display: inline-block">'),t.out(t.indentPad),t.out('</pre><pre style="display: inline-block">'),t.out(e),t.out('</pre></td><td class="jsondiffpatch-delta-note"><div>'),t.out(n),t.out("</div></td></tr>")}},o.prototype.typeFormattterErrorFormatter=function(t,e){t.row("",'<pre class="jsondiffpatch-error">'+e+"</pre>")},o.prototype.formatTextDiffString=function(t,e){var n=this.parseTextDiff(e);t.out('<ul class="jsondiffpatch-textdiff">');for(var r=0,i=n.length;r<i;r++){var o=n[r];t.out('<li><div class="jsondiffpatch-textdiff-location"><span class="jsondiffpatch-textdiff-line-number">'+o.location.line+'</span><span class="jsondiffpatch-textdiff-char">'+o.location.chr+'</span></div><div class="jsondiffpatch-textdiff-line">');for(var a=o.pieces,s=0,u=a.length;s<u;s++){var l=a[s];t.out('<span class="jsondiffpatch-textdiff-'+l.type+'">'+l.text+"</span>")}t.out("</div></li>")}t.out("</ul>")},o.prototype.rootBegin=function(t,e,n){t.out('<table class="jsondiffpatch-annotated-delta">'),"node"===e&&(t.row("{"),t.indent()),"array"===n&&t.row('"_t": "a",',"Array delta (member names indicate array indices)")},o.prototype.rootEnd=function(t,e){"node"===e&&(t.indent(-1),t.row("}")),t.out("</table>")},o.prototype.nodeBegin=function(t,e,n,r,i){t.row("""+e+"": {"),"node"===r&&t.indent(),"array"===i&&t.row('"_t": "a",',"Array delta (member names indicate array indices)")},o.prototype.nodeEnd=function(t,e,n,r,i,o){"node"===r&&t.indent(-1),t.row("}"+(o?"":","))},o.prototype.format_unchanged=function(){},o.prototype.format_movedestination=function(){},o.prototype.format_node=function(t,e,n){this.formatDeltaChildren(t,e,n)};var a=function(t){return'<pre style="display:inline-block">"'+t+""</pre>"},s={added:function(t,e,n,r){var i=" <pre>([newValue])</pre>";return"undefined"==typeof r?"new value"+i:"number"==typeof r?"insert at index "+r+i:"add property "+a(r)+i},modified:function(t,e,n,r){var i=" <pre>([previousValue, newValue])</pre>";return"undefined"==typeof r?"modify value"+i:"number"==typeof r?"modify at index "+r+i:"modify property "+a(r)+i},deleted:function(t,e,n,r){var i=" <pre>([previousValue, 0, 0])</pre>";return"undefined"==typeof r?"delete value"+i:"number"==typeof r?"remove index "+r+i:"delete property "+a(r)+i},moved:function(t,e,n,r){return'move from <span title="(position to remove at original state)">index '+r+'</span> to <span title="(position to insert at final state)">index '+t[1]+"</span>"},textdiff:function(t,e,n,r){var i="undefined"==typeof r?"":"number"==typeof r?" at index "+r:" at property "+a(r);return"text diff"+i+', format is <a href="https://code.google.com/p/google-diff-match-patch/wiki/Unidiff">a variation of Unidiff</a>'}},u=function(t,e){var n=this.getDeltaType(e),r=s[n],i=r&&r.apply(r,Array.prototype.slice.call(arguments,1)),o=JSON.stringify(e,null,2);"textdiff"===n&&(o=o.split("\\n").join('\\n"+\n "')),t.indent(),t.row(o,i),t.indent(-1)};o.prototype.format_added=u,o.prototype.format_modified=u,o.prototype.format_deleted=u,o.prototype.format_moved=u,o.prototype.format_textdiff=u,e.AnnotatedFormatter=o;var l;e.format=function(t,e){return l||(l=new o),l.format(t,e)}},function(t,e,n){"use strict";function r(t){for(var e=t,n=[[/&/g,"&"],[/</g,"<"],[/>/g,">"],[/'/g,"'"],[/"/g,"""]],r=0;r<n.length;r++)e=e.replace(n[r][0],n[r][1]);return e}var i=n(1),o=i.BaseFormatter,a=function(){};a.prototype=new o,a.prototype.typeFormattterErrorFormatter=function(t,e){t.out('<pre class="jsondiffpatch-error">'+e+"</pre>")},a.prototype.formatValue=function(t,e){t.out("<pre>"+r(JSON.stringify(e,null,2))+"</pre>")},a.prototype.formatTextDiffString=function(t,e){var n=this.parseTextDiff(e);t.out('<ul class="jsondiffpatch-textdiff">');for(var i=0,o=n.length;i<o;i++){var a=n[i];t.out('<li><div class="jsondiffpatch-textdiff-location"><span class="jsondiffpatch-textdiff-line-number">'+a.location.line+'</span><span class="jsondiffpatch-textdiff-char">'+a.location.chr+'</span></div><div class="jsondiffpatch-textdiff-line">');for(var s=a.pieces,u=0,l=s.length;u<l;u++){var c=s[u];t.out('<span class="jsondiffpatch-textdiff-'+c.type+'">'+r(unescape(c.text))+"</span>")}t.out("</div></li>")}t.out("</ul>")};var s=function(t){t=t||document;var e=function(t){return t.textContent||t.innerText},n=function(t,e,n){for(var r=t.querySelectorAll(e),i=0,o=r.length;i<o;i++)n(r[i])},r=function(t,e){for(var n=0,r=t.children.length;n<r;n++)e(t.children[n],n)};n(t,".jsondiffpatch-arrow",function(t){var n=t.parentNode,i=t.children[0],o=i.children[1];i.style.display="none";var a,s=e(n.querySelector(".jsondiffpatch-moved-destination")),u=n.parentNode;if(r(u,function(t){t.getAttribute("data-key")===s&&(a=t)}),a)try{var l=a.offsetTop-n.offsetTop;i.setAttribute("height",Math.abs(l)+6),t.style.top=-8+(l>0?0:l)+"px";var c=l>0?"M30,0 Q-10,"+Math.round(l/2)+" 26,"+(l-4):"M30,"+-l+" Q-10,"+Math.round(-l/2)+" 26,4";o.setAttribute("d",c),i.style.display=""}catch(f){return}})};a.prototype.rootBegin=function(t,e,n){var r="jsondiffpatch-"+e+(n?" jsondiffpatch-child-node-type-"+n:"");t.out('<div class="jsondiffpatch-delta '+r+'">')},a.prototype.rootEnd=function(t){t.out("</div>"+(t.hasArrows?'<script type="text/javascript">setTimeout('+s.toString()+",10);</script>":""))},a.prototype.nodeBegin=function(t,e,n,r,i){var o="jsondiffpatch-"+r+(i?" jsondiffpatch-child-node-type-"+i:"");t.out('<li class="'+o+'" data-key="'+n+'"><div class="jsondiffpatch-property-name">'+n+"</div>")},a.prototype.nodeEnd=function(t){t.out("</li>")},a.prototype.format_unchanged=function(t,e,n){"undefined"!=typeof n&&(t.out('<div class="jsondiffpatch-value">'),this.formatValue(t,n),t.out("</div>"))},a.prototype.format_movedestination=function(t,e,n){"undefined"!=typeof n&&(t.out('<div class="jsondiffpatch-value">'),this.formatValue(t,n),t.out("</div>"))},a.prototype.format_node=function(t,e,n){var r="a"===e._t?"array":"object";t.out('<ul class="jsondiffpatch-node jsondiffpatch-node-type-'+r+'">'),this.formatDeltaChildren(t,e,n),t.out("</ul>")},a.prototype.format_added=function(t,e){t.out('<div class="jsondiffpatch-value">'),this.formatValue(t,e[0]),t.out("</div>")},a.prototype.format_modified=function(t,e){t.out('<div class="jsondiffpatch-value jsondiffpatch-left-value">'),this.formatValue(t,e[0]),t.out('</div><div class="jsondiffpatch-value jsondiffpatch-right-value">'),this.formatValue(t,e[1]),t.out("</div>")},a.prototype.format_deleted=function(t,e){t.out('<div class="jsondiffpatch-value">'),this.formatValue(t,e[0]),t.out("</div>")},a.prototype.format_moved=function(t,e){t.out('<div class="jsondiffpatch-value">'),this.formatValue(t,e[0]),t.out('</div><div class="jsondiffpatch-moved-destination">'+e[1]+"</div>"),t.out('<div class="jsondiffpatch-arrow" style="position: relative; left: -34px;">\t <svg width="30" height="60" style="position: absolute; display: none;">\t <defs>\t <marker id="markerArrow" markerWidth="8" markerHeight="8" refx="2" refy="4"\t orient="auto" markerUnits="userSpaceOnUse">\t <path d="M1,1 L1,7 L7,4 L1,1" style="fill: #339;" />\t </marker>\t </defs>\t <path d="M30,0 Q-10,25 26,50" style="stroke: #88f; stroke-width: 2px; fill: none;\t stroke-opacity: 0.5; marker-end: url(#markerArrow);"></path>\t </svg>\t </div>'),t.hasArrows=!0},a.prototype.format_textdiff=function(t,e){t.out('<div class="jsondiffpatch-value">'),this.formatTextDiffString(t,e[0]),t.out("</div>")};var u=function(t,e,n){var r=e||document.body,i="jsondiffpatch-unchanged-",o={showing:i+"showing",hiding:i+"hiding",visible:i+"visible",hidden:i+"hidden"},a=r.classList;if(a){if(!n)return a.remove(o.showing),a.remove(o.hiding),a.remove(o.visible),a.remove(o.hidden),void(t===!1&&a.add(o.hidden));t===!1?(a.remove(o.showing),a.add(o.visible),setTimeout(function(){a.add(o.hiding)},10)):(a.remove(o.hiding),a.add(o.showing),a.remove(o.hidden));var u=setInterval(function(){s(r)},100);setTimeout(function(){a.remove(o.showing),a.remove(o.hiding),t===!1?(a.add(o.hidden),a.remove(o.visible)):(a.add(o.visible),a.remove(o.hidden)),setTimeout(function(){a.remove(o.visible),clearInterval(u)},n+400)},n)}},l=function(t,e){return u(!1,t,e)};e.HtmlFormatter=a,e.showUnchanged=u,e.hideUnchanged=l;var c;e.format=function(t,e){return c||(c=new a),c.format(t,e)}},function(t,e,n){"use strict";var r=n(7);if(e.base=n(1),e.html=n(9),e.annotated=n(8),e.jsonpatch=n(11),!r.isBrowser){var i="./console";e.console=n(136)(i)}},function(t,e,n){"use strict";!function(){function t(){this.includeMoveDestinations=!1}function r(t){return t[t.length-1]}function i(t,e){return t.sort(e),t}function o(t){return i(t,function(t,e){var n=t.path.split("/"),i=e.path.split("/");return n.length!==i.length?n.length-i.length:h(r(n),r(i))})}function a(t,e){var n=[],r=[];return t.forEach(function(t){var i=e(t)?n:r;i.push(t)}),[n,r]}function s(t){var e=a(t,function(t){return"remove"===t.op}),n=e[0],r=e[1],i=o(n);return i.concat(r)}var u=n(1),l=u.BaseFormatter,c={added:"add",deleted:"remove",modified:"replace",moved:"moved",movedestination:"movedestination",unchanged:"unchanged",error:"error",textDiffLine:"textDiffLine"};t.prototype=new l,t.prototype.prepareContext=function(t){l.prototype.prepareContext.call(this,t),t.result=[],t.path=[],t.pushCurrentOp=function(t,e){var n={op:t,path:this.currentPath()};"undefined"!=typeof e&&(n.value=e),this.result.push(n)},t.currentPath=function(){return"/"+this.path.join("/")}},t.prototype.typeFormattterErrorFormatter=function(t,e){t.out("[ERROR]"+e)},t.prototype.rootBegin=function(){},t.prototype.rootEnd=function(){},t.prototype.nodeBegin=function(t,e,n){t.path.push(n)},t.prototype.nodeEnd=function(t){t.path.pop()},t.prototype.format_unchanged=function(t,e,n){"undefined"!=typeof n&&t.pushCurrentOp(c.unchanged,n)},t.prototype.format_movedestination=function(t,e,n){"undefined"!=typeof n&&t.pushCurrentOp(c.movedestination,n)},t.prototype.format_node=function(t,e,n){this.formatDeltaChildren(t,e,n)},t.prototype.format_added=function(t,e){t.pushCurrentOp(c.added,e[0])},t.prototype.format_modified=function(t,e){t.pushCurrentOp(c.modified,e[1])},t.prototype.format_deleted=function(t){t.pushCurrentOp(c.deleted)},t.prototype.format_moved=function(t,e){t.pushCurrentOp(c.moved,e[1])},t.prototype.format_textdiff=function(){throw"not implimented"},t.prototype.format=function(t,e){var n={};return this.prepareContext(n),this.recurse(n,t,e),n.result},e.JSONFormatter=t;var f,h=function(t,e){var n=parseInt(t,10),r=parseInt(e,10);return isNaN(n)||isNaN(r)?0:r-n},d=function(e,n){return f||(f=new t),s(f.format(e,n))};e.log=function(t,e){console.log(d(t,e))},e.format=d}()},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0}),e.eventEmitter=e.generateId=void 0;var i=n(117),o=r(i),a=(0,o["default"])({}),s=function(){var t=0,e="item_";return function(n){return n="string"==typeof n?n:e,t+=1,n+t}}();e.generateId=s,e.eventEmitter=a},function(t,e,n){"use strict";t.exports=!n(19)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){"use strict";t.exports=function(t,e){var n;return"string"==typeof e&&(n=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d*))?(Z|([+\-])(\d{2}):(\d{2}))$/.exec(e))?new Date(Date.UTC(+n[1],+n[2]-1,+n[3],+n[4],+n[5],+n[6],+(n[7]||0))):e}},function(t,e,n){"use strict";var r=n(63),i=n(1),o=i.BaseFormatter,a={added:r.green,deleted:r.red,movedestination:r.gray,moved:r.yellow,unchanged:r.gray,error:r.white.bgRed,textDiffLine:r.gray},s=function(){this.includeMoveDestinations=!1};s.prototype=new o,s.prototype.prepareContext=function(t){o.prototype.prepareContext.call(this,t),t.indent=function(t){this.indentLevel=(this.indentLevel||0)+("undefined"==typeof t?1:t),this.indentPad=new Array(this.indentLevel+1).join(" "),this.outLine()},t.outLine=function(){this.buffer.push("\n"+(this.indentPad||""))},t.out=function(){for(var t=0,e=arguments.length;t<e;t++){var n=arguments[t].split("\n"),r=n.join("\n"+(this.indentPad||""));this.color&&this.color[0]&&(r=this.color[0](r)),this.buffer.push(r)}},t.pushColor=function(t){this.color=this.color||[],this.color.unshift(t)},t.popColor=function(){this.color=this.color||[],this.color.shift()}},s.prototype.typeFormattterErrorFormatter=function(t,e){t.pushColor(a.error),t.out("[ERROR]"+e),t.popColor()},s.prototype.formatValue=function(t,e){t.out(JSON.stringify(e,null,2))},s.prototype.formatTextDiffString=function(t,e){var n=this.parseTextDiff(e);t.indent();for(var r=0,i=n.length;r<i;r++){var o=n[r];t.pushColor(a.textDiffLine),t.out(o.location.line+","+o.location.chr+" "),t.popColor();for(var s=o.pieces,u=0,l=s.length;u<l;u++){var c=s[u];t.pushColor(a[c.type]),t.out(c.text),t.popColor()}r<i-1&&t.outLine()}t.indent(-1)},s.prototype.rootBegin=function(t,e,n){t.pushColor(a[e]),"node"===e&&(t.out("array"===n?"[":"{"),t.indent())},s.prototype.rootEnd=function(t,e,n){"node"===e&&(t.indent(-1),t.out("array"===n?"]":"}")),t.popColor()},s.prototype.nodeBegin=function(t,e,n,r,i){t.pushColor(a[r]),t.out(n+": "),"node"===r&&(t.out("array"===i?"[":"{"),t.indent())},s.prototype.nodeEnd=function(t,e,n,r,i,o){"node"===r&&(t.indent(-1),t.out("array"===i?"]":"}"+(o?"":","))),o||t.outLine(),t.popColor()},s.prototype.format_unchanged=function(t,e,n){"undefined"!=typeof n&&this.formatValue(t,n)},s.prototype.format_movedestination=function(t,e,n){"undefined"!=typeof n&&this.formatValue(t,n)},s.prototype.format_node=function(t,e,n){this.formatDeltaChildren(t,e,n)},s.prototype.format_added=function(t,e){this.formatValue(t,e[0])},s.prototype.format_modified=function(t,e){t.pushColor(a.deleted),this.formatValue(t,e[0]),t.popColor(),t.out(" => "),t.pushColor(a.added),this.formatValue(t,e[1]),t.popColor()},s.prototype.format_deleted=function(t,e){this.formatValue(t,e[0])},s.prototype.format_moved=function(t,e){t.out("==> "+e[1])},s.prototype.format_textdiff=function(t,e){this.formatTextDiffString(t,e[0])},e.ConsoleFormatter=s;var u,l=function(t,e){return u||(u=new s),u.format(t,e)};e.log=function(t,e){console.log(l(t,e))},e.format=l},function(t,e,n){"use strict";var r=n(7),i=n(24).DiffPatcher;e.DiffPatcher=i,e.create=function(t){return new i(t)},e.dateReviver=n(14);var o;if(e.diff=function(){return o||(o=new i),o.diff.apply(o,arguments)},e.patch=function(){return o||(o=new i),o.patch.apply(o,arguments)},e.unpatch=function(){return o||(o=new i),o.unpatch.apply(o,arguments)},e.reverse=function(){return o||(o=new i),o.reverse.apply(o,arguments)},r.isBrowser)e.homepage="{{package-homepage}}",e.version="{{package-version}}";else{var a="../package.json",s=n(48)(a);e.homepage=s.homepage,e.version=s.version;var u="./formatters",l=n(48)(u);e.formatters=l,e.console=l.console}},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},r=function(t){this.name=t,this.filters=[]};r.prototype.process=function(t){if(!this.processor)throw new Error("add this pipe to a processor before using it");for(var e=this.debug,r=this.filters.length,i=t,o=0;o<r;o++){var a=this.filters[o];if(e&&this.log("filter: "+a.filterName),a(i),"object"===("undefined"==typeof i?"undefined":n(i))&&i.exiting){i.exiting=!1;break}}!i.next&&this.resultCheck&&this.resultCheck(i)},r.prototype.log=function(t){console.log("[jsondiffpatch] "+this.name+" pipe, "+t)},r.prototype.append=function(){return this.filters.push.apply(this.filters,arguments),this},r.prototype.prepend=function(){return this.filters.unshift.apply(this.filters,arguments),this},r.prototype.indexOf=function(t){if(!t)throw new Error("a filter name is required");for(var e=0;e<this.filters.length;e++){var n=this.filters[e];if(n.filterName===t)return e}throw new Error("filter not found: "+t)},r.prototype.list=function(){for(var t=[],e=0;e<this.filters.length;e++){var n=this.filters[e];t.push(n.filterName)}return t},r.prototype.after=function(t){var e=this.indexOf(t),n=Array.prototype.slice.call(arguments,1);if(!n.length)throw new Error("a filter is required");return n.unshift(e+1,0),Array.prototype.splice.apply(this.filters,n),this},r.prototype.before=function(t){var e=this.indexOf(t),n=Array.prototype.slice.call(arguments,1);if(!n.length)throw new Error("a filter is required");return n.unshift(e,0),Array.prototype.splice.apply(this.filters,n),this},r.prototype.clear=function(){return this.filters.length=0,this},r.prototype.shouldHaveResult=function(t){if(t===!1)return void(this.resultCheck=null);if(!this.resultCheck){var e=this;return this.resultCheck=function(t){if(!t.hasResult){console.log(t);var n=new Error(e.name+" failed");throw n.noResult=!0,n}},this}},e.Pipe=r},function(t,e){"use strict";var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(t,e){"use strict";t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e){"use strict";var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};t.exports=function(t){return"object"===("undefined"==typeof t?"undefined":n(t))?null!==t:"function"==typeof t}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e,n){return l.diff(t,e,n)}function o(t,e,n){var r=(0,u.generateOptions)(n,{ignoreWhitespace:!0});return l.diff(t,e,r)}e.__esModule=!0,e.lineDiff=void 0,e.diffLines=i,e.diffTrimmedLines=o;var a=n(2),s=r(a),u=n(42),l=e.lineDiff=new s["default"];l.tokenize=function(t){var e=[],n=t.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var i=n[r];r%2&&!this.options.newlineIsToken?e[e.length-1]+=i:(this.options.ignoreWhitespace&&(i=i.trim()),e.push(i))}return e}},function(t,e){"use strict";function n(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32}var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},i=-1,o=1,a=0;n.Diff,n.prototype.diff_main=function(t,e,n,r){"undefined"==typeof r&&(r=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var i=r;if(null==t||null==e)throw new Error("Null input. (diff_main)");if(t==e)return t?[[a,t]]:[];"undefined"==typeof n&&(n=!0);var o=n,s=this.diff_commonPrefix(t,e),u=t.substring(0,s);t=t.substring(s),e=e.substring(s),s=this.diff_commonSuffix(t,e);var l=t.substring(t.length-s);t=t.substring(0,t.length-s),e=e.substring(0,e.length-s);var c=this.diff_compute_(t,e,o,i);return u&&c.unshift([a,u]),l&&c.push([a,l]),this.diff_cleanupMerge(c),c},n.prototype.diff_compute_=function(t,e,n,r){var s;if(!t)return[[o,e]];if(!e)return[[i,t]];var u=t.length>e.length?t:e,l=t.length>e.length?e:t,c=u.indexOf(l);if(c!=-1)return s=[[o,u.substring(0,c)],[a,l],[o,u.substring(c+l.length)]],t.length>e.length&&(s[0][0]=s[2][0]=i),s;if(1==l.length)return[[i,t],[o,e]];u=l=null;var f=this.diff_halfMatch_(t,e);if(f){var h=f[0],d=f[1],p=f[2],v=f[3],g=f[4],m=this.diff_main(h,p,n,r),y=this.diff_main(d,v,n,r);return m.concat([[a,g]],y)}return n&&t.length>100&&e.length>100?this.diff_lineMode_(t,e,r):this.diff_bisect_(t,e,r)},n.prototype.diff_lineMode_=function(t,e,n){var r=this.diff_linesToChars_(t,e);t=r[0],e=r[1];var s=r[2],u=this.diff_bisect_(t,e,n);this.diff_charsToLines_(u,s),this.diff_cleanupSemantic(u),u.push([a,""]);for(var l=0,c=0,f=0,h="",d="";l<u.length;){switch(u[l][0]){case o:f++,d+=u[l][1];break;case i:c++,h+=u[l][1];break;case a:if(c>=1&&f>=1){var r=this.diff_main(h,d,!1,n);u.splice(l-c-f,c+f),l=l-c-f;for(var p=r.length-1;p>=0;p--)u.splice(l,0,r[p]);l+=r.length}f=0,c=0,h="",d=""}l++}return u.pop(),u},n.prototype.diff_bisect_=function(t,e,n){for(var r=t.length,a=e.length,s=Math.ceil((r+a)/2),u=s,l=2*s,c=new Array(l),f=new Array(l),h=0;h<l;h++)c[h]=-1,f[h]=-1;c[u+1]=0,f[u+1]=0;for(var d=r-a,p=d%2!=0,v=0,g=0,m=0,y=0,b=0;b<s&&!((new Date).getTime()>n);b++){for(var x=-b+v;x<=b-g;x+=2){var _,w=u+x;_=x==-b||x!=b&&c[w-1]<c[w+1]?c[w+1]:c[w-1]+1;for(var C=_-x;_<r&&C<a&&t.charAt(_)==e.charAt(C);)_++,C++;if(c[w]=_,_>r)g+=2;else if(C>a)v+=2;else if(p){var k=u+d-x;if(k>=0&&k<l&&f[k]!=-1){var T=r-f[k];if(_>=T)return this.diff_bisectSplit_(t,e,_,C,n)}}}for(var S=-b+m;S<=b-y;S+=2){var T,k=u+S;T=S==-b||S!=b&&f[k-1]<f[k+1]?f[k+1]:f[k-1]+1;for(var A=T-S;T<r&&A<a&&t.charAt(r-T-1)==e.charAt(a-A-1);)T++,A++;if(f[k]=T,T>r)y+=2;else if(A>a)m+=2;else if(!p){var w=u+d-S;if(w>=0&&w<l&&c[w]!=-1){var _=c[w],C=u+_-w;if(T=r-T,_>=T)return this.diff_bisectSplit_(t,e,_,C,n)}}}}return[[i,t],[o,e]]},n.prototype.diff_bisectSplit_=function(t,e,n,r,i){var o=t.substring(0,n),a=e.substring(0,r),s=t.substring(n),u=e.substring(r),l=this.diff_main(o,a,!1,i),c=this.diff_main(s,u,!1,i);return l.concat(c)},n.prototype.diff_linesToChars_=function(t,e){function n(t){for(var e="",n=0,o=-1,a=r.length;o<t.length-1;){o=t.indexOf("\n",n),o==-1&&(o=t.length-1);var s=t.substring(n,o+1);n=o+1,(i.hasOwnProperty?i.hasOwnProperty(s):void 0!==i[s])?e+=String.fromCharCode(i[s]):(e+=String.fromCharCode(a),i[s]=a,r[a++]=s)}return e}var r=[],i={};r[0]="";var o=n(t),a=n(e);return[o,a,r]},n.prototype.diff_charsToLines_=function(t,e){for(var n=0;n<t.length;n++){for(var r=t[n][1],i=[],o=0;o<r.length;o++)i[o]=e[r.charCodeAt(o)];t[n][1]=i.join("")}},n.prototype.diff_commonPrefix=function(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,o=0;n<i;)t.substring(o,i)==e.substring(o,i)?(n=i,o=n):r=i,i=Math.floor((r-n)/2+n);return i},n.prototype.diff_commonSuffix=function(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,o=0;n<i;)t.substring(t.length-i,t.length-o)==e.substring(e.length-i,e.length-o)?(n=i,o=n):r=i,i=Math.floor((r-n)/2+n);return i},n.prototype.diff_commonOverlap_=function(t,e){var n=t.length,r=e.length;if(0==n||0==r)return 0;n>r?t=t.substring(n-r):n<r&&(e=e.substring(0,n));var i=Math.min(n,r);if(t==e)return i;for(var o=0,a=1;;){var s=t.substring(i-a),u=e.indexOf(s);if(u==-1)return o;a+=u,0!=u&&t.substring(i-a)!=e.substring(0,a)||(o=a,a++)}},n.prototype.diff_halfMatch_=function(t,e){function n(t,e,n){for(var r,i,o,s,u=t.substring(n,n+Math.floor(t.length/4)),l=-1,c="";(l=e.indexOf(u,l+1))!=-1;){var f=a.diff_commonPrefix(t.substring(n),e.substring(l)),h=a.diff_commonSuffix(t.substring(0,n),e.substring(0,l));c.length<h+f&&(c=e.substring(l-h,l)+e.substring(l,l+f),r=t.substring(0,n-h),i=t.substring(n+f),o=e.substring(0,l-h),s=e.substring(l+f))}return 2*c.length>=t.length?[r,i,o,s,c]:null}if(this.Diff_Timeout<=0)return null;var r=t.length>e.length?t:e,i=t.length>e.length?e:t;if(r.length<4||2*i.length<r.length)return null;var o,a=this,s=n(r,i,Math.ceil(r.length/4)),u=n(r,i,Math.ceil(r.length/2));if(!s&&!u)return null;o=u?s&&s[4].length>u[4].length?s:u:s;var l,c,f,h;t.length>e.length?(l=o[0],c=o[1],f=o[2],h=o[3]):(f=o[0],h=o[1],l=o[2],c=o[3]);var d=o[4];return[l,c,f,h,d]},n.prototype.diff_cleanupSemantic=function(t){for(var e=!1,n=[],r=0,s=null,u=0,l=0,c=0,f=0,h=0;u<t.length;)t[u][0]==a?(n[r++]=u,l=f,c=h,f=0,h=0,s=t[u][1]):(t[u][0]==o?f+=t[u][1].length:h+=t[u][1].length,null!==s&&s.length<=Math.max(l,c)&&s.length<=Math.max(f,h)&&(t.splice(n[r-1],0,[i,s]),t[n[r-1]+1][0]=o,
-r--,r--,u=r>0?n[r-1]:-1,l=0,c=0,f=0,h=0,s=null,e=!0)),u++;for(e&&this.diff_cleanupMerge(t),this.diff_cleanupSemanticLossless(t),u=1;u<t.length;){if(t[u-1][0]==i&&t[u][0]==o){var d=t[u-1][1],p=t[u][1],v=this.diff_commonOverlap_(d,p);(v>=d.length/2||v>=p.length/2)&&(t.splice(u,0,[a,p.substring(0,v)]),t[u-1][1]=d.substring(0,d.length-v),t[u+1][1]=p.substring(v),u++),u++}u++}},n.prototype.diff_cleanupSemanticLossless=function(t){function e(t,e){if(!t||!e)return 5;var a=0;return(t.charAt(t.length-1).match(n)||e.charAt(0).match(n))&&(a++,(t.charAt(t.length-1).match(r)||e.charAt(0).match(r))&&(a++,(t.charAt(t.length-1).match(i)||e.charAt(0).match(i))&&(a++,(t.match(o)||e.match(s))&&a++))),a}for(var n=/[^a-zA-Z0-9]/,r=/\s/,i=/[\r\n]/,o=/\n\r?\n$/,s=/^\r?\n\r?\n/,u=1;u<t.length-1;){if(t[u-1][0]==a&&t[u+1][0]==a){var l=t[u-1][1],c=t[u][1],f=t[u+1][1],h=this.diff_commonSuffix(l,c);if(h){var d=c.substring(c.length-h);l=l.substring(0,l.length-h),c=d+c.substring(0,c.length-h),f=d+f}for(var p=l,v=c,g=f,m=e(l,c)+e(c,f);c.charAt(0)===f.charAt(0);){l+=c.charAt(0),c=c.substring(1)+f.charAt(0),f=f.substring(1);var y=e(l,c)+e(c,f);y>=m&&(m=y,p=l,v=c,g=f)}t[u-1][1]!=p&&(p?t[u-1][1]=p:(t.splice(u-1,1),u--),t[u][1]=v,g?t[u+1][1]=g:(t.splice(u+1,1),u--))}u++}},n.prototype.diff_cleanupEfficiency=function(t){for(var e=!1,n=[],r=0,s="",u=0,l=!1,c=!1,f=!1,h=!1;u<t.length;)t[u][0]==a?(t[u][1].length<this.Diff_EditCost&&(f||h)?(n[r++]=u,l=f,c=h,s=t[u][1]):(r=0,s=""),f=h=!1):(t[u][0]==i?h=!0:f=!0,s&&(l&&c&&f&&h||s.length<this.Diff_EditCost/2&&l+c+f+h==3)&&(t.splice(n[r-1],0,[i,s]),t[n[r-1]+1][0]=o,r--,s="",l&&c?(f=h=!0,r=0):(r--,u=r>0?n[r-1]:-1,f=h=!1),e=!0)),u++;e&&this.diff_cleanupMerge(t)},n.prototype.diff_cleanupMerge=function(t){t.push([a,""]);for(var e,n=0,r=0,s=0,u="",l="";n<t.length;)switch(t[n][0]){case o:s++,l+=t[n][1],n++;break;case i:r++,u+=t[n][1],n++;break;case a:r+s>1?(0!==r&&0!==s&&(e=this.diff_commonPrefix(l,u),0!==e&&(n-r-s>0&&t[n-r-s-1][0]==a?t[n-r-s-1][1]+=l.substring(0,e):(t.splice(0,0,[a,l.substring(0,e)]),n++),l=l.substring(e),u=u.substring(e)),e=this.diff_commonSuffix(l,u),0!==e&&(t[n][1]=l.substring(l.length-e)+t[n][1],l=l.substring(0,l.length-e),u=u.substring(0,u.length-e))),0===r?t.splice(n-r-s,r+s,[o,l]):0===s?t.splice(n-r-s,r+s,[i,u]):t.splice(n-r-s,r+s,[i,u],[o,l]),n=n-r-s+(r?1:0)+(s?1:0)+1):0!==n&&t[n-1][0]==a?(t[n-1][1]+=t[n][1],t.splice(n,1)):n++,s=0,r=0,u="",l=""}""===t[t.length-1][1]&&t.pop();var c=!1;for(n=1;n<t.length-1;)t[n-1][0]==a&&t[n+1][0]==a&&(t[n][1].substring(t[n][1].length-t[n-1][1].length)==t[n-1][1]?(t[n][1]=t[n-1][1]+t[n][1].substring(0,t[n][1].length-t[n-1][1].length),t[n+1][1]=t[n-1][1]+t[n+1][1],t.splice(n-1,1),c=!0):t[n][1].substring(0,t[n+1][1].length)==t[n+1][1]&&(t[n-1][1]+=t[n+1][1],t[n][1]=t[n][1].substring(t[n+1][1].length)+t[n+1][1],t.splice(n+1,1),c=!0)),n++;c&&this.diff_cleanupMerge(t)},n.prototype.diff_xIndex=function(t,e){var n,r=0,a=0,s=0,u=0;for(n=0;n<t.length&&(t[n][0]!==o&&(r+=t[n][1].length),t[n][0]!==i&&(a+=t[n][1].length),!(r>e));n++)s=r,u=a;return t.length!=n&&t[n][0]===i?u:u+(e-s)},n.prototype.diff_prettyHtml=function(t){for(var e=[],n=0,r=/&/g,s=/</g,u=/>/g,l=/\n/g,c=0;c<t.length;c++){var f=t[c][0],h=t[c][1],d=h.replace(r,"&").replace(s,"<").replace(u,">").replace(l,"¶<br>");switch(f){case o:e[c]='<ins style="background:#e6ffe6;">'+d+"</ins>";break;case i:e[c]='<del style="background:#ffe6e6;">'+d+"</del>";break;case a:e[c]="<span>"+d+"</span>"}f!==i&&(n+=h.length)}return e.join("")},n.prototype.diff_text1=function(t){for(var e=[],n=0;n<t.length;n++)t[n][0]!==o&&(e[n]=t[n][1]);return e.join("")},n.prototype.diff_text2=function(t){for(var e=[],n=0;n<t.length;n++)t[n][0]!==i&&(e[n]=t[n][1]);return e.join("")},n.prototype.diff_levenshtein=function(t){for(var e=0,n=0,r=0,s=0;s<t.length;s++){var u=t[s][0],l=t[s][1];switch(u){case o:n+=l.length;break;case i:r+=l.length;break;case a:e+=Math.max(n,r),n=0,r=0}}return e+=Math.max(n,r)},n.prototype.diff_toDelta=function(t){for(var e=[],n=0;n<t.length;n++)switch(t[n][0]){case o:e[n]="+"+encodeURI(t[n][1]);break;case i:e[n]="-"+t[n][1].length;break;case a:e[n]="="+t[n][1].length}return e.join("\t").replace(/%20/g," ")},n.prototype.diff_fromDelta=function(t,e){for(var n=[],r=0,s=0,u=e.split(/\t/g),l=0;l<u.length;l++){var c=u[l].substring(1);switch(u[l].charAt(0)){case"+":try{n[r++]=[o,decodeURI(c)]}catch(f){throw new Error("Illegal escape in diff_fromDelta: "+c)}break;case"-":case"=":var h=parseInt(c,10);if(isNaN(h)||h<0)throw new Error("Invalid number in diff_fromDelta: "+c);var d=t.substring(s,s+=h);"="==u[l].charAt(0)?n[r++]=[a,d]:n[r++]=[i,d];break;default:if(u[l])throw new Error("Invalid diff operation in diff_fromDelta: "+u[l])}}if(s!=t.length)throw new Error("Delta length ("+s+") does not equal source text length ("+t.length+").");return n},n.prototype.match_main=function(t,e,n){if(null==t||null==e||null==n)throw new Error("Null input. (match_main)");return n=Math.max(0,Math.min(n,t.length)),t==e?0:t.length?t.substring(n,n+e.length)==e?n:this.match_bitap_(t,e,n):-1},n.prototype.match_bitap_=function(t,e,n){function r(t,r){var i=t/e.length,a=Math.abs(n-r);return o.Match_Distance?i+a/o.Match_Distance:a?1:i}if(e.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var i=this.match_alphabet_(e),o=this,a=this.Match_Threshold,s=t.indexOf(e,n);s!=-1&&(a=Math.min(r(0,s),a),s=t.lastIndexOf(e,n+e.length),s!=-1&&(a=Math.min(r(0,s),a)));var u=1<<e.length-1;s=-1;for(var l,c,f,h=e.length+t.length,d=0;d<e.length;d++){for(l=0,c=h;l<c;)r(d,n+c)<=a?l=c:h=c,c=Math.floor((h-l)/2+l);h=c;var p=Math.max(1,n-c+1),v=Math.min(n+c,t.length)+e.length,g=Array(v+2);g[v+1]=(1<<d)-1;for(var m=v;m>=p;m--){var y=i[t.charAt(m-1)];if(0===d?g[m]=(g[m+1]<<1|1)&y:g[m]=(g[m+1]<<1|1)&y|((f[m+1]|f[m])<<1|1)|f[m+1],g[m]&u){var b=r(d,m-1);if(b<=a){if(a=b,s=m-1,!(s>n))break;p=Math.max(1,2*n-s)}}}if(r(d+1,n)>a)break;f=g}return s},n.prototype.match_alphabet_=function(t){for(var e={},n=0;n<t.length;n++)e[t.charAt(n)]=0;for(var n=0;n<t.length;n++)e[t.charAt(n)]|=1<<t.length-n-1;return e},n.prototype.patch_addContext_=function(t,e){if(0!=e.length){for(var n=e.substring(t.start2,t.start2+t.length1),r=0;e.indexOf(n)!=e.lastIndexOf(n)&&n.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)r+=this.Patch_Margin,n=e.substring(t.start2-r,t.start2+t.length1+r);r+=this.Patch_Margin;var i=e.substring(t.start2-r,t.start2);i&&t.diffs.unshift([a,i]);var o=e.substring(t.start2+t.length1,t.start2+t.length1+r);o&&t.diffs.push([a,o]),t.start1-=i.length,t.start2-=i.length,t.length1+=i.length+o.length,t.length2+=i.length+o.length}},n.prototype.patch_make=function(t,e,s){var u,l;if("string"==typeof t&&"string"==typeof e&&"undefined"==typeof s)u=t,l=this.diff_main(u,e,!0),l.length>2&&(this.diff_cleanupSemantic(l),this.diff_cleanupEfficiency(l));else if(t&&"object"==("undefined"==typeof t?"undefined":r(t))&&"undefined"==typeof e&&"undefined"==typeof s)l=t,u=this.diff_text1(l);else if("string"==typeof t&&e&&"object"==("undefined"==typeof e?"undefined":r(e))&&"undefined"==typeof s)u=t,l=e;else{if("string"!=typeof t||"string"!=typeof e||!s||"object"!=("undefined"==typeof s?"undefined":r(s)))throw new Error("Unknown call format to patch_make.");u=t,l=s}if(0===l.length)return[];for(var c=[],f=new n.patch_obj,h=0,d=0,p=0,v=u,g=u,m=0;m<l.length;m++){var y=l[m][0],b=l[m][1];switch(h||y===a||(f.start1=d,f.start2=p),y){case o:f.diffs[h++]=l[m],f.length2+=b.length,g=g.substring(0,p)+b+g.substring(p);break;case i:f.length1+=b.length,f.diffs[h++]=l[m],g=g.substring(0,p)+g.substring(p+b.length);break;case a:b.length<=2*this.Patch_Margin&&h&&l.length!=m+1?(f.diffs[h++]=l[m],f.length1+=b.length,f.length2+=b.length):b.length>=2*this.Patch_Margin&&h&&(this.patch_addContext_(f,v),c.push(f),f=new n.patch_obj,h=0,v=g,d=p)}y!==o&&(d+=b.length),y!==i&&(p+=b.length)}return h&&(this.patch_addContext_(f,v),c.push(f)),c},n.prototype.patch_deepCopy=function(t){for(var e=[],r=0;r<t.length;r++){var i=t[r],o=new n.patch_obj;o.diffs=[];for(var a=0;a<i.diffs.length;a++)o.diffs[a]=i.diffs[a].slice();o.start1=i.start1,o.start2=i.start2,o.length1=i.length1,o.length2=i.length2,e[r]=o}return e},n.prototype.patch_apply=function(t,e){if(0==t.length)return[e,[]];t=this.patch_deepCopy(t);var n=this.patch_addPadding(t);e=n+e+n,this.patch_splitMax(t);for(var r=0,s=[],u=0;u<t.length;u++){var l,c=t[u].start2+r,f=this.diff_text1(t[u].diffs),h=-1;if(f.length>this.Match_MaxBits?(l=this.match_main(e,f.substring(0,this.Match_MaxBits),c),l!=-1&&(h=this.match_main(e,f.substring(f.length-this.Match_MaxBits),c+f.length-this.Match_MaxBits),(h==-1||l>=h)&&(l=-1))):l=this.match_main(e,f,c),l==-1)s[u]=!1,r-=t[u].length2-t[u].length1;else{s[u]=!0,r=l-c;var d;if(d=h==-1?e.substring(l,l+f.length):e.substring(l,h+this.Match_MaxBits),f==d)e=e.substring(0,l)+this.diff_text2(t[u].diffs)+e.substring(l+f.length);else{var p=this.diff_main(f,d,!1);if(f.length>this.Match_MaxBits&&this.diff_levenshtein(p)/f.length>this.Patch_DeleteThreshold)s[u]=!1;else{this.diff_cleanupSemanticLossless(p);for(var v,g=0,m=0;m<t[u].diffs.length;m++){var y=t[u].diffs[m];y[0]!==a&&(v=this.diff_xIndex(p,g)),y[0]===o?e=e.substring(0,l+v)+y[1]+e.substring(l+v):y[0]===i&&(e=e.substring(0,l+v)+e.substring(l+this.diff_xIndex(p,g+y[1].length))),y[0]!==i&&(g+=y[1].length)}}}}}return e=e.substring(n.length,e.length-n.length),[e,s]},n.prototype.patch_addPadding=function(t){for(var e=this.Patch_Margin,n="",r=1;r<=e;r++)n+=String.fromCharCode(r);for(var r=0;r<t.length;r++)t[r].start1+=e,t[r].start2+=e;var i=t[0],o=i.diffs;if(0==o.length||o[0][0]!=a)o.unshift([a,n]),i.start1-=e,i.start2-=e,i.length1+=e,i.length2+=e;else if(e>o[0][1].length){var s=e-o[0][1].length;o[0][1]=n.substring(o[0][1].length)+o[0][1],i.start1-=s,i.start2-=s,i.length1+=s,i.length2+=s}if(i=t[t.length-1],o=i.diffs,0==o.length||o[o.length-1][0]!=a)o.push([a,n]),i.length1+=e,i.length2+=e;else if(e>o[o.length-1][1].length){var s=e-o[o.length-1][1].length;o[o.length-1][1]+=n.substring(0,s),i.length1+=s,i.length2+=s}return n},n.prototype.patch_splitMax=function(t){for(var e=this.Match_MaxBits,r=0;r<t.length;r++)if(t[r].length1>e){var s=t[r];t.splice(r--,1);for(var u=s.start1,l=s.start2,c="";0!==s.diffs.length;){var f=new n.patch_obj,h=!0;for(f.start1=u-c.length,f.start2=l-c.length,""!==c&&(f.length1=f.length2=c.length,f.diffs.push([a,c]));0!==s.diffs.length&&f.length1<e-this.Patch_Margin;){var d=s.diffs[0][0],p=s.diffs[0][1];d===o?(f.length2+=p.length,l+=p.length,f.diffs.push(s.diffs.shift()),h=!1):d===i&&1==f.diffs.length&&f.diffs[0][0]==a&&p.length>2*e?(f.length1+=p.length,u+=p.length,h=!1,f.diffs.push([d,p]),s.diffs.shift()):(p=p.substring(0,e-f.length1-this.Patch_Margin),f.length1+=p.length,u+=p.length,d===a?(f.length2+=p.length,l+=p.length):h=!1,f.diffs.push([d,p]),p==s.diffs[0][1]?s.diffs.shift():s.diffs[0][1]=s.diffs[0][1].substring(p.length))}c=this.diff_text2(f.diffs),c=c.substring(c.length-this.Patch_Margin);var v=this.diff_text1(s.diffs).substring(0,this.Patch_Margin);""!==v&&(f.length1+=v.length,f.length2+=v.length,0!==f.diffs.length&&f.diffs[f.diffs.length-1][0]===a?f.diffs[f.diffs.length-1][1]+=v:f.diffs.push([a,v])),h||t.splice(++r,0,f)}}},n.prototype.patch_toText=function(t){for(var e=[],n=0;n<t.length;n++)e[n]=t[n];return e.join("")},n.prototype.patch_fromText=function(t){var e=[];if(!t)return e;for(var r=t.split("\n"),s=0,u=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;s<r.length;){var l=r[s].match(u);if(!l)throw new Error("Invalid patch string: "+r[s]);var c=new n.patch_obj;for(e.push(c),c.start1=parseInt(l[1],10),""===l[2]?(c.start1--,c.length1=1):"0"==l[2]?c.length1=0:(c.start1--,c.length1=parseInt(l[2],10)),c.start2=parseInt(l[3],10),""===l[4]?(c.start2--,c.length2=1):"0"==l[4]?c.length2=0:(c.start2--,c.length2=parseInt(l[4],10)),s++;s<r.length;){var f=r[s].charAt(0);try{var h=decodeURI(r[s].substring(1))}catch(d){throw new Error("Illegal escape in patch_fromText: "+h)}if("-"==f)c.diffs.push([i,h]);else if("+"==f)c.diffs.push([o,h]);else if(" "==f)c.diffs.push([a,h]);else{if("@"==f)break;if(""!==f)throw new Error('Invalid patch mode "'+f+'" in: '+h)}s++}}return e},n.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0},n.patch_obj.prototype.toString=function(){var t,e;t=0===this.length1?this.start1+",0":1==this.length1?this.start1+1:this.start1+1+","+this.length1,e=0===this.length2?this.start2+",0":1==this.length2?this.start2+1:this.start2+1+","+this.length2;for(var n,r=["@@ -"+t+" +"+e+" @@\n"],s=0;s<this.diffs.length;s++){switch(this.diffs[s][0]){case o:n="+";break;case i:n="-";break;case a:n=" "}r[s+1]=n+encodeURI(this.diffs[s][1])+"\n"}return r.join("").replace(/%20/g," ")},(void 0).diff_match_patch=n,(void 0).DIFF_DELETE=i,(void 0).DIFF_INSERT=o,(void 0).DIFF_EQUAL=a},function(t,e,n){"use strict";var r=n(31).Processor,i=n(17).Pipe,o=n(4).DiffContext,a=n(5).PatchContext,s=n(6).ReverseContext,u=n(30),l=n(28),c=n(25),f=n(26),h=n(29),d=function(t){this.processor=new r(t),this.processor.pipe(new i("diff").append(l.collectChildrenDiffFilter,u.diffFilter,f.diffFilter,h.diffFilter,l.objectsDiffFilter,c.diffFilter).shouldHaveResult()),this.processor.pipe(new i("patch").append(l.collectChildrenPatchFilter,c.collectChildrenPatchFilter,u.patchFilter,h.patchFilter,l.patchFilter,c.patchFilter).shouldHaveResult()),this.processor.pipe(new i("reverse").append(l.collectChildrenReverseFilter,c.collectChildrenReverseFilter,u.reverseFilter,h.reverseFilter,l.reverseFilter,c.reverseFilter).shouldHaveResult())};d.prototype.options=function(){return this.processor.options.apply(this.processor,arguments)},d.prototype.diff=function(t,e){return this.processor.process(new o(t,e))},d.prototype.patch=function(t,e){return this.processor.process(new a(t,e))},d.prototype.reverse=function(t){return this.processor.process(new s(t))},d.prototype.unpatch=function(t,e){return this.patch(t,this.reverse(e))},e.DiffPatcher=d},function(t,e,n){"use strict";function r(t,e,n,r){for(var i=0;i<n;i++)for(var o=t[i],a=0;a<r;a++){var s=e[a];if(o===s)return!0}}function i(t,e,n,r,i){var a=t[n],s=e[r];if(a===s)return!0;if("object"!==("undefined"==typeof a?"undefined":o(a))||"object"!==("undefined"==typeof s?"undefined":o(s)))return!1;var u=i.objectHash;if(!u)return i.matchByPosition&&n===r;var l,c;return"number"==typeof n?(i.hashCache1=i.hashCache1||[],l=i.hashCache1[n],"undefined"==typeof l&&(i.hashCache1[n]=l=u(a,n))):l=u(a),"undefined"!=typeof l&&("number"==typeof r?(i.hashCache2=i.hashCache2||[],c=i.hashCache2[r],"undefined"==typeof c&&(i.hashCache2[r]=c=u(s,r))):c=u(s),"undefined"!=typeof c&&l===c)}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},a=n(4).DiffContext,s=n(5).PatchContext,u=n(6).ReverseContext,l=n(27),c=3,f="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array},h="function"==typeof Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r]===e)return r;return-1},d=function(t){if(t.leftIsArray){var e,n,o,s,u={objectHash:t.options&&t.options.objectHash,matchByPosition:t.options&&t.options.matchByPosition},f=0,d=0,p=t.left,v=t.right,g=p.length,m=v.length;for(g>0&&m>0&&!u.objectHash&&"boolean"!=typeof u.matchByPosition&&(u.matchByPosition=!r(p,v,g,m));f<g&&f<m&&i(p,v,f,f,u);)e=f,s=new a(t.left[e],t.right[e]),t.push(s,e),f++;for(;d+f<g&&d+f<m&&i(p,v,g-1-d,m-1-d,u);)n=g-1-d,o=m-1-d,s=new a(t.left[n],t.right[o]),t.push(s,o),d++;var y;if(f+d===g){if(g===m)return void t.setResult(void 0).exit();for(y=y||{_t:"a"},e=f;e<m-d;e++)y[e]=[v[e]];return void t.setResult(y).exit()}if(f+d===m){for(y=y||{_t:"a"},e=f;e<g-d;e++)y["_"+e]=[p[e],0,0];return void t.setResult(y).exit()}delete u.hashCache1,delete u.hashCache2;var b=p.slice(f,g-d),x=v.slice(f,m-d),_=l.get(b,x,i,u),w=[];for(y=y||{_t:"a"},e=f;e<g-d;e++)h(_.indices1,e-f)<0&&(y["_"+e]=[p[e],0,0],w.push(e));var C=!0;t.options&&t.options.arrays&&t.options.arrays.detectMove===!1&&(C=!1);var k=!1;t.options&&t.options.arrays&&t.options.arrays.includeValueOnMove&&(k=!0);var T=w.length;for(e=f;e<m-d;e++){var S=h(_.indices2,e-f);if(S<0){var A=!1;if(C&&T>0)for(var j=0;j<T;j++)if(n=w[j],i(b,x,n-f,e-f,u)){y["_"+n].splice(1,2,e,c),k||(y["_"+n][0]=""),o=e,s=new a(t.left[n],t.right[o]),t.push(s,o),w.splice(j,1),A=!0;break}A||(y[e]=[v[e]])}else n=_.indices1[S]+f,o=_.indices2[S]+f,s=new a(t.left[n],t.right[o]),t.push(s,o)}t.setResult(y).exit()}};d.filterName="arrays";var p={numerically:function(t,e){return t-e},numericallyBy:function(t){return function(e,n){return e[t]-n[t]}}},v=function(t){if(t.nested&&"a"===t.delta._t){var e,n,r=t.delta,i=t.left,o=[],a=[],u=[];for(e in r)if("_t"!==e)if("_"===e[0]){if(0!==r[e][2]&&r[e][2]!==c)throw new Error("only removal or move can be applied at original array indices, invalid diff type: "+r[e][2]);o.push(parseInt(e.slice(1),10))}else 1===r[e].length?a.push({index:parseInt(e,10),value:r[e][0]}):u.push({index:parseInt(e,10),delta:r[e]});for(o=o.sort(p.numerically),e=o.length-1;e>=0;e--){n=o[e];var l=r["_"+n],f=i.splice(n,1)[0];l[2]===c&&a.push({index:l[1],value:f})}a=a.sort(p.numericallyBy("index"));var h=a.length;for(e=0;e<h;e++){var d=a[e];i.splice(d.index,0,d.value)}var v,g=u.length;if(g>0)for(e=0;e<g;e++){var m=u[e];v=new s(t.left[m.index],m.delta),t.push(v,m.index)}return t.children?void t.exit():void t.setResult(t.left).exit()}};v.filterName="arrays";var g=function(t){if(t&&t.children&&"a"===t.delta._t){for(var e,n=t.children.length,r=0;r<n;r++)e=t.children[r],t.left[e.childName]=e.result;t.setResult(t.left).exit()}};g.filterName="arraysCollectChildren";var m=function(t){if(!t.nested)return void(t.delta[2]===c&&(t.newName="_"+t.delta[1],t.setResult([t.delta[0],parseInt(t.childName.substr(1),10),c]).exit()));if("a"===t.delta._t){var e,n;for(e in t.delta)"_t"!==e&&(n=new u(t.delta[e]),t.push(n,e));t.exit()}};m.filterName="arrays";var y=function(t,e,n){if("string"==typeof e&&"_"===e[0])return parseInt(e.substr(1),10);if(f(n)&&0===n[2])return"_"+e;var r=+e;for(var i in t){var o=t[i];if(f(o))if(o[2]===c){var a=parseInt(i.substr(1),10),s=o[1];if(s===+e)return a;a<=r&&s>r?r++:a>=r&&s<r&&r--}else if(0===o[2]){var u=parseInt(i.substr(1),10);u<=r&&r++}else 1===o.length&&i<=r&&r--}return r},b=function(t){if(t&&t.children&&"a"===t.delta._t){for(var e,n=t.children.length,r={_t:"a"},i=0;i<n;i++){e=t.children[i];var o=e.newName;"undefined"==typeof o&&(o=y(t.delta,e.childName,e.result)),r[o]!==e.result&&(r[o]=e.result)}t.setResult(r).exit()}};b.filterName="arraysCollectChildren",e.diffFilter=d,e.patchFilter=v,e.collectChildrenPatchFilter=g,e.reverseFilter=m,e.collectChildrenReverseFilter=b},function(t,e){"use strict";var n=function(t){t.left instanceof Date?(t.right instanceof Date?t.left.getTime()!==t.right.getTime()?t.setResult([t.left,t.right]):t.setResult(void 0):t.setResult([t.left,t.right]),t.exit()):t.right instanceof Date&&t.setResult([t.left,t.right]).exit()};n.filterName="dates",e.diffFilter=n},function(t,e){"use strict";var n=function(t,e,n,r){return t[n]===e[r]},r=function(t,e,n,r){var i,o,a=t.length,s=e.length,u=[a+1];for(i=0;i<a+1;i++)for(u[i]=[s+1],o=0;o<s+1;o++)u[i][o]=0;for(u.match=n,i=1;i<a+1;i++)for(o=1;o<s+1;o++)n(t,e,i-1,o-1,r)?u[i][o]=u[i-1][o-1]+1:u[i][o]=Math.max(u[i-1][o],u[i][o-1]);return u},i=function a(t,e,n,r,i,o){if(0===r||0===i)return{sequence:[],indices1:[],indices2:[]};if(t.match(e,n,r-1,i-1,o)){var s=a(t,e,n,r-1,i-1,o);return s.sequence.push(e[r-1]),s.indices1.push(r-1),s.indices2.push(i-1),s}return t[r][i-1]>t[r-1][i]?a(t,e,n,r,i-1,o):a(t,e,n,r-1,i,o)},o=function(t,e,o,a){a=a||{};var s=r(t,e,o||n,a),u=i(s,t,e,t.length,e.length,a);return"string"==typeof t&&"string"==typeof e&&(u.sequence=u.sequence.join("")),u};e.get=o},function(t,e,n){"use strict";var r=n(4).DiffContext,i=n(5).PatchContext,o=n(6).ReverseContext,a=function(t){if(t&&t.children){for(var e,n=t.children.length,r=t.result,i=0;i<n;i++)e=t.children[i],"undefined"!=typeof e.result&&(r=r||{},r[e.childName]=e.result);r&&t.leftIsArray&&(r._t="a"),t.setResult(r).exit()}};a.filterName="collectChildren";var s=function(t){if(!t.leftIsArray&&"object"===t.leftType){var e,n,i=t.options.propertyFilter;for(e in t.left)Object.prototype.hasOwnProperty.call(t.left,e)&&(i&&!i(e,t)||(n=new r(t.left[e],t.right[e]),t.push(n,e)));for(e in t.right)Object.prototype.hasOwnProperty.call(t.right,e)&&(i&&!i(e,t)||"undefined"==typeof t.left[e]&&(n=new r((void 0),t.right[e]),t.push(n,e)));return t.children&&0!==t.children.length?void t.exit():void t.setResult(void 0).exit()}};s.filterName="objects";var u=function(t){if(t.nested&&!t.delta._t){var e,n;for(e in t.delta)n=new i(t.left[e],t.delta[e]),t.push(n,e);t.exit()}};u.filterName="objects";var l=function(t){if(t&&t.children&&!t.delta._t){for(var e,n=t.children.length,r=0;r<n;r++)e=t.children[r],Object.prototype.hasOwnProperty.call(t.left,e.childName)&&void 0===e.result?delete t.left[e.childName]:t.left[e.childName]!==e.result&&(t.left[e.childName]=e.result);t.setResult(t.left).exit()}};l.filterName="collectChildren";var c=function(t){if(t.nested&&!t.delta._t){var e,n;for(e in t.delta)n=new o(t.delta[e]),t.push(n,e);t.exit()}};c.filterName="objects";var f=function(t){if(t&&t.children&&!t.delta._t){for(var e,n=t.children.length,r={},i=0;i<n;i++)e=t.children[i],r[e.childName]!==e.result&&(r[e.childName]=e.result);t.setResult(r).exit()}};f.filterName="collectChildren",e.collectChildrenDiffFilter=a,e.objectsDiffFilter=s,e.patchFilter=u,e.collectChildrenPatchFilter=l,e.reverseFilter=c,e.collectChildrenReverseFilter=f},function(t,e,n){"use strict";var r=2,i=60,o=null,a=function(t){if(!o){var e;if("undefined"!=typeof diff_match_patch)e="function"==typeof diff_match_patch?new diff_match_patch:new diff_match_patch.diff_match_patch;else try{var r="diff_match_patch_uncompressed",i=n(135)("./"+r);e=new i.diff_match_patch}catch(a){e=null}if(!e){if(!t)return null;var s=new Error("text diff_match_patch library not found");throw s.diff_match_patch_not_found=!0,s}o={diff:function(t,n){return e.patch_toText(e.patch_make(t,n))},patch:function(t,n){for(var r=e.patch_apply(e.patch_fromText(n),t),i=0;i<r[1].length;i++)if(!r[1][i]){var o=new Error("text patch failed");o.textPatchFailed=!0}return r[0]}}}return o},s=function(t){if("string"===t.leftType){var e=t.options&&t.options.textDiff&&t.options.textDiff.minLength||i;if(t.left.length<e||t.right.length<e)return void t.setResult([t.left,t.right]).exit();var n=a();if(!n)return void t.setResult([t.left,t.right]).exit();var o=n.diff;t.setResult([o(t.left,t.right),0,r]).exit()}};s.filterName="texts";var u=function(t){if(!t.nested&&t.delta[2]===r){var e=a(!0).patch;t.setResult(e(t.left,t.delta[0])).exit()}};u.filterName="texts";var l=function(t){var e,n,r,i,o,a,s,u,l=null,c=/^@@ +\-(\d+),(\d+) +\+(\d+),(\d+) +@@$/;for(r=t.split("\n"),e=0,n=r.length;e<n;e++){i=r[e];var f=i.slice(0,1);"@"===f?(l=c.exec(i),a=e,s=null,u=null,r[a]="@@ -"+l[3]+","+l[4]+" +"+l[1]+","+l[2]+" @@"):"+"===f?(s=e,r[e]="-"+r[e].slice(1),"+"===r[e-1].slice(0,1)&&(o=r[e],r[e]=r[e-1],r[e-1]=o)):"-"===f&&(u=e,r[e]="+"+r[e].slice(1))}return r.join("\n")},c=function(t){t.nested||t.delta[2]===r&&t.setResult([l(t.delta[0]),0,r]).exit()};c.filterName="texts",e.diffFilter=s,e.patchFilter=u,e.reverseFilter=c},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},r="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array},i=function(t){if(t.left===t.right)return void t.setResult(void 0).exit();if("undefined"==typeof t.left){if("function"==typeof t.right)throw new Error("functions are not supported");return void t.setResult([t.right]).exit()}if("undefined"==typeof t.right)return void t.setResult([t.left,0,0]).exit();if("function"==typeof t.left||"function"==typeof t.right)throw new Error("functions are not supported");return t.leftType=null===t.left?"null":n(t.left),t.rightType=null===t.right?"null":n(t.right),t.leftType!==t.rightType?void t.setResult([t.left,t.right]).exit():"boolean"===t.leftType||"number"===t.leftType?void t.setResult([t.left,t.right]).exit():("object"===t.leftType&&(t.leftIsArray=r(t.left)),"object"===t.rightType&&(t.rightIsArray=r(t.right)),t.leftIsArray!==t.rightIsArray?void t.setResult([t.left,t.right]).exit():void 0)};i.filterName="trivial";var o=function(t){return"undefined"==typeof t.delta?void t.setResult(t.left).exit():(t.nested=!r(t.delta),t.nested?void 0:1===t.delta.length?void t.setResult(t.delta[0]).exit():2===t.delta.length?void t.setResult(t.delta[1]).exit():3===t.delta.length&&0===t.delta[2]?void t.setResult(void 0).exit():void 0)};o.filterName="trivial";var a=function(t){return"undefined"==typeof t.delta?void t.setResult(t.delta).exit():(t.nested=!r(t.delta),t.nested?void 0:1===t.delta.length?void t.setResult([t.delta[0],0,0]).exit():2===t.delta.length?void t.setResult([t.delta[1],t.delta[0]]).exit():3===t.delta.length&&0===t.delta[2]?void t.setResult([t.delta[0]]).exit():void 0)};a.filterName="trivial",e.diffFilter=i,e.patchFilter=o,e.reverseFilter=a},function(t,e){"use strict";var n=function(t){this.selfOptions=t||{},this.pipes={}};n.prototype.options=function(t){return t&&(this.selfOptions=t),this.selfOptions},n.prototype.pipe=function(t,e){if("string"==typeof t){if("undefined"==typeof e)return this.pipes[t];this.pipes[t]=e}if(t&&t.name){if(e=t,e.processor===this)return e;this.pipes[e.name]=e}return e.processor=this,e},n.prototype.process=function(t,e){var n=t;n.options=this.options();for(var r,i,o=e||t.pipe||"default";o;)"undefined"!=typeof n.nextAfterChildren&&(n.next=n.nextAfterChildren,n.nextAfterChildren=null),"string"==typeof o&&(o=this.pipe(o)),o.process(n),i=n,r=o,o=null,n&&n.next&&(n=n.next,o=i.nextPipe||n.pipe||r);return n.hasResult?n.result:void 0},e.Processor=n},function(t,e,n){var r,i;n(147),r=n(57);var o=n(143);i=r=r||{},"object"==typeof r["default"]&&(i=r=r["default"]),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-4",t.exports=r},function(t,e){"use strict";t.exports=function(){return/\u001b\[(?:[0-9]{1,3}(?:;[0-9]{1,3})*)?[m|K]/g}},function(t,e){"use strict";t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";var r=n(20),i=n(18),o=n(70),a=n(74),s="prototype",u=function l(t,e,n){var u,c,f,h=t&l.F,d=t&l.G,p=t&l.S,v=t&l.P,g=t&l.B,m=t&l.W,y=d?i:i[e]||(i[e]={}),b=y[s],x=d?r:p?r[e]:(r[e]||{})[s];d&&(n=e);for(u in n)c=!h&&x&&void 0!==x[u],c&&u in y||(f=c?x[u]:n[u],y[u]=d&&"function"!=typeof x[u]?n[u]:g&&c?o(f,r):m&&x[u]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[s]=t[s],e}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((y.virtual||(y.virtual={}))[u]=f,t&l.R&&b&&!b[u]&&a(b,u,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,n){"use strict";var r=n(69);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){"use strict";var r=n(67),i=n(75),o=n(87),a=Object.defineProperty;e.f=n(13)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){"use strict";var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){"use strict";var r=n(36),i=n(34);t.exports=function(t){return r(i(t))}},function(t,e){"use strict";t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e];n[2]?t.push("@media "+n[2]+"{"+n[1]+"}"):t.push(n[1])}return t.join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(t,e){"use strict";function n(t){function e(){var t={};for(a.push(t);s<o.length;){var e=o[s];if(/^(\-\-\-|\+\+\+|@@)\s/.test(e))break;var u=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(e);u&&(t.index=u[1]),s++}for(n(t),n(t),t.hunks=[];s<o.length;){var l=o[s];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(l))break;if(/^@@/.test(l))t.hunks.push(r());else{if(l&&i.strict)throw new Error("Unknown line "+(s+1)+" "+JSON.stringify(l));s++}}}function n(t){var e=/^(---|\+\+\+)\s+([\S ]*)(?:\t(.*?)\s*)?$/,n=e.exec(o[s]);if(n){var r="---"===n[1]?"old":"new";t[r+"FileName"]=n[2],t[r+"Header"]=n[3],s++}}function r(){for(var t=s,e=o[s++],n=e.split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),r={oldStart:+n[1],oldLines:+n[2]||1,newStart:+n[3],newLines:+n[4]||1,lines:[]},a=0,u=0;s<o.length;s++){var l=o[s][0];if("+"!==l&&"-"!==l&&" "!==l&&"\\"!==l)break;r.lines.push(o[s]),"+"===l?a++:"-"===l?u++:" "===l&&(a++,u++)}if(a||1!==r.newLines||(r.newLines=0),u||1!==r.oldLines||(r.oldLines=0),i.strict){if(a!==r.newLines)throw new Error("Added line count did not match for hunk at line "+(t+1));if(u!==r.oldLines)throw new Error("Removed line count did not match for hunk at line "+(t+1))}return r}for(var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=t.split("\n"),a=[],s=0;s<o.length;)e();return a}e.__esModule=!0,e.parsePatch=n},function(t,e){"use strict";function n(t,e){if("function"==typeof t)e.callback=t;else if(t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}e.__esModule=!0,e.generateOptions=n},function(t,e,n){var r,i,r,o,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};(function(){t.exports=0;!function(n){var o,a,s="0.4.2",u="hasOwnProperty",l=/[\.\/]/,c=/\s*,\s*/,f="*",h=function(t,e){return t-e},d={n:{}},p=function(){for(var t=0,e=this.length;t<e;t++)if("undefined"!=typeof this[t])return this[t]},v=function(){for(var t=this.length;--t;)if("undefined"!=typeof this[t])return this[t]},g=function m(t,e){t=String(t);var n,r=a,i=Array.prototype.slice.call(arguments,2),s=m.listeners(t),u=0,l=[],c={},f=[],d=o;f.firstDefined=p,f.lastDefined=v,o=t,a=0;for(var g=0,y=s.length;g<y;g++)"zIndex"in s[g]&&(l.push(s[g].zIndex),s[g].zIndex<0&&(c[s[g].zIndex]=s[g]));for(l.sort(h);l[u]<0;)if(n=c[l[u++]],f.push(n.apply(e,i)),a)return a=r,f;for(g=0;g<y;g++)if(n=s[g],"zIndex"in n)if(n.zIndex==l[u]){if(f.push(n.apply(e,i)),a)break;do if(u++,n=c[l[u]],n&&f.push(n.apply(e,i)),a)break;while(n)}else c[n.zIndex]=n;else if(f.push(n.apply(e,i)),a)break;return a=r,o=d,f};g._events=d,g.listeners=function(t){var e,n,r,i,o,a,s,u,c=t.split(l),h=d,p=[h],v=[];for(i=0,o=c.length;i<o;i++){for(u=[],a=0,s=p.length;a<s;a++)for(h=p[a].n,n=[h[c[i]],h[f]],r=2;r--;)e=n[r],e&&(u.push(e),v=v.concat(e.f||[]));p=u}return v},g.on=function(t,e){if(t=String(t),"function"!=typeof e)return function(){};for(var n=t.split(c),r=0,i=n.length;r<i;r++)!function(t){for(var n,r=t.split(l),i=d,o=0,a=r.length;o<a;o++)i=i.n,i=i.hasOwnProperty(r[o])&&i[r[o]]||(i[r[o]]={n:{}});for(i.f=i.f||[],o=0,a=i.f.length;o<a;o++)if(i.f[o]==e){n=!0;break}!n&&i.f.push(e)}(n[r]);return function(t){+t==+t&&(e.zIndex=+t)}},g.f=function(t){var e=[].slice.call(arguments,1);return function(){g.apply(null,[t,null].concat(e).concat([].slice.call(arguments,0)))}},g.stop=function(){a=1},g.nt=function(t){return t?new RegExp("(?:\\.|\\/|^)"+t+"(?:\\.|\\/|$)").test(o):o},g.nts=function(){return o.split(l)},g.off=g.unbind=function(t,e){if(!t)return void(g._events=d={n:{}});var n=t.split(c);if(n.length>1)for(var r=0,i=n.length;r<i;r++)g.off(n[r],e);else{
-n=t.split(l);var o,a,s,r,i,h,p,v=[d];for(r=0,i=n.length;r<i;r++)for(h=0;h<v.length;h+=s.length-2){if(s=[h,1],o=v[h].n,n[r]!=f)o[n[r]]&&s.push(o[n[r]]);else for(a in o)o[u](a)&&s.push(o[a]);v.splice.apply(v,s)}for(r=0,i=v.length;r<i;r++)for(o=v[r];o.n;){if(e){if(o.f){for(h=0,p=o.f.length;h<p;h++)if(o.f[h]==e){o.f.splice(h,1);break}!o.f.length&&delete o.f}for(a in o.n)if(o.n[u](a)&&o.n[a].f){var m=o.n[a].f;for(h=0,p=m.length;h<p;h++)if(m[h]==e){m.splice(h,1);break}!m.length&&delete o.n[a].f}}else{delete o.f;for(a in o.n)o.n[u](a)&&o.n[a].f&&delete o.n[a].f}o=o.n}}},g.once=function(t,e){var n=function r(){return g.unbind(t,r),e.apply(this,arguments)};return g.on(t,n)},g.version=s,g.toString=function(){return"You are running Eve "+s},"undefined"!=typeof t&&t.exports?t.exports=g:(r=[],!(i=function(){return g}.apply(e,r)))}(this),function(n,a){r=[i],o=function(t){return a(n,t)}.apply(e,r),!(void 0!==o&&(t.exports=o))}(window||this,function(t,e){var n=function(e){var n={},r=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(t){setTimeout(t,16)},i=Array.isArray||function(t){return t instanceof Array||"[object Array]"==Object.prototype.toString.call(t)},o=0,a="M"+(+new Date).toString(36),s=function(){return a+(o++).toString(36)},u=Date.now||function(){return+new Date},l=function(t){var e=this;if(null==t)return e.s;var n=e.s-t;e.b+=e.dur*n,e.B+=e.dur*n,e.s=t},c=function(t){var e=this;return null==t?e.spd:void(e.spd=t)},f=function(t){var e=this;return null==t?e.dur:(e.s=e.s*t/e.dur,void(e.dur=t))},h=function(){var t=this;delete n[t.id],t.update(),e("mina.stop."+t.id,t)},d=function(){var t=this;t.pdif||(delete n[t.id],t.update(),t.pdif=t.get()-t.b)},p=function(){var t=this;t.pdif&&(t.b=t.get()-t.pdif,delete t.pdif,n[t.id]=t)},v=function(){var t,e=this;if(i(e.start)){t=[];for(var n=0,r=e.start.length;n<r;n++)t[n]=+e.start[n]+(e.end[n]-e.start[n])*e.easing(e.s)}else t=+e.start+(e.end-e.start)*e.easing(e.s);e.set(t)},g=function y(){var t=0;for(var i in n)if(n.hasOwnProperty(i)){var o=n[i],a=o.get();t++,o.s=(a-o.b)/(o.dur/o.spd),o.s>=1&&(delete n[i],o.s=1,t--,function(t){setTimeout(function(){e("mina.finish."+t.id,t)})}(o)),o.update()}t&&r(y)},m=function b(t,e,i,o,a,u,m){var y={id:s(),start:t,end:e,b:i,s:0,dur:o-i,spd:1,get:a,set:u,easing:m||b.linear,status:l,speed:c,duration:f,stop:h,pause:d,resume:p,update:v};n[y.id]=y;var x,_=0;for(x in n)if(n.hasOwnProperty(x)&&(_++,2==_))break;return 1==_&&r(g),y};return m.time=u,m.getById=function(t){return n[t]||null},m.linear=function(t){return t},m.easeout=function(t){return Math.pow(t,1.7)},m.easein=function(t){return Math.pow(t,.48)},m.easeinout=function(t){if(1==t)return 1;if(0==t)return 0;var e=.48-t/1.04,n=Math.sqrt(.1734+e*e),r=n-e,i=Math.pow(Math.abs(r),1/3)*(r<0?-1:1),o=-n-e,a=Math.pow(Math.abs(o),1/3)*(o<0?-1:1),s=i+a+.5;return 3*(1-s)*s*s+s*s*s},m.backin=function(t){if(1==t)return 1;var e=1.70158;return t*t*((e+1)*t-e)},m.backout=function(t){if(0==t)return 0;t-=1;var e=1.70158;return t*t*((e+1)*t+e)+1},m.elastic=function(t){return t==!!t?t:Math.pow(2,-10*t)*Math.sin((t-.075)*(2*Math.PI)/.3)+1},m.bounce=function(t){var e,n=7.5625,r=2.75;return t<1/r?e=n*t*t:t<2/r?(t-=1.5/r,e=n*t*t+.75):t<2.5/r?(t-=2.25/r,e=n*t*t+.9375):(t-=2.625/r,e=n*t*t+.984375),e},t.mina=m,m}("undefined"==typeof e?function(){}:e),r=function(t){function n(t,e){if(t){if(t.nodeType)return C(t);if(i(t,"array")&&n.set)return n.set.apply(n,t);if(t instanceof b)return t;if(null==e)return t=T.doc.querySelector(String(t)),C(t)}return t=null==t?"100%":t,e=null==e?"100%":e,new w(t,e)}function r(t,e){if(e){if("#text"==t&&(t=T.doc.createTextNode(e.text||e["#text"]||"")),"#comment"==t&&(t=T.doc.createComment(e.text||e["#text"]||"")),"string"==typeof t&&(t=r(t)),"string"==typeof e)return 1==t.nodeType?"xlink:"==e.substring(0,6)?t.getAttributeNS(W,e.substring(6)):"xml:"==e.substring(0,4)?t.getAttributeNS(X,e.substring(4)):t.getAttribute(e):"text"==e?t.nodeValue:null;if(1==t.nodeType){for(var n in e)if(e[S](n)){var i=A(e[n]);i?"xlink:"==n.substring(0,6)?t.setAttributeNS(W,n.substring(6),i):"xml:"==n.substring(0,4)?t.setAttributeNS(X,n.substring(4),i):t.setAttribute(n,i):t.removeAttribute(n)}}else"text"in e&&(t.nodeValue=e.text)}else t=T.doc.createElementNS(X,t);return t}function i(t,e){return e=A.prototype.toLowerCase.call(e),"finite"==e?isFinite(t):!("array"!=e||!(t instanceof Array||Array.isArray&&Array.isArray(t)))||("null"==e&&null===t||e==("undefined"==typeof t?"undefined":a(t))&&null!==t||"object"==e&&t===Object(t)||F.call(t).slice(8,-1).toLowerCase()==e)}function o(t){if("function"==typeof t||Object(t)!==t)return t;var e=new t.constructor;for(var n in t)t[S](n)&&(e[n]=o(t[n]));return e}function s(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return t.push(t.splice(n,1)[0])}function u(t,e,n){function r(){var i=Array.prototype.slice.call(arguments,0),o=i.join("␀"),a=r.cache=r.cache||{},u=r.count=r.count||[];return a[S](o)?(s(u,o),n?n(a[o]):a[o]):(u.length>=1e3&&delete a[u.shift()],u.push(o),a[o]=t.apply(e,i),n?n(a[o]):a[o])}return r}function l(t,e,n,r,i,o){if(null==i){var a=t-n,s=e-r;return a||s?(180+180*O.atan2(-s,-a)/P+360)%360:0}return l(t,e,i,o)-l(n,r,i,o)}function c(t){return t%360*P/180}function f(t){return 180*t/P%360}function h(t){var e=[];return t=t.replace(/(?:^|\s)(\w+)\(([^)]+)\)/g,function(t,n,r){return r=r.split(/\s*,\s*|\s+/),"rotate"==n&&1==r.length&&r.push(0,0),"scale"==n&&(r.length>2?r=r.slice(0,2):2==r.length&&r.push(0,0),1==r.length&&r.push(r[0],0,0)),"skewX"==n?e.push(["m",1,0,O.tan(c(r[0])),1,0,0]):"skewY"==n?e.push(["m",1,O.tan(c(r[0])),0,1,0,0]):e.push([n.charAt(0)].concat(r)),t}),e}function d(t,e){var r=et(t),i=new n.Matrix;if(r)for(var o=0,a=r.length;o<a;o++){var s,u,l,c,f,h=r[o],d=h.length,p=A(h[0]).toLowerCase(),v=h[0]!=p,g=v?i.invert():0;"t"==p&&2==d?i.translate(h[1],0):"t"==p&&3==d?v?(s=g.x(0,0),u=g.y(0,0),l=g.x(h[1],h[2]),c=g.y(h[1],h[2]),i.translate(l-s,c-u)):i.translate(h[1],h[2]):"r"==p?2==d?(f=f||e,i.rotate(h[1],f.x+f.width/2,f.y+f.height/2)):4==d&&(v?(l=g.x(h[2],h[3]),c=g.y(h[2],h[3]),i.rotate(h[1],l,c)):i.rotate(h[1],h[2],h[3])):"s"==p?2==d||3==d?(f=f||e,i.scale(h[1],h[d-1],f.x+f.width/2,f.y+f.height/2)):4==d?v?(l=g.x(h[2],h[3]),c=g.y(h[2],h[3]),i.scale(h[1],h[1],l,c)):i.scale(h[1],h[1],h[2],h[3]):5==d&&(v?(l=g.x(h[3],h[4]),c=g.y(h[3],h[4]),i.scale(h[1],h[2],l,c)):i.scale(h[1],h[2],h[3],h[4])):"m"==p&&7==d&&i.add(h[1],h[2],h[3],h[4],h[5],h[6])}return i}function p(t){var e=t.node.ownerSVGElement&&C(t.node.ownerSVGElement)||t.node.parentNode&&C(t.node.parentNode)||n.select("svg")||n(0,0),r=e.select("defs"),i=null!=r&&r.node;return i||(i=_("defs",e.node).node),i}function v(t){return t.node.ownerSVGElement&&C(t.node.ownerSVGElement)||n.select("svg")}function m(t,e,n){function i(t){if(null==t)return D;if(t==+t)return t;r(l,{width:t});try{return l.getBBox().width}catch(e){return 0}}function o(t){if(null==t)return D;if(t==+t)return t;r(l,{height:t});try{return l.getBBox().height}catch(e){return 0}}function a(r,i){null==e?u[r]=i(t.attr(r)||0):r==e&&(u=i(null==n?t.attr(r)||0:n))}var s=v(t).node,u={},l=s.querySelector(".svg---mgr");switch(l||(l=r("rect"),r(l,{x:-9e9,y:-9e9,width:10,height:10,"class":"svg---mgr",fill:"none"}),s.appendChild(l)),t.type){case"rect":a("rx",i),a("ry",o);case"image":a("width",i),a("height",o);case"text":a("x",i),a("y",o);break;case"circle":a("cx",i),a("cy",o),a("r",i);break;case"ellipse":a("cx",i),a("cy",o),a("rx",i),a("ry",o);break;case"line":a("x1",i),a("x2",i),a("y1",o),a("y2",o);break;case"marker":a("refX",i),a("markerWidth",i),a("refY",o),a("markerHeight",o);break;case"radialGradient":a("fx",i),a("fy",o);break;case"tspan":a("dx",i),a("dy",o);break;default:a(e,i)}return s.removeChild(l),u}function y(t){i(t,"array")||(t=Array.prototype.slice.call(arguments,0));for(var e=0,n=0,r=this.node;this[e];)delete this[e++];for(e=0;e<t.length;e++)"set"==t[e].type?t[e].forEach(function(t){r.appendChild(t.node)}):r.appendChild(t[e].node);var o=r.childNodes;for(e=0;e<o.length;e++)this[n++]=C(o[e]);return this}function b(t){if(t.snap in J)return J[t.snap];var e;try{e=t.ownerSVGElement}catch(n){}this.node=t,e&&(this.paper=new w(e)),this.type=t.tagName||t.nodeName;var r=this.id=U(this);if(this.anims={},this._={transform:[]},t.snap=r,J[r]=this,"g"==this.type&&(this.add=y),this.type in{g:1,mask:1,pattern:1,symbol:1})for(var i in w.prototype)w.prototype[S](i)&&(this[i]=w.prototype[i])}function x(t){this.node=t}function _(t,e){var n=r(t);e.appendChild(n);var i=C(n);return i}function w(t,e){var n,i,o,a=w.prototype;if(t&&"svg"==t.tagName){if(t.snap in J)return J[t.snap];var s=t.ownerDocument;n=new b(t),i=t.getElementsByTagName("desc")[0],o=t.getElementsByTagName("defs")[0],i||(i=r("desc"),i.appendChild(s.createTextNode("Created with Snap")),n.node.appendChild(i)),o||(o=r("defs"),n.node.appendChild(o)),n.defs=o;for(var u in a)a[S](u)&&(n[u]=a[u]);n.paper=n.root=n}else n=_("svg",T.doc.body),r(n.node,{height:e,version:1.1,width:t,xmlns:X});return n}function C(t){return t?t instanceof b||t instanceof x?t:t.tagName&&"svg"==t.tagName.toLowerCase()?new w(t):t.tagName&&"object"==t.tagName.toLowerCase()&&"image/svg+xml"==t.type?new w(t.contentDocument.getElementsByTagName("svg")[0]):new b(t):t}function k(t,e){for(var n=0,r=t.length;n<r;n++){var i={type:t[n].type,attr:t[n].attr()},o=t[n].children();e.push(i),o.length&&k(o,i.childNodes=[])}}n.version="0.4.0",n.toString=function(){return"Snap v"+this.version},n._={};var T={win:t.window,doc:t.window.document};n._.glob=T;var S="hasOwnProperty",A=String,j=parseFloat,E=parseInt,O=Math,$=O.max,M=O.min,N=O.abs,P=(O.pow,O.PI),D=(O.round,""),F=Object.prototype.toString,B=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\))\s*$/i,L=(n._.separator=/[,\s]+/,/[\s]*,[\s]*/),R={hs:1,rg:1},I=/([a-z])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/gi,H=/([rstm])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/gi,q=/(-?\d*\.?\d*(?:e[\-+]?\\d+)?)[\s]*,?[\s]*/gi,V=0,z="S"+(+new Date).toString(36),U=function(t){return(t&&t.type?t.type:D)+z+(V++).toString(36)},W="http://www.w3.org/1999/xlink",X="http://www.w3.org/2000/svg",J={};n.url=function(t){return"url('#"+t+"')"};n._.$=r,n._.id=U,n.format=function(){var t=/\{([^\}]+)\}/g,e=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,n=function(t,n,r){var i=r;return n.replace(e,function(t,e,n,r,o){e=e||r,i&&(e in i&&(i=i[e]),"function"==typeof i&&o&&(i=i()))}),i=(null==i||i==r?t:i)+""};return function(e,r){return A(e).replace(t,function(t,e){return n(t,e,r)})}}(),n._.clone=o,n._.cacher=u,n.rad=c,n.deg=f,n.sin=function(t){return O.sin(n.rad(t))},n.tan=function(t){return O.tan(n.rad(t))},n.cos=function(t){return O.cos(n.rad(t))},n.asin=function(t){return n.deg(O.asin(t))},n.acos=function(t){return n.deg(O.acos(t))},n.atan=function(t){return n.deg(O.atan(t))},n.atan2=function(t){return n.deg(O.atan2(t))},n.angle=l,n.len=function(t,e,r,i){return Math.sqrt(n.len2(t,e,r,i))},n.len2=function(t,e,n,r){return(t-n)*(t-n)+(e-r)*(e-r)},n.closestPoint=function(t,e,n){function r(t){var r=t.x-e,i=t.y-n;return r*r+i*i}for(var i,o,a,s,u=t.node,l=u.getTotalLength(),c=l/u.pathSegList.numberOfItems*.125,f=1/0,h=0;h<=l;h+=c)(s=r(a=u.getPointAtLength(h)))<f&&(i=a,o=h,f=s);for(c*=.5;c>.5;){var d,p,v,g,m,y;(v=o-c)>=0&&(m=r(d=u.getPointAtLength(v)))<f?(i=d,o=v,f=m):(g=o+c)<=l&&(y=r(p=u.getPointAtLength(g)))<f?(i=p,o=g,f=y):c*=.5}return i={x:i.x,y:i.y,length:o,distance:Math.sqrt(f)}},n.is=i,n.snapTo=function(t,e,n){if(n=i(n,"finite")?n:10,i(t,"array")){for(var r=t.length;r--;)if(N(t[r]-e)<=n)return t[r]}else{t=+t;var o=e%t;if(o<n)return e-o;if(o>t-n)return e-o+t}return e},n.getRGB=u(function(t){if(!t||(t=A(t)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Q};if("none"==t)return{r:-1,g:-1,b:-1,hex:"none",toString:Q};if(!(R[S](t.toLowerCase().substring(0,2))||"#"==t.charAt())&&(t=G(t)),!t)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Q};var e,r,o,a,s,u,l=t.match(B);return l?(l[2]&&(o=E(l[2].substring(5),16),r=E(l[2].substring(3,5),16),e=E(l[2].substring(1,3),16)),l[3]&&(o=E((s=l[3].charAt(3))+s,16),r=E((s=l[3].charAt(2))+s,16),e=E((s=l[3].charAt(1))+s,16)),l[4]&&(u=l[4].split(L),e=j(u[0]),"%"==u[0].slice(-1)&&(e*=2.55),r=j(u[1]),"%"==u[1].slice(-1)&&(r*=2.55),o=j(u[2]),"%"==u[2].slice(-1)&&(o*=2.55),"rgba"==l[1].toLowerCase().slice(0,4)&&(a=j(u[3])),u[3]&&"%"==u[3].slice(-1)&&(a/=100)),l[5]?(u=l[5].split(L),e=j(u[0]),"%"==u[0].slice(-1)&&(e/=100),r=j(u[1]),"%"==u[1].slice(-1)&&(r/=100),o=j(u[2]),"%"==u[2].slice(-1)&&(o/=100),("deg"==u[0].slice(-3)||"°"==u[0].slice(-1))&&(e/=360),"hsba"==l[1].toLowerCase().slice(0,4)&&(a=j(u[3])),u[3]&&"%"==u[3].slice(-1)&&(a/=100),n.hsb2rgb(e,r,o,a)):l[6]?(u=l[6].split(L),e=j(u[0]),"%"==u[0].slice(-1)&&(e/=100),r=j(u[1]),"%"==u[1].slice(-1)&&(r/=100),o=j(u[2]),"%"==u[2].slice(-1)&&(o/=100),("deg"==u[0].slice(-3)||"°"==u[0].slice(-1))&&(e/=360),"hsla"==l[1].toLowerCase().slice(0,4)&&(a=j(u[3])),u[3]&&"%"==u[3].slice(-1)&&(a/=100),n.hsl2rgb(e,r,o,a)):(e=M(O.round(e),255),r=M(O.round(r),255),o=M(O.round(o),255),a=M($(a,0),1),l={r:e,g:r,b:o,toString:Q},l.hex="#"+(16777216|o|r<<8|e<<16).toString(16).slice(1),l.opacity=i(a,"finite")?a:1,l)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Q}},n),n.hsb=u(function(t,e,r){return n.hsb2rgb(t,e,r).hex}),n.hsl=u(function(t,e,r){return n.hsl2rgb(t,e,r).hex}),n.rgb=u(function(t,e,n,r){if(i(r,"finite")){var o=O.round;return"rgba("+[o(t),o(e),o(n),+r.toFixed(2)]+")"}return"#"+(16777216|n|e<<8|t<<16).toString(16).slice(1)});var G=function(t){var e=T.doc.getElementsByTagName("head")[0]||T.doc.getElementsByTagName("svg")[0],n="rgb(255, 0, 0)";return(G=u(function(t){if("red"==t.toLowerCase())return n;e.style.color=n,e.style.color=t;var r=T.doc.defaultView.getComputedStyle(e,D).getPropertyValue("color");return r==n?null:r}))(t)},Z=function(){return"hsb("+[this.h,this.s,this.b]+")"},Y=function(){return"hsl("+[this.h,this.s,this.l]+")"},Q=function(){return 1==this.opacity||null==this.opacity?this.hex:"rgba("+[this.r,this.g,this.b,this.opacity]+")"},K=function(t,e,r){if(null==e&&i(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(r=t.b,e=t.g,t=t.r),null==e&&i(t,string)){var o=n.getRGB(t);t=o.r,e=o.g,r=o.b}return(t>1||e>1||r>1)&&(t/=255,e/=255,r/=255),[t,e,r]},tt=function(t,e,r,o){t=O.round(255*t),e=O.round(255*e),r=O.round(255*r);var a={r:t,g:e,b:r,opacity:i(o,"finite")?o:1,hex:n.rgb(t,e,r),toString:Q};return i(o,"finite")&&(a.opacity=o),a};n.color=function(t){var e;return i(t,"object")&&"h"in t&&"s"in t&&"b"in t?(e=n.hsb2rgb(t),t.r=e.r,t.g=e.g,t.b=e.b,t.opacity=1,t.hex=e.hex):i(t,"object")&&"h"in t&&"s"in t&&"l"in t?(e=n.hsl2rgb(t),t.r=e.r,t.g=e.g,t.b=e.b,t.opacity=1,t.hex=e.hex):(i(t,"string")&&(t=n.getRGB(t)),i(t,"object")&&"r"in t&&"g"in t&&"b"in t&&!("error"in t)?(e=n.rgb2hsl(t),t.h=e.h,t.s=e.s,t.l=e.l,e=n.rgb2hsb(t),t.v=e.b):(t={hex:"none"},t.r=t.g=t.b=t.h=t.s=t.v=t.l=-1,t.error=1)),t.toString=Q,t},n.hsb2rgb=function(t,e,n,r){i(t,"object")&&"h"in t&&"s"in t&&"b"in t&&(n=t.b,e=t.s,r=t.o,t=t.h),t*=360;var o,a,s,u,l;return t=t%360/60,l=n*e,u=l*(1-N(t%2-1)),o=a=s=n-l,t=~~t,o+=[l,u,0,0,u,l][t],a+=[u,l,l,u,0,0][t],s+=[0,0,u,l,l,u][t],tt(o,a,s,r)},n.hsl2rgb=function(t,e,n,r){i(t,"object")&&"h"in t&&"s"in t&&"l"in t&&(n=t.l,e=t.s,t=t.h),(t>1||e>1||n>1)&&(t/=360,e/=100,n/=100),t*=360;var o,a,s,u,l;return t=t%360/60,l=2*e*(n<.5?n:1-n),u=l*(1-N(t%2-1)),o=a=s=n-l/2,t=~~t,o+=[l,u,0,0,u,l][t],a+=[u,l,l,u,0,0][t],s+=[0,0,u,l,l,u][t],tt(o,a,s,r)},n.rgb2hsb=function(t,e,n){n=K(t,e,n),t=n[0],e=n[1],n=n[2];var r,i,o,a;return o=$(t,e,n),a=o-M(t,e,n),r=0==a?null:o==t?(e-n)/a:o==e?(n-t)/a+2:(t-e)/a+4,r=(r+360)%6*60/360,i=0==a?0:a/o,{h:r,s:i,b:o,toString:Z}},n.rgb2hsl=function(t,e,n){n=K(t,e,n),t=n[0],e=n[1],n=n[2];var r,i,o,a,s,u;return a=$(t,e,n),s=M(t,e,n),u=a-s,r=0==u?null:a==t?(e-n)/u:a==e?(n-t)/u+2:(t-e)/u+4,r=(r+360)%6*60/360,o=(a+s)/2,i=0==u?0:o<.5?u/(2*o):u/(2-2*o),{h:r,s:i,l:o,toString:Y}},n.parsePathString=function(t){if(!t)return null;var e=n.path(t);if(e.arr)return n.path.clone(e.arr);var r={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},o=[];return i(t,"array")&&i(t[0],"array")&&(o=n.path.clone(t)),o.length||A(t).replace(I,function(t,e,n){var i=[],a=e.toLowerCase();if(n.replace(q,function(t,e){e&&i.push(+e)}),"m"==a&&i.length>2&&(o.push([e].concat(i.splice(0,2))),a="l",e="m"==e?"l":"L"),"o"==a&&1==i.length&&o.push([e,i[0]]),"r"==a)o.push([e].concat(i));else for(;i.length>=r[a]&&(o.push([e].concat(i.splice(0,r[a]))),r[a]););}),o.toString=n.path.toString,e.arr=n.path.clone(o),o};var et=n.parseTransformString=function(t){if(!t)return null;var e=[];return i(t,"array")&&i(t[0],"array")&&(e=n.path.clone(t)),e.length||A(t).replace(H,function(t,n,r){var i=[];n.toLowerCase();r.replace(q,function(t,e){e&&i.push(+e)}),e.push([n].concat(i))}),e.toString=n.path.toString,e};n._.svgTransform2string=h,n._.rgTransform=/^[a-z][\s]*-?\.?\d/i,n._.transform2matrix=d,n._unit2px=m;T.doc.contains||T.doc.compareDocumentPosition?function(t,e){var n=9==t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t==r||!(!r||1!=r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e;)if(e=e.parentNode,e==t)return!0;return!1};n._.getSomeDefs=p,n._.getSomeSVG=v,n.select=function(t){return t=A(t).replace(/([^\\]):/g,"$1\\:"),C(T.doc.querySelector(t))},n.selectAll=function(t){for(var e=T.doc.querySelectorAll(t),r=(n.set||Array)(),i=0;i<e.length;i++)r.push(C(e[i]));return r},setInterval(function(){for(var t in J)if(J[S](t)){var e=J[t],n=e.node;("svg"!=e.type&&!n.ownerSVGElement||"svg"==e.type&&(!n.parentNode||"ownerSVGElement"in n.parentNode&&!n.ownerSVGElement))&&delete J[t]}},1e4),b.prototype.attr=function(t,n){var r=this,o=r.node;if(!t){if(1!=o.nodeType)return{text:o.nodeValue};for(var a=o.attributes,s={},u=0,l=a.length;u<l;u++)s[a[u].nodeName]=a[u].nodeValue;return s}if(i(t,"string")){if(!(arguments.length>1))return e("snap.util.getattr."+t,r).firstDefined();var c={};c[t]=n,t=c}for(var f in t)t[S](f)&&e("snap.util.attr."+f,r,t[f]);return r},n.parse=function(t){var e=T.doc.createDocumentFragment(),n=!0,r=T.doc.createElement("div");if(t=A(t),t.match(/^\s*<\s*svg(?:\s|>)/)||(t="<svg>"+t+"</svg>",n=!1),r.innerHTML=t,t=r.getElementsByTagName("svg")[0])if(n)e=t;else for(;t.firstChild;)e.appendChild(t.firstChild);return new x(e)},n.fragment=function(){for(var t=Array.prototype.slice.call(arguments,0),e=T.doc.createDocumentFragment(),r=0,i=t.length;r<i;r++){var o=t[r];o.node&&o.node.nodeType&&e.appendChild(o.node),o.nodeType&&e.appendChild(o),"string"==typeof o&&e.appendChild(n.parse(o).node)}return new x(e)},n._.make=_,n._.wrap=C,w.prototype.el=function(t,e){var n=_(t,this.node);return e&&n.attr(e),n},b.prototype.children=function(){for(var t=[],e=this.node.childNodes,r=0,i=e.length;r<i;r++)t[r]=n(e[r]);return t},b.prototype.toJSON=function(){var t=[];return k([this],t),t[0]},e.on("snap.util.getattr",function(){var t=e.nt();t=t.substring(t.lastIndexOf(".")+1);var n=t.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()});return nt[S](n)?this.node.ownerDocument.defaultView.getComputedStyle(this.node,null).getPropertyValue(n):r(this.node,t)});var nt={"alignment-baseline":0,"baseline-shift":0,clip:0,"clip-path":0,"clip-rule":0,color:0,"color-interpolation":0,"color-interpolation-filters":0,"color-profile":0,"color-rendering":0,cursor:0,direction:0,display:0,"dominant-baseline":0,"enable-background":0,fill:0,"fill-opacity":0,"fill-rule":0,filter:0,"flood-color":0,"flood-opacity":0,font:0,"font-family":0,"font-size":0,"font-size-adjust":0,"font-stretch":0,"font-style":0,"font-variant":0,"font-weight":0,"glyph-orientation-horizontal":0,"glyph-orientation-vertical":0,"image-rendering":0,kerning:0,"letter-spacing":0,"lighting-color":0,marker:0,"marker-end":0,"marker-mid":0,"marker-start":0,mask:0,opacity:0,overflow:0,"pointer-events":0,"shape-rendering":0,"stop-color":0,"stop-opacity":0,stroke:0,"stroke-dasharray":0,"stroke-dashoffset":0,"stroke-linecap":0,"stroke-linejoin":0,"stroke-miterlimit":0,"stroke-opacity":0,"stroke-width":0,"text-anchor":0,"text-decoration":0,"text-rendering":0,"unicode-bidi":0,visibility:0,"word-spacing":0,"writing-mode":0};e.on("snap.util.attr",function(t){var n=e.nt(),i={};n=n.substring(n.lastIndexOf(".")+1),i[n]=t;var o=n.replace(/-(\w)/gi,function(t,e){return e.toUpperCase()}),a=n.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()});nt[S](a)?this.node.style[o]=null==t?D:t:r(this.node,i)}),function(t){}(w.prototype),n.ajax=function(t,n,r,o){var a=new XMLHttpRequest,s=U();if(a){if(i(n,"function"))o=r,r=n,n=null;else if(i(n,"object")){var u=[];for(var l in n)n.hasOwnProperty(l)&&u.push(encodeURIComponent(l)+"="+encodeURIComponent(n[l]));n=u.join("&")}return a.open(n?"POST":"GET",t,!0),n&&(a.setRequestHeader("X-Requested-With","XMLHttpRequest"),a.setRequestHeader("Content-type","application/x-www-form-urlencoded")),r&&(e.once("snap.ajax."+s+".0",r),e.once("snap.ajax."+s+".200",r),e.once("snap.ajax."+s+".304",r)),a.onreadystatechange=function(){4==a.readyState&&e("snap.ajax."+s+"."+a.status,o,a)},4==a.readyState?a:(a.send(n),a)}},n.load=function(t,e,r){n.ajax(t,function(t){var i=n.parse(t.responseText);r?e.call(r,i):e(i)})};var rt=function(t){var e=t.getBoundingClientRect(),n=t.ownerDocument,r=n.body,i=n.documentElement,o=i.clientTop||r.clientTop||0,a=i.clientLeft||r.clientLeft||0,s=e.top+(g.win.pageYOffset||i.scrollTop||r.scrollTop)-o,u=e.left+(g.win.pageXOffset||i.scrollLeft||r.scrollLeft)-a;return{y:s,x:u}};return n.getElementByPoint=function(t,e){var n=this,r=(n.canvas,T.doc.elementFromPoint(t,e));if(T.win.opera&&"svg"==r.tagName){var i=rt(r),o=r.createSVGRect();o.x=t-i.x,o.y=e-i.y,o.width=o.height=1;var a=r.getIntersectionList(o,null);a.length&&(r=a[a.length-1])}return r?C(r):null},n.plugin=function(t){t(n,b,w,T,x)},T.win.Snap=n,n}(t||this);return r.plugin(function(r,i,o,a,s){function u(t,e){if(null==e){var n=!0;if(e="linearGradient"==t.type||"radialGradient"==t.type?t.node.getAttribute("gradientTransform"):"pattern"==t.type?t.node.getAttribute("patternTransform"):t.node.getAttribute("transform"),!e)return new r.Matrix;e=r._.svgTransform2string(e)}else e=r._.rgTransform.test(e)?p(e).replace(/\.{3}|\u2026/g,t._.transform||E):r._.svgTransform2string(e),d(e,"array")&&(e=r.path?r.path.toString.call(e):p(e)),t._.transform=e;var i=r._.transform2matrix(e,t.getBBox(1));return n?i:void(t.matrix=i)}function l(t){function e(t,e){var n=g(t.node,e);n=n&&n.match(o),n=n&&n[2],n&&"#"==n.charAt()&&(n=n.substring(1),n&&(s[n]=(s[n]||[]).concat(function(n){var r={};r[e]=URL(n),g(t.node,r)})))}function n(t){var e=g(t.node,"xlink:href");e&&"#"==e.charAt()&&(e=e.substring(1),e&&(s[e]=(s[e]||[]).concat(function(e){t.attr("xlink:href","#"+e)})))}for(var r,i=t.selectAll("*"),o=/^\s*url\(("|'|)(.*)\1\)\s*$/,a=[],s={},u=0,l=i.length;u<l;u++){r=i[u],e(r,"fill"),e(r,"stroke"),e(r,"filter"),e(r,"mask"),e(r,"clip-path"),n(r);var c=g(r.node,"id");c&&(g(r.node,{id:r.id}),a.push({old:c,id:r.id}))}for(u=0,l=a.length;u<l;u++){var f=s[a[u].old];if(f)for(var h=0,d=f.length;h<d;h++)f[h](a[u].id)}}function c(t,e,n){return function(r){var i=r.slice(t,e);return 1==i.length&&(i=i[0]),n?n(i):i}}function f(t){return function(){var e=t?"<"+this.type:"",n=this.node.attributes,r=this.node.childNodes;if(t)for(var i=0,o=n.length;i<o;i++)e+=" "+n[i].name+'="'+n[i].value.replace(/"/g,'\\"')+'"';if(r.length){for(t&&(e+=">"),i=0,o=r.length;i<o;i++)3==r[i].nodeType?e+=r[i].nodeValue:1==r[i].nodeType&&(e+=x(r[i]).toString());t&&(e+="</"+this.type+">")}else t&&(e+="/>");return e}}var h=i.prototype,d=r.is,p=String,v=r._unit2px,g=r._.$,m=r._.make,y=r._.getSomeDefs,b="hasOwnProperty",x=r._.wrap;h.getBBox=function(t){if(!r.Matrix||!r.path)return this.node.getBBox();var e=this,n=new r.Matrix;if(e.removed)return r._.box();for(;"use"==e.type;)if(t||(n=n.add(e.transform().localMatrix.translate(e.attr("x")||0,e.attr("y")||0))),e.original)e=e.original;else{var i=e.attr("xlink:href");e=e.original=e.node.ownerDocument.getElementById(i.substring(i.indexOf("#")+1))}var o=e._,a=r.path.get[e.type]||r.path.get.deflt;try{return t?(o.bboxwt=a?r.path.getBBox(e.realPath=a(e)):r._.box(e.node.getBBox()),r._.box(o.bboxwt)):(e.realPath=a(e),e.matrix=e.transform().localMatrix,o.bbox=r.path.getBBox(r.path.map(e.realPath,n.add(e.matrix))),r._.box(o.bbox))}catch(s){return r._.box()}};var _=function(){return this.string};h.transform=function(t){var e=this._;if(null==t){for(var n,i=this,o=new r.Matrix(this.node.getCTM()),a=u(this),s=[a],l=new r.Matrix,c=a.toTransformString(),f=p(a)==p(this.matrix)?p(e.transform):c;"svg"!=i.type&&(i=i.parent());)s.push(u(i));for(n=s.length;n--;)l.add(s[n]);return{string:f,globalMatrix:o,totalMatrix:l,localMatrix:a,diffMatrix:o.clone().add(a.invert()),global:o.toTransformString(),total:l.toTransformString(),local:c,toString:_}}return t instanceof r.Matrix?(this.matrix=t,this._.transform=t.toTransformString()):u(this,t),this.node&&("linearGradient"==this.type||"radialGradient"==this.type?g(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?g(this.node,{patternTransform:this.matrix}):g(this.node,{transform:this.matrix})),this},h.parent=function(){return x(this.node.parentNode)},h.append=h.add=function(t){if(t){if("set"==t.type){var e=this;return t.forEach(function(t){e.add(t)}),this}t=x(t),this.node.appendChild(t.node),t.paper=this.paper}return this},h.appendTo=function(t){return t&&(t=x(t),t.append(this)),this},h.prepend=function(t){if(t){if("set"==t.type){var e,n=this;return t.forEach(function(t){e?e.after(t):n.prepend(t),e=t}),this}t=x(t);var r=t.parent();this.node.insertBefore(t.node,this.node.firstChild),this.add&&this.add(),t.paper=this.paper,this.parent()&&this.parent().add(),r&&r.add()}return this},h.prependTo=function(t){return t=x(t),t.prepend(this),this},h.before=function(t){if("set"==t.type){var e=this;return t.forEach(function(t){var n=t.parent();e.node.parentNode.insertBefore(t.node,e.node),n&&n.add()}),this.parent().add(),this}t=x(t);var n=t.parent();return this.node.parentNode.insertBefore(t.node,this.node),this.parent()&&this.parent().add(),n&&n.add(),t.paper=this.paper,this},h.after=function(t){t=x(t);var e=t.parent();return this.node.nextSibling?this.node.parentNode.insertBefore(t.node,this.node.nextSibling):this.node.parentNode.appendChild(t.node),this.parent()&&this.parent().add(),e&&e.add(),t.paper=this.paper,this},h.insertBefore=function(t){t=x(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},h.insertAfter=function(t){t=x(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node.nextSibling),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},h.remove=function(){var t=this.parent();return this.node.parentNode&&this.node.parentNode.removeChild(this.node),delete this.paper,this.removed=!0,t&&t.add(),this},h.select=function(t){return t=p(t).replace(/([^\\]):/g,"$1\\:"),x(this.node.querySelector(t))},h.selectAll=function(t){for(var e=this.node.querySelectorAll(t),n=(r.set||Array)(),i=0;i<e.length;i++)n.push(x(e[i]));return n},h.asPX=function(t,e){return null==e&&(e=this.attr(t)),+v(this,t,e)},h.use=function(){var t,e=this.node.id;return e||(e=this.id,g(this.node,{id:e})),t="linearGradient"==this.type||"radialGradient"==this.type||"pattern"==this.type?m(this.type,this.node.parentNode):m("use",this.node.parentNode),g(t.node,{"xlink:href":"#"+e}),t.original=this,t},h.clone=function(){var t=x(this.node.cloneNode(!0));return g(t.node,"id")&&g(t.node,{id:t.id}),l(t),t.insertAfter(this),t},h.toDefs=function(){var t=y(this);return t.appendChild(this.node),this},h.pattern=h.toPattern=function(t,e,n,r){var i=m("pattern",y(this));return null==t&&(t=this.getBBox()),d(t,"object")&&"x"in t&&(e=t.y,n=t.width,r=t.height,t=t.x),g(i.node,{x:t,y:e,width:n,height:r,patternUnits:"userSpaceOnUse",id:i.id,viewBox:[t,e,n,r].join(" ")}),i.node.appendChild(this.node),i},h.marker=function(t,e,n,r,i,o){var a=m("marker",y(this));return null==t&&(t=this.getBBox()),d(t,"object")&&"x"in t&&(e=t.y,n=t.width,r=t.height,i=t.refX||t.cx,o=t.refY||t.cy,t=t.x),g(a.node,{viewBox:[t,e,n,r].join(" "),markerWidth:n,markerHeight:r,orient:"auto",refX:i||0,refY:o||0,id:a.id}),a.node.appendChild(this.node),a};var w=function(t,e,r,i){"function"!=typeof r||r.length||(i=r,r=n.linear),this.attr=t,this.dur=e,r&&(this.easing=r),i&&(this.callback=i)};r._.Animation=w,r.animation=function(t,e,n,r){return new w(t,e,n,r)},h.inAnim=function(){var t=this,e=[];for(var n in t.anims)t.anims[b](n)&&!function(t){e.push({anim:new w(t._attrs,t.dur,t.easing,t._callback),mina:t,curStatus:t.status(),status:function(e){return t.status(e)},stop:function(){t.stop()}})}(t.anims[n]);return e},r.animate=function(t,r,i,o,a,s){"function"!=typeof a||a.length||(s=a,a=n.linear);var u=n.time(),l=n(t,r,u,u+o,n.time,i,a);return s&&e.once("mina.finish."+l.id,s),l},h.stop=function(){for(var t=this.inAnim(),e=0,n=t.length;e<n;e++)t[e].stop();return this},h.animate=function(t,r,i,o){"function"!=typeof i||i.length||(o=i,i=n.linear),t instanceof w&&(o=t.callback,i=t.easing,r=i.dur,t=t.attr);var a,s,u,l,f=[],h=[],v={},g=this;for(var m in t)if(t[b](m)){g.equal?(l=g.equal(m,p(t[m])),a=l.from,s=l.to,u=l.f):(a=+g.attr(m),s=+t[m]);var y=d(a,"array")?a.length:1;v[m]=c(f.length,f.length+y,u),f=f.concat(a),h=h.concat(s)}var x=n.time(),_=n(f,h,x,x+r,n.time,function(t){var e={};for(var n in v)v[b](n)&&(e[n]=v[n](t));g.attr(e)},i);return g.anims[_.id]=_,_._attrs=t,_._callback=o,e("snap.animcreated."+g.id,_),e.once("mina.finish."+_.id,function(){delete g.anims[_.id],o&&o.call(g)}),e.once("mina.stop."+_.id,function(){delete g.anims[_.id]}),g};var C={};h.data=function(t,n){var i=C[this.id]=C[this.id]||{};if(0==arguments.length)return e("snap.data.get."+this.id,this,i,null),i;if(1==arguments.length){if(r.is(t,"object")){for(var o in t)t[b](o)&&this.data(o,t[o]);return this}return e("snap.data.get."+this.id,this,i[t],t),i[t]}return i[t]=n,e("snap.data.set."+this.id,this,n,t),this},h.removeData=function(t){return null==t?C[this.id]={}:C[this.id]&&delete C[this.id][t],this},h.outerSVG=h.toString=f(1),h.innerSVG=f(),h.toDataURL=function(){if(t&&t.btoa){var e=this.getBBox(),n=r.format('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="{width}" height="{height}" viewBox="{x} {y} {width} {height}">{contents}</svg>',{x:+e.x.toFixed(3),y:+e.y.toFixed(3),width:+e.width.toFixed(3),height:+e.height.toFixed(3),contents:this.outerSVG()});return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(n)))}},s.prototype.select=h.select,s.prototype.selectAll=h.selectAll}),r.plugin(function(t,e,n,r,i){function o(t,e,n,r,i,o){return null==e&&"[object SVGMatrix]"==a.call(t)?(this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.e=t.e,void(this.f=t.f)):void(null!=t?(this.a=+t,this.b=+e,this.c=+n,this.d=+r,this.e=+i,this.f=+o):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0))}var a=Object.prototype.toString,s=String,u=Math,l="";!function(e){function n(t){return t[0]*t[0]+t[1]*t[1]}function r(t){var e=u.sqrt(n(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}e.add=function(t,e,n,r,i,a){var s,u,l,c,f=[[],[],[]],h=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],d=[[t,n,i],[e,r,a],[0,0,1]];for(t&&t instanceof o&&(d=[[t.a,t.c,t.e],[t.b,t.d,t.f],[0,0,1]]),s=0;s<3;s++)for(u=0;u<3;u++){for(c=0,l=0;l<3;l++)c+=h[s][l]*d[l][u];f[s][u]=c}return this.a=f[0][0],this.b=f[1][0],this.c=f[0][1],this.d=f[1][1],this.e=f[0][2],this.f=f[1][2],this},e.invert=function(){var t=this,e=t.a*t.d-t.b*t.c;return new o(t.d/e,-t.b/e,-t.c/e,t.a/e,(t.c*t.f-t.d*t.e)/e,(t.b*t.e-t.a*t.f)/e)},e.clone=function(){return new o(this.a,this.b,this.c,this.d,this.e,this.f);
-},e.translate=function(t,e){return this.add(1,0,0,1,t,e)},e.scale=function(t,e,n,r){return null==e&&(e=t),(n||r)&&this.add(1,0,0,1,n,r),this.add(t,0,0,e,0,0),(n||r)&&this.add(1,0,0,1,-n,-r),this},e.rotate=function(e,n,r){e=t.rad(e),n=n||0,r=r||0;var i=+u.cos(e).toFixed(9),o=+u.sin(e).toFixed(9);return this.add(i,o,-o,i,n,r),this.add(1,0,0,1,-n,-r)},e.x=function(t,e){return t*this.a+e*this.c+this.e},e.y=function(t,e){return t*this.b+e*this.d+this.f},e.get=function(t){return+this[s.fromCharCode(97+t)].toFixed(4)},e.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"},e.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},e.determinant=function(){return this.a*this.d-this.b*this.c},e.split=function(){var e={};e.dx=this.e,e.dy=this.f;var i=[[this.a,this.c],[this.b,this.d]];e.scalex=u.sqrt(n(i[0])),r(i[0]),e.shear=i[0][0]*i[1][0]+i[0][1]*i[1][1],i[1]=[i[1][0]-i[0][0]*e.shear,i[1][1]-i[0][1]*e.shear],e.scaley=u.sqrt(n(i[1])),r(i[1]),e.shear/=e.scaley,this.determinant()<0&&(e.scalex=-e.scalex);var o=-i[0][1],a=i[1][1];return a<0?(e.rotate=t.deg(u.acos(a)),o<0&&(e.rotate=360-e.rotate)):e.rotate=t.deg(u.asin(o)),e.isSimple=!(+e.shear.toFixed(9)||e.scalex.toFixed(9)!=e.scaley.toFixed(9)&&e.rotate),e.isSuperSimple=!+e.shear.toFixed(9)&&e.scalex.toFixed(9)==e.scaley.toFixed(9)&&!e.rotate,e.noRotation=!+e.shear.toFixed(9)&&!e.rotate,e},e.toTransformString=function(t){var e=t||this.split();return+e.shear.toFixed(9)?"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]:(e.scalex=+e.scalex.toFixed(4),e.scaley=+e.scaley.toFixed(4),e.rotate=+e.rotate.toFixed(4),(e.dx||e.dy?"t"+[+e.dx.toFixed(4),+e.dy.toFixed(4)]:l)+(1!=e.scalex||1!=e.scaley?"s"+[e.scalex,e.scaley,0,0]:l)+(e.rotate?"r"+[+e.rotate.toFixed(4),0,0]:l))}}(o.prototype),t.Matrix=o,t.matrix=function(t,e,n,r,i,a){return new o(t,e,n,r,i,a)}}),r.plugin(function(t,n,r,i,o){function a(r){return function(i){if(e.stop(),i instanceof o&&1==i.node.childNodes.length&&("radialGradient"==i.node.firstChild.tagName||"linearGradient"==i.node.firstChild.tagName||"pattern"==i.node.firstChild.tagName)&&(i=i.node.firstChild,d(this).appendChild(i),i=f(i)),i instanceof n)if("radialGradient"==i.type||"linearGradient"==i.type||"pattern"==i.type){i.node.id||v(i.node,{id:i.id});var a=g(i.node.id)}else a=i.attr(r);else if(a=t.color(i),a.error){var s=t(d(this).ownerSVGElement).gradient(i);s?(s.node.id||v(s.node,{id:s.id}),a=g(s.node.id)):a=i}else a=m(a);var u={};u[r]=a,v(this.node,u),this.node.style[r]=b}}function s(t){e.stop(),t==+t&&(t+="px"),this.node.style.fontSize=t}function u(t){for(var e=[],n=t.childNodes,r=0,i=n.length;r<i;r++){var o=n[r];3==o.nodeType&&e.push(o.nodeValue),"tspan"==o.tagName&&(1==o.childNodes.length&&3==o.firstChild.nodeType?e.push(o.firstChild.nodeValue):e.push(u(o)))}return e}function l(){return e.stop(),this.node.style.fontSize}var c=t._.make,f=t._.wrap,h=t.is,d=t._.getSomeDefs,p=/^url\(#?([^)]+)\)$/,v=t._.$,g=t.url,m=String,y=t._.separator,b="";e.on("snap.util.attr.mask",function(t){if(t instanceof n||t instanceof o){if(e.stop(),t instanceof o&&1==t.node.childNodes.length&&(t=t.node.firstChild,d(this).appendChild(t),t=f(t)),"mask"==t.type)var r=t;else r=c("mask",d(this)),r.node.appendChild(t.node);!r.node.id&&v(r.node,{id:r.id}),v(this.node,{mask:g(r.id)})}}),function(t){e.on("snap.util.attr.clip",t),e.on("snap.util.attr.clip-path",t),e.on("snap.util.attr.clipPath",t)}(function(t){if(t instanceof n||t instanceof o){if(e.stop(),"clipPath"==t.type)var r=t;else r=c("clipPath",d(this)),r.node.appendChild(t.node),!r.node.id&&v(r.node,{id:r.id});v(this.node,{"clip-path":g(r.node.id||r.id)})}}),e.on("snap.util.attr.fill",a("fill")),e.on("snap.util.attr.stroke",a("stroke"));var x=/^([lr])(?:\(([^)]*)\))?(.*)$/i;e.on("snap.util.grad.parse",function(t){t=m(t);var e=t.match(x);if(!e)return null;var n=e[1],r=e[2],i=e[3];return r=r.split(/\s*,\s*/).map(function(t){return+t==t?+t:t}),1==r.length&&0==r[0]&&(r=[]),i=i.split("-"),i=i.map(function(t){t=t.split(":");var e={color:t[0]};return t[1]&&(e.offset=parseFloat(t[1])),e}),{type:n,params:r,stops:i}}),e.on("snap.util.attr.d",function(n){e.stop(),h(n,"array")&&h(n[0],"array")&&(n=t.path.toString.call(n)),n=m(n),n.match(/[ruo]/i)&&(n=t.path.toAbsolute(n)),v(this.node,{d:n})})(-1),e.on("snap.util.attr.#text",function(t){e.stop(),t=m(t);for(var n=i.doc.createTextNode(t);this.node.firstChild;)this.node.removeChild(this.node.firstChild);this.node.appendChild(n)})(-1),e.on("snap.util.attr.path",function(t){e.stop(),this.attr({d:t})})(-1),e.on("snap.util.attr.class",function(t){e.stop(),this.node.className.baseVal=t})(-1),e.on("snap.util.attr.viewBox",function(t){var n;n=h(t,"object")&&"x"in t?[t.x,t.y,t.width,t.height].join(" "):h(t,"array")?t.join(" "):t,v(this.node,{viewBox:n}),e.stop()})(-1),e.on("snap.util.attr.transform",function(t){this.transform(t),e.stop()})(-1),e.on("snap.util.attr.r",function(t){"rect"==this.type&&(e.stop(),v(this.node,{rx:t,ry:t}))})(-1),e.on("snap.util.attr.textpath",function(t){if(e.stop(),"text"==this.type){var r,i,o;if(!t&&this.textPath){for(i=this.textPath;i.node.firstChild;)this.node.appendChild(i.node.firstChild);return i.remove(),void delete this.textPath}if(h(t,"string")){var a=d(this),s=f(a.parentNode).path(t);a.appendChild(s.node),r=s.id,s.attr({id:r})}else t=f(t),t instanceof n&&(r=t.attr("id"),r||(r=t.id,t.attr({id:r})));if(r)if(i=this.textPath,o=this.node,i)i.attr({"xlink:href":"#"+r});else{for(i=v("textPath",{"xlink:href":"#"+r});o.firstChild;)i.appendChild(o.firstChild);o.appendChild(i),this.textPath=f(i)}}})(-1),e.on("snap.util.attr.text",function(t){if("text"==this.type){for(var n=this.node,r=function a(t){var e=v("tspan");if(h(t,"array"))for(var n=0;n<t.length;n++)e.appendChild(a(t[n]));else e.appendChild(i.doc.createTextNode(t));return e.normalize&&e.normalize(),e};n.firstChild;)n.removeChild(n.firstChild);for(var o=r(t);o.firstChild;)n.appendChild(o.firstChild)}e.stop()})(-1),e.on("snap.util.attr.fontSize",s)(-1),e.on("snap.util.attr.font-size",s)(-1),e.on("snap.util.getattr.transform",function(){return e.stop(),this.transform()})(-1),e.on("snap.util.getattr.textpath",function(){return e.stop(),this.textPath})(-1),function(){function n(n){return function(){e.stop();var r=i.doc.defaultView.getComputedStyle(this.node,null).getPropertyValue("marker-"+n);return"none"==r?r:t(i.doc.getElementById(r.match(p)[1]))}}function r(t){return function(n){e.stop();var r="marker"+t.charAt(0).toUpperCase()+t.substring(1);if(""==n||!n)return void(this.node.style[r]="none");if("marker"==n.type){var i=n.node.id;return i||v(n.node,{id:n.id}),void(this.node.style[r]=g(i))}}}e.on("snap.util.getattr.marker-end",n("end"))(-1),e.on("snap.util.getattr.markerEnd",n("end"))(-1),e.on("snap.util.getattr.marker-start",n("start"))(-1),e.on("snap.util.getattr.markerStart",n("start"))(-1),e.on("snap.util.getattr.marker-mid",n("mid"))(-1),e.on("snap.util.getattr.markerMid",n("mid"))(-1),e.on("snap.util.attr.marker-end",r("end"))(-1),e.on("snap.util.attr.markerEnd",r("end"))(-1),e.on("snap.util.attr.marker-start",r("start"))(-1),e.on("snap.util.attr.markerStart",r("start"))(-1),e.on("snap.util.attr.marker-mid",r("mid"))(-1),e.on("snap.util.attr.markerMid",r("mid"))(-1)}(),e.on("snap.util.getattr.r",function(){if("rect"==this.type&&v(this.node,"rx")==v(this.node,"ry"))return e.stop(),v(this.node,"rx")})(-1),e.on("snap.util.getattr.text",function(){if("text"==this.type||"tspan"==this.type){e.stop();var t=u(this.node);return 1==t.length?t[0]:t}})(-1),e.on("snap.util.getattr.#text",function(){return this.node.textContent})(-1),e.on("snap.util.getattr.viewBox",function(){e.stop();var n=v(this.node,"viewBox");return n?(n=n.split(y),t._.box(+n[0],+n[1],+n[2],+n[3])):void 0})(-1),e.on("snap.util.getattr.points",function(){var t=v(this.node,"points");return e.stop(),t?t.split(y):void 0})(-1),e.on("snap.util.getattr.path",function(){var t=v(this.node,"d");return e.stop(),t})(-1),e.on("snap.util.getattr.class",function(){return this.node.className.baseVal})(-1),e.on("snap.util.getattr.fontSize",l)(-1),e.on("snap.util.getattr.font-size",l)(-1)}),r.plugin(function(t,e,n,r,i){var o=/\S+/g,a=String,s=e.prototype;s.addClass=function(t){var e,n,r,i,s=a(t||"").match(o)||[],u=this.node,l=u.className.baseVal,c=l.match(o)||[];if(s.length){for(e=0;r=s[e++];)n=c.indexOf(r),~n||c.push(r);i=c.join(" "),l!=i&&(u.className.baseVal=i)}return this},s.removeClass=function(t){var e,n,r,i,s=a(t||"").match(o)||[],u=this.node,l=u.className.baseVal,c=l.match(o)||[];if(c.length){for(e=0;r=s[e++];)n=c.indexOf(r),~n&&c.splice(n,1);i=c.join(" "),l!=i&&(u.className.baseVal=i)}return this},s.hasClass=function(t){var e=this.node,n=e.className.baseVal,r=n.match(o)||[];return!!~r.indexOf(t)},s.toggleClass=function(t,e){if(null!=e)return e?this.addClass(t):this.removeClass(t);var n,r,i,a,s=(t||"").match(o)||[],u=this.node,l=u.className.baseVal,c=l.match(o)||[];for(n=0;i=s[n++];)r=c.indexOf(i),~r?c.splice(r,1):c.push(i);return a=c.join(" "),l!=a&&(u.className.baseVal=a),this}}),r.plugin(function(t,n,r,i,o){function a(t){return t}function s(t){return function(e){return+e.toFixed(3)+t}}var u={"+":function(t,e){return t+e},"-":function(t,e){return t-e},"/":function(t,e){return t/e},"*":function(t,e){return t*e}},l=String,c=/[a-z]+$/i,f=/^\s*([+\-\/*])\s*=\s*([\d.eE+\-]+)\s*([^\d\s]+)?\s*$/;e.on("snap.util.attr",function(t){var n=l(t).match(f);if(n){var r=e.nt(),i=r.substring(r.lastIndexOf(".")+1),o=this.attr(i),a={};e.stop();var s=n[3]||"",h=o.match(c),d=u[n[1]];if(h&&h==s?t=d(parseFloat(o),+n[2]):(o=this.asPX(i),t=d(this.asPX(i),this.asPX(i,n[2]+s))),isNaN(o)||isNaN(t))return;a[i]=t,this.attr(a)}})(-10),e.on("snap.util.equal",function(t,n){var r=l(this.attr(t)||""),i=l(n).match(f);if(i){e.stop();var o=i[3]||"",h=r.match(c),d=u[i[1]];return h&&h==o?{from:parseFloat(r),to:d(parseFloat(r),+i[2]),f:s(h)}:(r=this.asPX(t),{from:r,to:d(r,this.asPX(t,i[2]+o)),f:a})}})(-10)}),r.plugin(function(n,r,i,o,a){var s=i.prototype,u=n.is;s.rect=function(t,e,n,r,i,o){var a;return null==o&&(o=i),u(t,"object")&&"[object Object]"==t?a=t:null!=t&&(a={x:t,y:e,width:n,height:r},null!=i&&(a.rx=i,a.ry=o)),this.el("rect",a)},s.circle=function(t,e,n){var r;return u(t,"object")&&"[object Object]"==t?r=t:null!=t&&(r={cx:t,cy:e,r:n}),this.el("circle",r)};var l=function(){function t(){this.parentNode.removeChild(this)}return function(e,n){var r=o.doc.createElement("img"),i=o.doc.body;r.style.cssText="position:absolute;left:-9999em;top:-9999em",r.onload=function(){n.call(r),r.onload=r.onerror=null,i.removeChild(r)},r.onerror=t,i.appendChild(r),r.src=e}}();s.image=function(t,e,r,i,o){var a=this.el("image");if(u(t,"object")&&"src"in t)a.attr(t);else if(null!=t){var s={"xlink:href":t,preserveAspectRatio:"none"};null!=e&&null!=r&&(s.x=e,s.y=r),null!=i&&null!=o?(s.width=i,s.height=o):l(t,function(){n._.$(a.node,{width:this.offsetWidth,height:this.offsetHeight})}),n._.$(a.node,s)}return a},s.ellipse=function(t,e,n,r){var i;return u(t,"object")&&"[object Object]"==t?i=t:null!=t&&(i={cx:t,cy:e,rx:n,ry:r}),this.el("ellipse",i)},s.path=function(t){var e;return u(t,"object")&&!u(t,"array")?e=t:t&&(e={d:t}),this.el("path",e)},s.group=s.g=function(t){var e=this.el("g");return 1==arguments.length&&t&&!t.type?e.attr(t):arguments.length&&e.add(Array.prototype.slice.call(arguments,0)),e},s.svg=function(t,e,n,r,i,o,a,s){var l={};return u(t,"object")&&null==e?l=t:(null!=t&&(l.x=t),null!=e&&(l.y=e),null!=n&&(l.width=n),null!=r&&(l.height=r),null!=i&&null!=o&&null!=a&&null!=s&&(l.viewBox=[i,o,a,s])),this.el("svg",l)},s.mask=function(t){var e=this.el("mask");return 1==arguments.length&&t&&!t.type?e.attr(t):arguments.length&&e.add(Array.prototype.slice.call(arguments,0)),e},s.ptrn=function(t,e,n,r,i,o,a,s){if(u(t,"object"))var l=t;else l={patternUnits:"userSpaceOnUse"},t&&(l.x=t),e&&(l.y=e),null!=n&&(l.width=n),null!=r&&(l.height=r),null!=i&&null!=o&&null!=a&&null!=s?l.viewBox=[i,o,a,s]:l.viewBox=[t||0,e||0,n||0,r||0];return this.el("pattern",l)},s.use=function(t){return null!=t?(t instanceof r&&(t.attr("id")||t.attr({id:n._.id(t)}),t=t.attr("id")),"#"==String(t).charAt()&&(t=t.substring(1)),this.el("use",{"xlink:href":"#"+t})):r.prototype.use.call(this)},s.symbol=function(t,e,n,r){var i={};return null!=t&&null!=e&&null!=n&&null!=r&&(i.viewBox=[t,e,n,r]),this.el("symbol",i)},s.text=function(t,e,n){var r={};return u(t,"object")?r=t:null!=t&&(r={x:t,y:e,text:n||""}),this.el("text",r)},s.line=function(t,e,n,r){var i={};return u(t,"object")?i=t:null!=t&&(i={x1:t,x2:n,y1:e,y2:r}),this.el("line",i)},s.polyline=function(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments,0));var e={};return u(t,"object")&&!u(t,"array")?e=t:null!=t&&(e={points:t}),this.el("polyline",e)},s.polygon=function(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments,0));var e={};return u(t,"object")&&!u(t,"array")?e=t:null!=t&&(e={points:t}),this.el("polygon",e)},function(){function r(){return this.selectAll("stop")}function i(t,e){var r=c("stop"),i={offset:+e+"%"};return t=n.color(t),i["stop-color"]=t.hex,t.opacity<1&&(i["stop-opacity"]=t.opacity),c(r,i),this.node.appendChild(r),this}function o(){if("linearGradient"==this.type){var t=c(this.node,"x1")||0,e=c(this.node,"x2")||1,r=c(this.node,"y1")||0,i=c(this.node,"y2")||0;return n._.box(t,r,math.abs(e-t),math.abs(i-r))}var o=this.node.cx||.5,a=this.node.cy||.5,s=this.node.r||0;return n._.box(o-s,a-s,2*s,2*s)}function a(t,n){function r(t,e){for(var n=(e-f)/(t-h),r=h;r<t;r++)a[r].offset=+(+f+n*(r-h)).toFixed(2);h=t,f=e}var i,o=e("snap.util.grad.parse",null,n).firstDefined();if(!o)return null;o.params.unshift(t),i="l"==o.type.toLowerCase()?u.apply(0,o.params):l.apply(0,o.params),o.type!=o.type.toLowerCase()&&c(i.node,{gradientUnits:"userSpaceOnUse"});var a=o.stops,s=a.length,f=0,h=0;s--;for(var d=0;d<s;d++)"offset"in a[d]&&r(d,a[d].offset);for(a[s].offset=a[s].offset||100,r(s,a[s].offset),d=0;d<=s;d++){var p=a[d];i.addStop(p.color,p.offset)}return i}function u(t,e,a,s,u){var l=n._.make("linearGradient",t);return l.stops=r,l.addStop=i,l.getBBox=o,null!=e&&c(l.node,{x1:e,y1:a,x2:s,y2:u}),l}function l(t,e,a,s,u,l){var f=n._.make("radialGradient",t);return f.stops=r,f.addStop=i,f.getBBox=o,null!=e&&c(f.node,{cx:e,cy:a,r:s}),null!=u&&null!=l&&c(f.node,{fx:u,fy:l}),f}var c=n._.$;s.gradient=function(t){return a(this.defs,t)},s.gradientLinear=function(t,e,n,r){return u(this.defs,t,e,n,r)},s.gradientRadial=function(t,e,n,r,i){return l(this.defs,t,e,n,r,i)},s.toString=function(){var t,e=this.node.ownerDocument,r=e.createDocumentFragment(),i=e.createElement("div"),o=this.node.cloneNode(!0);return r.appendChild(i),i.appendChild(o),n._.$(o,{xmlns:"http://www.w3.org/2000/svg"}),t=i.innerHTML,r.removeChild(r.firstChild),t},s.toDataURL=function(){if(t&&t.btoa)return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(this)))},s.clear=function(){for(var t,e=this.node.firstChild;e;)t=e.nextSibling,"defs"!=e.tagName?e.parentNode.removeChild(e):s.clear.call({node:e}),e=t}}()}),r.plugin(function(t,e,n,r){function i(t){var e=i.ps=i.ps||{};return e[t]?e[t].sleep=100:e[t]={sleep:100},setTimeout(function(){for(var n in e)e[L](n)&&n!=t&&(e[n].sleep--,!e[n].sleep&&delete e[n])}),e[t]}function o(t,e,n,r){return null==t&&(t=e=n=r=0),null==e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:H.min(n,r)/2,r2:H.max(n,r)/2,r0:H.sqrt(n*n+r*r)/2,path:k(t,e,n,r),vb:[t,e,n,r].join(" ")}}function a(){return this.join(",").replace(R,"$1")}function s(t){var e=B(t);return e.toString=a,e}function u(t,e,n,r,i,o,a,s,u){return null==u?v(t,e,n,r,i,o,a,s):c(t,e,n,r,i,o,a,s,g(t,e,n,r,i,o,a,s,u))}function l(n,r){function i(t){return+(+t).toFixed(3)}return t._.cacher(function(t,o,a){t instanceof e&&(t=t.attr("d")),t=M(t);for(var s,l,f,h,d,p="",v={},g=0,m=0,y=t.length;m<y;m++){if(f=t[m],"M"==f[0])s=+f[1],l=+f[2];else{if(h=u(s,l,f[1],f[2],f[3],f[4],f[5],f[6]),g+h>o){if(r&&!v.start){if(d=u(s,l,f[1],f[2],f[3],f[4],f[5],f[6],o-g),p+=["C"+i(d.start.x),i(d.start.y),i(d.m.x),i(d.m.y),i(d.x),i(d.y)],a)return p;v.start=p,p=["M"+i(d.x),i(d.y)+"C"+i(d.n.x),i(d.n.y),i(d.end.x),i(d.end.y),i(f[5]),i(f[6])].join(),g+=h,s=+f[5],l=+f[6];continue}if(!n&&!r)return d=u(s,l,f[1],f[2],f[3],f[4],f[5],f[6],o-g)}g+=h,s=+f[5],l=+f[6]}p+=f.shift()+f}return v.end=p,d=n?g:r?v:c(s,l,f[0],f[1],f[2],f[3],f[4],f[5],1)},null,t._.clone)}function c(t,e,n,r,i,o,a,s,u){var l=1-u,c=U(l,3),f=U(l,2),h=u*u,d=h*u,p=c*t+3*f*u*n+3*l*u*u*i+d*a,v=c*e+3*f*u*r+3*l*u*u*o+d*s,g=t+2*u*(n-t)+h*(i-2*n+t),m=e+2*u*(r-e)+h*(o-2*r+e),y=n+2*u*(i-n)+h*(a-2*i+n),b=r+2*u*(o-r)+h*(s-2*o+r),x=l*t+u*n,_=l*e+u*r,w=l*i+u*a,C=l*o+u*s,k=90-180*H.atan2(g-y,m-b)/q;return{x:p,y:v,m:{x:g,y:m},n:{x:y,y:b},start:{x:x,y:_},end:{x:w,y:C},alpha:k}}function f(e,n,r,i,a,s,u,l){t.is(e,"array")||(e=[e,n,r,i,a,s,u,l]);var c=$.apply(null,e);return o(c.min.x,c.min.y,c.max.x-c.min.x,c.max.y-c.min.y)}function h(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height}function d(t,e){return t=o(t),e=o(e),h(e,t.x,t.y)||h(e,t.x2,t.y)||h(e,t.x,t.y2)||h(e,t.x2,t.y2)||h(t,e.x,e.y)||h(t,e.x2,e.y)||h(t,e.x,e.y2)||h(t,e.x2,e.y2)||(t.x<e.x2&&t.x>e.x||e.x<t.x2&&e.x>t.x)&&(t.y<e.y2&&t.y>e.y||e.y<t.y2&&e.y>t.y)}function p(t,e,n,r,i){var o=-3*e+9*n-9*r+3*i,a=t*o+6*e-12*n+6*r;return t*a-3*e+3*n}function v(t,e,n,r,i,o,a,s,u){null==u&&(u=1),u=u>1?1:u<0?0:u;for(var l=u/2,c=12,f=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],h=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],d=0,v=0;v<c;v++){var g=l*f[v]+l,m=p(g,t,n,i,a),y=p(g,e,r,o,s),b=m*m+y*y;d+=h[v]*H.sqrt(b)}return l*d}function g(t,e,n,r,i,o,a,s,u){if(!(u<0||v(t,e,n,r,i,o,a,s)<u)){var l,c=1,f=c/2,h=c-f,d=.01;for(l=v(t,e,n,r,i,o,a,s,h);W(l-u)>d;)f/=2,h+=(l<u?1:-1)*f,l=v(t,e,n,r,i,o,a,s,h);return h}}function m(t,e,n,r,i,o,a,s){if(!(z(t,n)<V(i,a)||V(t,n)>z(i,a)||z(e,r)<V(o,s)||V(e,r)>z(o,s))){var u=(t*r-e*n)*(i-a)-(t-n)*(i*s-o*a),l=(t*r-e*n)*(o-s)-(e-r)*(i*s-o*a),c=(t-n)*(o-s)-(e-r)*(i-a);if(c){var f=u/c,h=l/c,d=+f.toFixed(2),p=+h.toFixed(2);if(!(d<+V(t,n).toFixed(2)||d>+z(t,n).toFixed(2)||d<+V(i,a).toFixed(2)||d>+z(i,a).toFixed(2)||p<+V(e,r).toFixed(2)||p>+z(e,r).toFixed(2)||p<+V(o,s).toFixed(2)||p>+z(o,s).toFixed(2)))return{x:f,y:h}}}}function y(t,e,n){var r=f(t),i=f(e);if(!d(r,i))return n?0:[];for(var o=v.apply(0,t),a=v.apply(0,e),s=~~(o/8),u=~~(a/8),l=[],h=[],p={},g=n?0:[],y=0;y<s+1;y++){var b=c.apply(0,t.concat(y/s));l.push({x:b.x,y:b.y,t:y/s})}for(y=0;y<u+1;y++)b=c.apply(0,e.concat(y/u)),h.push({x:b.x,y:b.y,t:y/u});for(y=0;y<s;y++)for(var x=0;x<u;x++){var _=l[y],w=l[y+1],C=h[x],k=h[x+1],T=W(w.x-_.x)<.001?"y":"x",S=W(k.x-C.x)<.001?"y":"x",A=m(_.x,_.y,w.x,w.y,C.x,C.y,k.x,k.y);if(A){if(p[A.x.toFixed(4)]==A.y.toFixed(4))continue;p[A.x.toFixed(4)]=A.y.toFixed(4);var j=_.t+W((A[T]-_[T])/(w[T]-_[T]))*(w.t-_.t),E=C.t+W((A[S]-C[S])/(k[S]-C[S]))*(k.t-C.t);j>=0&&j<=1&&E>=0&&E<=1&&(n?g++:g.push({x:A.x,y:A.y,t1:j,t2:E}))}}return g}function b(t,e){return _(t,e)}function x(t,e){return _(t,e,1)}function _(t,e,n){t=M(t),e=M(e);for(var r,i,o,a,s,u,l,c,f,h,d=n?0:[],p=0,v=t.length;p<v;p++){var g=t[p];if("M"==g[0])r=s=g[1],i=u=g[2];else{"C"==g[0]?(f=[r,i].concat(g.slice(1)),r=f[6],i=f[7]):(f=[r,i,r,i,s,u,s,u],r=s,i=u);for(var m=0,b=e.length;m<b;m++){var x=e[m];if("M"==x[0])o=l=x[1],a=c=x[2];else{"C"==x[0]?(h=[o,a].concat(x.slice(1)),o=h[6],a=h[7]):(h=[o,a,o,a,l,c,l,c],o=l,a=c);var _=y(f,h,n);if(n)d+=_;else{for(var w=0,C=_.length;w<C;w++)_[w].segment1=p,_[w].segment2=m,_[w].bez1=f,_[w].bez2=h;d=d.concat(_)}}}}}return d}function w(t,e,n){var r=C(t);return h(r,e,n)&&_(t,[["M",e,n],["H",r.x2+10]],1)%2==1}function C(t){var e=i(t);if(e.bbox)return B(e.bbox);if(!t)return o();t=M(t);for(var n,r=0,a=0,s=[],u=[],l=0,c=t.length;l<c;l++)if(n=t[l],"M"==n[0])r=n[1],a=n[2],s.push(r),u.push(a);else{var f=$(r,a,n[1],n[2],n[3],n[4],n[5],n[6]);s=s.concat(f.min.x,f.max.x),u=u.concat(f.min.y,f.max.y),r=n[5],a=n[6]}var h=V.apply(0,s),d=V.apply(0,u),p=z.apply(0,s),v=z.apply(0,u),g=o(h,d,p-h,v-d);return e.bbox=B(g),g}function k(t,e,n,r,i){if(i)return[["M",+t+ +i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]];var o=[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]];return o.toString=a,o}function T(t,e,n,r,i){if(null==i&&null==r&&(r=n),t=+t,e=+e,n=+n,r=+r,null!=i)var o=Math.PI/180,s=t+n*Math.cos(-r*o),u=t+n*Math.cos(-i*o),l=e+n*Math.sin(-r*o),c=e+n*Math.sin(-i*o),f=[["M",s,l],["A",n,n,0,+(i-r>180),0,u,c]];else f=[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return f.toString=a,f}function S(e){var n=i(e),r=String.prototype.toLowerCase;if(n.rel)return s(n.rel);t.is(e,"array")&&t.is(e&&e[0],"array")||(e=t.parsePathString(e));var o=[],u=0,l=0,c=0,f=0,h=0;"M"==e[0][0]&&(u=e[0][1],l=e[0][2],c=u,f=l,h++,o.push(["M",u,l]));for(var d=h,p=e.length;d<p;d++){var v=o[d]=[],g=e[d];if(g[0]!=r.call(g[0]))switch(v[0]=r.call(g[0]),v[0]){case"a":v[1]=g[1],v[2]=g[2],v[3]=g[3],v[4]=g[4],v[5]=g[5],v[6]=+(g[6]-u).toFixed(3),v[7]=+(g[7]-l).toFixed(3);break;case"v":v[1]=+(g[1]-l).toFixed(3);break;case"m":c=g[1],f=g[2];default:for(var m=1,y=g.length;m<y;m++)v[m]=+(g[m]-(m%2?u:l)).toFixed(3)}else{v=o[d]=[],"m"==g[0]&&(c=g[1]+u,f=g[2]+l);for(var b=0,x=g.length;b<x;b++)o[d][b]=g[b]}var _=o[d].length;switch(o[d][0]){case"z":u=c,l=f;break;case"h":u+=+o[d][_-1];break;case"v":l+=+o[d][_-1];break;default:u+=+o[d][_-2],l+=+o[d][_-1]}}return o.toString=a,n.rel=s(o),o}function A(e){var n=i(e);if(n.abs)return s(n.abs);if(F(e,"array")&&F(e&&e[0],"array")||(e=t.parsePathString(e)),!e||!e.length)return[["M",0,0]];var r,o=[],u=0,l=0,c=0,f=0,h=0;"M"==e[0][0]&&(u=+e[0][1],l=+e[0][2],c=u,f=l,h++,o[0]=["M",u,l]);for(var d,p,v=3==e.length&&"M"==e[0][0]&&"R"==e[1][0].toUpperCase()&&"Z"==e[2][0].toUpperCase(),g=h,m=e.length;g<m;g++){if(o.push(d=[]),p=e[g],r=p[0],r!=r.toUpperCase())switch(d[0]=r.toUpperCase(),d[0]){case"A":d[1]=p[1],d[2]=p[2],d[3]=p[3],d[4]=p[4],d[5]=p[5],d[6]=+p[6]+u,d[7]=+p[7]+l;break;case"V":d[1]=+p[1]+l;break;case"H":d[1]=+p[1]+u;break;case"R":for(var y=[u,l].concat(p.slice(1)),b=2,x=y.length;b<x;b++)y[b]=+y[b]+u,y[++b]=+y[b]+l;o.pop(),o=o.concat(P(y,v));break;case"O":o.pop(),y=T(u,l,p[1],p[2]),y.push(y[0]),o=o.concat(y);break;case"U":o.pop(),o=o.concat(T(u,l,p[1],p[2],p[3])),d=["U"].concat(o[o.length-1].slice(-2));break;case"M":c=+p[1]+u,f=+p[2]+l;default:for(b=1,x=p.length;b<x;b++)d[b]=+p[b]+(b%2?u:l)}else if("R"==r)y=[u,l].concat(p.slice(1)),o.pop(),o=o.concat(P(y,v)),d=["R"].concat(p.slice(-2));else if("O"==r)o.pop(),y=T(u,l,p[1],p[2]),y.push(y[0]),o=o.concat(y);else if("U"==r)o.pop(),o=o.concat(T(u,l,p[1],p[2],p[3])),d=["U"].concat(o[o.length-1].slice(-2));else for(var _=0,w=p.length;_<w;_++)d[_]=p[_];if(r=r.toUpperCase(),"O"!=r)switch(d[0]){case"Z":u=+c,l=+f;break;case"H":u=d[1];break;case"V":l=d[1];break;case"M":c=d[d.length-2],f=d[d.length-1];default:u=d[d.length-2],l=d[d.length-1]}}return o.toString=a,n.abs=s(o),o}function j(t,e,n,r){return[t,e,n,r,n,r]}function E(t,e,n,r,i,o){var a=1/3,s=2/3;return[a*t+s*n,a*e+s*r,a*i+s*n,a*o+s*r,i,o]}function O(e,n,r,i,o,a,s,u,l,c){var f,h=120*q/180,d=q/180*(+o||0),p=[],v=t._.cacher(function(t,e,n){var r=t*H.cos(n)-e*H.sin(n),i=t*H.sin(n)+e*H.cos(n);return{x:r,y:i}});if(c)k=c[0],T=c[1],w=c[2],C=c[3];else{f=v(e,n,-d),e=f.x,n=f.y,f=v(u,l,-d),u=f.x,l=f.y;var g=(H.cos(q/180*o),H.sin(q/180*o),(e-u)/2),m=(n-l)/2,y=g*g/(r*r)+m*m/(i*i);y>1&&(y=H.sqrt(y),r=y*r,i=y*i);var b=r*r,x=i*i,_=(a==s?-1:1)*H.sqrt(W((b*x-b*m*m-x*g*g)/(b*m*m+x*g*g))),w=_*r*m/i+(e+u)/2,C=_*-i*g/r+(n+l)/2,k=H.asin(((n-C)/i).toFixed(9)),T=H.asin(((l-C)/i).toFixed(9));k=e<w?q-k:k,T=u<w?q-T:T,k<0&&(k=2*q+k),T<0&&(T=2*q+T),s&&k>T&&(k-=2*q),!s&&T>k&&(T-=2*q)}var S=T-k;if(W(S)>h){var A=T,j=u,E=l;T=k+h*(s&&T>k?1:-1),u=w+r*H.cos(T),l=C+i*H.sin(T),p=O(u,l,r,i,o,0,s,j,E,[T,A,w,C])}S=T-k;var $=H.cos(k),M=H.sin(k),N=H.cos(T),P=H.sin(T),D=H.tan(S/4),F=4/3*r*D,B=4/3*i*D,L=[e,n],R=[e+F*M,n-B*$],I=[u+F*P,l-B*N],V=[u,l];if(R[0]=2*L[0]-R[0],R[1]=2*L[1]-R[1],c)return[R,I,V].concat(p);p=[R,I,V].concat(p).join().split(",");for(var z=[],U=0,X=p.length;U<X;U++)z[U]=U%2?v(p[U-1],p[U],d).y:v(p[U],p[U+1],d).x;return z}function $(t,e,n,r,i,o,a,s){for(var u,l,c,f,h,d,p,v,g=[],m=[[],[]],y=0;y<2;++y)if(0==y?(l=6*t-12*n+6*i,u=-3*t+9*n-9*i+3*a,c=3*n-3*t):(l=6*e-12*r+6*o,u=-3*e+9*r-9*o+3*s,c=3*r-3*e),W(u)<1e-12){if(W(l)<1e-12)continue;f=-c/l,0<f&&f<1&&g.push(f)}else p=l*l-4*c*u,v=H.sqrt(p),p<0||(h=(-l+v)/(2*u),0<h&&h<1&&g.push(h),d=(-l-v)/(2*u),0<d&&d<1&&g.push(d));for(var b,x=g.length,_=x;x--;)f=g[x],b=1-f,m[0][x]=b*b*b*t+3*b*b*f*n+3*b*f*f*i+f*f*f*a,m[1][x]=b*b*b*e+3*b*b*f*r+3*b*f*f*o+f*f*f*s;return m[0][_]=t,m[1][_]=e,m[0][_+1]=a,m[1][_+1]=s,m[0].length=m[1].length=_+2,{min:{x:V.apply(0,m[0]),y:V.apply(0,m[1])},max:{x:z.apply(0,m[0]),y:z.apply(0,m[1])}}}function M(t,e){var n=!e&&i(t);if(!e&&n.curve)return s(n.curve);for(var r=A(t),o=e&&A(e),a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},u={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},l=(function(t,e,n){var r,i;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in{T:1,Q:1})&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"].concat(O.apply(0,[e.x,e.y].concat(t.slice(1))));break;case"S":"C"==n||"S"==n?(r=2*e.x-e.bx,i=2*e.y-e.by):(r=e.x,i=e.y),t=["C",r,i].concat(t.slice(1));break;case"T":"Q"==n||"T"==n?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"].concat(E(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"].concat(E(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"].concat(j(e.x,e.y,t[1],t[2]));break;case"H":t=["C"].concat(j(e.x,e.y,t[1],e.y));break;case"V":t=["C"].concat(j(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"].concat(j(e.x,e.y,e.X,e.Y))}return t}),c=function(t,e){if(t[e].length>7){t[e].shift();for(var n=t[e];n.length;)h[e]="A",o&&(d[e]="A"),t.splice(e++,0,["C"].concat(n.splice(0,6)));t.splice(e,1),m=z(r.length,o&&o.length||0)}},f=function(t,e,n,i,a){t&&e&&"M"==t[a][0]&&"M"!=e[a][0]&&(e.splice(a,0,["M",i.x,i.y]),n.bx=0,n.by=0,n.x=t[a][1],n.y=t[a][2],m=z(r.length,o&&o.length||0))},h=[],d=[],p="",v="",g=0,m=z(r.length,o&&o.length||0);g<m;g++){r[g]&&(p=r[g][0]),"C"!=p&&(h[g]=p,g&&(v=h[g-1])),r[g]=l(r[g],a,v),"A"!=h[g]&&"C"==p&&(h[g]="C"),c(r,g),o&&(o[g]&&(p=o[g][0]),"C"!=p&&(d[g]=p,g&&(v=d[g-1])),o[g]=l(o[g],u,v),"A"!=d[g]&&"C"==p&&(d[g]="C"),c(o,g)),f(r,o,a,u,g),f(o,r,u,a,g);var y=r[g],b=o&&o[g],x=y.length,_=o&&b.length;a.x=y[x-2],a.y=y[x-1],a.bx=I(y[x-4])||a.x,a.by=I(y[x-3])||a.y,u.bx=o&&(I(b[_-4])||u.x),u.by=o&&(I(b[_-3])||u.y),u.x=o&&b[_-2],u.y=o&&b[_-1]}return o||(n.curve=s(r)),o?[r,o]:r}function N(t,e){if(!e)return t;var n,r,i,o,a,s,u;for(t=M(t),i=0,a=t.length;i<a;i++)for(u=t[i],o=1,s=u.length;o<s;o+=2)n=e.x(u[o],u[o+1]),r=e.y(u[o],u[o+1]),u[o]=n,u[o+1]=r;return t}function P(t,e){for(var n=[],r=0,i=t.length;i-2*!e>r;r+=2){var o=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?i-4==r?o[3]={x:+t[0],y:+t[1]}:i-2==r&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[i-2],y:+t[i-1]}:i-4==r?o[3]=o[2]:r||(o[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n}var D=e.prototype,F=t.is,B=t._.clone,L="hasOwnProperty",R=/,?([a-z]),?/gi,I=parseFloat,H=Math,q=H.PI,V=H.min,z=H.max,U=H.pow,W=H.abs,X=l(1),J=l(),G=l(0,1),Z=t._unit2px,Y={path:function(t){return t.attr("path")},circle:function(t){var e=Z(t);return T(e.cx,e.cy,e.r)},ellipse:function(t){var e=Z(t);return T(e.cx||0,e.cy||0,e.rx,e.ry)},rect:function(t){var e=Z(t);return k(e.x||0,e.y||0,e.width,e.height,e.rx,e.ry)},image:function(t){var e=Z(t);return k(e.x||0,e.y||0,e.width,e.height)},line:function(t){return"M"+[t.attr("x1")||0,t.attr("y1")||0,t.attr("x2"),t.attr("y2")]},polyline:function(t){return"M"+t.attr("points")},polygon:function(t){return"M"+t.attr("points")+"z"},deflt:function(t){var e=t.node.getBBox();return k(e.x,e.y,e.width,e.height)}};t.path=i,t.path.getTotalLength=X,t.path.getPointAtLength=J,t.path.getSubpath=function(t,e,n){if(this.getTotalLength(t)-n<1e-6)return G(t,e).end;var r=G(t,n,1);return e?G(r,e).end:r},D.getTotalLength=function(){if(this.node.getTotalLength)return this.node.getTotalLength()},D.getPointAtLength=function(t){return J(this.attr("d"),t)},D.getSubpath=function(e,n){return t.path.getSubpath(this.attr("d"),e,n)},t._.box=o,t.path.findDotsAtSegment=c,t.path.bezierBBox=f,t.path.isPointInsideBBox=h,t.closest=function(e,n,r,i){for(var a=100,s=o(e-a/2,n-a/2,a,a),u=[],l=r[0].hasOwnProperty("x")?function(t){return{x:r[t].x,y:r[t].y}}:function(t){return{x:r[t],y:i[t]}},c=0;a<=1e6&&!c;){for(var f=0,d=r.length;f<d;f++){var p=l(f);if(h(s,p.x,p.y)){c++,u.push(p);break}}c||(a*=2,s=o(e-a/2,n-a/2,a,a))}if(1e6!=a){var v,g=1/0;for(f=0,d=u.length;f<d;f++){var m=t.len(e,n,u[f].x,u[f].y);g>m&&(g=m,u[f].len=m,v=u[f])}return v}},t.path.isBBoxIntersect=d,t.path.intersection=b,t.path.intersectionNumber=x,t.path.isPointInside=w,t.path.getBBox=C,t.path.get=Y,t.path.toRelative=S,t.path.toAbsolute=A,t.path.toCubic=M,t.path.map=N,t.path.toString=a,t.path.clone=s}),r.plugin(function(t,r,i,o){var a=Math.max,s=Math.min,u=function(t){if(this.items=[],this.bindings={},this.length=0,this.type="set",t)for(var e=0,n=t.length;e<n;e++)t[e]&&(this[this.items.length]=this.items[this.items.length]=t[e],this.length++)},l=u.prototype;l.push=function(){for(var t,e,n=0,r=arguments.length;n<r;n++)t=arguments[n],t&&(e=this.items.length,this[e]=this.items[e]=t,this.length++);return this},l.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},l.forEach=function(t,e){for(var n=0,r=this.items.length;n<r;n++)if(t.call(e,this.items[n],n)===!1)return this;return this},l.animate=function(r,i,o,a){"function"!=typeof o||o.length||(a=o,o=n.linear),r instanceof t._.Animation&&(a=r.callback,o=r.easing,i=o.dur,r=r.attr);var s=arguments;if(t.is(r,"array")&&t.is(s[s.length-1],"array"))var u=!0;var l,c=function(){l?this.b=l:l=this.b},f=0,h=this,d=a&&function(){++f==h.length&&a.call(this)};return this.forEach(function(t,n){e.once("snap.animcreated."+t.id,c),u?s[n]&&t.animate.apply(t,s[n]):t.animate(r,i,o,d)})},l.remove=function(){for(;this.length;)this.pop().remove();return this},l.bind=function(t,e,n){var r={};if("function"==typeof e)this.bindings[t]=e;else{var i=n||t;this.bindings[t]=function(t){r[i]=t,e.attr(r)}}return this},l.attr=function(t){var e={};for(var n in t)this.bindings[n]?this.bindings[n](t[n]):e[n]=t[n];for(var r=0,i=this.items.length;r<i;r++)this.items[r].attr(e);return this},l.clear=function(){for(;this.length;)this.pop()},l.splice=function(t,e,n){t=t<0?a(this.length+t,0):t,e=a(0,s(this.length-t,e));var r,i=[],o=[],l=[];for(r=2;r<arguments.length;r++)l.push(arguments[r]);for(r=0;r<e;r++)o.push(this[t+r]);for(;r<this.length-t;r++)i.push(this[t+r]);var c=l.length;for(r=0;r<c+i.length;r++)this.items[t+r]=this[t+r]=r<c?l[r]:i[r-c];for(r=this.items.length=this.length-=e-c;this[r];)delete this[r++];return new u(o)},l.exclude=function(t){for(var e=0,n=this.length;e<n;e++)if(this[e]==t)return this.splice(e,1),!0;return!1},l.insertAfter=function(t){for(var e=this.items.length;e--;)this.items[e].insertAfter(t);return this},l.getBBox=function(){for(var t=[],e=[],n=[],r=[],i=this.items.length;i--;)if(!this.items[i].removed){var o=this.items[i].getBBox();t.push(o.x),e.push(o.y),n.push(o.x+o.width),r.push(o.y+o.height)}return t=s.apply(0,t),e=s.apply(0,e),n=a.apply(0,n),r=a.apply(0,r),{x:t,y:e,x2:n,y2:r,width:n-t,height:r-e,cx:t+(n-t)/2,cy:e+(r-e)/2}},l.clone=function(t){t=new u;for(var e=0,n=this.items.length;e<n;e++)t.push(this.items[e].clone());return t},l.toString=function(){return"Snap‘s set"},l.type="set",t.Set=u,t.set=function(){var t=new u;return arguments.length&&t.push.apply(t,Array.prototype.slice.call(arguments,0)),t}}),r.plugin(function(t,n,r,i){function o(t){var e=t[0];switch(e.toLowerCase()){
-case"t":return[e,0,0];case"m":return[e,1,0,0,1,0,0];case"r":return 4==t.length?[e,0,t[2],t[3]]:[e,0];case"s":return 5==t.length?[e,1,1,t[3],t[4]]:3==t.length?[e,1,1]:[e,1]}}function a(e,n,r){n=m(n).replace(/\.{3}|\u2026/g,e),e=t.parseTransformString(e)||[],n=t.parseTransformString(n)||[];for(var i,a,s,u,l=Math.max(e.length,n.length),c=[],d=[],p=0;p<l;p++){if(s=e[p]||o(n[p]),u=n[p]||o(s),s[0]!=u[0]||"r"==s[0].toLowerCase()&&(s[2]!=u[2]||s[3]!=u[3])||"s"==s[0].toLowerCase()&&(s[3]!=u[3]||s[4]!=u[4])){e=t._.transform2matrix(e,r()),n=t._.transform2matrix(n,r()),c=[["m",e.a,e.b,e.c,e.d,e.e,e.f]],d=[["m",n.a,n.b,n.c,n.d,n.e,n.f]];break}for(c[p]=[],d[p]=[],i=0,a=Math.max(s.length,u.length);i<a;i++)i in s&&(c[p][i]=s[i]),i in u&&(d[p][i]=u[i])}return{from:h(c),to:h(d),f:f(c)}}function s(t){return t}function u(t){return function(e){return+e.toFixed(3)+t}}function l(t){return t.join(" ")}function c(e){return t.rgb(e[0],e[1],e[2])}function f(t){var e,n,r,i,o,a,s=0,u=[];for(e=0,n=t.length;e<n;e++){for(o="[",a=['"'+t[e][0]+'"'],r=1,i=t[e].length;r<i;r++)a[r]="val["+s++ +"]";o+=a+"]",u[e]=o}return Function("val","return Snap.path.toString.call(["+u+"])")}function h(t){for(var e=[],n=0,r=t.length;n<r;n++)for(var i=1,o=t[n].length;i<o;i++)e.push(t[n][i]);return e}function d(t){return isFinite(parseFloat(t))}function p(e,n){return!(!t.is(e,"array")||!t.is(n,"array"))&&e.toString()==n.toString()}var v={},g=/[a-z]+$/i,m=String;v.stroke=v.fill="colour",n.prototype.equal=function(t,n){return e("snap.util.equal",this,t,n).firstDefined()},e.on("snap.util.equal",function(e,n){var r,i,o=m(this.attr(e)||""),y=this;if(d(o)&&d(n))return{from:parseFloat(o),to:parseFloat(n),f:s};if("colour"==v[e])return r=t.color(o),i=t.color(n),{from:[r.r,r.g,r.b,r.opacity],to:[i.r,i.g,i.b,i.opacity],f:c};if("viewBox"==e)return r=this.attr(e).vb.split(" ").map(Number),i=n.split(" ").map(Number),{from:r,to:i,f:l};if("transform"==e||"gradientTransform"==e||"patternTransform"==e)return n instanceof t.Matrix&&(n=n.toTransformString()),t._.rgTransform.test(n)||(n=t._.svgTransform2string(n)),a(o,n,function(){return y.getBBox(1)});if("d"==e||"path"==e)return r=t.path.toCubic(o,n),{from:h(r[0]),to:h(r[1]),f:f(r[0])};if("points"==e)return r=m(o).split(t._.separator),i=m(n).split(t._.separator),{from:r,to:i,f:function(t){return t}};var b=o.match(g),x=m(n).match(g);return b&&p(b,x)?{from:parseFloat(o),to:parseFloat(n),f:u(b)}:{from:this.asPX(e),to:this.asPX(e,n),f:s}})}),r.plugin(function(t,n,r,i){for(var o=n.prototype,a="hasOwnProperty",s=("createTouch"in i.doc),u=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","touchstart","touchmove","touchend","touchcancel"],l={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},c=(function(t,e){var n="y"==t?"scrollTop":"scrollLeft",r=e&&e.node?e.node.ownerDocument:i.doc;return r[n in r.documentElement?"documentElement":"body"][n]}),f=function(){return this.originalEvent.preventDefault()},h=function(){return this.originalEvent.stopPropagation()},d=function(t,e,n,r){var i=s&&l[e]?l[e]:e,o=function(i){var o=c("y",r),u=c("x",r);if(s&&l[a](e))for(var d=0,p=i.targetTouches&&i.targetTouches.length;d<p;d++)if(i.targetTouches[d].target==t||t.contains(i.targetTouches[d].target)){var v=i;i=i.targetTouches[d],i.originalEvent=v,i.preventDefault=f,i.stopPropagation=h;break}var g=i.clientX+u,m=i.clientY+o;return n.call(r,i,g,m)};return e!==i&&t.addEventListener(e,o,!1),t.addEventListener(i,o,!1),function(){return e!==i&&t.removeEventListener(e,o,!1),t.removeEventListener(i,o,!1),!0}},p=[],v=function(t){for(var n,r=t.clientX,i=t.clientY,o=c("y"),a=c("x"),u=p.length;u--;){if(n=p[u],s){for(var l,f=t.touches&&t.touches.length;f--;)if(l=t.touches[f],l.identifier==n.el._drag.id||n.el.node.contains(l.target)){r=l.clientX,i=l.clientY,(t.originalEvent?t.originalEvent:t).preventDefault();break}}else t.preventDefault();var h=n.el.node;h.nextSibling,h.parentNode,h.style.display;r+=a,i+=o,e("snap.drag.move."+n.el.id,n.move_scope||n.el,r-n.el._drag.x,i-n.el._drag.y,r,i,t)}},g=function b(n){t.unmousemove(v).unmouseup(b);for(var r,i=p.length;i--;)r=p[i],r.el._drag={},e("snap.drag.end."+r.el.id,r.end_scope||r.start_scope||r.move_scope||r.el,n),e.off("snap.drag.*."+r.el.id);p=[]},m=u.length;m--;)!function(e){t[e]=o[e]=function(n,r){if(t.is(n,"function"))this.events=this.events||[],this.events.push({name:e,f:n,unbind:d(this.node||document,e,n,r||this)});else for(var i=0,o=this.events.length;i<o;i++)if(this.events[i].name==e)try{this.events[i].f.call(this)}catch(a){}return this},t["un"+e]=o["un"+e]=function(t){for(var n=this.events||[],r=n.length;r--;)if(n[r].name==e&&(n[r].f==t||!t))return n[r].unbind(),n.splice(r,1),!n.length&&delete this.events,this;return this}}(u[m]);o.hover=function(t,e,n,r){return this.mouseover(t,n).mouseout(e,r||n)},o.unhover=function(t,e){return this.unmouseover(t).unmouseout(e)};var y=[];o.drag=function(n,r,i,o,a,s){function u(u,l,f){(u.originalEvent||u).preventDefault(),c._drag.x=l,c._drag.y=f,c._drag.id=u.identifier,!p.length&&t.mousemove(v).mouseup(g),p.push({el:c,move_scope:o,start_scope:a,end_scope:s}),r&&e.on("snap.drag.start."+c.id,r),n&&e.on("snap.drag.move."+c.id,n),i&&e.on("snap.drag.end."+c.id,i),e("snap.drag.start."+c.id,a||o||c,l,f,u)}function l(t,n,r){e("snap.draginit."+c.id,c,t,n,r)}var c=this;if(!arguments.length){var f;return c.drag(function(t,e){this.attr({transform:f+(f?"T":"t")+[t,e]})},function(){f=this.transform().local})}return e.on("snap.draginit."+c.id,u),c._drag={},y.push({el:c,start:u,init:l}),c.mousedown(l),c},o.undrag=function(){for(var n=y.length;n--;)y[n].el==this&&(this.unmousedown(y[n].init),y.splice(n,1),e.unbind("snap.drag.*."+this.id),e.unbind("snap.draginit."+this.id));return!y.length&&t.unmousemove(v).unmouseup(g),this}}),r.plugin(function(t,n,r,i){var o=(n.prototype,r.prototype),a=/^\s*url\((.+)\)/,s=String,u=t._.$;t.filter={},o.filter=function(e){var r=this;"svg"!=r.type&&(r=r.paper);var i=t.parse(s(e)),o=t._.id(),a=(r.node.offsetWidth,r.node.offsetHeight,u("filter"));return u(a,{id:o,filterUnits:"userSpaceOnUse"}),a.appendChild(i.node),r.defs.appendChild(a),new n(a)},e.on("snap.util.getattr.filter",function(){e.stop();var n=u(this.node,"filter");if(n){var r=s(n).match(a);return r&&t.select(r[1])}}),e.on("snap.util.attr.filter",function(r){if(r instanceof n&&"filter"==r.type){e.stop();var i=r.node.id;i||(u(r.node,{id:r.id}),i=r.id),u(this.node,{filter:t.url(i)})}r&&"none"!=r||(e.stop(),this.node.removeAttribute("filter"))}),t.filter.blur=function(e,n){null==e&&(e=2);var r=null==n?e:[e,n];return t.format('<feGaussianBlur stdDeviation="{def}"/>',{def:r})},t.filter.blur.toString=function(){return this()},t.filter.shadow=function(e,n,r,i,o){return"string"==typeof r&&(i=r,o=i,r=4),"string"!=typeof i&&(o=i,i="#000"),i=i||"#000",null==r&&(r=4),null==o&&(o=1),null==e&&(e=0,n=2),null==n&&(n=e),i=t.color(i),t.format('<feGaussianBlur in="SourceAlpha" stdDeviation="{blur}"/><feOffset dx="{dx}" dy="{dy}" result="offsetblur"/><feFlood flood-color="{color}"/><feComposite in2="offsetblur" operator="in"/><feComponentTransfer><feFuncA type="linear" slope="{opacity}"/></feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>',{color:i,dx:e,dy:n,blur:r,opacity:o})},t.filter.shadow.toString=function(){return this()},t.filter.grayscale=function(e){return null==e&&(e=1),t.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {b} {h} 0 0 0 0 0 1 0"/>',{a:.2126+.7874*(1-e),b:.7152-.7152*(1-e),c:.0722-.0722*(1-e),d:.2126-.2126*(1-e),e:.7152+.2848*(1-e),f:.0722-.0722*(1-e),g:.2126-.2126*(1-e),h:.0722+.9278*(1-e)})},t.filter.grayscale.toString=function(){return this()},t.filter.sepia=function(e){return null==e&&(e=1),t.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {h} {i} 0 0 0 0 0 1 0"/>',{a:.393+.607*(1-e),b:.769-.769*(1-e),c:.189-.189*(1-e),d:.349-.349*(1-e),e:.686+.314*(1-e),f:.168-.168*(1-e),g:.272-.272*(1-e),h:.534-.534*(1-e),i:.131+.869*(1-e)})},t.filter.sepia.toString=function(){return this()},t.filter.saturate=function(e){return null==e&&(e=1),t.format('<feColorMatrix type="saturate" values="{amount}"/>',{amount:1-e})},t.filter.saturate.toString=function(){return this()},t.filter.hueRotate=function(e){return e=e||0,t.format('<feColorMatrix type="hueRotate" values="{angle}"/>',{angle:e})},t.filter.hueRotate.toString=function(){return this()},t.filter.invert=function(e){return null==e&&(e=1),t.format('<feComponentTransfer><feFuncR type="table" tableValues="{amount} {amount2}"/><feFuncG type="table" tableValues="{amount} {amount2}"/><feFuncB type="table" tableValues="{amount} {amount2}"/></feComponentTransfer>',{amount:e,amount2:1-e})},t.filter.invert.toString=function(){return this()},t.filter.brightness=function(e){return null==e&&(e=1),t.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}"/><feFuncG type="linear" slope="{amount}"/><feFuncB type="linear" slope="{amount}"/></feComponentTransfer>',{amount:e})},t.filter.brightness.toString=function(){return this()},t.filter.contrast=function(e){return null==e&&(e=1),t.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}" intercept="{amount2}"/><feFuncG type="linear" slope="{amount}" intercept="{amount2}"/><feFuncB type="linear" slope="{amount}" intercept="{amount2}"/></feComponentTransfer>',{amount:e,amount2:.5-e/2})},t.filter.contrast.toString=function(){return this()}}),r.plugin(function(t,e,n,r,i){var o=t._.box,a=t.is,s=/^[^a-z]*([tbmlrc])/i,u=function(){return"T"+this.dx+","+this.dy};e.prototype.getAlign=function(t,e){null==e&&a(t,"string")&&(e=t,t=null),t=t||this.paper;var n=t.getBBox?t.getBBox():o(t),r=this.getBBox(),i={};switch(e=e&&e.match(s),e=e?e[1].toLowerCase():"c"){case"t":i.dx=0,i.dy=n.y-r.y;break;case"b":i.dx=0,i.dy=n.y2-r.y2;break;case"m":i.dx=0,i.dy=n.cy-r.cy;break;case"l":i.dx=n.x-r.x,i.dy=0;break;case"r":i.dx=n.x2-r.x2,i.dy=0;break;default:i.dx=n.cx-r.cx,i.dy=0}return i.toString=u,i},e.prototype.align=function(t,e){return this.transform("..."+this.getAlign(t,e))}}),r})}).call(window)},function(t,e,n){var r,i;(function(t){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};/*!
+!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}([function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}n(136),n(137),n(135);var i=n(125),o=(r(i),n(32)),a=r(o),s=n(130),u=r(s),l=n(50),c=r(l),f=n(144),h=r(f),d=n(142),p=r(d),v=n(141),g=r(v),m=n(140),y=r(m),b=n(49),x=r(b),_=n(16),w=r(_),C=n(102);Vue.config.ignoredElements=["mask"];var k={Cutout:u["default"],JsDiff:C,JsonDiff:w["default"],CollectionSelector:p["default"],TabSelector:g["default"],DescriptionViewer:y["default"],VueComponents:{Typeahead:a["default"],MergeTool:h["default"],Zoomview:c["default"],DiffViewer:x["default"]}};window.iconolab||(window.iconolab=k)},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},r="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array},i="function"==typeof Object.keys?function(t){return Object.keys(t)}:function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e},o=function(t){return"_"===t.substr(0,1)?t.slice(1):t},a=function(t){return"_t"===t?-1:"_"===t.substr(0,1)?parseInt(t.slice(1),10):parseInt(t,10)+.1},s=function(t,e){return a(t)-a(e)},u=function(){};u.prototype.format=function(t,e){var n={};return this.prepareContext(n),this.recurse(n,t,e),this.finalize(n)},u.prototype.prepareContext=function(t){t.buffer=[],t.out=function(){this.buffer.push.apply(this.buffer,arguments)}},u.prototype.typeFormattterNotFound=function(t,e){throw new Error("cannot format delta type: "+e)},u.prototype.typeFormattterErrorFormatter=function(t,e){return e.toString()},u.prototype.finalize=function(t){if(r(t.buffer))return t.buffer.join("")},u.prototype.recurse=function(t,e,n,r,i,o,a){var s=e&&o,u=s?o.value:n;if("undefined"!=typeof e||"undefined"!=typeof r){var l=this.getDeltaType(e,o),c="node"===l?"a"===e._t?"array":"object":"";"undefined"!=typeof r?this.nodeBegin(t,r,i,l,c,a):this.rootBegin(t,l,c);var f;try{f=this["format_"+l]||this.typeFormattterNotFound(t,l),f.call(this,t,e,u,r,i,o)}catch(h){this.typeFormattterErrorFormatter(t,h,e,u,r,i,o),"undefined"!=typeof console&&console.error&&console.error(h.stack)}"undefined"!=typeof r?this.nodeEnd(t,r,i,l,c,a):this.rootEnd(t,l,c)}},u.prototype.formatDeltaChildren=function(t,e,n){var r=this;this.forEachDeltaKey(e,n,function(i,o,a,s){r.recurse(t,e[i],n?n[o]:void 0,i,o,a,s)})},u.prototype.forEachDeltaKey=function(t,e,n){var a,u=i(t),l="a"===t._t,c={};if("undefined"!=typeof e)for(a in e)"undefined"!=typeof t[a]||l&&"undefined"!=typeof t["_"+a]||u.push(a);for(a in t){var f=t[a];r(f)&&3===f[2]&&(c[f[1].toString()]={key:a,value:e&&e[parseInt(a.substr(1))]},this.includeMoveDestinations!==!1&&"undefined"==typeof e&&"undefined"==typeof t[f[1]]&&u.push(f[1].toString()))}l?u.sort(s):u.sort();for(var h=0,d=u.length;h<d;h++){var p=u[h];if(!l||"_t"!==p){var v=l?"number"==typeof p?p:parseInt(o(p),10):p,g=h===d-1;n(p,v,c[v],g)}}},u.prototype.getDeltaType=function(t,e){if("undefined"==typeof t)return"undefined"!=typeof e?"movedestination":"unchanged";if(r(t)){if(1===t.length)return"added";if(2===t.length)return"modified";if(3===t.length&&0===t[2])return"deleted";if(3===t.length&&2===t[2])return"textdiff";if(3===t.length&&3===t[2])return"moved"}else if("object"===("undefined"==typeof t?"undefined":n(t)))return"node";return"unknown"},u.prototype.parseTextDiff=function(t){for(var e=[],n=t.split("\n@@ "),r=0,i=n.length;r<i;r++){var o=n[r],a={pieces:[]},s=/^(?:@@ )?[-+]?(\d+),(\d+)/.exec(o).slice(1);a.location={line:s[0],chr:s[1]};for(var u=o.split("\n").slice(1),l=0,c=u.length;l<c;l++){var f=u[l];if(f.length){var h={type:"context"};"+"===f.substr(0,1)?h.type="added":"-"===f.substr(0,1)&&(h.type="deleted"),h.text=f.slice(1),a.pieces.push(h)}}e.push(a)}return e},e.BaseFormatter=u},function(t,e){"use strict";function n(){}function r(t,e,n,r,i){for(var o=0,a=e.length,s=0,u=0;o<a;o++){var l=e[o];if(l.removed){if(l.value=r.slice(u,u+l.count).join(""),u+=l.count,o&&e[o-1].added){var c=e[o-1];e[o-1]=e[o],e[o]=c}}else{if(!l.added&&i){var f=n.slice(s,s+l.count);f=f.map(function(t,e){var n=r[u+e];return n.length>t.length?n:t}),l.value=f.join("")}else l.value=n.slice(s,s+l.count).join("");s+=l.count,l.added||(u+=l.count)}}var h=e[a-1];return a>1&&(h.added||h.removed)&&t.equals("",h.value)&&(e[a-2].value+=h.value,e.pop()),e}function i(t){return{newPos:t.newPos,components:t.components.slice(0)}}e.__esModule=!0,e["default"]=n,n.prototype={diff:function(t,e){function n(t){return s?(setTimeout(function(){s(void 0,t)},0),!0):t}function o(){for(var o=-1*f;o<=f;o+=2){var a=void 0,s=d[o-1],h=d[o+1],p=(h?h.newPos:0)-o;s&&(d[o-1]=void 0);var v=s&&s.newPos+1<l,g=h&&0<=p&&p<c;if(v||g){if(!v||g&&s.newPos<h.newPos?(a=i(h),u.pushComponent(a.components,void 0,!0)):(a=s,a.newPos++,u.pushComponent(a.components,!0,void 0)),p=u.extractCommon(a,e,t,o),a.newPos+1>=l&&p+1>=c)return n(r(u,a.components,e,t,u.useLongestToken));d[o]=a}else d[o]=void 0}f++}var a=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],s=a.callback;"function"==typeof a&&(s=a,a={}),this.options=a;var u=this;t=this.castInput(t),e=this.castInput(e),t=this.removeEmpty(this.tokenize(t)),e=this.removeEmpty(this.tokenize(e));var l=e.length,c=t.length,f=1,h=l+c,d=[{newPos:-1,components:[]}],p=this.extractCommon(d[0],e,t,0);if(d[0].newPos+1>=l&&p+1>=c)return n([{value:e.join(""),count:e.length}]);if(s)!function g(){setTimeout(function(){return f>h?s():void(o()||g())},0)}();else for(;f<=h;){var v=o();if(v)return v}},pushComponent:function(t,e,n){var r=t[t.length-1];r&&r.added===e&&r.removed===n?t[t.length-1]={count:r.count+1,added:e,removed:n}:t.push({count:1,added:e,removed:n})},extractCommon:function(t,e,n,r){for(var i=e.length,o=n.length,a=t.newPos,s=a-r,u=0;a+1<i&&s+1<o&&this.equals(e[a+1],n[s+1]);)a++,s++,u++;return u&&t.components.push({count:u}),t.newPos=a,s},equals:function(t,e){return t===e},removeEmpty:function(t){for(var e=[],n=0;n<t.length;n++)t[n]&&e.push(t[n]);return e},castInput:function(t){return t},tokenize:function(t){return t.split("")}}},function(t,e,n){"use strict";var r=n(17).Pipe,i=function(){};i.prototype.setResult=function(t){return this.result=t,this.hasResult=!0,this},i.prototype.exit=function(){return this.exiting=!0,this},i.prototype.switchTo=function(t,e){return"string"==typeof t||t instanceof r?this.nextPipe=t:(this.next=t,e&&(this.nextPipe=e)),this},i.prototype.push=function(t,e){return t.parent=this,"undefined"!=typeof e&&(t.childName=e),t.root=this.root||this,t.options=t.options||this.options,this.children?(this.children[this.children.length-1].next=t,this.children.push(t)):(this.children=[t],this.nextAfterChildren=this.next||null,this.next=t),t.next=this,this},e.Context=i},function(t,e,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},i=n(3).Context,o=n(14),a=function(t,e){this.left=t,this.right=e,this.pipe="diff"};a.prototype=new i,a.prototype.setResult=function(t){if(this.options.cloneDiffValues){var e="function"==typeof this.options.cloneDiffValues?this.options.cloneDiffValues:function(t){return JSON.parse(JSON.stringify(t),o)};"object"===r(t[0])&&(t[0]=e(t[0])),"object"===r(t[1])&&(t[1]=e(t[1]))}return i.prototype.setResult.apply(this,arguments)},e.DiffContext=a},function(t,e,n){"use strict";var r=n(3).Context,i=function(t,e){this.left=t,this.delta=e,this.pipe="patch"};i.prototype=new r,e.PatchContext=i},function(t,e,n){"use strict";var r=n(3).Context,i=function(t){this.delta=t,this.pipe="reverse"};i.prototype=new r,e.ReverseContext=i},function(t,e){"use strict";e.isBrowser="undefined"!=typeof window},function(t,e,n){"use strict";var r=n(1),i=r.BaseFormatter,o=function(){this.includeMoveDestinations=!1};o.prototype=new i,o.prototype.prepareContext=function(t){i.prototype.prepareContext.call(this,t),t.indent=function(t){this.indentLevel=(this.indentLevel||0)+("undefined"==typeof t?1:t),this.indentPad=new Array(this.indentLevel+1).join(" ")},t.row=function(e,n){t.out('<tr><td style="white-space: nowrap;"><pre class="jsondiffpatch-annotated-indent" style="display: inline-block">'),t.out(t.indentPad),t.out('</pre><pre style="display: inline-block">'),t.out(e),t.out('</pre></td><td class="jsondiffpatch-delta-note"><div>'),t.out(n),t.out("</div></td></tr>")}},o.prototype.typeFormattterErrorFormatter=function(t,e){t.row("",'<pre class="jsondiffpatch-error">'+e+"</pre>")},o.prototype.formatTextDiffString=function(t,e){var n=this.parseTextDiff(e);t.out('<ul class="jsondiffpatch-textdiff">');for(var r=0,i=n.length;r<i;r++){var o=n[r];t.out('<li><div class="jsondiffpatch-textdiff-location"><span class="jsondiffpatch-textdiff-line-number">'+o.location.line+'</span><span class="jsondiffpatch-textdiff-char">'+o.location.chr+'</span></div><div class="jsondiffpatch-textdiff-line">');for(var a=o.pieces,s=0,u=a.length;s<u;s++){var l=a[s];t.out('<span class="jsondiffpatch-textdiff-'+l.type+'">'+l.text+"</span>")}t.out("</div></li>")}t.out("</ul>")},o.prototype.rootBegin=function(t,e,n){t.out('<table class="jsondiffpatch-annotated-delta">'),"node"===e&&(t.row("{"),t.indent()),"array"===n&&t.row('"_t": "a",',"Array delta (member names indicate array indices)")},o.prototype.rootEnd=function(t,e){"node"===e&&(t.indent(-1),t.row("}")),t.out("</table>")},o.prototype.nodeBegin=function(t,e,n,r,i){t.row("""+e+"": {"),"node"===r&&t.indent(),"array"===i&&t.row('"_t": "a",',"Array delta (member names indicate array indices)")},o.prototype.nodeEnd=function(t,e,n,r,i,o){"node"===r&&t.indent(-1),t.row("}"+(o?"":","))},o.prototype.format_unchanged=function(){},o.prototype.format_movedestination=function(){},o.prototype.format_node=function(t,e,n){this.formatDeltaChildren(t,e,n)};var a=function(t){return'<pre style="display:inline-block">"'+t+""</pre>"},s={added:function(t,e,n,r){var i=" <pre>([newValue])</pre>";return"undefined"==typeof r?"new value"+i:"number"==typeof r?"insert at index "+r+i:"add property "+a(r)+i},modified:function(t,e,n,r){var i=" <pre>([previousValue, newValue])</pre>";return"undefined"==typeof r?"modify value"+i:"number"==typeof r?"modify at index "+r+i:"modify property "+a(r)+i},deleted:function(t,e,n,r){var i=" <pre>([previousValue, 0, 0])</pre>";return"undefined"==typeof r?"delete value"+i:"number"==typeof r?"remove index "+r+i:"delete property "+a(r)+i},moved:function(t,e,n,r){return'move from <span title="(position to remove at original state)">index '+r+'</span> to <span title="(position to insert at final state)">index '+t[1]+"</span>"},textdiff:function(t,e,n,r){var i="undefined"==typeof r?"":"number"==typeof r?" at index "+r:" at property "+a(r);return"text diff"+i+', format is <a href="https://code.google.com/p/google-diff-match-patch/wiki/Unidiff">a variation of Unidiff</a>'}},u=function(t,e){var n=this.getDeltaType(e),r=s[n],i=r&&r.apply(r,Array.prototype.slice.call(arguments,1)),o=JSON.stringify(e,null,2);"textdiff"===n&&(o=o.split("\\n").join('\\n"+\n "')),t.indent(),t.row(o,i),t.indent(-1)};o.prototype.format_added=u,o.prototype.format_modified=u,o.prototype.format_deleted=u,o.prototype.format_moved=u,o.prototype.format_textdiff=u,e.AnnotatedFormatter=o;var l;e.format=function(t,e){return l||(l=new o),l.format(t,e)}},function(t,e,n){"use strict";function r(t){for(var e=t,n=[[/&/g,"&"],[/</g,"<"],[/>/g,">"],[/'/g,"'"],[/"/g,"""]],r=0;r<n.length;r++)e=e.replace(n[r][0],n[r][1]);return e}var i=n(1),o=i.BaseFormatter,a=function(){};a.prototype=new o,a.prototype.typeFormattterErrorFormatter=function(t,e){t.out('<pre class="jsondiffpatch-error">'+e+"</pre>")},a.prototype.formatValue=function(t,e){t.out("<pre>"+r(JSON.stringify(e,null,2))+"</pre>")},a.prototype.formatTextDiffString=function(t,e){var n=this.parseTextDiff(e);t.out('<ul class="jsondiffpatch-textdiff">');for(var i=0,o=n.length;i<o;i++){var a=n[i];t.out('<li><div class="jsondiffpatch-textdiff-location"><span class="jsondiffpatch-textdiff-line-number">'+a.location.line+'</span><span class="jsondiffpatch-textdiff-char">'+a.location.chr+'</span></div><div class="jsondiffpatch-textdiff-line">');for(var s=a.pieces,u=0,l=s.length;u<l;u++){var c=s[u];t.out('<span class="jsondiffpatch-textdiff-'+c.type+'">'+r(unescape(c.text))+"</span>")}t.out("</div></li>")}t.out("</ul>")};var s=function(t){t=t||document;var e=function(t){return t.textContent||t.innerText},n=function(t,e,n){for(var r=t.querySelectorAll(e),i=0,o=r.length;i<o;i++)n(r[i])},r=function(t,e){for(var n=0,r=t.children.length;n<r;n++)e(t.children[n],n)};n(t,".jsondiffpatch-arrow",function(t){var n=t.parentNode,i=t.children[0],o=i.children[1];i.style.display="none";var a,s=e(n.querySelector(".jsondiffpatch-moved-destination")),u=n.parentNode;if(r(u,function(t){t.getAttribute("data-key")===s&&(a=t)}),a)try{var l=a.offsetTop-n.offsetTop;i.setAttribute("height",Math.abs(l)+6),t.style.top=-8+(l>0?0:l)+"px";var c=l>0?"M30,0 Q-10,"+Math.round(l/2)+" 26,"+(l-4):"M30,"+-l+" Q-10,"+Math.round(-l/2)+" 26,4";o.setAttribute("d",c),i.style.display=""}catch(f){return}})};a.prototype.rootBegin=function(t,e,n){var r="jsondiffpatch-"+e+(n?" jsondiffpatch-child-node-type-"+n:"");t.out('<div class="jsondiffpatch-delta '+r+'">')},a.prototype.rootEnd=function(t){t.out("</div>"+(t.hasArrows?'<script type="text/javascript">setTimeout('+s.toString()+",10);</script>":""))},a.prototype.nodeBegin=function(t,e,n,r,i){var o="jsondiffpatch-"+r+(i?" jsondiffpatch-child-node-type-"+i:"");t.out('<li class="'+o+'" data-key="'+n+'"><div class="jsondiffpatch-property-name">'+n+"</div>")},a.prototype.nodeEnd=function(t){t.out("</li>")},a.prototype.format_unchanged=function(t,e,n){"undefined"!=typeof n&&(t.out('<div class="jsondiffpatch-value">'),this.formatValue(t,n),t.out("</div>"))},a.prototype.format_movedestination=function(t,e,n){"undefined"!=typeof n&&(t.out('<div class="jsondiffpatch-value">'),this.formatValue(t,n),t.out("</div>"))},a.prototype.format_node=function(t,e,n){var r="a"===e._t?"array":"object";t.out('<ul class="jsondiffpatch-node jsondiffpatch-node-type-'+r+'">'),this.formatDeltaChildren(t,e,n),t.out("</ul>")},a.prototype.format_added=function(t,e){t.out('<div class="jsondiffpatch-value">'),this.formatValue(t,e[0]),t.out("</div>")},a.prototype.format_modified=function(t,e){t.out('<div class="jsondiffpatch-value jsondiffpatch-left-value">'),this.formatValue(t,e[0]),t.out('</div><div class="jsondiffpatch-value jsondiffpatch-right-value">'),this.formatValue(t,e[1]),t.out("</div>")},a.prototype.format_deleted=function(t,e){t.out('<div class="jsondiffpatch-value">'),this.formatValue(t,e[0]),t.out("</div>")},a.prototype.format_moved=function(t,e){t.out('<div class="jsondiffpatch-value">'),this.formatValue(t,e[0]),t.out('</div><div class="jsondiffpatch-moved-destination">'+e[1]+"</div>"),t.out('<div class="jsondiffpatch-arrow" style="position: relative; left: -34px;">\t <svg width="30" height="60" style="position: absolute; display: none;">\t <defs>\t <marker id="markerArrow" markerWidth="8" markerHeight="8" refx="2" refy="4"\t orient="auto" markerUnits="userSpaceOnUse">\t <path d="M1,1 L1,7 L7,4 L1,1" style="fill: #339;" />\t </marker>\t </defs>\t <path d="M30,0 Q-10,25 26,50" style="stroke: #88f; stroke-width: 2px; fill: none;\t stroke-opacity: 0.5; marker-end: url(#markerArrow);"></path>\t </svg>\t </div>'),t.hasArrows=!0},a.prototype.format_textdiff=function(t,e){t.out('<div class="jsondiffpatch-value">'),this.formatTextDiffString(t,e[0]),t.out("</div>")};var u=function(t,e,n){var r=e||document.body,i="jsondiffpatch-unchanged-",o={showing:i+"showing",hiding:i+"hiding",visible:i+"visible",hidden:i+"hidden"},a=r.classList;if(a){if(!n)return a.remove(o.showing),a.remove(o.hiding),a.remove(o.visible),a.remove(o.hidden),void(t===!1&&a.add(o.hidden));t===!1?(a.remove(o.showing),a.add(o.visible),setTimeout(function(){a.add(o.hiding)},10)):(a.remove(o.hiding),a.add(o.showing),a.remove(o.hidden));var u=setInterval(function(){s(r)},100);setTimeout(function(){a.remove(o.showing),a.remove(o.hiding),t===!1?(a.add(o.hidden),a.remove(o.visible)):(a.add(o.visible),a.remove(o.hidden)),setTimeout(function(){a.remove(o.visible),clearInterval(u)},n+400)},n)}},l=function(t,e){return u(!1,t,e)};e.HtmlFormatter=a,e.showUnchanged=u,e.hideUnchanged=l;var c;e.format=function(t,e){return c||(c=new a),c.format(t,e)}},function(t,e,n){"use strict";var r=n(7);if(e.base=n(1),e.html=n(9),e.annotated=n(8),e.jsonpatch=n(11),!r.isBrowser){var i="./console";e.console=n(139)(i)}},function(t,e,n){"use strict";!function(){function t(){this.includeMoveDestinations=!1}function r(t){return t[t.length-1]}function i(t,e){return t.sort(e),t}function o(t){return i(t,function(t,e){var n=t.path.split("/"),i=e.path.split("/");return n.length!==i.length?n.length-i.length:h(r(n),r(i))})}function a(t,e){var n=[],r=[];return t.forEach(function(t){var i=e(t)?n:r;i.push(t)}),[n,r]}function s(t){var e=a(t,function(t){return"remove"===t.op}),n=e[0],r=e[1],i=o(n);return i.concat(r)}var u=n(1),l=u.BaseFormatter,c={added:"add",deleted:"remove",modified:"replace",moved:"moved",movedestination:"movedestination",unchanged:"unchanged",error:"error",textDiffLine:"textDiffLine"};t.prototype=new l,t.prototype.prepareContext=function(t){l.prototype.prepareContext.call(this,t),t.result=[],t.path=[],t.pushCurrentOp=function(t,e){var n={op:t,path:this.currentPath()};"undefined"!=typeof e&&(n.value=e),this.result.push(n)},t.currentPath=function(){return"/"+this.path.join("/")}},t.prototype.typeFormattterErrorFormatter=function(t,e){t.out("[ERROR]"+e)},t.prototype.rootBegin=function(){},t.prototype.rootEnd=function(){},t.prototype.nodeBegin=function(t,e,n){t.path.push(n)},t.prototype.nodeEnd=function(t){t.path.pop()},t.prototype.format_unchanged=function(t,e,n){"undefined"!=typeof n&&t.pushCurrentOp(c.unchanged,n)},t.prototype.format_movedestination=function(t,e,n){"undefined"!=typeof n&&t.pushCurrentOp(c.movedestination,n)},t.prototype.format_node=function(t,e,n){this.formatDeltaChildren(t,e,n)},t.prototype.format_added=function(t,e){t.pushCurrentOp(c.added,e[0])},t.prototype.format_modified=function(t,e){t.pushCurrentOp(c.modified,e[1])},t.prototype.format_deleted=function(t){t.pushCurrentOp(c.deleted)},t.prototype.format_moved=function(t,e){t.pushCurrentOp(c.moved,e[1])},t.prototype.format_textdiff=function(){throw"not implimented"},t.prototype.format=function(t,e){var n={};return this.prepareContext(n),this.recurse(n,t,e),n.result},e.JSONFormatter=t;var f,h=function(t,e){var n=parseInt(t,10),r=parseInt(e,10);return isNaN(n)||isNaN(r)?0:r-n},d=function(e,n){return f||(f=new t),s(f.format(e,n))};e.log=function(t,e){console.log(d(t,e))},e.format=d}()},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0}),e.eventEmitter=e.generateId=void 0;var i=n(120),o=r(i),a=(0,o["default"])({}),s=function(){var t=0,e="item_";return function(n){return n="string"==typeof n?n:e,t+=1,n+t}}();e.generateId=s,e.eventEmitter=a},function(t,e,n){"use strict";t.exports=!n(19)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){"use strict";t.exports=function(t,e){var n;return"string"==typeof e&&(n=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d*))?(Z|([+\-])(\d{2}):(\d{2}))$/.exec(e))?new Date(Date.UTC(+n[1],+n[2]-1,+n[3],+n[4],+n[5],+n[6],+(n[7]||0))):e}},function(t,e,n){"use strict";var r=n(66),i=n(1),o=i.BaseFormatter,a={added:r.green,deleted:r.red,movedestination:r.gray,moved:r.yellow,unchanged:r.gray,error:r.white.bgRed,textDiffLine:r.gray},s=function(){this.includeMoveDestinations=!1};s.prototype=new o,s.prototype.prepareContext=function(t){o.prototype.prepareContext.call(this,t),t.indent=function(t){this.indentLevel=(this.indentLevel||0)+("undefined"==typeof t?1:t),this.indentPad=new Array(this.indentLevel+1).join(" "),this.outLine()},t.outLine=function(){this.buffer.push("\n"+(this.indentPad||""))},t.out=function(){for(var t=0,e=arguments.length;t<e;t++){var n=arguments[t].split("\n"),r=n.join("\n"+(this.indentPad||""));this.color&&this.color[0]&&(r=this.color[0](r)),this.buffer.push(r)}},t.pushColor=function(t){this.color=this.color||[],this.color.unshift(t)},t.popColor=function(){this.color=this.color||[],this.color.shift()}},s.prototype.typeFormattterErrorFormatter=function(t,e){t.pushColor(a.error),t.out("[ERROR]"+e),t.popColor()},s.prototype.formatValue=function(t,e){t.out(JSON.stringify(e,null,2))},s.prototype.formatTextDiffString=function(t,e){var n=this.parseTextDiff(e);t.indent();for(var r=0,i=n.length;r<i;r++){var o=n[r];t.pushColor(a.textDiffLine),t.out(o.location.line+","+o.location.chr+" "),t.popColor();for(var s=o.pieces,u=0,l=s.length;u<l;u++){var c=s[u];t.pushColor(a[c.type]),t.out(c.text),t.popColor()}r<i-1&&t.outLine()}t.indent(-1)},s.prototype.rootBegin=function(t,e,n){t.pushColor(a[e]),"node"===e&&(t.out("array"===n?"[":"{"),t.indent())},s.prototype.rootEnd=function(t,e,n){"node"===e&&(t.indent(-1),t.out("array"===n?"]":"}")),t.popColor()},s.prototype.nodeBegin=function(t,e,n,r,i){t.pushColor(a[r]),t.out(n+": "),"node"===r&&(t.out("array"===i?"[":"{"),t.indent())},s.prototype.nodeEnd=function(t,e,n,r,i,o){"node"===r&&(t.indent(-1),t.out("array"===i?"]":"}"+(o?"":","))),o||t.outLine(),t.popColor()},s.prototype.format_unchanged=function(t,e,n){"undefined"!=typeof n&&this.formatValue(t,n)},s.prototype.format_movedestination=function(t,e,n){"undefined"!=typeof n&&this.formatValue(t,n)},s.prototype.format_node=function(t,e,n){this.formatDeltaChildren(t,e,n)},s.prototype.format_added=function(t,e){this.formatValue(t,e[0])},s.prototype.format_modified=function(t,e){t.pushColor(a.deleted),this.formatValue(t,e[0]),t.popColor(),t.out(" => "),t.pushColor(a.added),this.formatValue(t,e[1]),t.popColor()},s.prototype.format_deleted=function(t,e){this.formatValue(t,e[0])},s.prototype.format_moved=function(t,e){t.out("==> "+e[1])},s.prototype.format_textdiff=function(t,e){this.formatTextDiffString(t,e[0])},e.ConsoleFormatter=s;var u,l=function(t,e){return u||(u=new s),u.format(t,e)};e.log=function(t,e){console.log(l(t,e))},e.format=l},function(t,e,n){"use strict";var r=n(7),i=n(24).DiffPatcher;e.DiffPatcher=i,e.create=function(t){return new i(t)},e.dateReviver=n(14);var o;if(e.diff=function(){return o||(o=new i),o.diff.apply(o,arguments)},e.patch=function(){return o||(o=new i),o.patch.apply(o,arguments)},e.unpatch=function(){return o||(o=new i),o.unpatch.apply(o,arguments)},e.reverse=function(){return o||(o=new i),o.reverse.apply(o,arguments)},r.isBrowser)e.homepage="{{package-homepage}}",e.version="{{package-version}}";else{var a="../package.json",s=n(48)(a);e.homepage=s.homepage,e.version=s.version;var u="./formatters",l=n(48)(u);e.formatters=l,e.console=l.console}},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},r=function(t){this.name=t,this.filters=[]};r.prototype.process=function(t){if(!this.processor)throw new Error("add this pipe to a processor before using it");for(var e=this.debug,r=this.filters.length,i=t,o=0;o<r;o++){var a=this.filters[o];if(e&&this.log("filter: "+a.filterName),a(i),"object"===("undefined"==typeof i?"undefined":n(i))&&i.exiting){i.exiting=!1;break}}!i.next&&this.resultCheck&&this.resultCheck(i)},r.prototype.log=function(t){console.log("[jsondiffpatch] "+this.name+" pipe, "+t)},r.prototype.append=function(){return this.filters.push.apply(this.filters,arguments),this},r.prototype.prepend=function(){return this.filters.unshift.apply(this.filters,arguments),this},r.prototype.indexOf=function(t){if(!t)throw new Error("a filter name is required");for(var e=0;e<this.filters.length;e++){var n=this.filters[e];if(n.filterName===t)return e}throw new Error("filter not found: "+t)},r.prototype.list=function(){for(var t=[],e=0;e<this.filters.length;e++){var n=this.filters[e];t.push(n.filterName)}return t},r.prototype.after=function(t){var e=this.indexOf(t),n=Array.prototype.slice.call(arguments,1);if(!n.length)throw new Error("a filter is required");return n.unshift(e+1,0),Array.prototype.splice.apply(this.filters,n),this},r.prototype.before=function(t){var e=this.indexOf(t),n=Array.prototype.slice.call(arguments,1);if(!n.length)throw new Error("a filter is required");return n.unshift(e,0),Array.prototype.splice.apply(this.filters,n),this},r.prototype.clear=function(){return this.filters.length=0,this},r.prototype.shouldHaveResult=function(t){if(t===!1)return void(this.resultCheck=null);if(!this.resultCheck){var e=this;return this.resultCheck=function(t){if(!t.hasResult){console.log(t);var n=new Error(e.name+" failed");throw n.noResult=!0,n}},this}},e.Pipe=r},function(t,e){"use strict";var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(t,e){"use strict";t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e){"use strict";var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};t.exports=function(t){return"object"===("undefined"==typeof t?"undefined":n(t))?null!==t:"function"==typeof t}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e,n){return l.diff(t,e,n)}function o(t,e,n){var r=(0,u.generateOptions)(n,{ignoreWhitespace:!0});return l.diff(t,e,r)}e.__esModule=!0,e.lineDiff=void 0,e.diffLines=i,e.diffTrimmedLines=o;var a=n(2),s=r(a),u=n(42),l=e.lineDiff=new s["default"];l.tokenize=function(t){var e=[],n=t.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var i=n[r];r%2&&!this.options.newlineIsToken?e[e.length-1]+=i:(this.options.ignoreWhitespace&&(i=i.trim()),e.push(i))}return e}},function(t,e){"use strict";function n(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32}var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},i=-1,o=1,a=0;n.Diff,n.prototype.diff_main=function(t,e,n,r){"undefined"==typeof r&&(r=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var i=r;if(null==t||null==e)throw new Error("Null input. (diff_main)");if(t==e)return t?[[a,t]]:[];"undefined"==typeof n&&(n=!0);var o=n,s=this.diff_commonPrefix(t,e),u=t.substring(0,s);t=t.substring(s),e=e.substring(s),s=this.diff_commonSuffix(t,e);var l=t.substring(t.length-s);t=t.substring(0,t.length-s),e=e.substring(0,e.length-s);var c=this.diff_compute_(t,e,o,i);return u&&c.unshift([a,u]),l&&c.push([a,l]),this.diff_cleanupMerge(c),c},n.prototype.diff_compute_=function(t,e,n,r){var s;if(!t)return[[o,e]];if(!e)return[[i,t]];var u=t.length>e.length?t:e,l=t.length>e.length?e:t,c=u.indexOf(l);if(c!=-1)return s=[[o,u.substring(0,c)],[a,l],[o,u.substring(c+l.length)]],t.length>e.length&&(s[0][0]=s[2][0]=i),s;if(1==l.length)return[[i,t],[o,e]];u=l=null;var f=this.diff_halfMatch_(t,e);if(f){var h=f[0],d=f[1],p=f[2],v=f[3],g=f[4],m=this.diff_main(h,p,n,r),y=this.diff_main(d,v,n,r);return m.concat([[a,g]],y)}return n&&t.length>100&&e.length>100?this.diff_lineMode_(t,e,r):this.diff_bisect_(t,e,r)},n.prototype.diff_lineMode_=function(t,e,n){var r=this.diff_linesToChars_(t,e);t=r[0],e=r[1];var s=r[2],u=this.diff_bisect_(t,e,n);this.diff_charsToLines_(u,s),this.diff_cleanupSemantic(u),u.push([a,""]);for(var l=0,c=0,f=0,h="",d="";l<u.length;){switch(u[l][0]){case o:f++,d+=u[l][1];break;case i:c++,h+=u[l][1];break;case a:if(c>=1&&f>=1){var r=this.diff_main(h,d,!1,n);u.splice(l-c-f,c+f),l=l-c-f;for(var p=r.length-1;p>=0;p--)u.splice(l,0,r[p]);l+=r.length}f=0,c=0,h="",d=""}l++}return u.pop(),u},n.prototype.diff_bisect_=function(t,e,n){for(var r=t.length,a=e.length,s=Math.ceil((r+a)/2),u=s,l=2*s,c=new Array(l),f=new Array(l),h=0;h<l;h++)c[h]=-1,f[h]=-1;c[u+1]=0,f[u+1]=0;for(var d=r-a,p=d%2!=0,v=0,g=0,m=0,y=0,b=0;b<s&&!((new Date).getTime()>n);b++){for(var x=-b+v;x<=b-g;x+=2){var _,w=u+x;_=x==-b||x!=b&&c[w-1]<c[w+1]?c[w+1]:c[w-1]+1;for(var C=_-x;_<r&&C<a&&t.charAt(_)==e.charAt(C);)_++,C++;if(c[w]=_,_>r)g+=2;else if(C>a)v+=2;else if(p){var k=u+d-x;if(k>=0&&k<l&&f[k]!=-1){var T=r-f[k];if(_>=T)return this.diff_bisectSplit_(t,e,_,C,n)}}}for(var S=-b+m;S<=b-y;S+=2){var T,k=u+S;T=S==-b||S!=b&&f[k-1]<f[k+1]?f[k+1]:f[k-1]+1;for(var A=T-S;T<r&&A<a&&t.charAt(r-T-1)==e.charAt(a-A-1);)T++,A++;if(f[k]=T,T>r)y+=2;else if(A>a)m+=2;else if(!p){var w=u+d-S;if(w>=0&&w<l&&c[w]!=-1){var _=c[w],C=u+_-w;if(T=r-T,_>=T)return this.diff_bisectSplit_(t,e,_,C,n)}}}}return[[i,t],[o,e]]},n.prototype.diff_bisectSplit_=function(t,e,n,r,i){var o=t.substring(0,n),a=e.substring(0,r),s=t.substring(n),u=e.substring(r),l=this.diff_main(o,a,!1,i),c=this.diff_main(s,u,!1,i);return l.concat(c)},n.prototype.diff_linesToChars_=function(t,e){function n(t){for(var e="",n=0,o=-1,a=r.length;o<t.length-1;){o=t.indexOf("\n",n),o==-1&&(o=t.length-1);var s=t.substring(n,o+1);n=o+1,(i.hasOwnProperty?i.hasOwnProperty(s):void 0!==i[s])?e+=String.fromCharCode(i[s]):(e+=String.fromCharCode(a),i[s]=a,r[a++]=s)}return e}var r=[],i={};r[0]="";var o=n(t),a=n(e);return[o,a,r]},n.prototype.diff_charsToLines_=function(t,e){for(var n=0;n<t.length;n++){for(var r=t[n][1],i=[],o=0;o<r.length;o++)i[o]=e[r.charCodeAt(o)];t[n][1]=i.join("")}},n.prototype.diff_commonPrefix=function(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,o=0;n<i;)t.substring(o,i)==e.substring(o,i)?(n=i,o=n):r=i,i=Math.floor((r-n)/2+n);return i},n.prototype.diff_commonSuffix=function(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,o=0;n<i;)t.substring(t.length-i,t.length-o)==e.substring(e.length-i,e.length-o)?(n=i,o=n):r=i,i=Math.floor((r-n)/2+n);return i},n.prototype.diff_commonOverlap_=function(t,e){var n=t.length,r=e.length;if(0==n||0==r)return 0;n>r?t=t.substring(n-r):n<r&&(e=e.substring(0,n));var i=Math.min(n,r);if(t==e)return i;for(var o=0,a=1;;){var s=t.substring(i-a),u=e.indexOf(s);if(u==-1)return o;a+=u,0!=u&&t.substring(i-a)!=e.substring(0,a)||(o=a,a++)}},n.prototype.diff_halfMatch_=function(t,e){function n(t,e,n){for(var r,i,o,s,u=t.substring(n,n+Math.floor(t.length/4)),l=-1,c="";(l=e.indexOf(u,l+1))!=-1;){var f=a.diff_commonPrefix(t.substring(n),e.substring(l)),h=a.diff_commonSuffix(t.substring(0,n),e.substring(0,l));c.length<h+f&&(c=e.substring(l-h,l)+e.substring(l,l+f),r=t.substring(0,n-h),i=t.substring(n+f),o=e.substring(0,l-h),s=e.substring(l+f))}return 2*c.length>=t.length?[r,i,o,s,c]:null}if(this.Diff_Timeout<=0)return null;var r=t.length>e.length?t:e,i=t.length>e.length?e:t;if(r.length<4||2*i.length<r.length)return null;var o,a=this,s=n(r,i,Math.ceil(r.length/4)),u=n(r,i,Math.ceil(r.length/2));if(!s&&!u)return null;o=u?s&&s[4].length>u[4].length?s:u:s;var l,c,f,h;t.length>e.length?(l=o[0],c=o[1],f=o[2],h=o[3]):(f=o[0],h=o[1],l=o[2],c=o[3]);var d=o[4];return[l,c,f,h,d]},n.prototype.diff_cleanupSemantic=function(t){for(var e=!1,n=[],r=0,s=null,u=0,l=0,c=0,f=0,h=0;u<t.length;)t[u][0]==a?(n[r++]=u,l=f,c=h,f=0,h=0,s=t[u][1]):(t[u][0]==o?f+=t[u][1].length:h+=t[u][1].length,
+null!==s&&s.length<=Math.max(l,c)&&s.length<=Math.max(f,h)&&(t.splice(n[r-1],0,[i,s]),t[n[r-1]+1][0]=o,r--,r--,u=r>0?n[r-1]:-1,l=0,c=0,f=0,h=0,s=null,e=!0)),u++;for(e&&this.diff_cleanupMerge(t),this.diff_cleanupSemanticLossless(t),u=1;u<t.length;){if(t[u-1][0]==i&&t[u][0]==o){var d=t[u-1][1],p=t[u][1],v=this.diff_commonOverlap_(d,p);(v>=d.length/2||v>=p.length/2)&&(t.splice(u,0,[a,p.substring(0,v)]),t[u-1][1]=d.substring(0,d.length-v),t[u+1][1]=p.substring(v),u++),u++}u++}},n.prototype.diff_cleanupSemanticLossless=function(t){function e(t,e){if(!t||!e)return 5;var a=0;return(t.charAt(t.length-1).match(n)||e.charAt(0).match(n))&&(a++,(t.charAt(t.length-1).match(r)||e.charAt(0).match(r))&&(a++,(t.charAt(t.length-1).match(i)||e.charAt(0).match(i))&&(a++,(t.match(o)||e.match(s))&&a++))),a}for(var n=/[^a-zA-Z0-9]/,r=/\s/,i=/[\r\n]/,o=/\n\r?\n$/,s=/^\r?\n\r?\n/,u=1;u<t.length-1;){if(t[u-1][0]==a&&t[u+1][0]==a){var l=t[u-1][1],c=t[u][1],f=t[u+1][1],h=this.diff_commonSuffix(l,c);if(h){var d=c.substring(c.length-h);l=l.substring(0,l.length-h),c=d+c.substring(0,c.length-h),f=d+f}for(var p=l,v=c,g=f,m=e(l,c)+e(c,f);c.charAt(0)===f.charAt(0);){l+=c.charAt(0),c=c.substring(1)+f.charAt(0),f=f.substring(1);var y=e(l,c)+e(c,f);y>=m&&(m=y,p=l,v=c,g=f)}t[u-1][1]!=p&&(p?t[u-1][1]=p:(t.splice(u-1,1),u--),t[u][1]=v,g?t[u+1][1]=g:(t.splice(u+1,1),u--))}u++}},n.prototype.diff_cleanupEfficiency=function(t){for(var e=!1,n=[],r=0,s="",u=0,l=!1,c=!1,f=!1,h=!1;u<t.length;)t[u][0]==a?(t[u][1].length<this.Diff_EditCost&&(f||h)?(n[r++]=u,l=f,c=h,s=t[u][1]):(r=0,s=""),f=h=!1):(t[u][0]==i?h=!0:f=!0,s&&(l&&c&&f&&h||s.length<this.Diff_EditCost/2&&l+c+f+h==3)&&(t.splice(n[r-1],0,[i,s]),t[n[r-1]+1][0]=o,r--,s="",l&&c?(f=h=!0,r=0):(r--,u=r>0?n[r-1]:-1,f=h=!1),e=!0)),u++;e&&this.diff_cleanupMerge(t)},n.prototype.diff_cleanupMerge=function(t){t.push([a,""]);for(var e,n=0,r=0,s=0,u="",l="";n<t.length;)switch(t[n][0]){case o:s++,l+=t[n][1],n++;break;case i:r++,u+=t[n][1],n++;break;case a:r+s>1?(0!==r&&0!==s&&(e=this.diff_commonPrefix(l,u),0!==e&&(n-r-s>0&&t[n-r-s-1][0]==a?t[n-r-s-1][1]+=l.substring(0,e):(t.splice(0,0,[a,l.substring(0,e)]),n++),l=l.substring(e),u=u.substring(e)),e=this.diff_commonSuffix(l,u),0!==e&&(t[n][1]=l.substring(l.length-e)+t[n][1],l=l.substring(0,l.length-e),u=u.substring(0,u.length-e))),0===r?t.splice(n-r-s,r+s,[o,l]):0===s?t.splice(n-r-s,r+s,[i,u]):t.splice(n-r-s,r+s,[i,u],[o,l]),n=n-r-s+(r?1:0)+(s?1:0)+1):0!==n&&t[n-1][0]==a?(t[n-1][1]+=t[n][1],t.splice(n,1)):n++,s=0,r=0,u="",l=""}""===t[t.length-1][1]&&t.pop();var c=!1;for(n=1;n<t.length-1;)t[n-1][0]==a&&t[n+1][0]==a&&(t[n][1].substring(t[n][1].length-t[n-1][1].length)==t[n-1][1]?(t[n][1]=t[n-1][1]+t[n][1].substring(0,t[n][1].length-t[n-1][1].length),t[n+1][1]=t[n-1][1]+t[n+1][1],t.splice(n-1,1),c=!0):t[n][1].substring(0,t[n+1][1].length)==t[n+1][1]&&(t[n-1][1]+=t[n+1][1],t[n][1]=t[n][1].substring(t[n+1][1].length)+t[n+1][1],t.splice(n+1,1),c=!0)),n++;c&&this.diff_cleanupMerge(t)},n.prototype.diff_xIndex=function(t,e){var n,r=0,a=0,s=0,u=0;for(n=0;n<t.length&&(t[n][0]!==o&&(r+=t[n][1].length),t[n][0]!==i&&(a+=t[n][1].length),!(r>e));n++)s=r,u=a;return t.length!=n&&t[n][0]===i?u:u+(e-s)},n.prototype.diff_prettyHtml=function(t){for(var e=[],n=0,r=/&/g,s=/</g,u=/>/g,l=/\n/g,c=0;c<t.length;c++){var f=t[c][0],h=t[c][1],d=h.replace(r,"&").replace(s,"<").replace(u,">").replace(l,"¶<br>");switch(f){case o:e[c]='<ins style="background:#e6ffe6;">'+d+"</ins>";break;case i:e[c]='<del style="background:#ffe6e6;">'+d+"</del>";break;case a:e[c]="<span>"+d+"</span>"}f!==i&&(n+=h.length)}return e.join("")},n.prototype.diff_text1=function(t){for(var e=[],n=0;n<t.length;n++)t[n][0]!==o&&(e[n]=t[n][1]);return e.join("")},n.prototype.diff_text2=function(t){for(var e=[],n=0;n<t.length;n++)t[n][0]!==i&&(e[n]=t[n][1]);return e.join("")},n.prototype.diff_levenshtein=function(t){for(var e=0,n=0,r=0,s=0;s<t.length;s++){var u=t[s][0],l=t[s][1];switch(u){case o:n+=l.length;break;case i:r+=l.length;break;case a:e+=Math.max(n,r),n=0,r=0}}return e+=Math.max(n,r)},n.prototype.diff_toDelta=function(t){for(var e=[],n=0;n<t.length;n++)switch(t[n][0]){case o:e[n]="+"+encodeURI(t[n][1]);break;case i:e[n]="-"+t[n][1].length;break;case a:e[n]="="+t[n][1].length}return e.join("\t").replace(/%20/g," ")},n.prototype.diff_fromDelta=function(t,e){for(var n=[],r=0,s=0,u=e.split(/\t/g),l=0;l<u.length;l++){var c=u[l].substring(1);switch(u[l].charAt(0)){case"+":try{n[r++]=[o,decodeURI(c)]}catch(f){throw new Error("Illegal escape in diff_fromDelta: "+c)}break;case"-":case"=":var h=parseInt(c,10);if(isNaN(h)||h<0)throw new Error("Invalid number in diff_fromDelta: "+c);var d=t.substring(s,s+=h);"="==u[l].charAt(0)?n[r++]=[a,d]:n[r++]=[i,d];break;default:if(u[l])throw new Error("Invalid diff operation in diff_fromDelta: "+u[l])}}if(s!=t.length)throw new Error("Delta length ("+s+") does not equal source text length ("+t.length+").");return n},n.prototype.match_main=function(t,e,n){if(null==t||null==e||null==n)throw new Error("Null input. (match_main)");return n=Math.max(0,Math.min(n,t.length)),t==e?0:t.length?t.substring(n,n+e.length)==e?n:this.match_bitap_(t,e,n):-1},n.prototype.match_bitap_=function(t,e,n){function r(t,r){var i=t/e.length,a=Math.abs(n-r);return o.Match_Distance?i+a/o.Match_Distance:a?1:i}if(e.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var i=this.match_alphabet_(e),o=this,a=this.Match_Threshold,s=t.indexOf(e,n);s!=-1&&(a=Math.min(r(0,s),a),s=t.lastIndexOf(e,n+e.length),s!=-1&&(a=Math.min(r(0,s),a)));var u=1<<e.length-1;s=-1;for(var l,c,f,h=e.length+t.length,d=0;d<e.length;d++){for(l=0,c=h;l<c;)r(d,n+c)<=a?l=c:h=c,c=Math.floor((h-l)/2+l);h=c;var p=Math.max(1,n-c+1),v=Math.min(n+c,t.length)+e.length,g=Array(v+2);g[v+1]=(1<<d)-1;for(var m=v;m>=p;m--){var y=i[t.charAt(m-1)];if(0===d?g[m]=(g[m+1]<<1|1)&y:g[m]=(g[m+1]<<1|1)&y|((f[m+1]|f[m])<<1|1)|f[m+1],g[m]&u){var b=r(d,m-1);if(b<=a){if(a=b,s=m-1,!(s>n))break;p=Math.max(1,2*n-s)}}}if(r(d+1,n)>a)break;f=g}return s},n.prototype.match_alphabet_=function(t){for(var e={},n=0;n<t.length;n++)e[t.charAt(n)]=0;for(var n=0;n<t.length;n++)e[t.charAt(n)]|=1<<t.length-n-1;return e},n.prototype.patch_addContext_=function(t,e){if(0!=e.length){for(var n=e.substring(t.start2,t.start2+t.length1),r=0;e.indexOf(n)!=e.lastIndexOf(n)&&n.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)r+=this.Patch_Margin,n=e.substring(t.start2-r,t.start2+t.length1+r);r+=this.Patch_Margin;var i=e.substring(t.start2-r,t.start2);i&&t.diffs.unshift([a,i]);var o=e.substring(t.start2+t.length1,t.start2+t.length1+r);o&&t.diffs.push([a,o]),t.start1-=i.length,t.start2-=i.length,t.length1+=i.length+o.length,t.length2+=i.length+o.length}},n.prototype.patch_make=function(t,e,s){var u,l;if("string"==typeof t&&"string"==typeof e&&"undefined"==typeof s)u=t,l=this.diff_main(u,e,!0),l.length>2&&(this.diff_cleanupSemantic(l),this.diff_cleanupEfficiency(l));else if(t&&"object"==("undefined"==typeof t?"undefined":r(t))&&"undefined"==typeof e&&"undefined"==typeof s)l=t,u=this.diff_text1(l);else if("string"==typeof t&&e&&"object"==("undefined"==typeof e?"undefined":r(e))&&"undefined"==typeof s)u=t,l=e;else{if("string"!=typeof t||"string"!=typeof e||!s||"object"!=("undefined"==typeof s?"undefined":r(s)))throw new Error("Unknown call format to patch_make.");u=t,l=s}if(0===l.length)return[];for(var c=[],f=new n.patch_obj,h=0,d=0,p=0,v=u,g=u,m=0;m<l.length;m++){var y=l[m][0],b=l[m][1];switch(h||y===a||(f.start1=d,f.start2=p),y){case o:f.diffs[h++]=l[m],f.length2+=b.length,g=g.substring(0,p)+b+g.substring(p);break;case i:f.length1+=b.length,f.diffs[h++]=l[m],g=g.substring(0,p)+g.substring(p+b.length);break;case a:b.length<=2*this.Patch_Margin&&h&&l.length!=m+1?(f.diffs[h++]=l[m],f.length1+=b.length,f.length2+=b.length):b.length>=2*this.Patch_Margin&&h&&(this.patch_addContext_(f,v),c.push(f),f=new n.patch_obj,h=0,v=g,d=p)}y!==o&&(d+=b.length),y!==i&&(p+=b.length)}return h&&(this.patch_addContext_(f,v),c.push(f)),c},n.prototype.patch_deepCopy=function(t){for(var e=[],r=0;r<t.length;r++){var i=t[r],o=new n.patch_obj;o.diffs=[];for(var a=0;a<i.diffs.length;a++)o.diffs[a]=i.diffs[a].slice();o.start1=i.start1,o.start2=i.start2,o.length1=i.length1,o.length2=i.length2,e[r]=o}return e},n.prototype.patch_apply=function(t,e){if(0==t.length)return[e,[]];t=this.patch_deepCopy(t);var n=this.patch_addPadding(t);e=n+e+n,this.patch_splitMax(t);for(var r=0,s=[],u=0;u<t.length;u++){var l,c=t[u].start2+r,f=this.diff_text1(t[u].diffs),h=-1;if(f.length>this.Match_MaxBits?(l=this.match_main(e,f.substring(0,this.Match_MaxBits),c),l!=-1&&(h=this.match_main(e,f.substring(f.length-this.Match_MaxBits),c+f.length-this.Match_MaxBits),(h==-1||l>=h)&&(l=-1))):l=this.match_main(e,f,c),l==-1)s[u]=!1,r-=t[u].length2-t[u].length1;else{s[u]=!0,r=l-c;var d;if(d=h==-1?e.substring(l,l+f.length):e.substring(l,h+this.Match_MaxBits),f==d)e=e.substring(0,l)+this.diff_text2(t[u].diffs)+e.substring(l+f.length);else{var p=this.diff_main(f,d,!1);if(f.length>this.Match_MaxBits&&this.diff_levenshtein(p)/f.length>this.Patch_DeleteThreshold)s[u]=!1;else{this.diff_cleanupSemanticLossless(p);for(var v,g=0,m=0;m<t[u].diffs.length;m++){var y=t[u].diffs[m];y[0]!==a&&(v=this.diff_xIndex(p,g)),y[0]===o?e=e.substring(0,l+v)+y[1]+e.substring(l+v):y[0]===i&&(e=e.substring(0,l+v)+e.substring(l+this.diff_xIndex(p,g+y[1].length))),y[0]!==i&&(g+=y[1].length)}}}}}return e=e.substring(n.length,e.length-n.length),[e,s]},n.prototype.patch_addPadding=function(t){for(var e=this.Patch_Margin,n="",r=1;r<=e;r++)n+=String.fromCharCode(r);for(var r=0;r<t.length;r++)t[r].start1+=e,t[r].start2+=e;var i=t[0],o=i.diffs;if(0==o.length||o[0][0]!=a)o.unshift([a,n]),i.start1-=e,i.start2-=e,i.length1+=e,i.length2+=e;else if(e>o[0][1].length){var s=e-o[0][1].length;o[0][1]=n.substring(o[0][1].length)+o[0][1],i.start1-=s,i.start2-=s,i.length1+=s,i.length2+=s}if(i=t[t.length-1],o=i.diffs,0==o.length||o[o.length-1][0]!=a)o.push([a,n]),i.length1+=e,i.length2+=e;else if(e>o[o.length-1][1].length){var s=e-o[o.length-1][1].length;o[o.length-1][1]+=n.substring(0,s),i.length1+=s,i.length2+=s}return n},n.prototype.patch_splitMax=function(t){for(var e=this.Match_MaxBits,r=0;r<t.length;r++)if(t[r].length1>e){var s=t[r];t.splice(r--,1);for(var u=s.start1,l=s.start2,c="";0!==s.diffs.length;){var f=new n.patch_obj,h=!0;for(f.start1=u-c.length,f.start2=l-c.length,""!==c&&(f.length1=f.length2=c.length,f.diffs.push([a,c]));0!==s.diffs.length&&f.length1<e-this.Patch_Margin;){var d=s.diffs[0][0],p=s.diffs[0][1];d===o?(f.length2+=p.length,l+=p.length,f.diffs.push(s.diffs.shift()),h=!1):d===i&&1==f.diffs.length&&f.diffs[0][0]==a&&p.length>2*e?(f.length1+=p.length,u+=p.length,h=!1,f.diffs.push([d,p]),s.diffs.shift()):(p=p.substring(0,e-f.length1-this.Patch_Margin),f.length1+=p.length,u+=p.length,d===a?(f.length2+=p.length,l+=p.length):h=!1,f.diffs.push([d,p]),p==s.diffs[0][1]?s.diffs.shift():s.diffs[0][1]=s.diffs[0][1].substring(p.length))}c=this.diff_text2(f.diffs),c=c.substring(c.length-this.Patch_Margin);var v=this.diff_text1(s.diffs).substring(0,this.Patch_Margin);""!==v&&(f.length1+=v.length,f.length2+=v.length,0!==f.diffs.length&&f.diffs[f.diffs.length-1][0]===a?f.diffs[f.diffs.length-1][1]+=v:f.diffs.push([a,v])),h||t.splice(++r,0,f)}}},n.prototype.patch_toText=function(t){for(var e=[],n=0;n<t.length;n++)e[n]=t[n];return e.join("")},n.prototype.patch_fromText=function(t){var e=[];if(!t)return e;for(var r=t.split("\n"),s=0,u=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;s<r.length;){var l=r[s].match(u);if(!l)throw new Error("Invalid patch string: "+r[s]);var c=new n.patch_obj;for(e.push(c),c.start1=parseInt(l[1],10),""===l[2]?(c.start1--,c.length1=1):"0"==l[2]?c.length1=0:(c.start1--,c.length1=parseInt(l[2],10)),c.start2=parseInt(l[3],10),""===l[4]?(c.start2--,c.length2=1):"0"==l[4]?c.length2=0:(c.start2--,c.length2=parseInt(l[4],10)),s++;s<r.length;){var f=r[s].charAt(0);try{var h=decodeURI(r[s].substring(1))}catch(d){throw new Error("Illegal escape in patch_fromText: "+h)}if("-"==f)c.diffs.push([i,h]);else if("+"==f)c.diffs.push([o,h]);else if(" "==f)c.diffs.push([a,h]);else{if("@"==f)break;if(""!==f)throw new Error('Invalid patch mode "'+f+'" in: '+h)}s++}}return e},n.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0},n.patch_obj.prototype.toString=function(){var t,e;t=0===this.length1?this.start1+",0":1==this.length1?this.start1+1:this.start1+1+","+this.length1,e=0===this.length2?this.start2+",0":1==this.length2?this.start2+1:this.start2+1+","+this.length2;for(var n,r=["@@ -"+t+" +"+e+" @@\n"],s=0;s<this.diffs.length;s++){switch(this.diffs[s][0]){case o:n="+";break;case i:n="-";break;case a:n=" "}r[s+1]=n+encodeURI(this.diffs[s][1])+"\n"}return r.join("").replace(/%20/g," ")},(void 0).diff_match_patch=n,(void 0).DIFF_DELETE=i,(void 0).DIFF_INSERT=o,(void 0).DIFF_EQUAL=a},function(t,e,n){"use strict";var r=n(31).Processor,i=n(17).Pipe,o=n(4).DiffContext,a=n(5).PatchContext,s=n(6).ReverseContext,u=n(30),l=n(28),c=n(25),f=n(26),h=n(29),d=function(t){this.processor=new r(t),this.processor.pipe(new i("diff").append(l.collectChildrenDiffFilter,u.diffFilter,f.diffFilter,h.diffFilter,l.objectsDiffFilter,c.diffFilter).shouldHaveResult()),this.processor.pipe(new i("patch").append(l.collectChildrenPatchFilter,c.collectChildrenPatchFilter,u.patchFilter,h.patchFilter,l.patchFilter,c.patchFilter).shouldHaveResult()),this.processor.pipe(new i("reverse").append(l.collectChildrenReverseFilter,c.collectChildrenReverseFilter,u.reverseFilter,h.reverseFilter,l.reverseFilter,c.reverseFilter).shouldHaveResult())};d.prototype.options=function(){return this.processor.options.apply(this.processor,arguments)},d.prototype.diff=function(t,e){return this.processor.process(new o(t,e))},d.prototype.patch=function(t,e){return this.processor.process(new a(t,e))},d.prototype.reverse=function(t){return this.processor.process(new s(t))},d.prototype.unpatch=function(t,e){return this.patch(t,this.reverse(e))},e.DiffPatcher=d},function(t,e,n){"use strict";function r(t,e,n,r){for(var i=0;i<n;i++)for(var o=t[i],a=0;a<r;a++){var s=e[a];if(o===s)return!0}}function i(t,e,n,r,i){var a=t[n],s=e[r];if(a===s)return!0;if("object"!==("undefined"==typeof a?"undefined":o(a))||"object"!==("undefined"==typeof s?"undefined":o(s)))return!1;var u=i.objectHash;if(!u)return i.matchByPosition&&n===r;var l,c;return"number"==typeof n?(i.hashCache1=i.hashCache1||[],l=i.hashCache1[n],"undefined"==typeof l&&(i.hashCache1[n]=l=u(a,n))):l=u(a),"undefined"!=typeof l&&("number"==typeof r?(i.hashCache2=i.hashCache2||[],c=i.hashCache2[r],"undefined"==typeof c&&(i.hashCache2[r]=c=u(s,r))):c=u(s),"undefined"!=typeof c&&l===c)}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},a=n(4).DiffContext,s=n(5).PatchContext,u=n(6).ReverseContext,l=n(27),c=3,f="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array},h="function"==typeof Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r]===e)return r;return-1},d=function(t){if(t.leftIsArray){var e,n,o,s,u={objectHash:t.options&&t.options.objectHash,matchByPosition:t.options&&t.options.matchByPosition},f=0,d=0,p=t.left,v=t.right,g=p.length,m=v.length;for(g>0&&m>0&&!u.objectHash&&"boolean"!=typeof u.matchByPosition&&(u.matchByPosition=!r(p,v,g,m));f<g&&f<m&&i(p,v,f,f,u);)e=f,s=new a(t.left[e],t.right[e]),t.push(s,e),f++;for(;d+f<g&&d+f<m&&i(p,v,g-1-d,m-1-d,u);)n=g-1-d,o=m-1-d,s=new a(t.left[n],t.right[o]),t.push(s,o),d++;var y;if(f+d===g){if(g===m)return void t.setResult(void 0).exit();for(y=y||{_t:"a"},e=f;e<m-d;e++)y[e]=[v[e]];return void t.setResult(y).exit()}if(f+d===m){for(y=y||{_t:"a"},e=f;e<g-d;e++)y["_"+e]=[p[e],0,0];return void t.setResult(y).exit()}delete u.hashCache1,delete u.hashCache2;var b=p.slice(f,g-d),x=v.slice(f,m-d),_=l.get(b,x,i,u),w=[];for(y=y||{_t:"a"},e=f;e<g-d;e++)h(_.indices1,e-f)<0&&(y["_"+e]=[p[e],0,0],w.push(e));var C=!0;t.options&&t.options.arrays&&t.options.arrays.detectMove===!1&&(C=!1);var k=!1;t.options&&t.options.arrays&&t.options.arrays.includeValueOnMove&&(k=!0);var T=w.length;for(e=f;e<m-d;e++){var S=h(_.indices2,e-f);if(S<0){var A=!1;if(C&&T>0)for(var j=0;j<T;j++)if(n=w[j],i(b,x,n-f,e-f,u)){y["_"+n].splice(1,2,e,c),k||(y["_"+n][0]=""),o=e,s=new a(t.left[n],t.right[o]),t.push(s,o),w.splice(j,1),A=!0;break}A||(y[e]=[v[e]])}else n=_.indices1[S]+f,o=_.indices2[S]+f,s=new a(t.left[n],t.right[o]),t.push(s,o)}t.setResult(y).exit()}};d.filterName="arrays";var p={numerically:function(t,e){return t-e},numericallyBy:function(t){return function(e,n){return e[t]-n[t]}}},v=function(t){if(t.nested&&"a"===t.delta._t){var e,n,r=t.delta,i=t.left,o=[],a=[],u=[];for(e in r)if("_t"!==e)if("_"===e[0]){if(0!==r[e][2]&&r[e][2]!==c)throw new Error("only removal or move can be applied at original array indices, invalid diff type: "+r[e][2]);o.push(parseInt(e.slice(1),10))}else 1===r[e].length?a.push({index:parseInt(e,10),value:r[e][0]}):u.push({index:parseInt(e,10),delta:r[e]});for(o=o.sort(p.numerically),e=o.length-1;e>=0;e--){n=o[e];var l=r["_"+n],f=i.splice(n,1)[0];l[2]===c&&a.push({index:l[1],value:f})}a=a.sort(p.numericallyBy("index"));var h=a.length;for(e=0;e<h;e++){var d=a[e];i.splice(d.index,0,d.value)}var v,g=u.length;if(g>0)for(e=0;e<g;e++){var m=u[e];v=new s(t.left[m.index],m.delta),t.push(v,m.index)}return t.children?void t.exit():void t.setResult(t.left).exit()}};v.filterName="arrays";var g=function(t){if(t&&t.children&&"a"===t.delta._t){for(var e,n=t.children.length,r=0;r<n;r++)e=t.children[r],t.left[e.childName]=e.result;t.setResult(t.left).exit()}};g.filterName="arraysCollectChildren";var m=function(t){if(!t.nested)return void(t.delta[2]===c&&(t.newName="_"+t.delta[1],t.setResult([t.delta[0],parseInt(t.childName.substr(1),10),c]).exit()));if("a"===t.delta._t){var e,n;for(e in t.delta)"_t"!==e&&(n=new u(t.delta[e]),t.push(n,e));t.exit()}};m.filterName="arrays";var y=function(t,e,n){if("string"==typeof e&&"_"===e[0])return parseInt(e.substr(1),10);if(f(n)&&0===n[2])return"_"+e;var r=+e;for(var i in t){var o=t[i];if(f(o))if(o[2]===c){var a=parseInt(i.substr(1),10),s=o[1];if(s===+e)return a;a<=r&&s>r?r++:a>=r&&s<r&&r--}else if(0===o[2]){var u=parseInt(i.substr(1),10);u<=r&&r++}else 1===o.length&&i<=r&&r--}return r},b=function(t){if(t&&t.children&&"a"===t.delta._t){for(var e,n=t.children.length,r={_t:"a"},i=0;i<n;i++){e=t.children[i];var o=e.newName;"undefined"==typeof o&&(o=y(t.delta,e.childName,e.result)),r[o]!==e.result&&(r[o]=e.result)}t.setResult(r).exit()}};b.filterName="arraysCollectChildren",e.diffFilter=d,e.patchFilter=v,e.collectChildrenPatchFilter=g,e.reverseFilter=m,e.collectChildrenReverseFilter=b},function(t,e){"use strict";var n=function(t){t.left instanceof Date?(t.right instanceof Date?t.left.getTime()!==t.right.getTime()?t.setResult([t.left,t.right]):t.setResult(void 0):t.setResult([t.left,t.right]),t.exit()):t.right instanceof Date&&t.setResult([t.left,t.right]).exit()};n.filterName="dates",e.diffFilter=n},function(t,e){"use strict";var n=function(t,e,n,r){return t[n]===e[r]},r=function(t,e,n,r){var i,o,a=t.length,s=e.length,u=[a+1];for(i=0;i<a+1;i++)for(u[i]=[s+1],o=0;o<s+1;o++)u[i][o]=0;for(u.match=n,i=1;i<a+1;i++)for(o=1;o<s+1;o++)n(t,e,i-1,o-1,r)?u[i][o]=u[i-1][o-1]+1:u[i][o]=Math.max(u[i-1][o],u[i][o-1]);return u},i=function a(t,e,n,r,i,o){if(0===r||0===i)return{sequence:[],indices1:[],indices2:[]};if(t.match(e,n,r-1,i-1,o)){var s=a(t,e,n,r-1,i-1,o);return s.sequence.push(e[r-1]),s.indices1.push(r-1),s.indices2.push(i-1),s}return t[r][i-1]>t[r-1][i]?a(t,e,n,r,i-1,o):a(t,e,n,r-1,i,o)},o=function(t,e,o,a){a=a||{};var s=r(t,e,o||n,a),u=i(s,t,e,t.length,e.length,a);return"string"==typeof t&&"string"==typeof e&&(u.sequence=u.sequence.join("")),u};e.get=o},function(t,e,n){"use strict";var r=n(4).DiffContext,i=n(5).PatchContext,o=n(6).ReverseContext,a=function(t){if(t&&t.children){for(var e,n=t.children.length,r=t.result,i=0;i<n;i++)e=t.children[i],"undefined"!=typeof e.result&&(r=r||{},r[e.childName]=e.result);r&&t.leftIsArray&&(r._t="a"),t.setResult(r).exit()}};a.filterName="collectChildren";var s=function(t){if(!t.leftIsArray&&"object"===t.leftType){var e,n,i=t.options.propertyFilter;for(e in t.left)Object.prototype.hasOwnProperty.call(t.left,e)&&(i&&!i(e,t)||(n=new r(t.left[e],t.right[e]),t.push(n,e)));for(e in t.right)Object.prototype.hasOwnProperty.call(t.right,e)&&(i&&!i(e,t)||"undefined"==typeof t.left[e]&&(n=new r((void 0),t.right[e]),t.push(n,e)));return t.children&&0!==t.children.length?void t.exit():void t.setResult(void 0).exit()}};s.filterName="objects";var u=function(t){if(t.nested&&!t.delta._t){var e,n;for(e in t.delta)n=new i(t.left[e],t.delta[e]),t.push(n,e);t.exit()}};u.filterName="objects";var l=function(t){if(t&&t.children&&!t.delta._t){for(var e,n=t.children.length,r=0;r<n;r++)e=t.children[r],Object.prototype.hasOwnProperty.call(t.left,e.childName)&&void 0===e.result?delete t.left[e.childName]:t.left[e.childName]!==e.result&&(t.left[e.childName]=e.result);t.setResult(t.left).exit()}};l.filterName="collectChildren";var c=function(t){if(t.nested&&!t.delta._t){var e,n;for(e in t.delta)n=new o(t.delta[e]),t.push(n,e);t.exit()}};c.filterName="objects";var f=function(t){if(t&&t.children&&!t.delta._t){for(var e,n=t.children.length,r={},i=0;i<n;i++)e=t.children[i],r[e.childName]!==e.result&&(r[e.childName]=e.result);t.setResult(r).exit()}};f.filterName="collectChildren",e.collectChildrenDiffFilter=a,e.objectsDiffFilter=s,e.patchFilter=u,e.collectChildrenPatchFilter=l,e.reverseFilter=c,e.collectChildrenReverseFilter=f},function(t,e,n){"use strict";var r=2,i=60,o=null,a=function(t){if(!o){var e;if("undefined"!=typeof diff_match_patch)e="function"==typeof diff_match_patch?new diff_match_patch:new diff_match_patch.diff_match_patch;else try{var r="diff_match_patch_uncompressed",i=n(138)("./"+r);e=new i.diff_match_patch}catch(a){e=null}if(!e){if(!t)return null;var s=new Error("text diff_match_patch library not found");throw s.diff_match_patch_not_found=!0,s}o={diff:function(t,n){return e.patch_toText(e.patch_make(t,n))},patch:function(t,n){for(var r=e.patch_apply(e.patch_fromText(n),t),i=0;i<r[1].length;i++)if(!r[1][i]){var o=new Error("text patch failed");o.textPatchFailed=!0}return r[0]}}}return o},s=function(t){if("string"===t.leftType){var e=t.options&&t.options.textDiff&&t.options.textDiff.minLength||i;if(t.left.length<e||t.right.length<e)return void t.setResult([t.left,t.right]).exit();var n=a();if(!n)return void t.setResult([t.left,t.right]).exit();var o=n.diff;t.setResult([o(t.left,t.right),0,r]).exit()}};s.filterName="texts";var u=function(t){if(!t.nested&&t.delta[2]===r){var e=a(!0).patch;t.setResult(e(t.left,t.delta[0])).exit()}};u.filterName="texts";var l=function(t){var e,n,r,i,o,a,s,u,l=null,c=/^@@ +\-(\d+),(\d+) +\+(\d+),(\d+) +@@$/;for(r=t.split("\n"),e=0,n=r.length;e<n;e++){i=r[e];var f=i.slice(0,1);"@"===f?(l=c.exec(i),a=e,s=null,u=null,r[a]="@@ -"+l[3]+","+l[4]+" +"+l[1]+","+l[2]+" @@"):"+"===f?(s=e,r[e]="-"+r[e].slice(1),"+"===r[e-1].slice(0,1)&&(o=r[e],r[e]=r[e-1],r[e-1]=o)):"-"===f&&(u=e,r[e]="+"+r[e].slice(1))}return r.join("\n")},c=function(t){t.nested||t.delta[2]===r&&t.setResult([l(t.delta[0]),0,r]).exit()};c.filterName="texts",e.diffFilter=s,e.patchFilter=u,e.reverseFilter=c},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},r="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array},i=function(t){if(t.left===t.right)return void t.setResult(void 0).exit();if("undefined"==typeof t.left){if("function"==typeof t.right)throw new Error("functions are not supported");return void t.setResult([t.right]).exit()}if("undefined"==typeof t.right)return void t.setResult([t.left,0,0]).exit();if("function"==typeof t.left||"function"==typeof t.right)throw new Error("functions are not supported");return t.leftType=null===t.left?"null":n(t.left),t.rightType=null===t.right?"null":n(t.right),t.leftType!==t.rightType?void t.setResult([t.left,t.right]).exit():"boolean"===t.leftType||"number"===t.leftType?void t.setResult([t.left,t.right]).exit():("object"===t.leftType&&(t.leftIsArray=r(t.left)),"object"===t.rightType&&(t.rightIsArray=r(t.right)),t.leftIsArray!==t.rightIsArray?void t.setResult([t.left,t.right]).exit():void 0)};i.filterName="trivial";var o=function(t){return"undefined"==typeof t.delta?void t.setResult(t.left).exit():(t.nested=!r(t.delta),t.nested?void 0:1===t.delta.length?void t.setResult(t.delta[0]).exit():2===t.delta.length?void t.setResult(t.delta[1]).exit():3===t.delta.length&&0===t.delta[2]?void t.setResult(void 0).exit():void 0)};o.filterName="trivial";var a=function(t){return"undefined"==typeof t.delta?void t.setResult(t.delta).exit():(t.nested=!r(t.delta),t.nested?void 0:1===t.delta.length?void t.setResult([t.delta[0],0,0]).exit():2===t.delta.length?void t.setResult([t.delta[1],t.delta[0]]).exit():3===t.delta.length&&0===t.delta[2]?void t.setResult([t.delta[0]]).exit():void 0)};a.filterName="trivial",e.diffFilter=i,e.patchFilter=o,e.reverseFilter=a},function(t,e){"use strict";var n=function(t){this.selfOptions=t||{},this.pipes={}};n.prototype.options=function(t){return t&&(this.selfOptions=t),this.selfOptions},n.prototype.pipe=function(t,e){if("string"==typeof t){if("undefined"==typeof e)return this.pipes[t];this.pipes[t]=e}if(t&&t.name){if(e=t,e.processor===this)return e;this.pipes[e.name]=e}return e.processor=this,e},n.prototype.process=function(t,e){var n=t;n.options=this.options();for(var r,i,o=e||t.pipe||"default";o;)"undefined"!=typeof n.nextAfterChildren&&(n.next=n.nextAfterChildren,n.nextAfterChildren=null),"string"==typeof o&&(o=this.pipe(o)),o.process(n),i=n,r=o,o=null,n&&n.next&&(n=n.next,o=i.nextPipe||n.pipe||r);return n.hasResult?n.result:void 0},e.Processor=n},function(t,e,n){var r,i;n(152),r=n(60);var o=n(147);i=r=r||{},"object"==typeof r["default"]&&(i=r=r["default"]),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-1",t.exports=r},function(t,e){"use strict";t.exports=function(){return/\u001b\[(?:[0-9]{1,3}(?:;[0-9]{1,3})*)?[m|K]/g}},function(t,e){"use strict";t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";var r=n(20),i=n(18),o=n(73),a=n(77),s="prototype",u=function l(t,e,n){var u,c,f,h=t&l.F,d=t&l.G,p=t&l.S,v=t&l.P,g=t&l.B,m=t&l.W,y=d?i:i[e]||(i[e]={}),b=y[s],x=d?r:p?r[e]:(r[e]||{})[s];d&&(n=e);for(u in n)c=!h&&x&&void 0!==x[u],c&&u in y||(f=c?x[u]:n[u],y[u]=d&&"function"!=typeof x[u]?n[u]:g&&c?o(f,r):m&&x[u]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[s]=t[s],e}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((y.virtual||(y.virtual={}))[u]=f,t&l.R&&b&&!b[u]&&a(b,u,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,n){"use strict";var r=n(72);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){"use strict";var r=n(70),i=n(78),o=n(90),a=Object.defineProperty;e.f=n(13)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){"use strict";var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){"use strict";var r=n(36),i=n(34);t.exports=function(t){return r(i(t))}},function(t,e){"use strict";t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e];n[2]?t.push("@media "+n[2]+"{"+n[1]+"}"):t.push(n[1])}return t.join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(t,e){"use strict";function n(t){function e(){var t={};for(a.push(t);s<o.length;){var e=o[s];if(/^(\-\-\-|\+\+\+|@@)\s/.test(e))break;var u=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(e);u&&(t.index=u[1]),s++}for(n(t),n(t),t.hunks=[];s<o.length;){var l=o[s];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(l))break;if(/^@@/.test(l))t.hunks.push(r());else{if(l&&i.strict)throw new Error("Unknown line "+(s+1)+" "+JSON.stringify(l));s++}}}function n(t){var e=/^(---|\+\+\+)\s+([\S ]*)(?:\t(.*?)\s*)?$/,n=e.exec(o[s]);if(n){var r="---"===n[1]?"old":"new";t[r+"FileName"]=n[2],t[r+"Header"]=n[3],s++}}function r(){for(var t=s,e=o[s++],n=e.split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),r={oldStart:+n[1],oldLines:+n[2]||1,newStart:+n[3],newLines:+n[4]||1,lines:[]},a=0,u=0;s<o.length;s++){var l=o[s][0];if("+"!==l&&"-"!==l&&" "!==l&&"\\"!==l)break;r.lines.push(o[s]),"+"===l?a++:"-"===l?u++:" "===l&&(a++,u++)}if(a||1!==r.newLines||(r.newLines=0),u||1!==r.oldLines||(r.oldLines=0),i.strict){if(a!==r.newLines)throw new Error("Added line count did not match for hunk at line "+(t+1));if(u!==r.oldLines)throw new Error("Removed line count did not match for hunk at line "+(t+1))}return r}for(var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=t.split("\n"),a=[],s=0;s<o.length;)e();return a}e.__esModule=!0,e.parsePatch=n},function(t,e){"use strict";function n(t,e){if("function"==typeof t)e.callback=t;else if(t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}e.__esModule=!0,e.generateOptions=n},function(t,e,n){var r,i,r,o,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};(function(){t.exports=0;!function(n){var o,a,s="0.4.2",u="hasOwnProperty",l=/[\.\/]/,c=/\s*,\s*/,f="*",h=function(t,e){return t-e},d={n:{}},p=function(){for(var t=0,e=this.length;t<e;t++)if("undefined"!=typeof this[t])return this[t]},v=function(){for(var t=this.length;--t;)if("undefined"!=typeof this[t])return this[t]},g=function m(t,e){t=String(t);var n,r=a,i=Array.prototype.slice.call(arguments,2),s=m.listeners(t),u=0,l=[],c={},f=[],d=o;f.firstDefined=p,f.lastDefined=v,o=t,a=0;for(var g=0,y=s.length;g<y;g++)"zIndex"in s[g]&&(l.push(s[g].zIndex),s[g].zIndex<0&&(c[s[g].zIndex]=s[g]));for(l.sort(h);l[u]<0;)if(n=c[l[u++]],f.push(n.apply(e,i)),a)return a=r,f;for(g=0;g<y;g++)if(n=s[g],"zIndex"in n)if(n.zIndex==l[u]){if(f.push(n.apply(e,i)),a)break;do if(u++,n=c[l[u]],n&&f.push(n.apply(e,i)),a)break;while(n)}else c[n.zIndex]=n;else if(f.push(n.apply(e,i)),a)break;return a=r,o=d,f};g._events=d,g.listeners=function(t){var e,n,r,i,o,a,s,u,c=t.split(l),h=d,p=[h],v=[];for(i=0,o=c.length;i<o;i++){for(u=[],a=0,s=p.length;a<s;a++)for(h=p[a].n,n=[h[c[i]],h[f]],r=2;r--;)e=n[r],e&&(u.push(e),v=v.concat(e.f||[]));p=u}return v},g.on=function(t,e){if(t=String(t),"function"!=typeof e)return function(){};for(var n=t.split(c),r=0,i=n.length;r<i;r++)!function(t){for(var n,r=t.split(l),i=d,o=0,a=r.length;o<a;o++)i=i.n,i=i.hasOwnProperty(r[o])&&i[r[o]]||(i[r[o]]={n:{}});for(i.f=i.f||[],o=0,a=i.f.length;o<a;o++)if(i.f[o]==e){n=!0;break}!n&&i.f.push(e)}(n[r]);return function(t){+t==+t&&(e.zIndex=+t)}},g.f=function(t){var e=[].slice.call(arguments,1);return function(){g.apply(null,[t,null].concat(e).concat([].slice.call(arguments,0)))}},g.stop=function(){a=1},g.nt=function(t){return t?new RegExp("(?:\\.|\\/|^)"+t+"(?:\\.|\\/|$)").test(o):o},g.nts=function(){return o.split(l)},g.off=g.unbind=function(t,e){if(!t)return void(g._events=d={
+n:{}});var n=t.split(c);if(n.length>1)for(var r=0,i=n.length;r<i;r++)g.off(n[r],e);else{n=t.split(l);var o,a,s,r,i,h,p,v=[d];for(r=0,i=n.length;r<i;r++)for(h=0;h<v.length;h+=s.length-2){if(s=[h,1],o=v[h].n,n[r]!=f)o[n[r]]&&s.push(o[n[r]]);else for(a in o)o[u](a)&&s.push(o[a]);v.splice.apply(v,s)}for(r=0,i=v.length;r<i;r++)for(o=v[r];o.n;){if(e){if(o.f){for(h=0,p=o.f.length;h<p;h++)if(o.f[h]==e){o.f.splice(h,1);break}!o.f.length&&delete o.f}for(a in o.n)if(o.n[u](a)&&o.n[a].f){var m=o.n[a].f;for(h=0,p=m.length;h<p;h++)if(m[h]==e){m.splice(h,1);break}!m.length&&delete o.n[a].f}}else{delete o.f;for(a in o.n)o.n[u](a)&&o.n[a].f&&delete o.n[a].f}o=o.n}}},g.once=function(t,e){var n=function r(){return g.unbind(t,r),e.apply(this,arguments)};return g.on(t,n)},g.version=s,g.toString=function(){return"You are running Eve "+s},"undefined"!=typeof t&&t.exports?t.exports=g:(r=[],!(i=function(){return g}.apply(e,r)))}(this),function(n,a){r=[i],o=function(t){return a(n,t)}.apply(e,r),!(void 0!==o&&(t.exports=o))}(window||this,function(t,e){var n=function(e){var n={},r=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(t){setTimeout(t,16)},i=Array.isArray||function(t){return t instanceof Array||"[object Array]"==Object.prototype.toString.call(t)},o=0,a="M"+(+new Date).toString(36),s=function(){return a+(o++).toString(36)},u=Date.now||function(){return+new Date},l=function(t){var e=this;if(null==t)return e.s;var n=e.s-t;e.b+=e.dur*n,e.B+=e.dur*n,e.s=t},c=function(t){var e=this;return null==t?e.spd:void(e.spd=t)},f=function(t){var e=this;return null==t?e.dur:(e.s=e.s*t/e.dur,void(e.dur=t))},h=function(){var t=this;delete n[t.id],t.update(),e("mina.stop."+t.id,t)},d=function(){var t=this;t.pdif||(delete n[t.id],t.update(),t.pdif=t.get()-t.b)},p=function(){var t=this;t.pdif&&(t.b=t.get()-t.pdif,delete t.pdif,n[t.id]=t)},v=function(){var t,e=this;if(i(e.start)){t=[];for(var n=0,r=e.start.length;n<r;n++)t[n]=+e.start[n]+(e.end[n]-e.start[n])*e.easing(e.s)}else t=+e.start+(e.end-e.start)*e.easing(e.s);e.set(t)},g=function y(){var t=0;for(var i in n)if(n.hasOwnProperty(i)){var o=n[i],a=o.get();t++,o.s=(a-o.b)/(o.dur/o.spd),o.s>=1&&(delete n[i],o.s=1,t--,function(t){setTimeout(function(){e("mina.finish."+t.id,t)})}(o)),o.update()}t&&r(y)},m=function b(t,e,i,o,a,u,m){var y={id:s(),start:t,end:e,b:i,s:0,dur:o-i,spd:1,get:a,set:u,easing:m||b.linear,status:l,speed:c,duration:f,stop:h,pause:d,resume:p,update:v};n[y.id]=y;var x,_=0;for(x in n)if(n.hasOwnProperty(x)&&(_++,2==_))break;return 1==_&&r(g),y};return m.time=u,m.getById=function(t){return n[t]||null},m.linear=function(t){return t},m.easeout=function(t){return Math.pow(t,1.7)},m.easein=function(t){return Math.pow(t,.48)},m.easeinout=function(t){if(1==t)return 1;if(0==t)return 0;var e=.48-t/1.04,n=Math.sqrt(.1734+e*e),r=n-e,i=Math.pow(Math.abs(r),1/3)*(r<0?-1:1),o=-n-e,a=Math.pow(Math.abs(o),1/3)*(o<0?-1:1),s=i+a+.5;return 3*(1-s)*s*s+s*s*s},m.backin=function(t){if(1==t)return 1;var e=1.70158;return t*t*((e+1)*t-e)},m.backout=function(t){if(0==t)return 0;t-=1;var e=1.70158;return t*t*((e+1)*t+e)+1},m.elastic=function(t){return t==!!t?t:Math.pow(2,-10*t)*Math.sin((t-.075)*(2*Math.PI)/.3)+1},m.bounce=function(t){var e,n=7.5625,r=2.75;return t<1/r?e=n*t*t:t<2/r?(t-=1.5/r,e=n*t*t+.75):t<2.5/r?(t-=2.25/r,e=n*t*t+.9375):(t-=2.625/r,e=n*t*t+.984375),e},t.mina=m,m}("undefined"==typeof e?function(){}:e),r=function(t){function n(t,e){if(t){if(t.nodeType)return C(t);if(i(t,"array")&&n.set)return n.set.apply(n,t);if(t instanceof b)return t;if(null==e)return t=T.doc.querySelector(String(t)),C(t)}return t=null==t?"100%":t,e=null==e?"100%":e,new w(t,e)}function r(t,e){if(e){if("#text"==t&&(t=T.doc.createTextNode(e.text||e["#text"]||"")),"#comment"==t&&(t=T.doc.createComment(e.text||e["#text"]||"")),"string"==typeof t&&(t=r(t)),"string"==typeof e)return 1==t.nodeType?"xlink:"==e.substring(0,6)?t.getAttributeNS(W,e.substring(6)):"xml:"==e.substring(0,4)?t.getAttributeNS(X,e.substring(4)):t.getAttribute(e):"text"==e?t.nodeValue:null;if(1==t.nodeType){for(var n in e)if(e[S](n)){var i=A(e[n]);i?"xlink:"==n.substring(0,6)?t.setAttributeNS(W,n.substring(6),i):"xml:"==n.substring(0,4)?t.setAttributeNS(X,n.substring(4),i):t.setAttribute(n,i):t.removeAttribute(n)}}else"text"in e&&(t.nodeValue=e.text)}else t=T.doc.createElementNS(X,t);return t}function i(t,e){return e=A.prototype.toLowerCase.call(e),"finite"==e?isFinite(t):!("array"!=e||!(t instanceof Array||Array.isArray&&Array.isArray(t)))||("null"==e&&null===t||e==("undefined"==typeof t?"undefined":a(t))&&null!==t||"object"==e&&t===Object(t)||F.call(t).slice(8,-1).toLowerCase()==e)}function o(t){if("function"==typeof t||Object(t)!==t)return t;var e=new t.constructor;for(var n in t)t[S](n)&&(e[n]=o(t[n]));return e}function s(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return t.push(t.splice(n,1)[0])}function u(t,e,n){function r(){var i=Array.prototype.slice.call(arguments,0),o=i.join("␀"),a=r.cache=r.cache||{},u=r.count=r.count||[];return a[S](o)?(s(u,o),n?n(a[o]):a[o]):(u.length>=1e3&&delete a[u.shift()],u.push(o),a[o]=t.apply(e,i),n?n(a[o]):a[o])}return r}function l(t,e,n,r,i,o){if(null==i){var a=t-n,s=e-r;return a||s?(180+180*$.atan2(-s,-a)/P+360)%360:0}return l(t,e,i,o)-l(n,r,i,o)}function c(t){return t%360*P/180}function f(t){return 180*t/P%360}function h(t){var e=[];return t=t.replace(/(?:^|\s)(\w+)\(([^)]+)\)/g,function(t,n,r){return r=r.split(/\s*,\s*|\s+/),"rotate"==n&&1==r.length&&r.push(0,0),"scale"==n&&(r.length>2?r=r.slice(0,2):2==r.length&&r.push(0,0),1==r.length&&r.push(r[0],0,0)),"skewX"==n?e.push(["m",1,0,$.tan(c(r[0])),1,0,0]):"skewY"==n?e.push(["m",1,$.tan(c(r[0])),0,1,0,0]):e.push([n.charAt(0)].concat(r)),t}),e}function d(t,e){var r=et(t),i=new n.Matrix;if(r)for(var o=0,a=r.length;o<a;o++){var s,u,l,c,f,h=r[o],d=h.length,p=A(h[0]).toLowerCase(),v=h[0]!=p,g=v?i.invert():0;"t"==p&&2==d?i.translate(h[1],0):"t"==p&&3==d?v?(s=g.x(0,0),u=g.y(0,0),l=g.x(h[1],h[2]),c=g.y(h[1],h[2]),i.translate(l-s,c-u)):i.translate(h[1],h[2]):"r"==p?2==d?(f=f||e,i.rotate(h[1],f.x+f.width/2,f.y+f.height/2)):4==d&&(v?(l=g.x(h[2],h[3]),c=g.y(h[2],h[3]),i.rotate(h[1],l,c)):i.rotate(h[1],h[2],h[3])):"s"==p?2==d||3==d?(f=f||e,i.scale(h[1],h[d-1],f.x+f.width/2,f.y+f.height/2)):4==d?v?(l=g.x(h[2],h[3]),c=g.y(h[2],h[3]),i.scale(h[1],h[1],l,c)):i.scale(h[1],h[1],h[2],h[3]):5==d&&(v?(l=g.x(h[3],h[4]),c=g.y(h[3],h[4]),i.scale(h[1],h[2],l,c)):i.scale(h[1],h[2],h[3],h[4])):"m"==p&&7==d&&i.add(h[1],h[2],h[3],h[4],h[5],h[6])}return i}function p(t){var e=t.node.ownerSVGElement&&C(t.node.ownerSVGElement)||t.node.parentNode&&C(t.node.parentNode)||n.select("svg")||n(0,0),r=e.select("defs"),i=null!=r&&r.node;return i||(i=_("defs",e.node).node),i}function v(t){return t.node.ownerSVGElement&&C(t.node.ownerSVGElement)||n.select("svg")}function m(t,e,n){function i(t){if(null==t)return D;if(t==+t)return t;r(l,{width:t});try{return l.getBBox().width}catch(e){return 0}}function o(t){if(null==t)return D;if(t==+t)return t;r(l,{height:t});try{return l.getBBox().height}catch(e){return 0}}function a(r,i){null==e?u[r]=i(t.attr(r)||0):r==e&&(u=i(null==n?t.attr(r)||0:n))}var s=v(t).node,u={},l=s.querySelector(".svg---mgr");switch(l||(l=r("rect"),r(l,{x:-9e9,y:-9e9,width:10,height:10,"class":"svg---mgr",fill:"none"}),s.appendChild(l)),t.type){case"rect":a("rx",i),a("ry",o);case"image":a("width",i),a("height",o);case"text":a("x",i),a("y",o);break;case"circle":a("cx",i),a("cy",o),a("r",i);break;case"ellipse":a("cx",i),a("cy",o),a("rx",i),a("ry",o);break;case"line":a("x1",i),a("x2",i),a("y1",o),a("y2",o);break;case"marker":a("refX",i),a("markerWidth",i),a("refY",o),a("markerHeight",o);break;case"radialGradient":a("fx",i),a("fy",o);break;case"tspan":a("dx",i),a("dy",o);break;default:a(e,i)}return s.removeChild(l),u}function y(t){i(t,"array")||(t=Array.prototype.slice.call(arguments,0));for(var e=0,n=0,r=this.node;this[e];)delete this[e++];for(e=0;e<t.length;e++)"set"==t[e].type?t[e].forEach(function(t){r.appendChild(t.node)}):r.appendChild(t[e].node);var o=r.childNodes;for(e=0;e<o.length;e++)this[n++]=C(o[e]);return this}function b(t){if(t.snap in J)return J[t.snap];var e;try{e=t.ownerSVGElement}catch(n){}this.node=t,e&&(this.paper=new w(e)),this.type=t.tagName||t.nodeName;var r=this.id=U(this);if(this.anims={},this._={transform:[]},t.snap=r,J[r]=this,"g"==this.type&&(this.add=y),this.type in{g:1,mask:1,pattern:1,symbol:1})for(var i in w.prototype)w.prototype[S](i)&&(this[i]=w.prototype[i])}function x(t){this.node=t}function _(t,e){var n=r(t);e.appendChild(n);var i=C(n);return i}function w(t,e){var n,i,o,a=w.prototype;if(t&&"svg"==t.tagName){if(t.snap in J)return J[t.snap];var s=t.ownerDocument;n=new b(t),i=t.getElementsByTagName("desc")[0],o=t.getElementsByTagName("defs")[0],i||(i=r("desc"),i.appendChild(s.createTextNode("Created with Snap")),n.node.appendChild(i)),o||(o=r("defs"),n.node.appendChild(o)),n.defs=o;for(var u in a)a[S](u)&&(n[u]=a[u]);n.paper=n.root=n}else n=_("svg",T.doc.body),r(n.node,{height:e,version:1.1,width:t,xmlns:X});return n}function C(t){return t?t instanceof b||t instanceof x?t:t.tagName&&"svg"==t.tagName.toLowerCase()?new w(t):t.tagName&&"object"==t.tagName.toLowerCase()&&"image/svg+xml"==t.type?new w(t.contentDocument.getElementsByTagName("svg")[0]):new b(t):t}function k(t,e){for(var n=0,r=t.length;n<r;n++){var i={type:t[n].type,attr:t[n].attr()},o=t[n].children();e.push(i),o.length&&k(o,i.childNodes=[])}}n.version="0.4.0",n.toString=function(){return"Snap v"+this.version},n._={};var T={win:t.window,doc:t.window.document};n._.glob=T;var S="hasOwnProperty",A=String,j=parseFloat,E=parseInt,$=Math,O=$.max,M=$.min,N=$.abs,P=($.pow,$.PI),D=($.round,""),F=Object.prototype.toString,B=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\))\s*$/i,L=(n._.separator=/[,\s]+/,/[\s]*,[\s]*/),R={hs:1,rg:1},I=/([a-z])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/gi,H=/([rstm])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/gi,q=/(-?\d*\.?\d*(?:e[\-+]?\\d+)?)[\s]*,?[\s]*/gi,V=0,z="S"+(+new Date).toString(36),U=function(t){return(t&&t.type?t.type:D)+z+(V++).toString(36)},W="http://www.w3.org/1999/xlink",X="http://www.w3.org/2000/svg",J={};n.url=function(t){return"url('#"+t+"')"};n._.$=r,n._.id=U,n.format=function(){var t=/\{([^\}]+)\}/g,e=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,n=function(t,n,r){var i=r;return n.replace(e,function(t,e,n,r,o){e=e||r,i&&(e in i&&(i=i[e]),"function"==typeof i&&o&&(i=i()))}),i=(null==i||i==r?t:i)+""};return function(e,r){return A(e).replace(t,function(t,e){return n(t,e,r)})}}(),n._.clone=o,n._.cacher=u,n.rad=c,n.deg=f,n.sin=function(t){return $.sin(n.rad(t))},n.tan=function(t){return $.tan(n.rad(t))},n.cos=function(t){return $.cos(n.rad(t))},n.asin=function(t){return n.deg($.asin(t))},n.acos=function(t){return n.deg($.acos(t))},n.atan=function(t){return n.deg($.atan(t))},n.atan2=function(t){return n.deg($.atan2(t))},n.angle=l,n.len=function(t,e,r,i){return Math.sqrt(n.len2(t,e,r,i))},n.len2=function(t,e,n,r){return(t-n)*(t-n)+(e-r)*(e-r)},n.closestPoint=function(t,e,n){function r(t){var r=t.x-e,i=t.y-n;return r*r+i*i}for(var i,o,a,s,u=t.node,l=u.getTotalLength(),c=l/u.pathSegList.numberOfItems*.125,f=1/0,h=0;h<=l;h+=c)(s=r(a=u.getPointAtLength(h)))<f&&(i=a,o=h,f=s);for(c*=.5;c>.5;){var d,p,v,g,m,y;(v=o-c)>=0&&(m=r(d=u.getPointAtLength(v)))<f?(i=d,o=v,f=m):(g=o+c)<=l&&(y=r(p=u.getPointAtLength(g)))<f?(i=p,o=g,f=y):c*=.5}return i={x:i.x,y:i.y,length:o,distance:Math.sqrt(f)}},n.is=i,n.snapTo=function(t,e,n){if(n=i(n,"finite")?n:10,i(t,"array")){for(var r=t.length;r--;)if(N(t[r]-e)<=n)return t[r]}else{t=+t;var o=e%t;if(o<n)return e-o;if(o>t-n)return e-o+t}return e},n.getRGB=u(function(t){if(!t||(t=A(t)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Q};if("none"==t)return{r:-1,g:-1,b:-1,hex:"none",toString:Q};if(!(R[S](t.toLowerCase().substring(0,2))||"#"==t.charAt())&&(t=G(t)),!t)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Q};var e,r,o,a,s,u,l=t.match(B);return l?(l[2]&&(o=E(l[2].substring(5),16),r=E(l[2].substring(3,5),16),e=E(l[2].substring(1,3),16)),l[3]&&(o=E((s=l[3].charAt(3))+s,16),r=E((s=l[3].charAt(2))+s,16),e=E((s=l[3].charAt(1))+s,16)),l[4]&&(u=l[4].split(L),e=j(u[0]),"%"==u[0].slice(-1)&&(e*=2.55),r=j(u[1]),"%"==u[1].slice(-1)&&(r*=2.55),o=j(u[2]),"%"==u[2].slice(-1)&&(o*=2.55),"rgba"==l[1].toLowerCase().slice(0,4)&&(a=j(u[3])),u[3]&&"%"==u[3].slice(-1)&&(a/=100)),l[5]?(u=l[5].split(L),e=j(u[0]),"%"==u[0].slice(-1)&&(e/=100),r=j(u[1]),"%"==u[1].slice(-1)&&(r/=100),o=j(u[2]),"%"==u[2].slice(-1)&&(o/=100),("deg"==u[0].slice(-3)||"°"==u[0].slice(-1))&&(e/=360),"hsba"==l[1].toLowerCase().slice(0,4)&&(a=j(u[3])),u[3]&&"%"==u[3].slice(-1)&&(a/=100),n.hsb2rgb(e,r,o,a)):l[6]?(u=l[6].split(L),e=j(u[0]),"%"==u[0].slice(-1)&&(e/=100),r=j(u[1]),"%"==u[1].slice(-1)&&(r/=100),o=j(u[2]),"%"==u[2].slice(-1)&&(o/=100),("deg"==u[0].slice(-3)||"°"==u[0].slice(-1))&&(e/=360),"hsla"==l[1].toLowerCase().slice(0,4)&&(a=j(u[3])),u[3]&&"%"==u[3].slice(-1)&&(a/=100),n.hsl2rgb(e,r,o,a)):(e=M($.round(e),255),r=M($.round(r),255),o=M($.round(o),255),a=M(O(a,0),1),l={r:e,g:r,b:o,toString:Q},l.hex="#"+(16777216|o|r<<8|e<<16).toString(16).slice(1),l.opacity=i(a,"finite")?a:1,l)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Q}},n),n.hsb=u(function(t,e,r){return n.hsb2rgb(t,e,r).hex}),n.hsl=u(function(t,e,r){return n.hsl2rgb(t,e,r).hex}),n.rgb=u(function(t,e,n,r){if(i(r,"finite")){var o=$.round;return"rgba("+[o(t),o(e),o(n),+r.toFixed(2)]+")"}return"#"+(16777216|n|e<<8|t<<16).toString(16).slice(1)});var G=function(t){var e=T.doc.getElementsByTagName("head")[0]||T.doc.getElementsByTagName("svg")[0],n="rgb(255, 0, 0)";return(G=u(function(t){if("red"==t.toLowerCase())return n;e.style.color=n,e.style.color=t;var r=T.doc.defaultView.getComputedStyle(e,D).getPropertyValue("color");return r==n?null:r}))(t)},Z=function(){return"hsb("+[this.h,this.s,this.b]+")"},Y=function(){return"hsl("+[this.h,this.s,this.l]+")"},Q=function(){return 1==this.opacity||null==this.opacity?this.hex:"rgba("+[this.r,this.g,this.b,this.opacity]+")"},K=function(t,e,r){if(null==e&&i(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(r=t.b,e=t.g,t=t.r),null==e&&i(t,string)){var o=n.getRGB(t);t=o.r,e=o.g,r=o.b}return(t>1||e>1||r>1)&&(t/=255,e/=255,r/=255),[t,e,r]},tt=function(t,e,r,o){t=$.round(255*t),e=$.round(255*e),r=$.round(255*r);var a={r:t,g:e,b:r,opacity:i(o,"finite")?o:1,hex:n.rgb(t,e,r),toString:Q};return i(o,"finite")&&(a.opacity=o),a};n.color=function(t){var e;return i(t,"object")&&"h"in t&&"s"in t&&"b"in t?(e=n.hsb2rgb(t),t.r=e.r,t.g=e.g,t.b=e.b,t.opacity=1,t.hex=e.hex):i(t,"object")&&"h"in t&&"s"in t&&"l"in t?(e=n.hsl2rgb(t),t.r=e.r,t.g=e.g,t.b=e.b,t.opacity=1,t.hex=e.hex):(i(t,"string")&&(t=n.getRGB(t)),i(t,"object")&&"r"in t&&"g"in t&&"b"in t&&!("error"in t)?(e=n.rgb2hsl(t),t.h=e.h,t.s=e.s,t.l=e.l,e=n.rgb2hsb(t),t.v=e.b):(t={hex:"none"},t.r=t.g=t.b=t.h=t.s=t.v=t.l=-1,t.error=1)),t.toString=Q,t},n.hsb2rgb=function(t,e,n,r){i(t,"object")&&"h"in t&&"s"in t&&"b"in t&&(n=t.b,e=t.s,r=t.o,t=t.h),t*=360;var o,a,s,u,l;return t=t%360/60,l=n*e,u=l*(1-N(t%2-1)),o=a=s=n-l,t=~~t,o+=[l,u,0,0,u,l][t],a+=[u,l,l,u,0,0][t],s+=[0,0,u,l,l,u][t],tt(o,a,s,r)},n.hsl2rgb=function(t,e,n,r){i(t,"object")&&"h"in t&&"s"in t&&"l"in t&&(n=t.l,e=t.s,t=t.h),(t>1||e>1||n>1)&&(t/=360,e/=100,n/=100),t*=360;var o,a,s,u,l;return t=t%360/60,l=2*e*(n<.5?n:1-n),u=l*(1-N(t%2-1)),o=a=s=n-l/2,t=~~t,o+=[l,u,0,0,u,l][t],a+=[u,l,l,u,0,0][t],s+=[0,0,u,l,l,u][t],tt(o,a,s,r)},n.rgb2hsb=function(t,e,n){n=K(t,e,n),t=n[0],e=n[1],n=n[2];var r,i,o,a;return o=O(t,e,n),a=o-M(t,e,n),r=0==a?null:o==t?(e-n)/a:o==e?(n-t)/a+2:(t-e)/a+4,r=(r+360)%6*60/360,i=0==a?0:a/o,{h:r,s:i,b:o,toString:Z}},n.rgb2hsl=function(t,e,n){n=K(t,e,n),t=n[0],e=n[1],n=n[2];var r,i,o,a,s,u;return a=O(t,e,n),s=M(t,e,n),u=a-s,r=0==u?null:a==t?(e-n)/u:a==e?(n-t)/u+2:(t-e)/u+4,r=(r+360)%6*60/360,o=(a+s)/2,i=0==u?0:o<.5?u/(2*o):u/(2-2*o),{h:r,s:i,l:o,toString:Y}},n.parsePathString=function(t){if(!t)return null;var e=n.path(t);if(e.arr)return n.path.clone(e.arr);var r={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},o=[];return i(t,"array")&&i(t[0],"array")&&(o=n.path.clone(t)),o.length||A(t).replace(I,function(t,e,n){var i=[],a=e.toLowerCase();if(n.replace(q,function(t,e){e&&i.push(+e)}),"m"==a&&i.length>2&&(o.push([e].concat(i.splice(0,2))),a="l",e="m"==e?"l":"L"),"o"==a&&1==i.length&&o.push([e,i[0]]),"r"==a)o.push([e].concat(i));else for(;i.length>=r[a]&&(o.push([e].concat(i.splice(0,r[a]))),r[a]););}),o.toString=n.path.toString,e.arr=n.path.clone(o),o};var et=n.parseTransformString=function(t){if(!t)return null;var e=[];return i(t,"array")&&i(t[0],"array")&&(e=n.path.clone(t)),e.length||A(t).replace(H,function(t,n,r){var i=[];n.toLowerCase();r.replace(q,function(t,e){e&&i.push(+e)}),e.push([n].concat(i))}),e.toString=n.path.toString,e};n._.svgTransform2string=h,n._.rgTransform=/^[a-z][\s]*-?\.?\d/i,n._.transform2matrix=d,n._unit2px=m;T.doc.contains||T.doc.compareDocumentPosition?function(t,e){var n=9==t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t==r||!(!r||1!=r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e;)if(e=e.parentNode,e==t)return!0;return!1};n._.getSomeDefs=p,n._.getSomeSVG=v,n.select=function(t){return t=A(t).replace(/([^\\]):/g,"$1\\:"),C(T.doc.querySelector(t))},n.selectAll=function(t){for(var e=T.doc.querySelectorAll(t),r=(n.set||Array)(),i=0;i<e.length;i++)r.push(C(e[i]));return r},setInterval(function(){for(var t in J)if(J[S](t)){var e=J[t],n=e.node;("svg"!=e.type&&!n.ownerSVGElement||"svg"==e.type&&(!n.parentNode||"ownerSVGElement"in n.parentNode&&!n.ownerSVGElement))&&delete J[t]}},1e4),b.prototype.attr=function(t,n){var r=this,o=r.node;if(!t){if(1!=o.nodeType)return{text:o.nodeValue};for(var a=o.attributes,s={},u=0,l=a.length;u<l;u++)s[a[u].nodeName]=a[u].nodeValue;return s}if(i(t,"string")){if(!(arguments.length>1))return e("snap.util.getattr."+t,r).firstDefined();var c={};c[t]=n,t=c}for(var f in t)t[S](f)&&e("snap.util.attr."+f,r,t[f]);return r},n.parse=function(t){var e=T.doc.createDocumentFragment(),n=!0,r=T.doc.createElement("div");if(t=A(t),t.match(/^\s*<\s*svg(?:\s|>)/)||(t="<svg>"+t+"</svg>",n=!1),r.innerHTML=t,t=r.getElementsByTagName("svg")[0])if(n)e=t;else for(;t.firstChild;)e.appendChild(t.firstChild);return new x(e)},n.fragment=function(){for(var t=Array.prototype.slice.call(arguments,0),e=T.doc.createDocumentFragment(),r=0,i=t.length;r<i;r++){var o=t[r];o.node&&o.node.nodeType&&e.appendChild(o.node),o.nodeType&&e.appendChild(o),"string"==typeof o&&e.appendChild(n.parse(o).node)}return new x(e)},n._.make=_,n._.wrap=C,w.prototype.el=function(t,e){var n=_(t,this.node);return e&&n.attr(e),n},b.prototype.children=function(){for(var t=[],e=this.node.childNodes,r=0,i=e.length;r<i;r++)t[r]=n(e[r]);return t},b.prototype.toJSON=function(){var t=[];return k([this],t),t[0]},e.on("snap.util.getattr",function(){var t=e.nt();t=t.substring(t.lastIndexOf(".")+1);var n=t.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()});return nt[S](n)?this.node.ownerDocument.defaultView.getComputedStyle(this.node,null).getPropertyValue(n):r(this.node,t)});var nt={"alignment-baseline":0,"baseline-shift":0,clip:0,"clip-path":0,"clip-rule":0,color:0,"color-interpolation":0,"color-interpolation-filters":0,"color-profile":0,"color-rendering":0,cursor:0,direction:0,display:0,"dominant-baseline":0,"enable-background":0,fill:0,"fill-opacity":0,"fill-rule":0,filter:0,"flood-color":0,"flood-opacity":0,font:0,"font-family":0,"font-size":0,"font-size-adjust":0,"font-stretch":0,"font-style":0,"font-variant":0,"font-weight":0,"glyph-orientation-horizontal":0,"glyph-orientation-vertical":0,"image-rendering":0,kerning:0,"letter-spacing":0,"lighting-color":0,marker:0,"marker-end":0,"marker-mid":0,"marker-start":0,mask:0,opacity:0,overflow:0,"pointer-events":0,"shape-rendering":0,"stop-color":0,"stop-opacity":0,stroke:0,"stroke-dasharray":0,"stroke-dashoffset":0,"stroke-linecap":0,"stroke-linejoin":0,"stroke-miterlimit":0,"stroke-opacity":0,"stroke-width":0,"text-anchor":0,"text-decoration":0,"text-rendering":0,"unicode-bidi":0,visibility:0,"word-spacing":0,"writing-mode":0};e.on("snap.util.attr",function(t){var n=e.nt(),i={};n=n.substring(n.lastIndexOf(".")+1),i[n]=t;var o=n.replace(/-(\w)/gi,function(t,e){return e.toUpperCase()}),a=n.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()});nt[S](a)?this.node.style[o]=null==t?D:t:r(this.node,i)}),function(t){}(w.prototype),n.ajax=function(t,n,r,o){var a=new XMLHttpRequest,s=U();if(a){if(i(n,"function"))o=r,r=n,n=null;else if(i(n,"object")){var u=[];for(var l in n)n.hasOwnProperty(l)&&u.push(encodeURIComponent(l)+"="+encodeURIComponent(n[l]));n=u.join("&")}return a.open(n?"POST":"GET",t,!0),n&&(a.setRequestHeader("X-Requested-With","XMLHttpRequest"),a.setRequestHeader("Content-type","application/x-www-form-urlencoded")),r&&(e.once("snap.ajax."+s+".0",r),e.once("snap.ajax."+s+".200",r),e.once("snap.ajax."+s+".304",r)),a.onreadystatechange=function(){4==a.readyState&&e("snap.ajax."+s+"."+a.status,o,a)},4==a.readyState?a:(a.send(n),a)}},n.load=function(t,e,r){n.ajax(t,function(t){var i=n.parse(t.responseText);r?e.call(r,i):e(i)})};var rt=function(t){var e=t.getBoundingClientRect(),n=t.ownerDocument,r=n.body,i=n.documentElement,o=i.clientTop||r.clientTop||0,a=i.clientLeft||r.clientLeft||0,s=e.top+(g.win.pageYOffset||i.scrollTop||r.scrollTop)-o,u=e.left+(g.win.pageXOffset||i.scrollLeft||r.scrollLeft)-a;return{y:s,x:u}};return n.getElementByPoint=function(t,e){var n=this,r=(n.canvas,T.doc.elementFromPoint(t,e));if(T.win.opera&&"svg"==r.tagName){var i=rt(r),o=r.createSVGRect();o.x=t-i.x,o.y=e-i.y,o.width=o.height=1;var a=r.getIntersectionList(o,null);a.length&&(r=a[a.length-1])}return r?C(r):null},n.plugin=function(t){t(n,b,w,T,x)},T.win.Snap=n,n}(t||this);return r.plugin(function(r,i,o,a,s){function u(t,e){if(null==e){var n=!0;if(e="linearGradient"==t.type||"radialGradient"==t.type?t.node.getAttribute("gradientTransform"):"pattern"==t.type?t.node.getAttribute("patternTransform"):t.node.getAttribute("transform"),!e)return new r.Matrix;e=r._.svgTransform2string(e)}else e=r._.rgTransform.test(e)?p(e).replace(/\.{3}|\u2026/g,t._.transform||E):r._.svgTransform2string(e),d(e,"array")&&(e=r.path?r.path.toString.call(e):p(e)),t._.transform=e;var i=r._.transform2matrix(e,t.getBBox(1));return n?i:void(t.matrix=i)}function l(t){function e(t,e){var n=g(t.node,e);n=n&&n.match(o),n=n&&n[2],n&&"#"==n.charAt()&&(n=n.substring(1),n&&(s[n]=(s[n]||[]).concat(function(n){var r={};r[e]=URL(n),g(t.node,r)})))}function n(t){var e=g(t.node,"xlink:href");e&&"#"==e.charAt()&&(e=e.substring(1),e&&(s[e]=(s[e]||[]).concat(function(e){t.attr("xlink:href","#"+e)})))}for(var r,i=t.selectAll("*"),o=/^\s*url\(("|'|)(.*)\1\)\s*$/,a=[],s={},u=0,l=i.length;u<l;u++){r=i[u],e(r,"fill"),e(r,"stroke"),e(r,"filter"),e(r,"mask"),e(r,"clip-path"),n(r);var c=g(r.node,"id");c&&(g(r.node,{id:r.id}),a.push({old:c,id:r.id}))}for(u=0,l=a.length;u<l;u++){var f=s[a[u].old];if(f)for(var h=0,d=f.length;h<d;h++)f[h](a[u].id)}}function c(t,e,n){return function(r){var i=r.slice(t,e);return 1==i.length&&(i=i[0]),n?n(i):i}}function f(t){return function(){var e=t?"<"+this.type:"",n=this.node.attributes,r=this.node.childNodes;if(t)for(var i=0,o=n.length;i<o;i++)e+=" "+n[i].name+'="'+n[i].value.replace(/"/g,'\\"')+'"';if(r.length){for(t&&(e+=">"),i=0,o=r.length;i<o;i++)3==r[i].nodeType?e+=r[i].nodeValue:1==r[i].nodeType&&(e+=x(r[i]).toString());t&&(e+="</"+this.type+">")}else t&&(e+="/>");return e}}var h=i.prototype,d=r.is,p=String,v=r._unit2px,g=r._.$,m=r._.make,y=r._.getSomeDefs,b="hasOwnProperty",x=r._.wrap;h.getBBox=function(t){if(!r.Matrix||!r.path)return this.node.getBBox();var e=this,n=new r.Matrix;if(e.removed)return r._.box();for(;"use"==e.type;)if(t||(n=n.add(e.transform().localMatrix.translate(e.attr("x")||0,e.attr("y")||0))),e.original)e=e.original;else{var i=e.attr("xlink:href");e=e.original=e.node.ownerDocument.getElementById(i.substring(i.indexOf("#")+1))}var o=e._,a=r.path.get[e.type]||r.path.get.deflt;try{return t?(o.bboxwt=a?r.path.getBBox(e.realPath=a(e)):r._.box(e.node.getBBox()),r._.box(o.bboxwt)):(e.realPath=a(e),e.matrix=e.transform().localMatrix,o.bbox=r.path.getBBox(r.path.map(e.realPath,n.add(e.matrix))),r._.box(o.bbox))}catch(s){return r._.box()}};var _=function(){return this.string};h.transform=function(t){var e=this._;if(null==t){for(var n,i=this,o=new r.Matrix(this.node.getCTM()),a=u(this),s=[a],l=new r.Matrix,c=a.toTransformString(),f=p(a)==p(this.matrix)?p(e.transform):c;"svg"!=i.type&&(i=i.parent());)s.push(u(i));for(n=s.length;n--;)l.add(s[n]);return{string:f,globalMatrix:o,totalMatrix:l,localMatrix:a,diffMatrix:o.clone().add(a.invert()),global:o.toTransformString(),total:l.toTransformString(),local:c,toString:_}}return t instanceof r.Matrix?(this.matrix=t,this._.transform=t.toTransformString()):u(this,t),this.node&&("linearGradient"==this.type||"radialGradient"==this.type?g(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?g(this.node,{patternTransform:this.matrix}):g(this.node,{transform:this.matrix})),this},h.parent=function(){return x(this.node.parentNode)},h.append=h.add=function(t){if(t){if("set"==t.type){var e=this;return t.forEach(function(t){e.add(t)}),this}t=x(t),this.node.appendChild(t.node),t.paper=this.paper}return this},h.appendTo=function(t){return t&&(t=x(t),t.append(this)),this},h.prepend=function(t){if(t){if("set"==t.type){var e,n=this;return t.forEach(function(t){e?e.after(t):n.prepend(t),e=t}),this}t=x(t);var r=t.parent();this.node.insertBefore(t.node,this.node.firstChild),this.add&&this.add(),t.paper=this.paper,this.parent()&&this.parent().add(),r&&r.add()}return this},h.prependTo=function(t){return t=x(t),t.prepend(this),this},h.before=function(t){if("set"==t.type){var e=this;return t.forEach(function(t){var n=t.parent();e.node.parentNode.insertBefore(t.node,e.node),n&&n.add()}),this.parent().add(),this}t=x(t);var n=t.parent();return this.node.parentNode.insertBefore(t.node,this.node),this.parent()&&this.parent().add(),n&&n.add(),t.paper=this.paper,this},h.after=function(t){t=x(t);var e=t.parent();return this.node.nextSibling?this.node.parentNode.insertBefore(t.node,this.node.nextSibling):this.node.parentNode.appendChild(t.node),this.parent()&&this.parent().add(),e&&e.add(),t.paper=this.paper,this},h.insertBefore=function(t){t=x(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},h.insertAfter=function(t){t=x(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node.nextSibling),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},h.remove=function(){var t=this.parent();return this.node.parentNode&&this.node.parentNode.removeChild(this.node),delete this.paper,this.removed=!0,t&&t.add(),this},h.select=function(t){return t=p(t).replace(/([^\\]):/g,"$1\\:"),x(this.node.querySelector(t))},h.selectAll=function(t){for(var e=this.node.querySelectorAll(t),n=(r.set||Array)(),i=0;i<e.length;i++)n.push(x(e[i]));return n},h.asPX=function(t,e){return null==e&&(e=this.attr(t)),+v(this,t,e)},h.use=function(){var t,e=this.node.id;return e||(e=this.id,g(this.node,{id:e})),t="linearGradient"==this.type||"radialGradient"==this.type||"pattern"==this.type?m(this.type,this.node.parentNode):m("use",this.node.parentNode),g(t.node,{"xlink:href":"#"+e}),t.original=this,t},h.clone=function(){var t=x(this.node.cloneNode(!0));return g(t.node,"id")&&g(t.node,{id:t.id}),l(t),t.insertAfter(this),t},h.toDefs=function(){var t=y(this);return t.appendChild(this.node),this},h.pattern=h.toPattern=function(t,e,n,r){var i=m("pattern",y(this));return null==t&&(t=this.getBBox()),d(t,"object")&&"x"in t&&(e=t.y,n=t.width,r=t.height,t=t.x),g(i.node,{x:t,y:e,width:n,height:r,patternUnits:"userSpaceOnUse",id:i.id,viewBox:[t,e,n,r].join(" ")}),i.node.appendChild(this.node),i},h.marker=function(t,e,n,r,i,o){var a=m("marker",y(this));return null==t&&(t=this.getBBox()),d(t,"object")&&"x"in t&&(e=t.y,n=t.width,r=t.height,i=t.refX||t.cx,o=t.refY||t.cy,t=t.x),g(a.node,{viewBox:[t,e,n,r].join(" "),markerWidth:n,markerHeight:r,orient:"auto",refX:i||0,refY:o||0,id:a.id}),a.node.appendChild(this.node),a};var w=function(t,e,r,i){"function"!=typeof r||r.length||(i=r,r=n.linear),this.attr=t,this.dur=e,r&&(this.easing=r),i&&(this.callback=i)};r._.Animation=w,r.animation=function(t,e,n,r){return new w(t,e,n,r)},h.inAnim=function(){var t=this,e=[];for(var n in t.anims)t.anims[b](n)&&!function(t){e.push({anim:new w(t._attrs,t.dur,t.easing,t._callback),mina:t,curStatus:t.status(),status:function(e){return t.status(e)},stop:function(){t.stop()}})}(t.anims[n]);return e},r.animate=function(t,r,i,o,a,s){"function"!=typeof a||a.length||(s=a,a=n.linear);var u=n.time(),l=n(t,r,u,u+o,n.time,i,a);return s&&e.once("mina.finish."+l.id,s),l},h.stop=function(){for(var t=this.inAnim(),e=0,n=t.length;e<n;e++)t[e].stop();return this},h.animate=function(t,r,i,o){"function"!=typeof i||i.length||(o=i,i=n.linear),t instanceof w&&(o=t.callback,i=t.easing,r=i.dur,t=t.attr);var a,s,u,l,f=[],h=[],v={},g=this;for(var m in t)if(t[b](m)){g.equal?(l=g.equal(m,p(t[m])),a=l.from,s=l.to,u=l.f):(a=+g.attr(m),s=+t[m]);var y=d(a,"array")?a.length:1;v[m]=c(f.length,f.length+y,u),f=f.concat(a),h=h.concat(s)}var x=n.time(),_=n(f,h,x,x+r,n.time,function(t){var e={};for(var n in v)v[b](n)&&(e[n]=v[n](t));g.attr(e)},i);return g.anims[_.id]=_,_._attrs=t,_._callback=o,e("snap.animcreated."+g.id,_),e.once("mina.finish."+_.id,function(){delete g.anims[_.id],o&&o.call(g)}),e.once("mina.stop."+_.id,function(){delete g.anims[_.id]}),g};var C={};h.data=function(t,n){var i=C[this.id]=C[this.id]||{};if(0==arguments.length)return e("snap.data.get."+this.id,this,i,null),i;if(1==arguments.length){if(r.is(t,"object")){for(var o in t)t[b](o)&&this.data(o,t[o]);return this}return e("snap.data.get."+this.id,this,i[t],t),i[t]}return i[t]=n,e("snap.data.set."+this.id,this,n,t),this},h.removeData=function(t){return null==t?C[this.id]={}:C[this.id]&&delete C[this.id][t],this},h.outerSVG=h.toString=f(1),h.innerSVG=f(),h.toDataURL=function(){if(t&&t.btoa){var e=this.getBBox(),n=r.format('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="{width}" height="{height}" viewBox="{x} {y} {width} {height}">{contents}</svg>',{x:+e.x.toFixed(3),y:+e.y.toFixed(3),width:+e.width.toFixed(3),height:+e.height.toFixed(3),contents:this.outerSVG()});return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(n)))}},s.prototype.select=h.select,s.prototype.selectAll=h.selectAll}),r.plugin(function(t,e,n,r,i){function o(t,e,n,r,i,o){return null==e&&"[object SVGMatrix]"==a.call(t)?(this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.e=t.e,void(this.f=t.f)):void(null!=t?(this.a=+t,this.b=+e,this.c=+n,this.d=+r,this.e=+i,this.f=+o):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0))}var a=Object.prototype.toString,s=String,u=Math,l="";!function(e){function n(t){return t[0]*t[0]+t[1]*t[1]}function r(t){var e=u.sqrt(n(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}e.add=function(t,e,n,r,i,a){var s,u,l,c,f=[[],[],[]],h=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],d=[[t,n,i],[e,r,a],[0,0,1]];for(t&&t instanceof o&&(d=[[t.a,t.c,t.e],[t.b,t.d,t.f],[0,0,1]]),s=0;s<3;s++)for(u=0;u<3;u++){for(c=0,l=0;l<3;l++)c+=h[s][l]*d[l][u];f[s][u]=c}return this.a=f[0][0],this.b=f[1][0],this.c=f[0][1],this.d=f[1][1],this.e=f[0][2],this.f=f[1][2],this},e.invert=function(){var t=this,e=t.a*t.d-t.b*t.c;return new o(t.d/e,-t.b/e,-t.c/e,t.a/e,(t.c*t.f-t.d*t.e)/e,(t.b*t.e-t.a*t.f)/e);
+},e.clone=function(){return new o(this.a,this.b,this.c,this.d,this.e,this.f)},e.translate=function(t,e){return this.add(1,0,0,1,t,e)},e.scale=function(t,e,n,r){return null==e&&(e=t),(n||r)&&this.add(1,0,0,1,n,r),this.add(t,0,0,e,0,0),(n||r)&&this.add(1,0,0,1,-n,-r),this},e.rotate=function(e,n,r){e=t.rad(e),n=n||0,r=r||0;var i=+u.cos(e).toFixed(9),o=+u.sin(e).toFixed(9);return this.add(i,o,-o,i,n,r),this.add(1,0,0,1,-n,-r)},e.x=function(t,e){return t*this.a+e*this.c+this.e},e.y=function(t,e){return t*this.b+e*this.d+this.f},e.get=function(t){return+this[s.fromCharCode(97+t)].toFixed(4)},e.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"},e.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},e.determinant=function(){return this.a*this.d-this.b*this.c},e.split=function(){var e={};e.dx=this.e,e.dy=this.f;var i=[[this.a,this.c],[this.b,this.d]];e.scalex=u.sqrt(n(i[0])),r(i[0]),e.shear=i[0][0]*i[1][0]+i[0][1]*i[1][1],i[1]=[i[1][0]-i[0][0]*e.shear,i[1][1]-i[0][1]*e.shear],e.scaley=u.sqrt(n(i[1])),r(i[1]),e.shear/=e.scaley,this.determinant()<0&&(e.scalex=-e.scalex);var o=-i[0][1],a=i[1][1];return a<0?(e.rotate=t.deg(u.acos(a)),o<0&&(e.rotate=360-e.rotate)):e.rotate=t.deg(u.asin(o)),e.isSimple=!(+e.shear.toFixed(9)||e.scalex.toFixed(9)!=e.scaley.toFixed(9)&&e.rotate),e.isSuperSimple=!+e.shear.toFixed(9)&&e.scalex.toFixed(9)==e.scaley.toFixed(9)&&!e.rotate,e.noRotation=!+e.shear.toFixed(9)&&!e.rotate,e},e.toTransformString=function(t){var e=t||this.split();return+e.shear.toFixed(9)?"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]:(e.scalex=+e.scalex.toFixed(4),e.scaley=+e.scaley.toFixed(4),e.rotate=+e.rotate.toFixed(4),(e.dx||e.dy?"t"+[+e.dx.toFixed(4),+e.dy.toFixed(4)]:l)+(1!=e.scalex||1!=e.scaley?"s"+[e.scalex,e.scaley,0,0]:l)+(e.rotate?"r"+[+e.rotate.toFixed(4),0,0]:l))}}(o.prototype),t.Matrix=o,t.matrix=function(t,e,n,r,i,a){return new o(t,e,n,r,i,a)}}),r.plugin(function(t,n,r,i,o){function a(r){return function(i){if(e.stop(),i instanceof o&&1==i.node.childNodes.length&&("radialGradient"==i.node.firstChild.tagName||"linearGradient"==i.node.firstChild.tagName||"pattern"==i.node.firstChild.tagName)&&(i=i.node.firstChild,d(this).appendChild(i),i=f(i)),i instanceof n)if("radialGradient"==i.type||"linearGradient"==i.type||"pattern"==i.type){i.node.id||v(i.node,{id:i.id});var a=g(i.node.id)}else a=i.attr(r);else if(a=t.color(i),a.error){var s=t(d(this).ownerSVGElement).gradient(i);s?(s.node.id||v(s.node,{id:s.id}),a=g(s.node.id)):a=i}else a=m(a);var u={};u[r]=a,v(this.node,u),this.node.style[r]=b}}function s(t){e.stop(),t==+t&&(t+="px"),this.node.style.fontSize=t}function u(t){for(var e=[],n=t.childNodes,r=0,i=n.length;r<i;r++){var o=n[r];3==o.nodeType&&e.push(o.nodeValue),"tspan"==o.tagName&&(1==o.childNodes.length&&3==o.firstChild.nodeType?e.push(o.firstChild.nodeValue):e.push(u(o)))}return e}function l(){return e.stop(),this.node.style.fontSize}var c=t._.make,f=t._.wrap,h=t.is,d=t._.getSomeDefs,p=/^url\(#?([^)]+)\)$/,v=t._.$,g=t.url,m=String,y=t._.separator,b="";e.on("snap.util.attr.mask",function(t){if(t instanceof n||t instanceof o){if(e.stop(),t instanceof o&&1==t.node.childNodes.length&&(t=t.node.firstChild,d(this).appendChild(t),t=f(t)),"mask"==t.type)var r=t;else r=c("mask",d(this)),r.node.appendChild(t.node);!r.node.id&&v(r.node,{id:r.id}),v(this.node,{mask:g(r.id)})}}),function(t){e.on("snap.util.attr.clip",t),e.on("snap.util.attr.clip-path",t),e.on("snap.util.attr.clipPath",t)}(function(t){if(t instanceof n||t instanceof o){if(e.stop(),"clipPath"==t.type)var r=t;else r=c("clipPath",d(this)),r.node.appendChild(t.node),!r.node.id&&v(r.node,{id:r.id});v(this.node,{"clip-path":g(r.node.id||r.id)})}}),e.on("snap.util.attr.fill",a("fill")),e.on("snap.util.attr.stroke",a("stroke"));var x=/^([lr])(?:\(([^)]*)\))?(.*)$/i;e.on("snap.util.grad.parse",function(t){t=m(t);var e=t.match(x);if(!e)return null;var n=e[1],r=e[2],i=e[3];return r=r.split(/\s*,\s*/).map(function(t){return+t==t?+t:t}),1==r.length&&0==r[0]&&(r=[]),i=i.split("-"),i=i.map(function(t){t=t.split(":");var e={color:t[0]};return t[1]&&(e.offset=parseFloat(t[1])),e}),{type:n,params:r,stops:i}}),e.on("snap.util.attr.d",function(n){e.stop(),h(n,"array")&&h(n[0],"array")&&(n=t.path.toString.call(n)),n=m(n),n.match(/[ruo]/i)&&(n=t.path.toAbsolute(n)),v(this.node,{d:n})})(-1),e.on("snap.util.attr.#text",function(t){e.stop(),t=m(t);for(var n=i.doc.createTextNode(t);this.node.firstChild;)this.node.removeChild(this.node.firstChild);this.node.appendChild(n)})(-1),e.on("snap.util.attr.path",function(t){e.stop(),this.attr({d:t})})(-1),e.on("snap.util.attr.class",function(t){e.stop(),this.node.className.baseVal=t})(-1),e.on("snap.util.attr.viewBox",function(t){var n;n=h(t,"object")&&"x"in t?[t.x,t.y,t.width,t.height].join(" "):h(t,"array")?t.join(" "):t,v(this.node,{viewBox:n}),e.stop()})(-1),e.on("snap.util.attr.transform",function(t){this.transform(t),e.stop()})(-1),e.on("snap.util.attr.r",function(t){"rect"==this.type&&(e.stop(),v(this.node,{rx:t,ry:t}))})(-1),e.on("snap.util.attr.textpath",function(t){if(e.stop(),"text"==this.type){var r,i,o;if(!t&&this.textPath){for(i=this.textPath;i.node.firstChild;)this.node.appendChild(i.node.firstChild);return i.remove(),void delete this.textPath}if(h(t,"string")){var a=d(this),s=f(a.parentNode).path(t);a.appendChild(s.node),r=s.id,s.attr({id:r})}else t=f(t),t instanceof n&&(r=t.attr("id"),r||(r=t.id,t.attr({id:r})));if(r)if(i=this.textPath,o=this.node,i)i.attr({"xlink:href":"#"+r});else{for(i=v("textPath",{"xlink:href":"#"+r});o.firstChild;)i.appendChild(o.firstChild);o.appendChild(i),this.textPath=f(i)}}})(-1),e.on("snap.util.attr.text",function(t){if("text"==this.type){for(var n=this.node,r=function a(t){var e=v("tspan");if(h(t,"array"))for(var n=0;n<t.length;n++)e.appendChild(a(t[n]));else e.appendChild(i.doc.createTextNode(t));return e.normalize&&e.normalize(),e};n.firstChild;)n.removeChild(n.firstChild);for(var o=r(t);o.firstChild;)n.appendChild(o.firstChild)}e.stop()})(-1),e.on("snap.util.attr.fontSize",s)(-1),e.on("snap.util.attr.font-size",s)(-1),e.on("snap.util.getattr.transform",function(){return e.stop(),this.transform()})(-1),e.on("snap.util.getattr.textpath",function(){return e.stop(),this.textPath})(-1),function(){function n(n){return function(){e.stop();var r=i.doc.defaultView.getComputedStyle(this.node,null).getPropertyValue("marker-"+n);return"none"==r?r:t(i.doc.getElementById(r.match(p)[1]))}}function r(t){return function(n){e.stop();var r="marker"+t.charAt(0).toUpperCase()+t.substring(1);if(""==n||!n)return void(this.node.style[r]="none");if("marker"==n.type){var i=n.node.id;return i||v(n.node,{id:n.id}),void(this.node.style[r]=g(i))}}}e.on("snap.util.getattr.marker-end",n("end"))(-1),e.on("snap.util.getattr.markerEnd",n("end"))(-1),e.on("snap.util.getattr.marker-start",n("start"))(-1),e.on("snap.util.getattr.markerStart",n("start"))(-1),e.on("snap.util.getattr.marker-mid",n("mid"))(-1),e.on("snap.util.getattr.markerMid",n("mid"))(-1),e.on("snap.util.attr.marker-end",r("end"))(-1),e.on("snap.util.attr.markerEnd",r("end"))(-1),e.on("snap.util.attr.marker-start",r("start"))(-1),e.on("snap.util.attr.markerStart",r("start"))(-1),e.on("snap.util.attr.marker-mid",r("mid"))(-1),e.on("snap.util.attr.markerMid",r("mid"))(-1)}(),e.on("snap.util.getattr.r",function(){if("rect"==this.type&&v(this.node,"rx")==v(this.node,"ry"))return e.stop(),v(this.node,"rx")})(-1),e.on("snap.util.getattr.text",function(){if("text"==this.type||"tspan"==this.type){e.stop();var t=u(this.node);return 1==t.length?t[0]:t}})(-1),e.on("snap.util.getattr.#text",function(){return this.node.textContent})(-1),e.on("snap.util.getattr.viewBox",function(){e.stop();var n=v(this.node,"viewBox");return n?(n=n.split(y),t._.box(+n[0],+n[1],+n[2],+n[3])):void 0})(-1),e.on("snap.util.getattr.points",function(){var t=v(this.node,"points");return e.stop(),t?t.split(y):void 0})(-1),e.on("snap.util.getattr.path",function(){var t=v(this.node,"d");return e.stop(),t})(-1),e.on("snap.util.getattr.class",function(){return this.node.className.baseVal})(-1),e.on("snap.util.getattr.fontSize",l)(-1),e.on("snap.util.getattr.font-size",l)(-1)}),r.plugin(function(t,e,n,r,i){var o=/\S+/g,a=String,s=e.prototype;s.addClass=function(t){var e,n,r,i,s=a(t||"").match(o)||[],u=this.node,l=u.className.baseVal,c=l.match(o)||[];if(s.length){for(e=0;r=s[e++];)n=c.indexOf(r),~n||c.push(r);i=c.join(" "),l!=i&&(u.className.baseVal=i)}return this},s.removeClass=function(t){var e,n,r,i,s=a(t||"").match(o)||[],u=this.node,l=u.className.baseVal,c=l.match(o)||[];if(c.length){for(e=0;r=s[e++];)n=c.indexOf(r),~n&&c.splice(n,1);i=c.join(" "),l!=i&&(u.className.baseVal=i)}return this},s.hasClass=function(t){var e=this.node,n=e.className.baseVal,r=n.match(o)||[];return!!~r.indexOf(t)},s.toggleClass=function(t,e){if(null!=e)return e?this.addClass(t):this.removeClass(t);var n,r,i,a,s=(t||"").match(o)||[],u=this.node,l=u.className.baseVal,c=l.match(o)||[];for(n=0;i=s[n++];)r=c.indexOf(i),~r?c.splice(r,1):c.push(i);return a=c.join(" "),l!=a&&(u.className.baseVal=a),this}}),r.plugin(function(t,n,r,i,o){function a(t){return t}function s(t){return function(e){return+e.toFixed(3)+t}}var u={"+":function(t,e){return t+e},"-":function(t,e){return t-e},"/":function(t,e){return t/e},"*":function(t,e){return t*e}},l=String,c=/[a-z]+$/i,f=/^\s*([+\-\/*])\s*=\s*([\d.eE+\-]+)\s*([^\d\s]+)?\s*$/;e.on("snap.util.attr",function(t){var n=l(t).match(f);if(n){var r=e.nt(),i=r.substring(r.lastIndexOf(".")+1),o=this.attr(i),a={};e.stop();var s=n[3]||"",h=o.match(c),d=u[n[1]];if(h&&h==s?t=d(parseFloat(o),+n[2]):(o=this.asPX(i),t=d(this.asPX(i),this.asPX(i,n[2]+s))),isNaN(o)||isNaN(t))return;a[i]=t,this.attr(a)}})(-10),e.on("snap.util.equal",function(t,n){var r=l(this.attr(t)||""),i=l(n).match(f);if(i){e.stop();var o=i[3]||"",h=r.match(c),d=u[i[1]];return h&&h==o?{from:parseFloat(r),to:d(parseFloat(r),+i[2]),f:s(h)}:(r=this.asPX(t),{from:r,to:d(r,this.asPX(t,i[2]+o)),f:a})}})(-10)}),r.plugin(function(n,r,i,o,a){var s=i.prototype,u=n.is;s.rect=function(t,e,n,r,i,o){var a;return null==o&&(o=i),u(t,"object")&&"[object Object]"==t?a=t:null!=t&&(a={x:t,y:e,width:n,height:r},null!=i&&(a.rx=i,a.ry=o)),this.el("rect",a)},s.circle=function(t,e,n){var r;return u(t,"object")&&"[object Object]"==t?r=t:null!=t&&(r={cx:t,cy:e,r:n}),this.el("circle",r)};var l=function(){function t(){this.parentNode.removeChild(this)}return function(e,n){var r=o.doc.createElement("img"),i=o.doc.body;r.style.cssText="position:absolute;left:-9999em;top:-9999em",r.onload=function(){n.call(r),r.onload=r.onerror=null,i.removeChild(r)},r.onerror=t,i.appendChild(r),r.src=e}}();s.image=function(t,e,r,i,o){var a=this.el("image");if(u(t,"object")&&"src"in t)a.attr(t);else if(null!=t){var s={"xlink:href":t,preserveAspectRatio:"none"};null!=e&&null!=r&&(s.x=e,s.y=r),null!=i&&null!=o?(s.width=i,s.height=o):l(t,function(){n._.$(a.node,{width:this.offsetWidth,height:this.offsetHeight})}),n._.$(a.node,s)}return a},s.ellipse=function(t,e,n,r){var i;return u(t,"object")&&"[object Object]"==t?i=t:null!=t&&(i={cx:t,cy:e,rx:n,ry:r}),this.el("ellipse",i)},s.path=function(t){var e;return u(t,"object")&&!u(t,"array")?e=t:t&&(e={d:t}),this.el("path",e)},s.group=s.g=function(t){var e=this.el("g");return 1==arguments.length&&t&&!t.type?e.attr(t):arguments.length&&e.add(Array.prototype.slice.call(arguments,0)),e},s.svg=function(t,e,n,r,i,o,a,s){var l={};return u(t,"object")&&null==e?l=t:(null!=t&&(l.x=t),null!=e&&(l.y=e),null!=n&&(l.width=n),null!=r&&(l.height=r),null!=i&&null!=o&&null!=a&&null!=s&&(l.viewBox=[i,o,a,s])),this.el("svg",l)},s.mask=function(t){var e=this.el("mask");return 1==arguments.length&&t&&!t.type?e.attr(t):arguments.length&&e.add(Array.prototype.slice.call(arguments,0)),e},s.ptrn=function(t,e,n,r,i,o,a,s){if(u(t,"object"))var l=t;else l={patternUnits:"userSpaceOnUse"},t&&(l.x=t),e&&(l.y=e),null!=n&&(l.width=n),null!=r&&(l.height=r),null!=i&&null!=o&&null!=a&&null!=s?l.viewBox=[i,o,a,s]:l.viewBox=[t||0,e||0,n||0,r||0];return this.el("pattern",l)},s.use=function(t){return null!=t?(t instanceof r&&(t.attr("id")||t.attr({id:n._.id(t)}),t=t.attr("id")),"#"==String(t).charAt()&&(t=t.substring(1)),this.el("use",{"xlink:href":"#"+t})):r.prototype.use.call(this)},s.symbol=function(t,e,n,r){var i={};return null!=t&&null!=e&&null!=n&&null!=r&&(i.viewBox=[t,e,n,r]),this.el("symbol",i)},s.text=function(t,e,n){var r={};return u(t,"object")?r=t:null!=t&&(r={x:t,y:e,text:n||""}),this.el("text",r)},s.line=function(t,e,n,r){var i={};return u(t,"object")?i=t:null!=t&&(i={x1:t,x2:n,y1:e,y2:r}),this.el("line",i)},s.polyline=function(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments,0));var e={};return u(t,"object")&&!u(t,"array")?e=t:null!=t&&(e={points:t}),this.el("polyline",e)},s.polygon=function(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments,0));var e={};return u(t,"object")&&!u(t,"array")?e=t:null!=t&&(e={points:t}),this.el("polygon",e)},function(){function r(){return this.selectAll("stop")}function i(t,e){var r=c("stop"),i={offset:+e+"%"};return t=n.color(t),i["stop-color"]=t.hex,t.opacity<1&&(i["stop-opacity"]=t.opacity),c(r,i),this.node.appendChild(r),this}function o(){if("linearGradient"==this.type){var t=c(this.node,"x1")||0,e=c(this.node,"x2")||1,r=c(this.node,"y1")||0,i=c(this.node,"y2")||0;return n._.box(t,r,math.abs(e-t),math.abs(i-r))}var o=this.node.cx||.5,a=this.node.cy||.5,s=this.node.r||0;return n._.box(o-s,a-s,2*s,2*s)}function a(t,n){function r(t,e){for(var n=(e-f)/(t-h),r=h;r<t;r++)a[r].offset=+(+f+n*(r-h)).toFixed(2);h=t,f=e}var i,o=e("snap.util.grad.parse",null,n).firstDefined();if(!o)return null;o.params.unshift(t),i="l"==o.type.toLowerCase()?u.apply(0,o.params):l.apply(0,o.params),o.type!=o.type.toLowerCase()&&c(i.node,{gradientUnits:"userSpaceOnUse"});var a=o.stops,s=a.length,f=0,h=0;s--;for(var d=0;d<s;d++)"offset"in a[d]&&r(d,a[d].offset);for(a[s].offset=a[s].offset||100,r(s,a[s].offset),d=0;d<=s;d++){var p=a[d];i.addStop(p.color,p.offset)}return i}function u(t,e,a,s,u){var l=n._.make("linearGradient",t);return l.stops=r,l.addStop=i,l.getBBox=o,null!=e&&c(l.node,{x1:e,y1:a,x2:s,y2:u}),l}function l(t,e,a,s,u,l){var f=n._.make("radialGradient",t);return f.stops=r,f.addStop=i,f.getBBox=o,null!=e&&c(f.node,{cx:e,cy:a,r:s}),null!=u&&null!=l&&c(f.node,{fx:u,fy:l}),f}var c=n._.$;s.gradient=function(t){return a(this.defs,t)},s.gradientLinear=function(t,e,n,r){return u(this.defs,t,e,n,r)},s.gradientRadial=function(t,e,n,r,i){return l(this.defs,t,e,n,r,i)},s.toString=function(){var t,e=this.node.ownerDocument,r=e.createDocumentFragment(),i=e.createElement("div"),o=this.node.cloneNode(!0);return r.appendChild(i),i.appendChild(o),n._.$(o,{xmlns:"http://www.w3.org/2000/svg"}),t=i.innerHTML,r.removeChild(r.firstChild),t},s.toDataURL=function(){if(t&&t.btoa)return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(this)))},s.clear=function(){for(var t,e=this.node.firstChild;e;)t=e.nextSibling,"defs"!=e.tagName?e.parentNode.removeChild(e):s.clear.call({node:e}),e=t}}()}),r.plugin(function(t,e,n,r){function i(t){var e=i.ps=i.ps||{};return e[t]?e[t].sleep=100:e[t]={sleep:100},setTimeout(function(){for(var n in e)e[L](n)&&n!=t&&(e[n].sleep--,!e[n].sleep&&delete e[n])}),e[t]}function o(t,e,n,r){return null==t&&(t=e=n=r=0),null==e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:H.min(n,r)/2,r2:H.max(n,r)/2,r0:H.sqrt(n*n+r*r)/2,path:k(t,e,n,r),vb:[t,e,n,r].join(" ")}}function a(){return this.join(",").replace(R,"$1")}function s(t){var e=B(t);return e.toString=a,e}function u(t,e,n,r,i,o,a,s,u){return null==u?v(t,e,n,r,i,o,a,s):c(t,e,n,r,i,o,a,s,g(t,e,n,r,i,o,a,s,u))}function l(n,r){function i(t){return+(+t).toFixed(3)}return t._.cacher(function(t,o,a){t instanceof e&&(t=t.attr("d")),t=M(t);for(var s,l,f,h,d,p="",v={},g=0,m=0,y=t.length;m<y;m++){if(f=t[m],"M"==f[0])s=+f[1],l=+f[2];else{if(h=u(s,l,f[1],f[2],f[3],f[4],f[5],f[6]),g+h>o){if(r&&!v.start){if(d=u(s,l,f[1],f[2],f[3],f[4],f[5],f[6],o-g),p+=["C"+i(d.start.x),i(d.start.y),i(d.m.x),i(d.m.y),i(d.x),i(d.y)],a)return p;v.start=p,p=["M"+i(d.x),i(d.y)+"C"+i(d.n.x),i(d.n.y),i(d.end.x),i(d.end.y),i(f[5]),i(f[6])].join(),g+=h,s=+f[5],l=+f[6];continue}if(!n&&!r)return d=u(s,l,f[1],f[2],f[3],f[4],f[5],f[6],o-g)}g+=h,s=+f[5],l=+f[6]}p+=f.shift()+f}return v.end=p,d=n?g:r?v:c(s,l,f[0],f[1],f[2],f[3],f[4],f[5],1)},null,t._.clone)}function c(t,e,n,r,i,o,a,s,u){var l=1-u,c=U(l,3),f=U(l,2),h=u*u,d=h*u,p=c*t+3*f*u*n+3*l*u*u*i+d*a,v=c*e+3*f*u*r+3*l*u*u*o+d*s,g=t+2*u*(n-t)+h*(i-2*n+t),m=e+2*u*(r-e)+h*(o-2*r+e),y=n+2*u*(i-n)+h*(a-2*i+n),b=r+2*u*(o-r)+h*(s-2*o+r),x=l*t+u*n,_=l*e+u*r,w=l*i+u*a,C=l*o+u*s,k=90-180*H.atan2(g-y,m-b)/q;return{x:p,y:v,m:{x:g,y:m},n:{x:y,y:b},start:{x:x,y:_},end:{x:w,y:C},alpha:k}}function f(e,n,r,i,a,s,u,l){t.is(e,"array")||(e=[e,n,r,i,a,s,u,l]);var c=O.apply(null,e);return o(c.min.x,c.min.y,c.max.x-c.min.x,c.max.y-c.min.y)}function h(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height}function d(t,e){return t=o(t),e=o(e),h(e,t.x,t.y)||h(e,t.x2,t.y)||h(e,t.x,t.y2)||h(e,t.x2,t.y2)||h(t,e.x,e.y)||h(t,e.x2,e.y)||h(t,e.x,e.y2)||h(t,e.x2,e.y2)||(t.x<e.x2&&t.x>e.x||e.x<t.x2&&e.x>t.x)&&(t.y<e.y2&&t.y>e.y||e.y<t.y2&&e.y>t.y)}function p(t,e,n,r,i){var o=-3*e+9*n-9*r+3*i,a=t*o+6*e-12*n+6*r;return t*a-3*e+3*n}function v(t,e,n,r,i,o,a,s,u){null==u&&(u=1),u=u>1?1:u<0?0:u;for(var l=u/2,c=12,f=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],h=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],d=0,v=0;v<c;v++){var g=l*f[v]+l,m=p(g,t,n,i,a),y=p(g,e,r,o,s),b=m*m+y*y;d+=h[v]*H.sqrt(b)}return l*d}function g(t,e,n,r,i,o,a,s,u){if(!(u<0||v(t,e,n,r,i,o,a,s)<u)){var l,c=1,f=c/2,h=c-f,d=.01;for(l=v(t,e,n,r,i,o,a,s,h);W(l-u)>d;)f/=2,h+=(l<u?1:-1)*f,l=v(t,e,n,r,i,o,a,s,h);return h}}function m(t,e,n,r,i,o,a,s){if(!(z(t,n)<V(i,a)||V(t,n)>z(i,a)||z(e,r)<V(o,s)||V(e,r)>z(o,s))){var u=(t*r-e*n)*(i-a)-(t-n)*(i*s-o*a),l=(t*r-e*n)*(o-s)-(e-r)*(i*s-o*a),c=(t-n)*(o-s)-(e-r)*(i-a);if(c){var f=u/c,h=l/c,d=+f.toFixed(2),p=+h.toFixed(2);if(!(d<+V(t,n).toFixed(2)||d>+z(t,n).toFixed(2)||d<+V(i,a).toFixed(2)||d>+z(i,a).toFixed(2)||p<+V(e,r).toFixed(2)||p>+z(e,r).toFixed(2)||p<+V(o,s).toFixed(2)||p>+z(o,s).toFixed(2)))return{x:f,y:h}}}}function y(t,e,n){var r=f(t),i=f(e);if(!d(r,i))return n?0:[];for(var o=v.apply(0,t),a=v.apply(0,e),s=~~(o/8),u=~~(a/8),l=[],h=[],p={},g=n?0:[],y=0;y<s+1;y++){var b=c.apply(0,t.concat(y/s));l.push({x:b.x,y:b.y,t:y/s})}for(y=0;y<u+1;y++)b=c.apply(0,e.concat(y/u)),h.push({x:b.x,y:b.y,t:y/u});for(y=0;y<s;y++)for(var x=0;x<u;x++){var _=l[y],w=l[y+1],C=h[x],k=h[x+1],T=W(w.x-_.x)<.001?"y":"x",S=W(k.x-C.x)<.001?"y":"x",A=m(_.x,_.y,w.x,w.y,C.x,C.y,k.x,k.y);if(A){if(p[A.x.toFixed(4)]==A.y.toFixed(4))continue;p[A.x.toFixed(4)]=A.y.toFixed(4);var j=_.t+W((A[T]-_[T])/(w[T]-_[T]))*(w.t-_.t),E=C.t+W((A[S]-C[S])/(k[S]-C[S]))*(k.t-C.t);j>=0&&j<=1&&E>=0&&E<=1&&(n?g++:g.push({x:A.x,y:A.y,t1:j,t2:E}))}}return g}function b(t,e){return _(t,e)}function x(t,e){return _(t,e,1)}function _(t,e,n){t=M(t),e=M(e);for(var r,i,o,a,s,u,l,c,f,h,d=n?0:[],p=0,v=t.length;p<v;p++){var g=t[p];if("M"==g[0])r=s=g[1],i=u=g[2];else{"C"==g[0]?(f=[r,i].concat(g.slice(1)),r=f[6],i=f[7]):(f=[r,i,r,i,s,u,s,u],r=s,i=u);for(var m=0,b=e.length;m<b;m++){var x=e[m];if("M"==x[0])o=l=x[1],a=c=x[2];else{"C"==x[0]?(h=[o,a].concat(x.slice(1)),o=h[6],a=h[7]):(h=[o,a,o,a,l,c,l,c],o=l,a=c);var _=y(f,h,n);if(n)d+=_;else{for(var w=0,C=_.length;w<C;w++)_[w].segment1=p,_[w].segment2=m,_[w].bez1=f,_[w].bez2=h;d=d.concat(_)}}}}}return d}function w(t,e,n){var r=C(t);return h(r,e,n)&&_(t,[["M",e,n],["H",r.x2+10]],1)%2==1}function C(t){var e=i(t);if(e.bbox)return B(e.bbox);if(!t)return o();t=M(t);for(var n,r=0,a=0,s=[],u=[],l=0,c=t.length;l<c;l++)if(n=t[l],"M"==n[0])r=n[1],a=n[2],s.push(r),u.push(a);else{var f=O(r,a,n[1],n[2],n[3],n[4],n[5],n[6]);s=s.concat(f.min.x,f.max.x),u=u.concat(f.min.y,f.max.y),r=n[5],a=n[6]}var h=V.apply(0,s),d=V.apply(0,u),p=z.apply(0,s),v=z.apply(0,u),g=o(h,d,p-h,v-d);return e.bbox=B(g),g}function k(t,e,n,r,i){if(i)return[["M",+t+ +i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]];var o=[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]];return o.toString=a,o}function T(t,e,n,r,i){if(null==i&&null==r&&(r=n),t=+t,e=+e,n=+n,r=+r,null!=i)var o=Math.PI/180,s=t+n*Math.cos(-r*o),u=t+n*Math.cos(-i*o),l=e+n*Math.sin(-r*o),c=e+n*Math.sin(-i*o),f=[["M",s,l],["A",n,n,0,+(i-r>180),0,u,c]];else f=[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return f.toString=a,f}function S(e){var n=i(e),r=String.prototype.toLowerCase;if(n.rel)return s(n.rel);t.is(e,"array")&&t.is(e&&e[0],"array")||(e=t.parsePathString(e));var o=[],u=0,l=0,c=0,f=0,h=0;"M"==e[0][0]&&(u=e[0][1],l=e[0][2],c=u,f=l,h++,o.push(["M",u,l]));for(var d=h,p=e.length;d<p;d++){var v=o[d]=[],g=e[d];if(g[0]!=r.call(g[0]))switch(v[0]=r.call(g[0]),v[0]){case"a":v[1]=g[1],v[2]=g[2],v[3]=g[3],v[4]=g[4],v[5]=g[5],v[6]=+(g[6]-u).toFixed(3),v[7]=+(g[7]-l).toFixed(3);break;case"v":v[1]=+(g[1]-l).toFixed(3);break;case"m":c=g[1],f=g[2];default:for(var m=1,y=g.length;m<y;m++)v[m]=+(g[m]-(m%2?u:l)).toFixed(3)}else{v=o[d]=[],"m"==g[0]&&(c=g[1]+u,f=g[2]+l);for(var b=0,x=g.length;b<x;b++)o[d][b]=g[b]}var _=o[d].length;switch(o[d][0]){case"z":u=c,l=f;break;case"h":u+=+o[d][_-1];break;case"v":l+=+o[d][_-1];break;default:u+=+o[d][_-2],l+=+o[d][_-1]}}return o.toString=a,n.rel=s(o),o}function A(e){var n=i(e);if(n.abs)return s(n.abs);if(F(e,"array")&&F(e&&e[0],"array")||(e=t.parsePathString(e)),!e||!e.length)return[["M",0,0]];var r,o=[],u=0,l=0,c=0,f=0,h=0;"M"==e[0][0]&&(u=+e[0][1],l=+e[0][2],c=u,f=l,h++,o[0]=["M",u,l]);for(var d,p,v=3==e.length&&"M"==e[0][0]&&"R"==e[1][0].toUpperCase()&&"Z"==e[2][0].toUpperCase(),g=h,m=e.length;g<m;g++){if(o.push(d=[]),p=e[g],r=p[0],r!=r.toUpperCase())switch(d[0]=r.toUpperCase(),d[0]){case"A":d[1]=p[1],d[2]=p[2],d[3]=p[3],d[4]=p[4],d[5]=p[5],d[6]=+p[6]+u,d[7]=+p[7]+l;break;case"V":d[1]=+p[1]+l;break;case"H":d[1]=+p[1]+u;break;case"R":for(var y=[u,l].concat(p.slice(1)),b=2,x=y.length;b<x;b++)y[b]=+y[b]+u,y[++b]=+y[b]+l;o.pop(),o=o.concat(P(y,v));break;case"O":o.pop(),y=T(u,l,p[1],p[2]),y.push(y[0]),o=o.concat(y);break;case"U":o.pop(),o=o.concat(T(u,l,p[1],p[2],p[3])),d=["U"].concat(o[o.length-1].slice(-2));break;case"M":c=+p[1]+u,f=+p[2]+l;default:for(b=1,x=p.length;b<x;b++)d[b]=+p[b]+(b%2?u:l)}else if("R"==r)y=[u,l].concat(p.slice(1)),o.pop(),o=o.concat(P(y,v)),d=["R"].concat(p.slice(-2));else if("O"==r)o.pop(),y=T(u,l,p[1],p[2]),y.push(y[0]),o=o.concat(y);else if("U"==r)o.pop(),o=o.concat(T(u,l,p[1],p[2],p[3])),d=["U"].concat(o[o.length-1].slice(-2));else for(var _=0,w=p.length;_<w;_++)d[_]=p[_];if(r=r.toUpperCase(),"O"!=r)switch(d[0]){case"Z":u=+c,l=+f;break;case"H":u=d[1];break;case"V":l=d[1];break;case"M":c=d[d.length-2],f=d[d.length-1];default:u=d[d.length-2],l=d[d.length-1]}}return o.toString=a,n.abs=s(o),o}function j(t,e,n,r){return[t,e,n,r,n,r]}function E(t,e,n,r,i,o){var a=1/3,s=2/3;return[a*t+s*n,a*e+s*r,a*i+s*n,a*o+s*r,i,o]}function $(e,n,r,i,o,a,s,u,l,c){var f,h=120*q/180,d=q/180*(+o||0),p=[],v=t._.cacher(function(t,e,n){var r=t*H.cos(n)-e*H.sin(n),i=t*H.sin(n)+e*H.cos(n);return{x:r,y:i}});if(c)k=c[0],T=c[1],w=c[2],C=c[3];else{f=v(e,n,-d),e=f.x,n=f.y,f=v(u,l,-d),u=f.x,l=f.y;var g=(H.cos(q/180*o),H.sin(q/180*o),(e-u)/2),m=(n-l)/2,y=g*g/(r*r)+m*m/(i*i);y>1&&(y=H.sqrt(y),r=y*r,i=y*i);var b=r*r,x=i*i,_=(a==s?-1:1)*H.sqrt(W((b*x-b*m*m-x*g*g)/(b*m*m+x*g*g))),w=_*r*m/i+(e+u)/2,C=_*-i*g/r+(n+l)/2,k=H.asin(((n-C)/i).toFixed(9)),T=H.asin(((l-C)/i).toFixed(9));k=e<w?q-k:k,T=u<w?q-T:T,k<0&&(k=2*q+k),T<0&&(T=2*q+T),s&&k>T&&(k-=2*q),!s&&T>k&&(T-=2*q)}var S=T-k;if(W(S)>h){var A=T,j=u,E=l;T=k+h*(s&&T>k?1:-1),u=w+r*H.cos(T),l=C+i*H.sin(T),p=$(u,l,r,i,o,0,s,j,E,[T,A,w,C])}S=T-k;var O=H.cos(k),M=H.sin(k),N=H.cos(T),P=H.sin(T),D=H.tan(S/4),F=4/3*r*D,B=4/3*i*D,L=[e,n],R=[e+F*M,n-B*O],I=[u+F*P,l-B*N],V=[u,l];if(R[0]=2*L[0]-R[0],R[1]=2*L[1]-R[1],c)return[R,I,V].concat(p);p=[R,I,V].concat(p).join().split(",");for(var z=[],U=0,X=p.length;U<X;U++)z[U]=U%2?v(p[U-1],p[U],d).y:v(p[U],p[U+1],d).x;return z}function O(t,e,n,r,i,o,a,s){for(var u,l,c,f,h,d,p,v,g=[],m=[[],[]],y=0;y<2;++y)if(0==y?(l=6*t-12*n+6*i,u=-3*t+9*n-9*i+3*a,c=3*n-3*t):(l=6*e-12*r+6*o,u=-3*e+9*r-9*o+3*s,c=3*r-3*e),W(u)<1e-12){if(W(l)<1e-12)continue;f=-c/l,0<f&&f<1&&g.push(f)}else p=l*l-4*c*u,v=H.sqrt(p),p<0||(h=(-l+v)/(2*u),0<h&&h<1&&g.push(h),d=(-l-v)/(2*u),0<d&&d<1&&g.push(d));for(var b,x=g.length,_=x;x--;)f=g[x],b=1-f,m[0][x]=b*b*b*t+3*b*b*f*n+3*b*f*f*i+f*f*f*a,m[1][x]=b*b*b*e+3*b*b*f*r+3*b*f*f*o+f*f*f*s;return m[0][_]=t,m[1][_]=e,m[0][_+1]=a,m[1][_+1]=s,m[0].length=m[1].length=_+2,{min:{x:V.apply(0,m[0]),y:V.apply(0,m[1])},max:{x:z.apply(0,m[0]),y:z.apply(0,m[1])}}}function M(t,e){var n=!e&&i(t);if(!e&&n.curve)return s(n.curve);for(var r=A(t),o=e&&A(e),a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},u={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},l=(function(t,e,n){var r,i;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in{T:1,Q:1})&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"].concat($.apply(0,[e.x,e.y].concat(t.slice(1))));break;case"S":"C"==n||"S"==n?(r=2*e.x-e.bx,i=2*e.y-e.by):(r=e.x,i=e.y),t=["C",r,i].concat(t.slice(1));break;case"T":"Q"==n||"T"==n?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"].concat(E(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"].concat(E(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"].concat(j(e.x,e.y,t[1],t[2]));break;case"H":t=["C"].concat(j(e.x,e.y,t[1],e.y));break;case"V":t=["C"].concat(j(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"].concat(j(e.x,e.y,e.X,e.Y))}return t}),c=function(t,e){if(t[e].length>7){t[e].shift();for(var n=t[e];n.length;)h[e]="A",o&&(d[e]="A"),t.splice(e++,0,["C"].concat(n.splice(0,6)));t.splice(e,1),m=z(r.length,o&&o.length||0)}},f=function(t,e,n,i,a){t&&e&&"M"==t[a][0]&&"M"!=e[a][0]&&(e.splice(a,0,["M",i.x,i.y]),n.bx=0,n.by=0,n.x=t[a][1],n.y=t[a][2],m=z(r.length,o&&o.length||0))},h=[],d=[],p="",v="",g=0,m=z(r.length,o&&o.length||0);g<m;g++){r[g]&&(p=r[g][0]),"C"!=p&&(h[g]=p,g&&(v=h[g-1])),r[g]=l(r[g],a,v),"A"!=h[g]&&"C"==p&&(h[g]="C"),c(r,g),o&&(o[g]&&(p=o[g][0]),"C"!=p&&(d[g]=p,g&&(v=d[g-1])),o[g]=l(o[g],u,v),"A"!=d[g]&&"C"==p&&(d[g]="C"),c(o,g)),f(r,o,a,u,g),f(o,r,u,a,g);var y=r[g],b=o&&o[g],x=y.length,_=o&&b.length;a.x=y[x-2],a.y=y[x-1],a.bx=I(y[x-4])||a.x,a.by=I(y[x-3])||a.y,u.bx=o&&(I(b[_-4])||u.x),u.by=o&&(I(b[_-3])||u.y),u.x=o&&b[_-2],u.y=o&&b[_-1]}return o||(n.curve=s(r)),o?[r,o]:r}function N(t,e){if(!e)return t;var n,r,i,o,a,s,u;for(t=M(t),i=0,a=t.length;i<a;i++)for(u=t[i],o=1,s=u.length;o<s;o+=2)n=e.x(u[o],u[o+1]),r=e.y(u[o],u[o+1]),u[o]=n,u[o+1]=r;return t}function P(t,e){for(var n=[],r=0,i=t.length;i-2*!e>r;r+=2){var o=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?i-4==r?o[3]={x:+t[0],y:+t[1]}:i-2==r&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[i-2],y:+t[i-1]}:i-4==r?o[3]=o[2]:r||(o[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n}var D=e.prototype,F=t.is,B=t._.clone,L="hasOwnProperty",R=/,?([a-z]),?/gi,I=parseFloat,H=Math,q=H.PI,V=H.min,z=H.max,U=H.pow,W=H.abs,X=l(1),J=l(),G=l(0,1),Z=t._unit2px,Y={path:function(t){return t.attr("path")},circle:function(t){var e=Z(t);return T(e.cx,e.cy,e.r)},ellipse:function(t){var e=Z(t);return T(e.cx||0,e.cy||0,e.rx,e.ry)},rect:function(t){var e=Z(t);return k(e.x||0,e.y||0,e.width,e.height,e.rx,e.ry)},image:function(t){var e=Z(t);return k(e.x||0,e.y||0,e.width,e.height)},line:function(t){return"M"+[t.attr("x1")||0,t.attr("y1")||0,t.attr("x2"),t.attr("y2")]},polyline:function(t){return"M"+t.attr("points")},polygon:function(t){return"M"+t.attr("points")+"z"},deflt:function(t){var e=t.node.getBBox();return k(e.x,e.y,e.width,e.height)}};t.path=i,t.path.getTotalLength=X,t.path.getPointAtLength=J,t.path.getSubpath=function(t,e,n){if(this.getTotalLength(t)-n<1e-6)return G(t,e).end;var r=G(t,n,1);return e?G(r,e).end:r},D.getTotalLength=function(){if(this.node.getTotalLength)return this.node.getTotalLength()},D.getPointAtLength=function(t){return J(this.attr("d"),t)},D.getSubpath=function(e,n){return t.path.getSubpath(this.attr("d"),e,n)},t._.box=o,t.path.findDotsAtSegment=c,t.path.bezierBBox=f,t.path.isPointInsideBBox=h,t.closest=function(e,n,r,i){for(var a=100,s=o(e-a/2,n-a/2,a,a),u=[],l=r[0].hasOwnProperty("x")?function(t){return{x:r[t].x,y:r[t].y}}:function(t){return{x:r[t],y:i[t]}},c=0;a<=1e6&&!c;){for(var f=0,d=r.length;f<d;f++){var p=l(f);if(h(s,p.x,p.y)){c++,u.push(p);break}}c||(a*=2,s=o(e-a/2,n-a/2,a,a))}if(1e6!=a){var v,g=1/0;for(f=0,d=u.length;f<d;f++){var m=t.len(e,n,u[f].x,u[f].y);g>m&&(g=m,u[f].len=m,v=u[f])}return v}},t.path.isBBoxIntersect=d,t.path.intersection=b,t.path.intersectionNumber=x,t.path.isPointInside=w,t.path.getBBox=C,t.path.get=Y,t.path.toRelative=S,t.path.toAbsolute=A,t.path.toCubic=M,t.path.map=N,t.path.toString=a,t.path.clone=s}),r.plugin(function(t,r,i,o){var a=Math.max,s=Math.min,u=function(t){if(this.items=[],this.bindings={},this.length=0,this.type="set",t)for(var e=0,n=t.length;e<n;e++)t[e]&&(this[this.items.length]=this.items[this.items.length]=t[e],this.length++)},l=u.prototype;l.push=function(){for(var t,e,n=0,r=arguments.length;n<r;n++)t=arguments[n],t&&(e=this.items.length,this[e]=this.items[e]=t,this.length++);return this},l.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},l.forEach=function(t,e){for(var n=0,r=this.items.length;n<r;n++)if(t.call(e,this.items[n],n)===!1)return this;return this},l.animate=function(r,i,o,a){"function"!=typeof o||o.length||(a=o,o=n.linear),r instanceof t._.Animation&&(a=r.callback,o=r.easing,i=o.dur,r=r.attr);var s=arguments;if(t.is(r,"array")&&t.is(s[s.length-1],"array"))var u=!0;var l,c=function(){l?this.b=l:l=this.b},f=0,h=this,d=a&&function(){++f==h.length&&a.call(this)};return this.forEach(function(t,n){e.once("snap.animcreated."+t.id,c),u?s[n]&&t.animate.apply(t,s[n]):t.animate(r,i,o,d)})},l.remove=function(){for(;this.length;)this.pop().remove();return this},l.bind=function(t,e,n){var r={};if("function"==typeof e)this.bindings[t]=e;else{var i=n||t;this.bindings[t]=function(t){r[i]=t,e.attr(r)}}return this},l.attr=function(t){var e={};for(var n in t)this.bindings[n]?this.bindings[n](t[n]):e[n]=t[n];for(var r=0,i=this.items.length;r<i;r++)this.items[r].attr(e);return this},l.clear=function(){for(;this.length;)this.pop()},l.splice=function(t,e,n){t=t<0?a(this.length+t,0):t,e=a(0,s(this.length-t,e));var r,i=[],o=[],l=[];for(r=2;r<arguments.length;r++)l.push(arguments[r]);for(r=0;r<e;r++)o.push(this[t+r]);for(;r<this.length-t;r++)i.push(this[t+r]);var c=l.length;for(r=0;r<c+i.length;r++)this.items[t+r]=this[t+r]=r<c?l[r]:i[r-c];for(r=this.items.length=this.length-=e-c;this[r];)delete this[r++];return new u(o)},l.exclude=function(t){for(var e=0,n=this.length;e<n;e++)if(this[e]==t)return this.splice(e,1),!0;return!1},l.insertAfter=function(t){for(var e=this.items.length;e--;)this.items[e].insertAfter(t);return this},l.getBBox=function(){for(var t=[],e=[],n=[],r=[],i=this.items.length;i--;)if(!this.items[i].removed){var o=this.items[i].getBBox();t.push(o.x),e.push(o.y),n.push(o.x+o.width),r.push(o.y+o.height)}return t=s.apply(0,t),e=s.apply(0,e),n=a.apply(0,n),r=a.apply(0,r),{x:t,y:e,x2:n,y2:r,width:n-t,height:r-e,cx:t+(n-t)/2,cy:e+(r-e)/2}},l.clone=function(t){t=new u;for(var e=0,n=this.items.length;e<n;e++)t.push(this.items[e].clone());return t},l.toString=function(){return"Snap‘s set"},l.type="set",t.Set=u,t.set=function(){var t=new u;return arguments.length&&t.push.apply(t,Array.prototype.slice.call(arguments,0)),
+t}}),r.plugin(function(t,n,r,i){function o(t){var e=t[0];switch(e.toLowerCase()){case"t":return[e,0,0];case"m":return[e,1,0,0,1,0,0];case"r":return 4==t.length?[e,0,t[2],t[3]]:[e,0];case"s":return 5==t.length?[e,1,1,t[3],t[4]]:3==t.length?[e,1,1]:[e,1]}}function a(e,n,r){n=m(n).replace(/\.{3}|\u2026/g,e),e=t.parseTransformString(e)||[],n=t.parseTransformString(n)||[];for(var i,a,s,u,l=Math.max(e.length,n.length),c=[],d=[],p=0;p<l;p++){if(s=e[p]||o(n[p]),u=n[p]||o(s),s[0]!=u[0]||"r"==s[0].toLowerCase()&&(s[2]!=u[2]||s[3]!=u[3])||"s"==s[0].toLowerCase()&&(s[3]!=u[3]||s[4]!=u[4])){e=t._.transform2matrix(e,r()),n=t._.transform2matrix(n,r()),c=[["m",e.a,e.b,e.c,e.d,e.e,e.f]],d=[["m",n.a,n.b,n.c,n.d,n.e,n.f]];break}for(c[p]=[],d[p]=[],i=0,a=Math.max(s.length,u.length);i<a;i++)i in s&&(c[p][i]=s[i]),i in u&&(d[p][i]=u[i])}return{from:h(c),to:h(d),f:f(c)}}function s(t){return t}function u(t){return function(e){return+e.toFixed(3)+t}}function l(t){return t.join(" ")}function c(e){return t.rgb(e[0],e[1],e[2])}function f(t){var e,n,r,i,o,a,s=0,u=[];for(e=0,n=t.length;e<n;e++){for(o="[",a=['"'+t[e][0]+'"'],r=1,i=t[e].length;r<i;r++)a[r]="val["+s++ +"]";o+=a+"]",u[e]=o}return Function("val","return Snap.path.toString.call(["+u+"])")}function h(t){for(var e=[],n=0,r=t.length;n<r;n++)for(var i=1,o=t[n].length;i<o;i++)e.push(t[n][i]);return e}function d(t){return isFinite(parseFloat(t))}function p(e,n){return!(!t.is(e,"array")||!t.is(n,"array"))&&e.toString()==n.toString()}var v={},g=/[a-z]+$/i,m=String;v.stroke=v.fill="colour",n.prototype.equal=function(t,n){return e("snap.util.equal",this,t,n).firstDefined()},e.on("snap.util.equal",function(e,n){var r,i,o=m(this.attr(e)||""),y=this;if(d(o)&&d(n))return{from:parseFloat(o),to:parseFloat(n),f:s};if("colour"==v[e])return r=t.color(o),i=t.color(n),{from:[r.r,r.g,r.b,r.opacity],to:[i.r,i.g,i.b,i.opacity],f:c};if("viewBox"==e)return r=this.attr(e).vb.split(" ").map(Number),i=n.split(" ").map(Number),{from:r,to:i,f:l};if("transform"==e||"gradientTransform"==e||"patternTransform"==e)return n instanceof t.Matrix&&(n=n.toTransformString()),t._.rgTransform.test(n)||(n=t._.svgTransform2string(n)),a(o,n,function(){return y.getBBox(1)});if("d"==e||"path"==e)return r=t.path.toCubic(o,n),{from:h(r[0]),to:h(r[1]),f:f(r[0])};if("points"==e)return r=m(o).split(t._.separator),i=m(n).split(t._.separator),{from:r,to:i,f:function(t){return t}};var b=o.match(g),x=m(n).match(g);return b&&p(b,x)?{from:parseFloat(o),to:parseFloat(n),f:u(b)}:{from:this.asPX(e),to:this.asPX(e,n),f:s}})}),r.plugin(function(t,n,r,i){for(var o=n.prototype,a="hasOwnProperty",s=("createTouch"in i.doc),u=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","touchstart","touchmove","touchend","touchcancel"],l={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},c=(function(t,e){var n="y"==t?"scrollTop":"scrollLeft",r=e&&e.node?e.node.ownerDocument:i.doc;return r[n in r.documentElement?"documentElement":"body"][n]}),f=function(){return this.originalEvent.preventDefault()},h=function(){return this.originalEvent.stopPropagation()},d=function(t,e,n,r){var i=s&&l[e]?l[e]:e,o=function(i){var o=c("y",r),u=c("x",r);if(s&&l[a](e))for(var d=0,p=i.targetTouches&&i.targetTouches.length;d<p;d++)if(i.targetTouches[d].target==t||t.contains(i.targetTouches[d].target)){var v=i;i=i.targetTouches[d],i.originalEvent=v,i.preventDefault=f,i.stopPropagation=h;break}var g=i.clientX+u,m=i.clientY+o;return n.call(r,i,g,m)};return e!==i&&t.addEventListener(e,o,!1),t.addEventListener(i,o,!1),function(){return e!==i&&t.removeEventListener(e,o,!1),t.removeEventListener(i,o,!1),!0}},p=[],v=function(t){for(var n,r=t.clientX,i=t.clientY,o=c("y"),a=c("x"),u=p.length;u--;){if(n=p[u],s){for(var l,f=t.touches&&t.touches.length;f--;)if(l=t.touches[f],l.identifier==n.el._drag.id||n.el.node.contains(l.target)){r=l.clientX,i=l.clientY,(t.originalEvent?t.originalEvent:t).preventDefault();break}}else t.preventDefault();var h=n.el.node;h.nextSibling,h.parentNode,h.style.display;r+=a,i+=o,e("snap.drag.move."+n.el.id,n.move_scope||n.el,r-n.el._drag.x,i-n.el._drag.y,r,i,t)}},g=function b(n){t.unmousemove(v).unmouseup(b);for(var r,i=p.length;i--;)r=p[i],r.el._drag={},e("snap.drag.end."+r.el.id,r.end_scope||r.start_scope||r.move_scope||r.el,n),e.off("snap.drag.*."+r.el.id);p=[]},m=u.length;m--;)!function(e){t[e]=o[e]=function(n,r){if(t.is(n,"function"))this.events=this.events||[],this.events.push({name:e,f:n,unbind:d(this.node||document,e,n,r||this)});else for(var i=0,o=this.events.length;i<o;i++)if(this.events[i].name==e)try{this.events[i].f.call(this)}catch(a){}return this},t["un"+e]=o["un"+e]=function(t){for(var n=this.events||[],r=n.length;r--;)if(n[r].name==e&&(n[r].f==t||!t))return n[r].unbind(),n.splice(r,1),!n.length&&delete this.events,this;return this}}(u[m]);o.hover=function(t,e,n,r){return this.mouseover(t,n).mouseout(e,r||n)},o.unhover=function(t,e){return this.unmouseover(t).unmouseout(e)};var y=[];o.drag=function(n,r,i,o,a,s){function u(u,l,f){(u.originalEvent||u).preventDefault(),c._drag.x=l,c._drag.y=f,c._drag.id=u.identifier,!p.length&&t.mousemove(v).mouseup(g),p.push({el:c,move_scope:o,start_scope:a,end_scope:s}),r&&e.on("snap.drag.start."+c.id,r),n&&e.on("snap.drag.move."+c.id,n),i&&e.on("snap.drag.end."+c.id,i),e("snap.drag.start."+c.id,a||o||c,l,f,u)}function l(t,n,r){e("snap.draginit."+c.id,c,t,n,r)}var c=this;if(!arguments.length){var f;return c.drag(function(t,e){this.attr({transform:f+(f?"T":"t")+[t,e]})},function(){f=this.transform().local})}return e.on("snap.draginit."+c.id,u),c._drag={},y.push({el:c,start:u,init:l}),c.mousedown(l),c},o.undrag=function(){for(var n=y.length;n--;)y[n].el==this&&(this.unmousedown(y[n].init),y.splice(n,1),e.unbind("snap.drag.*."+this.id),e.unbind("snap.draginit."+this.id));return!y.length&&t.unmousemove(v).unmouseup(g),this}}),r.plugin(function(t,n,r,i){var o=(n.prototype,r.prototype),a=/^\s*url\((.+)\)/,s=String,u=t._.$;t.filter={},o.filter=function(e){var r=this;"svg"!=r.type&&(r=r.paper);var i=t.parse(s(e)),o=t._.id(),a=(r.node.offsetWidth,r.node.offsetHeight,u("filter"));return u(a,{id:o,filterUnits:"userSpaceOnUse"}),a.appendChild(i.node),r.defs.appendChild(a),new n(a)},e.on("snap.util.getattr.filter",function(){e.stop();var n=u(this.node,"filter");if(n){var r=s(n).match(a);return r&&t.select(r[1])}}),e.on("snap.util.attr.filter",function(r){if(r instanceof n&&"filter"==r.type){e.stop();var i=r.node.id;i||(u(r.node,{id:r.id}),i=r.id),u(this.node,{filter:t.url(i)})}r&&"none"!=r||(e.stop(),this.node.removeAttribute("filter"))}),t.filter.blur=function(e,n){null==e&&(e=2);var r=null==n?e:[e,n];return t.format('<feGaussianBlur stdDeviation="{def}"/>',{def:r})},t.filter.blur.toString=function(){return this()},t.filter.shadow=function(e,n,r,i,o){return"string"==typeof r&&(i=r,o=i,r=4),"string"!=typeof i&&(o=i,i="#000"),i=i||"#000",null==r&&(r=4),null==o&&(o=1),null==e&&(e=0,n=2),null==n&&(n=e),i=t.color(i),t.format('<feGaussianBlur in="SourceAlpha" stdDeviation="{blur}"/><feOffset dx="{dx}" dy="{dy}" result="offsetblur"/><feFlood flood-color="{color}"/><feComposite in2="offsetblur" operator="in"/><feComponentTransfer><feFuncA type="linear" slope="{opacity}"/></feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>',{color:i,dx:e,dy:n,blur:r,opacity:o})},t.filter.shadow.toString=function(){return this()},t.filter.grayscale=function(e){return null==e&&(e=1),t.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {b} {h} 0 0 0 0 0 1 0"/>',{a:.2126+.7874*(1-e),b:.7152-.7152*(1-e),c:.0722-.0722*(1-e),d:.2126-.2126*(1-e),e:.7152+.2848*(1-e),f:.0722-.0722*(1-e),g:.2126-.2126*(1-e),h:.0722+.9278*(1-e)})},t.filter.grayscale.toString=function(){return this()},t.filter.sepia=function(e){return null==e&&(e=1),t.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {h} {i} 0 0 0 0 0 1 0"/>',{a:.393+.607*(1-e),b:.769-.769*(1-e),c:.189-.189*(1-e),d:.349-.349*(1-e),e:.686+.314*(1-e),f:.168-.168*(1-e),g:.272-.272*(1-e),h:.534-.534*(1-e),i:.131+.869*(1-e)})},t.filter.sepia.toString=function(){return this()},t.filter.saturate=function(e){return null==e&&(e=1),t.format('<feColorMatrix type="saturate" values="{amount}"/>',{amount:1-e})},t.filter.saturate.toString=function(){return this()},t.filter.hueRotate=function(e){return e=e||0,t.format('<feColorMatrix type="hueRotate" values="{angle}"/>',{angle:e})},t.filter.hueRotate.toString=function(){return this()},t.filter.invert=function(e){return null==e&&(e=1),t.format('<feComponentTransfer><feFuncR type="table" tableValues="{amount} {amount2}"/><feFuncG type="table" tableValues="{amount} {amount2}"/><feFuncB type="table" tableValues="{amount} {amount2}"/></feComponentTransfer>',{amount:e,amount2:1-e})},t.filter.invert.toString=function(){return this()},t.filter.brightness=function(e){return null==e&&(e=1),t.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}"/><feFuncG type="linear" slope="{amount}"/><feFuncB type="linear" slope="{amount}"/></feComponentTransfer>',{amount:e})},t.filter.brightness.toString=function(){return this()},t.filter.contrast=function(e){return null==e&&(e=1),t.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}" intercept="{amount2}"/><feFuncG type="linear" slope="{amount}" intercept="{amount2}"/><feFuncB type="linear" slope="{amount}" intercept="{amount2}"/></feComponentTransfer>',{amount:e,amount2:.5-e/2})},t.filter.contrast.toString=function(){return this()}}),r.plugin(function(t,e,n,r,i){var o=t._.box,a=t.is,s=/^[^a-z]*([tbmlrc])/i,u=function(){return"T"+this.dx+","+this.dy};e.prototype.getAlign=function(t,e){null==e&&a(t,"string")&&(e=t,t=null),t=t||this.paper;var n=t.getBBox?t.getBBox():o(t),r=this.getBBox(),i={};switch(e=e&&e.match(s),e=e?e[1].toLowerCase():"c"){case"t":i.dx=0,i.dy=n.y-r.y;break;case"b":i.dx=0,i.dy=n.y2-r.y2;break;case"m":i.dx=0,i.dy=n.cy-r.cy;break;case"l":i.dx=n.x-r.x,i.dy=0;break;case"r":i.dx=n.x2-r.x2,i.dy=0;break;default:i.dx=n.cx-r.cx,i.dy=0}return i.toString=u,i},e.prototype.align=function(t,e){return this.transform("..."+this.getAlign(t,e))}}),r})}).call(window)},function(t,e,n){var r,i;(function(t){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};/*!
* jQuery JavaScript Library v3.1.0
* https://jquery.com/
*
@@ -15,7 +15,7 @@
*
* Date: 2016-07-07T21:44Z
*/
-!function(e,r){"object"===n(t)&&"object"===n(t.exports)?t.exports=e.document?r(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return r(t)}:r(e)}("undefined"!=typeof window?window:void 0,function(o,a){function s(t,e){e=e||it;var n=e.createElement("script");n.text=t,e.head.appendChild(n).parentNode.removeChild(n)}function u(t){var e=!!t&&"length"in t&&t.length,n=mt.type(t);return"function"!==n&&!mt.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function l(t,e,n){if(mt.isFunction(e))return mt.grep(t,function(t,r){return!!e.call(t,r,t)!==n});if(e.nodeType)return mt.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(At.test(e))return mt.filter(e,t,n);e=mt.filter(e,t)}return mt.grep(t,function(t){return lt.call(e,t)>-1!==n&&1===t.nodeType})}function c(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function f(t){var e={};return mt.each(t.match(Nt)||[],function(t,n){e[n]=!0}),e}function h(t){return t}function d(t){throw t}function p(t,e,n){var r;try{t&&mt.isFunction(r=t.promise)?r.call(t).done(e).fail(n):t&&mt.isFunction(r=t.then)?r.call(t,e,n):e.call(void 0,t)}catch(t){n.call(void 0,t)}}function v(){it.removeEventListener("DOMContentLoaded",v),o.removeEventListener("load",v),mt.ready()}function g(){this.expando=mt.expando+g.uid++}function m(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(Ht,"-$&").toLowerCase(),n=t.getAttribute(r),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:It.test(n)?JSON.parse(n):n)}catch(i){}Rt.set(t,e,n)}else n=void 0;return n}function y(t,e,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return mt.css(t,e,"")},u=s(),l=n&&n[3]||(mt.cssNumber[e]?"":"px"),c=(mt.cssNumber[e]||"px"!==l&&+u)&&Vt.exec(mt.css(t,e));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do o=o||".5",c/=o,mt.style(t,e,c+l);while(o!==(o=s()/u)&&1!==o&&--a)}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function b(t){var e,n=t.ownerDocument,r=t.nodeName,i=Xt[r];return i?i:(e=n.body.appendChild(n.createElement(r)),i=mt.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),Xt[r]=i,i)}function x(t,e){for(var n,r,i=[],o=0,a=t.length;o<a;o++)r=t[o],r.style&&(n=r.style.display,e?("none"===n&&(i[o]=Lt.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&Ut(r)&&(i[o]=b(r))):"none"!==n&&(i[o]="none",Lt.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}function _(t,e){var n="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&mt.nodeName(t,e)?mt.merge([t],n):n}function w(t,e){for(var n=0,r=t.length;n<r;n++)Lt.set(t[n],"globalEval",!e||Lt.get(e[n],"globalEval"))}function C(t,e,n,r,i){for(var o,a,s,u,l,c,f=e.createDocumentFragment(),h=[],d=0,p=t.length;d<p;d++)if(o=t[d],o||0===o)if("object"===mt.type(o))mt.merge(h,o.nodeType?[o]:o);else if(Qt.test(o)){for(a=a||f.appendChild(e.createElement("div")),s=(Gt.exec(o)||["",""])[1].toLowerCase(),u=Yt[s]||Yt._default,a.innerHTML=u[1]+mt.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;mt.merge(h,a.childNodes),a=f.firstChild,a.textContent=""}else h.push(e.createTextNode(o));for(f.textContent="",d=0;o=h[d++];)if(r&&mt.inArray(o,r)>-1)i&&i.push(o);else if(l=mt.contains(o.ownerDocument,o),a=_(f.appendChild(o),"script"),l&&w(a),n)for(c=0;o=a[c++];)Zt.test(o.type||"")&&n.push(o);return f}function k(){return!0}function T(){return!1}function S(){try{return it.activeElement}catch(t){}}function A(t,e,r,i,o,a){var s,u;if("object"===("undefined"==typeof e?"undefined":n(e))){"string"!=typeof r&&(i=i||r,r=void 0);for(u in e)A(t,u,r,i,e[u],a);return t}if(null==i&&null==o?(o=r,i=r=void 0):null==o&&("string"==typeof r?(o=i,i=void 0):(o=i,i=r,r=void 0)),o===!1)o=T;else if(!o)return t;return 1===a&&(s=o,o=function(t){return mt().off(t),s.apply(this,arguments)},o.guid=s.guid||(s.guid=mt.guid++)),t.each(function(){mt.event.add(this,e,o,i,r)})}function j(t,e){return mt.nodeName(t,"table")&&mt.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t:t}function E(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function O(t){var e=ae.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function $(t,e){var n,r,i,o,a,s,u,l;if(1===e.nodeType){if(Lt.hasData(t)&&(o=Lt.access(t),a=Lt.set(e,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n<r;n++)mt.event.add(e,i,l[i][n])}Rt.hasData(t)&&(s=Rt.access(t),u=mt.extend({},s),Rt.set(e,u))}}function M(t,e){var n=e.nodeName.toLowerCase();"input"===n&&Jt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function N(t,e,n,r){e=st.apply([],e);var i,o,a,u,l,c,f=0,h=t.length,d=h-1,p=e[0],v=mt.isFunction(p);if(v||h>1&&"string"==typeof p&&!vt.checkClone&&oe.test(p))return t.each(function(i){var o=t.eq(i);v&&(e[0]=p.call(this,i,o.html())),N(o,e,n,r)});if(h&&(i=C(e,t[0].ownerDocument,!1,t,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=mt.map(_(i,"script"),E),u=a.length;f<h;f++)l=i,f!==d&&(l=mt.clone(l,!0,!0),u&&mt.merge(a,_(l,"script"))),n.call(t[f],l,f);if(u)for(c=a[a.length-1].ownerDocument,mt.map(a,O),f=0;f<u;f++)l=a[f],Zt.test(l.type||"")&&!Lt.access(l,"globalEval")&&mt.contains(c,l)&&(l.src?mt._evalUrl&&mt._evalUrl(l.src):s(l.textContent.replace(se,""),c))}return t}function P(t,e,n){for(var r,i=e?mt.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||mt.cleanData(_(r)),r.parentNode&&(n&&mt.contains(r.ownerDocument,r)&&w(_(r,"script")),r.parentNode.removeChild(r));return t}function D(t,e,n){var r,i,o,a,s=t.style;return n=n||ce(t),n&&(a=n.getPropertyValue(e)||n[e],""!==a||mt.contains(t.ownerDocument,t)||(a=mt.style(t,e)),!vt.pixelMarginRight()&&le.test(a)&&ue.test(e)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function F(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function B(t){if(t in ve)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=pe.length;n--;)if(t=pe[n]+e,t in ve)return t}function L(t,e,n){var r=Vt.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function R(t,e,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===e?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=mt.css(t,n+zt[o],!0,i)),r?("content"===n&&(a-=mt.css(t,"padding"+zt[o],!0,i)),"margin"!==n&&(a-=mt.css(t,"border"+zt[o]+"Width",!0,i))):(a+=mt.css(t,"padding"+zt[o],!0,i),"padding"!==n&&(a+=mt.css(t,"border"+zt[o]+"Width",!0,i)));return a}function I(t,e,n){var r,i=!0,o=ce(t),a="border-box"===mt.css(t,"boxSizing",!1,o);if(t.getClientRects().length&&(r=t.getBoundingClientRect()[e]),r<=0||null==r){if(r=D(t,e,o),(r<0||null==r)&&(r=t.style[e]),le.test(r))return r;i=a&&(vt.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+R(t,e,n||(a?"border":"content"),i,o)+"px"}function H(t,e,n,r,i){return new H.prototype.init(t,e,n,r,i)}function q(){me&&(o.requestAnimationFrame(q),mt.fx.tick())}function V(){return o.setTimeout(function(){ge=void 0}),ge=mt.now()}function z(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)n=zt[r],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function U(t,e,n){for(var r,i=(J.tweeners[e]||[]).concat(J.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,e,t))return r}function W(t,e,n){var r,i,o,a,s,u,l,c,f="width"in e||"height"in e,h=this,d={},p=t.style,v=t.nodeType&&Ut(t),g=Lt.get(t,"fxshow");n.queue||(a=mt._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,mt.queue(t,"fx").length||a.empty.fire()})}));for(r in e)if(i=e[r],ye.test(i)){if(delete e[r],o=o||"toggle"===i,i===(v?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;v=!0}d[r]=g&&g[r]||mt.style(t,r)}if(u=!mt.isEmptyObject(e),u||!mt.isEmptyObject(d)){f&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],l=g&&g.display,null==l&&(l=Lt.get(t,"display")),c=mt.css(t,"display"),"none"===c&&(l?c=l:(x([t],!0),l=t.style.display||l,c=mt.css(t,"display"),x([t]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===mt.css(t,"float")&&(u||(h.done(function(){p.display=l}),null==l&&(c=p.display,l="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),u=!1;for(r in d)u||(g?"hidden"in g&&(v=g.hidden):g=Lt.access(t,"fxshow",{display:l}),o&&(g.hidden=!v),v&&x([t],!0),h.done(function(){v||x([t]),Lt.remove(t,"fxshow");for(r in d)mt.style(t,r,d[r])})),u=U(v?g[r]:0,r,h),r in g||(g[r]=u.start,v&&(u.end=u.start,u.start=0))}}function X(t,e){var n,r,i,o,a;for(n in t)if(r=mt.camelCase(n),i=e[r],o=t[n],mt.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),a=mt.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete t[r];for(n in o)n in t||(t[n]=o[n],e[n]=i)}else e[r]=i}function J(t,e,n){var r,i,o=0,a=J.prefilters.length,s=mt.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var e=ge||V(),n=Math.max(0,l.startTime+l.duration-e),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;a<u;a++)l.tweens[a].run(o);return s.notifyWith(t,[l,o,n]),o<1&&u?n:(s.resolveWith(t,[l]),!1)},l=s.promise({elem:t,props:mt.extend({},e),opts:mt.extend(!0,{specialEasing:{},easing:mt.easing._default},n),originalProperties:e,originalOptions:n,startTime:ge||V(),duration:n.duration,tweens:[],createTween:function(e,n){var r=mt.Tween(t,l.opts,e,n,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(r),r},stop:function(e){var n=0,r=e?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return e?(s.notifyWith(t,[l,1,0]),s.resolveWith(t,[l,e])):s.rejectWith(t,[l,e]),this}}),c=l.props;for(X(c,l.opts.specialEasing);o<a;o++)if(r=J.prefilters[o].call(l,t,c,l.opts))return mt.isFunction(r.stop)&&(mt._queueHooks(l.elem,l.opts.queue).stop=mt.proxy(r.stop,r)),r;return mt.map(c,U,l),mt.isFunction(l.opts.start)&&l.opts.start.call(t,l),mt.fx.timer(mt.extend(u,{elem:t,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function G(t){return t.getAttribute&&t.getAttribute("class")||""}function Z(t,e,r,i){var o;if(mt.isArray(e))mt.each(e,function(e,o){r||$e.test(t)?i(t,o):Z(t+"["+("object"===("undefined"==typeof o?"undefined":n(o))&&null!=o?e:"")+"]",o,r,i)});else if(r||"object"!==mt.type(e))i(t,e);else for(o in e)Z(t+"["+o+"]",e[o],r,i)}function Y(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(Nt)||[];if(mt.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function Q(t,e,n,r){function i(s){var u;return o[s]=!0,mt.each(t[s]||[],function(t,s){var l=s(e,n,r);return"string"!=typeof l||a||o[l]?a?!(u=l):void 0:(e.dataTypes.unshift(l),i(l),!1)}),u}var o={},a=t===Ve;return i(e.dataTypes[0])||!o["*"]&&i("*")}function K(t,e){var n,r,i=mt.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&mt.extend(!0,t,r),t}function tt(t,e,n){for(var r,i,o,a,s=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||t.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function et(t,e,n,r){var i,o,a,s,u,l={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)l[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!u&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(a=l[u+" "+o]||l["* "+o],!a)for(i in l)if(s=i.split(" "),s[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){a===!0?a=l[i]:l[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&t["throws"])e=a(e);else try{e=a(e)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}function nt(t){return mt.isWindow(t)?t:9===t.nodeType&&t.defaultView}var rt=[],it=o.document,ot=Object.getPrototypeOf,at=rt.slice,st=rt.concat,ut=rt.push,lt=rt.indexOf,ct={},ft=ct.toString,ht=ct.hasOwnProperty,dt=ht.toString,pt=dt.call(Object),vt={},gt="3.1.0",mt=function Qe(t,e){return new Qe.fn.init(t,e)},yt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,bt=/^-ms-/,xt=/-([a-z])/g,_t=function(t,e){return e.toUpperCase()};mt.fn=mt.prototype={jquery:gt,constructor:mt,length:0,toArray:function(){return at.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:at.call(this)},pushStack:function(t){var e=mt.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return mt.each(this,t)},map:function(t){return this.pushStack(mt.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(at.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ut,sort:rt.sort,splice:rt.splice},mt.extend=mt.fn.extend=function(){var t,e,r,i,o,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[u]||{},u++),"object"===("undefined"==typeof s?"undefined":n(s))||mt.isFunction(s)||(s={}),u===l&&(s=this,u--);u<l;u++)if(null!=(t=arguments[u]))for(e in t)r=s[e],i=t[e],s!==i&&(c&&i&&(mt.isPlainObject(i)||(o=mt.isArray(i)))?(o?(o=!1,a=r&&mt.isArray(r)?r:[]):a=r&&mt.isPlainObject(r)?r:{},s[e]=mt.extend(c,a,i)):void 0!==i&&(s[e]=i));return s},mt.extend({expando:"jQuery"+(gt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===mt.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var e=mt.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==ft.call(t))&&(!(e=ot(t))||(n=ht.call(e,"constructor")&&e.constructor,"function"==typeof n&&dt.call(n)===pt))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"===("undefined"==typeof t?"undefined":n(t))||"function"==typeof t?ct[ft.call(t)]||"object":"undefined"==typeof t?"undefined":n(t)},globalEval:function(t){s(t)},camelCase:function(t){return t.replace(bt,"ms-").replace(xt,_t)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var n,r=0;if(u(t))for(n=t.length;r<n&&e.call(t[r],r,t[r])!==!1;r++);else for(r in t)if(e.call(t[r],r,t[r])===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(yt,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(u(Object(t))?mt.merge(n,"string"==typeof t?[t]:t):ut.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:lt.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r,i=[],o=0,a=t.length,s=!n;o<a;o++)r=!e(t[o],o),r!==s&&i.push(t[o]);return i},map:function(t,e,n){var r,i,o=0,a=[];if(u(t))for(r=t.length;o<r;o++)i=e(t[o],o,n),null!=i&&a.push(i);else for(o in t)i=e(t[o],o,n),null!=i&&a.push(i);return st.apply([],a)},guid:1,proxy:function Ke(t,e){var n,r,Ke;if("string"==typeof e&&(n=t[e],e=t,t=n),mt.isFunction(t))return r=at.call(arguments,2),Ke=function(){return t.apply(e||this,r.concat(at.call(arguments)))},Ke.guid=t.guid=t.guid||mt.guid++,Ke},now:Date.now,support:vt}),"function"==typeof Symbol&&(mt.fn[Symbol.iterator]=rt[Symbol.iterator]),mt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){ct["[object "+e+"]"]=e.toLowerCase()});var wt=/*!
+!function(e,r){"object"===n(t)&&"object"===n(t.exports)?t.exports=e.document?r(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return r(t)}:r(e)}("undefined"!=typeof window?window:void 0,function(o,a){function s(t,e){e=e||it;var n=e.createElement("script");n.text=t,e.head.appendChild(n).parentNode.removeChild(n)}function u(t){var e=!!t&&"length"in t&&t.length,n=mt.type(t);return"function"!==n&&!mt.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function l(t,e,n){if(mt.isFunction(e))return mt.grep(t,function(t,r){return!!e.call(t,r,t)!==n});if(e.nodeType)return mt.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(At.test(e))return mt.filter(e,t,n);e=mt.filter(e,t)}return mt.grep(t,function(t){return lt.call(e,t)>-1!==n&&1===t.nodeType})}function c(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function f(t){var e={};return mt.each(t.match(Nt)||[],function(t,n){e[n]=!0}),e}function h(t){return t}function d(t){throw t}function p(t,e,n){var r;try{t&&mt.isFunction(r=t.promise)?r.call(t).done(e).fail(n):t&&mt.isFunction(r=t.then)?r.call(t,e,n):e.call(void 0,t)}catch(t){n.call(void 0,t)}}function v(){it.removeEventListener("DOMContentLoaded",v),o.removeEventListener("load",v),mt.ready()}function g(){this.expando=mt.expando+g.uid++}function m(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(Ht,"-$&").toLowerCase(),n=t.getAttribute(r),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:It.test(n)?JSON.parse(n):n)}catch(i){}Rt.set(t,e,n)}else n=void 0;return n}function y(t,e,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return mt.css(t,e,"")},u=s(),l=n&&n[3]||(mt.cssNumber[e]?"":"px"),c=(mt.cssNumber[e]||"px"!==l&&+u)&&Vt.exec(mt.css(t,e));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do o=o||".5",c/=o,mt.style(t,e,c+l);while(o!==(o=s()/u)&&1!==o&&--a)}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function b(t){var e,n=t.ownerDocument,r=t.nodeName,i=Xt[r];return i?i:(e=n.body.appendChild(n.createElement(r)),i=mt.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),Xt[r]=i,i)}function x(t,e){for(var n,r,i=[],o=0,a=t.length;o<a;o++)r=t[o],r.style&&(n=r.style.display,e?("none"===n&&(i[o]=Lt.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&Ut(r)&&(i[o]=b(r))):"none"!==n&&(i[o]="none",Lt.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}function _(t,e){var n="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&mt.nodeName(t,e)?mt.merge([t],n):n}function w(t,e){for(var n=0,r=t.length;n<r;n++)Lt.set(t[n],"globalEval",!e||Lt.get(e[n],"globalEval"))}function C(t,e,n,r,i){for(var o,a,s,u,l,c,f=e.createDocumentFragment(),h=[],d=0,p=t.length;d<p;d++)if(o=t[d],o||0===o)if("object"===mt.type(o))mt.merge(h,o.nodeType?[o]:o);else if(Qt.test(o)){for(a=a||f.appendChild(e.createElement("div")),s=(Gt.exec(o)||["",""])[1].toLowerCase(),u=Yt[s]||Yt._default,a.innerHTML=u[1]+mt.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;mt.merge(h,a.childNodes),a=f.firstChild,a.textContent=""}else h.push(e.createTextNode(o));for(f.textContent="",d=0;o=h[d++];)if(r&&mt.inArray(o,r)>-1)i&&i.push(o);else if(l=mt.contains(o.ownerDocument,o),a=_(f.appendChild(o),"script"),l&&w(a),n)for(c=0;o=a[c++];)Zt.test(o.type||"")&&n.push(o);return f}function k(){return!0}function T(){return!1}function S(){try{return it.activeElement}catch(t){}}function A(t,e,r,i,o,a){var s,u;if("object"===("undefined"==typeof e?"undefined":n(e))){"string"!=typeof r&&(i=i||r,r=void 0);for(u in e)A(t,u,r,i,e[u],a);return t}if(null==i&&null==o?(o=r,i=r=void 0):null==o&&("string"==typeof r?(o=i,i=void 0):(o=i,i=r,r=void 0)),o===!1)o=T;else if(!o)return t;return 1===a&&(s=o,o=function(t){return mt().off(t),s.apply(this,arguments)},o.guid=s.guid||(s.guid=mt.guid++)),t.each(function(){mt.event.add(this,e,o,i,r)})}function j(t,e){return mt.nodeName(t,"table")&&mt.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t:t}function E(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function $(t){var e=ae.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function O(t,e){var n,r,i,o,a,s,u,l;if(1===e.nodeType){if(Lt.hasData(t)&&(o=Lt.access(t),a=Lt.set(e,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n<r;n++)mt.event.add(e,i,l[i][n])}Rt.hasData(t)&&(s=Rt.access(t),u=mt.extend({},s),Rt.set(e,u))}}function M(t,e){var n=e.nodeName.toLowerCase();"input"===n&&Jt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function N(t,e,n,r){e=st.apply([],e);var i,o,a,u,l,c,f=0,h=t.length,d=h-1,p=e[0],v=mt.isFunction(p);if(v||h>1&&"string"==typeof p&&!vt.checkClone&&oe.test(p))return t.each(function(i){var o=t.eq(i);v&&(e[0]=p.call(this,i,o.html())),N(o,e,n,r)});if(h&&(i=C(e,t[0].ownerDocument,!1,t,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=mt.map(_(i,"script"),E),u=a.length;f<h;f++)l=i,f!==d&&(l=mt.clone(l,!0,!0),u&&mt.merge(a,_(l,"script"))),n.call(t[f],l,f);if(u)for(c=a[a.length-1].ownerDocument,mt.map(a,$),f=0;f<u;f++)l=a[f],Zt.test(l.type||"")&&!Lt.access(l,"globalEval")&&mt.contains(c,l)&&(l.src?mt._evalUrl&&mt._evalUrl(l.src):s(l.textContent.replace(se,""),c))}return t}function P(t,e,n){for(var r,i=e?mt.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||mt.cleanData(_(r)),r.parentNode&&(n&&mt.contains(r.ownerDocument,r)&&w(_(r,"script")),r.parentNode.removeChild(r));return t}function D(t,e,n){var r,i,o,a,s=t.style;return n=n||ce(t),n&&(a=n.getPropertyValue(e)||n[e],""!==a||mt.contains(t.ownerDocument,t)||(a=mt.style(t,e)),!vt.pixelMarginRight()&&le.test(a)&&ue.test(e)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function F(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function B(t){if(t in ve)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=pe.length;n--;)if(t=pe[n]+e,t in ve)return t}function L(t,e,n){var r=Vt.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function R(t,e,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===e?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=mt.css(t,n+zt[o],!0,i)),r?("content"===n&&(a-=mt.css(t,"padding"+zt[o],!0,i)),"margin"!==n&&(a-=mt.css(t,"border"+zt[o]+"Width",!0,i))):(a+=mt.css(t,"padding"+zt[o],!0,i),"padding"!==n&&(a+=mt.css(t,"border"+zt[o]+"Width",!0,i)));return a}function I(t,e,n){var r,i=!0,o=ce(t),a="border-box"===mt.css(t,"boxSizing",!1,o);if(t.getClientRects().length&&(r=t.getBoundingClientRect()[e]),r<=0||null==r){if(r=D(t,e,o),(r<0||null==r)&&(r=t.style[e]),le.test(r))return r;i=a&&(vt.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+R(t,e,n||(a?"border":"content"),i,o)+"px"}function H(t,e,n,r,i){return new H.prototype.init(t,e,n,r,i)}function q(){me&&(o.requestAnimationFrame(q),mt.fx.tick())}function V(){return o.setTimeout(function(){ge=void 0}),ge=mt.now()}function z(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)n=zt[r],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function U(t,e,n){for(var r,i=(J.tweeners[e]||[]).concat(J.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,e,t))return r}function W(t,e,n){var r,i,o,a,s,u,l,c,f="width"in e||"height"in e,h=this,d={},p=t.style,v=t.nodeType&&Ut(t),g=Lt.get(t,"fxshow");n.queue||(a=mt._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,mt.queue(t,"fx").length||a.empty.fire()})}));for(r in e)if(i=e[r],ye.test(i)){if(delete e[r],o=o||"toggle"===i,i===(v?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;v=!0}d[r]=g&&g[r]||mt.style(t,r)}if(u=!mt.isEmptyObject(e),u||!mt.isEmptyObject(d)){f&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],l=g&&g.display,null==l&&(l=Lt.get(t,"display")),c=mt.css(t,"display"),"none"===c&&(l?c=l:(x([t],!0),l=t.style.display||l,c=mt.css(t,"display"),x([t]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===mt.css(t,"float")&&(u||(h.done(function(){p.display=l}),null==l&&(c=p.display,l="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),u=!1;for(r in d)u||(g?"hidden"in g&&(v=g.hidden):g=Lt.access(t,"fxshow",{display:l}),o&&(g.hidden=!v),v&&x([t],!0),h.done(function(){v||x([t]),Lt.remove(t,"fxshow");for(r in d)mt.style(t,r,d[r])})),u=U(v?g[r]:0,r,h),r in g||(g[r]=u.start,v&&(u.end=u.start,u.start=0))}}function X(t,e){var n,r,i,o,a;for(n in t)if(r=mt.camelCase(n),i=e[r],o=t[n],mt.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),a=mt.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete t[r];for(n in o)n in t||(t[n]=o[n],e[n]=i)}else e[r]=i}function J(t,e,n){var r,i,o=0,a=J.prefilters.length,s=mt.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var e=ge||V(),n=Math.max(0,l.startTime+l.duration-e),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;a<u;a++)l.tweens[a].run(o);return s.notifyWith(t,[l,o,n]),o<1&&u?n:(s.resolveWith(t,[l]),!1)},l=s.promise({elem:t,props:mt.extend({},e),opts:mt.extend(!0,{specialEasing:{},easing:mt.easing._default},n),originalProperties:e,originalOptions:n,startTime:ge||V(),duration:n.duration,tweens:[],createTween:function(e,n){var r=mt.Tween(t,l.opts,e,n,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(r),r},stop:function(e){var n=0,r=e?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return e?(s.notifyWith(t,[l,1,0]),s.resolveWith(t,[l,e])):s.rejectWith(t,[l,e]),this}}),c=l.props;for(X(c,l.opts.specialEasing);o<a;o++)if(r=J.prefilters[o].call(l,t,c,l.opts))return mt.isFunction(r.stop)&&(mt._queueHooks(l.elem,l.opts.queue).stop=mt.proxy(r.stop,r)),r;return mt.map(c,U,l),mt.isFunction(l.opts.start)&&l.opts.start.call(t,l),mt.fx.timer(mt.extend(u,{elem:t,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function G(t){return t.getAttribute&&t.getAttribute("class")||""}function Z(t,e,r,i){var o;if(mt.isArray(e))mt.each(e,function(e,o){r||Oe.test(t)?i(t,o):Z(t+"["+("object"===("undefined"==typeof o?"undefined":n(o))&&null!=o?e:"")+"]",o,r,i)});else if(r||"object"!==mt.type(e))i(t,e);else for(o in e)Z(t+"["+o+"]",e[o],r,i)}function Y(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(Nt)||[];if(mt.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function Q(t,e,n,r){function i(s){var u;return o[s]=!0,mt.each(t[s]||[],function(t,s){var l=s(e,n,r);return"string"!=typeof l||a||o[l]?a?!(u=l):void 0:(e.dataTypes.unshift(l),i(l),!1)}),u}var o={},a=t===Ve;return i(e.dataTypes[0])||!o["*"]&&i("*")}function K(t,e){var n,r,i=mt.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&mt.extend(!0,t,r),t}function tt(t,e,n){for(var r,i,o,a,s=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||t.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function et(t,e,n,r){var i,o,a,s,u,l={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)l[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!u&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(a=l[u+" "+o]||l["* "+o],!a)for(i in l)if(s=i.split(" "),s[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){a===!0?a=l[i]:l[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&t["throws"])e=a(e);else try{e=a(e)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}function nt(t){return mt.isWindow(t)?t:9===t.nodeType&&t.defaultView}var rt=[],it=o.document,ot=Object.getPrototypeOf,at=rt.slice,st=rt.concat,ut=rt.push,lt=rt.indexOf,ct={},ft=ct.toString,ht=ct.hasOwnProperty,dt=ht.toString,pt=dt.call(Object),vt={},gt="3.1.0",mt=function Qe(t,e){return new Qe.fn.init(t,e)},yt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,bt=/^-ms-/,xt=/-([a-z])/g,_t=function(t,e){return e.toUpperCase()};mt.fn=mt.prototype={jquery:gt,constructor:mt,length:0,toArray:function(){return at.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:at.call(this)},pushStack:function(t){var e=mt.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return mt.each(this,t)},map:function(t){return this.pushStack(mt.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(at.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ut,sort:rt.sort,splice:rt.splice},mt.extend=mt.fn.extend=function(){var t,e,r,i,o,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[u]||{},u++),"object"===("undefined"==typeof s?"undefined":n(s))||mt.isFunction(s)||(s={}),u===l&&(s=this,u--);u<l;u++)if(null!=(t=arguments[u]))for(e in t)r=s[e],i=t[e],s!==i&&(c&&i&&(mt.isPlainObject(i)||(o=mt.isArray(i)))?(o?(o=!1,a=r&&mt.isArray(r)?r:[]):a=r&&mt.isPlainObject(r)?r:{},s[e]=mt.extend(c,a,i)):void 0!==i&&(s[e]=i));return s},mt.extend({expando:"jQuery"+(gt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===mt.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var e=mt.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==ft.call(t))&&(!(e=ot(t))||(n=ht.call(e,"constructor")&&e.constructor,"function"==typeof n&&dt.call(n)===pt))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"===("undefined"==typeof t?"undefined":n(t))||"function"==typeof t?ct[ft.call(t)]||"object":"undefined"==typeof t?"undefined":n(t)},globalEval:function(t){s(t)},camelCase:function(t){return t.replace(bt,"ms-").replace(xt,_t)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var n,r=0;if(u(t))for(n=t.length;r<n&&e.call(t[r],r,t[r])!==!1;r++);else for(r in t)if(e.call(t[r],r,t[r])===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(yt,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(u(Object(t))?mt.merge(n,"string"==typeof t?[t]:t):ut.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:lt.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r,i=[],o=0,a=t.length,s=!n;o<a;o++)r=!e(t[o],o),r!==s&&i.push(t[o]);return i},map:function(t,e,n){var r,i,o=0,a=[];if(u(t))for(r=t.length;o<r;o++)i=e(t[o],o,n),null!=i&&a.push(i);else for(o in t)i=e(t[o],o,n),null!=i&&a.push(i);return st.apply([],a)},guid:1,proxy:function Ke(t,e){var n,r,Ke;if("string"==typeof e&&(n=t[e],e=t,t=n),mt.isFunction(t))return r=at.call(arguments,2),Ke=function(){return t.apply(e||this,r.concat(at.call(arguments)))},Ke.guid=t.guid=t.guid||mt.guid++,Ke},now:Date.now,support:vt}),"function"==typeof Symbol&&(mt.fn[Symbol.iterator]=rt[Symbol.iterator]),mt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){ct["[object "+e+"]"]=e.toLowerCase()});var wt=/*!
* Sizzle CSS Selector Engine v2.3.0
* https://sizzlejs.com/
*
@@ -25,27 +25,27 @@
*
* Date: 2016-01-04
*/
-function(t){function e(t,e,n,r){var i,o,a,s,u,l,c,h=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:H)!==N&&M(e),e=e||N,D)){if(11!==p&&(u=mt.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(h&&(a=h.getElementById(i))&&R(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return Q.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&w.getElementsByClassName&&e.getElementsByClassName)return Q.apply(n,e.getElementsByClassName(i)),n}if(w.qsa&&!W[t+" "]&&(!F||!F.test(t))){if(1!==p)h=e,c=t;else if("object"!==e.nodeName.toLowerCase()){for((s=e.getAttribute("id"))?s=s.replace(_t,wt):e.setAttribute("id",s=I),l=S(t),o=l.length;o--;)l[o]="#"+s+" "+d(l[o]);c=l.join(","),h=yt.test(t)&&f(e.parentNode)||e}if(c)try{return Q.apply(n,h.querySelectorAll(c)),n}catch(v){}finally{s===I&&e.removeAttribute("id")}}}return j(t.replace(st,"$1"),e,n,r)}function n(){function t(n,r){return e.push(n+" ")>C.cacheLength&&delete t[e.shift()],t[n+" "]=r}var e=[];return t}function r(t){return t[I]=!0,t}function i(t){var e=N.createElement("fieldset");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),r=n.length;r--;)C.attrHandle[n[r]]=e}function a(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function s(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function u(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function l(t){return function(e){return"label"in e&&e.disabled===t||"form"in e&&e.disabled===t||"form"in e&&e.disabled===!1&&(e.isDisabled===t||e.isDisabled!==!t&&("label"in e||!kt(e))!==t)}}function c(t){return r(function(e){return e=+e,r(function(n,r){for(var i,o=t([],n.length,e),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function f(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function h(){}function d(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function p(t,e,n){var r=e.dir,i=e.next,o=i||r,a=n&&"parentNode"===o,s=V++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||a)return t(e,n,i)}:function(e,n,u){var l,c,f,h=[q,s];if(u){for(;e=e[r];)if((1===e.nodeType||a)&&t(e,n,u))return!0}else for(;e=e[r];)if(1===e.nodeType||a)if(f=e[I]||(e[I]={}),c=f[e.uniqueID]||(f[e.uniqueID]={}),i&&i===e.nodeName.toLowerCase())e=e[r]||e;else{if((l=c[o])&&l[0]===q&&l[1]===s)return h[2]=l[2];if(c[o]=h,h[2]=t(e,n,u))return!0}}}function v(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function g(t,n,r){for(var i=0,o=n.length;i<o;i++)e(t,n[i],r);return r}function m(t,e,n,r,i){for(var o,a=[],s=0,u=t.length,l=null!=e;s<u;s++)(o=t[s])&&(n&&!n(o,r,i)||(a.push(o),l&&e.push(s)));return a}function y(t,e,n,i,o,a){return i&&!i[I]&&(i=y(i)),o&&!o[I]&&(o=y(o,a)),r(function(r,a,s,u){var l,c,f,h=[],d=[],p=a.length,v=r||g(e||"*",s.nodeType?[s]:s,[]),y=!t||!r&&e?v:m(v,h,t,s,u),b=n?o||(r?t:p||i)?[]:a:y;if(n&&n(y,b,s,u),i)for(l=m(b,d),i(l,[],s,u),c=l.length;c--;)(f=l[c])&&(b[d[c]]=!(y[d[c]]=f));if(r){if(o||t){if(o){for(l=[],c=b.length;c--;)(f=b[c])&&l.push(y[c]=f);o(null,b=[],l,u)}for(c=b.length;c--;)(f=b[c])&&(l=o?tt(r,f):h[c])>-1&&(r[l]=!(a[l]=f))}}else b=m(b===a?b.splice(p,b.length):b),o?o(null,a,b,u):Q.apply(a,b)})}function b(t){for(var e,n,r,i=t.length,o=C.relative[t[0].type],a=o||C.relative[" "],s=o?1:0,u=p(function(t){return t===e},a,!0),l=p(function(t){return tt(e,t)>-1},a,!0),c=[function(t,n,r){var i=!o&&(r||n!==E)||((e=n).nodeType?u(t,n,r):l(t,n,r));return e=null,i}];s<i;s++)if(n=C.relative[t[s].type])c=[p(v(c),n)];else{if(n=C.filter[t[s].type].apply(null,t[s].matches),n[I]){for(r=++s;r<i&&!C.relative[t[r].type];r++);return y(s>1&&v(c),s>1&&d(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(st,"$1"),n,s<r&&b(t.slice(s,r)),r<i&&b(t=t.slice(r)),r<i&&d(t))}c.push(n)}return v(c)}function x(t,n){var i=n.length>0,o=t.length>0,a=function(r,a,s,u,l){var c,f,h,d=0,p="0",v=r&&[],g=[],y=E,b=r||o&&C.find.TAG("*",l),x=q+=null==y?1:Math.random()||.1,_=b.length;for(l&&(E=a===N||a||l);p!==_&&null!=(c=b[p]);p++){if(o&&c){for(f=0,a||c.ownerDocument===N||(M(c),s=!D);h=t[f++];)if(h(c,a||N,s)){u.push(c);break}l&&(q=x)}i&&((c=!h&&c)&&d--,r&&v.push(c))}if(d+=p,i&&p!==d){for(f=0;h=n[f++];)h(v,g,a,s);if(r){if(d>0)for(;p--;)v[p]||g[p]||(g[p]=Z.call(u));g=m(g)}Q.apply(u,g),l&&!r&&g.length>0&&d+n.length>1&&e.uniqueSort(u)}return l&&(q=x,E=y),v};return i?r(a):a}var _,w,C,k,T,S,A,j,E,O,$,M,N,P,D,F,B,L,R,I="sizzle"+1*new Date,H=t.document,q=0,V=0,z=n(),U=n(),W=n(),X=function(t,e){return t===e&&($=!0),0},J={}.hasOwnProperty,G=[],Z=G.pop,Y=G.push,Q=G.push,K=G.slice,tt=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",rt="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",it="\\["+nt+"*("+rt+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+rt+"))|)"+nt+"*\\]",ot=":("+rt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+it+")*)|.*)\\)|)",at=new RegExp(nt+"+","g"),st=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),ut=new RegExp("^"+nt+"*,"+nt+"*"),lt=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),ct=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),ft=new RegExp(ot),ht=new RegExp("^"+rt+"$"),dt={ID:new RegExp("^#("+rt+")"),CLASS:new RegExp("^\\.("+rt+")"),TAG:new RegExp("^("+rt+"|[*])"),ATTR:new RegExp("^"+it),PSEUDO:new RegExp("^"+ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},pt=/^(?:input|select|textarea|button)$/i,vt=/^h\d$/i,gt=/^[^{]+\{\s*\[native \w/,mt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,bt=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),xt=function(t,e,n){var r="0x"+e-65536;return r!==r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},_t=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,wt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Ct=function(){M()},kt=p(function(t){return t.disabled===!0},{dir:"parentNode",next:"legend"});try{Q.apply(G=K.call(H.childNodes),H.childNodes),G[H.childNodes.length].nodeType}catch(Tt){Q={apply:G.length?function(t,e){Y.apply(t,K.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}w=e.support={},T=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},M=e.setDocument=function(t){var e,n,r=t?t.ownerDocument||t:H;return r!==N&&9===r.nodeType&&r.documentElement?(N=r,P=N.documentElement,D=!T(N),H!==N&&(n=N.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Ct,!1):n.attachEvent&&n.attachEvent("onunload",Ct)),w.attributes=i(function(t){return t.className="i",!t.getAttribute("className")}),w.getElementsByTagName=i(function(t){return t.appendChild(N.createComment("")),!t.getElementsByTagName("*").length}),w.getElementsByClassName=gt.test(N.getElementsByClassName),w.getById=i(function(t){return P.appendChild(t).id=I,!N.getElementsByName||!N.getElementsByName(I).length}),w.getById?(C.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&D){var n=e.getElementById(t);return n?[n]:[]}},C.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){return t.getAttribute("id")===e}}):(delete C.find.ID,C.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),C.find.TAG=w.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):w.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},C.find.CLASS=w.getElementsByClassName&&function(t,e){if("undefined"!=typeof e.getElementsByClassName&&D)return e.getElementsByClassName(t)},B=[],F=[],(w.qsa=gt.test(N.querySelectorAll))&&(i(function(t){P.appendChild(t).innerHTML="<a id='"+I+"'></a><select id='"+I+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&F.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||F.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+I+"-]").length||F.push("~="),t.querySelectorAll(":checked").length||F.push(":checked"),t.querySelectorAll("a#"+I+"+*").length||F.push(".#.+[+~]")}),i(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=N.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&F.push("name"+nt+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&F.push(":enabled",":disabled"),P.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&F.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),F.push(",.*:")})),(w.matchesSelector=gt.test(L=P.matches||P.webkitMatchesSelector||P.mozMatchesSelector||P.oMatchesSelector||P.msMatchesSelector))&&i(function(t){w.disconnectedMatch=L.call(t,"*"),L.call(t,"[s!='']:x"),B.push("!=",ot)}),F=F.length&&new RegExp(F.join("|")),B=B.length&&new RegExp(B.join("|")),e=gt.test(P.compareDocumentPosition),R=e||gt.test(P.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},X=e?function(t,e){if(t===e)return $=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!w.sortDetached&&e.compareDocumentPosition(t)===n?t===N||t.ownerDocument===H&&R(H,t)?-1:e===N||e.ownerDocument===H&&R(H,e)?1:O?tt(O,t)-tt(O,e):0:4&n?-1:1)}:function(t,e){if(t===e)return $=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,s=[t],u=[e];if(!i||!o)return t===N?-1:e===N?1:i?-1:o?1:O?tt(O,t)-tt(O,e):0;if(i===o)return a(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===H?-1:u[r]===H?1:0},N):N},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==N&&M(t),n=n.replace(ct,"='$1']"),w.matchesSelector&&D&&!W[n+" "]&&(!B||!B.test(n))&&(!F||!F.test(n)))try{var r=L.call(t,n);if(r||w.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(i){}return e(n,N,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==N&&M(t),R(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==N&&M(t);var n=C.attrHandle[e.toLowerCase()],r=n&&J.call(C.attrHandle,e.toLowerCase())?n(t,e,!D):void 0;return void 0!==r?r:w.attributes||!D?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},e.escape=function(t){return(t+"").replace(_t,wt)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],r=0,i=0;if($=!w.detectDuplicates,O=!w.sortStable&&t.slice(0),t.sort(X),$){for(;e=t[i++];)e===t[i]&&(r=n.push(i));for(;r--;)t.splice(n[r],1)}return O=null,t},k=e.getText=function(t){var e,n="",r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=k(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=k(e);return n},C=e.selectors={cacheLength:50,createPseudo:r,match:dt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,xt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return dt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ft.test(n)&&(e=S(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=z[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&z(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(i){var o=e.attr(i,t);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(at," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,u){var l,c,f,h,d,p,v=o!==a?"nextSibling":"previousSibling",g=e.parentNode,m=s&&e.nodeName.toLowerCase(),y=!u&&!s,b=!1;if(g){if(o){for(;v;){for(h=e;h=h[v];)if(s?h.nodeName.toLowerCase()===m:1===h.nodeType)return!1;p=v="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&y){for(h=g,f=h[I]||(h[I]={}),c=f[h.uniqueID]||(f[h.uniqueID]={}),l=c[t]||[],d=l[0]===q&&l[1],b=d&&l[2],h=d&&g.childNodes[d];h=++d&&h&&h[v]||(b=d=0)||p.pop();)if(1===h.nodeType&&++b&&h===e){c[t]=[q,d,b];break}}else if(y&&(h=e,f=h[I]||(h[I]={}),c=f[h.uniqueID]||(f[h.uniqueID]={}),l=c[t]||[],d=l[0]===q&&l[1],b=d),b===!1)for(;(h=++d&&h&&h[v]||(b=d=0)||p.pop())&&((s?h.nodeName.toLowerCase()!==m:1!==h.nodeType)||!++b||(y&&(f=h[I]||(h[I]={}),c=f[h.uniqueID]||(f[h.uniqueID]={}),c[t]=[q,b]),h!==e)););return b-=i,b===r||b%r===0&&b/r>=0}}},PSEUDO:function(t,n){var i,o=C.pseudos[t]||C.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[I]?o(n):o.length>1?(i=[t,t,"",n],C.setFilters.hasOwnProperty(t.toLowerCase())?r(function(t,e){for(var r,i=o(t,n),a=i.length;a--;)r=tt(t,i[a]),t[r]=!(e[r]=i[a])}):function(t){return o(t,0,i)}):o}},pseudos:{not:r(function(t){var e=[],n=[],i=A(t.replace(st,"$1"));return i[I]?r(function(t,e,n,r){for(var o,a=i(t,null,r,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}}),has:r(function(t){return function(n){return e(t,n).length>0}}),contains:r(function(t){return t=t.replace(bt,xt),function(e){return(e.textContent||e.innerText||k(e)).indexOf(t)>-1}}),lang:r(function(t){return ht.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(bt,xt).toLowerCase(),function(e){var n;do if(n=D?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===P},focus:function(t){return t===N.activeElement&&(!N.hasFocus||N.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:l(!1),disabled:l(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!C.pseudos.empty(t)},header:function(t){return vt.test(t.nodeName)},input:function(t){return pt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:c(function(){return[0]}),last:c(function(t,e){return[e-1]}),eq:c(function(t,e,n){return[n<0?n+e:n]}),even:c(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:c(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:c(function(t,e,n){for(var r=n<0?n+e:n;--r>=0;)t.push(r);return t}),gt:c(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}},C.pseudos.nth=C.pseudos.eq;for(_ in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[_]=s(_);for(_ in{submit:!0,reset:!0})C.pseudos[_]=u(_);return h.prototype=C.filters=C.pseudos,C.setFilters=new h,S=e.tokenize=function(t,n){var r,i,o,a,s,u,l,c=U[t+" "];if(c)return n?0:c.slice(0);for(s=t,u=[],l=C.preFilter;s;){r&&!(i=ut.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=lt.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(st," ")}),s=s.slice(r.length));for(a in C.filter)!(i=dt[a].exec(s))||l[a]&&!(i=l[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?e.error(t):U(t,u).slice(0)},A=e.compile=function(t,e){var n,r=[],i=[],o=W[t+" "];if(!o){for(e||(e=S(t)),n=e.length;n--;)o=b(e[n]),o[I]?r.push(o):i.push(o);o=W(t,x(i,r)),o.selector=t}return o},j=e.select=function(t,e,n,r){var i,o,a,s,u,l="function"==typeof t&&t,c=!r&&S(t=l.selector||t);if(n=n||[],1===c.length){if(o=c[0]=c[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&w.getById&&9===e.nodeType&&D&&C.relative[o[1].type]){if(e=(C.find.ID(a.matches[0].replace(bt,xt),e)||[])[0],!e)return n;l&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(i=dt.needsContext.test(t)?0:o.length;i--&&(a=o[i],!C.relative[s=a.type]);)if((u=C.find[s])&&(r=u(a.matches[0].replace(bt,xt),yt.test(o[0].type)&&f(e.parentNode)||e))){if(o.splice(i,1),t=r.length&&d(o),!t)return Q.apply(n,r),n;break}}return(l||A(t,c))(r,e,!D,n,!e||yt.test(t)&&f(e.parentNode)||e),n},w.sortStable=I.split("").sort(X).join("")===I,w.detectDuplicates=!!$,M(),w.sortDetached=i(function(t){return 1&t.compareDocumentPosition(N.createElement("fieldset"))}),i(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),w.attributes&&i(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),i(function(t){return null==t.getAttribute("disabled")})||o(et,function(t,e,n){var r;if(!n)return t[e]===!0?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),e}(o);mt.find=wt,mt.expr=wt.selectors,mt.expr[":"]=mt.expr.pseudos,mt.uniqueSort=mt.unique=wt.uniqueSort,mt.text=wt.getText,mt.isXMLDoc=wt.isXML,mt.contains=wt.contains,mt.escapeSelector=wt.escape;var Ct=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&mt(t).is(n))break;r.push(t)}return r},kt=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},Tt=mt.expr.match.needsContext,St=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,At=/^.[^:#\[\.,]*$/;mt.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?mt.find.matchesSelector(r,t)?[r]:[]:mt.find.matches(t,mt.grep(e,function(t){return 1===t.nodeType}))},mt.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(mt(t).filter(function(){for(e=0;e<r;e++)if(mt.contains(i[e],this))return!0}));for(n=this.pushStack([]),e=0;e<r;e++)mt.find(t,i[e],n);return r>1?mt.uniqueSort(n):n},filter:function(t){return this.pushStack(l(this,t||[],!1))},not:function(t){return this.pushStack(l(this,t||[],!0))},is:function(t){return!!l(this,"string"==typeof t&&Tt.test(t)?mt(t):t||[],!1).length}});var jt,Et=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Ot=mt.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||jt,"string"==typeof t){if(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Et.exec(t),!r||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof mt?e[0]:e,mt.merge(this,mt.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:it,!0)),St.test(r[1])&&mt.isPlainObject(e))for(r in e)mt.isFunction(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return i=it.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):mt.isFunction(t)?void 0!==n.ready?n.ready(t):t(mt):mt.makeArray(t,this)};Ot.prototype=mt.fn,jt=mt(it);var $t=/^(?:parents|prev(?:Until|All))/,Mt={children:!0,contents:!0,next:!0,prev:!0};mt.fn.extend({has:function(t){var e=mt(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(mt.contains(this,e[t]))return!0})},closest:function(t,e){var n,r=0,i=this.length,o=[],a="string"!=typeof t&&mt(t);if(!Tt.test(t))for(;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&mt.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?mt.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?lt.call(mt(t),this[0]):lt.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(mt.uniqueSort(mt.merge(this.get(),mt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),mt.each({parent:function tn(t){var tn=t.parentNode;return tn&&11!==tn.nodeType?tn:null},parents:function(t){return Ct(t,"parentNode")},parentsUntil:function(t,e,n){return Ct(t,"parentNode",n)},next:function(t){return c(t,"nextSibling")},prev:function(t){return c(t,"previousSibling")},nextAll:function(t){return Ct(t,"nextSibling")},prevAll:function(t){return Ct(t,"previousSibling")},nextUntil:function(t,e,n){return Ct(t,"nextSibling",n)},prevUntil:function(t,e,n){return Ct(t,"previousSibling",n)},siblings:function(t){return kt((t.parentNode||{}).firstChild,t)},children:function(t){return kt(t.firstChild)},contents:function(t){return t.contentDocument||mt.merge([],t.childNodes)}},function(t,e){mt.fn[t]=function(n,r){var i=mt.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=mt.filter(r,i)),this.length>1&&(Mt[t]||mt.uniqueSort(i),$t.test(t)&&i.reverse()),this.pushStack(i)}});var Nt=/\S+/g;mt.Callbacks=function(t){t="string"==typeof t?f(t):mt.extend({},t);var e,n,r,i,o=[],a=[],s=-1,u=function(){for(i=t.once,r=e=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)o[s].apply(n[0],n[1])===!1&&t.stopOnFalse&&(s=o.length,n=!1);t.memory||(n=!1),e=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!e&&(s=o.length-1,a.push(n)),function r(e){mt.each(e,function(e,n){mt.isFunction(n)?t.unique&&l.has(n)||o.push(n):n&&n.length&&"string"!==mt.type(n)&&r(n)})}(arguments),n&&!e&&u()),this},remove:function(){return mt.each(arguments,function(t,e){for(var n;(n=mt.inArray(e,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(t){return t?mt.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||e||(o=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=n||[],n=[t,n.slice?n.slice():n],a.push(n),e||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},mt.extend({Deferred:function(t){var e=[["notify","progress",mt.Callbacks("memory"),mt.Callbacks("memory"),2],["resolve","done",mt.Callbacks("once memory"),mt.Callbacks("once memory"),0,"resolved"],["reject","fail",mt.Callbacks("once memory"),mt.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},"catch":function(t){return i.then(null,t)},pipe:function(){var t=arguments;return mt.Deferred(function(n){mt.each(e,function(e,r){var i=mt.isFunction(t[r[4]])&&t[r[4]];a[r[1]](function(){var t=i&&i.apply(this,arguments);t&&mt.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){function a(t,e,r,i){return function(){var u=this,l=arguments,c=function(){var o,c;if(!(t<s)){if(o=r.apply(u,l),o===e.promise())throw new TypeError("Thenable self-resolution");c=o&&("object"===("undefined"==typeof o?"undefined":n(o))||"function"==typeof o)&&o.then,mt.isFunction(c)?i?c.call(o,a(s,e,h,i),a(s,e,d,i)):(s++,c.call(o,a(s,e,h,i),a(s,e,d,i),a(s,e,h,e.notifyWith))):(r!==h&&(u=void 0,l=[o]),(i||e.resolveWith)(u,l))}},f=i?c:function(){try{c()}catch(n){mt.Deferred.exceptionHook&&mt.Deferred.exceptionHook(n,f.stackTrace),t+1>=s&&(r!==d&&(u=void 0,l=[n]),e.rejectWith(u,l))}};t?f():(mt.Deferred.getStackHook&&(f.stackTrace=mt.Deferred.getStackHook()),o.setTimeout(f))}}var s=0;return mt.Deferred(function(n){e[0][3].add(a(0,n,mt.isFunction(i)?i:h,n.notifyWith)),e[1][3].add(a(0,n,mt.isFunction(t)?t:h)),e[2][3].add(a(0,n,mt.isFunction(r)?r:d))}).promise()},promise:function(t){return null!=t?mt.extend(t,i):i}},a={};return mt.each(e,function(t,n){var o=n[2],s=n[5];i[n[1]]=o.add,s&&o.add(function(){r=s},e[3-t][2].disable,e[0][2].lock),o.add(n[3].fire),a[n[0]]=function(){return a[n[0]+"With"](this===a?void 0:this,arguments),this},a[n[0]+"With"]=o.fireWith}),i.promise(a),t&&t.call(a,a),a},when:function(t){var e=arguments.length,n=e,r=Array(n),i=at.call(arguments),o=mt.Deferred(),a=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?at.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(p(t,o.done(a(n)).resolve,o.reject),"pending"===o.state()||mt.isFunction(i[n]&&i[n].then)))return o.then();for(;n--;)p(i[n],a(n),o.reject);return o.promise()}});var Pt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;mt.Deferred.exceptionHook=function(t,e){o.console&&o.console.warn&&t&&Pt.test(t.name)&&o.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},mt.readyException=function(t){o.setTimeout(function(){throw t})};var Dt=mt.Deferred();mt.fn.ready=function(t){return Dt.then(t)["catch"](function(t){mt.readyException(t)}),this},mt.extend({isReady:!1,readyWait:1,holdReady:function(t){t?mt.readyWait++:mt.ready(!0)},ready:function(t){(t===!0?--mt.readyWait:mt.isReady)||(mt.isReady=!0,t!==!0&&--mt.readyWait>0||Dt.resolveWith(it,[mt]))}}),mt.ready.then=Dt.then,"complete"===it.readyState||"loading"!==it.readyState&&!it.documentElement.doScroll?o.setTimeout(mt.ready):(it.addEventListener("DOMContentLoaded",v),o.addEventListener("load",v));var Ft=function en(t,e,n,r,i,o,a){var s=0,u=t.length,l=null==n;if("object"===mt.type(n)){i=!0;for(s in n)en(t,e,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,mt.isFunction(r)||(a=!0),l&&(a?(e.call(t,r),e=null):(l=e,e=function(t,e,n){return l.call(mt(t),n)})),e))for(;s<u;s++)e(t[s],n,a?r:r.call(t[s],s,e(t[s],n)));return i?t:l?e.call(t):u?e(t[0],n):o},Bt=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};g.uid=1,g.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Bt(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[mt.camelCase(e)]=n;else for(r in e)i[mt.camelCase(r)]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][mt.camelCase(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){mt.isArray(e)?e=e.map(mt.camelCase):(e=mt.camelCase(e),e=e in r?[e]:e.match(Nt)||[]),n=e.length;for(;n--;)delete r[e[n]]}(void 0===e||mt.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!mt.isEmptyObject(e)}};var Lt=new g,Rt=new g,It=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ht=/[A-Z]/g;mt.extend({hasData:function(t){return Rt.hasData(t)||Lt.hasData(t)},data:function(t,e,n){return Rt.access(t,e,n)},removeData:function(t,e){Rt.remove(t,e)},_data:function(t,e,n){return Lt.access(t,e,n)},_removeData:function(t,e){Lt.remove(t,e)}}),mt.fn.extend({data:function nn(t,e){var r,i,nn,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(nn=Rt.get(o),1===o.nodeType&&!Lt.get(o,"hasDataAttrs"))){for(r=a.length;r--;)a[r]&&(i=a[r].name,0===i.indexOf("data-")&&(i=mt.camelCase(i.slice(5)),m(o,i,nn[i])));Lt.set(o,"hasDataAttrs",!0)}return nn}return"object"===("undefined"==typeof t?"undefined":n(t))?this.each(function(){Rt.set(this,t)}):Ft(this,function(e){var n;if(o&&void 0===e){if(n=Rt.get(o,t),void 0!==n)return n;if(n=m(o,t),void 0!==n)return n}else this.each(function(){Rt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Rt.remove(this,t)})}}),mt.extend({queue:function rn(t,e,n){var rn;if(t)return e=(e||"fx")+"queue",rn=Lt.get(t,e),n&&(!rn||mt.isArray(n)?rn=Lt.access(t,e,mt.makeArray(n)):rn.push(n)),rn||[]},dequeue:function(t,e){e=e||"fx";var n=mt.queue(t,e),r=n.length,i=n.shift(),o=mt._queueHooks(t,e),a=function(){mt.dequeue(t,e)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Lt.get(t,n)||Lt.access(t,n,{empty:mt.Callbacks("once memory").add(function(){Lt.remove(t,[e+"queue",n])})})}}),mt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?mt.queue(this[0],t):void 0===e?this:this.each(function(){var n=mt.queue(this,t,e);mt._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&mt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){mt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=mt.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)n=Lt.get(o[a],t+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(e)}});var qt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Vt=new RegExp("^(?:([+-])=|)("+qt+")([a-z%]*)$","i"),zt=["Top","Right","Bottom","Left"],Ut=function(t,e){return t=e||t,"none"===t.style.display||""===t.style.display&&mt.contains(t.ownerDocument,t)&&"none"===mt.css(t,"display")},Wt=function(t,e,n,r){var i,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];i=n.apply(t,r||[]);for(o in e)t.style[o]=a[o];return i},Xt={};mt.fn.extend({show:function(){return x(this,!0)},hide:function(){return x(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Ut(this)?mt(this).show():mt(this).hide()})}});var Jt=/^(?:checkbox|radio)$/i,Gt=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Zt=/^$|\/(?:java|ecma)script/i,Yt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Yt.optgroup=Yt.option,Yt.tbody=Yt.tfoot=Yt.colgroup=Yt.caption=Yt.thead,Yt.th=Yt.td;var Qt=/<|&#?\w+;/;!function(){var t=it.createDocumentFragment(),e=t.appendChild(it.createElement("div")),n=it.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),vt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,
-e.innerHTML="<textarea>x</textarea>",vt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Kt=it.documentElement,te=/^key/,ee=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ne=/^([^.]*)(?:\.(.+)|)/;mt.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,h,d,p,v,g=Lt.get(t);if(g)for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&mt.find.matchesSelector(Kt,i),n.guid||(n.guid=mt.guid++),(u=g.events)||(u=g.events={}),(a=g.handle)||(a=g.handle=function(e){return"undefined"!=typeof mt&&mt.event.triggered!==e.type?mt.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Nt)||[""],l=e.length;l--;)s=ne.exec(e[l])||[],d=v=s[1],p=(s[2]||"").split(".").sort(),d&&(f=mt.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=mt.event.special[d]||{},c=mt.extend({type:d,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&mt.expr.match.needsContext.test(i),namespace:p.join(".")},o),(h=u[d])||(h=u[d]=[],h.delegateCount=0,f.setup&&f.setup.call(t,r,p,a)!==!1||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,c):h.push(c),mt.event.global[d]=!0)},remove:function(t,e,n,r,i){var o,a,s,u,l,c,f,h,d,p,v,g=Lt.hasData(t)&&Lt.get(t);if(g&&(u=g.events)){for(e=(e||"").match(Nt)||[""],l=e.length;l--;)if(s=ne.exec(e[l])||[],d=v=s[1],p=(s[2]||"").split(".").sort(),d){for(f=mt.event.special[d]||{},d=(r?f.delegateType:f.bindType)||d,h=u[d]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)c=h[o],!i&&v!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(h.splice(o,1),c.selector&&h.delegateCount--,f.remove&&f.remove.call(t,c));a&&!h.length&&(f.teardown&&f.teardown.call(t,p,g.handle)!==!1||mt.removeEvent(t,d,g.handle),delete u[d])}else for(d in u)mt.event.remove(t,d+e[l],n,r,!0);mt.isEmptyObject(u)&&Lt.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,a,s=mt.event.fix(t),u=new Array(arguments.length),l=(Lt.get(this,"events")||{})[s.type]||[],c=mt.event.special[s.type]||{};for(u[0]=s,e=1;e<arguments.length;e++)u[e]=arguments[e];if(s.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,s)!==!1){for(a=mt.event.handlers.call(this,s,l),e=0;(i=a[e++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,r=((mt.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u),void 0!==r&&(s.result=r)===!1&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(t,e){var n,r,i,o,a=[],s=e.delegateCount,u=t.target;if(s&&u.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==t.type)){for(r=[],n=0;n<s;n++)o=e[n],i=o.selector+" ",void 0===r[i]&&(r[i]=o.needsContext?mt(i,this).index(u)>-1:mt.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&a.push({elem:u,handlers:r})}return s<e.length&&a.push({elem:this,handlers:e.slice(s)}),a},addProp:function(t,e){Object.defineProperty(mt.Event.prototype,t,{enumerable:!0,configurable:!0,get:mt.isFunction(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[mt.expando]?t:new mt.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==S()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===S()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&mt.nodeName(this,"input"))return this.click(),!1},_default:function(t){return mt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},mt.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},mt.Event=function(t,e){return this instanceof mt.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?k:T,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&mt.extend(this,e),this.timeStamp=t&&t.timeStamp||mt.now(),void(this[mt.expando]=!0)):new mt.Event(t,e)},mt.Event.prototype={constructor:mt.Event,isDefaultPrevented:T,isPropagationStopped:T,isImmediatePropagationStopped:T,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=k,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=k,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=k,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},mt.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&te.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&ee.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},mt.event.addProp),mt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){mt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=this,i=t.relatedTarget,o=t.handleObj;return i&&(i===r||mt.contains(r,i))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),mt.fn.extend({on:function(t,e,n,r){return A(this,t,e,n,r)},one:function(t,e,n,r){return A(this,t,e,n,r,1)},off:function(t,e,r){var i,o;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,mt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"===("undefined"==typeof t?"undefined":n(t))){for(o in t)this.off(o,e,t[o]);return this}return e!==!1&&"function"!=typeof e||(r=e,e=void 0),r===!1&&(r=T),this.each(function(){mt.event.remove(this,t,r,e)})}});var re=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ie=/<script|<style|<link/i,oe=/checked\s*(?:[^=]|=\s*.checked.)/i,ae=/^true\/(.*)/,se=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;mt.extend({htmlPrefilter:function(t){return t.replace(re,"<$1></$2>")},clone:function on(t,e,n){var r,i,o,a,on=t.cloneNode(!0),s=mt.contains(t.ownerDocument,t);if(!(vt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||mt.isXMLDoc(t)))for(a=_(on),o=_(t),r=0,i=o.length;r<i;r++)M(o[r],a[r]);if(e)if(n)for(o=o||_(t),a=a||_(on),r=0,i=o.length;r<i;r++)$(o[r],a[r]);else $(t,on);return a=_(on,"script"),a.length>0&&w(a,!s&&_(t,"script")),on},cleanData:function(t){for(var e,n,r,i=mt.event.special,o=0;void 0!==(n=t[o]);o++)if(Bt(n)){if(e=n[Lt.expando]){if(e.events)for(r in e.events)i[r]?mt.event.remove(n,r):mt.removeEvent(n,r,e.handle);n[Lt.expando]=void 0}n[Rt.expando]&&(n[Rt.expando]=void 0)}}}),mt.fn.extend({detach:function(t){return P(this,t,!0)},remove:function(t){return P(this,t)},text:function(t){return Ft(this,function(t){return void 0===t?mt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return N(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=j(this,t);e.appendChild(t)}})},prepend:function(){return N(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=j(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return N(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return N(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(mt.cleanData(_(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return mt.clone(this,t,e)})},html:function(t){return Ft(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!ie.test(t)&&!Yt[(Gt.exec(t)||["",""])[1].toLowerCase()]){t=mt.htmlPrefilter(t);try{for(;n<r;n++)e=this[n]||{},1===e.nodeType&&(mt.cleanData(_(e,!1)),e.innerHTML=t);e=0}catch(i){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return N(this,arguments,function(e){var n=this.parentNode;mt.inArray(this,t)<0&&(mt.cleanData(_(this)),n&&n.replaceChild(e,this))},t)}}),mt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){mt.fn[t]=function(t){for(var n,r=[],i=mt(t),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),mt(i[a])[e](n),ut.apply(r,n.get());return this.pushStack(r)}});var ue=/^margin/,le=new RegExp("^("+qt+")(?!px)[a-z%]+$","i"),ce=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=o),e.getComputedStyle(t)};!function(){function t(){if(s){s.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",Kt.appendChild(a);var t=o.getComputedStyle(s);e="1%"!==t.top,i="2px"===t.marginLeft,n="4px"===t.width,s.style.marginRight="50%",r="4px"===t.marginRight,Kt.removeChild(a),s=null}}var e,n,r,i,a=it.createElement("div"),s=it.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",vt.clearCloneStyle="content-box"===s.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(s),mt.extend(vt,{pixelPosition:function(){return t(),e},boxSizingReliable:function(){return t(),n},pixelMarginRight:function(){return t(),r},reliableMarginLeft:function(){return t(),i}}))}();var fe=/^(none|table(?!-c[ea]).+)/,he={position:"absolute",visibility:"hidden",display:"block"},de={letterSpacing:"0",fontWeight:"400"},pe=["Webkit","Moz","ms"],ve=it.createElement("div").style;mt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=D(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function an(t,e,r,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,a,s,u=mt.camelCase(e),an=t.style;return e=mt.cssProps[u]||(mt.cssProps[u]=B(u)||u),s=mt.cssHooks[e]||mt.cssHooks[u],void 0===r?s&&"get"in s&&void 0!==(o=s.get(t,!1,i))?o:an[e]:(a="undefined"==typeof r?"undefined":n(r),"string"===a&&(o=Vt.exec(r))&&o[1]&&(r=y(t,e,o),a="number"),null!=r&&r===r&&("number"===a&&(r+=o&&o[3]||(mt.cssNumber[u]?"":"px")),vt.clearCloneStyle||""!==r||0!==e.indexOf("background")||(an[e]="inherit"),s&&"set"in s&&void 0===(r=s.set(t,r,i))||(an[e]=r)),void 0)}},css:function(t,e,n,r){var i,o,a,s=mt.camelCase(e);return e=mt.cssProps[s]||(mt.cssProps[s]=B(s)||s),a=mt.cssHooks[e]||mt.cssHooks[s],a&&"get"in a&&(i=a.get(t,!0,n)),void 0===i&&(i=D(t,e,r)),"normal"===i&&e in de&&(i=de[e]),""===n||n?(o=parseFloat(i),n===!0||isFinite(o)?o||0:i):i}}),mt.each(["height","width"],function(t,e){mt.cssHooks[e]={get:function(t,n,r){if(n)return!fe.test(mt.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?I(t,e,r):Wt(t,he,function(){return I(t,e,r)})},set:function(t,n,r){var i,o=r&&ce(t),a=r&&R(t,e,r,"border-box"===mt.css(t,"boxSizing",!1,o),o);return a&&(i=Vt.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=mt.css(t,e)),L(t,n,a)}}}),mt.cssHooks.marginLeft=F(vt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(D(t,"marginLeft"))||t.getBoundingClientRect().left-Wt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),mt.each({margin:"",padding:"",border:"Width"},function(t,e){mt.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+zt[r]+e]=o[r]||o[r-2]||o[0];return i}},ue.test(t)||(mt.cssHooks[t+e].set=L)}),mt.fn.extend({css:function(t,e){return Ft(this,function(t,e,n){var r,i,o={},a=0;if(mt.isArray(e)){for(r=ce(t),i=e.length;a<i;a++)o[e[a]]=mt.css(t,e[a],!1,r);return o}return void 0!==n?mt.style(t,e,n):mt.css(t,e)},t,e,arguments.length>1)}}),mt.Tween=H,H.prototype={constructor:H,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||mt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(mt.cssNumber[n]?"":"px")},cur:function(){var t=H.propHooks[this.prop];return t&&t.get?t.get(this):H.propHooks._default.get(this)},run:function(t){var e,n=H.propHooks[this.prop];return this.options.duration?this.pos=e=mt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):H.propHooks._default.set(this),this}},H.prototype.init.prototype=H.prototype,H.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=mt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){mt.fx.step[t.prop]?mt.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[mt.cssProps[t.prop]]&&!mt.cssHooks[t.prop]?t.elem[t.prop]=t.now:mt.style(t.elem,t.prop,t.now+t.unit)}}},H.propHooks.scrollTop=H.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},mt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},mt.fx=H.prototype.init,mt.fx.step={};var ge,me,ye=/^(?:toggle|show|hide)$/,be=/queueHooks$/;mt.Animation=mt.extend(J,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return y(n.elem,t,Vt.exec(e),n),n}]},tweener:function(t,e){mt.isFunction(t)?(e=t,t=["*"]):t=t.match(Nt);for(var n,r=0,i=t.length;r<i;r++)n=t[r],J.tweeners[n]=J.tweeners[n]||[],J.tweeners[n].unshift(e)},prefilters:[W],prefilter:function(t,e){e?J.prefilters.unshift(t):J.prefilters.push(t)}}),mt.speed=function(t,e,r){var i=t&&"object"===("undefined"==typeof t?"undefined":n(t))?mt.extend({},t):{complete:r||!r&&e||mt.isFunction(t)&&t,duration:t,easing:r&&e||e&&!mt.isFunction(e)&&e};return mt.fx.off||it.hidden?i.duration=0:i.duration="number"==typeof i.duration?i.duration:i.duration in mt.fx.speeds?mt.fx.speeds[i.duration]:mt.fx.speeds._default,null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(){mt.isFunction(i.old)&&i.old.call(this),i.queue&&mt.dequeue(this,i.queue)},i},mt.fn.extend({fadeTo:function(t,e,n,r){return this.filter(Ut).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=mt.isEmptyObject(t),o=mt.speed(e,n,r),a=function(){var e=J(this,mt.extend({},t),o);(i||Lt.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",o=mt.timers,a=Lt.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&be.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||mt.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=Lt.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=mt.timers,a=r?r.length:0;for(n.finish=!0,mt.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),mt.each(["toggle","show","hide"],function(t,e){var n=mt.fn[e];mt.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(z(e,!0),t,r,i)}}),mt.each({slideDown:z("show"),slideUp:z("hide"),slideToggle:z("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){mt.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),mt.timers=[],mt.fx.tick=function(){var t,e=0,n=mt.timers;for(ge=mt.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||mt.fx.stop(),ge=void 0},mt.fx.timer=function(t){mt.timers.push(t),t()?mt.fx.start():mt.timers.pop()},mt.fx.interval=13,mt.fx.start=function(){me||(me=o.requestAnimationFrame?o.requestAnimationFrame(q):o.setInterval(mt.fx.tick,mt.fx.interval))},mt.fx.stop=function(){o.cancelAnimationFrame?o.cancelAnimationFrame(me):o.clearInterval(me),me=null},mt.fx.speeds={slow:600,fast:200,_default:400},mt.fn.delay=function(t,e){return t=mt.fx?mt.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,n){var r=o.setTimeout(e,t);n.stop=function(){o.clearTimeout(r)}})},function(){var t=it.createElement("input"),e=it.createElement("select"),n=e.appendChild(it.createElement("option"));t.type="checkbox",vt.checkOn=""!==t.value,vt.optSelected=n.selected,t=it.createElement("input"),t.value="t",t.type="radio",vt.radioValue="t"===t.value}();var xe,_e=mt.expr.attrHandle;mt.fn.extend({attr:function(t,e){return Ft(this,mt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){mt.removeAttr(this,t)})}}),mt.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof t.getAttribute?mt.prop(t,e,n):(1===o&&mt.isXMLDoc(t)||(i=mt.attrHooks[e.toLowerCase()]||(mt.expr.match.bool.test(e)?xe:void 0)),void 0!==n?null===n?void mt.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:(r=mt.find.attr(t,e),null==r?void 0:r))},attrHooks:{type:{set:function(t,e){if(!vt.radioValue&&"radio"===e&&mt.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(Nt);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),xe={set:function(t,e,n){return e===!1?mt.removeAttr(t,n):t.setAttribute(n,n),n}},mt.each(mt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=_e[e]||mt.find.attr;_e[e]=function(t,e,r){var i,o,a=e.toLowerCase();return r||(o=_e[a],_e[a]=i,i=null!=n(t,e,r)?a:null,_e[a]=o),i}});var we=/^(?:input|select|textarea|button)$/i,Ce=/^(?:a|area)$/i;mt.fn.extend({prop:function(t,e){return Ft(this,mt.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[mt.propFix[t]||t]})}}),mt.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&mt.isXMLDoc(t)||(e=mt.propFix[e]||e,i=mt.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=mt.find.attr(t,"tabindex");return e?parseInt(e,10):we.test(t.nodeName)||Ce.test(t.nodeName)&&t.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),vt.optSelected||(mt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),mt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){mt.propFix[this.toLowerCase()]=this});var ke=/[\t\r\n\f]/g;mt.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,u=0;if(mt.isFunction(t))return this.each(function(e){mt(this).addClass(t.call(this,e,G(this)))});if("string"==typeof t&&t)for(e=t.match(Nt)||[];n=this[u++];)if(i=G(n),r=1===n.nodeType&&(" "+i+" ").replace(ke," ")){for(a=0;o=e[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=mt.trim(r),i!==s&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,a,s,u=0;if(mt.isFunction(t))return this.each(function(e){mt(this).removeClass(t.call(this,e,G(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(Nt)||[];n=this[u++];)if(i=G(n),r=1===n.nodeType&&(" "+i+" ").replace(ke," ")){for(a=0;o=e[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=mt.trim(r),i!==s&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var r="undefined"==typeof t?"undefined":n(t);return"boolean"==typeof e&&"string"===r?e?this.addClass(t):this.removeClass(t):mt.isFunction(t)?this.each(function(n){mt(this).toggleClass(t.call(this,n,G(this),e),e)}):this.each(function(){var e,n,i,o;if("string"===r)for(n=0,i=mt(this),o=t.match(Nt)||[];e=o[n++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else void 0!==t&&"boolean"!==r||(e=G(this),e&&Lt.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||t===!1?"":Lt.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+G(n)+" ").replace(ke," ").indexOf(e)>-1)return!0;return!1}});var Te=/\r/g,Se=/[\x20\t\r\n\f]+/g;mt.fn.extend({val:function(t){var e,n,r,i=this[0];{if(arguments.length)return r=mt.isFunction(t),this.each(function(n){var i;1===this.nodeType&&(i=r?t.call(this,n,mt(this).val()):t,null==i?i="":"number"==typeof i?i+="":mt.isArray(i)&&(i=mt.map(i,function(t){return null==t?"":t+""})),e=mt.valHooks[this.type]||mt.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))});if(i)return e=mt.valHooks[i.type]||mt.valHooks[i.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(Te,""):null==n?"":n)}}}),mt.extend({valHooks:{option:{get:function(t){var e=mt.find.attr(t,"value");return null!=e?e:mt.trim(mt.text(t)).replace(Se," ")}},select:{get:function(t){for(var e,n,r=t.options,i=t.selectedIndex,o="select-one"===t.type,a=o?null:[],s=o?i+1:r.length,u=i<0?s:o?i:0;u<s;u++)if(n=r[u],(n.selected||u===i)&&!n.disabled&&(!n.parentNode.disabled||!mt.nodeName(n.parentNode,"optgroup"))){if(e=mt(n).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var n,r,i=t.options,o=mt.makeArray(e),a=i.length;a--;)r=i[a],(r.selected=mt.inArray(mt.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),mt.each(["radio","checkbox"],function(){mt.valHooks[this]={set:function(t,e){if(mt.isArray(e))return t.checked=mt.inArray(mt(t).val(),e)>-1}},vt.checkOn||(mt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Ae=/^(?:focusinfocus|focusoutblur)$/;mt.extend(mt.event,{trigger:function(t,e,r,i){var a,s,u,l,c,f,h,d=[r||it],p=ht.call(t,"type")?t.type:t,v=ht.call(t,"namespace")?t.namespace.split("."):[];if(s=u=r=r||it,3!==r.nodeType&&8!==r.nodeType&&!Ae.test(p+mt.event.triggered)&&(p.indexOf(".")>-1&&(v=p.split("."),p=v.shift(),v.sort()),c=p.indexOf(":")<0&&"on"+p,t=t[mt.expando]?t:new mt.Event(p,"object"===("undefined"==typeof t?"undefined":n(t))&&t),t.isTrigger=i?2:3,t.namespace=v.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:mt.makeArray(e,[t]),h=mt.event.special[p]||{},i||!h.trigger||h.trigger.apply(r,e)!==!1)){if(!i&&!h.noBubble&&!mt.isWindow(r)){for(l=h.delegateType||p,Ae.test(l+p)||(s=s.parentNode);s;s=s.parentNode)d.push(s),u=s;u===(r.ownerDocument||it)&&d.push(u.defaultView||u.parentWindow||o)}for(a=0;(s=d[a++])&&!t.isPropagationStopped();)t.type=a>1?l:h.bindType||p,f=(Lt.get(s,"events")||{})[t.type]&&Lt.get(s,"handle"),f&&f.apply(s,e),f=c&&s[c],f&&f.apply&&Bt(s)&&(t.result=f.apply(s,e),t.result===!1&&t.preventDefault());return t.type=p,i||t.isDefaultPrevented()||h._default&&h._default.apply(d.pop(),e)!==!1||!Bt(r)||c&&mt.isFunction(r[p])&&!mt.isWindow(r)&&(u=r[c],u&&(r[c]=null),mt.event.triggered=p,r[p](),mt.event.triggered=void 0,u&&(r[c]=u)),t.result}},simulate:function(t,e,n){var r=mt.extend(new mt.Event,n,{type:t,isSimulated:!0});mt.event.trigger(r,null,e)}}),mt.fn.extend({trigger:function(t,e){return this.each(function(){mt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return mt.event.trigger(t,e,n,!0)}}),mt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){mt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),mt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),vt.focusin="onfocusin"in o,vt.focusin||mt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){mt.event.simulate(e,t.target,mt.event.fix(t))};mt.event.special[e]={setup:function(){var r=this.ownerDocument||this,i=Lt.access(r,e);i||r.addEventListener(t,n,!0),Lt.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Lt.access(r,e)-1;i?Lt.access(r,e,i):(r.removeEventListener(t,n,!0),Lt.remove(r,e))}}});var je=o.location,Ee=mt.now(),Oe=/\?/;mt.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new o.DOMParser).parseFromString(t,"text/xml")}catch(n){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||mt.error("Invalid XML: "+t),e};var $e=/\[\]$/,Me=/\r?\n/g,Ne=/^(?:submit|button|image|reset|file)$/i,Pe=/^(?:input|select|textarea|keygen)/i;mt.param=function(t,e){var n,r=[],i=function(t,e){var n=mt.isFunction(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(mt.isArray(t)||t.jquery&&!mt.isPlainObject(t))mt.each(t,function(){i(this.name,this.value)});else for(n in t)Z(n,t[n],e,i);return r.join("&")},mt.fn.extend({serialize:function(){return mt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=mt.prop(this,"elements");return t?mt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!mt(this).is(":disabled")&&Pe.test(this.nodeName)&&!Ne.test(t)&&(this.checked||!Jt.test(t))}).map(function(t,e){var n=mt(this).val();return null==n?null:mt.isArray(n)?mt.map(n,function(t){return{name:e.name,value:t.replace(Me,"\r\n")}}):{name:e.name,value:n.replace(Me,"\r\n")}}).get()}});var De=/%20/g,Fe=/#.*$/,Be=/([?&])_=[^&]*/,Le=/^(.*?):[ \t]*([^\r\n]*)$/gm,Re=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ie=/^(?:GET|HEAD)$/,He=/^\/\//,qe={},Ve={},ze="*/".concat("*"),Ue=it.createElement("a");Ue.href=je.href,mt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:je.href,type:"GET",isLocal:Re.test(je.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ze,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":mt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?K(K(t,mt.ajaxSettings),e):K(mt.ajaxSettings,t)},ajaxPrefilter:Y(qe),ajaxTransport:Y(Ve),ajax:function(t,e){function r(t,e,n,r){var u,c,d,p,_,w=e;f||(f=!0,l&&o.clearTimeout(l),i=void 0,s=r||"",k.readyState=t>0?4:0,u=t>=200&&t<300||304===t,n&&(p=tt(v,k,n)),p=et(v,p,k,u),u?(v.ifModified&&(_=k.getResponseHeader("Last-Modified"),_&&(mt.lastModified[a]=_),_=k.getResponseHeader("etag"),_&&(mt.etag[a]=_)),204===t||"HEAD"===v.type?w="nocontent":304===t?w="notmodified":(w=p.state,c=p.data,d=p.error,u=!d)):(d=w,!t&&w||(w="error",t<0&&(t=0))),k.status=t,k.statusText=(e||w)+"",u?y.resolveWith(g,[c,w,k]):y.rejectWith(g,[k,w,d]),k.statusCode(x),x=void 0,h&&m.trigger(u?"ajaxSuccess":"ajaxError",[k,v,u?c:d]),b.fireWith(g,[k,w]),h&&(m.trigger("ajaxComplete",[k,v]),--mt.active||mt.event.trigger("ajaxStop")))}"object"===("undefined"==typeof t?"undefined":n(t))&&(e=t,t=void 0),e=e||{};var i,a,s,u,l,c,f,h,d,p,v=mt.ajaxSetup({},e),g=v.context||v,m=v.context&&(g.nodeType||g.jquery)?mt(g):mt.event,y=mt.Deferred(),b=mt.Callbacks("once memory"),x=v.statusCode||{},_={},w={},C="canceled",k={readyState:0,getResponseHeader:function(t){var e;if(f){if(!u)for(u={};e=Le.exec(s);)u[e[1].toLowerCase()]=e[2];e=u[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return f?s:null},setRequestHeader:function(t,e){return null==f&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,_[t]=e),this},overrideMimeType:function(t){return null==f&&(v.mimeType=t),this},statusCode:function(t){var e;if(t)if(f)k.always(t[k.status]);else for(e in t)x[e]=[x[e],t[e]];return this},abort:function(t){var e=t||C;return i&&i.abort(e),r(0,e),this}};if(y.promise(k),v.url=((t||v.url||je.href)+"").replace(He,je.protocol+"//"),v.type=e.method||e.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(Nt)||[""],null==v.crossDomain){c=it.createElement("a");try{c.href=v.url,c.href=c.href,v.crossDomain=Ue.protocol+"//"+Ue.host!=c.protocol+"//"+c.host}catch(T){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=mt.param(v.data,v.traditional)),Q(qe,v,e,k),f)return k;h=mt.event&&v.global,h&&0===mt.active++&&mt.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ie.test(v.type),a=v.url.replace(Fe,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(De,"+")):(p=v.url.slice(a.length),v.data&&(a+=(Oe.test(a)?"&":"?")+v.data,delete v.data),v.cache===!1&&(a=a.replace(Be,""),p=(Oe.test(a)?"&":"?")+"_="+Ee++ +p),v.url=a+p),v.ifModified&&(mt.lastModified[a]&&k.setRequestHeader("If-Modified-Since",mt.lastModified[a]),mt.etag[a]&&k.setRequestHeader("If-None-Match",mt.etag[a])),(v.data&&v.hasContent&&v.contentType!==!1||e.contentType)&&k.setRequestHeader("Content-Type",v.contentType),k.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+ze+"; q=0.01":""):v.accepts["*"]);for(d in v.headers)k.setRequestHeader(d,v.headers[d]);if(v.beforeSend&&(v.beforeSend.call(g,k,v)===!1||f))return k.abort();if(C="abort",b.add(v.complete),k.done(v.success),k.fail(v.error),i=Q(Ve,v,e,k)){if(k.readyState=1,h&&m.trigger("ajaxSend",[k,v]),f)return k;v.async&&v.timeout>0&&(l=o.setTimeout(function(){k.abort("timeout")},v.timeout));try{f=!1,i.send(_,r)}catch(T){if(f)throw T;r(-1,T)}}else r(-1,"No Transport");return k},getJSON:function(t,e,n){return mt.get(t,e,n,"json")},getScript:function(t,e){return mt.get(t,void 0,e,"script")}}),mt.each(["get","post"],function(t,e){mt[e]=function(t,n,r,i){return mt.isFunction(n)&&(i=i||r,r=n,n=void 0),mt.ajax(mt.extend({url:t,type:e,dataType:i,data:n,success:r},mt.isPlainObject(t)&&t))}}),mt._evalUrl=function(t){return mt.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},mt.fn.extend({wrapAll:function(t){var e;return this[0]&&(mt.isFunction(t)&&(t=t.call(this[0])),e=mt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return mt.isFunction(t)?this.each(function(e){mt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=mt(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=mt.isFunction(t);return this.each(function(n){mt(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){
-return this.parent(t).not("body").each(function(){mt(this).replaceWith(this.childNodes)}),this}}),mt.expr.pseudos.hidden=function(t){return!mt.expr.pseudos.visible(t)},mt.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},mt.ajaxSettings.xhr=function(){try{return new o.XMLHttpRequest}catch(t){}};var We={0:200,1223:204},Xe=mt.ajaxSettings.xhr();vt.cors=!!Xe&&"withCredentials"in Xe,vt.ajax=Xe=!!Xe,mt.ajaxTransport(function(t){var e,n;if(vt.cors||Xe&&!t.crossDomain)return{send:function(r,i){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(a in r)s.setRequestHeader(a,r[a]);e=function(t){return function(){e&&(e=n=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(We[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),n=s.onerror=e("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&o.setTimeout(function(){e&&n()})},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(u){if(e)throw u}},abort:function(){e&&e()}}}),mt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),mt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return mt.globalEval(t),t}}}),mt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),mt.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(r,i){e=mt("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),it.head.appendChild(e[0])},abort:function(){n&&n()}}}});var Je=[],Ge=/(=)\?(?=&|$)|\?\?/;mt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Je.pop()||mt.expando+"_"+Ee++;return this[t]=!0,t}}),mt.ajaxPrefilter("json jsonp",function(t,e,n){var r,i,a,s=t.jsonp!==!1&&(Ge.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ge.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=mt.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Ge,"$1"+r):t.jsonp!==!1&&(t.url+=(Oe.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return a||mt.error(r+" was not called"),a[0]},t.dataTypes[0]="json",i=o[r],o[r]=function(){a=arguments},n.always(function(){void 0===i?mt(o).removeProp(r):o[r]=i,t[r]&&(t.jsonpCallback=e.jsonpCallback,Je.push(r)),a&&mt.isFunction(i)&&i(a[0]),a=i=void 0}),"script"}),vt.createHTMLDocument=function(){var t=it.implementation.createHTMLDocument("").body;return t.innerHTML="<form></form><form></form>",2===t.childNodes.length}(),mt.parseHTML=function(t,e,n){if("string"!=typeof t)return[];"boolean"==typeof e&&(n=e,e=!1);var r,i,o;return e||(vt.createHTMLDocument?(e=it.implementation.createHTMLDocument(""),r=e.createElement("base"),r.href=it.location.href,e.head.appendChild(r)):e=it),i=St.exec(t),o=!n&&[],i?[e.createElement(i[1])]:(i=C([t],e,o),o&&o.length&&mt(o).remove(),mt.merge([],i.childNodes))},mt.fn.load=function(t,e,r){var i,o,a,s=this,u=t.indexOf(" ");return u>-1&&(i=mt.trim(t.slice(u)),t=t.slice(0,u)),mt.isFunction(e)?(r=e,e=void 0):e&&"object"===("undefined"==typeof e?"undefined":n(e))&&(o="POST"),s.length>0&&mt.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done(function(t){a=arguments,s.html(i?mt("<div>").append(mt.parseHTML(t)).find(i):t)}).always(r&&function(t,e){s.each(function(){r.apply(this,a||[t.responseText,e,t])})}),this},mt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){mt.fn[e]=function(t){return this.on(e,t)}}),mt.expr.pseudos.animated=function(t){return mt.grep(mt.timers,function(e){return t===e.elem}).length},mt.offset={setOffset:function(t,e,n){var r,i,o,a,s,u,l,c=mt.css(t,"position"),f=mt(t),h={};"static"===c&&(t.style.position="relative"),s=f.offset(),o=mt.css(t,"top"),u=mt.css(t,"left"),l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1,l?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),mt.isFunction(e)&&(e=e.call(t,n,mt.extend({},s))),null!=e.top&&(h.top=e.top-s.top+a),null!=e.left&&(h.left=e.left-s.left+i),"using"in e?e.using.call(t,h):f.css(h)}},mt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){mt.offset.setOffset(this,t,e)});var e,n,r,i,o=this[0];if(o)return o.getClientRects().length?(r=o.getBoundingClientRect(),r.width||r.height?(i=o.ownerDocument,n=nt(i),e=i.documentElement,{top:r.top+n.pageYOffset-e.clientTop,left:r.left+n.pageXOffset-e.clientLeft}):r):{top:0,left:0}},position:function(){if(this[0]){var t,e,n=this[0],r={top:0,left:0};return"fixed"===mt.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),mt.nodeName(t[0],"html")||(r=t.offset()),r={top:r.top+mt.css(t[0],"borderTopWidth",!0),left:r.left+mt.css(t[0],"borderLeftWidth",!0)}),{top:e.top-r.top-mt.css(n,"marginTop",!0),left:e.left-r.left-mt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===mt.css(t,"position");)t=t.offsetParent;return t||Kt})}}),mt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;mt.fn[t]=function(r){return Ft(this,function(t,r,i){var o=nt(t);return void 0===i?o?o[e]:t[r]:void(o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i)},t,r,arguments.length)}}),mt.each(["top","left"],function(t,e){mt.cssHooks[e]=F(vt.pixelPosition,function(t,n){if(n)return n=D(t,e),le.test(n)?mt(t).position()[e]+"px":n})}),mt.each({Height:"height",Width:"width"},function(t,e){mt.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){mt.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(i===!0||o===!0?"margin":"border");return Ft(this,function(e,n,i){var o;return mt.isWindow(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?mt.css(e,n,s):mt.style(e,n,i,s)},e,a?i:void 0,a)}})}),mt.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),mt.parseJSON=JSON.parse,r=[],i=function(){return mt}.apply(e,r),!(void 0!==i&&(t.exports=i));var Ze=o.jQuery,Ye=o.$;return mt.noConflict=function(t){return o.$===mt&&(o.$=Ye),t&&o.jQuery===mt&&(o.jQuery=Ze),mt},a||(o.jQuery=o.$=mt),mt})}).call(e,n(126)(t))},function(t,e,n){"use strict";t.exports=n(10)},function(t,e,n){"use strict";var r=n(7);r.isBrowser&&(window.diff_match_patch=n(23)),t.exports=n(16)},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n(12),a=function(){function t(e){r(this,t),this.zoomFactor=.1,this.paper=e.paper,this.MIN_SIZE=40,this.imageWidth=parseInt(this.paper.select(".main-image").attr("width")),this.imageHeight=parseInt(this.paper.select(".main-image").attr("height")),this.viewport={width:parseInt(this.paper.attr("width")),height:parseInt(this.paper.attr("height"))},this.scale=1,this.paper.attr({stroke:2,fill:"blue"}),this.disableDrag=!1,this.imgMinSize=Math.min(this.imageWidth,this.imageHeight),this.lastPosition=[],this.updateViewBox([0,0,this.imageWidth,this.imageHeight])}return i(t,[{key:"testShowCenter",value:function(t,e){this.center&&this.center.remove(),this.center=this.paper.rect(t-3,e-3,20,20),this.center.attr({fill:"red"})}},{key:"drawTestRectangle",value:function(t,e,n,r){var i=t-n/2,o=e-r/2;this.paper.rect(i,o,n,r)}},{key:"zoomIn",value:function(){if(9===this.scale)return void this.scale--;var t=this.currentViewBox[0]+this.currentViewBox[2]/2,e=this.currentViewBox[1]+this.currentViewBox[3]/2,n=this.zoomFactor*this.scale,r=this.imgMinSize-this.imgMinSize*n,i=r;this.currentViewBox[0]=t-r/2,this.currentViewBox[1]=e-i/2,this.currentViewBox[2]=r,this.currentViewBox[3]=i,this.scale++,this.updateViewBox()}},{key:"updateViewBox",value:function(t,e){if(e="boolean"!=typeof e||e,t&&4!=t.length)throw new Error("Provided currentViewBox is not valid!");if(t&&(this.currentViewBox=t),this.paper.attr({viewBox:this.currentViewBox}),!e)return!1;var n=this;o.eventEmitter.emit("zoomChanged",{updateFunction:function(t){n.updateViewBox(t,!1)},zoomFactor:this.getZoomFactor(),viewport:this.viewport,currentScale:this.scale,imageSize:{width:this.imageWidth,height:this.imageHeight},minSize:Math.min(this.imageWidth,this.imageHeight),currentViewBox:this.currentViewBox.slice()})}},{key:"getZoomFactor",value:function(){return{x:this.viewport.width/this.currentViewBox[2],y:this.viewport.height/this.currentViewBox[3]}}},{key:"onStart",value:function(t,e,n){this.lastPosition[0]=this.currentViewBox[0],this.lastPosition[1]=this.currentViewBox[1],"drawingHandler"===n.target.className.baseVal&&(this.disableDrag=!0)}},{key:"canDrag",value:function(){return!this.disableDrag}},{key:"onStop",value:function(){this.disableDrag=!1}},{key:"onDrag",value:function(t,e,n,r,i){if(!this.canDrag())return!0;var o=this.lastPosition[0]-t,a=this.lastPosition[1]-e;o+this.currentViewBox[2]>=this.viewport.width&&(o=this.viewport.width-this.currentViewBox[2]),a+this.currentViewBox[3]>=this.viewport.height&&(a=this.viewport.height-this.currentViewBox[3]),o<=0&&(o=0),a<=0&&(a=0),this.currentViewBox[0]=o,this.currentViewBox[1]=a,this.updateViewBox()}},{key:"reset",value:function(){this.scale=1,this.currentViewBox=[0,0,this.imageWidth,this.imageHeight],this.updateViewBox()}},{key:"zoomOut",value:function(){if(1==this.scale)return!1;var t=this.currentViewBox[0]+this.currentViewBox[2]/2,e=this.currentViewBox[1]+this.currentViewBox[3]/2,n=this.zoomFactor*(this.scale-1),r=this.imgMinSize-this.imgMinSize*n,i=r,o=t-r/2,a=e-i/2;this.currentViewBox[0]=o,this.currentViewBox[1]=a,this.currentViewBox[2]=r,this.currentViewBox[3]=i,this.updateViewBox(),this.scale--}}]),t}();e["default"]={enable_zoom:function(t){return new a(t)}}},function(t,e,n){function r(t){return n(i(t))}function i(t){return o[t]||function(){throw new Error("Cannot find module '"+t+"'.")}()}var o={"./contexts/context":3,"./contexts/context.js":3,"./contexts/diff":4,"./contexts/diff.js":4,"./contexts/patch":5,"./contexts/patch.js":5,"./contexts/reverse":6,"./contexts/reverse.js":6,"./date-reviver":14,"./date-reviver.js":14,"./diffpatcher":24,"./diffpatcher.js":24,"./environment":7,"./environment.js":7,"./filters/arrays":25,"./filters/arrays.js":25,"./filters/dates":26,"./filters/dates.js":26,"./filters/lcs":27,"./filters/lcs.js":27,"./filters/nested":28,"./filters/nested.js":28,"./filters/texts":29,"./filters/texts.js":29,"./filters/trivial":30,"./filters/trivial.js":30,"./formatters/annotated":8,"./formatters/annotated.js":8,"./formatters/base":1,"./formatters/base.js":1,"./formatters/console":15,"./formatters/console.js":15,"./formatters/html":9,"./formatters/html.js":9,"./formatters/index":10,"./formatters/index.js":10,"./formatters/jsonpatch":11,"./formatters/jsonpatch.js":11,"./main":16,"./main-formatters":45,"./main-formatters.js":45,"./main-full":46,"./main-full.js":46,"./main.js":16,"./pipe":17,"./pipe.js":17,"./processor":31,"./processor.js":31};r.keys=function(){return Object.keys(o)},r.resolve=i,t.exports=r,r.id=48},function(t,e,n){var r,i;n(146),r=n(53);var o=n(141);i=r=r||{},"object"==typeof r["default"]&&(i=r=r["default"]),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-1",t.exports=r},function(t,e,n){var r,i;r=n(58);var o=n(142);i=r=r||{},"object"==typeof r["default"]&&(i=r=r["default"]),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e,n){function r(t,e){for(var n=0;n<t.length;n++){var r=t[n],i=f[r.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](r.parts[o]);for(;o<r.parts.length;o++)i.parts.push(u(r.parts[o],e))}else{for(var a=[],o=0;o<r.parts.length;o++)a.push(u(r.parts[o],e));f[r.id]={id:r.id,refs:1,parts:a}}}}function i(t){for(var e=[],n={},r=0;r<t.length;r++){var i=t[r],o=i[0],a=i[1],s=i[2],u=i[3],l={css:a,media:s,sourceMap:u};n[o]?n[o].parts.push(l):e.push(n[o]={id:o,parts:[l]})}return e}function o(t,e){var n=p(),r=m[m.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),m.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function a(t){t.parentNode.removeChild(t);var e=m.indexOf(t);e>=0&&m.splice(e,1)}function s(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function u(t,e){var n,r,i;if(e.singleton){var o=g++;n=v||(v=s(e)),r=l.bind(null,n,o,!1),i=l.bind(null,n,o,!0)}else n=s(e),r=c.bind(null,n),i=function(){a(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}function l(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,i);else{var o=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function c(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var f={},h=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},d=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),p=h(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,g=0,m=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=d()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var n=i(t);return r(n,e),function(t){for(var o=[],a=0;a<n.length;a++){var s=n[a],u=f[s.id];u.refs--,o.push(u)}if(t){var l=i(t);r(l,e)}for(var a=0;a<o.length;a++){var u=o[a];if(0===u.refs){for(var c=0;c<u.parts.length;c++)u.parts[c]();delete f[u.id]}}}};var y=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(129),o=r(i),a=n(32),s=r(a),u=n(50),l=r(u);e["default"]={el:"#drawing-zone",MODE_RECT:"RECT",MODE_FREE:"FREE",ZOOM_IN:"in",ZOOM_OUT:"out",components:{typeahead:s["default"],zoomview:l["default"]},data:{mode:"",isRect:!0,normalizePath:"",readOnly:!1,formView:!0,useClipPath:!1,transformMatrix:"",fragmentPath:"",canZoom:!0,displayMask:!1},mounted:function(){var t=this;this.initialDrawingMode=null,this.drawingComponent=o["default"].init({wrapperId:"#iconolab-image-wrapper",actionWrapper:"#action-wrapper",readOnly:!1,onDrawingModeChange:function(e){t.setDrawingMode(e,!1)}}),this.$refs.zoomview.setZoomTarget(this.drawingComponent.getPaper()),this.showForm()},methods:{computeCentreredViewBox:function(){var t=this.$refs.zoomSvg,e=[],n=t.getAttribute("width"),r=t.getAttribute("height"),i=n/100,o=r/100,a=this.drawingComponent.getShapeBBox();return e=[(a.x-1)*i,(a.y-1)*o,(a.w+2)*i,(a.h+2)*o],e.join(" ")},computeZoomedViewBox:function(){var t=[],e=this.$refs.zoomSvg,n=this.drawingComponent.getShapeBBox(),r=e.getAttribute("width"),i=e.getAttribute("height"),o=r/100,a=i/100;n.x=n.x*o,n.y=n.y*a,n.w=n.w*o,n.h=n.h*a;var s=r/i;return n.w>n.h?(n.y=Math.max(0,n.y-(n.w*s-n.h)/2),n.h=n.w*s):(n.x=Math.max(0,n.x-(n.h/s-n.w)/2),n.w=n.h/s),t=[n.x,n.y,n.w,n.h],!!n&&t.join(" ")},zoom:function(t){var e=this.$refs.smallSvgWrapper;if(this.$options.ZOOM_OUT===t){var n=[0,0,e.getAttribute("width"),e.getAttribute("height")];e.setAttribute("viewBox",n.join(" ")),this.canZoom=!0}this.$options.ZOOM_IN===t&&(e.setAttribute("viewBox",this.computeCentreredViewBox()),this.canZoom=!1)},setDrawingMode:function(t,e){this.initialDrawingMode||(this.initialDrawingMode=t);var e="boolean"!=typeof e||e;this.mode=this.$options["MODE_"+t],this.isRect=this.mode===this.$options.MODE_RECT,e&&this.drawingComponent.setDrawingMode(this.mode)},cancel:function(){this.formView=!0;var t=this.$refs.currentPath.getAttribute("d");t.length&&this.initialDrawingMode&&(t+=";"+this.initialDrawingMode,this.drawingComponent.setPath(t))},highLightZone:function(){this.displayMask?this.displayMask=!1:this.displayMask=!0},displayEditedPath:function(){this.drawingComponent.getPath()},resetZoom:function(){this.zoom(this.$options.ZOOM_OUT)},showEditor:function(){this.formView=!1,this.resetZoom()},showForm:function(){this.normalizePath=this.drawingComponent.getPath();var t=this.$refs.smallImage;this.formView=!0;var e=t.getAttribute("width")/100,n=t.getAttribute("height")/100,r=[e,0,0,n,0,0].join(",");this.transformMatrix="matrix("+r+")",this.fragmentPath=this.normalizePath.split(";")[0]},clear:function(){this.drawingComponent.clear()}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0});var o,a=n(139),s=r(a);e["default"]=(o={components:{modalpanel:s["default"]},mounted:function(){},props:["transform-matrix","image-path","image-height","image-width"],data:function(){return{diffText:"",tagMode:!1,textMode:!1,fragmentMode:!1,originalPath:"",modifiedPath:"",tags:[]}}},i(o,"mounted",function(){return!1}),i(o,"computed",{matrixTransform:function u(){var u="";return this.transformMatrix&&(u="matrix("+this.transformMatrix+")"),u}}),i(o,"methods",{setContent:function(t){this.$refs.modalcontent.appendChild(t)},switchMode:function(t){var e=["tagMode","textMode","fragmentMode"];this.tagMode=!1,this.textMode=!1,this.fragmentMode=!1,e.indexOf(t)!==-1&&(this[t]=!0)},showTagDiff:function(t,e){this.switchMode("tagMode");var n=iconolab.JsonDiff.diff(t,e),r=[];if(t.forEach(function(t,i){var t=JSON.parse(JSON.stringify(t)),o=n["_"+i],a=n[i];return o||a||r.push(t),Array.isArray(o)?(t.action="del",r.push(t),!0):a&&(a.tag_label||a.relevancy||a.accuracy)?(t.action=a.tag_label?"replace":"update",t.new_label=e[i].tag_label,t.new_accuracy=e[i].accuracy,t.new_relevancy=e[i].relevancy,r.push(t),!0):Array.isArray(a)?(t.action="add",r.push(e[i]),!0):void 0}),t.length<e.length){var i=e.slice(t.length);i.forEach(function(t,e){t.action="add",r.push(t)})}this.tags=r},showTextDiff:function(t,e){this.switchMode("textMode");for(var n=iconolab.JsDiff.diffWords(t,e),r=document.createDocumentFragment(),i=0;i<n.length;i++){if(n[i].added&&n[i+1]&&n[i+1].removed){var o=n[i];n[i]=n[i+1],n[i+1]=o}var a;n[i].removed?(a=document.createElement("del"),a.appendChild(document.createTextNode(n[i].value))):n[i].added?(a=document.createElement("ins"),a.appendChild(document.createTextNode(n[i].value))):a=document.createTextNode(n[i].value),r.appendChild(a)}this.diffText=jQuery("<div>").append(r).html()},showFragmentDiff:function(t,e){this.switchMode("fragmentMode"),this.originalPath=t,this.modifiedPath=e},show:function(){this.$refs.panel.show()},hide:function(){this.$refs.panel.hide()}}),o)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(32),o=r(i),a=n(49),s=r(a);e["default"]={data:function(){return{}},components:{Typeahead:o["default"],diffviewer:s["default"]},mounted:function(){this.targetKeyMap={title:"proposal-title",desc:"proposal-description",frag:"proposal-fragment"},this.targetFieldTypeMap={title:"input",desc:"input",frag:"frag"},this.originalValues={title:"",desc:"",frag:""}},methods:{pickProposition:function(t,e,n){var r="",i=document.getElementById(e),o=this.$refs[this.targetKeyMap[n]],a=this.targetFieldTypeMap[n];if(!a)throw new Error("A target type must be provided...");if("input"===a&&(r=o.value,o.value=i.value),"frag"===a){r=o.getAttribute("d");var s=i.getAttribute("d");o.getAttribute("data-path-type");o.setAttribute("d",s);var u=i.getAttribute("data-path-type");u=u||"FREE";var l=this.$refs["fragment-field"];l.value=s+";"+u}this.preserveOriginalValue(n,r)},pickTag:function(t,e){var n=this.$refs[e],r=this.$refs["proposal-tags"];this.preserveOriginalValue("proposal-tags",r.tags),r.setTags(n.tags,!0)},preserveOriginalValue:function(t,e){this.originalValues[t]||(this.originalValues[t]=e)},showDiffviewer:function(t,e,n){var r=document.getElementById(e),i=this.$refs[this.targetKeyMap[n]],o=this.targetFieldTypeMap[n],a=this.$refs[t];if(!a)throw new Error("The DiffViewer can't be found for "+n);if("input"===o&&a.showTextDiff(r.value,i.value),"tag"===n){var s=this.$refs[e],u=this.$refs["proposal-tags"];0!==s.tags.length&&0!==u.tags.length&&a.showTagDiff(s.tags,u.tags)}if("frag"===n){var l=i.getAttribute("d"),c=r.getAttribute("d");a.showFragmentDiff(l,c)}a.show()},hightlightSource:function(t){t.className+="highlight"},save:function(){alert("this is it ... ")}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={props:["close-with-escape"],data:function(){return{display:!1}},methods:{close:function(){this.display=!1},show:function(){this.display=!0}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(12);e["default"]={data:function(){return{tags:[],readOnly:!1}},methods:{removeTag:function(t){this.tags.$remove(t),this.normalizeSelectedTags()},reset:function(){this.tags=[],this.normalizeSelectedTags()},tagAlreadyExists:function(t){var e=!1,n=this.tags.find(function(e){if(e.tag_link){if(e.tag_link===t.tag_link)return!0}else if(e.tag_label===t.tag_label)return!0});if(n){var r=this.$refs[n.id][0];r.style.border="1px solid red",setTimeout(function(){r.style.border=""},1e3),e=!0}return e},setTags:function(t){Array.isArray(t)||new Error("setTags expects an array!");var e=this;t.map(function(t){e.addTag(t)})},addTag:function(t){return!this.tagAlreadyExists(t)&&void(t&&t.hasOwnProperty("tag_label")&&(t.id||(t.id=(0,r.generateId)("tag_")),this.tags.push(t),this.normalizeSelectedTags()))},normalizeSelectedTags:function(){var t=[];this.tags.map(function(e){var n={};n.tag_input="string"==typeof e.tag_link&&e.tag_link.length?e.tag_link:e.tag_label,n.accuracy=e.accuracy,n.relevancy=e.relevancy,t.push(n)}),this.$parent.$data.selectedTags=JSON.stringify(t)},updateAccuracy:function(t,e){e.accuracy=t.target.value,this.normalizeSelectedTags()},updatePertinence:function(t,e){e.relevancy=t.target.value,this.normalizeSelectedTags()}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(123),o=r(i),a=n(140),s=r(a),u="https://lookup.dbpedia.org/api/search/PrefixSearch?MaxHits=5",l="https://fr.wikipedia.org/w/api.php",c={reset:o["default"].methods.reset},f=function(t,e){var n=jQuery.Deferred();jQuery.getJSON(t,e).done(function(t){var e={};e.data=t,n.resolve(e)}).fail(n.reject);return n.promise()};e["default"]={mixins:[o["default"]],components:{taglist:s["default"]},props:["tags","read-only"],mounted:function(){this.taglist=this.$refs.taglist,this.taglist.readOnly=this.readOnly,this.setTags(this.tags)},data:function(){return{src:u,limit:7,minChars:2,showAddButton:!1,datasource:"wikipedia",selectedTags:"[]",items:[],queryParamName:"QueryString"}},methods:{setTags:function(t,e){t=Array.isArray(t)?t:[],e="boolean"==typeof e&&e,e&&this.taglist.reset(),this.taglist.setTags(t)},checkQuery:function(){0===this.query.length&&this.reset()},fetch:function(){if("wikipedia"===this.datasource)return this.fetchWikiPedia();var t={};return t[this.queryParamName]=this.query,f(this.src,query)},fetchWikiPedia:function(){this.src=l;var t={action:"opensearch",format:"json",search:this.query},e=jQuery.Deferred();return jQuery.ajax({url:this.src,data:t,dataType:"jsonp",success:function(t){var n={};n.data=t,e.resolve(n)}}),e.promise()},reset:function(){this.showAddButton=!1,c.reset.call(this)},prepareWikipediaResponse:function(t){var e=[];if(4!==t.length)return e;var n=t[1],r=t[3];return n.length===r.length?(n.map(function(t,n){var i={};i.tag_label=t;var o=r[n];o=o.replace("https://fr.wikipedia.org/wiki/","http://fr.dbpedia.org/resource/"),i.tag_link=decodeURI(o),i.accuracy=1,i.relevancy=1,e.push(i)}),e):void 0},prepareResponseData:function(t){var e="string"==typeof t?JSON.parse(t):t;return"wikipedia"===this.datasource&&(e=this.prepareWikipediaResponse(e)),Array.isArray(e)&&!e.length&&(this.showAddButton=!0),e},addTag:function(){if(this.hasItems)return!1;var t={tag_label:this.query,accuracy:1,relevancy:1};this.$refs.taglist.addTag(t),this.reset()},onHit:function(t){this.$refs.taglist.addTag(t),this.reset()}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(12),o=n(47),a=r(o),s=n(43),u=r(s);e["default"]={props:["image-url","image-width","image-height","zoomTarget","main-image-id"],mounted:function(){this.root=new u["default"](this.$refs["root-svg"]),this.handler=this.root.select("#zoom-handler"),this.image=this.root.select("#small-image"),this.root.attr({width:101,height:101});var t=parseInt(this.image.attr("width")),e=parseInt(this.image.attr("height"));this.root.attr({viewBox:[0,0,t,e]}),this.imgMinSize=Math.min(t,e),this.handlerSize=20,this.handler.attr({width:this.handlerSize,height:this.handlerSize}),this.currentViewBox=null,this.currentViewport=null,this.updateFunction=null;var n=document.getElementById("zoomTarget");n&&this.setZoomTarget(n),this.handleEvents()},data:function(){return{showHandler:!1}},methods:{setZoomTarget:function(t){if(t.hasOwnProperty("type")&&"svg"===t.type)this.paper=t;else{this.paper=new u["default"](t);var e=this.paper.select("#"+this.mainImageId);if(!e)throw new Error("A main image wasn't found.")}this.zoomHandler=a["default"].enable_zoom(this.paper)},incraseDrawingZoom:function(){this.zoomHandler.zoomIn()},resetDrawingZoom:function(){this.zoomHandler.reset()},decreaseDrawingZoom:function(){this.zoomHandler.zoomOut()},handleEvents:function(){i.eventEmitter.on("zoomChanged",this.handleZoomChanged.bind(this));var t=this;this.handler.drag(function(e,n){var r=this.getBBox(),i=this.data("startPosition").x,o=this.data("startPosition").y,a=parseInt(t.image.attr("width")),s=parseInt(t.image.attr("height")),u=i+e,l=o+n;u+r.w>=a&&(u=a-r.w),l+r.h>=s&&(l=s-r.h),u=u<0?0:u,l=l<0?0:l;var c="T"+[u,l];this.attr("transform",c),t.notifyMove(this.getBBox().x,this.getBBox().y)},function(){this.data("startPosition",{x:this.getBBox().x,y:this.getBBox().y}),this.data("origTransform",this.transform().local)},function(){})},moveHandlerToCenter:function(t,e){cx=cx?cx:this.width/2,cy=cy?cy:this.height/2;var n=cx-this.handler.getBBox().w/2,r=cy-this.handler.getBBox().h/2;this.handler.transform("T"+[n,r])},notifyMove:function(t,e){if(i.eventEmitter.emit("moveZoomHandler",{x:t,y:e,viewport:{width:this.image.attr("width"),height:this.image.attr("height")}}),!this.currentViewBox||!this.currentViewport||"function"!=typeof this.updateFunction)return!1;var n=this.currentImageSize.width/this.image.attr("width"),r=this.currentImageSize.height/this.image.attr("height"),o=t*n,a=e*r;this.currentViewBox[0]=o,this.currentViewBox[1]=a,this.updateFunction(this.currentViewBox)},handleZoomChanged:function(t){if(1===t.currentScale)return void(this.showHandler=!1);this.showHandler=!0,this.currentViewport=t.viewport,this.currentViewBox=t.currentViewBox,this.currentImageSize=t.imageSize,this.updateFunction=t.updateFunction;var e=t.currentViewBox[2]*this.imgMinSize/t.minSize;this.handler.attr("width",e),this.handler.attr("height",e);var n=t.currentViewBox[0]*this.image.attr("width")/t.imageSize.width,r=t.currentViewBox[1]*this.image.attr("height")/t.imageSize.height;this.handler.transform("T"+[n,r])}}}},function(t,e){"use strict";var n=t.exports,r={reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49]};Object.keys(r).forEach(function(t){var e=r[t],i=n[t]={};i.open="["+e[0]+"m",i.close="["+e[1]+"m"})},function(t,e,n){"use strict";t.exports={"default":n(64),__esModule:!0}},function(t,e,n){"use strict";t.exports={"default":n(65),__esModule:!0}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var i=n(61),o=r(i);e["default"]=function(t,e,n){return e in t?(0,o["default"])(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";function r(t){var e=function n(){return i.apply(n,arguments)};return e._styles=t,e.__proto__=p,e}function i(){var t=arguments,e=t.length,n=0!==e&&String(arguments[0]);if(e>1)for(var r=1;r<e;r++)n+=" "+t[r];if(!h.enabled||!n)return n;for(var i=this._styles,o=0;o<i.length;o++){var a=s[i[o]];n=a.open+n.replace(a.closeRe,a.open)+a.close}return n}function o(){var t={};return Object.keys(d).forEach(function(e){t[e]={get:function(){return r([e])}}}),t}var a=n(116),s=n(59),u=n(120),l=n(118),c=n(121),f=Object.defineProperties,h=t.exports,d=function(){var t={};return s.grey=s.gray,Object.keys(s).forEach(function(e){s[e].closeRe=new RegExp(a(s[e].close),"g"),t[e]={get:function(){return r(this._styles.concat(e))}}}),t}(),p=f(function(){},d);f(h,o()),h.styles=s,h.hasColor=l,h.stripColor=u,h.supportsColor=c,void 0===h.enabled&&(h.enabled=h.supportsColor)},function(t,e,n){"use strict";n(89),t.exports=n(18).Object.assign},function(t,e,n){"use strict";n(90);var r=n(18).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e){"use strict";t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";var r=n(21);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){"use strict";var r=n(39),i=n(85),o=n(84);t.exports=function(t){return function(e,n,a){var s,u=r(e),l=i(u.length),c=o(a,l);if(t&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===n)return t||c||0;return!t&&-1}}},function(t,e){"use strict";var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){"use strict";var r=n(66);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";var r=n(21),i=n(20).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e){"use strict";t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
-},function(t,e){"use strict";var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){"use strict";var r=n(37),i=n(81);t.exports=n(13)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";t.exports=!n(13)&&!n(19)(function(){return 7!=Object.defineProperty(n(71)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r=n(79),i=n(77),o=n(80),a=n(86),s=n(36),u=Object.assign;t.exports=!u||n(19)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,l=1,c=i.f,f=o.f;u>l;)for(var h,d=s(arguments[l++]),p=c?r(d).concat(c(d)):r(d),v=p.length,g=0;v>g;)f.call(d,h=p[g++])&&(n[h]=d[h]);return n}:u},function(t,e){"use strict";e.f=Object.getOwnPropertySymbols},function(t,e,n){"use strict";var r=n(73),i=n(39),o=n(68)(!1),a=n(82)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~o(l,n)||l.push(n));return l}},function(t,e,n){"use strict";var r=n(78),i=n(72);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e){"use strict";e.f={}.propertyIsEnumerable},function(t,e){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){"use strict";var r=n(83)("keys"),i=n(88);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){"use strict";var r=n(20),i="__core-js_shared__",o=r[i]||(r[i]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){"use strict";var r=n(38),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e,n){"use strict";var r=n(38),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){"use strict";var r=n(34);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";var r=n(21);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){"use strict";var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){"use strict";var r=n(35);r(r.S+r.F,"Object",{assign:n(76)})},function(t,e,n){"use strict";var r=n(35);r(r.S+r.F*!n(13),"Object",{defineProperty:n(37).f})},function(t,e,n){"use strict";var r,i=n(103),o=n(110),a=n(106),s=n(113);r=t.exports=function(t,e){var n,r,a,u,l;return arguments.length<2||"string"!=typeof t?(u=e,e=t,t=null):u=arguments[2],null==t?(n=a=!0,r=!1):(n=s.call(t,"c"),r=s.call(t,"e"),a=s.call(t,"w")),l={value:e,configurable:n,enumerable:r,writable:a},u?i(o(u),l):l},r.gs=function(t,e,n){var r,u,l,c;return"string"!=typeof t?(l=n,n=e,e=t,t=null):l=arguments[3],null==e?e=void 0:a(e)?null==n?n=void 0:a(n)||(l=n,n=void 0):(l=e,e=n=void 0),null==t?(r=!0,u=!1):(r=s.call(t,"c"),u=s.call(t,"e")),c={get:e,set:n,configurable:r,enumerable:u},l?i(o(l),c):c}},function(t,e){"use strict";function n(t){for(var e=[],n=void 0,r=void 0,i=0;i<t.length;i++)n=t[i],r=n.added?1:n.removed?-1:0,e.push([r,n.value]);return e}e.__esModule=!0,e.convertChangesToDMP=n},function(t,e){"use strict";function n(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];i.added?e.push("<ins>"):i.removed&&e.push("<del>"),e.push(r(i.value)),i.added?e.push("</ins>"):i.removed&&e.push("</del>")}return e.join("")}function r(t){var e=t;return e=e.replace(/&/g,"&"),e=e.replace(/</g,"<"),e=e.replace(/>/g,">"),e=e.replace(/"/g,""")}e.__esModule=!0,e.convertChangesToXML=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.characterDiff=void 0,e.diffChars=i;var o=n(2),a=r(o),s=e.characterDiff=new a["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.cssDiff=void 0,e.diffCss=i;var o=n(2),a=r(o),s=e.cssDiff=new a["default"];s.tokenize=function(t){return t.split(/([{}:;,]|\s+)/)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e,n){return h.diff(t,e,n)}function o(t,e,n){e=e||[],n=n||[];var r=void 0;for(r=0;r<e.length;r+=1)if(e[r]===t)return n[r];var i=void 0;if("[object Array]"===f.call(t)){for(e.push(t),i=new Array(t.length),n.push(i),r=0;r<t.length;r+=1)i[r]=o(t[r],e,n);return e.pop(),n.pop(),i}if(t&&t.toJSON&&(t=t.toJSON()),"object"===("undefined"==typeof t?"undefined":s(t))&&null!==t){e.push(t),i={},n.push(i);var a=[],u=void 0;for(u in t)t.hasOwnProperty(u)&&a.push(u);for(a.sort(),r=0;r<a.length;r+=1)u=a[r],i[u]=o(t[u],e,n);e.pop(),n.pop()}else i=t;return i}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};e.__esModule=!0,e.jsonDiff=void 0;var s="function"==typeof Symbol&&"symbol"===a(Symbol.iterator)?function(t){return"undefined"==typeof t?"undefined":a(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":"undefined"==typeof t?"undefined":a(t)};e.diffJson=i,e.canonicalize=o;var u=n(2),l=r(u),c=n(22),f=Object.prototype.toString,h=e.jsonDiff=new l["default"];h.useLongestToken=!0,h.tokenize=c.lineDiff.tokenize,h.castInput=function(t){return"string"==typeof t?t:JSON.stringify(o(t),void 0," ")},h.equals=function(t,e){return l["default"].prototype.equals(t.replace(/,([\r\n])/g,"$1"),e.replace(/,([\r\n])/g,"$1"))}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.sentenceDiff=void 0,e.diffSentences=i;var o=n(2),a=r(o),s=e.sentenceDiff=new a["default"];s.tokenize=function(t){return t.split(/(\S.+?[.!?])(?=\s+|$)/)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e,n){var r=(0,u.generateOptions)(n,{ignoreWhitespace:!0});return f.diff(t,e,r)}function o(t,e,n){return f.diff(t,e,n)}e.__esModule=!0,e.wordDiff=void 0,e.diffWords=i,e.diffWordsWithSpace=o;var a=n(2),s=r(a),u=n(42),l=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,c=/\S/,f=e.wordDiff=new s["default"];f.equals=function(t,e){return t===e||this.options.ignoreWhitespace&&!c.test(t)&&!c.test(e)},f.tokenize=function(t){for(var e=t.split(/(\s+|\b)/),n=0;n<e.length-1;n++)!e[n+1]&&e[n+2]&&l.test(e[n])&&l.test(e[n+2])&&(e[n]+=e[n+2],e.splice(n+1,2),n--);return e}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0,e.canonicalize=e.convertChangesToXML=e.convertChangesToDMP=e.parsePatch=e.applyPatches=e.applyPatch=e.createPatch=e.createTwoFilesPatch=e.structuredPatch=e.diffJson=e.diffCss=e.diffSentences=e.diffTrimmedLines=e.diffLines=e.diffWordsWithSpace=e.diffWords=e.diffChars=e.Diff=void 0;var i=n(2),o=r(i),a=n(94),s=n(98),u=n(22),l=n(97),c=n(95),f=n(96),h=n(100),d=n(41),p=n(101),v=n(92),g=n(93);e.Diff=o["default"],e.diffChars=a.diffChars,e.diffWords=s.diffWords,e.diffWordsWithSpace=s.diffWordsWithSpace,e.diffLines=u.diffLines,e.diffTrimmedLines=u.diffTrimmedLines,e.diffSentences=l.diffSentences,e.diffCss=c.diffCss,e.diffJson=f.diffJson,e.structuredPatch=p.structuredPatch,e.createTwoFilesPatch=p.createTwoFilesPatch,e.createPatch=p.createPatch,e.applyPatch=h.applyPatch,e.applyPatches=h.applyPatches,e.parsePatch=d.parsePatch,e.convertChangesToDMP=v.convertChangesToDMP,e.convertChangesToXML=g.convertChangesToXML,e.canonicalize=f.canonicalize},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){function n(t,e){for(var n=0;n<t.lines.length;n++){var r=t.lines[n],o=r[0],a=r.substr(1);if(" "===o||"-"===o){if(!s(e+1,i[e],o,a)&&(l++,l>c))return!1;e++}}return!0}var r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if("string"==typeof e&&(e=(0,a.parsePatch)(e)),Array.isArray(e)){if(e.length>1)throw new Error("applyPatch only works with a single input.");e=e[0]}for(var i=t.split("\n"),o=e.hunks,s=r.compareLine||function(t,e,n,r){return e===r},l=0,c=r.fuzzFactor||0,f=0,h=0,d=void 0,p=void 0,v=0;v<o.length;v++){for(var g=o[v],m=i.length-g.oldLines,y=0,b=h+g.oldStart-1,x=(0,u["default"])(b,f,m);void 0!==y;y=x())if(n(g,b+y)){g.offset=h+=y;break}if(void 0===y)return!1;f=g.offset+g.oldStart+g.oldLines}for(var _=0;_<o.length;_++){var w=o[_],C=w.offset+w.newStart-1;0==w.newLines&&C++;for(var k=0;k<w.lines.length;k++){var T=w.lines[k],S=T[0],A=T.substr(1);if(" "===S)C++;else if("-"===S)i.splice(C,1);else if("+"===S)i.splice(C,0,A),C++;else if("\\"===S){var j=w.lines[k-1]?w.lines[k-1][0]:null;"+"===j?d=!0:"-"===j&&(p=!0)}}}if(d)for(;!i[i.length-1];)i.pop();else p&&i.push("");return i.join("\n")}function o(t,e){function n(){var o=t[r++];return o?void e.loadFile(o,function(t,r){if(t)return e.complete(t);var a=i(r,o,e);e.patched(o,a,function(t){return t?e.complete(t):void n()})}):e.complete()}"string"==typeof t&&(t=(0,a.parsePatch)(t));var r=0;n()}e.__esModule=!0,e.applyPatch=i,e.applyPatches=o;var a=n(41),s=n(102),u=r(s)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function i(t,e,n,i,o,a,u){function l(t){return t.map(function(t){return" "+t})}u||(u={context:4});var c=(0,s.diffLines)(n,i);c.push({value:"",lines:[]});for(var f=[],h=0,d=0,p=[],v=1,g=1,m=function(t){var e=c[t],o=e.lines||e.value.replace(/\n$/,"").split("\n");if(e.lines=o,e.added||e.removed){var a;if(!h){var s=c[t-1];h=v,d=g,s&&(p=u.context>0?l(s.lines.slice(-u.context)):[],h-=p.length,d-=p.length)}(a=p).push.apply(a,r(o.map(function(t){return(e.added?"+":"-")+t}))),e.added?g+=o.length:v+=o.length}else{if(h)if(o.length<=2*u.context&&t<c.length-2){var m;(m=p).push.apply(m,r(l(o)))}else{var y,b=Math.min(o.length,u.context);(y=p).push.apply(y,r(l(o.slice(0,b))));var x={oldStart:h,oldLines:v-h+b,newStart:d,newLines:g-d+b,lines:p};if(t>=c.length-2&&o.length<=u.context){var _=/\n$/.test(n),w=/\n$/.test(i);0!=o.length||_?_&&w||p.push("\\ No newline at end of file"):p.splice(x.oldLines,0,"\\ No newline at end of file")}f.push(x),h=0,d=0,p=[]}v+=o.length,g+=o.length}},y=0;y<c.length;y++)m(y);return{oldFileName:t,newFileName:e,oldHeader:o,newHeader:a,hunks:f}}function o(t,e,n,r,o,a,s){var u=i(t,e,n,r,o,a,s),l=[];t==e&&l.push("Index: "+t),l.push("==================================================================="),l.push("--- "+u.oldFileName+("undefined"==typeof u.oldHeader?"":"\t"+u.oldHeader)),l.push("+++ "+u.newFileName+("undefined"==typeof u.newHeader?"":"\t"+u.newHeader));for(var c=0;c<u.hunks.length;c++){var f=u.hunks[c];l.push("@@ -"+f.oldStart+","+f.oldLines+" +"+f.newStart+","+f.newLines+" @@"),l.push.apply(l,f.lines)}return l.join("\n")+"\n"}function a(t,e,n,r,i,a){return o(t,t,e,n,r,i,a)}e.__esModule=!0,e.structuredPatch=i,e.createTwoFilesPatch=o,e.createPatch=a;var s=n(22)},function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t,e,n){var r=!0,i=!1,o=!1,a=1;return function s(){if(r&&!o){if(i?a++:r=!1,t+a<=n)return a;o=!0}if(!i)return o||(r=!0),e<=t-a?-a++:(i=!0,s())}}},function(t,e,n){"use strict";t.exports=n(104)()?Object.assign:n(105)},function(t,e){"use strict";t.exports=function(){var t,e=Object.assign;return"function"==typeof e&&(t={foo:"raz"},e(t,{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}},function(t,e,n){"use strict";var r=n(107),i=n(112),o=Math.max;t.exports=function(t,e){var n,a,s,u=o(arguments.length,2);for(t=Object(i(t)),s=function(r){try{t[r]=e[r]}catch(i){n||(n=i)}},a=1;a<u;++a)e=arguments[a],r(e).forEach(s);if(void 0!==n)throw n;return t}},function(t,e){"use strict";t.exports=function(t){return"function"==typeof t}},function(t,e,n){"use strict";t.exports=n(108)()?Object.keys:n(109)},function(t,e){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}},function(t,e){"use strict";var n=Object.keys;t.exports=function(t){return n(null==t?t:Object(t))}},function(t,e){"use strict";var n=Array.prototype.forEach,r=Object.create,i=function(t,e){var n;for(n in t)e[n]=t[n]};t.exports=function(t){var e=r(null);return n.call(arguments,function(t){null!=t&&i(Object(t),e)}),e}},function(t,e){"use strict";t.exports=function(t){if("function"!=typeof t)throw new TypeError(t+" is not a function");return t}},function(t,e){"use strict";t.exports=function(t){if(null==t)throw new TypeError("Cannot use null or undefined");return t}},function(t,e,n){"use strict";t.exports=n(114)()?String.prototype.contains:n(115)},function(t,e){"use strict";var n="razdwatrzy";t.exports=function(){return"function"==typeof n.contains&&(n.contains("dwa")===!0&&n.contains("foo")===!1)}},function(t,e){"use strict";var n=String.prototype.indexOf;t.exports=function(t){return n.call(this,t,arguments[1])>-1}},function(t,e){"use strict";var n=/[|\\{}()[\]^$+*?.]/g;t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(n,"\\$&")}},function(t,e,n){"use strict";var r,i,o,a,s,u,l,c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},f=n(91),h=n(111),d=Function.prototype.apply,p=Function.prototype.call,v=Object.create,g=Object.defineProperty,m=Object.defineProperties,y=Object.prototype.hasOwnProperty,b={configurable:!0,enumerable:!1,writable:!0};r=function(t,e){var n;return h(e),y.call(this,"__ee__")?n=this.__ee__:(n=b.value=v(null),g(this,"__ee__",b),b.value=null),n[t]?"object"===c(n[t])?n[t].push(e):n[t]=[n[t],e]:n[t]=e,this},i=function(t,e){var n,i;return h(e),i=this,r.call(this,t,n=function(){o.call(i,t,n),d.call(e,this,arguments)}),n.__eeOnceListener__=e,this},o=function(t,e){var n,r,i,o;if(h(e),!y.call(this,"__ee__"))return this;if(n=this.__ee__,!n[t])return this;if(r=n[t],"object"===("undefined"==typeof r?"undefined":c(r)))for(o=0;i=r[o];++o)i!==e&&i.__eeOnceListener__!==e||(2===r.length?n[t]=r[o?0:1]:r.splice(o,1));else r!==e&&r.__eeOnceListener__!==e||delete n[t];return this},a=function(t){var e,n,r,i,o;if(y.call(this,"__ee__")&&(i=this.__ee__[t]))if("object"===("undefined"==typeof i?"undefined":c(i))){for(n=arguments.length,o=new Array(n-1),e=1;e<n;++e)o[e-1]=arguments[e];for(i=i.slice(),e=0;r=i[e];++e)d.call(r,this,o)}else switch(arguments.length){case 1:p.call(i,this);break;case 2:p.call(i,this,arguments[1]);break;case 3:p.call(i,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,o=new Array(n-1),e=1;e<n;++e)o[e-1]=arguments[e];d.call(i,this,o)}},s={on:r,once:i,off:o,emit:a},u={on:f(r),once:f(i),off:f(o),emit:f(a)},l=m({},u),t.exports=e=function(t){return null==t?v(l):m(Object(t),u)},e.methods=s},function(t,e,n){"use strict";var r=n(33),i=new RegExp(r().source);t.exports=i.test.bind(i)},function(t,e){"use strict";function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(c===setTimeout)return setTimeout(t,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(t,0);try{return c(t,0)}catch(e){try{return c.call(null,t,0)}catch(e){return c.call(this,t,0)}}}function o(t){if(f===clearTimeout)return clearTimeout(t);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function a(){v&&d&&(v=!1,d.length?p=d.concat(p):g=-1,p.length&&s())}function s(){if(!v){var t=i(a);v=!0;for(var e=p.length;e;){for(d=p,p=[];++g<e;)d&&d[g].run();g=-1,e=p.length}d=null,v=!1,o(t)}}function u(t,e){this.fun=t,this.array=e}function l(){}var c,f,h=t.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(t){c=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(t){f=r}}();var d,p=[],v=!1,g=-1;h.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];p.push(new u(t,e)),1!==p.length||v||i(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=l,h.addListener=l,h.once=l,h.off=l,h.removeListener=l,h.removeAllListeners=l,h.emit=l,h.binding=function(t){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(t){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},function(t,e,n){"use strict";var r=n(33)();t.exports=function(t){return"string"==typeof t?t.replace(r,""):t}},function(t,e,n){(function(e){"use strict";t.exports=function(){return e.argv.indexOf("--no-color")===-1&&(e.argv.indexOf("--color")!==-1||!(e.stdout&&!e.stdout.isTTY)&&("win32"===e.platform||("COLORTERM"in{NODE_ENV:"production"}||"dumb"!=={NODE_ENV:"production"}.TERM&&!!/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test({NODE_ENV:"production"}.TERM))))}()}).call(e,n(119))},function(t,e){/*!
+function(t){function e(t,e,n,r){var i,o,a,s,u,l,c,h=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:H)!==N&&M(e),e=e||N,D)){if(11!==p&&(u=mt.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(h&&(a=h.getElementById(i))&&R(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return Q.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&w.getElementsByClassName&&e.getElementsByClassName)return Q.apply(n,e.getElementsByClassName(i)),n}if(w.qsa&&!W[t+" "]&&(!F||!F.test(t))){if(1!==p)h=e,c=t;else if("object"!==e.nodeName.toLowerCase()){for((s=e.getAttribute("id"))?s=s.replace(_t,wt):e.setAttribute("id",s=I),l=S(t),o=l.length;o--;)l[o]="#"+s+" "+d(l[o]);c=l.join(","),h=yt.test(t)&&f(e.parentNode)||e}if(c)try{return Q.apply(n,h.querySelectorAll(c)),n}catch(v){}finally{s===I&&e.removeAttribute("id")}}}return j(t.replace(st,"$1"),e,n,r)}function n(){function t(n,r){return e.push(n+" ")>C.cacheLength&&delete t[e.shift()],t[n+" "]=r}var e=[];return t}function r(t){return t[I]=!0,t}function i(t){var e=N.createElement("fieldset");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),r=n.length;r--;)C.attrHandle[n[r]]=e}function a(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function s(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function u(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function l(t){return function(e){return"label"in e&&e.disabled===t||"form"in e&&e.disabled===t||"form"in e&&e.disabled===!1&&(e.isDisabled===t||e.isDisabled!==!t&&("label"in e||!kt(e))!==t)}}function c(t){return r(function(e){return e=+e,r(function(n,r){for(var i,o=t([],n.length,e),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function f(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function h(){}function d(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function p(t,e,n){var r=e.dir,i=e.next,o=i||r,a=n&&"parentNode"===o,s=V++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||a)return t(e,n,i)}:function(e,n,u){var l,c,f,h=[q,s];if(u){for(;e=e[r];)if((1===e.nodeType||a)&&t(e,n,u))return!0}else for(;e=e[r];)if(1===e.nodeType||a)if(f=e[I]||(e[I]={}),c=f[e.uniqueID]||(f[e.uniqueID]={}),i&&i===e.nodeName.toLowerCase())e=e[r]||e;else{if((l=c[o])&&l[0]===q&&l[1]===s)return h[2]=l[2];if(c[o]=h,h[2]=t(e,n,u))return!0}}}function v(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function g(t,n,r){for(var i=0,o=n.length;i<o;i++)e(t,n[i],r);return r}function m(t,e,n,r,i){for(var o,a=[],s=0,u=t.length,l=null!=e;s<u;s++)(o=t[s])&&(n&&!n(o,r,i)||(a.push(o),l&&e.push(s)));return a}function y(t,e,n,i,o,a){return i&&!i[I]&&(i=y(i)),o&&!o[I]&&(o=y(o,a)),r(function(r,a,s,u){var l,c,f,h=[],d=[],p=a.length,v=r||g(e||"*",s.nodeType?[s]:s,[]),y=!t||!r&&e?v:m(v,h,t,s,u),b=n?o||(r?t:p||i)?[]:a:y;if(n&&n(y,b,s,u),i)for(l=m(b,d),i(l,[],s,u),c=l.length;c--;)(f=l[c])&&(b[d[c]]=!(y[d[c]]=f));if(r){if(o||t){if(o){for(l=[],c=b.length;c--;)(f=b[c])&&l.push(y[c]=f);o(null,b=[],l,u)}for(c=b.length;c--;)(f=b[c])&&(l=o?tt(r,f):h[c])>-1&&(r[l]=!(a[l]=f))}}else b=m(b===a?b.splice(p,b.length):b),o?o(null,a,b,u):Q.apply(a,b)})}function b(t){for(var e,n,r,i=t.length,o=C.relative[t[0].type],a=o||C.relative[" "],s=o?1:0,u=p(function(t){return t===e},a,!0),l=p(function(t){return tt(e,t)>-1},a,!0),c=[function(t,n,r){var i=!o&&(r||n!==E)||((e=n).nodeType?u(t,n,r):l(t,n,r));return e=null,i}];s<i;s++)if(n=C.relative[t[s].type])c=[p(v(c),n)];else{if(n=C.filter[t[s].type].apply(null,t[s].matches),n[I]){for(r=++s;r<i&&!C.relative[t[r].type];r++);return y(s>1&&v(c),s>1&&d(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(st,"$1"),n,s<r&&b(t.slice(s,r)),r<i&&b(t=t.slice(r)),r<i&&d(t))}c.push(n)}return v(c)}function x(t,n){var i=n.length>0,o=t.length>0,a=function(r,a,s,u,l){var c,f,h,d=0,p="0",v=r&&[],g=[],y=E,b=r||o&&C.find.TAG("*",l),x=q+=null==y?1:Math.random()||.1,_=b.length;for(l&&(E=a===N||a||l);p!==_&&null!=(c=b[p]);p++){if(o&&c){for(f=0,a||c.ownerDocument===N||(M(c),s=!D);h=t[f++];)if(h(c,a||N,s)){u.push(c);break}l&&(q=x)}i&&((c=!h&&c)&&d--,r&&v.push(c))}if(d+=p,i&&p!==d){for(f=0;h=n[f++];)h(v,g,a,s);if(r){if(d>0)for(;p--;)v[p]||g[p]||(g[p]=Z.call(u));g=m(g)}Q.apply(u,g),l&&!r&&g.length>0&&d+n.length>1&&e.uniqueSort(u)}return l&&(q=x,E=y),v};return i?r(a):a}var _,w,C,k,T,S,A,j,E,$,O,M,N,P,D,F,B,L,R,I="sizzle"+1*new Date,H=t.document,q=0,V=0,z=n(),U=n(),W=n(),X=function(t,e){return t===e&&(O=!0),0},J={}.hasOwnProperty,G=[],Z=G.pop,Y=G.push,Q=G.push,K=G.slice,tt=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",rt="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",it="\\["+nt+"*("+rt+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+rt+"))|)"+nt+"*\\]",ot=":("+rt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+it+")*)|.*)\\)|)",at=new RegExp(nt+"+","g"),st=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),ut=new RegExp("^"+nt+"*,"+nt+"*"),lt=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),ct=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),ft=new RegExp(ot),ht=new RegExp("^"+rt+"$"),dt={ID:new RegExp("^#("+rt+")"),CLASS:new RegExp("^\\.("+rt+")"),TAG:new RegExp("^("+rt+"|[*])"),ATTR:new RegExp("^"+it),PSEUDO:new RegExp("^"+ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},pt=/^(?:input|select|textarea|button)$/i,vt=/^h\d$/i,gt=/^[^{]+\{\s*\[native \w/,mt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,bt=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),xt=function(t,e,n){var r="0x"+e-65536;return r!==r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},_t=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,wt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Ct=function(){M()},kt=p(function(t){return t.disabled===!0},{dir:"parentNode",next:"legend"});try{Q.apply(G=K.call(H.childNodes),H.childNodes),G[H.childNodes.length].nodeType}catch(Tt){Q={apply:G.length?function(t,e){Y.apply(t,K.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}w=e.support={},T=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},M=e.setDocument=function(t){var e,n,r=t?t.ownerDocument||t:H;return r!==N&&9===r.nodeType&&r.documentElement?(N=r,P=N.documentElement,D=!T(N),H!==N&&(n=N.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Ct,!1):n.attachEvent&&n.attachEvent("onunload",Ct)),w.attributes=i(function(t){return t.className="i",!t.getAttribute("className")}),w.getElementsByTagName=i(function(t){return t.appendChild(N.createComment("")),!t.getElementsByTagName("*").length}),w.getElementsByClassName=gt.test(N.getElementsByClassName),w.getById=i(function(t){return P.appendChild(t).id=I,!N.getElementsByName||!N.getElementsByName(I).length}),w.getById?(C.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&D){var n=e.getElementById(t);return n?[n]:[]}},C.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){return t.getAttribute("id")===e}}):(delete C.find.ID,C.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),C.find.TAG=w.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):w.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},C.find.CLASS=w.getElementsByClassName&&function(t,e){if("undefined"!=typeof e.getElementsByClassName&&D)return e.getElementsByClassName(t)},B=[],F=[],(w.qsa=gt.test(N.querySelectorAll))&&(i(function(t){P.appendChild(t).innerHTML="<a id='"+I+"'></a><select id='"+I+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&F.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||F.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+I+"-]").length||F.push("~="),t.querySelectorAll(":checked").length||F.push(":checked"),t.querySelectorAll("a#"+I+"+*").length||F.push(".#.+[+~]")}),i(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=N.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&F.push("name"+nt+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&F.push(":enabled",":disabled"),P.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&F.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),F.push(",.*:")})),(w.matchesSelector=gt.test(L=P.matches||P.webkitMatchesSelector||P.mozMatchesSelector||P.oMatchesSelector||P.msMatchesSelector))&&i(function(t){w.disconnectedMatch=L.call(t,"*"),L.call(t,"[s!='']:x"),B.push("!=",ot)}),F=F.length&&new RegExp(F.join("|")),B=B.length&&new RegExp(B.join("|")),e=gt.test(P.compareDocumentPosition),R=e||gt.test(P.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},X=e?function(t,e){if(t===e)return O=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!w.sortDetached&&e.compareDocumentPosition(t)===n?t===N||t.ownerDocument===H&&R(H,t)?-1:e===N||e.ownerDocument===H&&R(H,e)?1:$?tt($,t)-tt($,e):0:4&n?-1:1)}:function(t,e){if(t===e)return O=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,s=[t],u=[e];if(!i||!o)return t===N?-1:e===N?1:i?-1:o?1:$?tt($,t)-tt($,e):0;if(i===o)return a(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===H?-1:u[r]===H?1:0},N):N},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==N&&M(t),n=n.replace(ct,"='$1']"),w.matchesSelector&&D&&!W[n+" "]&&(!B||!B.test(n))&&(!F||!F.test(n)))try{var r=L.call(t,n);if(r||w.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(i){}return e(n,N,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==N&&M(t),R(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==N&&M(t);var n=C.attrHandle[e.toLowerCase()],r=n&&J.call(C.attrHandle,e.toLowerCase())?n(t,e,!D):void 0;return void 0!==r?r:w.attributes||!D?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},e.escape=function(t){return(t+"").replace(_t,wt)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],r=0,i=0;if(O=!w.detectDuplicates,$=!w.sortStable&&t.slice(0),t.sort(X),O){for(;e=t[i++];)e===t[i]&&(r=n.push(i));for(;r--;)t.splice(n[r],1)}return $=null,t},k=e.getText=function(t){var e,n="",r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=k(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=k(e);return n},C=e.selectors={cacheLength:50,createPseudo:r,match:dt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,xt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return dt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ft.test(n)&&(e=S(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=z[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&z(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(i){var o=e.attr(i,t);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(at," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,u){var l,c,f,h,d,p,v=o!==a?"nextSibling":"previousSibling",g=e.parentNode,m=s&&e.nodeName.toLowerCase(),y=!u&&!s,b=!1;if(g){if(o){for(;v;){for(h=e;h=h[v];)if(s?h.nodeName.toLowerCase()===m:1===h.nodeType)return!1;p=v="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&y){for(h=g,f=h[I]||(h[I]={}),c=f[h.uniqueID]||(f[h.uniqueID]={}),l=c[t]||[],d=l[0]===q&&l[1],b=d&&l[2],h=d&&g.childNodes[d];h=++d&&h&&h[v]||(b=d=0)||p.pop();)if(1===h.nodeType&&++b&&h===e){c[t]=[q,d,b];break}}else if(y&&(h=e,f=h[I]||(h[I]={}),c=f[h.uniqueID]||(f[h.uniqueID]={}),l=c[t]||[],d=l[0]===q&&l[1],b=d),b===!1)for(;(h=++d&&h&&h[v]||(b=d=0)||p.pop())&&((s?h.nodeName.toLowerCase()!==m:1!==h.nodeType)||!++b||(y&&(f=h[I]||(h[I]={}),c=f[h.uniqueID]||(f[h.uniqueID]={}),c[t]=[q,b]),h!==e)););return b-=i,b===r||b%r===0&&b/r>=0}}},PSEUDO:function(t,n){var i,o=C.pseudos[t]||C.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[I]?o(n):o.length>1?(i=[t,t,"",n],C.setFilters.hasOwnProperty(t.toLowerCase())?r(function(t,e){for(var r,i=o(t,n),a=i.length;a--;)r=tt(t,i[a]),t[r]=!(e[r]=i[a])}):function(t){return o(t,0,i)}):o}},pseudos:{not:r(function(t){var e=[],n=[],i=A(t.replace(st,"$1"));return i[I]?r(function(t,e,n,r){for(var o,a=i(t,null,r,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}}),has:r(function(t){return function(n){return e(t,n).length>0}}),contains:r(function(t){return t=t.replace(bt,xt),function(e){return(e.textContent||e.innerText||k(e)).indexOf(t)>-1}}),lang:r(function(t){return ht.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(bt,xt).toLowerCase(),function(e){var n;do if(n=D?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===P},focus:function(t){return t===N.activeElement&&(!N.hasFocus||N.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:l(!1),disabled:l(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!C.pseudos.empty(t)},header:function(t){return vt.test(t.nodeName)},input:function(t){return pt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:c(function(){return[0]}),last:c(function(t,e){return[e-1]}),eq:c(function(t,e,n){return[n<0?n+e:n]}),even:c(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:c(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:c(function(t,e,n){for(var r=n<0?n+e:n;--r>=0;)t.push(r);return t}),gt:c(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}},C.pseudos.nth=C.pseudos.eq;for(_ in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[_]=s(_);for(_ in{submit:!0,reset:!0})C.pseudos[_]=u(_);return h.prototype=C.filters=C.pseudos,C.setFilters=new h,S=e.tokenize=function(t,n){var r,i,o,a,s,u,l,c=U[t+" "];if(c)return n?0:c.slice(0);for(s=t,u=[],l=C.preFilter;s;){r&&!(i=ut.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=lt.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(st," ")}),s=s.slice(r.length));for(a in C.filter)!(i=dt[a].exec(s))||l[a]&&!(i=l[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?e.error(t):U(t,u).slice(0)},A=e.compile=function(t,e){var n,r=[],i=[],o=W[t+" "];if(!o){for(e||(e=S(t)),n=e.length;n--;)o=b(e[n]),o[I]?r.push(o):i.push(o);o=W(t,x(i,r)),o.selector=t}return o},j=e.select=function(t,e,n,r){var i,o,a,s,u,l="function"==typeof t&&t,c=!r&&S(t=l.selector||t);if(n=n||[],1===c.length){if(o=c[0]=c[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&w.getById&&9===e.nodeType&&D&&C.relative[o[1].type]){if(e=(C.find.ID(a.matches[0].replace(bt,xt),e)||[])[0],!e)return n;l&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(i=dt.needsContext.test(t)?0:o.length;i--&&(a=o[i],!C.relative[s=a.type]);)if((u=C.find[s])&&(r=u(a.matches[0].replace(bt,xt),yt.test(o[0].type)&&f(e.parentNode)||e))){if(o.splice(i,1),t=r.length&&d(o),!t)return Q.apply(n,r),n;break}}return(l||A(t,c))(r,e,!D,n,!e||yt.test(t)&&f(e.parentNode)||e),n},w.sortStable=I.split("").sort(X).join("")===I,w.detectDuplicates=!!O,M(),w.sortDetached=i(function(t){return 1&t.compareDocumentPosition(N.createElement("fieldset"))}),i(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),w.attributes&&i(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),i(function(t){return null==t.getAttribute("disabled")})||o(et,function(t,e,n){var r;if(!n)return t[e]===!0?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),e}(o);mt.find=wt,mt.expr=wt.selectors,mt.expr[":"]=mt.expr.pseudos,mt.uniqueSort=mt.unique=wt.uniqueSort,mt.text=wt.getText,mt.isXMLDoc=wt.isXML,mt.contains=wt.contains,mt.escapeSelector=wt.escape;var Ct=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&mt(t).is(n))break;r.push(t)}return r},kt=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},Tt=mt.expr.match.needsContext,St=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,At=/^.[^:#\[\.,]*$/;mt.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?mt.find.matchesSelector(r,t)?[r]:[]:mt.find.matches(t,mt.grep(e,function(t){return 1===t.nodeType}))},mt.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(mt(t).filter(function(){for(e=0;e<r;e++)if(mt.contains(i[e],this))return!0}));for(n=this.pushStack([]),e=0;e<r;e++)mt.find(t,i[e],n);return r>1?mt.uniqueSort(n):n},filter:function(t){return this.pushStack(l(this,t||[],!1))},not:function(t){return this.pushStack(l(this,t||[],!0))},is:function(t){return!!l(this,"string"==typeof t&&Tt.test(t)?mt(t):t||[],!1).length}});var jt,Et=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,$t=mt.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||jt,"string"==typeof t){if(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Et.exec(t),!r||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof mt?e[0]:e,mt.merge(this,mt.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:it,!0)),St.test(r[1])&&mt.isPlainObject(e))for(r in e)mt.isFunction(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return i=it.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):mt.isFunction(t)?void 0!==n.ready?n.ready(t):t(mt):mt.makeArray(t,this)};$t.prototype=mt.fn,jt=mt(it);var Ot=/^(?:parents|prev(?:Until|All))/,Mt={children:!0,contents:!0,next:!0,prev:!0};mt.fn.extend({has:function(t){var e=mt(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(mt.contains(this,e[t]))return!0})},closest:function(t,e){var n,r=0,i=this.length,o=[],a="string"!=typeof t&&mt(t);if(!Tt.test(t))for(;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&mt.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?mt.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?lt.call(mt(t),this[0]):lt.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(mt.uniqueSort(mt.merge(this.get(),mt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),mt.each({parent:function tn(t){var tn=t.parentNode;return tn&&11!==tn.nodeType?tn:null},parents:function(t){return Ct(t,"parentNode")},parentsUntil:function(t,e,n){return Ct(t,"parentNode",n)},next:function(t){return c(t,"nextSibling")},prev:function(t){return c(t,"previousSibling")},nextAll:function(t){return Ct(t,"nextSibling")},prevAll:function(t){return Ct(t,"previousSibling")},nextUntil:function(t,e,n){return Ct(t,"nextSibling",n)},prevUntil:function(t,e,n){return Ct(t,"previousSibling",n)},siblings:function(t){return kt((t.parentNode||{}).firstChild,t)},children:function(t){return kt(t.firstChild)},contents:function(t){return t.contentDocument||mt.merge([],t.childNodes)}},function(t,e){mt.fn[t]=function(n,r){var i=mt.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=mt.filter(r,i)),this.length>1&&(Mt[t]||mt.uniqueSort(i),Ot.test(t)&&i.reverse()),this.pushStack(i)}});var Nt=/\S+/g;mt.Callbacks=function(t){t="string"==typeof t?f(t):mt.extend({},t);var e,n,r,i,o=[],a=[],s=-1,u=function(){for(i=t.once,r=e=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)o[s].apply(n[0],n[1])===!1&&t.stopOnFalse&&(s=o.length,n=!1);t.memory||(n=!1),e=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!e&&(s=o.length-1,a.push(n)),function r(e){mt.each(e,function(e,n){mt.isFunction(n)?t.unique&&l.has(n)||o.push(n):n&&n.length&&"string"!==mt.type(n)&&r(n)})}(arguments),n&&!e&&u()),this},remove:function(){return mt.each(arguments,function(t,e){for(var n;(n=mt.inArray(e,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(t){return t?mt.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||e||(o=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=n||[],n=[t,n.slice?n.slice():n],a.push(n),e||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},mt.extend({Deferred:function(t){var e=[["notify","progress",mt.Callbacks("memory"),mt.Callbacks("memory"),2],["resolve","done",mt.Callbacks("once memory"),mt.Callbacks("once memory"),0,"resolved"],["reject","fail",mt.Callbacks("once memory"),mt.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},"catch":function(t){return i.then(null,t)},pipe:function(){var t=arguments;return mt.Deferred(function(n){mt.each(e,function(e,r){var i=mt.isFunction(t[r[4]])&&t[r[4]];a[r[1]](function(){var t=i&&i.apply(this,arguments);t&&mt.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){function a(t,e,r,i){return function(){var u=this,l=arguments,c=function(){var o,c;if(!(t<s)){if(o=r.apply(u,l),o===e.promise())throw new TypeError("Thenable self-resolution");c=o&&("object"===("undefined"==typeof o?"undefined":n(o))||"function"==typeof o)&&o.then,mt.isFunction(c)?i?c.call(o,a(s,e,h,i),a(s,e,d,i)):(s++,c.call(o,a(s,e,h,i),a(s,e,d,i),a(s,e,h,e.notifyWith))):(r!==h&&(u=void 0,l=[o]),(i||e.resolveWith)(u,l))}},f=i?c:function(){try{c()}catch(n){mt.Deferred.exceptionHook&&mt.Deferred.exceptionHook(n,f.stackTrace),t+1>=s&&(r!==d&&(u=void 0,l=[n]),e.rejectWith(u,l))}};t?f():(mt.Deferred.getStackHook&&(f.stackTrace=mt.Deferred.getStackHook()),o.setTimeout(f))}}var s=0;return mt.Deferred(function(n){e[0][3].add(a(0,n,mt.isFunction(i)?i:h,n.notifyWith)),e[1][3].add(a(0,n,mt.isFunction(t)?t:h)),e[2][3].add(a(0,n,mt.isFunction(r)?r:d))}).promise()},promise:function(t){return null!=t?mt.extend(t,i):i}},a={};return mt.each(e,function(t,n){var o=n[2],s=n[5];i[n[1]]=o.add,s&&o.add(function(){r=s},e[3-t][2].disable,e[0][2].lock),o.add(n[3].fire),a[n[0]]=function(){return a[n[0]+"With"](this===a?void 0:this,arguments),this},a[n[0]+"With"]=o.fireWith}),i.promise(a),t&&t.call(a,a),a},when:function(t){var e=arguments.length,n=e,r=Array(n),i=at.call(arguments),o=mt.Deferred(),a=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?at.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(p(t,o.done(a(n)).resolve,o.reject),"pending"===o.state()||mt.isFunction(i[n]&&i[n].then)))return o.then();for(;n--;)p(i[n],a(n),o.reject);return o.promise()}});var Pt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;mt.Deferred.exceptionHook=function(t,e){o.console&&o.console.warn&&t&&Pt.test(t.name)&&o.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},mt.readyException=function(t){o.setTimeout(function(){throw t})};var Dt=mt.Deferred();mt.fn.ready=function(t){return Dt.then(t)["catch"](function(t){mt.readyException(t)}),this},mt.extend({isReady:!1,readyWait:1,holdReady:function(t){t?mt.readyWait++:mt.ready(!0)},ready:function(t){(t===!0?--mt.readyWait:mt.isReady)||(mt.isReady=!0,t!==!0&&--mt.readyWait>0||Dt.resolveWith(it,[mt]))}}),mt.ready.then=Dt.then,"complete"===it.readyState||"loading"!==it.readyState&&!it.documentElement.doScroll?o.setTimeout(mt.ready):(it.addEventListener("DOMContentLoaded",v),o.addEventListener("load",v));var Ft=function en(t,e,n,r,i,o,a){var s=0,u=t.length,l=null==n;if("object"===mt.type(n)){i=!0;for(s in n)en(t,e,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,mt.isFunction(r)||(a=!0),l&&(a?(e.call(t,r),e=null):(l=e,e=function(t,e,n){return l.call(mt(t),n)})),e))for(;s<u;s++)e(t[s],n,a?r:r.call(t[s],s,e(t[s],n)));return i?t:l?e.call(t):u?e(t[0],n):o},Bt=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};g.uid=1,g.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Bt(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[mt.camelCase(e)]=n;else for(r in e)i[mt.camelCase(r)]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][mt.camelCase(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){mt.isArray(e)?e=e.map(mt.camelCase):(e=mt.camelCase(e),e=e in r?[e]:e.match(Nt)||[]),n=e.length;for(;n--;)delete r[e[n]]}(void 0===e||mt.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!mt.isEmptyObject(e)}};var Lt=new g,Rt=new g,It=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ht=/[A-Z]/g;mt.extend({hasData:function(t){return Rt.hasData(t)||Lt.hasData(t)},data:function(t,e,n){return Rt.access(t,e,n)},removeData:function(t,e){Rt.remove(t,e)},_data:function(t,e,n){return Lt.access(t,e,n)},_removeData:function(t,e){Lt.remove(t,e)}}),mt.fn.extend({data:function nn(t,e){var r,i,nn,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(nn=Rt.get(o),1===o.nodeType&&!Lt.get(o,"hasDataAttrs"))){for(r=a.length;r--;)a[r]&&(i=a[r].name,0===i.indexOf("data-")&&(i=mt.camelCase(i.slice(5)),m(o,i,nn[i])));Lt.set(o,"hasDataAttrs",!0)}return nn}return"object"===("undefined"==typeof t?"undefined":n(t))?this.each(function(){Rt.set(this,t)}):Ft(this,function(e){var n;if(o&&void 0===e){if(n=Rt.get(o,t),void 0!==n)return n;if(n=m(o,t),void 0!==n)return n}else this.each(function(){Rt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Rt.remove(this,t)})}}),mt.extend({queue:function rn(t,e,n){var rn;if(t)return e=(e||"fx")+"queue",rn=Lt.get(t,e),n&&(!rn||mt.isArray(n)?rn=Lt.access(t,e,mt.makeArray(n)):rn.push(n)),rn||[]},dequeue:function(t,e){e=e||"fx";var n=mt.queue(t,e),r=n.length,i=n.shift(),o=mt._queueHooks(t,e),a=function(){mt.dequeue(t,e)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Lt.get(t,n)||Lt.access(t,n,{empty:mt.Callbacks("once memory").add(function(){Lt.remove(t,[e+"queue",n])})})}}),mt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?mt.queue(this[0],t):void 0===e?this:this.each(function(){var n=mt.queue(this,t,e);mt._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&mt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){mt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=mt.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)n=Lt.get(o[a],t+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(e)}});var qt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Vt=new RegExp("^(?:([+-])=|)("+qt+")([a-z%]*)$","i"),zt=["Top","Right","Bottom","Left"],Ut=function(t,e){return t=e||t,"none"===t.style.display||""===t.style.display&&mt.contains(t.ownerDocument,t)&&"none"===mt.css(t,"display")},Wt=function(t,e,n,r){var i,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];i=n.apply(t,r||[]);for(o in e)t.style[o]=a[o];return i},Xt={};mt.fn.extend({show:function(){return x(this,!0)},hide:function(){return x(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Ut(this)?mt(this).show():mt(this).hide()})}});var Jt=/^(?:checkbox|radio)$/i,Gt=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Zt=/^$|\/(?:java|ecma)script/i,Yt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Yt.optgroup=Yt.option,Yt.tbody=Yt.tfoot=Yt.colgroup=Yt.caption=Yt.thead,Yt.th=Yt.td;var Qt=/<|&#?\w+;/;!function(){var t=it.createDocumentFragment(),e=t.appendChild(it.createElement("div")),n=it.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),vt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,
+e.innerHTML="<textarea>x</textarea>",vt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Kt=it.documentElement,te=/^key/,ee=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ne=/^([^.]*)(?:\.(.+)|)/;mt.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,h,d,p,v,g=Lt.get(t);if(g)for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&mt.find.matchesSelector(Kt,i),n.guid||(n.guid=mt.guid++),(u=g.events)||(u=g.events={}),(a=g.handle)||(a=g.handle=function(e){return"undefined"!=typeof mt&&mt.event.triggered!==e.type?mt.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Nt)||[""],l=e.length;l--;)s=ne.exec(e[l])||[],d=v=s[1],p=(s[2]||"").split(".").sort(),d&&(f=mt.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=mt.event.special[d]||{},c=mt.extend({type:d,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&mt.expr.match.needsContext.test(i),namespace:p.join(".")},o),(h=u[d])||(h=u[d]=[],h.delegateCount=0,f.setup&&f.setup.call(t,r,p,a)!==!1||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,c):h.push(c),mt.event.global[d]=!0)},remove:function(t,e,n,r,i){var o,a,s,u,l,c,f,h,d,p,v,g=Lt.hasData(t)&&Lt.get(t);if(g&&(u=g.events)){for(e=(e||"").match(Nt)||[""],l=e.length;l--;)if(s=ne.exec(e[l])||[],d=v=s[1],p=(s[2]||"").split(".").sort(),d){for(f=mt.event.special[d]||{},d=(r?f.delegateType:f.bindType)||d,h=u[d]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)c=h[o],!i&&v!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(h.splice(o,1),c.selector&&h.delegateCount--,f.remove&&f.remove.call(t,c));a&&!h.length&&(f.teardown&&f.teardown.call(t,p,g.handle)!==!1||mt.removeEvent(t,d,g.handle),delete u[d])}else for(d in u)mt.event.remove(t,d+e[l],n,r,!0);mt.isEmptyObject(u)&&Lt.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,a,s=mt.event.fix(t),u=new Array(arguments.length),l=(Lt.get(this,"events")||{})[s.type]||[],c=mt.event.special[s.type]||{};for(u[0]=s,e=1;e<arguments.length;e++)u[e]=arguments[e];if(s.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,s)!==!1){for(a=mt.event.handlers.call(this,s,l),e=0;(i=a[e++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,r=((mt.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u),void 0!==r&&(s.result=r)===!1&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(t,e){var n,r,i,o,a=[],s=e.delegateCount,u=t.target;if(s&&u.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==t.type)){for(r=[],n=0;n<s;n++)o=e[n],i=o.selector+" ",void 0===r[i]&&(r[i]=o.needsContext?mt(i,this).index(u)>-1:mt.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&a.push({elem:u,handlers:r})}return s<e.length&&a.push({elem:this,handlers:e.slice(s)}),a},addProp:function(t,e){Object.defineProperty(mt.Event.prototype,t,{enumerable:!0,configurable:!0,get:mt.isFunction(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[mt.expando]?t:new mt.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==S()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===S()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&mt.nodeName(this,"input"))return this.click(),!1},_default:function(t){return mt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},mt.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},mt.Event=function(t,e){return this instanceof mt.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?k:T,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&mt.extend(this,e),this.timeStamp=t&&t.timeStamp||mt.now(),void(this[mt.expando]=!0)):new mt.Event(t,e)},mt.Event.prototype={constructor:mt.Event,isDefaultPrevented:T,isPropagationStopped:T,isImmediatePropagationStopped:T,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=k,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=k,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=k,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},mt.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&te.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&ee.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},mt.event.addProp),mt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){mt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=this,i=t.relatedTarget,o=t.handleObj;return i&&(i===r||mt.contains(r,i))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),mt.fn.extend({on:function(t,e,n,r){return A(this,t,e,n,r)},one:function(t,e,n,r){return A(this,t,e,n,r,1)},off:function(t,e,r){var i,o;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,mt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"===("undefined"==typeof t?"undefined":n(t))){for(o in t)this.off(o,e,t[o]);return this}return e!==!1&&"function"!=typeof e||(r=e,e=void 0),r===!1&&(r=T),this.each(function(){mt.event.remove(this,t,r,e)})}});var re=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ie=/<script|<style|<link/i,oe=/checked\s*(?:[^=]|=\s*.checked.)/i,ae=/^true\/(.*)/,se=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;mt.extend({htmlPrefilter:function(t){return t.replace(re,"<$1></$2>")},clone:function on(t,e,n){var r,i,o,a,on=t.cloneNode(!0),s=mt.contains(t.ownerDocument,t);if(!(vt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||mt.isXMLDoc(t)))for(a=_(on),o=_(t),r=0,i=o.length;r<i;r++)M(o[r],a[r]);if(e)if(n)for(o=o||_(t),a=a||_(on),r=0,i=o.length;r<i;r++)O(o[r],a[r]);else O(t,on);return a=_(on,"script"),a.length>0&&w(a,!s&&_(t,"script")),on},cleanData:function(t){for(var e,n,r,i=mt.event.special,o=0;void 0!==(n=t[o]);o++)if(Bt(n)){if(e=n[Lt.expando]){if(e.events)for(r in e.events)i[r]?mt.event.remove(n,r):mt.removeEvent(n,r,e.handle);n[Lt.expando]=void 0}n[Rt.expando]&&(n[Rt.expando]=void 0)}}}),mt.fn.extend({detach:function(t){return P(this,t,!0)},remove:function(t){return P(this,t)},text:function(t){return Ft(this,function(t){return void 0===t?mt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return N(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=j(this,t);e.appendChild(t)}})},prepend:function(){return N(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=j(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return N(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return N(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(mt.cleanData(_(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return mt.clone(this,t,e)})},html:function(t){return Ft(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!ie.test(t)&&!Yt[(Gt.exec(t)||["",""])[1].toLowerCase()]){t=mt.htmlPrefilter(t);try{for(;n<r;n++)e=this[n]||{},1===e.nodeType&&(mt.cleanData(_(e,!1)),e.innerHTML=t);e=0}catch(i){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return N(this,arguments,function(e){var n=this.parentNode;mt.inArray(this,t)<0&&(mt.cleanData(_(this)),n&&n.replaceChild(e,this))},t)}}),mt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){mt.fn[t]=function(t){for(var n,r=[],i=mt(t),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),mt(i[a])[e](n),ut.apply(r,n.get());return this.pushStack(r)}});var ue=/^margin/,le=new RegExp("^("+qt+")(?!px)[a-z%]+$","i"),ce=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=o),e.getComputedStyle(t)};!function(){function t(){if(s){s.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",Kt.appendChild(a);var t=o.getComputedStyle(s);e="1%"!==t.top,i="2px"===t.marginLeft,n="4px"===t.width,s.style.marginRight="50%",r="4px"===t.marginRight,Kt.removeChild(a),s=null}}var e,n,r,i,a=it.createElement("div"),s=it.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",vt.clearCloneStyle="content-box"===s.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(s),mt.extend(vt,{pixelPosition:function(){return t(),e},boxSizingReliable:function(){return t(),n},pixelMarginRight:function(){return t(),r},reliableMarginLeft:function(){return t(),i}}))}();var fe=/^(none|table(?!-c[ea]).+)/,he={position:"absolute",visibility:"hidden",display:"block"},de={letterSpacing:"0",fontWeight:"400"},pe=["Webkit","Moz","ms"],ve=it.createElement("div").style;mt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=D(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function an(t,e,r,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,a,s,u=mt.camelCase(e),an=t.style;return e=mt.cssProps[u]||(mt.cssProps[u]=B(u)||u),s=mt.cssHooks[e]||mt.cssHooks[u],void 0===r?s&&"get"in s&&void 0!==(o=s.get(t,!1,i))?o:an[e]:(a="undefined"==typeof r?"undefined":n(r),"string"===a&&(o=Vt.exec(r))&&o[1]&&(r=y(t,e,o),a="number"),null!=r&&r===r&&("number"===a&&(r+=o&&o[3]||(mt.cssNumber[u]?"":"px")),vt.clearCloneStyle||""!==r||0!==e.indexOf("background")||(an[e]="inherit"),s&&"set"in s&&void 0===(r=s.set(t,r,i))||(an[e]=r)),void 0)}},css:function(t,e,n,r){var i,o,a,s=mt.camelCase(e);return e=mt.cssProps[s]||(mt.cssProps[s]=B(s)||s),a=mt.cssHooks[e]||mt.cssHooks[s],a&&"get"in a&&(i=a.get(t,!0,n)),void 0===i&&(i=D(t,e,r)),"normal"===i&&e in de&&(i=de[e]),""===n||n?(o=parseFloat(i),n===!0||isFinite(o)?o||0:i):i}}),mt.each(["height","width"],function(t,e){mt.cssHooks[e]={get:function(t,n,r){if(n)return!fe.test(mt.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?I(t,e,r):Wt(t,he,function(){return I(t,e,r)})},set:function(t,n,r){var i,o=r&&ce(t),a=r&&R(t,e,r,"border-box"===mt.css(t,"boxSizing",!1,o),o);return a&&(i=Vt.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=mt.css(t,e)),L(t,n,a)}}}),mt.cssHooks.marginLeft=F(vt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(D(t,"marginLeft"))||t.getBoundingClientRect().left-Wt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),mt.each({margin:"",padding:"",border:"Width"},function(t,e){mt.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+zt[r]+e]=o[r]||o[r-2]||o[0];return i}},ue.test(t)||(mt.cssHooks[t+e].set=L)}),mt.fn.extend({css:function(t,e){return Ft(this,function(t,e,n){var r,i,o={},a=0;if(mt.isArray(e)){for(r=ce(t),i=e.length;a<i;a++)o[e[a]]=mt.css(t,e[a],!1,r);return o}return void 0!==n?mt.style(t,e,n):mt.css(t,e)},t,e,arguments.length>1)}}),mt.Tween=H,H.prototype={constructor:H,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||mt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(mt.cssNumber[n]?"":"px")},cur:function(){var t=H.propHooks[this.prop];return t&&t.get?t.get(this):H.propHooks._default.get(this)},run:function(t){var e,n=H.propHooks[this.prop];return this.options.duration?this.pos=e=mt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):H.propHooks._default.set(this),this}},H.prototype.init.prototype=H.prototype,H.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=mt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){mt.fx.step[t.prop]?mt.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[mt.cssProps[t.prop]]&&!mt.cssHooks[t.prop]?t.elem[t.prop]=t.now:mt.style(t.elem,t.prop,t.now+t.unit)}}},H.propHooks.scrollTop=H.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},mt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},mt.fx=H.prototype.init,mt.fx.step={};var ge,me,ye=/^(?:toggle|show|hide)$/,be=/queueHooks$/;mt.Animation=mt.extend(J,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return y(n.elem,t,Vt.exec(e),n),n}]},tweener:function(t,e){mt.isFunction(t)?(e=t,t=["*"]):t=t.match(Nt);for(var n,r=0,i=t.length;r<i;r++)n=t[r],J.tweeners[n]=J.tweeners[n]||[],J.tweeners[n].unshift(e)},prefilters:[W],prefilter:function(t,e){e?J.prefilters.unshift(t):J.prefilters.push(t)}}),mt.speed=function(t,e,r){var i=t&&"object"===("undefined"==typeof t?"undefined":n(t))?mt.extend({},t):{complete:r||!r&&e||mt.isFunction(t)&&t,duration:t,easing:r&&e||e&&!mt.isFunction(e)&&e};return mt.fx.off||it.hidden?i.duration=0:i.duration="number"==typeof i.duration?i.duration:i.duration in mt.fx.speeds?mt.fx.speeds[i.duration]:mt.fx.speeds._default,null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(){mt.isFunction(i.old)&&i.old.call(this),i.queue&&mt.dequeue(this,i.queue)},i},mt.fn.extend({fadeTo:function(t,e,n,r){return this.filter(Ut).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=mt.isEmptyObject(t),o=mt.speed(e,n,r),a=function(){var e=J(this,mt.extend({},t),o);(i||Lt.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",o=mt.timers,a=Lt.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&be.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||mt.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=Lt.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=mt.timers,a=r?r.length:0;for(n.finish=!0,mt.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),mt.each(["toggle","show","hide"],function(t,e){var n=mt.fn[e];mt.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(z(e,!0),t,r,i)}}),mt.each({slideDown:z("show"),slideUp:z("hide"),slideToggle:z("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){mt.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),mt.timers=[],mt.fx.tick=function(){var t,e=0,n=mt.timers;for(ge=mt.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||mt.fx.stop(),ge=void 0},mt.fx.timer=function(t){mt.timers.push(t),t()?mt.fx.start():mt.timers.pop()},mt.fx.interval=13,mt.fx.start=function(){me||(me=o.requestAnimationFrame?o.requestAnimationFrame(q):o.setInterval(mt.fx.tick,mt.fx.interval))},mt.fx.stop=function(){o.cancelAnimationFrame?o.cancelAnimationFrame(me):o.clearInterval(me),me=null},mt.fx.speeds={slow:600,fast:200,_default:400},mt.fn.delay=function(t,e){return t=mt.fx?mt.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,n){var r=o.setTimeout(e,t);n.stop=function(){o.clearTimeout(r)}})},function(){var t=it.createElement("input"),e=it.createElement("select"),n=e.appendChild(it.createElement("option"));t.type="checkbox",vt.checkOn=""!==t.value,vt.optSelected=n.selected,t=it.createElement("input"),t.value="t",t.type="radio",vt.radioValue="t"===t.value}();var xe,_e=mt.expr.attrHandle;mt.fn.extend({attr:function(t,e){return Ft(this,mt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){mt.removeAttr(this,t)})}}),mt.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof t.getAttribute?mt.prop(t,e,n):(1===o&&mt.isXMLDoc(t)||(i=mt.attrHooks[e.toLowerCase()]||(mt.expr.match.bool.test(e)?xe:void 0)),void 0!==n?null===n?void mt.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:(r=mt.find.attr(t,e),null==r?void 0:r))},attrHooks:{type:{set:function(t,e){if(!vt.radioValue&&"radio"===e&&mt.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(Nt);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),xe={set:function(t,e,n){return e===!1?mt.removeAttr(t,n):t.setAttribute(n,n),n}},mt.each(mt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=_e[e]||mt.find.attr;_e[e]=function(t,e,r){var i,o,a=e.toLowerCase();return r||(o=_e[a],_e[a]=i,i=null!=n(t,e,r)?a:null,_e[a]=o),i}});var we=/^(?:input|select|textarea|button)$/i,Ce=/^(?:a|area)$/i;mt.fn.extend({prop:function(t,e){return Ft(this,mt.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[mt.propFix[t]||t]})}}),mt.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&mt.isXMLDoc(t)||(e=mt.propFix[e]||e,i=mt.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=mt.find.attr(t,"tabindex");return e?parseInt(e,10):we.test(t.nodeName)||Ce.test(t.nodeName)&&t.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),vt.optSelected||(mt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),mt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){mt.propFix[this.toLowerCase()]=this});var ke=/[\t\r\n\f]/g;mt.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,u=0;if(mt.isFunction(t))return this.each(function(e){mt(this).addClass(t.call(this,e,G(this)))});if("string"==typeof t&&t)for(e=t.match(Nt)||[];n=this[u++];)if(i=G(n),r=1===n.nodeType&&(" "+i+" ").replace(ke," ")){for(a=0;o=e[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=mt.trim(r),i!==s&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,a,s,u=0;if(mt.isFunction(t))return this.each(function(e){mt(this).removeClass(t.call(this,e,G(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(Nt)||[];n=this[u++];)if(i=G(n),r=1===n.nodeType&&(" "+i+" ").replace(ke," ")){for(a=0;o=e[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=mt.trim(r),i!==s&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var r="undefined"==typeof t?"undefined":n(t);return"boolean"==typeof e&&"string"===r?e?this.addClass(t):this.removeClass(t):mt.isFunction(t)?this.each(function(n){mt(this).toggleClass(t.call(this,n,G(this),e),e)}):this.each(function(){var e,n,i,o;if("string"===r)for(n=0,i=mt(this),o=t.match(Nt)||[];e=o[n++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else void 0!==t&&"boolean"!==r||(e=G(this),e&&Lt.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||t===!1?"":Lt.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+G(n)+" ").replace(ke," ").indexOf(e)>-1)return!0;return!1}});var Te=/\r/g,Se=/[\x20\t\r\n\f]+/g;mt.fn.extend({val:function(t){var e,n,r,i=this[0];{if(arguments.length)return r=mt.isFunction(t),this.each(function(n){var i;1===this.nodeType&&(i=r?t.call(this,n,mt(this).val()):t,null==i?i="":"number"==typeof i?i+="":mt.isArray(i)&&(i=mt.map(i,function(t){return null==t?"":t+""})),e=mt.valHooks[this.type]||mt.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))});if(i)return e=mt.valHooks[i.type]||mt.valHooks[i.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(Te,""):null==n?"":n)}}}),mt.extend({valHooks:{option:{get:function(t){var e=mt.find.attr(t,"value");return null!=e?e:mt.trim(mt.text(t)).replace(Se," ")}},select:{get:function(t){for(var e,n,r=t.options,i=t.selectedIndex,o="select-one"===t.type,a=o?null:[],s=o?i+1:r.length,u=i<0?s:o?i:0;u<s;u++)if(n=r[u],(n.selected||u===i)&&!n.disabled&&(!n.parentNode.disabled||!mt.nodeName(n.parentNode,"optgroup"))){if(e=mt(n).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var n,r,i=t.options,o=mt.makeArray(e),a=i.length;a--;)r=i[a],(r.selected=mt.inArray(mt.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),mt.each(["radio","checkbox"],function(){mt.valHooks[this]={set:function(t,e){if(mt.isArray(e))return t.checked=mt.inArray(mt(t).val(),e)>-1}},vt.checkOn||(mt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Ae=/^(?:focusinfocus|focusoutblur)$/;mt.extend(mt.event,{trigger:function(t,e,r,i){var a,s,u,l,c,f,h,d=[r||it],p=ht.call(t,"type")?t.type:t,v=ht.call(t,"namespace")?t.namespace.split("."):[];if(s=u=r=r||it,3!==r.nodeType&&8!==r.nodeType&&!Ae.test(p+mt.event.triggered)&&(p.indexOf(".")>-1&&(v=p.split("."),p=v.shift(),v.sort()),c=p.indexOf(":")<0&&"on"+p,t=t[mt.expando]?t:new mt.Event(p,"object"===("undefined"==typeof t?"undefined":n(t))&&t),t.isTrigger=i?2:3,t.namespace=v.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:mt.makeArray(e,[t]),h=mt.event.special[p]||{},i||!h.trigger||h.trigger.apply(r,e)!==!1)){if(!i&&!h.noBubble&&!mt.isWindow(r)){for(l=h.delegateType||p,Ae.test(l+p)||(s=s.parentNode);s;s=s.parentNode)d.push(s),u=s;u===(r.ownerDocument||it)&&d.push(u.defaultView||u.parentWindow||o)}for(a=0;(s=d[a++])&&!t.isPropagationStopped();)t.type=a>1?l:h.bindType||p,f=(Lt.get(s,"events")||{})[t.type]&&Lt.get(s,"handle"),f&&f.apply(s,e),f=c&&s[c],f&&f.apply&&Bt(s)&&(t.result=f.apply(s,e),t.result===!1&&t.preventDefault());return t.type=p,i||t.isDefaultPrevented()||h._default&&h._default.apply(d.pop(),e)!==!1||!Bt(r)||c&&mt.isFunction(r[p])&&!mt.isWindow(r)&&(u=r[c],u&&(r[c]=null),mt.event.triggered=p,r[p](),mt.event.triggered=void 0,u&&(r[c]=u)),t.result}},simulate:function(t,e,n){var r=mt.extend(new mt.Event,n,{type:t,isSimulated:!0});mt.event.trigger(r,null,e)}}),mt.fn.extend({trigger:function(t,e){return this.each(function(){mt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return mt.event.trigger(t,e,n,!0)}}),mt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){mt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),mt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),vt.focusin="onfocusin"in o,vt.focusin||mt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){mt.event.simulate(e,t.target,mt.event.fix(t))};mt.event.special[e]={setup:function(){var r=this.ownerDocument||this,i=Lt.access(r,e);i||r.addEventListener(t,n,!0),Lt.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Lt.access(r,e)-1;i?Lt.access(r,e,i):(r.removeEventListener(t,n,!0),Lt.remove(r,e))}}});var je=o.location,Ee=mt.now(),$e=/\?/;mt.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new o.DOMParser).parseFromString(t,"text/xml")}catch(n){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||mt.error("Invalid XML: "+t),e};var Oe=/\[\]$/,Me=/\r?\n/g,Ne=/^(?:submit|button|image|reset|file)$/i,Pe=/^(?:input|select|textarea|keygen)/i;mt.param=function(t,e){var n,r=[],i=function(t,e){var n=mt.isFunction(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(mt.isArray(t)||t.jquery&&!mt.isPlainObject(t))mt.each(t,function(){i(this.name,this.value)});else for(n in t)Z(n,t[n],e,i);return r.join("&")},mt.fn.extend({serialize:function(){return mt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=mt.prop(this,"elements");return t?mt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!mt(this).is(":disabled")&&Pe.test(this.nodeName)&&!Ne.test(t)&&(this.checked||!Jt.test(t))}).map(function(t,e){var n=mt(this).val();return null==n?null:mt.isArray(n)?mt.map(n,function(t){return{name:e.name,value:t.replace(Me,"\r\n")}}):{name:e.name,value:n.replace(Me,"\r\n")}}).get()}});var De=/%20/g,Fe=/#.*$/,Be=/([?&])_=[^&]*/,Le=/^(.*?):[ \t]*([^\r\n]*)$/gm,Re=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ie=/^(?:GET|HEAD)$/,He=/^\/\//,qe={},Ve={},ze="*/".concat("*"),Ue=it.createElement("a");Ue.href=je.href,mt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:je.href,type:"GET",isLocal:Re.test(je.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ze,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":mt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?K(K(t,mt.ajaxSettings),e):K(mt.ajaxSettings,t)},ajaxPrefilter:Y(qe),ajaxTransport:Y(Ve),ajax:function(t,e){function r(t,e,n,r){var u,c,d,p,_,w=e;f||(f=!0,l&&o.clearTimeout(l),i=void 0,s=r||"",k.readyState=t>0?4:0,u=t>=200&&t<300||304===t,n&&(p=tt(v,k,n)),p=et(v,p,k,u),u?(v.ifModified&&(_=k.getResponseHeader("Last-Modified"),_&&(mt.lastModified[a]=_),_=k.getResponseHeader("etag"),_&&(mt.etag[a]=_)),204===t||"HEAD"===v.type?w="nocontent":304===t?w="notmodified":(w=p.state,c=p.data,d=p.error,u=!d)):(d=w,!t&&w||(w="error",t<0&&(t=0))),k.status=t,k.statusText=(e||w)+"",u?y.resolveWith(g,[c,w,k]):y.rejectWith(g,[k,w,d]),k.statusCode(x),x=void 0,h&&m.trigger(u?"ajaxSuccess":"ajaxError",[k,v,u?c:d]),b.fireWith(g,[k,w]),h&&(m.trigger("ajaxComplete",[k,v]),--mt.active||mt.event.trigger("ajaxStop")))}"object"===("undefined"==typeof t?"undefined":n(t))&&(e=t,t=void 0),e=e||{};var i,a,s,u,l,c,f,h,d,p,v=mt.ajaxSetup({},e),g=v.context||v,m=v.context&&(g.nodeType||g.jquery)?mt(g):mt.event,y=mt.Deferred(),b=mt.Callbacks("once memory"),x=v.statusCode||{},_={},w={},C="canceled",k={readyState:0,getResponseHeader:function(t){var e;if(f){if(!u)for(u={};e=Le.exec(s);)u[e[1].toLowerCase()]=e[2];e=u[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return f?s:null},setRequestHeader:function(t,e){return null==f&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,_[t]=e),this},overrideMimeType:function(t){return null==f&&(v.mimeType=t),this},statusCode:function(t){var e;if(t)if(f)k.always(t[k.status]);else for(e in t)x[e]=[x[e],t[e]];return this},abort:function(t){var e=t||C;return i&&i.abort(e),r(0,e),this}};if(y.promise(k),v.url=((t||v.url||je.href)+"").replace(He,je.protocol+"//"),v.type=e.method||e.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(Nt)||[""],null==v.crossDomain){c=it.createElement("a");try{c.href=v.url,c.href=c.href,v.crossDomain=Ue.protocol+"//"+Ue.host!=c.protocol+"//"+c.host}catch(T){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=mt.param(v.data,v.traditional)),Q(qe,v,e,k),f)return k;h=mt.event&&v.global,h&&0===mt.active++&&mt.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ie.test(v.type),a=v.url.replace(Fe,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(De,"+")):(p=v.url.slice(a.length),v.data&&(a+=($e.test(a)?"&":"?")+v.data,delete v.data),v.cache===!1&&(a=a.replace(Be,""),p=($e.test(a)?"&":"?")+"_="+Ee++ +p),v.url=a+p),v.ifModified&&(mt.lastModified[a]&&k.setRequestHeader("If-Modified-Since",mt.lastModified[a]),mt.etag[a]&&k.setRequestHeader("If-None-Match",mt.etag[a])),(v.data&&v.hasContent&&v.contentType!==!1||e.contentType)&&k.setRequestHeader("Content-Type",v.contentType),k.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+ze+"; q=0.01":""):v.accepts["*"]);for(d in v.headers)k.setRequestHeader(d,v.headers[d]);if(v.beforeSend&&(v.beforeSend.call(g,k,v)===!1||f))return k.abort();if(C="abort",b.add(v.complete),k.done(v.success),k.fail(v.error),i=Q(Ve,v,e,k)){if(k.readyState=1,h&&m.trigger("ajaxSend",[k,v]),f)return k;v.async&&v.timeout>0&&(l=o.setTimeout(function(){k.abort("timeout")},v.timeout));try{f=!1,i.send(_,r)}catch(T){if(f)throw T;r(-1,T)}}else r(-1,"No Transport");return k},getJSON:function(t,e,n){return mt.get(t,e,n,"json")},getScript:function(t,e){return mt.get(t,void 0,e,"script")}}),mt.each(["get","post"],function(t,e){mt[e]=function(t,n,r,i){return mt.isFunction(n)&&(i=i||r,r=n,n=void 0),mt.ajax(mt.extend({url:t,type:e,dataType:i,data:n,success:r},mt.isPlainObject(t)&&t))}}),mt._evalUrl=function(t){return mt.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},mt.fn.extend({wrapAll:function(t){var e;return this[0]&&(mt.isFunction(t)&&(t=t.call(this[0])),e=mt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return mt.isFunction(t)?this.each(function(e){mt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=mt(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=mt.isFunction(t);return this.each(function(n){mt(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){
+return this.parent(t).not("body").each(function(){mt(this).replaceWith(this.childNodes)}),this}}),mt.expr.pseudos.hidden=function(t){return!mt.expr.pseudos.visible(t)},mt.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},mt.ajaxSettings.xhr=function(){try{return new o.XMLHttpRequest}catch(t){}};var We={0:200,1223:204},Xe=mt.ajaxSettings.xhr();vt.cors=!!Xe&&"withCredentials"in Xe,vt.ajax=Xe=!!Xe,mt.ajaxTransport(function(t){var e,n;if(vt.cors||Xe&&!t.crossDomain)return{send:function(r,i){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(a in r)s.setRequestHeader(a,r[a]);e=function(t){return function(){e&&(e=n=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(We[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),n=s.onerror=e("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&o.setTimeout(function(){e&&n()})},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(u){if(e)throw u}},abort:function(){e&&e()}}}),mt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),mt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return mt.globalEval(t),t}}}),mt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),mt.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(r,i){e=mt("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),it.head.appendChild(e[0])},abort:function(){n&&n()}}}});var Je=[],Ge=/(=)\?(?=&|$)|\?\?/;mt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Je.pop()||mt.expando+"_"+Ee++;return this[t]=!0,t}}),mt.ajaxPrefilter("json jsonp",function(t,e,n){var r,i,a,s=t.jsonp!==!1&&(Ge.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ge.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=mt.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Ge,"$1"+r):t.jsonp!==!1&&(t.url+=($e.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return a||mt.error(r+" was not called"),a[0]},t.dataTypes[0]="json",i=o[r],o[r]=function(){a=arguments},n.always(function(){void 0===i?mt(o).removeProp(r):o[r]=i,t[r]&&(t.jsonpCallback=e.jsonpCallback,Je.push(r)),a&&mt.isFunction(i)&&i(a[0]),a=i=void 0}),"script"}),vt.createHTMLDocument=function(){var t=it.implementation.createHTMLDocument("").body;return t.innerHTML="<form></form><form></form>",2===t.childNodes.length}(),mt.parseHTML=function(t,e,n){if("string"!=typeof t)return[];"boolean"==typeof e&&(n=e,e=!1);var r,i,o;return e||(vt.createHTMLDocument?(e=it.implementation.createHTMLDocument(""),r=e.createElement("base"),r.href=it.location.href,e.head.appendChild(r)):e=it),i=St.exec(t),o=!n&&[],i?[e.createElement(i[1])]:(i=C([t],e,o),o&&o.length&&mt(o).remove(),mt.merge([],i.childNodes))},mt.fn.load=function(t,e,r){var i,o,a,s=this,u=t.indexOf(" ");return u>-1&&(i=mt.trim(t.slice(u)),t=t.slice(0,u)),mt.isFunction(e)?(r=e,e=void 0):e&&"object"===("undefined"==typeof e?"undefined":n(e))&&(o="POST"),s.length>0&&mt.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done(function(t){a=arguments,s.html(i?mt("<div>").append(mt.parseHTML(t)).find(i):t)}).always(r&&function(t,e){s.each(function(){r.apply(this,a||[t.responseText,e,t])})}),this},mt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){mt.fn[e]=function(t){return this.on(e,t)}}),mt.expr.pseudos.animated=function(t){return mt.grep(mt.timers,function(e){return t===e.elem}).length},mt.offset={setOffset:function(t,e,n){var r,i,o,a,s,u,l,c=mt.css(t,"position"),f=mt(t),h={};"static"===c&&(t.style.position="relative"),s=f.offset(),o=mt.css(t,"top"),u=mt.css(t,"left"),l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1,l?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),mt.isFunction(e)&&(e=e.call(t,n,mt.extend({},s))),null!=e.top&&(h.top=e.top-s.top+a),null!=e.left&&(h.left=e.left-s.left+i),"using"in e?e.using.call(t,h):f.css(h)}},mt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){mt.offset.setOffset(this,t,e)});var e,n,r,i,o=this[0];if(o)return o.getClientRects().length?(r=o.getBoundingClientRect(),r.width||r.height?(i=o.ownerDocument,n=nt(i),e=i.documentElement,{top:r.top+n.pageYOffset-e.clientTop,left:r.left+n.pageXOffset-e.clientLeft}):r):{top:0,left:0}},position:function(){if(this[0]){var t,e,n=this[0],r={top:0,left:0};return"fixed"===mt.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),mt.nodeName(t[0],"html")||(r=t.offset()),r={top:r.top+mt.css(t[0],"borderTopWidth",!0),left:r.left+mt.css(t[0],"borderLeftWidth",!0)}),{top:e.top-r.top-mt.css(n,"marginTop",!0),left:e.left-r.left-mt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===mt.css(t,"position");)t=t.offsetParent;return t||Kt})}}),mt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;mt.fn[t]=function(r){return Ft(this,function(t,r,i){var o=nt(t);return void 0===i?o?o[e]:t[r]:void(o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i)},t,r,arguments.length)}}),mt.each(["top","left"],function(t,e){mt.cssHooks[e]=F(vt.pixelPosition,function(t,n){if(n)return n=D(t,e),le.test(n)?mt(t).position()[e]+"px":n})}),mt.each({Height:"height",Width:"width"},function(t,e){mt.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){mt.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(i===!0||o===!0?"margin":"border");return Ft(this,function(e,n,i){var o;return mt.isWindow(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?mt.css(e,n,s):mt.style(e,n,i,s)},e,a?i:void 0,a)}})}),mt.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),mt.parseJSON=JSON.parse,r=[],i=function(){return mt}.apply(e,r),!(void 0!==i&&(t.exports=i));var Ze=o.jQuery,Ye=o.$;return mt.noConflict=function(t){return o.$===mt&&(o.$=Ye),t&&o.jQuery===mt&&(o.jQuery=Ze),mt},a||(o.jQuery=o.$=mt),mt})}).call(e,n(129)(t))},function(t,e,n){"use strict";t.exports=n(10)},function(t,e,n){"use strict";var r=n(7);r.isBrowser&&(window.diff_match_patch=n(23)),t.exports=n(16)},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n(12),a=function(){function t(e){r(this,t),this.zoomFactor=.1,this.paper=e.paper,this.MIN_SIZE=40,this.imageWidth=parseInt(this.paper.select(".main-image").attr("width")),this.imageHeight=parseInt(this.paper.select(".main-image").attr("height")),this.viewport={width:parseInt(this.paper.attr("width")),height:parseInt(this.paper.attr("height"))},this.scale=1,this.paper.attr({stroke:2,fill:"blue"}),this.disableDrag=!1,this.imgMinSize=Math.min(this.imageWidth,this.imageHeight),this.lastPosition=[],this.updateViewBox([0,0,this.imageWidth,this.imageHeight])}return i(t,[{key:"testShowCenter",value:function(t,e){this.center&&this.center.remove(),this.center=this.paper.rect(t-3,e-3,20,20),this.center.attr({fill:"red"})}},{key:"drawTestRectangle",value:function(t,e,n,r){var i=t-n/2,o=e-r/2;this.paper.rect(i,o,n,r)}},{key:"zoomIn",value:function(){if(9===this.scale)return void this.scale--;var t=this.currentViewBox[0]+this.currentViewBox[2]/2,e=this.currentViewBox[1]+this.currentViewBox[3]/2,n=this.zoomFactor*this.scale,r=this.imgMinSize-this.imgMinSize*n,i=r;this.currentViewBox[0]=t-r/2,this.currentViewBox[1]=e-i/2,this.currentViewBox[2]=r,this.currentViewBox[3]=i,this.scale++,this.updateViewBox()}},{key:"updateViewBox",value:function(t,e){if(e="boolean"!=typeof e||e,t&&4!=t.length)throw new Error("Provided currentViewBox is not valid!");if(t&&(this.currentViewBox=t),this.paper.attr({viewBox:this.currentViewBox}),!e)return!1;var n=this;o.eventEmitter.emit("zoomChanged",{updateFunction:function(t){n.updateViewBox(t,!1)},zoomFactor:this.getZoomFactor(),viewport:this.viewport,currentScale:this.scale,imageSize:{width:this.imageWidth,height:this.imageHeight},minSize:Math.min(this.imageWidth,this.imageHeight),currentViewBox:this.currentViewBox.slice()})}},{key:"getZoomFactor",value:function(){return{x:this.viewport.width/this.currentViewBox[2],y:this.viewport.height/this.currentViewBox[3]}}},{key:"onStart",value:function(t,e,n){this.lastPosition[0]=this.currentViewBox[0],this.lastPosition[1]=this.currentViewBox[1],"drawingHandler"===n.target.className.baseVal&&(this.disableDrag=!0)}},{key:"canDrag",value:function(){return!this.disableDrag}},{key:"onStop",value:function(){this.disableDrag=!1}},{key:"onDrag",value:function(t,e,n,r,i){if(!this.canDrag())return!0;var o=this.lastPosition[0]-t,a=this.lastPosition[1]-e;o+this.currentViewBox[2]>=this.viewport.width&&(o=this.viewport.width-this.currentViewBox[2]),a+this.currentViewBox[3]>=this.viewport.height&&(a=this.viewport.height-this.currentViewBox[3]),o<=0&&(o=0),a<=0&&(a=0),this.currentViewBox[0]=o,this.currentViewBox[1]=a,this.updateViewBox()}},{key:"reset",value:function(){this.scale=1,this.currentViewBox=[0,0,this.imageWidth,this.imageHeight],this.updateViewBox()}},{key:"zoomOut",value:function(){if(1==this.scale)return!1;var t=this.currentViewBox[0]+this.currentViewBox[2]/2,e=this.currentViewBox[1]+this.currentViewBox[3]/2,n=this.zoomFactor*(this.scale-1),r=this.imgMinSize-this.imgMinSize*n,i=r,o=t-r/2,a=e-i/2;this.currentViewBox[0]=o,this.currentViewBox[1]=a,this.currentViewBox[2]=r,this.currentViewBox[3]=i,this.updateViewBox(),this.scale--}}]),t}();e["default"]={enable_zoom:function(t){return new a(t)}}},function(t,e,n){function r(t){return n(i(t))}function i(t){return o[t]||function(){throw new Error("Cannot find module '"+t+"'.")}()}var o={"./contexts/context":3,"./contexts/context.js":3,"./contexts/diff":4,"./contexts/diff.js":4,"./contexts/patch":5,"./contexts/patch.js":5,"./contexts/reverse":6,"./contexts/reverse.js":6,"./date-reviver":14,"./date-reviver.js":14,"./diffpatcher":24,"./diffpatcher.js":24,"./environment":7,"./environment.js":7,"./filters/arrays":25,"./filters/arrays.js":25,"./filters/dates":26,"./filters/dates.js":26,"./filters/lcs":27,"./filters/lcs.js":27,"./filters/nested":28,"./filters/nested.js":28,"./filters/texts":29,"./filters/texts.js":29,"./filters/trivial":30,"./filters/trivial.js":30,"./formatters/annotated":8,"./formatters/annotated.js":8,"./formatters/base":1,"./formatters/base.js":1,"./formatters/console":15,"./formatters/console.js":15,"./formatters/html":9,"./formatters/html.js":9,"./formatters/index":10,"./formatters/index.js":10,"./formatters/jsonpatch":11,"./formatters/jsonpatch.js":11,"./main":16,"./main-formatters":45,"./main-formatters.js":45,"./main-full":46,"./main-full.js":46,"./main.js":16,"./pipe":17,"./pipe.js":17,"./processor":31,"./processor.js":31};r.keys=function(){return Object.keys(o)},r.resolve=i,t.exports=r,r.id=48},function(t,e,n){var r,i;n(153),r=n(56);var o=n(150);i=r=r||{},"object"==typeof r["default"]&&(i=r=r["default"]),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-5",t.exports=r},function(t,e,n){var r,i;r=n(61);var o=n(149);i=r=r||{},"object"==typeof r["default"]&&(i=r=r["default"]),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e,n){function r(t,e){for(var n=0;n<t.length;n++){var r=t[n],i=f[r.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](r.parts[o]);for(;o<r.parts.length;o++)i.parts.push(u(r.parts[o],e))}else{for(var a=[],o=0;o<r.parts.length;o++)a.push(u(r.parts[o],e));f[r.id]={id:r.id,refs:1,parts:a}}}}function i(t){for(var e=[],n={},r=0;r<t.length;r++){var i=t[r],o=i[0],a=i[1],s=i[2],u=i[3],l={css:a,media:s,sourceMap:u};n[o]?n[o].parts.push(l):e.push(n[o]={id:o,parts:[l]})}return e}function o(t,e){var n=p(),r=m[m.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),m.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function a(t){t.parentNode.removeChild(t);var e=m.indexOf(t);e>=0&&m.splice(e,1)}function s(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function u(t,e){var n,r,i;if(e.singleton){var o=g++;n=v||(v=s(e)),r=l.bind(null,n,o,!1),i=l.bind(null,n,o,!0)}else n=s(e),r=c.bind(null,n),i=function(){a(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}function l(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,i);else{var o=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function c(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var f={},h=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},d=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),p=h(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,g=0,m=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=d()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var n=i(t);return r(n,e),function(t){for(var o=[],a=0;a<n.length;a++){var s=n[a],u=f[s.id];u.refs--,o.push(u)}if(t){var l=i(t);r(l,e)}for(var a=0;a<o.length;a++){var u=o[a];if(0===u.refs){for(var c=0;c<u.parts.length;c++)u.parts[c]();delete f[u.id]}}}};var y=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={data:{},mounted:function(){$(".collection-description-complete").hide()},methods:{showCompleteDescription:function(){$(".collection-description").hide(),$(".collection-description-complete").show()},hideCompleteDescription:function(t){$(".collection-description-complete").hide(),$(".collection-description").show()}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={data:function(){return{}},mounted:function(){$(".collection-home-block:not(.selected)").hide()},methods:{switchTab:function(t){$(".collection-home-block").removeClass("selected"),$(".collection-home-block").hide(),$(".collection-home-tab").parent().removeClass("active"),$("#list-"+t).show(),$("#tab-"+t).addClass("active")}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={data:function(){return{}},mounted:function(){$(".collection-container").hide(),$(".collection-description-complete").hide()},methods:{pickCollection:function(t){$("#show-collection-"+t).hasClass("btn-primary")||($("#main-panel").hide(),$(".collection-container").removeClass("selected"),$(".collection-container:not(.selected)").hide(),$(".collection-description-complete").hide(),$(".collection-description").show(),$(".btn-collection").removeClass("btn-primary"),$("#show-collection-"+t).addClass("btn-primary"),$(".collection-container#collection-panel-"+t).show(),$(".collection-container#collection-panel-"+t).addClass("selected"))},showCompleteDescription:function(t){$(".collection-description-complete").hide(),$("#collection-description-short-"+t).hide(),$("#collection-description-complete-"+t).show()},hideCompleteDescription:function(t){$(".collection-description-complete").hide(),$("#collection-description-short-"+t).show()}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(132),o=r(i),a=n(32),s=r(a),u=n(50),l=r(u);e["default"]={el:"#drawing-zone",MODE_RECT:"RECT",MODE_FREE:"FREE",ZOOM_IN:"in",ZOOM_OUT:"out",components:{typeahead:s["default"],zoomview:l["default"]},data:{mode:"",isRect:!0,normalizePath:"",readOnly:!1,formView:!0,useClipPath:!1,transformMatrix:"",fragmentPath:"",canZoom:!0,displayMask:!1},mounted:function(){var t=this;this.initialDrawingMode=null,this.drawingComponent=o["default"].init({wrapperId:"#iconolab-image-wrapper",actionWrapper:"#action-wrapper",readOnly:!1,onDrawingModeChange:function(e){t.setDrawingMode(e,!1)}}),this.$refs.zoomview.setZoomTarget(this.drawingComponent.getPaper()),this.showForm()},methods:{computeCentreredViewBox:function(){var t=this.$refs.zoomSvg,e=[],n=t.getAttribute("width"),r=t.getAttribute("height"),i=n/100,o=r/100,a=this.drawingComponent.getShapeBBox();return e=[(a.x-1)*i,(a.y-1)*o,(a.w+2)*i,(a.h+2)*o],e.join(" ")},computeZoomedViewBox:function(){var t=[],e=this.$refs.zoomSvg,n=this.drawingComponent.getShapeBBox(),r=e.getAttribute("width"),i=e.getAttribute("height"),o=r/100,a=i/100;n.x=n.x*o,n.y=n.y*a,n.w=n.w*o,n.h=n.h*a;var s=r/i;return n.w>n.h?(n.y=Math.max(0,n.y-(n.w*s-n.h)/2),n.h=n.w*s):(n.x=Math.max(0,n.x-(n.h/s-n.w)/2),n.w=n.h/s),t=[n.x,n.y,n.w,n.h],!!n&&t.join(" ")},zoom:function(t){var e=this.$refs.smallSvgWrapper;if(this.$options.ZOOM_OUT===t){var n=[0,0,e.getAttribute("width"),e.getAttribute("height")];e.setAttribute("viewBox",n.join(" ")),this.canZoom=!0}this.$options.ZOOM_IN===t&&(e.setAttribute("viewBox",this.computeCentreredViewBox()),this.canZoom=!1)},setDrawingMode:function(t,e){this.initialDrawingMode||(this.initialDrawingMode=t);var e="boolean"!=typeof e||e;this.mode=this.$options["MODE_"+t],this.isRect=this.mode===this.$options.MODE_RECT,e&&this.drawingComponent.setDrawingMode(this.mode)},cancel:function(){this.formView=!0;var t=this.$refs.currentPath.getAttribute("d");t.length&&this.initialDrawingMode&&(t+=";"+this.initialDrawingMode,this.drawingComponent.setPath(t))},highLightZone:function(){this.displayMask?this.displayMask=!1:this.displayMask=!0},displayEditedPath:function(){this.drawingComponent.getPath()},resetZoom:function(){this.zoom(this.$options.ZOOM_OUT)},showEditor:function(){this.formView=!1,this.resetZoom()},showForm:function(){this.normalizePath=this.drawingComponent.getPath();var t=this.$refs.smallImage;this.formView=!0;var e=t.getAttribute("width")/100,n=t.getAttribute("height")/100,r=[e,0,0,n,0,0].join(",");this.transformMatrix="matrix("+r+")",this.fragmentPath=this.normalizePath.split(";")[0]},clear:function(){this.drawingComponent.clear()}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0});var o,a=n(145),s=r(a);e["default"]=(o={components:{modalpanel:s["default"]},mounted:function(){},props:["transform-matrix","image-path","image-height","image-width"],data:function(){return{diffText:"",tagMode:!1,textMode:!1,fragmentMode:!1,originalPath:"",modifiedPath:"",tags:[]}}},i(o,"mounted",function(){return!1}),i(o,"computed",{matrixTransform:function u(){var u="";return this.transformMatrix&&(u="matrix("+this.transformMatrix+")"),u}}),i(o,"methods",{setContent:function(t){this.$refs.modalcontent.appendChild(t)},switchMode:function(t){var e=["tagMode","textMode","fragmentMode"];this.tagMode=!1,this.textMode=!1,this.fragmentMode=!1,e.indexOf(t)!==-1&&(this[t]=!0)},showTagDiff:function(t,e){this.switchMode("tagMode");var n=iconolab.JsonDiff.diff(t,e),r=[];if(t.forEach(function(t,i){var t=JSON.parse(JSON.stringify(t)),o=n["_"+i],a=n[i];return o||a||r.push(t),Array.isArray(o)?(t.action="del",r.push(t),!0):a&&(a.tag_label||a.relevancy||a.accuracy)?(t.action=a.tag_label?"replace":"update",t.new_label=e[i].tag_label,t.new_accuracy=e[i].accuracy,t.new_relevancy=e[i].relevancy,r.push(t),!0):Array.isArray(a)?(t.action="add",r.push(e[i]),!0):void 0}),t.length<e.length){var i=e.slice(t.length);i.forEach(function(t,e){t.action="add",r.push(t)})}this.tags=r},showTextDiff:function(t,e){this.switchMode("textMode");for(var n=iconolab.JsDiff.diffWords(t,e),r=document.createDocumentFragment(),i=0;i<n.length;i++){if(n[i].added&&n[i+1]&&n[i+1].removed){var o=n[i];n[i]=n[i+1],n[i+1]=o}var a;n[i].removed?(a=document.createElement("del"),a.appendChild(document.createTextNode(n[i].value))):n[i].added?(a=document.createElement("ins"),a.appendChild(document.createTextNode(n[i].value))):a=document.createTextNode(n[i].value),r.appendChild(a)}this.diffText=jQuery("<div>").append(r).html()},showFragmentDiff:function(t,e){this.switchMode("fragmentMode"),this.originalPath=t,this.modifiedPath=e},show:function(){this.$refs.panel.show()},hide:function(){this.$refs.panel.hide()}}),o)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(32),o=r(i),a=n(49),s=r(a);e["default"]={data:function(){return{}},components:{Typeahead:o["default"],diffviewer:s["default"]},mounted:function(){this.targetKeyMap={title:"proposal-title",desc:"proposal-description",frag:"proposal-fragment"},this.targetFieldTypeMap={title:"input",desc:"input",frag:"frag"},this.originalValues={title:"",desc:"",frag:""}},methods:{pickProposition:function(t,e,n){var r="",i=document.getElementById(e),o=this.$refs[this.targetKeyMap[n]],a=this.targetFieldTypeMap[n];if(!a)throw new Error("A target type must be provided...");if("input"===a&&(r=o.value,o.value=i.value),"frag"===a){r=o.getAttribute("d");var s=i.getAttribute("d");o.getAttribute("data-path-type");o.setAttribute("d",s);var u=i.getAttribute("data-path-type");u=u||"FREE";var l=this.$refs["fragment-field"];l.value=s+";"+u}this.preserveOriginalValue(n,r)},pickTag:function(t,e){var n=this.$refs[e],r=this.$refs["proposal-tags"];this.preserveOriginalValue("proposal-tags",r.tags),r.setTags(n.tags,!0)},preserveOriginalValue:function(t,e){this.originalValues[t]||(this.originalValues[t]=e)},showDiffviewer:function(t,e,n){var r=document.getElementById(e),i=this.$refs[this.targetKeyMap[n]],o=this.targetFieldTypeMap[n],a=this.$refs[t];if(!a)throw new Error("The DiffViewer can't be found for "+n);if("input"===o&&a.showTextDiff(r.value,i.value),"tag"===n){var s=this.$refs[e],u=this.$refs["proposal-tags"];0!==s.tags.length&&0!==u.tags.length&&a.showTagDiff(s.tags,u.tags)}if("frag"===n){var l=i.getAttribute("d"),c=r.getAttribute("d");a.showFragmentDiff(l,c)}a.show()},hightlightSource:function(t){t.className+="highlight"},save:function(){alert("this is it ... ")}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={props:["close-with-escape"],data:function(){return{display:!1}},methods:{close:function(){this.display=!1},show:function(){this.display=!0}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(12);e["default"]={data:function(){return{tags:[],readOnly:!1}},methods:{removeTag:function(t){this.tags.$remove(t),this.normalizeSelectedTags()},reset:function(){this.tags=[],this.normalizeSelectedTags()},tagAlreadyExists:function(t){var e=!1,n=this.tags.find(function(e){if(e.tag_link){if(e.tag_link===t.tag_link)return!0}else if(e.tag_label===t.tag_label)return!0});if(n){var r=this.$refs[n.id][0];r.style.border="1px solid red",setTimeout(function(){r.style.border=""},1e3),e=!0}return e},setTags:function(t){Array.isArray(t)||new Error("setTags expects an array!");var e=this;t.map(function(t){e.addTag(t)})},addTag:function(t){return!this.tagAlreadyExists(t)&&void(t&&t.hasOwnProperty("tag_label")&&(t.id||(t.id=(0,r.generateId)("tag_")),this.tags.push(t),this.normalizeSelectedTags()))},normalizeSelectedTags:function(){var t=[];this.tags.map(function(e){var n={};n.tag_input="string"==typeof e.tag_link&&e.tag_link.length?e.tag_link:e.tag_label,n.accuracy=e.accuracy,n.relevancy=e.relevancy,t.push(n)}),this.$parent.$data.selectedTags=JSON.stringify(t)},updateAccuracy:function(t,e){e.accuracy=t.target.value,this.normalizeSelectedTags()},updatePertinence:function(t,e){e.relevancy=t.target.value,this.normalizeSelectedTags()}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(126),o=r(i),a=n(146),s=r(a),u="https://lookup.dbpedia.org/api/search/PrefixSearch?MaxHits=5",l="https://fr.wikipedia.org/w/api.php",c={reset:o["default"].methods.reset},f=function(t,e){var n=jQuery.Deferred();jQuery.getJSON(t,e).done(function(t){var e={};e.data=t,n.resolve(e)}).fail(n.reject);return n.promise()};e["default"]={mixins:[o["default"]],components:{taglist:s["default"]},props:["tags","read-only"],mounted:function(){this.taglist=this.$refs.taglist,this.taglist.readOnly=this.readOnly,this.setTags(this.tags)},data:function(){return{src:u,limit:7,minChars:2,showAddButton:!1,datasource:"wikipedia",selectedTags:"[]",items:[],queryParamName:"QueryString"}},methods:{setTags:function(t,e){t=Array.isArray(t)?t:[],e="boolean"==typeof e&&e,e&&this.taglist.reset(),this.taglist.setTags(t)},checkQuery:function(){0===this.query.length&&this.reset()},fetch:function(){if("wikipedia"===this.datasource)return this.fetchWikiPedia();var t={};return t[this.queryParamName]=this.query,f(this.src,query)},fetchWikiPedia:function(){this.src=l;var t={action:"opensearch",format:"json",search:this.query},e=jQuery.Deferred();return jQuery.ajax({url:this.src,data:t,dataType:"jsonp",success:function(t){var n={};n.data=t,e.resolve(n)}}),e.promise()},reset:function(){this.showAddButton=!1,c.reset.call(this)},prepareWikipediaResponse:function(t){var e=[];if(4!==t.length)return e;var n=t[1],r=t[3];return n.length===r.length?(n.map(function(t,n){var i={};i.tag_label=t;var o=r[n];o=o.replace("https://fr.wikipedia.org/wiki/","http://fr.dbpedia.org/resource/"),i.tag_link=decodeURI(o),i.accuracy=1,i.relevancy=1,e.push(i)}),e):void 0},prepareResponseData:function(t){var e="string"==typeof t?JSON.parse(t):t;return"wikipedia"===this.datasource&&(e=this.prepareWikipediaResponse(e)),Array.isArray(e)&&!e.length&&(this.showAddButton=!0),e},addTag:function(){if(this.hasItems)return!1;var t={tag_label:this.query,accuracy:1,relevancy:1};this.$refs.taglist.addTag(t),this.reset()},onHit:function(t){this.$refs.taglist.addTag(t),this.reset()}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(12),o=n(47),a=r(o),s=n(43),u=r(s);e["default"]={props:["image-url","image-width","image-height","zoomTarget","main-image-id"],mounted:function(){this.root=new u["default"](this.$refs["root-svg"]),this.handler=this.root.select("#zoom-handler"),this.image=this.root.select("#small-image"),this.root.attr({width:101,height:101});var t=parseInt(this.image.attr("width")),e=parseInt(this.image.attr("height"));this.root.attr({viewBox:[0,0,t,e]}),this.imgMinSize=Math.min(t,e),this.handlerSize=20,this.handler.attr({width:this.handlerSize,height:this.handlerSize}),this.currentViewBox=null,this.currentViewport=null,this.updateFunction=null;var n=document.getElementById("zoomTarget");n&&this.setZoomTarget(n),this.handleEvents()},data:function(){return{showHandler:!1}},methods:{setZoomTarget:function(t){if(t.hasOwnProperty("type")&&"svg"===t.type)this.paper=t;else{this.paper=new u["default"](t);var e=this.paper.select("#"+this.mainImageId);if(!e)throw new Error("A main image wasn't found.")}this.zoomHandler=a["default"].enable_zoom(this.paper)},incraseDrawingZoom:function(){this.zoomHandler.zoomIn()},resetDrawingZoom:function(){this.zoomHandler.reset()},decreaseDrawingZoom:function(){this.zoomHandler.zoomOut()},handleEvents:function(){i.eventEmitter.on("zoomChanged",this.handleZoomChanged.bind(this));var t=this;this.handler.drag(function(e,n){var r=this.getBBox(),i=this.data("startPosition").x,o=this.data("startPosition").y,a=parseInt(t.image.attr("width")),s=parseInt(t.image.attr("height")),u=i+e,l=o+n;u+r.w>=a&&(u=a-r.w),l+r.h>=s&&(l=s-r.h),u=u<0?0:u,l=l<0?0:l;var c="T"+[u,l];this.attr("transform",c),t.notifyMove(this.getBBox().x,this.getBBox().y)},function(){this.data("startPosition",{x:this.getBBox().x,y:this.getBBox().y}),this.data("origTransform",this.transform().local)},function(){})},moveHandlerToCenter:function(t,e){cx=cx?cx:this.width/2,cy=cy?cy:this.height/2;var n=cx-this.handler.getBBox().w/2,r=cy-this.handler.getBBox().h/2;this.handler.transform("T"+[n,r])},notifyMove:function(t,e){if(i.eventEmitter.emit("moveZoomHandler",{x:t,y:e,viewport:{width:this.image.attr("width"),height:this.image.attr("height")}}),!this.currentViewBox||!this.currentViewport||"function"!=typeof this.updateFunction)return!1;var n=this.currentImageSize.width/this.image.attr("width"),r=this.currentImageSize.height/this.image.attr("height"),o=t*n,a=e*r;this.currentViewBox[0]=o,this.currentViewBox[1]=a,this.updateFunction(this.currentViewBox)},handleZoomChanged:function(t){if(1===t.currentScale)return void(this.showHandler=!1);this.showHandler=!0,this.currentViewport=t.viewport,this.currentViewBox=t.currentViewBox,this.currentImageSize=t.imageSize,this.updateFunction=t.updateFunction;var e=t.currentViewBox[2]*this.imgMinSize/t.minSize;this.handler.attr("width",e),this.handler.attr("height",e);var n=t.currentViewBox[0]*this.image.attr("width")/t.imageSize.width,r=t.currentViewBox[1]*this.image.attr("height")/t.imageSize.height;this.handler.transform("T"+[n,r])}}}},function(t,e){"use strict";var n=t.exports,r={reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49]};Object.keys(r).forEach(function(t){var e=r[t],i=n[t]={};i.open="["+e[0]+"m",i.close="["+e[1]+"m"})},function(t,e,n){"use strict";t.exports={"default":n(67),__esModule:!0}},function(t,e,n){"use strict";t.exports={"default":n(68),__esModule:!0}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var i=n(64),o=r(i);e["default"]=function(t,e,n){return e in t?(0,o["default"])(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";function r(t){var e=function n(){return i.apply(n,arguments)};return e._styles=t,e.__proto__=p,e}function i(){var t=arguments,e=t.length,n=0!==e&&String(arguments[0]);if(e>1)for(var r=1;r<e;r++)n+=" "+t[r];if(!h.enabled||!n)return n;for(var i=this._styles,o=0;o<i.length;o++){
+var a=s[i[o]];n=a.open+n.replace(a.closeRe,a.open)+a.close}return n}function o(){var t={};return Object.keys(d).forEach(function(e){t[e]={get:function(){return r([e])}}}),t}var a=n(119),s=n(62),u=n(123),l=n(121),c=n(124),f=Object.defineProperties,h=t.exports,d=function(){var t={};return s.grey=s.gray,Object.keys(s).forEach(function(e){s[e].closeRe=new RegExp(a(s[e].close),"g"),t[e]={get:function(){return r(this._styles.concat(e))}}}),t}(),p=f(function(){},d);f(h,o()),h.styles=s,h.hasColor=l,h.stripColor=u,h.supportsColor=c,void 0===h.enabled&&(h.enabled=h.supportsColor)},function(t,e,n){"use strict";n(92),t.exports=n(18).Object.assign},function(t,e,n){"use strict";n(93);var r=n(18).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e){"use strict";t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";var r=n(21);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){"use strict";var r=n(39),i=n(88),o=n(87);t.exports=function(t){return function(e,n,a){var s,u=r(e),l=i(u.length),c=o(a,l);if(t&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===n)return t||c||0;return!t&&-1}}},function(t,e){"use strict";var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){"use strict";var r=n(69);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";var r=n(21),i=n(20).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e){"use strict";t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){"use strict";var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){"use strict";var r=n(37),i=n(84);t.exports=n(13)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";t.exports=!n(13)&&!n(19)(function(){return 7!=Object.defineProperty(n(74)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r=n(82),i=n(80),o=n(83),a=n(89),s=n(36),u=Object.assign;t.exports=!u||n(19)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,l=1,c=i.f,f=o.f;u>l;)for(var h,d=s(arguments[l++]),p=c?r(d).concat(c(d)):r(d),v=p.length,g=0;v>g;)f.call(d,h=p[g++])&&(n[h]=d[h]);return n}:u},function(t,e){"use strict";e.f=Object.getOwnPropertySymbols},function(t,e,n){"use strict";var r=n(76),i=n(39),o=n(71)(!1),a=n(85)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~o(l,n)||l.push(n));return l}},function(t,e,n){"use strict";var r=n(81),i=n(75);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e){"use strict";e.f={}.propertyIsEnumerable},function(t,e){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){"use strict";var r=n(86)("keys"),i=n(91);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){"use strict";var r=n(20),i="__core-js_shared__",o=r[i]||(r[i]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){"use strict";var r=n(38),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e,n){"use strict";var r=n(38),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){"use strict";var r=n(34);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";var r=n(21);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){"use strict";var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){"use strict";var r=n(35);r(r.S+r.F,"Object",{assign:n(79)})},function(t,e,n){"use strict";var r=n(35);r(r.S+r.F*!n(13),"Object",{defineProperty:n(37).f})},function(t,e,n){"use strict";var r,i=n(106),o=n(113),a=n(109),s=n(116);r=t.exports=function(t,e){var n,r,a,u,l;return arguments.length<2||"string"!=typeof t?(u=e,e=t,t=null):u=arguments[2],null==t?(n=a=!0,r=!1):(n=s.call(t,"c"),r=s.call(t,"e"),a=s.call(t,"w")),l={value:e,configurable:n,enumerable:r,writable:a},u?i(o(u),l):l},r.gs=function(t,e,n){var r,u,l,c;return"string"!=typeof t?(l=n,n=e,e=t,t=null):l=arguments[3],null==e?e=void 0:a(e)?null==n?n=void 0:a(n)||(l=n,n=void 0):(l=e,e=n=void 0),null==t?(r=!0,u=!1):(r=s.call(t,"c"),u=s.call(t,"e")),c={get:e,set:n,configurable:r,enumerable:u},l?i(o(l),c):c}},function(t,e){"use strict";function n(t){for(var e=[],n=void 0,r=void 0,i=0;i<t.length;i++)n=t[i],r=n.added?1:n.removed?-1:0,e.push([r,n.value]);return e}e.__esModule=!0,e.convertChangesToDMP=n},function(t,e){"use strict";function n(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];i.added?e.push("<ins>"):i.removed&&e.push("<del>"),e.push(r(i.value)),i.added?e.push("</ins>"):i.removed&&e.push("</del>")}return e.join("")}function r(t){var e=t;return e=e.replace(/&/g,"&"),e=e.replace(/</g,"<"),e=e.replace(/>/g,">"),e=e.replace(/"/g,""")}e.__esModule=!0,e.convertChangesToXML=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.characterDiff=void 0,e.diffChars=i;var o=n(2),a=r(o),s=e.characterDiff=new a["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.cssDiff=void 0,e.diffCss=i;var o=n(2),a=r(o),s=e.cssDiff=new a["default"];s.tokenize=function(t){return t.split(/([{}:;,]|\s+)/)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e,n){return h.diff(t,e,n)}function o(t,e,n){e=e||[],n=n||[];var r=void 0;for(r=0;r<e.length;r+=1)if(e[r]===t)return n[r];var i=void 0;if("[object Array]"===f.call(t)){for(e.push(t),i=new Array(t.length),n.push(i),r=0;r<t.length;r+=1)i[r]=o(t[r],e,n);return e.pop(),n.pop(),i}if(t&&t.toJSON&&(t=t.toJSON()),"object"===("undefined"==typeof t?"undefined":s(t))&&null!==t){e.push(t),i={},n.push(i);var a=[],u=void 0;for(u in t)t.hasOwnProperty(u)&&a.push(u);for(a.sort(),r=0;r<a.length;r+=1)u=a[r],i[u]=o(t[u],e,n);e.pop(),n.pop()}else i=t;return i}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};e.__esModule=!0,e.jsonDiff=void 0;var s="function"==typeof Symbol&&"symbol"===a(Symbol.iterator)?function(t){return"undefined"==typeof t?"undefined":a(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":"undefined"==typeof t?"undefined":a(t)};e.diffJson=i,e.canonicalize=o;var u=n(2),l=r(u),c=n(22),f=Object.prototype.toString,h=e.jsonDiff=new l["default"];h.useLongestToken=!0,h.tokenize=c.lineDiff.tokenize,h.castInput=function(t){return"string"==typeof t?t:JSON.stringify(o(t),void 0," ")},h.equals=function(t,e){return l["default"].prototype.equals(t.replace(/,([\r\n])/g,"$1"),e.replace(/,([\r\n])/g,"$1"))}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.sentenceDiff=void 0,e.diffSentences=i;var o=n(2),a=r(o),s=e.sentenceDiff=new a["default"];s.tokenize=function(t){return t.split(/(\S.+?[.!?])(?=\s+|$)/)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e,n){var r=(0,u.generateOptions)(n,{ignoreWhitespace:!0});return f.diff(t,e,r)}function o(t,e,n){return f.diff(t,e,n)}e.__esModule=!0,e.wordDiff=void 0,e.diffWords=i,e.diffWordsWithSpace=o;var a=n(2),s=r(a),u=n(42),l=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,c=/\S/,f=e.wordDiff=new s["default"];f.equals=function(t,e){return t===e||this.options.ignoreWhitespace&&!c.test(t)&&!c.test(e)},f.tokenize=function(t){for(var e=t.split(/(\s+|\b)/),n=0;n<e.length-1;n++)!e[n+1]&&e[n+2]&&l.test(e[n])&&l.test(e[n+2])&&(e[n]+=e[n+2],e.splice(n+1,2),n--);return e}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0,e.canonicalize=e.convertChangesToXML=e.convertChangesToDMP=e.parsePatch=e.applyPatches=e.applyPatch=e.createPatch=e.createTwoFilesPatch=e.structuredPatch=e.diffJson=e.diffCss=e.diffSentences=e.diffTrimmedLines=e.diffLines=e.diffWordsWithSpace=e.diffWords=e.diffChars=e.Diff=void 0;var i=n(2),o=r(i),a=n(97),s=n(101),u=n(22),l=n(100),c=n(98),f=n(99),h=n(103),d=n(41),p=n(104),v=n(95),g=n(96);e.Diff=o["default"],e.diffChars=a.diffChars,e.diffWords=s.diffWords,e.diffWordsWithSpace=s.diffWordsWithSpace,e.diffLines=u.diffLines,e.diffTrimmedLines=u.diffTrimmedLines,e.diffSentences=l.diffSentences,e.diffCss=c.diffCss,e.diffJson=f.diffJson,e.structuredPatch=p.structuredPatch,e.createTwoFilesPatch=p.createTwoFilesPatch,e.createPatch=p.createPatch,e.applyPatch=h.applyPatch,e.applyPatches=h.applyPatches,e.parsePatch=d.parsePatch,e.convertChangesToDMP=v.convertChangesToDMP,e.convertChangesToXML=g.convertChangesToXML,e.canonicalize=f.canonicalize},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){function n(t,e){for(var n=0;n<t.lines.length;n++){var r=t.lines[n],o=r[0],a=r.substr(1);if(" "===o||"-"===o){if(!s(e+1,i[e],o,a)&&(l++,l>c))return!1;e++}}return!0}var r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if("string"==typeof e&&(e=(0,a.parsePatch)(e)),Array.isArray(e)){if(e.length>1)throw new Error("applyPatch only works with a single input.");e=e[0]}for(var i=t.split("\n"),o=e.hunks,s=r.compareLine||function(t,e,n,r){return e===r},l=0,c=r.fuzzFactor||0,f=0,h=0,d=void 0,p=void 0,v=0;v<o.length;v++){for(var g=o[v],m=i.length-g.oldLines,y=0,b=h+g.oldStart-1,x=(0,u["default"])(b,f,m);void 0!==y;y=x())if(n(g,b+y)){g.offset=h+=y;break}if(void 0===y)return!1;f=g.offset+g.oldStart+g.oldLines}for(var _=0;_<o.length;_++){var w=o[_],C=w.offset+w.newStart-1;0==w.newLines&&C++;for(var k=0;k<w.lines.length;k++){var T=w.lines[k],S=T[0],A=T.substr(1);if(" "===S)C++;else if("-"===S)i.splice(C,1);else if("+"===S)i.splice(C,0,A),C++;else if("\\"===S){var j=w.lines[k-1]?w.lines[k-1][0]:null;"+"===j?d=!0:"-"===j&&(p=!0)}}}if(d)for(;!i[i.length-1];)i.pop();else p&&i.push("");return i.join("\n")}function o(t,e){function n(){var o=t[r++];return o?void e.loadFile(o,function(t,r){if(t)return e.complete(t);var a=i(r,o,e);e.patched(o,a,function(t){return t?e.complete(t):void n()})}):e.complete()}"string"==typeof t&&(t=(0,a.parsePatch)(t));var r=0;n()}e.__esModule=!0,e.applyPatch=i,e.applyPatches=o;var a=n(41),s=n(105),u=r(s)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function i(t,e,n,i,o,a,u){function l(t){return t.map(function(t){return" "+t})}u||(u={context:4});var c=(0,s.diffLines)(n,i);c.push({value:"",lines:[]});for(var f=[],h=0,d=0,p=[],v=1,g=1,m=function(t){var e=c[t],o=e.lines||e.value.replace(/\n$/,"").split("\n");if(e.lines=o,e.added||e.removed){var a;if(!h){var s=c[t-1];h=v,d=g,s&&(p=u.context>0?l(s.lines.slice(-u.context)):[],h-=p.length,d-=p.length)}(a=p).push.apply(a,r(o.map(function(t){return(e.added?"+":"-")+t}))),e.added?g+=o.length:v+=o.length}else{if(h)if(o.length<=2*u.context&&t<c.length-2){var m;(m=p).push.apply(m,r(l(o)))}else{var y,b=Math.min(o.length,u.context);(y=p).push.apply(y,r(l(o.slice(0,b))));var x={oldStart:h,oldLines:v-h+b,newStart:d,newLines:g-d+b,lines:p};if(t>=c.length-2&&o.length<=u.context){var _=/\n$/.test(n),w=/\n$/.test(i);0!=o.length||_?_&&w||p.push("\\ No newline at end of file"):p.splice(x.oldLines,0,"\\ No newline at end of file")}f.push(x),h=0,d=0,p=[]}v+=o.length,g+=o.length}},y=0;y<c.length;y++)m(y);return{oldFileName:t,newFileName:e,oldHeader:o,newHeader:a,hunks:f}}function o(t,e,n,r,o,a,s){var u=i(t,e,n,r,o,a,s),l=[];t==e&&l.push("Index: "+t),l.push("==================================================================="),l.push("--- "+u.oldFileName+("undefined"==typeof u.oldHeader?"":"\t"+u.oldHeader)),l.push("+++ "+u.newFileName+("undefined"==typeof u.newHeader?"":"\t"+u.newHeader));for(var c=0;c<u.hunks.length;c++){var f=u.hunks[c];l.push("@@ -"+f.oldStart+","+f.oldLines+" +"+f.newStart+","+f.newLines+" @@"),l.push.apply(l,f.lines)}return l.join("\n")+"\n"}function a(t,e,n,r,i,a){return o(t,t,e,n,r,i,a)}e.__esModule=!0,e.structuredPatch=i,e.createTwoFilesPatch=o,e.createPatch=a;var s=n(22)},function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t,e,n){var r=!0,i=!1,o=!1,a=1;return function s(){if(r&&!o){if(i?a++:r=!1,t+a<=n)return a;o=!0}if(!i)return o||(r=!0),e<=t-a?-a++:(i=!0,s())}}},function(t,e,n){"use strict";t.exports=n(107)()?Object.assign:n(108)},function(t,e){"use strict";t.exports=function(){var t,e=Object.assign;return"function"==typeof e&&(t={foo:"raz"},e(t,{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}},function(t,e,n){"use strict";var r=n(110),i=n(115),o=Math.max;t.exports=function(t,e){var n,a,s,u=o(arguments.length,2);for(t=Object(i(t)),s=function(r){try{t[r]=e[r]}catch(i){n||(n=i)}},a=1;a<u;++a)e=arguments[a],r(e).forEach(s);if(void 0!==n)throw n;return t}},function(t,e){"use strict";t.exports=function(t){return"function"==typeof t}},function(t,e,n){"use strict";t.exports=n(111)()?Object.keys:n(112)},function(t,e){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}},function(t,e){"use strict";var n=Object.keys;t.exports=function(t){return n(null==t?t:Object(t))}},function(t,e){"use strict";var n=Array.prototype.forEach,r=Object.create,i=function(t,e){var n;for(n in t)e[n]=t[n]};t.exports=function(t){var e=r(null);return n.call(arguments,function(t){null!=t&&i(Object(t),e)}),e}},function(t,e){"use strict";t.exports=function(t){if("function"!=typeof t)throw new TypeError(t+" is not a function");return t}},function(t,e){"use strict";t.exports=function(t){if(null==t)throw new TypeError("Cannot use null or undefined");return t}},function(t,e,n){"use strict";t.exports=n(117)()?String.prototype.contains:n(118)},function(t,e){"use strict";var n="razdwatrzy";t.exports=function(){return"function"==typeof n.contains&&(n.contains("dwa")===!0&&n.contains("foo")===!1)}},function(t,e){"use strict";var n=String.prototype.indexOf;t.exports=function(t){return n.call(this,t,arguments[1])>-1}},function(t,e){"use strict";var n=/[|\\{}()[\]^$+*?.]/g;t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(n,"\\$&")}},function(t,e,n){"use strict";var r,i,o,a,s,u,l,c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},f=n(94),h=n(114),d=Function.prototype.apply,p=Function.prototype.call,v=Object.create,g=Object.defineProperty,m=Object.defineProperties,y=Object.prototype.hasOwnProperty,b={configurable:!0,enumerable:!1,writable:!0};r=function(t,e){var n;return h(e),y.call(this,"__ee__")?n=this.__ee__:(n=b.value=v(null),g(this,"__ee__",b),b.value=null),n[t]?"object"===c(n[t])?n[t].push(e):n[t]=[n[t],e]:n[t]=e,this},i=function(t,e){var n,i;return h(e),i=this,r.call(this,t,n=function(){o.call(i,t,n),d.call(e,this,arguments)}),n.__eeOnceListener__=e,this},o=function(t,e){var n,r,i,o;if(h(e),!y.call(this,"__ee__"))return this;if(n=this.__ee__,!n[t])return this;if(r=n[t],"object"===("undefined"==typeof r?"undefined":c(r)))for(o=0;i=r[o];++o)i!==e&&i.__eeOnceListener__!==e||(2===r.length?n[t]=r[o?0:1]:r.splice(o,1));else r!==e&&r.__eeOnceListener__!==e||delete n[t];return this},a=function(t){var e,n,r,i,o;if(y.call(this,"__ee__")&&(i=this.__ee__[t]))if("object"===("undefined"==typeof i?"undefined":c(i))){for(n=arguments.length,o=new Array(n-1),e=1;e<n;++e)o[e-1]=arguments[e];for(i=i.slice(),e=0;r=i[e];++e)d.call(r,this,o)}else switch(arguments.length){case 1:p.call(i,this);break;case 2:p.call(i,this,arguments[1]);break;case 3:p.call(i,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,o=new Array(n-1),e=1;e<n;++e)o[e-1]=arguments[e];d.call(i,this,o)}},s={on:r,once:i,off:o,emit:a},u={on:f(r),once:f(i),off:f(o),emit:f(a)},l=m({},u),t.exports=e=function(t){return null==t?v(l):m(Object(t),u)},e.methods=s},function(t,e,n){"use strict";var r=n(33),i=new RegExp(r().source);t.exports=i.test.bind(i)},function(t,e){"use strict";function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(c===setTimeout)return setTimeout(t,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(t,0);try{return c(t,0)}catch(e){try{return c.call(null,t,0)}catch(e){return c.call(this,t,0)}}}function o(t){if(f===clearTimeout)return clearTimeout(t);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function a(){v&&d&&(v=!1,d.length?p=d.concat(p):g=-1,p.length&&s())}function s(){if(!v){var t=i(a);v=!0;for(var e=p.length;e;){for(d=p,p=[];++g<e;)d&&d[g].run();g=-1,e=p.length}d=null,v=!1,o(t)}}function u(t,e){this.fun=t,this.array=e}function l(){}var c,f,h=t.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(t){c=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(t){f=r}}();var d,p=[],v=!1,g=-1;h.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];p.push(new u(t,e)),1!==p.length||v||i(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=l,h.addListener=l,h.once=l,h.off=l,h.removeListener=l,h.removeAllListeners=l,h.emit=l,h.binding=function(t){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(t){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},function(t,e,n){"use strict";var r=n(33)();t.exports=function(t){return"string"==typeof t?t.replace(r,""):t}},function(t,e,n){(function(e){"use strict";t.exports=function(){return e.argv.indexOf("--no-color")===-1&&(e.argv.indexOf("--color")!==-1||!(e.stdout&&!e.stdout.isTTY)&&("win32"===e.platform||("COLORTERM"in{NODE_ENV:"production"}||"dumb"!=={NODE_ENV:"production"}.TERM&&!!/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test({NODE_ENV:"production"}.TERM))))}()}).call(e,n(122))},function(t,e){/*!
* vue-resource v0.9.3
* https://github.com/vuejs/vue-resource
* Released under the MIT License.
*/
-"use strict";function n(t){this.state=nt,this.value=void 0,this.deferred=[];var e=this;try{t(function(t){e.resolve(t)},function(t){e.reject(t)})}catch(n){e.reject(n)}}function r(t,e){t instanceof it?this.promise=t:this.promise=new it(t.bind(e)),this.context=e}function i(t){st=t.util,at=t.config.debug||!t.config.silent}function o(t){"undefined"!=typeof console&&at&&console.warn("[VueResource warn]: "+t)}function a(t){"undefined"!=typeof console&&console.error(t)}function s(t,e){return st.nextTick(t,e)}function u(t){return t.replace(/^\s*|\s*$/g,"")}function l(t){return"string"==typeof t}function c(t){return t===!0||t===!1}function f(t){return"function"==typeof t}function h(t){return null!==t&&"object"===("undefined"==typeof t?"undefined":K(t))}function d(t){return h(t)&&Object.getPrototypeOf(t)==Object.prototype}function p(t){return"undefined"!=typeof FormData&&t instanceof FormData}function v(t,e,n){var i=r.resolve(t);return arguments.length<2?i:i.then(e,n)}function g(t,e,n){return n=n||{},f(n)&&(n=n.call(e)),y(t.bind({$vm:e,$options:n}),t,{$options:n})}function m(t,e){var n,r;if("number"==typeof t.length)for(n=0;n<t.length;n++)e.call(t[n],t[n],n);else if(h(t))for(r in t)t.hasOwnProperty(r)&&e.call(t[r],t[r],r);return t}function y(t){var e=ut.slice.call(arguments,1);return e.forEach(function(e){_(t,e,!0)}),t}function b(t){var e=ut.slice.call(arguments,1);return e.forEach(function(e){for(var n in e)void 0===t[n]&&(t[n]=e[n])}),t}function x(t){var e=ut.slice.call(arguments,1);return e.forEach(function(e){_(t,e)}),t}function _(t,e,n){for(var r in e)n&&(d(e[r])||lt(e[r]))?(d(e[r])&&!d(t[r])&&(t[r]={}),lt(e[r])&&!lt(t[r])&&(t[r]=[]),_(t[r],e[r],n)):void 0!==e[r]&&(t[r]=e[r])}function w(t,e){var n=e(t);return l(t.root)&&!n.match(/^(https?:)?\//)&&(n=t.root+"/"+n),n}function C(t,e){var n=Object.keys(M.options.params),r={},i=e(t);return m(t.params,function(t,e){n.indexOf(e)===-1&&(r[e]=t)}),r=M.params(r),r&&(i+=(i.indexOf("?")==-1?"?":"&")+r),i}function k(t,e,n){var r=T(t),i=r.expand(e);return n&&n.push.apply(n,r.vars),i}function T(t){var e=["+","#",".","/",";","?","&"],n=[];return{vars:n,expand:function(r){return t.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(t,i,o){if(i){var a=null,s=[];if(e.indexOf(i.charAt(0))!==-1&&(a=i.charAt(0),i=i.substr(1)),i.split(/,/g).forEach(function(t){var e=/([^:\*]*)(?::(\d+)|(\*))?/.exec(t);s.push.apply(s,S(r,a,e[1],e[2]||e[3])),n.push(e[1])}),a&&"+"!==a){var u=",";return"?"===a?u="&":"#"!==a&&(u=a),(0!==s.length?a:"")+s.join(u)}return s.join(",")}return O(o)})}}}function S(t,e,n,r){var i=t[n],o=[];if(A(i)&&""!==i)if("string"==typeof i||"number"==typeof i||"boolean"==typeof i)i=i.toString(),r&&"*"!==r&&(i=i.substring(0,parseInt(r,10))),o.push(E(e,i,j(e)?n:null));else if("*"===r)Array.isArray(i)?i.filter(A).forEach(function(t){o.push(E(e,t,j(e)?n:null))}):Object.keys(i).forEach(function(t){A(i[t])&&o.push(E(e,i[t],t))});else{var a=[];Array.isArray(i)?i.filter(A).forEach(function(t){a.push(E(e,t))}):Object.keys(i).forEach(function(t){A(i[t])&&(a.push(encodeURIComponent(t)),a.push(E(e,i[t].toString())))}),j(e)?o.push(encodeURIComponent(n)+"="+a.join(",")):0!==a.length&&o.push(a.join(","))}else";"===e?o.push(encodeURIComponent(n)):""!==i||"&"!==e&&"?"!==e?""===i&&o.push(""):o.push(encodeURIComponent(n)+"=");return o}function A(t){return void 0!==t&&null!==t}function j(t){return";"===t||"&"===t||"?"===t}function E(t,e,n){return e="+"===t||"#"===t?O(e):encodeURIComponent(e),n?encodeURIComponent(n)+"="+e:e}function O(t){return t.split(/(%[0-9A-Fa-f]{2})/g).map(function(t){return/%[0-9A-Fa-f]/.test(t)||(t=encodeURI(t)),t}).join("")}function $(t){var e=[],n=k(t.url,t.params,e);return e.forEach(function(e){delete t.params[e]}),n}function M(t,e){var n,r=this||{},i=t;return l(t)&&(i={url:t,params:e}),i=y({},M.options,r.$options,i),M.transforms.forEach(function(t){n=N(t,n,r.$vm)}),n(i)}function N(t,e,n){return function(r){return t.call(n,r,e)}}function P(t,e,n){var r,i=lt(e),o=d(e);m(e,function(e,a){r=h(e)||lt(e),n&&(a=n+"["+(o||r?a:"")+"]"),!n&&i?t.add(e.name,e.value):r?P(t,e,a):t.add(a,e)})}function D(t){return new r(function(e){var n=new XDomainRequest,r=function(r){var i=t.respondWith(n.responseText,{status:n.status,statusText:n.statusText});e(i)};t.abort=function(){return n.abort()},n.open(t.method,t.getUrl(),!0),n.timeout=0,n.onload=r,n.onerror=r,n.ontimeout=function(){},n.onprogress=function(){},n.send(t.getBody())})}function F(t,e){!c(t.crossOrigin)&&B(t)&&(t.crossOrigin=!0),t.crossOrigin&&(pt||(t.client=D),delete t.emulateHTTP),e()}function B(t){var e=M.parse(M(t));return e.protocol!==dt.protocol||e.host!==dt.host}function L(t,e){t.emulateJSON&&d(t.body)&&(t.body=M.params(t.body),t.headers["Content-Type"]="application/x-www-form-urlencoded"),p(t.body)&&delete t.headers["Content-Type"],d(t.body)&&(t.body=JSON.stringify(t.body)),e(function(t){var e=t.headers["Content-Type"];if(l(e)&&0===e.indexOf("application/json"))try{t.data=t.json()}catch(n){t.data=null}else t.data=t.text()})}function R(t){return new r(function(e){var n,r,i=t.jsonp||"callback",o="_jsonp"+Math.random().toString(36).substr(2),a=null;n=function(n){var i=0;"load"===n.type&&null!==a?i=200:"error"===n.type&&(i=404),e(t.respondWith(a,{status:i})),delete window[o],document.body.removeChild(r)},t.params[i]=o,window[o]=function(t){a=JSON.stringify(t)},r=document.createElement("script"),r.src=t.getUrl(),r.type="text/javascript",r.async=!0,r.onload=n,r.onerror=n,document.body.appendChild(r)})}function I(t,e){"JSONP"==t.method&&(t.client=R),e(function(e){"JSONP"==t.method&&(e.data=e.json())})}function H(t,e){f(t.before)&&t.before.call(this,t),e()}function q(t,e){t.emulateHTTP&&/^(PUT|PATCH|DELETE)$/i.test(t.method)&&(t.headers["X-HTTP-Method-Override"]=t.method,t.method="POST"),e()}function V(t,e){t.method=t.method.toUpperCase(),t.headers=ct({},G.headers.common,t.crossOrigin?{}:G.headers.custom,G.headers[t.method.toLowerCase()],t.headers),e()}function z(t,e){var n;t.timeout&&(n=setTimeout(function(){t.abort()},t.timeout)),e(function(t){clearTimeout(n)})}function U(t){return new r(function(e){var n=new XMLHttpRequest,r=function(r){var i=t.respondWith("response"in n?n.response:n.responseText,{status:1223===n.status?204:n.status,statusText:1223===n.status?"No Content":u(n.statusText),headers:W(n.getAllResponseHeaders())});e(i)};t.abort=function(){return n.abort()},n.open(t.method,t.getUrl(),!0),n.timeout=0,n.onload=r,n.onerror=r,t.progress&&("GET"===t.method?n.addEventListener("progress",t.progress):/^(POST|PUT)$/i.test(t.method)&&n.upload.addEventListener("progress",t.progress)),t.credentials===!0&&(n.withCredentials=!0),m(t.headers||{},function(t,e){n.setRequestHeader(e,t)}),n.send(t.getBody())})}function W(t){var e,n,r,i={};return m(u(t).split("\n"),function(t){r=t.indexOf(":"),n=u(t.slice(0,r)),e=u(t.slice(r+1)),i[n]?lt(i[n])?i[n].push(e):i[n]=[i[n],e]:i[n]=e}),i}function X(t){function e(e){return new r(function(r){function s(){n=i.pop(),f(n)?n.call(t,e,u):(o("Invalid interceptor of type "+("undefined"==typeof n?"undefined":K(n))+", must be a function"),u())}function u(e){if(f(e))a.unshift(e);else if(h(e))return a.forEach(function(n){e=v(e,function(e){return n.call(t,e)||e})}),void v(e,r);s()}s()},t)}var n,i=[J],a=[];return h(t)||(t=null),e.use=function(t){i.push(t)},e}function J(t,e){var n=t.client||U;e(n(t))}function G(t){var e=this||{},n=X(e.$vm);return b(t||{},e.$options,G.options),G.interceptors.forEach(function(t){n.use(t)}),n(new mt(t)).then(function(t){return t.ok?t:r.reject(t)},function(t){return t instanceof Error&&a(t),r.reject(t)})}function Z(t,e,n,r){var i=this||{},o={};return n=ct({},Z.actions,n),m(n,function(n,a){n=y({url:t,params:e||{}},r,n),o[a]=function(){return(i.$http||G)(Y(n,arguments))}}),o}function Y(t,e){var n,r=ct({},t),i={};switch(e.length){case 2:i=e[0],n=e[1];break;case 1:/^(POST|PUT|PATCH)$/i.test(r.method)?n=e[0]:i=e[0];break;case 0:break;default:throw"Expected up to 4 arguments [params, body], got "+e.length+" arguments"}return r.body=n,r.params=ct({},r.params,i),r}function Q(t){Q.installed||(i(t),t.url=M,t.http=G,t.resource=Z,t.Promise=r,Object.defineProperties(t.prototype,{$url:{get:function(){return g(t.url,this,this.$options.url)}},$http:{get:function(){return g(t.http,this,this.$options.http)}},$resource:{get:function(){return t.resource.bind(this)}},$promise:{get:function(){var e=this;return function(n){return new t.Promise(n,e)}}}}))}var K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},tt=0,et=1,nt=2;n.reject=function(t){return new n(function(e,n){n(t)})},n.resolve=function(t){return new n(function(e,n){e(t)})},n.all=function(t){return new n(function(e,r){function i(n){return function(r){a[n]=r,o+=1,o===t.length&&e(a)}}var o=0,a=[];0===t.length&&e(a);for(var s=0;s<t.length;s+=1)n.resolve(t[s]).then(i(s),r)})},n.race=function(t){return new n(function(e,r){for(var i=0;i<t.length;i+=1)n.resolve(t[i]).then(e,r)})};var rt=n.prototype;rt.resolve=function(t){var e=this;if(e.state===nt){if(t===e)throw new TypeError("Promise settled with itself.");var n=!1;try{var r=t&&t.then;if(null!==t&&"object"===("undefined"==typeof t?"undefined":K(t))&&"function"==typeof r)return void r.call(t,function(t){n||e.resolve(t),n=!0},function(t){n||e.reject(t),n=!0})}catch(i){return void(n||e.reject(i))}e.state=tt,e.value=t,e.notify()}},rt.reject=function(t){var e=this;if(e.state===nt){if(t===e)throw new TypeError("Promise settled with itself.");e.state=et,e.value=t,e.notify()}},rt.notify=function(){var t=this;s(function(){if(t.state!==nt)for(;t.deferred.length;){var e=t.deferred.shift(),n=e[0],r=e[1],i=e[2],o=e[3];try{t.state===tt?i("function"==typeof n?n.call(void 0,t.value):t.value):t.state===et&&("function"==typeof r?i(r.call(void 0,t.value)):o(t.value))}catch(a){o(a)}}})},rt.then=function(t,e){var r=this;return new n(function(n,i){r.deferred.push([t,e,n,i]),r.notify()})},rt["catch"]=function(t){return this.then(void 0,t)};var it=window.Promise||n;r.all=function(t,e){return new r(it.all(t),e)},r.resolve=function(t,e){return new r(it.resolve(t),e)},r.reject=function(t,e){return new r(it.reject(t),e)},r.race=function(t,e){return new r(it.race(t),e)};var ot=r.prototype;ot.bind=function(t){return this.context=t,this},ot.then=function(t,e){return t&&t.bind&&this.context&&(t=t.bind(this.context)),e&&e.bind&&this.context&&(e=e.bind(this.context)),new r(this.promise.then(t,e),this.context)},ot["catch"]=function(t){return t&&t.bind&&this.context&&(t=t.bind(this.context)),new r(this.promise["catch"](t),this.context)},ot["finally"]=function(t){return this.then(function(e){return t.call(this),e},function(e){return t.call(this),it.reject(e)})};var at=!1,st={},ut=[],lt=Array.isArray,ct=Object.assign||x,ft=document.documentMode,ht=document.createElement("a");M.options={url:"",root:null,params:{}},M.transforms=[$,C,w],M.params=function(t){var e=[],n=encodeURIComponent;return e.add=function(t,e){f(e)&&(e=e()),null===e&&(e=""),this.push(n(t)+"="+n(e))},P(e,t),e.join("&").replace(/%20/g,"+")},M.parse=function(t){return ft&&(ht.href=t,t=ht.href),ht.href=t,{href:ht.href,protocol:ht.protocol?ht.protocol.replace(/:$/,""):"",port:ht.port,host:ht.host,hostname:ht.hostname,pathname:"/"===ht.pathname.charAt(0)?ht.pathname:"/"+ht.pathname,search:ht.search?ht.search.replace(/^\?/,""):"",hash:ht.hash?ht.hash.replace(/^#/,""):""}};var dt=M.parse(location.href),pt="withCredentials"in new XMLHttpRequest,vt=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},gt=function(){function t(e,n){var r=n.url,i=n.headers,o=n.status,a=n.statusText;vt(this,t),this.url=r,this.body=e,this.headers=i||{},this.status=o||0,this.statusText=a||"",this.ok=o>=200&&o<300}return t.prototype.text=function(){return this.body},t.prototype.blob=function(){return new Blob([this.body])},t.prototype.json=function(){return JSON.parse(this.body)},t}(),mt=function(){function t(e){vt(this,t),this.method="GET",this.body=null,this.params={},this.headers={},ct(this,e)}return t.prototype.getUrl=function(){return M(this)},t.prototype.getBody=function(){return this.body},t.prototype.respondWith=function(t,e){return new gt(t,ct(e||{},{url:this.getUrl()}))},t}(),yt={"X-Requested-With":"XMLHttpRequest"},bt={Accept:"application/json, text/plain, */*"},xt={"Content-Type":"application/json;charset=utf-8"};G.options={},G.headers={put:xt,post:xt,patch:xt,"delete":xt,custom:yt,common:bt},G.interceptors=[H,z,q,L,I,V,F],["get","delete","head","jsonp"].forEach(function(t){G[t]=function(e,n){return this(ct(n||{},{url:e,method:t}))}}),["post","put","patch"].forEach(function(t){G[t]=function(e,n,r){return this(ct(r||{},{url:e,method:t,body:n}))}}),Z.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},"delete":{method:"DELETE"}},"undefined"!=typeof window&&window.Vue&&window.Vue.use(Q),t.exports=Q},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(62),o=r(i),a=n(60),s=r(a),u=n(124);e["default"]={data:function(){return{items:[],query:"",current:-1,loading:!1,queryParamName:"q"}},computed:{hasItems:function(){return this.items.length>0},isEmpty:function(){return!this.query},isDirty:function(){return!!this.query}},methods:{update:function(){var t=this;return this.query?void(this.minChars&&this.query.length<this.minChars||(this.loading=!0,this.fetch().then(function(e){if(t.query){var n=e.data;n=t.prepareResponseData?t.prepareResponseData(n):n,t.items=t.limit?n.slice(0,t.limit):n,t.current=-1,t.loading=!1}}))):this.reset()},fetch:function(){if(!this.$http)return u.util.warn("You need to install the `vue-resource` plugin",this);if(!this.src)return u.util.warn("You need to set the `src` property",this);"/"!==this.src.substr(-1)&&(this.src+="/");var t=this.queryParamName?this.src:this.src+this.query,e=this.queryParamName?(0,s["default"])((0,o["default"])({},this.queryParamName,this.query),this.data):this.data;return this.$http.get(t,e)},reset:function(){this.items=[],this.query="",this.loading=!1},setActive:function(t){this.current=t},activeClass:function(t){return{active:this.current===t}},hit:function(){this.current!==-1&&this.onHit(this.items[this.current])},up:function(){this.current>0?this.current--:this.current===-1?this.current=this.items.length-1:this.current=-1},down:function(){this.current<this.items.length-1?this.current++:this.current=-1},onHit:function(){u.util.warn("You need to implement the `onHit` method",this)}}}},function(t,e,n){(function(e){/*!
+"use strict";function n(t){this.state=nt,this.value=void 0,this.deferred=[];var e=this;try{t(function(t){e.resolve(t)},function(t){e.reject(t)})}catch(n){e.reject(n)}}function r(t,e){t instanceof it?this.promise=t:this.promise=new it(t.bind(e)),this.context=e}function i(t){st=t.util,at=t.config.debug||!t.config.silent}function o(t){"undefined"!=typeof console&&at&&console.warn("[VueResource warn]: "+t)}function a(t){"undefined"!=typeof console&&console.error(t)}function s(t,e){return st.nextTick(t,e)}function u(t){return t.replace(/^\s*|\s*$/g,"")}function l(t){return"string"==typeof t}function c(t){return t===!0||t===!1}function f(t){return"function"==typeof t}function h(t){return null!==t&&"object"===("undefined"==typeof t?"undefined":K(t))}function d(t){return h(t)&&Object.getPrototypeOf(t)==Object.prototype}function p(t){return"undefined"!=typeof FormData&&t instanceof FormData}function v(t,e,n){var i=r.resolve(t);return arguments.length<2?i:i.then(e,n)}function g(t,e,n){return n=n||{},f(n)&&(n=n.call(e)),y(t.bind({$vm:e,$options:n}),t,{$options:n})}function m(t,e){var n,r;if("number"==typeof t.length)for(n=0;n<t.length;n++)e.call(t[n],t[n],n);else if(h(t))for(r in t)t.hasOwnProperty(r)&&e.call(t[r],t[r],r);return t}function y(t){var e=ut.slice.call(arguments,1);return e.forEach(function(e){_(t,e,!0)}),t}function b(t){var e=ut.slice.call(arguments,1);return e.forEach(function(e){for(var n in e)void 0===t[n]&&(t[n]=e[n])}),t}function x(t){var e=ut.slice.call(arguments,1);return e.forEach(function(e){_(t,e)}),t}function _(t,e,n){for(var r in e)n&&(d(e[r])||lt(e[r]))?(d(e[r])&&!d(t[r])&&(t[r]={}),lt(e[r])&&!lt(t[r])&&(t[r]=[]),_(t[r],e[r],n)):void 0!==e[r]&&(t[r]=e[r])}function w(t,e){var n=e(t);return l(t.root)&&!n.match(/^(https?:)?\//)&&(n=t.root+"/"+n),n}function C(t,e){var n=Object.keys(M.options.params),r={},i=e(t);return m(t.params,function(t,e){n.indexOf(e)===-1&&(r[e]=t)}),r=M.params(r),r&&(i+=(i.indexOf("?")==-1?"?":"&")+r),i}function k(t,e,n){var r=T(t),i=r.expand(e);return n&&n.push.apply(n,r.vars),i}function T(t){var e=["+","#",".","/",";","?","&"],n=[];return{vars:n,expand:function(r){return t.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(t,i,o){if(i){var a=null,s=[];if(e.indexOf(i.charAt(0))!==-1&&(a=i.charAt(0),i=i.substr(1)),i.split(/,/g).forEach(function(t){var e=/([^:\*]*)(?::(\d+)|(\*))?/.exec(t);s.push.apply(s,S(r,a,e[1],e[2]||e[3])),n.push(e[1])}),a&&"+"!==a){var u=",";return"?"===a?u="&":"#"!==a&&(u=a),(0!==s.length?a:"")+s.join(u)}return s.join(",")}return $(o)})}}}function S(t,e,n,r){var i=t[n],o=[];if(A(i)&&""!==i)if("string"==typeof i||"number"==typeof i||"boolean"==typeof i)i=i.toString(),r&&"*"!==r&&(i=i.substring(0,parseInt(r,10))),o.push(E(e,i,j(e)?n:null));else if("*"===r)Array.isArray(i)?i.filter(A).forEach(function(t){o.push(E(e,t,j(e)?n:null))}):Object.keys(i).forEach(function(t){A(i[t])&&o.push(E(e,i[t],t))});else{var a=[];Array.isArray(i)?i.filter(A).forEach(function(t){a.push(E(e,t))}):Object.keys(i).forEach(function(t){A(i[t])&&(a.push(encodeURIComponent(t)),a.push(E(e,i[t].toString())))}),j(e)?o.push(encodeURIComponent(n)+"="+a.join(",")):0!==a.length&&o.push(a.join(","))}else";"===e?o.push(encodeURIComponent(n)):""!==i||"&"!==e&&"?"!==e?""===i&&o.push(""):o.push(encodeURIComponent(n)+"=");return o}function A(t){return void 0!==t&&null!==t}function j(t){return";"===t||"&"===t||"?"===t}function E(t,e,n){return e="+"===t||"#"===t?$(e):encodeURIComponent(e),n?encodeURIComponent(n)+"="+e:e}function $(t){return t.split(/(%[0-9A-Fa-f]{2})/g).map(function(t){return/%[0-9A-Fa-f]/.test(t)||(t=encodeURI(t)),t}).join("")}function O(t){var e=[],n=k(t.url,t.params,e);return e.forEach(function(e){delete t.params[e]}),n}function M(t,e){var n,r=this||{},i=t;return l(t)&&(i={url:t,params:e}),i=y({},M.options,r.$options,i),M.transforms.forEach(function(t){n=N(t,n,r.$vm)}),n(i)}function N(t,e,n){return function(r){return t.call(n,r,e)}}function P(t,e,n){var r,i=lt(e),o=d(e);m(e,function(e,a){r=h(e)||lt(e),n&&(a=n+"["+(o||r?a:"")+"]"),!n&&i?t.add(e.name,e.value):r?P(t,e,a):t.add(a,e)})}function D(t){return new r(function(e){var n=new XDomainRequest,r=function(r){var i=t.respondWith(n.responseText,{status:n.status,statusText:n.statusText});e(i)};t.abort=function(){return n.abort()},n.open(t.method,t.getUrl(),!0),n.timeout=0,n.onload=r,n.onerror=r,n.ontimeout=function(){},n.onprogress=function(){},n.send(t.getBody())})}function F(t,e){!c(t.crossOrigin)&&B(t)&&(t.crossOrigin=!0),t.crossOrigin&&(pt||(t.client=D),delete t.emulateHTTP),e()}function B(t){var e=M.parse(M(t));return e.protocol!==dt.protocol||e.host!==dt.host}function L(t,e){t.emulateJSON&&d(t.body)&&(t.body=M.params(t.body),t.headers["Content-Type"]="application/x-www-form-urlencoded"),p(t.body)&&delete t.headers["Content-Type"],d(t.body)&&(t.body=JSON.stringify(t.body)),e(function(t){var e=t.headers["Content-Type"];if(l(e)&&0===e.indexOf("application/json"))try{t.data=t.json()}catch(n){t.data=null}else t.data=t.text()})}function R(t){return new r(function(e){var n,r,i=t.jsonp||"callback",o="_jsonp"+Math.random().toString(36).substr(2),a=null;n=function(n){var i=0;"load"===n.type&&null!==a?i=200:"error"===n.type&&(i=404),e(t.respondWith(a,{status:i})),delete window[o],document.body.removeChild(r)},t.params[i]=o,window[o]=function(t){a=JSON.stringify(t)},r=document.createElement("script"),r.src=t.getUrl(),r.type="text/javascript",r.async=!0,r.onload=n,r.onerror=n,document.body.appendChild(r)})}function I(t,e){"JSONP"==t.method&&(t.client=R),e(function(e){"JSONP"==t.method&&(e.data=e.json())})}function H(t,e){f(t.before)&&t.before.call(this,t),e()}function q(t,e){t.emulateHTTP&&/^(PUT|PATCH|DELETE)$/i.test(t.method)&&(t.headers["X-HTTP-Method-Override"]=t.method,t.method="POST"),e()}function V(t,e){t.method=t.method.toUpperCase(),t.headers=ct({},G.headers.common,t.crossOrigin?{}:G.headers.custom,G.headers[t.method.toLowerCase()],t.headers),e()}function z(t,e){var n;t.timeout&&(n=setTimeout(function(){t.abort()},t.timeout)),e(function(t){clearTimeout(n)})}function U(t){return new r(function(e){var n=new XMLHttpRequest,r=function(r){var i=t.respondWith("response"in n?n.response:n.responseText,{status:1223===n.status?204:n.status,statusText:1223===n.status?"No Content":u(n.statusText),headers:W(n.getAllResponseHeaders())});e(i)};t.abort=function(){return n.abort()},n.open(t.method,t.getUrl(),!0),n.timeout=0,n.onload=r,n.onerror=r,t.progress&&("GET"===t.method?n.addEventListener("progress",t.progress):/^(POST|PUT)$/i.test(t.method)&&n.upload.addEventListener("progress",t.progress)),t.credentials===!0&&(n.withCredentials=!0),m(t.headers||{},function(t,e){n.setRequestHeader(e,t)}),n.send(t.getBody())})}function W(t){var e,n,r,i={};return m(u(t).split("\n"),function(t){r=t.indexOf(":"),n=u(t.slice(0,r)),e=u(t.slice(r+1)),i[n]?lt(i[n])?i[n].push(e):i[n]=[i[n],e]:i[n]=e}),i}function X(t){function e(e){return new r(function(r){function s(){n=i.pop(),f(n)?n.call(t,e,u):(o("Invalid interceptor of type "+("undefined"==typeof n?"undefined":K(n))+", must be a function"),u())}function u(e){if(f(e))a.unshift(e);else if(h(e))return a.forEach(function(n){e=v(e,function(e){return n.call(t,e)||e})}),void v(e,r);s()}s()},t)}var n,i=[J],a=[];return h(t)||(t=null),e.use=function(t){i.push(t)},e}function J(t,e){var n=t.client||U;e(n(t))}function G(t){var e=this||{},n=X(e.$vm);return b(t||{},e.$options,G.options),G.interceptors.forEach(function(t){n.use(t)}),n(new mt(t)).then(function(t){return t.ok?t:r.reject(t)},function(t){return t instanceof Error&&a(t),r.reject(t)})}function Z(t,e,n,r){var i=this||{},o={};return n=ct({},Z.actions,n),m(n,function(n,a){n=y({url:t,params:e||{}},r,n),o[a]=function(){return(i.$http||G)(Y(n,arguments))}}),o}function Y(t,e){var n,r=ct({},t),i={};switch(e.length){case 2:i=e[0],n=e[1];break;case 1:/^(POST|PUT|PATCH)$/i.test(r.method)?n=e[0]:i=e[0];break;case 0:break;default:throw"Expected up to 4 arguments [params, body], got "+e.length+" arguments"}return r.body=n,r.params=ct({},r.params,i),r}function Q(t){Q.installed||(i(t),t.url=M,t.http=G,t.resource=Z,t.Promise=r,Object.defineProperties(t.prototype,{$url:{get:function(){return g(t.url,this,this.$options.url)}},$http:{get:function(){return g(t.http,this,this.$options.http)}},$resource:{get:function(){return t.resource.bind(this)}},$promise:{get:function(){var e=this;return function(n){return new t.Promise(n,e)}}}}))}var K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},tt=0,et=1,nt=2;n.reject=function(t){return new n(function(e,n){n(t)})},n.resolve=function(t){return new n(function(e,n){e(t)})},n.all=function(t){return new n(function(e,r){function i(n){return function(r){a[n]=r,o+=1,o===t.length&&e(a)}}var o=0,a=[];0===t.length&&e(a);for(var s=0;s<t.length;s+=1)n.resolve(t[s]).then(i(s),r)})},n.race=function(t){return new n(function(e,r){for(var i=0;i<t.length;i+=1)n.resolve(t[i]).then(e,r)})};var rt=n.prototype;rt.resolve=function(t){var e=this;if(e.state===nt){if(t===e)throw new TypeError("Promise settled with itself.");var n=!1;try{var r=t&&t.then;if(null!==t&&"object"===("undefined"==typeof t?"undefined":K(t))&&"function"==typeof r)return void r.call(t,function(t){n||e.resolve(t),n=!0},function(t){n||e.reject(t),n=!0})}catch(i){return void(n||e.reject(i))}e.state=tt,e.value=t,e.notify()}},rt.reject=function(t){var e=this;if(e.state===nt){if(t===e)throw new TypeError("Promise settled with itself.");e.state=et,e.value=t,e.notify()}},rt.notify=function(){var t=this;s(function(){if(t.state!==nt)for(;t.deferred.length;){var e=t.deferred.shift(),n=e[0],r=e[1],i=e[2],o=e[3];try{t.state===tt?i("function"==typeof n?n.call(void 0,t.value):t.value):t.state===et&&("function"==typeof r?i(r.call(void 0,t.value)):o(t.value))}catch(a){o(a)}}})},rt.then=function(t,e){var r=this;return new n(function(n,i){r.deferred.push([t,e,n,i]),r.notify()})},rt["catch"]=function(t){return this.then(void 0,t)};var it=window.Promise||n;r.all=function(t,e){return new r(it.all(t),e)},r.resolve=function(t,e){return new r(it.resolve(t),e)},r.reject=function(t,e){return new r(it.reject(t),e)},r.race=function(t,e){return new r(it.race(t),e)};var ot=r.prototype;ot.bind=function(t){return this.context=t,this},ot.then=function(t,e){return t&&t.bind&&this.context&&(t=t.bind(this.context)),e&&e.bind&&this.context&&(e=e.bind(this.context)),new r(this.promise.then(t,e),this.context)},ot["catch"]=function(t){return t&&t.bind&&this.context&&(t=t.bind(this.context)),new r(this.promise["catch"](t),this.context)},ot["finally"]=function(t){return this.then(function(e){return t.call(this),e},function(e){return t.call(this),it.reject(e)})};var at=!1,st={},ut=[],lt=Array.isArray,ct=Object.assign||x,ft=document.documentMode,ht=document.createElement("a");M.options={url:"",root:null,params:{}},M.transforms=[O,C,w],M.params=function(t){var e=[],n=encodeURIComponent;return e.add=function(t,e){f(e)&&(e=e()),null===e&&(e=""),this.push(n(t)+"="+n(e))},P(e,t),e.join("&").replace(/%20/g,"+")},M.parse=function(t){return ft&&(ht.href=t,t=ht.href),ht.href=t,{href:ht.href,protocol:ht.protocol?ht.protocol.replace(/:$/,""):"",port:ht.port,host:ht.host,hostname:ht.hostname,pathname:"/"===ht.pathname.charAt(0)?ht.pathname:"/"+ht.pathname,search:ht.search?ht.search.replace(/^\?/,""):"",hash:ht.hash?ht.hash.replace(/^#/,""):""}};var dt=M.parse(location.href),pt="withCredentials"in new XMLHttpRequest,vt=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},gt=function(){function t(e,n){var r=n.url,i=n.headers,o=n.status,a=n.statusText;vt(this,t),this.url=r,this.body=e,this.headers=i||{},this.status=o||0,this.statusText=a||"",this.ok=o>=200&&o<300}return t.prototype.text=function(){return this.body},t.prototype.blob=function(){return new Blob([this.body])},t.prototype.json=function(){return JSON.parse(this.body)},t}(),mt=function(){function t(e){vt(this,t),this.method="GET",this.body=null,this.params={},this.headers={},ct(this,e)}return t.prototype.getUrl=function(){return M(this)},t.prototype.getBody=function(){return this.body},t.prototype.respondWith=function(t,e){return new gt(t,ct(e||{},{url:this.getUrl()}))},t}(),yt={"X-Requested-With":"XMLHttpRequest"},bt={Accept:"application/json, text/plain, */*"},xt={"Content-Type":"application/json;charset=utf-8"};G.options={},G.headers={put:xt,post:xt,patch:xt,"delete":xt,custom:yt,common:bt},G.interceptors=[H,z,q,L,I,V,F],["get","delete","head","jsonp"].forEach(function(t){G[t]=function(e,n){return this(ct(n||{},{url:e,method:t}))}}),["post","put","patch"].forEach(function(t){G[t]=function(e,n,r){return this(ct(r||{},{url:e,method:t,body:n}))}}),Z.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},"delete":{method:"DELETE"}},"undefined"!=typeof window&&window.Vue&&window.Vue.use(Q),t.exports=Q},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(65),o=r(i),a=n(63),s=r(a),u=n(127);e["default"]={data:function(){return{items:[],query:"",current:-1,loading:!1,queryParamName:"q"}},computed:{hasItems:function(){return this.items.length>0},isEmpty:function(){return!this.query},isDirty:function(){return!!this.query}},methods:{update:function(){var t=this;return this.query?void(this.minChars&&this.query.length<this.minChars||(this.loading=!0,this.fetch().then(function(e){if(t.query){var n=e.data;n=t.prepareResponseData?t.prepareResponseData(n):n,t.items=t.limit?n.slice(0,t.limit):n,t.current=-1,t.loading=!1}}))):this.reset()},fetch:function(){if(!this.$http)return u.util.warn("You need to install the `vue-resource` plugin",this);if(!this.src)return u.util.warn("You need to set the `src` property",this);"/"!==this.src.substr(-1)&&(this.src+="/");var t=this.queryParamName?this.src:this.src+this.query,e=this.queryParamName?(0,s["default"])((0,o["default"])({},this.queryParamName,this.query),this.data):this.data;return this.$http.get(t,e)},reset:function(){this.items=[],this.query="",this.loading=!1},setActive:function(t){this.current=t},activeClass:function(t){return{active:this.current===t}},hit:function(){this.current!==-1&&this.onHit(this.items[this.current])},up:function(){this.current>0?this.current--:this.current===-1?this.current=this.items.length-1:this.current=-1},down:function(){this.current<this.items.length-1?this.current++:this.current=-1},onHit:function(){u.util.warn("You need to implement the `onHit` method",this)}}}},function(t,e,n){(function(e){/*!
* Vue.js v1.0.26
* (c) 2016 Evan You
* Released under the MIT License.
*/
-"use strict";function n(t,e,r){if(i(t,e))return void(t[e]=r);if(t._isVue)return void n(t._data,e,r);var o=t.__ob__;if(!o)return void(t[e]=r);if(o.convert(e,r),o.dep.notify(),o.vms)for(var a=o.vms.length;a--;){var s=o.vms[a];s._proxy(e),s._digest()}return r}function r(t,e){if(i(t,e)){delete t[e];var n=t.__ob__;if(!n)return void(t._isVue&&(delete t._data[e],t._digest()));if(n.dep.notify(),n.vms)for(var r=n.vms.length;r--;){var o=n.vms[r];o._unproxy(e),o._digest()}}}function i(t,e){return $n.call(t,e)}function o(t){return Mn.test(t)}function a(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function s(t){return null==t?"":t.toString()}function u(t){if("string"!=typeof t)return t;var e=Number(t);return isNaN(e)?t:e}function l(t){return"true"===t||"false"!==t&&t}function c(t){var e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?t:t.slice(1,-1)}function f(t){return t.replace(Nn,h)}function h(t,e){return e?e.toUpperCase():""}function d(t){return t.replace(Pn,"$1-$2").toLowerCase()}function p(t){return t.replace(Dn,h)}function v(t,e){return function(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}}function g(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function m(t,e){for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t}function y(t){return null!==t&&"object"===("undefined"==typeof t?"undefined":On(t))}function b(t){return Fn.call(t)===Bn}function x(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function _(t,e){var n,r,i,o,a,s=function u(){var s=Date.now()-o;s<e&&s>=0?n=setTimeout(u,e-s):(n=null,a=t.apply(i,r),n||(i=r=null))};return function(){return i=this,r=arguments,o=Date.now(),n||(n=setTimeout(s,e)),a}}function w(t,e){for(var n=t.length;n--;)if(t[n]===e)return n;return-1}function C(t){var e=function n(){if(!n.cancelled)return t.apply(this,arguments)};return e.cancel=function(){e.cancelled=!0},e}function k(t,e){return t==e||!(!y(t)||!y(e))&&JSON.stringify(t)===JSON.stringify(e)}function T(t){this.size=0,this.limit=t,this.head=this.tail=void 0,this._keymap=Object.create(null)}function S(){var t,e=or.slice(fr,lr).trim();if(e){t={};var n=e.match(yr);t.name=n[0],n.length>1&&(t.args=n.slice(1).map(A))}t&&(ar.filters=ar.filters||[]).push(t),fr=lr+1}function A(t){if(br.test(t))return{value:u(t),dynamic:!1};var e=c(t),n=e===t;return{value:n?t:e,dynamic:n}}function j(t){var e=mr.get(t);if(e)return e;for(or=t,hr=dr=!1,pr=vr=gr=0,fr=0,ar={},lr=0,cr=or.length;lr<cr;lr++)if(ur=sr,sr=or.charCodeAt(lr),hr)39===sr&&92!==ur&&(hr=!hr);else if(dr)34===sr&&92!==ur&&(dr=!dr);else if(124===sr&&124!==or.charCodeAt(lr+1)&&124!==or.charCodeAt(lr-1))null==ar.expression?(fr=lr+1,ar.expression=or.slice(0,lr).trim()):S();else switch(sr){case 34:dr=!0;break;case 39:hr=!0;break;case 40:gr++;break;case 41:gr--;break;case 91:vr++;break;case 93:vr--;break;case 123:pr++;break;case 125:pr--}return null==ar.expression?ar.expression=or.slice(0,lr).trim():0!==fr&&S(),mr.put(t,ar),ar}function E(t){return t.replace(_r,"\\$&")}function O(){var t=E(Er.delimiters[0]),e=E(Er.delimiters[1]),n=E(Er.unsafeDelimiters[0]),r=E(Er.unsafeDelimiters[1]);Cr=new RegExp(n+"((?:.|\\n)+?)"+r+"|"+t+"((?:.|\\n)+?)"+e,"g"),kr=new RegExp("^"+n+"((?:.|\\n)+?)"+r+"$"),wr=new T(1e3)}function $(t){wr||O();var e=wr.get(t);if(e)return e;if(!Cr.test(t))return null;for(var n,r,i,o,a,s,u=[],l=Cr.lastIndex=0;n=Cr.exec(t);)r=n.index,r>l&&u.push({value:t.slice(l,r)}),i=kr.test(n[0]),o=i?n[1]:n[2],a=o.charCodeAt(0),s=42===a,o=s?o.slice(1):o,u.push({tag:!0,value:o.trim(),html:i,oneTime:s}),l=r+n[0].length;return l<t.length&&u.push({value:t.slice(l)}),wr.put(t,u),u}function M(t,e){return t.length>1?t.map(function(t){return N(t,e)}).join("+"):N(t[0],e,!0)}function N(t,e,n){return t.tag?t.oneTime&&e?'"'+e.$eval(t.value)+'"':P(t.value,n):'"'+t.value+'"'}function P(t,e){if(Tr.test(t)){var n=j(t);return n.filters?"this._applyFilters("+n.expression+",null,"+JSON.stringify(n.filters)+",false)":"("+t+")"}return e?t:"("+t+")"}function D(t,e,n,r){L(t,1,function(){e.appendChild(t)},n,r)}function F(t,e,n,r){L(t,1,function(){z(t,e)},n,r)}function B(t,e,n){L(t,-1,function(){W(t)},e,n)}function L(t,e,n,r,i){var o=t.__v_trans;if(!o||!o.hooks&&!Yn||!r._isCompiled||r.$parent&&!r.$parent._isCompiled)return n(),void(i&&i());var a=e>0?"enter":"leave";o[a](n,i)}function R(t){if("string"==typeof t){t=document.querySelector(t)}return t}function I(t){if(!t)return!1;var e=t.ownerDocument.documentElement,n=t.parentNode;return e===t||e===n||!(!n||1!==n.nodeType||!e.contains(n))}function H(t,e){var n=t.getAttribute(e);return null!==n&&t.removeAttribute(e),n}function q(t,e){var n=H(t,":"+e);return null===n&&(n=H(t,"v-bind:"+e)),n}function V(t,e){return t.hasAttribute(e)||t.hasAttribute(":"+e)||t.hasAttribute("v-bind:"+e)}function z(t,e){e.parentNode.insertBefore(t,e)}function U(t,e){e.nextSibling?z(t,e.nextSibling):e.parentNode.appendChild(t)}function W(t){t.parentNode.removeChild(t)}function X(t,e){e.firstChild?z(t,e.firstChild):e.appendChild(t)}function J(t,e){var n=t.parentNode;n&&n.replaceChild(e,t)}function G(t,e,n,r){t.addEventListener(e,n,r)}function Z(t,e,n){t.removeEventListener(e,n)}function Y(t){var e=t.className;return"object"===("undefined"==typeof e?"undefined":On(e))&&(e=e.baseVal||""),e}function Q(t,e){zn&&!/svg$/.test(t.namespaceURI)?t.className=e:t.setAttribute("class",e)}function K(t,e){if(t.classList)t.classList.add(e);else{var n=" "+Y(t)+" ";n.indexOf(" "+e+" ")<0&&Q(t,(n+e).trim())}}function tt(t,e){if(t.classList)t.classList.remove(e);else{for(var n=" "+Y(t)+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");Q(t,n.trim())}t.className||t.removeAttribute("class")}function et(t,e){var n,r;if(it(t)&<(t.content)&&(t=t.content),t.hasChildNodes())for(nt(t),r=e?document.createDocumentFragment():document.createElement("div");n=t.firstChild;)r.appendChild(n);return r}function nt(t){for(var e;e=t.firstChild,rt(e);)t.removeChild(e);for(;e=t.lastChild,rt(e);)t.removeChild(e)}function rt(t){return t&&(3===t.nodeType&&!t.data.trim()||8===t.nodeType)}function it(t){return t.tagName&&"template"===t.tagName.toLowerCase()}function ot(t,e){var n=Er.debug?document.createComment(t):document.createTextNode(e?" ":"");return n.__v_anchor=!0,n}function at(t){if(t.hasAttributes())for(var e=t.attributes,n=0,r=e.length;n<r;n++){var i=e[n].name;if(Mr.test(i))return f(i.replace(Mr,""))}}function st(t,e,n){for(var r;t!==e;)r=t.nextSibling,n(t),t=r;n(e)}function ut(t,e,n,r,i){function o(){if(s++,a&&s>=u.length){for(var t=0;t<u.length;t++)r.appendChild(u[t]);i&&i()}}var a=!1,s=0,u=[];st(t,e,function(t){t===e&&(a=!0),u.push(t),B(t,n,o)})}function lt(t){return t&&11===t.nodeType}function ct(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}function ft(t,e){var n=t.tagName.toLowerCase(),r=t.hasAttributes();if(Nr.test(n)||Pr.test(n)){if(r)return ht(t,e)}else{if(bt(e,"components",n))return{id:n};var i=r&&ht(t,e);if(i)return i}}function ht(t,e){var n=t.getAttribute("is");if(null!=n){if(bt(e,"components",n))return t.removeAttribute("is"),{id:n}}else if(n=q(t,"is"),null!=n)return{id:n,dynamic:!0}}function dt(t,e){var r,o,a;for(r in e)o=t[r],a=e[r],i(t,r)?y(o)&&y(a)&&dt(o,a):n(t,r,a);return t}function pt(t,e){var n=Object.create(t||null);return e?m(n,mt(e)):n}function vt(t){if(t.components)for(var e,n=t.components=mt(t.components),r=Object.keys(n),i=0,o=r.length;i<o;i++){var a=r[i];Nr.test(a)||Pr.test(a)||(e=n[a],b(e)&&(n[a]=kn.extend(e)))}}function gt(t){var e,n,r=t.props;if(Ln(r))for(t.props={},e=r.length;e--;)n=r[e],"string"==typeof n?t.props[n]=null:n.name&&(t.props[n.name]=n);else if(b(r)){var i=Object.keys(r);for(e=i.length;e--;)n=r[i[e]],"function"==typeof n&&(r[i[e]]={type:n})}}function mt(t){if(Ln(t)){for(var e,n={},r=t.length;r--;){e=t[r];var i="function"==typeof e?e.options&&e.options.name||e.id:e.name||e.id;i&&(n[i]=e)}return n}return t}function yt(t,e,n){function r(r){var i=Dr[r]||Fr;a[r]=i(t[r],e[r],n,r)}vt(e),gt(e);var o,a={};if(e["extends"]&&(t="function"==typeof e["extends"]?yt(t,e["extends"].options,n):yt(t,e["extends"],n)),e.mixins)for(var s=0,u=e.mixins.length;s<u;s++){var l=e.mixins[s],c=l.prototype instanceof kn?l.options:l;t=yt(t,c,n)}for(o in t)r(o);for(o in e)i(t,o)||r(o);return a}function bt(t,e,n,r){if("string"==typeof n){var i,o=t[e],a=o[n]||o[i=f(n)]||o[i.charAt(0).toUpperCase()+i.slice(1)];return a}}function xt(){this.id=Br++,this.subs=[]}function _t(t){Hr=!1,t(),Hr=!0}function wt(t){if(this.value=t,this.dep=new xt,x(t,"__ob__",this),Ln(t)){var e=Rn?Ct:kt;e(t,Rr,Ir),this.observeArray(t)}else this.walk(t)}function Ct(t,e){t.__proto__=e}function kt(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];x(t,o,e[o])}}function Tt(t,e){if(t&&"object"===("undefined"==typeof t?"undefined":On(t))){var n;return i(t,"__ob__")&&t.__ob__ instanceof wt?n=t.__ob__:Hr&&(Ln(t)||b(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new wt(t)),n&&e&&n.addVm(e),n}}function St(t,e,n){var r=new xt,i=Object.getOwnPropertyDescriptor(t,e);if(!i||i.configurable!==!1){var o=i&&i.get,a=i&&i.set,s=Tt(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=o?o.call(t):n;if(xt.target&&(r.depend(),s&&s.dep.depend(),Ln(e)))for(var i,a=0,u=e.length;a<u;a++)i=e[a],i&&i.__ob__&&i.__ob__.dep.depend();return e},set:function(e){var i=o?o.call(t):n;e!==i&&(a?a.call(t,e):n=e,s=Tt(e),r.notify())}})}}function At(t){t.prototype._init=function(t){t=t||{},this.$el=null,this.$parent=t.parent,this.$root=this.$parent?this.$parent.$root:this,this.$children=[],this.$refs={},this.$els={},this._watchers=[],this._directives=[],this._uid=Vr++,this._isVue=!0,this._events={},this._eventsCount={},this._isFragment=!1,this._fragment=this._fragmentStart=this._fragmentEnd=null,this._isCompiled=this._isDestroyed=this._isReady=this._isAttached=this._isBeingDestroyed=this._vForRemoving=!1,this._unlinkFn=null,this._context=t._context||this.$parent,this._scope=t._scope,this._frag=t._frag,this._frag&&this._frag.children.push(this),this.$parent&&this.$parent.$children.push(this),t=this.$options=yt(this.constructor.options,t,this),this._updateRef(),this._data={},this._callHook("init"),this._initState(),this._initEvents(),this._callHook("created"),t.el&&this.$mount(t.el)}}function jt(t){if(void 0===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:case 48:return t;case 95:case 36:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return e>=97&&e<=122||e>=65&&e<=90?"ident":e>=49&&e<=57?"number":"else"}function Et(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(o(e)?c(e):"*"+e)}function Ot(t){function e(){var e=t[c+1];if(f===ti&&"'"===e||f===ei&&'"'===e)return c++,r="\\"+e,d[Ur](),!0}var n,r,i,o,a,s,u,l=[],c=-1,f=Gr,h=0,d=[];for(d[Wr]=function(){void 0!==i&&(l.push(i),i=void 0)},d[Ur]=function(){void 0===i?i=r:i+=r},d[Xr]=function(){d[Ur](),h++},d[Jr]=function(){if(h>0)h--,f=Kr,d[Ur]();else{if(h=0,i=Et(i),i===!1)return!1;d[Wr]()}};null!=f;)if(c++,n=t[c],"\\"!==n||!e()){if(o=jt(n),u=ii[f],a=u[o]||u["else"]||ri,a===ri)return;if(f=a[0],s=d[a[1]],s&&(r=a[2],r=void 0===r?n:r,s()===!1))return;if(f===ni)return l.raw=t,l}}function $t(t){var e=zr.get(t);return e||(e=Ot(t),e&&zr.put(t,e)),e}function Mt(t,e){return Ht(e).get(t)}function Nt(t,e,r){var i=t;if("string"==typeof e&&(e=Ot(e)),!e||!y(t))return!1;for(var o,a,s=0,u=e.length;s<u;s++)o=t,a=e[s],"*"===a.charAt(0)&&(a=Ht(a.slice(1)).get.call(i,i)),s<u-1?(t=t[a],y(t)||(t={},n(o,a,t))):Ln(t)?t.$set(a,r):a in t?t[a]=r:n(t,a,r);return!0}function Pt(){}function Dt(t,e){var n=yi.length;return yi[n]=e?t.replace(hi,"\\n"):t,'"'+n+'"'}function Ft(t){var e=t.charAt(0),n=t.slice(1);return ui.test(n)?t:(n=n.indexOf('"')>-1?n.replace(pi,Bt):n,e+"scope."+n)}function Bt(t,e){return yi[e]}function Lt(t){ci.test(t),yi.length=0;var e=t.replace(di,Dt).replace(fi,"");return e=(" "+e).replace(gi,Ft).replace(pi,Bt),Rt(e)}function Rt(t){try{return new Function("scope","return "+t+";")}catch(e){return Pt}}function It(t){var e=$t(t);if(e)return function(t,n){Nt(t,e,n)}}function Ht(t,e){t=t.trim();var n=ai.get(t);if(n)return e&&!n.set&&(n.set=It(n.exp)),n;var r={exp:t};return r.get=qt(t)&&t.indexOf("[")<0?Rt("scope."+t):Lt(t),e&&(r.set=It(t)),ai.put(t,r),r}function qt(t){return vi.test(t)&&!mi.test(t)&&"Math."!==t.slice(0,5)}function Vt(){xi.length=0,_i.length=0,wi={},Ci={},ki=!1}function zt(){for(var t=!0;t;)t=!1,Ut(xi),Ut(_i),xi.length?t=!0:(Hn&&Er.devtools&&Hn.emit("flush"),Vt())}function Ut(t){for(var e=0;e<t.length;e++){var n=t[e],r=n.id;wi[r]=null,n.run()}t.length=0}function Wt(t){var e=t.id;if(null==wi[e]){var n=t.user?_i:xi;wi[e]=n.length,n.push(t),ki||(ki=!0,nr(zt))}}function Xt(t,e,n,r){r&&m(this,r);var i="function"==typeof e;if(this.vm=t,t._watchers.push(this),this.expression=e,this.cb=n,this.id=++Ti,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new rr,this.newDepIds=new rr,this.prevError=null,i)this.getter=e,this.setter=void 0;else{var o=Ht(e,this.twoWay);this.getter=o.get,this.setter=o.set}this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function Jt(t,e){var n=void 0,r=void 0;e||(e=Si,e.clear());var i=Ln(t),o=y(t);if((i||o)&&Object.isExtensible(t)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(i)for(n=t.length;n--;)Jt(t[n],e);else if(o)for(r=Object.keys(t),n=r.length;n--;)Jt(t[r[n]],e)}}function Gt(t){return it(t)&<(t.content)}function Zt(t,e){var n=e?t:t.trim(),r=ji.get(n);if(r)return r;var i=document.createDocumentFragment(),o=t.match($i),a=Mi.test(t),s=Ni.test(t);if(o||a||s){var u=o&&o[1],l=Oi[u]||Oi.efault,c=l[0],f=l[1],h=l[2],d=document.createElement("div");for(d.innerHTML=f+t+h;c--;)d=d.lastChild;for(var p;p=d.firstChild;)i.appendChild(p)}else i.appendChild(document.createTextNode(t));return e||nt(i),ji.put(n,i),i}function Yt(t){if(Gt(t))return Zt(t.innerHTML);if("SCRIPT"===t.tagName)return Zt(t.textContent);for(var e,n=Qt(t),r=document.createDocumentFragment();e=n.firstChild;)r.appendChild(e);return nt(r),r}function Qt(t){if(!t.querySelectorAll)return t.cloneNode();var e,n,r,i=t.cloneNode(!0);if(Pi){var o=i;if(Gt(t)&&(t=t.content,o=i.content),n=t.querySelectorAll("template"),n.length)for(r=o.querySelectorAll("template"),e=r.length;e--;)r[e].parentNode.replaceChild(Qt(n[e]),r[e])}if(Di)if("TEXTAREA"===t.tagName)i.value=t.value;else if(n=t.querySelectorAll("textarea"),n.length)for(r=i.querySelectorAll("textarea"),e=r.length;e--;)r[e].value=n[e].value;return i}function Kt(t,e,n){var r,i;return lt(t)?(nt(t),e?Qt(t):t):("string"==typeof t?n||"#"!==t.charAt(0)?i=Zt(t,n):(i=Ei.get(t),i||(r=document.getElementById(t.slice(1)),r&&(i=Yt(r),Ei.put(t,i)))):t.nodeType&&(i=Yt(t)),i&&e?Qt(i):i)}function te(t,e,n,r,i,o){this.children=[],this.childFrags=[],this.vm=e,this.scope=i,this.inserted=!1,this.parentFrag=o,o&&o.childFrags.push(this),this.unlink=t(e,n,r,i,this);var a=this.single=1===n.childNodes.length&&!n.childNodes[0].__v_anchor;a?(this.node=n.childNodes[0],this.before=ee,this.remove=ne):(this.node=ot("fragment-start"),this.end=ot("fragment-end"),this.frag=n,X(this.node,n),n.appendChild(this.end),this.before=re,this.remove=ie),this.node.__v_frag=this}function ee(t,e){this.inserted=!0;var n=e!==!1?F:z;n(this.node,t,this.vm),I(this.node)&&this.callHook(oe)}function ne(){this.inserted=!1;var t=I(this.node),e=this;this.beforeRemove(),B(this.node,this.vm,function(){t&&e.callHook(ae),e.destroy()})}function re(t,e){this.inserted=!0;var n=this.vm,r=e!==!1?F:z;st(this.node,this.end,function(e){r(e,t,n)}),I(this.node)&&this.callHook(oe)}function ie(){this.inserted=!1;var t=this,e=I(this.node);this.beforeRemove(),ut(this.node,this.end,this.vm,this.frag,function(){e&&t.callHook(ae),t.destroy()})}function oe(t){!t._isAttached&&I(t.$el)&&t._callHook("attached")}function ae(t){t._isAttached&&!I(t.$el)&&t._callHook("detached")}function se(t,e){this.vm=t;var n,r="string"==typeof e;r||it(e)&&!e.hasAttribute("v-if")?n=Kt(e,!0):(n=document.createDocumentFragment(),n.appendChild(e)),this.template=n;var i,o=t.constructor.cid;if(o>0){var a=o+(r?e:ct(e));i=Li.get(a),i||(i=Fe(n,t.$options,!0),Li.put(a,i))}else i=Fe(n,t.$options,!0);this.linker=i}function ue(t,e,n){var r=t.node.previousSibling;if(r){for(t=r.__v_frag;!(t&&t.forId===n&&t.inserted||r===e);){if(r=r.previousSibling,!r)return;t=r.__v_frag}return t}}function le(t){var e=t.node;if(t.end)for(;!e.__vue__&&e!==t.end&&e.nextSibling;)e=e.nextSibling;return e.__vue__}function ce(t){for(var e=-1,n=new Array(Math.floor(t));++e<t;)n[e]=e;return n}function fe(t,e,n,r){return r?"$index"===r?t:r.charAt(0).match(/\w/)?Mt(n,r):n[r]:e||n}function he(t,e,n){for(var r,i,o,a=e?[]:null,s=0,u=t.options.length;s<u;s++)if(r=t.options[s],o=n?r.hasAttribute("selected"):r.selected){if(i=r.hasOwnProperty("_value")?r._value:r.value,!e)return i;a.push(i)}return a}function de(t,e){for(var n=t.length;n--;)if(k(t[n],e))return n;return-1}function pe(t,e){var n=e.map(function(t){var e=t.charCodeAt(0);return e>47&&e<58?parseInt(t,10):1===t.length&&(e=t.toUpperCase().charCodeAt(0),e>64&&e<91)?e:oo[t]});return n=[].concat.apply([],n),function(e){if(n.indexOf(e.keyCode)>-1)return t.call(this,e)}}function ve(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function ge(t){return function(e){return e.preventDefault(),t.call(this,e)}}function me(t){return function(e){if(e.target===e.currentTarget)return t.call(this,e)}}function ye(t){if(co[t])return co[t];var e=be(t);return co[t]=co[e]=e,e}function be(t){t=d(t);var e=f(t),n=e.charAt(0).toUpperCase()+e.slice(1);fo||(fo=document.createElement("div"));var r,i=so.length;if("filter"!==e&&e in fo.style)return{kebab:t,camel:e};for(;i--;)if(r=uo[i]+n,r in fo.style)return{kebab:so[i]+t,camel:r}}function xe(t){var e=[];if(Ln(t))for(var n=0,r=t.length;n<r;n++){var i=t[n];if(i)if("string"==typeof i)e.push(i);else for(var o in i)i[o]&&e.push(o)}else if(y(t))for(var a in t)t[a]&&e.push(a);return e}function _e(t,e,n){if(e=e.trim(),e.indexOf(" ")===-1)return void n(t,e);for(var r=e.split(/\s+/),i=0,o=r.length;i<o;i++)n(t,r[i])}function we(t,e,n){function r(){++o>=i?n():t[o].call(e,r)}var i=t.length,o=0;t[0].call(e,r)}function Ce(t,e,n){for(var r,i,a,s,u,l,c,h=[],p=Object.keys(e),v=p.length;v--;)if(i=p[v],r=e[i]||jo,u=f(i),Eo.test(u)){if(c={name:i,path:u,options:r,mode:Ao.ONE_WAY,raw:null},a=d(i),null===(s=q(t,a))&&(null!==(s=q(t,a+".sync"))?c.mode=Ao.TWO_WAY:null!==(s=q(t,a+".once"))&&(c.mode=Ao.ONE_TIME)),null!==s)c.raw=s,l=j(s),s=l.expression,c.filters=l.filters,o(s)&&!l.filters?c.optimizedLiteral=!0:c.dynamic=!0,c.parentPath=s;else if(null!==(s=H(t,a)))c.raw=s;else;h.push(c)}return ke(h)}function ke(t){return function(e,n){e._props={};for(var r,o,a,s,f,h=e.$options.propsData,p=t.length;p--;)if(r=t[p],f=r.raw,o=r.path,a=r.options,e._props[o]=r,h&&i(h,o)&&Se(e,r,h[o]),null===f)Se(e,r,void 0);else if(r.dynamic)r.mode===Ao.ONE_TIME?(s=(n||e._context||e).$get(r.parentPath),Se(e,r,s)):e._context?e._bindDir({name:"prop",def:$o,prop:r},null,null,n):Se(e,r,e.$get(r.parentPath));else if(r.optimizedLiteral){var v=c(f);s=v===f?l(u(f)):v,Se(e,r,s)}else s=a.type===Boolean&&(""===f||f===d(r.name))||f,Se(e,r,s)}}function Te(t,e,n,r){var i=e.dynamic&&qt(e.parentPath),o=n;void 0===o&&(o=je(t,e)),o=Oe(e,o,t);var a=o!==n;Ee(e,o,t)||(o=void 0),i&&!a?_t(function(){r(o)}):r(o)}function Se(t,e,n){Te(t,e,n,function(n){St(t,e.path,n)})}function Ae(t,e,n){Te(t,e,n,function(n){t[e.path]=n})}function je(t,e){var n=e.options;if(!i(n,"default"))return n.type!==Boolean&&void 0;var r=n["default"];return y(r),"function"==typeof r&&n.type!==Function?r.call(t):r}function Ee(t,e,n){if(!t.options.required&&(null===t.raw||null==e))return!0;var r=t.options,i=r.type,o=!i,a=[];if(i){Ln(i)||(i=[i]);for(var s=0;s<i.length&&!o;s++){var u=$e(e,i[s]);a.push(u.expectedType),o=u.valid}}if(!o)return!1;var l=r.validator;return!(l&&!l(e))}function Oe(t,e,n){var r=t.options.coerce;return r&&"function"==typeof r?r(e):e}function $e(t,e){var n,r;return e===String?(r="string",n=("undefined"==typeof t?"undefined":On(t))===r):e===Number?(r="number",n=("undefined"==typeof t?"undefined":On(t))===r):e===Boolean?(r="boolean",n=("undefined"==typeof t?"undefined":On(t))===r):e===Function?(r="function",n=("undefined"==typeof t?"undefined":On(t))===r):e===Object?(r="object",n=b(t)):e===Array?(r="array",n=Ln(t)):n=t instanceof e,{valid:n,expectedType:r}}function Me(t){Mo.push(t),No||(No=!0,nr(Ne))}function Ne(){for(var t=document.documentElement.offsetHeight,e=0;e<Mo.length;e++)Mo[e]();return Mo=[],No=!1,t}function Pe(t,e,n,r){this.id=e,this.el=t,this.enterClass=n&&n.enterClass||e+"-enter",this.leaveClass=n&&n.leaveClass||e+"-leave",this.hooks=n,this.vm=r,this.pendingCssEvent=this.pendingCssCb=this.cancel=this.pendingJsCb=this.op=this.cb=null,this.justEntered=!1,this.entered=this.left=!1,this.typeCache={},this.type=n&&n.type;var i=this;["enterNextTick","enterDone","leaveNextTick","leaveDone"].forEach(function(t){i[t]=v(i[t],i)})}function De(t){if(/svg$/.test(t.namespaceURI)){var e=t.getBoundingClientRect();return!(e.width||e.height)}return!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}function Fe(t,e,n){var r=n||!e._asComponent?Ve(t,e):null,i=r&&r.terminal||sn(t)||!t.hasChildNodes()?null:Ge(t.childNodes,e);return function(t,e,n,o,a){var s=g(e.childNodes),u=Be(function(){r&&r(t,e,n,o,a),i&&i(t,s,n,o,a)},t);return Re(t,u)}}function Be(t,e){e._directives=[];var n=e._directives.length;t();var r=e._directives.slice(n);r.sort(Le);for(var i=0,o=r.length;i<o;i++)r[i]._bind();return r}function Le(t,e){return t=t.descriptor.def.priority||Jo,e=e.descriptor.def.priority||Jo,t>e?-1:t===e?0:1}function Re(t,e,n,r){function i(i){Ie(t,e,i),n&&r&&Ie(n,r)}return i.dirs=e,i}function Ie(t,e,n){for(var r=e.length;r--;)e[r]._teardown()}function He(t,e,n,r){var i=Ce(e,n,t),o=Be(function(){i(t,r)},t);return Re(t,o)}function qe(t,e,n){var r,i,o=e._containerAttrs,a=e._replacerAttrs;if(11!==t.nodeType)e._asComponent?(o&&n&&(r=nn(o,n)),a&&(i=nn(a,e))):i=nn(t.attributes,e);else;return e._containerAttrs=e._replacerAttrs=null,function(t,e,n){var o,a=t._context;a&&r&&(o=Be(function(){r(a,e,null,n)},a));var s=Be(function(){i&&i(t,e)},t);return Re(t,s,a,o)}}function Ve(t,e){var n=t.nodeType;return 1!==n||sn(t)?3===n&&t.data.trim()?Ue(t,e):null:ze(t,e)}function ze(t,e){if("TEXTAREA"===t.tagName){var n=$(t.value);n&&(t.setAttribute(":value",M(n)),t.value="")}var r,i=t.hasAttributes(),o=i&&g(t.attributes);return i&&(r=Ke(t,o,e)),r||(r=Ye(t,e)),r||(r=Qe(t,e)),!r&&i&&(r=nn(o,e)),r}function Ue(t,e){if(t._skip)return We;var n=$(t.wholeText);if(!n)return null;for(var r=t.nextSibling;r&&3===r.nodeType;)r._skip=!0,r=r.nextSibling;for(var i,o,a=document.createDocumentFragment(),s=0,u=n.length;s<u;s++)o=n[s],i=o.tag?Xe(o,e):document.createTextNode(o.value),a.appendChild(i);return Je(n,a,e)}function We(t,e){W(e)}function Xe(t,e){function n(e){if(!t.descriptor){var n=j(t.value);t.descriptor={name:e,def:ko[e],expression:n.expression,filters:n.filters}}}var r;return t.oneTime?r=document.createTextNode(t.value):t.html?(r=document.createComment("v-html"),n("html")):(r=document.createTextNode(" "),n("text")),r}function Je(t,e){return function(n,r,i,o){for(var a,u,l,c=e.cloneNode(!0),f=g(c.childNodes),h=0,d=t.length;h<d;h++)a=t[h],u=a.value,a.tag&&(l=f[h],a.oneTime?(u=(o||n).$eval(u),a.html?J(l,Kt(u,!0)):l.data=s(u)):n._bindDir(a.descriptor,l,i,o));J(r,c)}}function Ge(t,e){for(var n,r,i,o=[],a=0,s=t.length;a<s;a++)i=t[a],n=Ve(i,e),r=n&&n.terminal||"SCRIPT"===i.tagName||!i.hasChildNodes()?null:Ge(i.childNodes,e),o.push(n,r);return o.length?Ze(o):null}function Ze(t){return function(e,n,r,i,o){for(var a,s,u,l=0,c=0,f=t.length;l<f;c++){a=n[c],s=t[l++],u=t[l++];var h=g(a.childNodes);s&&s(e,a,r,i,o),u&&u(e,h,r,i,o)}}}function Ye(t,e){var n=t.tagName.toLowerCase();if(!Nr.test(n)){var r=bt(e,"elementDirectives",n);return r?en(t,n,"",e,r):void 0}}function Qe(t,e){var n=ft(t,e);if(n){var r=at(t),i={name:"component",ref:r,expression:n.id,def:qo.component,modifiers:{literal:!n.dynamic}},o=function(t,e,n,o,a){r&&St((o||t).$refs,r,null),t._bindDir(i,e,n,o,a)};return o.terminal=!0,o}}function Ke(t,e,n){if(null!==H(t,"v-pre"))return tn;if(t.hasAttribute("v-else")){var r=t.previousElementSibling;if(r&&r.hasAttribute("v-if"))return tn}for(var i,o,a,s,u,l,c,f,h,d,p=0,v=e.length;p<v;p++)i=e[p],o=i.name.replace(Wo,""),(u=o.match(Uo))&&(h=bt(n,"directives",u[1]),h&&h.terminal&&(!d||(h.priority||Go)>d.priority)&&(d=h,c=i.name,s=rn(i.name),a=i.value,l=u[1],f=u[2]));return d?en(t,l,a,n,d,c,f,s):void 0}function tn(){}function en(t,e,n,r,i,o,a,s){var u=j(n),l={name:e,arg:a,expression:u.expression,filters:u.filters,raw:n,attr:o,modifiers:s,def:i};"for"!==e&&"router-view"!==e||(l.ref=at(t));var c=function(t,e,n,r,i){l.ref&&St((r||t).$refs,l.ref,null),t._bindDir(l,e,n,r,i)};return c.terminal=!0,c}function nn(t,e){function n(t,e,n){var r=n&&an(n),i=!r&&j(o);v.push({name:t,attr:a,raw:s,def:e,arg:l,modifiers:c,expression:i&&i.expression,filters:i&&i.filters,interp:n,hasOneTime:r})}for(var r,i,o,a,s,u,l,c,f,h,d,p=t.length,v=[];p--;)if(r=t[p],i=a=r.name,o=s=r.value,h=$(o),l=null,c=rn(i),i=i.replace(Wo,""),h)o=M(h),l=i,n("bind",ko.bind,h);else if(Xo.test(i))c.literal=!Vo.test(i),n("transition",qo.transition);else if(zo.test(i))l=i.replace(zo,""),n("on",ko.on);else if(Vo.test(i))u=i.replace(Vo,""),"style"===u||"class"===u?n(u,qo[u]):(l=u,n("bind",ko.bind));else if(d=i.match(Uo)){if(u=d[1],l=d[2],"else"===u)continue;f=bt(e,"directives",u,!0),f&&n(u,f)}if(v.length)return on(v)}function rn(t){var e=Object.create(null),n=t.match(Wo);if(n)for(var r=n.length;r--;)e[n[r].slice(1)]=!0;return e}function on(t){return function(e,n,r,i,o){for(var a=t.length;a--;)e._bindDir(t[a],n,r,i,o)}}function an(t){for(var e=t.length;e--;)if(t[e].oneTime)return!0}function sn(t){return"SCRIPT"===t.tagName&&(!t.hasAttribute("type")||"text/javascript"===t.getAttribute("type"))}function un(t,e){return e&&(e._containerAttrs=cn(t)),it(t)&&(t=Kt(t)),e&&(e._asComponent&&!e.template&&(e.template="<slot></slot>"),e.template&&(e._content=et(t),t=ln(t,e))),lt(t)&&(X(ot("v-start",!0),t),t.appendChild(ot("v-end",!0))),t}function ln(t,e){var n=e.template,r=Kt(n,!0);if(r){var i=r.firstChild,o=i.tagName&&i.tagName.toLowerCase();return e.replace?(t===document.body,r.childNodes.length>1||1!==i.nodeType||"component"===o||bt(e,"components",o)||V(i,"is")||bt(e,"elementDirectives",o)||i.hasAttribute("v-for")||i.hasAttribute("v-if")?r:(e._replacerAttrs=cn(i),fn(t,i),i)):(t.appendChild(r),t)}}function cn(t){if(1===t.nodeType&&t.hasAttributes())return g(t.attributes)}function fn(t,e){for(var n,r,i=t.attributes,o=i.length;o--;)n=i[o].name,r=i[o].value,e.hasAttribute(n)||Zo.test(n)?"class"===n&&!$(r)&&(r=r.trim())&&r.split(/\s+/).forEach(function(t){K(e,t)}):e.setAttribute(n,r)}function hn(t,e){if(e){for(var n,r,i=t._slotContents=Object.create(null),o=0,a=e.children.length;o<a;o++)n=e.children[o],(r=n.getAttribute("slot"))&&(i[r]||(i[r]=[])).push(n);for(r in i)i[r]=dn(i[r],e);if(e.hasChildNodes()){var s=e.childNodes;if(1===s.length&&3===s[0].nodeType&&!s[0].data.trim())return;i["default"]=dn(e.childNodes,e)}}}function dn(t,e){var n=document.createDocumentFragment();t=g(t);for(var r=0,i=t.length;r<i;r++){var o=t[r];!it(o)||o.hasAttribute("v-if")||o.hasAttribute("v-for")||(e.removeChild(o),o=Kt(o,!0)),n.appendChild(o)}return n}function pn(t){function e(){}function n(t,e){var n=new Xt(e,t,null,{lazy:!0});return function(){return n.dirty&&n.evaluate(),xt.target&&n.depend(),n.value}}Object.defineProperty(t.prototype,"$data",{get:function(){return this._data},set:function(t){t!==this._data&&this._setData(t)}}),t.prototype._initState=function(){this._initProps(),this._initMeta(),this._initMethods(),this._initData(),this._initComputed()},t.prototype._initProps=function(){var t=this.$options,e=t.el,n=t.props;e=t.el=R(e),this._propsUnlinkFn=e&&1===e.nodeType&&n?He(this,e,n,this._scope):null},t.prototype._initData=function(){var t=this.$options.data,e=this._data=t?t():{};b(e)||(e={});var n,r,o=this._props,a=Object.keys(e);for(n=a.length;n--;)r=a[n],o&&i(o,r)||this._proxy(r);Tt(e,this)},t.prototype._setData=function(t){t=t||{};var e=this._data;this._data=t;var n,r,o;for(n=Object.keys(e),o=n.length;o--;)r=n[o],r in t||this._unproxy(r);for(n=Object.keys(t),o=n.length;o--;)r=n[o],i(this,r)||this._proxy(r);e.__ob__.removeVm(this),Tt(t,this),this._digest()},t.prototype._proxy=function(t){if(!a(t)){var e=this;Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})}},t.prototype._unproxy=function(t){a(t)||delete this[t]},t.prototype._digest=function(){for(var t=0,e=this._watchers.length;t<e;t++)this._watchers[t].update(!0)},t.prototype._initComputed=function(){var t=this.$options.computed;if(t)for(var r in t){var i=t[r],o={enumerable:!0,configurable:!0};"function"==typeof i?(o.get=n(i,this),o.set=e):(o.get=i.get?i.cache!==!1?n(i.get,this):v(i.get,this):e,o.set=i.set?v(i.set,this):e),Object.defineProperty(this,r,o)}},t.prototype._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=v(t[e],this)},t.prototype._initMeta=function(){var t=this.$options._meta;if(t)for(var e in t)St(this,e,t[e])}}function vn(t){function e(t,e){for(var n,r,i,o=e.attributes,a=0,s=o.length;a<s;a++)n=o[a].name,Qo.test(n)&&(n=n.replace(Qo,""),r=o[a].value,qt(r)&&(r+=".apply(this, $arguments)"),i=(t._scope||t._context).$eval(r,!0),i._fromParent=!0,t.$on(n.replace(Qo),i))}function n(t,e,n){if(n){var i,o,a,s;for(o in n)if(i=n[o],Ln(i))for(a=0,s=i.length;a<s;a++)r(t,e,o,i[a]);else r(t,e,o,i)}}function r(t,e,n,i,o){var a="undefined"==typeof i?"undefined":On(i);if("function"===a)t[e](n,i,o);else if("string"===a){var s=t.$options.methods,u=s&&s[i];u&&t[e](n,u,o)}else i&&"object"===a&&r(t,e,n,i.handler,i)}function i(){this._isAttached||(this._isAttached=!0,this.$children.forEach(o))}function o(t){!t._isAttached&&I(t.$el)&&t._callHook("attached")}function a(){this._isAttached&&(this._isAttached=!1,this.$children.forEach(s))}function s(t){t._isAttached&&!I(t.$el)&&t._callHook("detached")}t.prototype._initEvents=function(){var t=this.$options;t._asComponent&&e(this,t.el),n(this,"$on",t.events),n(this,"$watch",t.watch)},t.prototype._initDOMHooks=function(){this.$on("hook:attached",i),this.$on("hook:detached",a)},t.prototype._callHook=function(t){this.$emit("pre-hook:"+t);var e=this.$options[t];if(e)for(var n=0,r=e.length;n<r;n++)e[n].call(this);this.$emit("hook:"+t)}}function gn(){}function mn(t,e,n,r,i,o){this.vm=e,this.el=n,this.descriptor=t,this.name=t.name,this.expression=t.expression,this.arg=t.arg,this.modifiers=t.modifiers,this.filters=t.filters,this.literal=this.modifiers&&this.modifiers.literal,this._locked=!1,this._bound=!1,this._listeners=null,this._host=r,this._scope=i,this._frag=o}function yn(t){t.prototype._updateRef=function(t){var e=this.$options._ref;if(e){var n=(this._scope||this._context).$refs;t?n[e]===this&&(n[e]=null):n[e]=this}},t.prototype._compile=function(t){var e=this.$options,n=t;if(t=un(t,e),this._initElement(t),1!==t.nodeType||null===H(t,"v-pre")){var r=this._context&&this._context.$options,i=qe(t,e,r);hn(this,e._content);var o,a=this.constructor;e._linkerCachable&&(o=a.linker,o||(o=a.linker=Fe(t,e)));var s=i(this,t,this._scope),u=o?o(this,t):Fe(t,e)(this,t);this._unlinkFn=function(){s(),u(!0)},e.replace&&J(n,t),this._isCompiled=!0,this._callHook("compiled")}},t.prototype._initElement=function(t){lt(t)?(this._isFragment=!0,this.$el=this._fragmentStart=t.firstChild,this._fragmentEnd=t.lastChild,3===this._fragmentStart.nodeType&&(this._fragmentStart.data=this._fragmentEnd.data=""),this._fragment=t):this.$el=t,this.$el.__vue__=this,this._callHook("beforeCompile")},t.prototype._bindDir=function(t,e,n,r,i){this._directives.push(new mn(t,this,e,n,r,i))},t.prototype._destroy=function(t,e){if(this._isBeingDestroyed)return void(e||this._cleanup());
-var n,r,i=this,o=function(){!n||r||e||i._cleanup()};t&&this.$el&&(r=!0,this.$remove(function(){r=!1,o()})),this._callHook("beforeDestroy"),this._isBeingDestroyed=!0;var a,s=this.$parent;for(s&&!s._isBeingDestroyed&&(s.$children.$remove(this),this._updateRef(!0)),a=this.$children.length;a--;)this.$children[a].$destroy();for(this._propsUnlinkFn&&this._propsUnlinkFn(),this._unlinkFn&&this._unlinkFn(),a=this._watchers.length;a--;)this._watchers[a].teardown();this.$el&&(this.$el.__vue__=null),n=!0,o()},t.prototype._cleanup=function(){this._isDestroyed||(this._frag&&this._frag.children.$remove(this),this._data&&this._data.__ob__&&this._data.__ob__.removeVm(this),this.$el=this.$parent=this.$root=this.$children=this._watchers=this._context=this._scope=this._directives=null,this._isDestroyed=!0,this._callHook("destroyed"),this.$off())}}function bn(t){t.prototype._applyFilters=function(t,e,n,r){var i,o,a,s,u,l,c,f,h;for(l=0,c=n.length;l<c;l++)if(i=n[r?c-l-1:l],o=bt(this.$options,"filters",i.name,!0),o&&(o=r?o.write:o.read||o,"function"==typeof o)){if(a=r?[t,e]:[t],u=r?2:1,i.args)for(f=0,h=i.args.length;f<h;f++)s=i.args[f],a[f+u]=s.dynamic?this.$get(s.value):s.value;t=o.apply(this,a)}return t},t.prototype._resolveComponent=function(e,n){var r;if(r="function"==typeof e?e:bt(this.$options,"components",e,!0))if(r.options)n(r);else if(r.resolved)n(r.resolved);else if(r.requested)r.pendingCallbacks.push(n);else{r.requested=!0;var i=r.pendingCallbacks=[n];r.call(this,function(e){b(e)&&(e=t.extend(e)),r.resolved=e;for(var n=0,o=i.length;n<o;n++)i[n](e)},function(t){})}}}function xn(t){function e(t){return JSON.parse(JSON.stringify(t))}t.prototype.$get=function(t,e){var n=Ht(t);if(n){if(e){var r=this;return function(){r.$arguments=g(arguments);var t=n.get.call(r,r);return r.$arguments=null,t}}try{return n.get.call(this,this)}catch(i){}}},t.prototype.$set=function(t,e){var n=Ht(t,!0);n&&n.set&&n.set.call(this,this,e)},t.prototype.$delete=function(t){r(this._data,t)},t.prototype.$watch=function(t,e,n){var r,i=this;"string"==typeof t&&(r=j(t),t=r.expression);var o=new Xt(i,t,e,{deep:n&&n.deep,sync:n&&n.sync,filters:r&&r.filters,user:!n||n.user!==!1});return n&&n.immediate&&e.call(i,o.value),function(){o.teardown()}},t.prototype.$eval=function(t,e){if(Ko.test(t)){var n=j(t),r=this.$get(n.expression,e);return n.filters?this._applyFilters(r,null,n.filters):r}return this.$get(t,e)},t.prototype.$interpolate=function(t){var e=$(t),n=this;return e?1===e.length?n.$eval(e[0].value)+"":e.map(function(t){return t.tag?n.$eval(t.value):t.value}).join(""):t},t.prototype.$log=function(t){var n=t?Mt(this._data,t):this._data;if(n&&(n=e(n)),!t){var r;for(r in this.$options.computed)n[r]=e(this[r]);if(this._props)for(r in this._props)n[r]=e(this[r])}console.log(n)}}function _n(t){function e(t,e,r,i,o,a){e=n(e);var s=!I(e),u=i===!1||s?o:a,l=!s&&!t._isAttached&&!I(t.$el);return t._isFragment?(st(t._fragmentStart,t._fragmentEnd,function(n){u(n,e,t)}),r&&r()):u(t.$el,e,t,r),l&&t._callHook("attached"),t}function n(t){return"string"==typeof t?document.querySelector(t):t}function r(t,e,n,r){e.appendChild(t),r&&r()}function i(t,e,n,r){z(t,e),r&&r()}function o(t,e,n){W(t),n&&n()}t.prototype.$nextTick=function(t){nr(t,this)},t.prototype.$appendTo=function(t,n,i){return e(this,t,n,i,r,D)},t.prototype.$prependTo=function(t,e,r){return t=n(t),t.hasChildNodes()?this.$before(t.firstChild,e,r):this.$appendTo(t,e,r),this},t.prototype.$before=function(t,n,r){return e(this,t,n,r,i,F)},t.prototype.$after=function(t,e,r){return t=n(t),t.nextSibling?this.$before(t.nextSibling,e,r):this.$appendTo(t.parentNode,e,r),this},t.prototype.$remove=function(t,e){if(!this.$el.parentNode)return t&&t();var n=this._isAttached&&I(this.$el);n||(e=!1);var r=this,i=function(){n&&r._callHook("detached"),t&&t()};if(this._isFragment)ut(this._fragmentStart,this._fragmentEnd,this,this._fragment,i);else{var a=e===!1?o:B;a(this.$el,this,i)}return this}}function wn(t){function e(t,e,r){var i=t.$parent;if(i&&r&&!n.test(e))for(;i;)i._eventsCount[e]=(i._eventsCount[e]||0)+r,i=i.$parent}t.prototype.$on=function(t,n){return(this._events[t]||(this._events[t]=[])).push(n),e(this,t,1),this},t.prototype.$once=function(t,e){function n(){r.$off(t,n),e.apply(this,arguments)}var r=this;return n.fn=e,this.$on(t,n),this},t.prototype.$off=function(t,n){var r;if(!arguments.length){if(this.$parent)for(t in this._events)r=this._events[t],r&&e(this,t,-r.length);return this._events={},this}if(r=this._events[t],!r)return this;if(1===arguments.length)return e(this,t,-r.length),this._events[t]=null,this;for(var i,o=r.length;o--;)if(i=r[o],i===n||i.fn===n){e(this,t,-1),r.splice(o,1);break}return this},t.prototype.$emit=function(t){var e="string"==typeof t;t=e?t:t.name;var n=this._events[t],r=e||!n;if(n){n=n.length>1?g(n):n;var i=e&&n.some(function(t){return t._fromParent});i&&(r=!1);for(var o=g(arguments,1),a=0,s=n.length;a<s;a++){var u=n[a],l=u.apply(this,o);l!==!0||i&&!u._fromParent||(r=!0)}}return r},t.prototype.$broadcast=function(t){var e="string"==typeof t;if(t=e?t:t.name,this._eventsCount[t]){var n=this.$children,r=g(arguments);e&&(r[0]={name:t,source:this});for(var i=0,o=n.length;i<o;i++){var a=n[i],s=a.$emit.apply(a,r);s&&a.$broadcast.apply(a,r)}return this}},t.prototype.$dispatch=function(t){var e=this.$emit.apply(this,arguments);if(e){var n=this.$parent,r=g(arguments);for(r[0]={name:t,source:this};n;)e=n.$emit.apply(n,r),n=e?n.$parent:null;return this}};var n=/^hook:/}function Cn(t){function e(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}t.prototype.$mount=function(t){if(!this._isCompiled)return t=R(t),t||(t=document.createElement("div")),this._compile(t),this._initDOMHooks(),I(this.$el)?(this._callHook("attached"),e.call(this)):this.$once("hook:attached",e),this},t.prototype.$destroy=function(t,e){this._destroy(t,e)},t.prototype.$compile=function(t,e,n,r){return Fe(t,this.$options,!0)(this,t,e,n,r)}}function kn(t){this._init(t)}function Tn(t,e,n){return n=n?parseInt(n,10):0,e=u(e),"number"==typeof e?t.slice(n,n+e):t}function Sn(t,e,n){if(t=ra(t),null==e)return t;if("function"==typeof e)return t.filter(e);e=(""+e).toLowerCase();for(var r,i,o,a,s="in"===n?3:2,u=Array.prototype.concat.apply([],g(arguments,s)),l=[],c=0,f=t.length;c<f;c++)if(r=t[c],o=r&&r.$value||r,a=u.length){for(;a--;)if(i=u[a],"$key"===i&&jn(r.$key,e)||jn(Mt(o,i),e)){l.push(r);break}}else jn(r,e)&&l.push(r);return l}function An(t){function e(t,e,n){var i=r[n];return i&&("$key"!==i&&(y(t)&&"$value"in t&&(t=t.$value),y(e)&&"$value"in e&&(e=e.$value)),t=y(t)?Mt(t,i):t,e=y(e)?Mt(e,i):e),t===e?0:t>e?o:-o}var n=null,r=void 0;t=ra(t);var i=g(arguments,1),o=i[i.length-1];"number"==typeof o?(o=o<0?-1:1,i=i.length>1?i.slice(0,-1):i):o=1;var a=i[0];return a?("function"==typeof a?n=function(t,e){return a(t,e)*o}:(r=Array.prototype.concat.apply([],i),n=function(t,i,o){return o=o||0,o>=r.length-1?e(t,i,o):e(t,i,o)||n(t,i,o+1)}),t.slice().sort(n)):t}function jn(t,e){var n;if(b(t)){var r=Object.keys(t);for(n=r.length;n--;)if(jn(t[r[n]],e))return!0}else if(Ln(t)){for(n=t.length;n--;)if(jn(t[n],e))return!0}else if(null!=t)return t.toString().toLowerCase().indexOf(e)>-1}function En(t){function e(t){return new Function("return function "+p(t)+" (options) { this._init(options) }")()}t.options={directives:ko,elementDirectives:na,filters:oa,transitions:{},components:{},partials:{},replace:!0},t.util=qr,t.config=Er,t.set=n,t["delete"]=r,t.nextTick=nr,t.compiler=Yo,t.FragmentFactory=se,t.internalDirectives=qo,t.parsers={path:oi,text:Sr,template:Fi,directive:xr,expression:bi},t.cid=0;var i=1;t.extend=function(t){t=t||{};var n=this,r=0===n.cid;if(r&&t._Ctor)return t._Ctor;var o=t.name||n.options.name,a=e(o||"VueComponent");return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=i++,a.options=yt(n.options,t),a["super"]=n,a.extend=n.extend,Er._assetTypes.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),r&&(t._Ctor=a),a},t.use=function(t){if(!t.installed){var e=g(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}},t.mixin=function(e){t.options=yt(t.options,e)},Er._assetTypes.forEach(function(e){t[e]=function(n,r){return r?("component"===e&&b(r)&&(r.name||(r.name=n),r=t.extend(r)),this.options[e+"s"][n]=r,r):this.options[e+"s"][n]}}),m(t.transition,$r)}var On="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},$n=Object.prototype.hasOwnProperty,Mn=/^\s?(true|false|-?[\d\.]+|'[^']*'|"[^"]*")\s?$/,Nn=/-(\w)/g,Pn=/([a-z\d])([A-Z])/g,Dn=/(?:^|[-_\/])(\w)/g,Fn=Object.prototype.toString,Bn="[object Object]",Ln=Array.isArray,Rn="__proto__"in{},In="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),Hn=In&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,qn=In&&window.navigator.userAgent.toLowerCase(),Vn=qn&&qn.indexOf("trident")>0,zn=qn&&qn.indexOf("msie 9.0")>0,Un=qn&&qn.indexOf("android")>0,Wn=qn&&/(iphone|ipad|ipod|ios)/i.test(qn),Xn=Wn&&qn.match(/os ([\d_]+)/),Jn=Xn&&Xn[1].split("_"),Gn=Jn&&Number(Jn[0])>=9&&Number(Jn[1])>=3&&!window.indexedDB,Zn=void 0,Yn=void 0,Qn=void 0,Kn=void 0;if(In&&!zn){var tr=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,er=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;Zn=tr?"WebkitTransition":"transition",Yn=tr?"webkitTransitionEnd":"transitionend",Qn=er?"WebkitAnimation":"animation",Kn=er?"webkitAnimationEnd":"animationend"}var nr=function(){function t(){i=!1;var t=r.slice(0);r=[];for(var e=0;e<t.length;e++)t[e]()}var n,r=[],i=!1;if("undefined"==typeof MutationObserver||Gn){var o=In?window:"undefined"!=typeof e?e:{};n=o.setImmediate||setTimeout}else{var a=1,s=new MutationObserver(t),u=document.createTextNode(a);s.observe(u,{characterData:!0}),n=function(){a=(a+1)%2,u.data=a}}return function(e,o){var a=o?function(){e.call(o)}:e;r.push(a),i||(i=!0,n(t,0))}}(),rr=void 0;"undefined"!=typeof Set&&Set.toString().match(/native code/)?rr=Set:(rr=function(){this.set=Object.create(null)},rr.prototype.has=function(t){return void 0!==this.set[t]},rr.prototype.add=function(t){this.set[t]=1},rr.prototype.clear=function(){this.set=Object.create(null)});var ir=T.prototype;ir.put=function(t,e){var n,r=this.get(t,!0);return r||(this.size===this.limit&&(n=this.shift()),r={key:t},this._keymap[t]=r,this.tail?(this.tail.newer=r,r.older=this.tail):this.head=r,this.tail=r,this.size++),r.value=e,n},ir.shift=function(){var t=this.head;return t&&(this.head=this.head.newer,this.head.older=void 0,t.newer=t.older=void 0,this._keymap[t.key]=void 0,this.size--),t},ir.get=function(t,e){var n=this._keymap[t];if(void 0!==n)return n===this.tail?e?n:n.value:(n.newer&&(n===this.head&&(this.head=n.newer),n.newer.older=n.older),n.older&&(n.older.newer=n.newer),n.newer=void 0,n.older=this.tail,this.tail&&(this.tail.newer=n),this.tail=n,e?n:n.value)};var or,ar,sr,ur,lr,cr,fr,hr,dr,pr,vr,gr,mr=new T(1e3),yr=/[^\s'"]+|'[^']*'|"[^"]*"/g,br=/^in$|^-?\d+/,xr=Object.freeze({parseDirective:j}),_r=/[-.*+?^${}()|[\]\/\\]/g,wr=void 0,Cr=void 0,kr=void 0,Tr=/[^|]\|[^|]/,Sr=Object.freeze({compileRegex:O,parseText:$,tokensToExp:M}),Ar=["{{","}}"],jr=["{{{","}}}"],Er=Object.defineProperties({debug:!1,silent:!1,async:!0,warnExpressionErrors:!0,devtools:!1,_delimitersChanged:!0,_assetTypes:["component","directive","elementDirective","filter","transition","partial"],_propBindingModes:{ONE_WAY:0,TWO_WAY:1,ONE_TIME:2},_maxUpdateCount:100},{delimiters:{get:function(){return Ar},set:function(t){Ar=t,O()},configurable:!0,enumerable:!0},unsafeDelimiters:{get:function(){return jr},set:function(t){jr=t,O()},configurable:!0,enumerable:!0}}),Or=void 0,$r=Object.freeze({appendWithTransition:D,beforeWithTransition:F,removeWithTransition:B,applyTransition:L}),Mr=/^v-ref:/,Nr=/^(div|p|span|img|a|b|i|br|ul|ol|li|h1|h2|h3|h4|h5|h6|code|pre|table|th|td|tr|form|label|input|select|option|nav|article|section|header|footer)$/i,Pr=/^(slot|partial|component)$/i,Dr=Er.optionMergeStrategies=Object.create(null);Dr.data=function(t,e,n){return n?t||e?function(){var r="function"==typeof e?e.call(n):e,i="function"==typeof t?t.call(n):void 0;return r?dt(r,i):i}:void 0:e?"function"!=typeof e?t:t?function(){return dt(e.call(this),t.call(this))}:e:t},Dr.el=function(t,e,n){if(n||!e||"function"==typeof e){var r=e||t;return n&&"function"==typeof r?r.call(n):r}},Dr.init=Dr.created=Dr.ready=Dr.attached=Dr.detached=Dr.beforeCompile=Dr.compiled=Dr.beforeDestroy=Dr.destroyed=Dr.activate=function(t,e){return e?t?t.concat(e):Ln(e)?e:[e]:t},Er._assetTypes.forEach(function(t){Dr[t+"s"]=pt}),Dr.watch=Dr.events=function(t,e){if(!e)return t;if(!t)return e;var n={};m(n,t);for(var r in e){var i=n[r],o=e[r];i&&!Ln(i)&&(i=[i]),n[r]=i?i.concat(o):[o]}return n},Dr.props=Dr.methods=Dr.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(null);return m(n,t),m(n,e),n};var Fr=function(t,e){return void 0===e?t:e},Br=0;xt.target=null,xt.prototype.addSub=function(t){this.subs.push(t)},xt.prototype.removeSub=function(t){this.subs.$remove(t)},xt.prototype.depend=function(){xt.target.addDep(this)},xt.prototype.notify=function(){for(var t=g(this.subs),e=0,n=t.length;e<n;e++)t[e].update()};var Lr=Array.prototype,Rr=Object.create(Lr);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Lr[t];x(Rr,t,function(){for(var n=arguments.length,r=new Array(n);n--;)r[n]=arguments[n];var i,o=e.apply(this,r),a=this.__ob__;switch(t){case"push":i=r;break;case"unshift":i=r;break;case"splice":i=r.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o})}),x(Lr,"$set",function(t,e){return t>=this.length&&(this.length=Number(t)+1),this.splice(t,1,e)[0]}),x(Lr,"$remove",function(t){if(this.length){var e=w(this,t);return e>-1?this.splice(e,1):void 0}});var Ir=Object.getOwnPropertyNames(Rr),Hr=!0;wt.prototype.walk=function(t){for(var e=Object.keys(t),n=0,r=e.length;n<r;n++)this.convert(e[n],t[e[n]])},wt.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Tt(t[e])},wt.prototype.convert=function(t,e){St(this.value,t,e)},wt.prototype.addVm=function(t){(this.vms||(this.vms=[])).push(t)},wt.prototype.removeVm=function(t){this.vms.$remove(t)};var qr=Object.freeze({defineReactive:St,set:n,del:r,hasOwn:i,isLiteral:o,isReserved:a,_toString:s,toNumber:u,toBoolean:l,stripQuotes:c,camelize:f,hyphenate:d,classify:p,bind:v,toArray:g,extend:m,isObject:y,isPlainObject:b,def:x,debounce:_,indexOf:w,cancellable:C,looseEqual:k,isArray:Ln,hasProto:Rn,inBrowser:In,devtools:Hn,isIE:Vn,isIE9:zn,isAndroid:Un,isIos:Wn,iosVersionMatch:Xn,iosVersion:Jn,hasMutationObserverBug:Gn,get transitionProp(){return Zn},get transitionEndEvent(){return Yn},get animationProp(){return Qn},get animationEndEvent(){return Kn},nextTick:nr,get _Set(){return rr},query:R,inDoc:I,getAttr:H,getBindAttr:q,hasBindAttr:V,before:z,after:U,remove:W,prepend:X,replace:J,on:G,off:Z,setClass:Q,addClass:K,removeClass:tt,extractContent:et,trimNode:nt,isTemplate:it,createAnchor:ot,findRef:at,mapNodeRange:st,removeNodeRange:ut,isFragment:lt,getOuterHTML:ct,mergeOptions:yt,resolveAsset:bt,checkComponentAttr:ft,commonTagRE:Nr,reservedTagRE:Pr,get warn(){return Or}}),Vr=0,zr=new T(1e3),Ur=0,Wr=1,Xr=2,Jr=3,Gr=0,Zr=1,Yr=2,Qr=3,Kr=4,ti=5,ei=6,ni=7,ri=8,ii=[];ii[Gr]={ws:[Gr],ident:[Qr,Ur],"[":[Kr],eof:[ni]},ii[Zr]={ws:[Zr],".":[Yr],"[":[Kr],eof:[ni]},ii[Yr]={ws:[Yr],ident:[Qr,Ur]},ii[Qr]={ident:[Qr,Ur],0:[Qr,Ur],number:[Qr,Ur],ws:[Zr,Wr],".":[Yr,Wr],"[":[Kr,Wr],eof:[ni,Wr]},ii[Kr]={"'":[ti,Ur],'"':[ei,Ur],"[":[Kr,Xr],"]":[Zr,Jr],eof:ri,"else":[Kr,Ur]},ii[ti]={"'":[Kr,Ur],eof:ri,"else":[ti,Ur]},ii[ei]={'"':[Kr,Ur],eof:ri,"else":[ei,Ur]};var oi=Object.freeze({parsePath:$t,getPath:Mt,setPath:Nt}),ai=new T(1e3),si="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",ui=new RegExp("^("+si.replace(/,/g,"\\b|")+"\\b)"),li="break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,protected,static,interface,private,public",ci=new RegExp("^("+li.replace(/,/g,"\\b|")+"\\b)"),fi=/\s/g,hi=/\n/g,di=/[\{,]\s*[\w\$_]+\s*:|('(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`)|new |typeof |void /g,pi=/"(\d+)"/g,vi=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,gi=/[^\w$\.](?:[A-Za-z_$][\w$]*)/g,mi=/^(?:true|false|null|undefined|Infinity|NaN)$/,yi=[],bi=Object.freeze({parseExpression:Ht,isSimplePath:qt}),xi=[],_i=[],wi={},Ci={},ki=!1,Ti=0;Xt.prototype.get=function(){this.beforeGet();var t,e=this.scope||this.vm;try{t=this.getter.call(e,e)}catch(n){}return this.deep&&Jt(t),this.preProcess&&(t=this.preProcess(t)),this.filters&&(t=e._applyFilters(t,null,this.filters,!1)),this.postProcess&&(t=this.postProcess(t)),this.afterGet(),t},Xt.prototype.set=function(t){var e=this.scope||this.vm;this.filters&&(t=e._applyFilters(t,this.value,this.filters,!0));try{this.setter.call(e,e,t)}catch(n){}var r=e.$forContext;if(r&&r.alias===this.expression){if(r.filters)return;r._withLock(function(){e.$key?r.rawValue[e.$key]=t:r.rawValue.$set(e.$index,t)})}},Xt.prototype.beforeGet=function(){xt.target=this},Xt.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},Xt.prototype.afterGet=function(){xt.target=null;for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Xt.prototype.update=function(t){this.lazy?this.dirty=!0:this.sync||!Er.async?this.run():(this.shallow=this.queued?!!t&&this.shallow:!!t,this.queued=!0,Wt(this))},Xt.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||(y(t)||this.deep)&&!this.shallow){var e=this.value;this.value=t;this.prevError;this.cb.call(this.vm,t,e)}this.queued=this.shallow=!1}},Xt.prototype.evaluate=function(){var t=xt.target;this.value=this.get(),this.dirty=!1,xt.target=t},Xt.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Xt.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||this.vm._watchers.$remove(this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.vm=this.cb=this.value=null}};var Si=new rr,Ai={bind:function(){this.attr=3===this.el.nodeType?"data":"textContent"},update:function(t){this.el[this.attr]=s(t)}},ji=new T(1e3),Ei=new T(1e3),Oi={efault:[0,"",""],legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]};Oi.td=Oi.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],Oi.option=Oi.optgroup=[1,'<select multiple="multiple">',"</select>"],Oi.thead=Oi.tbody=Oi.colgroup=Oi.caption=Oi.tfoot=[1,"<table>","</table>"],Oi.g=Oi.defs=Oi.symbol=Oi.use=Oi.image=Oi.text=Oi.circle=Oi.ellipse=Oi.line=Oi.path=Oi.polygon=Oi.polyline=Oi.rect=[1,'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"version="1.1">',"</svg>"];var $i=/<([\w:-]+)/,Mi=/&#?\w+?;/,Ni=/<!--/,Pi=function(){if(In){var t=document.createElement("div");return t.innerHTML="<template>1</template>",!t.cloneNode(!0).firstChild.innerHTML}return!1}(),Di=function(){if(In){var t=document.createElement("textarea");return t.placeholder="t","t"===t.cloneNode(!0).value}return!1}(),Fi=Object.freeze({cloneNode:Qt,parseTemplate:Kt}),Bi={bind:function(){8===this.el.nodeType&&(this.nodes=[],this.anchor=ot("v-html"),J(this.el,this.anchor))},update:function(t){t=s(t),this.nodes?this.swap(t):this.el.innerHTML=t},swap:function(t){for(var e=this.nodes.length;e--;)W(this.nodes[e]);var n=Kt(t,!0,!0);this.nodes=g(n.childNodes),z(n,this.anchor)}};te.prototype.callHook=function(t){var e,n;for(e=0,n=this.childFrags.length;e<n;e++)this.childFrags[e].callHook(t);for(e=0,n=this.children.length;e<n;e++)t(this.children[e])},te.prototype.beforeRemove=function(){var t,e;for(t=0,e=this.childFrags.length;t<e;t++)this.childFrags[t].beforeRemove(!1);for(t=0,e=this.children.length;t<e;t++)this.children[t].$destroy(!1,!0);var n=this.unlink.dirs;for(t=0,e=n.length;t<e;t++)n[t]._watcher&&n[t]._watcher.teardown()},te.prototype.destroy=function(){this.parentFrag&&this.parentFrag.childFrags.$remove(this),this.node.__v_frag=null,this.unlink()};var Li=new T(5e3);se.prototype.create=function(t,e,n){var r=Qt(this.template);return new te(this.linker,this.vm,r,t,e,n)};var Ri=700,Ii=800,Hi=850,qi=1100,Vi=1500,zi=1500,Ui=1750,Wi=2100,Xi=2200,Ji=2300,Gi=0,Zi={priority:Xi,terminal:!0,params:["track-by","stagger","enter-stagger","leave-stagger"],bind:function(){var t=this.expression.match(/(.*) (?:in|of) (.*)/);if(t){var e=t[1].match(/\((.*),(.*)\)/);e?(this.iterator=e[1].trim(),this.alias=e[2].trim()):this.alias=t[1].trim(),this.expression=t[2]}if(this.alias){this.id="__v-for__"+ ++Gi;var n=this.el.tagName;this.isOption=("OPTION"===n||"OPTGROUP"===n)&&"SELECT"===this.el.parentNode.tagName,this.start=ot("v-for-start"),this.end=ot("v-for-end"),J(this.el,this.end),z(this.start,this.end),this.cache=Object.create(null),this.factory=new se(this.vm,this.el)}},update:function(t){this.diff(t),this.updateRef(),this.updateModel()},diff:function(t){var e,n,r,o,a,s,u=t[0],l=this.fromObject=y(u)&&i(u,"$key")&&i(u,"$value"),c=this.params.trackBy,f=this.frags,h=this.frags=new Array(t.length),d=this.alias,p=this.iterator,v=this.start,g=this.end,m=I(v),b=!f;for(e=0,n=t.length;e<n;e++)u=t[e],o=l?u.$key:null,a=l?u.$value:u,s=!y(a),r=!b&&this.getCachedFrag(a,e,o),r?(r.reused=!0,r.scope.$index=e,o&&(r.scope.$key=o),p&&(r.scope[p]=null!==o?o:e),(c||l||s)&&_t(function(){r.scope[d]=a})):(r=this.create(a,d,e,o),r.fresh=!b),h[e]=r,b&&r.before(g);if(!b){var x=0,_=f.length-h.length;for(this.vm._vForRemoving=!0,e=0,n=f.length;e<n;e++)r=f[e],r.reused||(this.deleteCachedFrag(r),this.remove(r,x++,_,m));this.vm._vForRemoving=!1,x&&(this.vm._watchers=this.vm._watchers.filter(function(t){return t.active}));var w,C,k,T=0;for(e=0,n=h.length;e<n;e++)r=h[e],w=h[e-1],C=w?w.staggerCb?w.staggerAnchor:w.end||w.node:v,r.reused&&!r.staggerCb?(k=ue(r,v,this.id),k===w||k&&ue(k,v,this.id)===w||this.move(r,C)):this.insert(r,T++,C,m),r.reused=r.fresh=!1}},create:function(t,e,n,r){var i=this._host,o=this._scope||this.vm,a=Object.create(o);a.$refs=Object.create(o.$refs),a.$els=Object.create(o.$els),a.$parent=o,a.$forContext=this,_t(function(){St(a,e,t)}),St(a,"$index",n),r?St(a,"$key",r):a.$key&&x(a,"$key",null),this.iterator&&St(a,this.iterator,null!==r?r:n);var s=this.factory.create(i,a,this._frag);return s.forId=this.id,this.cacheFrag(t,s,n,r),s},updateRef:function(){var t=this.descriptor.ref;if(t){var e,n=(this._scope||this.vm).$refs;this.fromObject?(e={},this.frags.forEach(function(t){e[t.scope.$key]=le(t)})):e=this.frags.map(le),n[t]=e}},updateModel:function(){if(this.isOption){var t=this.start.parentNode,e=t&&t.__v_model;e&&e.forceUpdate()}},insert:function(t,e,n,r){t.staggerCb&&(t.staggerCb.cancel(),t.staggerCb=null);var i=this.getStagger(t,e,null,"enter");if(r&&i){var o=t.staggerAnchor;o||(o=t.staggerAnchor=ot("stagger-anchor"),o.__v_frag=t),U(o,n);var a=t.staggerCb=C(function(){t.staggerCb=null,t.before(o),W(o)});setTimeout(a,i)}else{var s=n.nextSibling;s||(U(this.end,n),s=this.end),t.before(s)}},remove:function(t,e,n,r){if(t.staggerCb)return t.staggerCb.cancel(),void(t.staggerCb=null);var i=this.getStagger(t,e,n,"leave");if(r&&i){var o=t.staggerCb=C(function(){t.staggerCb=null,t.remove()});setTimeout(o,i)}else t.remove()},move:function(t,e){e.nextSibling||this.end.parentNode.appendChild(this.end),t.before(e.nextSibling,!1)},cacheFrag:function(t,e,n,r){var o,a=this.params.trackBy,s=this.cache,u=!y(t);r||a||u?(o=fe(n,r,t,a),s[o]||(s[o]=e)):(o=this.id,i(t,o)?null===t[o]&&(t[o]=e):Object.isExtensible(t)&&x(t,o,e)),e.raw=t},getCachedFrag:function(t,e,n){var r,i=this.params.trackBy,o=!y(t);if(n||i||o){var a=fe(e,n,t,i);r=this.cache[a]}else r=t[this.id];return r&&(r.reused||r.fresh),r},deleteCachedFrag:function(t){var e=t.raw,n=this.params.trackBy,r=t.scope,o=r.$index,a=i(r,"$key")&&r.$key,s=!y(e);if(n||a||s){var u=fe(o,a,e,n);this.cache[u]=null}else e[this.id]=null,t.raw=null},getStagger:function(t,e,n,r){r+="Stagger";var i=t.node.__v_trans,o=i&&i.hooks,a=o&&(o[r]||o.stagger);return a?a.call(t,e,n):e*parseInt(this.params[r]||this.params.stagger,10)},_preProcess:function(t){return this.rawValue=t,t},_postProcess:function(t){if(Ln(t))return t;if(b(t)){for(var e,n=Object.keys(t),r=n.length,i=new Array(r);r--;)e=n[r],i[r]={$key:e,$value:t[e]};return i}return"number"!=typeof t||isNaN(t)||(t=ce(t)),t||[]},unbind:function(){if(this.descriptor.ref&&((this._scope||this.vm).$refs[this.descriptor.ref]=null),this.frags)for(var t,e=this.frags.length;e--;)t=this.frags[e],this.deleteCachedFrag(t),t.destroy()}},Yi={priority:Wi,terminal:!0,bind:function(){var t=this.el;if(t.__vue__)this.invalid=!0;else{var e=t.nextElementSibling;e&&null!==H(e,"v-else")&&(W(e),this.elseEl=e),this.anchor=ot("v-if"),J(t,this.anchor)}},update:function(t){this.invalid||(t?this.frag||this.insert():this.remove())},insert:function(){this.elseFrag&&(this.elseFrag.remove(),this.elseFrag=null),this.factory||(this.factory=new se(this.vm,this.el)),this.frag=this.factory.create(this._host,this._scope,this._frag),this.frag.before(this.anchor)},remove:function(){this.frag&&(this.frag.remove(),this.frag=null),this.elseEl&&!this.elseFrag&&(this.elseFactory||(this.elseFactory=new se(this.elseEl._context||this.vm,this.elseEl)),this.elseFrag=this.elseFactory.create(this._host,this._scope,this._frag),this.elseFrag.before(this.anchor))},unbind:function(){this.frag&&this.frag.destroy(),this.elseFrag&&this.elseFrag.destroy()}},Qi={bind:function(){var t=this.el.nextElementSibling;t&&null!==H(t,"v-else")&&(this.elseEl=t)},update:function(t){this.apply(this.el,t),this.elseEl&&this.apply(this.elseEl,!t)},apply:function(t,e){function n(){t.style.display=e?"":"none"}I(t)?L(t,e?1:-1,n,this.vm):n()}},Ki={bind:function(){var t=this,e=this.el,n="range"===e.type,r=this.params.lazy,i=this.params.number,o=this.params.debounce,a=!1;if(Un||n||(this.on("compositionstart",function(){a=!0}),this.on("compositionend",function(){a=!1,r||t.listener()})),this.focused=!1,n||r||(this.on("focus",function(){t.focused=!0}),this.on("blur",function(){t.focused=!1,t._frag&&!t._frag.inserted||t.rawListener()})),this.listener=this.rawListener=function(){if(!a&&t._bound){var r=i||n?u(e.value):e.value;t.set(r),nr(function(){t._bound&&!t.focused&&t.update(t._watcher.value)})}},o&&(this.listener=_(this.listener,o)),this.hasjQuery="function"==typeof jQuery,this.hasjQuery){var s=jQuery.fn.on?"on":"bind";jQuery(e)[s]("change",this.rawListener),r||jQuery(e)[s]("input",this.listener)}else this.on("change",this.rawListener),r||this.on("input",this.listener);!r&&zn&&(this.on("cut",function(){nr(t.listener)}),this.on("keyup",function(e){46!==e.keyCode&&8!==e.keyCode||t.listener()})),(e.hasAttribute("value")||"TEXTAREA"===e.tagName&&e.value.trim())&&(this.afterBind=this.listener)},update:function(t){t=s(t),t!==this.el.value&&(this.el.value=t)},unbind:function(){var t=this.el;if(this.hasjQuery){var e=jQuery.fn.off?"off":"unbind";jQuery(t)[e]("change",this.listener),jQuery(t)[e]("input",this.listener)}}},to={bind:function(){var t=this,e=this.el;this.getValue=function(){if(e.hasOwnProperty("_value"))return e._value;var n=e.value;return t.params.number&&(n=u(n)),n},this.listener=function(){t.set(t.getValue())},this.on("change",this.listener),e.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(t){this.el.checked=k(t,this.getValue())}},eo={bind:function(){var t=this,e=this,n=this.el;this.forceUpdate=function(){e._watcher&&e.update(e._watcher.get())};var r=this.multiple=n.hasAttribute("multiple");this.listener=function(){var t=he(n,r);t=e.params.number?Ln(t)?t.map(u):u(t):t,e.set(t)},this.on("change",this.listener);var i=he(n,r,!0);(r&&i.length||!r&&null!==i)&&(this.afterBind=this.listener),this.vm.$on("hook:attached",function(){nr(t.forceUpdate)}),I(n)||nr(this.forceUpdate)},update:function(t){var e=this.el;e.selectedIndex=-1;for(var n,r,i=this.multiple&&Ln(t),o=e.options,a=o.length;a--;)n=o[a],r=n.hasOwnProperty("_value")?n._value:n.value,n.selected=i?de(t,r)>-1:k(t,r)},unbind:function(){this.vm.$off("hook:attached",this.forceUpdate)}},no={bind:function(){function t(){var t=n.checked;return t&&n.hasOwnProperty("_trueValue")?n._trueValue:!t&&n.hasOwnProperty("_falseValue")?n._falseValue:t}var e=this,n=this.el;this.getValue=function(){return n.hasOwnProperty("_value")?n._value:e.params.number?u(n.value):n.value},this.listener=function(){var r=e._watcher.value;if(Ln(r)){var i=e.getValue();n.checked?w(r,i)<0&&r.push(i):r.$remove(i)}else e.set(t())},this.on("change",this.listener),n.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(t){var e=this.el;Ln(t)?e.checked=w(t,this.getValue())>-1:e.hasOwnProperty("_trueValue")?e.checked=k(t,e._trueValue):e.checked=!!t}},ro={text:Ki,radio:to,select:eo,checkbox:no},io={priority:Ii,twoWay:!0,handlers:ro,params:["lazy","number","debounce"],bind:function(){this.checkFilters(),this.hasRead&&!this.hasWrite;var t,e=this.el,n=e.tagName;if("INPUT"===n)t=ro[e.type]||ro.text;else if("SELECT"===n)t=ro.select;else{if("TEXTAREA"!==n)return;t=ro.text}e.__v_model=this,t.bind.call(this),this.update=t.update,this._unbind=t.unbind},checkFilters:function(){var t=this.filters;if(t)for(var e=t.length;e--;){var n=bt(this.vm.$options,"filters",t[e].name);("function"==typeof n||n.read)&&(this.hasRead=!0),n.write&&(this.hasWrite=!0)}},unbind:function(){this.el.__v_model=null,this._unbind&&this._unbind()}},oo={esc:27,tab:9,enter:13,space:32,"delete":[8,46],up:38,left:37,right:39,down:40},ao={priority:Ri,acceptStatement:!0,keyCodes:oo,bind:function(){if("IFRAME"===this.el.tagName&&"load"!==this.arg){var t=this;this.iframeBind=function(){G(t.el.contentWindow,t.arg,t.handler,t.modifiers.capture)},this.on("load",this.iframeBind)}},update:function(t){if(this.descriptor.raw||(t=function(){}),"function"==typeof t){this.modifiers.stop&&(t=ve(t)),this.modifiers.prevent&&(t=ge(t)),this.modifiers.self&&(t=me(t));var e=Object.keys(this.modifiers).filter(function(t){return"stop"!==t&&"prevent"!==t&&"self"!==t&&"capture"!==t});e.length&&(t=pe(t,e)),this.reset(),this.handler=t,this.iframeBind?this.iframeBind():G(this.el,this.arg,this.handler,this.modifiers.capture)}},reset:function(){var t=this.iframeBind?this.el.contentWindow:this.el;this.handler&&Z(t,this.arg,this.handler)},unbind:function(){this.reset()}},so=["-webkit-","-moz-","-ms-"],uo=["Webkit","Moz","ms"],lo=/!important;?$/,co=Object.create(null),fo=null,ho={deep:!0,update:function(t){"string"==typeof t?this.el.style.cssText=t:Ln(t)?this.handleObject(t.reduce(m,{})):this.handleObject(t||{})},handleObject:function(t){var e,n,r=this.cache||(this.cache={});for(e in r)e in t||(this.handleSingle(e,null),delete r[e]);for(e in t)n=t[e],n!==r[e]&&(r[e]=n,this.handleSingle(e,n))},handleSingle:function(t,e){if(t=ye(t))if(null!=e&&(e+=""),e){var n=lo.test(e)?"important":"";n?(e=e.replace(lo,"").trim(),this.el.style.setProperty(t.kebab,e,n)):this.el.style[t.camel]=e}else this.el.style[t.camel]=""}},po="http://www.w3.org/1999/xlink",vo=/^xlink:/,go=/^v-|^:|^@|^(?:is|transition|transition-mode|debounce|track-by|stagger|enter-stagger|leave-stagger)$/,mo=/^(?:value|checked|selected|muted)$/,yo=/^(?:draggable|contenteditable|spellcheck)$/,bo={value:"_value","true-value":"_trueValue","false-value":"_falseValue"},xo={priority:Hi,
-bind:function(){var t=this.arg,e=this.el.tagName;t||(this.deep=!0);var n=this.descriptor,r=n.interp;if(r){n.hasOneTime&&(this.expression=M(r,this._scope||this.vm)),(go.test(t)||"name"===t&&("PARTIAL"===e||"SLOT"===e))&&(this.el.removeAttribute(t),this.invalid=!0)}},update:function(t){if(!this.invalid){var e=this.arg;this.arg?this.handleSingle(e,t):this.handleObject(t||{})}},handleObject:ho.handleObject,handleSingle:function(t,e){var n=this.el,r=this.descriptor.interp;if(this.modifiers.camel&&(t=f(t)),!r&&mo.test(t)&&t in n){var i="value"===t&&null==e?"":e;n[t]!==i&&(n[t]=i)}var o=bo[t];if(!r&&o){n[o]=e;var a=n.__v_model;a&&a.listener()}return"value"===t&&"TEXTAREA"===n.tagName?void n.removeAttribute(t):void(yo.test(t)?n.setAttribute(t,e?"true":"false"):null!=e&&e!==!1?"class"===t?(n.__v_trans&&(e+=" "+n.__v_trans.id+"-transition"),Q(n,e)):vo.test(t)?n.setAttributeNS(po,t,e===!0?"":e):n.setAttribute(t,e===!0?"":e):n.removeAttribute(t))}},_o={priority:Vi,bind:function(){if(this.arg){var t=this.id=f(this.arg),e=(this._scope||this.vm).$els;i(e,t)?e[t]=this.el:St(e,t,this.el)}},unbind:function(){var t=(this._scope||this.vm).$els;t[this.id]===this.el&&(t[this.id]=null)}},wo={bind:function(){}},Co={bind:function(){var t=this.el;this.vm.$once("pre-hook:compiled",function(){t.removeAttribute("v-cloak")})}},ko={text:Ai,html:Bi,"for":Zi,"if":Yi,show:Qi,model:io,on:ao,bind:xo,el:_o,ref:wo,cloak:Co},To={deep:!0,update:function(t){t?"string"==typeof t?this.setClass(t.trim().split(/\s+/)):this.setClass(xe(t)):this.cleanup()},setClass:function(t){this.cleanup(t);for(var e=0,n=t.length;e<n;e++){var r=t[e];r&&_e(this.el,r,K)}this.prevKeys=t},cleanup:function(t){var e=this.prevKeys;if(e)for(var n=e.length;n--;){var r=e[n];(!t||t.indexOf(r)<0)&&_e(this.el,r,tt)}}},So={priority:zi,params:["keep-alive","transition-mode","inline-template"],bind:function(){this.el.__vue__||(this.keepAlive=this.params.keepAlive,this.keepAlive&&(this.cache={}),this.params.inlineTemplate&&(this.inlineTemplate=et(this.el,!0)),this.pendingComponentCb=this.Component=null,this.pendingRemovals=0,this.pendingRemovalCb=null,this.anchor=ot("v-component"),J(this.el,this.anchor),this.el.removeAttribute("is"),this.el.removeAttribute(":is"),this.descriptor.ref&&this.el.removeAttribute("v-ref:"+d(this.descriptor.ref)),this.literal&&this.setComponent(this.expression))},update:function(t){this.literal||this.setComponent(t)},setComponent:function(t,e){if(this.invalidatePending(),t){var n=this;this.resolveComponent(t,function(){n.mountComponent(e)})}else this.unbuild(!0),this.remove(this.childVM,e),this.childVM=null},resolveComponent:function(t,e){var n=this;this.pendingComponentCb=C(function(r){n.ComponentName=r.options.name||("string"==typeof t?t:null),n.Component=r,e()}),this.vm._resolveComponent(t,this.pendingComponentCb)},mountComponent:function(t){this.unbuild(!0);var e=this,n=this.Component.options.activate,r=this.getCached(),i=this.build();n&&!r?(this.waitingFor=i,we(n,i,function(){e.waitingFor===i&&(e.waitingFor=null,e.transition(i,t))})):(r&&i._updateRef(),this.transition(i,t))},invalidatePending:function(){this.pendingComponentCb&&(this.pendingComponentCb.cancel(),this.pendingComponentCb=null)},build:function(t){var e=this.getCached();if(e)return e;if(this.Component){var n={name:this.ComponentName,el:Qt(this.el),template:this.inlineTemplate,parent:this._host||this.vm,_linkerCachable:!this.inlineTemplate,_ref:this.descriptor.ref,_asComponent:!0,_isRouterView:this._isRouterView,_context:this.vm,_scope:this._scope,_frag:this._frag};t&&m(n,t);var r=new this.Component(n);return this.keepAlive&&(this.cache[this.Component.cid]=r),r}},getCached:function(){return this.keepAlive&&this.cache[this.Component.cid]},unbuild:function(t){this.waitingFor&&(this.keepAlive||this.waitingFor.$destroy(),this.waitingFor=null);var e=this.childVM;return!e||this.keepAlive?void(e&&(e._inactive=!0,e._updateRef(!0))):void e.$destroy(!1,t)},remove:function(t,e){var n=this.keepAlive;if(t){this.pendingRemovals++,this.pendingRemovalCb=e;var r=this;t.$remove(function(){r.pendingRemovals--,n||t._cleanup(),!r.pendingRemovals&&r.pendingRemovalCb&&(r.pendingRemovalCb(),r.pendingRemovalCb=null)})}else e&&e()},transition:function(t,e){var n=this,r=this.childVM;switch(r&&(r._inactive=!0),t._inactive=!1,this.childVM=t,n.params.transitionMode){case"in-out":t.$before(n.anchor,function(){n.remove(r,e)});break;case"out-in":n.remove(r,function(){t.$before(n.anchor,e)});break;default:n.remove(r),t.$before(n.anchor,e)}},unbind:function(){if(this.invalidatePending(),this.unbuild(),this.cache){for(var t in this.cache)this.cache[t].$destroy();this.cache=null}}},Ao=Er._propBindingModes,jo={},Eo=/^[$_a-zA-Z]+[\w$]*$/,Oo=Er._propBindingModes,$o={bind:function(){var t=this.vm,e=t._context,n=this.descriptor.prop,r=n.path,i=n.parentPath,o=n.mode===Oo.TWO_WAY,a=this.parentWatcher=new Xt(e,i,function(e){Ae(t,n,e)},{twoWay:o,filters:n.filters,scope:this._scope});if(Se(t,n,a.value),o){var s=this;t.$once("pre-hook:created",function(){s.childWatcher=new Xt(t,r,function(t){a.set(t)},{sync:!0})})}},unbind:function(){this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}},Mo=[],No=!1,Po="transition",Do="animation",Fo=Zn+"Duration",Bo=Qn+"Duration",Lo=In&&window.requestAnimationFrame,Ro=Lo?function(t){Lo(function(){Lo(t)})}:function(t){setTimeout(t,50)},Io=Pe.prototype;Io.enter=function(t,e){this.cancelPending(),this.callHook("beforeEnter"),this.cb=e,K(this.el,this.enterClass),t(),this.entered=!1,this.callHookWithCb("enter"),this.entered||(this.cancel=this.hooks&&this.hooks.enterCancelled,Me(this.enterNextTick))},Io.enterNextTick=function(){var t=this;this.justEntered=!0,Ro(function(){t.justEntered=!1});var e=this.enterDone,n=this.getCssTransitionType(this.enterClass);this.pendingJsCb?n===Po&&tt(this.el,this.enterClass):n===Po?(tt(this.el,this.enterClass),this.setupCssCb(Yn,e)):n===Do?this.setupCssCb(Kn,e):e()},Io.enterDone=function(){this.entered=!0,this.cancel=this.pendingJsCb=null,tt(this.el,this.enterClass),this.callHook("afterEnter"),this.cb&&this.cb()},Io.leave=function(t,e){this.cancelPending(),this.callHook("beforeLeave"),this.op=t,this.cb=e,K(this.el,this.leaveClass),this.left=!1,this.callHookWithCb("leave"),this.left||(this.cancel=this.hooks&&this.hooks.leaveCancelled,this.op&&!this.pendingJsCb&&(this.justEntered?this.leaveDone():Me(this.leaveNextTick)))},Io.leaveNextTick=function(){var t=this.getCssTransitionType(this.leaveClass);if(t){var e=t===Po?Yn:Kn;this.setupCssCb(e,this.leaveDone)}else this.leaveDone()},Io.leaveDone=function(){this.left=!0,this.cancel=this.pendingJsCb=null,this.op(),tt(this.el,this.leaveClass),this.callHook("afterLeave"),this.cb&&this.cb(),this.op=null},Io.cancelPending=function(){this.op=this.cb=null;var t=!1;this.pendingCssCb&&(t=!0,Z(this.el,this.pendingCssEvent,this.pendingCssCb),this.pendingCssEvent=this.pendingCssCb=null),this.pendingJsCb&&(t=!0,this.pendingJsCb.cancel(),this.pendingJsCb=null),t&&(tt(this.el,this.enterClass),tt(this.el,this.leaveClass)),this.cancel&&(this.cancel.call(this.vm,this.el),this.cancel=null)},Io.callHook=function(t){this.hooks&&this.hooks[t]&&this.hooks[t].call(this.vm,this.el)},Io.callHookWithCb=function(t){var e=this.hooks&&this.hooks[t];e&&(e.length>1&&(this.pendingJsCb=C(this[t+"Done"])),e.call(this.vm,this.el,this.pendingJsCb))},Io.getCssTransitionType=function(t){if(!(!Yn||document.hidden||this.hooks&&this.hooks.css===!1||De(this.el))){var e=this.type||this.typeCache[t];if(e)return e;var n=this.el.style,r=window.getComputedStyle(this.el),i=n[Fo]||r[Fo];if(i&&"0s"!==i)e=Po;else{var o=n[Bo]||r[Bo];o&&"0s"!==o&&(e=Do)}return e&&(this.typeCache[t]=e),e}},Io.setupCssCb=function(t,e){this.pendingCssEvent=t;var n=this,r=this.el,i=this.pendingCssCb=function(o){o.target===r&&(Z(r,t,i),n.pendingCssEvent=n.pendingCssCb=null,!n.pendingJsCb&&e&&e())};G(r,t,i)};var Ho={priority:qi,update:function(t,e){var n=this.el,r=bt(this.vm.$options,"transitions",t);t=t||"v",e=e||"v",n.__v_trans=new Pe(n,t,r,this.vm),tt(n,e+"-transition"),K(n,t+"-transition")}},qo={style:ho,"class":To,component:So,prop:$o,transition:Ho},Vo=/^v-bind:|^:/,zo=/^v-on:|^@/,Uo=/^v-([^:]+)(?:$|:(.*)$)/,Wo=/\.[^\.]+/g,Xo=/^(v-bind:|:)?transition$/,Jo=1e3,Go=2e3;tn.terminal=!0;var Zo=/[^\w\-:\.]/,Yo=Object.freeze({compile:Fe,compileAndLinkProps:He,compileRoot:qe,transclude:un,resolveSlots:hn}),Qo=/^v-on:|^@/;mn.prototype._bind=function(){var t=this.name,e=this.descriptor;if(("cloak"!==t||this.vm._isCompiled)&&this.el&&this.el.removeAttribute){var n=e.attr||"v-"+t;this.el.removeAttribute(n)}var r=e.def;if("function"==typeof r?this.update=r:m(this,r),this._setupParams(),this.bind&&this.bind(),this._bound=!0,this.literal)this.update&&this.update(e.raw);else if((this.expression||this.modifiers)&&(this.update||this.twoWay)&&!this._checkStatement()){var i=this;this.update?this._update=function(t,e){i._locked||i.update(t,e)}:this._update=gn;var o=this._preProcess?v(this._preProcess,this):null,a=this._postProcess?v(this._postProcess,this):null,s=this._watcher=new Xt(this.vm,this.expression,this._update,{filters:this.filters,twoWay:this.twoWay,deep:this.deep,preProcess:o,postProcess:a,scope:this._scope});this.afterBind?this.afterBind():this.update&&this.update(s.value)}},mn.prototype._setupParams=function(){if(this.params){var t=this.params;this.params=Object.create(null);for(var e,n,r,i=t.length;i--;)e=d(t[i]),r=f(e),n=q(this.el,e),null!=n?this._setupParamWatcher(r,n):(n=H(this.el,e),null!=n&&(this.params[r]=""===n||n))}},mn.prototype._setupParamWatcher=function(t,e){var n=this,r=!1,i=(this._scope||this.vm).$watch(e,function(e,i){if(n.params[t]=e,r){var o=n.paramWatchers&&n.paramWatchers[t];o&&o.call(n,e,i)}else r=!0},{immediate:!0,user:!1});(this._paramUnwatchFns||(this._paramUnwatchFns=[])).push(i)},mn.prototype._checkStatement=function(){var t=this.expression;if(t&&this.acceptStatement&&!qt(t)){var e=Ht(t).get,n=this._scope||this.vm,r=function(t){n.$event=t,e.call(n,n),n.$event=null};return this.filters&&(r=n._applyFilters(r,null,this.filters)),this.update(r),!0}},mn.prototype.set=function(t){this.twoWay&&this._withLock(function(){this._watcher.set(t)})},mn.prototype._withLock=function(t){var e=this;e._locked=!0,t.call(e),nr(function(){e._locked=!1})},mn.prototype.on=function(t,e,n){G(this.el,t,e,n),(this._listeners||(this._listeners=[])).push([t,e])},mn.prototype._teardown=function(){if(this._bound){this._bound=!1,this.unbind&&this.unbind(),this._watcher&&this._watcher.teardown();var t,e=this._listeners;if(e)for(t=e.length;t--;)Z(this.el,e[t][0],e[t][1]);var n=this._paramUnwatchFns;if(n)for(t=n.length;t--;)n[t]();this.vm=this.el=this._watcher=this._listeners=null}};var Ko=/[^|]\|[^|]/;At(kn),pn(kn),vn(kn),yn(kn),bn(kn),xn(kn),_n(kn),wn(kn),Cn(kn);var ta={priority:Ji,params:["name"],bind:function(){var t=this.params.name||"default",e=this.vm._slotContents&&this.vm._slotContents[t];e&&e.hasChildNodes()?this.compile(e.cloneNode(!0),this.vm._context,this.vm):this.fallback()},compile:function(t,e,n){if(t&&e){if(this.el.hasChildNodes()&&1===t.childNodes.length&&1===t.childNodes[0].nodeType&&t.childNodes[0].hasAttribute("v-if")){var r=document.createElement("template");r.setAttribute("v-else",""),r.innerHTML=this.el.innerHTML,r._context=this.vm,t.appendChild(r)}var i=n?n._scope:this._scope;this.unlink=e.$compile(t,n,i,this._frag)}t?J(this.el,t):W(this.el)},fallback:function(){this.compile(et(this.el,!0),this.vm)},unbind:function(){this.unlink&&this.unlink()}},ea={priority:Ui,params:["name"],paramWatchers:{name:function(t){Yi.remove.call(this),t&&this.insert(t)}},bind:function(){this.anchor=ot("v-partial"),J(this.el,this.anchor),this.insert(this.params.name)},insert:function(t){var e=bt(this.vm.$options,"partials",t,!0);e&&(this.factory=new se(this.vm,e),Yi.insert.call(this))},unbind:function(){this.frag&&this.frag.destroy()}},na={slot:ta,partial:ea},ra=Zi._postProcess,ia=/(\d{3})(?=\d)/g,oa={orderBy:An,filterBy:Sn,limitBy:Tn,json:{read:function(t,e){return"string"==typeof t?t:JSON.stringify(t,null,arguments.length>1?e:2)},write:function(t){try{return JSON.parse(t)}catch(e){return t}}},capitalize:function(t){return t||0===t?(t=t.toString(),t.charAt(0).toUpperCase()+t.slice(1)):""},uppercase:function(t){return t||0===t?t.toString().toUpperCase():""},lowercase:function(t){return t||0===t?t.toString().toLowerCase():""},currency:function(t,e,n){if(t=parseFloat(t),!isFinite(t)||!t&&0!==t)return"";e=null!=e?e:"$",n=null!=n?n:2;var r=Math.abs(t).toFixed(n),i=n?r.slice(0,-1-n):r,o=i.length%3,a=o>0?i.slice(0,o)+(i.length>3?",":""):"",s=n?r.slice(-1-n):"",u=t<0?"-":"";return u+e+a+i.slice(o).replace(ia,"$1,")+s},pluralize:function(t){var e=g(arguments,1),n=e.length;if(n>1){var r=t%10-1;return r in e?e[r]:e[n-1]}return e[0]+(1===t?"":"s")},debounce:function(t,e){if(t)return e||(e=300),_(t,e)}};En(kn),kn.version="1.0.26",setTimeout(function(){Er.devtools&&Hn&&Hn.emit("init",kn)},0),t.exports=kn}).call(e,function(){return this}())},function(t,e,n){var r,i;(function(o){"use strict";var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};/*!
+"use strict";function n(t,e,r){if(i(t,e))return void(t[e]=r);if(t._isVue)return void n(t._data,e,r);var o=t.__ob__;if(!o)return void(t[e]=r);if(o.convert(e,r),o.dep.notify(),o.vms)for(var a=o.vms.length;a--;){var s=o.vms[a];s._proxy(e),s._digest()}return r}function r(t,e){if(i(t,e)){delete t[e];var n=t.__ob__;if(!n)return void(t._isVue&&(delete t._data[e],t._digest()));if(n.dep.notify(),n.vms)for(var r=n.vms.length;r--;){var o=n.vms[r];o._unproxy(e),o._digest()}}}function i(t,e){return On.call(t,e)}function o(t){return Mn.test(t)}function a(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function s(t){return null==t?"":t.toString()}function u(t){if("string"!=typeof t)return t;var e=Number(t);return isNaN(e)?t:e}function l(t){return"true"===t||"false"!==t&&t}function c(t){var e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?t:t.slice(1,-1)}function f(t){return t.replace(Nn,h)}function h(t,e){return e?e.toUpperCase():""}function d(t){return t.replace(Pn,"$1-$2").toLowerCase()}function p(t){return t.replace(Dn,h)}function v(t,e){return function(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}}function g(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function m(t,e){for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t}function y(t){return null!==t&&"object"===("undefined"==typeof t?"undefined":$n(t))}function b(t){return Fn.call(t)===Bn}function x(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function _(t,e){var n,r,i,o,a,s=function u(){var s=Date.now()-o;s<e&&s>=0?n=setTimeout(u,e-s):(n=null,a=t.apply(i,r),n||(i=r=null))};return function(){return i=this,r=arguments,o=Date.now(),n||(n=setTimeout(s,e)),a}}function w(t,e){for(var n=t.length;n--;)if(t[n]===e)return n;return-1}function C(t){var e=function n(){if(!n.cancelled)return t.apply(this,arguments)};return e.cancel=function(){e.cancelled=!0},e}function k(t,e){return t==e||!(!y(t)||!y(e))&&JSON.stringify(t)===JSON.stringify(e)}function T(t){this.size=0,this.limit=t,this.head=this.tail=void 0,this._keymap=Object.create(null)}function S(){var t,e=or.slice(fr,lr).trim();if(e){t={};var n=e.match(yr);t.name=n[0],n.length>1&&(t.args=n.slice(1).map(A))}t&&(ar.filters=ar.filters||[]).push(t),fr=lr+1}function A(t){if(br.test(t))return{value:u(t),dynamic:!1};var e=c(t),n=e===t;return{value:n?t:e,dynamic:n}}function j(t){var e=mr.get(t);if(e)return e;for(or=t,hr=dr=!1,pr=vr=gr=0,fr=0,ar={},lr=0,cr=or.length;lr<cr;lr++)if(ur=sr,sr=or.charCodeAt(lr),hr)39===sr&&92!==ur&&(hr=!hr);else if(dr)34===sr&&92!==ur&&(dr=!dr);else if(124===sr&&124!==or.charCodeAt(lr+1)&&124!==or.charCodeAt(lr-1))null==ar.expression?(fr=lr+1,ar.expression=or.slice(0,lr).trim()):S();else switch(sr){case 34:dr=!0;break;case 39:hr=!0;break;case 40:gr++;break;case 41:gr--;break;case 91:vr++;break;case 93:vr--;break;case 123:pr++;break;case 125:pr--}return null==ar.expression?ar.expression=or.slice(0,lr).trim():0!==fr&&S(),mr.put(t,ar),ar}function E(t){return t.replace(_r,"\\$&")}function $(){var t=E(Er.delimiters[0]),e=E(Er.delimiters[1]),n=E(Er.unsafeDelimiters[0]),r=E(Er.unsafeDelimiters[1]);Cr=new RegExp(n+"((?:.|\\n)+?)"+r+"|"+t+"((?:.|\\n)+?)"+e,"g"),kr=new RegExp("^"+n+"((?:.|\\n)+?)"+r+"$"),wr=new T(1e3)}function O(t){wr||$();var e=wr.get(t);if(e)return e;if(!Cr.test(t))return null;for(var n,r,i,o,a,s,u=[],l=Cr.lastIndex=0;n=Cr.exec(t);)r=n.index,r>l&&u.push({value:t.slice(l,r)}),i=kr.test(n[0]),o=i?n[1]:n[2],a=o.charCodeAt(0),s=42===a,o=s?o.slice(1):o,u.push({tag:!0,value:o.trim(),html:i,oneTime:s}),l=r+n[0].length;return l<t.length&&u.push({value:t.slice(l)}),wr.put(t,u),u}function M(t,e){return t.length>1?t.map(function(t){return N(t,e)}).join("+"):N(t[0],e,!0)}function N(t,e,n){return t.tag?t.oneTime&&e?'"'+e.$eval(t.value)+'"':P(t.value,n):'"'+t.value+'"'}function P(t,e){if(Tr.test(t)){var n=j(t);return n.filters?"this._applyFilters("+n.expression+",null,"+JSON.stringify(n.filters)+",false)":"("+t+")"}return e?t:"("+t+")"}function D(t,e,n,r){L(t,1,function(){e.appendChild(t)},n,r)}function F(t,e,n,r){L(t,1,function(){z(t,e)},n,r)}function B(t,e,n){L(t,-1,function(){W(t)},e,n)}function L(t,e,n,r,i){var o=t.__v_trans;if(!o||!o.hooks&&!Yn||!r._isCompiled||r.$parent&&!r.$parent._isCompiled)return n(),void(i&&i());var a=e>0?"enter":"leave";o[a](n,i)}function R(t){if("string"==typeof t){t=document.querySelector(t)}return t}function I(t){if(!t)return!1;var e=t.ownerDocument.documentElement,n=t.parentNode;return e===t||e===n||!(!n||1!==n.nodeType||!e.contains(n))}function H(t,e){var n=t.getAttribute(e);return null!==n&&t.removeAttribute(e),n}function q(t,e){var n=H(t,":"+e);return null===n&&(n=H(t,"v-bind:"+e)),n}function V(t,e){return t.hasAttribute(e)||t.hasAttribute(":"+e)||t.hasAttribute("v-bind:"+e)}function z(t,e){e.parentNode.insertBefore(t,e)}function U(t,e){e.nextSibling?z(t,e.nextSibling):e.parentNode.appendChild(t)}function W(t){t.parentNode.removeChild(t)}function X(t,e){e.firstChild?z(t,e.firstChild):e.appendChild(t)}function J(t,e){var n=t.parentNode;n&&n.replaceChild(e,t)}function G(t,e,n,r){t.addEventListener(e,n,r)}function Z(t,e,n){t.removeEventListener(e,n)}function Y(t){var e=t.className;return"object"===("undefined"==typeof e?"undefined":$n(e))&&(e=e.baseVal||""),e}function Q(t,e){zn&&!/svg$/.test(t.namespaceURI)?t.className=e:t.setAttribute("class",e)}function K(t,e){if(t.classList)t.classList.add(e);else{var n=" "+Y(t)+" ";n.indexOf(" "+e+" ")<0&&Q(t,(n+e).trim())}}function tt(t,e){if(t.classList)t.classList.remove(e);else{for(var n=" "+Y(t)+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");Q(t,n.trim())}t.className||t.removeAttribute("class")}function et(t,e){var n,r;if(it(t)&<(t.content)&&(t=t.content),t.hasChildNodes())for(nt(t),r=e?document.createDocumentFragment():document.createElement("div");n=t.firstChild;)r.appendChild(n);return r}function nt(t){for(var e;e=t.firstChild,rt(e);)t.removeChild(e);for(;e=t.lastChild,rt(e);)t.removeChild(e)}function rt(t){return t&&(3===t.nodeType&&!t.data.trim()||8===t.nodeType)}function it(t){return t.tagName&&"template"===t.tagName.toLowerCase()}function ot(t,e){var n=Er.debug?document.createComment(t):document.createTextNode(e?" ":"");return n.__v_anchor=!0,n}function at(t){if(t.hasAttributes())for(var e=t.attributes,n=0,r=e.length;n<r;n++){var i=e[n].name;if(Mr.test(i))return f(i.replace(Mr,""))}}function st(t,e,n){for(var r;t!==e;)r=t.nextSibling,n(t),t=r;n(e)}function ut(t,e,n,r,i){function o(){if(s++,a&&s>=u.length){for(var t=0;t<u.length;t++)r.appendChild(u[t]);i&&i()}}var a=!1,s=0,u=[];st(t,e,function(t){t===e&&(a=!0),u.push(t),B(t,n,o)})}function lt(t){return t&&11===t.nodeType}function ct(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}function ft(t,e){var n=t.tagName.toLowerCase(),r=t.hasAttributes();if(Nr.test(n)||Pr.test(n)){if(r)return ht(t,e)}else{if(bt(e,"components",n))return{id:n};var i=r&&ht(t,e);if(i)return i}}function ht(t,e){var n=t.getAttribute("is");if(null!=n){if(bt(e,"components",n))return t.removeAttribute("is"),{id:n}}else if(n=q(t,"is"),null!=n)return{id:n,dynamic:!0}}function dt(t,e){var r,o,a;for(r in e)o=t[r],a=e[r],i(t,r)?y(o)&&y(a)&&dt(o,a):n(t,r,a);return t}function pt(t,e){var n=Object.create(t||null);return e?m(n,mt(e)):n}function vt(t){if(t.components)for(var e,n=t.components=mt(t.components),r=Object.keys(n),i=0,o=r.length;i<o;i++){var a=r[i];Nr.test(a)||Pr.test(a)||(e=n[a],b(e)&&(n[a]=kn.extend(e)))}}function gt(t){var e,n,r=t.props;if(Ln(r))for(t.props={},e=r.length;e--;)n=r[e],"string"==typeof n?t.props[n]=null:n.name&&(t.props[n.name]=n);else if(b(r)){var i=Object.keys(r);for(e=i.length;e--;)n=r[i[e]],"function"==typeof n&&(r[i[e]]={type:n})}}function mt(t){if(Ln(t)){for(var e,n={},r=t.length;r--;){e=t[r];var i="function"==typeof e?e.options&&e.options.name||e.id:e.name||e.id;i&&(n[i]=e)}return n}return t}function yt(t,e,n){function r(r){var i=Dr[r]||Fr;a[r]=i(t[r],e[r],n,r)}vt(e),gt(e);var o,a={};if(e["extends"]&&(t="function"==typeof e["extends"]?yt(t,e["extends"].options,n):yt(t,e["extends"],n)),e.mixins)for(var s=0,u=e.mixins.length;s<u;s++){var l=e.mixins[s],c=l.prototype instanceof kn?l.options:l;t=yt(t,c,n)}for(o in t)r(o);for(o in e)i(t,o)||r(o);return a}function bt(t,e,n,r){if("string"==typeof n){var i,o=t[e],a=o[n]||o[i=f(n)]||o[i.charAt(0).toUpperCase()+i.slice(1)];return a}}function xt(){this.id=Br++,this.subs=[]}function _t(t){Hr=!1,t(),Hr=!0}function wt(t){if(this.value=t,this.dep=new xt,x(t,"__ob__",this),Ln(t)){var e=Rn?Ct:kt;e(t,Rr,Ir),this.observeArray(t)}else this.walk(t)}function Ct(t,e){t.__proto__=e}function kt(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];x(t,o,e[o])}}function Tt(t,e){if(t&&"object"===("undefined"==typeof t?"undefined":$n(t))){var n;return i(t,"__ob__")&&t.__ob__ instanceof wt?n=t.__ob__:Hr&&(Ln(t)||b(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new wt(t)),n&&e&&n.addVm(e),n}}function St(t,e,n){var r=new xt,i=Object.getOwnPropertyDescriptor(t,e);if(!i||i.configurable!==!1){var o=i&&i.get,a=i&&i.set,s=Tt(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=o?o.call(t):n;if(xt.target&&(r.depend(),s&&s.dep.depend(),Ln(e)))for(var i,a=0,u=e.length;a<u;a++)i=e[a],i&&i.__ob__&&i.__ob__.dep.depend();return e},set:function(e){var i=o?o.call(t):n;e!==i&&(a?a.call(t,e):n=e,s=Tt(e),r.notify())}})}}function At(t){t.prototype._init=function(t){t=t||{},this.$el=null,this.$parent=t.parent,this.$root=this.$parent?this.$parent.$root:this,this.$children=[],this.$refs={},this.$els={},this._watchers=[],this._directives=[],this._uid=Vr++,this._isVue=!0,this._events={},this._eventsCount={},this._isFragment=!1,this._fragment=this._fragmentStart=this._fragmentEnd=null,this._isCompiled=this._isDestroyed=this._isReady=this._isAttached=this._isBeingDestroyed=this._vForRemoving=!1,this._unlinkFn=null,this._context=t._context||this.$parent,this._scope=t._scope,this._frag=t._frag,this._frag&&this._frag.children.push(this),this.$parent&&this.$parent.$children.push(this),t=this.$options=yt(this.constructor.options,t,this),this._updateRef(),this._data={},this._callHook("init"),this._initState(),this._initEvents(),this._callHook("created"),t.el&&this.$mount(t.el)}}function jt(t){if(void 0===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:case 48:return t;case 95:case 36:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return e>=97&&e<=122||e>=65&&e<=90?"ident":e>=49&&e<=57?"number":"else"}function Et(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(o(e)?c(e):"*"+e)}function $t(t){function e(){var e=t[c+1];if(f===ti&&"'"===e||f===ei&&'"'===e)return c++,r="\\"+e,d[Ur](),!0}var n,r,i,o,a,s,u,l=[],c=-1,f=Gr,h=0,d=[];for(d[Wr]=function(){void 0!==i&&(l.push(i),i=void 0)},d[Ur]=function(){void 0===i?i=r:i+=r},d[Xr]=function(){d[Ur](),h++},d[Jr]=function(){if(h>0)h--,f=Kr,d[Ur]();else{if(h=0,i=Et(i),i===!1)return!1;d[Wr]()}};null!=f;)if(c++,n=t[c],"\\"!==n||!e()){if(o=jt(n),u=ii[f],a=u[o]||u["else"]||ri,a===ri)return;if(f=a[0],s=d[a[1]],s&&(r=a[2],r=void 0===r?n:r,s()===!1))return;if(f===ni)return l.raw=t,l}}function Ot(t){var e=zr.get(t);return e||(e=$t(t),e&&zr.put(t,e)),e}function Mt(t,e){return Ht(e).get(t)}function Nt(t,e,r){var i=t;if("string"==typeof e&&(e=$t(e)),!e||!y(t))return!1;for(var o,a,s=0,u=e.length;s<u;s++)o=t,a=e[s],"*"===a.charAt(0)&&(a=Ht(a.slice(1)).get.call(i,i)),s<u-1?(t=t[a],y(t)||(t={},n(o,a,t))):Ln(t)?t.$set(a,r):a in t?t[a]=r:n(t,a,r);return!0}function Pt(){}function Dt(t,e){var n=yi.length;return yi[n]=e?t.replace(hi,"\\n"):t,'"'+n+'"'}function Ft(t){var e=t.charAt(0),n=t.slice(1);return ui.test(n)?t:(n=n.indexOf('"')>-1?n.replace(pi,Bt):n,e+"scope."+n)}function Bt(t,e){return yi[e]}function Lt(t){ci.test(t),yi.length=0;var e=t.replace(di,Dt).replace(fi,"");return e=(" "+e).replace(gi,Ft).replace(pi,Bt),Rt(e)}function Rt(t){try{return new Function("scope","return "+t+";")}catch(e){return Pt}}function It(t){var e=Ot(t);if(e)return function(t,n){Nt(t,e,n)}}function Ht(t,e){t=t.trim();var n=ai.get(t);if(n)return e&&!n.set&&(n.set=It(n.exp)),n;var r={exp:t};return r.get=qt(t)&&t.indexOf("[")<0?Rt("scope."+t):Lt(t),e&&(r.set=It(t)),ai.put(t,r),r}function qt(t){return vi.test(t)&&!mi.test(t)&&"Math."!==t.slice(0,5)}function Vt(){xi.length=0,_i.length=0,wi={},Ci={},ki=!1}function zt(){for(var t=!0;t;)t=!1,Ut(xi),Ut(_i),xi.length?t=!0:(Hn&&Er.devtools&&Hn.emit("flush"),Vt())}function Ut(t){for(var e=0;e<t.length;e++){var n=t[e],r=n.id;wi[r]=null,n.run()}t.length=0}function Wt(t){var e=t.id;if(null==wi[e]){var n=t.user?_i:xi;wi[e]=n.length,n.push(t),ki||(ki=!0,nr(zt))}}function Xt(t,e,n,r){r&&m(this,r);var i="function"==typeof e;if(this.vm=t,t._watchers.push(this),this.expression=e,this.cb=n,this.id=++Ti,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new rr,this.newDepIds=new rr,this.prevError=null,i)this.getter=e,this.setter=void 0;else{var o=Ht(e,this.twoWay);this.getter=o.get,this.setter=o.set}this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function Jt(t,e){var n=void 0,r=void 0;e||(e=Si,e.clear());var i=Ln(t),o=y(t);if((i||o)&&Object.isExtensible(t)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(i)for(n=t.length;n--;)Jt(t[n],e);else if(o)for(r=Object.keys(t),n=r.length;n--;)Jt(t[r[n]],e)}}function Gt(t){return it(t)&<(t.content)}function Zt(t,e){var n=e?t:t.trim(),r=ji.get(n);if(r)return r;var i=document.createDocumentFragment(),o=t.match(Oi),a=Mi.test(t),s=Ni.test(t);if(o||a||s){var u=o&&o[1],l=$i[u]||$i.efault,c=l[0],f=l[1],h=l[2],d=document.createElement("div");for(d.innerHTML=f+t+h;c--;)d=d.lastChild;for(var p;p=d.firstChild;)i.appendChild(p)}else i.appendChild(document.createTextNode(t));return e||nt(i),ji.put(n,i),i}function Yt(t){if(Gt(t))return Zt(t.innerHTML);if("SCRIPT"===t.tagName)return Zt(t.textContent);for(var e,n=Qt(t),r=document.createDocumentFragment();e=n.firstChild;)r.appendChild(e);return nt(r),r}function Qt(t){if(!t.querySelectorAll)return t.cloneNode();var e,n,r,i=t.cloneNode(!0);if(Pi){var o=i;if(Gt(t)&&(t=t.content,o=i.content),n=t.querySelectorAll("template"),n.length)for(r=o.querySelectorAll("template"),e=r.length;e--;)r[e].parentNode.replaceChild(Qt(n[e]),r[e])}if(Di)if("TEXTAREA"===t.tagName)i.value=t.value;else if(n=t.querySelectorAll("textarea"),n.length)for(r=i.querySelectorAll("textarea"),e=r.length;e--;)r[e].value=n[e].value;return i}function Kt(t,e,n){var r,i;return lt(t)?(nt(t),e?Qt(t):t):("string"==typeof t?n||"#"!==t.charAt(0)?i=Zt(t,n):(i=Ei.get(t),i||(r=document.getElementById(t.slice(1)),r&&(i=Yt(r),Ei.put(t,i)))):t.nodeType&&(i=Yt(t)),i&&e?Qt(i):i)}function te(t,e,n,r,i,o){this.children=[],this.childFrags=[],this.vm=e,this.scope=i,this.inserted=!1,this.parentFrag=o,o&&o.childFrags.push(this),this.unlink=t(e,n,r,i,this);var a=this.single=1===n.childNodes.length&&!n.childNodes[0].__v_anchor;a?(this.node=n.childNodes[0],this.before=ee,this.remove=ne):(this.node=ot("fragment-start"),this.end=ot("fragment-end"),this.frag=n,X(this.node,n),n.appendChild(this.end),this.before=re,this.remove=ie),this.node.__v_frag=this}function ee(t,e){this.inserted=!0;var n=e!==!1?F:z;n(this.node,t,this.vm),I(this.node)&&this.callHook(oe)}function ne(){this.inserted=!1;var t=I(this.node),e=this;this.beforeRemove(),B(this.node,this.vm,function(){t&&e.callHook(ae),e.destroy()})}function re(t,e){this.inserted=!0;var n=this.vm,r=e!==!1?F:z;st(this.node,this.end,function(e){r(e,t,n)}),I(this.node)&&this.callHook(oe)}function ie(){this.inserted=!1;var t=this,e=I(this.node);this.beforeRemove(),ut(this.node,this.end,this.vm,this.frag,function(){e&&t.callHook(ae),t.destroy()})}function oe(t){!t._isAttached&&I(t.$el)&&t._callHook("attached")}function ae(t){t._isAttached&&!I(t.$el)&&t._callHook("detached")}function se(t,e){this.vm=t;var n,r="string"==typeof e;r||it(e)&&!e.hasAttribute("v-if")?n=Kt(e,!0):(n=document.createDocumentFragment(),n.appendChild(e)),this.template=n;var i,o=t.constructor.cid;if(o>0){var a=o+(r?e:ct(e));i=Li.get(a),i||(i=Fe(n,t.$options,!0),Li.put(a,i))}else i=Fe(n,t.$options,!0);this.linker=i}function ue(t,e,n){var r=t.node.previousSibling;if(r){for(t=r.__v_frag;!(t&&t.forId===n&&t.inserted||r===e);){if(r=r.previousSibling,!r)return;t=r.__v_frag}return t}}function le(t){var e=t.node;if(t.end)for(;!e.__vue__&&e!==t.end&&e.nextSibling;)e=e.nextSibling;return e.__vue__}function ce(t){for(var e=-1,n=new Array(Math.floor(t));++e<t;)n[e]=e;return n}function fe(t,e,n,r){return r?"$index"===r?t:r.charAt(0).match(/\w/)?Mt(n,r):n[r]:e||n}function he(t,e,n){for(var r,i,o,a=e?[]:null,s=0,u=t.options.length;s<u;s++)if(r=t.options[s],o=n?r.hasAttribute("selected"):r.selected){if(i=r.hasOwnProperty("_value")?r._value:r.value,!e)return i;a.push(i)}return a}function de(t,e){for(var n=t.length;n--;)if(k(t[n],e))return n;return-1}function pe(t,e){var n=e.map(function(t){var e=t.charCodeAt(0);return e>47&&e<58?parseInt(t,10):1===t.length&&(e=t.toUpperCase().charCodeAt(0),e>64&&e<91)?e:oo[t]});return n=[].concat.apply([],n),function(e){if(n.indexOf(e.keyCode)>-1)return t.call(this,e)}}function ve(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function ge(t){return function(e){return e.preventDefault(),t.call(this,e)}}function me(t){return function(e){if(e.target===e.currentTarget)return t.call(this,e)}}function ye(t){if(co[t])return co[t];var e=be(t);return co[t]=co[e]=e,e}function be(t){t=d(t);var e=f(t),n=e.charAt(0).toUpperCase()+e.slice(1);fo||(fo=document.createElement("div"));var r,i=so.length;if("filter"!==e&&e in fo.style)return{kebab:t,camel:e};for(;i--;)if(r=uo[i]+n,r in fo.style)return{kebab:so[i]+t,camel:r}}function xe(t){var e=[];if(Ln(t))for(var n=0,r=t.length;n<r;n++){var i=t[n];if(i)if("string"==typeof i)e.push(i);else for(var o in i)i[o]&&e.push(o)}else if(y(t))for(var a in t)t[a]&&e.push(a);return e}function _e(t,e,n){if(e=e.trim(),e.indexOf(" ")===-1)return void n(t,e);for(var r=e.split(/\s+/),i=0,o=r.length;i<o;i++)n(t,r[i])}function we(t,e,n){function r(){++o>=i?n():t[o].call(e,r)}var i=t.length,o=0;t[0].call(e,r)}function Ce(t,e,n){for(var r,i,a,s,u,l,c,h=[],p=Object.keys(e),v=p.length;v--;)if(i=p[v],r=e[i]||jo,u=f(i),Eo.test(u)){if(c={name:i,path:u,options:r,mode:Ao.ONE_WAY,raw:null},a=d(i),null===(s=q(t,a))&&(null!==(s=q(t,a+".sync"))?c.mode=Ao.TWO_WAY:null!==(s=q(t,a+".once"))&&(c.mode=Ao.ONE_TIME)),null!==s)c.raw=s,l=j(s),s=l.expression,c.filters=l.filters,o(s)&&!l.filters?c.optimizedLiteral=!0:c.dynamic=!0,c.parentPath=s;else if(null!==(s=H(t,a)))c.raw=s;else;h.push(c)}return ke(h)}function ke(t){return function(e,n){e._props={};for(var r,o,a,s,f,h=e.$options.propsData,p=t.length;p--;)if(r=t[p],f=r.raw,o=r.path,a=r.options,e._props[o]=r,h&&i(h,o)&&Se(e,r,h[o]),null===f)Se(e,r,void 0);else if(r.dynamic)r.mode===Ao.ONE_TIME?(s=(n||e._context||e).$get(r.parentPath),Se(e,r,s)):e._context?e._bindDir({name:"prop",def:Oo,prop:r},null,null,n):Se(e,r,e.$get(r.parentPath));else if(r.optimizedLiteral){var v=c(f);s=v===f?l(u(f)):v,Se(e,r,s)}else s=a.type===Boolean&&(""===f||f===d(r.name))||f,Se(e,r,s)}}function Te(t,e,n,r){var i=e.dynamic&&qt(e.parentPath),o=n;void 0===o&&(o=je(t,e)),o=$e(e,o,t);var a=o!==n;Ee(e,o,t)||(o=void 0),i&&!a?_t(function(){r(o)}):r(o)}function Se(t,e,n){Te(t,e,n,function(n){St(t,e.path,n)})}function Ae(t,e,n){Te(t,e,n,function(n){t[e.path]=n})}function je(t,e){var n=e.options;if(!i(n,"default"))return n.type!==Boolean&&void 0;var r=n["default"];return y(r),"function"==typeof r&&n.type!==Function?r.call(t):r}function Ee(t,e,n){if(!t.options.required&&(null===t.raw||null==e))return!0;var r=t.options,i=r.type,o=!i,a=[];if(i){Ln(i)||(i=[i]);for(var s=0;s<i.length&&!o;s++){var u=Oe(e,i[s]);a.push(u.expectedType),o=u.valid}}if(!o)return!1;var l=r.validator;return!(l&&!l(e))}function $e(t,e,n){var r=t.options.coerce;return r&&"function"==typeof r?r(e):e}function Oe(t,e){var n,r;return e===String?(r="string",n=("undefined"==typeof t?"undefined":$n(t))===r):e===Number?(r="number",n=("undefined"==typeof t?"undefined":$n(t))===r):e===Boolean?(r="boolean",n=("undefined"==typeof t?"undefined":$n(t))===r):e===Function?(r="function",n=("undefined"==typeof t?"undefined":$n(t))===r):e===Object?(r="object",n=b(t)):e===Array?(r="array",n=Ln(t)):n=t instanceof e,{valid:n,expectedType:r}}function Me(t){Mo.push(t),No||(No=!0,nr(Ne))}function Ne(){for(var t=document.documentElement.offsetHeight,e=0;e<Mo.length;e++)Mo[e]();return Mo=[],No=!1,t}function Pe(t,e,n,r){this.id=e,this.el=t,this.enterClass=n&&n.enterClass||e+"-enter",this.leaveClass=n&&n.leaveClass||e+"-leave",this.hooks=n,this.vm=r,this.pendingCssEvent=this.pendingCssCb=this.cancel=this.pendingJsCb=this.op=this.cb=null,this.justEntered=!1,this.entered=this.left=!1,this.typeCache={},this.type=n&&n.type;var i=this;["enterNextTick","enterDone","leaveNextTick","leaveDone"].forEach(function(t){i[t]=v(i[t],i)})}function De(t){if(/svg$/.test(t.namespaceURI)){var e=t.getBoundingClientRect();return!(e.width||e.height)}return!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}function Fe(t,e,n){var r=n||!e._asComponent?Ve(t,e):null,i=r&&r.terminal||sn(t)||!t.hasChildNodes()?null:Ge(t.childNodes,e);return function(t,e,n,o,a){var s=g(e.childNodes),u=Be(function(){r&&r(t,e,n,o,a),i&&i(t,s,n,o,a)},t);return Re(t,u)}}function Be(t,e){e._directives=[];var n=e._directives.length;t();var r=e._directives.slice(n);r.sort(Le);for(var i=0,o=r.length;i<o;i++)r[i]._bind();return r}function Le(t,e){return t=t.descriptor.def.priority||Jo,e=e.descriptor.def.priority||Jo,t>e?-1:t===e?0:1}function Re(t,e,n,r){function i(i){Ie(t,e,i),n&&r&&Ie(n,r)}return i.dirs=e,i}function Ie(t,e,n){for(var r=e.length;r--;)e[r]._teardown()}function He(t,e,n,r){var i=Ce(e,n,t),o=Be(function(){i(t,r)},t);return Re(t,o)}function qe(t,e,n){var r,i,o=e._containerAttrs,a=e._replacerAttrs;if(11!==t.nodeType)e._asComponent?(o&&n&&(r=nn(o,n)),a&&(i=nn(a,e))):i=nn(t.attributes,e);else;return e._containerAttrs=e._replacerAttrs=null,function(t,e,n){var o,a=t._context;a&&r&&(o=Be(function(){r(a,e,null,n)},a));var s=Be(function(){i&&i(t,e)},t);return Re(t,s,a,o)}}function Ve(t,e){var n=t.nodeType;return 1!==n||sn(t)?3===n&&t.data.trim()?Ue(t,e):null:ze(t,e)}function ze(t,e){if("TEXTAREA"===t.tagName){var n=O(t.value);n&&(t.setAttribute(":value",M(n)),t.value="")}var r,i=t.hasAttributes(),o=i&&g(t.attributes);return i&&(r=Ke(t,o,e)),r||(r=Ye(t,e)),r||(r=Qe(t,e)),!r&&i&&(r=nn(o,e)),r}function Ue(t,e){if(t._skip)return We;var n=O(t.wholeText);if(!n)return null;for(var r=t.nextSibling;r&&3===r.nodeType;)r._skip=!0,r=r.nextSibling;for(var i,o,a=document.createDocumentFragment(),s=0,u=n.length;s<u;s++)o=n[s],i=o.tag?Xe(o,e):document.createTextNode(o.value),a.appendChild(i);return Je(n,a,e)}function We(t,e){W(e)}function Xe(t,e){function n(e){if(!t.descriptor){var n=j(t.value);t.descriptor={name:e,def:ko[e],expression:n.expression,filters:n.filters}}}var r;return t.oneTime?r=document.createTextNode(t.value):t.html?(r=document.createComment("v-html"),n("html")):(r=document.createTextNode(" "),n("text")),r}function Je(t,e){return function(n,r,i,o){for(var a,u,l,c=e.cloneNode(!0),f=g(c.childNodes),h=0,d=t.length;h<d;h++)a=t[h],u=a.value,a.tag&&(l=f[h],a.oneTime?(u=(o||n).$eval(u),a.html?J(l,Kt(u,!0)):l.data=s(u)):n._bindDir(a.descriptor,l,i,o));J(r,c)}}function Ge(t,e){for(var n,r,i,o=[],a=0,s=t.length;a<s;a++)i=t[a],n=Ve(i,e),r=n&&n.terminal||"SCRIPT"===i.tagName||!i.hasChildNodes()?null:Ge(i.childNodes,e),o.push(n,r);return o.length?Ze(o):null}function Ze(t){return function(e,n,r,i,o){for(var a,s,u,l=0,c=0,f=t.length;l<f;c++){a=n[c],s=t[l++],u=t[l++];var h=g(a.childNodes);s&&s(e,a,r,i,o),u&&u(e,h,r,i,o)}}}function Ye(t,e){var n=t.tagName.toLowerCase();if(!Nr.test(n)){var r=bt(e,"elementDirectives",n);return r?en(t,n,"",e,r):void 0}}function Qe(t,e){var n=ft(t,e);if(n){var r=at(t),i={name:"component",ref:r,expression:n.id,def:qo.component,modifiers:{literal:!n.dynamic}},o=function(t,e,n,o,a){r&&St((o||t).$refs,r,null),t._bindDir(i,e,n,o,a)};return o.terminal=!0,o}}function Ke(t,e,n){if(null!==H(t,"v-pre"))return tn;if(t.hasAttribute("v-else")){var r=t.previousElementSibling;if(r&&r.hasAttribute("v-if"))return tn}for(var i,o,a,s,u,l,c,f,h,d,p=0,v=e.length;p<v;p++)i=e[p],o=i.name.replace(Wo,""),(u=o.match(Uo))&&(h=bt(n,"directives",u[1]),h&&h.terminal&&(!d||(h.priority||Go)>d.priority)&&(d=h,c=i.name,s=rn(i.name),a=i.value,l=u[1],f=u[2]));return d?en(t,l,a,n,d,c,f,s):void 0}function tn(){}function en(t,e,n,r,i,o,a,s){var u=j(n),l={name:e,arg:a,expression:u.expression,filters:u.filters,raw:n,attr:o,modifiers:s,def:i};"for"!==e&&"router-view"!==e||(l.ref=at(t));var c=function(t,e,n,r,i){l.ref&&St((r||t).$refs,l.ref,null),t._bindDir(l,e,n,r,i)};return c.terminal=!0,c}function nn(t,e){function n(t,e,n){var r=n&&an(n),i=!r&&j(o);v.push({name:t,attr:a,raw:s,def:e,arg:l,modifiers:c,expression:i&&i.expression,filters:i&&i.filters,interp:n,hasOneTime:r})}for(var r,i,o,a,s,u,l,c,f,h,d,p=t.length,v=[];p--;)if(r=t[p],i=a=r.name,o=s=r.value,h=O(o),l=null,c=rn(i),i=i.replace(Wo,""),h)o=M(h),l=i,n("bind",ko.bind,h);else if(Xo.test(i))c.literal=!Vo.test(i),n("transition",qo.transition);else if(zo.test(i))l=i.replace(zo,""),n("on",ko.on);else if(Vo.test(i))u=i.replace(Vo,""),"style"===u||"class"===u?n(u,qo[u]):(l=u,n("bind",ko.bind));else if(d=i.match(Uo)){if(u=d[1],l=d[2],"else"===u)continue;f=bt(e,"directives",u,!0),f&&n(u,f)}if(v.length)return on(v)}function rn(t){var e=Object.create(null),n=t.match(Wo);if(n)for(var r=n.length;r--;)e[n[r].slice(1)]=!0;return e}function on(t){return function(e,n,r,i,o){for(var a=t.length;a--;)e._bindDir(t[a],n,r,i,o)}}function an(t){for(var e=t.length;e--;)if(t[e].oneTime)return!0}function sn(t){return"SCRIPT"===t.tagName&&(!t.hasAttribute("type")||"text/javascript"===t.getAttribute("type"))}function un(t,e){return e&&(e._containerAttrs=cn(t)),it(t)&&(t=Kt(t)),e&&(e._asComponent&&!e.template&&(e.template="<slot></slot>"),e.template&&(e._content=et(t),t=ln(t,e))),lt(t)&&(X(ot("v-start",!0),t),t.appendChild(ot("v-end",!0))),t}function ln(t,e){var n=e.template,r=Kt(n,!0);if(r){var i=r.firstChild,o=i.tagName&&i.tagName.toLowerCase();return e.replace?(t===document.body,r.childNodes.length>1||1!==i.nodeType||"component"===o||bt(e,"components",o)||V(i,"is")||bt(e,"elementDirectives",o)||i.hasAttribute("v-for")||i.hasAttribute("v-if")?r:(e._replacerAttrs=cn(i),fn(t,i),i)):(t.appendChild(r),t)}}function cn(t){if(1===t.nodeType&&t.hasAttributes())return g(t.attributes)}function fn(t,e){for(var n,r,i=t.attributes,o=i.length;o--;)n=i[o].name,r=i[o].value,e.hasAttribute(n)||Zo.test(n)?"class"===n&&!O(r)&&(r=r.trim())&&r.split(/\s+/).forEach(function(t){K(e,t)}):e.setAttribute(n,r)}function hn(t,e){if(e){for(var n,r,i=t._slotContents=Object.create(null),o=0,a=e.children.length;o<a;o++)n=e.children[o],(r=n.getAttribute("slot"))&&(i[r]||(i[r]=[])).push(n);for(r in i)i[r]=dn(i[r],e);if(e.hasChildNodes()){var s=e.childNodes;if(1===s.length&&3===s[0].nodeType&&!s[0].data.trim())return;i["default"]=dn(e.childNodes,e)}}}function dn(t,e){var n=document.createDocumentFragment();t=g(t);for(var r=0,i=t.length;r<i;r++){var o=t[r];!it(o)||o.hasAttribute("v-if")||o.hasAttribute("v-for")||(e.removeChild(o),o=Kt(o,!0)),n.appendChild(o)}return n}function pn(t){function e(){}function n(t,e){var n=new Xt(e,t,null,{lazy:!0});return function(){return n.dirty&&n.evaluate(),xt.target&&n.depend(),n.value}}Object.defineProperty(t.prototype,"$data",{get:function(){return this._data},set:function(t){t!==this._data&&this._setData(t)}}),t.prototype._initState=function(){this._initProps(),this._initMeta(),this._initMethods(),this._initData(),this._initComputed()},t.prototype._initProps=function(){var t=this.$options,e=t.el,n=t.props;e=t.el=R(e),this._propsUnlinkFn=e&&1===e.nodeType&&n?He(this,e,n,this._scope):null},t.prototype._initData=function(){var t=this.$options.data,e=this._data=t?t():{};b(e)||(e={});var n,r,o=this._props,a=Object.keys(e);for(n=a.length;n--;)r=a[n],o&&i(o,r)||this._proxy(r);Tt(e,this)},t.prototype._setData=function(t){t=t||{};var e=this._data;this._data=t;var n,r,o;for(n=Object.keys(e),o=n.length;o--;)r=n[o],r in t||this._unproxy(r);for(n=Object.keys(t),o=n.length;o--;)r=n[o],i(this,r)||this._proxy(r);e.__ob__.removeVm(this),Tt(t,this),this._digest()},t.prototype._proxy=function(t){if(!a(t)){var e=this;Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})}},t.prototype._unproxy=function(t){a(t)||delete this[t]},t.prototype._digest=function(){for(var t=0,e=this._watchers.length;t<e;t++)this._watchers[t].update(!0)},t.prototype._initComputed=function(){var t=this.$options.computed;if(t)for(var r in t){var i=t[r],o={enumerable:!0,configurable:!0};"function"==typeof i?(o.get=n(i,this),o.set=e):(o.get=i.get?i.cache!==!1?n(i.get,this):v(i.get,this):e,o.set=i.set?v(i.set,this):e),Object.defineProperty(this,r,o)}},t.prototype._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=v(t[e],this)},t.prototype._initMeta=function(){var t=this.$options._meta;if(t)for(var e in t)St(this,e,t[e])}}function vn(t){function e(t,e){for(var n,r,i,o=e.attributes,a=0,s=o.length;a<s;a++)n=o[a].name,Qo.test(n)&&(n=n.replace(Qo,""),r=o[a].value,qt(r)&&(r+=".apply(this, $arguments)"),i=(t._scope||t._context).$eval(r,!0),i._fromParent=!0,t.$on(n.replace(Qo),i))}function n(t,e,n){if(n){var i,o,a,s;for(o in n)if(i=n[o],Ln(i))for(a=0,s=i.length;a<s;a++)r(t,e,o,i[a]);else r(t,e,o,i)}}function r(t,e,n,i,o){var a="undefined"==typeof i?"undefined":$n(i);if("function"===a)t[e](n,i,o);else if("string"===a){var s=t.$options.methods,u=s&&s[i];u&&t[e](n,u,o)}else i&&"object"===a&&r(t,e,n,i.handler,i)}function i(){this._isAttached||(this._isAttached=!0,this.$children.forEach(o))}function o(t){!t._isAttached&&I(t.$el)&&t._callHook("attached")}function a(){this._isAttached&&(this._isAttached=!1,this.$children.forEach(s))}function s(t){t._isAttached&&!I(t.$el)&&t._callHook("detached")}t.prototype._initEvents=function(){var t=this.$options;t._asComponent&&e(this,t.el),n(this,"$on",t.events),n(this,"$watch",t.watch)},t.prototype._initDOMHooks=function(){this.$on("hook:attached",i),this.$on("hook:detached",a)},t.prototype._callHook=function(t){this.$emit("pre-hook:"+t);var e=this.$options[t];if(e)for(var n=0,r=e.length;n<r;n++)e[n].call(this);this.$emit("hook:"+t)}}function gn(){}function mn(t,e,n,r,i,o){this.vm=e,this.el=n,this.descriptor=t,this.name=t.name,this.expression=t.expression,this.arg=t.arg,this.modifiers=t.modifiers,this.filters=t.filters,this.literal=this.modifiers&&this.modifiers.literal,this._locked=!1,this._bound=!1,this._listeners=null,this._host=r,this._scope=i,this._frag=o}function yn(t){t.prototype._updateRef=function(t){var e=this.$options._ref;if(e){var n=(this._scope||this._context).$refs;t?n[e]===this&&(n[e]=null):n[e]=this}},t.prototype._compile=function(t){var e=this.$options,n=t;if(t=un(t,e),this._initElement(t),1!==t.nodeType||null===H(t,"v-pre")){var r=this._context&&this._context.$options,i=qe(t,e,r);hn(this,e._content);var o,a=this.constructor;e._linkerCachable&&(o=a.linker,o||(o=a.linker=Fe(t,e)));var s=i(this,t,this._scope),u=o?o(this,t):Fe(t,e)(this,t);this._unlinkFn=function(){s(),u(!0)},e.replace&&J(n,t),this._isCompiled=!0,this._callHook("compiled")}},t.prototype._initElement=function(t){lt(t)?(this._isFragment=!0,this.$el=this._fragmentStart=t.firstChild,this._fragmentEnd=t.lastChild,3===this._fragmentStart.nodeType&&(this._fragmentStart.data=this._fragmentEnd.data=""),this._fragment=t):this.$el=t,this.$el.__vue__=this,this._callHook("beforeCompile")},t.prototype._bindDir=function(t,e,n,r,i){this._directives.push(new mn(t,this,e,n,r,i))},t.prototype._destroy=function(t,e){if(this._isBeingDestroyed)return void(e||this._cleanup());
+var n,r,i=this,o=function(){!n||r||e||i._cleanup()};t&&this.$el&&(r=!0,this.$remove(function(){r=!1,o()})),this._callHook("beforeDestroy"),this._isBeingDestroyed=!0;var a,s=this.$parent;for(s&&!s._isBeingDestroyed&&(s.$children.$remove(this),this._updateRef(!0)),a=this.$children.length;a--;)this.$children[a].$destroy();for(this._propsUnlinkFn&&this._propsUnlinkFn(),this._unlinkFn&&this._unlinkFn(),a=this._watchers.length;a--;)this._watchers[a].teardown();this.$el&&(this.$el.__vue__=null),n=!0,o()},t.prototype._cleanup=function(){this._isDestroyed||(this._frag&&this._frag.children.$remove(this),this._data&&this._data.__ob__&&this._data.__ob__.removeVm(this),this.$el=this.$parent=this.$root=this.$children=this._watchers=this._context=this._scope=this._directives=null,this._isDestroyed=!0,this._callHook("destroyed"),this.$off())}}function bn(t){t.prototype._applyFilters=function(t,e,n,r){var i,o,a,s,u,l,c,f,h;for(l=0,c=n.length;l<c;l++)if(i=n[r?c-l-1:l],o=bt(this.$options,"filters",i.name,!0),o&&(o=r?o.write:o.read||o,"function"==typeof o)){if(a=r?[t,e]:[t],u=r?2:1,i.args)for(f=0,h=i.args.length;f<h;f++)s=i.args[f],a[f+u]=s.dynamic?this.$get(s.value):s.value;t=o.apply(this,a)}return t},t.prototype._resolveComponent=function(e,n){var r;if(r="function"==typeof e?e:bt(this.$options,"components",e,!0))if(r.options)n(r);else if(r.resolved)n(r.resolved);else if(r.requested)r.pendingCallbacks.push(n);else{r.requested=!0;var i=r.pendingCallbacks=[n];r.call(this,function(e){b(e)&&(e=t.extend(e)),r.resolved=e;for(var n=0,o=i.length;n<o;n++)i[n](e)},function(t){})}}}function xn(t){function e(t){return JSON.parse(JSON.stringify(t))}t.prototype.$get=function(t,e){var n=Ht(t);if(n){if(e){var r=this;return function(){r.$arguments=g(arguments);var t=n.get.call(r,r);return r.$arguments=null,t}}try{return n.get.call(this,this)}catch(i){}}},t.prototype.$set=function(t,e){var n=Ht(t,!0);n&&n.set&&n.set.call(this,this,e)},t.prototype.$delete=function(t){r(this._data,t)},t.prototype.$watch=function(t,e,n){var r,i=this;"string"==typeof t&&(r=j(t),t=r.expression);var o=new Xt(i,t,e,{deep:n&&n.deep,sync:n&&n.sync,filters:r&&r.filters,user:!n||n.user!==!1});return n&&n.immediate&&e.call(i,o.value),function(){o.teardown()}},t.prototype.$eval=function(t,e){if(Ko.test(t)){var n=j(t),r=this.$get(n.expression,e);return n.filters?this._applyFilters(r,null,n.filters):r}return this.$get(t,e)},t.prototype.$interpolate=function(t){var e=O(t),n=this;return e?1===e.length?n.$eval(e[0].value)+"":e.map(function(t){return t.tag?n.$eval(t.value):t.value}).join(""):t},t.prototype.$log=function(t){var n=t?Mt(this._data,t):this._data;if(n&&(n=e(n)),!t){var r;for(r in this.$options.computed)n[r]=e(this[r]);if(this._props)for(r in this._props)n[r]=e(this[r])}console.log(n)}}function _n(t){function e(t,e,r,i,o,a){e=n(e);var s=!I(e),u=i===!1||s?o:a,l=!s&&!t._isAttached&&!I(t.$el);return t._isFragment?(st(t._fragmentStart,t._fragmentEnd,function(n){u(n,e,t)}),r&&r()):u(t.$el,e,t,r),l&&t._callHook("attached"),t}function n(t){return"string"==typeof t?document.querySelector(t):t}function r(t,e,n,r){e.appendChild(t),r&&r()}function i(t,e,n,r){z(t,e),r&&r()}function o(t,e,n){W(t),n&&n()}t.prototype.$nextTick=function(t){nr(t,this)},t.prototype.$appendTo=function(t,n,i){return e(this,t,n,i,r,D)},t.prototype.$prependTo=function(t,e,r){return t=n(t),t.hasChildNodes()?this.$before(t.firstChild,e,r):this.$appendTo(t,e,r),this},t.prototype.$before=function(t,n,r){return e(this,t,n,r,i,F)},t.prototype.$after=function(t,e,r){return t=n(t),t.nextSibling?this.$before(t.nextSibling,e,r):this.$appendTo(t.parentNode,e,r),this},t.prototype.$remove=function(t,e){if(!this.$el.parentNode)return t&&t();var n=this._isAttached&&I(this.$el);n||(e=!1);var r=this,i=function(){n&&r._callHook("detached"),t&&t()};if(this._isFragment)ut(this._fragmentStart,this._fragmentEnd,this,this._fragment,i);else{var a=e===!1?o:B;a(this.$el,this,i)}return this}}function wn(t){function e(t,e,r){var i=t.$parent;if(i&&r&&!n.test(e))for(;i;)i._eventsCount[e]=(i._eventsCount[e]||0)+r,i=i.$parent}t.prototype.$on=function(t,n){return(this._events[t]||(this._events[t]=[])).push(n),e(this,t,1),this},t.prototype.$once=function(t,e){function n(){r.$off(t,n),e.apply(this,arguments)}var r=this;return n.fn=e,this.$on(t,n),this},t.prototype.$off=function(t,n){var r;if(!arguments.length){if(this.$parent)for(t in this._events)r=this._events[t],r&&e(this,t,-r.length);return this._events={},this}if(r=this._events[t],!r)return this;if(1===arguments.length)return e(this,t,-r.length),this._events[t]=null,this;for(var i,o=r.length;o--;)if(i=r[o],i===n||i.fn===n){e(this,t,-1),r.splice(o,1);break}return this},t.prototype.$emit=function(t){var e="string"==typeof t;t=e?t:t.name;var n=this._events[t],r=e||!n;if(n){n=n.length>1?g(n):n;var i=e&&n.some(function(t){return t._fromParent});i&&(r=!1);for(var o=g(arguments,1),a=0,s=n.length;a<s;a++){var u=n[a],l=u.apply(this,o);l!==!0||i&&!u._fromParent||(r=!0)}}return r},t.prototype.$broadcast=function(t){var e="string"==typeof t;if(t=e?t:t.name,this._eventsCount[t]){var n=this.$children,r=g(arguments);e&&(r[0]={name:t,source:this});for(var i=0,o=n.length;i<o;i++){var a=n[i],s=a.$emit.apply(a,r);s&&a.$broadcast.apply(a,r)}return this}},t.prototype.$dispatch=function(t){var e=this.$emit.apply(this,arguments);if(e){var n=this.$parent,r=g(arguments);for(r[0]={name:t,source:this};n;)e=n.$emit.apply(n,r),n=e?n.$parent:null;return this}};var n=/^hook:/}function Cn(t){function e(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}t.prototype.$mount=function(t){if(!this._isCompiled)return t=R(t),t||(t=document.createElement("div")),this._compile(t),this._initDOMHooks(),I(this.$el)?(this._callHook("attached"),e.call(this)):this.$once("hook:attached",e),this},t.prototype.$destroy=function(t,e){this._destroy(t,e)},t.prototype.$compile=function(t,e,n,r){return Fe(t,this.$options,!0)(this,t,e,n,r)}}function kn(t){this._init(t)}function Tn(t,e,n){return n=n?parseInt(n,10):0,e=u(e),"number"==typeof e?t.slice(n,n+e):t}function Sn(t,e,n){if(t=ra(t),null==e)return t;if("function"==typeof e)return t.filter(e);e=(""+e).toLowerCase();for(var r,i,o,a,s="in"===n?3:2,u=Array.prototype.concat.apply([],g(arguments,s)),l=[],c=0,f=t.length;c<f;c++)if(r=t[c],o=r&&r.$value||r,a=u.length){for(;a--;)if(i=u[a],"$key"===i&&jn(r.$key,e)||jn(Mt(o,i),e)){l.push(r);break}}else jn(r,e)&&l.push(r);return l}function An(t){function e(t,e,n){var i=r[n];return i&&("$key"!==i&&(y(t)&&"$value"in t&&(t=t.$value),y(e)&&"$value"in e&&(e=e.$value)),t=y(t)?Mt(t,i):t,e=y(e)?Mt(e,i):e),t===e?0:t>e?o:-o}var n=null,r=void 0;t=ra(t);var i=g(arguments,1),o=i[i.length-1];"number"==typeof o?(o=o<0?-1:1,i=i.length>1?i.slice(0,-1):i):o=1;var a=i[0];return a?("function"==typeof a?n=function(t,e){return a(t,e)*o}:(r=Array.prototype.concat.apply([],i),n=function(t,i,o){return o=o||0,o>=r.length-1?e(t,i,o):e(t,i,o)||n(t,i,o+1)}),t.slice().sort(n)):t}function jn(t,e){var n;if(b(t)){var r=Object.keys(t);for(n=r.length;n--;)if(jn(t[r[n]],e))return!0}else if(Ln(t)){for(n=t.length;n--;)if(jn(t[n],e))return!0}else if(null!=t)return t.toString().toLowerCase().indexOf(e)>-1}function En(t){function e(t){return new Function("return function "+p(t)+" (options) { this._init(options) }")()}t.options={directives:ko,elementDirectives:na,filters:oa,transitions:{},components:{},partials:{},replace:!0},t.util=qr,t.config=Er,t.set=n,t["delete"]=r,t.nextTick=nr,t.compiler=Yo,t.FragmentFactory=se,t.internalDirectives=qo,t.parsers={path:oi,text:Sr,template:Fi,directive:xr,expression:bi},t.cid=0;var i=1;t.extend=function(t){t=t||{};var n=this,r=0===n.cid;if(r&&t._Ctor)return t._Ctor;var o=t.name||n.options.name,a=e(o||"VueComponent");return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=i++,a.options=yt(n.options,t),a["super"]=n,a.extend=n.extend,Er._assetTypes.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),r&&(t._Ctor=a),a},t.use=function(t){if(!t.installed){var e=g(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}},t.mixin=function(e){t.options=yt(t.options,e)},Er._assetTypes.forEach(function(e){t[e]=function(n,r){return r?("component"===e&&b(r)&&(r.name||(r.name=n),r=t.extend(r)),this.options[e+"s"][n]=r,r):this.options[e+"s"][n]}}),m(t.transition,Or)}var $n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},On=Object.prototype.hasOwnProperty,Mn=/^\s?(true|false|-?[\d\.]+|'[^']*'|"[^"]*")\s?$/,Nn=/-(\w)/g,Pn=/([a-z\d])([A-Z])/g,Dn=/(?:^|[-_\/])(\w)/g,Fn=Object.prototype.toString,Bn="[object Object]",Ln=Array.isArray,Rn="__proto__"in{},In="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),Hn=In&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,qn=In&&window.navigator.userAgent.toLowerCase(),Vn=qn&&qn.indexOf("trident")>0,zn=qn&&qn.indexOf("msie 9.0")>0,Un=qn&&qn.indexOf("android")>0,Wn=qn&&/(iphone|ipad|ipod|ios)/i.test(qn),Xn=Wn&&qn.match(/os ([\d_]+)/),Jn=Xn&&Xn[1].split("_"),Gn=Jn&&Number(Jn[0])>=9&&Number(Jn[1])>=3&&!window.indexedDB,Zn=void 0,Yn=void 0,Qn=void 0,Kn=void 0;if(In&&!zn){var tr=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,er=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;Zn=tr?"WebkitTransition":"transition",Yn=tr?"webkitTransitionEnd":"transitionend",Qn=er?"WebkitAnimation":"animation",Kn=er?"webkitAnimationEnd":"animationend"}var nr=function(){function t(){i=!1;var t=r.slice(0);r=[];for(var e=0;e<t.length;e++)t[e]()}var n,r=[],i=!1;if("undefined"==typeof MutationObserver||Gn){var o=In?window:"undefined"!=typeof e?e:{};n=o.setImmediate||setTimeout}else{var a=1,s=new MutationObserver(t),u=document.createTextNode(a);s.observe(u,{characterData:!0}),n=function(){a=(a+1)%2,u.data=a}}return function(e,o){var a=o?function(){e.call(o)}:e;r.push(a),i||(i=!0,n(t,0))}}(),rr=void 0;"undefined"!=typeof Set&&Set.toString().match(/native code/)?rr=Set:(rr=function(){this.set=Object.create(null)},rr.prototype.has=function(t){return void 0!==this.set[t]},rr.prototype.add=function(t){this.set[t]=1},rr.prototype.clear=function(){this.set=Object.create(null)});var ir=T.prototype;ir.put=function(t,e){var n,r=this.get(t,!0);return r||(this.size===this.limit&&(n=this.shift()),r={key:t},this._keymap[t]=r,this.tail?(this.tail.newer=r,r.older=this.tail):this.head=r,this.tail=r,this.size++),r.value=e,n},ir.shift=function(){var t=this.head;return t&&(this.head=this.head.newer,this.head.older=void 0,t.newer=t.older=void 0,this._keymap[t.key]=void 0,this.size--),t},ir.get=function(t,e){var n=this._keymap[t];if(void 0!==n)return n===this.tail?e?n:n.value:(n.newer&&(n===this.head&&(this.head=n.newer),n.newer.older=n.older),n.older&&(n.older.newer=n.newer),n.newer=void 0,n.older=this.tail,this.tail&&(this.tail.newer=n),this.tail=n,e?n:n.value)};var or,ar,sr,ur,lr,cr,fr,hr,dr,pr,vr,gr,mr=new T(1e3),yr=/[^\s'"]+|'[^']*'|"[^"]*"/g,br=/^in$|^-?\d+/,xr=Object.freeze({parseDirective:j}),_r=/[-.*+?^${}()|[\]\/\\]/g,wr=void 0,Cr=void 0,kr=void 0,Tr=/[^|]\|[^|]/,Sr=Object.freeze({compileRegex:$,parseText:O,tokensToExp:M}),Ar=["{{","}}"],jr=["{{{","}}}"],Er=Object.defineProperties({debug:!1,silent:!1,async:!0,warnExpressionErrors:!0,devtools:!1,_delimitersChanged:!0,_assetTypes:["component","directive","elementDirective","filter","transition","partial"],_propBindingModes:{ONE_WAY:0,TWO_WAY:1,ONE_TIME:2},_maxUpdateCount:100},{delimiters:{get:function(){return Ar},set:function(t){Ar=t,$()},configurable:!0,enumerable:!0},unsafeDelimiters:{get:function(){return jr},set:function(t){jr=t,$()},configurable:!0,enumerable:!0}}),$r=void 0,Or=Object.freeze({appendWithTransition:D,beforeWithTransition:F,removeWithTransition:B,applyTransition:L}),Mr=/^v-ref:/,Nr=/^(div|p|span|img|a|b|i|br|ul|ol|li|h1|h2|h3|h4|h5|h6|code|pre|table|th|td|tr|form|label|input|select|option|nav|article|section|header|footer)$/i,Pr=/^(slot|partial|component)$/i,Dr=Er.optionMergeStrategies=Object.create(null);Dr.data=function(t,e,n){return n?t||e?function(){var r="function"==typeof e?e.call(n):e,i="function"==typeof t?t.call(n):void 0;return r?dt(r,i):i}:void 0:e?"function"!=typeof e?t:t?function(){return dt(e.call(this),t.call(this))}:e:t},Dr.el=function(t,e,n){if(n||!e||"function"==typeof e){var r=e||t;return n&&"function"==typeof r?r.call(n):r}},Dr.init=Dr.created=Dr.ready=Dr.attached=Dr.detached=Dr.beforeCompile=Dr.compiled=Dr.beforeDestroy=Dr.destroyed=Dr.activate=function(t,e){return e?t?t.concat(e):Ln(e)?e:[e]:t},Er._assetTypes.forEach(function(t){Dr[t+"s"]=pt}),Dr.watch=Dr.events=function(t,e){if(!e)return t;if(!t)return e;var n={};m(n,t);for(var r in e){var i=n[r],o=e[r];i&&!Ln(i)&&(i=[i]),n[r]=i?i.concat(o):[o]}return n},Dr.props=Dr.methods=Dr.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(null);return m(n,t),m(n,e),n};var Fr=function(t,e){return void 0===e?t:e},Br=0;xt.target=null,xt.prototype.addSub=function(t){this.subs.push(t)},xt.prototype.removeSub=function(t){this.subs.$remove(t)},xt.prototype.depend=function(){xt.target.addDep(this)},xt.prototype.notify=function(){for(var t=g(this.subs),e=0,n=t.length;e<n;e++)t[e].update()};var Lr=Array.prototype,Rr=Object.create(Lr);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Lr[t];x(Rr,t,function(){for(var n=arguments.length,r=new Array(n);n--;)r[n]=arguments[n];var i,o=e.apply(this,r),a=this.__ob__;switch(t){case"push":i=r;break;case"unshift":i=r;break;case"splice":i=r.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o})}),x(Lr,"$set",function(t,e){return t>=this.length&&(this.length=Number(t)+1),this.splice(t,1,e)[0]}),x(Lr,"$remove",function(t){if(this.length){var e=w(this,t);return e>-1?this.splice(e,1):void 0}});var Ir=Object.getOwnPropertyNames(Rr),Hr=!0;wt.prototype.walk=function(t){for(var e=Object.keys(t),n=0,r=e.length;n<r;n++)this.convert(e[n],t[e[n]])},wt.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Tt(t[e])},wt.prototype.convert=function(t,e){St(this.value,t,e)},wt.prototype.addVm=function(t){(this.vms||(this.vms=[])).push(t)},wt.prototype.removeVm=function(t){this.vms.$remove(t)};var qr=Object.freeze({defineReactive:St,set:n,del:r,hasOwn:i,isLiteral:o,isReserved:a,_toString:s,toNumber:u,toBoolean:l,stripQuotes:c,camelize:f,hyphenate:d,classify:p,bind:v,toArray:g,extend:m,isObject:y,isPlainObject:b,def:x,debounce:_,indexOf:w,cancellable:C,looseEqual:k,isArray:Ln,hasProto:Rn,inBrowser:In,devtools:Hn,isIE:Vn,isIE9:zn,isAndroid:Un,isIos:Wn,iosVersionMatch:Xn,iosVersion:Jn,hasMutationObserverBug:Gn,get transitionProp(){return Zn},get transitionEndEvent(){return Yn},get animationProp(){return Qn},get animationEndEvent(){return Kn},nextTick:nr,get _Set(){return rr},query:R,inDoc:I,getAttr:H,getBindAttr:q,hasBindAttr:V,before:z,after:U,remove:W,prepend:X,replace:J,on:G,off:Z,setClass:Q,addClass:K,removeClass:tt,extractContent:et,trimNode:nt,isTemplate:it,createAnchor:ot,findRef:at,mapNodeRange:st,removeNodeRange:ut,isFragment:lt,getOuterHTML:ct,mergeOptions:yt,resolveAsset:bt,checkComponentAttr:ft,commonTagRE:Nr,reservedTagRE:Pr,get warn(){return $r}}),Vr=0,zr=new T(1e3),Ur=0,Wr=1,Xr=2,Jr=3,Gr=0,Zr=1,Yr=2,Qr=3,Kr=4,ti=5,ei=6,ni=7,ri=8,ii=[];ii[Gr]={ws:[Gr],ident:[Qr,Ur],"[":[Kr],eof:[ni]},ii[Zr]={ws:[Zr],".":[Yr],"[":[Kr],eof:[ni]},ii[Yr]={ws:[Yr],ident:[Qr,Ur]},ii[Qr]={ident:[Qr,Ur],0:[Qr,Ur],number:[Qr,Ur],ws:[Zr,Wr],".":[Yr,Wr],"[":[Kr,Wr],eof:[ni,Wr]},ii[Kr]={"'":[ti,Ur],'"':[ei,Ur],"[":[Kr,Xr],"]":[Zr,Jr],eof:ri,"else":[Kr,Ur]},ii[ti]={"'":[Kr,Ur],eof:ri,"else":[ti,Ur]},ii[ei]={'"':[Kr,Ur],eof:ri,"else":[ei,Ur]};var oi=Object.freeze({parsePath:Ot,getPath:Mt,setPath:Nt}),ai=new T(1e3),si="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",ui=new RegExp("^("+si.replace(/,/g,"\\b|")+"\\b)"),li="break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,protected,static,interface,private,public",ci=new RegExp("^("+li.replace(/,/g,"\\b|")+"\\b)"),fi=/\s/g,hi=/\n/g,di=/[\{,]\s*[\w\$_]+\s*:|('(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`)|new |typeof |void /g,pi=/"(\d+)"/g,vi=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,gi=/[^\w$\.](?:[A-Za-z_$][\w$]*)/g,mi=/^(?:true|false|null|undefined|Infinity|NaN)$/,yi=[],bi=Object.freeze({parseExpression:Ht,isSimplePath:qt}),xi=[],_i=[],wi={},Ci={},ki=!1,Ti=0;Xt.prototype.get=function(){this.beforeGet();var t,e=this.scope||this.vm;try{t=this.getter.call(e,e)}catch(n){}return this.deep&&Jt(t),this.preProcess&&(t=this.preProcess(t)),this.filters&&(t=e._applyFilters(t,null,this.filters,!1)),this.postProcess&&(t=this.postProcess(t)),this.afterGet(),t},Xt.prototype.set=function(t){var e=this.scope||this.vm;this.filters&&(t=e._applyFilters(t,this.value,this.filters,!0));try{this.setter.call(e,e,t)}catch(n){}var r=e.$forContext;if(r&&r.alias===this.expression){if(r.filters)return;r._withLock(function(){e.$key?r.rawValue[e.$key]=t:r.rawValue.$set(e.$index,t)})}},Xt.prototype.beforeGet=function(){xt.target=this},Xt.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},Xt.prototype.afterGet=function(){xt.target=null;for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Xt.prototype.update=function(t){this.lazy?this.dirty=!0:this.sync||!Er.async?this.run():(this.shallow=this.queued?!!t&&this.shallow:!!t,this.queued=!0,Wt(this))},Xt.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||(y(t)||this.deep)&&!this.shallow){var e=this.value;this.value=t;this.prevError;this.cb.call(this.vm,t,e)}this.queued=this.shallow=!1}},Xt.prototype.evaluate=function(){var t=xt.target;this.value=this.get(),this.dirty=!1,xt.target=t},Xt.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Xt.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||this.vm._watchers.$remove(this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.vm=this.cb=this.value=null}};var Si=new rr,Ai={bind:function(){this.attr=3===this.el.nodeType?"data":"textContent"},update:function(t){this.el[this.attr]=s(t)}},ji=new T(1e3),Ei=new T(1e3),$i={efault:[0,"",""],legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]};$i.td=$i.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],$i.option=$i.optgroup=[1,'<select multiple="multiple">',"</select>"],$i.thead=$i.tbody=$i.colgroup=$i.caption=$i.tfoot=[1,"<table>","</table>"],$i.g=$i.defs=$i.symbol=$i.use=$i.image=$i.text=$i.circle=$i.ellipse=$i.line=$i.path=$i.polygon=$i.polyline=$i.rect=[1,'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"version="1.1">',"</svg>"];var Oi=/<([\w:-]+)/,Mi=/&#?\w+?;/,Ni=/<!--/,Pi=function(){if(In){var t=document.createElement("div");return t.innerHTML="<template>1</template>",!t.cloneNode(!0).firstChild.innerHTML}return!1}(),Di=function(){if(In){var t=document.createElement("textarea");return t.placeholder="t","t"===t.cloneNode(!0).value}return!1}(),Fi=Object.freeze({cloneNode:Qt,parseTemplate:Kt}),Bi={bind:function(){8===this.el.nodeType&&(this.nodes=[],this.anchor=ot("v-html"),J(this.el,this.anchor))},update:function(t){t=s(t),this.nodes?this.swap(t):this.el.innerHTML=t},swap:function(t){for(var e=this.nodes.length;e--;)W(this.nodes[e]);var n=Kt(t,!0,!0);this.nodes=g(n.childNodes),z(n,this.anchor)}};te.prototype.callHook=function(t){var e,n;for(e=0,n=this.childFrags.length;e<n;e++)this.childFrags[e].callHook(t);for(e=0,n=this.children.length;e<n;e++)t(this.children[e])},te.prototype.beforeRemove=function(){var t,e;for(t=0,e=this.childFrags.length;t<e;t++)this.childFrags[t].beforeRemove(!1);for(t=0,e=this.children.length;t<e;t++)this.children[t].$destroy(!1,!0);var n=this.unlink.dirs;for(t=0,e=n.length;t<e;t++)n[t]._watcher&&n[t]._watcher.teardown()},te.prototype.destroy=function(){this.parentFrag&&this.parentFrag.childFrags.$remove(this),this.node.__v_frag=null,this.unlink()};var Li=new T(5e3);se.prototype.create=function(t,e,n){var r=Qt(this.template);return new te(this.linker,this.vm,r,t,e,n)};var Ri=700,Ii=800,Hi=850,qi=1100,Vi=1500,zi=1500,Ui=1750,Wi=2100,Xi=2200,Ji=2300,Gi=0,Zi={priority:Xi,terminal:!0,params:["track-by","stagger","enter-stagger","leave-stagger"],bind:function(){var t=this.expression.match(/(.*) (?:in|of) (.*)/);if(t){var e=t[1].match(/\((.*),(.*)\)/);e?(this.iterator=e[1].trim(),this.alias=e[2].trim()):this.alias=t[1].trim(),this.expression=t[2]}if(this.alias){this.id="__v-for__"+ ++Gi;var n=this.el.tagName;this.isOption=("OPTION"===n||"OPTGROUP"===n)&&"SELECT"===this.el.parentNode.tagName,this.start=ot("v-for-start"),this.end=ot("v-for-end"),J(this.el,this.end),z(this.start,this.end),this.cache=Object.create(null),this.factory=new se(this.vm,this.el)}},update:function(t){this.diff(t),this.updateRef(),this.updateModel()},diff:function(t){var e,n,r,o,a,s,u=t[0],l=this.fromObject=y(u)&&i(u,"$key")&&i(u,"$value"),c=this.params.trackBy,f=this.frags,h=this.frags=new Array(t.length),d=this.alias,p=this.iterator,v=this.start,g=this.end,m=I(v),b=!f;for(e=0,n=t.length;e<n;e++)u=t[e],o=l?u.$key:null,a=l?u.$value:u,s=!y(a),r=!b&&this.getCachedFrag(a,e,o),r?(r.reused=!0,r.scope.$index=e,o&&(r.scope.$key=o),p&&(r.scope[p]=null!==o?o:e),(c||l||s)&&_t(function(){r.scope[d]=a})):(r=this.create(a,d,e,o),r.fresh=!b),h[e]=r,b&&r.before(g);if(!b){var x=0,_=f.length-h.length;for(this.vm._vForRemoving=!0,e=0,n=f.length;e<n;e++)r=f[e],r.reused||(this.deleteCachedFrag(r),this.remove(r,x++,_,m));this.vm._vForRemoving=!1,x&&(this.vm._watchers=this.vm._watchers.filter(function(t){return t.active}));var w,C,k,T=0;for(e=0,n=h.length;e<n;e++)r=h[e],w=h[e-1],C=w?w.staggerCb?w.staggerAnchor:w.end||w.node:v,r.reused&&!r.staggerCb?(k=ue(r,v,this.id),k===w||k&&ue(k,v,this.id)===w||this.move(r,C)):this.insert(r,T++,C,m),r.reused=r.fresh=!1}},create:function(t,e,n,r){var i=this._host,o=this._scope||this.vm,a=Object.create(o);a.$refs=Object.create(o.$refs),a.$els=Object.create(o.$els),a.$parent=o,a.$forContext=this,_t(function(){St(a,e,t)}),St(a,"$index",n),r?St(a,"$key",r):a.$key&&x(a,"$key",null),this.iterator&&St(a,this.iterator,null!==r?r:n);var s=this.factory.create(i,a,this._frag);return s.forId=this.id,this.cacheFrag(t,s,n,r),s},updateRef:function(){var t=this.descriptor.ref;if(t){var e,n=(this._scope||this.vm).$refs;this.fromObject?(e={},this.frags.forEach(function(t){e[t.scope.$key]=le(t)})):e=this.frags.map(le),n[t]=e}},updateModel:function(){if(this.isOption){var t=this.start.parentNode,e=t&&t.__v_model;e&&e.forceUpdate()}},insert:function(t,e,n,r){t.staggerCb&&(t.staggerCb.cancel(),t.staggerCb=null);var i=this.getStagger(t,e,null,"enter");if(r&&i){var o=t.staggerAnchor;o||(o=t.staggerAnchor=ot("stagger-anchor"),o.__v_frag=t),U(o,n);var a=t.staggerCb=C(function(){t.staggerCb=null,t.before(o),W(o)});setTimeout(a,i)}else{var s=n.nextSibling;s||(U(this.end,n),s=this.end),t.before(s)}},remove:function(t,e,n,r){if(t.staggerCb)return t.staggerCb.cancel(),void(t.staggerCb=null);var i=this.getStagger(t,e,n,"leave");if(r&&i){var o=t.staggerCb=C(function(){t.staggerCb=null,t.remove()});setTimeout(o,i)}else t.remove()},move:function(t,e){e.nextSibling||this.end.parentNode.appendChild(this.end),t.before(e.nextSibling,!1)},cacheFrag:function(t,e,n,r){var o,a=this.params.trackBy,s=this.cache,u=!y(t);r||a||u?(o=fe(n,r,t,a),s[o]||(s[o]=e)):(o=this.id,i(t,o)?null===t[o]&&(t[o]=e):Object.isExtensible(t)&&x(t,o,e)),e.raw=t},getCachedFrag:function(t,e,n){var r,i=this.params.trackBy,o=!y(t);if(n||i||o){var a=fe(e,n,t,i);r=this.cache[a]}else r=t[this.id];return r&&(r.reused||r.fresh),r},deleteCachedFrag:function(t){var e=t.raw,n=this.params.trackBy,r=t.scope,o=r.$index,a=i(r,"$key")&&r.$key,s=!y(e);if(n||a||s){var u=fe(o,a,e,n);this.cache[u]=null}else e[this.id]=null,t.raw=null},getStagger:function(t,e,n,r){r+="Stagger";var i=t.node.__v_trans,o=i&&i.hooks,a=o&&(o[r]||o.stagger);return a?a.call(t,e,n):e*parseInt(this.params[r]||this.params.stagger,10)},_preProcess:function(t){return this.rawValue=t,t},_postProcess:function(t){if(Ln(t))return t;if(b(t)){for(var e,n=Object.keys(t),r=n.length,i=new Array(r);r--;)e=n[r],i[r]={$key:e,$value:t[e]};return i}return"number"!=typeof t||isNaN(t)||(t=ce(t)),t||[]},unbind:function(){if(this.descriptor.ref&&((this._scope||this.vm).$refs[this.descriptor.ref]=null),this.frags)for(var t,e=this.frags.length;e--;)t=this.frags[e],this.deleteCachedFrag(t),t.destroy()}},Yi={priority:Wi,terminal:!0,bind:function(){var t=this.el;if(t.__vue__)this.invalid=!0;else{var e=t.nextElementSibling;e&&null!==H(e,"v-else")&&(W(e),this.elseEl=e),this.anchor=ot("v-if"),J(t,this.anchor)}},update:function(t){this.invalid||(t?this.frag||this.insert():this.remove())},insert:function(){this.elseFrag&&(this.elseFrag.remove(),this.elseFrag=null),this.factory||(this.factory=new se(this.vm,this.el)),this.frag=this.factory.create(this._host,this._scope,this._frag),this.frag.before(this.anchor)},remove:function(){this.frag&&(this.frag.remove(),this.frag=null),this.elseEl&&!this.elseFrag&&(this.elseFactory||(this.elseFactory=new se(this.elseEl._context||this.vm,this.elseEl)),this.elseFrag=this.elseFactory.create(this._host,this._scope,this._frag),this.elseFrag.before(this.anchor))},unbind:function(){this.frag&&this.frag.destroy(),this.elseFrag&&this.elseFrag.destroy()}},Qi={bind:function(){var t=this.el.nextElementSibling;t&&null!==H(t,"v-else")&&(this.elseEl=t)},update:function(t){this.apply(this.el,t),this.elseEl&&this.apply(this.elseEl,!t)},apply:function(t,e){function n(){t.style.display=e?"":"none"}I(t)?L(t,e?1:-1,n,this.vm):n()}},Ki={bind:function(){var t=this,e=this.el,n="range"===e.type,r=this.params.lazy,i=this.params.number,o=this.params.debounce,a=!1;if(Un||n||(this.on("compositionstart",function(){a=!0}),this.on("compositionend",function(){a=!1,r||t.listener()})),this.focused=!1,n||r||(this.on("focus",function(){t.focused=!0}),this.on("blur",function(){t.focused=!1,t._frag&&!t._frag.inserted||t.rawListener()})),this.listener=this.rawListener=function(){if(!a&&t._bound){var r=i||n?u(e.value):e.value;t.set(r),nr(function(){t._bound&&!t.focused&&t.update(t._watcher.value)})}},o&&(this.listener=_(this.listener,o)),this.hasjQuery="function"==typeof jQuery,this.hasjQuery){var s=jQuery.fn.on?"on":"bind";jQuery(e)[s]("change",this.rawListener),r||jQuery(e)[s]("input",this.listener)}else this.on("change",this.rawListener),r||this.on("input",this.listener);!r&&zn&&(this.on("cut",function(){nr(t.listener)}),this.on("keyup",function(e){46!==e.keyCode&&8!==e.keyCode||t.listener()})),(e.hasAttribute("value")||"TEXTAREA"===e.tagName&&e.value.trim())&&(this.afterBind=this.listener)},update:function(t){t=s(t),t!==this.el.value&&(this.el.value=t)},unbind:function(){var t=this.el;if(this.hasjQuery){var e=jQuery.fn.off?"off":"unbind";jQuery(t)[e]("change",this.listener),jQuery(t)[e]("input",this.listener)}}},to={bind:function(){var t=this,e=this.el;this.getValue=function(){if(e.hasOwnProperty("_value"))return e._value;var n=e.value;return t.params.number&&(n=u(n)),n},this.listener=function(){t.set(t.getValue())},this.on("change",this.listener),e.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(t){this.el.checked=k(t,this.getValue())}},eo={bind:function(){var t=this,e=this,n=this.el;this.forceUpdate=function(){e._watcher&&e.update(e._watcher.get())};var r=this.multiple=n.hasAttribute("multiple");this.listener=function(){var t=he(n,r);t=e.params.number?Ln(t)?t.map(u):u(t):t,e.set(t)},this.on("change",this.listener);var i=he(n,r,!0);(r&&i.length||!r&&null!==i)&&(this.afterBind=this.listener),this.vm.$on("hook:attached",function(){nr(t.forceUpdate)}),I(n)||nr(this.forceUpdate)},update:function(t){var e=this.el;e.selectedIndex=-1;for(var n,r,i=this.multiple&&Ln(t),o=e.options,a=o.length;a--;)n=o[a],r=n.hasOwnProperty("_value")?n._value:n.value,n.selected=i?de(t,r)>-1:k(t,r)},unbind:function(){this.vm.$off("hook:attached",this.forceUpdate)}},no={bind:function(){function t(){var t=n.checked;return t&&n.hasOwnProperty("_trueValue")?n._trueValue:!t&&n.hasOwnProperty("_falseValue")?n._falseValue:t}var e=this,n=this.el;this.getValue=function(){return n.hasOwnProperty("_value")?n._value:e.params.number?u(n.value):n.value},this.listener=function(){var r=e._watcher.value;if(Ln(r)){var i=e.getValue();n.checked?w(r,i)<0&&r.push(i):r.$remove(i)}else e.set(t())},this.on("change",this.listener),n.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(t){var e=this.el;Ln(t)?e.checked=w(t,this.getValue())>-1:e.hasOwnProperty("_trueValue")?e.checked=k(t,e._trueValue):e.checked=!!t}},ro={text:Ki,radio:to,select:eo,checkbox:no},io={priority:Ii,twoWay:!0,handlers:ro,params:["lazy","number","debounce"],bind:function(){this.checkFilters(),this.hasRead&&!this.hasWrite;var t,e=this.el,n=e.tagName;if("INPUT"===n)t=ro[e.type]||ro.text;else if("SELECT"===n)t=ro.select;else{if("TEXTAREA"!==n)return;t=ro.text}e.__v_model=this,t.bind.call(this),this.update=t.update,this._unbind=t.unbind},checkFilters:function(){var t=this.filters;if(t)for(var e=t.length;e--;){var n=bt(this.vm.$options,"filters",t[e].name);("function"==typeof n||n.read)&&(this.hasRead=!0),n.write&&(this.hasWrite=!0)}},unbind:function(){this.el.__v_model=null,this._unbind&&this._unbind()}},oo={esc:27,tab:9,enter:13,space:32,"delete":[8,46],up:38,left:37,right:39,down:40},ao={priority:Ri,acceptStatement:!0,keyCodes:oo,bind:function(){if("IFRAME"===this.el.tagName&&"load"!==this.arg){var t=this;this.iframeBind=function(){G(t.el.contentWindow,t.arg,t.handler,t.modifiers.capture)},this.on("load",this.iframeBind)}},update:function(t){if(this.descriptor.raw||(t=function(){}),"function"==typeof t){this.modifiers.stop&&(t=ve(t)),this.modifiers.prevent&&(t=ge(t)),this.modifiers.self&&(t=me(t));var e=Object.keys(this.modifiers).filter(function(t){return"stop"!==t&&"prevent"!==t&&"self"!==t&&"capture"!==t});e.length&&(t=pe(t,e)),this.reset(),this.handler=t,this.iframeBind?this.iframeBind():G(this.el,this.arg,this.handler,this.modifiers.capture)}},reset:function(){var t=this.iframeBind?this.el.contentWindow:this.el;this.handler&&Z(t,this.arg,this.handler)},unbind:function(){this.reset()}},so=["-webkit-","-moz-","-ms-"],uo=["Webkit","Moz","ms"],lo=/!important;?$/,co=Object.create(null),fo=null,ho={deep:!0,update:function(t){"string"==typeof t?this.el.style.cssText=t:Ln(t)?this.handleObject(t.reduce(m,{})):this.handleObject(t||{})},handleObject:function(t){var e,n,r=this.cache||(this.cache={});for(e in r)e in t||(this.handleSingle(e,null),delete r[e]);for(e in t)n=t[e],n!==r[e]&&(r[e]=n,this.handleSingle(e,n))},handleSingle:function(t,e){if(t=ye(t))if(null!=e&&(e+=""),e){var n=lo.test(e)?"important":"";n?(e=e.replace(lo,"").trim(),this.el.style.setProperty(t.kebab,e,n)):this.el.style[t.camel]=e}else this.el.style[t.camel]=""}},po="http://www.w3.org/1999/xlink",vo=/^xlink:/,go=/^v-|^:|^@|^(?:is|transition|transition-mode|debounce|track-by|stagger|enter-stagger|leave-stagger)$/,mo=/^(?:value|checked|selected|muted)$/,yo=/^(?:draggable|contenteditable|spellcheck)$/,bo={value:"_value","true-value":"_trueValue","false-value":"_falseValue"},xo={priority:Hi,
+bind:function(){var t=this.arg,e=this.el.tagName;t||(this.deep=!0);var n=this.descriptor,r=n.interp;if(r){n.hasOneTime&&(this.expression=M(r,this._scope||this.vm)),(go.test(t)||"name"===t&&("PARTIAL"===e||"SLOT"===e))&&(this.el.removeAttribute(t),this.invalid=!0)}},update:function(t){if(!this.invalid){var e=this.arg;this.arg?this.handleSingle(e,t):this.handleObject(t||{})}},handleObject:ho.handleObject,handleSingle:function(t,e){var n=this.el,r=this.descriptor.interp;if(this.modifiers.camel&&(t=f(t)),!r&&mo.test(t)&&t in n){var i="value"===t&&null==e?"":e;n[t]!==i&&(n[t]=i)}var o=bo[t];if(!r&&o){n[o]=e;var a=n.__v_model;a&&a.listener()}return"value"===t&&"TEXTAREA"===n.tagName?void n.removeAttribute(t):void(yo.test(t)?n.setAttribute(t,e?"true":"false"):null!=e&&e!==!1?"class"===t?(n.__v_trans&&(e+=" "+n.__v_trans.id+"-transition"),Q(n,e)):vo.test(t)?n.setAttributeNS(po,t,e===!0?"":e):n.setAttribute(t,e===!0?"":e):n.removeAttribute(t))}},_o={priority:Vi,bind:function(){if(this.arg){var t=this.id=f(this.arg),e=(this._scope||this.vm).$els;i(e,t)?e[t]=this.el:St(e,t,this.el)}},unbind:function(){var t=(this._scope||this.vm).$els;t[this.id]===this.el&&(t[this.id]=null)}},wo={bind:function(){}},Co={bind:function(){var t=this.el;this.vm.$once("pre-hook:compiled",function(){t.removeAttribute("v-cloak")})}},ko={text:Ai,html:Bi,"for":Zi,"if":Yi,show:Qi,model:io,on:ao,bind:xo,el:_o,ref:wo,cloak:Co},To={deep:!0,update:function(t){t?"string"==typeof t?this.setClass(t.trim().split(/\s+/)):this.setClass(xe(t)):this.cleanup()},setClass:function(t){this.cleanup(t);for(var e=0,n=t.length;e<n;e++){var r=t[e];r&&_e(this.el,r,K)}this.prevKeys=t},cleanup:function(t){var e=this.prevKeys;if(e)for(var n=e.length;n--;){var r=e[n];(!t||t.indexOf(r)<0)&&_e(this.el,r,tt)}}},So={priority:zi,params:["keep-alive","transition-mode","inline-template"],bind:function(){this.el.__vue__||(this.keepAlive=this.params.keepAlive,this.keepAlive&&(this.cache={}),this.params.inlineTemplate&&(this.inlineTemplate=et(this.el,!0)),this.pendingComponentCb=this.Component=null,this.pendingRemovals=0,this.pendingRemovalCb=null,this.anchor=ot("v-component"),J(this.el,this.anchor),this.el.removeAttribute("is"),this.el.removeAttribute(":is"),this.descriptor.ref&&this.el.removeAttribute("v-ref:"+d(this.descriptor.ref)),this.literal&&this.setComponent(this.expression))},update:function(t){this.literal||this.setComponent(t)},setComponent:function(t,e){if(this.invalidatePending(),t){var n=this;this.resolveComponent(t,function(){n.mountComponent(e)})}else this.unbuild(!0),this.remove(this.childVM,e),this.childVM=null},resolveComponent:function(t,e){var n=this;this.pendingComponentCb=C(function(r){n.ComponentName=r.options.name||("string"==typeof t?t:null),n.Component=r,e()}),this.vm._resolveComponent(t,this.pendingComponentCb)},mountComponent:function(t){this.unbuild(!0);var e=this,n=this.Component.options.activate,r=this.getCached(),i=this.build();n&&!r?(this.waitingFor=i,we(n,i,function(){e.waitingFor===i&&(e.waitingFor=null,e.transition(i,t))})):(r&&i._updateRef(),this.transition(i,t))},invalidatePending:function(){this.pendingComponentCb&&(this.pendingComponentCb.cancel(),this.pendingComponentCb=null)},build:function(t){var e=this.getCached();if(e)return e;if(this.Component){var n={name:this.ComponentName,el:Qt(this.el),template:this.inlineTemplate,parent:this._host||this.vm,_linkerCachable:!this.inlineTemplate,_ref:this.descriptor.ref,_asComponent:!0,_isRouterView:this._isRouterView,_context:this.vm,_scope:this._scope,_frag:this._frag};t&&m(n,t);var r=new this.Component(n);return this.keepAlive&&(this.cache[this.Component.cid]=r),r}},getCached:function(){return this.keepAlive&&this.cache[this.Component.cid]},unbuild:function(t){this.waitingFor&&(this.keepAlive||this.waitingFor.$destroy(),this.waitingFor=null);var e=this.childVM;return!e||this.keepAlive?void(e&&(e._inactive=!0,e._updateRef(!0))):void e.$destroy(!1,t)},remove:function(t,e){var n=this.keepAlive;if(t){this.pendingRemovals++,this.pendingRemovalCb=e;var r=this;t.$remove(function(){r.pendingRemovals--,n||t._cleanup(),!r.pendingRemovals&&r.pendingRemovalCb&&(r.pendingRemovalCb(),r.pendingRemovalCb=null)})}else e&&e()},transition:function(t,e){var n=this,r=this.childVM;switch(r&&(r._inactive=!0),t._inactive=!1,this.childVM=t,n.params.transitionMode){case"in-out":t.$before(n.anchor,function(){n.remove(r,e)});break;case"out-in":n.remove(r,function(){t.$before(n.anchor,e)});break;default:n.remove(r),t.$before(n.anchor,e)}},unbind:function(){if(this.invalidatePending(),this.unbuild(),this.cache){for(var t in this.cache)this.cache[t].$destroy();this.cache=null}}},Ao=Er._propBindingModes,jo={},Eo=/^[$_a-zA-Z]+[\w$]*$/,$o=Er._propBindingModes,Oo={bind:function(){var t=this.vm,e=t._context,n=this.descriptor.prop,r=n.path,i=n.parentPath,o=n.mode===$o.TWO_WAY,a=this.parentWatcher=new Xt(e,i,function(e){Ae(t,n,e)},{twoWay:o,filters:n.filters,scope:this._scope});if(Se(t,n,a.value),o){var s=this;t.$once("pre-hook:created",function(){s.childWatcher=new Xt(t,r,function(t){a.set(t)},{sync:!0})})}},unbind:function(){this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}},Mo=[],No=!1,Po="transition",Do="animation",Fo=Zn+"Duration",Bo=Qn+"Duration",Lo=In&&window.requestAnimationFrame,Ro=Lo?function(t){Lo(function(){Lo(t)})}:function(t){setTimeout(t,50)},Io=Pe.prototype;Io.enter=function(t,e){this.cancelPending(),this.callHook("beforeEnter"),this.cb=e,K(this.el,this.enterClass),t(),this.entered=!1,this.callHookWithCb("enter"),this.entered||(this.cancel=this.hooks&&this.hooks.enterCancelled,Me(this.enterNextTick))},Io.enterNextTick=function(){var t=this;this.justEntered=!0,Ro(function(){t.justEntered=!1});var e=this.enterDone,n=this.getCssTransitionType(this.enterClass);this.pendingJsCb?n===Po&&tt(this.el,this.enterClass):n===Po?(tt(this.el,this.enterClass),this.setupCssCb(Yn,e)):n===Do?this.setupCssCb(Kn,e):e()},Io.enterDone=function(){this.entered=!0,this.cancel=this.pendingJsCb=null,tt(this.el,this.enterClass),this.callHook("afterEnter"),this.cb&&this.cb()},Io.leave=function(t,e){this.cancelPending(),this.callHook("beforeLeave"),this.op=t,this.cb=e,K(this.el,this.leaveClass),this.left=!1,this.callHookWithCb("leave"),this.left||(this.cancel=this.hooks&&this.hooks.leaveCancelled,this.op&&!this.pendingJsCb&&(this.justEntered?this.leaveDone():Me(this.leaveNextTick)))},Io.leaveNextTick=function(){var t=this.getCssTransitionType(this.leaveClass);if(t){var e=t===Po?Yn:Kn;this.setupCssCb(e,this.leaveDone)}else this.leaveDone()},Io.leaveDone=function(){this.left=!0,this.cancel=this.pendingJsCb=null,this.op(),tt(this.el,this.leaveClass),this.callHook("afterLeave"),this.cb&&this.cb(),this.op=null},Io.cancelPending=function(){this.op=this.cb=null;var t=!1;this.pendingCssCb&&(t=!0,Z(this.el,this.pendingCssEvent,this.pendingCssCb),this.pendingCssEvent=this.pendingCssCb=null),this.pendingJsCb&&(t=!0,this.pendingJsCb.cancel(),this.pendingJsCb=null),t&&(tt(this.el,this.enterClass),tt(this.el,this.leaveClass)),this.cancel&&(this.cancel.call(this.vm,this.el),this.cancel=null)},Io.callHook=function(t){this.hooks&&this.hooks[t]&&this.hooks[t].call(this.vm,this.el)},Io.callHookWithCb=function(t){var e=this.hooks&&this.hooks[t];e&&(e.length>1&&(this.pendingJsCb=C(this[t+"Done"])),e.call(this.vm,this.el,this.pendingJsCb))},Io.getCssTransitionType=function(t){if(!(!Yn||document.hidden||this.hooks&&this.hooks.css===!1||De(this.el))){var e=this.type||this.typeCache[t];if(e)return e;var n=this.el.style,r=window.getComputedStyle(this.el),i=n[Fo]||r[Fo];if(i&&"0s"!==i)e=Po;else{var o=n[Bo]||r[Bo];o&&"0s"!==o&&(e=Do)}return e&&(this.typeCache[t]=e),e}},Io.setupCssCb=function(t,e){this.pendingCssEvent=t;var n=this,r=this.el,i=this.pendingCssCb=function(o){o.target===r&&(Z(r,t,i),n.pendingCssEvent=n.pendingCssCb=null,!n.pendingJsCb&&e&&e())};G(r,t,i)};var Ho={priority:qi,update:function(t,e){var n=this.el,r=bt(this.vm.$options,"transitions",t);t=t||"v",e=e||"v",n.__v_trans=new Pe(n,t,r,this.vm),tt(n,e+"-transition"),K(n,t+"-transition")}},qo={style:ho,"class":To,component:So,prop:Oo,transition:Ho},Vo=/^v-bind:|^:/,zo=/^v-on:|^@/,Uo=/^v-([^:]+)(?:$|:(.*)$)/,Wo=/\.[^\.]+/g,Xo=/^(v-bind:|:)?transition$/,Jo=1e3,Go=2e3;tn.terminal=!0;var Zo=/[^\w\-:\.]/,Yo=Object.freeze({compile:Fe,compileAndLinkProps:He,compileRoot:qe,transclude:un,resolveSlots:hn}),Qo=/^v-on:|^@/;mn.prototype._bind=function(){var t=this.name,e=this.descriptor;if(("cloak"!==t||this.vm._isCompiled)&&this.el&&this.el.removeAttribute){var n=e.attr||"v-"+t;this.el.removeAttribute(n)}var r=e.def;if("function"==typeof r?this.update=r:m(this,r),this._setupParams(),this.bind&&this.bind(),this._bound=!0,this.literal)this.update&&this.update(e.raw);else if((this.expression||this.modifiers)&&(this.update||this.twoWay)&&!this._checkStatement()){var i=this;this.update?this._update=function(t,e){i._locked||i.update(t,e)}:this._update=gn;var o=this._preProcess?v(this._preProcess,this):null,a=this._postProcess?v(this._postProcess,this):null,s=this._watcher=new Xt(this.vm,this.expression,this._update,{filters:this.filters,twoWay:this.twoWay,deep:this.deep,preProcess:o,postProcess:a,scope:this._scope});this.afterBind?this.afterBind():this.update&&this.update(s.value)}},mn.prototype._setupParams=function(){if(this.params){var t=this.params;this.params=Object.create(null);for(var e,n,r,i=t.length;i--;)e=d(t[i]),r=f(e),n=q(this.el,e),null!=n?this._setupParamWatcher(r,n):(n=H(this.el,e),null!=n&&(this.params[r]=""===n||n))}},mn.prototype._setupParamWatcher=function(t,e){var n=this,r=!1,i=(this._scope||this.vm).$watch(e,function(e,i){if(n.params[t]=e,r){var o=n.paramWatchers&&n.paramWatchers[t];o&&o.call(n,e,i)}else r=!0},{immediate:!0,user:!1});(this._paramUnwatchFns||(this._paramUnwatchFns=[])).push(i)},mn.prototype._checkStatement=function(){var t=this.expression;if(t&&this.acceptStatement&&!qt(t)){var e=Ht(t).get,n=this._scope||this.vm,r=function(t){n.$event=t,e.call(n,n),n.$event=null};return this.filters&&(r=n._applyFilters(r,null,this.filters)),this.update(r),!0}},mn.prototype.set=function(t){this.twoWay&&this._withLock(function(){this._watcher.set(t)})},mn.prototype._withLock=function(t){var e=this;e._locked=!0,t.call(e),nr(function(){e._locked=!1})},mn.prototype.on=function(t,e,n){G(this.el,t,e,n),(this._listeners||(this._listeners=[])).push([t,e])},mn.prototype._teardown=function(){if(this._bound){this._bound=!1,this.unbind&&this.unbind(),this._watcher&&this._watcher.teardown();var t,e=this._listeners;if(e)for(t=e.length;t--;)Z(this.el,e[t][0],e[t][1]);var n=this._paramUnwatchFns;if(n)for(t=n.length;t--;)n[t]();this.vm=this.el=this._watcher=this._listeners=null}};var Ko=/[^|]\|[^|]/;At(kn),pn(kn),vn(kn),yn(kn),bn(kn),xn(kn),_n(kn),wn(kn),Cn(kn);var ta={priority:Ji,params:["name"],bind:function(){var t=this.params.name||"default",e=this.vm._slotContents&&this.vm._slotContents[t];e&&e.hasChildNodes()?this.compile(e.cloneNode(!0),this.vm._context,this.vm):this.fallback()},compile:function(t,e,n){if(t&&e){if(this.el.hasChildNodes()&&1===t.childNodes.length&&1===t.childNodes[0].nodeType&&t.childNodes[0].hasAttribute("v-if")){var r=document.createElement("template");r.setAttribute("v-else",""),r.innerHTML=this.el.innerHTML,r._context=this.vm,t.appendChild(r)}var i=n?n._scope:this._scope;this.unlink=e.$compile(t,n,i,this._frag)}t?J(this.el,t):W(this.el)},fallback:function(){this.compile(et(this.el,!0),this.vm)},unbind:function(){this.unlink&&this.unlink()}},ea={priority:Ui,params:["name"],paramWatchers:{name:function(t){Yi.remove.call(this),t&&this.insert(t)}},bind:function(){this.anchor=ot("v-partial"),J(this.el,this.anchor),this.insert(this.params.name)},insert:function(t){var e=bt(this.vm.$options,"partials",t,!0);e&&(this.factory=new se(this.vm,e),Yi.insert.call(this))},unbind:function(){this.frag&&this.frag.destroy()}},na={slot:ta,partial:ea},ra=Zi._postProcess,ia=/(\d{3})(?=\d)/g,oa={orderBy:An,filterBy:Sn,limitBy:Tn,json:{read:function(t,e){return"string"==typeof t?t:JSON.stringify(t,null,arguments.length>1?e:2)},write:function(t){try{return JSON.parse(t)}catch(e){return t}}},capitalize:function(t){return t||0===t?(t=t.toString(),t.charAt(0).toUpperCase()+t.slice(1)):""},uppercase:function(t){return t||0===t?t.toString().toUpperCase():""},lowercase:function(t){return t||0===t?t.toString().toLowerCase():""},currency:function(t,e,n){if(t=parseFloat(t),!isFinite(t)||!t&&0!==t)return"";e=null!=e?e:"$",n=null!=n?n:2;var r=Math.abs(t).toFixed(n),i=n?r.slice(0,-1-n):r,o=i.length%3,a=o>0?i.slice(0,o)+(i.length>3?",":""):"",s=n?r.slice(-1-n):"",u=t<0?"-":"";return u+e+a+i.slice(o).replace(ia,"$1,")+s},pluralize:function(t){var e=g(arguments,1),n=e.length;if(n>1){var r=t%10-1;return r in e?e[r]:e[n-1]}return e[0]+(1===t?"":"s")},debounce:function(t,e){if(t)return e||(e=300),_(t,e)}};En(kn),kn.version="1.0.26",setTimeout(function(){Er.devtools&&Hn&&Hn.emit("init",kn)},0),t.exports=kn}).call(e,function(){return this}())},function(t,e,n){var r,i;(function(o){"use strict";var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};/*!
* Vue.js v2.0.0-rc.4
* (c) 2014-2016 Evan You
* Released under the MIT License.
*/
-!function(o,s){"object"===a(e)&&"undefined"!=typeof t?t.exports=s():(r=s,i="function"==typeof r?r.call(e,n,e,t):r,!(void 0!==i&&(t.exports=i)))}(void 0,function(){function t(t){return null==t?"":"object"===("undefined"==typeof t?"undefined":a(t))?JSON.stringify(t,null,2):String(t)}function e(t){var e=parseFloat(t,10);return e||0===e?e:t}function n(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function r(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function i(t,e){return yr.call(t,e)}function s(t){return"string"==typeof t||"number"==typeof t}function u(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}function l(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function c(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function f(t,e){for(var n in e)t[n]=e[n];return t}function h(t){return null!==t&&"object"===("undefined"==typeof t?"undefined":a(t))}function d(t){return kr.call(t)===Tr}function p(t){for(var e=t[0]||{},n=1;n<t.length;n++)t[n]&&f(e,t[n]);return e}function v(){}function g(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}function m(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function y(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function b(t){if(!jr.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}function x(t){Vr.target&&zr.push(Vr.target),Vr.target=t}function _(){Vr.target=zr.pop()}function w(){Ur.length=0,Wr={},Xr={},Jr=Gr=!1}function C(){for(Gr=!0,Ur.sort(function(t,e){return t.id-e.id}),Zr=0;Zr<Ur.length;Zr++){var t=Ur[Zr],e=t.id;if(Wr[e]=null,t.run(),null!=Wr[e]&&(Xr[e]=(Xr[e]||0)+1,Xr[e]>Ar._maxUpdateCount)){hi("You may have an infinite update loop "+(t.user?'in watcher with expression "'+t.expression+'"':"in a component render function."),t.vm);break}}$r&&Ar.devtools&&$r.emit("flush"),w()}function k(t){var e=t.id;if(null==Wr[e]){if(Wr[e]=!0,Gr){for(var n=Ur.length-1;n>=0&&Ur[n].id>t.id;)n--;Ur.splice(Math.max(n,Zr)+1,0,t)}else Ur.push(t);Jr||(Jr=!0,Br(C))}}function T(t,e){var n,r;e||(e=Kr,e.clear());var i=Array.isArray(t),o=h(t);if((i||o)&&Object.isExtensible(t)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(i)for(n=t.length;n--;)T(t[n],e);else if(o)for(r=Object.keys(t),n=r.length;n--;)T(t[r[n]],e)}}function S(t,e){t.__proto__=e}function A(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];y(t,o,e[o])}}function j(t){if(h(t)){var e;return i(t,"__ob__")&&t.__ob__ instanceof ii?e=t.__ob__:ri.shouldConvert&&!Ar._isServer&&(Array.isArray(t)||d(t))&&Object.isExtensible(t)&&!t._isVue&&(e=new ii(t)),e}}function E(t,e,n,r){var i=new Vr,o=Object.getOwnPropertyDescriptor(t,e);if(!o||o.configurable!==!1){var a=o&&o.get,s=o&&o.set,u=j(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;if(Vr.target&&(i.depend(),u&&u.dep.depend(),Array.isArray(e)))for(var r,o=0,s=e.length;o<s;o++)r=e[o],r&&r.__ob__&&r.__ob__.dep.depend();return e},set:function(e){var o=a?a.call(t):n;e!==o&&(r&&r(),s?s.call(t,e):n=e,u=j(e),i.notify())}})}}function O(t,e,n){if(Array.isArray(t))return t.splice(e,1,n),n;if(i(t,e))return void(t[e]=n);var r=t.__ob__;return t._isVue||r&&r.vmCount?void hi("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."):r?(E(r.value,e,n),r.dep.notify(),n):void(t[e]=n)}function $(t,e){var n=t.__ob__;return t._isVue||n&&n.vmCount?void hi("Avoid deleting properties on a Vue instance or its root $data - just set it to null."):void(i(t,e)&&(delete t[e],n&&n.dep.notify()))}function M(t){t._watchers=[],N(t),P(t),D(t),B(t),L(t)}function N(t){var e=t.$options.props,n=t.$options.propsData;if(e){var r=t.$options._propKeys=Object.keys(e),i=!t.$parent;ri.shouldConvert=i;for(var o=function(i){var o=r[i];E(t,o,Ot(o,e,n,t),function(){t.$parent&&!ri.isSettingProps&&hi("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+o+'"',t)})},a=0;a<r.length;a++)o(a);ri.shouldConvert=!0}}function P(t){var e=t.$options.data;e=t._data="function"==typeof e?e.call(t):e||{},d(e)||(e={},hi("data functions should return an object.",t));for(var n=Object.keys(e),r=t.$options.props,o=n.length;o--;)r&&i(r,n[o])?hi('The data property "'+n[o]+'" is already declared as a prop. Use prop default value instead.',t):H(t,n[o]);j(e),e.__ob__&&e.__ob__.vmCount++}function D(t){var e=t.$options.computed;if(e)for(var n in e){var r=e[n];"function"==typeof r?(oi.get=F(r,t),oi.set=v):(oi.get=r.get?r.cache!==!1?F(r.get,t):l(r.get,t):v,oi.set=r.set?l(r.set,t):v),Object.defineProperty(t,n,oi)}}function F(t,e){var n=new Qr(e,t,v,{lazy:!0});return function(){return n.dirty&&n.evaluate(),Vr.target&&n.depend(),n.value}}function B(t){var e=t.$options.methods;if(e)for(var n in e)t[n]=l(e[n],t)}function L(t){var e=t.$options.watch;if(e)for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)R(t,n,r[i]);else R(t,n,r)}}function R(t,e,n){var r;d(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function I(t){var e={};e.get=function(){return this._data},e.set=function(t){hi("Avoid replacing instance root $data. Use nested data properties instead.",this)},Object.defineProperty(t.prototype,"$data",e),t.prototype.$set=O,t.prototype.$delete=$,t.prototype.$watch=function(t,e,n){var r=this;n=n||{},n.user=!0;var i=new Qr(r,t,e,n);return n.immediate&&e.call(r,i.value),function(){i.teardown()}}}function H(t,e){m(e)||Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return t._data[e]},set:function(n){t._data[e]=n}})}function q(t){var e=new ai(t.tag,t.data,t.children,t.text,t.elm,t.ns,t.context,t.componentOptions);return e.isStatic=t.isStatic,e.key=t.key,e.isCloned=!0,e}function V(t){for(var e=new Array(t.length),n=0;n<t.length;n++)e[n]=q(t[n]);return e}function z(t,e){if(s(t))return[U(t)];if(Array.isArray(t)){for(var n=[],r=0,i=t.length;r<i;r++){var o=t[r],a=n[n.length-1];Array.isArray(o)?n.push.apply(n,z(o,e)):s(o)?a&&a.text?a.text+=String(o):""!==o&&n.push(U(o)):o instanceof ai&&(o.text&&a&&a.text?a.text+=o.text:(e&&W(o,e),n.push(o)))}return n}}function U(t){return new ai((void 0),(void 0),(void 0),String(t))}function W(t,e){if(t.tag&&!t.ns&&(t.ns=e,t.children))for(var n=0,r=t.children.length;n<r;n++)W(t.children[n],e)}function X(t){return t&&t.filter(function(t){return t&&t.componentOptions})[0]}function J(t,e,n){var r=t[e];if(r){var i=t.__injected||(t.__injected={});i[e]||(i[e]=!0,t[e]=function(){r.apply(this,arguments),n.apply(this,arguments)})}else t[e]=n}function G(t,e,n,r){var i,o,a,s,u,l;for(i in t)if(o=t[i],a=e[i],o)if(a)if(Array.isArray(a)){a.length=o.length;for(var c=0;c<a.length;c++)a[c]=o[c];t[i]=a}else a.fn=o,t[i]=a;else l="!"===i.charAt(0),u=l?i.slice(1):i,Array.isArray(o)?n(u,o.invoker=Z(o),l):(o.invoker||(s=o,o=t[i]={},o.fn=s,o.invoker=Y(o)),n(u,o.invoker,l));else hi('Handler for event "'+i+'" is undefined.');for(i in e)t[i]||(u="!"===i.charAt(0)?i.slice(1):i,r(u,e[i].invoker))}function Z(t){return function(e){for(var n=arguments,r=1===arguments.length,i=0;i<t.length;i++)r?t[i](e):t[i].apply(null,n)}}function Y(t){return function(e){var n=1===arguments.length;n?t.fn(e):t.fn.apply(null,arguments)}}function Q(t){var e=t.$options,n=e.parent;if(n&&!e["abstract"]){for(;n.$options["abstract"]&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function K(t){t.prototype._mount=function(t,e){var n=this;return n.$el=t,n.$options.render||(n.$options.render=si,n.$options.template?hi("You are using the runtime-only build of Vue where the template option is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",n):hi("Failed to mount component: template or render function not defined.",n)),tt(n,"beforeMount"),n._watcher=new Qr(n,function(){n._update(n._render(),e)},v),e=!1,n.$root===n&&(n._isMounted=!0,tt(n,"mounted")),n},t.prototype._update=function(t,e){var n=this;n._isMounted&&tt(n,"beforeUpdate");var r=n.$el,i=ui;ui=n;var o=n._vnode;n._vnode=t,o?n.$el=n.__patch__(o,t):n.$el=n.__patch__(n.$el,t,e),ui=i,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el),n._isMounted&&tt(n,"updated")},t.prototype._updateFromParent=function(t,e,n,r){var i=this,o=!(!i.$options._renderChildren&&!r);if(i.$options._parentVnode=n,i.$options._renderChildren=r,t&&i.$options.props){ri.shouldConvert=!1,ri.isSettingProps=!0;for(var a=i.$options._propKeys||[],s=0;s<a.length;s++){var u=a[s];i[u]=Ot(u,i.$options.props,t,i)}ri.shouldConvert=!0,ri.isSettingProps=!1}if(e){var l=i.$options._parentListeners;i.$options._parentListeners=e,i._updateListeners(e,l)}o&&(i.$slots=mt(r),i.$forceUpdate())},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){tt(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options["abstract"]||r(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,tt(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null)}}}function tt(t,e){var n=t.$options[e];if(n)for(var r=0,i=n.length;r<i;r++)n[r].call(t);t.$emit("hook:"+e)}function et(t,e,n,r,i){if(t){if(h(t)&&(t=_t.extend(t)),"function"!=typeof t)return void hi("Invalid Component definition: "+String(t),n);if(!t.cid)if(t.resolved)t=t.resolved;else if(t=ut(t,function(){n.$forceUpdate()}),!t)return;e=e||{};var o=lt(e,t);if(t.options.functional)return nt(t,o,e,n,r);var a=e.on;e.on=e.nativeOn,t.options["abstract"]&&(e={}),ft(e);var s=t.options.name||i,u=new ai("vue-component-"+t.cid+(s?"-"+s:""),e,(void 0),(void 0),(void 0),(void 0),n,{Ctor:t,propsData:o,listeners:a,tag:i,children:r});return u}}function nt(t,e,n,r,i){var o={},a=t.options.props;if(a)for(var s in a)o[s]=Ot(s,a,e);return t.options.render.call(null,r.$createElement,{props:o,data:n,parent:r,children:z(i),slots:function(){return mt(i)}})}function rt(t,e){var n=t.componentOptions,r={_isComponent:!0,parent:e,propsData:n.propsData,_componentTag:n.tag,_parentVnode:t,_parentListeners:n.listeners,_renderChildren:n.children},i=t.data.inlineTemplate;return i&&(r.render=i.render,r.staticRenderFns=i.staticRenderFns),new n.Ctor(r)}function it(t,e){if(!t.child||t.child._isDestroyed){var n=t.child=rt(t,ui);n.$mount(e?t.elm:void 0,e)}}function ot(t,e){var n=e.componentOptions,r=e.child=t.child;r._updateFromParent(n.propsData,n.listeners,e,n.children)}function at(t){t.child._isMounted||(t.child._isMounted=!0,tt(t.child,"mounted")),t.data.keepAlive&&(t.child._inactive=!1,tt(t.child,"activated"))}function st(t){t.child._isDestroyed||(t.data.keepAlive?(t.child._inactive=!0,tt(t.child,"deactivated")):t.child.$destroy())}function ut(t,e){if(!t.requested){t.requested=!0;var n=t.pendingCallbacks=[e],r=!0,i=function(e){if(h(e)&&(e=_t.extend(e)),t.resolved=e,!r)for(var i=0,o=n.length;i<o;i++)n[i](e)},o=function(e){hi("Failed to resolve async component: "+String(t)+(e?"\nReason: "+e:""))},a=t(i,o);return a&&"function"==typeof a.then&&!t.resolved&&a.then(i,o),r=!1,t.resolved}t.pendingCallbacks.push(e)}function lt(t,e){var n=e.options.props;if(n){var r={},i=t.attrs,o=t.props,a=t.domProps;if(i||o||a)for(var s in n){var u=Cr(s);ct(r,o,s,u,!0)||ct(r,i,s,u)||ct(r,a,s,u)}return r}}function ct(t,e,n,r,o){if(e){if(i(e,n))return t[n]=e[n],o||delete e[n],!0;if(i(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function ft(t){t.hook||(t.hook={});for(var e=0;e<ci.length;e++){var n=ci[e],r=t.hook[n],i=li[n];t.hook[n]=r?ht(i,r):i}}function ht(t,e){return function(n,r){t(n,r),e(n,r)}}function dt(t,e,n){return e&&(Array.isArray(e)||"object"!==("undefined"==typeof e?"undefined":a(e)))&&(n=e,e=void 0),pt(this._self,t,e,n)}function pt(t,e,n,r){if(n&&n.__ob__)return void hi("Avoid using observed data object as vnode data: "+JSON.stringify(n)+"\nAlways create fresh vnode data objects in each render!",t);if(!e)return si();if("string"==typeof e){var i,o=Ar.getTagNamespace(e);return Ar.isReservedTag(e)?new ai(e,n,z(r,o),(void 0),(void 0),o,t):(i=Et(t.$options,"components",e))?et(i,n,t,r,e):new ai(e,n,z(r,o),(void 0),(void 0),o,t)}return et(e,n,t,r)}function vt(t){t.$vnode=null,t._vnode=null,t._staticTrees=null,t.$slots=mt(t.$options._renderChildren),t.$createElement=l(dt,t),t.$options.el&&t.$mount(t.$options.el)}function gt(n){n.prototype.$nextTick=function(t){Br(t,this)},n.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e.staticRenderFns,i=e._parentVnode;if(t._isMounted)for(var o in t.$slots)t.$slots[o]=V(t.$slots[o]);r&&!t._staticTrees&&(t._staticTrees=[]),t.$vnode=i;var a;try{a=n.call(t._renderProxy,t.$createElement)}catch(s){if(hi("Error when rendering "+di(t)+":"),Ar.errorHandler)Ar.errorHandler.call(null,s,t);else{if(Ar._isServer)throw s;setTimeout(function(){throw s},0)}a=t._vnode}return a instanceof ai||(Array.isArray(a)&&hi("Multiple root nodes returned from render function. Render function should return a single root node.",t),a=si()),a.parent=i,a},n.prototype._h=dt,n.prototype._s=t,n.prototype._n=e,n.prototype._e=si,n.prototype._m=function(t,e){var n=this._staticTrees[t];if(n&&!e)return Array.isArray(n)?V(n):q(n);if(n=this._staticTrees[t]=this.$options.staticRenderFns[t].call(this._renderProxy),Array.isArray(n))for(var r=0;r<n.length;r++)n[r].isStatic=!0,n[r].key="__static__"+t+"_"+r;else n.isStatic=!0,n.key="__static__"+t;return n};var r=function(t){return t};n.prototype._f=function(t){return Et(this.$options,"filters",t,!0)||r},n.prototype._l=function(t,e){var n,r,i,o,a;if(Array.isArray(t))for(n=new Array(t.length),r=0,i=t.length;r<i;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(h(t))for(o=Object.keys(t),n=new Array(o.length),r=0,i=o.length;r<i;r++)a=o[r],n[r]=e(t[a],a,r);return n},n.prototype._b=function(t,e,n){if(e)if(h(e)){Array.isArray(e)&&(e=p(e));var r=t.data;for(var i in e)if("class"===i||"style"===i)r[i]=e[i];else{var o=n||Ar.mustUseProp(i)?r.domProps||(r.domProps={}):r.attrs||(r.attrs={});o[i]=e[i]}}else hi("v-bind without argument expects an Object or Array value",this)},n.prototype._k=function(t){return Ar.keyCodes[t]}}function mt(t){var e={};if(!t)return e;for(var n,r,i=z(t)||[],o=[],a=0,s=i.length;a<s;a++)if(r=i[a],r.data&&(n=r.data.slot)){delete r.data.slot;var u=e[n]||(e[n]=[]);"template"===r.tag?u.push.apply(u,r.children):u.push(r)}else o.push(r);return o.length&&(1!==o.length||" "!==o[0].text&&!o[0].isComment)&&(e["default"]=o),e}function yt(t){t._events=Object.create(null);var e=t.$options._parentListeners,n=l(t.$on,t),r=l(t.$off,t);t._updateListeners=function(t,e){G(t,e||{},n,r)},e&&t._updateListeners(e)}function bt(t){t.prototype.$on=function(t,e){var n=this;return(n._events[t]||(n._events[t]=[])).push(e),n},t.prototype.$once=function(t,e){function n(){r.$off(t,n),e.apply(r,arguments)}var r=this;return n.fn=e,r.$on(t,n),r},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;var r=n._events[t];if(!r)return n;if(1===arguments.length)return n._events[t]=null,n;for(var i,o=r.length;o--;)if(i=r[o],i===e||i.fn===e){r.splice(o,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?c(n):n;for(var r=c(arguments,1),i=0,o=n.length;i<o;i++)n[i].apply(e,r)}return e}}function xt(t){function e(t,e){var r=t.$options=Object.create(n(t));r.parent=e.parent,r.propsData=e.propsData,r._parentVnode=e._parentVnode,r._parentListeners=e._parentListeners,r._renderChildren=e._renderChildren,r._componentTag=e._componentTag,e.render&&(r.render=e.render,r.staticRenderFns=e.staticRenderFns)}function n(t){var e=t.constructor,n=e.options;if(e["super"]){var r=e["super"].options,i=e.superOptions;r!==i&&(e.superOptions=r,n=e.options=jt(r,e.extendOptions),n.name&&(n.components[n.name]=e))}return n}t.prototype._init=function(t){var r=this;r._uid=fi++,r._isVue=!0,t&&t._isComponent?e(r,t):r.$options=jt(n(r),t||{},r),Ir(r),r._self=r,Q(r),yt(r),tt(r,"beforeCreate"),M(r),tt(r,"created"),vt(r)}}function _t(t){this._init(t)}function wt(t,e){var n,r,o;for(n in e)r=t[n],o=e[n],i(t,n)?h(r)&&h(o)&&wt(r,o):O(t,n,o);return t}function Ct(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function kt(t,e){var n=Object.create(t||null);return e?f(n,e):n}function Tt(t){if(t.components){var e,n=t.components;for(var r in n){var i=r.toLowerCase();mr(i)||Ar.isReservedTag(i)?hi("Do not use built-in or reserved HTML elements as component id: "+r):(e=n[r],d(e)&&(n[r]=_t.extend(e)))}}}function St(t){var e=t.props;if(e){var n,r,i,o={};if(Array.isArray(e))for(n=e.length;n--;)r=e[n],"string"==typeof r?(i=xr(r),o[i]={type:null}):hi("props must be strings when using array syntax.");else if(d(e))for(var a in e)r=e[a],i=xr(a),o[i]=d(r)?r:{type:r};t.props=o}}function At(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}function jt(t,e,n){function r(r){var i=gi[r]||mi;c[r]=i(t[r],e[r],n,r)}Tt(e),St(e),At(e);var o=e["extends"];if(o&&(t="function"==typeof o?jt(t,o.options,n):jt(t,o,n)),e.mixins)for(var a=0,s=e.mixins.length;a<s;a++){var u=e.mixins[a];u.prototype instanceof _t&&(u=u.options),t=jt(t,u,n)}var l,c={};for(l in t)r(l);for(l in e)i(t,l)||r(l);return c}function Et(t,e,n,r){if("string"==typeof n){var i=t[e],o=i[n]||i[xr(n)]||i[_r(xr(n))];return r&&!o&&hi("Failed to resolve "+e.slice(0,-1)+": "+n,t),o}}function Ot(t,e,n,r){if(n){var o=e[t],a=!i(n,t),s=n[t];if("Boolean"===Pt(o.type)&&(a&&!i(o,"default")?s=!1:""!==s&&s!==Cr(t)||(s=!0)),void 0===s){s=$t(r,o,t);var u=ri.shouldConvert;ri.shouldConvert=!0,j(s),ri.shouldConvert=u}return Mt(o,t,s,r,a),s}}function $t(t,e,n){if(i(e,"default")){var r=e["default"];return h(r)&&hi('Invalid default value for prop "'+n+'": Props with type Object/Array must use a factory function to return the default value.',t),"function"==typeof r&&e.type!==Function?r.call(t):r}}function Mt(t,e,n,r,i){if(t.required&&i)return void hi('Missing required prop: "'+e+'"',r);if(null!=n||t.required){var o=t.type,a=!o,s=[];if(o){Array.isArray(o)||(o=[o]);for(var u=0;u<o.length&&!a;u++){var l=Nt(n,o[u]);s.push(l.expectedType),a=l.valid}}if(!a)return void hi('Invalid prop: type check failed for prop "'+e+'". Expected '+s.map(_r).join(", ")+", got "+Object.prototype.toString.call(n).slice(8,-1)+".",r);var c=t.validator;c&&(c(n)||hi('Invalid prop: custom validator check failed for prop "'+e+'".',r))}}function Nt(t,e){var n,r=Pt(e);return n="String"===r?("undefined"==typeof t?"undefined":a(t))===(r="string"):"Number"===r?("undefined"==typeof t?"undefined":a(t))===(r="number"):"Boolean"===r?("undefined"==typeof t?"undefined":a(t))===(r="boolean"):"Function"===r?("undefined"==typeof t?"undefined":a(t))===(r="function"):"Object"===r?d(t):"Array"===r?Array.isArray(t):t instanceof e,{valid:n,expectedType:r}}function Pt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e&&e[1]}function Dt(t){t.use=function(t){if(!t.installed){var e=c(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}}}function Ft(t){t.mixin=function(e){t.options=jt(t.options,e)}}function Bt(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=0===n.cid;if(r&&t._Ctor)return t._Ctor;var i=t.name||n.options.name;/^[a-zA-Z][\w-]*$/.test(i)||(hi('Invalid component name: "'+i+'". Component names can only contain alphanumeric characaters and the hyphen.'),i=null);var o=function(t){this._init(t)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=e++,o.options=jt(n.options,t),o["super"]=n,o.extend=n.extend,Ar._assetTypes.forEach(function(t){o[t]=n[t]}),i&&(o.options.components[i]=o),o.superOptions=n.options,o.extendOptions=t,r&&(t._Ctor=o),o}}function Lt(t){Ar._assetTypes.forEach(function(e){t[e]=function(n,r){return r?("component"===e&&Ar.isReservedTag(n)&&hi("Do not use built-in or reserved HTML elements as component id: "+n),"component"===e&&d(r)&&(r.name=r.name||n,r=t.extend(r)),"directive"===e&&"function"==typeof r&&(r={bind:r,update:r}),this.options[e+"s"][n]=r,r):this.options[e+"s"][n]}})}function Rt(t){var e={};e.get=function(){return Ar},e.set=function(){hi("Do not replace the Vue.config object, set individual fields instead.")},Object.defineProperty(t,"config",e),t.util=yi,t.set=O,t["delete"]=$,t.nextTick=Br,t.options=Object.create(null),Ar._assetTypes.forEach(function(e){t.options[e+"s"]=Object.create(null)}),f(t.options.components,xi),Dt(t),Ft(t),Bt(t),Lt(t)}function It(t){for(var e=t.data,n=t,r=t;r.child;)r=r.child._vnode,r.data&&(e=Ht(r.data,e));for(;n=n.parent;)n.data&&(e=Ht(e,n.data));return qt(e)}function Ht(t,e){return{staticClass:Vt(t.staticClass,e.staticClass),"class":t["class"]?[t["class"],e["class"]]:e["class"]}}function qt(t){var e=t["class"],n=t.staticClass;return n||e?Vt(n,zt(e)):""}function Vt(t,e){return t?e?t+" "+e:t:e||""}function zt(t){var e="";if(!t)return e;if("string"==typeof t)return t;if(Array.isArray(t)){for(var n,r=0,i=t.length;r<i;r++)t[r]&&(n=zt(t[r]))&&(e+=n+" ");return e.slice(0,-1)}if(h(t)){for(var o in t)t[o]&&(e+=o+" ");return e.slice(0,-1)}return e}function Ut(t){return Pi(t)?"svg":"math"===t?"math":void 0}function Wt(t){if(!Or)return!0;if(Fi(t))return!1;if(t=t.toLowerCase(),null!=Bi[t])return Bi[t];var e=document.createElement(t);return t.indexOf("-")>-1?Bi[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Bi[t]=/HTMLUnknownElement/.test(e.toString())}function Xt(t){if("string"==typeof t){var e=t;if(t=document.querySelector(t),!t)return hi("Cannot find element: "+e),document.createElement("div")}return t}function Jt(t){return document.createElement(t)}function Gt(t,e){return document.createElementNS(Ei[t],e)}function Zt(t){return document.createTextNode(t)}function Yt(t){return document.createComment(t)}function Qt(t,e,n){t.insertBefore(e,n)}function Kt(t,e){t.removeChild(e)}function te(t,e){t.appendChild(e)}function ee(t){return t.parentNode}function ne(t){return t.nextSibling}function re(t){return t.tagName}function ie(t,e){t.textContent=e}function oe(t){return t.childNodes}function ae(t,e,n){t.setAttribute(e,n)}function se(t,e){var n=t.data.ref;if(n){var i=t.context,o=t.child||t.elm,a=i.$refs;e?Array.isArray(a[n])?r(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].push(o):a[n]=[o]:a[n]=o}}function ue(t){return null==t}function le(t){return null!=t}function ce(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&!t.data==!e.data}function fe(t,e,n){var r,i,o={};for(r=e;r<=n;++r)i=t[r].key,le(i)&&(o[i]=r);return o}function he(e){function n(t){return new ai(k.tagName(t).toLowerCase(),{},[],(void 0),t)}function r(t,e){function n(){0===--n.listeners&&i(t)}return n.listeners=e,n}function i(t){var e=k.parentNode(t);k.removeChild(e,t)}function o(t,e,n){var r,i,a=t.data;if(t.isRootInsert=!n,le(a)&&(le(r=a.hook)&&le(r=r.init)&&r(t),le(r=t.child)))return l(t,e),t.elm;var f=t.children,h=t.tag;if(le(h)){if(t.ns||Ar.ignoredElements&&Ar.ignoredElements.indexOf(h)>-1||!Ar.isUnknownElement(h)||hi("Unknown custom element: <"+h+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',t.context),i=t.elm=t.ns?k.createElementNS(t.ns,h):k.createElement(h),c(t),Array.isArray(f))for(r=0;r<f.length;++r)k.appendChild(i,o(f[r],e,!0));else s(t.text)&&k.appendChild(i,k.createTextNode(t.text));le(a)&&u(t,e)}else i=t.isComment?t.elm=k.createComment(t.text):t.elm=k.createTextNode(t.text);return t.elm}function a(t){for(;t.child;)t=t.child._vnode;return le(t.tag)}function u(t,e){for(var n=0;n<w.create.length;++n)w.create[n](Wi,t);x=t.data.hook,le(x)&&(x.create&&x.create(Wi,t),x.insert&&e.push(t))}function l(t,e){t.data.pendingInsert&&e.push.apply(e,t.data.pendingInsert),t.elm=t.child.$el,a(t)?(u(t,e),c(t)):(se(t),e.push(t))}function c(t){var e;le(e=t.context)&&le(e=e.$options._scopeId)&&k.setAttribute(t.elm,e,""),le(e=ui)&&e!==t.context&&le(e=e.$options._scopeId)&&k.setAttribute(t.elm,e,"")}function f(t,e,n,r,i,a){for(;r<=i;++r)k.insertBefore(t,o(n[r],a),e)}function h(t){var e,n,r=t.data;if(le(r))for(le(e=r.hook)&&le(e=e.destroy)&&e(t),e=0;e<w.destroy.length;++e)w.destroy[e](t);if(le(e=t.child)&&!r.keepAlive&&h(e._vnode),le(e=t.children))for(n=0;n<t.children.length;++n)h(t.children[n])}function d(t,e,n,r){for(;n<=r;++n){var i=e[n];le(i)&&(le(i.tag)?(p(i),h(i)):k.removeChild(t,i.elm))}}function p(t,e){if(e||le(t.data)){var n=w.remove.length+1;for(e?e.listeners+=n:e=r(t.elm,n),le(x=t.child)&&le(x=x._vnode)&&le(x.data)&&p(x,e),x=0;x<w.remove.length;++x)w.remove[x](t,e);le(x=t.data.hook)&&le(x=x.remove)?x(t,e):e()}else i(t.elm)}function v(t,e,n,r,i){for(var a,s,u,l,c=0,h=0,p=e.length-1,v=e[0],m=e[p],y=n.length-1,b=n[0],x=n[y],_=!i;c<=p&&h<=y;)ue(v)?v=e[++c]:ue(m)?m=e[--p]:ce(v,b)?(g(v,b,r),v=e[++c],b=n[++h]):ce(m,x)?(g(m,x,r),m=e[--p],x=n[--y]):ce(v,x)?(g(v,x,r),_&&k.insertBefore(t,v.elm,k.nextSibling(m.elm)),v=e[++c],x=n[--y]):ce(m,b)?(g(m,b,r),_&&k.insertBefore(t,m.elm,v.elm),m=e[--p],b=n[++h]):(ue(a)&&(a=fe(e,c,p)),s=le(b.key)?a[b.key]:null,ue(s)?(k.insertBefore(t,o(b,r),v.elm),b=n[++h]):(u=e[s],u||hi("It seems there are duplicate keys that is causing an update error. Make sure each v-for item has a unique key."),u.tag!==b.tag?(k.insertBefore(t,o(b,r),v.elm),b=n[++h]):(g(u,b,r),e[s]=void 0,_&&k.insertBefore(t,b.elm,v.elm),b=n[++h])));c>p?(l=ue(n[y+1])?null:n[y+1].elm,f(t,l,n,h,y,r)):h>y&&d(t,e,c,p)}function g(t,e,n,r){if(t!==e){if(e.isStatic&&t.isStatic&&e.key===t.key&&e.isCloned)return void(e.elm=t.elm);var i,o,s=le(i=e.data);s&&le(o=i.hook)&&le(i=o.prepatch)&&i(t,e);var u=e.elm=t.elm,l=t.children,c=e.children;if(s&&a(e)){for(i=0;i<w.update.length;++i)w.update[i](t,e);le(o)&&le(i=o.update)&&i(t,e)}if(ue(e.text)?le(l)&&le(c)?l!==c&&v(u,l,c,n,r):le(c)?(le(t.text)&&k.setTextContent(u,""),f(u,null,c,0,c.length-1,n)):le(l)?d(u,l,0,l.length-1):le(t.text)&&k.setTextContent(u,""):t.text!==e.text&&k.setTextContent(u,e.text),s){for(i=0;i<w.postpatch.length;++i)w.postpatch[i](t,e);le(o)&&le(i=o.postpatch)&&i(t,e)}}}function m(t,e,n){if(n&&t.parent)t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}function y(t,e,n){if(!b(t,e))return!1;e.elm=t;var r=e.tag,i=e.data,o=e.children;if(le(i)&&(le(x=i.hook)&&le(x=x.init)&&x(e,!0),le(x=e.child)))return l(e,n),!0;if(le(r)){if(le(o)){var a=k.childNodes(t),s=!0;if(a.length!==o.length)s=!1;else for(var c=0;c<o.length;c++)if(!y(a[c],o[c],n)){s=!1;break}if(!s)return"undefined"==typeof console||T||(T=!0,console.warn("Parent: ",t),console.warn("Mismatching childNodes vs. VNodes: ",a,o)),!1}le(i)&&u(e,n)}return!0}function b(e,n){return n.tag?0===n.tag.indexOf("vue-component")||n.tag===k.tagName(e).toLowerCase():t(n.text)===e.data}var x,_,w={},C=e.modules,k=e.nodeOps;for(x=0;x<Xi.length;++x)for(w[Xi[x]]=[],_=0;_<C.length;++_)void 0!==C[_][Xi[x]]&&w[Xi[x]].push(C[_][Xi[x]]);var T=!1;return function(t,e,r,i){var s,u,l=!1,c=[];if(t){var f=le(t.nodeType);if(!f&&ce(t,e))g(t,e,c,i);else{if(f){if(1===t.nodeType&&t.hasAttribute("server-rendered")&&(t.removeAttribute("server-rendered"),r=!0),r){if(y(t,e,c))return m(e,c,!0),t;hi("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.")}t=n(t)}if(s=t.elm,u=k.parentNode(s),o(e,c),e.parent&&(e.parent.elm=e.elm,a(e)))for(var p=0;p<w.create.length;++p)w.create[p](Wi,e.parent);null!==u?(k.insertBefore(u,e.elm,k.nextSibling(s)),d(u,[t],0,0)):le(t.tag)&&h(t)}}else l=!0,o(e,c);return m(e,c,l),e.elm}}function de(t,e,n){var r=e.data.directives;if(r)for(var i=t.data.directives,o="update"===n||"componentUpdated"===n,a=0;a<r.length;a++){var s=r[a],u=Et(e.context.$options,"directives",s.name,!0),l=u&&u[n];l&&(o&&i&&(s.oldValue=i[a].value),s.modifiers||(s.modifiers=Gi),l(e.elm,s,e,t))}}function pe(t,e){if(t.data.attrs||e.data.attrs){var n,r,i,o=e.elm,a=t.data.attrs||{},s=e.data.attrs||{};s.__ob__&&(s=e.data.attrs=f({},s));for(n in s)r=s[n],i=a[n],i!==r&&ve(o,n,r);for(n in a)null==s[n]&&(Si(n)?o.removeAttributeNS(Ti,Ai(n)):Ci(n)||o.removeAttribute(n))}}function ve(t,e,n){ki(e)?ji(n)?t.removeAttribute(e):t.setAttribute(e,e):Ci(e)?t.setAttribute(e,ji(n)||"false"===n?"false":"true"):Si(e)?ji(n)?t.removeAttributeNS(Ti,Ai(e)):t.setAttributeNS(Ti,e,n):ji(n)?t.removeAttribute(e):t.setAttribute(e,n)}function ge(t,e){var n=e.elm,r=e.data,i=t.data;if(r.staticClass||r["class"]||i&&(i.staticClass||i["class"])){var o=It(e),a=n._transitionClasses;a&&(o=Vt(o,zt(a))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}function me(t,e){if(t.data.on||e.data.on){var n=e.data.on||{},r=t.data.on||{},i=e.elm._v_add||(e.elm._v_add=function(t,n,r){e.elm.addEventListener(t,n,r)}),o=e.elm._v_remove||(e.elm._v_remove=function(t,n){e.elm.removeEventListener(t,n)});G(n,r,i,o)}}function ye(t,e){if(t.data.domProps||e.data.domProps){var n,r,i=e.elm,o=t.data.domProps||{},a=e.data.domProps||{};a.__ob__&&(a=e.data.domProps=f({},a));for(n in o)null==a[n]&&(i[n]=void 0);for(n in a)if("textContent"!==n&&"innerHTML"!==n||!e.children||(e.children.length=0),r=a[n],"value"===n){i._value=r;var s=null==r?"":String(r);i.value!==s&&(i.value=s)}else i[n]=r}}function be(t,e){if(t.data&&t.data.style||e.data.style){var n,r,i=e.elm,o=t.data.style||{},a=e.data.style||{};if("string"==typeof a)return void(i.style.cssText=a);var s=a.__ob__;Array.isArray(a)&&(a=e.data.style=p(a)),s&&(a=e.data.style=f({},a));for(r in o)a[r]||(i.style[no(r)]="");for(r in a)n=a[r],n!==o[r]&&(i.style[no(r)]=n||"")}}function xe(t,e){if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+t.getAttribute("class")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function _e(t,e){if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e);else{for(var n=" "+t.getAttribute("class")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");t.setAttribute("class",n.trim())}}function we(t){fo(function(){fo(t)})}function Ce(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),xe(t,e)}function ke(t,e){t._transitionClasses&&r(t._transitionClasses,e),_e(t,e)}function Te(t,e,n){var r=Se(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===oo?uo:co,u=0,l=function(){t.removeEventListener(s,c),n()},c=function(e){e.target===t&&++u>=a&&l()};setTimeout(function(){u<a&&l()},o+1),t.addEventListener(s,c)}function Se(t,e){var n,r=window.getComputedStyle(t),i=r[so+"Delay"].split(", "),o=r[so+"Duration"].split(", "),a=Ae(i,o),s=r[lo+"Delay"].split(", "),u=r[lo+"Duration"].split(", "),l=Ae(s,u),c=0,f=0;e===oo?a>0&&(n=oo,c=a,f=o.length):e===ao?l>0&&(n=ao,c=l,f=u.length):(c=Math.max(a,l),n=c>0?a>l?oo:ao:null,f=n?n===oo?o.length:u.length:0);var h=n===oo&&ho.test(r[so+"Property"]);return{type:n,timeout:c,propCount:f,hasTransform:h}}function Ae(t,e){return Math.max.apply(null,e.map(function(e,n){return je(e)+je(t[n])}))}function je(t){return 1e3*Number(t.slice(0,-1))}function Ee(t){var e=t.elm;e._leaveCb&&(e._leaveCb.cancelled=!0,e._leaveCb());var n=$e(t.data.transition);if(n&&!e._enterCb&&1===e.nodeType){var r=n.css,i=n.type,o=n.enterClass,a=n.enterActiveClass,s=n.appearClass,u=n.appearActiveClass,l=n.beforeEnter,c=n.enter,f=n.afterEnter,h=n.enterCancelled,d=n.beforeAppear,p=n.appear,v=n.afterAppear,g=n.appearCancelled,m=ui.$vnode,y=m&&m.parent?m.parent.context:ui,b=!y._isMounted||!t.isRootInsert;
-if(!b||p||""===p){var x=b?s:o,_=b?u:a,w=b?d||l:l,C=b&&"function"==typeof p?p:c,k=b?v||f:f,T=b?g||h:h,S=r!==!1&&!Ii,A=C&&(C._length||C.length)>1,j=e._enterCb=Me(function(){S&&ke(e,_),j.cancelled?(S&&ke(e,x),T&&T(e)):k&&k(e),e._enterCb=null});t.data.show||J(t.data.hook||(t.data.hook={}),"insert",function(){var n=e.parentNode,r=n&&n._pending&&n._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),C&&C(e,j)}),w&&w(e),S&&(Ce(e,x),Ce(e,_),we(function(){ke(e,x),j.cancelled||A||Te(e,i,j)})),t.data.show&&C&&C(e,j),S||A||j()}}}function Oe(t,e){function n(){g.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),l&&l(r),p&&(Ce(r,s),Ce(r,u),we(function(){ke(r,s),g.cancelled||v||Te(r,a,g)})),c&&c(r,g),p||v||g())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=$e(t.data.transition);if(!i)return e();if(!r._leaveCb&&1===r.nodeType){var o=i.css,a=i.type,s=i.leaveClass,u=i.leaveActiveClass,l=i.beforeLeave,c=i.leave,f=i.afterLeave,h=i.leaveCancelled,d=i.delayLeave,p=o!==!1&&!Ii,v=c&&(c._length||c.length)>1,g=r._leaveCb=Me(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),p&&ke(r,u),g.cancelled?(p&&ke(r,s),h&&h(r)):(e(),f&&f(r)),r._leaveCb=null});d?d(n):n()}}function $e(t){if(t){if("object"===("undefined"==typeof t?"undefined":a(t))){var e={};return t.css!==!1&&f(e,po(t.name||"v")),f(e,t),e}return"string"==typeof t?po(t):void 0}}function Me(t){var e=!1;return function(){e||(e=!0,t())}}function Ne(t,e,n){var r=e.value,i=t.multiple;if(i&&!Array.isArray(r))return void hi('<select multiple v-model="'+e.expression+'"> expects an Array value for its binding, but got '+Object.prototype.toString.call(r).slice(8,-1),n);for(var o,a,s=0,u=t.options.length;s<u;s++)if(a=t.options[s],i)o=r.indexOf(De(a))>-1,a.selected!==o&&(a.selected=o);else if(De(a)===r)return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}function Pe(t,e){for(var n=0,r=e.length;n<r;n++)if(De(e[n])===t)return!1;return!0}function De(t){return"_value"in t?t._value:t.value||t.text}function Fe(t){t.target.composing=!0}function Be(t){t.target.composing=!1,Le(t.target,"input")}function Le(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Re(t){return!t.child||t.data&&t.data.transition?t:Re(t.child._vnode)}function Ie(t){var e=t&&t.componentOptions;return e&&e.Ctor.options["abstract"]?Ie(X(e.children)):t}function He(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[xr(o)]=i[o].fn;return e}function qe(t,e){return/\d-keep-alive$/.test(e.tag)?t("keep-alive"):null}function Ve(t){for(;t=t.parent;)if(t.data.transition)return!0}function ze(t){return jo.innerHTML=t,jo.textContent}function Ue(t,e){return e&&(t=t.replace(sa,"<").replace(ua,">")),t.replace(aa,"&").replace(la,'"')}function We(t,e){function n(e){d+=e,t=t.substring(e)}function r(){var e=t.match(Do);if(e){var r={tagName:e[1],attrs:[],start:d};n(e[0].length);for(var i,o;!(i=t.match(Fo))&&(o=t.match(Mo));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=d,r}}function i(t){var n=t.tagName,r=t.unarySlash;l&&("p"===s&&Ni(n)&&o("",s),Mi(n)&&s===n&&o("",n));for(var i=c(n)||"html"===n&&"head"===s||!!r,a=t.attrs.length,d=new Array(a),p=0;p<a;p++){var v=t.attrs[p];Ro&&v[0].indexOf('""')===-1&&(""===v[3]&&delete v[3],""===v[4]&&delete v[4],""===v[5]&&delete v[5]);var g=v[3]||v[4]||v[5]||"";d[p]={name:v[1],value:f?Ue(g,h):g}}i||(u.push({tag:n,attrs:d}),s=n,r=""),e.start&&e.start(n,d,i,t.start,t.end)}function o(t,n,r,i){var o;if(null==r&&(r=d),null==i&&(i=d),n){var a=n.toLowerCase();for(o=u.length-1;o>=0&&u[o].tag.toLowerCase()!==a;o--);}else o=0;if(o>=0){for(var l=u.length-1;l>=o;l--)e.end&&e.end(u[l].tag,r,i);u.length=o,s=o&&u[o-1].tag}else"br"===n.toLowerCase()?e.start&&e.start(n,[],!0,r,i):"p"===n.toLowerCase()&&(e.start&&e.start(n,[],!1,r,i),e.end&&e.end(n,r,i))}for(var a,s,u=[],l=e.expectHTML,c=e.isUnaryTag||Sr,f=e.isFromDOM,h=e.shouldDecodeTags,d=0;t;){if(a=t,s&&ia(s)){var p=s.toLowerCase(),v=oa[p]||(oa[p]=new RegExp("([\\s\\S]*?)(</"+p+"[^>]*>)","i")),g=0,m=t.replace(v,function(t,n,r){return g=r.length,"script"!==p&&"style"!==p&&"noscript"!==p&&(n=n.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)\]\]>/g,"$1")),e.chars&&e.chars(n),""});d+=t.length-m.length,t=m,o("</"+p+">",p,d-g,d)}else{var y=t.indexOf("<");if(0===y){if(/^<!--/.test(t)){var b=t.indexOf("-->");if(b>=0){n(b+3);continue}}if(/^<!\[/.test(t)){var x=t.indexOf("]>");if(x>=0){n(x+2);continue}}var _=t.match(Lo);if(_){n(_[0].length);continue}var w=t.match(Bo);if(w){var C=d;n(w[0].length),o(w[0],w[1],C,d);continue}var k=r();if(k){i(k);continue}}var T;y>=0?(T=t.substring(0,y),n(y)):(T=t,t=""),e.chars&&e.chars(T)}if(t===a)throw new Error("Error parsing template:\n\n"+t)}o()}function Xe(t){function e(){(a||(a=[])).push(t.slice(h,i).trim()),h=i+1}var n,r,i,o,a,s=!1,u=!1,l=0,c=0,f=0,h=0;for(i=0;i<t.length;i++)if(r=n,n=t.charCodeAt(i),s)39===n&&92!==r&&(s=!s);else if(u)34===n&&92!==r&&(u=!u);else if(124!==n||124===t.charCodeAt(i+1)||124===t.charCodeAt(i-1)||l||c||f)switch(n){case 34:u=!0;break;case 39:s=!0;break;case 40:f++;break;case 41:f--;break;case 91:c++;break;case 93:c--;break;case 123:l++;break;case 125:l--}else void 0===o?(h=i+1,o=t.slice(0,i).trim()):e();if(void 0===o?o=t.slice(0,i).trim():0!==h&&e(),a)for(i=0;i<a.length;i++)o=Je(o,a[i]);return o}function Je(t,e){var n=e.indexOf("(");if(n<0)return'_f("'+e+'")('+t+")";var r=e.slice(0,n),i=e.slice(n+1);return'_f("'+r+'")('+t+","+i}function Ge(t,e){var n=e?ha(e):ca;if(n.test(t)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(t);){i=r.index,i>a&&o.push(JSON.stringify(t.slice(a,i)));var s=Xe(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a<t.length&&o.push(JSON.stringify(t.slice(a))),o.join("+")}}function Ze(t){console.error("[Vue parser]: "+t)}function Ye(t,e){return t?t.map(function(t){return t[e]}).filter(function(t){return t}):[]}function Qe(t,e,n){(t.props||(t.props=[])).push({name:e,value:n})}function Ke(t,e,n){(t.attrs||(t.attrs=[])).push({name:e,value:n})}function tn(t,e,n,r,i){(t.directives||(t.directives=[])).push({name:e,value:n,arg:r,modifiers:i})}function en(t,e,n){var r=t.hooks||(t.hooks={}),i=r[e];i?i.push(n):r[e]=[n]}function nn(t,e,n,r,i){r&&r.capture&&(delete r.capture,e="!"+e);var o;r&&r["native"]?(delete r["native"],o=t.nativeEvents||(t.nativeEvents={})):o=t.events||(t.events={});var a={value:n,modifiers:r},s=o[e];Array.isArray(s)?i?s.unshift(a):s.push(a):s?o[e]=i?[a,s]:[s,a]:o[e]=a}function rn(t,e,n){var r=on(t,":"+e)||on(t,"v-bind:"+e);if(null!=r)return r;if(n!==!1){var i=on(t,e);if(null!=i)return JSON.stringify(i)}}function on(t,e){var n;if(null!=(n=t.attrsMap[e]))for(var r=t.attrsList,i=0,o=r.length;i<o;i++)if(r[i].name===e){r.splice(i,1);break}return n}function an(t,e){Io=e.warn||Ze,Ho=e.getTagNamespace||Sr,qo=e.mustUseProp||Sr,Vo=e.isPreTag||Sr,zo=Ye(e.modules,"preTransformNode"),Uo=Ye(e.modules,"transformNode"),Wo=Ye(e.modules,"postTransformNode"),Xo=e.delimiters,Jo=Object.create(null);var n,r,i=[],o=e.preserveWhitespace!==!1,a=!1,s=!1,u=!1;return We(t,{expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,isFromDOM:e.isFromDOM,shouldDecodeTags:e.shouldDecodeTags,start:function(o,l,c){function f(e){"slot"!==e.tag&&"template"!==e.tag||Io("Cannot use <"+e.tag+"> as component root element because it may contain multiple nodes:\n"+t),e.attrsMap.hasOwnProperty("v-for")&&Io("Cannot use v-for on stateful component root element because it renders multiple elements:\n"+t)}var h=r&&r.ns||Ho(o);e.isIE&&"svg"===h&&(l=Cn(l));var d={type:1,tag:o,attrsList:l,attrsMap:xn(l),parent:r,children:[]};h&&(d.ns=h),wn(d)&&(d.forbidden=!0,Io("Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <"+o+">."));for(var p=0;p<zo.length;p++)zo[p](d,e);if(a||(sn(d),d.pre&&(a=!0)),Vo(d.tag)&&(s=!0),a)un(d);else{fn(d),hn(d),pn(d),d.plain=!d.key&&!l.length,ln(d),cn(d),vn(d),gn(d);for(var v=0;v<Uo.length;v++)Uo[v](d,e);mn(d)}n?i.length||u||(n.attrsMap.hasOwnProperty("v-if")&&d.attrsMap.hasOwnProperty("v-else")?f(d):(u=!0,Io("Component template should contain exactly one root element:\n\n"+t))):(n=d,f(n)),r&&!d.forbidden&&(d["else"]?dn(d,r):(r.children.push(d),d.parent=r)),c||(r=d,i.push(d));for(var g=0;g<Wo.length;g++)Wo[g](d,e)},end:function(){var t=i[i.length-1],e=t.children[t.children.length-1];e&&3===e.type&&" "===e.text&&t.children.pop(),i.length-=1,r=i[i.length-1],t.pre&&(a=!1),Vo(t.tag)&&(s=!1)},chars:function(e){if(!r)return void(u||(u=!0,Io("Component template should contain exactly one root element:\n\n"+t)));if(e=s||e.trim()?xa(e):o&&r.children.length?" ":""){var n;!a&&" "!==e&&(n=Ge(e,Xo))?r.children.push({type:2,expression:n,text:e}):r.children.push({type:3,text:e})}}}),n}function sn(t){null!=on(t,"v-pre")&&(t.pre=!0)}function un(t){var e=t.attrsList.length;if(e)for(var n=t.attrs=new Array(e),r=0;r<e;r++)n[r]={name:t.attrsList[r].name,value:JSON.stringify(t.attrsList[r].value)};else t.pre||(t.plain=!0)}function ln(t){var e=rn(t,"key");e&&(t.key=e)}function cn(t){var e=rn(t,"ref");e&&(t.ref=e,t.refInFor=yn(t))}function fn(t){var e;if(e=on(t,"v-for")){var n=e.match(pa);if(!n)return void Io("Invalid v-for expression: "+e);t["for"]=n[2].trim();var r=n[1].trim(),i=r.match(va);i?(t.alias=i[1].trim(),t.iterator1=i[2].trim(),i[3]&&(t.iterator2=i[3].trim())):t.alias=r}}function hn(t){var e=on(t,"v-if");e&&(t["if"]=e),null!=on(t,"v-else")&&(t["else"]=!0)}function dn(t,e){var n=_n(e.children);n&&n["if"]?n.elseBlock=t:Io("v-else used on element <"+t.tag+"> without corresponding v-if.")}function pn(t){var e=on(t,"v-once");null!=e&&(t.once=!0)}function vn(t){if("slot"===t.tag){t.attrsMap[":name"]||t.attrsMap["v-bind:name"]||!yn(t)||Io("Static <slot> found inside v-for: they will not render correctly. Render the list in parent scope and use a single <slot> instead."),t.slotName=rn(t,"name");var e=t.slotName;Jo[e]&&Io("Duplicate "+(e?"<slot> with name "+e:"default <slot>")+" found in the same template."),Jo[e]=!0}else{var n=rn(t,"slot");n&&(t.slotTarget=n)}}function gn(t){var e;(e=rn(t,"is"))&&(t.component=e),null!=on(t,"inline-template")&&(t.inlineTemplate=!0)}function mn(t){var e,n,r,i,o,a,s,u=t.attrsList;for(e=0,n=u.length;e<n;e++)if(r=u[e].name,i=u[e].value,da.test(r))if(t.hasBindings=!0,a=bn(r),a&&(r=r.replace(ba,"")),ga.test(r))r=r.replace(ga,""),a&&a.prop&&(s=!0,r=xr(r),"innerHtml"===r&&(r="innerHTML")),s||qo(r)?Qe(t,r,i):Ke(t,r,i);else if(ma.test(r))r=r.replace(ma,""),nn(t,r,i,a);else{r=r.replace(da,"");var l=r.match(ya);l&&(o=l[1])&&(r=r.slice(0,-(o.length+1))),tn(t,r,i,o,a)}else{var c=Ge(i,Xo);c&&Io(r+'="'+i+'": Interpolation inside attributes has been deprecated. Use v-bind or the colon shorthand instead.'),Ke(t,r,JSON.stringify(i))}}function yn(t){for(var e=t;e;){if(void 0!==e["for"])return!0;e=e.parent}return!1}function bn(t){var e=t.match(ba);if(e){var n={};return e.forEach(function(t){n[t.slice(1)]=!0}),n}}function xn(t){for(var e={},n=0,r=t.length;n<r;n++)e[t[n].name]&&Io("duplicate attribute: "+t[n].name),e[t[n].name]=t[n].value;return e}function _n(t){for(var e=t.length;e--;)if(t[e].tag)return t[e]}function wn(t){return"style"===t.tag||"script"===t.tag&&(!t.attrsMap.type||"text/javascript"===t.attrsMap.type)}function Cn(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];_a.test(r.name)||(r.name=r.name.replace(wa,""),e.push(r))}return e}function kn(t,e){t&&(Go=Ca(e.staticKeys||""),Zo=e.isReservedTag||function(){return!1},Sn(t),An(t,!1))}function Tn(t){return n("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(t?","+t:""))}function Sn(t){if(t["static"]=jn(t),1===t.type)for(var e=0,n=t.children.length;e<n;e++){var r=t.children[e];Sn(r),r["static"]||(t["static"]=!1)}}function An(t,e){if(1===t.type){if(t.once||t["static"])return t.staticRoot=!0,void(t.staticInFor=e);if(t.children)for(var n=0,r=t.children.length;n<r;n++)An(t.children[n],!!t["for"])}}function jn(t){return 2!==t.type&&(3===t.type||!(!t.pre&&(t.hasBindings||t["if"]||t["for"]||mr(t.tag)||!Zo(t.tag)||!Object.keys(t).every(Go))))}function En(t,e){var n=e?"nativeOn:{":"on:{";for(var r in t)n+='"'+r+'":'+On(t[r])+",";return n.slice(0,-1)+"}"}function On(t){if(t){if(Array.isArray(t))return"["+t.map(On).join(",")+"]";if(t.modifiers){var e="",n=[];for(var r in t.modifiers)Sa[r]?e+=Sa[r]:n.push(r);n.length&&(e=$n(n)+e);var i=ka.test(t.value)?t.value+"($event)":t.value;return"function($event){"+e+i+"}"}return ka.test(t.value)?t.value:"function($event){"+t.value+"}"}return"function(){}"}function $n(t){var e=1===t.length?Mn(t[0]):Array.prototype.concat.apply([],t.map(Mn));return Array.isArray(e)?"if("+e.map(function(t){return"$event.keyCode!=="+t}).join("&&")+")return;":"if($event.keyCode!=="+e+")return;"}function Mn(t){return parseInt(t,10)||Ta[t]||"_k("+JSON.stringify(t)+")"}function Nn(t,e){en(t,"construct","_b(n1,"+e.value+(e.modifiers&&e.modifiers.prop?",true":"")+")")}function Pn(t,e){var n=ea,r=ea=[];na=e,Yo=e.warn||Ze,Qo=Ye(e.modules,"transformCode"),Ko=Ye(e.modules,"genData"),ta=e.directives||{};var i=t?Dn(t):'_h("div")';return ea=n,{render:"with(this){return "+i+"}",staticRenderFns:r}}function Dn(t){if(t.staticRoot&&!t.staticProcessed)return t.staticProcessed=!0,ea.push("with(this){return "+Dn(t)+"}"),"_m("+(ea.length-1)+(t.staticInFor?",true":"")+")";if(t["for"]&&!t.forProcessed)return Ln(t);if(t["if"]&&!t.ifProcessed)return Fn(t);if("template"!==t.tag||t.slotTarget){if("slot"===t.tag)return zn(t);var e;if(t.component)e=Un(t);else{var n=Rn(t),r=t.inlineTemplate?null:Hn(t);e="_h('"+t.tag+"'"+(n?","+n:"")+(r?","+r:"")+")"}for(var i=0;i<Qo.length;i++)e=Qo[i](t,e);return e}return Hn(t)||"void 0"}function Fn(t){var e=t["if"];return t.ifProcessed=!0,"("+e+")?"+Dn(t)+":"+Bn(t)}function Bn(t){return t.elseBlock?Dn(t.elseBlock):"_e()"}function Ln(t){var e=t["for"],n=t.alias,r=t.iterator1?","+t.iterator1:"",i=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,"("+e+")&&_l(("+e+"),function("+n+r+i+"){return "+Dn(t)+"})"}function Rn(t){if(!t.plain){var e="{",n=In(t);n&&(e+=n+","),t.key&&(e+="key:"+t.key+","),t.ref&&(e+="ref:"+t.ref+","),t.refInFor&&(e+="refInFor:true,"),t.component&&(e+='tag:"'+t.tag+'",'),t.slotTarget&&(e+="slot:"+t.slotTarget+",");for(var r=0;r<Ko.length;r++)e+=Ko[r](t);if(t.attrs&&(e+="attrs:{"+Wn(t.attrs)+"},"),t.props&&(e+="domProps:{"+Wn(t.props)+"},"),t.hooks&&(e+="hook:{"+Xn(t.hooks)+"},"),t.events&&(e+=En(t.events)+","),t.nativeEvents&&(e+=En(t.nativeEvents,!0)+","),t.inlineTemplate){var i=t.children[0];if((t.children.length>1||1!==i.type)&&Yo("Inline-template components must have exactly one child element."),1===i.type){var o=Pn(i,na);e+="inlineTemplate:{render:function(){"+o.render+"},staticRenderFns:["+o.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}return e.replace(/,$/,"")+"}"}}function In(t){var e=t.directives;if(e){var n,r,i,o,a="directives:[",s=!1;for(n=0,r=e.length;n<r;n++){i=e[n],o=!0;var u=ta[i.name]||Aa[i.name];u&&(o=!!u(t,i,Yo)),o&&(s=!0,a+='{name:"'+i.name+'"'+(i.value?",value:("+i.value+"),expression:"+JSON.stringify(i.value):"")+(i.arg?',arg:"'+i.arg+'"':"")+(i.modifiers?",modifiers:"+JSON.stringify(i.modifiers):"")+"},")}return s?a.slice(0,-1)+"]":void 0}}function Hn(t){if(t.children.length)return"["+t.children.map(qn).join(",")+"]"}function qn(t){return 1===t.type?Dn(t):Vn(t)}function Vn(t){return 2===t.type?t.expression:JSON.stringify(t.text)}function zn(t){var e="$slots["+(t.slotName||'"default"')+"]",n=Hn(t);return n?"("+e+"||"+n+")":e}function Un(t){var e=Hn(t);return"_h("+t.component+","+Rn(t)+(e?","+e:"")+")"}function Wn(t){for(var e="",n=0;n<t.length;n++){var r=t[n];e+='"'+r.name+'":'+r.value+","}return e.slice(0,-1)}function Xn(t){var e="";for(var n in t)e+='"'+n+'":function(n1,n2){'+t[n].join(";")+"},";return e.slice(0,-1)}function Jn(t,e){var n=an(t.trim(),e);kn(n,e);var r=Pn(n,e);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}}function Gn(t){var e=[];return t&&Zn(t,e),e}function Zn(t,e){if(1===t.type){for(var n in t.attrsMap)if(da.test(n)){var r=t.attrsMap[n];r&&("v-for"===n?Yn(t,'v-for="'+r+'"',e):Kn(r,n+'="'+r+'"',e))}if(t.children)for(var i=0;i<t.children.length;i++)Zn(t.children[i],e)}else 2===t.type&&Kn(t.expression,t.text,e)}function Yn(t,e,n){Kn(t["for"]||"",e,n),Qn(t.alias,"v-for alias",e,n),Qn(t.iterator1,"v-for iterator",e,n),Qn(t.iterator2,"v-for iterator",e,n)}function Qn(t,e,n,r){"string"!=typeof t||Ea.test(t)||r.push("- invalid "+e+' "'+t+'" in expression: '+n)}function Kn(t,e,n){try{new Function("return "+t)}catch(r){var i=t.replace(Oa,"").match(ja);i?n.push('- avoid using JavaScript keyword as property name: "'+i[0]+'" in expression '+e):n.push("- invalid expression: "+e)}}function tr(t,e){var n=e.warn||Ze,r=on(t,"class");if(r){var i=Ge(r,e.delimiters);i&&n('class="'+r+'": Interpolation inside attributes has been deprecated. Use v-bind or the colon shorthand instead.')}r&&(t.staticClass=JSON.stringify(r));var o=rn(t,"class",!1);o&&(t.classBinding=o)}function er(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}function nr(t){var e=rn(t,"style",!1);e&&(t.styleBinding=e)}function rr(t){return t.styleBinding?"style:("+t.styleBinding+"),":""}function ir(t,e,n){ra=n;var r=e.value,i=e.modifiers,o=t.tag,a=t.attrsMap.type;if("select"===o)return ur(t,r);if("input"===o&&"checkbox"===a)or(t,r);else{if("input"!==o||"radio"!==a)return sr(t,r,i);ar(t,r)}}function or(t,e){null!=t.attrsMap.checked&&ra("<"+t.tag+' v-model="'+e+"\" checked>:\ninline checked attributes will be ignored when using v-model. Declare initial values in the component's data option instead.");var n=rn(t,"value")||"null",r=rn(t,"true-value")||"true",i=rn(t,"false-value")||"false";Qe(t,"checked","Array.isArray("+e+")?("+e+").indexOf("+n+")>-1:("+e+")===("+r+")"),nn(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+r+"):("+i+");if(Array.isArray($$a)){var $$v="+n+",$$i=$$a.indexOf($$v);if($$c){$$i<0&&("+e+"=$$a.concat($$v))}else{$$i>-1&&("+e+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+e+"=$$c}",null,!0)}function ar(t,e){null!=t.attrsMap.checked&&ra("<"+t.tag+' v-model="'+e+"\" checked>:\ninline checked attributes will be ignored when using v-model. Declare initial values in the component's data option instead.");var n=rn(t,"value")||"null";Qe(t,"checked","("+e+")===("+n+")"),nn(t,"change",e+"="+n,null,!0)}function sr(t,e,n){"input"===t.tag&&t.attrsMap.value&&ra("<"+t.tag+' v-model="'+e+'" value="'+t.attrsMap.value+"\">:\ninline value attributes will be ignored when using v-model. Declare initial values in the component's data option instead."),"textarea"===t.tag&&t.children.length&&ra('<textarea v-model="'+e+"\">:\ninline content inside <textarea> will be ignored when using v-model. Declare initial values in the component's data option instead.");var r=t.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,u=o||Ri&&"range"===r?"change":"input",l=!o&&"range"!==r,c="input"===t.tag||"textarea"===t.tag,f=c?"$event.target.value"+(s?".trim()":""):"$event",h=a||"number"===r?e+"=_n("+f+")":e+"="+f;if(c&&l&&(h="if($event.target.composing)return;"+h),Qe(t,"value",c?"_s("+e+")":"("+e+")"),nn(t,u,h,null,!0),l)return!0}function ur(t,e){t.children.some(lr);var n=e+'=Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){return "_value" in o ? o._value : o.value})'+(null==t.attrsMap.multiple?"[0]":"");return nn(t,"change",n,null,!0),!0}function lr(t){return 1===t.type&&"option"===t.tag&&null!=t.attrsMap.selected&&(ra('<select v-model="'+t.parent.attrsMap["v-model"]+"\">:\ninline selected attributes on <option> will be ignored when using v-model. Declare initial values in the component's data option instead."),!0)}function cr(t,e){e.value&&Qe(t,"textContent","_s("+e.value+")")}function fr(t,e){e.value&&Qe(t,"innerHTML","_s("+e.value+")")}function hr(t,e){return e=e?f(f({},Fa),e):Fa,Jn(t,e)}function dr(t,e,n){var r=e&&e.warn||hi;try{new Function("return 1")}catch(i){i.toString().match(/unsafe-eval|CSP/)&&r("It seems you are using the standalone build of Vue.js in an environment with Content Security Policy that prohibits unsafe-eval. The template compiler cannot work in this environment. Consider relaxing the policy to allow unsafe-eval or pre-compiling your templates into render functions.")}var o=e&&e.delimiters?String(e.delimiters)+t:t;if(Da[o])return Da[o];var a={},s=hr(t,e);a.render=pr(s.render);var u=s.staticRenderFns.length;a.staticRenderFns=new Array(u);for(var l=0;l<u;l++)a.staticRenderFns[l]=pr(s.staticRenderFns[l]);return(a.render===v||a.staticRenderFns.some(function(t){return t===v}))&&r("failed to compile template:\n\n"+t+"\n\n"+Gn(s.ast).join("\n")+"\n\n",n),Da[o]=a}function pr(t){try{return new Function(t)}catch(e){return v}}function vr(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}var gr,mr=n("slot,component",!0),yr=Object.prototype.hasOwnProperty,br=/-(\w)/g,xr=u(function(t){return t.replace(br,function(t,e){return e?e.toUpperCase():""})}),_r=u(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),wr=/([^-])([A-Z])/g,Cr=u(function(t){return t.replace(wr,"$1-$2").replace(wr,"$1-$2").toLowerCase()}),kr=Object.prototype.toString,Tr="[object Object]",Sr=function(){return!1},Ar={optionMergeStrategies:Object.create(null),silent:!1,devtools:!0,errorHandler:null,ignoredElements:null,keyCodes:Object.create(null),isReservedTag:Sr,isUnknownElement:Sr,getTagNamespace:v,mustUseProp:Sr,_assetTypes:["component","directive","filter"],_lifecycleHooks:["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100,_isServer:!1},jr=/[^\w\.\$]/,Er="__proto__"in{},Or="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),$r=Or&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Mr=Or&&window.navigator.userAgent.toLowerCase(),Nr=Mr&&/(iphone|ipad|ipod|ios)/i.test(Mr),Pr=Mr&&Nr&&Mr.match(/os ([\d_]+)/),Dr=Pr&&Pr[1].split("_"),Fr=Dr&&Number(Dr[0])>=9&&Number(Dr[1])>=3&&!window.indexedDB,Br=function(){function t(){r=!1;var t=n.slice(0);n=[];for(var e=0;e<t.length;e++)t[e]()}var e,n=[],r=!1;if("undefined"==typeof MutationObserver||Fr){var i=Or?window:"undefined"!=typeof o?o:{};e=i.setImmediate||setTimeout}else{var a=1,s=new MutationObserver(t),u=document.createTextNode(String(a));s.observe(u,{characterData:!0}),e=function(){a=(a+1)%2,u.data=String(a)}}return function(i,o){var a=o?function(){i.call(o)}:i;n.push(a),r||(r=!0,e(t,0))}}();gr="undefined"!=typeof Set&&/native code/.test(Set.toString())?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return void 0!==this.set[t]},t.prototype.add=function(t){this.set[t]=1},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Lr,Rr,Ir,Hr=n("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,require");Lr="undefined"!=typeof Proxy&&Proxy.toString().match(/native code/),Rr={has:function Ra(t,e){var Ra=e in t,n=Hr(e)||"_"===e.charAt(0);return Ra||n||hi('Property or method "'+e+'" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option.',t),Ra||!n}},Ir=function(t){Lr?t._renderProxy=new Proxy(t,Rr):t._renderProxy=t};var qr=0,Vr=function(){this.id=qr++,this.subs=[]};Vr.prototype.addSub=function(t){this.subs.push(t)},Vr.prototype.removeSub=function(t){r(this.subs,t)},Vr.prototype.depend=function(){Vr.target&&Vr.target.addDep(this)},Vr.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},Vr.target=null;var zr=[],Ur=[],Wr={},Xr={},Jr=!1,Gr=!1,Zr=0,Yr=0,Qr=function(t,e,n,r){void 0===r&&(r={}),this.vm=t,t._watchers.push(this),this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.expression=e.toString(),this.cb=n,this.id=++Yr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new gr,this.newDepIds=new gr,"function"==typeof e?this.getter=e:(this.getter=b(e),this.getter||(this.getter=function(){},hi('Failed watching path: "'+e+'" Watcher only accepts simple dot-delimited paths. For full control, use a function instead.',t))),this.value=this.lazy?void 0:this.get()};Qr.prototype.get=function(){x(this);var t=this.getter.call(this.vm,this.vm);return this.deep&&T(t),_(),this.cleanupDeps(),t},Qr.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},Qr.prototype.cleanupDeps=function(){for(var t=this,e=this.deps.length;e--;){var n=t.deps[e];t.newDepIds.has(n.id)||n.removeSub(t)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},Qr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():k(this)},Qr.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||h(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(n){if(hi('Error in watcher "'+this.expression+'"',this.vm),!Ar.errorHandler)throw n;Ar.errorHandler.call(null,n,this.vm)}else this.cb.call(this.vm,t,e)}}},Qr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Qr.prototype.depend=function(){for(var t=this,e=this.deps.length;e--;)t.deps[e].depend()},Qr.prototype.teardown=function(){var t=this;if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||r(this.vm._watchers,this);for(var e=this.deps.length;e--;)t.deps[e].removeSub(t);this.active=!1}};var Kr=new gr,ti=Array.prototype,ei=Object.create(ti);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=ti[t];y(ei,t,function(){for(var n=arguments,r=arguments.length,i=new Array(r);r--;)i[r]=n[r];var o,a=e.apply(this,i),s=this.__ob__;switch(t){case"push":o=i;break;case"unshift":o=i;break;case"splice":o=i.slice(2)}return o&&s.observeArray(o),s.dep.notify(),a})});var ni=Object.getOwnPropertyNames(ei),ri={shouldConvert:!0,isSettingProps:!1},ii=function(t){if(this.value=t,this.dep=new Vr,this.vmCount=0,y(t,"__ob__",this),Array.isArray(t)){var e=Er?S:A;e(t,ei,ni),this.observeArray(t)}else this.walk(t)};ii.prototype.walk=function(t){var e=this.value;for(var n in t)E(e,n,t[n])},ii.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)j(t[e])};var oi={enumerable:!0,configurable:!0,get:v,set:v},ai=function(t,e,n,r,i,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=o,this.context=a,this.key=e&&e.key,this.componentOptions=s,this.child=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1;var u=e&&e.hook&&e.hook.construct;u&&u(this)},si=function(){var t=new ai;return t.text="",t.isComment=!0,t},ui=null,li={init:it,prepatch:ot,insert:at,destroy:st},ci=Object.keys(li),fi=0;xt(_t),I(_t),bt(_t),K(_t),gt(_t);var hi,di,pi="undefined"!=typeof console;hi=function(t,e){pi&&!Ar.silent&&console.error("[Vue warn]: "+t+" "+(e?vi(di(e)):""))},di=function(t){if(t.$root===t)return"root instance";var e=t._isVue?t.$options.name||t.$options._componentTag:t.name;return e?"component <"+e+">":"anonymous component"};var vi=function(t){return"anonymous component"===t&&(t+=' - use the "name" option for better debugging messages.'),"(found in "+t+")"},gi=Ar.optionMergeStrategies;gi.el=gi.propsData=function(t,e,n,r){return n||hi('option "'+r+'" can only be used during instance creation with the `new` keyword.'),mi(t,e)},gi.name=function(t,e,n){return n&&e&&hi('options "name" can only be used as a component definition option, not during instance creation.'),mi(t,e)},gi.data=function(t,e,n){return n?t||e?function(){var r="function"==typeof e?e.call(n):e,i="function"==typeof t?t.call(n):void 0;return r?wt(r,i):i}:void 0:e?"function"!=typeof e?(hi('The "data" option should be a function that returns a per-instance value in component definitions.',n),t):t?function(){return wt(e.call(this),t.call(this))}:e:t},Ar._lifecycleHooks.forEach(function(t){gi[t]=Ct}),Ar._assetTypes.forEach(function(t){gi[t+"s"]=kt}),gi.watch=function(t,e){if(!e)return t;if(!t)return e;var n={};f(n,t);for(var r in e){var i=n[r],o=e[r];i&&!Array.isArray(i)&&(i=[i]),n[r]=i?i.concat(o):[o]}return n},gi.props=gi.methods=gi.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(null);return f(n,t),f(n,e),n};var mi=function(t,e){return void 0===e?t:e},yi=Object.freeze({defineReactive:E,_toString:t,toNumber:e,makeMap:n,isBuiltInTag:mr,remove:r,hasOwn:i,isPrimitive:s,cached:u,camelize:xr,capitalize:_r,hyphenate:Cr,bind:l,toArray:c,extend:f,isObject:h,isPlainObject:d,toObject:p,noop:v,no:Sr,genStaticKeys:g,isReserved:m,def:y,parsePath:b,hasProto:Er,inBrowser:Or,devtools:$r,UA:Mr,nextTick:Br,get _Set(){return gr},mergeOptions:jt,resolveAsset:Et,get warn(){return hi},get formatComponentName(){return di},validateProp:Ot}),bi={name:"keep-alive","abstract":!0,created:function(){this.cache=Object.create(null)},render:function(){var t=X(this.$slots["default"]);if(t&&t.componentOptions){var e=t.componentOptions,n=null==t.key?e.Ctor.cid+"::"+e.tag:t.key;this.cache[n]?t.child=this.cache[n].child:this.cache[n]=t,t.data.keepAlive=!0}return t},destroyed:function(){var t=this;for(var e in this.cache){var n=t.cache[e];tt(n.child,"deactivated"),n.child.$destroy()}}},xi={KeepAlive:bi};Rt(_t),Object.defineProperty(_t.prototype,"$isServer",{get:function(){return Ar._isServer}}),_t.version="2.0.0-rc.4";var _i,wi=n("value,selected,checked,muted"),Ci=n("contenteditable,draggable,spellcheck"),ki=n("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Ti=(n("accept,accept-charset,accesskey,action,align,alt,async,autocomplete,autofocus,autoplay,autosave,bgcolor,border,buffered,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,http-equiv,name,contenteditable,contextmenu,controls,coords,data,datetime,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,method,for,form,formaction,headers,<th>,height,hidden,high,href,hreflang,http-equiv,icon,id,ismap,itemprop,keytype,kind,label,lang,language,list,loop,low,manifest,max,maxlength,media,method,GET,POST,min,multiple,email,file,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,seamless,selected,shape,size,type,text,password,sizes,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,type,usemap,value,width,wrap"),"http://www.w3.org/1999/xlink"),Si=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Ai=function(t){return Si(t)?t.slice(6,t.length):""},ji=function(t){return null==t||t===!1},Ei={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Oi=n("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template"),$i=n("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr",!0),Mi=n("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source",!0),Ni=n("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track",!0),Pi=n("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font,font-face,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Di=function(t){
-return"pre"===t},Fi=function(t){return Oi(t)||Pi(t)},Bi=Object.create(null),Li=Or&&window.navigator.userAgent.toLowerCase(),Ri=Li&&/msie|trident/.test(Li),Ii=Li&&Li.indexOf("msie 9.0")>0,Hi=Li&&Li.indexOf("android")>0,qi=!!Or&&function(){var t=document.createElement("div");return t.innerHTML='<div a=">">',t.innerHTML.indexOf(">")>0}(),Vi=Object.freeze({createElement:Jt,createElementNS:Gt,createTextNode:Zt,createComment:Yt,insertBefore:Qt,removeChild:Kt,appendChild:te,parentNode:ee,nextSibling:ne,tagName:re,setTextContent:ie,childNodes:oe,setAttribute:ae}),zi={create:function(t,e){se(e)},update:function(t,e){t.data.ref!==e.data.ref&&(se(t,!0),se(e))},destroy:function(t){se(t,!0)}},Ui={},Wi=new ai("",Ui,[]),Xi=["create","update","postpatch","remove","destroy"],Ji={create:function(t,e){J(e.data.hook||(e.data.hook={}),"insert",function(){de(t,e,"bind")})},update:function(t,e){de(t,e,"update"),t.data.directives&&!e.data.directives&&de(t,t,"unbind")},postpatch:function(t,e){de(t,e,"componentUpdated")},destroy:function(t){de(t,t,"unbind")}},Gi=Object.create(null),Zi=[zi,Ji],Yi={create:pe,update:pe},Qi={create:ge,update:ge},Ki={create:me,update:me},to={create:ye,update:ye},eo=["Webkit","Moz","ms"],no=u(function(t){if(_i=_i||document.createElement("div"),t=xr(t),"filter"!==t&&t in _i.style)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<eo.length;n++){var r=eo[n]+e;if(r in _i.style)return r}}),ro={create:be,update:be},io=Or&&!Ii,oo="transition",ao="animation",so="transition",uo="transitionend",lo="animation",co="animationend";io&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(so="WebkitTransition",uo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(lo="WebkitAnimation",co="webkitAnimationEnd"));var fo=Or&&window.requestAnimationFrame||setTimeout,ho=/\b(transform|all)(,|$)/,po=u(function(t){return{enterClass:t+"-enter",leaveClass:t+"-leave",appearClass:t+"-enter",enterActiveClass:t+"-enter-active",leaveActiveClass:t+"-leave-active",appearActiveClass:t+"-enter-active"}}),vo=Or?{create:function(t,e){e.data.show||Ee(e)},remove:function(t,e){t.data.show?e():Oe(t,e)}}:{},go=[Yi,Qi,Ki,to,ro,vo],mo=go.concat(Zi),yo=he({nodeOps:Vi,modules:mo}),bo=/^input|select|textarea|vue-component-[0-9]+(-[0-9a-zA-Z_\-]*)?$/;Ii&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Le(t,"input")});var xo={bind:function(t,e,n){bo.test(n.tag)||hi("v-model is not supported on element type: <"+n.tag+">. If you are working with contenteditable, it's recommended to wrap a library dedicated for that purpose inside a custom component.",n.context),"select"===n.tag?Ne(t,e,n.context):(Hi||(t.addEventListener("compositionstart",Fe),t.addEventListener("compositionend",Be)),Ii&&(t.vmodel=!0))},componentUpdated:function(t,e,n){if("select"===n.tag){Ne(t,e,n.context);var r=t.multiple?e.value.some(function(e){return Pe(e,t.options)}):Pe(e.value,t.options);r&&Le(t,"change")}}},_o={bind:function(t,e,n){var r=e.value;n=Re(n);var i=n.data&&n.data.transition;r&&i&&i.appear&&!Ii&&Ee(n);var o="none"===t.style.display?"":t.style.display;t.style.display=r?o:"none",t.__vOriginalDisplay=o},update:function(t,e,n){var r=e.value,i=e.oldValue;if(r!==i){n=Re(n);var o=n.data&&n.data.transition;o&&!Ii?r?(Ee(n),t.style.display=t.__vOriginalDisplay):Oe(n,function(){t.style.display="none"}):t.style.display=r?t.__vOriginalDisplay:"none"}}},wo={model:xo,show:_o},Co={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String},ko={name:"transition",props:Co,"abstract":!0,render:function(t){var e=this,n=this.$slots["default"];if(n&&(n=n.filter(function(t){return t.tag}),n.length)){n.length>1&&hi("<transition> can only be used on a single element. Use <transition-group> for lists.",this.$parent);var r=this.mode;r&&"in-out"!==r&&"out-in"!==r&&hi("invalid <transition> mode: "+r,this.$parent);var i=n[0];if(Ve(this.$vnode))return i;var o=Ie(i);if(!o)return i;if(this._leaving)return qe(t,i);o.key=null==o.key?"__v"+(o.tag+this._uid)+"__":o.key;var a=(o.data||(o.data={})).transition=He(this),s=this._vnode,u=Ie(s);if(o.data.directives&&o.data.directives.some(function(t){return"show"===t.name})&&(o.data.show=!0),u&&u.data&&u.key!==o.key){var l=u.data.transition=f({},a);if("out-in"===r)return this._leaving=!0,J(l,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),qe(t,i);if("in-out"===r){var c,h=function(){c()};J(a,"afterEnter",h),J(a,"enterCancelled",h),J(l,"delayLeave",function(t){c=t})}}return i}}},To=f({tag:String,moveClass:String},Co);delete To.mode;var So={props:To,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots["default"]||[],o=this.children=[],a=He(this),s=0;s<i.length;s++){var u=i[s];if(u.tag)if(null!=u.key)o.push(u),n[u.key]=u,(u.data||(u.data={})).transition=a;else{var l=u.componentOptions,c=l?l.Ctor.options.name||l.tag:u.tag;hi("<transition-group> children must be keyed: <"+c+">")}}if(r){for(var f=[],h=[],d=0;d<r.length;d++){var p=r[d];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?f.push(p):h.push(p)}this.kept=t(e,null,f),this.removed=h}return t(e,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,e=this.moveClass||this.name+"-move";if(t.length&&this.hasMove(t[0].elm,e)){t.forEach(function(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb();var e=t.data.pos,n=t.data.pos=t.elm.getBoundingClientRect(),r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}});document.body.offsetHeight;t.forEach(function(t){if(t.data.moved){var n=t.elm,r=n.style;Ce(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n._moveDest=t.data.pos,n.addEventListener(uo,n._moveCb=function i(t){t&&!/transform$/.test(t.propertyName)||(n.removeEventListener(uo,i),n._moveCb=null,ke(n,e))})}})}},methods:{hasMove:function(t,e){if(!io)return!1;if(null!=this._hasMove)return this._hasMove;Ce(t,e);var n=Se(t);return ke(t,e),this._hasMove=n.hasTransform}}},Ao={Transition:ko,TransitionGroup:So};_t.config.isUnknownElement=Wt,_t.config.isReservedTag=Fi,_t.config.getTagNamespace=Ut,_t.config.mustUseProp=wi,f(_t.options.directives,wo),f(_t.options.components,Ao),_t.prototype.__patch__=Ar._isServer?v:yo,_t.prototype.$mount=function(t,e){return t=t&&!Ar._isServer?Xt(t):void 0,this._mount(t,e)},setTimeout(function(){Ar.devtools&&($r?$r.emit("init",_t):Or&&/Chrome\/\d+/.test(window.navigator.userAgent)&&console.log("Download the Vue Devtools for a better development experience:\nhttps://github.com/vuejs/vue-devtools"))},0);var jo=document.createElement("div"),Eo=/([^\s"'<>\/=]+)/,Oo=/(?:=)/,$o=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],Mo=new RegExp("^\\s*"+Eo.source+"(?:\\s*("+Oo.source+")\\s*(?:"+$o.join("|")+"))?"),No="[a-zA-Z_][\\w\\-\\.]*",Po="((?:"+No+"\\:)?"+No+")",Do=new RegExp("^<"+Po),Fo=/^\s*(\/?)>/,Bo=new RegExp("^<\\/"+Po+"[^>]*>"),Lo=/^<!DOCTYPE [^>]+>/i,Ro=!1;"x".replace(/x(.)?/g,function(t,e){Ro=""===e});var Io,Ho,qo,Vo,zo,Uo,Wo,Xo,Jo,Go,Zo,Yo,Qo,Ko,ta,ea,na,ra,ia=n("script,style",!0),oa={},aa=/&/g,sa=/</g,ua=/>/g,la=/"/g,ca=/\{\{((?:.|\n)+?)\}\}/g,fa=/[-.*+?^${}()|[\]\/\\]/g,ha=u(function(t){var e=t[0].replace(fa,"\\$&"),n=t[1].replace(fa,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}),da=/^v-|^@|^:/,pa=/(.*)\s+(?:in|of)\s+(.*)/,va=/\(([^,]*),([^,]*)(?:,([^,]*))?\)/,ga=/^:|^v-bind:/,ma=/^@|^v-on:/,ya=/:(.*)$/,ba=/\.[^\.]+/g,xa=u(ze),_a=/^xmlns:NS\d+/,wa=/^NS\d+:/,Ca=u(Tn),ka=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,Ta={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,"delete":[8,46]},Sa={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:"if($event.target !== $event.currentTarget)return;"},Aa={bind:Nn,cloak:v},ja=new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),Ea=/[A-Za-z_$][\w$]*/,Oa=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g,$a={staticKeys:["staticClass"],transformNode:tr,genData:er},Ma={transformNode:nr,genData:rr},Na=[$a,Ma],Pa={model:ir,text:cr,html:fr},Da=Object.create(null),Fa={isIE:Ri,expectHTML:!0,modules:Na,staticKeys:g(Na),directives:Pa,isReservedTag:Fi,isUnaryTag:$i,mustUseProp:wi,getTagNamespace:Ut,isPreTag:Di},Ba=u(function(t){var e=Xt(t);return e&&e.innerHTML}),La=_t.prototype.$mount;return _t.prototype.$mount=function(t,e){if(t=t&&Xt(t),t===document.body||t===document.documentElement)return hi("Do not mount Vue to <html> or <body> - mount to normal elements instead."),this;var n=this.$options;if(!n.render){var r=n.template,i=!1;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(i=!0,r=Ba(r));else{if(!r.nodeType)return hi("invalid template option:"+r,this),this;i=!0,r=r.innerHTML}else t&&(i=!0,r=vr(t));if(r){var o=dr(r,{warn:hi,isFromDOM:i,shouldDecodeTags:qi,delimiters:n.delimiters},this),a=o.render,s=o.staticRenderFns;n.render=a,n.staticRenderFns=s}}return La.call(this,t,e)},_t.compile=dr,_t})}).call(e,function(){return this}())},function(t,e){"use strict";t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(137),o=r(i);e["default"]={init:function(){new Vue(o["default"])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(12),i=function(t,e,n,r){this.paper=t,this.shape=e,this.handlers=[],this.viewPort=n,this.viewBox=r,this.isResizing=!1,this.currentPosition={},this.HANDLER_SIZE=8,this.SHAPE_MIN_SIZE=20,this.states={},this.noop=function(){},this.init()};i.prototype={init:function(){this.showHandlers()},computeHandlerSize:function(){return this.HANDLER_SIZE*Math.min(this.viewBox[2],this.viewBox[3])/this.viewPort.width},showHandlers:function(){var t=this.shape.getBBox(),e=t.x-this.computeHandlerSize()/2,n=t.y-this.computeHandlerSize()/2,r=this.paper.rect(e,n,this.computeHandlerSize(),this.computeHandlerSize()).attr({fill:"red"});r.addClass("drawingHandler"),this.shape.addClass("drawingHandler");var i={position:"t_r",handler:r};this.handlers.push(i),this.shapesGroup=this.paper.g(this.shape,r),this.attachEvents()},updateShapePositions:function(t,e,n){var r=t.handler.getBBox(),i=this.shape.data("origBbox"),o=(r.x+this.computeHandlerSize()/2,r.y+this.computeHandlerSize()/2,e>0?i.width-e:i.width+Math.abs(e)),a=n>0?i.height-n:i.height+Math.abs(n),s=this.shape.data("origTransform")+(this.shape.data("origTransform")?"T":"t")+[e,n];this.shape.attr({transform:s,width:o,height:a})},dragEvents:{onStart:function(t,e,n,r){this.startPosition={x:r.clientX,y:r.clientY},this.isResizing=!0,this.currentPosition={},t.handler.data("origTransform",t.handler.transform().local),this.shape.data("origBbox",this.shape.getBBox()),this.shape.data("origBounding",this.shape.node.getBoundingClientRect()),this.shape.data("origTransform",this.shape.transform().local)},onMove:function(t,e,n,r,i,o){var a,s,u=t.handler.transform().diffMatrix.invert();u.e=u.f=0,a=u.x(e,n),s=u.y(e,n),this.currentPosition.x=o.clientX,this.currentPosition.y=o.clientY,this.checkBondaries(e,n)&&(t.handler.transform("t"+[a,s]+t.handler.data("origTransform")),this.updateShapePositions(t,a,s))},onStop:function(){this.isResizing=!1,this.startPosition={},this.currentPosition={}}},checkBondaries:function(t,e){var n=!0,r=this.shape.data("origBounding");this.shape.node.getBoundingClientRect();return r.width-t<=this.SHAPE_MIN_SIZE&&(n=!1),r.height-e<=this.SHAPE_MIN_SIZE&&(n=!1),n},destroy:function(){this.handlers.map(function(t){t.handler.remove()}),delete this},getZoomFactor:function(){return{x:this.viewPort.width/this.viewBox[2],y:this.viewPort.height/this.viewBox[3]}},attachEvents:function(){var t=this;this.handlers.map(function(e){e.handler.drag(t.dragEvents.onMove.bind(t,e),t.dragEvents.onStart.bind(t,e),t.dragEvents.onStop.bind(t,e))}),r.eventEmitter.on("cutout:clear",function(){t.destroy()}),this.shapesGroup.drag(function(e,n){if(!t.isResizing){var r=this.transform().diffMatrix.invert();r.e=r.f=0;var i=r.x(e,n),o=r.y(e,n),a=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[i,o];this.transform(a)}},function(){this.data("origTransform",this.transform().local)},this.noop)}};e["default"]={enable_resizer:function(t,e,n,r){new i(t,e,n,r)}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(43),o=r(i),a=n(128),s=r(a),u=n(12),l=n(47);r(l);o["default"].plugin(function(t,e,n,r){var i=e.prototype;i.toBack=function(){this.prependTo(this.paper)},i.toFront=function(){this.appendTo(this.paper)}}),Element.prototype.getTransformedXY=function(t,e){var n=this.transform().globalMatrix;return{x:n.x(t,e),y:n.y(t,e)}};var c=null,f=null,h=[],d={X:100,Y:100},p={x:1,y:1},v={width:850,height:850},g=[],m=!1,y=null,b=null,x=!1,_=null,w="#ff00ff",C="red",k="orange",T="#FF0000",S=8,A=!1,j=!0,E=!1,O=!0,$="RECT",M=$,N="FREE",P=[$,N],D=null,F=function(){var t=0,e="item_";return function(n){return n="string"==typeof n?n:e,t+=1,n+t}}(),B=function(t){if(m)return void c.path(t).attr({stroke:"red",opacity:.6});var e=o["default"].path.getBBox(t);_=c.rect(e.x,e.y,e.width,e.height),_.attr({fill:k,stroke:C,opacity:.6}),b=_,x=!1,E=!0,s["default"].enable_resizer(c,b,v,g)},L=function(t){if(m)return void c.path(t).attr({stroke:"orange",fill:"orange",opacity:.5});var e=o["default"].parsePathString(t);e.map(function(t){"Z"!==t[0]?J(c,t[1],t[2],h):(E=!0,R(c,H))})},R=function(t,e){var n="M";if(!(h.length<=1)){n+=h[0].x+","+h[0].y;for(var r=0;r<h.length;r++)if(0!=r){var i=h[r],o="L"+i.x+","+i.y;n+=" "+o}n+=E?" Z":"",b&&b.remove(),b=t.path(n),b.attr({stroke:C,"vector-effect":"non-scaling-stroke","stroke-width":3,fill:"white",opacity:.1}),h.map(function(t){z();t.handler&&t.handler.toFront()}),"function"==typeof e&&E&&e(),!e&&E&&I()}},I=function(){b.attr({fill:k,strokeWidth:1,opacity:.6})},H=function(){O=!1,I()},q=function(t,e,n){t.isFirst&&h.length>2&&(E=!0)},V=function(t,e,n){var r=h.indexOf(t);return r!==-1&&(h[r].x=e,h[r].y=n,!0)},z=function(){g.length||(g=[0,0,parseInt(f.width()),parseInt(f.height())]);var t=S*Math.min(g[2],g[3])/850;return t},U=function(t,e,n,r,i){A=!0;var o,a,s=this.transform().diffMatrix.invert();s.e=s.f=0,o=s.x(t,e),a=s.y(t,e);var u=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[o,a];this.attr({transform:u});var l=this.getBBox(),c=V(this.data("point"),l.x+z()/2,l.y+z()/2);c&&R(this.paper)},W=function(t,e){t.handler.click(q.bind(this,t,e)),t.handler.hover(function(){t.handler.attr({fill:"yellow"})},function(){var e=t.isFirst?T:"";t.handler.attr({fill:e})}),t.handler.drag(U,function(){this.data("origTransform",this.transform().local)},function(){return!A||(A=!1,void(j=!1))})},X=function(t,e){var n,r=z(),i=e.x-r/2,o=e.y-r/2;return n=t.rect(i,o,r,r),n.addClass("drawingHandler"),e.handler=n,e.handler.data("point",e),0===h.length&&(e.isFirst=!0),W(e,t),e.handler.attr({fill:0===h.length?T:"",opacity:.9,stroke:w}),e},J=function(t,e,n,r){var i={x:e,y:n,id:F()};return E?void R(t,H):j?(i=X(t,i),r.push(i),void R(t)):(j=!0,!1)},G=function(t){if(m)return!1;var e={},n={},r=function(t){var e=t.target||t.srcElement,n=e.getBoundingClientRect(),r=(t.clientX-n.left)/Math.min(p.x,p.y),i=(t.clientY-n.top)/Math.min(p.x,p.y);return{x:r,y:i}};t.mousedown(function(t){if(M!==N&&!E){var n=r(t);e.x=n.x,e.y=n.y,x=!0}}),t.mousemove(function(i){if(M!==N&&x){var o,a,s=r(i);n.x=s.x,n.y=s.y,_&&_.remove();var u=Math.abs(n.x-e.x),l=Math.abs(e.y-n.y);n.y>e.y&&n.x>e.x&&(o=e.x,a=e.y),n.y<e.y&&n.x>e.x&&(o=n.x-u,a=n.y),n.y<e.y&&n.x<e.x&&(o=n.x,a=n.y),n.y>e.y&&n.x<e.x&&(o=n.x,a=n.y-l),o&&a&&(_=t.rect(o,a,u,l),_.attr({fill:k,stroke:C,opacity:.6}))}}),t.mouseup(function(){return!(M===N||E||!_)&&(b=_,s["default"].enable_resizer(t,_,v,g),x=!1,void(E=!0))})},Z=function(t){if(!m){var e=null,n=!1;t.dblclick(function(r){return M===$||(n=!0,e&&(e=clearTimeout(e),n=!1,E=!0,h.length>2&&R(t,H)),!1)});var r=function(t){var e=t.target||t.srcElement,n=e.getBoundingClientRect(),r=(t.clientX-n.left)/Math.min(p.x,p.y),i=(t.clientY-n.top)/Math.min(p.x,p.y);return{x:r,y:i}},i=function(r,i){if(!n){if(M===$)return!0;if(!O)return!0;J(t,r,i,h),e=null,n=!1}};t.click(function(t){if(!e&&jQuery(t.target).is(f)){var n=r(t),o=n.x,a=n.y;e=setTimeout(i.bind(this,o,a),190)}})}},Y=function(){u.eventEmitter.on("zoomChanged",function(t){p=t.zoomFactor,g=t.currentViewBox;var e=Q.getPath();Q.clear(),Q.setPath(e)})},Q={getPaper:function(){return c},setPath:function(t){var e=t.split(";");P.indexOf(e[1])===-1&&(e[1]="FREE"),this.setDrawingMode(e[1]);var n=e[0];if(n.length){var r=f.attr("width")/d.X,i=f.attr("height")/d.Y;(isNaN(r)||isNaN(i))&&new Error("Ratio should be a number.");var a=o["default"].matrix(r,0,0,i,0,0),s=o["default"].path.map(n,a).toString();s.search(/[z|Z]/gi)===-1&&(s+="Z"),e.length>=2&&(e[1]===$&&B(s),e[1]===N&&L(s))}},setDrawingMode:function(t){P.indexOf(t)!==-1&&(M=t),"function"==typeof D&&D(M),this.clear()},clear:function(){h.map(function(t){t.handler&&t.handler.remove()}),b&&b.remove(),u.eventEmitter.emit("cutout:clear"),h=[],y=null,b=null,A=!1,j=!0,E=!1,O=!0},getShapeBBox:function(){var t=this.getPath();return o["default"].path.getBBox(t)},getShape:function(){return this.getPath()},getPath:function(){var t="";if(b)if(M===$){var e=b.getBBox(),n=b.transform();if(n.global.length){var r=b.node.getAttribute("x"),i=b.node.getAttribute("y"),a=n.totalMatrix,s=c.rect(a.x(r,i),a.y(r,i),e.width,e.height);u=s.getBBox().path,s.remove()}else var u=b.getBBox().path;t=o["default"].path.toAbsolute(u).toString()}else t=b.attr("d");var l=d.X/f.attr("width"),h=d.Y/f.attr("height");if((isNaN(l)||isNaN(h))&&new Error("ratio should be a number."),!t.length)return t=M===$?";RECT":";FREE";var p=o["default"].matrix(l,0,0,h,0,0);t=o["default"].path.map(t,p).toString();var v=M===$?";RECT":";FREE";return t.search(/[z|Z]/gi)===-1&&(t+=" Z"),t+=v}};e["default"]={init:function(t){f=jQuery(t.wrapperId).find(".main-image").eq(0);var e=jQuery(t.wrapperId).find(".cut-canvas").eq(0),n=jQuery(t.wrapperId).find(".image-path").eq(0);if("function"==typeof t.onDrawingModeChange&&(D=t.onDrawingModeChange),!f.length)throw new Error("The main image Can't be found ...");if(!e.length){var e=jQuery('<svg version="1.1"></svg>').addClass("cut-canvas");jQuery(t.wrapperId).append(e),e.append(f)}if(e.css({marginLeft:"auto",marginRight:"auto",width:v.width,height:v.height}),"boolean"==typeof t.readOnly&&t.readOnly===!0&&(m=!0),c=new o["default"](e.get(0)),n.length){jQuery(e).append(n);var r=n.attr("d");Q.setPath(r),n.remove()}return Y(),Z(c),G(c),Q}}},function(t,e,n){e=t.exports=n(40)(),e.push([t.id,".diff-viewer-wrapper[data-v-1]{margin-top:5px}.diff-panel[data-v-1]{border:1px solid gray;width:300px;heigth:250px}del[data-v-1]{text-decoration:none;color:#b30000;background:#fadad7}ins[data-v-1]{background:#eaf2c2;color:#406619;text-decoration:none}",""])},function(t,e,n){e=t.exports=n(40)(),e.push([t.id,"Typeahead[data-v-4]{position:relative}.selected-tags[data-v-4]{border:1px solid red;width:200px!important}.selected-tags select[data-v-4]{display:inline-block}.Typeahead__input[data-v-4]{width:100%;font-size:14px;color:#2c3e50;line-height:1.42857143;box-shadow:inset 0 1px 4px rgba(0,0,0,.4);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-weight:300;padding:12px 26px;border:none;border-radius:22px;letter-spacing:1px;box-sizing:border-box}.Typeahead__input[data-v-4]:focus{border-color:#4fc08d;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px #4fc08d}.tag-item[data-v-4]{border:1px solid red}.fa-times[data-v-4]{cursor:pointer}ul[data-v-4]{padding:0;margin-top:8px;min-width:100%;background-color:#fff;list-style:none;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.25);z-index:1000}li[data-v-4]{padding:10px 16px;border-bottom:1px solid #ccc;cursor:pointer}li[data-v-4]:first-child{border-radius:4px 4px 0 0}li[data-v-4]:last-child{border-radius:0 0 4px 4px;border-bottom:0}span[data-v-4]{display:block;color:#2c3e50}.active[data-v-4]{background-color:#3aa373}.active span[data-v-4]{color:#fff}.name[data-v-4]{font-weight:700;font-size:18px}.screen-name[data-v-4]{font-style:italic}",""])},function(t,e,n){(function(e){t.exports=e.$=n(44)}).call(e,function(){return this}())},function(t,e,n){(function(e){t.exports=e.Vue=n(125)}).call(e,function(){return this}())},function(t,e,n){(function(e){t.exports=e.jQuery=n(44)}).call(e,function(){return this}())},function(t,e,n){function r(t){return n(i(t))}function i(t){return o[t]||function(){throw new Error("Cannot find module '"+t+"'.")}()}var o={"./diff_match_patch_uncompressed":23,"./diff_match_patch_uncompressed.js":23};r.keys=function(){return Object.keys(o)},r.resolve=i,t.exports=r,r.id=135},function(t,e,n){function r(t){return n(i(t))}function i(t){return o[t]||function(){throw new Error("Cannot find module '"+t+"'.")}()}var o={"./annotated":8,"./annotated.js":8,"./base":1,"./base.js":1,"./console":15,"./console.js":15,"./html":9,"./html.js":9,"./index":10,"./index.js":10,"./jsonpatch":11,"./jsonpatch.js":11};r.keys=function(){return Object.keys(o)},r.resolve=i,t.exports=r,r.id=136},function(t,e,n){var r,i;r=n(52),i=r=r||{},"object"==typeof r["default"]&&(i=r=r["default"]),"function"==typeof i&&(i=i.options),t.exports=r},function(t,e,n){var r,i;r=n(54),i=r=r||{},"object"==typeof r["default"]&&(i=r=r["default"]),"function"==typeof i&&(i=i.options),t.exports=r},function(t,e,n){var r,i;r=n(55);var o=n(145);i=r=r||{},"object"==typeof r["default"]&&(i=r=r["default"]),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e,n){var r,i;r=n(56);var o=n(144);i=r=r||{},"object"==typeof r["default"]&&(i=r=r["default"]),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"diff-viewer-wrapper col-md-12"},[_h("modalpanel",{ref:"panel"},[_h("h5",{slot:"header"},["Comparer les deux versions:"])," ",_h("div",{slot:"content"},[_h("div",{ref:"modalcontent"},[_h("div",{directives:[{name:"show",value:fragmentMode,expression:"fragmentMode"}]},[_h("svg",[_h("image",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink",href:imagePath,x:"0",y:"0",width:imageWidth,height:imageHeight}})," ",_h("g",{attrs:{transform:matrixTransform}},[_h("path",{attrs:{d:originalPath,fill:"red",stroke:"blue",opacity:"0.3"}})," ",_h("path",{attrs:{d:modifiedPath,fill:"blue",stroke:"red",opacity:"0.3"}})])])])," ",_h("div",{directives:[{name:"show",value:textMode,expression:"textMode"}]},[_h("div",{domProps:{innerHTML:_s(diffText)}})])," ",_h("div",{directives:[{name:"show",value:tagMode,expression:"tagMode"}]},[_h("ul",[tags&&_l(tags,function(t,e){return _h("li",[t.action?_e():[_h("li",[_h("span",[_s(t.tag_label)])," | précision : "+_s(t.accuracy)+" \n\t\t\t\t\t\t\t\t\t- \n\t\t\t\t\t\t\t\t\tpertinence : "+_s(t.relevancy)+"\n\t\t\t\t\t\t\t\t"])]," ","replace"==t.action?[_m(0)," ",_h("del",[_s(t.tag_label)])," a été remplacé par\n\t\t\t\t\t\t\t\t",_m(1)," ",_h("strong",[_h("ins",[_s(t.new_label)])])," \n\t\t\t\t\t\t\t\tprécision : ",_h("ins",[_s(t.new_accuracy)])," - \n\t\t\t\t\t\t\t\tpertinence: ",_h("ins",[_s(t.new_relevancy)])]:_e()," ","add"==t.action?[_h("li",[_m(2)," ",_h("ins",[_s(t.tag_label)]),"\n\t\t\t\t\t\t\t\t\tprécision : ",_h("ins",[_s(t.accuracy)])," - \n\t\t\t\t\t\t\t\t\tpertinence : ",_h("ins",[_s(t.relevancy)])])]:_e()," ","del"==t.action?[_h("li",[_m(3)," ",_h("del",[_s(t.tag_label)])," a été effacé"])]:_e()," ","update"==t.action?[_h("li",[_h("strong",[_s(t.tag_label)])," ",t.accuracy!=t.new_accuracy?["\n\t\t\t\t\t\t\t\t\t\tprécision: ",_h("del",[_s(t.accuracy)])," ",_h("ins",[_s(t.new_accuracy)])," -\t\n\t\t\t\t\t\t\t\t\t"]:_e()," ",t.accuracy==t.new_accuracy?["\n\t\t\t\t\t\t\t\t\t\tprécision: "+_s(t.accuracy)+" -\n\t\t\t\t\t\t\t\t\t"]:_e()," ",t.relevancy!=t.new_relevancy?["\n\t\t\t\t\t\t\t\t\t\tpertinence: ",_h("del",[_s(t.relevancy)])," ",_h("ins",[_s(t.new_relevancy)])]:_e()," ",t.relevancy==t.new_relevancy?["\n\t\t\t\t\t\t\t\t\t\tpertinence: "+_s(t.relevancy)+"\t\n\t\t\t\t\t\t\t\t\t"]:_e()])]:_e()])})])])])])])])},staticRenderFns:[function(){with(this)return _h("del",["--"])},function(){with(this)return _h("ins",["++"])},function(){with(this)return _h("ins",["++"])},function(){with(this)return _h("del",["--"])}]}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"zoomview-wrapper"},[_m(0)," ",_h("svg",{ref:"root-svg"},[_h("image",{attrs:{id:"small-image",x:"0",y:"0","xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":imageUrl,width:imageWidth,height:imageHeight}})," ",_h("rect",{directives:[{name:"show",value:showHandler,expression:"showHandler"}],ref:"handler",attrs:{id:"zoom-handler",x:"0",y:"0",style:"fill:black; opacity:0.4"}})])," ",_h("ul",{staticClass:"form-drawing-wrapper zoom-action-list list-inline"},[_h("li",{staticClass:"small showPointer",on:{click:incraseDrawingZoom}},[_m(1)])," ",_h("li",{staticClass:"small showPointer",on:{click:resetDrawingZoom}},[_m(2)])," ",_h("li",{staticClass:"small showPointer",on:{click:decreaseDrawingZoom}},[_m(3)])])])},staticRenderFns:[function(){with(this)return _h("p",{staticClass:"form-drawing pullright"},[_h("strong",["Zoom"])])},function(){with(this)return _h("i",{staticClass:"fa fa-search-plus"})},function(){with(this)return _h("i",{staticClass:"fa fa-square"})},function(){with(this)return _h("i",{staticClass:"fa fa-search-minus"})}]}},function(module,exports){module.exports={render:function(){with(this)return _h("div",[_h("taglist",{ref:"taglist"})," "," ",_h("input",{directives:[{name:"show",value:!readOnly,expression:"!readOnly"},{name:"model",value:query,expression:"query"}],attrs:{type:"text",placeholder:"...",autocomplete:"off"},domProps:{value:_s(query)},on:{keyup:[function(t){8===t.keyCode&&checkQuery(t)},update],keydown:[function(t){40===t.keyCode&&down(t)},function(t){38===t.keyCode&&up(t)},function(t){13===t.keyCode&&hit(t)},function(t){27===t.keyCode&&reset(t)}],input:function(t){t.target.composing||(query=t.target.value)}}})," ",_h("a",{directives:[{name:"show",value:showAddButton,expression:"showAddButton"}],on:{click:addTag}},[_m(0)," Créer ce tag"])," "," ",_h("ul",{directives:[{name:"show",value:hasItems||!readOnly,expression:"hasItems || !readOnly"}]},[items&&_l(items,function(t,e){return _h("li",{"class":activeClass(e),on:{mousedown:hit,mousemove:function(t){setActive(e)}}},[_h("span",{domProps:{textContent:_s(t.tag_label)}})])})])," ",_h("input",{directives:[{name:"model",value:selectedTags,expression:"selectedTags"}],attrs:{name:"tags",type:"hidden"},domProps:{value:_s(selectedTags)},on:{input:function(t){t.target.composing||(selectedTags=t.target.value)}}})])},staticRenderFns:[function(){with(this)return _h("i",{staticClass:"fa fa-plus"})}]}},function(module,exports){module.exports={render:function(){with(this)return _h("div",[_h("ul",{directives:[{name:"show",value:!readOnly,expression:"!readOnly"}],staticClass:"tags-wrapper list-unstyled"},[tags&&_l(tags,function(t,e){return _h("li",{ref:t.id,refInFor:!0,staticClass:"tag-item"},[_m(0,!0)," ",_h("strong",[_h("span",{domProps:{textContent:_s(t.tag_label)}})]),"\n\n\t\t\tPrécision: \t",_h("select",{on:{change:function(e){updateAccuracy(e,t)}}},[[1,2,3,4,5]&&_l([1,2,3,4,5],function(e,n){return _h("option",{domProps:{selected:t.accuracy==e,value:e}},[_s(e)])})]),"\n\n\t\t\tPertinence: ",_h("select",{on:{change:function(e){updatePertinence(e,t)}}},[[1,2,3,4,5]&&_l([1,2,3,4,5],function(e,n){return _h("option",{domProps:{selected:t.relevancy==e,value:e}},[_s(e)])})])," ",_h("a",{on:{click:function(e){removeTag(t)}}},[_m(1)])])})])," ",_h("ul",{directives:[{name:"show",value:readOnly,expression:"readOnly"}],staticClass:"list-inline"},[tags&&_l(tags,function(t,e){return _h("li",[_m(2,!0)," ",_h("span",{staticClass:"label label-info"},[_s(t.tag_label)]),"\n\t\t\t | précision ",_h("span",{staticClass:"badge"},[_s(t.accuracy)]),"\n\t\t\t | pertinence ",_h("span",{staticClass:"badge"},[_s(t.relevancy)])])})])])},staticRenderFns:[function(){with(this)return _h("i",{staticClass:"fa fa-tag"})},function(){with(this)return _h("i",{staticClass:"fa fa-trash"})},function(){with(this)return _h("i",{staticClass:"fa fa-tag"})}]}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{directives:[{name:"show",value:display,expression:"display"}],staticClass:"modal-mask diff-panel"},[_h("p",{staticClass:"pull-right close-btn",on:{click:close}},[_m(0)])," ",$slots.header," ",$slots.content," ",$slots.footer])},staticRenderFns:[function(){with(this)return _h("i",{staticClass:"fa fa-close"})}]}},function(t,e,n){var r=n(130);"string"==typeof r&&(r=[[t.id,r,""]]);n(51)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(131);"string"==typeof r&&(r=[[t.id,r,""]]);n(51)(r,{});r.locals&&(t.exports=r.locals)}]);
+!function(o,s){"object"===a(e)&&"undefined"!=typeof t?t.exports=s():(r=s,i="function"==typeof r?r.call(e,n,e,t):r,!(void 0!==i&&(t.exports=i)))}(void 0,function(){function t(t){return null==t?"":"object"===("undefined"==typeof t?"undefined":a(t))?JSON.stringify(t,null,2):String(t)}function e(t){var e=parseFloat(t,10);return e||0===e?e:t}function n(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function r(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function i(t,e){return yr.call(t,e)}function s(t){return"string"==typeof t||"number"==typeof t}function u(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}function l(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function c(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function f(t,e){for(var n in e)t[n]=e[n];return t}function h(t){return null!==t&&"object"===("undefined"==typeof t?"undefined":a(t))}function d(t){return kr.call(t)===Tr}function p(t){for(var e=t[0]||{},n=1;n<t.length;n++)t[n]&&f(e,t[n]);return e}function v(){}function g(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}function m(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function y(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function b(t){if(!jr.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}function x(t){Vr.target&&zr.push(Vr.target),Vr.target=t}function _(){Vr.target=zr.pop()}function w(){Ur.length=0,Wr={},Xr={},Jr=Gr=!1}function C(){for(Gr=!0,Ur.sort(function(t,e){return t.id-e.id}),Zr=0;Zr<Ur.length;Zr++){var t=Ur[Zr],e=t.id;if(Wr[e]=null,t.run(),null!=Wr[e]&&(Xr[e]=(Xr[e]||0)+1,Xr[e]>Ar._maxUpdateCount)){hi("You may have an infinite update loop "+(t.user?'in watcher with expression "'+t.expression+'"':"in a component render function."),t.vm);break}}Or&&Ar.devtools&&Or.emit("flush"),w()}function k(t){var e=t.id;if(null==Wr[e]){if(Wr[e]=!0,Gr){for(var n=Ur.length-1;n>=0&&Ur[n].id>t.id;)n--;Ur.splice(Math.max(n,Zr)+1,0,t)}else Ur.push(t);Jr||(Jr=!0,Br(C))}}function T(t,e){var n,r;e||(e=Kr,e.clear());var i=Array.isArray(t),o=h(t);if((i||o)&&Object.isExtensible(t)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(i)for(n=t.length;n--;)T(t[n],e);else if(o)for(r=Object.keys(t),n=r.length;n--;)T(t[r[n]],e)}}function S(t,e){t.__proto__=e}function A(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];y(t,o,e[o])}}function j(t){if(h(t)){var e;return i(t,"__ob__")&&t.__ob__ instanceof ii?e=t.__ob__:ri.shouldConvert&&!Ar._isServer&&(Array.isArray(t)||d(t))&&Object.isExtensible(t)&&!t._isVue&&(e=new ii(t)),e}}function E(t,e,n,r){var i=new Vr,o=Object.getOwnPropertyDescriptor(t,e);if(!o||o.configurable!==!1){var a=o&&o.get,s=o&&o.set,u=j(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;if(Vr.target&&(i.depend(),u&&u.dep.depend(),Array.isArray(e)))for(var r,o=0,s=e.length;o<s;o++)r=e[o],r&&r.__ob__&&r.__ob__.dep.depend();return e},set:function(e){var o=a?a.call(t):n;e!==o&&(r&&r(),s?s.call(t,e):n=e,u=j(e),i.notify())}})}}function $(t,e,n){if(Array.isArray(t))return t.splice(e,1,n),n;if(i(t,e))return void(t[e]=n);var r=t.__ob__;return t._isVue||r&&r.vmCount?void hi("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."):r?(E(r.value,e,n),r.dep.notify(),n):void(t[e]=n)}function O(t,e){var n=t.__ob__;return t._isVue||n&&n.vmCount?void hi("Avoid deleting properties on a Vue instance or its root $data - just set it to null."):void(i(t,e)&&(delete t[e],n&&n.dep.notify()))}function M(t){t._watchers=[],N(t),P(t),D(t),B(t),L(t)}function N(t){var e=t.$options.props,n=t.$options.propsData;if(e){var r=t.$options._propKeys=Object.keys(e),i=!t.$parent;ri.shouldConvert=i;for(var o=function(i){var o=r[i];E(t,o,$t(o,e,n,t),function(){t.$parent&&!ri.isSettingProps&&hi("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+o+'"',t)})},a=0;a<r.length;a++)o(a);ri.shouldConvert=!0}}function P(t){var e=t.$options.data;e=t._data="function"==typeof e?e.call(t):e||{},d(e)||(e={},hi("data functions should return an object.",t));for(var n=Object.keys(e),r=t.$options.props,o=n.length;o--;)r&&i(r,n[o])?hi('The data property "'+n[o]+'" is already declared as a prop. Use prop default value instead.',t):H(t,n[o]);j(e),e.__ob__&&e.__ob__.vmCount++}function D(t){var e=t.$options.computed;if(e)for(var n in e){var r=e[n];"function"==typeof r?(oi.get=F(r,t),oi.set=v):(oi.get=r.get?r.cache!==!1?F(r.get,t):l(r.get,t):v,oi.set=r.set?l(r.set,t):v),Object.defineProperty(t,n,oi)}}function F(t,e){var n=new Qr(e,t,v,{lazy:!0});return function(){return n.dirty&&n.evaluate(),Vr.target&&n.depend(),n.value}}function B(t){var e=t.$options.methods;if(e)for(var n in e)t[n]=l(e[n],t)}function L(t){var e=t.$options.watch;if(e)for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)R(t,n,r[i]);else R(t,n,r)}}function R(t,e,n){var r;d(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function I(t){var e={};e.get=function(){return this._data},e.set=function(t){hi("Avoid replacing instance root $data. Use nested data properties instead.",this)},Object.defineProperty(t.prototype,"$data",e),t.prototype.$set=$,t.prototype.$delete=O,t.prototype.$watch=function(t,e,n){var r=this;n=n||{},n.user=!0;var i=new Qr(r,t,e,n);return n.immediate&&e.call(r,i.value),function(){i.teardown()}}}function H(t,e){m(e)||Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return t._data[e]},set:function(n){t._data[e]=n}})}function q(t){var e=new ai(t.tag,t.data,t.children,t.text,t.elm,t.ns,t.context,t.componentOptions);return e.isStatic=t.isStatic,e.key=t.key,e.isCloned=!0,e}function V(t){for(var e=new Array(t.length),n=0;n<t.length;n++)e[n]=q(t[n]);return e}function z(t,e){if(s(t))return[U(t)];if(Array.isArray(t)){for(var n=[],r=0,i=t.length;r<i;r++){var o=t[r],a=n[n.length-1];Array.isArray(o)?n.push.apply(n,z(o,e)):s(o)?a&&a.text?a.text+=String(o):""!==o&&n.push(U(o)):o instanceof ai&&(o.text&&a&&a.text?a.text+=o.text:(e&&W(o,e),n.push(o)))}return n}}function U(t){return new ai((void 0),(void 0),(void 0),String(t))}function W(t,e){if(t.tag&&!t.ns&&(t.ns=e,t.children))for(var n=0,r=t.children.length;n<r;n++)W(t.children[n],e)}function X(t){return t&&t.filter(function(t){return t&&t.componentOptions})[0]}function J(t,e,n){var r=t[e];if(r){var i=t.__injected||(t.__injected={});i[e]||(i[e]=!0,t[e]=function(){r.apply(this,arguments),n.apply(this,arguments)})}else t[e]=n}function G(t,e,n,r){var i,o,a,s,u,l;for(i in t)if(o=t[i],a=e[i],o)if(a)if(Array.isArray(a)){a.length=o.length;for(var c=0;c<a.length;c++)a[c]=o[c];t[i]=a}else a.fn=o,t[i]=a;else l="!"===i.charAt(0),u=l?i.slice(1):i,Array.isArray(o)?n(u,o.invoker=Z(o),l):(o.invoker||(s=o,o=t[i]={},o.fn=s,o.invoker=Y(o)),n(u,o.invoker,l));else hi('Handler for event "'+i+'" is undefined.');for(i in e)t[i]||(u="!"===i.charAt(0)?i.slice(1):i,r(u,e[i].invoker))}function Z(t){return function(e){for(var n=arguments,r=1===arguments.length,i=0;i<t.length;i++)r?t[i](e):t[i].apply(null,n)}}function Y(t){return function(e){var n=1===arguments.length;n?t.fn(e):t.fn.apply(null,arguments)}}function Q(t){var e=t.$options,n=e.parent;if(n&&!e["abstract"]){for(;n.$options["abstract"]&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function K(t){t.prototype._mount=function(t,e){var n=this;return n.$el=t,n.$options.render||(n.$options.render=si,n.$options.template?hi("You are using the runtime-only build of Vue where the template option is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",n):hi("Failed to mount component: template or render function not defined.",n)),tt(n,"beforeMount"),n._watcher=new Qr(n,function(){n._update(n._render(),e)},v),e=!1,n.$root===n&&(n._isMounted=!0,tt(n,"mounted")),n},t.prototype._update=function(t,e){var n=this;n._isMounted&&tt(n,"beforeUpdate");var r=n.$el,i=ui;ui=n;var o=n._vnode;n._vnode=t,o?n.$el=n.__patch__(o,t):n.$el=n.__patch__(n.$el,t,e),ui=i,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el),n._isMounted&&tt(n,"updated")},t.prototype._updateFromParent=function(t,e,n,r){var i=this,o=!(!i.$options._renderChildren&&!r);if(i.$options._parentVnode=n,i.$options._renderChildren=r,t&&i.$options.props){ri.shouldConvert=!1,ri.isSettingProps=!0;for(var a=i.$options._propKeys||[],s=0;s<a.length;s++){var u=a[s];i[u]=$t(u,i.$options.props,t,i)}ri.shouldConvert=!0,ri.isSettingProps=!1}if(e){var l=i.$options._parentListeners;i.$options._parentListeners=e,i._updateListeners(e,l)}o&&(i.$slots=mt(r),i.$forceUpdate())},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){tt(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options["abstract"]||r(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,tt(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null)}}}function tt(t,e){var n=t.$options[e];if(n)for(var r=0,i=n.length;r<i;r++)n[r].call(t);t.$emit("hook:"+e)}function et(t,e,n,r,i){if(t){if(h(t)&&(t=_t.extend(t)),"function"!=typeof t)return void hi("Invalid Component definition: "+String(t),n);if(!t.cid)if(t.resolved)t=t.resolved;else if(t=ut(t,function(){n.$forceUpdate()}),!t)return;e=e||{};var o=lt(e,t);if(t.options.functional)return nt(t,o,e,n,r);var a=e.on;e.on=e.nativeOn,t.options["abstract"]&&(e={}),ft(e);var s=t.options.name||i,u=new ai("vue-component-"+t.cid+(s?"-"+s:""),e,(void 0),(void 0),(void 0),(void 0),n,{Ctor:t,propsData:o,listeners:a,tag:i,children:r});return u}}function nt(t,e,n,r,i){var o={},a=t.options.props;if(a)for(var s in a)o[s]=$t(s,a,e);return t.options.render.call(null,r.$createElement,{props:o,data:n,parent:r,children:z(i),slots:function(){return mt(i)}})}function rt(t,e){var n=t.componentOptions,r={_isComponent:!0,parent:e,propsData:n.propsData,_componentTag:n.tag,_parentVnode:t,_parentListeners:n.listeners,_renderChildren:n.children},i=t.data.inlineTemplate;return i&&(r.render=i.render,r.staticRenderFns=i.staticRenderFns),new n.Ctor(r)}function it(t,e){if(!t.child||t.child._isDestroyed){var n=t.child=rt(t,ui);n.$mount(e?t.elm:void 0,e)}}function ot(t,e){var n=e.componentOptions,r=e.child=t.child;r._updateFromParent(n.propsData,n.listeners,e,n.children)}function at(t){t.child._isMounted||(t.child._isMounted=!0,tt(t.child,"mounted")),t.data.keepAlive&&(t.child._inactive=!1,tt(t.child,"activated"))}function st(t){t.child._isDestroyed||(t.data.keepAlive?(t.child._inactive=!0,tt(t.child,"deactivated")):t.child.$destroy())}function ut(t,e){if(!t.requested){t.requested=!0;var n=t.pendingCallbacks=[e],r=!0,i=function(e){if(h(e)&&(e=_t.extend(e)),t.resolved=e,!r)for(var i=0,o=n.length;i<o;i++)n[i](e)},o=function(e){hi("Failed to resolve async component: "+String(t)+(e?"\nReason: "+e:""))},a=t(i,o);return a&&"function"==typeof a.then&&!t.resolved&&a.then(i,o),r=!1,t.resolved}t.pendingCallbacks.push(e)}function lt(t,e){var n=e.options.props;if(n){var r={},i=t.attrs,o=t.props,a=t.domProps;if(i||o||a)for(var s in n){var u=Cr(s);ct(r,o,s,u,!0)||ct(r,i,s,u)||ct(r,a,s,u)}return r}}function ct(t,e,n,r,o){if(e){if(i(e,n))return t[n]=e[n],o||delete e[n],!0;if(i(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function ft(t){t.hook||(t.hook={});for(var e=0;e<ci.length;e++){var n=ci[e],r=t.hook[n],i=li[n];t.hook[n]=r?ht(i,r):i}}function ht(t,e){return function(n,r){t(n,r),e(n,r)}}function dt(t,e,n){return e&&(Array.isArray(e)||"object"!==("undefined"==typeof e?"undefined":a(e)))&&(n=e,e=void 0),pt(this._self,t,e,n)}function pt(t,e,n,r){if(n&&n.__ob__)return void hi("Avoid using observed data object as vnode data: "+JSON.stringify(n)+"\nAlways create fresh vnode data objects in each render!",t);if(!e)return si();if("string"==typeof e){var i,o=Ar.getTagNamespace(e);return Ar.isReservedTag(e)?new ai(e,n,z(r,o),(void 0),(void 0),o,t):(i=Et(t.$options,"components",e))?et(i,n,t,r,e):new ai(e,n,z(r,o),(void 0),(void 0),o,t)}return et(e,n,t,r)}function vt(t){t.$vnode=null,t._vnode=null,t._staticTrees=null,t.$slots=mt(t.$options._renderChildren),t.$createElement=l(dt,t),t.$options.el&&t.$mount(t.$options.el)}function gt(n){n.prototype.$nextTick=function(t){Br(t,this)},n.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e.staticRenderFns,i=e._parentVnode;if(t._isMounted)for(var o in t.$slots)t.$slots[o]=V(t.$slots[o]);r&&!t._staticTrees&&(t._staticTrees=[]),t.$vnode=i;var a;try{a=n.call(t._renderProxy,t.$createElement)}catch(s){if(hi("Error when rendering "+di(t)+":"),Ar.errorHandler)Ar.errorHandler.call(null,s,t);else{if(Ar._isServer)throw s;setTimeout(function(){throw s},0)}a=t._vnode}return a instanceof ai||(Array.isArray(a)&&hi("Multiple root nodes returned from render function. Render function should return a single root node.",t),a=si()),a.parent=i,a},n.prototype._h=dt,n.prototype._s=t,n.prototype._n=e,n.prototype._e=si,n.prototype._m=function(t,e){var n=this._staticTrees[t];if(n&&!e)return Array.isArray(n)?V(n):q(n);if(n=this._staticTrees[t]=this.$options.staticRenderFns[t].call(this._renderProxy),Array.isArray(n))for(var r=0;r<n.length;r++)n[r].isStatic=!0,n[r].key="__static__"+t+"_"+r;else n.isStatic=!0,n.key="__static__"+t;return n};var r=function(t){return t};n.prototype._f=function(t){return Et(this.$options,"filters",t,!0)||r},n.prototype._l=function(t,e){var n,r,i,o,a;if(Array.isArray(t))for(n=new Array(t.length),r=0,i=t.length;r<i;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(h(t))for(o=Object.keys(t),n=new Array(o.length),r=0,i=o.length;r<i;r++)a=o[r],n[r]=e(t[a],a,r);return n},n.prototype._b=function(t,e,n){if(e)if(h(e)){Array.isArray(e)&&(e=p(e));var r=t.data;for(var i in e)if("class"===i||"style"===i)r[i]=e[i];else{var o=n||Ar.mustUseProp(i)?r.domProps||(r.domProps={}):r.attrs||(r.attrs={});o[i]=e[i]}}else hi("v-bind without argument expects an Object or Array value",this)},n.prototype._k=function(t){return Ar.keyCodes[t]}}function mt(t){var e={};if(!t)return e;for(var n,r,i=z(t)||[],o=[],a=0,s=i.length;a<s;a++)if(r=i[a],r.data&&(n=r.data.slot)){delete r.data.slot;var u=e[n]||(e[n]=[]);"template"===r.tag?u.push.apply(u,r.children):u.push(r)}else o.push(r);return o.length&&(1!==o.length||" "!==o[0].text&&!o[0].isComment)&&(e["default"]=o),e}function yt(t){t._events=Object.create(null);var e=t.$options._parentListeners,n=l(t.$on,t),r=l(t.$off,t);t._updateListeners=function(t,e){G(t,e||{},n,r)},e&&t._updateListeners(e)}function bt(t){t.prototype.$on=function(t,e){var n=this;return(n._events[t]||(n._events[t]=[])).push(e),n},t.prototype.$once=function(t,e){function n(){r.$off(t,n),e.apply(r,arguments)}var r=this;return n.fn=e,r.$on(t,n),r},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;var r=n._events[t];if(!r)return n;if(1===arguments.length)return n._events[t]=null,n;for(var i,o=r.length;o--;)if(i=r[o],i===e||i.fn===e){r.splice(o,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?c(n):n;for(var r=c(arguments,1),i=0,o=n.length;i<o;i++)n[i].apply(e,r)}return e}}function xt(t){function e(t,e){var r=t.$options=Object.create(n(t));r.parent=e.parent,r.propsData=e.propsData,r._parentVnode=e._parentVnode,r._parentListeners=e._parentListeners,r._renderChildren=e._renderChildren,r._componentTag=e._componentTag,e.render&&(r.render=e.render,r.staticRenderFns=e.staticRenderFns)}function n(t){var e=t.constructor,n=e.options;if(e["super"]){var r=e["super"].options,i=e.superOptions;r!==i&&(e.superOptions=r,n=e.options=jt(r,e.extendOptions),n.name&&(n.components[n.name]=e))}return n}t.prototype._init=function(t){var r=this;r._uid=fi++,r._isVue=!0,t&&t._isComponent?e(r,t):r.$options=jt(n(r),t||{},r),Ir(r),r._self=r,Q(r),yt(r),tt(r,"beforeCreate"),M(r),tt(r,"created"),vt(r)}}function _t(t){this._init(t)}function wt(t,e){var n,r,o;for(n in e)r=t[n],o=e[n],i(t,n)?h(r)&&h(o)&&wt(r,o):$(t,n,o);return t}function Ct(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function kt(t,e){var n=Object.create(t||null);return e?f(n,e):n}function Tt(t){if(t.components){var e,n=t.components;for(var r in n){var i=r.toLowerCase();mr(i)||Ar.isReservedTag(i)?hi("Do not use built-in or reserved HTML elements as component id: "+r):(e=n[r],d(e)&&(n[r]=_t.extend(e)))}}}function St(t){var e=t.props;if(e){var n,r,i,o={};if(Array.isArray(e))for(n=e.length;n--;)r=e[n],"string"==typeof r?(i=xr(r),o[i]={type:null}):hi("props must be strings when using array syntax.");else if(d(e))for(var a in e)r=e[a],i=xr(a),o[i]=d(r)?r:{type:r};t.props=o}}function At(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}function jt(t,e,n){function r(r){var i=gi[r]||mi;c[r]=i(t[r],e[r],n,r)}Tt(e),St(e),At(e);var o=e["extends"];if(o&&(t="function"==typeof o?jt(t,o.options,n):jt(t,o,n)),e.mixins)for(var a=0,s=e.mixins.length;a<s;a++){var u=e.mixins[a];u.prototype instanceof _t&&(u=u.options),t=jt(t,u,n)}var l,c={};for(l in t)r(l);for(l in e)i(t,l)||r(l);return c}function Et(t,e,n,r){if("string"==typeof n){var i=t[e],o=i[n]||i[xr(n)]||i[_r(xr(n))];return r&&!o&&hi("Failed to resolve "+e.slice(0,-1)+": "+n,t),o}}function $t(t,e,n,r){if(n){var o=e[t],a=!i(n,t),s=n[t];if("Boolean"===Pt(o.type)&&(a&&!i(o,"default")?s=!1:""!==s&&s!==Cr(t)||(s=!0)),void 0===s){s=Ot(r,o,t);var u=ri.shouldConvert;ri.shouldConvert=!0,j(s),ri.shouldConvert=u}return Mt(o,t,s,r,a),s}}function Ot(t,e,n){if(i(e,"default")){var r=e["default"];return h(r)&&hi('Invalid default value for prop "'+n+'": Props with type Object/Array must use a factory function to return the default value.',t),"function"==typeof r&&e.type!==Function?r.call(t):r}}function Mt(t,e,n,r,i){if(t.required&&i)return void hi('Missing required prop: "'+e+'"',r);if(null!=n||t.required){var o=t.type,a=!o,s=[];if(o){Array.isArray(o)||(o=[o]);for(var u=0;u<o.length&&!a;u++){var l=Nt(n,o[u]);s.push(l.expectedType),a=l.valid}}if(!a)return void hi('Invalid prop: type check failed for prop "'+e+'". Expected '+s.map(_r).join(", ")+", got "+Object.prototype.toString.call(n).slice(8,-1)+".",r);var c=t.validator;c&&(c(n)||hi('Invalid prop: custom validator check failed for prop "'+e+'".',r))}}function Nt(t,e){var n,r=Pt(e);return n="String"===r?("undefined"==typeof t?"undefined":a(t))===(r="string"):"Number"===r?("undefined"==typeof t?"undefined":a(t))===(r="number"):"Boolean"===r?("undefined"==typeof t?"undefined":a(t))===(r="boolean"):"Function"===r?("undefined"==typeof t?"undefined":a(t))===(r="function"):"Object"===r?d(t):"Array"===r?Array.isArray(t):t instanceof e,{valid:n,expectedType:r}}function Pt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e&&e[1]}function Dt(t){t.use=function(t){if(!t.installed){var e=c(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}}}function Ft(t){t.mixin=function(e){t.options=jt(t.options,e)}}function Bt(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=0===n.cid;if(r&&t._Ctor)return t._Ctor;var i=t.name||n.options.name;/^[a-zA-Z][\w-]*$/.test(i)||(hi('Invalid component name: "'+i+'". Component names can only contain alphanumeric characaters and the hyphen.'),i=null);var o=function(t){this._init(t)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=e++,o.options=jt(n.options,t),o["super"]=n,o.extend=n.extend,Ar._assetTypes.forEach(function(t){o[t]=n[t]}),i&&(o.options.components[i]=o),o.superOptions=n.options,o.extendOptions=t,r&&(t._Ctor=o),o}}function Lt(t){Ar._assetTypes.forEach(function(e){t[e]=function(n,r){return r?("component"===e&&Ar.isReservedTag(n)&&hi("Do not use built-in or reserved HTML elements as component id: "+n),"component"===e&&d(r)&&(r.name=r.name||n,r=t.extend(r)),"directive"===e&&"function"==typeof r&&(r={bind:r,update:r}),this.options[e+"s"][n]=r,r):this.options[e+"s"][n]}})}function Rt(t){var e={};e.get=function(){return Ar},e.set=function(){hi("Do not replace the Vue.config object, set individual fields instead.")},Object.defineProperty(t,"config",e),t.util=yi,t.set=$,t["delete"]=O,t.nextTick=Br,t.options=Object.create(null),Ar._assetTypes.forEach(function(e){t.options[e+"s"]=Object.create(null)}),f(t.options.components,xi),Dt(t),Ft(t),Bt(t),Lt(t)}function It(t){for(var e=t.data,n=t,r=t;r.child;)r=r.child._vnode,r.data&&(e=Ht(r.data,e));for(;n=n.parent;)n.data&&(e=Ht(e,n.data));return qt(e)}function Ht(t,e){return{staticClass:Vt(t.staticClass,e.staticClass),"class":t["class"]?[t["class"],e["class"]]:e["class"]}}function qt(t){var e=t["class"],n=t.staticClass;return n||e?Vt(n,zt(e)):""}function Vt(t,e){return t?e?t+" "+e:t:e||""}function zt(t){var e="";if(!t)return e;if("string"==typeof t)return t;if(Array.isArray(t)){for(var n,r=0,i=t.length;r<i;r++)t[r]&&(n=zt(t[r]))&&(e+=n+" ");return e.slice(0,-1)}if(h(t)){for(var o in t)t[o]&&(e+=o+" ");return e.slice(0,-1)}return e}function Ut(t){return Pi(t)?"svg":"math"===t?"math":void 0}function Wt(t){if(!$r)return!0;if(Fi(t))return!1;if(t=t.toLowerCase(),null!=Bi[t])return Bi[t];var e=document.createElement(t);return t.indexOf("-")>-1?Bi[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Bi[t]=/HTMLUnknownElement/.test(e.toString())}function Xt(t){if("string"==typeof t){var e=t;if(t=document.querySelector(t),!t)return hi("Cannot find element: "+e),document.createElement("div")}return t}function Jt(t){return document.createElement(t)}function Gt(t,e){return document.createElementNS(Ei[t],e)}function Zt(t){return document.createTextNode(t)}function Yt(t){return document.createComment(t)}function Qt(t,e,n){t.insertBefore(e,n)}function Kt(t,e){t.removeChild(e)}function te(t,e){t.appendChild(e)}function ee(t){return t.parentNode}function ne(t){return t.nextSibling}function re(t){return t.tagName}function ie(t,e){t.textContent=e}function oe(t){return t.childNodes}function ae(t,e,n){t.setAttribute(e,n)}function se(t,e){var n=t.data.ref;if(n){var i=t.context,o=t.child||t.elm,a=i.$refs;e?Array.isArray(a[n])?r(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].push(o):a[n]=[o]:a[n]=o}}function ue(t){return null==t}function le(t){return null!=t}function ce(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&!t.data==!e.data}function fe(t,e,n){var r,i,o={};for(r=e;r<=n;++r)i=t[r].key,le(i)&&(o[i]=r);return o}function he(e){function n(t){return new ai(k.tagName(t).toLowerCase(),{},[],(void 0),t)}function r(t,e){function n(){0===--n.listeners&&i(t)}return n.listeners=e,n}function i(t){var e=k.parentNode(t);k.removeChild(e,t)}function o(t,e,n){var r,i,a=t.data;if(t.isRootInsert=!n,le(a)&&(le(r=a.hook)&&le(r=r.init)&&r(t),le(r=t.child)))return l(t,e),t.elm;var f=t.children,h=t.tag;if(le(h)){if(t.ns||Ar.ignoredElements&&Ar.ignoredElements.indexOf(h)>-1||!Ar.isUnknownElement(h)||hi("Unknown custom element: <"+h+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',t.context),i=t.elm=t.ns?k.createElementNS(t.ns,h):k.createElement(h),c(t),Array.isArray(f))for(r=0;r<f.length;++r)k.appendChild(i,o(f[r],e,!0));else s(t.text)&&k.appendChild(i,k.createTextNode(t.text));le(a)&&u(t,e)}else i=t.isComment?t.elm=k.createComment(t.text):t.elm=k.createTextNode(t.text);return t.elm}function a(t){for(;t.child;)t=t.child._vnode;return le(t.tag)}function u(t,e){for(var n=0;n<w.create.length;++n)w.create[n](Wi,t);x=t.data.hook,le(x)&&(x.create&&x.create(Wi,t),x.insert&&e.push(t))}function l(t,e){t.data.pendingInsert&&e.push.apply(e,t.data.pendingInsert),t.elm=t.child.$el,a(t)?(u(t,e),c(t)):(se(t),e.push(t))}function c(t){var e;le(e=t.context)&&le(e=e.$options._scopeId)&&k.setAttribute(t.elm,e,""),le(e=ui)&&e!==t.context&&le(e=e.$options._scopeId)&&k.setAttribute(t.elm,e,"")}function f(t,e,n,r,i,a){for(;r<=i;++r)k.insertBefore(t,o(n[r],a),e)}function h(t){var e,n,r=t.data;if(le(r))for(le(e=r.hook)&&le(e=e.destroy)&&e(t),e=0;e<w.destroy.length;++e)w.destroy[e](t);if(le(e=t.child)&&!r.keepAlive&&h(e._vnode),le(e=t.children))for(n=0;n<t.children.length;++n)h(t.children[n])}function d(t,e,n,r){for(;n<=r;++n){var i=e[n];le(i)&&(le(i.tag)?(p(i),h(i)):k.removeChild(t,i.elm))}}function p(t,e){if(e||le(t.data)){var n=w.remove.length+1;for(e?e.listeners+=n:e=r(t.elm,n),le(x=t.child)&&le(x=x._vnode)&&le(x.data)&&p(x,e),x=0;x<w.remove.length;++x)w.remove[x](t,e);le(x=t.data.hook)&&le(x=x.remove)?x(t,e):e()}else i(t.elm)}function v(t,e,n,r,i){for(var a,s,u,l,c=0,h=0,p=e.length-1,v=e[0],m=e[p],y=n.length-1,b=n[0],x=n[y],_=!i;c<=p&&h<=y;)ue(v)?v=e[++c]:ue(m)?m=e[--p]:ce(v,b)?(g(v,b,r),v=e[++c],b=n[++h]):ce(m,x)?(g(m,x,r),m=e[--p],x=n[--y]):ce(v,x)?(g(v,x,r),_&&k.insertBefore(t,v.elm,k.nextSibling(m.elm)),v=e[++c],x=n[--y]):ce(m,b)?(g(m,b,r),_&&k.insertBefore(t,m.elm,v.elm),m=e[--p],b=n[++h]):(ue(a)&&(a=fe(e,c,p)),s=le(b.key)?a[b.key]:null,ue(s)?(k.insertBefore(t,o(b,r),v.elm),b=n[++h]):(u=e[s],u||hi("It seems there are duplicate keys that is causing an update error. Make sure each v-for item has a unique key."),u.tag!==b.tag?(k.insertBefore(t,o(b,r),v.elm),b=n[++h]):(g(u,b,r),e[s]=void 0,_&&k.insertBefore(t,b.elm,v.elm),b=n[++h])));c>p?(l=ue(n[y+1])?null:n[y+1].elm,f(t,l,n,h,y,r)):h>y&&d(t,e,c,p)}function g(t,e,n,r){if(t!==e){if(e.isStatic&&t.isStatic&&e.key===t.key&&e.isCloned)return void(e.elm=t.elm);var i,o,s=le(i=e.data);s&&le(o=i.hook)&&le(i=o.prepatch)&&i(t,e);var u=e.elm=t.elm,l=t.children,c=e.children;if(s&&a(e)){for(i=0;i<w.update.length;++i)w.update[i](t,e);le(o)&&le(i=o.update)&&i(t,e)}if(ue(e.text)?le(l)&&le(c)?l!==c&&v(u,l,c,n,r):le(c)?(le(t.text)&&k.setTextContent(u,""),f(u,null,c,0,c.length-1,n)):le(l)?d(u,l,0,l.length-1):le(t.text)&&k.setTextContent(u,""):t.text!==e.text&&k.setTextContent(u,e.text),s){for(i=0;i<w.postpatch.length;++i)w.postpatch[i](t,e);le(o)&&le(i=o.postpatch)&&i(t,e)}}}function m(t,e,n){if(n&&t.parent)t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}function y(t,e,n){if(!b(t,e))return!1;e.elm=t;var r=e.tag,i=e.data,o=e.children;if(le(i)&&(le(x=i.hook)&&le(x=x.init)&&x(e,!0),le(x=e.child)))return l(e,n),!0;if(le(r)){if(le(o)){var a=k.childNodes(t),s=!0;if(a.length!==o.length)s=!1;else for(var c=0;c<o.length;c++)if(!y(a[c],o[c],n)){s=!1;break}if(!s)return"undefined"==typeof console||T||(T=!0,console.warn("Parent: ",t),console.warn("Mismatching childNodes vs. VNodes: ",a,o)),!1}le(i)&&u(e,n)}return!0}function b(e,n){return n.tag?0===n.tag.indexOf("vue-component")||n.tag===k.tagName(e).toLowerCase():t(n.text)===e.data}var x,_,w={},C=e.modules,k=e.nodeOps;for(x=0;x<Xi.length;++x)for(w[Xi[x]]=[],_=0;_<C.length;++_)void 0!==C[_][Xi[x]]&&w[Xi[x]].push(C[_][Xi[x]]);var T=!1;return function(t,e,r,i){var s,u,l=!1,c=[];if(t){var f=le(t.nodeType);if(!f&&ce(t,e))g(t,e,c,i);else{if(f){if(1===t.nodeType&&t.hasAttribute("server-rendered")&&(t.removeAttribute("server-rendered"),r=!0),r){if(y(t,e,c))return m(e,c,!0),t;hi("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.")}t=n(t)}if(s=t.elm,u=k.parentNode(s),o(e,c),e.parent&&(e.parent.elm=e.elm,a(e)))for(var p=0;p<w.create.length;++p)w.create[p](Wi,e.parent);null!==u?(k.insertBefore(u,e.elm,k.nextSibling(s)),d(u,[t],0,0)):le(t.tag)&&h(t)}}else l=!0,o(e,c);return m(e,c,l),e.elm}}function de(t,e,n){var r=e.data.directives;if(r)for(var i=t.data.directives,o="update"===n||"componentUpdated"===n,a=0;a<r.length;a++){var s=r[a],u=Et(e.context.$options,"directives",s.name,!0),l=u&&u[n];l&&(o&&i&&(s.oldValue=i[a].value),s.modifiers||(s.modifiers=Gi),l(e.elm,s,e,t))}}function pe(t,e){if(t.data.attrs||e.data.attrs){var n,r,i,o=e.elm,a=t.data.attrs||{},s=e.data.attrs||{};s.__ob__&&(s=e.data.attrs=f({},s));for(n in s)r=s[n],i=a[n],i!==r&&ve(o,n,r);for(n in a)null==s[n]&&(Si(n)?o.removeAttributeNS(Ti,Ai(n)):Ci(n)||o.removeAttribute(n))}}function ve(t,e,n){ki(e)?ji(n)?t.removeAttribute(e):t.setAttribute(e,e):Ci(e)?t.setAttribute(e,ji(n)||"false"===n?"false":"true"):Si(e)?ji(n)?t.removeAttributeNS(Ti,Ai(e)):t.setAttributeNS(Ti,e,n):ji(n)?t.removeAttribute(e):t.setAttribute(e,n)}function ge(t,e){var n=e.elm,r=e.data,i=t.data;if(r.staticClass||r["class"]||i&&(i.staticClass||i["class"])){var o=It(e),a=n._transitionClasses;a&&(o=Vt(o,zt(a))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}function me(t,e){if(t.data.on||e.data.on){var n=e.data.on||{},r=t.data.on||{},i=e.elm._v_add||(e.elm._v_add=function(t,n,r){e.elm.addEventListener(t,n,r)}),o=e.elm._v_remove||(e.elm._v_remove=function(t,n){e.elm.removeEventListener(t,n)});G(n,r,i,o)}}function ye(t,e){if(t.data.domProps||e.data.domProps){var n,r,i=e.elm,o=t.data.domProps||{},a=e.data.domProps||{};a.__ob__&&(a=e.data.domProps=f({},a));for(n in o)null==a[n]&&(i[n]=void 0);for(n in a)if("textContent"!==n&&"innerHTML"!==n||!e.children||(e.children.length=0),r=a[n],"value"===n){i._value=r;var s=null==r?"":String(r);i.value!==s&&(i.value=s)}else i[n]=r}}function be(t,e){if(t.data&&t.data.style||e.data.style){var n,r,i=e.elm,o=t.data.style||{},a=e.data.style||{};if("string"==typeof a)return void(i.style.cssText=a);var s=a.__ob__;Array.isArray(a)&&(a=e.data.style=p(a)),s&&(a=e.data.style=f({},a));for(r in o)a[r]||(i.style[no(r)]="");for(r in a)n=a[r],n!==o[r]&&(i.style[no(r)]=n||"")}}function xe(t,e){if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+t.getAttribute("class")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function _e(t,e){if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e);else{for(var n=" "+t.getAttribute("class")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");t.setAttribute("class",n.trim())}}function we(t){fo(function(){fo(t)})}function Ce(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),xe(t,e)}function ke(t,e){t._transitionClasses&&r(t._transitionClasses,e),_e(t,e)}function Te(t,e,n){var r=Se(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===oo?uo:co,u=0,l=function(){t.removeEventListener(s,c),n()},c=function(e){e.target===t&&++u>=a&&l()};setTimeout(function(){u<a&&l()},o+1),t.addEventListener(s,c)}function Se(t,e){var n,r=window.getComputedStyle(t),i=r[so+"Delay"].split(", "),o=r[so+"Duration"].split(", "),a=Ae(i,o),s=r[lo+"Delay"].split(", "),u=r[lo+"Duration"].split(", "),l=Ae(s,u),c=0,f=0;e===oo?a>0&&(n=oo,c=a,f=o.length):e===ao?l>0&&(n=ao,c=l,f=u.length):(c=Math.max(a,l),n=c>0?a>l?oo:ao:null,f=n?n===oo?o.length:u.length:0);var h=n===oo&&ho.test(r[so+"Property"]);return{type:n,timeout:c,propCount:f,hasTransform:h}}function Ae(t,e){return Math.max.apply(null,e.map(function(e,n){return je(e)+je(t[n])}))}function je(t){return 1e3*Number(t.slice(0,-1))}function Ee(t){var e=t.elm;e._leaveCb&&(e._leaveCb.cancelled=!0,e._leaveCb());var n=Oe(t.data.transition);if(n&&!e._enterCb&&1===e.nodeType){var r=n.css,i=n.type,o=n.enterClass,a=n.enterActiveClass,s=n.appearClass,u=n.appearActiveClass,l=n.beforeEnter,c=n.enter,f=n.afterEnter,h=n.enterCancelled,d=n.beforeAppear,p=n.appear,v=n.afterAppear,g=n.appearCancelled,m=ui.$vnode,y=m&&m.parent?m.parent.context:ui,b=!y._isMounted||!t.isRootInsert;
+if(!b||p||""===p){var x=b?s:o,_=b?u:a,w=b?d||l:l,C=b&&"function"==typeof p?p:c,k=b?v||f:f,T=b?g||h:h,S=r!==!1&&!Ii,A=C&&(C._length||C.length)>1,j=e._enterCb=Me(function(){S&&ke(e,_),j.cancelled?(S&&ke(e,x),T&&T(e)):k&&k(e),e._enterCb=null});t.data.show||J(t.data.hook||(t.data.hook={}),"insert",function(){var n=e.parentNode,r=n&&n._pending&&n._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),C&&C(e,j)}),w&&w(e),S&&(Ce(e,x),Ce(e,_),we(function(){ke(e,x),j.cancelled||A||Te(e,i,j)})),t.data.show&&C&&C(e,j),S||A||j()}}}function $e(t,e){function n(){g.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),l&&l(r),p&&(Ce(r,s),Ce(r,u),we(function(){ke(r,s),g.cancelled||v||Te(r,a,g)})),c&&c(r,g),p||v||g())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=Oe(t.data.transition);if(!i)return e();if(!r._leaveCb&&1===r.nodeType){var o=i.css,a=i.type,s=i.leaveClass,u=i.leaveActiveClass,l=i.beforeLeave,c=i.leave,f=i.afterLeave,h=i.leaveCancelled,d=i.delayLeave,p=o!==!1&&!Ii,v=c&&(c._length||c.length)>1,g=r._leaveCb=Me(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),p&&ke(r,u),g.cancelled?(p&&ke(r,s),h&&h(r)):(e(),f&&f(r)),r._leaveCb=null});d?d(n):n()}}function Oe(t){if(t){if("object"===("undefined"==typeof t?"undefined":a(t))){var e={};return t.css!==!1&&f(e,po(t.name||"v")),f(e,t),e}return"string"==typeof t?po(t):void 0}}function Me(t){var e=!1;return function(){e||(e=!0,t())}}function Ne(t,e,n){var r=e.value,i=t.multiple;if(i&&!Array.isArray(r))return void hi('<select multiple v-model="'+e.expression+'"> expects an Array value for its binding, but got '+Object.prototype.toString.call(r).slice(8,-1),n);for(var o,a,s=0,u=t.options.length;s<u;s++)if(a=t.options[s],i)o=r.indexOf(De(a))>-1,a.selected!==o&&(a.selected=o);else if(De(a)===r)return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}function Pe(t,e){for(var n=0,r=e.length;n<r;n++)if(De(e[n])===t)return!1;return!0}function De(t){return"_value"in t?t._value:t.value||t.text}function Fe(t){t.target.composing=!0}function Be(t){t.target.composing=!1,Le(t.target,"input")}function Le(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Re(t){return!t.child||t.data&&t.data.transition?t:Re(t.child._vnode)}function Ie(t){var e=t&&t.componentOptions;return e&&e.Ctor.options["abstract"]?Ie(X(e.children)):t}function He(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[xr(o)]=i[o].fn;return e}function qe(t,e){return/\d-keep-alive$/.test(e.tag)?t("keep-alive"):null}function Ve(t){for(;t=t.parent;)if(t.data.transition)return!0}function ze(t){return jo.innerHTML=t,jo.textContent}function Ue(t,e){return e&&(t=t.replace(sa,"<").replace(ua,">")),t.replace(aa,"&").replace(la,'"')}function We(t,e){function n(e){d+=e,t=t.substring(e)}function r(){var e=t.match(Do);if(e){var r={tagName:e[1],attrs:[],start:d};n(e[0].length);for(var i,o;!(i=t.match(Fo))&&(o=t.match(Mo));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=d,r}}function i(t){var n=t.tagName,r=t.unarySlash;l&&("p"===s&&Ni(n)&&o("",s),Mi(n)&&s===n&&o("",n));for(var i=c(n)||"html"===n&&"head"===s||!!r,a=t.attrs.length,d=new Array(a),p=0;p<a;p++){var v=t.attrs[p];Ro&&v[0].indexOf('""')===-1&&(""===v[3]&&delete v[3],""===v[4]&&delete v[4],""===v[5]&&delete v[5]);var g=v[3]||v[4]||v[5]||"";d[p]={name:v[1],value:f?Ue(g,h):g}}i||(u.push({tag:n,attrs:d}),s=n,r=""),e.start&&e.start(n,d,i,t.start,t.end)}function o(t,n,r,i){var o;if(null==r&&(r=d),null==i&&(i=d),n){var a=n.toLowerCase();for(o=u.length-1;o>=0&&u[o].tag.toLowerCase()!==a;o--);}else o=0;if(o>=0){for(var l=u.length-1;l>=o;l--)e.end&&e.end(u[l].tag,r,i);u.length=o,s=o&&u[o-1].tag}else"br"===n.toLowerCase()?e.start&&e.start(n,[],!0,r,i):"p"===n.toLowerCase()&&(e.start&&e.start(n,[],!1,r,i),e.end&&e.end(n,r,i))}for(var a,s,u=[],l=e.expectHTML,c=e.isUnaryTag||Sr,f=e.isFromDOM,h=e.shouldDecodeTags,d=0;t;){if(a=t,s&&ia(s)){var p=s.toLowerCase(),v=oa[p]||(oa[p]=new RegExp("([\\s\\S]*?)(</"+p+"[^>]*>)","i")),g=0,m=t.replace(v,function(t,n,r){return g=r.length,"script"!==p&&"style"!==p&&"noscript"!==p&&(n=n.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)\]\]>/g,"$1")),e.chars&&e.chars(n),""});d+=t.length-m.length,t=m,o("</"+p+">",p,d-g,d)}else{var y=t.indexOf("<");if(0===y){if(/^<!--/.test(t)){var b=t.indexOf("-->");if(b>=0){n(b+3);continue}}if(/^<!\[/.test(t)){var x=t.indexOf("]>");if(x>=0){n(x+2);continue}}var _=t.match(Lo);if(_){n(_[0].length);continue}var w=t.match(Bo);if(w){var C=d;n(w[0].length),o(w[0],w[1],C,d);continue}var k=r();if(k){i(k);continue}}var T;y>=0?(T=t.substring(0,y),n(y)):(T=t,t=""),e.chars&&e.chars(T)}if(t===a)throw new Error("Error parsing template:\n\n"+t)}o()}function Xe(t){function e(){(a||(a=[])).push(t.slice(h,i).trim()),h=i+1}var n,r,i,o,a,s=!1,u=!1,l=0,c=0,f=0,h=0;for(i=0;i<t.length;i++)if(r=n,n=t.charCodeAt(i),s)39===n&&92!==r&&(s=!s);else if(u)34===n&&92!==r&&(u=!u);else if(124!==n||124===t.charCodeAt(i+1)||124===t.charCodeAt(i-1)||l||c||f)switch(n){case 34:u=!0;break;case 39:s=!0;break;case 40:f++;break;case 41:f--;break;case 91:c++;break;case 93:c--;break;case 123:l++;break;case 125:l--}else void 0===o?(h=i+1,o=t.slice(0,i).trim()):e();if(void 0===o?o=t.slice(0,i).trim():0!==h&&e(),a)for(i=0;i<a.length;i++)o=Je(o,a[i]);return o}function Je(t,e){var n=e.indexOf("(");if(n<0)return'_f("'+e+'")('+t+")";var r=e.slice(0,n),i=e.slice(n+1);return'_f("'+r+'")('+t+","+i}function Ge(t,e){var n=e?ha(e):ca;if(n.test(t)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(t);){i=r.index,i>a&&o.push(JSON.stringify(t.slice(a,i)));var s=Xe(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a<t.length&&o.push(JSON.stringify(t.slice(a))),o.join("+")}}function Ze(t){console.error("[Vue parser]: "+t)}function Ye(t,e){return t?t.map(function(t){return t[e]}).filter(function(t){return t}):[]}function Qe(t,e,n){(t.props||(t.props=[])).push({name:e,value:n})}function Ke(t,e,n){(t.attrs||(t.attrs=[])).push({name:e,value:n})}function tn(t,e,n,r,i){(t.directives||(t.directives=[])).push({name:e,value:n,arg:r,modifiers:i})}function en(t,e,n){var r=t.hooks||(t.hooks={}),i=r[e];i?i.push(n):r[e]=[n]}function nn(t,e,n,r,i){r&&r.capture&&(delete r.capture,e="!"+e);var o;r&&r["native"]?(delete r["native"],o=t.nativeEvents||(t.nativeEvents={})):o=t.events||(t.events={});var a={value:n,modifiers:r},s=o[e];Array.isArray(s)?i?s.unshift(a):s.push(a):s?o[e]=i?[a,s]:[s,a]:o[e]=a}function rn(t,e,n){var r=on(t,":"+e)||on(t,"v-bind:"+e);if(null!=r)return r;if(n!==!1){var i=on(t,e);if(null!=i)return JSON.stringify(i)}}function on(t,e){var n;if(null!=(n=t.attrsMap[e]))for(var r=t.attrsList,i=0,o=r.length;i<o;i++)if(r[i].name===e){r.splice(i,1);break}return n}function an(t,e){Io=e.warn||Ze,Ho=e.getTagNamespace||Sr,qo=e.mustUseProp||Sr,Vo=e.isPreTag||Sr,zo=Ye(e.modules,"preTransformNode"),Uo=Ye(e.modules,"transformNode"),Wo=Ye(e.modules,"postTransformNode"),Xo=e.delimiters,Jo=Object.create(null);var n,r,i=[],o=e.preserveWhitespace!==!1,a=!1,s=!1,u=!1;return We(t,{expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,isFromDOM:e.isFromDOM,shouldDecodeTags:e.shouldDecodeTags,start:function(o,l,c){function f(e){"slot"!==e.tag&&"template"!==e.tag||Io("Cannot use <"+e.tag+"> as component root element because it may contain multiple nodes:\n"+t),e.attrsMap.hasOwnProperty("v-for")&&Io("Cannot use v-for on stateful component root element because it renders multiple elements:\n"+t)}var h=r&&r.ns||Ho(o);e.isIE&&"svg"===h&&(l=Cn(l));var d={type:1,tag:o,attrsList:l,attrsMap:xn(l),parent:r,children:[]};h&&(d.ns=h),wn(d)&&(d.forbidden=!0,Io("Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <"+o+">."));for(var p=0;p<zo.length;p++)zo[p](d,e);if(a||(sn(d),d.pre&&(a=!0)),Vo(d.tag)&&(s=!0),a)un(d);else{fn(d),hn(d),pn(d),d.plain=!d.key&&!l.length,ln(d),cn(d),vn(d),gn(d);for(var v=0;v<Uo.length;v++)Uo[v](d,e);mn(d)}n?i.length||u||(n.attrsMap.hasOwnProperty("v-if")&&d.attrsMap.hasOwnProperty("v-else")?f(d):(u=!0,Io("Component template should contain exactly one root element:\n\n"+t))):(n=d,f(n)),r&&!d.forbidden&&(d["else"]?dn(d,r):(r.children.push(d),d.parent=r)),c||(r=d,i.push(d));for(var g=0;g<Wo.length;g++)Wo[g](d,e)},end:function(){var t=i[i.length-1],e=t.children[t.children.length-1];e&&3===e.type&&" "===e.text&&t.children.pop(),i.length-=1,r=i[i.length-1],t.pre&&(a=!1),Vo(t.tag)&&(s=!1)},chars:function(e){if(!r)return void(u||(u=!0,Io("Component template should contain exactly one root element:\n\n"+t)));if(e=s||e.trim()?xa(e):o&&r.children.length?" ":""){var n;!a&&" "!==e&&(n=Ge(e,Xo))?r.children.push({type:2,expression:n,text:e}):r.children.push({type:3,text:e})}}}),n}function sn(t){null!=on(t,"v-pre")&&(t.pre=!0)}function un(t){var e=t.attrsList.length;if(e)for(var n=t.attrs=new Array(e),r=0;r<e;r++)n[r]={name:t.attrsList[r].name,value:JSON.stringify(t.attrsList[r].value)};else t.pre||(t.plain=!0)}function ln(t){var e=rn(t,"key");e&&(t.key=e)}function cn(t){var e=rn(t,"ref");e&&(t.ref=e,t.refInFor=yn(t))}function fn(t){var e;if(e=on(t,"v-for")){var n=e.match(pa);if(!n)return void Io("Invalid v-for expression: "+e);t["for"]=n[2].trim();var r=n[1].trim(),i=r.match(va);i?(t.alias=i[1].trim(),t.iterator1=i[2].trim(),i[3]&&(t.iterator2=i[3].trim())):t.alias=r}}function hn(t){var e=on(t,"v-if");e&&(t["if"]=e),null!=on(t,"v-else")&&(t["else"]=!0)}function dn(t,e){var n=_n(e.children);n&&n["if"]?n.elseBlock=t:Io("v-else used on element <"+t.tag+"> without corresponding v-if.")}function pn(t){var e=on(t,"v-once");null!=e&&(t.once=!0)}function vn(t){if("slot"===t.tag){t.attrsMap[":name"]||t.attrsMap["v-bind:name"]||!yn(t)||Io("Static <slot> found inside v-for: they will not render correctly. Render the list in parent scope and use a single <slot> instead."),t.slotName=rn(t,"name");var e=t.slotName;Jo[e]&&Io("Duplicate "+(e?"<slot> with name "+e:"default <slot>")+" found in the same template."),Jo[e]=!0}else{var n=rn(t,"slot");n&&(t.slotTarget=n)}}function gn(t){var e;(e=rn(t,"is"))&&(t.component=e),null!=on(t,"inline-template")&&(t.inlineTemplate=!0)}function mn(t){var e,n,r,i,o,a,s,u=t.attrsList;for(e=0,n=u.length;e<n;e++)if(r=u[e].name,i=u[e].value,da.test(r))if(t.hasBindings=!0,a=bn(r),a&&(r=r.replace(ba,"")),ga.test(r))r=r.replace(ga,""),a&&a.prop&&(s=!0,r=xr(r),"innerHtml"===r&&(r="innerHTML")),s||qo(r)?Qe(t,r,i):Ke(t,r,i);else if(ma.test(r))r=r.replace(ma,""),nn(t,r,i,a);else{r=r.replace(da,"");var l=r.match(ya);l&&(o=l[1])&&(r=r.slice(0,-(o.length+1))),tn(t,r,i,o,a)}else{var c=Ge(i,Xo);c&&Io(r+'="'+i+'": Interpolation inside attributes has been deprecated. Use v-bind or the colon shorthand instead.'),Ke(t,r,JSON.stringify(i))}}function yn(t){for(var e=t;e;){if(void 0!==e["for"])return!0;e=e.parent}return!1}function bn(t){var e=t.match(ba);if(e){var n={};return e.forEach(function(t){n[t.slice(1)]=!0}),n}}function xn(t){for(var e={},n=0,r=t.length;n<r;n++)e[t[n].name]&&Io("duplicate attribute: "+t[n].name),e[t[n].name]=t[n].value;return e}function _n(t){for(var e=t.length;e--;)if(t[e].tag)return t[e]}function wn(t){return"style"===t.tag||"script"===t.tag&&(!t.attrsMap.type||"text/javascript"===t.attrsMap.type)}function Cn(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];_a.test(r.name)||(r.name=r.name.replace(wa,""),e.push(r))}return e}function kn(t,e){t&&(Go=Ca(e.staticKeys||""),Zo=e.isReservedTag||function(){return!1},Sn(t),An(t,!1))}function Tn(t){return n("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(t?","+t:""))}function Sn(t){if(t["static"]=jn(t),1===t.type)for(var e=0,n=t.children.length;e<n;e++){var r=t.children[e];Sn(r),r["static"]||(t["static"]=!1)}}function An(t,e){if(1===t.type){if(t.once||t["static"])return t.staticRoot=!0,void(t.staticInFor=e);if(t.children)for(var n=0,r=t.children.length;n<r;n++)An(t.children[n],!!t["for"])}}function jn(t){return 2!==t.type&&(3===t.type||!(!t.pre&&(t.hasBindings||t["if"]||t["for"]||mr(t.tag)||!Zo(t.tag)||!Object.keys(t).every(Go))))}function En(t,e){var n=e?"nativeOn:{":"on:{";for(var r in t)n+='"'+r+'":'+$n(t[r])+",";return n.slice(0,-1)+"}"}function $n(t){if(t){if(Array.isArray(t))return"["+t.map($n).join(",")+"]";if(t.modifiers){var e="",n=[];for(var r in t.modifiers)Sa[r]?e+=Sa[r]:n.push(r);n.length&&(e=On(n)+e);var i=ka.test(t.value)?t.value+"($event)":t.value;return"function($event){"+e+i+"}"}return ka.test(t.value)?t.value:"function($event){"+t.value+"}"}return"function(){}"}function On(t){var e=1===t.length?Mn(t[0]):Array.prototype.concat.apply([],t.map(Mn));return Array.isArray(e)?"if("+e.map(function(t){return"$event.keyCode!=="+t}).join("&&")+")return;":"if($event.keyCode!=="+e+")return;"}function Mn(t){return parseInt(t,10)||Ta[t]||"_k("+JSON.stringify(t)+")"}function Nn(t,e){en(t,"construct","_b(n1,"+e.value+(e.modifiers&&e.modifiers.prop?",true":"")+")")}function Pn(t,e){var n=ea,r=ea=[];na=e,Yo=e.warn||Ze,Qo=Ye(e.modules,"transformCode"),Ko=Ye(e.modules,"genData"),ta=e.directives||{};var i=t?Dn(t):'_h("div")';return ea=n,{render:"with(this){return "+i+"}",staticRenderFns:r}}function Dn(t){if(t.staticRoot&&!t.staticProcessed)return t.staticProcessed=!0,ea.push("with(this){return "+Dn(t)+"}"),"_m("+(ea.length-1)+(t.staticInFor?",true":"")+")";if(t["for"]&&!t.forProcessed)return Ln(t);if(t["if"]&&!t.ifProcessed)return Fn(t);if("template"!==t.tag||t.slotTarget){if("slot"===t.tag)return zn(t);var e;if(t.component)e=Un(t);else{var n=Rn(t),r=t.inlineTemplate?null:Hn(t);e="_h('"+t.tag+"'"+(n?","+n:"")+(r?","+r:"")+")"}for(var i=0;i<Qo.length;i++)e=Qo[i](t,e);return e}return Hn(t)||"void 0"}function Fn(t){var e=t["if"];return t.ifProcessed=!0,"("+e+")?"+Dn(t)+":"+Bn(t)}function Bn(t){return t.elseBlock?Dn(t.elseBlock):"_e()"}function Ln(t){var e=t["for"],n=t.alias,r=t.iterator1?","+t.iterator1:"",i=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,"("+e+")&&_l(("+e+"),function("+n+r+i+"){return "+Dn(t)+"})"}function Rn(t){if(!t.plain){var e="{",n=In(t);n&&(e+=n+","),t.key&&(e+="key:"+t.key+","),t.ref&&(e+="ref:"+t.ref+","),t.refInFor&&(e+="refInFor:true,"),t.component&&(e+='tag:"'+t.tag+'",'),t.slotTarget&&(e+="slot:"+t.slotTarget+",");for(var r=0;r<Ko.length;r++)e+=Ko[r](t);if(t.attrs&&(e+="attrs:{"+Wn(t.attrs)+"},"),t.props&&(e+="domProps:{"+Wn(t.props)+"},"),t.hooks&&(e+="hook:{"+Xn(t.hooks)+"},"),t.events&&(e+=En(t.events)+","),t.nativeEvents&&(e+=En(t.nativeEvents,!0)+","),t.inlineTemplate){var i=t.children[0];if((t.children.length>1||1!==i.type)&&Yo("Inline-template components must have exactly one child element."),1===i.type){var o=Pn(i,na);e+="inlineTemplate:{render:function(){"+o.render+"},staticRenderFns:["+o.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}return e.replace(/,$/,"")+"}"}}function In(t){var e=t.directives;if(e){var n,r,i,o,a="directives:[",s=!1;for(n=0,r=e.length;n<r;n++){i=e[n],o=!0;var u=ta[i.name]||Aa[i.name];u&&(o=!!u(t,i,Yo)),o&&(s=!0,a+='{name:"'+i.name+'"'+(i.value?",value:("+i.value+"),expression:"+JSON.stringify(i.value):"")+(i.arg?',arg:"'+i.arg+'"':"")+(i.modifiers?",modifiers:"+JSON.stringify(i.modifiers):"")+"},")}return s?a.slice(0,-1)+"]":void 0}}function Hn(t){if(t.children.length)return"["+t.children.map(qn).join(",")+"]"}function qn(t){return 1===t.type?Dn(t):Vn(t)}function Vn(t){return 2===t.type?t.expression:JSON.stringify(t.text)}function zn(t){var e="$slots["+(t.slotName||'"default"')+"]",n=Hn(t);return n?"("+e+"||"+n+")":e}function Un(t){var e=Hn(t);return"_h("+t.component+","+Rn(t)+(e?","+e:"")+")"}function Wn(t){for(var e="",n=0;n<t.length;n++){var r=t[n];e+='"'+r.name+'":'+r.value+","}return e.slice(0,-1)}function Xn(t){var e="";for(var n in t)e+='"'+n+'":function(n1,n2){'+t[n].join(";")+"},";return e.slice(0,-1)}function Jn(t,e){var n=an(t.trim(),e);kn(n,e);var r=Pn(n,e);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}}function Gn(t){var e=[];return t&&Zn(t,e),e}function Zn(t,e){if(1===t.type){for(var n in t.attrsMap)if(da.test(n)){var r=t.attrsMap[n];r&&("v-for"===n?Yn(t,'v-for="'+r+'"',e):Kn(r,n+'="'+r+'"',e))}if(t.children)for(var i=0;i<t.children.length;i++)Zn(t.children[i],e)}else 2===t.type&&Kn(t.expression,t.text,e)}function Yn(t,e,n){Kn(t["for"]||"",e,n),Qn(t.alias,"v-for alias",e,n),Qn(t.iterator1,"v-for iterator",e,n),Qn(t.iterator2,"v-for iterator",e,n)}function Qn(t,e,n,r){"string"!=typeof t||Ea.test(t)||r.push("- invalid "+e+' "'+t+'" in expression: '+n)}function Kn(t,e,n){try{new Function("return "+t)}catch(r){var i=t.replace($a,"").match(ja);i?n.push('- avoid using JavaScript keyword as property name: "'+i[0]+'" in expression '+e):n.push("- invalid expression: "+e)}}function tr(t,e){var n=e.warn||Ze,r=on(t,"class");if(r){var i=Ge(r,e.delimiters);i&&n('class="'+r+'": Interpolation inside attributes has been deprecated. Use v-bind or the colon shorthand instead.')}r&&(t.staticClass=JSON.stringify(r));var o=rn(t,"class",!1);o&&(t.classBinding=o)}function er(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}function nr(t){var e=rn(t,"style",!1);e&&(t.styleBinding=e)}function rr(t){return t.styleBinding?"style:("+t.styleBinding+"),":""}function ir(t,e,n){ra=n;var r=e.value,i=e.modifiers,o=t.tag,a=t.attrsMap.type;if("select"===o)return ur(t,r);if("input"===o&&"checkbox"===a)or(t,r);else{if("input"!==o||"radio"!==a)return sr(t,r,i);ar(t,r)}}function or(t,e){null!=t.attrsMap.checked&&ra("<"+t.tag+' v-model="'+e+"\" checked>:\ninline checked attributes will be ignored when using v-model. Declare initial values in the component's data option instead.");var n=rn(t,"value")||"null",r=rn(t,"true-value")||"true",i=rn(t,"false-value")||"false";Qe(t,"checked","Array.isArray("+e+")?("+e+").indexOf("+n+")>-1:("+e+")===("+r+")"),nn(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+r+"):("+i+");if(Array.isArray($$a)){var $$v="+n+",$$i=$$a.indexOf($$v);if($$c){$$i<0&&("+e+"=$$a.concat($$v))}else{$$i>-1&&("+e+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+e+"=$$c}",null,!0)}function ar(t,e){null!=t.attrsMap.checked&&ra("<"+t.tag+' v-model="'+e+"\" checked>:\ninline checked attributes will be ignored when using v-model. Declare initial values in the component's data option instead.");var n=rn(t,"value")||"null";Qe(t,"checked","("+e+")===("+n+")"),nn(t,"change",e+"="+n,null,!0)}function sr(t,e,n){"input"===t.tag&&t.attrsMap.value&&ra("<"+t.tag+' v-model="'+e+'" value="'+t.attrsMap.value+"\">:\ninline value attributes will be ignored when using v-model. Declare initial values in the component's data option instead."),"textarea"===t.tag&&t.children.length&&ra('<textarea v-model="'+e+"\">:\ninline content inside <textarea> will be ignored when using v-model. Declare initial values in the component's data option instead.");var r=t.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,u=o||Ri&&"range"===r?"change":"input",l=!o&&"range"!==r,c="input"===t.tag||"textarea"===t.tag,f=c?"$event.target.value"+(s?".trim()":""):"$event",h=a||"number"===r?e+"=_n("+f+")":e+"="+f;if(c&&l&&(h="if($event.target.composing)return;"+h),Qe(t,"value",c?"_s("+e+")":"("+e+")"),nn(t,u,h,null,!0),l)return!0}function ur(t,e){t.children.some(lr);var n=e+'=Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){return "_value" in o ? o._value : o.value})'+(null==t.attrsMap.multiple?"[0]":"");return nn(t,"change",n,null,!0),!0}function lr(t){return 1===t.type&&"option"===t.tag&&null!=t.attrsMap.selected&&(ra('<select v-model="'+t.parent.attrsMap["v-model"]+"\">:\ninline selected attributes on <option> will be ignored when using v-model. Declare initial values in the component's data option instead."),!0)}function cr(t,e){e.value&&Qe(t,"textContent","_s("+e.value+")")}function fr(t,e){e.value&&Qe(t,"innerHTML","_s("+e.value+")")}function hr(t,e){return e=e?f(f({},Fa),e):Fa,Jn(t,e)}function dr(t,e,n){var r=e&&e.warn||hi;try{new Function("return 1")}catch(i){i.toString().match(/unsafe-eval|CSP/)&&r("It seems you are using the standalone build of Vue.js in an environment with Content Security Policy that prohibits unsafe-eval. The template compiler cannot work in this environment. Consider relaxing the policy to allow unsafe-eval or pre-compiling your templates into render functions.")}var o=e&&e.delimiters?String(e.delimiters)+t:t;if(Da[o])return Da[o];var a={},s=hr(t,e);a.render=pr(s.render);var u=s.staticRenderFns.length;a.staticRenderFns=new Array(u);for(var l=0;l<u;l++)a.staticRenderFns[l]=pr(s.staticRenderFns[l]);return(a.render===v||a.staticRenderFns.some(function(t){return t===v}))&&r("failed to compile template:\n\n"+t+"\n\n"+Gn(s.ast).join("\n")+"\n\n",n),Da[o]=a}function pr(t){try{return new Function(t)}catch(e){return v}}function vr(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}var gr,mr=n("slot,component",!0),yr=Object.prototype.hasOwnProperty,br=/-(\w)/g,xr=u(function(t){return t.replace(br,function(t,e){return e?e.toUpperCase():""})}),_r=u(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),wr=/([^-])([A-Z])/g,Cr=u(function(t){return t.replace(wr,"$1-$2").replace(wr,"$1-$2").toLowerCase()}),kr=Object.prototype.toString,Tr="[object Object]",Sr=function(){return!1},Ar={optionMergeStrategies:Object.create(null),silent:!1,devtools:!0,errorHandler:null,ignoredElements:null,keyCodes:Object.create(null),isReservedTag:Sr,isUnknownElement:Sr,getTagNamespace:v,mustUseProp:Sr,_assetTypes:["component","directive","filter"],_lifecycleHooks:["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100,_isServer:!1},jr=/[^\w\.\$]/,Er="__proto__"in{},$r="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),Or=$r&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Mr=$r&&window.navigator.userAgent.toLowerCase(),Nr=Mr&&/(iphone|ipad|ipod|ios)/i.test(Mr),Pr=Mr&&Nr&&Mr.match(/os ([\d_]+)/),Dr=Pr&&Pr[1].split("_"),Fr=Dr&&Number(Dr[0])>=9&&Number(Dr[1])>=3&&!window.indexedDB,Br=function(){function t(){r=!1;var t=n.slice(0);n=[];for(var e=0;e<t.length;e++)t[e]()}var e,n=[],r=!1;if("undefined"==typeof MutationObserver||Fr){var i=$r?window:"undefined"!=typeof o?o:{};e=i.setImmediate||setTimeout}else{var a=1,s=new MutationObserver(t),u=document.createTextNode(String(a));s.observe(u,{characterData:!0}),e=function(){a=(a+1)%2,u.data=String(a)}}return function(i,o){var a=o?function(){i.call(o)}:i;n.push(a),r||(r=!0,e(t,0))}}();gr="undefined"!=typeof Set&&/native code/.test(Set.toString())?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return void 0!==this.set[t]},t.prototype.add=function(t){this.set[t]=1},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Lr,Rr,Ir,Hr=n("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,require");Lr="undefined"!=typeof Proxy&&Proxy.toString().match(/native code/),Rr={has:function Ra(t,e){var Ra=e in t,n=Hr(e)||"_"===e.charAt(0);return Ra||n||hi('Property or method "'+e+'" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option.',t),Ra||!n}},Ir=function(t){Lr?t._renderProxy=new Proxy(t,Rr):t._renderProxy=t};var qr=0,Vr=function(){this.id=qr++,this.subs=[]};Vr.prototype.addSub=function(t){this.subs.push(t)},Vr.prototype.removeSub=function(t){r(this.subs,t)},Vr.prototype.depend=function(){Vr.target&&Vr.target.addDep(this)},Vr.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},Vr.target=null;var zr=[],Ur=[],Wr={},Xr={},Jr=!1,Gr=!1,Zr=0,Yr=0,Qr=function(t,e,n,r){void 0===r&&(r={}),this.vm=t,t._watchers.push(this),this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.expression=e.toString(),this.cb=n,this.id=++Yr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new gr,this.newDepIds=new gr,"function"==typeof e?this.getter=e:(this.getter=b(e),this.getter||(this.getter=function(){},hi('Failed watching path: "'+e+'" Watcher only accepts simple dot-delimited paths. For full control, use a function instead.',t))),this.value=this.lazy?void 0:this.get()};Qr.prototype.get=function(){x(this);var t=this.getter.call(this.vm,this.vm);return this.deep&&T(t),_(),this.cleanupDeps(),t},Qr.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},Qr.prototype.cleanupDeps=function(){for(var t=this,e=this.deps.length;e--;){var n=t.deps[e];t.newDepIds.has(n.id)||n.removeSub(t)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},Qr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():k(this)},Qr.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||h(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(n){if(hi('Error in watcher "'+this.expression+'"',this.vm),!Ar.errorHandler)throw n;Ar.errorHandler.call(null,n,this.vm)}else this.cb.call(this.vm,t,e)}}},Qr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Qr.prototype.depend=function(){for(var t=this,e=this.deps.length;e--;)t.deps[e].depend()},Qr.prototype.teardown=function(){var t=this;if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||r(this.vm._watchers,this);for(var e=this.deps.length;e--;)t.deps[e].removeSub(t);this.active=!1}};var Kr=new gr,ti=Array.prototype,ei=Object.create(ti);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=ti[t];y(ei,t,function(){for(var n=arguments,r=arguments.length,i=new Array(r);r--;)i[r]=n[r];var o,a=e.apply(this,i),s=this.__ob__;switch(t){case"push":o=i;break;case"unshift":o=i;break;case"splice":o=i.slice(2)}return o&&s.observeArray(o),s.dep.notify(),a})});var ni=Object.getOwnPropertyNames(ei),ri={shouldConvert:!0,isSettingProps:!1},ii=function(t){if(this.value=t,this.dep=new Vr,this.vmCount=0,y(t,"__ob__",this),Array.isArray(t)){var e=Er?S:A;e(t,ei,ni),this.observeArray(t)}else this.walk(t)};ii.prototype.walk=function(t){var e=this.value;for(var n in t)E(e,n,t[n])},ii.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)j(t[e])};var oi={enumerable:!0,configurable:!0,get:v,set:v},ai=function(t,e,n,r,i,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=o,this.context=a,this.key=e&&e.key,this.componentOptions=s,this.child=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1;var u=e&&e.hook&&e.hook.construct;u&&u(this)},si=function(){var t=new ai;return t.text="",t.isComment=!0,t},ui=null,li={init:it,prepatch:ot,insert:at,destroy:st},ci=Object.keys(li),fi=0;xt(_t),I(_t),bt(_t),K(_t),gt(_t);var hi,di,pi="undefined"!=typeof console;hi=function(t,e){pi&&!Ar.silent&&console.error("[Vue warn]: "+t+" "+(e?vi(di(e)):""))},di=function(t){if(t.$root===t)return"root instance";var e=t._isVue?t.$options.name||t.$options._componentTag:t.name;return e?"component <"+e+">":"anonymous component"};var vi=function(t){return"anonymous component"===t&&(t+=' - use the "name" option for better debugging messages.'),"(found in "+t+")"},gi=Ar.optionMergeStrategies;gi.el=gi.propsData=function(t,e,n,r){return n||hi('option "'+r+'" can only be used during instance creation with the `new` keyword.'),mi(t,e)},gi.name=function(t,e,n){return n&&e&&hi('options "name" can only be used as a component definition option, not during instance creation.'),mi(t,e)},gi.data=function(t,e,n){return n?t||e?function(){var r="function"==typeof e?e.call(n):e,i="function"==typeof t?t.call(n):void 0;return r?wt(r,i):i}:void 0:e?"function"!=typeof e?(hi('The "data" option should be a function that returns a per-instance value in component definitions.',n),t):t?function(){return wt(e.call(this),t.call(this))}:e:t},Ar._lifecycleHooks.forEach(function(t){gi[t]=Ct}),Ar._assetTypes.forEach(function(t){gi[t+"s"]=kt}),gi.watch=function(t,e){if(!e)return t;if(!t)return e;var n={};f(n,t);for(var r in e){var i=n[r],o=e[r];i&&!Array.isArray(i)&&(i=[i]),n[r]=i?i.concat(o):[o]}return n},gi.props=gi.methods=gi.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(null);return f(n,t),f(n,e),n};var mi=function(t,e){return void 0===e?t:e},yi=Object.freeze({defineReactive:E,_toString:t,toNumber:e,makeMap:n,isBuiltInTag:mr,remove:r,hasOwn:i,isPrimitive:s,cached:u,camelize:xr,capitalize:_r,hyphenate:Cr,bind:l,toArray:c,extend:f,isObject:h,isPlainObject:d,toObject:p,noop:v,no:Sr,genStaticKeys:g,isReserved:m,def:y,parsePath:b,hasProto:Er,inBrowser:$r,devtools:Or,UA:Mr,nextTick:Br,get _Set(){return gr},mergeOptions:jt,resolveAsset:Et,get warn(){return hi},get formatComponentName(){return di},validateProp:$t}),bi={name:"keep-alive","abstract":!0,created:function(){this.cache=Object.create(null)},render:function(){var t=X(this.$slots["default"]);if(t&&t.componentOptions){var e=t.componentOptions,n=null==t.key?e.Ctor.cid+"::"+e.tag:t.key;this.cache[n]?t.child=this.cache[n].child:this.cache[n]=t,t.data.keepAlive=!0}return t},destroyed:function(){var t=this;for(var e in this.cache){var n=t.cache[e];tt(n.child,"deactivated"),n.child.$destroy()}}},xi={KeepAlive:bi};Rt(_t),Object.defineProperty(_t.prototype,"$isServer",{get:function(){return Ar._isServer}}),_t.version="2.0.0-rc.4";var _i,wi=n("value,selected,checked,muted"),Ci=n("contenteditable,draggable,spellcheck"),ki=n("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Ti=(n("accept,accept-charset,accesskey,action,align,alt,async,autocomplete,autofocus,autoplay,autosave,bgcolor,border,buffered,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,http-equiv,name,contenteditable,contextmenu,controls,coords,data,datetime,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,method,for,form,formaction,headers,<th>,height,hidden,high,href,hreflang,http-equiv,icon,id,ismap,itemprop,keytype,kind,label,lang,language,list,loop,low,manifest,max,maxlength,media,method,GET,POST,min,multiple,email,file,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,seamless,selected,shape,size,type,text,password,sizes,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,type,usemap,value,width,wrap"),"http://www.w3.org/1999/xlink"),Si=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Ai=function(t){return Si(t)?t.slice(6,t.length):""},ji=function(t){return null==t||t===!1},Ei={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},$i=n("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template"),Oi=n("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr",!0),Mi=n("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source",!0),Ni=n("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track",!0),Pi=n("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font,font-face,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Di=function(t){
+return"pre"===t},Fi=function(t){return $i(t)||Pi(t)},Bi=Object.create(null),Li=$r&&window.navigator.userAgent.toLowerCase(),Ri=Li&&/msie|trident/.test(Li),Ii=Li&&Li.indexOf("msie 9.0")>0,Hi=Li&&Li.indexOf("android")>0,qi=!!$r&&function(){var t=document.createElement("div");return t.innerHTML='<div a=">">',t.innerHTML.indexOf(">")>0}(),Vi=Object.freeze({createElement:Jt,createElementNS:Gt,createTextNode:Zt,createComment:Yt,insertBefore:Qt,removeChild:Kt,appendChild:te,parentNode:ee,nextSibling:ne,tagName:re,setTextContent:ie,childNodes:oe,setAttribute:ae}),zi={create:function(t,e){se(e)},update:function(t,e){t.data.ref!==e.data.ref&&(se(t,!0),se(e))},destroy:function(t){se(t,!0)}},Ui={},Wi=new ai("",Ui,[]),Xi=["create","update","postpatch","remove","destroy"],Ji={create:function(t,e){J(e.data.hook||(e.data.hook={}),"insert",function(){de(t,e,"bind")})},update:function(t,e){de(t,e,"update"),t.data.directives&&!e.data.directives&&de(t,t,"unbind")},postpatch:function(t,e){de(t,e,"componentUpdated")},destroy:function(t){de(t,t,"unbind")}},Gi=Object.create(null),Zi=[zi,Ji],Yi={create:pe,update:pe},Qi={create:ge,update:ge},Ki={create:me,update:me},to={create:ye,update:ye},eo=["Webkit","Moz","ms"],no=u(function(t){if(_i=_i||document.createElement("div"),t=xr(t),"filter"!==t&&t in _i.style)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<eo.length;n++){var r=eo[n]+e;if(r in _i.style)return r}}),ro={create:be,update:be},io=$r&&!Ii,oo="transition",ao="animation",so="transition",uo="transitionend",lo="animation",co="animationend";io&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(so="WebkitTransition",uo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(lo="WebkitAnimation",co="webkitAnimationEnd"));var fo=$r&&window.requestAnimationFrame||setTimeout,ho=/\b(transform|all)(,|$)/,po=u(function(t){return{enterClass:t+"-enter",leaveClass:t+"-leave",appearClass:t+"-enter",enterActiveClass:t+"-enter-active",leaveActiveClass:t+"-leave-active",appearActiveClass:t+"-enter-active"}}),vo=$r?{create:function(t,e){e.data.show||Ee(e)},remove:function(t,e){t.data.show?e():$e(t,e)}}:{},go=[Yi,Qi,Ki,to,ro,vo],mo=go.concat(Zi),yo=he({nodeOps:Vi,modules:mo}),bo=/^input|select|textarea|vue-component-[0-9]+(-[0-9a-zA-Z_\-]*)?$/;Ii&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Le(t,"input")});var xo={bind:function(t,e,n){bo.test(n.tag)||hi("v-model is not supported on element type: <"+n.tag+">. If you are working with contenteditable, it's recommended to wrap a library dedicated for that purpose inside a custom component.",n.context),"select"===n.tag?Ne(t,e,n.context):(Hi||(t.addEventListener("compositionstart",Fe),t.addEventListener("compositionend",Be)),Ii&&(t.vmodel=!0))},componentUpdated:function(t,e,n){if("select"===n.tag){Ne(t,e,n.context);var r=t.multiple?e.value.some(function(e){return Pe(e,t.options)}):Pe(e.value,t.options);r&&Le(t,"change")}}},_o={bind:function(t,e,n){var r=e.value;n=Re(n);var i=n.data&&n.data.transition;r&&i&&i.appear&&!Ii&&Ee(n);var o="none"===t.style.display?"":t.style.display;t.style.display=r?o:"none",t.__vOriginalDisplay=o},update:function(t,e,n){var r=e.value,i=e.oldValue;if(r!==i){n=Re(n);var o=n.data&&n.data.transition;o&&!Ii?r?(Ee(n),t.style.display=t.__vOriginalDisplay):$e(n,function(){t.style.display="none"}):t.style.display=r?t.__vOriginalDisplay:"none"}}},wo={model:xo,show:_o},Co={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String},ko={name:"transition",props:Co,"abstract":!0,render:function(t){var e=this,n=this.$slots["default"];if(n&&(n=n.filter(function(t){return t.tag}),n.length)){n.length>1&&hi("<transition> can only be used on a single element. Use <transition-group> for lists.",this.$parent);var r=this.mode;r&&"in-out"!==r&&"out-in"!==r&&hi("invalid <transition> mode: "+r,this.$parent);var i=n[0];if(Ve(this.$vnode))return i;var o=Ie(i);if(!o)return i;if(this._leaving)return qe(t,i);o.key=null==o.key?"__v"+(o.tag+this._uid)+"__":o.key;var a=(o.data||(o.data={})).transition=He(this),s=this._vnode,u=Ie(s);if(o.data.directives&&o.data.directives.some(function(t){return"show"===t.name})&&(o.data.show=!0),u&&u.data&&u.key!==o.key){var l=u.data.transition=f({},a);if("out-in"===r)return this._leaving=!0,J(l,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),qe(t,i);if("in-out"===r){var c,h=function(){c()};J(a,"afterEnter",h),J(a,"enterCancelled",h),J(l,"delayLeave",function(t){c=t})}}return i}}},To=f({tag:String,moveClass:String},Co);delete To.mode;var So={props:To,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots["default"]||[],o=this.children=[],a=He(this),s=0;s<i.length;s++){var u=i[s];if(u.tag)if(null!=u.key)o.push(u),n[u.key]=u,(u.data||(u.data={})).transition=a;else{var l=u.componentOptions,c=l?l.Ctor.options.name||l.tag:u.tag;hi("<transition-group> children must be keyed: <"+c+">")}}if(r){for(var f=[],h=[],d=0;d<r.length;d++){var p=r[d];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?f.push(p):h.push(p)}this.kept=t(e,null,f),this.removed=h}return t(e,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,e=this.moveClass||this.name+"-move";if(t.length&&this.hasMove(t[0].elm,e)){t.forEach(function(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb();var e=t.data.pos,n=t.data.pos=t.elm.getBoundingClientRect(),r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}});document.body.offsetHeight;t.forEach(function(t){if(t.data.moved){var n=t.elm,r=n.style;Ce(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n._moveDest=t.data.pos,n.addEventListener(uo,n._moveCb=function i(t){t&&!/transform$/.test(t.propertyName)||(n.removeEventListener(uo,i),n._moveCb=null,ke(n,e))})}})}},methods:{hasMove:function(t,e){if(!io)return!1;if(null!=this._hasMove)return this._hasMove;Ce(t,e);var n=Se(t);return ke(t,e),this._hasMove=n.hasTransform}}},Ao={Transition:ko,TransitionGroup:So};_t.config.isUnknownElement=Wt,_t.config.isReservedTag=Fi,_t.config.getTagNamespace=Ut,_t.config.mustUseProp=wi,f(_t.options.directives,wo),f(_t.options.components,Ao),_t.prototype.__patch__=Ar._isServer?v:yo,_t.prototype.$mount=function(t,e){return t=t&&!Ar._isServer?Xt(t):void 0,this._mount(t,e)},setTimeout(function(){Ar.devtools&&(Or?Or.emit("init",_t):$r&&/Chrome\/\d+/.test(window.navigator.userAgent)&&console.log("Download the Vue Devtools for a better development experience:\nhttps://github.com/vuejs/vue-devtools"))},0);var jo=document.createElement("div"),Eo=/([^\s"'<>\/=]+)/,$o=/(?:=)/,Oo=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],Mo=new RegExp("^\\s*"+Eo.source+"(?:\\s*("+$o.source+")\\s*(?:"+Oo.join("|")+"))?"),No="[a-zA-Z_][\\w\\-\\.]*",Po="((?:"+No+"\\:)?"+No+")",Do=new RegExp("^<"+Po),Fo=/^\s*(\/?)>/,Bo=new RegExp("^<\\/"+Po+"[^>]*>"),Lo=/^<!DOCTYPE [^>]+>/i,Ro=!1;"x".replace(/x(.)?/g,function(t,e){Ro=""===e});var Io,Ho,qo,Vo,zo,Uo,Wo,Xo,Jo,Go,Zo,Yo,Qo,Ko,ta,ea,na,ra,ia=n("script,style",!0),oa={},aa=/&/g,sa=/</g,ua=/>/g,la=/"/g,ca=/\{\{((?:.|\n)+?)\}\}/g,fa=/[-.*+?^${}()|[\]\/\\]/g,ha=u(function(t){var e=t[0].replace(fa,"\\$&"),n=t[1].replace(fa,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}),da=/^v-|^@|^:/,pa=/(.*)\s+(?:in|of)\s+(.*)/,va=/\(([^,]*),([^,]*)(?:,([^,]*))?\)/,ga=/^:|^v-bind:/,ma=/^@|^v-on:/,ya=/:(.*)$/,ba=/\.[^\.]+/g,xa=u(ze),_a=/^xmlns:NS\d+/,wa=/^NS\d+:/,Ca=u(Tn),ka=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,Ta={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,"delete":[8,46]},Sa={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:"if($event.target !== $event.currentTarget)return;"},Aa={bind:Nn,cloak:v},ja=new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),Ea=/[A-Za-z_$][\w$]*/,$a=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g,Oa={staticKeys:["staticClass"],transformNode:tr,genData:er},Ma={transformNode:nr,genData:rr},Na=[Oa,Ma],Pa={model:ir,text:cr,html:fr},Da=Object.create(null),Fa={isIE:Ri,expectHTML:!0,modules:Na,staticKeys:g(Na),directives:Pa,isReservedTag:Fi,isUnaryTag:Oi,mustUseProp:wi,getTagNamespace:Ut,isPreTag:Di},Ba=u(function(t){var e=Xt(t);return e&&e.innerHTML}),La=_t.prototype.$mount;return _t.prototype.$mount=function(t,e){if(t=t&&Xt(t),t===document.body||t===document.documentElement)return hi("Do not mount Vue to <html> or <body> - mount to normal elements instead."),this;var n=this.$options;if(!n.render){var r=n.template,i=!1;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(i=!0,r=Ba(r));else{if(!r.nodeType)return hi("invalid template option:"+r,this),this;i=!0,r=r.innerHTML}else t&&(i=!0,r=vr(t));if(r){var o=dr(r,{warn:hi,isFromDOM:i,shouldDecodeTags:qi,delimiters:n.delimiters},this),a=o.render,s=o.staticRenderFns;n.render=a,n.staticRenderFns=s}}return La.call(this,t,e)},_t.compile=dr,_t})}).call(e,function(){return this}())},function(t,e){"use strict";t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(143),o=r(i);e["default"]={init:function(){new Vue(o["default"])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(12),i=function(t,e,n,r){this.paper=t,this.shape=e,this.handlers=[],this.viewPort=n,this.viewBox=r,this.isResizing=!1,this.currentPosition={},this.HANDLER_SIZE=8,this.SHAPE_MIN_SIZE=20,this.states={},this.noop=function(){},this.init()};i.prototype={init:function(){this.showHandlers()},computeHandlerSize:function(){return this.HANDLER_SIZE*Math.min(this.viewBox[2],this.viewBox[3])/this.viewPort.width},showHandlers:function(){var t=this.shape.getBBox(),e=t.x-this.computeHandlerSize()/2,n=t.y-this.computeHandlerSize()/2,r=this.paper.rect(e,n,this.computeHandlerSize(),this.computeHandlerSize()).attr({fill:"red"});r.addClass("drawingHandler"),this.shape.addClass("drawingHandler");var i={position:"t_r",handler:r};this.handlers.push(i),this.shapesGroup=this.paper.g(this.shape,r),this.attachEvents()},updateShapePositions:function(t,e,n){var r=t.handler.getBBox(),i=this.shape.data("origBbox"),o=(r.x+this.computeHandlerSize()/2,r.y+this.computeHandlerSize()/2,e>0?i.width-e:i.width+Math.abs(e)),a=n>0?i.height-n:i.height+Math.abs(n),s=this.shape.data("origTransform")+(this.shape.data("origTransform")?"T":"t")+[e,n];this.shape.attr({transform:s,width:o,height:a})},dragEvents:{onStart:function(t,e,n,r){this.startPosition={x:r.clientX,y:r.clientY},this.isResizing=!0,this.currentPosition={},t.handler.data("origTransform",t.handler.transform().local),this.shape.data("origBbox",this.shape.getBBox()),this.shape.data("origBounding",this.shape.node.getBoundingClientRect()),this.shape.data("origTransform",this.shape.transform().local)},onMove:function(t,e,n,r,i,o){var a,s,u=t.handler.transform().diffMatrix.invert();u.e=u.f=0,a=u.x(e,n),s=u.y(e,n),this.currentPosition.x=o.clientX,this.currentPosition.y=o.clientY,this.checkBondaries(e,n)&&(t.handler.transform("t"+[a,s]+t.handler.data("origTransform")),this.updateShapePositions(t,a,s))},onStop:function(){this.isResizing=!1,this.startPosition={},this.currentPosition={}}},checkBondaries:function(t,e){var n=!0,r=this.shape.data("origBounding");this.shape.node.getBoundingClientRect();return r.width-t<=this.SHAPE_MIN_SIZE&&(n=!1),r.height-e<=this.SHAPE_MIN_SIZE&&(n=!1),n},destroy:function(){this.handlers.map(function(t){t.handler.remove()}),delete this},getZoomFactor:function(){return{x:this.viewPort.width/this.viewBox[2],y:this.viewPort.height/this.viewBox[3]}},attachEvents:function(){var t=this;this.handlers.map(function(e){e.handler.drag(t.dragEvents.onMove.bind(t,e),t.dragEvents.onStart.bind(t,e),t.dragEvents.onStop.bind(t,e))}),r.eventEmitter.on("cutout:clear",function(){t.destroy()}),this.shapesGroup.drag(function(e,n){if(!t.isResizing){var r=this.transform().diffMatrix.invert();r.e=r.f=0;var i=r.x(e,n),o=r.y(e,n),a=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[i,o];this.transform(a)}},function(){this.data("origTransform",this.transform().local)},this.noop)}};e["default"]={enable_resizer:function(t,e,n,r){new i(t,e,n,r)}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(43),o=r(i),a=n(131),s=r(a),u=n(12),l=n(47);r(l);o["default"].plugin(function(t,e,n,r){var i=e.prototype;i.toBack=function(){this.prependTo(this.paper)},i.toFront=function(){this.appendTo(this.paper)}}),Element.prototype.getTransformedXY=function(t,e){var n=this.transform().globalMatrix;return{x:n.x(t,e),y:n.y(t,e)}};var c=null,f=null,h=[],d={X:100,Y:100},p={x:1,y:1},v={width:850,height:850},g=[],m=!1,y=null,b=null,x=!1,_=null,w="#ff00ff",C="red",k="orange",T="#FF0000",S=8,A=!1,j=!0,E=!1,$=!0,O="RECT",M=O,N="FREE",P=[O,N],D=null,F=function(){var t=0,e="item_";return function(n){return n="string"==typeof n?n:e,t+=1,n+t}}(),B=function(t){if(m)return void c.path(t).attr({stroke:"red",opacity:.6});var e=o["default"].path.getBBox(t);_=c.rect(e.x,e.y,e.width,e.height),_.attr({fill:k,stroke:C,opacity:.6}),b=_,x=!1,E=!0,s["default"].enable_resizer(c,b,v,g)},L=function(t){if(m)return void c.path(t).attr({stroke:"orange",fill:"orange",opacity:.5});var e=o["default"].parsePathString(t);e.map(function(t){"Z"!==t[0]?J(c,t[1],t[2],h):(E=!0,R(c,H))})},R=function(t,e){var n="M";if(!(h.length<=1)){n+=h[0].x+","+h[0].y;for(var r=0;r<h.length;r++)if(0!=r){var i=h[r],o="L"+i.x+","+i.y;n+=" "+o}n+=E?" Z":"",b&&b.remove(),b=t.path(n),b.attr({stroke:C,"vector-effect":"non-scaling-stroke","stroke-width":3,fill:"white",opacity:.1}),h.map(function(t){z();t.handler&&t.handler.toFront()}),"function"==typeof e&&E&&e(),!e&&E&&I()}},I=function(){b.attr({fill:k,strokeWidth:1,opacity:.6})},H=function(){$=!1,I()},q=function(t,e,n){t.isFirst&&h.length>2&&(E=!0)},V=function(t,e,n){var r=h.indexOf(t);return r!==-1&&(h[r].x=e,h[r].y=n,!0)},z=function(){g.length||(g=[0,0,parseInt(f.width()),parseInt(f.height())]);var t=S*Math.min(g[2],g[3])/850;return t},U=function(t,e,n,r,i){A=!0;var o,a,s=this.transform().diffMatrix.invert();s.e=s.f=0,o=s.x(t,e),a=s.y(t,e);var u=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[o,a];this.attr({transform:u});var l=this.getBBox(),c=V(this.data("point"),l.x+z()/2,l.y+z()/2);c&&R(this.paper)},W=function(t,e){t.handler.click(q.bind(this,t,e)),t.handler.hover(function(){t.handler.attr({fill:"yellow"})},function(){var e=t.isFirst?T:"";t.handler.attr({fill:e})}),t.handler.drag(U,function(){this.data("origTransform",this.transform().local)},function(){return!A||(A=!1,void(j=!1))})},X=function(t,e){var n,r=z(),i=e.x-r/2,o=e.y-r/2;return n=t.rect(i,o,r,r),n.addClass("drawingHandler"),e.handler=n,e.handler.data("point",e),0===h.length&&(e.isFirst=!0),W(e,t),e.handler.attr({fill:0===h.length?T:"",opacity:.9,stroke:w}),e},J=function(t,e,n,r){var i={x:e,y:n,id:F()};return E?void R(t,H):j?(i=X(t,i),r.push(i),void R(t)):(j=!0,!1)},G=function(t){if(m)return!1;var e={},n={},r=function(t){var e=t.target||t.srcElement,n=e.getBoundingClientRect(),r=(t.clientX-n.left)/Math.min(p.x,p.y),i=(t.clientY-n.top)/Math.min(p.x,p.y);return{x:r,y:i}};t.mousedown(function(t){if(M!==N&&!E){var n=r(t);e.x=n.x,e.y=n.y,x=!0}}),t.mousemove(function(i){if(M!==N&&x){var o,a,s=r(i);n.x=s.x,n.y=s.y,_&&_.remove();var u=Math.abs(n.x-e.x),l=Math.abs(e.y-n.y);n.y>e.y&&n.x>e.x&&(o=e.x,a=e.y),n.y<e.y&&n.x>e.x&&(o=n.x-u,a=n.y),n.y<e.y&&n.x<e.x&&(o=n.x,a=n.y),n.y>e.y&&n.x<e.x&&(o=n.x,a=n.y-l),o&&a&&(_=t.rect(o,a,u,l),_.attr({fill:k,stroke:C,opacity:.6}))}}),t.mouseup(function(){return!(M===N||E||!_)&&(b=_,s["default"].enable_resizer(t,_,v,g),x=!1,void(E=!0))})},Z=function(t){if(!m){var e=null,n=!1;t.dblclick(function(r){return M===O||(n=!0,e&&(e=clearTimeout(e),n=!1,E=!0,h.length>2&&R(t,H)),!1)});var r=function(t){var e=t.target||t.srcElement,n=e.getBoundingClientRect(),r=(t.clientX-n.left)/Math.min(p.x,p.y),i=(t.clientY-n.top)/Math.min(p.x,p.y);return{x:r,y:i}},i=function(r,i){if(!n){if(M===O)return!0;if(!$)return!0;J(t,r,i,h),e=null,n=!1}};t.click(function(t){if(!e&&jQuery(t.target).is(f)){var n=r(t),o=n.x,a=n.y;e=setTimeout(i.bind(this,o,a),190)}})}},Y=function(){u.eventEmitter.on("zoomChanged",function(t){p=t.zoomFactor,g=t.currentViewBox;var e=Q.getPath();Q.clear(),Q.setPath(e)})},Q={getPaper:function(){return c},setPath:function(t){var e=t.split(";");P.indexOf(e[1])===-1&&(e[1]="FREE"),this.setDrawingMode(e[1]);var n=e[0];if(n.length){var r=f.attr("width")/d.X,i=f.attr("height")/d.Y;(isNaN(r)||isNaN(i))&&new Error("Ratio should be a number.");var a=o["default"].matrix(r,0,0,i,0,0),s=o["default"].path.map(n,a).toString();s.search(/[z|Z]/gi)===-1&&(s+="Z"),e.length>=2&&(e[1]===O&&B(s),e[1]===N&&L(s))}},setDrawingMode:function(t){P.indexOf(t)!==-1&&(M=t),"function"==typeof D&&D(M),this.clear()},clear:function(){h.map(function(t){t.handler&&t.handler.remove()}),b&&b.remove(),u.eventEmitter.emit("cutout:clear"),h=[],y=null,b=null,A=!1,j=!0,E=!1,$=!0},getShapeBBox:function(){var t=this.getPath();return o["default"].path.getBBox(t)},getShape:function(){return this.getPath()},getPath:function(){var t="";if(b)if(M===O){var e=b.getBBox(),n=b.transform();if(n.global.length){var r=b.node.getAttribute("x"),i=b.node.getAttribute("y"),a=n.totalMatrix,s=c.rect(a.x(r,i),a.y(r,i),e.width,e.height);u=s.getBBox().path,s.remove()}else var u=b.getBBox().path;t=o["default"].path.toAbsolute(u).toString()}else t=b.attr("d");var l=d.X/f.attr("width"),h=d.Y/f.attr("height");if((isNaN(l)||isNaN(h))&&new Error("ratio should be a number."),!t.length)return t=M===O?";RECT":";FREE";var p=o["default"].matrix(l,0,0,h,0,0);t=o["default"].path.map(t,p).toString();var v=M===O?";RECT":";FREE";return t.search(/[z|Z]/gi)===-1&&(t+=" Z"),t+=v}};e["default"]={init:function(t){f=jQuery(t.wrapperId).find(".main-image").eq(0);var e=jQuery(t.wrapperId).find(".cut-canvas").eq(0),n=jQuery(t.wrapperId).find(".image-path").eq(0);if("function"==typeof t.onDrawingModeChange&&(D=t.onDrawingModeChange),!f.length)throw new Error("The main image Can't be found ...");if(!e.length){var e=jQuery('<svg version="1.1"></svg>').addClass("cut-canvas");jQuery(t.wrapperId).append(e),e.append(f)}if(e.css({marginLeft:"auto",marginRight:"auto",width:v.width,height:v.height}),"boolean"==typeof t.readOnly&&t.readOnly===!0&&(m=!0),c=new o["default"](e.get(0)),n.length){jQuery(e).append(n);var r=n.attr("d");Q.setPath(r),n.remove()}return Y(),Z(c),G(c),Q}}},function(t,e,n){e=t.exports=n(40)(),e.push([t.id,"Typeahead[data-v-1]{position:relative}.selected-tags[data-v-1]{border:1px solid red;width:200px!important}.selected-tags select[data-v-1]{display:inline-block}.Typeahead__input[data-v-1]{width:100%;font-size:14px;color:#2c3e50;line-height:1.42857143;box-shadow:inset 0 1px 4px rgba(0,0,0,.4);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-weight:300;padding:12px 26px;border:none;border-radius:22px;letter-spacing:1px;box-sizing:border-box}.Typeahead__input[data-v-1]:focus{border-color:#4fc08d;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px #4fc08d}.tag-item[data-v-1]{border:1px solid red}.fa-times[data-v-1]{cursor:pointer}ul[data-v-1]{padding:0;margin-top:8px;min-width:100%;background-color:#fff;list-style:none;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.25);z-index:1000}li[data-v-1]{padding:10px 16px;border-bottom:1px solid #ccc;cursor:pointer}li[data-v-1]:first-child{border-radius:4px 4px 0 0}li[data-v-1]:last-child{border-radius:0 0 4px 4px;border-bottom:0}span[data-v-1]{display:block;color:#2c3e50}.active[data-v-1]{background-color:#3aa373}.active span[data-v-1]{color:#fff}.name[data-v-1]{font-weight:700;font-size:18px}.screen-name[data-v-1]{font-style:italic}",""])},function(t,e,n){e=t.exports=n(40)(),e.push([t.id,".diff-viewer-wrapper[data-v-5]{margin-top:5px}.diff-panel[data-v-5]{border:1px solid gray;width:300px;heigth:250px}del[data-v-5]{text-decoration:none;color:#b30000;background:#fadad7}ins[data-v-5]{background:#eaf2c2;color:#406619;text-decoration:none}",""])},function(t,e,n){(function(e){t.exports=e.$=n(44)}).call(e,function(){return this}())},function(t,e,n){(function(e){t.exports=e.Vue=n(128)}).call(e,function(){return this}())},function(t,e,n){(function(e){t.exports=e.jQuery=n(44)}).call(e,function(){return this}())},function(t,e,n){function r(t){return n(i(t))}function i(t){return o[t]||function(){throw new Error("Cannot find module '"+t+"'.")}()}var o={"./diff_match_patch_uncompressed":23,"./diff_match_patch_uncompressed.js":23};r.keys=function(){return Object.keys(o)},r.resolve=i,t.exports=r,r.id=138},function(t,e,n){function r(t){return n(i(t))}function i(t){return o[t]||function(){throw new Error("Cannot find module '"+t+"'.")}()}var o={"./annotated":8,"./annotated.js":8,"./base":1,"./base.js":1,"./console":15,"./console.js":15,"./html":9,"./html.js":9,"./index":10,"./index.js":10,"./jsonpatch":11,"./jsonpatch.js":11};r.keys=function(){return Object.keys(o)},r.resolve=i,t.exports=r,r.id=139},function(t,e,n){var r,i;r=n(52),i=r=r||{},"object"==typeof r["default"]&&(i=r=r["default"]),"function"==typeof i&&(i=i.options),t.exports=r},function(t,e,n){var r,i;r=n(53),i=r=r||{},"object"==typeof r["default"]&&(i=r=r["default"]),"function"==typeof i&&(i=i.options),t.exports=r},function(t,e,n){var r,i;r=n(54),i=r=r||{},"object"==typeof r["default"]&&(i=r=r["default"]),"function"==typeof i&&(i=i.options),t.exports=r},function(t,e,n){var r,i;r=n(55),i=r=r||{},"object"==typeof r["default"]&&(i=r=r["default"]),"function"==typeof i&&(i=i.options),t.exports=r},function(t,e,n){var r,i;r=n(57),i=r=r||{},"object"==typeof r["default"]&&(i=r=r["default"]),"function"==typeof i&&(i=i.options),t.exports=r},function(t,e,n){var r,i;r=n(58);var o=n(151);i=r=r||{},"object"==typeof r["default"]&&(i=r=r["default"]),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e,n){var r,i;r=n(59);var o=n(148);i=r=r||{},"object"==typeof r["default"]&&(i=r=r["default"]),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(module,exports){module.exports={render:function(){with(this)return _h("div",[_h("taglist",{ref:"taglist"})," "," ",_h("input",{directives:[{name:"show",value:!readOnly,expression:"!readOnly"},{name:"model",value:query,expression:"query"}],attrs:{type:"text",placeholder:"...",autocomplete:"off"},domProps:{value:_s(query)},on:{keyup:[function(t){8===t.keyCode&&checkQuery(t)},update],keydown:[function(t){40===t.keyCode&&down(t)},function(t){38===t.keyCode&&up(t)},function(t){13===t.keyCode&&hit(t)},function(t){27===t.keyCode&&reset(t)}],input:function(t){t.target.composing||(query=t.target.value)}}})," ",_h("a",{directives:[{name:"show",value:showAddButton,expression:"showAddButton"}],on:{click:addTag}},[_m(0)," Créer ce tag"])," "," ",_h("ul",{directives:[{name:"show",value:hasItems||!readOnly,expression:"hasItems || !readOnly"}]},[items&&_l(items,function(t,e){return _h("li",{"class":activeClass(e),on:{mousedown:hit,mousemove:function(t){setActive(e)}}},[_h("span",{domProps:{textContent:_s(t.tag_label)}})])})])," ",_h("input",{directives:[{name:"model",value:selectedTags,expression:"selectedTags"}],attrs:{name:"tags",type:"hidden"},domProps:{value:_s(selectedTags)},on:{input:function(t){t.target.composing||(selectedTags=t.target.value)}}})])},staticRenderFns:[function(){with(this)return _h("i",{staticClass:"fa fa-plus"})}]}},function(module,exports){module.exports={render:function(){with(this)return _h("div",[_h("ul",{directives:[{name:"show",value:!readOnly,expression:"!readOnly"}],staticClass:"tags-wrapper list-unstyled"},[tags&&_l(tags,function(t,e){return _h("li",{ref:t.id,refInFor:!0,staticClass:"tag-item"},[_m(0,!0)," ",_h("strong",[_h("span",{domProps:{textContent:_s(t.tag_label)}})]),"\n\n\t\t\tPrécision: \t",_h("select",{on:{change:function(e){updateAccuracy(e,t)}}},[[1,2,3,4,5]&&_l([1,2,3,4,5],function(e,n){return _h("option",{domProps:{selected:t.accuracy==e,value:e}},[_s(e)])})]),"\n\n\t\t\tPertinence: ",_h("select",{on:{change:function(e){updatePertinence(e,t)}}},[[1,2,3,4,5]&&_l([1,2,3,4,5],function(e,n){return _h("option",{domProps:{selected:t.relevancy==e,value:e}},[_s(e)])})])," ",_h("a",{on:{click:function(e){removeTag(t)}}},[_m(1)])])})])," ",_h("ul",{directives:[{name:"show",value:readOnly,expression:"readOnly"}],staticClass:"list-inline"},[tags&&_l(tags,function(t,e){return _h("li",[_m(2,!0)," ",_h("span",{staticClass:"label label-info"},[_s(t.tag_label)]),"\n\t\t\t | précision ",_h("span",{staticClass:"badge"},[_s(t.accuracy)]),"\n\t\t\t | pertinence ",_h("span",{staticClass:"badge"},[_s(t.relevancy)])])})])])},staticRenderFns:[function(){with(this)return _h("i",{staticClass:"fa fa-tag"})},function(){with(this)return _h("i",{staticClass:"fa fa-trash"})},function(){with(this)return _h("i",{staticClass:"fa fa-tag"})}]}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"zoomview-wrapper"},[_m(0)," ",_h("svg",{ref:"root-svg"},[_h("image",{attrs:{id:"small-image",x:"0",y:"0","xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":imageUrl,width:imageWidth,height:imageHeight}})," ",_h("rect",{directives:[{name:"show",value:showHandler,expression:"showHandler"}],ref:"handler",attrs:{id:"zoom-handler",x:"0",y:"0",style:"fill:black; opacity:0.4"}})])," ",_h("ul",{staticClass:"form-drawing-wrapper zoom-action-list list-inline"},[_h("li",{staticClass:"small showPointer",on:{click:incraseDrawingZoom}},[_m(1)])," ",_h("li",{staticClass:"small showPointer",on:{click:resetDrawingZoom}},[_m(2)])," ",_h("li",{staticClass:"small showPointer",on:{click:decreaseDrawingZoom}},[_m(3)])])])},staticRenderFns:[function(){with(this)return _h("p",{staticClass:"form-drawing pullright"},[_h("strong",["Zoom"])])},function(){with(this)return _h("i",{staticClass:"fa fa-search-plus"})},function(){with(this)return _h("i",{staticClass:"fa fa-square"})},function(){with(this)return _h("i",{staticClass:"fa fa-search-minus"})}]}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"diff-viewer-wrapper col-md-12"},[_h("modalpanel",{ref:"panel"},[_h("h5",{slot:"header"},["Comparer les deux versions:"])," ",_h("div",{slot:"content"},[_h("div",{ref:"modalcontent"},[_h("div",{directives:[{name:"show",value:fragmentMode,expression:"fragmentMode"}]},[_h("svg",[_h("image",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink",href:imagePath,x:"0",y:"0",width:imageWidth,height:imageHeight}})," ",_h("g",{attrs:{transform:matrixTransform}},[_h("path",{attrs:{d:originalPath,fill:"red",stroke:"blue",opacity:"0.3"}})," ",_h("path",{attrs:{d:modifiedPath,fill:"blue",stroke:"red",opacity:"0.3"}})])])])," ",_h("div",{directives:[{name:"show",value:textMode,expression:"textMode"}]},[_h("div",{domProps:{innerHTML:_s(diffText)}})])," ",_h("div",{directives:[{name:"show",value:tagMode,expression:"tagMode"}]},[_h("ul",[tags&&_l(tags,function(t,e){return _h("li",[t.action?_e():[_h("li",[_h("span",[_s(t.tag_label)])," | précision : "+_s(t.accuracy)+" \n\t\t\t\t\t\t\t\t\t- \n\t\t\t\t\t\t\t\t\tpertinence : "+_s(t.relevancy)+"\n\t\t\t\t\t\t\t\t"])]," ","replace"==t.action?[_m(0)," ",_h("del",[_s(t.tag_label)])," a été remplacé par\n\t\t\t\t\t\t\t\t",_m(1)," ",_h("strong",[_h("ins",[_s(t.new_label)])])," \n\t\t\t\t\t\t\t\tprécision : ",_h("ins",[_s(t.new_accuracy)])," - \n\t\t\t\t\t\t\t\tpertinence: ",_h("ins",[_s(t.new_relevancy)])]:_e()," ","add"==t.action?[_h("li",[_m(2)," ",_h("ins",[_s(t.tag_label)]),"\n\t\t\t\t\t\t\t\t\tprécision : ",_h("ins",[_s(t.accuracy)])," - \n\t\t\t\t\t\t\t\t\tpertinence : ",_h("ins",[_s(t.relevancy)])])]:_e()," ","del"==t.action?[_h("li",[_m(3)," ",_h("del",[_s(t.tag_label)])," a été effacé"])]:_e()," ","update"==t.action?[_h("li",[_h("strong",[_s(t.tag_label)])," ",t.accuracy!=t.new_accuracy?["\n\t\t\t\t\t\t\t\t\t\tprécision: ",_h("del",[_s(t.accuracy)])," ",_h("ins",[_s(t.new_accuracy)])," -\t\n\t\t\t\t\t\t\t\t\t"]:_e()," ",t.accuracy==t.new_accuracy?["\n\t\t\t\t\t\t\t\t\t\tprécision: "+_s(t.accuracy)+" -\n\t\t\t\t\t\t\t\t\t"]:_e()," ",t.relevancy!=t.new_relevancy?["\n\t\t\t\t\t\t\t\t\t\tpertinence: ",_h("del",[_s(t.relevancy)])," ",_h("ins",[_s(t.new_relevancy)])]:_e()," ",t.relevancy==t.new_relevancy?["\n\t\t\t\t\t\t\t\t\t\tpertinence: "+_s(t.relevancy)+"\t\n\t\t\t\t\t\t\t\t\t"]:_e()])]:_e()])})])])])])])])},staticRenderFns:[function(){with(this)return _h("del",["--"])},function(){with(this)return _h("ins",["++"])},function(){with(this)return _h("ins",["++"])},function(){with(this)return _h("del",["--"])}]}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{directives:[{name:"show",value:display,expression:"display"}],staticClass:"modal-mask diff-panel"},[_h("p",{staticClass:"pull-right close-btn",on:{click:close}},[_m(0)])," ",$slots.header," ",$slots.content," ",$slots.footer])},staticRenderFns:[function(){with(this)return _h("i",{staticClass:"fa fa-close"})}]}},function(t,e,n){var r=n(133);"string"==typeof r&&(r=[[t.id,r,""]]);n(51)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(134);"string"==typeof r&&(r=[[t.id,r,""]]);n(51)(r,{});r.locals&&(t.exports=r.locals)}]);
//# sourceMappingURL=iconolab.js.map
\ No newline at end of file