PageSourceSearch

https://www.toplusmsapi.com/assets/js/a94703ab.a7194f71.js

js toplusmsapi.com collected 2026-10-08 00:33:34 UTC 11,979 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkemarka_apidocs=self.webpackChunkemarka_apidocs||[]).push([[9048],{6444:(e,t,n)=>{n.r(t),n.d(t,{default:()=>ge});var a=n(6540),o=n(8215),i=n(1003),s=n(7559),r=n(4718),l=n(609),c=n(1312),d=n(3104),u=n(5062);const m={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};var h=n(4848);function b(){const{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e;const[n,o]=(0,a.useState)(!1),i=(0,a.useRef)(!1),{startScroll:s,cancelScroll:r}=(0,d.gk)();return(0,d.Mq)(((e,n)=>{let{scrollY:a}=e;const s=n?.scrollY;s&&(i.current?i.current=!1:a>=s?(r(),o(!1)):a<t?o(!1):a+window.innerHeight<document.documentElement.scrollHeight&&o(!0))})),(0,u.$)((e=>{e.location.hash&&(i.current=!0,o(!1))})),{shown:n,scrollToTop:()=>s(0)}}({threshold:300});return(0,h.jsx)("button",{"aria-label":(0,c.T)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,o.A)("clean-btn",s.G.common.backToTopButton,m.backToTopButton,e&&m.backToTopButtonShow),type:"button",onClick:t})}var p=n(3109),x=n(6347),f=n(4581),j=n(6342),g=n(3465);function v(e){return(0,h.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,h.jsxs)("g",{fill:"#7a7a7a",children:[(0,h.jsx)("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),(0,h.jsx)("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})]})})}const _="collapseSidebarButton_PEFL",k="collapseSidebarButtonIcon_kv0_";function A(e){let{onClick:t}=e;return(0,h.jsx)("button",{type:"button",title:(0,c.T)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,c.T)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,o.A)("button button--secondary button--outline",_),onClick:t,children:(0,h.jsx)(v,{className:k})})}var C=n(5041),S=n(9532);const T=Symbol("EmptyContext"),N=a.createContext(T);function I(e){let{children:t}=e;const[n,o]=(0,a.useState)(null),i=(0,a.useMemo)((()=>({expandedItem:n,setExpandedItem:o})),[n]);return(0,h.jsx)(N.Provider,{value:i,children:t})}var y=n(1422),B=n(9169),w=n(8774),L=n(2303);function E(e){let{collapsed:t,categoryLabel:n,onClick:a}=e;return(0,h.jsx)("button",{"aria-label":t?(0,c.T)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:n}):(0,c.T)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:n}),"aria-expanded":!t,type:"button",className:"clean-btn menu__caret",onClick:a})}function M(e){let{item:t,onItemClick:n,activePath:i,level:l,index:c,...d}=e;const{items:u,label:m,collapsible:b,className:p,href:x}=t,{docs:{sidebar:{autoCollapseCategories:f}}}=(0,j.p)(),g=function(e){const t=(0,L.A)();return(0,a.useMemo)((()=>e.href&&!e.linkUnlisted?e.href:!t&&e.collapsible?(0,r.Nr)(e):void 0),[e,t])}(t),v=(0,r.w8)(t,i),_=(0,B.ys)(x,i),{collapsed:k,setCollapsed:A}=(0,y.u)({initialState:()=>!!b&&(!v&&t.collapsed)}),{expandedItem:C,setExpandedItem:I}=function(){const e=(0,a.useContext)(N);if(e===T)throw new S.dV("DocSidebarItemsExpandedStateProvider");return e}(),M=function(e){void 0===e&&(e=!k),I(e?null:c),A(e)};return function(e){let{isActive:t,collapsed:n,updateCollapsed:o}=e;const i=(0,S.ZC)(t);(0,a.useEffect)((()=>{t&&!i&&n&&o(!1)}),[t,i,n,o])}({isActive:v,collapsed:k,updateCollapsed:M}),(0,a.useEffect)((()=>{b&&null!=C&&C!==c&&f&&A(!0)}),[b,C,c,A,f]),(0,h.jsxs)("li",{className:(0,o.A)(s.G.docs.docSidebarItemCategory,s.G.docs.docSidebarItemCategoryLevel(l),"menu__list-item",{"menu__list-item--collapsed":k},p),children:[(0,h.jsxs)("div",{className:(0,o.A)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":_}),children:[(0,h.jsx)(w.A,{className:(0,o.A)("menu__link",{"menu__link--sublist":b,"menu__link--sublist-caret":!x&&b,"menu__link--active":v}),onClick:b?e=>{n?.(t),x?M(!1):(e.preventDefault(),M())}:()=>{n?.(t)},"aria-current":_?"page":void 0,role:b&&!x?"button":void 0,"aria-expanded":b&&!x?!k:void 0,href:b?g??"#":g,...d,children:m}),x&&b&&(0,h.jsx)(E,{collapsed:k,categoryLabel:m,onClick:e=>{e.preventDefault(),M()}})]}),(0,h.jsx)(y.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:k,children:(0,h.jsx)(O,{items:u,tabIndex:k?-1:0,onItemClick:n,activePath:i,level:l+1})})]})}function H(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;
1t++)e[t]&&(n=H(e[t]))&&(a&&(a+=" "),a+=n);else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}const G=function(){for(var e,t,n=0,a="";n<arguments.length;)(e=arguments[n++])&&(t=H(e))&&(a&&(a+=" "),a+=t);return a};var P=n(6654),W=n(3186);const R="menuExternalLink_NnFM",D=["/sms/gonder/get/","/en/sms/send/get/"];function F(e,t){return"link"===e.type?t.startsWith(e.href):e.children.some((e=>F(e,t)))}function U(e){let{item:t,onItemClick:n,activePath:a,level:o,index:i,...r}=e;const{href:l,label:c,className:d,autoAddBaseUrl:u}=t,m=F(t,a),b=(0,P.A)(l);return(0,h.jsx)("li",{className:G(s.G.docs.docSidebarItemLink,s.G.docs.docSidebarItemLinkLevel(o),"menu__list-item",d),children:(0,h.jsxs)(w.A,{className:G("menu__link",!b&&R,{"menu__link--active":m}),autoAddBaseUrl:u,"aria-current":m?"page":void 0,to:l,...b&&{onClick:n?()=>n(t):void 0},...r,children:[c,3===o?D.includes(l)?(0,h.jsx)("span",{className:"menu-get",children:"GET"}):(0,h.jsx)("span",{className:"menu-post",children:"POST"}):null,!b&&(0,h.jsx)(W.A,{})]})},c)}const V="menuHtmlItem_M9Kj";function Y(e){let{item:t,level:n,index:a}=e;const{value:i,defaultStyle:r,className:l}=t;return(0,h.jsx)("li",{className:(0,o.A)(s.G.docs.docSidebarItemLink,s.G.docs.docSidebarItemLinkLevel(n),r&&[V,"menu__list-item"],l),dangerouslySetInnerHTML:{__html:i}},a)}function z(e){let{item:t,...n}=e;switch(t.type){case"category":return(0,h.jsx)(M,{item:t,...n});case"html":return(0,h.jsx)(Y,{item:t,...n});default:return(0,h.jsx)(U,{item:t,...n})}}function K(e){let{items:t,...n}=e;const a=(0,r.Y)(t,n.activePath);return(0,h.jsx)(I,{children:a.map(((e,t)=>(0,h.jsx)(z,{item:e,index:t,...n},t)))})}const O=(0,a.memo)(K),q="menu_SIkG",J="menuWithAnnouncementBar_GW3s";function Q(e){let{path:t,sidebar:n,className:i}=e;const r=function(){const{isActive:e}=(0,C.M)(),[t,n]=(0,a.useState)(e);return(0,d.Mq)((t=>{let{scrollY:a}=t;e&&n(0===a)}),[e]),e&&t}();return(0,h.jsx)("nav",{"aria-label":(0,c.T)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,o.A)("menu thin-scrollbar",q,r&&J,i),children:(0,h.jsx)("ul",{className:(0,o.A)(s.G.docs.docSidebarMenu,"menu__list"),children:(0,h.jsx)(O,{items:n,activePath:t,level:1})})})}const X="sidebar_njMd",Z="sidebarWithHideableNavbar_wUlq",$="sidebarHidden_VK0M",ee="sidebarLogo_isFc";function te(e){let{path:t,sidebar:n,onCollapse:a,isHidden:i}=e;const{navbar:{hideOnScroll:s},docs:{sidebar:{hideable:r}}}=(0,j.p)();return(0,h.jsxs)("div",{className:(0,o.A)(X,s&&Z,i&&$),children:[s&&(0,h.jsx)(g.A,{tabIndex:-1,className:ee}),(0,h.jsx)(Q,{path:t,sidebar:n}),r&&(0,h.jsx)(A,{onClick:a})]})}const ne=a.memo(te);var ae=n(5600),oe=n(9876);const ie=e=>{let{sidebar:t,path:n}=e;const a=(0,oe.M)();return(0,h.jsx)("ul",{className:(0,o.A)(s.G.docs.docSidebarMenu,"menu__list"),children:(0,h.jsx)(O,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&a.toggle(),"link"===e.type&&a.toggle()},level:1})})};function se(e){return(0,h.jsx)(ae.GX,{component:ie,props:e})}const re=a.memo(se);function le(e){const t=(0,f.l)(),n="desktop"===t||"ssr"===t,a="mobile"===t;return(0,h.jsxs)(h.Fragment,{children:[n&&(0,h.jsx)(ne,{...e}),a&&(0,h.jsx)(re,{...e})]})}const ce={expandButton:"expandButton_TmdG",expandButtonIcon:"expandButtonIcon_i1dp"};function de(e){let{toggleSidebar:t}=e;return(0,h.jsx)("div",{className:ce.expandButton,title:(0,c.T)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,c.T)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:t,onClick:t,children:(0,h.jsx)(v,{className:ce.expandButtonIcon})})}const ue={docSidebarContainer:"docSidebarContainer_YfHR",docSidebarContainerHidden:"docSidebarContainerHidden_DPk8",sidebarViewport:"sidebarViewport_aRkj"};function me(e){let{children:t}=e;const n=(0,l.t)();return(0,h.jsx)(a.Fragment,{children:t},n?.name??"noSidebar")}function he(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:i}=e;const{pathname:r}=(0,x.zy)(),[l,c]=(0,a.useState)(!1),d=(0,a.useCallback)((()=>{l&&c(!1),!l&&(0,p.O)()&&c(!0),i((e=>!e))}),[i,l]);return(0,h.jsx)("aside",{className:(0,o.A)(s.G.docs.docSidebarContainer,ue.docSidebarContainer,n&&ue.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(ue.docSidebarContainer)&&n&&c(!0)},children:(0,h.jsx)(me,{children:(0,h.jsxs)("div",{className:(0,o.A)(ue.sidebarViewport,l&&ue.sidebarViewportHidden),children:[(0,h.jsx)(le,{sidebar:t,path:r,onCollapse:d,isHidden:l}),l&&(0,h.jsx)(de,{toggleSidebar:d})]})})})}const be={docMainContainer:"docMainContainer_TBSr",docMainContainerEnh
1anced:"docMainContainerEnhanced_lQrH",docItemWrapperEnhanced:"docItemWrapperEnhanced_JWYK"};function pe(e){let{hiddenSidebarContainer:t,children:n}=e;const a=(0,l.t)();return(0,h.jsx)("main",{className:(0,o.A)(be.docMainContainer,(t||!a)&&be.docMainContainerEnhanced),children:(0,h.jsx)("div",{className:(0,o.A)("container padding-top--md padding-bottom--lg",be.docItemWrapper,t&&be.docItemWrapperEnhanced),children:n})})}const xe={docRoot:"docRoot_UBD9",docsWrapper:"docsWrapper_hBAB"};function fe(e){let{children:t}=e;const n=(0,l.t)(),[o,i]=(0,a.useState)(!1);return(0,h.jsxs)("div",{className:xe.docsWrapper,children:[(0,h.jsx)(b,{}),(0,h.jsxs)("div",{className:xe.docRoot,children:[n&&(0,h.jsx)(he,{sidebar:n.items,hiddenSidebarContainer:o,setHiddenSidebarContainer:i}),(0,h.jsx)(pe,{hiddenSidebarContainer:o,children:t})]})]})}var je=n(3363);function ge(e){const t=(0,r.B5)(e);if(!t)return(0,h.jsx)(je.A,{});const{docElement:n,sidebarName:a,sidebarItems:c}=t;return(0,h.jsx)(i.e3,{className:(0,o.A)(s.G.page.docsDocPage),children:(0,h.jsx)(l.V,{name:a,items:c,children:(0,h.jsx)(fe,{children:n})})})}},3363:(e,t,n)=>{n.d(t,{A:()=>r});n(6540);var a=n(8215),o=n(1312),i=n(1107),s=n(4848);function r(e){let{className:t}=e;return(0,s.jsx)("main",{className:(0,a.A)("container margin-vert--xl",t),children:(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,s.jsx)(i.A,{as:"h1",className:"hero__title",children:(0,s.jsx)(o.A,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,s.jsx)("p",{children:(0,s.jsx)(o.A,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,s.jsx)("p",{children:(0,s.jsx)(o.A,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.