define(function(){function s(s,l){return t(s||self.document.URL||self.location.href,l||e())}function e(){var s=document.getElementsByTagName("script");return s[s.length-1].src}function t(s,e){var t=e;return/^(\/|\\\\)/.test(e)?t=/^.+?\w(\/|\\\\)/.exec(s)[0]+e.replace(/^(\/|\\\\)/,""):/^[a-z]+:/i.test(e)||(s=s.split("#")[0].split("?")[0].replace(/[^\\\/]+$/,""),t=s+""+e),l(t)}function l(s){var e=/^[a-z]+:\/\//.exec(s)[0],t=null,l=[];for(s=s.replace(e,"").split("?")[0].split("#")[0],s=s.replace(/\\/g,"/").split(/\//),s[s.length-1]="";s.length;)".."===(t=s.shift())?l.pop():"."!==t&&l.push(t);return e+l.join("/")}window.UEDITOR_CONFIG={UEDITOR_HOME_URL:"/assets/ueditor/",serverUrl:"",toolbars:[["fullscreen","source","|","undo","redo","|","bold","italic","underline","fontborder","strikethrough","superscript","subscript","removeformat","formatmatch","autotypeset","blockquote","pasteplain","|","forecolor","backcolor","insertorderedlist","insertunorderedlist","selectall","cleardoc","|","rowspacingtop","rowspacingbottom","lineheight","|","customstyle","paragraph","fontfamily","fontsize","|","directionalityltr","directionalityrtl","indent","|","justifyleft","justifycenter","justifyright","justifyjustify","|","touppercase","tolowercase","|","link","unlink","anchor","|","imagenone","imageleft","imageright","imagecenter","|","simpleupload","insertimage","emotion","scrawl","insertvideo","music","attachment","map","gmap","insertframe","insertcode","webapp","pagebreak","template","background","|","horizontal","date","time","spechars","snapscreen","wordimage","|","inserttable","deletetable","insertparagraphbeforetable","insertrow","deleterow","insertcol","deletecol","mergecells","mergeright","mergedown","splittocells","splittorows","splittocols","charts","|","print","preview","searchreplace","drafts","help","customLink","customUnlink","|"]],labelMap:{uploadimage:"插入图片",wechatcustomemotion:"表情"},xssFilterRules:!0,whitList:{a:["target","href","title","class","style"],abbr:["title","class","style"],address:["class","style"],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload","src","class","style"],b:["class","style"],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite","class","style"],br:[],caption:["class","style"],center:[],cite:[],code:["class","style"],col:["align","valign","span","width","class","style"],colgroup:["align","valign","span","width","class","style"],dd:["class","style"],del:["datetime"],details:["open"],div:["class","style"],dl:["class","style"],dt:["class","style"],em:["class","style"],font:["color","size","face"],footer:[],h1:["class","style"],h2:["class","style"],h3:["class","style"],h4:["class","style"],h5:["class","style"],h6:["class","style"],header:[],hr:[],i:["class","style"],img:["src","alt","title","id","_src","loadingclass","class","data-key","data-val","height","width"],ins:["datetime"],li:["class","style"],mark:[],nav:[],ol:["class","style"],p:["class","style"],pre:["class","style"],s:[],section:["class","style"],small:[],span:["class","style"],sub:["class","style"],sup:["class","style"],strong:["class","style"],table:["width","border","align","valign","class","style"],tbody:["align","valign","class","style"],td:["width","rowspan","colspan","align","valign","class","style"],tfoot:["align","valign","class","style"],th:["width","rowspan","colspan","align","valign","class","style"],thead:["align","valign","class","style"],tr:["rowspan","align","valign","class","style"],tt:[],u:[],ul:["class","style"],video:["autoplay","controls","loop","preload","src","height","width","class","style"]}},window.UE={getUEBasePath:s}});