@clickview/exchange 0.6.0 → 0.6.1-rc.1
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/dist/bundles.json +2 -2
- package/dist/css/{182-exchange-1c18ab2cb1.chunk.css → 161-exchange-3275e77ae2.chunk.css} +5 -5
- package/dist/css/{685-exchange-ffaef03b21.chunk.css → 201-exchange-f6ae71cd8d.chunk.css} +1 -1
- package/dist/css/{188-exchange-6298ee9306.chunk.css → 298-exchange-3ce95604bd.chunk.css} +5 -3
- package/dist/css/332-exchange-fdaa59be0d.chunk.css +1 -0
- package/dist/css/414-exchange-06944bdfa4.chunk.css +1 -0
- package/dist/css/497-exchange-74522bc90f.chunk.css +1 -0
- package/dist/css/{483-exchange-5f8bdbb204.chunk.css → 849-exchange-cbc9ec089a.chunk.css} +4 -4
- package/dist/css/88-exchange-06944bdfa4.chunk.css +1 -0
- package/dist/css/{714-exchange-698f813f5d.chunk.css → 979-exchange-d6abbca6aa.chunk.css} +4 -3
- package/dist/css/{lite-exchange-0f6b3a570f.css → lite-exchange-f0327e6d18.css} +1 -1
- package/dist/languages/en.json +1 -1
- package/dist/scripts/127-b7cb3f14d0-exchange.chunk.js +1 -0
- package/dist/scripts/13-4ce45b663d-exchange.chunk.js +1 -0
- package/dist/scripts/161-75a412c807-exchange.chunk.js +2 -0
- package/dist/scripts/164-2714683c23-exchange.chunk.js +1 -0
- package/dist/scripts/184-db1e7ad30e-exchange.chunk.js +1 -0
- package/dist/scripts/201-71fdd432c4-exchange.chunk.js +1 -0
- package/dist/scripts/24-269b2a1125-exchange.chunk.js +2 -0
- package/dist/scripts/251-4ceb3e66f0-exchange.chunk.js +2 -0
- package/dist/scripts/267-36aff08c81-exchange.chunk.js +2 -0
- package/dist/scripts/298-239f33e930-exchange.chunk.js +1 -0
- package/dist/scripts/302-8566b265fe-exchange.chunk.js +1 -0
- package/dist/scripts/332-eb2ecb017b-exchange.chunk.js +1 -0
- package/dist/scripts/414-7380478889-exchange.chunk.js +1 -0
- package/dist/scripts/439-96e2163416-exchange.chunk.js +1 -0
- package/dist/scripts/473-319061691e-exchange.chunk.js +1 -0
- package/dist/scripts/{767-118cb66d9b-exchange.chunk.js → 483-725a6f3673-exchange.chunk.js} +1 -1
- package/dist/scripts/497-1c8040ff87-exchange.chunk.js +2 -0
- package/dist/scripts/548-d46a06dc5b-exchange.chunk.js +1 -0
- package/dist/scripts/611-ae7424b4fc-exchange.chunk.js +2 -0
- package/dist/scripts/612-a9c3934a56-exchange.chunk.js +2 -0
- package/dist/scripts/619-62aef79034-exchange.chunk.js +1 -0
- package/dist/scripts/{662-35c1ea2e75-exchange.chunk.js → 662-4c6515008a-exchange.chunk.js} +1 -1
- package/dist/scripts/665-337f92e06f-exchange.chunk.js +1 -0
- package/dist/scripts/743-a8fa9e6242-exchange.chunk.js +1 -0
- package/dist/scripts/806-fe6606399f-exchange.chunk.js +1 -0
- package/dist/scripts/838-a7e8025324-exchange.chunk.js +1 -0
- package/dist/scripts/849-baf2ced8fe-exchange.chunk.js +1 -0
- package/dist/scripts/851-7ef2cec184-exchange.chunk.js +2 -0
- package/dist/scripts/851-7ef2cec184-exchange.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/854-916583e51d-exchange.chunk.js +1 -0
- package/dist/scripts/88-039ec23087-exchange.chunk.js +1 -0
- package/dist/scripts/892-d51809d6a1-exchange.chunk.js +1 -0
- package/dist/scripts/954-7526e9ac72-exchange.chunk.js +1 -0
- package/dist/scripts/979-946e23bb8b-exchange.chunk.js +1 -0
- package/dist/scripts/bundle-d8944e3731.min.js +2 -0
- package/dist/scripts/{bundle-e9af010cc2.min.js.LICENSE.txt → bundle-d8944e3731.min.js.LICENSE.txt} +0 -27
- package/package.json +1 -1
- package/dist/css/597-exchange-51d0aeb91f.chunk.css +0 -1
- package/dist/scripts/127-a02c16a3ce-exchange.chunk.js +0 -1
- package/dist/scripts/182-8f99c81521-exchange.chunk.js +0 -2
- package/dist/scripts/184-55c9b1db1c-exchange.chunk.js +0 -1
- package/dist/scripts/188-ac3c689241-exchange.chunk.js +0 -1
- package/dist/scripts/251-44fb1b6a6e-exchange.chunk.js +0 -2
- package/dist/scripts/267-ae65eefb31-exchange.chunk.js +0 -2
- package/dist/scripts/302-52d0699136-exchange.chunk.js +0 -1
- package/dist/scripts/473-dbd5cbe78a-exchange.chunk.js +0 -1
- package/dist/scripts/483-5538dce77e-exchange.chunk.js +0 -1
- package/dist/scripts/597-e117c009c7-exchange.chunk.js +0 -1
- package/dist/scripts/611-59f762c45a-exchange.chunk.js +0 -2
- package/dist/scripts/612-060c7d8ca0-exchange.chunk.js +0 -2
- package/dist/scripts/619-9489ac37ab-exchange.chunk.js +0 -1
- package/dist/scripts/665-aaa4446541-exchange.chunk.js +0 -1
- package/dist/scripts/685-e3f5488647-exchange.chunk.js +0 -1
- package/dist/scripts/714-dfb7726806-exchange.chunk.js +0 -1
- package/dist/scripts/720-266ffacf06-exchange.chunk.js +0 -2
- package/dist/scripts/725-26597e4860-exchange.chunk.js +0 -1
- package/dist/scripts/743-7e792f4d78-exchange.chunk.js +0 -1
- package/dist/scripts/806-139d0dd36c-exchange.chunk.js +0 -1
- package/dist/scripts/83-dab89bffb9-exchange.chunk.js +0 -1
- package/dist/scripts/851-3f1545a7db-exchange.chunk.js +0 -2
- package/dist/scripts/854-2207c19c54-exchange.chunk.js +0 -1
- package/dist/scripts/873-9dcb9c6b2b-exchange.chunk.js +0 -1
- package/dist/scripts/892-e1682ef0fe-exchange.chunk.js +0 -1
- package/dist/scripts/905-ac99292437-exchange.chunk.js +0 -1
- package/dist/scripts/954-91b51d24fe-exchange.chunk.js +0 -1
- package/dist/scripts/974-3e9555301f-exchange.chunk.js +0 -1
- package/dist/scripts/bundle-e9af010cc2.min.js +0 -2
- /package/dist/css/{974-exchange-39ccbc5ba7.chunk.css → 13-exchange-39ccbc5ba7.chunk.css} +0 -0
- /package/dist/css/{720-exchange-74522bc90f.chunk.css → 24-exchange-74522bc90f.chunk.css} +0 -0
- /package/dist/css/{767-exchange-d0ce3b8799.chunk.css → 483-exchange-d0ce3b8799.chunk.css} +0 -0
- /package/dist/scripts/{182-8f99c81521-exchange.chunk.js.LICENSE.txt → 161-75a412c807-exchange.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{173-1639d5de2c-exchange.chunk.js → 173-a27741eddf-exchange.chunk.js} +0 -0
- /package/dist/scripts/{267-ae65eefb31-exchange.chunk.js.LICENSE.txt → 24-269b2a1125-exchange.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{251-44fb1b6a6e-exchange.chunk.js.LICENSE.txt → 251-4ceb3e66f0-exchange.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{254-107559c204-exchange.chunk.js → 254-f6a65ea25f-exchange.chunk.js} +0 -0
- /package/dist/scripts/{611-59f762c45a-exchange.chunk.js.LICENSE.txt → 267-36aff08c81-exchange.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{351-8fefc38a10-exchange.chunk.js → 351-b7512a656c-exchange.chunk.js} +0 -0
- /package/dist/scripts/{612-060c7d8ca0-exchange.chunk.js.LICENSE.txt → 497-1c8040ff87-exchange.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{601-aff1bcfd0d-exchange.chunk.js → 601-74c38c24fd-exchange.chunk.js} +0 -0
- /package/dist/scripts/{720-266ffacf06-exchange.chunk.js.LICENSE.txt → 611-ae7424b4fc-exchange.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{851-3f1545a7db-exchange.chunk.js.LICENSE.txt → 612-a9c3934a56-exchange.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{656-ccdd6fe1cc-exchange.chunk.js → 656-088c654c27-exchange.chunk.js} +0 -0
- /package/dist/scripts/{682-e1497f28af-exchange.chunk.js → 682-75c5919756-exchange.chunk.js} +0 -0
- /package/dist/scripts/{877-91d6f8c78d-exchange.chunk.js → 877-fe5a8062dd-exchange.chunk.js} +0 -0
- /package/dist/scripts/{925-23ba2ed9d5-exchange.chunk.js → 925-5b677259ce-exchange.chunk.js} +0 -0
package/dist/scripts/{bundle-e9af010cc2.min.js.LICENSE.txt → bundle-d8944e3731.min.js.LICENSE.txt}
RENAMED
|
@@ -131,33 +131,6 @@
|
|
|
131
131
|
* LICENSE file in the root directory of this source tree.
|
|
132
132
|
*/
|
|
133
133
|
|
|
134
|
-
/**!
|
|
135
|
-
|
|
136
|
-
@license
|
|
137
|
-
handlebars v4.4.3
|
|
138
|
-
|
|
139
|
-
Copyright (C) 2011-2017 by Yehuda Katz
|
|
140
|
-
|
|
141
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
142
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
143
|
-
in the Software without restriction, including without limitation the rights
|
|
144
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
145
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
146
|
-
furnished to do so, subject to the following conditions:
|
|
147
|
-
|
|
148
|
-
The above copyright notice and this permission notice shall be included in
|
|
149
|
-
all copies or substantial portions of the Software.
|
|
150
|
-
|
|
151
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
152
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
153
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
154
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
155
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
156
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
157
|
-
THE SOFTWARE.
|
|
158
|
-
|
|
159
|
-
*/
|
|
160
|
-
|
|
161
134
|
/**!
|
|
162
135
|
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
|
163
136
|
* @version 1.16.1
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._AsIj{padding:.5rem .5rem .5rem .75rem}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_clickview_exchange=self.webpackChunk_clickview_exchange||[]).push([[127],{69834:(e,t,r)=>{r.d(t,{r:()=>j});var n=r(50242),o=r(81886),a=r(67058),i=r(23481),u=r(64364);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==c(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n.key),"symbol"===c(o)?o:String(o)),n)}var o}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var p="shared.privateResourceError",d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(u,e);var t,r,n,o,a=(n=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f(n);if(o){var r=f(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function u(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),a.call(this,i.T.getPhrase(p,"title"))}return t=u,(r=[{key:"name",get:function(){return"PrivateResourceError"}},{key:"heading",get:function(){return i.T.getPhrase(p,"heading")}},{key:"description",get:function(){return i.T.getPhrase(p,"description")}}])&&s(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),u}(u.H);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==y(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n.key),"symbol"===y(o)?o:String(o)),n)}var o}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var g="shared.regionLockedResourceError",h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}(u,e);var t,r,n,o,a=(n=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(n);if(o){var r=m(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===y(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function u(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),a.call(this,i.T.getPhrase(g,"title"))}return t=u,(r=[{key:"name",get:function(){return"RegionLockedResourceError"}},{key:"heading",get:function(){return i.T.getPhrase(g,"heading")}},{key:"description",get:function(){return i.T.getPhrase(g,"description")}}])&&v(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),u}(u.H),O=r(49075),w={notFound:a.d,forbidden:{rating:d,yearLevel:d,region:h,privacy:d},badRequest:O._};function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e){var a;a="number"==typeof e?e:e.status;var i=Object.assign(Object.assign({},w),t);a&&o.Q.ErrorHelper.isStatusCodeError(a)&&(a!==n.o.NotFound?a!==n.o.Forbidden?r.badRequest||o.Q.ErrorHelper.throw(new i.badRequest):r.forbidden||o.Q.ErrorHelper.throw(new i.forbidden.privacy):r.notFound||o.Q.ErrorHelper.throw(new i.notFound))}}},91286:(e,t,r)=>{r.d(t,{v:()=>i});var n=r(32735),o=r(69834);function a(e){return e.map((function(e){return e.statusCode})).join(":")}function i(e,t,r){var i=Array.isArray(e)?e:[e];(0,n.useEffect)((function(){i.forEach((function(e){(0,o.r)(e.statusCode,t,r)}))}),[a(i),t,r])}},5353:(e,t,r)=>{r.d(t,{i:()=>f});var n,o=r(99940),a=r(97395),i=r(110);!function(e){e[e.AllResults=0]="AllResults",e[e.Subtitles=1]="Subtitles",e[e.TitleAndDescription=2]="TitleAndDescription"}(n||(n={}));var u=r(55812);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e){return Object.entries(e).reduce((function(e,t){var r,n,o=(n=2,function(e){if(Array.isArray(e))return e}(r=t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,u=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return u}}(r,n)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],i=o[1];return e[a.charAt(0).toLowerCase()+a.slice(1)]=i,e}),{})}function l(e){return e?Array.isArray(e)?function(e){return e.map(s)}(e):s(e):null}var f={regions:function(){return{url:"/api/tv/api/v2/regions",key:"tv:regions",normalize:!1,formatData:l}},region:function(e){return{url:"/api/tv/api/v2/regions/".concat(e),key:"tv:region:".concat(e),normalize:!1,formatData:l}},dateRange:function(e){return{url:"/api/tv/api/v2/regions/".concat(e,"/daterange"),key:"tv:region:".concat(e,":daterange"),normalize:!1,formatData:l}},channels:function(e){return{url:a._.urlBuilder("/api/tv/api/v2/channels",{region:e}),key:"tv:channels:".concat(e),normalize:!1,formatData:function(e){return l(e).sort((function(e,t){return e.sortOrder-t.sortOrder}))}}},programsByChannel:function(e,t,r,n){return{url:a._.urlBuilder("/api/tv/api/v3/regions/".concat(e,"/channels/programs"),{channel:t,startDate:r,endDate:n}),key:["tv:programs:by:channel",e,t,r,n].join(":"),normalize:!1,formatData:l}},programsByLetter:function(e,t,r,n){return{url:a._.urlBuilder("/api/tv/api/v2/Programs",{regionCode:e,startsWith:t,startDate:r,endDate:n}),key:["tv:programs:by:letter",e,t,r,n].join(":"),normalize:!1,formatData:l}},program:function(e){return{url:"/api/tv/api/v3/programs/".concat(e),key:"tv:programs:".concat(e),normalize:!1,formatData:l}},search:function(e,t,r){var o=t.query,i=t.dateBroadcast,c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(t,["query","dateBroadcast"]),s=r||1,f=c.filter||n.AllResults;return{url:a._.urlBuilder("/api/tv/api/v4/search",Object.assign(Object.assign(Object.assign({region:e,query:o,filter:f},u.a.getDateBroadcastParams(i)),c),{page:s,size:25})),key:["tv:search",o,e,Object.values(Object.assign({filter:f,dateBroadcast:i},c)).join(":"),s].join(":"),normalize:!1,formatData:function(e){var t=l(e);return t.results=l(e.Results),t.page=s,t}}},addFullVideo:function(e){return{url:"/api/tv/api/v2/workspace/video",key:"tv:add:full:video",normalize:!1,type:o.k.POST,data:e}},addAdFreeVideo:function(e){return{url:a._.urlBuilder("/api/tv/v4/programs/".concat(e.id,"/ad-free"),{customerId:e.customerId,userId:e.userId}),key:"tv:add:ad:free:video",normalize:!1,type:o.k.POST}},adFreeCredits:function(e,t){var r=new Date;r.setHours(0,0,0,0),r.setMinutes(r.getMinutes()+r.getTimezoneOffset());var n=i.O.add(r,1,"day");return{url:a._.urlBuilder("/api/tv/api/v1/user-requests",{username:e,region:t,from:i.O.convertUTCToLocal(r).toISOString(),to:i.O.convertUTCToLocal(n).toISOString()}),key:"tv:add:free:credits",normalize:!1,formatData:l}},createAdFreeRequest:function(e){return{url:a._.urlBuilder("/api/tv/v4/user-requests/ad-free",{userId:e.userId,customerId:e.customerId}),key:"tv:create:add:free:request",normalize:!1,type:o.k.POST,data:{programId:e.programId,regionCode:e.regionCode},invalidationKeys:["tv:add:free:credits"]}},workspaceVideo:function(e,t,r){return{url:a._.urlBuilder("/api/tv/v4/workspace/programs/".concat(e),{userId:t,customerId:r}),key:"tv:workspace:video:".concat(e),formatData:l}},requestProgram:function(e){return{url:"/api/tv/v1/pay-tv/user-requests",key:"tv:request:program",type:o.k.POST,data:e}}}},55812:(e,t,r)=>{r.d(t,{a:()=>o});var n=r(110),o={getFormattedDateRange:function(e,t){return"".concat(n.O.format(e,"D MMMM yyyy")," - ").concat(n.O.format(t,"D MMMM yyyy"))},getDateBroadcastParams:function(e){var t=function(e){return n.O.format(e,"YYYY-MM-DD")},r=t(new Date);switch(e){case"yesterday":return{from:t(n.O.subtract(r,1,"day")),to:r};case"last-week":return{from:t(n.O.subtract(r,7,"days")),to:r};case"last-2-weeks":return{from:t(n.O.subtract(r,14,"days")),to:r}}}}},82127:(e,t,r)=>{r.r(t),r.d(t,{TvHomeView:()=>l});var n=r(32735),o=r(81886),a=r(20354),i=r(91286),u=r(73818),c=r(82329),s=r(5353);function l(){var e=a.a.useBasicFetch(s.i.regions());return(0,i.v)(e),n.useEffect((function(){var t;(null===(t=e.data)||void 0===t?void 0:t.length)&&o.Q.AppLinkHelper.trigger({application:c.O.TV,action:u.e.Tv.CHANNELS,args:[e.data[0].code]},{replace:!0})}),[e.data]),n.createElement(n.Fragment,null)}}}]);
|