"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(t,e){function n(t){var n=e.createElement("link");n.rel="stylesheet",n.type="text/css",n.href=t,e.getElementsByTagName("head")[0].appendChild(n)}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t){var n=Object.assign(e,{version:i});return"data-report-click='"+JSON.stringify({spm:t,extra:n})+"'"}}function s(t,e){Object.getOwnPropertyNames(t).forEach(function(n){void 0!==e[n]&&null!==e[n]&&("object"===_typeof(e[n])&&"contentEl"!==n?s(t[n],e[n]):t[n]=e[n])},null)}function c(){var e=t.scrollY,n=e/100,o=setInterval(function(){e-=n,t.scrollTo(0,e),e<=0&&clearInterval(o)},10)}function a(){var n=e.createElement("div");if(n.innerHTML=u,r.contentEl.appendChild(n),r.goTop.isShow){var o=function(){t.scrollY>=a?s.classList.remove("go-top-hide"):s.classList.add("go-top-hide")},s=e.querySelector("a.option-box[data-type='gotop']"),a=t.outerHeight,l=e.body.scrollHeight;o(),t.addEventListener("scroll",o,!1),t.addEventListener("resize",function(){a=t.outerHeight,l=e.body.scrollHeight,o()}),s.addEventListener("click",c,!1)}if(r.cs.isShow){e.querySelector("a.option-box[data-type='cs']").addEventListener("click",function(){null!==r.cs.clickFun?r.cs.clickFun():t.open(r.cs.clickUrl,"_blank")},!1)}if(r.qr.isShow){e.querySelector("a.option-box[data-type='app']").addEventListener("mouseenter",function(){r.qr.spm&&t.csdn.report&&"function"==typeof t.csdn.report.reportView&&t.csdn.report.reportView({spm:r.qr.spm,extra:{version:i}})},!1)}}var i="3.6",r={},l={options:{},version:i,goTop:c};void 0===t.csdn&&(t.csdn={}),t.csdn.sideToolbar=Object.assign(l,t.csdn.sideToolbar);var d=t.csdn.sideToolbar.options;!function(){var t=d.url?d.url:"https://g.csdnimg.cn/side-toolbar/"+i;n(t+"/side-toolbar.css"),r={url:t,qr:{isShow:!0,btnImgSrc:t+"/images/mobile.png",btnImgBlackSrc:t+"/images/mobile-dark.png",spm:"3001.10367",data:[{tabName:"下载APP",imgSrc:t+"/images/qr_app.png",desc:"程序员都在用的中文IT技术交流社区"},{tabName:"公众号",imgSrc:t+"/images/qr_wechat.png",desc:"专业的中文 IT 技术社区,与千万技术人共成长",spm:"3001.10367"},{tabName:"视频号",imgSrc:t+"/images/qr_video.png",desc:"关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!"}]},cs:{isShow:!0,btnImgSrc:t+"/images/customer.png",btnImgBlackSrc:t+"/images/customer-dark.png",clickUrl:"https://csdn.s2.udesk.cn/im_client/?web_plugin_id=29181",clickFun:null,spm:"3001.10368"},goTop:{isShow:!0,btnImgSrc:t+"/images/totop.png",btnImgBlackSrc:t+"/images/totop-dark.png",spm:"3001.10369"},theme:"white",contentEl:e.body,afterFinished:null},s(r,d)}();var p="",m="",g="";if(r.qr.isShow){var b="";r.qr.data.forEach(function(t,e){b+='\n
'+t.desc+"
\n