@bingads-webui-campaign/facebook-import-page 0.0.1-security → 15.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of @bingads-webui-campaign/facebook-import-page might be problematic. Click here for more details.

Files changed (127) hide show
  1. package/AUTHORS.txt +337 -0
  2. package/LICENSE.txt +20 -0
  3. package/README.md +58 -3
  4. package/bower.json +14 -0
  5. package/dist/jquery.js +10997 -0
  6. package/dist/jquery.min.js +2 -0
  7. package/dist/jquery.min.map +1 -0
  8. package/dist/jquery.slim.js +8894 -0
  9. package/dist/jquery.slim.min.js +2 -0
  10. package/dist/jquery.slim.min.map +1 -0
  11. package/external/sizzle/LICENSE.txt +36 -0
  12. package/external/sizzle/dist/sizzle.js +2542 -0
  13. package/external/sizzle/dist/sizzle.min.js +3 -0
  14. package/external/sizzle/dist/sizzle.min.map +1 -0
  15. package/package.json +143 -3
  16. package/register-client.js +12 -0
  17. package/src/ajax/jsonp.js +103 -0
  18. package/src/ajax/load.js +77 -0
  19. package/src/ajax/script.js +74 -0
  20. package/src/ajax/var/location.js +5 -0
  21. package/src/ajax/var/nonce.js +5 -0
  22. package/src/ajax/var/rquery.js +5 -0
  23. package/src/ajax/xhr.js +170 -0
  24. package/src/ajax.js +876 -0
  25. package/src/attributes/attr.js +141 -0
  26. package/src/attributes/classes.js +184 -0
  27. package/src/attributes/prop.js +142 -0
  28. package/src/attributes/support.js +33 -0
  29. package/src/attributes/val.js +191 -0
  30. package/src/attributes.js +13 -0
  31. package/src/callbacks.js +236 -0
  32. package/src/core/DOMEval.js +43 -0
  33. package/src/core/access.js +72 -0
  34. package/src/core/camelCase.js +23 -0
  35. package/src/core/init.js +129 -0
  36. package/src/core/isAttached.js +26 -0
  37. package/src/core/nodeName.js +13 -0
  38. package/src/core/parseHTML.js +65 -0
  39. package/src/core/parseXML.js +35 -0
  40. package/src/core/ready-no-deferred.js +97 -0
  41. package/src/core/ready.js +86 -0
  42. package/src/core/readyException.js +13 -0
  43. package/src/core/stripAndCollapse.js +14 -0
  44. package/src/core/support.js +20 -0
  45. package/src/core/toType.js +20 -0
  46. package/src/core/var/rsingleTag.js +7 -0
  47. package/src/core.js +400 -0
  48. package/src/css/addGetHookIf.js +26 -0
  49. package/src/css/adjustCSS.js +74 -0
  50. package/src/css/curCSS.js +100 -0
  51. package/src/css/finalPropName.js +42 -0
  52. package/src/css/hiddenVisibleSelectors.js +15 -0
  53. package/src/css/showHide.js +105 -0
  54. package/src/css/support.js +152 -0
  55. package/src/css/var/cssExpand.js +5 -0
  56. package/src/css/var/getStyles.js +17 -0
  57. package/src/css/var/isHiddenWithinTree.js +34 -0
  58. package/src/css/var/rboxStyle.js +7 -0
  59. package/src/css/var/rcustomProp.js +7 -0
  60. package/src/css/var/rnumnonpx.js +7 -0
  61. package/src/css/var/swap.js +26 -0
  62. package/src/css.js +495 -0
  63. package/src/data/Data.js +162 -0
  64. package/src/data/var/acceptData.js +19 -0
  65. package/src/data/var/dataPriv.js +7 -0
  66. package/src/data/var/dataUser.js +7 -0
  67. package/src/data.js +180 -0
  68. package/src/deferred/exceptionHook.js +21 -0
  69. package/src/deferred.js +399 -0
  70. package/src/deprecated/ajax-event-alias.js +22 -0
  71. package/src/deprecated/event.js +50 -0
  72. package/src/deprecated.js +89 -0
  73. package/src/dimensions.js +60 -0
  74. package/src/effects/Tween.js +125 -0
  75. package/src/effects/animatedSelector.js +15 -0
  76. package/src/effects.js +702 -0
  77. package/src/event/focusin.js +58 -0
  78. package/src/event/support.js +11 -0
  79. package/src/event/trigger.js +199 -0
  80. package/src/event.js +874 -0
  81. package/src/exports/amd.js +26 -0
  82. package/src/exports/global.js +34 -0
  83. package/src/jquery.js +41 -0
  84. package/src/manipulation/_evalUrl.js +32 -0
  85. package/src/manipulation/buildFragment.js +106 -0
  86. package/src/manipulation/getAll.js +32 -0
  87. package/src/manipulation/setGlobalEval.js +22 -0
  88. package/src/manipulation/support.js +41 -0
  89. package/src/manipulation/var/rscriptType.js +5 -0
  90. package/src/manipulation/var/rtagName.js +8 -0
  91. package/src/manipulation/wrapMap.js +30 -0
  92. package/src/manipulation.js +487 -0
  93. package/src/offset.js +232 -0
  94. package/src/queue/delay.js +23 -0
  95. package/src/queue.js +145 -0
  96. package/src/selector-native.js +240 -0
  97. package/src/selector-sizzle.js +19 -0
  98. package/src/selector.js +3 -0
  99. package/src/serialize.js +134 -0
  100. package/src/traversing/findFilter.js +97 -0
  101. package/src/traversing/var/dir.js +22 -0
  102. package/src/traversing/var/rneedsContext.js +8 -0
  103. package/src/traversing/var/siblings.js +17 -0
  104. package/src/traversing.js +198 -0
  105. package/src/var/ObjectFunctionString.js +7 -0
  106. package/src/var/arr.js +5 -0
  107. package/src/var/class2type.js +6 -0
  108. package/src/var/document.js +5 -0
  109. package/src/var/documentElement.js +7 -0
  110. package/src/var/flat.js +16 -0
  111. package/src/var/fnToString.js +7 -0
  112. package/src/var/getProto.js +5 -0
  113. package/src/var/hasOwn.js +7 -0
  114. package/src/var/indexOf.js +7 -0
  115. package/src/var/isFunction.js +17 -0
  116. package/src/var/isWindow.js +8 -0
  117. package/src/var/pnum.js +5 -0
  118. package/src/var/push.js +7 -0
  119. package/src/var/rcheckableType.js +5 -0
  120. package/src/var/rcssNum.js +9 -0
  121. package/src/var/rnothtmlwhite.js +8 -0
  122. package/src/var/rtrimCSS.js +12 -0
  123. package/src/var/slice.js +7 -0
  124. package/src/var/support.js +6 -0
  125. package/src/var/toString.js +7 -0
  126. package/src/var/whitespace.js +8 -0
  127. package/src/wrap.js +78 -0
@@ -0,0 +1,170 @@
1
+ define( [
2
+ "../core",
3
+ "../var/support",
4
+ "../ajax"
5
+ ], function( jQuery, support ) {
6
+
7
+ "use strict";
8
+
9
+ jQuery.ajaxSettings.xhr = function() {
10
+ try {
11
+ return new window.XMLHttpRequest();
12
+ } catch ( e ) {}
13
+ };
14
+
15
+ var xhrSuccessStatus = {
16
+
17
+ // File protocol always yields status code 0, assume 200
18
+ 0: 200,
19
+
20
+ // Support: IE <=9 only
21
+ // trac-1450: sometimes IE returns 1223 when it should be 204
22
+ 1223: 204
23
+ },
24
+ xhrSupported = jQuery.ajaxSettings.xhr();
25
+
26
+ support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported );
27
+ support.ajax = xhrSupported = !!xhrSupported;
28
+
29
+ jQuery.ajaxTransport( function( options ) {
30
+ var callback, errorCallback;
31
+
32
+ // Cross domain only allowed if supported through XMLHttpRequest
33
+ if ( support.cors || xhrSupported && !options.crossDomain ) {
34
+ return {
35
+ send: function( headers, complete ) {
36
+ var i,
37
+ xhr = options.xhr();
38
+
39
+ xhr.open(
40
+ options.type,
41
+ options.url,
42
+ options.async,
43
+ options.username,
44
+ options.password
45
+ );
46
+
47
+ // Apply custom fields if provided
48
+ if ( options.xhrFields ) {
49
+ for ( i in options.xhrFields ) {
50
+ xhr[ i ] = options.xhrFields[ i ];
51
+ }
52
+ }
53
+
54
+ // Override mime type if needed
55
+ if ( options.mimeType && xhr.overrideMimeType ) {
56
+ xhr.overrideMimeType( options.mimeType );
57
+ }
58
+
59
+ // X-Requested-With header
60
+ // For cross-domain requests, seeing as conditions for a preflight are
61
+ // akin to a jigsaw puzzle, we simply never set it to be sure.
62
+ // (it can always be set on a per-request basis or even using ajaxSetup)
63
+ // For same-domain requests, won't change header if already provided.
64
+ if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) {
65
+ headers[ "X-Requested-With" ] = "XMLHttpRequest";
66
+ }
67
+
68
+ // Set headers
69
+ for ( i in headers ) {
70
+ xhr.setRequestHeader( i, headers[ i ] );
71
+ }
72
+
73
+ // Callback
74
+ callback = function( type ) {
75
+ return function() {
76
+ if ( callback ) {
77
+ callback = errorCallback = xhr.onload =
78
+ xhr.onerror = xhr.onabort = xhr.ontimeout =
79
+ xhr.onreadystatechange = null;
80
+
81
+ if ( type === "abort" ) {
82
+ xhr.abort();
83
+ } else if ( type === "error" ) {
84
+
85
+ // Support: IE <=9 only
86
+ // On a manual native abort, IE9 throws
87
+ // errors on any property access that is not readyState
88
+ if ( typeof xhr.status !== "number" ) {
89
+ complete( 0, "error" );
90
+ } else {
91
+ complete(
92
+
93
+ // File: protocol always yields status 0; see trac-8605, trac-14207
94
+ xhr.status,
95
+ xhr.statusText
96
+ );
97
+ }
98
+ } else {
99
+ complete(
100
+ xhrSuccessStatus[ xhr.status ] || xhr.status,
101
+ xhr.statusText,
102
+
103
+ // Support: IE <=9 only
104
+ // IE9 has no XHR2 but throws on binary (trac-11426)
105
+ // For XHR2 non-text, let the caller handle it (gh-2498)
106
+ ( xhr.responseType || "text" ) !== "text" ||
107
+ typeof xhr.responseText !== "string" ?
108
+ { binary: xhr.response } :
109
+ { text: xhr.responseText },
110
+ xhr.getAllResponseHeaders()
111
+ );
112
+ }
113
+ }
114
+ };
115
+ };
116
+
117
+ // Listen to events
118
+ xhr.onload = callback();
119
+ errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" );
120
+
121
+ // Support: IE 9 only
122
+ // Use onreadystatechange to replace onabort
123
+ // to handle uncaught aborts
124
+ if ( xhr.onabort !== undefined ) {
125
+ xhr.onabort = errorCallback;
126
+ } else {
127
+ xhr.onreadystatechange = function() {
128
+
129
+ // Check readyState before timeout as it changes
130
+ if ( xhr.readyState === 4 ) {
131
+
132
+ // Allow onerror to be called first,
133
+ // but that will not handle a native abort
134
+ // Also, save errorCallback to a variable
135
+ // as xhr.onerror cannot be accessed
136
+ window.setTimeout( function() {
137
+ if ( callback ) {
138
+ errorCallback();
139
+ }
140
+ } );
141
+ }
142
+ };
143
+ }
144
+
145
+ // Create the abort callback
146
+ callback = callback( "abort" );
147
+
148
+ try {
149
+
150
+ // Do send the request (this may raise an exception)
151
+ xhr.send( options.hasContent && options.data || null );
152
+ } catch ( e ) {
153
+
154
+ // trac-14683: Only rethrow if this hasn't been notified as an error yet
155
+ if ( callback ) {
156
+ throw e;
157
+ }
158
+ }
159
+ },
160
+
161
+ abort: function() {
162
+ if ( callback ) {
163
+ callback();
164
+ }
165
+ }
166
+ };
167
+ }
168
+ } );
169
+
170
+ } );