úÎD’A‹1      !"#$%&'()*+,-./0  Safe-Infered123456123456123456 Safe-Infered A tab is a 71 generator upon receiving a current URL context. How do we decide active for tab state? *A sub-set of the current url has to match +Only the prefix needs to match current url !Current url has to match exactly (Make tabs from tab definitions. Use the   combinator to  define individual options. %Tab item constructor to be used with . Just supply the + given arguments here and it will create a  ready to be used in  . ?If the tab is currently active, the li tag will get a class of  'active'.  Make sure to provide a trailing / when indicating URLs as snap A context paths contain it and active tab checks will be confused  without it. )A class to be given to the parent ul tag List of tabs in order Target URL for tab A text/label for tab  A list of attributes as key=val A  for this tab     Safe-Infered .Transform to Nothing if field is empty string Maybe read into target value Read into target value      Safe-Infered ,Bind splices offered in this module in your 8 )A list of splices offered in this module @Run the splice contents if given condition is True, make splice  disappear if not. 5Gets the value of a request parameter. Example use:  rqparam name="username"/ 7Assume text are contains the name of a splice as Text. DThis is helpful when you pass a default value to digestive-functors A by putting the name of a splice as the value of a textarea tag. . heistLocal runTextAreas $ render "joo/index" Splice helper for when you're rendering a select element  A name for the select element An id for the select element value, shown text pairs Default value     Safe-InferedAInitialize the flash notice system. All you have to do now is to 7 add some flash tags in your application template. See   for examples. /Display an info message on next load of a page 2Display an warning message on next load of a page 1Display a success message on next load of a page 0Display an error message on next load of a page 6A splice for rendering a given flash notice dirctive. Ex:  flash type='warning'/  Ex:  flash type='success'/  Safe-Infered Safe-Infered ADiscard anything after this and return given status code to HTTP  client immediately. !Finish early with error code 400 !Finish early with error code 404 !Finish early with error code 500 !Mark response as  'text/plain' "Mark response as 'application/json' #Mark response as 'application/javascript' $9Easier debug logging into error log. First argument is a  category/9namespace and the second argument is anything that has a  9 instance. %BAlternate version of getParam that considers empty string Nothing &8Require that a parameter is present or terminate early. ';Read a parameter from request. Be sure it is readable if it's * there, or else this will raise an error. (;Try to read a parameter from request. Computation may fail 2 because the param is not there, or because it can' t be read.  !"#$%&'(  !"#$%&'(  !"#$%&'(  !"#$%&'( Safe-Infered)BDemand the presence of JSON in the body assuming it is not larger  than 50000 bytes. *<Demand the presence of JSON in the body with a size up to N D bytes. If parsing fails for any reson, request is terminated early ! and a server error is returned. +=Try to parse request body as JSON with a default max size of  50000. ,8Parse request body into JSON or return an error string. -)Get JSON data from the given Param field .,Force the JSON value from field. Similar to - / Set MIME to 'application/json' and write given object into  : body. )*Maximum size in bytes +,Maximum size in bytes -./)*+,-./,+*)-./)*+,-./ Safe-Infered0Initialize all the   ! functionality in your Snap app.  Currently, we don'/t need to keep any state and simply return (). 01  !"#$%&'()*+,-./000;   !"#$%&'()*+,-./0123456789:;< = > ? @ A BCDEFGHIJKLMNOsnap-extras-0.1.7Snap.Extras.TabsSnap.Extras.FormUtilsSnap.Extras.SpliceUtilsSnap.Extras.FlashNoticeSnap.Extras.TextUtilsSnap.Extras.CoreUtilsSnap.Extras.JSON Snap.ExtrasPaths_snap_extrasSnapExtrasTab TabActiveMode TAMDontMatch TAMInfixMatchTAMPrefixMatch TAMExactMatchinitTabs tabsSplicemkTabstab maybeTrans readMayTrans readTransaddUtilSplices utilSplicesifSplice paramSplice runTextAreas selectSpliceinitFlashNotice flashInfo flashWarning flashSuccess flashError flashSpliceshowTshowBSreadTreadBS finishEarlybadReqnotFound serverError plainResponse jsonResponse jsResponseeasyLog getParam'reqParam readParam readMayParamreqJSONreqBoundedJSONgetJSONgetBoundedJSON getJSONField reqJSONField writeJSON initExtrasversion getBinDir getLibDir getDataDir getLibexecDirgetDataFileNamexmlhtml-0.2.0.2Text.XmlHtml.CommonNode snap-0.9.0.1Snap.Snaplet.Internal.Types InitializerbaseGHC.ShowShowsnap-core-0.9.0Snap.Internal.Http.TypesResponse