当前位置:   article > 正文

python生成组织架构图(网络拓扑图、graph.editor拓扑图编辑器)

python 画组织架构

        Graph.Editor是一款基于HTML5技术的拓补图编辑器,采用jquery插件的形式,是Qunee图形组件的扩展项目,旨在提供可供扩展的拓扑图编辑工具, 拓扑图展示、编辑、导出、保存等功能,此外本项目也是学习HTML5开发,构建WebAPP项目的参考实例。

请访问此地址查看效果:http://demo.qunee.com/editor/

入门实例:

  1. <html>
  2. <head>
  3. <meta charset="UTF-8">
  4. <title>Hello Qunee</title>
  5. <link rel=stylesheet href=http://demo.qunee.com/editor/libs/bootstrap/css/bootstrap.css>
  6. <link rel=stylesheet href=http://demo.qunee.com/editor/libs/graph.editor/graph.editor.css>
  7. </head>
  8. <body class="layout">
  9. <div id="editor" data-options="region:'center'"></div>
  10. <script src="http://demo.qunee.com/editor/libs/js.js"></script>
  11. <script src="http://demo.qunee.com/lib/qunee-min.js?v=1.8"></script>
  12. <script src="http://demo.qunee.com/editor/libs/graph.editor/graph.editor.js"></script>
  13. <script>
  14. $('#editor').graphEditor({callback: function(editor){
  15. var graph = editor.graph;
  16. var hello = graph.createNode("Hello", -100, -50); # 指定坐标和名字
  17. hello.image = Q.Graphs.server; # 指定图标
  18. var qunee = graph.createNode("Qunee", 100, 50); # 指定坐标和名字
  19. var edge = graph.createEdge("Hello\nQunee", hello, qunee); # 连线hello——>qunee
  20. graph.moveToCenter();
  21. }});
  22. </script>
  23. </body>
  24. </html>

入门实例中,你只需要生成坐标和名字并指定从哪个图标连到哪个图标即可。

实际代码部分,采用了jquery的写法,如下:

  1. $('#editor').graphEditor({
  2. callback: 回调函数,
  3. data: json数据地址,
  4. images: 拖拽图标信息
  5. })

本例中,通过回调函数获取editor.graph对象,并创建了两个节点和一条连线

更多用法请查看其他demo和代码

运行效果

graph editor - hello

使用python生成网络拓扑图,方式很简单,使用graph.editor拓扑图编辑器生成的json数据,如下图:

拿到这串json数据,用python进行处理,生成js文件,导入到前端页面就可以了。如下:

  1. # 根据json数据b生成js文件b ={
  2. "version": "2.0",
  3. "datas": [
  4. {
  5. "_className": "Q.Node",
  6. "json": {
  7. "name": "hello",
  8. "location": {
  9. "x": -150,
  10. "y": -50
  11. }
  12. },
  13. "_refId": "346"
  14. },
  15. {
  16. "_className": "Q.Node",
  17. "json": {
  18. "name": "qunee",
  19. "location": {
  20. "x": 100,
  21. "y": 50
  22. }
  23. },
  24. "_refId": "347"
  25. },
  26. {
  27. "_className": "Q.Node",
  28. "json": {
  29. "name": "ni",
  30. "location": {
  31. "x": 100,
  32. "y": 150
  33. }
  34. },
  35. "_refId": "348"
  36. },
  37. {
  38. "_className": "Q.Node",
  39. "json": {
  40. "name": "ni1",
  41. "location": {
  42. "x": -150,
  43. "y": 50
  44. }
  45. },
  46. "_refId": "349"
  47. },
  48. {
  49. "_className": "Q.Node",
  50. "json": {
  51. "name": "ni22",
  52. "location": {
  53. "x": -150,
  54. "y": 150
  55. }
  56. },
  57. "_refId": "350"
  58. },
  59. {
  60. "_className": "Q.Edge",
  61. "json": {
  62. "name": "ni1|ni22",
  63. "from": {
  64. "_ref": 349
  65. },
  66. "to": {
  67. "_ref": 350
  68. }
  69. }
  70. },
  71. {
  72. "_className": "Q.Edge",
  73. "json": {
  74. "name": "hello|qunee",
  75. "from": {
  76. "_ref": 346
  77. },
  78. "to": {
  79. "_ref": 347
  80. }
  81. }
  82. },
  83. {
  84. "_className": "Q.Edge",
  85. "json": {
  86. "name": "qunee|ni",
  87. "from": {
  88. "_ref": 347
  89. },
  90. "to": {
  91. "_ref": 348
  92. }
  93. }
  94. },
  95. {
  96. "_className": "Q.Edge",
  97. "json": {
  98. "name": "qunee|ni1",
  99. "from": {
  100. "_ref": 347
  101. },
  102. "to": {
  103. "_ref": 349
  104. }
  105. }
  106. },
  107. {
  108. "_className": "Q.Edge",
  109. "json": {
  110. "name": "hello|ni1",
  111. "from": {
  112. "_ref": 346
  113. },
  114. "to": {
  115. "_ref": 349
  116. }
  117. }
  118. }
  119. ],
  120. "scale": 1,
  121. "tx": 547.3333333333334,
  122. "ty": 204
  123. }
  124. v = b['datas']
  125. n = 0
  126. l = []
  127. for a in v:
  128. if a['_className'] == 'Q.Node':
  129. xx = "var " + str(a['json']['name']) + " = graph.createNode('" + str(a['json']['name']) + "', "+ str(a['json']['location']['x']) + ", "+ str(a['json']['location']['y']) + ");"
  130. l.append(xx)
  131. if a['_className'] == 'Q.Edge':
  132. n += 1
  133. yy = "var edge"+ str(n) + " = graph.createEdge('" + str(a['json']['name']) + "', " + str(a['json']['name'].split('|')[0]) + ", " + str(a['json']['name'].split('|')[1]) + ");"
  134. l.append(yy)
  135. with open('ccc.js', 'a') as f:
  136. f.write("$('#editor').graphEditor({callback: function (editor) {var graph = editor.graph;")
  137. for m in l:
  138. with open('ccc.js', 'a') as f:
  139. f.write(m)
  140. with open('ccc.js', 'a') as f:
  141. f.write(" graph.moveToCenter();}});")

html代码如下:

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Hello Qunee</title>
  6. <link rel=stylesheet href=http://demo.qunee.com/editor/libs/bootstrap/css/bootstrap.css>
  7. <link rel=stylesheet href=http://demo.qunee.com/editor/libs/graph.editor/graph.editor.css>
  8. </head>
  9. <body class="layout">
  10. <div id="editor" data-options="region:'center'"></div>
  11. <script src="http://demo.qunee.com/editor/libs/js.js"></script>
  12. <script src="http://demo.qunee.com/lib/qunee-min.js?v=1.8"></script>
  13. <script src="http://demo.qunee.com/editor/libs/graph.editor/graph.editor.js"></script>
  14. <script src="ccc.js"> # 注意这里
  15. </script>
  16. </body>
  17. </html>

python生成的ccc.js文件如下:

$('#editor').graphEditor({callback: function (editor) {var graph = editor.graph;var hello = graph.createNode('hello', -150, -50);var qunee = graph.createNode('qunee', 100, 50);var ni = graph.createNode('ni', 100, 150);var ni1 = graph.createNode('ni1', -150, 50);var ni22 = graph.createNode('ni22', -150, 150);var edge1 = graph.createEdge('ni1|ni22', ni1, ni22);var edge2 = graph.createEdge('hello|qunee', hello, qunee);var edge3 = graph.createEdge('qunee|ni', qunee, ni);var edge4 = graph.createEdge('qunee|ni1', qunee, ni1);var edge5 = graph.createEdge('hello|ni1', hello, ni1);            graph.moveToCenter();}});

这样就可以了。

注意:

  1. 1,var hello = graph.createNode("Hello", -100, -50); 里面的Hello最好是hello,方便用json里面的值。
  2. 2,hello.image = Q.Graphs.server; 这行代码可以不写,会默认图标。
  3. 3,var edge = graph.createEdge("Hello\nQunee", hello, qunee); 这行"Hello\nQunee"只是这条线的名称,可以随便写,最好写成"Hello|Qunee"方便切割。
  4. 4,英文最好都用小写。

不会下载css和js的,代码都在下面:

  1. /*!
  2. * Bootstrap v3.2.0 (http://getbootstrap.com)
  3. * Copyright 2011-2014 Twitter, Inc.
  4. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  5. */
  6. /*! normalize.css v3.0.1 | MIT License | git.io/normalize */
  7. html {
  8. font-family: sans-serif;
  9. -webkit-text-size-adjust: 100%;
  10. -ms-text-size-adjust: 100%;
  11. }
  12. body {
  13. margin: 0;
  14. }
  15. article,
  16. aside,
  17. details,
  18. figcaption,
  19. figure,
  20. footer,
  21. header,
  22. hgroup,
  23. main,
  24. nav,
  25. section,
  26. summary {
  27. display: block;
  28. }
  29. audio,
  30. canvas,
  31. progress,
  32. video {
  33. display: inline-block;
  34. vertical-align: baseline;
  35. }
  36. audio:not([controls]) {
  37. display: none;
  38. height: 0;
  39. }
  40. [hidden],
  41. template {
  42. display: none;
  43. }
  44. a {
  45. background: transparent;
  46. }
  47. a:active,
  48. a:hover {
  49. outline: 0;
  50. }
  51. abbr[title] {
  52. border-bottom: 1px dotted;
  53. }
  54. b,
  55. strong {
  56. font-weight: bold;
  57. }
  58. dfn {
  59. font-style: italic;
  60. }
  61. h1 {
  62. margin: .67em 0;
  63. font-size: 2em;
  64. }
  65. mark {
  66. color: #000;
  67. background: #ff0;
  68. }
  69. small {
  70. font-size: 80%;
  71. }
  72. sub,
  73. sup {
  74. position: relative;
  75. font-size: 75%;
  76. line-height: 0;
  77. vertical-align: baseline;
  78. }
  79. sup {
  80. top: -.5em;
  81. }
  82. sub {
  83. bottom: -.25em;
  84. }
  85. img {
  86. border: 0;
  87. }
  88. svg:not(:root) {
  89. overflow: hidden;
  90. }
  91. figure {
  92. margin: 1em 40px;
  93. }
  94. hr {
  95. height: 0;
  96. -webkit-box-sizing: content-box;
  97. -moz-box-sizing: content-box;
  98. box-sizing: content-box;
  99. }
  100. pre {
  101. overflow: auto;
  102. }
  103. code,
  104. kbd,
  105. pre,
  106. samp {
  107. font-family: monospace, monospace;
  108. font-size: 1em;
  109. }
  110. button,
  111. input,
  112. optgroup,
  113. select,
  114. textarea {
  115. margin: 0;
  116. font: inherit;
  117. color: inherit;
  118. }
  119. button {
  120. overflow: visible;
  121. }
  122. button,
  123. select {
  124. text-transform: none;
  125. }
  126. button,
  127. html input[type="button"],
  128. input[type="reset"],
  129. input[type="submit"] {
  130. -webkit-appearance: button;
  131. cursor: pointer;
  132. }
  133. button[disabled],
  134. html input[disabled] {
  135. cursor: default;
  136. }
  137. button::-moz-focus-inner,
  138. input::-moz-focus-inner {
  139. padding: 0;
  140. border: 0;
  141. }
  142. input {
  143. line-height: normal;
  144. }
  145. input[type="checkbox"],
  146. input[type="radio"] {
  147. -webkit-box-sizing: border-box;
  148. -moz-box-sizing: border-box;
  149. box-sizing: border-box;
  150. padding: 0;
  151. }
  152. input[type="number"]::-webkit-inner-spin-button,
  153. input[type="number"]::-webkit-outer-spin-button {
  154. height: auto;
  155. }
  156. input[type="search"] {
  157. -webkit-box-sizing: content-box;
  158. -moz-box-sizing: content-box;
  159. box-sizing: content-box;
  160. -webkit-appearance: textfield;
  161. }
  162. input[type="search"]::-webkit-search-cancel-button,
  163. input[type="search"]::-webkit-search-decoration {
  164. -webkit-appearance: none;
  165. }
  166. fieldset {
  167. padding: .35em .625em .75em;
  168. margin: 0 2px;
  169. border: 1px solid #c0c0c0;
  170. }
  171. legend {
  172. padding: 0;
  173. border: 0;
  174. }
  175. textarea {
  176. overflow: auto;
  177. }
  178. optgroup {
  179. font-weight: bold;
  180. }
  181. table {
  182. border-spacing: 0;
  183. border-collapse: collapse;
  184. }
  185. td,
  186. th {
  187. padding: 0;
  188. }
  189. @media print {
  190. * {
  191. color: #000 !important;
  192. text-shadow: none !important;
  193. background: transparent !important;
  194. -webkit-box-shadow: none !important;
  195. box-shadow: none !important;
  196. }
  197. a,
  198. a:visited {
  199. text-decoration: underline;
  200. }
  201. a[href]:after {
  202. content: " (" attr(href) ")";
  203. }
  204. abbr[title]:after {
  205. content: " (" attr(title) ")";
  206. }
  207. a[href^="javascript:"]:after,
  208. a[href^="#"]:after {
  209. content: "";
  210. }
  211. pre,
  212. blockquote {
  213. border: 1px solid #999;
  214. page-break-inside: avoid;
  215. }
  216. thead {
  217. display: table-header-group;
  218. }
  219. tr,
  220. img {
  221. page-break-inside: avoid;
  222. }
  223. img {
  224. max-width: 100% !important;
  225. }
  226. p,
  227. h2,
  228. h3 {
  229. orphans: 3;
  230. widows: 3;
  231. }
  232. h2,
  233. h3 {
  234. page-break-after: avoid;
  235. }
  236. select {
  237. background: #fff !important;
  238. }
  239. .navbar {
  240. display: none;
  241. }
  242. .table td,
  243. .table th {
  244. background-color: #fff !important;
  245. }
  246. .btn > .caret,
  247. .dropup > .btn > .caret {
  248. border-top-color: #000 !important;
  249. }
  250. .label {
  251. border: 1px solid #000;
  252. }
  253. .table {
  254. border-collapse: collapse !important;
  255. }
  256. .table-bordered th,
  257. .table-bordered td {
  258. border: 1px solid #ddd !important;
  259. }
  260. }
  261. @font-face {
  262. font-family: 'Glyphicons Halflings';
  263. src: url('../fonts/glyphicons-halflings-regular.eot');
  264. src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
  265. }
  266. .glyphicon {
  267. position: relative;
  268. top: 1px;
  269. display: inline-block;
  270. font-family: 'Glyphicons Halflings';
  271. font-style: normal;
  272. font-weight: normal;
  273. line-height: 1;
  274. -webkit-font-smoothing: antialiased;
  275. -moz-osx-font-smoothing: grayscale;
  276. }
  277. .glyphicon-asterisk:before {
  278. content: "\2a";
  279. }
  280. .glyphicon-plus:before {
  281. content: "\2b";
  282. }
  283. .glyphicon-euro:before {
  284. content: "\20ac";
  285. }
  286. .glyphicon-minus:before {
  287. content: "\2212";
  288. }
  289. .glyphicon-cloud:before {
  290. content: "\2601";
  291. }
  292. .glyphicon-envelope:before {
  293. content: "\2709";
  294. }
  295. .glyphicon-pencil:before {
  296. content: "\270f";
  297. }
  298. .glyphicon-glass:before {
  299. content: "\e001";
  300. }
  301. .glyphicon-music:before {
  302. content: "\e002";
  303. }
  304. .glyphicon-search:before {
  305. content: "\e003";
  306. }
  307. .glyphicon-heart:before {
  308. content: "\e005";
  309. }
  310. .glyphicon-star:before {
  311. content: "\e006";
  312. }
  313. .glyphicon-star-empty:before {
  314. content: "\e007";
  315. }
  316. .glyphicon-user:before {
  317. content: "\e008";
  318. }
  319. .glyphicon-film:before {
  320. content: "\e009";
  321. }
  322. .glyphicon-th-large:before {
  323. content: "\e010";
  324. }
  325. .glyphicon-th:before {
  326. content: "\e011";
  327. }
  328. .glyphicon-th-list:before {
  329. content: "\e012";
  330. }
  331. .glyphicon-ok:before {
  332. content: "\e013";
  333. }
  334. .glyphicon-remove:before {
  335. content: "\e014";
  336. }
  337. .glyphicon-zoom-in:before {
  338. content: "\e015";
  339. }
  340. .glyphicon-zoom-out:before {
  341. content: "\e016";
  342. }
  343. .glyphicon-off:before {
  344. content: "\e017";
  345. }
  346. .glyphicon-signal:before {
  347. content: "\e018";
  348. }
  349. .glyphicon-cog:before {
  350. content: "\e019";
  351. }
  352. .glyphicon-trash:before {
  353. content: "\e020";
  354. }
  355. .glyphicon-home:before {
  356. content: "\e021";
  357. }
  358. .glyphicon-file:before {
  359. content: "\e022";
  360. }
  361. .glyphicon-time:before {
  362. content: "\e023";
  363. }
  364. .glyphicon-road:before {
  365. content: "\e024";
  366. }
  367. .glyphicon-download-alt:before {
  368. content: "\e025";
  369. }
  370. .glyphicon-download:before {
  371. content: "\e026";
  372. }
  373. .glyphicon-upload:before {
  374. content: "\e027";
  375. }
  376. .glyphicon-inbox:before {
  377. content: "\e028";
  378. }
  379. .glyphicon-play-circle:before {
  380. content: "\e029";
  381. }
  382. .glyphicon-repeat:before {
  383. content: "\e030";
  384. }
  385. .glyphicon-refresh:before {
  386. content: "\e031";
  387. }
  388. .glyphicon-list-alt:before {
  389. content: "\e032";
  390. }
  391. .glyphicon-lock:before {
  392. content: "\e033";
  393. }
  394. .glyphicon-flag:before {
  395. content: "\e034";
  396. }
  397. .glyphicon-headphones:before {
  398. content: "\e035";
  399. }
  400. .glyphicon-volume-off:before {
  401. content: "\e036";
  402. }
  403. .glyphicon-volume-down:before {
  404. content: "\e037";
  405. }
  406. .glyphicon-volume-up:before {
  407. content: "\e038";
  408. }
  409. .glyphicon-qrcode:before {
  410. content: "\e039";
  411. }
  412. .glyphicon-barcode:before {
  413. content: "\e040";
  414. }
  415. .glyphicon-tag:before {
  416. content: "\e041";
  417. }
  418. .glyphicon-tags:before {
  419. content: "\e042";
  420. }
  421. .glyphicon-book:before {
  422. content: "\e043";
  423. }
  424. .glyphicon-bookmark:before {
  425. content: "\e044";
  426. }
  427. .glyphicon-print:before {
  428. content: "\e045";
  429. }
  430. .glyphicon-camera:before {
  431. content: "\e046";
  432. }
  433. .glyphicon-font:before {
  434. content: "\e047";
  435. }
  436. .glyphicon-bold:before {
  437. content: "\e048";
  438. }
  439. .glyphicon-italic:before {
  440. content: "\e049";
  441. }
  442. .glyphicon-text-height:before {
  443. content: "\e050";
  444. }
  445. .glyphicon-text-width:before {
  446. content: "\e051";
  447. }
  448. .glyphicon-align-left:before {
  449. content: "\e052";
  450. }
  451. .glyphicon-align-center:before {
  452. content: "\e053";
  453. }
  454. .glyphicon-align-right:before {
  455. content: "\e054";
  456. }
  457. .glyphicon-align-justify:before {
  458. content: "\e055";
  459. }
  460. .glyphicon-list:before {
  461. content: "\e056";
  462. }
  463. .glyphicon-indent-left:before {
  464. content: "\e057";
  465. }
  466. .glyphicon-indent-right:before {
  467. content: "\e058";
  468. }
  469. .glyphicon-facetime-video:before {
  470. content: "\e059";
  471. }
  472. .glyphicon-picture:before {
  473. content: "\e060";
  474. }
  475. .glyphicon-map-marker:before {
  476. content: "\e062";
  477. }
  478. .glyphicon-adjust:before {
  479. content: "\e063";
  480. }
  481. .glyphicon-tint:before {
  482. content: "\e064";
  483. }
  484. .glyphicon-edit:before {
  485. content: "\e065";
  486. }
  487. .glyphicon-share:before {
  488. content: "\e066";
  489. }
  490. .glyphicon-check:before {
  491. content: "\e067";
  492. }
  493. .glyphicon-move:before {
  494. content: "\e068";
  495. }
  496. .glyphicon-step-backward:before {
  497. content: "\e069";
  498. }
  499. .glyphicon-fast-backward:before {
  500. content: "\e070";
  501. }
  502. .glyphicon-backward:before {
  503. content: "\e071";
  504. }
  505. .glyphicon-play:before {
  506. content: "\e072";
  507. }
  508. .glyphicon-pause:before {
  509. content: "\e073";
  510. }
  511. .glyphicon-stop:before {
  512. content: "\e074";
  513. }
  514. .glyphicon-forward:before {
  515. content: "\e075";
  516. }
  517. .glyphicon-fast-forward:before {
  518. content: "\e076";
  519. }
  520. .glyphicon-step-forward:before {
  521. content: "\e077";
  522. }
  523. .glyphicon-eject:before {
  524. content: "\e078";
  525. }
  526. .glyphicon-chevron-left:before {
  527. content: "\e079";
  528. }
  529. .glyphicon-chevron-right:before {
  530. content: "\e080";
  531. }
  532. .glyphicon-plus-sign:before {
  533. content: "\e081";
  534. }
  535. .glyphicon-minus-sign:before {
  536. content: "\e082";
  537. }
  538. .glyphicon-remove-sign:before {
  539. content: "\e083";
  540. }
  541. .glyphicon-ok-sign:before {
  542. content: "\e084";
  543. }
  544. .glyphicon-question-sign:before {
  545. content: "\e085";
  546. }
  547. .glyphicon-info-sign:before {
  548. content: "\e086";
  549. }
  550. .glyphicon-screenshot:before {
  551. content: "\e087";
  552. }
  553. .glyphicon-remove-circle:before {
  554. content: "\e088";
  555. }
  556. .glyphicon-ok-circle:before {
  557. content: "\e089";
  558. }
  559. .glyphicon-ban-circle:before {
  560. content: "\e090";
  561. }
  562. .glyphicon-arrow-left:before {
  563. content: "\e091";
  564. }
  565. .glyphicon-arrow-right:before {
  566. content: "\e092";
  567. }
  568. .glyphicon-arrow-up:before {
  569. content: "\e093";
  570. }
  571. .glyphicon-arrow-down:before {
  572. content: "\e094";
  573. }
  574. .glyphicon-share-alt:before {
  575. content: "\e095";
  576. }
  577. .glyphicon-resize-full:before {
  578. content: "\e096";
  579. }
  580. .glyphicon-resize-small:before {
  581. content: "\e097";
  582. }
  583. .glyphicon-exclamation-sign:before {
  584. content: "\e101";
  585. }
  586. .glyphicon-gift:before {
  587. content: "\e102";
  588. }
  589. .glyphicon-leaf:before {
  590. content: "\e103";
  591. }
  592. .glyphicon-fire:before {
  593. content: "\e104";
  594. }
  595. .glyphicon-eye-open:before {
  596. content: "\e105";
  597. }
  598. .glyphicon-eye-close:before {
  599. content: "\e106";
  600. }
  601. .glyphicon-warning-sign:before {
  602. content: "\e107";
  603. }
  604. .glyphicon-plane:before {
  605. content: "\e108";
  606. }
  607. .glyphicon-calendar:before {
  608. content: "\e109";
  609. }
  610. .glyphicon-random:before {
  611. content: "\e110";
  612. }
  613. .glyphicon-comment:before {
  614. content: "\e111";
  615. }
  616. .glyphicon-magnet:before {
  617. content: "\e112";
  618. }
  619. .glyphicon-chevron-up:before {
  620. content: "\e113";
  621. }
  622. .glyphicon-chevron-down:before {
  623. content: "\e114";
  624. }
  625. .glyphicon-retweet:before {
  626. content: "\e115";
  627. }
  628. .glyphicon-shopping-cart:before {
  629. content: "\e116";
  630. }
  631. .glyphicon-folder-close:before {
  632. content: "\e117";
  633. }
  634. .glyphicon-folder-open:before {
  635. content: "\e118";
  636. }
  637. .glyphicon-resize-vertical:before {
  638. content: "\e119";
  639. }
  640. .glyphicon-resize-horizontal:before {
  641. content: "\e120";
  642. }
  643. .glyphicon-hdd:before {
  644. content: "\e121";
  645. }
  646. .glyphicon-bullhorn:before {
  647. content: "\e122";
  648. }
  649. .glyphicon-bell:before {
  650. content: "\e123";
  651. }
  652. .glyphicon-certificate:before {
  653. content: "\e124";
  654. }
  655. .glyphicon-thumbs-up:before {
  656. content: "\e125";
  657. }
  658. .glyphicon-thumbs-down:before {
  659. content: "\e126";
  660. }
  661. .glyphicon-hand-right:before {
  662. content: "\e127";
  663. }
  664. .glyphicon-hand-left:before {
  665. content: "\e128";
  666. }
  667. .glyphicon-hand-up:before {
  668. content: "\e129";
  669. }
  670. .glyphicon-hand-down:before {
  671. content: "\e130";
  672. }
  673. .glyphicon-circle-arrow-right:before {
  674. content: "\e131";
  675. }
  676. .glyphicon-circle-arrow-left:before {
  677. content: "\e132";
  678. }
  679. .glyphicon-circle-arrow-up:before {
  680. content: "\e133";
  681. }
  682. .glyphicon-circle-arrow-down:before {
  683. content: "\e134";
  684. }
  685. .glyphicon-globe:before {
  686. content: "\e135";
  687. }
  688. .glyphicon-wrench:before {
  689. content: "\e136";
  690. }
  691. .glyphicon-tasks:before {
  692. content: "\e137";
  693. }
  694. .glyphicon-filter:before {
  695. content: "\e138";
  696. }
  697. .glyphicon-briefcase:before {
  698. content: "\e139";
  699. }
  700. .glyphicon-fullscreen:before {
  701. content: "\e140";
  702. }
  703. .glyphicon-dashboard:before {
  704. content: "\e141";
  705. }
  706. .glyphicon-paperclip:before {
  707. content: "\e142";
  708. }
  709. .glyphicon-heart-empty:before {
  710. content: "\e143";
  711. }
  712. .glyphicon-link:before {
  713. content: "\e144";
  714. }
  715. .glyphicon-phone:before {
  716. content: "\e145";
  717. }
  718. .glyphicon-pushpin:before {
  719. content: "\e146";
  720. }
  721. .glyphicon-usd:before {
  722. content: "\e148";
  723. }
  724. .glyphicon-gbp:before {
  725. content: "\e149";
  726. }
  727. .glyphicon-sort:before {
  728. content: "\e150";
  729. }
  730. .glyphicon-sort-by-alphabet:before {
  731. content: "\e151";
  732. }
  733. .glyphicon-sort-by-alphabet-alt:before {
  734. content: "\e152";
  735. }
  736. .glyphicon-sort-by-order:before {
  737. content: "\e153";
  738. }
  739. .glyphicon-sort-by-order-alt:before {
  740. content: "\e154";
  741. }
  742. .glyphicon-sort-by-attributes:before {
  743. content: "\e155";
  744. }
  745. .glyphicon-sort-by-attributes-alt:before {
  746. content: "\e156";
  747. }
  748. .glyphicon-unchecked:before {
  749. content: "\e157";
  750. }
  751. .glyphicon-expand:before {
  752. content: "\e158";
  753. }
  754. .glyphicon-collapse-down:before {
  755. content: "\e159";
  756. }
  757. .glyphicon-collapse-up:before {
  758. content: "\e160";
  759. }
  760. .glyphicon-log-in:before {
  761. content: "\e161";
  762. }
  763. .glyphicon-flash:before {
  764. content: "\e162";
  765. }
  766. .glyphicon-log-out:before {
  767. content: "\e163";
  768. }
  769. .glyphicon-new-window:before {
  770. content: "\e164";
  771. }
  772. .glyphicon-record:before {
  773. content: "\e165";
  774. }
  775. .glyphicon-save:before {
  776. content: "\e166";
  777. }
  778. .glyphicon-open:before {
  779. content: "\e167";
  780. }
  781. .glyphicon-saved:before {
  782. content: "\e168";
  783. }
  784. .glyphicon-import:before {
  785. content: "\e169";
  786. }
  787. .glyphicon-export:before {
  788. content: "\e170";
  789. }
  790. .glyphicon-send:before {
  791. content: "\e171";
  792. }
  793. .glyphicon-floppy-disk:before {
  794. content: "\e172";
  795. }
  796. .glyphicon-floppy-saved:before {
  797. content: "\e173";
  798. }
  799. .glyphicon-floppy-remove:before {
  800. content: "\e174";
  801. }
  802. .glyphicon-floppy-save:before {
  803. content: "\e175";
  804. }
  805. .glyphicon-floppy-open:before {
  806. content: "\e176";
  807. }
  808. .glyphicon-credit-card:before {
  809. content: "\e177";
  810. }
  811. .glyphicon-transfer:before {
  812. content: "\e178";
  813. }
  814. .glyphicon-cutlery:before {
  815. content: "\e179";
  816. }
  817. .glyphicon-header:before {
  818. content: "\e180";
  819. }
  820. .glyphicon-compressed:before {
  821. content: "\e181";
  822. }
  823. .glyphicon-earphone:before {
  824. content: "\e182";
  825. }
  826. .glyphicon-phone-alt:before {
  827. content: "\e183";
  828. }
  829. .glyphicon-tower:before {
  830. content: "\e184";
  831. }
  832. .glyphicon-stats:before {
  833. content: "\e185";
  834. }
  835. .glyphicon-sd-video:before {
  836. content: "\e186";
  837. }
  838. .glyphicon-hd-video:before {
  839. content: "\e187";
  840. }
  841. .glyphicon-subtitles:before {
  842. content: "\e188";
  843. }
  844. .glyphicon-sound-stereo:before {
  845. content: "\e189";
  846. }
  847. .glyphicon-sound-dolby:before {
  848. content: "\e190";
  849. }
  850. .glyphicon-sound-5-1:before {
  851. content: "\e191";
  852. }
  853. .glyphicon-sound-6-1:before {
  854. content: "\e192";
  855. }
  856. .glyphicon-sound-7-1:before {
  857. content: "\e193";
  858. }
  859. .glyphicon-copyright-mark:before {
  860. content: "\e194";
  861. }
  862. .glyphicon-registration-mark:before {
  863. content: "\e195";
  864. }
  865. .glyphicon-cloud-download:before {
  866. content: "\e197";
  867. }
  868. .glyphicon-cloud-upload:before {
  869. content: "\e198";
  870. }
  871. .glyphicon-tree-conifer:before {
  872. content: "\e199";
  873. }
  874. .glyphicon-tree-deciduous:before {
  875. content: "\e200";
  876. }
  877. * {
  878. -webkit-box-sizing: border-box;
  879. -moz-box-sizing: border-box;
  880. box-sizing: border-box;
  881. }
  882. *:before,
  883. *:after {
  884. -webkit-box-sizing: border-box;
  885. -moz-box-sizing: border-box;
  886. box-sizing: border-box;
  887. }
  888. html {
  889. font-size: 10px;
  890. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  891. }
  892. body {
  893. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  894. font-size: 14px;
  895. line-height: 1.42857143;
  896. color: #333;
  897. background-color: #fff;
  898. }
  899. input,
  900. button,
  901. select,
  902. textarea {
  903. font-family: inherit;
  904. font-size: inherit;
  905. line-height: inherit;
  906. }
  907. a {
  908. color: #428bca;
  909. text-decoration: none;
  910. }
  911. a:hover,
  912. a:focus {
  913. color: #2a6496;
  914. text-decoration: underline;
  915. }
  916. a:focus {
  917. outline: thin dotted;
  918. outline: 5px auto -webkit-focus-ring-color;
  919. outline-offset: -2px;
  920. }
  921. figure {
  922. margin: 0;
  923. }
  924. img {
  925. vertical-align: middle;
  926. }
  927. .img-responsive,
  928. .thumbnail > img,
  929. .thumbnail a > img,
  930. .carousel-inner > .item > img,
  931. .carousel-inner > .item > a > img {
  932. display: block;
  933. width: 100% \9;
  934. max-width: 100%;
  935. height: auto;
  936. }
  937. .img-rounded {
  938. border-radius: 6px;
  939. }
  940. .img-thumbnail {
  941. display: inline-block;
  942. width: 100% \9;
  943. max-width: 100%;
  944. height: auto;
  945. padding: 4px;
  946. line-height: 1.42857143;
  947. background-color: #fff;
  948. border: 1px solid #ddd;
  949. border-radius: 4px;
  950. -webkit-transition: all .2s ease-in-out;
  951. -o-transition: all .2s ease-in-out;
  952. transition: all .2s ease-in-out;
  953. }
  954. .img-circle {
  955. border-radius: 50%;
  956. }
  957. hr {
  958. margin-top: 20px;
  959. margin-bottom: 20px;
  960. border: 0;
  961. border-top: 1px solid #eee;
  962. }
  963. .sr-only {
  964. position: absolute;
  965. width: 1px;
  966. height: 1px;
  967. padding: 0;
  968. margin: -1px;
  969. overflow: hidden;
  970. clip: rect(0, 0, 0, 0);
  971. border: 0;
  972. }
  973. .sr-only-focusable:active,
  974. .sr-only-focusable:focus {
  975. position: static;
  976. width: auto;
  977. height: auto;
  978. margin: 0;
  979. overflow: visible;
  980. clip: auto;
  981. }
  982. h1,
  983. h2,
  984. h3,
  985. h4,
  986. h5,
  987. h6,
  988. .h1,
  989. .h2,
  990. .h3,
  991. .h4,
  992. .h5,
  993. .h6 {
  994. font-family: inherit;
  995. font-weight: 500;
  996. line-height: 1.1;
  997. color: inherit;
  998. }
  999. h1 small,
  1000. h2 small,
  1001. h3 small,
  1002. h4 small,
  1003. h5 small,
  1004. h6 small,
  1005. .h1 small,
  1006. .h2 small,
  1007. .h3 small,
  1008. .h4 small,
  1009. .h5 small,
  1010. .h6 small,
  1011. h1 .small,
  1012. h2 .small,
  1013. h3 .small,
  1014. h4 .small,
  1015. h5 .small,
  1016. h6 .small,
  1017. .h1 .small,
  1018. .h2 .small,
  1019. .h3 .small,
  1020. .h4 .small,
  1021. .h5 .small,
  1022. .h6 .small {
  1023. font-weight: normal;
  1024. line-height: 1;
  1025. color: #777;
  1026. }
  1027. h1,
  1028. .h1,
  1029. h2,
  1030. .h2,
  1031. h3,
  1032. .h3 {
  1033. margin-top: 20px;
  1034. margin-bottom: 10px;
  1035. }
  1036. h1 small,
  1037. .h1 small,
  1038. h2 small,
  1039. .h2 small,
  1040. h3 small,
  1041. .h3 small,
  1042. h1 .small,
  1043. .h1 .small,
  1044. h2 .small,
  1045. .h2 .small,
  1046. h3 .small,
  1047. .h3 .small {
  1048. font-size: 65%;
  1049. }
  1050. h4,
  1051. .h4,
  1052. h5,
  1053. .h5,
  1054. h6,
  1055. .h6 {
  1056. margin-top: 10px;
  1057. margin-bottom: 10px;
  1058. }
  1059. h4 small,
  1060. .h4 small,
  1061. h5 small,
  1062. .h5 small,
  1063. h6 small,
  1064. .h6 small,
  1065. h4 .small,
  1066. .h4 .small,
  1067. h5 .small,
  1068. .h5 .small,
  1069. h6 .small,
  1070. .h6 .small {
  1071. font-size: 75%;
  1072. }
  1073. h1,
  1074. .h1 {
  1075. font-size: 36px;
  1076. }
  1077. h2,
  1078. .h2 {
  1079. font-size: 30px;
  1080. }
  1081. h3,
  1082. .h3 {
  1083. font-size: 24px;
  1084. }
  1085. h4,
  1086. .h4 {
  1087. font-size: 18px;
  1088. }
  1089. h5,
  1090. .h5 {
  1091. font-size: 14px;
  1092. }
  1093. h6,
  1094. .h6 {
  1095. font-size: 12px;
  1096. }
  1097. p {
  1098. margin: 0 0 10px;
  1099. }
  1100. .lead {
  1101. margin-bottom: 20px;
  1102. font-size: 16px;
  1103. font-weight: 300;
  1104. line-height: 1.4;
  1105. }
  1106. @media (min-width: 768px) {
  1107. .lead {
  1108. font-size: 21px;
  1109. }
  1110. }
  1111. small,
  1112. .small {
  1113. font-size: 85%;
  1114. }
  1115. cite {
  1116. font-style: normal;
  1117. }
  1118. mark,
  1119. .mark {
  1120. padding: .2em;
  1121. background-color: #fcf8e3;
  1122. }
  1123. .text-left {
  1124. text-align: left;
  1125. }
  1126. .text-right {
  1127. text-align: right;
  1128. }
  1129. .text-center {
  1130. text-align: center;
  1131. }
  1132. .text-justify {
  1133. text-align: justify;
  1134. }
  1135. .text-nowrap {
  1136. white-space: nowrap;
  1137. }
  1138. .text-lowercase {
  1139. text-transform: lowercase;
  1140. }
  1141. .text-uppercase {
  1142. text-transform: uppercase;
  1143. }
  1144. .text-capitalize {
  1145. text-transform: capitalize;
  1146. }
  1147. .text-muted {
  1148. color: #777;
  1149. }
  1150. .text-primary {
  1151. color: #428bca;
  1152. }
  1153. a.text-primary:hover {
  1154. color: #3071a9;
  1155. }
  1156. .text-success {
  1157. color: #3c763d;
  1158. }
  1159. a.text-success:hover {
  1160. color: #2b542c;
  1161. }
  1162. .text-info {
  1163. color: #31708f;
  1164. }
  1165. a.text-info:hover {
  1166. color: #245269;
  1167. }
  1168. .text-warning {
  1169. color: #8a6d3b;
  1170. }
  1171. a.text-warning:hover {
  1172. color: #66512c;
  1173. }
  1174. .text-danger {
  1175. color: #a94442;
  1176. }
  1177. a.text-danger:hover {
  1178. color: #843534;
  1179. }
  1180. .bg-primary {
  1181. color: #fff;
  1182. background-color: #428bca;
  1183. }
  1184. a.bg-primary:hover {
  1185. background-color: #3071a9;
  1186. }
  1187. .bg-success {
  1188. background-color: #dff0d8;
  1189. }
  1190. a.bg-success:hover {
  1191. background-color: #c1e2b3;
  1192. }
  1193. .bg-info {
  1194. background-color: #d9edf7;
  1195. }
  1196. a.bg-info:hover {
  1197. background-color: #afd9ee;
  1198. }
  1199. .bg-warning {
  1200. background-color: #fcf8e3;
  1201. }
  1202. a.bg-warning:hover {
  1203. background-color: #f7ecb5;
  1204. }
  1205. .bg-danger {
  1206. background-color: #f2dede;
  1207. }
  1208. a.bg-danger:hover {
  1209. background-color: #e4b9b9;
  1210. }
  1211. .page-header {
  1212. padding-bottom: 9px;
  1213. margin: 40px 0 20px;
  1214. border-bottom: 1px solid #eee;
  1215. }
  1216. ul,
  1217. ol {
  1218. margin-top: 0;
  1219. margin-bottom: 10px;
  1220. }
  1221. ul ul,
  1222. ol ul,
  1223. ul ol,
  1224. ol ol {
  1225. margin-bottom: 0;
  1226. }
  1227. .list-unstyled {
  1228. padding-left: 0;
  1229. list-style: none;
  1230. }
  1231. .list-inline {
  1232. padding-left: 0;
  1233. margin-left: -5px;
  1234. list-style: none;
  1235. }
  1236. .list-inline > li {
  1237. display: inline-block;
  1238. padding-right: 5px;
  1239. padding-left: 5px;
  1240. }
  1241. dl {
  1242. margin-top: 0;
  1243. margin-bottom: 20px;
  1244. }
  1245. dt,
  1246. dd {
  1247. line-height: 1.42857143;
  1248. }
  1249. dt {
  1250. font-weight: bold;
  1251. }
  1252. dd {
  1253. margin-left: 0;
  1254. }
  1255. @media (min-width: 768px) {
  1256. .dl-horizontal dt {
  1257. float: left;
  1258. width: 160px;
  1259. overflow: hidden;
  1260. clear: left;
  1261. text-align: right;
  1262. text-overflow: ellipsis;
  1263. white-space: nowrap;
  1264. }
  1265. .dl-horizontal dd {
  1266. margin-left: 180px;
  1267. }
  1268. }
  1269. abbr[title],
  1270. abbr[data-original-title] {
  1271. cursor: help;
  1272. border-bottom: 1px dotted #777;
  1273. }
  1274. .initialism {
  1275. font-size: 90%;
  1276. text-transform: uppercase;
  1277. }
  1278. blockquote {
  1279. padding: 10px 20px;
  1280. margin: 0 0 20px;
  1281. font-size: 17.5px;
  1282. border-left: 5px solid #eee;
  1283. }
  1284. blockquote p:last-child,
  1285. blockquote ul:last-child,
  1286. blockquote ol:last-child {
  1287. margin-bottom: 0;
  1288. }
  1289. blockquote footer,
  1290. blockquote small,
  1291. blockquote .small {
  1292. display: block;
  1293. font-size: 80%;
  1294. line-height: 1.42857143;
  1295. color: #777;
  1296. }
  1297. blockquote footer:before,
  1298. blockquote small:before,
  1299. blockquote .small:before {
  1300. content: '\2014 \00A0';
  1301. }
  1302. .blockquote-reverse,
  1303. blockquote.pull-right {
  1304. padding-right: 15px;
  1305. padding-left: 0;
  1306. text-align: right;
  1307. border-right: 5px solid #eee;
  1308. border-left: 0;
  1309. }
  1310. .blockquote-reverse footer:before,
  1311. blockquote.pull-right footer:before,
  1312. .blockquote-reverse small:before,
  1313. blockquote.pull-right small:before,
  1314. .blockquote-reverse .small:before,
  1315. blockquote.pull-right .small:before {
  1316. content: '';
  1317. }
  1318. .blockquote-reverse footer:after,
  1319. blockquote.pull-right footer:after,
  1320. .blockquote-reverse small:after,
  1321. blockquote.pull-right small:after,
  1322. .blockquote-reverse .small:after,
  1323. blockquote.pull-right .small:after {
  1324. content: '\00A0 \2014';
  1325. }
  1326. blockquote:before,
  1327. blockquote:after {
  1328. content: "";
  1329. }
  1330. address {
  1331. margin-bottom: 20px;
  1332. font-style: normal;
  1333. line-height: 1.42857143;
  1334. }
  1335. code,
  1336. kbd,
  1337. pre,
  1338. samp {
  1339. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  1340. }
  1341. code {
  1342. padding: 2px 4px;
  1343. font-size: 90%;
  1344. color: #c7254e;
  1345. background-color: #f9f2f4;
  1346. border-radius: 4px;
  1347. }
  1348. kbd {
  1349. padding: 2px 4px;
  1350. font-size: 90%;
  1351. color: #fff;
  1352. background-color: #333;
  1353. border-radius: 3px;
  1354. -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
  1355. box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
  1356. }
  1357. kbd kbd {
  1358. padding: 0;
  1359. font-size: 100%;
  1360. -webkit-box-shadow: none;
  1361. box-shadow: none;
  1362. }
  1363. pre {
  1364. display: block;
  1365. padding: 9.5px;
  1366. margin: 0 0 10px;
  1367. font-size: 13px;
  1368. line-height: 1.42857143;
  1369. color: #333;
  1370. word-break: break-all;
  1371. word-wrap: break-word;
  1372. background-color: #f5f5f5;
  1373. border: 1px solid #ccc;
  1374. border-radius: 4px;
  1375. }
  1376. pre code {
  1377. padding: 0;
  1378. font-size: inherit;
  1379. color: inherit;
  1380. white-space: pre-wrap;
  1381. background-color: transparent;
  1382. border-radius: 0;
  1383. }
  1384. .pre-scrollable {
  1385. max-height: 340px;
  1386. overflow-y: scroll;
  1387. }
  1388. .container {
  1389. padding-right: 15px;
  1390. padding-left: 15px;
  1391. margin-right: auto;
  1392. margin-left: auto;
  1393. }
  1394. @media (min-width: 768px) {
  1395. .container {
  1396. width: 750px;
  1397. }
  1398. }
  1399. @media (min-width: 992px) {
  1400. .container {
  1401. width: 970px;
  1402. }
  1403. }
  1404. @media (min-width: 1200px) {
  1405. .container {
  1406. width: 1170px;
  1407. }
  1408. }
  1409. .container-fluid {
  1410. padding-right: 15px;
  1411. padding-left: 15px;
  1412. margin-right: auto;
  1413. margin-left: auto;
  1414. }
  1415. .row {
  1416. margin-right: -15px;
  1417. margin-left: -15px;
  1418. }
  1419. .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  1420. position: relative;
  1421. min-height: 1px;
  1422. padding-right: 15px;
  1423. padding-left: 15px;
  1424. }
  1425. .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
  1426. float: left;
  1427. }
  1428. .col-xs-12 {
  1429. width: 100%;
  1430. }
  1431. .col-xs-11 {
  1432. width: 91.66666667%;
  1433. }
  1434. .col-xs-10 {
  1435. width: 83.33333333%;
  1436. }
  1437. .col-xs-9 {
  1438. width: 75%;
  1439. }
  1440. .col-xs-8 {
  1441. width: 66.66666667%;
  1442. }
  1443. .col-xs-7 {
  1444. width: 58.33333333%;
  1445. }
  1446. .col-xs-6 {
  1447. width: 50%;
  1448. }
  1449. .col-xs-5 {
  1450. width: 41.66666667%;
  1451. }
  1452. .col-xs-4 {
  1453. width: 33.33333333%;
  1454. }
  1455. .col-xs-3 {
  1456. width: 25%;
  1457. }
  1458. .col-xs-2 {
  1459. width: 16.66666667%;
  1460. }
  1461. .col-xs-1 {
  1462. width: 8.33333333%;
  1463. }
  1464. .col-xs-pull-12 {
  1465. right: 100%;
  1466. }
  1467. .col-xs-pull-11 {
  1468. right: 91.66666667%;
  1469. }
  1470. .col-xs-pull-10 {
  1471. right: 83.33333333%;
  1472. }
  1473. .col-xs-pull-9 {
  1474. right: 75%;
  1475. }
  1476. .col-xs-pull-8 {
  1477. right: 66.66666667%;
  1478. }
  1479. .col-xs-pull-7 {
  1480. right: 58.33333333%;
  1481. }
  1482. .col-xs-pull-6 {
  1483. right: 50%;
  1484. }
  1485. .col-xs-pull-5 {
  1486. right: 41.66666667%;
  1487. }
  1488. .col-xs-pull-4 {
  1489. right: 33.33333333%;
  1490. }
  1491. .col-xs-pull-3 {
  1492. right: 25%;
  1493. }
  1494. .col-xs-pull-2 {
  1495. right: 16.66666667%;
  1496. }
  1497. .col-xs-pull-1 {
  1498. right: 8.33333333%;
  1499. }
  1500. .col-xs-pull-0 {
  1501. right: auto;
  1502. }
  1503. .col-xs-push-12 {
  1504. left: 100%;
  1505. }
  1506. .col-xs-push-11 {
  1507. left: 91.66666667%;
  1508. }
  1509. .col-xs-push-10 {
  1510. left: 83.33333333%;
  1511. }
  1512. .col-xs-push-9 {
  1513. left: 75%;
  1514. }
  1515. .col-xs-push-8 {
  1516. left: 66.66666667%;
  1517. }
  1518. .col-xs-push-7 {
  1519. left: 58.33333333%;
  1520. }
  1521. .col-xs-push-6 {
  1522. left: 50%;
  1523. }
  1524. .col-xs-push-5 {
  1525. left: 41.66666667%;
  1526. }
  1527. .col-xs-push-4 {
  1528. left: 33.33333333%;
  1529. }
  1530. .col-xs-push-3 {
  1531. left: 25%;
  1532. }
  1533. .col-xs-push-2 {
  1534. left: 16.66666667%;
  1535. }
  1536. .col-xs-push-1 {
  1537. left: 8.33333333%;
  1538. }
  1539. .col-xs-push-0 {
  1540. left: auto;
  1541. }
  1542. .col-xs-offset-12 {
  1543. margin-left: 100%;
  1544. }
  1545. .col-xs-offset-11 {
  1546. margin-left: 91.66666667%;
  1547. }
  1548. .col-xs-offset-10 {
  1549. margin-left: 83.33333333%;
  1550. }
  1551. .col-xs-offset-9 {
  1552. margin-left: 75%;
  1553. }
  1554. .col-xs-offset-8 {
  1555. margin-left: 66.66666667%;
  1556. }
  1557. .col-xs-offset-7 {
  1558. margin-left: 58.33333333%;
  1559. }
  1560. .col-xs-offset-6 {
  1561. margin-left: 50%;
  1562. }
  1563. .col-xs-offset-5 {
  1564. margin-left: 41.66666667%;
  1565. }
  1566. .col-xs-offset-4 {
  1567. margin-left: 33.33333333%;
  1568. }
  1569. .col-xs-offset-3 {
  1570. margin-left: 25%;
  1571. }
  1572. .col-xs-offset-2 {
  1573. margin-left: 16.66666667%;
  1574. }
  1575. .col-xs-offset-1 {
  1576. margin-left: 8.33333333%;
  1577. }
  1578. .col-xs-offset-0 {
  1579. margin-left: 0;
  1580. }
  1581. @media (min-width: 768px) {
  1582. .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
  1583. float: left;
  1584. }
  1585. .col-sm-12 {
  1586. width: 100%;
  1587. }
  1588. .col-sm-11 {
  1589. width: 91.66666667%;
  1590. }
  1591. .col-sm-10 {
  1592. width: 83.33333333%;
  1593. }
  1594. .col-sm-9 {
  1595. width: 75%;
  1596. }
  1597. .col-sm-8 {
  1598. width: 66.66666667%;
  1599. }
  1600. .col-sm-7 {
  1601. width: 58.33333333%;
  1602. }
  1603. .col-sm-6 {
  1604. width: 50%;
  1605. }
  1606. .col-sm-5 {
  1607. width: 41.66666667%;
  1608. }
  1609. .col-sm-4 {
  1610. width: 33.33333333%;
  1611. }
  1612. .col-sm-3 {
  1613. width: 25%;
  1614. }
  1615. .col-sm-2 {
  1616. width: 16.66666667%;
  1617. }
  1618. .col-sm-1 {
  1619. width: 8.33333333%;
  1620. }
  1621. .col-sm-pull-12 {
  1622. right: 100%;
  1623. }
  1624. .col-sm-pull-11 {
  1625. right: 91.66666667%;
  1626. }
  1627. .col-sm-pull-10 {
  1628. right: 83.33333333%;
  1629. }
  1630. .col-sm-pull-9 {
  1631. right: 75%;
  1632. }
  1633. .col-sm-pull-8 {
  1634. right: 66.66666667%;
  1635. }
  1636. .col-sm-pull-7 {
  1637. right: 58.33333333%;
  1638. }
  1639. .col-sm-pull-6 {
  1640. right: 50%;
  1641. }
  1642. .col-sm-pull-5 {
  1643. right: 41.66666667%;
  1644. }
  1645. .col-sm-pull-4 {
  1646. right: 33.33333333%;
  1647. }
  1648. .col-sm-pull-3 {
  1649. right: 25%;
  1650. }
  1651. .col-sm-pull-2 {
  1652. right: 16.66666667%;
  1653. }
  1654. .col-sm-pull-1 {
  1655. right: 8.33333333%;
  1656. }
  1657. .col-sm-pull-0 {
  1658. right: auto;
  1659. }
  1660. .col-sm-push-12 {
  1661. left: 100%;
  1662. }
  1663. .col-sm-push-11 {
  1664. left: 91.66666667%;
  1665. }
  1666. .col-sm-push-10 {
  1667. left: 83.33333333%;
  1668. }
  1669. .col-sm-push-9 {
  1670. left: 75%;
  1671. }
  1672. .col-sm-push-8 {
  1673. left: 66.66666667%;
  1674. }
  1675. .col-sm-push-7 {
  1676. left: 58.33333333%;
  1677. }
  1678. .col-sm-push-6 {
  1679. left: 50%;
  1680. }
  1681. .col-sm-push-5 {
  1682. left: 41.66666667%;
  1683. }
  1684. .col-sm-push-4 {
  1685. left: 33.33333333%;
  1686. }
  1687. .col-sm-push-3 {
  1688. left: 25%;
  1689. }
  1690. .col-sm-push-2 {
  1691. left: 16.66666667%;
  1692. }
  1693. .col-sm-push-1 {
  1694. left: 8.33333333%;
  1695. }
  1696. .col-sm-push-0 {
  1697. left: auto;
  1698. }
  1699. .col-sm-offset-12 {
  1700. margin-left: 100%;
  1701. }
  1702. .col-sm-offset-11 {
  1703. margin-left: 91.66666667%;
  1704. }
  1705. .col-sm-offset-10 {
  1706. margin-left: 83.33333333%;
  1707. }
  1708. .col-sm-offset-9 {
  1709. margin-left: 75%;
  1710. }
  1711. .col-sm-offset-8 {
  1712. margin-left: 66.66666667%;
  1713. }
  1714. .col-sm-offset-7 {
  1715. margin-left: 58.33333333%;
  1716. }
  1717. .col-sm-offset-6 {
  1718. margin-left: 50%;
  1719. }
  1720. .col-sm-offset-5 {
  1721. margin-left: 41.66666667%;
  1722. }
  1723. .col-sm-offset-4 {
  1724. margin-left: 33.33333333%;
  1725. }
  1726. .col-sm-offset-3 {
  1727. margin-left: 25%;
  1728. }
  1729. .col-sm-offset-2 {
  1730. margin-left: 16.66666667%;
  1731. }
  1732. .col-sm-offset-1 {
  1733. margin-left: 8.33333333%;
  1734. }
  1735. .col-sm-offset-0 {
  1736. margin-left: 0;
  1737. }
  1738. }
  1739. @media (min-width: 992px) {
  1740. .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
  1741. float: left;
  1742. }
  1743. .col-md-12 {
  1744. width: 100%;
  1745. }
  1746. .col-md-11 {
  1747. width: 91.66666667%;
  1748. }
  1749. .col-md-10 {
  1750. width: 83.33333333%;
  1751. }
  1752. .col-md-9 {
  1753. width: 75%;
  1754. }
  1755. .col-md-8 {
  1756. width: 66.66666667%;
  1757. }
  1758. .col-md-7 {
  1759. width: 58.33333333%;
  1760. }
  1761. .col-md-6 {
  1762. width: 50%;
  1763. }
  1764. .col-md-5 {
  1765. width: 41.66666667%;
  1766. }
  1767. .col-md-4 {
  1768. width: 33.33333333%;
  1769. }
  1770. .col-md-3 {
  1771. width: 25%;
  1772. }
  1773. .col-md-2 {
  1774. width: 16.66666667%;
  1775. }
  1776. .col-md-1 {
  1777. width: 8.33333333%;
  1778. }
  1779. .col-md-pull-12 {
  1780. right: 100%;
  1781. }
  1782. .col-md-pull-11 {
  1783. right: 91.66666667%;
  1784. }
  1785. .col-md-pull-10 {
  1786. right: 83.33333333%;
  1787. }
  1788. .col-md-pull-9 {
  1789. right: 75%;
  1790. }
  1791. .col-md-pull-8 {
  1792. right: 66.66666667%;
  1793. }
  1794. .col-md-pull-7 {
  1795. right: 58.33333333%;
  1796. }
  1797. .col-md-pull-6 {
  1798. right: 50%;
  1799. }
  1800. .col-md-pull-5 {
  1801. right: 41.66666667%;
  1802. }
  1803. .col-md-pull-4 {
  1804. right: 33.33333333%;
  1805. }
  1806. .col-md-pull-3 {
  1807. right: 25%;
  1808. }
  1809. .col-md-pull-2 {
  1810. right: 16.66666667%;
  1811. }
  1812. .col-md-pull-1 {
  1813. right: 8.33333333%;
  1814. }
  1815. .col-md-pull-0 {
  1816. right: auto;
  1817. }
  1818. .col-md-push-12 {
  1819. left: 100%;
  1820. }
  1821. .col-md-push-11 {
  1822. left: 91.66666667%;
  1823. }
  1824. .col-md-push-10 {
  1825. left: 83.33333333%;
  1826. }
  1827. .col-md-push-9 {
  1828. left: 75%;
  1829. }
  1830. .col-md-push-8 {
  1831. left: 66.66666667%;
  1832. }
  1833. .col-md-push-7 {
  1834. left: 58.33333333%;
  1835. }
  1836. .col-md-push-6 {
  1837. left: 50%;
  1838. }
  1839. .col-md-push-5 {
  1840. left: 41.66666667%;
  1841. }
  1842. .col-md-push-4 {
  1843. left: 33.33333333%;
  1844. }
  1845. .col-md-push-3 {
  1846. left: 25%;
  1847. }
  1848. .col-md-push-2 {
  1849. left: 16.66666667%;
  1850. }
  1851. .col-md-push-1 {
  1852. left: 8.33333333%;
  1853. }
  1854. .col-md-push-0 {
  1855. left: auto;
  1856. }
  1857. .col-md-offset-12 {
  1858. margin-left: 100%;
  1859. }
  1860. .col-md-offset-11 {
  1861. margin-left: 91.66666667%;
  1862. }
  1863. .col-md-offset-10 {
  1864. margin-left: 83.33333333%;
  1865. }
  1866. .col-md-offset-9 {
  1867. margin-left: 75%;
  1868. }
  1869. .col-md-offset-8 {
  1870. margin-left: 66.66666667%;
  1871. }
  1872. .col-md-offset-7 {
  1873. margin-left: 58.33333333%;
  1874. }
  1875. .col-md-offset-6 {
  1876. margin-left: 50%;
  1877. }
  1878. .col-md-offset-5 {
  1879. margin-left: 41.66666667%;
  1880. }
  1881. .col-md-offset-4 {
  1882. margin-left: 33.33333333%;
  1883. }
  1884. .col-md-offset-3 {
  1885. margin-left: 25%;
  1886. }
  1887. .col-md-offset-2 {
  1888. margin-left: 16.66666667%;
  1889. }
  1890. .col-md-offset-1 {
  1891. margin-left: 8.33333333%;
  1892. }
  1893. .col-md-offset-0 {
  1894. margin-left: 0;
  1895. }
  1896. }
  1897. @media (min-width: 1200px) {
  1898. .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
  1899. float: left;
  1900. }
  1901. .col-lg-12 {
  1902. width: 100%;
  1903. }
  1904. .col-lg-11 {
  1905. width: 91.66666667%;
  1906. }
  1907. .col-lg-10 {
  1908. width: 83.33333333%;
  1909. }
  1910. .col-lg-9 {
  1911. width: 75%;
  1912. }
  1913. .col-lg-8 {
  1914. width: 66.66666667%;
  1915. }
  1916. .col-lg-7 {
  1917. width: 58.33333333%;
  1918. }
  1919. .col-lg-6 {
  1920. width: 50%;
  1921. }
  1922. .col-lg-5 {
  1923. width: 41.66666667%;
  1924. }
  1925. .col-lg-4 {
  1926. width: 33.33333333%;
  1927. }
  1928. .col-lg-3 {
  1929. width: 25%;
  1930. }
  1931. .col-lg-2 {
  1932. width: 16.66666667%;
  1933. }
  1934. .col-lg-1 {
  1935. width: 8.33333333%;
  1936. }
  1937. .col-lg-pull-12 {
  1938. right: 100%;
  1939. }
  1940. .col-lg-pull-11 {
  1941. right: 91.66666667%;
  1942. }
  1943. .col-lg-pull-10 {
  1944. right: 83.33333333%;
  1945. }
  1946. .col-lg-pull-9 {
  1947. right: 75%;
  1948. }
  1949. .col-lg-pull-8 {
  1950. right: 66.66666667%;
  1951. }
  1952. .col-lg-pull-7 {
  1953. right: 58.33333333%;
  1954. }
  1955. .col-lg-pull-6 {
  1956. right: 50%;
  1957. }
  1958. .col-lg-pull-5 {
  1959. right: 41.66666667%;
  1960. }
  1961. .col-lg-pull-4 {
  1962. right: 33.33333333%;
  1963. }
  1964. .col-lg-pull-3 {
  1965. right: 25%;
  1966. }
  1967. .col-lg-pull-2 {
  1968. right: 16.66666667%;
  1969. }
  1970. .col-lg-pull-1 {
  1971. right: 8.33333333%;
  1972. }
  1973. .col-lg-pull-0 {
  1974. right: auto;
  1975. }
  1976. .col-lg-push-12 {
  1977. left: 100%;
  1978. }
  1979. .col-lg-push-11 {
  1980. left: 91.66666667%;
  1981. }
  1982. .col-lg-push-10 {
  1983. left: 83.33333333%;
  1984. }
  1985. .col-lg-push-9 {
  1986. left: 75%;
  1987. }
  1988. .col-lg-push-8 {
  1989. left: 66.66666667%;
  1990. }
  1991. .col-lg-push-7 {
  1992. left: 58.33333333%;
  1993. }
  1994. .col-lg-push-6 {
  1995. left: 50%;
  1996. }
  1997. .col-lg-push-5 {
  1998. left: 41.66666667%;
  1999. }
  2000. .col-lg-push-4 {
  2001. left: 33.33333333%;
  2002. }
  2003. .col-lg-push-3 {
  2004. left: 25%;
  2005. }
  2006. .col-lg-push-2 {
  2007. left: 16.66666667%;
  2008. }
  2009. .col-lg-push-1 {
  2010. left: 8.33333333%;
  2011. }
  2012. .col-lg-push-0 {
  2013. left: auto;
  2014. }
  2015. .col-lg-offset-12 {
  2016. margin-left: 100%;
  2017. }
  2018. .col-lg-offset-11 {
  2019. margin-left: 91.66666667%;
  2020. }
  2021. .col-lg-offset-10 {
  2022. margin-left: 83.33333333%;
  2023. }
  2024. .col-lg-offset-9 {
  2025. margin-left: 75%;
  2026. }
  2027. .col-lg-offset-8 {
  2028. margin-left: 66.66666667%;
  2029. }
  2030. .col-lg-offset-7 {
  2031. margin-left: 58.33333333%;
  2032. }
  2033. .col-lg-offset-6 {
  2034. margin-left: 50%;
  2035. }
  2036. .col-lg-offset-5 {
  2037. margin-left: 41.66666667%;
  2038. }
  2039. .col-lg-offset-4 {
  2040. margin-left: 33.33333333%;
  2041. }
  2042. .col-lg-offset-3 {
  2043. margin-left: 25%;
  2044. }
  2045. .col-lg-offset-2 {
  2046. margin-left: 16.66666667%;
  2047. }
  2048. .col-lg-offset-1 {
  2049. margin-left: 8.33333333%;
  2050. }
  2051. .col-lg-offset-0 {
  2052. margin-left: 0;
  2053. }
  2054. }
  2055. table {
  2056. background-color: transparent;
  2057. }
  2058. th {
  2059. text-align: left;
  2060. }
  2061. .table {
  2062. width: 100%;
  2063. max-width: 100%;
  2064. margin-bottom: 20px;
  2065. }
  2066. .table > thead > tr > th,
  2067. .table > tbody > tr > th,
  2068. .table > tfoot > tr > th,
  2069. .table > thead > tr > td,
  2070. .table > tbody > tr > td,
  2071. .table > tfoot > tr > td {
  2072. padding: 8px;
  2073. line-height: 1.42857143;
  2074. vertical-align: top;
  2075. border-top: 1px solid #ddd;
  2076. }
  2077. .table > thead > tr > th {
  2078. vertical-align: bottom;
  2079. border-bottom: 2px solid #ddd;
  2080. }
  2081. .table > caption + thead > tr:first-child > th,
  2082. .table > colgroup + thead > tr:first-child > th,
  2083. .table > thead:first-child > tr:first-child > th,
  2084. .table > caption + thead > tr:first-child > td,
  2085. .table > colgroup + thead > tr:first-child > td,
  2086. .table > thead:first-child > tr:first-child > td {
  2087. border-top: 0;
  2088. }
  2089. .table > tbody + tbody {
  2090. border-top: 2px solid #ddd;
  2091. }
  2092. .table .table {
  2093. background-color: #fff;
  2094. }
  2095. .table-condensed > thead > tr > th,
  2096. .table-condensed > tbody > tr > th,
  2097. .table-condensed > tfoot > tr > th,
  2098. .table-condensed > thead > tr > td,
  2099. .table-condensed > tbody > tr > td,
  2100. .table-condensed > tfoot > tr > td {
  2101. padding: 5px;
  2102. }
  2103. .table-bordered {
  2104. border: 1px solid #ddd;
  2105. }
  2106. .table-bordered > thead > tr > th,
  2107. .table-bordered > tbody > tr > th,
  2108. .table-bordered > tfoot > tr > th,
  2109. .table-bordered > thead > tr > td,
  2110. .table-bordered > tbody > tr > td,
  2111. .table-bordered > tfoot > tr > td {
  2112. border: 1px solid #ddd;
  2113. }
  2114. .table-bordered > thead > tr > th,
  2115. .table-bordered > thead > tr > td {
  2116. border-bottom-width: 2px;
  2117. }
  2118. .table-striped > tbody > tr:nth-child(odd) > td,
  2119. .table-striped > tbody > tr:nth-child(odd) > th {
  2120. background-color: #f9f9f9;
  2121. }
  2122. .table-hover > tbody > tr:hover > td,
  2123. .table-hover > tbody > tr:hover > th {
  2124. background-color: #f5f5f5;
  2125. }
  2126. table col[class*="col-"] {
  2127. position: static;
  2128. display: table-column;
  2129. float: none;
  2130. }
  2131. table td[class*="col-"],
  2132. table th[class*="col-"] {
  2133. position: static;
  2134. display: table-cell;
  2135. float: none;
  2136. }
  2137. .table > thead > tr > td.active,
  2138. .table > tbody > tr > td.active,
  2139. .table > tfoot > tr > td.active,
  2140. .table > thead > tr > th.active,
  2141. .table > tbody > tr > th.active,
  2142. .table > tfoot > tr > th.active,
  2143. .table > thead > tr.active > td,
  2144. .table > tbody > tr.active > td,
  2145. .table > tfoot > tr.active > td,
  2146. .table > thead > tr.active > th,
  2147. .table > tbody > tr.active > th,
  2148. .table > tfoot > tr.active > th {
  2149. background-color: #f5f5f5;
  2150. }
  2151. .table-hover > tbody > tr > td.active:hover,
  2152. .table-hover > tbody > tr > th.active:hover,
  2153. .table-hover > tbody > tr.active:hover > td,
  2154. .table-hover > tbody > tr:hover > .active,
  2155. .table-hover > tbody > tr.active:hover > th {
  2156. background-color: #e8e8e8;
  2157. }
  2158. .table > thead > tr > td.success,
  2159. .table > tbody > tr > td.success,
  2160. .table > tfoot > tr > td.success,
  2161. .table > thead > tr > th.success,
  2162. .table > tbody > tr > th.success,
  2163. .table > tfoot > tr > th.success,
  2164. .table > thead > tr.success > td,
  2165. .table > tbody > tr.success > td,
  2166. .table > tfoot > tr.success > td,
  2167. .table > thead > tr.success > th,
  2168. .table > tbody > tr.success > th,
  2169. .table > tfoot > tr.success > th {
  2170. background-color: #dff0d8;
  2171. }
  2172. .table-hover > tbody > tr > td.success:hover,
  2173. .table-hover > tbody > tr > th.success:hover,
  2174. .table-hover > tbody > tr.success:hover > td,
  2175. .table-hover > tbody > tr:hover > .success,
  2176. .table-hover > tbody > tr.success:hover > th {
  2177. background-color: #d0e9c6;
  2178. }
  2179. .table > thead > tr > td.info,
  2180. .table > tbody > tr > td.info,
  2181. .table > tfoot > tr > td.info,
  2182. .table > thead > tr > th.info,
  2183. .table > tbody > tr > th.info,
  2184. .table > tfoot > tr > th.info,
  2185. .table > thead > tr.info > td,
  2186. .table > tbody > tr.info > td,
  2187. .table > tfoot > tr.info > td,
  2188. .table > thead > tr.info > th,
  2189. .table > tbody > tr.info > th,
  2190. .table > tfoot > tr.info > th {
  2191. background-color: #d9edf7;
  2192. }
  2193. .table-hover > tbody > tr > td.info:hover,
  2194. .table-hover > tbody > tr > th.info:hover,
  2195. .table-hover > tbody > tr.info:hover > td,
  2196. .table-hover > tbody > tr:hover > .info,
  2197. .table-hover > tbody > tr.info:hover > th {
  2198. background-color: #c4e3f3;
  2199. }
  2200. .table > thead > tr > td.warning,
  2201. .table > tbody > tr > td.warning,
  2202. .table > tfoot > tr > td.warning,
  2203. .table > thead > tr > th.warning,
  2204. .table > tbody > tr > th.warning,
  2205. .table > tfoot > tr > th.warning,
  2206. .table > thead > tr.warning > td,
  2207. .table > tbody > tr.warning > td,
  2208. .table > tfoot > tr.warning > td,
  2209. .table > thead > tr.warning > th,
  2210. .table > tbody > tr.warning > th,
  2211. .table > tfoot > tr.warning > th {
  2212. background-color: #fcf8e3;
  2213. }
  2214. .table-hover > tbody > tr > td.warning:hover,
  2215. .table-hover > tbody > tr > th.warning:hover,
  2216. .table-hover > tbody > tr.warning:hover > td,
  2217. .table-hover > tbody > tr:hover > .warning,
  2218. .table-hover > tbody > tr.warning:hover > th {
  2219. background-color: #faf2cc;
  2220. }
  2221. .table > thead > tr > td.danger,
  2222. .table > tbody > tr > td.danger,
  2223. .table > tfoot > tr > td.danger,
  2224. .table > thead > tr > th.danger,
  2225. .table > tbody > tr > th.danger,
  2226. .table > tfoot > tr > th.danger,
  2227. .table > thead > tr.danger > td,
  2228. .table > tbody > tr.danger > td,
  2229. .table > tfoot > tr.danger > td,
  2230. .table > thead > tr.danger > th,
  2231. .table > tbody > tr.danger > th,
  2232. .table > tfoot > tr.danger > th {
  2233. background-color: #f2dede;
  2234. }
  2235. .table-hover > tbody > tr > td.danger:hover,
  2236. .table-hover > tbody > tr > th.danger:hover,
  2237. .table-hover > tbody > tr.danger:hover > td,
  2238. .table-hover > tbody > tr:hover > .danger,
  2239. .table-hover > tbody > tr.danger:hover > th {
  2240. background-color: #ebcccc;
  2241. }
  2242. @media screen and (max-width: 767px) {
  2243. .table-responsive {
  2244. width: 100%;
  2245. margin-bottom: 15px;
  2246. overflow-x: auto;
  2247. overflow-y: hidden;
  2248. -webkit-overflow-scrolling: touch;
  2249. -ms-overflow-style: -ms-autohiding-scrollbar;
  2250. border: 1px solid #ddd;
  2251. }
  2252. .table-responsive > .table {
  2253. margin-bottom: 0;
  2254. }
  2255. .table-responsive > .table > thead > tr > th,
  2256. .table-responsive > .table > tbody > tr > th,
  2257. .table-responsive > .table > tfoot > tr > th,
  2258. .table-responsive > .table > thead > tr > td,
  2259. .table-responsive > .table > tbody > tr > td,
  2260. .table-responsive > .table > tfoot > tr > td {
  2261. white-space: nowrap;
  2262. }
  2263. .table-responsive > .table-bordered {
  2264. border: 0;
  2265. }
  2266. .table-responsive > .table-bordered > thead > tr > th:first-child,
  2267. .table-responsive > .table-bordered > tbody > tr > th:first-child,
  2268. .table-responsive > .table-bordered > tfoot > tr > th:first-child,
  2269. .table-responsive > .table-bordered > thead > tr > td:first-child,
  2270. .table-responsive > .table-bordered > tbody > tr > td:first-child,
  2271. .table-responsive > .table-bordered > tfoot > tr > td:first-child {
  2272. border-left: 0;
  2273. }
  2274. .table-responsive > .table-bordered > thead > tr > th:last-child,
  2275. .table-responsive > .table-bordered > tbody > tr > th:last-child,
  2276. .table-responsive > .table-bordered > tfoot > tr > th:last-child,
  2277. .table-responsive > .table-bordered > thead > tr > td:last-child,
  2278. .table-responsive > .table-bordered > tbody > tr > td:last-child,
  2279. .table-responsive > .table-bordered > tfoot > tr > td:last-child {
  2280. border-right: 0;
  2281. }
  2282. .table-responsive > .table-bordered > tbody > tr:last-child > th,
  2283. .table-responsive > .table-bordered > tfoot > tr:last-child > th,
  2284. .table-responsive > .table-bordered > tbody > tr:last-child > td,
  2285. .table-responsive > .table-bordered > tfoot > tr:last-child > td {
  2286. border-bottom: 0;
  2287. }
  2288. }
  2289. fieldset {
  2290. min-width: 0;
  2291. padding: 0;
  2292. margin: 0;
  2293. border: 0;
  2294. }
  2295. legend {
  2296. display: block;
  2297. width: 100%;
  2298. padding: 0;
  2299. margin-bottom: 20px;
  2300. font-size: 21px;
  2301. line-height: inherit;
  2302. color: #333;
  2303. border: 0;
  2304. border-bottom: 1px solid #e5e5e5;
  2305. }
  2306. label {
  2307. display: inline-block;
  2308. max-width: 100%;
  2309. margin-bottom: 5px;
  2310. font-weight: bold;
  2311. }
  2312. input[type="search"] {
  2313. -webkit-box-sizing: border-box;
  2314. -moz-box-sizing: border-box;
  2315. box-sizing: border-box;
  2316. }
  2317. input[type="radio"],
  2318. input[type="checkbox"] {
  2319. margin: 4px 0 0;
  2320. margin-top: 1px \9;
  2321. line-height: normal;
  2322. }
  2323. input[type="file"] {
  2324. display: block;
  2325. }
  2326. input[type="range"] {
  2327. display: block;
  2328. width: 100%;
  2329. }
  2330. select[multiple],
  2331. select[size] {
  2332. height: auto;
  2333. }
  2334. input[type="file"]:focus,
  2335. input[type="radio"]:focus,
  2336. input[type="checkbox"]:focus {
  2337. outline: thin dotted;
  2338. outline: 5px auto -webkit-focus-ring-color;
  2339. outline-offset: -2px;
  2340. }
  2341. output {
  2342. display: block;
  2343. padding-top: 7px;
  2344. font-size: 14px;
  2345. line-height: 1.42857143;
  2346. color: #555;
  2347. }
  2348. .form-control {
  2349. display: block;
  2350. width: 100%;
  2351. height: 34px;
  2352. padding: 6px 12px;
  2353. font-size: 14px;
  2354. line-height: 1.42857143;
  2355. color: #555;
  2356. background-color: #fff;
  2357. background-image: none;
  2358. border: 1px solid #ccc;
  2359. border-radius: 4px;
  2360. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  2361. box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  2362. -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
  2363. -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  2364. transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  2365. }
  2366. .form-control:focus {
  2367. border-color: #66afe9;
  2368. outline: 0;
  2369. -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
  2370. box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
  2371. }
  2372. .form-control::-moz-placeholder {
  2373. color: #777;
  2374. opacity: 1;
  2375. }
  2376. .form-control:-ms-input-placeholder {
  2377. color: #777;
  2378. }
  2379. .form-control::-webkit-input-placeholder {
  2380. color: #777;
  2381. }
  2382. .form-control[disabled],
  2383. .form-control[readonly],
  2384. fieldset[disabled] .form-control {
  2385. cursor: not-allowed;
  2386. background-color: #eee;
  2387. opacity: 1;
  2388. }
  2389. textarea.form-control {
  2390. height: auto;
  2391. }
  2392. input[type="search"] {
  2393. -webkit-appearance: none;
  2394. }
  2395. input[type="date"],
  2396. input[type="time"],
  2397. input[type="datetime-local"],
  2398. input[type="month"] {
  2399. line-height: 34px;
  2400. line-height: 1.42857143 \0;
  2401. }
  2402. input[type="date"].input-sm,
  2403. input[type="time"].input-sm,
  2404. input[type="datetime-local"].input-sm,
  2405. input[type="month"].input-sm {
  2406. line-height: 30px;
  2407. }
  2408. input[type="date"].input-lg,
  2409. input[type="time"].input-lg,
  2410. input[type="datetime-local"].input-lg,
  2411. input[type="month"].input-lg {
  2412. line-height: 46px;
  2413. }
  2414. .form-group {
  2415. margin-bottom: 15px;
  2416. }
  2417. .radio,
  2418. .checkbox {
  2419. position: relative;
  2420. display: block;
  2421. min-height: 20px;
  2422. margin-top: 10px;
  2423. margin-bottom: 10px;
  2424. }
  2425. .radio label,
  2426. .checkbox label {
  2427. padding-left: 20px;
  2428. margin-bottom: 0;
  2429. font-weight: normal;
  2430. cursor: pointer;
  2431. }
  2432. .radio input[type="radio"],
  2433. .radio-inline input[type="radio"],
  2434. .checkbox input[type="checkbox"],
  2435. .checkbox-inline input[type="checkbox"] {
  2436. position: absolute;
  2437. margin-top: 4px \9;
  2438. margin-left: -20px;
  2439. }
  2440. .radio + .radio,
  2441. .checkbox + .checkbox {
  2442. margin-top: -5px;
  2443. }
  2444. .radio-inline,
  2445. .checkbox-inline {
  2446. display: inline-block;
  2447. padding-left: 20px;
  2448. margin-bottom: 0;
  2449. font-weight: normal;
  2450. vertical-align: middle;
  2451. cursor: pointer;
  2452. }
  2453. .radio-inline + .radio-inline,
  2454. .checkbox-inline + .checkbox-inline {
  2455. margin-top: 0;
  2456. margin-left: 10px;
  2457. }
  2458. input[type="radio"][disabled],
  2459. input[type="checkbox"][disabled],
  2460. input[type="radio"].disabled,
  2461. input[type="checkbox"].disabled,
  2462. fieldset[disabled] input[type="radio"],
  2463. fieldset[disabled] input[type="checkbox"] {
  2464. cursor: not-allowed;
  2465. }
  2466. .radio-inline.disabled,
  2467. .checkbox-inline.disabled,
  2468. fieldset[disabled] .radio-inline,
  2469. fieldset[disabled] .checkbox-inline {
  2470. cursor: not-allowed;
  2471. }
  2472. .radio.disabled label,
  2473. .checkbox.disabled label,
  2474. fieldset[disabled] .radio label,
  2475. fieldset[disabled] .checkbox label {
  2476. cursor: not-allowed;
  2477. }
  2478. .form-control-static {
  2479. padding-top: 7px;
  2480. padding-bottom: 7px;
  2481. margin-bottom: 0;
  2482. }
  2483. .form-control-static.input-lg,
  2484. .form-control-static.input-sm {
  2485. padding-right: 0;
  2486. padding-left: 0;
  2487. }
  2488. .input-sm,
  2489. .form-horizontal .form-group-sm .form-control {
  2490. height: 30px;
  2491. padding: 5px 10px;
  2492. font-size: 12px;
  2493. line-height: 1.5;
  2494. border-radius: 3px;
  2495. }
  2496. select.input-sm {
  2497. height: 30px;
  2498. line-height: 30px;
  2499. }
  2500. textarea.input-sm,
  2501. select[multiple].input-sm {
  2502. height: auto;
  2503. }
  2504. .input-lg,
  2505. .form-horizontal .form-group-lg .form-control {
  2506. height: 46px;
  2507. padding: 10px 16px;
  2508. font-size: 18px;
  2509. line-height: 1.33;
  2510. border-radius: 6px;
  2511. }
  2512. select.input-lg {
  2513. height: 46px;
  2514. line-height: 46px;
  2515. }
  2516. textarea.input-lg,
  2517. select[multiple].input-lg {
  2518. height: auto;
  2519. }
  2520. .has-feedback {
  2521. position: relative;
  2522. }
  2523. .has-feedback .form-control {
  2524. padding-right: 42.5px;
  2525. }
  2526. .form-control-feedback {
  2527. position: absolute;
  2528. top: 25px;
  2529. right: 0;
  2530. z-index: 2;
  2531. display: block;
  2532. width: 34px;
  2533. height: 34px;
  2534. line-height: 34px;
  2535. text-align: center;
  2536. }
  2537. .input-lg + .form-control-feedback {
  2538. width: 46px;
  2539. height: 46px;
  2540. line-height: 46px;
  2541. }
  2542. .input-sm + .form-control-feedback {
  2543. width: 30px;
  2544. height: 30px;
  2545. line-height: 30px;
  2546. }
  2547. .has-success .help-block,
  2548. .has-success .control-label,
  2549. .has-success .radio,
  2550. .has-success .checkbox,
  2551. .has-success .radio-inline,
  2552. .has-success .checkbox-inline {
  2553. color: #3c763d;
  2554. }
  2555. .has-success .form-control {
  2556. border-color: #3c763d;
  2557. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  2558. box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  2559. }
  2560. .has-success .form-control:focus {
  2561. border-color: #2b542c;
  2562. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
  2563. box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
  2564. }
  2565. .has-success .input-group-addon {
  2566. color: #3c763d;
  2567. background-color: #dff0d8;
  2568. border-color: #3c763d;
  2569. }
  2570. .has-success .form-control-feedback {
  2571. color: #3c763d;
  2572. }
  2573. .has-warning .help-block,
  2574. .has-warning .control-label,
  2575. .has-warning .radio,
  2576. .has-warning .checkbox,
  2577. .has-warning .radio-inline,
  2578. .has-warning .checkbox-inline {
  2579. color: #8a6d3b;
  2580. }
  2581. .has-warning .form-control {
  2582. border-color: #8a6d3b;
  2583. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  2584. box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  2585. }
  2586. .has-warning .form-control:focus {
  2587. border-color: #66512c;
  2588. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
  2589. box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
  2590. }
  2591. .has-warning .input-group-addon {
  2592. color: #8a6d3b;
  2593. background-color: #fcf8e3;
  2594. border-color: #8a6d3b;
  2595. }
  2596. .has-warning .form-control-feedback {
  2597. color: #8a6d3b;
  2598. }
  2599. .has-error .help-block,
  2600. .has-error .control-label,
  2601. .has-error .radio,
  2602. .has-error .checkbox,
  2603. .has-error .radio-inline,
  2604. .has-error .checkbox-inline {
  2605. color: #a94442;
  2606. }
  2607. .has-error .form-control {
  2608. border-color: #a94442;
  2609. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  2610. box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  2611. }
  2612. .has-error .form-control:focus {
  2613. border-color: #843534;
  2614. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
  2615. box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
  2616. }
  2617. .has-error .input-group-addon {
  2618. color: #a94442;
  2619. background-color: #f2dede;
  2620. border-color: #a94442;
  2621. }
  2622. .has-error .form-control-feedback {
  2623. color: #a94442;
  2624. }
  2625. .has-feedback label.sr-only ~ .form-control-feedback {
  2626. top: 0;
  2627. }
  2628. .help-block {
  2629. display: block;
  2630. margin-top: 5px;
  2631. margin-bottom: 10px;
  2632. color: #737373;
  2633. }
  2634. @media (min-width: 768px) {
  2635. .form-inline .form-group {
  2636. display: inline-block;
  2637. margin-bottom: 0;
  2638. vertical-align: middle;
  2639. }
  2640. .form-inline .form-control {
  2641. display: inline-block;
  2642. width: auto;
  2643. vertical-align: middle;
  2644. }
  2645. .form-inline .input-group {
  2646. display: inline-table;
  2647. vertical-align: middle;
  2648. }
  2649. .form-inline .input-group .input-group-addon,
  2650. .form-inline .input-group .input-group-btn,
  2651. .form-inline .input-group .form-control {
  2652. width: auto;
  2653. }
  2654. .form-inline .input-group > .form-control {
  2655. width: 100%;
  2656. }
  2657. .form-inline .control-label {
  2658. margin-bottom: 0;
  2659. vertical-align: middle;
  2660. }
  2661. .form-inline .radio,
  2662. .form-inline .checkbox {
  2663. display: inline-block;
  2664. margin-top: 0;
  2665. margin-bottom: 0;
  2666. vertical-align: middle;
  2667. }
  2668. .form-inline .radio label,
  2669. .form-inline .checkbox label {
  2670. padding-left: 0;
  2671. }
  2672. .form-inline .radio input[type="radio"],
  2673. .form-inline .checkbox input[type="checkbox"] {
  2674. position: relative;
  2675. margin-left: 0;
  2676. }
  2677. .form-inline .has-feedback .form-control-feedback {
  2678. top: 0;
  2679. }
  2680. }
  2681. .form-horizontal .radio,
  2682. .form-horizontal .checkbox,
  2683. .form-horizontal .radio-inline,
  2684. .form-horizontal .checkbox-inline {
  2685. padding-top: 7px;
  2686. margin-top: 0;
  2687. margin-bottom: 0;
  2688. }
  2689. .form-horizontal .radio,
  2690. .form-horizontal .checkbox {
  2691. min-height: 27px;
  2692. }
  2693. .form-horizontal .form-group {
  2694. margin-right: -15px;
  2695. margin-left: -15px;
  2696. }
  2697. @media (min-width: 768px) {
  2698. .form-horizontal .control-label {
  2699. padding-top: 7px;
  2700. margin-bottom: 0;
  2701. text-align: right;
  2702. }
  2703. }
  2704. .form-horizontal .has-feedback .form-control-feedback {
  2705. top: 0;
  2706. right: 15px;
  2707. }
  2708. @media (min-width: 768px) {
  2709. .form-horizontal .form-group-lg .control-label {
  2710. padding-top: 14.3px;
  2711. }
  2712. }
  2713. @media (min-width: 768px) {
  2714. .form-horizontal .form-group-sm .control-label {
  2715. padding-top: 6px;
  2716. }
  2717. }
  2718. .btn {
  2719. display: inline-block;
  2720. padding: 6px 12px;
  2721. margin-bottom: 0;
  2722. font-size: 14px;
  2723. font-weight: normal;
  2724. line-height: 1.42857143;
  2725. text-align: center;
  2726. white-space: nowrap;
  2727. vertical-align: middle;
  2728. cursor: pointer;
  2729. -webkit-user-select: none;
  2730. -moz-user-select: none;
  2731. -ms-user-select: none;
  2732. user-select: none;
  2733. background-image: none;
  2734. border: 1px solid transparent;
  2735. border-radius: 4px;
  2736. }
  2737. .btn:focus,
  2738. .btn:active:focus,
  2739. .btn.active:focus {
  2740. outline: thin dotted;
  2741. outline: 5px auto -webkit-focus-ring-color;
  2742. outline-offset: -2px;
  2743. }
  2744. .btn:hover,
  2745. .btn:focus {
  2746. color: #333;
  2747. text-decoration: none;
  2748. }
  2749. .btn:active,
  2750. .btn.active {
  2751. background-image: none;
  2752. outline: 0;
  2753. -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
  2754. box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
  2755. }
  2756. .btn.disabled,
  2757. .btn[disabled],
  2758. fieldset[disabled] .btn {
  2759. pointer-events: none;
  2760. cursor: not-allowed;
  2761. filter: alpha(opacity=65);
  2762. -webkit-box-shadow: none;
  2763. box-shadow: none;
  2764. opacity: .65;
  2765. }
  2766. .btn-default {
  2767. color: #333;
  2768. background-color: #fff;
  2769. border-color: #ccc;
  2770. }
  2771. .btn-default:hover,
  2772. .btn-default:focus,
  2773. .btn-default:active,
  2774. .btn-default.active,
  2775. .open > .dropdown-toggle.btn-default {
  2776. color: #333;
  2777. background-color: #e6e6e6;
  2778. border-color: #adadad;
  2779. }
  2780. .btn-default:active,
  2781. .btn-default.active,
  2782. .open > .dropdown-toggle.btn-default {
  2783. background-image: none;
  2784. }
  2785. .btn-default.disabled,
  2786. .btn-default[disabled],
  2787. fieldset[disabled] .btn-default,
  2788. .btn-default.disabled:hover,
  2789. .btn-default[disabled]:hover,
  2790. fieldset[disabled] .btn-default:hover,
  2791. .btn-default.disabled:focus,
  2792. .btn-default[disabled]:focus,
  2793. fieldset[disabled] .btn-default:focus,
  2794. .btn-default.disabled:active,
  2795. .btn-default[disabled]:active,
  2796. fieldset[disabled] .btn-default:active,
  2797. .btn-default.disabled.active,
  2798. .btn-default[disabled].active,
  2799. fieldset[disabled] .btn-default.active {
  2800. background-color: #fff;
  2801. border-color: #ccc;
  2802. }
  2803. .btn-default .badge {
  2804. color: #fff;
  2805. background-color: #333;
  2806. }
  2807. .btn-primary {
  2808. color: #fff;
  2809. background-color: #428bca;
  2810. border-color: #357ebd;
  2811. }
  2812. .btn-primary:hover,
  2813. .btn-primary:focus,
  2814. .btn-primary:active,
  2815. .btn-primary.active,
  2816. .open > .dropdown-toggle.btn-primary {
  2817. color: #fff;
  2818. background-color: #3071a9;
  2819. border-color: #285e8e;
  2820. }
  2821. .btn-primary:active,
  2822. .btn-primary.active,
  2823. .open > .dropdown-toggle.btn-primary {
  2824. background-image: none;
  2825. }
  2826. .btn-primary.disabled,
  2827. .btn-primary[disabled],
  2828. fieldset[disabled] .btn-primary,
  2829. .btn-primary.disabled:hover,
  2830. .btn-primary[disabled]:hover,
  2831. fieldset[disabled] .btn-primary:hover,
  2832. .btn-primary.disabled:focus,
  2833. .btn-primary[disabled]:focus,
  2834. fieldset[disabled] .btn-primary:focus,
  2835. .btn-primary.disabled:active,
  2836. .btn-primary[disabled]:active,
  2837. fieldset[disabled] .btn-primary:active,
  2838. .btn-primary.disabled.active,
  2839. .btn-primary[disabled].active,
  2840. fieldset[disabled] .btn-primary.active {
  2841. background-color: #428bca;
  2842. border-color: #357ebd;
  2843. }
  2844. .btn-primary .badge {
  2845. color: #428bca;
  2846. background-color: #fff;
  2847. }
  2848. .btn-success {
  2849. color: #fff;
  2850. background-color: #5cb85c;
  2851. border-color: #4cae4c;
  2852. }
  2853. .btn-success:hover,
  2854. .btn-success:focus,
  2855. .btn-success:active,
  2856. .btn-success.active,
  2857. .open > .dropdown-toggle.btn-success {
  2858. color: #fff;
  2859. background-color: #449d44;
  2860. border-color: #398439;
  2861. }
  2862. .btn-success:active,
  2863. .btn-success.active,
  2864. .open > .dropdown-toggle.btn-success {
  2865. background-image: none;
  2866. }
  2867. .btn-success.disabled,
  2868. .btn-success[disabled],
  2869. fieldset[disabled] .btn-success,
  2870. .btn-success.disabled:hover,
  2871. .btn-success[disabled]:hover,
  2872. fieldset[disabled] .btn-success:hover,
  2873. .btn-success.disabled:focus,
  2874. .btn-success[disabled]:focus,
  2875. fieldset[disabled] .btn-success:focus,
  2876. .btn-success.disabled:active,
  2877. .btn-success[disabled]:active,
  2878. fieldset[disabled] .btn-success:active,
  2879. .btn-success.disabled.active,
  2880. .btn-success[disabled].active,
  2881. fieldset[disabled] .btn-success.active {
  2882. background-color: #5cb85c;
  2883. border-color: #4cae4c;
  2884. }
  2885. .btn-success .badge {
  2886. color: #5cb85c;
  2887. background-color: #fff;
  2888. }
  2889. .btn-info {
  2890. color: #fff;
  2891. background-color: #5bc0de;
  2892. border-color: #46b8da;
  2893. }
  2894. .btn-info:hover,
  2895. .btn-info:focus,
  2896. .btn-info:active,
  2897. .btn-info.active,
  2898. .open > .dropdown-toggle.btn-info {
  2899. color: #fff;
  2900. background-color: #31b0d5;
  2901. border-color: #269abc;
  2902. }
  2903. .btn-info:active,
  2904. .btn-info.active,
  2905. .open > .dropdown-toggle.btn-info {
  2906. background-image: none;
  2907. }
  2908. .btn-info.disabled,
  2909. .btn-info[disabled],
  2910. fieldset[disabled] .btn-info,
  2911. .btn-info.disabled:hover,
  2912. .btn-info[disabled]:hover,
  2913. fieldset[disabled] .btn-info:hover,
  2914. .btn-info.disabled:focus,
  2915. .btn-info[disabled]:focus,
  2916. fieldset[disabled] .btn-info:focus,
  2917. .btn-info.disabled:active,
  2918. .btn-info[disabled]:active,
  2919. fieldset[disabled] .btn-info:active,
  2920. .btn-info.disabled.active,
  2921. .btn-info[disabled].active,
  2922. fieldset[disabled] .btn-info.active {
  2923. background-color: #5bc0de;
  2924. border-color: #46b8da;
  2925. }
  2926. .btn-info .badge {
  2927. color: #5bc0de;
  2928. background-color: #fff;
  2929. }
  2930. .btn-warning {
  2931. color: #fff;
  2932. background-color: #f0ad4e;
  2933. border-color: #eea236;
  2934. }
  2935. .btn-warning:hover,
  2936. .btn-warning:focus,
  2937. .btn-warning:active,
  2938. .btn-warning.active,
  2939. .open > .dropdown-toggle.btn-warning {
  2940. color: #fff;
  2941. background-color: #ec971f;
  2942. border-color: #d58512;
  2943. }
  2944. .btn-warning:active,
  2945. .btn-warning.active,
  2946. .open > .dropdown-toggle.btn-warning {
  2947. background-image: none;
  2948. }
  2949. .btn-warning.disabled,
  2950. .btn-warning[disabled],
  2951. fieldset[disabled] .btn-warning,
  2952. .btn-warning.disabled:hover,
  2953. .btn-warning[disabled]:hover,
  2954. fieldset[disabled] .btn-warning:hover,
  2955. .btn-warning.disabled:focus,
  2956. .btn-warning[disabled]:focus,
  2957. fieldset[disabled] .btn-warning:focus,
  2958. .btn-warning.disabled:active,
  2959. .btn-warning[disabled]:active,
  2960. fieldset[disabled] .btn-warning:active,
  2961. .btn-warning.disabled.active,
  2962. .btn-warning[disabled].active,
  2963. fieldset[disabled] .btn-warning.active {
  2964. background-color: #f0ad4e;
  2965. border-color: #eea236;
  2966. }
  2967. .btn-warning .badge {
  2968. color: #f0ad4e;
  2969. background-color: #fff;
  2970. }
  2971. .btn-danger {
  2972. color: #fff;
  2973. background-color: #d9534f;
  2974. border-color: #d43f3a;
  2975. }
  2976. .btn-danger:hover,
  2977. .btn-danger:focus,
  2978. .btn-danger:active,
  2979. .btn-danger.active,
  2980. .open > .dropdown-toggle.btn-danger {
  2981. color: #fff;
  2982. background-color: #c9302c;
  2983. border-color: #ac2925;
  2984. }
  2985. .btn-danger:active,
  2986. .btn-danger.active,
  2987. .open > .dropdown-toggle.btn-danger {
  2988. background-image: none;
  2989. }
  2990. .btn-danger.disabled,
  2991. .btn-danger[disabled],
  2992. fieldset[disabled] .btn-danger,
  2993. .btn-danger.disabled:hover,
  2994. .btn-danger[disabled]:hover,
  2995. fieldset[disabled] .btn-danger:hover,
  2996. .btn-danger.disabled:focus,
  2997. .btn-danger[disabled]:focus,
  2998. fieldset[disabled] .btn-danger:focus,
  2999. .btn-danger.disabled:active,
  3000. .btn-danger[disabled]:active,
  3001. fieldset[disabled] .btn-danger:active,
  3002. .btn-danger.disabled.active,
  3003. .btn-danger[disabled].active,
  3004. fieldset[disabled] .btn-danger.active {
  3005. background-color: #d9534f;
  3006. border-color: #d43f3a;
  3007. }
  3008. .btn-danger .badge {
  3009. color: #d9534f;
  3010. background-color: #fff;
  3011. }
  3012. .btn-link {
  3013. font-weight: normal;
  3014. color: #428bca;
  3015. cursor: pointer;
  3016. border-radius: 0;
  3017. }
  3018. .btn-link,
  3019. .btn-link:active,
  3020. .btn-link[disabled],
  3021. fieldset[disabled] .btn-link {
  3022. background-color: transparent;
  3023. -webkit-box-shadow: none;
  3024. box-shadow: none;
  3025. }
  3026. .btn-link,
  3027. .btn-link:hover,
  3028. .btn-link:focus,
  3029. .btn-link:active {
  3030. border-color: transparent;
  3031. }
  3032. .btn-link:hover,
  3033. .btn-link:focus {
  3034. color: #2a6496;
  3035. text-decoration: underline;
  3036. background-color: transparent;
  3037. }
  3038. .btn-link[disabled]:hover,
  3039. fieldset[disabled] .btn-link:hover,
  3040. .btn-link[disabled]:focus,
  3041. fieldset[disabled] .btn-link:focus {
  3042. color: #777;
  3043. text-decoration: none;
  3044. }
  3045. .btn-lg,
  3046. .btn-group-lg > .btn {
  3047. padding: 10px 16px;
  3048. font-size: 18px;
  3049. line-height: 1.33;
  3050. border-radius: 6px;
  3051. }
  3052. .btn-sm,
  3053. .btn-group-sm > .btn {
  3054. padding: 5px 10px;
  3055. font-size: 12px;
  3056. line-height: 1.5;
  3057. border-radius: 3px;
  3058. }
  3059. .btn-xs,
  3060. .btn-group-xs > .btn {
  3061. padding: 1px 5px;
  3062. font-size: 12px;
  3063. line-height: 1.5;
  3064. border-radius: 3px;
  3065. }
  3066. .btn-block {
  3067. display: block;
  3068. width: 100%;
  3069. }
  3070. .btn-block + .btn-block {
  3071. margin-top: 5px;
  3072. }
  3073. input[type="submit"].btn-block,
  3074. input[type="reset"].btn-block,
  3075. input[type="button"].btn-block {
  3076. width: 100%;
  3077. }
  3078. .fade {
  3079. opacity: 0;
  3080. -webkit-transition: opacity .15s linear;
  3081. -o-transition: opacity .15s linear;
  3082. transition: opacity .15s linear;
  3083. }
  3084. .fade.in {
  3085. opacity: 1;
  3086. }
  3087. .collapse {
  3088. display: none;
  3089. }
  3090. .collapse.in {
  3091. display: block;
  3092. }
  3093. tr.collapse.in {
  3094. display: table-row;
  3095. }
  3096. tbody.collapse.in {
  3097. display: table-row-group;
  3098. }
  3099. .collapsing {
  3100. position: relative;
  3101. height: 0;
  3102. overflow: hidden;
  3103. -webkit-transition: height .35s ease;
  3104. -o-transition: height .35s ease;
  3105. transition: height .35s ease;
  3106. }
  3107. .caret {
  3108. display: inline-block;
  3109. width: 0;
  3110. height: 0;
  3111. margin-left: 2px;
  3112. vertical-align: middle;
  3113. border-top: 4px solid;
  3114. border-right: 4px solid transparent;
  3115. border-left: 4px solid transparent;
  3116. }
  3117. .dropdown {
  3118. position: relative;
  3119. }
  3120. .dropdown-toggle:focus {
  3121. outline: 0;
  3122. }
  3123. .dropdown-menu {
  3124. position: absolute;
  3125. top: 100%;
  3126. left: 0;
  3127. z-index: 1000;
  3128. display: none;
  3129. float: left;
  3130. min-width: 160px;
  3131. padding: 5px 0;
  3132. margin: 2px 0 0;
  3133. font-size: 14px;
  3134. text-align: left;
  3135. list-style: none;
  3136. background-color: #fff;
  3137. -webkit-background-clip: padding-box;
  3138. background-clip: padding-box;
  3139. border: 1px solid #ccc;
  3140. border: 1px solid rgba(0, 0, 0, .15);
  3141. border-radius: 4px;
  3142. -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
  3143. box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
  3144. }
  3145. .dropdown-menu.pull-right {
  3146. right: 0;
  3147. left: auto;
  3148. }
  3149. .dropdown-menu .divider {
  3150. height: 1px;
  3151. margin: 9px 0;
  3152. overflow: hidden;
  3153. background-color: #e5e5e5;
  3154. }
  3155. .dropdown-menu > li > a {
  3156. display: block;
  3157. padding: 3px 20px;
  3158. clear: both;
  3159. font-weight: normal;
  3160. line-height: 1.42857143;
  3161. color: #333;
  3162. white-space: nowrap;
  3163. }
  3164. .dropdown-menu > li > a:hover,
  3165. .dropdown-menu > li > a:focus {
  3166. color: #262626;
  3167. text-decoration: none;
  3168. background-color: #f5f5f5;
  3169. }
  3170. .dropdown-menu > .active > a,
  3171. .dropdown-menu > .active > a:hover,
  3172. .dropdown-menu > .active > a:focus {
  3173. color: #fff;
  3174. text-decoration: none;
  3175. background-color: #428bca;
  3176. outline: 0;
  3177. }
  3178. .dropdown-menu > .disabled > a,
  3179. .dropdown-menu > .disabled > a:hover,
  3180. .dropdown-menu > .disabled > a:focus {
  3181. color: #777;
  3182. }
  3183. .dropdown-menu > .disabled > a:hover,
  3184. .dropdown-menu > .disabled > a:focus {
  3185. text-decoration: none;
  3186. cursor: not-allowed;
  3187. background-color: transparent;
  3188. background-image: none;
  3189. filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  3190. }
  3191. .open > .dropdown-menu {
  3192. display: block;
  3193. }
  3194. .open > a {
  3195. outline: 0;
  3196. }
  3197. .dropdown-menu-right {
  3198. right: 0;
  3199. left: auto;
  3200. }
  3201. .dropdown-menu-left {
  3202. right: auto;
  3203. left: 0;
  3204. }
  3205. .dropdown-header {
  3206. display: block;
  3207. padding: 3px 20px;
  3208. font-size: 12px;
  3209. line-height: 1.42857143;
  3210. color: #777;
  3211. white-space: nowrap;
  3212. }
  3213. .dropdown-backdrop {
  3214. position: fixed;
  3215. top: 0;
  3216. right: 0;
  3217. bottom: 0;
  3218. left: 0;
  3219. z-index: 990;
  3220. }
  3221. .pull-right > .dropdown-menu {
  3222. right: 0;
  3223. left: auto;
  3224. }
  3225. .dropup .caret,
  3226. .navbar-fixed-bottom .dropdown .caret {
  3227. content: "";
  3228. border-top: 0;
  3229. border-bottom: 4px solid;
  3230. }
  3231. .dropup .dropdown-menu,
  3232. .navbar-fixed-bottom .dropdown .dropdown-menu {
  3233. top: auto;
  3234. bottom: 100%;
  3235. margin-bottom: 1px;
  3236. }
  3237. @media (min-width: 768px) {
  3238. .navbar-right .dropdown-menu {
  3239. right: 0;
  3240. left: auto;
  3241. }
  3242. .navbar-right .dropdown-menu-left {
  3243. right: auto;
  3244. left: 0;
  3245. }
  3246. }
  3247. .btn-group,
  3248. .btn-group-vertical {
  3249. position: relative;
  3250. display: inline-block;
  3251. vertical-align: middle;
  3252. }
  3253. .btn-group > .btn,
  3254. .btn-group-vertical > .btn {
  3255. position: relative;
  3256. float: left;
  3257. }
  3258. .btn-group > .btn:hover,
  3259. .btn-group-vertical > .btn:hover,
  3260. .btn-group > .btn:focus,
  3261. .btn-group-vertical > .btn:focus,
  3262. .btn-group > .btn:active,
  3263. .btn-group-vertical > .btn:active,
  3264. .btn-group > .btn.active,
  3265. .btn-group-vertical > .btn.active {
  3266. z-index: 2;
  3267. }
  3268. .btn-group > .btn:focus,
  3269. .btn-group-vertical > .btn:focus {
  3270. outline: 0;
  3271. }
  3272. .btn-group .btn + .btn,
  3273. .btn-group .btn + .btn-group,
  3274. .btn-group .btn-group + .btn,
  3275. .btn-group .btn-group + .btn-group {
  3276. margin-left: -1px;
  3277. }
  3278. .btn-toolbar {
  3279. margin-left: -5px;
  3280. }
  3281. .btn-toolbar .btn-group,
  3282. .btn-toolbar .input-group {
  3283. float: left;
  3284. }
  3285. .btn-toolbar > .btn,
  3286. .btn-toolbar > .btn-group,
  3287. .btn-toolbar > .input-group {
  3288. margin-left: 5px;
  3289. }
  3290. .btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
  3291. border-radius: 0;
  3292. }
  3293. .btn-group > .btn:first-child {
  3294. margin-left: 0;
  3295. }
  3296. .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
  3297. border-top-right-radius: 0;
  3298. border-bottom-right-radius: 0;
  3299. }
  3300. .btn-group > .btn:last-child:not(:first-child),
  3301. .btn-group > .dropdown-toggle:not(:first-child) {
  3302. border-top-left-radius: 0;
  3303. border-bottom-left-radius: 0;
  3304. }
  3305. .btn-group > .btn-group {
  3306. float: left;
  3307. }
  3308. .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
  3309. border-radius: 0;
  3310. }
  3311. .btn-group > .btn-group:first-child > .btn:last-child,
  3312. .btn-group > .btn-group:first-child > .dropdown-toggle {
  3313. border-top-right-radius: 0;
  3314. border-bottom-right-radius: 0;
  3315. }
  3316. .btn-group > .btn-group:last-child > .btn:first-child {
  3317. border-top-left-radius: 0;
  3318. border-bottom-left-radius: 0;
  3319. }
  3320. .btn-group .dropdown-toggle:active,
  3321. .btn-group.open .dropdown-toggle {
  3322. outline: 0;
  3323. }
  3324. .btn-group > .btn + .dropdown-toggle {
  3325. padding-right: 8px;
  3326. padding-left: 8px;
  3327. }
  3328. .btn-group > .btn-lg + .dropdown-toggle {
  3329. padding-right: 12px;
  3330. padding-left: 12px;
  3331. }
  3332. .btn-group.open .dropdown-toggle {
  3333. -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
  3334. box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
  3335. }
  3336. .btn-group.open .dropdown-toggle.btn-link {
  3337. -webkit-box-shadow: none;
  3338. box-shadow: none;
  3339. }
  3340. .btn .caret {
  3341. margin-left: 0;
  3342. }
  3343. .btn-lg .caret {
  3344. border-width: 5px 5px 0;
  3345. border-bottom-width: 0;
  3346. }
  3347. .dropup .btn-lg .caret {
  3348. border-width: 0 5px 5px;
  3349. }
  3350. .btn-group-vertical > .btn,
  3351. .btn-group-vertical > .btn-group,
  3352. .btn-group-vertical > .btn-group > .btn {
  3353. display: block;
  3354. float: none;
  3355. width: 100%;
  3356. max-width: 100%;
  3357. }
  3358. .btn-group-vertical > .btn-group > .btn {
  3359. float: none;
  3360. }
  3361. .btn-group-vertical > .btn + .btn,
  3362. .btn-group-vertical > .btn + .btn-group,
  3363. .btn-group-vertical > .btn-group + .btn,
  3364. .btn-group-vertical > .btn-group + .btn-group {
  3365. margin-top: -1px;
  3366. margin-left: 0;
  3367. }
  3368. .btn-group-vertical > .btn:not(:first-child):not(:last-child) {
  3369. border-radius: 0;
  3370. }
  3371. .btn-group-vertical > .btn:first-child:not(:last-child) {
  3372. border-top-right-radius: 4px;
  3373. border-bottom-right-radius: 0;
  3374. border-bottom-left-radius: 0;
  3375. }
  3376. .btn-group-vertical > .btn:last-child:not(:first-child) {
  3377. border-top-left-radius: 0;
  3378. border-top-right-radius: 0;
  3379. border-bottom-left-radius: 4px;
  3380. }
  3381. .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
  3382. border-radius: 0;
  3383. }
  3384. .btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,
  3385. .btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
  3386. border-bottom-right-radius: 0;
  3387. border-bottom-left-radius: 0;
  3388. }
  3389. .btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
  3390. border-top-left-radius: 0;
  3391. border-top-right-radius: 0;
  3392. }
  3393. .btn-group-justified {
  3394. display: table;
  3395. width: 100%;
  3396. table-layout: fixed;
  3397. border-collapse: separate;
  3398. }
  3399. .btn-group-justified > .btn,
  3400. .btn-group-justified > .btn-group {
  3401. display: table-cell;
  3402. float: none;
  3403. width: 1%;
  3404. }
  3405. .btn-group-justified > .btn-group .btn {
  3406. width: 100%;
  3407. }
  3408. .btn-group-justified > .btn-group .dropdown-menu {
  3409. left: auto;
  3410. }
  3411. [data-toggle="buttons"] > .btn > input[type="radio"],
  3412. [data-toggle="buttons"] > .btn > input[type="checkbox"] {
  3413. position: absolute;
  3414. z-index: -1;
  3415. filter: alpha(opacity=0);
  3416. opacity: 0;
  3417. }
  3418. .input-group {
  3419. position: relative;
  3420. display: table;
  3421. border-collapse: separate;
  3422. }
  3423. .input-group[class*="col-"] {
  3424. float: none;
  3425. padding-right: 0;
  3426. padding-left: 0;
  3427. }
  3428. .input-group .form-control {
  3429. position: relative;
  3430. z-index: 2;
  3431. float: left;
  3432. width: 100%;
  3433. margin-bottom: 0;
  3434. }
  3435. .input-group-lg > .form-control,
  3436. .input-group-lg > .input-group-addon,
  3437. .input-group-lg > .input-group-btn > .btn {
  3438. height: 46px;
  3439. padding: 10px 16px;
  3440. font-size: 18px;
  3441. line-height: 1.33;
  3442. border-radius: 6px;
  3443. }
  3444. select.input-group-lg > .form-control,
  3445. select.input-group-lg > .input-group-addon,
  3446. select.input-group-lg > .input-group-btn > .btn {
  3447. height: 46px;
  3448. line-height: 46px;
  3449. }
  3450. textarea.input-group-lg > .form-control,
  3451. textarea.input-group-lg > .input-group-addon,
  3452. textarea.input-group-lg > .input-group-btn > .btn,
  3453. select[multiple].input-group-lg > .form-control,
  3454. select[multiple].input-group-lg > .input-group-addon,
  3455. select[multiple].input-group-lg > .input-group-btn > .btn {
  3456. height: auto;
  3457. }
  3458. .input-group-sm > .form-control,
  3459. .input-group-sm > .input-group-addon,
  3460. .input-group-sm > .input-group-btn > .btn {
  3461. height: 30px;
  3462. padding: 5px 10px;
  3463. font-size: 12px;
  3464. line-height: 1.5;
  3465. border-radius: 3px;
  3466. }
  3467. select.input-group-sm > .form-control,
  3468. select.input-group-sm > .input-group-addon,
  3469. select.input-group-sm > .input-group-btn > .btn {
  3470. height: 30px;
  3471. line-height: 30px;
  3472. }
  3473. textarea.input-group-sm > .form-control,
  3474. textarea.input-group-sm > .input-group-addon,
  3475. textarea.input-group-sm > .input-group-btn > .btn,
  3476. select[multiple].input-group-sm > .form-control,
  3477. select[multiple].input-group-sm > .input-group-addon,
  3478. select[multiple].input-group-sm > .input-group-btn > .btn {
  3479. height: auto;
  3480. }
  3481. .input-group-addon,
  3482. .input-group-btn,
  3483. .input-group .form-control {
  3484. display: table-cell;
  3485. }
  3486. .input-group-addon:not(:first-child):not(:last-child),
  3487. .input-group-btn:not(:first-child):not(:last-child),
  3488. .input-group .form-control:not(:first-child):not(:last-child) {
  3489. border-radius: 0;
  3490. }
  3491. .input-group-addon,
  3492. .input-group-btn {
  3493. width: 1%;
  3494. white-space: nowrap;
  3495. vertical-align: middle;
  3496. }
  3497. .input-group-addon {
  3498. padding: 6px 12px;
  3499. font-size: 14px;
  3500. font-weight: normal;
  3501. line-height: 1;
  3502. color: #555;
  3503. text-align: center;
  3504. background-color: #eee;
  3505. border: 1px solid #ccc;
  3506. border-radius: 4px;
  3507. }
  3508. .input-group-addon.input-sm {
  3509. padding: 5px 10px;
  3510. font-size: 12px;
  3511. border-radius: 3px;
  3512. }
  3513. .input-group-addon.input-lg {
  3514. padding: 10px 16px;
  3515. font-size: 18px;
  3516. border-radius: 6px;
  3517. }
  3518. .input-group-addon input[type="radio"],
  3519. .input-group-addon input[type="checkbox"] {
  3520. margin-top: 0;
  3521. }
  3522. .input-group .form-control:first-child,
  3523. .input-group-addon:first-child,
  3524. .input-group-btn:first-child > .btn,
  3525. .input-group-btn:first-child > .btn-group > .btn,
  3526. .input-group-btn:first-child > .dropdown-toggle,
  3527. .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
  3528. .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
  3529. border-top-right-radius: 0;
  3530. border-bottom-right-radius: 0;
  3531. }
  3532. .input-group-addon:first-child {
  3533. border-right: 0;
  3534. }
  3535. .input-group .form-control:last-child,
  3536. .input-group-addon:last-child,
  3537. .input-group-btn:last-child > .btn,
  3538. .input-group-btn:last-child > .btn-group > .btn,
  3539. .input-group-btn:last-child > .dropdown-toggle,
  3540. .input-group-btn:first-child > .btn:not(:first-child),
  3541. .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
  3542. border-top-left-radius: 0;
  3543. border-bottom-left-radius: 0;
  3544. }
  3545. .input-group-addon:last-child {
  3546. border-left: 0;
  3547. }
  3548. .input-group-btn {
  3549. position: relative;
  3550. font-size: 0;
  3551. white-space: nowrap;
  3552. }
  3553. .input-group-btn > .btn {
  3554. position: relative;
  3555. }
  3556. .input-group-btn > .btn + .btn {
  3557. margin-left: -1px;
  3558. }
  3559. .input-group-btn > .btn:hover,
  3560. .input-group-btn > .btn:focus,
  3561. .input-group-btn > .btn:active {
  3562. z-index: 2;
  3563. }
  3564. .input-group-btn:first-child > .btn,
  3565. .input-group-btn:first-child > .btn-group {
  3566. margin-right: -1px;
  3567. }
  3568. .input-group-btn:last-child > .btn,
  3569. .input-group-btn:last-child > .btn-group {
  3570. margin-left: -1px;
  3571. }
  3572. .nav {
  3573. padding-left: 0;
  3574. margin-bottom: 0;
  3575. list-style: none;
  3576. }
  3577. .nav > li {
  3578. position: relative;
  3579. display: block;
  3580. }
  3581. .nav > li > a {
  3582. position: relative;
  3583. display: block;
  3584. padding: 10px 15px;
  3585. }
  3586. .nav > li > a:hover,
  3587. .nav > li > a:focus {
  3588. text-decoration: none;
  3589. background-color: #eee;
  3590. }
  3591. .nav > li.disabled > a {
  3592. color: #777;
  3593. }
  3594. .nav > li.disabled > a:hover,
  3595. .nav > li.disabled > a:focus {
  3596. color: #777;
  3597. text-decoration: none;
  3598. cursor: not-allowed;
  3599. background-color: transparent;
  3600. }
  3601. .nav .open > a,
  3602. .nav .open > a:hover,
  3603. .nav .open > a:focus {
  3604. background-color: #eee;
  3605. border-color: #428bca;
  3606. }
  3607. .nav .nav-divider {
  3608. height: 1px;
  3609. margin: 9px 0;
  3610. overflow: hidden;
  3611. background-color: #e5e5e5;
  3612. }
  3613. .nav > li > a > img {
  3614. max-width: none;
  3615. }
  3616. .nav-tabs {
  3617. border-bottom: 1px solid #ddd;
  3618. }
  3619. .nav-tabs > li {
  3620. float: left;
  3621. margin-bottom: -1px;
  3622. }
  3623. .nav-tabs > li > a {
  3624. margin-right: 2px;
  3625. line-height: 1.42857143;
  3626. border: 1px solid transparent;
  3627. border-radius: 4px 4px 0 0;
  3628. }
  3629. .nav-tabs > li > a:hover {
  3630. border-color: #eee #eee #ddd;
  3631. }
  3632. .nav-tabs > li.active > a,
  3633. .nav-tabs > li.active > a:hover,
  3634. .nav-tabs > li.active > a:focus {
  3635. color: #555;
  3636. cursor: default;
  3637. background-color: #fff;
  3638. border: 1px solid #ddd;
  3639. border-bottom-color: transparent;
  3640. }
  3641. .nav-tabs.nav-justified {
  3642. width: 100%;
  3643. border-bottom: 0;
  3644. }
  3645. .nav-tabs.nav-justified > li {
  3646. float: none;
  3647. }
  3648. .nav-tabs.nav-justified > li > a {
  3649. margin-bottom: 5px;
  3650. text-align: center;
  3651. }
  3652. .nav-tabs.nav-justified > .dropdown .dropdown-menu {
  3653. top: auto;
  3654. left: auto;
  3655. }
  3656. @media (min-width: 768px) {
  3657. .nav-tabs.nav-justified > li {
  3658. display: table-cell;
  3659. width: 1%;
  3660. }
  3661. .nav-tabs.nav-justified > li > a {
  3662. margin-bottom: 0;
  3663. }
  3664. }
  3665. .nav-tabs.nav-justified > li > a {
  3666. margin-right: 0;
  3667. border-radius: 4px;
  3668. }
  3669. .nav-tabs.nav-justified > .active > a,
  3670. .nav-tabs.nav-justified > .active > a:hover,
  3671. .nav-tabs.nav-justified > .active > a:focus {
  3672. border: 1px solid #ddd;
  3673. }
  3674. @media (min-width: 768px) {
  3675. .nav-tabs.nav-justified > li > a {
  3676. border-bottom: 1px solid #ddd;
  3677. border-radius: 4px 4px 0 0;
  3678. }
  3679. .nav-tabs.nav-justified > .active > a,
  3680. .nav-tabs.nav-justified > .active > a:hover,
  3681. .nav-tabs.nav-justified > .active > a:focus {
  3682. border-bottom-color: #fff;
  3683. }
  3684. }
  3685. .nav-pills > li {
  3686. float: left;
  3687. }
  3688. .nav-pills > li > a {
  3689. border-radius: 4px;
  3690. }
  3691. .nav-pills > li + li {
  3692. margin-left: 2px;
  3693. }
  3694. .nav-pills > li.active > a,
  3695. .nav-pills > li.active > a:hover,
  3696. .nav-pills > li.active > a:focus {
  3697. color: #fff;
  3698. background-color: #428bca;
  3699. }
  3700. .nav-stacked > li {
  3701. float: none;
  3702. }
  3703. .nav-stacked > li + li {
  3704. margin-top: 2px;
  3705. margin-left: 0;
  3706. }
  3707. .nav-justified {
  3708. width: 100%;
  3709. }
  3710. .nav-justified > li {
  3711. float: none;
  3712. }
  3713. .nav-justified > li > a {
  3714. margin-bottom: 5px;
  3715. text-align: center;
  3716. }
  3717. .nav-justified > .dropdown .dropdown-menu {
  3718. top: auto;
  3719. left: auto;
  3720. }
  3721. @media (min-width: 768px) {
  3722. .nav-justified > li {
  3723. display: table-cell;
  3724. width: 1%;
  3725. }
  3726. .nav-justified > li > a {
  3727. margin-bottom: 0;
  3728. }
  3729. }
  3730. .nav-tabs-justified {
  3731. border-bottom: 0;
  3732. }
  3733. .nav-tabs-justified > li > a {
  3734. margin-right: 0;
  3735. border-radius: 4px;
  3736. }
  3737. .nav-tabs-justified > .active > a,
  3738. .nav-tabs-justified > .active > a:hover,
  3739. .nav-tabs-justified > .active > a:focus {
  3740. border: 1px solid #ddd;
  3741. }
  3742. @media (min-width: 768px) {
  3743. .nav-tabs-justified > li > a {
  3744. border-bottom: 1px solid #ddd;
  3745. border-radius: 4px 4px 0 0;
  3746. }
  3747. .nav-tabs-justified > .active > a,
  3748. .nav-tabs-justified > .active > a:hover,
  3749. .nav-tabs-justified > .active > a:focus {
  3750. border-bottom-color: #fff;
  3751. }
  3752. }
  3753. .tab-content > .tab-pane {
  3754. display: none;
  3755. }
  3756. .tab-content > .active {
  3757. display: block;
  3758. }
  3759. .nav-tabs .dropdown-menu {
  3760. margin-top: -1px;
  3761. border-top-left-radius: 0;
  3762. border-top-right-radius: 0;
  3763. }
  3764. .navbar {
  3765. position: relative;
  3766. min-height: 50px;
  3767. margin-bottom: 20px;
  3768. border: 1px solid transparent;
  3769. }
  3770. @media (min-width: 768px) {
  3771. .navbar {
  3772. border-radius: 4px;
  3773. }
  3774. }
  3775. @media (min-width: 768px) {
  3776. .navbar-header {
  3777. float: left;
  3778. }
  3779. }
  3780. .navbar-collapse {
  3781. padding-right: 15px;
  3782. padding-left: 15px;
  3783. overflow-x: visible;
  3784. -webkit-overflow-scrolling: touch;
  3785. border-top: 1px solid transparent;
  3786. -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  3787. box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  3788. }
  3789. .navbar-collapse.in {
  3790. overflow-y: auto;
  3791. }
  3792. @media (min-width: 768px) {
  3793. .navbar-collapse {
  3794. width: auto;
  3795. border-top: 0;
  3796. -webkit-box-shadow: none;
  3797. box-shadow: none;
  3798. }
  3799. .navbar-collapse.collapse {
  3800. display: block !important;
  3801. height: auto !important;
  3802. padding-bottom: 0;
  3803. overflow: visible !important;
  3804. }
  3805. .navbar-collapse.in {
  3806. overflow-y: visible;
  3807. }
  3808. .navbar-fixed-top .navbar-collapse,
  3809. .navbar-static-top .navbar-collapse,
  3810. .navbar-fixed-bottom .navbar-collapse {
  3811. padding-right: 0;
  3812. padding-left: 0;
  3813. }
  3814. }
  3815. .navbar-fixed-top .navbar-collapse,
  3816. .navbar-fixed-bottom .navbar-collapse {
  3817. max-height: 340px;
  3818. }
  3819. @media (max-width: 480px) and (orientation: landscape) {
  3820. .navbar-fixed-top .navbar-collapse,
  3821. .navbar-fixed-bottom .navbar-collapse {
  3822. max-height: 200px;
  3823. }
  3824. }
  3825. .container > .navbar-header,
  3826. .container-fluid > .navbar-header,
  3827. .container > .navbar-collapse,
  3828. .container-fluid > .navbar-collapse {
  3829. margin-right: -15px;
  3830. margin-left: -15px;
  3831. }
  3832. @media (min-width: 768px) {
  3833. .container > .navbar-header,
  3834. .container-fluid > .navbar-header,
  3835. .container > .navbar-collapse,
  3836. .container-fluid > .navbar-collapse {
  3837. margin-right: 0;
  3838. margin-left: 0;
  3839. }
  3840. }
  3841. .navbar-static-top {
  3842. z-index: 1000;
  3843. border-width: 0 0 1px;
  3844. }
  3845. @media (min-width: 768px) {
  3846. .navbar-static-top {
  3847. border-radius: 0;
  3848. }
  3849. }
  3850. .navbar-fixed-top,
  3851. .navbar-fixed-bottom {
  3852. position: fixed;
  3853. right: 0;
  3854. left: 0;
  3855. z-index: 1030;
  3856. -webkit-transform: translate3d(0, 0, 0);
  3857. -o-transform: translate3d(0, 0, 0);
  3858. transform: translate3d(0, 0, 0);
  3859. }
  3860. @media (min-width: 768px) {
  3861. .navbar-fixed-top,
  3862. .navbar-fixed-bottom {
  3863. border-radius: 0;
  3864. }
  3865. }
  3866. .navbar-fixed-top {
  3867. top: 0;
  3868. border-width: 0 0 1px;
  3869. }
  3870. .navbar-fixed-bottom {
  3871. bottom: 0;
  3872. margin-bottom: 0;
  3873. border-width: 1px 0 0;
  3874. }
  3875. .navbar-brand {
  3876. float: left;
  3877. height: 50px;
  3878. padding: 15px 15px;
  3879. font-size: 18px;
  3880. line-height: 20px;
  3881. }
  3882. .navbar-brand:hover,
  3883. .navbar-brand:focus {
  3884. text-decoration: none;
  3885. }
  3886. @media (min-width: 768px) {
  3887. .navbar > .container .navbar-brand,
  3888. .navbar > .container-fluid .navbar-brand {
  3889. margin-left: -15px;
  3890. }
  3891. }
  3892. .navbar-toggle {
  3893. position: relative;
  3894. float: right;
  3895. padding: 9px 10px;
  3896. margin-top: 8px;
  3897. margin-right: 15px;
  3898. margin-bottom: 8px;
  3899. background-color: transparent;
  3900. background-image: none;
  3901. border: 1px solid transparent;
  3902. border-radius: 4px;
  3903. }
  3904. .navbar-toggle:focus {
  3905. outline: 0;
  3906. }
  3907. .navbar-toggle .icon-bar {
  3908. display: block;
  3909. width: 22px;
  3910. height: 2px;
  3911. border-radius: 1px;
  3912. }
  3913. .navbar-toggle .icon-bar + .icon-bar {
  3914. margin-top: 4px;
  3915. }
  3916. @media (min-width: 768px) {
  3917. .navbar-toggle {
  3918. display: none;
  3919. }
  3920. }
  3921. .navbar-nav {
  3922. margin: 7.5px -15px;
  3923. }
  3924. .navbar-nav > li > a {
  3925. padding-top: 10px;
  3926. padding-bottom: 10px;
  3927. line-height: 20px;
  3928. }
  3929. @media (max-width: 767px) {
  3930. .navbar-nav .open .dropdown-menu {
  3931. position: static;
  3932. float: none;
  3933. width: auto;
  3934. margin-top: 0;
  3935. background-color: transparent;
  3936. border: 0;
  3937. -webkit-box-shadow: none;
  3938. box-shadow: none;
  3939. }
  3940. .navbar-nav .open .dropdown-menu > li > a,
  3941. .navbar-nav .open .dropdown-menu .dropdown-header {
  3942. padding: 5px 15px 5px 25px;
  3943. }
  3944. .navbar-nav .open .dropdown-menu > li > a {
  3945. line-height: 20px;
  3946. }
  3947. .navbar-nav .open .dropdown-menu > li > a:hover,
  3948. .navbar-nav .open .dropdown-menu > li > a:focus {
  3949. background-image: none;
  3950. }
  3951. }
  3952. @media (min-width: 768px) {
  3953. .navbar-nav {
  3954. float: left;
  3955. margin: 0;
  3956. }
  3957. .navbar-nav > li {
  3958. float: left;
  3959. }
  3960. .navbar-nav > li > a {
  3961. padding-top: 15px;
  3962. padding-bottom: 15px;
  3963. }
  3964. .navbar-nav.navbar-right:last-child {
  3965. margin-right: -15px;
  3966. }
  3967. }
  3968. @media (min-width: 768px) {
  3969. .navbar-left {
  3970. float: left !important;
  3971. }
  3972. .navbar-right {
  3973. float: right !important;
  3974. }
  3975. }
  3976. .navbar-form {
  3977. padding: 10px 15px;
  3978. margin-top: 8px;
  3979. margin-right: -15px;
  3980. margin-bottom: 8px;
  3981. margin-left: -15px;
  3982. border-top: 1px solid transparent;
  3983. border-bottom: 1px solid transparent;
  3984. -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
  3985. box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
  3986. }
  3987. @media (min-width: 768px) {
  3988. .navbar-form .form-group {
  3989. display: inline-block;
  3990. margin-bottom: 0;
  3991. vertical-align: middle;
  3992. }
  3993. .navbar-form .form-control {
  3994. display: inline-block;
  3995. width: auto;
  3996. vertical-align: middle;
  3997. }
  3998. .navbar-form .input-group {
  3999. display: inline-table;
  4000. vertical-align: middle;
  4001. }
  4002. .navbar-form .input-group .input-group-addon,
  4003. .navbar-form .input-group .input-group-btn,
  4004. .navbar-form .input-group .form-control {
  4005. width: auto;
  4006. }
  4007. .navbar-form .input-group > .form-control {
  4008. width: 100%;
  4009. }
  4010. .navbar-form .control-label {
  4011. margin-bottom: 0;
  4012. vertical-align: middle;
  4013. }
  4014. .navbar-form .radio,
  4015. .navbar-form .checkbox {
  4016. display: inline-block;
  4017. margin-top: 0;
  4018. margin-bottom: 0;
  4019. vertical-align: middle;
  4020. }
  4021. .navbar-form .radio label,
  4022. .navbar-form .checkbox label {
  4023. padding-left: 0;
  4024. }
  4025. .navbar-form .radio input[type="radio"],
  4026. .navbar-form .checkbox input[type="checkbox"] {
  4027. position: relative;
  4028. margin-left: 0;
  4029. }
  4030. .navbar-form .has-feedback .form-control-feedback {
  4031. top: 0;
  4032. }
  4033. }
  4034. @media (max-width: 767px) {
  4035. .navbar-form .form-group {
  4036. margin-bottom: 5px;
  4037. }
  4038. }
  4039. @media (min-width: 768px) {
  4040. .navbar-form {
  4041. width: auto;
  4042. padding-top: 0;
  4043. padding-bottom: 0;
  4044. margin-right: 0;
  4045. margin-left: 0;
  4046. border: 0;
  4047. -webkit-box-shadow: none;
  4048. box-shadow: none;
  4049. }
  4050. .navbar-form.navbar-right:last-child {
  4051. margin-right: -15px;
  4052. }
  4053. }
  4054. .navbar-nav > li > .dropdown-menu {
  4055. margin-top: 0;
  4056. border-top-left-radius: 0;
  4057. border-top-right-radius: 0;
  4058. }
  4059. .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
  4060. border-bottom-right-radius: 0;
  4061. border-bottom-left-radius: 0;
  4062. }
  4063. .navbar-btn {
  4064. margin-top: 8px;
  4065. margin-bottom: 8px;
  4066. }
  4067. .navbar-btn.btn-sm {
  4068. margin-top: 10px;
  4069. margin-bottom: 10px;
  4070. }
  4071. .navbar-btn.btn-xs {
  4072. margin-top: 14px;
  4073. margin-bottom: 14px;
  4074. }
  4075. .navbar-text {
  4076. margin-top: 15px;
  4077. margin-bottom: 15px;
  4078. }
  4079. @media (min-width: 768px) {
  4080. .navbar-text {
  4081. float: left;
  4082. margin-right: 15px;
  4083. margin-left: 15px;
  4084. }
  4085. .navbar-text.navbar-right:last-child {
  4086. margin-right: 0;
  4087. }
  4088. }
  4089. .navbar-default {
  4090. background-color: #f8f8f8;
  4091. border-color: #e7e7e7;
  4092. }
  4093. .navbar-default .navbar-brand {
  4094. color: #777;
  4095. }
  4096. .navbar-default .navbar-brand:hover,
  4097. .navbar-default .navbar-brand:focus {
  4098. color: #5e5e5e;
  4099. background-color: transparent;
  4100. }
  4101. .navbar-default .navbar-text {
  4102. color: #777;
  4103. }
  4104. .navbar-default .navbar-nav > li > a {
  4105. color: #777;
  4106. }
  4107. .navbar-default .navbar-nav > li > a:hover,
  4108. .navbar-default .navbar-nav > li > a:focus {
  4109. color: #333;
  4110. background-color: transparent;
  4111. }
  4112. .navbar-default .navbar-nav > .active > a,
  4113. .navbar-default .navbar-nav > .active > a:hover,
  4114. .navbar-default .navbar-nav > .active > a:focus {
  4115. color: #555;
  4116. background-color: #e7e7e7;
  4117. }
  4118. .navbar-default .navbar-nav > .disabled > a,
  4119. .navbar-default .navbar-nav > .disabled > a:hover,
  4120. .navbar-default .navbar-nav > .disabled > a:focus {
  4121. color: #ccc;
  4122. background-color: transparent;
  4123. }
  4124. .navbar-default .navbar-toggle {
  4125. border-color: #ddd;
  4126. }
  4127. .navbar-default .navbar-toggle:hover,
  4128. .navbar-default .navbar-toggle:focus {
  4129. background-color: #ddd;
  4130. }
  4131. .navbar-default .navbar-toggle .icon-bar {
  4132. background-color: #888;
  4133. }
  4134. .navbar-default .navbar-collapse,
  4135. .navbar-default .navbar-form {
  4136. border-color: #e7e7e7;
  4137. }
  4138. .navbar-default .navbar-nav > .open > a,
  4139. .navbar-default .navbar-nav > .open > a:hover,
  4140. .navbar-default .navbar-nav > .open > a:focus {
  4141. color: #555;
  4142. background-color: #e7e7e7;
  4143. }
  4144. @media (max-width: 767px) {
  4145. .navbar-default .navbar-nav .open .dropdown-menu > li > a {
  4146. color: #777;
  4147. }
  4148. .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  4149. .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
  4150. color: #333;
  4151. background-color: transparent;
  4152. }
  4153. .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  4154. .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
  4155. .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
  4156. color: #555;
  4157. background-color: #e7e7e7;
  4158. }
  4159. .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
  4160. .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  4161. .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
  4162. color: #ccc;
  4163. background-color: transparent;
  4164. }
  4165. }
  4166. .navbar-default .navbar-link {
  4167. color: #777;
  4168. }
  4169. .navbar-default .navbar-link:hover {
  4170. color: #333;
  4171. }
  4172. .navbar-default .btn-link {
  4173. color: #777;
  4174. }
  4175. .navbar-default .btn-link:hover,
  4176. .navbar-default .btn-link:focus {
  4177. color: #333;
  4178. }
  4179. .navbar-default .btn-link[disabled]:hover,
  4180. fieldset[disabled] .navbar-default .btn-link:hover,
  4181. .navbar-default .btn-link[disabled]:focus,
  4182. fieldset[disabled] .navbar-default .btn-link:focus {
  4183. color: #ccc;
  4184. }
  4185. .navbar-inverse {
  4186. background-color: #222;
  4187. border-color: #080808;
  4188. }
  4189. .navbar-inverse .navbar-brand {
  4190. color: #777;
  4191. }
  4192. .navbar-inverse .navbar-brand:hover,
  4193. .navbar-inverse .navbar-brand:focus {
  4194. color: #fff;
  4195. background-color: transparent;
  4196. }
  4197. .navbar-inverse .navbar-text {
  4198. color: #777;
  4199. }
  4200. .navbar-inverse .navbar-nav > li > a {
  4201. color: #777;
  4202. }
  4203. .navbar-inverse .navbar-nav > li > a:hover,
  4204. .navbar-inverse .navbar-nav > li > a:focus {
  4205. color: #fff;
  4206. background-color: transparent;
  4207. }
  4208. .navbar-inverse .navbar-nav > .active > a,
  4209. .navbar-inverse .navbar-nav > .active > a:hover,
  4210. .navbar-inverse .navbar-nav > .active > a:focus {
  4211. color: #fff;
  4212. background-color: #080808;
  4213. }
  4214. .navbar-inverse .navbar-nav > .disabled > a,
  4215. .navbar-inverse .navbar-nav > .disabled > a:hover,
  4216. .navbar-inverse .navbar-nav > .disabled > a:focus {
  4217. color: #444;
  4218. background-color: transparent;
  4219. }
  4220. .navbar-inverse .navbar-toggle {
  4221. border-color: #333;
  4222. }
  4223. .navbar-inverse .navbar-toggle:hover,
  4224. .navbar-inverse .navbar-toggle:focus {
  4225. background-color: #333;
  4226. }
  4227. .navbar-inverse .navbar-toggle .icon-bar {
  4228. background-color: #fff;
  4229. }
  4230. .navbar-inverse .navbar-collapse,
  4231. .navbar-inverse .navbar-form {
  4232. border-color: #101010;
  4233. }
  4234. .navbar-inverse .navbar-nav > .open > a,
  4235. .navbar-inverse .navbar-nav > .open > a:hover,
  4236. .navbar-inverse .navbar-nav > .open > a:focus {
  4237. color: #fff;
  4238. background-color: #080808;
  4239. }
  4240. @media (max-width: 767px) {
  4241. .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
  4242. border-color: #080808;
  4243. }
  4244. .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
  4245. background-color: #080808;
  4246. }
  4247. .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
  4248. color: #777;
  4249. }
  4250. .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
  4251. .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
  4252. color: #fff;
  4253. background-color: transparent;
  4254. }
  4255. .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
  4256. .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
  4257. .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
  4258. color: #fff;
  4259. background-color: #080808;
  4260. }
  4261. .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
  4262. .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  4263. .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
  4264. color: #444;
  4265. background-color: transparent;
  4266. }
  4267. }
  4268. .navbar-inverse .navbar-link {
  4269. color: #777;
  4270. }
  4271. .navbar-inverse .navbar-link:hover {
  4272. color: #fff;
  4273. }
  4274. .navbar-inverse .btn-link {
  4275. color: #777;
  4276. }
  4277. .navbar-inverse .btn-link:hover,
  4278. .navbar-inverse .btn-link:focus {
  4279. color: #fff;
  4280. }
  4281. .navbar-inverse .btn-link[disabled]:hover,
  4282. fieldset[disabled] .navbar-inverse .btn-link:hover,
  4283. .navbar-inverse .btn-link[disabled]:focus,
  4284. fieldset[disabled] .navbar-inverse .btn-link:focus {
  4285. color: #444;
  4286. }
  4287. .breadcrumb {
  4288. padding: 8px 15px;
  4289. margin-bottom: 20px;
  4290. list-style: none;
  4291. background-color: #f5f5f5;
  4292. border-radius: 4px;
  4293. }
  4294. .breadcrumb > li {
  4295. display: inline-block;
  4296. }
  4297. .breadcrumb > li + li:before {
  4298. padding: 0 5px;
  4299. color: #ccc;
  4300. content: "/\00a0";
  4301. }
  4302. .breadcrumb > .active {
  4303. color: #777;
  4304. }
  4305. .pagination {
  4306. display: inline-block;
  4307. padding-left: 0;
  4308. margin: 20px 0;
  4309. border-radius: 4px;
  4310. }
  4311. .pagination > li {
  4312. display: inline;
  4313. }
  4314. .pagination > li > a,
  4315. .pagination > li > span {
  4316. position: relative;
  4317. float: left;
  4318. padding: 6px 12px;
  4319. margin-left: -1px;
  4320. line-height: 1.42857143;
  4321. color: #428bca;
  4322. text-decoration: none;
  4323. background-color: #fff;
  4324. border: 1px solid #ddd;
  4325. }
  4326. .pagination > li:first-child > a,
  4327. .pagination > li:first-child > span {
  4328. margin-left: 0;
  4329. border-top-left-radius: 4px;
  4330. border-bottom-left-radius: 4px;
  4331. }
  4332. .pagination > li:last-child > a,
  4333. .pagination > li:last-child > span {
  4334. border-top-right-radius: 4px;
  4335. border-bottom-right-radius: 4px;
  4336. }
  4337. .pagination > li > a:hover,
  4338. .pagination > li > span:hover,
  4339. .pagination > li > a:focus,
  4340. .pagination > li > span:focus {
  4341. color: #2a6496;
  4342. background-color: #eee;
  4343. border-color: #ddd;
  4344. }
  4345. .pagination > .active > a,
  4346. .pagination > .active > span,
  4347. .pagination > .active > a:hover,
  4348. .pagination > .active > span:hover,
  4349. .pagination > .active > a:focus,
  4350. .pagination > .active > span:focus {
  4351. z-index: 2;
  4352. color: #fff;
  4353. cursor: default;
  4354. background-color: #428bca;
  4355. border-color: #428bca;
  4356. }
  4357. .pagination > .disabled > span,
  4358. .pagination > .disabled > span:hover,
  4359. .pagination > .disabled > span:focus,
  4360. .pagination > .disabled > a,
  4361. .pagination > .disabled > a:hover,
  4362. .pagination > .disabled > a:focus {
  4363. color: #777;
  4364. cursor: not-allowed;
  4365. background-color: #fff;
  4366. border-color: #ddd;
  4367. }
  4368. .pagination-lg > li > a,
  4369. .pagination-lg > li > span {
  4370. padding: 10px 16px;
  4371. font-size: 18px;
  4372. }
  4373. .pagination-lg > li:first-child > a,
  4374. .pagination-lg > li:first-child > span {
  4375. border-top-left-radius: 6px;
  4376. border-bottom-left-radius: 6px;
  4377. }
  4378. .pagination-lg > li:last-child > a,
  4379. .pagination-lg > li:last-child > span {
  4380. border-top-right-radius: 6px;
  4381. border-bottom-right-radius: 6px;
  4382. }
  4383. .pagination-sm > li > a,
  4384. .pagination-sm > li > span {
  4385. padding: 5px 10px;
  4386. font-size: 12px;
  4387. }
  4388. .pagination-sm > li:first-child > a,
  4389. .pagination-sm > li:first-child > span {
  4390. border-top-left-radius: 3px;
  4391. border-bottom-left-radius: 3px;
  4392. }
  4393. .pagination-sm > li:last-child > a,
  4394. .pagination-sm > li:last-child > span {
  4395. border-top-right-radius: 3px;
  4396. border-bottom-right-radius: 3px;
  4397. }
  4398. .pager {
  4399. padding-left: 0;
  4400. margin: 20px 0;
  4401. text-align: center;
  4402. list-style: none;
  4403. }
  4404. .pager li {
  4405. display: inline;
  4406. }
  4407. .pager li > a,
  4408. .pager li > span {
  4409. display: inline-block;
  4410. padding: 5px 14px;
  4411. background-color: #fff;
  4412. border: 1px solid #ddd;
  4413. border-radius: 15px;
  4414. }
  4415. .pager li > a:hover,
  4416. .pager li > a:focus {
  4417. text-decoration: none;
  4418. background-color: #eee;
  4419. }
  4420. .pager .next > a,
  4421. .pager .next > span {
  4422. float: right;
  4423. }
  4424. .pager .previous > a,
  4425. .pager .previous > span {
  4426. float: left;
  4427. }
  4428. .pager .disabled > a,
  4429. .pager .disabled > a:hover,
  4430. .pager .disabled > a:focus,
  4431. .pager .disabled > span {
  4432. color: #777;
  4433. cursor: not-allowed;
  4434. background-color: #fff;
  4435. }
  4436. .label {
  4437. display: inline;
  4438. padding: .2em .6em .3em;
  4439. font-size: 75%;
  4440. font-weight: bold;
  4441. line-height: 1;
  4442. color: #fff;
  4443. text-align: center;
  4444. white-space: nowrap;
  4445. vertical-align: baseline;
  4446. border-radius: .25em;
  4447. }
  4448. a.label:hover,
  4449. a.label:focus {
  4450. color: #fff;
  4451. text-decoration: none;
  4452. cursor: pointer;
  4453. }
  4454. .label:empty {
  4455. display: none;
  4456. }
  4457. .btn .label {
  4458. position: relative;
  4459. top: -1px;
  4460. }
  4461. .label-default {
  4462. background-color: #777;
  4463. }
  4464. .label-default[href]:hover,
  4465. .label-default[href]:focus {
  4466. background-color: #5e5e5e;
  4467. }
  4468. .label-primary {
  4469. background-color: #428bca;
  4470. }
  4471. .label-primary[href]:hover,
  4472. .label-primary[href]:focus {
  4473. background-color: #3071a9;
  4474. }
  4475. .label-success {
  4476. background-color: #5cb85c;
  4477. }
  4478. .label-success[href]:hover,
  4479. .label-success[href]:focus {
  4480. background-color: #449d44;
  4481. }
  4482. .label-info {
  4483. background-color: #5bc0de;
  4484. }
  4485. .label-info[href]:hover,
  4486. .label-info[href]:focus {
  4487. background-color: #31b0d5;
  4488. }
  4489. .label-warning {
  4490. background-color: #f0ad4e;
  4491. }
  4492. .label-warning[href]:hover,
  4493. .label-warning[href]:focus {
  4494. background-color: #ec971f;
  4495. }
  4496. .label-danger {
  4497. background-color: #d9534f;
  4498. }
  4499. .label-danger[href]:hover,
  4500. .label-danger[href]:focus {
  4501. background-color: #c9302c;
  4502. }
  4503. .badge {
  4504. display: inline-block;
  4505. min-width: 10px;
  4506. padding: 3px 7px;
  4507. font-size: 12px;
  4508. font-weight: bold;
  4509. line-height: 1;
  4510. color: #fff;
  4511. text-align: center;
  4512. white-space: nowrap;
  4513. vertical-align: baseline;
  4514. background-color: #777;
  4515. border-radius: 10px;
  4516. }
  4517. .badge:empty {
  4518. display: none;
  4519. }
  4520. .btn .badge {
  4521. position: relative;
  4522. top: -1px;
  4523. }
  4524. .btn-xs .badge {
  4525. top: 0;
  4526. padding: 1px 5px;
  4527. }
  4528. a.badge:hover,
  4529. a.badge:focus {
  4530. color: #fff;
  4531. text-decoration: none;
  4532. cursor: pointer;
  4533. }
  4534. a.list-group-item.active > .badge,
  4535. .nav-pills > .active > a > .badge {
  4536. color: #428bca;
  4537. background-color: #fff;
  4538. }
  4539. .nav-pills > li > a > .badge {
  4540. margin-left: 3px;
  4541. }
  4542. .jumbotron {
  4543. padding: 30px;
  4544. margin-bottom: 30px;
  4545. color: inherit;
  4546. background-color: #eee;
  4547. }
  4548. .jumbotron h1,
  4549. .jumbotron .h1 {
  4550. color: inherit;
  4551. }
  4552. .jumbotron p {
  4553. margin-bottom: 15px;
  4554. font-size: 21px;
  4555. font-weight: 200;
  4556. }
  4557. .jumbotron > hr {
  4558. border-top-color: #d5d5d5;
  4559. }
  4560. .container .jumbotron {
  4561. border-radius: 6px;
  4562. }
  4563. .jumbotron .container {
  4564. max-width: 100%;
  4565. }
  4566. @media screen and (min-width: 768px) {
  4567. .jumbotron {
  4568. padding-top: 48px;
  4569. padding-bottom: 48px;
  4570. }
  4571. .container .jumbotron {
  4572. padding-right: 60px;
  4573. padding-left: 60px;
  4574. }
  4575. .jumbotron h1,
  4576. .jumbotron .h1 {
  4577. font-size: 63px;
  4578. }
  4579. }
  4580. .thumbnail {
  4581. display: block;
  4582. padding: 4px;
  4583. margin-bottom: 20px;
  4584. line-height: 1.42857143;
  4585. background-color: #fff;
  4586. border: 1px solid #ddd;
  4587. border-radius: 4px;
  4588. -webkit-transition: all .2s ease-in-out;
  4589. -o-transition: all .2s ease-in-out;
  4590. transition: all .2s ease-in-out;
  4591. }
  4592. .thumbnail > img,
  4593. .thumbnail a > img {
  4594. margin-right: auto;
  4595. margin-left: auto;
  4596. }
  4597. a.thumbnail:hover,
  4598. a.thumbnail:focus,
  4599. a.thumbnail.active {
  4600. border-color: #428bca;
  4601. }
  4602. .thumbnail .caption {
  4603. padding: 9px;
  4604. color: #333;
  4605. }
  4606. .alert {
  4607. padding: 15px;
  4608. margin-bottom: 20px;
  4609. border: 1px solid transparent;
  4610. border-radius: 4px;
  4611. }
  4612. .alert h4 {
  4613. margin-top: 0;
  4614. color: inherit;
  4615. }
  4616. .alert .alert-link {
  4617. font-weight: bold;
  4618. }
  4619. .alert > p,
  4620. .alert > ul {
  4621. margin-bottom: 0;
  4622. }
  4623. .alert > p + p {
  4624. margin-top: 5px;
  4625. }
  4626. .alert-dismissable,
  4627. .alert-dismissible {
  4628. padding-right: 35px;
  4629. }
  4630. .alert-dismissable .close,
  4631. .alert-dismissible .close {
  4632. position: relative;
  4633. top: -2px;
  4634. right: -21px;
  4635. color: inherit;
  4636. }
  4637. .alert-success {
  4638. color: #3c763d;
  4639. background-color: #dff0d8;
  4640. border-color: #d6e9c6;
  4641. }
  4642. .alert-success hr {
  4643. border-top-color: #c9e2b3;
  4644. }
  4645. .alert-success .alert-link {
  4646. color: #2b542c;
  4647. }
  4648. .alert-info {
  4649. color: #31708f;
  4650. background-color: #d9edf7;
  4651. border-color: #bce8f1;
  4652. }
  4653. .alert-info hr {
  4654. border-top-color: #a6e1ec;
  4655. }
  4656. .alert-info .alert-link {
  4657. color: #245269;
  4658. }
  4659. .alert-warning {
  4660. color: #8a6d3b;
  4661. background-color: #fcf8e3;
  4662. border-color: #faebcc;
  4663. }
  4664. .alert-warning hr {
  4665. border-top-color: #f7e1b5;
  4666. }
  4667. .alert-warning .alert-link {
  4668. color: #66512c;
  4669. }
  4670. .alert-danger {
  4671. color: #a94442;
  4672. background-color: #f2dede;
  4673. border-color: #ebccd1;
  4674. }
  4675. .alert-danger hr {
  4676. border-top-color: #e4b9c0;
  4677. }
  4678. .alert-danger .alert-link {
  4679. color: #843534;
  4680. }
  4681. @-webkit-keyframes progress-bar-stripes {
  4682. from {
  4683. background-position: 40px 0;
  4684. }
  4685. to {
  4686. background-position: 0 0;
  4687. }
  4688. }
  4689. @-o-keyframes progress-bar-stripes {
  4690. from {
  4691. background-position: 40px 0;
  4692. }
  4693. to {
  4694. background-position: 0 0;
  4695. }
  4696. }
  4697. @keyframes progress-bar-stripes {
  4698. from {
  4699. background-position: 40px 0;
  4700. }
  4701. to {
  4702. background-position: 0 0;
  4703. }
  4704. }
  4705. .progress {
  4706. height: 20px;
  4707. margin-bottom: 20px;
  4708. overflow: hidden;
  4709. background-color: #f5f5f5;
  4710. border-radius: 4px;
  4711. -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
  4712. box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
  4713. }
  4714. .progress-bar {
  4715. float: left;
  4716. width: 0;
  4717. height: 100%;
  4718. font-size: 12px;
  4719. line-height: 20px;
  4720. color: #fff;
  4721. text-align: center;
  4722. background-color: #428bca;
  4723. -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
  4724. box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
  4725. -webkit-transition: width .6s ease;
  4726. -o-transition: width .6s ease;
  4727. transition: width .6s ease;
  4728. }
  4729. .progress-striped .progress-bar,
  4730. .progress-bar-striped {
  4731. background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  4732. background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  4733. background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  4734. -webkit-background-size: 40px 40px;
  4735. background-size: 40px 40px;
  4736. }
  4737. .progress.active .progress-bar,
  4738. .progress-bar.active {
  4739. -webkit-animation: progress-bar-stripes 2s linear infinite;
  4740. -o-animation: progress-bar-stripes 2s linear infinite;
  4741. animation: progress-bar-stripes 2s linear infinite;
  4742. }
  4743. .progress-bar[aria-valuenow="1"],
  4744. .progress-bar[aria-valuenow="2"] {
  4745. min-width: 30px;
  4746. }
  4747. .progress-bar[aria-valuenow="0"] {
  4748. min-width: 30px;
  4749. color: #777;
  4750. background-color: transparent;
  4751. background-image: none;
  4752. -webkit-box-shadow: none;
  4753. box-shadow: none;
  4754. }
  4755. .progress-bar-success {
  4756. background-color: #5cb85c;
  4757. }
  4758. .progress-striped .progress-bar-success {
  4759. background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  4760. background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  4761. background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  4762. }
  4763. .progress-bar-info {
  4764. background-color: #5bc0de;
  4765. }
  4766. .progress-striped .progress-bar-info {
  4767. background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  4768. background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  4769. background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  4770. }
  4771. .progress-bar-warning {
  4772. background-color: #f0ad4e;
  4773. }
  4774. .progress-striped .progress-bar-warning {
  4775. background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  4776. background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  4777. background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  4778. }
  4779. .progress-bar-danger {
  4780. background-color: #d9534f;
  4781. }
  4782. .progress-striped .progress-bar-danger {
  4783. background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  4784. background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  4785. background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  4786. }
  4787. .media,
  4788. .media-body {
  4789. overflow: hidden;
  4790. zoom: 1;
  4791. }
  4792. .media,
  4793. .media .media {
  4794. margin-top: 15px;
  4795. }
  4796. .media:first-child {
  4797. margin-top: 0;
  4798. }
  4799. .media-object {
  4800. display: block;
  4801. }
  4802. .media-heading {
  4803. margin: 0 0 5px;
  4804. }
  4805. .media > .pull-left {
  4806. margin-right: 10px;
  4807. }
  4808. .media > .pull-right {
  4809. margin-left: 10px;
  4810. }
  4811. .media-list {
  4812. padding-left: 0;
  4813. list-style: none;
  4814. }
  4815. .list-group {
  4816. padding-left: 0;
  4817. margin-bottom: 20px;
  4818. }
  4819. .list-group-item {
  4820. position: relative;
  4821. display: block;
  4822. padding: 10px 15px;
  4823. margin-bottom: -1px;
  4824. background-color: #fff;
  4825. border: 1px solid #ddd;
  4826. }
  4827. .list-group-item:first-child {
  4828. border-top-left-radius: 4px;
  4829. border-top-right-radius: 4px;
  4830. }
  4831. .list-group-item:last-child {
  4832. margin-bottom: 0;
  4833. border-bottom-right-radius: 4px;
  4834. border-bottom-left-radius: 4px;
  4835. }
  4836. .list-group-item > .badge {
  4837. float: right;
  4838. }
  4839. .list-group-item > .badge + .badge {
  4840. margin-right: 5px;
  4841. }
  4842. a.list-group-item {
  4843. color: #555;
  4844. }
  4845. a.list-group-item .list-group-item-heading {
  4846. color: #333;
  4847. }
  4848. a.list-group-item:hover,
  4849. a.list-group-item:focus {
  4850. color: #555;
  4851. text-decoration: none;
  4852. background-color: #f5f5f5;
  4853. }
  4854. .list-group-item.disabled,
  4855. .list-group-item.disabled:hover,
  4856. .list-group-item.disabled:focus {
  4857. color: #777;
  4858. background-color: #eee;
  4859. }
  4860. .list-group-item.disabled .list-group-item-heading,
  4861. .list-group-item.disabled:hover .list-group-item-heading,
  4862. .list-group-item.disabled:focus .list-group-item-heading {
  4863. color: inherit;
  4864. }
  4865. .list-group-item.disabled .list-group-item-text,
  4866. .list-group-item.disabled:hover .list-group-item-text,
  4867. .list-group-item.disabled:focus .list-group-item-text {
  4868. color: #777;
  4869. }
  4870. .list-group-item.active,
  4871. .list-group-item.active:hover,
  4872. .list-group-item.active:focus {
  4873. z-index: 2;
  4874. color: #fff;
  4875. background-color: #428bca;
  4876. border-color: #428bca;
  4877. }
  4878. .list-group-item.active .list-group-item-heading,
  4879. .list-group-item.active:hover .list-group-item-heading,
  4880. .list-group-item.active:focus .list-group-item-heading,
  4881. .list-group-item.active .list-group-item-heading > small,
  4882. .list-group-item.active:hover .list-group-item-heading > small,
  4883. .list-group-item.active:focus .list-group-item-heading > small,
  4884. .list-group-item.active .list-group-item-heading > .small,
  4885. .list-group-item.active:hover .list-group-item-heading > .small,
  4886. .list-group-item.active:focus .list-group-item-heading > .small {
  4887. color: inherit;
  4888. }
  4889. .list-group-item.active .list-group-item-text,
  4890. .list-group-item.active:hover .list-group-item-text,
  4891. .list-group-item.active:focus .list-group-item-text {
  4892. color: #e1edf7;
  4893. }
  4894. .list-group-item-success {
  4895. color: #3c763d;
  4896. background-color: #dff0d8;
  4897. }
  4898. a.list-group-item-success {
  4899. color: #3c763d;
  4900. }
  4901. a.list-group-item-success .list-group-item-heading {
  4902. color: inherit;
  4903. }
  4904. a.list-group-item-success:hover,
  4905. a.list-group-item-success:focus {
  4906. color: #3c763d;
  4907. background-color: #d0e9c6;
  4908. }
  4909. a.list-group-item-success.active,
  4910. a.list-group-item-success.active:hover,
  4911. a.list-group-item-success.active:focus {
  4912. color: #fff;
  4913. background-color: #3c763d;
  4914. border-color: #3c763d;
  4915. }
  4916. .list-group-item-info {
  4917. color: #31708f;
  4918. background-color: #d9edf7;
  4919. }
  4920. a.list-group-item-info {
  4921. color: #31708f;
  4922. }
  4923. a.list-group-item-info .list-group-item-heading {
  4924. color: inherit;
  4925. }
  4926. a.list-group-item-info:hover,
  4927. a.list-group-item-info:focus {
  4928. color: #31708f;
  4929. background-color: #c4e3f3;
  4930. }
  4931. a.list-group-item-info.active,
  4932. a.list-group-item-info.active:hover,
  4933. a.list-group-item-info.active:focus {
  4934. color: #fff;
  4935. background-color: #31708f;
  4936. border-color: #31708f;
  4937. }
  4938. .list-group-item-warning {
  4939. color: #8a6d3b;
  4940. background-color: #fcf8e3;
  4941. }
  4942. a.list-group-item-warning {
  4943. color: #8a6d3b;
  4944. }
  4945. a.list-group-item-warning .list-group-item-heading {
  4946. color: inherit;
  4947. }
  4948. a.list-group-item-warning:hover,
  4949. a.list-group-item-warning:focus {
  4950. color: #8a6d3b;
  4951. background-color: #faf2cc;
  4952. }
  4953. a.list-group-item-warning.active,
  4954. a.list-group-item-warning.active:hover,
  4955. a.list-group-item-warning.active:focus {
  4956. color: #fff;
  4957. background-color: #8a6d3b;
  4958. border-color: #8a6d3b;
  4959. }
  4960. .list-group-item-danger {
  4961. color: #a94442;
  4962. background-color: #f2dede;
  4963. }
  4964. a.list-group-item-danger {
  4965. color: #a94442;
  4966. }
  4967. a.list-group-item-danger .list-group-item-heading {
  4968. color: inherit;
  4969. }
  4970. a.list-group-item-danger:hover,
  4971. a.list-group-item-danger:focus {
  4972. color: #a94442;
  4973. background-color: #ebcccc;
  4974. }
  4975. a.list-group-item-danger.active,
  4976. a.list-group-item-danger.active:hover,
  4977. a.list-group-item-danger.active:focus {
  4978. color: #fff;
  4979. background-color: #a94442;
  4980. border-color: #a94442;
  4981. }
  4982. .list-group-item-heading {
  4983. margin-top: 0;
  4984. margin-bottom: 5px;
  4985. }
  4986. .list-group-item-text {
  4987. margin-bottom: 0;
  4988. line-height: 1.3;
  4989. }
  4990. .panel {
  4991. margin-bottom: 20px;
  4992. background-color: #fff;
  4993. border: 1px solid transparent;
  4994. border-radius: 4px;
  4995. -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  4996. box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  4997. }
  4998. .panel-body {
  4999. padding: 15px;
  5000. }
  5001. .panel-heading {
  5002. padding: 10px 15px;
  5003. border-bottom: 1px solid transparent;
  5004. border-top-left-radius: 3px;
  5005. border-top-right-radius: 3px;
  5006. }
  5007. .panel-heading > .dropdown .dropdown-toggle {
  5008. color: inherit;
  5009. }
  5010. .panel-title {
  5011. margin-top: 0;
  5012. margin-bottom: 0;
  5013. font-size: 16px;
  5014. color: inherit;
  5015. }
  5016. .panel-title > a {
  5017. color: inherit;
  5018. }
  5019. .panel-footer {
  5020. padding: 10px 15px;
  5021. background-color: #f5f5f5;
  5022. border-top: 1px solid #ddd;
  5023. border-bottom-right-radius: 3px;
  5024. border-bottom-left-radius: 3px;
  5025. }
  5026. .panel > .list-group {
  5027. margin-bottom: 0;
  5028. }
  5029. .panel > .list-group .list-group-item {
  5030. border-width: 1px 0;
  5031. border-radius: 0;
  5032. }
  5033. .panel > .list-group:first-child .list-group-item:first-child {
  5034. border-top: 0;
  5035. border-top-left-radius: 3px;
  5036. border-top-right-radius: 3px;
  5037. }
  5038. .panel > .list-group:last-child .list-group-item:last-child {
  5039. border-bottom: 0;
  5040. border-bottom-right-radius: 3px;
  5041. border-bottom-left-radius: 3px;
  5042. }
  5043. .panel-heading + .list-group .list-group-item:first-child {
  5044. border-top-width: 0;
  5045. }
  5046. .list-group + .panel-footer {
  5047. border-top-width: 0;
  5048. }
  5049. .panel > .table,
  5050. .panel > .table-responsive > .table,
  5051. .panel > .panel-collapse > .table {
  5052. margin-bottom: 0;
  5053. }
  5054. .panel > .table:first-child,
  5055. .panel > .table-responsive:first-child > .table:first-child {
  5056. border-top-left-radius: 3px;
  5057. border-top-right-radius: 3px;
  5058. }
  5059. .panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
  5060. .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
  5061. .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,
  5062. .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
  5063. .panel > .table:first-child > thead:first-child > tr:first-child th:first-child,
  5064. .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
  5065. .panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,
  5066. .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
  5067. border-top-left-radius: 3px;
  5068. }
  5069. .panel > .table:first-child > thead:first-child > tr:first-child td:last-child,
  5070. .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
  5071. .panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,
  5072. .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
  5073. .panel > .table:first-child > thead:first-child > tr:first-child th:last-child,
  5074. .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
  5075. .panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,
  5076. .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
  5077. border-top-right-radius: 3px;
  5078. }
  5079. .panel > .table:last-child,
  5080. .panel > .table-responsive:last-child > .table:last-child {
  5081. border-bottom-right-radius: 3px;
  5082. border-bottom-left-radius: 3px;
  5083. }
  5084. .panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
  5085. .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
  5086. .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
  5087. .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
  5088. .panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,
  5089. .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
  5090. .panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
  5091. .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
  5092. border-bottom-left-radius: 3px;
  5093. }
  5094. .panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,
  5095. .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
  5096. .panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
  5097. .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
  5098. .panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,
  5099. .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
  5100. .panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
  5101. .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
  5102. border-bottom-right-radius: 3px;
  5103. }
  5104. .panel > .panel-body + .table,
  5105. .panel > .panel-body + .table-responsive {
  5106. border-top: 1px solid #ddd;
  5107. }
  5108. .panel > .table > tbody:first-child > tr:first-child th,
  5109. .panel > .table > tbody:first-child > tr:first-child td {
  5110. border-top: 0;
  5111. }
  5112. .panel > .table-bordered,
  5113. .panel > .table-responsive > .table-bordered {
  5114. border: 0;
  5115. }
  5116. .panel > .table-bordered > thead > tr > th:first-child,
  5117. .panel > .table-responsive > .table-bordered > thead > tr > th:first-child,
  5118. .panel > .table-bordered > tbody > tr > th:first-child,
  5119. .panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
  5120. .panel > .table-bordered > tfoot > tr > th:first-child,
  5121. .panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
  5122. .panel > .table-bordered > thead > tr > td:first-child,
  5123. .panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
  5124. .panel > .table-bordered > tbody > tr > td:first-child,
  5125. .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
  5126. .panel > .table-bordered > tfoot > tr > td:first-child,
  5127. .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
  5128. border-left: 0;
  5129. }
  5130. .panel > .table-bordered > thead > tr > th:last-child,
  5131. .panel > .table-responsive > .table-bordered > thead > tr > th:last-child,
  5132. .panel > .table-bordered > tbody > tr > th:last-child,
  5133. .panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
  5134. .panel > .table-bordered > tfoot > tr > th:last-child,
  5135. .panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
  5136. .panel > .table-bordered > thead > tr > td:last-child,
  5137. .panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
  5138. .panel > .table-bordered > tbody > tr > td:last-child,
  5139. .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
  5140. .panel > .table-bordered > tfoot > tr > td:last-child,
  5141. .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
  5142. border-right: 0;
  5143. }
  5144. .panel > .table-bordered > thead > tr:first-child > td,
  5145. .panel > .table-responsive > .table-bordered > thead > tr:first-child > td,
  5146. .panel > .table-bordered > tbody > tr:first-child > td,
  5147. .panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,
  5148. .panel > .table-bordered > thead > tr:first-child > th,
  5149. .panel > .table-responsive > .table-bordered > thead > tr:first-child > th,
  5150. .panel > .table-bordered > tbody > tr:first-child > th,
  5151. .panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {
  5152. border-bottom: 0;
  5153. }
  5154. .panel > .table-bordered > tbody > tr:last-child > td,
  5155. .panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
  5156. .panel > .table-bordered > tfoot > tr:last-child > td,
  5157. .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
  5158. .panel > .table-bordered > tbody > tr:last-child > th,
  5159. .panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
  5160. .panel > .table-bordered > tfoot > tr:last-child > th,
  5161. .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
  5162. border-bottom: 0;
  5163. }
  5164. .panel > .table-responsive {
  5165. margin-bottom: 0;
  5166. border: 0;
  5167. }
  5168. .panel-group {
  5169. margin-bottom: 20px;
  5170. }
  5171. .panel-group .panel {
  5172. margin-bottom: 0;
  5173. border-radius: 4px;
  5174. }
  5175. .panel-group .panel + .panel {
  5176. margin-top: 5px;
  5177. }
  5178. .panel-group .panel-heading {
  5179. border-bottom: 0;
  5180. }
  5181. .panel-group .panel-heading + .panel-collapse > .panel-body {
  5182. border-top: 1px solid #ddd;
  5183. }
  5184. .panel-group .panel-footer {
  5185. border-top: 0;
  5186. }
  5187. .panel-group .panel-footer + .panel-collapse .panel-body {
  5188. border-bottom: 1px solid #ddd;
  5189. }
  5190. .panel-default {
  5191. border-color: #ddd;
  5192. }
  5193. .panel-default > .panel-heading {
  5194. color: #333;
  5195. background-color: #f5f5f5;
  5196. border-color: #ddd;
  5197. }
  5198. .panel-default > .panel-heading + .panel-collapse > .panel-body {
  5199. border-top-color: #ddd;
  5200. }
  5201. .panel-default > .panel-heading .badge {
  5202. color: #f5f5f5;
  5203. background-color: #333;
  5204. }
  5205. .panel-default > .panel-footer + .panel-collapse > .panel-body {
  5206. border-bottom-color: #ddd;
  5207. }
  5208. .panel-primary {
  5209. border-color: #428bca;
  5210. }
  5211. .panel-primary > .panel-heading {
  5212. color: #fff;
  5213. background-color: #428bca;
  5214. border-color: #428bca;
  5215. }
  5216. .panel-primary > .panel-heading + .panel-collapse > .panel-body {
  5217. border-top-color: #428bca;
  5218. }
  5219. .panel-primary > .panel-heading .badge {
  5220. color: #428bca;
  5221. background-color: #fff;
  5222. }
  5223. .panel-primary > .panel-footer + .panel-collapse > .panel-body {
  5224. border-bottom-color: #428bca;
  5225. }
  5226. .panel-success {
  5227. border-color: #d6e9c6;
  5228. }
  5229. .panel-success > .panel-heading {
  5230. color: #3c763d;
  5231. background-color: #dff0d8;
  5232. border-color: #d6e9c6;
  5233. }
  5234. .panel-success > .panel-heading + .panel-collapse > .panel-body {
  5235. border-top-color: #d6e9c6;
  5236. }
  5237. .panel-success > .panel-heading .badge {
  5238. color: #dff0d8;
  5239. background-color: #3c763d;
  5240. }
  5241. .panel-success > .panel-footer + .panel-collapse > .panel-body {
  5242. border-bottom-color: #d6e9c6;
  5243. }
  5244. .panel-info {
  5245. border-color: #bce8f1;
  5246. }
  5247. .panel-info > .panel-heading {
  5248. color: #31708f;
  5249. background-color: #d9edf7;
  5250. border-color: #bce8f1;
  5251. }
  5252. .panel-info > .panel-heading + .panel-collapse > .panel-body {
  5253. border-top-color: #bce8f1;
  5254. }
  5255. .panel-info > .panel-heading .badge {
  5256. color: #d9edf7;
  5257. background-color: #31708f;
  5258. }
  5259. .panel-info > .panel-footer + .panel-collapse > .panel-body {
  5260. border-bottom-color: #bce8f1;
  5261. }
  5262. .panel-warning {
  5263. border-color: #faebcc;
  5264. }
  5265. .panel-warning > .panel-heading {
  5266. color: #8a6d3b;
  5267. background-color: #fcf8e3;
  5268. border-color: #faebcc;
  5269. }
  5270. .panel-warning > .panel-heading + .panel-collapse > .panel-body {
  5271. border-top-color: #faebcc;
  5272. }
  5273. .panel-warning > .panel-heading .badge {
  5274. color: #fcf8e3;
  5275. background-color: #8a6d3b;
  5276. }
  5277. .panel-warning > .panel-footer + .panel-collapse > .panel-body {
  5278. border-bottom-color: #faebcc;
  5279. }
  5280. .panel-danger {
  5281. border-color: #ebccd1;
  5282. }
  5283. .panel-danger > .panel-heading {
  5284. color: #a94442;
  5285. background-color: #f2dede;
  5286. border-color: #ebccd1;
  5287. }
  5288. .panel-danger > .panel-heading + .panel-collapse > .panel-body {
  5289. border-top-color: #ebccd1;
  5290. }
  5291. .panel-danger > .panel-heading .badge {
  5292. color: #f2dede;
  5293. background-color: #a94442;
  5294. }
  5295. .panel-danger > .panel-footer + .panel-collapse > .panel-body {
  5296. border-bottom-color: #ebccd1;
  5297. }
  5298. .embed-responsive {
  5299. position: relative;
  5300. display: block;
  5301. height: 0;
  5302. padding: 0;
  5303. overflow: hidden;
  5304. }
  5305. .embed-responsive .embed-responsive-item,
  5306. .embed-responsive iframe,
  5307. .embed-responsive embed,
  5308. .embed-responsive object {
  5309. position: absolute;
  5310. top: 0;
  5311. bottom: 0;
  5312. left: 0;
  5313. width: 100%;
  5314. height: 100%;
  5315. border: 0;
  5316. }
  5317. .embed-responsive.embed-responsive-16by9 {
  5318. padding-bottom: 56.25%;
  5319. }
  5320. .embed-responsive.embed-responsive-4by3 {
  5321. padding-bottom: 75%;
  5322. }
  5323. .well {
  5324. min-height: 20px;
  5325. padding: 19px;
  5326. margin-bottom: 20px;
  5327. background-color: #f5f5f5;
  5328. border: 1px solid #e3e3e3;
  5329. border-radius: 4px;
  5330. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
  5331. box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
  5332. }
  5333. .well blockquote {
  5334. border-color: #ddd;
  5335. border-color: rgba(0, 0, 0, .15);
  5336. }
  5337. .well-lg {
  5338. padding: 24px;
  5339. border-radius: 6px;
  5340. }
  5341. .well-sm {
  5342. padding: 9px;
  5343. border-radius: 3px;
  5344. }
  5345. .close {
  5346. float: right;
  5347. font-size: 21px;
  5348. font-weight: bold;
  5349. line-height: 1;
  5350. color: #000;
  5351. text-shadow: 0 1px 0 #fff;
  5352. filter: alpha(opacity=20);
  5353. opacity: .2;
  5354. }
  5355. .close:hover,
  5356. .close:focus {
  5357. color: #000;
  5358. text-decoration: none;
  5359. cursor: pointer;
  5360. filter: alpha(opacity=50);
  5361. opacity: .5;
  5362. }
  5363. button.close {
  5364. -webkit-appearance: none;
  5365. padding: 0;
  5366. cursor: pointer;
  5367. background: transparent;
  5368. border: 0;
  5369. }
  5370. .modal-open {
  5371. overflow: hidden;
  5372. }
  5373. .modal {
  5374. position: fixed;
  5375. top: 0;
  5376. right: 0;
  5377. bottom: 0;
  5378. left: 0;
  5379. z-index: 1050;
  5380. display: none;
  5381. overflow: hidden;
  5382. -webkit-overflow-scrolling: touch;
  5383. outline: 0;
  5384. }
  5385. .modal.fade .modal-dialog {
  5386. -webkit-transition: -webkit-transform .3s ease-out;
  5387. -o-transition: -o-transform .3s ease-out;
  5388. transition: transform .3s ease-out;
  5389. -webkit-transform: translate3d(0, -25%, 0);
  5390. -o-transform: translate3d(0, -25%, 0);
  5391. transform: translate3d(0, -25%, 0);
  5392. }
  5393. .modal.in .modal-dialog {
  5394. -webkit-transform: translate3d(0, 0, 0);
  5395. -o-transform: translate3d(0, 0, 0);
  5396. transform: translate3d(0, 0, 0);
  5397. }
  5398. .modal-open .modal {
  5399. overflow-x: hidden;
  5400. overflow-y: auto;
  5401. }
  5402. .modal-dialog {
  5403. position: relative;
  5404. width: auto;
  5405. margin: 10px;
  5406. }
  5407. .modal-content {
  5408. position: relative;
  5409. background-color: #fff;
  5410. -webkit-background-clip: padding-box;
  5411. background-clip: padding-box;
  5412. border: 1px solid #999;
  5413. border: 1px solid rgba(0, 0, 0, .2);
  5414. border-radius: 6px;
  5415. outline: 0;
  5416. -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
  5417. box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
  5418. }
  5419. .modal-backdrop {
  5420. position: fixed;
  5421. top: 0;
  5422. right: 0;
  5423. bottom: 0;
  5424. left: 0;
  5425. z-index: 1040;
  5426. background-color: #000;
  5427. }
  5428. .modal-backdrop.fade {
  5429. filter: alpha(opacity=0);
  5430. opacity: 0;
  5431. }
  5432. .modal-backdrop.in {
  5433. filter: alpha(opacity=50);
  5434. opacity: .5;
  5435. }
  5436. .modal-header {
  5437. min-height: 16.42857143px;
  5438. padding: 15px;
  5439. border-bottom: 1px solid #e5e5e5;
  5440. }
  5441. .modal-header .close {
  5442. margin-top: -2px;
  5443. }
  5444. .modal-title {
  5445. margin: 0;
  5446. line-height: 1.42857143;
  5447. }
  5448. .modal-body {
  5449. position: relative;
  5450. padding: 15px;
  5451. }
  5452. .modal-footer {
  5453. padding: 15px;
  5454. text-align: right;
  5455. border-top: 1px solid #e5e5e5;
  5456. }
  5457. .modal-footer .btn + .btn {
  5458. margin-bottom: 0;
  5459. margin-left: 5px;
  5460. }
  5461. .modal-footer .btn-group .btn + .btn {
  5462. margin-left: -1px;
  5463. }
  5464. .modal-footer .btn-block + .btn-block {
  5465. margin-left: 0;
  5466. }
  5467. .modal-scrollbar-measure {
  5468. position: absolute;
  5469. top: -9999px;
  5470. width: 50px;
  5471. height: 50px;
  5472. overflow: scroll;
  5473. }
  5474. @media (min-width: 768px) {
  5475. .modal-dialog {
  5476. width: 600px;
  5477. margin: 30px auto;
  5478. }
  5479. .modal-content {
  5480. -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
  5481. box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
  5482. }
  5483. .modal-sm {
  5484. width: 300px;
  5485. }
  5486. }
  5487. @media (min-width: 992px) {
  5488. .modal-lg {
  5489. width: 900px;
  5490. }
  5491. }
  5492. .tooltip {
  5493. position: absolute;
  5494. z-index: 1070;
  5495. display: block;
  5496. font-size: 12px;
  5497. line-height: 1.4;
  5498. visibility: visible;
  5499. filter: alpha(opacity=0);
  5500. opacity: 0;
  5501. }
  5502. .tooltip.in {
  5503. filter: alpha(opacity=90);
  5504. opacity: .9;
  5505. }
  5506. .tooltip.top {
  5507. padding: 5px 0;
  5508. margin-top: -3px;
  5509. }
  5510. .tooltip.right {
  5511. padding: 0 5px;
  5512. margin-left: 3px;
  5513. }
  5514. .tooltip.bottom {
  5515. padding: 5px 0;
  5516. margin-top: 3px;
  5517. }
  5518. .tooltip.left {
  5519. padding: 0 5px;
  5520. margin-left: -3px;
  5521. }
  5522. .tooltip-inner {
  5523. max-width: 200px;
  5524. padding: 3px 8px;
  5525. color: #fff;
  5526. text-align: center;
  5527. text-decoration: none;
  5528. background-color: #000;
  5529. border-radius: 4px;
  5530. }
  5531. .tooltip-arrow {
  5532. position: absolute;
  5533. width: 0;
  5534. height: 0;
  5535. border-color: transparent;
  5536. border-style: solid;
  5537. }
  5538. .tooltip.top .tooltip-arrow {
  5539. bottom: 0;
  5540. left: 50%;
  5541. margin-left: -5px;
  5542. border-width: 5px 5px 0;
  5543. border-top-color: #000;
  5544. }
  5545. .tooltip.top-left .tooltip-arrow {
  5546. bottom: 0;
  5547. left: 5px;
  5548. border-width: 5px 5px 0;
  5549. border-top-color: #000;
  5550. }
  5551. .tooltip.top-right .tooltip-arrow {
  5552. right: 5px;
  5553. bottom: 0;
  5554. border-width: 5px 5px 0;
  5555. border-top-color: #000;
  5556. }
  5557. .tooltip.right .tooltip-arrow {
  5558. top: 50%;
  5559. left: 0;
  5560. margin-top: -5px;
  5561. border-width: 5px 5px 5px 0;
  5562. border-right-color: #000;
  5563. }
  5564. .tooltip.left .tooltip-arrow {
  5565. top: 50%;
  5566. right: 0;
  5567. margin-top: -5px;
  5568. border-width: 5px 0 5px 5px;
  5569. border-left-color: #000;
  5570. }
  5571. .tooltip.bottom .tooltip-arrow {
  5572. top: 0;
  5573. left: 50%;
  5574. margin-left: -5px;
  5575. border-width: 0 5px 5px;
  5576. border-bottom-color: #000;
  5577. }
  5578. .tooltip.bottom-left .tooltip-arrow {
  5579. top: 0;
  5580. left: 5px;
  5581. border-width: 0 5px 5px;
  5582. border-bottom-color: #000;
  5583. }
  5584. .tooltip.bottom-right .tooltip-arrow {
  5585. top: 0;
  5586. right: 5px;
  5587. border-width: 0 5px 5px;
  5588. border-bottom-color: #000;
  5589. }
  5590. .popover {
  5591. position: absolute;
  5592. top: 0;
  5593. left: 0;
  5594. z-index: 1060;
  5595. display: none;
  5596. max-width: 276px;
  5597. padding: 1px;
  5598. text-align: left;
  5599. white-space: normal;
  5600. background-color: #fff;
  5601. -webkit-background-clip: padding-box;
  5602. background-clip: padding-box;
  5603. border: 1px solid #ccc;
  5604. border: 1px solid rgba(0, 0, 0, .2);
  5605. border-radius: 6px;
  5606. -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
  5607. box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
  5608. }
  5609. .popover.top {
  5610. margin-top: -10px;
  5611. }
  5612. .popover.right {
  5613. margin-left: 10px;
  5614. }
  5615. .popover.bottom {
  5616. margin-top: 10px;
  5617. }
  5618. .popover.left {
  5619. margin-left: -10px;
  5620. }
  5621. .popover-title {
  5622. padding: 8px 14px;
  5623. margin: 0;
  5624. font-size: 14px;
  5625. font-weight: normal;
  5626. line-height: 18px;
  5627. background-color: #f7f7f7;
  5628. border-bottom: 1px solid #ebebeb;
  5629. border-radius: 5px 5px 0 0;
  5630. }
  5631. .popover-content {
  5632. padding: 9px 14px;
  5633. }
  5634. .popover > .arrow,
  5635. .popover > .arrow:after {
  5636. position: absolute;
  5637. display: block;
  5638. width: 0;
  5639. height: 0;
  5640. border-color: transparent;
  5641. border-style: solid;
  5642. }
  5643. .popover > .arrow {
  5644. border-width: 11px;
  5645. }
  5646. .popover > .arrow:after {
  5647. content: "";
  5648. border-width: 10px;
  5649. }
  5650. .popover.top > .arrow {
  5651. bottom: -11px;
  5652. left: 50%;
  5653. margin-left: -11px;
  5654. border-top-color: #999;
  5655. border-top-color: rgba(0, 0, 0, .25);
  5656. border-bottom-width: 0;
  5657. }
  5658. .popover.top > .arrow:after {
  5659. bottom: 1px;
  5660. margin-left: -10px;
  5661. content: " ";
  5662. border-top-color: #fff;
  5663. border-bottom-width: 0;
  5664. }
  5665. .popover.right > .arrow {
  5666. top: 50%;
  5667. left: -11px;
  5668. margin-top: -11px;
  5669. border-right-color: #999;
  5670. border-right-color: rgba(0, 0, 0, .25);
  5671. border-left-width: 0;
  5672. }
  5673. .popover.right > .arrow:after {
  5674. bottom: -10px;
  5675. left: 1px;
  5676. content: " ";
  5677. border-right-color: #fff;
  5678. border-left-width: 0;
  5679. }
  5680. .popover.bottom > .arrow {
  5681. top: -11px;
  5682. left: 50%;
  5683. margin-left: -11px;
  5684. border-top-width: 0;
  5685. border-bottom-color: #999;
  5686. border-bottom-color: rgba(0, 0, 0, .25);
  5687. }
  5688. .popover.bottom > .arrow:after {
  5689. top: 1px;
  5690. margin-left: -10px;
  5691. content: " ";
  5692. border-top-width: 0;
  5693. border-bottom-color: #fff;
  5694. }
  5695. .popover.left > .arrow {
  5696. top: 50%;
  5697. right: -11px;
  5698. margin-top: -11px;
  5699. border-right-width: 0;
  5700. border-left-color: #999;
  5701. border-left-color: rgba(0, 0, 0, .25);
  5702. }
  5703. .popover.left > .arrow:after {
  5704. right: 1px;
  5705. bottom: -10px;
  5706. content: " ";
  5707. border-right-width: 0;
  5708. border-left-color: #fff;
  5709. }
  5710. .carousel {
  5711. position: relative;
  5712. }
  5713. .carousel-inner {
  5714. position: relative;
  5715. width: 100%;
  5716. overflow: hidden;
  5717. }
  5718. .carousel-inner > .item {
  5719. position: relative;
  5720. display: none;
  5721. -webkit-transition: .6s ease-in-out left;
  5722. -o-transition: .6s ease-in-out left;
  5723. transition: .6s ease-in-out left;
  5724. }
  5725. .carousel-inner > .item > img,
  5726. .carousel-inner > .item > a > img {
  5727. line-height: 1;
  5728. }
  5729. .carousel-inner > .active,
  5730. .carousel-inner > .next,
  5731. .carousel-inner > .prev {
  5732. display: block;
  5733. }
  5734. .carousel-inner > .active {
  5735. left: 0;
  5736. }
  5737. .carousel-inner > .next,
  5738. .carousel-inner > .prev {
  5739. position: absolute;
  5740. top: 0;
  5741. width: 100%;
  5742. }
  5743. .carousel-inner > .next {
  5744. left: 100%;
  5745. }
  5746. .carousel-inner > .prev {
  5747. left: -100%;
  5748. }
  5749. .carousel-inner > .next.left,
  5750. .carousel-inner > .prev.right {
  5751. left: 0;
  5752. }
  5753. .carousel-inner > .active.left {
  5754. left: -100%;
  5755. }
  5756. .carousel-inner > .active.right {
  5757. left: 100%;
  5758. }
  5759. .carousel-control {
  5760. position: absolute;
  5761. top: 0;
  5762. bottom: 0;
  5763. left: 0;
  5764. width: 15%;
  5765. font-size: 20px;
  5766. color: #fff;
  5767. text-align: center;
  5768. text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
  5769. filter: alpha(opacity=50);
  5770. opacity: .5;
  5771. }
  5772. .carousel-control.left {
  5773. background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
  5774. background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
  5775. background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001)));
  5776. background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
  5777. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
  5778. background-repeat: repeat-x;
  5779. }
  5780. .carousel-control.right {
  5781. right: 0;
  5782. left: auto;
  5783. background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
  5784. background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
  5785. background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5)));
  5786. background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
  5787. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
  5788. background-repeat: repeat-x;
  5789. }
  5790. .carousel-control:hover,
  5791. .carousel-control:focus {
  5792. color: #fff;
  5793. text-decoration: none;
  5794. filter: alpha(opacity=90);
  5795. outline: 0;
  5796. opacity: .9;
  5797. }
  5798. .carousel-control .icon-prev,
  5799. .carousel-control .icon-next,
  5800. .carousel-control .glyphicon-chevron-left,
  5801. .carousel-control .glyphicon-chevron-right {
  5802. position: absolute;
  5803. top: 50%;
  5804. z-index: 5;
  5805. display: inline-block;
  5806. }
  5807. .carousel-control .icon-prev,
  5808. .carousel-control .glyphicon-chevron-left {
  5809. left: 50%;
  5810. margin-left: -10px;
  5811. }
  5812. .carousel-control .icon-next,
  5813. .carousel-control .glyphicon-chevron-right {
  5814. right: 50%;
  5815. margin-right: -10px;
  5816. }
  5817. .carousel-control .icon-prev,
  5818. .carousel-control .icon-next {
  5819. width: 20px;
  5820. height: 20px;
  5821. margin-top: -10px;
  5822. font-family: serif;
  5823. }
  5824. .carousel-control .icon-prev:before {
  5825. content: '\2039';
  5826. }
  5827. .carousel-control .icon-next:before {
  5828. content: '\203a';
  5829. }
  5830. .carousel-indicators {
  5831. position: absolute;
  5832. bottom: 10px;
  5833. left: 50%;
  5834. z-index: 15;
  5835. width: 60%;
  5836. padding-left: 0;
  5837. margin-left: -30%;
  5838. text-align: center;
  5839. list-style: none;
  5840. }
  5841. .carousel-indicators li {
  5842. display: inline-block;
  5843. width: 10px;
  5844. height: 10px;
  5845. margin: 1px;
  5846. text-indent: -999px;
  5847. cursor: pointer;
  5848. background-color: #000 \9;
  5849. background-color: rgba(0, 0, 0, 0);
  5850. border: 1px solid #fff;
  5851. border-radius: 10px;
  5852. }
  5853. .carousel-indicators .active {
  5854. width: 12px;
  5855. height: 12px;
  5856. margin: 0;
  5857. background-color: #fff;
  5858. }
  5859. .carousel-caption {
  5860. position: absolute;
  5861. right: 15%;
  5862. bottom: 20px;
  5863. left: 15%;
  5864. z-index: 10;
  5865. padding-top: 20px;
  5866. padding-bottom: 20px;
  5867. color: #fff;
  5868. text-align: center;
  5869. text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
  5870. }
  5871. .carousel-caption .btn {
  5872. text-shadow: none;
  5873. }
  5874. @media screen and (min-width: 768px) {
  5875. .carousel-control .glyphicon-chevron-left,
  5876. .carousel-control .glyphicon-chevron-right,
  5877. .carousel-control .icon-prev,
  5878. .carousel-control .icon-next {
  5879. width: 30px;
  5880. height: 30px;
  5881. margin-top: -15px;
  5882. font-size: 30px;
  5883. }
  5884. .carousel-control .glyphicon-chevron-left,
  5885. .carousel-control .icon-prev {
  5886. margin-left: -15px;
  5887. }
  5888. .carousel-control .glyphicon-chevron-right,
  5889. .carousel-control .icon-next {
  5890. margin-right: -15px;
  5891. }
  5892. .carousel-caption {
  5893. right: 20%;
  5894. left: 20%;
  5895. padding-bottom: 30px;
  5896. }
  5897. .carousel-indicators {
  5898. bottom: 20px;
  5899. }
  5900. }
  5901. .clearfix:before,
  5902. .clearfix:after,
  5903. .dl-horizontal dd:before,
  5904. .dl-horizontal dd:after,
  5905. .container:before,
  5906. .container:after,
  5907. .container-fluid:before,
  5908. .container-fluid:after,
  5909. .row:before,
  5910. .row:after,
  5911. .form-horizontal .form-group:before,
  5912. .form-horizontal .form-group:after,
  5913. .btn-toolbar:before,
  5914. .btn-toolbar:after,
  5915. .btn-group-vertical > .btn-group:before,
  5916. .btn-group-vertical > .btn-group:after,
  5917. .nav:before,
  5918. .nav:after,
  5919. .navbar:before,
  5920. .navbar:after,
  5921. .navbar-header:before,
  5922. .navbar-header:after,
  5923. .navbar-collapse:before,
  5924. .navbar-collapse:after,
  5925. .pager:before,
  5926. .pager:after,
  5927. .panel-body:before,
  5928. .panel-body:after,
  5929. .modal-footer:before,
  5930. .modal-footer:after {
  5931. display: table;
  5932. content: " ";
  5933. }
  5934. .clearfix:after,
  5935. .dl-horizontal dd:after,
  5936. .container:after,
  5937. .container-fluid:after,
  5938. .row:after,
  5939. .form-horizontal .form-group:after,
  5940. .btn-toolbar:after,
  5941. .btn-group-vertical > .btn-group:after,
  5942. .nav:after,
  5943. .navbar:after,
  5944. .navbar-header:after,
  5945. .navbar-collapse:after,
  5946. .pager:after,
  5947. .panel-body:after,
  5948. .modal-footer:after {
  5949. clear: both;
  5950. }
  5951. .center-block {
  5952. display: block;
  5953. margin-right: auto;
  5954. margin-left: auto;
  5955. }
  5956. .pull-right {
  5957. float: right !important;
  5958. }
  5959. .pull-left {
  5960. float: left !important;
  5961. }
  5962. .hide {
  5963. display: none !important;
  5964. }
  5965. .show {
  5966. display: block !important;
  5967. }
  5968. .invisible {
  5969. visibility: hidden;
  5970. }
  5971. .text-hide {
  5972. font: 0/0 a;
  5973. color: transparent;
  5974. text-shadow: none;
  5975. background-color: transparent;
  5976. border: 0;
  5977. }
  5978. .hidden {
  5979. display: none !important;
  5980. visibility: hidden !important;
  5981. }
  5982. .affix {
  5983. position: fixed;
  5984. -webkit-transform: translate3d(0, 0, 0);
  5985. -o-transform: translate3d(0, 0, 0);
  5986. transform: translate3d(0, 0, 0);
  5987. }
  5988. @-ms-viewport {
  5989. width: device-width;
  5990. }
  5991. .visible-xs,
  5992. .visible-sm,
  5993. .visible-md,
  5994. .visible-lg {
  5995. display: none !important;
  5996. }
  5997. .visible-xs-block,
  5998. .visible-xs-inline,
  5999. .visible-xs-inline-block,
  6000. .visible-sm-block,
  6001. .visible-sm-inline,
  6002. .visible-sm-inline-block,
  6003. .visible-md-block,
  6004. .visible-md-inline,
  6005. .visible-md-inline-block,
  6006. .visible-lg-block,
  6007. .visible-lg-inline,
  6008. .visible-lg-inline-block {
  6009. display: none !important;
  6010. }
  6011. @media (max-width: 767px) {
  6012. .visible-xs {
  6013. display: block !important;
  6014. }
  6015. table.visible-xs {
  6016. display: table;
  6017. }
  6018. tr.visible-xs {
  6019. display: table-row !important;
  6020. }
  6021. th.visible-xs,
  6022. td.visible-xs {
  6023. display: table-cell !important;
  6024. }
  6025. }
  6026. @media (max-width: 767px) {
  6027. .visible-xs-block {
  6028. display: block !important;
  6029. }
  6030. }
  6031. @media (max-width: 767px) {
  6032. .visible-xs-inline {
  6033. display: inline !important;
  6034. }
  6035. }
  6036. @media (max-width: 767px) {
  6037. .visible-xs-inline-block {
  6038. display: inline-block !important;
  6039. }
  6040. }
  6041. @media (min-width: 768px) and (max-width: 991px) {
  6042. .visible-sm {
  6043. display: block !important;
  6044. }
  6045. table.visible-sm {
  6046. display: table;
  6047. }
  6048. tr.visible-sm {
  6049. display: table-row !important;
  6050. }
  6051. th.visible-sm,
  6052. td.visible-sm {
  6053. display: table-cell !important;
  6054. }
  6055. }
  6056. @media (min-width: 768px) and (max-width: 991px) {
  6057. .visible-sm-block {
  6058. display: block !important;
  6059. }
  6060. }
  6061. @media (min-width: 768px) and (max-width: 991px) {
  6062. .visible-sm-inline {
  6063. display: inline !important;
  6064. }
  6065. }
  6066. @media (min-width: 768px) and (max-width: 991px) {
  6067. .visible-sm-inline-block {
  6068. display: inline-block !important;
  6069. }
  6070. }
  6071. @media (min-width: 992px) and (max-width: 1199px) {
  6072. .visible-md {
  6073. display: block !important;
  6074. }
  6075. table.visible-md {
  6076. display: table;
  6077. }
  6078. tr.visible-md {
  6079. display: table-row !important;
  6080. }
  6081. th.visible-md,
  6082. td.visible-md {
  6083. display: table-cell !important;
  6084. }
  6085. }
  6086. @media (min-width: 992px) and (max-width: 1199px) {
  6087. .visible-md-block {
  6088. display: block !important;
  6089. }
  6090. }
  6091. @media (min-width: 992px) and (max-width: 1199px) {
  6092. .visible-md-inline {
  6093. display: inline !important;
  6094. }
  6095. }
  6096. @media (min-width: 992px) and (max-width: 1199px) {
  6097. .visible-md-inline-block {
  6098. display: inline-block !important;
  6099. }
  6100. }
  6101. @media (min-width: 1200px) {
  6102. .visible-lg {
  6103. display: block !important;
  6104. }
  6105. table.visible-lg {
  6106. display: table;
  6107. }
  6108. tr.visible-lg {
  6109. display: table-row !important;
  6110. }
  6111. th.visible-lg,
  6112. td.visible-lg {
  6113. display: table-cell !important;
  6114. }
  6115. }
  6116. @media (min-width: 1200px) {
  6117. .visible-lg-block {
  6118. display: block !important;
  6119. }
  6120. }
  6121. @media (min-width: 1200px) {
  6122. .visible-lg-inline {
  6123. display: inline !important;
  6124. }
  6125. }
  6126. @media (min-width: 1200px) {
  6127. .visible-lg-inline-block {
  6128. display: inline-block !important;
  6129. }
  6130. }
  6131. @media (max-width: 767px) {
  6132. .hidden-xs {
  6133. display: none !important;
  6134. }
  6135. }
  6136. @media (min-width: 768px) and (max-width: 991px) {
  6137. .hidden-sm {
  6138. display: none !important;
  6139. }
  6140. }
  6141. @media (min-width: 992px) and (max-width: 1199px) {
  6142. .hidden-md {
  6143. display: none !important;
  6144. }
  6145. }
  6146. @media (min-width: 1200px) {
  6147. .hidden-lg {
  6148. display: none !important;
  6149. }
  6150. }
  6151. .visible-print {
  6152. display: none !important;
  6153. }
  6154. @media print {
  6155. .visible-print {
  6156. display: block !important;
  6157. }
  6158. table.visible-print {
  6159. display: table;
  6160. }
  6161. tr.visible-print {
  6162. display: table-row !important;
  6163. }
  6164. th.visible-print,
  6165. td.visible-print {
  6166. display: table-cell !important;
  6167. }
  6168. }
  6169. .visible-print-block {
  6170. display: none !important;
  6171. }
  6172. @media print {
  6173. .visible-print-block {
  6174. display: block !important;
  6175. }
  6176. }
  6177. .visible-print-inline {
  6178. display: none !important;
  6179. }
  6180. @media print {
  6181. .visible-print-inline {
  6182. display: inline !important;
  6183. }
  6184. }
  6185. .visible-print-inline-block {
  6186. display: none !important;
  6187. }
  6188. @media print {
  6189. .visible-print-inline-block {
  6190. display: inline-block !important;
  6191. }
  6192. }
  6193. @media print {
  6194. .hidden-print {
  6195. display: none !important;
  6196. }
  6197. }
  6198. /*# sourceMappingURL=bootstrap.css.map */
bootstrap.css
  1. /*editor*/
  2. .graph-editor {
  3. }
  4. .graph-editor__toolbar {
  5. /*border-bottom: solid 1px #EEE;*/
  6. /*border-top: solid 1px #2898E0;*/
  7. padding: 5px;
  8. text-align: center;
  9. box-shadow: 0px 0px 5px #888;
  10. }
  11. .graph-editor__toolbar .btn,
  12. .graph-editor__toolbar .btn-group {
  13. margin-right: 5px;
  14. }
  15. .graph-editor__toolbar .btn-group .btn {
  16. margin-right: 0px;
  17. }
  18. .graph-editor__canvas {
  19. outline: none;
  20. overflow: hidden;
  21. }
  22. .graph-editor__property {
  23. display: none;
  24. box-shadow: 0px 5px 5px #888;
  25. padding: 10px;
  26. overflow-y: auto;
  27. /*border-top: solid 5px #2898E0;*/
  28. border-top: solid 1px #CCC;
  29. background-color: #FFF;
  30. min-width: 200px;
  31. right: 0px;
  32. top: 40px;
  33. bottom: 0px;
  34. position: absolute;
  35. width: 20%;
  36. }
  37. .graph-editor__property .form-group {
  38. margin-bottom: 5px;
  39. }
  40. .graph-editor__json {
  41. z-index: 10;
  42. position: absolute;
  43. right: 0;
  44. top: 40px;
  45. bottom: 0px;
  46. min-width: 360px;
  47. width: 35%;
  48. background: rgba(250, 254, 156, 0.9);
  49. box-shadow: 0px 1px 5px #888;
  50. border-top: solid 5px #2898E0;
  51. /*border-top: solid 1px #2898E0;*/
  52. }
  53. .graph-editor__json textarea {
  54. height: 100%;
  55. width: 100%;
  56. background: transparent;
  57. border: none;
  58. outline: none;
  59. padding: 10px;
  60. font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
  61. font-size: 0.9em;
  62. color: #000;
  63. }
  64. .graph-editor__json__buttons {
  65. position: absolute;
  66. top: 5px;
  67. right: 20px;
  68. }
  69. /*toggle button*/
  70. .btn-default:focus {
  71. background-color: transparent;
  72. }
  73. .graph-editor__toolbox {
  74. /*margin-top: 10px;*/
  75. box-shadow: 0px 5px 5px #888;
  76. /*border-top: solid 5px #2898E0;*/
  77. overflow-y: auto;
  78. background-color: #FFF;
  79. }
  80. .graph-editor__toolbox-buttonBar {
  81. text-align: right;
  82. padding: 5px;
  83. border-top: solid 1px #CCC;
  84. }
  85. /*group*/
  86. .group {
  87. /*border-bottom: solid 1px #CECECE;*/
  88. }
  89. .group__title {
  90. padding: 4px 0px;
  91. background-color: #FFF;
  92. text-align: center;
  93. /*border-bottom: solid 1px #BEC1C7;*/
  94. border-top: solid 1px #ccc;
  95. cursor: pointer;
  96. font-weight: 800;
  97. font-size: 1.1em;
  98. user-select: none;
  99. -webkit-user-select: none;
  100. color: #555;
  101. position: relative;
  102. }
  103. .group__title .q-icon {
  104. position: absolute;
  105. right: 5px;
  106. top: 5px;
  107. }
  108. .group__title:hover, .group--closed > .group__title:hover {
  109. /*background-color: #F0F0F0;*/
  110. /*border-top: solid 1px #FFF;*/
  111. /*background-color: #EEE;*/
  112. background-color: #FFF;
  113. color: #000;
  114. box-shadow: none;
  115. }
  116. .group--closed:hover {
  117. border-top: none;
  118. }
  119. .group__items {
  120. padding-bottom: 10px;
  121. min-height: 70px;
  122. /*max-height: 300px;*/
  123. background-color: #FFF;
  124. overflow-y: auto;
  125. text-align: center;
  126. line-height: 0px;
  127. }
  128. .group--closed {
  129. /*border-top: solid 1px #BBB;*/
  130. }
  131. .group--closed > .group__title {
  132. background-color: #F5F5F5;
  133. font-weight: 200;
  134. /*border-top: none;*/
  135. box-shadow: inset 0 1px 5px 0px rgba(0, 0, 0, 0.1);
  136. }
  137. .group--closed > .group__items {
  138. display: none;
  139. }
  140. .group-expand {
  141. background-position: -55px 0px;
  142. width: 16px;
  143. height: 16px;
  144. -moz-transition: transform 0.3s ease-in-out;
  145. -ms-transition: transform 0.3s ease-in-out;
  146. -o-transition: transform 0.3s ease-in-out;
  147. -webkit-transition: transform 0.3s linear;
  148. transition: transform 0.3s linear;
  149. }
  150. .group--closed > .group__title > .group-expand, .group__title:hover > .group-expand {
  151. -moz-transform: rotate(-90deg);
  152. -ms-transform: rotate(-90deg);
  153. -o-transform: rotate(-90deg);
  154. -webkit-transform: rotate(-90deg);
  155. transform: rotate(-90deg);
  156. }
  157. .group__item {
  158. display: inline-block;
  159. vertical-align: middle;
  160. }
  161. .group__item > img, .group__item > canvas, .group__item > div {
  162. margin: 5px;
  163. line-height: 0px;
  164. display: block;
  165. }
  166. .group__item:hover {
  167. background: #DDD;
  168. }
  169. /*export panel*/
  170. .graph-export-panel span {
  171. padding: 5px;
  172. }
  173. .graph-export-panel input {
  174. display: inline-block;
  175. max-width: 100px;
  176. }
  177. /*input file*/
  178. .btn-file {
  179. position: relative;
  180. overflow: hidden;
  181. }
  182. .btn-file input[type=file] {
  183. position: absolute;
  184. top: 0;
  185. right: 0;
  186. min-width: 100%;
  187. min-height: 100%;
  188. font-size: 100px;
  189. text-align: right;
  190. filter: alpha(opacity=0);
  191. opacity: 0;
  192. background-color: red;
  193. cursor: inherit;
  194. display: block;
  195. }
  196. input[readonly] {
  197. background-color: white !important;
  198. cursor: text !important;
  199. }
  200. /*colorpicker*/
  201. .colorpicker:after, .colorpicker:before {
  202. right: 13px;
  203. left: auto;
  204. }
  205. .colorpicker.colorpicker-visible {
  206. transform: translateX(-90px);
  207. }
  208. .font-small {
  209. font-size: 80%;
  210. }
  211. .drag-element{
  212. cursor: move;
  213. }
  214. .form-horizontal .form-group{
  215. margin-right: 0px;
  216. }
  217. /*icons*/
  218. .graph-editor .q-icon {
  219. background-image: url(icons-32.png);
  220. background-repeat: no-repeat no-repeat;
  221. margin: 1px 0px;
  222. background-size: 423px 16px;
  223. }
  224. .toolbar-add{ background-position: 0px 0px; width: 16px; height: 16px; }
  225. .toolbar-default{ background-position: -18px 0px; width: 16px; height: 16px; }
  226. .toolbar-download{ background-position: -37px 0px; width: 16px; height: 16px; }
  227. .toolbar-edge_VH{ background-position: -55px 0px; width: 16px; height: 16px; }
  228. .toolbar-edge{ background-position: -74px 0px; width: 16px; height: 16px; }
  229. .toolbar-expand{ background-position: -92px 0px; width: 16px; height: 16px; }
  230. .toolbar-json{ background-position: -111px 0px; width: 16px; height: 16px; }
  231. .toolbar-line{ background-position: -129px 0px; width: 16px; height: 16px; }
  232. .toolbar-max{ background-position: -148px 0px; width: 16px; height: 16px; }
  233. .toolbar-new{ background-position: -166px 0px; width: 16px; height: 16px; }
  234. .toolbar-overview{ background-position: -185px 0px; width: 16px; height: 16px; }
  235. .toolbar-pan{ background-position: -203px 0px; width: 16px; height: 16px; }
  236. .toolbar-polygon{ background-position: -222px 0px; width: 16px; height: 16px; }
  237. .toolbar-print{ background-position: -240px 0px; width: 16px; height: 16px; }
  238. .toolbar-rectangle_selection{ background-position: -259px 0px; width: 16px; height: 16px; }
  239. .toolbar-remove{ background-position: -277px 0px; width: 16px; height: 16px; }
  240. .toolbar-save{ background-position: -296px 0px; width: 16px; height: 16px; }
  241. .toolbar-search{ background-position: -314px 0px; width: 16px; height: 16px; }
  242. .toolbar-update{ background-position: -333px 0px; width: 16px; height: 16px; }
  243. .toolbar-upload{ background-position: -351px 0px; width: 16px; height: 16px; }
  244. .toolbar-zoomin{ background-position: -370px 0px; width: 16px; height: 16px; }
  245. .toolbar-zoomout{ background-position: -388px 0px; width: 16px; height: 16px; }
  246. .toolbar-zoomreset{ background-position: -407px 0px; width: 16px; height: 16px; }
graph.editor.css
  1. if(!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=t.length,n=Z.type(t);return"function"===n||Z.isWindow(t)?!1:1===t.nodeType&&e?!0:"array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t}function i(t,e,n){if(Z.isFunction(e))return Z.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return Z.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(ae.test(e))return Z.filter(e,t,n);e=Z.filter(e,t)}return Z.grep(t,function(t){return U.call(e,t)>=0!==n})}function o(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function r(t){var e=de[t]={};return Z.each(t.match(fe)||[],function(t,n){e[n]=!0}),e}function s(){J.removeEventListener("DOMContentLoaded",s,!1),t.removeEventListener("load",s,!1),Z.ready()}function a(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=Z.expando+a.uid++}function l(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(xe,"-$1").toLowerCase(),n=t.getAttribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:be.test(n)?Z.parseJSON(n):n}catch(o){}ye.set(t,e,n)}else n=void 0;return n}function c(){return!0}function u(){return!1}function h(){try{return J.activeElement}catch(t){}}function p(t,e){return Z.nodeName(t,"table")&&Z.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function f(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function d(t){var e=qe.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function g(t,e){for(var n=0,i=t.length;i>n;n++)ve.set(t[n],"globalEval",!e||ve.get(e[n],"globalEval"))}function m(t,e){var n,i,o,r,s,a,l,c;if(1===e.nodeType){if(ve.hasData(t)&&(r=ve.access(t),s=ve.set(e,r),c=r.events)){delete s.handle,s.events={};for(o in c)for(n=0,i=c[o].length;i>n;n++)Z.event.add(e,o,c[o][n])}ye.hasData(t)&&(a=ye.access(t),l=Z.extend({},a),ye.set(e,l))}}function v(t,e){var n=t.getElementsByTagName?t.getElementsByTagName(e||"*"):t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&Z.nodeName(t,e)?Z.merge([t],n):n}function y(t,e){var n=e.nodeName.toLowerCase();"input"===n&&Te.test(t.type)?e.checked=t.checked:("input"===n||"textarea"===n)&&(e.defaultValue=t.defaultValue)}function b(e,n){var i,o=Z(n.createElement(e)).appendTo(n.body),r=t.getDefaultComputedStyle&&(i=t.getDefaultComputedStyle(o[0]))?i.display:Z.css(o[0],"display");return o.detach(),r}function x(t){var e=J,n=Re[t];return n||(n=b(t,e),"none"!==n&&n||(Me=(Me||Z("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=Me[0].contentDocument,e.write(),e.close(),n=b(t,e),Me.detach()),Re[t]=n),n}function w(t,e,n){var i,o,r,s,a=t.style;return n=n||_e(t),n&&(s=n.getPropertyValue(e)||n[e]),n&&(""!==s||Z.contains(t.ownerDocument,t)||(s=Z.style(t,e)),Be.test(s)&&We.test(e)&&(i=a.width,o=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=o,a.maxWidth=r)),void 0!==s?s+"":s}function C(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function k(t,e){if(e in t)return e;for(var n=e[0].toUpperCase()+e.slice(1),i=e,o=Ge.length;o--;)if(e=Ge[o]+n,e in t)return e;return i}function T(t,e,n){var i=Ve.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function S(t,e,n,i,o){for(var r=n===(i?"border":"content")?4:"width"===e?1:0,s=0;4>r;r+=2)"margin"===n&&(s+=Z.css(t,n+Ce[r],!0,o)),i?("content"===n&&(s-=Z.css(t,"padding"+Ce[r],!0,o)),"margin"!==n&&(s-=Z.css(t,"border"+Ce[r]+"Width",!0,o))):(s+=Z.css(t,"padding"+Ce[r],!0,o),"padding"!==n&&(s+=Z.css(t,"border"+Ce[r]+"Width",!0,o)));return s}function E(t,e,n){var i=!0,o="width"===e?t.offsetWidth:t.offsetHeight,r=_e(t),s="border-box"===Z.css(t,"boxSizing",!1,r);if(0>=o||null==o){if(o=w(t,e,r),(0>o||null==o)&&(o=t.style[e]),Be.test(o))return o;i=s&&(Y.boxSizingReliable()||o===t.style[e]),o=parseFloat(o)||0}return o+S(t,e,n||(s?"border":"content"),i,r)+"px"}function $(t,e){for(var n,i,o,r=[],s=0,a=t.length;a>s;s++)i=t[s],i.style&&(r[s]=ve.get(i,"olddisplay"),n=i.style.display,e?(r[s]||"none"!==n||(i.style.display=""),""===i.style.display&&ke(i)&&(r[s]=ve.access(i,"olddisplay",x(i.nodeName)))):(o=ke(i),"none"===n&&o||ve.set(i,"olddisplay",o?n:Z.css(i,"display"))));for(s=0;a>s;s++)i=t[s],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?r[s]||"":"none"));return t}function N(t,e,n,i,o){return new N.prototype.init(t,e,n,i,o)}function D(){return setTimeout(function(){Ye=void 0}),Ye=Z.now()}function j(t,e){var n,i=0,o={height:t};for(e=e?1:0;4>i;i+=2-e)n=Ce[i],o["margin"+n]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function A(t,e,n){for(var i,o=(nn[e]||[]).concat(nn["*"]),r=0,s=o.length;s>r;r++)if(i=o[r].call(n,e,t))return i}function L(t,e,n){var i,o,r,s,a,l,c,u,h=this,p={},f=t.style,d=t.nodeType&&ke(t),g=ve.get(t,"fxshow");n.queue||(a=Z._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,Z.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],c=Z.css(t,"display"),u="none"===c?ve.get(t,"olddisplay")||x(t.nodeName):c,"inline"===u&&"none"===Z.css(t,"float")&&(f.display="inline-block")),n.overflow&&(f.overflow="hidden",h.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(i in e)if(o=e[i],Ke.exec(o)){if(delete e[i],r=r||"toggle"===o,o===(d?"hide":"show")){if("show"!==o||!g||void 0===g[i])continue;d=!0}p[i]=g&&g[i]||Z.style(t,i)}else c=void 0;if(Z.isEmptyObject(p))"inline"===("none"===c?x(t.nodeName):c)&&(f.display=c);else{g?"hidden"in g&&(d=g.hidden):g=ve.access(t,"fxshow",{}),r&&(g.hidden=!d),d?Z(t).show():h.done(function(){Z(t).hide()}),h.done(function(){var e;ve.remove(t,"fxshow");for(e in p)Z.style(t,e,p[e])});for(i in p)s=A(d?g[i]:0,i,h),i in g||(g[i]=s.start,d&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}}function H(t,e){var n,i,o,r,s;for(n in t)if(i=Z.camelCase(n),o=e[i],r=t[n],Z.isArray(r)&&(o=r[1],r=t[n]=r[0]),n!==i&&(t[i]=r,delete t[n]),s=Z.cssHooks[i],s&&"expand"in s){r=s.expand(r),delete t[i];for(n in r)n in t||(t[n]=r[n],e[n]=o)}else e[i]=o}function F(t,e,n){var i,o,r=0,s=en.length,a=Z.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=Ye||D(),n=Math.max(0,c.startTime+c.duration-e),i=n/c.duration||0,r=1-i,s=0,l=c.tweens.length;l>s;s++)c.tweens[s].run(r);return a.notifyWith(t,[c,r,n]),1>r&&l?n:(a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:Z.extend({},e),opts:Z.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:Ye||D(),duration:n.duration,tweens:[],createTween:function(e,n){var i=Z.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(i),i},stop:function(e){var n=0,i=e?c.tweens.length:0;if(o)return this;for(o=!0;i>n;n++)c.tweens[n].run(1);return e?a.resolveWith(t,[c,e]):a.rejectWith(t,[c,e]),this}}),u=c.props;for(H(u,c.opts.specialEasing);s>r;r++)if(i=en[r].call(c,t,u,c.opts))return i;return Z.map(u,A,c),Z.isFunction(c.opts.start)&&c.opts.start.call(t,c),Z.fx.timer(Z.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function P(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,o=0,r=e.toLowerCase().match(fe)||[];if(Z.isFunction(n))for(;i=r[o++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function q(t,e,n,i){function o(a){var l;return r[a]=!0,Z.each(t[a]||[],function(t,a){var c=a(e,n,i);return"string"!=typeof c||s||r[c]?s?!(l=c):void 0:(e.dataTypes.unshift(c),o(c),!1)}),l}var r={},s=t===xn;return o(e.dataTypes[0])||!r["*"]&&o("*")}function O(t,e){var n,i,o=Z.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((o[n]?t:i||(i={}))[n]=e[n]);return i&&Z.extend(!0,t,i),t}function I(t,e,n){for(var i,o,r,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(o in a)if(a[o]&&a[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||t.converters[o+" "+l[0]]){r=o;break}s||(s=o)}r=r||s}return r?(r!==l[0]&&l.unshift(r),n[r]):void 0}function M(t,e,n,i){var o,r,s,a,l,c={},u=t.dataTypes.slice();if(u[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(r=u.shift();r;)if(t.responseFields[r]&&(n[t.responseFields[r]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(s=c[l+" "+r]||c["* "+r],!s)for(o in c)if(a=o.split(" "),a[1]===r&&(s=c[l+" "+a[0]]||c["* "+a[0]])){s===!0?s=c[o]:c[o]!==!0&&(r=a[0],u.unshift(a[1]));break}if(s!==!0)if(s&&t["throws"])e=s(e);else try{e=s(e)}catch(h){return{state:"parsererror",error:s?h:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}function R(t,e,n,i){var o;if(Z.isArray(e))Z.each(e,function(e,o){n||Sn.test(t)?i(t,o):R(t+"["+("object"==typeof o?e:"")+"]",o,n,i)});else if(n||"object"!==Z.type(e))i(t,e);else for(o in e)R(t+"["+o+"]",e[o],n,i)}function W(t){return Z.isWindow(t)?t:9===t.nodeType&&t.defaultView}var B=[],_=B.slice,z=B.concat,V=B.push,U=B.indexOf,X={},Q=X.toString,G=X.hasOwnProperty,Y={},J=t.document,K="2.1.3",Z=function(t,e){return new Z.fn.init(t,e)},te=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ee=/^-ms-/,ne=/-([\da-z])/gi,ie=function(t,e){return e.toUpperCase()};Z.fn=Z.prototype={jquery:K,constructor:Z,selector:"",length:0,toArray:function(){return _.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:_.call(this)},pushStack:function(t){var e=Z.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return Z.each(this,t,e)},map:function(t){return this.pushStack(Z.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(_.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushStack(n>=0&&e>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:V,sort:B.sort,splice:B.splice},Z.extend=Z.fn.extend=function(){var t,e,n,i,o,r,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||Z.isFunction(s)||(s={}),a===l&&(s=this,a--);l>a;a++)if(null!=(t=arguments[a]))for(e in t)n=s[e],i=t[e],s!==i&&(c&&i&&(Z.isPlainObject(i)||(o=Z.isArray(i)))?(o?(o=!1,r=n&&Z.isArray(n)?n:[]):r=n&&Z.isPlainObject(n)?n:{},s[e]=Z.extend(c,r,i)):void 0!==i&&(s[e]=i));return s},Z.extend({expando:"jQuery"+(K+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===Z.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){return!Z.isArray(t)&&t-parseFloat(t)+1>=0},isPlainObject:function(t){return"object"!==Z.type(t)||t.nodeType||Z.isWindow(t)?!1:t.constructor&&!G.call(t.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?X[Q.call(t)]||"object":typeof t},globalEval:function(t){var e,n=eval;t=Z.trim(t),t&&(1===t.indexOf("use strict")?(e=J.createElement("script"),e.text=t,J.head.appendChild(e).parentNode.removeChild(e)):n(t))},camelCase:function(t){return t.replace(ee,"ms-").replace(ne,ie)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var o,r=0,s=t.length,a=n(t);if(i){if(a)for(;s>r&&(o=e.apply(t[r],i),o!==!1);r++);else for(r in t)if(o=e.apply(t[r],i),o===!1)break}else if(a)for(;s>r&&(o=e.call(t[r],r,t[r]),o!==!1);r++);else for(r in t)if(o=e.call(t[r],r,t[r]),o===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(te,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?Z.merge(i,"string"==typeof t?[t]:t):V.call(i,t)),i},inArray:function(t,e,n){return null==e?-1:U.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,o=t.length;n>i;i++)t[o++]=e[i];return t.length=o,t},grep:function(t,e,n){for(var i,o=[],r=0,s=t.length,a=!n;s>r;r++)i=!e(t[r],r),i!==a&&o.push(t[r]);return o},map:function(t,e,i){var o,r=0,s=t.length,a=n(t),l=[];if(a)for(;s>r;r++)o=e(t[r],r,i),null!=o&&l.push(o);else for(r in t)o=e(t[r],r,i),null!=o&&l.push(o);return z.apply([],l)},guid:1,proxy:function(t,e){var n,i,o;return"string"==typeof e&&(n=t[e],e=t,t=n),Z.isFunction(t)?(i=_.call(arguments,2),o=function(){return t.apply(e||this,i.concat(_.call(arguments)))},o.guid=t.guid=t.guid||Z.guid++,o):void 0},now:Date.now,support:Y}),Z.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){X["[object "+e+"]"]=e.toLowerCase()});var oe=function(t){function e(t,e,n,i){var o,r,s,a,l,c,h,f,d,g;if((e?e.ownerDocument||e:R)!==L&&A(e),e=e||L,n=n||[],a=e.nodeType,"string"!=typeof t||!t||1!==a&&9!==a&&11!==a)return n;if(!i&&F){if(11!==a&&(o=ye.exec(t)))if(s=o[1]){if(9===a){if(r=e.getElementById(s),!r||!r.parentNode)return n;if(r.id===s)return n.push(r),n}else if(e.ownerDocument&&(r=e.ownerDocument.getElementById(s))&&I(e,r)&&r.id===s)return n.push(r),n}else{if(o[2])return K.apply(n,e.getElementsByTagName(t)),n;if((s=o[3])&&w.getElementsByClassName)return K.apply(n,e.getElementsByClassName(s)),n}if(w.qsa&&(!P||!P.test(t))){if(f=h=M,d=e,g=1!==a&&t,1===a&&"object"!==e.nodeName.toLowerCase()){for(c=S(t),(h=e.getAttribute("id"))?f=h.replace(xe,"\\$&"):e.setAttribute("id",f),f="[id='"+f+"'] ",l=c.length;l--;)c[l]=f+p(c[l]);d=be.test(t)&&u(e.parentNode)||e,g=c.join(",")}if(g)try{return K.apply(n,d.querySelectorAll(g)),n}catch(m){}finally{h||e.removeAttribute("id")}}}return $(t.replace(le,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>C.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[M]=!0,t}function o(t){var e=L.createElement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function r(t,e){for(var n=t.split("|"),i=t.length;i--;)C.attrHandle[n[i]]=e}function s(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||X)-(~t.sourceIndex||X);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function a(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function l(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function c(t){return i(function(e){return e=+e,i(function(n,i){for(var o,r=t([],n.length,e),s=r.length;s--;)n[o=r[s]]&&(n[o]=!(i[o]=n[o]))})})}function u(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function h(){}function p(t){for(var e=0,n=t.length,i="";n>e;e++)i+=t[e].value;return i}function f(t,e,n){var i=e.dir,o=n&&"parentNode"===i,r=B++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodeType||o)return t(e,n,r)}:function(e,n,s){var a,l,c=[W,r];if(s){for(;e=e[i];)if((1===e.nodeType||o)&&t(e,n,s))return!0}else for(;e=e[i];)if(1===e.nodeType||o){if(l=e[M]||(e[M]={}),(a=l[i])&&a[0]===W&&a[1]===r)return c[2]=a[2];if(l[i]=c,c[2]=t(e,n,s))return!0}}}function d(t){return t.length>1?function(e,n,i){for(var o=t.length;o--;)if(!t[o](e,n,i))return!1;return!0}:t[0]}function g(t,n,i){for(var o=0,r=n.length;r>o;o++)e(t,n[o],i);return i}function m(t,e,n,i,o){for(var r,s=[],a=0,l=t.length,c=null!=e;l>a;a++)(r=t[a])&&(!n||n(r,i,o))&&(s.push(r),c&&e.push(a));return s}function v(t,e,n,o,r,s){return o&&!o[M]&&(o=v(o)),r&&!r[M]&&(r=v(r,s)),i(function(i,s,a,l){var c,u,h,p=[],f=[],d=s.length,v=i||g(e||"*",a.nodeType?[a]:a,[]),y=!t||!i&&e?v:m(v,p,t,a,l),b=n?r||(i?t:d||o)?[]:s:y;if(n&&n(y,b,a,l),o)for(c=m(b,f),o(c,[],a,l),u=c.length;u--;)(h=c[u])&&(b[f[u]]=!(y[f[u]]=h));if(i){if(r||t){if(r){for(c=[],u=b.length;u--;)(h=b[u])&&c.push(y[u]=h);r(null,b=[],c,l)}for(u=b.length;u--;)(h=b[u])&&(c=r?te(i,h):p[u])>-1&&(i[c]=!(s[c]=h))}}else b=m(b===s?b.splice(d,b.length):b),r?r(null,s,b,l):K.apply(s,b)})}function y(t){for(var e,n,i,o=t.length,r=C.relative[t[0].type],s=r||C.relative[" "],a=r?1:0,l=f(function(t){return t===e},s,!0),c=f(function(t){return te(e,t)>-1},s,!0),u=[function(t,n,i){var o=!r&&(i||n!==N)||((e=n).nodeType?l(t,n,i):c(t,n,i));return e=null,o}];o>a;a++)if(n=C.relative[t[a].type])u=[f(d(u),n)];else{if(n=C.filter[t[a].type].apply(null,t[a].matches),n[M]){for(i=++a;o>i&&!C.relative[t[i].type];i++);return v(a>1&&d(u),a>1&&p(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(le,"$1"),n,i>a&&y(t.slice(a,i)),o>i&&y(t=t.slice(i)),o>i&&p(t))}u.push(n)}return d(u)}function b(t,n){var o=n.length>0,r=t.length>0,s=function(i,s,a,l,c){var u,h,p,f=0,d="0",g=i&&[],v=[],y=N,b=i||r&&C.find.TAG("*",c),x=W+=null==y?1:Math.random()||.1,w=b.length;for(c&&(N=s!==L&&s);d!==w&&null!=(u=b[d]);d++){if(r&&u){for(h=0;p=t[h++];)if(p(u,s,a)){l.push(u);break}c&&(W=x)}o&&((u=!p&&u)&&f--,i&&g.push(u))}if(f+=d,o&&d!==f){for(h=0;p=n[h++];)p(g,v,s,a);if(i){if(f>0)for(;d--;)g[d]||v[d]||(v[d]=Y.call(l));v=m(v)}K.apply(l,v),c&&!i&&v.length>0&&f+n.length>1&&e.uniqueSort(l)}return c&&(W=x,N=y),g};return o?i(s):s}var x,w,C,k,T,S,E,$,N,D,j,A,L,H,F,P,q,O,I,M="sizzle"+1*new Date,R=t.document,W=0,B=0,_=n(),z=n(),V=n(),U=function(t,e){return t===e&&(j=!0),0},X=1<<31,Q={}.hasOwnProperty,G=[],Y=G.pop,J=G.push,K=G.push,Z=G.slice,te=function(t,e){for(var n=0,i=t.length;i>n;n++)if(t[n]===e)return n;return-1},ee="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",oe=ie.replace("w","w#"),re="\\["+ne+"*("+ie+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+oe+"))|)"+ne+"*\\]",se=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+re+")*)|.*)\\)|)",ae=new RegExp(ne+"+","g"),le=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ce=new RegExp("^"+ne+"*,"+ne+"*"),ue=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),he=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),pe=new RegExp(se),fe=new RegExp("^"+oe+"$"),de={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie.replace("w","w*")+")"),ATTR:new RegExp("^"+re),PSEUDO:new RegExp("^"+se),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+ee+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},ge=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,be=/[+~]/,xe=/'|\\/g,we=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),Ce=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},ke=function(){A()};try{K.apply(G=Z.call(R.childNodes),R.childNodes),G[R.childNodes.length].nodeType}catch(Te){K={apply:G.length?function(t,e){J.apply(t,Z.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}w=e.support={},T=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?"HTML"!==e.nodeName:!1},A=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:R;return i!==L&&9===i.nodeType&&i.documentElement?(L=i,H=i.documentElement,n=i.defaultView,n&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",ke,!1):n.attachEvent&&n.attachEvent("onunload",ke)),F=!T(i),w.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),w.getElementsByTagName=o(function(t){return t.appendChild(i.createComment("")),!t.getElementsByTagName("*").length}),w.getElementsByClassName=ve.test(i.getElementsByClassName),w.getById=o(function(t){return H.appendChild(t).id=M,!i.getElementsByName||!i.getElementsByName(M).length}),w.getById?(C.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&F){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},C.filter.ID=function(t){var e=t.replace(we,Ce);return function(t){return t.getAttribute("id")===e}}):(delete C.find.ID,C.filter.ID=function(t){var e=t.replace(we,Ce);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),C.find.TAG=w.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):w.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],o=0,r=e.getElementsByTagName(t);if("*"===t){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},C.find.CLASS=w.getElementsByClassName&&function(t,e){return F?e.getElementsByClassName(t):void 0},q=[],P=[],(w.qsa=ve.test(i.querySelectorAll))&&(o(function(t){H.appendChild(t).innerHTML="<a id='"+M+"'></a><select id='"+M+"-\f]' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&P.push("[*^$]="+ne+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||P.push("\\["+ne+"*(?:value|"+ee+")"),t.querySelectorAll("[id~="+M+"-]").length||P.push("~="),t.querySelectorAll(":checked").length||P.push(":checked"),t.querySelectorAll("a#"+M+"+*").length||P.push(".#.+[+~]")}),o(function(t){var e=i.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&P.push("name"+ne+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||P.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),P.push(",.*:")})),(w.matchesSelector=ve.test(O=H.matches||H.webkitMatchesSelector||H.mozMatchesSelector||H.oMatchesSelector||H.msMatchesSelector))&&o(function(t){w.disconnectedMatch=O.call(t,"div"),O.call(t,"[s!='']:x"),q.push("!=",se)}),P=P.length&&new RegExp(P.join("|")),q=q.length&&new RegExp(q.join("|")),e=ve.test(H.compareDocumentPosition),I=e||ve.test(H.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},U=e?function(t,e){if(t===e)return j=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!w.sortDetached&&e.compareDocumentPosition(t)===n?t===i||t.ownerDocument===R&&I(R,t)?-1:e===i||e.ownerDocument===R&&I(R,e)?1:D?te(D,t)-te(D,e):0:4&n?-1:1)}:function(t,e){if(t===e)return j=!0,0;var n,o=0,r=t.parentNode,a=e.parentNode,l=[t],c=[e];if(!r||!a)return t===i?-1:e===i?1:r?-1:a?1:D?te(D,t)-te(D,e):0;if(r===a)return s(t,e);for(n=t;n=n.parentNode;)l.unshift(n);for(n=e;n=n.parentNode;)c.unshift(n);for(;l[o]===c[o];)o++;return o?s(l[o],c[o]):l[o]===R?-1:c[o]===R?1:0},i):L},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==L&&A(t),n=n.replace(he,"='$1']"),!(!w.matchesSelector||!F||q&&q.test(n)||P&&P.test(n)))try{var i=O.call(t,n);if(i||w.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(o){}return e(n,L,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==L&&A(t),I(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==L&&A(t);var n=C.attrHandle[e.toLowerCase()],i=n&&Q.call(C.attrHandle,e.toLowerCase())?n(t,e,!F):void 0;return void 0!==i?i:w.attributes||!F?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,o=0;if(j=!w.detectDuplicates,D=!w.sortStable&&t.slice(0),t.sort(U),j){for(;e=t[o++];)e===t[o]&&(i=n.push(o));for(;i--;)t.splice(n[i],1)}return D=null,t},k=e.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=k(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=k(e);return n},C=e.selectors={cacheLength:50,createPseudo:i,match:de,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(we,Ce),t[3]=(t[3]||t[4]||t[5]||"").replace(we,Ce),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return de.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&pe.test(n)&&(e=S(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(we,Ce).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=_[t+" "];return e||(e=new RegExp("(^|"+ne+")"+t+"("+ne+"|$)"))&&_(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(o){var r=e.attr(o,t);return null==r?"!="===n:n?(r+="","="===n?r===i:"!="===n?r!==i:"^="===n?i&&0===r.indexOf(i):"*="===n?i&&r.indexOf(i)>-1:"$="===n?i&&r.slice(-i.length)===i:"~="===n?(" "+r.replace(ae," ")+" ").indexOf(i)>-1:"|="===n?r===i||r.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(t,e,n,i,o){var r="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===o?function(t){return!!t.parentNode}:function(e,n,l){var c,u,h,p,f,d,g=r!==s?"nextSibling":"previousSibling",m=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a;if(m){if(r){for(;g;){for(h=e;h=h[g];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;d=g="only"===t&&!d&&"nextSibling"}return!0}if(d=[s?m.firstChild:m.lastChild],s&&y){for(u=m[M]||(m[M]={}),c=u[t]||[],f=c[0]===W&&c[1],p=c[0]===W&&c[2],h=f&&m.childNodes[f];h=++f&&h&&h[g]||(p=f=0)||d.pop();)if(1===h.nodeType&&++p&&h===e){u[t]=[W,f,p];break}}else if(y&&(c=(e[M]||(e[M]={}))[t])&&c[0]===W)p=c[1];else for(;(h=++f&&h&&h[g]||(p=f=0)||d.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++p||(y&&((h[M]||(h[M]={}))[t]=[W,p]),h!==e)););return p-=o,p===i||p%i===0&&p/i>=0}}},PSEUDO:function(t,n){var o,r=C.pseudos[t]||C.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return r[M]?r(n):r.length>1?(o=[t,t,"",n],C.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,o=r(t,n),s=o.length;s--;)i=te(t,o[s]),t[i]=!(e[i]=o[s])}):function(t){return r(t,0,o)}):r}},pseudos:{not:i(function(t){var e=[],n=[],o=E(t.replace(le,"$1"));return o[M]?i(function(t,e,n,i){for(var r,s=o(t,null,i,[]),a=t.length;a--;)(r=s[a])&&(t[a]=!(e[a]=r))}):function(t,i,r){return e[0]=t,o(e,null,r,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(we,Ce),function(e){return(e.textContent||e.innerText||k(e)).indexOf(t)>-1}}),lang:i(function(t){return fe.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(we,Ce).toLowerCase(),function(e){var n;do if(n=F?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===H},focus:function(t){return t===L.activeElement&&(!L.hasFocus||L.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!C.pseudos.empty(t)},header:function(t){return me.test(t.nodeName)},input:function(t){return ge.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:c(function(){return[0]}),last:c(function(t,e){return[e-1]}),eq:c(function(t,e,n){return[0>n?n+e:n]}),even:c(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:c(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:c(function(t,e,n){for(var i=0>n?n+e:n;--i>=0;)t.push(i);return t}),gt:c(function(t,e,n){for(var i=0>n?n+e:n;++i<e;)t.push(i);return t})}},C.pseudos.nth=C.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[x]=a(x);for(x in{submit:!0,reset:!0})C.pseudos[x]=l(x);return h.prototype=C.filters=C.pseudos,C.setFilters=new h,S=e.tokenize=function(t,n){var i,o,r,s,a,l,c,u=z[t+" "];if(u)return n?0:u.slice(0);for(a=t,l=[],c=C.preFilter;a;){(!i||(o=ce.exec(a)))&&(o&&(a=a.slice(o[0].length)||a),l.push(r=[])),i=!1,(o=ue.exec(a))&&(i=o.shift(),r.push({value:i,type:o[0].replace(le," ")}),a=a.slice(i.length));for(s in C.filter)!(o=de[s].exec(a))||c[s]&&!(o=c[s](o))||(i=o.shift(),r.push({value:i,type:s,matches:o}),a=a.slice(i.length));if(!i)break}return n?a.length:a?e.error(t):z(t,l).slice(0)},E=e.compile=function(t,e){var n,i=[],o=[],r=V[t+" "];if(!r){for(e||(e=S(t)),n=e.length;n--;)r=y(e[n]),r[M]?i.push(r):o.push(r);r=V(t,b(o,i)),r.selector=t}return r},$=e.select=function(t,e,n,i){var o,r,s,a,l,c="function"==typeof t&&t,h=!i&&S(t=c.selector||t);if(n=n||[],1===h.length){if(r=h[0]=h[0].slice(0),r.length>2&&"ID"===(s=r[0]).type&&w.getById&&9===e.nodeType&&F&&C.relative[r[1].type]){if(e=(C.find.ID(s.matches[0].replace(we,Ce),e)||[])[0],!e)return n;c&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(o=de.needsContext.test(t)?0:r.length;o--&&(s=r[o],!C.relative[a=s.type]);)if((l=C.find[a])&&(i=l(s.matches[0].replace(we,Ce),be.test(r[0].type)&&u(e.parentNode)||e))){if(r.splice(o,1),t=i.length&&p(r),!t)return K.apply(n,i),n;break}}return(c||E(t,h))(i,e,!F,n,be.test(t)&&u(e.parentNode)||e),n},w.sortStable=M.split("").sort(U).join("")===M,w.detectDuplicates=!!j,A(),w.sortDetached=o(function(t){return 1&t.compareDocumentPosition(L.createElement("div"))}),o(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||r("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),w.attributes&&o(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||r("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),o(function(t){return null==t.getAttribute("disabled")})||r(ee,function(t,e,n){var i;return n?void 0:t[e]===!0?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);Z.find=oe,Z.expr=oe.selectors,Z.expr[":"]=Z.expr.pseudos,Z.unique=oe.uniqueSort,Z.text=oe.getText,Z.isXMLDoc=oe.isXML,Z.contains=oe.contains;var re=Z.expr.match.needsContext,se=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ae=/^.[^:#\[\.,]*$/;Z.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?Z.find.matchesSelector(i,t)?[i]:[]:Z.find.matches(t,Z.grep(e,function(t){return 1===t.nodeType}))},Z.fn.extend({find:function(t){var e,n=this.length,i=[],o=this;if("string"!=typeof t)return this.pushStack(Z(t).filter(function(){for(e=0;n>e;e++)if(Z.contains(o[e],this))return!0
  2. }));for(e=0;n>e;e++)Z.find(t,o[e],i);return i=this.pushStack(n>1?Z.unique(i):i),i.selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(i(this,t||[],!1))},not:function(t){return this.pushStack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&re.test(t)?Z(t):t||[],!1).length}});var le,ce=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ue=Z.fn.init=function(t,e){var n,i;if(!t)return this;if("string"==typeof t){if(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:ce.exec(t),!n||!n[1]&&e)return!e||e.jquery?(e||le).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof Z?e[0]:e,Z.merge(this,Z.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:J,!0)),se.test(n[1])&&Z.isPlainObject(e))for(n in e)Z.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return i=J.getElementById(n[2]),i&&i.parentNode&&(this.length=1,this[0]=i),this.context=J,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):Z.isFunction(t)?"undefined"!=typeof le.ready?le.ready(t):t(Z):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),Z.makeArray(t,this))};ue.prototype=Z.fn,le=Z(J);var he=/^(?:parents|prev(?:Until|All))/,pe={children:!0,contents:!0,next:!0,prev:!0};Z.extend({dir:function(t,e,n){for(var i=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&Z(t).is(n))break;i.push(t)}return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),Z.fn.extend({has:function(t){var e=Z(t,this),n=e.length;return this.filter(function(){for(var t=0;n>t;t++)if(Z.contains(this,e[t]))return!0})},closest:function(t,e){for(var n,i=0,o=this.length,r=[],s=re.test(t)||"string"!=typeof t?Z(t,e||this.context):0;o>i;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&Z.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(r.length>1?Z.unique(r):r)},index:function(t){return t?"string"==typeof t?U.call(Z(t),this[0]):U.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(Z.unique(Z.merge(this.get(),Z(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),Z.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Z.dir(t,"parentNode")},parentsUntil:function(t,e,n){return Z.dir(t,"parentNode",n)},next:function(t){return o(t,"nextSibling")},prev:function(t){return o(t,"previousSibling")},nextAll:function(t){return Z.dir(t,"nextSibling")},prevAll:function(t){return Z.dir(t,"previousSibling")},nextUntil:function(t,e,n){return Z.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return Z.dir(t,"previousSibling",n)},siblings:function(t){return Z.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return Z.sibling(t.firstChild)},contents:function(t){return t.contentDocument||Z.merge([],t.childNodes)}},function(t,e){Z.fn[t]=function(n,i){var o=Z.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=Z.filter(i,o)),this.length>1&&(pe[t]||Z.unique(o),he.test(t)&&o.reverse()),this.pushStack(o)}});var fe=/\S+/g,de={};Z.Callbacks=function(t){t="string"==typeof t?de[t]||r(t):Z.extend({},t);var e,n,i,o,s,a,l=[],c=!t.once&&[],u=function(r){for(e=t.memory&&r,n=!0,a=o||0,o=0,s=l.length,i=!0;l&&s>a;a++)if(l[a].apply(r[0],r[1])===!1&&t.stopOnFalse){e=!1;break}i=!1,l&&(c?c.length&&u(c.shift()):e?l=[]:h.disable())},h={add:function(){if(l){var n=l.length;!function r(e){Z.each(e,function(e,n){var i=Z.type(n);"function"===i?t.unique&&h.has(n)||l.push(n):n&&n.length&&"string"!==i&&r(n)})}(arguments),i?s=l.length:e&&(o=n,u(e))}return this},remove:function(){return l&&Z.each(arguments,function(t,e){for(var n;(n=Z.inArray(e,l,n))>-1;)l.splice(n,1),i&&(s>=n&&s--,a>=n&&a--)}),this},has:function(t){return t?Z.inArray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],s=0,this},disable:function(){return l=c=e=void 0,this},disabled:function(){return!l},lock:function(){return c=void 0,e||h.disable(),this},locked:function(){return!c},fireWith:function(t,e){return!l||n&&!c||(e=e||[],e=[t,e.slice?e.slice():e],i?c.push(e):u(e)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!n}};return h},Z.extend({Deferred:function(t){var e=[["resolve","done",Z.Callbacks("once memory"),"resolved"],["reject","fail",Z.Callbacks("once memory"),"rejected"],["notify","progress",Z.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var t=arguments;return Z.Deferred(function(n){Z.each(e,function(e,r){var s=Z.isFunction(t[e])&&t[e];o[r[1]](function(){var t=s&&s.apply(this,arguments);t&&Z.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[r[0]+"With"](this===i?n.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?Z.extend(t,i):i}},o={};return i.pipe=i.then,Z.each(e,function(t,r){var s=r[2],a=r[3];i[r[1]]=s.add,a&&s.add(function(){n=a},e[1^t][2].disable,e[2][2].lock),o[r[0]]=function(){return o[r[0]+"With"](this===o?i:this,arguments),this},o[r[0]+"With"]=s.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e,n,i,o=0,r=_.call(arguments),s=r.length,a=1!==s||t&&Z.isFunction(t.promise)?s:0,l=1===a?t:Z.Deferred(),c=function(t,n,i){return function(o){n[t]=this,i[t]=arguments.length>1?_.call(arguments):o,i===e?l.notifyWith(n,i):--a||l.resolveWith(n,i)}};if(s>1)for(e=new Array(s),n=new Array(s),i=new Array(s);s>o;o++)r[o]&&Z.isFunction(r[o].promise)?r[o].promise().done(c(o,i,r)).fail(l.reject).progress(c(o,n,e)):--a;return a||l.resolveWith(i,r),l.promise()}});var ge;Z.fn.ready=function(t){return Z.ready.promise().done(t),this},Z.extend({isReady:!1,readyWait:1,holdReady:function(t){t?Z.readyWait++:Z.ready(!0)},ready:function(t){(t===!0?--Z.readyWait:Z.isReady)||(Z.isReady=!0,t!==!0&&--Z.readyWait>0||(ge.resolveWith(J,[Z]),Z.fn.triggerHandler&&(Z(J).triggerHandler("ready"),Z(J).off("ready"))))}}),Z.ready.promise=function(e){return ge||(ge=Z.Deferred(),"complete"===J.readyState?setTimeout(Z.ready):(J.addEventListener("DOMContentLoaded",s,!1),t.addEventListener("load",s,!1))),ge.promise(e)},Z.ready.promise();var me=Z.access=function(t,e,n,i,o,r,s){var a=0,l=t.length,c=null==n;if("object"===Z.type(n)){o=!0;for(a in n)Z.access(t,e,a,n[a],!0,r,s)}else if(void 0!==i&&(o=!0,Z.isFunction(i)||(s=!0),c&&(s?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(Z(t),n)})),e))for(;l>a;a++)e(t[a],n,s?i:i.call(t[a],a,e(t[a],n)));return o?t:c?e.call(t):l?e(t[0],n):r};Z.acceptData=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType},a.uid=1,a.accepts=Z.acceptData,a.prototype={key:function(t){if(!a.accepts(t))return 0;var e={},n=t[this.expando];if(!n){n=a.uid++;try{e[this.expando]={value:n},Object.defineProperties(t,e)}catch(i){e[this.expando]=n,Z.extend(t,e)}}return this.cache[n]||(this.cache[n]={}),n},set:function(t,e,n){var i,o=this.key(t),r=this.cache[o];if("string"==typeof e)r[e]=n;else if(Z.isEmptyObject(r))Z.extend(this.cache[o],e);else for(i in e)r[i]=e[i];return r},get:function(t,e){var n=this.cache[this.key(t)];return void 0===e?n:n[e]},access:function(t,e,n){var i;return void 0===e||e&&"string"==typeof e&&void 0===n?(i=this.get(t,e),void 0!==i?i:this.get(t,Z.camelCase(e))):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i,o,r=this.key(t),s=this.cache[r];if(void 0===e)this.cache[r]={};else{Z.isArray(e)?i=e.concat(e.map(Z.camelCase)):(o=Z.camelCase(e),e in s?i=[e,o]:(i=o,i=i in s?[i]:i.match(fe)||[])),n=i.length;for(;n--;)delete s[i[n]]}},hasData:function(t){return!Z.isEmptyObject(this.cache[t[this.expando]]||{})},discard:function(t){t[this.expando]&&delete this.cache[t[this.expando]]}};var ve=new a,ye=new a,be=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,xe=/([A-Z])/g;Z.extend({hasData:function(t){return ye.hasData(t)||ve.hasData(t)},data:function(t,e,n){return ye.access(t,e,n)},removeData:function(t,e){ye.remove(t,e)},_data:function(t,e,n){return ve.access(t,e,n)},_removeData:function(t,e){ve.remove(t,e)}}),Z.fn.extend({data:function(t,e){var n,i,o,r=this[0],s=r&&r.attributes;if(void 0===t){if(this.length&&(o=ye.get(r),1===r.nodeType&&!ve.get(r,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(i=s[n].name,0===i.indexOf("data-")&&(i=Z.camelCase(i.slice(5)),l(r,i,o[i])));ve.set(r,"hasDataAttrs",!0)}return o}return"object"==typeof t?this.each(function(){ye.set(this,t)}):me(this,function(e){var n,i=Z.camelCase(t);if(r&&void 0===e){if(n=ye.get(r,t),void 0!==n)return n;if(n=ye.get(r,i),void 0!==n)return n;if(n=l(r,i,void 0),void 0!==n)return n}else this.each(function(){var n=ye.get(this,i);ye.set(this,i,e),-1!==t.indexOf("-")&&void 0!==n&&ye.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){ye.remove(this,t)})}}),Z.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=ve.get(t,e),n&&(!i||Z.isArray(n)?i=ve.access(t,e,Z.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=Z.queue(t,e),i=n.length,o=n.shift(),r=Z._queueHooks(t,e),s=function(){Z.dequeue(t,e)};"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete r.stop,o.call(t,s,r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return ve.get(t,n)||ve.access(t,n,{empty:Z.Callbacks("once memory").add(function(){ve.remove(t,[e+"queue",n])})})}}),Z.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?Z.queue(this[0],t):void 0===e?this:this.each(function(){var n=Z.queue(this,t,e);Z._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&Z.dequeue(this,t)})},dequeue:function(t){return this.each(function(){Z.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,o=Z.Deferred(),r=this,s=this.length,a=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)n=ve.get(r[s],t+"queueHooks"),n&&n.empty&&(i++,n.empty.add(a));return a(),o.promise(e)}});var we=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ce=["Top","Right","Bottom","Left"],ke=function(t,e){return t=e||t,"none"===Z.css(t,"display")||!Z.contains(t.ownerDocument,t)},Te=/^(?:checkbox|radio)$/i;!function(){var t=J.createDocumentFragment(),e=t.appendChild(J.createElement("div")),n=J.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),Y.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",Y.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Se="undefined";Y.focusinBubbles="onfocusin"in t;var Ee=/^key/,$e=/^(?:mouse|pointer|contextmenu)|click/,Ne=/^(?:focusinfocus|focusoutblur)$/,De=/^([^.]*)(?:\.(.+)|)$/;Z.event={global:{},add:function(t,e,n,i,o){var r,s,a,l,c,u,h,p,f,d,g,m=ve.get(t);if(m)for(n.handler&&(r=n,n=r.handler,o=r.selector),n.guid||(n.guid=Z.guid++),(l=m.events)||(l=m.events={}),(s=m.handle)||(s=m.handle=function(e){return typeof Z!==Se&&Z.event.triggered!==e.type?Z.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(fe)||[""],c=e.length;c--;)a=De.exec(e[c])||[],f=g=a[1],d=(a[2]||"").split(".").sort(),f&&(h=Z.event.special[f]||{},f=(o?h.delegateType:h.bindType)||f,h=Z.event.special[f]||{},u=Z.extend({type:f,origType:g,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&Z.expr.match.needsContext.test(o),namespace:d.join(".")},r),(p=l[f])||(p=l[f]=[],p.delegateCount=0,h.setup&&h.setup.call(t,i,d,s)!==!1||t.addEventListener&&t.addEventListener(f,s,!1)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,u):p.push(u),Z.event.global[f]=!0)},remove:function(t,e,n,i,o){var r,s,a,l,c,u,h,p,f,d,g,m=ve.hasData(t)&&ve.get(t);if(m&&(l=m.events)){for(e=(e||"").match(fe)||[""],c=e.length;c--;)if(a=De.exec(e[c])||[],f=g=a[1],d=(a[2]||"").split(".").sort(),f){for(h=Z.event.special[f]||{},f=(i?h.delegateType:h.bindType)||f,p=l[f]||[],a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=p.length;r--;)u=p[r],!o&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(r,1),u.selector&&p.delegateCount--,h.remove&&h.remove.call(t,u));s&&!p.length&&(h.teardown&&h.teardown.call(t,d,m.handle)!==!1||Z.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)Z.event.remove(t,f+e[c],n,i,!0);Z.isEmptyObject(l)&&(delete m.handle,ve.remove(t,"events"))}},trigger:function(e,n,i,o){var r,s,a,l,c,u,h,p=[i||J],f=G.call(e,"type")?e.type:e,d=G.call(e,"namespace")?e.namespace.split("."):[];if(s=a=i=i||J,3!==i.nodeType&&8!==i.nodeType&&!Ne.test(f+Z.event.triggered)&&(f.indexOf(".")>=0&&(d=f.split("."),f=d.shift(),d.sort()),c=f.indexOf(":")<0&&"on"+f,e=e[Z.expando]?e:new Z.Event(f,"object"==typeof e&&e),e.isTrigger=o?2:3,e.namespace=d.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:Z.makeArray(n,[e]),h=Z.event.special[f]||{},o||!h.trigger||h.trigger.apply(i,n)!==!1)){if(!o&&!h.noBubble&&!Z.isWindow(i)){for(l=h.delegateType||f,Ne.test(l+f)||(s=s.parentNode);s;s=s.parentNode)p.push(s),a=s;a===(i.ownerDocument||J)&&p.push(a.defaultView||a.parentWindow||t)}for(r=0;(s=p[r++])&&!e.isPropagationStopped();)e.type=r>1?l:h.bindType||f,u=(ve.get(s,"events")||{})[e.type]&&ve.get(s,"handle"),u&&u.apply(s,n),u=c&&s[c],u&&u.apply&&Z.acceptData(s)&&(e.result=u.apply(s,n),e.result===!1&&e.preventDefault());return e.type=f,o||e.isDefaultPrevented()||h._default&&h._default.apply(p.pop(),n)!==!1||!Z.acceptData(i)||c&&Z.isFunction(i[f])&&!Z.isWindow(i)&&(a=i[c],a&&(i[c]=null),Z.event.triggered=f,i[f](),Z.event.triggered=void 0,a&&(i[c]=a)),e.result}},dispatch:function(t){t=Z.event.fix(t);var e,n,i,o,r,s=[],a=_.call(arguments),l=(ve.get(this,"events")||{})[t.type]||[],c=Z.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,t)!==!1){for(s=Z.event.handlers.call(this,t,l),e=0;(o=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(r.namespace))&&(t.handleObj=r,t.data=r.data,i=((Z.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,a),void 0!==i&&(t.result=i)===!1&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,o,r,s=[],a=e.delegateCount,l=t.target;if(a&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!==this;l=l.parentNode||this)if(l.disabled!==!0||"click"!==t.type){for(i=[],n=0;a>n;n++)r=e[n],o=r.selector+" ",void 0===i[o]&&(i[o]=r.needsContext?Z(o,this).index(l)>=0:Z.find(o,this,null,[l]).length),i[o]&&i.push(r);i.length&&s.push({elem:l,handlers:i})}return a<e.length&&s.push({elem:this,handlers:e.slice(a)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,o,r=e.button;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||J,i=n.documentElement,o=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||o&&o.scrollLeft||0)-(i&&i.clientLeft||o&&o.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||o&&o.scrollTop||0)-(i&&i.clientTop||o&&o.clientTop||0)),t.which||void 0===r||(t.which=1&r?1:2&r?3:4&r?2:0),t}},fix:function(t){if(t[Z.expando])return t;var e,n,i,o=t.type,r=t,s=this.fixHooks[o];for(s||(this.fixHooks[o]=s=$e.test(o)?this.mouseHooks:Ee.test(o)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,t=new Z.Event(r),e=i.length;e--;)n=i[e],t[n]=r[n];return t.target||(t.target=J),3===t.target.nodeType&&(t.target=t.target.parentNode),s.filter?s.filter(t,r):t},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==h()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===h()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&Z.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(t){return Z.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var o=Z.extend(new Z.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?Z.event.trigger(o,null,e):Z.event.dispatch.call(e,o),o.isDefaultPrevented()&&n.preventDefault()}},Z.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)},Z.Event=function(t,e){return this instanceof Z.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?c:u):this.type=t,e&&Z.extend(this,e),this.timeStamp=t&&t.timeStamp||Z.now(),void(this[Z.expando]=!0)):new Z.Event(t,e)},Z.Event.prototype={isDefaultPrevented:u,isPropagationStopped:u,isImmediatePropagationStopped:u,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=c,t&&t.preventDefault&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=c,t&&t.stopPropagation&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=c,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},Z.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){Z.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,o=t.relatedTarget,r=t.handleObj;return(!o||o!==i&&!Z.contains(i,o))&&(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}}),Y.focusinBubbles||Z.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){Z.event.simulate(e,t.target,Z.event.fix(t),!0)};Z.event.special[e]={setup:function(){var i=this.ownerDocument||this,o=ve.access(i,e);o||i.addEventListener(t,n,!0),ve.access(i,e,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this,o=ve.access(i,e)-1;o?ve.access(i,e,o):(i.removeEventListener(t,n,!0),ve.remove(i,e))}}}),Z.fn.extend({on:function(t,e,n,i,o){var r,s;if("object"==typeof t){"string"!=typeof e&&(n=n||e,e=void 0);for(s in t)this.on(s,e,n,t[s],o);return this}if(null==n&&null==i?(i=e,n=e=void 0):null==i&&("string"==typeof e?(i=n,n=void 0):(i=n,n=e,e=void 0)),i===!1)i=u;else if(!i)return this;return 1===o&&(r=i,i=function(t){return Z().off(t),r.apply(this,arguments)},i.guid=r.guid||(r.guid=Z.guid++)),this.each(function(){Z.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,o;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,Z(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return(e===!1||"function"==typeof e)&&(n=e,e=void 0),n===!1&&(n=u),this.each(function(){Z.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){Z.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?Z.event.trigger(t,e,n,!0):void 0}});var je=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ae=/<([\w:]+)/,Le=/<|&#?\w+;/,He=/<(?:script|style|link)/i,Fe=/checked\s*(?:[^=]|=\s*.checked.)/i,Pe=/^$|\/(?:java|ecma)script/i,qe=/^true\/(.*)/,Oe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Ie={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ie.optgroup=Ie.option,Ie.tbody=Ie.tfoot=Ie.colgroup=Ie.caption=Ie.thead,Ie.th=Ie.td,Z.extend({clone:function(t,e,n){var i,o,r,s,a=t.cloneNode(!0),l=Z.contains(t.ownerDocument,t);if(!(Y.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||Z.isXMLDoc(t)))for(s=v(a),r=v(t),i=0,o=r.length;o>i;i++)y(r[i],s[i]);if(e)if(n)for(r=r||v(t),s=s||v(a),i=0,o=r.length;o>i;i++)m(r[i],s[i]);else m(t,a);return s=v(a,"script"),s.length>0&&g(s,!l&&v(t,"script")),a},buildFragment:function(t,e,n,i){for(var o,r,s,a,l,c,u=e.createDocumentFragment(),h=[],p=0,f=t.length;f>p;p++)if(o=t[p],o||0===o)if("object"===Z.type(o))Z.merge(h,o.nodeType?[o]:o);else if(Le.test(o)){for(r=r||u.appendChild(e.createElement("div")),s=(Ae.exec(o)||["",""])[1].toLowerCase(),a=Ie[s]||Ie._default,r.innerHTML=a[1]+o.replace(je,"<$1></$2>")+a[2],c=a[0];c--;)r=r.lastChild;Z.merge(h,r.childNodes),r=u.firstChild,r.textContent=""}else h.push(e.createTextNode(o));for(u.textContent="",p=0;o=h[p++];)if((!i||-1===Z.inArray(o,i))&&(l=Z.contains(o.ownerDocument,o),r=v(u.appendChild(o),"script"),l&&g(r),n))for(c=0;o=r[c++];)Pe.test(o.type||"")&&n.push(o);return u},cleanData:function(t){for(var e,n,i,o,r=Z.event.special,s=0;void 0!==(n=t[s]);s++){if(Z.acceptData(n)&&(o=n[ve.expando],o&&(e=ve.cache[o]))){if(e.events)for(i in e.events)r[i]?Z.event.remove(n,i):Z.removeEvent(n,i,e.handle);ve.cache[o]&&delete ve.cache[o]}delete ye.cache[n[ye.expando]]}}}),Z.fn.extend({text:function(t){return me(this,function(t){return void 0===t?Z.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=t)})},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=p(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=p(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,i=t?Z.filter(t,this):this,o=0;null!=(n=i[o]);o++)e||1!==n.nodeType||Z.cleanData(v(n)),n.parentNode&&(e&&Z.contains(n.ownerDocument,n)&&g(v(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(Z.cleanData(v(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return Z.clone(this,t,e)})},html:function(t){return me(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!He.test(t)&&!Ie[(Ae.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(je,"<$1></$2>");try{for(;i>n;n++)e=this[n]||{},1===e.nodeType&&(Z.cleanData(v(e,!1)),e.innerHTML=t);e=0}catch(o){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,Z.cleanData(v(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=z.apply([],t);var n,i,o,r,s,a,l=0,c=this.length,u=this,h=c-1,p=t[0],g=Z.isFunction(p);if(g||c>1&&"string"==typeof p&&!Y.checkClone&&Fe.test(p))return this.each(function(n){var i=u.eq(n);g&&(t[0]=p.call(this,n,i.html())),i.domManip(t,e)});if(c&&(n=Z.buildFragment(t,this[0].ownerDocument,!1,this),i=n.firstChild,1===n.childNodes.length&&(n=i),i)){for(o=Z.map(v(n,"script"),f),r=o.length;c>l;l++)s=n,l!==h&&(s=Z.clone(s,!0,!0),r&&Z.merge(o,v(s,"script"))),e.call(this[l],s,l);if(r)for(a=o[o.length-1].ownerDocument,Z.map(o,d),l=0;r>l;l++)s=o[l],Pe.test(s.type||"")&&!ve.access(s,"globalEval")&&Z.contains(a,s)&&(s.src?Z._evalUrl&&Z._evalUrl(s.src):Z.globalEval(s.textContent.replace(Oe,"")))}return this}}),Z.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){Z.fn[t]=function(t){for(var n,i=[],o=Z(t),r=o.length-1,s=0;r>=s;s++)n=s===r?this:this.clone(!0),Z(o[s])[e](n),V.apply(i,n.get());return this.pushStack(i)}});var Me,Re={},We=/^margin/,Be=new RegExp("^("+we+")(?!px)[a-z%]+$","i"),_e=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):t.getComputedStyle(e,null)};!function(){function e(){s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",s.innerHTML="",o.appendChild(r);var e=t.getComputedStyle(s,null);n="1%"!==e.top,i="4px"===e.width,o.removeChild(r)}var n,i,o=J.documentElement,r=J.createElement("div"),s=J.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",Y.clearCloneStyle="content-box"===s.style.backgroundClip,r.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",r.appendChild(s),t.getComputedStyle&&Z.extend(Y,{pixelPosition:function(){return e(),n},boxSizingReliable:function(){return null==i&&e(),i},reliableMarginRight:function(){var e,n=s.appendChild(J.createElement("div"));return n.style.cssText=s.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",s.style.width="1px",o.appendChild(r),e=!parseFloat(t.getComputedStyle(n,null).marginRight),o.removeChild(r),s.removeChild(n),e}}))}(),Z.swap=function(t,e,n,i){var o,r,s={};for(r in e)s[r]=t.style[r],t.style[r]=e[r];o=n.apply(t,i||[]);for(r in e)t.style[r]=s[r];return o};var ze=/^(none|table(?!-c[ea]).+)/,Ve=new RegExp("^("+we+")(.*)$","i"),Ue=new RegExp("^([+-])=("+we+")","i"),Xe={position:"absolute",visibility:"hidden",display:"block"},Qe={letterSpacing:"0",fontWeight:"400"},Ge=["Webkit","O","Moz","ms"];Z.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=w(t,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,r,s,a=Z.camelCase(e),l=t.style;return e=Z.cssProps[a]||(Z.cssProps[a]=k(l,a)),s=Z.cssHooks[e]||Z.cssHooks[a],void 0===n?s&&"get"in s&&void 0!==(o=s.get(t,!1,i))?o:l[e]:(r=typeof n,"string"===r&&(o=Ue.exec(n))&&(n=(o[1]+1)*o[2]+parseFloat(Z.css(t,e)),r="number"),void(null!=n&&n===n&&("number"!==r||Z.cssNumber[a]||(n+="px"),Y.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,i))||(l[e]=n))))}},css:function(t,e,n,i){var o,r,s,a=Z.camelCase(e);return e=Z.cssProps[a]||(Z.cssProps[a]=k(t.style,a)),s=Z.cssHooks[e]||Z.cssHooks[a],s&&"get"in s&&(o=s.get(t,!0,n)),void 0===o&&(o=w(t,e,i)),"normal"===o&&e in Qe&&(o=Qe[e]),""===n||n?(r=parseFloat(o),n===!0||Z.isNumeric(r)?r||0:o):o}}),Z.each(["height","width"],function(t,e){Z.cssHooks[e]={get:function(t,n,i){return n?ze.test(Z.css(t,"display"))&&0===t.offsetWidth?Z.swap(t,Xe,function(){return E(t,e,i)}):E(t,e,i):void 0},set:function(t,n,i){var o=i&&_e(t);return T(t,n,i?S(t,e,i,"border-box"===Z.css(t,"boxSizing",!1,o),o):0)}}}),Z.cssHooks.marginRight=C(Y.reliableMarginRight,function(t,e){return e?Z.swap(t,{display:"inline-block"},w,[t,"marginRight"]):void 0}),Z.each({margin:"",padding:"",border:"Width"},function(t,e){Z.cssHooks[t+e]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];4>i;i++)o[t+Ce[i]+e]=r[i]||r[i-2]||r[0];return o}},We.test(t)||(Z.cssHooks[t+e].set=T)}),Z.fn.extend({css:function(t,e){return me(this,function(t,e,n){var i,o,r={},s=0;if(Z.isArray(e)){for(i=_e(t),o=e.length;o>s;s++)r[e[s]]=Z.css(t,e[s],!1,i);return r}return void 0!==n?Z.style(t,e,n):Z.css(t,e)},t,e,arguments.length>1)},show:function(){return $(this,!0)},hide:function(){return $(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){ke(this)?Z(this).show():Z(this).hide()})}}),Z.Tween=N,N.prototype={constructor:N,init:function(t,e,n,i,o,r){this.elem=t,this.prop=n,this.easing=o||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(Z.cssNumber[n]?"":"px")},cur:function(){var t=N.propHooks[this.prop];return t&&t.get?t.get(this):N.propHooks._default.get(this)},run:function(t){var e,n=N.propHooks[this.prop];return this.pos=e=this.options.duration?Z.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):N.propHooks._default.set(this),this}},N.prototype.init.prototype=N.prototype,N.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=Z.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){Z.fx.step[t.prop]?Z.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[Z.cssProps[t.prop]]||Z.cssHooks[t.prop])?Z.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},N.propHooks.scrollTop=N.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},Z.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},Z.fx=N.prototype.init,Z.fx.step={};var Ye,Je,Ke=/^(?:toggle|show|hide)$/,Ze=new RegExp("^(?:([+-])=|)("+we+")([a-z%]*)$","i"),tn=/queueHooks$/,en=[L],nn={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),o=Ze.exec(e),r=o&&o[3]||(Z.cssNumber[t]?"":"px"),s=(Z.cssNumber[t]||"px"!==r&&+i)&&Ze.exec(Z.css(n.elem,t)),a=1,l=20;if(s&&s[3]!==r){r=r||s[3],o=o||[],s=+i||1;do a=a||".5",s/=a,Z.style(n.elem,t,s+r);while(a!==(a=n.cur()/i)&&1!==a&&--l)}return o&&(s=n.start=+s||+i||0,n.unit=r,n.end=o[1]?s+(o[1]+1)*o[2]:+o[2]),n}]};Z.Animation=Z.extend(F,{tweener:function(t,e){Z.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,o=t.length;o>i;i++)n=t[i],nn[n]=nn[n]||[],nn[n].unshift(e)},prefilter:function(t,e){e?en.unshift(t):en.push(t)}}),Z.speed=function(t,e,n){var i=t&&"object"==typeof t?Z.extend({},t):{complete:n||!n&&e||Z.isFunction(t)&&t,duration:t,easing:n&&e||e&&!Z.isFunction(e)&&e};return i.duration=Z.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in Z.fx.speeds?Z.fx.speeds[i.duration]:Z.fx.speeds._default,(null==i.queue||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){Z.isFunction(i.old)&&i.old.call(this),i.queue&&Z.dequeue(this,i.queue)},i},Z.fn.extend({fadeTo:function(t,e,n,i){return this.filter(ke).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var o=Z.isEmptyObject(t),r=Z.speed(e,n,i),s=function(){var e=F(this,Z.extend({},t),r);(o||ve.get(this,"finish"))&&e.stop(!0)};return s.finish=s,o||r.queue===!1?this.each(s):this.queue(r.queue,s)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,o=null!=t&&t+"queueHooks",r=Z.timers,s=ve.get(this);if(o)s[o]&&s[o].stop&&i(s[o]);else for(o in s)s[o]&&s[o].stop&&tn.test(o)&&i(s[o]);for(o=r.length;o--;)r[o].elem!==this||null!=t&&r[o].queue!==t||(r[o].anim.stop(n),e=!1,r.splice(o,1));(e||!n)&&Z.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=ve.get(this),i=n[t+"queue"],o=n[t+"queueHooks"],r=Z.timers,s=i?i.length:0;for(n.finish=!0,Z.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;s>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);
  3. delete n.finish})}}),Z.each(["toggle","show","hide"],function(t,e){var n=Z.fn[e];Z.fn[e]=function(t,i,o){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(j(e,!0),t,i,o)}}),Z.each({slideDown:j("show"),slideUp:j("hide"),slideToggle:j("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){Z.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),Z.timers=[],Z.fx.tick=function(){var t,e=0,n=Z.timers;for(Ye=Z.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||Z.fx.stop(),Ye=void 0},Z.fx.timer=function(t){Z.timers.push(t),t()?Z.fx.start():Z.timers.pop()},Z.fx.interval=13,Z.fx.start=function(){Je||(Je=setInterval(Z.fx.tick,Z.fx.interval))},Z.fx.stop=function(){clearInterval(Je),Je=null},Z.fx.speeds={slow:600,fast:200,_default:400},Z.fn.delay=function(t,e){return t=Z.fx?Z.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,n){var i=setTimeout(e,t);n.stop=function(){clearTimeout(i)}})},function(){var t=J.createElement("input"),e=J.createElement("select"),n=e.appendChild(J.createElement("option"));t.type="checkbox",Y.checkOn=""!==t.value,Y.optSelected=n.selected,e.disabled=!0,Y.optDisabled=!n.disabled,t=J.createElement("input"),t.value="t",t.type="radio",Y.radioValue="t"===t.value}();var on,rn,sn=Z.expr.attrHandle;Z.fn.extend({attr:function(t,e){return me(this,Z.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){Z.removeAttr(this,t)})}}),Z.extend({attr:function(t,e,n){var i,o,r=t.nodeType;return t&&3!==r&&8!==r&&2!==r?typeof t.getAttribute===Se?Z.prop(t,e,n):(1===r&&Z.isXMLDoc(t)||(e=e.toLowerCase(),i=Z.attrHooks[e]||(Z.expr.match.bool.test(e)?rn:on)),void 0===n?i&&"get"in i&&null!==(o=i.get(t,e))?o:(o=Z.find.attr(t,e),null==o?void 0:o):null!==n?i&&"set"in i&&void 0!==(o=i.set(t,n,e))?o:(t.setAttribute(e,n+""),n):void Z.removeAttr(t,e)):void 0},removeAttr:function(t,e){var n,i,o=0,r=e&&e.match(fe);if(r&&1===t.nodeType)for(;n=r[o++];)i=Z.propFix[n]||n,Z.expr.match.bool.test(n)&&(t[i]=!1),t.removeAttribute(n)},attrHooks:{type:{set:function(t,e){if(!Y.radioValue&&"radio"===e&&Z.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),rn={set:function(t,e,n){return e===!1?Z.removeAttr(t,n):t.setAttribute(n,n),n}},Z.each(Z.expr.match.bool.source.match(/\w+/g),function(t,e){var n=sn[e]||Z.find.attr;sn[e]=function(t,e,i){var o,r;return i||(r=sn[e],sn[e]=o,o=null!=n(t,e,i)?e.toLowerCase():null,sn[e]=r),o}});var an=/^(?:input|select|textarea|button)$/i;Z.fn.extend({prop:function(t,e){return me(this,Z.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[Z.propFix[t]||t]})}}),Z.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,n){var i,o,r,s=t.nodeType;return t&&3!==s&&8!==s&&2!==s?(r=1!==s||!Z.isXMLDoc(t),r&&(e=Z.propFix[e]||e,o=Z.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]):void 0},propHooks:{tabIndex:{get:function(t){return t.hasAttribute("tabindex")||an.test(t.nodeName)||t.href?t.tabIndex:-1}}}}),Y.optSelected||(Z.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null}}),Z.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Z.propFix[this.toLowerCase()]=this});var ln=/[\t\r\n\f]/g;Z.fn.extend({addClass:function(t){var e,n,i,o,r,s,a="string"==typeof t&&t,l=0,c=this.length;if(Z.isFunction(t))return this.each(function(e){Z(this).addClass(t.call(this,e,this.className))});if(a)for(e=(t||"").match(fe)||[];c>l;l++)if(n=this[l],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(ln," "):" ")){for(r=0;o=e[r++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");s=Z.trim(i),n.className!==s&&(n.className=s)}return this},removeClass:function(t){var e,n,i,o,r,s,a=0===arguments.length||"string"==typeof t&&t,l=0,c=this.length;if(Z.isFunction(t))return this.each(function(e){Z(this).removeClass(t.call(this,e,this.className))});if(a)for(e=(t||"").match(fe)||[];c>l;l++)if(n=this[l],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(ln," "):"")){for(r=0;o=e[r++];)for(;i.indexOf(" "+o+" ")>=0;)i=i.replace(" "+o+" "," ");s=t?Z.trim(i):"",n.className!==s&&(n.className=s)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):this.each(Z.isFunction(t)?function(n){Z(this).toggleClass(t.call(this,n,this.className,e),e)}:function(){if("string"===n)for(var e,i=0,o=Z(this),r=t.match(fe)||[];e=r[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else(n===Se||"boolean"===n)&&(this.className&&ve.set(this,"__className__",this.className),this.className=this.className||t===!1?"":ve.get(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(ln," ").indexOf(e)>=0)return!0;return!1}});var cn=/\r/g;Z.fn.extend({val:function(t){var e,n,i,o=this[0];return arguments.length?(i=Z.isFunction(t),this.each(function(n){var o;1===this.nodeType&&(o=i?t.call(this,n,Z(this).val()):t,null==o?o="":"number"==typeof o?o+="":Z.isArray(o)&&(o=Z.map(o,function(t){return null==t?"":t+""})),e=Z.valHooks[this.type]||Z.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))})):o?(e=Z.valHooks[o.type]||Z.valHooks[o.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(cn,""):null==n?"":n)):void 0}}),Z.extend({valHooks:{option:{get:function(t){var e=Z.find.attr(t,"value");return null!=e?e:Z.trim(Z.text(t))}},select:{get:function(t){for(var e,n,i=t.options,o=t.selectedIndex,r="select-one"===t.type||0>o,s=r?null:[],a=r?o+1:i.length,l=0>o?a:r?o:0;a>l;l++)if(n=i[l],!(!n.selected&&l!==o||(Y.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&Z.nodeName(n.parentNode,"optgroup"))){if(e=Z(n).val(),r)return e;s.push(e)}return s},set:function(t,e){for(var n,i,o=t.options,r=Z.makeArray(e),s=o.length;s--;)i=o[s],(i.selected=Z.inArray(i.value,r)>=0)&&(n=!0);return n||(t.selectedIndex=-1),r}}}}),Z.each(["radio","checkbox"],function(){Z.valHooks[this]={set:function(t,e){return Z.isArray(e)?t.checked=Z.inArray(Z(t).val(),e)>=0:void 0}},Y.checkOn||(Z.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),Z.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){Z.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),Z.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var un=Z.now(),hn=/\?/;Z.parseJSON=function(t){return JSON.parse(t+"")},Z.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{n=new DOMParser,e=n.parseFromString(t,"text/xml")}catch(i){e=void 0}return(!e||e.getElementsByTagName("parsererror").length)&&Z.error("Invalid XML: "+t),e};var pn=/#.*$/,fn=/([?&])_=[^&]*/,dn=/^(.*?):[ \t]*([^\r\n]*)$/gm,gn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,mn=/^(?:GET|HEAD)$/,vn=/^\/\//,yn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,bn={},xn={},wn="*/".concat("*"),Cn=t.location.href,kn=yn.exec(Cn.toLowerCase())||[];Z.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Cn,type:"GET",isLocal:gn.test(kn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":wn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":Z.parseJSON,"text xml":Z.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?O(O(t,Z.ajaxSettings),e):O(Z.ajaxSettings,t)},ajaxPrefilter:P(bn),ajaxTransport:P(xn),ajax:function(t,e){function n(t,e,n,s){var l,u,v,y,x,C=e;2!==b&&(b=2,a&&clearTimeout(a),i=void 0,r=s||"",w.readyState=t>0?4:0,l=t>=200&&300>t||304===t,n&&(y=I(h,w,n)),y=M(h,y,w,l),l?(h.ifModified&&(x=w.getResponseHeader("Last-Modified"),x&&(Z.lastModified[o]=x),x=w.getResponseHeader("etag"),x&&(Z.etag[o]=x)),204===t||"HEAD"===h.type?C="nocontent":304===t?C="notmodified":(C=y.state,u=y.data,v=y.error,l=!v)):(v=C,(t||!C)&&(C="error",0>t&&(t=0))),w.status=t,w.statusText=(e||C)+"",l?d.resolveWith(p,[u,C,w]):d.rejectWith(p,[w,C,v]),w.statusCode(m),m=void 0,c&&f.trigger(l?"ajaxSuccess":"ajaxError",[w,h,l?u:v]),g.fireWith(p,[w,C]),c&&(f.trigger("ajaxComplete",[w,h]),--Z.active||Z.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,o,r,s,a,l,c,u,h=Z.ajaxSetup({},e),p=h.context||h,f=h.context&&(p.nodeType||p.jquery)?Z(p):Z.event,d=Z.Deferred(),g=Z.Callbacks("once memory"),m=h.statusCode||{},v={},y={},b=0,x="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!s)for(s={};e=dn.exec(r);)s[e[1].toLowerCase()]=e[2];e=s[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?r:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return b||(t=y[n]=y[n]||t,v[t]=e),this},overrideMimeType:function(t){return b||(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>b)for(e in t)m[e]=[m[e],t[e]];else w.always(t[w.status]);return this},abort:function(t){var e=t||x;return i&&i.abort(e),n(0,e),this}};if(d.promise(w).complete=g.add,w.success=w.done,w.error=w.fail,h.url=((t||h.url||Cn)+"").replace(pn,"").replace(vn,kn[1]+"//"),h.type=e.method||e.type||h.method||h.type,h.dataTypes=Z.trim(h.dataType||"*").toLowerCase().match(fe)||[""],null==h.crossDomain&&(l=yn.exec(h.url.toLowerCase()),h.crossDomain=!(!l||l[1]===kn[1]&&l[2]===kn[2]&&(l[3]||("http:"===l[1]?"80":"443"))===(kn[3]||("http:"===kn[1]?"80":"443")))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=Z.param(h.data,h.traditional)),q(bn,h,e,w),2===b)return w;c=Z.event&&h.global,c&&0===Z.active++&&Z.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!mn.test(h.type),o=h.url,h.hasContent||(h.data&&(o=h.url+=(hn.test(o)?"&":"?")+h.data,delete h.data),h.cache===!1&&(h.url=fn.test(o)?o.replace(fn,"$1_="+un++):o+(hn.test(o)?"&":"?")+"_="+un++)),h.ifModified&&(Z.lastModified[o]&&w.setRequestHeader("If-Modified-Since",Z.lastModified[o]),Z.etag[o]&&w.setRequestHeader("If-None-Match",Z.etag[o])),(h.data&&h.hasContent&&h.contentType!==!1||e.contentType)&&w.setRequestHeader("Content-Type",h.contentType),w.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+wn+"; q=0.01":""):h.accepts["*"]);for(u in h.headers)w.setRequestHeader(u,h.headers[u]);if(h.beforeSend&&(h.beforeSend.call(p,w,h)===!1||2===b))return w.abort();x="abort";for(u in{success:1,error:1,complete:1})w[u](h[u]);if(i=q(xn,h,e,w)){w.readyState=1,c&&f.trigger("ajaxSend",[w,h]),h.async&&h.timeout>0&&(a=setTimeout(function(){w.abort("timeout")},h.timeout));try{b=1,i.send(v,n)}catch(C){if(!(2>b))throw C;n(-1,C)}}else n(-1,"No Transport");return w},getJSON:function(t,e,n){return Z.get(t,e,n,"json")},getScript:function(t,e){return Z.get(t,void 0,e,"script")}}),Z.each(["get","post"],function(t,e){Z[e]=function(t,n,i,o){return Z.isFunction(n)&&(o=o||i,i=n,n=void 0),Z.ajax({url:t,type:e,dataType:o,data:n,success:i})}}),Z._evalUrl=function(t){return Z.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},Z.fn.extend({wrapAll:function(t){var e;return Z.isFunction(t)?this.each(function(e){Z(this).wrapAll(t.call(this,e))}):(this[0]&&(e=Z(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(t){return this.each(Z.isFunction(t)?function(e){Z(this).wrapInner(t.call(this,e))}:function(){var e=Z(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=Z.isFunction(t);return this.each(function(n){Z(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){Z.nodeName(this,"body")||Z(this).replaceWith(this.childNodes)}).end()}}),Z.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0},Z.expr.filters.visible=function(t){return!Z.expr.filters.hidden(t)};var Tn=/%20/g,Sn=/\[\]$/,En=/\r?\n/g,$n=/^(?:submit|button|image|reset|file)$/i,Nn=/^(?:input|select|textarea|keygen)/i;Z.param=function(t,e){var n,i=[],o=function(t,e){e=Z.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=Z.ajaxSettings&&Z.ajaxSettings.traditional),Z.isArray(t)||t.jquery&&!Z.isPlainObject(t))Z.each(t,function(){o(this.name,this.value)});else for(n in t)R(n,t[n],e,o);return i.join("&").replace(Tn,"+")},Z.fn.extend({serialize:function(){return Z.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=Z.prop(this,"elements");return t?Z.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!Z(this).is(":disabled")&&Nn.test(this.nodeName)&&!$n.test(t)&&(this.checked||!Te.test(t))}).map(function(t,e){var n=Z(this).val();return null==n?null:Z.isArray(n)?Z.map(n,function(t){return{name:e.name,value:t.replace(En,"\r\n")}}):{name:e.name,value:n.replace(En,"\r\n")}}).get()}}),Z.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(t){}};var Dn=0,jn={},An={0:200,1223:204},Ln=Z.ajaxSettings.xhr();t.attachEvent&&t.attachEvent("onunload",function(){for(var t in jn)jn[t]()}),Y.cors=!!Ln&&"withCredentials"in Ln,Y.ajax=Ln=!!Ln,Z.ajaxTransport(function(t){var e;return Y.cors||Ln&&!t.crossDomain?{send:function(n,i){var o,r=t.xhr(),s=++Dn;if(r.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)r[o]=t.xhrFields[o];t.mimeType&&r.overrideMimeType&&r.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(o in n)r.setRequestHeader(o,n[o]);e=function(t){return function(){e&&(delete jn[s],e=r.onload=r.onerror=null,"abort"===t?r.abort():"error"===t?i(r.status,r.statusText):i(An[r.status]||r.status,r.statusText,"string"==typeof r.responseText?{text:r.responseText}:void 0,r.getAllResponseHeaders()))}},r.onload=e(),r.onerror=e("error"),e=jn[s]=e("abort");try{r.send(t.hasContent&&t.data||null)}catch(a){if(e)throw a}},abort:function(){e&&e()}}:void 0}),Z.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return Z.globalEval(t),t}}}),Z.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),Z.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(i,o){e=Z("<script>").prop({async:!0,charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&o("error"===t.type?404:200,t.type)}),J.head.appendChild(e[0])},abort:function(){n&&n()}}}});var Hn=[],Fn=/(=)\?(?=&|$)|\?\?/;Z.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Hn.pop()||Z.expando+"_"+un++;return this[t]=!0,t}}),Z.ajaxPrefilter("json jsonp",function(e,n,i){var o,r,s,a=e.jsonp!==!1&&(Fn.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Fn.test(e.data)&&"data");return a||"jsonp"===e.dataTypes[0]?(o=e.jsonpCallback=Z.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Fn,"$1"+o):e.jsonp!==!1&&(e.url+=(hn.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return s||Z.error(o+" was not called"),s[0]},e.dataTypes[0]="json",r=t[o],t[o]=function(){s=arguments},i.always(function(){t[o]=r,e[o]&&(e.jsonpCallback=n.jsonpCallback,Hn.push(o)),s&&Z.isFunction(r)&&r(s[0]),s=r=void 0}),"script"):void 0}),Z.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||J;var i=se.exec(t),o=!n&&[];return i?[e.createElement(i[1])]:(i=Z.buildFragment([t],e,o),o&&o.length&&Z(o).remove(),Z.merge([],i.childNodes))};var Pn=Z.fn.load;Z.fn.load=function(t,e,n){if("string"!=typeof t&&Pn)return Pn.apply(this,arguments);var i,o,r,s=this,a=t.indexOf(" ");return a>=0&&(i=Z.trim(t.slice(a)),t=t.slice(0,a)),Z.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),s.length>0&&Z.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){r=arguments,s.html(i?Z("<div>").append(Z.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){s.each(n,r||[t.responseText,e,t])}),this},Z.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){Z.fn[e]=function(t){return this.on(e,t)}}),Z.expr.filters.animated=function(t){return Z.grep(Z.timers,function(e){return t===e.elem}).length};var qn=t.document.documentElement;Z.offset={setOffset:function(t,e,n){var i,o,r,s,a,l,c,u=Z.css(t,"position"),h=Z(t),p={};"static"===u&&(t.style.position="relative"),a=h.offset(),r=Z.css(t,"top"),l=Z.css(t,"left"),c=("absolute"===u||"fixed"===u)&&(r+l).indexOf("auto")>-1,c?(i=h.position(),s=i.top,o=i.left):(s=parseFloat(r)||0,o=parseFloat(l)||0),Z.isFunction(e)&&(e=e.call(t,n,a)),null!=e.top&&(p.top=e.top-a.top+s),null!=e.left&&(p.left=e.left-a.left+o),"using"in e?e.using.call(t,p):h.css(p)}},Z.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){Z.offset.setOffset(this,t,e)});var e,n,i=this[0],o={top:0,left:0},r=i&&i.ownerDocument;return r?(e=r.documentElement,Z.contains(e,i)?(typeof i.getBoundingClientRect!==Se&&(o=i.getBoundingClientRect()),n=W(r),{top:o.top+n.pageYOffset-e.clientTop,left:o.left+n.pageXOffset-e.clientLeft}):o):void 0},position:function(){if(this[0]){var t,e,n=this[0],i={top:0,left:0};return"fixed"===Z.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),Z.nodeName(t[0],"html")||(i=t.offset()),i.top+=Z.css(t[0],"borderTopWidth",!0),i.left+=Z.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-Z.css(n,"marginTop",!0),left:e.left-i.left-Z.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||qn;t&&!Z.nodeName(t,"html")&&"static"===Z.css(t,"position");)t=t.offsetParent;return t||qn})}}),Z.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var i="pageYOffset"===n;Z.fn[e]=function(o){return me(this,function(e,o,r){var s=W(e);return void 0===r?s?s[n]:e[o]:void(s?s.scrollTo(i?t.pageXOffset:r,i?r:t.pageYOffset):e[o]=r)},e,o,arguments.length,null)}}),Z.each(["top","left"],function(t,e){Z.cssHooks[e]=C(Y.pixelPosition,function(t,n){return n?(n=w(t,e),Be.test(n)?Z(t).position()[e]+"px":n):void 0})}),Z.each({Height:"height",Width:"width"},function(t,e){Z.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){Z.fn[i]=function(i,o){var r=arguments.length&&(n||"boolean"!=typeof i),s=n||(i===!0||o===!0?"margin":"border");return me(this,function(e,n,i){var o;return Z.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?Z.css(e,n,s):Z.style(e,n,i,s)},e,r?i:void 0,r,null)}})}),Z.fn.size=function(){return this.length},Z.fn.andSelf=Z.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return Z});var On=t.jQuery,In=t.$;return Z.noConflict=function(e){return t.$===Z&&(t.$=In),e&&t.jQuery===Z&&(t.jQuery=On),Z},typeof e===Se&&(t.jQuery=t.$=Z),Z}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;t(this).one("bsTransitionEnd",function(){n=!0});var o=function(){n||t(i).trigger(t.support.transition.end)};return setTimeout(o,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),o=n.data("bs.alert");o||n.data("bs.alert",o=new i(this)),"string"==typeof e&&o[e].call(n)})}var n='[data-dismiss="alert"]',i=function(e){t(e).on("click",n,this.close)};i.VERSION="3.2.0",i.prototype.close=function(e){function n(){r.detach().trigger("closed.bs.alert").remove()}var i=t(this),o=i.attr("data-target");o||(o=i.attr("href"),o=o&&o.replace(/.*(?=#[^\s]*$)/,""));var r=t(o);e&&e.preventDefault(),r.length||(r=i.hasClass("alert")?i:i.parent()),r.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(r.removeClass("in"),t.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",n).emulateTransitionEnd(150):n())};var o=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=o,this},t(document).on("click.bs.alert.data-api",n,i.prototype.close)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.button"),r="object"==typeof e&&e;o||i.data("bs.button",o=new n(this,r)),"toggle"==e?o.toggle():e&&o.setState(e)})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.isLoading=!1};n.VERSION="3.2.0",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",i=this.$element,o=i.is("input")?"val":"html",r=i.data();e+="Text",null==r.resetText&&i.data("resetText",i[o]()),i[o](null==r[e]?this.options[e]:r[e]),setTimeout(t.proxy(function(){"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")&&(n.prop("checked")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&n.prop("checked",!this.$element.hasClass("active")).trigger("change")}t&&this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=e,t.fn.button.Constructor=n,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var i=t(n.target);i.hasClass("btn")||(i=i.closest(".btn")),e.call(i,"toggle"),n.preventDefault()})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.carousel"),r=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e),s="string"==typeof e?e:r.slide;o||i.data("bs.carousel",o=new n(this,r)),"number"==typeof e?o.to(e):s?o[s]():r.interval&&o.pause().cycle()})}var n=function(e,n){this.$element=t(e).on("keydown.bs.carousel",t.proxy(this.keydown,this)),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};n.VERSION="3.2.0",n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},n.prototype.keydown=function(t){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()},n.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},n.prototype.to=function(e){var n=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));return e>this.$items.length-1||0>e?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){n.to(e)}):i==e?this.pause().cycle():this.slide(e>i?"next":"prev",t(this.$items[e]))},n.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){return this.sliding?void 0:this.slide("next")},n.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},n.prototype.slide=function(e,n){var i=this.$element.find(".item.active"),o=n||i[e](),r=this.interval,s="next"==e?"left":"right",a="next"==e?"first":"last",l=this;if(!o.length){if(!this.options.wrap)return;o=this.$element.find(".item")[a]()}if(o.hasClass("active"))return this.sliding=!1;var c=o[0],u=t.Event("slide.bs.carousel",{relatedTarget:c,direction:s});if(this.$element.trigger(u),!u.isDefaultPrevented()){if(this.sliding=!0,r&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var h=t(this.$indicators.children()[this.getItemIndex(o)]);h&&h.addClass("active")}var p=t.Event("slid.bs.carousel",{relatedTarget:c,direction:s});return t.support.transition&&this.$element.hasClass("slide")?(o.addClass(e),o[0].offsetWidth,i.addClass(s),o.addClass(s),i.one("bsTransitionEnd",function(){o.removeClass([e,s].join(" ")).addClass("active"),i.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(p)},0)}).emulateTransitionEnd(1e3*i.css("transition-duration").slice(0,-1))):(i.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(p)),r&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=n,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this},t(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(n){var i,o=t(this),r=t(o.attr("data-target")||(i=o.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(r.hasClass("carousel")){var s=t.extend({},r.data(),o.data()),a=o.attr("data-slide-to");a&&(s.interval=!1),e.call(r,s),a&&r.data("bs.carousel").to(a),n.preventDefault()}}),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var n=t(this);e.call(n,n.data())})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.collapse"),r=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e);!o&&r.toggle&&"show"==e&&(e=!e),o||i.data("bs.collapse",o=new n(this,r)),"string"==typeof e&&o[e]()})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.transitioning=null,this.options.parent&&(this.$parent=t(this.options.parent)),this.options.toggle&&this.toggle()};n.VERSION="3.2.0",n.DEFAULTS={toggle:!0},n.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},n.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n=t.Event("show.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var i=this.$parent&&this.$parent.find("> .panel > .in");if(i&&i.length){var o=i.data("bs.collapse");if(o&&o.transitioning)return;e.call(i,"hide"),o||i.data("bs.collapse",null)}var r=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[r](0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[r](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return s.call(this);var a=t.camelCase(["scroll",r].join("-"));this.$element.one("bsTransitionEnd",t.proxy(s,this)).emulateTransitionEnd(350)[r](this.$element[0][a])}}},n.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return t.support.transition?void this.$element[n](0).one("bsTransitionEnd",t.proxy(i,this)).emulateTransitionEnd(350):i.call(this)}}},n.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var i=t.fn.collapse;t.fn.collapse=e,t.fn.collapse.Constructor=n,t.fn.collapse.noConflict=function(){return t.fn.collapse=i,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(n){var i,o=t(this),r=o.attr("data-target")||n.preventDefault()||(i=o.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""),s=t(r),a=s.data("bs.collapse"),l=a?"toggle":o.data(),c=o.attr("data-parent"),u=c&&t(c);a&&a.transitioning||(u&&u.find('[data-toggle="collapse"][data-parent="'+c+'"]').not(o).addClass("collapsed"),o[s.hasClass("in")?"addClass":"removeClass"]("collapsed")),e.call(s,l)})}(jQuery),+function(t){"use strict";function e(e){e&&3===e.which||(t(o).remove(),t(r).each(function(){var i=n(t(this)),o={relatedTarget:this};i.hasClass("open")&&(i.trigger(e=t.Event("hide.bs.dropdown",o)),e.isDefaultPrevented()||i.removeClass("open").trigger("hidden.bs.dropdown",o))}))}function n(e){var n=e.attr("data-target");n||(n=e.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}function i(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new s(this)),"string"==typeof e&&i[e].call(n)})}var o=".dropdown-backdrop",r='[data-toggle="dropdown"]',s=function(e){t(e).on("click.bs.dropdown",this.toggle)};s.VERSION="3.2.0",s.prototype.toggle=function(i){var o=t(this);if(!o.is(".disabled, :disabled")){var r=n(o),s=r.hasClass("open");if(e(),!s){"ontouchstart"in document.documentElement&&!r.closest(".navbar-nav").length&&t('<div class="dropdown-backdrop"/>').insertAfter(t(this)).on("click",e);var a={relatedTarget:this};if(r.trigger(i=t.Event("show.bs.dropdown",a)),i.isDefaultPrevented())return;o.trigger("focus"),r.toggleClass("open").trigger("shown.bs.dropdown",a)}return!1}},s.prototype.keydown=function(e){if(/(38|40|27)/.test(e.keyCode)){var i=t(this);if(e.preventDefault(),e.stopPropagation(),!i.is(".disabled, :disabled")){var o=n(i),s=o.hasClass("open");if(!s||s&&27==e.keyCode)return 27==e.which&&o.find(r).trigger("focus"),i.trigger("click");var a=" li:not(.divider):visible a",l=o.find('[role="menu"]'+a+', [role="listbox"]'+a);if(l.length){var c=l.index(l.filter(":focus"));38==e.keyCode&&c>0&&c--,40==e.keyCode&&c<l.length-1&&c++,~c||(c=0),l.eq(c).trigger("focus")}}}};var a=t.fn.dropdown;t.fn.dropdown=i,t.fn.dropdown.Constructor=s,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=a,this},t(document).on("click.bs.dropdown.data-api",e).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",r,s.prototype.toggle).on("keydown.bs.dropdown.data-api",r+', [role="menu"], [role="listbox"]',s.prototype.keydown)}(jQuery),+function(t){"use strict";function e(e,i){return this.each(function(){var o=t(this),r=o.data("bs.modal"),s=t.extend({},n.DEFAULTS,o.data(),"object"==typeof e&&e);r||o.data("bs.modal",r=new n(this,s)),"string"==typeof e?r[e](i):s.show&&r.show(i)})}var n=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$backdrop=this.isShown=null,this.scrollbarWidth=0,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")
  4. },this))};n.VERSION="3.2.0",n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},n.prototype.show=function(e){var n=this,i=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(i),this.isShown||i.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.$body.addClass("modal-open"),this.setScrollbar(),this.escape(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.backdrop(function(){var i=t.support.transition&&n.$element.hasClass("fade");n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),i&&n.$element[0].offsetWidth,n.$element.addClass("in").attr("aria-hidden",!1),n.enforceFocus();var o=t.Event("shown.bs.modal",{relatedTarget:e});i?n.$element.find(".modal-dialog").one("bsTransitionEnd",function(){n.$element.trigger("focus").trigger(o)}).emulateTransitionEnd(300):n.$element.trigger("focus").trigger(o)}))},n.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.$body.removeClass("modal-open"),this.resetScrollbar(),this.escape(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},n.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},n.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(e){var n=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=t.support.transition&&i;if(this.$backdrop=t('<div class="modal-backdrop '+i+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;o?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(150):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var r=function(){n.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",r).emulateTransitionEnd(150):r()}else e&&e()},n.prototype.checkScrollbar=function(){document.body.clientWidth>=window.innerWidth||(this.scrollbarWidth=this.scrollbarWidth||this.measureScrollbar())},n.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.scrollbarWidth&&this.$body.css("padding-right",t+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right","")},n.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var i=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=n,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var i=t(this),o=i.attr("href"),r=t(i.attr("data-target")||o&&o.replace(/.*(?=#[^\s]+$)/,"")),s=r.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(o)&&o},r.data(),i.data());i.is("a")&&n.preventDefault(),r.one("show.bs.modal",function(t){t.isDefaultPrevented()||r.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),e.call(r,s,this)})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.tooltip"),r="object"==typeof e&&e;(o||"destroy"!=e)&&(o||i.data("bs.tooltip",o=new n(this,r)),"string"==typeof e&&o[e]())})}var n=function(t,e){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",t,e)};n.VERSION="3.2.0",n.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(e,n,i){this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(this.options.viewport.selector||this.options.viewport);for(var o=this.options.trigger.split(" "),r=o.length;r--;){var s=o[r];if("click"==s)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=s){var a="hover"==s?"mouseenter":"focusin",l="hover"==s?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},n.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,i){n[t]!=i&&(e[t]=i)}),e},n.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show()},n.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide()},n.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var n=t.contains(document.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!n)return;var i=this,o=this.tip(),r=this.getUID(this.type);this.setContent(),o.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&o.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,l=a.test(s);l&&(s=s.replace(a,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element);var c=this.getPosition(),u=o[0].offsetWidth,h=o[0].offsetHeight;if(l){var p=s,f=this.$element.parent(),d=this.getPosition(f);s="bottom"==s&&c.top+c.height+h-d.scroll>d.height?"top":"top"==s&&c.top-d.scroll-h<0?"bottom":"right"==s&&c.right+u>d.width?"left":"left"==s&&c.left-u<d.left?"right":s,o.removeClass(p).addClass(s)}var g=this.getCalculatedOffset(s,c,u,h);this.applyPlacement(g,s);var m=function(){i.$element.trigger("shown.bs."+i.type),i.hoverState=null};t.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",m).emulateTransitionEnd(150):m()}},n.prototype.applyPlacement=function(e,n){var i=this.tip(),o=i[0].offsetWidth,r=i[0].offsetHeight,s=parseInt(i.css("margin-top"),10),a=parseInt(i.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(a)&&(a=0),e.top=e.top+s,e.left=e.left+a,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var l=i[0].offsetWidth,c=i[0].offsetHeight;"top"==n&&c!=r&&(e.top=e.top+r-c);var u=this.getViewportAdjustedDelta(n,e,l,c);u.left?e.left+=u.left:e.top+=u.top;var h=u.left?2*u.left-o+l:2*u.top-r+c,p=u.left?"left":"top",f=u.left?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(h,i[0][f],p)},n.prototype.replaceArrow=function(t,e,n){this.arrow().css(n,t?50*(1-t/e)+"%":"")},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},n.prototype.hide=function(){function e(){"in"!=n.hoverState&&i.detach(),n.$element.trigger("hidden.bs."+n.type)}var n=this,i=this.tip(),o=t.Event("hide.bs."+this.type);return this.$element.removeAttr("aria-describedby"),this.$element.trigger(o),o.isDefaultPrevented()?void 0:(i.removeClass("in"),t.support.transition&&this.$tip.hasClass("fade")?i.one("bsTransitionEnd",e).emulateTransitionEnd(150):e(),this.hoverState=null,this)},n.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},n.prototype.hasContent=function(){return this.getTitle()},n.prototype.getPosition=function(e){e=e||this.$element;var n=e[0],i="BODY"==n.tagName;return t.extend({},"function"==typeof n.getBoundingClientRect?n.getBoundingClientRect():null,{scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop(),width:i?t(window).width():e.outerWidth(),height:i?t(window).height():e.outerHeight()},i?{top:0,left:0}:e.offset())},n.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},n.prototype.getViewportAdjustedDelta=function(t,e,n,i){var o={top:0,left:0};if(!this.$viewport)return o;var r=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-r-s.scroll,l=e.top+r-s.scroll+i;a<s.top?o.top=s.top-a:l>s.top+s.height&&(o.top=s.top+s.height-l)}else{var c=e.left-r,u=e.left+r+n;c<s.left?o.left=s.left-c:u>s.width&&(o.left=s.left+s.width-u)}return o},n.prototype.getTitle=function(){var t,e=this.$element,n=this.options;return t=e.attr("data-original-title")||("function"==typeof n.title?n.title.call(e[0]):n.title)},n.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},n.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(e){var n=this;e&&(n=t(e.currentTarget).data("bs."+this.type),n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.prototype.destroy=function(){clearTimeout(this.timeout),this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var i=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=n,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.popover"),r="object"==typeof e&&e;(o||"destroy"!=e)&&(o||i.data("bs.popover",o=new n(this,r)),"string"==typeof e&&o[e]())})}var n=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.2.0",n.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),n.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").empty()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},n.prototype.tip=function(){return this.$tip||(this.$tip=t(this.options.template)),this.$tip};var i=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=n,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),+function(t){"use strict";function e(n,i){var o=t.proxy(this.process,this);this.$body=t("body"),this.$scrollElement=t(t(n).is("body")?window:n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",o),this.refresh(),this.process()}function n(n){return this.each(function(){var i=t(this),o=i.data("bs.scrollspy"),r="object"==typeof n&&n;o||i.data("bs.scrollspy",o=new e(this,r)),"string"==typeof n&&o[n]()})}e.VERSION="3.2.0",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e="offset",n=0;t.isWindow(this.$scrollElement[0])||(e="position",n=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var i=this;this.$body.find(this.selector).map(function(){var i=t(this),o=i.data("target")||i.attr("href"),r=/^#./.test(o)&&t(o);return r&&r.length&&r.is(":visible")&&[[r[e]().top+n,o]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){i.offsets.push(this[0]),i.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),o=this.offsets,r=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return s!=(t=r[r.length-1])&&this.activate(t);if(s&&e<=o[0])return s!=(t=r[0])&&this.activate(t);for(t=o.length;t--;)s!=r[t]&&e>=o[t]&&(!o[t+1]||e<=o[t+1])&&this.activate(r[t])},e.prototype.activate=function(e){this.activeTarget=e,t(this.selector).parentsUntil(this.options.target,".active").removeClass("active");var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")};var i=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.tab");o||i.data("bs.tab",o=new n(this)),"string"==typeof e&&o[e]()})}var n=function(e){this.element=t(e)};n.VERSION="3.2.0",n.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=e.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var o=n.find(".active:last a")[0],r=t.Event("show.bs.tab",{relatedTarget:o});if(e.trigger(r),!r.isDefaultPrevented()){var s=t(i);this.activate(e.closest("li"),n),this.activate(s,s.parent(),function(){e.trigger({type:"shown.bs.tab",relatedTarget:o})})}}},n.prototype.activate=function(e,n,i){function o(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),e.addClass("active"),s?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu")&&e.closest("li.dropdown").addClass("active"),i&&i()}var r=n.find("> .active"),s=i&&t.support.transition&&r.hasClass("fade");s?r.one("bsTransitionEnd",o).emulateTransitionEnd(150):o(),r.removeClass("in")};var i=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=n,t.fn.tab.noConflict=function(){return t.fn.tab=i,this},t(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(n){n.preventDefault(),e.call(t(this),"show")})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.affix"),r="object"==typeof e&&e;o||i.data("bs.affix",o=new n(this,r)),"string"==typeof e&&o[e]()})}var n=function(e,i){this.options=t.extend({},n.DEFAULTS,i),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.2.0",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},n.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=t(document).height(),i=this.$target.scrollTop(),o=this.$element.offset(),r=this.options.offset,s=r.top,a=r.bottom;"object"!=typeof r&&(a=s=r),"function"==typeof s&&(s=r.top(this.$element)),"function"==typeof a&&(a=r.bottom(this.$element));var l=null!=this.unpin&&i+this.unpin<=o.top?!1:null!=a&&o.top+this.$element.height()>=e-a?"bottom":null!=s&&s>=i?"top":!1;if(this.affixed!==l){null!=this.unpin&&this.$element.css("top","");var c="affix"+(l?"-"+l:""),u=t.Event(c+".bs.affix");this.$element.trigger(u),u.isDefaultPrevented()||(this.affixed=l,this.unpin="bottom"==l?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(c).trigger(t.Event(c.replace("affix","affixed"))),"bottom"==l&&this.$element.offset({top:e-this.$element.height()-a}))}}};var i=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),i=n.data();i.offset=i.offset||{},i.offsetBottom&&(i.offset.bottom=i.offsetBottom),i.offsetTop&&(i.offset.top=i.offsetTop),e.call(n,i)})})}(jQuery),function(t){"use strict";function e(t){return t instanceof Number||"number"==typeof t}t.fn.borderLayout=function(){var n=function(n,i){n.style.position="absolute",n.style.boxSizing="border-box";for(var o in i){var r=i[o];e(r)&&(r=parseInt(r)+"px"),n.style[o]=r}t(n).trigger("size.change")},i=function(t,e){return"%"===t[t.length-1]?e*parseInt(t)/100:parseInt(t)},o=function(t,e,n,o){var r=i(t,e);return n&&(n=i(n,e),n>r)?n:o&&(o=i(o,e),r>o)?o:r};return this.each(function(){function e(){c&&(b=c._data.width,b&&(b=o(b,h,c._data["min-width"],c._data["max-width"]),T=b,x=parseInt(c._data.left)||0,x&&(w-=x,T+=x),w-=b,n(c,{top:k,left:x,width:b,height:C}))),l&&(b=l._data.width,b&&(b=o(b,h,l._data["min-width"],l._data["max-width"]),x=parseInt(l._data.right)||0,x&&(w-=x),w-=b,n(l,{top:k,right:x,width:b,height:C})))}function i(){s&&(b=s._data.height,b&&(b=o(b,p,s._data["min-height"],s._data["max-height"]),C-=b,k=b,n(s,{top:0,left:T,width:w,height:b}))),a&&(b=a._data.height,b&&(b=o(b,p,a._data["min-height"],a._data["max-height"]),C-=b,n(a,{bottom:0,left:T,height:b,width:w})))}this.style.boxSizing="border-box",this.style.overflow="hidden",(this==document.body||t(this).hasClass("layout--body"))&&n(this,{top:0,bottom:0,left:0,right:0});for(var r,s,a,l,c,u=t(this).hasClass("layout--h"),h=this.clientWidth,p=this.clientHeight,f=0,d=this.children;f<d.length;){var g=d[f++],m=g.getAttribute("data-options");if(m){m=m.replace(/(['"])?([a-zA-Z0-9\-]+)(['"])?:/g,'"$2":'),m=m.replace(/'/g,'"'),m="{"+m+"}";try{m=JSON.parse(m)}catch(v){continue}var y=m.region;y&&(g._data=m,/center/i.test(y)?r=g:/north/i.test(y)?s=g:/south/i.test(y)?a=g:/east/i.test(y)?l=g:/west/i.test(y)&&(c=g))}}var b,x,w=h,C=p,k=0,T=0;u?(e(),i()):(i(),e()),r&&n(r,{top:k,left:T,width:w,height:C})})},t(function(){t(".layout").borderLayout(),t(window).resize(function(){t(".layout").borderLayout()})})}(jQuery),!function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof exports?module.exports=e(require("jquery")):jQuery&&!jQuery.fn.colorpicker&&e(jQuery)}(this,function(t){"use strict";var e=function(n,i,o,r,s){this.fallbackValue=o?o&&"undefined"!=typeof o.h?o:this.value={h:0,s:0,b:0,a:1}:null,this.fallbackFormat=r?r:"rgba",this.hexNumberSignPrefix=s===!0,this.value=this.fallbackValue,this.origFormat=null,this.predefinedColors=i?i:{},this.colors=t.extend({},e.webColors,this.predefinedColors),n&&("undefined"!=typeof n.h?this.value=n:this.setColor(String(n))),this.value||(this.value={h:0,s:0,b:0,a:1})};e.webColors={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32",transparent:"transparent"},e.prototype={constructor:e,colors:{},predefinedColors:{},getValue:function(){return this.value},setValue:function(t){this.value=t},_sanitizeNumber:function(t){return"number"==typeof t?t:isNaN(t)||null===t||""===t||void 0===t?1:""===t?0:"undefined"!=typeof t.toLowerCase?(t.match(/^\./)&&(t="0"+t),Math.ceil(100*parseFloat(t))/100):1},isTransparent:function(t){return!(!t||!("string"==typeof t||t instanceof String))&&(t=t.toLowerCase().trim(),"transparent"===t||t.match(/#?00000000/)||t.match(/(rgba|hsla)\(0,0,0,0?\.?0\)/))},rgbaIsTransparent:function(t){return 0===t.r&&0===t.g&&0===t.b&&0===t.a},setColor:function(t){if(t=t.toLowerCase().trim()){if(this.isTransparent(t))return this.value={h:0,s:0,b:0,a:0},!0;var e=this.parse(t);e?(this.value=this.value={h:e.h,s:e.s,b:e.b,a:e.a},this.origFormat||(this.origFormat=e.format)):this.fallbackValue&&(this.value=this.fallbackValue)}return!1},setHue:function(t){this.value.h=1-t},setSaturation:function(t){this.value.s=t},setBrightness:function(t){this.value.b=1-t},setAlpha:function(t){this.value.a=Math.round(parseInt(100*(1-t),10)/100*100)/100},toRGB:function(t,e,n,i){0===arguments.length&&(t=this.value.h,e=this.value.s,n=this.value.b,i=this.value.a),t*=360;var o,r,s,a,l;return t=t%360/60,l=n*e,a=l*(1-Math.abs(t%2-1)),o=r=s=n-l,t=~~t,o+=[l,a,0,0,a,l][t],r+=[a,l,l,a,0,0][t],s+=[0,0,a,l,l,a][t],{r:Math.round(255*o),g:Math.round(255*r),b:Math.round(255*s),a:i}},toHex:function(t,e,n,i){0===arguments.length&&(t=this.value.h,e=this.value.s,n=this.value.b,i=this.value.a);var o=this.toRGB(t,e,n,i);if(this.rgbaIsTransparent(o))return"transparent";var r=(this.hexNumberSignPrefix?"#":"")+((1<<24)+(parseInt(o.r)<<16)+(parseInt(o.g)<<8)+parseInt(o.b)).toString(16).slice(1);return r},toHSL:function(t,e,n,i){0===arguments.length&&(t=this.value.h,e=this.value.s,n=this.value.b,i=this.value.a);var o=t,r=(2-e)*n,s=e*n;return s/=r>0&&1>=r?r:2-r,r/=2,s>1&&(s=1),{h:isNaN(o)?0:o,s:isNaN(s)?0:s,l:isNaN(r)?0:r,a:isNaN(i)?0:i}},toAlias:function(t,e,n,i){var o,r=0===arguments.length?this.toHex():this.toHex(t,e,n,i),s="alias"===this.origFormat?r:this.toString(this.origFormat,!1);for(var a in this.colors)if(o=this.colors[a].toLowerCase().trim(),o===r||o===s)return a;return!1},RGBtoHSB:function(t,e,n,i){t/=255,e/=255,n/=255;var o,r,s,a;return s=Math.max(t,e,n),a=s-Math.min(t,e,n),o=0===a?null:s===t?(e-n)/a:s===e?(n-t)/a+2:(t-e)/a+4,o=(o+360)%6*60/360,r=0===a?0:a/s,{h:this._sanitizeNumber(o),s:r,b:s,a:this._sanitizeNumber(i)}},HueToRGB:function(t,e,n){return 0>n?n+=1:n>1&&(n-=1),1>6*n?t+(e-t)*n*6:1>2*n?e:2>3*n?t+(e-t)*(2/3-n)*6:t},HSLtoRGB:function(t,e,n,i){0>e&&(e=0);var o;o=.5>=n?n*(1+e):n+e-n*e;var r=2*n-o,s=t+1/3,a=t,l=t-1/3,c=Math.round(255*this.HueToRGB(r,o,s)),u=Math.round(255*this.HueToRGB(r,o,a)),h=Math.round(255*this.HueToRGB(r,o,l));return[c,u,h,this._sanitizeNumber(i)]},parse:function(e){if(0===arguments.length)return!1;var n,i,o=this,r=!1,s="undefined"!=typeof this.colors[e];return s&&(e=this.colors[e].toLowerCase().trim()),t.each(this.stringParsers,function(t,a){var l=a.re.exec(e);return n=l&&a.parse.apply(o,[l]),!n||(r={},i=s?"alias":a.format?a.format:o.getValidFallbackFormat(),r=i.match(/hsla?/)?o.RGBtoHSB.apply(o,o.HSLtoRGB.apply(o,n)):o.RGBtoHSB.apply(o,n),r instanceof Object&&(r.format=i),!1)}),r},getValidFallbackFormat:function(){var t=["rgba","rgb","hex","hsla","hsl"];return this.origFormat&&-1!==t.indexOf(this.origFormat)?this.origFormat:this.fallbackFormat&&-1!==t.indexOf(this.fallbackFormat)?this.fallbackFormat:"rgba"},toString:function(t,n){t=t||this.origFormat||this.fallbackFormat,n=n||!1;var i=!1;switch(t){case"rgb":return i=this.toRGB(),this.rgbaIsTransparent(i)?"transparent":"rgb("+i.r+","+i.g+","+i.b+")";case"rgba":return i=this.toRGB(),"rgba("+i.r+","+i.g+","+i.b+","+i.a+")";case"hsl":return i=this.toHSL(),"hsl("+Math.round(360*i.h)+","+Math.round(100*i.s)+"%,"+Math.round(100*i.l)+"%)";case"hsla":return i=this.toHSL(),"hsla("+Math.round(360*i.h)+","+Math.round(100*i.s)+"%,"+Math.round(100*i.l)+"%,"+i.a+")";case"hex":return this.toHex();case"alias":return i=this.toAlias(),i===!1?this.toString(this.getValidFallbackFormat()):n&&!(i in e.webColors)&&i in this.predefinedColors?this.predefinedColors[i]:i;default:return i}},stringParsers:[{re:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*?\)/,format:"rgb",parse:function(t){return[t[1],t[2],t[3],1]}},{re:/rgb\(\s*(\d*(?:\.\d+)?)\%\s*,\s*(\d*(?:\.\d+)?)\%\s*,\s*(\d*(?:\.\d+)?)\%\s*?\)/,format:"rgb",parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],1]}},{re:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d*(?:\.\d+)?)\s*)?\)/,format:"rgba",parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba\(\s*(\d*(?:\.\d+)?)\%\s*,\s*(\d*(?:\.\d+)?)\%\s*,\s*(\d*(?:\.\d+)?)\%\s*(?:,\s*(\d*(?:\.\d+)?)\s*)?\)/,format:"rgba",parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/hsl\(\s*(\d*(?:\.\d+)?)\s*,\s*(\d*(?:\.\d+)?)\%\s*,\s*(\d*(?:\.\d+)?)\%\s*?\)/,format:"hsl",parse:function(t){return[t[1]/360,t[2]/100,t[3]/100,t[4]]}},{re:/hsla\(\s*(\d*(?:\.\d+)?)\s*,\s*(\d*(?:\.\d+)?)\%\s*,\s*(\d*(?:\.\d+)?)\%\s*(?:,\s*(\d*(?:\.\d+)?)\s*)?\)/,format:"hsla",parse:function(t){return[t[1]/360,t[2]/100,t[3]/100,t[4]]}},{re:/#?([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/,format:"hex",parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16),1]}},{re:/#?([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/,format:"hex",parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16),1]}}],colorNameToHex:function(t){return"undefined"!=typeof this.colors[t.toLowerCase()]&&this.colors[t.toLowerCase()]}};var n={horizontal:!1,inline:!1,color:!1,format:!1,input:"input",container:!1,component:".add-on, .input-group-addon",fallbackColor:!1,fallbackFormat:"hex",hexNumberSignPrefix:!0,sliders:{saturation:{maxLeft:100,maxTop:100,callLeft:"setSaturation",callTop:"setBrightness"},hue:{maxLeft:0,maxTop:100,callLeft:!1,callTop:"setHue"},alpha:{maxLeft:0,maxTop:100,callLeft:!1,callTop:"setAlpha"}},slidersHorz:{saturation:{maxLeft:100,maxTop:100,callLeft:"setSaturation",callTop:"setBrightness"},hue:{maxLeft:100,maxTop:0,callLeft:"setHue",callTop:!1},alpha:{maxLeft:100,maxTop:0,callLeft:"setAlpha",callTop:!1}},template:'<div class="colorpicker dropdown-menu"><div class="colorpicker-saturation"><i><b></b></i></div><div class="colorpicker-hue"><i></i></div><div class="colorpicker-alpha"><i></i></div><div class="colorpicker-color"><div /></div><div class="colorpicker-selectors"></div></div>',align:"right",customClass:null,colorSelectors:null},i=function(e,i){this.element=t(e).addClass("colorpicker-element"),this.options=t.extend(!0,{},n,this.element.data(),i),this.component=this.options.component,this.component=this.component!==!1&&this.element.find(this.component),this.component&&0===this.component.length&&(this.component=!1),this.container=this.options.container===!0?this.element:this.options.container,this.container=this.container!==!1&&t(this.container),this.input=this.element.is("input")?this.element:!!this.options.input&&this.element.find(this.options.input),this.input&&0===this.input.length&&(this.input=!1),this.color=this.createColor(this.options.color!==!1?this.options.color:this.getValue()),this.format=this.options.format!==!1?this.options.format:this.color.origFormat,this.options.color!==!1&&(this.updateInput(this.color),this.updateData(this.color));
  5. var o=this.picker=t(this.options.template);if(this.options.customClass&&o.addClass(this.options.customClass),o.addClass(this.options.inline?"colorpicker-inline colorpicker-visible":"colorpicker-hidden"),this.options.horizontal&&o.addClass("colorpicker-horizontal"),-1===["rgba","hsla","alias"].indexOf(this.format)&&this.options.format!==!1&&"transparent"!==this.getValue()||o.addClass("colorpicker-with-alpha"),"right"===this.options.align&&o.addClass("colorpicker-right"),this.options.inline===!0&&o.addClass("colorpicker-no-arrow"),this.options.colorSelectors){var r=this,s=r.picker.find(".colorpicker-selectors");s.length>0&&(t.each(this.options.colorSelectors,function(e,n){var i=t("<i />").addClass("colorpicker-selectors-color").css("background-color",n).data("class",e).data("alias",e);i.on("mousedown.colorpicker touchstart.colorpicker",function(e){e.preventDefault(),r.setValue("alias"===r.format?t(this).data("alias"):t(this).css("background-color"))}),s.append(i)}),s.show().addClass("colorpicker-visible"))}o.on("mousedown.colorpicker touchstart.colorpicker",t.proxy(function(t){t.target===t.currentTarget&&t.preventDefault()},this)),o.find(".colorpicker-saturation, .colorpicker-hue, .colorpicker-alpha").on("mousedown.colorpicker touchstart.colorpicker",t.proxy(this.mousedown,this)),o.appendTo(this.container?this.container:t("body")),this.input!==!1&&(this.input.on({"keyup.colorpicker":t.proxy(this.keyup,this)}),this.input.on({"change.colorpicker":t.proxy(this.change,this)}),this.component===!1&&this.element.on({"focus.colorpicker":t.proxy(this.show,this)}),this.options.inline===!1&&this.element.on({"focusout.colorpicker":t.proxy(this.hide,this)})),this.component!==!1&&this.component.on({"click.colorpicker":t.proxy(this.show,this)}),this.input===!1&&this.component===!1&&this.element.on({"click.colorpicker":t.proxy(this.show,this)}),this.input!==!1&&this.component!==!1&&"color"===this.input.attr("type")&&this.input.on({"click.colorpicker":t.proxy(this.show,this),"focus.colorpicker":t.proxy(this.show,this)}),this.update(),t(t.proxy(function(){this.element.trigger("create")},this))};i.Color=e,i.prototype={constructor:i,destroy:function(){this.picker.remove(),this.element.removeData("colorpicker","color").off(".colorpicker"),this.input!==!1&&this.input.off(".colorpicker"),this.component!==!1&&this.component.off(".colorpicker"),this.element.removeClass("colorpicker-element"),this.element.trigger({type:"destroy"})},reposition:function(){if(this.options.inline!==!1||this.options.container)return!1;var t=this.container&&this.container[0]!==window.document.body?"position":"offset",e=this.component||this.element,n=e[t]();"right"===this.options.align&&(n.left-=this.picker.outerWidth()-e.outerWidth()),this.picker.css({top:n.top+e.outerHeight(),left:n.left})},show:function(e){this.isDisabled()||(this.picker.addClass("colorpicker-visible").removeClass("colorpicker-hidden"),this.reposition(),t(window).on("resize.colorpicker",t.proxy(this.reposition,this)),!e||this.hasInput()&&"color"!==this.input.attr("type")||e.stopPropagation&&e.preventDefault&&(e.stopPropagation(),e.preventDefault()),!this.component&&this.input||this.options.inline!==!1||t(window.document).on({"mousedown.colorpicker":t.proxy(this.hide,this)}),this.element.trigger({type:"showPicker",color:this.color}))},hide:function(e){return("undefined"==typeof e||!e.target||!(t(e.currentTarget).parents(".colorpicker").length>0||t(e.target).parents(".colorpicker").length>0))&&(this.picker.addClass("colorpicker-hidden").removeClass("colorpicker-visible"),t(window).off("resize.colorpicker",this.reposition),t(window.document).off({"mousedown.colorpicker":this.hide}),this.update(),void this.element.trigger({type:"hidePicker",color:this.color}))},updateData:function(t){return t=t||this.color.toString(this.format,!1),this.element.data("color",t),t},updateInput:function(t){return t=t||this.color.toString(this.format,!1),this.input!==!1&&(this.input.prop("value",t),this.input.trigger("change")),t},updatePicker:function(t){"undefined"!=typeof t&&(this.color=this.createColor(t));var e=this.options.horizontal===!1?this.options.sliders:this.options.slidersHorz,n=this.picker.find("i");return 0!==n.length?(this.options.horizontal===!1?(e=this.options.sliders,n.eq(1).css("top",e.hue.maxTop*(1-this.color.value.h)).end().eq(2).css("top",e.alpha.maxTop*(1-this.color.value.a))):(e=this.options.slidersHorz,n.eq(1).css("left",e.hue.maxLeft*(1-this.color.value.h)).end().eq(2).css("left",e.alpha.maxLeft*(1-this.color.value.a))),n.eq(0).css({top:e.saturation.maxTop-this.color.value.b*e.saturation.maxTop,left:this.color.value.s*e.saturation.maxLeft}),this.picker.find(".colorpicker-saturation").css("backgroundColor",(this.options.hexNumberSignPrefix?"":"#")+this.color.toHex(this.color.value.h,1,1,1)),this.picker.find(".colorpicker-alpha").css("backgroundColor",(this.options.hexNumberSignPrefix?"":"#")+this.color.toHex()),this.picker.find(".colorpicker-color, .colorpicker-color div").css("backgroundColor",this.color.toString(this.format,!0)),t):void 0},updateComponent:function(t){var e;if(e="undefined"!=typeof t?this.createColor(t):this.color,this.component!==!1){var n=this.component.find("i").eq(0);n.length>0?n.css({backgroundColor:e.toString(this.format,!0)}):this.component.css({backgroundColor:e.toString(this.format,!0)})}return e.toString(this.format,!1)},update:function(t){var e;return this.getValue(!1)===!1&&t!==!0||(e=this.updateComponent(),this.updateInput(e),this.updateData(e),this.updatePicker()),e},setValue:function(t){this.color=this.createColor(t),this.update(!0),this.element.trigger({type:"changeColor",color:this.color,value:t})},createColor:function(t){return new e(t?t:null,this.options.colorSelectors,this.options.fallbackColor?this.options.fallbackColor:this.color,this.options.fallbackFormat,this.options.hexNumberSignPrefix)},getValue:function(t){t="undefined"==typeof t?this.options.fallbackColor:t;var e;return e=this.hasInput()?this.input.val():this.element.data("color"),void 0!==e&&""!==e&&null!==e||(e=t),e},hasInput:function(){return this.input!==!1},isDisabled:function(){return!!this.hasInput()&&this.input.prop("disabled")===!0},disable:function(){return!!this.hasInput()&&(this.input.prop("disabled",!0),this.element.trigger({type:"disable",color:this.color,value:this.getValue()}),!0)},enable:function(){return!!this.hasInput()&&(this.input.prop("disabled",!1),this.element.trigger({type:"enable",color:this.color,value:this.getValue()}),!0)},currentSlider:null,mousePointer:{left:0,top:0},mousedown:function(e){!e.pageX&&!e.pageY&&e.originalEvent&&e.originalEvent.touches&&(e.pageX=e.originalEvent.touches[0].pageX,e.pageY=e.originalEvent.touches[0].pageY),e.stopPropagation(),e.preventDefault();var n=t(e.target),i=n.closest("div"),o=this.options.horizontal?this.options.slidersHorz:this.options.sliders;if(!i.is(".colorpicker")){if(i.is(".colorpicker-saturation"))this.currentSlider=t.extend({},o.saturation);else if(i.is(".colorpicker-hue"))this.currentSlider=t.extend({},o.hue);else{if(!i.is(".colorpicker-alpha"))return!1;this.currentSlider=t.extend({},o.alpha)}var r=i.offset();this.currentSlider.guide=i.find("i")[0].style,this.currentSlider.left=e.pageX-r.left,this.currentSlider.top=e.pageY-r.top,this.mousePointer={left:e.pageX,top:e.pageY},t(window.document).on({"mousemove.colorpicker":t.proxy(this.mousemove,this),"touchmove.colorpicker":t.proxy(this.mousemove,this),"mouseup.colorpicker":t.proxy(this.mouseup,this),"touchend.colorpicker":t.proxy(this.mouseup,this)}).trigger("mousemove")}return!1},mousemove:function(t){!t.pageX&&!t.pageY&&t.originalEvent&&t.originalEvent.touches&&(t.pageX=t.originalEvent.touches[0].pageX,t.pageY=t.originalEvent.touches[0].pageY),t.stopPropagation(),t.preventDefault();var e=Math.max(0,Math.min(this.currentSlider.maxLeft,this.currentSlider.left+((t.pageX||this.mousePointer.left)-this.mousePointer.left))),n=Math.max(0,Math.min(this.currentSlider.maxTop,this.currentSlider.top+((t.pageY||this.mousePointer.top)-this.mousePointer.top)));return this.currentSlider.guide.left=e+"px",this.currentSlider.guide.top=n+"px",this.currentSlider.callLeft&&this.color[this.currentSlider.callLeft].call(this.color,e/this.currentSlider.maxLeft),this.currentSlider.callTop&&this.color[this.currentSlider.callTop].call(this.color,n/this.currentSlider.maxTop),this.options.format!==!1||"setAlpha"!==this.currentSlider.callTop&&"setAlpha"!==this.currentSlider.callLeft||(1!==this.color.value.a?(this.format="rgba",this.color.origFormat="rgba"):(this.format="hex",this.color.origFormat="hex")),this.update(!0),this.element.trigger({type:"changeColor",color:this.color}),!1},mouseup:function(e){return e.stopPropagation(),e.preventDefault(),t(window.document).off({"mousemove.colorpicker":this.mousemove,"touchmove.colorpicker":this.mousemove,"mouseup.colorpicker":this.mouseup,"touchend.colorpicker":this.mouseup}),!1},change:function(t){this.keyup(t)},keyup:function(t){38===t.keyCode?(this.color.value.a<1&&(this.color.value.a=Math.round(100*(this.color.value.a+.01))/100),this.update(!0)):40===t.keyCode?(this.color.value.a>0&&(this.color.value.a=Math.round(100*(this.color.value.a-.01))/100),this.update(!0)):(this.color=this.createColor(this.input.val()),this.color.origFormat&&this.options.format===!1&&(this.format=this.color.origFormat),this.getValue(!1)!==!1&&(this.updateData(),this.updateComponent(),this.updatePicker())),this.element.trigger({type:"changeColor",color:this.color,value:this.input.val()})}},t.colorpicker=i,t.fn.colorpicker=function(e){var n=Array.prototype.slice.call(arguments,1),o=1===this.length,r=null,s=this.each(function(){var o=t(this),s=o.data("colorpicker"),a="object"==typeof e?e:{};s||(s=new i(this,a),o.data("colorpicker",s)),"string"==typeof e?t.isFunction(s[e])?r=s[e].apply(s,n):(n.length&&(s[e]=n[0]),r=s[e]):r=o});return o?r:s},t.fn.colorpicker.constructor=i});
js.js

 qunee-min.js点击复制粘贴

  1. function getI18NString(t){if(!i18n[lang])return t;var e=i18n[lang][t];return void 0===e?t:e}function override(t,e,n){var i=t.prototype[e];t.prototype[e]=function(){return i.apply(this,arguments),n.apply(this,arguments)}}function GridBackground(t){this.graph=t,t.onPropertyChange("viewport",this.update.bind(this)),t.onPropertyChange("transform",this.update.bind(this)),this.canvas=Q.createCanvas(t.width,t.height,!0),this.canvas.style.position="absolute",this.canvas.style.top="0px",this.canvas.style["-webkit-user-select"]="none",this.canvas.style["-webkit-tap-highlight-color"]="rgba(0, 0, 0, 0)",this.scaleCanvas=Q.createCanvas(t.width,t.height,!0),this.scaleCanvas.style.position="absolute",this.scaleCanvas.style.top="0px",this.scaleCanvas.style["-webkit-user-select"]="none",this.scaleCanvas.style["-webkit-tap-highlight-color"]="rgba(0, 0, 0, 0)",t.canvasPanel.insertBefore(this.canvas,t.canvasPanel.firstChild),t.canvasPanel.appendChild(this.scaleCanvas),this.update()}var i18n={"zh-cn":{Name:"鍚嶇О","Render Color":"娓叉煋鑹�",Border:"杈规","Border Color":"杈规棰滆壊",Location:"鍧愭爣",Size:"灏哄",Rotate:"鏃嬭浆","Label Color":"鏂囨湰棰滆壊","Background Color":"鑳屾櫙鑹�","Font Size":"瀛椾綋澶у皬","json file is empty":"JSON鏂囦欢涓虹┖","Save Error":"淇濆瓨閿欒","Save Success":"淇濆瓨鎴愬姛",Update:"鏇存柊",Submit:"鎻愪氦","Export JSON":"瀵煎嚭JSON","Load File ...":"鍔犺浇鏂囦欢 ...","Download File":"涓嬭浇鏂囦欢",Save:"淇濆瓨",Rename:"閲嶅懡鍚�","Input Element Name":"杈撳叆鍥惧厓鍚嶇О","Solid Line":"瀹炵嚎鏍峰紡","Dashed Line":"铏氱嚎鏍峰紡","Line Width":"杩炵嚎瀹藉害","Input Line Width":"杈撳叆杩炵嚎瀹藉害","Line Color":"杩炵嚎棰滆壊","Input Line Color":"杈撳叆杩炵嚎棰滆壊","Out of Group":"鑴辩鍒嗙粍","Send to Top":"缃《鏄剧ず","Send to Bottom":"缃簳鏄剧ず","Reset Layer":"鎭㈠榛樿灞�","Clear Graph":"娓呯┖鐢诲竷","Zoom In":"鏀惧ぇ","Zoom Out":"缂╁皬","1:1":"1:1","Pan Mode":"骞崇Щ妯″紡","Rectangle Select":"妗嗛€夋ā寮�",Text:"鏂囧瓧","Basic Nodes":"鍩烘湰鑺傜偣","Register Images":"娉ㄥ唽鍥剧墖","Default Shapes":"榛樿褰㈢姸"}},lang=navigator.language||navigator.browserLanguage;lang=lang.toLowerCase(),Q.Graph.prototype.copy=function(){var t=this.selectionModel.toDatas();this._copyElements=t},Q.Graph.prototype.paste=function(t,e){function n(t){i[t.id]||(i[t.id]=t,t.hasChildren()&&t.forEachChild(n),t instanceof Q.Edge&&(n(t.from),n(t.to)))}if(this._copyElements){t=t||0,e=e||0;var i={};graph.selectionModel.forEach(n);for(var o in i){var r=i[o];r instanceof Q.Node&&r.hasEdge()&&r.forEachEdge(function(t){var e=t.otherNode(r);e&&i[e.id]&&(i[t.id]=t)})}var a=this.exportJSON(!0,{filter:function(t){return t.id in i}.bind(this)}),s=this.parseJSON(a);s.forEach(function(n){n instanceof Q.Node&&(n.x=n.x+t,n.y=n.y+e)}),graph.setSelection(s)}},override(Q.EditInteraction,"onkeydown",function(t,e){var n=t.keyCode;if(Q.isMetaKey(t)){if(67==n)e.copy();else if(86==n)e.paste(20,20);else if(90==n);else if(89!=n)return;Q.stopEvent(t)}}),!function(t,e){var n=function(t){t=t||{};var n=document.createElement(t.tagName||"div");return t["class"]&&e(n).addClass(t["class"]),t.parent&&t.parent.appendChild(n),t.style&&n.setAttribute("style",t.style),t.css&&e(n).css(t.css),t.html&&e(n).html(t.html),n};t.createElement=n}(Q,jQuery),!function(t){function e(t){t=t||window.event;var e=t.dataTransfer,n=t.target;e.setData("text",n.getAttribute(o))}function n(t,e,n,o){var r=document.createElement("img");return r.src=e,r.setAttribute("title",n),o=o||{},o.label=o.label||n,o.title=n,o.image||o.type&&"Node"!=o.type||(o.image=e),i(r,o),t.appendChild(r),r}function i(n,i){return n.setAttribute("draggable","true"),n.setAttribute(o,t.exportJSON?t.exportJSON(i,!0):JSON.stringify(i)),n.ondragstart=e,n}var o="draginfo",r=/MSIE 9/i.test(navigator.userAgent)||/MSIE 10/i.test(navigator.userAgent),a=!r;if(!a){var s={},l=function(t){return{x:t.pageX,y:t.pageY}},h=document.documentElement,u=function(){h.addEventListener("mousemove",function(e){if(s.target){t.stopEvent(e);var n=l(e);if(!s.dragElement){var i=s.target;if(Math.abs(n.x-s.dragPoint.x)<=5||Math.abs(n.y-s.dragPoint.y)<=5)return;var o=document.createElement("div");o.style.position="absolute",o.style.zIndex=1e4;var r=i.cloneNode(!0);/canvas/i.test(r.tagName)?r.getContext("2d").drawImage(i,0,0):(o.style.maxWidth="30px",o.style.maxWidth="30px",o.style.cursor="move"),r.id=null,o.appendChild(r),h.appendChild(o),s.dragElement=o;var a={target:i};i.ondragstart instanceof Function&&(s.dataTransfer=a.dataTransfer={datas:{},setData:function(t,e){this.datas[t]=e},getData:function(t){return this.datas[t]}},i.ondragstart(a))}s.dragElement.style.left=n.x-s.dragElement.clientWidth/2+"px",s.dragElement.style.top=n.y-s.dragElement.clientHeight/2+"px"}},!1),h.addEventListener("mouseup",function(t){if(s.target){delete s.dragPoint,delete s.target,s.dragElement&&(h.removeChild(s.dragElement),delete s.dragElement);for(var e=l(t),n=document.getElementsByClassName("Q-CanvasPanel"),i=0;i<n.length;){var o=n[i];++i;var r=d(o);if(p(r,e)){o.ondrop instanceof Function&&(t.dataTransfer=s.dataTransfer,o.ondrop(t));break}}delete s.dataTransfer}},!1)},p=function(t,e){return e.x>=t.x&&e.x<=t.x+t.width&&e.y>=t.y&&e.y<=t.y+t.height},c=function(t){for(var e=0,n=0;t.offsetParent;)e+=t.clientLeft+t.offsetLeft-t.scrollLeft,n+=t.clientTop+t.offsetTop-t.scrollTop,t=t.offsetParent;return{x:e,y:n}},d=function(t){var e=c(t),n=e.x+t.scrollLeft,i=e.y+t.scrollTop,o=t.clientWidth,r=t.clientHeight;return{x:n,y:i,left:n,top:i,right:n+o,bottom:i+r,width:o,height:r}},f=function(e){return e.onmousedown=function(n){s.dragPoint=l(n),s.target=e,t.stopEvent(n)},e};i=function(t,n){return t.setAttribute("draggable","true"),t.setAttribute(o,JSON.stringify(n)),t.ondragstart=e,f(t),t},u()}t.createDNDImage=n,t.appendDNDInfo=i}(Q),!function(t){var e=e||"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob&&navigator.msSaveOrOpenBlob.bind(navigator)||function(t){"use strict";if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var e=t.document,n=function(){return t.URL||t.webkitURL||t},i=e.createElementNS("http://www.w3.org/1999/xhtml","a"),o="download"in i,r=function(n){var i=e.createEvent("MouseEvents");i.initMouseEvent("click",!0,!1,t,0,0,0,0,0,!1,!1,!1,!1,0,null),n.dispatchEvent(i)},a=t.webkitRequestFileSystem,s=t.requestFileSystem||a||t.mozRequestFileSystem,l=function(e){(t.setImmediate||t.setTimeout)(function(){throw e},0)},h="application/octet-stream",u=0,p=500,c=function(e){var i=function(){"string"==typeof e?n().revokeObjectURL(e):e.remove()};t.chrome?i():setTimeout(i,p)},d=function(t,e,n){e=[].concat(e);for(var i=e.length;i--;){var o=t["on"+e[i]];if("function"==typeof o)try{o.call(t,n||t)}catch(r){l(r)}}},f=function(e,l){var p,f,g,m=this,v=e.type,y=!1,_=function(){d(m,"writestart progress write writeend".split(" "))},b=function(){if((y||!p)&&(p=n().createObjectURL(e)),f)f.location.href=p;else{var i=t.open(p,"_blank");void 0==i&&"undefined"!=typeof safari&&(t.location.href=p)}m.readyState=m.DONE,_(),c(p)},S=function(t){return function(){return m.readyState!==m.DONE?t.apply(this,arguments):void 0}},E={create:!0,exclusive:!1};return m.readyState=m.INIT,l||(l="download"),o?(p=n().createObjectURL(e),i.href=p,i.download=l,r(i),m.readyState=m.DONE,_(),void c(p)):(t.chrome&&v&&v!==h&&(g=e.slice||e.webkitSlice,e=g.call(e,0,e.size,h),y=!0),a&&"download"!==l&&(l+=".download"),(v===h||a)&&(f=t),s?(u+=e.size,void s(t.TEMPORARY,u,S(function(t){t.root.getDirectory("saved",E,S(function(t){var n=function(){t.getFile(l,E,S(function(t){t.createWriter(S(function(n){n.onwriteend=function(e){f.location.href=t.toURL(),m.readyState=m.DONE,d(m,"writeend",e),c(t)},n.onerror=function(){var t=n.error;t.code!==t.ABORT_ERR&&b()},"writestart progress write abort".split(" ").forEach(function(t){n["on"+t]=m["on"+t]}),n.write(e),m.abort=function(){n.abort(),m.readyState=m.DONE},m.readyState=m.WRITING}),b)}),b)};t.getFile(l,{create:!1},S(function(t){t.remove(),n()}),S(function(t){t.code===t.NOT_FOUND_ERR?n():b()}))}),b)}),b)):void b())},g=f.prototype,m=function(t,e){return new f(t,e)};return g.abort=function(){var t=this;t.readyState=t.DONE,d(t,"abort")},g.readyState=g.INIT=0,g.WRITING=1,g.DONE=2,g.error=g.onwritestart=g.onprogress=g.onwrite=g.onabort=g.onerror=g.onwriteend=null,m}}("undefined"!=typeof self&&self||"undefined"!=typeof t&&t||this.content);"undefined"!=typeof module&&null!==module?module.exports=e:"undefined"!=typeof define&&null!==define&&null!=define.amd&&define([],function(){return e}),t.saveAs=e}(window,document),!function(t){function e(e,n,i){var o=e.name;if(t.isString(n)){var r=new RegExp("."+n+"$","gi");if(!r.test(o))return void alert("Please selects ."+n+" file")}else n instanceof Function&&(i=n);var a=new FileReader;a.onload=function(){i(a.result)},a.readAsText(e,"utf-8")}window.requestFileSystem=window.requestFileSystem||window.webkitRequestFileSystem,t.isFileSupported=null!=window.requestFileSystem,t.isFileSupported&&(t.readerSingleFile=e)}(Q),!function(t,e){function n(t){if(!(t instanceof Object))return!t;if(Array.isArray(t))return 0==t.length;for(var e in t)return!1;return!0}function i(t,n){var i=t.split(".");n=n||e;for(var o=-1;n&&++o<i.length;){var r=i[o];n=n[r]}return n}function o(t,e,n){if(t._classPath=e,t instanceof Function&&(t.prototype._className=t._classPath,t.prototype._class=t),n!==!1)for(var i in t)if(!("_"==i[0]||"$"==i[0]||"superclass"==i||"constructor"==i||"prototype"==i||i.indexOf(".")>=0)){var r=t[i];r&&r instanceof Object&&!r._classPath&&o(r,e+"."+i)}}function r(t){var e=t._className;if(!e)return null;var n=p[e];if(!n){var i=t._class;n=p[e]=new i}return n}function a(t,e){return t==e||t&&e&&t.equals&&t.equals(e)}function s(t,e,n,i){var o=r(i);e.forEach(function(e){var r=i[e];if(!a(r,o[e])){var s=t.toJSON(r);(s||!r)&&(n[e]=s)}},i)}function l(t,e){var n;for(var i in e)n||(n={}),n[i]=t.toJSON(e[i]);return n}function h(t){t&&(this.withGlobalRefs=t.withGlobalRefs!==!1),this.reset()}function u(t,e){var i=new h,o={version:"2.0",refs:{}},r=[],a={};if(t.currentSubNetwork){var s=i.elementToJSON(t.currentSubNetwork);s&&(o.currentSubNetwork={_ref:s._refId=t.currentSubNetwork.id})}if(t.forEach(function(t){if(!e||e(t)!==!1){var n=i.elementToJSON(t);n&&(r.push(n),a[t.id]=n)}}),i._elementRefs)for(var l in i._elementRefs)a[l]._refId=l;i._globalRefs&&(o.refs=i._globalRefs),i.clearRef(),o.datas=r;for(var u in o)n(o[u])&&delete o[u];return o}if(!t.Graph.prototype.parseJSON){var p={};t.HashList.prototype.toJSON=function(t){var e=[];return this.forEach(function(n){e.push(t.toJSON(n))}),e},t.HashList.prototype.parseJSON=function(t,e){var n=[];return t.forEach(function(t){var i=e.parseJSON(t);this.add(i),n.push(i)},this),n};var c={"class":!1,id:!1,fillGradient:!1,syncSelectionStyles:!1,originalBounds:!1,parent:!1,font:!1,$data:!1,$x:!1,$y:!1};t.BaseUI.prototype.toJSON=function(t){var e={};for(var n in this)if("_"!=n[0]&&("$"!=n[0]||"_"!=n[1])&&0!=n.indexOf("$invalidate")&&c[n]!==!1){var i=this[n];if(!(i instanceof Function||i==this["class"].prototype[n]))try{e[n]=t.toJSON(i)}catch(o){}}return e},t.BaseUI.prototype.parseJSON=function(t,e){for(var n in t){var i=e.parseJSON(t[n]);this[n]=i}};var d=["retatable","editable","layoutable","visible","busLayout","enableSubNetwork","zIndex","tooltipType","tooltip","movable","selectable","resizable","uiClass","name","parent","host"];t.Element.prototype.addOutProperty=function(t){this.outputProperties||(this.outputProperties=[]),this.outputProperties.push(t)},t.Element.prototype.removeOutProperty=function(t){if(this.outputProperties){var e=this.outputProperties.indexOf(t);e>=0&&this.outputProperties.splice(e,1)}},t.Element.prototype.toJSON=function(t){var e={},n=d;if(this.outputProperties&&(n=n.concat(this.outputProperties)),s(t,n,e,this),this.styles){var i=l(t,this.styles);i&&(e.styles=i)}if(this.properties){var o=l(t,this.properties);o&&(e.properties=o)}var r=this.bindingUIs;if(r){var a=[];r.forEach(function(e){var n=t.toJSON(e.ui);a.push({ui:n,bindingProperties:e.bindingProperties})}),e.bindingUIs=a}return e},t.Element.prototype.parseJSON=function(t,e){if(t.styles){var n={};for(var i in t.styles)n[i]=e.parseJSON(t.styles[i]);this.putStyles(n,!0)}if(t.properties){var o={};for(var i in t.properties)o[i]=e.parseJSON(t.properties[i]);this.properties=o}t.bindingUIs&&t.bindingUIs.forEach(function(t){var n=e.parseJSON(t.ui);n&&this.addUI(n,t.bindingProperties)},this);for(var i in t)if("id"!=i&&"styles"!=i&&"properties"!=i&&"bindingUIs"!=i){var r=e.parseJSON(t[i]);this[i]=r}},t.Node.prototype.toJSON=function(e){var n=t.doSuper(this,t.Node,"toJSON",arguments);return s(e,["location","size","image","rotate","anchorPosition","parentChildrenDirection","layoutType","hGap","vGap"],n,this),n},t.Group.prototype.toJSON=function(e){var n=t.doSuper(this,t.Group,"toJSON",arguments);return s(e,["minSize","groupType","padding","groupImage","expanded"],n,this),n},t.ShapeNode.prototype.toJSON=function(e){var n=t.doSuper(this,t.Node,"toJSON",arguments);return s(e,["location","rotate","anchorPosition","path"],n,this),n},t.Edge.prototype.toJSON=function(e){var n=t.doSuper(this,t.Edge,"toJSON",arguments);return s(e,["angle","from","to","edgeType","angle","bundleEnabled","pathSegments"],n,this),n},h.prototype={_refs:null,_refValues:null,_index:1,root:null,reset:function(){this._globalRefs={},this._elementRefs={},this._refs={},this._refValues={},this._index=1},getREF:function(t){return this._refs[t]},clearRef:function(){for(var t in this._globalRefs)delete this._globalRefs[t]._value;for(var t in this._refValues)delete this._refValues[t]._refId;this.reset()},elementToJSON:function(t){return this._toJSON(t)},_elementRefs:null,_globalRefs:null,withGlobalRefs:!0,toJSON:function(e){if(!(e instanceof Object))return e;if(e instanceof Function&&!e._classPath)return null;if(!this.withGlobalRefs)return this._toJSON(e);if(e instanceof t.Element)return this._elementRefs[e.id]=!0,{_ref:e.id};if(void 0===e._refId){var n=this._toJSON(e);if(!n)return n;var i=e._refId=this._index++;return this._refValues[i]=e,this._refs[i]=n,n}var i=e._refId;if(!this._globalRefs[i]){var n=this._refs[i];if(!n)return n;var o={};for(var r in n)o[r]=n[r],delete n[r];n.$ref=i,this._globalRefs[i]=o}return{$ref:i}},_toJSON:function(e){if(e._classPath)return{_classPath:e._classPath};if(!e._className){if(t.isArray(e)){var n=[];return e.forEach(function(t){n.push(this.toJSON(t))},this),n}n={};var i;e["class"]&&(i=e["class"].prototype);for(var o in e){var r=e[o];r instanceof Function||i&&r==i[o]||(n[o]=this.toJSON(e[o]))}return n}var a={_className:e._className};return a.json=e.toJSON?e.toJSON(this):e,a},jsonToElement:function(t){return void 0!==t._refId&&t._refId in this._refs?this._refs[t._refId]:this._parseJSON(t)},parseJSON:function(t){if(!(t instanceof Object))return t;if(!this.withGlobalRefs)return this._parseJSON(t);if(void 0!==t.$ref){var e=this._globalRefs[t.$ref];if(!e)return;return void 0===e._value&&(e._value=this.parseJSON(e)),e._value}if(void 0!==t._ref){var n=this._elementRefs[t._ref];if(!n)return;return this.jsonToElement(n)}return this._parseJSON(t)},_parseJSON:function(e){if(!(e instanceof Object))return e;if(e._classPath)return i(e._classPath);if(e._className){var n=i(e._className),o=new n;if(this.withGlobalRefs&&void 0!==e._refId&&(this._refs[e._refId]=o),o&&e.json)if(e=e.json,o.parseJSON)o.parseJSON(e,this);else for(var r in e)o[r]=e[r];return o}if(t.isArray(e)){var a=[];return e.forEach(function(t){a.push(this.parseJSON(t))},this),a}var a={};for(var s in e)a[s]=this.parseJSON(e[s]);return a}},t.GraphModel.prototype.toJSON=function(t){return u(this,t)},t.GraphModel.prototype.parseJSON=function(e,n){n=n||{};var i=e.datas;if(i&&i.length>0){var o=[],r=new h(n,e.g),a={};if(i.forEach(function(t){t._refId&&(a[t._refId]=t)}),r._globalRefs=e.refs||{},r._elementRefs=a,i.forEach(function(e){var n=r.jsonToElement(e);n instanceof t.Element&&(o.push(n),this.add(n))},this),this.currentSubNetwork){var s=this.currentSubNetwork;o.forEach(function(t){t.parent||(t.parent=s)})}if(e.currentSubNetwork){var s=r.getREF(e.currentSubNetwork._ref);s&&(this.currentSubNetwork=s)}return r.clearRef(),o}},t.Graph.prototype.toJSON=t.Graph.prototype.exportJSON=function(t,e){e=e||{};var n=this.graphModel.toJSON(e.filter);return n.scale=this.scale,n.tx=this.tx,n.ty=this.ty,t&&(n=JSON.stringify(n,e.replacer,e.space||" ")),n},t.Graph.prototype.parseJSON=function(e,n){t.isString(e)&&(e=JSON.parse(e)),n=n||{};var i=this.graphModel.parseJSON(e,n),o=e.scale;return o&&n.transform!==!1&&(this.originAtCenter=!1,this.translateTo(e.tx||0,e.ty||0,o)),i},o(t,"Q"),t.loadClassPath=o,t.exportJSON=function(t,e){try{var n=new h({withGlobalRefs:!1}).toJSON(t);return e?JSON.stringify(n):n}catch(i){}},t.parseJSON=function(e){try{return t.isString(e)&&(e=JSON.parse(e)),new h({withGlobalRefs:!1}).parseJSON(e)}catch(n){}}}}(Q,window,document),function(t,e){function n(e,n){this.onBoundsChange=n,this.parent=e,this.handleSize=t.isTouchSupport?20:8,this.boundsDiv=this._createDiv(this.parent),this.boundsDiv.type="border",this.boundsDiv.style.position="absolute",this.boundsDiv.style.border="dashed 1px #888";var i="lt,t,rt,l,r,lb,b,rb";i=i.split(",");for(var o=0,r=i.length;r>o;o++){var a=i[o],s=this._createDiv(this.parent);s.type="handle",s.name=a,s.style.position="absolute",s.style.backgroundColor="#FFF",s.style.border="solid 1px #555",s.style.width=s.style.height=this.handleSize+"px";var l;l="lt"==a||"rb"==a?"nwse-resize":"rt"==a||"lb"==a?"nesw-resize":"t"==a||"b"==a?"ns-resize":"ew-resize",s.style.cursor=l,this[i[o]]=s}this.interaction=new t.DragSupport(this.parent,this)}function i(){var t=e("<div/>").html(r).contents();this.html=t=t[0],document.body.appendChild(this.html),t.addEventListener("mousedown",function(e){e.target==t&&this.destroy()}.bind(this),!1);var n=this._getChild(".graph-export-panel__export_scale"),i=this._getChild(".graph-export-panel__export_scale_label");n.onchange=function(){i.textContent=this.scale=n.value,this.updateOutputSize()}.bind(this),this.export_scale=n;var o=function(t){var e=this.exportImageInfo();if(e){var n=e.canvas,i=this.graph.name||"graph";n.toBlob(function(e){t(e,i+".png")},"image/png")}},a=function(t){var e=this.exportImageInfo();if(e){var n=window.open(),i=n.document;i.title=this.graph.name||"";var o=i.createElement("img");if(o.src=e.data,i.body.style.textAlign="center",i.body.style.margin="0px",i.body.appendChild(o),t===!0){var r=i.createElement("style");r.setAttribute("type","text/css"),r.setAttribute("media","print");var a="img {max-width: 100%; max-height: 100%;}";this.clipBounds.width/this.clipBounds.height>1.2&&(a+="\n @page { size: landscape; }"),r.appendChild(document.createTextNode(a)),i.head.appendChild(r),o.style.maxWidth="100%",o.style.maxHeight="100%",setTimeout(function(){n.print(),n.onfocus=function(){n.close()}},100)}}},s=this._getChild(".graph-export-panel__export_submit");s.onclick=window.saveAs&&HTMLCanvasElement.prototype.toBlob?o.bind(this,window.saveAs):a.bind(this);var l=this._getChild(".graph-export-panel__print_submit");l.onclick=a.bind(this,!0)}function o(t){a||(a=new i),a.show(t)}var r='<div class="graph-export-panel modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-body"> <h3 style="text-align: center;">鍥剧墖瀵煎嚭棰勮</h3> <div> <label>鐢诲竷澶у皬</label> <span class ="graph-export-panel__canvas_size"></span> </div> <div style="text-align: center;" title="鍙屽嚮閫夋嫨鍏ㄧ敾甯冭寖鍥�"> <div class ="graph-export-panel__export_canvas" style="position: relative; display: inline-block;"> </div> </div> <div> <label>瀵煎嚭鑼冨洿</label> <span class ="graph-export-panel__export_bounds"></span> </div> <div> <label>缂╂斁姣斾緥: <input class ="graph-export-panel__export_scale" type="range" value="1" step="0.2" min="0.2" max="3"><span class ="graph-export-panel__export_scale_label">1</span></label> </div> <div> <label>杈撳嚭澶у皬: </label><span class ="graph-export-panel__export_size"></span> </div> <div style="text-align: right"> <button type="submit" class="btn btn-primary graph-export-panel__export_submit">瀵煎嚭</button> <button type="submit" class="btn btn-primary graph-export-panel__print_submit">鎵撳嵃</button> </div> </div> </div> </div> </div>';n.prototype={destroy:function(){this.interaction.destroy()},update:function(e,n){this.wholeBounds=new t.Rect(0,0,e,n),this._setBounds(this.wholeBounds.clone())},ondblclick:function(){return this._bounds.equals(this.wholeBounds)?(this.oldBounds||(this.oldBounds=this.wholeBounds.clone().grow(-this.wholeBounds.height/5,-this.wholeBounds.width/5)),void this._setBounds(this.oldBounds,!0)):void this._setBounds(this.wholeBounds.clone(),!0)},startdrag:function(t){t.target.type&&(this.dragItem=t.target)},ondrag:function(e){if(this.dragItem){t.stopEvent(e);var n=e.dx,i=e.dy;if("border"==this.dragItem.type)this._bounds.offset(n,i),this._setBounds(this._bounds,!0);else if("handle"==this.dragItem.type){var o=this.dragItem.name;"l"==o[0]?(this._bounds.x+=n,this._bounds.width-=n):"r"==o[0]&&(this._bounds.width+=n),"t"==o[o.length-1]?(this._bounds.y+=i,this._bounds.height-=i):"b"==o[o.length-1]&&(this._bounds.height+=i),this._setBounds(this._bounds,!0)}}},enddrag:function(){this.dragItem&&(this.dragItem=!1,this._bounds.width<0?(this._bounds.x+=this._bounds.width,this._bounds.width=-this._bounds.width):0==this._bounds.width&&(this._bounds.width=1),this._bounds.height<0?(this._bounds.y+=this._bounds.height,this._bounds.height=-this._bounds.height):0==this._bounds.height&&(this._bounds.height=1),this._bounds.width>this.wholeBounds.width&&(this._bounds.width=this.wholeBounds.width),this._bounds.height>this.wholeBounds.height&&(this._bounds.height=this.wholeBounds.height),this._bounds.x<0&&(this._bounds.x=0),this._bounds.y<0&&(this._bounds.y=0),this._bounds.right>this.wholeBounds.width&&(this._bounds.x-=this._bounds.right-this.wholeBounds.width),this._bounds.bottom>this.wholeBounds.height&&(this._bounds.y-=this._bounds.bottom-this.wholeBounds.height),this._setBounds(this._bounds,!0))},_createDiv:function(t){var e=document.createElement("div");return t.appendChild(e),e},_setHandleLocation:function(t,e,n){t.style.left=e-this.handleSize/2+"px",t.style.top=n-this.handleSize/2+"px"},_setBounds:function(t){t.equals(this.wholeBounds)||(this.oldBounds=t),this._bounds=t,t=t.clone(),t.width+=1,t.height+=1,this.boundsDiv.style.left=t.x+"px",this.boundsDiv.style.top=t.y+"px",this.boundsDiv.style.width=t.width+"px",this.boundsDiv.style.height=t.height+"px",this._setHandleLocation(this.lt,t.x,t.y),this._setHandleLocation(this.t,t.cx,t.y),this._setHandleLocation(this.rt,t.right,t.y),this._setHandleLocation(this.l,t.x,t.cy),this._setHandleLocation(this.r,t.right,t.cy),this._setHandleLocation(this.lb,t.x,t.bottom),this._setHandleLocation(this.b,t.cx,t.bottom),this._setHandleLocation(this.rb,t.right,t.bottom),this.onBoundsChange&&this.onBoundsChange(this._bounds)}},Object.defineProperties(n.prototype,{bounds:{get:function(){return this._bounds},set:function(t){this._setBounds(t)}}}),i.prototype={canvas:null,html:null,exportImageInfo:function(e){var e=this.graph;if(e){var n=this.export_scale.value,i=this.imageInfo.scale,o=new t.Rect(this.clipBounds.x/i,this.clipBounds.y/i,this.clipBounds.width/i,this.clipBounds.height/i);o.offset(this.bounds.x,this.bounds.y);var r=e.exportImage(n,o);if(r&&r.data)return r}},_getChild:function(t){return e(this.html).find(t)[0]},initCanvas:function(){var e=this._getChild(".graph-export-panel__export_canvas");e.innerHTML="";var i=t.createCanvas(!0);e.appendChild(i),this.canvas=i;var o,r=this._getChild(".graph-export-panel__export_bounds"),a=this._getChild(".graph-export-panel__export_size"),s=function(){var t=this.canvas,e=t.g,n=t.ratio||1;e.save(),e.clearRect(0,0,t.width,t.height),e.drawImage(this.imageInfo.canvas,0,0),e.beginPath(),e.moveTo(0,0),e.lineTo(t.width,0),e.lineTo(t.width,t.height),e.lineTo(0,t.height),e.lineTo(0,0);var i=o.x*n,r=o.y*n,a=o.width*n,s=o.height*n;e.moveTo(i,r),e.lineTo(i,r+s),e.lineTo(i+a,r+s),e.lineTo(i+a,r),e.closePath(),e.fillStyle="rgba(0, 0, 0, 0.3)",e.fill(),e.restore()},l=function(t){o=t,this.clipBounds=o,s.call(this);var e=o.width/this.imageInfo.scale|0,n=o.height/this.imageInfo.scale|0;r.textContent=(o.x/this.imageInfo.scale|0)+", "+(o.y/this.imageInfo.scale|0)+", "+e+", "+n,this.updateOutputSize()};this.updateOutputSize=function(){var t=this._getChild(".graph-export-panel__export_scale"),e=t.value,n=o.width/this.imageInfo.scale*e|0,i=o.height/this.imageInfo.scale*e|0,r=n+" X "+i;n*i>12e6&&(r+="<span style='color: #F66;'>鍥惧箙澶ぇ锛屽鍑烘椂鍙兘鍑虹幇鍐呭瓨涓嶈冻</span>"),a.innerHTML=r};var h=new n(i.parentNode,l.bind(this));this.update=function(){var t=this.canvas.ratio||1,e=this.imageInfo.width/t,n=this.imageInfo.height/t;this.canvas.setSize(e,n),h.update(e,n)}},destroy:function(){this.graph=null,this.imageInfo=null,this.clipBounds=null,this.bounds=null},show:function(t){e(this.html).modal("show"),this.graph=t;var n=t.bounds;this.bounds=n;var i=this._getChild(".graph-export-panel__canvas_size");i.textContent=(0|n.width)+" X "+(0|n.height);var o,r=Math.min(500,screen.width/1.3);o=n.width>n.height?Math.min(1,r/n.width):Math.min(1,r/n.height),this.canvas||this.initCanvas(),this.imageInfo=t.exportImage(o*this.canvas.ratio),this.imageInfo.scale=o,this.update()}};var a;t.showExportPanel=o}(Q,jQuery),function(t,e){function n(t,e,n,o,r){var a=document.createElement("div");a.className=o?"btn-group-vertical":"btn-group",r&&a.setAttribute("data-toggle","buttons");for(var s=0,l=t.length;l>s;s++)!t[s].type&&r&&(t[s].type="radio"),a.appendChild(i(t[s],n)).info=t[s];e.appendChild(a)}function i(n,i){if("search"==n.type){var o=document.createElement("div");o.style.display="inline-block",o.style.verticalAlign="middle",o.style.width="170px",o.innerHTML='<div class="input-group input-group-sm" > <input type="text" class="form-control" placeholder="'+(n.placeholder||"")+'"> <span class="input-group-btn"> <div class="btn btn-default" type="button"></div> </span> </div>';var r=o.getElementsByTagName("input")[0];n.id&&(r.id=n.id);var a=e(o).find(".btn")[0];if(n.iconClass){var s=document.createElement("div");e(s).addClass(n.iconClass),a.appendChild(s)}else n.name&&a.appendChild(document.createTextNode(" "+n.name));if(n.input=r,n.search){var l=function(){n.searchInfo=null},h=function(t){var e=r.value;if(!e)return void l();if(!n.searchInfo||n.searchInfo.value!=e){var i=n.search(e,n);if(!i||!i.length)return void l();n.searchInfo={value:e,result:i}}u(t)},u=function(t){if(n.select instanceof Function&&n.searchInfo&&n.searchInfo.result&&n.searchInfo.result.length){var e=n.searchInfo,i=n.searchInfo.result;if(1==i.length)return void n.select(i[0],0);void 0===e.index?e.index=0:(e.index+=t?-1:1,e.index<0&&(e.index+=i.length),e.index%=i.length),n.select(i[e.index],e.index)===!1&&(n.searchInfo=null,h())}};r.onkeydown=function(e){return 27==e.keyCode?(l(),r.value="",void t.stopEvent(e)):void(13==e.keyCode&&h(e.shiftKey))},a.onclick=function(){h()}}return o}if("file"==n.type){var p=document.createElement("span"),r=document.createElement("input");if(p.className="file-input btn btn-default btn-sm btn-file",r.setAttribute("type","file"),r.className="btn-file",n.action&&(r.onchange=function(t){var o=e(this),r=o.get(0).files;p=o.val().replace(/\\/g,"/").replace(/.*\//,""),r.length&&n.action.call(i,r,p,t)}),p.appendChild(r),n.icon){var s=document.createElement("img");s.src=n.icon,p.appendChild(s)}else if(n.iconClass){var s=document.createElement("div");e(s).addClass(n.iconClass),p.appendChild(s)}else n.name&&p.appendChild(document.createTextNode(" "+n.name));return n.name&&p.setAttribute("title",n.name),p}if("input"==n.type){var o=document.createElement("div");o.style.display="inline-block",o.style.verticalAlign="middle",o.innerHTML='<div class="input-group input-group-sm" style="width: 150px;"> <input type="text" class="form-control"> <span class="input-group-btn"> <button class="btn btn-default" type="button"></button> </span> </div>';var r=o.getElementsByTagName("input")[0],a=o.getElementsByTagName("button")[0];return a.innerHTML=n.name,n.input=r,n.action&&(a.onclick=function(t){n.action.call(i||window.graph,t,n)}),o}if("select"==n.type){var o=document.createElement("select");o.className="form-control";var c=n.options;return c.forEach(function(t){var e=document.createElement("option");e.innerHTML=t,e.value=t,o.appendChild(e)}),o.value=n.value,n.action&&(o.onValueChange=function(t){n.action.call(i||window.graph,t,n)}),o}if(n.type){var p=document.createElement("label"),a=document.createElement("input");n.input=a,a.setAttribute("type",n.type),p.appendChild(a),n.selected&&(a.setAttribute("checked","checked"),"radio"==n.type&&(p.className+="active"))}else var p=document.createElement("div");if(p.className+="btn btn-default btn-sm",n.icon){var s=document.createElement("img");s.src=n.icon,p.appendChild(s)}else if(n.iconClass){var s=document.createElement("div");e(s).addClass(n.iconClass),p.appendChild(s)}else n.name&&p.appendChild(document.createTextNode(" "+n.name));return n.name&&p.setAttribute("title",n.name),n.action&&((a||p).onclick=function(t){n.action.call(i||window.graph,t,n)}),p}function o(o,r,a){function s(){return r.graph}function l(t,e){if(t==e)return!0;if(!t||!e)return!1;for(var n in t)if(t[n]!=e[n])return!1;return!0}function h(){var n=s(),i=n?n.interactionMode:null,o=n?n.interactionProperties:null;e(r).find(".btn").each(function(e,n){return n.info&&n.info.interactionMode?n.info.interactionMode!=i||o&&!l(o,n.info)?void t.removeClass(n,"active"):void t.appendClass(n,"active"):void 0})}function u(t){"interactionMode"==t.kind&&h()}function p(t,e,n){var i=s();i&&(i.interactionMode=e.value,i.interactionProperties=n||e)}function c(e,o,r,a,s){for(var l in e){var h=e[l];t.isArray(h)?(h.forEach(function(t){t.interactionMode&&(t.value=t.interactionMode,t.action=p)}),n(h,o,r,a,s)):(h.interactionMode&&(h.value=h.interactionMode,h.action=p),o.appendChild(i(h,r)).info=h)}}r.addEventListener("click",function(){h()},!1),r.setGraph=function(t){var e=this.graph;e&&e.propertyChangeDispatcher.removeListener(u,this),this.graph=t,h(),t&&t.propertyChangeDispatcher.addListener(u,this)};var d={interactionModes:[{name:"榛樿妯″紡",interactionMode:t.Consts.INTERACTION_MODE_DEFAULT,selected:!0,iconClass:"q-icon toolbar-default"},{name:"妗嗛€夋ā寮�",interactionMode:t.Consts.INTERACTION_MODE_SELECTION,iconClass:"q-icon toolbar-rectangle_selection"},{name:"娴忚妯″紡",interactionMode:t.Consts.INTERACTION_MODE_VIEW,iconClass:"q-icon toolbar-pan"}],zoom:[{name:"鏀惧ぇ",iconClass:"q-icon toolbar-zoomin",action:function(){s().zoomIn()}},{name:"缂╁皬",iconClass:"q-icon toolbar-zoomout",action:function(){s().zoomOut()}},{name:"1:1",iconClass:"q-icon toolbar-zoomreset",action:function(){s().scale=1}},{name:"绾佃",iconClass:"q-icon toolbar-overview",action:function(){s().zoomToOverview()}}],editor:[{name:"鍒涘缓杩炵嚎",interactionMode:t.Consts.INTERACTION_MODE_CREATE_EDGE,iconClass:"q-icon toolbar-edge"},{name:"鍒涘缓L鍨嬭繛绾�",interactionMode:t.Consts.INTERACTION_MODE_CREATE_SIMPLE_EDGE,iconClass:"q-icon toolbar-edge_VH",edgeType:t.Consts.EDGE_TYPE_VERTICAL_HORIZONTAL},{name:"鍒涘缓澶氳竟褰�",interactionMode:t.Consts.INTERACTION_MODE_CREATE_SHAPE,iconClass:"q-icon toolbar-polygon"},{name:"鍒涘缓绾挎潯",interactionMode:t.Consts.INTERACTION_MODE_CREATE_LINE,iconClass:"q-icon toolbar-line"}],search:{name:"Find",placeholder:"Name",iconClass:"q-icon toolbar-search",type:"search",id:"search_input",search:function(t){var e=[],n=new RegExp(t,"i");return s().forEach(function(t){t.name&&n.test(t.name)&&e.push(t.id)}),e},select:function(t){if(t=s().graphModel.getById(t),!t)return!1;s().setSelection(t),s().sendToTop(t);var e=s().getUIBounds(t);e&&s().centerTo(e.cx,e.cy,Math.max(2,s().scale),!0)}},exportImage:{name:"瀵煎嚭鍥剧墖",iconClass:"q-icon toolbar-print",action:function(){t.showExportPanel(s())}}};if(a)for(var f in a)d[f]=a[f];return c(d,r,this,!1,!1),r.setGraph(o),r}t.createToolbar=o,t.createButtonGroup=n,t.createButton=i}(Q,jQuery),!function(t,e){function n(t){if(!t)return s;var e={};for(var n in s)e[n]=s[n];for(var n in t){var i=l[n];i&&(e[i]=t[n])}return e}function i(t,n){t&&(void 0===n&&(n=e(t).hasClass("group--closed")),n?e(t).removeClass("group--closed"):e(t).addClass("group--closed"))
  2. }function o(e){return t.isString(e)||e.draw instanceof Function}var r=function(t,n,i,o){var r=document.createElement(i||"div");return r.className=t,e(r).html(o),n&&n.appendChild(r),r},a=function(t,e,n){if(Array.isArray(t))return t.forEach(function(t){e.call(this,t)},n);for(var i in t)e.call(n,t[i],i)},s={fillColor:"#EEE",lineWidth:1,strokeStyle:"#2898E0",padding:{left:1,top:1,right:5,bottom:5},shadowColor:"#888",shadowOffsetX:2,shadowOffsetY:2,shadowBlur:3},l={};l[t.Styles.RENDER_COLOR]="renderColor",l[t.Styles.RENDER_COLOR_BLEND_MODE]="renderColorBlendMode",l[t.Styles.SHAPE_FILL_COLOR]="fillColor",l[t.Styles.SHAPE_STROKE_STYLE]="strokeStyle",l[t.Styles.SHAPE_LINE_DASH]="borderLineDash",l[t.Styles.SHAPE_LINE_DASH_OFFSET]="borderLineDashOffset",l[t.Styles.SHAPE_OUTLINE]="outline",l[t.Styles.SHAPE_OUTLINE_STYLE]="outlineStyle",l[t.Styles.LINE_CAP]="lineGap",l[t.Styles.LINE_JOIN]="lineJoin",l[t.Styles.BACKGROUND_COLOR]="backgroundColor",l[t.Styles.BACKGROUND_GRADIENT]="backgroundGradient",l[t.Styles.BORDER]="border",l[t.Styles.BORDER_COLOR]="borderColor",l[t.Styles.BORDER_LINE_DASH]="borderLineDash",l[t.Styles.BORDER_LINE_DASH_OFFSET]="borderLineDashOffset";var h=function(t){for(var n=t.target.parentNode;n&&!e(n).hasClass("group");)n=n.parentNode;i(n)},u=function(t,e,n){this.graph=t,this.html=e,this.init(n)};u.prototype={loadButton:null,imageWidth:40,imageHeight:40,loadImageBoxes:function(e){return t.isArray(e)?void a(e,function(t){this.loadImageBox(t)},this):void this.loadImageBox(e)},loadImageBox:function(e,n){if(t.isString(e)&&(e=JSON.parse(e)),n){var i=this.html.getElementsByClassName("group").item(0);if(i)return void this.html.insertBefore(this._createGroup(e,e.prefix),i)}return this.html.appendChild(this._createGroup(e,e.prefix))},loadImageBoxFile:function(e){e[0]&&t.readerSingleFile(e[0],"json",function(t){t&&this.loadImageBox(t,!0)}.bind(this))},hideButtonBar:function(t){this.buttonBar.style.display=t?"":"none"},init:function(e){{var n=this.html;this.graph}t.appendClass(n,"graph-editor__toolbox");var i=this.buttonBar=r("graph-editor__toolbox-buttonBar",n),o=this.loadButton=t.createButton({type:"file",name:getI18NString("Load Images..."),iconClass:"q-icon toolbar-add",action:this.loadImageBoxFile.bind(this)},this);i.appendChild(o),this.hideButtonBar();var a=[{label:"Node",image:"Q-node"},{type:"Text",label:"Text",html:'<span style="background-color: #2898E0; color:#FFF; padding: 3px 5px;">'+getI18NString("Text")+"</span>",styles:{"label.background.color":"#2898E0","label.color":"#FFF","label.padding":new t.Insets(3,5)}},{type:"Group",label:"Group",image:"Q-group"},{label:"SubNetwork",image:"Q-subnetwork",properties:{enableSubNetwork:!0}}],s=[{prefix:"Q-",name:"basic.nodes",displayName:getI18NString("Basic Nodes"),images:a},{prefix:"Q-",name:"register.images",displayName:getI18NString("Register Images"),images:t.getAllImages(),close:!0},{name:"default.shapes",displayName:getI18NString("Default Shapes"),prefix:"Q-",images:t.Shapes.getAllShapes(this.imageWidth,this.imageHeight),close:!0}];this.loadImageBoxes(s),e&&this.loadImageBoxes(e),t.Shapes.getShape(t.Consts.SHAPE_CIRCLE,100,100)},_index:0,_getGroup:function(t){return this._groups[t]},hideDefaultGroups:function(){this.hideGroup("basic.nodes"),this.hideGroup("register.images"),this.hideGroup("default.shapes")},hideGroup:function(t){var e=this._getGroup(t);e&&(e.style.display="none")},showGroup:function(t){var e=this._getGroup(t);e&&(e.style.display="")},_groups:{},_createGroup:function(e){function s(e,n,i){if(!e)return e;if(t.isString(e))return u+e;if(e.draw instanceof Function){if(i)return e;var o=e.imageName||e.name||n||"drawable-"+this._index++;return t.hasImage(o)||t.registerImage(o,e),o}throw new Error("image format error")}var l=e.name,u=e.root||"",p=e.images,c=e.close,d=e.displayName||l,f=r("group");f.id=l,this._groups[l]=f;var g=r("group__title",f);g.onclick=h,r(null,g,"span",d),r("q-icon group-expand toolbar-expand",g,"span");var m=r("group__items",f),v=document.createElement("div");if(v.style.clear="both",f.appendChild(v),c&&i(f),!p)return f;var y=e.imageWidth||this.imageWidth,_=e.imageHeight||this.imageHeight,b=e.showLabel;return a(p,function(i,a){if("_classPath"!=a&&"_className"!=a){var l,h;o(i)?(h=l=s(i,a),i={image:l}):(l=i.image=s(i.image,a),h=i.icon?s(i.icon,a,!0):l);var u,p;if(i.html){var u=document.createElement("div");u.style.width=y+"px",u.style.height=_+"px",u.style.lineHeight=_+"px",u.style.overflow="hidden",u.innerHTML=i.html}else{if(!h)return;u=t.createCanvas(y,_,!0),t.drawImage(h,u,n(i.styles)),e.size&&(i.properties||(i.properties={}),i.properties.size||(i.properties.size=e.size)),p=l}p=i.tooltip||i.label||p||a,u.setAttribute("title",p);var c=r("group__item",m);if(t.appendDNDInfo(u,i),c.appendChild(u),i.br){var d=document.createElement("br");m.appendChild(d)}if(p&&(b||i.showLabel)){var f=p,g=10;f.length>g&&(f="..."+f.substring(f.length-g+2));var v=document.createElement("div");v.style.lineHeight="1em",v.style.overFlow="hide",v.style.marginTop="0px",v.textContent=f,c.appendChild(v)}}},this),f}},t.ToolBox=u}(Q,jQuery),function(t){function e(e,n,i){var o=document.documentElement,r=new t.Rect(window.pageXOffset,window.pageYOffset,o.clientWidth-2,o.clientHeight-2),a=e.offsetWidth,s=e.offsetHeight;n+a>r.x+r.width&&(n=r.x+r.width-a),i+s>r.y+r.height&&(i=r.y+r.height-s),n<r.x&&(n=r.x),i<r.y&&(i=r.y),e.style.left=n+"px",e.style.top=i+"px"}function n(t,e){for(var n=e.parentNode;null!=n;){if(n==t)return!0;n=n.parentNode}return!1}function i(t){return t.touches&&t.touches.length&&(t=t.touches[0]),{x:t.pageX,y:t.pageY}}function o(e,n){var o=n.popupmenu,r=i(e),a=r.x,s=r.y,l=o.getMenuItems(n,n.getElement(e),e);l&&(o.items=l,o.showAt(a,s),t.stopEvent(e))}var r=function(t){this.items=t||[]},a="dropdown-menu";r.Separator="divider",r.prototype={dom:null,_invalidateFlag:!0,add:function(t){this.items.push(t),this._invalidateFlag=!0},addSeparator:function(){this.add(r.Separator)},showAt:function(t,n){return this.items&&this.items.length?(this._invalidateFlag&&this.render(),this.dom.style.display="block",document.body.appendChild(this.dom),void e(this.dom,t,n)):!1},hide:function(){this.dom&&this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom)},isShowing:function(){return null!==this.dom.parentNode},render:function(){if(this._invalidateFlag=!1,this.dom)this.dom.innerHTML="";else{this.dom=document.createElement("ul"),this.dom.setAttribute("role","menu"),this.dom.className=a;var e=t.isTouchSupport?"touchstart":"mousedown";this.stopEditWhenClickOnWindow||(this.stopEditWhenClickOnWindow=function(t){this.isShowing()&&!n(this.dom,t.target)&&this.hide()}.bind(this)),window.addEventListener("mousedown",this.stopEditWhenClickOnWindow,!0),this.dom.addEventListener(e,function(e){t.stopEvent(e)},!1)}for(var i=0,o=this.items.length;o>i;i++){var r=this.renderItem(this.items[i]);this.dom.appendChild(r)}},html2Escape:function(t){return t.replace(/[<>&"]/g,function(t){return{"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;"}[t]})},renderItem:function(e){var n=document.createElement("li");if(n.setAttribute("role","presentation"),e==r.Separator)return n.className=r.Separator,n.innerHTML=" ",n;if(t.isString(e))return n.innerHTML='<a role="menuitem" tabindex="-1" href="#">'+this.html2Escape(e)+"</a>",n;e.selected&&(n.style.backgroundPosition="3px 5px",n.style.backgroundRepeat="no-repeat",n.style.backgroundImage="url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAPklEQVQ4y2P4//8/AyWYYdQA7AYAAZuamlo7ED+H4naQGNEGQDX/R8PtpBjwHIsBz+lqAGVeoDgQR1MiaRgAnxW7Q0QEK0cAAAAASUVORK5CYII=')");var i=document.createElement("a");if(i.setAttribute("role","menuitem"),i.setAttribute("tabindex","-1"),i.setAttribute("href","javascript:void(0)"),n.appendChild(i),e.html)i.innerHTML=e.html;else{var o=e.text||e.name;o&&(i.innerHTML=this.html2Escape(o))}var a=e.className;a&&(n.className=a);var s=e.action,l=this,h=function(n){s&&s.call(e.scope,n,e),t.isIOS||n.target.focus(),setTimeout(function(){l.hide()},100)};return t.isTouchSupport?i.ontouchstart=h:n.onclick=h,n},getMenuItems:function(e,n){var i=[];if(n){var o=n instanceof t.ShapeNode,r=(n instanceof t.Group,!o&&n instanceof t.Node,n instanceof t.Edge);if(i.push({text:getI18NString("Rename"),action:function(){t.prompt(getI18NString("Input Element Name"),n.name||"",function(t){null!==t&&(n.name=t)})}}),r){var a=n.getStyle(t.Styles.EDGE_LINE_DASH)||t.DefaultStyles[t.Styles.EDGE_LINE_DASH];i.push({text:getI18NString(a?"Solid Line":"Dashed Line"),action:function(){n.setStyle(t.Styles.EDGE_LINE_DASH,a?null:[5,3])}}),i.push({text:getI18NString("Line Width"),action:function(){t.prompt(getI18NString("Input Line Width"),n.getStyle(t.Styles.EDGE_WIDTH)||t.DefaultStyles[t.Styles.EDGE_WIDTH],function(e){null!==e&&(e=parseFloat(e),n.setStyle(t.Styles.EDGE_WIDTH,e))})}}),i.push({text:getI18NString("Line Color"),action:function(){t.prompt(getI18NString("Input Line Color"),n.getStyle(t.Styles.EDGE_COLOR)||t.DefaultStyles[t.Styles.EDGE_COLOR],function(e){null!==e&&n.setStyle(t.Styles.EDGE_COLOR,e)})}})}else n.parent instanceof t.Group&&i.push({text:getI18NString("Out of Group"),action:function(){n.parent=null}});i.push(t.PopupMenu.Separator),i.push({text:getI18NString("Send to Top"),action:function(){n.zIndex=1,e.sendToTop(n),e.invalidate()}}),i.push({text:getI18NString("Send to Bottom"),action:function(){n.zIndex=-1,e.sendToBottom(n),e.invalidate()}}),i.push({text:getI18NString("Reset Layer"),action:function(){n.zIndex=0,e.invalidate()}}),i.push(t.PopupMenu.Separator)}i.push({text:getI18NString("Clear Graph"),action:function(){e.clear()}}),i.push(t.PopupMenu.Separator),i.push({text:getI18NString("Zoom In"),action:function(t){var n=e.globalToLocal(t);e.zoomIn(n.x,n.y,!0)}}),i.push({text:getI18NString("Zoom Out"),action:function(t){var n=e.globalToLocal(t);e.zoomOut(n.x,n.y,!0)}}),i.push({text:getI18NString("1:1"),action:function(t){e.globalToLocal(t);e.scale=1}}),i.push(t.PopupMenu.Separator);for(var s=e.interactionMode,l=[{text:getI18NString("Pan Mode"),value:t.Consts.INTERACTION_MODE_DEFAULT},{text:getI18NString("Rectangle Select"),value:t.Consts.INTERACTION_MODE_SELECTION}],h=0,u=l.length;u>h;h++){var p=l[h];p.value==s&&(p.selected=!0),p.action=function(t,n){e.interactionMode=n.value},i.push(p)}return i.push(t.PopupMenu.Separator),i.push({html:'<a href="http://qunee.com" target="_blank">Qunee - '+t.version+"</a>"}),i}},Object.defineProperties(r.prototype,{items:{get:function(){return this._items},set:function(t){this._items=t,this._invalidateFlag=!0}}});var s={onstart:function(t,e){e._popupmenu.hide()}};t.isTouchSupport&&(s.onlongpress=function(t,e){o(t,e)}),Object.defineProperties(t.Graph.prototype,{popupmenu:{get:function(){return this._popupmenu},set:function(t){this._popupmenu!=t&&(this._popupmenu=t,this._contextmenuListener||(this._contextmenuListener=s,this.addCustomInteraction(this._contextmenuListener),this.html.oncontextmenu=function(t){this.popupmenu&&o(t,this)}.bind(this)))}}}),t.PopupMenu=r}(Q,jQuery),!function(t){function e(t,e,n,i,o){this.getter=n,this.setter=i,this.scope=o,this.property=t,this.createHtml(e)}function n(){t.doSuperConstructor(this,n,arguments)}function i(){t.doSuperConstructor(this,i,arguments)}function o(t){var e=t._classPath||t._tempName;return e||(e=t._tempName="class-"+O++),e}function r(t,e,n){var i=o(t);return e?n[i]={"class":t,properties:{}}:n[i]}function a(e,n){return n==t.Consts.PROPERTY_TYPE_STYLE?"S:"+e:n==t.Consts.PROPERTY_TYPE_CLIENT?"C:"+e:e}function s(t){l(x,t)}function l(t,e){var n=e["class"];if(!n)throw new Error("class property can not be null");var i=e.properties,a=o(n);if(!i)return void delete t[a];var s=r(n,!0,t);s=a in t?t[a]:t[a]={"class":n,properties:{}},h(e,s.properties)}function h(e,n){n=n||{};var i=e.properties,o=e.group||"Element";return i.forEach(function(e){var i;if(e.style)e.propertyType=t.Consts.PROPERTY_TYPE_STYLE,e.name=e.style;else if(e.client)e.propertyType=t.Consts.PROPERTY_TYPE_CLIENT,e.name=e.client;else{if(!e.name)return;e.propertyType=t.Consts.PROPERTY_TYPE_ACCESSOR}var i=e.key=a(e.name,e.propertyType);e.groupName||(e.groupName=o),n[i]=e}),n}function u(t,e,n){n||(n=x),e=e||{};for(var i in n)if(t instanceof n[i]["class"]){var o=n[i].properties;for(var r in o){var a=o[r];"none"==a.display?delete e[r]:e[r]=a}}return e}function p(t){this.properties=t;var e={},n=0;for(var i in t){n++;var o=t[i].groupName,r=e[o];r||(r=e[o]={}),r[i]=t[i]}this.group=e,this.length=n}function c(e,n,i,o){return o&&o!=t.Consts.PROPERTY_TYPE_ACCESSOR?o==t.Consts.PROPERTY_TYPE_STYLE?e.getStyle(n,i):o==t.Consts.PROPERTY_TYPE_CLIENT?n.get(i):void 0:n[i]}function d(e,n,i,o){return o&&o!=t.Consts.PROPERTY_TYPE_ACCESSOR?o==t.Consts.PROPERTY_TYPE_STYLE?n.setStyle(i,e):o==t.Consts.PROPERTY_TYPE_CLIENT?n.set(i,e):void 0:n[i]=e}function f(e,n){this._propertyMap={},this._formItems=[],this.container=n,this.dom=this.html=t.createElement({"class":"form-horizontal",parent:n,tagName:"form"}),this.graph=e,e.dataPropertyChangeDispatcher.addListener(function(t){this.onDataPropertyChange(t)}.bind(this)),e.selectionChangeDispatcher.addListener(function(){this.datas=this.graph.selectionModel.toDatas()}.bind(this))}function g(t){return 0|t}function m(t,e){return t?"point"==e?g(t.x)+","+g(t.y):"size"==e?g(t.width)+","+g(t.height):"degree"==e?""+180*t/Math.PI|0:t.toString():t}function v(t,e){if("position"==e)return w[t];if("number"==e)return parseFloat(t)||0;if("boolean"==e)return t?!0:!1;if("point"!=e){if("size"!=e)return"degree"==e?parseInt(t)*Math.PI/180:t;var n=t.split(",");if(2==n.length){var i=parseFloat(n[0])||0,o=parseFloat(n[1])||0;if(i&&o)return{width:i,height:o}}}else{var n=t.split(",");if(2==n.length)return{x:parseFloat(n[0]||0),y:parseFloat(n[1])||0}}}var y=function(t){t=t||{};var e=document.createElement(t.tagName||"div");return t["class"]&&$(e).addClass(t["class"]),t.parent&&t.parent.appendChild(e),t.style&&e.setAttribute("style",t.style),t.css&&$(e).css(t.css),t.html&&$(e).html(t.html),e};t.createElement=y,e.prototype={_getValue:function(){return this.getter.call(this.scope)},update:function(){this.value=this._getValue()},setValue:function(t){this.input.value=m(t,this.property.type)},getValue:function(){return v(this.input.value,this.property.type)},createHtml:function(e){var n=this.property,i=t.createElement({tagName:"input","class":"form-control",parent:e});this.input=i,n.readonly&&i.setAttribute("readonly","readonly"),this.update(),$(i).on("input",function(){this.ajdusting||this.setter.call(this.scope,this)}.bind(this))}},Object.defineProperties(e.prototype,{value:{get:function(){return this.getValue()},set:function(t){this.ajdusting=!0,this.setValue(t),this.ajdusting=!1}}}),n.prototype={setValue:function(t){t?this.input.setAttribute("checked","checked"):this.input.removeAttribute("checked")},getValue:function(){return v(this.input.checked,this.property.type)},createHtml:function(e){var n=this.property,i=t.createElement({tagName:"input",parent:e});i.setAttribute("type","checkbox"),this.input=i,n.readonly&&i.setAttribute("readonly","readonly"),this.update(),$(i).on("click",function(){this.ajdusting||this.setter.call(this.scope,this)}.bind(this))}},t.extend(n,e),i.prototype={createHtml:function(e){var n=t.createElement({tagName:"input","class":"form-control",parent:e});t.createElement({tagName:"span",parent:e,"class":"input-group-addon",html:"<i></i>"}),this.input=n,this.update(),$(e).colorpicker({container:!0}).on("changeColor",function(){this.ajdusting||this.setter.call(this.scope,this)}.bind(this))}},t.extend(i,e);var _=[{name:"name",displayName:"Name"},{style:t.Styles.LABEL_FONT_SIZE,type:"number",displayName:"Font Size"},{style:t.Styles.LABEL_COLOR,type:"color",displayName:"Label Color"},{style:t.Styles.RENDER_COLOR,type:"color",displayName:"Render Color"},{style:t.Styles.LABEL_POSITION,displayName:"Label Position"},{style:t.Styles.LABEL_ANCHOR_POSITION,displayName:"Label Anchor Position"}],b=[{name:"size",type:"size",displayName:"Size"},{name:"location",type:"point",displayName:"Location"},{name:"rotate",type:"number",displayName:"Rotate"},{style:t.Styles.BORDER,type:"number",displayName:"Border"},{style:t.Styles.BORDER_COLOR,type:"color",displayName:"Border Color"}],S=[{style:t.Styles.SHAPE_FILL_COLOR,type:"color",displayName:"Fill Color"},{style:t.Styles.SHAPE_STROKE_STYLE,type:"color",displayName:"Stroke Color"},{style:t.Styles.SHAPE_STROKE,type:"number",displayName:"Stroke"}],E=[{name:"angle",type:"degree",displayName:"angle 0-360掳"},{style:t.Styles.BORDER,display:"none"},{style:t.Styles.EDGE_WIDTH,type:"number",displayName:"Edge Width"},{style:t.Styles.EDGE_COLOR,type:"color",displayName:"Edge Color"},{style:t.Styles.ARROW_TO,type:"boolean",displayName:"Arrow To"}],N=[{name:"size",display:"none"},{style:t.Styles.LABEL_SIZE,type:"size",displayName:"Size"},{style:t.Styles.RENDER_COLOR,display:"none"},{style:t.Styles.LABEL_BACKGROUND_COLOR,type:"color",displayName:"Background Color"}],x={},O=0;s({"class":t.Element,properties:_,group:"Element"}),s({"class":t.Node,properties:b,group:"Node"}),s({"class":t.Edge,properties:E,group:"Edge"}),s({"class":t.Text,properties:N,group:"Text"}),s({"class":t.ShapeNode,properties:S,group:"Shape"}),p.prototype={contains:function(t,e){var n=a(t,e);return this.properties[n]},isEmpty:function(){return 0==this.length}};var C=function(t,o,r,a,s){var l=t.type;return"color"==l?new i(t,o,r,a,s):"boolean"==l?new n(t,o,r,a,s):new e(t,o,r,a,s)},w={};for(var I in t.Position){var T=t.Position[I];"random"!=I&&T instanceof t.Position&&(w[T.toString()]=T)}f.prototype={_formItems:null,onValueChange:function(t,e){this.setValue(t,e)},adjusting:!1,_containsElement:function(t){for(var e in this.datas)if(e==t)return!0},_containsProperty:function(t,e){return this.propertyGroup&&this.propertyGroup.contains(t,e)},_cellEditors:null,_getCellEditors:function(t,e){if(this._cellEditors){var n=a(t,e);return this._cellEditors[n]}},onDataPropertyChange:function(e){if(!this.adjusting){if(!this.datas||!this.datas.length)return null;var n=e.source;if(!this._containsElement(n)){var i=this._getCellEditors(e.kind,e.propertyType);if(!i)return;t.isArray(i)||(i=[i]),i.forEach(function(t){t.update()})}}},clear:function(){$(".colorpicker-element").colorpicker("hide"),this.dom.innerHTML="",this._formItems=[],this._cellEditors=null,this._setVisible(!1)},_setVisible:function(t){var e=t?"block":"none";this.container?this.container.style.display=e:this.dom.style.display=e},createItem:function(e,n){var i=t.createElement({"class":"form-group",parent:e}),o=(t.createElement({parent:i,tagName:"label","class":"col-sm-6 control-label font-small",html:getI18NString(n.displayName||n.name)}),t.createElement({parent:i,"class":"input-group input-group-sm col-sm-6"})),r=C(n,o,function(){return this.getValue(n)}.bind(this),function(t){this.onValueChange(t.value,n)}.bind(this)),s=a(n.name,n.propertyType);this._cellEditors||(this._cellEditors={});var l=this._cellEditors[s];return l?l.push(r):this._cellEditors[s]=[r],i},setValue:function(e,n){return this.datas&&this.datas.length?(this.adjusting=!0,n.type&&"string"!=n.type&&t.isString(e)&&(e=v(e,n.type)),this.datas.forEach(function(t){var i=c(this.graph,t,n.name,n.propertyType);i!==e&&d(e,t,n.name,n.propertyType)},this),void(this.adjusting=!1)):null},getValue:function(t){return this.datas&&this.datas.length?1==this.datas.length?c(this.graph,this.datas[0],t.name,t.propertyType)||"":void 0:null},createItemGroup:function(e,n){var i=t.createElement({"class":"class-group",parent:this.dom});t.createElement({tagName:"h4",parent:i,html:e});for(var e in n)this.createItem(i,n[e])},register:function(t){l(this._propertyMap,t)},showDefaultProperties:!0,_getProperties:function(t){var e={};if(this.showDefaultProperties&&u(t,e),this._propertyMap&&u(t,e,this._propertyMap),t.propertyDefinitions){var n=h(t.propertyDefinitions);for(var i in n)e[i]=n[i]}return new p(e)}},Object.defineProperties(f.prototype,{datas:{get:function(){return this._datas},set:function(e){if(this._datas!=e&&(e&&!t.isArray(e)&&(e=[e]),this._datas=e,this.clear(),e.length&&1==e.length)){this._setVisible(!0),this.propertyGroup=this._getProperties(e[0]);var n=this.propertyGroup.group;for(var i in n)this.createItemGroup(i,n[i])}}}}),t.PropertyPane=f,t.PropertyPane.register=s}(Q),GridBackground.prototype={update:function(){var t=this.graph,e=this.canvas,n=this.scaleCanvas;t.callLater(function(){e.setSize(t.width,t.height),e.width=e.width,n.setSize(t.width,t.height),n.width=e.width;var i=t.scale,o=50/i,r=this.currentCell=10*(Math.round(o/10)||1);i=t.scale*e.ratio;var a=t.viewportBounds,s=e.g;s.save(),this._doTransform(s,i,a),s.beginPath();var l=a.x,h=a.y,u=a.right,p=a.bottom;for(l%r!==0&&(l-=l%r),h%r!==0&&(h-=h%r);u>l;)s.moveTo(l,a.y),s.lineTo(l,p),l+=r;for(;p>h;)s.moveTo(a.x,h),s.lineTo(u,h),h+=r;s.lineWidth=1/i,s.strokeStyle="#CCC",s.stroke(),n.g.save(),this._doTransform(n.g,i,a),this.drawScales(n.g,a,i,n.ratio),n.g.restore(),s.restore()},this)},_doTransform:function(t,e,n){t.translate(-e*n.x,-e*n.y),t.scale(e,e)},drawText:function(t,e,n,i,o,r,a,s){o=o||7,t.save();var l=3;o*=l,t.font="normal "+o+"px helvetica arial",t.fillStyle="#555",t.textAlign=r||"center",t.textBaseline=a||"top",t.translate(n,i),s&&t.rotate(s),t.scale(1/l,1/l),t.fillText(e,0,0),t.restore()},drawScales:function(t,e,n,i){t.beginPath();var o=5*i/n,r=12*i/n;t.beginPath();var a=e.x;for(a=this.currentCell*Math.ceil(a/this.currentCell);a<e.right;)t.moveTo(a,e.y),t.lineTo(a,e.y+o+o),this.drawText(t,""+a|0,a,e.y+o+o,r),a+=this.currentCell;var s=e.y;for(s=this.currentCell*Math.ceil(s/this.currentCell);s<e.bottom;)t.moveTo(e.x,s),t.lineTo(e.x+o+o,s),this.drawText(t,""+s|0,e.x+o+o,s,r,"center","top",-Math.PI/6),s+=this.currentCell;t.lineWidth=1/n,t.strokeStyle="#000",t.stroke()}},function(t,e){"use strict";function n(t,e){this._initEditor(t,e),this.loadDatas(this.options.data,this.options.callback||function(){this.graph.moveToCenter()})}var i=function(e,n,i,o){return t.createElement({"class":e,parent:n,tagName:i,html:o})},o=function(t,e){var n=t.find(e);return n.length?n[0]:void 0};e.fn.graphEditor=function(t){return this.each(function(){var e=this.graphEditor;return e||(this.graphEditor=e=new n(this,t)),e})};var r={};r[t.Styles.SHAPE_FILL_COLOR]=t.toColor(3435973836),r[t.Styles.SELECTION_COLOR]="#888",r[t.Styles.SELECTION_SHADOW_BLUR]=5,r[t.Styles.SELECTION_SHADOW_OFFSET_X]=2,r[t.Styles.SELECTION_SHADOW_OFFSET_Y]=2,n.prototype={_initEditor:function(t,n){this.options=n=n||{},this.dom=t,e(t).addClass("layout graph-editor"),this.createGraph(this.options.styles||r),this.createToolbar(n),this.createToolbox(this.options.images),this.createPropertyPane(n),this.createJSONPane(),e(t).borderLayout(),this.toolbar&&this.initToolbar(this.toolbar,this.graph),this.initContextMenu(this.graph),window.addEventListener("beforeunload",this.onbeforeunload.bind(this))},onbeforeunload:function(){},_getFirst:function(t){return o(e(this.dom),"."+t)},toolbar:null,toolbox:null,propertyPane:null,graph:null,createGraph:function(n){function o(e,n,i){var o;return e.forEachReverseVisibleUI(function(e){var r=e.data;return r instanceof t.Node&&e.uiBounds.intersectsPoint(n-e.x,i-e.y)&&e.hitTest(n,i,1)?(o=r,!1):void 0}),o}var r=this._getFirst("graph-editor__canvas");r||(r=i("graph-editor__canvas",this.dom),r.setAttribute("data-options",'region:"center"')),this.html=r;var a=this.graph=new t.Graph(r);return a.allowEmptyLabel=!0,a.originAtCenter=!1,a.editable=!0,a.styles=n,a.getDropInfo=function(e,n){return n?t.parseJSON(n):void 0},a.dropAction=function(){return this.dropAction.apply(this,arguments)}.bind(this),e(r).bind("size.change",function(){a.updateViewport()}),a.interactionDispatcher.on(function(e){if(e.kind==t.InteractionEvent.POINT_MOVE_END&&e.data instanceof t.Edge&&e.point&&e.point.isEndPoint){var n=e.data,i=e.point,r=i.isFrom,s=r?n.from:n.to,l=a.toLogical(e.event),h=l.x,u=l.y,p=o(this,h,u);if(p&&s!=p){if(p instanceof t.Group&&n.inGroup&&n.inGroup(p))return;var c=a.getUI(p).bodyBounds,d={x:h-c.cx,y:u-c.cy};n.setStyle(r?t.Styles.EDGE_FROM_OFFSET:t.Styles.EDGE_TO_OFFSET,d),r?n.from=p:n.to=p}}}.bind(a)),a},dropAction:function(e,n,i){if(i.ondrop){var o=window[i.ondrop];if(o instanceof Function)return o.call(this,e,this.graph,n,i),t.stopEvent(e),!1}},createToolbar:function(){var t=this._getFirst("graph-editor__toolbar");return t?this.toolbar=t:(this.toolbar=t=i("graph-editor__toolbar",this.dom),t.setAttribute("data-options",'region:"north", height: 40'),t)},createToolbox:function(e){var n=this._getFirst("graph-editor__toolbox");n||(n=document.createElement("div"),this.dom.appendChild(n),n.setAttribute("data-options","region:'west', width:'18%', left:0, min-width:220, max-width:400")),this.toolbox=new t.ToolBox(this.graph,n,e),this.graph.toolbox=this.toolbox},createPropertyPane:function(e){if(t.PropertyPane){var n=this._getFirst("graph-editor__property");return n||(n=i("graph-editor__property",this.dom)),this.propertyPane=new t.PropertyPane(this.graph,n,e)}},getJSONTextArea:function(){return o(e(this.jsonPane),"textarea")},loadJSONFile:function(e){e[0]&&t.readerSingleFile(e[0],"json",function(t){return t?(this.graph.clear(),void this.graph.parseJSON(t)):void alert(getI18NString("json file is empty"))}.bind(this))},exportJSONFile:function(t){if(t){var e=this.graph.name||"graph",n=this.graph.exportJSON(!0),i=new Blob([n],{type:"text/plain;charset=utf-8"});t(i,e+".json")}},exportJSON:function(t){if(t&&this.jsonPane){var e=this.graph.exportJSON(!0,{space:" "});return this.getJSONTextArea().value=e}return this.graph.exportJSON.apply(this.graph,arguments)},submitJSON:function(){var t=this.getJSONTextArea().value;this.graph.clear(),this.graph.parseJSON(t)},loadDatas:function(e,n){if(e){if(t.isString(e))return void t.loadJSON(e,function(t){this.graph.parseJSON(t.json||t),n instanceof Function&&n.call(this,this)}.bind(this),function(){n instanceof Function&&n.call(this,this)}.bind(this));this.graph.parseJSON(e)}n instanceof Function&&n.call(this,this)},onsave:function(t){return t?alert(getI18NString("Save Error")):void alert(getI18NString("Save Success"))},save:function(){if(this.options.saveService){var t=this.options.saveService,e=this.graph.exportJSON(!0),n=new XMLHttpRequest;n.open("post",t,!0),n.onerror=function(t){this.onsave(t)}.bind(this),n.onload=function(t){200==t.target.status?this.onsave(null,t):this.onsave(t)}.bind(this),n.setRequestHeader("Content-Type","application/json"),n.send(JSON.stringify({name:this.name,json:e}))}},createJSONPane:function(){var e=this._getFirst("graph-editor__json");if(e)return this.jsonPane=e;this.jsonPane=e=i("graph-editor__json",this.dom);var n=document.createElement("textarea");e.appendChild(n),n.spellcheck=!1;var o=i("graph-editor__json__buttons",e),r=[{name:getI18NString("Update"),action:this.exportJSON.bind(this,!0)},{name:getI18NString("Submit"),action:this.submitJSON.bind(this)}];return t.createButtonGroup(r,o),e.style.display="none",e},initToolbar:function(e,n){var i=[{name:getI18NString("Export JSON"),iconClass:"q-icon toolbar-json",action:this.showJSONPanel.bind(this)}];t.isFileSupported&&i.push({iconClass:"q-icon toolbar-upload",name:getI18NString("Load File ..."),action:this.loadJSONFile.bind(this),type:"file"}),window.saveAs&&i.push({iconClass:"q-icon toolbar-download",name:getI18NString("Download File"),action:this.exportJSONFile.bind(this,window.saveAs)}),this.options.saveService&&i.push({iconClass:"q-icon toolbar-save",name:getI18NString("Save"),action:this.save.bind(this)}),t.createToolbar(n,e,{"export":i})},showExportPanel:function(){t.showExportPanel(this.graph)},showJSONPanel:function(t){var n=t.target;e(n).hasClass("btn")||(n=n.parentNode);var i=e(n).hasClass("active");i?e(n).removeClass("active"):e(n).addClass("active"),i=!i;var o=this.jsonPane;o.style.display=i?"":"none",i&&this.exportJSON(!0)},initContextMenu:function(e){e.popupmenu=new t.PopupMenu}},window.localStorage&&(n.prototype.loadLocal=function(){return localStorage.graph?(this.graph.clear(),this.graph.parseJSON(localStorage.graph),!0):void 0},n.prototype.saveLocal=function(){localStorage.graph=this.graph.exportJSON(!0)}),t.Editor=n}(Q,jQuery);
graph.editor.js
本文内容由网友自发贡献,转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/353108
推荐阅读
相关标签
  

闽ICP备14008679号