From f66e4a8f29f067ececd62b5e34054470ecaafe37 Mon Sep 17 00:00:00 2001 From: Arno Kaimbacher Date: Fri, 14 Sep 2018 18:16:02 +0200 Subject: [PATCH] add authors during publishing --- public/backend/publish/datasetPublish.js | 2 +- public/js/app.js | 2 +- resources/assets/js/app.js | 1 + resources/assets/js/bootstrap.js | 2 + .../assets/js/components/MyAutocomplete.vue | 136 ++++++++++ resources/assets/js/datasetPublish.js | 17 +- .../views/publish/create-step1.blade.php | 243 +++++++++++------- .../views/settings/license/_form.blade.php | 32 +-- resources/views/settings/page/edit.blade.php | 207 ++++++++------- resources/views/settings/page/index.blade.php | 44 ++-- routes/api.php | 2 +- 11 files changed, 460 insertions(+), 228 deletions(-) create mode 100644 resources/assets/js/components/MyAutocomplete.vue diff --git a/public/backend/publish/datasetPublish.js b/public/backend/publish/datasetPublish.js index cdbb276..8f53490 100644 --- a/public/backend/publish/datasetPublish.js +++ b/public/backend/publish/datasetPublish.js @@ -1 +1 @@ -!function(t){var e={};function a(s){if(e[s])return e[s].exports;var r=e[s]={i:s,l:!1,exports:{}};return t[s].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=t,a.c=e,a.d=function(t,e,s){a.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:s})},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="/",a(a.s=55)}({55:function(t,e,a){t.exports=a(56)},56:function(t,e){new Vue({el:"#app",data:function(){return{rows:[],errors:[],uploadedFiles:[],uploadError:null,currentStatus:null,uploadFieldName:"photos",fileCount:0,step:1,dataset:{type:"",state:"",rights:0,project_id:"",creating_corporation:"GBA",embargo_date:"",belongs_to_bibliography:0,title_main:{value:"",language:""},abstract_main:{value:"",language:""},checkedPersons:[],checkedLicenses:[],files:[]}}},mounted:function(){this.step=1,this.reset()},computed:{isInitial:function(){return 0===this.currentStatus},isSaving:function(){return 1===this.currentStatus},isSuccess:function(){return 2===this.currentStatus},isFailed:function(){return 3===this.currentStatus}},methods:{reset:function(){this.currentStatus=0,this.uploadedFiles=[],this.uploadError=null},resetDropbox:function(){this.currentStatus=0,this.dataset.files=[]},save:function(){var t=this;this.errors=[];for(var e=new FormData,a=0;ar.parts.length&&(e.parts.length=r.parts.length)}else{var o=[];for(u=0;u>>1,D=[["ary",A],["bind",d],["bindKey",y],["curry",m],["curryRight",w],["flip",O],["partial",x],["partialRight",j],["rearg",S]],M="[object Arguments]",F="[object Array]",P="[object AsyncFunction]",q="[object Boolean]",V="[object Date]",Z="[object DOMException]",G="[object Error]",J="[object Function]",K="[object GeneratorFunction]",H="[object Map]",Y="[object Number]",X="[object Null]",Q="[object Object]",nn="[object Proxy]",tn="[object RegExp]",rn="[object Set]",en="[object String]",un="[object Symbol]",on="[object Undefined]",an="[object WeakMap]",fn="[object WeakSet]",cn="[object ArrayBuffer]",ln="[object DataView]",sn="[object Float32Array]",hn="[object Float64Array]",pn="[object Int8Array]",vn="[object Int16Array]",_n="[object Int32Array]",gn="[object Uint8Array]",dn="[object Uint8ClampedArray]",yn="[object Uint16Array]",bn="[object Uint32Array]",mn=/\b__p \+= '';/g,wn=/\b(__p \+=) '' \+/g,xn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,jn=/&(?:amp|lt|gt|quot|#39);/g,An=/[&<>"']/g,Sn=RegExp(jn.source),On=RegExp(An.source),Rn=/<%-([\s\S]+?)%>/g,kn=/<%([\s\S]+?)%>/g,Cn=/<%=([\s\S]+?)%>/g,En=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,In=/^\w*$/,Ln=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,zn=/[\\^$.*+?()[\]{}|]/g,Un=RegExp(zn.source),Tn=/^\s+|\s+$/g,Wn=/^\s+/,Bn=/\s+$/,$n=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Nn=/\{\n\/\* \[wrapped with (.+)\] \*/,Dn=/,? & /,Mn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Fn=/\\(\\)?/g,Pn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qn=/\w*$/,Vn=/^[-+]0x[0-9a-f]+$/i,Zn=/^0b[01]+$/i,Gn=/^\[object .+?Constructor\]$/,Jn=/^0o[0-7]+$/i,Kn=/^(?:0|[1-9]\d*)$/,Hn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Yn=/($^)/,Xn=/['\n\r\u2028\u2029\\]/g,Qn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",nt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",tt="[\\ud800-\\udfff]",rt="["+nt+"]",et="["+Qn+"]",ut="\\d+",it="[\\u2700-\\u27bf]",ot="[a-z\\xdf-\\xf6\\xf8-\\xff]",at="[^\\ud800-\\udfff"+nt+ut+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ft="\\ud83c[\\udffb-\\udfff]",ct="[^\\ud800-\\udfff]",lt="(?:\\ud83c[\\udde6-\\uddff]){2}",st="[\\ud800-\\udbff][\\udc00-\\udfff]",ht="[A-Z\\xc0-\\xd6\\xd8-\\xde]",pt="(?:"+ot+"|"+at+")",vt="(?:"+ht+"|"+at+")",_t="(?:"+et+"|"+ft+")"+"?",gt="[\\ufe0e\\ufe0f]?"+_t+("(?:\\u200d(?:"+[ct,lt,st].join("|")+")[\\ufe0e\\ufe0f]?"+_t+")*"),dt="(?:"+[it,lt,st].join("|")+")"+gt,yt="(?:"+[ct+et+"?",et,lt,st,tt].join("|")+")",bt=RegExp("['’]","g"),mt=RegExp(et,"g"),wt=RegExp(ft+"(?="+ft+")|"+yt+gt,"g"),xt=RegExp([ht+"?"+ot+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[rt,ht,"$"].join("|")+")",vt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[rt,ht+pt,"$"].join("|")+")",ht+"?"+pt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",ht+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ut,dt].join("|"),"g"),jt=RegExp("[\\u200d\\ud800-\\udfff"+Qn+"\\ufe0e\\ufe0f]"),At=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,St=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ot=-1,Rt={};Rt[sn]=Rt[hn]=Rt[pn]=Rt[vn]=Rt[_n]=Rt[gn]=Rt[dn]=Rt[yn]=Rt[bn]=!0,Rt[M]=Rt[F]=Rt[cn]=Rt[q]=Rt[ln]=Rt[V]=Rt[G]=Rt[J]=Rt[H]=Rt[Y]=Rt[Q]=Rt[tn]=Rt[rn]=Rt[en]=Rt[an]=!1;var kt={};kt[M]=kt[F]=kt[cn]=kt[ln]=kt[q]=kt[V]=kt[sn]=kt[hn]=kt[pn]=kt[vn]=kt[_n]=kt[H]=kt[Y]=kt[Q]=kt[tn]=kt[rn]=kt[en]=kt[un]=kt[gn]=kt[dn]=kt[yn]=kt[bn]=!0,kt[G]=kt[J]=kt[an]=!1;var Ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Et=parseFloat,It=parseInt,Lt="object"==typeof n&&n&&n.Object===Object&&n,zt="object"==typeof self&&self&&self.Object===Object&&self,Ut=Lt||zt||Function("return this")(),Tt="object"==typeof t&&t&&!t.nodeType&&t,Wt=Tt&&"object"==typeof e&&e&&!e.nodeType&&e,Bt=Wt&&Wt.exports===Tt,$t=Bt&&Lt.process,Nt=function(){try{var n=Wt&&Wt.require&&Wt.require("util").types;return n||$t&&$t.binding&&$t.binding("util")}catch(n){}}(),Dt=Nt&&Nt.isArrayBuffer,Mt=Nt&&Nt.isDate,Ft=Nt&&Nt.isMap,Pt=Nt&&Nt.isRegExp,qt=Nt&&Nt.isSet,Vt=Nt&&Nt.isTypedArray;function Zt(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function Gt(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u-1}function Qt(n,t,r){for(var e=-1,u=null==n?0:n.length;++e-1;);return r}function wr(n,t){for(var r=n.length;r--&&fr(t,n[r],0)>-1;);return r}var xr=pr({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),jr=pr({"&":"&","<":"<",">":">",'"':""","'":"'"});function Ar(n){return"\\"+Ct[n]}function Sr(n){return jt.test(n)}function Or(n){var t=-1,r=Array(n.size);return n.forEach(function(n,e){r[++t]=[e,n]}),r}function Rr(n,t){return function(r){return n(t(r))}}function kr(n,t){for(var r=-1,e=n.length,u=0,i=[];++r",""":'"',"'":"'"});var Tr=function n(t){var r,e=(t=null==t?Ut:Tr.defaults(Ut.Object(),t,Tr.pick(Ut,St))).Array,u=t.Date,Qn=t.Error,nt=t.Function,tt=t.Math,rt=t.Object,et=t.RegExp,ut=t.String,it=t.TypeError,ot=e.prototype,at=nt.prototype,ft=rt.prototype,ct=t["__core-js_shared__"],lt=at.toString,st=ft.hasOwnProperty,ht=0,pt=(r=/[^.]+$/.exec(ct&&ct.keys&&ct.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",vt=ft.toString,_t=lt.call(rt),gt=Ut._,dt=et("^"+lt.call(st).replace(zn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yt=Bt?t.Buffer:i,wt=t.Symbol,jt=t.Uint8Array,Ct=yt?yt.allocUnsafe:i,Lt=Rr(rt.getPrototypeOf,rt),zt=rt.create,Tt=ft.propertyIsEnumerable,Wt=ot.splice,$t=wt?wt.isConcatSpreadable:i,Nt=wt?wt.iterator:i,ir=wt?wt.toStringTag:i,pr=function(){try{var n=Ni(rt,"defineProperty");return n({},"",{}),n}catch(n){}}(),Wr=t.clearTimeout!==Ut.clearTimeout&&t.clearTimeout,Br=u&&u.now!==Ut.Date.now&&u.now,$r=t.setTimeout!==Ut.setTimeout&&t.setTimeout,Nr=tt.ceil,Dr=tt.floor,Mr=rt.getOwnPropertySymbols,Fr=yt?yt.isBuffer:i,Pr=t.isFinite,qr=ot.join,Vr=Rr(rt.keys,rt),Zr=tt.max,Gr=tt.min,Jr=u.now,Kr=t.parseInt,Hr=tt.random,Yr=ot.reverse,Xr=Ni(t,"DataView"),Qr=Ni(t,"Map"),ne=Ni(t,"Promise"),te=Ni(t,"Set"),re=Ni(t,"WeakMap"),ee=Ni(rt,"create"),ue=re&&new re,ie={},oe=lo(Xr),ae=lo(Qr),fe=lo(ne),ce=lo(te),le=lo(re),se=wt?wt.prototype:i,he=se?se.valueOf:i,pe=se?se.toString:i;function ve(n){if(ka(n)&&!da(n)&&!(n instanceof ye)){if(n instanceof de)return n;if(st.call(n,"__wrapped__"))return so(n)}return new de(n)}var _e=function(){function n(){}return function(t){if(!Ra(t))return{};if(zt)return zt(t);n.prototype=t;var r=new n;return n.prototype=i,r}}();function ge(){}function de(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function ye(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=B,this.__views__=[]}function be(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t=t?n:t)),n}function We(n,t,r,e,u,o){var a,f=t&h,c=t&p,l=t&v;if(r&&(a=u?r(n,e,u,o):r(n)),a!==i)return a;if(!Ra(n))return n;var s=da(n);if(s){if(a=function(n){var t=n.length,r=new n.constructor(t);return t&&"string"==typeof n[0]&&st.call(n,"index")&&(r.index=n.index,r.input=n.input),r}(n),!f)return ei(n,a)}else{var _=Fi(n),g=_==J||_==K;if(wa(n))return Yu(n,f);if(_==Q||_==M||g&&!u){if(a=c||g?{}:qi(n),!f)return c?function(n,t){return ui(n,Mi(n),t)}(n,function(n,t){return n&&ui(t,of(t),n)}(a,n)):function(n,t){return ui(n,Di(n),t)}(n,Le(a,n))}else{if(!kt[_])return u?n:{};a=function(n,t,r){var e,u,i,o=n.constructor;switch(t){case cn:return Xu(n);case q:case V:return new o(+n);case ln:return function(n,t){var r=t?Xu(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)}(n,r);case sn:case hn:case pn:case vn:case _n:case gn:case dn:case yn:case bn:return Qu(n,r);case H:return new o;case Y:case en:return new o(n);case tn:return(i=new(u=n).constructor(u.source,qn.exec(u))).lastIndex=u.lastIndex,i;case rn:return new o;case un:return e=n,he?rt(he.call(e)):{}}}(n,_,f)}}o||(o=new je);var d=o.get(n);if(d)return d;if(o.set(n,a),za(n))return n.forEach(function(e){a.add(We(e,t,r,e,n,o))}),a;if(Ca(n))return n.forEach(function(e,u){a.set(u,We(e,t,r,u,n,o))}),a;var y=s?i:(l?c?Li:Ii:c?of:uf)(n);return Jt(y||n,function(e,u){y&&(e=n[u=e]),Ce(a,u,We(e,t,r,u,n,o))}),a}function Be(n,t,r){var e=r.length;if(null==n)return!e;for(n=rt(n);e--;){var u=r[e],o=t[u],a=n[u];if(a===i&&!(u in n)||!o(a))return!1}return!0}function $e(n,t,r){if("function"!=typeof n)throw new it(f);return eo(function(){n.apply(i,r)},t)}function Ne(n,t,r,e){var u=-1,i=Xt,a=!0,f=n.length,c=[],l=t.length;if(!f)return c;r&&(t=nr(t,dr(r))),e?(i=Qt,a=!1):t.length>=o&&(i=br,a=!1,t=new xe(t));n:for(;++u-1},me.prototype.set=function(n,t){var r=this.__data__,e=Ee(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},we.prototype.clear=function(){this.size=0,this.__data__={hash:new be,map:new(Qr||me),string:new be}},we.prototype.delete=function(n){var t=Bi(this,n).delete(n);return this.size-=t?1:0,t},we.prototype.get=function(n){return Bi(this,n).get(n)},we.prototype.has=function(n){return Bi(this,n).has(n)},we.prototype.set=function(n,t){var r=Bi(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},xe.prototype.add=xe.prototype.push=function(n){return this.__data__.set(n,c),this},xe.prototype.has=function(n){return this.__data__.has(n)},je.prototype.clear=function(){this.__data__=new me,this.size=0},je.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},je.prototype.get=function(n){return this.__data__.get(n)},je.prototype.has=function(n){return this.__data__.has(n)},je.prototype.set=function(n,t){var r=this.__data__;if(r instanceof me){var e=r.__data__;if(!Qr||e.length0&&r(a)?t>1?Ve(a,t-1,r,e,u):tr(u,a):e||(u[u.length]=a)}return u}var Ze=fi(),Ge=fi(!0);function Je(n,t){return n&&Ze(n,t,uf)}function Ke(n,t){return n&&Ge(n,t,uf)}function He(n,t){return Yt(t,function(t){return Aa(n[t])})}function Ye(n,t){for(var r=0,e=(t=Gu(t,n)).length;null!=n&&rt}function tu(n,t){return null!=n&&st.call(n,t)}function ru(n,t){return null!=n&&t in rt(n)}function eu(n,t,r){for(var u=r?Qt:Xt,o=n[0].length,a=n.length,f=a,c=e(a),l=1/0,s=[];f--;){var h=n[f];f&&t&&(h=nr(h,dr(t))),l=Gr(h.length,l),c[f]=!r&&(t||o>=120&&h.length>=120)?new xe(f&&h):i}h=n[0];var p=-1,v=c[0];n:for(;++p=a)return f;var c=r[e];return f*("desc"==c?-1:1)}}return n.index-t.index}(n,t,r)})}function bu(n,t,r){for(var e=-1,u=t.length,i={};++e-1;)a!==n&&Wt.call(a,f,1),Wt.call(n,f,1);return n}function wu(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;Zi(u)?Wt.call(n,u,1):Nu(n,u)}}return n}function xu(n,t){return n+Dr(Hr()*(t-n+1))}function ju(n,t){var r="";if(!n||t<1||t>U)return r;do{t%2&&(r+=n),(t=Dr(t/2))&&(n+=n)}while(t);return r}function Au(n,t){return uo(no(n,t,If),n+"")}function Su(n){return Se(vf(n))}function Ou(n,t){var r=vf(n);return ao(r,Te(t,0,r.length))}function Ru(n,t,r,e){if(!Ra(n))return n;for(var u=-1,o=(t=Gu(t,n)).length,a=o-1,f=n;null!=f&&++ui?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=e(i);++u>>1,o=n[i];null!==o&&!Ta(o)&&(r?o<=t:o=o){var l=t?null:ji(n);if(l)return Er(l);a=!1,u=br,c=new xe}else c=t?[]:f;n:for(;++e=e?n:Iu(n,t,r)}var Hu=Wr||function(n){return Ut.clearTimeout(n)};function Yu(n,t){if(t)return n.slice();var r=n.length,e=Ct?Ct(r):new n.constructor(r);return n.copy(e),e}function Xu(n){var t=new n.constructor(n.byteLength);return new jt(t).set(new jt(n)),t}function Qu(n,t){var r=t?Xu(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function ni(n,t){if(n!==t){var r=n!==i,e=null===n,u=n==n,o=Ta(n),a=t!==i,f=null===t,c=t==t,l=Ta(t);if(!f&&!l&&!o&&n>t||o&&a&&c&&!f&&!l||e&&a&&c||!r&&c||!u)return 1;if(!e&&!o&&!l&&n1?r[u-1]:i,a=u>2?r[2]:i;for(o=n.length>3&&"function"==typeof o?(u--,o):i,a&&Gi(r[0],r[1],a)&&(o=u<3?i:o,u=1),t=rt(t);++e-1?u[o?t[a]:a]:i}}function pi(n){return Ei(function(t){var r=t.length,e=r,u=de.prototype.thru;for(n&&t.reverse();e--;){var o=t[e];if("function"!=typeof o)throw new it(f);if(u&&!a&&"wrapper"==Ui(o))var a=new de([],!0)}for(e=a?e:r;++e1&&m.reverse(),h&&lf))return!1;var l=o.get(n);if(l&&o.get(t))return l==t;var s=-1,h=!0,p=r&g?new xe:i;for(o.set(n,t),o.set(t,n);++s-1&&n%1==0&&n1?"& ":"")+t[e],t=t.join(r>2?", ":" "),n.replace($n,"{\n/* [wrapped with "+t+"] */\n")}(e,function(n,t){return Jt(D,function(r){var e="_."+r[0];t&r[1]&&!Xt(n,e)&&n.push(e)}),n.sort()}(function(n){var t=n.match(Nn);return t?t[1].split(Dn):[]}(e),r)))}function oo(n){var t=0,r=0;return function(){var e=Jr(),u=E-(e-r);if(r=e,u>0){if(++t>=C)return arguments[0]}else t=0;return n.apply(i,arguments)}}function ao(n,t){var r=-1,e=n.length,u=e-1;for(t=t===i?e:t;++r1?n[t-1]:i;return Lo(n,r="function"==typeof r?(n.pop(),r):i)});function No(n){var t=ve(n);return t.__chain__=!0,t}function Do(n,t){return t(n)}var Mo=Ei(function(n){var t=n.length,r=t?n[0]:0,e=this.__wrapped__,u=function(t){return Ue(t,n)};return!(t>1||this.__actions__.length)&&e instanceof ye&&Zi(r)?((e=e.slice(r,+r+(t?1:0))).__actions__.push({func:Do,args:[u],thisArg:i}),new de(e,this.__chain__).thru(function(n){return t&&!n.length&&n.push(i),n})):this.thru(u)});var Fo=ii(function(n,t,r){st.call(n,r)?++n[r]:ze(n,r,1)});var Po=hi(_o),qo=hi(go);function Vo(n,t){return(da(n)?Jt:De)(n,Wi(t,3))}function Zo(n,t){return(da(n)?Kt:Me)(n,Wi(t,3))}var Go=ii(function(n,t,r){st.call(n,r)?n[r].push(t):ze(n,r,[t])});var Jo=Au(function(n,t,r){var u=-1,i="function"==typeof t,o=ba(n)?e(n.length):[];return De(n,function(n){o[++u]=i?Zt(t,n,r):uu(n,t,r)}),o}),Ko=ii(function(n,t,r){ze(n,r,t)});function Ho(n,t){return(da(n)?nr:pu)(n,Wi(t,3))}var Yo=ii(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]});var Xo=Au(function(n,t){if(null==n)return[];var r=t.length;return r>1&&Gi(n,t[0],t[1])?t=[]:r>2&&Gi(t[0],t[1],t[2])&&(t=[t[0]]),yu(n,Ve(t,1),[])}),Qo=Br||function(){return Ut.Date.now()};function na(n,t,r){return t=r?i:t,t=n&&null==t?n.length:t,Si(n,A,i,i,i,i,t)}function ta(n,t){var r;if("function"!=typeof t)throw new it(f);return n=Ma(n),function(){return--n>0&&(r=t.apply(this,arguments)),n<=1&&(t=i),r}}var ra=Au(function(n,t,r){var e=d;if(r.length){var u=kr(r,Ti(ra));e|=x}return Si(n,e,t,r,u)}),ea=Au(function(n,t,r){var e=d|y;if(r.length){var u=kr(r,Ti(ea));e|=x}return Si(t,e,n,r,u)});function ua(n,t,r){var e,u,o,a,c,l,s=0,h=!1,p=!1,v=!0;if("function"!=typeof n)throw new it(f);function _(t){var r=e,o=u;return e=u=i,s=t,a=n.apply(o,r)}function g(n){var r=n-l;return l===i||r>=t||r<0||p&&n-s>=o}function d(){var n=Qo();if(g(n))return y(n);c=eo(d,function(n){var r=t-(n-l);return p?Gr(r,o-(n-s)):r}(n))}function y(n){return c=i,v&&e?_(n):(e=u=i,a)}function b(){var n=Qo(),r=g(n);if(e=arguments,u=this,l=n,r){if(c===i)return function(n){return s=n,c=eo(d,t),h?_(n):a}(l);if(p)return c=eo(d,t),_(l)}return c===i&&(c=eo(d,t)),a}return t=Pa(t)||0,Ra(r)&&(h=!!r.leading,o=(p="maxWait"in r)?Zr(Pa(r.maxWait)||0,t):o,v="trailing"in r?!!r.trailing:v),b.cancel=function(){c!==i&&Hu(c),s=0,e=l=u=c=i},b.flush=function(){return c===i?a:y(Qo())},b}var ia=Au(function(n,t){return $e(n,1,t)}),oa=Au(function(n,t,r){return $e(n,Pa(t)||0,r)});function aa(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new it(f);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(aa.Cache||we),r}function fa(n){if("function"!=typeof n)throw new it(f);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}aa.Cache=we;var ca=Ju(function(n,t){var r=(t=1==t.length&&da(t[0])?nr(t[0],dr(Wi())):nr(Ve(t,1),dr(Wi()))).length;return Au(function(e){for(var u=-1,i=Gr(e.length,r);++u=t}),ga=iu(function(){return arguments}())?iu:function(n){return ka(n)&&st.call(n,"callee")&&!Tt.call(n,"callee")},da=e.isArray,ya=Dt?dr(Dt):function(n){return ka(n)&&Qe(n)==cn};function ba(n){return null!=n&&Oa(n.length)&&!Aa(n)}function ma(n){return ka(n)&&ba(n)}var wa=Fr||qf,xa=Mt?dr(Mt):function(n){return ka(n)&&Qe(n)==V};function ja(n){if(!ka(n))return!1;var t=Qe(n);return t==G||t==Z||"string"==typeof n.message&&"string"==typeof n.name&&!Ia(n)}function Aa(n){if(!Ra(n))return!1;var t=Qe(n);return t==J||t==K||t==P||t==nn}function Sa(n){return"number"==typeof n&&n==Ma(n)}function Oa(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=U}function Ra(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function ka(n){return null!=n&&"object"==typeof n}var Ca=Ft?dr(Ft):function(n){return ka(n)&&Fi(n)==H};function Ea(n){return"number"==typeof n||ka(n)&&Qe(n)==Y}function Ia(n){if(!ka(n)||Qe(n)!=Q)return!1;var t=Lt(n);if(null===t)return!0;var r=st.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&<.call(r)==_t}var La=Pt?dr(Pt):function(n){return ka(n)&&Qe(n)==tn};var za=qt?dr(qt):function(n){return ka(n)&&Fi(n)==rn};function Ua(n){return"string"==typeof n||!da(n)&&ka(n)&&Qe(n)==en}function Ta(n){return"symbol"==typeof n||ka(n)&&Qe(n)==un}var Wa=Vt?dr(Vt):function(n){return ka(n)&&Oa(n.length)&&!!Rt[Qe(n)]};var Ba=mi(hu),$a=mi(function(n,t){return n<=t});function Na(n){if(!n)return[];if(ba(n))return Ua(n)?zr(n):ei(n);if(Nt&&n[Nt])return function(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}(n[Nt]());var t=Fi(n);return(t==H?Or:t==rn?Er:vf)(n)}function Da(n){return n?(n=Pa(n))===z||n===-z?(n<0?-1:1)*T:n==n?n:0:0===n?n:0}function Ma(n){var t=Da(n),r=t%1;return t==t?r?t-r:t:0}function Fa(n){return n?Te(Ma(n),0,B):0}function Pa(n){if("number"==typeof n)return n;if(Ta(n))return W;if(Ra(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=Ra(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=n.replace(Tn,"");var r=Zn.test(n);return r||Jn.test(n)?It(n.slice(2),r?2:8):Vn.test(n)?W:+n}function qa(n){return ui(n,of(n))}function Va(n){return null==n?"":Bu(n)}var Za=oi(function(n,t){if(Yi(t)||ba(t))ui(t,uf(t),n);else for(var r in t)st.call(t,r)&&Ce(n,r,t[r])}),Ga=oi(function(n,t){ui(t,of(t),n)}),Ja=oi(function(n,t,r,e){ui(t,of(t),n,e)}),Ka=oi(function(n,t,r,e){ui(t,uf(t),n,e)}),Ha=Ei(Ue);var Ya=Au(function(n,t){n=rt(n);var r=-1,e=t.length,u=e>2?t[2]:i;for(u&&Gi(t[0],t[1],u)&&(e=1);++r1),t}),ui(n,Li(n),r),e&&(r=We(r,h|p|v,ki));for(var u=t.length;u--;)Nu(r,t[u]);return r});var lf=Ei(function(n,t){return null==n?{}:function(n,t){return bu(n,t,function(t,r){return nf(n,r)})}(n,t)});function sf(n,t){if(null==n)return{};var r=nr(Li(n),function(n){return[n]});return t=Wi(t),bu(n,r,function(n,r){return t(n,r[0])})}var hf=Ai(uf),pf=Ai(of);function vf(n){return null==n?[]:yr(n,uf(n))}var _f=li(function(n,t,r){return t=t.toLowerCase(),n+(r?gf(t):t)});function gf(n){return Af(Va(n).toLowerCase())}function df(n){return(n=Va(n))&&n.replace(Hn,xr).replace(mt,"")}var yf=li(function(n,t,r){return n+(r?"-":"")+t.toLowerCase()}),bf=li(function(n,t,r){return n+(r?" ":"")+t.toLowerCase()}),mf=ci("toLowerCase");var wf=li(function(n,t,r){return n+(r?"_":"")+t.toLowerCase()});var xf=li(function(n,t,r){return n+(r?" ":"")+Af(t)});var jf=li(function(n,t,r){return n+(r?" ":"")+t.toUpperCase()}),Af=ci("toUpperCase");function Sf(n,t,r){return n=Va(n),(t=r?i:t)===i?function(n){return At.test(n)}(n)?function(n){return n.match(xt)||[]}(n):function(n){return n.match(Mn)||[]}(n):n.match(t)||[]}var Of=Au(function(n,t){try{return Zt(n,i,t)}catch(n){return ja(n)?n:new Qn(n)}}),Rf=Ei(function(n,t){return Jt(t,function(t){t=co(t),ze(n,t,ra(n[t],n))}),n});function kf(n){return function(){return n}}var Cf=pi(),Ef=pi(!0);function If(n){return n}function Lf(n){return cu("function"==typeof n?n:We(n,h))}var zf=Au(function(n,t){return function(r){return uu(r,n,t)}}),Uf=Au(function(n,t){return function(r){return uu(n,r,t)}});function Tf(n,t,r){var e=uf(t),u=He(t,e);null!=r||Ra(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=He(t,uf(t)));var i=!(Ra(r)&&"chain"in r&&!r.chain),o=Aa(n);return Jt(u,function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__);return(r.__actions__=ei(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,tr([this.value()],arguments))})}),n}function Wf(){}var Bf=di(nr),$f=di(Ht),Nf=di(ur);function Df(n){return Ji(n)?hr(co(n)):function(n){return function(t){return Ye(t,n)}}(n)}var Mf=bi(),Ff=bi(!0);function Pf(){return[]}function qf(){return!1}var Vf=gi(function(n,t){return n+t},0),Zf=xi("ceil"),Gf=gi(function(n,t){return n/t},1),Jf=xi("floor");var Kf,Hf=gi(function(n,t){return n*t},1),Yf=xi("round"),Xf=gi(function(n,t){return n-t},0);return ve.after=function(n,t){if("function"!=typeof t)throw new it(f);return n=Ma(n),function(){if(--n<1)return t.apply(this,arguments)}},ve.ary=na,ve.assign=Za,ve.assignIn=Ga,ve.assignInWith=Ja,ve.assignWith=Ka,ve.at=Ha,ve.before=ta,ve.bind=ra,ve.bindAll=Rf,ve.bindKey=ea,ve.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return da(n)?n:[n]},ve.chain=No,ve.chunk=function(n,t,r){t=(r?Gi(n,t,r):t===i)?1:Zr(Ma(t),0);var u=null==n?0:n.length;if(!u||t<1)return[];for(var o=0,a=0,f=e(Nr(u/t));ou?0:u+r),(e=e===i||e>u?u:Ma(e))<0&&(e+=u),e=r>e?0:Fa(e);r>>0)?(n=Va(n))&&("string"==typeof t||null!=t&&!La(t))&&!(t=Bu(t))&&Sr(n)?Ku(zr(n),0,r):n.split(t,r):[]},ve.spread=function(n,t){if("function"!=typeof n)throw new it(f);return t=null==t?0:Zr(Ma(t),0),Au(function(r){var e=r[t],u=Ku(r,0,t);return e&&tr(u,e),Zt(n,this,u)})},ve.tail=function(n){var t=null==n?0:n.length;return t?Iu(n,1,t):[]},ve.take=function(n,t,r){return n&&n.length?Iu(n,0,(t=r||t===i?1:Ma(t))<0?0:t):[]},ve.takeRight=function(n,t,r){var e=null==n?0:n.length;return e?Iu(n,(t=e-(t=r||t===i?1:Ma(t)))<0?0:t,e):[]},ve.takeRightWhile=function(n,t){return n&&n.length?Mu(n,Wi(t,3),!1,!0):[]},ve.takeWhile=function(n,t){return n&&n.length?Mu(n,Wi(t,3)):[]},ve.tap=function(n,t){return t(n),n},ve.throttle=function(n,t,r){var e=!0,u=!0;if("function"!=typeof n)throw new it(f);return Ra(r)&&(e="leading"in r?!!r.leading:e,u="trailing"in r?!!r.trailing:u),ua(n,t,{leading:e,maxWait:t,trailing:u})},ve.thru=Do,ve.toArray=Na,ve.toPairs=hf,ve.toPairsIn=pf,ve.toPath=function(n){return da(n)?nr(n,co):Ta(n)?[n]:ei(fo(Va(n)))},ve.toPlainObject=qa,ve.transform=function(n,t,r){var e=da(n),u=e||wa(n)||Wa(n);if(t=Wi(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:Ra(n)&&Aa(i)?_e(Lt(n)):{}}return(u?Jt:Je)(n,function(n,e,u){return t(r,n,e,u)}),r},ve.unary=function(n){return na(n,1)},ve.union=ko,ve.unionBy=Co,ve.unionWith=Eo,ve.uniq=function(n){return n&&n.length?$u(n):[]},ve.uniqBy=function(n,t){return n&&n.length?$u(n,Wi(t,2)):[]},ve.uniqWith=function(n,t){return t="function"==typeof t?t:i,n&&n.length?$u(n,i,t):[]},ve.unset=function(n,t){return null==n||Nu(n,t)},ve.unzip=Io,ve.unzipWith=Lo,ve.update=function(n,t,r){return null==n?n:Du(n,t,Zu(r))},ve.updateWith=function(n,t,r,e){return e="function"==typeof e?e:i,null==n?n:Du(n,t,Zu(r),e)},ve.values=vf,ve.valuesIn=function(n){return null==n?[]:yr(n,of(n))},ve.without=zo,ve.words=Sf,ve.wrap=function(n,t){return la(Zu(t),n)},ve.xor=Uo,ve.xorBy=To,ve.xorWith=Wo,ve.zip=Bo,ve.zipObject=function(n,t){return qu(n||[],t||[],Ce)},ve.zipObjectDeep=function(n,t){return qu(n||[],t||[],Ru)},ve.zipWith=$o,ve.entries=hf,ve.entriesIn=pf,ve.extend=Ga,ve.extendWith=Ja,Tf(ve,ve),ve.add=Vf,ve.attempt=Of,ve.camelCase=_f,ve.capitalize=gf,ve.ceil=Zf,ve.clamp=function(n,t,r){return r===i&&(r=t,t=i),r!==i&&(r=(r=Pa(r))==r?r:0),t!==i&&(t=(t=Pa(t))==t?t:0),Te(Pa(n),t,r)},ve.clone=function(n){return We(n,v)},ve.cloneDeep=function(n){return We(n,h|v)},ve.cloneDeepWith=function(n,t){return We(n,h|v,t="function"==typeof t?t:i)},ve.cloneWith=function(n,t){return We(n,v,t="function"==typeof t?t:i)},ve.conformsTo=function(n,t){return null==t||Be(n,t,uf(t))},ve.deburr=df,ve.defaultTo=function(n,t){return null==n||n!=n?t:n},ve.divide=Gf,ve.endsWith=function(n,t,r){n=Va(n),t=Bu(t);var e=n.length,u=r=r===i?e:Te(Ma(r),0,e);return(r-=t.length)>=0&&n.slice(r,u)==t},ve.eq=pa,ve.escape=function(n){return(n=Va(n))&&On.test(n)?n.replace(An,jr):n},ve.escapeRegExp=function(n){return(n=Va(n))&&Un.test(n)?n.replace(zn,"\\$&"):n},ve.every=function(n,t,r){var e=da(n)?Ht:Fe;return r&&Gi(n,t,r)&&(t=i),e(n,Wi(t,3))},ve.find=Po,ve.findIndex=_o,ve.findKey=function(n,t){return or(n,Wi(t,3),Je)},ve.findLast=qo,ve.findLastIndex=go,ve.findLastKey=function(n,t){return or(n,Wi(t,3),Ke)},ve.floor=Jf,ve.forEach=Vo,ve.forEachRight=Zo,ve.forIn=function(n,t){return null==n?n:Ze(n,Wi(t,3),of)},ve.forInRight=function(n,t){return null==n?n:Ge(n,Wi(t,3),of)},ve.forOwn=function(n,t){return n&&Je(n,Wi(t,3))},ve.forOwnRight=function(n,t){return n&&Ke(n,Wi(t,3))},ve.get=Qa,ve.gt=va,ve.gte=_a,ve.has=function(n,t){return null!=n&&Pi(n,t,tu)},ve.hasIn=nf,ve.head=bo,ve.identity=If,ve.includes=function(n,t,r,e){n=ba(n)?n:vf(n),r=r&&!e?Ma(r):0;var u=n.length;return r<0&&(r=Zr(u+r,0)),Ua(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&fr(n,t,r)>-1},ve.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:Ma(r);return u<0&&(u=Zr(e+u,0)),fr(n,t,u)},ve.inRange=function(n,t,r){return t=Da(t),r===i?(r=t,t=0):r=Da(r),function(n,t,r){return n>=Gr(t,r)&&n=-U&&n<=U},ve.isSet=za,ve.isString=Ua,ve.isSymbol=Ta,ve.isTypedArray=Wa,ve.isUndefined=function(n){return n===i},ve.isWeakMap=function(n){return ka(n)&&Fi(n)==an},ve.isWeakSet=function(n){return ka(n)&&Qe(n)==fn},ve.join=function(n,t){return null==n?"":qr.call(n,t)},ve.kebabCase=yf,ve.last=jo,ve.lastIndexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=e;return r!==i&&(u=(u=Ma(r))<0?Zr(e+u,0):Gr(u,e-1)),t==t?function(n,t,r){for(var e=r+1;e--;)if(n[e]===t)return e;return e}(n,t,u):ar(n,lr,u,!0)},ve.lowerCase=bf,ve.lowerFirst=mf,ve.lt=Ba,ve.lte=$a,ve.max=function(n){return n&&n.length?Pe(n,If,nu):i},ve.maxBy=function(n,t){return n&&n.length?Pe(n,Wi(t,2),nu):i},ve.mean=function(n){return sr(n,If)},ve.meanBy=function(n,t){return sr(n,Wi(t,2))},ve.min=function(n){return n&&n.length?Pe(n,If,hu):i},ve.minBy=function(n,t){return n&&n.length?Pe(n,Wi(t,2),hu):i},ve.stubArray=Pf,ve.stubFalse=qf,ve.stubObject=function(){return{}},ve.stubString=function(){return""},ve.stubTrue=function(){return!0},ve.multiply=Hf,ve.nth=function(n,t){return n&&n.length?du(n,Ma(t)):i},ve.noConflict=function(){return Ut._===this&&(Ut._=gt),this},ve.noop=Wf,ve.now=Qo,ve.pad=function(n,t,r){n=Va(n);var e=(t=Ma(t))?Lr(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return yi(Dr(u),r)+n+yi(Nr(u),r)},ve.padEnd=function(n,t,r){n=Va(n);var e=(t=Ma(t))?Lr(n):0;return t&&et){var e=n;n=t,t=e}if(r||n%1||t%1){var u=Hr();return Gr(n+u*(t-n+Et("1e-"+((u+"").length-1))),t)}return xu(n,t)},ve.reduce=function(n,t,r){var e=da(n)?rr:vr,u=arguments.length<3;return e(n,Wi(t,4),r,u,De)},ve.reduceRight=function(n,t,r){var e=da(n)?er:vr,u=arguments.length<3;return e(n,Wi(t,4),r,u,Me)},ve.repeat=function(n,t,r){return t=(r?Gi(n,t,r):t===i)?1:Ma(t),ju(Va(n),t)},ve.replace=function(){var n=arguments,t=Va(n[0]);return n.length<3?t:t.replace(n[1],n[2])},ve.result=function(n,t,r){var e=-1,u=(t=Gu(t,n)).length;for(u||(u=1,n=i);++eU)return[];var r=B,e=Gr(n,B);t=Wi(t),n-=B;for(var u=gr(e,t);++r=o)return n;var f=r-Lr(e);if(f<1)return e;var c=a?Ku(a,0,f).join(""):n.slice(0,f);if(u===i)return c+e;if(a&&(f+=c.length-f),La(u)){if(n.slice(f).search(u)){var l,s=c;for(u.global||(u=et(u.source,Va(qn.exec(u))+"g")),u.lastIndex=0;l=u.exec(s);)var h=l.index;c=c.slice(0,h===i?f:h)}}else if(n.indexOf(Bu(u),f)!=f){var p=c.lastIndexOf(u);p>-1&&(c=c.slice(0,p))}return c+e},ve.unescape=function(n){return(n=Va(n))&&Sn.test(n)?n.replace(jn,Ur):n},ve.uniqueId=function(n){var t=++ht;return Va(n)+t},ve.upperCase=jf,ve.upperFirst=Af,ve.each=Vo,ve.eachRight=Zo,ve.first=bo,Tf(ve,(Kf={},Je(ve,function(n,t){st.call(ve.prototype,t)||(Kf[t]=n)}),Kf),{chain:!1}),ve.VERSION="4.17.10",Jt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){ve[n].placeholder=ve}),Jt(["drop","take"],function(n,t){ye.prototype[n]=function(r){r=r===i?1:Zr(Ma(r),0);var e=this.__filtered__&&!t?new ye(this):this.clone();return e.__filtered__?e.__takeCount__=Gr(r,e.__takeCount__):e.__views__.push({size:Gr(r,B),type:n+(e.__dir__<0?"Right":"")}),e},ye.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}}),Jt(["filter","map","takeWhile"],function(n,t){var r=t+1,e=r==I||3==r;ye.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:Wi(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),Jt(["head","last"],function(n,t){var r="take"+(t?"Right":"");ye.prototype[n]=function(){return this[r](1).value()[0]}}),Jt(["initial","tail"],function(n,t){var r="drop"+(t?"":"Right");ye.prototype[n]=function(){return this.__filtered__?new ye(this):this[r](1)}}),ye.prototype.compact=function(){return this.filter(If)},ye.prototype.find=function(n){return this.filter(n).head()},ye.prototype.findLast=function(n){return this.reverse().find(n)},ye.prototype.invokeMap=Au(function(n,t){return"function"==typeof n?new ye(this):this.map(function(r){return uu(r,n,t)})}),ye.prototype.reject=function(n){return this.filter(fa(Wi(n)))},ye.prototype.slice=function(n,t){n=Ma(n);var r=this;return r.__filtered__&&(n>0||t<0)?new ye(r):(n<0?r=r.takeRight(-n):n&&(r=r.drop(n)),t!==i&&(r=(t=Ma(t))<0?r.dropRight(-t):r.take(t-n)),r)},ye.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},ye.prototype.toArray=function(){return this.take(B)},Je(ye.prototype,function(n,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),e=/^(?:head|last)$/.test(t),u=ve[e?"take"+("last"==t?"Right":""):t],o=e||/^find/.test(t);u&&(ve.prototype[t]=function(){var t=this.__wrapped__,a=e?[1]:arguments,f=t instanceof ye,c=a[0],l=f||da(t),s=function(n){var t=u.apply(ve,tr([n],a));return e&&h?t[0]:t};l&&r&&"function"==typeof c&&1!=c.length&&(f=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=f&&!p;if(!o&&l){t=_?t:new ye(this);var g=n.apply(t,a);return g.__actions__.push({func:Do,args:[s],thisArg:i}),new de(g,h)}return v&&_?n.apply(this,a):(g=this.thru(s),v?e?g.value()[0]:g.value():g)})}),Jt(["pop","push","shift","sort","splice","unshift"],function(n){var t=ot[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);ve.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(da(u)?u:[],n)}return this[r](function(r){return t.apply(da(r)?r:[],n)})}}),Je(ye.prototype,function(n,t){var r=ve[t];if(r){var e=r.name+"";(ie[e]||(ie[e]=[])).push({name:t,func:r})}}),ie[vi(i,y).name]=[{name:"wrapper",func:i}],ye.prototype.clone=function(){var n=new ye(this.__wrapped__);return n.__actions__=ei(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=ei(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=ei(this.__views__),n},ye.prototype.reverse=function(){if(this.__filtered__){var n=new ye(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},ye.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=da(n),e=t<0,u=r?n.length:0,i=function(n,t,r){for(var e=-1,u=r.length;++e=this.__values__.length;return{done:n,value:n?i:this.__values__[this.__index__++]}},ve.prototype.plant=function(n){for(var t,r=this;r instanceof ge;){var e=so(r);e.__index__=0,e.__values__=i,t?u.__wrapped__=e:t=e;var u=e;r=r.__wrapped__}return u.__wrapped__=n,t},ve.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof ye){var t=n;return this.__actions__.length&&(t=new ye(this)),(t=t.reverse()).__actions__.push({func:Do,args:[Ro],thisArg:i}),new de(t,this.__chain__)}return this.thru(Ro)},ve.prototype.toJSON=ve.prototype.valueOf=ve.prototype.value=function(){return Fu(this.__wrapped__,this.__actions__)},ve.prototype.first=ve.prototype.head,Nt&&(ve.prototype[Nt]=function(){return this}),ve}();Ut._=Tr,(u=function(){return Tr}.call(t,r,t,e))===i||(e.exports=u)}).call(this)}).call(t,r(5),r(21)(n))},21:function(n,t){n.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),n.webpackPolyfill=1),n}},22:function(n,t){n.exports=function(n,t){for(var r=[],e={},u=0;u=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(e){c.headers[e]={}}),r.forEach(["post","put","patch"],function(e){c.headers[e]=r.merge(o)}),e.exports=c}).call(t,n(18))},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,u=[],l=!1,f=-1;function d(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&p())}function p(){if(!l){var e=s(d);l=!0;for(var t=u.length;t;){for(c=u,u=[];++f1)for(var n=1;nn.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(i=0;i0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(10);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports={}},function(e,t,n){var r=n(46),i=n(29);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(28)("keys"),i=n(16);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(12),i=n(2),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(11)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(6).f,i=n(4),o=n(9)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){t.f=n(9)},function(e,t,n){var r=n(2),i=n(12),o=n(11),a=n(31),s=n(6).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";(function(t){var r=n(1),i=n(126),o=/^\)\]\}',?\n/,a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,u={adapter:("undefined"!=typeof XMLHttpRequest?c=n(51):void 0!==t&&(c=n(51)),c),transformRequest:[function(e,t){return i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(s(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e){e=e.replace(o,"");try{e=JSON.parse(e)}catch(e){}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(e){u.headers[e]={}}),r.forEach(["post","put","patch"],function(e){u.headers[e]=r.merge(a)}),e.exports=u}).call(t,n(18))},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;rdocument.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c.prototype[o[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=c(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(4),i=n(8),o=n(102)(!1),a=n(27)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~o(u,n)||u.push(n));return u}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(46),i=n(29).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r0&&t-1 in e)}C.fn=C.prototype={jquery:"3.3.1",constructor:C,length:0,toArray:function(){return c.call(this)},get:function(e){return null==e?c.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=C.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return C.each(this,e)},map:function(e){return this.pushStack(C.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+R+")"+R+"*"),V=new RegExp("="+R+"*([^\\]'\"]*?)"+R+"*\\]","g"),W=new RegExp(M),z=new RegExp("^"+I+"$"),X={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+M),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},J=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,G=/^[^{]+\{\s*\[native \w/,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){d()},ie=ye(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{j.apply(E=D.call(w.childNodes),w.childNodes),E[w.childNodes.length].nodeType}catch(e){j={apply:E.length?function(e,t){$.apply(e,D.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function oe(e,t,r,i){var o,s,u,l,f,h,g,y=t&&t.ownerDocument,_=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==_&&9!==_&&11!==_)return r;if(!i&&((t?t.ownerDocument||t:w)!==p&&d(t),t=t||p,v)){if(11!==_&&(f=Y.exec(e)))if(o=f[1]){if(9===_){if(!(u=t.getElementById(o)))return r;if(u.id===o)return r.push(u),r}else if(y&&(u=y.getElementById(o))&&b(t,u)&&u.id===o)return r.push(u),r}else{if(f[2])return j.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return j.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!m||!m.test(e))){if(1!==_)y=t,g=e;else if("object"!==t.nodeName.toLowerCase()){for((l=t.getAttribute("id"))?l=l.replace(te,ne):t.setAttribute("id",l=x),s=(h=a(e)).length;s--;)h[s]="#"+l+" "+ge(h[s]);g=h.join(","),y=Q.test(e)&&ve(t.parentNode)||t}if(g)try{return j.apply(r,y.querySelectorAll(g)),r}catch(e){}finally{l===x&&t.removeAttribute("id")}}}return c(e.replace(H,"$1"),t,r,i)}function ae(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function se(e){return e[x]=!0,e}function ce(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function le(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function de(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function pe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return se(function(t){return t=+t,se(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},d=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,v=!o(p),w!==p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ce(function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=G.test(p.getElementsByClassName),n.getById=ce(function(e){return h.appendChild(e).id=x,!p.getElementsByName||!p.getElementsByName(x).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&v)return t.getElementsByClassName(e)},g=[],m=[],(n.qsa=G.test(p.querySelectorAll))&&(ce(function(e){h.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+R+"*(?:value|"+L+")"),e.querySelectorAll("[id~="+x+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||m.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=G.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ce(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),g.push("!=",M)}),m=m.length&&new RegExp(m.join("|")),g=g.length&&new RegExp(g.join("|")),t=G.test(h.compareDocumentPosition),b=t||G.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},A=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===p||e.ownerDocument===w&&b(w,e)?-1:t===p||t.ownerDocument===w&&b(w,t)?1:l?N(l,e)-N(l,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===p?-1:t===p?1:i?-1:o?1:l?N(l,e)-N(l,t):0;if(i===o)return le(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?le(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},p):p},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&d(e),t=t.replace(V,"='$1']"),n.matchesSelector&&v&&!S[t+" "]&&(!g||!g.test(t))&&(!m||!m.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,p,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==p&&d(e),b(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==p&&d(e);var i=r.attrHandle[t.toLowerCase()],o=i&&O.call(r.attrHandle,t.toLowerCase())?i(e,t,!v):void 0;return void 0!==o?o:n.attributes||!v?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(A),f){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return l=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:se,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return X.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=k[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&k(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(q," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,c){var u,l,f,d,p,h,v=o!==a?"nextSibling":"previousSibling",m=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!c&&!s,b=!1;if(m){if(o){for(;v;){for(d=t;d=d[v];)if(s?d.nodeName.toLowerCase()===g:1===d.nodeType)return!1;h=v="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&y){for(b=(p=(u=(l=(f=(d=m)[x]||(d[x]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===_&&u[1])&&u[2],d=p&&m.childNodes[p];d=++p&&d&&d[v]||(b=p=0)||h.pop();)if(1===d.nodeType&&++b&&d===t){l[e]=[_,p,b];break}}else if(y&&(b=p=(u=(l=(f=(d=t)[x]||(d[x]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===_&&u[1]),!1===b)for(;(d=++p&&d&&d[v]||(b=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==g:1!==d.nodeType)||!++b||(y&&((l=(f=d[x]||(d[x]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]=[_,b]),d!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[x]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=N(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(H,"$1"));return r[x]?se(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return z.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:pe(!1),disabled:pe(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xe(e,t,n,r,i){for(var o,a=[],s=0,c=e.length,u=null!=t;s-1&&(o[u]=!(a[u]=f))}}else g=xe(g===a?g.splice(h,g.length):g),i?i(null,a,g,c):j.apply(a,g)})}function _e(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],c=a?1:0,l=ye(function(e){return e===t},s,!0),f=ye(function(e){return N(t,e)>-1},s,!0),d=[function(e,n,r){var i=!a&&(r||n!==u)||((t=n).nodeType?l(e,n,r):f(e,n,r));return t=null,i}];c1&&be(d),c>1&&ge(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(H,"$1"),n,c0,i=e.length>0,o=function(o,a,s,c,l){var f,h,m,g=0,y="0",b=o&&[],x=[],w=u,C=o||i&&r.find.TAG("*",l),k=_+=null==w?1:Math.random()||.1,T=C.length;for(l&&(u=a===p||a||l);y!==T&&null!=(f=C[y]);y++){if(i&&f){for(h=0,a||f.ownerDocument===p||(d(f),s=!v);m=e[h++];)if(m(f,a||p,s)){c.push(f);break}l&&(_=k)}n&&((f=!m&&f)&&g--,o&&b.push(f))}if(g+=y,n&&y!==g){for(h=0;m=t[h++];)m(b,x,a,s);if(o){if(g>0)for(;y--;)b[y]||x[y]||(x[y]=P.call(c));x=xe(x)}j.apply(c,x),l&&!o&&x.length>0&&g+t.length>1&&oe.uniqueSort(c)}return l&&(_=k,u=w),b};return n?se(o):o}(o,i))).selector=e}return s},c=oe.select=function(e,t,n,i){var o,c,u,l,f,d="function"==typeof e&&e,p=!i&&a(e=d.selector||e);if(n=n||[],1===p.length){if((c=p[0]=p[0].slice(0)).length>2&&"ID"===(u=c[0]).type&&9===t.nodeType&&v&&r.relative[c[1].type]){if(!(t=(r.find.ID(u.matches[0].replace(Z,ee),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(o=X.needsContext.test(e)?0:c.length;o--&&(u=c[o],!r.relative[l=u.type]);)if((f=r.find[l])&&(i=f(u.matches[0].replace(Z,ee),Q.test(c[0].type)&&ve(t.parentNode)||t))){if(c.splice(o,1),!(e=i.length&&ge(c)))return j.apply(n,i),n;break}}return(d||s(e,p))(i,t,!v,n,!t||Q.test(e)&&ve(t.parentNode)||t),n},n.sortStable=x.split("").sort(A).join("")===x,n.detectDuplicates=!!f,d(),n.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))}),ce(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||ue("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ce(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ue("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||ue(L,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(n);C.find=S,C.expr=S.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=S.uniqueSort,C.text=S.getText,C.isXMLDoc=S.isXML,C.contains=S.contains,C.escapeSelector=S.escape;var A=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&C(e).is(n))break;r.push(e)}return r},O=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},E=C.expr.match.needsContext;function P(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var $=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return y(t)?C.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?C.grep(e,function(e){return e===t!==n}):"string"!=typeof t?C.grep(e,function(e){return f.call(t,e)>-1!==n}):C.filter(t,e,n)}C.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?C.find.matchesSelector(r,e)?[r]:[]:C.find.matches(e,C.grep(t,function(e){return 1===e.nodeType}))},C.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(C(e).filter(function(){for(t=0;t1?C.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&E.test(e)?C(e):e||[],!1).length}});var D,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:N.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:a,!0)),$.test(r[1])&&C.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=a.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(C):C.makeArray(e,this)}).prototype=C.fn,D=C(a);var L=/^(?:parents|prev(?:Until|All))/,R={children:!0,contents:!0,next:!0,prev:!0};function I(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&C.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?C.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?f.call(C(e),this[0]):f.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),C.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return A(e,"parentNode")},parentsUntil:function(e,t,n){return A(e,"parentNode",n)},next:function(e){return I(e,"nextSibling")},prev:function(e){return I(e,"previousSibling")},nextAll:function(e){return A(e,"nextSibling")},prevAll:function(e){return A(e,"previousSibling")},nextUntil:function(e,t,n){return A(e,"nextSibling",n)},prevUntil:function(e,t,n){return A(e,"previousSibling",n)},siblings:function(e){return O((e.parentNode||{}).firstChild,e)},children:function(e){return O(e.firstChild)},contents:function(e){return P(e,"iframe")?e.contentDocument:(P(e,"template")&&(e=e.content||e),C.merge([],e.childNodes))}},function(e,t){C.fn[e]=function(n,r){var i=C.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=C.filter(r,i)),this.length>1&&(R[e]||C.uniqueSort(i),L.test(e)&&i.reverse()),this.pushStack(i)}});var F=/[^\x20\t\r\n\f]+/g;function M(e){return e}function q(e){throw e}function H(e,t,n,r){var i;try{e&&y(i=e.promise)?i.call(e).done(t).fail(n):e&&y(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}C.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return C.each(e.match(F)||[],function(e,n){t[n]=!0}),t}(e):C.extend({},e);var t,n,r,i,o=[],a=[],s=-1,c=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?C.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},C.extend({Deferred:function(e){var t=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return C.Deferred(function(n){C.each(t,function(t,r){var i=y(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,r,i){var o=0;function a(e,t,r,i){return function(){var s=this,c=arguments,u=function(){var n,u;if(!(e=o&&(r!==q&&(s=void 0,c=[n]),t.rejectWith(s,c))}};e?l():(C.Deferred.getStackHook&&(l.stackTrace=C.Deferred.getStackHook()),n.setTimeout(l))}}return C.Deferred(function(n){t[0][3].add(a(0,n,y(i)?i:M,n.notifyWith)),t[1][3].add(a(0,n,y(e)?e:M)),t[2][3].add(a(0,n,y(r)?r:q))}).promise()},promise:function(e){return null!=e?C.extend(e,i):i}},o={};return C.each(t,function(e,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add(function(){r=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=c.call(arguments),o=C.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?c.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(H(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||y(i[n]&&i[n].then)))return o.then();for(;n--;)H(i[n],a(n),o.reject);return o.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&B.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},C.readyException=function(e){n.setTimeout(function(){throw e})};var U=C.Deferred();function V(){a.removeEventListener("DOMContentLoaded",V),n.removeEventListener("load",V),C.ready()}C.fn.ready=function(e){return U.then(e).catch(function(e){C.readyException(e)}),this},C.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==e&&--C.readyWait>0||U.resolveWith(a,[C]))}}),C.ready.then=U.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(C.ready):(a.addEventListener("DOMContentLoaded",V),n.addEventListener("load",V));var W=function(e,t,n,r,i,o,a){var s=0,c=e.length,u=null==n;if("object"===_(n))for(s in i=!0,n)W(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,y(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(C(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each(function(){Z.remove(this,e)})}}),C.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,C.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=C.queue(e,t),r=n.length,i=n.shift(),o=C._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){C.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:C.Callbacks("once memory").add(function(){Q.remove(e,[t+"queue",n])})})}}),C.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ve={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function me(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&P(e,t)?C.merge([e],n):n}function ge(e,t){for(var n=0,r=e.length;n-1)i&&i.push(o);else if(u=C.contains(o.ownerDocument,o),a=me(f.appendChild(o),"script"),u&&ge(a),n)for(l=0;o=a[l++];)he.test(o.type||"")&&n.push(o);return f}ye=a.createDocumentFragment().appendChild(a.createElement("div")),(be=a.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),ye.appendChild(be),g.checkClone=ye.cloneNode(!0).cloneNode(!0).lastChild.checked,ye.innerHTML="",g.noCloneChecked=!!ye.cloneNode(!0).lastChild.defaultValue;var _e=a.documentElement,Ce=/^key/,ke=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Te=/^([^.]*)(?:\.(.+)|)/;function Se(){return!0}function Ae(){return!1}function Oe(){try{return a.activeElement}catch(e){}}function Ee(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ee(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ae;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return C().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=C.guid++)),e.each(function(){C.event.add(this,t,i,r,n)})}C.event={global:{},add:function(e,t,n,r,i){var o,a,s,c,u,l,f,d,p,h,v,m=Q.get(e);if(m)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&C.find.matchesSelector(_e,i),n.guid||(n.guid=C.guid++),(c=m.events)||(c=m.events={}),(a=m.handle)||(a=m.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(F)||[""]).length;u--;)p=v=(s=Te.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),p&&(f=C.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=C.event.special[p]||{},l=C.extend({type:p,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&C.expr.match.needsContext.test(i),namespace:h.join(".")},o),(d=c[p])||((d=c[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),f.add&&(f.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,l):d.push(l),C.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,c,u,l,f,d,p,h,v,m=Q.hasData(e)&&Q.get(e);if(m&&(c=m.events)){for(u=(t=(t||"").match(F)||[""]).length;u--;)if(p=v=(s=Te.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),p){for(f=C.event.special[p]||{},d=c[p=(r?f.delegateType:f.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)l=d[o],!i&&v!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(d.splice(o,1),l.selector&&d.delegateCount--,f.remove&&f.remove.call(e,l));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,m.handle)||C.removeEvent(e,p,m.handle),delete c[p])}else for(p in c)C.event.remove(e,p+t[u],n,r,!0);C.isEmptyObject(c)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=C.event.fix(e),c=new Array(arguments.length),u=(Q.get(this,"events")||{})[s.type]||[],l=C.event.special[s.type]||{};for(c[0]=s,t=1;t=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(o=[],a={},n=0;n-1:C.find(i,this,null,[u]).length),a[i]&&o.push(r);o.length&&s.push({elem:u,handlers:o})}return u=this,c\x20\t\r\n\f]*)[^>]*)\/>/gi,$e=/\s*$/g;function Ne(e,t){return P(e,"table")&&P(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ie(e,t){var n,r,i,o,a,s,c,u;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),u=o.events))for(i in delete a.handle,a.events={},u)for(n=0,r=u[i].length;n1&&"string"==typeof h&&!g.checkClone&&je.test(h))return e.each(function(i){var o=e.eq(i);v&&(t[0]=h.call(this,i,o.html())),Fe(o,t,n,r)});if(d&&(o=(i=we(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=C.map(me(i,"script"),Le)).length;f")},clone:function(e,t,n){var r,i,o,a,s,c,u,l=e.cloneNode(!0),f=C.contains(e.ownerDocument,e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(a=me(l),r=0,i=(o=me(e)).length;r0&&ge(a,!f&&me(e,"script")),l},cleanData:function(e){for(var t,n,r,i=C.event.special,o=0;void 0!==(n=e[o]);o++)if(G(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)i[r]?C.event.remove(n,r):C.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),C.fn.extend({detach:function(e){return Me(this,e,!0)},remove:function(e){return Me(this,e)},text:function(e){return W(this,function(e){return void 0===e?C.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Fe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ne(this,e).appendChild(e)})},prepend:function(){return Fe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ne(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Fe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Fe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(C.cleanData(me(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return C.clone(this,e,t)})},html:function(e){return W(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!$e.test(e)&&!ve[(pe.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;n=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-c-s-.5))),c}function et(e,t,n){var r=He(e),i=Ue(e,t,r),o="border-box"===C.css(e,"boxSizing",!1,r),a=o;if(qe.test(i)){if(!n)return i;i="auto"}return a=a&&(g.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===C.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+Ze(e,t,n||(o?"border":"content"),a,r,i)+"px"}function tt(e,t,n,r,i){return new tt.prototype.init(e,t,n,r,i)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ue(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=K(t),c=ze.test(t),u=e.style;if(c||(t=Ye(s)),a=C.cssHooks[t]||C.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t];"string"===(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=ce(e,t,i),o="number"),null!=n&&n==n&&("number"===o&&(n+=i&&i[3]||(C.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(c?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var i,o,a,s=K(t);return ze.test(t)||(t=Ye(s)),(a=C.cssHooks[t]||C.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ue(e,t,r)),"normal"===i&&t in Je&&(i=Je[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),C.each(["height","width"],function(e,t){C.cssHooks[t]={get:function(e,n,r){if(n)return!We.test(C.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):se(e,Xe,function(){return et(e,t,r)})},set:function(e,n,r){var i,o=He(e),a="border-box"===C.css(e,"boxSizing",!1,o),s=r&&Ze(e,t,r,a,o);return a&&g.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Ze(e,t,"border",!1,o)-.5)),s&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=C.css(e,t)),Qe(0,n,s)}}}),C.cssHooks.marginLeft=Ve(g.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ue(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),C.each({margin:"",padding:"",border:"Width"},function(e,t){C.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(C.cssHooks[e+t].set=Qe)}),C.fn.extend({css:function(e,t){return W(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=He(e),i=t.length;a1)}}),C.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(C.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=C.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=C.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){C.fx.step[e.prop]?C.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[C.cssProps[e.prop]]&&!C.cssHooks[e.prop]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},C.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},C.fx=tt.prototype.init,C.fx.step={};var nt,rt,it=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function at(){rt&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(at):n.setTimeout(at,C.fx.interval),C.fx.tick())}function st(){return n.setTimeout(function(){nt=void 0}),nt=Date.now()}function ct(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ut(e,t,n){for(var r,i=(lt.tweeners[t]||[]).concat(lt.tweeners["*"]),o=0,a=i.length;o1)},removeAttr:function(e){return this.each(function(){C.removeAttr(this,e)})}}),C.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?C.prop(e,t,n):(1===o&&C.isXMLDoc(e)||(i=C.attrHooks[t.toLowerCase()]||(C.expr.match.bool.test(t)?ft:void 0)),void 0!==n?null===n?void C.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=C.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&P(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(F);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),ft={set:function(e,t,n){return!1===t?C.removeAttr(e,n):e.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),function(e,t){var n=dt[t]||C.find.attr;dt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=dt[a],dt[a]=i,i=null!=n(e,t,r)?a:null,dt[a]=o),i}});var pt=/^(?:input|select|textarea|button)$/i,ht=/^(?:a|area)$/i;function vt(e){return(e.match(F)||[]).join(" ")}function mt(e){return e.getAttribute&&e.getAttribute("class")||""}function gt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(F)||[]}C.fn.extend({prop:function(e,t){return W(this,C.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[C.propFix[e]||e]})}}),C.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&C.isXMLDoc(e)||(t=C.propFix[t]||t,i=C.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=C.find.attr(e,"tabindex");return t?parseInt(t,10):pt.test(e.nodeName)||ht.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(C.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),C.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,c=0;if(y(e))return this.each(function(t){C(this).addClass(e.call(this,t,mt(this)))});if((t=gt(e)).length)for(;n=this[c++];)if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,c=0;if(y(e))return this.each(function(t){C(this).removeClass(e.call(this,t,mt(this)))});if(!arguments.length)return this.attr("class","");if((t=gt(e)).length)for(;n=this[c++];)if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):y(e)?this.each(function(n){C(this).toggleClass(e.call(this,n,mt(this),t),t)}):this.each(function(){var t,i,o,a;if(r)for(i=0,o=C(this),a=gt(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=mt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+vt(mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var yt=/\r/g;C.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=y(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,C(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=C.map(i,function(e){return null==e?"":e+""})),(t=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=C.valHooks[i.type]||C.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(yt,""):null==n?"":n:void 0}}),C.extend({valHooks:{option:{get:function(e){var t=C.find.attr(e,"value");return null!=t?t:vt(C.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],c=a?o+1:i.length;for(r=o<0?c:a?o:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=C.inArray(C(e).val(),t)>-1}},g.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),g.focusin="onfocusin"in n;var bt=/^(?:focusinfocus|focusoutblur)$/,xt=function(e){e.stopPropagation()};C.extend(C.event,{trigger:function(e,t,r,i){var o,s,c,u,l,f,d,p,v=[r||a],m=h.call(e,"type")?e.type:e,g=h.call(e,"namespace")?e.namespace.split("."):[];if(s=p=c=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!bt.test(m+C.event.triggered)&&(m.indexOf(".")>-1&&(m=(g=m.split(".")).shift(),g.sort()),l=m.indexOf(":")<0&&"on"+m,(e=e[C.expando]?e:new C.Event(m,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:C.makeArray(t,[e]),d=C.event.special[m]||{},i||!d.trigger||!1!==d.trigger.apply(r,t))){if(!i&&!d.noBubble&&!b(r)){for(u=d.delegateType||m,bt.test(u+m)||(s=s.parentNode);s;s=s.parentNode)v.push(s),c=s;c===(r.ownerDocument||a)&&v.push(c.defaultView||c.parentWindow||n)}for(o=0;(s=v[o++])&&!e.isPropagationStopped();)p=s,e.type=o>1?u:d.bindType||m,(f=(Q.get(s,"events")||{})[e.type]&&Q.get(s,"handle"))&&f.apply(s,t),(f=l&&s[l])&&f.apply&&G(s)&&(e.result=f.apply(s,t),!1===e.result&&e.preventDefault());return e.type=m,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(v.pop(),t)||!G(r)||l&&y(r[m])&&!b(r)&&((c=r[l])&&(r[l]=null),C.event.triggered=m,e.isPropagationStopped()&&p.addEventListener(m,xt),r[m](),e.isPropagationStopped()&&p.removeEventListener(m,xt),C.event.triggered=void 0,c&&(r[l]=c)),e.result}},simulate:function(e,t,n){var r=C.extend(new C.Event,n,{type:e,isSimulated:!0});C.event.trigger(r,null,t)}}),C.fn.extend({trigger:function(e,t){return this.each(function(){C.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return C.event.trigger(e,t,n,!0)}}),g.focusin||C.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){C.event.simulate(t,e.target,C.event.fix(e))};C.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=Q.access(r,t);i||r.addEventListener(e,n,!0),Q.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Q.access(r,t)-1;i?Q.access(r,t,i):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}});var wt=n.location,_t=Date.now(),Ct=/\?/;C.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||C.error("Invalid XML: "+e),t};var kt=/\[\]$/,Tt=/\r?\n/g,St=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function Ot(e,t,n,r){var i;if(Array.isArray(t))C.each(t,function(t,i){n||kt.test(e)?r(e,i):Ot(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==_(t))r(e,t);else for(i in t)Ot(e+"["+i+"]",t[i],n,r)}C.param=function(e,t){var n,r=[],i=function(e,t){var n=y(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,function(){i(this.name,this.value)});else for(n in e)Ot(n,e[n],t,i);return r.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&At.test(this.nodeName)&&!St.test(e)&&(this.checked||!de.test(e))}).map(function(e,t){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,function(e){return{name:t.name,value:e.replace(Tt,"\r\n")}}):{name:t.name,value:n.replace(Tt,"\r\n")}}).get()}});var Et=/%20/g,Pt=/#.*$/,$t=/([?&])_=[^&]*/,jt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Dt=/^(?:GET|HEAD)$/,Nt=/^\/\//,Lt={},Rt={},It="*/".concat("*"),Ft=a.createElement("a");function Mt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(F)||[];if(y(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qt(e,t,n,r){var i={},o=e===Rt;function a(s){var c;return i[s]=!0,C.each(e[s]||[],function(e,s){var u=s(t,n,r);return"string"!=typeof u||o||i[u]?o?!(c=u):void 0:(t.dataTypes.unshift(u),a(u),!1)}),c}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Ht(e,t){var n,r,i=C.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&C.extend(!0,e,r),e}Ft.href=wt.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ht(Ht(e,C.ajaxSettings),t):Ht(C.ajaxSettings,e)},ajaxPrefilter:Mt(Lt),ajaxTransport:Mt(Rt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,s,c,u,l,f,d,p,h=C.ajaxSetup({},t),v=h.context||h,m=h.context&&(v.nodeType||v.jquery)?C(v):C.event,g=C.Deferred(),y=C.Callbacks("once memory"),b=h.statusCode||{},x={},w={},_="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(l){if(!s)for(s={};t=jt.exec(o);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(e,t){return null==l&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==l&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)k.always(e[k.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||_;return r&&r.abort(t),T(0,t),this}};if(g.promise(k),h.url=((e||h.url||wt.href)+"").replace(Nt,wt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(F)||[""],null==h.crossDomain){u=a.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=Ft.protocol+"//"+Ft.host!=u.protocol+"//"+u.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=C.param(h.data,h.traditional)),qt(Lt,h,t,k),l)return k;for(d in(f=C.event&&h.global)&&0==C.active++&&C.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Dt.test(h.type),i=h.url.replace(Pt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Et,"+")):(p=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(Ct.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace($t,"$1"),p=(Ct.test(i)?"&":"?")+"_="+_t+++p),h.url=i+p),h.ifModified&&(C.lastModified[i]&&k.setRequestHeader("If-Modified-Since",C.lastModified[i]),C.etag[i]&&k.setRequestHeader("If-None-Match",C.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&k.setRequestHeader("Content-Type",h.contentType),k.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+It+"; q=0.01":""):h.accepts["*"]),h.headers)k.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(v,k,h)||l))return k.abort();if(_="abort",y.add(h.complete),k.done(h.success),k.fail(h.error),r=qt(Rt,h,t,k)){if(k.readyState=1,f&&m.trigger("ajaxSend",[k,h]),l)return k;h.async&&h.timeout>0&&(c=n.setTimeout(function(){k.abort("timeout")},h.timeout));try{l=!1,r.send(x,T)}catch(e){if(l)throw e;T(-1,e)}}else T(-1,"No Transport");function T(e,t,a,s){var u,d,p,x,w,_=t;l||(l=!0,c&&n.clearTimeout(c),r=void 0,o=s||"",k.readyState=e>0?4:0,u=e>=200&&e<300||304===e,a&&(x=function(e,t,n){for(var r,i,o,a,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){c.unshift(i);break}if(c[0]in n)o=c[0];else{for(i in n){if(!c[0]||e.converters[i+" "+c[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==c[0]&&c.unshift(o),n[o]}(h,k,a)),x=function(e,t,n,r){var i,o,a,s,c,u={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=o,o=l.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(a=u[c+" "+o]||u["* "+o]))for(i in u)if((s=i.split(" "))[1]===o&&(a=u[c+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[i]:!0!==u[i]&&(o=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+c+" to "+o}}}return{state:"success",data:t}}(h,x,k,u),u?(h.ifModified&&((w=k.getResponseHeader("Last-Modified"))&&(C.lastModified[i]=w),(w=k.getResponseHeader("etag"))&&(C.etag[i]=w)),204===e||"HEAD"===h.type?_="nocontent":304===e?_="notmodified":(_=x.state,d=x.data,u=!(p=x.error))):(p=_,!e&&_||(_="error",e<0&&(e=0))),k.status=e,k.statusText=(t||_)+"",u?g.resolveWith(v,[d,_,k]):g.rejectWith(v,[k,_,p]),k.statusCode(b),b=void 0,f&&m.trigger(u?"ajaxSuccess":"ajaxError",[k,h,u?d:p]),y.fireWith(v,[k,_]),f&&(m.trigger("ajaxComplete",[k,h]),--C.active||C.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,n){return C.get(e,t,n,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],function(e,t){C[t]=function(e,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),C.ajax(C.extend({url:e,type:t,dataType:i,data:n,success:r},C.isPlainObject(e)&&e))}}),C._evalUrl=function(e){return C.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},C.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=C(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return y(e)?this.each(function(t){C(this).wrapInner(e.call(this,t))}):this.each(function(){var t=C(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=y(e);return this.each(function(n){C(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){C(this).replaceWith(this.childNodes)}),this}}),C.expr.pseudos.hidden=function(e){return!C.expr.pseudos.visible(e)},C.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Bt={0:200,1223:204},Ut=C.ajaxSettings.xhr();g.cors=!!Ut&&"withCredentials"in Ut,g.ajax=Ut=!!Ut,C.ajaxTransport(function(e){var t,r;if(g.cors||Ut&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Bt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),C.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return C.globalEval(e),e}}}),C.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),C.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(r,i){t=C(" + + diff --git a/resources/assets/js/datasetPublish.js b/resources/assets/js/datasetPublish.js index 93a02ed..c0c7212 100644 --- a/resources/assets/js/datasetPublish.js +++ b/resources/assets/js/datasetPublish.js @@ -19,12 +19,14 @@ // else { // console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token'); // } +window._ = require('lodash'); // window.Vue = require('vue'); // Vue.prototype.$http = axios; // Vue.component('example', require('./components/Example.vue')); -const STATUS_INITIAL = 0, STATUS_SAVING = 1, STATUS_SUCCESS = 2, STATUS_FAILED = 3; +Vue.component('my-autocomplete', require('./components/MyAutocomplete.vue')); +const STATUS_INITIAL = 0, STATUS_SAVING = 1, STATUS_SUCCESS = 2, STATUS_FAILED = 3; const app = new Vue({ el: '#app', @@ -41,6 +43,7 @@ const app = new Vue({ currentStatus: null, uploadFieldName: 'photos', fileCount: 0, + persons: [], step: 1, dataset: { @@ -98,6 +101,7 @@ const app = new Vue({ this.dataset.files = []; }, save() { + var _this = this; this.errors = []; /* Initialize the form data @@ -151,7 +155,7 @@ const app = new Vue({ // this.loading = false; // this.items = response.data; //Vue.set(app.skills, 1, "test55"); - this.currentStatus = STATUS_SUCCESS; + _this.currentStatus = STATUS_SUCCESS; if (response.data.redirect) { window.location = response.data.redirect; @@ -166,14 +170,14 @@ const app = new Vue({ var errorsArray = errorObject.response.data.errors; for (var index in errorsArray) { console.log(errorsArray[index]); - this.errors.push(errorsArray[index]); + _this.errors.push(errorsArray[index]); } } if (errorObject.response.data.error) { var error = errorObject.response.data.error; - this.errors.push(error.message); + _this.errors.push(error.message); } - this.currentStatus = STATUS_FAILED; + _this.currentStatus = STATUS_FAILED; }); }, // filesChange(fieldName, fileList) { @@ -212,6 +216,9 @@ const app = new Vue({ // } }, + onAddPerson(person) { + this.persons.push(person); + }, /* Removes a select file the user has uploaded */ diff --git a/resources/views/publish/create-step1.blade.php b/resources/views/publish/create-step1.blade.php index 74df4df..961018e 100644 --- a/resources/views/publish/create-step1.blade.php +++ b/resources/views/publish/create-step1.blade.php @@ -1,7 +1,5 @@ -@extends('settings.layouts.app') - -@section('title', 'Publish') - +@extends('settings.layouts.app') +@section('title', 'Publish') @section('content')

@@ -10,29 +8,32 @@

-
+ {{ csrf_field() }}
-

Step One

-
- Datensatztyp +

Step One

+
+ Datensatztyp
-

Bitte wählen Sie einen Datensatztyp aus der Liste aus.

- -
- {!! Form::select('Type', Lang::get('doctypes'), null, ['id' => 'type', 'placeholder' => '-- select type --', 'v-model' => 'dataset.type']) !!} +

Bitte wählen Sie einen Datensatztyp aus der Liste aus.

+

+
+ +
+ {!! Form::select('Type', Lang::get('doctypes'), null, ['id' => 'type', 'placeholder' => '-- select type --', 'v-model' => + 'dataset.type']) !!} +
- Einräumung eines einfachen Nutzungsrechts + Einräumung eines einfachen Nutzungsrechts
Ich habe diese rechtlichen Hinweise gelesen und bin damit einverstanden. * - - {{-- --}} + {{-- --}}
@@ -63,52 +64,51 @@
General
- - {{--
+ + {{-- +
{!! Form::label('Person', 'Person..') !!}
- {!! Form::select('Person', $persons, null, ['id' => 'type', 'placeholder' => '-- select person --']) !!} + {!! Form::select('Person', $persons, null, ['id' => 'type', 'placeholder' => '-- select person --']) !!}
--}}
{!! Form::label('Type', 'Type..') !!}
- {!! Form::select('Type', Lang::get('doctypes'), null, ['id' => 'type', 'placeholder' => '-- select type --', 'v-model' => 'dataset.type']) !!} + {!! Form::select('Type', Lang::get('doctypes'), null, ['id' => 'type', 'placeholder' => '-- select type --', 'v-model' => + 'dataset.type']) !!}
{!! Form::label('State', 'State..') !!}
- {!! Form::select( - 'State', - array_except(Config::get('enums.server_states'),['published', 'deleted', 'temporary']), - '', - ['placeholder' => '-- select server state --', 'v-model' => 'dataset.state'] - ) !!} + {!! Form::select( 'State', array_except(Config::get('enums.server_states'),['published', 'deleted', 'temporary']), '', ['placeholder' + => '-- select server state --', 'v-model' => 'dataset.state'] ) !!}
- +
- {!! Form::label('CreatingCorporation', 'Creating Corporation') !!} - {!! Form::text('CreatingCorporation', null, ['class' => 'pure-u-23-24', 'v-model' => 'dataset.creating_corporation']) !!} + {!! Form::label('CreatingCorporation', 'Creating Corporation') !!} {!! Form::text('CreatingCorporation', null, ['class' => + 'pure-u-23-24', 'v-model' => 'dataset.creating_corporation']) !!}
{!! Form::label('project_id', 'Project..') !!}
- {!! Form::select('project_id', $projects, null, ['id' => 'project_id', 'placeholder' => '--no project--', 'v-model' => 'dataset.project_id']) !!} + {!! Form::select('project_id', $projects, null, ['id' => 'project_id', 'placeholder' => '--no project--', 'v-model' => 'dataset.project_id']) + !!}
project is optional
- +
- {!! Form::label('EmbargoDate', 'Embargo Date') !!} - {!! Form::date('EmbargoDate', null, ['placeholder' => date('y-m-d'), 'class' => 'pure-u-23-24', 'v-model' => 'dataset.embargo_date']) !!} + {!! Form::label('EmbargoDate', 'Embargo Date') !!} {!! Form::date('EmbargoDate', null, ['placeholder' => date('y-m-d'), 'class' + => 'pure-u-23-24', 'v-model' => 'dataset.embargo_date']) !!} EmbargoDate is optional
- +
- +
Main Title & Abstract
- - + +
- {!! Form::label('TitleMain', 'Main Title ') !!} - {!! Form::text('TitleMain[Value]', null, ['class' => 'pure-u-23-24', 'v-model' => 'dataset.title_main.value']) !!} + {!! Form::label('TitleMain', 'Main Title ') !!} {!! Form::text('TitleMain[Value]', null, ['class' => 'pure-u-23-24', 'v-model' + => 'dataset.title_main.value']) !!}
{!! Form::label('TitleLanguage', 'Title Language..') !!}
- {!! Form::select('TitleMain[Language]', $languages, null, ['placeholder' => '--no language--', 'v-model' => 'dataset.title_main.language']) !!} + {!! Form::select('TitleMain[Language]', $languages, null, ['placeholder' => '--no language--', 'v-model' => 'dataset.title_main.language']) + !!}
- +
- {!! Form::label('TitleAbstract', 'Main Abstract ') !!} - {{ Form::textarea('TitleAbstract[Value]', null, ['class' => 'pure-u-23-24', 'size' => '70x6', 'v-model' => 'dataset.abstract_main.value']) }} + {!! Form::label('TitleAbstract', 'Main Abstract ') !!} {{ Form::textarea('TitleAbstract[Value]', null, ['class' => 'pure-u-23-24', + 'size' => '70x6', 'v-model' => 'dataset.abstract_main.value']) }}
{!! Form::label('AbstractLanguage', 'Abstract Language..') !!}
- {!! Form::select('TitleAbstract[Language]', $languages, null, ['placeholder' => '--no language--', 'v-model' => 'dataset.abstract_main.language']) !!} + {!! Form::select('TitleAbstract[Language]', $languages, null, ['placeholder' => '--no language--', 'v-model' => 'dataset.abstract_main.language']) + !!}
-
+
Licenses
- @foreach ($licenses as $license) - @endforeach
Checked licenses: @{{ dataset.checkedLicenses }}
@@ -168,62 +169,102 @@
- + -
+ Continue + +
+

Select authors, contributors

+
+ General +
+
+ + {{-- + --}} +
+
+
+ +
+ + {{-- + @{{ person.full_name }} + --}} + +
+
+
+
+
+ + + +
+
+ +

File Upload

- +
- +

Drag your file(s) here to begin
or click to browse

Uploading @{{ fileCount }} files... -

+

- {{-- --}} - {{--
    + {{-- --}} {{-- +
    • @{{ item.name }} Remove
    --}} - - - - - - + + + + + + - - - - - - - + + + + + + +
    SortingFileLabel
    SortingFileLabel
    - @{{ index +1 }} - - - - - - -
    + @{{ index +1 }} + + + + + + +
    - + - +
@@ -241,21 +282,39 @@
  • @{{ error }}
  • - + {{--

    Debug:@{{ dataset }} --}} -@stop -@section('after-scripts') - {{-- --}} - {{-- - --}} - - {{-- --}} - -@stop + + + + + + + + +@stop +@section('after-scripts') {{-- + --}} {{-- + +--}} {{-- + --}} + + + + + + + + + + + + +@stop \ No newline at end of file diff --git a/resources/views/settings/license/_form.blade.php b/resources/views/settings/license/_form.blade.php index bc169bd..ec01f3a 100644 --- a/resources/views/settings/license/_form.blade.php +++ b/resources/views/settings/license/_form.blade.php @@ -3,51 +3,47 @@
    - {!! Form::label('name_long', 'Lizenzname') !!} - {!! Form::text('name_long', null, ['class' => 'pure-u-23-24', 'placeholder' => '--no language--']) !!} + {!! Form::label('name_long', 'Lizenzname') !!} {!! Form::text('name_long', null, ['class' => 'pure-u-23-24', 'placeholder' + => '--no language--']) !!}
    {!! Form::label('language', 'Sprache') !!}
    - {!! Form::select('language', $languages, null, ['id' => 'language', 'placeholder' => '--no language--']) !!} + {!! Form::select('language', $languages, null, ['id' => 'language', 'placeholder' => '--no language--']) !!}
    language is optional
    - {!! Form::label('link_licence', 'URI zur Lizenz') !!} - {!! Form::text('link_licence', null, ['class' => 'pure-u-23-24']) !!} + {!! Form::label('link_licence', 'URI zur Lizenz') !!} {!! Form::text('link_licence', null, ['class' => 'pure-u-23-24']) !!}
    - {!! Form::label('link_logo', 'URI zum Logo') !!} - {!! Form::text('link_logo', null, ['class' => 'pure-u-23-24']) !!} + {!! Form::label('link_logo', 'URI zum Logo') !!} {!! Form::text('link_logo', null, ['class' => 'pure-u-23-24']) !!}
    - {!! Form::label('desc_text', 'Beschreibungstext') !!} - {!! Form::textarea('desc_text', null, ['class' => 'pure-u-23-24', 'size' => '70x6']) !!} + {!! Form::label('desc_text', 'Beschreibungstext') !!} {!! Form::textarea('desc_text', null, ['class' => 'pure-u-23-24', 'size' + => '70x6']) !!}
    - {!! Form::label('desc_markup', 'Beschreibung als Markup') !!} - {!! Form::textarea('desc_markup', null, ['class' => 'pure-u-23-24', 'size' => '70x6']) !!} + {!! Form::label('desc_markup', 'Beschreibung als Markup') !!} {!! Form::textarea('desc_markup', null, ['class' => 'pure-u-23-24', + 'size' => '70x6']) !!}
    - {!! Form::label('comment_internal', 'Interne Bermerkung') !!} - {!! Form::textarea('comment_internal', null, ['class' => 'pure-u-23-24', 'size' => '70x6']) !!} + {!! Form::label('comment_internal', 'Interne Bermerkung') !!} {!! Form::textarea('comment_internal', null, ['class' => 'pure-u-23-24', + 'size' => '70x6']) !!}
    - {!! Form::label('mime_type', 'Internet Media Typ') !!} - {!! Form::text('mime_type', null, ['class' => 'pure-u-23-24']) !!} + {!! Form::label('mime_type', 'Internet Media Typ') !!} {!! Form::text('mime_type', null, ['class' => 'pure-u-23-24']) !!}
    - {!! Form::label('sort_order', 'Sortierreihenfolge') !!} - {!! Form::text('sort_order', null, ['class' => 'pure-u-23-24']) !!} + {!! Form::label('sort_order', 'Sortierreihenfolge') !!} {!! Form::text('sort_order', null, ['class' => 'pure-u-23-24']) !!}
    @@ -70,4 +66,4 @@
    {!! Form::submit($submitButtonText, ['class' => 'pure-button button-small']) !!}
    -@include('errors._errors') + @include('errors._errors') \ No newline at end of file diff --git a/resources/views/settings/page/edit.blade.php b/resources/views/settings/page/edit.blade.php index 50d21ea..a926f84 100644 --- a/resources/views/settings/page/edit.blade.php +++ b/resources/views/settings/page/edit.blade.php @@ -1,111 +1,140 @@ -@extends ('settings.layouts.app') - +@extends ('settings.layouts.app') @section ('title', trans('labels.backend.pages.management') . ' | ' . trans('labels.backend.pages.edit')) +{{-- +@section('page-header') +

    + {{ trans('labels.backend.pages.management') }} + {{ trans('labels.backend.pages.edit') }} +

    +@endsection + --}} +@section('content') {{ Form::model($page, ['method' => 'PATCH', 'route' => ['settings.page.update', $page], +'class' => 'pure-form pure-form-aligned', 'id' => 'edit-role', 'enctype' => 'multipart/form-data']) }} -{{-- @section('page-header') -

    - {{ trans('labels.backend.pages.management') }} - {{ trans('labels.backend.pages.edit') }} -

    -@endsection --}} +
    -@section('content') +
    +

    {{ trans('labels.backend.pages.edit') }} +

    +
    + {{-- + @include('backend.pages.partials.pages-header-buttons') --}} +
    +
    - {{ Form::model($page, ['method' => 'PATCH', 'route' => ['settings.page.update', $page], 'class' => 'pure-form pure-form-aligned', 'id' => 'edit-role', 'enctype' => 'multipart/form-data']) }} +
    -
    +
    + {{ Form::label('title', trans('validation.attributes.backend.pages.title'), ['class' => 'col-lg-2 control-label required']) + }} +
    + {{ Form::text('title', null, ['class' => 'form-control box-size', 'placeholder' => trans('validation.attributes.backend.pages.title'), + 'required' => 'required', 'readonly' => 'true']) }} +
    + +
    + -
    -

    {{ trans('labels.backend.pages.edit') }} -

    -
    - {{-- @include('backend.pages.partials.pages-header-buttons') --}} -
    -
    +
    + {{ Form::label('description', trans('validation.attributes.backend.pages.description'), ['class' => 'col-lg-2 control-label + required']) }} +
    + {{ Form::textarea('description', null,['class' => 'form-control', 'placeholder' => trans('validation.attributes.backend.pages.description')]) + }} +
    + +
    + -
    + {{-- +
    + {{ Form::label('language', 'Language..', ['class' => 'col-lg-2 control-label required']) }} +
    + {{ Form::select('language', $languages, $page->language, ['placeholder' => '--no language--']) }} +
    +
    --}} -
    - {{ Form::label('title', trans('validation.attributes.backend.pages.title'), ['class' => 'col-lg-2 control-label required']) }} -
    - {{ Form::text('title', null, ['class' => 'form-control box-size', 'placeholder' => trans('validation.attributes.backend.pages.title'), 'required' => 'required', 'readonly' => 'true']) }} -
    -
    +
    + {{ Form::label('cannonical_link', trans('validation.attributes.backend.pages.cannonical_link'), ['class' => 'col-lg-2 control-label']) + }} +
    + {{ Form::text('cannonical_link', null, ['class' => 'form-control box-size', 'placeholder' => trans('validation.attributes.backend.pages.cannonical_link')]) + }} +
    + +
    + -
    - {{ Form::label('description', trans('validation.attributes.backend.pages.description'), ['class' => 'col-lg-2 control-label required']) }} -
    - {{ Form::textarea('description', null,['class' => 'form-control', 'placeholder' => trans('validation.attributes.backend.pages.description')]) }} -
    -
    +
    + {{ Form::label('seo_title', trans('validation.attributes.backend.pages.seo_title'), ['class' => 'col-lg-2 control-label']) + }} +
    + {{ Form::text('seo_title', null, ['class' => 'form-control box-size', 'placeholder' => trans('validation.attributes.backend.pages.seo_title')]) + }} +
    + +
    + - {{--
    - {{ Form::label('language', 'Language..', ['class' => 'col-lg-2 control-label required']) }} -
    - {{ Form::select('language', $languages, $page->language, ['placeholder' => '--no language--']) }} -
    -
    --}} +
    + {{ Form::label('seo_keyword', trans('validation.attributes.backend.pages.seo_keyword'), ['class' => 'col-lg-2 control-label']) + }} +
    + {{ Form::text('seo_keyword', null, ['class' => 'form-control box-size', 'placeholder' => trans('validation.attributes.backend.pages.seo_keyword')]) + }} +
    + +
    + -
    - {{ Form::label('cannonical_link', trans('validation.attributes.backend.pages.cannonical_link'), ['class' => 'col-lg-2 control-label']) }} -
    - {{ Form::text('cannonical_link', null, ['class' => 'form-control box-size', 'placeholder' => trans('validation.attributes.backend.pages.cannonical_link')]) }} -
    -
    +
    + {{ Form::label('seo_description', trans('validation.attributes.backend.pages.seo_description'), ['class' => 'col-lg-2 control-label']) + }} +
    + {{ Form::textarea('seo_description', null,['class' => 'form-control', 'placeholder' => trans('validation.attributes.backend.pages.seo_description')]) + }} +
    + +
    + -
    - {{ Form::label('seo_title', trans('validation.attributes.backend.pages.seo_title'), ['class' => 'col-lg-2 control-label']) }} -
    - {{ Form::text('seo_title', null, ['class' => 'form-control box-size', 'placeholder' => trans('validation.attributes.backend.pages.seo_title')]) }} -
    -
    +
    + {{ Form::label('status', trans('validation.attributes.backend.pages.is_active'), ['class' => 'col-lg-2 control-label']) }} -
    - {{ Form::label('seo_keyword', trans('validation.attributes.backend.pages.seo_keyword'), ['class' => 'col-lg-2 control-label']) }} -
    - {{ Form::text('seo_keyword', null, ['class' => 'form-control box-size', 'placeholder' => trans('validation.attributes.backend.pages.seo_keyword')]) }} -
    -
    - -
    - {{ Form::label('seo_description', trans('validation.attributes.backend.pages.seo_description'), ['class' => 'col-lg-2 control-label']) }} -
    - {{ Form::textarea('seo_description', null,['class' => 'form-control', 'placeholder' => trans('validation.attributes.backend.pages.seo_description')]) }} -
    -
    - -
    - {{ Form::label('status', trans('validation.attributes.backend.pages.is_active'), ['class' => 'col-lg-2 control-label']) }} - -
    -
    -
    - -
    - {{ link_to_route('settings.page.index', trans('buttons.general.cancel'), [], ['class' => 'pure-button button-small is-warning']) }} - {{ Form::submit(trans('buttons.general.crud.update'), ['class' => 'pure-button button-small is-primary']) }} -
    +
    + +
    + -
    -
    - {{ Form::close() }} +
    + {{ link_to_route('settings.page.index', trans('buttons.general.cancel'), [], ['class' => 'pure-button button-small is-warning']) + }} {{ Form::submit(trans('buttons.general.crud.update'), ['class' => 'pure-button button-small is-primary']) + }} +
    +
    + +
    + +
    + +{{ Form::close() }} @endsection - + @section("after-scripts") - - - - + + + + @endsection \ No newline at end of file diff --git a/resources/views/settings/page/index.blade.php b/resources/views/settings/page/index.blade.php index 7254a8d..e3479a9 100644 --- a/resources/views/settings/page/index.blade.php +++ b/resources/views/settings/page/index.blade.php @@ -1,22 +1,21 @@ -@extends ('settings.layouts.app') - -@section ('title', trans('labels.backend.pages.management')) - -{{-- @section('page-header') -

    {{ trans('labels.backend.pages.management') }}

    -@endsection --}} - +@extends ('settings.layouts.app') +@section ('title', trans('labels.backend.pages.management')) {{-- +@section('page-header') +

    {{ trans('labels.backend.pages.management') }}

    +@endsection + --}} @section('content')
    - +

    {{ trans('labels.backend.pages.management') }}

    - {{-- @include('backend.pages.partials.pages-header-buttons') --}} + {{-- + @include('backend.pages.partials.pages-header-buttons') --}}
    -
    +
    @@ -33,11 +32,13 @@ - {!! Form::text('first_name', null, ["class" => "search-input-text form-control", "data-column" => 0, "placeholder" => trans('labels.backend.pages.table.title')]) !!} - + {!! Form::text('first_name', null, ["class" => "search-input-text form-control", "data-column" => 0, "placeholder" => trans('labels.backend.pages.table.title')]) + !!} + - {!! Form::select('status', [0 => "InActive", 1 => "Active"], null, ["class" => "search-input-select form-control", "data-column" => 1, "placeholder" => trans('labels.backend.pages.table.all')]) !!} + {!! Form::select('status', [0 => "InActive", 1 => "Active"], null, ["class" => "search-input-select form-control", "data-column" + => 1, "placeholder" => trans('labels.backend.pages.table.all')]) !!} @@ -45,14 +46,15 @@ -
    -
    -
    + + + + + + @endsection - -@section('after-scripts') - {{-- For DataTables --}} - {{ Html::script(mix('js/dataTable.js')) }} + +@section('after-scripts') {{-- For DataTables --}} {{ Html::script(mix('js/dataTable.js')) }}