trusty-cms 4.2.2 → 4.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -1
  3. data/Gemfile.lock +98 -89
  4. data/app/assets/config/trusty-cms/manifest.js +7 -0
  5. data/app/assets/javascripts/admin/custom_file_upload.js +7 -0
  6. data/app/controllers/admin/assets_controller.rb +1 -1
  7. data/app/models/page.rb +2 -2
  8. data/app/views/admin/assets/new.html.haml +2 -0
  9. data/config/database.yml +4 -0
  10. data/config/initializers/assets.rb +0 -4
  11. data/coverage/index.html +155 -155
  12. data/lib/trusty_cms.rb +1 -1
  13. data/node_modules/hosted-git-info/CHANGELOG.md +10 -0
  14. data/node_modules/hosted-git-info/index.js +2 -2
  15. data/node_modules/hosted-git-info/package.json +1 -1
  16. data/node_modules/lodash/README.md +2 -2
  17. data/node_modules/lodash/_baseClone.js +2 -1
  18. data/node_modules/lodash/_baseOrderBy.js +17 -2
  19. data/node_modules/lodash/_baseSet.js +4 -0
  20. data/node_modules/lodash/_baseSortedIndexBy.js +7 -4
  21. data/node_modules/lodash/_baseTrim.js +19 -0
  22. data/node_modules/lodash/_equalArrays.js +5 -4
  23. data/node_modules/lodash/_equalObjects.js +5 -4
  24. data/node_modules/lodash/_trimmedEndIndex.js +19 -0
  25. data/node_modules/lodash/core.js +48 -6
  26. data/node_modules/lodash/core.min.js +9 -9
  27. data/node_modules/lodash/filter.js +4 -0
  28. data/node_modules/lodash/flake.lock +40 -0
  29. data/node_modules/lodash/flake.nix +20 -0
  30. data/node_modules/lodash/lodash.js +59 -11
  31. data/node_modules/lodash/lodash.min.js +126 -125
  32. data/node_modules/lodash/matches.js +7 -0
  33. data/node_modules/lodash/matchesProperty.js +7 -0
  34. data/node_modules/lodash/overEvery.js +4 -0
  35. data/node_modules/lodash/overSome.js +7 -0
  36. data/node_modules/lodash/package.json +1 -1
  37. data/node_modules/lodash/parseInt.js +1 -1
  38. data/node_modules/lodash/release.md +48 -0
  39. data/node_modules/lodash/sortBy.js +3 -3
  40. data/node_modules/lodash/template.js +24 -5
  41. data/node_modules/lodash/toNumber.js +3 -5
  42. data/node_modules/lodash/trim.js +2 -4
  43. data/node_modules/lodash/trimEnd.js +3 -5
  44. data/node_modules/lodash/trimStart.js +1 -1
  45. data/spec/dummy/log/development.log +9 -163
  46. data/spec/dummy/log/test.log +536 -0
  47. data/spec/dummy/node_modules/jquery-ui-bundle/AUTHORS.txt +333 -0
  48. data/spec/dummy/node_modules/jquery-ui-bundle/LICENSE.txt +43 -0
  49. data/spec/dummy/node_modules/jquery-ui-bundle/external/jquery/jquery.js +11008 -0
  50. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_444444_256x240.png +0 -0
  51. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_555555_256x240.png +0 -0
  52. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_777620_256x240.png +0 -0
  53. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_777777_256x240.png +0 -0
  54. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_cc0000_256x240.png +0 -0
  55. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_ffffff_256x240.png +0 -0
  56. data/spec/dummy/node_modules/jquery-ui-bundle/index.html +559 -0
  57. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.css +1312 -0
  58. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.js +18706 -0
  59. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.min.css +7 -0
  60. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.min.js +13 -0
  61. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.structure.css +886 -0
  62. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.structure.min.css +5 -0
  63. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.theme.css +443 -0
  64. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.theme.min.css +5 -0
  65. data/spec/dummy/node_modules/jquery-ui-bundle/package.json +33 -0
  66. data/spec/dummy/node_modules/jquery-ujs/CONTRIBUTING.md +109 -0
  67. data/spec/dummy/node_modules/jquery-ujs/MIT-LICENSE +20 -0
  68. data/spec/dummy/node_modules/jquery-ujs/README.md +86 -0
  69. data/spec/dummy/node_modules/jquery-ujs/RELEASE.md +23 -0
  70. data/spec/dummy/node_modules/jquery-ujs/bower.json +19 -0
  71. data/spec/dummy/node_modules/jquery-ujs/package.json +26 -0
  72. data/spec/dummy/node_modules/jquery-ujs/src/rails.js +555 -0
  73. data/spec/dummy/node_modules/jquery/AUTHORS.txt +327 -0
  74. data/spec/dummy/node_modules/jquery/LICENSE.txt +20 -0
  75. data/spec/dummy/node_modules/jquery/README.md +62 -0
  76. data/spec/dummy/node_modules/jquery/bower.json +14 -0
  77. data/spec/dummy/node_modules/jquery/dist/jquery.js +10872 -0
  78. data/spec/dummy/node_modules/jquery/dist/jquery.min.js +2 -0
  79. data/spec/dummy/node_modules/jquery/dist/jquery.min.map +1 -0
  80. data/spec/dummy/node_modules/jquery/dist/jquery.slim.js +8777 -0
  81. data/spec/dummy/node_modules/jquery/dist/jquery.slim.min.js +2 -0
  82. data/spec/dummy/node_modules/jquery/dist/jquery.slim.min.map +1 -0
  83. data/spec/dummy/node_modules/jquery/external/sizzle/LICENSE.txt +36 -0
  84. data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.js +2478 -0
  85. data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.min.js +3 -0
  86. data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.min.map +1 -0
  87. data/spec/dummy/node_modules/jquery/package.json +117 -0
  88. data/spec/dummy/node_modules/jquery/src/ajax.js +873 -0
  89. data/spec/dummy/node_modules/jquery/src/ajax/jsonp.js +103 -0
  90. data/spec/dummy/node_modules/jquery/src/ajax/load.js +77 -0
  91. data/spec/dummy/node_modules/jquery/src/ajax/script.js +74 -0
  92. data/spec/dummy/node_modules/jquery/src/ajax/var/location.js +5 -0
  93. data/spec/dummy/node_modules/jquery/src/ajax/var/nonce.js +5 -0
  94. data/spec/dummy/node_modules/jquery/src/ajax/var/rquery.js +5 -0
  95. data/spec/dummy/node_modules/jquery/src/ajax/xhr.js +170 -0
  96. data/spec/dummy/node_modules/jquery/src/attributes.js +13 -0
  97. data/spec/dummy/node_modules/jquery/src/attributes/attr.js +141 -0
  98. data/spec/dummy/node_modules/jquery/src/attributes/classes.js +186 -0
  99. data/spec/dummy/node_modules/jquery/src/attributes/prop.js +143 -0
  100. data/spec/dummy/node_modules/jquery/src/attributes/support.js +33 -0
  101. data/spec/dummy/node_modules/jquery/src/attributes/val.js +191 -0
  102. data/spec/dummy/node_modules/jquery/src/callbacks.js +236 -0
  103. data/spec/dummy/node_modules/jquery/src/core.js +400 -0
  104. data/spec/dummy/node_modules/jquery/src/core/DOMEval.js +43 -0
  105. data/spec/dummy/node_modules/jquery/src/core/access.js +72 -0
  106. data/spec/dummy/node_modules/jquery/src/core/camelCase.js +23 -0
  107. data/spec/dummy/node_modules/jquery/src/core/init.js +129 -0
  108. data/spec/dummy/node_modules/jquery/src/core/isAttached.js +26 -0
  109. data/spec/dummy/node_modules/jquery/src/core/nodeName.js +13 -0
  110. data/spec/dummy/node_modules/jquery/src/core/parseHTML.js +65 -0
  111. data/spec/dummy/node_modules/jquery/src/core/parseXML.js +30 -0
  112. data/spec/dummy/node_modules/jquery/src/core/ready-no-deferred.js +97 -0
  113. data/spec/dummy/node_modules/jquery/src/core/ready.js +86 -0
  114. data/spec/dummy/node_modules/jquery/src/core/readyException.js +13 -0
  115. data/spec/dummy/node_modules/jquery/src/core/stripAndCollapse.js +14 -0
  116. data/spec/dummy/node_modules/jquery/src/core/support.js +20 -0
  117. data/spec/dummy/node_modules/jquery/src/core/toType.js +20 -0
  118. data/spec/dummy/node_modules/jquery/src/core/var/rsingleTag.js +7 -0
  119. data/spec/dummy/node_modules/jquery/src/css.js +494 -0
  120. data/spec/dummy/node_modules/jquery/src/css/addGetHookIf.js +26 -0
  121. data/spec/dummy/node_modules/jquery/src/css/adjustCSS.js +74 -0
  122. data/spec/dummy/node_modules/jquery/src/css/curCSS.js +65 -0
  123. data/spec/dummy/node_modules/jquery/src/css/finalPropName.js +42 -0
  124. data/spec/dummy/node_modules/jquery/src/css/hiddenVisibleSelectors.js +15 -0
  125. data/spec/dummy/node_modules/jquery/src/css/showHide.js +105 -0
  126. data/spec/dummy/node_modules/jquery/src/css/support.js +133 -0
  127. data/spec/dummy/node_modules/jquery/src/css/var/cssExpand.js +5 -0
  128. data/spec/dummy/node_modules/jquery/src/css/var/getStyles.js +17 -0
  129. data/spec/dummy/node_modules/jquery/src/css/var/isHiddenWithinTree.js +34 -0
  130. data/spec/dummy/node_modules/jquery/src/css/var/rboxStyle.js +7 -0
  131. data/spec/dummy/node_modules/jquery/src/css/var/rnumnonpx.js +7 -0
  132. data/spec/dummy/node_modules/jquery/src/css/var/swap.js +26 -0
  133. data/spec/dummy/node_modules/jquery/src/data.js +180 -0
  134. data/spec/dummy/node_modules/jquery/src/data/Data.js +162 -0
  135. data/spec/dummy/node_modules/jquery/src/data/var/acceptData.js +19 -0
  136. data/spec/dummy/node_modules/jquery/src/data/var/dataPriv.js +7 -0
  137. data/spec/dummy/node_modules/jquery/src/data/var/dataUser.js +7 -0
  138. data/spec/dummy/node_modules/jquery/src/deferred.js +399 -0
  139. data/spec/dummy/node_modules/jquery/src/deferred/exceptionHook.js +21 -0
  140. data/spec/dummy/node_modules/jquery/src/deprecated.js +87 -0
  141. data/spec/dummy/node_modules/jquery/src/deprecated/ajax-event-alias.js +22 -0
  142. data/spec/dummy/node_modules/jquery/src/deprecated/event.js +48 -0
  143. data/spec/dummy/node_modules/jquery/src/dimensions.js +57 -0
  144. data/spec/dummy/node_modules/jquery/src/effects.js +701 -0
  145. data/spec/dummy/node_modules/jquery/src/effects/Tween.js +125 -0
  146. data/spec/dummy/node_modules/jquery/src/effects/animatedSelector.js +15 -0
  147. data/spec/dummy/node_modules/jquery/src/event.js +892 -0
  148. data/spec/dummy/node_modules/jquery/src/event/focusin.js +58 -0
  149. data/spec/dummy/node_modules/jquery/src/event/support.js +11 -0
  150. data/spec/dummy/node_modules/jquery/src/event/trigger.js +201 -0
  151. data/spec/dummy/node_modules/jquery/src/exports/amd.js +26 -0
  152. data/spec/dummy/node_modules/jquery/src/exports/global.js +34 -0
  153. data/spec/dummy/node_modules/jquery/src/jquery.js +41 -0
  154. data/spec/dummy/node_modules/jquery/src/manipulation.js +480 -0
  155. data/spec/dummy/node_modules/jquery/src/manipulation/_evalUrl.js +32 -0
  156. data/spec/dummy/node_modules/jquery/src/manipulation/buildFragment.js +106 -0
  157. data/spec/dummy/node_modules/jquery/src/manipulation/getAll.js +32 -0
  158. data/spec/dummy/node_modules/jquery/src/manipulation/setGlobalEval.js +22 -0
  159. data/spec/dummy/node_modules/jquery/src/manipulation/support.js +41 -0
  160. data/spec/dummy/node_modules/jquery/src/manipulation/var/rscriptType.js +5 -0
  161. data/spec/dummy/node_modules/jquery/src/manipulation/var/rtagName.js +8 -0
  162. data/spec/dummy/node_modules/jquery/src/manipulation/wrapMap.js +30 -0
  163. data/spec/dummy/node_modules/jquery/src/offset.js +238 -0
  164. data/spec/dummy/node_modules/jquery/src/queue.js +145 -0
  165. data/spec/dummy/node_modules/jquery/src/queue/delay.js +24 -0
  166. data/spec/dummy/node_modules/jquery/src/selector-native.js +241 -0
  167. data/spec/dummy/node_modules/jquery/src/selector-sizzle.js +19 -0
  168. data/spec/dummy/node_modules/jquery/src/selector.js +3 -0
  169. data/spec/dummy/node_modules/jquery/src/serialize.js +136 -0
  170. data/spec/dummy/node_modules/jquery/src/traversing.js +198 -0
  171. data/spec/dummy/node_modules/jquery/src/traversing/findFilter.js +97 -0
  172. data/spec/dummy/node_modules/jquery/src/traversing/var/dir.js +22 -0
  173. data/spec/dummy/node_modules/jquery/src/traversing/var/rneedsContext.js +8 -0
  174. data/spec/dummy/node_modules/jquery/src/traversing/var/siblings.js +17 -0
  175. data/spec/dummy/node_modules/jquery/src/var/ObjectFunctionString.js +7 -0
  176. data/spec/dummy/node_modules/jquery/src/var/arr.js +5 -0
  177. data/spec/dummy/node_modules/jquery/src/var/class2type.js +6 -0
  178. data/spec/dummy/node_modules/jquery/src/var/document.js +5 -0
  179. data/spec/dummy/node_modules/jquery/src/var/documentElement.js +7 -0
  180. data/spec/dummy/node_modules/jquery/src/var/flat.js +16 -0
  181. data/spec/dummy/node_modules/jquery/src/var/fnToString.js +7 -0
  182. data/spec/dummy/node_modules/jquery/src/var/getProto.js +5 -0
  183. data/spec/dummy/node_modules/jquery/src/var/hasOwn.js +7 -0
  184. data/spec/dummy/node_modules/jquery/src/var/indexOf.js +7 -0
  185. data/spec/dummy/node_modules/jquery/src/var/isFunction.js +13 -0
  186. data/spec/dummy/node_modules/jquery/src/var/isWindow.js +8 -0
  187. data/spec/dummy/node_modules/jquery/src/var/pnum.js +5 -0
  188. data/spec/dummy/node_modules/jquery/src/var/push.js +7 -0
  189. data/spec/dummy/node_modules/jquery/src/var/rcheckableType.js +5 -0
  190. data/spec/dummy/node_modules/jquery/src/var/rcssNum.js +9 -0
  191. data/spec/dummy/node_modules/jquery/src/var/rnothtmlwhite.js +8 -0
  192. data/spec/dummy/node_modules/jquery/src/var/slice.js +7 -0
  193. data/spec/dummy/node_modules/jquery/src/var/support.js +6 -0
  194. data/spec/dummy/node_modules/jquery/src/var/toString.js +7 -0
  195. data/spec/dummy/node_modules/jquery/src/wrap.js +78 -0
  196. data/spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig +5 -0
  197. data/spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime +1 -0
  198. data/trusty_cms.gemspec +3 -2
  199. data/yarn.lock +9 -9
  200. metadata +354 -50
@@ -0,0 +1,3 @@
1
+ /*! Sizzle v2.3.5 | (c) JS Foundation and other contributors | js.foundation */
2
+ !function(e){var t,n,r,i,o,u,l,a,c,s,d,f,p,h,g,m,y,v,w,b="sizzle"+1*new Date,N=e.document,C=0,x=0,E=ae(),A=ae(),S=ae(),D=ae(),T=function(e,t){return e===t&&(d=!0),0},L={}.hasOwnProperty,q=[],I=q.pop,B=q.push,R=q.push,$=q.slice,k=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},H="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",P="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",z="\\["+M+"*("+P+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+P+"))|)"+M+"*\\]",F=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",O=new RegExp(M+"+","g"),j=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),G=new RegExp("^"+M+"*,"+M+"*"),U=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),V=new RegExp(M+"|>"),X=new RegExp(F),J=new RegExp("^"+P+"$"),K={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+H+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Q=/HTML$/i,W=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){f()},ue=ve(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{R.apply(q=$.call(N.childNodes),N.childNodes),q[N.childNodes.length].nodeType}catch(e){R={apply:q.length?function(e,t){B.apply(e,$.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function le(e,t,r,i){var o,l,c,s,d,h,y,v=t&&t.ownerDocument,N=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==N&&9!==N&&11!==N)return r;if(!i&&(f(t),t=t||p,g)){if(11!==N&&(d=_.exec(e)))if(o=d[1]){if(9===N){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(v&&(c=v.getElementById(o))&&w(t,c)&&c.id===o)return r.push(c),r}else{if(d[2])return R.apply(r,t.getElementsByTagName(e)),r;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return R.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!D[e+" "]&&(!m||!m.test(e))&&(1!==N||"object"!==t.nodeName.toLowerCase())){if(y=e,v=t,1===N&&(V.test(e)||U.test(e))){(v=ee.test(e)&&ge(t.parentNode)||t)===t&&n.scope||((s=t.getAttribute("id"))?s=s.replace(re,ie):t.setAttribute("id",s=b)),l=(h=u(e)).length;while(l--)h[l]=(s?"#"+s:":scope")+" "+ye(h[l]);y=h.join(",")}try{return R.apply(r,v.querySelectorAll(y)),r}catch(t){D(e,!0)}finally{s===b&&t.removeAttribute("id")}}}return a(e.replace(j,"$1"),t,r,i)}function ae(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function ce(e){return e[b]=!0,e}function se(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){var n=e.split("|"),i=n.length;while(i--)r.attrHandle[n[i]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ue(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return ce(function(t){return t=+t,ce(function(n,r){var i,o=e([],n.length,t),u=o.length;while(u--)n[i=o[u]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}n=le.support={},o=le.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Q.test(t||n&&n.nodeName||"HTML")},f=le.setDocument=function(e){var t,i,u=e?e.ownerDocument||e:N;return u!=p&&9===u.nodeType&&u.documentElement?(p=u,h=p.documentElement,g=!o(p),N!=p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=se(function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),n.attributes=se(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=se(function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(p.getElementsByClassName),n.getById=se(function(e){return h.appendChild(e).id=b,!p.getElementsByName||!p.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},y=[],m=[],(n.qsa=Z.test(p.querySelectorAll))&&(se(function(e){var t;h.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+M+"*(?:value|"+H+")"),e.querySelectorAll("[id~="+b+"-]").length||m.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")}),se(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=Z.test(v=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&se(function(e){n.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),y.push("!=",F)}),m=m.length&&new RegExp(m.join("|")),y=y.length&&new RegExp(y.join("|")),t=Z.test(h.compareDocumentPosition),w=t||Z.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},T=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==N&&w(N,e)?-1:t==p||t.ownerDocument==N&&w(N,t)?1:s?k(s,e)-k(s,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,u=[e],l=[t];if(!i||!o)return e==p?-1:t==p?1:i?-1:o?1:s?k(s,e)-k(s,t):0;if(i===o)return fe(e,t);n=e;while(n=n.parentNode)u.unshift(n);n=t;while(n=n.parentNode)l.unshift(n);while(u[r]===l[r])r++;return r?fe(u[r],l[r]):u[r]==N?-1:l[r]==N?1:0},p):p},le.matches=function(e,t){return le(e,null,null,t)},le.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&g&&!D[t+" "]&&(!y||!y.test(t))&&(!m||!m.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){D(t,!0)}return le(t,p,null,[e]).length>0},le.contains=function(e,t){return(e.ownerDocument||e)!=p&&f(e),w(e,t)},le.attr=function(e,t){(e.ownerDocument||e)!=p&&f(e);var i=r.attrHandle[t.toLowerCase()],o=i&&L.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},le.escape=function(e){return(e+"").replace(re,ie)},le.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},le.uniqueSort=function(e){var t,r=[],i=0,o=0;if(d=!n.detectDuplicates,s=!n.sortStable&&e.slice(0),e.sort(T),d){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return s=null,e},i=le.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[r++])n+=i(t);return n},(r=le.selectors={cacheLength:50,createPseudo:ce,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||le.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&le.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=u(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=le.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(O," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),u="last"!==e.slice(-4),l="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,a){var c,s,d,f,p,h,g=o!==u?"nextSibling":"previousSibling",m=t.parentNode,y=l&&t.nodeName.toLowerCase(),v=!a&&!l,w=!1;if(m){if(o){while(g){f=t;while(f=f[g])if(l?f.nodeName.toLowerCase()===y:1===f.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[u?m.firstChild:m.lastChild],u&&v){w=(p=(c=(s=(d=(f=m)[b]||(f[b]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===C&&c[1])&&c[2],f=p&&m.childNodes[p];while(f=++p&&f&&f[g]||(w=p=0)||h.pop())if(1===f.nodeType&&++w&&f===t){s[e]=[C,p,w];break}}else if(v&&(w=p=(c=(s=(d=(f=t)[b]||(f[b]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===C&&c[1]),!1===w)while(f=++p&&f&&f[g]||(w=p=0)||h.pop())if((l?f.nodeName.toLowerCase()===y:1===f.nodeType)&&++w&&(v&&((s=(d=f[b]||(f[b]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[C,w]),f===t))break;return(w-=i)===r||w%r==0&&w/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||le.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce(function(e,n){var r,o=i(e,t),u=o.length;while(u--)e[r=k(e,o[u])]=!(n[r]=o[u])}):function(e){return i(e,0,n)}):i}},pseudos:{not:ce(function(e){var t=[],n=[],r=l(e.replace(j,"$1"));return r[b]?ce(function(e,t,n,i){var o,u=r(e,null,i,[]),l=e.length;while(l--)(o=u[l])&&(e[l]=!(t[l]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:ce(function(e){return function(t){return le(e,t).length>0}}),contains:ce(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}}),lang:ce(function(e){return J.test(e||"")||le.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:pe(!1),disabled:pe(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return W.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(t);function me(){}me.prototype=r.filters=r.pseudos,r.setFilters=new me,u=le.tokenize=function(e,t){var n,i,o,u,l,a,c,s=A[e+" "];if(s)return t?0:s.slice(0);l=e,a=[],c=r.preFilter;while(l){n&&!(i=G.exec(l))||(i&&(l=l.slice(i[0].length)||l),a.push(o=[])),n=!1,(i=U.exec(l))&&(n=i.shift(),o.push({value:n,type:i[0].replace(j," ")}),l=l.slice(n.length));for(u in r.filter)!(i=K[u].exec(l))||c[u]&&!(i=c[u](i))||(n=i.shift(),o.push({value:n,type:u,matches:i}),l=l.slice(n.length));if(!n)break}return t?l.length:l?le.error(e):A(e,a).slice(0)};function ye(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ve(e,t,n){var r=t.dir,i=t.next,o=i||r,u=n&&"parentNode"===o,l=x++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||u)return e(t,n,i);return!1}:function(t,n,a){var c,s,d,f=[C,l];if(a){while(t=t[r])if((1===t.nodeType||u)&&e(t,n,a))return!0}else while(t=t[r])if(1===t.nodeType||u)if(d=t[b]||(t[b]={}),s=d[t.uniqueID]||(d[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=s[o])&&c[0]===C&&c[1]===l)return f[2]=c[2];if(s[o]=f,f[2]=e(t,n,a))return!0}return!1}}function we(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function be(e,t,n){for(var r=0,i=t.length;r<i;r++)le(e,t[r],n);return n}function Ne(e,t,n,r,i){for(var o,u=[],l=0,a=e.length,c=null!=t;l<a;l++)(o=e[l])&&(n&&!n(o,r,i)||(u.push(o),c&&t.push(l)));return u}function Ce(e,t,n,r,i,o){return r&&!r[b]&&(r=Ce(r)),i&&!i[b]&&(i=Ce(i,o)),ce(function(o,u,l,a){var c,s,d,f=[],p=[],h=u.length,g=o||be(t||"*",l.nodeType?[l]:l,[]),m=!e||!o&&t?g:Ne(g,f,e,l,a),y=n?i||(o?e:h||r)?[]:u:m;if(n&&n(m,y,l,a),r){c=Ne(y,p),r(c,[],l,a),s=c.length;while(s--)(d=c[s])&&(y[p[s]]=!(m[p[s]]=d))}if(o){if(i||e){if(i){c=[],s=y.length;while(s--)(d=y[s])&&c.push(m[s]=d);i(null,y=[],c,a)}s=y.length;while(s--)(d=y[s])&&(c=i?k(o,d):f[s])>-1&&(o[c]=!(u[c]=d))}}else y=Ne(y===u?y.splice(h,y.length):y),i?i(null,u,y,a):R.apply(u,y)})}function xe(e){for(var t,n,i,o=e.length,u=r.relative[e[0].type],l=u||r.relative[" "],a=u?1:0,s=ve(function(e){return e===t},l,!0),d=ve(function(e){return k(t,e)>-1},l,!0),f=[function(e,n,r){var i=!u&&(r||n!==c)||((t=n).nodeType?s(e,n,r):d(e,n,r));return t=null,i}];a<o;a++)if(n=r.relative[e[a].type])f=[ve(we(f),n)];else{if((n=r.filter[e[a].type].apply(null,e[a].matches))[b]){for(i=++a;i<o;i++)if(r.relative[e[i].type])break;return Ce(a>1&&we(f),a>1&&ye(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(j,"$1"),n,a<i&&xe(e.slice(a,i)),i<o&&xe(e=e.slice(i)),i<o&&ye(e))}f.push(n)}return we(f)}function Ee(e,t){var n=t.length>0,i=e.length>0,o=function(o,u,l,a,s){var d,h,m,y=0,v="0",w=o&&[],b=[],N=c,x=o||i&&r.find.TAG("*",s),E=C+=null==N?1:Math.random()||.1,A=x.length;for(s&&(c=u==p||u||s);v!==A&&null!=(d=x[v]);v++){if(i&&d){h=0,u||d.ownerDocument==p||(f(d),l=!g);while(m=e[h++])if(m(d,u||p,l)){a.push(d);break}s&&(C=E)}n&&((d=!m&&d)&&y--,o&&w.push(d))}if(y+=v,n&&v!==y){h=0;while(m=t[h++])m(w,b,u,l);if(o){if(y>0)while(v--)w[v]||b[v]||(b[v]=I.call(a));b=Ne(b)}R.apply(a,b),s&&!o&&b.length>0&&y+t.length>1&&le.uniqueSort(a)}return s&&(C=E,c=N),w};return n?ce(o):o}l=le.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=u(e)),n=t.length;while(n--)(o=xe(t[n]))[b]?r.push(o):i.push(o);(o=S(e,Ee(i,r))).selector=e}return o},a=le.select=function(e,t,n,i){var o,a,c,s,d,f="function"==typeof e&&e,p=!i&&u(e=f.selector||e);if(n=n||[],1===p.length){if((a=p[0]=p[0].slice(0)).length>2&&"ID"===(c=a[0]).type&&9===t.nodeType&&g&&r.relative[a[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(a.shift().value.length)}o=K.needsContext.test(e)?0:a.length;while(o--){if(c=a[o],r.relative[s=c.type])break;if((d=r.find[s])&&(i=d(c.matches[0].replace(te,ne),ee.test(a[0].type)&&ge(t.parentNode)||t))){if(a.splice(o,1),!(e=i.length&&ye(a)))return R.apply(n,i),n;break}}}return(f||l(e,p))(i,t,!g,n,!t||ee.test(e)&&ge(t.parentNode)||t),n},n.sortStable=b.split("").sort(T).join("")===b,n.detectDuplicates=!!d,f(),n.sortDetached=se(function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))}),se(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&se(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),se(function(e){return null==e.getAttribute("disabled")})||de(H,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null});var Ae=e.Sizzle;le.noConflict=function(){return e.Sizzle===le&&(e.Sizzle=Ae),le},"function"==typeof define&&define.amd?define(function(){return le}):"undefined"!=typeof module&&module.exports?module.exports=le:e.Sizzle=le}(window);
3
+ //# sourceMappingURL=sizzle.min.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["sizzle.js"],"names":["window","i","support","Expr","getText","isXML","tokenize","compile","select","outermostContext","sortInput","hasDuplicate","setDocument","document","docElem","documentIsHTML","rbuggyQSA","rbuggyMatches","matches","contains","expando","Date","preferredDoc","dirruns","done","classCache","createCache","tokenCache","compilerCache","nonnativeSelectorCache","sortOrder","a","b","hasOwn","hasOwnProperty","arr","pop","pushNative","push","slice","indexOf","list","elem","len","length","booleans","whitespace","identifier","attributes","pseudos","rwhitespace","RegExp","rtrim","rcomma","rcombinators","rdescend","rpseudo","ridentifier","matchExpr","ID","CLASS","TAG","ATTR","PSEUDO","CHILD","bool","needsContext","rhtml","rinputs","rheader","rnative","rquickExpr","rsibling","runescape","funescape","escape","nonHex","high","String","fromCharCode","rcssescape","fcssescape","ch","asCodePoint","charCodeAt","toString","unloadHandler","inDisabledFieldset","addCombinator","disabled","nodeName","toLowerCase","dir","next","apply","call","childNodes","nodeType","e","target","els","j","Sizzle","selector","context","results","seed","m","nid","match","groups","newSelector","newContext","ownerDocument","exec","getElementById","id","getElementsByTagName","getElementsByClassName","qsa","test","testContext","parentNode","scope","getAttribute","replace","setAttribute","toSelector","join","querySelectorAll","qsaError","removeAttribute","keys","cache","key","value","cacheLength","shift","markFunction","fn","assert","el","createElement","removeChild","addHandle","attrs","handler","split","attrHandle","siblingCheck","cur","diff","sourceIndex","nextSibling","createDisabledPseudo","isDisabled","createPositionalPseudo","argument","matchIndexes","namespace","namespaceURI","documentElement","node","hasCompare","subWindow","doc","defaultView","top","addEventListener","attachEvent","appendChild","className","createComment","getById","getElementsByName","filter","attrId","find","getAttributeNode","elems","tag","tmp","input","innerHTML","matchesSelector","webkitMatchesSelector","mozMatchesSelector","oMatchesSelector","msMatchesSelector","disconnectedMatch","compareDocumentPosition","adown","bup","compare","sortDetached","aup","ap","bp","unshift","expr","elements","ret","attr","name","val","undefined","specified","sel","error","msg","Error","uniqueSort","duplicates","detectDuplicates","sortStable","sort","splice","textContent","firstChild","nodeValue","selectors","createPseudo","relative",">","first"," ","+","~","preFilter","excess","unquoted","nodeNameSelector","pattern","operator","check","result","type","what","_argument","last","simple","forward","ofType","_context","xml","uniqueCache","outerCache","nodeIndex","start","parent","useCache","lastChild","uniqueID","pseudo","args","setFilters","idx","matched","not","matcher","unmatched","has","text","lang","elemLang","hash","location","root","focus","activeElement","hasFocus","href","tabIndex","enabled","checked","selected","selectedIndex","empty","header","button","_matchIndexes","eq","even","odd","lt","gt","radio","checkbox","file","password","image","createInputPseudo","submit","reset","createButtonPseudo","prototype","filters","parseOnly","tokens","soFar","preFilters","cached","combinator","base","skip","checkNonElements","doneName","oldCache","newCache","elementMatcher","matchers","multipleContexts","contexts","condense","map","newUnmatched","mapped","setMatcher","postFilter","postFinder","postSelector","temp","preMap","postMap","preexisting","matcherIn","matcherOut","matcherFromTokens","checkContext","leadingRelative","implicitRelative","matchContext","matchAnyContext","concat","matcherFromGroupMatchers","elementMatchers","setMatchers","bySet","byElement","superMatcher","outermost","matchedCount","setMatched","contextBackup","dirrunsUnique","Math","random","token","compiled","_name","defaultValue","_sizzle","noConflict","define","amd","module","exports"],"mappings":";CAUA,SAAYA,GACZ,IAAIC,EACHC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EAGAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EAGAC,EAAU,SAAW,EAAI,IAAIC,KAC7BC,EAAetB,EAAOa,SACtBU,EAAU,EACVC,EAAO,EACPC,EAAaC,KACbC,EAAaD,KACbE,EAAgBF,KAChBG,EAAyBH,KACzBI,EAAY,SAAUC,EAAGC,GAIxB,OAHKD,IAAMC,IACVrB,GAAe,GAET,GAIRsB,KAAgBC,eAChBC,KACAC,EAAMD,EAAIC,IACVC,EAAaF,EAAIG,KACjBA,EAAOH,EAAIG,KACXC,EAAQJ,EAAII,MAIZC,EAAU,SAAUC,EAAMC,GAGzB,IAFA,IAAIzC,EAAI,EACP0C,EAAMF,EAAKG,OACJ3C,EAAI0C,EAAK1C,IAChB,GAAKwC,EAAMxC,KAAQyC,EAClB,OAAOzC,EAGT,OAAQ,GAGT4C,EAAW,6HAMXC,EAAa,sBAGbC,EAAa,0BAA4BD,EACxC,0CAGDE,EAAa,MAAQF,EAAa,KAAOC,EAAa,OAASD,EAG9D,gBAAkBA,EAIlB,2DAA6DC,EAAa,OAC1ED,EAAa,OAEdG,EAAU,KAAOF,EAAa,wFAOAC,EAAa,eAO3CE,EAAc,IAAIC,OAAQL,EAAa,IAAK,KAC5CM,EAAQ,IAAID,OAAQ,IAAML,EAAa,8BACtCA,EAAa,KAAM,KAEpBO,EAAS,I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AAOC,IAC3CD,OAAQ,WACP,OAAO3P,KAIqB,oBAAX6P,QAA0BA,OAAOC,QACnDD,OAAOC,QAAU9P,GAEjBtG,EAAOsG,OAASA,GA95EjB,CAm6EKtG","file":"sizzle.min.js"}
@@ -0,0 +1,117 @@
1
+ {
2
+ "name": "jquery",
3
+ "title": "jQuery",
4
+ "description": "JavaScript library for DOM operations",
5
+ "version": "3.5.0",
6
+ "main": "dist/jquery.js",
7
+ "homepage": "https://jquery.com",
8
+ "author": {
9
+ "name": "JS Foundation and other contributors",
10
+ "url": "https://github.com/jquery/jquery/blob/3.5.0/AUTHORS.txt"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/jquery/jquery.git"
15
+ },
16
+ "keywords": [
17
+ "jquery",
18
+ "javascript",
19
+ "browser",
20
+ "library"
21
+ ],
22
+ "bugs": {
23
+ "url": "https://github.com/jquery/jquery/issues"
24
+ },
25
+ "license": "MIT",
26
+ "dependencies": {},
27
+ "devDependencies": {
28
+ "@babel/core": "7.3.3",
29
+ "@babel/plugin-transform-for-of": "7.2.0",
30
+ "commitplease": "3.2.0",
31
+ "core-js": "2.6.5",
32
+ "eslint-config-jquery": "2.0.0",
33
+ "grunt": "1.0.3",
34
+ "grunt-babel": "8.0.0",
35
+ "grunt-cli": "1.3.2",
36
+ "grunt-compare-size": "0.4.2",
37
+ "grunt-contrib-uglify": "3.4.0",
38
+ "grunt-contrib-watch": "1.1.0",
39
+ "grunt-eslint": "22.0.0",
40
+ "grunt-git-authors": "3.2.0",
41
+ "grunt-jsonlint": "1.1.0",
42
+ "grunt-karma": "3.0.1",
43
+ "grunt-newer": "1.3.0",
44
+ "grunt-npmcopy": "0.1.0",
45
+ "gzip-js": "0.3.2",
46
+ "husky": "1.3.1",
47
+ "insight": "0.10.1",
48
+ "jsdom": "13.2.0",
49
+ "karma": "4.0.1",
50
+ "karma-browserstack-launcher": "1.4.0",
51
+ "karma-chrome-launcher": "2.2.0",
52
+ "karma-firefox-launcher": "1.1.0",
53
+ "karma-ie-launcher": "1.0.0",
54
+ "karma-jsdom-launcher": "7.1.0",
55
+ "karma-qunit": "3.0.0",
56
+ "load-grunt-tasks": "4.0.0",
57
+ "native-promise-only": "0.8.1",
58
+ "promises-aplus-tests": "2.1.2",
59
+ "q": "1.5.1",
60
+ "qunit": "2.9.2",
61
+ "raw-body": "2.3.3",
62
+ "requirejs": "2.3.6",
63
+ "sinon": "2.3.7",
64
+ "sizzle": "2.3.5",
65
+ "strip-json-comments": "2.0.1",
66
+ "testswarm": "1.1.0",
67
+ "uglify-js": "3.4.7"
68
+ },
69
+ "scripts": {
70
+ "build": "npm install && grunt",
71
+ "start": "grunt watch",
72
+ "test:browserless": "grunt && grunt test:slow",
73
+ "test:browser": "grunt && grunt karma:main",
74
+ "test:amd": "grunt && grunt karma:amd",
75
+ "test:no-deprecated": "grunt test:prepare && grunt custom:-deprecated && grunt karma:main",
76
+ "test:no-sizzle": "grunt test:prepare && grunt custom:-sizzle && grunt karma:main",
77
+ "test:slim": "grunt test:prepare && grunt custom:slim && grunt karma:main",
78
+ "test": "npm run test:slim && npm run test:no-deprecated && npm run test:no-sizzle && grunt && grunt test:slow && grunt karma:main && grunt karma:amd",
79
+ "jenkins": "npm run test:browserless"
80
+ },
81
+ "commitplease": {
82
+ "nohook": true,
83
+ "components": [
84
+ "Docs",
85
+ "Tests",
86
+ "Build",
87
+ "Support",
88
+ "Release",
89
+ "Core",
90
+ "Ajax",
91
+ "Attributes",
92
+ "Callbacks",
93
+ "CSS",
94
+ "Data",
95
+ "Deferred",
96
+ "Deprecated",
97
+ "Dimensions",
98
+ "Effects",
99
+ "Event",
100
+ "Manipulation",
101
+ "Offset",
102
+ "Queue",
103
+ "Selector",
104
+ "Serialize",
105
+ "Traversing",
106
+ "Wrap"
107
+ ],
108
+ "markerPattern": "^((clos|fix|resolv)(e[sd]|ing))|^(refs?)",
109
+ "ticketPattern": "^((Closes|Fixes) ([a-zA-Z]{2,}-)[0-9]+)|^(Refs? [^#])"
110
+ },
111
+ "husky": {
112
+ "hooks": {
113
+ "commit-msg": "node node_modules/commitplease",
114
+ "pre-commit": "grunt lint:newer qunit_fixture"
115
+ }
116
+ }
117
+ }
@@ -0,0 +1,873 @@
1
+ define( [
2
+ "./core",
3
+ "./var/document",
4
+ "./var/isFunction",
5
+ "./var/rnothtmlwhite",
6
+ "./ajax/var/location",
7
+ "./ajax/var/nonce",
8
+ "./ajax/var/rquery",
9
+
10
+ "./core/init",
11
+ "./core/parseXML",
12
+ "./event/trigger",
13
+ "./deferred",
14
+ "./serialize" // jQuery.param
15
+ ], function( jQuery, document, isFunction, rnothtmlwhite, location, nonce, rquery ) {
16
+
17
+ "use strict";
18
+
19
+ var
20
+ r20 = /%20/g,
21
+ rhash = /#.*$/,
22
+ rantiCache = /([?&])_=[^&]*/,
23
+ rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg,
24
+
25
+ // #7653, #8125, #8152: local protocol detection
26
+ rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
27
+ rnoContent = /^(?:GET|HEAD)$/,
28
+ rprotocol = /^\/\//,
29
+
30
+ /* Prefilters
31
+ * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)
32
+ * 2) These are called:
33
+ * - BEFORE asking for a transport
34
+ * - AFTER param serialization (s.data is a string if s.processData is true)
35
+ * 3) key is the dataType
36
+ * 4) the catchall symbol "*" can be used
37
+ * 5) execution will start with transport dataType and THEN continue down to "*" if needed
38
+ */
39
+ prefilters = {},
40
+
41
+ /* Transports bindings
42
+ * 1) key is the dataType
43
+ * 2) the catchall symbol "*" can be used
44
+ * 3) selection will start with transport dataType and THEN go to "*" if needed
45
+ */
46
+ transports = {},
47
+
48
+ // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression
49
+ allTypes = "*/".concat( "*" ),
50
+
51
+ // Anchor tag for parsing the document origin
52
+ originAnchor = document.createElement( "a" );
53
+ originAnchor.href = location.href;
54
+
55
+ // Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport
56
+ function addToPrefiltersOrTransports( structure ) {
57
+
58
+ // dataTypeExpression is optional and defaults to "*"
59
+ return function( dataTypeExpression, func ) {
60
+
61
+ if ( typeof dataTypeExpression !== "string" ) {
62
+ func = dataTypeExpression;
63
+ dataTypeExpression = "*";
64
+ }
65
+
66
+ var dataType,
67
+ i = 0,
68
+ dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || [];
69
+
70
+ if ( isFunction( func ) ) {
71
+
72
+ // For each dataType in the dataTypeExpression
73
+ while ( ( dataType = dataTypes[ i++ ] ) ) {
74
+
75
+ // Prepend if requested
76
+ if ( dataType[ 0 ] === "+" ) {
77
+ dataType = dataType.slice( 1 ) || "*";
78
+ ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func );
79
+
80
+ // Otherwise append
81
+ } else {
82
+ ( structure[ dataType ] = structure[ dataType ] || [] ).push( func );
83
+ }
84
+ }
85
+ }
86
+ };
87
+ }
88
+
89
+ // Base inspection function for prefilters and transports
90
+ function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {
91
+
92
+ var inspected = {},
93
+ seekingTransport = ( structure === transports );
94
+
95
+ function inspect( dataType ) {
96
+ var selected;
97
+ inspected[ dataType ] = true;
98
+ jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {
99
+ var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );
100
+ if ( typeof dataTypeOrTransport === "string" &&
101
+ !seekingTransport && !inspected[ dataTypeOrTransport ] ) {
102
+
103
+ options.dataTypes.unshift( dataTypeOrTransport );
104
+ inspect( dataTypeOrTransport );
105
+ return false;
106
+ } else if ( seekingTransport ) {
107
+ return !( selected = dataTypeOrTransport );
108
+ }
109
+ } );
110
+ return selected;
111
+ }
112
+
113
+ return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" );
114
+ }
115
+
116
+ // A special extend for ajax options
117
+ // that takes "flat" options (not to be deep extended)
118
+ // Fixes #9887
119
+ function ajaxExtend( target, src ) {
120
+ var key, deep,
121
+ flatOptions = jQuery.ajaxSettings.flatOptions || {};
122
+
123
+ for ( key in src ) {
124
+ if ( src[ key ] !== undefined ) {
125
+ ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ];
126
+ }
127
+ }
128
+ if ( deep ) {
129
+ jQuery.extend( true, target, deep );
130
+ }
131
+
132
+ return target;
133
+ }
134
+
135
+ /* Handles responses to an ajax request:
136
+ * - finds the right dataType (mediates between content-type and expected dataType)
137
+ * - returns the corresponding response
138
+ */
139
+ function ajaxHandleResponses( s, jqXHR, responses ) {
140
+
141
+ var ct, type, finalDataType, firstDataType,
142
+ contents = s.contents,
143
+ dataTypes = s.dataTypes;
144
+
145
+ // Remove auto dataType and get content-type in the process
146
+ while ( dataTypes[ 0 ] === "*" ) {
147
+ dataTypes.shift();
148
+ if ( ct === undefined ) {
149
+ ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" );
150
+ }
151
+ }
152
+
153
+ // Check if we're dealing with a known content-type
154
+ if ( ct ) {
155
+ for ( type in contents ) {
156
+ if ( contents[ type ] && contents[ type ].test( ct ) ) {
157
+ dataTypes.unshift( type );
158
+ break;
159
+ }
160
+ }
161
+ }
162
+
163
+ // Check to see if we have a response for the expected dataType
164
+ if ( dataTypes[ 0 ] in responses ) {
165
+ finalDataType = dataTypes[ 0 ];
166
+ } else {
167
+
168
+ // Try convertible dataTypes
169
+ for ( type in responses ) {
170
+ if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) {
171
+ finalDataType = type;
172
+ break;
173
+ }
174
+ if ( !firstDataType ) {
175
+ firstDataType = type;
176
+ }
177
+ }
178
+
179
+ // Or just use first one
180
+ finalDataType = finalDataType || firstDataType;
181
+ }
182
+
183
+ // If we found a dataType
184
+ // We add the dataType to the list if needed
185
+ // and return the corresponding response
186
+ if ( finalDataType ) {
187
+ if ( finalDataType !== dataTypes[ 0 ] ) {
188
+ dataTypes.unshift( finalDataType );
189
+ }
190
+ return responses[ finalDataType ];
191
+ }
192
+ }
193
+
194
+ /* Chain conversions given the request and the original response
195
+ * Also sets the responseXXX fields on the jqXHR instance
196
+ */
197
+ function ajaxConvert( s, response, jqXHR, isSuccess ) {
198
+ var conv2, current, conv, tmp, prev,
199
+ converters = {},
200
+
201
+ // Work with a copy of dataTypes in case we need to modify it for conversion
202
+ dataTypes = s.dataTypes.slice();
203
+
204
+ // Create converters map with lowercased keys
205
+ if ( dataTypes[ 1 ] ) {
206
+ for ( conv in s.converters ) {
207
+ converters[ conv.toLowerCase() ] = s.converters[ conv ];
208
+ }
209
+ }
210
+
211
+ current = dataTypes.shift();
212
+
213
+ // Convert to each sequential dataType
214
+ while ( current ) {
215
+
216
+ if ( s.responseFields[ current ] ) {
217
+ jqXHR[ s.responseFields[ current ] ] = response;
218
+ }
219
+
220
+ // Apply the dataFilter if provided
221
+ if ( !prev && isSuccess && s.dataFilter ) {
222
+ response = s.dataFilter( response, s.dataType );
223
+ }
224
+
225
+ prev = current;
226
+ current = dataTypes.shift();
227
+
228
+ if ( current ) {
229
+
230
+ // There's only work to do if current dataType is non-auto
231
+ if ( current === "*" ) {
232
+
233
+ current = prev;
234
+
235
+ // Convert response if prev dataType is non-auto and differs from current
236
+ } else if ( prev !== "*" && prev !== current ) {
237
+
238
+ // Seek a direct converter
239
+ conv = converters[ prev + " " + current ] || converters[ "* " + current ];
240
+
241
+ // If none found, seek a pair
242
+ if ( !conv ) {
243
+ for ( conv2 in converters ) {
244
+
245
+ // If conv2 outputs current
246
+ tmp = conv2.split( " " );
247
+ if ( tmp[ 1 ] === current ) {
248
+
249
+ // If prev can be converted to accepted input
250
+ conv = converters[ prev + " " + tmp[ 0 ] ] ||
251
+ converters[ "* " + tmp[ 0 ] ];
252
+ if ( conv ) {
253
+
254
+ // Condense equivalence converters
255
+ if ( conv === true ) {
256
+ conv = converters[ conv2 ];
257
+
258
+ // Otherwise, insert the intermediate dataType
259
+ } else if ( converters[ conv2 ] !== true ) {
260
+ current = tmp[ 0 ];
261
+ dataTypes.unshift( tmp[ 1 ] );
262
+ }
263
+ break;
264
+ }
265
+ }
266
+ }
267
+ }
268
+
269
+ // Apply converter (if not an equivalence)
270
+ if ( conv !== true ) {
271
+
272
+ // Unless errors are allowed to bubble, catch and return them
273
+ if ( conv && s.throws ) {
274
+ response = conv( response );
275
+ } else {
276
+ try {
277
+ response = conv( response );
278
+ } catch ( e ) {
279
+ return {
280
+ state: "parsererror",
281
+ error: conv ? e : "No conversion from " + prev + " to " + current
282
+ };
283
+ }
284
+ }
285
+ }
286
+ }
287
+ }
288
+ }
289
+
290
+ return { state: "success", data: response };
291
+ }
292
+
293
+ jQuery.extend( {
294
+
295
+ // Counter for holding the number of active queries
296
+ active: 0,
297
+
298
+ // Last-Modified header cache for next request
299
+ lastModified: {},
300
+ etag: {},
301
+
302
+ ajaxSettings: {
303
+ url: location.href,
304
+ type: "GET",
305
+ isLocal: rlocalProtocol.test( location.protocol ),
306
+ global: true,
307
+ processData: true,
308
+ async: true,
309
+ contentType: "application/x-www-form-urlencoded; charset=UTF-8",
310
+
311
+ /*
312
+ timeout: 0,
313
+ data: null,
314
+ dataType: null,
315
+ username: null,
316
+ password: null,
317
+ cache: null,
318
+ throws: false,
319
+ traditional: false,
320
+ headers: {},
321
+ */
322
+
323
+ accepts: {
324
+ "*": allTypes,
325
+ text: "text/plain",
326
+ html: "text/html",
327
+ xml: "application/xml, text/xml",
328
+ json: "application/json, text/javascript"
329
+ },
330
+
331
+ contents: {
332
+ xml: /\bxml\b/,
333
+ html: /\bhtml/,
334
+ json: /\bjson\b/
335
+ },
336
+
337
+ responseFields: {
338
+ xml: "responseXML",
339
+ text: "responseText",
340
+ json: "responseJSON"
341
+ },
342
+
343
+ // Data converters
344
+ // Keys separate source (or catchall "*") and destination types with a single space
345
+ converters: {
346
+
347
+ // Convert anything to text
348
+ "* text": String,
349
+
350
+ // Text to html (true = no transformation)
351
+ "text html": true,
352
+
353
+ // Evaluate text as a json expression
354
+ "text json": JSON.parse,
355
+
356
+ // Parse text as xml
357
+ "text xml": jQuery.parseXML
358
+ },
359
+
360
+ // For options that shouldn't be deep extended:
361
+ // you can add your own custom options here if
362
+ // and when you create one that shouldn't be
363
+ // deep extended (see ajaxExtend)
364
+ flatOptions: {
365
+ url: true,
366
+ context: true
367
+ }
368
+ },
369
+
370
+ // Creates a full fledged settings object into target
371
+ // with both ajaxSettings and settings fields.
372
+ // If target is omitted, writes into ajaxSettings.
373
+ ajaxSetup: function( target, settings ) {
374
+ return settings ?
375
+
376
+ // Building a settings object
377
+ ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :
378
+
379
+ // Extending ajaxSettings
380
+ ajaxExtend( jQuery.ajaxSettings, target );
381
+ },
382
+
383
+ ajaxPrefilter: addToPrefiltersOrTransports( prefilters ),
384
+ ajaxTransport: addToPrefiltersOrTransports( transports ),
385
+
386
+ // Main method
387
+ ajax: function( url, options ) {
388
+
389
+ // If url is an object, simulate pre-1.5 signature
390
+ if ( typeof url === "object" ) {
391
+ options = url;
392
+ url = undefined;
393
+ }
394
+
395
+ // Force options to be an object
396
+ options = options || {};
397
+
398
+ var transport,
399
+
400
+ // URL without anti-cache param
401
+ cacheURL,
402
+
403
+ // Response headers
404
+ responseHeadersString,
405
+ responseHeaders,
406
+
407
+ // timeout handle
408
+ timeoutTimer,
409
+
410
+ // Url cleanup var
411
+ urlAnchor,
412
+
413
+ // Request state (becomes false upon send and true upon completion)
414
+ completed,
415
+
416
+ // To know if global events are to be dispatched
417
+ fireGlobals,
418
+
419
+ // Loop variable
420
+ i,
421
+
422
+ // uncached part of the url
423
+ uncached,
424
+
425
+ // Create the final options object
426
+ s = jQuery.ajaxSetup( {}, options ),
427
+
428
+ // Callbacks context
429
+ callbackContext = s.context || s,
430
+
431
+ // Context for global events is callbackContext if it is a DOM node or jQuery collection
432
+ globalEventContext = s.context &&
433
+ ( callbackContext.nodeType || callbackContext.jquery ) ?
434
+ jQuery( callbackContext ) :
435
+ jQuery.event,
436
+
437
+ // Deferreds
438
+ deferred = jQuery.Deferred(),
439
+ completeDeferred = jQuery.Callbacks( "once memory" ),
440
+
441
+ // Status-dependent callbacks
442
+ statusCode = s.statusCode || {},
443
+
444
+ // Headers (they are sent all at once)
445
+ requestHeaders = {},
446
+ requestHeadersNames = {},
447
+
448
+ // Default abort message
449
+ strAbort = "canceled",
450
+
451
+ // Fake xhr
452
+ jqXHR = {
453
+ readyState: 0,
454
+
455
+ // Builds headers hashtable if needed
456
+ getResponseHeader: function( key ) {
457
+ var match;
458
+ if ( completed ) {
459
+ if ( !responseHeaders ) {
460
+ responseHeaders = {};
461
+ while ( ( match = rheaders.exec( responseHeadersString ) ) ) {
462
+ responseHeaders[ match[ 1 ].toLowerCase() + " " ] =
463
+ ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] )
464
+ .concat( match[ 2 ] );
465
+ }
466
+ }
467
+ match = responseHeaders[ key.toLowerCase() + " " ];
468
+ }
469
+ return match == null ? null : match.join( ", " );
470
+ },
471
+
472
+ // Raw string
473
+ getAllResponseHeaders: function() {
474
+ return completed ? responseHeadersString : null;
475
+ },
476
+
477
+ // Caches the header
478
+ setRequestHeader: function( name, value ) {
479
+ if ( completed == null ) {
480
+ name = requestHeadersNames[ name.toLowerCase() ] =
481
+ requestHeadersNames[ name.toLowerCase() ] || name;
482
+ requestHeaders[ name ] = value;
483
+ }
484
+ return this;
485
+ },
486
+
487
+ // Overrides response content-type header
488
+ overrideMimeType: function( type ) {
489
+ if ( completed == null ) {
490
+ s.mimeType = type;
491
+ }
492
+ return this;
493
+ },
494
+
495
+ // Status-dependent callbacks
496
+ statusCode: function( map ) {
497
+ var code;
498
+ if ( map ) {
499
+ if ( completed ) {
500
+
501
+ // Execute the appropriate callbacks
502
+ jqXHR.always( map[ jqXHR.status ] );
503
+ } else {
504
+
505
+ // Lazy-add the new callbacks in a way that preserves old ones
506
+ for ( code in map ) {
507
+ statusCode[ code ] = [ statusCode[ code ], map[ code ] ];
508
+ }
509
+ }
510
+ }
511
+ return this;
512
+ },
513
+
514
+ // Cancel the request
515
+ abort: function( statusText ) {
516
+ var finalText = statusText || strAbort;
517
+ if ( transport ) {
518
+ transport.abort( finalText );
519
+ }
520
+ done( 0, finalText );
521
+ return this;
522
+ }
523
+ };
524
+
525
+ // Attach deferreds
526
+ deferred.promise( jqXHR );
527
+
528
+ // Add protocol if not provided (prefilters might expect it)
529
+ // Handle falsy url in the settings object (#10093: consistency with old signature)
530
+ // We also use the url parameter if available
531
+ s.url = ( ( url || s.url || location.href ) + "" )
532
+ .replace( rprotocol, location.protocol + "//" );
533
+
534
+ // Alias method option to type as per ticket #12004
535
+ s.type = options.method || options.type || s.method || s.type;
536
+
537
+ // Extract dataTypes list
538
+ s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ];
539
+
540
+ // A cross-domain request is in order when the origin doesn't match the current origin.
541
+ if ( s.crossDomain == null ) {
542
+ urlAnchor = document.createElement( "a" );
543
+
544
+ // Support: IE <=8 - 11, Edge 12 - 15
545
+ // IE throws exception on accessing the href property if url is malformed,
546
+ // e.g. http://example.com:80x/
547
+ try {
548
+ urlAnchor.href = s.url;
549
+
550
+ // Support: IE <=8 - 11 only
551
+ // Anchor's host property isn't correctly set when s.url is relative
552
+ urlAnchor.href = urlAnchor.href;
553
+ s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !==
554
+ urlAnchor.protocol + "//" + urlAnchor.host;
555
+ } catch ( e ) {
556
+
557
+ // If there is an error parsing the URL, assume it is crossDomain,
558
+ // it can be rejected by the transport if it is invalid
559
+ s.crossDomain = true;
560
+ }
561
+ }
562
+
563
+ // Convert data if not already a string
564
+ if ( s.data && s.processData && typeof s.data !== "string" ) {
565
+ s.data = jQuery.param( s.data, s.traditional );
566
+ }
567
+
568
+ // Apply prefilters
569
+ inspectPrefiltersOrTransports( prefilters, s, options, jqXHR );
570
+
571
+ // If request was aborted inside a prefilter, stop there
572
+ if ( completed ) {
573
+ return jqXHR;
574
+ }
575
+
576
+ // We can fire global events as of now if asked to
577
+ // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118)
578
+ fireGlobals = jQuery.event && s.global;
579
+
580
+ // Watch for a new set of requests
581
+ if ( fireGlobals && jQuery.active++ === 0 ) {
582
+ jQuery.event.trigger( "ajaxStart" );
583
+ }
584
+
585
+ // Uppercase the type
586
+ s.type = s.type.toUpperCase();
587
+
588
+ // Determine if request has content
589
+ s.hasContent = !rnoContent.test( s.type );
590
+
591
+ // Save the URL in case we're toying with the If-Modified-Since
592
+ // and/or If-None-Match header later on
593
+ // Remove hash to simplify url manipulation
594
+ cacheURL = s.url.replace( rhash, "" );
595
+
596
+ // More options handling for requests with no content
597
+ if ( !s.hasContent ) {
598
+
599
+ // Remember the hash so we can put it back
600
+ uncached = s.url.slice( cacheURL.length );
601
+
602
+ // If data is available and should be processed, append data to url
603
+ if ( s.data && ( s.processData || typeof s.data === "string" ) ) {
604
+ cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data;
605
+
606
+ // #9682: remove data so that it's not used in an eventual retry
607
+ delete s.data;
608
+ }
609
+
610
+ // Add or update anti-cache param if needed
611
+ if ( s.cache === false ) {
612
+ cacheURL = cacheURL.replace( rantiCache, "$1" );
613
+ uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) +
614
+ uncached;
615
+ }
616
+
617
+ // Put hash and anti-cache on the URL that will be requested (gh-1732)
618
+ s.url = cacheURL + uncached;
619
+
620
+ // Change '%20' to '+' if this is encoded form body content (gh-2658)
621
+ } else if ( s.data && s.processData &&
622
+ ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) {
623
+ s.data = s.data.replace( r20, "+" );
624
+ }
625
+
626
+ // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
627
+ if ( s.ifModified ) {
628
+ if ( jQuery.lastModified[ cacheURL ] ) {
629
+ jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] );
630
+ }
631
+ if ( jQuery.etag[ cacheURL ] ) {
632
+ jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] );
633
+ }
634
+ }
635
+
636
+ // Set the correct header, if data is being sent
637
+ if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {
638
+ jqXHR.setRequestHeader( "Content-Type", s.contentType );
639
+ }
640
+
641
+ // Set the Accepts header for the server, depending on the dataType
642
+ jqXHR.setRequestHeader(
643
+ "Accept",
644
+ s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ?
645
+ s.accepts[ s.dataTypes[ 0 ] ] +
646
+ ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) :
647
+ s.accepts[ "*" ]
648
+ );
649
+
650
+ // Check for headers option
651
+ for ( i in s.headers ) {
652
+ jqXHR.setRequestHeader( i, s.headers[ i ] );
653
+ }
654
+
655
+ // Allow custom headers/mimetypes and early abort
656
+ if ( s.beforeSend &&
657
+ ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) {
658
+
659
+ // Abort if not done already and return
660
+ return jqXHR.abort();
661
+ }
662
+
663
+ // Aborting is no longer a cancellation
664
+ strAbort = "abort";
665
+
666
+ // Install callbacks on deferreds
667
+ completeDeferred.add( s.complete );
668
+ jqXHR.done( s.success );
669
+ jqXHR.fail( s.error );
670
+
671
+ // Get transport
672
+ transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );
673
+
674
+ // If no transport, we auto-abort
675
+ if ( !transport ) {
676
+ done( -1, "No Transport" );
677
+ } else {
678
+ jqXHR.readyState = 1;
679
+
680
+ // Send global event
681
+ if ( fireGlobals ) {
682
+ globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] );
683
+ }
684
+
685
+ // If request was aborted inside ajaxSend, stop there
686
+ if ( completed ) {
687
+ return jqXHR;
688
+ }
689
+
690
+ // Timeout
691
+ if ( s.async && s.timeout > 0 ) {
692
+ timeoutTimer = window.setTimeout( function() {
693
+ jqXHR.abort( "timeout" );
694
+ }, s.timeout );
695
+ }
696
+
697
+ try {
698
+ completed = false;
699
+ transport.send( requestHeaders, done );
700
+ } catch ( e ) {
701
+
702
+ // Rethrow post-completion exceptions
703
+ if ( completed ) {
704
+ throw e;
705
+ }
706
+
707
+ // Propagate others as results
708
+ done( -1, e );
709
+ }
710
+ }
711
+
712
+ // Callback for when everything is done
713
+ function done( status, nativeStatusText, responses, headers ) {
714
+ var isSuccess, success, error, response, modified,
715
+ statusText = nativeStatusText;
716
+
717
+ // Ignore repeat invocations
718
+ if ( completed ) {
719
+ return;
720
+ }
721
+
722
+ completed = true;
723
+
724
+ // Clear timeout if it exists
725
+ if ( timeoutTimer ) {
726
+ window.clearTimeout( timeoutTimer );
727
+ }
728
+
729
+ // Dereference transport for early garbage collection
730
+ // (no matter how long the jqXHR object will be used)
731
+ transport = undefined;
732
+
733
+ // Cache response headers
734
+ responseHeadersString = headers || "";
735
+
736
+ // Set readyState
737
+ jqXHR.readyState = status > 0 ? 4 : 0;
738
+
739
+ // Determine if successful
740
+ isSuccess = status >= 200 && status < 300 || status === 304;
741
+
742
+ // Get response data
743
+ if ( responses ) {
744
+ response = ajaxHandleResponses( s, jqXHR, responses );
745
+ }
746
+
747
+ // Use a noop converter for missing script
748
+ if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 ) {
749
+ s.converters[ "text script" ] = function() {};
750
+ }
751
+
752
+ // Convert no matter what (that way responseXXX fields are always set)
753
+ response = ajaxConvert( s, response, jqXHR, isSuccess );
754
+
755
+ // If successful, handle type chaining
756
+ if ( isSuccess ) {
757
+
758
+ // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
759
+ if ( s.ifModified ) {
760
+ modified = jqXHR.getResponseHeader( "Last-Modified" );
761
+ if ( modified ) {
762
+ jQuery.lastModified[ cacheURL ] = modified;
763
+ }
764
+ modified = jqXHR.getResponseHeader( "etag" );
765
+ if ( modified ) {
766
+ jQuery.etag[ cacheURL ] = modified;
767
+ }
768
+ }
769
+
770
+ // if no content
771
+ if ( status === 204 || s.type === "HEAD" ) {
772
+ statusText = "nocontent";
773
+
774
+ // if not modified
775
+ } else if ( status === 304 ) {
776
+ statusText = "notmodified";
777
+
778
+ // If we have data, let's convert it
779
+ } else {
780
+ statusText = response.state;
781
+ success = response.data;
782
+ error = response.error;
783
+ isSuccess = !error;
784
+ }
785
+ } else {
786
+
787
+ // Extract error from statusText and normalize for non-aborts
788
+ error = statusText;
789
+ if ( status || !statusText ) {
790
+ statusText = "error";
791
+ if ( status < 0 ) {
792
+ status = 0;
793
+ }
794
+ }
795
+ }
796
+
797
+ // Set data for the fake xhr object
798
+ jqXHR.status = status;
799
+ jqXHR.statusText = ( nativeStatusText || statusText ) + "";
800
+
801
+ // Success/Error
802
+ if ( isSuccess ) {
803
+ deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );
804
+ } else {
805
+ deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );
806
+ }
807
+
808
+ // Status-dependent callbacks
809
+ jqXHR.statusCode( statusCode );
810
+ statusCode = undefined;
811
+
812
+ if ( fireGlobals ) {
813
+ globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError",
814
+ [ jqXHR, s, isSuccess ? success : error ] );
815
+ }
816
+
817
+ // Complete
818
+ completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );
819
+
820
+ if ( fireGlobals ) {
821
+ globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] );
822
+
823
+ // Handle the global AJAX counter
824
+ if ( !( --jQuery.active ) ) {
825
+ jQuery.event.trigger( "ajaxStop" );
826
+ }
827
+ }
828
+ }
829
+
830
+ return jqXHR;
831
+ },
832
+
833
+ getJSON: function( url, data, callback ) {
834
+ return jQuery.get( url, data, callback, "json" );
835
+ },
836
+
837
+ getScript: function( url, callback ) {
838
+ return jQuery.get( url, undefined, callback, "script" );
839
+ }
840
+ } );
841
+
842
+ jQuery.each( [ "get", "post" ], function( _i, method ) {
843
+ jQuery[ method ] = function( url, data, callback, type ) {
844
+
845
+ // Shift arguments if data argument was omitted
846
+ if ( isFunction( data ) ) {
847
+ type = type || callback;
848
+ callback = data;
849
+ data = undefined;
850
+ }
851
+
852
+ // The url can be an options object (which then must have .url)
853
+ return jQuery.ajax( jQuery.extend( {
854
+ url: url,
855
+ type: method,
856
+ dataType: type,
857
+ data: data,
858
+ success: callback
859
+ }, jQuery.isPlainObject( url ) && url ) );
860
+ };
861
+ } );
862
+
863
+ jQuery.ajaxPrefilter( function( s ) {
864
+ var i;
865
+ for ( i in s.headers ) {
866
+ if ( i.toLowerCase() === "content-type" ) {
867
+ s.contentType = s.headers[ i ] || "";
868
+ }
869
+ }
870
+ } );
871
+
872
+ return jQuery;
873
+ } );