PageSourceSearch

https://panel.sadad.qa/default-src_app__directives_input-no-leadin…ly_di-15f3ba-esnext.73b292db00e68242d6fa.js

js sadad.qa collected 2026-09-24 10:53:10 UTC 17,753 bytes, 1 lines download raw bytes

1(self.webpackChunkcuba=self.webpackChunkcuba||[]).push([["default-src_app__directives_input-no-leading-space_ts-src_app__directives_one-decimal-only_di-15f3ba"],{65981:function(e,t,i){"use strict";i.d(t,{c:function(){return r}});var n=i(35366);let r=(()=>{class e{onKeyDown(e){0===e.target.selectionStart&&" "===e.key&&e.preventDefault()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.lG2({type:e,selectors:[["","appNoLeadingSpace",""]],hostBindings:function(e,t){1&e&&n.NdJ("keydown",function(e){return t.onKeyDown(e)})}}),e})()},42916:function(e,t,i){"use strict";i.d(t,{i:function(){return o}});var n=i(35366),r=i(31041);let o=(()=>{class e{constructor(e,t){this.el=e,this.control=t}onInput(e){let t=e.target.value;t=t.replace(/[^0-9.]/g,"");const i=t.split(".");i.length>2&&(t=i[0]+"."+i[1]),2===i.length&&(i[1]=i[1].substring(0,1),t=i[0]+"."+i[1]),this.control.control?.setValue(t,{emitEvent:!1})}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(n.SBq),n.Y36(r.a5))},e.\u0275dir=n.lG2({type:e,selectors:[["","appOneDecimalOnly",""]],hostBindings:function(e,t){1&e&&n.NdJ("input",function(e){return t.onInput(e)})}}),e})()},99046:function(e,t,i){"use strict";i.d(t,{F:function(){return r},S:function(){return o}});var n=i(69568);class r{constructor(e,t){this.shippingService=e,this.destroy$=t,this.prodTypes=[],this.prodTypeCount=0,this.prodTypeSkip=0,this.prodTypeSearchText="",this.prodTypeLoading=!1,this.allProdTypes=[],this.allProdTypesCount=0,this.loadFailed=!1,this.lastScrollTopAtLoad=-1,this.searchGeneration=0}initFromParent(e){e?.data?.length?(this.prodTypes=[...e.data],this.prodTypeCount=e.count??this.prodTypes.length,this.allProdTypes=[...this.prodTypes],this.allProdTypesCount=this.prodTypeCount,this.prodTypeSkip=this.prodTypes.length,this.loadFailed=!1,this.notifyUpdated()):(this.resetLists(),this.loadProdTypes("",!0))}resetLists(){this.prodTypes=[],this.prodTypeCount=0,this.allProdTypes=[],this.allProdTypesCount=0,this.prodTypeSkip=0,this.lastScrollTopAtLoad=-1}onDropdownOpen(){this.prodTypes=this.dedupeProductTypes(this.allProdTypes||[]),this.prodTypeCount=this.allProdTypesCount,this.prodTypeSearchText="",this.prodTypeSkip=this.prodTypes.length,this.lastScrollTopAtLoad=-1}onScrollToEnd(){if(this.prodTypeLoading)return;if((this.prodTypes?.length??0)>=this.prodTypeCount)return;const e=function(){const e=document.querySelectorAll(".ng-dropdown-panel-items.scroll-host");return e.length?e[e.length-1]:null}()?.scrollTop??0;e<=0||e<=this.lastScrollTopAtLoad||(this.lastScrollTopAtLoad=e,this.loadProdTypes(this.prodTypeSearchText))}onFilterSearch(e){if(this.prodTypeSearchText=e,this.lastScrollTopAtLoad=-1,this.searchGeneration++,!e)return this.prodTypes=this.dedupeProductTypes(this.allProdTypes||[]),this.prodTypeCount=this.allProdTypesCount,void this.notifyUpdated();this.prodTypeSkip=0,this.loadProdTypes(e,!0)}loadProdTypes(e="",t=!1){if(this.prodTypeLoading)return;const i=this.searchGeneration;this.prodTypeLoading=!0,t&&(this.prodTypeSkip=0,this.prodTypes=[],this.lastScrollTopAtLoad=-1),this.shippingService.getProductTypes(this.prodTypeSkip,e).pipe((0,n.R)(this.destroy$)).subscribe({next:n=>{i===this.searchGeneration?(n?.error?this.loadFailed=!0:(this.prodTypes=[...this.prodTypes||[],...n?.data||[]],this.prodTypeCount=n?.count??this.prodTypes.length,this.prodTypeSkip=this.prodTypes.length,t&&""===e&&!this.allProdTypes?.length&&(this.allProdTypes=[...this.prodTypes],this.allProdTypesCount=this.prodTypeCount),this.loadFailed=!1),this.prodTypeLoading=!1,this.notifyUpdated()):this.prodTypeLoading=!1},error:()=>{i===this.searchGeneration?(this.loadFailed=!0,this.prodTypeLoading=!1,this.notifyUpdated()):this.prodTypeLoading=!1}})}notifyUpdated(){this.onUpdated?.()}ensureProductTypeOption(e){if(!e?.id)return;const t={id:e.id,description:e.description,description_ar:e.description_ar,hs_code:e.hs_code};let i=!1;(this.allProdTypes||[]).some(t=>t.id===e.id)||(this.allProdTypes=[t,...this.allProdTypes||[]],this.allProdTypesCount=Math.max(this.allProdTypesCount,this.allProdTypes.length),i=!0),(this.prodTypes||[]).some(t=>t.id===e.id)||(this.prodTypes=[t,...this.prodTypes||[]],i=!0),i&&this.notifyUpdated()}dedupeProductTypes(e){const t=new Set;return e.filter(e=>null==e?.id||!t.has(e.id)&&(t.add(e.id),!0))}resolveIdForSubmit(e){if(null==e||""===e)return null;const t=Number(e);if(!Number.isNaN(t)&&t>0)return t;const i=(this.allProdTypes.length?this.allProdTypes:this.prodTypes).find(t=>
1String(t.id)===String(e)||String(t.hs_code)===String(e));return null!=i?.id?i.id:"string"==typeof e||"number"==typeof e?e:null}}function o(e,t,i,r){e.getProductTypes(0).pipe((0,n.R)(t)).subscribe({next:e=>{e?.error?r?.():i(e)},error:()=>r?.()})}},1295:function(e,t,i){"use strict";function n(e){return String(e??"").replace(/\./g,"").trim()}function r(e,t){if(!e)return"NA";const i=function(e,t){if(!e)return"";const i="ar"===t&&e.description_ar||e.description;return i?String(i).trim():""}(e.product_type_details||e.package_details?.product_type_details,t?.lang);if(i)return i;const r=String(e.product_type??"").trim();return function(e,t,i){if(!e||!t?.length)return"";const r=n(e),o=t.find(t=>String(t?.hs_code)===e||String(t?.id)===e||n(String(t?.hs_code??""))===r);return o?"ar"===i?o.description_ar||o.description||"":o.description||"":""}(r,t?.catalog||[],t?.lang)||(r&&!/^\d+(\.\d+)?$/.test(r)?r:r||"NA")}i.d(t,{N:function(){return r}})},29224:function(e,t,i){"use strict";i.d(t,{x:function(){return n}});class n{constructor(e="",t="",i="",n="",r="",o="",a="",d="",p=-1,s=null,c=null,l="-1"){this.transactID=e,this.transactValue=t,this.invSts=i,this.invoiceSrs=n,this.custName=r,this.custValue=o,this.textSts=a,this.textValue=d,this.merUser=p,this.shippingEnabledType=s,this.delieveryPromotionType=c,this.isTerminalInvoice=l}}},46834:function(e,t,i){"use strict";i.d(t,{i:function(){return T}});var n=i(35366),r=i(15940),o=i(61116),a=i(60649);function d(e,t){1&e&&n.GkF(0)}function p(e,t){if(1&e&&(n.TgZ(0,"span"),n.TgZ(1,"span"),n.YNc(2,d,1,0,"ng-container",8),n.qZA(),n.qZA(),n.TgZ(3,"h2"),n._uU(4),n.ALo(5,"translate"),n.qZA()),2&e){const e=n.oxw();n.xp6(2),n.Q6J("ngTemplateOutlet",e.guidelineInfoIcon),n.xp6(2),n.Oqu(n.lcZ(5,2,"PACKAGING_GUIDELINES"))}}function s(e,t){1&e&&n.GkF(0)}function c(e,t){1&e&&n.GkF(0)}function l(e,t){1&e&&n.GkF(0)}function u(e,t){if(1&e&&(n.TgZ(0,"div",9),n.TgZ(1,"div",10),n.TgZ(2,"div",11),n.TgZ(3,"div",12),n.TgZ(4,"span"),n.TgZ(5,"span"),n.YNc(6,s,1,0,"ng-container",8),n.qZA(),n.qZA(),n.TgZ(7,"h6"),n._uU(8),n.ALo(9,"translate"),n.qZA(),n.TgZ(10,"p"),n._uU(11),n.ALo(12,"translate"),n.qZA(),n.qZA(),n.qZA(),n.TgZ(13,"div",11),n.TgZ(14,"div",12),n.TgZ(15,"span"),n.TgZ(16,"span"),n.YNc(17,c,1,0,"ng-container",8),n.qZA(),n.qZA(),n.TgZ(18,"h6"),n._uU(19),n.ALo(20,"translate"),n.qZA(),n.TgZ(21,"p"),n._uU(22),n.ALo(23,"translate"),n.qZA(),n.qZA(),n.qZA(),n.TgZ(24,"div",11),n.TgZ(25,"div",12),n.TgZ(26,"span"),n.TgZ(27,"span"),n.YNc(28,l,1,0,"ng-container",8),n.qZA(),n.qZA(),n.TgZ(29,"h6"),n._uU(30),n.ALo(31,"translate"),n.qZA(),n.TgZ(32,"p",13),n._uU(33),n.ALo(34,"translate"),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.TgZ(35,"p",14),n._uU(36),n.ALo(37,"translate"),n.qZA(),n.qZA()),2&e){n.oxw();const e=n.MAs(6),t=n.MAs(8),i=n.MAs(10);n.xp6(6),n.Q6J("ngTemplateOutlet",e),n.xp6(2),n.Oqu(n.lcZ(9,10,"ONE_PACKAGE")),n.xp6(3),n.Oqu(n.lcZ(12,12,"PER_SHIPMENT")),n.xp6(6),n.Q6J("ngTemplateOutlet",t),n.xp6(2),n.Oqu(n.lcZ(20,14,"FIVE_PIECES")),n.xp6(3),n.Oqu(n.lcZ(23,16,"MAX_PER_PACKAGE")),n.xp6(6),n.Q6J("ngTemplateOutlet",i),n.xp6(2),n.Oqu(n.lcZ(31,18,"MAX_120_CM")),n.xp6(3),n.Oqu(n.lcZ(34,20,"ON_ANY_SIDE")),n.xp6(3),n.Oqu(n.lcZ(37,22,"PACKAGING_GUIDELINES_NOTE"))}}function h(e,t){1&e&&(n.O4$(),n.TgZ(0,"svg",15),n._UZ(1,"path",16),n._UZ(2,"path",17),n._UZ(3,"path",18),n._UZ(4,"path",19),n._UZ(5,"path",20),n._UZ(6,"path",21),n._UZ(7,"path",22),n.qZA())}function g(e,t){1&e&&(n.O4$(),n.TgZ(0,"svg",15),n._UZ(1,"path",23),n._UZ(2,"path",24),n._UZ(3,"path",25),n._UZ(4,"path",26),n._UZ(5,"path",27),n._UZ(6,"circle",28),n._UZ(7,"circle",29),n._UZ(8,"circle",30),n._UZ(9,"circle",31),n._UZ(10,"circle",32),n.qZA())}function f(e,t){1&e&&(n.O4$(),n.TgZ(0,"svg",15),n.TgZ(1,"g",33),n._UZ(2,"path",34),n._UZ(3,"path",35),n._UZ(4,"path",36),n._UZ(5,"path",37),n._UZ(6,"path",38),n._UZ(7,"path",39),n._UZ(8,"path",40),n._UZ(9,"path",41),n._UZ(10,"path",42),n._UZ(11,"path",43),n._UZ(12,"path",44),n.qZA(),n.TgZ(13,"defs"),n.TgZ(14,"clipPath",45),n._UZ(15,"rect",46),n.qZA(),n.qZA(),n.qZA())}let T=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-packaging-guidelines"]],decls:11,vars:1,consts:[[1,"pac-guide-accordian"],["activeIds","static-1",3,"closeOthers"],["id","static-1"],["ngbPanelTitle",""],["ngbPanelContent",""],["packageGuidIcon",""],["picesGuidIcon",""],["maxSideGuidIcon",""],[4,"ngTemplateOutlet"],[1,"package-box"],[1,"package-items-main"],[1,"package-item"],[1,"package-content"],[1,"white-space"],[1,"package-note"],["width","54","height","54","viewBox","0 0 54 54","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M22.7741 23.1585V48.0896C22.7741 48.0896 9.11712 42.2458 3.3948 39.804L3.37793 39.7753V14.8594L3.3948 14.8914L22.7572 23.1771L22.7741 23.1585Z","fill","#B3667E"],["fill-rule","evenodd","clip-rule","evenodd","d","M42.1537 14.8594L42.1368 14.8897L22.7744 23.1771V48.093L42.1385 39.804L42.1554 39.7736V14.8594H42.1537Z","fill","#811938"],["fill-rule","evenodd","clip-rule","evenodd","d","M22.4505 6.57422L3.375 14.8598V14.8801L22.7762 23.2045L42.1875 14.8598L22.977 6.57422H22.4539H22.4505Z","fill","#A54965"],["d","M35.7652 37.3006L30.9254 39.3712L26.084 41.4434M30.9254 36.0586L26.084 38.1292","stroke","white","stroke-width","1.53225","stroke-linecap","round","stroke-linejoin","round"],["fill-rule","evenodd","clip-rule","evenodd","d","M28.7605 9.08203L28.6423 9.12422L9.37109 17.4571V29.1599L12.7917 27.4724L16.1667 32.5349L16.1633 20.3748L35.4379 11.9542L28.7605 9.08203Z","fill","#EDE9EA"],["d","M41.8701 30.375C39.4097 30.3786 37.051 31.3574 35.3112 33.0972C33.5714 34.837 32.5924 37.1958 32.5889 39.6562C32.5889 44.7727 36.7536 48.9375 41.8701 48.9375C46.9866 48.9375 51.1514 44.7727 51.1514 39.6562C51.1514 34.5398 46.9866 30.375 41.8701 30.375Z","fill","#B32550"],["fill-rule","evenodd","clip-rule","evenodd","d","M46.4878 36.2813C46.2982 36.2804 46.114 36.3434 45.9646 36.4601L39.9251 41.0247L37.9119 38.5779C37.8413 38.4923 37.7546 38.4216 37.6566 38.3696C37.5587 38.3176 37.4514 38.2852 37.341 38.2747C37.2306 38.2641 37.1193 38.2753 37.0132 38.3078C36.9072 38.3403 36.8086 38.3934 36.723 38.464C36.6375 38.5345 36.5667 38.6212 36.5147 38.7192C36.4627 38.8171 36.4304 38.9244 36.4199 39.0348C36.4093 39.1452 36.4206 39.2567 36.453 39.3627C36.4855 39.4688 36.5386 39.5672 36.6091 39.6528L39.137 42.7225C39.2752 42.891 39.4732 42.9995 39.6897 43.0253C39.9061 43.0511 40.1241 42.992 40.298 42.8607L46.9805 37.805C47.1234 37.7001 47.2296 37.5528 47.284 37.3841C47.3385 37.2155 47.3385 37.0339 47.2839 36.8652C47.2294 36.6966 47.1231 36.5495 46.9802 36.4446C46.8373 36.3398 46.665 36.2827 46.4878 36.2813Z","fill","#EDE9EA"],["fill-rule","evenodd","clip-rule","evenodd","d","M27 29.1004V50.6107L26.9856 50.625L10.1394 43.4707L10.125 43.4463V21.9375L10.1394 21.9633L26.9841 29.1176L27 29.1004Z","fill","#B3667E"],["fill-rule","evenodd","clip-rule","evenodd","d","M43.875 21.9375L43.8605 21.9633L27 29.1173V50.625L43.8605 43.471L43.875 43.4452V21.9375Z","fill","#811938"],["fill-rule","evenodd","clip-rule","evenodd","d","M43.875 22.7721L27.0152 15.1875H26.9863L10.125 22.7721V22.7904L26.9848 30.375L43.875 22.7721Z","fill","#B3667E"],["d","M37.125 41.6661L33.7494 43.6127L30.375 45.5625M33.7494 40.5L30.375 42.4482","stroke","white","stroke-width","1.6875","stroke-linecap","round","stroke-linejoin","round"],["fill-rule","evenodd","clip-rule","evenodd","d","M10.6517 22.7812L5.0625 28.4062L21.4108 35.4375L27 29.8125L10.6517 22.7812ZM32.5892 10.125L27 15.75L43.3483 22.7812L48.9375 17.1562L32.5892 10.125ZM43.3483 22.7812L48.9375 28.4062L32.5892 35.4375L27 29.8125L43.3483 22.7812ZM21.4108 10.125L27 15.75L10.6517 22.7812L5.0625 17.1562L21.4108 10.125Z","fill","#CB96A6"],["cx","6.75","cy","5.0625","r","2.53125","fill","#8E1B3E","stroke","#8E1B3E","stroke-width","1.6875"],["cx","16.875","cy","5.0625","r","2.53125","fill","#8E1B3E","stroke","#8E1B3E","stroke-width","1.6875"],["cx","27","cy","5.0625","r","2.53125","fill","#8E1B3E","stroke","#8E1B3E","stroke-width","1.6875"],["cx","37.125","cy","5.0625","r","2.53125","fill","#8E1B3E","stroke","#8E1B3E","stroke-width","1.6875"],["cx","47.25","cy","5.0625","r","2.53125","fill","#8E1B3E","stroke","#8E1B3E","stroke-width","1.6875"],["clip-path","url(#clip0_1262_67384)"],["fill-rule","evenodd","clip-rule","evenodd","d","M24.4616 22.3147V47.2459C24.4616 47.2459 10.8046 41.4021 5.0823 38.9602L5.06543 38.9316V14.0156L5.0823 14.0477L24.4447 22.3333L24.4616 22.3147
1Z","fill","#B3667E"],["fill-rule","evenodd","clip-rule","evenodd","d","M43.8412 14.0156L43.8243 14.046L24.4619 22.3333V47.2509L43.826 38.9619L43.8429 38.9316V14.0156H43.8412Z","fill","#811938"],["fill-rule","evenodd","clip-rule","evenodd","d","M24.138 5.73047L5.0625 14.0161V14.0363L24.4637 22.3608L43.875 14.0161L24.6645 5.73047H24.1414H24.138Z","fill","#A54965"],["d","M37.4527 36.4568L32.6129 38.5274L27.7715 40.5997M32.6129 35.2148L27.7715 37.2854","stroke","white","stroke-width","1.53225","stroke-linecap","round","stroke-linejoin","round"],["fill-rule","evenodd","clip-rule","evenodd","d","M30.448 8.23828L30.3298 8.28216L11.0586 16.615V28.3178L14.4792 26.6303L17.8542 31.6928L17.8508 19.5327L37.1254 11.1121L30.448 8.23828Z","fill","#EDE9EA"],["d","M47.25 13.5L47.25 38.8125","stroke","#872744","stroke-width","1.6875","stroke-linecap","round"],["d","M27 50.625L45.5625 42.1875","stroke","#872744","stroke-width","1.6875","stroke-linecap","round"],["d","M28.6875 3.375L45.5625 11.8125","stroke","#872744","stroke-width","1.6875","stroke-linecap","round"],["d","M40.959 5.3125V0.5875H41.904V4.57675H43.9695V5.3125H40.959Z","fill","#8E1B3E"],["d","M40.2233 52.5625L38.988 47.8375H40.0005L40.797 51.496L41.7555 47.8375H42.795L43.7198 51.496L44.5298 47.8375H45.549L44.28 52.5625H43.1528L42.2618 49.1672L41.3438 52.5625H40.2233Z","fill","#8E1B3E"],["d","M52.3733 28.9375V24.2125H53.3183V28.9375H52.3733ZM49.3965 28.9375V24.2125H50.3415V28.9375H49.3965ZM50.22 26.9057V26.143H52.5285V26.9057H50.22Z","fill","#8E1B3E"],["id","clip0_1262_67384"],["width","54","height","54","fill","white"]],template:function(e,t){1&e&&(n.TgZ(0,"div",0),n.TgZ(1,"ngb-accordion",1),n.TgZ(2,"ngb-panel",2),n.YNc(3,p,6,4,"ng-template",3),n.YNc(4,u,38,24,"ng-template",4),n.qZA(),n.qZA(),n.qZA(),n.YNc(5,h,8,0,"ng-template",null,5,n.W1O),n.YNc(7,g,11,0,"ng-template",null,6,n.W1O),n.YNc(9,f,16,0,"ng-template",null,7,n.W1O)),2&e&&(n.xp6(1),n.Q6J("closeOthers",!0))},directives:[r.gY,r.Gk,r.Cu,r.gW,o.tP],pipes:[a.X$],styles:['.pac-guide-accordian{margin-bottom:32px}  .pac-guide-accordian .card{border:1px solid rgba(126,15,69,.2)!important}  .pac-guide-accordian .card .card-header{padding:16px;background:#f4e8ec;border-bottom:0}  .pac-guide-accordian .card .card-header button{display:flex;align-items:center;grid-gap:4px;gap:4px}  .pac-guide-accordian .card .card-header button span{display:inline-flex}  .pac-guide-accordian .card .card-header button[aria-expanded=false]:before{content:"";background:url(angle-down.efbfd1715f9f2d34aa3e.svg) no-repeat;background-position:100%;height:24px;width:24px}  .pac-guide-accordian .card .card-header button[aria-expanded=true]:before{content:"";background:url(angle-up.ef975c8cae76daf7d874.svg) no-repeat;background-position:100%;height:24px;width:24px}  .pac-guide-accordian .card .card-header button:before{right:20px;position:absolute;transition:.4s;font-size:20px;top:50%;transform:translateY(-50%)}  .pac-guide-accordian .card .card-header h2{font-family:Open Sans,sans-serif;font-weight:700;font-size:14px;line-height:20px;letter-spacing:-.005em;color:#8e1b3e;margin-bottom:0}  .pac-guide-accordian .card .card-body{background-color:#f4e8ec;padding:1px 16px 18px}  .pac-guide-accordian .card .card-body .package-box .package-items-main{display:flex;grid-gap:16px;gap:16px}  .pac-guide-accordian .card .card-body .package-box .package-items-main .package-item{background:#fff;border:1px solid #cb96a6;border-radius:8px;padding:16px;flex:1}  .pac-guide-accordian .card .card-body .package-box .package-items-main .package-item .package-content{text-align:center}  .pac-guide-accordian .card .card-body .package-box .package-items-main .package-item .package-content span{margin-bottom:5px}  .pac-guide-accordian .card .card-body .package-box .package-items-main .package-item h6{font-family:Open Sans,sans-serif;font-weight:700;font-size:14px;line-height:20px;text-align:center;letter-spacing:-.005em;color:#8e1b3e;margin-bottom:5px}  .pac-guide-accordian .card .card-body .package-box .package-items-main .package-item p{font-family:Open Sans,sans-serif;font-weight:400;font-size:14px;line-height:20px;text-align:center;letter-spacing:-.005em;color:#324c6a;margin-bottom:0}  .pac-guide-accordian .card .card-body .package-box .package-items-main .package-item .white-space{white-space:pre-line}  .pac-guide-accordian .card .card-body .package-box .package-note{font-family:Open Sans,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:-.005em;color:#324c6a;margin-bottom:0;margin-top:18px;text-align:left}  html[dir=rtl] .pac-guide-accordian .card .card-header button:before{background-position:0}  html[dir=rtl] .pac-guide-accordian .card .card-header button:before{left:20px!important;right:auto!important}']}),e})()}}]);

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.