(window.webpackJsonp=window.webpackJsonp||[]).push([[65],{117:function(module,exports,__webpack_require__){(function(global){var factory;factory=function(){"use strict";var getOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(val){if(null==val)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(val)}var func,transform,objectAssign=function(){try{if(!Object.assign)return!1;var test1=new String("abc");if(test1[5]="de","5"===Object.getOwnPropertyNames(test1)[0])return!1;for(var test2={},i=0;i<10;i++)test2["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(test2).map((function(n){return test2[n]})).join(""))return!1;var test3={};return"abcdefghijklmnopqrst".split("").forEach((function(letter){test3[letter]=letter})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},test3)).join("")}catch(err){return!1}}()?Object.assign:function(target,source){for(var from,symbols,arguments$1=arguments,to=toObject(target),s=1;s-1,tagID=info[tagIDKeyName];!isDisabled&&tagID&&(isDisabled=refByTagID&&refByTagID[tagID]&&refByTagID[tagID].indexOf(key)>-1);var arr,str,val=info[key];return escaped[key]=val,"__dangerouslyDisableSanitizers"===key||"__dangerouslyDisableSanitizersByTagID"===key||(isDisabled?escaped[key]=val:"string"==typeof val?escaped[key]=(str=val,"undefined"==typeof window?String(str).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"):String(str).replace(/&/g,"&").replace(//g,">").replace(/"/g,'"').replace(/'/g,"'")):lodash_isplainobject(val)?escaped[key]=escape(val):(arr=val,(Array.isArray?Array.isArray(arr):"[object Array]"===Object.prototype.toString.call(arr))?escaped[key]=val.map(escape):escaped[key]=val)),escaped}),{})};return info=umd({title:"",titleChunk:"",titleTemplate:"%s",htmlAttrs:{},bodyAttrs:{},headAttrs:{},meta:[],base:[],link:[],style:[],script:[],noscript:[],__dangerouslyDisableSanitizers:[],__dangerouslyDisableSanitizersByTagID:{}},info),info=escape(info)}}var applyTemplate=function(component){return function(template){return function(chunk){return"function"==typeof template?template.call(component,chunk):template.replace(/%s/g,chunk)}}};function _generateServerInjector(options){return void 0===options&&(options={}),function(type,data){switch(type){case"title":return function(options){void 0===options&&(options={});var attribute=options.attribute;return function(type,data){return{text:function(){return String(data).trim()?"<"+type+" "+attribute+'="true">'+data+"":""}}}}(options)(type,data);case"htmlAttrs":case"bodyAttrs":case"headAttrs":return function(options){void 0===options&&(options={});var attribute=options.attribute;return function(type,data){return{text:function(){var attributeStr="",watchedAttrs=[];for(var attr in data)data.hasOwnProperty(attr)&&(watchedAttrs.push(attr),attributeStr+=(void 0!==data[attr]?attr+'="'+data[attr]+'"':attr)+" ");return(attributeStr+=attribute+'="'+watchedAttrs.join(",")+'"').trim()}}}}(options)(type,data);default:return function(options){void 0===options&&(options={});var attribute=options.attribute;return function(type,tags){return{text:function(ref){void 0===ref&&(ref={});var body=ref.body;return void 0===body&&(body=!1),tags.reduce((function(tagsStr,tag){if(0===Object.keys(tag).length)return tagsStr;if(!!tag.body!==body)return tagsStr;var attrs=Object.keys(tag).reduce((function(attrsStr,attr){switch(attr){case"innerHTML":case"cssText":case"once":return attrsStr;default:return-1!==[options.tagIDKeyName,"body"].indexOf(attr)?attrsStr+" data-"+attr+'="'+tag[attr]+'"':void 0===tag[attr]?attrsStr+" "+attr:attrsStr+" "+attr+'="'+tag[attr]+'"'}}),"").trim(),content=tag.innerHTML||tag.cssText||"",observeTag=tag.once?"":attribute+'="true" ',hasEndTag=-1===["base","meta","link"].indexOf(type);return hasEndTag&&["noscript","script","style"].indexOf(type)>-1?tagsStr+"<"+type+" "+observeTag+attrs+">"+content+"":tagsStr+"<"+type+" "+observeTag+attrs+(hasEndTag?"/":"")+">"}),"")}}}}(options)(type,data)}}}function _inject(options){return void 0===options&&(options={}),function(){var info=_getMetaInfo(options)(this.$root);for(var key in info)info.hasOwnProperty(key)&&"titleTemplate"!==key&&"titleChunk"!==key&&(info[key]=_generateServerInjector(options)(key,info[key]));return info}}function _updateTagAttributes(options){void 0===options&&(options={});var attribute=options.attribute;return function(attrs,tag){var vueMetaAttrString=tag.getAttribute(attribute),vueMetaAttrs=vueMetaAttrString?vueMetaAttrString.split(","):[],toRemove=[].concat(vueMetaAttrs);for(var attr in attrs)if(attrs.hasOwnProperty(attr)){var val=attrs[attr]||"";tag.setAttribute(attr,val),-1===vueMetaAttrs.indexOf(attr)&&vueMetaAttrs.push(attr);var saveIndex=toRemove.indexOf(attr);-1!==saveIndex&&toRemove.splice(saveIndex,1)}for(var i=toRemove.length-1;i>=0;i--)tag.removeAttribute(toRemove[i]);vueMetaAttrs.length===toRemove.length?tag.removeAttribute(attribute):tag.setAttribute(attribute,vueMetaAttrs.join(","))}}var toArray=Function.prototype.call.bind(Array.prototype.slice);function _updateClientMetaInfo(options){void 0===options&&(options={});var ssrAttribute=options.ssrAttribute;return function(newInfo){var htmlTag=document.getElementsByTagName("html")[0];if(null===htmlTag.getAttribute(ssrAttribute)){var addedTags={},removedTags={};Object.keys(newInfo).forEach((function(key){switch(key){case"title":void 0===(title=newInfo.title)&&(title=document.title),document.title=title;break;case"htmlAttrs":_updateTagAttributes(options)(newInfo[key],htmlTag);break;case"bodyAttrs":_updateTagAttributes(options)(newInfo[key],document.getElementsByTagName("body")[0]);break;case"headAttrs":_updateTagAttributes(options)(newInfo[key],document.getElementsByTagName("head")[0]);break;case"titleChunk":case"titleTemplate":case"changed":case"__dangerouslyDisableSanitizers":break;default:var headTag=document.getElementsByTagName("head")[0],bodyTag=document.getElementsByTagName("body")[0],ref=function(options){void 0===options&&(options={});var attribute=options.attribute;return function(type,tags,headTag,bodyTag){var indexToDelete,oldHeadTags=toArray(headTag.querySelectorAll(type+"["+attribute+"]")),oldBodyTags=toArray(bodyTag.querySelectorAll(type+"["+attribute+'][data-body="true"]')),newTags=[];if(tags.length>1){var found=[];tags=tags.map((function(x){var k=JSON.stringify(x);if(found.indexOf(k)<0)return found.push(k),x})).filter((function(x){return x}))}tags&&tags.length&&tags.forEach((function(tag){var newElement=document.createElement(type),oldTags=!0!==tag.body?oldHeadTags:oldBodyTags;for(var attr in tag)if(tag.hasOwnProperty(attr))if("innerHTML"===attr)newElement.innerHTML=tag.innerHTML;else if("cssText"===attr)newElement.styleSheet?newElement.styleSheet.cssText=tag.cssText:newElement.appendChild(document.createTextNode(tag.cssText));else if(-1!==[options.tagIDKeyName,"body"].indexOf(attr)){var _attr="data-"+attr,value=void 0===tag[attr]?"":tag[attr];newElement.setAttribute(_attr,value)}else{var value$1=void 0===tag[attr]?"":tag[attr];newElement.setAttribute(attr,value$1)}newElement.setAttribute(attribute,"true"),oldTags.some((function(existingTag,index){return indexToDelete=index,newElement.isEqualNode(existingTag)}))?oldTags.splice(indexToDelete,1):newTags.push(newElement)}));var oldTags=oldHeadTags.concat(oldBodyTags);return oldTags.forEach((function(tag){return tag.parentNode.removeChild(tag)})),newTags.forEach((function(tag){"true"===tag.getAttribute("data-body")?bodyTag.appendChild(tag):headTag.appendChild(tag)})),{oldTags:oldTags,newTags:newTags}}}(options)(key,newInfo[key],headTag,bodyTag),oldTags=ref.oldTags,newTags=ref.newTags;newTags.length&&(addedTags[key]=newTags,removedTags[key]=oldTags)}var title})),"function"==typeof newInfo.changed&&newInfo.changed.call(this,newInfo,addedTags,removedTags)}else htmlTag.removeAttribute(ssrAttribute)}}function _refresh(options){return void 0===options&&(options={}),function(){var info=_getMetaInfo(options)(this.$root);return _updateClientMetaInfo(options).call(this,info),info}}var stopUpdate=("undefined"!=typeof window?window.cancelAnimationFrame:null)||clearTimeout,startUpdate=("undefined"!=typeof window?window.requestAnimationFrame:null)||function(cb){return setTimeout(cb,0)};function batchUpdate(id,callback){return stopUpdate(id),startUpdate((function(){id=null,callback()}))}function VueMeta(Vue,options){void 0===options&&(options={}),options=objectAssign({keyName:"metaInfo",contentKeyName:"content",metaTemplateKeyName:"template",attribute:"data-vue-meta",ssrAttribute:"data-vue-meta-server-rendered",tagIDKeyName:"vmid"},options),Vue.prototype.$meta=function(options){return void 0===options&&(options={}),function(){return{inject:_inject(options).bind(this),refresh:_refresh(options).bind(this)}}}(options);var batchID=null;Vue.mixin({beforeCreate:function(){void 0!==this.$options[options.keyName]&&(this._hasMetaInfo=!0),"function"==typeof this.$options[options.keyName]&&(void 0===this.$options.computed&&(this.$options.computed={}),this.$options.computed.$metaInfo=this.$options[options.keyName])},created:function(){var this$1=this;!this.$isServer&&this.$metaInfo&&this.$watch("$metaInfo",(function(){batchID=batchUpdate(batchID,(function(){return this$1.$meta().refresh()}))}))},activated:function(){var this$1=this;this._hasMetaInfo&&(batchID=batchUpdate(batchID,(function(){return this$1.$meta().refresh()})))},deactivated:function(){var this$1=this;this._hasMetaInfo&&(batchID=batchUpdate(batchID,(function(){return this$1.$meta().refresh()})))},beforeMount:function(){var this$1=this;this._hasMetaInfo&&(batchID=batchUpdate(batchID,(function(){return this$1.$meta().refresh()})))},destroyed:function(){var this$1=this;if(!this.$isServer&&this._hasMetaInfo)var interval=setInterval((function(){this$1.$el&&null!==this$1.$el.offsetParent||(clearInterval(interval),this$1.$parent&&(batchID=batchUpdate(batchID,(function(){return this$1.$meta().refresh()}))))}),50)}})}return"undefined"!=typeof window&&void 0!==window.Vue&&Vue.use(VueMeta),VueMeta.version="1.6.0",VueMeta},module.exports=factory()}).call(this,__webpack_require__(9))}}]);