text: (function(t){function e(e){for(var a,r,s=e[0],c=e[1],l=e[2],u=0,d=[];u<s.length;u++)r=s[u],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&d.push(o[r][0]),o[r]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(t[a]=c[a]);p&&p(e);while(d.length)d.shift()();return i.push.apply(i,l||[]),n()}function n(){for(var t,e=0;e<i.length;e++){for(var n=i[e],a=!0,r=1;r<n.length;r++){var s=n[r];0!==o[s]&&(a=!1)}a&&(i.splice(e--,1),t=c(c.s=n[0]))}return t}var a={},r={app:0},o={app:0},i=[];function s(t){return c.p+"js/"+({"lang-en":"lang-en",not_found:"not_found"}[t]||t)+"."+{"lang-en":"c9aaa45e",not_found:"81676f79"}[t]+".js"}function c(e){if(a[e])return a[e].exports;var n=a[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.e=function(t){var e=[],n={not_found:1};r[t]?e.push(r[t]):0!==r[t]&&n[t]&&e.push(r[t]=new Promise((function(e,n){for(var a="css/"+({"lang-en":"lang-en",not_found:"not_found"}[t]||t)+"."+{"lang-en":"31d6cfe0",not_found:"c768a855"}[t]+".css",o=c.p+a,i=document.getElementsByTagName("link"),s=0;s<i.length;s++){var l=i[s],u=l.getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(u===a||u===o))return e()}var d=document.getElementsByTagName("style");for(s=0;s<d.length;s++){l=d[s],u=l.getAttribute("data-href");if(u===a||u===o)return e()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.onload=e,p.onerror=function(e){var a=e&&e.target&&e.target.src||o,i=new Error("Loading CSS chunk "+t+" failed.\n("+a+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=a,delete r[t],p.parentNode.removeChild(p),n(i)},p.href=o;var f=document.getElementsByTagName("head")[0];f.appendChild(p)})).then((function(){r[t]=0})));var a=o[t];if(0!==a)if(a)e.push(a[2]);else{var i=new Promise((function(e,n){a=o[t]=[e,n]}));e.push(a[2]=i);var l,u=document.createElement("script");u.charset="utf-8",u.timeout=120,c.nc&&u.setAttribute("nonce",c.nc),u.src=s(t);var d=new Error;l=function(e){u.onerror=u.onload=null,clearTimeout(p);var n=o[t];if(0!==n){if(n){var a=e&&("load"===e.type?"missing":e.type),r=e&&e.target&&e.target.src;d.message="Loading chunk "+t+" failed.\n("+a+": "+r+")",d.name="ChunkLoadError",d.type=a,d.request=r,n[1](d)}o[t]=void 0}};var p=setTimeout((function(){l({type:"timeout",target:u})}),12e4);u.onerror=u.onload=l,document.head.appendChild(u)}return Promise.all(e)},c.m=t,c.c=a,c.d=function(t,e,n){c.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},c.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},c.t=function(t,e){if(1&e&&(t=c(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(c.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)c.d(n,a,function(e){return t[e]}.bind(null,a));return n},c.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return c.d(e,"a",e),e},c.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},c.p="https://cdn.jsdelivr.net/gh/PasteUs/CDN@master/pasteme/",c.oe=function(t){throw console.error(t),t};var l=window["jsonpFunction"]=window["jsonpFunction"]||[],u=l.push.bind(l);l.push=e,l=l.slice();for(var d=0;d<l.length;d++)e(l[d]);var p=u;i.push([0,"chunk-vendors"]),n()})({0:function(t,e,n){t.exports=n("56d7")},"0089":function(t,e){t.exports=BootstrapVue},"07f3":function(t,e,n){"use strict";var a=n("7bb4"),r=n.n(a);r.a},"08dd":function(t,e,n){"use strict";var a=n("3950"),r=n.n(a);r.a},"0feb":function(t,e){t.exports=unorm},1020:function(t,e){function n(t,e){e=e||{};var n=t.renderer.rules.link_open||this.defaultRender,a=e.target||"_blank";t.renderer.rules.link_open=function(t,e,r,o,i){var s=t[e].attrIndex("target");return s<0?t[e].attrPush(["target",a]):t[e].attrs[s][1]=a,n(t,e,r,o,i)}}n.defaultRender=function(t,e,n,a,r){return r.renderToken(t,e,n)},t.exports=n},1082:function(t,e,n){},2217:function(t,e){t.exports=mermaid},2455:function(t,e,n){},2817:function(t,e,n){"use strict";var a=n("8868"),r=n.n(a);r.a},"2f41":function(t,e,n){},"362d":function(t,e,n){"use strict";var a=n("1082"),r=n.n(a);r.a},3950:function(t,e,n){},4449:function(t,e,n){},"56d7":function(t,e,n){"use strict";n.r(e);n("e260"),n("e6cf"),n("cca6"),n("a79d");var a=n("8bbf"),r=n.n(a),o=n("5a2b"),i=n.n(o),s=n("b311"),c=n.n(s),l=n("0089"),u=n.n(l),d=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("b-container",{class:{background_gray:t.$store.state.read_once,background_blue:t.$store.state.not_found},staticStyle:{height:"100%"},attrs:{id:"app",fluid:""}},[n("Header",{attrs:{hidden:t.$store.state.not_found}}),n("transition",{attrs:{name:"router-fade",mode:"out-in"}},[n("router-view",{attrs:{id:"fixed"}})],1),n("Footer",{attrs:{hidden:t.$store.state.not_found}})],1)},p=[],f=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("b-row",[n("b-col",{attrs:{md:"12"}},[n("b-navbar",{attrs:{toggleable:"md",variant:"dark",type:"dark",fixed:"top"}},[n("router-link",{staticClass:"navbar-brand",attrs:{to:"/",title:t.$t("lang.nav.router_link")}},[t._v("PasteMe")]),n("b-navbar-toggle",{attrs:{target:"nav-collapse"}}),n("b-collapse",{attrs:{id:"nav-collapse","is-nav":""}},[n("b-nav-form",{on:{submit:function(e){return e.preventDefault(),t.onSubmit(e)}}},[n("b-input-group",{attrs:{prepend:t.location.host+"/"}},[n("b-form-input",{attrs:{placeholder:t.$t("lang.nav.form.placeholder"),maxlength:"8",autocomplete:"off",required:"",id:"nav_input"},model:{value:t.key,callback:function(e){t.key=e},expression:"key"}}),n("b-input-group-append",[n("b-button",{attrs:{type:"submit",variant:"primary",required:"required"}},[t._v(t._s(t.$t("lang.nav.form.button")))])],1)],1)],1),n("b-navbar-nav",{staticClass:"ml-auto"},[n("b-nav-item-dropdown",{attrs:{right:""},scopedSlots:t._u([{key:"button-content",fn:function(){return[n("global-asia")]},proxy:!0}])},[n("b-dropdown-item",{attrs:{href:"#"},on:{click:function(e){return t.setLang("zh-CN")}}},[t._v(" "+t._s(t.$t("lang.nav.lang.zh_CN"))+" ")]),n("b-dropdown-item",{attrs:{href:"#"},on:{click:function(e){return t.setLang("en")}}},[t._v(" "+t._s(t.$t("lang.nav.lang.en"))+" ")])],1),this.$store.getters.config.api.admin?n("b-nav-item-dropdown",{attrs:{right:""},scopedSlots:t._u([{key:"button-content",fn:function(){return[n("Bell")]},proxy:!0}],null,!1,1726724093)},[t._l(t.firstPageData,(function(e){return n("b-dropdown-item",{directives:[{name:"b-modal",rawName:"v-b-modal",value:"modal"+e.id,expression:"'modal'+item.id"}],key:e.id,on:{click:function(n){return t.setRead(e.time)}}},[n("span",{staticClass:" align-middle text-truncate d-inline-block notRead mr-3 ",class:{isRead:t.storageData["content"+e.time]||t.getRead(e.time)},staticStyle:{width:"80px"}},[t._v(t._s(e.title))]),"DAILY_ANNOUNCEMENT"===e.type?n("b-badge",{staticClass:"align-middle",attrs:{pill:"",variant:"light"}},[t._v("通知 ")]):t._e(),"EMERGENCY"===e.type?n("b-badge",{staticClass:"align-middle",attrs:{pill:"",variant:"danger"}},[t._v("紧急 ")]):t._e(),"UPDATE_LOG"===e.type?n("b-badge",{staticClass:"align-middle",attrs:{pill:"",variant:"info"}},[t._v("更新 ")]):t._e(),n("b-modal",{attrs:{id:"modal"+e.id,"hide-footer":"",scrollable:"",size:"lg"}},[n("p",{staticClass:"text-center text-body"},[t._v(t._s(e.title))]),n("p",{staticStyle:{color:"#495057"}},[t._v(t._s(e.content))]),n("p",[n("a",{attrs:{href:e.link}},[t._v(t._s(e.link))])]),n("p",{staticClass:"text-muted text-right",staticStyle:{"font-size":"14px"}},[t._v(" "+t._s(e.time.substring(0,16))+" ")])])],1)})),n("b-dropdown-item",{directives:[{name:"b-modal",rawName:"v-b-modal.modal-1",modifiers:{"modal-1":!0}}],on:{click:t.getFirst}},[t._v(" "+t._s(t.$t("lang.nav.more"))+" ")]),n("b-modal",{attrs:{id:"modal-1","hide-footer":"",scrollable:"",size:"lg"}},[n("b-list-group",t._l(t.pageData,(function(e){return n("b-list-group-item",{directives:[{name:"b-modal",rawName:"v-b-modal",value:"modal"+e.time,expression:"'modal'+item.time"}],key:e.id,attrs:{button:""},on:{click:function(n){return t.setRead(e.time)}}},[n("div",{staticClass:"clearfix"},[t.hide["title"+e.time]?t._e():n("span",{staticClass:" align-middle text-truncate d-inline-block float-left width notRead",class:{isRead:t.storageData["content"+e.time]||t.getRead(e.time)}},[t._v(t._s(e.title))]),n("span",{staticClass:"text-muted ml-4 mt-1 float-right ",staticStyle:{"font-size":"14px",width:"130px"}},[t._v(t._s(e.time.substring(0,16)))]),"DAILY_ANNOUNCEMENT"===e.type?n("b-badge",{staticClass:"align-middle mt-1 float-right",attrs:{pill:"",variant:"light"}},[t._v("通知 ")]):t._e(),"EMERGENCY"===e.type?n("b-badge",{staticClass:"align-middle mt-1 float-right",attrs:{pill:"",variant:"danger"}},[t._v("紧急 ")]):t._e(),"UPDATE_LOG"===e.type?n("b-badge",{staticClass:"align-middle mt-1 float-right",attrs:{pill:"",variant:"info"}},[t._v("更新 ")]):t._e(),n("b-modal",{attrs:{id:"modal"+e.time,"hide-footer":"",scrollable:"",size:"lg"}},[n("p",{staticClass:"text-cente text-body"},[t._v(t._s(e.title))]),n("p",{staticStyle:{color:"#495057"}},[t._v(t._s(e.content))]),n("p",[n("a",{attrs:{href:e.link}},[t._v(t._s(e.link))])]),n("p",{staticClass:"text-muted text-right",staticStyle:{"font-size":"14px"}},[t._v(" "+t._s(e.time.substring(0,16))+" ")])])],1)])})),1),n("div",{staticClass:"mt-3"},[n("b-pagination",{staticClass:"mb-0",attrs:{"per-page":t.perPage,align:"center","total-rows":t.rows,size:"sm",limit:"4"},model:{value:t.currentPage,callback:function(e){t.currentPage=e},expression:"currentPage"}})],1)],1)],2):t._e(),n("b-nav-item-dropdown",{attrs:{right:""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v(" "+t._s(t.$t("lang.nav.something.text"))+" ")]},proxy:!0}])},[n("b-dropdown-item",{attrs:{href:"https://blog.lucien.ink/pasteme_log.html",target:"_blank"}},[t._v(" "+t._s(t.$t("lang.nav.something.log"))+" ")]),n("b-dropdown-item",{attrs:{href:"https://github.com/PasteUs/PasteMeGoBackend/blob/master/doc/API.md",target:"_blank"}},[t._v(" API ")]),n("b-dropdown-item",{attrs:{href:"https://github.com/LucienShui/PasteMe/blob/master/doc/DOCUMENT.md",target:"_blank"}},[t._v(" "+t._s(t.$t("lang.nav.something.help"))+" ")]),n("b-dropdown-item",{attrs:{href:"https://github.com/LucienShui/PasteMe/issues",target:"_blank"}},[t._v(" "+t._s(t.$t("lang.nav.something.feedback"))+" ")])],1),n("b-nav-item",{directives:[{name:"b-modal",rawName:"v-b-modal.modal-donate",modifiers:{"modal-donate":!0}}]},[t._v(t._s(t.$t("lang.nav.donate")))])],1)],1),n("a",{staticClass:"github-corner ml-show",attrs:{href:"https://github.com/LucienShui/PasteMe",target:"_blank","aria-label":"View source on GitHub"}},[n("svg",{staticStyle:{fill:"#151513",color:"#fff",position:"absolute",top:"3.5em",border:"0",right:"0"},attrs:{width:"80",height:"80",viewBox:"0 0 250 250",id:"github-icon","aria-hidden":"true"}},[n("path",{attrs:{d:"M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"}}),n("path",{staticClass:"octo-arm",staticStyle:{"transform-origin":"130px 106px"},attrs:{d:"M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2",fill:"currentColor"}}),n("path",{staticClass:"octo-body",attrs:{d:"M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z",fill:"currentColor"}})])])],1),n("b-popover",{attrs:{target:"github-icon",placement:"auto",triggers:"hover"}},[n("div",{staticClass:"text-center"},[t._v(" "+t._s(t.$t("lang.nav.beg"))+" ")])]),n("b-modal",{attrs:{id:"modal-donate","hide-footer":"",lazy:""}},[n("img",{attrs:{src:"https://cdn.jsdelivr.net/gh/PasteUs/CDN@0.0.11/pasteme/img/sponsor.png",alt:"sponsor.png"}})])],1)],1)},m=[],g=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"svg-inline--fa fa-globe-asia fa-w-16",attrs:{"data-v-61dd7a3d":"","aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"globe-asia",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 496 512"}},[n("path",{attrs:{"data-v-61dd7a3d":"",fill:"currentColor",d:"M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm-11.34 240.23c-2.89 4.82-8.1 7.77-13.72 7.77h-.31c-4.24 0-8.31 1.69-11.31 4.69l-5.66 5.66c-3.12 3.12-3.12 8.19 0 11.31l5.66 5.66c3 3 4.69 7.07 4.69 11.31V304c0 8.84-7.16 16-16 16h-6.11c-6.06 0-11.6-3.42-14.31-8.85l-22.62-45.23c-2.44-4.88-8.95-5.94-12.81-2.08l-19.47 19.46c-3 3-7.07 4.69-11.31 4.69H50.81C49.12 277.55 48 266.92 48 256c0-110.28 89.72-200 200-200 21.51 0 42.2 3.51 61.63 9.82l-50.16 38.53c-5.11 3.41-4.63 11.06.86 13.81l10.83 5.41c5.42 2.71 8.84 8.25 8.84 14.31V216c0 4.42-3.58 8-8 8h-3.06c-3.03 0-5.8-1.71-7.15-4.42-1.56-3.12-5.96-3.29-7.76-.3l-17.37 28.95zM408 358.43c0 4.24-1.69 8.31-4.69 11.31l-9.57 9.57c-3 3-7.07 4.69-11.31 4.69h-15.16c-4.24 0-8.31-1.69-11.31-4.69l-13.01-13.01a26.767 26.767 0 0 0-25.42-7.04l-21.27 5.32c-1.27.32-2.57.48-3.88.48h-10.34c-4.24 0-8.31-1.69-11.31-4.69l-11.91-11.91a8.008 8.008 0 0 1-2.34-5.66v-10.2c0-3.27 1.99-6.21 5.03-7.43l39.34-15.74c1.98-.79 3.86-1.82 5.59-3.05l23.71-16.89a7.978 7.978 0 0 1 4.64-1.48h12.09c3.23 0 6.15 1.94 7.39 4.93l5.35 12.85a4 4 0 0 0 3.69 2.46h3.8c1.78 0 3.35-1.18 3.84-2.88l4.2-14.47c.5-1.71 2.06-2.88 3.84-2.88h6.06c2.21 0 4 1.79 4 4v12.93c0 2.12.84 4.16 2.34 5.66l11.91 11.91c3 3 4.69 7.07 4.69 11.31v24.6z"}})])},h=[],b={name:"globalAsia"},v=b,_=(n("92de"),n("2877")),w=Object(_["a"])(v,g,h,!1,null,"7256b6a6",null),y=w.exports,x=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"svg-inline--fa fa-globe-asia fa-w-16",attrs:{"aria-hidden":"true",focusable:"false",role:"img",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2122",width:"700",height:"700"}},[n("path",{attrs:{d:"M875.52 648.96l-76.8-77.226667V381.44a292.693333 292.693333 0 0 0-248.32-293.546667 287.573333 287.573333 0 0 0-325.12 284.586667v199.253333l-76.8 77.226667A69.973333 69.973333 0 0 0 197.973333 768H341.333333v14.506667A163.84 163.84 0 0 0 512 938.666667a163.84 163.84 0 0 0 170.666667-156.16V768h143.36a69.973333 69.973333 0 0 0 49.493333-119.04zM597.333333 782.506667A80.213333 80.213333 0 0 1 512 853.333333a80.213333 80.213333 0 0 1-85.333333-70.826666V768h170.666666z","data-v-61dd7a3d":"",fill:"currentColor"}})])},k=[],C={name:"bell"},O=C,$=(n("07f3"),Object(_["a"])(O,x,k,!1,null,"2e196018",null)),j=$.exports,P={name:"Header",components:{GlobalAsia:y,Bell:j},data:function(){return{key:null,location:location,storageData:{},hide:{},currentPage:1,allPage:1,perPage:3,pageData:[],firstPageData:[]}},methods:{onSubmit:function(){this.$router.push(this.key),this.key=null},setLang:function(t){this.setI18n(t),this.$cookie.set("pasteme_lang",t,7)},setRead:function(t){window.localStorage.setItem("content".concat(t),"true");var e=window.localStorage.getItem("content".concat(t));this.$set(this.storageData,"content".concat(t),e)},getRead:function(t){return window.localStorage.getItem("content".concat(t))},getFirstPage:function(){var t=this,e="".concat(this.$store.getters.config.api.admin,"announcement");this.api.get(e,{page:1,pageSize:3}).then((function(e){e.success&&(t.firstPageData=e.data)}))},getPage:function(){var t=this,e="".concat(this.$store.getters.config.api.admin,"announcement/page");this.api.get(e,{pageSize:5}).then((function(e){e.success&&(t.allPage=e.data)}))},getFirst:function(){var t=this,e="".concat(this.$store.getters.config.api.admin,"announcement");this.api.get(e,{page:1,pageSize:5}).then((function(e){e.success&&(t.pageData=e.data)}))}},computed:{rows:function(){return this.allPage*this.perPage}},watch:{currentPage:function(t){var e=this,n="".concat(this.$store.getters.config.api.admin,"announcement");this.api.get(n,{page:t,pageSize:5}).then((function(t){t.success&&(e.pageData=t.data)}))}},mounted:function(){this.$store.getters.config.api.admin&&(this.getFirstPage(),this.getPage())}},S=P,N=(n("6b91"),Object(_["a"])(S,f,m,!1,null,"61efc79b",null)),E=N.exports,L=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-12"},[n("div",{staticClass:"footer"},[n("p",[n("a",{attrs:{id:"one-word"},on:{click:t.refresh}},[t._v(t._s(t.oneWord))])]),n("b-popover",{attrs:{target:"one-word",triggers:"hover",placement:"top"}},[n("a",{attrs:{id:"one-popover"}},[t._v(t._s(0>=t.cut_down_time?t.$t("lang.footer.tooltip.refresh"):t.$t("lang.footer.tooltip.wait",{sec:t.cut_down_time})))])]),n("p",[n("a",{attrs:{href:"http://blog.lucien.ink",target:"_blank"}},[t._v("Lucien's Blog")]),t._l(t.$store.state.config.footer,(function(e){return n("a",{key:e.id},[t._v(" | "),n("a",{attrs:{href:e.url,target:"_blank"}},[t._v(t._s(e.text))])])}))],2),n("p",[n("a",[t._v("Copyright © 2018 - "+t._s(t.year)+" ")]),n("a",{attrs:{href:"mailto:lucien@lucien.ink"}},[t._v("Lucien Shui")])]),t._m(0)],1)])])},D=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{attrs:{title:"赞助商"}},[n("a",{staticClass:"logo",attrs:{href:"https://promotion.aliyun.com/ntms/yunparter/invite.html?userCode=30tfqka6",title:"阿里云限量红包，上云就上阿里云，享数字化转型，市场占有率超过第 2-5 名总和",target:"_blank"}},[n("img",{attrs:{src:"https://cdn.jsdelivr.net/gh/PasteUs/CDN@0.0.11/pasteme/img/aliyun.svg",alt:"Aliyun"}})]),n("a",{staticClass:"logo",attrs:{href:"https://www.bt.cn/?invite_code=MV9ibGZqbWs=",title:"宝塔服务器面板，一键全能部署及管理，送你3188元礼包，点我领取",target:"_blank"}},[n("img",{attrs:{src:"https://www.bt.cn/Public/images/bt_logo.png",alt:"BT"}})])])}],M=(n("0d03"),{name:"Footer",data:function(){return{oneWord:"Loading...",year:(new Date).getFullYear(),cut_down_time:0}},mounted:function(){var t=this;this.getOne().then((function(e){t.oneWord=e}))},methods:{getOne:function(){return this.api.get("https://v1.hitokoto.cn",{encode:"text"})},refresh:function(){var t=this;0===this.cut_down_time&&(this.cut_down_time=-1,this.oneWord="Loading...",this.getOne().then((function(e){t.oneWord=e,t.cut_down_time=5;var n=window.setInterval((function(){--t.cut_down_time,0===t.cut_down_time&&window.clearInterval(n)}),1e3)})))},makeToast:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.$bvToast.toast(e,{title:t,autoHideDelay:500,appendToast:n})}}}),T=M,z=(n("6431"),Object(_["a"])(T,L,D,!1,null,"2d7f2c5c",null)),A=z.exports,H={components:{Header:E,Footer:A},mounted:function(){null===this.$cookie.get("pasteme_lang")&&this.$cookie.set("pasteme_lang","zh-CN",7),this.setI18n(this.$cookie.get("pasteme_lang"))}},V=H,B=(n("362d"),Object(_["a"])(V,d,p,!1,null,"e18e2c6e",null)),I=B.exports,R=(n("d3b7"),n("6389")),q=n.n(R),U=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"component-fade",mode:"out-in"}},[n(t.view,t._b({tag:"component"},"component",t.$data,!1))],1)},F=[],G=(n("a4d3"),n("4de4"),n("4160"),n("e439"),n("dbb4"),n("b64b"),n("ac1f"),n("841c"),n("159b"),n("2fa7")),W={methods:{_baseUpdate:function(t){this.$store.commit("updateState",t)},updateView:function(t){this._baseUpdate({view:t})},updateContent:function(t){this._baseUpdate({content:t})},updateKey:function(t){this._baseUpdate({key:t})},updateLang:function(t){this._baseUpdate({lang:t})}}},J=n("5880"),Y=n.n(J),Z=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("b-row",[n("b-col",{attrs:{md:"1",lg:"2"}}),n("b-col",{attrs:{md:"10",lg:"8"}},[n("b-form",{on:{submit:function(e){return e.preventDefault(),t.onSubmit(e)}}},[n("b-row",[n("b-col",{attrs:{md:"7",lg:"5"}},[n("b-form-group",[n("b-input-group",{attrs:{prepend:t.$t("lang.form.input[0].prepend")}},[n("b-form-select",{model:{value:t.form.lang,callback:function(e){t.$set(t.form,"lang",e)},expression:"form.lang"}},[n("option",{attrs:{value:"plain"}},[t._v(t._s(t.$t("lang.form.select.plain")))]),n("option",{attrs:{value:"cpp"}},[t._v("C/C++")]),n("option",{attrs:{value:"java"}},[t._v("Java")]),n("option",{attrs:{value:"python"}},[t._v("Python")]),n("option",{attrs:{value:"bash"}},[t._v("Bash")]),n("option",{attrs:{value:"markdown"}},[t._v("Markdown")]),n("option",{attrs:{value:"json"}},[t._v("JSON")]),n("option",{attrs:{value:"go"}},[t._v("Go")])])],1)],1),n("b-form-group",[n("b-input-group",{attrs:{prepend:t.$t("lang.form.input[1].prepend")}},[n("b-form-input",{attrs:{type:"password",autocomplete:"off",placeholder:t.$t("lang.form.input[1].placeholder")},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1)],1)],1)],1),n("b-row",[n("b-col",{attrs:{md:"12"}},[n("b-form-group",[n("b-form-textarea",{attrs:{rows:"10",placeholder:t.$t("lang.form.textarea.placeholder."+(t.$store.state.read_once?"read_once":"write_something_here")),required:"","no-resize":""},model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1),n("b-form-group",[n("b-checkbox-group",{attrs:{switches:""}},[n("b-button",{staticStyle:{"margin-right":".65em"},attrs:{type:"submit",variant:t.$store.state.read_once?"dark":"primary"}},[t._v(" "+t._s(t.$t("lang.form.submit"))+" ")]),n("b-form-checkbox",{directives:[{name:"show",rawName:"v-show",value:!t.$store.state.read_once,expression:"!$store.state.read_once"}],attrs:{switch:""},model:{value:t.read_once,callback:function(e){t.read_once=e},expression:"read_once"}},[t._v(" "+t._s(t.$t("lang.form.checkbox"))+" ")])],1)],1)],1)],1)],1)],1),n("b-col",{attrs:{md:"1",lg:"2"}})],1)},K=[],Q=(n("99af"),{name:"Form",mixins:[W],data:function(){return{form:{lang:"plain",content:null,password:null},read_once:[]}},methods:{onSubmit:function(){var t=this,e="";""!==this.$route.params.key?e=this.$route.params.key:this.read_once.length>0&&(e="once");var n=["".concat(this.$store.getters.config.api.backend).concat(e),this.form],a=""===e||"once"===e?this.api.post:this.api.put;a.apply(void 0,n).then((function(e){201===e.status&&(t.updateView("success"),t.updateKey(e.key))}))}}}),X=Q,tt=Object(_["a"])(X,Z,K,!1,null,"5e973a94",null),et=tt.exports,nt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("b-row",[n("b-col",{attrs:{md:"2"}}),n("b-col",{attrs:{md:"8",id:"success_fixed"}},[n("div",{staticClass:"jumbotron"},[n("h2",[t._v(" "+t._s(t.$t("lang.success.h2"))+" ")]),n("p",{domProps:{innerHTML:t._s(t.$t("lang.success.p[0].text",{key:t.key}))}}),n("ul",[n("li",[n("a",{domProps:{innerHTML:t._s(t.$t("lang.success.ul.li[0].text"))}}),t._v(" "),n("b-badge",{staticClass:"badge-fixed",attrs:{pill:"",href:"#"},on:{mouseenter:function(e){t.popover_show=!0},mouseleave:function(e){t.popover_show=!1}}},[t._v("?")])],1),n("li",[t._v(t._s(t.$t("lang.success.ul.li[1].browser"))+" "),n("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",value:t.$t("lang.success.ul.li[1].tooltip"),expression:"$t('lang.success.ul.li[1].tooltip')",modifiers:{hover:!0}}],attrs:{href:t.base_url+t.key,target:"_blank"}},[t._v(" "+t._s(t.base_url+t.key)+" ")]),t._v(" "),n("b-badge",{staticClass:"badge-fixed",attrs:{variant:"info","data-clipboard-text":t.base_url+t.key,href:"#"}},[t._v(" "+t._s(t.$t("lang.success.badge."+(t.copy_btn_status>0?"success":0===t.copy_btn_status?"copy":"fail")))+" ")])],1),n("li",[n("b-link",{attrs:{id:"qr_code_link"}},[t._v(t._s(t.$t("lang.success.ul.li[2].scan_qr_code")))])],1)]),n("p",[n("b-button",{attrs:{variant:"primary"},on:{click:function(e){return e.preventDefault(),t.goHome(e)}}},[t._v(t._s(t.$t("lang.success.p[1].button")))])],1)])]),n("b-col",{attrs:{md:"2"}}),n("b-popover",{attrs:{show:t.popover_show,target:"nav_input",placement:"bottomright"},on:{"update:show":function(e){t.popover_show=e}}},[n("a",{domProps:{innerHTML:t._s(t.$t("lang.success.popover.text"))}})]),n("b-popover",{attrs:{target:"qr_code_link",placement:"auto",triggers:"hover"}},[n("div",{staticClass:"text-center"},[n("QRCode",{attrs:{value:this.base_url+this.key,options:{width:168}}})],1)])],1)},at=[];function rt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function ot(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?rt(n,!0).forEach((function(e){Object(G["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):rt(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var it={name:"Success",mixins:[W],data:function(){return{base_url:location.origin+"/",copy_btn_status:0,popover_show:!1}},computed:ot({},Object(J["mapGetters"])(["key"])),mounted:function(){var t=new this.clipboard(".badge-fixed"),e=this;t.on("success",(function(){e.copy_btn_status=1,window.setTimeout((function(){e.copy_btn_status=0}),2e3)})),t.on("error",(function(){e.copy_btn_status=-1,window.setTimeout((function(){e.copy_btn_status=0}),2e3)}))},methods:{goHome:function(){""!==this.$route.params.key?this.$router.push("/"):this.updateView("home")}}},st=it,ct=(n("6507"),Object(_["a"])(st,nt,at,!1,null,"0d8ac766",null)),lt=ct.exports,ut=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("b-row",[n("b-col",{attrs:{md:"4"}}),n("b-col",{attrs:{md:"4"}},[n("b-form",{on:{submit:function(e){return e.preventDefault(),t.onSubmit(e)}}},[n("b-form-group",{attrs:{label:t.$t("lang.auth.form.label")}},[n("b-form-input",{directives:[{name:"focus",rawName:"v-focus"}],attrs:{type:"password",placeholder:t.flag?"":this.$t("lang.auth.form.placeholder")},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),n("b-button",{attrs:{type:"submit",variant:"primary"}},[t._v(t._s(t.$t("lang.auth.form.button")))])],1)],1)],1)},dt=[],pt={name:"PasswordAuth",mixins:[W],data:function(){return{flag:!0,form:{password:null}}},methods:{onSubmit:function(){var t=this,e="".concat(this.$store.getters.config.api.backend).concat(this.$route.params.key,",").concat(this.form.password);this.api.get(e,{json:"true"}).then((function(e){var n=e.status,a=e.content,r=e.lang;200===n?(t.updateContent(a),t.updateLang("plain"===r?"plaintext":r),t.updateView("paste_view")):(t.flag=!1,t.form.password=null)}))}}},ft=pt,mt=Object(_["a"])(ft,ut,dt,!1,null,"0381619a",null),gt=mt.exports,ht=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("b-row",[n("b-col",{attrs:{md:"1"}}),n("b-col",{attrs:{md:"10"}},[n("div",[n("b-card",{attrs:{"no-body":""}},[n("b-card-header",[n("b-row",[n("b-col",{attrs:{md:"6"}},[n("div",[n("a",[t._v(t._s(t.linesCount)+" 行")]),n("a",[t._v(" | ")]),n("a",[t._v(t._s(t.$t("lang.view.lang."+t.lang)))])])]),n("b-col",{staticStyle:{"text-align":"right"},attrs:{md:"6"}},[n("b-check-group",{attrs:{switches:""}},["markdown"===t.lang?n("b-checkbox",{model:{value:t.raw,callback:function(e){t.raw=e},expression:"raw"}},[t._v("源码")]):t._e(),n("b-link",{attrs:{id:"clipboard-btn","data-clipboard-text":t.content}},[t._v(" "+t._s(t.$t("lang.view.copy"))+" ")]),n("b-tooltip",{attrs:{show:"",target:"clipboard-btn",placement:"bottomleft"}},[t._v(" "+t._s(t.$t("lang.view.tooltip."+(t.copy_btn_status>0?"success":0===t.copy_btn_status?"click":"fail")))+" ")])],1)],1)],1)],1),n("div",{ref:"hljs"},["markdown"!==t.lang||1===t.raw.length?n("b-card-body",{staticStyle:{"padding-bottom":"0"}},[n("pre",[n("code",{class:"line-numbers "+t.lang,domProps:{textContent:t._s(this.content)}})])]):n("b-card-body",{staticStyle:{"padding-bottom":"0"}},[n("div",{staticClass:"markdown-body"},[n("div",{domProps:{innerHTML:t._s(t.markdown.render(t.content))}})])])],1)],1)],1)]),n("b-col",{attrs:{md:"1"}})],1)},bt=[],vt=(n("c975"),n("466d"),n("1276"),n("498a"),n("baa5"),n("fb6a"),n("e25e"),n("25f0"),n("5319"),n("bf2d")),_t=Dt,wt=window,yt=document,xt="hljs-ln",kt="hljs-ln-line",Ct="hljs-ln-code",Ot="hljs-ln-numbers",$t="hljs-ln-n",jt="data-line-number",Pt=/\r\n|\r|\n/g;function St(t){var e=t;while(e){if(e.className&&-1!==e.className.indexOf("hljs-ln-code"))return!0;e=e.parentNode}return!1}function Nt(t){var e=t;while("TABLE"!==e.nodeName)e=e.parentNode;return e}function Et(t){var e=t.toString(),n=t.anchorNode;while("TD"!==n.nodeName)n=n.parentNode;var a=t.focusNode;while("TD"!==a.nodeName)a=a.parentNode;var r=parseInt(n.dataset.lineNumber),o=parseInt(a.dataset.lineNumber);if(r!==o){var i=n.textContent,s=a.textContent;if(r>o){var c=r;r=o,o=c,c=i,i=s,s=c}while(0!==e.indexOf(i))i=i.slice(1);while(-1===e.lastIndexOf(s))s=s.slice(0,-1);for(var l=i,u=Nt(n),d=r+1;d<o;++d){var p=It('.{0}[{1}="{2}"]',[Ct,jt,d]),f=u.querySelector(p);l+="\n"+f.textContent}return l+="\n"+s,l}return e}function Lt(){var t=yt.createElement("style");t.innerHTML=It(".{0}{border-collapse:collapse}.{0} td{padding-top: 0; padding-bottom: 0; padding-right: 0;}.{1}:before{content:attr({2})}",[xt,$t,jt]),yt.getElementsByTagName("head")[0].appendChild(t)}function Dt(t,e){"object"===Object(vt["a"])(t)&&Bt((function(){t.innerHTML=Mt(t,e)}))}function Mt(t,e){e=e||{singleLine:!1};var n=e.singleLine?0:1;return zt(t),Tt(t.innerHTML,n)}function Tt(t,e){var n=Ht(t);if(""===n[n.length-1].trim()&&n.pop(),n.length>e){for(var a="",r=0,o=n.length;r<o;r++)a+=It('<tr><td class="{0} {1}" {3}="{5}"><div class="{2}" {3}="{5}"></div></td><td class="{0} {4}" {3}="{5}" >{6}</td></tr>',[kt,Ot,$t,jt,Ct,r+1,n[r].length>0?n[r]:" "]);return It('<table class="{0}">{1}</table>',[xt,a])}return t}function zt(t){var e=t.childNodes;for(var n in e)if(e.hasOwnProperty(n)){var a=e[n];Vt(a.textContent)>0&&(a.childNodes.length>0?zt(a):At(a.parentNode))}}function At(t){var e=t.className;if(/hljs-/.test(e)){for(var n=Ht(t.innerHTML),a="",r=0;r<n.length;r++){var o=n[r].length>0?n[r]:" ";a+=It('<span class="{0}">{1}</span>\n',[e,o])}t.innerHTML=a.trim()}}function Ht(t){return 0===t.length?[]:t.split(Pt)}function Vt(t){return(t.trim().match(Pt)||[]).length}function Bt(t){wt.setTimeout(t,0)}function It(t,e){return t.replace(/\{(\d+)\}/g,(function(t,n){return e[n]?e[n]:t}))}Lt(),document.addEventListener("copy",(function(t){var e,n=window.getSelection();St(n.anchorNode)&&(e=-1!==window.navigator.userAgent.indexOf("Edge")?Et(n):n.toString(),t.clipboardData.setData("text/plain",e),t.preventDefault())}));n("eed5"),n("6772");function Rt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function qt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Rt(n,!0).forEach((function(e){Object(G["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Rt(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ut={name:"PasteView",data:function(){return{copy_btn_status:0,raw:[]}},mounted:function(){var t=new this.clipboard("#clipboard-btn"),e=this;t.on("success",(function(){e.copy_btn_status=1,window.getSelection().removeAllRanges(),window.setTimeout((function(){e.copy_btn_status=0}),2e3)})),t.on("error",(function(){e.copy_btn_status=-1,window.setTimeout((function(){e.copy_btn_status=0}),2e3)})),this.initMermaid(),this.renderHljs(this.$refs.hljs),this.markdownBindHook()},computed:qt({linesCount:function(){var t=/\r\n|\r|\n/g;return(this.content.trim().match(t)||[]).length+1}},Object(J["mapGetters"])(["lang","content"])),methods:{renderHljs:function(t){this.$nextTick((function(){var e=t.querySelectorAll("pre code");0===document.querySelectorAll(".hljs").length&&e.forEach((function(t){window.hljs.highlightBlock(t),t.getAttribute("class").split(" ").indexOf("line-numbers")>-1&&_t(t,{singleLine:!0})}))}))},initMermaid:function(){var t=this;this.$nextTick((function(){"markdown"===t.lang&&Promise.resolve().then(n.t.bind(null,"2217",7)).then((function(t){document.querySelectorAll(".mermaid").forEach((function(e){t.init(void 0,e)}))}))}))},markdownBindHook:function(){var t=this.markdown.render,e=this;this.markdown.render=function(){return e.initMermaid(),t.apply(this,arguments)}}},watch:{raw:function(){this.renderHljs(document)},content:function(){this.initMermaid()}}},Ft=Ut,Gt=(n("2817"),n("c15d"),Object(_["a"])(Ft,ht,bt,!1,null,"7e8979a0",null)),Wt=Gt.exports,Jt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("b-row",[n("b-col",{attrs:{md:"4"}}),n("b-col",{attrs:{md:"4"}},[n("div",{staticClass:"height-fixed"}),n("div",{staticClass:"text-center"},[n("b-spinner",{attrs:{id:"pasteme-spinner",variant:"primary",label:"Loading"}})],1),n("div",{staticClass:"height-fixed"})]),n("b-col",{attrs:{md:"4"}})],1)},Yt=[],Zt={name:"Loading"},Kt=Zt,Qt=(n("08dd"),Object(_["a"])(Kt,Jt,Yt,!1,null,"46fc937d",null)),Xt=Qt.exports,te=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("b-row",[n("b-col",{attrs:{lg:"3",md:"2"}}),n("b-col",{staticStyle:{"text-align":"center"},attrs:{lg:"6",md:"8"}},[n("img",{attrs:{src:"http://i0.hdslb.com/bfs/archive/8fc43d62f7877bf0542ed430aed7ef3fc069421d.jpg",alt:"What's your problem?",width:"100%"}}),n("p",[t._v("此 Paste 因不符合 "),n("strong",[n("a",{attrs:{target:"_blank",href:"https://baike.baidu.com/item/社会主义核心价值观/3271832"}},[t._v("社会主义核心价值观")])]),t._v(" 不予显示")])]),n("b-col",{attrs:{lg:"3",md:"2"}})],1)},ee=[],ne={name:"ManualDeleted"},ae=ne,re=Object(_["a"])(ae,te,ee,!1,null,"e3beaf5a",null),oe=re.exports;function ie(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function se(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ie(n,!0).forEach((function(e){Object(G["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ie(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ce={name:"Index",mixins:[W],data:function(){return{}},computed:se({},Object(J["mapGetters"])(["view","lang","content"])),watch:{"$route.params.key":function(){this.init()}},mounted:function(){this.init()},methods:{init:function(){var t=this;this.$store.commit("init"),""===this.$route.params.key?this.updateView("home"):(this.updateView("loading"),this.api.get(this.$store.getters.config.api.backend+this.$route.params.key,{json:!0}).then((function(e){200===e.status?(t.updateView("paste_view"),t.updateContent(e.content),t.updateLang("plain"===e.lang?"plaintext":e.lang)):401===e.status?t.updateView("password_auth"):403===e.status?t.updateView("manual_deleted"):404===e.status&&-1!==t.$route.params.key.search("[a-zA-Z]{1}")?(t.$store.commit("updateMode",{read_once:!0}),t.updateView("home")):t.$router.push("What_are_you_nong_sha_lei?")})))}},components:{home:et,success:lt,password_auth:gt,paste_view:Wt,loading:Xt,manual_deleted:oe}},le=ce,ue=(n("8015"),Object(_["a"])(le,U,F,!1,null,"7e633606",null)),de=ue.exports,pe=function(t){},fe=pe,me=q.a.prototype.push;q.a.prototype.push=function(t,e,n){return e||n?me.call(this,t,e,n):me.call(this,t).catch(fe)},r.a.use(q.a);var ge=new q.a({mode:"history",base:"/",routes:[{path:"/:key(0{0}|[a-zA-Z0-9]{3,8})",name:"index",component:de},{path:"/What_are_you_nong_sha_lei?",name:"NotFound",component:function(){return n.e("not_found").then(n.bind(null,"9703"))}},{path:"*",redirect:"/What_are_you_nong_sha_lei?"}]}),he={config:function(t){return t.config},key:function(t){return t.key},content:function(t){return t.content},view:function(t){return t.view},lang:function(t){return t.lang}};r.a.use(Y.a);var be=new Y.a.Store({state:{read_once:!1,not_found:!1,config:null,view:"loading",key:"",content:"",lang:""},mutations:{updateMode:function(t,e){t.read_once=e.read_once},updateNotFound:function(t,e){t.not_found=e.not_found},init:function(t){t.not_found=t.read_once=!1},updateState:function(t,e){Object.assign(t,e)}},getters:he}),ve=(n("caad"),n("85b3")),_e=n.n(ve);r.a.use(_e.a);var we=new _e.a({locale:"zh-CN",fallbackLocale:"zh-CN",messages:{"zh-CN":n("c019")}}),ye=["zh-CN"],xe=["zh-CN","en"];function ke(t){we.locale=t,document.querySelector("html").setAttribute("lang",t)}r.a.prototype.setI18n=function(t){we.locale!==t&&(xe.includes(t)?ye.includes(t)?ke(t):n("cc57")("./".concat(t)).then((function(e){we.setLocaleMessage(t,e),ye.push(t),ke(t)})).catch((function(t){alert(JSON.stringify(t))})):ke(xe[0]))};var Ce=we,Oe=n("cebe"),$e=n.n(Oe),je={get:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(n,a){$e.a.get(t,{params:e}).then((function(t){n(t.data)})).catch((function(e){alert("GET: "+t+"\n"+JSON.stringify(e)),a(e)}))}))},post:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(n,a){$e.a.post(t,e).then((function(t){n(t.data)})).catch((function(e){alert("POST: "+t+"\n"+JSON.stringify(e)),a(e)}))}))},put:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(n,a){$e.a.put(t,e).then((function(t){n(t.data)})).catch((function(e){alert("PUT: "+t+"\n"+JSON.stringify(e)),a(e)}))}))}},Pe=n("19dd"),Se=function(t){return Pe(t)};function Ne(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=n("5d44")({html:!0,linkify:!0,typographer:!0,breaks:!0}),r=n("b792"),o=n("bb8d"),i=n("1c78").default;a.use(o),a.use(r),a.use(i,{slugify:Se}),a.use(n("bcf0"),{disabled:!0,divWrap:!1,divClass:"checkbox",idPrefix:"cbx_",ulClass:"task-list",liClass:"task-list-item"}),a.use(n("1020")),a.use(n("7abd").default.default);var s=function(t){return t},c=function(t){return t.replace(/<pre>[\s\S]+?<\/pre>/g,'<div class=\'ui segment\'>\n    <div class="ui top attached label"><a class="copy context">Copy</a></div>$&</div>')},l=a.render;return a.render=function(){return s(l.apply(a,arguments))},a.renderRaw=function(){return c(a.renderInline.apply(a,arguments))},Object.assign(a,{key:t,problem_id:e})}var Ee=Ne();Ee.newInstance=Ne;var Le=Ee,De=function(t){t.directive("focus",{inserted:function(t){t.focus()}})},Me=(n("aede"),n("00e7"));De(r.a),r.a.config.productionTip=!1,r.a.use(u.a),r.a.use(Me),r.a.prototype.clipboard=c.a,r.a.prototype.api=je,r.a.prototype.markdown=Le,r.a.component("QRCode",i.a),je.get("/usr/config.json").then((function(t){return be.state.config=t,je.get(be.state.config.api.backend,{method:"beat"})})).then((function(){return new r.a({store:be,i18n:Ce,router:ge,render:function(t){return t(I)}}).$mount("#app")}))},5880:function(t,e){t.exports=Vuex},"5a2b":function(t,e){t.exports=VueQrcode},"5ce2":function(t,e){t.exports=katex},"5d44":function(t,e){t.exports=markdownit},6389:function(t,e){t.exports=VueRouter},6431:function(t,e,n){"use strict";var a=n("4449"),r=n.n(a);r.a},6507:function(t,e,n){"use strict";var a=n("2f41"),r=n.n(a);r.a},6772:function(t,e,n){},"6b91":function(t,e,n){"use strict";var a=n("ca5d"),r=n.n(a);r.a},"7abd":function(t,e,n){"use strict";n.r(e);n("ac1f"),n("466d"),n("1276"),n("498a");var a=n("2217"),r=n.n(a),o=function(t){function e(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,a){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:a})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var a=n(1),r=function(t){return t&&t.__esModule?t:{default:t}}(a),o=function(t){try{return r.default.parse(t),'<div class="mermaid">'+t+"</div>"}catch(t){var e=t.str;return t.hash,"<pre>"+e+"</pre>"}},i=function(t){t.mermaid=r.default,r.default.loadPreferences=function(t){var e=t.get("mermaid-theme");void 0===e&&(e="default");var n=t.get("gantt-axis-format");return void 0===n&&(n="%Y-%m-%d"),r.default.initialize({theme:e,gantt:{axisFormatter:[[n,function(t){return 1===t.getDay()}]]},startOnLoad:!1}),{"mermaid-theme":e,"gantt-axis-format":n}};var e=t.renderer.rules.fence.bind(t.renderer.rules);t.renderer.rules.fence=function(t,n,a,r,i){var s=t[n],c=s.content.trim();if("mermaid"===s.info)return o(c);var l=c.split(/\n/)[0].trim();return"gantt"===l||"sequenceDiagram"===l||l.match(/^graph (?:TB|BT|RL|LR|TD);?$/)?o(c):e(t,n,a,r,i)}};e.default=i},function(t,e){t.exports=r.a}]);e["default"]=o},"7bb4":function(t,e,n){},8015:function(t,e,n){"use strict";var a=n("ceff"),r=n.n(a);r.a},"85b3":function(t,e){t.exports=VueI18n},8868:function(t,e,n){},"8bbf":function(t,e){t.exports=Vue},"92de":function(t,e,n){"use strict";var a=n("d19c"),r=n.n(a);r.a},aede:function(t,e,n){},c019:function(t,e,n){"use strict";n.r(e),n.d(e,"lang",(function(){return a}));var a={error:{text:"遇到一个致命错误，请将输出的信息发送给管理员"},form:{input:[{prepend:"高亮"},{prepend:"密码",placeholder:"无需设置密码请留空"}],textarea:{placeholder:{write_something_here:"写点什么进来吧",read_once:"一次有效，阅后即焚"}},select:{plain:"纯文本"},submit:"保存",checkbox:"阅后即焚"},success:{h2:"保存成功",p:[{text:"欲访问 <strong>{key}</strong> 所对应的 Paste"},{button:"返回主页"}],ul:{li:[{text:"在导航栏中输入<strong>索引</strong>"},{browser:"在浏览器中访问",tooltip:"在新页面中查看"},{scan_qr_code:"扫描二维码"}]},popover:{text:"在这里填入 <strong>索引</strong> 即可查看相应的 Paste"},badge:{copy:"复制链接",success:"复制成功",fail:"复制失败"}},auth:{form:{label:"此 Paste 已加密，请输入密码：",button:"提交",placeholder:"密码错误"}},nav:{router_link:"返回主页",form:{placeholder:"索引",button:"前往"},lang:{zh_CN:"简体中文",en:"English"},something:{text:"聚合",log:"更新日志",help:"使用指南",feedback:"我要吐槽"},donate:"捐助",more:"更多",beg:"给个 Star 好不啦"},not_found:{content:{title:"您访问的页面没有找到",go_home:"返回主页"},footer:{text:"如果您想了解更多信息，则可以稍后在线搜索此错误：Error 404 Girlfriend Not Found",beg:{left:"在 GitHub 里给本项目一个",right:"吧 Orz"}}},footer:{tooltip:{refresh:"点按以刷新",wait:"{sec} 秒后可以再次刷新"}},view:{parsed:"渲染",raw:"源码",lines:"行",lang:{cpp:"C/C++",java:"Java",bash:"Bash",html:"HTML",python:"Python",markdown:"Markdown",go:"Go",json:"JSON",plaintext:"纯文本"},copy:"复制",tooltip:{click:"点按以复制",success:"成功",fail:"失败"}}}},c15d:function(t,e,n){"use strict";var a=n("2455"),r=n.n(a);r.a},ca5d:function(t,e,n){},cc57:function(t,e,n){var a={"./en":["d500","lang-en"],"./en.js":["d500","lang-en"],"./zh-CN":["c019"],"./zh-CN.js":["c019"]};function r(t){if(!n.o(a,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=a[t],r=e[0];return Promise.all(e.slice(1).map(n.e)).then((function(){return n(r)}))}r.keys=function(){return Object.keys(a)},r.id="cc57",t.exports=r},cebe:function(t,e){t.exports=axios},ceff:function(t,e,n){},d19c:function(t,e,n){},eed5:function(t,e,n){},f4e8:function(t,e){t.exports=hljs}});