Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@afp/data-driven-video-ui

Package Overview
Dependencies
Maintainers
2
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@afp/data-driven-video-ui - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

dist/dataDrivenVideoUi.umd.min.js

@@ -1,2 +0,2 @@

(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["dataDrivenVideoUi"]=e():t["dataDrivenVideoUi"]=e()})("undefined"!==typeof self?self:this,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fae3")}({"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),a=n("32e9"),s=n("84f2"),c=n("41a0"),u=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",h="keys",v="values",m=function(){return this};t.exports=function(t,e,n,g,y,b,_){c(n,e,g);var w,x,S,$=function(t){if(!p&&t in M)return M[t];switch(t){case h:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",j=y==v,k=!1,M=t.prototype,L=M[f]||M[d]||y&&M[y],C=L||$(y),E=y?j?$("entries"):C:void 0,A="Array"==e&&M.entries||L;if(A&&(S=l(A.call(new t)),S!==Object.prototype&&S.next&&(u(S,O,!0),r||"function"==typeof S[f]||a(S,f,m))),j&&L&&L.name!==v&&(k=!0,C=function(){return L.call(this)}),r&&!_||!p&&!k&&M[f]||a(M,f,C),s[e]=C,s[O]=m,y)if(w={values:j?C:$(v),keys:b?C:$(h),entries:E},_)for(x in w)x in M||o(M,x,w[x]);else i(i.P+i.F*(p||k),e,w);return w}},"0a49":function(t,e,n){var r=n("9b43"),i=n("626a"),o=n("4bf8"),a=n("9def"),s=n("cd1c");t.exports=function(t,e){var n=1==t,c=2==t,u=3==t,l=4==t,f=6==t,p=5==t||f,d=e||s;return function(e,s,h){for(var v,m,g=o(e),y=i(g),b=r(s,h,3),_=a(y.length),w=0,x=n?d(e,_):c?d(e,0):void 0;_>w;w++)if((p||w in y)&&(v=y[w],m=b(v,w,g),t))if(n)x[w]=m;else if(m)switch(t){case 3:return!0;case 5:return v;case 6:return w;case 2:x.push(v)}else if(l)return!1;return f?-1:u||l?l:x}}},"0bed":function(t,e,n){},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},1169:function(t,e,n){var r=n("2d95");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"11e9":function(t,e,n){var r=n("52a7"),i=n("4630"),o=n("6821"),a=n("6a99"),s=n("69a8"),c=n("c69a"),u=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?u:function(t,e){if(t=o(t),e=a(e,!0),c)try{return u(t,e)}catch(t){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);var n,a=o(e),s=a.length,c=0;while(s>c)r.f(t,n=a[c++],e[n]);return t}},"1d9f":function(t,e,n){"use strict";var r=n("97ab"),i=n.n(r);i.a},"1eb2":function(t,e,n){var r;"undefined"!==typeof window&&((r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js$/))&&(n.p=r[1]))},"214f":function(t,e,n){"use strict";var r=n("32e9"),i=n("2aba"),o=n("79e5"),a=n("be13"),s=n("2b4c");t.exports=function(t,e,n){var c=s(t),u=n(a,c,""[t]),l=u[0],f=u[1];o(function(){var e={};return e[c]=function(){return 7},7!=""[t](e)})&&(i(String.prototype,t,l),r(RegExp.prototype,c,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)}))}},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"2aba":function(t,e,n){var r=n("7726"),i=n("32e9"),o=n("69a8"),a=n("ca5a")("src"),s="toString",c=Function[s],u=(""+c).split(s);n("8378").inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,a)||i(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,s,function(){return"function"==typeof this&&this[a]||c.call(this)})},"2aeb":function(t,e,n){var r=n("cb7c"),i=n("1495"),o=n("e11e"),a=n("613b")("IE_PROTO"),s=function(){},c="prototype",u=function(){var t,e=n("230e")("iframe"),r=o.length,i="<",a=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+a+"document.F=Object"+i+"/script"+a),t.close(),u=t.F;while(r--)delete u[c][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[c]=r(t),n=new s,s[c]=null,n[a]=t):n=u(),void 0===e?n:i(n,e)}},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,a="function"==typeof o,s=t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))};s.store=r},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"32e9":function(t,e,n){var r=n("86cc"),i=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"38fd":function(t,e,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},"416b":function(t,e,n){"use strict";var r=n("9b8f"),i=n.n(r);i.a},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},"456d":function(t,e,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",function(){return function(t){return i(r(t))}})},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"497a":function(t,e,n){"use strict";var r=n("4caa"),i=n.n(r);i.a},"49d1":function(t,e,n){"use strict";var r=n("53bf"),i=n.n(r);i.a},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"4caa":function(t,e,n){},"52a7":function(t,e){e.f={}.propertyIsEnumerable},"53bf":function(t,e,n){},5537:function(t,e,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",a=i[o]||(i[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"5a0c":function(t,e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";var t="millisecond",e="second",n="minute",r="hour",i="day",o="week",a="month",s="year",c=/^(\d{4})-?(\d{1,2})-?(\d{0,2})(.*?(\d{1,2}):(\d{1,2}):(\d{1,2}))?.?(\d{1,3})?$/,u=/\[.*?\]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,l={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},f=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},p={padStart:f,padZoneStr:function(t){var e=Math.abs(t),n=Math.floor(e/60),r=e%60;return(t<=0?"+":"-")+f(n,2,"0")+":"+f(r,2,"0")},monthDiff:function(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(n,"months"),i=e-r<0,o=t.clone().add(n+(i?-1:1),"months");return Number(-(n+(e-r)/(i?r-o:o-r)))},absFloor:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},prettyUnit:function(c){return{M:a,y:s,w:o,d:i,h:r,m:n,s:e,ms:t}[c]||String(c||"").toLowerCase().replace(/s$/,"")},isUndefined:function(t){return void 0===t}},d="en",h={};h[d]=l;var v=function(t){return t instanceof _},m=function(t,e,n){var r;if(!t)return null;if("string"==typeof t)h[t]&&(r=t),e&&(h[t]=e,r=t);else{var i=t.name;h[i]=t,r=i}return n||(d=r),r},g=function(t,e){if(v(t))return t.clone();var n=e||{};return n.date=t,new _(n)},y=function(t,e){return g(t,{locale:e.$L})},b=p;b.parseLocale=m,b.isDayjs=v,b.wrapper=y;var _=function(){function l(t){this.parse(t)}var f=l.prototype;return f.parse=function(t){var e,n;this.$d=null===(e=t.date)?new Date(NaN):b.isUndefined(e)?new Date:e instanceof Date?e:"string"==typeof e&&/.*[^Z]$/i.test(e)&&(n=e.match(c))?new Date(n[1],n[2]-1,n[3]||1,n[5]||0,n[6]||0,n[7]||0,n[8]||0):new Date(e),this.init(t)},f.init=function(t){this.$y=this.$d.getFullYear(),this.$M=this.$d.getMonth(),this.$D=this.$d.getDate(),this.$W=this.$d.getDay(),this.$H=this.$d.getHours(),this.$m=this.$d.getMinutes(),this.$s=this.$d.getSeconds(),this.$ms=this.$d.getMilliseconds(),this.$L=this.$L||m(t.locale,null,!0)||d},f.$utils=function(){return b},f.isValid=function(){return!("Invalid Date"===this.$d.toString())},f.$compare=function(t){return this.valueOf()-g(t).valueOf()},f.isSame=function(t){return 0===this.$compare(t)},f.isBefore=function(t){return this.$compare(t)<0},f.isAfter=function(t){return this.$compare(t)>0},f.year=function(){return this.$y},f.month=function(){return this.$M},f.day=function(){return this.$W},f.date=function(){return this.$D},f.hour=function(){return this.$H},f.minute=function(){return this.$m},f.second=function(){return this.$s},f.millisecond=function(){return this.$ms},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(t,c){var u=this,l=!!b.isUndefined(c)||c,f=function(t,e){var n=y(new Date(u.$y,e,t),u);return l?n:n.endOf(i)},p=function(t,e){return y(u.toDate()[t].apply(u.toDate(),l?[0,0,0,0].slice(e):[23,59,59,999].slice(e)),u)};switch(b.prettyUnit(t)){case s:return l?f(1,0):f(31,11);case a:return l?f(1,this.$M):f(0,this.$M+1);case o:return f(l?this.$D-this.$W:this.$D+(6-this.$W),this.$M);case i:case"date":return p("setHours",0);case r:return p("setMinutes",1);case n:return p("setSeconds",2);case e:return p("setMilliseconds",3);default:return this.clone()}},f.endOf=function(t){return this.startOf(t,!1)},f.$set=function(o,c){switch(b.prettyUnit(o)){case i:this.$d.setDate(this.$D+(c-this.$W));break;case"date":this.$d.setDate(c);break;case a:this.$d.setMonth(c);break;case s:this.$d.setFullYear(c);break;case r:this.$d.setHours(c);break;case n:this.$d.setMinutes(c);break;case e:this.$d.setSeconds(c);break;case t:this.$d.setMilliseconds(c)}return this.init(),this},f.set=function(t,e){return this.clone().$set(t,e)},f.add=function(t,c){var u=this;t=Number(t);var l,f=b.prettyUnit(c),p=function(e,n){var r=u.set("date",1).set(e,n+t);return r.set("date",Math.min(u.$D,r.daysInMonth()))};if(f===a)return p(a,this.$M);if(f===s)return p(s,this.$y);switch(f){case n:l=6e4;break;case r:l=36e5;break;case i:l=864e5;break;case o:l=6048e5;break;case e:l=1e3;break;default:l=1}var d=this.valueOf()+t*l;return y(d,this)},f.subtract=function(t,e){return this.add(-1*t,e)},f.format=function(t){var e=this,n=t||"YYYY-MM-DDTHH:mm:ssZ",r=b.padZoneStr(this.$d.getTimezoneOffset()),i=this.$locale(),o=i.weekdays,a=i.months,s=function(t,e,n,r){return t&&t[e]||n[e].substr(0,r)};return n.replace(u,function(t){if(t.indexOf("[")>-1)return t.replace(/\[|\]/g,"");switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return String(e.$y);case"M":return String(e.$M+1);case"MM":return b.padStart(e.$M+1,2,"0");case"MMM":return s(i.monthsShort,e.$M,a,3);case"MMMM":return a[e.$M];case"D":return String(e.$D);case"DD":return b.padStart(e.$D,2,"0");case"d":return String(e.$W);case"dd":return s(i.weekdaysMin,e.$W,o,2);case"ddd":return s(i.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(e.$H);case"HH":return b.padStart(e.$H,2,"0");case"h":case"hh":return 0===e.$H?12:b.padStart(e.$H<13?e.$H:e.$H-12,"hh"===t?2:1,"0");case"a":return e.$H<12?"am":"pm";case"A":return e.$H<12?"AM":"PM";case"m":return String(e.$m);case"mm":return b.padStart(e.$m,2,"0");case"s":return String(e.$s);case"ss":return b.padStart(e.$s,2,"0");case"SSS":return b.padStart(e.$ms,3,"0");case"Z":return r;default:return r.replace(":","")}})},f.diff=function(t,c,u){var l=b.prettyUnit(c),f=g(t),p=this-f,d=b.monthDiff(this,f);switch(l){case s:d/=12;break;case a:break;case"quarter":d/=3;break;case o:d=p/6048e5;break;case i:d=p/864e5;break;case r:d=p/36e5;break;case n:d=p/6e4;break;case e:d=p/1e3;break;default:d=p}return u?d:b.absFloor(d)},f.daysInMonth=function(){return this.endOf(a).$D},f.$locale=function(){return h[this.$L]},f.locale=function(t,e){var n=this.clone();return n.$L=m(t,e,!0),n},f.clone=function(){return y(this.toDate(),this)},f.toDate=function(){return new Date(this.$d)},f.toArray=function(){return[this.$y,this.$M,this.$D,this.$H,this.$m,this.$s,this.$ms]},f.toJSON=function(){return this.toISOString()},f.toISOString=function(){return this.toDate().toISOString()},f.toObject=function(){return{years:this.$y,months:this.$M,date:this.$D,hours:this.$H,minutes:this.$m,seconds:this.$s,milliseconds:this.$ms}},f.toString=function(){return this.$d.toUTCString()},l}();return g.extend=function(t,e){return t(e,_,g),g},g.locale=m,g.isDayjs=v,g.en=h[d],g})},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),o=n("32e9"),a=n("2aba"),s=n("9b43"),c="prototype",u=function(t,e,n){var l,f,p,d,h=t&u.F,v=t&u.G,m=t&u.S,g=t&u.P,y=t&u.B,b=v?r:m?r[e]||(r[e]={}):(r[e]||{})[c],_=v?i:i[e]||(i[e]={}),w=_[c]||(_[c]={});for(l in v&&(n=e),n)f=!h&&b&&void 0!==b[l],p=(f?b:n)[l],d=y&&f?s(p,r):g&&"function"==typeof p?s(Function.call,p):p,b&&a(b,l,p,t&u.U),_[l]!=p&&o(_,l,d),g&&w[l]!=p&&(w[l]=p)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"5dbc":function(t,e,n){var r=n("d3f4"),i=n("8b97").set;t.exports=function(t,e,n){var o,a=e.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},"5eda":function(t,e,n){var r=n("5ca1"),i=n("8378"),o=n("79e5");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},"613b":function(t,e,n){var r=n("5537")("keys"),i=n("ca5a");t.exports=function(t){return r[t]||(r[t]=i(t))}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"6e9d":function(t,e,n){},7333:function(t,e,n){"use strict";var r=n("0d58"),i=n("2621"),o=n("52a7"),a=n("4bf8"),s=n("626a"),c=Object.assign;t.exports=!c||n("79e5")(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){var n=a(t),c=arguments.length,u=1,l=i.f,f=o.f;while(c>u){var p,d=s(arguments[u++]),h=l?r(d).concat(l(d)):r(d),v=h.length,m=0;while(v>m)f.call(d,p=h[m++])&&(n[p]=d[p])}return n}:c},"73ee":function(t,e,n){},7514:function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(5),o="find",a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(o)},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var r=n("4588"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},"7f7f":function(t,e,n){var r=n("86cc").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,a="name";a in i||n("9e1e")&&r(i,a,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},8378:function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},"84ed":function(t,e,n){"use strict";var r=n("0bed"),i=n.n(r);i.a},"84f2":function(t,e){t.exports={}},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),a=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8b97":function(t,e,n){var r=n("d3f4"),i=n("cb7c"),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},9093:function(t,e,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"96cf":function(t,e){!function(e){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag",u="object"===typeof t,l=e.regeneratorRuntime;if(l)u&&(t.exports=l);else{l=e.regeneratorRuntime=u?t.exports:{},l.wrap=_;var f="suspendedStart",p="suspendedYield",d="executing",h="completed",v={},m={};m[a]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(A([])));y&&y!==r&&i.call(y,a)&&(m=y);var b=$.prototype=x.prototype=Object.create(m);S.prototype=b.constructor=$,$.constructor=S,$[c]=S.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===S||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,$):(t.__proto__=$,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(b),t},l.awrap=function(t){return{__await:t}},O(j.prototype),j.prototype[s]=function(){return this},l.AsyncIterator=j,l.async=function(t,e,n,r){var i=new j(_(t,e,n,r));return l.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},O(b),b[c]="Generator",b[a]=function(){return this},b.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){while(e.length){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=A,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,i){return s.type="throw",s.arg=t,e.next=r,i&&(e.method="next",e.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:A(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),v}}}function _(t,e,n,r){var i=e&&e.prototype instanceof x?e:x,o=Object.create(i.prototype),a=new E(r||[]);return o._invoke=k(t,n,a),o}function w(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function x(){}function S(){}function $(){}function O(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function j(t){function e(n,r,o,a){var s=w(t[n],t,r);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"===typeof u&&i.call(u,"__await")?Promise.resolve(u.__await).then(function(t){e("next",t,o,a)},function(t){e("throw",t,o,a)}):Promise.resolve(u).then(function(t){c.value=t,o(c)},a)}a(s.arg)}var n;function r(t,r){function i(){return new Promise(function(n,i){e(t,r,n,i)})}return n=n?n.then(i,i):i()}this._invoke=r}function k(t,e,n){var r=f;return function(i,o){if(r===d)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return T()}n.method=i,n.arg=o;while(1){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var c=w(t,e,n);if("normal"===c.type){if(r=n.done?h:p,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}function M(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,M(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=w(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,v;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,v):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function A(t){if(t){var e=t[a];if(e)return e.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){while(++r<t.length)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=n,e.done=!0,e};return o.next=o}}return{next:T}}function T(){return{value:n,done:!0}}}(function(){return this}()||Function("return this")())},"97ab":function(t,e,n){},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9b8f":function(t,e,n){},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"9e28":function(t,e,n){},a481:function(t,e,n){n("214f")("replace",2,function(t,e,n){return[function(r,i){"use strict";var o=t(this),a=void 0==r?void 0:r[e];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},n]})},aa77:function(t,e,n){var r=n("5ca1"),i=n("be13"),o=n("79e5"),a=n("fdef"),s="["+a+"]",c="​…",u=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),f=function(t,e,n){var i={},s=o(function(){return!!a[t]()||c[t]()!=c}),u=i[t]=s?e(p):a[t];n&&(i[n]=u),r(r.P+r.F*s,"String",i)},p=f.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(l,"")),t};t.exports=f},ac6a:function(t,e,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),a=n("7726"),s=n("32e9"),c=n("84f2"),u=n("2b4c"),l=u("iterator"),f=u("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=i(d),v=0;v<h.length;v++){var m,g=h[v],y=d[g],b=a[g],_=b&&b.prototype;if(_&&(_[l]||s(_,l,p),_[f]||s(_,f,g),c[g]=p,y))for(m in r)_[m]||o(_,m,r[m],!0)}},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c366:function(t,e,n){var r=n("6821"),i=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,a){var s,c=r(e),u=i(c.length),l=o(a,u);if(t&&n!=n){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},c5f6:function(t,e,n){"use strict";var r=n("7726"),i=n("69a8"),o=n("2d95"),a=n("5dbc"),s=n("6a99"),c=n("79e5"),u=n("9093").f,l=n("11e9").f,f=n("86cc").f,p=n("aa77").trim,d="Number",h=r[d],v=h,m=h.prototype,g=o(n("2aeb")(m))==d,y="trim"in String.prototype,b=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){e=y?e.trim():p(e,3);var n,r,i,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var a,c=e.slice(2),u=0,l=c.length;u<l;u++)if(a=c.charCodeAt(u),a<48||a>i)return NaN;return parseInt(c,r)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof h&&(g?c(function(){m.valueOf.call(n)}):o(n)!=d)?a(new v(b(e)),n,h):b(e)};for(var _,w=n("9e1e")?u(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;w.length>x;x++)i(v,_=w[x])&&!i(h,_)&&f(h,_,l(v,_));h.prototype=m,m.constructor=h,n("2aba")(r,d,h)}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cadf:function(t,e,n){"use strict";var r=n("9c6c"),i=n("d53b"),o=n("84f2"),a=n("6821");t.exports=n("01f9")(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},cd1c:function(t,e,n){var r=n("e853");t.exports=function(t,e){return new(r(t))(e)}},ce10:function(t,e,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),a=n("613b")("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);while(e.length>c)r(s,n=e[c++])&&(~o(u,n)||u.push(n));return u}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},dee8:function(t,e,n){"use strict";var r=n("9e28"),i=n.n(r);i.a},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e853:function(t,e,n){var r=n("d3f4"),i=n("1169"),o=n("2b4c")("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&(e=e[o],null===e&&(e=void 0))),void 0===e?Array:e}},e977:function(t,e,n){"use strict";var r=n("73ee"),i=n.n(r);i.a},ebf2:function(t,e,n){"use strict";var r=n("6e9d"),i=n.n(r);i.a},f751:function(t,e,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fae3:function(t,e,n){"use strict";n.r(e);n("1eb2");var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"template"},[n("h1",[t._v("Template "),n("em",[t._v(t._s(t.templateName))])]),t.loading?n("p",[t._v("Loading •••")]):t.rendering?n("section",{staticClass:"wraper"},[n("results",{attrs:{jobs:t.jobs}})],1):n("section",{staticClass:"wrapper"},[n("settingsForm",{attrs:{"specific-origin-model":t.specificOriginModel,"specific-translations-model":t.specificTranslationsModel,"locales-allowed":t.localesAllowed},on:{previsualize:function(e){t.previsualizationConfig=e},validate:t.validate}}),n("preview",{attrs:{config:t.previsualizationConfig}})],1)])},i=[];n("7514"),n("96cf");function o(t){return function(){var e=this,n=arguments;return new Promise(function(r,i){var o=t.apply(e,n);function a(t,e){try{var n=o[t](e),a=n.value}catch(t){return void i(t)}n.done?r(a):Promise.resolve(a).then(s,c)}function s(t){a("next",t)}function c(t){a("throw",t)}s()})}}var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"settingsForm"},[0!==t.specificOriginModel.length?n("fieldset",{staticClass:"specific-setting"},[n("legend",[t._v("\n Version originale\n ")]),t._l(t.specificOriginModel,function(e){return n("setting-form-item",{key:"settingOrigin_"+e.name,attrs:{name:e.name,label:e.label}},[n("setting-input",{attrs:{name:e.name,type:e.type,"initial-value":e.value},model:{value:t.specific.origin[e.name],callback:function(n){t.$set(t.specific.origin,e.name,n)},expression:"specific.origin[setting.name]"}})],1)}),n("button",{attrs:{type:"button"},on:{click:function(e){t.sendPreview()}}},[t._v("\n preview\n ")])],2):t._e(),n("select",{directives:[{name:"model",rawName:"v-model",value:t.lastLocaleAdded,expression:"lastLocaleAdded"}],staticClass:"add-locale",on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){var e="_value"in t?t._value:t.value;return e});t.lastLocaleAdded=e.target.multiple?n:n[0]}}},[n("option",{attrs:{disabled:"",value:""}},[t._v("Ajouter une traduction")]),t._l(t.localesAllowed,function(e){return n("option",{key:"locale_"+e,attrs:{disabled:Object.keys(t.specific.translations).includes(e)},domProps:{value:e}},[t._v(t._s(e))])})],2),0!==Object.keys(t.specific.translations).length?n("fieldset",{staticClass:"specific-setting"},[n("legend",[t._v("\n Traductions\n ")]),t._l(Object.keys(t.specific.translations),function(e){return n("div",{key:"tr_"+e,staticClass:"translation"},[n("header",[n("h2",[t._v(t._s(e.toUpperCase()))]),n("button",{attrs:{type:"button"},on:{click:function(n){t.removeLocale(e)}}},[t._v("\n supprimer\n ")])]),t._l(t.specificTranslationsModel,function(r){return n("setting-form-item",{key:"trs_"+e+"_"+r.name,attrs:{name:e+"_"+r.name,label:r.label}},[n("setting-input",{attrs:{name:e+"_"+r.name,type:r.type,"initial-value":r.value},model:{value:t.specific.translations[e][r.name],callback:function(n){t.$set(t.specific.translations[e],r.name,n)},expression:"specific.translations[locale][setting.name]"}})],1)}),n("button",{attrs:{type:"button"},on:{click:function(n){t.sendPreview(e)}}},[t._v("\n preview\n ")])],2)})],2):t._e(),0!==t.general.length?n("fieldset",{staticClass:"general-setting"},[n("legend",[t._v("\n Configuration générale\n ")]),t._l(t.generalModel,function(e){return n("setting-form-item",{key:"setting_"+e.name,attrs:{name:e.name,label:e.label}},[n("setting-input",{attrs:{name:e.name,type:e.type,"initial-value":e.value},model:{value:t.general[e.name],callback:function(n){t.$set(t.general,e.name,n)},expression:"general[setting.name]"}})],1)})],2):t._e(),0!==t.configs.length?n("fieldset",{staticClass:"configs"},[n("legend",[t._v("\n Récapitulatif "+t._s(t.configs.length)+" "+t._s(t.$tc("videos",t.configs.length))+"\n ")]),t._l(t.configs,function(e){return n("div",{key:"details_"+(e.specific.locale||"VO"),staticClass:"configs-details"},[n("span",[t._v(t._s(e.general.filename))]),e.specific.locale?n("button",{attrs:{type:"button"},on:{click:function(n){t.removeLocale(e.locale)}}},[t._v("\n supprimer\n ")]):t._e()])}),n("div",{staticClass:"validate"},[n("button",{attrs:{type:"button"},on:{click:function(e){t.validate()}}},[t._v("\n Valider\n ")])])],2):t._e()])},s=[];n("a481");function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n("f751");function u(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function l(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function f(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function p(t){return u(t)||l(t)||f()}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){c(t,e,n[e])})}return t}n("7f7f"),n("ac6a"),n("cadf"),n("456d");var h="videoTitle",v="videoWidth",m="videoHeight",g="fps",y="fileFormat",b="hd",_="codec",w="text",x="number",S="select",$="checkbox",O="textarea",j=[{type:w,name:h,label:"Titre",value:""},{type:x,name:v,label:"Largeur",value:1920},{type:x,name:m,label:"Hauteur",value:1080},{type:x,name:g,label:"Images par seconde",value:25},{type:S,name:y,label:"Format de fichier",value:["mov","mp4"]},{type:S,name:_,label:"Codec vidéo",value:["prores","h264"]},{type:$,name:b,label:"Haute défition",value:!1}],k=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{staticClass:"setting-form-item",attrs:{for:t.name}},[t._v("\n "+t._s(t.label)+"\n "),t._t("default")],2)},M=[],L={name:"SettingFormItem",props:{label:{type:String,required:!0},name:{type:String,required:!0}}},C=L;n("1d9f");function E(t,e,n,r,i,o,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}var A=E(C,k,M,!1,null,null,null);A.options.__file="SettingFormItem.vue";var T=A.exports,P=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isSelect?n("select",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"setting-input",attrs:{id:t.name},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){var e="_value"in t?t._value:t.value;return e});t.value=e.target.multiple?n:n[0]}}},t._l(t.initialValue,function(e){return n("option",{key:e},[t._v("\n "+t._s(e)+"\n ")])})):t.isTextArea?n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"setting-input",attrs:{id:t.name},domProps:{value:t.value},on:{input:function(e){e.target.composing||(t.value=e.target.value)}}}):"checkbox"===t.type.toLowerCase()?n("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"setting-input",attrs:{id:t.name,type:"checkbox"},domProps:{checked:Array.isArray(t.value)?t._i(t.value,null)>-1:t.value},on:{change:function(e){var n=t.value,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=null,a=t._i(n,o);r.checked?a<0&&(t.value=n.concat([o])):a>-1&&(t.value=n.slice(0,a).concat(n.slice(a+1)))}else t.value=i}}}):"radio"===t.type.toLowerCase()?n("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"setting-input",attrs:{id:t.name,type:"radio"},domProps:{checked:t._q(t.value,null)},on:{change:function(e){t.value=null}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"setting-input",attrs:{id:t.name,type:t.type.toLowerCase()},domProps:{value:t.value},on:{input:function(e){e.target.composing||(t.value=e.target.value)}}})},D=[],N=(n("c5f6"),{name:"SettingInput",props:{name:{type:String,required:!0},type:{type:String,required:!0},initialValue:{type:[String,Number,Array,Boolean],required:!0}},data:function(){return{value:""}},computed:{formattedValue:function(){return this.type===x?parseFloat(this.value):this.value},isSelect:function(){return this.type===S},isTextArea:function(){return this.type===O}},watch:{value:function(t){this.$emit("input",this.formattedValue)}},created:function(){this.value=this.isSelect?this.initialValue[0]:this.initialValue,this.$emit("input",this.value)}}),F=N,I=(n("84ed"),E(F,P,D,!1,null,null,null));I.options.__file="SettingInput.vue";var R=I.exports,H={name:"SettingsForm",components:{SettingFormItem:T,SettingInput:R},props:{specificOriginModel:{type:Array,required:!0},specificTranslationsModel:{type:Array,required:!0},localesAllowed:{type:Array,default:function(t){return[]}}},data:function(){return{specific:{origin:{},translations:{}},general:{timestamp:(new Date).getTime()},lastLocaleAdded:""}},computed:{generalModel:function(){return j},configs:function(){var t=this,e=[];return e.push(this.generateconfigsEntry()),Object.keys(this.specific.translations).map(function(n){e.push(t.generateconfigsEntry(n))}),e}},watch:{lastLocaleAdded:function(t){0!==t.length&&(this.addLocale(t),this.lastLocaleAdded="")}},created:function(){this.dynamicDataBinding(this.generalModel,this.general),this.dynamicDataBinding(this.specificOriginModel,this.specific.origin)},methods:{dynamicDataBinding:function(t,e){var n=this;t.map(function(t){n.$set(e,t.name,t.value)})},addLocale:function(t){this.$set(this.specific.translations,t,{}),this.dynamicDataBinding(this.specificTranslationsModel,this.specific.translations[t])},removeLocale:function(t){this.$delete(this.specific.translations,t)},generateconfigsEntry:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{general:d({},this.general,{filename:this.generateFilename(e)}),specific:d({locale:e},this.specific.origin,Object.assign.apply(Object,p(this.specificTranslationsModel.map(function(n){return c({},n.name,null!==e?t.specific.translations[e][n.name]:null)}))))}},generateFilename:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this.general[v]+"_"+this.general[m]+"_"+this.general[g]+g+"_"+this.general[_]+"_";return this.general[h]&&(e+=this.general[h].replace(/\s+/g,"_")+"_"),e+=(t||"VO")+"."+this.general[y],e.toLowerCase()},sendPreview:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.general.timestamp=(new Date).getTime(),this.$emit("previsualize",this.configs.find(function(e){return e.specific.locale===t}))},validate:function(){var t=o(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:console.log("validate"),e=this.configs.map(function(t){return{data:t}}),this.$emit("validate",e);case 3:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()}},U=H,V=(n("416b"),E(U,a,s,!1,null,null,null));V.options.__file="SettingsForm.vue";var Y=V.exports,q=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"preview"},[n("h2",[t._v("PREVIEW")]),n("section",[t._m(0),n("progress-bar",{attrs:{duration:t.duration,progress:t.progress}}),Object.keys(t.config).length>0?n("p",{staticClass:"summary"},[t._v("\n visualisation de "),n("strong",[t._v(t._s(t.config.general.filename))])]):t._e()],1)])},G=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"player"},[n("iframe",{attrs:{src:"http://toolkit.afp.com:8080/ddv-twitter-template/"}})])}],W=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"progress-bar"},[n("div",{class:t.progressClass,style:{width:t.progressWidth,background:t.color}})])},B=[],J={name:"ProgresseBar",props:{progress:{type:Number,required:!0},duration:{type:Number,required:!0},color:{type:String,default:"chartreuse"}},data:function(){return{reset:!1}},computed:{progressClass:function(){return{"progress-value":!0,reset:this.reset}},progressWidth:function(){return 0!==this.duration?"".concat(this.progress/this.duration*100,"%"):"0%"}},watch:{progress:function(t,e){this.reset=e>t}}},z=J,Z=(n("dee8"),E(z,W,B,!1,null,null,null));Z.options.__file="ProgressBar.vue";var X=Z.exports,K={name:"Preview",components:{ProgressBar:X},props:{config:{type:Object,required:!0}},data:function(){return{progress:0,duration:0}},watch:{"config.general.timestamp":function(){this.sendConfig()}},mounted:function(){this.setupListener()},methods:{setupListener:function(){var t=this;window.onmessage=function(e){"animation-update"===e.data.type&&(t.progress=e.data.value),"duration-update"===e.data.type&&(t.duration=e.data.value)}},sendConfig:function(){window.frames[0].postMessage({type:"init-template-data",templateData:this.config.specific},"*")}}},Q=K,tt=(n("497a"),E(Q,q,G,!1,null,null,null));tt.options.__file="Preview.vue";var et=tt.exports,nt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"results"},[n("h2",[t._v("Rendus")]),n("div",{staticClass:"results-wrapper"},[n("section",{staticClass:"job-details"},t._l(t.jobs,function(t){return n("progress-job",{key:t.id,attrs:{job:t}})})),n("section",{staticClass:"job-summary"},[n("div",{staticClass:"fixed"},[n("h2",[n("span",[t._v(t._s(t.completedJobs.length)+"/"+t._s(t.jobs.length))]),n("span",[t._v("vidéos terminées")])]),n("a",{attrs:{disabled:!t.allCompleted,href:"#"},on:{click:function(e){return e.preventDefault(),t.downloadLinks(e)}}},[t._v("Télécharger tous les liens\n ")]),n("a",{attrs:{disabled:!t.allCompleted,href:"#"},on:{click:function(e){return e.preventDefault(),t.downloadAll(e)}}},[t._v("Télécharger toutes les vidéos\n ")])])])])])},rt=[],it=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"progress-job"},[n("div",{staticClass:"id"},[n("span",[t._v("job "+t._s(t.job.id))])]),n("div",{class:["progress-wrapper",{complete:t.statusCode>=2}]},[n("div",{staticClass:"textual"},[n("span",{staticClass:"filename"},[t._v(t._s(t.job.data.general.filename))]),n("div",{staticClass:"status"},[n("span",[t._v(t._s(t.status))])]),n("span",{staticClass:"percent"},[t._v(t._s((100*t.job.progress).toFixed(2))+"%")])]),n("div",{staticClass:"bar"},[n("progress-bar",{attrs:{duration:1,progress:t.job.progress,color:"black"}})],1)]),n("button",{class:["download",{active:t.statusCode>=2}]},[n("span",{staticClass:"UI-icon UI-download"})])])},ot=[],at={name:"ProgressJob",components:{ProgressBar:X},props:{job:{type:Object,required:!0}},computed:{statusCode:function(){var t=0;return null===this.job.returnvalue&&1===this.job.progress?t=1:null!==this.job.returnvalue&&(t=2),t},status:function(){var t="capturing animation...";return 1===this.statusCode?t="converting into video format...":2===this.statusCode&&(t="ready to download"),t}}},st=at,ct=(n("e977"),E(st,it,ot,!1,null,null,null));ct.options.__file="ProgressJob.vue";var ut=ct.exports,lt=n("5a0c"),ft=n.n(lt),pt={name:"Results",components:{ProgressJob:ut},props:{jobs:{type:Array,required:!0}},computed:{completedJobs:function(){return this.jobs.filter(function(t){return null!==t.returnvalue})},allCompleted:function(){return this.completedJobs.length===this.jobs.length}},methods:{downloadAll:function(){this.allCompleted&&this.completedJobs.map(function(t){window.open(t.returnvalue.url)})},downloadLinks:function(){if(this.allCompleted){var t=["data:text/csv;charset=utf-8,lang,file,url,expiration"];this.completedJobs.map(function(e,n){t.push("".concat(e.data.specific.locale?e.data.specific.locale:"vo",",").concat(e.data.general.filename,",").concat(e.returnvalue.url,",").concat(ft()().add(15,"days").format("YYYY-MM-DD HH:mm:ss")))}),t=t.join("\n");var e=encodeURI(t),n=document.createElement("a");n.setAttribute("href",e),n.setAttribute("download","links_".concat(this.jobs[0].data.general.filename,".csv")),document.body.appendChild(n),n.click(),document.body.removeChild(n)}}}},dt=pt,ht=(n("ebf2"),E(dt,nt,rt,!1,null,null,null));ht.options.__file="Results.vue";var vt=ht.exports,mt={name:"TemplateDdv",components:{SettingsForm:Y,Preview:et,Results:vt},props:{templateName:{type:String,required:!0},templateUrl:{type:String,required:!0},service:{type:Object,required:!0}},data:function(){return{loading:!0,specificOriginModel:[],specificTranslationsModel:[],localesAllowed:[],previsualizationConfig:{},rendering:!1,jobs:[]}},created:function(){this.getTemplate(),this.setupListener()},beforeDestroy:function(){this.removeListener()},methods:{getTemplate:function(){var t=o(regeneratorRuntime.mark(function t(){var e=this;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,setTimeout(function(t){e.loading=!1,e.specificOriginModel=[{type:"url",name:"tweetUrl",label:"Url du tweet",value:"https://twitter.com/realDonaldTrump/status/1008725438972211200"}],e.specificTranslationsModel=[{type:"textarea",name:"traductionContent",label:"traduction du tweet",value:""}],e.localesAllowed=["fr","es","en"]},300);case 2:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),setupListener:function(){this.service.on("status",this.statusUpdate)},removeListener:function(){this.service.off("status",this.statusUpdate)},statusUpdate:function(t){var e=t.type,n=t.idJob,r=t.value,i=this.jobs.find(function(t){return t.id===n});"progress"===e&&(i.progress=r),"complete"===e&&(i.returnvalue=r)},validate:function(){var t=o(regeneratorRuntime.mark(function t(e){var n;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.service.create(e);case 2:if(n=t.sent,!(n.length>=1)){t.next=8;break}return this.rendering=!0,t.next=7,this.service.get(n.map(function(t){return t.id}));case 7:this.jobs=t.sent;case 8:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}()}},gt=mt,yt=(n("49d1"),E(gt,r,i,!1,null,null,null));yt.options.__file="TemplateDdv.vue";var bt=yt.exports;n.d(e,"DataDrivenVideoUi",function(){return bt})},fdef:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}})});
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["dataDrivenVideoUi"]=e():t["dataDrivenVideoUi"]=e()})("undefined"!==typeof self?self:this,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fae3")}({"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),a=n("32e9"),s=n("84f2"),c=n("41a0"),u=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",h="keys",v="values",m=function(){return this};t.exports=function(t,e,n,g,y,b,_){c(n,e,g);var w,x,S,$=function(t){if(!p&&t in M)return M[t];switch(t){case h:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",j=y==v,k=!1,M=t.prototype,L=M[f]||M[d]||y&&M[y],C=L||$(y),E=y?j?$("entries"):C:void 0,A="Array"==e&&M.entries||L;if(A&&(S=l(A.call(new t)),S!==Object.prototype&&S.next&&(u(S,O,!0),r||"function"==typeof S[f]||a(S,f,m))),j&&L&&L.name!==v&&(k=!0,C=function(){return L.call(this)}),r&&!_||!p&&!k&&M[f]||a(M,f,C),s[e]=C,s[O]=m,y)if(w={values:j?C:$(v),keys:b?C:$(h),entries:E},_)for(x in w)x in M||o(M,x,w[x]);else i(i.P+i.F*(p||k),e,w);return w}},"0a49":function(t,e,n){var r=n("9b43"),i=n("626a"),o=n("4bf8"),a=n("9def"),s=n("cd1c");t.exports=function(t,e){var n=1==t,c=2==t,u=3==t,l=4==t,f=6==t,p=5==t||f,d=e||s;return function(e,s,h){for(var v,m,g=o(e),y=i(g),b=r(s,h,3),_=a(y.length),w=0,x=n?d(e,_):c?d(e,0):void 0;_>w;w++)if((p||w in y)&&(v=y[w],m=b(v,w,g),t))if(n)x[w]=m;else if(m)switch(t){case 3:return!0;case 5:return v;case 6:return w;case 2:x.push(v)}else if(l)return!1;return f?-1:u||l?l:x}}},"0bed":function(t,e,n){},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},1169:function(t,e,n){var r=n("2d95");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"11e9":function(t,e,n){var r=n("52a7"),i=n("4630"),o=n("6821"),a=n("6a99"),s=n("69a8"),c=n("c69a"),u=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?u:function(t,e){if(t=o(t),e=a(e,!0),c)try{return u(t,e)}catch(t){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);var n,a=o(e),s=a.length,c=0;while(s>c)r.f(t,n=a[c++],e[n]);return t}},"1d9f":function(t,e,n){"use strict";var r=n("97ab"),i=n.n(r);i.a},"1eb2":function(t,e,n){var r;"undefined"!==typeof window&&((r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js$/))&&(n.p=r[1]))},"214f":function(t,e,n){"use strict";var r=n("32e9"),i=n("2aba"),o=n("79e5"),a=n("be13"),s=n("2b4c");t.exports=function(t,e,n){var c=s(t),u=n(a,c,""[t]),l=u[0],f=u[1];o(function(){var e={};return e[c]=function(){return 7},7!=""[t](e)})&&(i(String.prototype,t,l),r(RegExp.prototype,c,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)}))}},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"2aba":function(t,e,n){var r=n("7726"),i=n("32e9"),o=n("69a8"),a=n("ca5a")("src"),s="toString",c=Function[s],u=(""+c).split(s);n("8378").inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,a)||i(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,s,function(){return"function"==typeof this&&this[a]||c.call(this)})},"2aeb":function(t,e,n){var r=n("cb7c"),i=n("1495"),o=n("e11e"),a=n("613b")("IE_PROTO"),s=function(){},c="prototype",u=function(){var t,e=n("230e")("iframe"),r=o.length,i="<",a=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+a+"document.F=Object"+i+"/script"+a),t.close(),u=t.F;while(r--)delete u[c][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[c]=r(t),n=new s,s[c]=null,n[a]=t):n=u(),void 0===e?n:i(n,e)}},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,a="function"==typeof o,s=t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))};s.store=r},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"32e9":function(t,e,n){var r=n("86cc"),i=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"38fd":function(t,e,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},"416b":function(t,e,n){"use strict";var r=n("9b8f"),i=n.n(r);i.a},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},"456d":function(t,e,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",function(){return function(t){return i(r(t))}})},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"497a":function(t,e,n){"use strict";var r=n("4caa"),i=n.n(r);i.a},"49d1":function(t,e,n){"use strict";var r=n("53bf"),i=n.n(r);i.a},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"4caa":function(t,e,n){},"52a7":function(t,e){e.f={}.propertyIsEnumerable},"53bf":function(t,e,n){},5537:function(t,e,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",a=i[o]||(i[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"5a0c":function(t,e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";var t="millisecond",e="second",n="minute",r="hour",i="day",o="week",a="month",s="year",c=/^(\d{4})-?(\d{1,2})-?(\d{0,2})(.*?(\d{1,2}):(\d{1,2}):(\d{1,2}))?.?(\d{1,3})?$/,u=/\[.*?\]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,l={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},f=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},p={padStart:f,padZoneStr:function(t){var e=Math.abs(t),n=Math.floor(e/60),r=e%60;return(t<=0?"+":"-")+f(n,2,"0")+":"+f(r,2,"0")},monthDiff:function(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(n,"months"),i=e-r<0,o=t.clone().add(n+(i?-1:1),"months");return Number(-(n+(e-r)/(i?r-o:o-r)))},absFloor:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},prettyUnit:function(c){return{M:a,y:s,w:o,d:i,h:r,m:n,s:e,ms:t}[c]||String(c||"").toLowerCase().replace(/s$/,"")},isUndefined:function(t){return void 0===t}},d="en",h={};h[d]=l;var v=function(t){return t instanceof _},m=function(t,e,n){var r;if(!t)return null;if("string"==typeof t)h[t]&&(r=t),e&&(h[t]=e,r=t);else{var i=t.name;h[i]=t,r=i}return n||(d=r),r},g=function(t,e){if(v(t))return t.clone();var n=e||{};return n.date=t,new _(n)},y=function(t,e){return g(t,{locale:e.$L})},b=p;b.parseLocale=m,b.isDayjs=v,b.wrapper=y;var _=function(){function l(t){this.parse(t)}var f=l.prototype;return f.parse=function(t){var e,n;this.$d=null===(e=t.date)?new Date(NaN):b.isUndefined(e)?new Date:e instanceof Date?e:"string"==typeof e&&/.*[^Z]$/i.test(e)&&(n=e.match(c))?new Date(n[1],n[2]-1,n[3]||1,n[5]||0,n[6]||0,n[7]||0,n[8]||0):new Date(e),this.init(t)},f.init=function(t){this.$y=this.$d.getFullYear(),this.$M=this.$d.getMonth(),this.$D=this.$d.getDate(),this.$W=this.$d.getDay(),this.$H=this.$d.getHours(),this.$m=this.$d.getMinutes(),this.$s=this.$d.getSeconds(),this.$ms=this.$d.getMilliseconds(),this.$L=this.$L||m(t.locale,null,!0)||d},f.$utils=function(){return b},f.isValid=function(){return!("Invalid Date"===this.$d.toString())},f.$compare=function(t){return this.valueOf()-g(t).valueOf()},f.isSame=function(t){return 0===this.$compare(t)},f.isBefore=function(t){return this.$compare(t)<0},f.isAfter=function(t){return this.$compare(t)>0},f.year=function(){return this.$y},f.month=function(){return this.$M},f.day=function(){return this.$W},f.date=function(){return this.$D},f.hour=function(){return this.$H},f.minute=function(){return this.$m},f.second=function(){return this.$s},f.millisecond=function(){return this.$ms},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(t,c){var u=this,l=!!b.isUndefined(c)||c,f=function(t,e){var n=y(new Date(u.$y,e,t),u);return l?n:n.endOf(i)},p=function(t,e){return y(u.toDate()[t].apply(u.toDate(),l?[0,0,0,0].slice(e):[23,59,59,999].slice(e)),u)};switch(b.prettyUnit(t)){case s:return l?f(1,0):f(31,11);case a:return l?f(1,this.$M):f(0,this.$M+1);case o:return f(l?this.$D-this.$W:this.$D+(6-this.$W),this.$M);case i:case"date":return p("setHours",0);case r:return p("setMinutes",1);case n:return p("setSeconds",2);case e:return p("setMilliseconds",3);default:return this.clone()}},f.endOf=function(t){return this.startOf(t,!1)},f.$set=function(o,c){switch(b.prettyUnit(o)){case i:this.$d.setDate(this.$D+(c-this.$W));break;case"date":this.$d.setDate(c);break;case a:this.$d.setMonth(c);break;case s:this.$d.setFullYear(c);break;case r:this.$d.setHours(c);break;case n:this.$d.setMinutes(c);break;case e:this.$d.setSeconds(c);break;case t:this.$d.setMilliseconds(c)}return this.init(),this},f.set=function(t,e){return this.clone().$set(t,e)},f.add=function(t,c){var u=this;t=Number(t);var l,f=b.prettyUnit(c),p=function(e,n){var r=u.set("date",1).set(e,n+t);return r.set("date",Math.min(u.$D,r.daysInMonth()))};if(f===a)return p(a,this.$M);if(f===s)return p(s,this.$y);switch(f){case n:l=6e4;break;case r:l=36e5;break;case i:l=864e5;break;case o:l=6048e5;break;case e:l=1e3;break;default:l=1}var d=this.valueOf()+t*l;return y(d,this)},f.subtract=function(t,e){return this.add(-1*t,e)},f.format=function(t){var e=this,n=t||"YYYY-MM-DDTHH:mm:ssZ",r=b.padZoneStr(this.$d.getTimezoneOffset()),i=this.$locale(),o=i.weekdays,a=i.months,s=function(t,e,n,r){return t&&t[e]||n[e].substr(0,r)};return n.replace(u,function(t){if(t.indexOf("[")>-1)return t.replace(/\[|\]/g,"");switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return String(e.$y);case"M":return String(e.$M+1);case"MM":return b.padStart(e.$M+1,2,"0");case"MMM":return s(i.monthsShort,e.$M,a,3);case"MMMM":return a[e.$M];case"D":return String(e.$D);case"DD":return b.padStart(e.$D,2,"0");case"d":return String(e.$W);case"dd":return s(i.weekdaysMin,e.$W,o,2);case"ddd":return s(i.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(e.$H);case"HH":return b.padStart(e.$H,2,"0");case"h":case"hh":return 0===e.$H?12:b.padStart(e.$H<13?e.$H:e.$H-12,"hh"===t?2:1,"0");case"a":return e.$H<12?"am":"pm";case"A":return e.$H<12?"AM":"PM";case"m":return String(e.$m);case"mm":return b.padStart(e.$m,2,"0");case"s":return String(e.$s);case"ss":return b.padStart(e.$s,2,"0");case"SSS":return b.padStart(e.$ms,3,"0");case"Z":return r;default:return r.replace(":","")}})},f.diff=function(t,c,u){var l=b.prettyUnit(c),f=g(t),p=this-f,d=b.monthDiff(this,f);switch(l){case s:d/=12;break;case a:break;case"quarter":d/=3;break;case o:d=p/6048e5;break;case i:d=p/864e5;break;case r:d=p/36e5;break;case n:d=p/6e4;break;case e:d=p/1e3;break;default:d=p}return u?d:b.absFloor(d)},f.daysInMonth=function(){return this.endOf(a).$D},f.$locale=function(){return h[this.$L]},f.locale=function(t,e){var n=this.clone();return n.$L=m(t,e,!0),n},f.clone=function(){return y(this.toDate(),this)},f.toDate=function(){return new Date(this.$d)},f.toArray=function(){return[this.$y,this.$M,this.$D,this.$H,this.$m,this.$s,this.$ms]},f.toJSON=function(){return this.toISOString()},f.toISOString=function(){return this.toDate().toISOString()},f.toObject=function(){return{years:this.$y,months:this.$M,date:this.$D,hours:this.$H,minutes:this.$m,seconds:this.$s,milliseconds:this.$ms}},f.toString=function(){return this.$d.toUTCString()},l}();return g.extend=function(t,e){return t(e,_,g),g},g.locale=m,g.isDayjs=v,g.en=h[d],g})},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),o=n("32e9"),a=n("2aba"),s=n("9b43"),c="prototype",u=function(t,e,n){var l,f,p,d,h=t&u.F,v=t&u.G,m=t&u.S,g=t&u.P,y=t&u.B,b=v?r:m?r[e]||(r[e]={}):(r[e]||{})[c],_=v?i:i[e]||(i[e]={}),w=_[c]||(_[c]={});for(l in v&&(n=e),n)f=!h&&b&&void 0!==b[l],p=(f?b:n)[l],d=y&&f?s(p,r):g&&"function"==typeof p?s(Function.call,p):p,b&&a(b,l,p,t&u.U),_[l]!=p&&o(_,l,d),g&&w[l]!=p&&(w[l]=p)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"5dbc":function(t,e,n){var r=n("d3f4"),i=n("8b97").set;t.exports=function(t,e,n){var o,a=e.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},"5eda":function(t,e,n){var r=n("5ca1"),i=n("8378"),o=n("79e5");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},"613b":function(t,e,n){var r=n("5537")("keys"),i=n("ca5a");t.exports=function(t){return r[t]||(r[t]=i(t))}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"6e9d":function(t,e,n){},7333:function(t,e,n){"use strict";var r=n("0d58"),i=n("2621"),o=n("52a7"),a=n("4bf8"),s=n("626a"),c=Object.assign;t.exports=!c||n("79e5")(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){var n=a(t),c=arguments.length,u=1,l=i.f,f=o.f;while(c>u){var p,d=s(arguments[u++]),h=l?r(d).concat(l(d)):r(d),v=h.length,m=0;while(v>m)f.call(d,p=h[m++])&&(n[p]=d[p])}return n}:c},"73ee":function(t,e,n){},7514:function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(5),o="find",a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(o)},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var r=n("4588"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},"7f7f":function(t,e,n){var r=n("86cc").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,a="name";a in i||n("9e1e")&&r(i,a,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},8378:function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},"84ed":function(t,e,n){"use strict";var r=n("0bed"),i=n.n(r);i.a},"84f2":function(t,e){t.exports={}},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),a=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8b97":function(t,e,n){var r=n("d3f4"),i=n("cb7c"),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},9093:function(t,e,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"96cf":function(t,e){!function(e){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag",u="object"===typeof t,l=e.regeneratorRuntime;if(l)u&&(t.exports=l);else{l=e.regeneratorRuntime=u?t.exports:{},l.wrap=_;var f="suspendedStart",p="suspendedYield",d="executing",h="completed",v={},m={};m[a]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(A([])));y&&y!==r&&i.call(y,a)&&(m=y);var b=$.prototype=x.prototype=Object.create(m);S.prototype=b.constructor=$,$.constructor=S,$[c]=S.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===S||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,$):(t.__proto__=$,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(b),t},l.awrap=function(t){return{__await:t}},O(j.prototype),j.prototype[s]=function(){return this},l.AsyncIterator=j,l.async=function(t,e,n,r){var i=new j(_(t,e,n,r));return l.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},O(b),b[c]="Generator",b[a]=function(){return this},b.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){while(e.length){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=A,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,i){return s.type="throw",s.arg=t,e.next=r,i&&(e.method="next",e.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:A(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),v}}}function _(t,e,n,r){var i=e&&e.prototype instanceof x?e:x,o=Object.create(i.prototype),a=new E(r||[]);return o._invoke=k(t,n,a),o}function w(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function x(){}function S(){}function $(){}function O(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function j(t){function e(n,r,o,a){var s=w(t[n],t,r);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"===typeof u&&i.call(u,"__await")?Promise.resolve(u.__await).then(function(t){e("next",t,o,a)},function(t){e("throw",t,o,a)}):Promise.resolve(u).then(function(t){c.value=t,o(c)},a)}a(s.arg)}var n;function r(t,r){function i(){return new Promise(function(n,i){e(t,r,n,i)})}return n=n?n.then(i,i):i()}this._invoke=r}function k(t,e,n){var r=f;return function(i,o){if(r===d)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return T()}n.method=i,n.arg=o;while(1){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var c=w(t,e,n);if("normal"===c.type){if(r=n.done?h:p,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}function M(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,M(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=w(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,v;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,v):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function A(t){if(t){var e=t[a];if(e)return e.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){while(++r<t.length)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=n,e.done=!0,e};return o.next=o}}return{next:T}}function T(){return{value:n,done:!0}}}(function(){return this}()||Function("return this")())},"97ab":function(t,e,n){},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9b8f":function(t,e,n){},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"9e28":function(t,e,n){},a481:function(t,e,n){n("214f")("replace",2,function(t,e,n){return[function(r,i){"use strict";var o=t(this),a=void 0==r?void 0:r[e];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},n]})},aa77:function(t,e,n){var r=n("5ca1"),i=n("be13"),o=n("79e5"),a=n("fdef"),s="["+a+"]",c="​…",u=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),f=function(t,e,n){var i={},s=o(function(){return!!a[t]()||c[t]()!=c}),u=i[t]=s?e(p):a[t];n&&(i[n]=u),r(r.P+r.F*s,"String",i)},p=f.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(l,"")),t};t.exports=f},ac6a:function(t,e,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),a=n("7726"),s=n("32e9"),c=n("84f2"),u=n("2b4c"),l=u("iterator"),f=u("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=i(d),v=0;v<h.length;v++){var m,g=h[v],y=d[g],b=a[g],_=b&&b.prototype;if(_&&(_[l]||s(_,l,p),_[f]||s(_,f,g),c[g]=p,y))for(m in r)_[m]||o(_,m,r[m],!0)}},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c366:function(t,e,n){var r=n("6821"),i=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,a){var s,c=r(e),u=i(c.length),l=o(a,u);if(t&&n!=n){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},c5f6:function(t,e,n){"use strict";var r=n("7726"),i=n("69a8"),o=n("2d95"),a=n("5dbc"),s=n("6a99"),c=n("79e5"),u=n("9093").f,l=n("11e9").f,f=n("86cc").f,p=n("aa77").trim,d="Number",h=r[d],v=h,m=h.prototype,g=o(n("2aeb")(m))==d,y="trim"in String.prototype,b=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){e=y?e.trim():p(e,3);var n,r,i,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var a,c=e.slice(2),u=0,l=c.length;u<l;u++)if(a=c.charCodeAt(u),a<48||a>i)return NaN;return parseInt(c,r)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof h&&(g?c(function(){m.valueOf.call(n)}):o(n)!=d)?a(new v(b(e)),n,h):b(e)};for(var _,w=n("9e1e")?u(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;w.length>x;x++)i(v,_=w[x])&&!i(h,_)&&f(h,_,l(v,_));h.prototype=m,m.constructor=h,n("2aba")(r,d,h)}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cadf:function(t,e,n){"use strict";var r=n("9c6c"),i=n("d53b"),o=n("84f2"),a=n("6821");t.exports=n("01f9")(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},cd1c:function(t,e,n){var r=n("e853");t.exports=function(t,e){return new(r(t))(e)}},ce10:function(t,e,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),a=n("613b")("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);while(e.length>c)r(s,n=e[c++])&&(~o(u,n)||u.push(n));return u}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},dee8:function(t,e,n){"use strict";var r=n("9e28"),i=n.n(r);i.a},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e853:function(t,e,n){var r=n("d3f4"),i=n("1169"),o=n("2b4c")("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&(e=e[o],null===e&&(e=void 0))),void 0===e?Array:e}},e977:function(t,e,n){"use strict";var r=n("73ee"),i=n.n(r);i.a},ebf2:function(t,e,n){"use strict";var r=n("6e9d"),i=n.n(r);i.a},f751:function(t,e,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fae3:function(t,e,n){"use strict";n.r(e);n("1eb2");var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"template"},[n("h1",[t._v("Template "),n("em",[t._v(t._s(t.templateName))])]),t.loading?n("p",[t._v("Loading •••")]):t.rendering?n("section",{staticClass:"wraper"},[n("results",{attrs:{jobs:t.jobs}})],1):n("section",{staticClass:"wrapper"},[n("settingsForm",{attrs:{"specific-origin-model":t.specificOriginModel,"specific-translations-model":t.specificTranslationsModel,"locales-allowed":t.localesAllowed},on:{previsualize:function(e){t.previsualizationConfig=e},validate:t.validate}}),n("preview",{attrs:{config:t.previsualizationConfig}})],1)])},i=[];n("7514"),n("96cf");function o(t){return function(){var e=this,n=arguments;return new Promise(function(r,i){var o=t.apply(e,n);function a(t,e){try{var n=o[t](e),a=n.value}catch(t){return void i(t)}n.done?r(a):Promise.resolve(a).then(s,c)}function s(t){a("next",t)}function c(t){a("throw",t)}s()})}}var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"settingsForm"},[0!==t.specificOriginModel.length?n("fieldset",{staticClass:"specific-setting"},[n("legend",[t._v("\n Version originale\n ")]),t._l(t.specificOriginModel,function(e){return n("setting-form-item",{key:"settingOrigin_"+e.name,attrs:{name:e.name,label:e.label}},[n("setting-input",{attrs:{name:e.name,type:e.type,"initial-value":e.value},model:{value:t.specific.origin[e.name],callback:function(n){t.$set(t.specific.origin,e.name,n)},expression:"specific.origin[setting.name]"}})],1)}),n("button",{attrs:{type:"button"},on:{click:function(e){t.sendPreview()}}},[t._v("\n preview\n ")])],2):t._e(),n("select",{directives:[{name:"model",rawName:"v-model",value:t.lastLocaleAdded,expression:"lastLocaleAdded"}],staticClass:"add-locale",on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){var e="_value"in t?t._value:t.value;return e});t.lastLocaleAdded=e.target.multiple?n:n[0]}}},[n("option",{attrs:{disabled:"",value:""}},[t._v("Ajouter une traduction")]),t._l(t.localesAllowed,function(e){return n("option",{key:"locale_"+e,attrs:{disabled:Object.keys(t.specific.translations).includes(e)},domProps:{value:e}},[t._v(t._s(e))])})],2),0!==Object.keys(t.specific.translations).length?n("fieldset",{staticClass:"specific-setting"},[n("legend",[t._v("\n Traductions\n ")]),t._l(Object.keys(t.specific.translations),function(e){return n("div",{key:"tr_"+e,staticClass:"translation"},[n("header",[n("h2",[t._v(t._s(e.toUpperCase()))]),n("button",{attrs:{type:"button"},on:{click:function(n){t.removeLocale(e)}}},[t._v("\n supprimer\n ")])]),t._l(t.specificTranslationsModel,function(r){return n("setting-form-item",{key:"trs_"+e+"_"+r.name,attrs:{name:e+"_"+r.name,label:r.label}},[n("setting-input",{attrs:{name:e+"_"+r.name,type:r.type,"initial-value":r.value},model:{value:t.specific.translations[e][r.name],callback:function(n){t.$set(t.specific.translations[e],r.name,n)},expression:"specific.translations[locale][setting.name]"}})],1)}),n("button",{attrs:{type:"button"},on:{click:function(n){t.sendPreview(e)}}},[t._v("\n preview\n ")])],2)})],2):t._e(),0!==t.general.length?n("fieldset",{staticClass:"general-setting"},[n("legend",[t._v("\n Configuration générale\n ")]),t._l(t.generalModel,function(e){return n("setting-form-item",{key:"setting_"+e.name,attrs:{name:e.name,label:e.label}},[n("setting-input",{attrs:{name:e.name,type:e.type,"initial-value":e.value},model:{value:t.general[e.name],callback:function(n){t.$set(t.general,e.name,n)},expression:"general[setting.name]"}})],1)})],2):t._e(),0!==t.configs.length?n("fieldset",{staticClass:"configs"},[n("legend",[t._v("\n Récapitulatif "+t._s(t.configs.length)+" "+t._s(t.$tc("videos",t.configs.length))+"\n ")]),t._l(t.configs,function(e){return n("div",{key:"details_"+(e.specific.locale||"VO"),staticClass:"configs-details"},[n("span",[t._v(t._s(e.general.filename))]),e.specific.locale?n("button",{attrs:{type:"button"},on:{click:function(n){t.removeLocale(e.locale)}}},[t._v("\n supprimer\n ")]):t._e()])}),n("div",{staticClass:"validate"},[n("button",{attrs:{type:"button"},on:{click:function(e){t.validate()}}},[t._v("\n Valider\n ")])])],2):t._e()])},s=[];n("a481");function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n("f751");function u(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function l(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function f(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function p(t){return u(t)||l(t)||f()}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){c(t,e,n[e])})}return t}n("7f7f"),n("ac6a"),n("cadf"),n("456d");var h="videoTitle",v="videoWidth",m="videoHeight",g="fps",y="fileFormat",b="hd",_="codec",w="text",x="number",S="select",$="checkbox",O="textarea",j=[{type:w,name:h,label:"Titre",value:""},{type:x,name:v,label:"Largeur",value:1920},{type:x,name:m,label:"Hauteur",value:1080},{type:x,name:g,label:"Images par seconde",value:25},{type:S,name:y,label:"Format de fichier",value:["mov","mp4"]},{type:S,name:_,label:"Codec vidéo",value:["prores","h264"]},{type:$,name:b,label:"Haute défition",value:!1}],k=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{staticClass:"setting-form-item",attrs:{for:t.name}},[t._v("\n "+t._s(t.label)+"\n "),t._t("default")],2)},M=[],L={name:"SettingFormItem",props:{label:{type:String,required:!0},name:{type:String,required:!0}}},C=L;n("1d9f");function E(t,e,n,r,i,o,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}var A=E(C,k,M,!1,null,null,null);A.options.__file="SettingFormItem.vue";var T=A.exports,P=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isSelect?n("select",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"setting-input",attrs:{id:t.name},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){var e="_value"in t?t._value:t.value;return e});t.value=e.target.multiple?n:n[0]}}},t._l(t.initialValue,function(e){return n("option",{key:e},[t._v("\n "+t._s(e)+"\n ")])})):t.isTextArea?n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"setting-input",attrs:{id:t.name},domProps:{value:t.value},on:{input:function(e){e.target.composing||(t.value=e.target.value)}}}):"checkbox"===t.type.toLowerCase()?n("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"setting-input",attrs:{id:t.name,type:"checkbox"},domProps:{checked:Array.isArray(t.value)?t._i(t.value,null)>-1:t.value},on:{change:function(e){var n=t.value,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=null,a=t._i(n,o);r.checked?a<0&&(t.value=n.concat([o])):a>-1&&(t.value=n.slice(0,a).concat(n.slice(a+1)))}else t.value=i}}}):"radio"===t.type.toLowerCase()?n("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"setting-input",attrs:{id:t.name,type:"radio"},domProps:{checked:t._q(t.value,null)},on:{change:function(e){t.value=null}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"setting-input",attrs:{id:t.name,type:t.type.toLowerCase()},domProps:{value:t.value},on:{input:function(e){e.target.composing||(t.value=e.target.value)}}})},D=[],N=(n("c5f6"),{name:"SettingInput",props:{name:{type:String,required:!0},type:{type:String,required:!0},initialValue:{type:[String,Number,Array,Boolean],required:!0}},data:function(){return{value:""}},computed:{formattedValue:function(){return this.type===x?parseFloat(this.value):this.value},isSelect:function(){return this.type===S},isTextArea:function(){return this.type===O}},watch:{value:function(t){this.$emit("input",this.formattedValue)}},created:function(){this.value=this.isSelect?this.initialValue[0]:this.initialValue,this.$emit("input",this.value)}}),F=N,I=(n("84ed"),E(F,P,D,!1,null,null,null));I.options.__file="SettingInput.vue";var R=I.exports,H={name:"SettingsForm",components:{SettingFormItem:T,SettingInput:R},props:{specificOriginModel:{type:Array,required:!0},specificTranslationsModel:{type:Array,required:!0},localesAllowed:{type:Array,default:function(t){return[]}}},data:function(){return{specific:{origin:{},translations:{}},general:{timestamp:(new Date).getTime()},lastLocaleAdded:""}},computed:{generalModel:function(){return j},configs:function(){var t=this,e=[];return e.push(this.generateconfigsEntry()),Object.keys(this.specific.translations).map(function(n){e.push(t.generateconfigsEntry(n))}),e}},watch:{lastLocaleAdded:function(t){0!==t.length&&(this.addLocale(t),this.lastLocaleAdded="")}},created:function(){this.dynamicDataBinding(this.generalModel,this.general),this.dynamicDataBinding(this.specificOriginModel,this.specific.origin)},methods:{dynamicDataBinding:function(t,e){var n=this;t.map(function(t){n.$set(e,t.name,t.value)})},addLocale:function(t){this.$set(this.specific.translations,t,{}),this.dynamicDataBinding(this.specificTranslationsModel,this.specific.translations[t])},removeLocale:function(t){this.$delete(this.specific.translations,t)},generateconfigsEntry:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{general:d({},this.general,{filename:this.generateFilename(e)}),specific:d({locale:e},this.specific.origin,Object.assign.apply(Object,p(this.specificTranslationsModel.map(function(n){return c({},n.name,null!==e?t.specific.translations[e][n.name]:null)}))))}},generateFilename:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this.general[v]+"_"+this.general[m]+"_"+this.general[g]+g+"_"+this.general[_]+"_";return this.general[h]&&(e+=this.general[h].replace(/\s+/g,"_")+"_"),e+=(t||"VO")+"."+this.general[y],e.toLowerCase()},sendPreview:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.general.timestamp=(new Date).getTime(),this.$emit("previsualize",this.configs.find(function(e){return e.specific.locale===t}))},validate:function(){var t=o(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:console.log("validate"),e=this.configs.map(function(t){return{data:t}}),this.$emit("validate",e);case 3:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()}},U=H,V=(n("416b"),E(U,a,s,!1,null,null,null));V.options.__file="SettingsForm.vue";var Y=V.exports,q=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"preview"},[n("h2",[t._v("PREVIEW")]),n("section",[t._m(0),n("progress-bar",{attrs:{duration:t.duration,progress:t.progress}}),Object.keys(t.config).length>0?n("p",{staticClass:"summary"},[t._v("\n visualisation de "),n("strong",[t._v(t._s(t.config.general.filename))])]):t._e()],1)])},G=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"player"},[n("iframe",{attrs:{src:"http://toolkit.afp.com:8080/ddv-twitter-template/"}})])}],W=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"progress-bar"},[n("div",{class:t.progressClass,style:{width:t.progressWidth,background:t.color}})])},B=[],J={name:"ProgresseBar",props:{progress:{type:Number,required:!0},duration:{type:Number,required:!0},color:{type:String,default:"chartreuse"}},data:function(){return{reset:!1}},computed:{progressClass:function(){return{"progress-value":!0,reset:this.reset}},progressWidth:function(){return 0!==this.duration?"".concat(this.progress/this.duration*100,"%"):"0%"}},watch:{progress:function(t,e){this.reset=e>t}}},z=J,Z=(n("dee8"),E(z,W,B,!1,null,null,null));Z.options.__file="ProgressBar.vue";var X=Z.exports,K={name:"Preview",components:{ProgressBar:X},props:{config:{type:Object,required:!0}},data:function(){return{progress:0,duration:0}},watch:{"config.general.timestamp":function(){this.sendConfig()}},mounted:function(){this.setupListener()},methods:{setupListener:function(){var t=this;window.onmessage=function(e){"animation-update"===e.data.type&&(t.progress=e.data.value),"duration-update"===e.data.type&&(t.duration=e.data.value)}},sendConfig:function(){window.frames[0].postMessage({type:"init-template-data",templateData:this.config.specific},"*")}}},Q=K,tt=(n("497a"),E(Q,q,G,!1,null,null,null));tt.options.__file="Preview.vue";var et=tt.exports,nt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"results"},[n("h2",[t._v("Rendus")]),n("div",{staticClass:"results-wrapper"},[n("section",{staticClass:"job-details"},t._l(t.jobs,function(t){return n("progress-job",{key:t.id,attrs:{job:t}})})),n("section",{staticClass:"job-summary"},[n("div",{staticClass:"fixed"},[n("h2",[n("span",[t._v(t._s(t.completedJobs.length)+"/"+t._s(t.jobs.length))]),n("span",[t._v("vidéos terminées")])]),n("a",{attrs:{disabled:!t.allCompleted,href:"#"},on:{click:function(e){return e.preventDefault(),t.downloadLinks(e)}}},[t._v("Télécharger tous les liens\n ")]),n("a",{attrs:{disabled:!t.allCompleted,href:"#"},on:{click:function(e){return e.preventDefault(),t.downloadAll(e)}}},[t._v("Télécharger toutes les vidéos\n ")])])])])])},rt=[],it=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"progress-job"},[n("div",{staticClass:"id"},[n("span",[t._v("job "+t._s(t.job.id))])]),n("div",{class:["progress-wrapper",{complete:t.statusCode>=2}]},[n("div",{staticClass:"textual"},[n("span",{staticClass:"filename"},[t._v(t._s(t.job.data.general.filename))]),n("div",{staticClass:"status"},[n("span",[t._v(t._s(t.status))])]),n("span",{staticClass:"percent"},[t._v(t._s((100*t.job.progress).toFixed(2))+"%")])]),n("div",{staticClass:"bar"},[n("progress-bar",{attrs:{duration:1,progress:t.job.progress,color:"black"}})],1)]),n("button",{class:["download",{active:t.statusCode>=2}],attrs:{disabled:t.statusCode<2},on:{click:function(e){t.download()}}},[n("span",{staticClass:"UI-icon UI-download"})])])},ot=[],at={name:"ProgressJob",components:{ProgressBar:X},props:{job:{type:Object,required:!0}},computed:{statusCode:function(){var t=0;return null===this.job.returnvalue&&1===this.job.progress?t=1:null!==this.job.returnvalue&&(t=2),t},status:function(){var t="capturing animation...";return 1===this.statusCode?t="converting into video format...":2===this.statusCode&&(t="ready to download"),t}},methods:{download:function(){window.open(this.job.returnvalue.url)}}},st=at,ct=(n("e977"),E(st,it,ot,!1,null,null,null));ct.options.__file="ProgressJob.vue";var ut=ct.exports,lt=n("5a0c"),ft=n.n(lt),pt={name:"Results",components:{ProgressJob:ut},props:{jobs:{type:Array,required:!0}},computed:{completedJobs:function(){return this.jobs.filter(function(t){return null!==t.returnvalue})},allCompleted:function(){return this.completedJobs.length===this.jobs.length}},methods:{downloadAll:function(){this.allCompleted&&this.completedJobs.map(function(t){window.open(t.returnvalue.url)})},downloadLinks:function(){if(this.allCompleted){var t=["data:text/csv;charset=utf-8,lang,file,url,expiration"];this.completedJobs.map(function(e,n){t.push("".concat(e.data.specific.locale?e.data.specific.locale:"vo",",").concat(e.data.general.filename,",").concat(e.returnvalue.url,",").concat(ft()().add(15,"days").format("YYYY-MM-DD HH:mm:ss")))}),t=t.join("\n");var e=encodeURI(t),n=document.createElement("a");n.setAttribute("href",e),n.setAttribute("download","links_".concat(this.jobs[0].data.general.filename,".csv")),document.body.appendChild(n),n.click(),document.body.removeChild(n)}}}},dt=pt,ht=(n("ebf2"),E(dt,nt,rt,!1,null,null,null));ht.options.__file="Results.vue";var vt=ht.exports,mt={name:"TemplateDdv",components:{SettingsForm:Y,Preview:et,Results:vt},props:{templateName:{type:String,required:!0},templateUrl:{type:String,required:!0},service:{type:Object,required:!0}},data:function(){return{loading:!0,specificOriginModel:[],specificTranslationsModel:[],localesAllowed:[],previsualizationConfig:{},rendering:!1,jobs:[]}},created:function(){this.getTemplate(),this.setupListener()},beforeDestroy:function(){this.removeListener()},methods:{getTemplate:function(){var t=o(regeneratorRuntime.mark(function t(){var e=this;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,setTimeout(function(t){e.loading=!1,e.specificOriginModel=[{type:"url",name:"tweetUrl",label:"Url du tweet",value:"https://twitter.com/realDonaldTrump/status/1008725438972211200"}],e.specificTranslationsModel=[{type:"textarea",name:"traductionContent",label:"traduction du tweet",value:""}],e.localesAllowed=["fr","es","en"]},300);case 2:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),setupListener:function(){this.service.on("status",this.statusUpdate)},removeListener:function(){this.service.off("status",this.statusUpdate)},statusUpdate:function(t){var e=t.type,n=t.idJob,r=t.value,i=this.jobs.find(function(t){return t.id===n});"progress"===e&&(i.progress=r),"completed"===e&&(i.returnvalue=r)},validate:function(){var t=o(regeneratorRuntime.mark(function t(e){var n;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.service.create(e);case 2:if(n=t.sent,!(n.length>=1)){t.next=8;break}return this.rendering=!0,t.next=7,this.service.get(n.map(function(t){return t.id}));case 7:this.jobs=t.sent;case 8:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}()}},gt=mt,yt=(n("49d1"),E(gt,r,i,!1,null,null,null));yt.options.__file="TemplateDdv.vue";var bt=yt.exports;n.d(e,"DataDrivenVideoUi",function(){return bt})},fdef:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}})});
//# sourceMappingURL=dataDrivenVideoUi.umd.min.js.map
{
"name": "@afp/data-driven-video-ui",
"version": "1.1.1",
"version": "1.1.2",
"description": "Main interface to generate data driven videos",

@@ -9,3 +9,4 @@ "main": "dist/dataDrivenVideoUi.umd.min.js",

"build": "vue-cli-service build --target lib --name dataDrivenVideoUi src/index.js",
"lint": "vue-cli-service lint"
"lint": "vue-cli-service lint",
"prepublishOnly": "npm run build"
},

@@ -12,0 +13,0 @@ "author": "clementp",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc