cordova-admob-tomitank 1.1.5 → 1.1.6
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.
- package/esm/app-open.d.ts +1 -11
- package/esm/app-open.js +0 -8
- package/esm/app-open.js.map +1 -1
- package/lib/app-open.d.ts +1 -11
- package/lib/app-open.js +0 -8
- package/lib/app-open.js.map +1 -1
- package/package.json +1 -1
- package/plugin.xml +1 -1
- package/src/android/cordova/ads/AppOpen.java +1 -5
- package/src/www/app-open.ts +1 -9
- package/www/admob.js +107 -110
package/esm/app-open.d.ts
CHANGED
|
@@ -1,17 +1,7 @@
|
|
|
1
1
|
import { MobileAd, MobileAdOptions } from './shared';
|
|
2
|
-
|
|
3
|
-
Portrait = 1,
|
|
4
|
-
PortraitUpsideDown = 2,
|
|
5
|
-
LandscapeRight = 3,
|
|
6
|
-
LandscapeLeft = 4
|
|
7
|
-
}
|
|
8
|
-
export default class AppOpenAd extends MobileAd<MobileAdOptions & {
|
|
9
|
-
orientation: AppOpenAdOrientation;
|
|
10
|
-
}> {
|
|
2
|
+
export default class AppOpenAd extends MobileAd<MobileAdOptions> {
|
|
11
3
|
static cls: string;
|
|
12
|
-
static readonly Orientation: typeof AppOpenAdOrientation;
|
|
13
4
|
isLoaded(): Promise<boolean>;
|
|
14
5
|
load(): Promise<void>;
|
|
15
6
|
show(): Promise<boolean>;
|
|
16
7
|
}
|
|
17
|
-
export {};
|
package/esm/app-open.js
CHANGED
|
@@ -50,13 +50,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
import { MobileAd } from './shared';
|
|
53
|
-
var AppOpenAdOrientation;
|
|
54
|
-
(function (AppOpenAdOrientation) {
|
|
55
|
-
AppOpenAdOrientation[AppOpenAdOrientation["Portrait"] = 1] = "Portrait";
|
|
56
|
-
AppOpenAdOrientation[AppOpenAdOrientation["PortraitUpsideDown"] = 2] = "PortraitUpsideDown";
|
|
57
|
-
AppOpenAdOrientation[AppOpenAdOrientation["LandscapeRight"] = 3] = "LandscapeRight";
|
|
58
|
-
AppOpenAdOrientation[AppOpenAdOrientation["LandscapeLeft"] = 4] = "LandscapeLeft";
|
|
59
|
-
})(AppOpenAdOrientation || (AppOpenAdOrientation = {}));
|
|
60
53
|
var AppOpenAd = /** @class */ (function (_super) {
|
|
61
54
|
__extends(AppOpenAd, _super);
|
|
62
55
|
function AppOpenAd() {
|
|
@@ -76,7 +69,6 @@ var AppOpenAd = /** @class */ (function (_super) {
|
|
|
76
69
|
});
|
|
77
70
|
};
|
|
78
71
|
AppOpenAd.cls = 'AppOpenAd';
|
|
79
|
-
AppOpenAd.Orientation = AppOpenAdOrientation;
|
|
80
72
|
return AppOpenAd;
|
|
81
73
|
}(MobileAd));
|
|
82
74
|
export default AppOpenAd;
|
package/esm/app-open.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-open.js","sourceRoot":"","sources":["../src/www/app-open.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAmB,MAAM,UAAU,CAAA;AAEpD
|
|
1
|
+
{"version":3,"file":"app-open.js","sourceRoot":"","sources":["../src/www/app-open.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAmB,MAAM,UAAU,CAAA;AAEpD;IAAuC,6BAEtC;IAFD;;IAgBA,CAAC;IAXQ,4BAAQ,GAAf;QACE,OAAO,iBAAM,QAAQ,WAAE,CAAA;IACzB,CAAC;IAEM,wBAAI,GAAX;QACE,OAAO,iBAAM,IAAI,WAAE,CAAA;IACrB,CAAC;IAEK,wBAAI,GAAV;;;gBACE,sBAAO,iBAAM,IAAI,WAAsB,EAAA;;;KACxC;IAZM,aAAG,GAAG,WAAW,CAAA;IAa1B,gBAAC;CAAA,AAhBD,CAAuC,QAAQ,GAgB9C;eAhBoB,SAAS"}
|
package/lib/app-open.d.ts
CHANGED
|
@@ -1,17 +1,7 @@
|
|
|
1
1
|
import { MobileAd, MobileAdOptions } from './shared';
|
|
2
|
-
|
|
3
|
-
Portrait = 1,
|
|
4
|
-
PortraitUpsideDown = 2,
|
|
5
|
-
LandscapeRight = 3,
|
|
6
|
-
LandscapeLeft = 4
|
|
7
|
-
}
|
|
8
|
-
export default class AppOpenAd extends MobileAd<MobileAdOptions & {
|
|
9
|
-
orientation: AppOpenAdOrientation;
|
|
10
|
-
}> {
|
|
2
|
+
export default class AppOpenAd extends MobileAd<MobileAdOptions> {
|
|
11
3
|
static cls: string;
|
|
12
|
-
static readonly Orientation: typeof AppOpenAdOrientation;
|
|
13
4
|
isLoaded(): Promise<boolean>;
|
|
14
5
|
load(): Promise<void>;
|
|
15
6
|
show(): Promise<boolean>;
|
|
16
7
|
}
|
|
17
|
-
export {};
|
package/lib/app-open.js
CHANGED
|
@@ -52,13 +52,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
52
52
|
};
|
|
53
53
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54
54
|
var shared_1 = require("./shared");
|
|
55
|
-
var AppOpenAdOrientation;
|
|
56
|
-
(function (AppOpenAdOrientation) {
|
|
57
|
-
AppOpenAdOrientation[AppOpenAdOrientation["Portrait"] = 1] = "Portrait";
|
|
58
|
-
AppOpenAdOrientation[AppOpenAdOrientation["PortraitUpsideDown"] = 2] = "PortraitUpsideDown";
|
|
59
|
-
AppOpenAdOrientation[AppOpenAdOrientation["LandscapeRight"] = 3] = "LandscapeRight";
|
|
60
|
-
AppOpenAdOrientation[AppOpenAdOrientation["LandscapeLeft"] = 4] = "LandscapeLeft";
|
|
61
|
-
})(AppOpenAdOrientation || (AppOpenAdOrientation = {}));
|
|
62
55
|
var AppOpenAd = /** @class */ (function (_super) {
|
|
63
56
|
__extends(AppOpenAd, _super);
|
|
64
57
|
function AppOpenAd() {
|
|
@@ -78,7 +71,6 @@ var AppOpenAd = /** @class */ (function (_super) {
|
|
|
78
71
|
});
|
|
79
72
|
};
|
|
80
73
|
AppOpenAd.cls = 'AppOpenAd';
|
|
81
|
-
AppOpenAd.Orientation = AppOpenAdOrientation;
|
|
82
74
|
return AppOpenAd;
|
|
83
75
|
}(shared_1.MobileAd));
|
|
84
76
|
exports.default = AppOpenAd;
|
package/lib/app-open.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-open.js","sourceRoot":"","sources":["../src/www/app-open.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAoD;AAEpD
|
|
1
|
+
{"version":3,"file":"app-open.js","sourceRoot":"","sources":["../src/www/app-open.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAoD;AAEpD;IAAuC,6BAEtC;IAFD;;IAgBA,CAAC;IAXQ,4BAAQ,GAAf;QACE,OAAO,iBAAM,QAAQ,WAAE,CAAA;IACzB,CAAC;IAEM,wBAAI,GAAX;QACE,OAAO,iBAAM,IAAI,WAAE,CAAA;IACrB,CAAC;IAEK,wBAAI,GAAV;;;gBACE,sBAAO,iBAAM,IAAI,WAAsB,EAAA;;;KACxC;IAZM,aAAG,GAAG,WAAW,CAAA;IAa1B,gBAAC;CAAA,AAhBD,CAAuC,iBAAQ,GAgB9C;kBAhBoB,SAAS"}
|
package/package.json
CHANGED
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<plugin id="cordova-admob-tomitank" version="1.1.
|
|
2
|
+
<plugin id="cordova-admob-tomitank" version="1.1.6"
|
|
3
3
|
xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|
4
4
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
5
5
|
<name>cordova-admob-tomitank</name>
|
|
@@ -12,16 +12,12 @@ import admob.plus.core.Context;
|
|
|
12
12
|
|
|
13
13
|
public class AppOpen extends AdBase {
|
|
14
14
|
private final AdRequest mAdRequest;
|
|
15
|
-
private final int mOrientation;
|
|
16
15
|
private AppOpenAd mAd = null;
|
|
17
16
|
|
|
18
17
|
public AppOpen(ExecuteContext ctx) {
|
|
19
18
|
super(ctx);
|
|
20
19
|
|
|
21
20
|
mAdRequest = ctx.optAdRequest();
|
|
22
|
-
|
|
23
|
-
Integer o = ctx.optInt("orientation");
|
|
24
|
-
mOrientation = o == null || o == 1 || o == 2 ? AppOpenAd.APP_OPEN_AD_ORIENTATION_PORTRAIT : AppOpenAd.APP_OPEN_AD_ORIENTATION_LANDSCAPE;
|
|
25
21
|
}
|
|
26
22
|
|
|
27
23
|
@Override
|
|
@@ -38,7 +34,7 @@ public class AppOpen extends AdBase {
|
|
|
38
34
|
AppOpenAd.load(getActivity(),
|
|
39
35
|
adUnitId,
|
|
40
36
|
mAdRequest,
|
|
41
|
-
|
|
37
|
+
new AppOpenAd.AppOpenAdLoadCallback() {
|
|
42
38
|
@Override
|
|
43
39
|
public void onAdLoaded(AppOpenAd ad) {
|
|
44
40
|
mAd = ad;
|
package/src/www/app-open.ts
CHANGED
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
import { MobileAd, MobileAdOptions } from './shared'
|
|
2
2
|
|
|
3
|
-
enum AppOpenAdOrientation {
|
|
4
|
-
Portrait = 1,
|
|
5
|
-
PortraitUpsideDown = 2,
|
|
6
|
-
LandscapeRight = 3,
|
|
7
|
-
LandscapeLeft = 4,
|
|
8
|
-
}
|
|
9
|
-
|
|
10
3
|
export default class AppOpenAd extends MobileAd<
|
|
11
|
-
MobileAdOptions
|
|
4
|
+
MobileAdOptions
|
|
12
5
|
> {
|
|
13
6
|
static cls = 'AppOpenAd'
|
|
14
|
-
static readonly Orientation = AppOpenAdOrientation
|
|
15
7
|
|
|
16
8
|
public isLoaded() {
|
|
17
9
|
return super.isLoaded()
|
package/www/admob.js
CHANGED
|
@@ -7,117 +7,122 @@ var exec = require('cordova/exec');
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
9
9
|
function _interopNamespace(e) {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
});
|
|
20
|
-
}
|
|
10
|
+
if (e && e.__esModule) return e;
|
|
11
|
+
var n = Object.create(null);
|
|
12
|
+
if (e) {
|
|
13
|
+
Object.keys(e).forEach(function (k) {
|
|
14
|
+
if (k !== 'default') {
|
|
15
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return e[k]; }
|
|
21
19
|
});
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n["default"] = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
var cordova__namespace = /*#__PURE__*/_interopNamespace(cordova$1);
|
|
28
28
|
var channel__default = /*#__PURE__*/_interopDefaultLegacy(channel);
|
|
29
29
|
var exec__default = /*#__PURE__*/_interopDefaultLegacy(exec);
|
|
30
30
|
|
|
31
|
-
/******************************************************************************
|
|
32
|
-
Copyright (c) Microsoft Corporation.
|
|
33
|
-
|
|
34
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
35
|
-
purpose with or without fee is hereby granted.
|
|
36
|
-
|
|
37
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
38
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
39
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
40
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
41
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
42
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
43
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
44
|
-
***************************************************************************** */
|
|
45
|
-
/* global Reflect, Promise */
|
|
46
|
-
|
|
47
|
-
var extendStatics = function(d, b) {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
function __extends(d, b) {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
var __assign = function() {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
function __generator(thisArg, body) {
|
|
84
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
85
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
86
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
87
|
-
function step(op) {
|
|
88
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
89
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
90
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
91
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
92
|
-
switch (op[0]) {
|
|
93
|
-
case 0: case 1: t = op; break;
|
|
94
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
95
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
96
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
97
|
-
default:
|
|
98
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
99
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
100
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
101
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
102
|
-
if (t[2]) _.ops.pop();
|
|
103
|
-
_.trys.pop(); continue;
|
|
104
|
-
}
|
|
105
|
-
op = body.call(thisArg, _);
|
|
106
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
107
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
function __spreadArray(to, from, pack) {
|
|
112
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
113
|
-
if (ar || !(i in from)) {
|
|
114
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
115
|
-
ar[i] = from[i];
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
31
|
+
/******************************************************************************
|
|
32
|
+
Copyright (c) Microsoft Corporation.
|
|
33
|
+
|
|
34
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
35
|
+
purpose with or without fee is hereby granted.
|
|
36
|
+
|
|
37
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
38
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
39
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
40
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
41
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
42
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
43
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
44
|
+
***************************************************************************** */
|
|
45
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
46
|
+
|
|
47
|
+
var extendStatics = function(d, b) {
|
|
48
|
+
extendStatics = Object.setPrototypeOf ||
|
|
49
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
50
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
51
|
+
return extendStatics(d, b);
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
function __extends(d, b) {
|
|
55
|
+
if (typeof b !== "function" && b !== null)
|
|
56
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
57
|
+
extendStatics(d, b);
|
|
58
|
+
function __() { this.constructor = d; }
|
|
59
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
var __assign = function() {
|
|
63
|
+
__assign = Object.assign || function __assign(t) {
|
|
64
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
65
|
+
s = arguments[i];
|
|
66
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
67
|
+
}
|
|
68
|
+
return t;
|
|
69
|
+
};
|
|
70
|
+
return __assign.apply(this, arguments);
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
74
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
75
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
76
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
77
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
78
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
79
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
80
|
+
});
|
|
119
81
|
}
|
|
120
82
|
|
|
83
|
+
function __generator(thisArg, body) {
|
|
84
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
85
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
86
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
87
|
+
function step(op) {
|
|
88
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
89
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
90
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
91
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
92
|
+
switch (op[0]) {
|
|
93
|
+
case 0: case 1: t = op; break;
|
|
94
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
95
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
96
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
97
|
+
default:
|
|
98
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
99
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
100
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
101
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
102
|
+
if (t[2]) _.ops.pop();
|
|
103
|
+
_.trys.pop(); continue;
|
|
104
|
+
}
|
|
105
|
+
op = body.call(thisArg, _);
|
|
106
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
107
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
function __spreadArray(to, from, pack) {
|
|
112
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
113
|
+
if (ar || !(i in from)) {
|
|
114
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
115
|
+
ar[i] = from[i];
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
122
|
+
var e = new Error(message);
|
|
123
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
124
|
+
};
|
|
125
|
+
|
|
121
126
|
// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
122
127
|
var NativeActions;
|
|
123
128
|
(function (NativeActions) {
|
|
@@ -364,13 +369,6 @@ var TrackingAuthorizationStatus;
|
|
|
364
369
|
TrackingAuthorizationStatus[TrackingAuthorizationStatus["authorized"] = 3] = "authorized";
|
|
365
370
|
})(TrackingAuthorizationStatus || (TrackingAuthorizationStatus = {}));
|
|
366
371
|
|
|
367
|
-
var AppOpenAdOrientation;
|
|
368
|
-
(function (AppOpenAdOrientation) {
|
|
369
|
-
AppOpenAdOrientation[AppOpenAdOrientation["Portrait"] = 1] = "Portrait";
|
|
370
|
-
AppOpenAdOrientation[AppOpenAdOrientation["PortraitUpsideDown"] = 2] = "PortraitUpsideDown";
|
|
371
|
-
AppOpenAdOrientation[AppOpenAdOrientation["LandscapeRight"] = 3] = "LandscapeRight";
|
|
372
|
-
AppOpenAdOrientation[AppOpenAdOrientation["LandscapeLeft"] = 4] = "LandscapeLeft";
|
|
373
|
-
})(AppOpenAdOrientation || (AppOpenAdOrientation = {}));
|
|
374
372
|
var AppOpenAd = /** @class */ (function (_super) {
|
|
375
373
|
__extends(AppOpenAd, _super);
|
|
376
374
|
function AppOpenAd() {
|
|
@@ -390,7 +388,6 @@ var AppOpenAd = /** @class */ (function (_super) {
|
|
|
390
388
|
});
|
|
391
389
|
};
|
|
392
390
|
AppOpenAd.cls = 'AppOpenAd';
|
|
393
|
-
AppOpenAd.Orientation = AppOpenAdOrientation;
|
|
394
391
|
return AppOpenAd;
|
|
395
392
|
}(MobileAd));
|
|
396
393
|
|