fansunited-management-components 1.60.0-RC1 → 1.60.0-RC2

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/index.es.js CHANGED
@@ -11732,15 +11732,17 @@ class OA extends wA {
11732
11732
  signal: AbortSignal.timeout(6e5)
11733
11733
  });
11734
11734
  }));
11735
- Q(this, "getWidgetConfigurations", () => k(this, null, function* () {
11736
- const n = `/clients/${this.clientId}/config/widgets?`, r = { key: this.apiKey };
11737
- return yield fetch(this.clientApiBaseUrl + n + new URLSearchParams(r), {
11735
+ Q(this, "getWidgetConfigurations", (n) => k(this, null, function* () {
11736
+ const r = `/clients/${this.clientId}/config/widgets?`;
11737
+ let i = { key: this.apiKey };
11738
+ return n && (i.disable_cache = Date.now().toString()), yield fetch(this.clientApiBaseUrl + r + new URLSearchParams(i), {
11738
11739
  headers: this.headers
11739
11740
  });
11740
11741
  }));
11741
- Q(this, "getWidgetConfigurationById", (n) => k(this, null, function* () {
11742
- const r = `/clients/${this.clientId}/config/widgets/${n}?`, i = { key: this.apiKey };
11743
- return yield fetch(this.clientApiBaseUrl + r + new URLSearchParams(i), {
11742
+ Q(this, "getWidgetConfigurationById", (n, r) => k(this, null, function* () {
11743
+ const i = `/clients/${this.clientId}/config/widgets/${n}?`;
11744
+ let o = { key: this.apiKey };
11745
+ return r && (o.disable_cache = Date.now().toString()), yield fetch(this.clientApiBaseUrl + i + new URLSearchParams(o), {
11744
11746
  headers: this.headers
11745
11747
  });
11746
11748
  }));
package/index.umd.js CHANGED
@@ -2322,7 +2322,7 @@
2322
2322
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2323
2323
  * See the License for the specific language governing permissions and
2324
2324
  * limitations under the License.
2325
- */const MS="auth-compat";function BS(e){e.INTERNAL.registerComponent(new Jn(MS,t=>{const n=t.getProvider("app-compat").getImmediate(),r=t.getProvider("auth");return new Gl(n,r)},"PUBLIC").setServiceProps({ActionCodeInfo:{Operation:{EMAIL_SIGNIN:Ur.EMAIL_SIGNIN,PASSWORD_RESET:Ur.PASSWORD_RESET,RECOVER_EMAIL:Ur.RECOVER_EMAIL,REVERT_SECOND_FACTOR_ADDITION:Ur.REVERT_SECOND_FACTOR_ADDITION,VERIFY_AND_CHANGE_EMAIL:Ur.VERIFY_AND_CHANGE_EMAIL,VERIFY_EMAIL:Ur.VERIFY_EMAIL}},EmailAuthProvider:rr,FacebookAuthProvider:Sn,GithubAuthProvider:An,GoogleAuthProvider:In,OAuthProvider:qr,SAMLAuthProvider:ta,PhoneAuthProvider:Yl,PhoneMultiFactorGenerator:zf,RecaptchaVerifier:LS,TwitterAuthProvider:Tn,Auth:Gl,AuthCredential:Yr,Error:Ut}).setInstantiationMode("LAZY").setMultipleInstances(!1)),e.registerVersion(gS,mS)}BS(tr);let eh=!1;const io=e=>{if(eh)return tr.auth();if(e&&e==="dev"){tr.initializeApp({apiKey:"api_key"});const n=Yw();wl(n,"http://localhost:39199")}else{const n={apiKey:e&&e==="staging"?"AIzaSyBKhAYwkvkmjm16FxCMvCUQjSRpKC0DbM8":"AIzaSyDPD_SETLswR_U3dKawYkAyRhbzVXziD_4",authDomain:"fans-united-clients.firebaseapp.com",projectId:"fans-united-clients",messagingSenderId:"78627953958",appId:"1:78627953958:web:2ee87d5b274e0e7685f5e7",measurementId:"G-RH90B03KJG"};tr.initializeApp(n)}return eh=!0,tr.auth()},$S=e=>e==="dev"?"http://localhost:8070/v1":e==="staging"?"https://client.fansunitedstagingapi.com/v1":e==="watg"?"https://client.watg.fansunitedapi.com/v1":e==="yolo"?"https://client.yolo.fansunitedapi.com/v1":e==="cska"?"https://client.cska.fansunitedapi.com/v1":"https://client.fansunitedapi.com/v1";class FS{constructor(t,n){J(this,"apiKey","");J(this,"clientId","");J(this,"environment","");J(this,"mainQueryParams",{key:"",client_id:""});J(this,"headers",{"Content-Type":"application/json"});J(this,"clientApiBaseUrl","");J(this,"sportal365ImagesSearchURL","https://content.api.sportal365.com/v2/images/search?");J(this,"sportal365Config",null);J(this,"generateSignedInUrl",t=>_(this,null,function*(){const n=`/clients/${this.clientId}/generate-signed-url?`,r={key:this.apiKey},i=yield this.getToken();return yield fetch(this.clientApiBaseUrl+n+new URLSearchParams(r),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(t)})}));J(this,"storeInBucket",(t,n,r)=>_(this,null,function*(){const i=yield fetch(t,{headers:r,method:"PUT",body:n});if(i.ok)return this.constructAssetsUrl(n.name);const o=yield i.text();this.throwErrorFromXmlResponse(o)}));J(this,"fetchImagesFromSportal365",(t,n,r)=>_(this,null,function*(){if(this.sportal365Config){const i={Project:this.sportal365Config.project,Authorization:this.sportal365Config.authorization};let o={query:t,page:r.toString()};return n&&(n.from&&(o=Q(R({},o),{from:n.from})),n.to&&(o=Q(R({},o),{to:n.to}))),yield fetch(this.sportal365ImagesSearchURL+new URLSearchParams(o),{headers:i})}}));J(this,"getSchedulersByEntityId",t=>_(this,null,function*(){const n=`/clients/${this.clientId}/scheduler/tasks?`,r={key:this.apiKey,limit:"50",entity_id:t},i=yield this.getToken();return yield fetch(this.clientApiBaseUrl+n+new URLSearchParams(r),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"setSchedulers",(t,n,r)=>_(this,null,function*(){let i="",o="";n==="CREATE"?(i=`/clients/${this.clientId}/scheduler/tasks?`,o="POST"):(i=`/clients/${this.clientId}/scheduler/tasks/${r}?`,o="PUT");const a={key:this.apiKey},l=yield this.getToken();return yield fetch(this.clientApiBaseUrl+i+new URLSearchParams(a),{headers:Q(R({},this.headers),{Authorization:"Bearer "+l}),body:JSON.stringify(t),method:o})}));J(this,"deleteScheduledTask",t=>_(this,null,function*(){const n=`/clients/${this.clientId}/scheduler/tasks/${t}?`,r={key:this.apiKey},i=yield this.getToken();return yield fetch(this.clientApiBaseUrl+n+new URLSearchParams(r),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"DELETE"})}));J(this,"getLoggedInStaffMember",()=>_(this,null,function*(){const r=(yield this.getToken()).split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),i=decodeURIComponent(window.atob(r).split("").map(function(o){return"%"+("00"+o.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(i)}));J(this,"constructAssetsUrl",t=>this.environment==="dev"?`https://storage.googleapis.com/client_images_cms_fans-united-dev/${this.clientId}/${t}`:this.environment==="staging"?`https://storage.googleapis.com/client_images_cms_fans-united-stage/${this.clientId}/${t}`:`https://uploads.fansunitedassets.com/${this.clientId}/${t}`);J(this,"throwErrorFromXmlResponse",t=>{const n=new window.DOMParser().parseFromString(t,"text/xml"),r=n.getElementsByTagName("Message")&&n.getElementsByTagName("Code").length>0?n.getElementsByTagName("Message")[0].textContent:"",i=n.getElementsByTagName("Details")&&n.getElementsByTagName("Code").length>0?n.getElementsByTagName("Details")[0].textContent:"";throw new Error(r+" "+i)});J(this,"getToken",()=>_(this,null,function*(){const t=io(this.environment).currentUser;return t?yield t.getIdToken():""}));this.apiKey=t.apiKey,this.clientId=t.clientId,this.environment=t.environment,this.mainQueryParams={key:t.apiKey,client_id:t.clientId},this.sportal365Config=n,this.clientApiBaseUrl=$S(this.environment)}}class NS{constructor(t){J(this,"baseUrl","https://v1.formula-1.api-sports.io");J(this,"apiKey");J(this,"headers");this.apiKey=t,this.headers={"X-RapidAPI-Key":this.apiKey,"Content-Type":"application/json"}}getRaces(t,n){return _(this,null,function*(){const r={season:t.toString(),type:(n==null?void 0:n.type)||"Race"};n&&Object.entries(n).forEach(([o,a])=>{a!=null&&(r[o]=a.toString())});const i=`${this.baseUrl}/races?${new URLSearchParams(r)}`;return yield fetch(i,{method:"GET",headers:this.headers})})}makeRequest(t,n){return _(this,null,function*(){let r=`${this.baseUrl}${t}`;return n&&Object.keys(n).length>0&&(r+=`?${new URLSearchParams(n)}`),yield fetch(r,{method:"GET",headers:this.headers})})}}const zS=e=>e==="dev"?"http://localhost:8060/v1":e==="staging"?"https://loyalty.fansunitedstagingapi.com/v1":e==="watg"?"https://loyalty.watg.fansunitedapi.com/v1":e==="yolo"?"https://loyalty.yolo.fansunitedapi.com/v1":e==="cska"?"https://loyalty.cska.fansunitedapi.com/v1":"https://loyalty.fansunitedapi.com/v1",jS=e=>e==="dev"?"http://localhost:8040/v1":e==="staging"?"https://prediction.fansunitedstagingapi.com/v1":e==="watg"?"https://prediction.watg.fansunitedapi.com/v1":e==="yolo"?"https://prediction.yolo.fansunitedapi.com/v1":e==="cska"?"https://prediction.cska.fansunitedapi.com/v1":"https://prediction.fansunitedapi.com/v1",US=e=>e==="dev"?"http://localhost:9040/v1":e==="staging"?"https://mini-games.fansunitedstagingapi.com/v1":e==="watg"?"https://mini-games.watg.fansunitedapi.com/v1":e==="yolo"?"https://mini-games.yolo.fansunitedapi.com/v1":e==="cska"?"https://mini-games.cska.fansunitedapi.com/v1":"https://mini-games.fansunitedapi.com/v1",VS=e=>e==="dev"?"http://localhost:8020/v1":e==="staging"?"https://reporting.fansunitedstagingapi.com/v1":e==="watg"?"https://reporting.watg.fansunitedapi.com/v1":e==="yolo"?"https://reporting.yolo.fansunitedapi.com/v1":e==="cska"?"https://reporting.cska.fansunitedapi.com/v1":"https://reporting.fansunitedapi.com/v1",HS=e=>e==="dev"?"http://localhost:9030/v1":e==="staging"?"https://voting.fansunitedstagingapi.com/v1":e==="watg"?"https://voting.watg.fansunitedapi.com/v1":e==="yolo"?"https://voting.yolo.fansunitedapi.com/v1":e==="cska"?"https://voting.cska.fansunitedapi.com/v1":"https://voting.fansunitedapi.com/v1",WS=e=>e==="staging"?"https://custom-games-resolver-131809830171.europe-west1.run.app/v1":e==="watg"?"https://custom-games-resolver-1045682138584.southamerica-east1.run.app/v1":e==="yolo"?"https://custom-games-resolver-1054597592566.europe-west1.run.app/v1":e==="cska"?"https://custom-games-resolver-414330847655.europe-west1.run.app/v1":"https://custom-games-resolver-150199313674.europe-west1.run.app/v1",GS=e=>e==="dev"?"http://localhost:8010/v1":e==="staging"?"https://profile.fansunitedstagingapi.com/v1":e==="watg"?"https://profile.watg.fansunitedapi.com/v1":e==="yolo"?"https://profile.yolo.fansunitedapi.com/v1":e==="cska"?"https://profile.cska.fansunitedapi.com/v1":"https://profile.fansunitedapi.com/v1",YS=e=>e==="dev"?"http://localhost:8010/v1":e==="staging"?"https://discussions.fansunitedstagingapi.com/v1":e==="watg"?"https://discussions.watg.fansunitedapi.com/v1":e==="yolo"?"https://discussions.yolo.fansunitedapi.com/v1":e==="cska"?"https://discussions.cska.fansunitedapi.com/v1":"https://discussions.fansunitedapi.com/v1",KS=e=>e==="dev"?"http://localhost:9050/v1":e==="staging"?"https://ai-content-builder-131809830171.europe-west1.run.app/v1":e==="yolo"||e==="cska"?"":"https://ai-content-builder-150199313674.europe-west1.run.app/v1";class qS extends FS{constructor(n,r){super(n,r);J(this,"loyaltyBaseUrl","");J(this,"predictionBaseUrl","");J(this,"miniGamesApiBaseUrl","");J(this,"reportingApiBaseUrl","");J(this,"votingApiBaseUrl","");J(this,"profileApiBaseUrl","");J(this,"customResolverUrl","");J(this,"discussionsApiBaseUrl","");J(this,"aiServiceBaseUrl","");J(this,"apiSports");J(this,"getClientById",()=>_(this,null,function*(){const n=`/clients/${this.clientId}?`,r={key:this.apiKey},i=yield this.getToken();return yield fetch(this.clientApiBaseUrl+n+new URLSearchParams(r),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"createTemplate",n=>_(this,null,function*(){const r="/leaderboard/templates?",i=yield this.getToken();return yield fetch(this.loyaltyBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"editTemplate",(n,r)=>_(this,null,function*(){const i=`/leaderboard/templates/${n}?`,o=yield this.getToken();return yield fetch(this.loyaltyBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(r)})}));J(this,"deleteTemplate",n=>_(this,null,function*(){const r=`/leaderboard/templates/${n}?`,i=yield this.getToken();return yield fetch(this.loyaltyBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"DELETE"})}));J(this,"setWinners",n=>_(this,null,function*(){const r="/winners?",i=yield this.getToken();return yield fetch(this.predictionBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"exportDetailedLeaderboard",(n,r,i)=>_(this,null,function*(){const o=`/leaderboard/${n}/detailed?`,a=yield this.getToken(),l=R({},this.mainQueryParams);return r&&(l.group_id=r),yield fetch(this.loyaltyBaseUrl+o+new URLSearchParams(Q(R({},l),{limit:i.toString()})),{headers:Q(R({},this.headers),{Authorization:"Bearer "+a})})}));J(this,"exportDetailedGameLeaderboard",(n,r)=>_(this,null,function*(){const i=`/leaderboard/games/${n}/detailed?`,o=yield this.getToken();return yield fetch(this.loyaltyBaseUrl+i+new URLSearchParams(Q(R({},this.mainQueryParams),{limit:r.toString()})),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o})})}));J(this,"createGame",n=>_(this,null,function*(){const r="/games?",i=yield this.getToken();return yield fetch(this.predictionBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"editGame",(n,r)=>_(this,null,function*(){const i=`/games/${n}?`,o=yield this.getToken();return yield fetch(this.predictionBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PATCH",body:JSON.stringify(r)})}));J(this,"getEntityFeature",(n,r)=>_(this,null,function*(){const i=`/clients/${this.clientId}/features/${n}?`,o={key:this.apiKey};return r&&(o.disable_cache=Date.now().toString()),yield fetch(this.clientApiBaseUrl+i+new URLSearchParams(o))}));J(this,"getClientFeatures",(n,r=1)=>_(this,null,function*(){const i=`/clients/${this.clientId}/features?`,o={key:this.apiKey};n&&(o.disable_cache=Date.now().toString());const a=Q(R({},this.headers),{"x-api-version":r.toString()});return yield fetch(this.clientApiBaseUrl+i+new URLSearchParams(o),{headers:a})}));J(this,"updateEntityFeatures",(n,r)=>_(this,null,function*(){const i=`/clients/${this.clientId}/features/${n}?`,o=yield this.getToken();return yield fetch(this.clientApiBaseUrl+i+new URLSearchParams({key:this.apiKey}),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PATCH",body:JSON.stringify(r)})}));J(this,"getClassicQuizFeature",()=>_(this,null,function*(){const n=`/clients/${this.clientId}/features/classic_quiz?`,r={key:this.apiKey};return yield fetch(this.clientApiBaseUrl+n+new URLSearchParams(r))}));J(this,"getEitherOrFeature",()=>_(this,null,function*(){const n=`/clients/${this.clientId}/features/either_or?`,r={key:this.apiKey};return yield fetch(this.clientApiBaseUrl+n+new URLSearchParams(r))}));J(this,"getPollFeature",()=>_(this,null,function*(){const n=`/clients/${this.clientId}/features/poll?`,r={key:this.apiKey};return yield fetch(this.clientApiBaseUrl+n+new URLSearchParams(r))}));J(this,"createClassicQuiz",n=>_(this,null,function*(){const r="/classic-quizzes?",i=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"updateClassicQuiz",(n,r)=>_(this,null,function*(){const i=`/classic-quizzes/${n}?`,o=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(r)})}));J(this,"getClassicQuizById",n=>_(this,null,function*(){const r=`/classic-quizzes/${n}/staff?`,i=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"deleteClassicQuiz",n=>_(this,null,function*(){const r=`/classic-quizzes/${n}?`,i=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"DELETE"})}));J(this,"calculateQuestionsReport",n=>_(this,null,function*(){const r=`/classic-quizzes/${n}/questions-report?`,i=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST"})}));J(this,"exportUsers",n=>_(this,null,function*(){const r="/exports/users?",i=yield this.getToken();return yield fetch(this.reportingApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"getClassicQuizParticipations",(n,r,i,o)=>_(this,null,function*(){const a="/classic-quizzes/participations?",l=Q(R({},this.mainQueryParams),{classic_quiz_ids:n,from_date:r,to_date:i,group_by:o}),c=yield this.getToken();return yield fetch(this.reportingApiBaseUrl+a+new URLSearchParams(l),{headers:Q(R({},this.headers),{Authorization:"Bearer "+c})})}));J(this,"getEntityParticipations",(n,r,i)=>_(this,null,function*(){const o=`/participations/${n}/breakdown?`,a=Q(R({},this.mainQueryParams),{from_date:r,to_date:i}),l=yield this.getToken();return yield fetch(this.reportingApiBaseUrl+o+new URLSearchParams(a),{headers:Q(R({},this.headers),{Authorization:"Bearer "+l})})}));J(this,"createPoll",n=>_(this,null,function*(){const r="/polls?",i=yield this.getToken();return yield fetch(this.votingApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"updatePoll",(n,r)=>_(this,null,function*(){const i=`/polls/${n}?`,o=yield this.getToken();return yield fetch(this.votingApiBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(r)})}));J(this,"deletePoll",n=>_(this,null,function*(){const r=`/polls/${n}?`,i=yield this.getToken();return yield fetch(this.votingApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"DELETE"})}));J(this,"getEitherOrById",(n,r)=>_(this,null,function*(){const i=`/either-or/${n}/staff?`,o=yield this.getToken();let a=null;return r&&(a=Q(R({},this.mainQueryParams),{client_id:r})),yield fetch(this.miniGamesApiBaseUrl+i+new URLSearchParams(a||this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o})})}));J(this,"getEitherOrByIdReadOnlyClient",(n,r,i)=>_(this,null,function*(){const o="https://mini-games.fansunitedapi.com/v1",a=`/either-or/${n}/staff?`,l=yield this.getToken(),c={key:r,client_id:i};return yield fetch(o+a+new URLSearchParams(c),{headers:Q(R({},this.headers),{Authorization:"Bearer "+l})})}));J(this,"createEitherOr",n=>_(this,null,function*(){const r="/either-or?",i=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"updateEitherOr",(n,r)=>_(this,null,function*(){const i=`/either-or/${n}?`,o=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(r)})}));J(this,"deleteEitherOr",n=>_(this,null,function*(){const r=`/either-or/${n}?`,i=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"DELETE"})}));J(this,"getLists",(n,r,i="DESC")=>_(this,null,function*(){const o=`/clients/${this.clientId}/lists?`,a={key:this.apiKey,limit:n.toString(),sort_order:i};r&&(a.start_after=r);const l=yield this.getToken();return yield fetch(this.clientApiBaseUrl+o+new URLSearchParams(a),{headers:Q(R({},this.headers),{Authorization:"Bearer "+l})})}));J(this,"getListById",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/lists/${n}?`,i={key:this.apiKey},o=yield this.getToken();return yield fetch(this.clientApiBaseUrl+r+new URLSearchParams(i),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o})})}));J(this,"getListContent",(n,r,i="DESC",o)=>_(this,null,function*(){const a=`/clients/${this.clientId}/lists/${n}/content?`,l={key:this.apiKey,limit:r.toString(),sort_order:i};o&&(l.page=o.toString());const c=yield this.getToken();return yield fetch(this.clientApiBaseUrl+a+new URLSearchParams(l),{headers:Q(R({},this.headers),{Authorization:"Bearer "+c})})}));J(this,"createList",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/lists/?`,i={key:this.apiKey},o=yield this.getToken();return yield fetch(this.clientApiBaseUrl+r+new URLSearchParams(i),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"POST",body:JSON.stringify(n)})}));J(this,"updateList",(n,r)=>_(this,null,function*(){const i=`/clients/${this.clientId}/lists/${n}?`,o={key:this.apiKey},a=yield this.getToken();return yield fetch(this.clientApiBaseUrl+i+new URLSearchParams(o),{headers:Q(R({},this.headers),{Authorization:"Bearer "+a}),method:"PUT",body:JSON.stringify(r)})}));J(this,"deleteList",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/lists/${n}?`,i={key:this.apiKey},o=yield this.getToken();return yield fetch(this.clientApiBaseUrl+r+new URLSearchParams(i),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"DELETE"})}));J(this,"getLanguageConfig",()=>_(this,null,function*(){const n=`/clients/${this.clientId}/config/language?`,r={key:this.apiKey},i=yield this.getToken();return yield fetch(this.clientApiBaseUrl+n+new URLSearchParams(r),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"updateLanguageConfig",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/config/language?`,i={key:this.apiKey},o=yield this.getToken();return yield fetch(this.clientApiBaseUrl+r+new URLSearchParams(i),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(n)})}));J(this,"createBracketGame",n=>_(this,null,function*(){const r="/custom/bracket?",i=yield this.getToken();return yield fetch(this.predictionBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"updateBracketGame",(n,r)=>_(this,null,function*(){const i=`/custom/bracket/${n}?`,o=yield this.getToken();return yield fetch(this.predictionBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(r)})}));J(this,"resolvePredictions",n=>_(this,null,function*(){const r="/custom/bracket/resolve?",o=yield this.getToken();return yield fetch(this.customResolverUrl+r+new URLSearchParams({client_id:this.clientId,game_id:n}),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),signal:AbortSignal.timeout(6e5)})}));J(this,"exportLeadsPerEntity",n=>_(this,null,function*(){const r="/leads/export?",i=Q(R({},this.mainQueryParams),{content_id:n}),o=yield this.getToken();return yield fetch(this.profileApiBaseUrl+r+new URLSearchParams(i),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o})})}));J(this,"getLeadStatistics",n=>_(this,null,function*(){const r="/leads/statistics?",i=yield this.getToken();let o=null;return n?o=new URLSearchParams(R(R({},this.mainQueryParams),n)):o=new URLSearchParams(this.mainQueryParams),yield fetch(this.profileApiBaseUrl+r+o,{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"exportLeads",n=>_(this,null,function*(){const r="/leads/export?",i=yield this.getToken();let o=null;return n?o=new URLSearchParams(R(R({},this.mainQueryParams),n)):o=new URLSearchParams(this.mainQueryParams),yield fetch(this.profileApiBaseUrl+r+o,{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"createStandingGame",n=>_(this,null,function*(){const r="/custom/standing?",i=yield this.getToken();return yield fetch(this.predictionBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"updateStandingGame",(n,r)=>_(this,null,function*(){const i=`/custom/standing/${n}?`,o=yield this.getToken();return yield fetch(this.predictionBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(r)})}));J(this,"resolveStandingPredictions",n=>_(this,null,function*(){const r="/custom/standing/resolve?",o=yield this.getToken();return yield fetch(this.customResolverUrl+r+new URLSearchParams({client_id:this.clientId,game_id:n}),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),signal:AbortSignal.timeout(6e5)})}));J(this,"moderateUserPosts",(n,r)=>_(this,null,function*(){const i="/moderation/bulk?",o=yield this.getToken(),a=Q(R({},this.mainQueryParams),{user_id:n,reason:r});return yield fetch(this.discussionsApiBaseUrl+i+new URLSearchParams(a),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"POST"})}));J(this,"getUserBanStatus",n=>_(this,null,function*(){const r=`/discussions/users/${n}/ban?`,i=yield this.getToken();return yield fetch(this.discussionsApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"banUser",(n,r,i)=>_(this,null,function*(){const o=`/discussions/users/${n}/ban?`,a=yield this.getToken(),l={banned_period_in_days:r,banned_reason:i};return yield fetch(this.discussionsApiBaseUrl+o+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+a}),method:"POST",body:JSON.stringify(l)})}));J(this,"unbanUser",(n,r)=>_(this,null,function*(){const i=`/discussions/users/${n}/ban?`,o=yield this.getToken(),a={unban_reason:r};return yield fetch(this.discussionsApiBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"DELETE",body:JSON.stringify(a)})}));J(this,"updateUser",(n,r,i)=>_(this,null,function*(){const o=`/profiles/${n}/verify?`,a=yield this.getToken(),l=r==="verify"?{verified:i}:{staff_member:i};return yield fetch(this.profileApiBaseUrl+o+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+a}),method:"POST",body:JSON.stringify(l)})}));J(this,"deleteUserProfile",n=>_(this,null,function*(){const r=`/profiles/${n}?`,i=yield this.getToken();return yield fetch(this.profileApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"DELETE"})}));J(this,"createDiscussion",n=>_(this,null,function*(){const r="/discussions?",i=yield this.getToken();return yield fetch(this.discussionsApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"deleteDiscussion",n=>_(this,null,function*(){const r=`/discussions/${n}?`,i=yield this.getToken();return yield fetch(this.discussionsApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"DELETE"})}));J(this,"moderatePosts",(...o)=>_(this,[...o],function*(n="",r=[],i){const a="/moderation/bulk?",l=yield this.getToken();let c={};if(r.length>0){const u=r.join(",");c=Q(R({},this.mainQueryParams),{post_ids:u,reason:i})}else c=Q(R({},this.mainQueryParams),{discussion_id:n,reason:i});return yield fetch(this.discussionsApiBaseUrl+a+new URLSearchParams(c),{headers:Q(R({},this.headers),{Authorization:"Bearer "+l}),method:"POST"})}));J(this,"pinDiscussionPosts",(n,r)=>_(this,null,function*(){const i=`/discussions/${n}/pins?`,o=yield this.getToken(),a=Q(R({},this.mainQueryParams),{pin_post_ids:r.join(",")});return yield fetch(this.discussionsApiBaseUrl+i+new URLSearchParams(a),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PATCH"})}));J(this,"unpinDiscussionPosts",(n,r)=>_(this,null,function*(){const i=`/discussions/${n}/pins?`,o=yield this.getToken(),a=Q(R({},this.mainQueryParams),{pin_post_ids:r.join(",")});return yield fetch(this.discussionsApiBaseUrl+i+new URLSearchParams(a),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"DELETE"})}));J(this,"getPostsByStaffMember",n=>_(this,null,function*(){const r="/posts/staff?",i=yield this.getToken();return yield fetch(this.discussionsApiBaseUrl+r+new URLSearchParams(R(R({},this.mainQueryParams),n)),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"getReportedPosts",n=>_(this,null,function*(){const r="/posts/staff/reported?",i=yield this.getToken();return yield fetch(this.discussionsApiBaseUrl+r+new URLSearchParams(R(R({},this.mainQueryParams),n)),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"updateDiscussionsFeature",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/features/discussions?`,i=yield this.getToken();return yield fetch(this.clientApiBaseUrl+r+new URLSearchParams({key:this.apiKey}),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"PATCH",body:JSON.stringify(n)})}));J(this,"updateProfilePreferences",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/features/profile_preferences?`,i=yield this.getToken();return yield fetch(this.clientApiBaseUrl+r+new URLSearchParams({key:this.apiKey}),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"PATCH",body:JSON.stringify(n)})}));J(this,"getClientBadges",()=>_(this,null,function*(){const n=`/clients/${this.clientId}/features/loyalty/badges?`,r={key:this.apiKey},i=yield this.getToken();return yield fetch(this.clientApiBaseUrl+n+new URLSearchParams(r),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"updateClientBadges",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/features/loyalty/badges?`,i=yield this.getToken();return yield fetch(this.clientApiBaseUrl+r+new URLSearchParams({key:this.apiKey}),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"PUT",body:JSON.stringify(n)})}));J(this,"getEngagementThroughPredictionsReport",(n,r,i)=>_(this,null,function*(){const o="/predictions/football/engagements?",a=Q(R({},this.mainQueryParams),{from_date:r,to_date:i,type:n}),l=yield this.getToken();return yield fetch(this.reportingApiBaseUrl+o+new URLSearchParams(a),{headers:Q(R({},this.headers),{Authorization:"Bearer "+l})})}));J(this,"createPersonalityQuiz",n=>_(this,null,function*(){const r="/personality-quizzes?",i=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"updatePersonalityQuiz",(n,r)=>_(this,null,function*(){const i=`/personality-quizzes/${n}?`,o=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(r)})}));J(this,"deletePersonalityQuiz",n=>_(this,null,function*(){const r=`/personality-quizzes/${n}?`,i=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"DELETE"})}));J(this,"generatePostMatchQuiz",n=>_(this,null,function*(){const r="/classic-quizzes/post-match?",i=Q(R({},this.mainQueryParams),{sport_type:n.sportType,lang:n.lang,event_id:n.eventId}),o=yield this.getToken();return yield fetch(this.aiServiceBaseUrl+r+new URLSearchParams(i),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o})})}));J(this,"generatePostMatchPoll",n=>_(this,null,function*(){const r="/polls/post-match?",i=Q(R({},this.mainQueryParams),{lang:n.lang,event_id:n.eventId});n.targetParticipant&&(i.target_participant=n.targetParticipant);const o=yield this.getToken();return yield fetch(this.aiServiceBaseUrl+r+new URLSearchParams(i),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o})})}));J(this,"createEventGame",n=>_(this,null,function*(){const r="/custom/event?",i=yield this.getToken();return yield fetch(this.predictionBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"updateEventGame",(n,r)=>_(this,null,function*(){const i=`/custom/event/${n}?`,o=yield this.getToken();return yield fetch(this.predictionBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(r)})}));J(this,"resolveEventGamePredictions",n=>_(this,null,function*(){const r="/custom/event/resolve?",o=yield this.getToken();return yield fetch(this.customResolverUrl+r+new URLSearchParams({client_id:this.clientId,game_id:n}),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),signal:AbortSignal.timeout(6e5)})}));J(this,"getWidgetConfigurations",()=>_(this,null,function*(){const n=`/clients/${this.clientId}/config/widgets?`,r={key:this.apiKey};return yield fetch(this.clientApiBaseUrl+n+new URLSearchParams(r),{headers:this.headers})}));J(this,"getWidgetConfigurationById",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/config/widgets/${n}?`,i={key:this.apiKey};return yield fetch(this.clientApiBaseUrl+r+new URLSearchParams(i),{headers:this.headers})}));J(this,"createWidgetConfiguration",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/config/widgets?`,i=yield this.getToken(),o={key:this.apiKey};return yield fetch(this.clientApiBaseUrl+r+new URLSearchParams(o),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"updateWidgetConfiguration",(n,r)=>_(this,null,function*(){const i=`/clients/${this.clientId}/config/widgets/${n}?`,o=yield this.getToken(),a={key:this.apiKey};return yield fetch(this.clientApiBaseUrl+i+new URLSearchParams(a),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(r)})}));J(this,"deleteWidgetConfiguration",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/config/widgets/${n}?`,i=yield this.getToken(),o={key:this.apiKey};return yield fetch(this.clientApiBaseUrl+r+new URLSearchParams(o),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"DELETE"})}));this.loyaltyBaseUrl=zS(n.environment),this.predictionBaseUrl=jS(n.environment),this.miniGamesApiBaseUrl=US(n.environment),this.reportingApiBaseUrl=VS(n.environment),this.votingApiBaseUrl=HS(n.environment),this.profileApiBaseUrl=GS(n.environment),this.customResolverUrl=WS(n.environment),this.discussionsApiBaseUrl=YS(n.environment),this.aiServiceBaseUrl=KS(n.environment);const i="";this.apiSports=new NS(i)}}const QS=(e,t)=>!e&&!t?null:!e&&t?(console.warn("'sportal365Project' prop is not provided. The prop is required when 'sportal365Infrastructure' prop is provided. Functionalities with Sportal365 API will not be exposed"),null):{project:e,authorization:`Bearer ${t&&t==="betway"?"24PkUfW1ce63mH9jvAAug2QQzdASj9k5smngepPUZD2KUq5cbTFGE98KgZ0zg2wCtuQcoJrHElW7Dr0K":"dEZS1V21veHBIDIik8Y33dDkZAoCmxgge5MBnAORN7IKbltA79giTZLaXJ6OVgQkGnYxwtyRv8ObRSvY"}`},ma=y.createContext(null),JS=({config:e,children:t})=>{const n={apiKey:e.apiKey,clientId:e.clientId,environment:e.environment,lang:e.language,errorHandlingMode:e.errorHandlingMode,authProvider:{getIdToken:()=>"",logout:()=>{}}},r=QS(e.sportal365Project,e.sportal365Infrastructure),i=Ge.FansUnitedSDK(n),o=new qS(n,r);return s.jsx(ma.Provider,{value:{sdk:i,https:o},children:t})},th=y.createContext(null),XS=({children:e,environment:t})=>{const[n,r]=y.useState(null),[i,o]=y.useState(!0);return y.useEffect(()=>io(t).onAuthStateChanged(l=>{yt.unstable_batchedUpdates(()=>{o(!1),r(l)})}),[t]),s.jsx(th.Provider,{value:n,children:!i&&e})};function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L.apply(null,arguments)}function De(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}var nh={exports:{}},ZS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",eI=ZS,tI=eI;function rh(){}function ih(){}ih.resetWarningCache=rh;var nI=function(){function e(r,i,o,a,l,c){if(c!==tI){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:ih,resetWarningCache:rh};return n.PropTypes=n,n};nh.exports=nI();var rI=nh.exports;function iI(e){return typeof e=="string"}function oI(e,t,n){return e===void 0||iI(e)?t:L({},t,{ownerState:L({},t.ownerState,n)})}function oh(e,t,n=(r,i)=>r===i){return e.length===t.length&&e.every((r,i)=>n(r,t[i]))}function zn(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function aI(e,t,n){return typeof e=="function"?e(t,n):e}function sI(e){const{rootElementName:t="",componentName:n}=e,[r,i]=K.useState(t.toUpperCase()),o=K.useCallback(a=>{var l;i((l=a==null?void 0:a.tagName)!=null?l:"")},[]);return[r,o]}function lI(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function mn(...e){return K.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{lI(n,t)})},e)}function ah(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=ah(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function jn(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ah(e))&&(r&&(r+=" "),r+=t);return r}function sh(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function cI(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=e;if(!t){const g=jn(n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),v=L({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),m=L({},n,i,r);return g.length>0&&(m.className=g),Object.keys(v).length>0&&(m.style=v),{props:m,internalRef:void 0}}const a=zn(L({},i,r)),l=sh(r),c=sh(i),u=t(a),f=jn(u==null?void 0:u.className,n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),d=L({},u==null?void 0:u.style,n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),p=L({},u,n,c,l);return f.length>0&&(p.className=f),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:u.ref}}function ar(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function lh(e){if(K.isValidElement(e)||!ar(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=lh(e[n])}),t}function Un(e,t,n={clone:!0}){const r=n.clone?L({},e):e;return ar(e)&&ar(t)&&Object.keys(t).forEach(i=>{K.isValidElement(t[i])?r[i]=t[i]:ar(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&ar(e[i])?r[i]=Un(e[i],t[i],n):n.clone?r[i]=ar(t[i])?lh(t[i]):t[i]:r[i]=t[i]}),r}function va(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var ch={exports:{}},Ue={};/**
2325
+ */const MS="auth-compat";function BS(e){e.INTERNAL.registerComponent(new Jn(MS,t=>{const n=t.getProvider("app-compat").getImmediate(),r=t.getProvider("auth");return new Gl(n,r)},"PUBLIC").setServiceProps({ActionCodeInfo:{Operation:{EMAIL_SIGNIN:Ur.EMAIL_SIGNIN,PASSWORD_RESET:Ur.PASSWORD_RESET,RECOVER_EMAIL:Ur.RECOVER_EMAIL,REVERT_SECOND_FACTOR_ADDITION:Ur.REVERT_SECOND_FACTOR_ADDITION,VERIFY_AND_CHANGE_EMAIL:Ur.VERIFY_AND_CHANGE_EMAIL,VERIFY_EMAIL:Ur.VERIFY_EMAIL}},EmailAuthProvider:rr,FacebookAuthProvider:Sn,GithubAuthProvider:An,GoogleAuthProvider:In,OAuthProvider:qr,SAMLAuthProvider:ta,PhoneAuthProvider:Yl,PhoneMultiFactorGenerator:zf,RecaptchaVerifier:LS,TwitterAuthProvider:Tn,Auth:Gl,AuthCredential:Yr,Error:Ut}).setInstantiationMode("LAZY").setMultipleInstances(!1)),e.registerVersion(gS,mS)}BS(tr);let eh=!1;const io=e=>{if(eh)return tr.auth();if(e&&e==="dev"){tr.initializeApp({apiKey:"api_key"});const n=Yw();wl(n,"http://localhost:39199")}else{const n={apiKey:e&&e==="staging"?"AIzaSyBKhAYwkvkmjm16FxCMvCUQjSRpKC0DbM8":"AIzaSyDPD_SETLswR_U3dKawYkAyRhbzVXziD_4",authDomain:"fans-united-clients.firebaseapp.com",projectId:"fans-united-clients",messagingSenderId:"78627953958",appId:"1:78627953958:web:2ee87d5b274e0e7685f5e7",measurementId:"G-RH90B03KJG"};tr.initializeApp(n)}return eh=!0,tr.auth()},$S=e=>e==="dev"?"http://localhost:8070/v1":e==="staging"?"https://client.fansunitedstagingapi.com/v1":e==="watg"?"https://client.watg.fansunitedapi.com/v1":e==="yolo"?"https://client.yolo.fansunitedapi.com/v1":e==="cska"?"https://client.cska.fansunitedapi.com/v1":"https://client.fansunitedapi.com/v1";class FS{constructor(t,n){J(this,"apiKey","");J(this,"clientId","");J(this,"environment","");J(this,"mainQueryParams",{key:"",client_id:""});J(this,"headers",{"Content-Type":"application/json"});J(this,"clientApiBaseUrl","");J(this,"sportal365ImagesSearchURL","https://content.api.sportal365.com/v2/images/search?");J(this,"sportal365Config",null);J(this,"generateSignedInUrl",t=>_(this,null,function*(){const n=`/clients/${this.clientId}/generate-signed-url?`,r={key:this.apiKey},i=yield this.getToken();return yield fetch(this.clientApiBaseUrl+n+new URLSearchParams(r),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(t)})}));J(this,"storeInBucket",(t,n,r)=>_(this,null,function*(){const i=yield fetch(t,{headers:r,method:"PUT",body:n});if(i.ok)return this.constructAssetsUrl(n.name);const o=yield i.text();this.throwErrorFromXmlResponse(o)}));J(this,"fetchImagesFromSportal365",(t,n,r)=>_(this,null,function*(){if(this.sportal365Config){const i={Project:this.sportal365Config.project,Authorization:this.sportal365Config.authorization};let o={query:t,page:r.toString()};return n&&(n.from&&(o=Q(R({},o),{from:n.from})),n.to&&(o=Q(R({},o),{to:n.to}))),yield fetch(this.sportal365ImagesSearchURL+new URLSearchParams(o),{headers:i})}}));J(this,"getSchedulersByEntityId",t=>_(this,null,function*(){const n=`/clients/${this.clientId}/scheduler/tasks?`,r={key:this.apiKey,limit:"50",entity_id:t},i=yield this.getToken();return yield fetch(this.clientApiBaseUrl+n+new URLSearchParams(r),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"setSchedulers",(t,n,r)=>_(this,null,function*(){let i="",o="";n==="CREATE"?(i=`/clients/${this.clientId}/scheduler/tasks?`,o="POST"):(i=`/clients/${this.clientId}/scheduler/tasks/${r}?`,o="PUT");const a={key:this.apiKey},l=yield this.getToken();return yield fetch(this.clientApiBaseUrl+i+new URLSearchParams(a),{headers:Q(R({},this.headers),{Authorization:"Bearer "+l}),body:JSON.stringify(t),method:o})}));J(this,"deleteScheduledTask",t=>_(this,null,function*(){const n=`/clients/${this.clientId}/scheduler/tasks/${t}?`,r={key:this.apiKey},i=yield this.getToken();return yield fetch(this.clientApiBaseUrl+n+new URLSearchParams(r),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"DELETE"})}));J(this,"getLoggedInStaffMember",()=>_(this,null,function*(){const r=(yield this.getToken()).split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),i=decodeURIComponent(window.atob(r).split("").map(function(o){return"%"+("00"+o.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(i)}));J(this,"constructAssetsUrl",t=>this.environment==="dev"?`https://storage.googleapis.com/client_images_cms_fans-united-dev/${this.clientId}/${t}`:this.environment==="staging"?`https://storage.googleapis.com/client_images_cms_fans-united-stage/${this.clientId}/${t}`:`https://uploads.fansunitedassets.com/${this.clientId}/${t}`);J(this,"throwErrorFromXmlResponse",t=>{const n=new window.DOMParser().parseFromString(t,"text/xml"),r=n.getElementsByTagName("Message")&&n.getElementsByTagName("Code").length>0?n.getElementsByTagName("Message")[0].textContent:"",i=n.getElementsByTagName("Details")&&n.getElementsByTagName("Code").length>0?n.getElementsByTagName("Details")[0].textContent:"";throw new Error(r+" "+i)});J(this,"getToken",()=>_(this,null,function*(){const t=io(this.environment).currentUser;return t?yield t.getIdToken():""}));this.apiKey=t.apiKey,this.clientId=t.clientId,this.environment=t.environment,this.mainQueryParams={key:t.apiKey,client_id:t.clientId},this.sportal365Config=n,this.clientApiBaseUrl=$S(this.environment)}}class NS{constructor(t){J(this,"baseUrl","https://v1.formula-1.api-sports.io");J(this,"apiKey");J(this,"headers");this.apiKey=t,this.headers={"X-RapidAPI-Key":this.apiKey,"Content-Type":"application/json"}}getRaces(t,n){return _(this,null,function*(){const r={season:t.toString(),type:(n==null?void 0:n.type)||"Race"};n&&Object.entries(n).forEach(([o,a])=>{a!=null&&(r[o]=a.toString())});const i=`${this.baseUrl}/races?${new URLSearchParams(r)}`;return yield fetch(i,{method:"GET",headers:this.headers})})}makeRequest(t,n){return _(this,null,function*(){let r=`${this.baseUrl}${t}`;return n&&Object.keys(n).length>0&&(r+=`?${new URLSearchParams(n)}`),yield fetch(r,{method:"GET",headers:this.headers})})}}const zS=e=>e==="dev"?"http://localhost:8060/v1":e==="staging"?"https://loyalty.fansunitedstagingapi.com/v1":e==="watg"?"https://loyalty.watg.fansunitedapi.com/v1":e==="yolo"?"https://loyalty.yolo.fansunitedapi.com/v1":e==="cska"?"https://loyalty.cska.fansunitedapi.com/v1":"https://loyalty.fansunitedapi.com/v1",jS=e=>e==="dev"?"http://localhost:8040/v1":e==="staging"?"https://prediction.fansunitedstagingapi.com/v1":e==="watg"?"https://prediction.watg.fansunitedapi.com/v1":e==="yolo"?"https://prediction.yolo.fansunitedapi.com/v1":e==="cska"?"https://prediction.cska.fansunitedapi.com/v1":"https://prediction.fansunitedapi.com/v1",US=e=>e==="dev"?"http://localhost:9040/v1":e==="staging"?"https://mini-games.fansunitedstagingapi.com/v1":e==="watg"?"https://mini-games.watg.fansunitedapi.com/v1":e==="yolo"?"https://mini-games.yolo.fansunitedapi.com/v1":e==="cska"?"https://mini-games.cska.fansunitedapi.com/v1":"https://mini-games.fansunitedapi.com/v1",VS=e=>e==="dev"?"http://localhost:8020/v1":e==="staging"?"https://reporting.fansunitedstagingapi.com/v1":e==="watg"?"https://reporting.watg.fansunitedapi.com/v1":e==="yolo"?"https://reporting.yolo.fansunitedapi.com/v1":e==="cska"?"https://reporting.cska.fansunitedapi.com/v1":"https://reporting.fansunitedapi.com/v1",HS=e=>e==="dev"?"http://localhost:9030/v1":e==="staging"?"https://voting.fansunitedstagingapi.com/v1":e==="watg"?"https://voting.watg.fansunitedapi.com/v1":e==="yolo"?"https://voting.yolo.fansunitedapi.com/v1":e==="cska"?"https://voting.cska.fansunitedapi.com/v1":"https://voting.fansunitedapi.com/v1",WS=e=>e==="staging"?"https://custom-games-resolver-131809830171.europe-west1.run.app/v1":e==="watg"?"https://custom-games-resolver-1045682138584.southamerica-east1.run.app/v1":e==="yolo"?"https://custom-games-resolver-1054597592566.europe-west1.run.app/v1":e==="cska"?"https://custom-games-resolver-414330847655.europe-west1.run.app/v1":"https://custom-games-resolver-150199313674.europe-west1.run.app/v1",GS=e=>e==="dev"?"http://localhost:8010/v1":e==="staging"?"https://profile.fansunitedstagingapi.com/v1":e==="watg"?"https://profile.watg.fansunitedapi.com/v1":e==="yolo"?"https://profile.yolo.fansunitedapi.com/v1":e==="cska"?"https://profile.cska.fansunitedapi.com/v1":"https://profile.fansunitedapi.com/v1",YS=e=>e==="dev"?"http://localhost:8010/v1":e==="staging"?"https://discussions.fansunitedstagingapi.com/v1":e==="watg"?"https://discussions.watg.fansunitedapi.com/v1":e==="yolo"?"https://discussions.yolo.fansunitedapi.com/v1":e==="cska"?"https://discussions.cska.fansunitedapi.com/v1":"https://discussions.fansunitedapi.com/v1",KS=e=>e==="dev"?"http://localhost:9050/v1":e==="staging"?"https://ai-content-builder-131809830171.europe-west1.run.app/v1":e==="yolo"||e==="cska"?"":"https://ai-content-builder-150199313674.europe-west1.run.app/v1";class qS extends FS{constructor(n,r){super(n,r);J(this,"loyaltyBaseUrl","");J(this,"predictionBaseUrl","");J(this,"miniGamesApiBaseUrl","");J(this,"reportingApiBaseUrl","");J(this,"votingApiBaseUrl","");J(this,"profileApiBaseUrl","");J(this,"customResolverUrl","");J(this,"discussionsApiBaseUrl","");J(this,"aiServiceBaseUrl","");J(this,"apiSports");J(this,"getClientById",()=>_(this,null,function*(){const n=`/clients/${this.clientId}?`,r={key:this.apiKey},i=yield this.getToken();return yield fetch(this.clientApiBaseUrl+n+new URLSearchParams(r),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"createTemplate",n=>_(this,null,function*(){const r="/leaderboard/templates?",i=yield this.getToken();return yield fetch(this.loyaltyBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"editTemplate",(n,r)=>_(this,null,function*(){const i=`/leaderboard/templates/${n}?`,o=yield this.getToken();return yield fetch(this.loyaltyBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(r)})}));J(this,"deleteTemplate",n=>_(this,null,function*(){const r=`/leaderboard/templates/${n}?`,i=yield this.getToken();return yield fetch(this.loyaltyBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"DELETE"})}));J(this,"setWinners",n=>_(this,null,function*(){const r="/winners?",i=yield this.getToken();return yield fetch(this.predictionBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"exportDetailedLeaderboard",(n,r,i)=>_(this,null,function*(){const o=`/leaderboard/${n}/detailed?`,a=yield this.getToken(),l=R({},this.mainQueryParams);return r&&(l.group_id=r),yield fetch(this.loyaltyBaseUrl+o+new URLSearchParams(Q(R({},l),{limit:i.toString()})),{headers:Q(R({},this.headers),{Authorization:"Bearer "+a})})}));J(this,"exportDetailedGameLeaderboard",(n,r)=>_(this,null,function*(){const i=`/leaderboard/games/${n}/detailed?`,o=yield this.getToken();return yield fetch(this.loyaltyBaseUrl+i+new URLSearchParams(Q(R({},this.mainQueryParams),{limit:r.toString()})),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o})})}));J(this,"createGame",n=>_(this,null,function*(){const r="/games?",i=yield this.getToken();return yield fetch(this.predictionBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"editGame",(n,r)=>_(this,null,function*(){const i=`/games/${n}?`,o=yield this.getToken();return yield fetch(this.predictionBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PATCH",body:JSON.stringify(r)})}));J(this,"getEntityFeature",(n,r)=>_(this,null,function*(){const i=`/clients/${this.clientId}/features/${n}?`,o={key:this.apiKey};return r&&(o.disable_cache=Date.now().toString()),yield fetch(this.clientApiBaseUrl+i+new URLSearchParams(o))}));J(this,"getClientFeatures",(n,r=1)=>_(this,null,function*(){const i=`/clients/${this.clientId}/features?`,o={key:this.apiKey};n&&(o.disable_cache=Date.now().toString());const a=Q(R({},this.headers),{"x-api-version":r.toString()});return yield fetch(this.clientApiBaseUrl+i+new URLSearchParams(o),{headers:a})}));J(this,"updateEntityFeatures",(n,r)=>_(this,null,function*(){const i=`/clients/${this.clientId}/features/${n}?`,o=yield this.getToken();return yield fetch(this.clientApiBaseUrl+i+new URLSearchParams({key:this.apiKey}),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PATCH",body:JSON.stringify(r)})}));J(this,"getClassicQuizFeature",()=>_(this,null,function*(){const n=`/clients/${this.clientId}/features/classic_quiz?`,r={key:this.apiKey};return yield fetch(this.clientApiBaseUrl+n+new URLSearchParams(r))}));J(this,"getEitherOrFeature",()=>_(this,null,function*(){const n=`/clients/${this.clientId}/features/either_or?`,r={key:this.apiKey};return yield fetch(this.clientApiBaseUrl+n+new URLSearchParams(r))}));J(this,"getPollFeature",()=>_(this,null,function*(){const n=`/clients/${this.clientId}/features/poll?`,r={key:this.apiKey};return yield fetch(this.clientApiBaseUrl+n+new URLSearchParams(r))}));J(this,"createClassicQuiz",n=>_(this,null,function*(){const r="/classic-quizzes?",i=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"updateClassicQuiz",(n,r)=>_(this,null,function*(){const i=`/classic-quizzes/${n}?`,o=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(r)})}));J(this,"getClassicQuizById",n=>_(this,null,function*(){const r=`/classic-quizzes/${n}/staff?`,i=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"deleteClassicQuiz",n=>_(this,null,function*(){const r=`/classic-quizzes/${n}?`,i=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"DELETE"})}));J(this,"calculateQuestionsReport",n=>_(this,null,function*(){const r=`/classic-quizzes/${n}/questions-report?`,i=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST"})}));J(this,"exportUsers",n=>_(this,null,function*(){const r="/exports/users?",i=yield this.getToken();return yield fetch(this.reportingApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"getClassicQuizParticipations",(n,r,i,o)=>_(this,null,function*(){const a="/classic-quizzes/participations?",l=Q(R({},this.mainQueryParams),{classic_quiz_ids:n,from_date:r,to_date:i,group_by:o}),c=yield this.getToken();return yield fetch(this.reportingApiBaseUrl+a+new URLSearchParams(l),{headers:Q(R({},this.headers),{Authorization:"Bearer "+c})})}));J(this,"getEntityParticipations",(n,r,i)=>_(this,null,function*(){const o=`/participations/${n}/breakdown?`,a=Q(R({},this.mainQueryParams),{from_date:r,to_date:i}),l=yield this.getToken();return yield fetch(this.reportingApiBaseUrl+o+new URLSearchParams(a),{headers:Q(R({},this.headers),{Authorization:"Bearer "+l})})}));J(this,"createPoll",n=>_(this,null,function*(){const r="/polls?",i=yield this.getToken();return yield fetch(this.votingApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"updatePoll",(n,r)=>_(this,null,function*(){const i=`/polls/${n}?`,o=yield this.getToken();return yield fetch(this.votingApiBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(r)})}));J(this,"deletePoll",n=>_(this,null,function*(){const r=`/polls/${n}?`,i=yield this.getToken();return yield fetch(this.votingApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"DELETE"})}));J(this,"getEitherOrById",(n,r)=>_(this,null,function*(){const i=`/either-or/${n}/staff?`,o=yield this.getToken();let a=null;return r&&(a=Q(R({},this.mainQueryParams),{client_id:r})),yield fetch(this.miniGamesApiBaseUrl+i+new URLSearchParams(a||this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o})})}));J(this,"getEitherOrByIdReadOnlyClient",(n,r,i)=>_(this,null,function*(){const o="https://mini-games.fansunitedapi.com/v1",a=`/either-or/${n}/staff?`,l=yield this.getToken(),c={key:r,client_id:i};return yield fetch(o+a+new URLSearchParams(c),{headers:Q(R({},this.headers),{Authorization:"Bearer "+l})})}));J(this,"createEitherOr",n=>_(this,null,function*(){const r="/either-or?",i=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"updateEitherOr",(n,r)=>_(this,null,function*(){const i=`/either-or/${n}?`,o=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(r)})}));J(this,"deleteEitherOr",n=>_(this,null,function*(){const r=`/either-or/${n}?`,i=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"DELETE"})}));J(this,"getLists",(n,r,i="DESC")=>_(this,null,function*(){const o=`/clients/${this.clientId}/lists?`,a={key:this.apiKey,limit:n.toString(),sort_order:i};r&&(a.start_after=r);const l=yield this.getToken();return yield fetch(this.clientApiBaseUrl+o+new URLSearchParams(a),{headers:Q(R({},this.headers),{Authorization:"Bearer "+l})})}));J(this,"getListById",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/lists/${n}?`,i={key:this.apiKey},o=yield this.getToken();return yield fetch(this.clientApiBaseUrl+r+new URLSearchParams(i),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o})})}));J(this,"getListContent",(n,r,i="DESC",o)=>_(this,null,function*(){const a=`/clients/${this.clientId}/lists/${n}/content?`,l={key:this.apiKey,limit:r.toString(),sort_order:i};o&&(l.page=o.toString());const c=yield this.getToken();return yield fetch(this.clientApiBaseUrl+a+new URLSearchParams(l),{headers:Q(R({},this.headers),{Authorization:"Bearer "+c})})}));J(this,"createList",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/lists/?`,i={key:this.apiKey},o=yield this.getToken();return yield fetch(this.clientApiBaseUrl+r+new URLSearchParams(i),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"POST",body:JSON.stringify(n)})}));J(this,"updateList",(n,r)=>_(this,null,function*(){const i=`/clients/${this.clientId}/lists/${n}?`,o={key:this.apiKey},a=yield this.getToken();return yield fetch(this.clientApiBaseUrl+i+new URLSearchParams(o),{headers:Q(R({},this.headers),{Authorization:"Bearer "+a}),method:"PUT",body:JSON.stringify(r)})}));J(this,"deleteList",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/lists/${n}?`,i={key:this.apiKey},o=yield this.getToken();return yield fetch(this.clientApiBaseUrl+r+new URLSearchParams(i),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"DELETE"})}));J(this,"getLanguageConfig",()=>_(this,null,function*(){const n=`/clients/${this.clientId}/config/language?`,r={key:this.apiKey},i=yield this.getToken();return yield fetch(this.clientApiBaseUrl+n+new URLSearchParams(r),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"updateLanguageConfig",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/config/language?`,i={key:this.apiKey},o=yield this.getToken();return yield fetch(this.clientApiBaseUrl+r+new URLSearchParams(i),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(n)})}));J(this,"createBracketGame",n=>_(this,null,function*(){const r="/custom/bracket?",i=yield this.getToken();return yield fetch(this.predictionBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"updateBracketGame",(n,r)=>_(this,null,function*(){const i=`/custom/bracket/${n}?`,o=yield this.getToken();return yield fetch(this.predictionBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(r)})}));J(this,"resolvePredictions",n=>_(this,null,function*(){const r="/custom/bracket/resolve?",o=yield this.getToken();return yield fetch(this.customResolverUrl+r+new URLSearchParams({client_id:this.clientId,game_id:n}),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),signal:AbortSignal.timeout(6e5)})}));J(this,"exportLeadsPerEntity",n=>_(this,null,function*(){const r="/leads/export?",i=Q(R({},this.mainQueryParams),{content_id:n}),o=yield this.getToken();return yield fetch(this.profileApiBaseUrl+r+new URLSearchParams(i),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o})})}));J(this,"getLeadStatistics",n=>_(this,null,function*(){const r="/leads/statistics?",i=yield this.getToken();let o=null;return n?o=new URLSearchParams(R(R({},this.mainQueryParams),n)):o=new URLSearchParams(this.mainQueryParams),yield fetch(this.profileApiBaseUrl+r+o,{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"exportLeads",n=>_(this,null,function*(){const r="/leads/export?",i=yield this.getToken();let o=null;return n?o=new URLSearchParams(R(R({},this.mainQueryParams),n)):o=new URLSearchParams(this.mainQueryParams),yield fetch(this.profileApiBaseUrl+r+o,{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"createStandingGame",n=>_(this,null,function*(){const r="/custom/standing?",i=yield this.getToken();return yield fetch(this.predictionBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"updateStandingGame",(n,r)=>_(this,null,function*(){const i=`/custom/standing/${n}?`,o=yield this.getToken();return yield fetch(this.predictionBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(r)})}));J(this,"resolveStandingPredictions",n=>_(this,null,function*(){const r="/custom/standing/resolve?",o=yield this.getToken();return yield fetch(this.customResolverUrl+r+new URLSearchParams({client_id:this.clientId,game_id:n}),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),signal:AbortSignal.timeout(6e5)})}));J(this,"moderateUserPosts",(n,r)=>_(this,null,function*(){const i="/moderation/bulk?",o=yield this.getToken(),a=Q(R({},this.mainQueryParams),{user_id:n,reason:r});return yield fetch(this.discussionsApiBaseUrl+i+new URLSearchParams(a),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"POST"})}));J(this,"getUserBanStatus",n=>_(this,null,function*(){const r=`/discussions/users/${n}/ban?`,i=yield this.getToken();return yield fetch(this.discussionsApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"banUser",(n,r,i)=>_(this,null,function*(){const o=`/discussions/users/${n}/ban?`,a=yield this.getToken(),l={banned_period_in_days:r,banned_reason:i};return yield fetch(this.discussionsApiBaseUrl+o+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+a}),method:"POST",body:JSON.stringify(l)})}));J(this,"unbanUser",(n,r)=>_(this,null,function*(){const i=`/discussions/users/${n}/ban?`,o=yield this.getToken(),a={unban_reason:r};return yield fetch(this.discussionsApiBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"DELETE",body:JSON.stringify(a)})}));J(this,"updateUser",(n,r,i)=>_(this,null,function*(){const o=`/profiles/${n}/verify?`,a=yield this.getToken(),l=r==="verify"?{verified:i}:{staff_member:i};return yield fetch(this.profileApiBaseUrl+o+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+a}),method:"POST",body:JSON.stringify(l)})}));J(this,"deleteUserProfile",n=>_(this,null,function*(){const r=`/profiles/${n}?`,i=yield this.getToken();return yield fetch(this.profileApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"DELETE"})}));J(this,"createDiscussion",n=>_(this,null,function*(){const r="/discussions?",i=yield this.getToken();return yield fetch(this.discussionsApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"deleteDiscussion",n=>_(this,null,function*(){const r=`/discussions/${n}?`,i=yield this.getToken();return yield fetch(this.discussionsApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"DELETE"})}));J(this,"moderatePosts",(...o)=>_(this,[...o],function*(n="",r=[],i){const a="/moderation/bulk?",l=yield this.getToken();let c={};if(r.length>0){const u=r.join(",");c=Q(R({},this.mainQueryParams),{post_ids:u,reason:i})}else c=Q(R({},this.mainQueryParams),{discussion_id:n,reason:i});return yield fetch(this.discussionsApiBaseUrl+a+new URLSearchParams(c),{headers:Q(R({},this.headers),{Authorization:"Bearer "+l}),method:"POST"})}));J(this,"pinDiscussionPosts",(n,r)=>_(this,null,function*(){const i=`/discussions/${n}/pins?`,o=yield this.getToken(),a=Q(R({},this.mainQueryParams),{pin_post_ids:r.join(",")});return yield fetch(this.discussionsApiBaseUrl+i+new URLSearchParams(a),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PATCH"})}));J(this,"unpinDiscussionPosts",(n,r)=>_(this,null,function*(){const i=`/discussions/${n}/pins?`,o=yield this.getToken(),a=Q(R({},this.mainQueryParams),{pin_post_ids:r.join(",")});return yield fetch(this.discussionsApiBaseUrl+i+new URLSearchParams(a),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"DELETE"})}));J(this,"getPostsByStaffMember",n=>_(this,null,function*(){const r="/posts/staff?",i=yield this.getToken();return yield fetch(this.discussionsApiBaseUrl+r+new URLSearchParams(R(R({},this.mainQueryParams),n)),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"getReportedPosts",n=>_(this,null,function*(){const r="/posts/staff/reported?",i=yield this.getToken();return yield fetch(this.discussionsApiBaseUrl+r+new URLSearchParams(R(R({},this.mainQueryParams),n)),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"updateDiscussionsFeature",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/features/discussions?`,i=yield this.getToken();return yield fetch(this.clientApiBaseUrl+r+new URLSearchParams({key:this.apiKey}),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"PATCH",body:JSON.stringify(n)})}));J(this,"updateProfilePreferences",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/features/profile_preferences?`,i=yield this.getToken();return yield fetch(this.clientApiBaseUrl+r+new URLSearchParams({key:this.apiKey}),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"PATCH",body:JSON.stringify(n)})}));J(this,"getClientBadges",()=>_(this,null,function*(){const n=`/clients/${this.clientId}/features/loyalty/badges?`,r={key:this.apiKey},i=yield this.getToken();return yield fetch(this.clientApiBaseUrl+n+new URLSearchParams(r),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i})})}));J(this,"updateClientBadges",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/features/loyalty/badges?`,i=yield this.getToken();return yield fetch(this.clientApiBaseUrl+r+new URLSearchParams({key:this.apiKey}),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"PUT",body:JSON.stringify(n)})}));J(this,"getEngagementThroughPredictionsReport",(n,r,i)=>_(this,null,function*(){const o="/predictions/football/engagements?",a=Q(R({},this.mainQueryParams),{from_date:r,to_date:i,type:n}),l=yield this.getToken();return yield fetch(this.reportingApiBaseUrl+o+new URLSearchParams(a),{headers:Q(R({},this.headers),{Authorization:"Bearer "+l})})}));J(this,"createPersonalityQuiz",n=>_(this,null,function*(){const r="/personality-quizzes?",i=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"updatePersonalityQuiz",(n,r)=>_(this,null,function*(){const i=`/personality-quizzes/${n}?`,o=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(r)})}));J(this,"deletePersonalityQuiz",n=>_(this,null,function*(){const r=`/personality-quizzes/${n}?`,i=yield this.getToken();return yield fetch(this.miniGamesApiBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"DELETE"})}));J(this,"generatePostMatchQuiz",n=>_(this,null,function*(){const r="/classic-quizzes/post-match?",i=Q(R({},this.mainQueryParams),{sport_type:n.sportType,lang:n.lang,event_id:n.eventId}),o=yield this.getToken();return yield fetch(this.aiServiceBaseUrl+r+new URLSearchParams(i),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o})})}));J(this,"generatePostMatchPoll",n=>_(this,null,function*(){const r="/polls/post-match?",i=Q(R({},this.mainQueryParams),{lang:n.lang,event_id:n.eventId});n.targetParticipant&&(i.target_participant=n.targetParticipant);const o=yield this.getToken();return yield fetch(this.aiServiceBaseUrl+r+new URLSearchParams(i),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o})})}));J(this,"createEventGame",n=>_(this,null,function*(){const r="/custom/event?",i=yield this.getToken();return yield fetch(this.predictionBaseUrl+r+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"updateEventGame",(n,r)=>_(this,null,function*(){const i=`/custom/event/${n}?`,o=yield this.getToken();return yield fetch(this.predictionBaseUrl+i+new URLSearchParams(this.mainQueryParams),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(r)})}));J(this,"resolveEventGamePredictions",n=>_(this,null,function*(){const r="/custom/event/resolve?",o=yield this.getToken();return yield fetch(this.customResolverUrl+r+new URLSearchParams({client_id:this.clientId,game_id:n}),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),signal:AbortSignal.timeout(6e5)})}));J(this,"getWidgetConfigurations",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/config/widgets?`;let i={key:this.apiKey};return n&&(i.disable_cache=Date.now().toString()),yield fetch(this.clientApiBaseUrl+r+new URLSearchParams(i),{headers:this.headers})}));J(this,"getWidgetConfigurationById",(n,r)=>_(this,null,function*(){const i=`/clients/${this.clientId}/config/widgets/${n}?`;let o={key:this.apiKey};return r&&(o.disable_cache=Date.now().toString()),yield fetch(this.clientApiBaseUrl+i+new URLSearchParams(o),{headers:this.headers})}));J(this,"createWidgetConfiguration",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/config/widgets?`,i=yield this.getToken(),o={key:this.apiKey};return yield fetch(this.clientApiBaseUrl+r+new URLSearchParams(o),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"POST",body:JSON.stringify(n)})}));J(this,"updateWidgetConfiguration",(n,r)=>_(this,null,function*(){const i=`/clients/${this.clientId}/config/widgets/${n}?`,o=yield this.getToken(),a={key:this.apiKey};return yield fetch(this.clientApiBaseUrl+i+new URLSearchParams(a),{headers:Q(R({},this.headers),{Authorization:"Bearer "+o}),method:"PUT",body:JSON.stringify(r)})}));J(this,"deleteWidgetConfiguration",n=>_(this,null,function*(){const r=`/clients/${this.clientId}/config/widgets/${n}?`,i=yield this.getToken(),o={key:this.apiKey};return yield fetch(this.clientApiBaseUrl+r+new URLSearchParams(o),{headers:Q(R({},this.headers),{Authorization:"Bearer "+i}),method:"DELETE"})}));this.loyaltyBaseUrl=zS(n.environment),this.predictionBaseUrl=jS(n.environment),this.miniGamesApiBaseUrl=US(n.environment),this.reportingApiBaseUrl=VS(n.environment),this.votingApiBaseUrl=HS(n.environment),this.profileApiBaseUrl=GS(n.environment),this.customResolverUrl=WS(n.environment),this.discussionsApiBaseUrl=YS(n.environment),this.aiServiceBaseUrl=KS(n.environment);const i="";this.apiSports=new NS(i)}}const QS=(e,t)=>!e&&!t?null:!e&&t?(console.warn("'sportal365Project' prop is not provided. The prop is required when 'sportal365Infrastructure' prop is provided. Functionalities with Sportal365 API will not be exposed"),null):{project:e,authorization:`Bearer ${t&&t==="betway"?"24PkUfW1ce63mH9jvAAug2QQzdASj9k5smngepPUZD2KUq5cbTFGE98KgZ0zg2wCtuQcoJrHElW7Dr0K":"dEZS1V21veHBIDIik8Y33dDkZAoCmxgge5MBnAORN7IKbltA79giTZLaXJ6OVgQkGnYxwtyRv8ObRSvY"}`},ma=y.createContext(null),JS=({config:e,children:t})=>{const n={apiKey:e.apiKey,clientId:e.clientId,environment:e.environment,lang:e.language,errorHandlingMode:e.errorHandlingMode,authProvider:{getIdToken:()=>"",logout:()=>{}}},r=QS(e.sportal365Project,e.sportal365Infrastructure),i=Ge.FansUnitedSDK(n),o=new qS(n,r);return s.jsx(ma.Provider,{value:{sdk:i,https:o},children:t})},th=y.createContext(null),XS=({children:e,environment:t})=>{const[n,r]=y.useState(null),[i,o]=y.useState(!0);return y.useEffect(()=>io(t).onAuthStateChanged(l=>{yt.unstable_batchedUpdates(()=>{o(!1),r(l)})}),[t]),s.jsx(th.Provider,{value:n,children:!i&&e})};function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L.apply(null,arguments)}function De(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}var nh={exports:{}},ZS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",eI=ZS,tI=eI;function rh(){}function ih(){}ih.resetWarningCache=rh;var nI=function(){function e(r,i,o,a,l,c){if(c!==tI){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:ih,resetWarningCache:rh};return n.PropTypes=n,n};nh.exports=nI();var rI=nh.exports;function iI(e){return typeof e=="string"}function oI(e,t,n){return e===void 0||iI(e)?t:L({},t,{ownerState:L({},t.ownerState,n)})}function oh(e,t,n=(r,i)=>r===i){return e.length===t.length&&e.every((r,i)=>n(r,t[i]))}function zn(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function aI(e,t,n){return typeof e=="function"?e(t,n):e}function sI(e){const{rootElementName:t="",componentName:n}=e,[r,i]=K.useState(t.toUpperCase()),o=K.useCallback(a=>{var l;i((l=a==null?void 0:a.tagName)!=null?l:"")},[]);return[r,o]}function lI(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function mn(...e){return K.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{lI(n,t)})},e)}function ah(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=ah(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function jn(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ah(e))&&(r&&(r+=" "),r+=t);return r}function sh(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function cI(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=e;if(!t){const g=jn(n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),v=L({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),m=L({},n,i,r);return g.length>0&&(m.className=g),Object.keys(v).length>0&&(m.style=v),{props:m,internalRef:void 0}}const a=zn(L({},i,r)),l=sh(r),c=sh(i),u=t(a),f=jn(u==null?void 0:u.className,n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),d=L({},u==null?void 0:u.style,n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),p=L({},u,n,c,l);return f.length>0&&(p.className=f),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:u.ref}}function ar(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function lh(e){if(K.isValidElement(e)||!ar(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=lh(e[n])}),t}function Un(e,t,n={clone:!0}){const r=n.clone?L({},e):e;return ar(e)&&ar(t)&&Object.keys(t).forEach(i=>{K.isValidElement(t[i])?r[i]=t[i]:ar(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&ar(e[i])?r[i]=Un(e[i],t[i],n):n.clone?r[i]=ar(t[i])?lh(t[i]):t[i]:r[i]=t[i]}),r}function va(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var ch={exports:{}},Ue={};/**
2326
2326
  * @license React
2327
2327
  * react-is.production.js
2328
2328
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fansunited-management-components",
3
- "version": "1.60.0-RC1",
3
+ "version": "1.60.0-RC2",
4
4
  "main": "index.es.js",
5
5
  "module": "index.es.js",
6
6
  "types": "index.es.d.ts",
@@ -105,8 +105,8 @@ export default class HttpsService extends Https {
105
105
  createEventGame: (requestBody: EventGameRequestBody) => Promise<Response>;
106
106
  updateEventGame: (id: string, requestBody: EventGameRequestBody) => Promise<Response>;
107
107
  resolveEventGamePredictions: (gameId: string) => Promise<Response>;
108
- getWidgetConfigurations: () => Promise<Response>;
109
- getWidgetConfigurationById: (id: string) => Promise<Response>;
108
+ getWidgetConfigurations: (disableCache?: boolean) => Promise<Response>;
109
+ getWidgetConfigurationById: (id: string, disableCache?: boolean) => Promise<Response>;
110
110
  createWidgetConfiguration: (requestBody: WidgetConfigRequestBody) => Promise<Response>;
111
111
  updateWidgetConfiguration: (id: string, requestBody: WidgetConfigRequestBody) => Promise<Response>;
112
112
  deleteWidgetConfiguration: (id: string) => Promise<Response>;
@@ -1 +1 @@
1
- {"version":3,"file":"HttpsService.d.ts","sourceRoot":"","sources":["../../../../src/services/https/HttpsService.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,MAAM,mEAAmE,CAAC;AACtG,OAAO,mBAAmB,MAAM,4CAA4C,CAAC;AAC7E,OAAO,K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