!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=632)}([function(e,t,n){var r,i;(function(){function n(e){function t(t,n,r,i,o,a){for(;o>=0&&o0?0:s-1;return arguments.length<3&&(i=n[a?a[c]:c],c+=e),t(n,r,i,a,c,s)}}function o(e){return function(t,n,r){n=C(n,r);for(var i=S(t),o=e>0?0:i-1;o>=0&&o0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return o=n(r,i),r[o]===i?o:-1;if(i!==i)return o=t(h.call(r,a,s),k.isNaN),o>=0?o+a:-1;for(o=e>0?a:s-1;o>=0&&o=0&&t<=j};k.each=k.forEach=function(e,t,n){t=M(t,n);var r,i;if(O(e))for(r=0,i=e.length;r=0},k.invoke=function(e,t){var n=h.call(arguments,2),r=k.isFunction(t);return k.map(e,function(e){var i=r?t:e[t];return null==i?i:i.apply(e,n)})},k.pluck=function(e,t){return k.map(e,k.property(t))},k.where=function(e,t){return k.filter(e,k.matcher(t))},k.findWhere=function(e,t){return k.find(e,k.matcher(t))},k.max=function(e,t,n){var r,i,o=-1/0,a=-1/0;if(null==t&&null!=e){e=O(e)?e:k.values(e);for(var s=0,c=e.length;so&&(o=r)}else t=C(t,n),k.each(e,function(e,n,r){((i=t(e,n,r))>a||i===-1/0&&o===-1/0)&&(o=e,a=i)});return o},k.min=function(e,t,n){var r,i,o=1/0,a=1/0;if(null==t&&null!=e){e=O(e)?e:k.values(e);for(var s=0,c=e.length;sr||void 0===n)return 1;if(nt?(a&&(clearTimeout(a),a=null),s=u,o=e.apply(r,i),a||(r=i=null)):a||!1===n.trailing||(a=setTimeout(c,l)),o}},k.debounce=function(e,t,n){var r,i,o,a,s,c=function(){var u=k.now()-a;u=0?r=setTimeout(c,t-u):(r=null,n||(s=e.apply(o,i),r||(o=i=null)))};return function(){o=this,i=arguments,a=k.now();var u=n&&!r;return r||(r=setTimeout(c,t)),u&&(s=e.apply(o,i),o=i=null),s}},k.wrap=function(e,t){return k.partial(t,e)},k.negate=function(e){return function(){return!e.apply(this,arguments)}},k.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}},k.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},k.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},k.once=k.partial(k.before,2);var R=!{toString:null}.propertyIsEnumerable("toString"),A=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];k.keys=function(e){if(!k.isObject(e))return[];if(g)return g(e);var t=[];for(var n in e)k.has(e,n)&&t.push(n);return R&&s(e,t),t},k.allKeys=function(e){if(!k.isObject(e))return[];var t=[];for(var n in e)t.push(n);return R&&s(e,t),t},k.values=function(e){for(var t=k.keys(e),n=t.length,r=Array(n),i=0;i":">",'"':""","'":"'","`":"`"},Y=k.invert(I),F=function(e){var t=function(t){return e[t]},n="(?:"+k.keys(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(i,t):e}};k.escape=F(I),k.unescape=F(Y),k.result=function(e,t,n){var r=null==e?void 0:e[t];return void 0===r&&(r=n),k.isFunction(r)?r.call(e):r};var H=0;k.uniqueId=function(e){var t=++H+"";return e?e+t:t},k.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var W=/(.)^/,z={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},U=/\\|'|\r|\n|\u2028|\u2029/g,B=function(e){return"\\"+z[e]};k.template=function(e,t,n){!t&&n&&(t=n),t=k.defaults({},t,k.templateSettings);var r=RegExp([(t.escape||W).source,(t.interpolate||W).source,(t.evaluate||W).source].join("|")+"|$","g"),i=0,o="__p+='";e.replace(r,function(t,n,r,a,s){return o+=e.slice(i,s).replace(U,B),i=s+t.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(o+="';\n"+a+"\n__p+='"),t}),o+="';\n",t.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{var a=new Function(t.variable||"obj","_",o)}catch(e){throw e.source=o,e}var s=function(e){return a.call(this,e,k)};return s.source="function("+(t.variable||"obj")+"){\n"+o+"}",s},k.chain=function(e){var t=k(e);return t._chain=!0,t};var q=function(e,t){return e._chain?k(t).chain():t};k.mixin=function(e){k.each(k.functions(e),function(t){var n=k[t]=e[t];k.prototype[t]=function(){var e=[this._wrapped];return p.apply(e,arguments),q(this,n.apply(k,e))}})},k.mixin(k),k.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=l[e];k.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],q(this,n)}}),k.each(["concat","join","slice"],function(e){var t=l[e];k.prototype[e]=function(){return q(this,t.apply(this._wrapped,arguments))}}),k.prototype.value=function(){return this._wrapped},k.prototype.valueOf=k.prototype.toJSON=k.prototype.value,k.prototype.toString=function(){return""+this._wrapped},r=[],void 0!==(i=function(){return k}.apply(t,r))&&(e.exports=i)}).call(this)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1])||arguments[1];r(this,t);var o=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));if(o.message=e,o._captureStackTrace=n,n)if(Error.captureStackTrace)Error.captureStackTrace(o,o.constructor);else{var a=void 0;try{throw new Error}catch(e){a=e.stack}Object.defineProperty(o,"stack",{value:a})}return o}return o(t,e),s(t,[{key:"name",get:function(){return this.constructor.name}},{key:"captureStackTrace",get:function(){return!!this._captureStackTrace}}]),t}(a),u=function(e){function t(e,n,o){r(this,t);var a=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.httpCode=n,a.backendCode=o,a}return o(t,e),s(t,null,[{key:"for",value:function(e,n,r){return"binary.unprocessable.image.transform.source.too_large"===r?new y(e,n,r):r&&-1!==r.indexOf("binary.unprocessable.image.transform.source.")?new b(e,n,r):new t(e,n,r)}}]),t}(c),l=function(e){function t(e,n,o){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n,o))}return o(t,e),t}(u),d=function(e){function t(e){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return o(t,e),t}(c),f=function(e){function t(e,n){r(this,t);var o=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return o.httpCode=n,o}return o(t,e),t}(c),p=function(e){function t(e,n){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return o(t,e),t}(f),h=function(e){function t(e){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return o(t,e),t}(c),_=function(e){function t(e){r(this,t);var n=e.status,o=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,0===n?e.statusText:e.responseText,n));return o.response=e,o}return o(t,e),t}(f),m=function(e){function t(e,n){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return o(t,e),t}(f),v=function(e){function t(e){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return o(t,e),t}(c),g=function(e){function t(e,n,o,a){r(this,t);var s=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n,o));return s.details=a||{},s}return o(t,e),t}(u),y=function(e){function t(e,n,o){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n,o))}return o(t,e),t}(u),b=function(e){function t(e,n,o){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n,o))}return o(t,e),t}(u),w=function(e){function t(e){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return o(t,e),t}(h),k=function(e){function t(e){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return o(t,e),t}(h),M=function(e){function t(e){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return o(t,e),t}(w);t.AccessDeniedError=l,t.ArgumentError=d,t.BackendError=p,t.ClientError=u,t.InternalError=h,t.InterpolationError=M,t.NavigateToEmptyBinaryError=k,t.NetworkError=_,t.RateLimitExceededError=m,t.ResourceNotFoundError=v,t.ScrivitoError=c,t.TransformationSourceInvalidError=b,t.TransformationSourceTooLargeError=y,t.TranslationError=w,t.UnauthorizedError=g},function(e,t,n){(function(e){!function(t,n){e.exports=n()}(0,function(){"use strict";function t(){return mr.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){var t;for(t in e)return!1;return!0}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function s(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){var n,r=[];for(n=0;n0)for(n in yr)r=yr[n],i=t[r],m(i)||(e[r]=i);return e}function g(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===br&&(br=!0,t.updateOffset(this),br=!1)}function y(e){return e instanceof g||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function k(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)}function N(e,t){var n=e.toLowerCase();Sr[n]=Sr[n+"s"]=Sr[t]=e}function I(e){return"string"==typeof e?Sr[e]||Sr[e.toLowerCase()]:void 0}function Y(e){var t,n,r={};for(n in e)u(e,n)&&(t=I(n))&&(r[t]=e[n]);return r}function F(e,t){Or[e]=t}function H(e){var t=[];for(var n in e)t.push({unit:n,priority:Or[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function W(e,n){return function(r){return null!=r?(U(this,e,r),t.updateOffset(this,n),this):z(this,e)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function U(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function B(e){return e=I(e),E(this[e])?this[e]():this}function q(e,t){if("object"==typeof e){e=Y(e);for(var n=H(e),r=0;r=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function $(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Rr[e]=i),t&&(Rr[t[0]]=function(){return V(i.apply(this,arguments),t[1],t[2])}),n&&(Rr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function J(e){var t,n,r=e.match(xr);for(t=0,n=r.length;t=0&&Lr.test(e);)e=e.replace(Lr,n),Lr.lastIndex=0,r-=1;return e}function X(e,t,n){Xr[e]=E(t)?t:function(e,r){return e&&n?n:t}}function Z(e,t){return u(Xr,e)?Xr[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),a(t)&&(r=function(e,n){n[t]=w(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function we(e,t,n){var r=7+t-n;return-(7+be(e,0,r).getUTCDay()-t)%7+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,c=we(e,r,i),u=1+7*(t-1)+s+c;return u<=0?(o=e-1,a=me(o)+u):u>me(e)?(o=e+1,a=u-me(e)):(o=e,a=u),{year:o,dayOfYear:a}}function Me(e,t,n){var r,i,o=we(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+Ce(i,t,n)):a>Ce(e.year(),t,n)?(r=a-Ce(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Ce(e,t,n){var r=we(e,t,n),i=we(e+1,t,n);return(me(e)-r+i)/7}function Te(e){return Me(e,this._week.dow,this._week.doy).week}function Ee(){return this._week.dow}function De(){return this._week.doy}function je(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Se(e){var t=Me(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Oe(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function xe(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Le(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Pe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Re(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ae(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=ui.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=ui.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=ui.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?-1!==(i=ui.call(this._weekdaysParse,a))?i:-1!==(i=ui.call(this._shortWeekdaysParse,a))?i:(i=ui.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===t?-1!==(i=ui.call(this._shortWeekdaysParse,a))?i:-1!==(i=ui.call(this._weekdaysParse,a))?i:(i=ui.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=ui.call(this._minWeekdaysParse,a))?i:-1!==(i=ui.call(this._weekdaysParse,a))?i:(i=ui.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function Ne(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ae.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=d([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Ie(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Oe(e,this.localeData()),this.add(e-t,"d")):t}function Ye(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Fe(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=xe(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function He(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=bi),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function We(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=wi),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ze(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ki),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ue(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],c=[],u=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),c.push(o),u.push(r),u.push(i),u.push(o);for(a.sort(e),s.sort(e),c.sort(e),u.sort(e),t=0;t<7;t++)s[t]=te(s[t]),c[t]=te(c[t]),u[t]=te(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Be(){return this.hours()%12||12}function qe(){return this.hours()||24}function Ve(e,t){$(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function $e(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Je(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Ke(e){return e?e.toLowerCase().replace("_","-"):e}function Qe(e){for(var t,n,r,i,o=0;o0;){if(r=Xe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&k(i,n,!0)>=t-1)break;t--}o++}return null}function Xe(t){var r=null;if(!Di[t]&&void 0!==e&&e&&e.exports)try{r=Mi._abbr,n(740)("./"+t),Ze(r)}catch(e){}return Di[t]}function Ze(e,t){var n;return e&&(n=m(t)?nt(e):et(e,t))&&(Mi=n),Mi._abbr}function et(e,t){if(null!==t){var n=Ei;if(t.abbr=e,null!=Di[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Di[e]._config;else if(null!=t.parentLocale){if(null==Di[t.parentLocale])return ji[t.parentLocale]||(ji[t.parentLocale]=[]),ji[t.parentLocale].push({name:e,config:t}),null;n=Di[t.parentLocale]._config}return Di[e]=new S(j(n,t)),ji[e]&&ji[e].forEach(function(e){et(e.name,e.config)}),Ze(e),Di[e]}return delete Di[e],null}function tt(e,t){if(null!=t){var n,r=Ei;null!=Di[e]&&(r=Di[e]._config),t=j(r,t),n=new S(t),n.parentLocale=Di[e],Di[e]=n,Ze(e)}else null!=Di[e]&&(null!=Di[e].parentLocale?Di[e]=Di[e].parentLocale:null!=Di[e]&&delete Di[e]);return Di[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Mi;if(!r(e)){if(t=Xe(e))return t;e=[e]}return Qe(e)}function rt(){return Cr(Di)}function it(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[ti]<0||n[ti]>11?ti:n[ni]<1||n[ni]>oe(n[ei],n[ti])?ni:n[ri]<0||n[ri]>24||24===n[ri]&&(0!==n[ii]||0!==n[oi]||0!==n[ai])?ri:n[ii]<0||n[ii]>59?ii:n[oi]<0||n[oi]>59?oi:n[ai]<0||n[ai]>999?ai:-1,p(e)._overflowDayOfYear&&(tni)&&(t=ni),p(e)._overflowWeeks&&-1===t&&(t=si),p(e)._overflowWeekday&&-1===t&&(t=ci),p(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,c=Si.exec(s)||Oi.exec(s);if(c){for(p(e).iso=!0,t=0,n=Li.length;tme(i)&&(p(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[ti]=n.getUTCMonth(),e._a[ni]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ri]&&0===e._a[ii]&&0===e._a[oi]&&0===e._a[ai]&&(e._nextDay=!0,e._a[ri]=0),e._d=(e._useUTC?be:ye).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ri]=24)}}function lt(e){var t,n,r,i,o,a,s,c;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=st(t.GG,e._a[ei],Me(yt(),1,4).year),r=st(t.W,1),((i=st(t.E,1))<1||i>7)&&(c=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var u=Me(yt(),o,a);n=st(t.gg,e._a[ei],u.year),r=st(t.w,u.week),null!=t.d?((i=t.d)<0||i>6)&&(c=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(c=!0)):i=o}r<1||r>Ce(n,o,a)?p(e)._overflowWeeks=!0:null!=c?p(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[ei]=s.year,e._dayOfYear=s.dayOfYear)}function dt(e){if(e._f===t.ISO_8601)return void ot(e);e._a=[],p(e).empty=!0;var n,r,i,o,a,s=""+e._i,c=s.length,u=0;for(i=Q(e._f,e._locale).match(xr)||[],n=0;n0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),u+=r.length),Rr[o]?(r?p(e).empty=!1:p(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&p(e).unusedTokens.push(o);p(e).charsLeftOver=c-u,s.length>0&&p(e).unusedInput.push(s),e._a[ri]<=12&&!0===p(e).bigHour&&e._a[ri]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[ri]=ft(e._locale,e._a[ri],e._meridiem),ut(e),it(e)}function ft(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function pt(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function It(){if(!m(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=mt(e),e._a){var t=e._isUTC?d(e._a):yt(e._a);this._isDSTShifted=this.isValid()&&k(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Yt(){return!!this.isValid()&&!this._isUTC}function Ft(){return!!this.isValid()&&this._isUTC}function Ht(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Wt(e,t){var n,r,i,o=e,s=null;return Ct(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:a(e)?(o={},t?o[t]=e:o.milliseconds=e):(s=Fi.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:w(s[ni])*n,h:w(s[ri])*n,m:w(s[ii])*n,s:w(s[oi])*n,ms:w(Tt(1e3*s[ai]))*n}):(s=Hi.exec(e))?(n="-"===s[1]?-1:1,o={y:zt(s[2],n),M:zt(s[3],n),w:zt(s[4],n),d:zt(s[5],n),h:zt(s[6],n),m:zt(s[7],n),s:zt(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Bt(yt(o.from),yt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Mt(o),Ct(e)&&u(e,"_locale")&&(r._locale=e._locale),r}function zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ut(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Bt(e,t){var n;return e.isValid()&&t.isValid()?(t=jt(t,e),e.isBefore(t)?n=Ut(e,t):(n=Ut(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function qt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(T(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Wt(n,r),Vt(this,i,e),this}}function Vt(e,n,r,i){var o=n._milliseconds,a=Tt(n._days),s=Tt(n._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&U(e,"Date",z(e,"Date")+a*r),s&&le(e,z(e,"Month")+s*r),i&&t.updateOffset(e,a||s))}function $t(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,n){var r=e||yt(),i=jt(r,this).startOf("day"),o=t.calendarFormat(this,i)||"sameElse",a=n&&(E(n[o])?n[o].call(this,r):n[o]);return this.format(a||this.localeData().calendar(o,this,yt(r)))}function Jt(){return new g(this)}function Kt(e,t){var n=y(e)?e:yt(e);return!(!this.isValid()||!n.isValid())&&(t=I(m(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),Pn.call(this,e,t,n,r,i))}function Pn(e,t,n,r,i){var o=ke(e,t,n,r,i),a=be(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Rn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function An(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Nn(e,t){t[ai]=w(1e3*("0."+e))}function In(){return this._isUTC?"UTC":""}function Yn(){return this._isUTC?"Coordinated Universal Time":""}function Fn(e){return yt(1e3*e)}function Hn(){return yt.apply(null,arguments).parseZone()}function Wn(e){return e}function zn(e,t,n,r){var i=nt(),o=d().set(r,t);return i[n](o,e)}function Un(e,t,n){if(a(e)&&(t=e,e=void 0),e=e||"",null!=t)return zn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=zn(e,r,n,"month");return i}function Bn(e,t,n,r){"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return zn(t,(n+o)%7,r,"day");var s,c=[];for(s=0;s<7;s++)c[s]=zn(t,(s+o)%7,r,"day");return c}function qn(e,t){return Un(e,t,"months")}function Vn(e,t){return Un(e,t,"monthsShort")}function $n(e,t,n){return Bn(e,t,n,"weekdays")}function Gn(e,t,n){return Bn(e,t,n,"weekdaysShort")}function Jn(e,t,n){return Bn(e,t,n,"weekdaysMin")}function Kn(){var e=this._data;return this._milliseconds=Qi(this._milliseconds),this._days=Qi(this._days),this._months=Qi(this._months),e.milliseconds=Qi(e.milliseconds),e.seconds=Qi(e.seconds),e.minutes=Qi(e.minutes),e.hours=Qi(e.hours),e.months=Qi(e.months),e.years=Qi(e.years),this}function Qn(e,t,n,r){var i=Wt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Xn(e,t){return Qn(this,e,t,1)}function Zn(e,t){return Qn(this,e,t,-1)}function er(e){return e<0?Math.floor(e):Math.ceil(e)}function tr(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*er(rr(s)+a),a=0,s=0),c.milliseconds=o%1e3,e=b(o/1e3),c.seconds=e%60,t=b(e/60),c.minutes=t%60,n=b(t/60),c.hours=n%24,a+=b(n/24),i=b(nr(a)),s+=i,a-=er(rr(i)),r=b(s/12),s%=12,c.days=a,c.months=s,c.years=r,this}function nr(e){return 4800*e/146097}function rr(e){return 146097*e/4800}function ir(e){var t,n,r=this._milliseconds;if("month"===(e=I(e))||"year"===e)return t=this._days+r/864e5,n=this._months+nr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(rr(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function or(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12)}function ar(e){return function(){return this.as(e)}}function sr(e){return e=I(e),this[e+"s"]()}function cr(e){return function(){return this._data[e]}}function ur(){return b(this.days()/7)}function lr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function dr(e,t,n){var r=Wt(e).abs(),i=ho(r.as("s")),o=ho(r.as("m")),a=ho(r.as("h")),s=ho(r.as("d")),c=ho(r.as("M")),u=ho(r.as("y")),l=i<_o.s&&["s",i]||o<=1&&["m"]||o<_o.m&&["mm",o]||a<=1&&["h"]||a<_o.h&&["hh",a]||s<=1&&["d"]||s<_o.d&&["dd",s]||c<=1&&["M"]||c<_o.M&&["MM",c]||u<=1&&["y"]||["yy",u];return l[2]=t,l[3]=+e>0,l[4]=n,lr.apply(null,l)}function fr(e){return void 0===e?ho:"function"==typeof e&&(ho=e,!0)}function pr(e,t){return void 0!==_o[e]&&(void 0===t?_o[e]:(_o[e]=t,!0))}function hr(e){var t=this.localeData(),n=dr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function _r(){var e,t,n,r=mo(this._milliseconds)/1e3,i=mo(this._days),o=mo(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,c=i,u=t,l=e,d=r,f=this.asSeconds();return f?(f<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(c?c+"D":"")+(u||l||d?"T":"")+(u?u+"H":"")+(l?l+"M":"")+(d?d+"S":""):"P0D"}var mr,vr;vr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var _i=W("FullYear",!0);$("w",["ww",2],"wo","week"),$("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),F("week",5),F("isoWeek",5),X("w",Hr),X("ww",Hr,Nr),X("W",Hr),X("WW",Hr,Nr),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=w(e)});var mi={dow:0,doy:6};$("d",0,"do","day"),$("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),$("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),$("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),$("e",0,0,"weekday"),$("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),X("d",Hr),X("e",Hr),X("E",Hr),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=w(e)});var vi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),gi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),yi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),bi=Qr,wi=Qr,ki=Qr;$("H",["HH",2],0,"hour"),$("h",["hh",2],0,Be),$("k",["kk",2],0,qe),$("hmm",0,0,function(){return""+Be.apply(this)+V(this.minutes(),2)}),$("hmmss",0,0,function(){return""+Be.apply(this)+V(this.minutes(),2)+V(this.seconds(),2)}),$("Hmm",0,0,function(){return""+this.hours()+V(this.minutes(),2)}),$("Hmmss",0,0,function(){return""+this.hours()+V(this.minutes(),2)+V(this.seconds(),2)}),Ve("a",!0),Ve("A",!1),N("hour","h"),F("hour",13),X("a",$e),X("A",$e),X("H",Hr),X("h",Hr),X("HH",Hr,Nr),X("hh",Hr,Nr),X("hmm",Wr),X("hmmss",zr),X("Hmm",Wr),X("Hmmss",zr),ne(["H","HH"],ri),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[ri]=w(e),p(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[ri]=w(e.substr(0,r)),t[ii]=w(e.substr(r)),p(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ri]=w(e.substr(0,r)),t[ii]=w(e.substr(r,2)),t[oi]=w(e.substr(i)),p(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[ri]=w(e.substr(0,r)),t[ii]=w(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ri]=w(e.substr(0,r)),t[ii]=w(e.substr(r,2)),t[oi]=w(e.substr(i))});var Mi,Ci=/[ap]\.?m?\.?/i,Ti=W("Hours",!0),Ei={calendar:Tr,longDateFormat:Er,invalidDate:"Invalid date",ordinal:"%d",ordinalParse:Dr,relativeTime:jr,months:di,monthsShort:fi,week:mi,weekdays:vi,weekdaysMin:yi,weekdaysShort:gi,meridiemParse:Ci},Di={},ji={},Si=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Oi=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,xi=/Z|[+-]\d\d(?::?\d\d)?/,Li=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Pi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ri=/^\/?Date\((\-?\d+)/i;t.createFromInputFallback=C("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),t.ISO_8601=function(){};var Ai=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=yt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:_()}),Ii=function(){return Date.now?Date.now():+new Date};Et("Z",":"),Et("ZZ",""),X("Z",Jr),X("ZZ",Jr),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Dt(Jr,e)});var Yi=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var Fi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Hi=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Wt.fn=Mt.prototype;var Wi=qt(1,"add"),zi=qt(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ui=C("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});$(0,["gg",2],0,function(){return this.weekYear()%100}),$(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Dn("gggg","weekYear"),Dn("ggggg","weekYear"),Dn("GGGG","isoWeekYear"),Dn("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),X("G",$r),X("g",$r),X("GG",Hr,Nr),X("gg",Hr,Nr),X("GGGG",Br,Yr),X("gggg",Br,Yr),X("GGGGG",qr,Fr),X("ggggg",qr,Fr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=w(e)}),re(["gg","GG"],function(e,n,r,i){n[i]=t.parseTwoDigitYear(e)}),$("Q",0,"Qo","quarter"),N("quarter","Q"),F("quarter",7),X("Q",Ar),ne("Q",function(e,t){t[ti]=3*(w(e)-1)}),$("D",["DD",2],"Do","date"),N("date","D"),F("date",9),X("D",Hr),X("DD",Hr,Nr),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],ni),ne("Do",function(e,t){t[ni]=w(e.match(Hr)[0],10)});var Bi=W("Date",!0);$("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),F("dayOfYear",4),X("DDD",Ur),X("DDDD",Ir),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),$("m",["mm",2],0,"minute"),N("minute","m"),F("minute",14),X("m",Hr),X("mm",Hr,Nr),ne(["m","mm"],ii);var qi=W("Minutes",!1);$("s",["ss",2],0,"second"),N("second","s"),F("second",15),X("s",Hr),X("ss",Hr,Nr),ne(["s","ss"],oi);var Vi=W("Seconds",!1);$("S",0,0,function(){return~~(this.millisecond()/100)}),$(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),$(0,["SSS",3],0,"millisecond"),$(0,["SSSS",4],0,function(){return 10*this.millisecond()}),$(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),$(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),$(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),$(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),$(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),N("millisecond","ms"),F("millisecond",16),X("S",Ur,Ar),X("SS",Ur,Nr),X("SSS",Ur,Ir);var $i;for($i="SSSS";$i.length<=9;$i+="S")X($i,Vr);for($i="S";$i.length<=9;$i+="S")ne($i,Nn);var Gi=W("Milliseconds",!1);$("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var Ji=g.prototype;Ji.add=Wi,Ji.calendar=Gt,Ji.clone=Jt,Ji.diff=nn,Ji.endOf=mn,Ji.format=cn,Ji.from=un,Ji.fromNow=ln,Ji.to=dn,Ji.toNow=fn,Ji.get=B,Ji.invalidAt=Tn,Ji.isAfter=Kt,Ji.isBefore=Qt,Ji.isBetween=Xt,Ji.isSame=Zt,Ji.isSameOrAfter=en,Ji.isSameOrBefore=tn,Ji.isValid=Mn,Ji.lang=Ui,Ji.locale=pn,Ji.localeData=hn,Ji.max=Ni,Ji.min=Ai,Ji.parsingFlags=Cn,Ji.set=q,Ji.startOf=_n,Ji.subtract=zi,Ji.toArray=bn,Ji.toObject=wn,Ji.toDate=yn,Ji.toISOString=an,Ji.inspect=sn,Ji.toJSON=kn,Ji.toString=on,Ji.unix=gn,Ji.valueOf=vn,Ji.creationData=En,Ji.year=_i,Ji.isLeapYear=ge,Ji.weekYear=jn,Ji.isoWeekYear=Sn,Ji.quarter=Ji.quarters=Rn,Ji.month=de,Ji.daysInMonth=fe,Ji.week=Ji.weeks=je,Ji.isoWeek=Ji.isoWeeks=Se,Ji.weeksInYear=xn,Ji.isoWeeksInYear=On,Ji.date=Bi,Ji.day=Ji.days=Ie,Ji.weekday=Ye,Ji.isoWeekday=Fe,Ji.dayOfYear=An,Ji.hour=Ji.hours=Ti,Ji.minute=Ji.minutes=qi,Ji.second=Ji.seconds=Vi,Ji.millisecond=Ji.milliseconds=Gi,Ji.utcOffset=Ot,Ji.utc=Lt,Ji.local=Pt,Ji.parseZone=Rt,Ji.hasAlignedHourOffset=At,Ji.isDST=Nt,Ji.isLocal=Yt,Ji.isUtcOffset=Ft,Ji.isUtc=Ht,Ji.isUTC=Ht,Ji.zoneAbbr=In,Ji.zoneName=Yn,Ji.dates=C("dates accessor is deprecated. Use date instead.",Bi),Ji.months=C("months accessor is deprecated. Use month instead",de),Ji.years=C("years accessor is deprecated. Use year instead",_i),Ji.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",xt),Ji.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",It);var Ki=S.prototype;Ki.calendar=O,Ki.longDateFormat=x,Ki.invalidDate=L,Ki.ordinal=P,Ki.preparse=Wn,Ki.postformat=Wn,Ki.relativeTime=R,Ki.pastFuture=A,Ki.set=D,Ki.months=ae,Ki.monthsShort=se,Ki.monthsParse=ue,Ki.monthsRegex=he,Ki.monthsShortRegex=pe,Ki.week=Te,Ki.firstDayOfYear=De,Ki.firstDayOfWeek=Ee,Ki.weekdays=Le,Ki.weekdaysMin=Re,Ki.weekdaysShort=Pe,Ki.weekdaysParse=Ne,Ki.weekdaysRegex=He,Ki.weekdaysShortRegex=We,Ki.weekdaysMinRegex=ze,Ki.isPM=Ge,Ki.meridiem=Je,Ze("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),t.lang=C("moment.lang is deprecated. Use moment.locale instead.",Ze),t.langData=C("moment.langData is deprecated. Use moment.localeData instead.",nt);var Qi=Math.abs,Xi=ar("ms"),Zi=ar("s"),eo=ar("m"),to=ar("h"),no=ar("d"),ro=ar("w"),io=ar("M"),oo=ar("y"),ao=cr("milliseconds"),so=cr("seconds"),co=cr("minutes"),uo=cr("hours"),lo=cr("days"),fo=cr("months"),po=cr("years"),ho=Math.round,_o={s:45,m:45,h:22,d:26,M:11},mo=Math.abs,vo=Mt.prototype;return vo.abs=Kn,vo.add=Xn,vo.subtract=Zn,vo.as=ir,vo.asMilliseconds=Xi,vo.asSeconds=Zi,vo.asMinutes=eo,vo.asHours=to,vo.asDays=no,vo.asWeeks=ro,vo.asMonths=io,vo.asYears=oo,vo.valueOf=or,vo._bubble=tr,vo.get=sr,vo.milliseconds=ao,vo.seconds=so,vo.minutes=co,vo.hours=uo,vo.days=lo,vo.weeks=ur,vo.months=fo,vo.years=po,vo.humanize=hr,vo.toISOString=_r,vo.toString=_r,vo.toJSON=_r,vo.locale=pn,vo.localeData=hn,vo.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",_r),vo.lang=Ui,$("X",0,0,"unix"),$("x",0,0,"valueOf"),X("x",$r),X("X",Kr),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(w(e))}),t.version="2.17.1",function(e){mr=e}(yt),t.fn=Ji,t.min=wt,t.max=kt,t.now=Ii,t.utc=d,t.unix=Fn,t.months=qn,t.isDate=s,t.locale=Ze,t.invalid=_,t.duration=Wt,t.isMoment=y,t.weekdays=$n,t.parseZone=Hn,t.localeData=nt,t.isDuration=Ct,t.monthsShort=Vn,t.weekdaysMin=Jn,t.defineLocale=et,t.updateLocale=tt,t.locales=rt,t.weekdaysShort=Gn,t.normalizeUnits=I,t.relativeTimeRounding=fr,t.relativeTimeThreshold=pr,t.calendarFormat=$t,t.prototype=Ji,t})}).call(t,n(70)(e))},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1&&void 0!==arguments[1]?arguments[1]:[];return"/"===e?["/"].concat(a(t)):f(p(e),[e].concat(a(t)))}function p(e){var t=e.split("/");return t.pop(),1===t.length?"/":t.join("/")}function h(e){var t=["_path"];if(I.default.difference(I.default.keys(e),t).length)throw new Y.ArgumentError('Currently only "_path" copy option is supported.')}Object.defineProperty(t,"__esModule",{value:!0});var _=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),m=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;if(void 0!==a)return a.call(r)},v=function(){function e(e,t){for(var n=0;n3&&void 0!==arguments[3]?arguments[3]:null;return(new P.default).and(e,t,n,r)}},{key:"getByPath",value:function(e){var t=(0,q.firstValueFromIterable)(this.where("_path","equals",e));if(t)return t}},{key:"getByPermalink",value:function(e){var t=this.where("_permalink","equals",e),n=(0,q.firstValueFromIterable)(t);if(n)return n}}]),v(t,[{key:"id",value:function(){return this._current._id}},{key:"objClass",value:function(){return this._current._obj_class}},{key:"createdAt",value:function(){return T.parseStringToDate(this._current._created_at)}},{key:"createdBy",value:function(){return this._current._created_by}},{key:"lastChanged",value:function(){return this._current._last_changed?T.parseStringToDate(this._current._last_changed):null}},{key:"lastChangedBy",value:function(){return this._current._last_changed_by?this._current._last_changed_by:null}},{key:"version",value:function(){return this._current._version}},{key:"path",value:function(){return this._current._path||null}},{key:"permalink",value:function(){return this._current._permalink||null}},{key:"parentPath",value:function(){if(this.path()&&"/"!==this.path())return p(this.path())}},{key:"parent",value:function(){var e=this.parentPath();if(e)return t.getByPath(e)}},{key:"hasConflicts",value:function(){return!!this._current._conflicts}},{key:"modification",value:function(){return this._current._deleted?"deleted":this._current._modification||null}},{key:"isModified",value:function(){return!!this.modification()}},{key:"isNew",value:function(){return"new"===this.modification()}},{key:"isEdited",value:function(){return"edited"===this.modification()}},{key:"isDeleted",value:function(){return"deleted"===this.modification()}},{key:"isFinallyDeleted",value:function(){return!!this._current._deleted}},{key:"isBinary",value:function(){if(!this._objClass)return!1;var e=this._objClass.attribute("blob");return!!e&&"binary"===e.type}},{key:"isImage",value:function(){if(this.isBinary()){var e=this.get("blob","binary");if(e)return e.isImage()}return!1}},{key:"contentLength",value:function(){return this._binaryData("contentLength")}},{key:"contentType",value:function(){return this._binaryData("contentType")}},{key:"contentUrl",value:function(){return this._binaryData("url")}},{key:"metadata",value:function(){return this._binaryData("metadata")}},{key:"fetchParent",value:function(){scrivito.asyncMethodStub()}},{key:"children",value:function(){if(this.path()){var e=t.all().and("_parentPath","equals",this.path());return(0,q.arrayFromIterable)(e)}return[]}},{key:"hasChildren",value:function(){return!!this.children().length}},{key:"orderedChildren",value:function(){var e=this.children(),t=this.get("childOrder","referencelist");return I.default.isArray(t)?I.default.sortBy(e,function(e){var n=I.default.invoke(t,"id"),r=n.indexOf(e.id());return-1===r?t.length:r}):e}},{key:"backlinks",value:function(){return(0,q.arrayFromIterable)(t.where("*","linksTo",this))}},{key:"ancestors",value:function(){var e=this.parentPath();return e?f(e).map(function(e){return t.getByPath(e)}):[]}},{key:"update",value:function(e){var t=this,n=scrivito.typeInfo.normalizeAttrs(e);(0,V.withBatchedUpdates)(function(){t._persistWidgets(t,n);var e=S.serialize(n);t.objData.update(e)}),this._linkResolution.start()}},{key:"destroy",value:function(){this.update({_modification:["deleted"]})}},{key:"insertWidget",value:function(e,t){var n=t.before,r=t.after,i=(n||r).id(),s=this._widgetPlacementFor(i),c=s.attributeValue,u=s.attributeName,l=s.container,d=s.index,f=n?d:d+1,p=[].concat(a(c.slice(0,f)),[e],a(c.slice(f)));l.update(o({},u,[p,"widgetlist"]))}},{key:"removeWidget",value:function(e){var t=this.fieldContainingWidget(e);t.update(I.default.reject(t.get(),function(t){return t.equals(e)}))}},{key:"copyAsync",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return h(e),this._copyAttributes().then(function(n){var r=I.default.extend(n,e),i=t.createWithSerializedAttributes(r);return i.finishSaving().then(function(){return i})})}},{key:"moveToAsync",value:function(e){return this.update({_path:[e+"/"+this.id()]}),this.finishSaving()}},{key:"markResolvedAsync",value:function(){return this.update({_conflicts:[null]}),this.finishSaving()}},{key:"finishSaving",value:function(){var e=this,t=this._linkResolution.finishResolving().then(function(){return e.objData.finishSaving()});return new scrivito.PublicPromise(t)}},{key:"equals",value:function(e){return e instanceof t&&this.id()===e.id()}},{key:"widget",value:function(e){return this.widgetData(e)?x.default.build(e,this):null}},{key:"widgets",value:function(){var e=this;return I.default.map(I.default.keys(this._widgetPool),function(t){return e.widget(t)})}},{key:"widgetData",value:function(e){return this._widgetPool[e]}},{key:"fieldContainingWidget",value:function(e){var t=this._widgetPlacementFor(e.id()),n=t.container,r=t.attributeName;return n.field(r,"widgetlist")}},{key:"generateWidgetId",value:function(){for(var e=0;e<10;e++){var t=(0,W.randomHex)();if(!this.widget(t))return t}$.error("Could not generate a new unused widget id.")}},{key:"serializeAttributes",value:function(){var e=m(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"serializeAttributes",this).call(this);return delete e._conflicts,delete e._modification,delete e._created_at,delete e._created_by,delete e._last_changed,delete e._last_changed_by,e}},{key:"slug",value:function(){var e=this.get("title","string");return(0,M.default)(e)}},{key:"_binaryData",value:function(e){var t=this.get("blob","binary");return t&&t.raw()[e]()}},{key:"_hasParentPath",value:function(){return this.path()&&"/"!==this.path()}},{key:"_copyAttributes",value:function(){var e=t.generateId(),n=this.serializeAttributes(),r=[];return I.default.each(n,function(t,i){if("_"===i[0])return void delete n[i];var o=_(t,2),a=o[0],s=o[1];if("binary"===a&&s){var c=new H.default({idToCopy:s.id}),u=c.into(e).then(function(e){return{name:i,binary:e}});r.push(u)}}),n._id=e,n._obj_class=this.objClass(),this.path()&&(n._path=this.parentPath()+"/"+e),scrivito.PublicPromise.all(r).then(function(e){return I.default.each(e,function(e){var t=e.name,r=e.binary;n[t]=["binary",{id:r.id()}]}),n})}},{key:"_widgetPlacementFor",value:function(e){var t=(0,w.default)(this._current,e),n=t.parentWidgetId?this.widget(t.parentWidgetId):this,r=(0,B.camelCase)(t.attributeName),i=n.get(r,"widgetlist");return I.default.extend(t,{container:n,attributeName:r,attributeValue:i})}},{key:"_widgetPool",get:function(){return this._current._widget_pool||{}}},{key:"_systemAttributes",get:function(){return G}},{key:"_current",get:function(){return this.objData.current}},{key:"_objClass",get:function(){return U.default.find(this.objClass())}},{key:"_linkResolution",get:function(){return scrivito.uiAdapter.linkResolutionFor(this.objData)}}]),t}(A.default);t.default=J,scrivito.provideAsyncClassMethods(J,{get:"fetch",getByPermalink:"fetchByPermalink",getIncludingDeleted:"fetchIncludingDeleted"}),scrivito.provideAsyncInstanceMethods(J,{parent:"fetchParent"})},function(e,t,n){"use strict";function r(e){e?(l=void 0,d=e.stateController(),t.appState=e.createAppState(),t.cmsState=e.cmsState()):(l=new p.default,d=l,t.appState=i(),t.cmsState=l.subState("cms"),t.uiState=l.subState("ui"))}function i(){if(!l)throw new f.InternalError;var e=(h++).toString();return l.subState("apps").subState(e)}function o(e){return d.withBatchedUpdates(e)}function a(e){return d.subscribe(e)}function s(e){return d.trackChanges(e)}function c(){if(!l)throw new f.InternalError;return l.listenerCount()}function u(){if(!l)throw new f.InternalError;l.clear()}Object.defineProperty(t,"__esModule",{value:!0});var l,d,f=n(1),p=n(144);t.initializeGlobalState=r;var h=0;t.createAppState=i,t.withBatchedUpdates=o,t.subscribe=a,t.trackChanges=s,t.listenerCount=c,t.reset=u},function(e,t,n){"use strict";function r(e){var t=u;try{return u=!1,e()}finally{u=t}}Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(1),a=n(142),s=n(143),c=0,u=!0,l=[o.ResourceNotFoundError],d=function(){function e(e){var t=e.state,n=e.loader,r=e.invalidation,i=e.throwNotLoaded;if(!t)throw new o.InternalError("LoadableData needs state");this.value=new s.default(t),this.loader=n,this.invalidation=r,this.throwNotLoaded=i||!1}return e.throwNotLoaded=function(){throw i=!1,new scrivito.NotLoadedError(u)},e.capture=function(e){return a.capture(e)},e.run=function(e){var t=i;i=!0;try{return{success:!0,result:r(e),allDataLoaded:i}}catch(e){if(i)throw e;return{success:!1,allDataLoaded:!1}}finally{i=t}},e.prototype.get=function(){var t=this;if(this.isAvailable())return this.reloadIfOutdated(),this.value.value();if(this.isError())throw this.reloadIfOutdated(),this.hydrateError(this.value.error());i=!1,a.notifyMissingData(function(){return t.progressLoading()}),this.throwNotLoaded&&e.throwNotLoaded()},e.prototype.set=function(e){this.value.transitionToAvailable(e,this.currentVersion())},e.prototype.setError=function(e){this.transitionToError(e)},e.prototype.reset=function(){this.value.transitionToMissing()},e.prototype.isMissing=function(){return"MISSING"===this.value.status()},e.prototype.isLoading=function(){return void 0!==this.value.getLoading()},e.prototype.isAvailable=function(){return"AVAILABLE"===this.value.status()},e.prototype.isError=function(){return"ERROR"===this.value.status()},e.prototype.triggerLoading=function(){var e=this;if(!this.isLoading()){var t=c++,n=function(n){e.value.getLoading()===t&&n()},r=this.currentVersion(),i=[],o=function(e){return i.push(e)},a=function(){return i.forEach(function(e){return e()})};this.loader(o).then(function(t){return n(function(){return scrivito.batchedStateUpdater.add(function(){e.value.transitionToAvailable(t,r),a()})})},function(t){return n(function(){return scrivito.batchedStateUpdater.add(function(){e.transitionToError(t,r),a()})})}),this.value.setLoading(t)}},e.prototype.transitionToError=function(e,t){void 0===t&&(t=this.currentVersion()),this.value.transitionToError(this.dehydrateError(e),t)},e.prototype.dehydrateError=function(e){var t=l.indexOf(e.constructor);return t>=0?{type:"dehydrated",id:t,message:e.message}:{type:"live",error:e}},e.prototype.hydrateError=function(e){if("dehydrated"===e.type){return new(0,l[e.id])(e.message)}var t=e.error;if(t)return t;throw new o.InternalError("could not hydrate error")},e.prototype.reloadIfOutdated=function(){var e=this;this.hasBeenInvalidated()&&a.notifyOutdatedData(function(){return e.progressLoading()})},e.prototype.progressLoading=function(){(this.hasBeenInvalidated()||!this.isAvailable()&&!this.isError())&&this.triggerLoading()},e.prototype.hasBeenInvalidated=function(){return!!this.invalidation&&this.currentVersion()!==this.value.version()},e.prototype.currentVersion=function(){var e=this.invalidation;if(e){var t=e();if("number"==typeof t&&isNaN(t)){var n="invalidation callback returned unsuitable version "+t;throw new o.InternalError(n)}return t}},e}();t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){if("function"!=typeof e)throw new h.ArgumentError("Scrivito.connect expects either a plain function or a subclass of React.Component");return c((0,m.default)(e)?e:u(e))}function c(e){var t=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),l(t,[{key:"componentWillMount",value:function(){var e=this;this._scrivitoUnsubscribeModelState=(0,y.subscribe)(function(){e._scrivitoIsStateChangeDetected&&e._scrivitoIsStateChangeDetected()&&e.forceUpdate()}),d(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"componentWillMount",this)&&d(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"componentWillMount",this).call(this)}},{key:"componentWillUnmount",value:function(){this._scrivitoUnsubscribeModelState(),d(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"componentWillUnmount",this)&&d(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"componentWillUnmount",this).call(this)}},{key:"render",value:function(){var e=this,n=void 0;return this._scrivitoIsStateChangeDetected=(0,y.trackChanges)(function(){try{var r=void 0;if(p.default.capture(function(){r=p.default.run(function(){return d(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"render",e).call(e)})}).loadRequiredData(),r.allDataLoaded)n=r.result;else{var i=r.success?r.result:null;n=e._scrivitoHandleLoading(i)}}catch(t){n=e._scrivitoHandleError(t)}}),n}},{key:"_scrivitoHandleLoading",value:function(e){return this._scrivitoRenderWhileLoading?this._scrivitoRenderWhileLoading():e}},{key:"_scrivitoHandleError",value:function(e){return scrivito.printError(e),this._scrivitoRenderOnError?this._scrivitoRenderOnError():null}}]),t}(e);return(0,g.default)(t,{from:e}),t}function u(e){var t=function(t){function n(){return i(this,n),o(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return a(n,t),l(n,[{key:"render",value:function(){return e(this.props)}}]),n}(React.Component);return(0,g.default)(t,{from:e}),t}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n100?e.slice(0,100)+"...":e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var l=n(3),d=r(l),f=n(14),p=r(f),h=n(24),_=r(h),m=n(0)},,function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};return e.idToCopy=this._id,new h.default(e)}},{key:"isPrivate",value:function(){return!this._isPublic}},{key:"transform",value:function(t){return new e(this._id,this._isPublic,(0,d.extend)({},this._definition,t))}},{key:"original",value:function(){return new e(this._id,this._isPublic,{})}},{key:"raw",value:function(){return new e(this._id,this._isPublic)}},{key:"isTransformed",value:function(){return!!this._definition}},{key:"isExplicitlyTransformed",value:function(){return this.isTransformed()&&!(0,d.isEmpty)(this._definition)}},{key:"isRaw",value:function(){return!this.isTransformed()}},{key:"url",value:function(){return this._urlData()[this._accessType()].get.url}},{key:"filename",value:function(){var e=this.url();return e.match(/^data:/)?"":(0,c.default)(e).path().split("/").pop()}},{key:"metadata",value:function(){return this._assertNotTransformed("Metadata"),new m.default(this._id)}},{key:"contentType",value:function(){return this._assertNotTransformed("Content type"),this.metadata().get("contentType")}},{key:"contentLength",value:function(){return this._assertNotTransformed("Content length"),this.metadata().get("contentLength")||0}},{key:"extname",value:function(){if(this.raw().filename().indexOf(".")>-1){return/[^.\\]*$/.exec(this.raw().filename())[0].toLowerCase()}}},{key:"equals",value:function(t){return t instanceof e&&t.id()===this.id()&&t.isPrivate()===this.isPrivate()&&(0,d.isEqual)(t.definition(),this.definition())}},{key:"isImage",value:function(){var e=this.raw().contentType();return!!e&&"image"===e.split("/")[0]}},{key:"definition",value:function(){return this._definition||null}},{key:"_accessType",value:function(){return this.isPrivate()?"private_access":"public_access"}},{key:"_urlData",value:function(){return this._loadableData.get()||y}},{key:"_loadUrlData",value:function(){var e="blobs/"+encodeURIComponent(this._id),t=void 0;return this._definition&&(e+="/transform",t={transformation:this._definition}),scrivito.CmsRestApi.get(e,t)}},{key:"_assertNotTransformed",value:function(e){if(this.isTransformed())throw new f.ScrivitoError('"'+e+'" is not available for transformed images. Use "Scrivito.Binary#raw" to access the untransformed version of the image.')}}],[{key:"upload",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.source=e,new h.default(t)}},{key:"store",value:function(t,n,r){var i=n.transformation;new l.default({state:o(t,i)}).set(r);var a=new e(t);return i?a.transform(i):a}},{key:"storeMetadata",value:function(e,t){return m.default.store(e,t)}}]),e}();t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return function(t){return!t.isHiddenFromEditors()&&t.isValidContainerClass(e)}}function c(e){var t=e instanceof _.default?"Widget":"Obj";return w.default.findByType(t,e.objClass())}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n0}}]),t}(y.default);t.default=k},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:window).devicePixelRatio||1}function i(){return window.location}function o(e){window.location=e}function a(){return window.history}function s(){return window.onpopstate}function c(e){window.onpopstate=e}function u(){return window.screen}function l(){return document}Object.defineProperty(t,"__esModule",{value:!0}),t.devicePixelRatio=r,t.history=a,t.location=i,t.onpopstate=s,t.redirectTo=o,t.screen=u,t.setOnpopstate=c,t.getDocument=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e){if(!c.isBlob(e.source))throw new d.ArgumentError("Expected a Blob or File as the source.");if(e.contentType||(e.contentType=e.source.type),!e.filename){if(!c.isFile(e.source))throw new d.ArgumentError("Expected a filename to be passed with Blob as the source.");e.filename=e.source.name}}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};i(this,e),t.idToCopy?this.idToCopy=t.idToCopy:(o(t),this.source=t.source),t.filename&&(this.filename=t.filename.replace(/[^\w\-_\.$]/g,"-")),this.contentType=t.contentType}return a(e,[{key:"into",value:function(e){var t=void 0;t=l.default.isString(e)?e:e.id();var n=void 0;return n=this.idToCopy?scrivito.BinaryRequest.copy(this.idToCopy,t,this.filename,this.contentType):scrivito.BinaryRequest.upload(t,this.source,this.filename,this.contentType),n.then(function(e){var t=e.id;return new p.default(t,!1)})}}]),e}();t.default=h},function(e,t,n){"use strict";function r(){return o}function i(e){o=e}Object.defineProperty(t,"__esModule",{value:!0});var o=void 0;t.useRailsEngine=r,t.initUseRailsEngine=i},function(e,t,n){var r,i,o;/*! * URI.js - Mutating URLs * * Version: 1.18.7 * * Author: Rodney Rehm * Web: http://medialize.github.io/URI.js/ * * Licensed under * MIT License http://www.opensource.org/licenses/mit-license * */ !function(a,s){"use strict";"object"==typeof e&&e.exports?e.exports=s(n(83),n(84),n(85)):(i=[n(83),n(84),n(85)],r=s,void 0!==(o="function"==typeof r?r.apply(t,i):r)&&(e.exports=o))}(0,function(e,t,n,r){"use strict";function i(e,t){var n=arguments.length>=1,r=arguments.length>=2;if(!(this instanceof i))return n?r?new i(e,t):new i(e):new i;if(void 0===e){if(n)throw new TypeError("undefined is not a valid argument for URI");e="undefined"!=typeof location?location.href+"":""}if(null===e&&n)throw new TypeError("null is not a valid argument for URI");return this.href(e),void 0!==t?this.absoluteTo(t):this}function o(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function a(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function s(e){return"Array"===a(e)}function c(e,t){var n,r,i={};if("RegExp"===a(t))i=null;else if(s(t))for(n=0,r=t.length;n]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/gi,i.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},i.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},i.invalid_hostname_characters=/[^a-zA-Z0-9\.-]/,i.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},i.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return i.domAttributes[t]}},i.encode=p,i.decode=decodeURIComponent,i.iso8859=function(){i.encode=escape,i.decode=unescape},i.unicode=function(){i.encode=p,i.decode=decodeURIComponent},i.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},i.encodeQuery=function(e,t){var n=i.encode(e+"");return void 0===t&&(t=i.escapeQuerySpace),t?n.replace(/%20/g,"+"):n},i.decodeQuery=function(e,t){e+="",void 0===t&&(t=i.escapeQuerySpace);try{return i.decode(t?e.replace(/\+/g,"%20"):e)}catch(t){return e}};var y,b={encode:"encode",decode:"decode"},w=function(e,t){return function(n){try{return i[t](n+"").replace(i.characters[e][t].expression,function(n){return i.characters[e][t].map[n]})}catch(e){return n}}};for(y in b)i[y+"PathSegment"]=w("pathname",b[y]),i[y+"UrnPathSegment"]=w("urnpath",b[y]);var k=function(e,t,n){return function(r){var o;o=n?function(e){return i[t](i[n](e))}:i[t];for(var a=(r+"").split(e),s=0,c=a.length;s-1&&(t.fragment=e.substring(n+1)||null,e=e.substring(0,n)),n=e.indexOf("?"),n>-1&&(t.query=e.substring(n+1)||null,e=e.substring(0,n)),"//"===e.substring(0,2)?(t.protocol=null,e=e.substring(2),e=i.parseAuthority(e,t)):(n=e.indexOf(":"))>-1&&(t.protocol=e.substring(0,n)||null,t.protocol&&!t.protocol.match(i.protocol_expression)?t.protocol=void 0:"//"===e.substring(n+1,n+3)?(e=e.substring(n+3),e=i.parseAuthority(e,t)):(e=e.substring(n+1),t.urn=!0)),t.path=e,t},i.parseHost=function(e,t){e=e.replace(/\\/g,"/");var n,r,i=e.indexOf("/");if(-1===i&&(i=e.length),"["===e.charAt(0))n=e.indexOf("]"),t.hostname=e.substring(1,n)||null,t.port=e.substring(n+2,i)||null,"/"===t.port&&(t.port=null);else{var o=e.indexOf(":"),a=e.indexOf("/"),s=e.indexOf(":",o+1);-1!==s&&(-1===a||s-1?r:e.length-1);return o>-1&&(-1===r||o-1?p.slice(0,h)+p.slice(h).replace(a,""):p.replace(a,""),!(p.length<=u[0].length||n.ignore&&n.ignore.test(p))){f=l+p.length;var v=t(p,l,f,e);void 0!==v?(v=String(v),e=e.slice(0,l)+v+e.slice(f),r.lastIndex=l+v.length):r.lastIndex=f}}return r.lastIndex=0,e},i.ensureValidHostname=function(t){if(t.match(i.invalid_hostname_characters)){if(!e)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-] and Punycode.js is not available');if(e.toASCII(t).match(i.invalid_hostname_characters))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-]')}},i.noConflict=function(e){if(e){var t={URI:this.noConflict()};return r.URITemplate&&"function"==typeof r.URITemplate.noConflict&&(t.URITemplate=r.URITemplate.noConflict()),r.IPv6&&"function"==typeof r.IPv6.noConflict&&(t.IPv6=r.IPv6.noConflict()),r.SecondLevelDomains&&"function"==typeof r.SecondLevelDomains.noConflict&&(t.SecondLevelDomains=r.SecondLevelDomains.noConflict()),t}return r.URI===this&&(r.URI=m),this},v.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=i.build(this._parts),this._deferred_build=!1),this},v.clone=function(){return new i(this)},v.valueOf=v.toString=function(){return this.build(!1)._string},v.protocol=h("protocol"),v.username=h("username"),v.password=h("password"),v.hostname=h("hostname"),v.port=h("port"),v.query=_("query","?"),v.fragment=_("fragment","#"),v.search=function(e,t){var n=this.query(e,t);return"string"==typeof n&&n.length?"?"+n:n},v.hash=function(e,t){var n=this.fragment(e,t);return"string"==typeof n&&n.length?"#"+n:n},v.pathname=function(e,t){if(void 0===e||!0===e){var n=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?i.decodeUrnPath:i.decodePath)(n):n}return this._parts.urn?this._parts.path=e?i.recodeUrnPath(e):"":this._parts.path=e?i.recodePath(e):"/",this.build(!t),this},v.path=v.pathname,v.href=function(e,t){var n;if(void 0===e)return this.toString();this._string="",this._parts=i._parts();var r=e instanceof i,o="object"==typeof e&&(e.hostname||e.path||e.pathname);if(e.nodeName){e=e[i.getDomAttribute(e)]||"",o=!1}if(!r&&o&&void 0!==e.pathname&&(e=e.toString()),"string"==typeof e||e instanceof String)this._parts=i.parse(String(e),this._parts);else{if(!r&&!o)throw new TypeError("invalid input");var a=r?e._parts:e;for(n in a)g.call(this._parts,n)&&(this._parts[n]=a[n])}return this.build(!t),this},v.is=function(e){var t=!1,r=!1,o=!1,a=!1,s=!1,c=!1,u=!1,l=!this._parts.urn;switch(this._parts.hostname&&(l=!1,r=i.ip4_expression.test(this._parts.hostname),o=i.ip6_expression.test(this._parts.hostname),t=r||o,a=!t,s=a&&n&&n.has(this._parts.hostname),c=a&&i.idn_expression.test(this._parts.hostname),u=a&&i.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return l;case"absolute":return!l;case"domain":case"name":return a;case"sld":return s;case"ip":return t;case"ip4":case"ipv4":case"inet4":return r;case"ip6":case"ipv6":case"inet6":return o;case"idn":return c;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return u}return null};var M=v.protocol,C=v.port,T=v.hostname;v.protocol=function(e,t){if(void 0!==e&&e&&(e=e.replace(/:(\/\/)?$/,""),!e.match(i.protocol_expression)))throw new TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return M.call(this,e,t)},v.scheme=v.protocol,v.port=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e&&(0===e&&(e=null),e&&(e+="",":"===e.charAt(0)&&(e=e.substring(1)),e.match(/[^0-9]/))))throw new TypeError('Port "'+e+'" contains characters other than [0-9]');return C.call(this,e,t)},v.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var n={};if("/"!==i.parseHost(e,n))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=n.hostname}return T.call(this,e,t)},v.origin=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var n=this.protocol();return this.authority()?(n?n+"://":"")+this.authority():""}var r=i(e);return this.protocol(r.protocol()).authority(r.authority()).build(!t),this},v.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?i.buildHost(this._parts):"";if("/"!==i.parseHost(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},v.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?i.buildAuthority(this._parts):"";if("/"!==i.parseAuthority(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},v.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var n=i.buildUserinfo(this._parts);return n?n.substring(0,n.length-1):n}return"@"!==e[e.length-1]&&(e+="@"),i.parseUserinfo(e,this._parts),this.build(!t),this},v.resource=function(e,t){var n;return void 0===e?this.path()+this.search()+this.hash():(n=i.parse(e),this._parts.path=n.path,this._parts.query=n.query,this._parts.fragment=n.fragment,this.build(!t),this)},v.subdomain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,n)||""}var r=this._parts.hostname.length-this.domain().length,a=this._parts.hostname.substring(0,r),s=new RegExp("^"+o(a));return e&&"."!==e.charAt(e.length-1)&&(e+="."),e&&i.ensureValidHostname(e),this._parts.hostname=this._parts.hostname.replace(s,e),this.build(!t),this},v.domain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.match(/\./g);if(n&&n.length<2)return this._parts.hostname;var r=this._parts.hostname.length-this.tld(t).length-1;return r=this._parts.hostname.lastIndexOf(".",r-1)+1,this._parts.hostname.substring(r)||""}if(!e)throw new TypeError("cannot set domain empty");if(i.ensureValidHostname(e),!this._parts.hostname||this.is("IP"))this._parts.hostname=e;else{var a=new RegExp(o(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(a,e)}return this.build(!t),this},v.tld=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.lastIndexOf("."),i=this._parts.hostname.substring(r+1);return!0!==t&&n&&n.list[i.toLowerCase()]?n.get(this._parts.hostname)||i:i}var a;if(!e)throw new TypeError("cannot set TLD empty");if(e.match(/[^a-zA-Z0-9-]/)){if(!n||!n.is(e))throw new TypeError('TLD "'+e+'" contains characters other than [A-Z0-9]');a=new RegExp(o(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(a,e)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");a=new RegExp(o(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(a,e)}return this.build(!t),this},v.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var n=this._parts.path.length-this.filename().length-1,r=this._parts.path.substring(0,n)||(this._parts.hostname?"/":"");return e?i.decodePath(r):r}var a=this._parts.path.length-this.filename().length,s=this._parts.path.substring(0,a),c=new RegExp("^"+o(s));return this.is("relative")||(e||(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=i.recodePath(e),this._parts.path=this._parts.path.replace(c,e),this.build(!t),this},v.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("string"!=typeof e){if(!this._parts.path||"/"===this._parts.path)return"";var n=this._parts.path.lastIndexOf("/"),r=this._parts.path.substring(n+1);return e?i.decodePathSegment(r):r}var a=!1;"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(a=!0);var s=new RegExp(o(this.filename())+"$");return e=i.recodePath(e),this._parts.path=this._parts.path.replace(s,e),a?this.normalizePath(t):this.build(!t),this},v.suffix=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var n,r,a=this.filename(),s=a.lastIndexOf(".");return-1===s?"":(n=a.substring(s+1),r=/^[a-z0-9%]+$/i.test(n)?n:"",e?i.decodePathSegment(r):r)}"."===e.charAt(0)&&(e=e.substring(1));var c,u=this.suffix();if(u)c=e?new RegExp(o(u)+"$"):new RegExp(o("."+u)+"$");else{if(!e)return this;this._parts.path+="."+i.recodePath(e)}return c&&(e=i.recodePath(e),this._parts.path=this._parts.path.replace(c,e)),this.build(!t),this},v.segment=function(e,t,n){var r=this._parts.urn?":":"/",i=this.path(),o="/"===i.substring(0,1),a=i.split(r);if(void 0!==e&&"number"!=typeof e&&(n=t,t=e,e=void 0),void 0!==e&&"number"!=typeof e)throw new Error('Bad segment "'+e+'", must be 0-based integer');if(o&&a.shift(),e<0&&(e=Math.max(a.length+e,0)),void 0===t)return void 0===e?a:a[e];if(null===e||void 0===a[e])if(s(t)){a=[];for(var c=0,u=t.length;c1&&void 0!==arguments[1]?arguments[1]:{},r=n.revisionId,i={workspace:{title:t,auto_update:!0,restore_revision:r}};return scrivito.CmsRestApi.post("workspaces",i).then(function(t){var n=t.id,r=new e(n);return r.assignAttributes(t),r})}},{key:"get",value:function(t){var n=new e(t);return n.ensureAvailable(),n}},{key:"byModifiedObj",value:function(e){var t=this,n=e.id(),r=new b.default({state:d("byModifiedObj").subState(n),loader:function(){return c(n)},throwNotLoaded:!0});return p((0,g.default)(r.get(),function(e){return t.get(e)}))}},{key:"storeWithAttributes",value:function(t,n){var r=new e(t);return r.assignAttributes(n),r}},{key:"published",get:function(){return this.get("published")}},{key:"selected",get:function(){try{return this.get(scrivito.editingContext.selectedWorkspaceId)}catch(e){if(e instanceof M.ResourceNotFoundError)return this.published;throw e}}}]),h(e,[{key:"isPublished",value:function(){return"published"===this._id}},{key:"isMutable",value:function(){return!this.isPublished()}},{key:"isAutoUpdate",value:function(){return this.get("auto_update")}},{key:"isOwnedBy",value:function(e){return k.default.contains(this.ownerIds,e)}},{key:"get",value:function(e){return this._workspaceData[e]}},{key:"destroy",value:function(){var e=this;return scrivito.CmsRestApi.delete("workspaces/"+this._id).then(function(){u(e._id).set(null),f().clear()})}},{key:"assignAttributes",value:function(e){this._loadableData.set(e)}},{key:"update",value:function(e){var t=this;return scrivito.CmsRestApi.put("workspaces/"+this._id,{workspace:e}).then(function(e){return t.assignAttributes(e)})}},{key:"rebase",value:function(){return scrivito.CmsRestApi.put("workspaces/"+this._id+"/rebase")}},{key:"hasConflicts",value:function(){if(scrivito.currentWorkspaceId()!==this.id)throw new M.InternalError("#hasConflicts only works for current workspace.");return!m.default.where("_conflicts","equals",!0).iterator().next().done}},{key:"ensureAvailable",value:function(){this._loadableData.get()}},{key:"id",get:function(){return this._id}},{key:"title",get:function(){return this.get("title")}},{key:"titleForEditor",get:function(){return this.isPublished()?scrivito.t("workspace.title.published"):this.title||scrivito.t("workspace.title.blank")}},{key:"memberships",get:function(){return k.default.omit(this.get("memberships"),"undefined")}},{key:"owners",get:function(){return k.default.compact((0,g.default)(this.ownerIds,function(e){try{return D.default.get(e)}catch(e){if(e instanceof M.ResourceNotFoundError)return;throw e}}))}},{key:"otherWritableWorkspaces",get:function(){var t=this,n=T.default.currentSession();return k.default.filter(e.all(),function(e){return e.id!==t._id&&e.isMutable()&&n.can("write",e)})}},{key:"ownerIds",get:function(){var e=[];return k.default.each(this.memberships,function(t,n){"owner"===t.role&&e.push(n)}),e}},{key:"_workspaceData",get:function(){return this._loadableData.get()}}]),e}();t.default=S},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function o(e){if(d===clearTimeout)return clearTimeout(e);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function a(){_&&p&&(_=!1,p.length?h=p.concat(h):m=-1,h.length&&s())}function s(){if(!_){var e=i(a);_=!0;for(var t=h.length;t;){for(p=h,h=[];++m1)for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{};a(this,e),this._query=t.query||[],this._batchSize=t.batchSize,this._offset=t.offset,this._sortBy=t.sortBy,this._sortDirection=t.sortDirection,this._includeDeleted=t.includeDeleted}return m(e,[{key:"and",value:function(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(t instanceof e)this._query=[].concat(o(this._query),o(t._query));else{var a=s(t,n,r);i&&(c(n),a.boost=h(i)),this._query.push(a)}return this}},{key:"andNot",value:function(e,t,n){var r=s(e,t,n);return u(t),r.negate=!0,this._query.push(r),this}},{key:"offset",value:function(e){return this._offset=e,this}},{key:"order",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"asc";return this._sortBy=_(e),this._sortDirection=t,this}},{key:"batchSize",value:function(e){return this._batchSize=e,this}},{key:"includeDeleted",value:function(){return this._includeDeleted=!0,this}},{key:"iterator",value:function(){var e=k.get(this.params(),this.getBatchSize()).iterator();return{next:function(){var t=e.next(),n=t.done,r=t.value;return n?{done:n}:{done:n,value:new g.default(r)}}}}},{key:"getBatchSize",value:function(){return this._batchSize||100}},{key:"facet",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new C.default(_(e),t,this._query).result()}},{key:"store",value:function(e){k.store(this.params(),e)}},{key:"params",value:function(){return(0,T.omit)({query:this._query,offset:this._offset,sortBy:this._sortBy,sortDirection:this._sortDirection,includeDeleted:this._includeDeleted,batchSize:this._batchSize},T.isUndefined)}}]),e}();t.default=x},function(e,t,n){var r,i;/*! * jQuery JavaScript Library v1.11.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2014-05-01T17:42Z */ !function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,o){function a(e){var t=e.length,n=se.type(e);return"function"!==n&&!se.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e))}function s(e,t,n){if(se.isFunction(t))return se.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return se.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(_e.test(t))return se.filter(t,e,n);t=se.filter(t,e)}return se.grep(e,function(e){return se.inArray(e,t)>=0!==n})}function c(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}function u(e){var t=ke[e]={};return se.each(e.match(we)||[],function(e,n){t[n]=!0}),t}function l(){ve.addEventListener?(ve.removeEventListener("DOMContentLoaded",d,!1),n.removeEventListener("load",d,!1)):(ve.detachEvent("onreadystatechange",d),n.detachEvent("onload",d))}function d(){(ve.addEventListener||"load"===event.type||"complete"===ve.readyState)&&(l(),se.ready())}function f(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(De,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Ee.test(n)?se.parseJSON(n):n)}catch(e){}se.data(e,t,n)}else n=void 0}return n}function p(e){var t;for(t in e)if(("data"!==t||!se.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function h(e,t,n,r){if(se.acceptData(e)){var i,o,a=se.expando,s=e.nodeType,c=s?se.cache:e,u=s?e[a]:e[a]&&a;if(u&&c[u]&&(r||c[u].data)||void 0!==n||"string"!=typeof t)return u||(u=s?e[a]=X.pop()||se.guid++:a),c[u]||(c[u]=s?{}:{toJSON:se.noop}),"object"!=typeof t&&"function"!=typeof t||(r?c[u]=se.extend(c[u],t):c[u].data=se.extend(c[u].data,t)),o=c[u],r||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[se.camelCase(t)]=n),"string"==typeof t?null==(i=o[t])&&(i=o[se.camelCase(t)]):i=o,i}}function _(e,t,n){if(se.acceptData(e)){var r,i,o=e.nodeType,a=o?se.cache:e,s=o?e[se.expando]:se.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){se.isArray(t)?t=t.concat(se.map(t,se.camelCase)):t in r?t=[t]:(t=se.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;for(;i--;)delete r[t[i]];if(n?!p(r):!se.isEmptyObject(r))return}(n||(delete a[s].data,p(a[s])))&&(o?se.cleanData([e],!0):ae.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function m(){return!0}function v(){return!1}function g(){try{return ve.activeElement}catch(e){}}function y(e){var t=Ye.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function b(e,t){var n,r,i=0,o=typeof e.getElementsByTagName!==Te?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==Te?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||se.nodeName(r,t)?o.push(r):se.merge(o,b(r,t));return void 0===t||t&&se.nodeName(e,t)?se.merge([e],o):o}function w(e){Le.test(e.type)&&(e.defaultChecked=e.checked)}function k(e,t){return se.nodeName(e,"table")&&se.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function M(e){return e.type=(null!==se.find.attr(e,"type"))+"/"+e.type,e}function C(e){var t=Je.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function T(e,t){for(var n,r=0;null!=(n=e[r]);r++)se._data(n,"globalEval",!t||se._data(t[r],"globalEval"))}function E(e,t){if(1===t.nodeType&&se.hasData(e)){var n,r,i,o=se._data(e),a=se._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;r")).appendTo(t.documentElement),t=(et[0].contentWindow||et[0].contentDocument).document,t.write(),t.close(),n=j(e,t),et.detach()),tt[e]=n),n}function O(e,t){return{get:function(){var n=e();if(null!=n)return n?void delete this.get:(this.get=t).apply(this,arguments)}}}function x(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=ht.length;i--;)if((t=ht[i]+n)in e)return t;return r}function L(e,t){for(var n,r,i,o=[],a=0,s=e.length;a=0&&n=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==se.type(e)||e.nodeType||se.isWindow(e))return!1;try{if(e.constructor&&!oe.call(e,"constructor")&&!oe.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(ae.ownLast)for(t in e)return oe.call(e,t);for(t in e);return void 0===t||oe.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?re[ie.call(e)]||"object":typeof e},globalEval:function(e){e&&se.trim(e)&&(n.execScript||function(e){n.eval.call(n,e)})(e)},camelCase:function(e){return e.replace(ue,"ms-").replace(le,de)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r=0,i=e.length,o=a(e);if(n){if(o)for(;rb.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[I]=!0,e}function i(e){var t=O.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=e.length;r--;)b.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||V)-(~e.sourceIndex||V);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function c(e){return e&&typeof e.getElementsByTagName!==q&&e}function u(){}function l(e){for(var t=0,n=e.length,r="";t1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function p(e,n,r){for(var i=0,o=n.length;i-1&&(r[u]=!(a[u]=d))}}else y=h(y===a?y.splice(m,y.length):y),o?o(null,a,y,c):Q.apply(a,y)})}function m(e){for(var t,n,r,i=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,c=d(function(e){return e===t},a,!0),u=d(function(e){return Z.call(t,e)>-1},a,!0),p=[function(e,n,r){return!o&&(r||n!==E)||((t=n).nodeType?c(e,n,r):u(e,n,r))}];s1&&f(p),s>1&&l(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ae,"$1"),n,s0,o=e.length>0,a=function(r,a,s,c,u){var l,d,f,p=0,_="0",m=r&&[],v=[],g=E,y=r||o&&b.find.TAG("*",u),w=F+=null==g?1:Math.random()||.1,k=y.length;for(u&&(E=a!==O&&a);_!==k&&null!=(l=y[_]);_++){if(o&&l){for(d=0;f=e[d++];)if(f(l,a,s)){c.push(l);break}u&&(F=w)}i&&((l=!f&&l)&&p--,r&&m.push(l))}if(p+=_,i&&_!==p){for(d=0;f=n[d++];)f(m,v,a,s);if(r){if(p>0)for(;_--;)m[_]||v[_]||(v[_]=J.call(c));v=h(v)}Q.apply(c,v),u&&!r&&v.length>0&&p+n.length>1&&t.uniqueSort(c)}return u&&(F=w,E=g),m};return i?r(a):a}var g,y,b,w,k,M,C,T,E,D,j,S,O,x,L,P,R,A,N,I="sizzle"+-new Date,Y=e.document,F=0,H=0,W=n(),z=n(),U=n(),B=function(e,t){return e===t&&(j=!0),0},q="undefined",V=1<<31,$={}.hasOwnProperty,G=[],J=G.pop,K=G.push,Q=G.push,X=G.slice,Z=G.indexOf||function(e){for(var t=0,n=this.length;t+~]|"+te+")"+te+"*"),ue=new RegExp("="+te+"*([^\\]'\"]*?)"+te+"*\\]","g"),le=new RegExp(oe),de=new RegExp("^"+re+"$"),fe={ID:new RegExp("^#("+ne+")"),CLASS:new RegExp("^\\.("+ne+")"),TAG:new RegExp("^("+ne.replace("w","w*")+")"),ATTR:new RegExp("^"+ie),PSEUDO:new RegExp("^"+oe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+te+"*(even|odd|(([+-]|)(\\d*)n|)"+te+"*(?:([+-]|)"+te+"*(\\d+)|))"+te+"*\\)|)","i"),bool:new RegExp("^(?:"+ee+")$","i"),needsContext:new RegExp("^"+te+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+te+"*((?:-\\d)?\\d*)"+te+"*\\)|)(?=[^-]|$)","i")},pe=/^(?:input|select|textarea|button)$/i,he=/^h\d$/i,_e=/^[^{]+\{\s*\[native \w/,me=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,ge=/'|\\/g,ye=new RegExp("\\\\([\\da-f]{1,6}"+te+"?|("+te+")|.)","ig"),be=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{Q.apply(G=X.call(Y.childNodes),Y.childNodes),G[Y.childNodes.length].nodeType}catch(e){Q={apply:G.length?function(e,t){K.apply(e,X.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}y=t.support={},k=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},S=t.setDocument=function(e){var t,n=e?e.ownerDocument||e:Y,r=n.defaultView;return n!==O&&9===n.nodeType&&n.documentElement?(O=n,x=n.documentElement,L=!k(n),r&&r!==r.top&&(r.addEventListener?r.addEventListener("unload",function(){S()},!1):r.attachEvent&&r.attachEvent("onunload",function(){S()})),y.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),y.getElementsByTagName=i(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),y.getElementsByClassName=_e.test(n.getElementsByClassName)&&i(function(e){return e.innerHTML="
",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),y.getById=i(function(e){return x.appendChild(e).id=I,!n.getElementsByName||!n.getElementsByName(I).length}),y.getById?(b.find.ID=function(e,t){if(typeof t.getElementById!==q&&L){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},b.filter.ID=function(e){var t=e.replace(ye,be);return function(e){return e.getAttribute("id")===t}}):(delete b.find.ID,b.filter.ID=function(e){var t=e.replace(ye,be);return function(e){var n=typeof e.getAttributeNode!==q&&e.getAttributeNode("id");return n&&n.value===t}}),b.find.TAG=y.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==q)return t.getElementsByTagName(e)}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=y.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!==q&&L)return t.getElementsByClassName(e)},R=[],P=[],(y.qsa=_e.test(n.querySelectorAll))&&(i(function(e){e.innerHTML="",e.querySelectorAll("[msallowclip^='']").length&&P.push("[*^$]="+te+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||P.push("\\["+te+"*(?:value|"+ee+")"),e.querySelectorAll(":checked").length||P.push(":checked")}),i(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&P.push("name"+te+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||P.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),P.push(",.*:")})),(y.matchesSelector=_e.test(A=x.matches||x.webkitMatchesSelector||x.mozMatchesSelector||x.oMatchesSelector||x.msMatchesSelector))&&i(function(e){y.disconnectedMatch=A.call(e,"div"),A.call(e,"[s!='']:x"),R.push("!=",oe)}),P=P.length&&new RegExp(P.join("|")),R=R.length&&new RegExp(R.join("|")),t=_e.test(x.compareDocumentPosition),N=t||_e.test(x.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},B=t?function(e,t){if(e===t)return j=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&r||!y.sortDetached&&t.compareDocumentPosition(e)===r?e===n||e.ownerDocument===Y&&N(Y,e)?-1:t===n||t.ownerDocument===Y&&N(Y,t)?1:D?Z.call(D,e)-Z.call(D,t):0:4&r?-1:1)}:function(e,t){if(e===t)return j=!0,0;var r,i=0,o=e.parentNode,s=t.parentNode,c=[e],u=[t];if(!o||!s)return e===n?-1:t===n?1:o?-1:s?1:D?Z.call(D,e)-Z.call(D,t):0;if(o===s)return a(e,t);for(r=e;r=r.parentNode;)c.unshift(r);for(r=t;r=r.parentNode;)u.unshift(r);for(;c[i]===u[i];)i++;return i?a(c[i],u[i]):c[i]===Y?-1:u[i]===Y?1:0},n):O},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==O&&S(e),n=n.replace(ue,"='$1']"),y.matchesSelector&&L&&(!R||!R.test(n))&&(!P||!P.test(n)))try{var r=A.call(e,n);if(r||y.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,O,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==O&&S(e),N(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==O&&S(e);var n=b.attrHandle[t.toLowerCase()],r=n&&$.call(b.attrHandle,t.toLowerCase())?n(e,t,!L):void 0;return void 0!==r?r:y.attributes||!L?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(j=!y.detectDuplicates,D=!y.sortStable&&e.slice(0),e.sort(B),j){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return D=null,e},w=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=w(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=w(t);return n},b=t.selectors={cacheLength:50,createPseudo:r,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ye,be),e[3]=(e[3]||e[4]||e[5]||"").replace(ye,be),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&le.test(n)&&(t=M(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ye,be).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+te+")"+e+"("+te+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==q&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);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+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,c){var u,l,d,f,p,h,_=o!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),g=!c&&!s;if(m){if(o){for(;_;){for(d=t;d=d[_];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=_="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&g){for(l=m[I]||(m[I]={}),u=l[e]||[],p=u[0]===F&&u[1],f=u[0]===F&&u[2],d=p&&m.childNodes[p];d=++p&&d&&d[_]||(f=p=0)||h.pop();)if(1===d.nodeType&&++f&&d===t){l[e]=[F,p,f];break}}else if(g&&(u=(t[I]||(t[I]={}))[e])&&u[0]===F)f=u[1];else for(;(d=++p&&d&&d[_]||(f=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++f||(g&&((d[I]||(d[I]={}))[e]=[F,f]),d!==t)););return(f-=i)===r||f%r==0&&f/r>=0}}},PSEUDO:function(e,n){var i,o=b.pseudos[e]||b.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[I]?o(n):o.length>1?(i=[e,e,"",n],b.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=Z.call(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=C(e.replace(ae,"$1"));return i[I]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return function(t){return(t.textContent||t.innerText||w(t)).indexOf(e)>-1}}),lang:r(function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ye,be).toLowerCase(),function(t){var n;do{if(n=L?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===x},focus:function(e){return e===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return he.test(e.nodeName)},input:function(e){return pe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:s(function(){return[0]}),last:s(function(e,t){return[t-1]}),eq:s(function(e,t,n){return[n<0?n+t:n]}),even:s(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:s(function(e,t,n){for(var r=n<0?n+t:n;++r2&&"ID"===(a=o[0]).type&&y.getById&&9===t.nodeType&&L&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(ye,be),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=fe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!b.relative[s=a.type]);)if((u=b.find[s])&&(r=u(a.matches[0].replace(ye,be),ve.test(o[0].type)&&c(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&l(o)))return Q.apply(n,r),n;break}}return(d||C(e,f))(r,t,!L,n,ve.test(e)&&c(t.parentNode)||t),n},y.sortStable=I.split("").sort(B).join("")===I,y.detectDuplicates=!!j,S(),y.sortDetached=i(function(e){return 1&e.compareDocumentPosition(O.createElement("div"))}),i(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),y.attributes&&i(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(ee,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(n);se.find=fe,se.expr=fe.selectors,se.expr[":"]=se.expr.pseudos,se.unique=fe.uniqueSort,se.text=fe.getText,se.isXMLDoc=fe.isXML,se.contains=fe.contains;var pe=se.expr.match.needsContext,he=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,_e=/^.[^:#\[\.,]*$/;se.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?se.find.matchesSelector(r,e)?[r]:[]:se.find.matches(e,se.grep(t,function(e){return 1===e.nodeType}))},se.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(se(e).filter(function(){for(t=0;t1?se.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(s(this,e||[],!1))},not:function(e){return this.pushStack(s(this,e||[],!0))},is:function(e){return!!s(this,"string"==typeof e&&pe.test(e)?se(e):e||[],!1).length}});var me,ve=n.document,ge=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(se.fn.init=function(e,t){var n,r;if(!e)return this;if("string"==typeof e){if(!(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:ge.exec(e))||!n[1]&&t)return!t||t.jquery?(t||me).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof se?t[0]:t,se.merge(this,se.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:ve,!0)),he.test(n[1])&&se.isPlainObject(t))for(n in t)se.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}if((r=ve.getElementById(n[2]))&&r.parentNode){if(r.id!==n[2])return me.find(e);this.length=1,this[0]=r}return this.context=ve,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):se.isFunction(e)?void 0!==me.ready?me.ready(e):e(se):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),se.makeArray(e,this))}).prototype=se.fn,me=se(ve);var ye=/^(?:parents|prev(?:Until|All))/,be={children:!0,contents:!0,next:!0,prev:!0};se.extend({dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(void 0===n||1!==i.nodeType||!se(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),se.fn.extend({has:function(e){var t,n=se(e,this),r=n.length;return this.filter(function(){for(t=0;t-1:1===n.nodeType&&se.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?se.unique(o):o)},index:function(e){return e?"string"==typeof e?se.inArray(this[0],se(e)):se.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(se.unique(se.merge(this.get(),se(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),se.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return se.dir(e,"parentNode")},parentsUntil:function(e,t,n){return se.dir(e,"parentNode",n)},next:function(e){return c(e,"nextSibling")},prev:function(e){return c(e,"previousSibling")},nextAll:function(e){return se.dir(e,"nextSibling")},prevAll:function(e){return se.dir(e,"previousSibling")},nextUntil:function(e,t,n){return se.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return se.dir(e,"previousSibling",n)},siblings:function(e){return se.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return se.sibling(e.firstChild)},contents:function(e){return se.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:se.merge([],e.childNodes)}},function(e,t){se.fn[e]=function(n,r){var i=se.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=se.filter(r,i)),this.length>1&&(be[e]||(i=se.unique(i)),ye.test(e)&&(i=i.reverse())),this.pushStack(i)}});var we=/\S+/g,ke={};se.Callbacks=function(e){e="string"==typeof e?ke[e]||u(e):se.extend({},e);var t,n,r,i,o,a,s=[],c=!e.once&&[],l=function(u){for(n=e.memory&&u,r=!0,o=a||0,a=0,i=s.length,t=!0;s&&o-1;)s.splice(r,1),t&&(r<=i&&i--,r<=o&&o--)}),this},has:function(e){return e?se.inArray(e,s)>-1:!(!s||!s.length)},empty:function(){return s=[],i=0,this},disable:function(){return s=c=n=void 0,this},disabled:function(){return!s},lock:function(){return c=void 0,n||d.disable(),this},locked:function(){return!c},fireWith:function(e,n){return!s||r&&!c||(n=n||[],n=[e,n.slice?n.slice():n],t?c.push(n):l(n)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},se.extend({Deferred:function(e){var t=[["resolve","done",se.Callbacks("once memory"),"resolved"],["reject","fail",se.Callbacks("once memory"),"rejected"],["notify","progress",se.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return se.Deferred(function(n){se.each(t,function(t,o){var a=se.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&se.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?se.extend(e,r):r}},i={};return r.pipe=r.then,se.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=Z.call(arguments),a=o.length,s=1!==a||e&&se.isFunction(e.promise)?a:0,c=1===s?e:se.Deferred(),u=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?Z.call(arguments):i,r===t?c.notifyWith(n,r):--s||c.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);i0||(Me.resolveWith(ve,[se]),se.fn.triggerHandler&&(se(ve).triggerHandler("ready"),se(ve).off("ready")))}}}),se.ready.promise=function(e){if(!Me)if(Me=se.Deferred(),"complete"===ve.readyState)setTimeout(se.ready);else if(ve.addEventListener)ve.addEventListener("DOMContentLoaded",d,!1),n.addEventListener("load",d,!1);else{ve.attachEvent("onreadystatechange",d),n.attachEvent("onload",d);var t=!1;try{t=null==n.frameElement&&ve.documentElement}catch(e){}t&&t.doScroll&&function e(){if(!se.isReady){try{t.doScroll("left")}catch(t){return setTimeout(e,50)}l(),se.ready()}}()}return Me.promise(e)};var Ce,Te="undefined";for(Ce in se(ae))break;ae.ownLast="0"!==Ce,ae.inlineBlockNeedsLayout=!1,se(function(){var e,t,n,r;(n=ve.getElementsByTagName("body")[0])&&n.style&&(t=ve.createElement("div"),r=ve.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),typeof t.style.zoom!==Te&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",ae.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(r))}),function(){var e=ve.createElement("div");if(null==ae.deleteExpando){ae.deleteExpando=!0;try{delete e.test}catch(e){ae.deleteExpando=!1}}e=null}(),se.acceptData=function(e){var t=se.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)};var Ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,De=/([A-Z])/g;se.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?se.cache[e[se.expando]]:e[se.expando])&&!p(e)},data:function(e,t,n){return h(e,t,n)},removeData:function(e,t){return _(e,t)},_data:function(e,t,n){return h(e,t,n,!0)},_removeData:function(e,t){return _(e,t,!0)}}),se.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=se.data(o),1===o.nodeType&&!se._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=se.camelCase(r.slice(5)),f(o,r,i[r])));se._data(o,"parsedAttrs",!0)}return i}return"object"==typeof e?this.each(function(){se.data(this,e)}):arguments.length>1?this.each(function(){se.data(this,e,t)}):o?f(o,e,se.data(o,e)):void 0},removeData:function(e){return this.each(function(){se.removeData(this,e)})}}),se.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=se._data(e,t),n&&(!r||se.isArray(n)?r=se._data(e,t,se.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=se.queue(e,t),r=n.length,i=n.shift(),o=se._queueHooks(e,t),a=function(){se.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return se._data(e,n)||se._data(e,n,{empty:se.Callbacks("once memory").add(function(){se._removeData(e,t+"queue"),se._removeData(e,n)})})}}),se.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length
a",ae.leadingWhitespace=3===t.firstChild.nodeType,ae.tbody=!t.getElementsByTagName("tbody").length,ae.htmlSerialize=!!t.getElementsByTagName("link").length,ae.html5Clone="<:nav>"!==ve.createElement("nav").cloneNode(!0).outerHTML,e.type="checkbox",e.checked=!0,n.appendChild(e),ae.appendChecked=e.checked,t.innerHTML="",ae.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,n.appendChild(t),t.innerHTML="",ae.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,ae.noCloneEvent=!0,t.attachEvent&&(t.attachEvent("onclick",function(){ae.noCloneEvent=!1}),t.cloneNode(!0).click()),null==ae.deleteExpando){ae.deleteExpando=!0;try{delete t.test}catch(e){ae.deleteExpando=!1}}}(),function(){var e,t,r=ve.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})t="on"+e,(ae[e+"Bubbles"]=t in n)||(r.setAttribute(t,"t"),ae[e+"Bubbles"]=!1===r.attributes[t].expando);r=null}();var Pe=/^(?:input|select|textarea)$/i,Re=/^key/,Ae=/^(?:mouse|pointer|contextmenu)|click/,Ne=/^(?:focusinfocus|focusoutblur)$/,Ie=/^([^.]*)(?:\.(.+)|)$/;se.event={global:{},add:function(e,t,n,r,i){var o,a,s,c,u,l,d,f,p,h,_,m=se._data(e);if(m){for(n.handler&&(c=n,n=c.handler,i=c.selector),n.guid||(n.guid=se.guid++),(a=m.events)||(a=m.events={}),(l=m.handle)||(l=m.handle=function(e){return typeof se===Te||e&&se.event.triggered===e.type?void 0:se.event.dispatch.apply(l.elem,arguments)},l.elem=e),t=(t||"").match(we)||[""],s=t.length;s--;)o=Ie.exec(t[s])||[],p=_=o[1],h=(o[2]||"").split(".").sort(),p&&(u=se.event.special[p]||{},p=(i?u.delegateType:u.bindType)||p,u=se.event.special[p]||{},d=se.extend({type:p,origType:_,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&se.expr.match.needsContext.test(i),namespace:h.join(".")},c),(f=a[p])||(f=a[p]=[],f.delegateCount=0,u.setup&&!1!==u.setup.call(e,r,h,l)||(e.addEventListener?e.addEventListener(p,l,!1):e.attachEvent&&e.attachEvent("on"+p,l))),u.add&&(u.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,d):f.push(d),se.event.global[p]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,c,u,l,d,f,p,h,_,m=se.hasData(e)&&se._data(e);if(m&&(l=m.events)){for(t=(t||"").match(we)||[""],u=t.length;u--;)if(s=Ie.exec(t[u])||[],p=_=s[1],h=(s[2]||"").split(".").sort(),p){for(d=se.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,f=l[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),c=o=f.length;o--;)a=f[o],!i&&_!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,d.remove&&d.remove.call(e,a));c&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||se.removeEvent(e,p,m.handle),delete l[p])}else for(p in l)se.event.remove(e,p+t[u],n,r,!0);se.isEmptyObject(l)&&(delete m.handle,se._removeData(e,"events"))}},trigger:function(e,t,r,i){var o,a,s,c,u,l,d,f=[r||ve],p=oe.call(e,"type")?e.type:e,h=oe.call(e,"namespace")?e.namespace.split("."):[];if(s=l=r=r||ve,3!==r.nodeType&&8!==r.nodeType&&!Ne.test(p+se.event.triggered)&&(p.indexOf(".")>=0&&(h=p.split("."),p=h.shift(),h.sort()),a=p.indexOf(":")<0&&"on"+p,e=e[se.expando]?e:new se.Event(p,"object"==typeof e&&e),e.isTrigger=i?2:3,e.namespace=h.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:se.makeArray(t,[e]),u=se.event.special[p]||{},i||!u.trigger||!1!==u.trigger.apply(r,t))){if(!i&&!u.noBubble&&!se.isWindow(r)){for(c=u.delegateType||p,Ne.test(c+p)||(s=s.parentNode);s;s=s.parentNode)f.push(s),l=s;l===(r.ownerDocument||ve)&&f.push(l.defaultView||l.parentWindow||n)}for(d=0;(s=f[d++])&&!e.isPropagationStopped();)e.type=d>1?c:u.bindType||p,o=(se._data(s,"events")||{})[e.type]&&se._data(s,"handle"),o&&o.apply(s,t),(o=a&&s[a])&&o.apply&&se.acceptData(s)&&(e.result=o.apply(s,t),!1===e.result&&e.preventDefault());if(e.type=p,!i&&!e.isDefaultPrevented()&&(!u._default||!1===u._default.apply(f.pop(),t))&&se.acceptData(r)&&a&&r[p]&&!se.isWindow(r)){l=r[a],l&&(r[a]=null),se.event.triggered=p;try{r[p]()}catch(e){}se.event.triggered=void 0,l&&(r[a]=l)}return e.result}},dispatch:function(e){e=se.event.fix(e);var t,n,r,i,o,a=[],s=Z.call(arguments),c=(se._data(this,"events")||{})[e.type]||[],u=se.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(a=se.event.handlers.call(this,e,c),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,o=0;(r=i.handlers[o++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(r.namespace)||(e.handleObj=r,e.data=r.data,void 0!==(n=((se.event.special[r.origType]||{}).handle||r.handler).apply(i.elem,s))&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,c=e.target;if(s&&c.nodeType&&(!e.button||"click"!==e.type))for(;c!=this;c=c.parentNode||this)if(1===c.nodeType&&(!0!==c.disabled||"click"!==e.type)){for(i=[],o=0;o=0:se.find(n,this,null,[c]).length),i[n]&&i.push(r);i.length&&a.push({elem:c,handlers:i})}return s]","i"),We=/^\s+/,ze=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ue=/<([\w:]+)/,Be=/\s*$/g,Qe={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:ae.htmlSerialize?[0,"",""]:[1,"X
","
"]},Xe=y(ve),Ze=Xe.appendChild(ve.createElement("div"));Qe.optgroup=Qe.option,Qe.tbody=Qe.tfoot=Qe.colgroup=Qe.caption=Qe.thead,Qe.th=Qe.td,se.extend({clone:function(e,t,n){var r,i,o,a,s,c=se.contains(e.ownerDocument,e);if(ae.html5Clone||se.isXMLDoc(e)||!He.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Ze.innerHTML=e.outerHTML,Ze.removeChild(o=Ze.firstChild)),!(ae.noCloneEvent&&ae.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||se.isXMLDoc(e)))for(r=b(o),s=b(e),a=0;null!=(i=s[a]);++a)r[a]&&D(i,r[a]);if(t)if(n)for(s=s||b(e),r=r||b(o),a=0;null!=(i=s[a]);a++)E(i,r[a]);else E(e,o);return r=b(o,"script"),r.length>0&&T(r,!c&&b(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){for(var i,o,a,s,c,u,l,d=e.length,f=y(t),p=[],h=0;h")+l[2],i=l[0];i--;)s=s.lastChild;if(!ae.leadingWhitespace&&We.test(o)&&p.push(t.createTextNode(We.exec(o)[0])),!ae.tbody)for(o="table"!==c||Be.test(o)?""!==l[1]||Be.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;i--;)se.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(se.merge(p,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=f.lastChild}else p.push(t.createTextNode(o));for(s&&f.removeChild(s),ae.appendChecked||se.grep(b(p,"input"),w),h=0;o=p[h++];)if((!r||-1===se.inArray(o,r))&&(a=se.contains(o.ownerDocument,o),s=b(f.appendChild(o),"script"),a&&T(s),n))for(i=0;o=s[i++];)Ge.test(o.type||"")&&n.push(o);return s=null,f},cleanData:function(e,t){for(var n,r,i,o,a=0,s=se.expando,c=se.cache,u=ae.deleteExpando,l=se.event.special;null!=(n=e[a]);a++)if((t||se.acceptData(n))&&(i=n[s],o=i&&c[i])){if(o.events)for(r in o.events)l[r]?se.event.remove(n,r):se.removeEvent(n,r,o.handle);c[i]&&(delete c[i],u?delete n[s]:typeof n.removeAttribute!==Te?n.removeAttribute(s):n[s]=null,X.push(i))}}}),se.fn.extend({text:function(e){return xe(this,function(e){return void 0===e?se.text(this):this.empty().append((this[0]&&this[0].ownerDocument||ve).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){k(this,e).appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=k(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?se.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||se.cleanData(b(n)),n.parentNode&&(t&&se.contains(n.ownerDocument,n)&&T(b(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&se.cleanData(b(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&se.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return se.clone(this,e,t)})},html:function(e){return xe(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(Fe,""):void 0;if("string"==typeof e&&!Ve.test(e)&&(ae.htmlSerialize||!He.test(e))&&(ae.leadingWhitespace||!We.test(e))&&!Qe[(Ue.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(ze,"<$1>");try{for(;n1&&"string"==typeof f&&!ae.checkClone&&$e.test(f))return this.each(function(n){var r=l.eq(n);p&&(e[0]=f.call(this,n,r.html())),r.domManip(e,t)});if(u&&(s=se.buildFragment(e,this[0].ownerDocument,!1,this),n=s.firstChild,1===s.childNodes.length&&(s=n),n)){for(o=se.map(b(s,"script"),M),i=o.length;c
t
",i=e.getElementsByTagName("td"),i[0].style.cssText="margin:0;border:0;padding:0;display:none",s=0===i[0].offsetHeight,s&&(i[0].style.display="",i[1].style.display="none",s=0===i[0].offsetHeight),t.removeChild(r))}var t,r,i,o,a,s,c;t=ve.createElement("div"),t.innerHTML="
a",i=t.getElementsByTagName("a")[0],(r=i&&i.style)&&(r.cssText="float:left;opacity:.5",ae.opacity="0.5"===r.opacity,ae.cssFloat=!!r.cssFloat,t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",ae.clearCloneStyle="content-box"===t.style.backgroundClip,ae.boxSizing=""===r.boxSizing||""===r.MozBoxSizing||""===r.WebkitBoxSizing,se.extend(ae,{reliableHiddenOffsets:function(){return null==s&&e(),s},boxSizingReliable:function(){return null==a&&e(),a},pixelPosition:function(){return null==o&&e(),o},reliableMarginRight:function(){return null==c&&e(),c}}))}(),se.swap=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i};var st=/alpha\([^)]*\)/i,ct=/opacity\s*=\s*([^)]*)/,ut=/^(none|table(?!-c[ea]).+)/,lt=new RegExp("^("+je+")(.*)$","i"),dt=new RegExp("^([+-])=("+je+")","i"),ft={position:"absolute",visibility:"hidden",display:"block"},pt={letterSpacing:"0",fontWeight:"400"},ht=["Webkit","O","Moz","ms"];se.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=rt(e,"opacity");return""===n?"1":n}}}},cssNumber:{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:ae.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=se.camelCase(t),c=e.style;if(t=se.cssProps[s]||(se.cssProps[s]=x(c,s)),a=se.cssHooks[t]||se.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];if(o=typeof n,"string"===o&&(i=dt.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(se.css(e,t)),o="number"),null!=n&&n===n&&("number"!==o||se.cssNumber[s]||(n+="px"),ae.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{c[t]=n}catch(e){}}},css:function(e,t,n,r){var i,o,a,s=se.camelCase(t);return t=se.cssProps[s]||(se.cssProps[s]=x(e.style,s)),a=se.cssHooks[t]||se.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=rt(e,t,r)),"normal"===o&&t in pt&&(o=pt[t]),""===n||n?(i=parseFloat(o),!0===n||se.isNumeric(i)?i||0:o):o}}),se.each(["height","width"],function(e,t){se.cssHooks[t]={get:function(e,n,r){if(n)return ut.test(se.css(e,"display"))&&0===e.offsetWidth?se.swap(e,ft,function(){return A(e,t,r)}):A(e,t,r)},set:function(e,n,r){var i=r&&nt(e);return P(e,n,r?R(e,t,r,ae.boxSizing&&"border-box"===se.css(e,"boxSizing",!1,i),i):0)}}}),ae.opacity||(se.cssHooks.opacity={get:function(e,t){return ct.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=se.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===se.trim(o.replace(st,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=st.test(o)?o.replace(st,i):o+" "+i)}}),se.cssHooks.marginRight=O(ae.reliableMarginRight,function(e,t){if(t)return se.swap(e,{display:"inline-block"},rt,[e,"marginRight"])}),se.each({margin:"",padding:"",border:"Width"},function(e,t){se.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+Se[r]+t]=o[r]||o[r-2]||o[0];return i}},it.test(e)||(se.cssHooks[e+t].set=P)}),se.fn.extend({css:function(e,t){return xe(this,function(e,t,n){var r,i,o={},a=0;if(se.isArray(t)){for(r=nt(e),i=t.length;a1)},show:function(){return L(this,!0)},hide:function(){return L(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Oe(this)?se(this).show():se(this).hide()})}}),se.Tween=N,N.prototype={constructor:N,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(se.cssNumber[n]?"":"px")},cur:function(){var e=N.propHooks[this.prop];return e&&e.get?e.get(this):N.propHooks._default.get(this)},run:function(e){var t,n=N.propHooks[this.prop];return this.options.duration?this.pos=t=se.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):N.propHooks._default.set(this),this}},N.prototype.init.prototype=N.prototype,N.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=se.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){se.fx.step[e.prop]?se.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[se.cssProps[e.prop]]||se.cssHooks[e.prop])?se.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},N.propHooks.scrollTop=N.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},se.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},se.fx=N.prototype.init,se.fx.step={};var _t,mt,vt=/^(?:toggle|show|hide)$/,gt=new RegExp("^(?:([+-])=|)("+je+")([a-z%]*)$","i"),yt=/queueHooks$/,bt=[H],wt={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=gt.exec(t),o=i&&i[3]||(se.cssNumber[e]?"":"px"),a=(se.cssNumber[e]||"px"!==o&&+r)&>.exec(se.css(n.elem,e)),s=1,c=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do{s=s||".5",a/=s,se.style(n.elem,e,a+o)}while(s!==(s=n.cur()/r)&&1!==s&&--c)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};se.Animation=se.extend(z,{tweener:function(e,t){se.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;r
a",r=t.getElementsByTagName("a")[0],n=ve.createElement("select"),i=n.appendChild(ve.createElement("option")),e=t.getElementsByTagName("input")[0],r.style.cssText="top:1px",ae.getSetAttribute="t"!==t.className,ae.style=/top/.test(r.getAttribute("style")),ae.hrefNormalized="/a"===r.getAttribute("href"),ae.checkOn=!!e.value,ae.optSelected=i.selected,ae.enctype=!!ve.createElement("form").enctype,n.disabled=!0,ae.optDisabled=!i.disabled,e=ve.createElement("input"),e.setAttribute("value",""),ae.input=""===e.getAttribute("value"),e.value="t",e.setAttribute("type","radio"),ae.radioValue="t"===e.value}();var kt=/\r/g;se.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=se.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,se(this).val()):e,null==i?i="":"number"==typeof i?i+="":se.isArray(i)&&(i=se.map(i,function(e){return null==e?"":e+""})),(t=se.valHooks[this.type]||se.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=se.valHooks[i.type]||se.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(kt,""):null==n?"":n)}}}),se.extend({valHooks:{option:{get:function(e){var t=se.find.attr(e,"value");return null!=t?t:se.trim(se.text(e))}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,a=o?null:[],s=o?i+1:r.length,c=i<0?s:o?i:0;c=0)try{r.selected=n=!0}catch(e){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),se.each(["radio","checkbox"],function(){se.valHooks[this]={set:function(e,t){if(se.isArray(t))return e.checked=se.inArray(se(e).val(),t)>=0}},ae.checkOn||(se.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Mt,Ct,Tt=se.expr.attrHandle,Et=/^(?:checked|selected)$/i,Dt=ae.getSetAttribute,jt=ae.input;se.fn.extend({attr:function(e,t){return xe(this,se.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){se.removeAttr(this,e)})}}),se.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===Te?se.prop(e,t,n):(1===o&&se.isXMLDoc(e)||(t=t.toLowerCase(),r=se.attrHooks[t]||(se.expr.match.bool.test(t)?Ct:Mt)),void 0===n?r&&"get"in r&&null!==(i=r.get(e,t))?i:(i=se.find.attr(e,t),null==i?void 0:i):null!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):void se.removeAttr(e,t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(we);if(o&&1===e.nodeType)for(;n=o[i++];)r=se.propFix[n]||n,se.expr.match.bool.test(n)?jt&&Dt||!Et.test(n)?e[r]=!1:e[se.camelCase("default-"+n)]=e[r]=!1:se.attr(e,n,""),e.removeAttribute(Dt?n:r)},attrHooks:{type:{set:function(e,t){if(!ae.radioValue&&"radio"===t&&se.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),Ct={set:function(e,t,n){return!1===t?se.removeAttr(e,n):jt&&Dt||!Et.test(n)?e.setAttribute(!Dt&&se.propFix[n]||n,n):e[se.camelCase("default-"+n)]=e[n]=!0,n}},se.each(se.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Tt[t]||se.find.attr;Tt[t]=jt&&Dt||!Et.test(t)?function(e,t,r){var i,o;return r||(o=Tt[t],Tt[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,Tt[t]=o),i}:function(e,t,n){if(!n)return e[se.camelCase("default-"+t)]?t.toLowerCase():null}}),jt&&Dt||(se.attrHooks.value={set:function(e,t,n){if(!se.nodeName(e,"input"))return Mt&&Mt.set(e,t,n);e.defaultValue=t}}),Dt||(Mt={set:function(e,t,n){var r=e.getAttributeNode(n);if(r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n))return t}},Tt.id=Tt.name=Tt.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},se.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:Mt.set},se.attrHooks.contenteditable={set:function(e,t,n){Mt.set(e,""!==t&&t,n)}},se.each(["width","height"],function(e,t){se.attrHooks[t]={set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}}})),ae.style||(se.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var St=/^(?:input|select|textarea|button|object)$/i,Ot=/^(?:a|area)$/i;se.fn.extend({prop:function(e,t){return xe(this,se.prop,e,t,arguments.length>1)},removeProp:function(e){return e=se.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(e){}})}}),se.extend({propFix:{for:"htmlFor",class:"className"},prop:function(e,t,n){var r,i,o,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return o=1!==a||!se.isXMLDoc(e),o&&(t=se.propFix[t]||t,i=se.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=se.find.attr(e,"tabindex");return t?parseInt(t,10):St.test(e.nodeName)||Ot.test(e.nodeName)&&e.href?0:-1}}}}),ae.hrefNormalized||se.each(["href","src"],function(e,t){se.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),ae.optSelected||(se.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),se.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){se.propFix[this.toLowerCase()]=this}),ae.enctype||(se.propFix.enctype="encoding");var xt=/[\t\r\n\f]/g;se.fn.extend({addClass:function(e){var t,n,r,i,o,a,s=0,c=this.length,u="string"==typeof e&&e;if(se.isFunction(e))return this.each(function(t){se(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(we)||[];s=0;)r=r.replace(" "+i+" "," ");a=e?se.trim(r):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):se.isFunction(e)?this.each(function(n){se(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var t,r=0,i=se(this),o=e.match(we)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else n!==Te&&"boolean"!==n||(this.className&&se._data(this,"__className__",this.className),this.className=this.className||!1===e?"":se._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;n=0)return!0;return!1}}),se.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){se.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),se.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var Lt=se.now(),Pt=/\?/,Rt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;se.parseJSON=function(e){if(n.JSON&&n.JSON.parse)return n.JSON.parse(e+"");var t,r=null,i=se.trim(e+"");return i&&!se.trim(i.replace(Rt,function(e,n,i,o){return t&&n&&(r=0),0===r?e:(t=i||n,r+=!o-!i,"")}))?Function("return "+i)():se.error("Invalid JSON: "+e)},se.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{n.DOMParser?(r=new DOMParser,t=r.parseFromString(e,"text/xml")):(t=new ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e))}catch(e){t=void 0}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||se.error("Invalid XML: "+e),t};var At,Nt,It=/#.*$/,Yt=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ht=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Wt=/^(?:GET|HEAD)$/,zt=/^\/\//,Ut=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Bt={},qt={},Vt="*/".concat("*");try{Nt=location.href}catch(e){Nt=ve.createElement("a"),Nt.href="",Nt=Nt.href}At=Ut.exec(Nt.toLowerCase())||[],se.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Nt,type:"GET",isLocal:Ht.test(At[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Vt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":se.parseJSON,"text xml":se.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?q(q(e,se.ajaxSettings),t):q(se.ajaxSettings,e)},ajaxPrefilter:U(Bt),ajaxTransport:U(qt),ajax:function(e,t){function n(e,t,n,r){var i,l,v,g,b,k=t;2!==y&&(y=2,s&&clearTimeout(s),u=void 0,a=r||"",w.readyState=e>0?4:0,i=e>=200&&e<300||304===e,n&&(g=V(d,w,n)),g=$(d,g,w,i),i?(d.ifModified&&(b=w.getResponseHeader("Last-Modified"),b&&(se.lastModified[o]=b),(b=w.getResponseHeader("etag"))&&(se.etag[o]=b)),204===e||"HEAD"===d.type?k="nocontent":304===e?k="notmodified":(k=g.state,l=g.data,v=g.error,i=!v)):(v=k,!e&&k||(k="error",e<0&&(e=0))),w.status=e,w.statusText=(t||k)+"",i?h.resolveWith(f,[l,k,w]):h.rejectWith(f,[w,k,v]),w.statusCode(m),m=void 0,c&&p.trigger(i?"ajaxSuccess":"ajaxError",[w,d,i?l:v]),_.fireWith(f,[w,k]),c&&(p.trigger("ajaxComplete",[w,d]),--se.active||se.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,a,s,c,u,l,d=se.ajaxSetup({},t),f=d.context||d,p=d.context&&(f.nodeType||f.jquery)?se(f):se.event,h=se.Deferred(),_=se.Callbacks("once memory"),m=d.statusCode||{},v={},g={},y=0,b="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(2===y){if(!l)for(l={};t=Ft.exec(a);)l[t[1].toLowerCase()]=t[2];t=l[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===y?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return y||(e=g[n]=g[n]||e,v[e]=t),this},overrideMimeType:function(e){return y||(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(y<2)for(t in e)m[t]=[m[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){var t=e||b;return u&&u.abort(t),n(0,t),this}};if(h.promise(w).complete=_.add,w.success=w.done,w.error=w.fail,d.url=((e||d.url||Nt)+"").replace(It,"").replace(zt,At[1]+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=se.trim(d.dataType||"*").toLowerCase().match(we)||[""],null==d.crossDomain&&(r=Ut.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]===At[1]&&r[2]===At[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(At[3]||("http:"===At[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=se.param(d.data,d.traditional)),B(Bt,d,t,w),2===y)return w;c=d.global,c&&0==se.active++&&se.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Wt.test(d.type),o=d.url,d.hasContent||(d.data&&(o=d.url+=(Pt.test(o)?"&":"?")+d.data,delete d.data),!1===d.cache&&(d.url=Yt.test(o)?o.replace(Yt,"$1_="+Lt++):o+(Pt.test(o)?"&":"?")+"_="+Lt++)),d.ifModified&&(se.lastModified[o]&&w.setRequestHeader("If-Modified-Since",se.lastModified[o]),se.etag[o]&&w.setRequestHeader("If-None-Match",se.etag[o])),(d.data&&d.hasContent&&!1!==d.contentType||t.contentType)&&w.setRequestHeader("Content-Type",d.contentType),w.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Vt+"; q=0.01":""):d.accepts["*"]);for(i in d.headers)w.setRequestHeader(i,d.headers[i]);if(d.beforeSend&&(!1===d.beforeSend.call(f,w,d)||2===y))return w.abort();b="abort";for(i in{success:1,error:1,complete:1})w[i](d[i]);if(u=B(qt,d,t,w)){w.readyState=1,c&&p.trigger("ajaxSend",[w,d]),d.async&&d.timeout>0&&(s=setTimeout(function(){w.abort("timeout")},d.timeout));try{y=1,u.send(v,n)}catch(e){if(!(y<2))throw e;n(-1,e)}}else n(-1,"No Transport");return w},getJSON:function(e,t,n){return se.get(e,t,n,"json")},getScript:function(e,t){return se.get(e,void 0,t,"script")}}),se.each(["get","post"],function(e,t){se[t]=function(e,n,r,i){return se.isFunction(n)&&(i=i||r,r=n,n=void 0),se.ajax({url:e,type:t,dataType:i,data:n,success:r})}}),se.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){se.fn[t]=function(e){return this.on(t,e)}}),se._evalUrl=function(e){return se.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},se.fn.extend({wrapAll:function(e){if(se.isFunction(e))return this.each(function(t){se(this).wrapAll(e.call(this,t))});if(this[0]){var t=se(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return se.isFunction(e)?this.each(function(t){se(this).wrapInner(e.call(this,t))}):this.each(function(){var t=se(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=se.isFunction(e);return this.each(function(n){se(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){se.nodeName(this,"body")||se(this).replaceWith(this.childNodes)}).end()}}),se.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!ae.reliableHiddenOffsets()&&"none"===(e.style&&e.style.display||se.css(e,"display"))},se.expr.filters.visible=function(e){return!se.expr.filters.hidden(e)};var $t=/%20/g,Gt=/\[\]$/,Jt=/\r?\n/g,Kt=/^(?:submit|button|image|reset|file)$/i,Qt=/^(?:input|select|textarea|keygen)/i;se.param=function(e,t){var n,r=[],i=function(e,t){t=se.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=se.ajaxSettings&&se.ajaxSettings.traditional),se.isArray(e)||e.jquery&&!se.isPlainObject(e))se.each(e,function(){i(this.name,this.value)});else for(n in e)G(n,e[n],t,i);return r.join("&").replace($t,"+")},se.fn.extend({serialize:function(){return se.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=se.prop(this,"elements");return e?se.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!se(this).is(":disabled")&&Qt.test(this.nodeName)&&!Kt.test(e)&&(this.checked||!Le.test(e))}).map(function(e,t){var n=se(this).val();return null==n?null:se.isArray(n)?se.map(n,function(e){return{name:t.name,value:e.replace(Jt,"\r\n")}}):{name:t.name,value:n.replace(Jt,"\r\n")}}).get()}}),se.ajaxSettings.xhr=void 0!==n.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&J()||K()}:J;var Xt=0,Zt={},en=se.ajaxSettings.xhr();n.ActiveXObject&&se(n).on("unload",function(){for(var e in Zt)Zt[e](void 0,!0)}),ae.cors=!!en&&"withCredentials"in en,en=ae.ajax=!!en,en&&se.ajaxTransport(function(e){if(!e.crossDomain||ae.cors){var t;return{send:function(n,r){var i,o=e.xhr(),a=++Xt;if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)o[i]=e.xhrFields[i];e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(i in n)void 0!==n[i]&&o.setRequestHeader(i,n[i]+"");o.send(e.hasContent&&e.data||null),t=function(n,i){var s,c,u;if(t&&(i||4===o.readyState))if(delete Zt[a],t=void 0,o.onreadystatechange=se.noop,i)4!==o.readyState&&o.abort();else{u={},s=o.status,"string"==typeof o.responseText&&(u.text=o.responseText);try{c=o.statusText}catch(e){c=""}s||!e.isLocal||e.crossDomain?1223===s&&(s=204):s=u.text?200:404}u&&r(s,c,u,o.getAllResponseHeaders())},e.async?4===o.readyState?setTimeout(t):o.onreadystatechange=Zt[a]=t:t()},abort:function(){t&&t(void 0,!0)}}}}),se.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return se.globalEval(e),e}}}),se.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),se.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=ve.head||se("head")[0]||ve.documentElement;return{send:function(r,i){t=ve.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var tn=[],nn=/(=)\?(?=&|$)|\?\?/;se.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||se.expando+"_"+Lt++;return this[e]=!0,e}}),se.ajaxPrefilter("json jsonp",function(e,t,r){var i,o,a,s=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=se.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(nn,"$1"+i):!1!==e.jsonp&&(e.url+=(Pt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||se.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always(function(){n[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,tn.push(i)),a&&se.isFunction(o)&&o(a[0]),a=o=void 0}),"script"}),se.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||ve;var r=he.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=se.buildFragment([e],t,i),i&&i.length&&se(i).remove(),se.merge([],r.childNodes))};var rn=se.fn.load;se.fn.load=function(e,t,n){if("string"!=typeof e&&rn)return rn.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>=0&&(r=se.trim(e.slice(s,e.length)),e=e.slice(0,s)),se.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&se.ajax({url:e,type:o,dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?se("
").append(se.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,i||[e.responseText,t,e])}),this},se.expr.filters.animated=function(e){return se.grep(se.timers,function(t){return e===t.elem}).length};var on=n.document.documentElement;se.offset={setOffset:function(e,t,n){var r,i,o,a,s,c,u,l=se.css(e,"position"),d=se(e),f={};"static"===l&&(e.style.position="relative"),s=d.offset(),o=se.css(e,"top"),c=se.css(e,"left"),u=("absolute"===l||"fixed"===l)&&se.inArray("auto",[o,c])>-1,u?(r=d.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(c)||0),se.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):d.css(f)}},se.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){se.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;if(o)return t=o.documentElement,se.contains(t,i)?(typeof i.getBoundingClientRect!==Te&&(r=i.getBoundingClientRect()),n=Q(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===se.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),se.nodeName(e[0],"html")||(n=e.offset()),n.top+=se.css(e[0],"borderTopWidth",!0),n.left+=se.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-se.css(r,"marginTop",!0),left:t.left-n.left-se.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||on;e&&!se.nodeName(e,"html")&&"static"===se.css(e,"position");)e=e.offsetParent;return e||on})}}),se.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);se.fn[e]=function(r){return xe(this,function(e,r,i){var o=Q(e);if(void 0===i)return o?t in o?o[t]:o.document.documentElement[r]:e[r];o?o.scrollTo(n?se(o).scrollLeft():i,n?i:se(o).scrollTop()):e[r]=i},e,r,arguments.length,null)}}),se.each(["top","left"],function(e,t){se.cssHooks[t]=O(ae.pixelPosition,function(e,n){if(n)return n=rt(e,t),ot.test(n)?se(e).position()[t]+"px":n})}),se.each({Height:"height",Width:"width"},function(e,t){se.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){se.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===i?"margin":"border");return xe(this,function(t,n,r){var i;return se.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?se.css(t,n,a):se.style(t,n,r,a)},t,o?r:void 0,o,null)}})}),se.fn.size=function(){return this.length},se.fn.andSelf=se.fn.addBack,r=[],void 0!==(i=function(){return se}.apply(t,r))&&(e.exports=i);var an=n.jQuery,sn=n.$;return se.noConflict=function(e){return n.$===se&&(n.$=sn),e&&n.jQuery===se&&(n.jQuery=an),se},typeof o===Te&&(n.jQuery=n.$=se),se})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n":">",'"':""","'":"'","`":"`","=":"="},f=/[&<>"'`=]/g,p=/[&<>"'`=]/,h=Object.prototype.toString;t.toString=h;var _=function(e){return"function"==typeof e};_(/x/)&&(t.isFunction=_=function(e){return"function"==typeof e&&"[object Function]"===h.call(e)}),t.isFunction=_;var m=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===h.call(e)};t.isArray=m},function(e,t,n){var r=n(565),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},function(e,t,n){(function(e,r){var i;!function(o){function a(e){throw new RangeError(L[e])}function s(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function c(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(x,"."),r+s(e.split("."),t).join(".")}function u(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(e-=65536,t+=A(e>>>10&1023|55296),e=56320|1023&e),t+=A(e)}).join("")}function d(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function f(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function p(e,t,n){var r=0;for(e=n?R(e/T):e>>1,e+=R(e/t);e>P*M>>1;r+=w)e=R(e/P);return R(r+(P+1)*e/(e+C))}function h(e){var t,n,r,i,o,s,c,u,f,h,_=[],m=e.length,v=0,g=D,y=E;for(n=e.lastIndexOf(j),n<0&&(n=0),r=0;r=128&&a("not-basic"),_.push(e.charCodeAt(r));for(i=n>0?n+1:0;i=m&&a("invalid-input"),u=d(e.charCodeAt(i++)),(u>=w||u>R((b-v)/s))&&a("overflow"),v+=u*s,f=c<=y?k:c>=y+M?M:c-y,!(uR(b/h)&&a("overflow"),s*=h;t=_.length+1,y=p(v-o,t,0==o),R(v/t)>b-g&&a("overflow"),g+=R(v/t),v%=t,_.splice(v++,0,g)}return l(_)}function _(e){var t,n,r,i,o,s,c,l,d,h,_,m,v,g,y,C=[];for(e=u(e),m=e.length,t=D,n=0,o=E,s=0;s=t&&_R((b-n)/v)&&a("overflow"),n+=(c-t)*v,t=c,s=0;sb&&a("overflow"),_==t){for(l=n,d=w;h=d<=o?k:d>=o+M?M:d-o,!(l= 0x80 (not a basic code point)","invalid-input":"Invalid input"},P=w-k,R=Math.floor,A=String.fromCharCode;y={version:"1.3.2",ucs2:{decode:u,encode:l},decode:h,encode:_,toASCII:v,toUnicode:m},void 0!==(i=function(){return y}.call(t,n,t,e))&&(e.exports=i)}()}).call(t,n(70)(e),n(44))},function(e,t,n){var r,i;/*! * URI.js - Mutating URLs * IPv6 Support * * Version: 1.18.7 * * Author: Rodney Rehm * Web: http://medialize.github.io/URI.js/ * * Licensed under * MIT License http://www.opensource.org/licenses/mit-license * */ !function(o,a){"use strict";"object"==typeof e&&e.exports?e.exports=a():(r=a,void 0!==(i="function"==typeof r?r.call(t,n,t,e):r)&&(e.exports=i))}(0,function(e){"use strict";function t(e){var t=e.toLowerCase(),n=t.split(":"),r=n.length,i=8;""===n[0]&&""===n[1]&&""===n[2]?(n.shift(),n.shift()):""===n[0]&&""===n[1]?n.shift():""===n[r-1]&&""===n[r-2]&&n.pop(),r=n.length,-1!==n[r-1].indexOf(".")&&(i=7);var o;for(o=0;o1);c++)a.splice(0,1);n[s]=a.join("")}var u=-1,l=0,d=0,f=-1,p=!1;for(s=0;sl&&(u=f,l=d)):"0"===n[s]&&(p=!0,f=s,d=1);d>l&&(u=f,l=d),l>1&&n.splice(u,l,""),r=n.length;var h="";for(""===n[0]&&(h=":"),s=0;s=e.length-1)return!1;var r=e.lastIndexOf(".",t-1);if(r<=0||r>=t-1)return!1;var i=n.list[e.slice(t+1)];return!!i&&i.indexOf(" "+e.slice(r+1,t)+" ")>=0},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;if(e.lastIndexOf(".",t-1)>=0)return!1;var r=n.list[e.slice(t+1)];return!!r&&r.indexOf(" "+e.slice(0,t)+" ")>=0},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var r=e.lastIndexOf(".",t-1);if(r<=0||r>=t-1)return null;var i=n.list[e.slice(t+1)];return i?i.indexOf(" "+e.slice(r+1,t)+" ")<0?null:e.slice(r+1):null},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return n})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t={};return z.default.each(e,function(e,n){var r=O(e,2),i=r[0],u=r[1],l=o(n);if(H.default.isSystemAttribute(l))t[l]=i;else{var d=O(u,2),f=d[0],p=d[1];t[l]=[a(f,n),c(s(f,p,i,n))]}}),t}function o(e){if(!(0,V.isCamelCase)(e))throw new U.ArgumentError("Attribute names have to be in camel case.");return(0,V.underscore)(e)}function a(e,t){switch(e){case"enum":return"string";case"float":case"integer":return"number";case"multienum":return"stringlist";case"binary":case"date":case"html":case"link":case"linklist":case"reference":case"referencelist":case"string":case"stringlist":case"widgetlist":return e;default:throw new U.ArgumentError('Attribute "'+t+'" is of unsupported type "'+e+'".')}}function s(e,t,n,r){if(null===n)return n;switch(e){case"binary":return l(n,r);case"date":return d(n,r);case"enum":return f(t,n,r);case"float":return p(n,r);case"html":return h(n,r);case"integer":return _(n,r);case"link":return m(n,r);case"linklist":return v(n,r);case"multienum":return b(t,n,r);case"reference":return w(n,r);case"referencelist":return k(n,r);case"string":return E(n,r);case"stringlist":return D(n,r);case"widgetlist":return S(n,r);default:throw new U.InternalError('serializeAttributeValue is not implemented for "'+e+'".')}}function c(e){return(z.default.isString(e)||z.default.isArray(e))&&z.default.isEmpty(e)?null:e}function u(e,t,n){throw new U.ArgumentError("Unexpected value "+(0,q.default)(e)+' for attribute "'+t+'". Expected: '+n)}function l(e,t){if(e instanceof G.default)return{id:e.id()};u(e,t,"A Binary.")}function d(e,t){return z.default.isDate(e)?R.formatDateToString(e):R.isValidDateString(e)?e:void u(e,t,"A Date.")}function f(e,t,n){var r=e.values;if(z.default.contains(r,t))return t;u(t,n,'Valid attribute values are contained in its "values" array ['+r+"].")}function p(e,t){if(R.isValidFloat(e))return e;var n=e;z.default.isNumber(e)&&(n=String(e)),u(n,t,"A Number, that is #isFinite().")}function h(e,t){if(z.default.isString(e))return e;u(e,t,"A String.")}function _(e,t){if(R.isValidInteger(e))return e;u(e,t,"A Number, that is #isSafeInteger().")}function m(e,t){if(g(e))return y(e);u(e,t,"A Link instance.")}function v(e,t){if(z.default.isArray(e)&&z.default.every(e,g))return z.default.map(e,y);u(e,t,"An array of Link instances.")}function g(e){if(e instanceof Y.default)return!0;if(!z.default.isObject(e))return!1;var t=z.default.without(z.default.keys(e),"hash","obj_id","query","target","title","url");return z.default.isEmpty(t)}function y(e){var t={fragment:"function"==typeof e.hash?e.hash():e.hash,query:"function"==typeof e.query?e.query():e.query,target:"function"==typeof e.target?e.target():e.target,title:"function"==typeof e.title?e.title():e.title,url:"function"==typeof e.url?e.url():e.url};return t.obj_id="function"==typeof e.objId?e.objId():e.obj_id,z.default.mapObject(t,function(e){return e||null})}function b(e,t,n){var r=e.values,i="An array with values from "+(0,q.default)(r)+".";z.default.isArray(t)&&z.default.every(t,z.default.isString)||u(t,n,i);var o=z.default.difference(t,r);if(o.length){u(t,n,i+" Forbidden values: "+(0,q.default)(o)+".")}return t}function w(e,t){if(C(e))return M(e);u(e,t,"A BasicObj or a String ID.")}function k(e,t){if(T(e))return z.default.map(e,M);u(e,t,"An array with BasicObjs or String IDs.")}function M(e){return e instanceof L.default?e.id():e}function C(e){return z.default.isString(e)||e instanceof L.default}function T(e){return z.default.isArray(e)&&z.default.every(e,function(e){return C(e)})}function E(e,t){if(j(e))return e.toString();u(e,t,"A String.")}function D(e,t){if(z.default.isArray(e)&&z.default.every(e,function(e){return j(e)}))return z.default.invoke(e,"toString");u(e,t,"An array of strings.")}function j(e){return z.default.isString(e)||z.default.isNumber(e)}function S(e,t){if(z.default.isArray(e)&&z.default.every(e,function(e){return e instanceof N.default}))return z.default.invoke(e,"id");u(e,t,"An array of BasicWidget instances.")}Object.defineProperty(t,"__esModule",{value:!0});var O=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.serialize=i;var x=n(3),L=r(x),P=n(34),R=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(P),A=n(14),N=r(A),I=n(24),Y=r(I),F=n(32),H=r(F),W=n(0),z=r(W),U=n(1),B=n(21),q=r(B),V=n(15),$=n(30),G=r($)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return h.cmsState.subState("metadataCollection").subState(e)}function o(e){return(0,d.mapObject)(e.meta_data,function(e){var t=s(e,2),n=t[0],r=t[1];switch(n){case"date":return l.deserializeAsDate(r);case"number":return l.deserializeAsInteger(r);default:return r}})}function a(e){if(!(0,_.isCamelCase)(e))throw new m.ArgumentError('Metadata key "'+e+'" is not in camel case.')}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=n.batchSize;i(this,e),this._mget=t,this._batchSize=r||100,this._deferreds={}}return o(e,[{key:"retrieve",value:function(e){var t=this;if(u.default.isEmpty(this._deferreds)&&scrivito.nextTick(function(){return t._performRetrieval()}),!this._deferreds[e]){var n=new s.default;this._deferreds[e]=n}return this._deferreds[e].promise}},{key:"_performRetrieval",value:function(){var e=this,t=u.default.keys(this._deferreds).slice(0,this._batchSize);if(0!==t.length){var n={};u.default.each(t,function(t){n[t]=e._deferreds[t],delete e._deferreds[t]}),this._mget(t).then(function(r){u.default.each(t,function(t,i){var o=n[t],a=r[i];i":">"}},{key:"id",value:function(){var e=this._dataForId(),t=e.name,n=e.objId,r=e.widgetId,i=t+"|"+n;return r&&(i+="|"+r),i}},{key:"_assertValidTypes",value:function(e,t){(0,c.include)(e,this.type())||$.error(t)}},{key:"_dataForId",value:function(){var e={name:this.name()},t=this.container();return t instanceof s.default?e.objId=t.id():(e.objId=t.obj().id(),e.widgetId=t.id()),e}},{key:"_sortValuesByLocalization",value:function(e){var t=this;return e?this.typeOptions().valuesLocalization?(0,c.sortBy)(e,function(n){var r=(0,c.findIndex)(t.typeOptions().valuesLocalization,{value:n});return-1===r?e.length:r}):e:[]}}]),e}();t.default=u},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n0&&scrivito.hasTagsAttribute(e))return{tags:t}}function s(e){return scrivito.delete_obj(e),{type:h,objId:e}}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return function(c,d){var f=(0,l.uniqueId)("addition"),p=e._obj_class||n._obj_class||t._obj_class,h=a(p,s)||{},_=(0,l.extend)({},t,h,n,e),m=void 0;return _.blob&&(m=_.blob.name),c(r(f,m)),scrivito.create_obj(_).then(function(e){var t=d().objSource.activeSource===u.LAST_ADDED;c(i(f,e.id,t))}).fail(function(e){var t=void 0;e&&(t=e.message),c(o(f,t))})}}Object.defineProperty(t,"__esModule",{value:!0}),t.DELETE_OBJ_FINISH=t.CREATE_OBJ_FAILED=t.CREATE_OBJ_FINISH=t.CREATE_OBJ_START=void 0,t.createObjStart=r,t.createObjFinish=i,t.createObjFailed=o,t.objDeleted=s,t.createObj=c;var u=n(113),l=n(0),d=t.CREATE_OBJ_START="CREATE_OBJ_START",f=t.CREATE_OBJ_FINISH="CREATE_OBJ_FINISH",p=t.CREATE_OBJ_FAILED="CREATE_OBJ_FAILED",h=t.DELETE_OBJ_FINISH="DELETE_OBJ_FINISH"},function(e,t,n){function r(e,t){var n=o(e,t);return i(n)?n:void 0}var i=n(942),o=n(947);e.exports=r},function(e,t,n){function r(e){return null!=e&&o(e.length)&&!i(e)}var i=n(564),o=n(361);e.exports=r},function(e,t,n){function r(e,t){return a(o(e,t,i),e+"")}var i=n(251),o=n(583),a=n(585);e.exports=r},function(e,t,n){e.exports=n(1019)()},function(e,t,n){function r(e){if(!a(e)||i(e)!=s)return!1;var t=o(e);if(null===t)return!0;var n=d.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==f}var i=n(136),o=n(1024),a=n(96),s="[object Object]",c=Function.prototype,u=Object.prototype,l=c.toString,d=u.hasOwnProperty,f=l.call(Object);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return u(e._id).then(function(t){var n=v.diff(e.current,t);return e.update(n),e.finishSaving()})}function a(e){return e.update({_marked_deleted:null}),e.finishSaving()}function s(e,t){return l(e._id,t).then(function(n){var r=f(n),o=e.current._widget_pool[t],a=f(o),s=v.diff(a,r);return e.update({_widget_pool:i({},t,s)}),e.finishSaving()})}function c(e,t){return u(e._id).then(function(n){var r={},o=(0,_.default)(n,t),a=o.parentWidgetId,s=o.attributeName,c=o.index;if(a){var u,l=e.current._widget_pool[a][s],f=d(l,t,c);r._widget_pool=(u={},i(u,a,i({},s,["widgetlist",f])),i(u,t,n._widget_pool[t]),u)}else{var p=e.current[s],h=d(p,t,c);r[s]=["widgetlist",h],r._widget_pool=i({},t,n._widget_pool[t])}return e.update(r),e.finishSaving()})}function u(e){var t=w.default.selected.id,n=[e];return scrivito.CmsRestApi.get("workspaces/"+t+"/base_objs/mget",{ids:n}).then(function(e){return p(e.results,1)[0]})}function l(e,t){return u(e).then(function(e){return e._widget_pool[t]})}function d(e,t,n){var r=e&&y.default.clone(e[1])||[];return r.splice(n,0,t),r}function f(e){return y.default.omit(e,function(e){return y.default.isArray(e)&&"widgetlist"===e[0]})}Object.defineProperty(t,"__esModule",{value:!0});var p=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.revertObj=o,t.restoreObj=a,t.revertWidget=s,t.restoreWidget=c;var h=n(122),_=r(h),m=n(68),v=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(m),g=n(0),y=r(g),b=n(53),w=r(b)},function(e,t,n){"use strict";function r(e){i();var t=e.location,n=t.hash,r=n.indexOf(s);if(!(r<0)){var o=n.substr(r+s.length,3),a=n.substring(0,r);"#"===a&&(a="");var u=t.href.toString().replace(n,a);c=parseInt(o,10)||0,e.history.replaceState({},"",u)}}function i(){c=0}function o(e){var t=e.toString();return e.hash||(t+="#"),""+t+s+(c+1)}function a(){return c}Object.defineProperty(t,"__esModule",{value:!0});var s="&scrivito.authFailedCount=",c=void 0;t.default={init:r,augmentedRedirectUrl:o,reset:i,currentFailureCount:a}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=o(e,t);if(n)return n;var r=e._widget_pool;return l.default.find(r,function(e,r){if(n=o(e,t))return n.parentWidgetId=r,!0}),n}function o(e,t){var n=void 0;return l.default.find(e,function(e,r){if(!c.default.isSystemAttribute(r)){var i=a(e,2),o=i[0],s=i[1];if(s&&"widgetlist"===o){var u=s.indexOf(t);if(-1!==u)return n={attributeName:r,index:u},!0}}}),n}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.default=i;var s=n(32),c=r(s),u=n(0),l=r(u)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};return new a.default({idToCopy:this._id,filename:e.filename,contentType:e.content_type})}}]),e}();t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=f[e.id()];return t||c.default.pluck(l.default.all(),"name")}function o(){scrivito.editingContext.isViewMode()||scrivito.on("content",function(e){var t=scrivito.WidgetlistFieldElement.all($(e));c.default.each(t,function(e){var t=e.basicField();f[t.id()]=JSON.parse(e.dom_element().attr(d))})})}function a(){f={}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var s=n(0),c=r(s),u=n(31),l=r(u),d="data-scrivito-private-field-widget-allowed-classes",f={};i.init=o,i.clearCache=a},function(e,t,n){e.exports=n(161)},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r1){for(var h=Array(p),_=0;_1){for(var v=Array(m),g=0;g2&&void 0!==arguments[2]?arguments[2]:{},r=i.default.contains(["PUT","POST","DELETE"],e),o=n&&n.skip_write_monitor;r&&(n.timeout=15e3,o||scrivito.WriteMonitor.startWrite());var s=a(e,t,n);return r&&!o&&scrivito.WriteMonitor.endWriteWhenDone(s),s}function t(e,t,r){return scrivito.ajax(e,t,r).catch(function(e){throw n(e),e})}function n(e){var t=void 0,n=void 0;i.default.isObject(e)?(t=scrivito.t("ajax_error",e.message),n=e.message_for_editor):t=i.default.contains(["abort","parsererror","timeout"],e)?scrivito.t("ajax_error.communication"):scrivito.t("ajax_error",e),scrivito.isDevelopmentMode?scrivito.AlertDialog.open(t):(scrivito.logError(t),scrivito.ErrorDialog.open(n||scrivito.t("ajax_error.message_for_editor"),[e.timestamp,t]))}function r(){s=!0}function o(){s=!1}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(s)return scrivito.Promise.reject("scrivito.ajax is disabled due to scrivito.disableAjax()!");var r=window.location.protocol+"//"+window.location.host+"/__scrivito/";n.data&&(n.data=JSON.stringify(n.data));var o=$.ajax(r+t,i.default.extend({type:e,dataType:"json",contentType:"application/json; charset=utf-8",cache:!1},n));return new scrivito.Promise(function(e,t){o.then(e),o.fail(function(e,n,r){try{return t(JSON.parse(e.responseText))}catch(e){return t(r)}})})}var s=!1;scrivito.ajax=e,scrivito.ajaxWithErrorDialog=t,scrivito.displayAjaxError=n,scrivito.disableAjax=r,scrivito.enableAjax=o}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(0),o=r(i),a=n(1),s=n(13),c=r(s);!function(){function e(e,n){return t(e.prototype,n)}function t(e,t){o.default.each(t,function(t,r){e[t]=n(r)})}function n(e){return function(){for(var t=this,n=arguments.length,r=Array(n),i=0;i2&&void 0!==arguments[2]?arguments[2]:{}}}function y(e){var t=e.method,n=e.path,r=e.requestParams,i=e.timeout,o=e.authorization,a=(0,u.default)(k+"/tenants/"+M+"/perform").scheme("https").toString(),s=g(t,n,r);return scrivito.fetch(t,a,{params:s,timeout:i,authorization:o,forceVerification:E})}function b(e){switch(e.status){case"success":return e.result;case"error":throw f.ClientError.for(e.message,412,e.code);case"open":return scrivito.wait(2).then(function(){return n("GET","tasks/"+e.id).then(function(e){return b(e)})});default:throw new f.ScrivitoError("Invalid task response (unknown status)")}}var w=15e3,k=void 0,M=void 0,C=void 0,T=void 0,E=void 0;scrivito.CmsRestApi={init:function(e,t,n){t&&(k=e,M=t,C&&C.resolve()),T=n||T||m.default},reset:function(){k=void 0,M=void 0,C=void 0,T=void 0,E=void 0},get:function(e,n){return t("GET",e,n)},put:function(e,n){return t("PUT",e,n)},post:function(e,n){return t("POST",e,n)},delete:function(e,n){return t("DELETE",e,n)},requestBuiltInUserSession:function(t){return e().then(function(){var e="sessions/"+t,n=a("PUT",function(t){return r(y({method:"PUT",path:e,timeout:t}))});return n.then(h.default.reset),n})},enableForceVerification:function(){E=!0},currentPublicAuthorizationState:function(){return T?T.currentState?"[API] "+T.currentState():"[API]: authorization provider without currentState()":"[API]: no authorization provider"},get endpoint(){return k},get tenant(){return M}};var D=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:w;i(this,e),this.timesOutAt=Date.now()+t}return o(e,[{key:"timedOut",value:function(){return this.remainingTime()<5}},{key:"remainingTime",value:function(){return Math.max(this.timesOutAt-Date.now(),0)}},{key:"cover",value:function(e){return e<=this.timesOutAt-5}}]),e}()}()},function(e,t,n){"use strict";function r(e){return new scrivito.Promise(function(t){return t(e(s()))}).catch(function(t){if(!(t instanceof u.UnauthorizedError))throw t;if(t.backendCode!==f)throw t;return i(t.details.verificator,t.details.data).then(function(t){return e(t.authorization)})})}function i(e,t){return p&&p.isPending()||(p=d.default.fetch(e.id,e.url).then(function(e){return new scrivito.Promise(function(n){return e(t,n)})}),p.then(o),p.challenge={verificator:e,data:t}),p}function o(e){p=void 0,h=e}function a(){o()}function s(){if(h)return h.expiresAfter-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").split(/\s+/).slice(1),i=this.extractLocation(n.pop()),o=n.join(" ")||void 0,a=r(["eval",""],i[0])>-1?void 0:i[0];return new e(o,void 0,a,i[1],i[2],t)},this)},parseFFOrSafari:function(r){return t(n(r.stack.split("\n"),function(e){return!e.match(a)},this),function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e(t);var n=t.split("@"),r=this.extractLocation(n.pop()),i=n.join("@")||void 0;return new e(i,void 0,r[0],r[1],r[2],t)},this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),i=[],o=2,a=r.length;o/,"$2").replace(/\([^\)]*\)/g,"")||void 0;o.match(/\(([^\)]*)\)/)&&(n=o.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var s=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e(a,s,i[0],i[1],i[2],t)},this)}}})},function(e,t,n){var r,i,o;!function(n,a){"use strict";i=[],r=a,void 0!==(o="function"==typeof r?r.apply(t,i):r)&&(e.exports=o)}(0,function(){"use strict";function e(e){return!isNaN(parseFloat(e))&&isFinite(e)}function t(e,t,n,r,i,o){void 0!==e&&this.setFunctionName(e),void 0!==t&&this.setArgs(t),void 0!==n&&this.setFileName(n),void 0!==r&&this.setLineNumber(r),void 0!==i&&this.setColumnNumber(i),void 0!==o&&this.setSource(o)}return t.prototype={getFunctionName:function(){return this.functionName},setFunctionName:function(e){this.functionName=String(e)},getArgs:function(){return this.args},setArgs:function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("Args must be an Array");this.args=e},getFileName:function(){return this.fileName},setFileName:function(e){this.fileName=String(e)},getLineNumber:function(){return this.lineNumber},setLineNumber:function(t){if(!e(t))throw new TypeError("Line Number must be a Number");this.lineNumber=Number(t)},getColumnNumber:function(){return this.columnNumber},setColumnNumber:function(t){if(!e(t))throw new TypeError("Column Number must be a Number");this.columnNumber=Number(t)},getSource:function(){return this.source},setSource:function(e){this.source=String(e)},toString:function(){return(this.getFunctionName()||"{anonymous}")+"("+(this.getArgs()||[]).join(",")+")"+(this.getFileName()?"@"+this.getFileName():"")+(e(this.getLineNumber())?":"+this.getLineNumber():"")+(e(this.getColumnNumber())?":"+this.getColumnNumber():"")}},t})},function(e,t,n){"use strict";var r=n(10),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){function e(e,r,i,o,a){var s=new XMLHttpRequest;return s.open("POST"===e?"POST":"PUT",r),s.timeout=i,s.withCredentials=!0,s.onload=function(){return t(s,o,a)},s.onerror=function(e){return n(e,a)},s}function t(e,t,n){if(o-=1,e.status>=200&&e.status<300)try{return t(JSON.parse(e.responseText))}catch(n){if(n instanceof SyntaxError)return t(e.responseText);throw n}return n(e)}function n(e,t){o-=1,t(new Error("Network Error: "+e))}var r=!1,o=0;scrivito.isFetchingActive=function(){return o>0},scrivito.disableFetching=function(){r=!0},scrivito.fetch=function(t,n,a){var s=a.params,c=a.timeout,u=a.authorization,l=a.forceVerification;return r?(new i.default).promise:(o+=1,new scrivito.Promise(function(r,i){var o=e(t,n,c,r,i);u&&o.setRequestHeader("Authorization",u),l&&o.setRequestHeader("Scrivito-Force-Verification","true"),o.setRequestHeader("Content-type","application/json; charset=utf-8"),o.send(JSON.stringify(s))}))}}()},function(e,t,n){"use strict";var r=n(156),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o=n(4);!function(){function e(e){var t=e.clientModulesForExport();r.forEach(function(e){scrivito[e]=t[e]})}function t(){var e={};return r.forEach(function(t){e[t]=scrivito[t]}),e}function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.ui,r=t.realmContext;r&&i.default.init(r),n&&e(n),(0,o.initializeGlobalState)(n)}var r=["BinaryRequest","CmsRestApi","ObjReplication"];scrivito.client.init=n,scrivito.client.modulesForExport=t}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}};if("string"!=typeof e)return"";if("string"==typeof t&&(y=t),l=x.en,d=O.en,"object"==typeof t){n=t.maintainCase||!1,E=t.custom&&"object"==typeof t.custom?t.custom:E,i=+t.truncate>1&&t.truncate||!1,o=t.uric||!1,a=t.uricNoSlash||!1,s=t.mark||!1,T=!1!==t.symbols&&!1!==t.lang,y=t.separator||y,o&&(g+=b.join("")),a&&(g+=w.join("")),s&&(g+=k.join("")),l=t.lang&&x[t.lang]&&T?x[t.lang]:T?x.en:{},d=t.lang&&O[t.lang]?O[t.lang]:!1===t.lang||!0===t.lang?{}:O.en,t.titleCase&&"number"==typeof t.titleCase.length&&Array.prototype.toString.call(t.titleCase)?(t.titleCase.forEach(function(e){E[e+""]=e+""}),r=!0):r=!!t.titleCase,t.custom&&"number"==typeof t.custom.length&&Array.prototype.toString.call(t.custom)&&t.custom.forEach(function(e){E[e+""]=e+""}),Object.keys(E).forEach(function(t){var n;n=t.length>1?new RegExp("\\b"+c(t)+"\\b","gi"):new RegExp(c(t),"gi"),e=e.replace(n,E[t])});for(h in E)g+=h}for(g+=y,g=c(g),e=e.replace(/(^\s+|\s+$)/g,""),m=!1,v=!1,p=0,_=e.length;p<_;p++)h=e[p],u(h,E)?m=!1:d[h]?(h=m&&d[h].match(/[A-Za-z0-9]/)?" "+d[h]:d[h],m=!1):h in D?(p+1<_&&j.indexOf(e[p+1])>=0?(C+=h,h=""):!0===v?(h=S[C]+D[h],C=""):h=m&&D[h].match(/[A-Za-z0-9]/)?" "+D[h]:D[h],m=!1,v=!1):h in S?(C+=h,h="",p===_-1&&(h=S[C]),v=!0):!l[h]||o&&-1!==b.join("").indexOf(h)||a&&-1!==w.join("").indexOf(h)?(!0===v?(h=S[C]+h,C="",v=!1):m&&(/[A-Za-z0-9]/.test(h)||M.substr(-1).match(/A-Za-z0-9]/))&&(h=" "+h),m=!1):(h=m||M.substr(-1).match(/[A-Za-z0-9]/)?y+l[h]:l[h],h+=void 0!==e[p+1]&&e[p+1].match(/[A-Za-z0-9]/)?y:"",m=!0),M+=h.replace(new RegExp("[^\\w\\s"+g+"_-]","g"),y);return r&&(M=M.replace(/(\w)(\S*)/g,function(e,t,n){var r=t.toUpperCase()+(null!==n?n:"");return Object.keys(E).indexOf(r.toLowerCase())<0?r:r.toLowerCase()})),M=M.replace(/\s+/g,y).replace(new RegExp("\\"+y+"+","g"),y).replace(new RegExp("(^\\"+y+"+|\\"+y+"+$)","g"),""),i&&M.length>i&&(f=M.charAt(i)===y,M=M.slice(0,i),f||(M=M.slice(0,M.lastIndexOf(y)))),n||r||(M=M.toLowerCase()),M},s=function(e){return function(t){return a(t,e)}},c=function(e){return e.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},u=function(e,t){for(var n in t)if(t[n]===e)return!0};void 0!==e&&e.exports?(e.exports=a,e.exports.createSlug=s):(r=[],void 0!==(i=function(){return a}.apply(t,r))&&(e.exports=i))}()},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:void 0;o(this,e),this._params=t,this._batchSize=n,r?(this._index=r.index+1,this._continuation=r.continuationForNextBatch(),this._previousBatch=r):this._index=0}return l(e,null,[{key:"store",value:function(e,t){var n=s(u(e),0),r=c(void 0);new w.default({state:n,invalidation:r}).set({results:t})}},{key:"firstBatchFor",value:function(t,n){return new e(u(t),n)}}]),l(e,[{key:"objIds",value:function(){return this._response().results}},{key:"nextBatch",value:function(){if(this.continuationForNextBatch())return new e(this._params,this._batchSize,this)}},{key:"continuationForNextBatch",value:function(){return this._response().continuation}},{key:"_response",value:function(){return this._data().get()||k}},{key:"_data",value:function(){var e=this;return new w.default({state:s(this._params,this._index),loader:function(){return e._load()},invalidation:c(this._continuation)})}},{key:"_load",value:function(){var e=this;return this._fetchContinuation().then(function(t){var n={size:e._batchSize,continuation:t},r=(0,v.extend)({},e._params,n);return h.retrieve(r).then(function(e){return a(e.results),e})})}},{key:"_fetchContinuation",value:function(){var e=this;return this._previousBatch?(0,y.default)(function(){return e._previousBatch.continuationForNextBatch()}):scrivito.Promise.resolve()}},{key:"index",get:function(){return this._index}}]),e}();t.default=M},function(e,t,n){"use strict";function r(e){var t=scrivito.currentWorkspaceId(),n=o.default.extend({consistent:!0},e);return scrivito.CmsRestApi.get("workspaces/"+t+"/objs/search",n).then(function(e){return e.results=o.default.pluck(e.results,"id"),o.default.pick(e,"results","continuation")})}Object.defineProperty(t,"__esModule",{value:!0}),t.retrieve=r;var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return!!e.current._deleted}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n3&&void 0!==arguments[3]?arguments[3]:null,o=scrivito.unwrapAppClassValues(r);return u(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"and",this).call(this,e,t,o,i)}},{key:"andNot",value:function(e,t,r){var i=scrivito.unwrapAppClassValues(r);return u(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"andNot",this).call(this,e,t,i)}},{key:"facet",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=u(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"facet",this).call(this,t,r);return _.default.map(i,function(t){return new p.default(e,t)})}},{key:"take",value:function(e){return(0,m.arrayFromIterable)(this.batchSize(e),e)}}]),n}(d.default);if("function"==typeof window.Symbol){var n=window.Symbol.iterator;if(n){var r=t.prototype;r[n]=r.iterator}}return t}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var n=0;n3&&void 0!==arguments[3]?arguments[3]:null;return t(e.objClassNameFor(this)).and(n,r,i,o)}},{key:"create",value:function(t){var r=f.default.forClass(this),i=e.objClassNameFor(this);if(!i)throw new p.ArgumentError("Creating CMS objects is not supported for the class Obj or abstract classes.");if(t.constructor!==Object)throw new p.ArgumentError("The provided attributes are invalid. They have to be an Object with valid Scrivito attribute values.");if(t._objClass)throw new p.ArgumentError('Invalid attribute "_objClass". "'+t._objClass+'.create" will automatically set the CMS object class correctly.');t._objClass=i;var o=scrivito.AttributeContentFactory.prepareAttributes(t,r,i);return n(l.default.create(o))}}]),u}(scrivito.AttributeContentFactory(r))}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:[],o=i.default.run(function(){return t.next()});if(!o.allDataLoaded)return{done:!1,objs:r};var a=o.result,s=a.value,c=a.done;return c||0===n?{done:c,objs:r}:e(t,n-1,r.concat([s]))}scrivito.loadAllUntil=e}()},function(e,t,n){"use strict";var r=n(5),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){function e(e,t){var n=i.default.run(t);return n.allDataLoaded?n.result:e}scrivito.loadableWithDefault=e,scrivito.loadWithDefault=e}()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(1);!function(){var e=function(e){function t(e){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"Data is not yet loaded.",e))}return o(t,e),t}(a.ScrivitoError);scrivito.NotLoadedError=e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(e,t){for(var n=0;n0)throw n[0]}},enableNextTickCapture:function(){t=!0},disableNextTickCapture:function(){t=!1}})}()},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n0?e:t}function r(e,t){return e?t?i(e._version,t._version):1:-1}function i(e,t){return e>t?1:t>e?-1:0}function s(e){h.default.each(p,function(t){t(e)})}var u={},d=void 0,p={},m=0,v=0;scrivito.ObjReplication=function(){function i(e){var t=this;o(this,i),this._id=e,this._replicationActive=!1,this._scheduledReplication=!1,this._currentRequestDeferred=null,this._nextRequestDeferred=null,this._performThrottledReplication=scrivito.throttle(function(){return t._performReplication()},1e3)}return a(i,null,[{key:"get",value:function(e){return u[e]||(u[e]=new scrivito.ObjReplication(e)),u[e]}},{key:"subscribeWrites",value:function(e){return m+=1,p[m]=e,m}},{key:"unsubscribeWrites",value:function(e){delete p[e]}},{key:"getWorkspaceVersion",value:function(){return v}}]),a(i,[{key:"notifyLocalState",value:function(e){if(!d){if(void 0===this._backendState)throw new _.InternalError("Can not set local state before backend state.");if(this._backendState&&this._backendState._deleted)throw new _.InternalError("Can not update a fully deleted obj.");this._localState=e,this._startReplication()}}},{key:"notifyBackendState",value:function(n){if(void 0===this._backendState)return this._updateBackendState(n),void this._updateLocalState(n);if(r(n,this._bufferedBackendState||this._backendState)>0)if(this._replicationActive)this._bufferedBackendState=n;else{if(n._deleted)this._updateLocalState(null);else{var i=e(this._backendState,n);this._updateLocalState(t(this.localState,i))}this._updateBackendState(n)}}},{key:"finishSaving",value:function(){var e=void 0;if(this._nextRequestDeferred)e=this._nextRequestDeferred.promise;else{if(!this._currentRequestDeferred)return scrivito.Promise.resolve();e=this._currentRequestDeferred.promise}return e.catch(function(){return scrivito.Promise.reject()})}},{key:"_startReplication",value:function(){var t=this;h.default.isEmpty(e(this._backendState,this._localState))?this._nextRequestDeferred&&(this._nextRequestDeferred.resolve(),this._nextRequestDeferred=null):this._replicationActive?this._nextRequestDeferred||(this._nextRequestDeferred=new c.default):this._scheduledReplication||(this._scheduledReplication=!0,this._initDeferredForRequest(),s(this._currentRequestDeferred.promise),scrivito.nextTick(function(){return t._performThrottledReplication()}))}},{key:"_performReplication",value:function(){var t=this,n=this._localState,r=e(this._backendState,this._localState);this._scheduledReplication=!1,this._replicationActive=!0,this._replicatePatchToBackend(r).then(function(e){t._handleBackendUpdate(n,e),t._currentRequestDeferred.resolve(t._id),t._currentRequestDeferred=null,t._replicationActive=!1,t._startReplication()},function(e){t._currentRequestDeferred.reject(e),t._currentRequestDeferred=null,t._replicationActive=!1})}},{key:"_replicatePatchToBackend",value:function(e){if("deleted"===e._modification)return this._deleteObj();if(h.default.isEmpty(e))return scrivito.Promise.resolve(this._backendState);var t=scrivito.currentWorkspaceId(),n="workspaces/"+t+"/objs/"+this._id;return scrivito.CmsRestApi.put(n,{obj:e})}},{key:"_deleteObj",value:function(){var e=scrivito.currentWorkspaceId(),t="workspaces/"+e+"/objs/"+this._id;return scrivito.CmsRestApi.delete(t,{include_deleted:!0})}},{key:"_initDeferredForRequest",value:function(){if(this._nextRequestDeferred){var e=this._nextRequestDeferred;this._nextRequestDeferred=null,this._currentRequestDeferred=e}else this._currentRequestDeferred=new c.default}},{key:"_handleBackendUpdate",value:function(r,i){var o=e(r,this._localState);this._updateBackendState(n(i,this._bufferedBackendState)),this._bufferedBackendState=void 0,this._updateLocalState(t(this._backendState,o))}},{key:"_updateLocalState",value:function(e){this._localState=e,f.set(this._id,this._localState)}},{key:"_updateBackendState",value:function(e){void 0!==this._backendState&&v++,this._backendState=e}},{key:"isNotStoredInBackend",value:function(){return null===this._backendState}},{key:"isRequestInFlight",value:function(){return this._replicationActive}},{key:"backendState",get:function(){return this._backendState}},{key:"localState",get:function(){return this._localState}}],[{key:"disableReplication",value:function(){d=!0}},{key:"enableReplication",value:function(){d=!1}},{key:"clearWriteCallbacks",value:function(){p={}}},{key:"clearCache",value:function(){u={}}}]),i}()}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(0),o=r(i),a=n(183),s=r(a);!function(){s.default.noConflict(),s.default.config({warnings:!1,longStackTraces:!1}),o.default.extend(scrivito,{Promise:s.default,promise:{enableDebugMode:function(){s.default.config({warnings:!0,longStackTraces:!0})},wrapInJqueryDeferred:function(e,t){var n=t;return e.then(function(e){return n.resolve(e)},function(e){n.reject(e)}),n},always:function(e,t){return e.then(t,t),e},capturePromises:function(){s.default.setScheduler(function(e){scrivito.nextTick(e)})}}})}()},function(e,t,n){(function(t,n,r){/* @preserve * The MIT License (MIT) * * Copyright (c) 2013-2015 Petka Antonov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. * */ !function(t){e.exports=t()}(function(){var e,i,o;return function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var c="function"==typeof _dereq_&&_dereq_;if(!s&&c)return c(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[a]={exports:{}};t[a][0].call(l.exports,function(e){var n=t[a][1][e];return i(n||e)},l,l.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof _dereq_&&_dereq_,a=0;a0;){var t=e.shift();if("function"==typeof t){var n=e.shift(),r=e.shift();t.call(n,r)}else t._settlePromises()}},i.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},i.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},i.prototype._reset=function(){this._isTickUsed=!1},n.exports=i,n.exports.firstLineError=c},{"./queue":26,"./schedule":29,"./util":36}],3:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){var i=!1,o=function(e,t){this._reject(t)},a=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(o,o,null,this,e)},s=function(e,t){0==(50397184&this._bitField)&&this._resolveCallback(t.target)},c=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(o){i||(i=!0,e.prototype._propagateFrom=r.propagateFromFunction(),e.prototype._boundValue=r.boundValueFunction());var u=n(o),l=new e(t);l._propagateFrom(this,1);var d=this._target();if(l._setBoundTo(u),u instanceof e){var f={promiseRejectionQueued:!1,promise:l,target:d,bindingPromise:u};d._then(t,a,void 0,l,f),u._then(s,c,void 0,l,f),l._setOnCancel(u)}else l._resolveCallback(d);return l},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=2097152|this._bitField,this._boundTo=e):this._bitField=-2097153&this._bitField},e.prototype._isBound=function(){return 2097152==(2097152&this._bitField)},e.bind=function(t,n){return e.resolve(n).bind(t)}}},{}],4:[function(e,t,n){"use strict";function r(){try{Promise===o&&(Promise=i)}catch(e){}return o}var i;"undefined"!=typeof Promise&&(i=Promise);var o=e("./promise")();o.noConflict=r,t.exports=o},{"./promise":22}],5:[function(e,t,n){"use strict";var r=Object.create;if(r){var i=r(null),o=r(null);i[" size"]=o[" size"]=0}t.exports=function(t){function n(e,n){var r;if(null!=e&&(r=e[n]),"function"!=typeof r){var i="Object "+s.classString(e)+" has no method '"+s.toString(n)+"'";throw new t.TypeError(i)}return r}function r(e){return n(e,this.pop()).apply(e,this)}function i(e){return e[this]}function o(e){var t=+this;return t<0&&(t=Math.max(0,t+e.length)),e[t]}var a,s=e("./util"),c=s.canEvaluate;s.isIdentifier;t.prototype.call=function(e){var t=[].slice.call(arguments,1);return t.push(e),this._then(r,void 0,void 0,t,void 0)},t.prototype.get=function(e){var t,n="number"==typeof e;if(n)t=o;else if(c){var r=a(e);t=null!==r?r:i}else t=i;return this._then(t,void 0,void 0,e,void 0)}}},{"./util":36}],6:[function(e,t,n){"use strict";t.exports=function(t,n,r,i){var o=e("./util"),a=o.tryCatch,s=o.errorObj,c=t._async;t.prototype.break=t.prototype.cancel=function(){if(!i.cancellation())return this._warn("cancellation is disabled");for(var e=this,t=e;e._isCancellable();){if(!e._cancelBy(t)){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}var n=e._cancellationParent;if(null==n||!n._isCancellable()){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}e._isFollowing()&&e._followee().cancel(),e._setWillBeCancelled(),t=e,e=n}},t.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},t.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},t.prototype._cancelBy=function(e){return e===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),!!this._enoughBranchesHaveCancelled()&&(this._invokeOnCancel(),!0))},t.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},t.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),c.invoke(this._cancelPromises,this,void 0))},t.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},t.prototype._unsetOnCancel=function(){this._onCancelField=void 0},t.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},t.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},t.prototype._doInvokeOnCancel=function(e,t){if(o.isArray(e))for(var n=0;n=0)return o[e]}var i=!1,o=[];return e.prototype._promiseCreated=function(){},e.prototype._pushContext=function(){},e.prototype._popContext=function(){return null},e._peekContext=e.prototype._peekContext=function(){},t.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,o.push(this._trace))},t.prototype._popContext=function(){if(void 0!==this._trace){var e=o.pop(),t=e._promiseCreated;return e._promiseCreated=null,t}return null},t.CapturedTrace=null,t.create=n,t.deactivateLongStackTraces=function(){},t.activateLongStackTraces=function(){var n=e.prototype._pushContext,o=e.prototype._popContext,a=e._peekContext,s=e.prototype._peekContext,c=e.prototype._promiseCreated;t.deactivateLongStackTraces=function(){e.prototype._pushContext=n,e.prototype._popContext=o,e._peekContext=a,e.prototype._peekContext=s,e.prototype._promiseCreated=c,i=!1},i=!0,e.prototype._pushContext=t.prototype._pushContext,e.prototype._popContext=t.prototype._popContext,e._peekContext=e.prototype._peekContext=r,e.prototype._promiseCreated=function(){var e=this._peekContext();e&&null==e._promiseCreated&&(e._promiseCreated=this)}},t}},{}],9:[function(e,n,r){"use strict";n.exports=function(n,r){function i(e,t){return{promise:t}}function o(){return!1}function a(e,t,n){var r=this;try{e(t,n,function(e){if("function"!=typeof e)throw new TypeError("onCancel must be a function, got: "+F.toString(e));r._attachCancellationCallback(e)})}catch(e){return e}}function s(e){if(!this._isCancellable())return this;var t=this._onCancel();void 0!==t?F.isArray(t)?t.push(e):this._setOnCancel([t,e]):this._setOnCancel(e)}function c(){return this._onCancelField}function u(e){this._onCancelField=e}function l(){this._cancellationParent=void 0,this._onCancelField=void 0}function d(e,t){if(0!=(1&t)){this._cancellationParent=e;var n=e._branchesRemainingToCancel;void 0===n&&(n=0),e._branchesRemainingToCancel=n+1}0!=(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)}function f(e,t){0!=(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)}function p(){var e=this._boundTo;return void 0!==e&&e instanceof n?e.isFulfilled()?e.value():void 0:e}function h(){this._trace=new L(this._peekContext())}function _(e,t){if(H(e)){var n=this._trace;if(void 0!==n&&t&&(n=n._parent),void 0!==n)n.attachExtraTrace(e);else if(!e.__stackCleaned__){var r=C(e);F.notEnumerableProp(e,"stack",r.message+"\n"+r.stack.join("\n")),F.notEnumerableProp(e,"__stackCleaned__",!0)}}}function m(e,t,n,r,i){if(void 0===e&&null!==t&&K){if(void 0!==i&&i._returnedNonUndefined())return;if(0==(65535&r._bitField))return;n&&(n+=" ");var o="",a="";if(t._trace){for(var s=t._trace.stack.split("\n"),c=k(s),u=c.length-1;u>=0;--u){var l=c[u];if(!z.test(l)){var d=l.match(U);d&&(o="at "+d[1]+":"+d[2]+":"+d[3]+" ");break}}if(c.length>0)for(var f=c[0],u=0;u0&&(a="\n"+s[u-1]);break}}var p="a promise was created in a "+n+"handler "+o+"but was not returned from it, see http://goo.gl/rRqMUw"+a;r._warn(p,!0,t)}}function v(e,t){var n=e+" is deprecated and will be removed in a future version.";return t&&(n+=" Use "+t+" instead."),g(n)}function g(e,t,r){if(ae.warnings){var i,o=new Y(e);if(t)r._attachExtraTrace(o);else if(ae.longStackTraces&&(i=n._peekContext()))i.attachExtraTrace(o);else{var a=C(o);o.stack=a.message+"\n"+a.stack.join("\n")}te("warning",o)||T(o,"",!0)}}function y(e,t){for(var n=0;n=0;--s)if(r[s]===o){a=s;break}for(var s=a;s>=0;--s){var c=r[s];if(t[i]!==c)break;t.pop(),i--}t=r}}function k(e){for(var t=[],n=0;n0&&"SyntaxError"!=e.name&&(t=t.slice(n)),t}function C(e){var t=e.stack,n=e.toString();return t="string"==typeof t&&t.length>0?M(e):[" (No stack trace)"],{message:n,stack:"SyntaxError"==e.name?t:k(t)}}function T(e,t,n){if("undefined"!=typeof console){var r;if(F.isObject(e)){var i=e.stack;r=t+q(i,e)}else r=t+String(e);"function"==typeof A?A(r,n):"function"!=typeof console.log&&"object"!=typeof console.log||console.log(r)}}function E(e,t,n,r){var i=!1;try{"function"==typeof t&&(i=!0,"rejectionHandled"===e?t(r):t(n,r))}catch(e){I.throwLater(e)}"unhandledRejection"===e?te(e,n,r)||i||T(n,"Unhandled rejection "):te(e,r)}function D(e){var t;if("function"==typeof e)t="[function "+(e.name||"anonymous")+"]";else{t=e&&"function"==typeof e.toString?e.toString():F.toString(e);if(/\[object [a-zA-Z0-9$_]+\]/.test(t))try{t=JSON.stringify(e)}catch(e){}0===t.length&&(t="(empty array)")}return"(<"+j(t)+">, no stack trace)"}function j(e){return e.length<41?e:e.substr(0,38)+"..."}function S(){return"function"==typeof oe}function O(e){var t=e.match(ie);if(t)return{fileName:t[1],line:parseInt(t[2],10)}}function x(e,t){if(S()){for(var n,r,i=e.stack.split("\n"),o=t.stack.split("\n"),a=-1,s=-1,c=0;c=s||(re=function(e){if(W.test(e))return!0;var t=O(e);return!!(t&&t.fileName===n&&a<=t.line&&t.line<=s)})}}function L(e){this._parent=e,this._promisesCreated=0;var t=this._length=1+(void 0===e?0:e._length);oe(this,L),t>32&&this.uncycle()}var P,R,A,N=n._getDomain,I=n._async,Y=e("./errors").Warning,F=e("./util"),H=F.canAttachTrace,W=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,z=/\((?:timers\.js):\d+:\d+\)/,U=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,B=null,q=null,V=!1,$=!(0==F.env("BLUEBIRD_DEBUG")),G=!(0==F.env("BLUEBIRD_WARNINGS")||!$&&!F.env("BLUEBIRD_WARNINGS")),J=!(0==F.env("BLUEBIRD_LONG_STACK_TRACES")||!$&&!F.env("BLUEBIRD_LONG_STACK_TRACES")),K=0!=F.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(G||!!F.env("BLUEBIRD_W_FORGOTTEN_RETURN"));n.prototype.suppressUnhandledRejections=function(){var e=this._target();e._bitField=-1048577&e._bitField|524288},n.prototype._ensurePossibleRejectionHandled=function(){0==(524288&this._bitField)&&(this._setRejectionIsUnhandled(),I.invokeLater(this._notifyUnhandledRejection,this,void 0))},n.prototype._notifyUnhandledRejectionIsHandled=function(){E("rejectionHandled",P,void 0,this)},n.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},n.prototype._returnedNonUndefined=function(){return 0!=(268435456&this._bitField)},n.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._settledValue();this._setUnhandledRejectionIsNotified(),E("unhandledRejection",R,e,this)}},n.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},n.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},n.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},n.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},n.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},n.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},n.prototype._warn=function(e,t,n){return g(e,t,n||this)},n.onPossiblyUnhandledRejection=function(e){var t=N();R="function"==typeof e?null===t?e:F.domainBind(t,e):void 0},n.onUnhandledRejectionHandled=function(e){var t=N();P="function"==typeof e?null===t?e:F.domainBind(t,e):void 0};var Q=function(){};n.longStackTraces=function(){if(I.haveItemsQueued()&&!ae.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");if(!ae.longStackTraces&&S()){var e=n.prototype._captureStackTrace,t=n.prototype._attachExtraTrace;ae.longStackTraces=!0,Q=function(){if(I.haveItemsQueued()&&!ae.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");n.prototype._captureStackTrace=e,n.prototype._attachExtraTrace=t,r.deactivateLongStackTraces(),I.enableTrampoline(),ae.longStackTraces=!1},n.prototype._captureStackTrace=h,n.prototype._attachExtraTrace=_,r.activateLongStackTraces(),I.disableTrampolineIfNecessary()}},n.hasLongStackTraces=function(){return ae.longStackTraces&&S()};var X=function(){try{if("function"==typeof CustomEvent){var e=new CustomEvent("CustomEvent");return F.global.dispatchEvent(e),function(e,t){var n=new CustomEvent(e.toLowerCase(),{detail:t,cancelable:!0});return!F.global.dispatchEvent(n)}}if("function"==typeof Event){var e=new Event("CustomEvent");return F.global.dispatchEvent(e),function(e,t){var n=new Event(e.toLowerCase(),{cancelable:!0});return n.detail=t,!F.global.dispatchEvent(n)}}var e=document.createEvent("CustomEvent");return e.initCustomEvent("testingtheevent",!1,!0,{}),F.global.dispatchEvent(e),function(e,t){var n=document.createEvent("CustomEvent");return n.initCustomEvent(e.toLowerCase(),!1,!0,t),!F.global.dispatchEvent(n)}}catch(e){}return function(){return!1}}(),Z=function(){return F.isNode?function(){return t.emit.apply(t,arguments)}:F.global?function(e){var t="on"+e.toLowerCase(),n=F.global[t];return!!n&&(n.apply(F.global,[].slice.call(arguments,1)),!0)}:function(){return!1}}(),ee={promiseCreated:i,promiseFulfilled:i,promiseRejected:i,promiseResolved:i,promiseCancelled:i,promiseChained:function(e,t,n){return{promise:t,child:n}},warning:function(e,t){return{warning:t}},unhandledRejection:function(e,t,n){return{reason:t,promise:n}},rejectionHandled:i},te=function(e){var t=!1;try{t=Z.apply(null,arguments)}catch(e){I.throwLater(e),t=!0}var n=!1;try{n=X(e,ee[e].apply(null,arguments))}catch(e){I.throwLater(e),n=!0}return n||t};n.config=function(e){if(e=Object(e),"longStackTraces"in e&&(e.longStackTraces?n.longStackTraces():!e.longStackTraces&&n.hasLongStackTraces()&&Q()),"warnings"in e){var t=e.warnings;ae.warnings=!!t,K=ae.warnings,F.isObject(t)&&"wForgottenReturn"in t&&(K=!!t.wForgottenReturn)}if("cancellation"in e&&e.cancellation&&!ae.cancellation){if(I.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");n.prototype._clearCancellationData=l,n.prototype._propagateFrom=d,n.prototype._onCancel=c,n.prototype._setOnCancel=u,n.prototype._attachCancellationCallback=s,n.prototype._execute=a,ne=d,ae.cancellation=!0}return"monitoring"in e&&(e.monitoring&&!ae.monitoring?(ae.monitoring=!0,n.prototype._fireEvent=te):!e.monitoring&&ae.monitoring&&(ae.monitoring=!1,n.prototype._fireEvent=o)),n},n.prototype._fireEvent=o,n.prototype._execute=function(e,t,n){try{e(t,n)}catch(e){return e}},n.prototype._onCancel=function(){},n.prototype._setOnCancel=function(e){},n.prototype._attachCancellationCallback=function(e){},n.prototype._captureStackTrace=function(){},n.prototype._attachExtraTrace=function(){},n.prototype._clearCancellationData=function(){},n.prototype._propagateFrom=function(e,t){};var ne=f,re=function(){return!1},ie=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;F.inherits(L,Error),r.CapturedTrace=L,L.prototype.uncycle=function(){var e=this._length;if(!(e<2)){for(var t=[],n={},r=0,i=this;void 0!==i;++r)t.push(i),i=i._parent;e=this._length=r;for(var r=e-1;r>=0;--r){var o=t[r].stack;void 0===n[o]&&(n[o]=r)}for(var r=0;r0&&(t[s-1]._parent=void 0,t[s-1]._length=1),t[r]._parent=void 0,t[r]._length=1;var c=r>0?t[r-1]:this;s=0;--l)t[l]._length=u,u++;return}}}},L.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var t=C(e),n=t.message,r=[t.stack],i=this;void 0!==i;)r.push(k(i.stack.split("\n"))),i=i._parent;w(r),b(r),F.notEnumerableProp(e,"stack",y(n,r)),F.notEnumerableProp(e,"__stackCleaned__",!0)}};var oe=function(){var e=/^\s*at\s*/,t=function(e,t){return"string"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():D(t)};if("number"==typeof Error.stackTraceLimit&&"function"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,B=e,q=t;var n=Error.captureStackTrace;return re=function(e){return W.test(e)},function(e,t){Error.stackTraceLimit+=6,n(e,t),Error.stackTraceLimit-=6}}var r=new Error;if("string"==typeof r.stack&&r.stack.split("\n")[0].indexOf("stackDetection@")>=0)return B=/@/,q=t,V=!0,function(e){e.stack=(new Error).stack};var i;try{throw new Error}catch(e){i="stack"in e}return"stack"in r||!i||"number"!=typeof Error.stackTraceLimit?(q=function(e,t){return"string"==typeof e?e:"object"!=typeof t&&"function"!=typeof t||void 0===t.name||void 0===t.message?D(t):t.toString()},null):(B=e,q=t,function(e){Error.stackTraceLimit+=6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit-=6})}();"undefined"!=typeof console&&void 0!==console.warn&&(A=function(e){console.warn(e)},F.isNode&&t.stderr.isTTY?A=function(e,t){var n=t?"":"";console.warn(n+e+"\n")}:F.isNode||"string"!=typeof(new Error).stack||(A=function(e,t){console.warn("%c"+e,t?"color: darkorange":"color: red")}));var ae={warnings:G,longStackTraces:!1,cancellation:!1,monitoring:!1};return J&&n.longStackTraces(),{longStackTraces:function(){return ae.longStackTraces},warnings:function(){return ae.warnings},cancellation:function(){return ae.cancellation},monitoring:function(){return ae.monitoring},propagateFromFunction:function(){return ne},boundValueFunction:function(){return p},checkForgottenReturns:m,setBounds:x,warn:g,deprecated:v,CapturedTrace:L,fireDomEvent:X,fireGlobalEvent:Z}}},{"./errors":12,"./util":36}],10:[function(e,t,n){"use strict";t.exports=function(e){function t(){return this.value}function n(){throw this.reason}e.prototype.return=e.prototype.thenReturn=function(n){return n instanceof e&&n.suppressUnhandledRejections(),this._then(t,void 0,void 0,{value:n},void 0)},e.prototype.throw=e.prototype.thenThrow=function(e){return this._then(n,void 0,void 0,{reason:e},void 0)},e.prototype.catchThrow=function(e){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:e},void 0);var t=arguments[1],r=function(){throw t};return this.caught(e,r)},e.prototype.catchReturn=function(n){if(arguments.length<=1)return n instanceof e&&n.suppressUnhandledRejections(),this._then(void 0,t,void 0,{value:n},void 0);var r=arguments[1];r instanceof e&&r.suppressUnhandledRejections();var i=function(){return r};return this.caught(n,i)}}},{}],11:[function(e,t,n){"use strict";t.exports=function(e,t){function n(){return o(this)}function r(e,n){return i(e,n,t,t)}var i=e.reduce,o=e.all;e.prototype.each=function(e){return i(this,e,t,0)._then(n,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(e){return i(this,e,t,t)},e.each=function(e,r){return i(e,r,t,0)._then(n,void 0,void 0,e,void 0)},e.mapSeries=r}},{}],12:[function(e,t,n){"use strict";function r(e,t){function n(r){if(!(this instanceof n))return new n(r);d(this,"message","string"==typeof r?r:t),d(this,"name",e),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return l(n,Error),n}function i(e){if(!(this instanceof i))return new i(e);d(this,"name","OperationalError"),d(this,"message",e),this.cause=e,this.isOperational=!0,e instanceof Error?(d(this,"message",e.message),d(this,"stack",e.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}var o,a,s=e("./es5"),c=s.freeze,u=e("./util"),l=u.inherits,d=u.notEnumerableProp,f=r("Warning","warning"),p=r("CancellationError","cancellation error"),h=r("TimeoutError","timeout error"),_=r("AggregateError","aggregate error");try{o=TypeError,a=RangeError}catch(e){o=r("TypeError","type error"),a=r("RangeError","range error")}for(var m="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),v=0;v1?e.cancelPromise._reject(t):e.cancelPromise._cancel(),e.cancelPromise=null,!0)}function a(){return c.call(this,this.promise._target()._settledValue())}function s(e){if(!o(this,e))return d.e=e,d}function c(e){var r=this.promise,c=this.handler;if(!this.called){this.called=!0;var u=this.isFinallyHandler()?c.call(r._boundValue()):c.call(r._boundValue(),e);if(void 0!==u){r._setReturnedNonUndefined();var f=n(u,r);if(f instanceof t){if(null!=this.cancelPromise){if(f._isCancelled()){var p=new l("late cancellation observer");return r._attachExtraTrace(p),d.e=p,d}f.isPending()&&f._attachCancellationCallback(new i(this))}return f._then(a,s,void 0,this,void 0)}}}return r.isRejected()?(o(this),d.e=e,d):(o(this),e)}var u=e("./util"),l=t.CancellationError,d=u.errorObj;return r.prototype.isFinallyHandler=function(){return 0===this.type},i.prototype._resultCancelled=function(){o(this.finallyHandler)},t.prototype._passThrough=function(e,t,n,i){return"function"!=typeof e?this.then():this._then(n,i,void 0,new r(this,t,e),void 0)},t.prototype.lastly=t.prototype.finally=function(e){return this._passThrough(e,0,c,c)},t.prototype.tap=function(e){return this._passThrough(e,1,c)},r}},{"./util":36}],16:[function(e,t,n){"use strict";t.exports=function(t,n,r,i,o,a){function s(e,n,r){for(var o=0;o0&&"function"==typeof arguments[t]){e=arguments[t];var r}var i=[].slice.call(arguments);e&&i.pop();var r=new n(i).promise();return void 0!==e?r.spread(e):r}}},{"./util":36}],18:[function(e,t,n){"use strict";t.exports=function(t,n,r,i,o,a){function s(e,t,n,r){this.constructor$(e),this._promise._captureStackTrace();var i=u();this._callback=null===i?t:l.domainBind(i,t),this._preservedValues=r===o?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=[],p.invoke(this._asyncInit,this,void 0)}function c(e,n,i,o){if("function"!=typeof n)return r("expecting a function but got "+l.classString(n));var a=0;if(void 0!==i){if("object"!=typeof i||null===i)return t.reject(new TypeError("options argument must be an object but it is "+l.classString(i)));if("number"!=typeof i.concurrency)return t.reject(new TypeError("'concurrency' must be a number but it is "+l.classString(i.concurrency)));a=i.concurrency}return a="number"==typeof a&&isFinite(a)&&a>=1?a:0,new s(e,n,a,o).promise()}var u=t._getDomain,l=e("./util"),d=l.tryCatch,f=l.errorObj,p=t._async;l.inherits(s,n),s.prototype._asyncInit=function(){this._init$(void 0,-2)},s.prototype._init=function(){},s.prototype._promiseFulfilled=function(e,n){var r=this._values,o=this.length(),s=this._preservedValues,c=this._limit;if(n<0){if(n=-1*n-1,r[n]=e,c>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(c>=1&&this._inFlight>=c)return r[n]=e,this._queue.push(n),!1;null!==s&&(s[n]=e);var u=this._promise,l=this._callback,p=u._boundValue();u._pushContext();var h=d(l).call(p,e,n,o),_=u._popContext();if(a.checkForgottenReturns(h,_,null!==s?"Promise.filter":"Promise.map",u),h===f)return this._reject(h.e),!0;var m=i(h,this._promise);if(m instanceof t){m=m._target();var v=m._bitField;if(0==(50397184&v))return c>=1&&this._inFlight++,r[n]=m,m._proxy(this,-1*(n+1)),!1;if(0==(33554432&v))return 0!=(16777216&v)?(this._reject(m._reason()),!0):(this._cancel(),!0);h=m._value()}r[n]=h}return++this._totalResolved>=o&&(null!==s?this._filter(r,s):this._resolve(r),!0)},s.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,n=this._values;e.length>0&&this._inFlight1){o.deprecated("calling Promise.try with more than 1 argument");var u=arguments[1],l=arguments[2];c=a.isArray(u)?s(e).apply(l,u):s(e).call(l,u)}else c=s(e)();var d=r._popContext();return o.checkForgottenReturns(c,d,"Promise.try",r),r._resolveFromSyncValue(c),r},t.prototype._resolveFromSyncValue=function(e){e===a.errorObj?this._rejectCallback(e.e,!1):this._resolveCallback(e,!0)}}},{"./util":36}],20:[function(e,t,n){"use strict";function r(e){return e instanceof Error&&l.getPrototypeOf(e)===Error.prototype}function i(e){var t;if(r(e)){t=new u(e),t.name=e.name,t.message=e.message,t.stack=e.stack;for(var n=l.keys(e),i=0;i1){var n,r=new Array(t-1),i=0;for(n=0;n0&&"function"!=typeof e&&"function"!=typeof t){var n=".then() only accepts functions but was passed: "+h.classString(e);arguments.length>1&&(n+=", "+h.classString(t)),this._warn(n)}return this._then(e,t,void 0,void 0,void 0)},o.prototype.done=function(e,t){this._then(e,t,void 0,void 0,void 0)._setIsFinal()},o.prototype.spread=function(e){return"function"!=typeof e?f("expecting a function but got "+h.classString(e)):this.all()._then(e,void 0,void 0,k,void 0)},o.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},o.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new T(this).promise()},o.prototype.error=function(e){return this.caught(h.originatesFromRejection,e)},o.getNewLibraryCopy=n.exports,o.is=function(e){return e instanceof o},o.fromNode=o.fromCallback=function(e){var t=new o(w);t._captureStackTrace();var n=arguments.length>1&&!!Object(arguments[1]).multiArgs,r=P(e)(x(t,n));return r===L&&t._rejectCallback(r.e,!0),t._isFateSealed()||t._setAsyncGuaranteed(),t},o.all=function(e){return new T(e).promise()},o.cast=function(e){var t=C(e);return t instanceof o||(t=new o(w),t._captureStackTrace(),t._setFulfilled(),t._rejectionHandler0=e),t},o.resolve=o.fulfilled=o.cast,o.reject=o.rejected=function(e){var t=new o(w);return t._captureStackTrace(),t._rejectCallback(e,!0),t},o.setScheduler=function(e){if("function"!=typeof e)throw new y("expecting a function but got "+h.classString(e));return v.setScheduler(e)},o.prototype._then=function(e,t,n,r,i){var a=void 0!==i,s=a?i:new o(w),c=this._target(),l=c._bitField;a||(s._propagateFrom(this,3),s._captureStackTrace(),void 0===r&&0!=(2097152&this._bitField)&&(r=0!=(50397184&l)?this._boundValue():c===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,s));var d=u();if(0!=(50397184&l)){var f,p,_=c._settlePromiseCtx;0!=(33554432&l)?(p=c._rejectionHandler0,f=e):0!=(16777216&l)?(p=c._fulfillmentHandler0,f=t,c._unsetRejectionIsUnhandled()):(_=c._settlePromiseLateCancellationObserver,p=new b("late cancellation observer"),c._attachExtraTrace(p),f=t),v.invoke(_,c,{handler:null===d?f:"function"==typeof f&&h.domainBind(d,f),promise:s,receiver:r,value:p})}else c._addCallbacks(e,t,s,r,d);return s},o.prototype._length=function(){return 65535&this._bitField},o.prototype._isFateSealed=function(){return 0!=(117506048&this._bitField)},o.prototype._isFollowing=function(){return 67108864==(67108864&this._bitField)},o.prototype._setLength=function(e){this._bitField=-65536&this._bitField|65535&e},o.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},o.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseRejected",this)},o.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent("promiseResolved",this)},o.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},o.prototype._isFinal=function(){return(4194304&this._bitField)>0},o.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},o.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},o.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},o.prototype._setAsyncGuaranteed=function(){v.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},o.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[4*e-4+3];if(t!==p)return void 0===t&&this._isBound()?this._boundValue():t},o.prototype._promiseAt=function(e){return this[4*e-4+2]},o.prototype._fulfillmentHandlerAt=function(e){return this[4*e-4+0]},o.prototype._rejectionHandlerAt=function(e){return this[4*e-4+1]},o.prototype._boundValue=function(){},o.prototype._migrateCallback0=function(e){var t=(e._bitField,e._fulfillmentHandler0),n=e._rejectionHandler0,r=e._promise0,i=e._receiverAt(0);void 0===i&&(i=p),this._addCallbacks(t,n,r,i,null)},o.prototype._migrateCallbackAt=function(e,t){var n=e._fulfillmentHandlerAt(t),r=e._rejectionHandlerAt(t),i=e._promiseAt(t),o=e._receiverAt(t);void 0===o&&(o=p),this._addCallbacks(n,r,i,o,null)},o.prototype._addCallbacks=function(e,t,n,r,i){var o=this._length();if(o>=65531&&(o=0,this._setLength(0)),0===o)this._promise0=n,this._receiver0=r,"function"==typeof e&&(this._fulfillmentHandler0=null===i?e:h.domainBind(i,e)),"function"==typeof t&&(this._rejectionHandler0=null===i?t:h.domainBind(i,t));else{var a=4*o-4;this[a+2]=n,this[a+3]=r,"function"==typeof e&&(this[a+0]=null===i?e:h.domainBind(i,e)),"function"==typeof t&&(this[a+1]=null===i?t:h.domainBind(i,t))}return this._setLength(o+1),o},o.prototype._proxy=function(e,t){this._addCallbacks(void 0,void 0,t,e,null)},o.prototype._resolveCallback=function(e,t){if(0==(117506048&this._bitField)){if(e===this)return this._rejectCallback(l(),!1);var n=C(e,this);if(!(n instanceof o))return this._fulfill(e);t&&this._propagateFrom(n,2);var r=n._target();if(r===this)return void this._reject(l());var i=r._bitField;if(0==(50397184&i)){var a=this._length();a>0&&r._migrateCallback0(this);for(var s=1;s>>16)){if(e===this){var n=l();return this._attachExtraTrace(n),this._reject(n)}this._setFulfilled(),this._rejectionHandler0=e,(65535&t)>0&&(0!=(134217728&t)?this._settlePromises():v.settlePromises(this))}},o.prototype._reject=function(e){var t=this._bitField;if(!((117506048&t)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=e,this._isFinal())return v.fatalError(e,h.isNode);(65535&t)>0?v.settlePromises(this):this._ensurePossibleRejectionHandled()}},o.prototype._fulfillPromises=function(e,t){for(var n=1;n0){if(0!=(16842752&e)){var n=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,n,e),this._rejectPromises(t,n)}else{var r=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,r,e),this._fulfillPromises(t,r)}this._setLength(0)}this._clearCancellationData()},o.prototype._settledValue=function(){var e=this._bitField;return 0!=(33554432&e)?this._rejectionHandler0:0!=(16777216&e)?this._fulfillmentHandler0:void 0},o.defer=o.pending=function(){return j.deprecated("Promise.defer","new Promise"),{promise:new o(w),resolve:a,reject:s}},h.notEnumerableProp(o,"_makeSelfResolutionError",l),e("./method")(o,w,C,f,j),e("./bind")(o,w,C,j),e("./cancel")(o,T,f,j),e("./direct_resolve")(o),e("./synchronous_inspection")(o),e("./join")(o,T,C,w,v,u),o.Promise=o,o.version="3.4.7",e("./map.js")(o,T,f,C,w,j),e("./call_get.js")(o),e("./using.js")(o,f,C,D,w,j),e("./timers.js")(o,w,j),e("./generators.js")(o,f,w,C,r,j),e("./nodeify.js")(o),e("./promisify.js")(o,w),e("./props.js")(o,T,C,f),e("./race.js")(o,w,C,f),e("./reduce.js")(o,T,f,C,w,j),e("./settle.js")(o,T,j),e("./some.js")(o,T,f),e("./filter.js")(o,w),e("./each.js")(o,w),e("./any.js")(o),h.toFastProperties(o),h.toFastProperties(o.prototype),c({a:1}),c({b:2}),c({c:3}),c(1),c(function(){}),c(void 0),c(!1),c(new o(w)),j.setBounds(m.firstLineError,h.lastLineError),o}},{"./any.js":1,"./async":2,"./bind":3,"./call_get.js":5,"./cancel":6,"./catch_filter":7,"./context":8,"./debuggability":9,"./direct_resolve":10,"./each.js":11,"./errors":12,"./es5":13,"./filter.js":14,"./finally":15,"./generators.js":16,"./join":17,"./map.js":18,"./method":19,"./nodeback":20,"./nodeify.js":21,"./promise_array":23,"./promisify.js":24,"./props.js":25,"./race.js":27,"./reduce.js":28,"./settle.js":30,"./some.js":31,"./synchronous_inspection":32,"./thenables":33,"./timers.js":34,"./using.js":35,"./util":36}],23:[function(e,t,n){"use strict";t.exports=function(t,n,r,i,o){function a(e){switch(e){case-2:return[];case-3:return{}}}function s(e){var r=this._promise=new t(n);e instanceof t&&r._propagateFrom(e,3),r._setOnCancel(this),this._values=e,this._length=0,this._totalResolved=0,this._init(void 0,-2)}var c=e("./util");c.isArray;return c.inherits(s,o),s.prototype.length=function(){return this._length},s.prototype.promise=function(){return this._promise},s.prototype._init=function e(n,o){var s=r(this._values,this._promise);if(s instanceof t){s=s._target();var u=s._bitField;if(this._values=s,0==(50397184&u))return this._promise._setAsyncGuaranteed(),s._then(e,this._reject,void 0,this,o);if(0==(33554432&u))return 0!=(16777216&u)?this._reject(s._reason()):this._cancel();s=s._value()}if(null===(s=c.asArray(s))){var l=i("expecting an array or an iterable object but got "+c.classString(s)).reason();return void this._promise._rejectCallback(l,!1)}if(0===s.length)return void(-5===o?this._resolveEmptyArray():this._resolve(a(o)));this._iterate(s)},s.prototype._iterate=function(e){var n=this.getActualLength(e.length);this._length=n,this._values=this.shouldCopyValues()?new Array(n):this._values;for(var i=this._promise,o=!1,a=null,s=0;s=this._length&&(this._resolve(this._values),!0)},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(e){return this._totalResolved++,this._reject(e),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var e=this._values;if(this._cancel(),e instanceof t)e.cancel();else for(var n=0;n=this._length){var n;if(this._isMap)n=f(this._values);else{n={};for(var r=this.length(),i=0,o=this.length();i>1},t.prototype.props=function(){return a(this)},t.props=function(e){return a(e)}}},{"./es5":13,"./util":36}],26:[function(e,t,n){"use strict";function r(e,t,n,r,i){for(var o=0;o=this._length&&(this._resolve(this._values),!0)},i.prototype._promiseFulfilled=function(e,t){var n=new o;return n._bitField=33554432,n._settledValueField=e,this._promiseResolved(t,n)},i.prototype._promiseRejected=function(e,t){var n=new o;return n._bitField=16777216,n._settledValueField=e,this._promiseResolved(t,n)},t.settle=function(e){return r.deprecated(".settle()",".reflect()"),new i(e).promise()},t.prototype.settle=function(){return t.settle(this)}}},{"./util":36}],31:[function(e,t,n){"use strict";t.exports=function(t,n,r){function i(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function o(e,t){if((0|t)!==t||t<0)return r("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var n=new i(e),o=n.promise();return n.setHowMany(t),n.init(),o}var a=e("./util"),s=e("./errors").RangeError,c=e("./errors").AggregateError,u=a.isArray,l={};a.inherits(i,n),i.prototype._init=function(){if(this._initialized){if(0===this._howMany)return void this._resolve([]);this._init$(void 0,-5);var e=u(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},i.prototype.init=function(){this._initialized=!0,this._init()},i.prototype.setUnwrap=function(){this._unwrap=!0},i.prototype.howMany=function(){return this._howMany},i.prototype.setHowMany=function(e){this._howMany=e},i.prototype._promiseFulfilled=function(e){return this._addFulfilled(e),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},i.prototype._promiseRejected=function(e){return this._addRejected(e),this._checkOutcome()},i.prototype._promiseCancelled=function(){return this._values instanceof t||null==this._values?this._cancel():(this._addRejected(l),this._checkOutcome())},i.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var e=new c,t=this.length();t0?this._reject(e):this._cancel(),!0}return!1},i.prototype._fulfilled=function(){return this._totalResolved},i.prototype._rejected=function(){return this._values.length-this.length()},i.prototype._addRejected=function(e){this._values.push(e)},i.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},i.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},i.prototype._getRangeError=function(e){var t="Input array must contain at least "+this._howMany+" items but contains only "+e+" items";return new s(t)},i.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(e,t){return o(e,t)},t.prototype.some=function(e){return o(this,e)},t._SomePromiseArray=i}},{"./errors":12,"./util":36}],32:[function(e,t,n){"use strict";t.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValueField=e._isFateSealed()?e._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}t.prototype._settledValue=function(){return this._settledValueField};var n=t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},r=t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},i=t.prototype.isFulfilled=function(){return 0!=(33554432&this._bitField)},o=t.prototype.isRejected=function(){return 0!=(16777216&this._bitField)},a=t.prototype.isPending=function(){return 0==(50397184&this._bitField)},s=t.prototype.isResolved=function(){return 0!=(50331648&this._bitField)};t.prototype.isCancelled=function(){return 0!=(8454144&this._bitField)},e.prototype.__isCancelled=function(){return 65536==(65536&this._bitField)},e.prototype._isCancelled=function(){return this._target().__isCancelled()},e.prototype.isCancelled=function(){return 0!=(8454144&this._target()._bitField)},e.prototype.isPending=function(){return a.call(this._target())},e.prototype.isRejected=function(){return o.call(this._target())},e.prototype.isFulfilled=function(){return i.call(this._target())},e.prototype.isResolved=function(){return s.call(this._target())},e.prototype.value=function(){return n.call(this._target())},e.prototype.reason=function(){var e=this._target();return e._unsetRejectionIsUnhandled(),r.call(e)},e.prototype._value=function(){return this._settledValue()},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},e.PromiseInspection=t}},{}],33:[function(e,t,n){"use strict";t.exports=function(t,n){function r(e,r){if(l(e)){if(e instanceof t)return e;var i=o(e);if(i===u){r&&r._pushContext();var c=t.reject(i.e);return r&&r._popContext(),c}if("function"==typeof i){if(a(e)){var c=new t(n);return e._then(c._fulfill,c._reject,void 0,c,null),c}return s(e,i,r)}}return e}function i(e){return e.then}function o(e){try{return i(e)}catch(e){return u.e=e,u}}function a(e){try{return d.call(e,"_promise0")}catch(e){return!1}}function s(e,r,i){function o(e){s&&(s._resolveCallback(e),s=null)}function a(e){s&&(s._rejectCallback(e,d,!0),s=null)}var s=new t(n),l=s;i&&i._pushContext(),s._captureStackTrace(),i&&i._popContext();var d=!0,f=c.tryCatch(r).call(e,o,a);return d=!1,s&&f===u&&(s._rejectCallback(f.e,!0,!0),s=null),l}var c=e("./util"),u=c.errorObj,l=c.isObject,d={}.hasOwnProperty;return r}},{"./util":36}],34:[function(e,t,n){"use strict";t.exports=function(t,n,r){function i(e){this.handle=e}function o(e){return clearTimeout(this.handle),e}function a(e){throw clearTimeout(this.handle),e}var s=e("./util"),c=t.TimeoutError;i.prototype._resultCancelled=function(){clearTimeout(this.handle)};var u=function(e){return l(+this).thenReturn(e)},l=t.delay=function(e,o){var a,s;return void 0!==o?(a=t.resolve(o)._then(u,null,null,e,void 0),r.cancellation()&&o instanceof t&&a._setOnCancel(o)):(a=new t(n),s=setTimeout(function(){a._fulfill()},+e),r.cancellation()&&a._setOnCancel(new i(s)),a._captureStackTrace()),a._setAsyncGuaranteed(),a};t.prototype.delay=function(e){return l(e,this)};var d=function(e,t,n){var r;r="string"!=typeof t?t instanceof Error?t:new c("operation timed out"):new c(t),s.markAsOriginatingFromRejection(r),e._attachExtraTrace(r),e._reject(r),null!=n&&n.cancel()};t.prototype.timeout=function(e,t){e=+e;var n,s,c=new i(setTimeout(function(){n.isPending()&&d(n,t,s)},e));return r.cancellation()?(s=this.then(),n=s._then(o,a,void 0,c,void 0),n._setOnCancel(c)):n=this._then(o,a,void 0,c,void 0),n}}},{"./util":36}],35:[function(e,t,n){"use strict";t.exports=function(t,n,r,i,o,a){function s(e){setTimeout(function(){throw e},0)}function c(e){var t=r(e);return t!==e&&"function"==typeof e._isDisposable&&"function"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}function u(e,n){function i(){if(a>=u)return l._fulfill();var o=c(e[a++]);if(o instanceof t&&o._isDisposable()){try{o=r(o._getDisposer().tryDispose(n),e.promise)}catch(e){return s(e)}if(o instanceof t)return o._then(i,s,null,null,null)}i()}var a=0,u=e.length,l=new t(o);return i(),l}function l(e,t,n){this._data=e,this._promise=t,this._context=n}function d(e,t,n){this.constructor$(e,t,n)}function f(e){return l.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}function p(e){this.length=e,this.promise=null,this[e-1]=null}var h=e("./util"),_=e("./errors").TypeError,m=e("./util").inherits,v=h.errorObj,g=h.tryCatch,y={};l.prototype.data=function(){return this._data},l.prototype.promise=function(){return this._promise},l.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():y},l.prototype.tryDispose=function(e){var t=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=t!==y?this.doDispose(t,e):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},l.isDisposer=function(e){return null!=e&&"function"==typeof e.resource&&"function"==typeof e.tryDispose},m(d,l),d.prototype.doDispose=function(e,t){return this.data().call(e,e,t)},p.prototype._resultCancelled=function(){for(var e=this.length,n=0;n0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},t.prototype.disposer=function(e){if("function"==typeof e)return new d(e,this,i());throw new _}}},{"./errors":12,"./util":36}],36:[function(e,r,i){"use strict";function o(){try{var e=x;return x=null,e.apply(this,arguments)}catch(e){return O.e=e,O}}function a(e){return x=e,o}function s(e){return null==e||!0===e||!1===e||"string"==typeof e||"number"==typeof e}function c(e){return"function"==typeof e||"object"==typeof e&&null!==e}function u(e){return s(e)?new Error(g(e)):e}function l(e,t){var n,r=e.length,i=new Array(r+1);for(n=0;n1,r=t.length>0&&!(1===t.length&&"constructor"===t[0]),i=A.test(e+"")&&j.names(e).length>0;if(n||r||i)return!0}return!1}catch(e){return!1}}function _(e){function t(){}t.prototype=e;for(var n=8;n--;)new t;return e}function m(e){return N.test(e)}function v(e,t,n){for(var r=new Array(e),i=0;i10||e[0]>0}(),z.isNode&&z.toFastProperties(t);try{throw new Error}catch(e){z.lastLineError=e}r.exports=z},{"./es5":13}]},{},[4])(4)}),"undefined"!=typeof window&&null!==window?window.P=window.Promise:"undefined"!=typeof self&&null!==self&&(self.P=self.Promise)}).call(t,n(54),n(44),n(184).setImmediate)},function(e,t,n){function r(e,t){this._id=e,this._clearFn=t}var i=Function.prototype.apply;t.setTimeout=function(){return new r(i.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new r(i.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(185),t.setImmediate=setImmediate,t.clearImmediate=clearImmediate},function(e,t,n){(function(e,t){!function(e,n){"use strict";function r(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1&&void 0!==arguments[1])||arguments[1],n=e.parent(),r=n.innerHeight();t&&n.data("scrivito_last_inner_height",r);var i=(0,m.default)(u(e)).chain().map($).reduce(function(e,n){var r=n.outerHeight(!0);return t&&n.data("scrivito_last_outer_height",r),e+r},0).value();return Math.max(0,r-i)}function d(e){e.css("height",l(e)),e.addClass("scrivito_height_done")}function f(e){return(0,m.default)(u(e)).map(h)}function p(e){var t=e.parent(),n=t.data("scrivito_last_inner_height"),r=t.innerHeight();if(n!==r){var i=n||"";return scrivito.describe_element(t)+" unexpectantly changed it's height from "+i+" to "+r}}function h(e){var t=$(e),n=t.data("scrivito_last_outer_height"),r=t.outerHeight(!0);if(n!==r){var i=void 0===n?"":n;return scrivito.describe_element(t)+"unexpectantly changed it's height from "+i+" to "+r}}Object.defineProperty(t,"__esModule",{value:!0}),t.updateAutoHeightFor=r,t.invalidateAutoHeight=i,t.invalidateAutoHeightFor=o,t.processAutoHeight=a,t.autoHeightErrors=s;var _=n(0),m=function(e){return e&&e.__esModule?e:{default:e}}(_),v=!1},function(e,t,n){"use strict";function r(){return(0,i.useRailsEngine)()}Object.defineProperty(t,"__esModule",{value:!0}),t.useCustomUsers=void 0;var i=n(48);t.useCustomUsers=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n
").addClass("scrivito_overlay scrivito_show").appendTo($("#scrivito_editing")),$("
").addClass("scrivito-content-browser show").appendTo($("#scrivito_editing")),$(document).off("keyup.scrivito_content_browser"),$(document).on("keyup.scrivito_content_browser",function(e){return function(t){return e.keyUpHandler(t)}}(this))},_startReact:function(e){var t,n,a;return n=$.Deferred(),t=new i(e.filters,e.filterContext),a=s(),this._reactApp=ReactDOM.render(React.createElement(o,{store:a},React.createElement(r,{initialFilter:t,baseQuery:e.baseQuery,promise:n,options:e})),this._getLastContentBrowserElement()),n},keyUpHandler:function(e){if(e.keyCode===this.ESCAPE)return e.preventDefault(),this.close()},_getLastElementByClassName:function(e){var t;return t=document.getElementsByClassName(e),c.last(t)},_getLastOverlayElement:function(){return this._getLastElementByClassName("scrivito_overlay scrivito_show")},_getLastContentBrowserElement:function(){return this._getLastElementByClassName("scrivito-content-browser show")},_remove:function(e){return e.parentNode.removeChild(e)},close:function(){if(this._isOpen)return ReactDOM.unmountComponentAtNode(this._getLastContentBrowserElement()),this._remove(this._getLastOverlayElement()),this._remove(this._getLastContentBrowserElement()),this._getLastContentBrowserElement()||$(document).off("keyup.scrivito_content_browser"),this._isOpen=!1},open:function(e){var t;return null==e&&(e={}),e.hasOwnProperty("basePreset")||(e.basePreset=this.basePreset),e.baseQuery||(e.baseQuery=this.baseQuery),e.editingView=scrivito.in_editable_view(),this._isOpen=!0,this._loadModal(),this._center(),t=this._startReact(e),t.always(function(e){return function(){return e.close()}}(this)),$(window).resize(function(e){return function(){return e._center()}}(this)),t}},a._reset(),e.exports=a},function(e,t,n){"use strict";function r(e){return{type:i,viewMode:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.setViewMode=r;var i=(t.THUMBNAIL_VIEW="THUMBNAIL_VIEW",t.TABLE_VIEW="TABLE_VIEW",t.SET_VIEW_MODE="SET_VIEW_MODE")},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){var r=n(82),i=r.Symbol;e.exports=i},function(e,t,n){function r(e){return"symbol"==typeof e||o(e)&&i(e)==a}var i=n(136),o=n(96),a="[object Symbol]";e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n]/,c=n(332),u=c(function(e,t){if(e.namespaceURI!==o.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML=""+t+"";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(i.canUseDOM){var l=document.createElement("div");l.innerHTML=" ",""===l.innerHTML&&(u=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),l=null}e.exports=u},function(e,t,n){"use strict";function r(e){var t=""+e,n=o.exec(t);if(!n)return t;var r,i="",a=0,s=0;for(a=n.index;a]/;e.exports=i},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,_)||(e[_]=p++,d[e[_]]={}),d[e[_]]}var i,o=n(28),a=n(324),s=n(672),c=n(396),u=n(673),l=n(328),d={},f=!1,p=0,h={topAbort:"abort",topAnimationEnd:u("animationend")||"animationend",topAnimationIteration:u("animationiteration")||"animationiteration",topAnimationStart:u("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:u("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},_="_reactListenersID"+String(Math.random()).slice(2),m=o({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(m.handleTopLevel),m.ReactEventListener=e}},setEnabled:function(e){m.ReactEventListener&&m.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!m.ReactEventListener||!m.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,i=r(n),o=a.registrationNameDependencies[e],s=0;s=15){var n=scrivito.ObjCreationHistory.recent(t).map(function(t){return u.default.findWhere(e.props.getObjClasses(),{name:t})});return u.default.sortBy(n,function(e){return e.title()})}},_getPopularObjClasses:function(){var e=this,t=u.default.take(u.default.intersection(scrivito.popular_obj_classes,this._getClassNames()),5);if(t.length>0)return t.map(function(t){return u.default.findWhere(e.props.getObjClasses(),{name:t})})},_getAllObjClasses:function(){return u.default.sortBy(this.props.getObjClasses(),function(e){return e.title()})},_getClassNames:function(){return u.default.pluck(this.props.getObjClasses(),"name")}}),p=scrivito.legacyCreateConnectedComponent({displayName:"ChooseObjClassDialog.ObjClassList",propTypes:{name:React.PropTypes.string.isRequired,classes:React.PropTypes.array,selectObjClass:React.PropTypes.func.isRequired},render:function(){var e=this;return this.props.classes?React.createElement("div",{className:"section section_"+this.props.name},React.createElement("div",{className:"divider"},React.createElement("span",null,scrivito.t("choose_obj_class_dialog."+this.props.name))),this.props.classes.map(function(t){return React.createElement(h,{key:t.name,objClass:t,selectObjClass:e.props.selectObjClass})})):null}}),h=scrivito.legacyCreateConnectedComponent({displayName:"ChooseObjClassDialog.ObjClassItem",propTypes:{objClass:React.PropTypes.object.isRequired,selectObjClass:React.PropTypes.func.isRequired},render:function(){var e=void 0;return e=this.props.objClass.useRailsThumbnailHtml()?React.createElement(_,{objClass:this.props.objClass}):React.createElement(m,{objClass:this.props.objClass}),React.createElement("div",{className:"obj_class_item",onClick:this._selectObjClass},e)},_selectObjClass:function(e){e.preventDefault(),e.stopPropagation(),this.props.selectObjClass(this.props.objClass)}}),_=scrivito.legacyCreateConnectedComponent({displayName:"ChooseObjClassDialog.ObjClassItemFromServer",propTypes:{objClass:React.PropTypes.object.isRequired},render:function(){return React.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.objClass.railsThumbnailHtml()}})},_scrivitoRenderWhileLoading:function(){return React.createElement(scrivito.Loader,null)},_scrivitoRenderOnError:function(){return React.createElement(scrivito.LoaderError,null)}}),m=scrivito.legacyCreateConnectedComponent({displayName:"ChooseObjClassDialog.ObjClassItemFromClient",propTypes:{objClass:React.PropTypes.object.isRequired},render:function(){var e=void 0;e=this.props.objClass.thumbnail()?React.createElement("img",{src:this.props.objClass.thumbnail()}):React.createElement("i",{className:"scrivito_icon scrivito_icon_scrivito"});var t=this.props.objClass.title()||this.props.objClass.name;return React.createElement("div",null,React.createElement("div",{className:"thumbnail"},e),React.createElement("div",{className:"title"},t),React.createElement("div",{className:"description"},this.props.objClass.description()))}});t.default=d},function(e,t,n){"use strict";(function(t){/** * filesize * * @copyright 2017 Jason Mulligan * @license BSD-3-Clause * @version 3.5.6 */ !function(t){function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],a=0,s=void 0,c=void 0,u=void 0,l=void 0,d=void 0,f=void 0,p=void 0,h=void 0,_=void 0,m=void 0,v=void 0,g=void 0,y=void 0,b=void 0;if(isNaN(e))throw new Error("Invalid arguments");return u=!0===t.bits,v=!0===t.unix,c=t.base||2,m=void 0!==t.round?t.round:v?1:2,g=void 0!==t.spacer?t.spacer:v?"":" ",b=t.symbols||t.suffixes||{},y=2===c?t.standard||"jedec":"jedec",_=t.output||"string",d=!0===t.fullform,f=t.fullforms instanceof Array?t.fullforms:[],s=void 0!==t.exponent?t.exponent:-1,h=Number(e),p=h<0,l=c>2?1e3:1024,p&&(h=-h),(-1===s||isNaN(s))&&(s=Math.floor(Math.log(h)/Math.log(l)))<0&&(s=0),s>8&&(s=8),0===h?(n[0]=0,n[1]=v?"":i[y][u?"bits":"bytes"][s]):(a=h/(2===c?Math.pow(2,10*s):Math.pow(1e3,s)),u&&(a*=8)>=l&&s<8&&(a/=l,s++),n[0]=Number(a.toFixed(s>0?m:0)),n[1]=10===c&&1===s?u?"kb":"kB":i[y][u?"bits":"bytes"][s],v&&(n[1]="jedec"===y?n[1].charAt(0):s>0?n[1].replace(/B$/,""):n[1],r.test(n[1])&&(n[0]=Math.floor(n[0]),n[1]=""))),p&&(n[0]=-n[0]),n[1]=b[n[1]]||n[1],"array"===_?n:"exponent"===_?s:"object"===_?{value:n[0],suffix:n[1],symbol:n[1]}:(d&&(n[1]=f[s]?f[s]:o[y][s]+(u?"bit":"byte")+(1===n[0]?"":"s")),n.join(g))}var r=/^(b|B)$/,i={iec:{bits:["b","Kib","Mib","Gib","Tib","Pib","Eib","Zib","Yib"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},o={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]};n.partial=function(e){return function(t){return n(t,e)}},e.exports=n}("undefined"!=typeof window&&window)}).call(t,n(44))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=void 0;if(e instanceof a.default)t=d.default;else{if(!(e instanceof c.default))throw new u.InternalError("Expect an instance of BasicObj or BasicWidget");t=p.default}return t.find(e.objClass())}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=r(o),s=n(14),c=r(s),u=n(1),l=n(26),d=r(l),f=n(31),p=r(f);t.default=i},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n0&&e.push(new a.default([t],n))}),e}},{key:"findActiveSubFilterItem",value:function(e){var t=this;if(e.isActive())return{node:e,parents:[]};var n=void 0;return(0,s.some)(e.children,function(r){if(n=t.findActiveSubFilterItem(r))return n.parents.push(e),n}),n}}]),e}();t.default=c},function(e,t,n){"use strict";function r(e){return{type:a,objId:e}}function i(e){return{type:c,mode:e}}function o(){return{type:s}}Object.defineProperty(t,"__esModule",{value:!0}),t.toggleSelect=r,t.changeSelectionMode=i,t.deselectObjs=o;var a=t.TOGGLE_SELECT="TOGGLE_SELECT",s=t.DESELECT_OBJS="DESELECT_OBJS",c=t.CHANGE_SELECTION_MODE="CHANGE_SELECTION_MODE";t.SINGLE_SELECTION_MODE="single",t.MULTI_SELECTION_MODE="multi"},function(e,t,n){"use strict";function r(e,t,n){var r=e.slice(0);if(n>=r.length)for(var i=n-r.length;1+i--;)r.push(void 0);return r.splice(n,0,r.splice(t,1)[0]),r}function i(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;rt?t:n}function s(e){return"px"===e.substr(-2)?parseFloat(e):0}function c(e){var t=window.getComputedStyle(e);return{top:s(t.marginTop),right:s(t.marginRight),bottom:s(t.marginBottom),left:s(t.marginLeft)}}function u(e,t){var n=t.displayName||t.name;return n?e+"("+n+")":e}Object.defineProperty(t,"__esModule",{value:!0}),t.arrayMove=r,t.omit=i,t.closest=o,t.limit=a,t.getElementMargin=c,t.provideDisplayName=u;t.events={start:["touchstart","mousedown"],move:["touchmove","mousemove"],end:["touchend","touchcancel","mouseup"]},t.vendorPrefix=function(){if("undefined"==typeof window||"undefined"==typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];switch(t){case"ms":return"ms";default:return t&&t.length?t[0].toUpperCase()+t.substr(1):""}}()},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t0&&n(l)?t>1?r(l,t-1,n,a,s):i(s,l):a||(s[s.length]=l)}return s}var i=n(568),o=n(1e3);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0,clientOffset:null},n=t.publishSource,r=t.clientOffset,i=t.getSourceClientOffset;(0,d.default)((0,p.default)(e),"Expected sourceIds to be an array.");var o=this.getMonitor(),a=this.getRegistry();(0,d.default)(!o.isDragging(),"Cannot call beginDrag while dragging.");for(var s=0;s=0;u--)if(o.canDragSource(e[u])){c=e[u];break}if(null!==c){var l=null;r&&((0,d.default)("function"==typeof i,"When clientOffset is provided, getSourceClientOffset must be a function."),l=i(c));var f=a.getSource(c),h=f.beginDrag(o,c);(0,d.default)((0,_.default)(h),"Item must be an object."),a.pinSource(c);var m=a.getSourceType(c);return{type:g,itemType:m,item:h,sourceId:c,clientOffset:r,sourceClientOffset:l,isSourcePublic:n}}}function o(){if(this.getMonitor().isDragging())return{type:y}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.clientOffset,r=void 0===n?null:n;(0,d.default)((0,p.default)(e),"Expected targetIds to be an array.");var i=e.slice(0),o=this.getMonitor(),a=this.getRegistry();(0,d.default)(o.isDragging(),"Cannot call hover while not dragging."),(0,d.default)(!o.didDrop(),"Cannot call hover after drop.");for(var s=0;s=0;f--){var h=i[f],_=a.getTargetType(h);(0,v.default)(_,l)||i.splice(f,1)}for(var m=0;m0&&void 0!==arguments[0]?arguments[0]:{},n=this.getMonitor(),r=this.getRegistry();(0,d.default)(n.isDragging(),"Cannot call drop while not dragging."),(0,d.default)(!n.didDrop(),"Cannot call drop twice during one drag operation.");var i=n.getTargetIds().filter(n.canDropOnTarget,n);i.reverse(),i.forEach(function(i,o){var a=r.getTarget(i),s=a.drop(n,i);(0,d.default)(void 0===s||(0,_.default)(s),"Drop result must either be an object or undefined."),void 0===s&&(s=0===o?{}:n.getDropResult()),e.store.dispatch({type:w,dropResult:u({},t,s)})})}function c(){var e=this.getMonitor(),t=this.getRegistry();(0,d.default)(e.isDragging(),"Cannot call endDrag while not dragging.");var n=e.getSourceId();return t.getSource(n,!0).endDrag(e,n),t.unpinSource(),{type:k}}Object.defineProperty(t,"__esModule",{value:!0}),t.END_DRAG=t.DROP=t.HOVER=t.PUBLISH_DRAG_SOURCE=t.BEGIN_DRAG=void 0;var u=Object.assign||function(e){for(var t=1;t-1||a("96",e),!u.plugins[n]){t.extractEvents||a("97",e),u.plugins[n]=t;var r=t.eventTypes;for(var o in r)i(r[o],t,o)||a("98",o,e)}}}function i(e,t,n){u.eventNameDispatchConfigs.hasOwnProperty(n)&&a("99",n),u.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var i in r)if(r.hasOwnProperty(i)){var s=r[i];o(s,t,n)}return!0}return!!e.registrationName&&(o(e.registrationName,t,n),!0)}function o(e,t,n){u.registrationNameModules[e]&&a("100",e),u.registrationNameModules[e]=t,u.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=n(20),s=(n(9),null),c={},u={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s&&a("101"),s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];c.hasOwnProperty(n)&&c[n]===i||(c[n]&&a("102",n),c[n]=i,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return u.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var i=u.registrationNameModules[n[r]];if(i)return i}}return null},_resetEventPlugins:function(){s=null;for(var e in c)c.hasOwnProperty(e)&&delete c[e];u.plugins.length=0;var t=u.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=u.registrationNameModules;for(var i in r)r.hasOwnProperty(i)&&delete r[i]}};e.exports=u},function(e,t,n){"use strict";function r(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel"===e}function i(e){return"topMouseMove"===e||"topTouchMove"===e}function o(e){return"topMouseDown"===e||"topTouchStart"===e}function a(e,t,n,r){var i=e.type||"unknown-event";e.currentTarget=v.getNodeFromInstance(r),t?_.invokeGuardedCallbackWithCatch(i,n,e):_.invokeGuardedCallback(i,n,e),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var i=0;i0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function o(e,t){var n=s.get(e);if(!n){return null}return n}var a=n(20),s=(n(78),n(132)),c=(n(67),n(69)),u=(n(9),n(12),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){u.validateCallback(t,n);var i=o(e);if(!i)return null;i._pendingCallbacks?i._pendingCallbacks.push(t):i._pendingCallbacks=[t],r(i)},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=o(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t){var n=o(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(e,t){var n=o(e,"setState");if(n){(n._pendingStateQueue||(n._pendingStateQueue=[])).push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e&&a("122",t,i(e))}});e.exports=u},function(e,t,n){"use strict";var r=(n(28),n(58)),i=(n(12),r);e.exports=i},function(e,t,n){"use strict";function r(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,t>=32||13===t?t:0}e.exports=r},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}return e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,t,n){var r,i,o;/*! * jQuery UI Widget 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ !function(a){i=[n(60),n(133)],r=a,void 0!==(o="function"==typeof r?r.apply(t,i):r)&&(e.exports=o)}(function(e){var t=0,n=Array.prototype.slice;return e.cleanData=function(t){return function(n){var r,i,o;for(o=0;null!=(i=n[o]);o++)try{r=e._data(i,"events"),r&&r.remove&&e(i).triggerHandler("remove")}catch(e){}t(n)}}(e.cleanData),e.widget=function(t,n,r){var i,o,a,s={},c=t.split(".")[0];t=t.split(".")[1];var u=c+"-"+t;return r||(r=n,n=e.Widget),e.isArray(r)&&(r=e.extend.apply(null,[{}].concat(r))),e.expr[":"][u.toLowerCase()]=function(t){return!!e.data(t,u)},e[c]=e[c]||{},i=e[c][t],o=e[c][t]=function(e,t){if(!this._createWidget)return new o(e,t);arguments.length&&this._createWidget(e,t)},e.extend(o,i,{version:r.version,_proto:e.extend({},r),_childConstructors:[]}),a=new n,a.options=e.widget.extend({},a.options),e.each(r,function(t,r){if(!e.isFunction(r))return void(s[t]=r);s[t]=function(){function e(){return n.prototype[t].apply(this,arguments)}function i(e){return n.prototype[t].apply(this,e)}return function(){var t,n=this._super,o=this._superApply;return this._super=e,this._superApply=i,t=r.apply(this,arguments),this._super=n,this._superApply=o,t}}()}),o.prototype=e.widget.extend(a,{widgetEventPrefix:i?a.widgetEventPrefix||t:t},s,{constructor:o,namespace:c,widgetName:t,widgetFullName:u}),i?(e.each(i._childConstructors,function(t,n){var r=n.prototype;e.widget(r.namespace+"."+r.widgetName,o,n._proto)}),delete i._childConstructors):n._childConstructors.push(o),e.widget.bridge(t,o),o},e.widget.extend=function(t){for(var r,i,o=n.call(arguments,1),a=0,s=o.length;a",options:{classes:{},disabled:!1,create:null},_createWidget:function(n,r){r=e(r||this.defaultElement||this)[0],this.element=e(r),this.uuid=t++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},r!==this&&(e.data(r,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===r&&this.destroy()}}),this.document=e(r.style?r.ownerDocument:r.document||r),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),n),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,function(e,n){t._removeClass(n,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,n){var r,i,o,a=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(a={},r=t.split("."),t=r.shift(),r.length){for(i=a[t]=e.widget.extend({},this.options[t]),o=0;o2?s-2:0),u=2;u-1&&e%1==0&&e-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){function r(e,t){if(i(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(s.test(e)||!a.test(e)||null!=t&&e in Object(t))}var i=n(50),o=n(225),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=r},function(e,t,n){function r(e,t){return!!(null==e?0:e.length)&&i(e,t,0)>-1}var i=n(1027);e.exports=r},function(e,t){function n(e,t,n){for(var r=-1,i=null==e?0:e.length;++r1&&void 0!==arguments[1]?arguments[1]:{},n=t.widget,r=t.position,i=m.default.validClassNamesForField(e),s=a(i,1),c=s[0],u=(0,l.default)(c);return new h.default({id:"scrivito.sdk.create_widget",title:scrivito.t("commands.create_widget.title",u),icon:"",present:function(){return!scrivito.editingContext.isDiffMode()&&(n||f.default.isEmpty(e.get()))&&1===i.length},execute:function(){var t=m.default.get(c),i=t.newWidgetWithDefaults().then(function(t){return o(e,t,n,r)});return scrivito.withSavingOverlay(i)}})}function o(e,t,n,r){n?"bottom"===r?t.insertAfter(n):t.insertBefore(n):e.update([t]),(0,c.default)(e)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.default=i;var s=n(111),c=r(s),u=n(608),l=r(u),d=n(0),f=r(d),p=n(11),h=r(p),_=n(31),m=r(_)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.widget,r=t.position,i=h.default.validClassesForField(e);return new f.default({id:"scrivito.sdk.choose_and_create_widget",title:scrivito.t("commands.choose_and_create_widget.title"),icon:"",present:function(){return!scrivito.editingContext.isDiffMode()&&(n||l.default.isEmpty(e.get()))&&1!==i.length},disabled:function(){if(!i.length)return scrivito.t("commands.choose_and_create_widget.disabled")},execute:function(){return a(i).then(function(t){if(t){scrivito.ObjCreationHistory.store(t.name);var i=t.newWidgetWithDefaults().then(function(t){return o(e,t,n,r)});return scrivito.withSavingOverlay(i)}})}})}function o(e,t,n,r){n?"bottom"===r?t.insertAfter(n):t.insertBefore(n):e.update([t]),(0,c.default)(e)}function a(e){return m.default.open(function(){return e},"create_widget")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var s=n(111),c=r(s),u=n(0),l=r(u),d=n(11),f=r(d),p=n(31),h=r(p),_=n(233),m=r(_)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return"_"+(0,b.camelCase)(e)}function o(){ReactDOM.unmountComponentAtNode(T.get(0)),E.resolve(D)}Object.defineProperty(t,"__esModule",{value:!0});var a=n(3),s=r(a),c=n(10),u=r(c),l=n(1212),d=r(l),f=n(0),p=r(f),h=n(8),_=r(h),m=n(11),v=r(m),g=n(220),y=r(g),b=n(15),w=n(53),k=r(w),M=n(56),C=n(48),T=void 0,E=void 0,D=!1,j=scrivito.legacyCreateConnectedComponent({displayName:"scrivito.WorkspaceChangesDialog",statics:{open:function(){return T=$("#workspace_changes_dialog"),E=new u.default,scrivito.withDialogBehaviour(T,E.promise,{escape:function(){scrivito.ContextMenu.close(),o()}}),scrivito.renderReactComponent(React.createElement(j,null),T),E.promise},reset:function(){D=!1}},getInitialState:function(){return{numberOfChanges:100,orderBy:{attribute:"last_changed",direction:"desc"},isTransferMode:!1,objsToTransfer:[]}},render:function(){var e=s.default.where("_modification","equals",["new","edited","deleted"]).order(i(this.state.orderBy.attribute),this.state.orderBy.direction).includeDeleted().iterator(),t=scrivito.loadAllUntil(e,this.state.numberOfChanges),n=t.done,r=t.objs,a=void 0,c=void 0;if(this.state.isTransferMode){var u=this.state.objsToTransfer.length;a=React.createElement(I,{objsToTransferCount:u,transferChanges:this._transferChanges}),c=React.createElement(F,{objsToTransferCount:u,disableTransferMode:this._disableTransferMode})}else a=React.createElement(N,{objsCount:r.length,enableTransferMode:this._enableTransferMode}),c=React.createElement(Y,{closeDialog:o});var l=!n&&r.length.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or .":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,s=m.createElement(Y,{child:t});if(e){var c=k.get(e);a=c._processChildContext(c._context)}else a=D;var l=f(n);if(l){var d=l._currentElement,h=d.props.child;if(O(h,t)){var _=l._renderedComponent.getPublicInstance(),v=r&&function(){r.call(_)};return F._updateRootComponent(l,s,a,n,v),_}F.unmountComponentAtNode(n)}var g=i(n),y=g&&!!o(g),b=u(n),w=y&&!l&&!b,M=F._renderNewRootComponent(s,n,w,a)._renderedComponent.getPublicInstance();return r&&r.call(M),M},render:function(e,t,n){return F._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){l(e)||p("40");var t=f(e);if(!t){u(e),1===e.nodeType&&e.hasAttribute(L);return!1}return delete N[t._instance.rootID],E.batchedUpdates(c,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,o,a){if(l(t)||p("41"),o){var s=i(t);if(M.canReuseMarkup(e,s))return void g.precacheNode(n,s);var c=s.getAttribute(M.CHECKSUM_ATTR_NAME);s.removeAttribute(M.CHECKSUM_ATTR_NAME);var u=s.outerHTML;s.setAttribute(M.CHECKSUM_ATTR_NAME,c);var d=e,f=r(d,u),_=" (client) "+d.substring(f-20,f+20)+"\n (server) "+u.substring(f-20,f+20);t.nodeType===R&&p("42",_)}if(t.nodeType===R&&p("43"),a.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);h.insertTreeBefore(t,e,null)}else S(t,e),g.precacheNode(n,t.firstChild)}};e.exports=F},function(e,t,n){"use strict";function r(e){for(var t;(t=e._renderedNodeType)===i.COMPOSITE;)e=e._renderedComponent;return t===i.HOST?e._renderedComponent:t===i.EMPTY?null:void 0}var i=n(403);e.exports=r},function(e,t,n){function r(e,t,n){var r=u[t];if(void 0===r&&(r=o(t)),r){if(void 0===n)return e.style[r];e.style[r]=l(r,n)}}function i(e,t){for(var n in t)t.hasOwnProperty(n)&&r(e,n,t[n])}function o(e){var t=c(e),n=s(t);return u[t]=u[e]=u[n]=n,n}function a(){2===arguments.length?"string"==typeof arguments[1]?arguments[0].style.cssText=arguments[1]:i(arguments[0],arguments[1]):r(arguments[0],arguments[1],arguments[2])}var s=n(728),c=n(729),u={float:"cssFloat"},l=n(732);e.exports=a,e.exports.set=a,e.exports.get=function(e,t){return Array.isArray(t)?t.reduce(function(t,n){return t[n]=r(e,n||""),t},{}):r(e,t||"")}},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,n,o,a){var s=r(t),c=i[e][r(t)];return 2===s&&(c=c[n?0:1]),c.replace(/%d/i,t)}},a=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"];return e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,i,o,a){var s=n(t),c=r[e][n(t)];return 2===s&&(c=c[i?0:1]),c.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];return e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};return e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};return e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10,r=e%100-n,i=e>=100?100:null;return e+(t[n]||t[r]||t[i])},week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===r?n?"хвіліна":"хвіліну":"h"===r?n?"гадзіна":"гадзіну":e+" "+t(i[r],+e)}return e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:n,mm:n,h:n,hh:n,d:"дзень",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};return e.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};return e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e,t,n){return e+" "+i({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function n(e){switch(r(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function r(e){return e>9?r(e%10):e}function i(e,t){return 2===t?o(e):e}function o(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}return e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:n},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}return e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("ca",{months:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort:"gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e){return e>1&&e<5&&1!=~~(e/10)}function n(e,n,r,i){var o=e+" ";switch(r){case"s":return n||i?"pár sekund":"pár sekundami";case"m":return n?"minuta":i?"minutu":"minutou";case"mm":return n||i?o+(t(e)?"minuty":"minut"):o+"minutami";case"h":return n?"hodina":i?"hodinu":"hodinou";case"hh":return n||i?o+(t(e)?"hodiny":"hodin"):o+"hodinami";case"d":return n||i?"den":"dnem";case"dd":return n||i?o+(t(e)?"dny":"dní"):o+"dny";case"M":return n||i?"měsíc":"měsícem";case"MM":return n||i?o+(t(e)?"měsíce":"měsíců"):o+"měsíci";case"y":return n||i?"rok":"rokem";case"yy":return n||i?o+(t(e)?"roky":"let"):o+"lety"}}var r="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),i="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");return e.defineLocale("cs",{months:r,monthsShort:i,monthsParse:function(e,t){var n,r=[];for(n=0;n<12;n++)r[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return r}(r,i),shortMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(i),longMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(r),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},ordinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},ordinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t=e,n="",r=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return t>20?n=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(n=r[t]),e+n},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY HH:mm"},calendar:{sameDay:"[I dag kl.] LT",nextDay:"[I morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[I går kl.] LT",lastWeek:"[sidste] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}return e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];return e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}return e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,n){var r=this._calendarEl[e],i=n&&n.hours();return t(r)&&(r=r.apply(n)),r.replace("{}",i%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},ordinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),weekdaysShort:"Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-an de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"je %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},ordinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");return e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");return e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e,t,n,r){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}return e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};return e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چندین ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e,t,r,i){var o="";switch(r){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"m":return i?"minuutin":"minuutti";case"mm":o=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":o=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":o=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":o=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":o=i?"vuoden":"vuotta"}return o=n(e,i)+" "+o}function n(e,t){return e<10?t?i[e]:r[e]:e}var r="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),i=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",r[7],r[8],r[9]];return e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(e){return e+(1===e?"er":"")},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(e){return e+(1===e?"er":"e")}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(e){return e+(1===e?"er":"e")},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");return e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],n=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],r=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],i=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],o=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"];return e.defineLocale("gd",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:i,weekdaysMin:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},ordinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}return e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e,t,n,r){var i=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return i+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return i+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return i+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return i+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return i+(r||t?" év":" éve")}return""}function n(e){return(e?"":"[múlt] ")+"["+r[this.day()]+"] LT[-kor]"}var r="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");return e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,r,i){var o=e+" ";switch(r){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?o+(n||i?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return t(e)?o+(n||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(i?"daga":"dögum"):n?o+"dagur":o+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return t(e)?n?o+"mánuðir":o+(i?"mánuði":"mánuðum"):n?o+"mánuður":o+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return t(e)?o+(n||i?"ár":"árum"):o+(n||i?"ár":"ári")}}return e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),weekdaysShort:"Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),weekdaysMin:"Do_Lu_Ma_Me_Gi_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",LTS:"Ah時m分s秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時m分",LLLL:"YYYY年M月D日Ah時m分 dddd"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},ordinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},ordinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};return e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h시 m분",LTS:"A h시 m분 s초",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h시 m분",LLLL:"YYYY년 MMMM D일 dddd A h시 m분"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"일분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},ordinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};return e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e,t,n,r){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[n][0]:i[n][1]}function n(e){return i(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e}function r(e){return i(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e}function i(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10,n=e/10;return i(0===t?n:t)}if(e<1e4){for(;e>=10;)e/=10;return i(e)}return e/=1e3,i(e)}return e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:r,s:"e puer Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},ordinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"}function n(e,t,n,r){return t?i(n)[0]:r?i(n)[1]:i(n)[2]}function r(e){return e%10==0||e>10&&e<20}function i(e){return a[e].split("_")}function o(e,t,o,a){var s=e+" ";return 1===e?s+n(e,t,o[0],a):t?s+(r(e)?i(o)[1]:i(o)[0]):a?s+i(o)[1]:s+(r(e)?i(o)[1]:i(o)[2])}var a={m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};return e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:t,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},ordinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function n(e,n,r){return e+" "+t(o[r],e,n)}function r(e,n,r){return t(o[r],e,n)}function i(e,t){return t?"dažas sekundes":"dažām sekundēm"}var o={m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};return e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:i,m:r,mm:n,h:r,hh:n,d:r,dd:n,M:r,MM:n,y:r,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t={words:{m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};return e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e,t,n,r){var i="";if(t)switch(n){case"s":i="काही सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे"}else switch(n){case"s":i="काही सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां"}return i.replace(/%d/i,e)}var n={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return n[e]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात्री"===t?e<4?e:e+12:"सकाळी"===t?e:"दुपारी"===t?e>=10?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};return e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;return e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;return e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};return e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function n(e,n,r){var i=e+" ";switch(r){case"m":return n?"minuta":"minutę";case"mm":return i+(t(e)?"minuty":"minut");case"h":return n?"godzina":"godzinę";case"hh":return i+(t(e)?"godziny":"godzin");case"MM":return i+(t(e)?"miesiące":"miesięcy");case"yy":return i+(t(e)?"lata":"lat")}}var r="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");return e.defineLocale("pl",{months:function(e,t){return""===t?"("+i[e.month()]+"|"+r[e.month()]+")":/D MMMM/.test(t)?i[e.month()]:r[e.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:n,mm:n,h:n,hh:n,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:n,y:"rok",yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº"})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e,t,n){var r={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},i=" ";return(e%100>=20||e>=100&&e%100==0)&&(i=" de "),e+i+r[n]}return e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===r?n?"минута":"минуту":e+" "+t(i[r],+e)}var r=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];return e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:n,mm:n,h:"час",hh:n,d:"день",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},ordinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e){return e>1&&e<5}function n(e,n,r,i){var o=e+" ";switch(r){case"s":return n||i?"pár sekúnd":"pár sekundami";case"m":return n?"minúta":i?"minútu":"minútou";case"mm":return n||i?o+(t(e)?"minúty":"minút"):o+"minútami";case"h":return n?"hodina":i?"hodinu":"hodinou";case"hh":return n||i?o+(t(e)?"hodiny":"hodín"):o+"hodinami";case"d":return n||i?"deň":"dňom";case"dd":return n||i?o+(t(e)?"dni":"dní"):o+"dňami";case"M":return n||i?"mesiac":"mesiacom";case"MM":return n||i?o+(t(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return n||i?"rok":"rokom";case"yy":return n||i?o+(t(e)?"roky":"rokov"):o+"rokmi"}}var r="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),i="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");return e.defineLocale("sk",{months:r,monthsShort:i,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"m":return t?"ena minuta":"eno minuto";case"mm":return i+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return i+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami";case"d":return t||r?"en dan":"enim dnem";case"dd":return i+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi";case"M":return t||r?"en mesec":"enim mesecem";case"MM":return i+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci";case"y":return t||r?"eno leto":"enim letom";case"yy":return i+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti"}}return e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t={words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};return e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t={words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};return e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},ordinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"e":1===t?"a":2===t?"a":"e")},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};return e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},ordinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sext_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Sex_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",m:"minutu ida",mm:"minutus %d",h:"horas ida",hh:"horas %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},ordinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"}function n(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"}function r(e,t,n,r){var o=i(e);switch(n){case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}function i(e){var t=Math.floor(e%1e3/100),n=Math.floor(e%100/10),r=e%10,i="";return t>0&&(i+=o[t]+"vatlh"),n>0&&(i+=(""!==i?" ":"")+o[n]+"maH"),r>0&&(i+=(""!==i?" ":"")+o[r]),""===i?"pagh":i}var o="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");return e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:t,past:n,s:"puS lup",m:"wa’ tup",mm:r,h:"wa’ rep",hh:r,d:"wa’ jaj",dd:r,M:"wa’ jar",MM:r,y:"wa’ DIS",yy:r},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};return e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(e){if(0===e)return e+"'ıncı";var n=e%10,r=e%100-n,i=e>=100?100:null;return e+(t[n]||t[r]||t[i])},week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e,t,n,r){var i={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r?i[n][0]:t?i[n][0]:i[n][1]}return e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";function t(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===r?n?"хвилина":"хвилину":"h"===r?n?"година":"годину":e+" "+t(i[r],+e)}function r(e,t){return{nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")}[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]}function i(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}return e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:r,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:i("[Сьогодні "),nextDay:i("[Завтра "),lastDay:i("[Вчора "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return i("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},ordinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},ordinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah点mm分",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah点mm分",llll:"YYYY年MMMD日ddddAh点mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:function(){return 0===this.minutes()?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return 0===this.minutes()?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return 0===this.minutes()?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var t,n;return t=e().startOf("week"),n=this.diff(t,"days")>=7?"[下]":"[本]",0===this.minutes()?n+"dddAh点整":n+"dddAh点mm"},lastWeek:function(){var t,n;return t=e().startOf("week"),n=this.unix()=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})})},function(e,t,n){!function(e,t){t(n(2))}(0,function(e){"use strict";return e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})})},function(e,t,n){var r,i,o;/*! * jQuery UI Mouse 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ !function(a){i=[n(60),n(521),n(133),n(343)],r=a,void 0!==(o="function"==typeof r?r.apply(t,i):r)&&(e.exports=o)}(function(e){var t=!1;return e(document).on("mouseup",function(){t=!1}),e.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).on("click."+this.widgetName,function(n){if(!0===e.data(n.target,t.widgetName+".preventClickEvent"))return e.removeData(n.target,t.widgetName+".preventClickEvent"),n.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(n){if(!t){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(n),this._mouseDownEvent=n;var r=this,i=1===n.which,o=!("string"!=typeof this.options.cancel||!n.target.nodeName)&&e(n.target).closest(this.options.cancel).length;return!(i&&!o&&this._mouseCapture(n))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){r.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(n)&&this._mouseDelayMet(n)&&(this._mouseStarted=!1!==this._mouseStart(n),!this._mouseStarted)?(n.preventDefault(),!0):(!0===e.data(n.target,this.widgetName+".preventClickEvent")&&e.removeData(n.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return r._mouseMove(e)},this._mouseUpDelegate=function(e){return r._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),n.preventDefault(),t=!0,!0))}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(n){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,n.target===this._mouseDownEvent.target&&e.data(n.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(n)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,t=!1,n.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})},function(e,t,n){var r,i,o;!function(a){i=[n(60),n(133)],r=a,void 0!==(o="function"==typeof r?r.apply(t,i):r)&&(e.exports=o)}(function(e){return e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},c.registerDefaultHelpers(this),u.registerDefaultDecorators(this)}t.__esModule=!0,t.HandlebarsEnvironment=i;var o=n(81),a=n(217),s=r(a),c=n(746),u=n(754),l=n(756),d=r(l);t.VERSION="4.0.5";t.COMPILER_REVISION=7;var f={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};t.REVISION_CHANGES=f;i.prototype={constructor:i,logger:d.default,log:d.default.log,registerHelper:function(e,t){if("[object Object]"===o.toString.call(e)){if(t)throw new s.default("Arg not supported with multiple helpers");o.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if("[object Object]"===o.toString.call(e))o.extend(this.partials,e);else{if(void 0===t)throw new s.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if("[object Object]"===o.toString.call(e)){if(t)throw new s.default("Arg not supported with multiple decorators");o.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]}};var p=d.default.log;t.log=p,t.createFrame=o.createFrame,t.logger=d.default},function(e,t,n){"use strict";function r(){scrivito.on("content",function(e){a.default.each(scrivito.WidgetlistFieldElement.all($(e)),function(e){i(e)})})}function i(e){var t=e.dom_element();e.widgetElements().length?t.removeClass("scrivito_empty_widget_field"):t.addClass("scrivito_empty_widget_field")}Object.defineProperty(t,"__esModule",{value:!0}),t.init=r,t.update=i;var o=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(){scrivito.on("content",function(e){if(scrivito.in_editable_view()){var t=scrivito.WidgetlistFieldElement.all($(e));if(h.default.each(t,o),scrivito.widgetElement.isWidgetElement($(e))){a(scrivito.cms_element.from_dom_element($(e)))}}})}function o(e){e.isEmpty()?s(e):(l(e),h.default.each(e.widgetElements(),a))}function a(e){c(e.dom_element(),e.widgetField(),e),u(e)}function s(e){u(e),c(e.dom_element(),e)}function c(e,t,n){e.get(0).scrivitoPrivateDropzone=function(){return new f.default(t,n)}}function u(e){e.dom_element().attr("data-scrivito-private-dropzone",!0)}function l(e){var t=e.dom_element();e.dom_element().removeAttr("data-scrivito-private-dropzone"),delete t.get(0).scrivitoPrivateDropzone}Object.defineProperty(t,"__esModule",{value:!0}),t.init=i,t.update=o;var d=n(797),f=r(d),p=n(0),h=r(p)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t,n){var r=n.anchorWidget,i=n.edge,o=n.isInnerObjMove,a=e;o||(a=e.copy()),e.remove(),r?"top"===i?a.insertBefore(r):a.insertAfter(r):t.update([a])}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.isCurrentPageCommand,r=function(){return a.default.getIncludingDeleted(e)},i="commands.add_subpage."+(n?"current_page":"child_list");return new l.default({id:"scrivito.sdk.add_subpage",title:scrivito.t(i+".title"),icon:"",tooltip:function(){return scrivito.t(i+".tooltip",(0,p.descriptionForObj)(r()))},disabled:function(){return scrivito.editingContext.isMutable()?r().path()?void 0:scrivito.t(i+".no_path"):scrivito.t(i+".published_workspace")},execute:function(){var e=r().path(),t=function(){return f.default.validPageClasses(e)};return c.default.open(t,"add_child_page").then(function(t){if(t){var n=t.createObjWithDefaults({_path:e+"/"+(0,h.randomId)()});return scrivito.withSavingOverlay(n)}}).then(function(e){e&&scrivito.applicationWindow.navigateTo(e.id())})}})}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=r(o),s=n(233),c=r(s),u=n(11),l=r(u),d=n(26),f=r(d),p=n(56),h=n(94);t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.isCurrentPageCommand,r=function(){return s.default.getIncludingDeleted(e)},i="commands.copy_obj_from_clipboard."+(n?"current_page":"child_list");return new u.default({id:"scrivito.sdk.copy_obj_from_clipboard",title:scrivito.t(i+".title"),tooltip:function(){var e=s.default.getIncludingDeleted(scrivito.objClipboard.objId),t=(0,p.descriptionForObj)(e),n=(0,p.descriptionForObj)(r());return scrivito.t(i+".tooltip",t,n)},icon:"",disabled:function(){if(!scrivito.editingContext.isMutable())return scrivito.t(i+".published_workspace");if(!scrivito.objClipboard.isPresent())return scrivito.t(i+".obj_not_present");if(!r().path())return scrivito.t(i+".no_path");var e=scrivito.objClipboard.objClass,t=d.default.validPageClasses(r().path()),n=(0,f.pluck)(t,"name");return(0,f.contains)(n,e)?void 0:scrivito.t(i+".paste_forbidden",n.join(", "))},execute:function(){return scrivito.withSavingOverlay(o(r().path())).then(function(e){return scrivito.applicationWindow.navigateTo(e)})}})}function o(e){var t=scrivito.objClipboard.serializedAttributes,n=s.default.addChildWithSerializedAttributes(e,t);return n.finishSaving().then(function(){return n.id()})}Object.defineProperty(t,"__esModule",{value:!0});var a=n(3),s=r(a),c=n(11),u=r(c),l=n(26),d=r(l),f=n(0),p=n(56);t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isCurrentPageCommand,r=function(){return c.default.getIncludingDeleted(e)},i="commands.move_obj_from_clipboard."+(n?"current_page":"child_list");return new f.default({id:"scrivito.sdk.move_obj_from_clipboard",title:scrivito.t(i+".title"),icon:"",tooltip:function(){var e=c.default.getIncludingDeleted(scrivito.objClipboard.objId),t=(0,l.descriptionForObj)(e),n=(0,l.descriptionForObj)(r());return scrivito.t(i+".tooltip",t,n)},disabled:function(){return scrivito.editingContext.isMutable()?scrivito.objClipboard.isPresent()?scrivito.objClipboard.workspaceId!==scrivito.editingContext.selectedWorkspaceId?scrivito.t(i+".forbidden.invalid_workspace"):r().path()?e===scrivito.objClipboard.objId?scrivito.t(i+".forbidden.obj_identity"):o(r().path(),i):scrivito.t(i+".forbidden.no_path"):scrivito.t(i+".forbidden.obj_not_present"):scrivito.t(i+".forbidden.invalid_workspace")},execute:function(){scrivito.withSavingOverlay(a(r().path()).then(function(){return scrivito.objClipboard.clear(),scrivito.applicationWindow.reload()}))}})}function o(e,t){var n=scrivito.objClipboard.objClass,r=h.default.validPageClasses(e),i=(0,u.pluck)(r,"name");if(!(0,u.contains)(i,n))return scrivito.t(t+".forbidden.invalid_class",i.join(", "))}function a(e){return c.default.fetch(scrivito.objClipboard.objId).then(function(t){return t.moveToAsync(e)})}Object.defineProperty(t,"__esModule",{value:!0});var s=n(3),c=r(s),u=n(0),l=n(56),d=n(11),f=r(d),p=n(26),h=r(p);t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=r(i),a=n(14),s=r(a),c=n(821),u=r(c),l=n(823),d=r(l),f=n(1),p=n(210),h=r(p),_=n(1108),m=r(_),v=scrivito.legacyCreateConnectedComponent({displayName:"PropertiesComponent",propTypes:{content:React.PropTypes.oneOfType([React.PropTypes.instanceOf(o.default),React.PropTypes.instanceOf(s.default)]).isRequired,updateSize:React.PropTypes.func},render:function(){var e=(0,u.default)(this.props.content);if(e.groups)return React.createElement(d.default,{content:this.props.content,groups:e.groups});if(e.iframeSrc)return React.createElement(m.default,{key:(0,h.default)(this.props.content),src:e.iframeSrc,updateSize:this.props.updateSize});throw new f.InternalError("Received invalid properties description")}});scrivito.PropertiesComponent=v,t.default=v},function(e,t,n){"use strict";function r(e){return e instanceof v.default?i(e):u(e)}function i(e){var t=[o(e)].concat(d(e),[a()]);return e.isBinary()&&t.push(s()),t.push(c()),{groups:t}}function o(e){return{title:scrivito.t("default_inspector_description_for_obj.group_general"),items:[{id:"system.tags"}].concat(f(e),[{id:"system.permalink"},{id:"system.history"}])}}function a(){return{title:scrivito.t("default_inspector_description_for_obj.group_backlinks"),items:[{id:"system.backlinks"}]}}function s(){return{title:scrivito.t("default_inspector_description_for_obj.group_binary_metadata"),items:[{id:"system.binaryMetadata"}]}}function c(){return{title:scrivito.t("default_inspector_description_for_obj.group_system"),items:[{id:"system.id"},{id:"system.path"},{id:"system.objClass"}]}}function u(e){var t=[],n=l(e);n&&t.push(n);var r=d(e);return t.push.apply(t,r),{groups:t}}function l(e){var t=f(e);if(t.length>0)return{title:scrivito.t("default_inspector_description_for_obj.group_general"),items:t}}function d(e){return(scrivito.AppConfig.propertiesGroupsForClass(e.objClass())||[]).map(function(e){return m(e)?e:{title:e.title,items:e.properties.map(h)}})}function f(e){var t=p(e);if(t.length>0)return t;var n=g.default(e);return n?n.localizedAttributes().map(function(e){return h(e.name)}):[]}function p(e){return(scrivito.AppConfig.generalPropertiesForClass(e.objClass())||[]).map(h)}function h(e){return{id:"attribute."+e,attribute:e}}function _(e){return u(e).groups.length>0}function m(e){return!!e.component}Object.defineProperty(t,"__esModule",{value:!0});var v=n(3),g=n(235);t.default=r,t.hasInspectorDescription=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return e?e.title()||"":""}function o(e){return(e&&"_blank"===e.target()?"active":"")+" scrivito_link_icon scrivito_icon_new_window"}function a(e){var t=e.onChange,n=e.onToggle,r=e.targetClass,i=e.title;return React.createElement("div",{className:"scrivito_link_content"},React.createElement("span",{className:"scrivito_link_icon scrivito_icon_title",title:scrivito.t("link_item_component.edit_link.title_placeholder")}),React.createElement("input",{type:"text",placeholder:scrivito.t("link_item_component.edit_link.title_placeholder"),onChange:t,value:i}),React.createElement("span",{className:r+" scrivito_icon_new_window_clickable",onClick:n,title:scrivito.t("link_item_component.edit_link.new_tab")}))}function s(e){var t=e.targetClass,n=e.title;return React.createElement("div",{className:"scrivito_link_content"},React.createElement("span",{className:"scrivito_link_icon scrivito_icon_title",title:scrivito.t("link_item_component.edit_link.title_placeholder")}),React.createElement("span",{className:"read_only"},n),React.createElement("span",{className:t,title:scrivito.t("link_item_component.edit_link.new_tab")}))}function c(e){var t=e.link,n=e.clear;return t?React.createElement("span",{className:"scrivito_icon scrivito_icon_cancel",onClick:n}):null}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=n(3),d=r(l),f=n(24),p=r(f),h=n(56),_=n(6),m=r(_),v=n(135),g=r(v),y=scrivito.legacyCreateConnectedComponent({displayName:"PropertiesComponent.LinkItem",propTypes:{link:React.PropTypes.instanceOf(p.default),readOnly:React.PropTypes.bool.isRequired,onChange:React.PropTypes.func.isRequired},render:function(){return this.props.readOnly?React.createElement(b,{link:this.props.link}):React.createElement("div",{className:"scrivito_link_item"},React.createElement("div",{className:"scrivito_link_content"},React.createElement("span",{className:"scrivito_link_icon scrivito_icon_link",title:scrivito.t("link_item_component.edit_link.url_placeholder")}),this._renderDestinationInput(),React.createElement(c,{clear:this._onDelete,link:this.props.link}),React.createElement("span",{className:"scrivito_link_icon scrivito_icon_content_browser",onClick:this._selectObj})),React.createElement(C,{link:this.props.link,onChange:this._onTitleChange,onToggle:this._onTargetToggle}))},_onDelete:function(e){e.preventDefault(),e.stopPropagation(),this.props.onChange(null)},_onTargetToggle:function(){var e="_blank"===this.props.link.target()?"":"_blank";this._signalUpdate({_target:e})},_onTitleChange:function(e){this._signalUpdate({_title:e.target.value})},_onUrlChange:function(e){var t=e.target.value;this._signalUpdate({_url:t,_objId:null})},_selectObj:function(e){var t=this;e.preventDefault(),e.stopPropagation();var n=this._isInternal()?this.props.link.objId():"",r=n?[n]:[];(0,g.default)({selection:r,selectionMode:"single",standAlone:!1}).then(function(e){var n=u(e,1),r=n[0],i=r?{_url:null,_objId:r}:{};t._signalUpdate(i)})},_signalUpdate:function(e){if(!this.props.link)return void this.props.onChange(this._buildNewLink(e));if(!e._url&&!e._objId&&void 0===e._title&&void 0===e._target)return void this.props.onChange(null);var t=this.props.link;for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);this.props.onChange(t)},_renderDestinationInput:function(){return this._isInternal()?React.createElement(k,{link:this.props.link,select:this._selectObj}):React.createElement(M,{link:this.props.link,onChange:this._onUrlChange})},_buildNewLink:function(e){return new p.default({obj:e._objId?d.default.get(e._objId):null,target:"",url:e._url||""})},_isInternal:function(){return this.props.link&&this.props.link.isInternal()}}),b=(0,m.default)(function(e){var t=e.link;return React.createElement("div",{className:"scrivito_link_item"},React.createElement("div",{className:"scrivito_link_content"},React.createElement("span",{className:"scrivito_link_icon scrivito_icon_link",title:scrivito.t("link_item_component.edit_link.url_placeholder")}),React.createElement(w,{link:t})),React.createElement(s,{targetClass:o(t),title:i(t)}))}),w=(0,m.default)(function(e){var t=e.link;return t?t.isInternal()?React.createElement(k,{link:t}):React.createElement("span",{className:"read_only"},t.url()):React.createElement("span",{className:"read_only"})}),k=(0,m.default)(function(e){var t=e.link,n=e.select;return React.createElement("span",{className:"read_only scrivito_link_description",onClick:n},React.createElement("span",{className:"scrivito_badge"},scrivito.t("link_item_component.edit_link.internal")),React.createElement("span",{className:"scrivito_margin"}),(0,h.titleForObj)(t.obj()))}),M=(0,m.default)(function(e){var t=e.link,n=e.onChange;return React.createElement("input",{type:"text",placeholder:scrivito.t("link_item_component.edit_link.url_placeholder"),onChange:n,value:t&&t.url()||""})}),C=(0,m.default)(function(e){var t=e.link,n=e.onChange,r=e.onToggle,c=o(t);return t?React.createElement(a,{onChange:n,onToggle:r,targetClass:c,title:i(t)}):React.createElement(s,{targetClass:c,title:""})});t.default=y},function(e,t,n){"use strict";function r(e,t){var n={};(0,i.each)(e,function(t,r){var i=s[r]||r;r!==i&&e.hasOwnProperty(i)?n[i]=e[i]:n[i]=t});var r=n.filters||t;return r&&(n.filters="function"==typeof r?r(n.filterContext||{}):r),n}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(221),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s={base_query:"baseQuery",base_preset:"basePreset",filter_context:"filterContext",selection_mode:"selectionMode"};t.default={open:function(e){return a.default.open(r(e,this.filters))},set base_preset(e){a.default.basePreset=e},get base_preset(){return a.default.basePreset},set base_query(e){a.default.baseQuery=e},get base_query(){return a.default.baseQuery},reset:function(){delete this.filters}}},function(e,t,n){var r,i,o,a;a=n(8),o=n(836),i=n(837),r=a({displayName:"DialogApp",dialogClassName:function(){return"scrivito_prompt_dialog scrivito_center_dialog scrivito_modal_prompt scrivito_show scrivito_red"},closeButtonText:function(){return"Close"},resolveAndClose:function(e){return this.props.promise.resolve(),this.closeDialog(e)},rejectAndClose:function(e){return this.props.promise.reject(),this.closeDialog(e)},closeDialog:function(e){return e.preventDefault(),ReactDOM.unmountComponentAtNode(ReactDOM.findDOMNode(this.props.container)),this.props.container.parentNode.removeChild(this.props.container)},render:function(){return React.createElement("div",null,React.createElement("div",{className:"scrivito_overlay two scrivito_show",style:{zIndex:4444444}}),React.createElement("div",{className:this.dialogClassName(),style:{zIndex:4444444}},React.createElement(o,{title:this.props.title,subtitle:this.props.subtitle}),React.createElement(i,{body:this.props.body}),React.createElement("div",{className:"scrivito_modal_footer"},React.createElement("a",{className:"scrivito_button scrivito_cancel",onClick:this.rejectAndClose},this.closeButtonText()))))}}),e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;nthis.container.offsetHeight},_isViewportAtBottom:function(){return this.container.scrollTop>=this.container.scrollHeight-2*this.container.offsetHeight},_childrenAndLoader:function(){var e;return e=[this.props.children],this.props.isLoading&&e.push(React.createElement(i,{key:"spinner"})),e}}),e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;nf))return!1;var h=l.get(e);if(h&&l.get(t))return h==t;var _=-1,m=!0,v=n&c?new i:void 0;for(l.set(e,t),l.set(t,e);++_0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case c.BEGIN_DRAG:return{initialSourceClientOffset:t.sourceClientOffset,initialClientOffset:t.clientOffset,clientOffset:t.clientOffset};case c.HOVER:return r(e.clientOffset,t.clientOffset)?e:s({},e,{clientOffset:t.clientOffset});case c.END_DRAG:case c.DROP:return u;default:return e}}function o(e){var t=e.clientOffset,n=e.initialClientOffset,r=e.initialSourceClientOffset;return t&&n&&r?{x:t.x+r.x-n.x,y:t.y+r.y-n.y}:null}function a(e){var t=e.clientOffset,n=e.initialClientOffset;return t&&n?{x:t.x-n.x,y:t.y-n.y}:null}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t=l&&(f=u,p=!1,t=new i(t));e:for(;++d0&&void 0!==arguments[0]&&arguments[0],arguments[1]),t=arguments[2];switch(e.type){case l.HOVER:break;case d.ADD_SOURCE:case d.ADD_TARGET:case d.REMOVE_TARGET:case d.REMOVE_SOURCE:return f;case l.BEGIN_DRAG:case l.PUBLISH_DRAG_SOURCE:case l.END_DRAG:case l.DROP:default:return p}var n=e.targetIds,r=t.targetIds,i=(0,s.default)(n,r),o=!1;if(0===i.length){for(var a=0;a0)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i,t.areDirty=o;var a=n(1031),s=r(a),c=n(1034),u=r(c),l=n(253),d=n(255),f=[],p=[]},function(e,t,n){function r(e,t,n){var r=-1,d=o,f=e.length,p=!0,h=[],_=h;if(n)p=!1,d=a;else if(f>=l){var m=t?null:c(e);if(m)return u(m);p=!1,d=s,_=new i}else _=t?[]:h;e:for(;++r, or turn it into a drag source or a drop target itself.")}}function i(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(0,a.isValidElement)(t)){return void e(t,n)}var i=t;r(i);var o=n?function(t){return e(t,n)}:e;return(0,c.default)(i,o)}}function o(e){var t={};return Object.keys(e).forEach(function(n){var r=e[n],o=i(r);t[n]=function(){return o}}),t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(25),s=n(1057),c=function(e){return e&&e.__esModule?e:{default:e}}(s)},function(e,t,n){"use strict";function r(e,t){return t===e||null!==t&&null!==e&&(0,o.default)(t,e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(367),o=function(e){return e&&e.__esModule?e:{default:e}}(i)},function(e,t,n){"use strict";function r(e,t){return"string"==typeof e||"symbol"===(void 0===e?"undefined":i(e))||t&&(0,a.default)(e)&&e.every(function(e){return r(e,!1)})}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=r;var o=n(50),a=function(e){return e&&e.__esModule?e:{default:e}}(o)},function(e,t,n){function r(e,t,n){"__proto__"==t&&i?i(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var i=n(586);e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSafari=t.isFirefox=void 0;var r=n(581),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.isFirefox=(0,i.default)(function(){return/firefox/i.test(navigator.userAgent)}),t.isSafari=(0,i.default)(function(){return Boolean(window.safari)})},function(e,t,n){var r=n(95),i=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},function(e,t,n){var r=n(1088),i=n(365),o=r?function(e){return r.get(e)}:i;e.exports=o},function(e,t,n){function r(e){for(var t=e.name+"",n=i[t],r=a.call(i,t)?n.length:0;r--;){var o=n[r],s=o.func;if(null==s||s==e)return o.name}return t}var i=n(1089),o=Object.prototype,a=o.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";function r(e,t){return(0,a.createClassForCustomAttributeItemDescription)(e,{render:function(){var t=this.props.field.get()||0,n="edit_"+e;return this.props.readOnly&&(n="display_"+e),React.createElement("input",{type:"number",className:n,value:t,step:1,disabled:this.props.readOnly,onChange:this._onChange})},_onChange:function(e){if(!this.props.readOnly){var n=t(e.target.value);o.default.isNaN(n)&&(n=0),this.props.field.update(n)}}})}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a=n(36);t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=a.default.find(e)||c.default.find(e);return t?t.title():e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(26),a=r(o),s=n(31),c=r(s)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){var r=[(0,a.default)(t),(0,l.default)(t),(0,c.default)(t)];scrivito.ContextMenu.open($(e),r,{mousePosition:n})}Object.defineProperty(t,"__esModule",{value:!0});var o=n(377),a=r(o),s=n(227),c=r(s),u=n(378),l=r(u);t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n1&&(n=React.createElement("span",{className:"amount"},"+",e.length-1)),React.createElement("span",{className:"scrivito_list_meta"},React.createElement("span",{className:"first-owner"},React.createElement("i",{className:"scrivito_icon scrivito_icon_user"}),t.description),n)},_scrivitoRenderWhileLoader:function(){return React.createElement(scrivito.Loader,null)},_scrivitoRenderOnError:function(){return React.createElement(scrivito.LoaderError,null)}});t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1237),o=r(i),a=n(112),s=r(a),c=n(53),u=r(c),l=n(617),d=r(l),f=scrivito.legacyCreateConnectedComponent({propTypes:{workspaces:React.PropTypes.arrayOf(React.PropTypes.instanceOf(u.default)).isRequired,isActive:React.PropTypes.bool,includeInaccessible:React.PropTypes.bool},render:function(){var e=this;return React.createElement("div",{className:"scrivito_property_padding"},React.createElement("ul",{className:"scrivito_list_big"},this.props.workspaces.map(function(t){return React.createElement(p,{key:t.id,workspace:t,isActive:e.props.isActive,includeInaccessible:e.props.includeInaccessible})})))}}),p=scrivito.legacyCreateConnectedComponent({propTypes:{workspace:React.PropTypes.instanceOf(u.default).isRequired,isActive:React.PropTypes.bool,includeInaccessible:React.PropTypes.bool},render:function(){return this._isDisplayable()?React.createElement("li",{className:this._className(),title:this._hint(),onClick:this._onClick},React.createElement("span",{className:"scrivito_list_group"},React.createElement("i",{className:this._iconClassName()})),React.createElement("span",{className:"scrivito_list_group"},React.createElement("span",{className:"scrivito_list_topic"},this.props.workspace.titleForEditor),React.createElement(d.default,{workspace:this.props.workspace})),React.createElement(h,{workspace:this.props.workspace})):null},_scrivitoRenderWhileLoader:function(){return React.createElement(scrivito.Loader,null)},_scrivitoRenderOnError:function(){return React.createElement(scrivito.LoaderError,null)},_className:function(){return this.props.isActive?"active":this._isDisabled()?"scrivito_disable":void 0},_hint:function(){return this._canReadWorkspace()?this._isSelectable()?this.props.workspace.isMutable()?scrivito.t("sidebar.workspace_list.workspace_item.hint.is_selectable"):scrivito.t("sidebar.workspace_list.workspace_item.hint.is_published"):scrivito.t("sidebar.workspace_list.workspace_item.hint"):scrivito.t("sidebar.workspace_list.workspace_item.hint.is_disabled")},_iconClassName:function(){var e="scrivito_icon scrivito_icon_ws";return this.props.workspace.isPublished()&&(e+="_published"),e},_onClick:function(e){this._isSelectable()&&(0,o.default)(this.props.workspace),e.stopPropagation()},_isDisplayable:function(){return this._canReadWorkspace()||this.props.includeInaccessible},_isSelectable:function(){return this._canReadWorkspace()&&!this.props.isActive},_isDisabled:function(){return this._isDisplayable()&&!this._isSelectable()},_canReadWorkspace:function(){return s.default.currentSession().can("read",this.props.workspace)}}),h=scrivito.legacyCreateConnectedComponent({propTypes:{workspace:React.PropTypes.instanceOf(u.default).isRequired},render:function(){return this._isPresent()?React.createElement("span",{className:"scrivito_list_group_action scrivito_delete_button",title:scrivito.t("sidebar.workspace_list.workspace_item.delete"),onClick:this._onClick},React.createElement("i",{className:"scrivito_icon scrivito_icon_trash"})):null},_isPresent:function(){return s.default.currentSession().can("delete",this.props.workspace)},_onClick:function(e){scrivito.deleteWorkspace(this.props.workspace),e.stopPropagation()}});t.default=f},,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(633);(function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t})(r).boot()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(){scrivito.client.init(),scrivito.uiAdapter=new l.default,$(o)}function o(){a(),s(),scrivito.init(scrivito.ui_config()),scrivito.Gui.start()}function a(){f.default.init(window),document.body.id="scrivito_ui",document.body.innerHTML='\n
\n \n
\n '}function s(){var e=$("iframe[name=scrivito_application]");scrivito.applicationWindow=scrivito.cmsWindow.from(e),e.on("load",c)}function c(){var e=scrivito.applicationDocument(),t=scrivito.applicationWindow.browserWindow(),n=!!e.pageConfig(),r=!!t.scrivito;n||r||(t.jQuery||(t.jQuery=jQuery),t.$||(t.$=$),e.installRailsApi(),e.connect())}Object.defineProperty(t,"__esModule",{value:!0}),t.boot=i,n(634),n(760),n(761),n(787),n(138),n(788),n(790),n(1119),n(1120),n(1125),n(1247),n(1248),n(221);var u=n(612),l=r(u),d=n(121),f=r(d),p=n(1249),h=r(p)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(25),o=r(i),a=n(79),s=r(a),c=n(719),u=r(c),l=n(724),d=n(2),f=r(d);n(342);var p=n(49),h=r(p),_=n(60),m=r(_);n(741),n(343),n(520),n(742);var v=n(29),g=r(v);window.React=o.default,window.ReactDOM=s.default,window.ReactCustomScrollbars={Scrollbars:l.Scrollbars},window.ReactTransitionGroup=u.default,window.$=m.default,window.jQuery=m.default,window.moment=f.default,window.URI=h.default,window.Handlebars=g.default},function(e,t,n){"use strict";function r(e){return(""+e).replace(b,"$&/")}function i(e,t){this.func=e,this.context=t,this.count=0}function o(e,t,n){var r=e.func,i=e.context;r.call(i,t,e.count++)}function a(e,t,n){if(null==e)return e;var r=i.getPooled(t,n);v(e,o,r),i.release(r)}function s(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function c(e,t,n){var i=e.result,o=e.keyPrefix,a=e.func,s=e.context,c=a.call(s,t,e.count++);Array.isArray(c)?u(c,i,n,m.thatReturnsArgument):null!=c&&(_.isValidElement(c)&&(c=_.cloneAndReplaceKey(c,o+(!c.key||t&&t.key===c.key?"":r(c.key)+"/")+n)),i.push(c))}function u(e,t,n,i,o){var a="";null!=n&&(a=r(n)+"/");var u=s.getPooled(t,a,i,o);v(e,c,u),s.release(u)}function l(e,t,n){if(null==e)return e;var r=[];return u(e,r,null,t,n),r}function d(e,t,n){return null}function f(e,t){return v(e,d,null)}function p(e){var t=[];return u(e,t,null,m.thatReturnsArgument),t}var h=n(636),_=n(127),m=n(58),v=n(384),g=h.twoArgumentPooler,y=h.fourArgumentPooler,b=/\/+/g;i.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(i,g),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(s,y);var w={forEach:a,map:l,mapIntoWithKeyPrefixInternal:u,count:f,toArray:p};e.exports=w},function(e,t,n){"use strict";var r=n(126),i=(n(9),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),o=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},a=function(e,t,n){var r=this;if(r.instancePool.length){var i=r.instancePool.pop();return r.call(i,e,t,n),i}return new r(e,t,n)},s=function(e,t,n,r){var i=this;if(i.instancePool.length){var o=i.instancePool.pop();return i.call(o,e,t,n,r),o}return new i(e,t,n,r)},c=function(e,t,n,r,i){var o=this;if(o.instancePool.length){var a=o.instancePool.pop();return o.call(a,e,t,n,r,i),a}return new o(e,t,n,r,i)},u=function(e){var t=this;e instanceof t||r("25"),e.destructor(),t.instancePool.length>"),C={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:function(){return o(w.thatReturns(null))}(),arrayOf:s,element:function(){function e(e,t,n,r,o){var a=e[t];if(!g.isValidElement(a)){return new i("Invalid "+y[r]+" `"+o+"` of type `"+_(a)+"` supplied to `"+n+"`, expected a single ReactElement.")}return null}return o(e)}(),instanceOf:c,node:function(){function e(e,t,n,r,o){if(!p(e[t])){return new i("Invalid "+y[r]+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}return null}return o(e)}(),objectOf:l,oneOf:u,oneOfType:d,shape:f};i.prototype=Error.prototype,e.exports=C},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";e.exports="15.4.0"},function(e,t,n){"use strict";function r(e){return o.isValidElement(e)||i("143"),e}var i=n(126),o=n(127);n(9);e.exports=r},function(e,t,n){"use strict";function r(){M||(M=!0,g.EventEmitter.injectReactEventListener(v),g.EventPluginHub.injectEventPluginOrder(s),g.EventPluginUtils.injectComponentTree(f),g.EventPluginUtils.injectTreeTraversal(h),g.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:k,EnterLeaveEventPlugin:c,ChangeEventPlugin:a,SelectEventPlugin:w,BeforeInputEventPlugin:o}),g.HostComponent.injectGenericComponentClass(d),g.HostComponent.injectTextComponentClass(_),g.DOMProperty.injectDOMPropertyConfig(i),g.DOMProperty.injectDOMPropertyConfig(u),g.DOMProperty.injectDOMPropertyConfig(b),g.EmptyComponent.injectEmptyComponentFactory(function(e){return new p(e)}),g.Updates.injectReconcileTransaction(y),g.Updates.injectBatchingStrategy(m),g.Component.injectEnvironment(l))}var i=n(645),o=n(646),a=n(650),s=n(653),c=n(654),u=n(655),l=n(656),d=n(662),f=n(35),p=n(687),h=n(688),_=n(689),m=n(690),v=n(691),g=n(693),y=n(694),b=n(700),w=n(701),k=n(702),M=!1;e.exports={inject:r}},function(e,t,n){"use strict";var r={Properties:{"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},DOMAttributeNames:{},DOMPropertyNames:{}};e.exports=r},function(e,t,n){"use strict";function r(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function i(e){switch(e){case"topCompositionStart":return T.compositionStart;case"topCompositionEnd":return T.compositionEnd;case"topCompositionUpdate":return T.compositionUpdate}}function o(e,t){return"topKeyDown"===e&&t.keyCode===g}function a(e,t){switch(e){case"topKeyUp":return-1!==v.indexOf(t.keyCode);case"topKeyDown":return t.keyCode!==g;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function s(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function c(e,t,n,r){var c,u;if(y?c=i(e):D?a(e,n)&&(c=T.compositionEnd):o(e,n)&&(c=T.compositionStart),!c)return null;k&&(D||c!==T.compositionStart?c===T.compositionEnd&&D&&(u=D.getData()):D=h.getPooled(r));var l=_.getPooled(c,t,n,r);if(u)l.data=u;else{var d=s(n);null!==d&&(l.data=d)}return f.accumulateTwoPhaseDispatches(l),l}function u(e,t){switch(e){case"topCompositionEnd":return s(t);case"topKeyPress":return t.which!==M?null:(E=!0,C);case"topTextInput":var n=t.data;return n===C&&E?null:n;default:return null}}function l(e,t){if(D){if("topCompositionEnd"===e||!y&&a(e,t)){var n=D.getData();return h.release(D),D=null,n}return null}switch(e){case"topPaste":return null;case"topKeyPress":return t.which&&!r(t)?String.fromCharCode(t.which):null;case"topCompositionEnd":return k?null:t.data;default:return null}}function d(e,t,n,r){var i;if(!(i=w?u(e,n):l(e,n)))return null;var o=m.getPooled(T.beforeInput,t,n,r);return o.data=i,f.accumulateTwoPhaseDispatches(o),o}var f=n(214),p=n(55),h=n(647),_=n(648),m=n(649),v=[9,13,27,32],g=229,y=p.canUseDOM&&"CompositionEvent"in window,b=null;p.canUseDOM&&"documentMode"in document&&(b=document.documentMode);var w=p.canUseDOM&&"TextEvent"in window&&!b&&!function(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}(),k=p.canUseDOM&&(!y||b&&b>8&&b<=11),M=32,C=String.fromCharCode(M),T={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},E=!1,D=null,j={eventTypes:T,extractEvents:function(e,t,n,r){return[c(e,t,n,r),d(e,t,n,r)]}};e.exports=j},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var i=n(28),o=n(110),a=n(392);i(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,i=this.getText(),o=i.length;for(e=0;e1?1-t:void 0;return this._fallbackText=i.slice(e,s),this._fallbackText}}),o.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return i.call(this,e,t,n,r)}var i=n(80),o={data:null};i.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return i.call(this,e,t,n,r)}var i=n(80),o={data:null};i.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function i(e){var t=M.getPooled(D.change,S,e,C(e));y.accumulateTwoPhaseDispatches(t),k.batchedUpdates(o,t)}function o(e){g.enqueueEvents(e),g.processEventQueue(!1)}function a(e,t){j=e,S=t,j.attachEvent("onchange",i)}function s(){j&&(j.detachEvent("onchange",i),j=null,S=null)}function c(e,t){if("topChange"===e)return t}function u(e,t,n){"topFocus"===e?(s(),a(t,n)):"topBlur"===e&&s()}function l(e,t){j=e,S=t,O=e.value,x=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(j,"value",R),j.attachEvent?j.attachEvent("onpropertychange",f):j.addEventListener("propertychange",f,!1)}function d(){j&&(delete j.value,j.detachEvent?j.detachEvent("onpropertychange",f):j.removeEventListener("propertychange",f,!1),j=null,S=null,O=null,x=null)}function f(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==O&&(O=t,i(e))}}function p(e,t){if("topInput"===e)return t}function h(e,t,n){"topFocus"===e?(d(),l(t,n)):"topBlur"===e&&d()}function _(e,t){if(("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)&&j&&j.value!==O)return O=j.value,S}function m(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function v(e,t){if("topClick"===e)return t}var g=n(215),y=n(214),b=n(55),w=n(35),k=n(69),M=n(80),C=n(327),T=n(328),E=n(395),D={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},j=null,S=null,O=null,x=null,L=!1;b.canUseDOM&&(L=T("change")&&(!document.documentMode||document.documentMode>8));var P=!1;b.canUseDOM&&(P=T("input")&&(!document.documentMode||document.documentMode>11));var R={get:function(){return x.get.call(this)},set:function(e){O=""+e,x.set.call(this,e)}},A={eventTypes:D,extractEvents:function(e,t,n,i){var o,a,s=t?w.getNodeFromInstance(t):window;if(r(s)?L?o=c:a=u:E(s)?P?o=p:(o=_,a=h):m(s)&&(o=v),o){var l=o(e,t);if(l){var d=M.getPooled(D.change,l,n,i);return d.type="change",y.accumulateTwoPhaseDispatches(d),d}}a&&a(e,s,t)}};e.exports=A},function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):o.addComponentAsRefTo(t,e,n)}function i(e,t,n){"function"==typeof e?e(null):o.removeComponentAsRefFrom(t,e,n)}var o=n(652),a={};a.attachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&r(n,e,t._owner)}},a.shouldUpdateRefs=function(e,t){var n=null,r=null;null!==e&&"object"==typeof e&&(n=e.ref,r=e._owner);var i=null,o=null;return null!==t&&"object"==typeof t&&(i=t.ref,o=t._owner),n!==i||"string"==typeof i&&o!==r},a.detachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&i(n,e,t._owner)}},e.exports=a},function(e,t,n){"use strict";function r(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)}var i=n(20),o=(n(9),{addComponentAsRefTo:function(e,t,n){r(n)||i("119"),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){r(n)||i("120");var o=n.getPublicInstance();o&&o.refs[t]===e.getPublicInstance()&&n.detachRef(t)}});e.exports=o},function(e,t,n){"use strict";var r=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];e.exports=r},function(e,t,n){"use strict";var r=n(214),i=n(35),o=n(229),a={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},s={eventTypes:a,extractEvents:function(e,t,n,s){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==e&&"topMouseOver"!==e)return null;var c;if(s.window===s)c=s;else{var u=s.ownerDocument;c=u?u.defaultView||u.parentWindow:window}var l,d;if("topMouseOut"===e){l=t;var f=n.relatedTarget||n.toElement;d=f?i.getClosestInstanceFromNode(f):null}else l=null,d=t;if(l===d)return null;var p=null==l?c:i.getNodeFromInstance(l),h=null==d?c:i.getNodeFromInstance(d),_=o.getPooled(a.mouseLeave,l,n,s);_.type="mouseleave",_.target=p,_.relatedTarget=h;var m=o.getPooled(a.mouseEnter,d,n,s);return m.type="mouseenter",m.target=h,m.relatedTarget=p,r.accumulateEnterLeaveDispatches(_,m,l,d),[_,m]}};e.exports=s},function(e,t,n){"use strict";var r=n(129),i=r.injection.MUST_USE_PROPERTY,o=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,c=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,u={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:o,allowTransparency:0,alt:0,as:0,async:o,autoComplete:0,autoPlay:o,capture:o,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:i|o,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:o,coords:0,crossOrigin:0,data:0,dateTime:0,default:o,defer:o,dir:0,disabled:o,download:c,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:o,formTarget:0,frameBorder:0,headers:0,height:0,hidden:o,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:o,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:i|o,muted:i|o,name:0,nonce:0,noValidate:o,open:o,optimum:0,pattern:0,placeholder:0,playsInline:o,poster:0,preload:0,profile:0,radioGroup:0,readOnly:o,referrerPolicy:0,rel:0,required:o,reversed:o,role:0,rows:s,rowSpan:a,sandbox:0,scope:0,scoped:o,scrolling:0,seamless:o,selected:i|o,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:o,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}};e.exports=u},function(e,t,n){"use strict";var r=n(330),i=n(661),o={processChildrenUpdates:i.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};e.exports=o},function(e,t,n){"use strict";var r=n(20),i=n(131),o=n(55),a=n(658),s=n(58),c=(n(9),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(o.canUseDOM||r("56"),t||r("57"),"HTML"===e.nodeName&&r("58"),"string"==typeof t){var n=a(t,s)[0];e.parentNode.replaceChild(n,e)}else i.replaceChildWithTree(e,t)}});e.exports=c},function(e,t,n){"use strict";function r(e){var t=e.match(l);return t&&t[1].toLowerCase()}function i(e,t){var n=u;u||c(!1);var i=r(e),o=i&&s(i);if(o){n.innerHTML=o[1]+e+o[2];for(var l=o[0];l--;)n=n.lastChild}else n.innerHTML=e;var d=n.getElementsByTagName("script");d.length&&(t||c(!1),a(d).forEach(t));for(var f=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return f}var o=n(55),a=n(659),s=n(660),c=n(9),u=o.canUseDOM?document.createElement("div"):null,l=/^\s*<(\w+)/;e.exports=i},function(e,t,n){"use strict";function r(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&a(!1),"number"!=typeof t&&a(!1),0===t||t-1 in e||a(!1),"function"==typeof e.callee&&a(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r":"<"+e+">",s[e]=!a.firstChild),s[e]?f[e]:null}var i=n(55),o=n(9),a=i.canUseDOM?document.createElement("div"):null,s={},c=[1,'"],u=[1,"","
"],l=[3,"","
"],d=[1,'',""],f={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:c,option:c,caption:u,colgroup:u,tbody:u,tfoot:u,thead:u,td:l,th:l};["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"].forEach(function(e){f[e]=d,s[e]=!0}),e.exports=r},function(e,t,n){"use strict";var r=n(330),i=n(35),o={dangerouslyProcessChildrenUpdates:function(e,t){var n=i.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=o},function(e,t,n){"use strict";function r(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function i(e,t){t&&($[e._tag]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&_("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&_("60"),"object"==typeof t.dangerouslySetInnerHTML&&W in t.dangerouslySetInnerHTML||_("61")),null!=t.style&&"object"!=typeof t.style&&_("62",r(e)))}function o(e,t,n,r){if(!(r instanceof P)){var i=e._hostContainerInfo,o=i._node&&i._node.nodeType===U,s=o?i._node:i._ownerDocument;Y(t,s),r.getReactMountReady().enqueue(a,{inst:e,registrationName:t,listener:n})}}function a(){var e=this;M.putListener(e.inst,e.registrationName,e.listener)}function s(){var e=this;j.postMountWrapper(e)}function c(){var e=this;x.postMountWrapper(e)}function u(){var e=this;S.postMountWrapper(e)}function l(){var e=this;e._rootNodeID||_("63");var t=I(e);switch(t||_("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[T.trapBubbledEvent("topLoad","load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in B)B.hasOwnProperty(n)&&e._wrapperState.listeners.push(T.trapBubbledEvent(n,B[n],t));break;case"source":e._wrapperState.listeners=[T.trapBubbledEvent("topError","error",t)];break;case"img":e._wrapperState.listeners=[T.trapBubbledEvent("topError","error",t),T.trapBubbledEvent("topLoad","load",t)];break;case"form":e._wrapperState.listeners=[T.trapBubbledEvent("topReset","reset",t),T.trapBubbledEvent("topSubmit","submit",t)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[T.trapBubbledEvent("topInvalid","invalid",t)]}}function d(){O.postUpdateWrapper(this)}function f(e){K.call(J,e)||(G.test(e)||_("65",e),J[e]=!0)}function p(e,t){return e.indexOf("-")>=0||null!=t.is}function h(e){var t=e.type;f(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var _=n(20),m=n(28),v=n(663),g=n(664),y=n(131),b=n(331),w=n(129),k=n(400),M=n(215),C=n(324),T=n(232),E=n(389),D=n(35),j=n(674),S=n(676),O=n(401),x=n(677),L=(n(67),n(678)),P=n(685),R=(n(58),n(231)),A=(n(9),n(328),n(335),n(340),n(12),E),N=M.deleteListener,I=D.getNodeFromInstance,Y=T.listenTo,F=C.registrationNameModules,H={string:!0,number:!0},W="__html",z={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},U=11,B={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},q={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},V={listing:!0,pre:!0,textarea:!0},$=m({menuitem:!0},q),G=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,J={},K={}.hasOwnProperty,Q=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=Q++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var o=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(l,this);break;case"input":j.mountWrapper(this,o,t),o=j.getHostProps(this,o),e.getReactMountReady().enqueue(l,this);break;case"option":S.mountWrapper(this,o,t),o=S.getHostProps(this,o);break;case"select":O.mountWrapper(this,o,t),o=O.getHostProps(this,o),e.getReactMountReady().enqueue(l,this);break;case"textarea":x.mountWrapper(this,o,t),o=x.getHostProps(this,o),e.getReactMountReady().enqueue(l,this)}i(this,o);var a,d;null!=t?(a=t._namespaceURI,d=t._tag):n._tag&&(a=n._namespaceURI,d=n._tag),(null==a||a===b.svg&&"foreignobject"===d)&&(a=b.html),a===b.html&&("svg"===this._tag?a=b.svg:"math"===this._tag&&(a=b.mathml)),this._namespaceURI=a;var f;if(e.useCreateElement){var p,h=n._ownerDocument;if(a===b.html)if("script"===this._tag){var _=h.createElement("div"),m=this._currentElement.type;_.innerHTML="<"+m+">",p=_.removeChild(_.firstChild)}else p=o.is?h.createElement(this._currentElement.type,o.is):h.createElement(this._currentElement.type);else p=h.createElementNS(a,this._currentElement.type);D.precacheNode(this,p),this._flags|=A.hasCachedChildNodes,this._hostParent||k.setAttributeForRoot(p),this._updateDOMProperties(null,o,e);var g=y(p);this._createInitialChildren(e,o,r,g),f=g}else{var w=this._createOpenTagMarkupAndPutListeners(e,o),M=this._createContentMarkup(e,o,r);f=!M&&q[this._tag]?w+"/>":w+">"+M+""}switch(this._tag){case"input":e.getReactMountReady().enqueue(s,this),o.autoFocus&&e.getReactMountReady().enqueue(v.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(c,this),o.autoFocus&&e.getReactMountReady().enqueue(v.focusDOMComponent,this);break;case"select":case"button":o.autoFocus&&e.getReactMountReady().enqueue(v.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(u,this)}return f},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];if(null!=i)if(F.hasOwnProperty(r))i&&o(this,r,i,e);else{"style"===r&&(i&&(i=this._previousStyleCopy=m({},t.style)),i=g.createMarkupForStyles(i,this));var a=null;null!=this._tag&&p(this._tag,t)?z.hasOwnProperty(r)||(a=k.createMarkupForCustomAttribute(r,i)):a=k.createMarkupForProperty(r,i),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+k.createMarkupForRoot()),n+=" "+k.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",i=t.dangerouslySetInnerHTML;if(null!=i)null!=i.__html&&(r=i.__html);else{var o=H[typeof t.children]?t.children:null,a=null!=o?null:t.children;if(null!=o)r=R(o);else if(null!=a){var s=this.mountChildren(a,e,n);r=s.join("")}}return V[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var i=t.dangerouslySetInnerHTML;if(null!=i)null!=i.__html&&y.queueHTML(r,i.__html);else{var o=H[typeof t.children]?t.children:null,a=null!=o?null:t.children;if(null!=o)y.queueText(r,o);else if(null!=a)for(var s=this.mountChildren(a,e,n),c=0;c0;)e=e._hostParent,n--;for(;i-n>0;)t=t._hostParent,i--;for(var a=n;a--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function i(e,t){"_hostNode"in e||c("35"),"_hostNode"in t||c("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function o(e){return"_hostNode"in e||c("36"),e._hostParent}function a(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var i;for(i=r.length;i-- >0;)t(r[i],"captured",n);for(i=0;i0;)n(c[u],"captured",o)}var c=n(20);n(9);e.exports={isAncestor:i,getLowestCommonAncestor:r,getParentInstance:o,traverseTwoPhase:a,traverseEnterLeave:s}},function(e,t,n){"use strict";var r=n(20),i=n(28),o=n(330),a=n(131),s=n(35),c=n(231),u=(n(9),n(340),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});i(u.prototype,{mountComponent:function(e,t,n,r){var i=n._idCounter++,o=" react-text: "+i+" ";if(this._domID=i,this._hostParent=t,e.useCreateElement){var u=n._ownerDocument,l=u.createComment(o),d=u.createComment(" /react-text "),f=a(u.createDocumentFragment());return a.queueChild(f,a(l)),this._stringText&&a.queueChild(f,a(u.createTextNode(this._stringText))),a.queueChild(f,a(d)),s.precacheNode(this,l),this._closingComment=d,f}var p=c(this._stringText);return e.renderToStaticMarkup?p:"\x3c!--"+o+"--\x3e"+p+"\x3c!-- /react-text --\x3e"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();o.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=s.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n&&r("67",this._domID),8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),e.exports=u},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var i=n(28),o=n(69),a=n(228),s=n(58),c={initialize:s,close:function(){f.isBatchingUpdates=!1}},u={initialize:s,close:o.flushBatchedUpdates.bind(o)},l=[u,c];i(r.prototype,a,{getTransactionWrappers:function(){return l}});var d=new r,f={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,i,o){var a=f.isBatchingUpdates;return f.isBatchingUpdates=!0,a?e(t,n,r,i,o):d.perform(e,null,t,n,r,i,o)}};e.exports=f},function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=d.getNodeFromInstance(e),n=t.parentNode;return d.getClosestInstanceFromNode(n)}function i(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function o(e){var t=p(e.nativeEvent),n=d.getClosestInstanceFromNode(t),i=n;do{e.ancestors.push(i),i=i&&r(i)}while(i);for(var o=0;ot.end?(n=t.end,r=t.start):(n=t.start,r=t.end),i.moveToElementText(e),i.moveStart("character",n),i.setEndPoint("EndToStart",i),i.moveEnd("character",r-n),i.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[l()].length,i=Math.min(t.start,r),o=void 0===t.end?i:Math.min(t.end,r);if(!n.extend&&i>o){var a=o;o=i,i=a}var s=u(e,i),c=u(e,o);if(s&&c){var d=document.createRange();d.setStart(s.node,s.offset),n.removeAllRanges(),i>o?(n.addRange(d),n.extend(c.node,c.offset)):(d.setEnd(c.node,c.offset),n.addRange(d))}}}var c=n(55),u=n(696),l=n(392),d=c.canUseDOM&&"selection"in document&&!("getSelection"in window),f={getOffsets:d?i:o,setOffsets:d?a:s};e.exports=f},function(e,t,n){"use strict";function r(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function i(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function o(e,t){for(var n=r(e),o=0,a=0;n;){if(3===n.nodeType){if(a=o+n.textContent.length,o<=t&&a>=t)return{node:n,offset:t-o};o=a}n=r(i(n))}}e.exports=o},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!i(e)&&(i(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var i=n(698);e.exports=r},function(e,t,n){"use strict";function r(e){return i(e)&&3==e.nodeType}var i=n(699);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=r},function(e,t,n){"use strict";var r={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},i={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},o={Properties:{},DOMAttributeNamespaces:{xlinkActuate:r.xlink,xlinkArcrole:r.xlink,xlinkHref:r.xlink,xlinkRole:r.xlink,xlinkShow:r.xlink,xlinkTitle:r.xlink,xlinkType:r.xlink,xmlBase:r.xml,xmlLang:r.xml,xmlSpace:r.xml},DOMAttributeNames:{}};Object.keys(i).forEach(function(e){o.Properties[e]=0,i[e]&&(o.DOMAttributeNames[e]=i[e])}),e.exports=o},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&c.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function i(e,t){if(g||null==_||_!==l())return null;var n=r(_);if(!v||!f(v,n)){v=n;var i=u.getPooled(h.select,m,e,t);return i.type="select",i.target=_,o.accumulateTwoPhaseDispatches(i),i}return null}var o=n(214),a=n(55),s=n(35),c=n(408),u=n(80),l=n(409),d=n(395),f=n(335),p=a.canUseDOM&&"documentMode"in document&&document.documentMode<=11,h={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},_=null,m=null,v=null,g=!1,y=!1,b={eventTypes:h,extractEvents:function(e,t,n,r){if(!y)return null;var o=t?s.getNodeFromInstance(t):window;switch(e){case"topFocus":(d(o)||"true"===o.contentEditable)&&(_=o,m=t,v=null);break;case"topBlur":_=null,m=null,v=null;break;case"topMouseDown":g=!0;break;case"topContextMenu":case"topMouseUp":return g=!1,i(n,r);case"topSelectionChange":if(p)break;case"topKeyDown":case"topKeyUp":return i(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(y=!0)}};e.exports=b},function(e,t,n){"use strict";function r(e){return"."+e._rootNodeID}function i(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}function o(e){if(e){if(e._currentElement&&e._currentElement.props.disabled)return i(e._tag)}return!1}var a=n(20),s=n(407),c=n(214),u=n(35),l=n(703),d=n(704),f=n(80),p=n(705),h=n(706),_=n(229),m=n(708),v=n(709),g=n(710),y=n(216),b=n(711),w=n(58),k=n(341),M=(n(9),{}),C={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,i={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};M[e]=i,C[r]=i});var T={},E={eventTypes:M,extractEvents:function(e,t,n,r){var i=C[e];if(!i)return null;var s;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":s=f;break;case"topKeyPress":if(0===k(n))return null;case"topKeyDown":case"topKeyUp":s=h;break;case"topBlur":case"topFocus":s=p;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":if(o(t))return null;case"topMouseOut":case"topMouseOver":case"topContextMenu":s=_;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":s=m;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":s=v;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":s=l;break;case"topTransitionEnd":s=g;break;case"topScroll":s=y;break;case"topWheel":s=b;break;case"topCopy":case"topCut":case"topPaste":s=d}s||a("86",e);var u=s.getPooled(i,t,n,r);return c.accumulateTwoPhaseDispatches(u),u},didPutListener:function(e,t,n){if("onClick"===t&&!i(e._tag)){var o=r(e),a=u.getNodeFromInstance(e);T[o]||(T[o]=s.listen(a,"click",w))}},willDeleteListener:function(e,t){if("onClick"===t&&!i(e._tag)){var n=r(e);T[n].remove(),delete T[n]}}};e.exports=E},function(e,t,n){"use strict";function r(e,t,n,r){return i.call(this,e,t,n,r)}var i=n(80),o={animationName:null,elapsedTime:null,pseudoElement:null};i.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return i.call(this,e,t,n,r)}var i=n(80),o={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};i.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return i.call(this,e,t,n,r)}var i=n(216),o={relatedTarget:null};i.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return i.call(this,e,t,n,r)}var i=n(216),o=n(341),a=n(707),s=n(329),c={key:a,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:s,charCode:function(e){return"keypress"===e.type?o(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?o(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};i.augmentClass(r,c),e.exports=r},function(e,t,n){"use strict";function r(e){if(e.key){var t=o[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=i(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?a[e.keyCode]||"Unidentified":""}var i=n(341),o={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return i.call(this,e,t,n,r)}var i=n(229),o={dataTransfer:null};i.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return i.call(this,e,t,n,r)}var i=n(216),o=n(329),a={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:o};i.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return i.call(this,e,t,n,r)}var i=n(80),o={propertyName:null,elapsedTime:null,pseudoElement:null};i.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return i.call(this,e,t,n,r)}var i=n(229),o={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};i.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===i?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}var i=(n(340),9);e.exports=r},function(e,t,n){"use strict";var r={useCreateElement:!0,useFiber:!1};e.exports=r},function(e,t,n){"use strict";var r=n(715),i=/\/?>/,o=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return o.test(e)?e:e.replace(i," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(e)===n}};e.exports=a},function(e,t,n){"use strict";function r(e){for(var t=1,n=0,r=0,o=e.length,a=-4&o;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;tf?"visible":"hidden"},S={visibility:M>k?"visible":"hidden"};(0,u.default)(c,j),(0,u.default)(l,S)}(0,u.default)(a,y),(0,u.default)(s,D)}n&&n(i),"function"==typeof e&&e(i)},render:function(){var e=(0,h.default)(),t=this.props,n=(t.onScroll,t.onScrollFrame,t.onScrollStart,t.onScrollStop,t.onUpdate,t.renderView),r=t.renderTrackHorizontal,a=t.renderTrackVertical,s=t.renderThumbHorizontal,c=t.renderThumbVertical,u=t.tagName,d=(t.hideTracksWhenNotNeeded,t.autoHide),p=(t.autoHideTimeout,t.autoHideDuration),_=(t.thumbSize,t.thumbMinSize,t.universal),m=t.autoHeight,v=t.autoHeightMin,g=t.autoHeightMax,y=t.style,b=t.children,k=i(t,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),M=this.state.didMountUniversal,C=o({},w.containerStyleDefault,m&&o({},w.containerStyleAutoHeight,{minHeight:v,maxHeight:g}),y),T=o({},w.viewStyleDefault,{marginRight:e?-e:0,marginBottom:e?-e:0},m&&o({},w.viewStyleAutoHeight,{minHeight:(0,f.default)(v)?"calc("+v+" + "+e+"px)":v+e,maxHeight:(0,f.default)(g)?"calc("+g+" + "+e+"px)":g+e}),m&&_&&!M&&{minHeight:v,maxHeight:g},_&&!M&&w.viewStyleUniversalInitial),E={transition:"opacity "+p+"ms",opacity:0},D=o({},w.trackHorizontalStyleDefault,d&&E,(!e||_&&!M)&&{display:"none"}),j=o({},w.trackVerticalStyleDefault,d&&E,(!e||_&&!M)&&{display:"none"});return(0,l.createElement)(u,o({},k,{style:C,ref:"container"}),[(0,l.cloneElement)(n({style:T}),{key:"view",ref:"view"},b),(0,l.cloneElement)(r({style:D}),{key:"trackHorizontal",ref:"trackHorizontal"},(0,l.cloneElement)(s({style:w.thumbHorizontalStyleDefault}),{ref:"thumbHorizontal"})),(0,l.cloneElement)(a({style:j}),{key:"trackVertical",ref:"trackVertical"},(0,l.cloneElement)(c({style:w.thumbVerticalStyleDefault}),{ref:"thumbVertical"}))])}})},function(e,t,n){(function(t){for(var r=n(727),i="undefined"==typeof window?t:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],c=i["cancel"+a]||i["cancelRequest"+a],u=0;!s&&u=0;o--){var a=r[o]+i;if(a in t)return a}return!1}},function(e,t,n){function r(e){return i(e).replace(/\s(\w)/g,function(e,t){return t.toUpperCase()})}var i=n(730);e.exports=r},function(e,t,n){function r(e){return i(e).replace(/[\W_]+(.|$)/g,function(e,t){return t?" "+t:""}).trim()}var i=n(731);e.exports=r},function(e,t){function n(e){return o.test(e)?e.toLowerCase():a.test(e)?(r(e)||e).toLowerCase():s.test(e)?i(e).toLowerCase():e.toLowerCase()}function r(e){return e.replace(c,function(e,t){return t?" "+t:""})}function i(e){return e.replace(u,function(e,t,n){return t+" "+n.toLowerCase().split("").join(" ")})}e.exports=n;var o=/\s/,a=/(_|-|\.|:)/,s=/([a-z][A-Z]|[A-Z][a-z])/,c=/[\W_]+(.|$)/g,u=/(.)([A-Z]+)/g},function(e,t){var n={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};e.exports=function(e,t){return"number"!=typeof t||n[e]?t:t+"px"}},function(e,t,n){"use strict";function r(e){return"string"==typeof e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(){if(!1!==a)return a;if("undefined"!=typeof document){var e=document.createElement("div");(0,o.default)(e,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(e),a=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}else a=0;return a}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(412),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a=!1},function(e,t,n){"use strict";function r(){return!1}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){var t=e.clientWidth,n=getComputedStyle(e),r=n.paddingLeft,i=n.paddingRight;return t-parseFloat(r)-parseFloat(i)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){var t=e.clientHeight,n=getComputedStyle(e),r=n.paddingTop,i=n.paddingBottom;return t-parseFloat(r)-parseFloat(i)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},t.containerStyleAutoHeight={height:"auto"},t.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},t.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},t.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},t.trackHorizontalStyleDefault={position:"absolute",height:6},t.trackVerticalStyleDefault={position:"absolute",width:6},t.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},t.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},t.disableSelectStyle={userSelect:"none"},t.disableSelectStyleReset={userSelect:""}},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){return d.default.createElement("div",e)}function o(e){var t=e.style,n=r(e,["style"]),i=u({},t,{right:2,bottom:2,left:2,borderRadius:3});return d.default.createElement("div",u({style:i},n))}function a(e){var t=e.style,n=r(e,["style"]),i=u({},t,{right:2,bottom:2,top:2,borderRadius:3});return d.default.createElement("div",u({style:i},n))}function s(e){var t=e.style,n=r(e,["style"]),i=u({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return d.default.createElement("div",u({style:i},n))}function c(e){var t=e.style,n=r(e,["style"]),i=u({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return d.default.createElement("div",u({style:i},n))}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(e,t,n){return e>=t&&e=0;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(t,n){var r=null,i=!1,o=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(t),e(t.target).parents().each(function(){if(e.data(this,o.widgetName+"-item")===o)return r=e(this),!1}),e.data(t.target,o.widgetName+"-item")===o&&(r=e(t.target)),!!r&&(!(this.options.handle&&!n&&(e(this.options.handle,r).find("*").addBack().each(function(){this===t.target&&(i=!0)}),!i))&&(this.currentItem=r,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(t,n,r){var i,o,a=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,a.cursorAt&&this._adjustOffsetFromHelper(a.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),a.containment&&this._setContainment(),a.cursor&&"auto"!==a.cursor&&(o=this.document.find("body"),this.storedCursor=o.css("cursor"),o.css("cursor",a.cursor),this.storedStylesheet=e("").appendTo(o)),a.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",a.opacity)),a.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",a.zIndex)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!r)for(i=this.containers.length-1;i>=0;i--)this.containers[i]._trigger("activate",t,this._uiHash(this));return e.ui.ddmanager&&(e.ui.ddmanager.current=this),e.ui.ddmanager&&!a.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){var n,r,i,o,a=this.options,s=!1;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY=0;n--)if(r=this.items[n],i=r.item[0],(o=this._intersectsWithPointer(r))&&r.instance===this.currentContainer&&!(i===this.currentItem[0]||this.placeholder[1===o?"next":"prev"]()[0]===i||e.contains(this.placeholder[0],i)||"semi-dynamic"===this.options.type&&e.contains(this.element[0],i))){if(this.direction=1===o?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(r))break;this._rearrange(t,r),this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,n){if(t){if(e.ui.ddmanager&&!this.options.dropBehaviour&&e.ui.ddmanager.drop(this,t),this.options.revert){var r=this,i=this.placeholder.offset(),o=this.options.axis,a={};o&&"x"!==o||(a.left=i.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),o&&"y"!==o||(a.top=i.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,e(this.helper).animate(a,parseInt(this.options.revert,10)||500,function(){r._clear(t)})}else this._clear(t,n);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new e.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var t=this.containers.length-1;t>=0;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var n=this._getItemsAsjQuery(t&&t.connected),r=[];return t=t||{},e(n).each(function(){var n=(e(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);n&&r.push((t.key||n[1]+"[]")+"="+(t.key&&t.expression?n[1]:n[2]))}),!r.length&&t.key&&r.push(t.key+"="),r.join("&")},toArray:function(t){var n=this._getItemsAsjQuery(t&&t.connected),r=[];return t=t||{},n.each(function(){r.push(e(t.item||this).attr(t.attribute||"id")||"")}),r},_intersectsWith:function(e){var t=this.positionAbs.left,n=t+this.helperProportions.width,r=this.positionAbs.top,i=r+this.helperProportions.height,o=e.left,a=o+e.width,s=e.top,c=s+e.height,u=this.offset.click.top,l=this.offset.click.left,d="x"===this.options.axis||r+u>s&&r+uo&&t+le[this.floating?"width":"height"]?p:o0?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!==e&&(e>0?"right":"left")},refresh:function(e){return this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(t){function n(){s.push(this)}var r,i,o,a,s=[],c=[],u=this._connectWith();if(u&&t)for(r=u.length-1;r>=0;r--)for(o=e(u[r],this.document[0]),i=o.length-1;i>=0;i--)(a=e.data(o[i],this.widgetFullName))&&a!==this&&!a.options.disabled&&c.push([e.isFunction(a.options.items)?a.options.items.call(a.element):e(a.options.items,a.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),a]);for(c.push([e.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),r=c.length-1;r>=0;r--)c[r][0].each(n);return e(s)},_removeCurrentsFromItems:function(){var t=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=e.grep(this.items,function(e){for(var n=0;n=0;n--)for(i=e(f[n],this.document[0]),r=i.length-1;r>=0;r--)(o=e.data(i[r],this.widgetFullName))&&o!==this&&!o.options.disabled&&(d.push([e.isFunction(o.options.items)?o.options.items.call(o.element[0],t,{item:this.currentItem}):e(o.options.items,o.element),o]),this.containers.push(o));for(n=d.length-1;n>=0;n--)for(a=d[n][1],s=d[n][0],r=0,u=s.length;r=0;n--)r=this.items[n],r.instance!==this.currentContainer&&this.currentContainer&&r.item[0]!==this.currentItem[0]||(i=this.options.toleranceElement?e(this.options.toleranceElement,r.item):r.item,t||(r.width=i.outerWidth(),r.height=i.outerHeight()),o=i.offset(),r.left=o.left,r.top=o.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(n=this.containers.length-1;n>=0;n--)o=this.containers[n].element.offset(),this.containers[n].containerCache.left=o.left,this.containers[n].containerCache.top=o.top,this.containers[n].containerCache.width=this.containers[n].element.outerWidth(),this.containers[n].containerCache.height=this.containers[n].element.outerHeight();return this},_createPlaceholder:function(t){t=t||this;var n,r=t.options;r.placeholder&&r.placeholder.constructor!==String||(n=r.placeholder,r.placeholder={element:function(){var r=t.currentItem[0].nodeName.toLowerCase(),i=e("<"+r+">",t.document[0]);return t._addClass(i,"ui-sortable-placeholder",n||t.currentItem[0].className)._removeClass(i,"ui-sortable-helper"),"tbody"===r?t._createTrPlaceholder(t.currentItem.find("tr").eq(0),e("",t.document[0]).appendTo(i)):"tr"===r?t._createTrPlaceholder(t.currentItem,i):"img"===r&&i.attr("src",t.currentItem.attr("src")),n||i.css("visibility","hidden"),i},update:function(e,i){n&&!r.forcePlaceholderSize||(i.height()||i.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css("paddingTop")||0,10)-parseInt(t.currentItem.css("paddingBottom")||0,10)),i.width()||i.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-parseInt(t.currentItem.css("paddingRight")||0,10)))}}),t.placeholder=e(r.placeholder.element.call(t.element,t.currentItem)),t.currentItem.after(t.placeholder),r.placeholder.update(t,t.placeholder)},_createTrPlaceholder:function(t,n){var r=this;t.children().each(function(){e(" ",r.document[0]).attr("colspan",e(this).attr("colspan")||1).appendTo(n)})},_contactContainers:function(t){var n,r,i,o,a,s,c,u,l,d,f=null,p=null;for(n=this.containers.length-1;n>=0;n--)if(!e.contains(this.currentItem[0],this.containers[n].element[0]))if(this._intersectsWith(this.containers[n].containerCache)){if(f&&e.contains(this.containers[n].element[0],f.element[0]))continue;f=this.containers[n],p=n}else this.containers[n].containerCache.over&&(this.containers[n]._trigger("out",t,this._uiHash(this)),this.containers[n].containerCache.over=0);if(f)if(1===this.containers.length)this.containers[p].containerCache.over||(this.containers[p]._trigger("over",t,this._uiHash(this)),this.containers[p].containerCache.over=1);else{for(i=1e4,o=null,l=f.floating||this._isFloating(this.currentItem),a=l?"left":"top",s=l?"width":"height",d=l?"pageX":"pageY",r=this.items.length-1;r>=0;r--)e.contains(this.containers[p].element[0],this.items[r].item[0])&&this.items[r].item[0]!==this.currentItem[0]&&(c=this.items[r].item.offset()[a],u=!1,t[d]-c>this.items[r][s]/2&&(u=!0),Math.abs(t[d]-c)this.containment[2]&&(o=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(a=this.containment[3]+this.offset.click.top)),i.grid&&(n=this.originalPageY+Math.round((a-this.originalPageY)/i.grid[1])*i.grid[1],a=this.containment?n-this.offset.click.top>=this.containment[1]&&n-this.offset.click.top<=this.containment[3]?n:n-this.offset.click.top>=this.containment[1]?n-i.grid[1]:n+i.grid[1]:n,r=this.originalPageX+Math.round((o-this.originalPageX)/i.grid[0])*i.grid[0],o=this.containment?r-this.offset.click.left>=this.containment[0]&&r-this.offset.click.left<=this.containment[2]?r:r-this.offset.click.left>=this.containment[0]?r-i.grid[0]:r+i.grid[0]:r)),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():c?0:s.scrollTop()),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():c?0:s.scrollLeft())}},_rearrange:function(e,t,n,r){n?n[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var i=this.counter;this._delay(function(){i===this.counter&&this.refreshPositions(!r)})},_clear:function(e,t){function n(e,t,n){return function(r){n._trigger(e,r,t._uiHash(t))}}this.reverting=!1;var r,i=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(r in this._storedCSS)"auto"!==this._storedCSS[r]&&"static"!==this._storedCSS[r]||(this._storedCSS[r]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!t&&i.push(function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||i.push(function(e){this._trigger("update",e,this._uiHash())}),this!==this.currentContainer&&(t||(i.push(function(e){this._trigger("remove",e,this._uiHash())}),i.push(function(e){return function(t){e._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentContainer)),i.push(function(e){return function(t){e._trigger("update",t,this._uiHash(this))}}.call(this,this.currentContainer)))),r=this.containers.length-1;r>=0;r--)t||i.push(n("deactivate",this,this.containers[r])),this.containers[r].containerCache.over&&(i.push(n("out",this,this.containers[r])),this.containers[r].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!t){for(r=0;r0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):i(this);if(n.data&&n.ids){var a=r.createFrame(n.data);a.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:a}}return o(t,n)})},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=n(81),i=n(217),o=function(e){return e&&e.__esModule?e:{default:e}}(i);t.default=function(e){e.registerHelper("each",function(e,t){function n(t,n,o){u&&(u.key=t,u.index=n,u.first=0===n,u.last=!!o,l&&(u.contextPath=l+t)),c+=i(e[t],{data:u,blockParams:r.blockParams([e[t],t],[l+t,null])})}if(!t)throw new o.default("Must pass iterator to #each");var i=t.fn,a=t.inverse,s=0,c="",u=void 0,l=void 0;if(t.data&&t.ids&&(l=r.appendContextPath(t.data.contextPath,t.ids[0])+"."),r.isFunction(e)&&(e=e.call(this)),t.data&&(u=r.createFrame(t.data)),e&&"object"==typeof e)if(r.isArray(e))for(var d=e.length;s=0?t:parseInt(e,10)}return e},log:function(e){if(e=i.lookupLevel(e),"undefined"!=typeof console&&i.lookupLevel(i.level)<=e){var t=i.methodMap[e];console[t]||(t="log");for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o=0&&n(e)})}function p(e){e[0]!==document.activeElement&&window.setTimeout(function(){var t,n=e[0],r=e.val().length;e.focus(),(n.offsetWidth>0||n.offsetHeight>0)&&n===document.activeElement&&(n.setSelectionRange?n.setSelectionRange(r,r):n.createTextRange&&(t=n.createTextRange(),t.collapse(!1),t.select()))},0)}function h(t){t=e(t)[0];var n=0,r=0;if("selectionStart"in t)n=t.selectionStart,r=t.selectionEnd-n;else if("selection"in document){t.focus();var i=document.selection.createRange();r=document.selection.createRange().text.length,i.moveStart("character",-t.value.length),n=i.text.length-r}return{offset:n,length:r}}function _(e){e.preventDefault(),e.stopPropagation()}function m(e){e.preventDefault(),e.stopImmediatePropagation()}function v(t){if(!A){var n=t[0].currentStyle||window.getComputedStyle(t[0],null);A=e(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:n.fontSize,fontFamily:n.fontFamily,fontStyle:n.fontStyle,fontWeight:n.fontWeight,letterSpacing:n.letterSpacing,textTransform:n.textTransform,whiteSpace:"nowrap"}),A.attr("class","select2-sizer"),e("body").append(A)}return A.text(t.val()),A.width()}function g(t,n,r){var i,o,a=[];i=e.trim(t.attr("class")),i&&(i=""+i,e(i.split(/\s+/)).each2(function(){0===this.indexOf("select2-")&&a.push(this)})),i=e.trim(n.attr("class")),i&&(i=""+i,e(i.split(/\s+/)).each2(function(){0!==this.indexOf("select2-")&&(o=r(this))&&a.push(o)})),t.attr("class",a.join(" "))}function y(e,t,n,i){var o=r(e.toUpperCase()).indexOf(r(t.toUpperCase())),a=t.length;if(o<0)return void n.push(i(e));n.push(i(e.substring(0,o))),n.push(""),n.push(i(e.substring(o,o+a))),n.push(""),n.push(i(e.substring(o+a,e.length)))}function b(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})}function w(n){var r,i=null,o=n.quietMillis||100,a=n.url,s=this;return function(c){window.clearTimeout(r),r=window.setTimeout(function(){var r=n.data,o=a,u=n.transport||e.fn.select2.ajaxDefaults.transport,l={type:n.type||"GET",cache:n.cache||!1,jsonpCallback:n.jsonpCallback||t,dataType:n.dataType||"json"},d=e.extend({},e.fn.select2.ajaxDefaults.params,l);r=r?r.call(s,c.term,c.page,c.context):null,o="function"==typeof o?o.call(s,c.term,c.page,c.context):o,i&&"function"==typeof i.abort&&i.abort(),n.params&&(e.isFunction(n.params)?e.extend(d,n.params.call(s)):e.extend(d,n.params)),e.extend(d,{url:o,dataType:n.dataType,data:r,success:function(e){var t=n.results(e,c.page,c);c.callback(t)}}),i=u.call(s,d)},o)}}function k(t){var n,r,i=t,o=function(e){return""+e.text};e.isArray(i)&&(r=i,i={results:r}),!1===e.isFunction(i)&&(r=i,i=function(){return r});var a=i();return a.text&&(o=a.text,e.isFunction(o)||(n=a.text,o=function(e){return e[n]})),function(t){var n,r=t.term,a={results:[]};if(""===r)return void t.callback(i());n=function(i,a){var s,c;if(i=i[0],i.children){s={};for(c in i)i.hasOwnProperty(c)&&(s[c]=i[c]);s.children=[],e(i.children).each2(function(e,t){n(t,s.children)}),(s.children.length||t.matcher(r,o(s),i))&&a.push(s)}else t.matcher(r,o(i),i)&&a.push(i)},e(i().results).each2(function(e,t){n(t,a.results)}),t.callback(a)}}function M(n){var r=e.isFunction(n);return function(i){var o=i.term,a={results:[]},s=r?n(i):n;e.isArray(s)&&(e(s).each(function(){var e=this.text!==t,n=e?this.text:this;(""===o||i.matcher(o,n))&&a.results.push(e?this:{id:this,text:this})}),i.callback(a))}}function C(t,n){if(e.isFunction(t))return!0;if(!t)return!1;if("string"==typeof t)return!0;throw new Error(n+" must be a string, function, or falsy value")}function T(t,n){if(e.isFunction(t)){var r=Array.prototype.slice.call(arguments,2);return t.apply(n,r)}return t}function E(t){var n=0;return e.each(t,function(e,t){t.children?n+=E(t.children):n++}),n}function D(e,n,r,i){var o,s,c,u,l,d=e,f=!1;if(!i.createSearchChoice||!i.tokenSeparators||i.tokenSeparators.length<1)return t;for(;;){for(s=-1,c=0,u=i.tokenSeparators.length;c=0));c++);if(s<0)break;if(o=e.substring(0,s),e=e.substring(s+l.length),o.length>0&&(o=i.createSearchChoice.call(this,o,n))!==t&&null!==o&&i.id(o)!==t&&null!==i.id(o)){for(f=!1,c=0,u=n.length;c=112&&e<=123}},F="
",H={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};N=e(document),R=function(){var e=1;return function(){return e++}}(),x=S(Object,{bind:function(e){var t=this;return function(){e.apply(t,arguments)}},init:function(n){var r,i;this.opts=n=this.prepareOpts(n),this.id=n.id,n.element.data("select2")!==t&&null!==n.element.data("select2")&&n.element.data("select2").destroy(),this.container=this.createContainer(),this.liveRegion=e("",{role:"status","aria-live":"polite"}).addClass("select2-hidden-accessible").appendTo(document.body),this.containerId="s2id_"+(n.element.attr("id")||"autogen"+R()),this.containerEventName=this.containerId.replace(/([.])/g,"_").replace(/([;&,\-\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.container.attr("title",n.element.attr("title")),this.body=e("body"),g(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",n.element.attr("style")),this.container.css(T(n.containerCss,this.opts.element)),this.container.addClass(T(n.containerCssClass,this.opts.element)),this.elementTabIndex=this.opts.element.attr("tabindex"),this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container).on("click.select2",_),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),g(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(T(n.dropdownCssClass,this.opts.element)),this.dropdown.data("select2",this),this.dropdown.on("click",_),this.results=r=this.container.find(".select2-results"),this.search=i=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",_),l(this.results),this.dropdown.on("mousemove-filtered",".select2-results",this.bind(this.highlightUnderEvent)),this.dropdown.on("touchstart touchmove touchend",".select2-results",this.bind(function(e){this._touchEvent=!0,this.highlightUnderEvent(e)})),this.dropdown.on("touchmove",".select2-results",this.bind(this.touchMoved)),this.dropdown.on("touchstart touchend",".select2-results",this.bind(this.clearTouchMoved)),this.dropdown.on("click",this.bind(function(e){this._touchEvent&&(this._touchEvent=!1,this.selectHighlighted())})),f(80,this.results),this.dropdown.on("scroll-debounced",".select2-results",this.bind(this.loadMoreIfNeeded)),e(this.container).on("change",".select2-input",function(e){e.stopPropagation()}),e(this.dropdown).on("change",".select2-input",function(e){e.stopPropagation()}),e.fn.mousewheel&&r.mousewheel(function(e,t,n,i){var o=r.scrollTop();i>0&&o-i<=0?(r.scrollTop(0),_(e)):i<0&&r.get(0).scrollHeight-r.scrollTop()+i<=r.height()&&(r.scrollTop(r.get(0).scrollHeight-r.height()),_(e))}),u(i),i.on("keyup-change input paste",this.bind(this.updateResults)),i.on("focus",function(){i.addClass("select2-focused")}),i.on("blur",function(){i.removeClass("select2-focused")}),this.dropdown.on("mouseup",".select2-results",this.bind(function(t){e(t.target).closest(".select2-result-selectable").length>0&&(this.highlightUnderEvent(t),this.selectHighlighted(t))})),this.dropdown.on("click mouseup mousedown touchstart touchend focusin",function(e){e.stopPropagation()}),this.nextSearchTerm=t,e.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),null!==n.maximumInputLength&&this.search.attr("maxlength",n.maximumInputLength);var a=n.element.prop("disabled");a===t&&(a=!1),this.enable(!a);var s=n.element.prop("readonly");s===t&&(s=!1),this.readonly(s),I=I||o(),this.autofocus=n.element.prop("autofocus"),n.element.prop("autofocus",!1),this.autofocus&&this.focus(),this.search.attr("placeholder",n.searchInputPlaceholder)},destroy:function(){var e=this.opts.element,n=e.data("select2");this.close(),e.length&&e[0].detachEvent&&e.each(function(){this.detachEvent("onpropertychange",this._sync)}),this.propertyObserver&&(this.propertyObserver.disconnect(),this.propertyObserver=null),this._sync=null,n!==t&&(n.container.remove(),n.liveRegion.remove(),n.dropdown.remove(),e.removeClass("select2-offscreen").removeData("select2").off(".select2").prop("autofocus",this.autofocus||!1),this.elementTabIndex?e.attr({tabindex:this.elementTabIndex}):e.removeAttr("tabindex"),e.show()),j.call(this,"container","liveRegion","dropdown","results","search")},optionToData:function(e){return e.is("option")?{id:e.prop("value"),text:e.text(),element:e.get(),css:e.attr("class"),disabled:e.prop("disabled"),locked:a(e.attr("locked"),"locked")||a(e.data("locked"),!0)}:e.is("optgroup")?{text:e.attr("label"),children:[],element:e.get(),css:e.attr("class")}:void 0},prepareOpts:function(n){var r,i,o,c,u=this;if(r=n.element,"select"===r.get(0).tagName.toLowerCase()&&(this.select=i=n.element),i&&e.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in n)throw new Error("Option '"+this+"' is not allowed for Select2 when attached to a ","
"," ","
    ","
","
"].join(""))},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.focusser.prop("disabled",!this.isInterfaceEnabled())},opening:function(){var n,r,i;this.opts.minimumResultsForSearch>=0&&this.showSearch(!0),this.parent.opening.apply(this,arguments),!1!==this.showSearchInput&&this.search.val(this.focusser.val()),this.opts.shouldFocusInput(this)&&(this.search.focus(),n=this.search.get(0),n.createTextRange?(r=n.createTextRange(),r.collapse(!1),r.select()):n.setSelectionRange&&(i=this.search.val().length,n.setSelectionRange(i,i))),""===this.search.val()&&this.nextSearchTerm!=t&&(this.search.val(this.nextSearchTerm),this.search.select()),this.focusser.prop("disabled",!0).val(""),this.updateResults(!0),this.opts.element.trigger(e.Event("select2-open"))},close:function(){this.opened()&&(this.parent.close.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},focus:function(){this.opened()?this.close():(this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},isFocused:function(){return this.container.hasClass("select2-container-active")},cancel:function(){this.parent.cancel.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus()},destroy:function(){e("label[for='"+this.focusser.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),j.call(this,"selection","focusser")},initContainer:function(){var t,r,i=this.container,o=this.dropdown,a=R();this.opts.minimumResultsForSearch<0?this.showSearch(!1):this.showSearch(!0),this.selection=t=i.find(".select2-choice"),this.focusser=i.find(".select2-focusser"),t.find(".select2-chosen").attr("id","select2-chosen-"+a),this.focusser.attr("aria-labelledby","select2-chosen-"+a),this.results.attr("id","select2-results-"+a),this.search.attr("aria-owns","select2-results-"+a),this.focusser.attr("id","s2id_autogen"+a),r=e("label[for='"+this.opts.element.attr("id")+"']"),this.focusser.prev().text(r.text()).attr("for",this.focusser.attr("id"));var s=this.opts.element.attr("title");this.opts.element.attr("title",s||r.text()),this.focusser.attr("tabindex",this.elementTabIndex),this.search.attr("id",this.focusser.attr("id")+"_search"),this.search.prev().text(e("label[for='"+this.focusser.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.search.on("keydown",this.bind(function(e){if(this.isInterfaceEnabled()){if(e.which===O.PAGE_UP||e.which===O.PAGE_DOWN)return void _(e);switch(e.which){case O.UP:case O.DOWN:return this.moveHighlight(e.which===O.UP?-1:1),void _(e);case O.ENTER:return this.selectHighlighted(),void _(e);case O.TAB:return void this.selectHighlighted({noFocus:!0});case O.ESC:return this.cancel(e),void _(e)}}})),this.search.on("blur",this.bind(function(e){document.activeElement===this.body.get(0)&&window.setTimeout(this.bind(function(){this.opened()&&this.search.focus()}),0)})),this.focusser.on("keydown",this.bind(function(e){if(this.isInterfaceEnabled()&&e.which!==O.TAB&&!O.isControl(e)&&!O.isFunctionKey(e)&&e.which!==O.ESC){if(!1===this.opts.openOnEnter&&e.which===O.ENTER)return void _(e);if(e.which==O.DOWN||e.which==O.UP||e.which==O.ENTER&&this.opts.openOnEnter){if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)return;return this.open(),void _(e)}return e.which==O.DELETE||e.which==O.BACKSPACE?(this.opts.allowClear&&this.clear(),void _(e)):void 0}})),u(this.focusser),this.focusser.on("keyup-change input",this.bind(function(e){if(this.opts.minimumResultsForSearch>=0){if(e.stopPropagation(),this.opened())return;this.open()}})),t.on("mousedown touchstart","abbr",this.bind(function(e){this.isInterfaceEnabled()&&(this.clear(),m(e),this.close(),this.selection.focus())})),t.on("mousedown touchstart",this.bind(function(r){n(t),this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),_(r)})),o.on("mousedown touchstart",this.bind(function(){this.opts.shouldFocusInput(this)&&this.search.focus()})),t.on("focus",this.bind(function(e){_(e)})),this.focusser.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.container.addClass("select2-container-active")})).on("blur",this.bind(function(){this.opened()||(this.container.removeClass("select2-container-active"),this.opts.element.trigger(e.Event("select2-blur")))})),this.search.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.container.addClass("select2-container-active")})),this.initContainerWidth(),this.opts.element.addClass("select2-offscreen"),this.setPlaceholder()},clear:function(t){var n=this.selection.data("select2-data");if(n){var r=e.Event("select2-clearing");if(this.opts.element.trigger(r),r.isDefaultPrevented())return;var i=this.getPlaceholderOption();this.opts.element.val(i?i.val():""),this.selection.find(".select2-chosen").empty(),this.selection.removeData("select2-data"),this.setPlaceholder(),!1!==t&&(this.opts.element.trigger({type:"select2-removed",val:this.id(n),choice:n}),this.triggerChange({removed:n}))}},initSelection:function(){if(this.isPlaceholderOptionSelected())this.updateSelection(null),this.close(),this.setPlaceholder();else{var e=this;this.opts.initSelection.call(null,this.opts.element,function(n){n!==t&&null!==n&&(e.updateSelection(n),e.close(),e.setPlaceholder(),e.nextSearchTerm=e.opts.nextSearchTerm(n,e.search.val()))})}},isPlaceholderOptionSelected:function(){var e;return this.getPlaceholder()!==t&&((e=this.getPlaceholderOption())!==t&&e.prop("selected")||""===this.opts.element.val()||this.opts.element.val()===t||null===this.opts.element.val())},prepareOpts:function(){var t=this.parent.prepareOpts.apply(this,arguments),n=this;return"select"===t.element.get(0).tagName.toLowerCase()?t.initSelection=function(e,t){var r=e.find("option").filter(function(){return this.selected&&!this.disabled});t(n.optionToData(r))}:"data"in t&&(t.initSelection=t.initSelection||function(n,r){var i=n.val(),o=null;t.query({matcher:function(e,n,r){var s=a(i,t.id(r));return s&&(o=r),s},callback:e.isFunction(r)?function(){r(o)}:e.noop})}),t},getPlaceholder:function(){return this.select&&this.getPlaceholderOption()===t?t:this.parent.getPlaceholder.apply(this,arguments)},setPlaceholder:function(){var e=this.getPlaceholder();if(this.isPlaceholderOptionSelected()&&e!==t){if(this.select&&this.getPlaceholderOption()===t)return;this.selection.find(".select2-chosen").html(this.opts.escapeMarkup(e)),this.selection.addClass("select2-default"),this.container.removeClass("select2-allowclear")}},postprocessResults:function(e,t,n){var r=0,i=this;if(this.findHighlightableChoices().each2(function(e,t){if(a(i.id(t.data("select2-data")),i.opts.element.val()))return r=e,!1}),!1!==n&&(!0===t&&r>=0?this.highlight(r):this.highlight(0)),!0===t){var o=this.opts.minimumResultsForSearch;o>=0&&this.showSearch(E(e.results)>=o)}},showSearch:function(t){this.showSearchInput!==t&&(this.showSearchInput=t,this.dropdown.find(".select2-search").toggleClass("select2-search-hidden",!t),this.dropdown.find(".select2-search").toggleClass("select2-offscreen",!t),e(this.dropdown,this.container).toggleClass("select2-with-searchbox",t))},onSelect:function(e,t){if(this.triggerSelect(e)){var n=this.opts.element.val(),r=this.data();this.opts.element.val(this.id(e)),this.updateSelection(e),this.opts.element.trigger({type:"select2-selected",val:this.id(e),choice:e}),this.nextSearchTerm=this.opts.nextSearchTerm(e,this.search.val()),this.close(),t&&t.noFocus||!this.opts.shouldFocusInput(this)||this.focusser.focus(),a(n,this.id(e))||this.triggerChange({added:e,removed:r})}},updateSelection:function(e){var n,r,i=this.selection.find(".select2-chosen");this.selection.data("select2-data",e),i.empty(),null!==e&&(n=this.opts.formatSelection(e,i,this.opts.escapeMarkup)),n!==t&&i.append(n),r=this.opts.formatSelectionCssClass(e,i),r!==t&&i.addClass(r),this.selection.removeClass("select2-default"),this.opts.allowClear&&this.getPlaceholder()!==t&&this.container.addClass("select2-allowclear")},val:function(){var e,n=!1,r=null,i=this,o=this.data();if(0===arguments.length)return this.opts.element.val();if(e=arguments[0],arguments.length>1&&(n=arguments[1]),this.select)this.select.val(e).find("option").filter(function(){return this.selected}).each2(function(e,t){return r=i.optionToData(t),!1}),this.updateSelection(r),this.setPlaceholder(),n&&this.triggerChange({added:r,removed:o});else{if(!e&&0!==e)return void this.clear(n);if(this.opts.initSelection===t)throw new Error("cannot call val() if initSelection() is not defined");this.opts.element.val(e),this.opts.initSelection(this.opts.element,function(e){i.opts.element.val(e?i.id(e):""),i.updateSelection(e),i.setPlaceholder(),n&&i.triggerChange({added:e,removed:o})})}},clearSearch:function(){this.search.val(""),this.focusser.val("")},data:function(e){var n,r=!1;if(0===arguments.length)return n=this.selection.data("select2-data"),n==t&&(n=null),n;arguments.length>1&&(r=arguments[1]),e?(n=this.data(),this.opts.element.val(e?this.id(e):""),this.updateSelection(e),r&&this.triggerChange({added:e,removed:n})):this.clear(r)}}),P=S(x,{createContainer:function(){return e(document.createElement("div")).attr({class:"select2-container select2-container-multi"}).html(["
    ","
  • "," "," ","
  • ","
","
","
    ","
","
"].join(""))},prepareOpts:function(){var t=this.parent.prepareOpts.apply(this,arguments),n=this;return"select"===t.element.get(0).tagName.toLowerCase()?t.initSelection=function(e,t){var r=[];e.find("option").filter(function(){return this.selected&&!this.disabled}).each2(function(e,t){r.push(n.optionToData(t))}),t(r)}:"data"in t&&(t.initSelection=t.initSelection||function(n,r){var i=s(n.val(),t.separator),o=[];t.query({matcher:function(n,r,s){var c=e.grep(i,function(e){return a(e,t.id(s))}).length;return c&&o.push(s),c},callback:e.isFunction(r)?function(){for(var e=[],n=0;n0||(this.selectChoice(null),this.clearPlaceholder(),this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.open(),this.focusSearch(),t.preventDefault()))})),this.container.on("focus",n,this.bind(function(){this.isInterfaceEnabled()&&(this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"),this.clearPlaceholder())})),this.initContainerWidth(),this.opts.element.addClass("select2-offscreen"),this.clearSearch()},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.search.prop("disabled",!this.isInterfaceEnabled())},initSelection:function(){if(""===this.opts.element.val()&&""===this.opts.element.text()&&(this.updateSelection([]),this.close(),this.clearSearch()),this.select||""!==this.opts.element.val()){var e=this;this.opts.initSelection.call(null,this.opts.element,function(n){n!==t&&null!==n&&(e.updateSelection(n),e.close(),e.clearSearch())})}},clearSearch:function(){var e=this.getPlaceholder(),n=this.getMaxSearchWidth();e!==t&&0===this.getVal().length&&!1===this.search.hasClass("select2-focused")?(this.search.val(e).addClass("select2-default"),this.search.width(n>0?n:this.container.css("width"))):this.search.val("").width(10)},clearPlaceholder:function(){this.search.hasClass("select2-default")&&this.search.val("").removeClass("select2-default")},opening:function(){this.clearPlaceholder(),this.resizeSearch(),this.parent.opening.apply(this,arguments),this.focusSearch(),""===this.search.val()&&this.nextSearchTerm!=t&&(this.search.val(this.nextSearchTerm),this.search.select()),this.updateResults(!0),this.opts.shouldFocusInput(this)&&this.search.focus(),this.opts.element.trigger(e.Event("select2-open"))},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close(),this.search.focus()},isFocused:function(){return this.search.hasClass("select2-focused")},updateSelection:function(t){var n=[],r=[],o=this;e(t).each(function(){i(o.id(this),n)<0&&(n.push(o.id(this)),r.push(this))}),t=r,this.selection.find(".select2-search-choice").remove(),e(t).each(function(){o.addSelectedChoice(this)}),o.postprocessResults()},tokenize:function(){var e=this.search.val();null!=(e=this.opts.tokenizer.call(this,e,this.data(),this.bind(this.onSelect),this.opts))&&e!=t&&(this.search.val(e),e.length>0&&this.open())},onSelect:function(e,n){this.triggerSelect(e)&&(this.addSelectedChoice(e),this.opts.element.trigger({type:"selected",val:this.id(e),choice:e}),this.nextSearchTerm=this.opts.nextSearchTerm(e,this.search.val()),this.clearSearch(),this.updateResults(),!this.select&&this.opts.closeOnSelect||this.postprocessResults(e,!1,!0===this.opts.closeOnSelect),this.opts.closeOnSelect?(this.close(),this.search.width(10)):this.countSelectableResults()>0?(this.search.width(10),this.resizeSearch(),this.getMaximumSelectionSize()>0&&this.val().length>=this.getMaximumSelectionSize()?this.updateResults(!0):this.nextSearchTerm!=t&&(this.search.val(this.nextSearchTerm),this.updateResults(),this.search.select()),this.positionDropdown()):(this.close(),this.search.width(10)),this.triggerChange({added:e}),n&&n.noFocus||this.focusSearch())},cancel:function(){this.close(),this.focusSearch()},addSelectedChoice:function(n){var r,i,o=!n.locked,a=e("
  • "),s=e("
  • "),c=o?a:s,u=this.id(n),l=this.getVal();r=this.opts.formatSelection(n,c.find("div"),this.opts.escapeMarkup),r!=t&&c.find("div").replaceWith("
    "+r+"
    "),i=this.opts.formatSelectionCssClass(n,c.find("div")),i!=t&&c.addClass(i),o&&c.find(".select2-search-choice-close").on("mousedown",_).on("click dblclick",this.bind(function(t){this.isInterfaceEnabled()&&(this.unselect(e(t.target)),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus"),_(t),this.close(),this.focusSearch())})).on("focus",this.bind(function(){this.isInterfaceEnabled()&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"))})),c.data("select2-data",n),c.insertBefore(this.searchContainer),l.push(u),this.setVal(l)},unselect:function(t){var n,r,o=this.getVal();if(t=t.closest(".select2-search-choice"),0===t.length)throw"Invalid argument: "+t+". Must be .select2-search-choice";if(n=t.data("select2-data")){var a=e.Event("select2-removing");if(a.val=this.id(n),a.choice=n,this.opts.element.trigger(a),a.isDefaultPrevented())return!1;for(;(r=i(this.id(n),o))>=0;)o.splice(r,1),this.setVal(o),this.select&&this.postprocessResults();return t.remove(),this.opts.element.trigger({type:"select2-removed",val:this.id(n),choice:n}),this.triggerChange({removed:n}),!0}},postprocessResults:function(e,t,n){var r=this.getVal(),o=this.results.find(".select2-result"),a=this.results.find(".select2-result-with-children"),s=this;o.each2(function(e,t){i(s.id(t.data("select2-data")),r)>=0&&(t.addClass("select2-selected"),t.find(".select2-result-selectable").addClass("select2-selected"))}),a.each2(function(e,t){t.is(".select2-result-selectable")||0!==t.find(".select2-result-selectable:not(.select2-selected)").length||t.addClass("select2-selected")}),-1==this.highlight()&&!1!==n&&s.highlight(0),!this.opts.createSearchChoice&&!o.filter(".select2-result:not(.select2-selected)").length>0&&(!e||e&&!e.more&&0===this.results.find(".select2-no-results").length)&&C(s.opts.formatNoMatches,"formatNoMatches")&&this.results.append("
  • "+T(s.opts.formatNoMatches,s.opts.element,s.search.val())+"
  • ")},getMaxSearchWidth:function(){return this.selection.width()-c(this.search)},resizeSearch:function(){var e,t,n,r,i,o=c(this.search);e=v(this.search)+10,t=this.search.offset().left,n=this.selection.width(),r=this.selection.offset().left,i=n-(t-r)-o,i0&&n--,e.splice(r,1),r--);return{added:t,removed:e}},val:function(n,r){var i,o=this;if(0===arguments.length)return this.getVal();if(i=this.data(),i.length||(i=[]),!n&&0!==n)return this.opts.element.val(""),this.updateSelection([]),this.clearSearch(),void(r&&this.triggerChange({added:this.data(),removed:i}));if(this.setVal(n),this.select)this.opts.initSelection(this.select,this.bind(this.updateSelection)),r&&this.triggerChange(this.buildChangeDetails(i,this.data()));else{if(this.opts.initSelection===t)throw new Error("val() cannot be called if initSelection() is not defined");this.opts.initSelection(this.opts.element,function(t){var n=e.map(t,o.id);o.setVal(n),o.updateSelection(t),o.clearSearch(),r&&o.triggerChange(o.buildChangeDetails(i,o.data()))})}this.clearSearch()},onSortStart:function(){if(this.select)throw new Error("Sorting of elements is not supported when attached to instead.");this.search.width(0),this.searchContainer.hide()},onSortEnd:function(){var t=[],n=this;this.searchContainer.show(),this.searchContainer.appendTo(this.searchContainer.parent()),this.resizeSearch(),this.selection.find(".select2-search-choice").each(function(){t.push(n.opts.id(e(this).data("select2-data")))}),this.setVal(t),this.triggerChange()},data:function(t,n){var r,i,o=this;if(0===arguments.length)return this.selection.children(".select2-search-choice").map(function(){return e(this).data("select2-data")}).get();i=this.data(),t||(t=[]),r=e.map(t,function(e){return o.opts.id(e)}),this.setVal(r),this.updateSelection(t),this.clearSearch(),n&&this.triggerChange(this.buildChangeDetails(i,this.data()))}}),e.fn.select2=function(){var n,r,o,a,s,c=Array.prototype.slice.call(arguments,0),u=["val","destroy","opened","open","close","focus","isFocused","container","dropdown","onSortStart","onSortEnd","enable","disable","readonly","positionDropdown","data","search"],l=["opened","isFocused","container","dropdown"],d=["val","data"],f={search:"externalSearch"};return this.each(function(){if(0===c.length||"object"==typeof c[0])n=0===c.length?{}:e.extend({},c[0]),n.element=e(this),"select"===n.element.get(0).tagName.toLowerCase()?s=n.element.prop("multiple"):(s=n.multiple||!1,"tags"in n&&(n.multiple=s=!0)),r=s?new window.Select2.class.multi:new window.Select2.class.single,r.init(n);else{if("string"!=typeof c[0])throw"Invalid arguments to select2 plugin: "+c;if(i(c[0],u)<0)throw"Unknown method: "+c[0];if(a=t,(r=e(this).data("select2"))===t)return;if(o=c[0],"container"===o?a=r.container:"dropdown"===o?a=r.dropdown:(f[o]&&(o=f[o]),a=r[o].apply(r,c.slice(1))),i(c[0],l)>=0||i(c[0],d)>=0&&1==c.length)return!1}}),a===t?this:a},e.fn.select2.defaults={width:"copy",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(e,t,n,r){var i=[];return y(e.text,n.term,i,r),i.join("")},formatSelection:function(e,n,r){return e?r(e.text):t},sortResults:function(e,t,n){return e},formatResultCssClass:function(e){return e.css},formatSelectionCssClass:function(e,n){return t},formatMatches:function(e){return 1===e?"One result is available, press enter to select it.":e+" results are available, use up and down arrow keys to navigate."},formatNoMatches:function(){return"No matches found"},formatInputTooShort:function(e,t){var n=t-e.length;return"Please enter "+n+" or more character"+(1==n?"":"s")},formatInputTooLong:function(e,t){var n=e.length-t;return"Please delete "+n+" character"+(1==n?"":"s")},formatSelectionTooBig:function(e){return"You can only select "+e+" item"+(1==e?"":"s")},formatLoadMore:function(e){return"Loading more results…"},formatSearching:function(){return"Searching…"},minimumResultsForSearch:0,minimumInputLength:0,maximumInputLength:null,maximumSelectionSize:0,id:function(e){return e==t?null:e.id},matcher:function(e,t){return r(""+t).toUpperCase().indexOf(r(""+e).toUpperCase())>=0},separator:",",tokenSeparators:[],tokenizer:D,escapeMarkup:b,blurOnChange:!1,selectOnBlur:!1,adaptContainerCssClass:function(e){return e},adaptDropdownCssClass:function(e){return null},nextSearchTerm:function(e,n){return t},searchInputPlaceholder:"",createSearchChoicePosition:"top",shouldFocusInput:function(e){return!(("ontouchstart"in window||navigator.msMaxTouchPoints>0)&&e.opts.minimumResultsForSearch<0)}},e.fn.select2.ajaxDefaults={transport:e.ajax,params:{type:"GET",cache:!1,dataType:"json"}},window.Select2={query:{ajax:w,local:k,tags:M},util:{debounce:d,markMatch:y,escapeMarkup:b,stripDiacritics:r},class:{abstract:x,single:L,multi:P}}}}(jQuery)},function(e,t,n){"use strict";var r=n(762);window.ScrivitoHandlebarsTemplates={},r.keys().forEach(function(e){var t=e.replace(/^\.\//,"").replace(".hbs","");window.ScrivitoHandlebarsTemplates[t]=r(e)})},function(e,t,n){function r(e){return n(i(e))}function i(e){var t=o[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var o={"./choose_obj_class_dialog.hbs":763,"./confirmation_dialog.hbs":764,"./current_page_link_dialog.hbs":765,"./details_dialog.hbs":766,"./editable_workspace_dialog.hbs":767,"./element_overlay.hbs":768,"./iframe_dialog.hbs":769,"./inplace_marker.hbs":770,"./menu.hbs":771,"./menu_item.hbs":772,"./menu_item/icon.hbs":773,"./menu_item/icon_hex.hbs":774,"./menu_item/icon_sci.hbs":775,"./menu_item/separator.hbs":776,"./menu_item/spinner.hbs":777,"./obj_menu.hbs":778,"./obj_sorting_dialog.hbs":779,"./option_marker.hbs":780,"./overlay.hbs":781,"./saving_indicator.hbs":782,"./saving_overlay.hbs":783,"./title.hbs":784,"./transfer_errors_dialog.hbs":785,"./widget_element_placeholder.hbs":786};r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=762},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a=null!=t?t:{},s=e.escapeExpression;return'
    \n\n
    \n

    '+s((o=null!=(o=n.title||(null!=t?t.title:t))?o:n.helperMissing,"function"==typeof o?o.call(a,{name:"title",hash:{},data:i}):o))+'

    \n
    \n\n
    \n
    \n \n '+s(n.translate.call(a,"loading",{name:"translate",hash:{},data:i}))+'\n
    \n
    \n\n \n\n
    \n"},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({1:function(e,t,n,r,i){var o;return"scrivito_"+e.escapeExpression((o=null!=(o=n.color||(null!=t?t.color:t))?o:n.helperMissing,"function"==typeof o?o.call(null!=t?t:{},{name:"color",hash:{},data:i}):o))},3:function(e,t,n,r,i){var o;return"

    "+e.escapeExpression((o=null!=(o=n.description||(null!=t?t.description:t))?o:n.helperMissing,"function"==typeof o?o.call(null!=t?t:{},{name:"description",hash:{},data:i}):o))+"

    \n"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a,s=null!=t?t:{},c=n.helperMissing,u="function",l=e.escapeExpression;return'
    \n
    \n '+(null!=(a=null!=(a=n.icon||(null!=t?t.icon:t))?a:c,o=typeof a===u?a.call(s,{name:"icon",hash:{},data:i}):a)?o:"")+'\n

    '+l((a=null!=(a=n.title||(null!=t?t.title:t))?a:c,typeof a===u?a.call(s,{name:"title",hash:{},data:i}):a))+"

    \n\n"+(null!=(o=n.if.call(s,null!=t?t.description:t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?o:"")+'
    \n\n \n
    \n"},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a=null!=t?t:{},s=e.escapeExpression;return'\n"},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({1:function(e,t,n,r,i){return'
    \n'},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a,s=null!=t?t:{},c=n.helperMissing,u=e.escapeExpression;return'
    \n
    \n

    '+u((a=null!=(a=n.title||(null!=t?t.title:t))?a:c,"function"==typeof a?a.call(s,{name:"title",hash:{},data:i}):a))+'

    \n
    \n\n'+(null!=(o=n.if.call(s,null!=t?t.obj:t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?o:"")+'
    \n\n
    \n \n
    \n \n
    \n
    \n\n \n
    \n"},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({1:function(e,t,n,r,i){return"scrivito_green"},3:function(e,t,n,r,i){var o,a=null!=t?t:{};return'
    \n \n \n
    \n"},4:function(e,t,n,r,i){var o=e.lambda,a=e.escapeExpression;return' \n"},6:function(e,t,n,r,i){var o,a=null!=t?t:{};return'
    \n \n \n
    \n'},7:function(e,t,n,r,i){return" "+e.escapeExpression(n.translate.call(null!=t?t:{},"editable_ws_dialog.or_create_new",{name:"translate",hash:{},data:i}))+"\n"},9:function(e,t,n,r,i){return" "+e.escapeExpression(n.translate.call(null!=t?t:{},"editable_ws_dialog.create_new",{name:"translate",hash:{},data:i}))+"\n"},11:function(e,t,n,r,i){var o=null!=t?t:{},a=e.escapeExpression;return' '+a(n.translate.call(o,"cancel",{name:"translate",hash:{},data:i}))+'\n '+a(n.translate.call(o,"confirm",{name:"translate",hash:{},data:i}))+"\n"},13:function(e,t,n,r,i){return' '+e.escapeExpression(n.translate.call(null!=t?t:{},"close",{name:"translate",hash:{},data:i}))+"\n"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a,s=null!=t?t:{},c=n.helperMissing,u=e.escapeExpression;return'
    \n
    \n \n

    \n '+u((a=null!=(a=n.title||(null!=t?t.title:t))?a:c,"function"==typeof a?a.call(s,{name:"title",hash:{},data:i}):a))+'\n

    \n
    \n
    \n
    \n '+u((a=null!=(a=n.description||(null!=t?t.description:t))?a:c,"function"==typeof a?a.call(s,{name:"description",hash:{},data:i}):a))+"\n
    \n
    \n  \n
    \n"+(null!=(o=n.if.call(s,null!=t?t.workspaces:t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?o:"")+(null!=(o=n.if.call(s,null!=t?t.can_create:t,{name:"if",hash:{},fn:e.program(6,i,0),inverse:e.noop,data:i}))?o:"")+'
    \n \n
    \n"},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){return'
    \n'},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({1:function(e,t,n,r,i){var o;return"scrivito_"+e.escapeExpression((o=null!=(o=n.color||(null!=t?t.color:t))?o:n.helperMissing,"function"==typeof o?o.call(null!=t?t:{},{name:"color",hash:{},data:i}):o))},3:function(e,t,n,r,i){var o;return null!=(o=n.with.call(null!=t?t:{},null!=t?t.cancel:t,{name:"with",hash:{},fn:e.program(4,i,0),inverse:e.noop,data:i}))?o:""},4:function(e,t,n,r,i){var o,a=null!=t?t:{};return' \n '+(null!=(o=n.if.call(a,null!=t?t.title:t,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.program(7,i,0),data:i}))?o:"")+"\n \n"},5:function(e,t,n,r,i){var o;return e.escapeExpression((o=null!=(o=n.title||(null!=t?t.title:t))?o:n.helperMissing,"function"==typeof o?o.call(null!=t?t:{},{name:"title",hash:{},data:i}):o))},7:function(e,t,n,r,i){return e.escapeExpression(e.lambda(t,t))},9:function(e,t,n,r,i){var o;return null!=(o=n.with.call(null!=t?t:{},null!=t?t.confirm:t,{name:"with",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i}))?o:""},10:function(e,t,n,r,i){var o,a=null!=t?t:{};return' \n '+(null!=(o=n.if.call(a,null!=t?t.title:t,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.program(7,i,0),data:i}))?o:"")+"\n \n"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a=null!=t?t:{};return'
    \n
    \n \n
    \n"},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({1:function(e,t,n,r,i){var o;return' '+e.escapeExpression((o=null!=(o=n.description||(null!=t?t.description:t))?o:n.helperMissing,"function"==typeof o?o.call(null!=t?t:{},{name:"description",hash:{},data:i}):o))+"\n"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a,s=null!=t?t:{},c=n.helperMissing,u=e.escapeExpression;return'\n \n'+(null!=(o=n.if.call(s,null!=t?t.description:t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?o:"")+"\n"},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({1:function(e,t,n,r,i){var o;return" "+(null!=(o=e.lambda(null!=t?t.render:t,t))?o:"")+"\n"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o;return'
    \n
      \n'+(null!=(o=n.each.call(null!=t?t:{},null!=t?t.menu_items:t,{name:"each",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?o:"")+'
    • \n
    \n
    \n'},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({1:function(e,t,n,r,i){return"scrivito_disabled"},3:function(e,t,n,r,i){var o;return e.escapeExpression((o=null!=(o=n.tooltip||(null!=t?t.tooltip:t))?o:n.helperMissing,"function"==typeof o?o.call(null!=t?t:{},{name:"tooltip",hash:{},data:i}):o))},5:function(e,t,n,r,i){var o;return e.escapeExpression((o=null!=(o=n.reasonForBeingDisabled||(null!=t?t.reasonForBeingDisabled:t))?o:n.helperMissing,"function"==typeof o?o.call(null!=t?t:{},{name:"reasonForBeingDisabled",hash:{},data:i}):o))},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a,s=null!=t?t:{},c=n.helperMissing,u=e.escapeExpression;return'
  • \n \n '+(null!=(a=null!=(a=n.icon||(null!=t?t.icon:t))?a:c,o="function"==typeof a?a.call(s,{name:"icon",hash:{},data:i}):a)?o:"")+u((a=null!=(a=n.title||(null!=t?t.title:t))?a:c,"function"==typeof a?a.call(s,{name:"title",hash:{},data:i}):a))+"\n \n
  • \n"},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o;return'\n'},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a;return''+(null!=(a=null!=(a=n.icon||(null!=t?t.icon:t))?a:n.helperMissing,o="function"==typeof a?a.call(null!=t?t:{},{name:"icon",hash:{},data:i}):a)?o:"")+"\n"},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o;return'\n'},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({1:function(e,t,n,r,i){var o;return e.escapeExpression((o=null!=(o=n.title||(null!=t?t.title:t))?o:n.helperMissing,"function"==typeof o?o.call(null!=t?t:{},{name:"title",hash:{},data:i}):o))},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o;return'
  • \n '+(null!=(o=n.if.call(null!=t?t:{},null!=t?t.title:t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?o:"")+"\n
  • \n"},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a=null!=t?t:{},s=e.escapeExpression;return'
  • \n \n \n '+s(n.translate.call(a,"menu_item.spinner.loading",{name:"translate",hash:{},data:i}))+"\n \n
  • \n"},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({1:function(e,t,n,r,i){var o;return"scrivito_"+e.escapeExpression(e.lambda(null!=(o=null!=t?t.obj:t)?o.modification:o,t))},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o;return'\n\n\n\n\n'},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({1:function(e,t,n,r,i){var o,a=null!=t?t:{},s=n.helperMissing,c=e.escapeExpression;return"
  • "+c((o=null!=(o=n.description||(null!=t?t.description:t))?o:s,"function"==typeof o?o.call(a,{name:"description",hash:{},data:i}):o))+"
  • \n"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a,s=null!=t?t:{},c=e.escapeExpression;return'
    \n\n
    \n

    '+(null!=(a=null!=(a=n.icon||(null!=t?t.icon:t))?a:n.helperMissing,o="function"==typeof a?a.call(s,{name:"icon",hash:{},data:i}):a)?o:"")+""+c(n.translate.call(s,"obj_sorting_dialog.title",{name:"translate",hash:{},data:i}))+'

    \n
    \n\n
    \n
      \n'+(null!=(o=n.each.call(s,null!=t?t.children:t,{name:"each",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?o:"")+'
    \n
    \n\n \n\n
    \n"},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({1:function(e,t,n,r,i){return"scrivito_visible"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a,s=null!=t?t:{};return'\n \n\n'},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){return'
    \n'},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o=null!=t?t:{},a=e.escapeExpression;return'\n \n \n '+a(n.translate.call(o,"saving_indicator_item.saving",{name:"translate",hash:{},data:i}))+'\n \n\n \n \n '+a(n.translate.call(o,"saving_indicator_item.saved",{name:"translate",hash:{},data:i}))+"\n \n\n"},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){return'
    \n \n
    \n'},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o;return"

    "+e.escapeExpression((o=null!=(o=n.title||(null!=t?t.title:t))?o:n.helperMissing,"function"==typeof o?o.call(null!=t?t:{},{name:"title",hash:{},data:i}):o))+"

    "},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({1:function(e,t,n,r,i){var o,a=null!=t?t:{};return"

    "+e.escapeExpression(n.translate.call(a,"transfer_errors_dialog.modified",{name:"translate",hash:{},data:i}))+"

    \n
      \n "+(null!=(o=n.each.call(a,null!=t?t.modified:t,{name:"each",hash:{},fn:e.program(2,i,0),inverse:e.noop,data:i}))?o:"")+"\n
    \n"},2:function(e,t,n,r,i){var o;return"
  • "+e.escapeExpression((o=null!=(o=n.description_for_editor||(null!=t?t.description_for_editor:t))?o:n.helperMissing,"function"==typeof o?o.call(null!=t?t:{},{name:"description_for_editor",hash:{},data:i}):o))+"
  • "},4:function(e,t,n,r,i){var o,a=null!=t?t:{};return"

    "+e.escapeExpression(n.translate.call(a,"transfer_errors_dialog.conflicting",{name:"translate",hash:{},data:i}))+"

    \n
      \n "+(null!=(o=n.each.call(a,null!=t?t.conflicting:t,{name:"each",hash:{},fn:e.program(2,i,0),inverse:e.noop,data:i}))?o:"")+"\n
    \n"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a=null!=t?t:{};return(null!=(o=n.if.call(a,null!=t?t.modified:t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?o:"")+"\n"+(null!=(o=n.if.call(a,null!=t?t.conflicting:t,{name:"if",hash:{},fn:e.program(4,i,0),inverse:e.noop,data:i}))?o:"")},useData:!0})},function(e,t,n){var r=n(29);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a,s=null!=t?t:{},c=n.helperMissing,u=e.escapeExpression,l=e.lambda;return"<"+u((a=null!=(a=n.tag||(null!=t?t.tag:t))?a:c,"function"==typeof a?a.call(s,{name:"tag",hash:{},data:i}):a))+"\n data-scrivito-private-widget-id='"+u(l(null!=(o=null!=t?t.widget:t)?o.id:o,t))+"'\n data-scrivito-widget-obj-class='"+u(l(null!=(o=null!=t?t.widget:t)?o.objClass:o,t))+"'\n data-scrivito-private-widget-description-for-editor='Loading...'>\n  \n\n"},useData:!0})},function(e,t,n){"use strict";window.scrivito={}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return(0,c.default)((0,a.default)(e))}var o=n(8),a=r(o),s=n(6),c=r(s);scrivito.legacyCreateConnectedComponent=i},function(e,t,n){"use strict";function r(e){return e}function i(e,t,n){function i(e,t){var n=g.hasOwnProperty(t)?g[t]:null;k.hasOwnProperty(t)&&s("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&s("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function u(e,n){if(n){s("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),s(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,o=r.__reactAutoBindPairs;n.hasOwnProperty(c)&&y.mixins(e,n.mixins);for(var a in n)if(n.hasOwnProperty(a)&&a!==c){var u=n[a],l=r.hasOwnProperty(a);if(i(l,a),y.hasOwnProperty(a))y[a](e,u);else{var d=g.hasOwnProperty(a),h="function"==typeof u,_=h&&!d&&!l&&!1!==n.autobind;if(_)o.push(a,u),r[a]=u;else if(l){var m=g[a];s(d&&("DEFINE_MANY_MERGED"===m||"DEFINE_MANY"===m),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",m,a),"DEFINE_MANY_MERGED"===m?r[a]=f(r[a],u):"DEFINE_MANY"===m&&(r[a]=p(r[a],u))}else r[a]=u}}}else;}function l(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var i=n in y;s(!i,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var o=n in e;s(!o,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),e[n]=r}}}function d(e,t){s(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in t)t.hasOwnProperty(n)&&(s(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function f(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var i={};return d(i,n),d(i,r),i}}function p(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function h(e,t){var n=t.bind(e);return n}function _(e){for(var t=e.__reactAutoBindPairs,n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=n.params||[];r.unshift(e),(t=scrivito).logError.apply(t,o(r)),n.description&&scrivito.AlertDialog.open(n.description),$.error(e)},redirect_to:function(t,n){return e().then(function(){scrivito.change_location(t,n)}),scrivito.neverResolve()},open:function(){var e;(e=window).open.apply(e,arguments)},changeEditingContext:function(e){var t=scrivito.editingContext.uriWithEditingContextParams(e);return scrivito.redirect_to(t.href())},location:function(){return window.location},change_location:function(e,t){(t||window).location=e},wait:function(e){return scrivito.waitMs(1e3*e)},waitMs:function(e){return new scrivito.Promise(function(t){setTimeout(t,e)})},run_new_event:function(e){scrivito.wait(0).then(e)},reload:function(t){return e().then(function(){scrivito.reload_location(t)}),new scrivito.Promise(function(){})},reload_location:function(e){(e||window).location.reload()},center:function(e){1===e.length&&e.css({marginLeft:-e.innerWidth()/2,marginTop:-e.innerHeight()/2,left:"50%"})},ensure_fully_visible_within:function(e,t,n){var r=t.scrollTop(),i=e.offset().top,o=e.height(),a=void 0;r>i?a=i-50:i+o>r+n&&(a=o+i+50-n),a&&t.animate({scrollTop:a})},ensure_fully_visible_within_window:function(e){var t=scrivito.CmsDocument.from(e);scrivito.ensure_fully_visible_within(e,t.dom_element().find("body"),$(t.browserWindow()).height())},describe_element:function(e){var t=e.get(0).nodeName;e.attr("id")&&(t+="#"+e.attr("id"));var n=e.attr("class");return n&&(0,X.default)(n.split(" ")).each(function(e){t+="."+e}),"["+t+"]"},deprecation_warning:function(e,t){var n='DEPRECATION WARNING: "'+e+'" is deprecated.';t&&(n+=' Please use "'+t+'" instead.'),scrivito.warn(n)},on:function(e,t){switch(e){case"load":scrivito.Gui.on("open",t),scrivito.Gui.isStarted()&&scrivito.run_new_event(t);break;case"content":scrivito.Gui.on("content",function(e){return t(e)});break;case"pageChange":A.register(t);break;default:$.error('Unknown event "'+e+'"')}},create_obj:function(e){var t=y.createObjFromLegacyAttributes(e).then(function(e){return{id:e.id()}}).catch(function(e){return scrivito.displayError(e),scrivito.Promise.reject(i(e))});return(0,ae.default)(t)},delete_obj:function(e){if(e){var t=s.default.fetch(e).then(function(e){return e.destroy(),e.finishSaving()}).catch(function(e){return scrivito.displayError(e),scrivito.Promise.reject(i(e))});return(0,ae.default)(t)}$.error("Can't delete without ID")},is_current_page_restricted:function(){return scrivito.applicationDocument().isCurrentPageRestricted()},neverResolve:function(){return new scrivito.Promise(function(){})},trigger:function(e,t){"content"===e?X.default.each($(t),function(e){scrivito.Gui.newContent(e)}):"new_content"===e?(scrivito.deprecation_warning('scrivito.trigger("new_content")','scrivito.trigger("content")'),scrivito.trigger("content",t)):$.error('Unknown event "'+e+'"')},in_editable_view:function(){return"editing"===scrivito.editingContext.displayMode},json_parse_base64:function(e){var t=decodeURIComponent(window.escape(atob(e)));return JSON.parse(t)},json_stringify_base64:function(e){var t=JSON.stringify(e);return btoa(window.unescape(encodeURIComponent(t)))},t:function(){return _e.default.translate.apply(_e.default,arguments)},is_inited:function(){return n},applicationDocument:function(){return scrivito.applicationWindow.document()},root_path:function(){return scrivito.applicationWindow.isFrame()?"/scrivito/":"/"},details_url_for_obj_id:function(e){return scrivito.legacy_obj.create_instance({id:e}).details_src()},workspace_limit_exceeded:function(){(0,p.default)(scrivito.t("workspace_limit_exceeded.message"))},register_default_obj_class_for_content_type:function(e){F.register(e)},default_obj_class_for_content_type:function(e){return F.lookup(e)},pattern_sort:function(e,t){var n=e;if(t&&t.length){var r=[];return X.default.each(t,function(e,t){if(!e.match(/(.*)\.\*$/)){var i=X.default.find(n,function(t){return t.id()===e});i&&(r[t]=i,n=X.default.without(n,i))}}),X.default.each(t,function(e,t){if(e.match(/(.*)\.\*$/)){var i=X.default.select(n,function(t){return!t.id().indexOf(e.replace(".*",""))});i.length&&(r[t]=i,n=X.default.difference(n,i))}}),X.default.flatten(X.default.compact(r.concat(n)))}return n},page_menu:function(e){return new G.default(e)},custom_dialog:function(e,t,n,r){var i=scrivito.IframeDialog.open(e,r);return i.when_open.then(function(e){var r=(0,_.default)(t,i.when_closed);r.css("background-color",e.css("background-color")),r.append(n)}),{when_closed:i.when_closed}},translate:function(){return _e.default.translate.apply(_e.default,arguments)},ui_config:function(){return U.read($('meta[name="scrivito-ui-config"]'),"content")},mock_ui_config:function(e){var t=$('meta[name="scrivito-ui-config"]');t.length||(t=$('').appendTo($("head"))),e?U.write(t,"content",e):t.removeAttr("content")},restore_styles_afterwards:function(e,n){t(e,n,"class"),t(e,n,"style")},description_for_editor:function(e){return scrivito.obj_where("id","equals",e).batch_size(e.length).format("_default").load_batch().then(function(t){return X.default.map(e,function(e){var n=X.default.findWhere(t.hits,{id:e});return n&&n.description_for_editor||null})})},isDevelopmentMode:!1,titleForObj:de.titleForObj,descriptionForObj:de.descriptionForObj,UiConfig:pe.default,init:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};scrivito.config=e;var t=e.useRailsEngine&&e.i18n.locale;_e.default.locale=(0,ge.uiLanguage)(t)||"en",(0,te.initUseRailsEngine)(e.useRailsEngine),(0,v.default)(),scrivito.forgery_protection.init(),scrivito.editingContext.init(),scrivito.resourceDialog.init(e.resource_dialog||{}),scrivito.hotkeys.init(),scrivito.CmsRestApi.init(e.backend_endpoint,e.tenant,le.default),le.default.enable((0,ie.useCustomUsers)()?ne.requestCustomUserSession:scrivito.CmsRestApi.requestBuiltInUserSession),(0,Z.ensureEditingContextValidity)(),ce.default.init(e.class_datas||[]),I.init(),d.default.init(),scrivito.isDevelopmentMode=e.is_development_mode,ve.default.shouldThrowErrors=e.is_development_mode,e.useRailsEngine&&scrivito.inplace_marker.init(),scrivito.optionMarker.init(),scrivito.Menubar.init(),K.default.init(),q.init(),(0,ee.initStaticPageDocumentMenu)(),scrivito.widgetCommands.init(),scrivito.widgetlistFieldCommands.init(),scrivito.child_list_marker.init(),M.init(),scrivito.widget_marker.init(),scrivito.context_menu.init(),scrivito.ContextMenu.init(),scrivito.external_links.init(),scrivito.WidgetReloading.init(),W.init(),S.init(),scrivito.dragDrool.init(),scrivito.dragScroll.init(),T.init(),D.init(),"#__scrivito_enable_sidebar_details"===window.location.hash&&(scrivito.enableSidebarDetails=!0),P.init(),x.init(),scrivito.fileDrop.init(),w.init(),scrivito.observeApplicationPage(),window.onbeforeunload=u.default,(0,re.syncWithApplicationLocation)(scrivito.cmsWindow.from(window)),scrivito.applicationWindow.useFragmentOf(scrivito.cmsWindow.from(window)),n=!0}});var i=function(e){return{message:e.message}}}()},function(e,t,n){"use strict";function r(){if(scrivito.WriteMonitor.isWriting())return scrivito.t("warn_before_unloading")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return scrivito.AlertDialog.open(e,{color:"yellow",icon:"information"})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e,t){var n=$(e).find("body"),r=$('
    ');return n.append(r),t.finally(function(){r.detach()}),scrivito.restore_styles_afterwards(t,n),n.css("overflow","hidden"),r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(){scrivito.applicationWindow.on("document",function(e){scrivito.AppConfig.setAppAdapter(e.appAdapter())})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(){scrivito.on("content",function(e){if(scrivito.editingContext.isEditingMode()){var t=scrivito.WidgetlistFieldElement.all($(e));a.default.each(t,function(e){i(e)})}})}function i(e){var t=e.dom_element();t.on("click.scrivito",function(n){if(e.isEmpty())return scrivito.ContextMenu.open(t,e.menu(),{mousePosition:{x:n.pageX,y:n.pageY}}),!1})}Object.defineProperty(t,"__esModule",{value:!0}),t.init=r;var o=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(){scrivito.on("content",function(e){if(scrivito.in_editable_view()){var t=scrivito.CmsDocument.from($(e));u.default.each(scrivito.widgetElement.all(t.dom_element()),o)}})}function o(e){var t=e.dom_element().find("> .scrivito_editing_marker");t.attr("draggable","true");var n=void 0;t.on("dragstart",function(t){(0,d.default)(t.originalEvent);var r=e.dom_element();r.attr("data-scrivito-private-dropback",!0),r.get(0).style.opacity=.5,scrivito.dragDrool.onDragstart(e.basicWidget(),r.get(0)),n=e.basicWidget().containingField()}),t.on("dragend",function(){var t=e.dom_element();t.removeAttr("data-scrivito-private-dropback"),t.get(0).style.opacity=1,scrivito.dragDrool.onDragend(),(0,s.default)(n)})}Object.defineProperty(t,"__esModule",{value:!0}),t.init=i;var a=n(111),s=r(a),c=n(0),u=r(c),l=n(212),d=r(l)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t,n){e.hide(),t.is("[data-scrivito-field-type=widgetlist]")?t.append(e):t["top"===n?"before":"after"](e),e.slideDown(100)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var n=0;n=0})}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"page";return new l.default({id:"scrivito.sdk.delete_obj",title:scrivito.t("commands.delete_obj.title",scrivito.t("models."+t+".name")),icon:"",present:function(){return!c.default.getIncludingDeleted(e).isDeleted()},disabled:function(){return scrivito.editingContext.isMutable()?c.default.get(e).hasChildren()?scrivito.t("commands.delete_obj.has_children"):void 0:scrivito.t("commands.delete_obj.published_workspace")},execute:function(){scrivito.ConfirmDeleteDialog.open(e).then(function(t){t&&scrivito.withSavingOverlay(o(e).then(a))})}})}function o(e){return c.default.fetch(e).then(function(e){return e.fetchParent().then(function(t){return e.destroy(),e.finishSaving().then(function(){return t})})})}function a(e){return e?scrivito.applicationWindow.navigateTo(e.id()):scrivito.applicationWindow.navigateToRoot()}Object.defineProperty(t,"__esModule",{value:!0});var s=n(3),c=r(s),u=n(11),l=r(u);t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return new c.default({id:"scrivito.sdk.duplicate_obj",title:scrivito.t("commands.duplicate_obj.title"),icon:"",disabled:function(){return scrivito.editingContext.isMutable()?a.default.getIncludingDeleted(e).hasChildren()?scrivito.t("commands.duplicate_obj.has_children"):void 0:scrivito.t("commands.duplicate_obj.published_workspace")},execute:function(){scrivito.withSavingOverlay(a.default.fetchIncludingDeleted(e).then(function(e){return e.copyAsync()})).then(function(e){return scrivito.applicationWindow.navigateTo(e.id())})}})}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=r(o),s=n(11),c=r(s);t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"commands.mark_resolved_obj";return new l.default({id:"scrivito.sdk.mark_resolved_obj",title:scrivito.t(t+".title"),icon:"",present:function(){return c.default.getIncludingDeleted(e).hasConflicts()},execute:function(){o(t).then(function(){return scrivito.withSavingOverlay(a(e).then(scrivito.applicationWindow.reload))})}})}function o(e){return scrivito.confirmation_dialog({title:scrivito.t("commands.mark_resolved_obj.dialog.title"),description:scrivito.t(e+".dialog.description"),icon:"",color:"red",confirm_button_text:scrivito.t("commands.mark_resolved_obj.dialog.confirm"),confirm_button_color:"red"})}function a(e){return c.default.fetch(e).then(function(e){return e.markResolvedAsync()})}Object.defineProperty(t,"__esModule",{value:!0});var s=n(3),c=r(s),u=n(11),l=r(u);t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return new d.default({id:"scrivito.sdk.open_page_details",icon:"",title:function(){return scrivito.editingContext.isEditingMode()?scrivito.t("commands.open_page_details.title.editing_mode"):scrivito.t("commands.open_page_details.title")},disabled:function(){if((0,h.useRailsEngine)()){var t=s.default.getIncludingDeleted(e);if(!(0,u.default)(t.objClass()))return scrivito.t("commands.open_page_details.is_disabled")}},execute:function(){return scrivito.WriteMonitor.trackChanges(function(){return p.default.open({objId:e})},o)}})}function o(){(0,h.useRailsEngine)()&&scrivito.applicationWindow.reload()}Object.defineProperty(t,"__esModule",{value:!0});var a=n(3),s=r(a),c=n(344),u=r(c),l=n(11),d=r(l),f=n(345),p=r(f),h=n(48);t.default=i},function(e,t,n){"use strict";function r(e){return i(e)?s.default(e):a.default(e)}function i(e){var t=o.default(e);return!t||t.useRailsDetailsTemplate()}Object.defineProperty(t,"__esModule",{value:!0});var o=n(235),a=n(537),s=n(822);t.default=r},function(e,t,n){"use strict";function r(e){var t;return t=e instanceof i.default?scrivito.detailsPathForId(e.id()):scrivito.detailsPathForWidget(e),{iframeSrc:t}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(3);t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.title,n=e.isActive,r=e.onClick;return f.default.createElement("li",{className:n&&"active",onClick:r},f.default.createElement("span",null,t))}function c(e){var t=e.content,n=e.group,r=e.isActive,i="scrivito_tab_pane";r&&(i+=" active");var o=void 0;return o=n.items?f.default.createElement(u,{content:t,items:n.items}):f.default.createElement(w.default,{name:(0,h.default)(n.title),content:t,componentId:n.component,isActive:r}),f.default.createElement("div",{className:i},o)}function u(e){var t=e.content,n=e.items;return f.default.createElement("div",{className:"group"},n.map(function(e){return f.default.createElement(M.default,{key:e.id,item:e,content:t})}))}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=(e.className||"").split(/\s+/);return k.some(function(e){return t.indexOf(e)>=0})},C=function(e){function t(e){i(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleClickOutside=function(e){n.props.onClickOutside(e)},n.handleDropdownFocus=function(e){M(e.target)&&n.props.onDropdownFocus()},n.getDateInView=function(){var e=n.props,t=e.preSelection,r=e.selected,i=e.openToDate,o=e.utcOffset,a=(0,w.getEffectiveMinDate)(n.props),s=(0,w.getEffectiveMaxDate)(n.props),c=u.default.utc().utcOffset(o),l=i||r||t;return l||(a&&c.isBefore(a)?a:s&&c.isAfter(s)?s:c)},n.localizeMoment=function(e){return e.clone().locale(n.props.locale||u.default.locale())},n.increaseMonth=function(){n.setState({date:n.state.date.clone().add(1,"month")},function(){return n.handleMonthChange(n.state.date)})},n.decreaseMonth=function(){n.setState({date:n.state.date.clone().subtract(1,"month")},function(){return n.handleMonthChange(n.state.date)})},n.handleDayClick=function(e,t){return n.props.onSelect(e,t)},n.handleDayMouseEnter=function(e){return n.setState({selectingDate:e})},n.handleMonthMouseLeave=function(){return n.setState({selectingDate:null})},n.handleMonthChange=function(e){n.props.onMonthChange&&n.props.onMonthChange(e)},n.changeYear=function(e){n.setState({date:n.state.date.clone().set("year",e)})},n.changeMonth=function(e){n.setState({date:n.state.date.clone().set("month",e)},function(){return n.handleMonthChange(n.state.date)})},n.header=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.state.date,t=e.clone().startOf("week"),r=[];return n.props.showWeekNumbers&&r.push(v.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},n.props.weekLabel||"#")),r.concat([0,1,2,3,4,5,6].map(function(e){var r=t.clone().add(e,"days"),i=n.props.useWeekdaysShort?r.localeData().weekdaysShort(r):r.localeData().weekdaysMin(r);return v.default.createElement("div",{key:e,className:"react-datepicker__day-name"},i)}))},n.renderPreviousMonthButton=function(){if(n.props.forceShowMonthNavigation||!(0,w.allDaysDisabledBefore)(n.state.date,"month",n.props))return v.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--previous",onClick:n.decreaseMonth})},n.renderNextMonthButton=function(){if(n.props.forceShowMonthNavigation||!(0,w.allDaysDisabledAfter)(n.state.date,"month",n.props))return v.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--next",onClick:n.increaseMonth})},n.renderCurrentMonth=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.state.date,t=["react-datepicker__current-month"];return n.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),n.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),v.default.createElement("div",{className:t.join(" ")},e.format(n.props.dateFormat))},n.renderYearDropdown=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.props.showYearDropdown&&!e)return v.default.createElement(d.default,{dropdownMode:n.props.dropdownMode,onChange:n.changeYear,minDate:n.props.minDate,maxDate:n.props.maxDate,year:n.state.date.year(),scrollableYearDropdown:n.props.scrollableYearDropdown,yearDropdownItemNumber:n.props.yearDropdownItemNumber})},n.renderMonthDropdown=function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0],n.props.showMonthDropdown)return v.default.createElement(p.default,{dropdownMode:n.props.dropdownMode,locale:n.props.locale,dateFormat:n.props.dateFormat,onChange:n.changeMonth,month:n.state.date.month()})},n.renderTodayButton=function(){if(n.props.todayButton)return v.default.createElement("div",{className:"react-datepicker__today-button",onClick:function(e){return n.props.onSelect(u.default.utc().utcOffset(n.props.utcOffset).startOf("date"),e)}},n.props.todayButton)},n.renderMonths=function(){for(var e=[],t=0;t=_,s=!t&&!r.isWeekInMonth(n);if(a||s){if(!r.props.peekNextMonth)break;o=!0}}return e},r.getClassNames=function(){var e=r.props,t=e.selectingDate,n=e.selectsStart,i=e.selectsEnd;return(0,f.default)("react-datepicker__month",{"react-datepicker__month--selecting-range":t&&(n||i)})},a=n,o(r,a)}return a(t,e),s(t,[{key:"render",value:function(){return u.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,role:"listbox"},this.renderWeeks())}}]),t}(u.default.Component);t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,i=t.maxDate,o=t.excludeDates,a=t.includeDates,s=t.filterDate;return n&&e.isBefore(n,"day")||i&&e.isAfter(i,"day")||o&&o.some(function(t){return r(e,t)})||a&&!a.some(function(t){return r(e,t)})||s&&!s(e.clone())||!1}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.minDate,i=n.includeDates,o=e.clone().subtract(1,t);return r&&o.isBefore(r,t)||i&&i.every(function(e){return o.isBefore(e,t)})||!1}function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.maxDate,i=n.includeDates,o=e.clone().add(1,t);return r&&o.isAfter(r,t)||i&&i.every(function(e){return o.isAfter(e,t)})||!1}function u(e){var t=e.minDate,n=e.includeDates;return n&&t?h.default.min(n.filter(function(e){return t.isSameOrBefore(e,"day")})):n?h.default.min(n):t}function l(e){var t=e.maxDate,n=e.includeDates;return n&&t?h.default.max(n.filter(function(e){return t.isSameOrAfter(e,"day")})):n?h.default.max(n):t}function d(e,t){var n=t.dateFormat,r=t.locale,i=(0,h.default)(e,n,r||h.default.locale(),!0);return i.isValid()?i:null}function f(e,t){var n=t.dateFormat,r=t.locale;return e&&e.clone().locale(r||h.default.locale()).format(Array.isArray(n)?n[0]:n)||""}Object.defineProperty(t,"__esModule",{value:!0}),t.isSameDay=r,t.isSameUtcOffset=i,t.isDayInRange=o,t.isDayDisabled=a,t.allDaysDisabledBefore=s,t.allDaysDisabledAfter=c,t.getEffectiveMinDate=u,t.getEffectiveMaxDate=l,t.parseDate=d,t.safeDateFormat=f;var p=n(2),h=function(e){return e&&e.__esModule?e:{default:e}}(p)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var i=window.document.documentElement;return(window.document.scrollingElement||i)[n]}return e[n]}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=d(t,"top"),i=d(t,"left"),o=n?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=i*o,e.right+=i*o,e}function p(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return+e["border"+n+"Width"].split("px")[0]+ +e["border"+r+"Width"].split("px")[0]}function h(e,t,n,r){return Math.max(t["offset"+e],n["client"+e],n["offset"+e],me()?n["offset"+e]+r["margin"+("Height"===e?"Top":"Left")]+r["margin"+("Height"===e?"Bottom":"Right")]:0)}function _(){var e=window.document.body,t=window.document.documentElement,n=me()&&window.getComputedStyle(t);return{height:h("Height",e,t,n),width:h("Width",e,t,n)}}function m(e){return ve({},e,{right:e.left+e.width,bottom:e.top+e.height})}function v(e){var t={};if(me())try{t=e.getBoundingClientRect();var n=d(e,"top"),r=d(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}catch(e){}else t=e.getBoundingClientRect();var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===e.nodeName?_():{},s=a.width||e.clientWidth||o.right-o.left,c=a.height||e.clientHeight||o.bottom-o.top,u=e.offsetWidth-s,l=e.offsetHeight-c;if(u||l){var f=i(e);u-=p(f,"x"),l-=p(f,"y"),o.width-=u,o.height-=l}return m(o)}function g(e,t){var n=me(),r="HTML"===t.nodeName,o=v(e),s=v(t),c=a(e),u=i(t),l=+u.borderTopWidth.split("px")[0],d=+u.borderLeftWidth.split("px")[0],p=m({top:o.top-s.top-l,left:o.left-s.left-d,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!n&&r){var h=+u.marginTop.split("px")[0],_=+u.marginLeft.split("px")[0];p.top-=l-h,p.bottom-=l-h,p.left-=d-_,p.right-=d-_,p.marginTop=h,p.marginLeft=_}return(n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(p=f(p,t)),p}function y(e){var t=window.document.documentElement,n=g(e,t),r=Math.max(t.clientWidth,window.innerWidth||0),i=Math.max(t.clientHeight,window.innerHeight||0),o=d(t),a=d(t,"left");return m({top:o-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:r,height:i})}function b(e){var t=e.nodeName;return"BODY"!==t&&"HTML"!==t&&("fixed"===i(e,"position")||b(o(e)))}function w(e,t,n,r){var i={top:0,left:0},s=l(e,t);if("viewport"===r)i=y(s);else{var c=void 0;"scrollParent"===r?(c=a(o(e)),"BODY"===c.nodeName&&(c=window.document.documentElement)):c="window"===r?window.document.documentElement:r;var u=g(c,s);if("HTML"!==c.nodeName||b(s))i=u;else{var d=_(),f=d.height,p=d.width;i.top+=u.top-u.marginTop,i.bottom=f+u.top,i.left+=u.left-u.marginLeft,i.right=p+u.left}}return i.left+=n,i.top+=n,i.right-=n,i.bottom-=n,i}function k(e){return e.width*e.height}function M(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=w(n,r,o,i),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},c=Object.keys(s).map(function(e){return ge({key:e},s[e],{area:k(s[e])})}).sort(function(e,t){return t.area-e.area}),u=c.filter(function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight}),l=u.length>0?u[0].key:c[0].key,d=e.split("-")[1];return l+(d?"-"+d:"")}function C(e,t,n){return g(n,l(t,n))}function T(e){var t=window.getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function E(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function D(e,t,n){n=n.split("-")[0];var r=T(e),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",c=o?"height":"width",u=o?"width":"height";return i[a]=t[a]+t[c]/2-r[c]/2,i[s]=n===s?t[s]-r[u]:t[E(s)],i}function j(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function S(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var r=j(e,function(e){return e[t]===n});return e.indexOf(r)}function O(e,t,n){return(void 0===n?e:e.slice(0,S(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&r(n)&&(t.offsets.popper=m(t.offsets.popper),t.offsets.reference=m(t.offsets.reference),t=n(t,e))}),t}function x(){if(!this.state.isDestroyed){var e={instance:this,styles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=C(this.state,this.popper,this.reference),e.placement=M(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.offsets.popper=D(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position="absolute",e=O(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function L(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function P(e){for(var t=[!1,"ms","webkit","moz","o"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;ro[d]&&(e.offsets.popper[u]+=a[u]+f-o[d]);var p=a[u]+a[c]/2-f/2,h=p-m(e.offsets.popper)[u];return h=Math.max(Math.min(o[c]-f,h),0),e.arrowElement=n,e.offsets.arrow={},e.offsets.arrow[u]=Math.round(h),e.offsets.arrow[l]="",e}function G(e){return"end"===e?"start":"start"===e?"end":e}function J(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=we.indexOf(e),r=we.slice(n+1).concat(we.slice(0,n));return t?r.reverse():r}function K(e,t){if(L(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=w(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement),r=e.placement.split("-")[0],i=E(r),o=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case Me.FLIP:a=[r,i];break;case Me.CLOCKWISE:a=J(r);break;case Me.COUNTERCLOCKWISE:a=J(r,!0);break;default:a=t.behavior}return a.forEach(function(s,c){if(r!==s||a.length===c+1)return e;r=e.placement.split("-")[0],i=E(r);var u=e.offsets.popper,l=e.offsets.reference,d=Math.floor,f="left"===r&&d(u.right)>d(l.left)||"right"===r&&d(u.left)d(l.top)||"bottom"===r&&d(u.top)d(n.right),_=d(u.top)d(n.bottom),v="left"===r&&p||"right"===r&&h||"top"===r&&_||"bottom"===r&&m,g=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(g&&"start"===o&&p||g&&"end"===o&&h||!g&&"start"===o&&_||!g&&"end"===o&&m);(f||v||y)&&(e.flipped=!0,(f||v)&&(r=a[c+1]),y&&(o=G(o)),e.placement=r+(o?"-"+o:""),e.offsets.popper=ke({},e.offsets.popper,D(e.instance.popper,e.offsets.reference,e.placement)),e=O(e.instance.modifiers,e,"flip"))}),e}function Q(e){var t=e.offsets,n=t.popper,r=t.reference,i=e.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",c=a?"left":"top",u=a?"width":"height";return n[s]o(r[s])&&(e.offsets.popper[c]=o(r[s])),e}function X(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return m(s)[t]/100*o}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o}return o}function Z(e,t,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf(j(a,function(e){return-1!==e.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(c)[0]]),[a[s].split(c)[1]].concat(a.slice(s+1))]:[a];return u=u.map(function(e,r){var i=(1===r?!o:o)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return X(e,i,t,n)})}),u.forEach(function(e,t){e.forEach(function(n,r){H(n)&&(i[t]+=n*("-"===e[r-1]?-1:1))})}),i}function ee(e,t){var n=t.offset,r=e.placement,i=e.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],c=void 0;return c=H(+n)?[+n,0]:Z(n,o,a,s),"left"===s?(o.top+=c[0],o.left-=c[1]):"right"===s?(o.top+=c[0],o.left+=c[1]):"top"===s?(o.left+=c[0],o.top-=c[1]):"bottom"===s&&(o.left+=c[0],o.top+=c[1]),e.popper=o,e}function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ne(e,t){var n=t.boundariesElement||u(e.instance.popper);e.instance.reference===n&&(n=u(n));var r=w(e.instance.popper,e.instance.reference,t.padding,n);t.boundaries=r;var i=t.priority,o=e.offsets.popper,a={primary:function(e){var n=o[e];return o[e]r[e]&&!t.escapeWithReference&&(i=Math.min(o[n],r[e]-("right"===e?o.width:o.height))),te({},n,i)}};return i.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";o=Ce({},o,a[t](e))}),e.offsets.popper=o,e}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ie(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),c=s?"left":"top",u=s?"width":"height",l={start:re({},c,o[c]),end:re({},c,o[c]+o[u]-a[u])};e.offsets.popper=Te({},a,l[r])}return e}function oe(e){if(!V(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=j(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right=0){de=1;break}var pe=ue&&function(e){return ce.some(function(t){return(e||"").toString().indexOf(t)>-1})}(window.MutationObserver),he=pe?e:n,_e=void 0,me=function(){return void 0===_e&&(_e=-1!==navigator.appVersion.indexOf("MSIE 10")),_e},ve=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{};se(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=he(this.update.bind(this)),this.options=je({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t.jquery?t[0]:t,this.popper=n.jquery?n[0]:n,this.options.modifiers={},Object.keys(je({},e.Defaults.modifiers,o.modifiers)).forEach(function(t){i.options.modifiers[t]=je({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return je({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&r(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return Se(e,[{key:"update",value:function(){return x.call(this)}},{key:"destroy",value:function(){return R.call(this)}},{key:"enableEventListeners",value:function(){return I.call(this)}},{key:"disableEventListeners",value:function(){return F.call(this)}}]),e}();return Oe.Utils=("undefined"!=typeof window?window:t).PopperUtils,Oe.placements=be,Oe.Defaults=De,Oe}()}()}).call(t,function(){return this}())},function(e,t,n){/*! * is-equal-shallow * * Copyright (c) 2015, Jon Schlinkert. * Licensed under the MIT License. */ "use strict";var r=n(27);e.exports=function(e,t){if(!e&&!t)return!0;if(!e&&t||e&&!t)return!1;var n,i=0,o=0;for(n in t)if(o++,!r(t[n])||!e.hasOwnProperty(n)||e[n]!==t[n])return!1;for(n in e)i++;return i===o}},function(e,t){/*! * is-primitive * * Copyright (c) 2014-2015, Jon Schlinkert. * Licensed under the MIT License. */ "use strict";e.exports=function(e){return null==e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t-1&&(f[e]&&f.splice(e,1),d.splice(e,1))}},{key:"render",value:function(){var t=this,n=Object.keys(this.props).filter(function(e){return"excludeScrollbar"!==e}).reduce(function(e,n){return e[n]=t.props[n],e},{});return e.prototype.isReactComponent?n.ref=this.getRef:n.wrappedRef=this.getRef,n.disableOnClickOutside=this.disableOnClickOutside,n.enableOnClickOutside=this.enableOnClickOutside,Object(s.createElement)(e,n)}}]),a}(s.Component),n.displayName="OnClickOutside("+(e.displayName||e.name||"Component")+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:"ignore-react-onclickoutside",preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},a}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var s=n(25),c=(n.n(s),n(79)),u=(n.n(c),n(833)),l=function(){function e(e,t){for(var n=0;n0}},{key:"hasAdditionalFilters",value:function(){return this.additionalFilters.length>0}},{key:"initFilters",value:function(e){var t=this,n=function(e,n){return new p.default(t,n,e)};this.treeFilters=[],this.additionalFilters=[],y.default.each(Object.keys(e||{}),function(r){var i=e[r];if(i)switch(i.type||"tree"){case"tree":t.treeFilters.push({config:i,subFilters:y.default.map(i.options,n)});break;case"radio_button":t.additionalFilters.push(new d.default(t,r,i));break;case"check_box":t.additionalFilters.push(new _.default(t,r,i))}})}}]),t}(u.default);t.default=b},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n child into a function."))}function n(){!h&&p&&(h=!0,console.error("With React 0.13, you need to wrap child into a function. This restriction will be removed with React 0.14."))}function a(){_||(_=!0,console.error(" does not support changing `store` on the fly. It is most likely that you see this error because you updated to Redux 2.x and React Redux 2.x which no longer hot reload reducers automatically. See https://github.com/rackt/react-redux/releases/tag/v2.0.0 for the migration instructions."))}var c=e.Component,l=e.PropTypes,d=e.Children,f=u.default(l),p=o(e),h=!1,_=!1;return function(e){function o(t,n){r(this,o),e.call(this,t,n),this.store=t.store}return i(o,e),o.prototype.getChildContext=function(){return{store:this.store}},s(o,null,[{key:"childContextTypes",value:{store:f.isRequired},enumerable:!0},{key:"propTypes",value:{store:f.isRequired,children:(p?l.func:l.element).isRequired},enumerable:!0}]),o.prototype.componentWillReceiveProps=function(e){this.store!==e.store&&a()},o.prototype.render=function(){var e=this.props.children;return"function"==typeof e?(t(),e=e()):n(),d.only(e)},o}(c)}t.__esModule=!0;var s=function(){function e(e,t){for(var n=0;n1,j=T.length>1,S=m.pure,O=void 0===S||S,x=M++;return function(n){var s=function(t){function s(e,n){i(this,s),t.call(this,e,n),this.version=x,this.store=e.store||n.store,y.default(this.store,'Could not find "store" in either the context or props of "'+this.constructor.displayName+'". Either wrap the root component in a , or explicitly pass "store" as a prop to "'+this.constructor.displayName+'".'),this.stateProps=d(this.store,e),this.dispatchProps=f(this.store,e),this.state={props:this.computeNextState()}}return o(s,t),s.prototype.shouldComponentUpdate=function(e,t){return!O||!p.default(this.state.props,t.props)},c(s,null,[{key:"displayName",value:"Connect("+a(n)+")",enumerable:!0},{key:"WrappedComponent",value:n,enumerable:!0},{key:"contextTypes",value:{store:r},enumerable:!0},{key:"propTypes",value:{store:r},enumerable:!0}]),s.prototype.computeNextState=function(){var e=arguments.length<=0||void 0===arguments[0]?this.props:arguments[0];return h(this.stateProps,this.dispatchProps,e)},s.prototype.updateStateProps=function(){var e=arguments.length<=0||void 0===arguments[0]?this.props:arguments[0],t=d(this.store,e);return!p.default(t,this.stateProps)&&(this.stateProps=t,!0)},s.prototype.updateDispatchProps=function(){var e=arguments.length<=0||void 0===arguments[0]?this.props:arguments[0],t=f(this.store,e);return!p.default(t,this.dispatchProps)&&(this.dispatchProps=t,!0)},s.prototype.updateState=function(){var e=arguments.length<=0||void 0===arguments[0]?this.props:arguments[0],t=this.computeNextState(e);p.default(t,this.state.props)||this.setState({props:t})},s.prototype.isSubscribed=function(){return"function"==typeof this.unsubscribe},s.prototype.trySubscribe=function(){g&&!this.unsubscribe&&(this.unsubscribe=this.store.subscribe(this.handleChange.bind(this)),this.handleChange())},s.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},s.prototype.componentDidMount=function(){this.trySubscribe()},s.prototype.componentWillReceiveProps=function(e){p.default(e,this.props)||(D&&this.updateStateProps(e),j&&this.updateDispatchProps(e),this.updateState(e))},s.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},s.prototype.handleChange=function(){this.unsubscribe&&this.updateStateProps()&&this.updateState()},s.prototype.getWrappedInstance=function(){return this.refs.wrappedInstance},s.prototype.render=function(){return e.createElement(n,u({ref:"wrappedInstance"},this.state.props))},s}(t);return s}}}t.__esModule=!0;var c=function(){function e(e,t){for(var n=0;n0&&(e+="show-clear"),e},clearSearchTerm:function(){var e;return e="",this.setState({searchTerm:e}),this.updateSearchFilter(e)},_getSearchPlaceholder:function(){var e,t,n,o,a;return o=new r(this.props.filter),a=i.translate("content_browser.search_bar.search_everywhere"),n=o.findActiveFilterItems(),t=s.flatten(s.map(n,function(e){return e.activeNodes()})),t.length>1?a=i.translate("content_browser.search_bar.search_filtered"):1===t.length&&(e=t[0].title,a=i.translate("content_browser.search_bar.search_in",e)),a},_updateSearchTerm:function(e){return this.setState({searchTerm:e.target.value})},render:function(){return React.createElement("div",{className:"scrivito-content-browser-search"},React.createElement("span",{className:"text-input-wrapper"},React.createElement("input",{type:"text",placeholder:this._getSearchPlaceholder(),className:"search-field",value:this.state.searchTerm,onChange:this._updateSearchTerm,onKeyUp:this.triggerSearchWithEnter}),React.createElement("span",{onClick:this.clearSearchTerm,className:this.clearButtonClassName(),title:i.translate("content_browser.search_bar.clear_button")})),React.createElement("button",{className:"search-field-button",onClick:this.updateSearchFilter.bind(this,this.state.searchTerm),title:i.translate("content_browser.search_bar.search_button")},React.createElement("i",{className:"scrivito_icon scrivito_icon_search"})))}}),e.exports=o},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n0}},{key:"nodesPreventingCreation",value:function(){return a.default.select(this.activeNodes(),function(e){return!1===e.enable_create})}},{key:"enablesCreation",value:function(){return a.default.some(this.activeNodes(),function(e){return!0===e.enable_create})}},{key:"operator",value:function(){return c("operator",this.activeNodes(),this.parents)||"equals"}}]),e}();t.default=u},function(e,t,n){var r,i,o,a,s,c,u;r=n(43).default,c=n(8),u=n(240),s=u.changeSelectionMode,i=u.MULTI_SELECTION_MODE,o=u.SINGLE_SELECTION_MODE,a=c({displayName:"SelectionModeToggle",propTypes:{dispatch:React.PropTypes.func.isRequired,selectionMode:React.PropTypes.string.isRequired},multiToggleModeChange:function(e){return e.target.checked?this.props.dispatch(s(i)):this.props.dispatch(s(o))},render:function(){return React.createElement("div",{className:"cb_toggle"},React.createElement("input",{type:"checkbox",checked:this.props.selectionMode===i,id:"toggly",onChange:this.multiToggleModeChange}),React.createElement("label",{htmlFor:"toggly"},React.createElement("i",null)),React.createElement("span",null,r.translate("content_browser.search_bar.multi_selection_toggle")))}}),e.exports=a},function(e,t,n){var r,i,o,a,s,c,u,l,d,f,p,h,_;h=n(0),p=n(8),s=n(43).default,a=n(875),r=n(876),f=n(880),d=n(881),_=n(113),l=_.SELECTED,c=_.LAST_ADDED,i=_.FILTER,u=n(882),o=p({displayName:"Filter",mixins:[a],renderAdditionalFilters:function(){var e;return e=h.map(this.props.filter.additionalFilters,function(e){return React.createElement(r,{key:e.field,filter:e})}),this.renderSubFiltersList(e,"compact")},setFilterObjSource:function(){return this.props.setObjSource(i),this.props.deselectObjs()},getFilterClassName:function(){var e;return e="scrivito-content-browser-filter",this.props.additionCount>0&&this.props.standAlone?e:(this.props.additionCount>0&&(e+=" last_added"),this.props.standAlone&&(e+=" stand-alone"),e)},componentDidMount:function(){return this.props.filter.onChange(this.setFilterObjSource)},activateInitialFilter:function(){return this.props.initialSelection.length>0?this.activateSelectedFilter(this.props.initialSelection):this.props.filter.hasActiveChildren()?this.setFilterObjSource():void 0},activateLastAddedFilter:function(){return this.props.setObjSource(c),this.props.deselectObjs(),this.props.filter.deselectHierarchicalFilters()},activateSelectedFilter:function(e){return this.props.filter.deselectHierarchicalFilters(),this.props.setObjSource(l)},renderFilterSeparator:function(){if(this.props.filter.hasAdditionalFilters()&&this.props.filter.hasHierarchicalFilters())return React.createElement("div",{className:"scrivito_separator"},s.translate("content_browser.filter.more_filters"))},render:function(){var e;return e=h.map(this.props.filter.getHierarchicalFilters(),function(e){return function(e){return React.createElement(f,{key:e.name,filter:e})}}()),React.createElement("div",{className:this.getFilterClassName()},React.createElement("div",{className:"scrivito-content-browser-filter-fixed"},this.props.standAlone?void 0:React.createElement(d,{selectedObjs:this.props.selectedObjs,active:this.props.activeSource===l,activateSelectedFilter:this.activateSelectedFilter}),this.props.additionCount>0?React.createElement(u,{addedCount:this.props.additionCount,active:this.props.activeSource===c,activateLastAddedFilter:this.activateLastAddedFilter}):void 0),React.createElement("div",{className:"scrivito-content-browser-filter-scroll"},this.renderSubFiltersList(e),this.renderFilterSeparator(),this.renderAdditionalFilters()))}}),e.exports=o},function(e,t){var n;n={renderSubFiltersList:function(e,t){var n;return n="scrivito-content-browser-hierarchy-filter",t&&t.length>0&&(n=n+" "+t),React.createElement("ul",{className:n},e)}},e.exports=n},function(e,t,n){var r,i,o,a,s,c;c=n(8),a=n(549),o=n(877),s=n(878),i=n(879),r=c({displayName:"AdditionalOptionFilter",mixins:[a],getInitialState:function(){return this.defaultExpansionState()},getAdditionalLableClasses:function(){return this.openClassSetOptions()},createDeselctAllRadioOption:function(){return React.createElement(o,{filter:this.props.filter})},renderSubRadioOptionFilters:function(){var e,t,n,r,o,a,c;for(a=this.props.filter.children,c=[],n=r=0,o=a.length;r0&&(t+=" tags-row",this.props.tags.isExpanded&&(t+=" expanded")),t},toggleExpandTagBar:function(){return this.props.dispatch(b())},toggleTagAction:function(e){return this.props.dispatch(w(e,this.props.filter))},dropZoneClass:function(e){var t;return t=this.baseItemsClass(e),this.state.dragInProgress&&(this.props.editingView?t+=" uploader-drag-over":t+=" uploader-drag-over-forbiden"),t},_buildErrorList:function(e){return React.createElement("ul",null,k.map(e,function(e){return React.createElement("li",null,e)}))},_showConflictingPresetsAlert:function(e){var t,n,r;return t=k.keys(e),n=k.first(t),r=React.createElement("div",null,React.createElement("p",null,"The selected properties could not be assigned to the uploaded files."),React.createElement("p",null,"Choose only one of these ",this._errorMessageForField(n),":"),this._buildErrorList(e[n]),k.map(k.rest(t),function(t){return function(n){return React.createElement("div",null,React.createElement("p",null,"Also, choose just one of these ",t._errorMessageForField(n),":"),t._buildErrorList(e[n]))}}(this)),"Please try again."),i.showAlert({title:"Upload cancelled",body:React.createElement("div",null,r)})},_errorMessageForField:function(e){return"_obj_class"===e?"types":'"'+e+'" options'},_fileAttributes:function(e){var t;return t=scrivito.default_obj_class_for_content_type(e.type),{blob:e,_obj_class:t}},_handleFileDrop:function(e){var t,n;if(this._changeDragState(!1)(e),t=null!=(n=e.dataTransfer)?n.files:void 0,this.props.editingView&&(null!=t?t.length:void 0))return this._uploadFiles(t)},_uploadFiles:function(e){var t;return t=this._buildPreset(),t.isValid()?(k.each(e,function(e){return function(n){return e._uploadFile(n,t)}}(this)),this.props.filter.deselectHierarchicalFilters()):this._showConflictingPresetsAlert(t.errors())},_uploadFile:function(e,t){var n;return n=this._fileAttributes(e),this.props.createObj(n,this.props.basePreset,t.values(),this.props.tags.activeTags)},_buildPreset:function(){var e;return e=new u(this.props.filter),e.generatePreset()},_changeDragState:function(e){return function(t){return function(n){return n.preventDefault(),n.stopPropagation(),t.setState({dragInProgress:e})}}(this)},_getQueryRequest:function(){var e;return e=new l(this.props.filter,this.props.baseQuery,this.props.tags.activeTags,this.props.sortCriteria),e.searchRequest()},_getTags:function(){var e,t;return t=[],e=this._getQueryRequest(),e&&this.props.activeSource===o&&(t=scrivito.loadWithDefault(t,function(){return e.facet("tags",{limit:100})})),t},_loadNextObjs:function(){return this.props.dispatch(g(this.props.numToLoad+10))},_loadObjs:function(){var e;return e=this._getQueryRequest(),void 0!==e?scrivito.loadAllUntil(e.iterator(),this.props.numToLoad):{objs:[],done:!0}},render:function(){var e,t,n,i;return React.createElement("div",{className:this.dropZoneClass(this._getTags()),onDragOver:this._changeDragState(!0),onDrop:this._handleFileDrop,onDragLeave:this._changeDragState(!1)},React.createElement(m,{tags:this._getTags(),toggleTag:this.toggleTagAction,activeTags:this.props.tags.activeTags,toggleExpandTagBar:this.toggleExpandTagBar}),(i=this._loadObjs(),n=i.objs,e=i.done,t=!e&&n.length0;if(n&&t.push(c.default.where("*","containsPrefix",this.filter.searchTerm)),!(t.length<1)){var r=t.shift();return(0,h.each)(t,function(e){r=r.and(e)}),r=this.tagsQuery(r),r=e.ignoreMigrationStore(r),r=this.sortQuery(r,n)}}},{key:"tagsQuery",value:function(e){var t=e;return this.tags&&this.tags.length>0&&(0,h.each)(this.tags,function(e){t=t.and("tags","equals",e)}),t}},{key:"activeNodeQueries",value:function(){var t=[];return(0,h.each)(this.collector.findActiveFilterItems(),function(n){var r=e.buildActiveChildrenSearchQuery(n);r&&t.push(r)}),t}},{key:"sortQuery",value:function(e,t){var n=e;return"relevance"===this.sortCriteria.sortField?t||(n=n.order("_lastChanged",p.DESC_SORT_ORDER)):n=n.order(this.sortCriteria.sortField,this.sortCriteria.sortDirection),n}}],[{key:"ignoreMigrationStore",value:function(e){return e.andNot("_objClass","equals","MigrationStore")}},{key:"buildActiveChildrenSearchQuery",value:function(t){return t.hasQuery()?o(t.query()):e.buildFOVQuery(t)}},{key:"buildFOVQuery",value:function(e){if(e.hasField())return c.default.where(scrivito.attributeInflection.camelCase(e.field()),scrivito.attributeInflection.camelCase(e.operator()),e.values())}}]),e}();t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t-1?u(e,{additions:{$splice:[[n,1]]}}):e},l=function(e,t,n){var r,i;return i=d.findIndex(e.additions,{additionId:t}),r=e.additions[i],r=u(r,{$merge:n}),u(e,{additions:{$splice:[[i,1,r]]}})},s=function(e,t){var n;switch(null==e&&(e={additions:[]}),t.type){case o:return n=d.omit(t,"type"),u(e,{additions:{$unshift:[n]}});case i:return l(e,t.additionId,{objId:t.objId,progress:100});case r:return l(e,t.additionId,{failureMessage:t.message,progress:0});case a:return c(e,t.objId);default:return e}},e.exports=s},function(e,t,n){function r(e){return e instanceof Array?e.slice():e&&"object"==typeof e?h(new e.constructor,e):e}function i(){function e(n,i){Array.isArray(n)&&Array.isArray(i)||d(!Array.isArray(i),"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."),d("object"==typeof i&&null!==i,"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the following commands: %s.",Object.keys(t).join(", "));var o=n;_(i);return _(i).forEach(function(a){if(f.call(t,a))o=t[a](i[a],o,i,n);else{var s=e(n[a],i[a]);s!==o[a]&&(o===n&&(o=r(n)),o[a]=s)}}),o}var t=h({},m);return e.extend=function(e,n){t[e]=n},e}function o(e,t,n){d(Array.isArray(e),"update(): expected target of %s to be an array; got %s.",n,e);var r=t[n];d(Array.isArray(r),"update(): expected spec of %s to be an array; got %s. Did you forget to wrap your parameter in an array?",n,r)}function a(e,t){d(Array.isArray(e),"Expected $splice target to be an array; got %s",e),s(t.$splice)}function s(e){d(Array.isArray(e),"update(): expected spec of $splice to be an array of arrays; got %s. Did you forget to wrap your parameters in an array?",e)}function c(e){d("function"==typeof e,"update(): expected spec of $apply to be a function; got %s.",e)}function u(e){d(1===Object.keys(e).length,"Cannot have more than one key in an object with $set")}function l(e,t){d(t&&"object"==typeof t,"update(): $merge expects a spec of type 'object'; got %s",t),d(e&&"object"==typeof e,"update(): $merge expects a target of type 'object'; got %s",e)}var d=n(45),f=Object.prototype.hasOwnProperty,p=Array.prototype.splice,h=Object.assign||function(e,t){return _(t).forEach(function(n){f.call(t,n)&&(e[n]=t[n])}),e},_="function"==typeof Object.getOwnPropertySymbols?function(e){return Object.keys(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.keys(e)},m={$push:function(e,t,n){return o(t,n,"$push"),t.concat(e)},$unshift:function(e,t,n){return o(t,n,"$unshift"),e.concat(t)},$splice:function(e,t,n,i){var o=t===i?r(i):t;return a(o,n),e.forEach(function(e){s(e),p.apply(o,e)}),o},$set:function(e,t,n){return u(n),e},$unset:function(e,t,n,i){d(Array.isArray(e),"update(): expected spec of $unset to be an array; got %s. Did you forget to wrap the key(s) in an array?",e);var o=t;return e.forEach(function(e){Object.hasOwnProperty.call(o,e)&&(t===i&&(t=r(i)),delete t[e])}),t},$merge:function(e,t,n,i){var t=t;return l(t,e),_(e).forEach(function(n){e[n]!==t[n]&&(t===i&&(t=r(i)),t[n]=e[n])}),t},$apply:function(e,t){return c(e),e(t)}};e.exports=i(),e.exports.newContext=i},function(e,t,n){"use strict";function r(e,t){switch(t.type){case i.SET_VIEW_MODE:return{viewMode:t.viewMode};default:return e||{viewMode:i.THUMBNAIL_VIEW}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(222)},function(e,t,n){var r,i,o,a,s,c,u,l;c=n(0),u=n(559),o=u.LOAD_MORE_OBJS,r=u.DEFAULT_NUMBER_TO_LOAD,l=n(113),i=l.FILTER,a=l.SET_OBJ_SOURCE,s=function(e,t){switch(null==e&&(e={numToLoad:r}),t.type){case o:return c.extend({},e,{numToLoad:t.numToLoad});case a:return t.activeSource===i?c.extend({},e,{numToLoad:r}):e;default:return e}},e.exports=s},function(e,t,n){var r,i,o,a;a=n(347),r=a.CHANGE_SORT_ORDER,i=a.DESC_SORT_ORDER,o=function(e,t){switch(null==e&&(e={sortField:"relevance",sortDirection:i}),t.type){case r:return{sortField:t.criteriaType,sortDirection:t.sortDirection};default:return e}},e.exports=o},function(e,t,n){var r,i,o,a,s,c,u;c=n(0),u=n(353),r=u.EXPAND_TOGGLE,i=u.TOGGLE_TAG,s=function(e,t){return c.include(e,t)?c.without(e,t):e.concat([t])},a=function(){return{isExpanded:!1,activeTags:[]}},o=function(e,t){switch(null==e&&(e=a()),t.type){case i:return c.extend({},e,{activeTags:s(e.activeTags,t.tag)});case r:return c.extend({},e,{isExpanded:!e.isExpanded});default:return e}},e.exports=o},function(e,t,n){var r,i,o,a,s,c,u,l,d,f,p,h,_,m;p=n(0),h=n(240),l=h.TOGGLE_SELECT,a=h.DESELECT_OBJS,r=h.CHANGE_SELECTION_MODE,s=h.MULTI_SELECTION_MODE,_=n(114),o=_.DELETE_OBJ_FINISH,i=_.CREATE_OBJ_FINISH,m=n(113),c=m.SELECTED,u=m.SET_OBJ_SOURCE,d=function(e,t,n){return p.contains(e,t)?p.without(e,t):"multi"===n?e.concat([t]):[t]},f=function(e,t){switch(null==e&&(e={selectedObjs:[],selectionMode:s,currentlyAndPreviouslySelectedObjIds:[]}),t.type){case r:return p.extend({},e,{selectedObjs:[],selectionMode:t.mode||e.selectionMode});case l:return p.extend({},e,{selectedObjs:d(e.selectedObjs,t.objId,e.selectionMode)});case o:return p.extend({},e,{selectedObjs:p.without(e.selectedObjs,t.objId),currentlyAndPreviouslySelectedObjIds:p.without(e.currentlyAndPreviouslySelectedObjIds,t.objId)});case i:return t.isLastAddedVisible?p.extend({},e,{selectedObjs:d(e.selectedObjs,t.objId,e.selectionMode)}):e;case u:return t.activeSource===c?p.extend({},e,{currentlyAndPreviouslySelectedObjIds:e.selectedObjs.slice()}):e;case a:return p.extend({},e,{selectedObjs:[]});default:return e}},e.exports=f},function(e,t,n){var r,i,o,a,s,c,u;c=n(0),u=n(113),a=u.SET_OBJ_SOURCE,i=u.FILTER,o=u.LAST_ADDED,r=n(114).CREATE_OBJ_START,s=function(e,t){switch(null==e&&(e={activeSource:i}),t.type){case r:return t.activeSource!==o?c.extend({},e,{activeSource:o}):e;case a:return{activeSource:t.activeSource};default:return e}},e.exports=s},function(e,t,n){"use strict";n(920),n(921)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(43),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o={"content_browser.footer.close":"Close","content_browser.footer.select":"Select","content_browser.footer.delete":"Delete","content_browser.table_view.title":"Title","content_browser.table_view.type":"Type","content_browser.table_view.file_type":"File type","content_browser.table_view.file_size":"File size","content_browser.table_view.last_change":"Last change","content_browser.sort.relevance.title":"Sort by relevance","content_browser.sort.relevance.desc_criteria_title":"Relevance","content_browser.sort.file_name.title":"Sort by filename","content_browser.sort.file_name.asc_criteria_title":"Filename: From A to Z","content_browser.sort.file_name.desc_criteria_title":"Filename: From Z to A","content_browser.sort.date.title":"Sort by date","content_browser.sort.date.asc_criteria_title":"Last change: oldest first","content_browser.sort.date.desc_criteria_title":"Last change: latest first","content_browser.search_bar.clear_button":"Clear","content_browser.search_bar.search_button":"Search","content_browser.search_bar.search_everywhere":"Search everywhere","content_browser.search_bar.search_filtered":"Search filtered content","content_browser.search_bar.search_in":'Search "$1"',"content_browser.search_bar.multi_selection_toggle":"multi-select","content_browser.last_added.filter_name":"Last added","content_browser.last_added.failed_upload":"Upload failed. Please check your network connection.","content_browser.last_added.failed_upload_counts":"$1 Error(s)","content_browser.last_added.title_info":"Display full upload error message","content_browser.last_added.upload_error":"The selected filter options cannot be applied to the file(s) you wanted to upload","content_browser.last_added.preset_error":"#values can not be called on an invalid Preset","content_browser.filter.more_filters":"more filters","content_browser.filter.selected_filter":"Selected","content_browser.add_item.failed":"The selected filter options cannot be applied to the file(s) you wanted to upload. Please select only one of the following options, then try again:","content_browser.add_item.preset_conflict":"The selected filter options cannot be applied to the file(s) you wanted to upload. Please select only one of the following options, then try again:","content_browser.add_item.create_item":"Create item","content_browser.add_item.create_imposible":"Item creation not possible","content_browser.add_item.disabled_filters":"Creation of items matching the selected filters has been disabled.","content_browser.add_item.error_no_obj_class":"Configuration error: No '_obj_class' provided.","content_browser.add_item.prevent_creation":"The selected filter options $1 prevent item creation"};i.default.load("en",o),t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(43),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o={"content_browser.footer.close":"Schließen","content_browser.footer.select":"Auswählen","content_browser.footer.delete":"Löschen","content_browser.table_view.title":"Titel","content_browser.table_view.type":"Typ","content_browser.table_view.file_type":"Dateityp","content_browser.table_view.file_size":"Dateigröße","content_browser.table_view.last_change":"Letzte Änderung","content_browser.sort.relevance.title":"Nach Relevanz sortieren","content_browser.sort.relevance.desc_criteria_title":"Relevanz","content_browser.sort.file_name.title":"Nach Dateiname sortieren","content_browser.sort.file_name.asc_criteria_title":"Dateiname: Von A bis Z","content_browser.sort.file_name.desc_criteria_title":"Dateiname: Von Z bis A","content_browser.sort.date.title":"Nach Datum sortieren","content_browser.sort.date.asc_criteria_title":"Letzte Änderung: Älteste zuerst","content_browser.sort.date.desc_criteria_title":"Letzte Änderung: Neueste zuerst","content_browser.search_bar.clear_button":"Löschen","content_browser.search_bar.search_button":"Suchen","content_browser.search_bar.search_everywhere":"Alles durchsuchen","content_browser.search_bar.search_filtered":"Gefilterte Inhalte durchsuchen","content_browser.search_bar.search_in":'"$1" durchsuchen',"content_browser.search_bar.multi_selection_toggle":"Mehrfachauswahl","content_browser.last_added.filter_name":"Zuletzt hinzugefügt","content_browser.last_added.failed_upload":"Fehler beim Hochladen. Bitte prüfen Sie Ihre Netzwerkverbindung","content_browser.last_added.failed_upload_counts":"$1 Fehler","content_browser.last_added.title_info":"Vollständige Fehlermeldung anzeigen","content_browser.last_added.upload_error":"Die ausgewählten Filteroptionen können nicht auf die Datei(en) angewendet werden, die Sie hochladen wollten.","content_browser.last_added.preset_error":"#values kann nicht auf einer ungültigen Vorbelegung aufgerufen werden.","content_browser.filter.more_filters":"Weitere Filter","content_browser.filter.selected_filter":"Ausgewählt","content_browser.add_item.failed":"Die ausgewählten Filteroptionen können nicht auf die Datei(en) angewendet werden, die Sie hochladen wollten. Bitte versuchen Sie es mit nur einer der folgenden Optionen erneut:","content_browser.add_item.preset_conflict":"Die ausgewählten Filteroptionen können nicht auf die Datei(en) angewendet werden, die Sie hochladen wollten. Bitte versuchen Sie es mit nur einer der folgenden Optionen erneut","content_browser.add_item.create_item":"Element anlegen","content_browser.add_item.create_imposible":"Es kann kein Element angelegt werden","content_browser.add_item.disabled_filters":"Es ist nicht möglich, zu den Filtern passende Elemente anzulegen.","content_browser.add_item.error_no_obj_class":"Konfigurationsfehler: '_obj_class' wurde nicht angegeben.","content_browser.add_item.prevent_creation":"Elemente können aufgrund der ausgewählten Filteroptionen $1 nicht angelegt werden."};i.default.load("de",o),t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(e){o(this,n);var t=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.handleStart=function(e){var n=t.props,r=n.distance,i=n.shouldCancelStart;if(2===e.button||i(e))return!1;t._touched=!0,t._pos={x:e.clientX,y:e.clientY};var o=(0,y.closest)(e.target,function(e){return null!=e.sortableInfo});if(o&&o.sortableInfo&&t.nodeIsChild(o)&&!t.state.sorting){var a=t.props.useDragHandle,s=o.sortableInfo,c=s.index,u=s.collection;if(a&&!(0,y.closest)(e.target,function(e){return null!=e.sortableHandle}))return;t.manager.active={index:c,collection:u},"a"===e.target.tagName.toLowerCase()&&e.preventDefault(),r||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout(function(){return t.handlePress(e)},t.props.pressDelay))}},t.nodeIsChild=function(e){return e.sortableInfo.manager===t.manager},t.handleMove=function(e){var n=t.props,r=n.distance,i=n.pressThreshold;if(!t.state.sorting&&t._touched){t._delta={x:t._pos.x-e.clientX,y:t._pos.y-e.clientY};var o=Math.abs(t._delta.x)+Math.abs(t._delta.y);r||i&&!(i&&o>=i)?r&&o>=r&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}},t.handleEnd=function(){var e=t.props.distance;t._touched=!1,e||t.cancel()},t.cancel=function(){t.state.sorting||(clearTimeout(t.pressTimer),t.manager.active=null)},t.handlePress=function(e){var n=t.manager.getActive();if(n){var r=t.props,o=r.axis,a=r.getHelperDimensions,s=r.helperClass,c=r.hideSortableGhost,u=r.onSortStart,l=r.useWindowAsScrollContainer,d=n.node,f=n.collection,p=d.sortableInfo.index,h=(0,y.getElementMargin)(d),_=t.container.getBoundingClientRect(),m=a({index:p,node:d,collection:f});t.node=d,t.margin=h,t.width=m.width,t.height=m.height,t.marginOffset={x:t.margin.left+t.margin.right,y:Math.max(t.margin.top,t.margin.bottom)},t.boundingClientRect=d.getBoundingClientRect(),t.containerBoundingRect=_,t.index=p,t.newIndex=p,t.axis={x:o.indexOf("x")>=0,y:o.indexOf("y")>=0},t.offsetEdge=t.getEdgeOffset(d),t.initialOffset=t.getOffset(e),t.initialScroll={top:t.scrollContainer.scrollTop,left:t.scrollContainer.scrollLeft};var v=d.querySelectorAll("input, textarea, select"),g=d.cloneNode(!0);if([].concat(i(g.querySelectorAll("input, textarea, select"))).forEach(function(e,t){return e.value=v[t]&&v[t].value}),t.helper=t.document.body.appendChild(g),t.helper.style.position="fixed",t.helper.style.top=t.boundingClientRect.top-h.top+"px",t.helper.style.left=t.boundingClientRect.left-h.left+"px",t.helper.style.width=t.width+"px",t.helper.style.height=t.height+"px",t.helper.style.boxSizing="border-box",t.helper.style.pointerEvents="none",c&&(t.sortableGhost=d,d.style.visibility="hidden"),t.minTranslate={},t.maxTranslate={},t.axis.x&&(t.minTranslate.x=(l?0:_.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(l?t.contentWindow.innerWidth:_.left+_.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(l?0:_.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(l?t.contentWindow.innerHeight:_.top+_.height)-t.boundingClientRect.top-t.height/2),s){var b;(b=t.helper.classList).add.apply(b,i(s.split(" ")))}t.listenerNode=e.touches?d:t.contentWindow,y.events.move.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)}),y.events.end.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)}),t.setState({sorting:!0,sortingIndex:p}),u&&u({node:d,index:p,collection:f},e)}},t.handleSortMove=function(e){var n=t.props.onSortMove;e.preventDefault(),t.updatePosition(e),t.animateNodes(),t.autoscroll(),n&&n(e)},t.handleSortEnd=function(e){var n=t.props,r=n.hideSortableGhost,i=n.onSortEnd,o=t.manager.active.collection;t.listenerNode&&(y.events.move.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)}),y.events.end.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)})),t.helper.parentNode.removeChild(t.helper),r&&t.sortableGhost&&(t.sortableGhost.style.visibility="");for(var a=t.manager.refs[o],s=0,c=a.length;s=t.maxTranslate.y-t.height/2?(n.y=1,r.y=i.y*Math.abs((t.maxTranslate.y-t.height/2-e.y)/t.height)):e.x>=t.maxTranslate.x-t.width/2?(n.x=1,r.x=i.x*Math.abs((t.maxTranslate.x-t.width/2-e.x)/t.width)):e.y<=t.minTranslate.y+t.height/2?(n.y=-1,r.y=i.y*Math.abs((e.y-t.height/2-t.minTranslate.y)/t.height)):e.x<=t.minTranslate.x+t.width/2&&(n.x=-1,r.x=i.x*Math.abs((e.x-t.width/2-t.minTranslate.x)/t.width)),t.autoscrollInterval&&(clearInterval(t.autoscrollInterval),t.autoscrollInterval=null,t.isAutoScrolling=!1),0===n.x&&0===n.y||(t.autoscrollInterval=setInterval(function(){t.isAutoScrolling=!0;var e={left:1*r.x*n.x,top:1*r.y*n.y};t.scrollContainer.scrollTop+=e.top,t.scrollContainer.scrollLeft+=e.left,t.translate.x+=e.left,t.translate.y+=e.top,t.animateNodes()},5))},t.manager=new g.default,t.events={start:t.handleStart,move:t.handleMove,end:t.handleEnd},(0,m.default)(!(e.distance&&e.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time."),t.state={},t}return s(n,t),d(n,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.contentWindow,r=t.getContainer,i=t.useWindowAsScrollContainer;this.container="function"==typeof r?r(this.getWrappedInstance()):(0,h.findDOMNode)(this),this.document=this.container.ownerDocument||document,this.scrollContainer=i?this.document.body:this.container,this.contentWindow="function"==typeof n?n():n;for(var o in this.events)!function(t){e.events.hasOwnProperty(t)&&y.events[t].forEach(function(n){return e.container.addEventListener(n,e.events[t],!1)})}(o)}},{key:"componentWillUnmount",value:function(){var e=this;for(var t in this.events)!function(t){e.events.hasOwnProperty(t)&&y.events[t].forEach(function(n){return e.container.removeEventListener(n,e.events[t])})}(t)}},{key:"getEdgeOffset",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{top:0,left:0};if(e){var n={top:t.top+e.offsetTop,left:t.left+e.offsetLeft};return e.parentNode!==this.container?this.getEdgeOffset(e.parentNode,n):n}}},{key:"getOffset",value:function(e){return{x:e.touches?e.touches[0].clientX:e.clientX,y:e.touches?e.touches[0].clientY:e.clientY}}},{key:"getLockPixelOffsets",value:function(){var e=this.props.lockOffset;Array.isArray(e)||(e=[e,e]),(0,m.default)(2===e.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",e);var t=e,n=l(t,2),r=n[0],i=n[1];return[this.getLockPixelOffset(r),this.getLockPixelOffset(i)]}},{key:"getLockPixelOffset",value:function(e){var t=e,n=e,r="px";if("string"==typeof e){var i=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(e);(0,m.default)(null!==i,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',e),t=n=parseFloat(e),r=i[1]}return(0,m.default)(isFinite(t)&&isFinite(n),"lockOffset value should be a finite. Given %s",e),"%"===r&&(t=t*this.width/100,n=n*this.height/100),{x:t,y:n}}},{key:"updatePosition",value:function(e){var t=this.props,n=t.lockAxis,r=t.lockToContainerEdges,i=this.getOffset(e),o={x:i.x-this.initialOffset.x,y:i.y-this.initialOffset.y};if(this.translate=o,r){var a=this.getLockPixelOffsets(),s=l(a,2),c=s[0],u=s[1],d={x:this.width/2-c.x,y:this.height/2-c.y},f={x:this.width/2-u.x,y:this.height/2-u.y};o.x=(0,y.limit)(this.minTranslate.x+d.x,this.maxTranslate.x-f.x,o.x),o.y=(0,y.limit)(this.minTranslate.y+d.y,this.maxTranslate.y-f.y,o.y)}"x"===n?o.y=0:"y"===n&&(o.x=0),this.helper.style[y.vendorPrefix+"Transform"]="translate3d("+o.x+"px,"+o.y+"px, 0)"}},{key:"animateNodes",value:function(){var e=this.props,t=e.transitionDuration,n=e.hideSortableGhost,r=this.manager.getOrderedRefs(),i={left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top},o={left:this.offsetEdge.left+this.translate.x+i.left,top:this.offsetEdge.top+this.translate.y+i.top};this.newIndex=null;for(var a=0,s=r.length;al?l/2:this.width/2,height:this.height>d?d/2:this.height/2},p={x:0,y:0},h=r[a].edgeOffset;h||(r[a].edgeOffset=h=this.getEdgeOffset(c));var _=a0&&r[a-1];_&&!_.edgeOffset&&(_.edgeOffset=this.getEdgeOffset(_.node)),u!==this.index?(t&&(c.style[y.vendorPrefix+"TransitionDuration"]=t+"ms"),this.axis.x?this.axis.y?uthis.containerBoundingRect.width-f.width&&(p.x=_.edgeOffset.left-h.left,p.y=_.edgeOffset.top-h.top),null===this.newIndex&&(this.newIndex=u)):u>this.index&&(o.left+f.width>=h.left&&o.top+f.height>=h.top||o.top+f.height>=h.top+d)&&(p.x=-(this.width+this.marginOffset.x),h.left+p.xthis.index&&o.left+f.width>=h.left?(p.x=-(this.width+this.marginOffset.x),this.newIndex=u):uthis.index&&o.top+f.height>=h.top?(p.y=-(this.height+this.marginOffset.y),this.newIndex=u):u0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return(0,u.default)(this.refs[e],function(e){return e.node.sortableInfo.index})}}]),e}();t.default=l},function(e,t,n){var r=n(929),i=n(995),o=r(i);e.exports=o},function(e,t,n){function r(e){return function(t,n,r){var s=Object(t);if(!o(t)){var c=i(n,3);t=a(t),n=function(e){return c(s[e],e,s)}}var u=e(t,n,r);return u>-1?s[c?t[u]:u]:void 0}}var i=n(354),o=n(116),a=n(248);e.exports=r},function(e,t,n){function r(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||i(n,e,t)}}var i=n(931),o=n(982),a=n(578);e.exports=r},function(e,t,n){function r(e,t,n,r){var c=n.length,u=c,l=!r;if(null==e)return!u;for(e=Object(e);c--;){var d=n[c];if(l&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++c-1}var i=n(243);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var i=n(243);e.exports=r},function(e,t,n){function r(){this.__data__=new i,this.size=0}var i=n(242);e.exports=r},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof i){var r=n.__data__;if(!o||r.length1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),i(e,r(t,1),[])});e.exports=s},function(e,t,n){function r(e){return a(e)||o(e)||!!(s&&e&&e[s])}var i=n(224),o=n(359),a=n(50),s=i?i.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){function r(e,t,n){var r=-1;t=i(t.length?t:[l],c(o));var d=a(e,function(e,n,o){return{criteria:i(t,function(t){return t(e)}),index:++r,value:e}});return s(d,function(e,t){return u(e,t,n)})}var i=n(226),o=n(354),a=n(1002),s=n(1008),c=n(249),u=n(1009),l=n(251);e.exports=r},function(e,t,n){function r(e,t){var n=-1,r=o(e)?Array(e.length):[];return i(e,function(e,i,o){r[++n]=t(e,i,o)}),r}var i=n(1003),o=n(116);e.exports=r},function(e,t,n){var r=n(1004),i=n(1007),o=i(r);e.exports=o},function(e,t,n){function r(e,t){return e&&i(e,t,o)}var i=n(1005),o=n(248);e.exports=r},function(e,t,n){var r=n(1006),i=r();e.exports=i},function(e,t){function n(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++i];if(!1===n(o[c],c,o))break}return t}}e.exports=n},function(e,t,n){function r(e,t){return function(n,r){if(null==n)return n;if(!i(n))return e(n,r);for(var o=n.length,a=t?o:-1,s=Object(n);(t?a--:++a=c)return u;return u*("desc"==n[r]?-1:1)}}return e.index-t.index}var i=n(1010);e.exports=r},function(e,t,n){function r(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e===e,a=i(e),s=void 0!==t,c=null===t,u=t===t,l=i(t);if(!c&&!l&&!a&&e>t||a&&s&&u&&!c&&!l||r&&s&&u||!n&&u||!o)return 1;if(!r&&!a&&!l&&e0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,i=16,o=Date.now;e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){return i(this,n),o(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return a(n,t),u(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.collection,n=e.disabled,r=e.index;n||this.setDraggable(t,r)}},{key:"componentWillReceiveProps",value:function(e){if(this.props.index!==e.index&&this.node&&(this.node.sortableInfo.index=e.index),this.props.disabled!==e.disabled){var t=e.collection,n=e.disabled,r=e.index;n?this.removeDraggable(t):this.setDraggable(t,r)}else this.props.collection!==e.collection&&(this.removeDraggable(this.props.collection),this.setDraggable(e.collection,e.index))}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.collection;e.disabled||this.removeDraggable(t)}},{key:"setDraggable",value:function(e,t){var n=this.node=(0,f.findDOMNode)(this);n.sortableInfo={index:t,collection:e,manager:this.context.manager},this.ref={node:n},this.context.manager.add(e,this.ref)}},{key:"removeDraggable",value:function(e){this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function(){return(0,h.default)(r.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var t=r.withRef?"wrappedInstance":null;return d.default.createElement(e,c({ref:t},(0,_.omit)(this.props,"collection","disabled","index")))}}]),n}(l.Component),t.displayName=(0,_.provideDisplayName)("sortableElement",e),t.contextTypes={manager:l.PropTypes.object.isRequired},t.propTypes={index:l.PropTypes.number.isRequired,collection:l.PropTypes.oneOfType([l.PropTypes.number,l.PropTypes.string]),disabled:l.PropTypes.bool},t.defaultProps={collection:0},n}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){return i(this,n),o(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return a(n,t),u(n,[{key:"componentDidMount",value:function(){(0,f.findDOMNode)(this).sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return(0,h.default)(r.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var t=r.withRef?"wrappedInstance":null;return d.default.createElement(e,c({ref:t},this.props))}}]),n}(l.Component),t.displayName=(0,_.provideDisplayName)("sortableHandle",e),n}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t=n.length&&(r=n.length-1),this.setState({query:t,suggestions:n,selectedIndex:r})}},{key:"handleBlur",value:function(e){var t=e.target.value.trim();this.props.handleInputBlur&&(this.props.handleInputBlur(t),this.textInput.value="")}},{key:"handleKeyDown",value:function(e){var t=this.state,n=t.query,r=(t.selectedIndex,t.suggestions);if(e.keyCode===w.ESCAPE&&(e.preventDefault(),e.stopPropagation(),this.setState({selectedIndex:-1,selectionMode:!1,suggestions:[]})),-1===this.props.delimiters.indexOf(e.keyCode)||e.shiftKey||(e.keyCode===w.TAB&&""===n||e.preventDefault(),""!==n&&(this.state.selectionMode&&-1!=this.state.selectedIndex&&(n=this.state.suggestions[this.state.selectedIndex]),this.addTag(n))),e.keyCode===w.BACKSPACE&&""==n&&this.props.allowDeleteFromEmptyInput&&this.handleDelete(this.props.tags.length-1),e.keyCode===w.UP_ARROW){e.preventDefault();var i=this.state,o=i.selectedIndex,a=i.suggestions;o=o<=0?a.length-1:o-1,this.setState({selectedIndex:o,selectionMode:!0})}e.keyCode===w.DOWN_ARROW&&(e.preventDefault(),this.setState({selectedIndex:(this.state.selectedIndex+1)%r.length,selectionMode:!0}))}},{key:"handlePaste",value:function(e){var t=this;e.preventDefault();var n=function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}(this.props.delimiters.map(function(e){var t=e-48*Math.floor(e/48);return String.fromCharCode(96<=e?t:e)}).join("")),r=e.clipboardData||window.clipboardData,i=r.getData("text"),o=new RegExp("["+n+"]+");i.split(o).forEach(function(e){return t.props.handleAddition(e)})}},{key:"addTag",value:function(e){if(this.props.autocomplete){var t=this.filteredSuggestions(e,this.props.suggestions);(1===this.props.autocomplete&&1===t.length||!0===this.props.autocomplete&&t.length)&&(e=t[0])}this.props.handleAddition(e),this.setState({query:"",selectionMode:!1,selectedIndex:-1}),this.resetAndFocusInput()}},{key:"handleSuggestionClick",value:function(e,t){this.addTag(this.state.suggestions[e])}},{key:"handleSuggestionHover",value:function(e,t){this.setState({selectedIndex:e,selectionMode:!0})}},{key:"moveTag",value:function(e,t){var n=this.props.tags,r=n[e];this.props.handleDrag(r,e,t)}},{key:"render",value:function(){var e=this,t=this.props.handleDrag?this.moveTag:null,n=this.props.tags.map(function(e,n){return l.default.createElement(b.default,{key:e.id,index:n,tag:e,labelField:this.props.labelField,onDelete:this.handleDelete.bind(this,n),moveTag:t,removeComponent:this.props.removeComponent,readOnly:this.props.readOnly,classNames:this.state.classNames})}.bind(this)),r=this.state.query.trim(),i=this.state.selectedIndex,o=this.state.suggestions,a=this.props.placeholder,s=this.props.name,c=this.props.id,u=this.props.maxLength,d=this.props.readOnly?null:l.default.createElement("div",{className:this.state.classNames.tagInput},l.default.createElement("input",{ref:function(t){e.textInput=t},className:this.state.classNames.tagInputField,type:"text",placeholder:a,"aria-label":a,onBlur:this.handleBlur,onChange:this.handleChange,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,name:s,id:c,maxLength:u}),l.default.createElement(m.default,{query:r,suggestions:o,selectedIndex:i,handleClick:this.handleSuggestionClick,handleHover:this.handleSuggestionHover,minQueryLength:this.props.minQueryLength,shouldRenderSuggestions:this.props.shouldRenderSuggestions,classNames:this.state.classNames}));return l.default.createElement("div",{className:this.state.classNames.tags},l.default.createElement("div",{className:this.state.classNames.selected},n,this.props.inline&&d),!this.props.inline&&d)}}]),t}(u.Component);M.PropTypes={placeholder:g.default.string,labelField:g.default.string,suggestions:g.default.array,delimiters:g.default.array,autofocus:g.default.bool,inline:g.default.bool,handleDelete:g.default.func.isRequired,handleAddition:g.default.func.isRequired,handleDrag:g.default.func,handleFilterSuggestions:g.default.func,allowDeleteFromEmptyInput:g.default.bool,handleInputChange:g.default.func,handleInputBlur:g.default.func,minQueryLength:g.default.number,shouldRenderSuggestions:g.default.func,removeComponent:g.default.func,autocomplete:g.default.oneOfType([g.default.bool,g.default.number]),readOnly:g.default.bool,classNames:g.default.object,name:g.default.string,id:g.default.string,maxLength:g.default.string},M.defaultProps={placeholder:"Add new tag",tags:[],suggestions:[],delimiters:[w.ENTER,w.TAB],autofocus:!0,inline:!0,allowDeleteFromEmptyInput:!0,minQueryLength:2,autocomplete:!1,readOnly:!1},e.exports={WithContext:(0,f.DragDropContext)(h.default)(M),WithOutContext:M,Keys:w}},function(e,t,n){"use strict";var r=n(58),i=n(9),o=n(1020);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1022);Object.defineProperty(t,"DragDropManager",{enumerable:!0,get:function(){return r(i).default}});var o=n(1043);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return r(o).default}});var a=n(1044);Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return r(a).default}});var s=n(1045);Object.defineProperty(t,"createTestBackend",{enumerable:!0,get:function(){return r(s).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};i(this,e);var r=(0,s.default)(u.default);this.context=n,this.store=r,this.monitor=new p.default(r),this.registry=this.monitor.registry,this.backend=t(this),r.subscribe(this.handleRefCountChange.bind(this))}return o(e,[{key:"handleRefCountChange",value:function(){var e=this.store.getState().refCount>0;e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1)}},{key:"getContext",value:function(){return this.context}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.registry}},{key:"getActions",value:function(){function e(e){return function(){for(var r=arguments.length,i=Array(r),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];return{dirtyHandlerIds:(0,f.default)(e.dirtyHandlerIds,t,e.dragOperation),dragOffset:(0,a.default)(e.dragOffset,t),refCount:(0,l.default)(e.refCount,t),dragOperation:(0,c.default)(e.dragOperation,t),stateId:(0,h.default)(e.stateId)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(591),a=r(o),s=n(1026),c=r(s),u=n(1030),l=r(u),d=n(595),f=r(d),p=n(1037),h=r(p)},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case s.BEGIN_DRAG:return i({},e,{itemType:t.itemType,item:t.item,sourceId:t.sourceId,isSourcePublic:t.isSourcePublic,dropResult:null,didDrop:!1});case s.PUBLISH_DRAG_SOURCE:return i({},e,{isSourcePublic:!0});case s.HOVER:return i({},e,{targetIds:t.targetIds});case c.REMOVE_TARGET:return-1===e.targetIds.indexOf(t.targetId)?e:i({},e,{targetIds:(0,a.default)(e.targetIds,t.targetId)});case s.DROP:return i({},e,{dropResult:t.dropResult,didDrop:!0,targetIds:[]});case s.END_DRAG:return i({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:0;switch(arguments[1].type){case i.ADD_SOURCE:case i.ADD_TARGET:return e+1;case i.REMOVE_SOURCE:case i.REMOVE_TARGET:return e-1;default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(255)},function(e,t,n){var r=n(569),i=n(117),o=n(1032),a=n(254),s=i(function(e){return o(r(e,a))});e.exports=s},function(e,t,n){function r(e,t,n){var r=e.length;if(r<2)return r?a(e[0]):[];for(var s=-1,c=Array(r);++s=120&&v.length>=120)?new i(p&&v):void 0}v=e[0];var g=-1,y=h[0];e:for(;++g0&&void 0!==arguments[0]?arguments[0]:0)+1}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=n.handlerIds;(0,s.default)("function"==typeof e,"listener must be a function."),(0,s.default)(void 0===r||(0,u.default)(r),"handlerIds, when specified, must be an array of strings.");var i=this.store.getState().stateId,o=function(){var n=t.store.getState(),o=n.stateId;try{o===i||o===i+1&&!(0,_.areDirty)(n.dirtyHandlerIds,r)||e()}finally{i=o}};return this.store.subscribe(o)}},{key:"subscribeToOffsetChange",value:function(e){var t=this;(0,s.default)("function"==typeof e,"listener must be a function.");var n=this.store.getState().dragOffset,r=function(){var r=t.store.getState().dragOffset;r!==n&&(n=r,e())};return this.store.subscribe(r)}},{key:"canDragSource",value:function(e){var t=this.registry.getSource(e);return(0,s.default)(t,"Expected to find a valid source."),!this.isDragging()&&t.canDrag(this,e)}},{key:"canDropOnTarget",value:function(e){var t=this.registry.getTarget(e);if((0,s.default)(t,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;var n=this.registry.getTargetType(e),r=this.getItemType();return(0,d.default)(n,r)&&t.canDrop(this,e)}},{key:"isDragging",value:function(){return Boolean(this.getItemType())}},{key:"isDraggingSource",value:function(e){var t=this.registry.getSource(e,!0);return(0,s.default)(t,"Expected to find a valid source."),!(!this.isDragging()||!this.isSourcePublic())&&(this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e))}},{key:"isOverTarget",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1},n=t.shallow;if(!this.isDragging())return!1;var r=this.registry.getTargetType(e),i=this.getItemType();if(!(0,d.default)(r,i))return!1;var o=this.getTargetIds();if(!o.length)return!1;var a=o.indexOf(e);return n?a===o.length-1:a>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return this.store.getState().dragOperation.isSourcePublic}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return(0,h.getSourceClientOffset)(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return(0,h.getDifferenceFromInitialOffset)(this.store.getState().dragOffset)}}]),e}();t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e){(0,p.default)("function"==typeof e.canDrag,"Expected canDrag to be a function."),(0,p.default)("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),(0,p.default)("function"==typeof e.endDrag,"Expected endDrag to be a function.")}function a(e){(0,p.default)("function"==typeof e.canDrop,"Expected canDrop to be a function."),(0,p.default)("function"==typeof e.hover,"Expected hover to be a function."),(0,p.default)("function"==typeof e.drop,"Expected beginDrag to be a function.")}function s(e,t){if(t&&(0,_.default)(e))return void e.forEach(function(e){return s(e,!1)});(0,p.default)("string"==typeof e||"symbol"===(void 0===e?"undefined":d(e)),t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}function c(e){var t=(0,b.default)().toString();switch(e){case w.SOURCE:return"S"+t;case w.TARGET:return"T"+t;default:(0,p.default)(!1,"Unknown role: "+e)}}function u(e){switch(e[0]){case"S":return w.SOURCE;case"T":return w.TARGET;default:(0,p.default)(!1,"Cannot parse handler ID: "+e)}}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;nu){for(var t=0,n=a.length-c;t1&&void 0!==arguments[1]?arguments[1]:{};return E.default.apply(void 0,["DragLayer","collect[, options]"].concat(Array.prototype.slice.call(arguments))),(0,b.default)("function"==typeof e,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html",e),(0,b.default)((0,g.default)(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html',t),function(n){var r,s,p=t.arePropsEqual,_=void 0===p?C.default:p,v=n.displayName||n.name||"Component",g=(s=r=function(t){function r(e,t){i(this,r);var n=o(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));return n.handleChange=n.handleChange.bind(n),n.manager=t.dragDropManager,(0,b.default)("object"===u(n.manager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",v,v),n.state=n.getCurrentState(),n}return a(r,t),l(r,[{key:"getDecoratedComponentInstance",value:function(){return(0,b.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"shouldComponentUpdate",value:function(e,t){return!_(e,this.props)||!(0,k.default)(t,this.state)}}]),l(r,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0;var e=this.manager.getMonitor();this.unsubscribeFromOffsetChange=e.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=e.subscribeToStateChange(this.handleChange),this.handleChange()}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange(),this.unsubscribeFromStateChange()}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,k.default)(e,this.state)||this.setState(e)}}},{key:"getCurrentState",value:function(){var t=this.manager.getMonitor();return e(t)}},{key:"render",value:function(){var e=this;return f.default.createElement(n,c({},this.props,this.state,{ref:function(t){return e.child=t}}))}}]),r}(d.Component),r.DecoratedComponent=n,r.displayName="DragLayer("+v+")",r.contextTypes={dragDropManager:h.default.object.isRequired},s);return(0,m.default)(g,n)}}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:{};l.default.apply(void 0,["DragSource","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var i=e;"function"!=typeof e&&((0,a.default)((0,k.default)(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',e),i=function(){return e}),(0,a.default)((0,c.default)(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',t);var o=(0,m.default)(t);return(0,a.default)("function"==typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),(0,a.default)((0,c.default)(r),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),function(e){return(0,f.default)({connectBackend:function(e,t){return e.connectDragSource(t)},containerDisplayName:"DragSource",createHandler:o,registerHandler:h.default,createMonitor:g.default,createConnector:b.default,DecoratedComponent:e,getType:i,collect:n,options:r})}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(45),a=r(o),s=n(119),c=r(s),u=n(256),l=r(u),d=n(598),f=r(d),p=n(1053),h=r(p),_=n(1054),m=r(_),v=n(1055),g=r(v),y=n(1056),b=r(y),w=n(601),k=r(w)},function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var i=n(368),o=r(i);t.isDisposable=o.default;var a=n(1050),s=r(a);t.Disposable=s.default;var c=n(1051),u=r(c);t.CompositeDisposable=u.default;var l=n(1052),d=r(l);t.SerialDisposable=d.default},function(e,t,n){"use strict";var r=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},i=function(){function e(e,t){for(var n=0;n-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',l.join(", "),t),(0,c.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])}),d.forEach(function(t){(0,c.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])});var t=function(){function t(e){i(this,t),this.monitor=e,this.props=null,this.component=null}return a(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrag",value:function(){return!e.canDrag||e.canDrag(this.props,this.monitor)}},{key:"isDragging",value:function(t,n){return e.isDragging?e.isDragging(this.props,this.monitor):n===t.getSourceId()}},{key:"beginDrag",value:function(){var t=e.beginDrag(this.props,this.monitor,this.component);return t}},{key:"endDrag",value:function(){e.endDrag&&e.endDrag(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n or
    . Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),n?(0,a.cloneElement)(e,{ref:function(e){t(e),n&&n(e)}}):(0,a.cloneElement)(e,{ref:t})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(45),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a=n(25)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};l.default.apply(void 0,["DropTarget","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var i=e;"function"!=typeof e&&((0,a.default)((0,k.default)(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',e),i=function(){return e}),(0,a.default)((0,c.default)(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',t);var o=(0,m.default)(t);return(0,a.default)("function"==typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),(0,a.default)((0,c.default)(r),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),function(e){return(0,f.default)({connectBackend:function(e,t){return e.connectDropTarget(t)},containerDisplayName:"DropTarget",createHandler:o,registerHandler:h.default,createMonitor:g.default,createConnector:b.default,DecoratedComponent:e,getType:i,collect:n,options:r})}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(45),a=r(o),s=n(119),c=r(s),u=n(256),l=r(u),d=n(598),f=r(d),p=n(1059),h=r(p),_=n(1060),m=r(_),v=n(1061),g=r(v),y=n(1062),b=r(y),w=n(601),k=r(w)},function(e,t,n){"use strict";function r(e,t,n){function r(){i.removeTarget(o)}var i=n.getRegistry(),o=i.addTarget(e,t);return{handlerId:o,unregister:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e){Object.keys(e).forEach(function(t){(0,c.default)(l.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',l.join(", "),t),(0,c.default)("function"==typeof e[t],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html",t,t,e[t])});var t=function(){function t(e){i(this,t),this.monitor=e,this.props=null,this.component=null}return a(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveMonitor",value:function(e){this.monitor=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrop",value:function(){return!e.canDrop||e.canDrop(this.props,this.monitor)}},{key:"hover",value:function(){e.hover&&e.hover(this.props,this.monitor,this.component)}},{key:"drop",value:function(){if(e.drop){var t=e.drop(this.props,this.monitor,this.component);return t}}}]),t}();return function(e){return new t(e)}}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r0}},{key:"leave",value:function(e){var t=this.entered.length;return this.entered=(0,u.default)(this.entered.filter(function(e){return document.documentElement.contains(e)}),e),t>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}]),e}();t.default=l},function(e,t,n){var r=n(252),i=n(117),o=n(596),a=n(254),s=i(function(e){return o(r(e,1,a,!0))});e.exports=s},function(e,t,n){"use strict";function r(e){var t=e.nodeType===u?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),r=n.top;return{x:n.left,y:r}}function i(e){return{x:e.clientX,y:e.clientY}}function o(e,t,n,i){var o="IMG"===t.nodeName&&((0,a.isFirefox)()||!document.documentElement.contains(t)),s=o?e:t,u=r(s),l={x:n.x-u.x,y:n.y-u.y},d=e.offsetWidth,f=e.offsetHeight,p=i.anchorX,h=i.anchorY,_=o?t.width:d,m=o?t.height:f;(0,a.isSafari)()&&o&&(m/=window.devicePixelRatio,_/=window.devicePixelRatio);var v=new c.default([0,.5,1],[l.x,l.x/d*_,l.x+_-d]),g=new c.default([0,.5,1],[l.y,l.y/f*m,l.y+m-f]),y=v.interpolate(p),b=g.interpolate(h);return(0,a.isSafari)()&&o&&(b+=(window.devicePixelRatio-1)*m),{x:y,y:b}}Object.defineProperty(t,"__esModule",{value:!0}),t.getNodeClientOffset=r,t.getEventClientOffset=i,t.getDragPreviewOffset=o;var a=n(603),s=n(1078),c=function(e){return e&&e.__esModule?e:{default:e}}(s),u=1},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;ne))return n[u];c=u-1}}a=Math.max(0,c);var d=e-t[a],f=d*d;return n[a]+r[a]*d+i[a]*f+o[a]*d*f}}]),e}();t.default=o},function(e,t,n){"use strict";function r(e,t){for(var n in t){var r=t[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,n,r)}return e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t,n){var r=t.reduce(function(t,n){return t||e.getData(n)},null);return null!=r?r:n}function s(e){var t=p[e],n=t.exposeProperty,o=t.matchesTypes,a=t.getData;return function(){function e(){var t,o;i(this,e),this.item=(t={},o={},o[n]=o[n]||{},o[n].get=function(){return console.warn("Browser doesn't allow reading \""+n+'" until the drop event.'),null},r(t,o),t)}return l(e,[{key:"mutateItemByReadingDataTransfer",value:function(e){delete this.item[n],this.item[n]=a(e,o)}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}()}function c(e){var t=Array.prototype.slice.call(e.types||[]);return Object.keys(p).filter(function(e){return p[e].matchesTypes.some(function(e){return t.indexOf(e)>-1})})[0]||null}Object.defineProperty(t,"__esModule",{value:!0});var u,l=function(){function e(e,t){for(var n=0;n=n?t.scrollTop+=i-n+r:i<0&&(t.scrollTop+=i)},h=function(e){function t(){var e,n,r,a;i(this,t);for(var s=arguments.length,u=Array(s),l=0;l$&")}},r.shouldRenderSuggestions=function(e){var t=r,n=t.props,i=n.minQueryLength||2;return e.length>=i},r.render=function(){var e=r,t=e.props,n=t.suggestions.map(function(e,n){return c.default.createElement("li",{key:n,onMouseDown:t.handleClick.bind(null,n),onMouseOver:t.handleHover.bind(null,n),className:n==t.selectedIndex?t.classNames.activeSuggestion:""},c.default.createElement("span",{dangerouslySetInnerHTML:this.markIt(e,t.query)}))}.bind(r)),i=t.shouldRenderSuggestions||r.shouldRenderSuggestions;return 0!==n.length&&i(t.query)?c.default.createElement("div",{ref:"suggestionsContainer",className:r.props.classNames.suggestions},c.default.createElement("ul",null," ",n," ")):null},a=n,o(r,a)}return a(t,e),t}(s.Component);h.propTypes={query:l.default.string.isRequired,selectedIndex:l.default.number.isRequired,suggestions:l.default.array.isRequired,handleClick:l.default.func.isRequired,handleHover:l.default.func.isRequired,minQueryLength:l.default.number,shouldRenderSuggestions:l.default.func,classNames:l.default.object},t.default=h},function(e,t,n){function r(e,t){return i(e,t)}var i=n(357);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){if(e.readOnly)return u.default.createElement("span",null);if(e.removeComponent){var t=e.removeComponent;return u.default.createElement(t,e)}return u.default.createElement("a",{onClick:e.onClick,className:e.className},String.fromCharCode(215))}Object.defineProperty(t,"__esModule",{value:!0});var c=n(25),u=r(c),l=n(79),d=n(589),f=n(118),p=r(f),h=n(1084),_=r(h),m={TAG:"tag"},v={beginDrag:function(e){return{id:e.tag.id,index:e.index}},canDrag:function(e){return e.moveTag&&!e.readOnly}},g={hover:function(e,t,n){var r=t.getItem().index,i=e.index;if(r!==i){var o=(0,l.findDOMNode)(n).getBoundingClientRect(),a=(o.right-o.left)/2,s=t.getClientOffset(),c=s.x-o.left;ri&&c>a||(e.moveTag(r,i),t.getItem().index=i)}},canDrop:function(e){return!e.readOnly}},y=function(e,t){return{connectDragSource:e.dragSource(),isDragging:t.isDragging()}},b=function(e,t){return{connectDropTarget:e.dropTarget()}},w=function(e){function t(){var e,n,r,a;i(this,t);for(var c=arguments.length,l=Array(c),d=0;d1&&void 0!==arguments[1]?arguments[1]:"commands.restore_obj";return new l.default({id:"scrivito.sdk.restore_obj",title:scrivito.t(t+".title"),icon:"",present:function(){return a.default.getIncludingDeleted(e).isDeleted()},execute:function(){scrivito.withSavingOverlay(a.default.fetchIncludingDeleted(e).then(function(e){return c.restoreObj(e.objData)}).then(function(){return scrivito.reload()}))}})}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=r(o),s=n(120),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(s),u=n(11),l=r(u);t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return new f.default({id:"scrivito.sdk.revert_obj",title:scrivito.t("commands.revert_obj.title"),icon:"",present:function(){return scrivito.editingContext.isMutable()&&c.default.get(e)},disabled:function(){var t=c.default.get(e);return t.isModified()?t.isNew()?scrivito.t("commands.revert_obj.is_new"):void 0:scrivito.t("commands.revert_obj.unmodified")},execute:function(){o().then(function(){return a(e)})}})}function o(){return scrivito.confirmation_dialog({title:scrivito.t("commands.revert_obj.dialog.title"),description:scrivito.t("commands.revert_obj.dialog.description"),icon:"",color:"red",confirm_button_text:scrivito.t("commands.revert_obj.dialog.confirm"),confirm_button_color:"red"})}function a(e){scrivito.withSavingOverlay(l.revertObj(c.default.get(e).objData).then(function(){return scrivito.applicationWindow.reload()}))}Object.defineProperty(t,"__esModule",{value:!0});var s=n(3),c=r(s),u=n(120),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(u),d=n(11),f=r(d);t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return new c.default({id:"scrivito.sdk.save_obj_to_clipboard",title:scrivito.t("commands.save_obj_to_clipboard.title"),icon:"",disabled:function(){var t=a.default.getIncludingDeleted(e);return t.isDeleted()?scrivito.t("commands.save_obj_to_clipboard.is_deleted"):t.hasChildren()?scrivito.t("commands.save_obj_to_clipboard.has_children"):void 0},execute:function(){a.default.fetch(e).then(scrivito.objClipboard.save)}})}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=r(o),s=n(11),c=r(s);t.default=i},function(e,t,n){"use strict";function r(e){return scrivito.ajax("PUT","sessions/"+e,{skip_write_monitor:!0})}Object.defineProperty(t,"__esModule",{value:!0}),t.requestCustomUserSession=r},function(e,t,n){"use strict";function r(e){scrivito.on("pageChange",function(){var t=e.browserWindow(),n=scrivito.applicationWindow.browserWindow(),r=t.location.origin+"/scrivito"+n.location.pathname+n.location.search+n.location.hash;scrivito.cmsWindow.isLivingWindow(t)&&t.history.replaceState({},"",r)})}Object.defineProperty(t,"__esModule",{value:!0}),t.syncWithApplicationLocation=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(){var e=scrivito.AppConfig.getClasses()||[],t={},n={},r=function(e){if("Obj"===e.type)return void(t[e.name]=e);if("Widget"===e.type)return void(n[e.name]=e);throw new s.InternalError('Invalid type "'+e.type+'" for class data "'+e.name+'".')};f.forEach(r),e.forEach(r),u.default.init(a.default.values(t)),d.default.init(a.default.values(n))}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=r(o),s=n(1),c=n(26),u=r(c),l=n(31),d=r(l),f=void 0,p={init:function(e){f=e,scrivito.AppConfig.onChange(i),i()},reset:function(){f=void 0}};t.default=p},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1){if(o=e({path:"/"},r.defaults,o),"number"==typeof o.expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*o.expires),o.expires=s}o.expires=o.expires?o.expires.toUTCString():"";try{a=JSON.stringify(i),/^[\{\[]/.test(a)&&(i=a)}catch(e){}i=n.write?n.write(i,t):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)),t=t.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),t=t.replace(/[\(\)]/g,escape);var c="";for(var u in o)o[u]&&(c+="; "+u,!0!==o[u]&&(c+="="+o[u]));return document.cookie=t+"="+i+c}t||(a={});for(var l=document.cookie?document.cookie.split("; "):[],d=/(%[0-9A-Z]{2})+/g,f=0;f\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n '),t("open"),t("content",window.document),n=!0},stop:function(){n=!1},cleanUp:function(){$("#scrivito_editing").remove()},newContent:function(n){n&&e(n).then(function(){t("content",n);var e=scrivito.CmsDocument.from($(n)).notifyNewContent(n);e.length?scrivito.Promise.all(e).then(function(){t("editor_selection",n)}):t("editor_selection",n)})},newDocument:function(e){i.default.each(r.document,function(t){t(e)}),e.window().notifyNewDocument(e)},on:function(e,t){void 0===r[e]&&(r[e]=[]),r[e].push(t)},resetCallbacks:function(){r={}},isStarted:function(){return n},hideControls:function(){$("#scrivito_ui").addClass("scrivito_hide_ui")},showControls:function(){$("#scrivito_ui").removeClass("scrivito_hide_ui")}};scrivito.Gui=o}()},function(e,t,n){"use strict";function r(e){var t=o.default.find(e);return!(!t||!t.attribute("tags"))&&"stringlist"===t.attribute("tags").type}var i=n(26),o=function(e){return e&&e.__esModule?e:{default:e}}(i);scrivito.hasTagsAttribute=r},function(e,t,n){"use strict";!function(){function e(){scrivito.Gui.on("document",function(e){e.dom_element().on("keyup",function(e){return $(document).trigger(e)})})}function t(e,t){var r=n+1;n=r;var i="keyup.scrivito_hotkeys."+r,o={13:t.enter,27:t.escape};return $(document).on(i,function(e){if(!(scrivito.savingOverlay.isPresent()||r1&&$.error('Can not call "scrivito" method on more than one tag')}function n(e){return scrivito.cms_element.from_dom_element(e)}function r(e,t){if(e.length>0)if(1===e.length){if(void 0!==t){var r=n(e);r.set_original_content(t);var i=r.save(t).then(function(){}).catch(function(e){throw{message:e.message}});return(0,s.default)(i)}$.error('Can not call "save" with no content')}else $.error('Can not call "scrivito" method on more than one tag')}function i(e){return t(e),n(e).original_content()}function a(e){return t(e),n(e).valid_values()}function c(e){return t(e),n(e).valid_classes()}function u(e){t(e);var r=n(e);return new o.default(r)}function l(e){t(e),n(e),$(e).trigger("reload.scrivito")}scrivito.jQueryPlugin=e,$.fn.scrivito=scrivito.jQueryPlugin}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function e(e,t){for(var n=0;n2)&&this._deferred.promise.isPending()){if(this._isConcurrentUpdate())return void this._deferred.resolve();var t=this._convertValue();p.default.isEmpty(t.unknownUrls)?(this._updateAttributeValue(t.result),this._deferred.resolve()):(scrivito.WriteMonitor.startWrite(),(0,_.preloadResolvedUrls)(t.unknownUrls).then(function(){scrivito.WriteMonitor.endWrite(),e.start()}).catch(function(t){scrivito.WriteMonitor.endWrite(),e._deferred.reject(t)}))}}},{key:"_convertValue",value:function(){switch(this._attributeType){case"html":return d.convertHtml(this._attributeValue);case"link":return d.convertLink(this._attributeValue);case"linklist":return d.convertLinklist(this._attributeValue);default:throw new h.InternalError('Attribute type "'+this._attributeType+'" is not supported.')}}},{key:"_currentAttributeData",value:function(){if(this._widgetId){return((this._objData.current._widget_pool||{})[this._widgetId]||{})[this._attributeName]||[]}return this._objData.current[this._attributeName]||[]}},{key:"_isConcurrentUpdate",value:function(){var e=[this._attributeType,this._attributeValue];return!p.default.isEqual(this._currentAttributeData(),e)}},{key:"_updateAttributeValue",value:function(e){if(e!==this._attributeValue){var t=i({},this._attributeName,[this._attributeType,e]);this._widgetId&&(t={_widget_pool:i({},this._widgetId,t)}),this._objData.update(t)}}}]),e}()}()},function(e,t,n){"use strict";function r(e){var t=c(e,"a","href"),n=t.unknownUrls,r=t.convertedHtml,i=c(r,"img","src");return n=n.concat(i.unknownUrls),r=i.convertedHtml,a(r,n)}function i(e){var t=[],n=s(e),r=u(n,2),i=r[0],o=r[1];return o&&t.push(o),a(i,t)}function o(e){var t=[];return a(d.default.map(e,function(e){var n=s(e),r=u(n,2),i=r[0],o=r[1];return o&&t.push(o),i}),t)}function a(e,t){return{result:e,unknownUrls:d.default.uniq(t)}}function s(e){if(!e.url)return[e];var t=(0,f.resolveUrl)(e.url);return void 0===t?[e,e.url]:null===t?[e]:[{obj_id:t.obj_id,fragment:t.fragment,query:t.query,target:e.target,title:e.title}]}function c(e,t,n){var r=[],i=new RegExp("<"+t+"\\s+(?:[^>]*?\\s+)?"+n+"=([\"'])(.*?)\\1","gi"),o=e.replace(i,function(e,t,n){if(!n)return e;if(n.match(/^objid:/))return e;var i=(0,f.resolveUrl)(n);if(void 0===i)return r.push(n),e;if(null===i)return e;var o=new URI("objid:"+i.obj_id);return i.fragment&&o.fragment(i.fragment),i.query&&o.query(i.query),e.replace(n,o.href())});return{unknownUrls:r,convertedHtml:o}}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.convertHtml=r,t.convertLink=i,t.convertLinklist=o;var l=n(0),d=function(e){return e&&e.__esModule?e:{default:e}}(l),f=n(615)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(72),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(i),a=n(1150),s=r(a),c=n(0),u=r(c),l=n(30),d=r(l),f=n(47),p=r(f);!function(){scrivito.binaryFieldElement={createInstance:function(e){if("binary"===e.dom_element().attr("data-scrivito-field-type")){var t=scrivito.cms_field_element.createInstance(e),n=new s.default(function(e){return o.isFile(e)?d.default.upload(e).into(t.basic_obj()):e instanceof p.default?e.into(t.basic_obj()):scrivito.Promise.resolve(e)});return u.default.extend(t,{preprocess:function(e){return n.write(e).catch(function(e){throw scrivito.displayError(e),e})}}),t}}},scrivito.cms_element.definitions.push(scrivito.binaryFieldElement)}()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n[data-scrivito-private-obj-id]"),function(e){return scrivito.cms_element.from_dom_element($(e))})},hasChildOrder:function(){return!!t.dom_element().attr("data-scrivito-private-child-list-order-obj-id")},fetchObj:function(){return o.default.fetch(t.obj().id())},saveOrder:function(){if(t.hasChildOrder()){var e=s.default.map(t.children(),function(e){return e.obj().id()});return t.fetchObj().then(function(t){return t.update({childOrder:[e,["referencelist"]]}),t.finishSaving()}).catch(function(e){throw scrivito.displayError(e),e})}$.error("Can't save order, when child order is not allowed!")},isValidChildClass:function(e){var n=t.allowedClasses();return!n||s.default.contains(n,e)}}),t}},all:function(e){return scrivito.cms_element.all("[data-scrivito-private-child-list-path]",e)}},scrivito.cms_element.definitions.push(scrivito.childListElement)}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return o("objs/page_class_selection",e)}function o(e,t){return a(e,t).then(function(e){var t=l.default.pluck(e,"name"),n=void 0;t.length>=15&&(n=scrivito.ObjCreationHistory.recent(t));var r=l.default.take(l.default.intersection(scrivito.popular_obj_classes,t),5);return{all:e,recent:l.default.map(n,function(t){return l.default.findWhere(e,{name:t})}),popular:l.default.map(r,function(t){return l.default.findWhere(e,{name:t})})}})}function a(e,t){var n=e;t&&(n+="?"+$.param(t));var r=p.uiState.subState("getClassSelection").subState(n),i=function(){return scrivito.Promise.resolve(scrivito.ajaxWithErrorDialog("GET",n))},o=new c.default({state:r,loader:i});return(0,f.default)(function(){return o.get()})}Object.defineProperty(t,"__esModule",{value:!0}),t.fetchPageClassSelection=void 0;var s=n(5),c=r(s),u=n(0),l=r(u),d=n(13),f=r(d),p=n(4);t.fetchPageClassSelection=i},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}var o=n(3),a=i(o),s=n(51),c=r(s),u=n(526),l=r(u),d=n(527),f=r(d),p=n(588),h=r(p),_=n(530),m=i(_),v=n(0),g=i(v),y=n(1),b=n(13),w=i(b),k=n(30),M=i(k),C=n(134),T=i(C),E=n(219),D=n(48),j=n(539),S=i(j);!function(){function e(e){function n(){if(!(0,D.useRailsEngine)())throw new y.InternalError("Unexpected attempt to access application frame's jQuery");if(u.jQuery)return u.jQuery;var e="jQuery is missing! In order for Scrivito to work, jQuery is needed. Please add jQuery to your assets.";scrivito.AlertDialog.open(e),$.error(e)}function r(e,t){"load"===e?_?scrivito.run_new_event(t):d.push(t):"content"===e?(p.push(t),_&&scrivito.run_new_event(function(){t(s)})):$.error("unknown event "+e)}function i(){var e=o.pageConfig();if(e&&!g.default.isEmpty(e.current_page))return e.current_page}var o=e,s=e.dom_element()[0],u=s.defaultView,d=[],p=[],_=!1,v=!1,b=void 0,k=void 0;return g.default.extend(o,{installRailsApi:function(){n().fn.scrivito=scrivito.jQueryPlugin;var e=u.scrivito||{};u.scrivito=g.default.extend(e,{on:r,trigger:scrivito.trigger,create_obj:scrivito.create_obj,delete_obj:scrivito.delete_obj,obj_where:scrivito.obj_where,is_current_page_restricted:scrivito.is_current_page_restricted,in_editable_view:scrivito.in_editable_view,register_default_obj_class_for_content_type:scrivito.register_default_obj_class_for_content_type,default_obj_class_for_content_type:scrivito.default_obj_class_for_content_type,page_menu:function(){return scrivito.page_menu(o)},define_editor:function(e,t){new m.default(o).define(e,t)},select_editor:function(e){o.select_editor=e},upload_binary:function(e){return M.default.upload(e.blob||e.file,{filename:e.filename,contentType:e.content_type})},suggest_completion:h.suggest,description_for_editor:scrivito.description_for_editor,path_for_id:scrivito.path_for_id,id_from_path:scrivito.id_from_path,content_browser:S.default,dialog:function(e,t){var n=o.window().iframe();return scrivito.custom_dialog(n,s,e,t)}}),t(u.scrivito,["menu_order","popular_obj_classes"])},setAppAdapter:function(e){b=e},appAdapter:function(){return b},assertUserLoggedIn:function(){(0,E.useCustomUsers)()&&(0,w.default)(function(){o.userId()!==T.default.current.id&&scrivito.change_location(o.window().browserWindow().location,window)})},connect:function(){if(v&&$.error("document connected twice!"),scrivito.cmsWindow.isLivingWindow(u))return v=!0,o.preloadObjs().then(function(){d.forEach(function(e){return scrivito.run_new_event(e)}),_=!0,scrivito.Gui.newDocument(o),scrivito.Gui.newContent(o.dom_element()[0]),l.notify(o)});scrivito.log_info("document inside closed window, refusing to connect")},preloadObjs:function(){return scrivito.editingContext.isViewMode()?scrivito.Promise.resolve():(g.default.each(o.preloadedObjData(),function(e){return c.store(e)}),scrivito.cms_field_element.preload(o.dom_element()))},notifyNewContent:function(e){var t=this;return _&&g.default.map(p,function(n){return new scrivito.Promise(function(r){scrivito.run_new_event(function(){try{n.apply(t,[e])}finally{r()}})})})},addAppExtensions:function(){if(scrivito.ui_config()&&!scrivito.editingContext.isViewMode()){var e=scrivito.ui_config().app_extension_tags;u.document.write(e)}},window:function(){return scrivito.cmsWindow.from(u)},localJquery:function(e){return e?n()(e):n()},browserWindow:function(){return u},offset:function(e){var t=$(e).offset(),n=$(o.window().iframe()).offset();return n?{top:n.top-$(u.document).scrollTop()+t.top,left:n.left-$(u.document).scrollLeft()+t.left}:t},pageId:function(){if(k)return k;var e=i();return e?e.id:null},page:function(){var e=o.pageId();return e?a.default.getIncludingDeleted(e):null},setCurrentPageId:function(e){k=e,l.notify(o)},isCurrentPageStatic:function(){return!k},hasCurrentPage:function(){return!!o.pageId()},isCurrentPageRestricted:function(){if(o.hasCurrentPage()){var e=o.pageConfig();if(e)return e.current_page.is_restricted}return!1},userId:function(){var e=o.pageConfig();if(e)return e.user_id},preloadedObjData:function(){var e=o.pageConfig();if(e)return e.preloaded_obj_data},pageConfig:function(){return f.read(o.findPageConfig(),"data-scrivito-private-page-config")},setPageConfig:function(e){var t=o.findPageConfig();t.length||(t=o.dom_element().find("body")),e?f.write(t,"data-scrivito-private-page-config",e):t.removeAttr("data-scrivito-private-page-config")},findPageConfig:function(){return o.dom_element().find("[data-scrivito-private-page-config]")},setCurrentPageConfig:function(e){o.setPageConfig({current_page:e})},clearCurrentPage:function(){k=null}}),o}function t(e,t){g.default.each(t,function(t){Object.defineProperty(e,t,{get:function(){return scrivito[t]},set:function(e){scrivito[t]=e}})})}var n={offset:function(e){return this.from(e).offset(e)},localJquery:function(e){return this.from($(e)).localJquery(e)},from:function(e){var t=void 0,n=$(e);return 0===n.length&&$.error("empty jquery instance given"),n[0].ownerDocument?t=$(n[0].ownerDocument):n[0].nodeType===Node.DOCUMENT_NODE?t=n:$.error("scrivito.CmsDocument.from must be called with a dom element"),scrivito.cms_element.from_dom_element(t)},createInstance:function(t){if(t.dom_element()[0].nodeType===Node.DOCUMENT_NODE)return e(t)}};scrivito.cms_element.definitions.push(n),scrivito.CmsDocument=n}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(3),a=r(o),s=n(32),c=r(s),u=n(123),l=r(u),d=n(0),f=r(d),p=n(15);!function(){function e(e){return f.default.contains(["binary","date","enum","float","html","integer","link","linklist","multienum","reference","referencelist","string","stringlist"],e)}var t={createInstance:function(t){function n(){o.workspace_id()!==scrivito.editingContext.selectedWorkspaceId&&$.error("Tried to edit cms data from wrong workspace!")}function r(e,t){if(e&&"date"===t){return new(0,scrivito.CmsDocument.from(o.dom_element()).browserWindow().Date)(e)}return e&&"binary"===t?new l.default(e.id,e.url,e.filename,o.obj().id()):e}var o=t;return f.default.extend(o,{field_name:function(){return o.dom_element().attr("data-scrivito-field-name")},attr_name:function(){return(0,p.camelCase)(o.field_name())},field_type:function(){return o.dom_element().attr("data-scrivito-field-type")},type_info:function(){if(!c.default.isSystemAttribute(o.attr_name())){var e=o.field_type();return"enum"===e||"multienum"===e?[e,{values:o.valid_values()}]:[e]}},obj:function(){return scrivito.legacy_obj.create_instance({id:o.dom_element().attr("data-scrivito-private-field-obj-id"),obj_class:o.dom_element().attr("data-scrivito-field-obj-class")})},workspace_id:function(){return o.dom_element().attr("data-scrivito-private-field-workspace-id")},widget:function(){var e=o.dom_element().attr("data-scrivito-private-field-widget-id");if(e)return scrivito.legacy_widget.create_instance(o.obj(),e,o.dom_element().attr("data-scrivito-widget-obj-class"))},save:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.content();return n(),void 0===e&&$.error("Can't save without content"),o.preprocess(e).then(function(e){var t=i({},o.attr_name(),[e,o.type_info()]);return o.container().update(t),o.container().finishSaving().catch(function(){throw new Error(scrivito.t("ajax_error.communication"))})})},preprocess:function(e){return scrivito.Promise.resolve(e)},preload_model:function(){var e=o.dom_element().attr("data-scrivito-private-field-obj-id");return a.default.fetchIncludingDeleted(e)},basic_obj:function(){var e=o.dom_element().attr("data-scrivito-private-field-obj-id");return a.default.getIncludingDeleted(e)},basic_widget:function(){var e=o.dom_element().attr("data-scrivito-private-field-widget-id"),t=o.basic_obj();if(e)return t.widget(e)},container:function(){return o.basic_widget()||o.basic_obj()},original_content:function(){if(n(),e(o.field_type())){return r(scrivito.json_parse_base64(o.dom_element().attr("data-scrivito-private-field-original-content")),o.field_type())}$.error("Fields of type "+o.field_type()+" do not support original content")},set_original_content:function(t){e(o.field_type())&&o.dom_element().attr("data-scrivito-private-field-original-content",scrivito.json_stringify_base64(t))},valid_values:function(){return o.dom_element().data("scrivito-private-field-allowed-values")},valid_classes:function(){var e=o.widget()||o.obj(),t=e.model_class(),n=t.attribute(o.attr_name());return f.default.pluck(n.validClasses(),"name")}}),o},preload:function(e){var t=scrivito.cms_element.all("[data-scrivito-field-type]",e),n=[];f.default.each(t,function(e){e.preload_model&&n.push(e.preload_model())});var r=scrivito.Promise.all(n);return r.catch(function(e){scrivito.ErrorDialog.open("An error occured while loading some of the page contents. Please reload.",[e.message])}),r}};scrivito.cms_field_element=t}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(3),o=r(i),a=n(0),s=r(a),c=n(13),u=r(c),l=n(48);!function(){function e(e){function t(e){var t=n.iframe();return scrivito.withSavingOverlay(new scrivito.Promise(function(n,r){t&&$(t).one("load",n),e.then(n),e.catch(r)}))}var n={document:function(){return scrivito.cms_element.from_dom_element($(e.document))},on:function(e,t){"document"!==e&&$.error("invalid event name: "+e),r.push(t)},notifyNewDocument:function(e){s.default.each(r,function(t){return t(e)})},browserWindow:function(){return e},reload:function(){return t(scrivito.reload(e))},redirectTo:function(n){return t(scrivito.redirect_to(n,e))},onDocumentResize:function(e){i.push(e)},notifyDocumentResize:function(){i.forEach(function(e){return e()})},clearDocumentResizeCallbacks:function(){i=[]},getDocumentHeight:function(){var e=n.document().appAdapter();return e?e.getDocumentHeight():0},clearDocumentCallbacks:function(){r=[]},useFragmentOf:function(e){if(n!==e){var t=e.browserWindow().location.hash;if(t){var r=new URI(n.iframe().src);r.fragment(t),n.iframe().src=r.href()}}},isFrame:function(){return e.parent!==e},iframe:s.default.once(function(){return s.default.find($(e.parent.document).find("iframe"),function(t){try{return $(t).contents()[0].defaultView===e}catch(e){}})}),fragment:function(){return e.location.hash},queryString:function(){return e.location.search},navigateTo:function(e){if((0,l.useRailsEngine)())return n.redirectTo(scrivito.path_for_id(e));var t=n.document().appAdapter();t?t.navigateTo(e):scrivito.logError("\n useRailsEngine is false but there is no AppAdapter,\n this means that there should be a JS application, but it is missing or broken somehow.\n ")},navigateToRoot:function(){return(0,u.default)(function(){return o.default.root()}).then(function(e){return n.navigateTo(e.id())})}},r=[],i=[];return n}function t(){a=s.default.reject(a,function(e){var t=e.browserWindow(),n=!0;if(t)try{n=!scrivito.cmsWindow.isLivingWindow(t)}catch(e){}return n})}function n(e){return t(),s.default.detect(a,function(t){return t.browserWindow()===e})}function r(e){a.push(e)}var i={from:function(t){t||$.error("no element given!");var i=void 0;if(t.jquery&&"IFRAME"===t[0].tagName){i=$(t).contents()[0].defaultView}else i=t;scrivito.cmsWindow.isLivingWindow(i)||$.error("element is a closed browser window or not a window element at all");var o=n(i);return o||(o=e(i),r(o)),o},isLivingWindow:function(e){return!!$.isWindow(e)&&(e.parent===e.self?e.self===top:!e.closed)},activeWindows:function(){return t(),a},instances:function(){return a}},a=[];scrivito.cmsWindow=i}()},function(e,t,n){"use strict";var r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){var e={createInstance:function(e){if("date"===e.dom_element().attr("data-scrivito-field-type"))return scrivito.cms_field_element.createInstance(e)},all:function(){return i.default.map($('[data-scrivito-field-type="date"]'),function(e){return scrivito.cms_element.from_dom_element($(e))})}};scrivito.cms_element.definitions.push(e),scrivito.DateFieldElement=e}()},function(e,t,n){"use strict";var r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){var e={createInstance:function(e){if("html"===e.dom_element().attr("data-scrivito-field-type")){var t=scrivito.cms_field_element.createInstance(e);return i.default.extend(t,{content:function(){var e=t.dom_element().html();return $.trim(e)}}),t}},all:function(){return i.default.map($('[data-scrivito-field-type="html"]'),function(e){return scrivito.cms_element.from_dom_element($(e))})}};scrivito.HtmlFieldElement=e,scrivito.cms_element.definitions.push(e)}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(0),o=r(i),a=n(26),s=r(a);!function(){var e={};o.default.extend(scrivito,{legacy_obj:{create_instance:function(t){var n={id:function(){return t.id},obj_class:function(){return t.obj_class},model_class:function(){return s.default.find(t.obj_class)},description_for_editor:function(){return t.description_for_editor},modification:function(){return t.modification},is_new:function(){return"new"===n.modification()},is_edited:function(){return"edited"===n.modification()},is_deleted:function(){return"deleted"===n.modification()},has_children:function(){return!!t.has_children},has_conflict:function(){return!!t.has_conflict},is_binary:function(){return!!t.is_binary},last_changed:function(){return t.last_changed},parent_path:function(){return t.parent_path},details_src:function(){return"/__scrivito/page_details/"+n.id()},reload_widget:function(e){return n.enqueue_ajax("GET","objs/"+n.id()+"/widget?widget_id="+e)},enqueue_ajax:function(){var t=arguments,r=function(){return scrivito.ajaxWithErrorDialog.apply(null,t)};if("GET"===t[0])return r();var i=$.Deferred();return(e[n.id()]||$.Deferred().resolve()).always(function(){r().then(function(){i.resolve.apply(i,arguments)},function(){i.reject.apply(i,arguments)})}),e[n.id()]=i,i}};return n},clear_write_promises:function(){e={}}}})}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(0),o=r(i),a=n(31),s=r(a);!function(){o.default.extend(scrivito,{legacy_widget:{create_instance:function(e,t,n,r){r=r||{};var i={id:function(){return t},obj:function(){return e},widget_class_name:function(){return n},model_class:function(){return s.default.find(i.widget_class_name())},modification:function(){return r.modification},placement_modification:function(){return r.placement_modification},description_for_editor:function(){return r.description_for_editor},is_modified:function(){return!!i.modification()},is_new:function(){return"new"===i.modification()},is_edited:function(){return"edited"===i.modification()},is_deleted:function(){return"deleted"===i.modification()},is_placement_modified:function(){return!!i.placement_modification()},fetch_markup:function(e,t){var n={render_mode:e,inner_tag:t};return scrivito.ajaxWithErrorDialog("GET",o("show_widget")+"?"+$.param(n),{dataType:"html"})},reload:function(){return i.obj().reload_widget(i.id()).then(function(e){r.modification=e.modification})}},o=function(e){return"render_widget/"+i.obj().id()+"/"+e+"/"+i.id()};return i}}})}()},function(e,t,n){"use strict";var r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){var e={createInstance:function(e){if(e.dom_element().attr("data-scrivito-private-obj-id")){var t=e;return i.default.extend(t,{obj:function(){return scrivito.legacy_obj.create_instance({id:t.dom_element().attr("data-scrivito-private-obj-id"),description_for_editor:t.dom_element().attr("data-scrivito-private-obj-description-for-editor")})}}),t}},all:function(){return i.default.map($("[data-scrivito-private-obj-id]"),function(e){return scrivito.cms_element.from_dom_element($(e))})}};scrivito.cms_element.definitions.push(e),scrivito.ObjElement=e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=n(59),a=r(o),s=n(0),c=r(s),u=n(15);!function(){function e(e,t){var n={hits:[],fetchedIds:c.default.clone(t||[])};return c.default.each(e.hits,function(e){c.default.contains(n.fetchedIds,e.id)||(n.hits.push(e.serialized_obj),n.fetchedIds.push(e.id))}),n}function t(e){var t=e;return c.default.isArray(e)||(t=[e]),c.default.map(t,function(e){return[o(e),n(e)]})}function n(e){return null===e?e:c.default.isDate(e)?moment.utc(e).toISOString():String(e)}function r(e){return c.default.map(e,function(e){var t=i(e,2),n=t[0],r=t[1];return"date"===n?moment(r).toDate():r})}function o(e){return c.default.isDate(e)?"date":"string"}function s(e){if(e){var t={};return c.default.each(e,function(e,n){var r=(0,u.camelCase)(n);t[r]=e}),t}}scrivito.chainable_search={create_instance:function(n,i,o){function l(e,n,r,i,o){var a={field:e,operator:n,value:t(r)};return o&&(a.negate=!0),i&&(a.boost=i),f.predicates.push(a),h}function d(e,t){var n={query:JSON.stringify(e),query_action:t};return i&&(n.continuation=i),scrivito.ajaxWithErrorDialog("GET","objs/search?"+$.param(n))}var f=n||{predicates:[]},p=o||[],h={query:function(){return f},and:function(e,t,n,r){if(c.default.isString(e))l(e,t,n,r);else{var i=e.query().predicates;f.predicates=f.predicates.concat(i)}return h},and_not:function(e,t,n){return l(e,t,n,void 0,!0),h},offset:function(e){return f.offset=e,h},order:function(e){return c.default.isString(e)?f.order=[e,"asc"]:f.order=c.default.first(c.default.pairs(e)),h},reverse_order:function(){if(f.order)return f.order[1]="asc"===f.order[1]?"desc":"asc",h;$.error("A search order has to be specified before reverse_order can be applied.")},batch_size:function(e){return f.batch_size=e,h},format:function(e){return f.format=e,h},include_deleted:function(){return f.include_deleted=!0,h},facet:function(e,t){var n=$.param({query:JSON.stringify(f),facet:JSON.stringify({attribute:e,options:t||{}})});return scrivito.ajaxWithErrorDialog("GET","objs/search?"+n)},load_batch:function(){var t=void 0;return d(f).then(function(n){var r=n.total,i=n.continuation,o=e(n,p);i?t=scrivito.chainable_search.create_instance(f,i,o.fetchedIds):(r=o.fetchedIds.length,t=void 0);var a={total:r,hits:o.hits};return $.Deferred().resolve(a,t)})},size:function(){return d(f,"size").then(function(e){return $.Deferred().resolve(e.total)})},clone:function(){var e=$.extend(!0,{},f);return scrivito.chainable_search.create_instance(e)},toBasicObjSearch:function(){var e=new a.default;return c.default.each(f.predicates,function(t){var n=t.field,i=t.operator,o=t.value,a=t.negate,c=t.boost,l=r(o),d=(0,u.camelCase)(n),f=s(c),p=(0,u.camelCase)(i);a?e.andNot(d,p,l):e.and(d,p,l,f)}),e}};return h}}}(),function(){scrivito.obj_where=function(e,t,n,r){return scrivito.chainable_search.create_instance().and(e,t,n,r)}}()},function(e,t,n){"use strict";var r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){var e=["enum","float","integer","link","linklist","multienum","reference","referencelist","stringlist"],t={createInstance:function(t){if(i.default.include(e,t.dom_element().attr("data-scrivito-field-type")))return scrivito.cms_field_element.createInstance(t)}};scrivito.cms_element.definitions.push(t),scrivito.StandardFieldElement=t}()},function(e,t,n){"use strict";var r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){var e={createInstance:function(e){if("string"===e.dom_element().attr("data-scrivito-field-type")){var t=scrivito.cms_field_element.createInstance(e);return i.default.extend(t,{content:function(){var e=t.dom_element().text();return $.trim(e)}}),t}},all:function(){return i.default.map($('[data-scrivito-field-type="string"]'),function(e){return scrivito.cms_element.from_dom_element($(e))})}};scrivito.cms_element.definitions.push(e),scrivito.StringFieldElement=e}()},function(e,t,n){"use strict";var r=n(4);!function(){function e(){return r.uiState.subState("uiWarning")}var t={notify:function(){e().set(!0)},isPresent:function(){return!!e().get()},clear:function(){e().clear()}};scrivito.UiWarning=t}()},function(e,t,n){"use strict";var r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){scrivito.widgetElement={createPlaceholder:function(e,t){var n=scrivito.Template.render("widget_element_placeholder",{tag:e,widget:{id:t.id(),objClass:t.objClass()}});return scrivito.cms_element.from_dom_element($(n))},isWidgetElement:function(e){return e.is("[data-scrivito-private-widget-id]")},createInstance:function(e){if(scrivito.widgetElement.isWidgetElement(e.dom_element())){var t=e;return i.default.extend(t,{widget:function(){var e=t.dom_element();return scrivito.legacy_widget.create_instance(t.widgetField().obj(),e.attr("data-scrivito-private-widget-id"),e.attr("data-scrivito-widget-obj-class"),{modification:e.attr("data-scrivito-private-widget-modification"),placement_modification:e.attr("data-scrivito-private-widget-placement-modification"),description_for_editor:e.attr("data-scrivito-private-widget-description-for-editor")})},widgetField:function(){return scrivito.cms_element.from_dom_element(t.dom_element().parent())},fetchMarkup:function(){var e=t.widgetField().renderMode(),n=t.widgetField().innerTag();return t.widget().fetch_markup(e,n)},fieldName:function(){return t.widgetField().field_name()},hasWidgetlist:function(){return!!t.dom_element().find("[data-scrivito-field-type=widgetlist]").length},widgetId:function(){return t.dom_element().attr("data-scrivito-private-widget-id")},basicWidget:function(){return t.widgetField().basic_obj().widget(t.widgetId())},materialize:function(){scrivito.ElementOverlay.create(t.dom_element()),t.basicWidget().finishSaving().then(function(){return t.fetchMarkup()}).then(function(e){var n=$(e);t.dom_element().replaceWith(n),scrivito.Gui.newContent(n),scrivito.ensure_fully_visible_within_window(n)})}}),t}},all:function(e){return scrivito.cms_element.all("[data-scrivito-private-widget-id]",e)}},scrivito.cms_element.definitions.push(scrivito.widgetElement)}()},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}var o=n(1167),a=i(o),s=n(523),c=r(s),u=n(524),l=r(u),d=n(0),f=i(d);!function(){var e={all:function(e){return scrivito.cms_element.all('[data-scrivito-field-type="widgetlist"]',e)},createInstance:function(e){if("widgetlist"===e.dom_element().attr("data-scrivito-field-type")){var t=scrivito.cms_field_element.createInstance(e);return f.default.extend(t,{save:function(){scrivito.warn('save() on a "widgetlist" is not supported!')},content:function(){return f.default.map(t.widgetElements(),function(e){return e.widget().id()})},widgetElements:function(){return f.default.map(t.dom_element().children(),function(e){var t=$(e);if(t.is("[data-scrivito-private-widget-id]"))return scrivito.cms_element.from_dom_element(t);scrivito.throw_error("Scrivito found a widget with invalid markup",{params:[e],description:scrivito.t("widgetlist_field_element.markup_error")})})},isEmpty:function(){return 0===t.widgetElements().length},basicField:function(){return t.container().field(t.attr_name(),"widgetlist")},renderMode:function(){return t.dom_element().attr("data-scrivito-private-field-widget-render-mode")},innerTag:function(){return t.dom_element().attr("data-scrivito-private-field-widget-inner-tag")},refresh:function(){var e=this,n=t.container().get(t.attr_name(),["widgetlist"]),r=f.default.invoke(t.widgetElements(),"widgetId"),i=n.map(function(e){return e.id()}),o=(0,a.default)(r,i);f.default.each(o,function(t){"insert"===t.operation?e._insertWidgetElement(t.item,t.before[0]):"delete"===t.operation&&e._removeWidgetElement(t.item)}),c.update(t),l.update(t)},_removeWidgetElement:function(e){t._widgetElementWithId(e).dom_element().remove()},_insertWidgetElement:function(e,n){var r=t.basic_obj().widget(e),i=scrivito.widgetElement.createPlaceholder(t.innerTag(),r);t._insertIntoDom(i.dom_element(),n),i.materialize()},_insertIntoDom:function(e,n){if(n){t._widgetElementWithId(n).dom_element().before(e)}else t.dom_element().append(e)},_widgetElementWithId:function(e){var n="[data-scrivito-private-widget-id="+e+"]",r=t.dom_element().children(n);if(0!==r.length)return scrivito.cms_element.from_dom_element(r)}}),t}}};scrivito.cms_element.definitions.push(e),scrivito.WidgetlistFieldElement=e}()},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0?r.item:void 0}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var l=n(0),d=function(e){return e&&e.__esModule?e:{default:e}}(l),f=d.default.difference},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var c=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),u=n(68),l=i(u),d=n(120),f=i(d),p=n(0),h=r(p),_=n(1),m=n(53),v=r(m);!function(){function e(e){return new scrivito.Promise(function(t){if(e.current._conflicts)throw new k(e._id,"conflict");t()})}function t(e,t){var n=e._id;return y(n,t).then(function(e){if(e&&e._modification)throw new k(n,"modified")})}function n(e,t){var n=e._id,i=v.default.selected.id;return scrivito.Promise.all([b(n,i),b(n,t)]).then(function(e){var t=c(e,2),i=t[0],o=t[1];if(i&&o&&!r(i,o))throw new k(n,"conflict")})}function r(e,t){var n=l.diff(i(e),i(t));return h.default.isEmpty(n)}function i(e){return h.default.pick(e,function(e,t){return"_"!==t[0]||h.default.contains(["_path","_permalink","_obj_class"],t)})}function u(e,t){switch(e.current._modification){case"new":return d(e,t);case"deleted":return p(e,t);default:return m(e,t)}}function d(e,t){return g(e._id,t,e.current).then(function(){return e.update({_marked_deleted:!0}),e.finishSaving()})}function p(e,t){return g(e._id,t,{_marked_deleted:!0}).then(function(){return f.restoreObj(e)})}function m(e,t){var n=e._id;return y(n,t).then(function(r){var i=l.diff(r,e.current);return g(n,t,i).then(function(){return f.revertObj(e)})})}function g(e,t,n){return scrivito.CmsRestApi.put("workspaces/"+t+"/objs/"+e,{obj:n})}function y(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"objs";return scrivito.CmsRestApi.get("workspaces/"+t+"/"+n+"/mget",{ids:[e]}).then(function(e){return c(e.results,1)[0]})}function b(e,t){return y(e,t,"base_objs")}var w={transferObjs:function(e,t){var n=this;return scrivito.Promise.all(h.default.map(e,function(e){return n.transferObj(e,t).catch(function(e){if(e instanceof k)return e;throw e})})).then(function(e){return h.default.filter(e,function(e){return e instanceof k})})},transferObj:function(r,i){return scrivito.Promise.all([e(r),t(r,i),n(r,i)]).then(function(){return u(r,i)})}},k=function(e){function t(e,n){o(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.objId=e,r.reason=n,r}return s(t,e),t}(_.ScrivitoError);scrivito.ModificationTransfer=w,scrivito.ModificationTransferError=k}()},function(e,t,n){"use strict";var r=n(1);!function(){var e="obj_clipboard";scrivito.objClipboard={save:function(t){var n=scrivito.editingContext.selectedWorkspaceId,r=t.serializeAttributes();scrivito.storage.set(e,{workspaceId:n,serializedAttributes:r})},isPresent:function(){return scrivito.storage.hasKey(e)},get serializedAttributes(){return this._clipboard.serializedAttributes},get objClass(){return this.serializedAttributes._obj_class},get objId(){return this.serializedAttributes._id},get workspaceId(){return this._clipboard.workspaceId},clear:function(){scrivito.storage.remove(e)},get _clipboard(){if(!this.isPresent())throw new r.InternalError("Obj clipboard is empty");return scrivito.storage.get(e)}}}()},function(e,t,n){"use strict";var r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){function e(){return scrivito.storage.get(t.storageKey)||[]}var t={get storageKey(){return"obj_class_selection.used_classes"},store:function(t){var n=e();n.unshift(t),n=i.default.uniq(n),n=i.default.take(n,200),scrivito.storage.set(this.storageKey,n)},recent:function(t){var n=i.default.intersection(e(),t);return i.default.take(n,5)}};scrivito.ObjCreationHistory=t}()},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);to.height()-s&&a'),t.hide(),$("body").append(t),scrivito.Gui.on("document",function(e){if(scrivito.in_editable_view()){var t=e.dom_element().find("body");t.on("dragover",function(e){return scrivito.dragDrool.onDragover(e,t)}),t.on("drop",function(e){return scrivito.dragDrool.onDrop(e)})}})},onDragstart:function(e,t){var n=new s.default(e,t);this.setState({widgetDrag:n})},onDragover:function(e,t){if(n.widgetDrag){e.originalEvent.dataTransfer.dropEffect="move",e.preventDefault&&e.preventDefault();var r={x:e.originalEvent.pageX,y:e.originalEvent.pageY};this._updateCursorDebounced(r,t)}},onDrop:function(e){var t=n.widgetDrag;if(!t)return!1;var r=this._dropZone();return r&&t.canDropInto(r)&&t.dropInto(r,n.gesture.edgeName),this._cleanup(),!1},onDragend:function(){this._cleanup()},showRowCursor:function(){var r=n.widgetDrag,i=n.gesture.target,o=n.gesture.edgeName;t.height("0px"),t.width(i.parent().outerWidth());var a=scrivito.CmsDocument.offset(i);if("top"===o){var s=i.prev();if(s.length){var c=scrivito.CmsDocument.offset(s);a.top=e(s,c,a).top}}else{var u=i.next();if(u.length){var l=scrivito.CmsDocument.offset(u);a.top=e(i,a,l).top}else a.top+=i.outerHeight()}a.left=scrivito.CmsDocument.offset(i.parent()).left,t.offset(a),this._showCursor(i,r)},get state(){return n},setState:function(e){n=u.default.extend(n,e)},reset:function(){t&&t.remove(),n={}},_updateCursorDebounced:scrivito.oncePerFrame(function(){var e;(e=scrivito.dragDrool)._updateCursor.apply(e,arguments)}),_updateCursor:function(e,t){if(n.widgetDrag){var r=(0,o.default)(e,t);if(!$(r.target).length)return void scrivito.logError("Missing target!");var i=r.edgeName;scrivito.dragDrool.setState({gesture:r}),"top"===i||"bottom"===i?scrivito.dragDrool.showRowCursor():"left"===i||"right"===i||$.error("Unknown gesture: "+r)}},_cleanup:function(){t.hide(),this.setState({widgetDrag:null})},_dropZone:function(){if(n.gesture&&n.gesture.target)return n.gesture.target.get(0).scrivitoPrivateDropzone()},_showCursor:function(e,n){n.canDropInto(this._dropZone())?t.removeClass("scrivito_dnd_forbidden"):t.addClass("scrivito_dnd_forbidden"),n.isStructureWidget()?t.addClass("scrivito_dnd_structure"):t.removeClass("scrivito_dnd_structure"),e.hasClass("scrivito_empty_widget_field")&&t.height(e.height()),t.show()}};scrivito.dragDrool=r}()},function(e,t,n){"use strict";function r(e,t){var n=u(e,t),r=h(p(a.default.map(n,c))),i=[];a.default.each(n,function(e,t){var n=r[t];n&&(i=i.concat(g(e,n)))});var o=a.default.min(i,function(t){return f(e,t.rectangle)});return{target:o.target,edgeName:o.name}}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.default=r;var o=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=["top","bottom","right","left"],c=function(e){var t=$(e),n=t.offset(),r=t.outerHeight();return{x1:n.left,y1:n.top,x2:n.left+t.outerWidth(),y2:n.top+r}},u=function e(t,n){var r=l(n),i=d(t,r);return i?$(i).is("[data-scrivito-private-dropback]")?[i]:[i].concat(e(t,i)):[]},l=function(e){var t=$(e),n=t.find("[data-scrivito-private-dropzone]");return a.default.reject(n,function(e){var n=$(e).parent().closest("[data-scrivito-private-dropzone]").get(0);return n&&$.contains(t.get(0),n)})},d=function(e,t){if(t.length){var n=void 0,r=void 0;return a.default.each(t,function(t){if(n){var o=f(e,c(t));if(o0))return t;t.push(e)}),t)},h=function(e){var t=e[e.length-1];return a.default.each(e,function(e){t=m(t,e)}),_(v(t),e)},_=function e(t,n){var r=n[0],i=n[1];if(!i)return n;var o=(t.x-r.x1)/n.length,a=(t.y-r.y1)/n.length,s=(r.x2-t.x)/n.length,c=(r.y2-t.y)/n.length,u={x1:r.x1+Math.min(20,o),y1:r.y1+Math.min(20,a),x2:r.x2-Math.min(20,s),y2:r.y2-Math.min(20,c)};return[r].concat(e(t,[m(i,u)].concat(n.slice(2))))},m=function(e,t){return{x1:Math.min(t.x2,Math.max(t.x1,e.x1)),y1:Math.min(t.y2,Math.max(t.y1,e.y1)),x2:Math.min(t.x2,Math.max(t.x1,e.x2)),y2:Math.min(t.y2,Math.max(t.y1,e.y2))}},v=function(e){return{x:(e.x1+e.x2)/2,y:(e.y1+e.y2)/2}},g=function(e,t){var n=y(t),r=e.scrivitoPrivateDropzone().edges();a.default.each(a.default.difference(s,r),function(e){delete n[e]});var i=$(e);return a.default.map(n,function(e,t){return{rectangle:e,target:i,name:t}})},y=function(e){return{left:{x1:e.x1,y1:e.y1,x2:e.x1,y2:e.y2},right:{x1:e.x2,y1:e.y1,x2:e.x2,y2:e.y2},top:{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y1},bottom:{x1:e.x1,y1:e.y2,x2:e.x2,y2:e.y2}}},b=function(e){return(e.x2-e.x1)*(e.y2-e.y1)}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n base");n.length||(n=$(""),t.find("head").prepend(n)),n.attr("target","_top")}),scrivito.on("content",function(t){var n=$(t);i.default.each(n.find("a").not('[data-scrivito-display-mode="editing"] [data-scrivito-field-type="html"] a'),function(t){var n=$(t),r=e(t,n.attr("target"));n.attr("target",r)}),i.default.each(n.find("form").not('[data-scrivito-display-mode="editing"] [data-scrivito-field-type="html"] form'),function(t){var n=$(t),r=document.createElement("a");r.href=t.action;var i=e(r,n.attr("target"));n.attr("target",i)})})}}})}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(3),a=r(o),s=n(24),c=r(s),u=n(0),l=r(u),d=n(26),f=r(d),p=n(15),h=n(30),_=r(h);!function(){function e(e,i,a){return new scrivito.Promise(function(s){switch(e){case"binary":return s(t(i,a));case"link":return s(n(a));case"linklist":return s(r(a));case"reference":return s(o(a))}})}function t(e,t){var n=e instanceof a.default?e:e.obj();return _.default.upload(t).into(n)}function n(e){return o(e).then(function(e){return new c.default({obj:e})})}function r(e){return o(e).then(function(e){return[new c.default({obj:e})]})}function o(e){var t=scrivito.default_obj_class_for_content_type(e.type);return f.default.get(t).createObjWithDefaults({blob:_.default.upload(e)})}scrivito.fileDrop={init:function(){var e=this;scrivito.on("content",function(t){scrivito.in_editable_view()&&l.default.each($(t).find("\n [data-scrivito-field-type=binary],\n img[data-scrivito-field-type=link],\n img[data-scrivito-field-type=linklist],\n img[data-scrivito-field-type=reference]\n "),function(t){var n=$(t);n.on("dragenter",function(){return e.onDragenter(n),!1}),n.on("dragleave",function(){return e.onDragleave(n),!1}),n.on("drop",function(t){return e.onDrop(n,t.originalEvent.dataTransfer),!1})})})},onDragenter:function(e){e.addClass("scrivito_file_dragover");var t=e.data("scrivito-dragenter-counter")||0;t+=1,e.data("scrivito-dragenter-counter",t)},onDragleave:function(e){var t=e.data("scrivito-dragenter-counter");t-=1,e.data("scrivito-dragenter-counter",t),0===t&&e.removeClass("scrivito_file_dragover")},onDrop:function(e,t){if(t.files&&1===t.files.length){var n=scrivito.cms_element.from_dom_element(e);e.addClass("scrivito_element_overlay");var r=(0,p.camelCase)(n.field_name());this.save(n.field_type(),r,n.container(),t.files[0]).then(function(){return e.scrivito("reload")})}e.removeClass("scrivito_file_dragover")},save:function(t,n,r,o){return e(t,r,o).then(function(e){return r.update(i({},n,[e,[t]])),r.finishSaving()})}}}()},function(e,t,n){"use strict";var r=n(10),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){var e={open:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=$(e),r=void 0;n.is("[name=scrivito_application]")||(r=n.closest("#scrivito_editing > div"));var o=$(scrivito.Template.render("iframe_dialog",{color:t.color,confirm:t.confirm||scrivito.t("confirm"),cancel:t.cancel||scrivito.t("cancel"),disable_confirm:!1===t.confirm,disable_cancel:!1===t.cancel}));$("#scrivito_editing").append(o);var a=o.find(".scrivito_modal_body"),s=new i.default,c=function(){return scrivito.dialog.close_without_transition(o),s.resolve(),!1},u=function(){return scrivito.dialog.close_without_transition(o),s.reject(),!1};o.find(".scrivito_confirm").on("click",c),o.find(".scrivito_cancel").on("click",u),scrivito.withDialogBehaviour(o,s.promise,{enter:c,escape:u}),scrivito.dialog.open_and_adjust_without_transition(o),scrivito.restore_styles_afterwards(s.promise,n),n.css("z-index",this.zIndex(o)+1),r?(scrivito.restore_styles_afterwards(s.promise,r),r.addClass("scrivito_dialog_mode")):n.attr("class","");var l=function(){s.promise.isPending()&&(n.width(a.width()),n.height(a.height()),n.offset(a.offset()))};return $(window).on("resize",l),l(),{when_open:scrivito.Promise.resolve(a),when_closed:s.promise}},zIndex:function(e){return parseInt(e.css("z-index"),10)}};scrivito.IframeDialog=e}()},function(e,t,n){"use strict";var r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){var e=[];i.default.extend(scrivito,{inplace_marker:{init:function(){scrivito.on("content",function(e){scrivito.inplace_marker.refresh(scrivito.CmsDocument.from($(e)).dom_element())})},define:function(t){e.push(t)},refresh:function(t){scrivito.editingContext.isViewMode()||(t.find(".scrivito_editing_marker").remove(),i.default.each(e,function(e){e(a,t)}),scrivito.context_menu.update_position())},are_overlapping:function(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return n.left<=r.right&&r.left<=n.right&&n.top<=r.bottom&&r.top<=n.bottom},reset_callbacks:function(){e=[]}}});var t=function(e){var t=$($(e).closest("body")).find(".scrivito_editing_marker").not(e),n=i.default.filter(t,function(t){return scrivito.inplace_marker.are_overlapping(e,t)});n.length&&scrivito.warn.apply(null,[scrivito.t("inplace_marker.overlapping"),e].concat(n))},n=function(e){e.addClass("scrivito_active scrivito_entered");var t=setTimeout(function(){e.removeClass("scrivito_entered")},2e3);e.data("scrivito-entered-timer",t)},r=function(e){e.find(".scrivito_active").removeClass("scrivito_active"),e.find(".scrivito_entered").removeClass("scrivito_entered").each(function(){clearTimeout($(this).data("scrivito-entered-timer"))})},o=function(e){if(!e.data("scrivito-highlightable")){e.data("scrivito-highlightable",!0);var t=scrivito.CmsDocument.from(e).dom_element();e.on("mouseenter",function(i){$(i.target).closest(":data(scrivito-highlightable)").is(e)&&(r(t),n(e))}),e.on("mouseleave",function(e){r(t);var i=$(e.relatedTarget).closest(":data(scrivito-highlightable)");i.length&&n(i)})}},a={activate_for:function(e,n){var r=$(scrivito.Template.render("inplace_marker",n||{}));r.on("click",function(){return scrivito.isDevelopmentMode&&t(r.get(0)),scrivito.context_menu.toggle(r,e.menu()),!1});var i=e.dom_element();r.prependTo(i),o(i)}}}()},function(e,t,n){"use strict";var r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){i.default.extend(scrivito,{menu_item:{create_instance:function(n){return n.execute?e(n):n.render?n:t(n)}}});var e=function(e){var t=e.icon(),n="menu_item/icon";0===t.indexOf("&")?n+="_hex":/^scrivito_icon_/.test(t)||(n+="_sci");var r=function(){return scrivito.Template.render("menu_item",{domId:e.domId(),title:e.title(),icon:scrivito.Template.render(n,{icon:t}),tooltip:e.tooltip(),isDisabled:e.isDisabled(),isEnabled:e.isEnabled(),reasonForBeingDisabled:e.reasonForBeingDisabled()})};return{render:function(){if(e.isPresent()){var t;if(e.needsUpdate()){var n=i.default.uniqueId(e.domId());t=scrivito.Template.render("menu_item/spinner",{id:n}),e.update().then(function(){$("#"+n).replaceWith(r())})}else t=r();return t}}}},t=function(e){return{render:function(){return scrivito.Template.render("menu_item/separator",e)}}}}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(0),o=r(i),a=n(376),s=r(a);!function(){var e={init:function(){scrivito.on("content",function(e){scrivito.editingContext.isEditingMode()&&o.default.each(scrivito.widgetElement.all($(e)),function(e){scrivito.optionMarker.create(e,"top"),scrivito.optionMarker.create(e,"bottom")})})},create:function(e,t){var n=$(scrivito.Template.render("option_marker",{position:t,always_visible:scrivito.optionMarker.always_visible}));n.appendTo(e.dom_element()),n.on("click",function(){var n=e.basicWidget();return(0,s.default)(n,t),!1})}};scrivito.optionMarker=e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(1203),o=r(i),a=n(1204),s=r(a),c=n(1205),u=r(c);!function(){scrivito.resourceDialog={init:function(e){if(e.obj){var t=scrivito.legacy_obj.create_instance(e.obj);scrivito.Gui.on("open",function(){scrivito.resourceDialog.open(t,e.return_to).then(function(){return scrivito.withSavingOverlay(scrivito.redirect_to(e.return_to))})})}},open:function(e,t){var n=scrivito.t("resource_dialog.title",e.description_for_editor());return scrivito.details_dialog.open(e.details_src(),n,e,[scrivito.revert_resource_command(e),(0,u.default)(e,"resource_dialog.commands.restore_obj"),(0,s.default)(e,"resource_dialog.commands.mark_resolved_obj"),(0,o.default)(e,"resource",t||scrivito.path_for_id(scrivito.applicationDocument().pageId()))])}}}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page",n=arguments[2];return new d.default({id:"scrivito.sdk.delete_obj",title:scrivito.t("commands.delete_obj.title",scrivito.t("models."+t+".name")),icon:"",disabled:function(){return scrivito.editingContext.isMutable()?e.has_children()?scrivito.t("commands.delete_obj.has_children"):void 0:scrivito.t("commands.delete_obj.published_workspace")},execute:function(){scrivito.ConfirmDeleteDialog.open(e.id()).then(function(t){t&&scrivito.withSavingOverlay(o(e,n).then(a))})}})}function o(e,t){return u.default.fetch(e.id()).then(function(e){return s(e,t).then(function(t){return e.destroy(),e.finishSaving().then(function(){return t})})})}function a(e){var t=URI(e);return t.path(scrivito.root_path()+t.path()),scrivito.redirect_to(t.normalizePath().toString())}function s(e,t){return t?scrivito.Promise.resolve(t):e.fetchParent().then(function(e){return scrivito.path_for_id(e.id())}).catch(function(){return"/"})}Object.defineProperty(t,"__esModule",{value:!0});var c=n(3),u=r(c),l=n(11),d=r(l);t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"commands.mark_resolved_obj";return new l.default({id:"scrivito.sdk.mark_resolved_obj",title:scrivito.t(t+".title"),icon:"",present:function(){return e.has_conflict()},execute:function(){o(t).then(function(){return scrivito.withSavingOverlay(a(e.id()).then(scrivito.applicationWindow.reload))})}})}function o(e){return scrivito.confirmation_dialog({title:scrivito.t("commands.mark_resolved_obj.dialog.title"),description:scrivito.t(e+".dialog.description"),icon:"",color:"red",confirm_button_text:scrivito.t("commands.mark_resolved_obj.dialog.confirm"),confirm_button_color:"red"})}function a(e){return c.default.fetch(e).then(function(e){return e.markResolvedAsync()})}Object.defineProperty(t,"__esModule",{value:!0});var s=n(3),c=r(s),u=n(11),l=r(u);t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"commands.restore_obj";return new l.default({id:"scrivito.sdk.restore_obj",title:scrivito.t(t+".title"),icon:"",present:function(){return e&&e.is_deleted()},execute:function(){var t=a.default.getIncludingDeleted(e.id()),n=c.restoreObj(t.objData);scrivito.withSavingOverlay(n.then(function(){return scrivito.reload()}))}})}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=r(o),s=n(120),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(s),u=n(11),l=r(u);t.default=i},function(e,t,n){"use strict";var r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){var e=void 0;i.default.extend(scrivito,{withSavingOverlay:function(e){return scrivito.savingOverlay.show(),i.default.isFunction(e.always)?e.always(function(){return scrivito.savingOverlay.hide()}):(e.then(scrivito.savingOverlay.hide).catch(scrivito.savingOverlay.hide),e)},savingOverlay:{show:function(){e||(e=$(scrivito.Template.render("saving_overlay")),$("#scrivito_editing").append(e)),scrivito.Transition.wrap(e,function(){e&&e.addClass("scrivito_show")})},hide:function(){e&&(e.remove(),e=null)},removeAll:function(){$(".scrivito_saving_overlay").remove(),e=null},isPresent:function(){return!!e}}})}()},function(e,t,n){"use strict";var r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){i.default.extend(scrivito,{widget_marker:{init:function(){scrivito.inplace_marker.define(function(t,n){if(scrivito.editingContext.isMutable()){var r=scrivito.WidgetlistFieldElement.all(n);i.default.each(r,function(n){i.default.each(n.widgetElements(),function(n){var r=n.widget().is_modified()||n.widget().is_placement_modified();(scrivito.editingContext.isEditingMode()||scrivito.editingContext.isDiffMode()&&r)&&(n.hasWidgetlist()&&n.dom_element().attr("data-scrivito-private-structure-widget",!0),t.activate_for(n,e(n)))})})}})}}});var e=function(e){var t={};if(e.hasWidgetlist()&&(t.icon="scrivito_icon_structure_widget"),scrivito.editingContext.isDiffMode()){var n,r=e.widget().modification(),i=e.widget().placement_modification();switch(r){case"new":n="widget_is_new",t.icon="scrivito_icon_inv_plus";break;case"deleted":n="widget_is_deleted",t.icon="scrivito_icon_trash";break;case"edited":switch(t.icon="scrivito_icon_edited",i){case"new":n="widget_is_edited_and_dragged_here",t.css_classes="scrivito_widget_moved_icon";break;case"deleted":n="widget_is_edited_and_dragged_away",t.css_classes="scrivito_widget_moved_icon";break;default:n="widget_is_edited"}break;default:switch(t.icon="scrivito_icon_moved",i){case"new":n="widget_is_dragged_here";break;case"deleted":n="widget_is_dragged_away"}}n&&(t.tooltip=scrivito.t("widget_marker."+n))}return t.description=e.widget().description_for_editor(),t}}()},function(e,t,n){"use strict";var r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){function e(e){var n=function(){if(!e.is("[data-scrivito-private-reloading]")){e.attr("data-scrivito-private-reloading",!0);var n=scrivito.cms_element.from_dom_element(e);t.reload(n)}};e.on("reload.scrivito",function(){return n(),!1})}var t={init:function(){scrivito.on("content",function(t){if(scrivito.in_editable_view()){var n=$(t);n.attr("data-scrivito-private-widget-id")&&e(n),i.default.each(n.find("[data-scrivito-private-widget-id]"),function(t){e($(t))})}})},reload:function(e){scrivito.withElementOverlay(e.dom_element(),e.fetchMarkup().then(function(t){var n=$(t);e.dom_element().replaceWith(n),scrivito.Gui.newContent(n)}))}};scrivito.WidgetReloading=t}()},function(e,t,n){"use strict";var r=n(14),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){var e="widget_clipboard";scrivito.widgetClipboard={saveWidget:function(t){scrivito.storage.set(e,{widgetAttributes:t.serializeAttributes(),objClass:t.objClass()})},isPresent:function(){return!!scrivito.storage.hasKey(e)},widget:function(){var t=scrivito.storage.get(e);if(t&&t.widgetAttributes)return i.default.newWithSerializedAttributes(t.widgetAttributes)},objClass:function(){var t=scrivito.storage.get(e);return t&&t.objClass},clear:function(){scrivito.storage.remove(e)}}}()},function(e,t,n){"use strict";!function(){function e(e){return scrivito.confirmation_dialog({title:scrivito.t("workflows.delete_workspace.dialog.title",e.titleForEditor),description:scrivito.t("workflows.delete_workspace.dialog.description"),icon:"",color:"red",confirm_button_text:scrivito.t("workflows.delete_workspace.dialog.confirm"),confirm_button_color:"red"})}function t(e){scrivito.withSavingOverlay(e.destroy().then(function(){if(e.id===scrivito.editingContext.selectedWorkspaceId)return scrivito.changeEditingContext({workspaceId:"published"})}))}scrivito.deleteWorkspace=function(n){e(n).then(function(){return t(n)})}}()},function(e,t,n){"use strict";var r=n(379),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){function e(e){return scrivito.confirmation_dialog({title:scrivito.t("workflows.publish_workspace.dialog.title",e.titleForEditor),description:scrivito.t("workflows.publish_workspace.dialog.description"),icon:"",color:"green",confirm_button_text:scrivito.t("workflows.publish_workspace.dialog.confirm"),confirm_button_color:"green"})}function t(e){return scrivito.withSavingOverlay(e.checkAndPublish().then(n))}function n(){return scrivito.changeEditingContext({workspaceId:"published"})}function r(){scrivito.confirmation_dialog({title:scrivito.t("workflows.publish_workspace.error_dialog.title"),description:scrivito.t("workflows.publish_workspace.error_dialog.description"),icon:"",confirm_button_text:scrivito.t("workflows.publish_workspace.error_dialog.confirm")}).then(function(){return i.default.open()})}function o(){scrivito.AlertDialog.open(scrivito.t("workflows.publish_workspace.alert.invalid_certificates"))}scrivito.publishWorkspace=function(n,i){e(n).then(function(){return t(i).catch(function(e){switch(e.type){case"check_failed":return r();case"outdated_certificates":return o()}})})}}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return o().then(a).then(function(t){return t?s(e,t).then(function(t){return c(t,e)}):{isCancelled:!0}})}function o(){return scrivito.withSavingOverlay((0,m.default)(function(){return g.default.selected.otherWritableWorkspaces}))}function a(e){return(0,l.default)(e,"transfer_changes")}function s(e,t){var n=h.default.pluck(e,"objData");return scrivito.withSavingOverlay(scrivito.ModificationTransfer.transferObjs(n,t))}function c(e,t){var n=h.default.map(e,function(e){var n=e.reason,r=e.objId;return{reason:n,obj:h.default.find(t,function(e){return e.id()===r})}});return n.length&&f.open(n),{errors:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var u=n(616),l=r(u),d=n(1213),f=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(d),p=n(0),h=r(p),_=n(13),m=r(_),v=n(53),g=r(v)},function(e,t,n){"use strict";function r(e){var t=o.default.pluck(e,"obj");scrivito.toLegacyObjs(t).then(function(t){var n=o.default.map(e,function(e){var n=e.reason,r=e.obj;return{reason:n,obj:o.default.find(t,function(e){return e.id()===r.id()})}});scrivito.AlertDialog.open(scrivito.t("transfer_errors_dialog.title"),{body:scrivito.Template.render("transfer_errors_dialog",{modified:o.default.pluck(o.default.where(n,{reason:"modified"}),"obj"),conflicting:o.default.pluck(o.default.where(n,{reason:"conflict"}),"obj")})})})}Object.defineProperty(t,"__esModule",{value:!0}),t.open=r;var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i)},function(e,t,n){"use strict";var r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){var e={},t=0,n=0,r=!1,o={on:function(n,r){return void 0===e[n]&&(e[n]={}),t+=1,e[n][t]=r,t},off:function(t){i.default.each(e,function(e){delete e[t]})},isWriting:function(){return n>0},hasErrors:function(){return r},startWrite:function(){scrivito.WriteMonitor.isWriting()||i.default.invoke(e.start_write,"call"),n+=1,r=!1},endWrite:function(){n-=1,scrivito.WriteMonitor.isWriting()||scrivito.run_new_event(function(){scrivito.WriteMonitor.isWriting()||i.default.each(e.end_write,function(e){return e(r)})})},endWriteWhenDone:function(e){e.catch(function(e){throw r=!0,e}).finally(scrivito.WriteMonitor.endWrite)},trackChanges:function(e,t){var n=!1,r=!1,i=scrivito.WriteMonitor.on("start_write",function(){n=!0,r=!1}),o=scrivito.WriteMonitor.on("end_write",function(){r=!0});return e().then(function(){scrivito.WriteMonitor.off(i),scrivito.WriteMonitor.off(o),n&&(r?t():scrivito.withSavingOverlay(new scrivito.Promise(function(e){var n=scrivito.WriteMonitor.on("end_write",function(){scrivito.WriteMonitor.off(n),e(),t()})})))})},simulateChanges:function(){scrivito.WriteMonitor.startWrite(),scrivito.WriteMonitor.endWrite()},reset:function(){e={},t=0,n=0,r=!1}};scrivito.WriteMonitor=o}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=Object.assign||function(e){for(var t=1;t1?n-1:0),i=1;i').appendTo($("#scrivito_editing")),a=new s.default,scrivito.withDialogBehaviour(i,a.promise,{enter:e,escape:t}),scrivito.renderReactComponent(React.createElement(scrivito.ConfirmDeleteDialog,{objIds:r}),i),a.promise},close:function(){n()}},propTypes:{objIds:React.PropTypes.arrayOf(React.PropTypes.string).isRequired},componentDidMount:function(){this._updateHeight()},componentDidUpdate:function(){this._updateHeight()},render:function(){var e=o.default.get(this.props.objIds),t=this._subjectName(e),n=this._title(e,t),r=function(){return(0,f.arrayFromIterable)(o.default.where("*","linksTo",e))};return React.createElement("div",{className:"scrivito_modal_prompt scrivito_center_dialog scrivito_red scrivito_show"},React.createElement("div",{className:"scrivito_modal_header"},React.createElement("i",{className:"scrivito_icon"},""),React.createElement("h3",{className:"scrivito_title"},n)),React.createElement("div",{className:"scrivito_modal_body"},React.createElement(c,{objs:e,backlinks:r,subjectName:t,onUpdate:this._centerDialog})),React.createElement("div",{className:"scrivito_modal_footer"},React.createElement(m,null),React.createElement(_,{backlinks:r})))},_updateHeight:function(){var e=this._findDOMNode().find(".scrivito_modal_body");u.updateAutoHeightFor(e)},_centerDialog:function(){scrivito.center(this._findDOMNode())},_findDOMNode:function(){return $(ReactDOM.findDOMNode(this))},_subjectName:function(e){if(e.length>1)return scrivito.t("models.obj.name.plural");var t=e[0].isBinary()?"resource":"page";return scrivito.t("models."+t+".name")},_title:function(e,t){return 1===e.length?r("title",t):e.length>1?r("title.many_subjects",t):void 0}});var c=scrivito.legacyCreateConnectedComponent({propTypes:{objs:React.PropTypes.arrayOf(React.PropTypes.instanceOf(o.default)).isRequired,backlinks:React.PropTypes.func.isRequired,subjectName:React.PropTypes.string.isRequired,onUpdate:React.PropTypes.func.isRequired},componentDidMount:function(){this.props.onUpdate()},componentDidUpdate:function(){this.props.onUpdate()},render:function(){var e=this;return React.createElement("div",null,React.createElement("p",null,this._modificationNotice()),React.createElement("p",null,this._backlinksNotice()),React.createElement("ul",null,this.props.backlinks().map(function(t){return React.createElement(p,{key:t.id(),backlink:t,onClick:e._openBacklink})})))},_scrivitoRenderWhileLoading:function(){return React.createElement(scrivito.Loader,null)},_scrivitoRenderOnError:function(){return React.createElement(scrivito.LoaderError,null)},_modificationNotice:function(){if(!(this.props.objs.length>1)){var e=this.props.objs[0];return e.isNew()?r("is_new",this.props.subjectName,this.props.subjectName):e.isEdited()?r("is_edited",this.props.subjectName):r("not_modified",this.props.subjectName)}},_backlinksNotice:function(){var e=this.props.backlinks().length,t=this.props.objs.length;return 1===t&&1===e?r("one_obj_to_delete.one_backlink",this.props.subjectName):1===t&&e>1?r("one_obj_to_delete.many_backlinks",e,this.props.subjectName):t>1&&1===e?r("many_objs_to_delete.one_backlink",this.props.subjectName):t>1&&e>1?r("many_objs_to_delete.many_backlinks",e,this.props.subjectName):void 0},_openBacklink:function(e){var t=this;i.hide(),(0,h.default)({selectionMode:"single",standAlone:!0,selection:[e.id()],disableDelete:!0}).then(function(){i.show(),t.forceUpdate()})}}),p=scrivito.legacyCreateConnectedComponent({propTypes:{backlink:React.PropTypes.instanceOf(o.default).isRequired,onClick:React.PropTypes.func.isRequired},render:function(){return React.createElement("li",null,React.createElement("a",{href:"#",onClick:this._onClick},(0,d.titleForObj)(this.props.backlink)))},_scrivitoRenderWhileLoading:function(){return React.createElement(scrivito.Loader,null)},_scrivitoRenderOnError:function(){return React.createElement(scrivito.LoaderError,null)},_onClick:function(e){this.props.onClick(this.props.backlink),e.stopPropagation()}}),_=scrivito.legacyCreateConnectedComponent({propTypes:{backlinks:React.PropTypes.func.isRequired},render:function(){var e=r(this.props.backlinks().length?"confirm.has_backlinks":"confirm");return React.createElement("a",{className:"scrivito_button scrivito_red scrivito_confirm",onClick:this._onClick},e)},_scrivitoRenderWhileLoading:function(){return null},_onClick:function(t){t.preventDefault(),e()}}),m=scrivito.legacyCreateConnectedComponent({render:function(){return React.createElement("a",{className:"scrivito_button scrivito_cancel",onClick:this._onClick},r("cancel"))},_onClick:function(e){e.preventDefault(),t()}})}()},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{};t=$("#context_menu"),n=scrivito.renderReactComponent(React.createElement(a,r({$domElement:e,commands:i},o)),t)},close:function(){n&&n.close()}},getDefaultProps:function(){return{customClassName:""}},getInitialState:function(){return{orientationClassName:"",relativeOffset:this._computeRelativeOffset()}},componentDidMount:function(){i=!0},componentWillUnmount:function(){i=!1},render:function(){var e=!1,t=scrivito.CmsDocument.offset(this.props.$domElement);return this.props.mousePosition&&(e=!0,t.left+=this.state.relativeOffset.x*this.props.$domElement.width(),t.top+=this.state.relativeOffset.y*this.props.$domElement.height()),React.createElement(s,r({},t,{hasPreciseOffset:e,close:this.close,commands:this.props.commands,className:this._contextMenuClassName(),componentDidUpdate:this._updateOrientationClassName}))},close:function(){ReactDOM.unmountComponentAtNode(t.get(0)),n=null,this.props.whenClosed&&this.props.whenClosed()},_contextMenuClassName:function(){var e=this.props.customClassName;return this.state.orientationClassName&&(e+=" "+this.state.orientationClassName),e},_updateOrientationClassName:function(e){var t="";this._shouldAlignLeft(e)&&(t+=" scrivito_left"),this._shouldAlignTop(e)&&(t+=" scrivito_top"),t!==this.state.orientationClassName&&this.setState({orientationClassName:t})},_shouldAlignLeft:function(e){var t=$(".iframe_wrapper"),n=this.props.$domElement.offset().left-t.scrollLeft();return t.width()-ni},_computeRelativeOffset:function(){var e={x:0,y:0};if(!this.props.mousePosition)return e;var t=this.props.$domElement.offset(),n=this.props.mousePosition.x-t.left,r=this.props.mousePosition.y-t.top,i=this.props.$domElement.width();i&&(e.x=n/i);var o=this.props.$domElement.height();return o&&(e.y=r/o),e}}),s=scrivito.legacyCreateConnectedComponent({displayName:"scrivito.ContextMenu",propTypes:{top:React.PropTypes.number.isRequired,left:React.PropTypes.number.isRequired,close:React.PropTypes.func.isRequired,className:React.PropTypes.string,hasPreciseOffset:React.PropTypes.bool.isRequired,componentDidUpdate:React.PropTypes.func.isRequired},componentDidMount:function(){this._menuBox&&this.props.componentDidUpdate(this._menuBox)},componentDidUpdate:function(){this._menuBox&&this.props.componentDidUpdate(this._menuBox)},render:function(){var e=this,t="scrivito_menu_box jsx visible",n="scrivito_editing_marker_menu jsx",r=scrivito.pattern_sort(this.props.commands,scrivito.menu_order);return this.props.className&&(t+=" "+this.props.className),this.props.hasPreciseOffset&&(n+=" scrivito_precise_offset"),React.createElement("div",{className:n,style:{top:this.props.top,left:this.props.left}},React.createElement("div",{className:"scrivito_menu_box_overlay",onClick:this.props.close}),React.createElement("ul",{className:t,ref:function(t){return e._menuBox=t}},r.map(function(t){return React.createElement(c,{key:t.id(),command:t,beforeExecute:e.props.close})})))}}),c=scrivito.legacyCreateConnectedComponent({displayName:"scrivito.MenuItem",propTypes:{command:React.PropTypes.object.isRequired},render:function(){return this.props.command.execute?this.props.command.isPresent()?React.createElement("li",{className:this._className(),title:this._title(),onClick:this._onClick},React.createElement("span",null,React.createElement(e,{icon:this.props.command.icon()}),this.props.command.title())):null:React.createElement("li",{className:"scrivito_menu_separator"},React.createElement("span",null,this.props.command.title()))},_className:function(){var e="scrivito_menu_item "+this.props.command.domId();return this.props.command.isDisabled()&&(e+=" scrivito_disabled"),e},_title:function(){return this.props.command.isEnabled()?this.props.command.tooltip():this.props.command.reasonForBeingDisabled()},_onClick:function(e){e.preventDefault(),e.stopPropagation(),this.props.command.isEnabled()&&(this.props.beforeExecute(),this.props.command.execute())}});e.displayName="scrivito.MenuItem.Icon",e.propTypes={icon:React.PropTypes.string.isRequired},scrivito.ContextMenu=a}()},function(e,t,n){"use strict";var r=n(8),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){function e(e){return React.createElement(ReactTransitionGroup,{},React.Children.map(e.children,function(t){return React.createElement(a,e,t)}))}function t(e,t){o?setTimeout(e,t):e()}function n(){o=!0}function r(){o=!1}var o=!0;e.propTypes={children:React.PropTypes.element};var a=(0,i.default)({propTypes:{children:React.PropTypes.element,transitionName:React.PropTypes.string.isRequired,transitionEnterTimeout:React.PropTypes.number.isRequired,transitionLeaveTimeout:React.PropTypes.number.isRequired,onEnter:React.PropTypes.func.isRequired,onLeave:React.PropTypes.func.isRequired},componentWillEnter:function(e){var t=this.props.transitionName,n=t+"-enter",r=this.props,i=r.transitionEnterTimeout,o=r.onEnter;this._transition(n,i,e,o)},componentWillLeave:function(e){var t=this.props.transitionName,n=t+"-leave",r=this.props,i=r.transitionLeaveTimeout,o=r.onLeave;this._transition(n,i,e,o)},render:function(){return this.props.children},_transition:function(e,n,r,i){var o=$(ReactDOM.findDOMNode(this)),a=e+"-active";t(function(){o.removeClass(e),o.removeClass(a),i(),r()},n),t(function(){return o.addClass(a)},17),o.addClass(e)}});scrivito.CSSTransitionGroup=e,scrivito.CSSTransitionGroup.enableTimeouts=n,scrivito.CSSTransitionGroup.disableTimeouts=r}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(10),o=r(i),a=n(0),s=r(a),c=n(8),u=r(c);!function(){function e(e){var t=e.details;return React.createElement("div",{className:"scrivito_modal_body"},React.createElement("h4",null,scrivito.t("error_dialog.error_details"),":"),t.map(function(e,t){return React.createElement("div",{key:t},e)}))}function t(){r(),a.resolve(!0)}function n(){r(),a.resolve(!1)}function r(){i&&i.length&&ReactDOM.unmountComponentAtNode(i.get(0))}var i=void 0,a=void 0,c=(0,u.default)({displayName:"scrivito.ErrorDialog",statics:{open:function(e,r){return i=$("#error_dialog"),a=new o.default,scrivito.withDialogBehaviour(i,a.promise,{enter:t,escape:n}),scrivito.renderReactComponent(React.createElement(scrivito.ErrorDialog,{message:e,details:r}),i),a.promise}},propTypes:{message:React.PropTypes.string.isRequired,details:React.PropTypes.arrayOf(React.PropTypes.string)},getInitialState:function(){return{showDetails:!1}},render:function(){var t=void 0,n=void 0;return this.props.details&&this.state.showDetails&&(t=React.createElement(e,{details:this.props.details})),s.default.isEmpty(this.props.details)||(n=React.createElement("a",{className:"scrivito_toggle_details",href:"#",onClick:this._onToggleClick},scrivito.t("error_dialog.toggle_details"))),React.createElement("div",{className:"error_dialog scrivito_modal_prompt scrivito_center_dialog scrivito_red scrivito_show"},React.createElement("div",{className:"scrivito_modal_header"},React.createElement("i",{className:"scrivito_icon scrivito_icon_information"}),React.createElement("h3",{className:"scrivito_title"},this.props.message,n)),t,React.createElement("div",{className:"scrivito_modal_footer"},React.createElement("a",{href:"#",onClick:this._onCloseClick,className:"scrivito_button scrivito_close"},scrivito.t("close"))))},_onToggleClick:function(e){e.preventDefault(),e.stopPropagation(),this.setState({showDetails:!this.state.showDetails})},_onCloseClick:function(e){e.preventDefault(),e.stopPropagation(),n()}});e.displayName="scrivito.ErrorDialog.DialogBody",e.propTypes={details:React.PropTypes.arrayOf(React.PropTypes.string)},scrivito.ErrorDialog=c}()},function(e,t,n){"use strict";var r=n(8),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){var e=(0,i.default)({displayName:"scrivito.InfiniteScrollbars",propTypes:{isLoading:React.PropTypes.bool.isRequired,hasMore:React.PropTypes.bool.isRequired,loadMore:React.PropTypes.func.isRequired,children:React.PropTypes.element.isRequired,scrollbars:React.PropTypes.any},getDefaultProps:function(){return{scrollbars:ReactCustomScrollbars.Scrollbars}},componentDidMount:function(){this._fillContainer()},componentDidUpdate:function(){this._fillContainer()},render:function(){var e=this,t=React.Children.toArray(this.props.children);return this.props.isLoading&&t.push(React.createElement(scrivito.Loader,{key:"loader"})),React.createElement(this.props.scrollbars,{className:"infinite_scrollbars",ref:function(t){return e.container=t},onScrollFrame:this._onScrollFrame,children:t})},_fillContainer:function(){!this.props.hasMore||this.props.isLoading||this._isContainerFull()||this.props.loadMore()},_onScrollFrame:function(){this.props.hasMore&&!this.props.isLoading&&this._isViewportAtBottom()&&this.props.loadMore()},_isContainerFull:function(){var e=this.container.getValues();return e.scrollHeight>e.clientHeight},_isViewportAtBottom:function(){var e=this.container.getValues();return e.scrollTop>=e.scrollHeight-2*e.clientHeight}});scrivito.InfiniteScrollbars=e}()},function(e,t,n){"use strict";var r=n(1222),i=function(e){return e&&e.__esModule?e:{default:e}}(r);!function(){var e=scrivito.legacyCreateConnectedComponent({displayName:"scrivito.Menubar",statics:{init:function(){scrivito.Gui.on("open",function(){scrivito.renderReactComponent(React.createElement(e,null),$("#menubar"))})}},render:function(){var e=this;return React.createElement("div",{id:"scrivito_menubar"},React.createElement(i.default,{showMenubar:this._unhide,toggleWorkspacesPanel:this._toggleWorkspacesPanel}),React.createElement(scrivito.Sidebar,{ref:function(t){return e.sidebar=t},hideMenubar:this._hide}))},_hide:function(){$("#scrivito_ui").addClass("scrivito_hide_ui")},_unhide:function(){$("#scrivito_ui").removeClass("scrivito_hide_ui"),this.sidebar.unhide()},_toggleWorkspacesPanel:function(){this.sidebar.toggleWorkspacesPanel()}});scrivito.Menubar=e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1223),o=r(i),a=n(1224),s=r(a),c=n(1226),u=r(c),l=n(1227),d=r(l),f=n(1228),p=r(f),h=scrivito.legacyCreateConnectedComponent({displayName:"Topbar",propTypes:{showMenubar:React.PropTypes.func.isRequired,toggleWorkspacesPanel:React.PropTypes.func.isRequired},render:function(){return React.createElement("div",{className:"scrivito_topbar"},React.createElement(_,{showMenubar:this.props.showMenubar}),React.createElement("div",{className:"scrivito_first_level"},React.createElement("div",{className:"scrivito_button_bar scrivito_app scrivito_no_hover"},React.createElement("span",{className:"scrivito_logo"})),React.createElement(s.default,null),React.createElement(d.default,{toggleWorkspacesPanel:this.props.toggleWorkspacesPanel}),React.createElement(o.default,null),React.createElement(p.default,null),React.createElement(u.default,null)))}}),_=scrivito.legacyCreateConnectedComponent({displayName:"Topbar.ShowMenubar",propTypes:{showMenubar:React.PropTypes.func.isRequired},render:function(){var e=scrivito.t("topbar.show_menubar");return React.createElement("div",{className:"scrivito_toggle_ui scrivito_icon scrivito_icon_show_ui",title:e,onClick:this._onClick})},_onClick:function(e){e.preventDefault(),e.stopPropagation(),this.props.showMenubar()}});t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(531),o=scrivito.legacyCreateConnectedComponent({displayName:"Topbar.CurrentPageMenu",getInitialState:function(){return{isContextMenuOpen:!1}},render:function(){return React.createElement("div",{className:this._className(),title:this._title(),onClick:this._onClick},React.createElement("span",{className:"bar"}),React.createElement("span",{className:"bar"}),React.createElement("span",{className:"bar"}),React.createElement("i",{className:this._iconClassName()}))},_className:function(){var e="scrivito_current_page scrivito_button_bar scrivito_hamburger scrivito_right";return this.state.isContextMenuOpen&&(e+=" active"),e},_title:function(){if(this._isCurrentPageModified())return scrivito.t("topbar.current_page_menu.title.is_"+this._currentPageModification())},_iconClassName:function(){var e="scrivito_icon";return this._isCurrentPageModified()&&(e+=" scrivito_"+this._currentPageModification()),e},_onClick:function(e){e.preventDefault(),e.stopPropagation(),scrivito.ContextMenu.open($(ReactDOM.findDOMNode(this)),this._getCommands(),{customClassName:"scrivito_obj_menu",whenClosed:this._onContextMenuClosed}),this.setState({isContextMenuOpen:!0})},_getCommands:function(){return scrivito.applicationDocument().isCurrentPageStatic()?scrivito.applicationDocument().menu():(0,i.currentPageCommands)()},_isCurrentPageModified:function(){var e=this._getCurrentPage();return e&&e.isModified()},_currentPageModification:function(){var e=this._getCurrentPage();return e&&e.modification()},_getCurrentPage:function(){try{return scrivito.currentApplicationPage()}catch(e){if(e instanceof r.ResourceNotFoundError)return null;throw e}},_onContextMenuClosed:function(){this.setState({isContextMenuOpen:!1})}});t.default=o},function(e,t,n){"use strict";function r(e){var t=(0,a.classify)(e)+"Mode";return scrivito.legacyCreateConnectedComponent({displayName:"Topbar.DisplayModeSelector."+t,render:function(){return React.createElement("div",{className:this._className(),title:this._title(),onClick:this._onClick},React.createElement("span",{className:"scrivito_viewmode_icon"}),React.createElement("span",{className:"scrivito_viewmode_label"},scrivito.t("topbar.display_mode_selector."+e+"_mode")))},_className:function(){var t="scrivito_viewmode_"+e;return this._isSelected()&&(t+=" scrivito_selected"),this._reasonForBeingDisabled()&&(t+=" scrivito_disabled"),t},_title:function(){return this._isSelected()?scrivito.t("topbar.display_mode_selector.is_selected"):this._reasonForBeingDisabled()},_reasonForBeingDisabled:function(){return scrivito.editingContext.reasonForDisplayModeBeingDisabled(e)},_isSelected:function(){return scrivito.editingContext.displayMode===e},_isDisabled:function(){return!!this._reasonForBeingDisabled()},_onClick:function(t){t.preventDefault(),t.stopPropagation(),this._isSelected()||this._isDisabled()||(0,o.default)(e)}})}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1225),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a=n(15),s=scrivito.legacyCreateConnectedComponent({displayName:"Topbar.DisplayModeSelector",render:function(){return React.createElement("div",{className:"scrivito_viewmodes_wrapper"},React.createElement("div",{className:this._className()},React.createElement("span",{className:"scrivito_viewmode_pill"}),React.createElement(c,null),React.createElement(u,null),React.createElement(l,null)))},_className:function(){return"scrivito_viewmodes scrivito_viewmode_"+scrivito.editingContext.displayMode+"_active"}}),c=r("view"),u=r("editing"),l=r("diff");t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){o().then(function(t){t.isPublished()?a(t).then(function(e){return(0,u.default)(e,"view_mode")}).then(function(t){t&&s(e,t)}):s(e)})}function o(){return(0,d.default)(function(){return p.default.selected})}function a(e){return scrivito.withSavingOverlay((0,d.default)(function(){return e.otherWritableWorkspaces}))}function s(e,t){scrivito.withSavingOverlay(scrivito.changeEditingContext({displayMode:e,workspaceId:t}))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var c=n(616),u=r(c),l=n(13),d=r(l),f=n(53),p=r(f)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=scrivito.legacyCreateConnectedComponent({displayName:"Topbar.SavingIndicator",getInitialState:function(){return{savingState:null}},componentDidMount:function(){this._startWriteToken=scrivito.WriteMonitor.on("start_write",this._onStartWrite),this._endWriteToken=scrivito.WriteMonitor.on("end_write",this._onEndWrite)},componentWillUnmount:function(){scrivito.WriteMonitor.off(this._startWriteToken),scrivito.WriteMonitor.off(this._endWriteToken)},render:function(){var e=void 0;switch(this.state.savingState){case"writeStarted":e=React.createElement("span",{className:"scrivito_saving_in_progress"},React.createElement("i",{className:"scrivito_icon scrivito_spinning"},""),React.createElement("span",{className:"scrivito_button_label"},React.createElement("span",null,scrivito.t("topbar.saving_indicator.write_started"))));break;case"writeEnded":e=React.createElement("span",{className:"scrivito_saving_done"},React.createElement("i",{className:"scrivito_icon"},""),React.createElement("span",{className:"scrivito_button_label"},React.createElement("span",null,scrivito.t("topbar.saving_indicator.write_ended"))))}return React.createElement("div",{id:"scrivito_menu_bar_saving_indicator"},React.createElement("span",{className:"scrivito_saving_state_bar"},e))},_onStartWrite:function(){this._hideTimeout&&(clearTimeout(this._hideTimeout),delete this._hideTimeout),this.setState({savingState:"writeStarted"})},_onEndWrite:function(e){var t=this;e?this.setState({savingState:null}):(this.setState({savingState:"writeEnded"}),this._hideTimeout=setTimeout(function(){return t.setState({savingState:null})},3e3))}});r.HIDE_TIMEOUT=3e3,t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(53),o=r(i),a=n(617),s=r(a),c=scrivito.legacyCreateConnectedComponent({displayName:"Topbar.SelectedWorkspace",propTypes:{toggleWorkspacesPanel:React.PropTypes.func.isRequired},render:function(){var e="scrivito_icon scrivito_icon_ws";return o.default.selected.isPublished()&&(e+="_published"),React.createElement("div",{className:"scrivito_button_bar selected_workspace",onClick:this._onClick},React.createElement("i",{className:e}),React.createElement(u,null),React.createElement("span",{className:"scrivito_button_label_small"},React.createElement(s.default,{workspace:o.default.selected})))},_onClick:function(e){e.preventDefault(),e.stopPropagation(),this.props.toggleWorkspacesPanel()}}),u=scrivito.legacyCreateConnectedComponent({displayName:"Topbar.SelectedWorkspaceTitle",render:function(){return React.createElement("span",{className:"scrivito_button_label"},o.default.selected.titleForEditor)}});t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=scrivito.legacyCreateConnectedComponent({displayName:"Topbar.Warning",render:function(){return scrivito.UiWarning.isPresent()?React.createElement("div",null,React.createElement("span",{className:"scrivito_menu_bar_warning",onClick:this._onClick},React.createElement("i",{className:"scrivito_icon"},""),React.createElement("span",{className:"scrivito_button_label"},React.createElement("span",null,scrivito.t("topbar.warning.message"))))):null},_onClick:function(e){e.preventDefault(),e.stopPropagation(),scrivito.AlertDialog.open(scrivito.t("topbar.warning.alert_message")),scrivito.UiWarning.clear()}});t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(0),o=r(i),a=n(8),s=r(a),c=n(1),u=n(1230),l=r(u),d=n(135),f=r(d);!function(){function e(e,t){return scrivito.legacyCreateConnectedComponent(o.default.extend({propTypes:{isActive:React.PropTypes.bool.isRequired,togglePanel:React.PropTypes.func.isRequired},render:function(){return React.createElement("div",{className:this._buttonClassName(),title:this._buttonHint(),onClick:this.props.togglePanel},React.createElement("i",{className:this.getIconClassName()}))},_scrivitoRenderWhileLoading:function(){return React.createElement(scrivito.Loader,null)},_scrivitoRenderOnError:function(){return React.createElement(scrivito.LoaderError,null)},_buttonClassName:function(){var t="scrivito_"+e+"_button scrivito_button_bar";return this.props.isActive&&(t+=" active"),t},_buttonHint:function(){return this.props.isActive?scrivito.t("sidebar."+e+"_button.hint.active"):scrivito.t("sidebar."+e+"_button.hint")}},t))}scrivito.Sidebar=(0,s.default)({displayName:"scrivito.Sidebar",propTypes:{hideMenubar:React.PropTypes.func.isRequired},statics:{countNotifications:function(){var e=0,t=scrivito.applicationDocument().page();return t&&(t.hasConflicts()&&(e+=1),e+=scrivito.editingContext.restrictionMessagesFor(t).length,e+=scrivito.editingContext.conflictingWorkspacesFor(t).length),e},createPanelButtonClass:e,reset:function(){scrivito.storage.remove("sidebar.activePanel")},getActivePanel:function(){var e=scrivito.storage.get("sidebar.activePanel");return e?e.activePanel:"workspaces"},storeActivePanel:function(e){scrivito.storage.set("sidebar.activePanel",{activePanel:e})}},getInitialState:function(){return{isPanelOpen:!1,activePanel:scrivito.Sidebar.getActivePanel()}},componentWillMount:function(){var e=this;this._fsm=scrivito.sidebarFsm({openSidebar:function(){return e.setState(o.default.extend(e._pendingState(),{isPanelOpen:!0}))},closeSidebar:function(){return e.setState(o.default.extend(e._pendingState(),{isPanelOpen:!1}))}})},componentDidMount:function(){$("#scrivito_ui").addClass("scrivito_sidebar_show_first_level"),this._updateUIOffset()},componentDidUpdate:function(){this._updateUIOffset()},render:function(){var e=this,r=void 0;return this.state.isPanelOpen&&(r=React.createElement(n,{key:"sidebarPanels",activePanel:this.state.activePanel})),React.createElement("div",{className:"scrivito_sidebar",onMouseOver:this._onMouseOver,onMouseLeave:this._onMouseLeave},React.createElement(t,{activePanel:this.state.activePanel,togglePanel:this.togglePanel,hideMenubar:this._hide}),React.createElement(scrivito.CSSTransitionGroup,{transitionName:"sidebar-panels",transitionEnterTimeout:500,transitionLeaveTimeout:300,onEnter:function(){return e._fsm.triggerEvent("openTransitionFinished")},onLeave:function(){return e._fsm.triggerEvent("closeTransitionFinished")}},r))},toggleWorkspacesPanel:function(){this.togglePanel("workspaces")},togglePanel:function(e){if(!e)throw(0,c.InternalError)("Missing panel name");scrivito.Sidebar.storeActivePanel(e),this.state.isPanelOpen?e===this.state.activePanel&&"isOpen"===this._fsm.currentState?(this._pendingActivePanel=null,this._fsm.triggerEvent("close")):this.setState({activePanel:e}):(this._pendingActivePanel=e,this._fsm.triggerEvent("open"))},unhide:function(){this.state.activePanel?this._fsm.triggerEvent("unhideAndClose"):this._fsm.triggerEvent("unhideAndDisable")},_onMouseOver:function(){this._fsm.triggerEvent("mouseOver")},_onMouseLeave:function(){this._fsm.triggerEvent("mouseLeave")},_updateUIOffset:function(){this.state.isPanelOpen?$("#scrivito_ui").addClass("scrivito_sidebar_show_second_level"):$("#scrivito_ui").removeClass("scrivito_sidebar_show_second_level")},_pendingState:function(){var e={};return void 0!==this._pendingActivePanel&&(e.activePanel=this._pendingActivePanel,delete this._pendingActivePanel),e},_hide:function(){this.props.hideMenubar(),this._fsm.triggerEvent("hide")}});var t=scrivito.legacyCreateConnectedComponent({propTypes:{activePanel:React.PropTypes.string,togglePanel:React.PropTypes.func.isRequired,hideMenubar:React.PropTypes.func.isRequired},render:function(){var e=this,t=void 0;return scrivito.enableSidebarDetails&&(t=React.createElement("div",null,React.createElement(r,{isActive:"details"===this.props.activePanel,togglePanel:function(){return e.props.togglePanel("details")}}),React.createElement("div",{className:"scrivito_separator_bar"}))),React.createElement("div",{className:"scrivito_first_level"},t,React.createElement(a,null),React.createElement("div",{className:"scrivito_separator_bar"}),React.createElement(i,{isActive:"workspaces"===this.props.activePanel,togglePanel:function(){return e.props.togglePanel("workspaces")}}),React.createElement(scrivito.Sidebar.NotificationsButton,{isActive:"notifications"===this.props.activePanel,togglePanel:function(){return e.props.togglePanel("notifications")}}),React.createElement("div",{className:"scrivito_separator_bar"}),React.createElement(u,{isActive:"devices"===this.props.activePanel,togglePanel:function(){return e.props.togglePanel("devices")}}),React.createElement(d,{hideMenubar:this.props.hideMenubar}))}}),n=scrivito.legacyCreateConnectedComponent({propTypes:{activePanel:React.PropTypes.string},render:function(){var e=void 0;return scrivito.enableSidebarDetails&&(e=React.createElement(scrivito.Sidebar.DetailsPanel,{isActive:"details"===this.props.activePanel})),React.createElement("div",{className:"scrivito_second_level"},e,React.createElement(l.default,{isActive:"workspaces"===this.props.activePanel}),React.createElement(scrivito.Sidebar.NotificationsPanel,{isActive:"notifications"===this.props.activePanel}),React.createElement(scrivito.Sidebar.DevicesPanel,{isActive:"devices"===this.props.activePanel}))}}),r=scrivito.legacyCreateConnectedComponent({propTypes:{isActive:React.PropTypes.bool.isRequired,togglePanel:React.PropTypes.func.isRequired},render:function(){return this._render(scrivito.applicationDocument().page())},_scrivitoRenderWhileLoading:function(){return this._render()},_scrivitoRenderOnError:function(){return React.createElement(scrivito.LoaderError,null)},_render:function(e){return React.createElement("div",{className:this._buttonClassName(),title:this._buttonHint(),onClick:this.props.togglePanel},React.createElement("i",{className:this._iconClassName(e)}))},_buttonClassName:function(){var e="scrivito_details_button scrivito_button_bar";return this.props.isActive&&(e+=" active"),e},_buttonHint:function(){return this.props.isActive?scrivito.t("sidebar.details_button.hint.active"):scrivito.t("sidebar.details_button.hint")},_iconClassName:function(e){var t="scrivito_icon scrivito_icon_page";return e&&e.modification()&&(t+=" scrivito_"+e.modification()),t}}),i=e("workspaces",{getIconClassName:function(){return"scrivito_icon scrivito_icon_ws"}}),a=scrivito.legacyCreateConnectedComponent({render:function(){return React.createElement("div",{className:"scrivito_browse_content scrivito_button_bar",title:scrivito.t("sidebar.browse_content_button.hint"),onClick:this._onClick},React.createElement("i",{className:"scrivito_icon scrivito_icon_content_browser"}))},_onClick:function(e){e.preventDefault(),e.stopPropagation(),(0,f.default)({selectionMode:"single",standAlone:"true"})}}),u=e("devices",{componentDidMount:function(){var e=this;this._subscriptionToken=scrivito.PreviewDevice.subscribeChange(function(){return e.forceUpdate()})},componentWillUnmount:function(){scrivito.PreviewDevice.unsubscribeChange(this._subscriptionToken)},getIconClassName:function(){return"scrivito_icon scrivito_icon_"+scrivito.PreviewDevice.current}}),d=(0,s.default)({propTypes:{hideMenubar:React.PropTypes.func.isRequired},render:function(){var e=scrivito.t("sidebar.hide_controls_button.hint");return React.createElement("div",{className:"scrivito_hide_controls scrivito_button_bar scrivito_bottom_fixed",title:e,onClick:this._onClick},React.createElement("i",{className:"scrivito_icon scrivito_icon_hide_ui"}))},_onClick:function(e){e.preventDefault(),e.stopPropagation(),this.props.hideMenubar()}});scrivito.Sidebar.ENTER_TIMEOUT=500,scrivito.Sidebar.LEAVE_TIMEOUT=300}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);tt?scrivito.Promise.reject({type:"outdated_certificates"}):scrivito.wait(1).then(function(){return n._checkAndPublish(t)}):"precondition_not_met.workspace.publish.exceeds_obj_limit"===r?(scrivito.logError(e.message),scrivito.ErrorDialog.open(scrivito.t("workspace_publisher.exceeds_obj_limit"),[e.message]),scrivito.Promise.reject(e)):(scrivito.displayAjaxError(e),scrivito.Promise.reject(e))}},{key:"workspace",get:function(){return this._workspace}}]),e}();t.default=a},function(e,t,n){"use strict";function r(e){scrivito.withSavingOverlay(scrivito.changeEditingContext({workspaceId:e.id}))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){return _.default.createElement("div",{className:"scrivito_notice scrivito_blue"},_.default.createElement("div",{className:"scrivito_notice_icon"},_.default.createElement("i",{className:"scrivito_icon scrivito_icon_question"})),_.default.createElement("div",{className:"scrivito_notice_body"},scrivito.t("publish_history_dialog.info"),_.default.createElement("a",{href:"https://scrivito.com/publishing-history",target:"_blank"},scrivito.t("publish_history_dialog.link")),"."))}function c(){ReactDOM.unmountComponentAtNode(g.get(0)),y.resolve()}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n","workspace.publish_error.exceeds_obj_limit":"This working copy cannot be published because the maximum number of CMS objects included in your plan has been exceeded.","revision.published_by":'User with ID "$1"',"workspace.title.published":"Published content","workspace.title.blank":"[Empty title]","default_inspector_description_for_obj.group_general":"General","default_inspector_description_for_obj.group_backlinks":"Linked by","default_inspector_description_for_obj.group_binary_metadata":"Metadata","default_inspector_description_for_obj.group_system":"System","item_description.system.id.title":"Object ID","item_description.system.path.title":"Path","item_description.system.obj_class.title":"Object type","item_description.system.permalink.title":"Permalink","item_description.system.history.created_at":"Created","item_description.system.history.created_by":"Created by","item_description.system.history.last_changed":"Last changed","item_description.system.history.last_changed_by":"Last changed by","item_description.system.history.not_available":"Not available","item_description.system.history.user_description_not_available":'User with ID "$1"',"backlinks_item_component.no_backlinks_box.message":'No objects link to "$1".',"stringlist_item_component.read_stringlist.placeholder":"No items","stringlist_item_component.edit_stringlist.add_placeholder":"Add item","binary_metadata_item_component.content_type":"Content type","binary_metadata_item_component.content_length":"Size","binary_metadata_item_component.filename":"Filename","binary_metadata_item_component.width":"Width","binary_metadata_item_component.height":"Height","permalink_item_component.permalink.is_empty":"No permalink assigned.","permalink_item_component.edit_button.title":"Change","widgetlist_attribute_component.is_empty":"No widgets present.","link_item_component.edit_link.title_placeholder":"Title","link_item_component.edit_link.url_placeholder":"URL","link_item_component.edit_link.internal":"INTERNAL","link_item_component.edit_link.new_tab":"Open link in new tab","linklist_item_component.read_linklist.undefined":"No links specified","details_dialog.title":'View properties of "$1"',"details_dialog.title.editing_mode":'Edit properties of "$1"',"details_dialog.close":"Close","workspace_settings_dialog.title":'Settings for "$1"',"workspace_settings_dialog.input.title":"Title","workspace_settings_dialog.input.owners":"Owners","workspace_settings_dialog.nothing_found":"Nothing found","workspace_settings_dialog.searching":"Searching...","workspace_settings_dialog.too_short":"Find user...","workspace_settings_dialog.cancel":"Cancel","workspace_settings_dialog.confirm":"Confirm","workspace_changes_dialog.dialog_header.title":'Changes to "$1"',"workspace_changes_dialog.dialog_header.title.is_transfer_mode":'Moving changes of "$1"',"workspace_changes_dialog.dialog_header.count_title.one":"($1 object)","workspace_changes_dialog.dialog_header.count_title.many":"($1 objects)","workspace_changes_dialog.dialog_header.count_title.many.has_more":"($1+ objects)","workspace_changes_dialog.dialog_header.count_title.is_transfer_mode.one":"(selected $1 object for moving)","workspace_changes_dialog.dialog_header.count_title.is_transfer_mode.many":"(selected $1 objects for moving)","workspace_changes_dialog.order_toggle.last_changed":"Sort by last change date","workspace_changes_dialog.order_toggle.last_changed.asc":"Oldest change first","workspace_changes_dialog.order_toggle.last_changed.desc":"Most recent change first","workspace_changes_dialog.order_toggle.obj_class":"Sort by object type","workspace_changes_dialog.order_toggle.obj_class.asc":"A to Z (type)","workspace_changes_dialog.order_toggle.obj_class.desc":"Z to A (type)","workspace_changes_dialog.order_toggle.modification":"Sort by modification type","workspace_changes_dialog.order_toggle.modification.desc":"New, edited, deleted","workspace_changes_dialog.order_toggle.modification.asc":"Deleted, edited, new","workspace_changes_dialog.order_toggle.is_disabled":"Currently selected order","workspace_changes_dialog.no_changes_notice":"Nothing was changed in this working copy.","workspace_changes_dialog.change_item.last_changed":"Last change","workspace_changes_dialog.change_item.publish_permission":"Publish","workspace_changes_dialog.publish_permission.is_permitted":"is permitted","workspace_changes_dialog.publish_permission.is_forbidden":"is not permitted","workspace_changes_dialog.enable_transfer_mode_button.title":"Move changes","workspace_changes_dialog.transfer_changes_button.title":"Select target working copy","workspace_changes_dialog.disable_transfer_mode_button.title.cancel":"Cancel","workspace_changes_dialog.disable_transfer_mode_button.title.done":"Done","workspace_changes_dialog.close_dialog_button.title":"Close","workspace_publisher.exceeds_obj_limit":"This working copy cannot be published because the maximum number of CMS objects included in your plan has been exceeded.","menu_item.spinner.loading":"Loading...","choose_obj_class_dialog.add_child_page.title":"Select Page Type","choose_obj_class_dialog.create_page.title":"Select Page Type","choose_obj_class_dialog.create_widget.title":"Select Widget","choose_obj_class_dialog.last_used":"Last used","choose_obj_class_dialog.popular":"Often used","choose_obj_class_dialog.all":"All","editable_ws_dialog.view_mode.title.select_or_create":"Choose a working copy","editable_ws_dialog.view_mode.title.select":"Select a working copy","editable_ws_dialog.view_mode.title.create":"Create a working copy","editable_ws_dialog.view_mode.title.forbidden":"No working copy available","editable_ws_dialog.view_mode.description.select_or_create":"To alter content, select or create a working copy first. When you finished editing, publish the working copy or have it published.","editable_ws_dialog.view_mode.description.select":"To alter content, select a working copy first. When you finished editing, publish the working copy or have it published.","editable_ws_dialog.view_mode.description.create":"To alter content, create a working copy first. When you finished editing, publish the working copy or have it published.","editable_ws_dialog.view_mode.description.forbidden":"There is no working copy you could use to alter content. Also, creating working copies has not been enabled for you.","editable_ws_dialog.transfer_changes.title.select_or_create":"Select target working copy","editable_ws_dialog.transfer_changes.title.select":"Select target working copy","editable_ws_dialog.transfer_changes.title.create":"Create target working copy","editable_ws_dialog.transfer_changes.title.forbidden":"No working copy available","editable_ws_dialog.transfer_changes.description.select_or_create":"The changes can be moved to an existing working copy or to a new one.","editable_ws_dialog.transfer_changes.description.select":"The changes will be moved to the selected working copy.","editable_ws_dialog.transfer_changes.description.create":"Please create the target working copy","editable_ws_dialog.transfer_changes.description.forbidden":"You are not permitted to move changes to one of the available working copies.","editable_ws_dialog.choose_existing":"Select an existing working copy:","editable_ws_dialog.create_new":"Create a new working copy:","editable_ws_dialog.or_create_new":"Or, create a new one:","editable_ws_dialog.create_new_playholder":"new working copy title","editable_ws_dialog.select":"Select","loader_error.title":"An error occurred while retrieving the data. Please try again later. If the problem persists, contact a technician familiar with this website.","publish_history_dialog.close":"Close","publish_history_dialog.info":"Pick a working copy from the list to view an archived state of your website. Learn more about the ","publish_history_dialog.link":"publishing history","publish_history_dialog.revision_list.changes_count":"Changed","publish_history_dialog.revision_list.changes_count.many":"$1 objects","publish_history_dialog.revision_list.changes_count.not_available":"Not available","publish_history_dialog.revision_list.changes_count.one":"1 object","publish_history_dialog.revision_list.is_limited":"The maximum number of history items displayed ($1) depends on your plan.","publish_history_dialog.revision_list.not_restorable":"This is the currently published content.","publish_history_dialog.revision_list.published_at":"Published ","publish_history_dialog.title":"Publishing history","sidebar.browse_content_button.hint":"Open the Content Browser","sidebar.browse_content_button.hint.is_disabled":"The Content Browser is not available while deleted content is being displayed.","sidebar.details_button.hint":"Show page details","sidebar.details_button.hint.active":"Page details","sidebar.workspaces_button.hint":"Show working copy menu","sidebar.workspaces_button.hint.active":"Working copy menu","sidebar.devices_button.hint":"View page in various sizes","sidebar.devices_button.hint.active":"Page in various sizes","sidebar.hide_controls_button.hint":"Hide control panel","sidebar.notifications_button.hint":"Show notifications","sidebar.notifications_button.hint.active":"Notifications","sidebar.workspace_list.workspace_item.hint.is_disabled":"This working copy can not be selected due to missing user permissions.","sidebar.workspace_list.workspace_item.hint.is_selectable":"Select this working copy","sidebar.workspace_list.workspace_item.hint.is_published":"Select published content","sidebar.workspace_list.workspace_item.hint":"Currently selected working copy","sidebar.workspace_list.workspace_item.delete":"Delete this working copy","sidebar.workspaces_panel.general_workspaces_group.title":"Working copies","sidebar.workspaces_panel.current_workspace_group.title":"This working copy","sidebar.workspaces_panel.other_workspaces_group.title":"Other working copies","sidebar.workspaces_panel.create_workspace_button.title":"New","sidebar.workspaces_panel.create_workspace_button.hint":"Create a working copy","sidebar.workspaces_panel.create_workspace_button.is_disabled":"You cannot create a working copy due to missing user permissions.","sidebar.workspaces_panel.publish_history_button.title":"History","sidebar.workspaces_panel.publish_history_button.hint":"Open publishing history","sidebar.workspaces_panel.publish_history_button.is_disabled":"You cannot view the publishing history due to missing user permissions.","sidebar.workspaces_panel.changes_button.title":"Changes","sidebar.workspaces_panel.changes_button.hint":"View changes to this working copy","sidebar.workspaces_panel.changes_button.is_forbidden":"The cannot view the changes to the working copy due to missing user permissions.","sidebar.workspaces_panel.publish_button.title":"Publish","sidebar.workspaces_panel.publish_button.hint":"Publish this working copy","sidebar.workspaces_panel.publish_button.is_forbidden":"The working copy can not be published due to missing user permissions.","sidebar.workspaces_panel.settings_button.title":"Settings","sidebar.workspaces_panel.settings_button.hint":"Change settings of this working copy","sidebar.workspaces_panel.settings_button.is_forbidden":"You cannot change the settings of the working copy due to missing user permissions.","sidebar.workspaces_panel.rebase_button.title":"Update","sidebar.workspaces_panel.rebase_button.hint":"Update this working copy","sidebar.workspaces_panel.rebase_button.is_forbidden":"You cannot update the working copy due to missing user permissions.","sidebar.notifications_panel.publish_restrictions_group.title":"Publishing not possible","sidebar.notifications_panel.potential_conflicts_group.title":"Potential conflict","sidebar.notifications_panel.potential_conflicts_group.description":"Changes to this page will cause a conflict when publishing. The page has already been modified in these working copies:","sidebar.notifications_panel.conflict_group.title":"Conflict","sidebar.notifications_panel.conflict_group.description1":"A different version of this page has been published in the meantime. ","sidebar.notifications_panel.conflict_group.link":"Resolve the conflict","sidebar.notifications_panel.conflict_group.description2":" to be able to publish this working copy.","sidebar.notifications_panel.no_notifications":"No notifications at present.","sidebar.devices_panel.title":"Preview sizes","sidebar.devices_panel.device.desktop":"Desktop","sidebar.devices_panel.device.laptop":"Laptop","sidebar.devices_panel.device.mobile":"Mobile phone, portrait","sidebar.devices_panel.device.tablet":"Tablet, portrait","confirm_delete_dialog.cancel":"Cancel","confirm_delete_dialog.confirm":"Delete","confirm_delete_dialog.confirm.has_backlinks":"Delete anyway","confirm_delete_dialog.is_edited":"This $1 can be restored if required. However, the changes made to it in this working copy cannot be recovered.","confirm_delete_dialog.is_new":"You are in the process of deleting a $1 that has been created in this working copy. This cannot be undone. However, you can create the $2 once again and reapply the links and references pointing to it.","confirm_delete_dialog.many_objs_to_delete.many_backlinks":"$1 objects link to these $2:","confirm_delete_dialog.many_objs_to_delete.one_backlink":"One object links to these $1:","confirm_delete_dialog.not_modified":"This $1 can be restored if required.","confirm_delete_dialog.one_obj_to_delete.many_backlinks":"$1 objects link to this $2","confirm_delete_dialog.one_obj_to_delete.one_backlink":"One object links to this $1:","confirm_delete_dialog.title":"Are you sure you want to delete this $1?","confirm_delete_dialog.title.many_subjects":"Are you sure you want to delete these $1?","resource_dialog.commands.mark_resolved_obj.dialog.description":"This resource was altered in a different working copy that has been published. Please confirm that you want to keep your changes and discard the ones concurrently made by others.","resource_dialog.commands.mark_resolved_obj.title":"Override concurrent changes to resource","resource_dialog.commands.restore_obj.title":"Restore resource","resource_dialog.title":'Properties of resource "$1"',"menu_bar.create":"Create","saving_indicator_item.saving":"Saving...","saving_indicator_item.saved":"Changes saved","inplace_marker.overlapping":"Two or more menu handles are overlapping. Please adjust your CSS. The following menu handles are overlapping:","widget_marker.widget_is_new":"Widget is new","widget_marker.widget_is_edited":"Widget has been modified","widget_marker.widget_is_edited_and_dragged_here":"Widget has been modified and dragged here","widget_marker.widget_is_edited_and_dragged_away":"Widget has been modified and dragged away from here","widget_marker.widget_is_deleted":"Widget has been deleted","widget_marker.widget_is_dragged_here":"Widget has been dragged here","widget_marker.widget_is_dragged_away":"Widget has been dragged away from here","child_list_menu.description":"Items of $1","transfer_errors_dialog.title":"Errors while moving content changes","transfer_errors_dialog.modified":"Some of the changes could not be moved because the content concerned has also been modified in the target working copy.","transfer_errors_dialog.conflicting":"Some of the changes have not been moved because the respective content in the target working copy is outdated and applying changes to it would cause a conflict. Please make sure that both working copies have been updated and are free of conflicts.","current_page_link_dialog.title":"Share page","current_page_link_dialog.description":"Using the URL below, you can share the current page as part of this working copy. The recipients need to be logged in and have access to the working copy.","error_dialog.toggle_details":"Toggle details","error_dialog.error_details":"Error details","commands.open_obj_in_content_browser.title":"Open in Content Browser","commands.navigate_ui_to_obj.title":"Navigate to object","commands.open_page_link_dialog.title":"Share page","commands.open_page_link_dialog.is_deleted":"A deleted page cannot be shared because it is inaccessible in preview mode","commands.create_workspace.dialog.title":"Create working copy","commands.create_workspace.dialog.description":"Please enter the title of the new working copy.","commands.create_workspace.dialog.placeholder":"new title","commands.create_workspace.dialog.accept":"Create","commands.open_user_guide.title":"Open help","commands.rebase_workspace.has_conflicts.title":"Changed content has been published intermediately","commands.rebase_workspace.has_conflicts.description":"Your working copy could not be fully updated. Some of its content has also been altered in a different working copy that has been published in the meantime. Please refer to the changes list for details.","commands.rebase_workspace.open_changes_dialog":"Show changes","workflows.delete_workspace.dialog.title":'Are you sure you want to delete "$1"?',"workflows.delete_workspace.dialog.description":"A deleted working copy cannot be restored.","workflows.delete_workspace.dialog.confirm":"Delete","workflows.change_permalink.dialog.title":'Change permalink of "$1"',"workflows.change_permalink.dialog.placeholder":"Please enter a new permalink","workflows.change_permalink.dialog.change":"Change","workflows.change_permalink.info.is_taken":'The "$1" is already in use.',"workflows.change_permalink.info.is_invalid":'The permalink "$1" is not valid: A permalink may only contain letters from A to Z, periods, hyphens, and underscores.',"workflows.change_permalink.info.is_scrivito":'The permalink "$1" is not valid: A permalink must not be "scrivito" or start with "scrivito/".',"commands.restore_workspace.dialog.confirm":"Create","commands.restore_workspace.dialog.description":'This creates a working copy that reflects the archived state of your website after "$1" was published.',"commands.restore_workspace.dialog.title":'Create "$1"?',"commands.restore_workspace.workspace_title":"Archived: $1","commands.open_page_details.title.editing_mode":"Edit page properties","commands.open_page_details.title":"View page properties","commands.open_page_details.dialog.title.editing_mode":'Edit properties of "$1"',"commands.open_page_details.dialog.title":'View properties of "$1"',"commands.open_page_details.is_disabled":"This page has no properties","commands.save_obj_to_clipboard.title":"Copy or move page","commands.save_obj_to_clipboard.has_children":"Pages with subpages cannot be copied or moved yet.","commands.save_obj_to_clipboard.is_deleted":"Deleted pages cannot be copied or moved yet.","commands.delete_obj.has_children":"Pages with subpages can not yet be deleted.","commands.delete_obj.published_workspace":"Since this is the published content, nothing can be modified.","commands.delete_obj.title":"Delete $1","commands.revert_obj.title":"Discard changes to page","commands.revert_obj.published_workspace":"Since this is the published content, nothing has been modified. Therefore, nothing can be discarded.","commands.revert_obj.is_new":"This is a new page. To discard the creation of this page, please delete it.","commands.revert_obj.unmodified":"This page has not been modified. Therefore, nothing can be discarded.","commands.revert_obj.dialog.title":"Are you sure you want to discard the changes to this page?","commands.revert_obj.dialog.description":"Discarded changes cannot be restored.","commands.revert_obj.dialog.confirm":"Discard","commands.revert_resource.title":"Discard changes to resource","commands.revert_resource.is_new":"This is a new resource. To discard the creation of this resource, please delete it.","commands.revert_resource.dialog.title":"Are you sure you want to discard the changes to this resource?","commands.revert_resource.dialog.description":"Discarded changes cannot be restored.","commands.revert_resource.dialog.confirm":"Discard","commands.revert_widget.title":"Discard changes to widget","commands.revert_widget.is_new":"This is a new widget. To discard the creation of this widget, please delete it.","commands.revert_widget.is_not_modified":"This widget has not been modified. Therefore, nothing can be discarded.","commands.revert_widget.dialog.title":"Are you sure you want to discard the changes to this widget?","commands.revert_widget.dialog.description":"Discarded changes cannot be restored.","commands.revert_widget.dialog.confirm":"Discard","commands.restore_widget.title":"Restore widget","commands.restore_obj.title":"Restore page","commands.mark_resolved_obj.title":"Override concurrent changes to page","commands.mark_resolved_obj.dialog.confirm":"Override changes","commands.mark_resolved_obj.dialog.title":"Are you sure you want to override the changes made by others in the meantime?","commands.mark_resolved_obj.dialog.description":"This page was altered in a different working copy that has been published. Please confirm that you want to keep your changes and discard the ones concurrently made by others.","commands.duplicate_obj.title":"Duplicate page","commands.duplicate_obj.published_workspace":"Since this is the published content, nothing can be modified.","commands.duplicate_obj.has_children":"Pages with subpages cannot be duplicated yet.","commands.duplicate_widget.title":"Duplicate widget","commands.create_page.title":"Create page","commands.create_page.published_workspace":"Use a working copy for creating pages or editing existing content.","commands.add_subpage.child_list.no_path":"Subpages can only be added to pages that have a path.","commands.add_subpage.child_list.title":"Add page","commands.add_subpage.child_list.tooltip":'Add a page to "$1"',"commands.add_subpage.child_list.published_workspace":"Use a working copy to add subpages.","commands.add_subpage.current_page.no_path":"Subpages can only be added to pages that have a path. The current page doesn't have a path.","commands.add_subpage.current_page.title":"Add subpage","commands.add_subpage.current_page.tooltip":'Add a subpage to "$1"',"commands.add_subpage.current_page.published_workspace":"Use a working copy to add subpages.","commands.copy_obj_from_clipboard.child_list.no_path":"Subpages can only be added to pages that have a path.","commands.copy_obj_from_clipboard.child_list.paste_forbidden":"Due to its type, the page cannot be moved or pasted here. Only pages of the following types can be inserted here: $1","commands.copy_obj_from_clipboard.child_list.title":"Paste page here","commands.copy_obj_from_clipboard.child_list.tooltip":'Paste "$1" to "$2".',"commands.copy_obj_from_clipboard.child_list.published_workspace":"Use a working copy to add subpages.","commands.copy_obj_from_clipboard.child_list.obj_not_present":"There is no page on the clipboard","commands.copy_obj_from_clipboard.current_page.no_path":"Subpages can only be added to pages that have a path. The current page doesn't have a path.","commands.copy_obj_from_clipboard.current_page.paste_forbidden":"Due to its type, the page cannot be moved or pasted here. Only pages of the following types can be inserted here: $1","commands.copy_obj_from_clipboard.current_page.title":"Paste as subpage","commands.copy_obj_from_clipboard.current_page.tooltip":'Create a copy of "$1" and use it as a subpage of "$2".',"commands.copy_obj_from_clipboard.current_page.published_workspace":"Use a working copy to add subpages.","commands.copy_obj_from_clipboard.current_page.obj_not_present":"There is no page on the clipboard","commands.move_obj_from_clipboard.child_list.forbidden.invalid_class":"Due to its type, the page cannot be moved or pasted here. Only pages of the following types can be inserted here: $1","commands.move_obj_from_clipboard.child_list.forbidden.invalid_workspace":"A page can only be moved within its working copy.","commands.move_obj_from_clipboard.child_list.forbidden.no_path":"Subpages can only be added to pages that have a path.","commands.move_obj_from_clipboard.child_list.forbidden.obj_identity":"A page cannot be moved beneath itself.","commands.move_obj_from_clipboard.child_list.source_not_found":"The page to move could not be found in the current working copy.","commands.move_obj_from_clipboard.child_list.forbidden.obj_not_present":"There is no page on the clipboard","commands.move_obj_from_clipboard.child_list.title":"Move page here","commands.move_obj_from_clipboard.child_list.tooltip":'Move "$1" to "$2".',"commands.move_obj_from_clipboard.current_page.forbidden.invalid_class":"Due to its type, the page cannot be moved or pasted here. Only pages of the following types can be inserted here: $1","commands.move_obj_from_clipboard.current_page.forbidden.invalid_workspace":"A page can only be moved within its working copy.","commands.move_obj_from_clipboard.current_page.forbidden.no_path":"Subpages can only be added to pages that have a path. The current page doesn't have a path.","commands.move_obj_from_clipboard.current_page.forbidden.obj_identity":"A page cannot be moved beneath itself. The current page is on the clipboard.","commands.move_obj_from_clipboard.current_page.forbidden.obj_not_present":"There is no page on the clipboard","commands.move_obj_from_clipboard.current_page.source_not_found":"The page to move could not be found in the current working copy.","commands.move_obj_from_clipboard.current_page.title":"Move here as subpage","commands.move_obj_from_clipboard.current_page.tooltip":'Insert "$1" as a subpage of "$2".',"obj_sorting_dialog.title":"Sort items","commands.sort_items.title":"Sort items","commands.sort_items.tooltip":"Edit order of items underneath $1","commands.sort_items.auto_sort":"This navigation is sorted automatically.","commands.sort_items.too_less_children":"This navigation cannot be sorted because it consists of less than two items.","commands.choose_and_create_widget.title":"Insert widget","commands.choose_and_create_widget.disabled":"You cannot insert any widgets here.","commands.create_widget.title":"Insert $1","commands.widget_details.title":"Widget properties","commands.widget_details.has_no_properties":"This widget has no properties","commands.widget_details.dialog.title":'Properties of "$1"',"commands.save_widget_to_clipboard.title":"Copy widget","commands.copy_widget_from_clipboard.title":"Paste widget","commands.copy_widget_from_clipboard.paste_forbidden":"Due to its type, the widget cannot be moved or copied here. Only widgets of the following types can be inserted here: $1.","commands.delete_widget.title":"Delete widget","commands.delete_widget.dialog.title":"Are you sure you want to delete this widget?","commands.delete_widget.dialog.description":"A deleted widget cannot be restored.","commands.delete_widget.dialog.confirm":"Delete","topbar.show_menubar":"Show control panel","topbar.display_mode_selector.view_mode":"Preview","topbar.display_mode_selector.editing_mode":"Edit","topbar.display_mode_selector.diff_mode":"Changes","topbar.display_mode_selector.is_selected":"Currently selected display mode","topbar.saving_indicator.write_started":"Saving...","topbar.saving_indicator.write_ended":"Changes saved","topbar.warning.message":"Check JS console","topbar.warning.alert_message":"There are warnings. Please open the JavaScript console for details.","topbar.current_page_menu.title.is_new":"This page is new.","topbar.current_page_menu.title.is_edited":"This page has been modified.","topbar.current_page_menu.title.is_deleted":"This page has been deleted.","workflows.publish_workspace.dialog.confirm":"Publish","workflows.publish_workspace.dialog.title":'Publish "$1"?',"workflows.publish_workspace.dialog.description":"You can undo this publishing action using the publishing history.","workflows.publish_workspace.error_dialog.title":"Working copy could not be published","workflows.publish_workspace.error_dialog.description":"Please check the changes list for details.","workflows.publish_workspace.error_dialog.confirm":"Open changes list","workflows.publish_workspace.alert.invalid_certificates":"The working copy could not be published because at least one user is currently modifying content in it.",ajax_error:"Communication with the CMS failed with error: $1","ajax_error.communication":"Communication with the CMS failed. Please check your network connectivity.","ajax_error.message_for_editor":"During your last action, a technical error occurred. Please try again later. If the problem persists, please contact a technician familiar with this website and provide the error details.","workspace_limit_exceeded.message":"You have reached the maximum number of working copies included in your plan.",warn_before_unloading:"There are unsaved changes! Are you sure you want to close the page?","widgetlist_field_element.markup_error":"Scrivito found a widget with invalid markup. Please reload the page and try again. If the problem persists, please contact a technician familiar with this website.","test.two_arguments":"$1, $2","test.four_arguments":"$1, $2, $3, $4","properties_component.binary_attribute_component.empty":"Not set"})},function(e,t,n){"use strict";var r=n(43);(function(e){return e&&e.__esModule?e:{default:e}})(r).default.load("de",{confirm:"Bestätigen",cancel:"Abbrechen",save:"Speichern",welcome:"Willkommen",welcome_x:"Willkommen $1",accept:"Übernehmen",close:"Schließen",done:"Fertig",loading:"Lade...",current_page:"Aktuelle Seite",ok:"Ok","models.page.name":"Seite","models.resource.name":"Ressource","models.obj.name.plural":"Objekte","obj.tooltip.is_new":"Dieses Element ist neu.","obj.tooltip.is_new.has_conflicts":"Dieses Element ist neu in dieser Arbeitskopie.\nEs wurde zwischenzeitlich mit einer anderen Arbeitskopie angelegt und veröffentlicht.","obj.tooltip.is_new.has_conflicts.transfer_changes":"Dieses Element ist neu in dieser Arbeitskopie.\nEs kann nicht verschoben werden, da es zwischenzeitlich mit einer anderen Arbeitskopie angelegt und veröffentlicht wurde.","obj.tooltip.is_edited":"Dieses Element wurde geändert.","obj.tooltip.is_edited.has_conflicts":"Dieses Element wurde in dieser Arbeitskopie geändert.\nEs wurde zwischenzeitlich mit einer anderen Arbeitskopie geändert und veröffentlicht.","obj.tooltip.is_edited.has_conflicts.transfer_changes":"Dieses Element wurde in dieser Arbeitskopie geändert.\nEs kann nicht verschoben werden, da es zwischenzeitlich mit einer anderen Arbeitskopie geändert und veröffentlicht wurde.","obj.tooltip.is_deleted":"Dieses Element wurde gelöscht.","obj.tooltip.is_deleted.has_conflicts":"Dieses Element wurde in dieser Arbeitskopie gelöscht.\nEs wurde zwischenzeitlich mit einer anderen Arbeitskopie geändert und veröffentlicht.","obj.tooltip.is_deleted.has_conflicts.transfer_changes":"Dieses Element wurde in dieser Arbeitskopie gelöscht.\nEs kann nicht verschoben werden, da es zwischenzeitlich mit einer anderen Arbeitskopie geändert und veröffentlicht wurde.","workspace.title_published":"Veröffentlichte Inhalte","workspace.empty_title":"","workspace.publish_error.exceeds_obj_limit":"Diese Arbeitskopie kann nicht veröffentlicht werden, weil die maximale Anzahl der in Ihrem Tarif enthaltenen CMS-Objekte überschritten wurde.","revision.published_by":'Benutzer mit der ID "$1"',"workspace.title.published":"Veröffentlichte Inhalte","workspace.title.blank":"[Leerer Titel]","default_inspector_description_for_obj.group_general":"Allgemein","default_inspector_description_for_obj.group_backlinks":"Verlinkt von","default_inspector_description_for_obj.group_binary_metadata":"Metadaten","default_inspector_description_for_obj.group_system":"System","item_description.system.id.title":"Objekt-ID","item_description.system.path.title":"Pfad","item_description.system.obj_class.title":"Objekttyp","item_description.system.permalink.title":"Permalink","item_description.system.history.created_at":"Erstellt","item_description.system.history.created_by":"Erstellt von","item_description.system.history.last_changed":"Zuletzt geändert","item_description.system.history.last_changed_by":"Zuletzt geändert von","item_description.system.history.not_available":"Nicht verfügbar","item_description.system.history.user_description_not_available":'Benutzer mit der ID "$1"',"backlinks_item_component.no_backlinks_box.message":'Keine Objekte verlinken "$1".',"stringlist_item_component.read_stringlist.placeholder":"Die Liste enthält keine Elemente","stringlist_item_component.edit_stringlist.add_placeholder":"Element hinzufügen","binary_metadata_item_component.content_type":"Content type","binary_metadata_item_component.content_length":"Dateigröße","binary_metadata_item_component.filename":"Dateiname","binary_metadata_item_component.width":"Breite","binary_metadata_item_component.height":"Höhe","permalink_item_component.permalink.is_empty":"Noch kein Permalink zugewiesen.","permalink_item_component.edit_button.title":"Ändern","widgetlist_attribute_component.is_empty":"Keine Widgets vorhanden.","link_item_component.edit_link.title_placeholder":"Titel","link_item_component.edit_link.url_placeholder":"URL","link_item_component.edit_link.internal":"INTERN","link_item_component.edit_link.new_tab":"Link in neuem Tab öffnen","linklist_item_component.read_linklist.undefined":"Keine Links gesetzt","details_dialog.title":'Eigenschaften von "$1" anzeigen',"details_dialog.title.editing_mode":'Eigenschaften von "$1" bearbeiten',"details_dialog.close":"Schließen","workspace_settings_dialog.title":'Einstellungen von "$1"',"workspace_settings_dialog.input.title":"Titel","workspace_settings_dialog.input.owners":"Besitzer","workspace_settings_dialog.nothing_found":"Nichts gefunden","workspace_settings_dialog.searching":"Suche...","workspace_settings_dialog.too_short":"Benutzer suchen...","workspace_settings_dialog.cancel":"Abbrechen","workspace_settings_dialog.confirm":"Bestätigen","workspace_changes_dialog.dialog_header.title":'Änderungen von "$1"',"workspace_changes_dialog.dialog_header.title.is_transfer_mode":'Änderungen verschieben von "$1"',"workspace_changes_dialog.dialog_header.count_title.one":"($1 Objekt)","workspace_changes_dialog.dialog_header.count_title.many":"($1 Objekte)","workspace_changes_dialog.dialog_header.count_title.many.has_more":"($1+ Objekte)","workspace_changes_dialog.dialog_header.count_title.is_transfer_mode.one":"($1 Objekt zum verschieben)","workspace_changes_dialog.dialog_header.count_title.is_transfer_mode.many":"($1 Objekte zum verschieben)","workspace_changes_dialog.order_toggle.last_changed":"Nach Änderungsdatum sortieren","workspace_changes_dialog.order_toggle.last_changed.asc":"Älteste Änderung zuerst","workspace_changes_dialog.order_toggle.last_changed.desc":"Jüngste Änderung zuerst","workspace_changes_dialog.order_toggle.obj_class":"Nach Objekttyp sortieren","workspace_changes_dialog.order_toggle.obj_class.asc":"A bis Z (Typ)","workspace_changes_dialog.order_toggle.obj_class.desc":"Z bis A (Typ)","workspace_changes_dialog.order_toggle.modification":"Nach Art der Änderung sortieren","workspace_changes_dialog.order_toggle.modification.desc":"Neu, bearbeitet, gelöscht","workspace_changes_dialog.order_toggle.modification.asc":"Gelöscht, bearbeitet, neu","workspace_changes_dialog.order_toggle.is_disabled":"Aktuell ausgewählte Sortierung","workspace_changes_dialog.no_changes_notice":"In dieser Arbeitskopie wurde nichts geändert.","workspace_changes_dialog.change_item.last_changed":"Letzte Änderung","workspace_changes_dialog.change_item.publish_permission":"Veröffentlichung","workspace_changes_dialog.publish_permission.is_permitted":"ist erlaubt","workspace_changes_dialog.publish_permission.is_forbidden":"ist nicht erlaubt","workspace_changes_dialog.enable_transfer_mode_button.title":"Änderungen verschieben","workspace_changes_dialog.transfer_changes_button.title":"Ziel-Arbeitskopie auswählen","workspace_changes_dialog.disable_transfer_mode_button.title.cancel":"Abbrechen","workspace_changes_dialog.disable_transfer_mode_button.title.done":"Fertig","workspace_changes_dialog.close_dialog_button.title":"Schliessen","workspace_publisher.exceeds_obj_limit":"Diese Arbeitskopie kann nicht veröffentlicht werden, weil die maximale Anzahl der in Ihrem Tarif enthaltenen CMS-Objekte überschritten wurde.","menu_item.spinner.loading":"Laden...","choose_obj_class_dialog.add_child_page.title":"Seitenvorlage auswählen","choose_obj_class_dialog.create_page.title":"Seitenvorlage auswählen","choose_obj_class_dialog.create_widget.title":"Widget auswählen","choose_obj_class_dialog.last_used":"Zuletzt verwendet","choose_obj_class_dialog.popular":"Oft verwendet","choose_obj_class_dialog.all":"Alle","editable_ws_dialog.view_mode.title.select_or_create":"Arbeitskopie wählen","editable_ws_dialog.view_mode.title.select":"Arbeitskopie auswählen","editable_ws_dialog.view_mode.title.create":"Arbeitskopie anlegen","editable_ws_dialog.view_mode.title.forbidden":"Keine Arbeitskopie verfügbar","editable_ws_dialog.view_mode.description.select_or_create":"Wählen Sie eine Arbeitskopie aus oder legen Sie eine neue an, um Inhalte zu ändern. Veröffentlichen Sie die Arbeitskopie nach Abschluss der Bearbeitung, oder lassen Sie sie veröffentlichen.","editable_ws_dialog.view_mode.description.select":"Wählen Sie eine Arbeitskopie aus, um Inhalte zu ändern. Veröffentlichen Sie die Arbeitskopie nach Abschluss der Bearbeitung, oder lassen Sie sie veröffentlichen.","editable_ws_dialog.view_mode.description.create":"Legen Sie eine neue Arbeitskopie an, um Inhalte zu ändern. Veröffentlichen Sie die Arbeitskopie nach Abschluss der Bearbeitung, oder lassen Sie sie veröffentlichen.","editable_ws_dialog.view_mode.description.forbidden":"Es gibt keine Arbeitskopie, in der Sie Inhalte ändern könnten. Auch wurde es Ihnen nicht ermöglicht, Arbeitskopien anzulegen.","editable_ws_dialog.transfer_changes.title.select_or_create":"Ziel-Arbeitskopie auswählen","editable_ws_dialog.transfer_changes.title.select":"Ziel-Arbeitskopie auswählen","editable_ws_dialog.transfer_changes.title.create":"Ziel-Arbeitskopie anlegen","editable_ws_dialog.transfer_changes.title.forbidden":"Keine Arbeitskopie verfügbar","editable_ws_dialog.transfer_changes.description.select_or_create":"Die Änderungen können in eine bestehende oder in eine neue Arbeitskopie verschoben werden.","editable_ws_dialog.transfer_changes.description.select":"Die Änderungen werden in die ausgewählte Arbeitskopie verschoben.","editable_ws_dialog.transfer_changes.description.create":"Bitte erstellen Sie die Ziel-Arbeitskopie","editable_ws_dialog.transfer_changes.description.forbidden":"Sie sind nicht dazu berechtigt, Änderungen in eine bestehende Arbeitskopie zu verschieben.","editable_ws_dialog.choose_existing":"Wählen Sie eine bestehende Arbeitskopie aus:","editable_ws_dialog.create_new":"Legen Sie eine neue Arbeitskopie an:","editable_ws_dialog.or_create_new":"Oder legen Sie eine neue an:","editable_ws_dialog.create_new_playholder":"Titel der neuen Arbeitskopie","editable_ws_dialog.select":"Auswählen","loader_error.title":"Beim Laden der Daten ist ein Fehler aufgetreten. Bitte versuchen Sie es später erneut. Falls das Problem bestehen bleibt, wenden Sie sich bitte an Ihren technischen Ansprechpartner für diese Website.","publish_history_dialog.close":"Schließen","publish_history_dialog.info":"Wählen Sie aus der Liste eine Arbeitskopie, um einen archivierten Stand Ihrer Website zu sehen. Lernen Sie mehr über den ","publish_history_dialog.link":"Veröffentlichungsverlauf","publish_history_dialog.revision_list.changes_count":"Geändert","publish_history_dialog.revision_list.changes_count.many":"$1 Objekte","publish_history_dialog.revision_list.changes_count.not_available":"Nicht verfügbar","publish_history_dialog.revision_list.changes_count.one":"1 Objekt","publish_history_dialog.revision_list.is_limited":"Die Zahl der maximal angezeigten Verlaufseinträge ($1) hängt von Ihrem Tarif ab.","publish_history_dialog.revision_list.not_restorable":"Dies sind die aktuell veröffentlichten Inhalte.","publish_history_dialog.revision_list.published_at":"Veröffentlicht ","publish_history_dialog.title":"Veröffentlichungsverlauf","sidebar.browse_content_button.hint":"Content Browser öffnen","sidebar.browse_content_button.hint.is_disabled":"Der Content Browser ist nicht verfügbar, während gelöschte Inhalte angezeigt werden.","sidebar.details_button.hint":"Seiteneigenschaften anzeigen","sidebar.details_button.hint.active":"Seiteneigenschaften","sidebar.workspaces_button.hint":"Arbeitskopien anzeigen","sidebar.workspaces_button.hint.active":"Arbeitskopien","sidebar.devices_button.hint":"Seite in verschiedenen Größen betrachten","sidebar.devices_button.hint.active":"Seite in verschiedenen Größen","sidebar.hide_controls_button.hint":"Bedienleiste verstecken","sidebar.notifications_button.hint":"Benachrichtigungen anzeigen","sidebar.notifications_button.hint.active":"Benachrichtigungen","sidebar.workspace_list.workspace_item.hint.is_disabled":"Diese Arbeitskopie kann aufgrund fehlender Benutzerrechte nicht ausgewählt werden","sidebar.workspace_list.workspace_item.hint.is_selectable":"Diese Arbeitskopie auswählen","sidebar.workspace_list.workspace_item.hint.is_published":"Veröffentlichte Inhalte auswählen","sidebar.workspace_list.workspace_item.hint":"Ausgewählte Arbeitskopie","sidebar.workspace_list.workspace_item.delete":"Diese Arbeitskopie löschen","sidebar.workspaces_panel.general_workspaces_group.title":"Arbeitskopien","sidebar.workspaces_panel.current_workspace_group.title":"Diese Arbeitskopie","sidebar.workspaces_panel.other_workspaces_group.title":"Andere Arbeitskopien","sidebar.workspaces_panel.create_workspace_button.title":"Neu","sidebar.workspaces_panel.create_workspace_button.hint":"Eine Arbeitskopie anlegen","sidebar.workspaces_panel.create_workspace_button.is_disabled":"Eine Arbeitskopie kann aufgrund fehlender Benutzerrechte nicht angelegt werden.","sidebar.workspaces_panel.publish_history_button.title":"Verlauf","sidebar.workspaces_panel.publish_history_button.hint":"Veröffentlichungsverlauf anzeigen","sidebar.workspaces_panel.publish_history_button.is_disabled":"Der Veröffentlichungsverlauf kann aufgrund fehlender Benutzerrechte nicht angezeigt werden.","sidebar.workspaces_panel.changes_button.title":"Änderungen","sidebar.workspaces_panel.changes_button.hint":"Änderungen in dieser Arbeitskopie anzeigen","sidebar.workspaces_panel.changes_button.is_forbidden":"Die Änderungen in dieser Arbeitskopie können aufgrund fehlender Benutzerrechte nicht angezeigt werden.","sidebar.workspaces_panel.publish_button.title":"Veröffentlichen","sidebar.workspaces_panel.publish_button.hint":"Diese Arbeitskopie veröffentlichten","sidebar.workspaces_panel.publish_button.is_forbidden":"Die Arbeitskopie kann aufgrund fehlender Benutzerrechte nicht veröffentlicht werden.","sidebar.workspaces_panel.rebase_button.title":"Aktualisieren","sidebar.workspaces_panel.rebase_button.hint":"Diese Arbeitskopie aktualisieren","sidebar.workspaces_panel.rebase_button.is_forbidden":"Die Arbeitskopie kann aufgrund fehlender Benutzerrechte nicht aktualisiert werden.","sidebar.workspaces_panel.settings_button.title":"Einstellungen","sidebar.workspaces_panel.settings_button.hint":"Einstellungen dieser Arbeitskopie bearbeiten","sidebar.workspaces_panel.settings_button.is_forbidden":"Die Einstellungen der Arbeitskopie können aufgrund fehlender Benutzerrechte nicht bearbeitet werden.","sidebar.notifications_panel.publish_restrictions_group.title":"Veröffentlichung nicht möglich","sidebar.notifications_panel.potential_conflicts_group.title":"Potenzieller Konflikt","sidebar.notifications_panel.potential_conflicts_group.description":"Änderungen an dieser Seite führen beim Veröffentlichen zu einem Konflikt. Die Seite wurde bereits in folgenden Arbeitskopien geändert:","sidebar.notifications_panel.conflict_group.title":"Konflikt","sidebar.notifications_panel.conflict_group.description1":"Eine andere Version dieser Seite wurde zwischenzeitlich veröffentlicht. ","sidebar.notifications_panel.conflict_group.link":"Lösen Sie den Konflikt","sidebar.notifications_panel.conflict_group.description2":", um diese Arbeitskopie veröffentlichen zu können.","sidebar.notifications_panel.no_notifications":"Derzeit keine Benachrichtigungen.","sidebar.devices_panel.title":"Vorschaugrößen","sidebar.devices_panel.device.desktop":"Desktop","sidebar.devices_panel.device.laptop":"Laptop","sidebar.devices_panel.device.mobile":"Mobiltelefon im Hochformat","sidebar.devices_panel.device.tablet":"Tablet im Hochformat","resource_dialog.commands.mark_resolved_obj.dialog.description":"Diese Ressource wurde in einer anderen, inzwischen veröffentlichten Arbeitskopie geändert. Bitte bestätigen Sie, dass Ihre Änderungen erhalten und die parallel durchgeführten Änderungen verworfen werden.","resource_dialog.commands.mark_resolved_obj.title":"Parallele Änderungen an der Ressource überschreiben","resource_dialog.commands.restore_obj.title":"Ressource wiederherstellen","resource_dialog.title":'Eigenschaften der Ressource "$1"',"menu_bar.create":"Anlegen","saving_indicator_item.saving":"Wird gespeichert...","saving_indicator_item.saved":"Änderungen gespeichert","inplace_marker.overlapping":"Zwei oder mehrere Menü-Handles überschneiden sich. Bitte passen Sie Ihr CSS an. Die folgenden Menü-Handles überschneiden sich:","widget_marker.widget_is_new":"Widget ist neu","widget_marker.widget_is_edited":"Widget wurde geändert","widget_marker.widget_is_edited_and_dragged_here":"Widget wurde geändert und hierher gezogen","widget_marker.widget_is_edited_and_dragged_away":"Widget wurde geändert und von hier weggezogen","widget_marker.widget_is_deleted":"Widget wurde gelöscht","widget_marker.widget_is_dragged_here":"Widget wurde hierher gezogen","widget_marker.widget_is_dragged_away":"Widget wurde von hier weggezogen","child_list_menu.description":"Elemente von $1","transfer_errors_dialog.title":"Fehler beim Verschieben von Änderungen","transfer_errors_dialog.modified":"Einige der Änderungen konnten nicht verschoben werden, weil die betreffenden Inhalte auch in der Ziel-Arbeitskopie modifiziert wurden.","transfer_errors_dialog.conflicting":"Einige der Änderungen wurden nicht verschoben, weil die betreffenden Inhalte in der Ziel-Arbeitskopie nicht aktuell sind. Die Änderungen auf diese Inhalte anzuwenden, würde zu einem Konflikt führen. Bitte stellen Sie sicher, dass beide Arbeitskopien aktualisiert wurden und konfliktfrei sind.","current_page_link_dialog.title":"Seite teilen","current_page_link_dialog.description":"Mit dieser URL können Sie die aktuelle Seite als Teil dieser Arbeitskopie teilen. Die Empfänger müssen angemeldet sein und Zugriff auf die Arbeitskopie haben.","error_dialog.toggle_details":"Technische Details","error_dialog.error_details":"Technische Details","commands.open_obj_in_content_browser.title":"Im Content Browser öffnen","commands.navigate_ui_to_obj.title":"Zum Objekt navigieren","commands.open_page_link_dialog.title":"Seite teilen","commands.open_page_link_dialog.is_deleted":"Eine gelöschte Seite kann nicht geteilt werden, weil sie in der Vorschau nicht zugänglich ist","commands.create_workspace.dialog.title":"Arbeitskopie anlegen","commands.create_workspace.dialog.description":"Bitte geben Sie den Titel der neuen Arbeitskopie ein.","commands.create_workspace.dialog.placeholder":"Neuer Titel","commands.create_workspace.dialog.accept":"Anlegen","commands.open_user_guide.title":"Hilfe öffnen","commands.rebase_workspace.has_conflicts.title":"Geänderte Inhalte wurden zwischenzeitlich veröffentlicht","commands.rebase_workspace.has_conflicts.description":"Ihre Arbeitskopie konnte nicht vollständig aktualisiert werden. Einige Inhalte wurden auch in einer anderen Arbeitskopie geändert, die inzwischen veröffentlicht wurde. Bitte entnehmen Sie die Details der Liste der Änderungen.","commands.rebase_workspace.open_changes_dialog":"Änderungen anzeigen","workflows.delete_workspace.dialog.title":'Wirklich "$1" löschen?',"workflows.delete_workspace.dialog.description":"Eine gelöschte Arbeitskopie kann nicht wiederhergestellt werden.","workflows.delete_workspace.dialog.confirm":"Löschen","workflows.change_permalink.dialog.title":'Permalink von "$1" ändern',"workflows.change_permalink.dialog.placeholder":"Bitte geben Sie einen neuen Permalink ein.","workflows.change_permalink.dialog.change":"Ändern","workflows.change_permalink.info.is_taken":'Der Permalink "$1" wird bereits verwendet.',"workflows.change_permalink.info.is_invalid":'Der Permalink "$1" ist nicht zulässig: Ein Permalink darf nur die Buchstaben von A bis Z, Punkte, Trenn- und Unterstriche enthalten.',"workflows.change_permalink.info.is_scrivito":'Der Permalink "$1" ist nicht zulässig: Ein Permalink darf nicht "scrivito" lauten und darf nicht mit "scrivito/" anfangen.',"commands.restore_workspace.dialog.confirm":"Anlegen","commands.restore_workspace.dialog.description":'Dies legt eine Arbeitskopie an, die den archivierten Stand Ihrer Website enthält, nachdem "$1" veröffentlicht wurde.',"commands.restore_workspace.dialog.title":'"$1" anlegen?',"commands.restore_workspace.workspace_title":"Archiviert: $1","commands.open_page_details.title.editing_mode":"Seiteneigenschaften bearbeiten","commands.open_page_details.title":"Seiteneigenschaften anzeigen","commands.open_page_details.dialog.title.editing_mode":'Eigenschaften von "$1" bearbeiten',"commands.open_page_details.dialog.title":'Eigenschaften von "$1" anzeigen',"commands.open_page_details.is_disabled":"Diese Seite hat keine Eigenschaften","commands.save_obj_to_clipboard.title":"Seite kopieren oder verschieben","commands.save_obj_to_clipboard.has_children":"Seiten mit Unterseiten können noch nicht verschoben oder kopiert werden.","commands.save_obj_to_clipboard.is_deleted":"Gelöschte Seiten können nocht nicht verschoben oder kopiert werden.","confirm_delete_dialog.cancel":"Abbrechen","confirm_delete_dialog.confirm":"Löschen","confirm_delete_dialog.confirm.has_backlinks":"Trotzdem löschen","confirm_delete_dialog.is_edited":"Diese $1 kann bei Bedarf später wiederhergestellt werden, jedoch ohne die Änderungen, die in der aktuellen Arbeitskopie an ihr vorgenommen wurden.","confirm_delete_dialog.is_new":"Sie sind dabei, eine neue $1 dieser Arbeitskopie zu löschen. Dies kann nicht rückgängig gemacht werden. Bei Bedarf können Sie die $1 jedoch erneut erstellen und verlinken.","confirm_delete_dialog.one_obj_to_delete.many_backlinks":"$1 Objekte verlinken dieses $2:","confirm_delete_dialog.many_objs_to_delete.many_backlinks":"$1 Objekte verlinken diese $2:","confirm_delete_dialog.not_modified":"Diese $1 kann bei Bedarf später wiederhergestellt werden.","confirm_delete_dialog.one_obj_to_delete.one_backlink":"Ein Objekt verlinkt dieses $1:","confirm_delete_dialog.many_objs_to_delete.one_backlink":"Ein Objekt verlinkt diese $1:","confirm_delete_dialog.title":"Sind Sie sicher, dass Sie diese $1 löschen möchten?","confirm_delete_dialog.title.many_subjects":"Sind Sie sicher, dass Sie diese $1 löschen möchten?","commands.delete_obj.has_children":"Seiten mit Unterseiten können noch nicht gelöscht werden.","commands.delete_obj.published_workspace":"Die veröffentlichten Inhalte können nicht direkt geändert werden.","commands.delete_obj.title":"$1 löschen","commands.revert_obj.title":"Änderungen an Seite verwerfen","commands.revert_obj.published_workspace":"Die veröffentlichten Inhalte können nicht direkt geändert werden. Daher gibt es nichts zu verwerfen.","commands.revert_obj.is_new":"Dies ist eine neue Seite. Um die Erstellung dieser Seite rückgängig zu machen, löschen Sie sie bitte.","commands.revert_obj.unmodified":"Diese Seite wurde nicht geändert. Daher gibt es nichts zu verwerfen.","commands.revert_obj.dialog.title":"Wirklich Änderungen an dieser Seite verwerfen?","commands.revert_obj.dialog.description":"Verworfene Änderungen können nicht wiederhergestellt werden.","commands.revert_obj.dialog.confirm":"Verwerfen","commands.revert_resource.title":"Änderungen an Ressource verwerfen","commands.revert_resource.is_new":"Dies ist eine neue Ressource. Um die Erstellung dieser Ressource rückgängig zu machen, löschen Sie sie bitte.","commands.revert_resource.dialog.title":"Wirklich Änderungen an dieser Ressource verwerfen?","commands.revert_resource.dialog.description":"Verworfene Änderungen können nicht wiederhergestellt werden.","commands.revert_resource.dialog.confirm":"Verwerfen","commands.revert_widget.title":"Änderungen am Widget verwerfen","commands.revert_widget.is_new":"Dies ist ein neues Widget. Um die Erstellung dieses Widgets rückgängig zu machen, löschen Sie es bitte.","commands.revert_widget.is_not_modified":"Dieses Widget wurde nicht geändert. Daher gibt es nichts zu verwerfen.","commands.revert_widget.dialog.title":"Wirklich Änderungen an diesem Widget verwerfen?","commands.revert_widget.dialog.description":"Verworfene Änderungen können nicht wiederhergestellt werden.","commands.revert_widget.dialog.confirm":"Verwerfen","commands.restore_widget.title":"Widget wiederherstellen","commands.restore_obj.title":"Seite wiederherstellen","commands.mark_resolved_obj.title":"Parallele Änderungen an der Seite überschreiben","commands.mark_resolved_obj.dialog.title":"Wirklich parallele Änderungen an der Seite überschreiben?","commands.mark_resolved_obj.dialog.description":"Diese Seite wurde in einer anderen, inzwischen veröffentlichten Arbeitskopie geändert. Bitte bestätigen Sie, dass Ihre Änderungen erhalten und die parallel durchgeführten Änderungen verworfen werden.","commands.mark_resolved_obj.dialog.confirm":"Änderungen überschreiben","commands.duplicate_obj.title":"Seite duplizieren","commands.duplicate_obj.published_workspace":"Die veröffentlichten Inhalte können nicht direkt geändert werden.","commands.duplicate_obj.has_children":"Seiten mit Unterseiten können noch nicht dupliziert werden.","commands.duplicate_widget.title":"Widget duplizieren","commands.create_page.title":"Neue Seite","commands.create_page.published_workspace":"Verwenden Sie eine Arbeitskopie, um Seiten anzulegen oder bestehende Inhalte zu ändern.","commands.add_subpage.child_list.no_path":"Unterseiten können nur zu Seiten hinzugefügt werden, die einen Pfad haben.","commands.add_subpage.child_list.title":"Seite hinzufügen","commands.add_subpage.child_list.tooltip":'Eine Seite zu "$1" hinzufügen',"commands.add_subpage.child_list.published_workspace":"Verwenden Sie eine Arbeitskopie, um Unterseiten hinzuzufügen.","commands.add_subpage.current_page.no_path":"Unterseiten können nur zu Seiten hinzugefügt werden, die einen Pfad haben. Die aktuelle Seite hat keinen Pfad.","commands.add_subpage.current_page.title":"Unterseite hinzufügen","commands.add_subpage.current_page.tooltip":'Eine Unterseite zu "$1" hinzufügen',"commands.add_subpage.current_page.published_workspace":"Verwenden Sie eine Arbeitskopie, um Unterseiten hinzuzufügen.","commands.copy_obj_from_clipboard.child_list.no_path":"Unterseiten können nur zu Seiten hinzugefügt werden, die einen Pfad haben.","commands.copy_obj_from_clipboard.child_list.paste_forbidden":"Aufgrund ihres Typs kann die Seite hier nicht eingefügt werden. Nur Seiten der folgenden Typen können hierher verschoben oder kopiert werden: $1","commands.copy_obj_from_clipboard.child_list.title":"Seite hier einfügen","commands.copy_obj_from_clipboard.child_list.tooltip":'Seite "$1" unterhalb von "$2" einfügen.',"commands.copy_obj_from_clipboard.child_list.published_workspace":"Verwenden Sie eine Arbeitskopie, um Unterseiten hinzuzufügen.","commands.copy_obj_from_clipboard.child_list.obj_not_present":"Es befindet sich keine Seite in der Zwischenablage","commands.copy_obj_from_clipboard.current_page.no_path":"Unterseiten können nur zu Seiten hinzugefügt werden, die einen Pfad haben. Die aktuelle Seite hat keinen Pfad.","commands.copy_obj_from_clipboard.current_page.paste_forbidden":"Aufgrund ihres Typs kann die Seite hier nicht eingefügt werden. Nur Seiten der folgenden Typen können hierher verschoben oder eingefügt werden: $1","commands.copy_obj_from_clipboard.current_page.title":"Als Unterseite einfügen","commands.copy_obj_from_clipboard.current_page.tooltip":'Erstelle eine Kopie von "$1" und verwende sie als eine Unterseite von "$2".',"commands.copy_obj_from_clipboard.current_page.published_workspace":"Verwenden Sie eine Arbeitskopie, um Unterseiten hinzuzufügen.","commands.copy_obj_from_clipboard.current_page.obj_not_present":"Es befindet sich keine Seite in der Zwischenablage","commands.move_obj_from_clipboard.child_list.forbidden.invalid_class":"Aufgrund ihres Typs kann die Seite hier nicht eingefügt werden. Nur Seiten der folgenden Typen können hierher verschoben oder kopiert werden: $1","commands.move_obj_from_clipboard.child_list.forbidden.invalid_workspace":"Eine Seite kann nur innerhalb ihrer Arbeitskopie verschoben werden.","commands.move_obj_from_clipboard.child_list.forbidden.no_path":"Unterseiten können nur zu Seiten hinzugefügt werden, die einen Pfad haben.","commands.move_obj_from_clipboard.child_list.forbidden.obj_identity":"Eine Seite kann nicht unter sich selbst verschoben werden.","commands.move_obj_from_clipboard.child_list.forbidden.obj_not_present":"Es befindet sich keine Seite in der Zwischenablage","commands.move_obj_from_clipboard.child_list.source_not_found":"Die zu verschiebende Seite konnte in der aktuellen Arbeitskopie nicht gefunden werden.","commands.move_obj_from_clipboard.child_list.title":"Seite hierher verschieben","commands.move_obj_from_clipboard.child_list.tooltip":'Seite "$1" unterhalb von "$2" verschieben.',"commands.move_obj_from_clipboard.current_page.forbidden.invalid_class":"Aufgrund ihres Typs kann die Seite hier nicht eingefügt werden. Nur Seiten der folgenden Typen können hierher verschoben oder hier eingefügt werden: $1","commands.move_obj_from_clipboard.current_page.forbidden.invalid_workspace":"Eine Seite kann nur innerhalb ihrer Arbeitskopie verschoben werden.","commands.move_obj_from_clipboard.current_page.forbidden.no_path":"Unterseiten können nur zu Seiten hinzugefügt werden, die einen Pfad haben. Die aktuelle Seite hat keinen Pfad.","commands.move_obj_from_clipboard.current_page.forbidden.obj_identity":"Eine Seite kann nicht unter sich selbst verschoben werden. Die aktuelle Seite liegt in der Zwischenablage.","commands.move_obj_from_clipboard.current_page.forbidden.obj_not_present":"Es befindet sich keine Seite in der Zwischenablage","commands.move_obj_from_clipboard.current_page.source_not_found":"Die zu verschiebende Seite konnte in der aktuellen Arbeitskopie nicht gefunden werden.","commands.move_obj_from_clipboard.current_page.title":"Als Unterseite hierher verschieben","commands.move_obj_from_clipboard.current_page.tooltip":'Füge "$1" als Unterseite von "$2" ein.',"obj_sorting_dialog.title":"Elemente sortieren","commands.sort_items.title":"Elemente sortieren","commands.sort_items.tooltip":"Reihenfolge der Elemente unterhalb $1 bearbeiten","commands.sort_items.auto_sort":"Diese Navigation wird automatisch sortiert.","commands.sort_items.too_less_children":"Die Navigation kann nicht sortiert werden, weil sie weniger als zwei Elemente enthält.","commands.choose_and_create_widget.title":"Widget einfügen","commands.choose_and_create_widget.disabled":"Sie können hier keine Widgets einfügen.","commands.create_widget.title":"$1 einfügen","commands.widget_details.title":"Widget-Eigenschaften","commands.widget_details.has_no_properties":"Dieses Widget hat keine Eigenschaften","commands.widget_details.dialog.title":'Eigenschaften von "$1"',"commands.save_widget_to_clipboard.title":"Widget kopieren","commands.copy_widget_from_clipboard.title":"Widget einfügen","commands.copy_widget_from_clipboard.paste_forbidden":"Aufgrund seines Typs kann das Widget hier nicht eingefügt werden. Nur Widgets der folgenden Typen können hierher verschoben oder kopiert werden: $1.","commands.delete_widget.title":"Widget löschen","commands.delete_widget.dialog.title":"Wirklich dieses Widget löschen?","commands.delete_widget.dialog.description":"Ein gelöschtes Widget kann nicht wiederhergestellt werden.","commands.delete_widget.dialog.confirm":"Löschen","topbar.show_menubar":"Bedienleiste einblenden","topbar.display_mode_selector.view_mode":"Vorschau","topbar.display_mode_selector.editing_mode":"Bearbeiten","topbar.display_mode_selector.diff_mode":"Vergleichen","topbar.display_mode_selector.is_selected":"Aktuell ausgewählter Anzeigemodus","topbar.saving_indicator.write_started":"Wird gespeichert...","topbar.saving_indicator.write_ended":"Änderungen gespeichert","topbar.warning.message":"Bitte die JS-Konsole prüfen","topbar.warning.alert_message":"Es gab Warnungen. Für Details, schauen Sie bitte in die JavaScript-Konsole.","topbar.current_page_menu.title.is_new":"Diese Seite ist neu.","topbar.current_page_menu.title.is_edited":"Diese Seite wurde geändert.","topbar.current_page_menu.title.is_deleted":"Diese Seite wurde gelöscht.","workflows.publish_workspace.dialog.confirm":"Veröffentlichen","workflows.publish_workspace.dialog.title":'"$1" veröffentlichen?',"workflows.publish_workspace.dialog.description":"Sie können diese Veröffentlichung mit Hilfe des Veröffentlichungsverlaufs rückgängig machen.","workflows.publish_workspace.error_dialog.title":"Arbeitskopie konnte nicht veröffentlicht werden","workflows.publish_workspace.error_dialog.description":"Bitte entnehmen Sie die Details der Liste der Änderungen.","workflows.publish_workspace.error_dialog.confirm":"Liste der Änderungen","workflows.publish_workspace.alert.invalid_certificates":"Die Arbeitskopie konnte nicht veröffentlicht werden, weil mindestens ein Benutzer gerade Inhalte darin ändert.",ajax_error:"Die Kommunikation mit dem CMS ist aufgrund eines Fehlers fehlgeschlagen: $1","ajax_error.communication":"Die Kommunikation mit dem CMS ist fehlgeschlagen. Bitte überprüfen Sie Ihre Netzwerkverbindung.","ajax_error.message_for_editor":"Bei Ihrer letzten Aktion ist ein technischer Fehler aufgetreten. Bitte versuchen Sie es später noch einmal. Falls das Problem bestehen bleibt, wenden Sie sich bitte an Ihren technischen Ansprechpartner für diese Website und geben Sie bitte die technischen Details an.","workspace_limit_exceeded.message":"In Ihrem Tarif sind keine weiteren Arbeitskopien verfügbar.",warn_before_unloading:"Es gibt nicht gespeicherte Änderungen! Möchten Sie das Browserfenster trotzdem schließen?","widgetlist_field_element.markup_error":"Scrivito hat festgestellt, dass eines der Widgets invalides Markup aufweist. Bitte laden Sie die Seite neu und versuchen Sie es noch einmal. Falls das Problem bestehen bleibt, wenden Sie sich bitte an Ihren technischen Ansprechpartner für diese Website.","test.two_arguments":"$1, $2","test.four_arguments":"$1, $2, $3, $4","properties_component.binary_attribute_component.empty":"Nicht gesetzt"})},function(e,t,n){"use strict";function r(e){var t=new URI(e);return t.path(t.path().replace(/^\/scrivito/,"")),t.toString()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r}]);