(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{171: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/g,">").replace(/"/g,""").replace(/'/g,"'"):String(str).replace(/&/g,"&").replace(//g,">").replace(/"/g,'"').replace(/'/g,"'")};function _getMetaInfo(options){void 0===options&&(options={});var keyName=options.keyName,tagIDKeyName=options.tagIDKeyName,metaTemplateKeyName=options.metaTemplateKeyName,contentKeyName=options.contentKeyName;return function(component){var info=function getComponentOption(opts,result){void 0===result&&(result={});var inputArray,predicate,component=opts.component,option=opts.option,deep=opts.deep,arrayMerge=opts.arrayMerge,metaTemplateKeyName=opts.metaTemplateKeyName,tagIDKeyName=opts.tagIDKeyName,contentKeyName=opts.contentKeyName,$options=component.$options;if(component._inactive)return result;if(void 0!==$options[option]&&null!==$options[option]){var data=$options[option];"function"==typeof data&&(data=data.call(component)),result="object"==typeof data?umd(result,data,{arrayMerge:arrayMerge}):data}return deep&&component.$children.length&&component.$children.forEach(function(childComponent){result=getComponentOption({component:childComponent,option:option,deep:deep,arrayMerge:arrayMerge},result)}),metaTemplateKeyName&&result.hasOwnProperty("meta")&&(result.meta=Object.keys(result.meta).map(function(metaKey){var metaObject=result.meta[metaKey];if(!metaObject.hasOwnProperty(metaTemplateKeyName)||!metaObject.hasOwnProperty(contentKeyName)||void 0===metaObject[metaTemplateKeyName])return result.meta[metaKey];var template=metaObject[metaTemplateKeyName];return delete metaObject[metaTemplateKeyName],template&&(metaObject.content="function"==typeof template?template(metaObject.content):template.replace(/%s/g,metaObject.content)),metaObject}),result.meta=(inputArray=result.meta,predicate=function(metaObject){return metaObject.hasOwnProperty(tagIDKeyName)?metaObject[tagIDKeyName]:lodash_uniqueid()},inputArray.filter(function(x,i,arr){return i===arr.length-1||predicate(x)!==predicate(arr[i+1])}))),result}({component:component,option:keyName,deep:!0,metaTemplateKeyName:metaTemplateKeyName,tagIDKeyName:tagIDKeyName,contentKeyName:contentKeyName,arrayMerge:function(target,source){var destination=[];for(var targetIndex in target){var targetItem=target[targetIndex],shared=!1;for(var sourceIndex in source){var sourceItem=source[sourceIndex];if(targetItem[tagIDKeyName]&&targetItem[tagIDKeyName]===sourceItem[tagIDKeyName]){var targetTemplate=targetItem[metaTemplateKeyName],sourceTemplate=sourceItem[metaTemplateKeyName];targetTemplate&&!sourceTemplate&&(sourceItem[contentKeyName]=applyTemplate(component)(targetTemplate)(sourceItem[contentKeyName])),targetTemplate&&sourceTemplate&&!sourceItem[contentKeyName]&&(sourceItem[contentKeyName]=applyTemplate(component)(sourceTemplate)(targetItem[contentKeyName]),delete sourceItem[metaTemplateKeyName]),shared=!0;break}}shared||destination.push(targetItem)}return destination.concat(source)}});info.title&&(info.titleChunk=info.title),info.titleTemplate&&(info.title=applyTemplate(component)(info.titleTemplate)(info.titleChunk||"")),info.base&&(info.base=Object.keys(info.base).length?[info.base]:[]);var ref=info.__dangerouslyDisableSanitizers,refByTagID=info.__dangerouslyDisableSanitizersByTagID,escape=function(info){return Object.keys(info).reduce(function(escaped,key){var isDisabled=ref&&ref.indexOf(key)>-1,tagID=info[tagIDKeyName];!isDisabled&&tagID&&(isDisabled=refByTagID&&refByTagID[tagID]&&refByTagID[tagID].indexOf(key)>-1);var arr,val=info[key];return escaped[key]=val,"__dangerouslyDisableSanitizers"===key||"__dangerouslyDisableSanitizersByTagID"===key?escaped:(isDisabled?escaped[key]=val:"string"==typeof val?escaped[key]=escapeHTML(val):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()})}var VUE_META_KEY_NAME="metaInfo",VUE_META_ATTRIBUTE="data-vue-meta",VUE_META_SERVER_RENDERED_ATTRIBUTE="data-vue-meta-server-rendered",VUE_META_TAG_LIST_ID_KEY_NAME="vmid",VUE_META_TEMPLATE_KEY_NAME="template",VUE_META_CONTENT_KEY="content";function VueMeta(Vue,options){void 0===options&&(options={}),options=objectAssign({keyName:VUE_META_KEY_NAME,contentKeyName:VUE_META_CONTENT_KEY,metaTemplateKeyName:VUE_META_TEMPLATE_KEY_NAME,attribute:VUE_META_ATTRIBUTE,ssrAttribute:VUE_META_SERVER_RENDERED_ATTRIBUTE,tagIDKeyName:VUE_META_TAG_LIST_ID_KEY_NAME},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__(18))}}]);