{"version":3,"sources":["PNotifyMobile.js"],"names":["PNotify","data","Object","assign","_notice","_options","modules","Mobile","defaults","methods","[object Object]","options","this","set","notice","get","origXY","diffXY","noticeWidthHeight","noticeOpacity","csspos","direction","span","on","e","stack","dir1","touches","refs","elem","window","getComputedStyle","container","style","curXY","opacity","Math","abs","classList","add","goLeft","close","removeProperty","doMobileStyling","addEventListener","removeEventListener","innerWidth","mobileOrigSpacing1","spacing1","mobileOrigFirstpos1","firstpos1","mobileOrigSpacing2","spacing2","mobileOrigFirstpos2","firstpos2","addModuleClass","removeModuleClass","oncreate","_doMobileStylingBound","bind","setup","Component","key","swipeDismiss","styling","init","target","document","body","add_css","createElement","id","textContent","appendNode","head","create_main_fragment","state","component","c","noop","m","p","u","d","PNotifyMobile","_state","getElementById","_oncreate","root","_fragment","push","anchor","callAll","name","node","appendChild","_observers","pre","blankObject","post","_handlers","_bind","store","k","source","i","len","arguments","length","fns","shift","destroy","detach","fire","eventName","handlers","slice","call","observe","callback","group","defer","__calling","cancel","index","indexOf","splice","handler","newState","_set","_lock","_beforecreate","_aftercreate","oldState","changed","dirty","_differs","_recompute","dispatchObservers","_mount","_unmount","a","b","create","newValue","oldValue","callbacks","prototype","teardown"],"mappings":"OACOA,YAAa,eAEpB,SAASC,OACP,OAAOC,OAAOC,QACZC,QAAW,KACXC,aACCL,QAAQM,QAAQC,OAAOC,UAG5B,IAAIC,SACFC,WAAWC,GACTC,KAAKC,IAAIF,GAET,MAAMG,EAASF,KAAKG,IAAI,WACxB,IAAIC,EAAS,KACTC,EAAS,KACTC,EAAoB,KACpBC,EAAgB,KAChBC,EAAS,OACTC,EAAY,IACZC,EAAO,QAEXR,EAAOS,GAAG,aAAeC,IACvB,IAAKZ,KAAKG,IAAI,gBACZ,OAGF,MAAMU,EAAQX,EAAOC,IAAI,SACzB,IAAc,IAAVU,EACF,OAAQA,EAAMC,MACZ,IAAK,KACL,IAAK,OACHN,EAAS,OACTC,EAAY,IACZC,EAAO,QACP,MACF,IA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