Module 696459

479 characters · in no known chunk
Dependencies
Required by (1)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(562465),i=n(73153),s=n(29599),a=n(652215);let o={search(e,t){null==s.A.getResults(e,t)&&(i.h.dispatch({type:"INTEGRATION_QUERY",integration:e,query:t}),r.Bo.get({url:a.Rsh.INTEGRATION_SEARCH("tenor"),query:{q:t},oldFormErrors:!0,rejectWithError:!0}).then(n=>{i.h.dispatch({type:"INTEGRATION_QUERY_SUCCESS",integration:e,query:t,results:n.body})},()=>i.h.dispatch({type:"INTEGRATION_QUERY_FAILURE",integration:e,query:t})))}}}